netstack3_base

Trait IpTypesIpExt

Source
pub trait IpTypesIpExt: IpExt {
    type BroadcastMarker: Debug + Copy + Clone + PartialEq + Eq;
}
Expand description

Ip extension trait to assist in defining [NextHop].

Required Associated Types§

Source

type BroadcastMarker: Debug + Copy + Clone + PartialEq + Eq

A marker type carried by the [NextHop::Broadcast] variant to indicate that it is uninhabited for IPv6.

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 IpTypesIpExt for Ipv4

Source§

impl IpTypesIpExt for Ipv6

Implementors§