Trait StateSignatureDataSource

Source
pub(crate) trait StateSignatureDataSource<N: ConnectedNetwork<PubKey>> {
    // Required method
    fn get_state_signature<'life0, 'async_trait>(
        &'life0 self,
        height: u64,
    ) -> Pin<Box<dyn Future<Output = Option<LCV3StateSignatureRequestBody>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn get_state_signature<'life0, 'async_trait>( &'life0 self, height: u64, ) -> Pin<Box<dyn Future<Output = Option<LCV3StateSignatureRequestBody>> + 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> StateSignatureDataSource<N> for ExtensibleDataSource<D, ApiState<N, P, V>>

Source§

fn get_state_signature<'life0, 'async_trait>( &'life0 self, height: u64, ) -> Pin<Box<dyn Future<Output = Option<LCV3StateSignatureRequestBody>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§