pub enum SentinelSimulateFailureMode {
CrashAfterElection,
CrashAfterPromotion,
}
Expand description
Different crash simulation scenario modes for
the sentinel_simulate_failure
command
Variants§
Trait Implementations§
Source§impl ToArgs for SentinelSimulateFailureMode
impl ToArgs for SentinelSimulateFailureMode
Source§fn write_args(&self, args: &mut CommandArgs)
fn write_args(&self, args: &mut CommandArgs)
Write this Rust type as one ore multiple args into CommandArgs. Read more
Auto Trait Implementations§
impl Freeze for SentinelSimulateFailureMode
impl RefUnwindSafe for SentinelSimulateFailureMode
impl Send for SentinelSimulateFailureMode
impl Sync for SentinelSimulateFailureMode
impl Unpin for SentinelSimulateFailureMode
impl UnwindSafe for SentinelSimulateFailureMode
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