Expand description
Runtime configuration and low-level Core worker building blocks.
These types are grouped here to keep Core-specific configuration separate from the SDK’s
primary workflow and activity APIs. Create a crate::Runtime before connecting a client,
then pass it to crate::Worker::new.
Modules§
- autoscaling_
options_ builder - Tools for manipulating the type state of
AutoscalingOptionsBuilder. - tokio_
runtime_ builder_ builder - Tools for manipulating the type state of
TokioRuntimeBuilderBuilder. - worker_
tuner - Worker concurrency tuning. Worker concurrency tuning for SDK workers.
Structs§
- Autoscaling
Options - Options for automatically scaling the number of concurrent task polls.
- Autoscaling
Options Builder - Use builder syntax to set the inputs and finish with
build(). - Core
Worker experimental - A worker polls on a certain task queue
- Runtime
- Holds shared state and components used by Rust SDK workers.
- Runtime
Options - Configuration for the Rust SDK runtime. Construct with
RuntimeOptions::builder. - Runtime
Options Builder - Use builder syntax to set the inputs and finish with
build_internal(). - Tokio
Runtime Builder - Wraps a Tokio runtime builder so the SDK can install its per-thread telemetry state.
- Tokio
Runtime Builder Builder - Use builder syntax to set the inputs and finish with
build(). - Worker
Config experimental - Defines per-worker configuration options
Enums§
- Poller
Behavior - Controls how many concurrent task polls a worker issues.
- Workflow
Error Type - Workflow-processing errors that may be configured to fail the workflow execution.