#[repr(C)]pub struct bt_data {
pub type_: u8,
pub data_len: u8,
pub data: *const u8,
}
Expand description
@brief Bluetooth data.
Description of different data types that can be encoded into advertising data. Used to form arrays that are passed to the bt_le_adv_start() function.
Fields§
§type_: u8
§data_len: u8
§data: *const u8
Trait Implementations§
Auto Trait Implementations§
impl Freeze for bt_data
impl RefUnwindSafe for bt_data
impl !Send for bt_data
impl !Sync for bt_data
impl Unpin for bt_data
impl UnwindSafe for bt_data
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