mycelium-protocol 0.0.1

Protocol vocabulary and compatibility markers for Mycelium
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#![doc = include_str!("../README.md")]

/// Initial protocol marker used during namespace bootstrapping.
pub const PROTOCOL_VERSION: u16 = 0;

/// High-level kind of a Mycelium protocol envelope.
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum EnvelopeKind {
    /// Control-plane coordination.
    Control,
    /// Application data.
    Data,
}