pub trait DeviceIdentifier:
Clone
+ Debug
+ Eq
+ Hash
+ PartialEq
+ Send
+ Sync
+ 'static {
// Required method
fn is_loopback(&self) -> bool;
}
Expand description
An identifier for a device.
Required Methods§
Sourcefn is_loopback(&self) -> bool
fn is_loopback(&self) -> bool
Returns true if the device is a loopback device.
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.