Skip to main content

Crate librqbit_peer_protocol

Crate librqbit_peer_protocol 

Source

Modules§

extended

Structs§

DoubleBufHelper
A helper for working with a buffer split into 2. You can advance it forward (like you would do with buf=&buf[idx..])
Handshake
MsgIdDebug
Piece
Request

Enums§

Message
MessageDeserializeError
SerializeError

Constants§

EXTENDED_UT_METADATA_KEY
EXTENDED_UT_PEX_KEY
MAX_MSG_LEN
MY_EXTENDED_UT_METADATA
MY_EXTENDED_UT_PEX
PIECE_MESSAGE_DEFAULT_LEN

Functions§

serialize_piece_preamble