Skip to main content

Crate vsh_store

Crate vsh_store 

Source
Expand description

Immutable blob storage plus transaction records and validated state changes.

FileTransactionStore provides checksummed append-log durability, bounded two-slot compaction, and standard-library cross-process file locks without adding a database dependency. The process-local MemoryTransactionStore remains available for focused tests.

Structs§

ApprovalGrant
An independent approval bound to one exact transaction and expiry window.
BlobStore
Filesystem-backed immutable content-addressed blob storage.
CommitReservation
Non-cloneable proof that one transaction won the atomic commit reservation.
DataDirectory
A pinned capability for VSH’s durable data directory.
DataDirectoryError
Failure to create or pin a durable VSH data directory.
FileStoreConfig
Hard bounds for the dependency-free compacting transaction state store.
FileTransactionStore
Durable cross-process transaction state using only the Rust standard library.
MemoryTransactionStore
Process-local reference backend for state-machine and concurrency correctness.
TransactionRecord
The storage-facing identity and state of a transaction.

Enums§

ApprovalGrantError
Invalid approval grant input.
BlobStoreError
A blob-store operation failed or immutable content did not verify.
TransactionStoreError
Atomic transaction-store failure.

Traits§

TransactionStore
Atomic transaction-state operations required by the runtime and committer.