pub enum WakeReason {
Interrupted,
DeadlineExpired,
}
Expand description
A description of why a block_until
returned without the event being notified.
Variants§
Interrupted
block_until
returned because another thread interrupted the wait using interrupt
.
DeadlineExpired
block_until
returned because the given deadline expired.
Trait Implementations§
Source§impl Debug for WakeReason
impl Debug for WakeReason
Source§impl PartialEq for WakeReason
impl PartialEq for WakeReason
impl Eq for WakeReason
impl StructuralPartialEq for WakeReason
Auto Trait Implementations§
impl Freeze for WakeReason
impl RefUnwindSafe for WakeReason
impl Send for WakeReason
impl Sync for WakeReason
impl Unpin for WakeReason
impl UnwindSafe for WakeReason
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