package nbd

  1. Overview
  2. Docs

Module Protocol.ReplySource

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

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