#[repr(C)]
pub struct ble_store_value_sec {
Show 14 fields pub peer_addr: ble_addr_t, pub key_size: u8, pub ediv: u16, pub rand_num: u64, pub ltk: [u8; 16], pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>, pub irk: [u8; 16], pub _bitfield_align_2: [u8; 0], pub _bitfield_2: __BindgenBitfieldUnit<[u8; 1]>, pub csrk: [u8; 16], pub _bitfield_align_3: [u8; 0], pub _bitfield_3: __BindgenBitfieldUnit<[u8; 1]>, pub __bindgen_padding_0: [u8; 5],
}
Expand description

Represents stored security material. This struct corresponds to the following store object types: o BLE_STORE_OBJ_TYPE_OUR_SEC o BLE_STORE_OBJ_TYPE_PEER_SEC

Fields§

§peer_addr: ble_addr_t§key_size: u8§ediv: u16§rand_num: u64§ltk: [u8; 16]§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§irk: [u8; 16]§_bitfield_align_2: [u8; 0]§_bitfield_2: __BindgenBitfieldUnit<[u8; 1]>§csrk: [u8; 16]§_bitfield_align_3: [u8; 0]§_bitfield_3: __BindgenBitfieldUnit<[u8; 1]>§__bindgen_padding_0: [u8; 5]

Implementations§

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.