#[repr(C)]pub struct ble_gap_sec_keyset_t {
pub keys_own: ble_gap_sec_keys_t,
pub keys_peer: ble_gap_sec_keys_t,
}
Expand description
@brief Security key set for both local and peer keys.
Fields§
§keys_own: ble_gap_sec_keys_t
< Keys distributed by the local device. For LE Secure Connections the encryption key will be generated locally and will always be stored if bonding.
keys_peer: ble_gap_sec_keys_t
< Keys distributed by the remote device. For LE Secure Connections, p_enc_key must always be NULL.
Trait Implementations§
source§impl Clone for ble_gap_sec_keyset_t
impl Clone for ble_gap_sec_keyset_t
source§fn clone(&self) -> ble_gap_sec_keyset_t
fn clone(&self) -> ble_gap_sec_keyset_t
Returns a copy 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 Debug for ble_gap_sec_keyset_t
impl Debug for ble_gap_sec_keyset_t
impl Copy for ble_gap_sec_keyset_t
Auto Trait Implementations§
impl RefUnwindSafe for ble_gap_sec_keyset_t
impl !Send for ble_gap_sec_keyset_t
impl !Sync for ble_gap_sec_keyset_t
impl Unpin for ble_gap_sec_keyset_t
impl UnwindSafe for ble_gap_sec_keyset_t
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