[−][src]Struct apache_nimble_sys::ble_store_key_sec
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
impl ble_store_key_sec
[src]
pub fn ediv_rand_present(&self) -> c_uint
[src]
pub fn set_ediv_rand_present(&mut self, val: c_uint)
[src]
pub fn new_bitfield_1(
ediv_rand_present: c_uint
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]
ediv_rand_present: c_uint
) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations
impl Clone for ble_store_key_sec
[src]
fn clone(&self) -> ble_store_key_sec
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ble_store_key_sec
[src]
impl Debug for ble_store_key_sec
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,