Module storage_factory

Source
Expand description

Exposes a factory struct and trait to generate storage.

Structs§

FidlStorageFactory
Factory that vends out storage.
NoneT
StashDeviceStorageFactory
Factory that vends out storage.

Enums§

InitializationState
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§

DefaultLoader
StorageAccess
A trait for describing which storages an item needs access to. See StashDeviceStorageFactory::initialize for usage.
StorageFactory
DeviceStorageFactory abstracts over how to initialize and retrieve the DeviceStorage instance.