pub struct PgConnManager<T>where
T: MakeTlsConnect<Socket> + Clone + Send + Sync,
T::Stream: Send + Sync + 'static,
T::TlsConnect: Send + Sync,
<T::TlsConnect as TlsConnect<Socket>>::Future: Send,{ /* private fields */ }
Expand description
A PostgreSQL connection manager.
Implementations§
Source§impl<T> PgConnManager<T>where
T: MakeTlsConnect<Socket> + Clone + Send + Sync,
T::Stream: Send + Sync + 'static,
T::TlsConnect: Send + Sync,
<T::TlsConnect as TlsConnect<Socket>>::Future: Send,
impl<T> PgConnManager<T>where
T: MakeTlsConnect<Socket> + Clone + Send + Sync,
T::Stream: Send + Sync + 'static,
T::TlsConnect: Send + Sync,
<T::TlsConnect as TlsConnect<Socket>>::Future: Send,
Trait Implementations§
Source§impl<T> Manage for PgConnManager<T>where
T: MakeTlsConnect<Socket> + Clone + Send + Sync,
T::Stream: Send + Sync + 'static,
T::TlsConnect: Send + Sync,
<T::TlsConnect as TlsConnect<Socket>>::Future: Send,
impl<T> Manage for PgConnManager<T>where
T: MakeTlsConnect<Socket> + Clone + Send + Sync,
T::Stream: Send + Sync + 'static,
T::TlsConnect: Send + Sync,
<T::TlsConnect as TlsConnect<Socket>>::Future: Send,
Auto Trait Implementations§
impl<T> Freeze for PgConnManager<T>where
T: Freeze,
impl<T> RefUnwindSafe for PgConnManager<T>where
T: RefUnwindSafe,
impl<T> Send for PgConnManager<T>
impl<T> Sync for PgConnManager<T>
impl<T> Unpin for PgConnManager<T>where
T: Unpin,
impl<T> UnwindSafe for PgConnManager<T>where
T: UnwindSafe,
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