[][src]Struct bluenrg::event::AttReadMultiplePermitRequest

pub struct AttReadMultiplePermitRequest {
    pub conn_handle: ConnectionHandle,
    // some fields omitted
}

This event is given to the application when a read multiple request or read by type request is received by the server from the client. This event will be given to the application only if the event bit for this event generation is set when the characteristic was added. On receiving this event, the application can update the values of the handles if it desires and when done it has to send the gatt_allow_read command to indicate to the stack that it can send the response to the client.

See the Bluetooth Core v4.1 spec, Vol 3, Part F, section 3.4.4.

Fields

conn_handle: ConnectionHandle

Handle of the connection which requested to read the attribute.

Implementations

impl AttReadMultiplePermitRequest[src]

pub fn handles(&self) -> &[AttributeHandle][src]

Returns the valid attribute handles returned by the ATT Read Multiple Permit Request event.

Trait Implementations

impl Clone for AttReadMultiplePermitRequest[src]

impl Copy for AttReadMultiplePermitRequest[src]

impl Debug for AttReadMultiplePermitRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.