pub enum WorkerChangeInterruption {
ExplicitStop {
operation: u64,
},
SupervisorShutdown {
change: WorkerChange,
},
}Expand description
Why an accepted worker change cannot publish availability.
Variants§
ExplicitStop
An admitted explicit Stop interrupted an initial start.
SupervisorShutdown
Supervisor shutdown interrupted the named worker-change kind.
Fields
§
change: WorkerChangeTrait Implementations§
Source§impl Clone for WorkerChangeInterruption
impl Clone for WorkerChangeInterruption
Source§fn clone(&self) -> WorkerChangeInterruption
fn clone(&self) -> WorkerChangeInterruption
Returns a duplicate 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 WorkerChangeInterruption
impl Debug for WorkerChangeInterruption
Source§impl PartialEq for WorkerChangeInterruption
impl PartialEq for WorkerChangeInterruption
impl Copy for WorkerChangeInterruption
impl Eq for WorkerChangeInterruption
impl StructuralPartialEq for WorkerChangeInterruption
Auto Trait Implementations§
impl Freeze for WorkerChangeInterruption
impl RefUnwindSafe for WorkerChangeInterruption
impl Send for WorkerChangeInterruption
impl Sync for WorkerChangeInterruption
impl Unpin for WorkerChangeInterruption
impl UnsafeUnpin for WorkerChangeInterruption
impl UnwindSafe for WorkerChangeInterruption
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