pub struct LeLongTermKeyRequestReply(/* private fields */);
Expand description
LE Long Term Key Request Reply command ๐
Implementationsยง
Sourceยงimpl LeLongTermKeyRequestReply
impl LeLongTermKeyRequestReply
Sourcepub fn new(handle: ConnHandle, long_term_key: [u8; 16]) -> Self
pub fn new(handle: ConnHandle, long_term_key: [u8; 16]) -> Self
Create a new instance of a command.
Trait Implementationsยง
Sourceยงimpl Clone for LeLongTermKeyRequestReply
impl Clone for LeLongTermKeyRequestReply
Sourceยงfn clone(&self) -> LeLongTermKeyRequestReply
fn clone(&self) -> LeLongTermKeyRequestReply
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 LeLongTermKeyRequestReply
impl Cmd for LeLongTermKeyRequestReply
Sourceยงtype Params = LeLongTermKeyRequestReplyParams
type Params = LeLongTermKeyRequestReplyParams
Parameters type for this command.
Sourceยงfn params(&self) -> &LeLongTermKeyRequestReplyParams
fn params(&self) -> &LeLongTermKeyRequestReplyParams
Parameters expected for this command.
Sourceยงimpl Debug for LeLongTermKeyRequestReply
impl Debug for LeLongTermKeyRequestReply
Sourceยงimpl From<LeLongTermKeyRequestReplyParams> for LeLongTermKeyRequestReply
impl From<LeLongTermKeyRequestReplyParams> for LeLongTermKeyRequestReply
Sourceยงfn from(params: LeLongTermKeyRequestReplyParams) -> Self
fn from(params: LeLongTermKeyRequestReplyParams) -> Self
Converts to this type from the input type.
Sourceยงimpl Hash for LeLongTermKeyRequestReply
impl Hash for LeLongTermKeyRequestReply
Sourceยงimpl Ord for LeLongTermKeyRequestReply
impl Ord for LeLongTermKeyRequestReply
Sourceยงfn cmp(&self, other: &LeLongTermKeyRequestReply) -> Ordering
fn cmp(&self, other: &LeLongTermKeyRequestReply) -> 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 LeLongTermKeyRequestReply
impl PartialEq for LeLongTermKeyRequestReply
Sourceยงfn eq(&self, other: &LeLongTermKeyRequestReply) -> bool
fn eq(&self, other: &LeLongTermKeyRequestReply) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Sourceยงimpl PartialOrd for LeLongTermKeyRequestReply
impl PartialOrd for LeLongTermKeyRequestReply
Sourceยงimpl SyncCmd for LeLongTermKeyRequestReply
impl SyncCmd for LeLongTermKeyRequestReply
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 LeLongTermKeyRequestReply
impl WriteHci for LeLongTermKeyRequestReply
impl Copy for LeLongTermKeyRequestReply
impl Eq for LeLongTermKeyRequestReply
impl StructuralPartialEq for LeLongTermKeyRequestReply
Auto Trait Implementationsยง
impl Freeze for LeLongTermKeyRequestReply
impl RefUnwindSafe for LeLongTermKeyRequestReply
impl Send for LeLongTermKeyRequestReply
impl Sync for LeLongTermKeyRequestReply
impl Unpin for LeLongTermKeyRequestReply
impl UnwindSafe for LeLongTermKeyRequestReply
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.