Type Alias ValkeyValueResult

Source
pub type ValkeyValueResult = ValkeyResult<ValkeyValue>;
Expand description

A [RedisResult] with ValkeyValue.

Aliased Type§

pub enum ValkeyValueResult {
    Ok(ValkeyValue),
    Err(ValkeyError),
}

Variants§

§1.0.0

Ok(ValkeyValue)

Contains the success value

§1.0.0

Err(ValkeyError)

Contains the error value

Trait Implementations§

Source§

impl From<ValkeyError> for ValkeyValueResult

Source§

fn from(v: ValkeyError) -> Self

Converts to this type from the input type.
Source§

impl From<ValkeyValue> for ValkeyValueResult

Source§

fn from(v: ValkeyValue) -> Self

Converts to this type from the input type.