pub enum Cause<'a, X = Infallible> {
Drive(&'a Error),
Quiesce {
drive: &'a Error,
disarm: Option<Errno>,
},
Install {
cause: &'a InstallError<X>,
disarm: Option<Errno>,
},
}Expand description
Exact runtime failures borrowed independently of retained application output.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a, X = !> !Send for Cause<'a, X>
impl<'a, X = !> !Sync for Cause<'a, X>
impl<'a, X> Forget for Cause<'a, X>
impl<'a, X> Freeze for Cause<'a, X>
impl<'a, X> Move for Cause<'a, X>
impl<'a, X> RefUnwindSafe for Cause<'a, X>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,
NonZero<usize>: RefUnwindSafe,
X: RefUnwindSafe,
impl<'a, X> Unpin for Cause<'a, X>
impl<'a, X> UnsafeUnpin for Cause<'a, X>
impl<'a, X> UnwindSafe for Cause<'a, X>
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