package serde
Module De.Sequence_accessSource
Access modules
Source
type ('value, 'error) t = {next_element : 'element_value. deser_element: (unit -> ('element_value, 'error Error.de_error) result) -> ('element_value option, 'error Error.de_error) result;
}Source
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) result) ->
('c option, 'b Error.de_error) result