pub enum PathFailure {
Expired,
NotYetValid,
SignatureInvalid,
ScopeViolation {
expected: String,
actual: String,
},
ChainTooLong,
UntrustedRoot,
Revoked {
crl_url: String,
serial: String,
},
}Expand description
Individual check failures.
Variants§
Expired
Certificate is expired.
NotYetValid
Certificate is not yet valid.
SignatureInvalid
Signature verification failed.
ScopeViolation
Scope constraint violated.
ChainTooLong
Chain exceeds max length.
UntrustedRoot
Root is not in trust store.
Revoked
Certificate is revoked.
Trait Implementations§
Source§impl Clone for PathFailure
impl Clone for PathFailure
Source§fn clone(&self) -> PathFailure
fn clone(&self) -> PathFailure
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PathFailure
impl Debug for PathFailure
Source§impl<'de> Deserialize<'de> for PathFailure
impl<'de> Deserialize<'de> for PathFailure
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PathFailure
Source§impl PartialEq for PathFailure
impl PartialEq for PathFailure
Source§fn eq(&self, other: &PathFailure) -> bool
fn eq(&self, other: &PathFailure) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PathFailure
impl Serialize for PathFailure
impl StructuralPartialEq for PathFailure
Auto Trait Implementations§
impl Freeze for PathFailure
impl RefUnwindSafe for PathFailure
impl Send for PathFailure
impl Sync for PathFailure
impl Unpin for PathFailure
impl UnsafeUnpin for PathFailure
impl UnwindSafe for PathFailure
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