pub enum Status {
Success,
Failure,
Ongoing {
progress: u32,
},
Deferred,
}
Expand description
Status of the action.
Variants§
Success
The action completed successfully.
Failure
The action failed to complete.
Ongoing
The action takes some time to complete and is ongoing. Another status shall be sent to update the progress or signal its completion.
Deferred
The action has been received but can’t be processed right now. Another status shall be sent to signal its progress/completion.
Trait Implementations§
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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