pub enum ObjectWaitError {
Interrupted,
DeadlineExpired,
Failed(Status),
}Expand description
A description of why wait_many returned without any of the given objects being signaled.
Variants§
Interrupted
wait_many returned because another thread interrupted the wait using interrupt.
DeadlineExpired
wait_many returned because the given deadline expired.
Failed(Status)
wait_many returned because zx_object_wait_many failed with the given status, for
example because the handle of an object does not have the ZX_RIGHT_WAIT right.
Trait Implementations§
Source§impl Debug for ObjectWaitError
impl Debug for ObjectWaitError
impl Eq for ObjectWaitError
Source§impl PartialEq for ObjectWaitError
impl PartialEq for ObjectWaitError
impl StructuralPartialEq for ObjectWaitError
Auto Trait Implementations§
impl Freeze for ObjectWaitError
impl RefUnwindSafe for ObjectWaitError
impl Send for ObjectWaitError
impl Sync for ObjectWaitError
impl Unpin for ObjectWaitError
impl UnsafeUnpin for ObjectWaitError
impl UnwindSafe for ObjectWaitError
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§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,
§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