Trait s2n_quic_core::inet::unspecified::Unspecified
source · [−]pub trait Unspecified: Sized {
fn is_unspecified(&self) -> bool;
fn filter_unspecified(self) -> Option<Self> { ... }
}Expand description
A trait to determine if the value is left unspecified, usually containing the default value.
See: https://en.wikipedia.org/wiki/IPv6_address#Unspecified_address
Required Methods
fn is_unspecified(&self) -> bool
fn is_unspecified(&self) -> bool
Returns true if the value is unspecified
Provided Methods
fn filter_unspecified(self) -> Option<Self>
fn filter_unspecified(self) -> Option<Self>
Coerce a potentially unspecified value into an Option