pub enum Cause<S, I = Infallible> {
Show 16 variants
Replica {
cpu: Cpu,
cause: I,
},
Config(Error),
Allocation(Error),
Signal(Acquire),
Entropy(Errno),
WorkerBus {
cpu: Cpu,
source: Create,
},
BusRead {
cpu: Cpu,
source: Read,
},
BusState(State),
WorkerFailed {
cpu: Cpu,
},
WorkerMissing {
cpu: Cpu,
},
WorkerSpawn {
cpu: Cpu,
source: Error,
},
Poll(Errno),
TerminationWait(<Source<'static> as Signal>::Error),
WatchReady(S),
WatchPulse(S),
WatchDrain(S),
}Expand description
One process-control failure observed before worker return completes.
Variants§
Replica
Config(Error)
Allocation(Error)
Signal(Acquire)
Entropy(Errno)
WorkerBus
BusRead
BusState(State)
WorkerFailed
WorkerMissing
WorkerSpawn
Poll(Errno)
TerminationWait(<Source<'static> as Signal>::Error)
WatchReady(S)
WatchPulse(S)
WatchDrain(S)
Trait Implementations§
Auto Trait Implementations§
impl<S, I> Forget for Cause<S, I>
impl<S, I> Freeze for Cause<S, I>
impl<S, I> Move for Cause<S, I>
impl<S, I> RefUnwindSafe for Cause<S, I>where
I: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, I> Send for Cause<S, I>
impl<S, I> Sync for Cause<S, I>
impl<S, I> Unpin for Cause<S, I>
impl<S, I> UnsafeUnpin for Cause<S, I>where
I: UnsafeUnpin,
S: UnsafeUnpin,
impl<S, I> UnwindSafe for Cause<S, I>where
I: UnwindSafe,
S: 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