Struct bluenrg::event::AttReadMultiplePermitRequest [−][src]
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.
Methods
impl AttReadMultiplePermitRequest
[src]
impl AttReadMultiplePermitRequest
pub fn handles(&self) -> &[AttributeHandle]
[src]
pub fn handles(&self) -> &[AttributeHandle]
Returns the valid attribute handles returned by the ATT Read Multiple Permit Request event.
Trait Implementations
impl Copy for AttReadMultiplePermitRequest
[src]
impl Copy for AttReadMultiplePermitRequest
impl Clone for AttReadMultiplePermitRequest
[src]
impl Clone for AttReadMultiplePermitRequest
fn clone(&self) -> AttReadMultiplePermitRequest
[src]
fn clone(&self) -> AttReadMultiplePermitRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for AttReadMultiplePermitRequest
[src]
impl Debug for AttReadMultiplePermitRequest
Auto Trait Implementations
impl Send for AttReadMultiplePermitRequest
impl Send for AttReadMultiplePermitRequest
impl Sync for AttReadMultiplePermitRequest
impl Sync for AttReadMultiplePermitRequest