InfoFetcher

Trait InfoFetcher 

Source
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§

Source

fn info(paths: Vec<PathBuf>, args: Vec<String>) -> String

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.

Implementors§