Module storage

Source
Expand description

Trait and type definitions related to the Storage trait.

Structs§

StorageKey
The key type suitable for use in Storage::get and other getter methods of Storage. Cheaply-clonable.
StorageProof
A proof that a particular storage key has a particular value, or is absent.
StorageValue
A serialized value suitable for storing. Internally uses an Arc<Vec<u8>> for cheap cloning.

Traits§

NativeStorage
A Storage that is suitable for use in native execution environments (outside of the zkVM).
Storage
An interface for storing and retrieving values in the storage.