pub trait IpLayerIpExt:
IpExt
+ MulticastRouteIpExt
+ IcmpHandlerIpExt
+ FilterIpExt
+ FragmentationIpExt
+ IpDeviceIpExt
+ IpAddressIdExt {
type AddressStatus: Debug;
type State<StrongDeviceId: StrongDeviceIdentifier, BT: IpLayerBindingsTypes>: AsRef<IpStateInner<Self, StrongDeviceId, BT>>;
type PacketIdState;
type PacketId;
type RxCounters: Default + Inspectable;
// 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.
Sourcetype RxCounters: Default + Inspectable
type RxCounters: Default + Inspectable
Receive counters.
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", so this trait is not object safe.