pub enum ClientUnblockMode {
Timeout,
Error,
}
Expand description
Mode options for the client_unblock
command.
Variants§
Timeout
By default the client is unblocked as if the timeout of the command was reached,
Error
the behavior is to unblock the client returning as error the fact that the client was force-unblocked.
Trait Implementations§
Source§impl Default for ClientUnblockMode
impl Default for ClientUnblockMode
Source§fn default() -> ClientUnblockMode
fn default() -> ClientUnblockMode
Returns the “default value” for a type. Read more
Source§impl ToArgs for ClientUnblockMode
impl ToArgs for ClientUnblockMode
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 ClientUnblockMode
impl RefUnwindSafe for ClientUnblockMode
impl Send for ClientUnblockMode
impl Sync for ClientUnblockMode
impl Unpin for ClientUnblockMode
impl UnwindSafe for ClientUnblockMode
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