You can search for identifiers within the package.
in-package search v0.2.0
mrmime
Content_type.Type
type discrete = [
| `Text
| `Image
| `Audio
| `Video
| `Application
]
type composite = [
| `Message
| `Multipart
type extension = [
| `Ietf_token of string
| `X_token of string
type t = [
Type of ... type.
val text : t
Text type.
val image : t
Image type.
val audio : t
Audio type.
val video : t
Video type.
val application : t
Application type.
val message : t
Message type.
val multipart : t
Multipart type.
val ietf : string -> (t, [> Rresult.R.msg ]) result
Type defined by IETF.
val extension : string -> (t, [> Rresult.R.msg ]) result
User-defined type.
val pp : t Fmt.t
Pretty-printer of t.
t
val compare : t -> t -> int
Comparison of t.
val equal : t -> t -> bool
Equal of t.
val default : t
Default value of type according to RFC 2045.
val is_discrete : t -> bool
val is_multipart : t -> bool
val is_message : t -> bool
val to_string : t -> string
val of_string : string -> (t, [> Rresult.R.msg ]) result