pub trait SpecificSocketAddress: AsSocketAddress {
// Required method
fn static_family() -> sa_family_t;
}
Expand description
A socket address that only supports one specific family.
Required Methods§
Sourcefn static_family() -> sa_family_t
fn static_family() -> sa_family_t
The address family supported by this socket address.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.