Skip to main content

Crate temporalio_common

Crate temporalio_common 

Source
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§

ActivityDefinition
Implement on a marker struct to define an activity.
QueryDefinition
Implement on a marker struct to define a query.
SignalDefinition
Implement on a marker struct to define a signal.
UpdateDefinition
Implement on a marker struct to define an update.
WorkflowDefinition
Implement on a marker struct to define a workflow.