[][src]Struct apache_nimble_sys::ble_l2cap_event__bindgen_ty_1__bindgen_ty_5

#[repr(C)]pub struct ble_l2cap_event__bindgen_ty_1__bindgen_ty_5 {
    pub conn_handle: u16,
    pub chan: *mut ble_l2cap_chan,
    pub status: c_int,
}

Represents tx_unstalled data. Valid for the following event types: o BLE_L2CAP_EVENT_COC_TX_UNSTALLED

Fields

conn_handle: u16

Connection handle of the relevant connection

chan: *mut ble_l2cap_chan

The L2CAP channel of the relevant L2CAP connection.

status: c_int

The status of the send attempt which was stalled due to lack of credits; This can be non zero only if there is an issue with memory allocation for following SDU fragments. In such a case last SDU has been partially sent to peer device and it is up to application to decide how to handle it.

Trait Implementations

impl Clone for ble_l2cap_event__bindgen_ty_1__bindgen_ty_5[src]

impl Copy for ble_l2cap_event__bindgen_ty_1__bindgen_ty_5[src]

impl Debug for ble_l2cap_event__bindgen_ty_1__bindgen_ty_5[src]

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.