pub enum DisabledMigration {
Migrate(Box<BypassRecord>),
KeepDisabled {
reason: String,
},
}Expand description
The outcome of evaluating a disabled worker for migration.
Variants§
Migrate(Box<BypassRecord>)
The disable looked transient: migrate to this temporary-bypass record so the worker can auto-rejoin once healthy again.
KeepDisabled
The disable is a deliberate or unknown operator action: keep it disabled.
Trait Implementations§
Source§impl Clone for DisabledMigration
impl Clone for DisabledMigration
Source§impl Debug for DisabledMigration
impl Debug for DisabledMigration
impl Eq for DisabledMigration
Source§impl PartialEq for DisabledMigration
impl PartialEq for DisabledMigration
impl StructuralPartialEq for DisabledMigration
Auto Trait Implementations§
impl Freeze for DisabledMigration
impl RefUnwindSafe for DisabledMigration
impl Send for DisabledMigration
impl Sync for DisabledMigration
impl Unpin for DisabledMigration
impl UnsafeUnpin for DisabledMigration
impl UnwindSafe for DisabledMigration
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.