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§
sourcetype DeviceId: StrongDeviceIdentifier<Weak = Self::WeakDeviceId> + 'static
type DeviceId: StrongDeviceIdentifier<Weak = Self::WeakDeviceId> + 'static
The type of device IDs.
sourcetype WeakDeviceId: WeakDeviceIdentifier<Strong = Self::DeviceId> + 'static
type WeakDeviceId: WeakDeviceIdentifier<Strong = Self::DeviceId> + 'static
The type of weakly referenced device IDs.