Struct kabuki::ActorRef
[−]
[src]
pub struct ActorRef<T, U, E> { /* fields omitted */ }
Handle to an actor, used to send messages
Methods
impl<T, U, E> ActorRef<T, U, E> where E: From<CallError<T>>
[src]
fn poll_ready(&mut self) -> Async<()>
Returns Async::Ready
when the actor can accept a new request
fn call(&mut self, request: T) -> ActorFuture<T, U, E>
Send a request to the actor
Trait Implementations
impl<T, U, E> Clone for ActorRef<T, U, E>
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more