mirage-block-combinators

Block signatures and implementations for MirageOS using Lwt
IN THIS PACKAGE
type nonrec error = From.error
val pp_error : error Fmt.t
type nonrec write_error = From.write_error
val pp_write_error : write_error Fmt.t
type t = From.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 ) result Lwt.t
val write : t -> int64 -> Cstruct.t list -> ( unit, write_error ) result Lwt.t
val seek_mapped : 'a -> 'b -> ( 'c, 'd ) result Lwt.t
val seek_unmapped : From.t -> 'a -> ( int64, 'b ) result Lwt.t