pub fn try_load_from_file(
        filename: &str,
        version: Option<SMBiosVersion>,
    ) -> Result<SMBiosData, Error> {
        let data = read(filename)?;
        let result = Self {
            table: UndefinedStructTable::from(data),
            version,
        };
        Ok(result)
    }
/// Loads raw SMBios table data from a file
Loads raw SMBios table data from a file
Loads raw SMBios table data from a file
pub fn try_load_from_file(
        filename: &str,
        version: Option<SMBiosVersion>,
    ) -> Result<SMBiosData, Error> {
        let data = read(filename)?;
        let result = Self {
            table: UndefinedStructTable::from(data),
            version,
        };
        Ok(result)
    }
pub fn try_load_from_file ( filename : & str , version : Option < SMBiosVersion > , ) -> Result < SMBiosData , Error > { let data = read ( filename ) ? ; let result = Self { table : UndefinedStructTable :: from ( data ) , version , } ; Ok ( result ) }
Loads raw SMBios table data from a file
Loads raw SMBios table data from a file
filename
&str
version
Option<SMBiosVersion>
filename
&str
version
Option<SMBiosVersion>