Module libp2p::bandwidth[][src]

Structs

Wraps around an AsyncRead + AsyncWrite and logs the bandwidth that goes through it.

Wraps around a Future that produces a connection. Wraps the connection around a bandwidth counter.

Wraps around a Stream that produces connections. Wraps each connection around a bandwidth counter.

Wraps around a Transport and counts the number of bytes that go through all the opened connections.

Allows obtaining the average bandwidth of the connections created from a BandwidthLogging.