package serde

  1. Overview
  2. Docs
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_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_float : float -> ('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
type tag = unit
type visitor = unit
type value = unit
type error = unit
val visit_unit : unit -> (unit, 'a) result
OCaml

Innovation. Community. Security.