pub trait IpLayerIpExt:
IpExt
+ MulticastRouteIpExt
+ IcmpHandlerIpExt
+ FilterIpExt
+ FragmentationIpExt
+ IpDeviceIpExt
+ IpCountersIpExt
+ IcmpCountersIpExt
+ ReassemblyIpExt {
type AddressStatus: Debug;
type State<StrongDeviceId: StrongDeviceIdentifier, BT: IpLayerBindingsTypes>: AsRef<IpStateInner<Self, StrongDeviceId, BT>>;
type PacketIdState;
type PacketId;
// Required method
fn next_packet_id_from_state(state: &Self::PacketIdState) -> Self::PacketId;
}Expand description
An extension trait providing IP layer properties.
Required Associated Types§
Sourcetype AddressStatus: Debug
type AddressStatus: Debug
IP Address status.
Sourcetype State<StrongDeviceId: StrongDeviceIdentifier, BT: IpLayerBindingsTypes>: AsRef<IpStateInner<Self, StrongDeviceId, BT>>
type State<StrongDeviceId: StrongDeviceIdentifier, BT: IpLayerBindingsTypes>: AsRef<IpStateInner<Self, StrongDeviceId, BT>>
IP Address state.
Sourcetype PacketIdState
type PacketIdState
State kept for packet identifiers.
Required Methods§
Sourcefn next_packet_id_from_state(state: &Self::PacketIdState) -> Self::PacketId
fn next_packet_id_from_state(state: &Self::PacketIdState) -> Self::PacketId
Produces the next packet ID from the state.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".