Trait Build

Source
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§

Source

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.

Implementors§

Source§

impl Build for BuiltinBuildSpec

Source§

type Err = BuiltinBuildError

Source§

impl Build for CMakeBuildSpec

Source§

type Err = CMakeError

Source§

impl Build for CommandBuildSpec

Source§

type Err = CommandError

Source§

impl Build for MakeBuildSpec

Source§

type Err = MakeError

Source§

impl Build for RustMluaBuildSpec

Source§

type Err = RustError

Source§

impl Build for TreesitterParserBuildSpec

Source§

type Err = TreesitterBuildError