netstack3_base

Trait 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§

Source

fn name_matches(&self, name: &str) -> bool

Returns whether the provided name matches the interface.

Implementors§