Expand description
The primitives to work with storage in transactional mode.
Structs§
- In memory transaction accumulates
Changes
over the storage. - The wrapper around the
Vec<u8>
that supportsBorrow<[u8]>
. It allows the use of bytes slices to do lookups in the collections.
Enums§
- The policy to resolve the conflict during committing of the changes.
Traits§
- 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.
- Provides an atomic view of the storage at the given height. The view is guaranteed to be unmodifiable for the given height.
- The trait to convert the type into the storage transaction.
- The type is modifiable and may commit the changes into the storage.
- Creates a new instance of the storage read transaction.
- Creates a new instance of the storage write transaction.
Type Aliases§
- The type describing the list of changes to the storage.
- Storage transaction on top of the storage.