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

The controller sent an unknown command.

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.

Invalid CID in request

Trait Implementations

impl Copy for L2CapRejectionReason
[src]

impl Clone for L2CapRejectionReason
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for L2CapRejectionReason
[src]

Formats the value using the given formatter. Read more

impl PartialEq for L2CapRejectionReason
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl TryFrom<u16> for L2CapRejectionReason
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

Auto Trait Implementations