pub type StoreInfo = StoreInfoV40;
Expand description
StoreInfo stores information about the object store. This is stored within the parent object store, and is used, for example, to get the persistent layer objects.
Aliased Type§
struct StoreInfo {
pub layers: Vec<u64>,
pub encrypted_mutations_object_id: u64,
/* private fields */
}
Fields§
§layers: Vec<u64>
Object ids for layers. TODO(https://fxbug.dev/42178036): need a layer of indirection here so we can support snapshots.
encrypted_mutations_object_id: u64
If we have to flush the store whilst we do not have the key, we need to write the encrypted mutations to an object. This is the object ID of that file if it exists.
Implementations§
Trait Implementations§
Source§impl VersionedLatest for StoreInfo
impl VersionedLatest for StoreInfo
Source§fn deserialize_from_version<R>(reader: &mut R, version: Version) -> Result<Self>
fn deserialize_from_version<R>(reader: &mut R, version: Version) -> Result<Self>
Deserializes from a given version format and upgrades to the latest version.