Struct nrf_softdevice_s122::ble_gatts_value_t
source · #[repr(C)]pub struct ble_gatts_value_t {
pub len: u16,
pub offset: u16,
pub p_value: *mut u8,
}
Expand description
@brief GATT Attribute Value.
Fields§
§len: u16
< Length in bytes to be written or read. Length in bytes written or read after successful return.
offset: u16
< Attribute value offset.
p_value: *mut u8
< Pointer to where value is stored or will be stored. If value is stored in user memory, only the attribute length is updated when p_value == NULL. Set to NULL when reading to obtain the complete length of the attribute value
Trait Implementations§
source§impl Clone for ble_gatts_value_t
impl Clone for ble_gatts_value_t
source§fn clone(&self) -> ble_gatts_value_t
fn clone(&self) -> ble_gatts_value_t
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ble_gatts_value_t
impl Debug for ble_gatts_value_t
impl Copy for ble_gatts_value_t
Auto Trait Implementations§
impl RefUnwindSafe for ble_gatts_value_t
impl !Send for ble_gatts_value_t
impl !Sync for ble_gatts_value_t
impl Unpin for ble_gatts_value_t
impl UnwindSafe for ble_gatts_value_t
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more