Enum trust_dns_proto::rr::rdata::opt::EdnsCode [−][src]
pub enum EdnsCode {
Show 14 variants
Zero,
LLQ,
UL,
NSID,
DAU,
DHU,
N3U,
Subnet,
Expire,
Cookie,
Keepalive,
Padding,
Chain,
Unknown(u16),
}
Expand description
The code of the EDNS data option
Variants
Zero
LLQ
UL
NSID
DAU
DHU
N3U
Subnet
Expire
Cookie
Keepalive
Padding
Chain
Unknown(u16)
Tuple Fields
0: u16
Unknown, used to deal with unknown or unsupported codes
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for EdnsCode
impl UnwindSafe for EdnsCode
Blanket Implementations
Mutably borrows from an owned value. Read more