Trait RedisInterface

Source
pub trait RedisInterface: Send + Sync {
    type RedisConnection<'a>: ClientLike + KeysInterface
       where Self: 'a;

    // Required method
    fn redis(&self) -> &Self::RedisConnection<'_>;
}

Required Associated Types§

Required Methods§

Source

fn redis(&self) -> &Self::RedisConnection<'_>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§