pub struct TLSConfig<'der, 'pass, 'chain> {
pub identity: Option<Identity<'der, 'pass>>,
pub cert_chain: Option<&'chain str>,
}
Expand description
Re-export TcpStream
Holds extra TLS configuration
Use for client certificate authentication
The custom certificates chain in PEM format
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<'der, 'pass, 'chain> Send for TLSConfig<'der, 'pass, 'chain>
impl<'der, 'pass, 'chain> Sync for TLSConfig<'der, 'pass, 'chain>
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the current Span
, returning an
Instrumented
wrapper. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.