pub trait BlockProcessor:
Send
+ Sync
+ Debug {
// Required method
fn process<'life0, 'async_trait>(
&'life0 self,
blob_storage: Arc<BlobStorage>,
src_block: Arc<PartitionSourceBlock>,
) -> Pin<Box<dyn Future<Output = Result<Option<PartitionRowSet>, Error>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
}Expand description
BlockProcessor transforms a single block of telemetry into a set of rows
Required Methods§
Sourcefn process<'life0, 'async_trait>(
&'life0 self,
blob_storage: Arc<BlobStorage>,
src_block: Arc<PartitionSourceBlock>,
) -> Pin<Box<dyn Future<Output = Result<Option<PartitionRowSet>, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn process<'life0, 'async_trait>(
&'life0 self,
blob_storage: Arc<BlobStorage>,
src_block: Arc<PartitionSourceBlock>,
) -> Pin<Box<dyn Future<Output = Result<Option<PartitionRowSet>, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Processes a single block of telemetry.