type ('name, 'data) t
=
{
from : 'name; |
ip : string; |
time_received : Core.Time.t; |
time_sent : Core.Time.t; |
data : 'data; |
}
val t_of_sexp : name data. (Sexplib.Sexp.t ‑> 'name) ‑> (Sexplib.Sexp.t ‑> 'data) ‑> Sexplib.Sexp.t ‑> ('name, 'data) t
val sexp_of_t : name data. ('name ‑> Sexplib.Sexp.t) ‑> ('data ‑> Sexplib.Sexp.t) ‑> ('name, 'data) t ‑> Sexplib.Sexp.t
val bin_shape_t : Bin_prot.Shape.t ‑> Bin_prot.Shape.t ‑> Bin_prot.Shape.t
val bin_size_t : ('a ‑> int) ‑> ('b ‑> int) ‑> ('a, 'b) t ‑> int
val bin_write_t : (Bin_prot.Common.buf ‑> pos:'a ‑> 'b ‑> Bin_prot.Common.pos) ‑> (Bin_prot.Common.buf ‑> pos:Bin_prot.Common.pos ‑> 'c ‑> 'd) ‑> Bin_prot.Common.buf ‑> pos:'a ‑> ('b, 'c) t ‑> 'd
val bin_writer_t : 'a Bin_prot.Type_class.writer ‑> 'b Bin_prot.Type_class.writer ‑> ('a, 'b) t Bin_prot.Type_class.writer
val __bin_read_t__ : 'a ‑> 'b ‑> 'c ‑> pos_ref:Bin_prot.Common.pos Core.ref ‑> 'd ‑> 'e
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 ‑> 'b) ‑> Bin_prot.Common.buf ‑> pos_ref:Bin_prot.Common.pos_ref ‑> ('a, 'b) t
val bin_reader_t : 'a Bin_prot.Type_class.reader ‑> 'b Bin_prot.Type_class.reader ‑> ('a, 'b) t Bin_prot.Type_class.reader
val bin_t : 'a Bin_prot.Type_class.t ‑> 'b Bin_prot.Type_class.t ‑> ('a, 'b) t Bin_prot.Type_class.t