[−][src]Struct bluenrg::event::GattAttributeModified
This event is generated to the application by the ATT server when a client modifies any attribute on the server, as consequence of one of the following ATT procedures:
- write without response
- signed write without response
- write characteristic value
- write long characteristic value
- reliable write
Fields
conn_handle: ConnectionHandle
The connection handle which modified the attribute
attr_handle: AttributeHandle
Handle of the attribute that was modified
offset: usize
Offset of the reported value inside the attribute.
continued: bool
If the entire value of the attribute does not fit inside a single GattAttributeModified event, this is true to notify that other GattAttributeModified events will follow to report the remaining value.
Implementations
impl GattAttributeModified
[src]
pub fn data(&self) -> &[u8]
[src]
Returns the valid attribute data returned by the ATT attribute modified event as a slice of bytes.
Trait Implementations
impl Clone for GattAttributeModified
[src]
fn clone(&self) -> GattAttributeModified
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for GattAttributeModified
[src]
impl Debug for GattAttributeModified
[src]
Auto Trait Implementations
impl Send for GattAttributeModified
impl Sync for GattAttributeModified
impl Unpin for GattAttributeModified
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>,