package nbd

  1. Overview
  2. Docs

Module Protocol.DiskInfoSource

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

Sourcetype 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
Sourceval t_of_sexp : Sexplib0.Sexp.t -> t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval sizeof : int
Sourceval unmarshal : Cstruct.t -> (t, exn) Result.result
Sourceval marshal : Cstruct.t -> t -> unit
OCaml

Innovation. Community. Security.