pub enum WaitEnd {
ReachedState,
TimedOut,
}Expand description
Why a SessionHandle::wait returned.
Variants§
ReachedState
The wait observed a returnable state (Paused / Finished /
Faulted).
TimedOut
The wait’s finite timeout elapsed first. The observed state is unchanged by the timeout.
Trait Implementations§
impl Copy for WaitEnd
impl Eq for WaitEnd
impl StructuralPartialEq for WaitEnd
Auto Trait Implementations§
impl Freeze for WaitEnd
impl RefUnwindSafe for WaitEnd
impl Send for WaitEnd
impl Sync for WaitEnd
impl Unpin for WaitEnd
impl UnsafeUnpin for WaitEnd
impl UnwindSafe for WaitEnd
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