Skip to main content

SideEffectPrefillSource

Trait SideEffectPrefillSource 

pub trait SideEffectPrefillSource: Send + Sync {
    // Required method
    fn resolve_call_output<'life0, 'async_trait>(
        &'life0 self,
        key: InterCallOutputKey,
    ) -> Pin<Box<dyn Future<Output = Result<Option<CallEventOutput>, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;

    // Provided method
    fn fetch_inbound_for_lyquid<'life0, 'async_trait>(
        &'life0 self,
        _lyquid: LyquidID,
        _from_exclusive: Option<CallOrderKey>,
        _until_exclusive: ChainPos,
        _limit: usize,
    ) -> Pin<Box<dyn Future<Output = Result<PrefillInboundBatch, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait { ... }
}

Required Methods§

fn resolve_call_output<'life0, 'async_trait>( &'life0 self, key: InterCallOutputKey, ) -> Pin<Box<dyn Future<Output = Result<Option<CallEventOutput>, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Provided Methods§

fn fetch_inbound_for_lyquid<'life0, 'async_trait>( &'life0 self, _lyquid: LyquidID, _from_exclusive: Option<CallOrderKey>, _until_exclusive: ChainPos, _limit: usize, ) -> Pin<Box<dyn Future<Output = Result<PrefillInboundBatch, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§