pub trait InfoFetcher {
// Required method
fn info(paths: Vec<PathBuf>, args: Vec<String>) -> String;
}Expand description
Define the info fetch method
Each type of file has its own way to fetch the information.
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.