pub enum Defect {
Missing(Element),
Disallowed(Element),
UnknownFeature(u8),
WrongRevision {
found: u16,
expected: u16,
},
ResponseAccepted(CommandId),
}Expand description
Something a device’s configuration got wrong.
Variants§
Missing(Element)
A mandatory element the device does not serve.
Disallowed(Element)
An element the device serves that its feature map disallows.
UnknownFeature(u8)
A feature bit the device claims that this cluster revision does not define.
WrongRevision
The descriptor’s ClusterRevision is not the one the specification defines.
ResponseAccepted(CommandId)
A response command in the accepted list, which is a command the server sends.
Trait Implementations§
impl Copy for Defect
impl Eq for Defect
impl StructuralPartialEq for Defect
Auto Trait Implementations§
impl Freeze for Defect
impl RefUnwindSafe for Defect
impl Send for Defect
impl Sync for Defect
impl Unpin for Defect
impl UnsafeUnpin for Defect
impl UnwindSafe for Defect
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