Send cancellations on steal

This commit is contained in:
Igor Katson 2024-04-07 15:33:07 +04:00
parent 841c84ff25
commit 6a23f311e1
4 changed files with 62 additions and 44 deletions

View file

@ -19,7 +19,7 @@ pub struct PieceInfo {
pub len: u32,
}
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct ChunkInfo {
pub piece_index: ValidPieceIndex,