pub trait EraReaderAdapter: Sync + Send {
    // Required method
    fn read<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = StdResult<Vec<EraMarker>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Adapters are responsible of technically reading the information of EraMarkers from a backend.

Required Methods§

source

fn read<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = StdResult<Vec<EraMarker>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Read era markers from the underlying adapter.

Implementors§