Enum dns_message_parser::rr::ServiceParameter [−][src]
pub enum ServiceParameter {
MANDATORY {
key_ids: Vec<u16>,
},
ALPN {
alpn_ids: Vec<String>,
},
NO_DEFAULT_ALPN,
PORT {
port: u16,
},
IPV4_HINT {
hints: Vec<Ipv4Addr>,
},
ECH {
config_list: Vec<u8>,
},
IPV6_HINT {
hints: Vec<Ipv6Addr>,
},
PRIVATE {
number: u16,
wire_data: Vec<u8>,
},
KEY_65535,
}Variants
Mandatory keys in this resource record (service mode only)
Fields of MANDATORY
Additional supported protocols
Fields of ALPN
No support for default protocol
When this is specified in a resource record, ALPN must also be specified in order to be
“self-consistent”.
Port for alternative endpoint
Fields of PORT
port: u16IPv4 address hints
Encrypted ClientHello information (RFC Section 9)
This conveys the ECH configuration of an alternative endpoint.
IPv6 address hints
Private use keys 65280-65534
Reserved (“Invalid key”)
Implementations
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ServiceParameter
impl Send for ServiceParameter
impl Sync for ServiceParameter
impl Unpin for ServiceParameter
impl UnwindSafe for ServiceParameter
Blanket Implementations
Mutably borrows from an owned value. Read more