Skip to main content

Crate vortex_bittorrent

Crate vortex_bittorrent 

Source

Structs§

Config
Configuration settings for a given torrent
MetadataProgress
Progress in downloading metadata per peer
PeerId
Peer id
PeerMetrics
Metrics for a given peer
ProgressIter
Iterator over the per-piece completion state of a TorrentProgress, yielding true for each complete piece and false otherwise.
State
Current state of the torrent
Torrent
A single torrent containing the current torrent state and our peer id. This object is responsible for starting the I/O event loop.
TorrentMetadata
Everything found in a .torrent file.
TorrentProgress
Per-piece download progress for a torrent: which pieces are complete (downloaded and hash-verified) and how many.

Enums§

Command
Commands that can be sent to the torrent event loop through the command channel
TorrentEvent
Events from the torrent

Constants§

CQE_WAIT_TIME_NS