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 of SimpleStringStatic

0: &'static str
SimpleString(String)

Tuple Fields of SimpleString

0: String
BulkString(String)

Tuple Fields of BulkString

0: String
BulkRedisString(RedisString)

Tuple Fields of BulkRedisString

0: RedisString
StringBuffer(Vec<u8>)

Tuple Fields of StringBuffer

0: Vec<u8>
Integer(i64)

Tuple Fields of Integer

0: i64
Float(f64)

Tuple Fields of Float

0: f64
Array(Vec<RedisValue>)

Tuple Fields of Array

0: Vec<RedisValue>
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.