pub struct NotificationListener { /* private fields */ }Expand description
A receiver for BACnet notifications dispatched by a listener loop.
Implementations§
Source§impl NotificationListener
impl NotificationListener
Sourcepub async fn recv(&mut self) -> Option<Notification>
pub async fn recv(&mut self) -> Option<Notification>
Receive the next notification, waiting indefinitely.
Auto Trait Implementations§
impl Freeze for NotificationListener
impl RefUnwindSafe for NotificationListener
impl Send for NotificationListener
impl Sync for NotificationListener
impl Unpin for NotificationListener
impl UnwindSafe for NotificationListener
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