package protocell

  1. Overview
  2. Docs
A Protobuf plugin for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

protocell-1.0.0.tbz
sha256=8296a7b386ad3ceb5e815374e8e4aa608d618869988b6f89b354c46225582fa8
sha512=7e3c758ac59b3a52aa523e1939103e8b4ad6adf8801df0a4bb1f947650e6f626c83ae7c55f1d114bbb652114fd46e88a7ed4835079ba70eaeb137220aefc3189

doc/protocell.runtime/Runtime/Field_value/index.html

Module Runtime.Field_valueSource

Sourcetype 'v t
Sourcetype _ typ =
  1. | String_t : Base.string typ
  2. | Bytes_t : Base.string typ
  3. | Int32_t : Base.int typ
  4. | Int64_t : Base.int typ
  5. | Sint32_t : Base.int typ
  6. | Sint64_t : Base.int typ
  7. | Uint32_t : Base.int typ
  8. | Uint64_t : Base.int typ
  9. | Fixed32_t : Base.int typ
  10. | Fixed64_t : Base.int typ
  11. | Sfixed32_t : Base.int typ
  12. | Sfixed64_t : Base.int typ
  13. | Float_t : Base.float typ
  14. | Double_t : Base.float typ
  15. | Bool_t : Base.bool typ
Sourcetype validation_error = [
  1. | `Integer_outside_field_type_range of Base.int typ * Base.int
]
Sourceval typ_to_string : 'v typ -> Base.string
Sourceval default : 'v typ -> 'v
Sourceval create : 'v typ -> 'v -> ('v t, [> validation_error ]) Base.Result.t
Sourceval typ : 'v t -> 'v typ
Sourceval unpack : 'v t -> 'v
OCaml

Innovation. Community. Security.