pub struct SelectiveConnectionEstablishmentParameters<'a> {
pub scan_type: ScanType,
pub scan_window: ScanWindow,
pub own_address_type: OwnAddressType,
pub filter_policy: ScanFilterPolicy,
pub filter_duplicates: bool,
pub white_list: &'a [PeerAddrType],
}
Expand description
Parameters for the GAP Start Selective Connection Establishment command.
Fields§
§scan_type: ScanType
Type of scanning
scan_window: ScanWindow
Scanning window for connection establishment.
own_address_type: OwnAddressType
Address type of this device.
filter_policy: ScanFilterPolicy
Scanning filter policy.
§Note
if privacy is enabled, filter policy can only assume values Accept All or Whitelist Addressed to this Device
filter_duplicates: bool
If true, only report unique devices.
white_list: &'a [PeerAddrType]
Addresses to white-list for automatic connection.
Auto Trait Implementations§
impl<'a> Freeze for SelectiveConnectionEstablishmentParameters<'a>
impl<'a> RefUnwindSafe for SelectiveConnectionEstablishmentParameters<'a>
impl<'a> Send for SelectiveConnectionEstablishmentParameters<'a>
impl<'a> Sync for SelectiveConnectionEstablishmentParameters<'a>
impl<'a> Unpin for SelectiveConnectionEstablishmentParameters<'a>
impl<'a> UnwindSafe for SelectiveConnectionEstablishmentParameters<'a>
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