Skip to main content

Crate processmanager

Crate processmanager 

Source

Re-exports§

pub use builtin::*;

Modules§

builtin
receiver

Structs§

ProcessManager
Groups several Runnable instances and starts / stops them as a unit.
ProcessManagerBuilder
Build-time configuration for a ProcessManager.
RuntimeContext
Runtime context passed to RunnableWithContext.
RuntimeContextRunnable
Adapter that turns a RunnableWithContext into a regular Runnable.
RuntimeGuard
RuntimeHandle
Handle produced by RuntimeGuard::handle.
RuntimeTicker

Enums§

ProcessOperation
RuntimeControlMessage
Built-in control messages understood by runtime helpers such as RuntimeTicker and RuntimeGuard. Built-in control messages understood by runtime helpers such as RuntimeGuard and RuntimeTicker.
RuntimeError

Traits§

ProcessControlHandler
Minimal handle that external code can use to control a running Runnable.
Runnable
Trait implemented by every long-running asynchronous component that should be supervised by a [ProcessManager].
RunnableWithContext
Convenience variant of Runnable that receives a RuntimeContext.

Functions§

with_runtime_context
Wrap a RunnableWithContext for use anywhere a Runnable is expected.

Type Aliases§

CtrlFuture
Boxed future returned by ProcessControlHandler control methods.
ProcFuture
Boxed future returned by Runnable::process_start.