#[repr(u8)]pub enum OperationKind {
Show 15 variants
RecordCreate = 1,
RecordDelete = 2,
LwwAssign = 3,
OrSetAdd = 4,
OrSetRemove = 5,
GrowOnlySetAdd = 6,
CounterIncrement = 7,
CounterDecrement = 8,
MultiValueAssign = 9,
ImmutableSet = 10,
OrderedListInsert = 11,
OrderedListRemove = 12,
FieldStateMerge = 13,
SchemaStage = 14,
SchemaActivate = 15,
}Expand description
The stable operation opcode applied by the materializer.
Variants§
RecordCreate = 1
Adds a record incarnation.
RecordDelete = 2
Removes observed record incarnations.
LwwAssign = 3
Assigns a causal LWW register.
OrSetAdd = 4
Adds an observed-remove set element.
OrSetRemove = 5
Removes observed set additions.
GrowOnlySetAdd = 6
Adds a grow-only set element.
CounterIncrement = 7
Increments a PN counter component.
CounterDecrement = 8
Decrements a PN counter component.
MultiValueAssign = 9
Assigns a multi-value register.
ImmutableSet = 10
Sets an immutable value.
OrderedListInsert = 11
Inserts an ordered-list element.
OrderedListRemove = 12
Removes an observed ordered-list element.
FieldStateMerge = 13
Merges a complete canonical CRDT field state.
SchemaStage = 14
Stages one target-schema record without changing visible state.
SchemaActivate = 15
Atomically activates a completely staged schema transition.
Trait Implementations§
Source§impl Clone for OperationKind
impl Clone for OperationKind
Source§fn clone(&self) -> OperationKind
fn clone(&self) -> OperationKind
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 OperationKind
impl Debug for OperationKind
Source§impl PartialEq for OperationKind
impl PartialEq for OperationKind
Source§impl TryFrom<u8> for OperationKind
impl TryFrom<u8> for OperationKind
impl Copy for OperationKind
impl Eq for OperationKind
impl StructuralPartialEq for OperationKind
Auto Trait Implementations§
impl Freeze for OperationKind
impl RefUnwindSafe for OperationKind
impl Send for OperationKind
impl Sync for OperationKind
impl Unpin for OperationKind
impl UnwindSafe for OperationKind
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