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§
Source§impl Default for ClientPauseMode
impl Default for ClientPauseMode
Source§impl IntoArgs for ClientPauseMode
impl IntoArgs for ClientPauseMode
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
Auto Trait Implementations§
impl Freeze for ClientPauseMode
impl RefUnwindSafe for ClientPauseMode
impl Send for ClientPauseMode
impl Sync for ClientPauseMode
impl Unpin for ClientPauseMode
impl UnwindSafe for ClientPauseMode
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