Struct riot_wrappers::bluetil::Ad
source · pub struct Ad<B: AsRef<[u8]>>(/* private fields */);
Available on
riot_module_bluetil_ad
only.Expand description
Wrapper around bluetil_ad (BLE Advertising Data)
This is implemented as a possibly owned buffer, as that should make usage straightforward both for read-only data (not practically usable yet) and for writing; it remains to be seen whether that’s viable.
Implementations§
source§impl<const L: usize> Ad<Vec<u8, L>>
impl<const L: usize> Ad<Vec<u8, L>>
Auto Trait Implementations§
impl<B> RefUnwindSafe for Ad<B>where
B: RefUnwindSafe,
impl<B> Send for Ad<B>where
B: Send,
impl<B> Sync for Ad<B>where
B: Sync,
impl<B> Unpin for Ad<B>where
B: Unpin,
impl<B> UnwindSafe for Ad<B>where
B: UnwindSafe,
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