pub struct EncryptionChangeV2 {
pub status: Status,
pub handle: ConnHandle,
pub encryption_enabled: EncryptionEnabledLevel,
pub encryption_key_size: u8,
}Expand description
Encryption Change (v2) event ๐
Fieldsยง
ยงstatus: Statusstatus
handle: ConnHandlehandle
encryption_enabled: EncryptionEnabledLevelencryption_enabled
encryption_key_size: u8encryption_key_size
Trait Implementationsยง
Sourceยงimpl Clone for EncryptionChangeV2
impl Clone for EncryptionChangeV2
Sourceยงfn clone(&self) -> EncryptionChangeV2
fn clone(&self) -> EncryptionChangeV2
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 EncryptionChangeV2
impl Debug for EncryptionChangeV2
Sourceยงimpl<'a> EventParams<'a> for EncryptionChangeV2
impl<'a> EventParams<'a> for EncryptionChangeV2
Sourceยงconst EVENT_CODE: u8 = 0x59
const EVENT_CODE: u8 = 0x59
The event code these parameters are for
Sourceยงimpl<'a> FromHciBytes<'a> for EncryptionChangeV2
impl<'a> FromHciBytes<'a> for EncryptionChangeV2
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 EncryptionChangeV2
impl Hash for EncryptionChangeV2
impl Copy for EncryptionChangeV2
Auto Trait Implementationsยง
impl Freeze for EncryptionChangeV2
impl RefUnwindSafe for EncryptionChangeV2
impl Send for EncryptionChangeV2
impl Sync for EncryptionChangeV2
impl Unpin for EncryptionChangeV2
impl UnsafeUnpin for EncryptionChangeV2
impl UnwindSafe for EncryptionChangeV2
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