pub enum SetError {
Send(Error),
Status(u16, Response),
}
Expand description
Failed to set the value in the LCI gateway.
Variants§
Send(Error)
The request failed to send to the gateway.
Status(u16, Response)
The response from the gateway did not indicate acceptance.
Trait Implementations§
Source§impl Error for SetError
impl Error for SetError
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 SetError
impl !RefUnwindSafe for SetError
impl Send for SetError
impl Sync for SetError
impl Unpin for SetError
impl !UnwindSafe for SetError
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