Module Async_unix__.Fd_by_descr

Fd_by_descr is a table of the open Fd.ts, indexed by file descriptor number.

In this interface, we use Raw_fd.t rather than Fd.t to avoid a dependency cycle, because the Fd module can't be defined yet.

type t
include sig ... end
val sexp_of_t : t ‑> Sexplib.Sexp.t
include Async_unix__.Import.Invariant.S with type t := t
type t
val create : num_file_descrs:int ‑> t
val capacity : t ‑> int
val add : t ‑> Async_unix__.Raw_fd.t ‑> unit Core.Or_error.t
val mem : t ‑> Async_unix__.Import.File_descr.t ‑> bool
val find : t ‑> Async_unix__.Import.File_descr.t ‑> Async_unix__.Raw_fd.t option
val find_exn : t ‑> Async_unix__.Import.File_descr.t ‑> Async_unix__.Raw_fd.t
val remove : t ‑> Async_unix__.Raw_fd.t ‑> unit
val fold : t ‑> init:'a ‑> f:('a ‑> Async_unix__.Raw_fd.t ‑> 'a) ‑> 'a
val iter : t ‑> f:(Async_unix__.Raw_fd.t ‑> unit) ‑> unit