pub struct GattReadExt {
pub conn_handle: ConnectionHandle,
pub offset: u16,
/* private fields */
}
Expand description
Defines data returned by GATT Read Ext event
Fields§
§conn_handle: ConnectionHandle
The connection handle related to the event.
offset: u16
- Bits 14-0: offset in octets from which Attribute_Value data starts.
- Bit 15 is used as flag: when set to 1 it indicates that more data are to come (fragmented event in case of long attribute data).
Implementations§
Trait Implementations§
Source§impl Clone for GattReadExt
impl Clone for GattReadExt
Source§fn clone(&self) -> GattReadExt
fn clone(&self) -> GattReadExt
Returns a duplicate 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 GattReadExt
impl Debug for GattReadExt
impl Copy for GattReadExt
Auto Trait Implementations§
impl Freeze for GattReadExt
impl RefUnwindSafe for GattReadExt
impl Send for GattReadExt
impl Sync for GattReadExt
impl Unpin for GattReadExt
impl UnwindSafe for GattReadExt
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