package protocell

  1. Overview
  2. Docs
type t =
  1. | Type_unknown
  2. | Type_double
  3. | Type_float
  4. | Type_int64
  5. | Type_uint64
  6. | Type_int32
  7. | Type_fixed64
  8. | Type_fixed32
  9. | Type_bool
  10. | Type_string
  11. | Type_group
  12. | Type_message
  13. | Type_bytes
  14. | Type_uint32
  15. | Type_enum
  16. | Type_sfixed32
  17. | Type_sfixed64
  18. | Type_sint32
  19. | Type_sint64
val equal : t -> t -> Ppx_deriving_runtime.bool
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val default : unit -> t
val to_int : t -> int
val of_int : int -> t option
val to_string : t -> string
val of_string : string -> t option