pub struct StoreInfoV40 {
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§
Source§impl StoreInfoV40
impl StoreInfoV40
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 StoreInfoV40
impl Clone for StoreInfoV40
Source§fn clone(&self) -> StoreInfoV40
fn clone(&self) -> StoreInfoV40
Returns a copy 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 StoreInfoV40
impl Debug for StoreInfoV40
Source§impl Default for StoreInfoV40
impl Default for StoreInfoV40
Source§fn default() -> StoreInfoV40
fn default() -> StoreInfoV40
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StoreInfoV40
impl<'de> Deserialize<'de> for StoreInfoV40
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<StoreInfoV36> for StoreInfoV40
impl From<StoreInfoV36> for StoreInfoV40
Source§fn from(from: StoreInfoV36) -> Self
fn from(from: StoreInfoV36) -> Self
Converts to this type from the input type.
Source§impl Serialize for StoreInfoV40
impl Serialize for StoreInfoV40
Source§impl TypeFingerprint for StoreInfoV40
impl TypeFingerprint for StoreInfoV40
fn fingerprint() -> String
Source§impl Versioned for StoreInfoV40
impl Versioned for StoreInfoV40
Auto Trait Implementations§
impl Freeze for StoreInfoV40
impl RefUnwindSafe for StoreInfoV40
impl Send for StoreInfoV40
impl Sync for StoreInfoV40
impl Unpin for StoreInfoV40
impl UnwindSafe for StoreInfoV40
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,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§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