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
Implementors§
impl SignableBuilder<CardanoDbBeacon> for CardanoDatabaseSignableBuilder
Available on crate feature
fs
only.impl SignableBuilder<CardanoDbBeacon> for CardanoImmutableFilesFullSignableBuilder
Available on crate feature
fs
only.impl SignableBuilder<Epoch> for CardanoStakeDistributionSignableBuilder
impl SignableBuilder<Epoch> for MithrilStakeDistributionSignableBuilder
impl<S: MKTreeStorer> SignableBuilder<BlockNumber> for CardanoTransactionsSignableBuilder<S>
Available on crate feature
fs
only.