pub trait StrongDeviceIdentifier: DeviceIdentifier + PartialEq<Self::Weak> {
type Weak: WeakDeviceIdentifier<Strong = Self>;
// Required method
fn downgrade(&self) -> Self::Weak;
}Expand description
A strong device reference.
StrongDeviceIdentifier indicates that the referenced device is alive
while the instance exists.
Required Associated Types§
Sourcetype Weak: WeakDeviceIdentifier<Strong = Self>
type Weak: WeakDeviceIdentifier<Strong = Self>
The weak version of this identifier.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".