netstack3_base

Type Alias Ipv4DeviceAddr

Source
pub type Ipv4DeviceAddr = NonMulticastAddr<NonMappedAddr<SpecifiedAddr<Ipv4Addr>>>;
Expand description

An Ipv4 address that witnesses properties needed to be assigned to a device.

These witnesses are the same that are held by IpDeviceAddr, however that type cannot be used here directly because we need Ipv4DeviceAddr to implement Witness<Ipv4Addr>. That implementation is not present for our new type IpDeviceAddr which wraps the true witnesses from the net-types crate.

Aliased Typeยง

struct Ipv4DeviceAddr(/* private fields */);