#[non_exhaustive]pub enum EncryptedClientHelloError {
InvalidConfigList,
NoCompatibleConfig,
SniRequired,
}展开描述
处理加密客户端问候 (ECH) 时发生的错误。
变体 (Non-exhaustive)§
This enum is marked as non-exhaustive
非穷尽枚举未来可能添加新的变体。因此,在对非穷尽枚举的变体进行模式匹配时,必须额外增加一个通配符分支以涵盖未来的新变体。
InvalidConfigList
此 provided ECH configuration list was invalid.
NoCompatibleConfig
没有兼容的 ECH 配置。
SniRequired
此 client configuration has server name indication (SNI) disabled.
Trait 实现§
Source§impl Clone for EncryptedClientHelloError
impl Clone for EncryptedClientHelloError
Source§fn clone(&self) -> EncryptedClientHelloError
fn clone(&self) -> EncryptedClientHelloError
返回值的副本。 更多信息
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment 从
source. 更多信息Source§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
从输入类型转换为此类型。
impl Eq for EncryptedClientHelloError
impl StructuralPartialEq for EncryptedClientHelloError
自动 Trait 实现§
impl Freeze for EncryptedClientHelloError
impl RefUnwindSafe for EncryptedClientHelloError
impl Send for EncryptedClientHelloError
impl Sync for EncryptedClientHelloError
impl Unpin for EncryptedClientHelloError
impl UnsafeUnpin for EncryptedClientHelloError
impl UnwindSafe for EncryptedClientHelloError
Blanket 实现§
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 从 an owned value. 更多信息