Enum trust_dns::rr::rdata::opt::EdnsCode [] [src]

pub enum EdnsCode {
    Zero,
    LLQ,
    UL,
    NSID,
    DAU,
    DHU,
    N3U,
    Subnet,
    Expire,
    Cookie,
    Keepalive,
    Padding,
    Chain,
    Unknown(u16),
}

Variants

Unknown, used to deal with unknown or unsupported codes

Trait Implementations

impl Hash for EdnsCode
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Debug for EdnsCode
[src]

Formats the value using the given formatter.

impl Copy for EdnsCode
[src]

impl Clone for EdnsCode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for EdnsCode
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for EdnsCode
[src]

impl From<u16> for EdnsCode
[src]

Performs the conversion.

impl<'a> From<&'a EdnsOption> for EdnsCode
[src]

Performs the conversion.