Struct r2d2::PooledConnection
[−]
[src]
pub struct PooledConnection<M> where
M: ManageConnection, { /* fields omitted */ }
A smart pointer wrapping a connection.
Trait Implementations
impl<M> Debug for PooledConnection<M> where
M: ManageConnection,
M::Connection: Debug,
[src]
M: ManageConnection,
M::Connection: Debug,
impl<M> Drop for PooledConnection<M> where
M: ManageConnection,
[src]
M: ManageConnection,
impl<M> Deref for PooledConnection<M> where
M: ManageConnection,
[src]
M: ManageConnection,
type Target = M::Connection
The resulting type after dereferencing.
fn deref(&self) -> &M::Connection
[src]
Dereferences the value.
impl<M> DerefMut for PooledConnection<M> where
M: ManageConnection,
[src]
M: ManageConnection,
fn deref_mut(&mut self) -> &mut M::Connection
[src]
Mutably dereferences the value.