#[repr(C)]
pub struct ble_store_key_cccd { pub peer_addr: ble_addr_t, pub chr_val_handle: u16, pub idx: u8, }
Expand description

Used as a key for lookups of stored client characteristic configuration descriptors (CCCDs). This struct corresponds to the BLE_STORE_OBJ_TYPE_CCCD store object type.

Fields

peer_addr: ble_addr_t

Key by peer identity address; peer_addr=BLE_ADDR_NONE means don’t key off peer.

chr_val_handle: u16

Key by characteristic value handle; chr_val_handle=0 means don’t key off characteristic handle.

idx: u8

Number of results to skip; 0 means retrieve the first match.

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.