Enum redis_driver::ClientUnblockMode
source · [−]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
sourceimpl Default for ClientUnblockMode
impl Default for ClientUnblockMode
sourceimpl IntoArgs for ClientUnblockMode
impl IntoArgs for ClientUnblockMode
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
Auto Trait Implementations
impl RefUnwindSafe for ClientUnblockMode
impl Send for ClientUnblockMode
impl Sync for ClientUnblockMode
impl Unpin for ClientUnblockMode
impl UnwindSafe for ClientUnblockMode
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