Type Definition actix::prelude::ResponseActFuture [−][src]
type ResponseActFuture<A, I, E> = Box<ActorFuture<Item = I, Error = E, Actor = A>>;
A specialized actor future for async message handler
Trait Implementations
impl<A, M, I: 'static, E: 'static> MessageResponse<A, M> for ResponseActFuture<A, I, E> where
A: Actor,
M: Message<Result = Result<I, E>>,
A::Context: AsyncContext<A>,
[src]
impl<A, M, I: 'static, E: 'static> MessageResponse<A, M> for ResponseActFuture<A, I, E> where
A: Actor,
M: Message<Result = Result<I, E>>,
A::Context: AsyncContext<A>,
fn handle<R: ResponseChannel<M>>(self, ctx: &mut A::Context, tx: Option<R>)
[src]
fn handle<R: ResponseChannel<M>>(self, ctx: &mut A::Context, tx: Option<R>)