pub enum ValidationError {
SignatureInvalid,
ParentInvalid,
Expired,
Revoked,
Other,
}
Expand description
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§
Source§impl Debug for ValidationError
impl Debug for ValidationError
Source§impl From<RevokeError> for ValidationError
impl From<RevokeError> for ValidationError
Source§fn from(r: RevokeError) -> ValidationError
fn from(r: RevokeError) -> ValidationError
Converts to this type from the input type.
Source§impl Hash for ValidationError
impl Hash for ValidationError
Source§impl PartialEq for ValidationError
impl PartialEq for ValidationError
impl Eq for ValidationError
impl StructuralPartialEq for ValidationError
Auto Trait Implementations§
impl Freeze for ValidationError
impl RefUnwindSafe for ValidationError
impl Send for ValidationError
impl Sync for ValidationError
impl Unpin for ValidationError
impl UnwindSafe for ValidationError
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