Email_message_kernelinclude Ppx_compare_lib.Comparable.S with type t := tinclude Ppx_hash_lib.Hashable.S_any with type t := tval sexp_of_t : t -> Sexplib0.Sexp.tval raw_content : t -> Email_message_kernel__.Email_raw_content.tval to_string_monoid :
?eol_except_raw_content:Lf_or_crlf.t ->
t ->
String_monoid.tString-builder-like module. Small-to-no memory overhead when unparsed.
val of_string : ?normalize_headers:Headers.Normalize.encode -> string -> tConvert from string, in compliance with the RFC 2822 standard (standard email format, e.g. .eml but not mbox)
val to_string : ?eol_except_raw_content:Lf_or_crlf.t -> t -> stringConvert to string, in compliance with the RFC 2822 standard (standard email format, e.g. .eml but not mbox)
val to_bigstring :
?eol_except_raw_content:Lf_or_crlf.t ->
t ->
Core.Bigstring.tval of_bigstring : Core.Bigstring.t -> tval of_bigbuffer : Core.Bigbuffer.t -> tinclude Core.Comparable.S_plain with type t := tinclude Base.Comparable.S with type t := tinclude Base.Comparisons.S with type t := tascending is identical to compare. descending x y = ascending y x. These are intended to be mnemonic when used like List.sort ~compare:ascending and List.sort ~cmp:descending, since they cause the list to be sorted in ascending or descending order, respectively.
clamp_exn t ~min ~max returns t', the closest value to t such that between t' ~low:min ~high:max is true.
Raises if not (min <= max).
val clamp : t -> min:t -> max:t -> t Base.Or_error.tinclude Base.Comparator.S with type t := tval comparator : (t, comparator_witness) Base.Comparator.T.comparatorval validate_lbound : min:t Core.Maybe_bound.t -> t Validate.checkval validate_ubound : max:t Core.Maybe_bound.t -> t Validate.checkval validate_bound :
min:t Core.Maybe_bound.t ->
max:t Core.Maybe_bound.t ->
t Validate.checkmodule Replace_polymorphic_compare : sig ... endmodule Map : sig ... endmodule Set : sig ... endinclude Core.Hashable.S_plain with type t := tinclude Ppx_compare_lib.Comparable.S with type t := tinclude Ppx_hash_lib.Hashable.S_any with type t := tval hash_fold_t : t Ppx_hash_lib.hash_foldval hash : t -> Ppx_hash_lib.Std.Hash.hash_valueval hashable : t Base.Hashable.tmodule Table : sig ... endmodule Hash_set : sig ... endmodule Hash_queue : sig ... endmodule Content : sig ... endmodule Raw_content : sig ... endmodule Simple : sig ... endmodule Mimestring : sig ... endmodule Octet_stream : sig ... endmodule String_monoid : sig ... endmodule Lf_or_crlf : sig ... endmodule Headers : sig ... endmodule Stable : sig ... endmodule Private : sig ... end