pub trait TransformIncoming: Clone + Send + 'static {
type IncomingMapped: Send;
// Required method
fn transform<'life0, 'life1, 'life2, 'async_trait, BI>(
self,
verify: &'life0 BI,
stream_type: &'life1 ProtocolType<<BI as BlockchainInterface>::BatchId, <BI as BlockchainInterface>::MaxProposalLength, <BI as BlockchainInterface>::MaxProposalsInBatch, <BI as BlockchainInterface>::Clock>,
this_session_id: SessionId,
logger: &'life2 DebugLogger
) -> Pin<Box<dyn Future<Output = Result<Option<Msg<Self::IncomingMapped>>, DKGError>> + Send + 'async_trait>>
where Self: Sized + 'async_trait,
BI: 'async_trait + BlockchainInterface,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}