Skip to main content

batch_with_pool

Function batch_with_pool 

Source
pub fn batch_with_pool<P, F, R>(
    pool: &ExifToolPool,
    items: Vec<P>,
    processor: F,
) -> Vec<Result<R>> 
where P: Send + 'static, F: Fn(&mut ExifTool, P) -> Result<R> + Send + Sync + 'static, R: Send + 'static,
Expand description

批量处理使用连接池