pub enum SentinelSimulateFailureMode {
CrashAfterElection,
CrashAfterPromotion,
}
Expand description
Different crash simulation scenario modes for
the sentinel_simulate_failure
command
Variants
CrashAfterElection
CrashAfterPromotion
Trait Implementations
sourceimpl IntoArgs for SentinelSimulateFailureMode
impl IntoArgs for SentinelSimulateFailureMode
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
Auto Trait Implementations
impl RefUnwindSafe for SentinelSimulateFailureMode
impl Send for SentinelSimulateFailureMode
impl Sync for SentinelSimulateFailureMode
impl Unpin for SentinelSimulateFailureMode
impl UnwindSafe for SentinelSimulateFailureMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more