pub trait Builder {
type ConfigType: Default + for<'de> Deserialize<'de> + Clone;
// Required method
async fn build(
&self,
config: Self::ConfigType,
version: &str,
) -> Result<Vec<ArtifactPath>>;
}Required Associated Types§
type ConfigType: Default + for<'de> Deserialize<'de> + Clone
Required Methods§
Sourceasync fn build(
&self,
config: Self::ConfigType,
version: &str,
) -> Result<Vec<ArtifactPath>>
async fn build( &self, config: Self::ConfigType, version: &str, ) -> Result<Vec<ArtifactPath>>
Run the builder and return the produced artifacts.
version is the abbaye release version currently being built (e.g.
"1.2.3"). Implementations that spawn subprocesses must expose it as
the ABBAYE_BUILDING_VERSION environment variable.
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.