Skip to main content

with_pool

Function with_pool 

Source
pub fn with_pool<F, R>(pool: &ExifToolPool, f: F) -> Result<R>
where F: FnOnce(&mut ExifTool) -> Result<R>,
Expand description

使用连接池的辅助函数

获取连接,执行操作,自动归还连接