1
0
Fork 0
mirror of synced 2024-06-17 01:45:16 +12:00
czkawka/czkawka_core/src/common_traits.rs

18 lines
283 B
Rust
Raw Normal View History

use std::path::Path;
2020-09-27 03:52:13 +13:00
pub trait DebugPrint {
fn debug_print(&self);
}
2021-11-28 08:57:10 +13:00
2020-09-27 03:52:13 +13:00
pub trait SaveResults {
fn save_results_to_file(&mut self, file_name: &str) -> bool;
}
2021-11-28 08:57:10 +13:00
2020-09-27 03:52:13 +13:00
pub trait PrintResults {
fn print_results(&self);
}
pub trait ResultEntry {
fn get_path(&self) -> &Path;
}