pub enum Tls12Resumption {
Disabled,
SessionIdOnly,
SessionIdOrTickets,
}展开描述
What mechanisms 到 support 用于 resuming 一个 TLS 1.2 session.
变体§
Disabled
禁用 1.2 resumption.
SessionIdOnly
仅使用 session id 支持 1.2 會话恢复。
SessionIdOrTickets
Support 1.2 resumption using session ids 或 RFC 5077 tickets.
See1 用于 why you might like 到 disable RFC 5077 by instead choosing the SessionIdOnly
option. Note that TLS 1.3 tickets do not have those issues.
Trait 实现§
Source§impl Clone for Tls12Resumption
impl Clone for Tls12Resumption
Source§fn clone(&self) -> Tls12Resumption
fn clone(&self) -> Tls12Resumption
返回值的副本。 更多信息
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment 从
source. 更多信息Source§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
自动 Trait 实现§
impl Freeze for Tls12Resumption
impl RefUnwindSafe for Tls12Resumption
impl Send for Tls12Resumption
impl Sync for Tls12Resumption
impl Unpin for Tls12Resumption
impl UnsafeUnpin for Tls12Resumption
impl UnwindSafe for Tls12Resumption
Blanket 实现§
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 从 an owned value. 更多信息