Module Libp2pHelperInterface.RpcResponse

type struct_t = [
| `RpcResponse_824dae3760b93d5d
]
type unnamed_union_t = Libp2p_ipc__Libp2p_ipc_capnp.MakeRPC(Capnp.RPC.None(Capnp.BytesMessage)).Builder.Libp2pHelperInterface.RpcResponse.unnamed_union_t =
| Error of string
| Success of RpcResponseSuccess.t
| Undefined of int
val get : t -> unnamed_union_t
val error_set : t -> string -> unit
val success_set_builder : t -> RpcResponseSuccess.t -> RpcResponseSuccess.t
val success_init : t -> RpcResponseSuccess.t
val has_header : t -> bool
val header_get : t -> RpcMessageHeader.t
val header_set_builder : t -> RpcMessageHeader.t -> RpcMessageHeader.t
val header_init : t -> RpcMessageHeader.t
val of_message : Capnp.Message.rw message_t -> t
val to_message : t -> Capnp.Message.rw message_t
val to_reader : t -> struct_t reader_t
val init_root : ?message_size:int -> unit -> t
val init_pointer : pointer_t -> t