pub trait PollSourceExt: UnpinPipe<In = (), Err = Exhausted> + Sized {
// Provided methods
fn into_stream(self) -> AsStream<Self> { ... }
fn as_stream(&mut self) -> AsStream<&mut Self> { ... }
}Expand description
Provided Methods§
Sourcefn into_stream(self) -> AsStream<Self>
fn into_stream(self) -> AsStream<Self>
Owns self, wrapping it as a futures::Stream.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".