netstack3_base

Trait BroadcastIpExt

Source
pub trait BroadcastIpExt: Ip {
    type BroadcastMarker: Debug + Copy + Clone + PartialEq + Eq + Send + Sync + 'static;
}
Expand description

Ip extension trait to assist in defining [NextHop].

Required Associated Types§

Source

type BroadcastMarker: Debug + Copy + Clone + PartialEq + Eq + Send + Sync + 'static

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

Source§

impl BroadcastIpExt for Ipv6

Implementors§