pub struct DeviceFound { /* private fields */ }Expand description
Device Found Event
Implementations§
Source§impl DeviceFound
impl DeviceFound
pub fn address(&self) -> &Address
pub fn address_type(&self) -> &AddressType
pub fn rssi(&self) -> &u8
pub fn flags(&self) -> &DeviceConnectFlags
pub fn eir_data(&self) -> &VariableLengthBytes
Trait Implementations§
Source§impl Clone for DeviceFound
impl Clone for DeviceFound
Source§fn clone(&self) -> DeviceFound
fn clone(&self) -> DeviceFound
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeviceFound
impl Debug for DeviceFound
Source§impl From<DeviceFound> for Event
impl From<DeviceFound> for Event
Source§fn from(v: DeviceFound) -> Self
fn from(v: DeviceFound) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DeviceFound
impl RefUnwindSafe for DeviceFound
impl Send for DeviceFound
impl Sync for DeviceFound
impl Unpin for DeviceFound
impl UnwindSafe for DeviceFound
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more