netstack3_base

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