Trait netstack3_device::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.

Object Safety§

This trait is not object safe.

Implementors§