Crate sysfuss

Source
Expand description

Utility library for manipulating files in the Linux sysfs

Modules§

capability
sysfs class entity capability filtering

Structs§

BasicEntityPath
Generic entity path with basic functionality
HwMonAttribute
Attribute representation. Attribute files are usually in the format <type><number>_<item>.
HwMonPath
hwmon/ directory
PowerSupplyPath
power_supply// directory
SysPath
sysfs root
ValueEnumError
Value parse error for an enumeration. This usually indicates an unexpected value (one without an enum variant) was received while parsing.

Enums§

EitherErr2
Multi-error convenience enum
EntityPath
sysfs class entity implementors
HwMonAttributeItem
Attribute item in the format <type><number>_<item>
HwMonAttributeType
Attribute type in the format <type><number>_<item>
PowerSupplyAttribute
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
PowerSupplyType
power_supply//type attribute value

Traits§

SysAttribute
sysfs entity attribute file functionality
SysAttributeExt
sysfs entity attribute functionality extension
SysEntity
sysfs class entity functionality
SysEntityAttributes
sysfs class entity attribute type indicator
SysEntityAttributesExt
sysfs class entity attribute type extension
SysEntityRawExt
sysfs class entity functionality extension