Crate vin_core
Source - detail
- ActorStartError
- Error returned by
start(). - WrappedMessage
- A message wrapper type that enables returning results through the result channel packed inside it.
- ActorQueryError
- Error returned by the actor query functions.
- State
- Actor lifecycle states.
- Actor
- Actor trait that all generic (non-specialized) actors must implement.
- Addr
- A restricted interface of
Actor that provides send mechanics and state reads. - Forwarder
- Forwards the message to the respective mailbox.
- Handler
- Handler for specifying message handling logic.
- Hooks
- Used to call arbitrary code on state changes.
- Message
- Trait indicating that the type is a message.
- Task
- Used to call arbitrary code on a task actor.
- TaskActor
- Actor trait that all generic (non-specialized) actors must implement.
- TaskAddr
- A restricted interface of
TaskActor that provides closing and state reads. - TaskContextTrait
- Private trait used by
Task implementations to have access
to the context associated type.
- add_actor
- Registers an actor in the actor counter.
- query_actor
- Queries a typed actor from the registry.
- query_actor_erased
- Queries an erased actor from the registry.
- remove_actor
- Unregisters an actor in the actor counter.
- send
- Sends a typed message to an actor with the corresponding id.
- send_and_wait
- Sends a typed message to an actor with the corresponding id.
- shutdown
- Sends a shutdown signal to all actors.
- shutdown_future
- Registers a shutdown future.
- wait_for_shutdowns
- Waits for all actors to shutdown gracefully.
- ActorId
- Actor id type for the actor registry.
- StrongAddr
- A strong typed reference to the spawned actor.
- StrongErasedAddr
- A strong erased reference to the spawned actor.
- WeakAddr
- A weak typed reference to the spawned actor.
- WeakErasedAddr
- A weak erased reference to the spawned actor.