Re-exports§
pub use cli::Command;pub use error::Error;pub use error::ErrorExt;pub use ya_runtime_api as runtime_api;
Modules§
Structs§
- Context
- Runtime execution context
- Create
Network - Error
Response - Event
Emitter - Runtime event emitter
- Kill
Process - Process
Status - RunCommand
Context - Command execution handler
- RunProcess
- Runtime
Control - Runtime control helper
- Runtime
Counter - Runtime
State - Runtime
Status
Enums§
- Event
Kind - Runtime event kind
- Runtime
Mode - Defines the mode of execution for commands within the runtime.
- Runtime
Status Kind
Traits§
- RunCommand
Ext - Wraps command lifecycle in the following manner:
- Runtime
- Command handling interface for runtimes
- Runtime
Def - Runtime definition trait.
Auto-generated with
#[derive(RuntimeDef)]
Functions§
- build
- Creates a new runtime execution future within a new
tokio::task::LocalSet, using a custom environment configuration provider and a runtime factory - run
- Starts the runtime within a new
tokio::task::LocalSet - run_
with - Starts the runtime within a new
tokio::task::LocalSet, using a custom environment configuration provider