Struct mobc::Connection [−][src]
pub struct Connection<M: Manager> { /* fields omitted */ }
Expand description
A smart pointer wrapping a connection.
Implementations
Returns true is the connection is newly established.
Unwraps the raw database connection.
Trait Implementations
type Target = M::Connection
type Target = M::Connection
The resulting type after dereferencing.
Mutably dereferences the value.
Auto Trait Implementations
impl<M> !RefUnwindSafe for Connection<M>
impl<M> Send for Connection<M>
impl<M> Sync for Connection<M> where
<M as Manager>::Connection: Sync,
impl<M> Unpin for Connection<M> where
<M as Manager>::Connection: Unpin,
<M as Manager>::Error: Unpin,
impl<M> !UnwindSafe for Connection<M>