Trait actix::fut::stream::WrapStream[][src]

pub trait WrapStream<A> where
    A: Actor
{ type Stream: ActorStream<A>; fn into_actor(self, a: &A) -> Self::Stream; }

Helper trait that allows conversion of normal stream into ActorStream

Associated Types

type Stream: ActorStream<A>[src]

The stream that this type can be converted into.

Loading content...

Required methods

fn into_actor(self, a: &A) -> Self::Stream[src]

Convert normal stream to a ActorStream

Loading content...

Implementors

impl<S, A> WrapStream<A> for S where
    S: Stream,
    A: Actor
[src]

type Stream = StreamWrap<S, A>

Loading content...