bluefin 0.1.6

An experimental, secure, P2P, transport-layer protocol.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/// The endpoint host type
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum BluefinHost {
    PackLeader,
    PackFollower,
    Client,
}

/// The state at which the connection is at
#[derive(PartialEq, Debug)]
pub enum State {
    Handshake,
    DataStream,
    Closed,
    Error,
    Ready,
}