pub enum Error<T, E = Infallible> {
Drive(Error),
Quiesce {
output: T,
drive: Error,
disarm: Option<Errno>,
},
Install {
cause: InstallError<E>,
disarm: Option<Errno>,
},
}Expand description
Application output and the failure observed while releasing its session.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T, E = !> !Send for Error<T, E>
impl<T, E = !> !Sync for Error<T, E>
impl<T, E> Forget for Error<T, E>
impl<T, E> Freeze for Error<T, E>where
Poll<Errno<Enter>, Errno<Register<24>>>: Freeze,
Fault<Observation, Subject<Token, Control, Echo<Echo>, SlotIndex>, Violation<Selection<Index>, Echo<Echo>, Len, NonZero, Returned, SlotIndex, SlotOverflow, Capacity, Retirement>>: Freeze,
NonZero<i32>: Freeze,
T: Freeze,
NonZero<usize>: Freeze,
E: Freeze,
impl<T, E> Move for Error<T, E>
impl<T, E> RefUnwindSafe for Error<T, E>where
Poll<Errno<Enter>, Errno<Register<24>>>: RefUnwindSafe,
Fault<Observation, Subject<Token, Control, Echo<Echo>, SlotIndex>, Violation<Selection<Index>, Echo<Echo>, Len, NonZero, Returned, SlotIndex, SlotOverflow, Capacity, Retirement>>: RefUnwindSafe,
NonZero<i32>: RefUnwindSafe,
T: RefUnwindSafe,
NonZero<usize>: RefUnwindSafe,
E: RefUnwindSafe,
impl<T, E> Unpin for Error<T, E>where
E: Unpin,
T: Unpin,
Poll<Errno<Enter>, Errno<Register<24>>>: Unpin,
Fault<Observation, Subject<Token, Control, Echo<Echo>, SlotIndex>, Violation<Selection<Index>, Echo<Echo>, Len, NonZero, Returned, SlotIndex, SlotOverflow, Capacity, Retirement>>: Unpin,
NonZero<i32>: Unpin,
NonZero<usize>: Unpin,
impl<T, E> UnsafeUnpin for Error<T, E>where
Poll<Errno<Enter>, Errno<Register<24>>>: UnsafeUnpin,
Fault<Observation, Subject<Token, Control, Echo<Echo>, SlotIndex>, Violation<Selection<Index>, Echo<Echo>, Len, NonZero, Returned, SlotIndex, SlotOverflow, Capacity, Retirement>>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
T: UnsafeUnpin,
NonZeroUsizeInner: UnsafeUnpin,
E: UnsafeUnpin,
impl<T, E> UnwindSafe for Error<T, E>where
Poll<Errno<Enter>, Errno<Register<24>>>: UnwindSafe,
Fault<Observation, Subject<Token, Control, Echo<Echo>, SlotIndex>, Violation<Selection<Index>, Echo<Echo>, Len, NonZero, Returned, SlotIndex, SlotOverflow, Capacity, Retirement>>: UnwindSafe,
NonZero<i32>: UnwindSafe,
T: UnwindSafe,
NonZero<usize>: UnwindSafe,
E: 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