pub enum CrdtType {
Register,
Counter,
Text,
Set,
}Expand description
The CRDT a field is represented by — its merge semantics.
Variants§
Register
Last-writer-wins register (a scalar value).
Counter
PN-counter (add/subtract, commutes).
Text
Collaborative text.
Set
Add-wins observed-remove set.
Implementations§
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 UnsafeUnpin 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