Struct domain::rdata::rfc1035::Null [] [src]

pub struct Null<D: AsRef<[u8]>> { /* fields omitted */ }

Null record data.

Null records can contain whatever data. They are experimental and not allowed in master files.

The Null record type is defined in RFC 1035, section 3.3.10.

Methods

impl<D: AsRef<[u8]>> Null<D>
[src]

Creates new, empty owned Null record data.

The raw content of the record.

Trait Implementations

impl<D: Clone + AsRef<[u8]>> Clone for Null<D>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<D: Debug + AsRef<[u8]>> Debug for Null<D>
[src]

Formats the value using the given formatter.

impl<D: Eq + AsRef<[u8]>> Eq for Null<D>
[src]

impl<D: Ord + AsRef<[u8]>> Ord for Null<D>
[src]

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

impl<D: PartialEq + AsRef<[u8]>> PartialEq for Null<D>
[src]

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

This method tests for !=.

impl<D: PartialOrd + AsRef<[u8]>> PartialOrd for Null<D>
[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<D: AsRef<[u8]>> RecordData for Null<D>
[src]

Returns the record type for this record data instance. Read more

Appends the record data to the end of a composer.

impl<'a> ParsedRecordData<'a> for Null<&'a [u8]>
[src]

Parses the record data out of a parser.

impl<D: AsRef<[u8]>> Display for Null<D>
[src]

Formats the value using the given formatter.