Struct postgres_openssl::TlsConnector
source · pub struct TlsConnector { /* private fields */ }
Expand description
A TlsConnect
implementation using the openssl
crate.
Implementations§
source§impl TlsConnector
impl TlsConnector
sourcepub fn new(ssl: ConnectConfiguration, domain: &str) -> TlsConnector
pub fn new(ssl: ConnectConfiguration, domain: &str) -> TlsConnector
Creates a new connector configured to connect to the specified domain.
Trait Implementations§
source§impl<S> TlsConnect<S> for TlsConnector
impl<S> TlsConnect<S> for TlsConnector
Auto Trait Implementations§
impl Freeze for TlsConnector
impl RefUnwindSafe for TlsConnector
impl Send for TlsConnector
impl Sync for TlsConnector
impl Unpin for TlsConnector
impl UnwindSafe for TlsConnector
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