pallas-network 0.34.0

Ouroboros networking stack using async IO
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub type Cookie = u16;

#[derive(Debug, PartialEq, Eq, Clone)]
pub enum State {
    Client,
    Server(Cookie),
    Done,
}

#[derive(Debug, Clone)]
pub enum Message {
    KeepAlive(Cookie),
    ResponseKeepAlive(Cookie),
    Done,
}