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

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

MF record data.

The MF record specifices a host which has a mail agent for the domain which will be accept mail for forwarding to the domain.

The MF record is obsolete. It is recommended to either reject the record or convert them into an Mx record at preference 10.

The MF record type is defined in RFC 1035, section 3.3.5.

Methods

impl<N> Mf<N>[src]

pub fn new(madname: N) -> Self[src]

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

Trait Implementations

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

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

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

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

impl<N> Deref for Mf<N>[src]

type Target = N

The resulting type after dereferencing.

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

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

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

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

impl<N> From<N> for Mf<N>[src]

impl<N: FromStr> FromStr for Mf<N>[src]

type Err = N::Err

The associated error which can be returned from parsing.

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

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

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

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

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

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

Auto Trait Implementations

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

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

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

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

impl<N> UnwindSafe for Mf<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<!> for T[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>,