[−][src]Struct mobc::Connection
A smart pointer wrapping a connection.
Trait Implementations
impl<M: Manager> Deref for Connection<M>
[src]
type Target = M::Connection
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl<M: Manager> DerefMut for Connection<M>
[src]
fn deref_mut(&mut self) -> &mut M::Connection
[src]
impl<M: Manager> Drop for Connection<M>
[src]
Auto Trait Implementations
impl<M> !RefUnwindSafe for Connection<M>
impl<M> Send for Connection<M> where
<M as Manager>::Connection: Send,
<M as Manager>::Error: Send,
<M as Manager>::Connection: Send,
<M as Manager>::Error: Send,
impl<M> Sync for Connection<M> where
<M as Manager>::Connection: Send + Sync,
<M as Manager>::Error: Send,
<M as Manager>::Connection: Send + Sync,
<M as Manager>::Error: Send,
impl<M> Unpin for Connection<M> where
<M as Manager>::Connection: Unpin,
<M as Manager>::Error: Unpin,
<M as Manager>::Connection: Unpin,
<M as Manager>::Error: Unpin,
impl<M> !UnwindSafe for Connection<M>
Blanket Implementations
impl<T, A, P> Access<T> for P where
A: Access<T>,
P: Deref<Target = A>,
[src]
A: Access<T>,
P: Deref<Target = A>,
type Guard = <A as Access<T>>::Guard
A guard object containing the value and keeping it alive. Read more
fn load(&self) -> <P as Access<T>>::Guard
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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, A> DynAccess<T> for A where
A: Access<T>,
<A as Access<T>>::Guard: 'static,
[src]
A: Access<T>,
<A as Access<T>>::Guard: 'static,
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>,