Trait actix::fut::WrapStream
[−]
[src]
pub trait WrapStream<A> where
A: Actor, { type Stream: ActorStream<Item = Self::Item, Error = Self::Error, Actor = A>; type Item; type Error; fn actstream(self) -> Self::Stream; }
Helper trait that allows conversion of normal stream into ActorStream
Associated Types
type Stream: ActorStream<Item = Self::Item, Error = Self::Error, Actor = A>
The stream that this type can be converted into.
type Item
The item that the future may resolve with.
type Error
The error that the future may resolve with.