pub trait IsntSocketAddrExt: Sealed {
// Required methods
fn is_not_ipv4(&self) -> bool;
fn is_not_ipv6(&self) -> bool;
}Expand description
Extension for SocketAddr
Required Methods§
Sourcefn is_not_ipv4(&self) -> bool
fn is_not_ipv4(&self) -> bool
The negation of is_ipv4
Sourcefn is_not_ipv6(&self) -> bool
fn is_not_ipv6(&self) -> bool
The negation of is_ipv6
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".