pub struct AttributeValueExt {
pub conn_handle: ConnectionHandle,
pub attribute_handle: AttributeHandle,
pub offset: u16,
/* private fields */
}
Expand description
Defines data returned by GATT Indication Ext or GATT Notification Ext event
Fields§
§conn_handle: ConnectionHandle
The connection handle related to the event.
attribute_handle: AttributeHandle
The handle of the attribute
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 AttributeValueExt
impl Clone for AttributeValueExt
Source§fn clone(&self) -> AttributeValueExt
fn clone(&self) -> AttributeValueExt
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 AttributeValueExt
impl Debug for AttributeValueExt
impl Copy for AttributeValueExt
Auto Trait Implementations§
impl Freeze for AttributeValueExt
impl RefUnwindSafe for AttributeValueExt
impl Send for AttributeValueExt
impl Sync for AttributeValueExt
impl Unpin for AttributeValueExt
impl UnwindSafe for AttributeValueExt
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