Enum hickory_proto::rr::dnssec::proof::ProofErrorKind
source · #[non_exhaustive]pub enum ProofErrorKind {
Show 17 variants
Message(&'static str),
Msg(String),
AlgorithmMismatch {
rrsig: Algorithm,
dnskey: Algorithm,
},
DnsSecError(DnsSecError),
DnsKeyVerifyRrsig {
name: Name,
key_tag: u16,
error: ProtoError,
},
DnskeyNotFound {
name: Name,
},
DnsKeyRevoked {
name: Name,
key_tag: u16,
},
DsHasNoDnssecProof {
name: Name,
},
DsRecordsButNoDnskey {
name: Name,
},
DsRecordShouldExist {
name: Name,
},
DsResponseEmpty {
name: Name,
},
DsResponseNsec {
name: Name,
},
NotZoneDnsKey {
name: Name,
key_tag: u16,
},
Proto {
query: Query,
proto: ProtoError,
},
RrsigsNotPresent {
name: Name,
record_type: RecordType,
},
RrsigsUnverified {
name: Name,
record_type: RecordType,
},
SelfSignedKeyInvalid {
name: Name,
},
}
dnssec
only.Expand description
The error kind for dnssec errors that get returned in the crate
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Message(&'static str)
An error with an arbitrary message, referenced as &’static str
Msg(String)
An error with an arbitrary message, stored as String
AlgorithmMismatch
Algorithm mismatch between rrsig and dnskey
Fields
DnsSecError(DnsSecError)
A DNSSEC validation error, occured
DnsKeyVerifyRrsig
A DnsKey verification of rrset and rrsig failed
Fields
error: ProtoError
The Error that occurred during validation
DnskeyNotFound
There was no DNSKEY found for verifying the DNSSEC of the zone
DnsKeyRevoked
A DnsKey was revoked and could not be used for validation
Fields
DsHasNoDnssecProof
No DNSSEC records returned with for the DS record
DsRecordsButNoDnskey
DS record exists but not a DNSKEY that matches
DsRecordShouldExist
DS record parent exists, but child does not
DsResponseEmpty
The DS response was empty
DsResponseNsec
DS record does not exist, and this was proven with an NSEC
NotZoneDnsKey
The DnsKey is not marked as a zone key
Proto
There was a protocol error when looking up DNSSEC records
RrsigsNotPresent
The RRSIGs for the rrset are not present. It’s indeterminate if DS records can’t be found It’s bogus if the DS records are present
Fields
record_type: RecordType
The record type in question
RrsigsUnverified
The RRSIGs could not be verified or failed validation
SelfSignedKeyInvalid
The self-signed dnskey is invalid
Trait Implementations§
source§impl Clone for ProofErrorKind
impl Clone for ProofErrorKind
source§fn clone(&self) -> ProofErrorKind
fn clone(&self) -> ProofErrorKind
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProofErrorKind
impl Debug for ProofErrorKind
source§impl Display for ProofErrorKind
impl Display for ProofErrorKind
source§impl Error for ProofErrorKind
impl Error for ProofErrorKind
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<DnsSecError> for ProofErrorKind
impl From<DnsSecError> for ProofErrorKind
source§fn from(source: DnsSecError) -> Self
fn from(source: DnsSecError) -> Self
Auto Trait Implementations§
impl Freeze for ProofErrorKind
impl !RefUnwindSafe for ProofErrorKind
impl Send for ProofErrorKind
impl Sync for ProofErrorKind
impl Unpin for ProofErrorKind
impl !UnwindSafe for ProofErrorKind
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)