pub enum CrdtKind {
Solo,
Loro,
YCrdt,
}Expand description
The CRDT engine selector (SABER §2 CrdtKind). Solo is the M0a
degenerate; Loro the M2 primary; YCrdt the M2 interop arm.
Variants§
Solo
The M0a one-replica degenerate (single writer; no concurrent merge).
Loro
loro — the M2 primary co-editing engine (UNBUILT at M0a).
YCrdt
y-crdt (yrs) — the M2 interop arm (UNBUILT at M0a).
Trait Implementations§
impl Copy for CrdtKind
Source§impl<'de> Deserialize<'de> for CrdtKind
impl<'de> Deserialize<'de> for CrdtKind
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
impl Eq for CrdtKind
impl StructuralPartialEq for CrdtKind
Auto Trait Implementations§
impl Freeze for CrdtKind
impl RefUnwindSafe for CrdtKind
impl Send for CrdtKind
impl Sync for CrdtKind
impl Unpin for CrdtKind
impl UnsafeUnpin for CrdtKind
impl UnwindSafe for CrdtKind
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