pub enum EchStatus {
NotOffered,
Grease,
Offered,
Accepted,
Rejected,
}
Expand description
An enum representing ECH offer status.
Variants§
NotOffered
ECH was not offered - it is a normal TLS handshake.
Grease
GREASE ECH was sent. This is not considered offering ECH.
Offered
ECH was offered but we do not yet know whether the offer was accepted or rejected.
Accepted
ECH was offered and the server accepted.
Rejected
ECH was offered and the server rejected.
Trait Implementations§
impl Copy for EchStatus
impl Eq for EchStatus
impl StructuralPartialEq for EchStatus
Auto Trait Implementations§
impl Freeze for EchStatus
impl RefUnwindSafe for EchStatus
impl Send for EchStatus
impl Sync for EchStatus
impl Unpin for EchStatus
impl UnwindSafe for EchStatus
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:
NotOffered
: 0 bytesGrease
: 0 bytesOffered
: 0 bytesAccepted
: 0 bytesRejected
: 0 bytes