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

pub struct Hinfo<Octets> { /* 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<Octets> Hinfo<Octets>[src]

pub fn new(cpu: CharStr<Octets>, os: CharStr<Octets>) -> Self[src]

Creates a new Hinfo record data from the components.

pub fn cpu(&self) -> &CharStr<Octets>[src]

The CPU type of the host.

pub fn os(&self) -> &CharStr<Octets>[src]

The operating system type of the host.

Trait Implementations

impl<Octets, Other> CanonicalOrd<Hinfo<Other>> for Hinfo<Octets> where
    Octets: AsRef<[u8]>,
    Other: AsRef<[u8]>, 
[src]

impl<Octets: Clone> Clone for Hinfo<Octets>[src]

impl<Octets: AsRef<[u8]>> Compose for Hinfo<Octets>[src]

impl<Octets: AsRef<[u8]>> Debug for Hinfo<Octets>[src]

impl<Octets: AsRef<[u8]>> Display for Hinfo<Octets>[src]

impl<Octets: AsRef<[u8]>> Eq for Hinfo<Octets>[src]

impl<O, N> From<Hinfo<O>> for MasterRecordData<O, N>[src]

impl<O, N> From<Hinfo<O>> for AllRecordData<O, N>[src]

impl<Octets: AsRef<[u8]>> Hash for Hinfo<Octets>[src]

impl<Octets: AsRef<[u8]>> Ord for Hinfo<Octets>[src]

impl<Ref: OctetsRef> Parse<Ref> for Hinfo<Ref::Range>[src]

impl<Octets, Other> PartialEq<Hinfo<Other>> for Hinfo<Octets> where
    Octets: AsRef<[u8]>,
    Other: AsRef<[u8]>, 
[src]

impl<Octets, Other> PartialOrd<Hinfo<Other>> for Hinfo<Octets> where
    Octets: AsRef<[u8]>,
    Other: AsRef<[u8]>, 
[src]

impl<Octets> RtypeRecordData for Hinfo<Octets>[src]

Auto Trait Implementations

impl<Octets> RefUnwindSafe for Hinfo<Octets> where
    Octets: RefUnwindSafe

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

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

impl<Octets> Unpin for Hinfo<Octets> where
    Octets: Unpin

impl<Octets> UnwindSafe for Hinfo<Octets> where
    Octets: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<Octets, T> ParseRecordData<Octets> for T where
    T: RtypeRecordData + Parse<Octets> + Compose
[src]

impl<T> RecordData for T where
    T: Compose + RtypeRecordData
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,