pub struct ChannelEvents { /* private fields */ }Expand description
Independent bounded stream of ChannelEvent values.
Implementations§
Source§impl ChannelEvents
impl ChannelEvents
Sourcepub async fn next(&mut self) -> Option<ChannelEvent>
pub async fn next(&mut self) -> Option<ChannelEvent>
Returns the next channel event or None after the driver stops.
Auto Trait Implementations§
impl Freeze for ChannelEvents
impl !RefUnwindSafe for ChannelEvents
impl Send for ChannelEvents
impl Sync for ChannelEvents
impl Unpin for ChannelEvents
impl UnsafeUnpin for ChannelEvents
impl !UnwindSafe for ChannelEvents
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