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§
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.