[−][src]Struct r2d2::PooledConnection
A smart pointer wrapping a connection.
Trait Implementations
impl<M> Drop for PooledConnection<M> where
M: ManageConnection,
[src]
M: ManageConnection,
impl<M> Deref for PooledConnection<M> where
M: ManageConnection,
[src]
M: ManageConnection,
type Target = M::Connection
The resulting type after dereferencing.
fn deref(&self) -> &M::Connection
[src]
impl<M> DerefMut for PooledConnection<M> where
M: ManageConnection,
[src]
M: ManageConnection,
fn deref_mut(&mut self) -> &mut M::Connection
[src]
impl<M> Debug for PooledConnection<M> where
M: ManageConnection,
M::Connection: Debug,
[src]
M: ManageConnection,
M::Connection: Debug,
Auto Trait Implementations
impl<M> Unpin for PooledConnection<M> where
<M as ManageConnection>::Connection: Unpin,
<M as ManageConnection>::Connection: Unpin,
impl<M> Sync for PooledConnection<M> where
<M as ManageConnection>::Connection: Send + Sync,
<M as ManageConnection>::Connection: Send + Sync,
impl<M> Send for PooledConnection<M> where
<M as ManageConnection>::Connection: Send,
<M as ManageConnection>::Connection: Send,
impl<M> !UnwindSafe for PooledConnection<M>
impl<M> !RefUnwindSafe for PooledConnection<M>
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,