Struct esp_idf_sys::ble_l2cap_event
source · #[repr(C)]pub struct ble_l2cap_event {
pub type_: u8,
pub __bindgen_anon_1: ble_l2cap_event__bindgen_ty_1,
}
Expand description
Represents a L2CAP-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_: u8
Indicates the type of L2CAP event that occurred. This is one of the BLE_L2CAP_EVENT codes.
__bindgen_anon_1: ble_l2cap_event__bindgen_ty_1
Trait Implementations§
source§impl Clone for ble_l2cap_event
impl Clone for ble_l2cap_event
source§fn clone(&self) -> ble_l2cap_event
fn clone(&self) -> ble_l2cap_event
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_l2cap_event
impl Default for ble_l2cap_event
impl Copy for ble_l2cap_event
Auto Trait Implementations§
impl Freeze for ble_l2cap_event
impl RefUnwindSafe for ble_l2cap_event
impl !Send for ble_l2cap_event
impl !Sync for ble_l2cap_event
impl Unpin for ble_l2cap_event
impl UnwindSafe for ble_l2cap_event
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
)