Struct riot_sys::ble_gatt_register_ctxt[][src]

#[repr(C)]
pub struct ble_gatt_register_ctxt { pub op: u8, pub __bindgen_anon_1: ble_gatt_register_ctxt__bindgen_ty_1, }
Expand description

Context passed to the registration callback; represents the GATT service, characteristic, or descriptor being registered.

Fields

op: u8

Indicates the gatt registration operation just performed. This is equal to one of the following values: o BLE_GATT_REGISTER_OP_SVC o BLE_GATT_REGISTER_OP_CHR o BLE_GATT_REGISTER_OP_DSC

__bindgen_anon_1: ble_gatt_register_ctxt__bindgen_ty_1

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.