Enum trust_dns::rr::rdata::opt::EdnsOption
[−]
[src]
pub enum EdnsOption { DAU(SupportedAlgorithms), DHU(SupportedAlgorithms), N3U(SupportedAlgorithms), Unknown(u16, Vec<u8>), }
options used to pass information about capabilities between client and server
note: Not all EdnsOptions are supported at this time.
http://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-13
Variants
DAU | ||
DHU | ||
N3U | ||
Unknown | Unknown, used to deal with unknown or unsupported codes |
Methods
impl EdnsOption
Trait Implementations
impl<'a> From<(EdnsCode, &'a [u8])> for EdnsOption
only the supported extensions are listed right now.