Struct rfc5321::client::TlsOptions
source · pub struct TlsOptions {
pub insecure: bool,
pub alt_name: Option<String>,
pub dane_tlsa: Vec<TLSA>,
pub prefer_openssl: bool,
pub openssl_cipher_list: Option<String>,
pub openssl_cipher_suites: Option<String>,
pub openssl_options: Option<SslOptions>,
pub rustls_cipher_suites: Vec<SupportedCipherSuite>,
}
Fields§
§insecure: bool
§alt_name: Option<String>
§dane_tlsa: Vec<TLSA>
§prefer_openssl: bool
§openssl_cipher_list: Option<String>
§openssl_cipher_suites: Option<String>
§openssl_options: Option<SslOptions>
§rustls_cipher_suites: Vec<SupportedCipherSuite>
Trait Implementations§
source§impl Clone for TlsOptions
impl Clone for TlsOptions
source§fn clone(&self) -> TlsOptions
fn clone(&self) -> TlsOptions
Returns a copy 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 Debug for TlsOptions
impl Debug for TlsOptions
source§impl Default for TlsOptions
impl Default for TlsOptions
source§fn default() -> TlsOptions
fn default() -> TlsOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TlsOptions
impl !RefUnwindSafe for TlsOptions
impl Send for TlsOptions
impl Sync for TlsOptions
impl Unpin for TlsOptions
impl !UnwindSafe for TlsOptions
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