torrust-actix 4.2.3

A rich, fast and efficient Bittorrent Tracker.
1
2
3
4
5
6
7
/// A signed 64-bit byte count used for the `uploaded`, `downloaded`, and
/// `left` fields in announce requests.
///
/// The BitTorrent protocol transmits these as unsigned integers, but SQLx maps
/// them to `i64` for database storage — hence the signed inner type.
#[derive(PartialEq, PartialOrd, Eq, Hash, Clone, Copy, Debug)]
pub struct NumberOfBytes(pub i64);