Module Builder.AddrInfo

type struct_t = [
| `AddrInfo_89e4194c3e64d647
]
val has_peer_id : t -> bool
val peer_id_get : t -> PeerId.t
val peer_id_set_reader : t -> PeerId.struct_t reader_t -> PeerId.t
val peer_id_set_builder : t -> PeerId.t -> PeerId.t
val peer_id_init : t -> PeerId.t
val has_addrs : t -> bool
val addrs_get : t -> ( Capnp.Message.rw, Multiaddr.t, array_t ) Capnp.Array.t
val addrs_get_list : t -> Multiaddr.t list
val addrs_get_array : t -> Multiaddr.t array
val addrs_set : t -> ( Capnp.Message.rw, Multiaddr.t, array_t ) Capnp.Array.t -> ( Capnp.Message.rw, Multiaddr.t, array_t ) Capnp.Array.t
val addrs_set_list : t -> Multiaddr.t list -> ( Capnp.Message.rw, Multiaddr.t, array_t ) Capnp.Array.t
val addrs_set_array : t -> Multiaddr.t array -> ( Capnp.Message.rw, Multiaddr.t, array_t ) Capnp.Array.t
val addrs_init : t -> int -> ( Capnp.Message.rw, Multiaddr.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