Trait netstack3_core::device::DeviceLayerStateTypes
source · pub trait DeviceLayerStateTypes: InstantContext {
type LoopbackDeviceState: DeviceIdDebugTag + Send + Sync;
type EthernetDeviceState: DeviceIdDebugTag + Send + Sync;
}
Expand description
Provides associated types used in the device layer.
Required Associated Types§
sourcetype LoopbackDeviceState: DeviceIdDebugTag + Send + Sync
type LoopbackDeviceState: DeviceIdDebugTag + Send + Sync
The state associated with loopback devices.
sourcetype EthernetDeviceState: DeviceIdDebugTag + Send + Sync
type EthernetDeviceState: DeviceIdDebugTag + Send + Sync
The state associated with ethernet devices.