Struct esp_idf_sys::ble_store_value_cccd
source · #[repr(C, align(4))]pub struct ble_store_value_cccd {
pub peer_addr: ble_addr_t,
pub chr_val_handle: u16,
pub flags: u16,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 3],
}
Expand description
Represents a stored client characteristic configuration descriptor (CCCD). This struct corresponds to the BLE_STORE_OBJ_TYPE_CCCD store object type.
Fields§
§peer_addr: ble_addr_t
§chr_val_handle: u16
§flags: u16
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: [u8; 3]
Implementations§
source§impl ble_store_value_cccd
impl ble_store_value_cccd
pub fn value_changed(&self) -> c_uint
pub fn set_value_changed(&mut self, val: c_uint)
pub fn new_bitfield_1(value_changed: c_uint) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
source§impl Clone for ble_store_value_cccd
impl Clone for ble_store_value_cccd
source§fn clone(&self) -> ble_store_value_cccd
fn clone(&self) -> ble_store_value_cccd
Returns a copy of the value. Read more
1.0.0§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_value_cccd
impl Debug for ble_store_value_cccd
source§impl Default for ble_store_value_cccd
impl Default for ble_store_value_cccd
source§fn default() -> ble_store_value_cccd
fn default() -> ble_store_value_cccd
Returns the “default value” for a type. Read more
impl Copy for ble_store_value_cccd
Auto Trait Implementations§
impl Freeze for ble_store_value_cccd
impl RefUnwindSafe for ble_store_value_cccd
impl Send for ble_store_value_cccd
impl Sync for ble_store_value_cccd
impl Unpin for ble_store_value_cccd
impl UnwindSafe for ble_store_value_cccd
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)