Skip to main content

Builder

Trait Builder 

Source
pub trait Builder {
    type ConfigType: Default + for<'de> Deserialize<'de> + Clone;

    // Required method
    async fn build(&self, config: Self::ConfigType) -> Result<Vec<ArtifactPath>>;
}

Required Associated Types§

Source

type ConfigType: Default + for<'de> Deserialize<'de> + Clone

Required Methods§

Source

async fn build(&self, config: Self::ConfigType) -> Result<Vec<ArtifactPath>>

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§