pub enum CharacteristicProperty {
Broadcast = 1,
Read = 2,
WriteWithoutResponse = 4,
Write = 8,
Notify = 16,
Indicate = 32,
AuthenticatedSignedWrites = 64,
ReliableWrite = 256,
WritableAuxiliaries = 512,
}
Expand description
Characteristic Properties, including Extended Properties Determines how the Characteristic Value may be used.
Defined in Core Spec 5.3, Vol 3 Part G Sec 3.3.1.1 and 3.3.3.1
Variants§
Broadcast = 1
Read = 2
WriteWithoutResponse = 4
Write = 8
Notify = 16
Indicate = 32
AuthenticatedSignedWrites = 64
ReliableWrite = 256
WritableAuxiliaries = 512
Trait Implementations§
Source§impl BitOr<CharacteristicProperty> for CharacteristicProperties
impl BitOr<CharacteristicProperty> for CharacteristicProperties
Source§type Output = CharacteristicProperties
type Output = CharacteristicProperties
The resulting type after applying the
|
operator.Source§impl BitOr for CharacteristicProperty
impl BitOr for CharacteristicProperty
Source§impl Clone for CharacteristicProperty
impl Clone for CharacteristicProperty
Source§fn clone(&self) -> CharacteristicProperty
fn clone(&self) -> CharacteristicProperty
Returns a duplicate 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 CharacteristicProperty
impl Debug for CharacteristicProperty
Source§impl From<CharacteristicProperty> for CharacteristicProperties
impl From<CharacteristicProperty> for CharacteristicProperties
Source§fn from(value: CharacteristicProperty) -> Self
fn from(value: CharacteristicProperty) -> Self
Converts to this type from the input type.
Source§impl FromIterator<CharacteristicProperty> for CharacteristicProperties
impl FromIterator<CharacteristicProperty> for CharacteristicProperties
Source§fn from_iter<T: IntoIterator<Item = CharacteristicProperty>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = CharacteristicProperty>>(iter: T) -> Self
Creates a value from an iterator. Read more
Source§impl Hash for CharacteristicProperty
impl Hash for CharacteristicProperty
Source§impl PartialEq for CharacteristicProperty
impl PartialEq for CharacteristicProperty
impl Copy for CharacteristicProperty
impl Eq for CharacteristicProperty
impl StructuralPartialEq for CharacteristicProperty
Auto Trait Implementations§
impl Freeze for CharacteristicProperty
impl RefUnwindSafe for CharacteristicProperty
impl Send for CharacteristicProperty
impl Sync for CharacteristicProperty
impl Unpin for CharacteristicProperty
impl UnwindSafe for CharacteristicProperty
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