Enum ockam_node::WorkerReason
source · pub enum WorkerReason {
Shutdown,
Faulty,
Corrupt,
}
Expand description
Reasons why a worker operation has failed
Variants§
Shutdown
The worker is shutting down
Faulty
The worker is faulty and waiting for supervisor commands
Corrupt
The worker is otherwise corrupt and can not be recovered
Trait Implementations§
source§impl Clone for WorkerReason
impl Clone for WorkerReason
source§fn clone(&self) -> WorkerReason
fn clone(&self) -> WorkerReason
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WorkerReason
impl Debug for WorkerReason
source§impl Display for WorkerReason
impl Display for WorkerReason
impl Copy for WorkerReason
Auto Trait Implementations§
impl RefUnwindSafe for WorkerReason
impl Send for WorkerReason
impl Sync for WorkerReason
impl Unpin for WorkerReason
impl UnwindSafe for WorkerReason
Blanket Implementations§
source§impl<D> AsyncTryClone for D
impl<D> AsyncTryClone for D
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