pub trait IMacVendorCache {
// Required methods
fn new() -> Self;
fn add(&self, mac_addr: String, vendor_name: String);
fn contains(&self, mac_addr: &String) -> bool;
fn get(&self, mac_addr: &String) -> String;
fn length(&self) -> usize;
}
Required Methods§
fn new() -> Self
fn add(&self, mac_addr: String, vendor_name: String)
fn contains(&self, mac_addr: &String) -> bool
fn get(&self, mac_addr: &String) -> String
fn length(&self) -> usize
Object Safety§
This trait is not object safe.