[−][src]Struct apache_nimble_sys::ble_store_value_sec
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_1: __BindgenBitfieldUnit<[u8; 1], u8>
irk: [u8; 16]
_bitfield_2: __BindgenBitfieldUnit<[u8; 1], u8>
csrk: [u8; 16]
_bitfield_3: __BindgenBitfieldUnit<[u8; 1], u8>
__bindgen_padding_0: u8
Implementations
impl ble_store_value_sec
[src]
pub fn ltk_present(&self) -> u8
[src]
pub fn set_ltk_present(&mut self, val: u8)
[src]
pub fn new_bitfield_1(ltk_present: u8) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]
pub fn irk_present(&self) -> u8
[src]
pub fn set_irk_present(&mut self, val: u8)
[src]
pub fn new_bitfield_2(irk_present: u8) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]
pub fn csrk_present(&self) -> u8
[src]
pub fn set_csrk_present(&mut self, val: u8)
[src]
pub fn authenticated(&self) -> c_uint
[src]
pub fn set_authenticated(&mut self, val: c_uint)
[src]
pub fn sc(&self) -> u8
[src]
pub fn set_sc(&mut self, val: u8)
[src]
pub fn new_bitfield_3(
csrk_present: u8,
authenticated: c_uint,
sc: u8
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]
csrk_present: u8,
authenticated: c_uint,
sc: u8
) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations
impl Clone for ble_store_value_sec
[src]
fn clone(&self) -> ble_store_value_sec
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ble_store_value_sec
[src]
impl Debug for ble_store_value_sec
[src]
Auto Trait Implementations
impl Send for ble_store_value_sec
impl Sync for ble_store_value_sec
impl Unpin for ble_store_value_sec
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>,