Enum redis_module::redisvalue::RedisValue[][src]

pub enum RedisValue {
    SimpleStringStatic(&'static str),
    SimpleString(String),
    BulkString(String),
    BulkRedisString(RedisString),
    StringBuffer(Vec<u8>),
    Integer(i64),
    Float(f64),
    Array(Vec<RedisValue>),
    Null,
    NoReply,
}

Variants

SimpleStringStatic(&'static str)

Tuple Fields

0: &'static str

SimpleString(String)

Tuple Fields

0: String

BulkString(String)

Tuple Fields

0: String

BulkRedisString(RedisString)

Tuple Fields

StringBuffer(Vec<u8>)

Tuple Fields

0: Vec<u8>

Integer(i64)

Tuple Fields

0: i64

Float(f64)

Tuple Fields

0: f64

Array(Vec<RedisValue>)

Tuple Fields

Null

NoReply

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.