Trait actix::prelude::actix::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.
Implementations on Foreign Types
impl<I, E> ResponseType for Result<I, E> where
I: ResponseType,
[src]
I: ResponseType,
type Item = <I as ResponseType>::Item
type Error = ()
Implementors
impl ResponseType for SignalType type Item = (); type Error = ();
impl ResponseType for Signal type Item = (); type Error = ();
impl ResponseType for Subscribe type Item = (); type Error = ();
impl ResponseType for GetAddressInfo type Item = Vec<AddrInfo>; type Error = LookupError;
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;