Enum redis_driver::ClientType
source · [−]pub enum ClientType {
Normal,
Master,
Replica,
PubSub,
}
Expand description
Client type options for the client_list command.
Variants
Normal
Master
Replica
PubSub
Trait Implementations
sourceimpl IntoArgs for ClientType
impl IntoArgs for ClientType
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
Auto Trait Implementations
impl RefUnwindSafe for ClientType
impl Send for ClientType
impl Sync for ClientType
impl Unpin for ClientType
impl UnwindSafe for ClientType
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