Trait mithril_signer::services::SignaturePublisher
source · pub trait SignaturePublisher: Send + Sync {
// Required method
fn publish<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
signed_entity_type: &'life1 SignedEntityType,
signatures: &'life2 SingleSignatures,
protocol_message: &'life3 ProtocolMessage,
) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait;
}
Expand description
Publishes computed single signatures to a third party.
Required Methods§
sourcefn publish<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
signed_entity_type: &'life1 SignedEntityType,
signatures: &'life2 SingleSignatures,
protocol_message: &'life3 ProtocolMessage,
) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn publish<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
signed_entity_type: &'life1 SignedEntityType,
signatures: &'life2 SingleSignatures,
protocol_message: &'life3 ProtocolMessage,
) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Publish computed single signatures.