Enum redis_driver::CommandArgs
source · [−]pub enum CommandArgs {
Empty,
Single(BulkString),
Array2([BulkString; 2]),
Array3([BulkString; 3]),
Array4([BulkString; 4]),
Vec(Vec<BulkString>),
}
Variants
Empty
Single(BulkString)
Array2([BulkString; 2])
Array3([BulkString; 3])
Array4([BulkString; 4])
Vec(Vec<BulkString>)
Implementations
sourceimpl CommandArgs
impl CommandArgs
Trait Implementations
sourceimpl Debug for CommandArgs
impl Debug for CommandArgs
sourceimpl From<[BulkString; 2]> for CommandArgs
impl From<[BulkString; 2]> for CommandArgs
sourcefn from(args: [BulkString; 2]) -> Self
fn from(args: [BulkString; 2]) -> Self
Converts to this type from the input type.
sourceimpl From<[BulkString; 3]> for CommandArgs
impl From<[BulkString; 3]> for CommandArgs
sourcefn from(args: [BulkString; 3]) -> Self
fn from(args: [BulkString; 3]) -> Self
Converts to this type from the input type.
sourceimpl From<[BulkString; 4]> for CommandArgs
impl From<[BulkString; 4]> for CommandArgs
sourcefn from(args: [BulkString; 4]) -> Self
fn from(args: [BulkString; 4]) -> Self
Converts to this type from the input type.
sourceimpl<T> From<T> for CommandArgs where
T: Into<BulkString>,
impl<T> From<T> for CommandArgs where
T: Into<BulkString>,
sourceimpl From<Vec<BulkString, Global>> for CommandArgs
impl From<Vec<BulkString, Global>> for CommandArgs
sourcefn from(args: Vec<BulkString>) -> Self
fn from(args: Vec<BulkString>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for CommandArgs
impl Send for CommandArgs
impl Sync for CommandArgs
impl Unpin for CommandArgs
impl UnwindSafe for CommandArgs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more