[][src]Struct redis_asio::RedisCommand

pub struct RedisCommand { /* fields omitted */ }

Redis command wrapper represents array of BulkStrings

Methods

impl RedisCommand[src]

pub fn arg<T: IntoRedisArgument>(self, arg: T) -> RedisCommand[src]

Add new argument into RedisCommand and move the one back. The argument should implement the IntoRedisArgument trait.

pub fn arg_mut<T: IntoRedisArgument>(&mut self, arg: T)[src]

Add new argument into RedisCommand through object changing. The argument should implement the IntoRedisArgument trait.

pub fn append(&mut self, other: RedisCommand)[src]

Append the other RedisCommand's arguments into self arguments.

pub fn into_resp_value(self) -> RespInternalValue[src]

Convert the self into RespInternalValue.

Trait Implementations

impl Clone for RedisCommand[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.