[][src]Struct apache_nimble_sys::ble_gap_event__bindgen_ty_1__bindgen_ty_4

#[repr(C)]pub struct ble_gap_event__bindgen_ty_1__bindgen_ty_4 {
    pub reason: c_int,
}

Represents a completed advertise procedure. Valid for the following event types: o BLE_GAP_EVENT_ADV_COMPLETE

Fields

reason: c_int

The reason the advertise procedure stopped. Typical reason codes are: o 0: Terminated due to connection. o BLE_HS_ETIMEOUT: Duration expired. o BLE_HS_EPREEMPTED: Host aborted procedure to configure a peer's identity.

Trait Implementations

impl Clone for ble_gap_event__bindgen_ty_1__bindgen_ty_4[src]

impl Copy for ble_gap_event__bindgen_ty_1__bindgen_ty_4[src]

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