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_writer_t : 'a
Core.Std.Bin_prot.Type_class.writer
-> 'b
Core.Std.Bin_prot.Type_class.writer
-> ('a, 'b)
t
Core.Std.Bin_prot.Type_class.writer
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
val
bin_reader_t : 'a
Core.Std.Bin_prot.Type_class.reader
-> 'b
Core.Std.Bin_prot.Type_class.reader
-> ('a, 'b)
t
Core.Std.Bin_prot.Type_class.reader
val
bin_t : 'a
Core.Std.Bin_prot.Type_class.t
-> 'b
Core.Std.Bin_prot.Type_class.t
-> ('a, 'b)
t
Core.Std.Bin_prot.Type_class.t