pub struct AttReadMultiplePermitRequest {
pub conn_handle: ConnectionHandle,
/* private fields */
}
Expand description
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§
Source§impl AttReadMultiplePermitRequest
impl AttReadMultiplePermitRequest
Sourcepub fn handles(&self) -> &[AttributeHandle]
pub fn handles(&self) -> &[AttributeHandle]
Returns the valid attribute handles returned by the ATT Read Multiple Permit Request event.
Trait Implementations§
Source§impl Clone for AttReadMultiplePermitRequest
impl Clone for AttReadMultiplePermitRequest
Source§fn clone(&self) -> AttReadMultiplePermitRequest
fn clone(&self) -> AttReadMultiplePermitRequest
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 AttReadMultiplePermitRequest
impl Debug for AttReadMultiplePermitRequest
impl Copy for AttReadMultiplePermitRequest
Auto Trait Implementations§
impl Freeze for AttReadMultiplePermitRequest
impl RefUnwindSafe for AttReadMultiplePermitRequest
impl Send for AttReadMultiplePermitRequest
impl Sync for AttReadMultiplePermitRequest
impl Unpin for AttReadMultiplePermitRequest
impl UnwindSafe for AttReadMultiplePermitRequest
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