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§
Sourcetype WeakV4: WeakIpAddressId<Ipv4Addr>
type WeakV4: WeakIpAddressId<Ipv4Addr>
The weak V4 address ID.
Sourcetype WeakV6: WeakIpAddressId<Ipv6Addr>
type WeakV6: WeakIpAddressId<Ipv6Addr>
The weak V6 address ID.