#[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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.