RethApi

Trait RethApi 

Source
pub trait RethApi: Send + Sync {
    // Required method
    fn subscribe_chain_notifications<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = TransportResult<Subscription<CanonStateNotification<EthPrimitives>>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn subscribe_chain_notifications<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = TransportResult<Subscription<CanonStateNotification<EthPrimitives>>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§

Source§

impl<P> RethApi for P
where P: Provider,