package mirage-block

  1. Overview
  2. Docs
val error_to_string : [< `Disconnected | `Is_read_only | `Unimplemented | `Unknown of string ] -> string
val fold_s : f:('a -> int64 -> Cstruct.t -> 'a Lwt.t) -> 'a -> (module V1_LWT.BLOCK with type t = 'b) -> 'b -> [> `Error of [> `Msg of string ] | `Ok of 'a ] Lwt.t
val fold_mapped_s : f: ('a -> int64 -> Cstruct.t -> [< `Error of [ `Disconnected | `Is_read_only | `Unimplemented | `Unknown of string ] | `Ok of 'a ] Lwt.t) -> 'a -> (module Mirage_block_s.SEEKABLE with type t = 'b) -> 'b -> [> `Error of [ `Disconnected | `Is_read_only | `Unimplemented | `Unknown of string ] | `Ok of 'a ] Lwt.t
module Flip (Input : Mirage_block_s.SEEKABLE) : sig ... end
val fold_unmapped_s : f: ('a -> int64 -> Cstruct.t -> [< `Error of [ `Disconnected | `Is_read_only | `Unimplemented | `Unknown of string ] | `Ok of 'a ] Lwt.t) -> 'a -> (module Mirage_block_s.SEEKABLE with type t = 'b) -> 'b -> [> `Error of [ `Disconnected | `Is_read_only | `Unimplemented | `Unknown of string ] | `Ok of 'a ] Lwt.t
OCaml

Innovation. Community. Security.