pub enum CommonError {
InvalidCertificateForName,
CertificateRevoked,
CertificateExpired,
InvalidIssuer,
InvalidTlsProtocolData,
}
Variants§
InvalidCertificateForName
CertificateRevoked
CertificateExpired
InvalidIssuer
InvalidTlsProtocolData
Trait Implementations§
Source§impl Clone for CommonError
impl Clone for CommonError
Source§fn clone(&self) -> CommonError
fn clone(&self) -> CommonError
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CommonError
impl Debug for CommonError
Source§impl Display for CommonError
impl Display for CommonError
Source§impl Error for CommonError
impl Error for CommonError
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 Hash for CommonError
impl Hash for CommonError
Source§impl Ord for CommonError
impl Ord for CommonError
Source§fn cmp(&self, other: &CommonError) -> Ordering
fn cmp(&self, other: &CommonError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CommonError
impl PartialEq for CommonError
Source§impl PartialOrd for CommonError
impl PartialOrd for CommonError
impl Copy for CommonError
impl Eq for CommonError
impl StructuralPartialEq for CommonError
Auto Trait Implementations§
impl Freeze for CommonError
impl RefUnwindSafe for CommonError
impl Send for CommonError
impl Sync for CommonError
impl Unpin for CommonError
impl UnwindSafe for CommonError
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