BlockIdResolution

Trait BlockIdResolution 

Source
pub trait BlockIdResolution: Send + Sync {
    // Required method
    fn resolve_to_slot<'life0, 'life1, 'async_trait>(
        &'life0 self,
        beacon_client: &'life1 dyn CommonBeaconClient,
    ) -> Pin<Box<dyn Future<Output = Result<u32, BlockIdResolutionError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn resolve_to_slot<'life0, 'life1, 'async_trait>( &'life0 self, beacon_client: &'life1 dyn CommonBeaconClient, ) -> Pin<Box<dyn Future<Output = Result<u32, BlockIdResolutionError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§