pub struct LinkKeySelection(/* private fields */);
Expand description
Link Key Selection command ๐
Forces the device to use the temporary link key or the semi-permanent link keys.
Implementationsยง
Trait Implementationsยง
Sourceยงimpl Clone for LinkKeySelection
impl Clone for LinkKeySelection
Sourceยงfn clone(&self) -> LinkKeySelection
fn clone(&self) -> LinkKeySelection
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 LinkKeySelection
impl Cmd for LinkKeySelection
Sourceยงtype Params = LinkKeySelectionParams
type Params = LinkKeySelectionParams
Parameters type for this command.
Sourceยงfn params(&self) -> &LinkKeySelectionParams
fn params(&self) -> &LinkKeySelectionParams
Parameters expected for this command.
Sourceยงimpl Debug for LinkKeySelection
impl Debug for LinkKeySelection
Sourceยงimpl From<LinkKeySelectionParams> for LinkKeySelection
impl From<LinkKeySelectionParams> for LinkKeySelection
Sourceยงfn from(params: LinkKeySelectionParams) -> Self
fn from(params: LinkKeySelectionParams) -> Self
Converts to this type from the input type.
Sourceยงimpl Hash for LinkKeySelection
impl Hash for LinkKeySelection
Sourceยงimpl Ord for LinkKeySelection
impl Ord for LinkKeySelection
Sourceยงfn cmp(&self, other: &LinkKeySelection) -> Ordering
fn cmp(&self, other: &LinkKeySelection) -> 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 LinkKeySelection
impl PartialEq for LinkKeySelection
Sourceยงimpl PartialOrd for LinkKeySelection
impl PartialOrd for LinkKeySelection
Sourceยงimpl SyncCmd for LinkKeySelection
impl SyncCmd for LinkKeySelection
Sourceยงtype Return = ()
type Return = ()
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 LinkKeySelection
impl WriteHci for LinkKeySelection
impl Copy for LinkKeySelection
impl Eq for LinkKeySelection
impl StructuralPartialEq for LinkKeySelection
Auto Trait Implementationsยง
impl Freeze for LinkKeySelection
impl RefUnwindSafe for LinkKeySelection
impl Send for LinkKeySelection
impl Sync for LinkKeySelection
impl Unpin for LinkKeySelection
impl UnwindSafe for LinkKeySelection
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.