#[non_exhaustive]pub enum EncryptedClientHelloError {
InvalidConfigList,
NoCompatibleConfig,
SniRequired,
}
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) -> Self
fn from(e: EncryptedClientHelloError) -> Self
Converts to this type from the input type.
source§impl PartialEq for EncryptedClientHelloError
impl PartialEq for EncryptedClientHelloError
source§fn eq(&self, other: &EncryptedClientHelloError) -> bool
fn eq(&self, other: &EncryptedClientHelloError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)