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

pub struct Minfo<N> { /* fields omitted */ }

Minfo record data.

The Minfo record specifies a mailbox which is responsible for the mailing list or mailbox and a mailbox that receives error messages related to the list or box.

The Minfo record is experimental.

The Minfo record type is defined in RFC 1035, section 3.3.7.

Methods

impl<N> Minfo<N>[src]

pub fn new(rmailbx: N, emailbx: N) -> Self[src]

Creates a new Minfo record data from the components.

pub fn rmailbx(&self) -> &N[src]

The responsible mail box.

The domain name specifies the mailbox which is responsible for the mailing list or mailbox. If this domain name is the root, the owner of the Minfo record is responsible for itself.

pub fn emailbx(&self) -> &N[src]

The error mail box.

The domain name specifies a mailbox which is to receive error messages related to the mailing list or mailbox specified by the owner of the record. If this is the root domain name, errors should be returned to the sender of the message.

Trait Implementations

impl<N: ToDname, NN: ToDname> CanonicalOrd<Minfo<NN>> for Minfo<N>[src]

impl<N: Clone> Clone for Minfo<N>[src]

impl<N: ToDname> Compose for Minfo<N>[src]

impl<N: Debug> Debug for Minfo<N>[src]

impl<N: Display> Display for Minfo<N>[src]

impl<N: ToDname> Eq for Minfo<N>[src]

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

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

impl<N: Hash> Hash for Minfo<N>[src]

impl<N: ToDname> Ord for Minfo<N>[src]

impl<Ref: OctetsRef> Parse<Ref> for Minfo<ParsedDname<Ref>>[src]

impl<N, NN> PartialEq<Minfo<NN>> for Minfo<N> where
    N: ToDname,
    NN: ToDname
[src]

impl<N, NN> PartialOrd<Minfo<NN>> for Minfo<N> where
    N: ToDname,
    NN: ToDname
[src]

impl<N> RtypeRecordData for Minfo<N>[src]

Auto Trait Implementations

impl<N> RefUnwindSafe for Minfo<N> where
    N: RefUnwindSafe

impl<N> Send for Minfo<N> where
    N: Send

impl<N> Sync for Minfo<N> where
    N: Sync

impl<N> Unpin for Minfo<N> where
    N: Unpin

impl<N> UnwindSafe for Minfo<N> where
    N: 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>,