[][src]Trait futures::compat::Stream01CompatExt

pub trait Stream01CompatExt: Stream {
    fn compat(self) -> Compat01As03<Self> { ... }
}

Extension trait for futures 0.1 Stream

Provided methods

fn compat(self) -> Compat01As03<Self>

Converts a futures 0.1 Stream<Item = T, Error = E> into a futures 0.3 Stream<Item = Result<T, E>>.

Loading content...

Implementors

impl<St> Stream01CompatExt for St where
    St: Stream
[src]

fn compat(self) -> Compat01As03<Self>
[src]

Loading content...