1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
//! Implementation blocks for tracker data structures.
//!
//! This module contains all the `impl` blocks that provide methods for the
//! tracker's data structures. Implementations are organized by the struct
//! they extend.
/// InfoHash implementation: Display, FromStr, Serialize, Deserialize.
/// PeerId implementation: Display, FromStr, Serialize, client detection.
/// TorrentEntry implementation: creation and modification methods.
/// TorrentPeer implementation: creation and update methods.
/// TorrentTracker core implementation: initialization and configuration.
/// TorrentTracker API key management methods.
/// TorrentTracker peer management methods (add, update, remove peers).
/// TorrentTracker torrent management methods (add, get, remove torrents).
/// TorrentTracker announce/scrape request handlers.
/// TorrentTracker blacklist management methods.
/// TorrentTracker torrent database update flushing.
/// TorrentTracker whitelist management methods.
/// TorrentTracker user management methods.
/// TorrentTracker user database update flushing.
/// UserId implementation: Display, FromStr, Serialize, Deserialize.
/// AnnounceEvent implementation: conversion methods.
/// TorrentSharding implementation: sharded storage operations.
/// TorrentTracker data import from JSON files.
/// TorrentTracker data export to JSON files.
/// TorrentTracker self-signed certificate generation.
/// TorrentTracker blacklist database update flushing.
/// TorrentTracker whitelist database update flushing.
/// TorrentTracker API key database update flushing.
/// CleanupStats implementation: atomic counter operations.