Enum libmacchina::traits::ReadoutError [−][src]
Expand description
This enum contains possible error types when doing sensor & variable readouts.
Variants
MetricNotAvailable
A specific metric might not be available on all systems (e. g. battery percentage on a
desktop).
If you encounter this error, it means that the requested value is not available.
NotImplemented
The default error for any readout that is not implemented by a particular platform.
Other(String)
Tuple Fields
0: String
A readout for a metric might be available, but fails due to missing dependencies or other unsatisfied requirements.
Warning(String)
Tuple Fields
0: String
Getting a readout on a specific operating system might not make sense or causes some other kind of warning. This is not necessarily an error.
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ReadoutError
impl Send for ReadoutError
impl Sync for ReadoutError
impl Unpin for ReadoutError
impl UnwindSafe for ReadoutError
Blanket Implementations
Mutably borrows from an owned value. Read more