Trait assembly_pack::common::fs::FsVisitor   
source · pub trait FsVisitor {
    // Required method
    fn visit_file<F: FileInfo>(&mut self, info: F);
    // Provided methods
    fn failed_read_dir(&mut self, real: &Path, e: Error) { ... }
    fn failed_next_dir_entry(&mut self, real: &Path, e: Error) { ... }
}Expand description
A trait to scan a directory of files
Required Methods§
sourcefn visit_file<F: FileInfo>(&mut self, info: F)
 
fn visit_file<F: FileInfo>(&mut self, info: F)
Called when a file is visited
Provided Methods§
sourcefn failed_read_dir(&mut self, real: &Path, e: Error)
 
fn failed_read_dir(&mut self, real: &Path, e: Error)
Called when read-dir fails
sourcefn failed_next_dir_entry(&mut self, real: &Path, e: Error)
 
fn failed_next_dir_entry(&mut self, real: &Path, e: Error)
Called when read-dir fails
Object Safety§
This trait is not object safe.