Enum rustis::commands::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§
source§impl Default for ClientPauseMode
impl Default for ClientPauseMode
source§fn default() -> ClientPauseMode
fn default() -> ClientPauseMode
Returns the “default value” for a type. Read more
source§impl ToArgs for ClientPauseMode
impl ToArgs for ClientPauseMode
source§fn write_args(&self, args: &mut CommandArgs)
fn write_args(&self, args: &mut CommandArgs)
Write this Rust type as one ore multiple args into CommandArgs. Read more
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