Enum rusty_nail::errors::ErrorKind
[−]
pub enum ErrorKind { Msg(String), PwmError(Error), DatabaseError(Error), TargetFlowRateOutOfRange, NotEnoughLiquid(f64), }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
PwmError(Error)
PwmError
DatabaseError(Error)
TargetFlowRateOutOfRange
Target flow rate was out of range
NotEnoughLiquid(f64)
Not enough liquid
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.