Module Async_smtp.Multispool.Make.Entry

An Entry is associated with a particular queue

type t
include sig ... end
val sexp_of_t : t ‑> Base.Sexp.t
val stat : t ‑> Async.Unix.Stats.t Async.Deferred.Or_error.t
val spool : t ‑> spool
val queue : t ‑> Spoolable.Queue.t
val name : t ‑> string
val create : spool ‑> Spoolable.Queue.t ‑> name:string ‑> t

create an Entry.t from a file name on disk. There is no validation done to ensure that the corresponding entry exists in the spool. The validation is performed when using the Entry.t.

module Direct : sig ... end

Direct operations that provide no validation or exclusive access guarantees.