Enum bluenrg::event::AttRequest [−][src]
#[repr(u8)]pub enum AttRequest { ErrorResponse, ExchangeMtuRequest, ExchangeMtuResponse, FindInformationRequest, FindInformationResponse, FindByTypeValueRequest, FindByTypeValueResponse, ReadByTypeRequest, ReadByTypeResponse, ReadRequest, ReadResponse, ReadBlobRequest, ReadBlobResponse, ReadMultipleRequest, ReadMultipleResponse, ReadByGroupTypeRequest, ReadByGroupTypeResponse, WriteRequest, WriteResponse, WriteCommand, SignedWriteCommand, PrepareWriteRequest, PrepareWriteResponse, ExecuteWriteRequest, ExecuteWriteResponse, HandleValueNotification, HandleValueIndication, HandleValueConfirmation, }
Possible ATT requests. See Table 3.37 in the Bluetooth Core Spec v4.1, Vol 3, Part F, Section 3.4.8.
Variants
ErrorResponse
Section 3.4.1.1
ExchangeMtuRequest
Section 3.4.2.1
ExchangeMtuResponse
Section 3.4.2.2
FindInformationRequest
Section 3.4.3.1
FindInformationResponse
Section 3.4.3.2
FindByTypeValueRequest
Section 3.4.3.3
FindByTypeValueResponse
Section 3.4.3.4
ReadByTypeRequest
Section 3.4.4.1
ReadByTypeResponse
Section 3.4.4.2
ReadRequest
Section 3.4.4.3
ReadResponse
Section 3.4.4.4
ReadBlobRequest
Section 3.4.4.5
ReadBlobResponse
Section 3.4.4.6
ReadMultipleRequest
Section 3.4.4.7
ReadMultipleResponse
Section 3.4.4.8
ReadByGroupTypeRequest
Section 3.4.4.9
ReadByGroupTypeResponse
Section 3.4.4.10
WriteRequest
Section 3.4.5.1
WriteResponse
Section 3.4.5.2
WriteCommand
Section 3.4.5.3
SignedWriteCommand
Section 3.4.5.4
PrepareWriteRequest
Section 3.4.6.1
PrepareWriteResponse
Section 3.4.6.2
ExecuteWriteRequest
Section 3.4.6.3
ExecuteWriteResponse
Section 3.4.6.4
HandleValueNotification
Section 3.4.7.1
HandleValueIndication
Section 3.4.7.2
HandleValueConfirmation
Section 3.4.7.3
Trait Implementations
impl Copy for AttRequest
[src]
impl Copy for AttRequest
impl Clone for AttRequest
[src]
impl Clone for AttRequest
fn clone(&self) -> AttRequest
[src]
fn clone(&self) -> AttRequest
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 AttRequest
[src]
impl Debug for AttRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for AttRequest
[src]
impl PartialEq for AttRequest
fn eq(&self, other: &AttRequest) -> bool
[src]
fn eq(&self, other: &AttRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl TryFrom<u8> for AttRequest
[src]
impl TryFrom<u8> for AttRequest
type Error = BlueNRGError
try_from
)The type returned in the event of a conversion error.
fn try_from(value: u8) -> Result<AttRequest, Self::Error>
[src]
fn try_from(value: u8) -> Result<AttRequest, Self::Error>
try_from
)Performs the conversion.
Auto Trait Implementations
impl Send for AttRequest
impl Send for AttRequest
impl Sync for AttRequest
impl Sync for AttRequest