Expand description
Incremental serialization and non-incremental deserialization for the Tree
.
Re-exports§
pub use in_memory::InMemory;
Modules§
- in_
memory - An in-memory storage backend, useful for testing.
Structs§
- Delete
Range - An update to the underlying storage that constitutes deleting a range of hashes and commitments.
- Load
Commitments - Builder for loading commitments to create a
Tree
. - Load
Hashes - Builder for loading hashes to create a
Tree
. - Store
Commitment - An update to the underlying storage that constitutes storing a single commitment.
- Store
Hash - An update to the underlying storage that constitutes storing a single hash.
- Updates
- A collection of updates to the underlying storage.
Enums§
- Stored
Position - A stored position for the tree: either the position of the tree, or a marker indicating that it is full, and therefore does not have a position.
- Update
- A single update to the underlying storage, as a data type.
Traits§
- Async
Read - An
async
storage backend capable of reading storedHash
es and [Commitment
]s as well as storing the currentPosition
. - Async
Write - An
async
storage backend capable of writingHash
es and [Commitment
]s, and garbage-collecting those which have been forgotten. - Read
- A synchronous storage backend capable of reading stored
Hash
es and [Commitment
]s as well as storing the currentPosition
. - Write
- A synchronous storage backend capable of writing
Hash
es and [Commitment
]s, and garbage-collecting those which have been forgotten.