Function smbioslib::load_smbios_data_from_file[][src]

pub fn load_smbios_data_from_file(file_path: &Path) -> Result<SMBiosData, Error>

Loads raw smbios data from a file and returns SMBiosData or std::io::Error on error.

Currently supports reading raw files containing only SMBIOS table data or Windows raw files containing the windows header and SMBIOS table data.