pub struct NativeChannelEvents { /* private fields */ }Expand description
Independent bounded native channel event receiver.
Implementations§
Source§impl NativeChannelEvents
impl NativeChannelEvents
Sourcepub async fn next(&mut self) -> Result<ChannelEvent, NativeEventError>
pub async fn next(&mut self) -> Result<ChannelEvent, NativeEventError>
Waits for the next channel event.
Auto Trait Implementations§
impl Freeze for NativeChannelEvents
impl RefUnwindSafe for NativeChannelEvents
impl Send for NativeChannelEvents
impl Sync for NativeChannelEvents
impl Unpin for NativeChannelEvents
impl UnsafeUnpin for NativeChannelEvents
impl UnwindSafe for NativeChannelEvents
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