pub enum Error<'p> {
Refused(Refused),
Cleanup(Occupied<'p, <Backend as Storage<Context, Receive, Failure, (IoOperation, Kernel)>>::Cleanup>),
Release(Occupied<'p, <Backend as Storage<Context, Receive, Failure, (IoOperation, Kernel)>>::Release>),
}Expand description
A terminal refusal or the sole owner of an incomplete native cleanup.
Variants§
Refused(Refused)
Cleanup(Occupied<'p, <Backend as Storage<Context, Receive, Failure, (IoOperation, Kernel)>>::Cleanup>)
Release(Occupied<'p, <Backend as Storage<Context, Receive, Failure, (IoOperation, Kernel)>>::Release>)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'p> !Send for Error<'p>
impl<'p> !Sync for Error<'p>
impl<'p> !UnwindSafe for Error<'p>
impl<'p> Forget for Error<'p>
impl<'p> Freeze for Error<'p>where
NonZero<i32>: Freeze,
NonZero<u32>: Freeze,
*mut c_void: Freeze,
Code: Freeze,
Parts<Encoded<Context>, Outcome, Flags>: Freeze,
Index: Freeze,
Fixed: Freeze,
&'p mut Resources<Encoded<Context>, Receive, Failure>: Freeze,
PhantomData<*mut ()>: Freeze,
&'p mut Released<Encoded<Context>, Receive, (IoOperation, Kernel)>: Freeze,
impl<'p> Move for Error<'p>
impl<'p> RefUnwindSafe for Error<'p>where
NonZero<i32>: RefUnwindSafe,
NonZero<u32>: RefUnwindSafe,
Code: RefUnwindSafe,
Parts<Encoded<Context>, Outcome, Flags>: RefUnwindSafe,
Index: RefUnwindSafe,
Fixed: RefUnwindSafe,
Resources<Encoded<Context>, Receive, Failure>: RefUnwindSafe,
Released<Encoded<Context>, Receive, (IoOperation, Kernel)>: RefUnwindSafe,
impl<'p> Unpin for Error<'p>where
NonZero<i32>: Unpin,
NonZero<u32>: Unpin,
*mut c_void: Unpin,
Code: Unpin,
Parts<Encoded<Context>, Outcome, Flags>: Unpin,
Index: Unpin,
Fixed: Unpin,
&'p mut Resources<Encoded<Context>, Receive, Failure>: Unpin,
*mut (): Unpin,
&'p mut Released<Encoded<Context>, Receive, (IoOperation, Kernel)>: Unpin,
impl<'p> UnsafeUnpin for Error<'p>where
NonZeroI32Inner: UnsafeUnpin,
NonZeroU32Inner: UnsafeUnpin,
*mut c_void: UnsafeUnpin,
Code: UnsafeUnpin,
Parts<Encoded<Context>, Outcome, Flags>: UnsafeUnpin,
Index: UnsafeUnpin,
Fixed: UnsafeUnpin,
&'p mut Resources<Encoded<Context>, Receive, Failure>: UnsafeUnpin,
PhantomData<*mut ()>: UnsafeUnpin,
&'p mut Released<Encoded<Context>, Receive, (IoOperation, Kernel)>: UnsafeUnpin,
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