librqbit 8.1.1

The main library used by rqbit torrent client. The binary is just a small wrapper on top of it.
Documentation
1
2
3
4
5
6
7
8
9
10
use std::sync::atomic::AtomicU64;

use crate::torrent_state::live::peers::stats::atomic::AggregatePeerStatsAtomic;

#[derive(Default, Debug)]
pub struct AtomicSessionStats {
    pub fetched_bytes: AtomicU64,
    pub uploaded_bytes: AtomicU64,
    pub(crate) peers: AggregatePeerStatsAtomic,
}