Trait mithril_aggregator::ArtifactBuilder

source ·
pub trait ArtifactBuilder<U, W>: Send + Sync
where U: Beacon, W: Artifact,
{ // Required method fn compute_artifact<'life0, 'life1, 'async_trait>( &'life0 self, beacon: U, certificate: &'life1 Certificate, ) -> Pin<Box<dyn Future<Output = StdResult<W>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; }
Expand description

ArtifactBuilder is trait for building an artifact

Required Methods§

source

fn compute_artifact<'life0, 'life1, 'async_trait>( &'life0 self, beacon: U, certificate: &'life1 Certificate, ) -> Pin<Box<dyn Future<Output = StdResult<W>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Compute an artifact

Implementors§