pub trait SignableBuilder<U>: Send + Syncwhere
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§
sourcefn 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,
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