Enum WaitOutcome
pub enum WaitOutcome {
Signal(u64),
TimedOut,
Abandoned,
}Expand description
The outcome of a Waited record.
Variants§
Signal(u64)
The wait consumed the run’s signal with this ordinal.
TimedOut
Abandoned
The code dropped the wait (it lost a race): a signal is no longer offered to it. Not a delivery.
Trait Implementations§
§impl Clone for WaitOutcome
impl Clone for WaitOutcome
§fn clone(&self) -> WaitOutcome
fn clone(&self) -> WaitOutcome
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for WaitOutcome
impl Debug for WaitOutcome
§impl PartialEq for WaitOutcome
impl PartialEq for WaitOutcome
impl Copy for WaitOutcome
impl Eq for WaitOutcome
impl StructuralPartialEq for WaitOutcome
Auto Trait Implementations§
impl Freeze for WaitOutcome
impl RefUnwindSafe for WaitOutcome
impl Send for WaitOutcome
impl Sync for WaitOutcome
impl Unpin for WaitOutcome
impl UnsafeUnpin for WaitOutcome
impl UnwindSafe for WaitOutcome
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