package mirage-btrees

  1. Overview
  2. Docs
type t
type 'a io
type page_aligned_buffer
type error = [
  1. | `Unknown of string
  2. | `Unimplemented
  3. | `Is_read_only
  4. | `Disconnected
]
type pointer
val bind : 'a io -> ('a -> 'b io) -> 'b io
val return : 'a -> 'a io
val read : t -> pointer -> page_aligned_buffer list -> [ `Error of error | `Ok of unit ] io
val write : t -> pointer -> page_aligned_buffer list -> [ `Error of error | `Ok of unit ] io