Struct sysfs_class::DmiId

source ·
pub struct DmiId { /* private fields */ }
Expand description

Provides BIOS, Board, Chassis, Product, & Vendor identifiers

Implementations

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns the “default value” for a type. Read more
Return the class of the sys object, the name of a folder in /sys/class
Create a sys object from an absolute path without checking path for validity
Return the path of the sys object
Return the path to the sys objects, the full path of a folder in /sys/class
Create a sys object from a path, checking it for validity
Retrieve all of the object instances of a sys class
Create a sys object by id, checking it for validity
Return the id of the sys object
Read a file underneath the sys object
Parse a number from a file underneath the sys object
Read a file underneath the sys object and trim whitespace
Write a file underneath the sys object

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.