Module storage

Source

Modules§

tests
The storage::tests module contains test vectors that implementations of the Storage trait should pass. These can be called with a Storage implementation as part of a test.

Structs§

MemStorage
The MemStorage struct is an in-memory-only implementation of the Storage trait, to be used in testing scenarios.

Traits§

Storage
The Storage trait is used to access typed key=value storage, for persisting protocol state and other data between runs of the update check process.
StorageExt
Extension trait that adds some features to Storage that can be implemented using the base Storage implementation.