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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)