Trait RequestResponseDataSource

Source
pub trait RequestResponseDataSource<Types: NodeType> {
    // Required method
    fn request_vid_shares<'life0, 'async_trait>(
        &'life0 self,
        block_number: u64,
        vid_common_data: VidCommonQueryData<Types>,
        duration: Duration,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<VidShare>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn request_vid_shares<'life0, 'async_trait>( &'life0 self, block_number: u64, vid_common_data: VidCommonQueryData<Types>, duration: Duration, ) -> Pin<Box<dyn Future<Output = Result<Vec<VidShare>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementations on Foreign Types§

Source§

impl<N: ConnectedNetwork<PubKey>, D: Sync, V: Versions, P: SequencerPersistence> RequestResponseDataSource<SeqTypes> for ExtensibleDataSource<D, ApiState<N, P, V>>

Source§

fn request_vid_shares<'life0, 'async_trait>( &'life0 self, block_number: u64, vid_common_data: VidCommonQueryData<SeqTypes>, timeout_duration: Duration, ) -> Pin<Box<dyn Future<Output = Result<Vec<VidShare>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§