pub trait IntoRedisValue {
    // Required method
    fn into_redis_value(self) -> Value;
}
Expand description

Helper trait for converting test values into a redis::Value returned from a MockRedisConnection. This is necessary because neither redis::types::ToRedisArgs nor redis::types::FromRedisValue performs the precise conversion needed.

Required Methods§

source

fn into_redis_value(self) -> Value

Convert a value into redis::Value.

Implementations on Foreign Types§

source§

impl IntoRedisValue for i64

source§

impl IntoRedisValue for String

source§

impl IntoRedisValue for &str

source§

impl IntoRedisValue for Value

source§

impl IntoRedisValue for Vec<u8>

Implementors§