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 BlackholeDeviceState: 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§
Sourcetype LoopbackDeviceState: Send + Sync + DeviceClassMatcher<Self::DeviceClass>
type LoopbackDeviceState: Send + Sync + DeviceClassMatcher<Self::DeviceClass>
The state associated with loopback devices.
Sourcetype EthernetDeviceState: Send + Sync + DeviceClassMatcher<Self::DeviceClass>
type EthernetDeviceState: Send + Sync + DeviceClassMatcher<Self::DeviceClass>
The state associated with ethernet devices.
Sourcetype PureIpDeviceState: Send + Sync + DeviceClassMatcher<Self::DeviceClass>
type PureIpDeviceState: Send + Sync + DeviceClassMatcher<Self::DeviceClass>
The state associated with pure IP devices.
Sourcetype BlackholeDeviceState: Send + Sync + DeviceClassMatcher<Self::DeviceClass>
type BlackholeDeviceState: Send + Sync + DeviceClassMatcher<Self::DeviceClass>
The state associated with blackhole devices.
Sourcetype DeviceIdentifier: Send + Sync + Debug + Display + DeviceIdAndNameMatcher
type DeviceIdentifier: Send + Sync + Debug + Display + DeviceIdAndNameMatcher
An opaque identifier that is available from both strong and weak device references.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".