#[repr(C)]pub struct ble_gatt_attr {
pub handle: u16,
pub offset: u16,
pub om: *mut os_mbuf,
}
Expand description
Represents a GATT attribute.
Fields§
§handle: u16
The handle of the GATT attribute.
offset: u16
The offset of the data within the attribute.
om: *mut os_mbuf
Pointer to the data buffer represented by an os_mbuf.
Trait Implementations§
Source§impl Clone for ble_gatt_attr
impl Clone for ble_gatt_attr
Source§fn clone(&self) -> ble_gatt_attr
fn clone(&self) -> ble_gatt_attr
Returns a copy of the value. Read more
1.0.0§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_gatt_attr
impl Debug for ble_gatt_attr
Source§impl Default for ble_gatt_attr
impl Default for ble_gatt_attr
impl Copy for ble_gatt_attr
Auto Trait Implementations§
impl Freeze for ble_gatt_attr
impl RefUnwindSafe for ble_gatt_attr
impl !Send for ble_gatt_attr
impl !Sync for ble_gatt_attr
impl Unpin for ble_gatt_attr
impl UnwindSafe for ble_gatt_attr
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)