Enum luftpost::sensor::ErrorKind
[−]
pub enum ErrorKind { Msg(String), ReadingMeasurementFailed(ErrorKind), Fmt(Utf8Error), Io(Error), Hyper(Error), }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
ReadingMeasurementFailed(ErrorKind)
Fmt(Utf8Error)
Io(Error)
Hyper(Error)
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.