Up

Module Read_result

Signature

type ('name, 'data) t = {
from
: 'name ;
ip
: string ;
time_received
: Core.Std.Time.t ;
time_sent
: Core.Std.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_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_read_t__ : 'a -> 'b -> 'c -> pos_ref:Core.Std.Bin_prot.Common.pos Core.Std.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