aria2-protocol 0.3.10

Multi-protocol networking stack for aria2-rust: HTTP/HTTPS client, FTP/SFTP, full BitTorrent (DHT/PEX/MSE), and Metalink V3/V4 parser
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! DHT task scheduling through independent periodic and on-demand lanes.
//!
//! Tasks run asynchronously. Each lane bounds its own concurrent work and
//! cancels queued and running tasks during engine shutdown.

mod executor;
mod queue;
#[cfg(test)]
mod tests;

pub use executor::{BoxedDhtTask, DEFAULT_NUM_CONCURRENT, DhtTask, DhtTaskExecutor};
pub use queue::DhtTaskQueue;