Trait netstack3_base::WeakDeviceIdentifier
source · pub trait WeakDeviceIdentifier: DeviceIdentifier + PartialEq<Self::Strong> {
type Strong: StrongDeviceIdentifier<Weak = Self>;
// Required method
fn upgrade(&self) -> Option<Self::Strong>;
}
Expand description
A weak device reference.
This is the weak reference equivalent of StrongDeviceIdentifier
.
Required Associated Types§
sourcetype Strong: StrongDeviceIdentifier<Weak = Self>
type Strong: StrongDeviceIdentifier<Weak = Self>
The strong version of this identifier.
Required Methods§
Object Safety§
This trait is not object safe.