pub trait DeviceProvider {
type Ethernet: Device;
type Loopback: Device;
type PureIp: Device;
type Blackhole: Device;
}Expand description
Provides the Device type for each device domain.
Required Associated Types§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl DeviceProvider for ()
This implementation is used in the for_any_device_id macro.
impl DeviceProvider for ()
This implementation is used in the for_any_device_id macro.