Enum doapi::request::DnsRecType [] [src]

pub enum DnsRecType {
    A,
    AAAA,
    CNAME,
    MX,
    NS,
    SRV,
    TXT,
}

Variants

A
AAAA
CNAME
MX
NS
SRV
TXT

Methods

impl DnsRecType

fn variants() -> Vec<&'static str>

Trait Implementations

impl FromStr for DnsRecType

type Err = String

fn from_str(s: &str) -> Result<Self, Self::Err>

impl Display for DnsRecType

fn fmt(&self, f: &mut Formatter) -> Result

Derived Implementations

impl Debug for DnsRecType

fn fmt(&self, __arg_0: &mut Formatter) -> Result