Enum bluenrg::event::L2CapRejectionReason [−][src]
pub enum L2CapRejectionReason { CommandNotUnderstood, SignalingMtuExceeded, InvalidCid, }
Reasons why an L2CAP command was rejected. see the Bluetooth specification, v4.1, Vol 3, Part A, Section 4.1.
Variants
CommandNotUnderstood
The controller sent an unknown command.
SignalingMtuExceeded
When multiple commands are included in an L2CAP packet and the packet exceeds the signaling MTU (MTUsig) of the receiver, a single Command Reject packet shall be sent in response.
InvalidCid
Invalid CID in request
Trait Implementations
impl Copy for L2CapRejectionReason
[src]
impl Copy for L2CapRejectionReason
impl Clone for L2CapRejectionReason
[src]
impl Clone for L2CapRejectionReason
fn clone(&self) -> L2CapRejectionReason
[src]
fn clone(&self) -> L2CapRejectionReason
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for L2CapRejectionReason
[src]
impl Debug for L2CapRejectionReason
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 L2CapRejectionReason
[src]
impl PartialEq for L2CapRejectionReason
fn eq(&self, other: &L2CapRejectionReason) -> bool
[src]
fn eq(&self, other: &L2CapRejectionReason) -> 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
1.0.0
[src]This method tests for !=
.
impl TryFrom<u16> for L2CapRejectionReason
[src]
impl TryFrom<u16> for L2CapRejectionReason
type Error = BlueNRGError
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: u16) -> Result<L2CapRejectionReason, Self::Error>
[src]
fn try_from(value: u16) -> Result<L2CapRejectionReason, Self::Error>
🔬 This is a nightly-only experimental API. (
try_from
)Performs the conversion.
Auto Trait Implementations
impl Send for L2CapRejectionReason
impl Send for L2CapRejectionReason
impl Sync for L2CapRejectionReason
impl Sync for L2CapRejectionReason