pub enum WaitError {
Signal,
Timeout,
}Expand description
Error returned by WaitQueue wait functions.
Variants§
Trait Implementations§
impl Copy for WaitError
impl Eq for WaitError
Source§impl From<Interrupted> for WaitError
impl From<Interrupted> for WaitError
Source§fn from(_: Interrupted) -> Self
fn from(_: Interrupted) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for WaitError
Auto Trait Implementations§
impl Forget for WaitError
impl Freeze for WaitError
impl Move for WaitError
impl RefUnwindSafe for WaitError
impl Send for WaitError
impl Sync for WaitError
impl Unpin for WaitError
impl UnsafeUnpin for WaitError
impl UnwindSafe for WaitError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
Source§fn into_safe_cast(self) -> T
fn into_safe_cast(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.Source§impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
Source§fn into_safe_cast_arch(self) -> T
fn into_safe_cast_arch(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.