pallas-network 0.23.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 KeepAliveCookie = u16;

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

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