Expand description
§Rust Levin
A crate for working with the Levin protocol in Rust.
The Levin protocol is a network protocol used in the Monero cryptocurrency. It is used for peer-to-peer communication between nodes. This crate provides a Rust implementation of the Levin header serialization and allows developers to define their own bucket bodies, for a complete monero protocol crate see: monero-wire.
§License
This project is licensed under the MIT License.
Re-exports§
pub use header::BucketHead;pub use message::LevinMessage;pub use codec::*;
Modules§
- codec
 - A tokio-codec for levin buckets
 - header
 - This module provides a struct 
BucketHeadfor the header of a levin protocol message. - message
 - Levin Messages
 
Structs§
- Bucket
 - A levin Bucket
 - Bucket
Builder  - Protocol
 - Levin protocol settings, allows setting custom parameters.
 
Enums§
- Bucket
Error  - Possible Errors when working with levin buckets
 - Message
Type  - An enum representing if the message is a request, response or notification.
 
Traits§
- Levin
Body  - A levin body
 - Levin
Command  - The levin commands.