#[non_exhaustive]pub enum RustlsConfigError {
InvalidServerName,
}Expand description
Invalid logical TLS configuration established before socket acquisition.
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.
InvalidServerName
The logical server identity is not a valid DNS name or IP address.
Trait Implementations§
Source§impl Clone for RustlsConfigError
impl Clone for RustlsConfigError
impl Copy for RustlsConfigError
Source§impl Debug for RustlsConfigError
impl Debug for RustlsConfigError
Source§impl Display for RustlsConfigError
impl Display for RustlsConfigError
impl Eq for RustlsConfigError
Source§impl Error for RustlsConfigError
impl Error for RustlsConfigError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for RustlsConfigError
impl PartialEq for RustlsConfigError
impl StructuralPartialEq for RustlsConfigError
Auto Trait Implementations§
impl Freeze for RustlsConfigError
impl RefUnwindSafe for RustlsConfigError
impl Send for RustlsConfigError
impl Sync for RustlsConfigError
impl Unpin for RustlsConfigError
impl UnsafeUnpin for RustlsConfigError
impl UnwindSafe for RustlsConfigError
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