Module libp2p::bandwidth

source ·

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 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.