Expand description
Utility library for manipulating files in the Linux sysfs
Modules§
- capability
- sysfs class entity capability filtering
Structs§
- Basic
Entity Path - Generic entity path with basic functionality
- HwMon
Attribute - Attribute representation.
Attribute files are usually in the format
<type><number>_<item>
. - HwMon
Path - hwmon
/ directory - Power
Supply Path - power_supply/
/ directory - SysPath
- sysfs root
- Value
Enum Error - Value parse error for an enumeration. This usually indicates an unexpected value (one without an enum variant) was received while parsing.
Enums§
- Either
Err2 - Multi-error convenience enum
- Entity
Path - sysfs class entity implementors
- HwMon
Attribute Item - Attribute item in the format
<type><number>_<item>
- HwMon
Attribute Type - Attribute type in the format
<type><number>_<item>
- Power
Supply Attribute - Attribute files in a power supply directory These attributes are taken from https://github.com/torvalds/linux/blob/master/Documentation/ABI/testing/sysfs-class-power
- Power
Supply Type - power_supply/
/type attribute value
Traits§
- SysAttribute
- sysfs entity attribute file functionality
- SysAttribute
Ext - sysfs entity attribute functionality extension
- SysEntity
- sysfs class entity functionality
- SysEntity
Attributes - sysfs class entity attribute type indicator
- SysEntity
Attributes Ext - sysfs class entity attribute type extension
- SysEntity
RawExt - sysfs class entity functionality extension