Topkg_codecTopkg interprocess communication codec.
See Topkg.Private.Codec for documentation.
val pp_error : Stdlib.Format.formatter -> error -> unitexception Error of errorval v : kind:string -> enc:('a -> string) -> dec:(string -> 'a) -> 'a tval kind : 'a t -> stringval enc : 'a t -> 'a -> stringval dec : 'a t -> string -> 'aval dec_result : 'a t -> string -> 'a Topkg_result.resultval write : Topkg_fpath.t -> 'a t -> 'a -> unit Topkg_result.resultval read : Topkg_fpath.t -> 'a t -> 'a Topkg_result.resultval unit : unit tval const : 'a -> 'a tval bool : bool tval int : int tval string : string tval result : ok:'a t -> error:'b t -> ('a, 'b) Topkg_result.r tval msg : [ `Msg of string ] tval result_error_msg : 'a t -> 'a Topkg_result.result tval fpath : Topkg_fpath.t tval cmd : Topkg_cmd.t t