pub enum PropEvent {
Is {
key: u32,
value: Vec<u8>,
},
Inserted {
key: u32,
digest: Vec<u8>,
},
Removed {
key: u32,
digest: Vec<u8>,
},
}Expand description
An unsolicited property notification (TID zero) retained for the caller: device state can change for reasons the host did not initiate, and publication of the new authoritative value is how the protocol reports that. Multi-value payloads are in digest form and never contain key material.
Variants§
Is
CMD_PROP_IS: the property now has this complete value.
Inserted
CMD_PROP_INSERTED: an item was added to a multi-value property.
Removed
CMD_PROP_REMOVED: an item was removed from a multi-value
property.
Trait Implementations§
impl Eq for PropEvent
impl StructuralPartialEq for PropEvent
Auto Trait Implementations§
impl Freeze for PropEvent
impl RefUnwindSafe for PropEvent
impl Send for PropEvent
impl Sync for PropEvent
impl Unpin for PropEvent
impl UnwindSafe for PropEvent
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)