Expand description
This crate contains base-level functionality needed by the other crates in the Temporal Core and Rust SDK.
Modules§
- data_
converters - Contains traits for and default implementations of data converters, codecs, and other serialization related functionality.
- payload_
visitor - Payload visitor infrastructure for applying codecs to proto messages.
- protos
- Contains the protobuf definitions used as arguments to and return values from interactions with the Temporal Core SDK. Language SDK authors can generate structs using the proto definitions that will match the generated structs in this module.
- telemetry
- Contains tracing/logging and metrics related functionality
- worker
- Contains types that are needed by both the client and the sdk when configuring / interacting with workers.
Structs§
- Priority
- Priority contains metadata that controls relative ordering of task processing when tasks are backlogged in a queue. Initially, Priority will be used in activity and workflow task queues, which are typically where backlogs exist. Other queues in the server (such as transfer and timer queues) and rate limiting decisions do not use Priority, but may in the future.
Traits§
- Activity
Definition - Implement on a marker struct to define an activity.
- Query
Definition - Implement on a marker struct to define a query.
- Signal
Definition - Implement on a marker struct to define a signal.
- Update
Definition - Implement on a marker struct to define an update.
- Workflow
Definition - Implement on a marker struct to define a workflow.