pub trait ArtifactBuilder<U, W>: Send + Sync{
// 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§
sourcefn 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,
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