pub enum SwitchStateConversionError {
GetFailure(GetFailure),
UnknownValue(String),
}
Expand description
The switch state could not be fetched.
Variants§
GetFailure(GetFailure)
The request to the LCI gateway failed.
UnknownValue(String)
The response from the LCI gateway could not be understood.
Trait Implementations§
Source§impl Debug for SwitchStateConversionError
impl Debug for SwitchStateConversionError
Source§impl Display for SwitchStateConversionError
impl Display for SwitchStateConversionError
Source§impl Error for SwitchStateConversionError
impl Error for SwitchStateConversionError
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 SwitchStateConversionError
impl !RefUnwindSafe for SwitchStateConversionError
impl Send for SwitchStateConversionError
impl Sync for SwitchStateConversionError
impl Unpin for SwitchStateConversionError
impl !UnwindSafe for SwitchStateConversionError
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