Module metainfo

Module metainfo 

Source
Expand description

Borrowed top-level metainfo views.

Structs§

InfoHashV1
Owned hash value for a v1 SHA-1 info hash.
InfoHashV2
Owned hash value for a v2 SHA-256 info hash.
Metainfo
Owned, validated metainfo inspection object.
RawMetainfo
Borrowed, syntax-level view of a BitTorrent metainfo dictionary.
TorrentBytes
Owned torrent byte string whose identity is the exact raw bytes.
TorrentFile
Owned payload file entry exposed by the inspection API.
TorrentPath
Owned torrent path preserving raw component identity and ordering.
UnknownField
An owned unknown top-level metainfo field.
V1File
A validated v1 payload file entry.
V1Metainfo
Validated typed view of v1 metainfo.
V2File
A validated v2 payload file entry.
V2Metainfo
Validated typed view of v2 or hybrid metainfo.
ValidationReport
ValidationWarning
Structured non-fatal compatibility warning.

Enums§

Canonicality
Result of metainfo-only validation. Canonical encoding status for parseable source bytes.
TorrentMode
Protocol representation identified for validated metainfo.