pub trait BlockScanner: Sync + Send {
// Required method
fn scan<'life0, 'async_trait>(
&'life0 self,
from: Option<RawCardanoPoint>,
until: BlockNumber,
) -> Pin<Box<dyn Future<Output = StdResult<Box<dyn BlockStreamer>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
A scanner that can read cardano transactions in a cardano database
Required Methods§
Sourcefn scan<'life0, 'async_trait>(
&'life0 self,
from: Option<RawCardanoPoint>,
until: BlockNumber,
) -> Pin<Box<dyn Future<Output = StdResult<Box<dyn BlockStreamer>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn scan<'life0, 'async_trait>(
&'life0 self,
from: Option<RawCardanoPoint>,
until: BlockNumber,
) -> Pin<Box<dyn Future<Output = StdResult<Box<dyn BlockStreamer>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Scan the transactions