Crate storage_manager

source ·



A StorageManager that manages access to a minfs filesystem backed by an FVM partition encrypted with zxcrypt.


An enumeration of the possible key configurations for securing the data contained in a StorageManager.


An implementation of StorageManager provides access to a directory, optionally protected with a key specified by the caller. A StorageManager transitions between three internal states - uninitialized, locked, and available. Handles to the directory may only be retrieved while the StorageManager is in the available state. Similarly, handles to the directory provided by a StorageManager and any subdirectories should be closed prior to locking the StorageManager.