pub enum Value {
SimpleString(String),
Integer(i64),
Double(f64),
BulkString(Vec<u8>),
Array(Vec<Value>),
Push(Vec<Value>),
Error(RedisError),
Nil,
}Variants§
SimpleString(String)
Integer(i64)
Double(f64)
BulkString(Vec<u8>)
Array(Vec<Value>)
Push(Vec<Value>)
Error(RedisError)
Nil
Implementations§
source§impl Value
impl Value
sourcepub fn into<T>(self) -> Result<T>where
T: FromValue,
pub fn into<T>(self) -> Result<T>where
T: FromValue,
A Value to user type conversion that consumes the input value.
Errors
Any parsing error (Error::Client) due to incompatibility between Value variant and taget type