package serde
Module SerdeSource
Source
type error = [ | `invalid_field_type| `missing_field| `no_more_data| `unimplemented| `invalid_tag| `Msg of string| Rio.io_error
]Source
val pp_err :
Format.formatter ->
[< `Closed
| `Connection_closed
| `Eof
| `Exn of exn
| `Msg of string
| `No_info
| `Noop
| `Process_down
| `Timeout
| `Unix_error of Unix.error
| `Would_block
| `invalid_field_type
| `invalid_tag
| `missing_field
| `no_more_data
| `unimplemented ] ->
unitmodule Ser_base : sig ... endmodule De_base : sig ... endSource
val serialize :
'value 'state 'output. ('state, 'output) Serializer.t ->
'state ->
('value, 'state, 'output) Ser.t ->
'value ->
('output, error) resultSource
val deserialize :
'value 'state. 'state Deserializer.t ->
'state ->
('value, 'state) De.t ->
('value, error) result