Enum StateMutationOrigin
pub enum StateMutationOrigin {
Set,
SetCommitted,
Remove,
ClearPrefix,
Commit,
}Expand description
Where a state mutation came from.
Variants§
Set
Regular State::set or prefixed state write.
SetCommitted
Direct committed-store write that bypasses delta tracking.
Remove
Removal of a single key.
ClearPrefix
Removal caused by clearing a prefix.
Commit
Delta changes committed into the base state.
Trait Implementations§
§impl Clone for StateMutationOrigin
impl Clone for StateMutationOrigin
§fn clone(&self) -> StateMutationOrigin
fn clone(&self) -> StateMutationOrigin
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 more§impl Debug for StateMutationOrigin
impl Debug for StateMutationOrigin
§impl<'de> Deserialize<'de> for StateMutationOrigin
impl<'de> Deserialize<'de> for StateMutationOrigin
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StateMutationOrigin, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StateMutationOrigin, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq for StateMutationOrigin
impl PartialEq for StateMutationOrigin
§impl Serialize for StateMutationOrigin
impl Serialize for StateMutationOrigin
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for StateMutationOrigin
impl Eq for StateMutationOrigin
impl StructuralPartialEq for StateMutationOrigin
Auto Trait Implementations§
impl Freeze for StateMutationOrigin
impl RefUnwindSafe for StateMutationOrigin
impl Send for StateMutationOrigin
impl Sync for StateMutationOrigin
impl Unpin for StateMutationOrigin
impl UnwindSafe for StateMutationOrigin
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> 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