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