Protocol_9p.RequestParsers and printers for all 9P request messages.
module Version : sig ... endmodule Auth : sig ... endmodule Flush : sig ... endmodule Attach : sig ... endmodule Walk : sig ... endmodule Open : sig ... endmodule Create : sig ... endmodule Read : sig ... endmodule Write : sig ... endmodule Clunk : sig ... endmodule Remove : sig ... endmodule Stat : sig ... endmodule Wstat : sig ... endval sexp_of_payload : payload -> Sexplib0.Sexp.tval payload_of_sexp : Sexplib0.Sexp.t -> payloadtype t = {tag : Protocol_9p__.Protocol_9p_types.Tag.t;The tag used to match the response with the original request
*)payload : payload;}A 9P protocol request
val sizeof : t -> intThe size of a buffer needed to hold t
val read : Cstruct.t -> (t * Cstruct.t, [ `Msg of string ]) Stdlib.resultRead a t from the given buffer and return it, along with the unused remainder of the buffer. If the buffer cannot be parsed then return an error.
val write : t -> Cstruct.t -> (Cstruct.t, [ `Msg of string ]) Stdlib.resultWrite a t into the given buffer. If the buffer is too small, then return an error. Return the unused remainder of the buffer.
val pp : t Fmt.tpp formats request.