Type Alias valkey_module::ValkeyValueResult

source ·
pub type ValkeyValueResult = ValkeyResult<ValkeyValue>;
Expand description

A [RedisResult] with ValkeyValue.

Aliased Type§

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.