[][src]Struct reool::PoolConnection

pub struct PoolConnection<T: Poolable = ConnectionFlavour> { /* fields omitted */ }

A connection that has been taken from the pool.

The connection returns when dropped unless there was an error.

Pooled connection implements redis::async::ConnectionLike to easily integrate with code that already uses redis-rs.

Implementations

impl<T: Poolable> PoolConnection<T>[src]

pub fn default_command_timeout<TO: Into<DefaultCommandTimeout>>(
    &mut self,
    timeout: TO
)
[src]

Trait Implementations

impl<T: Poolable> ConnectionLike for PoolConnection<T> where
    T: ConnectionLike
[src]

impl<T: Poolable> Drop for PoolConnection<T>[src]

Auto Trait Implementations

impl<T = ConnectionFlavour> !RefUnwindSafe for PoolConnection<T>

impl<T> Send for PoolConnection<T>

impl<T> Sync for PoolConnection<T> where
    T: Sync

impl<T> Unpin for PoolConnection<T> where
    T: Unpin

impl<T = ConnectionFlavour> !UnwindSafe for PoolConnection<T>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsyncCommands for T where
    T: ConnectionLike + Send
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,