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

Returns true if the value is unspecified

Provided Methods

Coerce a potentially unspecified value into an Option

Implementations on Foreign Types

Implementors