[][src]Struct apache_nimble_sys::ble_gap_event__bindgen_ty_1__bindgen_ty_2

#[repr(C)]pub struct ble_gap_event__bindgen_ty_1__bindgen_ty_2 {
    pub reason: c_int,
    pub conn: ble_gap_conn_desc,
}

Represents a terminated connection. Valid for the following event types: o BLE_GAP_EVENT_DISCONNECT

Fields

reason: c_int

A BLE host return code indicating the reason for the disconnect.

conn: ble_gap_conn_desc

Information about the connection prior to termination.

Trait Implementations

impl Clone for ble_gap_event__bindgen_ty_1__bindgen_ty_2[src]

impl Copy for ble_gap_event__bindgen_ty_1__bindgen_ty_2[src]

impl Debug for ble_gap_event__bindgen_ty_1__bindgen_ty_2[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.