pub enum DeconzEvent {
State(u8),
Notice(Response),
Down(String),
}Expand description
Something the firmware sent on its own, or a state it reported.
Variants§
State(u8)
The device state, from any frame that carries one.
Notice(Response)
An unsolicited frame.
Down(String)
The port is down; every later request fails.
Trait Implementations§
Source§impl Clone for DeconzEvent
impl Clone for DeconzEvent
Source§impl Debug for DeconzEvent
impl Debug for DeconzEvent
impl Eq for DeconzEvent
Source§impl PartialEq for DeconzEvent
impl PartialEq for DeconzEvent
impl StructuralPartialEq for DeconzEvent
Auto Trait Implementations§
impl Freeze for DeconzEvent
impl RefUnwindSafe for DeconzEvent
impl Send for DeconzEvent
impl Sync for DeconzEvent
impl Unpin for DeconzEvent
impl UnsafeUnpin for DeconzEvent
impl UnwindSafe for DeconzEvent
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