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>where
&'a InstallError<X>: Freeze,
impl<'a, X> Move for Cause<'a, X>
impl<'a, X> RefUnwindSafe for Cause<'a, X>where
&'a InstallError<X>: RefUnwindSafe,
impl<'a, X> Unpin for Cause<'a, X>where
&'a InstallError<X>: Unpin,
impl<'a, X> UnsafeUnpin for Cause<'a, X>where
&'a InstallError<X>: UnsafeUnpin,
impl<'a, X> UnwindSafe for Cause<'a, X>where
&'a InstallError<X>: 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