Expand description
minactor is a minimal actor framework for tokio.
Actors created in minactor have a tiny overhead and messages are passed using tokio channels. Each instance of an actor has a single thread of control (a tokio async task). Creating actors is simple.
It is designed for single system implementations, not clusters of systems.
Structs§
- Actor
Ref - An ActorRef is a reference to an instance of an actor. It is the main contact point with the running actor.
Enums§
- Control
- The Control enum is used by an [Actor] to pass instructions the actor executor.
- Error
- Standard error type used in the library
Traits§
- Actor
- The Actor trait. This is the trait that structs will need to implement to function as an actor.
Functions§
- create_
actor - Create an instance of an actor using default configuration.