Trait actix::prelude::ResponseType
[−]
[src]
pub trait ResponseType { type Item; type Error; }
Message response type
Associated Types
type Item
The type of value that this message will resolved with if it is successful.
type Error
The type of error that this message will resolve with if it fails in a normal fashion.
Implementors
impl ResponseType for SystemExit type Item = (); type Error = ();
impl ResponseType for StopArbiter type Item = (); type Error = ();
impl<A: Actor> ResponseType for StartActor<A> type Item = SyncAddress<A>; type Error = ();
impl<I: Send, E: Send> ResponseType for Execute<I, E> type Item = I; type Error = E;