package mrmime

  1. Overview
  2. Docs
type t = Rfc2045.ty

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, [ `Msg of string ]) result

Type defined by IETF.

val extension : string -> (t, [ `Msg of string ]) result

User-defined type.

val pp : t Fmt.t

Pretty-printer of 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
OCaml

Innovation. Community. Security.