pub enum HueAPIError {
BadRequest,
BadResponse,
BadDeserialize,
NotFound,
HueBridgeError(Value),
ServerSentEvent,
Streaming,
}Expand description
Possible errors related to communication with the Hue Bridge.
Variants§
Trait Implementations§
Source§impl Debug for HueAPIError
impl Debug for HueAPIError
Source§impl PartialEq for HueAPIError
impl PartialEq for HueAPIError
Source§fn eq(&self, other: &HueAPIError) -> bool
fn eq(&self, other: &HueAPIError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HueAPIError
Auto Trait Implementations§
impl Freeze for HueAPIError
impl RefUnwindSafe for HueAPIError
impl Send for HueAPIError
impl Sync for HueAPIError
impl Unpin for HueAPIError
impl UnsafeUnpin for HueAPIError
impl UnwindSafe for HueAPIError
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