pub enum Failure {
Kernel {
operation: IoOperation,
cause: Kernel,
},
Mapping(Mapping),
RingLayout(Layout),
Capability(Capability),
Probe(ProbeError),
}Variants§
Trait Implementations§
impl Copy for Failure
impl Eq for Failure
Source§impl<C, E> From<Unsupported<C, E>> for Failure
impl<C, E> From<Unsupported<C, E>> for Failure
Source§fn from(error: Unsupported<C, E>) -> Self
fn from(error: Unsupported<C, E>) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Failure
Auto Trait Implementations§
impl !Send for Failure
impl !Sync for Failure
impl Forget for Failure
impl Freeze for Failure
impl Move for Failure
impl RefUnwindSafe for Failurewhere
NonZero<i32>: RefUnwindSafe,
NonZero<u32>: RefUnwindSafe,
Code: RefUnwindSafe,
Parts<Encoded<Context>, Outcome, Flags>: RefUnwindSafe,
Index: RefUnwindSafe,
impl Unpin for Failure
impl UnsafeUnpin for Failurewhere
NonZeroI32Inner: UnsafeUnpin,
NonZeroU32Inner: UnsafeUnpin,
*mut c_void: UnsafeUnpin,
Code: UnsafeUnpin,
Parts<Encoded<Context>, Outcome, Flags>: UnsafeUnpin,
Index: UnsafeUnpin,
impl UnwindSafe for Failurewhere
NonZero<i32>: UnwindSafe,
NonZero<u32>: UnwindSafe,
*mut c_void: UnwindSafe,
Code: UnwindSafe,
Parts<Encoded<Context>, Outcome, Flags>: UnwindSafe,
Index: UnwindSafe,
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