pub struct StoreInfoV52 {
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: u64If 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§
Source§impl StoreInfoV52
impl StoreInfoV52
Sourcepub fn parent_objects(&self) -> Vec<u64>
pub fn parent_objects(&self) -> Vec<u64>
Returns the parent objects for this store.
Trait Implementations§
Source§impl Clone for StoreInfoV52
impl Clone for StoreInfoV52
Source§fn clone(&self) -> StoreInfoV52
fn clone(&self) -> StoreInfoV52
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StoreInfoV52
impl Debug for StoreInfoV52
Source§impl Default for StoreInfoV52
impl Default for StoreInfoV52
Source§fn default() -> StoreInfoV52
fn default() -> StoreInfoV52
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StoreInfoV52
impl<'de> Deserialize<'de> for StoreInfoV52
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<StoreInfoV40> for StoreInfoV52
impl From<StoreInfoV40> for StoreInfoV52
Source§fn from(item: StoreInfoV40) -> Self
fn from(item: StoreInfoV40) -> Self
Converts to this type from the input type.
Source§impl From<StoreInfoV49> for StoreInfoV52
impl From<StoreInfoV49> for StoreInfoV52
Source§fn from(value: StoreInfoV49) -> Self
fn from(value: StoreInfoV49) -> Self
Converts to this type from the input type.
Source§impl Serialize for StoreInfoV52
impl Serialize for StoreInfoV52
Source§impl TypeFingerprint for StoreInfoV52
impl TypeFingerprint for StoreInfoV52
fn fingerprint() -> String
Source§impl Versioned for StoreInfoV52
impl Versioned for StoreInfoV52
Source§impl VersionedLatest for StoreInfoV52
impl VersionedLatest for StoreInfoV52
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.
Auto Trait Implementations§
impl Freeze for StoreInfoV52
impl RefUnwindSafe for StoreInfoV52
impl Send for StoreInfoV52
impl Sync for StoreInfoV52
impl Unpin for StoreInfoV52
impl UnwindSafe for StoreInfoV52
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more