netstack3_core::device

Trait DeviceLayerStateTypes

Source
pub trait DeviceLayerStateTypes: InstantContext + FilterBindingsTypes {
    type LoopbackDeviceState: Send + Sync + DeviceClassMatcher<Self::DeviceClass>;
    type EthernetDeviceState: Send + Sync + DeviceClassMatcher<Self::DeviceClass>;
    type PureIpDeviceState: Send + Sync + DeviceClassMatcher<Self::DeviceClass>;
    type DeviceIdentifier: Send + Sync + Debug + Display + DeviceIdAndNameMatcher;
}
Expand description

Provides associated types used in the device layer.

Required Associated Types§

Source

type LoopbackDeviceState: Send + Sync + DeviceClassMatcher<Self::DeviceClass>

The state associated with loopback devices.

Source

type EthernetDeviceState: Send + Sync + DeviceClassMatcher<Self::DeviceClass>

The state associated with ethernet devices.

Source

type PureIpDeviceState: Send + Sync + DeviceClassMatcher<Self::DeviceClass>

The state associated with pure IP devices.

Source

type DeviceIdentifier: Send + Sync + Debug + Display + DeviceIdAndNameMatcher

An opaque identifier that is available from both strong and weak device references.

Implementors§