pub enum RequestStatusResponse {
Unknown,
Received,
Processing,
Replied(ReplyResponse),
Rejected(RejectResponse),
Done,
}
Expand description
The response of /api/v2/canister/<effective_canister_id>/read_state
with request_status
request type.
See the HTTP interface specification for more details.
Variants§
Unknown
The status of the request is unknown.
Received
The request has been received, and will probably get processed.
Processing
The request is currently being processed.
Replied(ReplyResponse)
The request has been successfully replied to.
Rejected(RejectResponse)
The request has been rejected.
Done
The call has been completed, and it has been long enough that the reply/reject data has been purged, but the call has not expired yet.
Trait Implementations§
source§impl Clone for RequestStatusResponse
impl Clone for RequestStatusResponse
source§fn clone(&self) -> RequestStatusResponse
fn clone(&self) -> RequestStatusResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RequestStatusResponse
impl Debug for RequestStatusResponse
source§impl Ord for RequestStatusResponse
impl Ord for RequestStatusResponse
source§fn cmp(&self, other: &RequestStatusResponse) -> Ordering
fn cmp(&self, other: &RequestStatusResponse) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for RequestStatusResponse
impl PartialEq for RequestStatusResponse
source§impl PartialOrd for RequestStatusResponse
impl PartialOrd for RequestStatusResponse
impl Eq for RequestStatusResponse
impl StructuralPartialEq for RequestStatusResponse
Auto Trait Implementations§
impl Freeze for RequestStatusResponse
impl RefUnwindSafe for RequestStatusResponse
impl Send for RequestStatusResponse
impl Sync for RequestStatusResponse
impl Unpin for RequestStatusResponse
impl UnwindSafe for RequestStatusResponse
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)