pub struct ReadLmpHandle(/* private fields */);
Expand description
Read LMP Handle command ๐
Reads the current LMP Handle associated with the Connection_Handle.
Implementationsยง
Sourceยงimpl ReadLmpHandle
impl ReadLmpHandle
Sourcepub fn new(param: ConnHandle) -> Self
pub fn new(param: ConnHandle) -> Self
Create a new instance of the command with the provided parameters.
Trait Implementationsยง
Sourceยงimpl Clone for ReadLmpHandle
impl Clone for ReadLmpHandle
Sourceยงfn clone(&self) -> ReadLmpHandle
fn clone(&self) -> ReadLmpHandle
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 ReadLmpHandle
impl Cmd for ReadLmpHandle
Sourceยงimpl Debug for ReadLmpHandle
impl Debug for ReadLmpHandle
Sourceยงimpl From<ConnHandle> for ReadLmpHandle
impl From<ConnHandle> for ReadLmpHandle
Sourceยงfn from(params: ConnHandle) -> Self
fn from(params: ConnHandle) -> Self
Converts to this type from the input type.
Sourceยงimpl Hash for ReadLmpHandle
impl Hash for ReadLmpHandle
Sourceยงimpl Ord for ReadLmpHandle
impl Ord for ReadLmpHandle
Sourceยงfn cmp(&self, other: &ReadLmpHandle) -> Ordering
fn cmp(&self, other: &ReadLmpHandle) -> 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 ReadLmpHandle
impl PartialEq for ReadLmpHandle
Sourceยงimpl PartialOrd for ReadLmpHandle
impl PartialOrd for ReadLmpHandle
Sourceยงimpl SyncCmd for ReadLmpHandle
impl SyncCmd for ReadLmpHandle
Sourceยงtype Return = ReadLmpHandleReturn
type Return = ReadLmpHandleReturn
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 ReadLmpHandle
impl WriteHci for ReadLmpHandle
impl Copy for ReadLmpHandle
impl Eq for ReadLmpHandle
impl StructuralPartialEq for ReadLmpHandle
Auto Trait Implementationsยง
impl Freeze for ReadLmpHandle
impl RefUnwindSafe for ReadLmpHandle
impl Send for ReadLmpHandle
impl Sync for ReadLmpHandle
impl Unpin for ReadLmpHandle
impl UnwindSafe for ReadLmpHandle
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.