Module Async_unix__.Raw_fd
module File_descr = Core.Unix.File_descrmodule Kind : sig ... endmodule State : sig ... endval sexp_of_ready_to_result : ready_to_result -> Ppx_sexp_conv_lib.Sexp.t
module Watching : sig ... endmodule T : sig ... endinclude T
type t={file_descr : File_descr.t;mutable info : Core.Info.t;mutable kind : Kind.t;mutable supports_nonblock : bool;mutable have_set_nonblock : bool;mutable state : State.t;watching : Watching.t Async_unix__.Read_write.Mutable.t;mutable watching_has_changed : bool;mutable num_active_syscalls : int;close_finished : unit Async_unix__.Import.Ivar.t;}
val close_finished : t -> unit Async_unix__.Import.Ivar.tval num_active_syscalls : t -> intval set_num_active_syscalls : t -> int -> unitval watching_has_changed : t -> boolval set_watching_has_changed : t -> bool -> unitval watching : t -> Watching.t Async_unix__.Read_write.Mutable.tval state : t -> State.tval set_state : t -> State.t -> unitval have_set_nonblock : t -> boolval set_have_set_nonblock : t -> bool -> unitval supports_nonblock : t -> boolval set_supports_nonblock : t -> bool -> unitval kind : t -> Kind.tval set_kind : t -> Kind.t -> unitval info : t -> Core.Info.tval set_info : t -> Core.Info.t -> unitval file_descr : t -> File_descr.t
module Fields : sig ... endval sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
type t_hum= t
val sexp_of_t_hum : t -> Ppx_sexp_conv_lib.Sexp.t
val equal : t -> t -> boolval invariant : t -> unitval to_int : t -> intval create : ?avoid_nonblock_if_possible:bool -> Kind.t -> File_descr.t -> Core.Info.t -> tval inc_num_active_syscalls : t -> [> `Already_closed | `Ok ]val set_state : t -> State.t -> unitval is_open : t -> boolval is_closed : t -> boolval set_nonblock_if_necessary : ?nonblocking:bool -> t -> unitval with_file_descr_exn : ?nonblocking:bool -> t -> (File_descr.t -> 'a) -> 'aval with_file_descr : ?nonblocking:bool -> t -> (File_descr.t -> 'a) -> [> `Already_closed | `Error of exn | `Ok of 'a ]val syscall : ?nonblocking:bool -> t -> (File_descr.t -> 'a) -> [> `Already_closed | `Error of exn | `Ok of 'a ]val syscall_exn : ?nonblocking:bool -> t -> (File_descr.t -> 'a) -> 'aval syscall_result_exn : ?nonblocking:bool -> t -> 'a -> (File_descr.t -> 'a -> 'b Async_unix__.Syscall.Syscall_result.t) -> 'b Async_unix__.Syscall.Syscall_result.t