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
sourceimpl Clone for Tls12Resumption
impl Clone for Tls12Resumption
sourcefn clone(&self) -> Tls12Resumption
fn clone(&self) -> Tls12Resumption
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Tls12Resumption
impl Debug for Tls12Resumption
sourceimpl PartialEq<Tls12Resumption> for Tls12Resumption
impl PartialEq<Tls12Resumption> for Tls12Resumption
sourcefn eq(&self, other: &Tls12Resumption) -> bool
fn eq(&self, other: &Tls12Resumption) -> bool
impl Copy for Tls12Resumption
impl StructuralPartialEq for Tls12Resumption
Auto Trait Implementations
impl RefUnwindSafe for Tls12Resumption
impl Send for Tls12Resumption
impl Sync for Tls12Resumption
impl Unpin for Tls12Resumption
impl UnwindSafe for Tls12Resumption
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more