#[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§
Source§impl Clone for ble_store_key_cccd
impl Clone for ble_store_key_cccd
Source§fn clone(&self) -> ble_store_key_cccd
fn clone(&self) -> ble_store_key_cccd
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ble_store_key_cccd
impl Debug for ble_store_key_cccd
Source§impl Default for ble_store_key_cccd
impl Default for ble_store_key_cccd
Source§fn default() -> ble_store_key_cccd
fn default() -> ble_store_key_cccd
Returns the “default value” for a type. Read more
impl Copy for ble_store_key_cccd
Auto Trait Implementations§
impl Freeze for ble_store_key_cccd
impl RefUnwindSafe for ble_store_key_cccd
impl Send for ble_store_key_cccd
impl Sync for ble_store_key_cccd
impl Unpin for ble_store_key_cccd
impl UnwindSafe for ble_store_key_cccd
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 12 bytes