Skip to main content

Module store

Module store 

Source
Expand description

Task storage backend.

Re-exports§

pub use retention::PurgeReport;
pub use retention::RetentionPolicy;
pub use retention::terminal_states;
pub use task_store::ArtifactDelta;
pub use task_store::DEFAULT_IDEMPOTENCY_KEY_TTL;
pub use task_store::DEFAULT_MAX_EVENTS_PER_TASK;
pub use task_store::DEFAULT_MAX_PAGE_SIZE;
pub use task_store::IdempotencyClaim;
pub use task_store::InMemoryTaskStore;
pub use task_store::RecordedEvent;
pub use task_store::TaskStore;
pub use task_store::TaskStoreConfig;
pub use tenant::TenantAwareInMemoryTaskStore;
pub use tenant::TenantContext;
pub use tenant::TenantStoreConfig;
pub use terminal::TERMINAL_STATE_CONFLICT_MARKER;
pub use terminal::TerminalStateConflict;
pub use terminal::refuses_write;
pub use migration::Migration;
pub use migration::MigrationRunner;
pub use sqlite_store::SqliteTaskStore;
pub use tenant_sqlite_store::TenantAwareSqliteTaskStore;
pub use pg_migration::BUILTIN_PG_MIGRATIONS;
pub use pg_migration::PgMigration;
pub use pg_migration::PgMigrationRunner;
pub use postgres_store::PostgresTaskStore;
pub use tenant_postgres_store::TenantAwarePostgresTaskStore;

Modules§

migration
Schema versioning and migration support for SqliteTaskStore.
pg_migration
Schema versioning and migration support for PostgresTaskStore.
postgres_store
PostgreSQL-backed TaskStore implementation.
retention
Retention for the persistent task stores.
sqlite_store
SQLite-backed TaskStore implementation.
task_store
Task persistence trait and in-memory implementation.
tenant
Tenant-scoped task store implementations.
tenant_postgres_store
Tenant-scoped PostgreSQL-backed TaskStore implementation.
tenant_sqlite_store
Tenant-scoped SQLite-backed TaskStore implementation.
terminal
Terminal states are final in the store, not only in the handler.