pub struct AddAdvertising { /* private fields */ }
Expand description
Add Advertising Command
Implementations§
Source§impl AddAdvertising
impl AddAdvertising
Sourcepub fn new(
instance: AdvertiseInstance,
flags: AdvertisingFlag,
duration: u16,
timeout: u16,
adv_data_scan_resp: AdvDataScanResp,
) -> Self
pub fn new( instance: AdvertiseInstance, flags: AdvertisingFlag, duration: u16, timeout: u16, adv_data_scan_resp: AdvDataScanResp, ) -> Self
Constructs a new AddAdvertising
.
Trait Implementations§
Source§impl CommandRequest for AddAdvertising
impl CommandRequest for AddAdvertising
Source§const CODE: CommandCode = CommandCode::AddAdvertising
const CODE: CommandCode = CommandCode::AddAdvertising
Command code.
Source§type Reply = AddAdvertisingReply
type Reply = AddAdvertisingReply
Return type for this command.
Source§impl Debug for AddAdvertising
impl Debug for AddAdvertising
Source§impl From<AddAdvertising> for Command
impl From<AddAdvertising> for Command
Source§fn from(v: AddAdvertising) -> Self
fn from(v: AddAdvertising) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AddAdvertising
impl RefUnwindSafe for AddAdvertising
impl Send for AddAdvertising
impl Sync for AddAdvertising
impl Unpin for AddAdvertising
impl UnwindSafe for AddAdvertising
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