sig
type t =
Close_requested of (unit -> unit Import.Deferred.t)
| Closed
| Open
val sexp_of_t : Raw_fd.State.t -> Sexplib.Sexp.t
val transition_is_allowed : Raw_fd.State.t -> Raw_fd.State.t -> bool
val is_open : Raw_fd.State.t -> bool
end