EthernetDeviceId

Type Alias EthernetDeviceId 

Source
pub type EthernetDeviceId<BT> = BaseDeviceId<EthernetLinkDevice, BT>;
Expand description

A strong device ID identifying an ethernet device.

This device ID is like DeviceId but specifically for ethernet devices.

Aliased Type§

pub struct EthernetDeviceId<BT> { /* private fields */ }

Trait Implementations§

Source§

impl<BT: DeviceLayerTypes> TryFrom<DeviceId<BT>> for EthernetDeviceId<BT>

Source§

type Error = DeviceId<BT>

The type returned in the event of a conversion error.
Source§

fn try_from(id: DeviceId<BT>) -> Result<EthernetDeviceId<BT>, DeviceId<BT>>

Performs the conversion.