[][src]Struct apache_nimble_sys::ble_gatt_dsc_def

#[repr(C)]pub struct ble_gatt_dsc_def {
    pub uuid: *const ble_uuid_t,
    pub att_flags: u8,
    pub min_key_size: u8,
    pub access_cb: ble_gatt_access_fn,
    pub arg: *mut c_void,
}

Fields

uuid: *const ble_uuid_t

Pointer to descriptor UUID; use BLE_UUIDxx_DECLARE macros to declare proper UUID; NULL if there are no more characteristics in the service.

att_flags: u8

Specifies the set of permitted operations for this descriptor.

min_key_size: u8

Specifies minimum required key size to access this descriptor.

access_cb: ble_gatt_access_fn

Callback that gets executed when the descriptor is read or written.

arg: *mut c_void

Optional argument for callback.

Trait Implementations

impl Clone for ble_gatt_dsc_def[src]

impl Copy for ble_gatt_dsc_def[src]

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