pub trait BuildProfileHandler {
// Required methods
fn profile(&self) -> BuildProfile;
fn detect(&self, workspace: &Path) -> bool;
fn run_build(
&self,
workspace: &Path,
package_name: &str,
line_callback: &mut Option<&mut dyn FnMut(&str)>,
) -> Result<PathBuf>;
}Required Methods§
fn profile(&self) -> BuildProfile
fn detect(&self, workspace: &Path) -> bool
fn run_build( &self, workspace: &Path, package_name: &str, line_callback: &mut Option<&mut dyn FnMut(&str)>, ) -> Result<PathBuf>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".