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