pub struct PostgresPool { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Clone for PostgresPool
impl Clone for PostgresPool
Source§fn clone(&self) -> PostgresPool
fn clone(&self) -> PostgresPool
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl DatabasePool for PostgresPool
impl DatabasePool for PostgresPool
Source§type Connection = PostgresConnection
type Connection = PostgresConnection
The type of connection this pool provides
Auto Trait Implementations§
impl Freeze for PostgresPool
impl RefUnwindSafe for PostgresPool
impl Send for PostgresPool
impl Sync for PostgresPool
impl Unpin for PostgresPool
impl UnwindSafe for PostgresPool
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