Struct backend::pool::RedisPoolWrapper [−][src]
pub struct RedisPoolWrapper<M: Manager = Manager, C: From<Object<M>> = Object<M>> { /* fields omitted */ }Trait Implementations
Performs the conversion.
impl<M: DeadManager, C: From<Object<M>>> Pool for RedisPoolWrapper<M, C> where
M::Type: Send,
C: Send + Sync + 'static,
M::Error: Error,
impl<M: DeadManager, C: From<Object<M>>> Pool for RedisPoolWrapper<M, C> where
M::Type: Send,
C: Send + Sync + 'static,
M::Error: Error,
The error type returned by Self::init() and Self::get().
type Connection = C
type Connection = C
The connection type managed by this pool, returned by Self::get().
Auto Trait Implementations
impl<M = Manager, C = Object<M>> !RefUnwindSafe for RedisPoolWrapper<M, C>
impl<M, C> Send for RedisPoolWrapper<M, C> where
<M as Manager>::Type: Send,
impl<M, C> Sync for RedisPoolWrapper<M, C> where
<M as Manager>::Type: Send,
impl<M, C> Unpin for RedisPoolWrapper<M, C>
impl<M = Manager, C = Object<M>> !UnwindSafe for RedisPoolWrapper<M, C>
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