netstack3_ip::device

Trait IpDeviceStateIpExt

Source
pub trait IpDeviceStateIpExt: BroadcastIpExt {
    type AssignedAddressState<BT: IpDeviceStateBindingsTypes>: AssignedAddressState<Address = Self::Addr> + Debug;
    type GmpProtoConfig: Default;
    type GmpTypeLayout<BT: IpDeviceStateBindingsTypes>: GmpTypeLayout<Self, BT>;
    type GmpTimerId<D: WeakDeviceIdentifier>: From<GmpTimerId<Self, D>>;
}
Expand description

An Ip extension trait adding IP device state properties.

Required Associated Types§

Source

type AssignedAddressState<BT: IpDeviceStateBindingsTypes>: AssignedAddressState<Address = Self::Addr> + Debug

Information stored about an IP address assigned to an interface.

Source

type GmpProtoConfig: Default

The GMP protocol-specific configuration.

Source

type GmpTypeLayout<BT: IpDeviceStateBindingsTypes>: GmpTypeLayout<Self, BT>

The GMP type layout used by IP-version specific state.

Source

type GmpTimerId<D: WeakDeviceIdentifier>: From<GmpTimerId<Self, D>>

The timer id for GMP timers.

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

Source§

impl IpDeviceStateIpExt for Ipv6

Implementors§