pub struct LinkKeyNotification {
pub bd_addr: BdAddr,
pub link_key: [u8; 16],
pub key_type: LinkKeyType,
}Expand description
Link Key Notification event ๐
Fieldsยง
ยงbd_addr: BdAddrbd_addr
link_key: [u8; 16]link_key
key_type: LinkKeyTypekey_type
Trait Implementationsยง
Sourceยงimpl Clone for LinkKeyNotification
impl Clone for LinkKeyNotification
Sourceยงfn clone(&self) -> LinkKeyNotification
fn clone(&self) -> LinkKeyNotification
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSourceยงimpl Debug for LinkKeyNotification
impl Debug for LinkKeyNotification
Sourceยงimpl<'a> EventParams<'a> for LinkKeyNotification
impl<'a> EventParams<'a> for LinkKeyNotification
Sourceยงconst EVENT_CODE: u8 = 0x18
const EVENT_CODE: u8 = 0x18
The event code these parameters are for
Sourceยงimpl<'a> FromHciBytes<'a> for LinkKeyNotification
impl<'a> FromHciBytes<'a> for LinkKeyNotification
Sourceยงfn from_hci_bytes(data: &'a [u8]) -> Result<(Self, &'a [u8]), FromHciBytesError>
fn from_hci_bytes(data: &'a [u8]) -> Result<(Self, &'a [u8]), FromHciBytesError>
Deserialize bytes into a HCI type, return additional bytes.
Sourceยงfn from_hci_bytes_complete(data: &'de [u8]) -> Result<Self, FromHciBytesError>
fn from_hci_bytes_complete(data: &'de [u8]) -> Result<Self, FromHciBytesError>
Deserialize bytes into a HCI type, must consume all bytes.
Sourceยงimpl Hash for LinkKeyNotification
impl Hash for LinkKeyNotification
impl Copy for LinkKeyNotification
Auto Trait Implementationsยง
impl Freeze for LinkKeyNotification
impl RefUnwindSafe for LinkKeyNotification
impl Send for LinkKeyNotification
impl Sync for LinkKeyNotification
impl Unpin for LinkKeyNotification
impl UnsafeUnpin for LinkKeyNotification
impl UnwindSafe for LinkKeyNotification
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