Builder.AddrInfo
val has_peer_id : t -> bool
val peer_id_set_reader : t -> PeerId.struct_t reader_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 init_root : ?message_size:int -> unit -> t