package mirage

  1. Overview
  2. Docs
type error =
  1. | Unknown_key of string
type 'a io = 'a Lwt.t
type t
type id
val id : t -> id
val connect : id -> [ `Error of error | `Ok of t ] io
val disconnect : t -> unit io
type page_aligned_buffer = Cstruct.t
val read : t -> string -> int -> int -> [ `Error of error | `Ok of page_aligned_buffer list ] io
val size : t -> string -> [ `Error of error | `Ok of int64 ] io