pub struct GeneralConnectionEstablishmentParameters {
pub scan_type: ScanType,
pub scan_window: ScanWindow,
pub own_address_type: OwnAddressType,
pub filter_policy: ScanFilterPolicy,
pub filter_duplicates: bool,
}Expand description
Parameters for the GAP Start General Connection Establishment command.
Fields§
§scan_type: ScanTypepassive or active scanning. With passive scanning, no scan request PDUs are sent
scan_window: ScanWindowScanning window for connection establishment.
own_address_type: OwnAddressTypeAddress type of this device.
filter_policy: ScanFilterPolicyScanning filter policy.
Note
if privacy is enabled, filter policy can only assume values Accept All or Addressed To This Device
filter_duplicates: boolIf true, only report unique devices.
Auto Trait Implementations§
impl RefUnwindSafe for GeneralConnectionEstablishmentParameters
impl Send for GeneralConnectionEstablishmentParameters
impl Sync for GeneralConnectionEstablishmentParameters
impl Unpin for GeneralConnectionEstablishmentParameters
impl UnwindSafe for GeneralConnectionEstablishmentParameters
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