[][src]Enum bluenrg::event::L2CapRejectionReason

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 Clone for L2CapRejectionReason[src]

impl Copy for L2CapRejectionReason[src]

impl Debug for L2CapRejectionReason[src]

impl PartialEq<L2CapRejectionReason> for L2CapRejectionReason[src]

impl StructuralPartialEq for L2CapRejectionReason[src]

impl TryFrom<u16> for L2CapRejectionReason[src]

type Error = BlueNRGError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.