Struct bluenrg::event::GapDeviceFound [−][src]
pub struct GapDeviceFound { pub event: GapDeviceFoundEvent, pub bdaddr: BdAddrType, pub rssi: Option<i8>, // some fields omitted }
The event is given by the GAP layer to the upper layers when a device is discovered during scanning as a consequence of one of the GAP procedures started by the upper layers.
Fields
event: GapDeviceFoundEvent
Type of event
bdaddr: BdAddrType
Address of the peer device found during scanning
rssi: Option<i8>
Received signal strength indicator (range: -127 - 20).
Methods
impl GapDeviceFound
[src]
impl GapDeviceFound
Trait Implementations
impl Copy for GapDeviceFound
[src]
impl Copy for GapDeviceFound
impl Clone for GapDeviceFound
[src]
impl Clone for GapDeviceFound
fn clone(&self) -> GapDeviceFound
[src]
fn clone(&self) -> GapDeviceFound
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for GapDeviceFound
[src]
impl Debug for GapDeviceFound
Auto Trait Implementations
impl Send for GapDeviceFound
impl Send for GapDeviceFound
impl Sync for GapDeviceFound
impl Sync for GapDeviceFound