pub enum MutationV56 {
ObjectStore(ObjectStoreMutationV56),
EncryptedObjectStore(Box<[u8]>),
Allocator(AllocatorMutationV32),
BeginFlush,
EndFlush,
DeleteVolume,
UpdateBorrowed(u64),
UpdateMutationsKey(UpdateMutationsKey),
CreateInternalDir(u64),
}Variants§
ObjectStore(ObjectStoreMutationV56)
EncryptedObjectStore(Box<[u8]>)
Allocator(AllocatorMutationV32)
BeginFlush
Indicates the beginning of a flush. This would typically involve sealing a tree.
EndFlush
Indicates the end of a flush. This would typically involve replacing the immutable layers with compacted ones.
DeleteVolume
Volume has been deleted. Requires we remove it from the set of managed ObjectStore.
UpdateBorrowed(u64)
UpdateMutationsKey(UpdateMutationsKey)
CreateInternalDir(u64)
Implementations§
Source§impl MutationV56
impl MutationV56
pub fn insert_object(key: ObjectKey, value: ObjectValue) -> Self
pub fn replace_or_insert_object(key: ObjectKey, value: ObjectValue) -> Self
pub fn merge_object(key: ObjectKey, value: ObjectValue) -> Self
pub fn update_mutations_key(key: FxfsKey) -> Self
Trait Implementations§
Source§impl Clone for MutationV56
impl Clone for MutationV56
Source§fn clone(&self) -> MutationV56
fn clone(&self) -> MutationV56
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MutationV56
impl Debug for MutationV56
Source§impl<'de> Deserialize<'de> for MutationV56
impl<'de> Deserialize<'de> for MutationV56
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
impl Eq for MutationV56
Source§impl From<MutationV40> for MutationV56
impl From<MutationV40> for MutationV56
Source§fn from(item: MutationV40) -> Self
fn from(item: MutationV40) -> Self
Converts to this type from the input type.
Source§impl From<MutationV41> for MutationV56
impl From<MutationV41> for MutationV56
Source§fn from(item: MutationV41) -> Self
fn from(item: MutationV41) -> Self
Converts to this type from the input type.
Source§impl From<MutationV43> for MutationV56
impl From<MutationV43> for MutationV56
Source§fn from(item: MutationV43) -> Self
fn from(item: MutationV43) -> Self
Converts to this type from the input type.
Source§impl From<MutationV46> for MutationV56
impl From<MutationV46> for MutationV56
Source§fn from(item: MutationV46) -> Self
fn from(item: MutationV46) -> Self
Converts to this type from the input type.
Source§impl From<MutationV47> for MutationV56
impl From<MutationV47> for MutationV56
Source§fn from(item: MutationV47) -> Self
fn from(item: MutationV47) -> Self
Converts to this type from the input type.
Source§impl From<MutationV49> for MutationV56
impl From<MutationV49> for MutationV56
Source§fn from(item: MutationV49) -> Self
fn from(item: MutationV49) -> Self
Converts to this type from the input type.
Source§impl From<MutationV50> for MutationV56
impl From<MutationV50> for MutationV56
Source§fn from(item: MutationV50) -> Self
fn from(item: MutationV50) -> Self
Converts to this type from the input type.
Source§impl From<MutationV54> for MutationV56
impl From<MutationV54> for MutationV56
Source§fn from(item: MutationV54) -> Self
fn from(item: MutationV54) -> Self
Converts to this type from the input type.
Source§impl From<MutationV55> for MutationV56
impl From<MutationV55> for MutationV56
Source§fn from(from: MutationV55) -> Self
fn from(from: MutationV55) -> Self
Converts to this type from the input type.
Source§impl Ord for MutationV56
impl Ord for MutationV56
Source§fn cmp(&self, other: &MutationV56) -> Ordering
fn cmp(&self, other: &MutationV56) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MutationV56
impl PartialEq for MutationV56
Source§fn eq(&self, other: &MutationV56) -> bool
fn eq(&self, other: &MutationV56) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MutationV56
impl PartialOrd for MutationV56
Source§impl Serialize for MutationV56
impl Serialize for MutationV56
impl StructuralPartialEq for MutationV56
Source§impl TypeFingerprint for MutationV56
impl TypeFingerprint for MutationV56
fn fingerprint() -> String
Source§impl Versioned for MutationV56
impl Versioned for MutationV56
Source§fn max_serialized_size() -> Option<u64>
fn max_serialized_size() -> Option<u64>
Maximum size of a serialized version of this type. Serialization and deserialization will
fail if the limit is exceeded. If None, there is no limit. None is preferred over u64::MAX
because serializing and deserializing with a limit has runtime overhead.
fn deserialize_from<R>(reader: &mut R, _version: Version) -> Result<Self>
fn serialize_into<W>(&self, writer: &mut W) -> Result<()>
Source§impl VersionedLatest for MutationV56
impl VersionedLatest for MutationV56
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 MutationV56
impl RefUnwindSafe for MutationV56
impl Send for MutationV56
impl Sync for MutationV56
impl Unpin for MutationV56
impl UnsafeUnpin for MutationV56
impl UnwindSafe for MutationV56
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
fn fidl_into_native(self) -> Box<N>
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