pub struct LeSetEventMask(/* private fields */);
Expand description
LE Set Event Mask command ๐
Implementationsยง
Sourceยงimpl LeSetEventMask
impl LeSetEventMask
Sourcepub fn new(param: LeEventMask) -> Self
pub fn new(param: LeEventMask) -> Self
Create a new instance of the command with the provided parameters.
Trait Implementationsยง
Sourceยงimpl Clone for LeSetEventMask
impl Clone for LeSetEventMask
Sourceยงfn clone(&self) -> LeSetEventMask
fn clone(&self) -> LeSetEventMask
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 LeSetEventMask
impl Cmd for LeSetEventMask
Sourceยงimpl Debug for LeSetEventMask
impl Debug for LeSetEventMask
Sourceยงimpl From<LeEventMask> for LeSetEventMask
impl From<LeEventMask> for LeSetEventMask
Sourceยงfn from(params: LeEventMask) -> Self
fn from(params: LeEventMask) -> Self
Converts to this type from the input type.
Sourceยงimpl Hash for LeSetEventMask
impl Hash for LeSetEventMask
Sourceยงimpl Ord for LeSetEventMask
impl Ord for LeSetEventMask
Sourceยงfn cmp(&self, other: &LeSetEventMask) -> Ordering
fn cmp(&self, other: &LeSetEventMask) -> 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 LeSetEventMask
impl PartialEq for LeSetEventMask
Sourceยงimpl PartialOrd for LeSetEventMask
impl PartialOrd for LeSetEventMask
Sourceยงimpl SyncCmd for LeSetEventMask
impl SyncCmd for LeSetEventMask
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 LeSetEventMask
impl WriteHci for LeSetEventMask
impl Copy for LeSetEventMask
impl Eq for LeSetEventMask
impl StructuralPartialEq for LeSetEventMask
Auto Trait Implementationsยง
impl Freeze for LeSetEventMask
impl RefUnwindSafe for LeSetEventMask
impl Send for LeSetEventMask
impl Sync for LeSetEventMask
impl Unpin for LeSetEventMask
impl UnwindSafe for LeSetEventMask
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.