pub struct ServiceBindingInput {
pub priority: Option<u16>,
pub service_target: CanonicalHost,
pub mandatory_keys: Vec<u16>,
pub advertised_alpn: Vec<Vec<u8>>,
pub selected_protocol: ApplicationProtocol,
pub effective_port: NonZeroU16,
pub transport: ServiceTransport,
pub connection_hints: Vec<IpAddr>,
pub ech_config: Option<Vec<u8>>,
pub parameters: Vec<ServiceParameter>,
}Expand description
Unvalidated service-binding input normalized by ServiceBinding::new.
Fields§
§priority: Option<u16>Selected HTTPS/SVCB priority, or None when no binding applies.
service_target: CanonicalHostEffective ServiceMode target after expanding a root (.) TargetName to
the alias-terminal owner.
mandatory_keys: Vec<u16>Canonical sorted mandatory parameter keys.
advertised_alpn: Vec<Vec<u8>>Raw advertised ALPN identifiers. Implicit scheme defaults are not inserted into this list.
selected_protocol: ApplicationProtocolProtocol selected from the browser capability set.
effective_port: NonZeroU16Effective origin service port after HTTPS/SVCB selection.
transport: ServiceTransportEffective service transport.
connection_hints: Vec<IpAddr>Connection-used IPv4/IPv6 hints.
ech_config: Option<Vec<u8>>Supported ECH configuration used by the connection, if any.
parameters: Vec<ServiceParameter>Canonical supported SVCB parameters, including connection-affecting parameters not represented by a dedicated field.
Trait Implementations§
Source§impl Clone for ServiceBindingInput
impl Clone for ServiceBindingInput
Source§fn clone(&self) -> ServiceBindingInput
fn clone(&self) -> ServiceBindingInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ServiceBindingInput
impl Debug for ServiceBindingInput
impl Eq for ServiceBindingInput
Source§impl PartialEq for ServiceBindingInput
impl PartialEq for ServiceBindingInput
impl StructuralPartialEq for ServiceBindingInput
Auto Trait Implementations§
impl Freeze for ServiceBindingInput
impl RefUnwindSafe for ServiceBindingInput
impl Send for ServiceBindingInput
impl Sync for ServiceBindingInput
impl Unpin for ServiceBindingInput
impl UnsafeUnpin for ServiceBindingInput
impl UnwindSafe for ServiceBindingInput
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