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
sourceimpl Clone for CharacteristicEvent
impl Clone for CharacteristicEvent
sourcefn clone(&self) -> CharacteristicEvent
fn clone(&self) -> CharacteristicEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CharacteristicEvent
impl Debug for CharacteristicEvent
sourceimpl PartialEq<CharacteristicEvent> for CharacteristicEvent
impl PartialEq<CharacteristicEvent> for CharacteristicEvent
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &CharacteristicEvent) -> bool
fn ne(&self, other: &CharacteristicEvent) -> bool
This method tests for !=
.
impl Eq for CharacteristicEvent
impl StructuralEq for CharacteristicEvent
impl StructuralPartialEq for CharacteristicEvent
Auto Trait Implementations
impl RefUnwindSafe for CharacteristicEvent
impl Send for CharacteristicEvent
impl Sync for CharacteristicEvent
impl Unpin for CharacteristicEvent
impl UnwindSafe for CharacteristicEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more