Expand description
Exposes a factory struct and trait to generate storage.
Structs§
- Factory that vends out storage.
- Factory that vends out storage.
Enums§
- The state of the factory. Only one state can be active at a time because once the
DeviceStorage
is created, there’s no way to change the keys, so there’s no need to keep the set of keys anymore.
Traits§
- A trait for describing which storages an item needs access to. See StashDeviceStorageFactory::initialize for usage.
DeviceStorageFactory
abstracts over how to initialize and retrieve theDeviceStorage
instance.