Struct sysfs_class::HwMon[][src]

pub struct HwMon { /* fields omitted */ }

A hardware monitoring device in /sys/class/hwmon

Methods

impl HwMon
[src]

Trait Implementations

impl Clone for HwMon
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl SysClass for HwMon
[src]

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

impl Send for HwMon

impl Sync for HwMon