pub trait Build {
type Err: Error;
// Required method
fn run(
self,
output_paths: &RockLayout,
no_install: bool,
lua: &LuaInstallation,
external_dependencies: &HashMap<String, ExternalDependencyInfo>,
config: &Config,
tree: &Tree,
build_dir: &Path,
progress: &Progress<ProgressBar>,
) -> impl Future<Output = Result<BuildInfo, Self::Err>> + Send;
}Required Associated Types§
Required Methods§
fn run( self, output_paths: &RockLayout, no_install: bool, lua: &LuaInstallation, external_dependencies: &HashMap<String, ExternalDependencyInfo>, config: &Config, tree: &Tree, build_dir: &Path, progress: &Progress<ProgressBar>, ) -> impl Future<Output = Result<BuildInfo, Self::Err>> + Send
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.