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