[−][src]Struct postgres_openssl::OpenSsl
A TlsHandshake implementation that uses OpenSSL.
Requires the with-openssl feature.
Methods
impl OpenSsl[src]
impl OpenSslpub fn new() -> Result<OpenSsl, ErrorStack>[src]
pub fn new() -> Result<OpenSsl, ErrorStack>Creates a OpenSsl with SslConnector's default configuration.
pub fn connector(&self) -> &SslConnector[src]
pub fn connector(&self) -> &SslConnectorReturns a reference to the inner SslConnector.
pub fn connector_mut(&mut self) -> &mut SslConnector[src]
pub fn connector_mut(&mut self) -> &mut SslConnectorReturns a mutable reference to the inner SslConnector.
pub fn danger_disable_hostname_verification(
&mut self,
disable_verification: bool
)[src]
pub fn danger_disable_hostname_verification(
&mut self,
disable_verification: bool
)If set, the
SslConnector::danger_connect_without_providing_domain_for_certificate_verification_and_server_name_indication
method will be used to connect.
If certificate verification has been disabled in the SslConnector, verification must be
additionally disabled here for that setting to take effect.
Trait Implementations
impl From<SslConnector> for OpenSsl[src]
impl From<SslConnector> for OpenSslfn from(connector: SslConnector) -> OpenSsl[src]
fn from(connector: SslConnector) -> OpenSslPerforms the conversion.
impl Debug for OpenSsl[src]
impl Debug for OpenSslfn fmt(&self, fmt: &mut Formatter) -> Result[src]
fn fmt(&self, fmt: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl TlsHandshake for OpenSsl[src]
impl TlsHandshake for OpenSslAuto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T> From for T[src]
impl<T> From for Timpl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>try_from)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut TMutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>try_from)Performs the conversion.
impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeId🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static
Gets the TypeId of self. Read more
impl<T> Same for T
impl<T> Same for Ttype Output = T
Should always be Self