Struct dns_parser::ResourceRecord[][src]

pub struct ResourceRecord<'a> {
    pub name: Name<'a>,
    pub multicast_unique: bool,
    pub cls: Class,
    pub ttl: u32,
    pub data: RData<'a>,
}

A single DNS record

We aim to provide whole range of DNS records available. But as time is limited we have some types of packets which are parsed and other provided as unparsed slice of bytes.

Fields

Whether or not the set of resource records is fully contained in the packet, or whether there will be more resource records in future packets. Only used for multicast DNS.

Trait Implementations

impl<'a> Debug for ResourceRecord<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for ResourceRecord<'a>

impl<'a> Sync for ResourceRecord<'a>