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