package serde

  1. Overview
  2. Docs

Access modules

type ('value, 'error) t = {
  1. next_element : 'element_value. deser_element: (unit -> ('element_value, 'error Error.de_error) Stdlib.result) -> ('element_value option, 'error Error.de_error) Stdlib.result;
}
val next_element : ('a, [> `Duplicate_field of string | `Invalid_field_index of int | `Invalid_variant_index of int | `Message of string | `Missing_field of string | `Unexpected_exception of exn | `Unimplemented of string | `Unknown_field of string | `Unknown_variant of string ] as 'b) t -> deser_element:(unit -> ('c, 'b Error.de_error) Stdlib.result) -> ('c option, 'b Error.de_error) Stdlib.result
OCaml

Innovation. Community. Security.