Module Libp2pHelperInterface.PushMessage

type struct_t = [
| `PushMessage_bcc32e2f197831bb
]
type unnamed_union_t = Libp2p_ipc__Libp2p_ipc_capnp.MakeRPC(Capnp.RPC.None(Capnp.BytesMessage)).Builder.Libp2pHelperInterface.PushMessage.unnamed_union_t =
| Validation of Validation.t
| AddResource of AddResource.t
| DeleteResource of DeleteResource.t
| DownloadResource of DownloadResource.t
| HeartbeatPeer of HeartbeatPeer.t
| Undefined of int
val get : t -> unnamed_union_t
val validation_set_reader : t -> Validation.struct_t reader_t -> Validation.t
val validation_set_builder : t -> Validation.t -> Validation.t
val validation_init : t -> Validation.t
val add_resource_set_reader : t -> AddResource.struct_t reader_t -> AddResource.t
val add_resource_set_builder : t -> AddResource.t -> AddResource.t
val add_resource_init : t -> AddResource.t
val delete_resource_set_reader : t -> DeleteResource.struct_t reader_t -> DeleteResource.t
val delete_resource_set_builder : t -> DeleteResource.t -> DeleteResource.t
val delete_resource_init : t -> DeleteResource.t
val download_resource_set_reader : t -> DownloadResource.struct_t reader_t -> DownloadResource.t
val download_resource_set_builder : t -> DownloadResource.t -> DownloadResource.t
val download_resource_init : t -> DownloadResource.t
val heartbeat_peer_set_reader : t -> HeartbeatPeer.struct_t reader_t -> HeartbeatPeer.t
val heartbeat_peer_set_builder : t -> HeartbeatPeer.t -> HeartbeatPeer.t
val heartbeat_peer_init : t -> HeartbeatPeer.t
val has_header : t -> bool
val header_get : t -> PushMessageHeader.t
val header_set_builder : t -> PushMessageHeader.t -> PushMessageHeader.t
val header_init : t -> PushMessageHeader.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