Enum bluez_async::CharacteristicEvent
source · Expand description
Details of an event related to a GATT characteristic.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Value
A new value of the characteristic has been received. This may be from a notification.
Trait Implementations§
source§impl Clone for CharacteristicEvent
impl Clone for CharacteristicEvent
source§fn clone(&self) -> CharacteristicEvent
fn clone(&self) -> CharacteristicEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CharacteristicEvent
impl Debug for CharacteristicEvent
source§impl PartialEq<CharacteristicEvent> for CharacteristicEvent
impl PartialEq<CharacteristicEvent> for CharacteristicEvent
source§fn eq(&self, other: &CharacteristicEvent) -> bool
fn eq(&self, other: &CharacteristicEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.