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: ScanType
passive or active scanning. With passive scanning, no scan request PDUs are sent
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 Addressed To This Device
filter_duplicates: bool
If true, only report unique devices.
Auto Trait Implementations§
impl Freeze for GeneralConnectionEstablishmentParameters
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