Enum Tls12Resumption
pub enum Tls12Resumption {
Disabled,
SessionIdOnly,
SessionIdOrTickets,
}Available on crate feature
tls only.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§
§impl Clone for Tls12Resumption
impl Clone for Tls12Resumption
§fn clone(&self) -> Tls12Resumption
fn clone(&self) -> Tls12Resumption
Returns a duplicate 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 more§impl Debug for Tls12Resumption
impl Debug for Tls12Resumption
§impl PartialEq for Tls12Resumption
impl PartialEq for Tls12Resumption
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more