Re-exports§
pub use builtin::*;
Modules§
Structs§
- Process
Manager - Groups several
Runnableinstances and starts / stops them as a unit. - Process
Manager Builder - Build-time configuration for a
ProcessManager. - Runtime
Context - Runtime context passed to
RunnableWithContext. - Runtime
Context Runnable - Adapter that turns a
RunnableWithContextinto a regularRunnable. - Runtime
Guard - Runtime
Handle - Handle produced by
RuntimeGuard::handle. - Runtime
Ticker
Enums§
- Process
Operation - Runtime
Control Message - Built-in control messages understood by runtime helpers such as
RuntimeTickerandRuntimeGuard. Built-in control messages understood by runtime helpers such asRuntimeGuardandRuntimeTicker. - Runtime
Error
Traits§
- Process
Control Handler - 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]. - Runnable
With Context - Convenience variant of
Runnablethat receives aRuntimeContext.
Functions§
- with_
runtime_ context - Wrap a
RunnableWithContextfor use anywhere aRunnableis expected.
Type Aliases§
- Ctrl
Future - Boxed future returned by
ProcessControlHandlercontrol methods. - Proc
Future - Boxed future returned by
Runnable::process_start.