[][src]Union apache_nimble_sys::ble_gatt_access_ctxt__bindgen_ty_1

#[repr(C)]pub union ble_gatt_access_ctxt__bindgen_ty_1 {
    pub chr: *const ble_gatt_chr_def,
    pub dsc: *const ble_gatt_dsc_def,
    // some fields omitted
}

The GATT operation being performed dictates which field in this union is valid. If a characteristic is being accessed, the chr field is valid. Otherwise a descriptor is being accessed, in which case the dsc field is valid.

Fields

chr: *const ble_gatt_chr_def

The characteristic definition corresponding to the characteristic being accessed. This is what the app registered at startup.

dsc: *const ble_gatt_dsc_def

The descriptor definition corresponding to the descriptor being accessed. This is what the app registered at startup.

Trait Implementations

impl Clone for ble_gatt_access_ctxt__bindgen_ty_1[src]

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