Skip to main content Crate surrealkv Copy item path Source bplustree BytewiseComparator A bytewise comparator that compares keys lexicographically. HistoryOptions Options for history (versioned) iteration.
Controls what versions and tombstones are included in the iteration. InternalKeyComparator InternalKeyRef A zero-copy reference to an internal key.
Zero-copy reference to an internal key. Options ReadOptions Options for read operations in transactions.
This struct allows configuring various parameters for read operations
like get(), range(), and keys(). TimestampComparator A comparator that compares internal keys first by user key, then by
timestamp This is used for versioned queries where we want to order by user
key and timestamp Transaction A transaction in the LSM tree providing ACID guarantees. Tree TreeBuilder A builder for creating LSM trees with type-safe configuration. WriteOptions Options for write operations in transactions.
This struct allows configuring various parameters for write operations
like set() and delete(). CompressionType Durability Error Error is a custom error type for the storage module.
It includes various variants to represent different types of errors that can
occur.InternalKeyKind Mode Mode is an enumeration representing the different modes a transaction can
have in an MVCC (Multi-Version Concurrency Control) system.VLogChecksumLevel WalRecoveryMode WAL recovery mode to control consistency guarantees during crash recovery. Comparator A trait for comparing keys in a key-value store. FilterPolicy IntoBytes An optimised trait for converting values to bytes only when needed LSMIterator Cursor-based iterator for internal key-value pairs. IterResult Type alias for iterator results containing key-value pairs
Value is optional to support keys-only iteration without allocating empty
values Key The Key type used throughout the LSM tree KeysResult Type alias for iterator results containing only keys RangeResult Type alias for iterator results containing keys and values Result Result returning Error Value The Value type used throughout the LSM tree Version Type alias for version/timestamp values