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 + Debug, M::Connection: Debug
[src]

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

Formats the value using the given formatter.

impl<M> Drop for PooledConnection<M> where M: ManageConnection
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more

impl<M> Deref for PooledConnection<M> where M: ManageConnection
[src]

type Target = M::Connection

The resulting type after dereferencing

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

The method called to dereference a value

impl<M> DerefMut for PooledConnection<M> where M: ManageConnection
[src]

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

The method called to mutably dereference a value