Trait netstack3_base::DeviceIdContext

source ·
pub trait DeviceIdContext<D: Device> {
    type DeviceId: StrongDeviceIdentifier<Weak = Self::WeakDeviceId> + 'static;
    type WeakDeviceId: WeakDeviceIdentifier<Strong = Self::DeviceId> + 'static;
}
Expand description

An execution context which provides device ID types type for various netstack internals to share.

Required Associated Types§

source

type DeviceId: StrongDeviceIdentifier<Weak = Self::WeakDeviceId> + 'static

The type of device IDs.

source

type WeakDeviceId: WeakDeviceIdentifier<Strong = Self::DeviceId> + 'static

The type of weakly referenced device IDs.

Implementors§