Skip to main content

Module file_transfer

Module file_transfer 

Source
Expand description

File transfer with chunking and reassembly.

Structs§

FileChunk
A file chunk message.
FileProgress
File transfer progress information.
FileTransferConfig
File transfer configuration.
FileTransferManager
File transfer manager for chunking and reassembly.
OutboundTransferState
Tracks the sliding-window state for a single outbound file transfer.
StaleTransfer
An incomplete transfer removed by FileTransferManager::cleanup_stale_transfers.

Enums§

ChunkDecodeError
Why FileChunk::from_bytes rejected a binary payload.
ChunkRejection
Why FileTransferManager::process_chunk refused a chunk.