Expand description
The primitives to work with storage in transactional mode.
Structs§
- InMemory
Transaction - In memory transaction accumulates
Changes
over the storage. - Reference
Bytes Key - The wrapper around the
Vec<u8>
that supportsBorrow<[u8]>
. It allows the use of bytes slices to do lookups in the collections.
Enums§
- Conflict
Policy - The policy to resolve the conflict during committing of the changes.
Traits§
- Atomic
View - Provides an atomic view of the storage at the latest height at the moment of view instantiation. All modifications to the storage after this point will not affect the view.
- Historical
View - Provides an atomic view of the storage at the given height. The view is guaranteed to be unmodifiable for the given height.
- Into
Transaction - The trait to convert the type into the storage transaction.
- Modifiable
- The type is modifiable and may commit the changes into the storage.
- Read
Transaction - Creates a new instance of the storage read transaction.
- Write
Transaction - Creates a new instance of the storage write transaction.
Type Aliases§
- Changes
- The type describing the list of changes to the storage.
- Storage
Transaction - Storage transaction on top of the storage.