Enum deno_net::ops::DnsReturnRecord[][src]

pub enum DnsReturnRecord {
    A(String),
    Aaaa(String),
    Aname(String),
    Cname(String),
    Mx {
        preference: u16,
        exchange: String,
    },
    Ptr(String),
    Srv {
        priority: u16,
        weight: u16,
        port: u16,
        target: String,
    },
    Txt(Vec<String>),
}

Variants

Tuple Fields of A

0: String
Aaaa(String)

Tuple Fields of Aaaa

0: String
Aname(String)

Tuple Fields of Aname

0: String
Cname(String)

Tuple Fields of Cname

0: String
Mx

Fields of Mx

preference: u16exchange: String
Ptr(String)

Tuple Fields of Ptr

0: String
Srv

Fields of Srv

priority: u16weight: u16port: u16target: String
Txt(Vec<String>)

Tuple Fields of Txt

0: Vec<String>

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more