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