Libp2pHelperInterface.RpcResponse
type unnamed_union_t =
Libp2p_ipc__Libp2p_ipc_capnp.MakeRPC(Capnp.RPC.None(Capnp.BytesMessage)).Reader.Libp2pHelperInterface.RpcResponse.unnamed_union_t =
| Error of string |
| Success of RpcResponseSuccess.t |
| Undefined of int |
val get : t -> unnamed_union_t
val has_header : t -> bool
val header_get : t -> RpcMessageHeader.t
val header_get_pipelined :
struct_t MessageWrapper.StructRef.t ->
RpcMessageHeader.struct_t MessageWrapper.StructRef.t