Trait netstack3_ip::device::IpAddressIdSpec

source ·
pub trait IpAddressIdSpec {
    type WeakV4: WeakIpAddressId<Ipv4Addr>;
    type WeakV6: WeakIpAddressId<Ipv6Addr>;
}
Expand description

A marker trait for a spec of address IDs.

This allows us to write types that are GenericOverIp that take the spec from some type.

Required Associated Types§

source

type WeakV4: WeakIpAddressId<Ipv4Addr>

The weak V4 address ID.

source

type WeakV6: WeakIpAddressId<Ipv6Addr>

The weak V6 address ID.

Implementors§