[][src]Struct core_bluetooth::central::AdvertisementData

pub struct AdvertisementData { /* fields omitted */ }

Peripheral's advertisement data.

Implementations

impl AdvertisementData[src]

pub fn is_connectable(&self) -> Option<bool>[src]

Indicates whether the advertising event type is connectable. You can use this value to determine whether your app can currently connect to a peripheral.

pub fn local_name(&self) -> Option<&str>[src]

The local name of a peripheral.

pub fn manufacturer_data(&self) -> Option<&[u8]>[src]

The manufacturer data of a peripheral.

pub fn service_data(&self) -> &ServiceData[src]

Service-specific advertisement data.

pub fn service_uuids(&self) -> &[Uuid][src]

Service UUIDs.

pub fn overflow_service_uuids(&self) -> &[Uuid][src]

Service UUIDs found in the overflow area of the advertisement data.

pub fn solicited_service_uuids(&self) -> &[Uuid][src]

Solicited service UUIDs.

pub fn tx_power_level(&self) -> Option<i32>[src]

The transmit power of a peripheral. You can calculate the path loss by comparing the RSSI value with the transmitting power level.

Trait Implementations

impl Clone for AdvertisementData[src]

impl Debug for AdvertisementData[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.