pub struct Connector { /* private fields */ }Expand description
Opens postgres clients the way PgStore::connect_with does: the configuration’s
sslmode decides whether TLS is used, and when it is, the server’s certificate and host
name are verified against the Mozilla roots and the roots of the PoolOptions
(rustls, ring provider). Cheap to clone.
Outside semver until 1.0: this type names the postgres driver’s types, and any release
may change it, including a patch release.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Connector
impl !UnwindSafe for Connector
impl Freeze for Connector
impl Send for Connector
impl Sync for Connector
impl Unpin for Connector
impl UnsafeUnpin for Connector
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