Struct bluenrg::event::AttReadPermitRequest [−][src]
pub struct AttReadPermitRequest { pub conn_handle: ConnectionHandle, pub attribute_handle: AttributeHandle, pub offset: usize, }
This event is given to the application when a read request or read blob 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 value of the handle if it desires and when done it has to use the
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 on which there was the request to read the attribute
attribute_handle: AttributeHandle
The handle of the attribute that has been requested by the client to be read.
offset: usize
Contains the offset from which the read has been requested.
Trait Implementations
impl Copy for AttReadPermitRequest
[src]
impl Copy for AttReadPermitRequest
impl Clone for AttReadPermitRequest
[src]
impl Clone for AttReadPermitRequest
fn clone(&self) -> AttReadPermitRequest
[src]
fn clone(&self) -> AttReadPermitRequest
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 AttReadPermitRequest
[src]
impl Debug for AttReadPermitRequest
Auto Trait Implementations
impl Send for AttReadPermitRequest
impl Send for AttReadPermitRequest
impl Sync for AttReadPermitRequest
impl Sync for AttReadPermitRequest