pub struct BleAdvParams {
pub conn_mode: u8,
pub disc_mode: u8,
pub itvl_min: u16,
pub itvl_max: u16,
pub channel_map: u8,
pub filter_policy: u8,
pub high_duty_cycle: bool,
}Expand description
Parameters for a legacy advertising procedure (safe version of ble_gap_adv_params).
Fields§
§conn_mode: u8§disc_mode: u8§itvl_min: u16§itvl_max: u16§channel_map: u8§filter_policy: u8§high_duty_cycle: boolTrait Implementations§
Source§impl Clone for BleAdvParams
impl Clone for BleAdvParams
Source§fn clone(&self) -> BleAdvParams
fn clone(&self) -> BleAdvParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BleAdvParams
Source§impl Default for BleAdvParams
impl Default for BleAdvParams
Source§fn default() -> BleAdvParams
fn default() -> BleAdvParams
Returns the “default value” for a type. Read more
Source§impl From<&BleAdvParams> for ble_gap_adv_params
Available on non-esp_idf_bt_nimble_ext_adv only.
impl From<&BleAdvParams> for ble_gap_adv_params
Available on non-
esp_idf_bt_nimble_ext_adv only.Source§fn from(params: &BleAdvParams) -> Self
fn from(params: &BleAdvParams) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BleAdvParams
impl RefUnwindSafe for BleAdvParams
impl Send for BleAdvParams
impl Sync for BleAdvParams
impl Unpin for BleAdvParams
impl UnsafeUnpin for BleAdvParams
impl UnwindSafe for BleAdvParams
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)