package mirage-block-combinators

  1. Overview
  2. Docs
module Int64Map : sig ... end
type t = {
  1. mutable map : Cstruct.t Int64Map.t;
  2. info : Mirage_block.info;
  3. id : string;
}
type error = Mirage_block.error
val pp_error : Mirage_block.error Fmt.t
type write_error = Mirage_block.write_error
val pp_write_error : Mirage_block.write_error Fmt.t
val devices : (string, t) Hashtbl.t
val get_info : t -> Mirage_block.info Lwt.t
val connect : string -> t Lwt.t
val disconnect : t -> unit Lwt.t
val read : t -> Int64Map.key -> Cstruct.t list -> (unit, 'a) result Lwt.t
val write : t -> Int64Map.key -> Cstruct.t list -> (unit, 'a) result Lwt.t
OCaml

Innovation. Community. Security.