package serde

  1. Overview
  2. Docs
val let* : ('a, 'b) result -> ('a -> ('c, 'b) result) -> ('c, 'b) result
val pp_list : (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a list -> unit
type error = [
  1. | `invalid_field_type
  2. | `missing_field
  3. | `no_more_data
  4. | `unimplemented
  5. | `invalid_tag
  6. | `Msg of string
  7. | Rio.io_error
]
val pp_err : Format.formatter -> [< `Closed | `Connection_closed | `Eof | `Exn of exn | `Msg of string | `No_info | `Noop | `Process_down | `Timeout | `Unix_error of Unix.error | `Would_block | `invalid_field_type | `invalid_tag | `missing_field | `no_more_data | `unimplemented ] -> unit
module Config : sig ... end
module Ser_base : sig ... end
module Ser : sig ... end
module De_base : sig ... end
module Visitor : sig ... end
module De : sig ... end
module Serializer : sig ... end
module Deserializer : sig ... end
val serialize : 'value 'state 'output. ('state, 'output) Serializer.t -> 'state -> ('value, 'state, 'output) Ser.t -> 'value -> ('output, error) result
val deserialize : 'value 'state. 'state Deserializer.t -> 'state -> ('value, 'state) De.t -> ('value, error) result
OCaml

Innovation. Community. Security.