Module ListPeers.Response

type struct_t = [
| `Response_fb54cca136535a14
]
val has_result : t -> bool
val result_get : t -> ( Capnp.Message.rw, PeerInfo.t, array_t ) Capnp.Array.t
val result_get_list : t -> PeerInfo.t list
val result_get_array : t -> PeerInfo.t array
val result_set : t -> ( Capnp.Message.rw, PeerInfo.t, array_t ) Capnp.Array.t -> ( Capnp.Message.rw, PeerInfo.t, array_t ) Capnp.Array.t
val result_set_list : t -> PeerInfo.t list -> ( Capnp.Message.rw, PeerInfo.t, array_t ) Capnp.Array.t
val result_set_array : t -> PeerInfo.t array -> ( Capnp.Message.rw, PeerInfo.t, array_t ) Capnp.Array.t
val result_init : t -> int -> ( Capnp.Message.rw, PeerInfo.t, array_t ) Capnp.Array.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