Trait micro_types::BackedType
source · 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§
sourcefn get_conn(&self) -> Connection
fn get_conn(&self) -> Connection
The get_conn method returns a mutable reference to the redis::Connection.