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
.
Structs
- AcTokio
tokio
Owned handle to anAcTokioRuntime
. - AcTokioRuntime
tokio
- This error is returned when an actor has been aborted.
- The confines of an actor, and the engine that makes it work.
- Every actor has an ID that is generated by
acto
, independent of theActoRuntime
used. - A handle for sending messages to an actor.
- An
ActoHandle
that results fromActoHandle::map
. - A package of an actor’s
ActoRef
andActoHandle
. - TokioJoinHandle
tokio
Enums
- Actor input as received with
ActoCell::recv
. - A filtered variant of
ActoInput
that omitsNoMoreSenders
.
Traits
- A handle for aborting or joining a running actor.
- For implementors: the interface of a runtime for operating actors.
- This trait is implemented by
ActoRuntime
s that allow customization of the mailbox size. - A named closure for receiving messages at a given actor.
- A named closure for sending messages to a given actor.