You are browsing as a guest. Sign up (or log in) to start making projects!

1h 58m logged

Annotate session state structs with allow(dead_code) for future use

The ArchiveSession and RestoreSession structs in the handler state machine
contain fields (session_id, file_count, compression, bytes_received,
bytes_sent) that are stored for future use in resume-after-interruption
logic and detailed transfer statistics. Currently they are only written
during state transitions but not yet read back. Add #[allow(dead_code)]
annotations to suppress compiler warnings while keeping the fields
available for the planned transfer progress tracking and interrupted
archive resume features.

0
2

Comments 0

No comments yet. Be the first!