pub trait GetFileInfo {
// Required methods
fn get_pid_info(&self, path: String) -> HashMap<String, String>;
fn get_mem_info(&self, path: String) -> Vec<String>;
fn get_port_info(&self, port: &str) -> Option<Vec<String>>;
}Expand description
Trait defining file information retrieval methods
Required Methods§
Sourcefn get_pid_info(&self, path: String) -> HashMap<String, String>
fn get_pid_info(&self, path: String) -> HashMap<String, String>
Get process information from a path
Sourcefn get_mem_info(&self, path: String) -> Vec<String>
fn get_mem_info(&self, path: String) -> Vec<String>
Get memory-mapped file information