#[repr(u8)]pub enum CrdtType {
GCounter = 1,
PNCounter = 2,
GSet = 3,
TwoPSet = 4,
LWWRegister = 5,
MVRegister = 6,
ORSet = 7,
Rga = 8,
TextCrdt = 9,
}Expand description
Identifies the type of CRDT for the version envelope.
Variants§
GCounter = 1
Grow-only counter.
PNCounter = 2
Positive-negative counter.
GSet = 3
Grow-only set.
TwoPSet = 4
Two-phase set.
LWWRegister = 5
Last-writer-wins register.
MVRegister = 6
Multi-value register.
ORSet = 7
Observed-remove set.
Rga = 8
Replicated Growable Array.
TextCrdt = 9
Collaborative text.
Trait Implementations§
impl Copy for CrdtType
impl Eq for CrdtType
impl StructuralPartialEq for CrdtType
Auto Trait Implementations§
impl Freeze for CrdtType
impl RefUnwindSafe for CrdtType
impl Send for CrdtType
impl Sync for CrdtType
impl Unpin for CrdtType
impl UnwindSafe for CrdtType
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