pub enum ValidationError {
UnsupportedAlgorithm,
Invalid,
ValidationCountLimited,
}Expand description
An error when validating DNSSEC signatures or other data
Variants§
UnsupportedAlgorithm
An algorithm used in signing was not supported.
While data was provided, it couldn’t be authenticated and may be forged.
In cases where signing is mandatory, this can be treated as an error.
Invalid
The provided data was invalid or signatures did not validate.
ValidationCountLimited
We would need to validate more than MAX_PROOF_STEPS sets of RRSigs to validate the
proof we were given.
Trait Implementations§
Source§impl Debug for ValidationError
impl Debug for ValidationError
Source§impl PartialEq for ValidationError
impl PartialEq 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 UnsafeUnpin 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