Module actor

Source

Structs§

ActorPath
ActorRef
A lightweight, typed reference to interact with its underlying actor instance through concurrent messaging.
ActorSelection
A selection represents part of the actor heirarchy, allowing messages to be sent to all actors in the selection.
ActorUri
An ActorUri represents the location of an actor, including the path and actor system host.
All
A channel topic representing all topics *
BasicActorRef
A lightweight, un-typed reference to interact with its underlying actor instance through concurrent messaging.
Channel
A specialized actor for providing Publish/Subscribe capabilities for user level messages
Context
Provides context, including the actor system during actor execution.
DeadLetter
EventsChannel
A specialized channel that publishes messages as system messages
Props
Provides instances of ActorProducer for use when creating Actors (actor_of_props).
Publish
RestartError
Error type when an actor fails to restart.
Subscribe
Topic
When publishing a message to a channel a Topic is provided.
TryMsgError
Error type when an try_tell fails on Option<ActorRef<Msg>>
Unsubscribe
UnsubscribeAll

Enums§

ChannelMsg
CreateError
Error type when an actor fails to start during actor_of.
Strategy
Supervision strategy
SysTopic
System topics used by the event_stream channel

Traits§

Actor
ActorArgs
ActorFactory
ActorFactoryArgs
ActorProducer
Represents the underlying Actor factory function for creating instances of Actor.
ActorRefFactory
Produces ActorRefs. actor_of blocks on the current thread until the actor has successfully started or failed to start.
ActorReference
ActorSelectionFactory
Receive
Receive and handle a specific message type
Tell
TmpActorRefFactory
Produces ActorRefs under the temp guardian actor.

Functions§

channel

Type Aliases§

BoxActor
The actor trait object
BoxActorProd
A Clone, Send and Sync ActorProducer
BoxedTell
ChannelRef
DLChannelMsg
MsgResult
Sender

Attribute Macros§

actor