package serde
-
serde
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Visitor.Unimplemented end
val visit_bool :
bool ->
('value,
[> `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 ]
Error.de_error)
result
val visit_unit :
unit ->
('value,
[> `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 ]
Error.de_error)
result
val visit_char :
char ->
('value,
[> `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 ]
Error.de_error)
result
val visit_int :
int ->
('value,
[> `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 ]
Error.de_error)
result
val visit_string :
string ->
('value,
[> `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 ]
Error.de_error)
result
val visit_seq :
'value Visitor.t ->
'state' Deserializer.t ->
('value,
[> `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 'a)
Sequence_access.t ->
('value, 'a Error.de_error) result
val visit_variant :
('tag,
'value,
[> `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 'a)
Variant_access.t ->
('value, 'a Error.de_error) result
val visit_map :
'state. 'value Visitor.t ->
'state Deserializer.t ->
('value,
[> `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 'a)
Map_access.t ->
('value, 'a Error.de_error) result
val visit_float : 'a -> ('a, 'b) result