Struct riot_sys::ble_store_key_sec[][src]

#[repr(C)]
pub struct ble_store_key_sec { pub peer_addr: ble_addr_t, pub ediv: u16, pub rand_num: u64, pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>, pub idx: u8, }
Expand description

Used as a key for lookups of 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 by peer identity address; peer_addr=BLE_ADDR_NONE means don’t key off peer.

ediv: u16

Key by ediv; ediv_rand_present=0 means don’t key off ediv.

rand_num: u64

Key by rand_num; ediv_rand_present=0 means don’t key off rand_num.

_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>idx: u8

Number of results to skip; 0 means retrieve the first match.

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

Performs the conversion.

Performs the conversion.

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.