[][src]Union apache_nimble_sys::ble_l2cap_event__bindgen_ty_1

#[repr(C)]pub union ble_l2cap_event__bindgen_ty_1 {
    pub connect: ble_l2cap_event__bindgen_ty_1__bindgen_ty_1,
    pub disconnect: ble_l2cap_event__bindgen_ty_1__bindgen_ty_2,
    pub accept: ble_l2cap_event__bindgen_ty_1__bindgen_ty_3,
    pub receive: ble_l2cap_event__bindgen_ty_1__bindgen_ty_4,
    pub tx_unstalled: ble_l2cap_event__bindgen_ty_1__bindgen_ty_5,
    pub reconfigured: ble_l2cap_event__bindgen_ty_1__bindgen_ty_6,
    // some fields omitted
}

A discriminated union containing additional details concerning the L2CAP event. The 'type' field indicates which member of the union is valid.

Fields

connect: ble_l2cap_event__bindgen_ty_1__bindgen_ty_1disconnect: ble_l2cap_event__bindgen_ty_1__bindgen_ty_2accept: ble_l2cap_event__bindgen_ty_1__bindgen_ty_3receive: ble_l2cap_event__bindgen_ty_1__bindgen_ty_4tx_unstalled: ble_l2cap_event__bindgen_ty_1__bindgen_ty_5reconfigured: ble_l2cap_event__bindgen_ty_1__bindgen_ty_6

Trait Implementations

impl Clone for ble_l2cap_event__bindgen_ty_1[src]

impl Copy for ble_l2cap_event__bindgen_ty_1[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.