package mirage-block-solo5

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include Mirage_block.S
type nonrec error = private [>
  1. | Mirage_block.error
]
val pp_error : error Fmt.t
type nonrec write_error = private [>
  1. | Mirage_block.write_error
]
val pp_write_error : write_error Fmt.t
type t
val disconnect : t -> unit Lwt.t
val get_info : t -> Mirage_block.info Lwt.t
val read : t -> int64 -> Cstruct.t list -> (unit, error) Stdlib.result Lwt.t
val write : t -> int64 -> Cstruct.t list -> (unit, write_error) Stdlib.result Lwt.t
val connect : string -> t Lwt.t
OCaml

Innovation. Community. Security.