logo

Trait assembly_pack::common::fs::FsVisitor[][src]

pub trait FsVisitor {
    fn visit_file(&mut self, info: FileInfo<'_>);

    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

Called when a file is visited

Provided methods

Called when read-dir fails

fn failed_next_dir_entry(&mut self, real: &Path, e: Error)

Called when read-dir fails

Implementors