[][src]Trait actix_utils::stream::IntoStream

pub trait IntoStream {
    type Item;
    type Error;
    type Stream: Stream<Item = Self::Item, Error = Self::Error>;
    fn into_stream(self) -> Self::Stream;
}

Associated Types

type Item

type Error

type Stream: Stream<Item = Self::Item, Error = Self::Error>

Loading content...

Required methods

fn into_stream(self) -> Self::Stream

Loading content...

Implementors

impl<T> IntoStream for T where
    T: Stream
[src]

type Item = T::Item

type Error = T::Error

type Stream = T

Loading content...