e976d40eee
* Loading cache * Loading * Loading x2 * Optimization * Cache common * Delete outdated cache * Common * Loading cache/save almost * Simplified a lot of cache concept * Fix regression
20 lines
354 B
Rust
20 lines
354 B
Rust
use std::path::Path;
|
|
|
|
pub trait DebugPrint {
|
|
fn debug_print(&self);
|
|
}
|
|
|
|
pub trait SaveResults {
|
|
fn save_results_to_file(&mut self, file_name: &str) -> bool;
|
|
}
|
|
|
|
pub trait PrintResults {
|
|
fn print_results(&self);
|
|
}
|
|
|
|
pub trait ResultEntry {
|
|
fn get_path(&self) -> &Path;
|
|
fn get_modified_date(&self) -> u64;
|
|
fn get_size(&self) -> u64;
|
|
}
|