package nbd

  1. Overview
  2. Docs

A reply sent from the server in response to a Request. Note these arrive out-of-order.

type t = {
  1. error : (unit, Error.t) Result.result;
    (*

    Success or failure of the request

    *)
  2. handle : int64;
    (*

    The unique id in the Request

    *)
}
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 to_string : t -> string
val sizeof : int
val marshal : Cstruct.t -> t -> unit
val unmarshal : Cstruct.t -> (t, exn) Result.result
OCaml

Innovation. Community. Security.