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]
impl<M> Debug for PooledConnection<M> where
M: ManageConnection,
M::Connection: Debug,
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<M> Drop for PooledConnection<M> where
M: ManageConnection,
[src]
impl<M> Drop for PooledConnection<M> where
M: ManageConnection,
impl<M> Deref for PooledConnection<M> where
M: ManageConnection,
[src]
impl<M> Deref for PooledConnection<M> where
M: ManageConnection,
type Target = M::Connection
The resulting type after dereferencing.
fn deref(&self) -> &M::Connection
[src]
fn deref(&self) -> &M::Connection
Dereferences the value.
impl<M> DerefMut for PooledConnection<M> where
M: ManageConnection,
[src]
impl<M> DerefMut for PooledConnection<M> where
M: ManageConnection,
fn deref_mut(&mut self) -> &mut M::Connection
[src]
fn deref_mut(&mut self) -> &mut M::Connection
Mutably dereferences the value.
Auto Trait Implementations
impl<M> Send for PooledConnection<M> where
<M as ManageConnection>::Connection: Send,
impl<M> Send for PooledConnection<M> where
<M as ManageConnection>::Connection: Send,
impl<M> Sync for PooledConnection<M> where
<M as ManageConnection>::Connection: Send + Sync,
impl<M> Sync for PooledConnection<M> where
<M as ManageConnection>::Connection: Send + Sync,