Struct trust_dns::authority::RrKey [] [src]

pub struct RrKey {
    // some fields omitted
}

Accessor key for RRSets in the Authority.

Methods

impl RrKey

fn new(name: &Name, record_type: RecordType) -> RrKey

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.

Trait Implementations

impl PartialOrd for RrKey

fn partial_cmp(&self, other: &RrKey) -> Option<Ordering>

1.0.0fn lt(&self, other: &Rhs) -> bool

1.0.0fn le(&self, other: &Rhs) -> bool

1.0.0fn gt(&self, other: &Rhs) -> bool

1.0.0fn ge(&self, other: &Rhs) -> bool

impl Ord for RrKey

fn cmp(&self, other: &Self) -> Ordering

Derived Implementations

impl Clone for RrKey

fn clone(&self) -> RrKey

1.0.0fn clone_from(&mut self, source: &Self)

impl Hash for RrKey

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Debug for RrKey

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialEq for RrKey

fn eq(&self, __arg_0: &RrKey) -> bool

fn ne(&self, __arg_0: &RrKey) -> bool

impl Eq for RrKey