Struct postgres_native_tls::TlsConnector 
source · pub struct TlsConnector { /* private fields */ }Expand description
A TlsConnect implementation using the native-tls crate.
Implementations§
source§impl TlsConnector
 
impl TlsConnector
sourcepub fn new(connector: TlsConnector, domain: &str) -> TlsConnector
 
pub fn new(connector: TlsConnector, domain: &str) -> TlsConnector
Creates a new connector configured to connect to the specified domain.
Trait Implementations§
Auto Trait Implementations§
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