#[repr(u16)]pub enum DnssecStatus {
Secure = 0,
Insecure = 1,
Bogus = 2,
Indeterminate = 3,
}Expand description
DNSSEC validation state of a DNS answer (RFC 4035 Section 4.3).
The built-in backends do not validate DNSSEC and always report
DnssecStatus::Indeterminate. The other variants are available to
DnsCache implementations that fill records from a validating resolver.
Variants§
Secure = 0
The answer has a valid chain of trust to a trust anchor.
Insecure = 1
The answer is provably not signed.
Bogus = 2
The answer is signed but failed validation.
Indeterminate = 3
The validation state is unknown. This is the default.
Trait Implementations§
Source§impl Clone for DnssecStatus
impl Clone for DnssecStatus
impl Copy for DnssecStatus
Source§impl Debug for DnssecStatus
impl Debug for DnssecStatus
Source§impl Default for DnssecStatus
impl Default for DnssecStatus
impl Eq for DnssecStatus
Source§impl Hash for DnssecStatus
impl Hash for DnssecStatus
Source§impl PartialEq for DnssecStatus
impl PartialEq for DnssecStatus
impl StructuralPartialEq for DnssecStatus
Auto Trait Implementations§
impl Freeze for DnssecStatus
impl RefUnwindSafe for DnssecStatus
impl Send for DnssecStatus
impl Sync for DnssecStatus
impl Unpin for DnssecStatus
impl UnsafeUnpin for DnssecStatus
impl UnwindSafe for DnssecStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more