pub trait Afi: Copy + Debug + Hash + Ord + 'static {
type Octets: Octets;
type Primitive: Address<Self> + AddressDisplay<Self>;
// Required method
fn as_afi() -> Afi;
}Expand description
An interface for describing an IP address family.
Required Associated Types§
Required Methods§
sourcefn as_afi() -> Afi
fn as_afi() -> Afi
Get the concrete::Afi variant associated with Self.
Object Safety§
This trait is not object safe.