rammux 0.1.2

Asynchronous stream multiplexer
Documentation
1
2
3
4
5
6
7
8
9
10
use std::time::Duration;

/// Global pool of receive window capacity available to all rammux streams within a single rammux connection.
#[derive(Default)]
pub struct GlobalPool {
    /// Last measured round-trip time of the connection.
    pub rtt: Option<Duration>,
    /// Amount of bytes that are currently available in the pool.
    pub available: usize,
}