[−][src]Struct core_bluetooth::central::AdvertisementData
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]
fn clone(&self) -> AdvertisementData
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AdvertisementData
[src]
Auto Trait Implementations
impl RefUnwindSafe for AdvertisementData
impl Send for AdvertisementData
impl Sync for AdvertisementData
impl Unpin for AdvertisementData
impl UnwindSafe for AdvertisementData
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,