pub trait InfoOutput {
// Required methods
fn by_file(paths: Vec<PathBuf>);
fn by_println(paths: Vec<PathBuf>);
}Expand description
Define the trait for the different file types 2 ways to output the information: by file or by println
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.