Struct bb8::PooledConnection
source · [−]pub struct PooledConnection<'a, M> where
M: ManageConnection, { /* private fields */ }
Expand description
A smart pointer wrapping a connection.
Trait Implementations
sourceimpl<'a, M> Debug for PooledConnection<'a, M> where
M: ManageConnection,
M::Connection: Debug,
impl<'a, M> Debug for PooledConnection<'a, M> where
M: ManageConnection,
M::Connection: Debug,
sourceimpl<'a, M> Deref for PooledConnection<'a, M> where
M: ManageConnection,
impl<'a, M> Deref for PooledConnection<'a, M> where
M: ManageConnection,
type Target = M::Connection
type Target = M::Connection
The resulting type after dereferencing.
sourcefn deref(&self) -> &M::Connection
fn deref(&self) -> &M::Connection
Dereferences the value.
sourceimpl<'a, M> DerefMut for PooledConnection<'a, M> where
M: ManageConnection,
impl<'a, M> DerefMut for PooledConnection<'a, M> where
M: ManageConnection,
sourcefn deref_mut(&mut self) -> &mut M::Connection
fn deref_mut(&mut self) -> &mut M::Connection
Mutably dereferences the value.
sourceimpl<'a, M> Drop for PooledConnection<'a, M> where
M: ManageConnection,
impl<'a, M> Drop for PooledConnection<'a, M> where
M: ManageConnection,
Auto Trait Implementations
impl<'a, M> !RefUnwindSafe for PooledConnection<'a, M>
impl<'a, M> Send for PooledConnection<'a, M>
impl<'a, M> Sync for PooledConnection<'a, M> where
<M as ManageConnection>::Connection: Sync,
impl<'a, M> Unpin for PooledConnection<'a, M> where
<M as ManageConnection>::Connection: Unpin,
impl<'a, M> !UnwindSafe for PooledConnection<'a, M>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more