Struct esp32_nimble::BLEAdvertisedDevice
source · pub struct BLEAdvertisedDevice { /* private fields */ }
Implementations§
source§impl BLEAdvertisedDevice
impl BLEAdvertisedDevice
pub fn name(&self) -> &BStr
sourcepub fn addr(&self) -> &BLEAddress
pub fn addr(&self) -> &BLEAddress
Get the address of the advertising device.
pub fn rssi(&self) -> i32
pub fn get_service_uuids(&self) -> Iter<'_, BleUuid>
pub fn is_advertising_service(&self, uuid: &BleUuid) -> bool
pub fn get_service_data_list(&self) -> Iter<'_, BLEServiceData>
pub fn get_service_data(&self, uuid: BleUuid) -> Option<&BLEServiceData>
pub fn get_manufacture_data(&self) -> Option<&[u8]>
Trait Implementations§
source§impl Clone for BLEAdvertisedDevice
impl Clone for BLEAdvertisedDevice
source§fn clone(&self) -> BLEAdvertisedDevice
fn clone(&self) -> BLEAdvertisedDevice
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for BLEAdvertisedDevice
impl Send for BLEAdvertisedDevice
impl Sync for BLEAdvertisedDevice
impl Unpin for BLEAdvertisedDevice
impl UnwindSafe for BLEAdvertisedDevice
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more