Struct backend::pool::RedisDb [−][src]
pub struct RedisDb(_);Expand description
Redis Connection Pool
Implementations
Trait Implementations
type Pool = RedisPoolWrapper
type Pool = RedisPoolWrapper
Returns a fairing that initializes the database and its connection pool. Read more
Returns a reference to the initialized database in rocket. The
initializer fairing returned by init() must have already executed for
Option to be Some. This is guaranteed to be the case if the fairing
is attached and either: Read more
type Target = RedisPoolWrapper
type Target = RedisPoolWrapper
The resulting type after dereferencing.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for RedisDb
impl !UnwindSafe for RedisDb
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self into a collection.
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more