pub struct LeSetScanEnable(/* private fields */);
Expand description
LE Set Scan Enable command ๐
Implementationsยง
Trait Implementationsยง
Sourceยงimpl Clone for LeSetScanEnable
impl Clone for LeSetScanEnable
Sourceยงfn clone(&self) -> LeSetScanEnable
fn clone(&self) -> LeSetScanEnable
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 LeSetScanEnable
impl Cmd for LeSetScanEnable
Sourceยงtype Params = LeSetScanEnableParams
type Params = LeSetScanEnableParams
Parameters type for this command.
Sourceยงfn params(&self) -> &LeSetScanEnableParams
fn params(&self) -> &LeSetScanEnableParams
Parameters expected for this command.
Sourceยงimpl Debug for LeSetScanEnable
impl Debug for LeSetScanEnable
Sourceยงimpl From<LeSetScanEnableParams> for LeSetScanEnable
impl From<LeSetScanEnableParams> for LeSetScanEnable
Sourceยงfn from(params: LeSetScanEnableParams) -> Self
fn from(params: LeSetScanEnableParams) -> Self
Converts to this type from the input type.
Sourceยงimpl Hash for LeSetScanEnable
impl Hash for LeSetScanEnable
Sourceยงimpl Ord for LeSetScanEnable
impl Ord for LeSetScanEnable
Sourceยงfn cmp(&self, other: &LeSetScanEnable) -> Ordering
fn cmp(&self, other: &LeSetScanEnable) -> 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 LeSetScanEnable
impl PartialEq for LeSetScanEnable
Sourceยงimpl PartialOrd for LeSetScanEnable
impl PartialOrd for LeSetScanEnable
Sourceยงimpl SyncCmd for LeSetScanEnable
impl SyncCmd for LeSetScanEnable
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 LeSetScanEnable
impl WriteHci for LeSetScanEnable
impl Copy for LeSetScanEnable
impl Eq for LeSetScanEnable
impl StructuralPartialEq for LeSetScanEnable
Auto Trait Implementationsยง
impl Freeze for LeSetScanEnable
impl RefUnwindSafe for LeSetScanEnable
impl Send for LeSetScanEnable
impl Sync for LeSetScanEnable
impl Unpin for LeSetScanEnable
impl UnwindSafe for LeSetScanEnable
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.