#[repr(C)]pub struct name_uuid {
pub name: *const u8,
pub uuid: u16,
}
Expand description
@brief This structure maps handler required by protocomm layer to UUIDs which are used to uniquely identify BLE characteristics from a smartphone or a similar client device.
Fields§
§name: *const u8
Name of the handler, which is passed to protocomm layer
uuid: u16
UUID to be assigned to the BLE characteristic which is mapped to the handler
Trait Implementations§
impl Copy for name_uuid
Auto Trait Implementations§
impl Freeze for name_uuid
impl RefUnwindSafe for name_uuid
impl !Send for name_uuid
impl !Sync for name_uuid
impl Unpin for name_uuid
impl UnwindSafe for name_uuid
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)