Module ractor::actor

source ·
Expand description

This module contains the basic building blocks of an actor.

They are: Actor: The behavior definition for an actor’s internal processing logic + state management Actor: Management structure processing the message handler, signals, and supervision events in a loop

Modules

Structs

  • ActorRuntime is a struct which represents the actor. This struct is consumed by the start operation, but results in an ActorRef to communicate and operate with

Traits

  • Actor defines the behavior of an Actor. It specifies the Message type, State type, and all processing logic for the actor