pub struct LeSetAdvData(/* private fields */);
Expand description
LE Set Advertising Data command ๐
Implementationsยง
Trait Implementationsยง
Sourceยงimpl Clone for LeSetAdvData
impl Clone for LeSetAdvData
Sourceยงfn clone(&self) -> LeSetAdvData
fn clone(&self) -> LeSetAdvData
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSourceยงimpl Cmd for LeSetAdvData
impl Cmd for LeSetAdvData
Sourceยงtype Params = LeSetAdvDataParams
type Params = LeSetAdvDataParams
Parameters type for this command.
Sourceยงfn params(&self) -> &LeSetAdvDataParams
fn params(&self) -> &LeSetAdvDataParams
Parameters expected for this command.
Sourceยงimpl Debug for LeSetAdvData
impl Debug for LeSetAdvData
Sourceยงimpl From<LeSetAdvDataParams> for LeSetAdvData
impl From<LeSetAdvDataParams> for LeSetAdvData
Sourceยงfn from(params: LeSetAdvDataParams) -> Self
fn from(params: LeSetAdvDataParams) -> Self
Converts to this type from the input type.
Sourceยงimpl Hash for LeSetAdvData
impl Hash for LeSetAdvData
Sourceยงimpl Ord for LeSetAdvData
impl Ord for LeSetAdvData
Sourceยงfn cmp(&self, other: &LeSetAdvData) -> Ordering
fn cmp(&self, other: &LeSetAdvData) -> Ordering
1.21.0 ยท Sourceยงfn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Sourceยงimpl PartialEq for LeSetAdvData
impl PartialEq for LeSetAdvData
Sourceยงimpl PartialOrd for LeSetAdvData
impl PartialOrd for LeSetAdvData
Sourceยงimpl SyncCmd for LeSetAdvData
impl SyncCmd for LeSetAdvData
Sourceยงtype Return = ()
type Return = ()
The type of the parameters for the
CommandComplete
eventSourceยงfn param_handle(&self)
fn param_handle(&self)
Handle parameter for this command.
Sourceยงfn return_handle(_data: &[u8]) -> Result<Self::Handle, FromHciBytesError>
fn return_handle(_data: &[u8]) -> Result<Self::Handle, FromHciBytesError>
Extracts the
Self::Handle
from the return parameters for commands that return a handle. Read moreSourceยงimpl WriteHci for LeSetAdvData
impl WriteHci for LeSetAdvData
impl Copy for LeSetAdvData
impl Eq for LeSetAdvData
impl StructuralPartialEq for LeSetAdvData
Auto Trait Implementationsยง
impl Freeze for LeSetAdvData
impl RefUnwindSafe for LeSetAdvData
impl Send for LeSetAdvData
impl Sync for LeSetAdvData
impl Unpin for LeSetAdvData
impl UnwindSafe for LeSetAdvData
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
Sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Sourceยงimpl<T> HostToControllerPacket for Twhere
T: Cmd,
impl<T> HostToControllerPacket for Twhere
T: Cmd,
Sourceยงconst KIND: PacketKind = const KIND: PacketKind = PacketKind::Cmd;
const KIND: PacketKind = const KIND: PacketKind = PacketKind::Cmd;
Packet kind associated with this HCI packet.