#[non_exhaustive]pub enum Status {
Pending,
Running,
Cancelling,
Complete,
Failed,
Cancelled,
}Expand description
State of a cooperative host operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Pending
Queued but not started.
Running
Executing between interruption points.
Cancelling
Cancellation was requested; a host checkpoint still has to acknowledge it.
Complete
Finished successfully.
Failed
Finished with an action error.
Cancelled
Cancellation was acknowledged at an interruption point.
Implementations§
Trait Implementations§
impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Forget for Status
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnsafeUnpin 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