Feature gate: #![feature(io_error_too_many_open_files)]
This is a tracking issue for the TooManyOpenFiles variant of std::io::ErrorKind,
returned when the process or the whole system has reached its limit on open files or
sockets. It maps to EMFILE (per-process) and ENFILE (system-wide) on Unix, and to
ERROR_TOO_MANY_OPEN_FILES and WSAEMFILE on Windows.
Public API
// std::io
pub enum ErrorKind {
// ...
TooManyOpenFiles,
}
Steps / History
Unresolved Questions
Feature gate:
#![feature(io_error_too_many_open_files)]This is a tracking issue for the
TooManyOpenFilesvariant ofstd::io::ErrorKind,returned when the process or the whole system has reached its limit on open files or
sockets. It maps to
EMFILE(per-process) andENFILE(system-wide) on Unix, and toERROR_TOO_MANY_OPEN_FILESandWSAEMFILEon Windows.Public API
Steps / History
io::ErrorKind::TooManyOpenFiles#158326Unresolved Questions
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩