pub struct Tls {
pub skip_ssl_validation: bool,
pub min_tls_version: String,
pub sslkeylogfile: String,
pub handshake_timeout: Duration,
}Expand description
Outbound TLS client settings.
Fields§
§skip_ssl_validation: boolWhether server certificate validation is skipped.
min_tls_version: StringMinimum TLS version enforced on outbound connections.
sslkeylogfile: StringPath to which TLS session keys are logged, for debugging.
handshake_timeout: DurationTimeout for completing the TLS handshake after a connection is established.
Defaults to 10 seconds. Bounds only the handshake step, distinct from the overall request timeout. A value of zero disables the handshake-specific deadline, leaving the overall request timeout as the only bound.
Trait Implementations§
impl StructuralPartialEq for Tls
Auto Trait Implementations§
impl Freeze for Tls
impl RefUnwindSafe for Tls
impl Send for Tls
impl Sync for Tls
impl Unpin for Tls
impl UnwindSafe for Tls
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