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 IntoArgs for ClusterSetSlotSubCommand
impl IntoArgs for ClusterSetSlotSubCommand
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
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