pub enum ClientTlsError {
MissingKey,
MissingCertificate,
Tls(TlsError),
}Expand description
Why a destination’s TLS material is unusable.
Variants§
MissingKey
Half a pair is a misconfiguration rather than a partial identity: presenting a certificate needs its key, and a key alone proves nothing. Refused rather than ignored, because a node that silently presented no identity would be rejected by the service later, with nothing to explain why.
MissingCertificate
Tls(TlsError)
Trait Implementations§
Source§impl Debug for ClientTlsError
impl Debug for ClientTlsError
Source§impl Display for ClientTlsError
impl Display for ClientTlsError
Source§impl Error for ClientTlsError
impl Error for ClientTlsError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for ClientTlsError
impl !UnwindSafe for ClientTlsError
impl Freeze for ClientTlsError
impl Send for ClientTlsError
impl Sync for ClientTlsError
impl Unpin for ClientTlsError
impl UnsafeUnpin for ClientTlsError
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