Trait netstack3_device::DeviceProvider

source ·
pub trait DeviceProvider {
    type Ethernet: Device;
    type Loopback: Device;
    type PureIp: Device;
}
Expand description

Provides the Device type for each device domain.

Required Associated Types§

source

type Ethernet: Device

The Device type for Ethernet devices.

source

type Loopback: Device

The Device type for Loopback devices.

source

type PureIp: Device

The Device type for pure IP devices.

Implementations on Foreign Types§

source§

impl DeviceProvider for ()

This implementation is used in the for_any_device_id macro.

Implementors§