pub struct NotificationListener<'lst, const MTU: usize> { /* private fields */ }
Expand description
Notification listener for GATT client.
Implementations§
Source§impl<'lst, const MTU: usize> NotificationListener<'lst, MTU>
impl<'lst, const MTU: usize> NotificationListener<'lst, MTU>
Sourcepub async fn next(&mut self) -> Notification<MTU>
pub async fn next(&mut self) -> Notification<MTU>
Get the next (len: u16, Packet) tuple from the rx queue
Auto Trait Implementations§
impl<'lst, const MTU: usize> Freeze for NotificationListener<'lst, MTU>
impl<'lst, const MTU: usize> !RefUnwindSafe for NotificationListener<'lst, MTU>
impl<'lst, const MTU: usize> !Send for NotificationListener<'lst, MTU>
impl<'lst, const MTU: usize> !Sync for NotificationListener<'lst, MTU>
impl<'lst, const MTU: usize> Unpin for NotificationListener<'lst, MTU>
impl<'lst, const MTU: usize> !UnwindSafe for NotificationListener<'lst, MTU>
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