package serde
-
serde
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Access modules
type ('value, 'error) t = {
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