Enum bluer::id::Descriptor
source · [−]#[non_exhaustive]
pub enum Descriptor {
Show 15 variants
GattCharacteristicExtendedProperties,
GattCharacteristicUserDescription,
GattClientCharacteristicConfiguration,
GattServerCharacteristicConfiguration,
GattCharacteristicPresentationFormat,
GattCharacteristicAggregateFormat,
ValidRange,
ExternalReportReference,
ReportReference,
NumberOfDigitals,
ValueTriggerSetting,
EnvironmentalSensingConfiguration,
EnvironmentalSensingMeasurement,
EnvironmentalSensingTriggerSetting,
TimeTriggerSetting,
}
id
only.Expand description
Assigned identifiers for GATT descriptors.
Can be converted to and from UUIDs.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
GattCharacteristicExtendedProperties
Characteristic Extended Properties
Source: gss
GattCharacteristicUserDescription
Characteristic User Descriptor
Source: gss
GattClientCharacteristicConfiguration
Client Characteristic Configuration
Source: gss
GattServerCharacteristicConfiguration
Server Characteristic Configuration
Source: gss
GattCharacteristicPresentationFormat
Characteristic Presentation Format
Source: gss
GattCharacteristicAggregateFormat
Characteristic Aggregate Format
Source: gss
ValidRange
Valid Range
Source: gss
ExternalReportReference
External Report Reference
Source: gss
ReportReference
Report Reference
Source: gss
NumberOfDigitals
Number of Digitals
Source: gss
ValueTriggerSetting
Value Trigger Setting
Source: gss
EnvironmentalSensingConfiguration
Environmental Sensing Configuration
Source: gss
EnvironmentalSensingMeasurement
Environmental Sensing Measurement
Source: gss
EnvironmentalSensingTriggerSetting
Environmental Sensing Trigger Setting
Source: gss
TimeTriggerSetting
Time Trigger Setting
Source: gss
Trait Implementations
sourceimpl Clone for Descriptor
impl Clone for Descriptor
sourcefn clone(&self) -> Descriptor
fn clone(&self) -> Descriptor
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 Descriptor
impl Debug for Descriptor
sourceimpl<'de> Deserialize<'de> for Descriptor
impl<'de> Deserialize<'de> for Descriptor
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for Descriptor
impl Display for Descriptor
sourceimpl From<Descriptor> for Uuid
impl From<Descriptor> for Uuid
sourcefn from(s: Descriptor) -> Uuid
fn from(s: Descriptor) -> Uuid
Converts to this type from the input type.
sourceimpl FromStr for Descriptor
impl FromStr for Descriptor
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
sourceimpl Hash for Descriptor
impl Hash for Descriptor
sourceimpl Ord for Descriptor
impl Ord for Descriptor
sourceimpl PartialEq<Descriptor> for Descriptor
impl PartialEq<Descriptor> for Descriptor
sourceimpl PartialOrd<Descriptor> for Descriptor
impl PartialOrd<Descriptor> for Descriptor
sourcefn partial_cmp(&self, other: &Descriptor) -> Option<Ordering>
fn partial_cmp(&self, other: &Descriptor) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Serialize for Descriptor
impl Serialize for Descriptor
sourceimpl TryFrom<&'_ str> for Descriptor
impl TryFrom<&'_ str> for Descriptor
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
sourceimpl TryFrom<Uuid> for Descriptor
impl TryFrom<Uuid> for Descriptor
impl Copy for Descriptor
impl Eq for Descriptor
impl StructuralEq for Descriptor
impl StructuralPartialEq for Descriptor
Auto Trait Implementations
impl RefUnwindSafe for Descriptor
impl Send for Descriptor
impl Sync for Descriptor
impl Unpin for Descriptor
impl UnwindSafe for Descriptor
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more