Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Ser_base end
and ('value, 'state, 'output) ctx = ('value, 'state, 'output) Ser_base.ctx =
| Ctx of ('value, 'state, 'output) t
* ('state, 'output) Ser_base.serializer
* 'state
module type Serializer = Ser_base.Serializer
type ('state, 'output) serializer =
(module Serializer
with type output = 'output
and type state = 'state)
val serialize_sequence :
('value, 'state, 'output) ctx ->
int ->
(('value, 'state, 'output) Ser_base.ctx -> ('output, error) Stdlib.result) ->
('output, error) Stdlib.result
val serialize_record :
('value, 'state, 'output) ctx ->
string ->
int ->
(('value, 'state, 'output) Ser_base.ctx -> ('output, error) Stdlib.result) ->
('output, error) Stdlib.result
val sequence :
('value, 'state, 'output) ctx ->
int ->
(('value, 'state, 'output) Ser_base.ctx -> ('output, error) Stdlib.result) ->
('output, error) Stdlib.result
val newtype_variant :
('value, 'state, 'output) ctx ->
string ->
int ->
string ->
(('value, 'state, 'output) Ser_base.ctx -> ('output, error) Stdlib.result) ->
('output, error) Stdlib.result
val tuple_variant :
('value, 'state, 'output) ctx ->
string ->
int ->
string ->
int ->
(('value, 'state, 'output) Ser_base.ctx -> ('output, error) Stdlib.result) ->
('output, error) Stdlib.result
val record_variant :
('value, 'state, 'output) ctx ->
string ->
int ->
string ->
int ->
(('value, 'state, 'output) Ser_base.ctx -> ('output, error) Stdlib.result) ->
('output, error) Stdlib.result
val record :
('value, 'state, 'output) ctx ->
string ->
int ->
(('value, 'state, 'output) Ser_base.ctx -> ('output, error) Stdlib.result) ->
('output, error) Stdlib.result
val element :
('value, 'state, 'output) ctx ->
(('value, 'state, 'output) Ser_base.ctx -> ('output, error) Stdlib.result) ->
('output, error) Stdlib.result
val field :
('value, 'state, 'output) ctx ->
string ->
(('value, 'state, 'output) Ser_base.ctx -> ('output, error) Stdlib.result) ->
('output, error) Stdlib.result
val option :
('a ->
('value, 'state, 'output) Ser_base.ctx ->
('output, error) Stdlib.result) ->
'a option ->
('value, 'state, 'output) ctx ->
('output, error) Stdlib.result
val list :
('a -> ('b, 'c, unit) Ser_base.ctx -> (unit, error) Stdlib.result) ->
'a list ->
('b, 'c, unit) ctx ->
(unit, error) Stdlib.result
val array :
('a -> ('b, 'c, unit) Ser_base.ctx -> (unit, error) Stdlib.result) ->
'a array ->
('b, 'c, unit) ctx ->
(unit, error) Stdlib.result