pub struct LeSetDataRelatedAddrChanges(/* private fields */);
Expand description
LE Set Data Related Address Changes command ๐
Implementationsยง
Sourceยงimpl LeSetDataRelatedAddrChanges
impl LeSetDataRelatedAddrChanges
Sourcepub fn new(
adv_handle: AdvHandle,
change_reasons: LeDataRelatedAddrChangeReasons,
) -> Self
pub fn new( adv_handle: AdvHandle, change_reasons: LeDataRelatedAddrChangeReasons, ) -> Self
Create a new instance of a command.
Trait Implementationsยง
Sourceยงimpl Clone for LeSetDataRelatedAddrChanges
impl Clone for LeSetDataRelatedAddrChanges
Sourceยงfn clone(&self) -> LeSetDataRelatedAddrChanges
fn clone(&self) -> LeSetDataRelatedAddrChanges
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 LeSetDataRelatedAddrChanges
impl Cmd for LeSetDataRelatedAddrChanges
Sourceยงtype Params = LeSetDataRelatedAddrChangesParams
type Params = LeSetDataRelatedAddrChangesParams
Parameters type for this command.
Sourceยงfn params(&self) -> &LeSetDataRelatedAddrChangesParams
fn params(&self) -> &LeSetDataRelatedAddrChangesParams
Parameters expected for this command.
Sourceยงimpl Debug for LeSetDataRelatedAddrChanges
impl Debug for LeSetDataRelatedAddrChanges
Sourceยงimpl From<LeSetDataRelatedAddrChangesParams> for LeSetDataRelatedAddrChanges
impl From<LeSetDataRelatedAddrChangesParams> for LeSetDataRelatedAddrChanges
Sourceยงfn from(params: LeSetDataRelatedAddrChangesParams) -> Self
fn from(params: LeSetDataRelatedAddrChangesParams) -> Self
Converts to this type from the input type.
Sourceยงimpl Hash for LeSetDataRelatedAddrChanges
impl Hash for LeSetDataRelatedAddrChanges
Sourceยงimpl Ord for LeSetDataRelatedAddrChanges
impl Ord for LeSetDataRelatedAddrChanges
Sourceยงfn cmp(&self, other: &LeSetDataRelatedAddrChanges) -> Ordering
fn cmp(&self, other: &LeSetDataRelatedAddrChanges) -> 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 LeSetDataRelatedAddrChanges
impl PartialEq for LeSetDataRelatedAddrChanges
Sourceยงfn eq(&self, other: &LeSetDataRelatedAddrChanges) -> bool
fn eq(&self, other: &LeSetDataRelatedAddrChanges) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Sourceยงimpl PartialOrd for LeSetDataRelatedAddrChanges
impl PartialOrd for LeSetDataRelatedAddrChanges
Sourceยงimpl SyncCmd for LeSetDataRelatedAddrChanges
impl SyncCmd for LeSetDataRelatedAddrChanges
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 LeSetDataRelatedAddrChanges
impl WriteHci for LeSetDataRelatedAddrChanges
impl Copy for LeSetDataRelatedAddrChanges
impl Eq for LeSetDataRelatedAddrChanges
impl StructuralPartialEq for LeSetDataRelatedAddrChanges
Auto Trait Implementationsยง
impl Freeze for LeSetDataRelatedAddrChanges
impl RefUnwindSafe for LeSetDataRelatedAddrChanges
impl Send for LeSetDataRelatedAddrChanges
impl Sync for LeSetDataRelatedAddrChanges
impl Unpin for LeSetDataRelatedAddrChanges
impl UnwindSafe for LeSetDataRelatedAddrChanges
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.