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
Source§fn eq(&self, other: &WakeReason) -> bool
fn eq(&self, other: &WakeReason) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
fn fidl_into_native(self) -> Box<N>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more