[−][src]Crate meio
meio
- lightweight async actor framework for Rust.
The main benefit of this framework is that gives you
tiny extension over tokio
with full control.
It's designed for professional applications where you can't have strong restrictions and have keep flexibility.
Also this crate has zero-cost runtime. It just calls
async
method of your type.
Re-exports
pub use handlers::Action; |
pub use handlers::ActionHandler; |
pub use handlers::Consumer; |
pub use handlers::Eliminated; |
pub use handlers::Interaction; |
pub use handlers::InteractionHandler; |
pub use handlers::InterruptedBy; |
pub use handlers::StartedBy; |
pub use linkage::address::Address; |
pub use linkage::link::Link; |
pub use linkage::performers::ActionPerformer; |
pub use linkage::performers::InteractionPerformer; |
pub use linkage::recipients::ActionRecipient; |
pub use linkage::recipients::InteractionRecipient; |
pub use system::System; |
Modules
handlers | This module contains the |
linkage | Contains modules of different ways to communicate with |
signal | Module contains stream to connect signals to actors. |
system | This module contains |
task | This module contains useful tasks that you can attach to an |
Structs
Context |
|
Id | Unique Id of Actor's runtime that used to identify all senders for that actor. |
ShutdownReceiver | Contains a receiver with a status of a task. |
Task | The |
TypedId | Typed if of the task or actor. |
Enums
Status | Status of the task. |
Traits
Actor | The main trait. Your structs have to implement it to
be compatible with |
LiteTask | Minimalistic actor that hasn't |
Functions
spawn | Spawns a standalone |