Trait actix::prelude::actix::ActorAddress
[−]
[src]
pub trait ActorAddress<A, T> where
A: Actor, { fn get(ctx: &mut A::Context) -> T; }
Trait give access to actor's address
Required Methods
Implementors
impl<A> ActorAddress<A, Addr<Unsync, A>> for A where
A: Actor,
A::Context: AsyncContext<A>,impl<A> ActorAddress<A, Addr<Syn, A>> for A where
A: Actor,
A::Context: AsyncContext<A>,impl<A> ActorAddress<A, (Addr<Unsync, A>, Addr<Syn, A>)> for A where
A: Actor,
A::Context: AsyncContext<A>,impl<A> ActorAddress<A, ()> for A where
A: Actor,