pub enum Cause<S> {
Show 15 variants
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§
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> Forget for Cause<S>
impl<S> Freeze for Cause<S>where
S: Freeze,
impl<S> RefUnwindSafe for Cause<S>where
S: RefUnwindSafe,
impl<S> Send for Cause<S>where
S: Send,
impl<S> Sync for Cause<S>where
S: Sync,
impl<S> Unpin for Cause<S>where
S: Unpin,
impl<S> UnsafeUnpin for Cause<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for Cause<S>where
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