Enum mhost::resources::record_type::RecordType[][src]

pub enum RecordType {
    A,
    AAAA,
    ANAME,
    ANY,
    AXFR,
    CAA,
    CNAME,
    IXFR,
    MX,
    NAPTR,
    NS,
    NULL,
    OPENPGPKEY,
    OPT,
    PTR,
    SOA,
    SRV,
    SSHFP,
    TLSA,
    TXT,
    DNSSEC,
    Unknown(u16),
    ZERO,
}

Variants

A
AAAA
ANAME
ANY
AXFR
CAA
CNAME
IXFR
MX
NAPTR
NS
NULL
OPENPGPKEY
OPT
PTR
SOA
SRV
SSHFP
TLSA
TXT
DNSSEC
Unknown(u16)
ZERO

Implementations

impl RecordType[src]

pub fn is_any(self) -> bool[src]

pub fn is_cname(self) -> bool[src]

pub fn is_srv(self) -> bool[src]

pub fn is_ip_addr(self) -> bool[src]

pub fn is_unknown(self) -> bool[src]

pub fn all() -> Vec<RecordType>[src]

Trait Implementations

impl Clone for RecordType[src]

impl Copy for RecordType[src]

impl Debug for RecordType[src]

impl Display for RecordType[src]

impl Eq for RecordType[src]

impl From<RecordType> for &'static str[src]

impl FromStr for RecordType[src]

type Err = Error

The associated error which can be returned from parsing.

impl Hash for RecordType[src]

impl Ord for RecordType[src]

impl Ordinal for RecordType[src]

impl PartialEq<RecordType> for RecordType[src]

impl PartialOrd<RecordType> for RecordType[src]

impl Serialize for RecordType[src]

impl StructuralEq for RecordType[src]

impl StructuralPartialEq for RecordType[src]

Auto Trait Implementations

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[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>, 

impl<T> WithSubscriber for T[src]