#[repr(u8)]pub enum Reason {
Completion,
Cancellation,
HardTimeout,
}
Expand description
Provides the reason for termination.
Variants§
Trait Implementations§
source§impl PartialEq<Reason> for Reason
impl PartialEq<Reason> for Reason
impl Copy for Reason
impl Eq for Reason
impl StructuralEq for Reason
impl StructuralPartialEq for Reason
Auto Trait Implementations§
impl RefUnwindSafe for Reason
impl Send for Reason
impl Sync for Reason
impl Unpin for Reason
impl UnwindSafe for Reason
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