pub struct PooledConnection<'a, M>where
M: ManageConnection,{ /* private fields */ }Expand description
A smart pointer wrapping a connection.
Trait Implementations§
Source§impl<M> Debug for PooledConnection<'_, M>
impl<M> Debug for PooledConnection<'_, M>
Source§impl<M> Deref for PooledConnection<'_, M>where
M: ManageConnection,
impl<M> Deref for PooledConnection<'_, M>where
M: ManageConnection,
Source§type Target = <M as ManageConnection>::Connection
type Target = <M as ManageConnection>::Connection
The resulting type after dereferencing.
Source§impl<M> DerefMut for PooledConnection<'_, M>where
M: ManageConnection,
impl<M> DerefMut for PooledConnection<'_, 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<M> Drop for PooledConnection<'_, M>where
M: ManageConnection,
impl<M> Drop for PooledConnection<'_, M>where
M: ManageConnection,
Auto Trait Implementations§
impl<'a, M> Freeze for PooledConnection<'a, M>
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