pub struct LeSetPathLossReportingEnable(/* private fields */);
Expand description
LE Set Path Loss Reporting Enable command ๐
Implementationsยง
Sourceยงimpl LeSetPathLossReportingEnable
impl LeSetPathLossReportingEnable
Sourcepub fn new(handle: ConnHandle, enable: bool) -> Self
pub fn new(handle: ConnHandle, enable: bool) -> Self
Create a new instance of a command.
Trait Implementationsยง
Sourceยงimpl Clone for LeSetPathLossReportingEnable
impl Clone for LeSetPathLossReportingEnable
Sourceยงfn clone(&self) -> LeSetPathLossReportingEnable
fn clone(&self) -> LeSetPathLossReportingEnable
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 LeSetPathLossReportingEnable
impl Cmd for LeSetPathLossReportingEnable
Sourceยงtype Params = LeSetPathLossReportingEnableParams
type Params = LeSetPathLossReportingEnableParams
Parameters type for this command.
Sourceยงfn params(&self) -> &LeSetPathLossReportingEnableParams
fn params(&self) -> &LeSetPathLossReportingEnableParams
Parameters expected for this command.
Sourceยงimpl From<LeSetPathLossReportingEnableParams> for LeSetPathLossReportingEnable
impl From<LeSetPathLossReportingEnableParams> for LeSetPathLossReportingEnable
Sourceยงfn from(params: LeSetPathLossReportingEnableParams) -> Self
fn from(params: LeSetPathLossReportingEnableParams) -> Self
Converts to this type from the input type.
Sourceยงimpl Hash for LeSetPathLossReportingEnable
impl Hash for LeSetPathLossReportingEnable
Sourceยงimpl Ord for LeSetPathLossReportingEnable
impl Ord for LeSetPathLossReportingEnable
Sourceยงfn cmp(&self, other: &LeSetPathLossReportingEnable) -> Ordering
fn cmp(&self, other: &LeSetPathLossReportingEnable) -> 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 LeSetPathLossReportingEnable
impl PartialEq for LeSetPathLossReportingEnable
Sourceยงfn eq(&self, other: &LeSetPathLossReportingEnable) -> bool
fn eq(&self, other: &LeSetPathLossReportingEnable) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Sourceยงimpl PartialOrd for LeSetPathLossReportingEnable
impl PartialOrd for LeSetPathLossReportingEnable
Sourceยงimpl SyncCmd for LeSetPathLossReportingEnable
impl SyncCmd for LeSetPathLossReportingEnable
Sourceยงtype Return = ConnHandle
type Return = ConnHandle
The type of the parameters for the
CommandComplete
eventSourceยงtype Handle = ConnHandle
type Handle = ConnHandle
Handle returned by this command.
Sourceยงfn param_handle(&self) -> Self::Handle
fn param_handle(&self) -> Self::Handle
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 LeSetPathLossReportingEnable
impl WriteHci for LeSetPathLossReportingEnable
impl Copy for LeSetPathLossReportingEnable
impl Eq for LeSetPathLossReportingEnable
impl StructuralPartialEq for LeSetPathLossReportingEnable
Auto Trait Implementationsยง
impl Freeze for LeSetPathLossReportingEnable
impl RefUnwindSafe for LeSetPathLossReportingEnable
impl Send for LeSetPathLossReportingEnable
impl Sync for LeSetPathLossReportingEnable
impl Unpin for LeSetPathLossReportingEnable
impl UnwindSafe for LeSetPathLossReportingEnable
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.