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.