package async_extra

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type ('name, 'data) t = {
  1. from : 'name;
  2. ip : string;
  3. time_received : Core.Time.t;
  4. time_sent : Core.Time.t;
  5. data : 'data;
}
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.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 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