Enum trust_dns_proto::rr::dnssec::rdata::key::KeyTrust [−][src]
pub enum KeyTrust {
NotAuth,
NotPrivate,
AuthOrPrivate,
DoNotTrust,
}
This is supported on crate feature
dnssec
only.Expand description
Specifies in what contexts this key may be trusted for use
Variants
Use of the key is prohibited for authentication
Use of the key is prohibited for confidentiality
Use of the key for authentication and/or confidentiality is permitted
If both bits are one, the “no key” value, (revocation?)
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for KeyTrust
impl UnwindSafe for KeyTrust
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more