Enum EchStatus
pub enum EchStatus {
NotOffered,
Grease,
Offered,
Accepted,
Rejected,
}Available on crate feature
tls only.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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more