pub fn limit() -> Result<i32>
Returns the current open file descriptor limit for the process, or an error on platforms where the limit cannot be queried.