Module Reader.AddrInfo

type struct_t = [
| `AddrInfo_89e4194c3e64d647
]
val has_peer_id : t -> bool
val peer_id_get : t -> PeerId.t
val has_addrs : t -> bool
val addrs_get : t -> ( Capnp.Message.ro, Multiaddr.t, array_t ) Capnp.Array.t
val addrs_get_list : t -> Multiaddr.t list
val addrs_get_array : t -> Multiaddr.t array
val of_message : 'cap message_t -> t
val of_builder : struct_t builder_t -> t