Expand description
Library for parsing and writing UDP tracker messages.
Includes a default implementation of a bittorrent UDP tracker client and a customizable trait based implementation of a bittorrent UDP tracker server.
Modules§
- announce
- Messaging primitives for announcing.
- contact
- Messaging primitives for contact information.
- error
- Messaging primitives for server errors.
- option
- Messaging primitives for announce options.
- request
- Messaging primitives for requests.
- response
- Messaging primitives for responses.
- scrape
- Messaging primitives for scraping.
Structs§
- Client
Metadata - Response metadata from a request.
- Client
Token - Associates a ClientRequest with a ClientResponse.
- Tracker
Client - Tracker client that executes requests asynchronously.
- Tracker
Server - Tracker server that executes responses asynchronously.
Enums§
- Client
Error - Errors occuring as the result of a ClientRequest.
- Client
Request - Request made by the TrackerClient.
- Client
Response - Response received by the TrackerClient.
Traits§
- Server
Handler - Trait for providing a TrackerServer with methods to service TrackerReqeusts.
Type Aliases§
- Client
Result - Result type for a ClientRequest.
- Info
Hash - Bittorrent
InfoHash. - PeerId
- Bittorrent
PeerId. - Server
Result - Result type for a ServerHandler.