Module registry

Source

Structs§

ActorRegistry
Registry for storing actors.

Functions§

actor_count
Returns the number of registered actors.
actor_exists
Checks if an actor with the id exists in the registry.
get_actor
get_actor_registry
get_actor_unchecked
Returns a mutable reference to the registered actor of type T for the id.
register_actor
Registers an actor.
try_get_actor_unchecked
Safely attempts to get a mutable reference to the registered actor.