Module orkas_core::model
source · Expand description
Models include data wrapper and type aliases used in the project.
Structs
- Type for CRDT to identify actors, differentiate between them, and causality. This is used everytime on updating the logs list.
- The broadcast type being used internally for foca to invalidate and distribute. Only the
datapart will be sent so it’s crucial to put everything needed into buffer. The structure is: - Metadata of broadcast message
- Message with topic and target information that’s ready to be sent
- States of the Orkas node
- UNIX Timestamp. Uses 64 bit unsigned internally.
Enums
- Body of broadcast message
- Messages being passed around internally, not produced internally. External messages are also included
- Direct message
Type Definitions
- Represent operations on a topic.