pub struct EncryptionParameters {
pub conn_handle: ConnectionHandle,
pub random_number: u64,
pub encrypted_diversifier: u16,
pub long_term_key: EncryptionKey,
}
Expand description
Parameters for the le_start_encryption
command.
Fields§
§conn_handle: ConnectionHandle
ID for the connection.
random_number: u64
Random value distrubuted by the peripheral during pairing
encrypted_diversifier: u16
Encrypted diversifier distrubuted by the peripheral during pairing
long_term_key: EncryptionKey
Encryption key, distributed by the host.
Auto Trait Implementations§
impl Freeze for EncryptionParameters
impl RefUnwindSafe for EncryptionParameters
impl Send for EncryptionParameters
impl Sync for EncryptionParameters
impl Unpin for EncryptionParameters
impl UnwindSafe for EncryptionParameters
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