pub trait BackedType<T> {
    // Required methods
    fn get_conn(&self) -> Connection;
    fn get(&self) -> &T;
}
Expand description

The BackedType trait is used to define the methods that are common to all types.

Required Methods§

source

fn get_conn(&self) -> Connection

The get_conn method returns a mutable reference to the redis::Connection.

source

fn get(&self) -> &T

The get method returns a reference to the value stored in the type.

Implementors§