pub trait SignableBuilderService: Send + Sync {
// Required method
fn compute_protocol_message<'life0, 'async_trait>(
&'life0 self,
signed_entity_type: SignedEntityType,
) -> Pin<Box<dyn Future<Output = StdResult<ProtocolMessage>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
ArtifactBuilder Service trait
Required Methods§
sourcefn compute_protocol_message<'life0, 'async_trait>(
&'life0 self,
signed_entity_type: SignedEntityType,
) -> Pin<Box<dyn Future<Output = StdResult<ProtocolMessage>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn compute_protocol_message<'life0, 'async_trait>(
&'life0 self,
signed_entity_type: SignedEntityType,
) -> Pin<Box<dyn Future<Output = StdResult<ProtocolMessage>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Compute signable from signed entity type