[−][src]Type Definition actix::ResponseFuture
type ResponseFuture<I, E> = Box<dyn Future<Item = I, Error = E>>;
A specialized future for asynchronous message handling.
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] |