Module Async_rpc_kernel.Rpc.Pipe_close_reason

type t =
| Closed_locally

(** The RPC implementer closed the pipe. *)

| Closed_remotely

(** An error occurred, e.g. a message could not be deserialized. If the connection closes before either side explicitly closes the pipe, it will also go into this case. *)

| Error of Core_kernel.Error.t
include sig ... end
val t_of_sexp : Sexplib.Sexp.t ‑> t
val sexp_of_t : t ‑> Sexplib.Sexp.t
val compare : t ‑> t ‑> int
val bin_read_t : t Bin_prot.Read.reader
val __bin_read_t__ : (int ‑> t) Bin_prot.Read.reader
val bin_reader_t : t Bin_prot.Type_class.reader
val bin_size_t : t Bin_prot.Size.sizer
val bin_write_t : t Bin_prot.Write.writer
val bin_writer_t : t Bin_prot.Type_class.writer
val bin_shape_t : Bin_prot.Shape.t
module Stable : sig ... end