#[non_exhaustive]pub enum EncryptedClientHelloError {
InvalidConfigList,
NoCompatibleConfig,
SniRequired,
}
Available on crate feature
tls
only.Expand description
An error that occurred while handling Encrypted Client Hello (ECH).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidConfigList
The provided ECH configuration list was invalid.
NoCompatibleConfig
No compatible ECH configuration.
SniRequired
The client configuration has server name indication (SNI) disabled.
Trait Implementations§
Source§impl Clone for EncryptedClientHelloError
impl Clone for EncryptedClientHelloError
Source§fn clone(&self) -> EncryptedClientHelloError
fn clone(&self) -> EncryptedClientHelloError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EncryptedClientHelloError
impl Debug for EncryptedClientHelloError
Source§impl From<EncryptedClientHelloError> for Error
impl From<EncryptedClientHelloError> for Error
Source§fn from(e: EncryptedClientHelloError) -> Error
fn from(e: EncryptedClientHelloError) -> Error
Converts to this type from the input type.
impl Eq for EncryptedClientHelloError
impl StructuralPartialEq for EncryptedClientHelloError
Auto Trait Implementations§
impl Freeze for EncryptedClientHelloError
impl RefUnwindSafe for EncryptedClientHelloError
impl Send for EncryptedClientHelloError
impl Sync for EncryptedClientHelloError
impl Unpin for EncryptedClientHelloError
impl UnwindSafe for EncryptedClientHelloError
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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