pub trait Names {
// Required method
fn names(&self, list: u8) -> Vec<String>;
// Provided method
fn type_help(&self, _list: u8, ty: &str) -> String { ... }
}Expand description
the names a NAME parameter takes (interfaces of a device); “” in a name stands for a number (“Loopback”, “GigabitEthernet0/0/0.*”)
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".