Trait IMacVendorCache

Source
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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§