ENVOY_LOG(info, fmt::format("AsyncFileManagerThreadPool created with id '{}', with {} threads",
AsyncFileManagerThreadPool::~AsyncFileManagerThreadPool() ABSL_LOCKS_EXCLUDED(queue_mutex_) {
class ActionWithFileResult : public AsyncFileActionWithResult<absl::StatusOr<AsyncFileHandle>> {
was_successful_first_call = manager_.supports_o_tmpfile_ = (open_result.return_value_ != -1);
// Use a fixed-size buffer because we're going to be using C file functions anyway, and it saves
: ActionWithFileResult(manager, std::move(on_complete)), filename_(filename), mode_(mode) {}