package nbd

  1. Overview
  2. Docs

Details about the export chosen by the client, sent in response to an ExportName option.

type t = {
  1. size : int64;
    (*

    The size of the disk in bytes

    *)
  2. flags : PerExportFlag.t list;
    (*

    Flags associated with the disk

    *)
}

Details about the export chosen by the client.

include sig ... end
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
val sizeof : int
val unmarshal : Cstruct.t -> [ `Ok of t | `Error of exn ]
val marshal : Cstruct.t -> t -> unit