[−][src]Struct nrf_softdevice_s132::ble_gatts_attr_md_t
@brief Attribute metadata.
Fields
read_perm: ble_gap_conn_sec_mode_t
< Read permissions.
write_perm: ble_gap_conn_sec_mode_t
< Write permissions.
_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>
Implementations
impl ble_gatts_attr_md_t
[src]
pub fn vlen(&self) -> u8
[src]
pub fn set_vlen(&mut self, val: u8)
[src]
pub fn vloc(&self) -> u8
[src]
pub fn set_vloc(&mut self, val: u8)
[src]
pub fn rd_auth(&self) -> u8
[src]
pub fn set_rd_auth(&mut self, val: u8)
[src]
pub fn wr_auth(&self) -> u8
[src]
pub fn set_wr_auth(&mut self, val: u8)
[src]
pub fn new_bitfield_1(
vlen: u8,
vloc: u8,
rd_auth: u8,
wr_auth: u8
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]
vlen: u8,
vloc: u8,
rd_auth: u8,
wr_auth: u8
) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations
impl Clone for ble_gatts_attr_md_t
[src]
fn clone(&self) -> ble_gatts_attr_md_t
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ble_gatts_attr_md_t
[src]
impl Debug for ble_gatts_attr_md_t
[src]
Auto Trait Implementations
impl Send for ble_gatts_attr_md_t
impl Sync for ble_gatts_attr_md_t
impl Unpin for ble_gatts_attr_md_t
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>,