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
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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Disabled
: 0 bytesSessionIdOnly
: 0 bytesSessionIdOrTickets
: 0 bytes