Skip to main content

SvcParamValue

Trait SvcParamValue 

Source
pub trait SvcParamValue {
    // Required method
    fn key(&self) -> SvcParamKey;
}
Expand description

A type representing a service binding parameter value.

Required Methods§

Source

fn key(&self) -> SvcParamKey

Returns the parameter key of the value.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl SvcParamValue for NoDefaultAlpn

Source§

impl SvcParamValue for Port

Source§

impl<Octs: ?Sized> SvcParamValue for Alpn<Octs>

Source§

impl<Octs: ?Sized> SvcParamValue for DohPath<Octs>

Source§

impl<Octs: ?Sized> SvcParamValue for Ech<Octs>

Source§

impl<Octs: ?Sized> SvcParamValue for Ipv4Hint<Octs>

Source§

impl<Octs: ?Sized> SvcParamValue for Ipv6Hint<Octs>

Source§

impl<Octs: ?Sized> SvcParamValue for Mandatory<Octs>

Source§

impl<Octs> SvcParamValue for AllValues<Octs>

Source§

impl<Octs> SvcParamValue for UnknownSvcParam<Octs>