Expand description
Collection of miscellaneous utilities used by the mtorrent crate and its components. Some of the utilities are specific to the BitTorrent protocol, while others are generic and can be used in any Tokio-based application.
Modulesยง
- bandwidth
- Bitrate measurement utilities.
- benc
- Bencoding parser and serializer.
- connect_
throttle - Rate-limited connection permits for peer addresses.
- fifo_
set - FIFO set with optional bounded capacity and deduplication.
- local_
watch - Single-value watch channel for
!Sendtypes. - loop_
select - Cooperative poll-loop multiplexing multiple futures.
- net
- Local IP address discovery and socket helpers.
- peer_id
- BitTorrent peer ID generation and wrapper.
- split_
stream - Trait for splitting a bidirectional stream into read/write halves.
- upnp
- UPnP/IGD port forwarding helpers.
- worker
- Dedicated single-threaded Tokio worker thread.