Function base::sys::linux::call_with_extended_max_files
source · pub fn call_with_extended_max_files<T, E>(
callback: impl FnOnce() -> Result<T, E>
) -> Result<Result<T, E>>
Expand description
Executes the given callback with extended soft limit of max number of open files. After the callback executed, restore the limit.