Struct nrf_softdevice_s112::ble_gap_sec_kdist_t
source · #[repr(C, packed)]pub struct ble_gap_sec_kdist_t {
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
}
Expand description
@brief Keys that can be exchanged during a bonding procedure.
Fields§
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>
Implementations§
source§impl ble_gap_sec_kdist_t
impl ble_gap_sec_kdist_t
pub fn enc(&self) -> u8
pub fn set_enc(&mut self, val: u8)
pub fn id(&self) -> u8
pub fn set_id(&mut self, val: u8)
pub fn sign(&self) -> u8
pub fn set_sign(&mut self, val: u8)
pub fn link(&self) -> u8
pub fn set_link(&mut self, val: u8)
pub fn new_bitfield_1(
enc: u8,
id: u8,
sign: u8,
link: u8
) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations§
source§impl Clone for ble_gap_sec_kdist_t
impl Clone for ble_gap_sec_kdist_t
source§fn clone(&self) -> ble_gap_sec_kdist_t
fn clone(&self) -> ble_gap_sec_kdist_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 more