pub struct ReadTransmitPowerLevel(/* private fields */);
Expand description
Read Transmit Power Level command ๐
Implementationsยง
Sourceยงimpl ReadTransmitPowerLevel
impl ReadTransmitPowerLevel
Sourcepub fn new(handle: ConnHandle, kind: PowerLevelKind) -> Self
pub fn new(handle: ConnHandle, kind: PowerLevelKind) -> Self
Create a new instance of a command.
Trait Implementationsยง
Sourceยงimpl Clone for ReadTransmitPowerLevel
impl Clone for ReadTransmitPowerLevel
Sourceยงfn clone(&self) -> ReadTransmitPowerLevel
fn clone(&self) -> ReadTransmitPowerLevel
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 ReadTransmitPowerLevel
impl Cmd for ReadTransmitPowerLevel
Sourceยงtype Params = ReadTransmitPowerLevelParams
type Params = ReadTransmitPowerLevelParams
Parameters type for this command.
Sourceยงfn params(&self) -> &ReadTransmitPowerLevelParams
fn params(&self) -> &ReadTransmitPowerLevelParams
Parameters expected for this command.
Sourceยงimpl Debug for ReadTransmitPowerLevel
impl Debug for ReadTransmitPowerLevel
Sourceยงimpl From<ReadTransmitPowerLevelParams> for ReadTransmitPowerLevel
impl From<ReadTransmitPowerLevelParams> for ReadTransmitPowerLevel
Sourceยงfn from(params: ReadTransmitPowerLevelParams) -> Self
fn from(params: ReadTransmitPowerLevelParams) -> Self
Converts to this type from the input type.
Sourceยงimpl Hash for ReadTransmitPowerLevel
impl Hash for ReadTransmitPowerLevel
Sourceยงimpl Ord for ReadTransmitPowerLevel
impl Ord for ReadTransmitPowerLevel
Sourceยงfn cmp(&self, other: &ReadTransmitPowerLevel) -> Ordering
fn cmp(&self, other: &ReadTransmitPowerLevel) -> 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 ReadTransmitPowerLevel
impl PartialEq for ReadTransmitPowerLevel
Sourceยงimpl PartialOrd for ReadTransmitPowerLevel
impl PartialOrd for ReadTransmitPowerLevel
Sourceยงimpl SyncCmd for ReadTransmitPowerLevel
impl SyncCmd for ReadTransmitPowerLevel
Sourceยงtype Return = ReadTransmitPowerLevelReturn
type Return = ReadTransmitPowerLevelReturn
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 ReadTransmitPowerLevel
impl WriteHci for ReadTransmitPowerLevel
impl Copy for ReadTransmitPowerLevel
impl Eq for ReadTransmitPowerLevel
impl StructuralPartialEq for ReadTransmitPowerLevel
Auto Trait Implementationsยง
impl Freeze for ReadTransmitPowerLevel
impl RefUnwindSafe for ReadTransmitPowerLevel
impl Send for ReadTransmitPowerLevel
impl Sync for ReadTransmitPowerLevel
impl Unpin for ReadTransmitPowerLevel
impl UnwindSafe for ReadTransmitPowerLevel
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.