Enum rustls::client::client_conn::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 for Tls12Resumption
impl PartialEq 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 ==
.impl Copy for Tls12Resumption
impl StructuralPartialEq for Tls12Resumption
Auto Trait Implementations§
impl Freeze for Tls12Resumption
impl RefUnwindSafe for Tls12Resumption
impl Send for Tls12Resumption
impl Sync for Tls12Resumption
impl Unpin for Tls12Resumption
impl UnwindSafe for Tls12Resumption
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