pub enum ClusterSetSlotSubCommand {
Importing {
node_id: String,
},
Migrating {
node_id: String,
},
Node {
node_id: String,
},
Stable,
}
Expand description
Subcommand for the cluster_setslot
command.
Variants§
Importing
Set a hash slot in importing state.
Migrating
Set a hash slot in migrating state.
Node
Bind the hash slot to a different node.
Stable
Clear any importing / migrating state from hash slot.
Trait Implementations§
Source§impl ToArgs for ClusterSetSlotSubCommand
impl ToArgs for ClusterSetSlotSubCommand
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 ClusterSetSlotSubCommand
impl RefUnwindSafe for ClusterSetSlotSubCommand
impl Send for ClusterSetSlotSubCommand
impl Sync for ClusterSetSlotSubCommand
impl Unpin for ClusterSetSlotSubCommand
impl UnwindSafe for ClusterSetSlotSubCommand
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