#[repr(C)]pub struct ble_gap_event {
pub type_: u8,
pub __bindgen_anon_1: ble_gap_event__bindgen_ty_1,
}Expand description
Represents a GAP-related event. When such an event occurs, the host notifies the application by passing an instance of this structure to an application-specified callback.
Fields§
§type_: u8Indicates the type of GAP event that occurred. This is one of the BLE_GAP_EVENT codes.
__bindgen_anon_1: ble_gap_event__bindgen_ty_1Trait Implementations§
Source§impl Clone for ble_gap_event
impl Clone for ble_gap_event
Source§fn clone(&self) -> ble_gap_event
fn clone(&self) -> ble_gap_event
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 moreimpl Copy for ble_gap_event
Auto Trait Implementations§
impl Freeze for ble_gap_event
impl RefUnwindSafe for ble_gap_event
impl !Send for ble_gap_event
impl !Sync for ble_gap_event
impl Unpin for ble_gap_event
impl UnwindSafe for ble_gap_event
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