cuprate_levin

Module message

Source
Expand description

Levin Messages

This module contains the LevinMessage, which allows sending bucket body’s, full buckets or dummy messages. The codec will not return LevinMessage instead it will only return bucket body’s. LevinMessage allows for more control over what is actually sent over the wire at certain times.

Structs§

  • This represents a dummy message to send to a peer.

Enums§

Functions§

  • Fragments the provided message into buckets which, when serialised, will all be the size of fragment_size.