Trait netstack3_base::DeviceIdentifier
source · 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.
Object Safety§
This trait is not object safe.