Struct rwmstatus::RwmStatus

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

RwmStatus

This struct collects device dependent paths and user settings. It also provides convenience methods to aggregate readouts.

Implementations

Build a new RwmStatus object. This function collects all the monitor and battery paths for later use.

Return temperature reads from all monitors.

Return the three load average values.

Return battery status for all batteries.

Return times for all configured time zones.

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 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.