Struct trust_dns::rr::RrKey [] [src]

pub struct RrKey {
    pub name: Name,
    pub record_type: RecordType,
}

Accessor key for RRSets in the Authority.

Fields

Methods

impl RrKey
[src]

Creates a new key to access the Authority.

Arguments

  • name - domain name to lookup.
  • record_type - the RecordType to lookup.

Return value

A new key to access the Authorities. TODO: make all cloned params pass by value.

Trait Implementations

impl Eq for RrKey
[src]

impl PartialEq for RrKey
[src]

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

This method tests for !=.

impl Debug for RrKey
[src]

Formats the value using the given formatter.

impl Hash for RrKey
[src]

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

Feeds a slice of this type into the state provided.

impl Clone for RrKey
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialOrd for RrKey
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for RrKey
[src]

This method returns an Ordering between self and other. Read more