pub enum Fault<S, W, I = Infallible> {
Control(Cause<S, I>),
Stop(Errno),
Release(Release<Backend>),
Worker(Worker<W>),
}Expand description
Every exact failure observed during one process run.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<S, W, I = !> !Send for Fault<S, W, I>
impl<S, W, I = !> !Sync for Fault<S, W, I>
impl<S, W, I> Forget for Fault<S, W, I>
impl<S, W, I> Freeze for Fault<S, W, I>
impl<S, W, I> Move for Fault<S, W, I>
impl<S, W, I> RefUnwindSafe for Fault<S, W, I>where
I: RefUnwindSafe,
NonZero<usize>: RefUnwindSafe,
NonZero<i32>: RefUnwindSafe,
NonZero<u32>: RefUnwindSafe,
S: RefUnwindSafe,
Receiver: RefUnwindSafe,
W: RefUnwindSafe,
impl<S, W, I> Unpin for Fault<S, W, I>
impl<S, W, I> UnsafeUnpin for Fault<S, W, I>where
I: UnsafeUnpin,
NonZeroUsizeInner: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
NonZeroU32Inner: UnsafeUnpin,
S: UnsafeUnpin,
Receiver: UnsafeUnpin,
PhantomData<*mut ()>: UnsafeUnpin,
W: UnsafeUnpin,
impl<S, W, I> UnwindSafe for Fault<S, W, I>where
I: UnwindSafe,
NonZero<usize>: UnwindSafe,
NonZero<i32>: UnwindSafe,
NonZero<u32>: UnwindSafe,
S: UnwindSafe,
Receiver: UnwindSafe,
*mut (): UnwindSafe,
W: 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