pub trait FakeStrongDeviceId:
StrongDeviceIdentifier<Weak = FakeWeakDeviceId<Self>>
+ 'static
+ Ord {
// Required method
fn is_alive(&self) -> bool;
}Expand description
Marks a fake strong device id.
Required Methods§
Sourcefn is_alive(&self) -> bool
fn is_alive(&self) -> bool
Returns whether this ID is still alive.
This is used by FakeWeakDeviceId to return None when trying to
upgrade back a FakeStrongDeviceId.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.