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§

source

fn new() -> Self

source

fn add(&self, mac_addr: String, vendor_name: String)

source

fn contains(&self, mac_addr: &String) -> bool

source

fn get(&self, mac_addr: &String) -> String

source

fn length(&self) -> usize

Object Safety§

This trait is not object safe.

Implementors§