#[repr(C)]
pub union ble_gatt_access_ctxt__bindgen_ty_1 {
pub chr: *const ble_gatt_chr_def,
pub dsc: *const ble_gatt_dsc_def,
}
Expand description
The GATT operation being performed dictates which field in this union is valid. If a characteristic is being accessed, the chr field is valid. Otherwise a descriptor is being accessed, in which case the dsc field is valid.
Fields§
§chr: *const ble_gatt_chr_def
The characteristic definition corresponding to the characteristic being accessed. This is what the app registered at startup.
dsc: *const ble_gatt_dsc_def
The descriptor definition corresponding to the descriptor being accessed. This is what the app registered at startup.
Trait Implementations§
source§impl Clone for ble_gatt_access_ctxt__bindgen_ty_1
impl Clone for ble_gatt_access_ctxt__bindgen_ty_1
source§fn clone(&self) -> ble_gatt_access_ctxt__bindgen_ty_1
fn clone(&self) -> ble_gatt_access_ctxt__bindgen_ty_1
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 Default for ble_gatt_access_ctxt__bindgen_ty_1
impl Default for ble_gatt_access_ctxt__bindgen_ty_1
impl Copy for ble_gatt_access_ctxt__bindgen_ty_1
Auto Trait Implementations§
impl Freeze for ble_gatt_access_ctxt__bindgen_ty_1
impl RefUnwindSafe for ble_gatt_access_ctxt__bindgen_ty_1
impl !Send for ble_gatt_access_ctxt__bindgen_ty_1
impl !Sync for ble_gatt_access_ctxt__bindgen_ty_1
impl Unpin for ble_gatt_access_ctxt__bindgen_ty_1
impl UnwindSafe for ble_gatt_access_ctxt__bindgen_ty_1
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
)