pub struct Component { /* fields omitted */ }
Expand description
Struct containing a component information (temperature and name for the moment).
More information can be found at kernel.org.
Note: these may not be present on virtual Linux systems, such as Docker
or Windows Subsystem for Linux. These hosts do not expose this information
and therefore Component
elements may be missing or not as expected.
Please note that on Windows, you need to have Administrator priviledges to get this
information.
Returns the temperature of the component (in celsius degree). Read more
Returns the maximum temperature of the component (in celsius degree). Read more
Returns the highest temperature before the component halts (in celsius degree). Read more
Returns the label of the component. Read more
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.