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

pub struct Hinfo<C: AsRef<CharStr>> { /* fields omitted */ }

Hinfo record data.

Hinfo records are used to acquire general information about a host, specifically the CPU type and operating system type.

The Hinfo type is defined in RFC 1035, section 3.3.2.

Methods

impl<C: AsRef<CharStr>> Hinfo<C>
[src]

Creates a new Hinfo record data from the components.

The CPU type of the host.

The operating system type of the host.

impl Hinfo<CharStrBuf>
[src]

Trait Implementations

impl<C: Clone + AsRef<CharStr>> Clone for Hinfo<C>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<C: Debug + AsRef<CharStr>> Debug for Hinfo<C>
[src]

Formats the value using the given formatter. Read more

impl<C: Eq + AsRef<CharStr>> Eq for Hinfo<C>
[src]

impl<C: Ord + AsRef<CharStr>> Ord for Hinfo<C>
[src]

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

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl<C: PartialEq + AsRef<CharStr>> PartialEq for Hinfo<C>
[src]

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

This method tests for !=.

impl<C: PartialOrd + AsRef<CharStr>> PartialOrd for Hinfo<C>
[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<S: AsRef<CharStr>> RecordData for Hinfo<S>
[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 Hinfo<&'a CharStr>
[src]

Parses the record data out of a parser. Read more

impl<S: AsRef<CharStr>> Display for Hinfo<S>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<C> Send for Hinfo<C> where
    C: Send

impl<C> Sync for Hinfo<C> where
    C: Sync