Module Async_rpc_kernel__Protocol.Query

type 'a needs_length = {
tag : Rpc_tag.t;
version : int;
id : Query_id.t;
data : 'a;
}
val sexp_of_needs_length : a. ('a ‑> Sexplib.Sexp.t) ‑> 'a needs_length ‑> Sexplib.Sexp.t
val bin_shape_needs_length : Bin_prot.Shape.t ‑> Bin_prot.Shape.t
val bin_size_needs_length : ('a ‑> int) ‑> 'a needs_length ‑> int
val bin_write_needs_length : (Bin_prot.Common.buf ‑> pos:Bin_prot.Common.pos ‑> 'a ‑> 'b) ‑> Bin_prot.Common.buf ‑> pos:Bin_prot.Common.pos ‑> 'a needs_length ‑> 'b
val bin_writer_needs_length : 'a Bin_prot.Type_class.writer ‑> 'a needs_length Bin_prot.Type_class.writer
val __bin_read_needs_length__ : 'a ‑> 'b ‑> pos_ref:Bin_prot.Common.pos Pervasives.ref ‑> 'c ‑> 'd
val bin_read_needs_length : (Bin_prot.Common.buf ‑> pos_ref:Bin_prot.Common.pos_ref ‑> 'a) ‑> Bin_prot.Common.buf ‑> pos_ref:Bin_prot.Common.pos_ref ‑> 'a needs_length
val bin_reader_needs_length : 'a Bin_prot.Type_class.reader ‑> 'a needs_length Bin_prot.Type_class.reader
val bin_needs_length : 'a Bin_prot.Type_class.t ‑> 'a needs_length Bin_prot.Type_class.t
type 'a t = 'a needs_length
val __bin_read_t__ : 'a ‑> 'b ‑> pos_ref:Bin_prot.Common.pos Pervasives.ref ‑> 'c ‑> 'd
val bin_read_t : (Bin_prot.Common.buf ‑> pos_ref:Bin_prot.Common.pos_ref ‑> 'a) ‑> Bin_prot.Common.buf ‑> pos_ref:Bin_prot.Common.pos_ref ‑> 'a needs_length
val bin_reader_t : 'a Bin_prot.Type_class.reader ‑> 'a needs_length Bin_prot.Type_class.reader