Struct l337_postgres::PostgresConnectionManager [−][src]
pub struct PostgresConnectionManager<T> where
T: 'static + MakeTlsConnect<Socket> + Clone + Send + Sync, { /* fields omitted */ }
Expand description
A ManageConnection
for tokio_postgres::Connection
s.
Implementations
impl<T> PostgresConnectionManager<T> where
T: 'static + MakeTlsConnect<Socket> + Clone + Send + Sync,
impl<T> PostgresConnectionManager<T> where
T: 'static + MakeTlsConnect<Socket> + Clone + Send + Sync,
Trait Implementations
impl<T> Debug for PostgresConnectionManager<T> where
T: 'static + MakeTlsConnect<Socket> + Clone + Send + Sync,
impl<T> Debug for PostgresConnectionManager<T> where
T: 'static + MakeTlsConnect<Socket> + Clone + Send + Sync,
impl<T> ManageConnection for PostgresConnectionManager<T> where
T: 'static + MakeTlsConnect<Socket> + Clone + Send + Sync,
T::Stream: Send + Sync,
T::TlsConnect: Send,
<T::TlsConnect as TlsConnect<Socket>>::Future: Send,
impl<T> ManageConnection for PostgresConnectionManager<T> where
T: 'static + MakeTlsConnect<Socket> + Clone + Send + Sync,
T::Stream: Send + Sync,
T::TlsConnect: Send,
<T::TlsConnect as TlsConnect<Socket>>::Future: Send,
type Connection = AsyncConnection
type Connection = AsyncConnection
The connection type this manager deals with.
Attempts to create a new connection. Read more
Determines if the connection is still connected to the database. Read more
Quick check to determine if the connection has broken
Auto Trait Implementations
impl<T> RefUnwindSafe for PostgresConnectionManager<T> where
T: RefUnwindSafe,
impl<T> Send for PostgresConnectionManager<T>
impl<T> Sync for PostgresConnectionManager<T>
impl<T> Unpin for PostgresConnectionManager<T> where
T: Unpin,
impl<T> UnwindSafe for PostgresConnectionManager<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more