Module persistent_set

Source
Expand description

A set of uniformly distributed 32-byte values that can be persisted.

The version 0 file format is:

OffsetDescription
Header
015-byte magic value b"StoredSortedSet"
15Version (0)
16Context, 12 bytes of application-specific, opaque data
Content
28Entry count - big endian 32-bit unsigned integer
32Entry 0 - big endian 32-byte unsigned integer
48Entry 1

The entries are sorted, which allows doing an in-place binary search. They are interpreted as big endian 32-byte unsigned integers.

Structs§

Set

Enums§

Error
Errors for this crate.

Type Aliases§

Result
Result specialization.
Value