pub enum EchStatus {
NotOffered,
Grease,
Offered,
Accepted,
Rejected,
}展开描述
表示 ECH 提交状态的枚举
变体§
NotOffered
ECH was not offered - it 是 normal TLS handshake.
Grease
已发送 GREASE ECH。这不被视为提供 ECH。
Offered
ECH was offered but we do not yet know whether the offer was 已接受 或 rejected.
Accepted
ECH was offered 并 the server 已接受.
Rejected
ECH was offered 并 the server rejected.
Trait 实现§
impl Copy for EchStatus
impl Eq for EchStatus
impl StructuralPartialEq for EchStatus
自动 Trait 实现§
impl Freeze for EchStatus
impl RefUnwindSafe for EchStatus
impl Send for EchStatus
impl Sync for EchStatus
impl Unpin for EchStatus
impl UnsafeUnpin for EchStatus
impl UnwindSafe for EchStatus
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. 更多信息