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
ActoRuntime
based ontokio::runtime
andtokio::sync::mpsc
queues. - 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 theActoRuntime
used. - ActoRef
- A handle for sending messages to an actor.
- Mapped
Acto Handle - An
ActoHandle
that results fromActoHandle::map
. - Supervision
Ref - A package of an actor’s
ActoRef
andActoHandle
. - Tokio
Join Handle
Enums§
- Acto
Input - Actor input as received with
ActoCell::recv
. - Acto
MsgSuper - A filtered variant of
ActoInput
that 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
ActoRuntime
s 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.