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