Crate loro_internal
source ·Expand description
loro-internal is a CRDT framework.
Re-exports
pub use event::ContainerDiff;
pub use event::DiffEvent;
pub use event::DocDiff;
pub use handler::ListHandler;
pub use handler::MapHandler;
pub use handler::TextHandler;
pub use handler::TreeHandler;
pub use loro::LoroDoc;
pub use oplog::OpLog;
pub use version::VersionVector;
Modules
- Changes are merged ops.
- CRDT Container. Each container may have different CRDT type ContainerType. Each [Op] has an associated container. It’s the Container’s responsibility to calculate the state from the [Op]s.
- DAG (Directed Acyclic Graph) is a common data structure in distributed system.
Macros
Structs
Enums
- LoroValue is used to represents the state of CRDT at a given version.
Traits
Type Aliases
- A
HashMap
using a default Fx hasher.