Trait netstack3_base::DeviceWithName
source · pub trait DeviceWithName {
// Required method
fn name_matches(&self, name: &str) -> bool;
}
Expand description
Allows the user to match a device with a name.
Required Methods§
sourcefn name_matches(&self, name: &str) -> bool
fn name_matches(&self, name: &str) -> bool
Returns whether the provided name matches the interface.