pub struct AdvSetEnable<'a> {
pub enable: bool,
pub num_sets: u8,
pub adv_set: &'a [AdvSet],
}
Expand description
Params for the adv_set_enable command
Fields§
§enable: bool
Enable/Disable advertising
num_sets: u8
Number of advertising sets.
Values
- 0x00: disable all advertising sets
- 0x01 .. 0x3F: Number of advertising sets to enable or disable
adv_set: &'a [AdvSet]
Advertising sets
Auto Trait Implementations§
impl<'a> Freeze for AdvSetEnable<'a>
impl<'a> RefUnwindSafe for AdvSetEnable<'a>
impl<'a> Send for AdvSetEnable<'a>
impl<'a> Sync for AdvSetEnable<'a>
impl<'a> Unpin for AdvSetEnable<'a>
impl<'a> UnwindSafe for AdvSetEnable<'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