Enum edcert::validator::ValidationError
[−]
[src]
pub enum ValidationError { SignatureInvalid, ParentInvalid, Expired, Revoked, Other, }
This type contains information about why a validation failed.
Variants
SignatureInvalid
Some signature is invalid.
ParentInvalid
The parent certificate is invalid.
Expired
Something is expired.
Revoked
The certificate has been revoked.
Other
Some other error happened while trying to validate. (eg. a server was not responding)
Trait Implementations
impl Debug for ValidationError
[src]
impl Hash for ValidationError
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for ValidationError
[src]
fn eq(&self, __arg_0: &ValidationError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for ValidationError
[src]
impl From<RevokeError> for ValidationError
[src]
fn from(r: RevokeError) -> ValidationError
Performs the conversion.