pub enum CrdtStrategy {
Lww,
AddWins,
RemoveWins,
GCounter,
MvRegister,
Rga,
Lseq,
YjsTree,
Dag,
}Expand description
CRDT field strategies
Variants§
Lww
Last-Write-Wins strategy
AddWins
Add-Wins strategy
RemoveWins
Remove-Wins strategy
GCounter
Grow-Only Counter
MvRegister
Multi-Value Register
Rga
Replicated Growable Array
Lseq
Logoot Sequence
YjsTree
Yjs-style tree
Dag
Directed Acyclic Graph
Trait Implementations§
Source§impl Clone for CrdtStrategy
impl Clone for CrdtStrategy
Source§fn clone(&self) -> CrdtStrategy
fn clone(&self) -> CrdtStrategy
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 CrdtStrategy
impl Debug for CrdtStrategy
Source§impl<'de> Deserialize<'de> for CrdtStrategy
impl<'de> Deserialize<'de> for CrdtStrategy
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
Source§impl PartialEq for CrdtStrategy
impl PartialEq for CrdtStrategy
Source§impl Serialize for CrdtStrategy
impl Serialize for CrdtStrategy
impl StructuralPartialEq for CrdtStrategy
Auto Trait Implementations§
impl Freeze for CrdtStrategy
impl RefUnwindSafe for CrdtStrategy
impl Send for CrdtStrategy
impl Sync for CrdtStrategy
impl Unpin for CrdtStrategy
impl UnwindSafe for CrdtStrategy
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