pub trait ArchiveBuilder<'a> {
    // Required methods
    fn add_file(&mut self, path: &Path);
    fn add_archive(
        &mut self,
        archive: &Path,
        skip: Box<dyn FnMut(&str) -> bool + 'static>
    ) -> Result<()>;
    fn build(self: Box<Self>, output: &Path) -> bool;
}

Required Methods§

source

fn add_file(&mut self, path: &Path)

source

fn add_archive( &mut self, archive: &Path, skip: Box<dyn FnMut(&str) -> bool + 'static> ) -> Result<()>

source

fn build(self: Box<Self>, output: &Path) -> bool

Implementors§