Skip to main content

Crate candystore

Crate candystore 

Source

Modules§

internal

Structs§

CandyStore
The main untyped store API. A persistent key-value store backed by append-only data files and a mutable index.
CandyTypedDeque
The main untyped store API. Typed wrapper over the queue API.
CandyTypedList
The main untyped store API. Typed wrapper over the ordered map/list API.
CandyTypedStore
The main untyped store API. Typed wrapper over the store key-value API.
Config
Public configuration, error, and stats types. Runtime configuration for opening a store.
ListCompactionParams
Public configuration, error, and stats types. Heuristics controlling list compaction.
ListIterator
The main untyped store API. Double-ended iterator over live list items in logical order.
Stats
Public configuration, error, and stats types. Snapshot of store-level counters and size statistics.

Enums§

Error
Public configuration, error, and stats types. Errors returned by store operations and open/recovery flows.
GetOrCreateStatus
Public configuration, error, and stats types. Outcome of a get-or-create operation.
ReplaceStatus
Public configuration, error, and stats types. Outcome of a conditional replace operation.
SetStatus
Public configuration, error, and stats types. Outcome of a set operation.

Constants§

MAX_FILE_SIZE
Public configuration, error, and stats types. Maximum supported data-file size after internal encoding overhead limits.
MAX_KEY_LEN
Maximum supported user key length in bytes.
MAX_USER_KEY_SIZE
Public configuration, error, and stats types. Maximum supported user key length in bytes.
MAX_USER_VALUE_SIZE
Public configuration, error, and stats types. Maximum supported inline value length in bytes.
MAX_VALUE_LEN
Maximum supported inline value length in bytes.

Traits§

CandyTypedKey
The main untyped store API. Marker trait for typed keys and collection identifiers used by the typed wrappers.

Type Aliases§

CandyError
Backward-compatible alias for the crate error type.
KVPair
The main untyped store API. A list item as (item_key, value).
Result
Public configuration, error, and stats types. Convenience result type used by the crate.