Structs§
- A default implementation of y-sync Protocol.
- Since y-sync protocol enables for a multiple messages to be packed into a singe byte payload, MessageReader can be used over the decoder to read these messages one by one in iterable fashion.
Enums§
- An error type returned in response from y-sync Protocol.
Constants§
- Tag id for Message::Auth.
- Tag id for Message::Awareness.
- Tag id for Message::AwarenessQuery.
- Tag id for Message::Sync.
- Tag id for SyncMessage::SyncStep1.
- Tag id for SyncMessage::SyncStep2.
- Tag id for SyncMessage::Update.
Traits§
- Trait implementing a y-sync protocol. The default implementation can be found in DefaultProtocol, but its implementation steps can be potentially changed by the user if necessary.