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