Enum redis_driver::ClientPauseMode
source · pub enum ClientPauseMode {
Write,
All,
}
Expand description
Mode options for the client_pause
command.
Variants
Write
Clients are only blocked if they attempt to execute a write command.
All
This is the default mode. All client commands are blocked.
Trait Implementations
sourceimpl Default for ClientPauseMode
impl Default for ClientPauseMode
sourceimpl IntoArgs for ClientPauseMode
impl IntoArgs for ClientPauseMode
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
Auto Trait Implementations
impl RefUnwindSafe for ClientPauseMode
impl Send for ClientPauseMode
impl Sync for ClientPauseMode
impl Unpin for ClientPauseMode
impl UnwindSafe for ClientPauseMode
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