[][src]Enum trust_dns_client::rr::rdata::key::KeyTrust

pub enum KeyTrust {
    NotAuth,
    NotPrivate,
    AuthOrPrivate,
    DoNotTrust,
}

Specifies in what contexts this key may be trusted for use

Variants

NotAuth

Use of the key is prohibited for authentication

NotPrivate

Use of the key is prohibited for confidentiality

AuthOrPrivate

Use of the key for authentication and/or confidentiality is permitted

DoNotTrust

If both bits are one, the "no key" value, (revocation?)

Trait Implementations

impl Clone for KeyTrust[src]

impl Copy for KeyTrust[src]

impl Debug for KeyTrust[src]

impl Default for KeyTrust[src]

impl Eq for KeyTrust[src]

impl From<u16> for KeyTrust[src]

impl Hash for KeyTrust[src]

impl PartialEq<KeyTrust> for KeyTrust[src]

impl StructuralEq for KeyTrust[src]

impl StructuralPartialEq for KeyTrust[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,