Protocol_conv.Runtimetype nonrec ('v, 'e) result = ('v, 'e) resultmodule Record_in : sig ... endmodule Record_out : sig ... endmodule Tuple_in : sig ... endmodule Tuple_out : sig ... endmodule Variant_in : sig ... endmodule type Driver = sig ... endSignature for a driver. Serialization function are on the form of_XXX and deserialization function are on the form to_XXX.
module Helper : sig ... endModule contains helper function for serializing and deserializing tuples, records and variants. Deserialization functions may raise Helper.Protocol exception. It is recommended that the calling functions convert this exception into a Driver.Protocol_exception