pub enum MutationV49 {
ObjectStore(ObjectStoreMutationV49),
EncryptedObjectStore(Box<[u8]>),
Allocator(AllocatorMutationV32),
BeginFlush,
EndFlush,
DeleteVolume,
UpdateBorrowed(u64),
UpdateMutationsKey(UpdateMutationsKeyV49),
CreateInternalDir(u64),
}
Variants§
ObjectStore(ObjectStoreMutationV49)
EncryptedObjectStore(Box<[u8]>)
Allocator(AllocatorMutationV32)
BeginFlush
EndFlush
DeleteVolume
UpdateBorrowed(u64)
UpdateMutationsKey(UpdateMutationsKeyV49)
CreateInternalDir(u64)
Implementations§
Source§impl MutationV49
impl MutationV49
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 MutationV49
impl Clone for MutationV49
Source§fn clone(&self) -> MutationV49
fn clone(&self) -> MutationV49
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 MutationV49
impl Debug for MutationV49
Source§impl<'de> Deserialize<'de> for MutationV49
impl<'de> Deserialize<'de> for MutationV49
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<MutationV47> for MutationV49
impl From<MutationV47> for MutationV49
Source§fn from(from: MutationV47) -> Self
fn from(from: MutationV47) -> Self
Converts to this type from the input type.
Source§impl Ord for MutationV49
impl Ord for MutationV49
Source§fn cmp(&self, other: &MutationV49) -> Ordering
fn cmp(&self, other: &MutationV49) -> Ordering
1.21.0 · 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 MutationV49
impl PartialEq for MutationV49
Source§impl PartialOrd for MutationV49
impl PartialOrd for MutationV49
Source§impl Serialize for MutationV49
impl Serialize for MutationV49
Source§impl TypeFingerprint for MutationV49
impl TypeFingerprint for MutationV49
fn fingerprint() -> String
Source§impl Versioned for MutationV49
impl Versioned for MutationV49
impl Eq for MutationV49
impl StructuralPartialEq for MutationV49
Auto Trait Implementations§
impl Freeze for MutationV49
impl RefUnwindSafe for MutationV49
impl Send for MutationV49
impl Sync for MutationV49
impl Unpin for MutationV49
impl UnwindSafe for MutationV49
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<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.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