netstack3_base

Trait AssignedAddrIpExt

Source
pub trait AssignedAddrIpExt: Ip {
    type AssignedWitness: Witness<Self::Addr> + Copy + Eq + PartialEq + Debug + Display + Hash + Send + Sync + Into<SpecifiedAddr<Self::Addr>>;
}
Expand description

An extension trait adding an associated type for an IP address assigned to a device.

Required Associated Types§

Source

type AssignedWitness: Witness<Self::Addr> + Copy + Eq + PartialEq + Debug + Display + Hash + Send + Sync + Into<SpecifiedAddr<Self::Addr>>

The witness type for assigned addresses.

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.

Implementations on Foreign Types§

Source§

impl AssignedAddrIpExt for Ipv4

Source§

impl AssignedAddrIpExt for Ipv6

Implementors§