mithril_common::signable_builder

Trait SignableBuilder

source
pub trait SignableBuilder<U>: Send + Sync
where U: Beacon,
{ // Required method fn compute_protocol_message<'life0, 'async_trait>( &'life0 self, beacon: U, ) -> Pin<Box<dyn Future<Output = StdResult<ProtocolMessage>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; }
Expand description

SignableBuilder is a trait for building a protocol message for a beacon

Required Methods§

source

fn compute_protocol_message<'life0, 'async_trait>( &'life0 self, beacon: U, ) -> Pin<Box<dyn Future<Output = StdResult<ProtocolMessage>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Compute a protocol message

Implementors§