#[repr(u8)]
pub enum CommonDataType {
Show 47 variants Flags, IncompleteListOf16BitServiceClassUuids, CompleteListOf16BitServiceClassUuids, IncompleteListOf32BitServiceClassUuids, CompleteListOf32BitServiceClassUuids, IncompleteListOf128BitServiceClassUuids, CompleteListOf128BitServiceClassUuids, ShortenedLocalName, CompleteLocalName, TxPowerLevel, ClassOfDevice, SimplePairingHashC192, SimplePairingRandomizerR192, DeviceId, SecurityManagerTkValue, PeripheralConnectionIntervalRange, ListOf16BitServiceSolicitationUuids, ListOf128BitServiceSolicitationUuids, ServiceData16BitUuid, PublicTargetAddress, RandomTargetAddress, Appearance, AdvertisingInterval, LeBluetoothDeviceAddress, LeRole, SimplePairingHashC256, SimplePairingRandomizerR256, ListOf32BitServiceSolicitationUuids, ServiceData32BitUuid, ServiceData128BitUuid, LeSecureConnectionsConfirmationValue, LeSecureConnectionsRandomValue, Uri, IndoorPositioning, TransportDiscoveryData, LeSupportedFeatures, ChannelMapUpdateIndication, PbAdv, MeshMessage, MeshBeacon, BigInfo, BroadcastCode, ResolvableSetIdentifier, AdvertisingIntervalLong, BroadcastName, ThreeDInformationData, ManufacturerSpecificData,
}
Expand description

Enumeration of “Common Data Types” from the Bluetooth Assigned Numbers registry.

Variants§

§

Flags

Ref: Core Specification Supplement, Part A, Section 1.3

§

IncompleteListOf16BitServiceClassUuids

Ref: Core Specification Supplement, Part A, Section 1.1

§

CompleteListOf16BitServiceClassUuids

Ref: Core Specification Supplement, Part A, Section 1.1

§

IncompleteListOf32BitServiceClassUuids

Ref: Core Specification Supplement, Part A, Section 1.1

§

CompleteListOf32BitServiceClassUuids

Ref: Core Specification Supplement, Part A, Section 1.1

§

IncompleteListOf128BitServiceClassUuids

Ref: Core Specification Supplement, Part A, Section 1.1

§

CompleteListOf128BitServiceClassUuids

Ref: Core Specification Supplement, Part A, Section 1.1

§

ShortenedLocalName

Ref: Core Specification Supplement, Part A, Section 1.2

§

CompleteLocalName

Ref: Core Specification Supplement, Part A, Section 1.2

§

TxPowerLevel

Ref: Core Specification Supplement, Part A, Section 1.5

§

ClassOfDevice

Ref: Core Specification Supplement, Part A, Section 1.6

§

SimplePairingHashC192

Ref: Core Specification Supplement, Part A, Section 1.6

§

SimplePairingRandomizerR192

Ref: Core Specification Supplement, Part A, Section 1.6

§

DeviceId

Ref: Device ID Profile

§

SecurityManagerTkValue

Ref: Core Specification Supplement, Part A, Section 1.7

§

PeripheralConnectionIntervalRange

Ref: Core Specification Supplement, Part A, Section 1.9

§

ListOf16BitServiceSolicitationUuids

Ref: Core Specification Supplement, Part A, Section 1.10

§

ListOf128BitServiceSolicitationUuids

Ref: Core Specification Supplement, Part A, Section 1.10

§

ServiceData16BitUuid

Ref: Core Specification Supplement, Part A, Section 1.11

§

PublicTargetAddress

Ref: Core Specification Supplement, Part A, Section 1.13

§

RandomTargetAddress

Ref: Core Specification Supplement, Part A, Section 1.14

§

Appearance

Ref: Core Specification Supplement, Part A, Section 1.12

§

AdvertisingInterval

Ref: Core Specification Supplement, Part A, Section 1.15

§

LeBluetoothDeviceAddress

Ref: Core Specification Supplement, Part A, Section 1.16

§

LeRole

Ref: Core Specification Supplement, Part A, Section 1.17

§

SimplePairingHashC256

Ref: Core Specification Supplement, Part A, Section 1.6

§

SimplePairingRandomizerR256

Ref: Core Specification Supplement, Part A, Section 1.6

§

ListOf32BitServiceSolicitationUuids

Ref: Core Specification Supplement, Part A, Section 1.10

§

ServiceData32BitUuid

Ref: Core Specification Supplement, Part A, Section 1.11

§

ServiceData128BitUuid

Ref: Core Specification Supplement, Part A, Section 1.11

§

LeSecureConnectionsConfirmationValue

Ref: Core Specification Supplement, Part A, Section 1.6

§

LeSecureConnectionsRandomValue

Ref: Core Specification Supplement, Part A, Section 1.6

§

Uri

Ref: Core Specification Supplement, Part A, Section 1.18

§

IndoorPositioning

Ref: Indoor Positioning Service

§

TransportDiscoveryData

Ref: Transport Discovery Service

§

LeSupportedFeatures

Ref: Core Specification Supplement, Part A, Section 1.19

§

ChannelMapUpdateIndication

Ref: Core Specification Supplement, Part A, Section 1.20

§

PbAdv

Ref: Mesh Profile Specification, Section 5.2.1

§

MeshMessage

Ref: Mesh Profile Specification, Section 3.3.1

§

MeshBeacon

Ref: Mesh Profile Specification, Section 3.9

§

BigInfo

Ref: Core Specification Supplement, Part A, Section 1.21

§

BroadcastCode

Ref: Core Specification Supplement, Part A, Section 1.22

§

ResolvableSetIdentifier

Ref: Coordinated Set Identification Profile

§

AdvertisingIntervalLong

Ref: Core Specification Supplement, Part A, Section 1.15

§

BroadcastName

Ref: Public Broadcast Profile

§

ThreeDInformationData

Ref: 3D Synchronization Profile

§

ManufacturerSpecificData

Ref: Core Specification Supplement, Part A, Section 1.4

Trait Implementations§

source§

impl Clone for CommonDataType

source§

fn clone(&self) -> CommonDataType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CommonDataType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<CommonDataType> for CommonDataType

source§

fn eq(&self, other: &CommonDataType) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for CommonDataType

source§

impl StructuralPartialEq for CommonDataType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.