pub enum ValidationResult {
Valid(Box<SafeData>),
Invalid(TrustError),
Pending,
}Expand description
Result of a validation attempt.
Variants§
Valid(Box<SafeData>)
Signature verified and trust schema satisfied.
Invalid(TrustError)
Signature was cryptographically invalid or schema rejected.
Pending
Certificate chain is not yet resolved; validation is async.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ValidationResult
impl RefUnwindSafe for ValidationResult
impl Send for ValidationResult
impl Sync for ValidationResult
impl Unpin for ValidationResult
impl UnwindSafe for ValidationResult
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