mithril_common::signable_builder

Trait SignableBuilderService

source
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§

source

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

Implementors§