Skip to main content

24 docs tagged with "Rust SDK"

View all tags

Activities

Activity Definitions, Activity Execution, and Activity Timeouts in the Temporal Rust SDK, including Retry Policies and Heartbeats.

Activity basics

Define an Activity as a Rust function, set its parameters and serializable return values, and give its Activity Type a custom name.

Activity Execution

Call an Activity from a Rust Workflow with ctx.execute_activity, set the required Timeout, and await the Future it returns.

Activity Timeouts

Set the Schedule-To-Close, Start-To-Close, and Heartbeat Timeouts on a Rust Activity, tune its Retry Policy, and override the next retry delay.

Cancellation

Interrupt a Workflow Execution using the Temporal Rust SDK. Choose between canceling for a graceful stop or terminating for a forceful stop.

Child Workflows

Start a Child Workflow Execution and set a Parent Close Policy using the Rust SDK. Manage Child Workflow Events.

Client

Connect a Temporal Client, start Workflow Executions, and get Workflow results with the Temporal Rust SDK.

Continue-As-New

Use Temporal's Continue-As-New in Rust to manage large Event Histories by atomically creating new Workflow Executions with the same Workflow Id and fresh parameters.

Nexus

This section explains how to implement Temporal Nexus with the Rust SDK

Nexus feature guide

Use Temporal Nexus within the Rust SDK to connect Durable Executions within and across Namespaces using a Nexus Endpoint, a Nexus Service contract, and Nexus Operations.

Quickstart

Configure your local development environment to get started developing with Temporal and the Rust SDK

Run a Worker

Create and run a Temporal Worker using the Rust SDK.

Rust SDK developer guide

This guide offers a thorough overview of structures, features, and best practices for developing with Temporal's Rust SDK, including Workflows, Client, Activities, and more.

Serverless Workers

Write Temporal Workers that run on serverless compute using the Rust SDK.

Temporal Client

Connect to a development Temporal Service or Temporal Cloud from Rust, set a Task Queue and Workflow Id, and get Workflow Execution results.

Timers

Set durable Timers in a Workflow using the Rust SDK. Timers persist through Worker and Temporal Service downtime.

Workers

This section explains how to implement Workers with the Rust SDK

Workflow basics

This section explains how to implement Workflows with the Rust SDK

Workflow Timeouts

Optimize Workflow Execution with the Temporal Rust SDK by configuring Workflow Timeouts and Retry Policies.

Workflows

This section explains how to implement Workflows with the Rust SDK