pub enum TlsError {
Certificate,
Key,
Refused(Error),
}Expand description
Why the TLS configuration could not be made.
Variants§
Certificate
The certificate file could not be read, or holds no certificate.
Key
The key file could not be read, or holds no key.
Refused(Error)
rustls refused the pair, for instance a key that is not the certificate’s.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TlsError
impl !UnwindSafe for TlsError
impl Freeze for TlsError
impl Send for TlsError
impl Sync for TlsError
impl Unpin for TlsError
impl UnsafeUnpin for TlsError
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