Expand description
An actor system for Rust with batteries included.
See The Actoromicon for more information.
Modules§
- A set of actors for common tasks.
- Contains useful utilities for working with configuration.
- Provides a cooperative budget for actors.
- Includes structs and functions to work with dumping. For more details see The Actoromicon.
- Things that are useful to have included when writing actors.
- test
test-util
Utils for unit testing actors. - Includes
TraceId
and useful utilities around it. For more details see The Actoromicon.
Macros§
- Matches a message based on the provided envelope.
- Overrides the protocol name for all messages in the current module. Can be used only once per module. Submodules inherit this override if
use super::*
is used.
Structs§
- Represents meta information about actor: his group and key.
- A struct holding information related to an actor start.
- Represents the current status of an actor. See The Actoromicon for details.
- Represents the global, usually unique address of an actor or a group.
- A heap-allocated message that can be downcasted to a concrete message type.
- A reference to the message inside
Envelope
orAnyMessage
. - An actor execution context.
- An envelope is a wrapper around message with additional metadata, involved in message passing between actors.
- Used to send values that cannot be serialized. Works inside the current node only.
- Used to transfer ownership over messaging.
- Restart parameters for the backoff strategy when an actor restarts based on the RestartPolicy.
- The behaviour on actor termination.
- The behaviour on the
Terminate
message. - The topology defines local and remote groups, and routes between them.
- A wrapper to indicate that a source hasn’t been attached to a context yet.
Enums§
- An enum representing various causes for an actor to start.
- A list specifying statuses of actors. It’s used with the
ActorStatus
.
Traits§
- Represents any user-defined config.
- Represents a message that can be sent between actors and across nodes.
- Represents a request that can be sent between actors and across nodes.
- Defines common methods for sources.
Attribute Macros§
- Derives required traits to use the type as a message or a message part.