Enum redis_client::results::RedisResult [] [src]

pub enum RedisResult {
    Array(Vec<RedisResult>),
    Bytes(Vec<u8>),
    String(String),
    Int(i64),
    Nil,
}

Variants

Array
Bytes
String
Int
Nil

Methods

impl RedisResult

fn convert<T: From<RedisResult>>(self) -> T

Method to convert a RedisResult into another type

Trait Implementations

impl Display for RedisResult

fn fmt(&self, f: &mut Formatter) -> Result

Derived Implementations

impl Clone for RedisResult

fn clone(&self) -> RedisResult

fn clone_from(&mut self, source: &Self)

impl Debug for RedisResult

fn fmt(&self, __arg_0: &mut Formatter) -> Result