Struct kabuki::ActorFn [] [src]

pub struct ActorFn<F, T> { /* fields omitted */ }

An actor implemented by a closure.

Trait Implementations

impl<F, T, U> Actor for ActorFn<F, T> where F: FnMut(T) -> U, U: IntoFuture
[src]

The message sent to the actor

The response sent back from the actor

The response error

The internal response future. This will remain on the actor's task and will be polled to completion before being sent back to the caller. Read more

Process an inbound message and return a response. Read more

Poll the Actor to see if it has completed processing. Read more

Indicates that the actor is ready to process the next inbox message Read more