Modules§
Structs§
- Chitchat
- Chitchat
Config - A struct for configuring a Chitchat instance.
- Chitchat
Envelope - A
ChitchatMessagepaired with the protocol version it is encoded with. The version is not part of the message model (seeChitchatMessage’s doc); this struct is the unit that actually travels on the wire, seemessage_serialize. - Chitchat
Handle - UDP Chitchat server handler.
- Chitchat
Id - For the lifetime of a cluster, nodes can go down and come back up multiple times. They may also
die permanently. A
ChitchatIdis composed of three components: - Cluster
State Snapshot - Failure
Detector Config - The failure detector config struct.
- Heartbeat
- The current heartbeat of a node.
- KeyChange
Event - Listener
Handle - Node
State - Versioned
Value - A versioned key-value pair.
Enums§
- Chitchat
Message - Chitchat message.
- Deletion
Status - The current status of a key-value pair with regard to deletion.
- Protocol
Version
Traits§
- Deserializable
- Trait to deserialize messages.
- Serializable
- Trait to serialize messages.
Functions§
- spawn_
chitchat - Launches a new Chitchat server.
Type Aliases§
- Catchup
Callback - An optional user-defined callback executed when the self node is lagging behind.
- Version
- The current version of a key.