package mirage-block-xen

  1. Overview
  2. Docs

Module Blkproto.ResSource

Sourcetype rsp =
  1. | OK
  2. | Error
  3. | Not_supported
Sourcetype t = {
  1. op : Req.op option;
  2. st : rsp option;
}
Sourceval write_response : (int64 * t) -> Cstruct.t -> unit
Sourceval read_response : Cstruct.t -> int64 * t