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 Sexplib0.Sexpable.S with type t := t
val t_of_sexp : Sexplib0.Sexp.t -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val sizeof : int
val unmarshal : Cstruct.t -> (t, exn) Stdlib.result
val marshal : Cstruct.t -> t -> unit