Struct r2d2::PooledConnection [] [src]

pub struct PooledConnection<M> where M: ManageConnection {
    // some fields omitted
}

A smart pointer wrapping a connection.

Trait Implementations

impl<M> Debug for PooledConnection<M> where M: ManageConnection, M::Connection: Debug

fn fmt(&self, fmt: &mut Formatter) -> Result

impl<M> Drop for PooledConnection<M> where M: ManageConnection

fn drop(&mut self)

impl<M> Deref for PooledConnection<M> where M: ManageConnection

type Target = M::Connection

fn deref(&self) -> &M::Connection

impl<M> DerefMut for PooledConnection<M> where M: ManageConnection

fn deref_mut(&mut self) -> &mut M::Connection