pub struct ChangeConnectionLinkKey(/* private fields */);
Expand description
Change Connection Link Key command ๐
Forces the master device to change the link key to a new one.
Implementationsยง
Sourceยงimpl ChangeConnectionLinkKey
impl ChangeConnectionLinkKey
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 ChangeConnectionLinkKey
impl Clone for ChangeConnectionLinkKey
Sourceยงfn clone(&self) -> ChangeConnectionLinkKey
fn clone(&self) -> ChangeConnectionLinkKey
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 ChangeConnectionLinkKey
impl Cmd for ChangeConnectionLinkKey
Sourceยงimpl Debug for ChangeConnectionLinkKey
impl Debug for ChangeConnectionLinkKey
Sourceยงimpl From<ConnHandle> for ChangeConnectionLinkKey
impl From<ConnHandle> for ChangeConnectionLinkKey
Sourceยงfn from(params: ConnHandle) -> Self
fn from(params: ConnHandle) -> Self
Converts to this type from the input type.
Sourceยงimpl Hash for ChangeConnectionLinkKey
impl Hash for ChangeConnectionLinkKey
Sourceยงimpl Ord for ChangeConnectionLinkKey
impl Ord for ChangeConnectionLinkKey
Sourceยงfn cmp(&self, other: &ChangeConnectionLinkKey) -> Ordering
fn cmp(&self, other: &ChangeConnectionLinkKey) -> 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 ChangeConnectionLinkKey
impl PartialEq for ChangeConnectionLinkKey
Sourceยงimpl PartialOrd for ChangeConnectionLinkKey
impl PartialOrd for ChangeConnectionLinkKey
Sourceยงimpl SyncCmd for ChangeConnectionLinkKey
impl SyncCmd for ChangeConnectionLinkKey
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 ChangeConnectionLinkKey
impl WriteHci for ChangeConnectionLinkKey
impl Copy for ChangeConnectionLinkKey
impl Eq for ChangeConnectionLinkKey
impl StructuralPartialEq for ChangeConnectionLinkKey
Auto Trait Implementationsยง
impl Freeze for ChangeConnectionLinkKey
impl RefUnwindSafe for ChangeConnectionLinkKey
impl Send for ChangeConnectionLinkKey
impl Sync for ChangeConnectionLinkKey
impl Unpin for ChangeConnectionLinkKey
impl UnwindSafe for ChangeConnectionLinkKey
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.