package nbd

  1. Overview
  2. Docs

Module Protocol.AnnouncementSource

The server sends an initial greeting when the connectino is opened. It can be of two main types: the original V1 and a 'newstyle' V2.

Sourcetype t = [
  1. | `V1
  2. | `V2
]
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval t_of_sexp : Sexplib0.Sexp.t -> t
Sourceval __t_of_sexp__ : Sexplib0.Sexp.t -> t
Sourceval sizeof : int
Sourceval marshal : Cstruct.t -> t -> unit
Sourceval unmarshal : Cstruct.t -> (t, exn) result
OCaml

Innovation. Community. Security.