Struct bb8::PooledConnection
source · pub struct PooledConnection<'a, M>where
M: ManageConnection,{ /* private fields */ }
Expand description
A smart pointer wrapping a connection.
Trait Implementations§
source§impl<'a, M> Debug for PooledConnection<'a, M>
impl<'a, M> Debug for PooledConnection<'a, M>
source§impl<'a, M> Deref for PooledConnection<'a, M>where
M: ManageConnection,
impl<'a, M> Deref for PooledConnection<'a, M>where
M: ManageConnection,
§type Target = <M as ManageConnection>::Connection
type Target = <M as ManageConnection>::Connection
The resulting type after dereferencing.
source§impl<'a, M> DerefMut for PooledConnection<'a, M>where
M: ManageConnection,
impl<'a, M> DerefMut for PooledConnection<'a, M>where
M: ManageConnection,
source§fn deref_mut(&mut self) -> &mut M::Connection
fn deref_mut(&mut self) -> &mut M::Connection
Mutably dereferences the value.
source§impl<'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>
impl<'a, M> Unpin for PooledConnection<'a, M>
impl<'a, M> !UnwindSafe for PooledConnection<'a, M>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more