pub enum DimmerError {
InvalidDeviceType(Option<DeviceType>),
}
Expand description
Returned when a Dimmer can not be made from the given “thing”.
Variants§
InvalidDeviceType(Option<DeviceType>)
Returned when the “thing” is not a dimmer.
Trait Implementations§
Source§impl Debug for DimmerError
impl Debug for DimmerError
Source§impl Display for DimmerError
impl Display for DimmerError
Source§impl Error for DimmerError
impl Error for DimmerError
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 DimmerError
impl RefUnwindSafe for DimmerError
impl Send for DimmerError
impl Sync for DimmerError
impl Unpin for DimmerError
impl UnwindSafe for DimmerError
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