Up

Module Query

Signature

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_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_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
type 'a t = 'a needs_length
val __bin_read_t__ : 'a -> 'b -> pos_ref:Bin_prot.Common.pos Pervasives.ref -> 'c -> 'd