plumtree 0.1.1

A Rust implementation of Plumtree algorithm
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::hash::Hash;

/// This trait allows for defining a system to which Plumtree nodes belong.
pub trait System {
    /// Node identifier.
    type NodeId: Clone + Hash + Eq;

    /// Message identifier.
    type MessageId: Clone + Hash + Eq;

    /// Message payload.
    type MessagePayload: Clone;
}