package async_udp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t =
  1. | Closed
  2. | Stopped
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val compare : t -> t -> int
val of_fd_interruptible_every_ready_to_result_exn : (_, _) Core.Iobuf.t option -> string -> 'a -> ('a -> Async.Sexp.t) -> [ `Bad_fd | `Closed | `Unsupported | `Interrupted ] -> t

As the name implies, this is useful for other modules that want to compatibly convert the result of Fd.interruptible_ready_to to a loop result or exception.

OCaml

Innovation. Community. Security.