Skip to main content

Module sync

Module sync 

Source
Expand description

Data synchronization abstraction layer

This module provides a unified interface for CRDT-based data synchronization, enabling the mesh to work with multiple sync engines without changing business logic.

§Core Traits

  1. DocumentStore - CRUD operations, queries, and live observers
  2. PeerDiscovery - Finding and connecting to other nodes
  3. SyncEngine - Controlling synchronization behavior
  4. DataSyncBackend - Lifecycle management and trait composition

Re-exports§

pub use in_memory::InMemoryBackend;
pub use traits::*;
pub use types::*;

Modules§

in_memory
In-memory reference implementation of sync backend traits
traits
Core trait definitions for data synchronization abstraction
types
Supporting types for data synchronization abstraction