pub enum EasyTlsError {
ResolutionFailure(String),
CertificateError(String),
}
Expand description
Represents custom errors returned directly by this crate
Variants§
ResolutionFailure(String)
Returned for address resolution failures
CertificateError(String)
Returned when reading certificates or keys fails
Trait Implementations§
Source§impl Debug for EasyTlsError
impl Debug for EasyTlsError
Source§impl Display for EasyTlsError
impl Display for EasyTlsError
Source§impl Error for EasyTlsError
impl Error for EasyTlsError
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()
Auto Trait Implementations§
impl Freeze for EasyTlsError
impl RefUnwindSafe for EasyTlsError
impl Send for EasyTlsError
impl Sync for EasyTlsError
impl Unpin for EasyTlsError
impl UnwindSafe for EasyTlsError
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