Expand description
Runtime-agnostic actor library for Rust
Currently supports tokio for execution.
Please refer to AcTokio for example usage.
Actors combine well with sharing immutable snapshots, like futures-signals.
Modules§
Structs§
- AcTokio
- Owned handle to an
AcTokioRuntime. - AcTokio
Runtime - An
ActoRuntimebased ontokio::runtimeandtokio::sync::mpscqueues. - Acto
Aborted - This error is returned when an actor has been aborted.
- Acto
Cell - The confines of an actor, and the engine that makes it work.
- ActoId
- Every actor has an ID that is generated by
acto, independent of the [ActoRuntime] used. - ActoRef
- A handle for sending messages to an actor.
- Mapped
Acto Handle - An
ActoHandlethat results fromActoHandle::map. - Supervision
Ref - A package of an actor’s
ActoRefandActoHandle. - Tokio
Join Handle
Enums§
- Acto
Input - Actor input as received with [
ActoCell::recv]. - Acto
MsgSuper - A filtered variant of
ActoInputthat omitsNoMoreSenders. - Panic
OrAbort
Traits§
- Acto
Handle - A handle for aborting or joining a running actor.
- Acto
Runtime - For implementors: the interface of a runtime for operating actors.
- Mailbox
Size - This trait is implemented by
ActoRuntimes that allow customization of the mailbox size. - Panic
Info - Receiver
- A named closure for receiving messages at a given actor.
- Sender
- A named closure for sending messages to a given actor.