Struct mac_oui::Oui

source · []
pub struct Oui { /* private fields */ }

Implementations

Loads the default oui csv database

Example
use mac_oui::Oui;

let db = Oui::default();
assert!(db.is_ok());

Loads a database from the given path. The default database is loaded from: https://macaddress.io/database-download/csv

Example
use mac_oui::Oui;

let db = Oui::from_csv_file("assets/oui.csv");
assert!(db.is_ok())

Lookup for a Manufacturer Name based upon the given MAC Address

Lookup for the MAC Address Reference based upon the given Manufacturer Name

Get a list of Manufacturers present in the database

Get a list of MAC OUI references present in the database

Get total records in the database

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.