Enum libmacchina::traits::ReadoutError [−][src]
Expand description
This enum contains possible error types when doing sensor & variable readouts.
Variants
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.
Other(String)
A readout for a metric might be available, but fails due to missing dependencies or other unsatisfied requirements.
Tuple Fields of Other
0: String
Warning(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.
Tuple Fields of Warning
0: String
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