Enum c_ares_sys::ares_svcb_param_t
source · #[repr(u32)]pub enum ares_svcb_param_t {
ARES_SVCB_PARAM_MANDATORY = 0,
ARES_SVCB_PARAM_ALPN = 1,
ARES_SVCB_PARAM_NO_DEFAULT_ALPN = 2,
ARES_SVCB_PARAM_PORT = 3,
ARES_SVCB_PARAM_IPV4HINT = 4,
ARES_SVCB_PARAM_ECH = 5,
ARES_SVCB_PARAM_IPV6HINT = 6,
}
Expand description
SVCB (and HTTPS) RR known parameters
Variants§
ARES_SVCB_PARAM_MANDATORY = 0
Mandatory keys in this RR (RFC 9460 Section 8)
ARES_SVCB_PARAM_ALPN = 1
Additional supported protocols (RFC 9460 Section 7.1)
ARES_SVCB_PARAM_NO_DEFAULT_ALPN = 2
No support for default protocol (RFC 9460 Section 7.1)
ARES_SVCB_PARAM_PORT = 3
Port for alternative endpoint (RFC 9460 Section 7.2)
ARES_SVCB_PARAM_IPV4HINT = 4
IPv4 address hints (RFC 9460 Section 7.3)
ARES_SVCB_PARAM_ECH = 5
RESERVED (held for Encrypted ClientHello)
ARES_SVCB_PARAM_IPV6HINT = 6
IPv6 address hints (RFC 9460 Section 7.3)
Trait Implementations§
source§impl Clone for ares_svcb_param_t
impl Clone for ares_svcb_param_t
source§fn clone(&self) -> ares_svcb_param_t
fn clone(&self) -> ares_svcb_param_t
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ares_svcb_param_t
impl Debug for ares_svcb_param_t
source§impl Hash for ares_svcb_param_t
impl Hash for ares_svcb_param_t
source§impl PartialEq for ares_svcb_param_t
impl PartialEq for ares_svcb_param_t
source§fn eq(&self, other: &ares_svcb_param_t) -> bool
fn eq(&self, other: &ares_svcb_param_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ares_svcb_param_t
impl Eq for ares_svcb_param_t
impl StructuralPartialEq for ares_svcb_param_t
Auto Trait Implementations§
impl Freeze for ares_svcb_param_t
impl RefUnwindSafe for ares_svcb_param_t
impl Send for ares_svcb_param_t
impl Sync for ares_svcb_param_t
impl Unpin for ares_svcb_param_t
impl UnwindSafe for ares_svcb_param_t
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more