pub struct SslStrategy {
pub request_on_first_connection: bool,
pub retry_with_ssl_after_plaintext_failure: bool,
pub allow_server_rejection: bool,
pub verification: CertificateVerification,
}Expand description
Actions needed to apply an SslMode across connection attempts.
Fields§
§request_on_first_connection: boolWhether the first connection should send SSLRequest.
retry_with_ssl_after_plaintext_failure: boolWhether plaintext failure should open a new TLS-first connection.
allow_server_rejection: boolWhether an N response permits continuation in plaintext.
verification: CertificateVerificationCertificate verification required after TLS acceptance.
Trait Implementations§
Source§impl Clone for SslStrategy
impl Clone for SslStrategy
Source§fn clone(&self) -> SslStrategy
fn clone(&self) -> SslStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SslStrategy
Source§impl Debug for SslStrategy
impl Debug for SslStrategy
impl Eq for SslStrategy
Source§impl PartialEq for SslStrategy
impl PartialEq for SslStrategy
impl StructuralPartialEq for SslStrategy
Auto Trait Implementations§
impl Freeze for SslStrategy
impl RefUnwindSafe for SslStrategy
impl Send for SslStrategy
impl Sync for SslStrategy
impl Unpin for SslStrategy
impl UnsafeUnpin for SslStrategy
impl UnwindSafe for SslStrategy
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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