Enum rustls::client::Tls12Resumption
source · pub enum Tls12Resumption {
Disabled,
SessionIdOnly,
SessionIdOrTickets,
}
Expand description
What mechanisms to support for resuming a TLS 1.2 session.
Variants§
Disabled
Disable 1.2 resumption.
SessionIdOnly
Support 1.2 resumption using session ids only.
SessionIdOrTickets
Support 1.2 resumption using session ids or RFC 5077 tickets.
See1 for why you might like to disable RFC 5077 by instead choosing the SessionIdOnly
option. Note that TLS 1.3 tickets do not have those issues.
Trait Implementations§
source§impl Clone for Tls12Resumption
impl Clone for Tls12Resumption
source§fn clone(&self) -> Tls12Resumption
fn clone(&self) -> Tls12Resumption
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 Tls12Resumption
impl Debug for Tls12Resumption
source§impl PartialEq<Tls12Resumption> for Tls12Resumption
impl PartialEq<Tls12Resumption> for Tls12Resumption
source§fn eq(&self, other: &Tls12Resumption) -> bool
fn eq(&self, other: &Tls12Resumption) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.