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
Fields
node_id: String
Set a hash slot in importing state.
Migrating
Fields
node_id: String
Set a hash slot in migrating state.
Node
Fields
node_id: String
Bind the hash slot to a different node.
Stable
Clear any importing / migrating state from hash slot.
Trait Implementations
sourceimpl IntoArgs for ClusterSetSlotSubCommand
impl IntoArgs for ClusterSetSlotSubCommand
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
Auto Trait Implementations
impl RefUnwindSafe for ClusterSetSlotSubCommand
impl Send for ClusterSetSlotSubCommand
impl Sync for ClusterSetSlotSubCommand
impl Unpin for ClusterSetSlotSubCommand
impl UnwindSafe for ClusterSetSlotSubCommand
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