Added scaffoded project

This commit is contained in:
2026-06-29 04:39:41 -03:00
parent ab82a4b71c
commit 9bd945cc51
17 changed files with 2797 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
#[derive(Debug, Clone, Copy)]
pub struct PendingRange {
pub chunk_start: usize,
pub chunk_end: usize,
pub start: usize,
pub end: usize,
}
impl PendingRange {
pub fn len(self) -> usize {
self.end.saturating_sub(self.start)
}
}
#[derive(Debug, Clone)]
pub struct ChunkRecord {
pub chunk_start: usize,
pub chunk_end: usize,
pub tested_count: usize,
pub open_count: usize,
pub is_complete: bool,
}
#[derive(Debug, Clone, Default)]
pub struct ScanTotals {
pub tested: usize,
pub open: usize,
}