Module proc_actor

Source
Expand description

Proc actor manages a proc. It works in conjunction with a super::system_actor::SystemActor. Proc actors are usually spawned as the “agent” to manage a proc directly.

Structs§

BootstrappedProc
Outputs from bootstrapping proc.
ProcActor
ProcActor manages a single proc. It is responsible for managing the lifecycle of all of the proc’s actors, and to route messages accordingly.
ProcActorParams
Parameters for managing the proc.
ProcSnapshot
A snapshot of the proc.
ProcStopResult
The result after stopping the proc.
StackTrace
A stack trace of the proc. Wrapper to dervice Named.

Enums§

Environment
All setup parameters for an actor within a proc actor.
ProcMessage
Proc management messages.
ProcState
The state of the proc.
PySpyConfig
Remote py-spy dump configuration.

Traits§

ProcMessageClient
The custom client trait for this message type.
ProcMessageHandler
The custom handler trait for this message type.

Functions§

spawn
Convenience utility to spawn an actor on a proc. Spawn returns with the new ActorRef on success.