pub enum ClusterFailoverOption {
Default,
Force,
Takeover,
}
Expand description
Options for the cluster_failover
command
Variants
Default
No option
Force
FORCE option: manual failover when the master is down
Takeover
TAKEOVER option: manual failover without cluster consensus
Trait Implementations
sourceimpl Default for ClusterFailoverOption
impl Default for ClusterFailoverOption
sourceimpl IntoArgs for ClusterFailoverOption
impl IntoArgs for ClusterFailoverOption
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
Auto Trait Implementations
impl RefUnwindSafe for ClusterFailoverOption
impl Send for ClusterFailoverOption
impl Sync for ClusterFailoverOption
impl Unpin for ClusterFailoverOption
impl UnwindSafe for ClusterFailoverOption
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