Trait AsyncSourceExt

Source
pub trait AsyncSourceExt: AsyncSource {
    // Provided method
    fn next(&mut self) -> Next<'_, Self> 
       where Self: Unpin { ... }
}
Expand description

Extension trait for AsyncSource.

Provided Methods§

Source

fn next(&mut self) -> Next<'_, Self>
where Self: Unpin,

The asynchronous version of next().

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§