pub struct UndirectedConnectableParameters {
pub advertising_interval: (Duration, Duration),
pub own_address_type: OwnAddressType,
pub filter_policy: AdvertisingFilterPolicy,
}
Expand description
Parameters for the
set_undirected_connectable
command.
Fields§
§advertising_interval: (Duration, Duration)
Range of advertising interval for advertising.
Range for both limits: 20 ms to 10.24 seconds. The second value must be greater than or equal to the first.
own_address_type: OwnAddressType
Address type of this device.
filter_policy: AdvertisingFilterPolicy
filter policy for this device
Auto Trait Implementations§
impl Freeze for UndirectedConnectableParameters
impl RefUnwindSafe for UndirectedConnectableParameters
impl Send for UndirectedConnectableParameters
impl Sync for UndirectedConnectableParameters
impl Unpin for UndirectedConnectableParameters
impl UnwindSafe for UndirectedConnectableParameters
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