pub enum TankLevelError {
GetFailure(GetFailure),
Parse(String, ParseIntError),
}
Expand description
The tank level could not be fetched.
Variants§
GetFailure(GetFailure)
The request to the LCI gateway failed.
Parse(String, ParseIntError)
The response from the LCI gateway could not be understood.
Trait Implementations§
Source§impl Debug for TankLevelError
impl Debug for TankLevelError
Source§impl Display for TankLevelError
impl Display for TankLevelError
Source§impl Error for TankLevelError
impl Error for TankLevelError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for TankLevelError
impl !RefUnwindSafe for TankLevelError
impl Send for TankLevelError
impl Sync for TankLevelError
impl Unpin for TankLevelError
impl !UnwindSafe for TankLevelError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more