execute_job

Function execute_job 

Source
pub async fn execute_job<L>(peer: &Peer<L>, job: SyncJob) -> Result<()>
where L: BucketLogProvider + Clone + Send + Sync + 'static, L::Error: Error + Send + Sync + 'static,
Expand description

Execute a sync job by calling the appropriate module’s execute function

This is a helper function that dispatches to the per-job-type execution logic. Both synchronous and queued providers can use this.