Skip to main content

Module context

Module context 

Source
Expand description

DurableContext and operation identifier types for the AWS Durable Execution SDK.

This module provides the main DurableContext interface that user code interacts with, as well as the OperationIdentifier type for deterministic operation ID generation.

Structs§

CustomLogger
A custom logger that delegates to user-provided closures.
DurableContext
The main context for durable execution operations.
LogInfo
Context information for log messages.
OperationIdGenerator
Generates deterministic operation IDs using blake2b hashing.
OperationIdentifier
Identifies an operation within a durable execution.
ReplayAwareLogger
A logger wrapper that can suppress logs during replay based on configuration.
TracingLogger
Default logger implementation using the tracing crate.
WaitForConditionConfig
Configuration for wait_for_condition operations.
WaitForConditionContext
Context provided to wait_for_condition check functions.

Enums§

ReplayLoggingConfig
Configuration for replay-aware logging behavior.

Traits§

Logger
Logger trait for structured logging in durable executions.

Functions§

create_operation_span
Creates a tracing span for a durable operation.
custom_logger
Creates a custom logger with user-provided closures for each log level.
generate_operation_id
Generates a deterministic operation ID using blake2b hashing.
simple_custom_logger
Creates a simple custom logger that uses a single closure for all log levels.