pub trait ArchiveBuilder {
// Required methods
fn add_file(&mut self, path: &Path);
fn add_archive(
&mut self,
archive: &Path,
skip: Option<Box<dyn FnMut(&str, Option<&RmetaLink>) -> bool + 'static>>,
) -> Result<()>;
fn build(self: Box<Self>, output: &Path) -> bool;
}Required Methods§
fn add_file(&mut self, path: &Path)
fn add_archive( &mut self, archive: &Path, skip: Option<Box<dyn FnMut(&str, Option<&RmetaLink>) -> bool + 'static>>, ) -> Result<()>
fn build(self: Box<Self>, output: &Path) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".