Parameters
Signature
include Qcow_s.RESIZABLE_BLOCK with type RESIZABLE_BLOCK.t = B.t
type error = private [> ]
val pp_error : error Fmt.t
type write_error = private [> | `Disconnected |
| `Is_read_only |
| `Unimplemented |
]
val pp_write_error : write_error Fmt.t
type t = B.t
val disconnect : t -> unit Lwt.tval get_info : t -> Mirage_block.info Lwt.tval read : t -> int64 -> Cstruct.t list -> (unit, error) Stdlib.result Lwt.tval write : t -> int64 -> Cstruct.t list -> (unit, write_error) Stdlib.result Lwt.tval resize : t -> int64 -> (unit, write_error) Result.result Lwt.tval flush : t -> (unit, write_error) Result.result Lwt.t