pub struct PooledConnection<'a, T: Send + Sized> { /* private fields */ }
Expand description
A smart pointer wrapping a Connection so that the inner Connection can return to the ConnectionPool once this pointer is dropped.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> !RefUnwindSafe for PooledConnection<'a, T>
impl<'a, T> Send for PooledConnection<'a, T>where
T: Sync,
impl<'a, T> Sync for PooledConnection<'a, T>where
T: Sync,
impl<'a, T> Unpin for PooledConnection<'a, T>where
T: Unpin,
impl<'a, T> !UnwindSafe for PooledConnection<'a, T>
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