From 5eacb2428deb5e5d5a39ff13faed87e76fe8d4d7 Mon Sep 17 00:00:00 2001 From: dignifiedquire Date: Tue, 11 Feb 2025 09:25:03 +0000 Subject: [PATCH] deploy: 8574c08d65e49800e9ab55954f7b4f0bb9cb94bd --- pr/2937/docs/bulk/all.html | 2 +- pr/2937/docs/bulk/fn.collect_and_print.html | 2 +- pr/2937/docs/bulk/fn.main.html | 2 +- pr/2937/docs/bulk/fn.run_iroh.html | 2 +- pr/2937/docs/bulk/fn.run_quinn.html | 2 +- pr/2937/docs/bulk/fn.run_s2n.html | 2 +- pr/2937/docs/bulk/index.html | 2 +- pr/2937/docs/iroh/all.html | 2 +- .../defaults/constant.DEFAULT_HTTPS_PORT.html | 2 +- .../defaults/constant.DEFAULT_HTTP_PORT.html | 2 +- .../constant.DEFAULT_METRICS_PORT.html | 2 +- .../constant.DEFAULT_RELAY_QUIC_PORT.html | 2 +- .../defaults/constant.DEFAULT_STUN_PORT.html | 2 +- pr/2937/docs/iroh/defaults/index.html | 2 +- .../prod/constant.AP_RELAY_HOSTNAME.html | 2 +- .../prod/constant.EU_RELAY_HOSTNAME.html | 2 +- .../prod/constant.NA_RELAY_HOSTNAME.html | 2 +- .../prod/fn.default_ap_relay_node.html | 2 +- .../prod/fn.default_eu_relay_node.html | 2 +- .../prod/fn.default_na_relay_node.html | 2 +- .../defaults/prod/fn.default_relay_map.html | 2 +- pr/2937/docs/iroh/defaults/prod/index.html | 2 +- .../staging/constant.EU_RELAY_HOSTNAME.html | 2 +- .../staging/constant.NA_RELAY_HOSTNAME.html | 2 +- .../staging/fn.default_eu_relay_node.html | 2 +- .../staging/fn.default_na_relay_node.html | 2 +- .../staging/fn.default_relay_map.html | 2 +- pr/2937/docs/iroh/defaults/staging/index.html | 2 +- .../dns/constant.N0_DNS_NODE_ORIGIN_PROD.html | 2 +- .../constant.N0_DNS_NODE_ORIGIN_STAGING.html | 2 +- pr/2937/docs/iroh/discovery/dns/index.html | 2 +- .../discovery/dns/struct.DnsDiscovery.html | 12 +- pr/2937/docs/iroh/discovery/index.html | 2 +- .../local_swarm_discovery/constant.NAME.html | 2 +- .../local_swarm_discovery/index.html | 2 +- .../struct.LocalSwarmDiscovery.html | 2 +- .../pkarr/constant.DEFAULT_PKARR_TTL.html | 2 +- .../constant.DEFAULT_REPUBLISH_INTERVAL.html | 2 +- .../constant.N0_DNS_PKARR_RELAY_PROD.html | 2 +- .../constant.N0_DNS_PKARR_RELAY_STAGING.html | 2 +- .../docs/iroh/discovery/pkarr/dht/index.html | 2 +- .../discovery/pkarr/dht/struct.Builder.html | 2 +- .../pkarr/dht/struct.DhtDiscovery.html | 2 +- pr/2937/docs/iroh/discovery/pkarr/index.html | 2 +- .../pkarr/struct.PkarrPublisher.html | 2 +- .../pkarr/struct.PkarrRelayClient.html | 2 +- .../discovery/pkarr/struct.PkarrResolver.html | 2 +- .../iroh/discovery/static_provider/index.html | 2 +- .../struct.StaticProvider.html | 2 +- .../discovery/struct.ConcurrentDiscovery.html | 2 +- .../iroh/discovery/struct.DiscoveryItem.html | 2 +- .../docs/iroh/discovery/trait.Discovery.html | 4 +- .../dns/constant.N0_DNS_NODE_ORIGIN_PROD.html | 2 + .../constant.N0_DNS_NODE_ORIGIN_STAGING.html | 2 + .../docs/iroh/dns/fn.default_resolver.html | 4 - pr/2937/docs/iroh/dns/fn.resolver.html | 2 - pr/2937/docs/iroh/dns/index.html | 9 +- .../dns/node_info/constant.IROH_TXT_NAME.html | 2 +- .../iroh/dns/node_info/enum.IrohAttr.html | 48 - .../docs/iroh/dns/node_info/fn.from_z32.html | 2 - .../docs/iroh/dns/node_info/fn.to_z32.html | 2 - pr/2937/docs/iroh/dns/node_info/index.html | 9 +- .../docs/iroh/dns/node_info/sidebar-items.js | 2 +- .../iroh/dns/node_info/struct.NodeInfo.html | 34 +- .../iroh/dns/node_info/struct.TxtAttrs.html | 65 -- .../iroh/dns/node_info/trait.NodeIdExt.html | 9 + pr/2937/docs/iroh/dns/sidebar-items.js | 2 +- pr/2937/docs/iroh/dns/struct.DnsResolver.html | 128 +++ pr/2937/docs/iroh/dns/trait.ResolverExt.html | 128 --- pr/2937/docs/iroh/dns/type.DnsResolver.html | 72 -- .../constant.ENV_FORCE_STAGING_RELAYS.html | 2 +- .../iroh/endpoint/enum.ConnectionError.html | 2 +- .../iroh/endpoint/enum.ConnectionType.html | 2 +- .../docs/iroh/endpoint/enum.ControlMsg.html | 2 +- .../iroh/endpoint/enum.DirectAddrType.html | 12 +- .../iroh/endpoint/enum.PathSelection.html | 2 +- .../docs/iroh/endpoint/enum.ReadError.html | 2 +- .../iroh/endpoint/enum.ReadExactError.html | 2 +- .../iroh/endpoint/enum.ReadToEndError.html | 2 +- .../docs/iroh/endpoint/enum.RelayMode.html | 8 +- .../docs/iroh/endpoint/enum.ResetError.html | 2 +- .../iroh/endpoint/enum.SendDatagramError.html | 2 +- pr/2937/docs/iroh/endpoint/enum.Source.html | 2 +- .../docs/iroh/endpoint/enum.StoppedError.html | 2 +- .../docs/iroh/endpoint/enum.WriteError.html | 2 +- .../iroh/endpoint/fn.default_relay_mode.html | 2 +- .../iroh/endpoint/fn.force_staging_infra.html | 2 +- .../iroh/endpoint/fn.make_server_config.html | 2 +- pr/2937/docs/iroh/endpoint/index.html | 2 +- pr/2937/docs/iroh/endpoint/struct.Accept.html | 6 +- .../docs/iroh/endpoint/struct.AcceptBi.html | 2 +- .../docs/iroh/endpoint/struct.AcceptUni.html | 2 +- .../endpoint/struct.AckFrequencyConfig.html | 2 +- .../endpoint/struct.ApplicationClose.html | 2 +- .../docs/iroh/endpoint/struct.Builder.html | 53 +- pr/2937/docs/iroh/endpoint/struct.Chunk.html | 2 +- .../iroh/endpoint/struct.ClosedStream.html | 2 +- .../docs/iroh/endpoint/struct.Connecting.html | 12 +- .../docs/iroh/endpoint/struct.Connection.html | 71 +- .../iroh/endpoint/struct.ConnectionClose.html | 2 +- .../iroh/endpoint/struct.ConnectionStats.html | 2 +- .../iroh/endpoint/struct.CryptoError.html | 2 +- .../docs/iroh/endpoint/struct.DirectAddr.html | 12 +- .../iroh/endpoint/struct.DirectAddrInfo.html | 2 +- .../docs/iroh/endpoint/struct.Endpoint.html | 56 +- .../struct.ExportKeyingMaterialError.html | 2 +- .../docs/iroh/endpoint/struct.FrameStats.html | 2 +- .../docs/iroh/endpoint/struct.Incoming.html | 20 +- .../iroh/endpoint/struct.IncomingFuture.html | 6 +- .../endpoint/struct.MtuDiscoveryConfig.html | 2 +- pr/2937/docs/iroh/endpoint/struct.OpenBi.html | 2 +- .../docs/iroh/endpoint/struct.OpenUni.html | 2 +- .../docs/iroh/endpoint/struct.PathStats.html | 2 +- .../iroh/endpoint/struct.ReadDatagram.html | 2 +- .../docs/iroh/endpoint/struct.RecvStream.html | 2 +- .../docs/iroh/endpoint/struct.RemoteInfo.html | 2 +- .../docs/iroh/endpoint/struct.RetryError.html | 2 +- .../docs/iroh/endpoint/struct.SendStream.html | 2 +- .../iroh/endpoint/struct.ServerConfig.html | 2 +- .../docs/iroh/endpoint/struct.StreamId.html | 2 +- .../iroh/endpoint/struct.TransportConfig.html | 2 +- .../iroh/endpoint/struct.TransportError.html | 2 +- .../endpoint/struct.TransportErrorCode.html | 2 +- .../docs/iroh/endpoint/struct.UdpStats.html | 2 +- .../endpoint/struct.UnsupportedVersion.html | 2 +- pr/2937/docs/iroh/endpoint/struct.VarInt.html | 2 +- .../endpoint/struct.WeakConnectionHandle.html | 2 +- .../docs/iroh/endpoint/struct.Written.html | 2 +- .../iroh/endpoint/struct.ZeroRttAccepted.html | 2 +- pr/2937/docs/iroh/endpoint/trait.AeadKey.html | 2 +- .../docs/iroh/endpoint/trait.Controller.html | 2 +- .../endpoint/trait.ControllerFactory.html | 2 +- .../endpoint/trait.CryptoServerConfig.html | 2 +- .../endpoint/trait.HandshakeTokenKey.html | 2 +- pr/2937/docs/iroh/enum.KeyParsingError.html | 2 +- pr/2937/docs/iroh/index.html | 2 +- pr/2937/docs/iroh/metrics/index.html | 2 +- .../iroh/metrics/struct.MagicsockMetrics.html | 2 +- .../iroh/metrics/struct.NetReportMetrics.html | 2 +- .../iroh/metrics/struct.PortmapMetrics.html | 2 +- .../iroh/metrics/struct.RelayMetrics.html | 4 +- pr/2937/docs/iroh/protocol/index.html | 2 +- pr/2937/docs/iroh/protocol/struct.Router.html | 2 +- .../iroh/protocol/struct.RouterBuilder.html | 2 +- .../iroh/protocol/trait.ProtocolHandler.html | 2 +- pr/2937/docs/iroh/struct.NodeAddr.html | 6 +- pr/2937/docs/iroh/struct.PublicKey.html | 4 +- pr/2937/docs/iroh/struct.RelayMap.html | 26 +- pr/2937/docs/iroh/struct.RelayNode.html | 18 +- pr/2937/docs/iroh/struct.RelayUrl.html | 2 +- .../docs/iroh/struct.RelayUrlParseError.html | 2 +- pr/2937/docs/iroh/struct.SecretKey.html | 2 +- .../dns_server/fn.create_dns_resolver.html | 11 - .../test_utils/fn.create_dns_resolver.html | 2 - .../iroh/test_utils/fn.run_relay_server.html | 4 +- .../test_utils/fn.run_relay_server_with.html | 8 +- .../fn.run_relay_server_with_stun.html | 4 +- pr/2937/docs/iroh/test_utils/index.html | 4 +- pr/2937/docs/iroh/test_utils/sidebar-items.js | 2 +- .../test_utils/struct.CleanupDropGuard.html | 4 +- .../test_utils/struct.DnsPkarrServer.html | 14 +- pr/2937/docs/iroh/type.NodeId.html | 2 +- pr/2937/docs/iroh/watchable/index.html | 2 +- .../iroh/watchable/struct.Disconnected.html | 2 +- .../watchable/struct.WatchInitializedFut.html | 2 +- .../iroh/watchable/struct.WatchNextFut.html | 2 +- .../docs/iroh/watchable/struct.Watchable.html | 2 +- .../docs/iroh/watchable/struct.Watcher.html | 2 +- .../iroh/watchable/struct.WatcherStream.html | 2 +- pr/2937/docs/iroh_base/all.html | 2 +- .../docs/iroh_base/enum.KeyParsingError.html | 2 +- pr/2937/docs/iroh_base/index.html | 2 +- pr/2937/docs/iroh_base/struct.NodeAddr.html | 2 +- pr/2937/docs/iroh_base/struct.PublicKey.html | 2 +- pr/2937/docs/iroh_base/struct.RelayUrl.html | 2 +- .../iroh_base/struct.RelayUrlParseError.html | 2 +- pr/2937/docs/iroh_base/struct.SecretKey.html | 2 +- pr/2937/docs/iroh_base/struct.Signature.html | 2 +- pr/2937/docs/iroh_base/ticket/enum.Error.html | 2 +- pr/2937/docs/iroh_base/ticket/index.html | 2 +- .../iroh_base/ticket/struct.NodeTicket.html | 2 +- .../docs/iroh_base/ticket/trait.Ticket.html | 2 +- pr/2937/docs/iroh_base/type.NodeId.html | 2 +- pr/2937/docs/iroh_bench/all.html | 2 +- pr/2937/docs/iroh_bench/enum.Commands.html | 2 +- .../iroh_bench/enum.ConnectionSelector.html | 2 +- .../iroh_bench/enum.EndpointSelector.html | 2 +- .../docs/iroh_bench/fn.client_handler.html | 2 +- .../fn.configure_tracing_subscriber.html | 2 +- pr/2937/docs/iroh_bench/fn.rt.html | 2 +- pr/2937/docs/iroh_bench/index.html | 2 +- .../docs/iroh_bench/iroh/constant.ALPN.html | 2 +- pr/2937/docs/iroh_bench/iroh/fn.client.html | 2 +- .../iroh_bench/iroh/fn.connect_client.html | 2 +- .../iroh/fn.handle_client_stream.html | 2 +- pr/2937/docs/iroh_bench/iroh/fn.server.html | 2 +- .../iroh_bench/iroh/fn.server_endpoint.html | 2 +- .../iroh_bench/iroh/fn.transport_config.html | 2 +- pr/2937/docs/iroh_bench/iroh/index.html | 2 +- .../docs/iroh_bench/quinn/constant.ALPN.html | 2 +- pr/2937/docs/iroh_bench/quinn/fn.client.html | 2 +- .../iroh_bench/quinn/fn.connect_client.html | 2 +- .../quinn/fn.handle_client_stream.html | 2 +- pr/2937/docs/iroh_bench/quinn/fn.server.html | 2 +- .../iroh_bench/quinn/fn.server_endpoint.html | 2 +- .../iroh_bench/quinn/fn.transport_config.html | 2 +- pr/2937/docs/iroh_bench/quinn/index.html | 2 +- pr/2937/docs/iroh_bench/s2n/index.html | 2 +- pr/2937/docs/iroh_bench/s2n/struct.Opt.html | 2 +- .../iroh_bench/stats/fn.throughput_bps.html | 2 +- pr/2937/docs/iroh_bench/stats/index.html | 2 +- .../docs/iroh_bench/stats/struct.Stats.html | 2 +- .../iroh_bench/stats/struct.StreamStats.html | 2 +- .../stats/struct.TransferResult.html | 2 +- .../docs/iroh_bench/struct.ClientStats.html | 2 +- pr/2937/docs/iroh_bench/struct.Opt.html | 2 +- pr/2937/docs/iroh_dns_server/all.html | 2 +- .../config/enum.BootstrapOption.html | 2 +- .../docs/iroh_dns_server/config/index.html | 2 +- .../iroh_dns_server/config/struct.Config.html | 2 +- .../config/struct.MainlineConfig.html | 2 +- .../config/struct.MetricsConfig.html | 2 +- .../config/struct.StoreConfig.html | 2 +- pr/2937/docs/iroh_dns_server/dns/index.html | 2 +- .../iroh_dns_server/dns/struct.DnsConfig.html | 2 +- .../dns/struct.DnsHandler.html | 2 +- .../iroh_dns_server/dns/struct.DnsServer.html | 2 +- .../iroh_dns_server/dns/struct.Handle.html | 2 +- .../iroh_dns_server/http/enum.CertMode.html | 2 +- .../http/enum.RateLimitConfig.html | 2 +- pr/2937/docs/iroh_dns_server/http/index.html | 2 +- .../http/struct.HttpConfig.html | 2 +- .../http/struct.HttpServer.html | 2 +- .../http/struct.HttpsConfig.html | 2 +- pr/2937/docs/iroh_dns_server/index.html | 2 +- .../metrics/fn.init_metrics.html | 2 +- .../docs/iroh_dns_server/metrics/index.html | 2 +- .../metrics/struct.Metrics.html | 2 +- .../fn.run_with_config_until_ctrl_c.html | 2 +- .../docs/iroh_dns_server/server/index.html | 2 +- .../iroh_dns_server/server/struct.Server.html | 2 +- pr/2937/docs/iroh_dns_server/state/index.html | 2 +- .../state/struct.AppState.html | 2 +- .../iroh_dns_server/struct.ZoneStore.html | 2 +- pr/2937/docs/iroh_net_report/all.html | 2 +- .../constant.MAPPED_ADDR_PORT.html | 2 +- .../fn.bind_local_stun_socket.html | 2 +- .../docs/iroh_net_report/fn.os_has_ipv6.html | 2 +- pr/2937/docs/iroh_net_report/index.html | 2 +- pr/2937/docs/iroh_net_report/struct.Addr.html | 9 +- .../docs/iroh_net_report/struct.Client.html | 22 +- .../iroh_net_report/struct.IpMappedAddr.html | 5 +- .../struct.IpMappedAddrError.html | 2 +- .../struct.IpMappedAddresses.html | 5 +- .../docs/iroh_net_report/struct.Metrics.html | 5 +- .../docs/iroh_net_report/struct.Options.html | 25 +- .../iroh_net_report/struct.QuicConfig.html | 7 +- .../struct.RelayLatencies.html | 11 +- .../docs/iroh_net_report/struct.Report.html | 13 +- pr/2937/docs/iroh_relay/all.html | 2 +- .../iroh_relay/client/enum.ConnSendError.html | 2 +- .../client/enum.ReceivedMessage.html | 5 +- .../iroh_relay/client/enum.SendMessage.html | 2 +- .../fn.make_dangerous_client_config.html | 2 +- pr/2937/docs/iroh_relay/client/index.html | 2 +- .../docs/iroh_relay/client/struct.Client.html | 2 +- .../client/struct.ClientBuilder.html | 7 +- .../iroh_relay/client/struct.ClientSink.html | 2 +- .../client/struct.ClientStream.html | 2 +- .../defaults/constant.DEFAULT_HTTPS_PORT.html | 2 +- .../defaults/constant.DEFAULT_HTTP_PORT.html | 2 +- .../constant.DEFAULT_KEY_CACHE_CAPACITY.html | 2 +- .../constant.DEFAULT_METRICS_PORT.html | 2 +- .../constant.DEFAULT_RELAY_QUIC_PORT.html | 2 +- .../defaults/constant.DEFAULT_STUN_PORT.html | 2 +- pr/2937/docs/iroh_relay/defaults/index.html | 2 +- .../dns/constant.N0_DNS_NODE_ORIGIN_PROD.html | 2 + .../constant.N0_DNS_NODE_ORIGIN_STAGING.html | 2 + pr/2937/docs/iroh_relay/dns/index.html | 2 + .../dns/node_info/constant.IROH_TXT_NAME.html | 2 + .../docs/iroh_relay/dns/node_info/index.html | 34 + .../iroh_relay/dns/node_info/sidebar-items.js | 1 + .../dns/node_info/struct.NodeInfo.html | 55 ++ .../dns/node_info/trait.NodeIdExt.html | 9 + pr/2937/docs/iroh_relay/dns/sidebar-items.js | 1 + .../iroh_relay/dns/struct.DnsResolver.html | 122 +++ pr/2937/docs/iroh_relay/dns/struct.TXT.html | 31 + .../docs/iroh_relay/dns/struct.TxtLookup.html | 29 + .../iroh_relay/http/constant.RELAY_PATH.html | 2 +- .../http/constant.RELAY_PROBE_PATH.html | 2 +- .../docs/iroh_relay/http/enum.Protocol.html | 5 +- pr/2937/docs/iroh_relay/http/index.html | 2 +- pr/2937/docs/iroh_relay/index.html | 4 +- .../protos/disco/constant.MAGIC.html | 2 +- .../disco/fn.looks_like_disco_wrapper.html | 2 +- .../docs/iroh_relay/protos/disco/index.html | 2 +- pr/2937/docs/iroh_relay/protos/index.html | 2 +- .../relay/constant.MAX_PACKET_SIZE.html | 2 +- .../docs/iroh_relay/protos/relay/index.html | 2 +- .../iroh_relay/protos/stun/enum.Error.html | 2 +- .../protos/stun/enum.MessageClass.html | 5 +- .../protos/stun/enum.StunAttribute.html | 5 +- .../docs/iroh_relay/protos/stun/fn.is.html | 2 +- .../protos/stun/fn.parse_binding_request.html | 2 +- .../protos/stun/fn.parse_response.html | 2 +- .../iroh_relay/protos/stun/fn.request.html | 2 +- .../iroh_relay/protos/stun/fn.response.html | 2 +- .../docs/iroh_relay/protos/stun/index.html | 2 +- .../protos/stun/methods/constant.BINDING.html | 2 +- .../stun/methods/constant.RESERVED.html | 2 +- .../stun/methods/constant.SHARED_SECRET.html | 2 +- .../iroh_relay/protos/stun/methods/index.html | 2 +- .../protos/stun/struct.MessageDecoder.html | 5 +- .../protos/stun/struct.StunDecodeError.html | 2 +- .../protos/stun/struct.TransactionId.html | 5 +- .../quic/constant.ALPN_QUIC_ADDR_DISC.html | 2 +- .../constant.QUIC_ADDR_DISC_CLOSE_CODE.html | 2 +- .../constant.QUIC_ADDR_DISC_CLOSE_REASON.html | 2 +- pr/2937/docs/iroh_relay/quic/index.html | 2 +- .../iroh_relay/quic/struct.QuicClient.html | 2 +- ...constant.DEFAULT_CERT_RELOAD_INTERVAL.html | 2 +- .../docs/iroh_relay/server/enum.Access.html | 5 +- .../iroh_relay/server/enum.AccessConfig.html | 2 +- .../iroh_relay/server/enum.CertConfig.html | 2 +- pr/2937/docs/iroh_relay/server/index.html | 2 +- .../server/struct.ClientRateLimit.html | 5 +- .../docs/iroh_relay/server/struct.Limits.html | 2 +- .../iroh_relay/server/struct.Metrics.html | 5 +- .../iroh_relay/server/struct.QuicConfig.html | 2 +- .../iroh_relay/server/struct.RelayConfig.html | 2 +- .../server/struct.ReloadingResolver.html | 2 +- .../docs/iroh_relay/server/struct.Server.html | 2 +- .../server/struct.ServerConfig.html | 2 +- .../iroh_relay/server/struct.StunConfig.html | 2 +- .../iroh_relay/server/struct.StunMetrics.html | 5 +- .../iroh_relay/server/struct.TlsConfig.html | 2 +- .../server/testing/fn.quic_config.html | 2 +- .../server/testing/fn.relay_config.html | 2 +- .../fn.self_signed_tls_certs_and_config.html | 2 +- .../server/testing/fn.server_config.html | 2 +- .../server/testing/fn.stun_config.html | 2 +- .../server/testing/fn.tls_config.html | 2 +- .../docs/iroh_relay/server/testing/index.html | 2 +- pr/2937/docs/iroh_relay/sidebar-items.js | 2 +- .../docs/iroh_relay/struct.PingTracker.html | 2 +- pr/2937/docs/iroh_relay/struct.RelayMap.html | 5 +- pr/2937/docs/iroh_relay/struct.RelayNode.html | 5 +- .../iroh_relay/struct.RelayQuicConfig.html | 5 +- pr/2937/docs/search-index.js | 4 +- pr/2937/docs/search.desc/iroh/iroh-desc-0-.js | 2 +- .../iroh_relay/iroh_relay-desc-0-.js | 2 +- pr/2937/docs/src-files.js | 4 +- pr/2937/docs/src/iroh/discovery.rs.html | 16 +- pr/2937/docs/src/iroh/discovery/dns.rs.html | 16 +- pr/2937/docs/src/iroh/dns.rs.html | 792 +---------------- pr/2937/docs/src/iroh/endpoint.rs.html | 48 +- pr/2937/docs/src/iroh/magicsock.rs.html | 90 +- .../src/iroh/magicsock/relay_actor.rs.html | 4 +- pr/2937/docs/src/iroh/test_utils.rs.html | 146 +++- pr/2937/docs/src/iroh_dns_server/lib.rs.html | 50 +- pr/2937/docs/src/iroh_net_report/dns.rs.html | 512 +---------- pr/2937/docs/src/iroh_net_report/lib.rs.html | 8 +- pr/2937/docs/src/iroh_net_report/ping.rs.html | 60 +- .../src/iroh_net_report/reportgen.rs.html | 30 +- pr/2937/docs/src/iroh_relay/client.rs.html | 4 +- .../iroh_relay/client/connect_relay.rs.html | 106 +-- pr/2937/docs/src/iroh_relay/dns.rs.html | 819 ++++++++++++++++++ .../dns/node_info.rs.html | 148 ++-- pr/2937/docs/src/iroh_relay/lib.rs.html | 4 +- pr/2937/docs/src/iroh_relay/server.rs.html | 26 +- .../src/iroh_relay/server/http_server.rs.html | 20 +- .../docs/trait.impl/core/clone/trait.Clone.js | 4 +- pr/2937/docs/trait.impl/core/cmp/trait.Eq.js | 4 +- pr/2937/docs/trait.impl/core/cmp/trait.Ord.js | 4 +- .../trait.impl/core/cmp/trait.PartialEq.js | 4 +- .../trait.impl/core/cmp/trait.PartialOrd.js | 4 +- .../trait.impl/core/convert/trait.AsRef.js | 4 +- .../trait.impl/core/convert/trait.From.js | 4 +- .../trait.impl/core/convert/trait.TryFrom.js | 4 +- .../trait.impl/core/default/trait.Default.js | 4 +- .../docs/trait.impl/core/fmt/trait.Debug.js | 4 +- .../docs/trait.impl/core/fmt/trait.Display.js | 4 +- .../docs/trait.impl/core/hash/trait.Hash.js | 4 +- .../iter/traits/collect/trait.IntoIterator.js | 9 + .../trait.impl/core/marker/trait.Freeze.js | 4 +- .../docs/trait.impl/core/marker/trait.Send.js | 4 +- .../core/marker/trait.StructuralPartialEq.js | 4 +- .../docs/trait.impl/core/marker/trait.Sync.js | 4 +- .../trait.impl/core/marker/trait.Unpin.js | 4 +- .../panic/unwind_safe/trait.RefUnwindSafe.js | 4 +- .../panic/unwind_safe/trait.UnwindSafe.js | 4 +- .../core/str/traits/trait.FromStr.js | 4 +- .../dns/node_info/trait.NodeIdExt.js} | 4 +- .../resolver/type.TokioResolver.js | 9 - .../docs/type.impl/iroh/struct.PublicKey.js | 4 +- 395 files changed, 2271 insertions(+), 2655 deletions(-) create mode 100644 pr/2937/docs/iroh/dns/constant.N0_DNS_NODE_ORIGIN_PROD.html create mode 100644 pr/2937/docs/iroh/dns/constant.N0_DNS_NODE_ORIGIN_STAGING.html delete mode 100644 pr/2937/docs/iroh/dns/fn.default_resolver.html delete mode 100644 pr/2937/docs/iroh/dns/fn.resolver.html delete mode 100644 pr/2937/docs/iroh/dns/node_info/enum.IrohAttr.html delete mode 100644 pr/2937/docs/iroh/dns/node_info/fn.from_z32.html delete mode 100644 pr/2937/docs/iroh/dns/node_info/fn.to_z32.html delete mode 100644 pr/2937/docs/iroh/dns/node_info/struct.TxtAttrs.html create mode 100644 pr/2937/docs/iroh/dns/node_info/trait.NodeIdExt.html create mode 100644 pr/2937/docs/iroh/dns/struct.DnsResolver.html delete mode 100644 pr/2937/docs/iroh/dns/trait.ResolverExt.html delete mode 100644 pr/2937/docs/iroh/dns/type.DnsResolver.html delete mode 100644 pr/2937/docs/iroh/test_utils/dns_server/fn.create_dns_resolver.html delete mode 100644 pr/2937/docs/iroh/test_utils/fn.create_dns_resolver.html create mode 100644 pr/2937/docs/iroh_relay/dns/constant.N0_DNS_NODE_ORIGIN_PROD.html create mode 100644 pr/2937/docs/iroh_relay/dns/constant.N0_DNS_NODE_ORIGIN_STAGING.html create mode 100644 pr/2937/docs/iroh_relay/dns/index.html create mode 100644 pr/2937/docs/iroh_relay/dns/node_info/constant.IROH_TXT_NAME.html create mode 100644 pr/2937/docs/iroh_relay/dns/node_info/index.html create mode 100644 pr/2937/docs/iroh_relay/dns/node_info/sidebar-items.js create mode 100644 pr/2937/docs/iroh_relay/dns/node_info/struct.NodeInfo.html create mode 100644 pr/2937/docs/iroh_relay/dns/node_info/trait.NodeIdExt.html create mode 100644 pr/2937/docs/iroh_relay/dns/sidebar-items.js create mode 100644 pr/2937/docs/iroh_relay/dns/struct.DnsResolver.html create mode 100644 pr/2937/docs/iroh_relay/dns/struct.TXT.html create mode 100644 pr/2937/docs/iroh_relay/dns/struct.TxtLookup.html create mode 100644 pr/2937/docs/src/iroh_relay/dns.rs.html rename pr/2937/docs/src/{iroh => iroh_relay}/dns/node_info.rs.html (82%) create mode 100644 pr/2937/docs/trait.impl/core/iter/traits/collect/trait.IntoIterator.js rename pr/2937/docs/trait.impl/{iroh/dns/trait.ResolverExt.js => iroh_relay/dns/node_info/trait.NodeIdExt.js} (60%) delete mode 100644 pr/2937/docs/type.impl/hickory_resolver/resolver/type.TokioResolver.js diff --git a/pr/2937/docs/bulk/all.html b/pr/2937/docs/bulk/all.html index b4f0d892aa..1edb9197f1 100644 --- a/pr/2937/docs/bulk/all.html +++ b/pr/2937/docs/bulk/all.html @@ -1 +1 @@ -List of all items in this crate
\ No newline at end of file +List of all items in this crate
\ No newline at end of file diff --git a/pr/2937/docs/bulk/fn.collect_and_print.html b/pr/2937/docs/bulk/fn.collect_and_print.html index 164167818a..19199b4efa 100644 --- a/pr/2937/docs/bulk/fn.collect_and_print.html +++ b/pr/2937/docs/bulk/fn.collect_and_print.html @@ -1,4 +1,4 @@ -collect_and_print in bulk - Rust
bulk

Function collect_and_print

Source
pub(crate) fn collect_and_print(
+collect_and_print in bulk - Rust
bulk

Function collect_and_print

Source
pub(crate) fn collect_and_print(
     category: &'static str,
     metrics: Option<&impl Iterable>,
 )
\ No newline at end of file diff --git a/pr/2937/docs/bulk/fn.main.html b/pr/2937/docs/bulk/fn.main.html index 3eaadd3120..a581712ddb 100644 --- a/pr/2937/docs/bulk/fn.main.html +++ b/pr/2937/docs/bulk/fn.main.html @@ -1 +1 @@ -main in bulk - Rust
bulk

Function main

Source
pub(crate) fn main()
\ No newline at end of file +main in bulk - Rust
bulk

Function main

Source
pub(crate) fn main()
\ No newline at end of file diff --git a/pr/2937/docs/bulk/fn.run_iroh.html b/pr/2937/docs/bulk/fn.run_iroh.html index c6408bc394..bb4e5628b1 100644 --- a/pr/2937/docs/bulk/fn.run_iroh.html +++ b/pr/2937/docs/bulk/fn.run_iroh.html @@ -1 +1 @@ -run_iroh in bulk - Rust
bulk

Function run_iroh

Source
pub fn run_iroh(opt: Opt) -> Result<()>
\ No newline at end of file +run_iroh in bulk - Rust
bulk

Function run_iroh

Source
pub fn run_iroh(opt: Opt) -> Result<()>
\ No newline at end of file diff --git a/pr/2937/docs/bulk/fn.run_quinn.html b/pr/2937/docs/bulk/fn.run_quinn.html index c5c3c724ac..4fb61bcbe6 100644 --- a/pr/2937/docs/bulk/fn.run_quinn.html +++ b/pr/2937/docs/bulk/fn.run_quinn.html @@ -1 +1 @@ -run_quinn in bulk - Rust
bulk

Function run_quinn

Source
pub fn run_quinn(opt: Opt) -> Result<()>
\ No newline at end of file +run_quinn in bulk - Rust
bulk

Function run_quinn

Source
pub fn run_quinn(opt: Opt) -> Result<()>
\ No newline at end of file diff --git a/pr/2937/docs/bulk/fn.run_s2n.html b/pr/2937/docs/bulk/fn.run_s2n.html index 33c9ac16fe..e7315daed9 100644 --- a/pr/2937/docs/bulk/fn.run_s2n.html +++ b/pr/2937/docs/bulk/fn.run_s2n.html @@ -1 +1 @@ -run_s2n in bulk - Rust
bulk

Function run_s2n

Source
pub fn run_s2n(_opt: Opt) -> Result<()>
\ No newline at end of file +run_s2n in bulk - Rust
bulk

Function run_s2n

Source
pub fn run_s2n(_opt: Opt) -> Result<()>
\ No newline at end of file diff --git a/pr/2937/docs/bulk/index.html b/pr/2937/docs/bulk/index.html index 8c78274fe1..0fd78850ab 100644 --- a/pr/2937/docs/bulk/index.html +++ b/pr/2937/docs/bulk/index.html @@ -1 +1 @@ -bulk - Rust

Crate bulk

Source

Functions§

\ No newline at end of file +bulk - Rust

Crate bulk

Source

Functions§

\ No newline at end of file diff --git a/pr/2937/docs/iroh/all.html b/pr/2937/docs/iroh/all.html index d84c823698..16735264bc 100644 --- a/pr/2937/docs/iroh/all.html +++ b/pr/2937/docs/iroh/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Structs

Enums

Traits

Functions

Type Aliases

Constants

\ No newline at end of file +List of all items in this crate

List of all items

Structs

Enums

Traits

Functions

Type Aliases

Constants

\ No newline at end of file diff --git a/pr/2937/docs/iroh/defaults/constant.DEFAULT_HTTPS_PORT.html b/pr/2937/docs/iroh/defaults/constant.DEFAULT_HTTPS_PORT.html index 4d48302b20..b0ee9d051a 100644 --- a/pr/2937/docs/iroh/defaults/constant.DEFAULT_HTTPS_PORT.html +++ b/pr/2937/docs/iroh/defaults/constant.DEFAULT_HTTPS_PORT.html @@ -1,2 +1,2 @@ -DEFAULT_HTTPS_PORT in iroh::defaults - Rust
iroh::defaults

Constant DEFAULT_HTTPS_PORT

Source
pub const DEFAULT_HTTPS_PORT: u16 = 443;
Expand description

The default HTTPS port used by the Relay server.

+DEFAULT_HTTPS_PORT in iroh::defaults - Rust
iroh::defaults

Constant DEFAULT_HTTPS_PORT

Source
pub const DEFAULT_HTTPS_PORT: u16 = 443;
Expand description

The default HTTPS port used by the Relay server.

\ No newline at end of file diff --git a/pr/2937/docs/iroh/defaults/constant.DEFAULT_HTTP_PORT.html b/pr/2937/docs/iroh/defaults/constant.DEFAULT_HTTP_PORT.html index 902aa853b0..63c2c19df4 100644 --- a/pr/2937/docs/iroh/defaults/constant.DEFAULT_HTTP_PORT.html +++ b/pr/2937/docs/iroh/defaults/constant.DEFAULT_HTTP_PORT.html @@ -1,2 +1,2 @@ -DEFAULT_HTTP_PORT in iroh::defaults - Rust
iroh::defaults

Constant DEFAULT_HTTP_PORT

Source
pub const DEFAULT_HTTP_PORT: u16 = 80;
Expand description

The default HTTP port used by the Relay server.

+DEFAULT_HTTP_PORT in iroh::defaults - Rust
iroh::defaults

Constant DEFAULT_HTTP_PORT

Source
pub const DEFAULT_HTTP_PORT: u16 = 80;
Expand description

The default HTTP port used by the Relay server.

\ No newline at end of file diff --git a/pr/2937/docs/iroh/defaults/constant.DEFAULT_METRICS_PORT.html b/pr/2937/docs/iroh/defaults/constant.DEFAULT_METRICS_PORT.html index 0931e09a1d..9870468571 100644 --- a/pr/2937/docs/iroh/defaults/constant.DEFAULT_METRICS_PORT.html +++ b/pr/2937/docs/iroh/defaults/constant.DEFAULT_METRICS_PORT.html @@ -1,2 +1,2 @@ -DEFAULT_METRICS_PORT in iroh::defaults - Rust
iroh::defaults

Constant DEFAULT_METRICS_PORT

Source
pub const DEFAULT_METRICS_PORT: u16 = 9090;
Expand description

The default metrics port used by the Relay server.

+DEFAULT_METRICS_PORT in iroh::defaults - Rust
iroh::defaults

Constant DEFAULT_METRICS_PORT

Source
pub const DEFAULT_METRICS_PORT: u16 = 9090;
Expand description

The default metrics port used by the Relay server.

\ No newline at end of file diff --git a/pr/2937/docs/iroh/defaults/constant.DEFAULT_RELAY_QUIC_PORT.html b/pr/2937/docs/iroh/defaults/constant.DEFAULT_RELAY_QUIC_PORT.html index 33131bcd7c..f9133d8171 100644 --- a/pr/2937/docs/iroh/defaults/constant.DEFAULT_RELAY_QUIC_PORT.html +++ b/pr/2937/docs/iroh/defaults/constant.DEFAULT_RELAY_QUIC_PORT.html @@ -1,4 +1,4 @@ -DEFAULT_RELAY_QUIC_PORT in iroh::defaults - Rust
iroh::defaults

Constant DEFAULT_RELAY_QUIC_PORT

pub const DEFAULT_RELAY_QUIC_PORT: u16 = 7842; // 7_842u16
Expand description

The default QUIC port used by the Relay server to accept QUIC connections +DEFAULT_RELAY_QUIC_PORT in iroh::defaults - Rust

iroh::defaults

Constant DEFAULT_RELAY_QUIC_PORT

Source
pub const DEFAULT_RELAY_QUIC_PORT: u16 = 7842; // 7_842u16
Expand description

The default QUIC port used by the Relay server to accept QUIC connections for QUIC address discovery

The port is “QUIC” typed on a phone keypad. The default QUIC port used by the Relay server to accept QUIC connections diff --git a/pr/2937/docs/iroh/defaults/constant.DEFAULT_STUN_PORT.html b/pr/2937/docs/iroh/defaults/constant.DEFAULT_STUN_PORT.html index 870a4819e2..ed94b0aecf 100644 --- a/pr/2937/docs/iroh/defaults/constant.DEFAULT_STUN_PORT.html +++ b/pr/2937/docs/iroh/defaults/constant.DEFAULT_STUN_PORT.html @@ -1,4 +1,4 @@ -DEFAULT_STUN_PORT in iroh::defaults - Rust

iroh::defaults

Constant DEFAULT_STUN_PORT

pub const DEFAULT_STUN_PORT: u16 = 3478; // 3_478u16
Expand description

The default STUN port used by the Relay server.

+DEFAULT_STUN_PORT in iroh::defaults - Rust
iroh::defaults

Constant DEFAULT_STUN_PORT

Source
pub const DEFAULT_STUN_PORT: u16 = 3478; // 3_478u16
Expand description

The default STUN port used by the Relay server.

The STUN port as defined by RFC 8489 The default STUN port used by the Relay server.

diff --git a/pr/2937/docs/iroh/defaults/index.html b/pr/2937/docs/iroh/defaults/index.html index 8b2d0fd923..9bf79cb544 100644 --- a/pr/2937/docs/iroh/defaults/index.html +++ b/pr/2937/docs/iroh/defaults/index.html @@ -1,3 +1,3 @@ -iroh::defaults - Rust
iroh

Module defaults

Source
Expand description

Default values used in iroh

+iroh::defaults - Rust
iroh

Module defaults

Source
Expand description

Default values used in iroh

Modules§

  • Production configuration.
  • Staging configuration.

Constants§

\ No newline at end of file diff --git a/pr/2937/docs/iroh/defaults/prod/constant.AP_RELAY_HOSTNAME.html b/pr/2937/docs/iroh/defaults/prod/constant.AP_RELAY_HOSTNAME.html index 764597145c..a2785aee3d 100644 --- a/pr/2937/docs/iroh/defaults/prod/constant.AP_RELAY_HOSTNAME.html +++ b/pr/2937/docs/iroh/defaults/prod/constant.AP_RELAY_HOSTNAME.html @@ -1,2 +1,2 @@ -AP_RELAY_HOSTNAME in iroh::defaults::prod - Rust
iroh::defaults::prod

Constant AP_RELAY_HOSTNAME

Source
pub const AP_RELAY_HOSTNAME: &str = "aps1-1.relay.iroh.network.";
Expand description

Hostname of the default Asia-Pacific relay.

+AP_RELAY_HOSTNAME in iroh::defaults::prod - Rust
iroh::defaults::prod

Constant AP_RELAY_HOSTNAME

Source
pub const AP_RELAY_HOSTNAME: &str = "aps1-1.relay.iroh.network.";
Expand description

Hostname of the default Asia-Pacific relay.

\ No newline at end of file diff --git a/pr/2937/docs/iroh/defaults/prod/constant.EU_RELAY_HOSTNAME.html b/pr/2937/docs/iroh/defaults/prod/constant.EU_RELAY_HOSTNAME.html index efe9ce8cb7..d174e8b419 100644 --- a/pr/2937/docs/iroh/defaults/prod/constant.EU_RELAY_HOSTNAME.html +++ b/pr/2937/docs/iroh/defaults/prod/constant.EU_RELAY_HOSTNAME.html @@ -1,2 +1,2 @@ -EU_RELAY_HOSTNAME in iroh::defaults::prod - Rust
iroh::defaults::prod

Constant EU_RELAY_HOSTNAME

Source
pub const EU_RELAY_HOSTNAME: &str = "euw1-1.relay.iroh.network.";
Expand description

Hostname of the default EU relay.

+EU_RELAY_HOSTNAME in iroh::defaults::prod - Rust
iroh::defaults::prod

Constant EU_RELAY_HOSTNAME

Source
pub const EU_RELAY_HOSTNAME: &str = "euw1-1.relay.iroh.network.";
Expand description

Hostname of the default EU relay.

\ No newline at end of file diff --git a/pr/2937/docs/iroh/defaults/prod/constant.NA_RELAY_HOSTNAME.html b/pr/2937/docs/iroh/defaults/prod/constant.NA_RELAY_HOSTNAME.html index f95e1ae31b..2ed968a250 100644 --- a/pr/2937/docs/iroh/defaults/prod/constant.NA_RELAY_HOSTNAME.html +++ b/pr/2937/docs/iroh/defaults/prod/constant.NA_RELAY_HOSTNAME.html @@ -1,2 +1,2 @@ -NA_RELAY_HOSTNAME in iroh::defaults::prod - Rust
iroh::defaults::prod

Constant NA_RELAY_HOSTNAME

Source
pub const NA_RELAY_HOSTNAME: &str = "use1-1.relay.iroh.network.";
Expand description

Hostname of the default NA relay.

+NA_RELAY_HOSTNAME in iroh::defaults::prod - Rust
iroh::defaults::prod

Constant NA_RELAY_HOSTNAME

Source
pub const NA_RELAY_HOSTNAME: &str = "use1-1.relay.iroh.network.";
Expand description

Hostname of the default NA relay.

\ No newline at end of file diff --git a/pr/2937/docs/iroh/defaults/prod/fn.default_ap_relay_node.html b/pr/2937/docs/iroh/defaults/prod/fn.default_ap_relay_node.html index 656e8a8afb..2de380418d 100644 --- a/pr/2937/docs/iroh/defaults/prod/fn.default_ap_relay_node.html +++ b/pr/2937/docs/iroh/defaults/prod/fn.default_ap_relay_node.html @@ -1,2 +1,2 @@ -default_ap_relay_node in iroh::defaults::prod - Rust
iroh::defaults::prod

Function default_ap_relay_node

Source
pub fn default_ap_relay_node() -> RelayNode
Expand description

Get the default RelayNode for Asia-Pacific

+default_ap_relay_node in iroh::defaults::prod - Rust
iroh::defaults::prod

Function default_ap_relay_node

Source
pub fn default_ap_relay_node() -> RelayNode
Expand description

Get the default RelayNode for Asia-Pacific

\ No newline at end of file diff --git a/pr/2937/docs/iroh/defaults/prod/fn.default_eu_relay_node.html b/pr/2937/docs/iroh/defaults/prod/fn.default_eu_relay_node.html index d5a811227a..8d48b075b9 100644 --- a/pr/2937/docs/iroh/defaults/prod/fn.default_eu_relay_node.html +++ b/pr/2937/docs/iroh/defaults/prod/fn.default_eu_relay_node.html @@ -1,2 +1,2 @@ -default_eu_relay_node in iroh::defaults::prod - Rust
iroh::defaults::prod

Function default_eu_relay_node

Source
pub fn default_eu_relay_node() -> RelayNode
Expand description

Get the default RelayNode for EU.

+default_eu_relay_node in iroh::defaults::prod - Rust
iroh::defaults::prod

Function default_eu_relay_node

Source
pub fn default_eu_relay_node() -> RelayNode
Expand description

Get the default RelayNode for EU.

\ No newline at end of file diff --git a/pr/2937/docs/iroh/defaults/prod/fn.default_na_relay_node.html b/pr/2937/docs/iroh/defaults/prod/fn.default_na_relay_node.html index 677c32452c..a24ecfd1ac 100644 --- a/pr/2937/docs/iroh/defaults/prod/fn.default_na_relay_node.html +++ b/pr/2937/docs/iroh/defaults/prod/fn.default_na_relay_node.html @@ -1,2 +1,2 @@ -default_na_relay_node in iroh::defaults::prod - Rust
iroh::defaults::prod

Function default_na_relay_node

Source
pub fn default_na_relay_node() -> RelayNode
Expand description

Get the default RelayNode for NA.

+default_na_relay_node in iroh::defaults::prod - Rust
iroh::defaults::prod

Function default_na_relay_node

Source
pub fn default_na_relay_node() -> RelayNode
Expand description

Get the default RelayNode for NA.

\ No newline at end of file diff --git a/pr/2937/docs/iroh/defaults/prod/fn.default_relay_map.html b/pr/2937/docs/iroh/defaults/prod/fn.default_relay_map.html index dc1f544c82..bb2e5bc4b1 100644 --- a/pr/2937/docs/iroh/defaults/prod/fn.default_relay_map.html +++ b/pr/2937/docs/iroh/defaults/prod/fn.default_relay_map.html @@ -1,2 +1,2 @@ -default_relay_map in iroh::defaults::prod - Rust
iroh::defaults::prod

Function default_relay_map

Source
pub fn default_relay_map() -> RelayMap
Expand description

Get the default RelayMap.

+default_relay_map in iroh::defaults::prod - Rust
iroh::defaults::prod

Function default_relay_map

Source
pub fn default_relay_map() -> RelayMap
Expand description

Get the default RelayMap.

\ No newline at end of file diff --git a/pr/2937/docs/iroh/defaults/prod/index.html b/pr/2937/docs/iroh/defaults/prod/index.html index 2bc1ff095f..1908cef9f8 100644 --- a/pr/2937/docs/iroh/defaults/prod/index.html +++ b/pr/2937/docs/iroh/defaults/prod/index.html @@ -1,2 +1,2 @@ -iroh::defaults::prod - Rust
iroh::defaults

Module prod

Source
Expand description

Production configuration.

+iroh::defaults::prod - Rust
iroh::defaults

Module prod

Source
Expand description

Production configuration.

Constants§

Functions§

\ No newline at end of file diff --git a/pr/2937/docs/iroh/defaults/staging/constant.EU_RELAY_HOSTNAME.html b/pr/2937/docs/iroh/defaults/staging/constant.EU_RELAY_HOSTNAME.html index 60a8106e21..e8cf760a22 100644 --- a/pr/2937/docs/iroh/defaults/staging/constant.EU_RELAY_HOSTNAME.html +++ b/pr/2937/docs/iroh/defaults/staging/constant.EU_RELAY_HOSTNAME.html @@ -1,2 +1,2 @@ -EU_RELAY_HOSTNAME in iroh::defaults::staging - Rust
iroh::defaults::staging

Constant EU_RELAY_HOSTNAME

Source
pub const EU_RELAY_HOSTNAME: &str = "staging-euw1-1.relay.iroh.network.";
Expand description

Hostname of the default EU relay.

+EU_RELAY_HOSTNAME in iroh::defaults::staging - Rust
iroh::defaults::staging

Constant EU_RELAY_HOSTNAME

Source
pub const EU_RELAY_HOSTNAME: &str = "staging-euw1-1.relay.iroh.network.";
Expand description

Hostname of the default EU relay.

\ No newline at end of file diff --git a/pr/2937/docs/iroh/defaults/staging/constant.NA_RELAY_HOSTNAME.html b/pr/2937/docs/iroh/defaults/staging/constant.NA_RELAY_HOSTNAME.html index 16b8ad67d2..2c039ec543 100644 --- a/pr/2937/docs/iroh/defaults/staging/constant.NA_RELAY_HOSTNAME.html +++ b/pr/2937/docs/iroh/defaults/staging/constant.NA_RELAY_HOSTNAME.html @@ -1,2 +1,2 @@ -NA_RELAY_HOSTNAME in iroh::defaults::staging - Rust
iroh::defaults::staging

Constant NA_RELAY_HOSTNAME

Source
pub const NA_RELAY_HOSTNAME: &str = "staging-use1-1.relay.iroh.network.";
Expand description

Hostname of the default NA relay.

+NA_RELAY_HOSTNAME in iroh::defaults::staging - Rust
iroh::defaults::staging

Constant NA_RELAY_HOSTNAME

Source
pub const NA_RELAY_HOSTNAME: &str = "staging-use1-1.relay.iroh.network.";
Expand description

Hostname of the default NA relay.

\ No newline at end of file diff --git a/pr/2937/docs/iroh/defaults/staging/fn.default_eu_relay_node.html b/pr/2937/docs/iroh/defaults/staging/fn.default_eu_relay_node.html index 34a097c8b6..71e1e5166c 100644 --- a/pr/2937/docs/iroh/defaults/staging/fn.default_eu_relay_node.html +++ b/pr/2937/docs/iroh/defaults/staging/fn.default_eu_relay_node.html @@ -1,2 +1,2 @@ -default_eu_relay_node in iroh::defaults::staging - Rust
iroh::defaults::staging

Function default_eu_relay_node

Source
pub fn default_eu_relay_node() -> RelayNode
Expand description

Get the default RelayNode for EU.

+default_eu_relay_node in iroh::defaults::staging - Rust
iroh::defaults::staging

Function default_eu_relay_node

Source
pub fn default_eu_relay_node() -> RelayNode
Expand description

Get the default RelayNode for EU.

\ No newline at end of file diff --git a/pr/2937/docs/iroh/defaults/staging/fn.default_na_relay_node.html b/pr/2937/docs/iroh/defaults/staging/fn.default_na_relay_node.html index 9e621a8546..7f3ac608d9 100644 --- a/pr/2937/docs/iroh/defaults/staging/fn.default_na_relay_node.html +++ b/pr/2937/docs/iroh/defaults/staging/fn.default_na_relay_node.html @@ -1,2 +1,2 @@ -default_na_relay_node in iroh::defaults::staging - Rust
iroh::defaults::staging

Function default_na_relay_node

Source
pub fn default_na_relay_node() -> RelayNode
Expand description

Get the default RelayNode for NA.

+default_na_relay_node in iroh::defaults::staging - Rust
iroh::defaults::staging

Function default_na_relay_node

Source
pub fn default_na_relay_node() -> RelayNode
Expand description

Get the default RelayNode for NA.

\ No newline at end of file diff --git a/pr/2937/docs/iroh/defaults/staging/fn.default_relay_map.html b/pr/2937/docs/iroh/defaults/staging/fn.default_relay_map.html index 4df784a008..489dd99ee6 100644 --- a/pr/2937/docs/iroh/defaults/staging/fn.default_relay_map.html +++ b/pr/2937/docs/iroh/defaults/staging/fn.default_relay_map.html @@ -1,2 +1,2 @@ -default_relay_map in iroh::defaults::staging - Rust
iroh::defaults::staging

Function default_relay_map

Source
pub fn default_relay_map() -> RelayMap
Expand description

Get the default RelayMap.

+default_relay_map in iroh::defaults::staging - Rust
iroh::defaults::staging

Function default_relay_map

Source
pub fn default_relay_map() -> RelayMap
Expand description

Get the default RelayMap.

\ No newline at end of file diff --git a/pr/2937/docs/iroh/defaults/staging/index.html b/pr/2937/docs/iroh/defaults/staging/index.html index 33e051a46e..875852669c 100644 --- a/pr/2937/docs/iroh/defaults/staging/index.html +++ b/pr/2937/docs/iroh/defaults/staging/index.html @@ -1,4 +1,4 @@ -iroh::defaults::staging - Rust
iroh::defaults

Module staging

Source
Expand description

Staging configuration.

+iroh::defaults::staging - Rust
iroh::defaults

Module staging

Source
Expand description

Staging configuration.

Used by tests and might have incompatible changes deployed

Note: we have staging servers in EU and NA, but no corresponding staging server for AP at this time.

Constants§

Functions§

\ No newline at end of file diff --git a/pr/2937/docs/iroh/discovery/dns/constant.N0_DNS_NODE_ORIGIN_PROD.html b/pr/2937/docs/iroh/discovery/dns/constant.N0_DNS_NODE_ORIGIN_PROD.html index ff7f0a927b..152a73a783 100644 --- a/pr/2937/docs/iroh/discovery/dns/constant.N0_DNS_NODE_ORIGIN_PROD.html +++ b/pr/2937/docs/iroh/discovery/dns/constant.N0_DNS_NODE_ORIGIN_PROD.html @@ -1,2 +1,2 @@ -N0_DNS_NODE_ORIGIN_PROD in iroh::discovery::dns - Rust
iroh::discovery::dns

Constant N0_DNS_NODE_ORIGIN_PROD

Source
pub const N0_DNS_NODE_ORIGIN_PROD: &str = "dns.iroh.link";
Expand description

The n0 testing DNS node origin, for production.

+N0_DNS_NODE_ORIGIN_PROD in iroh::discovery::dns - Rust
iroh::discovery::dns

Constant N0_DNS_NODE_ORIGIN_PROD

Source
pub const N0_DNS_NODE_ORIGIN_PROD: &'static str;
Expand description

The n0 testing DNS node origin, for production.

\ No newline at end of file diff --git a/pr/2937/docs/iroh/discovery/dns/constant.N0_DNS_NODE_ORIGIN_STAGING.html b/pr/2937/docs/iroh/discovery/dns/constant.N0_DNS_NODE_ORIGIN_STAGING.html index 277aedc94e..e34ef2fd51 100644 --- a/pr/2937/docs/iroh/discovery/dns/constant.N0_DNS_NODE_ORIGIN_STAGING.html +++ b/pr/2937/docs/iroh/discovery/dns/constant.N0_DNS_NODE_ORIGIN_STAGING.html @@ -1,2 +1,2 @@ -N0_DNS_NODE_ORIGIN_STAGING in iroh::discovery::dns - Rust
iroh::discovery::dns

Constant N0_DNS_NODE_ORIGIN_STAGING

Source
pub const N0_DNS_NODE_ORIGIN_STAGING: &str = "staging-dns.iroh.link";
Expand description

The n0 testing DNS node origin, for testing.

+N0_DNS_NODE_ORIGIN_STAGING in iroh::discovery::dns - Rust
iroh::discovery::dns

Constant N0_DNS_NODE_ORIGIN_STAGING

Source
pub const N0_DNS_NODE_ORIGIN_STAGING: &'static str;
Expand description

The n0 testing DNS node origin, for testing.

\ No newline at end of file diff --git a/pr/2937/docs/iroh/discovery/dns/index.html b/pr/2937/docs/iroh/discovery/dns/index.html index e214b1bec8..98d1f1986f 100644 --- a/pr/2937/docs/iroh/discovery/dns/index.html +++ b/pr/2937/docs/iroh/discovery/dns/index.html @@ -1,2 +1,2 @@ -iroh::discovery::dns - Rust
iroh::discovery

Module dns

Source
Expand description

DNS node discovery for iroh

+iroh::discovery::dns - Rust
iroh::discovery

Module dns

Source
Expand description

DNS node discovery for iroh

Structs§

Constants§

\ No newline at end of file diff --git a/pr/2937/docs/iroh/discovery/dns/struct.DnsDiscovery.html b/pr/2937/docs/iroh/discovery/dns/struct.DnsDiscovery.html index 2a3d1a8457..a0da44e76c 100644 --- a/pr/2937/docs/iroh/discovery/dns/struct.DnsDiscovery.html +++ b/pr/2937/docs/iroh/discovery/dns/struct.DnsDiscovery.html @@ -1,4 +1,4 @@ -DnsDiscovery in iroh::discovery::dns - Rust
iroh::discovery::dns

Struct DnsDiscovery

Source
pub struct DnsDiscovery { /* private fields */ }
Expand description

DNS node discovery

+DnsDiscovery in iroh::discovery::dns - Rust
iroh::discovery::dns

Struct DnsDiscovery

Source
pub struct DnsDiscovery { /* private fields */ }
Expand description

DNS node discovery

When asked to resolve a NodeId, this service performs a lookup in the Domain Name System (DNS).

It uses the Endpoint’s DNS resolver to query for TXT records under the domain _iroh.<z32-node-id>.<origin-domain>:

@@ -15,14 +15,14 @@ The supported attributes are:

The DNS resolver defaults to using the nameservers configured on the host system, but can be changed with crate::endpoint::Builder::dns_resolver.

-

Implementations§

Source§

impl DnsDiscovery

Source

pub fn new(origin_domain: String) -> Self

Creates a new DNS discovery.

-
Source

pub fn n0_dns() -> Self

Creates a new DNS discovery using the iroh.link domain.

-

This uses the N0_DNS_NODE_ORIGIN_PROD domain.

+

Implementations§

Source§

impl DnsDiscovery

Source

pub fn new(origin_domain: String) -> Self

Creates a new DNS discovery.

+
Source

pub fn n0_dns() -> Self

Creates a new DNS discovery using the iroh.link domain.

+

This uses the N0_DNS_NODE_ORIGIN_PROD domain.

§Usage during tests
-

For testing it is possible to use the N0_DNS_NODE_ORIGIN_STAGING domain +

For testing it is possible to use the N0_DNS_NODE_ORIGIN_STAGING domain with DnsDiscovery::new. This would then use a hosted staging discovery service for testing purposes.

-

Trait Implementations§

Source§

impl Debug for DnsDiscovery

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Discovery for DnsDiscovery

Trait Implementations§

Source§

impl Debug for DnsDiscovery

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Discovery for DnsDiscovery

Source§

fn resolve( &self, ep: Endpoint, node_id: NodeId, diff --git a/pr/2937/docs/iroh/discovery/index.html b/pr/2937/docs/iroh/discovery/index.html index 3a821a33be..da6f8148a6 100644 --- a/pr/2937/docs/iroh/discovery/index.html +++ b/pr/2937/docs/iroh/discovery/index.html @@ -1,4 +1,4 @@ -iroh::discovery - Rust
iroh

Module discovery

Source
Expand description

Node address discovery.

+iroh::discovery - Rust
iroh

Module discovery

Source
Expand description

Node address discovery.

To connect to an iroh node a NodeAddr is needed, which may contain a RelayUrl or one or more direct addresses in addition to the NodeId.

Since there is a conversion from NodeId to NodeAddr, you can also use diff --git a/pr/2937/docs/iroh/discovery/local_swarm_discovery/constant.NAME.html b/pr/2937/docs/iroh/discovery/local_swarm_discovery/constant.NAME.html index 47d8f4229a..7bbaacda8a 100644 --- a/pr/2937/docs/iroh/discovery/local_swarm_discovery/constant.NAME.html +++ b/pr/2937/docs/iroh/discovery/local_swarm_discovery/constant.NAME.html @@ -1,4 +1,4 @@ -NAME in iroh::discovery::local_swarm_discovery - Rust

iroh::discovery::local_swarm_discovery

Constant NAME

Source
pub const NAME: &str = "local.swarm.discovery";
Available on crate feature discovery-local-network only.
Expand description

Name of this discovery service.

+NAME in iroh::discovery::local_swarm_discovery - Rust
iroh::discovery::local_swarm_discovery

Constant NAME

Source
pub const NAME: &str = "local.swarm.discovery";
Available on crate feature discovery-local-network only.
Expand description

Name of this discovery service.

Used as the provenance field in DiscoveryItems.

Used in the crate::endpoint::Source::Discovery enum variant as the name.

\ No newline at end of file diff --git a/pr/2937/docs/iroh/discovery/local_swarm_discovery/index.html b/pr/2937/docs/iroh/discovery/local_swarm_discovery/index.html index 8ba038768a..0b973f308f 100644 --- a/pr/2937/docs/iroh/discovery/local_swarm_discovery/index.html +++ b/pr/2937/docs/iroh/discovery/local_swarm_discovery/index.html @@ -1,4 +1,4 @@ -iroh::discovery::local_swarm_discovery - Rust
iroh::discovery

Module local_swarm_discovery

Source
Available on crate feature discovery-local-network only.
Expand description

A discovery service that uses an mdns-like service to discover local nodes.

+iroh::discovery::local_swarm_discovery - Rust
iroh::discovery

Module local_swarm_discovery

Source
Available on crate feature discovery-local-network only.
Expand description

A discovery service that uses an mdns-like service to discover local nodes.

This allows you to use an mdns-like swarm discovery service to find address information about nodes that are on your local network, no relay or outside internet needed. See the swarm-discovery crate for more details.

When LocalSwarmDiscovery is enabled, it’s possible to get a list of the locally discovered nodes by filtering a list of RemoteInfos.

diff --git a/pr/2937/docs/iroh/discovery/local_swarm_discovery/struct.LocalSwarmDiscovery.html b/pr/2937/docs/iroh/discovery/local_swarm_discovery/struct.LocalSwarmDiscovery.html index d5522a6536..499e1dd37d 100644 --- a/pr/2937/docs/iroh/discovery/local_swarm_discovery/struct.LocalSwarmDiscovery.html +++ b/pr/2937/docs/iroh/discovery/local_swarm_discovery/struct.LocalSwarmDiscovery.html @@ -1,4 +1,4 @@ -LocalSwarmDiscovery in iroh::discovery::local_swarm_discovery - Rust
iroh::discovery::local_swarm_discovery

Struct LocalSwarmDiscovery

Source
pub struct LocalSwarmDiscovery { /* private fields */ }
Available on crate feature discovery-local-network only.
Expand description

Discovery using swarm-discovery, a variation on mdns

+LocalSwarmDiscovery in iroh::discovery::local_swarm_discovery - Rust
iroh::discovery::local_swarm_discovery

Struct LocalSwarmDiscovery

Source
pub struct LocalSwarmDiscovery { /* private fields */ }
Available on crate feature discovery-local-network only.
Expand description

Discovery using swarm-discovery, a variation on mdns

Implementations§

Source§

impl LocalSwarmDiscovery

Source

pub fn new(node_id: NodeId) -> Result<Self>

Create a new LocalSwarmDiscovery Service.

This starts a [Discoverer] that broadcasts your addresses and receives addresses from other nodes in your local network.

§Errors
diff --git a/pr/2937/docs/iroh/discovery/pkarr/constant.DEFAULT_PKARR_TTL.html b/pr/2937/docs/iroh/discovery/pkarr/constant.DEFAULT_PKARR_TTL.html index afcb3d94e8..574abe3197 100644 --- a/pr/2937/docs/iroh/discovery/pkarr/constant.DEFAULT_PKARR_TTL.html +++ b/pr/2937/docs/iroh/discovery/pkarr/constant.DEFAULT_PKARR_TTL.html @@ -1,4 +1,4 @@ -DEFAULT_PKARR_TTL in iroh::discovery::pkarr - Rust
iroh::discovery::pkarr

Constant DEFAULT_PKARR_TTL

Source
pub const DEFAULT_PKARR_TTL: u32 = 30;
Expand description

Default TTL for the records in the pkarr signed packet.

+DEFAULT_PKARR_TTL in iroh::discovery::pkarr - Rust
iroh::discovery::pkarr

Constant DEFAULT_PKARR_TTL

Source
pub const DEFAULT_PKARR_TTL: u32 = 30;
Expand description

Default TTL for the records in the pkarr signed packet.

The Time To Live (TTL) tells DNS caches how long to store a record. It is ignored by the iroh-dns-server, e.g. as running on N0_DNS_PKARR_RELAY_PROD, as the home server keeps the records for the domain. When using the pkarr relay no DNS is involved and the diff --git a/pr/2937/docs/iroh/discovery/pkarr/constant.DEFAULT_REPUBLISH_INTERVAL.html b/pr/2937/docs/iroh/discovery/pkarr/constant.DEFAULT_REPUBLISH_INTERVAL.html index 33507a24c5..b16c0a0bb9 100644 --- a/pr/2937/docs/iroh/discovery/pkarr/constant.DEFAULT_REPUBLISH_INTERVAL.html +++ b/pr/2937/docs/iroh/discovery/pkarr/constant.DEFAULT_REPUBLISH_INTERVAL.html @@ -1,2 +1,2 @@ -DEFAULT_REPUBLISH_INTERVAL in iroh::discovery::pkarr - Rust

iroh::discovery::pkarr

Constant DEFAULT_REPUBLISH_INTERVAL

Source
pub const DEFAULT_REPUBLISH_INTERVAL: Duration;
Expand description

Interval in which to republish the node info even if unchanged: 5 minutes.

+DEFAULT_REPUBLISH_INTERVAL in iroh::discovery::pkarr - Rust
iroh::discovery::pkarr

Constant DEFAULT_REPUBLISH_INTERVAL

Source
pub const DEFAULT_REPUBLISH_INTERVAL: Duration;
Expand description

Interval in which to republish the node info even if unchanged: 5 minutes.

\ No newline at end of file diff --git a/pr/2937/docs/iroh/discovery/pkarr/constant.N0_DNS_PKARR_RELAY_PROD.html b/pr/2937/docs/iroh/discovery/pkarr/constant.N0_DNS_PKARR_RELAY_PROD.html index 84b1e7b043..54ccb20846 100644 --- a/pr/2937/docs/iroh/discovery/pkarr/constant.N0_DNS_PKARR_RELAY_PROD.html +++ b/pr/2937/docs/iroh/discovery/pkarr/constant.N0_DNS_PKARR_RELAY_PROD.html @@ -1,4 +1,4 @@ -N0_DNS_PKARR_RELAY_PROD in iroh::discovery::pkarr - Rust
iroh::discovery::pkarr

Constant N0_DNS_PKARR_RELAY_PROD

Source
pub const N0_DNS_PKARR_RELAY_PROD: &str = "https://dns.iroh.link/pkarr";
Expand description

The production pkarr relay run by number 0.

+N0_DNS_PKARR_RELAY_PROD in iroh::discovery::pkarr - Rust
iroh::discovery::pkarr

Constant N0_DNS_PKARR_RELAY_PROD

Source
pub const N0_DNS_PKARR_RELAY_PROD: &str = "https://dns.iroh.link/pkarr";
Expand description

The production pkarr relay run by number 0.

This server is both a pkarr relay server as well as a DNS resolver, see the module documentation. However it does not interact with the Mainline DHT, so is a more central service. It is a reliable service to use for node discovery.

diff --git a/pr/2937/docs/iroh/discovery/pkarr/constant.N0_DNS_PKARR_RELAY_STAGING.html b/pr/2937/docs/iroh/discovery/pkarr/constant.N0_DNS_PKARR_RELAY_STAGING.html index 14d5bf3299..3b9f89a9b5 100644 --- a/pr/2937/docs/iroh/discovery/pkarr/constant.N0_DNS_PKARR_RELAY_STAGING.html +++ b/pr/2937/docs/iroh/discovery/pkarr/constant.N0_DNS_PKARR_RELAY_STAGING.html @@ -1,4 +1,4 @@ -N0_DNS_PKARR_RELAY_STAGING in iroh::discovery::pkarr - Rust
iroh::discovery::pkarr

Constant N0_DNS_PKARR_RELAY_STAGING

Source
pub const N0_DNS_PKARR_RELAY_STAGING: &str = "https://staging-dns.iroh.link/pkarr";
Expand description

The testing pkarr relay run by number 0.

+N0_DNS_PKARR_RELAY_STAGING in iroh::discovery::pkarr - Rust
iroh::discovery::pkarr

Constant N0_DNS_PKARR_RELAY_STAGING

Source
pub const N0_DNS_PKARR_RELAY_STAGING: &str = "https://staging-dns.iroh.link/pkarr";
Expand description

The testing pkarr relay run by number 0.

This server operates similarly to N0_DNS_PKARR_RELAY_PROD but is not as reliable. It is meant for more experimental use and testing purposes.

\ No newline at end of file diff --git a/pr/2937/docs/iroh/discovery/pkarr/dht/index.html b/pr/2937/docs/iroh/discovery/pkarr/dht/index.html index 8e16de8201..b080e00020 100644 --- a/pr/2937/docs/iroh/discovery/pkarr/dht/index.html +++ b/pr/2937/docs/iroh/discovery/pkarr/dht/index.html @@ -1,4 +1,4 @@ -iroh::discovery::pkarr::dht - Rust
iroh::discovery::pkarr

Module dht

Source
Available on crate feature discovery-pkarr-dht only.
Expand description

Pkarr based node discovery for iroh, supporting both relay servers and the DHT.

+iroh::discovery::pkarr::dht - Rust
iroh::discovery::pkarr

Module dht

Source
Available on crate feature discovery-pkarr-dht only.
Expand description

Pkarr based node discovery for iroh, supporting both relay servers and the DHT.

This module contains pkarr-based node discovery for iroh which can use both pkarr relay servers as well as the Mainline DHT directly. See the pkarr module for an overview of pkarr.

diff --git a/pr/2937/docs/iroh/discovery/pkarr/dht/struct.Builder.html b/pr/2937/docs/iroh/discovery/pkarr/dht/struct.Builder.html index aecbc41870..706f0d5a44 100644 --- a/pr/2937/docs/iroh/discovery/pkarr/dht/struct.Builder.html +++ b/pr/2937/docs/iroh/discovery/pkarr/dht/struct.Builder.html @@ -1,4 +1,4 @@ -Builder in iroh::discovery::pkarr::dht - Rust
iroh::discovery::pkarr::dht

Struct Builder

Source
pub struct Builder { /* private fields */ }
Available on crate feature discovery-pkarr-dht only.
Expand description

Builder for DhtDiscovery.

+Builder in iroh::discovery::pkarr::dht - Rust
iroh::discovery::pkarr::dht

Struct Builder

Source
pub struct Builder { /* private fields */ }
Available on crate feature discovery-pkarr-dht only.
Expand description

Builder for DhtDiscovery.

By default, publishing to the DHT is enabled, and relay publishing is disabled.

Implementations§

Source§

impl Builder

Source

pub fn client(self, client: PkarrClient) -> Self

Explicitly sets the pkarr client to use.

Source

pub fn secret_key(self, secret_key: SecretKey) -> Self

Sets the secret key to use for signing the DNS packets.

diff --git a/pr/2937/docs/iroh/discovery/pkarr/dht/struct.DhtDiscovery.html b/pr/2937/docs/iroh/discovery/pkarr/dht/struct.DhtDiscovery.html index 08f1d205a5..70fc643cd1 100644 --- a/pr/2937/docs/iroh/discovery/pkarr/dht/struct.DhtDiscovery.html +++ b/pr/2937/docs/iroh/discovery/pkarr/dht/struct.DhtDiscovery.html @@ -1,4 +1,4 @@ -DhtDiscovery in iroh::discovery::pkarr::dht - Rust
iroh::discovery::pkarr::dht

Struct DhtDiscovery

Source
pub struct DhtDiscovery(/* private fields */);
Available on crate feature discovery-pkarr-dht only.
Expand description

Pkarr Mainline DHT and relay server node discovery.

+DhtDiscovery in iroh::discovery::pkarr::dht - Rust
iroh::discovery::pkarr::dht

Struct DhtDiscovery

Source
pub struct DhtDiscovery(/* private fields */);
Available on crate feature discovery-pkarr-dht only.
Expand description

Pkarr Mainline DHT and relay server node discovery.

It stores node addresses in DNS records, signed by the node’s private key, and publishes them to the BitTorrent Mainline DHT. See the pkarr module for more details.

This implements the Discovery trait to be used as a node discovery service which can diff --git a/pr/2937/docs/iroh/discovery/pkarr/index.html b/pr/2937/docs/iroh/discovery/pkarr/index.html index 2f4bd59e7b..c5783d9206 100644 --- a/pr/2937/docs/iroh/discovery/pkarr/index.html +++ b/pr/2937/docs/iroh/discovery/pkarr/index.html @@ -1,4 +1,4 @@ -iroh::discovery::pkarr - Rust

iroh::discovery

Module pkarr

Source
Expand description

A discovery service which publishes and resolves node information using a pkarr relay.

+iroh::discovery::pkarr - Rust
iroh::discovery

Module pkarr

Source
Expand description

A discovery service which publishes and resolves node information using a pkarr relay.

Public-Key Addressable Resource Records, pkarr, is a system which allows publishing DNS Resource Records owned by a particular SecretKey under a name derived from its corresponding PublicKey, also known as the NodeId. Additionally this pkarr diff --git a/pr/2937/docs/iroh/discovery/pkarr/struct.PkarrPublisher.html b/pr/2937/docs/iroh/discovery/pkarr/struct.PkarrPublisher.html index 9bc33306b0..d93b0b4f1d 100644 --- a/pr/2937/docs/iroh/discovery/pkarr/struct.PkarrPublisher.html +++ b/pr/2937/docs/iroh/discovery/pkarr/struct.PkarrPublisher.html @@ -1,4 +1,4 @@ -PkarrPublisher in iroh::discovery::pkarr - Rust

iroh::discovery::pkarr

Struct PkarrPublisher

Source
pub struct PkarrPublisher { /* private fields */ }
Expand description

Publisher of node discovery information to a pkarr relay.

+PkarrPublisher in iroh::discovery::pkarr - Rust
iroh::discovery::pkarr

Struct PkarrPublisher

Source
pub struct PkarrPublisher { /* private fields */ }
Expand description

Publisher of node discovery information to a pkarr relay.

This publisher uses HTTP to publish node discovery information to a pkarr relay server, see the module docs for details.

This implements the Discovery trait to be used as a node discovery service. Note diff --git a/pr/2937/docs/iroh/discovery/pkarr/struct.PkarrRelayClient.html b/pr/2937/docs/iroh/discovery/pkarr/struct.PkarrRelayClient.html index b6126c736d..0742fc9654 100644 --- a/pr/2937/docs/iroh/discovery/pkarr/struct.PkarrRelayClient.html +++ b/pr/2937/docs/iroh/discovery/pkarr/struct.PkarrRelayClient.html @@ -1,4 +1,4 @@ -PkarrRelayClient in iroh::discovery::pkarr - Rust

iroh::discovery::pkarr

Struct PkarrRelayClient

Source
pub struct PkarrRelayClient { /* private fields */ }
Expand description

A pkarr client to publish [pkarr::SignedPacket]s to a pkarr relay.

+PkarrRelayClient in iroh::discovery::pkarr - Rust
iroh::discovery::pkarr

Struct PkarrRelayClient

Source
pub struct PkarrRelayClient { /* private fields */ }
Expand description

A pkarr client to publish [pkarr::SignedPacket]s to a pkarr relay.

Implementations§

Source§

impl PkarrRelayClient

Source

pub fn new(pkarr_relay_url: Url) -> Self

Creates a new client.

Source

pub async fn resolve(&self, node_id: NodeId) -> Result<SignedPacket>

Resolves a [SignedPacket] for the given NodeId.

Source

pub async fn publish(&self, signed_packet: &SignedPacket) -> Result<()>

Publishes a [SignedPacket].

diff --git a/pr/2937/docs/iroh/discovery/pkarr/struct.PkarrResolver.html b/pr/2937/docs/iroh/discovery/pkarr/struct.PkarrResolver.html index 86d2d20039..121f9fbbec 100644 --- a/pr/2937/docs/iroh/discovery/pkarr/struct.PkarrResolver.html +++ b/pr/2937/docs/iroh/discovery/pkarr/struct.PkarrResolver.html @@ -1,4 +1,4 @@ -PkarrResolver in iroh::discovery::pkarr - Rust
iroh::discovery::pkarr

Struct PkarrResolver

Source
pub struct PkarrResolver { /* private fields */ }
Expand description

Resolver of node discovery information from a pkarr relay.

+PkarrResolver in iroh::discovery::pkarr - Rust
iroh::discovery::pkarr

Struct PkarrResolver

Source
pub struct PkarrResolver { /* private fields */ }
Expand description

Resolver of node discovery information from a pkarr relay.

The resolver uses HTTP to query node discovery information from a pkarr relay server, see the module docs for details.

This implements the Discovery trait to be used as a node discovery service. Note diff --git a/pr/2937/docs/iroh/discovery/static_provider/index.html b/pr/2937/docs/iroh/discovery/static_provider/index.html index e903791817..936a95f21e 100644 --- a/pr/2937/docs/iroh/discovery/static_provider/index.html +++ b/pr/2937/docs/iroh/discovery/static_provider/index.html @@ -1,4 +1,4 @@ -iroh::discovery::static_provider - Rust

iroh::discovery

Module static_provider

Source
Expand description

A static node discovery to manually add node addressing information.

+iroh::discovery::static_provider - Rust
iroh::discovery

Module static_provider

Source
Expand description

A static node discovery to manually add node addressing information.

Often an application might get node addressing information out-of-band in an application-specific way. NodeTicket’s are one common way used to achieve this. This “static” addressing information is often only usable for a limited time so needs to diff --git a/pr/2937/docs/iroh/discovery/static_provider/struct.StaticProvider.html b/pr/2937/docs/iroh/discovery/static_provider/struct.StaticProvider.html index d2f24e76f8..dc78bb282c 100644 --- a/pr/2937/docs/iroh/discovery/static_provider/struct.StaticProvider.html +++ b/pr/2937/docs/iroh/discovery/static_provider/struct.StaticProvider.html @@ -1,4 +1,4 @@ -StaticProvider in iroh::discovery::static_provider - Rust

iroh::discovery::static_provider

Struct StaticProvider

Source
pub struct StaticProvider { /* private fields */ }
Expand description

A static node discovery to manually add node addressing information.

+StaticProvider in iroh::discovery::static_provider - Rust
iroh::discovery::static_provider

Struct StaticProvider

Source
pub struct StaticProvider { /* private fields */ }
Expand description

A static node discovery to manually add node addressing information.

Often an application might get node addressing information out-of-band in an application-specific way. NodeTicket’s are one common way used to achieve this. This “static” addressing information is often only usable for a limited time so needs to diff --git a/pr/2937/docs/iroh/discovery/struct.ConcurrentDiscovery.html b/pr/2937/docs/iroh/discovery/struct.ConcurrentDiscovery.html index 0b8dfff5e2..c6a5278d37 100644 --- a/pr/2937/docs/iroh/discovery/struct.ConcurrentDiscovery.html +++ b/pr/2937/docs/iroh/discovery/struct.ConcurrentDiscovery.html @@ -1,4 +1,4 @@ -ConcurrentDiscovery in iroh::discovery - Rust

iroh::discovery

Struct ConcurrentDiscovery

Source
pub struct ConcurrentDiscovery { /* private fields */ }
Expand description

A discovery service that combines multiple discovery sources.

+ConcurrentDiscovery in iroh::discovery - Rust
iroh::discovery

Struct ConcurrentDiscovery

Source
pub struct ConcurrentDiscovery { /* private fields */ }
Expand description

A discovery service that combines multiple discovery sources.

The discovery services will resolve concurrently.

Implementations§

Source§

impl ConcurrentDiscovery

Source

pub fn empty() -> Self

Creates an empty ConcurrentDiscovery.

Source

pub fn from_services(services: Vec<Box<dyn Discovery>>) -> Self

Creates a new ConcurrentDiscovery.

diff --git a/pr/2937/docs/iroh/discovery/struct.DiscoveryItem.html b/pr/2937/docs/iroh/discovery/struct.DiscoveryItem.html index f665c9bc7c..e05228110a 100644 --- a/pr/2937/docs/iroh/discovery/struct.DiscoveryItem.html +++ b/pr/2937/docs/iroh/discovery/struct.DiscoveryItem.html @@ -1,4 +1,4 @@ -DiscoveryItem in iroh::discovery - Rust
iroh::discovery

Struct DiscoveryItem

Source
pub struct DiscoveryItem {
+DiscoveryItem in iroh::discovery - Rust
iroh::discovery

Struct DiscoveryItem

Source
pub struct DiscoveryItem {
     pub node_addr: NodeAddr,
     pub provenance: &'static str,
     pub last_updated: Option<u64>,
diff --git a/pr/2937/docs/iroh/discovery/trait.Discovery.html b/pr/2937/docs/iroh/discovery/trait.Discovery.html
index 18c271be56..134094b101 100644
--- a/pr/2937/docs/iroh/discovery/trait.Discovery.html
+++ b/pr/2937/docs/iroh/discovery/trait.Discovery.html
@@ -1,4 +1,4 @@
-Discovery in iroh::discovery - Rust
iroh::discovery

Trait Discovery

Source
pub trait Discovery:
+Discovery in iroh::discovery - Rust
iroh::discovery

Trait Discovery

Source
pub trait Discovery:
     Debug
     + Send
     + Sync {
@@ -50,4 +50,4 @@ should be sent on all streams.

The crate::endpoint::Endpoint will subscribe to the discovery system and add the discovered addresses to the internal address book as they arrive on this stream.

-

Implementations on Foreign Types§

Source§

impl<T: Discovery> Discovery for Arc<T>

Implementors§

Source§

impl Discovery for DnsDiscovery

Source§

impl Discovery for LocalSwarmDiscovery

Available on crate feature discovery-local-network only.
Source§

impl Discovery for DhtDiscovery

Available on crate feature discovery-pkarr-dht only.
Source§

impl Discovery for PkarrPublisher

Source§

impl Discovery for PkarrResolver

Source§

impl Discovery for StaticProvider

Source§

impl Discovery for ConcurrentDiscovery

\ No newline at end of file +

Implementations on Foreign Types§

Source§

impl<T: Discovery> Discovery for Arc<T>

Implementors§

Source§

impl Discovery for DnsDiscovery

Source§

impl Discovery for LocalSwarmDiscovery

Available on crate feature discovery-local-network only.
Source§

impl Discovery for DhtDiscovery

Available on crate feature discovery-pkarr-dht only.
Source§

impl Discovery for PkarrPublisher

Source§

impl Discovery for PkarrResolver

Source§

impl Discovery for StaticProvider

Source§

impl Discovery for ConcurrentDiscovery

\ No newline at end of file diff --git a/pr/2937/docs/iroh/dns/constant.N0_DNS_NODE_ORIGIN_PROD.html b/pr/2937/docs/iroh/dns/constant.N0_DNS_NODE_ORIGIN_PROD.html new file mode 100644 index 0000000000..4f89ec6324 --- /dev/null +++ b/pr/2937/docs/iroh/dns/constant.N0_DNS_NODE_ORIGIN_PROD.html @@ -0,0 +1,2 @@ +N0_DNS_NODE_ORIGIN_PROD in iroh::dns - Rust
iroh::dns

Constant N0_DNS_NODE_ORIGIN_PROD

Source
pub const N0_DNS_NODE_ORIGIN_PROD: &'static str;
Expand description

The n0 testing DNS node origin, for production.

+
\ No newline at end of file diff --git a/pr/2937/docs/iroh/dns/constant.N0_DNS_NODE_ORIGIN_STAGING.html b/pr/2937/docs/iroh/dns/constant.N0_DNS_NODE_ORIGIN_STAGING.html new file mode 100644 index 0000000000..8a5778085b --- /dev/null +++ b/pr/2937/docs/iroh/dns/constant.N0_DNS_NODE_ORIGIN_STAGING.html @@ -0,0 +1,2 @@ +N0_DNS_NODE_ORIGIN_STAGING in iroh::dns - Rust
iroh::dns

Constant N0_DNS_NODE_ORIGIN_STAGING

Source
pub const N0_DNS_NODE_ORIGIN_STAGING: &'static str;
Expand description

The n0 testing DNS node origin, for testing.

+
\ No newline at end of file diff --git a/pr/2937/docs/iroh/dns/fn.default_resolver.html b/pr/2937/docs/iroh/dns/fn.default_resolver.html deleted file mode 100644 index 9539501dc7..0000000000 --- a/pr/2937/docs/iroh/dns/fn.default_resolver.html +++ /dev/null @@ -1,4 +0,0 @@ -default_resolver in iroh::dns - Rust
iroh::dns

Function default_resolver

Source
pub fn default_resolver() -> &'static DnsResolver
Expand description

Get a reference to the default DNS resolver.

-

The default resolver can be cheaply cloned and is shared throughout the running process. -It is configured to use the system’s DNS configuration.

-
\ No newline at end of file diff --git a/pr/2937/docs/iroh/dns/fn.resolver.html b/pr/2937/docs/iroh/dns/fn.resolver.html deleted file mode 100644 index 0720cd0f77..0000000000 --- a/pr/2937/docs/iroh/dns/fn.resolver.html +++ /dev/null @@ -1,2 +0,0 @@ -resolver in iroh::dns - Rust
iroh::dns

Function resolver

Source
pub fn resolver() -> &'static TokioResolver
Expand description

Get the DNS resolver used within iroh.

-
\ No newline at end of file diff --git a/pr/2937/docs/iroh/dns/index.html b/pr/2937/docs/iroh/dns/index.html index 16a3293004..9c9eb92ded 100644 --- a/pr/2937/docs/iroh/dns/index.html +++ b/pr/2937/docs/iroh/dns/index.html @@ -1,6 +1,7 @@ -iroh::dns - Rust
iroh

Module dns

Source
Expand description

This module exports a DNS resolver, which is also the default resolver used in the +iroh::dns - Rust

iroh

Module dns

Source
Expand description

This module exports a DNS resolver, which is also the default resolver used in the crate::Endpoint if no custom resolver is configured.

-

It also exports ResolverExt: A extension trait over DnsResolver to perform DNS queries -by ipv4, ipv6, name and node_id. See the node_info module documentation for details on how +

The resolver provides methods to resolve domain names to ipv4 and ipv6 addresses, +and to resolve node ids to node addresses.

+

See the node_info module documentation for details on how iroh node records are structured.

-

Modules§

Traits§

Functions§

Type Aliases§

\ No newline at end of file +

Modules§

Structs§

Constants§

\ No newline at end of file diff --git a/pr/2937/docs/iroh/dns/node_info/constant.IROH_TXT_NAME.html b/pr/2937/docs/iroh/dns/node_info/constant.IROH_TXT_NAME.html index be64f3aa3e..dc7484136f 100644 --- a/pr/2937/docs/iroh/dns/node_info/constant.IROH_TXT_NAME.html +++ b/pr/2937/docs/iroh/dns/node_info/constant.IROH_TXT_NAME.html @@ -1,2 +1,2 @@ -IROH_TXT_NAME in iroh::dns::node_info - Rust
iroh::dns::node_info

Constant IROH_TXT_NAME

Source
pub const IROH_TXT_NAME: &str = "_iroh";
Expand description

The DNS name for the iroh TXT record.

+IROH_TXT_NAME in iroh::dns::node_info - Rust
iroh::dns::node_info

Constant IROH_TXT_NAME

Source
pub const IROH_TXT_NAME: &'static str;
Expand description

The DNS name for the iroh TXT record.

\ No newline at end of file diff --git a/pr/2937/docs/iroh/dns/node_info/enum.IrohAttr.html b/pr/2937/docs/iroh/dns/node_info/enum.IrohAttr.html deleted file mode 100644 index 6bfc956d18..0000000000 --- a/pr/2937/docs/iroh/dns/node_info/enum.IrohAttr.html +++ /dev/null @@ -1,48 +0,0 @@ -IrohAttr in iroh::dns::node_info - Rust
iroh::dns::node_info

Enum IrohAttr

Source
pub enum IrohAttr {
-    Relay,
-    Addr,
-}
Expand description

The attributes supported by iroh for IROH_TXT_NAME DNS resource records.

-

The resource record uses the lower-case names.

-

Variants§

§

Relay

URL of home relay.

-
§

Addr

Direct address.

-

Trait Implementations§

Source§

impl AsRef<str> for IrohAttr

Source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl Debug for IrohAttr

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for IrohAttr

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl FromStr for IrohAttr

Source§

type Err = ParseError

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<IrohAttr, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for IrohAttr

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Ord for IrohAttr

Source§

fn cmp(&self, other: &IrohAttr) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where - Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for IrohAttr

Source§

fn eq(&self, other: &IrohAttr) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
Source§

impl PartialOrd for IrohAttr

Source§

fn partial_cmp(&self, other: &IrohAttr) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > -operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
Source§

impl TryFrom<&str> for IrohAttr

Source§

type Error = ParseError

The type returned in the event of a conversion error.
Source§

fn try_from(s: &str) -> Result<IrohAttr, <Self as TryFrom<&str>>::Error>

Performs the conversion.
Source§

impl Eq for IrohAttr

Source§

impl StructuralPartialEq for IrohAttr

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where - T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where - T: 'a,

§

fn implicit( - self, - class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Q, K> Comparable<K> for Q
where - Q: Ord + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Q
where - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an -Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

-

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToString for T
where - T: Display + ?Sized,

Source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where - V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where - T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/2937/docs/iroh/dns/node_info/fn.from_z32.html b/pr/2937/docs/iroh/dns/node_info/fn.from_z32.html deleted file mode 100644 index 8d3a4750c1..0000000000 --- a/pr/2937/docs/iroh/dns/node_info/fn.from_z32.html +++ /dev/null @@ -1,2 +0,0 @@ -from_z32 in iroh::dns::node_info - Rust
iroh::dns::node_info

Function from_z32

Source
pub fn from_z32(s: &str) -> Result<NodeId>
Expand description

Parses a NodeId from [z-base-32] encoding.

-
\ No newline at end of file diff --git a/pr/2937/docs/iroh/dns/node_info/fn.to_z32.html b/pr/2937/docs/iroh/dns/node_info/fn.to_z32.html deleted file mode 100644 index 47992aae5a..0000000000 --- a/pr/2937/docs/iroh/dns/node_info/fn.to_z32.html +++ /dev/null @@ -1,2 +0,0 @@ -to_z32 in iroh::dns::node_info - Rust
iroh::dns::node_info

Function to_z32

Source
pub fn to_z32(node_id: &NodeId) -> String
Expand description

Encodes a NodeId in [z-base-32] encoding.

-
\ No newline at end of file diff --git a/pr/2937/docs/iroh/dns/node_info/index.html b/pr/2937/docs/iroh/dns/node_info/index.html index 76bb700774..56a8779d66 100644 --- a/pr/2937/docs/iroh/dns/node_info/index.html +++ b/pr/2937/docs/iroh/dns/node_info/index.html @@ -1,4 +1,4 @@ -iroh::dns::node_info - Rust
iroh::dns

Module node_info

Source
Expand description

Support for handling DNS resource records for dialing by NodeId.

+iroh::dns::node_info - Rust
iroh::dns

Module node_info

Source
Expand description

Support for handling DNS resource records for dialing by NodeId.

Dialing by NodeId is supported by iroh nodes publishing Pkarr records to DNS servers or the Mainline DHT. This module supports creating and parsing these records.

DNS records are published under the following names:

@@ -12,8 +12,8 @@ servers or the Mainline DHT. This module supports creating and parsing these re
  • <origin-domain> is the domain name of the publishing DNS server, -N0_DNS_NODE_ORIGIN_PROD is the server operated by number0 for production. -N0_DNS_NODE_ORIGIN_STAGING is the server operated by number0 for testing.

    +N0_DNS_NODE_ORIGIN_PROD is the server operated by number0 for production. +N0_DNS_NODE_ORIGIN_STAGING is the server operated by number0 for testing.

  • TXT is the DNS record type.

    @@ -30,4 +30,5 @@ in RFC1464. The following Each address is an IPv4 or IPv6 address with a port.

  • -

    Structs§

    Enums§

    Constants§

    Functions§

    \ No newline at end of file +

    Structs§

    Constants§

    Traits§

    • Extension methods for NodeId to encode to and decode from [z32], +which is the encoding used in [pkarr] domain names.
    \ No newline at end of file diff --git a/pr/2937/docs/iroh/dns/node_info/sidebar-items.js b/pr/2937/docs/iroh/dns/node_info/sidebar-items.js index 94bdeea4ac..38b541dbae 100644 --- a/pr/2937/docs/iroh/dns/node_info/sidebar-items.js +++ b/pr/2937/docs/iroh/dns/node_info/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"constant":["IROH_TXT_NAME"],"enum":["IrohAttr"],"fn":["from_z32","to_z32"],"struct":["NodeInfo","TxtAttrs"]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"constant":["IROH_TXT_NAME"],"struct":["NodeInfo"],"trait":["NodeIdExt"]}; \ No newline at end of file diff --git a/pr/2937/docs/iroh/dns/node_info/struct.NodeInfo.html b/pr/2937/docs/iroh/dns/node_info/struct.NodeInfo.html index 463cb04075..7e317a8c74 100644 --- a/pr/2937/docs/iroh/dns/node_info/struct.NodeInfo.html +++ b/pr/2937/docs/iroh/dns/node_info/struct.NodeInfo.html @@ -1,31 +1,29 @@ -NodeInfo in iroh::dns::node_info - Rust
    iroh::dns::node_info

    Struct NodeInfo

    Source
    pub struct NodeInfo {
    -    pub node_id: NodeId,
    +NodeInfo in iroh::dns::node_info - Rust
    iroh::dns::node_info

    Struct NodeInfo

    Source
    pub struct NodeInfo {
    +    pub node_id: PublicKey,
         pub relay_url: Option<Url>,
         pub direct_addresses: BTreeSet<SocketAddr>,
     }
    Expand description

    Information about the iroh node contained in an IROH_TXT_NAME TXT resource record.

    -

    Fields§

    §node_id: NodeId

    The NodeId.

    +

    Fields§

    §node_id: PublicKey

    The NodeId.

    §relay_url: Option<Url>

    The advertised home relay server.

    §direct_addresses: BTreeSet<SocketAddr>

    Any direct addresses.

    -

    Implementations§

    Source§

    impl NodeInfo

    Source

    pub fn new( - node_id: NodeId, +

    Implementations§

    Source§

    impl NodeInfo

    Source

    pub fn new( + node_id: PublicKey, relay_url: Option<Url>, direct_addresses: BTreeSet<SocketAddr>, -) -> Self

    Creates a new NodeInfo from its parts.

    -
    Source

    pub fn from_hickory_lookup(lookup: TxtLookup) -> Result<Self>

    Parses a NodeInfo from a TXT records lookup.

    -
    Source

    pub fn from_pkarr_signed_packet(packet: &SignedPacket) -> Result<Self>

    Parses a NodeInfo from a [pkarr::SignedPacket].

    -
    Source

    pub fn to_pkarr_signed_packet( +) -> NodeInfo

    Creates a new NodeInfo from its parts.

    +
    Source

    pub fn from_txt_lookup(lookup: TxtLookup) -> Result<NodeInfo, Error>

    Parses a NodeInfo from a TXT records lookup.

    +
    Source

    pub fn from_pkarr_signed_packet( + packet: &SignedPacket, +) -> Result<NodeInfo, Error>

    Parses a NodeInfo from a [pkarr::SignedPacket].

    +
    Source

    pub fn to_pkarr_signed_packet( &self, secret_key: &SecretKey, ttl: u32, -) -> Result<SignedPacket>

    Creates a [pkarr::SignedPacket].

    +) -> Result<SignedPacket, Error>

    Creates a [pkarr::SignedPacket].

    This constructs a DNS packet and signs it with a SecretKey.

    -
    Source

    pub fn to_hickory_records( - &self, - origin: &str, - ttl: u32, -) -> Result<impl Iterator<Item = Record> + 'static>

    Converts into a [hickory_resolver::proto::rr::Record] DNS record.

    -

    Trait Implementations§

    Source§

    impl Clone for NodeInfo

    Source§

    fn clone(&self) -> NodeInfo

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for NodeInfo

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<&NodeInfo> for TxtAttrs<IrohAttr>

    Source§

    fn from(info: &NodeInfo) -> Self

    Converts to this type from the input type.
    Source§

    impl From<&TxtAttrs<IrohAttr>> for NodeInfo

    Source§

    fn from(attrs: &TxtAttrs<IrohAttr>) -> Self

    Converts to this type from the input type.
    Source§

    impl From<NodeInfo> for NodeAddr

    Source§

    fn from(value: NodeInfo) -> Self

    Converts to this type from the input type.
    Source§

    impl From<TxtAttrs<IrohAttr>> for NodeInfo

    Source§

    fn from(attrs: TxtAttrs<IrohAttr>) -> Self

    Converts to this type from the input type.
    Source§

    impl PartialEq for NodeInfo

    Source§

    fn eq(&self, other: &NodeInfo) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl Eq for NodeInfo

    Source§

    impl StructuralPartialEq for NodeInfo

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Source

    pub fn to_txt_strings(&self) -> Vec<String>

    Converts into a list of {key}={value} strings.

    +

    Trait Implementations§

    Source§

    impl Clone for NodeInfo

    Source§

    fn clone(&self) -> NodeInfo

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for NodeInfo

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl From<&TxtAttrs<IrohAttr>> for NodeInfo

    Source§

    fn from(attrs: &TxtAttrs<IrohAttr>) -> NodeInfo

    Converts to this type from the input type.
    Source§

    impl From<NodeInfo> for NodeAddr

    Source§

    fn from(value: NodeInfo) -> NodeAddr

    Converts to this type from the input type.
    Source§

    impl From<TxtAttrs<IrohAttr>> for NodeInfo

    Source§

    fn from(attrs: TxtAttrs<IrohAttr>) -> NodeInfo

    Converts to this type from the input type.
    Source§

    impl PartialEq for NodeInfo

    Source§

    fn eq(&self, other: &NodeInfo) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Eq for NodeInfo

    Source§

    impl StructuralPartialEq for NodeInfo

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -41,7 +39,7 @@ and should not be overridden without very good reason.

    Eq + ?Sized, K: Borrow<Q> + ?Sized,
    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Q
    where Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + K: Borrow<Q> + ?Sized,
    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> FromRef<T> for T
    where T: Clone,

    §

    fn from_ref(input: &T) -> T

    Converts to this type from a reference to the input type.
    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an diff --git a/pr/2937/docs/iroh/dns/node_info/struct.TxtAttrs.html b/pr/2937/docs/iroh/dns/node_info/struct.TxtAttrs.html deleted file mode 100644 index 72dfa238ab..0000000000 --- a/pr/2937/docs/iroh/dns/node_info/struct.TxtAttrs.html +++ /dev/null @@ -1,65 +0,0 @@ -TxtAttrs in iroh::dns::node_info - Rust
    iroh::dns::node_info

    Struct TxtAttrs

    Source
    pub struct TxtAttrs<T> { /* private fields */ }
    Expand description

    Attributes parsed from IROH_TXT_NAME TXT records.

    -

    This struct is generic over the key type. When using with String, this will parse -all attributes. Can also be used with an enum, if it implements FromStr and -Display.

    -

    Implementations§

    Source§

    impl<T: FromStr + Display + Hash + Ord> TxtAttrs<T>

    Source

    pub fn from_parts( - node_id: NodeId, - pairs: impl Iterator<Item = (T, String)>, -) -> Self

    Creates TxtAttrs from a node id and an iterator of key-value pairs.

    -
    Source

    pub fn from_strings( - node_id: NodeId, - strings: impl Iterator<Item = String>, -) -> Result<Self>

    Creates TxtAttrs from a node id and an iterator of “{key}={value}” strings.

    -
    Source

    pub async fn lookup_by_id( - resolver: &TokioResolver, - node_id: &NodeId, - origin: &str, -) -> Result<Self>

    Looks up attributes by NodeId and origin domain.

    -
    Source

    pub async fn lookup_by_name( - resolver: &TokioResolver, - name: &str, -) -> Result<Self>

    Looks up attributes by DNS name.

    -
    Source

    pub fn attrs(&self) -> &BTreeMap<T, Vec<String>>

    Returns the parsed attributes.

    -
    Source

    pub fn node_id(&self) -> NodeId

    Returns the node id.

    -
    Source

    pub fn from_pkarr_signed_packet(packet: &SignedPacket) -> Result<Self>

    Parses a [pkarr::SignedPacket].

    -
    Source

    pub fn from_hickory_lookup(lookup: TxtLookup) -> Result<Self>

    Parses a TXT records lookup.

    -
    Source

    pub fn to_hickory_records( - &self, - origin: &str, - ttl: u32, -) -> Result<impl Iterator<Item = Record> + '_>

    Converts to a list of [hickory_resolver::proto::rr::Record] resource records.

    -
    Source

    pub fn to_pkarr_signed_packet( - &self, - secret_key: &SecretKey, - ttl: u32, -) -> Result<SignedPacket>

    Creates a [pkarr::SignedPacket]

    -

    This constructs a DNS packet and signs it with a SecretKey.

    -

    Trait Implementations§

    Source§

    impl<T: Debug> Debug for TxtAttrs<T>

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<&NodeInfo> for TxtAttrs<IrohAttr>

    Source§

    fn from(info: &NodeInfo) -> Self

    Converts to this type from the input type.
    Source§

    impl From<&TxtAttrs<IrohAttr>> for NodeInfo

    Source§

    fn from(attrs: &TxtAttrs<IrohAttr>) -> Self

    Converts to this type from the input type.
    Source§

    impl From<TxtAttrs<IrohAttr>> for NodeInfo

    Source§

    fn from(attrs: TxtAttrs<IrohAttr>) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl<T> Freeze for TxtAttrs<T>

    §

    impl<T> RefUnwindSafe for TxtAttrs<T>
    where - T: RefUnwindSafe,

    §

    impl<T> Send for TxtAttrs<T>
    where - T: Send,

    §

    impl<T> Sync for TxtAttrs<T>
    where - T: Sync,

    §

    impl<T> Unpin for TxtAttrs<T>

    §

    impl<T> UnwindSafe for TxtAttrs<T>
    where - T: RefUnwindSafe,

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where - T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where - T: 'a,

    §

    fn implicit( - self, - class: Class, - constructed: bool, - tag: u32, -) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an -Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    -

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = _

    The alignment of pointer.
    §

    type Init = T

    The type for initializers.
    §

    unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more
    §

    unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more
    §

    unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more
    §

    unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where - V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    impl<T> ErasedDestructor for T
    where - T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh/dns/node_info/trait.NodeIdExt.html b/pr/2937/docs/iroh/dns/node_info/trait.NodeIdExt.html new file mode 100644 index 0000000000..997c53b1d6 --- /dev/null +++ b/pr/2937/docs/iroh/dns/node_info/trait.NodeIdExt.html @@ -0,0 +1,9 @@ +NodeIdExt in iroh::dns::node_info - Rust
    iroh::dns::node_info

    Trait NodeIdExt

    Source
    pub trait NodeIdExt {
    +    // Required methods
    +    fn to_z32(&self) -> String;
    +    fn from_z32(s: &str) -> Result<PublicKey, Error>;
    +}
    Expand description

    Extension methods for NodeId to encode to and decode from [z32], +which is the encoding used in [pkarr] domain names.

    +

    Required Methods§

    Source

    fn to_z32(&self) -> String

    Encodes a NodeId in [z-base-32] encoding.

    +
    Source

    fn from_z32(s: &str) -> Result<PublicKey, Error>

    Parses a NodeId from [z-base-32] encoding.

    +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/pr/2937/docs/iroh/dns/sidebar-items.js b/pr/2937/docs/iroh/dns/sidebar-items.js index 46815808f2..625d8e9dad 100644 --- a/pr/2937/docs/iroh/dns/sidebar-items.js +++ b/pr/2937/docs/iroh/dns/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"fn":["default_resolver","resolver"],"mod":["node_info"],"trait":["ResolverExt"],"type":["DnsResolver"]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"constant":["N0_DNS_NODE_ORIGIN_PROD","N0_DNS_NODE_ORIGIN_STAGING"],"mod":["node_info"],"struct":["DnsResolver"]}; \ No newline at end of file diff --git a/pr/2937/docs/iroh/dns/struct.DnsResolver.html b/pr/2937/docs/iroh/dns/struct.DnsResolver.html new file mode 100644 index 0000000000..a35805843c --- /dev/null +++ b/pr/2937/docs/iroh/dns/struct.DnsResolver.html @@ -0,0 +1,128 @@ +DnsResolver in iroh::dns - Rust
    iroh::dns

    Struct DnsResolver

    Source
    pub struct DnsResolver(/* private fields */);
    Expand description

    The DNS resolver used throughout iroh.

    +

    Implementations§

    Source§

    impl DnsResolver

    Source

    pub fn new() -> DnsResolver

    Create a new DNS resolver with sensible cross-platform defaults.

    +

    We first try to read the system’s resolver from /etc/resolv.conf. +This does not work at least on some Androids, therefore we fallback +to the default ResolverConfig which uses eg. to google’s 8.8.8.8 or 8.8.4.4.

    +
    Source

    pub fn with_nameserver(nameserver: SocketAddr) -> DnsResolver

    Create a new DNS resolver configured with a single UDP DNS nameserver.

    +
    Source

    pub fn clear_cache(&self)

    Removes all entries from the cache.

    +
    Source

    pub async fn lookup_txt( + &self, + host: impl ToString, + timeout: Duration, +) -> Result<TxtLookup, Error>

    Lookup a TXT record.

    +
    Source

    pub async fn lookup_ipv4( + &self, + host: impl ToString, + timeout: Duration, +) -> Result<impl Iterator<Item = IpAddr>, Error>

    Perform an ipv4 lookup with a timeout.

    +
    Source

    pub async fn lookup_ipv6( + &self, + host: impl ToString, + timeout: Duration, +) -> Result<impl Iterator<Item = IpAddr>, Error>

    Perform an ipv6 lookup with a timeout.

    +
    Source

    pub async fn lookup_ipv4_ipv6( + &self, + host: impl ToString, + timeout: Duration, +) -> Result<impl Iterator<Item = IpAddr>, Error>

    Resolve IPv4 and IPv6 in parallel with a timeout.

    +

    LookupIpStrategy::Ipv4AndIpv6 will wait for ipv6 resolution timeout, even if it is +not usable on the stack, so we manually query both lookups concurrently and time them out +individually.

    +
    Source

    pub async fn resolve_host( + &self, + url: &Url, + prefer_ipv6: bool, + timeout: Duration, +) -> Result<IpAddr, Error>

    Resolve a hostname from a URL to an IP address.

    +
    Source

    pub async fn lookup_ipv4_staggered( + &self, + host: impl ToString, + timeout: Duration, + delays_ms: &[u64], +) -> Result<impl Iterator<Item = IpAddr>, Error>

    Perform an ipv4 lookup with a timeout in a staggered fashion.

    +

    From the moment this function is called, each lookup is scheduled after the delays in +delays_ms with the first call being done immediately. [200ms, 300ms] results in calls +at T+0ms, T+200ms and T+300ms. The timeout is applied to each call individually. The +result of the first successful call is returned, or a summary of all errors otherwise.

    +
    Source

    pub async fn lookup_ipv6_staggered( + &self, + host: impl ToString, + timeout: Duration, + delays_ms: &[u64], +) -> Result<impl Iterator<Item = IpAddr>, Error>

    Perform an ipv6 lookup with a timeout in a staggered fashion.

    +

    From the moment this function is called, each lookup is scheduled after the delays in +delays_ms with the first call being done immediately. [200ms, 300ms] results in calls +at T+0ms, T+200ms and T+300ms. The timeout is applied to each call individually. The +result of the first successful call is returned, or a summary of all errors otherwise.

    +
    Source

    pub async fn lookup_ipv4_ipv6_staggered( + &self, + host: impl ToString, + timeout: Duration, + delays_ms: &[u64], +) -> Result<impl Iterator<Item = IpAddr>, Error>

    Race an ipv4 and ipv6 lookup with a timeout in a staggered fashion.

    +

    From the moment this function is called, each lookup is scheduled after the delays in +delays_ms with the first call being done immediately. [200ms, 300ms] results in calls +at T+0ms, T+200ms and T+300ms. The timeout is applied as stated in +Self::lookup_ipv4_ipv6. The result of the first successful call is returned, or a +summary of all errors otherwise.

    +
    Source

    pub async fn lookup_node_by_id( + &self, + node_id: &PublicKey, + origin: &str, +) -> Result<NodeAddr, Error>

    Looks up node info by NodeId and origin domain name.

    +

    To lookup nodes that published their node info to the DNS servers run by n0, +pass N0_DNS_NODE_ORIGIN_PROD as origin.

    +
    Source

    pub async fn lookup_node_by_domain_name( + &self, + name: &str, +) -> Result<NodeAddr, Error>

    Looks up node info by DNS name.

    +
    Source

    pub async fn lookup_node_by_domain_name_staggered( + &self, + name: &str, + delays_ms: &[u64], +) -> Result<NodeAddr, Error>

    Looks up node info by DNS name in a staggered fashion.

    +

    From the moment this function is called, each lookup is scheduled after the delays in +delays_ms with the first call being done immediately. [200ms, 300ms] results in calls +at T+0ms, T+200ms and T+300ms. The result of the first successful call is returned, or a +summary of all errors otherwise.

    +
    Source

    pub async fn lookup_node_by_id_staggered( + &self, + node_id: &PublicKey, + origin: &str, + delays_ms: &[u64], +) -> Result<NodeAddr, Error>

    Looks up node info by NodeId and origin domain name.

    +

    From the moment this function is called, each lookup is scheduled after the delays in +delays_ms with the first call being done immediately. [200ms, 300ms] results in calls +at T+0ms, T+200ms and T+300ms. The result of the first successful call is returned, or a +summary of all errors otherwise.

    +

    Trait Implementations§

    Source§

    impl Clone for DnsResolver

    Source§

    fn clone(&self) -> DnsResolver

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for DnsResolver

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl Default for DnsResolver

    Source§

    fn default() -> DnsResolver

    Returns the “default value” for a type. Read more
    Source§

    impl From<Resolver<GenericConnector<TokioRuntimeProvider>>> for DnsResolver

    Source§

    fn from( + resolver: Resolver<GenericConnector<TokioRuntimeProvider>>, +) -> DnsResolver

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn implicit( + self, + class: Class, + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §

    impl<T> FromRef<T> for T
    where + T: Clone,

    §

    fn from_ref(input: &T) -> T

    Converts to this type from a reference to the input type.
    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +

    That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

    +
    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = _

    The alignment of pointer.
    §

    type Init = T

    The type for initializers.
    §

    unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more
    §

    unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more
    §

    unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more
    §

    unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    impl<T> ErasedDestructor for T
    where + T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh/dns/trait.ResolverExt.html b/pr/2937/docs/iroh/dns/trait.ResolverExt.html deleted file mode 100644 index a69d31b579..0000000000 --- a/pr/2937/docs/iroh/dns/trait.ResolverExt.html +++ /dev/null @@ -1,128 +0,0 @@ -ResolverExt in iroh::dns - Rust
    iroh::dns

    Trait ResolverExt

    Source
    pub trait ResolverExt {
    -    // Required methods
    -    fn lookup_ipv4<N: IntoName>(
    -        &self,
    -        host: N,
    -        timeout: Duration,
    -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
    -    fn lookup_ipv6<N: IntoName>(
    -        &self,
    -        host: N,
    -        timeout: Duration,
    -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
    -    fn lookup_ipv4_ipv6<N: IntoName + Clone>(
    -        &self,
    -        host: N,
    -        timeout: Duration,
    -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
    -    fn lookup_by_name(
    -        &self,
    -        name: &str,
    -    ) -> impl Future<Output = Result<NodeAddr>>;
    -    fn lookup_by_id(
    -        &self,
    -        node_id: &NodeId,
    -        origin: &str,
    -    ) -> impl Future<Output = Result<NodeAddr>>;
    -    fn lookup_ipv4_staggered<N: IntoName + Clone>(
    -        &self,
    -        host: N,
    -        timeout: Duration,
    -        delays_ms: &[u64],
    -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
    -    fn lookup_ipv6_staggered<N: IntoName + Clone>(
    -        &self,
    -        host: N,
    -        timeout: Duration,
    -        delays_ms: &[u64],
    -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
    -    fn lookup_ipv4_ipv6_staggered<N: IntoName + Clone>(
    -        &self,
    -        host: N,
    -        timeout: Duration,
    -        delays_ms: &[u64],
    -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
    -    fn lookup_by_name_staggered(
    -        &self,
    -        name: &str,
    -        delays_ms: &[u64],
    -    ) -> impl Future<Output = Result<NodeAddr>>;
    -    fn lookup_by_id_staggered(
    -        &self,
    -        node_id: &NodeId,
    -        origin: &str,
    -        delays_ms: &[u64],
    -    ) -> impl Future<Output = Result<NodeAddr>>;
    -}
    Expand description

    Extension trait to DnsResolver.

    -

    Required Methods§

    Source

    fn lookup_ipv4<N: IntoName>( - &self, - host: N, - timeout: Duration, -) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>

    Perform an ipv4 lookup with a timeout.

    -
    Source

    fn lookup_ipv6<N: IntoName>( - &self, - host: N, - timeout: Duration, -) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>

    Perform an ipv6 lookup with a timeout.

    -
    Source

    fn lookup_ipv4_ipv6<N: IntoName + Clone>( - &self, - host: N, - timeout: Duration, -) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>

    Race an ipv4 and ipv6 lookup with a timeout.

    -
    Source

    fn lookup_by_name(&self, name: &str) -> impl Future<Output = Result<NodeAddr>>

    Looks up node info by DNS name.

    -
    Source

    fn lookup_by_id( - &self, - node_id: &NodeId, - origin: &str, -) -> impl Future<Output = Result<NodeAddr>>

    Looks up node info by NodeId and origin domain name.

    -
    Source

    fn lookup_ipv4_staggered<N: IntoName + Clone>( - &self, - host: N, - timeout: Duration, - delays_ms: &[u64], -) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>

    Perform an ipv4 lookup with a timeout in a staggered fashion.

    -

    From the moment this function is called, each lookup is scheduled after the delays in -delays_ms with the first call being done immediately. [200ms, 300ms] results in calls -at T+0ms, T+200ms and T+300ms. The timeout is applied to each call individually. The -result of the first successful call is returned, or a summary of all errors otherwise.

    -
    Source

    fn lookup_ipv6_staggered<N: IntoName + Clone>( - &self, - host: N, - timeout: Duration, - delays_ms: &[u64], -) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>

    Perform an ipv6 lookup with a timeout in a staggered fashion.

    -

    From the moment this function is called, each lookup is scheduled after the delays in -delays_ms with the first call being done immediately. [200ms, 300ms] results in calls -at T+0ms, T+200ms and T+300ms. The timeout is applied to each call individually. The -result of the first successful call is returned, or a summary of all errors otherwise.

    -
    Source

    fn lookup_ipv4_ipv6_staggered<N: IntoName + Clone>( - &self, - host: N, - timeout: Duration, - delays_ms: &[u64], -) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>

    Race an ipv4 and ipv6 lookup with a timeout in a staggered fashion.

    -

    From the moment this function is called, each lookup is scheduled after the delays in -delays_ms with the first call being done immediately. [200ms, 300ms] results in calls -at T+0ms, T+200ms and T+300ms. The timeout is applied as stated in -Self::lookup_ipv4_ipv6. The result of the first successful call is returned, or a -summary of all errors otherwise.

    -
    Source

    fn lookup_by_name_staggered( - &self, - name: &str, - delays_ms: &[u64], -) -> impl Future<Output = Result<NodeAddr>>

    Looks up node info by DNS name in a staggered fashion.

    -

    From the moment this function is called, each lookup is scheduled after the delays in -delays_ms with the first call being done immediately. [200ms, 300ms] results in calls -at T+0ms, T+200ms and T+300ms. The result of the first successful call is returned, or a -summary of all errors otherwise.

    -
    Source

    fn lookup_by_id_staggered( - &self, - node_id: &NodeId, - origin: &str, - delays_ms: &[u64], -) -> impl Future<Output = Result<NodeAddr>>

    Looks up node info by NodeId and origin domain name.

    -

    From the moment this function is called, each lookup is scheduled after the delays in -delays_ms with the first call being done immediately. [200ms, 300ms] results in calls -at T+0ms, T+200ms and T+300ms. The result of the first successful call is returned, or a -summary of all errors otherwise.

    -

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/pr/2937/docs/iroh/dns/type.DnsResolver.html b/pr/2937/docs/iroh/dns/type.DnsResolver.html deleted file mode 100644 index 933121a464..0000000000 --- a/pr/2937/docs/iroh/dns/type.DnsResolver.html +++ /dev/null @@ -1,72 +0,0 @@ -DnsResolver in iroh::dns - Rust
    iroh::dns

    Type Alias DnsResolver

    Source
    pub type DnsResolver = TokioResolver;
    Expand description

    The DNS resolver type used throughout iroh.

    -

    Aliased Type§

    struct DnsResolver { /* private fields */ }

    Trait Implementations§

    Source§

    impl ResolverExt for DnsResolver

    Source§

    async fn lookup_ipv4_ipv6<N: IntoName + Clone>( - &self, - host: N, - timeout: Duration, -) -> Result<impl Iterator<Item = IpAddr>>

    Resolve IPv4 and IPv6 in parallel.

    -

    LookupIpStrategy::Ipv4AndIpv6 will wait for ipv6 resolution timeout, even if it is -not usable on the stack, so we manually query both lookups concurrently and time them out -individually.

    -
    Source§

    async fn lookup_by_name(&self, name: &str) -> Result<NodeAddr>

    Looks up node info by DNS name.

    -

    The resource records returned for name must either contain an node_info::IROH_TXT_NAME TXT -record or be a CNAME record that leads to an node_info::IROH_TXT_NAME TXT record.

    -
    Source§

    async fn lookup_by_id(&self, node_id: &NodeId, origin: &str) -> Result<NodeAddr>

    Looks up node info by NodeId and origin domain name.

    -
    Source§

    async fn lookup_ipv4_staggered<N: IntoName + Clone>( - &self, - host: N, - timeout: Duration, - delays_ms: &[u64], -) -> Result<impl Iterator<Item = IpAddr>>

    Perform an ipv4 lookup with a timeout in a staggered fashion.

    -

    From the moment this function is called, each lookup is scheduled after the delays in -delays_ms with the first call being done immediately. [200ms, 300ms] results in calls -at T+0ms, T+200ms and T+300ms. The timeout is applied to each call individually. The -result of the first successful call is returned, or a summary of all errors otherwise.

    -
    Source§

    async fn lookup_ipv6_staggered<N: IntoName + Clone>( - &self, - host: N, - timeout: Duration, - delays_ms: &[u64], -) -> Result<impl Iterator<Item = IpAddr>>

    Perform an ipv6 lookup with a timeout in a staggered fashion.

    -

    From the moment this function is called, each lookup is scheduled after the delays in -delays_ms with the first call being done immediately. [200ms, 300ms] results in calls -at T+0ms, T+200ms and T+300ms. The timeout is applied to each call individually. The -result of the first successful call is returned, or a summary of all errors otherwise.

    -
    Source§

    async fn lookup_ipv4_ipv6_staggered<N: IntoName + Clone>( - &self, - host: N, - timeout: Duration, - delays_ms: &[u64], -) -> Result<impl Iterator<Item = IpAddr>>

    Race an ipv4 and ipv6 lookup with a timeout in a staggered fashion.

    -

    From the moment this function is called, each lookup is scheduled after the delays in -delays_ms with the first call being done immediately. [200ms, 300ms] results in calls -at T+0ms, T+200ms and T+300ms. The timeout is applied as stated in -[Self::lookup_ipv4_ipv6]. The result of the first successful call is returned, or a -summary of all errors otherwise.

    -
    Source§

    async fn lookup_by_name_staggered( - &self, - name: &str, - delays_ms: &[u64], -) -> Result<NodeAddr>

    Looks up node info by DNS name in a staggered fashion.

    -

    From the moment this function is called, each lookup is scheduled after the delays in -delays_ms with the first call being done immediately. [200ms, 300ms] results in calls -at T+0ms, T+200ms and T+300ms. The result of the first successful call is returned, or a -summary of all errors otherwise.

    -
    Source§

    async fn lookup_by_id_staggered( - &self, - node_id: &NodeId, - origin: &str, - delays_ms: &[u64], -) -> Result<NodeAddr>

    Looks up node info by NodeId and origin domain name.

    -

    From the moment this function is called, each lookup is scheduled after the delays in -delays_ms with the first call being done immediately. [200ms, 300ms] results in calls -at T+0ms, T+200ms and T+300ms. The result of the first successful call is returned, or a -summary of all errors otherwise.

    -
    Source§

    async fn lookup_ipv4<N: IntoName>( - &self, - host: N, - timeout: Duration, -) -> Result<impl Iterator<Item = IpAddr>>

    Perform an ipv4 lookup with a timeout.
    Source§

    async fn lookup_ipv6<N: IntoName>( - &self, - host: N, - timeout: Duration, -) -> Result<impl Iterator<Item = IpAddr>>

    Perform an ipv6 lookup with a timeout.
    \ No newline at end of file diff --git a/pr/2937/docs/iroh/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html b/pr/2937/docs/iroh/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html index 6925ab70a7..2b8c77e526 100644 --- a/pr/2937/docs/iroh/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html +++ b/pr/2937/docs/iroh/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html @@ -1,2 +1,2 @@ -ENV_FORCE_STAGING_RELAYS in iroh::endpoint - Rust
    iroh::endpoint

    Constant ENV_FORCE_STAGING_RELAYS

    Source
    pub const ENV_FORCE_STAGING_RELAYS: &str = "IROH_FORCE_STAGING_RELAYS";
    Expand description

    Environment variable to force the use of staging relays.

    +ENV_FORCE_STAGING_RELAYS in iroh::endpoint - Rust
    iroh::endpoint

    Constant ENV_FORCE_STAGING_RELAYS

    Source
    pub const ENV_FORCE_STAGING_RELAYS: &str = "IROH_FORCE_STAGING_RELAYS";
    Expand description

    Environment variable to force the use of staging relays.

    \ No newline at end of file diff --git a/pr/2937/docs/iroh/endpoint/enum.ConnectionError.html b/pr/2937/docs/iroh/endpoint/enum.ConnectionError.html index 661e683c57..5bca0007c5 100644 --- a/pr/2937/docs/iroh/endpoint/enum.ConnectionError.html +++ b/pr/2937/docs/iroh/endpoint/enum.ConnectionError.html @@ -1,4 +1,4 @@ -ConnectionError in iroh::endpoint - Rust
    iroh::endpoint

    Enum ConnectionError

    pub enum ConnectionError {
    +ConnectionError in iroh::endpoint - Rust
    iroh::endpoint

    Enum ConnectionError

    pub enum ConnectionError {
         VersionMismatch,
         TransportError(Error),
         ConnectionClosed(ConnectionClose),
    diff --git a/pr/2937/docs/iroh/endpoint/enum.ConnectionType.html b/pr/2937/docs/iroh/endpoint/enum.ConnectionType.html
    index 3d9c27c816..6099d1c5db 100644
    --- a/pr/2937/docs/iroh/endpoint/enum.ConnectionType.html
    +++ b/pr/2937/docs/iroh/endpoint/enum.ConnectionType.html
    @@ -1,4 +1,4 @@
    -ConnectionType in iroh::endpoint - Rust
    iroh::endpoint

    Enum ConnectionType

    Source
    pub enum ConnectionType {
    +ConnectionType in iroh::endpoint - Rust
    iroh::endpoint

    Enum ConnectionType

    Source
    pub enum ConnectionType {
         Direct(SocketAddr),
         Relay(RelayUrl),
         Mixed(SocketAddr, RelayUrl),
    diff --git a/pr/2937/docs/iroh/endpoint/enum.ControlMsg.html b/pr/2937/docs/iroh/endpoint/enum.ControlMsg.html
    index e6be0dd94c..1cb3d96bea 100644
    --- a/pr/2937/docs/iroh/endpoint/enum.ControlMsg.html
    +++ b/pr/2937/docs/iroh/endpoint/enum.ControlMsg.html
    @@ -1,4 +1,4 @@
    -ControlMsg in iroh::endpoint - Rust
    iroh::endpoint

    Enum ControlMsg

    Source
    pub enum ControlMsg {
    +ControlMsg in iroh::endpoint - Rust
    iroh::endpoint

    Enum ControlMsg

    Source
    pub enum ControlMsg {
         Ping,
         Pong,
         CallMeMaybe,
    diff --git a/pr/2937/docs/iroh/endpoint/enum.DirectAddrType.html b/pr/2937/docs/iroh/endpoint/enum.DirectAddrType.html
    index 93401d0460..b66196e1c8 100644
    --- a/pr/2937/docs/iroh/endpoint/enum.DirectAddrType.html
    +++ b/pr/2937/docs/iroh/endpoint/enum.DirectAddrType.html
    @@ -1,4 +1,4 @@
    -DirectAddrType in iroh::endpoint - Rust
    iroh::endpoint

    Enum DirectAddrType

    Source
    pub enum DirectAddrType {
    +DirectAddrType in iroh::endpoint - Rust
    iroh::endpoint

    Enum DirectAddrType

    Source
    pub enum DirectAddrType {
         Unknown,
         Local,
         Stun,
    @@ -20,16 +20,16 @@ get a publicly routable direct address.

    It is possible to configure iroh to bound to a specific port and independently configure the router to forward this port to the iroh node. This indicates a situation like this, which still uses STUN to discover the public address.

    -

    Trait Implementations§

    Source§

    impl Clone for DirectAddrType

    Source§

    fn clone(&self) -> DirectAddrType

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for DirectAddrType

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for DirectAddrType

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for DirectAddrType

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    Trait Implementations§

    Source§

    impl Clone for DirectAddrType

    Source§

    fn clone(&self) -> DirectAddrType

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for DirectAddrType

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for DirectAddrType

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for DirectAddrType

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Ord for DirectAddrType

    Source§

    fn cmp(&self, other: &DirectAddrType) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Ord for DirectAddrType

    Source§

    fn cmp(&self, other: &DirectAddrType) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · Source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · Source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    Source§

    impl PartialEq for DirectAddrType

    Source§

    fn eq(&self, other: &DirectAddrType) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl PartialOrd for DirectAddrType

    Source§

    fn partial_cmp(&self, other: &DirectAddrType) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · Source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · Source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,
    Restrict a value to a certain interval. Read more
    Source§

    impl PartialEq for DirectAddrType

    Source§

    fn eq(&self, other: &DirectAddrType) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl PartialOrd for DirectAddrType

    Source§

    fn partial_cmp(&self, other: &DirectAddrType) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · Source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · Source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · Source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · Source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    Source§

    impl Copy for DirectAddrType

    Source§

    impl Eq for DirectAddrType

    Source§

    impl StructuralPartialEq for DirectAddrType

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +the >= operator. Read more

    Source§

    impl Copy for DirectAddrType

    Source§

    impl Eq for DirectAddrType

    Source§

    impl StructuralPartialEq for DirectAddrType

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( diff --git a/pr/2937/docs/iroh/endpoint/enum.PathSelection.html b/pr/2937/docs/iroh/endpoint/enum.PathSelection.html index 6ed16a310b..c440e0a703 100644 --- a/pr/2937/docs/iroh/endpoint/enum.PathSelection.html +++ b/pr/2937/docs/iroh/endpoint/enum.PathSelection.html @@ -1,4 +1,4 @@ -PathSelection in iroh::endpoint - Rust
    iroh::endpoint

    Enum PathSelection

    Source
    pub enum PathSelection {
    +PathSelection in iroh::endpoint - Rust
    iroh::endpoint

    Enum PathSelection

    Source
    pub enum PathSelection {
         All,
         RelayOnly,
     }
    Available on crate feature test-utils only.
    Expand description

    Defines the mode of path selection for all traffic flowing through diff --git a/pr/2937/docs/iroh/endpoint/enum.ReadError.html b/pr/2937/docs/iroh/endpoint/enum.ReadError.html index 440b257c6e..b25efab805 100644 --- a/pr/2937/docs/iroh/endpoint/enum.ReadError.html +++ b/pr/2937/docs/iroh/endpoint/enum.ReadError.html @@ -1,4 +1,4 @@ -ReadError in iroh::endpoint - Rust

    iroh::endpoint

    Enum ReadError

    pub enum ReadError {
    +ReadError in iroh::endpoint - Rust
    iroh::endpoint

    Enum ReadError

    pub enum ReadError {
         Reset(VarInt),
         ConnectionLost(ConnectionError),
         ClosedStream,
    diff --git a/pr/2937/docs/iroh/endpoint/enum.ReadExactError.html b/pr/2937/docs/iroh/endpoint/enum.ReadExactError.html
    index e3581fd76c..ba1a68a7d5 100644
    --- a/pr/2937/docs/iroh/endpoint/enum.ReadExactError.html
    +++ b/pr/2937/docs/iroh/endpoint/enum.ReadExactError.html
    @@ -1,4 +1,4 @@
    -ReadExactError in iroh::endpoint - Rust
    iroh::endpoint

    Enum ReadExactError

    pub enum ReadExactError {
    +ReadExactError in iroh::endpoint - Rust
    iroh::endpoint

    Enum ReadExactError

    pub enum ReadExactError {
         FinishedEarly(usize),
         ReadError(ReadError),
     }
    Expand description

    Errors that arise from reading from a stream.

    diff --git a/pr/2937/docs/iroh/endpoint/enum.ReadToEndError.html b/pr/2937/docs/iroh/endpoint/enum.ReadToEndError.html index 623ee8cec1..7d73e89727 100644 --- a/pr/2937/docs/iroh/endpoint/enum.ReadToEndError.html +++ b/pr/2937/docs/iroh/endpoint/enum.ReadToEndError.html @@ -1,4 +1,4 @@ -ReadToEndError in iroh::endpoint - Rust
    iroh::endpoint

    Enum ReadToEndError

    pub enum ReadToEndError {
    +ReadToEndError in iroh::endpoint - Rust
    iroh::endpoint

    Enum ReadToEndError

    pub enum ReadToEndError {
         Read(ReadError),
         TooLong,
     }
    Expand description

    Errors from RecvStream::read_to_end

    diff --git a/pr/2937/docs/iroh/endpoint/enum.RelayMode.html b/pr/2937/docs/iroh/endpoint/enum.RelayMode.html index 66be890685..ad05a73d7a 100644 --- a/pr/2937/docs/iroh/endpoint/enum.RelayMode.html +++ b/pr/2937/docs/iroh/endpoint/enum.RelayMode.html @@ -1,4 +1,4 @@ -RelayMode in iroh::endpoint - Rust
    iroh::endpoint

    Enum RelayMode

    Source
    pub enum RelayMode {
    +RelayMode in iroh::endpoint - Rust
    iroh::endpoint

    Enum RelayMode

    Source
    pub enum RelayMode {
         Disabled,
         Default,
         Staging,
    @@ -9,9 +9,9 @@
     

    See crate::defaults::prod for the severs used.

    §

    Staging

    Use the staging relay servers from n0.

    §

    Custom(RelayMap)

    Use a custom relay map.

    -

    Implementations§

    Source§

    impl RelayMode

    Source

    pub fn relay_map(&self) -> RelayMap

    Returns the relay map for this mode.

    -

    Trait Implementations§

    Source§

    impl Clone for RelayMode

    Source§

    fn clone(&self) -> RelayMode

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for RelayMode

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl PartialEq for RelayMode

    Source§

    fn eq(&self, other: &RelayMode) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl Eq for RelayMode

    Source§

    impl StructuralPartialEq for RelayMode

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Implementations§

    Source§

    impl RelayMode

    Source

    pub fn relay_map(&self) -> RelayMap

    Returns the relay map for this mode.

    +

    Trait Implementations§

    Source§

    impl Clone for RelayMode

    Source§

    fn clone(&self) -> RelayMode

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for RelayMode

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl PartialEq for RelayMode

    Source§

    fn eq(&self, other: &RelayMode) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Eq for RelayMode

    Source§

    impl StructuralPartialEq for RelayMode

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( diff --git a/pr/2937/docs/iroh/endpoint/enum.ResetError.html b/pr/2937/docs/iroh/endpoint/enum.ResetError.html index 061f181702..c429817f42 100644 --- a/pr/2937/docs/iroh/endpoint/enum.ResetError.html +++ b/pr/2937/docs/iroh/endpoint/enum.ResetError.html @@ -1,4 +1,4 @@ -ResetError in iroh::endpoint - Rust
    iroh::endpoint

    Enum ResetError

    pub enum ResetError {
    +ResetError in iroh::endpoint - Rust
    iroh::endpoint

    Enum ResetError

    pub enum ResetError {
         ConnectionLost(ConnectionError),
         ZeroRttRejected,
     }
    Expand description

    Errors that arise while waiting for a stream to be reset

    diff --git a/pr/2937/docs/iroh/endpoint/enum.SendDatagramError.html b/pr/2937/docs/iroh/endpoint/enum.SendDatagramError.html index c7f37591af..33a7711802 100644 --- a/pr/2937/docs/iroh/endpoint/enum.SendDatagramError.html +++ b/pr/2937/docs/iroh/endpoint/enum.SendDatagramError.html @@ -1,4 +1,4 @@ -SendDatagramError in iroh::endpoint - Rust
    iroh::endpoint

    Enum SendDatagramError

    pub enum SendDatagramError {
    +SendDatagramError in iroh::endpoint - Rust
    iroh::endpoint

    Enum SendDatagramError

    pub enum SendDatagramError {
         UnsupportedByPeer,
         Disabled,
         TooLarge,
    diff --git a/pr/2937/docs/iroh/endpoint/enum.Source.html b/pr/2937/docs/iroh/endpoint/enum.Source.html
    index bfe6b4cbab..11d1bb2b00 100644
    --- a/pr/2937/docs/iroh/endpoint/enum.Source.html
    +++ b/pr/2937/docs/iroh/endpoint/enum.Source.html
    @@ -1,4 +1,4 @@
    -Source in iroh::endpoint - Rust
    iroh::endpoint

    Enum Source

    Source
    pub enum Source {
    +Source in iroh::endpoint - Rust
    iroh::endpoint

    Enum Source

    Source
    pub enum Source {
         Saved,
         Udp,
         Relay,
    diff --git a/pr/2937/docs/iroh/endpoint/enum.StoppedError.html b/pr/2937/docs/iroh/endpoint/enum.StoppedError.html
    index ad74b3a51e..8355c6c7c7 100644
    --- a/pr/2937/docs/iroh/endpoint/enum.StoppedError.html
    +++ b/pr/2937/docs/iroh/endpoint/enum.StoppedError.html
    @@ -1,4 +1,4 @@
    -StoppedError in iroh::endpoint - Rust
    iroh::endpoint

    Enum StoppedError

    pub enum StoppedError {
    +StoppedError in iroh::endpoint - Rust
    iroh::endpoint

    Enum StoppedError

    pub enum StoppedError {
         ConnectionLost(ConnectionError),
         ZeroRttRejected,
     }
    Expand description

    Errors that arise while monitoring for a send stream stop from the peer

    diff --git a/pr/2937/docs/iroh/endpoint/enum.WriteError.html b/pr/2937/docs/iroh/endpoint/enum.WriteError.html index 2cdbce14e8..e96cde32e6 100644 --- a/pr/2937/docs/iroh/endpoint/enum.WriteError.html +++ b/pr/2937/docs/iroh/endpoint/enum.WriteError.html @@ -1,4 +1,4 @@ -WriteError in iroh::endpoint - Rust
    iroh::endpoint

    Enum WriteError

    pub enum WriteError {
    +WriteError in iroh::endpoint - Rust
    iroh::endpoint

    Enum WriteError

    pub enum WriteError {
         Stopped(VarInt),
         ConnectionLost(ConnectionError),
         ClosedStream,
    diff --git a/pr/2937/docs/iroh/endpoint/fn.default_relay_mode.html b/pr/2937/docs/iroh/endpoint/fn.default_relay_mode.html
    index 738c4d4d25..ad60f1dda2 100644
    --- a/pr/2937/docs/iroh/endpoint/fn.default_relay_mode.html
    +++ b/pr/2937/docs/iroh/endpoint/fn.default_relay_mode.html
    @@ -1,4 +1,4 @@
    -default_relay_mode in iroh::endpoint - Rust
    iroh::endpoint

    Function default_relay_mode

    Source
    pub fn default_relay_mode() -> RelayMode
    Expand description

    Returns the default relay mode.

    +default_relay_mode in iroh::endpoint - Rust
    iroh::endpoint

    Function default_relay_mode

    Source
    pub fn default_relay_mode() -> RelayMode
    Expand description

    Returns the default relay mode.

    If the IROH_FORCE_STAGING_RELAYS environment variable is non empty, it will return RelayMode::Staging. Otherwise, it will return RelayMode::Default.

    \ No newline at end of file diff --git a/pr/2937/docs/iroh/endpoint/fn.force_staging_infra.html b/pr/2937/docs/iroh/endpoint/fn.force_staging_infra.html index ba26bdee32..f68d7eda6b 100644 --- a/pr/2937/docs/iroh/endpoint/fn.force_staging_infra.html +++ b/pr/2937/docs/iroh/endpoint/fn.force_staging_infra.html @@ -1,2 +1,2 @@ -force_staging_infra in iroh::endpoint - Rust
    iroh::endpoint

    Function force_staging_infra

    Source
    pub fn force_staging_infra() -> bool
    Expand description

    Returns true if the use of staging relays is forced.

    +force_staging_infra in iroh::endpoint - Rust
    iroh::endpoint

    Function force_staging_infra

    Source
    pub fn force_staging_infra() -> bool
    Expand description

    Returns true if the use of staging relays is forced.

    \ No newline at end of file diff --git a/pr/2937/docs/iroh/endpoint/fn.make_server_config.html b/pr/2937/docs/iroh/endpoint/fn.make_server_config.html index 654ed238af..f7939e701d 100644 --- a/pr/2937/docs/iroh/endpoint/fn.make_server_config.html +++ b/pr/2937/docs/iroh/endpoint/fn.make_server_config.html @@ -1,4 +1,4 @@ -make_server_config in iroh::endpoint - Rust
    iroh::endpoint

    Function make_server_config

    Source
    pub fn make_server_config(
    +make_server_config in iroh::endpoint - Rust
    iroh::endpoint

    Function make_server_config

    Source
    pub fn make_server_config(
         tls_auth: Authentication,
         secret_key: &SecretKey,
         alpn_protocols: Vec<Vec<u8>>,
    diff --git a/pr/2937/docs/iroh/endpoint/index.html b/pr/2937/docs/iroh/endpoint/index.html
    index ae0e3f87cc..d67a08a058 100644
    --- a/pr/2937/docs/iroh/endpoint/index.html
    +++ b/pr/2937/docs/iroh/endpoint/index.html
    @@ -1,4 +1,4 @@
    -iroh::endpoint - Rust
    iroh

    Module endpoint

    Source
    Expand description

    The Endpoint allows establishing connections to other iroh nodes.

    +iroh::endpoint - Rust
    iroh

    Module endpoint

    Source
    Expand description

    The Endpoint allows establishing connections to other iroh nodes.

    The Endpoint is the main API interface to manage a local iroh node. It allows connecting to and accepting connections from other nodes. See the module docs for more details on how iroh connections work.

    diff --git a/pr/2937/docs/iroh/endpoint/struct.Accept.html b/pr/2937/docs/iroh/endpoint/struct.Accept.html index 669bf00aa3..8bd32629a9 100644 --- a/pr/2937/docs/iroh/endpoint/struct.Accept.html +++ b/pr/2937/docs/iroh/endpoint/struct.Accept.html @@ -1,6 +1,6 @@ -Accept in iroh::endpoint - Rust
    iroh::endpoint

    Struct Accept

    Source
    pub struct Accept<'a> { /* private fields */ }
    Expand description

    Future produced by Endpoint::accept.

    -

    Trait Implementations§

    Source§

    impl<'a> Debug for Accept<'a>

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Future for Accept<'_>

    Source§

    type Output = Option<Incoming>

    The type of value produced on completion.
    Source§

    fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>

    Attempts to resolve the future to a final value, registering -the current task for wakeup if the value is not yet available. Read more
    Source§

    impl<'pin, 'a> Unpin for Accept<'a>
    where +Accept in iroh::endpoint - Rust
    iroh::endpoint

    Struct Accept

    Source
    pub struct Accept<'a> { /* private fields */ }
    Expand description

    Future produced by Endpoint::accept.

    +

    Trait Implementations§

    Source§

    impl<'a> Debug for Accept<'a>

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Future for Accept<'_>

    Source§

    type Output = Option<Incoming>

    The type of value produced on completion.
    Source§

    fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>

    Attempts to resolve the future to a final value, registering +the current task for wakeup if the value is not yet available. Read more
    Source§

    impl<'pin, 'a> Unpin for Accept<'a>
    where PinnedFieldsOf<__Accept<'pin, 'a>>: Unpin,

    Auto Trait Implementations§

    §

    impl<'a> !Freeze for Accept<'a>

    §

    impl<'a> !RefUnwindSafe for Accept<'a>

    §

    impl<'a> Send for Accept<'a>

    §

    impl<'a> Sync for Accept<'a>

    §

    impl<'a> !UnwindSafe for Accept<'a>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where diff --git a/pr/2937/docs/iroh/endpoint/struct.AcceptBi.html b/pr/2937/docs/iroh/endpoint/struct.AcceptBi.html index 7cbe43d3c2..6c0469c27a 100644 --- a/pr/2937/docs/iroh/endpoint/struct.AcceptBi.html +++ b/pr/2937/docs/iroh/endpoint/struct.AcceptBi.html @@ -1,4 +1,4 @@ -AcceptBi in iroh::endpoint - Rust
    iroh::endpoint

    Struct AcceptBi

    pub struct AcceptBi<'a> { /* private fields */ }
    Expand description

    Future produced by [Connection::accept_bi]

    +AcceptBi in iroh::endpoint - Rust
    iroh::endpoint

    Struct AcceptBi

    pub struct AcceptBi<'a> { /* private fields */ }
    Expand description

    Future produced by [Connection::accept_bi]

    Trait Implementations§

    §

    impl Future for AcceptBi<'_>

    §

    type Output = Result<(SendStream, RecvStream), ConnectionError>

    The type of value produced on completion.
    §

    fn poll( self: Pin<&mut AcceptBi<'_>>, ctx: &mut Context<'_>, diff --git a/pr/2937/docs/iroh/endpoint/struct.AcceptUni.html b/pr/2937/docs/iroh/endpoint/struct.AcceptUni.html index f4271e36a3..b1fb3b8324 100644 --- a/pr/2937/docs/iroh/endpoint/struct.AcceptUni.html +++ b/pr/2937/docs/iroh/endpoint/struct.AcceptUni.html @@ -1,4 +1,4 @@ -AcceptUni in iroh::endpoint - Rust
    iroh::endpoint

    Struct AcceptUni

    pub struct AcceptUni<'a> { /* private fields */ }
    Expand description

    Future produced by [Connection::accept_uni]

    +AcceptUni in iroh::endpoint - Rust
    iroh::endpoint

    Struct AcceptUni

    pub struct AcceptUni<'a> { /* private fields */ }
    Expand description

    Future produced by [Connection::accept_uni]

    Trait Implementations§

    §

    impl Future for AcceptUni<'_>

    §

    type Output = Result<RecvStream, ConnectionError>

    The type of value produced on completion.
    §

    fn poll( self: Pin<&mut AcceptUni<'_>>, ctx: &mut Context<'_>, diff --git a/pr/2937/docs/iroh/endpoint/struct.AckFrequencyConfig.html b/pr/2937/docs/iroh/endpoint/struct.AckFrequencyConfig.html index 4d21032bbb..cdd1ea71aa 100644 --- a/pr/2937/docs/iroh/endpoint/struct.AckFrequencyConfig.html +++ b/pr/2937/docs/iroh/endpoint/struct.AckFrequencyConfig.html @@ -1,4 +1,4 @@ -AckFrequencyConfig in iroh::endpoint - Rust
    iroh::endpoint

    Struct AckFrequencyConfig

    pub struct AckFrequencyConfig { /* private fields */ }
    Expand description

    Parameters for controlling the peer’s acknowledgement frequency

    +AckFrequencyConfig in iroh::endpoint - Rust
    iroh::endpoint

    Struct AckFrequencyConfig

    pub struct AckFrequencyConfig { /* private fields */ }
    Expand description

    Parameters for controlling the peer’s acknowledgement frequency

    The parameters provided in this config will be sent to the peer at the beginning of the connection, so it can take them into account when sending acknowledgements (see each parameter’s description for details on how it influences acknowledgement frequency).

    diff --git a/pr/2937/docs/iroh/endpoint/struct.ApplicationClose.html b/pr/2937/docs/iroh/endpoint/struct.ApplicationClose.html index 7f10bdf5f8..2c1b5f341c 100644 --- a/pr/2937/docs/iroh/endpoint/struct.ApplicationClose.html +++ b/pr/2937/docs/iroh/endpoint/struct.ApplicationClose.html @@ -1,4 +1,4 @@ -ApplicationClose in iroh::endpoint - Rust
    iroh::endpoint

    Struct ApplicationClose

    pub struct ApplicationClose {
    +ApplicationClose in iroh::endpoint - Rust
    iroh::endpoint

    Struct ApplicationClose

    pub struct ApplicationClose {
         pub error_code: VarInt,
         pub reason: Bytes,
     }
    Expand description

    Reason given by an application for closing the connection

    diff --git a/pr/2937/docs/iroh/endpoint/struct.Builder.html b/pr/2937/docs/iroh/endpoint/struct.Builder.html index 42917f8a46..843d6d2e52 100644 --- a/pr/2937/docs/iroh/endpoint/struct.Builder.html +++ b/pr/2937/docs/iroh/endpoint/struct.Builder.html @@ -1,24 +1,24 @@ -Builder in iroh::endpoint - Rust
    iroh::endpoint

    Struct Builder

    Source
    pub struct Builder { /* private fields */ }
    Expand description

    Builder for Endpoint.

    +Builder in iroh::endpoint - Rust
    iroh::endpoint

    Struct Builder

    Source
    pub struct Builder { /* private fields */ }
    Expand description

    Builder for Endpoint.

    By default the endpoint will generate a new random SecretKey, which will result in a new NodeId.

    To create the Endpoint call Builder::bind.

    -

    Implementations§

    Source§

    impl Builder

    Source

    pub async fn bind(self) -> Result<Endpoint>

    Binds the magic endpoint.

    -
    Source

    pub fn bind_addr_v4(self, addr: SocketAddrV4) -> Self

    Sets the IPv4 bind address.

    +

    Implementations§

    Source§

    impl Builder

    Source

    pub async fn bind(self) -> Result<Endpoint>

    Binds the magic endpoint.

    +
    Source

    pub fn bind_addr_v4(self, addr: SocketAddrV4) -> Self

    Sets the IPv4 bind address.

    Setting the port to 0 will use a random port. If the port specified is already in use, it will fallback to choosing a random port.

    By default will use 0.0.0.0:0 to bind to.

    -
    Source

    pub fn bind_addr_v6(self, addr: SocketAddrV6) -> Self

    Sets the IPv6 bind address.

    +
    Source

    pub fn bind_addr_v6(self, addr: SocketAddrV6) -> Self

    Sets the IPv6 bind address.

    Setting the port to 0 will use a random port. If the port specified is already in use, it will fallback to choosing a random port.

    By default will use [::]:0 to bind to.

    -
    Source

    pub fn secret_key(self, secret_key: SecretKey) -> Self

    Sets a secret key to authenticate with other peers.

    +
    Source

    pub fn secret_key(self, secret_key: SecretKey) -> Self

    Sets a secret key to authenticate with other peers.

    This secret key’s public key will be the PublicKey of this endpoint and thus also its NodeId

    If not set, a new secret key will be generated.

    -
    Source

    pub fn alpns(self, alpn_protocols: Vec<Vec<u8>>) -> Self

    Sets the ALPN protocols that this endpoint will accept on incoming connections.

    +
    Source

    pub fn alpns(self, alpn_protocols: Vec<Vec<u8>>) -> Self

    Sets the ALPN protocols that this endpoint will accept on incoming connections.

    Not setting this will still allow creating connections, but to accept incoming connections the ALPN must be set.

    -
    Source

    pub fn relay_mode(self, relay_mode: RelayMode) -> Self

    Sets the relay servers to assist in establishing connectivity.

    +
    Source

    pub fn relay_mode(self, relay_mode: RelayMode) -> Self

    Sets the relay servers to assist in establishing connectivity.

    Relay servers are used to establish initial connection with another iroh node. They also perform various functions related to hole punching, see the crate docs for more details.

    @@ -26,15 +26,15 @@ for more details.

    When using RelayMode::Custom, the provided relay_map must contain at least one configured relay node. If an invalid RelayMap is provided bind will result in an error.

    -
    Source

    pub fn clear_discovery(self) -> Self

    Removes all discovery services from the builder.

    -
    Source

    pub fn discovery(self, discovery: Box<dyn Discovery>) -> Self

    Optionally sets a discovery mechanism for this endpoint.

    +
    Source

    pub fn clear_discovery(self) -> Self

    Removes all discovery services from the builder.

    +
    Source

    pub fn discovery(self, discovery: Box<dyn Discovery>) -> Self

    Optionally sets a discovery mechanism for this endpoint.

    If you want to combine multiple discovery services, you can use Builder::add_discovery instead. This will internally create a crate::discovery::ConcurrentDiscovery.

    If no discovery service is set, connecting to a node without providing its direct addresses or relay URLs will fail.

    See the documentation of the Discovery trait for details.

    -
    Source

    pub fn add_discovery<F, D>(self, discovery: F) -> Self
    where +

    Source

    pub fn add_discovery<F, D>(self, discovery: F) -> Self
    where F: FnOnce(&SecretKey) -> Option<D> + Send + Sync + 'static, D: Discovery + 'static,

    Adds a discovery mechanism for this endpoint.

    The function discovery @@ -47,7 +47,7 @@ to use this secret key to sign the information.

    direct addresses or relay URLs will fail.

    To clear all discovery services, use Builder::clear_discovery.

    See the documentation of the Discovery trait for details.

    -
    Source

    pub fn discovery_n0(self) -> Self

    Configures the endpoint to use the default n0 DNS discovery service.

    +
    Source

    pub fn discovery_n0(self) -> Self

    Configures the endpoint to use the default n0 DNS discovery service.

    The default discovery service publishes to and resolves from the n0.computer dns server iroh.link.

    This is equivalent to adding both a crate::discovery::pkarr::PkarrPublisher @@ -56,20 +56,20 @@ n0.computer dns server.

    This will by default use N0_DNS_PKARR_RELAY_PROD. When in tests, or when the test-utils feature is enabled, this will use the N0_DNS_PKARR_RELAY_STAGING.

    -
    Source

    pub fn tls_x509(self) -> Self

    Use libp2p based self signed certificates for TLS.

    -
    Source

    pub fn tls_raw_public_keys(self) -> Self

    Use TLS Raw Public Keys

    -
    Source

    pub fn discovery_dht(self) -> Self

    Available on crate feature discovery-pkarr-dht only.

    Configures the endpoint to also use the mainline DHT with default settings.

    +
    Source

    pub fn tls_x509(self) -> Self

    Use libp2p based self signed certificates for TLS.

    +
    Source

    pub fn tls_raw_public_keys(self) -> Self

    Use TLS Raw Public Keys

    +
    Source

    pub fn discovery_dht(self) -> Self

    Available on crate feature discovery-pkarr-dht only.

    Configures the endpoint to also use the mainline DHT with default settings.

    This is equivalent to adding a crate::discovery::pkarr::dht::DhtDiscovery with default settings. Note that DhtDiscovery has various more advanced configuration options. If you need any of those, you should manually create a DhtDiscovery and add it with Builder::add_discovery.

    -
    Source

    pub fn discovery_local_network(self) -> Self

    Available on crate feature discovery-local-network only.

    Configures the endpoint to also use local network discovery.

    +
    Source

    pub fn discovery_local_network(self) -> Self

    Available on crate feature discovery-local-network only.

    Configures the endpoint to also use local network discovery.

    This is equivalent to adding a crate::discovery::local_swarm_discovery::LocalSwarmDiscovery with default settings. Note that LocalSwarmDiscovery has various more advanced configuration options. If you need any of those, you should manually create a LocalSwarmDiscovery and add it with Builder::add_discovery.

    -
    Source

    pub fn known_nodes(self, nodes: Vec<NodeAddr>) -> Self

    Optionally set a list of known nodes.

    -
    Source

    pub fn transport_config(self, transport_config: TransportConfig) -> Self

    Sets a custom quinn::TransportConfig for this endpoint.

    +
    Source

    pub fn known_nodes(self, nodes: Vec<NodeAddr>) -> Self

    Optionally set a list of known nodes.

    +
    Source

    pub fn transport_config(self, transport_config: TransportConfig) -> Self

    Sets a custom quinn::TransportConfig for this endpoint.

    The transport config contains parameters governing the QUIC state machine.

    If unset, the default config is used. Default values should be suitable for most internet applications. Applications protocols which forbid remotely-initiated @@ -77,28 +77,29 @@ streams should set max_concurrent_bidi_streams and max_concur zero.

    Please be aware that changing some settings may have adverse effects on establishing and maintaining direct connections.

    -
    Source

    pub fn dns_resolver(self, dns_resolver: DnsResolver) -> Self

    Optionally sets a custom DNS resolver to use for this endpoint.

    +
    Source

    pub fn dns_resolver(self, dns_resolver: DnsResolver) -> Self

    Optionally sets a custom DNS resolver to use for this endpoint.

    The DNS resolver is used to resolve relay hostnames, and node addresses if crate::discovery::dns::DnsDiscovery is configured.

    -

    By default, all endpoints share a DNS resolver, which is configured to use the -host system’s DNS configuration. You can pass a custom instance of DnsResolver -here to use a differently configured DNS resolver for this endpoint.

    -
    Source

    pub fn proxy_url(self, url: Url) -> Self

    Sets an explicit proxy url to proxy all HTTP(S) traffic through.

    -
    Source

    pub fn proxy_from_env(self) -> Self

    Sets the proxy url from the environment, in this order:

    +

    By default, a new DNS resolver is created which is configured to use the +host system’s DNS configuration. You can pass a custom instance of DnsResolver +here to use a differently configured DNS resolver for this endpoint, or to share +a DnsResolver between multiple endpoints.

    +
    Source

    pub fn proxy_url(self, url: Url) -> Self

    Sets an explicit proxy url to proxy all HTTP(S) traffic through.

    +
    Source

    pub fn proxy_from_env(self) -> Self

    Sets the proxy url from the environment, in this order:

    • HTTP_PROXY
    • http_proxy
    • HTTPS_PROXY
    • https_proxy
    -
    Source

    pub fn keylog(self, keylog: bool) -> Self

    Enables saving the TLS pre-master key for connections.

    +
    Source

    pub fn keylog(self, keylog: bool) -> Self

    Enables saving the TLS pre-master key for connections.

    This key should normally remain secret but can be useful to debug networking issues by decrypting captured traffic.

    If keylog is true then setting the SSLKEYLOGFILE environment variable to a filename will result in this file being used to log the TLS pre-master keys.

    -
    Source

    pub fn insecure_skip_relay_cert_verify(self, skip_verify: bool) -> Self

    Available on crate feature test-utils only.

    Skip verification of SSL certificates from relay servers

    +
    Source

    pub fn insecure_skip_relay_cert_verify(self, skip_verify: bool) -> Self

    Available on crate feature test-utils only.

    Skip verification of SSL certificates from relay servers

    May only be used in tests.

    -
    Source

    pub fn path_selection(self, path_selection: PathSelection) -> Self

    Available on crate feature test-utils only.

    This implies we only use the relay to communicate +

    Source

    pub fn path_selection(self, path_selection: PathSelection) -> Self

    Available on crate feature test-utils only.

    This implies we only use the relay to communicate and do not attempt to do any hole punching.

    Trait Implementations§

    Source§

    impl Debug for Builder

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Builder

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where diff --git a/pr/2937/docs/iroh/endpoint/struct.Chunk.html b/pr/2937/docs/iroh/endpoint/struct.Chunk.html index 48cd2db483..7ebb73d4a8 100644 --- a/pr/2937/docs/iroh/endpoint/struct.Chunk.html +++ b/pr/2937/docs/iroh/endpoint/struct.Chunk.html @@ -1,4 +1,4 @@ -Chunk in iroh::endpoint - Rust
    iroh::endpoint

    Struct Chunk

    pub struct Chunk {
    +Chunk in iroh::endpoint - Rust
    iroh::endpoint

    Struct Chunk

    pub struct Chunk {
         pub offset: u64,
         pub bytes: Bytes,
     }
    Expand description

    A chunk of data from the receive stream

    diff --git a/pr/2937/docs/iroh/endpoint/struct.ClosedStream.html b/pr/2937/docs/iroh/endpoint/struct.ClosedStream.html index 6982cd0cd4..dd5454e657 100644 --- a/pr/2937/docs/iroh/endpoint/struct.ClosedStream.html +++ b/pr/2937/docs/iroh/endpoint/struct.ClosedStream.html @@ -1,4 +1,4 @@ -ClosedStream in iroh::endpoint - Rust
    iroh::endpoint

    Struct ClosedStream

    pub struct ClosedStream { /* private fields */ }
    Expand description

    Error indicating that a stream has not been opened or has already been finished or reset

    +ClosedStream in iroh::endpoint - Rust
    iroh::endpoint

    Struct ClosedStream

    pub struct ClosedStream { /* private fields */ }
    Expand description

    Error indicating that a stream has not been opened or has already been finished or reset

    Trait Implementations§

    §

    impl Clone for ClosedStream

    §

    fn clone(&self) -> ClosedStream

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for ClosedStream

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for ClosedStream

    §

    fn default() -> ClosedStream

    Returns the “default value” for a type. Read more
    §

    impl Display for ClosedStream

    §

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for ClosedStream

    1.30.0 · Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    §

    impl From<ClosedStream> for WriteError

    §

    fn from(_: ClosedStream) -> WriteError

    Converts to this type from the input type.
    §

    impl PartialEq for ClosedStream

    §

    fn eq(&self, other: &ClosedStream) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    §

    impl Eq for ClosedStream

    §

    impl StructuralPartialEq for ClosedStream

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where diff --git a/pr/2937/docs/iroh/endpoint/struct.Connecting.html b/pr/2937/docs/iroh/endpoint/struct.Connecting.html index 611ae86374..3c94781850 100644 --- a/pr/2937/docs/iroh/endpoint/struct.Connecting.html +++ b/pr/2937/docs/iroh/endpoint/struct.Connecting.html @@ -1,9 +1,9 @@ -Connecting in iroh::endpoint - Rust
    iroh::endpoint

    Struct Connecting

    Source
    pub struct Connecting { /* private fields */ }
    Expand description

    In-progress connection attempt future

    -

    Implementations§

    Source§

    impl Connecting

    Source

    pub fn into_0rtt(self) -> Result<(Connection, ZeroRttAccepted), Self>

    Convert into a 0-RTT or 0.5-RTT connection at the cost of weakened security.

    -
    Source

    pub async fn handshake_data(&mut self) -> Result<Box<dyn Any>, ConnectionError>

    Parameters negotiated during the handshake

    -
    Source

    pub async fn alpn(&mut self) -> Result<Vec<u8>>

    Extracts the ALPN protocol from the peer’s handshake data.

    -

    Trait Implementations§

    Source§

    impl Debug for Connecting

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Future for Connecting

    Source§

    type Output = Result<Connection, ConnectionError>

    The type of value produced on completion.
    Source§

    fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>

    Attempts to resolve the future to a final value, registering -the current task for wakeup if the value is not yet available. Read more
    Source§

    impl<'pin> Unpin for Connecting
    where +Connecting in iroh::endpoint - Rust
    iroh::endpoint

    Struct Connecting

    Source
    pub struct Connecting { /* private fields */ }
    Expand description

    In-progress connection attempt future

    +

    Implementations§

    Source§

    impl Connecting

    Source

    pub fn into_0rtt(self) -> Result<(Connection, ZeroRttAccepted), Self>

    Convert into a 0-RTT or 0.5-RTT connection at the cost of weakened security.

    +
    Source

    pub async fn handshake_data(&mut self) -> Result<Box<dyn Any>, ConnectionError>

    Parameters negotiated during the handshake

    +
    Source

    pub async fn alpn(&mut self) -> Result<Vec<u8>>

    Extracts the ALPN protocol from the peer’s handshake data.

    +

    Trait Implementations§

    Source§

    impl Debug for Connecting

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Future for Connecting

    Source§

    type Output = Result<Connection, ConnectionError>

    The type of value produced on completion.
    Source§

    fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>

    Attempts to resolve the future to a final value, registering +the current task for wakeup if the value is not yet available. Read more
    Source§

    impl<'pin> Unpin for Connecting
    where PinnedFieldsOf<__Connecting<'pin>>: Unpin,

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where diff --git a/pr/2937/docs/iroh/endpoint/struct.Connection.html b/pr/2937/docs/iroh/endpoint/struct.Connection.html index e5da6ec382..3ab6340bd5 100644 --- a/pr/2937/docs/iroh/endpoint/struct.Connection.html +++ b/pr/2937/docs/iroh/endpoint/struct.Connection.html @@ -1,4 +1,4 @@ -Connection in iroh::endpoint - Rust
    iroh::endpoint

    Struct Connection

    Source
    pub struct Connection { /* private fields */ }
    Expand description

    A QUIC connection.

    +Connection in iroh::endpoint - Rust
    iroh::endpoint

    Struct Connection

    Source
    pub struct Connection { /* private fields */ }
    Expand description

    A QUIC connection.

    If all references to a connection (including every clone of the Connection handle, streams of incoming streams, and the various stream types) have been dropped, then the connection will be automatically closed with an error_code of 0 and an empty reason. You @@ -8,29 +8,29 @@ receiving CONNECTION_CLOSE the peer may drop any stream data not yet delivered t application. Connection::close describes in more detail how to gracefully close a connection without losing application data.

    May be cloned to obtain another handle to the same connection.

    -

    Implementations§

    Source§

    impl Connection

    Source

    pub fn open_uni(&self) -> OpenUni<'_> ⓘ

    Initiates a new outgoing unidirectional stream.

    +

    Implementations§

    Source§

    impl Connection

    Source

    pub fn open_uni(&self) -> OpenUni<'_> ⓘ

    Initiates a new outgoing unidirectional stream.

    Streams are cheap and instantaneous to open unless blocked by flow control. As a consequence, the peer won’t be notified that a stream has been opened until the stream is actually used.

    -
    Source

    pub fn open_bi(&self) -> OpenBi<'_> ⓘ

    Initiates a new outgoing bidirectional stream.

    +
    Source

    pub fn open_bi(&self) -> OpenBi<'_> ⓘ

    Initiates a new outgoing bidirectional stream.

    Streams are cheap and instantaneous to open unless blocked by flow control. As a consequence, the peer won’t be notified that a stream has been opened until the stream is actually used. Calling open_bi then waiting on the RecvStream without writing anything to SendStream will never succeed.

    -
    Source

    pub fn accept_uni(&self) -> AcceptUni<'_> ⓘ

    Accepts the next incoming uni-directional stream.

    -
    Source

    pub fn accept_bi(&self) -> AcceptBi<'_> ⓘ

    Accept the next incoming bidirectional stream.

    +
    Source

    pub fn accept_uni(&self) -> AcceptUni<'_> ⓘ

    Accepts the next incoming uni-directional stream.

    +
    Source

    pub fn accept_bi(&self) -> AcceptBi<'_> ⓘ

    Accept the next incoming bidirectional stream.

    Important Note: The peer that calls open_bi must write to its SendStream before the peer Connection is able to accept the stream using accept_bi(). Calling open_bi then waiting on the RecvStream without writing anything to the connected SendStream will never succeed.

    -
    Source

    pub fn read_datagram(&self) -> ReadDatagram<'_> ⓘ

    Receives an application datagram.

    -
    Source

    pub async fn closed(&self) -> ConnectionError

    Wait for the connection to be closed for any reason.

    +
    Source

    pub fn read_datagram(&self) -> ReadDatagram<'_> ⓘ

    Receives an application datagram.

    +
    Source

    pub async fn closed(&self) -> ConnectionError

    Wait for the connection to be closed for any reason.

    Despite the return type’s name, closed connections are often not an error condition at the application layer. Cases that might be routine include ConnectionError::LocallyClosed and ConnectionError::ApplicationClosed.

    -
    Source

    pub fn close_reason(&self) -> Option<ConnectionError>

    If the connection is closed, the reason why.

    +
    Source

    pub fn close_reason(&self) -> Option<ConnectionError>

    If the connection is closed, the reason why.

    Returns None if the connection is still open.

    -
    Source

    pub fn close(&self, error_code: VarInt, reason: &[u8])

    Closes the connection immediately.

    +
    Source

    pub fn close(&self, error_code: VarInt, reason: &[u8])

    Closes the connection immediately.

    Pending operations will fail immediately with ConnectionError::LocallyClosed. No more data is sent to the peer and the peer may drop buffered data upon receiving the CONNECTION_CLOSE frame.

    @@ -39,53 +39,50 @@ peer.

    reason will be truncated to fit in a single packet with overhead; to improve odds that it is preserved in full, it should be kept under 1KiB.

    §Gracefully closing a connection
    -

    Only the peer last receiving application data can be certain that all data is -delivered. The only reliable action it can then take is to close the connection, -potentially with a custom error code. The delivery of the final CONNECTION_CLOSE -frame is very likely if both endpoints stay online long enough, calling -Endpoint::close will wait to provide sufficient time. Otherwise, the remote peer -will time out the connection, provided that the idle timeout is not disabled.

    -

    The sending side can not guarantee all stream data is delivered to the remote -application. It only knows the data is delivered to the QUIC stack of the remote -endpoint. Once the local side sends a CONNECTION_CLOSE frame in response to calling -close the remote endpoint may drop any data it received but is as yet -undelivered to the application, including data that was acknowledged as received to -the local endpoint.

    -
    Source

    pub fn send_datagram(&self, data: Bytes) -> Result<(), SendDatagramError>

    Transmits data as an unreliable, unordered application datagram.

    +

    Only the peer last receiving application data can be certain that all data is +delivered.

    +

    To communicate to the last sender of the application data that all the data was received, we recommend designing protocols that follow this pattern:

    +
      +
    1. The sender sends the last data. It then calls Connection::closed. This will wait until it receives a CONNECTION_CLOSE frame from the other side.
    2. +
    3. The receiver receives the last data. It then calls Connection::close and provides an error_code and/or reason.
    4. +
    5. The sender checks that the error_code is the expected error code.
    6. +
    +

    If the close/closed dance is not done, or is interrupted at any point, the connection will eventually time out, provided that the idle timeout is not disabled.

    +
    Source

    pub fn send_datagram(&self, data: Bytes) -> Result<(), SendDatagramError>

    Transmits data as an unreliable, unordered application datagram.

    Application datagrams are a low-level primitive. They may be lost or delivered out of order, and data must both fit inside a single QUIC packet and be smaller than the maximum dictated by the peer.

    -
    Source

    pub fn max_datagram_size(&self) -> Option<usize>

    Computes the maximum size of datagrams that may be passed to send_datagram.

    +
    Source

    pub fn max_datagram_size(&self) -> Option<usize>

    Computes the maximum size of datagrams that may be passed to send_datagram.

    Returns None if datagrams are unsupported by the peer or disabled locally.

    This may change over the lifetime of a connection according to variation in the path MTU estimate. The peer can also enforce an arbitrarily small fixed limit, but if the peer’s limit is large this is guaranteed to be a little over a kilobyte at minimum.

    Not necessarily the maximum size of received datagrams.

    -
    Source

    pub fn datagram_send_buffer_space(&self) -> usize

    Bytes available in the outgoing datagram buffer.

    +
    Source

    pub fn datagram_send_buffer_space(&self) -> usize

    Bytes available in the outgoing datagram buffer.

    When greater than zero, calling send_datagram with a datagram of at most this size is guaranteed not to cause older datagrams to be dropped.

    -
    Source

    pub fn rtt(&self) -> Duration

    Current best estimate of this connection’s latency (round-trip-time).

    -
    Source

    pub fn stats(&self) -> ConnectionStats

    Returns connection statistics.

    -
    Source

    pub fn congestion_state(&self) -> Box<dyn Controller>

    Current state of the congestion control algorithm, for debugging purposes.

    -
    Source

    pub fn handshake_data(&self) -> Option<Box<dyn Any>>

    Parameters negotiated during the handshake.

    +
    Source

    pub fn rtt(&self) -> Duration

    Current best estimate of this connection’s latency (round-trip-time).

    +
    Source

    pub fn stats(&self) -> ConnectionStats

    Returns connection statistics.

    +
    Source

    pub fn congestion_state(&self) -> Box<dyn Controller>

    Current state of the congestion control algorithm, for debugging purposes.

    +
    Source

    pub fn handshake_data(&self) -> Option<Box<dyn Any>>

    Parameters negotiated during the handshake.

    Guaranteed to return Some on fully established connections or after Connecting::handshake_data() succeeds. See that method’s documentations for details on the returned value.

    -
    Source

    pub fn alpn(&self) -> Option<Vec<u8>>

    Extracts the ALPN protocol from the peer’s handshake data.

    -
    Source

    pub fn peer_identity(&self) -> Option<Box<dyn Any>>

    Cryptographic identity of the peer.

    +
    Source

    pub fn alpn(&self) -> Option<Vec<u8>>

    Extracts the ALPN protocol from the peer’s handshake data.

    +
    Source

    pub fn peer_identity(&self) -> Option<Box<dyn Any>>

    Cryptographic identity of the peer.

    The dynamic type returned is determined by the configured Session. For the default rustls session, the return value can be downcast to a Vec<[rustls::pki_types::CertificateDer]>

    -
    Source

    pub fn remote_node_id(&self) -> Result<NodeId>

    Returns the NodeId from the peer’s TLS certificate.

    +
    Source

    pub fn remote_node_id(&self) -> Result<NodeId>

    Returns the NodeId from the peer’s TLS certificate.

    The PublicKey of a node is also known as a NodeId. This PublicKey is included in the TLS certificate presented during the handshake when connecting. This function allows you to get the NodeId of the remote node of this connection.

    -
    Source

    pub fn stable_id(&self) -> usize

    A stable identifier for this connection.

    +
    Source

    pub fn stable_id(&self) -> usize

    A stable identifier for this connection.

    Peer addresses and connection IDs can change, but this value will remain fixed for the lifetime of the connection.

    -
    Source

    pub fn export_keying_material( +

    Source

    pub fn export_keying_material( &self, output: &mut [u8], label: &[u8], @@ -96,14 +93,14 @@ arguments and output buffers of equal length, they will get the same sequence of bytes in output. These bytes are cryptographically strong and pseudorandom, and are suitable for use as keying material.

    See RFC5705 for more information.

    -

    Source

    pub fn set_max_concurrent_uni_streams(&self, count: VarInt)

    Modifies the number of unidirectional streams that may be concurrently opened.

    +
    Source

    pub fn set_max_concurrent_uni_streams(&self, count: VarInt)

    Modifies the number of unidirectional streams that may be concurrently opened.

    No streams may be opened by the peer unless fewer than count are already open. Large counts increase both minimum and worst-case memory consumption.

    -
    Source

    pub fn set_receive_window(&self, receive_window: VarInt)

    Source

    pub fn set_max_concurrent_bi_streams(&self, count: VarInt)

    Modifies the number of bidirectional streams that may be concurrently opened.

    +
    Source

    pub fn set_receive_window(&self, receive_window: VarInt)

    Source

    pub fn set_max_concurrent_bi_streams(&self, count: VarInt)

    Modifies the number of bidirectional streams that may be concurrently opened.

    No streams may be opened by the peer unless fewer than count are already open. Large counts increase both minimum and worst-case memory consumption.

    -

    Trait Implementations§

    Source§

    impl Clone for Connection

    Source§

    fn clone(&self) -> Connection

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Connection

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl Clone for Connection

    Source§

    fn clone(&self) -> Connection

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Connection

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( diff --git a/pr/2937/docs/iroh/endpoint/struct.ConnectionClose.html b/pr/2937/docs/iroh/endpoint/struct.ConnectionClose.html index acf9115820..11e3540dbc 100644 --- a/pr/2937/docs/iroh/endpoint/struct.ConnectionClose.html +++ b/pr/2937/docs/iroh/endpoint/struct.ConnectionClose.html @@ -1,4 +1,4 @@ -ConnectionClose in iroh::endpoint - Rust
    iroh::endpoint

    Struct ConnectionClose

    pub struct ConnectionClose {
    +ConnectionClose in iroh::endpoint - Rust
    iroh::endpoint

    Struct ConnectionClose

    pub struct ConnectionClose {
         pub error_code: Code,
         pub frame_type: Option<FrameType>,
         pub reason: Bytes,
    diff --git a/pr/2937/docs/iroh/endpoint/struct.ConnectionStats.html b/pr/2937/docs/iroh/endpoint/struct.ConnectionStats.html
    index 149d6ac6e6..4e288ebb7c 100644
    --- a/pr/2937/docs/iroh/endpoint/struct.ConnectionStats.html
    +++ b/pr/2937/docs/iroh/endpoint/struct.ConnectionStats.html
    @@ -1,4 +1,4 @@
    -ConnectionStats in iroh::endpoint - Rust
    iroh::endpoint

    Struct ConnectionStats

    #[non_exhaustive]
    pub struct ConnectionStats { +ConnectionStats in iroh::endpoint - Rust
    iroh::endpoint

    Struct ConnectionStats

    #[non_exhaustive]
    pub struct ConnectionStats { pub udp_tx: UdpStats, pub udp_rx: UdpStats, pub frame_tx: FrameStats, diff --git a/pr/2937/docs/iroh/endpoint/struct.CryptoError.html b/pr/2937/docs/iroh/endpoint/struct.CryptoError.html index 11c4aac739..cd3b3e90e0 100644 --- a/pr/2937/docs/iroh/endpoint/struct.CryptoError.html +++ b/pr/2937/docs/iroh/endpoint/struct.CryptoError.html @@ -1,4 +1,4 @@ -CryptoError in iroh::endpoint - Rust
    iroh::endpoint

    Struct CryptoError

    pub struct CryptoError;
    Expand description

    Generic crypto errors

    +CryptoError in iroh::endpoint - Rust
    iroh::endpoint

    Struct CryptoError

    pub struct CryptoError;
    Expand description

    Generic crypto errors

    Trait Implementations§

    §

    impl Debug for CryptoError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl From<Unspecified> for CryptoError

    §

    fn from(_: Unspecified) -> CryptoError

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where diff --git a/pr/2937/docs/iroh/endpoint/struct.DirectAddr.html b/pr/2937/docs/iroh/endpoint/struct.DirectAddr.html index d9e1a37a0c..a09cb7e8d3 100644 --- a/pr/2937/docs/iroh/endpoint/struct.DirectAddr.html +++ b/pr/2937/docs/iroh/endpoint/struct.DirectAddr.html @@ -1,4 +1,4 @@ -DirectAddr in iroh::endpoint - Rust
    iroh::endpoint

    Struct DirectAddr

    Source
    pub struct DirectAddr {
    +DirectAddr in iroh::endpoint - Rust
    iroh::endpoint

    Struct DirectAddr

    Source
    pub struct DirectAddr {
         pub addr: SocketAddr,
         pub typ: DirectAddrType,
     }
    Expand description

    A direct address on which an iroh-node might be contactable.

    @@ -7,16 +7,16 @@ contacted. These can come from various sources depending on the network topolog iroh node, see DirectAddrType for the several kinds of sources.

    Fields§

    §addr: SocketAddr

    The address.

    §typ: DirectAddrType

    The origin of this direct address.

    -

    Trait Implementations§

    Source§

    impl Clone for DirectAddr

    Source§

    fn clone(&self) -> DirectAddr

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for DirectAddr

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for DirectAddr

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    Trait Implementations§

    Source§

    impl Clone for DirectAddr

    Source§

    fn clone(&self) -> DirectAddr

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for DirectAddr

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for DirectAddr

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Ord for DirectAddr

    Source§

    fn cmp(&self, other: &DirectAddr) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Ord for DirectAddr

    Source§

    fn cmp(&self, other: &DirectAddr) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · Source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · Source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    Source§

    impl PartialEq for DirectAddr

    Source§

    fn eq(&self, other: &DirectAddr) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl PartialOrd for DirectAddr

    Source§

    fn partial_cmp(&self, other: &DirectAddr) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · Source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · Source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more
    Source§

    impl PartialEq for DirectAddr

    Source§

    fn eq(&self, other: &DirectAddr) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl PartialOrd for DirectAddr

    Source§

    fn partial_cmp(&self, other: &DirectAddr) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · Source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · Source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · Source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · Source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    Source§

    impl Eq for DirectAddr

    Source§

    impl StructuralPartialEq for DirectAddr

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +the >= operator. Read more

    Source§

    impl Eq for DirectAddr

    Source§

    impl StructuralPartialEq for DirectAddr

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( diff --git a/pr/2937/docs/iroh/endpoint/struct.DirectAddrInfo.html b/pr/2937/docs/iroh/endpoint/struct.DirectAddrInfo.html index 777b74ceb6..6793297f24 100644 --- a/pr/2937/docs/iroh/endpoint/struct.DirectAddrInfo.html +++ b/pr/2937/docs/iroh/endpoint/struct.DirectAddrInfo.html @@ -1,4 +1,4 @@ -DirectAddrInfo in iroh::endpoint - Rust
    iroh::endpoint

    Struct DirectAddrInfo

    Source
    pub struct DirectAddrInfo {
    +DirectAddrInfo in iroh::endpoint - Rust
    iroh::endpoint

    Struct DirectAddrInfo

    Source
    pub struct DirectAddrInfo {
         pub addr: SocketAddr,
         pub latency: Option<Duration>,
         pub last_control: Option<(Duration, ControlMsg)>,
    diff --git a/pr/2937/docs/iroh/endpoint/struct.Endpoint.html b/pr/2937/docs/iroh/endpoint/struct.Endpoint.html
    index b5ee61676c..35274b02c1 100644
    --- a/pr/2937/docs/iroh/endpoint/struct.Endpoint.html
    +++ b/pr/2937/docs/iroh/endpoint/struct.Endpoint.html
    @@ -1,4 +1,4 @@
    -Endpoint in iroh::endpoint - Rust
    iroh::endpoint

    Struct Endpoint

    Source
    pub struct Endpoint { /* private fields */ }
    Expand description

    Controls an iroh node, establishing connections with other nodes.

    +Endpoint in iroh::endpoint - Rust
    iroh::endpoint

    Struct Endpoint

    Source
    pub struct Endpoint { /* private fields */ }
    Expand description

    Controls an iroh node, establishing connections with other nodes.

    This is the main API interface to create connections to, and accept connections from other iroh nodes. The connections are peer-to-peer and encrypted, a Relay server is used to make the connections reliable. See the [crate docs] for a more detailed @@ -16,11 +16,11 @@ the peer are created using the Connection::open_uni and Connection::open_bi functions.

    Note that due to the light-weight properties of streams a stream will only be accepted once the initiating peer has sent some data on it.

    -

    Implementations§

    Source§

    impl Endpoint

    Source

    pub fn builder() -> Builder

    Returns the builder for an Endpoint, with a production configuration.

    -
    Source

    pub fn set_alpns(&self, alpns: Vec<Vec<u8>>) -> Result<()>

    Sets the list of accepted ALPN protocols.

    +

    Implementations§

    Source§

    impl Endpoint

    Source

    pub fn builder() -> Builder

    Returns the builder for an Endpoint, with a production configuration.

    +
    Source

    pub fn set_alpns(&self, alpns: Vec<Vec<u8>>) -> Result<()>

    Sets the list of accepted ALPN protocols.

    This will only affect new incoming connections. Note that this overrides the current list of ALPNs.

    -
    Source

    pub async fn connect( +

    Source

    pub async fn connect( &self, node_addr: impl Into<NodeAddr>, alpn: &[u8], @@ -41,7 +41,7 @@ connection attempt will fail with an error.

    The alpn, or application-level protocol identifier, is also required. The remote endpoint must support this alpn, otherwise the connection attempt will fail with an error.

    -

    Source

    pub async fn connect_with( +

    Source

    pub async fn connect_with( &self, node_addr: impl Into<NodeAddr>, alpn: &[u8], @@ -52,13 +52,13 @@ the docs of
    Source

    pub fn accept(&self) -> Accept<'_> ⓘ

    Accepts an incoming connection on the endpoint.

    +

    Source

    pub fn accept(&self) -> Accept<'_> ⓘ

    Accepts an incoming connection on the endpoint.

    Only connections with the ALPNs configured in Builder::alpns will be accepted. If multiple ALPNs have been configured the ALPN can be inspected before accepting the connection using Connecting::alpn.

    The returned future will yield None if the endpoint is closed by calling Endpoint::close.

    -
    Source

    pub fn add_node_addr(&self, node_addr: NodeAddr) -> Result<()>

    Informs this Endpoint about addresses of the iroh node.

    +
    Source

    pub fn add_node_addr(&self, node_addr: NodeAddr) -> Result<()>

    Informs this Endpoint about addresses of the iroh node.

    This updates the local state for the remote node. If the provided NodeAddr contains a RelayUrl this will be used as the new relay server for this node. If it contains any new IP endpoints they will also be stored and tried when next @@ -71,7 +71,7 @@ This provides more flexibility and future proofing.

    §Errors

    Will return an error if we attempt to add our own NodeId to the node map or if the direct addresses are a subset of ours.

    -
    Source

    pub fn add_node_addr_with_source( +

    Source

    pub fn add_node_addr_with_source( &self, node_addr: NodeAddr, source: &'static str, @@ -87,15 +87,15 @@ This provides more flexibility and future proofing.

    §Errors

    Will return an error if we attempt to add our own NodeId to the node map or if the direct addresses are a subset of ours.

    -

    Source

    pub fn secret_key(&self) -> &SecretKey

    Returns the secret_key of this endpoint.

    -
    Source

    pub fn node_id(&self) -> NodeId

    Returns the node id of this endpoint.

    +
    Source

    pub fn secret_key(&self) -> &SecretKey

    Returns the secret_key of this endpoint.

    +
    Source

    pub fn node_id(&self) -> NodeId

    Returns the node id of this endpoint.

    This ID is the unique addressing information of this node and other peers must know it to be able to connect to this node.

    -
    Source

    pub async fn node_addr(&self) -> Result<NodeAddr>

    Returns the current NodeAddr for this endpoint.

    +
    Source

    pub async fn node_addr(&self) -> Result<NodeAddr>

    Returns the current NodeAddr for this endpoint.

    The returned NodeAddr will have the current RelayUrl and direct addresses as they would be returned by Endpoint::home_relay and Endpoint::direct_addresses.

    -
    Source

    pub fn home_relay(&self) -> Watcher<Option<RelayUrl>>

    Returns a Watcher for the RelayUrl of the Relay server used as home relay.

    +
    Source

    pub fn home_relay(&self) -> Watcher<Option<RelayUrl>>

    Returns a Watcher for the RelayUrl of the Relay server used as home relay.

    Every endpoint has a home Relay server which it chooses as the server with the lowest latency out of the configured servers provided by Builder::relay_mode. This is the server other iroh nodes can use to reliably establish a connection @@ -111,7 +111,7 @@ some time to connect to find and connect to the home relay server.

    let mep = Endpoint::builder().bind().await.unwrap(); let _relay_url = mep.home_relay().initialized().await.unwrap();
    -

    Source

    pub fn direct_addresses(&self) -> Watcher<Option<BTreeSet<DirectAddr>>>

    Returns a Watcher for the direct addresses of this Endpoint.

    +
    Source

    pub fn direct_addresses(&self) -> Watcher<Option<BTreeSet<DirectAddr>>>

    Returns a Watcher for the direct addresses of this Endpoint.

    The direct addresses of the Endpoint are those that could be used by other iroh nodes to establish direct connectivity, depending on the network situation. The yielded lists of direct addresses contain both the locally-bound @@ -134,10 +134,10 @@ recently discovered direct addresses.

    let mep = Endpoint::builder().bind().await.unwrap(); let _addrs = mep.direct_addresses().initialized().await.unwrap();
    -
    Source

    pub fn bound_sockets(&self) -> (SocketAddr, Option<SocketAddr>)

    Returns the local socket addresses on which the underlying sockets are bound.

    +
    Source

    pub fn bound_sockets(&self) -> (SocketAddr, Option<SocketAddr>)

    Returns the local socket addresses on which the underlying sockets are bound.

    The Endpoint always binds on an IPv4 address and also tries to bind on an IPv6 address if available.

    -
    Source

    pub fn remote_info(&self, node_id: NodeId) -> Option<RemoteInfo>

    Returns information about the remote node identified by a NodeId.

    +
    Source

    pub fn remote_info(&self, node_id: NodeId) -> Option<RemoteInfo>

    Returns information about the remote node identified by a NodeId.

    The Endpoint keeps some information about remote iroh nodes, which it uses to find the best path to a node. Having information on a remote node, however, does not mean we have ever connected to it to or even whether a connection is even possible. The information about a @@ -146,14 +146,14 @@ calls may return different information. Furthermore, node information may even b completely evicted as it becomes stale.

    See also Endpoint::remote_info_iter which returns information on all nodes known by this Endpoint.

    -
    Source

    pub fn remote_info_iter(&self) -> impl Iterator<Item = RemoteInfo>

    Returns information about all the remote nodes this Endpoint knows about.

    +
    Source

    pub fn remote_info_iter(&self) -> impl Iterator<Item = RemoteInfo>

    Returns information about all the remote nodes this Endpoint knows about.

    This returns the same information as Endpoint::remote_info for each node known to this Endpoint.

    The Endpoint keeps some information about remote iroh nodes, which it uses to find the best path to a node. This returns all the nodes it knows about, regardless of whether a connection was ever made or is even possible.

    See also Endpoint::remote_info to only retrieve information about a single node.

    -
    Source

    pub fn conn_type(&self, node_id: NodeId) -> Result<Watcher<ConnectionType>>

    Returns a Watcher that reports the current connection type and any changes for +

    Source

    pub fn conn_type(&self, node_id: NodeId) -> Result<Watcher<ConnectionType>>

    Returns a Watcher that reports the current connection type and any changes for given remote node.

    This watcher allows observing a stream of ConnectionType items by calling Watcher::stream(). If the underlying connection to a remote node changes, it will @@ -172,11 +172,11 @@ recently connected to this node id but previous methods of reaching the node hav become inaccessible.

    §Errors

    Will error if we do not have any address information for the given node_id.

    -
    Source

    pub fn dns_resolver(&self) -> &DnsResolver

    Returns the DNS resolver used in this Endpoint.

    +
    Source

    pub fn dns_resolver(&self) -> &DnsResolver

    Returns the DNS resolver used in this Endpoint.

    See Builder::dns_resolver.

    -
    Source

    pub fn discovery(&self) -> Option<&dyn Discovery>

    Returns the discovery mechanism, if configured.

    +
    Source

    pub fn discovery(&self) -> Option<&dyn Discovery>

    Returns the discovery mechanism, if configured.

    See Builder::discovery.

    -
    Source

    pub async fn network_change(&self)

    Notifies the system of potential network changes.

    +
    Source

    pub async fn network_change(&self)

    Notifies the system of potential network changes.

    On many systems iroh is able to detect network changes by itself, however some systems like android do not expose this functionality to native code. Android does however provide this functionality to Java code. This @@ -184,19 +184,21 @@ function allows for notifying iroh of any potential network changes like this.

    Even when the network did not change, or iroh was already able to detect the network change itself, there is no harm in calling this function.

    -
    Source

    pub async fn close(&self)

    Closes the QUIC endpoint and the magic socket.

    +
    Source

    pub async fn close(&self)

    Closes the QUIC endpoint and the magic socket.

    This will close any remaining open Connections with an error code of 0 and an empty reason. Though it is best practice to close those explicitly before with a custom error code and reason.

    -

    It will then make a best effort to wait for all close notifications to be -acknowledged by the peers, re-transmitting them if needed. This ensures the -peers are aware of the closed connections instead of having to wait for a timeout -on the connection. Once all connections are closed or timed out, the magic socket is closed.

    +

    This will not wait for the [quinn::Endpoint] to drain connections.

    +

    To ensure no data is lost, design protocols so that the last sender +of data in the protocol calls Connection::closed, and awaits until +it receives a “close” message from the receiver. Once the receiver +gets the last data in the protocol, it should call Connection::close +to inform the sender that all data has been received.

    Be aware however that the underlying UDP sockets are only closed on Drop, bearing in mind the Endpoint is only dropped once all the clones are dropped.

    -
    Source

    pub fn is_closed(&self) -> bool

    Check if this endpoint is still alive, or already closed.

    -

    Trait Implementations§

    Source§

    impl Clone for Endpoint

    Source§

    fn clone(&self) -> Endpoint

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Endpoint

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Source

    pub fn is_closed(&self) -> bool

    Check if this endpoint is still alive, or already closed.

    +

    Trait Implementations§

    Source§

    impl Clone for Endpoint

    Source§

    fn clone(&self) -> Endpoint

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Endpoint

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( diff --git a/pr/2937/docs/iroh/endpoint/struct.ExportKeyingMaterialError.html b/pr/2937/docs/iroh/endpoint/struct.ExportKeyingMaterialError.html index 19d0765520..7db35d8334 100644 --- a/pr/2937/docs/iroh/endpoint/struct.ExportKeyingMaterialError.html +++ b/pr/2937/docs/iroh/endpoint/struct.ExportKeyingMaterialError.html @@ -1,4 +1,4 @@ -ExportKeyingMaterialError in iroh::endpoint - Rust
    iroh::endpoint

    Struct ExportKeyingMaterialError

    pub struct ExportKeyingMaterialError;
    Expand description

    Error returned by [Session::export_keying_material].

    +ExportKeyingMaterialError in iroh::endpoint - Rust
    iroh::endpoint

    Struct ExportKeyingMaterialError

    pub struct ExportKeyingMaterialError;
    Expand description

    Error returned by [Session::export_keying_material].

    This error occurs if the requested output length is too large.

    Trait Implementations§

    §

    impl Debug for ExportKeyingMaterialError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for ExportKeyingMaterialError

    §

    fn eq(&self, other: &ExportKeyingMaterialError) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    §

    impl Eq for ExportKeyingMaterialError

    §

    impl StructuralPartialEq for ExportKeyingMaterialError

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where diff --git a/pr/2937/docs/iroh/endpoint/struct.FrameStats.html b/pr/2937/docs/iroh/endpoint/struct.FrameStats.html index b72cd17d1d..f26b6af413 100644 --- a/pr/2937/docs/iroh/endpoint/struct.FrameStats.html +++ b/pr/2937/docs/iroh/endpoint/struct.FrameStats.html @@ -1,4 +1,4 @@ -FrameStats in iroh::endpoint - Rust
    iroh::endpoint

    Struct FrameStats

    #[non_exhaustive]
    pub struct FrameStats {
    Show 25 fields +FrameStats in iroh::endpoint - Rust
    iroh::endpoint

    Struct FrameStats

    #[non_exhaustive]
    pub struct FrameStats {
    Show 25 fields pub acks: u64, pub ack_frequency: u64, pub crypto: u64, diff --git a/pr/2937/docs/iroh/endpoint/struct.Incoming.html b/pr/2937/docs/iroh/endpoint/struct.Incoming.html index 7bb4f9ad69..a2133f88bc 100644 --- a/pr/2937/docs/iroh/endpoint/struct.Incoming.html +++ b/pr/2937/docs/iroh/endpoint/struct.Incoming.html @@ -1,29 +1,29 @@ -Incoming in iroh::endpoint - Rust
    iroh::endpoint

    Struct Incoming

    Source
    pub struct Incoming { /* private fields */ }
    Expand description

    An incoming connection for which the server has not yet begun its parts of the +Incoming in iroh::endpoint - Rust

    iroh::endpoint

    Struct Incoming

    Source
    pub struct Incoming { /* private fields */ }
    Expand description

    An incoming connection for which the server has not yet begun its parts of the handshake.

    -

    Implementations§

    Source§

    impl Incoming

    Source

    pub fn accept(self) -> Result<Connecting, ConnectionError>

    Attempts to accept this incoming connection (an error may still occur).

    +

    Implementations§

    Source§

    impl Incoming

    Source

    pub fn accept(self) -> Result<Connecting, ConnectionError>

    Attempts to accept this incoming connection (an error may still occur).

    Errors occurring here are likely not caused by the application or remote. The QUIC connection listens on a normal UDP socket and any reachable network endpoint can send datagrams to it, solicited or not. Even if the first few bytes look like a QUIC packet, it might not even be a QUIC packet that is being received.

    Thus it is common to simply log the errors here and accept them as something which can happen.

    -
    Source

    pub fn accept_with( +

    Source

    pub fn accept_with( self, server_config: Arc<ServerConfig>, ) -> Result<Connecting, ConnectionError>

    Accepts this incoming connection using a custom configuration.

    See accept() for more details.

    -
    Source

    pub fn refuse(self)

    Rejects this incoming connection attempt.

    -
    Source

    pub fn retry(self) -> Result<(), RetryError>

    Responds with a retry packet.

    +
    Source

    pub fn refuse(self)

    Rejects this incoming connection attempt.

    +
    Source

    pub fn retry(self) -> Result<(), RetryError>

    Responds with a retry packet.

    This requires the client to retry with address validation.

    Errors if remote_address_validated() is true.

    -
    Source

    pub fn ignore(self)

    Ignores this incoming connection attempt, not sending any packet in response.

    -
    Source

    pub fn local_ip(&self) -> Option<IpAddr>

    Returns the local IP address which was used when the peer established the +

    Source

    pub fn ignore(self)

    Ignores this incoming connection attempt, not sending any packet in response.

    +
    Source

    pub fn local_ip(&self) -> Option<IpAddr>

    Returns the local IP address which was used when the peer established the connection.

    -
    Source

    pub fn remote_address(&self) -> SocketAddr

    Returns the peer’s UDP address.

    -
    Source

    pub fn remote_address_validated(&self) -> bool

    Whether the socket address that is initiating this connection has been validated.

    +
    Source

    pub fn remote_address(&self) -> SocketAddr

    Returns the peer’s UDP address.

    +
    Source

    pub fn remote_address_validated(&self) -> bool

    Whether the socket address that is initiating this connection has been validated.

    This means that the sender of the initial packet has proved that they can receive traffic sent to self.remote_address().

    -

    Trait Implementations§

    Source§

    impl Debug for Incoming

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl IntoFuture for Incoming

    Source§

    type Output = Result<Connection, ConnectionError>

    The output that the future will produce on completion.
    Source§

    type IntoFuture = IncomingFuture

    Which kind of future are we turning this into?
    Source§

    fn into_future(self) -> Self::IntoFuture

    Creates a future from a value. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl Debug for Incoming

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl IntoFuture for Incoming

    Source§

    type Output = Result<Connection, ConnectionError>

    The output that the future will produce on completion.
    Source§

    type IntoFuture = IncomingFuture

    Which kind of future are we turning this into?
    Source§

    fn into_future(self) -> Self::IntoFuture

    Creates a future from a value. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( diff --git a/pr/2937/docs/iroh/endpoint/struct.IncomingFuture.html b/pr/2937/docs/iroh/endpoint/struct.IncomingFuture.html index de5ad7aaf6..a522e39be2 100644 --- a/pr/2937/docs/iroh/endpoint/struct.IncomingFuture.html +++ b/pr/2937/docs/iroh/endpoint/struct.IncomingFuture.html @@ -1,6 +1,6 @@ -IncomingFuture in iroh::endpoint - Rust
    iroh::endpoint

    Struct IncomingFuture

    Source
    pub struct IncomingFuture { /* private fields */ }
    Expand description

    Adaptor to let Incoming be awaited like a Connecting.

    -

    Trait Implementations§

    Source§

    impl Debug for IncomingFuture

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Future for IncomingFuture

    Source§

    type Output = Result<Connection, ConnectionError>

    The type of value produced on completion.
    Source§

    fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>

    Attempts to resolve the future to a final value, registering -the current task for wakeup if the value is not yet available. Read more
    Source§

    impl<'pin> Unpin for IncomingFuture
    where +IncomingFuture in iroh::endpoint - Rust
    iroh::endpoint

    Struct IncomingFuture

    Source
    pub struct IncomingFuture { /* private fields */ }
    Expand description

    Adaptor to let Incoming be awaited like a Connecting.

    +

    Trait Implementations§

    Source§

    impl Debug for IncomingFuture

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Future for IncomingFuture

    Source§

    type Output = Result<Connection, ConnectionError>

    The type of value produced on completion.
    Source§

    fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>

    Attempts to resolve the future to a final value, registering +the current task for wakeup if the value is not yet available. Read more
    Source§

    impl<'pin> Unpin for IncomingFuture
    where PinnedFieldsOf<__IncomingFuture<'pin>>: Unpin,

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where diff --git a/pr/2937/docs/iroh/endpoint/struct.MtuDiscoveryConfig.html b/pr/2937/docs/iroh/endpoint/struct.MtuDiscoveryConfig.html index e9f1fe3642..16cac76e99 100644 --- a/pr/2937/docs/iroh/endpoint/struct.MtuDiscoveryConfig.html +++ b/pr/2937/docs/iroh/endpoint/struct.MtuDiscoveryConfig.html @@ -1,4 +1,4 @@ -MtuDiscoveryConfig in iroh::endpoint - Rust
    iroh::endpoint

    Struct MtuDiscoveryConfig

    pub struct MtuDiscoveryConfig { /* private fields */ }
    Expand description

    Parameters governing MTU discovery.

    +MtuDiscoveryConfig in iroh::endpoint - Rust
    iroh::endpoint

    Struct MtuDiscoveryConfig

    pub struct MtuDiscoveryConfig { /* private fields */ }
    Expand description

    Parameters governing MTU discovery.

    §The why of MTU discovery

    By design, QUIC ensures during the handshake that the network path between the client and the server is able to transmit unfragmented UDP packets with a body of 1200 bytes. In other words, diff --git a/pr/2937/docs/iroh/endpoint/struct.OpenBi.html b/pr/2937/docs/iroh/endpoint/struct.OpenBi.html index 1f5d58db33..5055e9582a 100644 --- a/pr/2937/docs/iroh/endpoint/struct.OpenBi.html +++ b/pr/2937/docs/iroh/endpoint/struct.OpenBi.html @@ -1,4 +1,4 @@ -OpenBi in iroh::endpoint - Rust

    iroh::endpoint

    Struct OpenBi

    pub struct OpenBi<'a> { /* private fields */ }
    Expand description

    Future produced by [Connection::open_bi]

    +OpenBi in iroh::endpoint - Rust
    iroh::endpoint

    Struct OpenBi

    pub struct OpenBi<'a> { /* private fields */ }
    Expand description

    Future produced by [Connection::open_bi]

    Trait Implementations§

    §

    impl Future for OpenBi<'_>

    §

    type Output = Result<(SendStream, RecvStream), ConnectionError>

    The type of value produced on completion.
    §

    fn poll( self: Pin<&mut OpenBi<'_>>, ctx: &mut Context<'_>, diff --git a/pr/2937/docs/iroh/endpoint/struct.OpenUni.html b/pr/2937/docs/iroh/endpoint/struct.OpenUni.html index fe204d04b2..018119304b 100644 --- a/pr/2937/docs/iroh/endpoint/struct.OpenUni.html +++ b/pr/2937/docs/iroh/endpoint/struct.OpenUni.html @@ -1,4 +1,4 @@ -OpenUni in iroh::endpoint - Rust
    iroh::endpoint

    Struct OpenUni

    pub struct OpenUni<'a> { /* private fields */ }
    Expand description

    Future produced by [Connection::open_uni]

    +OpenUni in iroh::endpoint - Rust
    iroh::endpoint

    Struct OpenUni

    pub struct OpenUni<'a> { /* private fields */ }
    Expand description

    Future produced by [Connection::open_uni]

    Trait Implementations§

    §

    impl Future for OpenUni<'_>

    §

    type Output = Result<SendStream, ConnectionError>

    The type of value produced on completion.
    §

    fn poll( self: Pin<&mut OpenUni<'_>>, ctx: &mut Context<'_>, diff --git a/pr/2937/docs/iroh/endpoint/struct.PathStats.html b/pr/2937/docs/iroh/endpoint/struct.PathStats.html index c4039bf11e..e5383967e4 100644 --- a/pr/2937/docs/iroh/endpoint/struct.PathStats.html +++ b/pr/2937/docs/iroh/endpoint/struct.PathStats.html @@ -1,4 +1,4 @@ -PathStats in iroh::endpoint - Rust
    iroh::endpoint

    Struct PathStats

    #[non_exhaustive]
    pub struct PathStats { +PathStats in iroh::endpoint - Rust
    iroh::endpoint

    Struct PathStats

    #[non_exhaustive]
    pub struct PathStats { pub rtt: Duration, pub cwnd: u64, pub congestion_events: u64, diff --git a/pr/2937/docs/iroh/endpoint/struct.ReadDatagram.html b/pr/2937/docs/iroh/endpoint/struct.ReadDatagram.html index adffe49636..7cdda38bd1 100644 --- a/pr/2937/docs/iroh/endpoint/struct.ReadDatagram.html +++ b/pr/2937/docs/iroh/endpoint/struct.ReadDatagram.html @@ -1,4 +1,4 @@ -ReadDatagram in iroh::endpoint - Rust
    iroh::endpoint

    Struct ReadDatagram

    pub struct ReadDatagram<'a> { /* private fields */ }
    Expand description

    Future produced by [Connection::read_datagram]

    +ReadDatagram in iroh::endpoint - Rust
    iroh::endpoint

    Struct ReadDatagram

    pub struct ReadDatagram<'a> { /* private fields */ }
    Expand description

    Future produced by [Connection::read_datagram]

    Trait Implementations§

    §

    impl Future for ReadDatagram<'_>

    §

    type Output = Result<Bytes, ConnectionError>

    The type of value produced on completion.
    §

    fn poll( self: Pin<&mut ReadDatagram<'_>>, ctx: &mut Context<'_>, diff --git a/pr/2937/docs/iroh/endpoint/struct.RecvStream.html b/pr/2937/docs/iroh/endpoint/struct.RecvStream.html index 901c627a53..6fb3787a6b 100644 --- a/pr/2937/docs/iroh/endpoint/struct.RecvStream.html +++ b/pr/2937/docs/iroh/endpoint/struct.RecvStream.html @@ -1,4 +1,4 @@ -RecvStream in iroh::endpoint - Rust
    iroh::endpoint

    Struct RecvStream

    pub struct RecvStream { /* private fields */ }
    Expand description

    A stream that can only be used to receive data

    +RecvStream in iroh::endpoint - Rust
    iroh::endpoint

    Struct RecvStream

    pub struct RecvStream { /* private fields */ }
    Expand description

    A stream that can only be used to receive data

    stop(0) is implicitly called on drop unless:

    • A variant of ReadError has been yielded by a read call
    • diff --git a/pr/2937/docs/iroh/endpoint/struct.RemoteInfo.html b/pr/2937/docs/iroh/endpoint/struct.RemoteInfo.html index f730796c58..b7c16c2e72 100644 --- a/pr/2937/docs/iroh/endpoint/struct.RemoteInfo.html +++ b/pr/2937/docs/iroh/endpoint/struct.RemoteInfo.html @@ -1,4 +1,4 @@ -RemoteInfo in iroh::endpoint - Rust
      iroh::endpoint

      Struct RemoteInfo

      Source
      pub struct RemoteInfo {
      +RemoteInfo in iroh::endpoint - Rust
      iroh::endpoint

      Struct RemoteInfo

      Source
      pub struct RemoteInfo {
           pub node_id: NodeId,
           pub relay_url: Option<RelayUrlInfo>,
           pub addrs: Vec<DirectAddrInfo>,
      diff --git a/pr/2937/docs/iroh/endpoint/struct.RetryError.html b/pr/2937/docs/iroh/endpoint/struct.RetryError.html
      index b3bf6b9833..8074377c56 100644
      --- a/pr/2937/docs/iroh/endpoint/struct.RetryError.html
      +++ b/pr/2937/docs/iroh/endpoint/struct.RetryError.html
      @@ -1,4 +1,4 @@
      -RetryError in iroh::endpoint - Rust
      iroh::endpoint

      Struct RetryError

      pub struct RetryError(/* private fields */);
      Expand description

      Error for attempting to retry an [Incoming] which already bears a token from a previous retry

      +RetryError in iroh::endpoint - Rust
      iroh::endpoint

      Struct RetryError

      pub struct RetryError(/* private fields */);
      Expand description

      Error for attempting to retry an [Incoming] which already bears a token from a previous retry

      Implementations§

      §

      impl RetryError

      pub fn into_incoming(self) -> Incoming

      Get the [Incoming]

      Trait Implementations§

      §

      impl Debug for RetryError

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      §

      impl Display for RetryError

      §

      fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      §

      impl Error for RetryError

      1.30.0 · Source§

      fn source(&self) -> Option<&(dyn Error + 'static)>

      Returns the lower-level source of this error, if any. Read more
      1.0.0 · Source§

      fn description(&self) -> &str

      👎Deprecated since 1.42.0: use the Display impl or to_string()
      1.0.0 · Source§

      fn cause(&self) -> Option<&dyn Error>

      👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
      Source§

      fn provide<'a>(&'a self, request: &mut Request<'a>)

      🔬This is a nightly-only experimental API. (error_generic_member_access)
      Provides type-based access to context intended for error reports. Read more

      Auto Trait Implementations§

      Blanket Implementations§

      Source§

      impl<T> Any for T
      where T: 'static + ?Sized,

      Source§

      fn type_id(&self) -> TypeId

      Gets the TypeId of self. Read more
      §

      impl<'a, T, E> AsTaggedExplicit<'a, E> for T
      where diff --git a/pr/2937/docs/iroh/endpoint/struct.SendStream.html b/pr/2937/docs/iroh/endpoint/struct.SendStream.html index d353986525..735fde9a9b 100644 --- a/pr/2937/docs/iroh/endpoint/struct.SendStream.html +++ b/pr/2937/docs/iroh/endpoint/struct.SendStream.html @@ -1,4 +1,4 @@ -SendStream in iroh::endpoint - Rust
      iroh::endpoint

      Struct SendStream

      pub struct SendStream { /* private fields */ }
      Expand description

      A stream that can only be used to send data

      +SendStream in iroh::endpoint - Rust
      iroh::endpoint

      Struct SendStream

      pub struct SendStream { /* private fields */ }
      Expand description

      A stream that can only be used to send data

      If dropped, streams that haven’t been explicitly reset() will be implicitly finish()ed, continuing to (re)transmit previously written data until it has been fully acknowledged or the connection is closed.

      diff --git a/pr/2937/docs/iroh/endpoint/struct.ServerConfig.html b/pr/2937/docs/iroh/endpoint/struct.ServerConfig.html index 115aefbc68..3b3f0b69bc 100644 --- a/pr/2937/docs/iroh/endpoint/struct.ServerConfig.html +++ b/pr/2937/docs/iroh/endpoint/struct.ServerConfig.html @@ -1,4 +1,4 @@ -ServerConfig in iroh::endpoint - Rust
      iroh::endpoint

      Struct ServerConfig

      pub struct ServerConfig {
      +ServerConfig in iroh::endpoint - Rust
      iroh::endpoint

      Struct ServerConfig

      pub struct ServerConfig {
           pub transport: Arc<TransportConfig>,
           pub crypto: Arc<dyn ServerConfig>,
           pub validation_token: ValidationTokenConfig,
      diff --git a/pr/2937/docs/iroh/endpoint/struct.StreamId.html b/pr/2937/docs/iroh/endpoint/struct.StreamId.html
      index ebd91023f3..6dd134ab52 100644
      --- a/pr/2937/docs/iroh/endpoint/struct.StreamId.html
      +++ b/pr/2937/docs/iroh/endpoint/struct.StreamId.html
      @@ -1,4 +1,4 @@
      -StreamId in iroh::endpoint - Rust
      iroh::endpoint

      Struct StreamId

      pub struct StreamId(/* private fields */);
      Expand description

      Identifier for a stream within a particular connection

      +StreamId in iroh::endpoint - Rust
      iroh::endpoint

      Struct StreamId

      pub struct StreamId(/* private fields */);
      Expand description

      Identifier for a stream within a particular connection

      Implementations§

      §

      impl StreamId

      pub fn new(initiator: Side, dir: Dir, index: u64) -> StreamId

      Create a new StreamId

      pub fn initiator(self) -> Side

      Which side of a connection initiated the stream

      pub fn dir(self) -> Dir

      Which directions data flows in

      diff --git a/pr/2937/docs/iroh/endpoint/struct.TransportConfig.html b/pr/2937/docs/iroh/endpoint/struct.TransportConfig.html index 0ac94cdc9b..0b2e5076a6 100644 --- a/pr/2937/docs/iroh/endpoint/struct.TransportConfig.html +++ b/pr/2937/docs/iroh/endpoint/struct.TransportConfig.html @@ -1,4 +1,4 @@ -TransportConfig in iroh::endpoint - Rust
      iroh::endpoint

      Struct TransportConfig

      pub struct TransportConfig { /* private fields */ }
      Expand description

      Parameters governing the core QUIC state machine

      +TransportConfig in iroh::endpoint - Rust
      iroh::endpoint

      Struct TransportConfig

      pub struct TransportConfig { /* private fields */ }
      Expand description

      Parameters governing the core QUIC state machine

      Default values should be suitable for most internet applications. Applications protocols which forbid remotely-initiated streams should set max_concurrent_bidi_streams and max_concurrent_uni_streams to zero.

      diff --git a/pr/2937/docs/iroh/endpoint/struct.TransportError.html b/pr/2937/docs/iroh/endpoint/struct.TransportError.html index 0ff3070076..bd7688da13 100644 --- a/pr/2937/docs/iroh/endpoint/struct.TransportError.html +++ b/pr/2937/docs/iroh/endpoint/struct.TransportError.html @@ -1,4 +1,4 @@ -TransportError in iroh::endpoint - Rust
      iroh::endpoint

      Struct TransportError

      pub struct TransportError {
      +TransportError in iroh::endpoint - Rust
      iroh::endpoint

      Struct TransportError

      pub struct TransportError {
           pub code: Code,
           pub frame: Option<FrameType>,
           pub reason: String,
      diff --git a/pr/2937/docs/iroh/endpoint/struct.TransportErrorCode.html b/pr/2937/docs/iroh/endpoint/struct.TransportErrorCode.html
      index 29965082c1..82d4153a71 100644
      --- a/pr/2937/docs/iroh/endpoint/struct.TransportErrorCode.html
      +++ b/pr/2937/docs/iroh/endpoint/struct.TransportErrorCode.html
      @@ -1,4 +1,4 @@
      -TransportErrorCode in iroh::endpoint - Rust
      iroh::endpoint

      Struct TransportErrorCode

      pub struct TransportErrorCode(/* private fields */);
      Expand description

      Transport-level error code

      +TransportErrorCode in iroh::endpoint - Rust
      iroh::endpoint

      Struct TransportErrorCode

      pub struct TransportErrorCode(/* private fields */);
      Expand description

      Transport-level error code

      Implementations§

      §

      impl Code

      pub fn crypto(code: u8) -> Code

      Create QUIC error code from TLS alert code

      §

      impl Code

      pub const NO_ERROR: Code = _

      the connection is being closed abruptly in the absence of any error

      pub const INTERNAL_ERROR: Code = _

      the endpoint encountered an internal error and cannot continue with the connection

      diff --git a/pr/2937/docs/iroh/endpoint/struct.UdpStats.html b/pr/2937/docs/iroh/endpoint/struct.UdpStats.html index 73e455c69a..256fe131ba 100644 --- a/pr/2937/docs/iroh/endpoint/struct.UdpStats.html +++ b/pr/2937/docs/iroh/endpoint/struct.UdpStats.html @@ -1,4 +1,4 @@ -UdpStats in iroh::endpoint - Rust
      iroh::endpoint

      Struct UdpStats

      #[non_exhaustive]
      pub struct UdpStats { +UdpStats in iroh::endpoint - Rust
      iroh::endpoint

      Struct UdpStats

      #[non_exhaustive]
      pub struct UdpStats { pub datagrams: u64, pub bytes: u64, pub ios: u64, diff --git a/pr/2937/docs/iroh/endpoint/struct.UnsupportedVersion.html b/pr/2937/docs/iroh/endpoint/struct.UnsupportedVersion.html index 4d745eaf0b..9247af73fb 100644 --- a/pr/2937/docs/iroh/endpoint/struct.UnsupportedVersion.html +++ b/pr/2937/docs/iroh/endpoint/struct.UnsupportedVersion.html @@ -1,4 +1,4 @@ -UnsupportedVersion in iroh::endpoint - Rust
      iroh::endpoint

      Struct UnsupportedVersion

      pub struct UnsupportedVersion;
      Expand description

      Error indicating that the specified QUIC version is not supported

      +UnsupportedVersion in iroh::endpoint - Rust
      iroh::endpoint

      Struct UnsupportedVersion

      pub struct UnsupportedVersion;
      Expand description

      Error indicating that the specified QUIC version is not supported

      Trait Implementations§

      §

      impl Debug for UnsupportedVersion

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more

      Auto Trait Implementations§

      Blanket Implementations§

      Source§

      impl<T> Any for T
      where T: 'static + ?Sized,

      Source§

      fn type_id(&self) -> TypeId

      Gets the TypeId of self. Read more
      §

      impl<'a, T, E> AsTaggedExplicit<'a, E> for T
      where T: 'a,

      §

      fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

      §

      impl<'a, T, E> AsTaggedImplicit<'a, E> for T
      where diff --git a/pr/2937/docs/iroh/endpoint/struct.VarInt.html b/pr/2937/docs/iroh/endpoint/struct.VarInt.html index 6c88fe8a17..7884d5251c 100644 --- a/pr/2937/docs/iroh/endpoint/struct.VarInt.html +++ b/pr/2937/docs/iroh/endpoint/struct.VarInt.html @@ -1,4 +1,4 @@ -VarInt in iroh::endpoint - Rust
      iroh::endpoint

      Struct VarInt

      pub struct VarInt(/* private fields */);
      Expand description

      An integer less than 2^62

      +VarInt in iroh::endpoint - Rust
      iroh::endpoint

      Struct VarInt

      pub struct VarInt(/* private fields */);
      Expand description

      An integer less than 2^62

      Values of this type are suitable for encoding as QUIC variable-length integer.

      Implementations§

      §

      impl VarInt

      pub const MAX: VarInt = _

      The largest representable value

      pub const MAX_SIZE: usize = 8usize

      The largest encoded value length

      diff --git a/pr/2937/docs/iroh/endpoint/struct.WeakConnectionHandle.html b/pr/2937/docs/iroh/endpoint/struct.WeakConnectionHandle.html index 74bdc5d826..1e7a9279d7 100644 --- a/pr/2937/docs/iroh/endpoint/struct.WeakConnectionHandle.html +++ b/pr/2937/docs/iroh/endpoint/struct.WeakConnectionHandle.html @@ -1,4 +1,4 @@ -WeakConnectionHandle in iroh::endpoint - Rust
      iroh::endpoint

      Struct WeakConnectionHandle

      pub struct WeakConnectionHandle(/* private fields */);
      Expand description

      A handle to some connection internals, use with care.

      +WeakConnectionHandle in iroh::endpoint - Rust
      iroh::endpoint

      Struct WeakConnectionHandle

      pub struct WeakConnectionHandle(/* private fields */);
      Expand description

      A handle to some connection internals, use with care.

      This contains a weak reference to the connection so will not itself keep the connection alive.

      Implementations§

      §

      impl WeakConnectionHandle

      pub fn is_alive(&self) -> bool

      Returns true if the [Connection] associated with this handle is still alive.

      diff --git a/pr/2937/docs/iroh/endpoint/struct.Written.html b/pr/2937/docs/iroh/endpoint/struct.Written.html index fe3f7e1491..9845c25b3d 100644 --- a/pr/2937/docs/iroh/endpoint/struct.Written.html +++ b/pr/2937/docs/iroh/endpoint/struct.Written.html @@ -1,4 +1,4 @@ -Written in iroh::endpoint - Rust
      iroh::endpoint

      Struct Written

      pub struct Written {
      +Written in iroh::endpoint - Rust
      iroh::endpoint

      Struct Written

      pub struct Written {
           pub bytes: usize,
           pub chunks: usize,
       }
      Expand description

      Indicates how many bytes and chunks had been transferred in a write operation

      diff --git a/pr/2937/docs/iroh/endpoint/struct.ZeroRttAccepted.html b/pr/2937/docs/iroh/endpoint/struct.ZeroRttAccepted.html index 42600122df..1c29e5cf39 100644 --- a/pr/2937/docs/iroh/endpoint/struct.ZeroRttAccepted.html +++ b/pr/2937/docs/iroh/endpoint/struct.ZeroRttAccepted.html @@ -1,4 +1,4 @@ -ZeroRttAccepted in iroh::endpoint - Rust
      iroh::endpoint

      Struct ZeroRttAccepted

      pub struct ZeroRttAccepted(/* private fields */);
      Expand description

      Future that completes when a connection is fully established

      +ZeroRttAccepted in iroh::endpoint - Rust
      iroh::endpoint

      Struct ZeroRttAccepted

      pub struct ZeroRttAccepted(/* private fields */);
      Expand description

      Future that completes when a connection is fully established

      For clients, the resulting value indicates if 0-RTT was accepted. For servers, the resulting value is meaningless.

      Trait Implementations§

      §

      impl Future for ZeroRttAccepted

      §

      type Output = bool

      The type of value produced on completion.
      §

      fn poll( diff --git a/pr/2937/docs/iroh/endpoint/trait.AeadKey.html b/pr/2937/docs/iroh/endpoint/trait.AeadKey.html index 7cda0518f7..fa0cb46485 100644 --- a/pr/2937/docs/iroh/endpoint/trait.AeadKey.html +++ b/pr/2937/docs/iroh/endpoint/trait.AeadKey.html @@ -1,4 +1,4 @@ -AeadKey in iroh::endpoint - Rust
      iroh::endpoint

      Trait AeadKey

      pub trait AeadKey {
      +AeadKey in iroh::endpoint - Rust
      iroh::endpoint

      Trait AeadKey

      pub trait AeadKey {
           // Required methods
           fn seal(
               &self,
      diff --git a/pr/2937/docs/iroh/endpoint/trait.Controller.html b/pr/2937/docs/iroh/endpoint/trait.Controller.html
      index 33c6087950..8a1cac25a6 100644
      --- a/pr/2937/docs/iroh/endpoint/trait.Controller.html
      +++ b/pr/2937/docs/iroh/endpoint/trait.Controller.html
      @@ -1,4 +1,4 @@
      -Controller in iroh::endpoint - Rust
      iroh::endpoint

      Trait Controller

      pub trait Controller: Send + Sync {
      +Controller in iroh::endpoint - Rust
      iroh::endpoint

      Trait Controller

      pub trait Controller: Send + Sync {
           // Required methods
           fn on_congestion_event(
               &mut self,
      diff --git a/pr/2937/docs/iroh/endpoint/trait.ControllerFactory.html b/pr/2937/docs/iroh/endpoint/trait.ControllerFactory.html
      index 6a7aa978d3..4a1e28a5c8 100644
      --- a/pr/2937/docs/iroh/endpoint/trait.ControllerFactory.html
      +++ b/pr/2937/docs/iroh/endpoint/trait.ControllerFactory.html
      @@ -1,4 +1,4 @@
      -ControllerFactory in iroh::endpoint - Rust
      iroh::endpoint

      Trait ControllerFactory

      pub trait ControllerFactory {
      +ControllerFactory in iroh::endpoint - Rust
      iroh::endpoint

      Trait ControllerFactory

      pub trait ControllerFactory {
           // Required method
           fn build(
               self: Arc<Self>,
      diff --git a/pr/2937/docs/iroh/endpoint/trait.CryptoServerConfig.html b/pr/2937/docs/iroh/endpoint/trait.CryptoServerConfig.html
      index 12dc181c56..144ad8f745 100644
      --- a/pr/2937/docs/iroh/endpoint/trait.CryptoServerConfig.html
      +++ b/pr/2937/docs/iroh/endpoint/trait.CryptoServerConfig.html
      @@ -1,4 +1,4 @@
      -CryptoServerConfig in iroh::endpoint - Rust
      iroh::endpoint

      Trait CryptoServerConfig

      pub trait CryptoServerConfig: Send + Sync {
      +CryptoServerConfig in iroh::endpoint - Rust
      iroh::endpoint

      Trait CryptoServerConfig

      pub trait CryptoServerConfig: Send + Sync {
           // Required methods
           fn initial_keys(
               &self,
      diff --git a/pr/2937/docs/iroh/endpoint/trait.HandshakeTokenKey.html b/pr/2937/docs/iroh/endpoint/trait.HandshakeTokenKey.html
      index 8990a71f71..9ae00ea6d1 100644
      --- a/pr/2937/docs/iroh/endpoint/trait.HandshakeTokenKey.html
      +++ b/pr/2937/docs/iroh/endpoint/trait.HandshakeTokenKey.html
      @@ -1,4 +1,4 @@
      -HandshakeTokenKey in iroh::endpoint - Rust
      iroh::endpoint

      Trait HandshakeTokenKey

      pub trait HandshakeTokenKey: Send + Sync {
      +HandshakeTokenKey in iroh::endpoint - Rust
      iroh::endpoint

      Trait HandshakeTokenKey

      pub trait HandshakeTokenKey: Send + Sync {
           // Required method
           fn aead_from_hkdf(&self, random_bytes: &[u8]) -> Box<dyn AeadKey>;
       }
      Expand description

      A pseudo random key for HKDF

      diff --git a/pr/2937/docs/iroh/enum.KeyParsingError.html b/pr/2937/docs/iroh/enum.KeyParsingError.html index c8fa3bb866..43f88f4f52 100644 --- a/pr/2937/docs/iroh/enum.KeyParsingError.html +++ b/pr/2937/docs/iroh/enum.KeyParsingError.html @@ -1,4 +1,4 @@ -KeyParsingError in iroh - Rust
      iroh

      Enum KeyParsingError

      Source
      pub enum KeyParsingError {
      +KeyParsingError in iroh - Rust
      iroh

      Enum KeyParsingError

      Source
      pub enum KeyParsingError {
           Decode(DecodeError),
           Key(Error),
           DecodeInvalidLength,
      diff --git a/pr/2937/docs/iroh/index.html b/pr/2937/docs/iroh/index.html
      index b143f5ce18..cd650ac8f0 100644
      --- a/pr/2937/docs/iroh/index.html
      +++ b/pr/2937/docs/iroh/index.html
      @@ -1,4 +1,4 @@
      -iroh - Rust

      Crate iroh

      Source
      Expand description

      Peer-to-peer QUIC connections.

      +iroh - Rust

      Crate iroh

      Source
      Expand description

      Peer-to-peer QUIC connections.

      iroh is a library to establish direct connectivity between peers. It exposes an interface to QUIC connections and streams to the user, while implementing direct connectivity using hole punching complemented by relay servers under the hood.

      diff --git a/pr/2937/docs/iroh/metrics/index.html b/pr/2937/docs/iroh/metrics/index.html index 6375419b26..335a134aad 100644 --- a/pr/2937/docs/iroh/metrics/index.html +++ b/pr/2937/docs/iroh/metrics/index.html @@ -1,2 +1,2 @@ -iroh::metrics - Rust
      iroh

      Module metrics

      Source
      Expand description

      Co-locating all of the iroh metrics structs

      +iroh::metrics - Rust
      iroh

      Module metrics

      Source
      Expand description

      Co-locating all of the iroh metrics structs

      Structs§

      \ No newline at end of file diff --git a/pr/2937/docs/iroh/metrics/struct.MagicsockMetrics.html b/pr/2937/docs/iroh/metrics/struct.MagicsockMetrics.html index 5f2aeb9e9b..3490a2952f 100644 --- a/pr/2937/docs/iroh/metrics/struct.MagicsockMetrics.html +++ b/pr/2937/docs/iroh/metrics/struct.MagicsockMetrics.html @@ -1,4 +1,4 @@ -MagicsockMetrics in iroh::metrics - Rust
      iroh::metrics

      Struct MagicsockMetrics

      Source
      #[non_exhaustive]
      pub struct MagicsockMetrics {
      Show 45 fields +MagicsockMetrics in iroh::metrics - Rust
      iroh::metrics

      Struct MagicsockMetrics

      Source
      #[non_exhaustive]
      pub struct MagicsockMetrics {
      Show 45 fields pub re_stun_calls: Counter, pub update_direct_addrs: Counter, pub send_ipv4: Counter, diff --git a/pr/2937/docs/iroh/metrics/struct.NetReportMetrics.html b/pr/2937/docs/iroh/metrics/struct.NetReportMetrics.html index 7bdb327cf2..8398a8798e 100644 --- a/pr/2937/docs/iroh/metrics/struct.NetReportMetrics.html +++ b/pr/2937/docs/iroh/metrics/struct.NetReportMetrics.html @@ -1,4 +1,4 @@ -NetReportMetrics in iroh::metrics - Rust
      iroh::metrics

      Struct NetReportMetrics

      Source
      pub struct NetReportMetrics {
      +NetReportMetrics in iroh::metrics - Rust
      iroh::metrics

      Struct NetReportMetrics

      Source
      pub struct NetReportMetrics {
           pub stun_packets_dropped: Counter,
           pub stun_packets_sent_ipv4: Counter,
           pub stun_packets_sent_ipv6: Counter,
      diff --git a/pr/2937/docs/iroh/metrics/struct.PortmapMetrics.html b/pr/2937/docs/iroh/metrics/struct.PortmapMetrics.html
      index 841a908570..25009906a5 100644
      --- a/pr/2937/docs/iroh/metrics/struct.PortmapMetrics.html
      +++ b/pr/2937/docs/iroh/metrics/struct.PortmapMetrics.html
      @@ -1,4 +1,4 @@
      -PortmapMetrics in iroh::metrics - Rust
      iroh::metrics

      Struct PortmapMetrics

      pub struct PortmapMetrics {
      +PortmapMetrics in iroh::metrics - Rust
      iroh::metrics

      Struct PortmapMetrics

      pub struct PortmapMetrics {
           pub probes_started: Counter,
           pub local_port_updates: Counter,
           pub mapping_attempts: Counter,
      diff --git a/pr/2937/docs/iroh/metrics/struct.RelayMetrics.html b/pr/2937/docs/iroh/metrics/struct.RelayMetrics.html
      index cad83dc4e3..bd8603c62c 100644
      --- a/pr/2937/docs/iroh/metrics/struct.RelayMetrics.html
      +++ b/pr/2937/docs/iroh/metrics/struct.RelayMetrics.html
      @@ -1,4 +1,4 @@
      -RelayMetrics in iroh::metrics - Rust
      iroh::metrics

      Struct RelayMetrics

      pub struct RelayMetrics {
      Show 21 fields +RelayMetrics in iroh::metrics - Rust
      iroh::metrics

      Struct RelayMetrics

      Source
      pub struct RelayMetrics {
      Show 21 fields pub bytes_sent: Counter, pub bytes_recv: Counter, pub send_packets_sent: Counter, @@ -42,7 +42,7 @@
      §unique_client_keys: Counter

      Number of unique client keys per day

      §websocket_accepts: Counter

      Number of accepted websocket connections

      §relay_accepts: Counter

      Number of accepted ‘iroh derp http’ connection upgrades

      -

      Trait Implementations§

      §

      impl Clone for Metrics

      §

      fn clone(&self) -> Metrics

      Returns a copy of the value. Read more
      1.0.0 · Source§

      fn clone_from(&mut self, source: &Self)

      Performs copy-assignment from source. Read more
      §

      impl Debug for Metrics

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      §

      impl Default for Metrics

      §

      fn default() -> Metrics

      Returns the “default value” for a type. Read more
      §

      impl Iterable for Metrics

      §

      fn iter<'a>(&'a self) -> IntoIter<(&'static str, &'a (dyn Any + 'static))>

      Returns an iterator over the struct’s fields as tuples. Read more
      §

      impl Metric for Metrics

      §

      fn name() -> &'static str

      The name of this metric group.
      §

      fn new(registry: &mut Registry) -> Self

      Available on crate feature metrics only.
      Initializes this metric group.
      §

      fn with_metric<T, F>(f: F)
      where +

      Trait Implementations§

      Source§

      impl Clone for Metrics

      Source§

      fn clone(&self) -> Metrics

      Returns a copy of the value. Read more
      1.0.0 · Source§

      fn clone_from(&mut self, source: &Self)

      Performs copy-assignment from source. Read more
      Source§

      impl Debug for Metrics

      Source§

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      Source§

      impl Default for Metrics

      Source§

      fn default() -> Metrics

      Returns the “default value” for a type. Read more
      Source§

      impl Iterable for Metrics

      Source§

      fn iter<'a>(&'a self) -> IntoIter<(&'static str, &'a (dyn Any + 'static))>

      Returns an iterator over the struct’s fields as tuples. Read more
      Source§

      impl Metric for Metrics

      Source§

      fn name() -> &'static str

      The name of this metric group.
      §

      fn new(registry: &mut Registry) -> Self

      Available on crate feature metrics only.
      Initializes this metric group.
      §

      fn with_metric<T, F>(f: F)
      where F: FnOnce(&Self) -> T,

      Available on crate feature metrics only.
      Access to this metrics group to record a metric. Only records if this metric is registered in the global registry.
      §

      fn try_get() -> Option<&'static Self>

      Attempts to get the current metric from the global registry.

      Auto Trait Implementations§

      Blanket Implementations§

      Source§

      impl<T> Any for T
      where T: 'static + ?Sized,

      Source§

      fn type_id(&self) -> TypeId

      Gets the TypeId of self. Read more
      §

      impl<'a, T, E> AsTaggedExplicit<'a, E> for T
      where diff --git a/pr/2937/docs/iroh/protocol/index.html b/pr/2937/docs/iroh/protocol/index.html index a3dab8a49c..2d27c21838 100644 --- a/pr/2937/docs/iroh/protocol/index.html +++ b/pr/2937/docs/iroh/protocol/index.html @@ -1,4 +1,4 @@ -iroh::protocol - Rust
      iroh

      Module protocol

      Source
      Expand description

      Tools for spawning an accept loop that routes incoming requests to the right protocol.

      +iroh::protocol - Rust
      iroh

      Module protocol

      Source
      Expand description

      Tools for spawning an accept loop that routes incoming requests to the right protocol.

      §Example

      let endpoint = Endpoint::builder().discovery_n0().bind().await?;
       
      diff --git a/pr/2937/docs/iroh/protocol/struct.Router.html b/pr/2937/docs/iroh/protocol/struct.Router.html
      index 3021b01708..1d555223e3 100644
      --- a/pr/2937/docs/iroh/protocol/struct.Router.html
      +++ b/pr/2937/docs/iroh/protocol/struct.Router.html
      @@ -1,4 +1,4 @@
      -Router in iroh::protocol - Rust
      iroh::protocol

      Struct Router

      Source
      pub struct Router { /* private fields */ }
      Expand description

      The built router.

      +Router in iroh::protocol - Rust
      iroh::protocol

      Struct Router

      Source
      pub struct Router { /* private fields */ }
      Expand description

      The built router.

      Construct this using Router::builder.

      When dropped, this will abort listening the tasks, so make sure to store it.

      Even with this abort-on-drop behaviour, it’s recommended to call and await diff --git a/pr/2937/docs/iroh/protocol/struct.RouterBuilder.html b/pr/2937/docs/iroh/protocol/struct.RouterBuilder.html index 6b82b501ae..b3148d1785 100644 --- a/pr/2937/docs/iroh/protocol/struct.RouterBuilder.html +++ b/pr/2937/docs/iroh/protocol/struct.RouterBuilder.html @@ -1,4 +1,4 @@ -RouterBuilder in iroh::protocol - Rust

      iroh::protocol

      Struct RouterBuilder

      Source
      pub struct RouterBuilder { /* private fields */ }
      Expand description

      Builder for creating a Router for accepting protocols.

      +RouterBuilder in iroh::protocol - Rust
      iroh::protocol

      Struct RouterBuilder

      Source
      pub struct RouterBuilder { /* private fields */ }
      Expand description

      Builder for creating a Router for accepting protocols.

      Implementations§

      Source§

      impl RouterBuilder

      Source

      pub fn new(endpoint: Endpoint) -> Self

      Creates a new router builder using given Endpoint.

      Source

      pub fn accept<T: ProtocolHandler>( self, diff --git a/pr/2937/docs/iroh/protocol/trait.ProtocolHandler.html b/pr/2937/docs/iroh/protocol/trait.ProtocolHandler.html index 6f49ecd37c..0104cc3b7d 100644 --- a/pr/2937/docs/iroh/protocol/trait.ProtocolHandler.html +++ b/pr/2937/docs/iroh/protocol/trait.ProtocolHandler.html @@ -1,4 +1,4 @@ -ProtocolHandler in iroh::protocol - Rust
      iroh::protocol

      Trait ProtocolHandler

      Source
      pub trait ProtocolHandler:
      +ProtocolHandler in iroh::protocol - Rust
      iroh::protocol

      Trait ProtocolHandler

      Source
      pub trait ProtocolHandler:
           Send
           + Sync
           + Debug
      diff --git a/pr/2937/docs/iroh/struct.NodeAddr.html b/pr/2937/docs/iroh/struct.NodeAddr.html
      index d6bf029cf8..62a1b53ee8 100644
      --- a/pr/2937/docs/iroh/struct.NodeAddr.html
      +++ b/pr/2937/docs/iroh/struct.NodeAddr.html
      @@ -1,4 +1,4 @@
      -NodeAddr in iroh - Rust
      iroh

      Struct NodeAddr

      Source
      pub struct NodeAddr {
      +NodeAddr in iroh - Rust
      iroh

      Struct NodeAddr

      Source
      pub struct NodeAddr {
           pub node_id: PublicKey,
           pub relay_url: Option<RelayUrl>,
           pub direct_addresses: BTreeSet<SocketAddr>,
      @@ -44,8 +44,8 @@ whenever a connection to other nodes needs to be established.

      Trait Implementations§

      Source§

      impl Clone for NodeAddr

      Source§

      fn clone(&self) -> NodeAddr

      Returns a copy of the value. Read more
      1.0.0 · Source§

      fn clone_from(&mut self, source: &Self)

      Performs copy-assignment from source. Read more
      Source§

      impl Debug for NodeAddr

      Source§

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      Source§

      impl<'de> Deserialize<'de> for NodeAddr

      Source§

      fn deserialize<__D>( __deserializer: __D, ) -> Result<NodeAddr, <__D as Deserializer<'de>>::Error>
      where - __D: Deserializer<'de>,

      Deserialize this value from the given Serde deserializer. Read more
      Source§

      impl From<(PublicKey, Option<RelayUrl>, &[SocketAddr])> for NodeAddr

      Source§

      fn from(value: (PublicKey, Option<RelayUrl>, &[SocketAddr])) -> NodeAddr

      Converts to this type from the input type.
      Source§

      impl From<NodeInfo> for NodeAddr

      Source§

      fn from(value: NodeInfo) -> Self

      Converts to this type from the input type.
      Source§

      impl From<NodeTicket> for NodeAddr

      Source§

      fn from(ticket: NodeTicket) -> NodeAddr

      Returns the addressing info from given ticket.

      -
      Source§

      impl From<PublicKey> for NodeAddr

      Source§

      fn from(node_id: PublicKey) -> NodeAddr

      Converts to this type from the input type.
      Source§

      impl From<RemoteInfo> for NodeAddr

      Source§

      fn from(info: RemoteInfo) -> Self

      Converts to this type from the input type.
      Source§

      impl Ord for NodeAddr

      Source§

      fn cmp(&self, other: &NodeAddr) -> Ordering

      This method returns an Ordering between self and other. Read more
      1.21.0 · Source§

      fn max(self, other: Self) -> Self
      where + __D: Deserializer<'de>,

      Deserialize this value from the given Serde deserializer. Read more
      Source§

      impl From<(PublicKey, Option<RelayUrl>, &[SocketAddr])> for NodeAddr

      Source§

      fn from(value: (PublicKey, Option<RelayUrl>, &[SocketAddr])) -> NodeAddr

      Converts to this type from the input type.
      Source§

      impl From<NodeInfo> for NodeAddr

      Source§

      fn from(value: NodeInfo) -> NodeAddr

      Converts to this type from the input type.
      Source§

      impl From<NodeTicket> for NodeAddr

      Source§

      fn from(ticket: NodeTicket) -> NodeAddr

      Returns the addressing info from given ticket.

      +
      Source§

      impl From<PublicKey> for NodeAddr

      Source§

      fn from(node_id: PublicKey) -> NodeAddr

      Converts to this type from the input type.
      Source§

      impl From<RemoteInfo> for NodeAddr

      Source§

      fn from(info: RemoteInfo) -> Self

      Converts to this type from the input type.
      Source§

      impl Ord for NodeAddr

      Source§

      fn cmp(&self, other: &NodeAddr) -> Ordering

      This method returns an Ordering between self and other. Read more
      1.21.0 · Source§

      fn max(self, other: Self) -> Self
      where Self: Sized,

      Compares and returns the maximum of two values. Read more
      1.21.0 · Source§

      fn min(self, other: Self) -> Self
      where Self: Sized,

      Compares and returns the minimum of two values. Read more
      1.50.0 · Source§

      fn clamp(self, min: Self, max: Self) -> Self
      where Self: Sized,

      Restrict a value to a certain interval. Read more
      Source§

      impl PartialEq for NodeAddr

      Source§

      fn eq(&self, other: &NodeAddr) -> bool

      Tests for self and other values to be equal, and is used by ==.
      1.0.0 · Source§

      fn ne(&self, other: &Rhs) -> bool

      Tests for !=. The default implementation is almost always sufficient, diff --git a/pr/2937/docs/iroh/struct.PublicKey.html b/pr/2937/docs/iroh/struct.PublicKey.html index 34d90c81bc..3ca1f85372 100644 --- a/pr/2937/docs/iroh/struct.PublicKey.html +++ b/pr/2937/docs/iroh/struct.PublicKey.html @@ -1,4 +1,4 @@ -PublicKey in iroh - Rust
      iroh

      Struct PublicKey

      Source
      pub struct PublicKey(/* private fields */);
      Expand description

      A public key.

      +PublicKey in iroh - Rust
      iroh

      Struct PublicKey

      Source
      pub struct PublicKey(/* private fields */);
      Expand description

      A public key.

      The key itself is stored as the CompressedEdwards y coordinate of the public key It is verified to decompress into a valid key when created.

      Implementations§

      Source§

      impl PublicKey

      Source

      pub const LENGTH: usize = 32usize

      The length of an ed25519 PublicKey, in bytes.

      @@ -23,7 +23,7 @@ representation of the key.

      Source§

      type Err = KeyParsingError

      The associated error which can be returned from parsing.
      Source§

      fn from_str(s: &str) -> Result<PublicKey, <PublicKey as FromStr>::Err>

      Parses a string s to return a value of this type. Read more
      Source§

      impl Hash for PublicKey

      Source§

      fn hash<H>(&self, state: &mut H)
      where H: Hasher,

      Feeds this value into the given Hasher. Read more
      1.3.0 · Source§

      fn hash_slice<H>(data: &[Self], state: &mut H)
      where H: Hasher, - Self: Sized,

      Feeds a slice of this type into the given Hasher. Read more
      Source§

      impl Ord for PublicKey

      Source§

      fn cmp(&self, other: &PublicKey) -> Ordering

      This method returns an Ordering between self and other. Read more
      1.21.0 · Source§

      fn max(self, other: Self) -> Self
      where + Self: Sized,

      Feeds a slice of this type into the given Hasher. Read more
      Source§

      impl NodeIdExt for PublicKey

      Source§

      fn to_z32(&self) -> String

      Encodes a NodeId in [z-base-32] encoding.
      Source§

      fn from_z32(s: &str) -> Result<PublicKey, Error>

      Parses a NodeId from [z-base-32] encoding.
      Source§

      impl Ord for PublicKey

      Source§

      fn cmp(&self, other: &PublicKey) -> Ordering

      This method returns an Ordering between self and other. Read more
      1.21.0 · Source§

      fn max(self, other: Self) -> Self
      where Self: Sized,

      Compares and returns the maximum of two values. Read more
      1.21.0 · Source§

      fn min(self, other: Self) -> Self
      where Self: Sized,

      Compares and returns the minimum of two values. Read more
      1.50.0 · Source§

      fn clamp(self, min: Self, max: Self) -> Self
      where Self: Sized,

      Restrict a value to a certain interval. Read more
      Source§

      impl PartialEq for PublicKey

      Source§

      fn eq(&self, other: &PublicKey) -> bool

      Tests for self and other values to be equal, and is used by ==.
      1.0.0 · Source§

      fn ne(&self, other: &Rhs) -> bool

      Tests for !=. The default implementation is almost always sufficient, diff --git a/pr/2937/docs/iroh/struct.RelayMap.html b/pr/2937/docs/iroh/struct.RelayMap.html index 4941fcbf26..ad510e7b89 100644 --- a/pr/2937/docs/iroh/struct.RelayMap.html +++ b/pr/2937/docs/iroh/struct.RelayMap.html @@ -1,26 +1,26 @@ -RelayMap in iroh - Rust
      iroh

      Struct RelayMap

      pub struct RelayMap { /* private fields */ }
      Expand description

      Configuration of all the relay servers that can be used.

      -

      Implementations§

      §

      impl RelayMap

      pub fn urls(&self) -> impl Iterator<Item = &RelayUrl>

      Returns the sorted relay URLs.

      -

      pub fn empty() -> RelayMap

      Create an empty relay map.

      -

      pub fn nodes(&self) -> impl Iterator<Item = &Arc<RelayNode>>

      Returns an Iterator over all known nodes.

      -

      pub fn contains_node(&self, url: &RelayUrl) -> bool

      Is this a known node?

      -

      pub fn get_node(&self, url: &RelayUrl) -> Option<&Arc<RelayNode>>

      Get the given node.

      -

      pub fn len(&self) -> usize

      How many nodes are known?

      -

      pub fn is_empty(&self) -> bool

      Are there any nodes in this map?

      -

      pub fn default_from_node(url: RelayUrl, stun_port: u16) -> RelayMap

      Creates a new RelayMap with a single relay server configured.

      +RelayMap in iroh - Rust
      iroh

      Struct RelayMap

      Source
      pub struct RelayMap { /* private fields */ }
      Expand description

      Configuration of all the relay servers that can be used.

      +

      Implementations§

      Source§

      impl RelayMap

      Source

      pub fn urls(&self) -> impl Iterator<Item = &RelayUrl>

      Returns the sorted relay URLs.

      +
      Source

      pub fn empty() -> RelayMap

      Create an empty relay map.

      +
      Source

      pub fn nodes(&self) -> impl Iterator<Item = &Arc<RelayNode>>

      Returns an Iterator over all known nodes.

      +
      Source

      pub fn contains_node(&self, url: &RelayUrl) -> bool

      Is this a known node?

      +
      Source

      pub fn get_node(&self, url: &RelayUrl) -> Option<&Arc<RelayNode>>

      Get the given node.

      +
      Source

      pub fn len(&self) -> usize

      How many nodes are known?

      +
      Source

      pub fn is_empty(&self) -> bool

      Are there any nodes in this map?

      +
      Source

      pub fn default_from_node(url: RelayUrl, stun_port: u16) -> RelayMap

      Creates a new RelayMap with a single relay server configured.

      Allows to set a custom STUN port and different IP addresses for IPv4 and IPv6. If IP addresses are provided, no DNS lookup will be performed.

      Sets the port to the default DEFAULT_RELAY_QUIC_PORT.

      -

      pub fn from_url(url: RelayUrl) -> RelayMap

      Returns a RelayMap from a RelayUrl.

      +
      Source

      pub fn from_url(url: RelayUrl) -> RelayMap

      Returns a RelayMap from a RelayUrl.

      This will use the default STUN port, the default QUIC port (as defined by the iroh-relay crate) and IP addresses resolved from the URL’s host name via DNS. relay nodes are specified at <../../docs/relay_nodes.md>

      -

      pub fn from_nodes<I>( +

      Source

      pub fn from_nodes<I>( value: impl IntoIterator<Item = I>, ) -> Result<RelayMap, Error>
      where I: Into<Arc<RelayNode>>,

      Constructs the RelayMap from an iterator of RelayNodes.

      -

      Trait Implementations§

      §

      impl Clone for RelayMap

      §

      fn clone(&self) -> RelayMap

      Returns a copy of the value. Read more
      1.0.0 · Source§

      fn clone_from(&mut self, source: &Self)

      Performs copy-assignment from source. Read more
      §

      impl Debug for RelayMap

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      §

      impl Display for RelayMap

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      §

      impl PartialEq for RelayMap

      §

      fn eq(&self, other: &RelayMap) -> bool

      Tests for self and other values to be equal, and is used by ==.
      1.0.0 · Source§

      fn ne(&self, other: &Rhs) -> bool

      Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
      §

      impl Eq for RelayMap

      §

      impl StructuralPartialEq for RelayMap

      Auto Trait Implementations§

      Blanket Implementations§

      Source§

      impl<T> Any for T
      where +

      Trait Implementations§

      Source§

      impl Clone for RelayMap

      Source§

      fn clone(&self) -> RelayMap

      Returns a copy of the value. Read more
      1.0.0 · Source§

      fn clone_from(&mut self, source: &Self)

      Performs copy-assignment from source. Read more
      Source§

      impl Debug for RelayMap

      Source§

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      Source§

      impl Display for RelayMap

      Source§

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      Source§

      impl PartialEq for RelayMap

      Source§

      fn eq(&self, other: &RelayMap) -> bool

      Tests for self and other values to be equal, and is used by ==.
      1.0.0 · Source§

      fn ne(&self, other: &Rhs) -> bool

      Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
      Source§

      impl Eq for RelayMap

      Source§

      impl StructuralPartialEq for RelayMap

      Auto Trait Implementations§

      Blanket Implementations§

      Source§

      impl<T> Any for T
      where T: 'static + ?Sized,

      Source§

      fn type_id(&self) -> TypeId

      Gets the TypeId of self. Read more
      §

      impl<'a, T, E> AsTaggedExplicit<'a, E> for T
      where T: 'a,

      §

      fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

      §

      impl<'a, T, E> AsTaggedImplicit<'a, E> for T
      where T: 'a,

      §

      fn implicit( diff --git a/pr/2937/docs/iroh/struct.RelayNode.html b/pr/2937/docs/iroh/struct.RelayNode.html index d340701c19..e0d299c8d8 100644 --- a/pr/2937/docs/iroh/struct.RelayNode.html +++ b/pr/2937/docs/iroh/struct.RelayNode.html @@ -1,8 +1,8 @@ -RelayNode in iroh - Rust
      iroh

      Struct RelayNode

      pub struct RelayNode {
      +RelayNode in iroh - Rust
      iroh

      Struct RelayNode

      Source
      pub struct RelayNode {
           pub url: RelayUrl,
           pub stun_only: bool,
           pub stun_port: u16,
      -    pub quic: Option<RelayQuicConfig>,
      +    pub quic: Option<RelayQuicConfig>,
       }
      Expand description

      Information on a specific relay server.

      Includes the Url where it can be dialed.

      Fields§

      §url: RelayUrl

      The RelayUrl where this relay server can be dialed.

      @@ -11,24 +11,24 @@ functionality is used.

      §stun_port: u16

      The stun port of the relay server.

      Setting this to 0 means the default STUN port is used.

      -
      §quic: Option<RelayQuicConfig>

      Configuration to speak to the QUIC endpoint on the relay server.

      +
      §quic: Option<RelayQuicConfig>

      Configuration to speak to the QUIC endpoint on the relay server.

      When None, we will not attempt to do QUIC address discovery with this relay server.

      -

      Trait Implementations§

      §

      impl Clone for RelayNode

      §

      fn clone(&self) -> RelayNode

      Returns a copy of the value. Read more
      1.0.0 · Source§

      fn clone_from(&mut self, source: &Self)

      Performs copy-assignment from source. Read more
      §

      impl Debug for RelayNode

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      §

      impl<'de> Deserialize<'de> for RelayNode

      §

      fn deserialize<__D>( +

      Trait Implementations§

      Source§

      impl Clone for RelayNode

      Source§

      fn clone(&self) -> RelayNode

      Returns a copy of the value. Read more
      1.0.0 · Source§

      fn clone_from(&mut self, source: &Self)

      Performs copy-assignment from source. Read more
      Source§

      impl Debug for RelayNode

      Source§

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      Source§

      impl<'de> Deserialize<'de> for RelayNode

      Source§

      fn deserialize<__D>( __deserializer: __D, ) -> Result<RelayNode, <__D as Deserializer<'de>>::Error>
      where - __D: Deserializer<'de>,

      Deserialize this value from the given Serde deserializer. Read more
      §

      impl Display for RelayNode

      §

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      §

      impl Ord for RelayNode

      §

      fn cmp(&self, other: &RelayNode) -> Ordering

      This method returns an Ordering between self and other. Read more
      1.21.0 · Source§

      fn max(self, other: Self) -> Self
      where + __D: Deserializer<'de>,

      Deserialize this value from the given Serde deserializer. Read more
      Source§

      impl Display for RelayNode

      Source§

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      Source§

      impl Ord for RelayNode

      Source§

      fn cmp(&self, other: &RelayNode) -> Ordering

      This method returns an Ordering between self and other. Read more
      1.21.0 · Source§

      fn max(self, other: Self) -> Self
      where Self: Sized,

      Compares and returns the maximum of two values. Read more
      1.21.0 · Source§

      fn min(self, other: Self) -> Self
      where Self: Sized,

      Compares and returns the minimum of two values. Read more
      1.50.0 · Source§

      fn clamp(self, min: Self, max: Self) -> Self
      where - Self: Sized,

      Restrict a value to a certain interval. Read more
      §

      impl PartialEq for RelayNode

      §

      fn eq(&self, other: &RelayNode) -> bool

      Tests for self and other values to be equal, and is used by ==.
      1.0.0 · Source§

      fn ne(&self, other: &Rhs) -> bool

      Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
      §

      impl PartialOrd for RelayNode

      §

      fn partial_cmp(&self, other: &RelayNode) -> Option<Ordering>

      This method returns an ordering between self and other values if one exists. Read more
      1.0.0 · Source§

      fn lt(&self, other: &Rhs) -> bool

      Tests less than (for self and other) and is used by the < operator. Read more
      1.0.0 · Source§

      fn le(&self, other: &Rhs) -> bool

      Tests less than or equal to (for self and other) and is used by the + Self: Sized,

      Restrict a value to a certain interval. Read more
      Source§

      impl PartialEq for RelayNode

      Source§

      fn eq(&self, other: &RelayNode) -> bool

      Tests for self and other values to be equal, and is used by ==.
      1.0.0 · Source§

      fn ne(&self, other: &Rhs) -> bool

      Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
      Source§

      impl PartialOrd for RelayNode

      Source§

      fn partial_cmp(&self, other: &RelayNode) -> Option<Ordering>

      This method returns an ordering between self and other values if one exists. Read more
      1.0.0 · Source§

      fn lt(&self, other: &Rhs) -> bool

      Tests less than (for self and other) and is used by the < operator. Read more
      1.0.0 · Source§

      fn le(&self, other: &Rhs) -> bool

      Tests less than or equal to (for self and other) and is used by the <= operator. Read more
      1.0.0 · Source§

      fn gt(&self, other: &Rhs) -> bool

      Tests greater than (for self and other) and is used by the > operator. Read more
      1.0.0 · Source§

      fn ge(&self, other: &Rhs) -> bool

      Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
      §

      impl Serialize for RelayNode

      §

      fn serialize<__S>( +the >= operator. Read more

      Source§

      impl Serialize for RelayNode

      Source§

      fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
      where - __S: Serializer,

      Serialize this value into the given Serde serializer. Read more
      §

      impl Eq for RelayNode

      §

      impl StructuralPartialEq for RelayNode

      Auto Trait Implementations§

      Blanket Implementations§

      Source§

      impl<T> Any for T
      where + __S: Serializer,

      Serialize this value into the given Serde serializer. Read more
      Source§

      impl Eq for RelayNode

      Source§

      impl StructuralPartialEq for RelayNode

      Auto Trait Implementations§

      Blanket Implementations§

      Source§

      impl<T> Any for T
      where T: 'static + ?Sized,

      Source§

      fn type_id(&self) -> TypeId

      Gets the TypeId of self. Read more
      §

      impl<'a, T, E> AsTaggedExplicit<'a, E> for T
      where T: 'a,

      §

      fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

      §

      impl<'a, T, E> AsTaggedImplicit<'a, E> for T
      where T: 'a,

      §

      fn implicit( diff --git a/pr/2937/docs/iroh/struct.RelayUrl.html b/pr/2937/docs/iroh/struct.RelayUrl.html index 46603e8786..7260c009cd 100644 --- a/pr/2937/docs/iroh/struct.RelayUrl.html +++ b/pr/2937/docs/iroh/struct.RelayUrl.html @@ -1,4 +1,4 @@ -RelayUrl in iroh - Rust
      iroh

      Struct RelayUrl

      Source
      pub struct RelayUrl(/* private fields */);
      Expand description

      A URL identifying a relay server.

      +RelayUrl in iroh - Rust
      iroh

      Struct RelayUrl

      Source
      pub struct RelayUrl(/* private fields */);
      Expand description

      A URL identifying a relay server.

      It is cheaply clonable, as the underlying type is wrapped into an Arc. The main type under the hood though is Url, with a few custom tweaks:

        diff --git a/pr/2937/docs/iroh/struct.RelayUrlParseError.html b/pr/2937/docs/iroh/struct.RelayUrlParseError.html index 3bd8f48d43..695516a7e8 100644 --- a/pr/2937/docs/iroh/struct.RelayUrlParseError.html +++ b/pr/2937/docs/iroh/struct.RelayUrlParseError.html @@ -1,4 +1,4 @@ -RelayUrlParseError in iroh - Rust
        iroh

        Struct RelayUrlParseError

        Source
        pub struct RelayUrlParseError(/* private fields */);
        Expand description

        Can occur when parsing a string into a RelayUrl.

        +RelayUrlParseError in iroh - Rust
        iroh

        Struct RelayUrlParseError

        Source
        pub struct RelayUrlParseError(/* private fields */);
        Expand description

        Can occur when parsing a string into a RelayUrl.

        Trait Implementations§

        Source§

        impl Debug for RelayUrlParseError

        Source§

        fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

        Formats the value using the given formatter. Read more
        Source§

        impl Display for RelayUrlParseError

        Source§

        fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

        Formats the value using the given formatter. Read more
        Source§

        impl Error for RelayUrlParseError

        Source§

        fn source(&self) -> Option<&(dyn Error + 'static)>

        Returns the lower-level source of this error, if any. Read more
        1.0.0 · Source§

        fn description(&self) -> &str

        👎Deprecated since 1.42.0: use the Display impl or to_string()
        1.0.0 · Source§

        fn cause(&self) -> Option<&dyn Error>

        👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
        Source§

        fn provide<'a>(&'a self, request: &mut Request<'a>)

        🔬This is a nightly-only experimental API. (error_generic_member_access)
        Provides type-based access to context intended for error reports. Read more
        Source§

        impl From<ParseError> for RelayUrlParseError

        Source§

        fn from(source: ParseError) -> RelayUrlParseError

        Converts to this type from the input type.

        Auto Trait Implementations§

        Blanket Implementations§

        Source§

        impl<T> Any for T
        where T: 'static + ?Sized,

        Source§

        fn type_id(&self) -> TypeId

        Gets the TypeId of self. Read more
        §

        impl<'a, T, E> AsTaggedExplicit<'a, E> for T
        where T: 'a,

        §

        fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

        §

        impl<'a, T, E> AsTaggedImplicit<'a, E> for T
        where diff --git a/pr/2937/docs/iroh/struct.SecretKey.html b/pr/2937/docs/iroh/struct.SecretKey.html index 63d54244ad..b48cbde546 100644 --- a/pr/2937/docs/iroh/struct.SecretKey.html +++ b/pr/2937/docs/iroh/struct.SecretKey.html @@ -1,4 +1,4 @@ -SecretKey in iroh - Rust
        iroh

        Struct SecretKey

        Source
        pub struct SecretKey { /* private fields */ }
        Expand description

        A secret key.

        +SecretKey in iroh - Rust
        iroh

        Struct SecretKey

        Source
        pub struct SecretKey { /* private fields */ }
        Expand description

        A secret key.

        Implementations§

        Source§

        impl SecretKey

        Source

        pub fn public(&self) -> PublicKey

        The public key of this SecretKey.

        Source

        pub fn serialize_secret_pem(&self) -> Zeroizing<String>

        Serializes the secret key as PEM

        Source

        pub fn generate<R>(csprng: R) -> SecretKey
        where diff --git a/pr/2937/docs/iroh/test_utils/dns_server/fn.create_dns_resolver.html b/pr/2937/docs/iroh/test_utils/dns_server/fn.create_dns_resolver.html deleted file mode 100644 index 3074cd544d..0000000000 --- a/pr/2937/docs/iroh/test_utils/dns_server/fn.create_dns_resolver.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Redirection - - -

        Redirecting to ../../../iroh/test_utils/fn.create_dns_resolver.html...

        - - - \ No newline at end of file diff --git a/pr/2937/docs/iroh/test_utils/fn.create_dns_resolver.html b/pr/2937/docs/iroh/test_utils/fn.create_dns_resolver.html deleted file mode 100644 index 1568e8beb7..0000000000 --- a/pr/2937/docs/iroh/test_utils/fn.create_dns_resolver.html +++ /dev/null @@ -1,2 +0,0 @@ -create_dns_resolver in iroh::test_utils - Rust
        iroh::test_utils

        Function create_dns_resolver

        Source
        pub fn create_dns_resolver(nameserver: SocketAddr) -> Result<TokioResolver>
        Available on crate feature test-utils only.
        Expand description

        Create a DNS resolver with a single nameserver.

        -
        \ No newline at end of file diff --git a/pr/2937/docs/iroh/test_utils/fn.run_relay_server.html b/pr/2937/docs/iroh/test_utils/fn.run_relay_server.html index 8186abcbd7..f19ab89786 100644 --- a/pr/2937/docs/iroh/test_utils/fn.run_relay_server.html +++ b/pr/2937/docs/iroh/test_utils/fn.run_relay_server.html @@ -1,4 +1,4 @@ -run_relay_server in iroh::test_utils - Rust
        iroh::test_utils

        Function run_relay_server

        Source
        pub async fn run_relay_server() -> Result<(RelayMap, RelayUrl, Server)>
        Available on crate feature test-utils only.
        Expand description

        Runs a relay server with STUN and QUIC enabled suitable for tests.

        +run_relay_server in iroh::test_utils - Rust
        iroh::test_utils

        Function run_relay_server

        Source
        pub async fn run_relay_server() -> Result<(RelayMap, RelayUrl, Server)>
        Available on crate feature test-utils only.
        Expand description

        Runs a relay server with STUN and QUIC enabled suitable for tests.

        The returned Url is the url of the relay server in the returned RelayMap. -When dropped, the returned [Server] does will stop running.

        +When dropped, the returned Server does will stop running.

        \ No newline at end of file diff --git a/pr/2937/docs/iroh/test_utils/fn.run_relay_server_with.html b/pr/2937/docs/iroh/test_utils/fn.run_relay_server_with.html index aaf9523511..0ad34df4a0 100644 --- a/pr/2937/docs/iroh/test_utils/fn.run_relay_server_with.html +++ b/pr/2937/docs/iroh/test_utils/fn.run_relay_server_with.html @@ -1,9 +1,9 @@ -run_relay_server_with in iroh::test_utils - Rust
        iroh::test_utils

        Function run_relay_server_with

        Source
        pub async fn run_relay_server_with(
        -    stun: Option<StunConfig>,
        +run_relay_server_with in iroh::test_utils - Rust
        iroh::test_utils

        Function run_relay_server_with

        Source
        pub async fn run_relay_server_with(
        +    stun: Option<StunConfig>,
             quic: bool,
        -) -> Result<(RelayMap, RelayUrl, Server)>
        Available on crate feature test-utils only.
        Expand description

        Runs a relay server.

        +) -> Result<(RelayMap, RelayUrl, Server)>
        Available on crate feature test-utils only.
        Expand description

        Runs a relay server.

        stun can be set to None to disable stun, or set to Some StunConfig, to enable stun on a specific socket.

        -

        If quic is set to true, it will make the appropriate [QuicConfig] from the generated tls certificates and run the quic server at a random free port.

        +

        If quic is set to true, it will make the appropriate QuicConfig from the generated tls certificates and run the quic server at a random free port.

        The return value is similar to run_relay_server.

        \ No newline at end of file diff --git a/pr/2937/docs/iroh/test_utils/fn.run_relay_server_with_stun.html b/pr/2937/docs/iroh/test_utils/fn.run_relay_server_with_stun.html index fb41540b2e..08a116f21d 100644 --- a/pr/2937/docs/iroh/test_utils/fn.run_relay_server_with_stun.html +++ b/pr/2937/docs/iroh/test_utils/fn.run_relay_server_with_stun.html @@ -1,4 +1,4 @@ -run_relay_server_with_stun in iroh::test_utils - Rust
        iroh::test_utils

        Function run_relay_server_with_stun

        Source
        pub async fn run_relay_server_with_stun() -> Result<(RelayMap, RelayUrl, Server)>
        Available on crate feature test-utils only.
        Expand description

        Runs a relay server with STUN enabled suitable for tests.

        +run_relay_server_with_stun in iroh::test_utils - Rust
        iroh::test_utils

        Function run_relay_server_with_stun

        Source
        pub async fn run_relay_server_with_stun() -> Result<(RelayMap, RelayUrl, Server)>
        Available on crate feature test-utils only.
        Expand description

        Runs a relay server with STUN enabled suitable for tests.

        The returned Url is the url of the relay server in the returned RelayMap. -When dropped, the returned [Server] does will stop running.

        +When dropped, the returned Server does will stop running.

        \ No newline at end of file diff --git a/pr/2937/docs/iroh/test_utils/index.html b/pr/2937/docs/iroh/test_utils/index.html index 5cb172a3e4..af469c77e3 100644 --- a/pr/2937/docs/iroh/test_utils/index.html +++ b/pr/2937/docs/iroh/test_utils/index.html @@ -1,2 +1,2 @@ -iroh::test_utils - Rust
        iroh

        Module test_utils

        Source
        Available on crate feature test-utils only.
        Expand description

        Internal utilities to support testing.

        -

        Structs§

        Functions§

        \ No newline at end of file +iroh::test_utils - Rust
        iroh

        Module test_utils

        Source
        Available on crate feature test-utils only.
        Expand description

        Internal utilities to support testing.

        +

        Structs§

        Functions§

        \ No newline at end of file diff --git a/pr/2937/docs/iroh/test_utils/sidebar-items.js b/pr/2937/docs/iroh/test_utils/sidebar-items.js index 80a5e2fff6..e802792f51 100644 --- a/pr/2937/docs/iroh/test_utils/sidebar-items.js +++ b/pr/2937/docs/iroh/test_utils/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"fn":["create_dns_resolver","run_relay_server","run_relay_server_with","run_relay_server_with_stun"],"struct":["CleanupDropGuard","DnsPkarrServer"]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"fn":["run_relay_server","run_relay_server_with","run_relay_server_with_stun"],"struct":["CleanupDropGuard","DnsPkarrServer"]}; \ No newline at end of file diff --git a/pr/2937/docs/iroh/test_utils/struct.CleanupDropGuard.html b/pr/2937/docs/iroh/test_utils/struct.CleanupDropGuard.html index 916bafa6d9..ce45b4d5e0 100644 --- a/pr/2937/docs/iroh/test_utils/struct.CleanupDropGuard.html +++ b/pr/2937/docs/iroh/test_utils/struct.CleanupDropGuard.html @@ -1,7 +1,7 @@ -CleanupDropGuard in iroh::test_utils - Rust
        iroh::test_utils

        Struct CleanupDropGuard

        Source
        pub struct CleanupDropGuard(/* private fields */);
        Available on crate feature test-utils only.
        Expand description

        A drop guard to clean up test infrastructure.

        +CleanupDropGuard in iroh::test_utils - Rust
        iroh::test_utils

        Struct CleanupDropGuard

        Source
        pub struct CleanupDropGuard(/* private fields */);
        Available on crate feature test-utils only.
        Expand description

        A drop guard to clean up test infrastructure.

        After dropping the test infrastructure will asynchronously shutdown and release its resources.

        -

        Trait Implementations§

        Source§

        impl Debug for CleanupDropGuard

        Source§

        fn fmt(&self, f: &mut Formatter<'_>) -> Result

        Formats the value using the given formatter. Read more

        Auto Trait Implementations§

        Blanket Implementations§

        Source§

        impl<T> Any for T
        where +

        Trait Implementations§

        Source§

        impl Debug for CleanupDropGuard

        Source§

        fn fmt(&self, f: &mut Formatter<'_>) -> Result

        Formats the value using the given formatter. Read more

        Auto Trait Implementations§

        Blanket Implementations§

        Source§

        impl<T> Any for T
        where T: 'static + ?Sized,

        Source§

        fn type_id(&self) -> TypeId

        Gets the TypeId of self. Read more
        §

        impl<'a, T, E> AsTaggedExplicit<'a, E> for T
        where T: 'a,

        §

        fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

        §

        impl<'a, T, E> AsTaggedImplicit<'a, E> for T
        where T: 'a,

        §

        fn implicit( diff --git a/pr/2937/docs/iroh/test_utils/struct.DnsPkarrServer.html b/pr/2937/docs/iroh/test_utils/struct.DnsPkarrServer.html index 5f949d36fd..28c5304969 100644 --- a/pr/2937/docs/iroh/test_utils/struct.DnsPkarrServer.html +++ b/pr/2937/docs/iroh/test_utils/struct.DnsPkarrServer.html @@ -1,4 +1,4 @@ -DnsPkarrServer in iroh::test_utils - Rust
        iroh::test_utils

        Struct DnsPkarrServer

        Source
        pub struct DnsPkarrServer {
        +DnsPkarrServer in iroh::test_utils - Rust
        iroh::test_utils

        Struct DnsPkarrServer

        Source
        pub struct DnsPkarrServer {
             pub node_origin: String,
             pub nameserver: SocketAddr,
             pub pkarr_url: Url,
        @@ -8,14 +8,14 @@
         

        Fields§

        §node_origin: String

        The node origin domain.

        §nameserver: SocketAddr

        The socket address of the DNS server.

        §pkarr_url: Url

        The HTTP URL of the Pkarr server.

        -

        Implementations§

        Source§

        impl DnsPkarrServer

        Source

        pub async fn run() -> Result<Self>

        Run DNS and Pkarr servers on localhost.

        -
        Source

        pub async fn run_with_origin(node_origin: String) -> Result<Self>

        Run DNS and Pkarr servers on localhost with the specified node_origin domain.

        -
        Source

        pub fn discovery(&self, secret_key: SecretKey) -> Box<ConcurrentDiscovery>

        Implementations§

        Source§

        impl DnsPkarrServer

        Source

        pub async fn run() -> Result<Self>

        Run DNS and Pkarr servers on localhost.

        +
        Source

        pub async fn run_with_origin(node_origin: String) -> Result<Self>

        Run DNS and Pkarr servers on localhost with the specified node_origin domain.

        +
        Source

        pub fn discovery(&self, secret_key: SecretKey) -> Box<ConcurrentDiscovery>

        Create a ConcurrentDiscovery with DnsDiscovery and PkarrPublisher configured to use the test servers.

        -
        Source

        pub fn dns_resolver(&self) -> DnsResolver

        Create a DnsResolver configured to use the test DNS server.

        -
        Source

        pub async fn on_node(&self, node_id: &NodeId, timeout: Duration) -> Result<()>

        Wait until a Pkarr announce for a node is published to the server.

        +
        Source

        pub fn dns_resolver(&self) -> DnsResolver

        Create a DnsResolver configured to use the test DNS server.

        +
        Source

        pub async fn on_node(&self, node_id: &NodeId, timeout: Duration) -> Result<()>

        Wait until a Pkarr announce for a node is published to the server.

        If timeout elapses an error is returned.

        -

        Trait Implementations§

        Source§

        impl Debug for DnsPkarrServer

        Source§

        fn fmt(&self, f: &mut Formatter<'_>) -> Result

        Formats the value using the given formatter. Read more

        Auto Trait Implementations§

        Blanket Implementations§

        Source§

        impl<T> Any for T
        where +

        Trait Implementations§

        Source§

        impl Debug for DnsPkarrServer

        Source§

        fn fmt(&self, f: &mut Formatter<'_>) -> Result

        Formats the value using the given formatter. Read more

        Auto Trait Implementations§

        Blanket Implementations§

        Source§

        impl<T> Any for T
        where T: 'static + ?Sized,

        Source§

        fn type_id(&self) -> TypeId

        Gets the TypeId of self. Read more
        §

        impl<'a, T, E> AsTaggedExplicit<'a, E> for T
        where T: 'a,

        §

        fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

        §

        impl<'a, T, E> AsTaggedImplicit<'a, E> for T
        where T: 'a,

        §

        fn implicit( diff --git a/pr/2937/docs/iroh/type.NodeId.html b/pr/2937/docs/iroh/type.NodeId.html index 5a7871fdbb..b72028ebf3 100644 --- a/pr/2937/docs/iroh/type.NodeId.html +++ b/pr/2937/docs/iroh/type.NodeId.html @@ -1,4 +1,4 @@ -NodeId in iroh - Rust
        iroh

        Type Alias NodeId

        Source
        pub type NodeId = PublicKey;
        Expand description

        The identifier for a node in the (iroh) network.

        +NodeId in iroh - Rust
        iroh

        Type Alias NodeId

        Source
        pub type NodeId = PublicKey;
        Expand description

        The identifier for a node in the (iroh) network.

        Each node in iroh has a unique identifier created as a cryptographic key. This can be used to globally identify a node. Since it is also a cryptographic key it is also the mechanism by which all traffic is always encrypted for a specific node only.

        diff --git a/pr/2937/docs/iroh/watchable/index.html b/pr/2937/docs/iroh/watchable/index.html index 69f1bfee24..4a2000ec1f 100644 --- a/pr/2937/docs/iroh/watchable/index.html +++ b/pr/2937/docs/iroh/watchable/index.html @@ -1,4 +1,4 @@ -iroh::watchable - Rust
        iroh

        Module watchable

        Source
        Expand description

        Watchable values.

        +iroh::watchable - Rust
        iroh

        Module watchable

        Source
        Expand description

        Watchable values.

        A Watchable exists to keep track of a value which may change over time. It allows observers to be notified of changes to the value. The aim is to always be aware of the last value, not to observe every value change.

        diff --git a/pr/2937/docs/iroh/watchable/struct.Disconnected.html b/pr/2937/docs/iroh/watchable/struct.Disconnected.html index 773234aff1..97f1fa945b 100644 --- a/pr/2937/docs/iroh/watchable/struct.Disconnected.html +++ b/pr/2937/docs/iroh/watchable/struct.Disconnected.html @@ -1,4 +1,4 @@ -Disconnected in iroh::watchable - Rust
        iroh::watchable

        Struct Disconnected

        Source
        pub struct Disconnected;
        Expand description

        The error for when a Watcher is disconnected from its underlying +Disconnected in iroh::watchable - Rust

        iroh::watchable

        Struct Disconnected

        Source
        pub struct Disconnected;
        Expand description

        The error for when a Watcher is disconnected from its underlying Watchable value, because of that watchable having been dropped.

        Trait Implementations§

        Source§

        impl Debug for Disconnected

        Source§

        fn fmt(&self, f: &mut Formatter<'_>) -> Result

        Formats the value using the given formatter. Read more
        Source§

        impl Display for Disconnected

        Source§

        fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

        Formats the value using the given formatter. Read more
        Source§

        impl Error for Disconnected

        1.30.0 · Source§

        fn source(&self) -> Option<&(dyn Error + 'static)>

        Returns the lower-level source of this error, if any. Read more
        1.0.0 · Source§

        fn description(&self) -> &str

        👎Deprecated since 1.42.0: use the Display impl or to_string()
        1.0.0 · Source§

        fn cause(&self) -> Option<&dyn Error>

        👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
        Source§

        fn provide<'a>(&'a self, request: &mut Request<'a>)

        🔬This is a nightly-only experimental API. (error_generic_member_access)
        Provides type-based access to context intended for error reports. Read more

        Auto Trait Implementations§

        Blanket Implementations§

        Source§

        impl<T> Any for T
        where T: 'static + ?Sized,

        Source§

        fn type_id(&self) -> TypeId

        Gets the TypeId of self. Read more
        §

        impl<'a, T, E> AsTaggedExplicit<'a, E> for T
        where diff --git a/pr/2937/docs/iroh/watchable/struct.WatchInitializedFut.html b/pr/2937/docs/iroh/watchable/struct.WatchInitializedFut.html index 948db4ac59..876d6b53a5 100644 --- a/pr/2937/docs/iroh/watchable/struct.WatchInitializedFut.html +++ b/pr/2937/docs/iroh/watchable/struct.WatchInitializedFut.html @@ -1,4 +1,4 @@ -WatchInitializedFut in iroh::watchable - Rust
        iroh::watchable

        Struct WatchInitializedFut

        Source
        pub struct WatchInitializedFut<'a, T> { /* private fields */ }
        Expand description

        Future returning the current or next value that’s Some value. +WatchInitializedFut in iroh::watchable - Rust

        iroh::watchable

        Struct WatchInitializedFut

        Source
        pub struct WatchInitializedFut<'a, T> { /* private fields */ }
        Expand description

        Future returning the current or next value that’s Some value. in a Watcher.

        See Watcher::initialized.

        §Cancel Safety

        diff --git a/pr/2937/docs/iroh/watchable/struct.WatchNextFut.html b/pr/2937/docs/iroh/watchable/struct.WatchNextFut.html index 53bf14bed4..cc0400b520 100644 --- a/pr/2937/docs/iroh/watchable/struct.WatchNextFut.html +++ b/pr/2937/docs/iroh/watchable/struct.WatchNextFut.html @@ -1,4 +1,4 @@ -WatchNextFut in iroh::watchable - Rust
        iroh::watchable

        Struct WatchNextFut

        Source
        pub struct WatchNextFut<'a, T> { /* private fields */ }
        Expand description

        Future returning the next item after the current one in a Watcher.

        +WatchNextFut in iroh::watchable - Rust
        iroh::watchable

        Struct WatchNextFut

        Source
        pub struct WatchNextFut<'a, T> { /* private fields */ }
        Expand description

        Future returning the next item after the current one in a Watcher.

        See Watcher::updated.

        §Cancel Safety

        This future is cancel-safe.

        diff --git a/pr/2937/docs/iroh/watchable/struct.Watchable.html b/pr/2937/docs/iroh/watchable/struct.Watchable.html index 4136664d85..699cdf439c 100644 --- a/pr/2937/docs/iroh/watchable/struct.Watchable.html +++ b/pr/2937/docs/iroh/watchable/struct.Watchable.html @@ -1,4 +1,4 @@ -Watchable in iroh::watchable - Rust
        iroh::watchable

        Struct Watchable

        Source
        pub struct Watchable<T> { /* private fields */ }
        Expand description

        A wrapper around a value that notifies Watchers when the value is modified.

        +Watchable in iroh::watchable - Rust
        iroh::watchable

        Struct Watchable

        Source
        pub struct Watchable<T> { /* private fields */ }
        Expand description

        A wrapper around a value that notifies Watchers when the value is modified.

        Only the most recent value is available to any observer, but but observer is guaranteed to be notified of the most recent value.

        Implementations§

        Source§

        impl<T: Clone + Eq> Watchable<T>

        Source

        pub fn new(value: T) -> Self

        Creates a Watchable initialized to given value.

        diff --git a/pr/2937/docs/iroh/watchable/struct.Watcher.html b/pr/2937/docs/iroh/watchable/struct.Watcher.html index 60d0787a10..809c8cae4c 100644 --- a/pr/2937/docs/iroh/watchable/struct.Watcher.html +++ b/pr/2937/docs/iroh/watchable/struct.Watcher.html @@ -1,4 +1,4 @@ -Watcher in iroh::watchable - Rust
        iroh::watchable

        Struct Watcher

        Source
        pub struct Watcher<T> { /* private fields */ }
        Expand description

        An observer for a value.

        +Watcher in iroh::watchable - Rust
        iroh::watchable

        Struct Watcher

        Source
        pub struct Watcher<T> { /* private fields */ }
        Expand description

        An observer for a value.

        The Watcher can get the current value, and will be notified when the value changes. Only the most recent value is accessible, and if the thread with the Watchable changes the value faster than the thread with the Watcher can keep up with, then diff --git a/pr/2937/docs/iroh/watchable/struct.WatcherStream.html b/pr/2937/docs/iroh/watchable/struct.WatcherStream.html index 6cffd22676..53b8b91344 100644 --- a/pr/2937/docs/iroh/watchable/struct.WatcherStream.html +++ b/pr/2937/docs/iroh/watchable/struct.WatcherStream.html @@ -1,4 +1,4 @@ -WatcherStream in iroh::watchable - Rust

        iroh::watchable

        Struct WatcherStream

        Source
        pub struct WatcherStream<T> { /* private fields */ }
        Expand description

        A stream for a Watcher’s next values.

        +WatcherStream in iroh::watchable - Rust
        iroh::watchable

        Struct WatcherStream

        Source
        pub struct WatcherStream<T> { /* private fields */ }
        Expand description

        A stream for a Watcher’s next values.

        See Watcher::stream and Watcher::stream_updates_only.

        §Cancel Safety

        This stream is cancel-safe.

        diff --git a/pr/2937/docs/iroh_base/all.html b/pr/2937/docs/iroh_base/all.html index 8e2351723e..57517f0b83 100644 --- a/pr/2937/docs/iroh_base/all.html +++ b/pr/2937/docs/iroh_base/all.html @@ -1 +1 @@ -List of all items in this crate
        \ No newline at end of file +List of all items in this crate
        \ No newline at end of file diff --git a/pr/2937/docs/iroh_base/enum.KeyParsingError.html b/pr/2937/docs/iroh_base/enum.KeyParsingError.html index 57b99dc8de..ca4f38d8ec 100644 --- a/pr/2937/docs/iroh_base/enum.KeyParsingError.html +++ b/pr/2937/docs/iroh_base/enum.KeyParsingError.html @@ -1,4 +1,4 @@ -KeyParsingError in iroh_base - Rust
        iroh_base

        Enum KeyParsingError

        Source
        pub enum KeyParsingError {
        +KeyParsingError in iroh_base - Rust
        iroh_base

        Enum KeyParsingError

        Source
        pub enum KeyParsingError {
             Decode(DecodeError),
             Key(SignatureError),
             DecodeInvalidLength,
        diff --git a/pr/2937/docs/iroh_base/index.html b/pr/2937/docs/iroh_base/index.html
        index ff23ccc8b0..20ca31f16e 100644
        --- a/pr/2937/docs/iroh_base/index.html
        +++ b/pr/2937/docs/iroh_base/index.html
        @@ -1,4 +1,4 @@
        -iroh_base - Rust

        Crate iroh_base

        Source
        Expand description

        Base types and utilities for Iroh

        +iroh_base - Rust

        Crate iroh_base

        Source
        Expand description

        Base types and utilities for Iroh

        Modules§

        • ticketticket
          Tickets is a serializable object combining information required for an operation. Typically tickets contain all information required for an operation, e.g. an iroh blob ticket would contain the hash of the data as well as information about how to reach the diff --git a/pr/2937/docs/iroh_base/struct.NodeAddr.html b/pr/2937/docs/iroh_base/struct.NodeAddr.html index a7c4252381..997db89520 100644 --- a/pr/2937/docs/iroh_base/struct.NodeAddr.html +++ b/pr/2937/docs/iroh_base/struct.NodeAddr.html @@ -1,4 +1,4 @@ -NodeAddr in iroh_base - Rust
          iroh_base

          Struct NodeAddr

          Source
          pub struct NodeAddr {
          +NodeAddr in iroh_base - Rust
          iroh_base

          Struct NodeAddr

          Source
          pub struct NodeAddr {
               pub node_id: NodeId,
               pub relay_url: Option<RelayUrl>,
               pub direct_addresses: BTreeSet<SocketAddr>,
          diff --git a/pr/2937/docs/iroh_base/struct.PublicKey.html b/pr/2937/docs/iroh_base/struct.PublicKey.html
          index 4c3f21e760..5232e56e4b 100644
          --- a/pr/2937/docs/iroh_base/struct.PublicKey.html
          +++ b/pr/2937/docs/iroh_base/struct.PublicKey.html
          @@ -1,4 +1,4 @@
          -PublicKey in iroh_base - Rust
          iroh_base

          Struct PublicKey

          Source
          pub struct PublicKey(/* private fields */);
          Available on crate feature key only.
          Expand description

          A public key.

          +PublicKey in iroh_base - Rust
          iroh_base

          Struct PublicKey

          Source
          pub struct PublicKey(/* private fields */);
          Available on crate feature key only.
          Expand description

          A public key.

          The key itself is stored as the CompressedEdwards y coordinate of the public key It is verified to decompress into a valid key when created.

          Implementations§

          Source§

          impl PublicKey

          Source

          pub const LENGTH: usize = 32usize

          The length of an ed25519 PublicKey, in bytes.

          diff --git a/pr/2937/docs/iroh_base/struct.RelayUrl.html b/pr/2937/docs/iroh_base/struct.RelayUrl.html index ee9a545f96..2596018136 100644 --- a/pr/2937/docs/iroh_base/struct.RelayUrl.html +++ b/pr/2937/docs/iroh_base/struct.RelayUrl.html @@ -1,4 +1,4 @@ -RelayUrl in iroh_base - Rust
          iroh_base

          Struct RelayUrl

          Source
          pub struct RelayUrl(/* private fields */);
          Available on crate feature relay only.
          Expand description

          A URL identifying a relay server.

          +RelayUrl in iroh_base - Rust
          iroh_base

          Struct RelayUrl

          Source
          pub struct RelayUrl(/* private fields */);
          Available on crate feature relay only.
          Expand description

          A URL identifying a relay server.

          It is cheaply clonable, as the underlying type is wrapped into an Arc. The main type under the hood though is Url, with a few custom tweaks:

            diff --git a/pr/2937/docs/iroh_base/struct.RelayUrlParseError.html b/pr/2937/docs/iroh_base/struct.RelayUrlParseError.html index bc528a5232..388a85c69a 100644 --- a/pr/2937/docs/iroh_base/struct.RelayUrlParseError.html +++ b/pr/2937/docs/iroh_base/struct.RelayUrlParseError.html @@ -1,4 +1,4 @@ -RelayUrlParseError in iroh_base - Rust
            iroh_base

            Struct RelayUrlParseError

            Source
            pub struct RelayUrlParseError(/* private fields */);
            Available on crate feature relay only.
            Expand description

            Can occur when parsing a string into a RelayUrl.

            +RelayUrlParseError in iroh_base - Rust
            iroh_base

            Struct RelayUrlParseError

            Source
            pub struct RelayUrlParseError(/* private fields */);
            Available on crate feature relay only.
            Expand description

            Can occur when parsing a string into a RelayUrl.

            Trait Implementations§

            Source§

            impl Debug for RelayUrlParseError

            Source§

            fn fmt(&self, f: &mut Formatter<'_>) -> Result

            Formats the value using the given formatter. Read more
            Source§

            impl Display for RelayUrlParseError

            Source§

            fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

            Formats the value using the given formatter. Read more
            Source§

            impl Error for RelayUrlParseError

            Source§

            fn source(&self) -> Option<&(dyn Error + 'static)>

            Returns the lower-level source of this error, if any. Read more
            1.0.0 · Source§

            fn description(&self) -> &str

            👎Deprecated since 1.42.0: use the Display impl or to_string()
            1.0.0 · Source§

            fn cause(&self) -> Option<&dyn Error>

            👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
            Source§

            fn provide<'a>(&'a self, request: &mut Request<'a>)

            🔬This is a nightly-only experimental API. (error_generic_member_access)
            Provides type-based access to context intended for error reports. Read more
            Source§

            impl From<ParseError> for RelayUrlParseError

            Source§

            fn from(source: ParseError) -> Self

            Converts to this type from the input type.

            Auto Trait Implementations§

            Blanket Implementations§

            Source§

            impl<T> Any for T
            where T: 'static + ?Sized,

            Source§

            fn type_id(&self) -> TypeId

            Gets the TypeId of self. Read more
            Source§

            impl<T> Borrow<T> for T
            where T: ?Sized,

            Source§

            fn borrow(&self) -> &T

            Immutably borrows from an owned value. Read more
            Source§

            impl<T> BorrowMut<T> for T
            where diff --git a/pr/2937/docs/iroh_base/struct.SecretKey.html b/pr/2937/docs/iroh_base/struct.SecretKey.html index 81aeb5b28b..c6fcee137f 100644 --- a/pr/2937/docs/iroh_base/struct.SecretKey.html +++ b/pr/2937/docs/iroh_base/struct.SecretKey.html @@ -1,4 +1,4 @@ -SecretKey in iroh_base - Rust
            iroh_base

            Struct SecretKey

            Source
            pub struct SecretKey { /* private fields */ }
            Available on crate feature key only.
            Expand description

            A secret key.

            +SecretKey in iroh_base - Rust
            iroh_base

            Struct SecretKey

            Source
            pub struct SecretKey { /* private fields */ }
            Available on crate feature key only.
            Expand description

            A secret key.

            Implementations§

            Source§

            impl SecretKey

            Source

            pub fn public(&self) -> PublicKey

            The public key of this SecretKey.

            Source

            pub fn serialize_secret_pem(&self) -> Zeroizing<String>

            Serializes the secret key as PEM

            Source

            pub fn generate<R: CryptoRngCore>(csprng: R) -> Self

            Generate a new SecretKey with a randomness generator.

            diff --git a/pr/2937/docs/iroh_base/struct.Signature.html b/pr/2937/docs/iroh_base/struct.Signature.html index f2399eda34..7bd124038f 100644 --- a/pr/2937/docs/iroh_base/struct.Signature.html +++ b/pr/2937/docs/iroh_base/struct.Signature.html @@ -1,4 +1,4 @@ -Signature in iroh_base - Rust
            iroh_base

            Struct Signature

            #[repr(C)]
            pub struct Signature { /* private fields */ }
            Available on crate feature key only.
            Expand description

            Ed25519 signature.

            +Signature in iroh_base - Rust
            iroh_base

            Struct Signature

            #[repr(C)]
            pub struct Signature { /* private fields */ }
            Available on crate feature key only.
            Expand description

            Ed25519 signature.

            This type represents a container for the byte serialization of an Ed25519 signature, and does not necessarily represent well-formed field or curve elements.

            diff --git a/pr/2937/docs/iroh_base/ticket/enum.Error.html b/pr/2937/docs/iroh_base/ticket/enum.Error.html index c7af26fec4..88ebedfb35 100644 --- a/pr/2937/docs/iroh_base/ticket/enum.Error.html +++ b/pr/2937/docs/iroh_base/ticket/enum.Error.html @@ -1,4 +1,4 @@ -Error in iroh_base::ticket - Rust
            iroh_base::ticket

            Enum Error

            Source
            pub enum Error {
            +Error in iroh_base::ticket - Rust
            iroh_base::ticket

            Enum Error

            Source
            pub enum Error {
                 Kind {
                     expected: &'static str,
                 },
            diff --git a/pr/2937/docs/iroh_base/ticket/index.html b/pr/2937/docs/iroh_base/ticket/index.html
            index c21986a4d4..4a117afded 100644
            --- a/pr/2937/docs/iroh_base/ticket/index.html
            +++ b/pr/2937/docs/iroh_base/ticket/index.html
            @@ -1,4 +1,4 @@
            -iroh_base::ticket - Rust
            iroh_base

            Module ticket

            Source
            Available on crate feature ticket only.
            Expand description

            Tickets is a serializable object combining information required for an operation. +iroh_base::ticket - Rust

            iroh_base

            Module ticket

            Source
            Available on crate feature ticket only.
            Expand description

            Tickets is a serializable object combining information required for an operation. Typically tickets contain all information required for an operation, e.g. an iroh blob ticket would contain the hash of the data as well as information about how to reach the provider.

            diff --git a/pr/2937/docs/iroh_base/ticket/struct.NodeTicket.html b/pr/2937/docs/iroh_base/ticket/struct.NodeTicket.html index 05f8e7e562..026ad7504f 100644 --- a/pr/2937/docs/iroh_base/ticket/struct.NodeTicket.html +++ b/pr/2937/docs/iroh_base/ticket/struct.NodeTicket.html @@ -1,4 +1,4 @@ -NodeTicket in iroh_base::ticket - Rust
            iroh_base::ticket

            Struct NodeTicket

            Source
            pub struct NodeTicket { /* private fields */ }
            Available on crate feature ticket only.
            Expand description

            A token containing information for establishing a connection to a node.

            +NodeTicket in iroh_base::ticket - Rust
            iroh_base::ticket

            Struct NodeTicket

            Source
            pub struct NodeTicket { /* private fields */ }
            Available on crate feature ticket only.
            Expand description

            A token containing information for establishing a connection to a node.

            Contains

            -

            Re-exports§

            Modules§

            • Exposes Client, which allows to establish connections to a relay server.
            • Default values used in the relay.
            • HTTP-specific constants for the relay server and client.
            • Protocols used by the iroh-relay
            • Create a QUIC server that accepts connections +

            Re-exports§

            Modules§

            • Exposes Client, which allows to establish connections to a relay server.
            • Default values used in the relay.
            • dnsNon-wasm_browser
              DNS resolver
            • HTTP-specific constants for the relay server and client.
            • Protocols used by the iroh-relay
            • Create a QUIC server that accepts connections for QUIC address discovery.
            • serverserver
              A fully-fledged iroh-relay server over HTTP or HTTPS.

            Structs§

            • Tracks pings on a single relay connection.
            • Configuration of all the relay servers that can be used.
            • Information on a specific relay server.
            • Configuration for speaking to the QUIC endpoint on the relay server to do QUIC address discovery.
            \ No newline at end of file diff --git a/pr/2937/docs/iroh_relay/protos/disco/constant.MAGIC.html b/pr/2937/docs/iroh_relay/protos/disco/constant.MAGIC.html index 9ab7404c71..61506245d6 100644 --- a/pr/2937/docs/iroh_relay/protos/disco/constant.MAGIC.html +++ b/pr/2937/docs/iroh_relay/protos/disco/constant.MAGIC.html @@ -1,2 +1,2 @@ -MAGIC in iroh_relay::protos::disco - Rust
            iroh_relay::protos::disco

            Constant MAGIC

            Source
            pub const MAGIC: &str = "TS💬";
            Expand description

            The 6 byte header of all discovery messages.

            +MAGIC in iroh_relay::protos::disco - Rust
            iroh_relay::protos::disco

            Constant MAGIC

            Source
            pub const MAGIC: &str = "TS💬";
            Expand description

            The 6 byte header of all discovery messages.

            \ No newline at end of file diff --git a/pr/2937/docs/iroh_relay/protos/disco/fn.looks_like_disco_wrapper.html b/pr/2937/docs/iroh_relay/protos/disco/fn.looks_like_disco_wrapper.html index a808e0f663..40b8b95411 100644 --- a/pr/2937/docs/iroh_relay/protos/disco/fn.looks_like_disco_wrapper.html +++ b/pr/2937/docs/iroh_relay/protos/disco/fn.looks_like_disco_wrapper.html @@ -1,2 +1,2 @@ -looks_like_disco_wrapper in iroh_relay::protos::disco - Rust
            iroh_relay::protos::disco

            Function looks_like_disco_wrapper

            Source
            pub fn looks_like_disco_wrapper(p: &[u8]) -> bool
            Expand description

            Reports whether p looks like it’s a packet containing an encrypted disco message.

            +looks_like_disco_wrapper in iroh_relay::protos::disco - Rust
            iroh_relay::protos::disco

            Function looks_like_disco_wrapper

            Source
            pub fn looks_like_disco_wrapper(p: &[u8]) -> bool
            Expand description

            Reports whether p looks like it’s a packet containing an encrypted disco message.

            \ No newline at end of file diff --git a/pr/2937/docs/iroh_relay/protos/disco/index.html b/pr/2937/docs/iroh_relay/protos/disco/index.html index 0efc242fda..fd3807481a 100644 --- a/pr/2937/docs/iroh_relay/protos/disco/index.html +++ b/pr/2937/docs/iroh_relay/protos/disco/index.html @@ -1,4 +1,4 @@ -iroh_relay::protos::disco - Rust
            iroh_relay::protos

            Module disco

            Source
            Expand description

            This module exports looks_like_disco_wrapper as the only disco-related relay +iroh_relay::protos::disco - Rust

            iroh_relay::protos

            Module disco

            Source
            Expand description

            This module exports looks_like_disco_wrapper as the only disco-related relay functionality.

            Despite the relay not being able to read disco messages by design, it does attempt to identify this traffic to ensure hole-punching messages are not lost do to congestion.

            diff --git a/pr/2937/docs/iroh_relay/protos/index.html b/pr/2937/docs/iroh_relay/protos/index.html index 5ca704e2f1..859b56cbd5 100644 --- a/pr/2937/docs/iroh_relay/protos/index.html +++ b/pr/2937/docs/iroh_relay/protos/index.html @@ -1,3 +1,3 @@ -iroh_relay::protos - Rust
            iroh_relay

            Module protos

            Source
            Expand description

            Protocols used by the iroh-relay

            +iroh_relay::protos - Rust
            iroh_relay

            Module protos

            Source
            Expand description

            Protocols used by the iroh-relay

            Modules§

            • This module exports looks_like_disco_wrapper as the only disco-related relay functionality.
            • This module implements the relaying protocol used by the server and client.
            • STUN packets sending and receiving.
            \ No newline at end of file diff --git a/pr/2937/docs/iroh_relay/protos/relay/constant.MAX_PACKET_SIZE.html b/pr/2937/docs/iroh_relay/protos/relay/constant.MAX_PACKET_SIZE.html index c06652eccb..6c99983130 100644 --- a/pr/2937/docs/iroh_relay/protos/relay/constant.MAX_PACKET_SIZE.html +++ b/pr/2937/docs/iroh_relay/protos/relay/constant.MAX_PACKET_SIZE.html @@ -1,4 +1,4 @@ -MAX_PACKET_SIZE in iroh_relay::protos::relay - Rust
            iroh_relay::protos::relay

            Constant MAX_PACKET_SIZE

            Source
            pub const MAX_PACKET_SIZE: usize = _; // 65_536usize
            Expand description

            The maximum size of a packet sent over relay. +MAX_PACKET_SIZE in iroh_relay::protos::relay - Rust

            iroh_relay::protos::relay

            Constant MAX_PACKET_SIZE

            Source
            pub const MAX_PACKET_SIZE: usize = _; // 65_536usize
            Expand description

            The maximum size of a packet sent over relay. (This only includes the data bytes visible to magicsock, not including its on-wire framing overhead)

            \ No newline at end of file diff --git a/pr/2937/docs/iroh_relay/protos/relay/index.html b/pr/2937/docs/iroh_relay/protos/relay/index.html index 9513236219..8d20d09a6f 100644 --- a/pr/2937/docs/iroh_relay/protos/relay/index.html +++ b/pr/2937/docs/iroh_relay/protos/relay/index.html @@ -1,4 +1,4 @@ -iroh_relay::protos::relay - Rust
            iroh_relay::protos

            Module relay

            Source
            Expand description

            This module implements the relaying protocol used by the server and client.

            +iroh_relay::protos::relay - Rust
            iroh_relay::protos

            Module relay

            Source
            Expand description

            This module implements the relaying protocol used by the server and client.

            Protocol flow:

            Login:

            Source§

            impl<T> Borrow<T> for T
            where T: ?Sized,

            Source§

            fn borrow(&self) -> &T

            Immutably borrows from an owned value. Read more
            Source§

            impl<T> BorrowMut<T> for T
            where T: ?Sized,

            Source§

            fn borrow_mut(&mut self) -> &mut T

            Mutably borrows from an owned value. Read more
            Source§

            impl<T> CloneToUninit for T
            where - T: Clone,

            Source§

            unsafe fn clone_to_uninit(&self, dst: *mut u8)

            🔬This is a nightly-only experimental API. (clone_to_uninit)
            Performs copy-assignment from self to dst. Read more
            §

            impl<Q, K> Equivalent<K> for Q
            where + T: Clone,

            Source§

            unsafe fn clone_to_uninit(&self, dst: *mut u8)

            🔬This is a nightly-only experimental API. (clone_to_uninit)
            Performs copy-assignment from self to dst. Read more
            Source§

            impl<T> DynClone for T
            where + T: Clone,

            Source§

            fn __clone_box(&self, _: Private) -> *mut ()

            §

            impl<Q, K> Equivalent<K> for Q
            where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

            §

            fn equivalent(&self, key: &K) -> bool

            Compare self to key and return true if they are equal.
            §

            impl<Q, K> Equivalent<K> for Q
            where Q: Eq + ?Sized, diff --git a/pr/2937/docs/iroh_relay/protos/stun/enum.StunAttribute.html b/pr/2937/docs/iroh_relay/protos/stun/enum.StunAttribute.html index 2a198e1579..6748ab19af 100644 --- a/pr/2937/docs/iroh_relay/protos/stun/enum.StunAttribute.html +++ b/pr/2937/docs/iroh_relay/protos/stun/enum.StunAttribute.html @@ -1,4 +1,4 @@ -StunAttribute in iroh_relay::protos::stun - Rust
            iroh_relay::protos::stun

            Enum StunAttribute

            pub enum StunAttribute {
            +StunAttribute in iroh_relay::protos::stun - Rust
            iroh_relay::protos::stun

            Enum StunAttribute

            pub enum StunAttribute {
             
            Show 16 variants Unknown(Unknown), AlternateServer(AlternateServer), ErrorCode(ErrorCode), @@ -126,7 +126,8 @@ ) -> TaggedParser<'a, Implicit, Self, E>

            Source§

            impl<T> Borrow<T> for T
            where T: ?Sized,

            Source§

            fn borrow(&self) -> &T

            Immutably borrows from an owned value. Read more
            Source§

            impl<T> BorrowMut<T> for T
            where T: ?Sized,

            Source§

            fn borrow_mut(&mut self) -> &mut T

            Mutably borrows from an owned value. Read more
            Source§

            impl<T> CloneToUninit for T
            where - T: Clone,

            Source§

            unsafe fn clone_to_uninit(&self, dst: *mut u8)

            🔬This is a nightly-only experimental API. (clone_to_uninit)
            Performs copy-assignment from self to dst. Read more
            Source§

            impl<T> From<T> for T

            Source§

            fn from(t: T) -> T

            Returns the argument unchanged.

            + T: Clone,

            Source§

            unsafe fn clone_to_uninit(&self, dst: *mut u8)

            🔬This is a nightly-only experimental API. (clone_to_uninit)
            Performs copy-assignment from self to dst. Read more
            Source§

            impl<T> DynClone for T
            where + T: Clone,

            Source§

            fn __clone_box(&self, _: Private) -> *mut ()

            Source§

            impl<T> From<T> for T

            Source§

            fn from(t: T) -> T

            Returns the argument unchanged.

            §

            impl<T> Instrument for T

            §

            fn instrument(self, span: Span) -> Instrumented<Self>

            Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
            §

            fn in_current_span(self) -> Instrumented<Self>

            Instruments this type with the current Span, returning an Instrumented wrapper. Read more
            Source§

            impl<T, U> Into<U> for T
            where diff --git a/pr/2937/docs/iroh_relay/protos/stun/fn.is.html b/pr/2937/docs/iroh_relay/protos/stun/fn.is.html index 380565cd09..6f35fb5aa7 100644 --- a/pr/2937/docs/iroh_relay/protos/stun/fn.is.html +++ b/pr/2937/docs/iroh_relay/protos/stun/fn.is.html @@ -1,2 +1,2 @@ -is in iroh_relay::protos::stun - Rust
            iroh_relay::protos::stun

            Function is

            Source
            pub fn is(b: &[u8]) -> bool
            Expand description

            Reports whether b is a STUN message.

            +is in iroh_relay::protos::stun - Rust
            iroh_relay::protos::stun

            Function is

            Source
            pub fn is(b: &[u8]) -> bool
            Expand description

            Reports whether b is a STUN message.

            \ No newline at end of file diff --git a/pr/2937/docs/iroh_relay/protos/stun/fn.parse_binding_request.html b/pr/2937/docs/iroh_relay/protos/stun/fn.parse_binding_request.html index a4f41b98e6..25c6c66892 100644 --- a/pr/2937/docs/iroh_relay/protos/stun/fn.parse_binding_request.html +++ b/pr/2937/docs/iroh_relay/protos/stun/fn.parse_binding_request.html @@ -1,2 +1,2 @@ -parse_binding_request in iroh_relay::protos::stun - Rust
            iroh_relay::protos::stun

            Function parse_binding_request

            Source
            pub fn parse_binding_request(b: &[u8]) -> Result<TransactionId, Error>
            Expand description

            Parses a STUN binding request.

            +parse_binding_request in iroh_relay::protos::stun - Rust
            iroh_relay::protos::stun

            Function parse_binding_request

            Source
            pub fn parse_binding_request(b: &[u8]) -> Result<TransactionId, Error>
            Expand description

            Parses a STUN binding request.

            \ No newline at end of file diff --git a/pr/2937/docs/iroh_relay/protos/stun/fn.parse_response.html b/pr/2937/docs/iroh_relay/protos/stun/fn.parse_response.html index 31da9d83a5..35946f4648 100644 --- a/pr/2937/docs/iroh_relay/protos/stun/fn.parse_response.html +++ b/pr/2937/docs/iroh_relay/protos/stun/fn.parse_response.html @@ -1,3 +1,3 @@ -parse_response in iroh_relay::protos::stun - Rust
            iroh_relay::protos::stun

            Function parse_response

            Source
            pub fn parse_response(b: &[u8]) -> Result<(TransactionId, SocketAddr), Error>
            Expand description

            Parses a successful binding response STUN packet. +parse_response in iroh_relay::protos::stun - Rust

            iroh_relay::protos::stun

            Function parse_response

            Source
            pub fn parse_response(b: &[u8]) -> Result<(TransactionId, SocketAddr), Error>
            Expand description

            Parses a successful binding response STUN packet. The IP address is extracted from the XOR-MAPPED-ADDRESS attribute.

            \ No newline at end of file diff --git a/pr/2937/docs/iroh_relay/protos/stun/fn.request.html b/pr/2937/docs/iroh_relay/protos/stun/fn.request.html index 5910ce821c..8233431dd3 100644 --- a/pr/2937/docs/iroh_relay/protos/stun/fn.request.html +++ b/pr/2937/docs/iroh_relay/protos/stun/fn.request.html @@ -1,2 +1,2 @@ -request in iroh_relay::protos::stun - Rust
            iroh_relay::protos::stun

            Function request

            Source
            pub fn request(tx: TransactionId) -> Vec<u8> ⓘ
            Expand description

            Generates a binding request STUN packet.

            +request in iroh_relay::protos::stun - Rust
            iroh_relay::protos::stun

            Function request

            Source
            pub fn request(tx: TransactionId) -> Vec<u8> ⓘ
            Expand description

            Generates a binding request STUN packet.

            \ No newline at end of file diff --git a/pr/2937/docs/iroh_relay/protos/stun/fn.response.html b/pr/2937/docs/iroh_relay/protos/stun/fn.response.html index d5986a0638..28471afdaf 100644 --- a/pr/2937/docs/iroh_relay/protos/stun/fn.response.html +++ b/pr/2937/docs/iroh_relay/protos/stun/fn.response.html @@ -1,2 +1,2 @@ -response in iroh_relay::protos::stun - Rust
            iroh_relay::protos::stun

            Function response

            Source
            pub fn response(tx: TransactionId, addr: SocketAddr) -> Vec<u8> ⓘ
            Expand description

            Generates a binding response.

            +response in iroh_relay::protos::stun - Rust
            iroh_relay::protos::stun

            Function response

            Source
            pub fn response(tx: TransactionId, addr: SocketAddr) -> Vec<u8> ⓘ
            Expand description

            Generates a binding response.

            \ No newline at end of file diff --git a/pr/2937/docs/iroh_relay/protos/stun/index.html b/pr/2937/docs/iroh_relay/protos/stun/index.html index 60bbd59b85..ada1f6f80f 100644 --- a/pr/2937/docs/iroh_relay/protos/stun/index.html +++ b/pr/2937/docs/iroh_relay/protos/stun/index.html @@ -1,4 +1,4 @@ -iroh_relay::protos::stun - Rust
            iroh_relay::protos

            Module stun

            Source
            Expand description

            STUN packets sending and receiving.

            +iroh_relay::protos::stun - Rust
            iroh_relay::protos

            Module stun

            Source
            Expand description

            STUN packets sending and receiving.

            Modules§

            Structs§

            • Class used to decode STUN messages
            • Describes an error decoding a StunMessage
            • The transaction ID is a 96-bit identifier, used to uniquely identify STUN transactions. It primarily serves to correlate requests with responses, though it also plays a small role in helping to prevent diff --git a/pr/2937/docs/iroh_relay/protos/stun/methods/constant.BINDING.html b/pr/2937/docs/iroh_relay/protos/stun/methods/constant.BINDING.html index 438bc3da57..07e7197f1e 100644 --- a/pr/2937/docs/iroh_relay/protos/stun/methods/constant.BINDING.html +++ b/pr/2937/docs/iroh_relay/protos/stun/methods/constant.BINDING.html @@ -1,2 +1,2 @@ -BINDING in iroh_relay::protos::stun::methods - Rust
              iroh_relay::protos::stun::methods

              Constant BINDING

              pub const BINDING: MessageMethod;
              Expand description

              Binding

              +BINDING in iroh_relay::protos::stun::methods - Rust
              iroh_relay::protos::stun::methods

              Constant BINDING

              pub const BINDING: MessageMethod;
              Expand description

              Binding

              \ No newline at end of file diff --git a/pr/2937/docs/iroh_relay/protos/stun/methods/constant.RESERVED.html b/pr/2937/docs/iroh_relay/protos/stun/methods/constant.RESERVED.html index e2ad2aecef..c63718cc59 100644 --- a/pr/2937/docs/iroh_relay/protos/stun/methods/constant.RESERVED.html +++ b/pr/2937/docs/iroh_relay/protos/stun/methods/constant.RESERVED.html @@ -1,2 +1,2 @@ -RESERVED in iroh_relay::protos::stun::methods - Rust
              iroh_relay::protos::stun::methods

              Constant RESERVED

              pub const RESERVED: MessageMethod;
              Expand description

              Reserved

              +RESERVED in iroh_relay::protos::stun::methods - Rust
              iroh_relay::protos::stun::methods

              Constant RESERVED

              pub const RESERVED: MessageMethod;
              Expand description

              Reserved

              \ No newline at end of file diff --git a/pr/2937/docs/iroh_relay/protos/stun/methods/constant.SHARED_SECRET.html b/pr/2937/docs/iroh_relay/protos/stun/methods/constant.SHARED_SECRET.html index 1ac8df8a09..e11c04c0e4 100644 --- a/pr/2937/docs/iroh_relay/protos/stun/methods/constant.SHARED_SECRET.html +++ b/pr/2937/docs/iroh_relay/protos/stun/methods/constant.SHARED_SECRET.html @@ -1,2 +1,2 @@ -SHARED_SECRET in iroh_relay::protos::stun::methods - Rust
              iroh_relay::protos::stun::methods

              Constant SHARED_SECRET

              pub const SHARED_SECRET: MessageMethod;
              Expand description

              Shared secret

              +SHARED_SECRET in iroh_relay::protos::stun::methods - Rust
              iroh_relay::protos::stun::methods

              Constant SHARED_SECRET

              pub const SHARED_SECRET: MessageMethod;
              Expand description

              Shared secret

              \ No newline at end of file diff --git a/pr/2937/docs/iroh_relay/protos/stun/methods/index.html b/pr/2937/docs/iroh_relay/protos/stun/methods/index.html index 682dff4ef0..46d37394e2 100644 --- a/pr/2937/docs/iroh_relay/protos/stun/methods/index.html +++ b/pr/2937/docs/iroh_relay/protos/stun/methods/index.html @@ -1,2 +1,2 @@ -iroh_relay::protos::stun::methods - Rust
              iroh_relay::protos::stun

              Module methods

              Expand description

              STUN Methods Registry

              +iroh_relay::protos::stun::methods - Rust
              iroh_relay::protos::stun

              Module methods

              Expand description

              STUN Methods Registry

              Constants§

              \ No newline at end of file diff --git a/pr/2937/docs/iroh_relay/protos/stun/struct.MessageDecoder.html b/pr/2937/docs/iroh_relay/protos/stun/struct.MessageDecoder.html index 3cb5322db6..661f61ed05 100644 --- a/pr/2937/docs/iroh_relay/protos/stun/struct.MessageDecoder.html +++ b/pr/2937/docs/iroh_relay/protos/stun/struct.MessageDecoder.html @@ -1,4 +1,4 @@ -MessageDecoder in iroh_relay::protos::stun - Rust
              iroh_relay::protos::stun

              Struct MessageDecoder

              pub struct MessageDecoder { /* private fields */ }
              Expand description

              Class used to decode STUN messages

              +MessageDecoder in iroh_relay::protos::stun - Rust
              iroh_relay::protos::stun

              Struct MessageDecoder

              pub struct MessageDecoder { /* private fields */ }
              Expand description

              Class used to decode STUN messages

              Implementations§

              §

              impl MessageDecoder

              pub fn decode( &self, buffer: &[u8], @@ -22,7 +22,8 @@ or an error describing the problem if the message could not be decoded.

              ) -> TaggedParser<'a, Implicit, Self, E>

              Source§

              impl<T> Borrow<T> for T
              where T: ?Sized,

              Source§

              fn borrow(&self) -> &T

              Immutably borrows from an owned value. Read more
              Source§

              impl<T> BorrowMut<T> for T
              where T: ?Sized,

              Source§

              fn borrow_mut(&mut self) -> &mut T

              Mutably borrows from an owned value. Read more
              Source§

              impl<T> CloneToUninit for T
              where - T: Clone,

              Source§

              unsafe fn clone_to_uninit(&self, dst: *mut u8)

              🔬This is a nightly-only experimental API. (clone_to_uninit)
              Performs copy-assignment from self to dst. Read more
              Source§

              impl<T> From<T> for T

              Source§

              fn from(t: T) -> T

              Returns the argument unchanged.

              + T: Clone,

            Source§

            unsafe fn clone_to_uninit(&self, dst: *mut u8)

            🔬This is a nightly-only experimental API. (clone_to_uninit)
            Performs copy-assignment from self to dst. Read more
            Source§

            impl<T> DynClone for T
            where + T: Clone,

            Source§

            fn __clone_box(&self, _: Private) -> *mut ()

            Source§

            impl<T> From<T> for T

            Source§

            fn from(t: T) -> T

            Returns the argument unchanged.

            §

            impl<T> Instrument for T

            §

            fn instrument(self, span: Span) -> Instrumented<Self>

            Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
            §

            fn in_current_span(self) -> Instrumented<Self>

            Instruments this type with the current Span, returning an Instrumented wrapper. Read more
            Source§

            impl<T, U> Into<U> for T
            where diff --git a/pr/2937/docs/iroh_relay/protos/stun/struct.StunDecodeError.html b/pr/2937/docs/iroh_relay/protos/stun/struct.StunDecodeError.html index 4b4edc08cf..3b980e597a 100644 --- a/pr/2937/docs/iroh_relay/protos/stun/struct.StunDecodeError.html +++ b/pr/2937/docs/iroh_relay/protos/stun/struct.StunDecodeError.html @@ -1,4 +1,4 @@ -StunDecodeError in iroh_relay::protos::stun - Rust
            iroh_relay::protos::stun

            Struct StunDecodeError

            pub struct StunDecodeError(pub StunErrorLevel);
            Expand description

            Describes an error decoding a StunMessage

            +StunDecodeError in iroh_relay::protos::stun - Rust
            iroh_relay::protos::stun

            Struct StunDecodeError

            pub struct StunDecodeError(pub StunErrorLevel);
            Expand description

            Describes an error decoding a StunMessage

            Tuple Fields§

            §0: StunErrorLevel

            Trait Implementations§

            §

            impl Debug for StunDecodeError

            §

            fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

            Formats the value using the given formatter. Read more
            §

            impl Display for StunDecodeError

            §

            fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

            Formats the value using the given formatter. Read more
            §

            impl Error for StunDecodeError

            1.30.0 · Source§

            fn source(&self) -> Option<&(dyn Error + 'static)>

            Returns the lower-level source of this error, if any. Read more
            1.0.0 · Source§

            fn description(&self) -> &str

            👎Deprecated since 1.42.0: use the Display impl or to_string()
            1.0.0 · Source§

            fn cause(&self) -> Option<&dyn Error>

            👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
            Source§

            fn provide<'a>(&'a self, request: &mut Request<'a>)

            🔬This is a nightly-only experimental API. (error_generic_member_access)
            Provides type-based access to context intended for error reports. Read more

            Auto Trait Implementations§

            Blanket Implementations§

            Source§

            impl<T> Any for T
            where T: 'static + ?Sized,

            Source§

            fn type_id(&self) -> TypeId

            Gets the TypeId of self. Read more
            §

            impl<'a, T, E> AsTaggedExplicit<'a, E> for T
            where T: 'a,

            §

            fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

            §

            impl<'a, T, E> AsTaggedImplicit<'a, E> for T
            where diff --git a/pr/2937/docs/iroh_relay/protos/stun/struct.TransactionId.html b/pr/2937/docs/iroh_relay/protos/stun/struct.TransactionId.html index f1311d641a..a51103071c 100644 --- a/pr/2937/docs/iroh_relay/protos/stun/struct.TransactionId.html +++ b/pr/2937/docs/iroh_relay/protos/stun/struct.TransactionId.html @@ -1,4 +1,4 @@ -TransactionId in iroh_relay::protos::stun - Rust
            iroh_relay::protos::stun

            Struct TransactionId

            pub struct TransactionId(/* private fields */);
            Expand description

            The transaction ID is a 96-bit identifier, used to uniquely identify +TransactionId in iroh_relay::protos::stun - Rust

            iroh_relay::protos::stun

            Struct TransactionId

            pub struct TransactionId(/* private fields */);
            Expand description

            The transaction ID is a 96-bit identifier, used to uniquely identify STUN transactions. It primarily serves to correlate requests with responses, though it also plays a small role in helping to prevent certain types of attacks. The server also uses the transaction ID as @@ -1169,7 +1169,8 @@ the >= operator. Sized,

            Source§

            fn borrow_mut(&mut self) -> &mut T

            Mutably borrows from an owned value. Read more
            Source§

            impl<T> CloneToUninit for T
            where T: Clone,

            Source§

            unsafe fn clone_to_uninit(&self, dst: *mut u8)

            🔬This is a nightly-only experimental API. (clone_to_uninit)
            Performs copy-assignment from self to dst. Read more
            §

            impl<Q, K> Comparable<K> for Q
            where Q: Ord + ?Sized, - K: Borrow<Q> + ?Sized,

            §

            fn compare(&self, key: &K) -> Ordering

            Compare self to key and return their ordering.
            §

            impl<Q, K> Equivalent<K> for Q
            where + K: Borrow<Q> + ?Sized,

            §

            fn compare(&self, key: &K) -> Ordering

            Compare self to key and return their ordering.
            Source§

            impl<T> DynClone for T
            where + T: Clone,

            Source§

            fn __clone_box(&self, _: Private) -> *mut ()

            §

            impl<Q, K> Equivalent<K> for Q
            where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

            §

            fn equivalent(&self, key: &K) -> bool

            Compare self to key and return true if they are equal.
            §

            impl<Q, K> Equivalent<K> for Q
            where Q: Eq + ?Sized, diff --git a/pr/2937/docs/iroh_relay/quic/constant.ALPN_QUIC_ADDR_DISC.html b/pr/2937/docs/iroh_relay/quic/constant.ALPN_QUIC_ADDR_DISC.html index 7bcb1c303d..00036d5051 100644 --- a/pr/2937/docs/iroh_relay/quic/constant.ALPN_QUIC_ADDR_DISC.html +++ b/pr/2937/docs/iroh_relay/quic/constant.ALPN_QUIC_ADDR_DISC.html @@ -1,2 +1,2 @@ -ALPN_QUIC_ADDR_DISC in iroh_relay::quic - Rust
            iroh_relay::quic

            Constant ALPN_QUIC_ADDR_DISC

            Source
            pub const ALPN_QUIC_ADDR_DISC: &[u8] = b"/iroh-qad/0";
            Expand description

            ALPN for our quic addr discovery

            +ALPN_QUIC_ADDR_DISC in iroh_relay::quic - Rust
            iroh_relay::quic

            Constant ALPN_QUIC_ADDR_DISC

            Source
            pub const ALPN_QUIC_ADDR_DISC: &[u8] = b"/iroh-qad/0";
            Expand description

            ALPN for our quic addr discovery

            \ No newline at end of file diff --git a/pr/2937/docs/iroh_relay/quic/constant.QUIC_ADDR_DISC_CLOSE_CODE.html b/pr/2937/docs/iroh_relay/quic/constant.QUIC_ADDR_DISC_CLOSE_CODE.html index 11e799dc14..2dd932734d 100644 --- a/pr/2937/docs/iroh_relay/quic/constant.QUIC_ADDR_DISC_CLOSE_CODE.html +++ b/pr/2937/docs/iroh_relay/quic/constant.QUIC_ADDR_DISC_CLOSE_CODE.html @@ -1,2 +1,2 @@ -QUIC_ADDR_DISC_CLOSE_CODE in iroh_relay::quic - Rust
            iroh_relay::quic

            Constant QUIC_ADDR_DISC_CLOSE_CODE

            Source
            pub const QUIC_ADDR_DISC_CLOSE_CODE: VarInt;
            Expand description

            Endpoint close error code

            +QUIC_ADDR_DISC_CLOSE_CODE in iroh_relay::quic - Rust
            iroh_relay::quic

            Constant QUIC_ADDR_DISC_CLOSE_CODE

            Source
            pub const QUIC_ADDR_DISC_CLOSE_CODE: VarInt;
            Expand description

            Endpoint close error code

            \ No newline at end of file diff --git a/pr/2937/docs/iroh_relay/quic/constant.QUIC_ADDR_DISC_CLOSE_REASON.html b/pr/2937/docs/iroh_relay/quic/constant.QUIC_ADDR_DISC_CLOSE_REASON.html index d59c74e29d..1f8da7c93e 100644 --- a/pr/2937/docs/iroh_relay/quic/constant.QUIC_ADDR_DISC_CLOSE_REASON.html +++ b/pr/2937/docs/iroh_relay/quic/constant.QUIC_ADDR_DISC_CLOSE_REASON.html @@ -1,2 +1,2 @@ -QUIC_ADDR_DISC_CLOSE_REASON in iroh_relay::quic - Rust
            iroh_relay::quic

            Constant QUIC_ADDR_DISC_CLOSE_REASON

            Source
            pub const QUIC_ADDR_DISC_CLOSE_REASON: &[u8] = b"finished";
            Expand description

            Endpoint close reason

            +QUIC_ADDR_DISC_CLOSE_REASON in iroh_relay::quic - Rust
            iroh_relay::quic

            Constant QUIC_ADDR_DISC_CLOSE_REASON

            Source
            pub const QUIC_ADDR_DISC_CLOSE_REASON: &[u8] = b"finished";
            Expand description

            Endpoint close reason

            \ No newline at end of file diff --git a/pr/2937/docs/iroh_relay/quic/index.html b/pr/2937/docs/iroh_relay/quic/index.html index 05163e57ec..11a1cb0508 100644 --- a/pr/2937/docs/iroh_relay/quic/index.html +++ b/pr/2937/docs/iroh_relay/quic/index.html @@ -1,3 +1,3 @@ -iroh_relay::quic - Rust
            iroh_relay

            Module quic

            Source
            Expand description

            Create a QUIC server that accepts connections +iroh_relay::quic - Rust

            iroh_relay

            Module quic

            Source
            Expand description

            Create a QUIC server that accepts connections for QUIC address discovery.

            Structs§

            • Handles the client side of QUIC address discovery.

            Constants§

            \ No newline at end of file diff --git a/pr/2937/docs/iroh_relay/quic/struct.QuicClient.html b/pr/2937/docs/iroh_relay/quic/struct.QuicClient.html index 0af19001a9..81c17081f0 100644 --- a/pr/2937/docs/iroh_relay/quic/struct.QuicClient.html +++ b/pr/2937/docs/iroh_relay/quic/struct.QuicClient.html @@ -1,4 +1,4 @@ -QuicClient in iroh_relay::quic - Rust
            iroh_relay::quic

            Struct QuicClient

            Source
            pub struct QuicClient { /* private fields */ }
            Expand description

            Handles the client side of QUIC address discovery.

            +QuicClient in iroh_relay::quic - Rust
            iroh_relay::quic

            Struct QuicClient

            Source
            pub struct QuicClient { /* private fields */ }
            Expand description

            Handles the client side of QUIC address discovery.

            Implementations§

            Source§

            impl QuicClient

            Source

            pub fn new(ep: Endpoint, client_config: ClientConfig) -> Result<Self>

            Create a new QuicClient to handle the client side of QUIC address discovery.

            Source

            pub async fn get_addr_and_latency( diff --git a/pr/2937/docs/iroh_relay/server/constant.DEFAULT_CERT_RELOAD_INTERVAL.html b/pr/2937/docs/iroh_relay/server/constant.DEFAULT_CERT_RELOAD_INTERVAL.html index 3f7a0f6343..cabfb69150 100644 --- a/pr/2937/docs/iroh_relay/server/constant.DEFAULT_CERT_RELOAD_INTERVAL.html +++ b/pr/2937/docs/iroh_relay/server/constant.DEFAULT_CERT_RELOAD_INTERVAL.html @@ -1,2 +1,2 @@ -DEFAULT_CERT_RELOAD_INTERVAL in iroh_relay::server - Rust
            iroh_relay::server

            Constant DEFAULT_CERT_RELOAD_INTERVAL

            Source
            pub const DEFAULT_CERT_RELOAD_INTERVAL: Duration;
            Available on crate feature server only.
            Expand description

            The default certificate reload interval.

            +DEFAULT_CERT_RELOAD_INTERVAL in iroh_relay::server - Rust
            iroh_relay::server

            Constant DEFAULT_CERT_RELOAD_INTERVAL

            Source
            pub const DEFAULT_CERT_RELOAD_INTERVAL: Duration;
            Available on crate feature server only.
            Expand description

            The default certificate reload interval.

            \ No newline at end of file diff --git a/pr/2937/docs/iroh_relay/server/enum.Access.html b/pr/2937/docs/iroh_relay/server/enum.Access.html index 8b76dbbc85..d0d398d308 100644 --- a/pr/2937/docs/iroh_relay/server/enum.Access.html +++ b/pr/2937/docs/iroh_relay/server/enum.Access.html @@ -1,4 +1,4 @@ -Access in iroh_relay::server - Rust
            iroh_relay::server

            Enum Access

            Source
            pub enum Access {
            +Access in iroh_relay::server - Rust
            iroh_relay::server

            Enum Access

            Source
            pub enum Access {
                 Allow,
                 Deny,
             }
            Available on crate feature server only.
            Expand description

            Access restriction for a node.

            @@ -16,7 +16,8 @@ and should not be overridden without very good reason.
            Source§

            impl<T> Borrow<T> for T
            where T: ?Sized,

            Source§

            fn borrow(&self) -> &T

            Immutably borrows from an owned value. Read more
            Source§

            impl<T> BorrowMut<T> for T
            where T: ?Sized,

            Source§

            fn borrow_mut(&mut self) -> &mut T

            Mutably borrows from an owned value. Read more
            Source§

            impl<T> CloneToUninit for T
            where - T: Clone,

            Source§

            unsafe fn clone_to_uninit(&self, dst: *mut u8)

            🔬This is a nightly-only experimental API. (clone_to_uninit)
            Performs copy-assignment from self to dst. Read more
            §

            impl<Q, K> Equivalent<K> for Q
            where + T: Clone,

            Source§

            unsafe fn clone_to_uninit(&self, dst: *mut u8)

            🔬This is a nightly-only experimental API. (clone_to_uninit)
            Performs copy-assignment from self to dst. Read more
            Source§

            impl<T> DynClone for T
            where + T: Clone,

            Source§

            fn __clone_box(&self, _: Private) -> *mut ()

            §

            impl<Q, K> Equivalent<K> for Q
            where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

            §

            fn equivalent(&self, key: &K) -> bool

            Compare self to key and return true if they are equal.
            §

            impl<Q, K> Equivalent<K> for Q
            where Q: Eq + ?Sized, diff --git a/pr/2937/docs/iroh_relay/server/enum.AccessConfig.html b/pr/2937/docs/iroh_relay/server/enum.AccessConfig.html index a99c0fb634..f5e6aa995f 100644 --- a/pr/2937/docs/iroh_relay/server/enum.AccessConfig.html +++ b/pr/2937/docs/iroh_relay/server/enum.AccessConfig.html @@ -1,4 +1,4 @@ -AccessConfig in iroh_relay::server - Rust
            iroh_relay::server

            Enum AccessConfig

            Source
            pub enum AccessConfig {
            +AccessConfig in iroh_relay::server - Rust
            iroh_relay::server

            Enum AccessConfig

            Source
            pub enum AccessConfig {
                 Everyone,
                 Restricted(Box<dyn Fn(NodeId) -> Boxed<Access> + Send + Sync + 'static>),
             }
            Available on crate feature server only.
            Expand description

            Controls which nodes are allowed to use the relay.

            diff --git a/pr/2937/docs/iroh_relay/server/enum.CertConfig.html b/pr/2937/docs/iroh_relay/server/enum.CertConfig.html index 371d2aca5d..da7e09be09 100644 --- a/pr/2937/docs/iroh_relay/server/enum.CertConfig.html +++ b/pr/2937/docs/iroh_relay/server/enum.CertConfig.html @@ -1,4 +1,4 @@ -CertConfig in iroh_relay::server - Rust
            iroh_relay::server

            Enum CertConfig

            Source
            pub enum CertConfig<EC: Debug, EA: Debug = EC> {
            +CertConfig in iroh_relay::server - Rust
            iroh_relay::server

            Enum CertConfig

            Source
            pub enum CertConfig<EC: Debug, EA: Debug = EC> {
                 LetsEncrypt {
                     state: AcmeState<EC, EA>,
                 },
            diff --git a/pr/2937/docs/iroh_relay/server/index.html b/pr/2937/docs/iroh_relay/server/index.html
            index 8f9c6a2710..f51560d1a0 100644
            --- a/pr/2937/docs/iroh_relay/server/index.html
            +++ b/pr/2937/docs/iroh_relay/server/index.html
            @@ -1,4 +1,4 @@
            -iroh_relay::server - Rust
            iroh_relay

            Module server

            Source
            Available on crate feature server only.
            Expand description

            A fully-fledged iroh-relay server over HTTP or HTTPS.

            +iroh_relay::server - Rust
            iroh_relay

            Module server

            Source
            Available on crate feature server only.
            Expand description

            A fully-fledged iroh-relay server over HTTP or HTTPS.

            This module provides an API to run a full fledged iroh-relay server. It is primarily used by the iroh-relay binary in this crate. It can be used to run a relay server in other locations however.

            diff --git a/pr/2937/docs/iroh_relay/server/struct.ClientRateLimit.html b/pr/2937/docs/iroh_relay/server/struct.ClientRateLimit.html index 4843f2c3ca..a3e20d4961 100644 --- a/pr/2937/docs/iroh_relay/server/struct.ClientRateLimit.html +++ b/pr/2937/docs/iroh_relay/server/struct.ClientRateLimit.html @@ -1,4 +1,4 @@ -ClientRateLimit in iroh_relay::server - Rust
            iroh_relay::server

            Struct ClientRateLimit

            Source
            pub struct ClientRateLimit {
            +ClientRateLimit in iroh_relay::server - Rust
            iroh_relay::server

            Struct ClientRateLimit

            Source
            pub struct ClientRateLimit {
                 pub bytes_per_second: NonZeroU32,
                 pub max_burst_bytes: Option<NonZeroU32>,
             }
            Available on crate feature server only.
            Expand description

            Per-client rate limit configuration.

            @@ -15,7 +15,8 @@ ) -> TaggedParser<'a, Implicit, Self, E>

            Source§

            impl<T> Borrow<T> for T
            where T: ?Sized,

            Source§

            fn borrow(&self) -> &T

            Immutably borrows from an owned value. Read more
            Source§

            impl<T> BorrowMut<T> for T
            where T: ?Sized,

            Source§

            fn borrow_mut(&mut self) -> &mut T

            Mutably borrows from an owned value. Read more
            Source§

            impl<T> CloneToUninit for T
            where - T: Clone,

            Source§

            unsafe fn clone_to_uninit(&self, dst: *mut u8)

            🔬This is a nightly-only experimental API. (clone_to_uninit)
            Performs copy-assignment from self to dst. Read more
            Source§

            impl<T> From<T> for T

            Source§

            fn from(t: T) -> T

            Returns the argument unchanged.

            + T: Clone,

            Source§

            unsafe fn clone_to_uninit(&self, dst: *mut u8)

            🔬This is a nightly-only experimental API. (clone_to_uninit)
            Performs copy-assignment from self to dst. Read more
            Source§

            impl<T> DynClone for T
            where + T: Clone,

            Source§

            fn __clone_box(&self, _: Private) -> *mut ()

            Source§

            impl<T> From<T> for T

            Source§

            fn from(t: T) -> T

            Returns the argument unchanged.

            §

            impl<T> Instrument for T

            §

            fn instrument(self, span: Span) -> Instrumented<Self>

            Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
            §

            fn in_current_span(self) -> Instrumented<Self>

            Instruments this type with the current Span, returning an Instrumented wrapper. Read more
            Source§

            impl<T, U> Into<U> for T
            where diff --git a/pr/2937/docs/iroh_relay/server/struct.Limits.html b/pr/2937/docs/iroh_relay/server/struct.Limits.html index 5d99c787ac..9309bdb30d 100644 --- a/pr/2937/docs/iroh_relay/server/struct.Limits.html +++ b/pr/2937/docs/iroh_relay/server/struct.Limits.html @@ -1,4 +1,4 @@ -Limits in iroh_relay::server - Rust
            iroh_relay::server

            Struct Limits

            Source
            pub struct Limits {
            +Limits in iroh_relay::server - Rust
            iroh_relay::server

            Struct Limits

            Source
            pub struct Limits {
                 pub accept_conn_limit: Option<f64>,
                 pub accept_conn_burst: Option<usize>,
                 pub client_rx: Option<ClientRateLimit>,
            diff --git a/pr/2937/docs/iroh_relay/server/struct.Metrics.html b/pr/2937/docs/iroh_relay/server/struct.Metrics.html
            index 2db732e423..8ff6878f6c 100644
            --- a/pr/2937/docs/iroh_relay/server/struct.Metrics.html
            +++ b/pr/2937/docs/iroh_relay/server/struct.Metrics.html
            @@ -1,4 +1,4 @@
            -Metrics in iroh_relay::server - Rust
            iroh_relay::server

            Struct Metrics

            Source
            pub struct Metrics {
            Show 21 fields +Metrics in iroh_relay::server - Rust
            iroh_relay::server

            Struct Metrics

            Source
            pub struct Metrics {
            Show 21 fields pub bytes_sent: Counter, pub bytes_recv: Counter, pub send_packets_sent: Counter, @@ -55,7 +55,8 @@ Only records if this metric is registered in the global registry.

            Source§

            impl<T> Borrow<T> for T
            where T: ?Sized,

            Source§

            fn borrow(&self) -> &T

            Immutably borrows from an owned value. Read more
            Source§

            impl<T> BorrowMut<T> for T
            where T: ?Sized,

            Source§

            fn borrow_mut(&mut self) -> &mut T

            Mutably borrows from an owned value. Read more
            Source§

            impl<T> CloneToUninit for T
            where - T: Clone,

            Source§

            unsafe fn clone_to_uninit(&self, dst: *mut u8)

            🔬This is a nightly-only experimental API. (clone_to_uninit)
            Performs copy-assignment from self to dst. Read more
            Source§

            impl<T> From<T> for T

            Source§

            fn from(t: T) -> T

            Returns the argument unchanged.

            + T: Clone,

            Source§

            unsafe fn clone_to_uninit(&self, dst: *mut u8)

            🔬This is a nightly-only experimental API. (clone_to_uninit)
            Performs copy-assignment from self to dst. Read more
            Source§

            impl<T> DynClone for T
            where + T: Clone,

            Source§

            fn __clone_box(&self, _: Private) -> *mut ()

            Source§

            impl<T> From<T> for T

            Source§

            fn from(t: T) -> T

            Returns the argument unchanged.

            §

            impl<T> Instrument for T

            §

            fn instrument(self, span: Span) -> Instrumented<Self>

            Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
            §

            fn in_current_span(self) -> Instrumented<Self>

            Instruments this type with the current Span, returning an Instrumented wrapper. Read more
            Source§

            impl<T, U> Into<U> for T
            where diff --git a/pr/2937/docs/iroh_relay/server/struct.QuicConfig.html b/pr/2937/docs/iroh_relay/server/struct.QuicConfig.html index 6de6b8372f..f0a7187265 100644 --- a/pr/2937/docs/iroh_relay/server/struct.QuicConfig.html +++ b/pr/2937/docs/iroh_relay/server/struct.QuicConfig.html @@ -1,4 +1,4 @@ -QuicConfig in iroh_relay::server - Rust
            iroh_relay::server

            Struct QuicConfig

            Source
            pub struct QuicConfig {
            +QuicConfig in iroh_relay::server - Rust
            iroh_relay::server

            Struct QuicConfig

            Source
            pub struct QuicConfig {
                 pub bind_addr: SocketAddr,
                 pub server_config: ServerConfig,
             }
            Available on crate feature server only.
            Expand description

            Configuration for the QUIC server.

            diff --git a/pr/2937/docs/iroh_relay/server/struct.RelayConfig.html b/pr/2937/docs/iroh_relay/server/struct.RelayConfig.html index eddd95773a..a8947745ca 100644 --- a/pr/2937/docs/iroh_relay/server/struct.RelayConfig.html +++ b/pr/2937/docs/iroh_relay/server/struct.RelayConfig.html @@ -1,4 +1,4 @@ -RelayConfig in iroh_relay::server - Rust
            iroh_relay::server

            Struct RelayConfig

            Source
            pub struct RelayConfig<EC: Debug, EA: Debug = EC> {
            +RelayConfig in iroh_relay::server - Rust
            iroh_relay::server

            Struct RelayConfig

            Source
            pub struct RelayConfig<EC: Debug, EA: Debug = EC> {
                 pub http_bind_addr: SocketAddr,
                 pub tls: Option<TlsConfig<EC, EA>>,
                 pub limits: Limits,
            diff --git a/pr/2937/docs/iroh_relay/server/struct.ReloadingResolver.html b/pr/2937/docs/iroh_relay/server/struct.ReloadingResolver.html
            index 220b49b6e5..69280b0b06 100644
            --- a/pr/2937/docs/iroh_relay/server/struct.ReloadingResolver.html
            +++ b/pr/2937/docs/iroh_relay/server/struct.ReloadingResolver.html
            @@ -1,4 +1,4 @@
            -ReloadingResolver in iroh_relay::server - Rust
            iroh_relay::server

            Struct ReloadingResolver

            Source
            pub struct ReloadingResolver<Loader: Send + 'static> { /* private fields */ }
            Available on crate feature server only.
            Expand description

            A Certificate resolver that reloads the certificate every interval

            +ReloadingResolver in iroh_relay::server - Rust
            iroh_relay::server

            Struct ReloadingResolver

            Source
            pub struct ReloadingResolver<Loader: Send + 'static> { /* private fields */ }
            Available on crate feature server only.
            Expand description

            A Certificate resolver that reloads the certificate every interval

            Implementations§

            Source§

            impl<Loader> ReloadingResolver<Loader>
            where Loader: Send + Loader<Value = CertifiedKey> + 'static,

            Source

            pub async fn init(loader: Loader, interval: Duration) -> Result<Self>

            Perform the initial load and construct the ReloadingResolver.

            Source

            pub fn shutdown(self)

            Shutdown the resolver.

            diff --git a/pr/2937/docs/iroh_relay/server/struct.Server.html b/pr/2937/docs/iroh_relay/server/struct.Server.html index 132477880d..70490c984c 100644 --- a/pr/2937/docs/iroh_relay/server/struct.Server.html +++ b/pr/2937/docs/iroh_relay/server/struct.Server.html @@ -1,4 +1,4 @@ -Server in iroh_relay::server - Rust
            iroh_relay::server

            Struct Server

            Source
            pub struct Server { /* private fields */ }
            Available on crate feature server only.
            Expand description

            A running Relay + STUN server.

            +Server in iroh_relay::server - Rust
            iroh_relay::server

            Struct Server

            Source
            pub struct Server { /* private fields */ }
            Available on crate feature server only.
            Expand description

            A running Relay + STUN server.

            This is a full Relay server, including STUN, Relay and various associated HTTP services.

            Dropping this will stop the server.

            Implementations§

            Source§

            impl Server

            Source

            pub async fn spawn<EC, EA>(config: ServerConfig<EC, EA>) -> Result<Self>
            where diff --git a/pr/2937/docs/iroh_relay/server/struct.ServerConfig.html b/pr/2937/docs/iroh_relay/server/struct.ServerConfig.html index 5abbb8dc1c..9396c6208c 100644 --- a/pr/2937/docs/iroh_relay/server/struct.ServerConfig.html +++ b/pr/2937/docs/iroh_relay/server/struct.ServerConfig.html @@ -1,4 +1,4 @@ -ServerConfig in iroh_relay::server - Rust
            iroh_relay::server

            Struct ServerConfig

            Source
            pub struct ServerConfig<EC: Debug, EA: Debug = EC> {
            +ServerConfig in iroh_relay::server - Rust
            iroh_relay::server

            Struct ServerConfig

            Source
            pub struct ServerConfig<EC: Debug, EA: Debug = EC> {
                 pub relay: Option<RelayConfig<EC, EA>>,
                 pub stun: Option<StunConfig>,
                 pub quic: Option<QuicConfig>,
            diff --git a/pr/2937/docs/iroh_relay/server/struct.StunConfig.html b/pr/2937/docs/iroh_relay/server/struct.StunConfig.html
            index 22f75aa1c8..25c02b926a 100644
            --- a/pr/2937/docs/iroh_relay/server/struct.StunConfig.html
            +++ b/pr/2937/docs/iroh_relay/server/struct.StunConfig.html
            @@ -1,4 +1,4 @@
            -StunConfig in iroh_relay::server - Rust
            iroh_relay::server

            Struct StunConfig

            Source
            pub struct StunConfig {
            +StunConfig in iroh_relay::server - Rust
            iroh_relay::server

            Struct StunConfig

            Source
            pub struct StunConfig {
                 pub bind_addr: SocketAddr,
             }
            Available on crate feature server only.
            Expand description

            Configuration for the STUN server.

            Fields§

            §bind_addr: SocketAddr

            The socket address on which the STUN server should bind.

            diff --git a/pr/2937/docs/iroh_relay/server/struct.StunMetrics.html b/pr/2937/docs/iroh_relay/server/struct.StunMetrics.html index 986541ce6b..c73b1ceb1a 100644 --- a/pr/2937/docs/iroh_relay/server/struct.StunMetrics.html +++ b/pr/2937/docs/iroh_relay/server/struct.StunMetrics.html @@ -1,4 +1,4 @@ -StunMetrics in iroh_relay::server - Rust
            iroh_relay::server

            Struct StunMetrics

            Source
            pub struct StunMetrics {
            +StunMetrics in iroh_relay::server - Rust
            iroh_relay::server

            Struct StunMetrics

            Source
            pub struct StunMetrics {
                 pub requests: Counter,
                 pub ipv4_success: Counter,
                 pub ipv6_success: Counter,
            @@ -23,7 +23,8 @@ Only records if this metric is registered in the global registry.

            Source§

            impl<T> Borrow<T> for T
            where T: ?Sized,

            Source§

            fn borrow(&self) -> &T

            Immutably borrows from an owned value. Read more
            Source§

            impl<T> BorrowMut<T> for T
            where T: ?Sized,

            Source§

            fn borrow_mut(&mut self) -> &mut T

            Mutably borrows from an owned value. Read more
            Source§

            impl<T> CloneToUninit for T
            where - T: Clone,

            Source§

            unsafe fn clone_to_uninit(&self, dst: *mut u8)

            🔬This is a nightly-only experimental API. (clone_to_uninit)
            Performs copy-assignment from self to dst. Read more
            Source§

            impl<T> From<T> for T

            Source§

            fn from(t: T) -> T

            Returns the argument unchanged.

            + T: Clone,

            Source§

            unsafe fn clone_to_uninit(&self, dst: *mut u8)

            🔬This is a nightly-only experimental API. (clone_to_uninit)
            Performs copy-assignment from self to dst. Read more
            Source§

            impl<T> DynClone for T
            where + T: Clone,

            Source§

            fn __clone_box(&self, _: Private) -> *mut ()

            Source§

            impl<T> From<T> for T

            Source§

            fn from(t: T) -> T

            Returns the argument unchanged.

            §

            impl<T> Instrument for T

            §

            fn instrument(self, span: Span) -> Instrumented<Self>

            Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
            §

            fn in_current_span(self) -> Instrumented<Self>

            Instruments this type with the current Span, returning an Instrumented wrapper. Read more
            Source§

            impl<T, U> Into<U> for T
            where diff --git a/pr/2937/docs/iroh_relay/server/struct.TlsConfig.html b/pr/2937/docs/iroh_relay/server/struct.TlsConfig.html index bb41c01a4e..7d416d3935 100644 --- a/pr/2937/docs/iroh_relay/server/struct.TlsConfig.html +++ b/pr/2937/docs/iroh_relay/server/struct.TlsConfig.html @@ -1,4 +1,4 @@ -TlsConfig in iroh_relay::server - Rust
            iroh_relay::server

            Struct TlsConfig

            Source
            pub struct TlsConfig<EC: Debug, EA: Debug = EC> {
            +TlsConfig in iroh_relay::server - Rust
            iroh_relay::server

            Struct TlsConfig

            Source
            pub struct TlsConfig<EC: Debug, EA: Debug = EC> {
                 pub https_bind_addr: SocketAddr,
                 pub quic_bind_addr: SocketAddr,
                 pub cert: CertConfig<EC, EA>,
            diff --git a/pr/2937/docs/iroh_relay/server/testing/fn.quic_config.html b/pr/2937/docs/iroh_relay/server/testing/fn.quic_config.html
            index b8434c3e8f..c8274f74a6 100644
            --- a/pr/2937/docs/iroh_relay/server/testing/fn.quic_config.html
            +++ b/pr/2937/docs/iroh_relay/server/testing/fn.quic_config.html
            @@ -1,4 +1,4 @@
            -quic_config in iroh_relay::server::testing - Rust
            iroh_relay::server::testing

            Function quic_config

            Source
            pub fn quic_config() -> QuicConfig
            Available on crate features server and test-utils only.
            Expand description

            Creates a QuicConfig suitable for testing.

            +quic_config in iroh_relay::server::testing - Rust
            iroh_relay::server::testing

            Function quic_config

            Source
            pub fn quic_config() -> QuicConfig
            Available on crate features server and test-utils only.
            Expand description

            Creates a QuicConfig suitable for testing.

            • Binds to an OS assigned port on ipv4
            • Uses self_signed_tls_certs_and_config to create tls certificates
            • diff --git a/pr/2937/docs/iroh_relay/server/testing/fn.relay_config.html b/pr/2937/docs/iroh_relay/server/testing/fn.relay_config.html index 570dd01302..e4ffdb8f54 100644 --- a/pr/2937/docs/iroh_relay/server/testing/fn.relay_config.html +++ b/pr/2937/docs/iroh_relay/server/testing/fn.relay_config.html @@ -1,4 +1,4 @@ -relay_config in iroh_relay::server::testing - Rust
              iroh_relay::server::testing

              Function relay_config

              Source
              pub fn relay_config() -> RelayConfig<()>
              Available on crate features server and test-utils only.
              Expand description

              Creates a RelayConfig suitable for testing.

              +relay_config in iroh_relay::server::testing - Rust
              iroh_relay::server::testing

              Function relay_config

              Source
              pub fn relay_config() -> RelayConfig<()>
              Available on crate features server and test-utils only.
              Expand description

              Creates a RelayConfig suitable for testing.

              • Binds http to an OS assigned port on ipv4.
              • Uses tls_config to enable TLS.
              • diff --git a/pr/2937/docs/iroh_relay/server/testing/fn.self_signed_tls_certs_and_config.html b/pr/2937/docs/iroh_relay/server/testing/fn.self_signed_tls_certs_and_config.html index b0ef2ebe54..604f96821f 100644 --- a/pr/2937/docs/iroh_relay/server/testing/fn.self_signed_tls_certs_and_config.html +++ b/pr/2937/docs/iroh_relay/server/testing/fn.self_signed_tls_certs_and_config.html @@ -1,4 +1,4 @@ -self_signed_tls_certs_and_config in iroh_relay::server::testing - Rust
                iroh_relay::server::testing

                Function self_signed_tls_certs_and_config

                Source
                pub fn self_signed_tls_certs_and_config() -> (Vec<CertificateDer<'static>>, ServerConfig)
                Available on crate features server and test-utils only.
                Expand description

                Creates a [rustls::ServerConfig] and certificates suitable for testing.

                +self_signed_tls_certs_and_config in iroh_relay::server::testing - Rust
                iroh_relay::server::testing

                Function self_signed_tls_certs_and_config

                Source
                pub fn self_signed_tls_certs_and_config() -> (Vec<CertificateDer<'static>>, ServerConfig)
                Available on crate features server and test-utils only.
                Expand description

                Creates a [rustls::ServerConfig] and certificates suitable for testing.

                • Uses a self signed certificate valid for the "localhost" and "127.0.0.1" domains.
                diff --git a/pr/2937/docs/iroh_relay/server/testing/fn.server_config.html b/pr/2937/docs/iroh_relay/server/testing/fn.server_config.html index ecf674a1b0..eb6a69071f 100644 --- a/pr/2937/docs/iroh_relay/server/testing/fn.server_config.html +++ b/pr/2937/docs/iroh_relay/server/testing/fn.server_config.html @@ -1,4 +1,4 @@ -server_config in iroh_relay::server::testing - Rust
                iroh_relay::server::testing

                Function server_config

                Source
                pub fn server_config() -> ServerConfig<()>
                Available on crate features server and test-utils only.
                Expand description

                Creates a ServerConfig suitable for testing.

                +server_config in iroh_relay::server::testing - Rust
                iroh_relay::server::testing

                Function server_config

                Source
                pub fn server_config() -> ServerConfig<()>
                Available on crate features server and test-utils only.
                Expand description

                Creates a ServerConfig suitable for testing.

                • Relaying is enabled using relay_config
                • Stun is enabled using stun_config
                • diff --git a/pr/2937/docs/iroh_relay/server/testing/fn.stun_config.html b/pr/2937/docs/iroh_relay/server/testing/fn.stun_config.html index 935b0a2263..c9d6d3b96e 100644 --- a/pr/2937/docs/iroh_relay/server/testing/fn.stun_config.html +++ b/pr/2937/docs/iroh_relay/server/testing/fn.stun_config.html @@ -1,3 +1,3 @@ -stun_config in iroh_relay::server::testing - Rust
                  iroh_relay::server::testing

                  Function stun_config

                  Source
                  pub fn stun_config() -> StunConfig
                  Available on crate features server and test-utils only.
                  Expand description

                  Creates a StunConfig suitable for testing.

                  +stun_config in iroh_relay::server::testing - Rust
                  iroh_relay::server::testing

                  Function stun_config

                  Source
                  pub fn stun_config() -> StunConfig
                  Available on crate features server and test-utils only.
                  Expand description

                  Creates a StunConfig suitable for testing.

                  To ensure port availability for testing, the port is configured to be assigned by the OS.

                  \ No newline at end of file diff --git a/pr/2937/docs/iroh_relay/server/testing/fn.tls_config.html b/pr/2937/docs/iroh_relay/server/testing/fn.tls_config.html index 83b1b6f5de..e609abf720 100644 --- a/pr/2937/docs/iroh_relay/server/testing/fn.tls_config.html +++ b/pr/2937/docs/iroh_relay/server/testing/fn.tls_config.html @@ -1,4 +1,4 @@ -tls_config in iroh_relay::server::testing - Rust
                  iroh_relay::server::testing

                  Function tls_config

                  Source
                  pub fn tls_config() -> TlsConfig<()>
                  Available on crate features server and test-utils only.
                  Expand description

                  Creates a TlsConfig suitable for testing.

                  +tls_config in iroh_relay::server::testing - Rust
                  iroh_relay::server::testing

                  Function tls_config

                  Source
                  pub fn tls_config() -> TlsConfig<()>
                  Available on crate features server and test-utils only.
                  Expand description

                  Creates a TlsConfig suitable for testing.

                  • Uses a self signed certificate valid for the "localhost" and "127.0.0.1" domains.
                  • Configures https to be served on an OS assigned port on ipv4.
                  • diff --git a/pr/2937/docs/iroh_relay/server/testing/index.html b/pr/2937/docs/iroh_relay/server/testing/index.html index d20548f47a..50211a860c 100644 --- a/pr/2937/docs/iroh_relay/server/testing/index.html +++ b/pr/2937/docs/iroh_relay/server/testing/index.html @@ -1,2 +1,2 @@ -iroh_relay::server::testing - Rust
                    iroh_relay::server

                    Module testing

                    Source
                    Available on crate features server and test-utils only.
                    Expand description

                    Exposes functions to quickly configure a server suitable for testing.

                    +iroh_relay::server::testing - Rust
                    iroh_relay::server

                    Module testing

                    Source
                    Available on crate features server and test-utils only.
                    Expand description

                    Exposes functions to quickly configure a server suitable for testing.

                    Functions§

                    \ No newline at end of file diff --git a/pr/2937/docs/iroh_relay/sidebar-items.js b/pr/2937/docs/iroh_relay/sidebar-items.js index 0d25072021..e411628282 100644 --- a/pr/2937/docs/iroh_relay/sidebar-items.js +++ b/pr/2937/docs/iroh_relay/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"mod":["client","defaults","http","protos","quic","server"],"struct":["PingTracker","RelayMap","RelayNode","RelayQuicConfig"]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"mod":["client","defaults","dns","http","protos","quic","server"],"struct":["PingTracker","RelayMap","RelayNode","RelayQuicConfig"]}; \ No newline at end of file diff --git a/pr/2937/docs/iroh_relay/struct.PingTracker.html b/pr/2937/docs/iroh_relay/struct.PingTracker.html index 17a6f158f5..4a37b119cf 100644 --- a/pr/2937/docs/iroh_relay/struct.PingTracker.html +++ b/pr/2937/docs/iroh_relay/struct.PingTracker.html @@ -1,4 +1,4 @@ -PingTracker in iroh_relay - Rust
                    iroh_relay

                    Struct PingTracker

                    Source
                    pub struct PingTracker { /* private fields */ }
                    Expand description

                    Tracks pings on a single relay connection.

                    +PingTracker in iroh_relay - Rust
                    iroh_relay

                    Struct PingTracker

                    Source
                    pub struct PingTracker { /* private fields */ }
                    Expand description

                    Tracks pings on a single relay connection.

                    Only the last ping needs is useful, any previously sent ping is forgotten and ignored.

                    Implementations§

                    Source§

                    impl PingTracker

                    Source

                    pub fn new(default_timeout: Duration) -> Self

                    Creates a new ping tracker, setting the ping timeout for pings.

                    Source

                    pub fn default_timeout(&self) -> Duration

                    Returns the current timeout set for pings.

                    diff --git a/pr/2937/docs/iroh_relay/struct.RelayMap.html b/pr/2937/docs/iroh_relay/struct.RelayMap.html index ed147c994e..c6cd3b0df7 100644 --- a/pr/2937/docs/iroh_relay/struct.RelayMap.html +++ b/pr/2937/docs/iroh_relay/struct.RelayMap.html @@ -1,4 +1,4 @@ -RelayMap in iroh_relay - Rust
                    iroh_relay

                    Struct RelayMap

                    Source
                    pub struct RelayMap { /* private fields */ }
                    Expand description

                    Configuration of all the relay servers that can be used.

                    +RelayMap in iroh_relay - Rust
                    iroh_relay

                    Struct RelayMap

                    Source
                    pub struct RelayMap { /* private fields */ }
                    Expand description

                    Configuration of all the relay servers that can be used.

                    Implementations§

                    Source§

                    impl RelayMap

                    Source

                    pub fn urls(&self) -> impl Iterator<Item = &RelayUrl>

                    Returns the sorted relay URLs.

                    Source

                    pub fn empty() -> Self

                    Create an empty relay map.

                    Source

                    pub fn nodes(&self) -> impl Iterator<Item = &Arc<RelayNode>>

                    Returns an Iterator over all known nodes.

                    @@ -30,7 +30,8 @@ and should not be overridden without very good reason.
                    Source§

                    impl<T> Borrow<T> for T
                    where T: ?Sized,

                    Source§

                    fn borrow(&self) -> &T

                    Immutably borrows from an owned value. Read more
                    Source§

                    impl<T> BorrowMut<T> for T
                    where T: ?Sized,

                    Source§

                    fn borrow_mut(&mut self) -> &mut T

                    Mutably borrows from an owned value. Read more
                    Source§

                    impl<T> CloneToUninit for T
                    where - T: Clone,

                    Source§

                    unsafe fn clone_to_uninit(&self, dst: *mut u8)

                    🔬This is a nightly-only experimental API. (clone_to_uninit)
                    Performs copy-assignment from self to dst. Read more
                    §

                    impl<Q, K> Equivalent<K> for Q
                    where + T: Clone,

                    Source§

                    unsafe fn clone_to_uninit(&self, dst: *mut u8)

                    🔬This is a nightly-only experimental API. (clone_to_uninit)
                    Performs copy-assignment from self to dst. Read more
                    Source§

                    impl<T> DynClone for T
                    where + T: Clone,

                    Source§

                    fn __clone_box(&self, _: Private) -> *mut ()

                    §

                    impl<Q, K> Equivalent<K> for Q
                    where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

                    §

                    fn equivalent(&self, key: &K) -> bool

                    Compare self to key and return true if they are equal.
                    §

                    impl<Q, K> Equivalent<K> for Q
                    where Q: Eq + ?Sized, diff --git a/pr/2937/docs/iroh_relay/struct.RelayNode.html b/pr/2937/docs/iroh_relay/struct.RelayNode.html index 9c32bacd88..afaf251efd 100644 --- a/pr/2937/docs/iroh_relay/struct.RelayNode.html +++ b/pr/2937/docs/iroh_relay/struct.RelayNode.html @@ -1,4 +1,4 @@ -RelayNode in iroh_relay - Rust
                    iroh_relay

                    Struct RelayNode

                    Source
                    pub struct RelayNode {
                    +RelayNode in iroh_relay - Rust
                    iroh_relay

                    Struct RelayNode

                    Source
                    pub struct RelayNode {
                         pub url: RelayUrl,
                         pub stun_only: bool,
                         pub stun_port: u16,
                    @@ -36,7 +36,8 @@ the >= operator. Sized,

                    Source§

                    fn borrow_mut(&mut self) -> &mut T

                    Mutably borrows from an owned value. Read more
                    Source§

                    impl<T> CloneToUninit for T
                    where T: Clone,

                    Source§

                    unsafe fn clone_to_uninit(&self, dst: *mut u8)

                    🔬This is a nightly-only experimental API. (clone_to_uninit)
                    Performs copy-assignment from self to dst. Read more
                    §

                    impl<Q, K> Comparable<K> for Q
                    where Q: Ord + ?Sized, - K: Borrow<Q> + ?Sized,

                    §

                    fn compare(&self, key: &K) -> Ordering

                    Compare self to key and return their ordering.
                    §

                    impl<Q, K> Equivalent<K> for Q
                    where + K: Borrow<Q> + ?Sized,

                    §

                    fn compare(&self, key: &K) -> Ordering

                    Compare self to key and return their ordering.
                    Source§

                    impl<T> DynClone for T
                    where + T: Clone,

                    Source§

                    fn __clone_box(&self, _: Private) -> *mut ()

                    §

                    impl<Q, K> Equivalent<K> for Q
                    where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

                    §

                    fn equivalent(&self, key: &K) -> bool

                    Compare self to key and return true if they are equal.
                    §

                    impl<Q, K> Equivalent<K> for Q
                    where Q: Eq + ?Sized, diff --git a/pr/2937/docs/iroh_relay/struct.RelayQuicConfig.html b/pr/2937/docs/iroh_relay/struct.RelayQuicConfig.html index 7f96c1a98d..dfc8631120 100644 --- a/pr/2937/docs/iroh_relay/struct.RelayQuicConfig.html +++ b/pr/2937/docs/iroh_relay/struct.RelayQuicConfig.html @@ -1,4 +1,4 @@ -RelayQuicConfig in iroh_relay - Rust
                    iroh_relay

                    Struct RelayQuicConfig

                    Source
                    pub struct RelayQuicConfig {
                    +RelayQuicConfig in iroh_relay - Rust
                    iroh_relay

                    Struct RelayQuicConfig

                    Source
                    pub struct RelayQuicConfig {
                         pub port: u16,
                     }
                    Expand description

                    Configuration for speaking to the QUIC endpoint on the relay server to do QUIC address discovery.

                    @@ -25,7 +25,8 @@ the >= operator. Sized,

                    Source§

                    fn borrow_mut(&mut self) -> &mut T

                    Mutably borrows from an owned value. Read more
                    Source§

                    impl<T> CloneToUninit for T
                    where T: Clone,

                    Source§

                    unsafe fn clone_to_uninit(&self, dst: *mut u8)

                    🔬This is a nightly-only experimental API. (clone_to_uninit)
                    Performs copy-assignment from self to dst. Read more
                    §

                    impl<Q, K> Comparable<K> for Q
                    where Q: Ord + ?Sized, - K: Borrow<Q> + ?Sized,

                    §

                    fn compare(&self, key: &K) -> Ordering

                    Compare self to key and return their ordering.
                    §

                    impl<Q, K> Equivalent<K> for Q
                    where + K: Borrow<Q> + ?Sized,

                    §

                    fn compare(&self, key: &K) -> Ordering

                    Compare self to key and return their ordering.
                    Source§

                    impl<T> DynClone for T
                    where + T: Clone,

                    Source§

                    fn __clone_box(&self, _: Private) -> *mut ()

                    §

                    impl<Q, K> Equivalent<K> for Q
                    where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

                    §

                    fn equivalent(&self, key: &K) -> bool

                    Compare self to key and return true if they are equal.
                    §

                    impl<Q, K> Equivalent<K> for Q
                    where Q: Eq + ?Sized, diff --git a/pr/2937/docs/search-index.js b/pr/2937/docs/search-index.js index c4777e28b5..2c0038cb54 100644 --- a/pr/2937/docs/search-index.js +++ b/pr/2937/docs/search-index.js @@ -1,4 +1,4 @@ -var searchIndex = new Map(JSON.parse('[["bulk",{"t":"HHHHH","n":["collect_and_print","main","run_iroh","run_quinn","run_s2n"],"q":[[0,"bulk"],[5,"core::option"],[6,"struct_iterable_internal"],[7,"iroh_bench"],[8,"anyhow"],[9,"iroh_bench::s2n"]],"i":"`````","f":"{{{d{b}}{f{{d{c}}}}}hj}{{}h}{l{{n{h}}}}0{A`{{n{h}}}}","D":"`","p":[[1,"str"],[1,"reference",null,null,1],[6,"Option",5,null,1],[1,"unit"],[10,"Iterable",6],[5,"Opt",7],[8,"Result",8],[5,"Opt",9]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAAUAAQAAAAUA","P":[[0,""],[1,""]]}],["iroh",{"t":"PPEPGTFIFFEFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNOCCNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNONNNNNCNNONONNNNNNNNNNNOOCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNCNNSSSSSCCSSSHHHHSSHHHFKFNNNNNNNNNNNNNNCNNNNNNNNNNNNNNOCOCONNNNCNNNNNNNNNNNFSSNNNNNNNNNNNNNNNNFSNNNNNNNNNNNNNNNNNSSSSFFFNNNNNNNNNNNNNNNNNNNNNN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NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["Decode","DecodeInvalidLength","Endpoint","Key","KeyParsingError","LENGTH","NodeAddr","NodeId","PublicKey","RelayMap","RelayMode","RelayNode","RelayUrl","RelayUrlParseError","SecretKey","__clone_box","","","","","","as_bytes","as_ref","borrow","","","","","","","","","borrow_mut","","","","","","","","clone","","","","","","clone_into","","","","","","clone_to_uninit","","","","","","cmp","","","","compare","","","","contains_node","default_from_node","defaults","deref","","","","","","","","","deref_mut","","","","","","","","deserialize","","","","","direct_addresses","","discovery","dns","drop","","","","","","","","empty","endpoint","eq","","","","","equivalent","","","","","","","","","","","","","","","fmt","","","","","","","","","","","","","","","fmt_short","from","","","","","","","","","","","","","","","","","","","","from_bytes","","from_nodes","from_parts","from_ref","","","","","","from_str","","","from_url","generate","get_node","hash","","init","","","","","","","","into","","","","","","","","is_empty","","len","metrics","new","node_id","nodes","partial_cmp","","","","protocol","public","","quic","relay_url","","secret","serialize","","","","","serialize_public_pem","serialize_secret_pem","sign","source","","stun_only","stun_port","test_utils","to_bytes","to_owned","","","","","","to_string","","","","","","","try_from","","","","","","","","","","","try_into","","","","","","","","type_id","","","","","","","","url","urls","verify","vzip","","","","","","","","watchable","with_direct_addresses","with_relay_url","DEFAULT_HTTPS_PORT","DEFAULT_HTTP_PORT","DEFAULT_METRICS_PORT","DEFAULT_RELAY_QUIC_PORT","DEFAULT_STUN_PORT","prod","staging","AP_RELAY_HOSTNAME","EU_RELAY_HOSTNAME","NA_RELAY_HOSTNAME","default_ap_relay_node","default_eu_relay_node","default_na_relay_node","default_relay_map","EU_RELAY_HOSTNAME","NA_RELAY_HOSTNAME","default_eu_relay_node","default_na_relay_node","default_relay_map","ConcurrentDiscovery","Discovery","DiscoveryItem","__clone_box","add","borrow","","borrow_mut","","clone","clone_into","clone_to_uninit","default","deref","","deref_mut","","dns","drop","","empty","fmt","","from","","","from_ref","from_services","init","","into","","last_updated","local_swarm_discovery","node_addr","pkarr","provenance","publish","","resolve","","static_provider","subscribe","","to_owned","try_from","","try_into","","type_id","","vzip","","DnsDiscovery","N0_DNS_NODE_ORIGIN_PROD","N0_DNS_NODE_ORIGIN_STAGING","borrow","borrow_mut","deref","deref_mut","drop","fmt","from","init","into","n0_dns","new","resolve","try_from","try_into","type_id","vzip","LocalSwarmDiscovery","NAME","borrow","borrow_mut","deref","deref_mut","drop","fmt","from","init","into","new","publish","resolve","subscribe","try_from","try_into","type_id","vzip","DEFAULT_PKARR_TTL","DEFAULT_REPUBLISH_INTERVAL","N0_DNS_PKARR_RELAY_PROD","N0_DNS_PKARR_RELAY_STAGING","PkarrPublisher","PkarrRelayClient","PkarrResolver","__clone_box","","","borrow","","","borrow_mut","","","clone","","","clone_into","","","clone_to_uninit","","","deref","","","deref_mut","","","dht","drop","","","fmt","","","from","","","from_ref","","","init","","","into","","","n0_dns","","new","","","publish","","resolve","","to_owned","","","try_from","","","try_into","","","type_id","","","update_addr_info","vzip","","","with_options","Builder","DhtDiscovery","__clone_box","borrow","","borrow_mut","","build","builder","client","clone","clone_into","clone_to_uninit","default","","deref","","deref_mut","","dht","drop","","fmt","","from","","from_ref","include_direct_addresses","init","","initial_publish_delay","into","","n0_dns_pkarr_relay","pkarr_relay","publish","republish_delay","resolve","secret_key","to_owned","try_from","","try_into","","ttl","type_id","","vzip","","PROVENANCE","StaticProvider","__clone_box","add_node_addr","borrow","borrow_mut","clone","clone_into","clone_to_uninit","default","deref","deref_mut","drop","fmt","from","from_node_addrs","from_ref","get_node_addr","init","into","new","publish","remove_node_addr","resolve","set_node_addr","to_owned","try_from","try_into","type_id","vzip","DnsResolver","ResolverExt","default_resolver","lookup_by_id","","lookup_by_id_staggered","","lookup_by_name","","lookup_by_name_staggered","","lookup_ipv4","","lookup_ipv4_ipv6","","lookup_ipv4_ipv6_staggered","","lookup_ipv4_staggered","","lookup_ipv6","","lookup_ipv6_staggered","","node_info","resolver","Addr","IROH_TXT_NAME","IrohAttr","NodeInfo","Relay","TxtAttrs","__clone_box","as_ref","attrs","borrow","","","borrow_mut","","","clone","clone_into","clone_to_uninit","cmp","compare","deref","","","deref_mut","","","direct_addresses","drop","","","eq","","equivalent","","","","","","fmt","","","","from","","","","","","from_hickory_lookup","","from_parts","from_pkarr_signed_packet","","from_ref","from_str","from_strings","from_z32","hash","init","","","into","","","lookup_by_id","lookup_by_name","new","node_id","","partial_cmp","relay_url","to_hickory_records","","to_owned","to_pkarr_signed_packet","","to_string","to_z32","try_from","","","","try_into","","","type_id","","","vzip","","","AEAD_LIMIT_REACHED","APPLICATION_ERROR","Accept","AcceptBi","AcceptUni","AckFrequencyConfig","AeadKey","All","App","ApplicationClose","ApplicationClosed","Builder","CONNECTION_ID_LIMIT_ERROR","CONNECTION_REFUSED","CRYPTO_BUFFER_EXCEEDED","CallMeMaybe","Chunk","CidsExhausted","ClosedStream","","","Connecting","Connection","ConnectionClose","ConnectionClosed","ConnectionError","ConnectionLost","","","","","ConnectionStats","ConnectionType","ControlMsg","Controller","ControllerFactory","CryptoError","CryptoServerConfig","Custom","Default","Direct","DirectAddr","DirectAddrInfo","DirectAddrType","Disabled","","Discovery","ENV_FORCE_STAGING_RELAYS","Endpoint","ExportKeyingMaterialError","FINAL_SIZE_ERROR","FLOW_CONTROL_ERROR","FRAME_ENCODING_ERROR","FinishedEarly","FrameStats","HandshakeTokenKey","INTERNAL_ERROR","INVALID_TOKEN","IllegalOrderedRead","Incoming","IncomingFuture","KEY_UPDATE_ERROR","Local","LocallyClosed","MAX","MAX_SIZE","Mixed","MtuDiscoveryConfig","NO_ERROR","NO_VIABLE_PATH","NamedApp","None","OpenBi","OpenUni","PROTOCOL_VIOLATION","PathSelection","PathStats","Ping","Pong","Portmapped","Read","ReadDatagram","ReadError","","ReadExactError","ReadToEndError","RecvStream","Relay","","RelayMode","RelayOnly","RemoteInfo","Reset","","ResetError","RetryError","STREAM_LIMIT_ERROR","STREAM_STATE_ERROR","Saved","SendDatagramError","SendStream","ServerConfig","Source","Staging","Stopped","StoppedError","StreamId","Stun","Stun4LocalPort","TRANSPORT_PARAMETER_ERROR","TimedOut","TooLarge","TooLong","TransportConfig","TransportError","","TransportErrorCode","Udp","UdpStats","Unknown","UnsupportedByPeer","UnsupportedVersion","VarInt","VersionMismatch","WeakConnectionHandle","WriteError","Written","ZeroRttAccepted","ZeroRttRejected","","","","__clone_box","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","accept","","accept_bi","accept_uni","accept_with","ack_eliciting_threshold","ack_frequency","ack_frequency_config","acks","add_discovery","add_node_addr","add_node_addr_with_source","addr","","addrs","aead_from_hkdf","allow_spin","alpn","","alpns","bind","bind_addr_v4","bind_addr_v6","black_hole_cooldown","black_holes_detected","borrow","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bound_sockets","build","builder","bytes","","","chunks","clear_discovery","clone","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_box","clone_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_to_uninit","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","close","","close_reason","closed","cmp","","","","code","compare","","","","congestion_controller_factory","congestion_events","congestion_state","conn_type","","connect","connect_with","connection_close","crypto","","","crypto_buffer_size","current_mtu","cwnd","data_blocked","datagram","datagram_receive_buffer_size","datagram_send_buffer_size","datagram_send_buffer_space","datagrams","decode","","","default","","","","","","","","","","","","","default_relay_mode","deref","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","deref_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","deserialize","","","","","dir","direct_addresses","discovery","","discovery_dht","discovery_local_network","discovery_n0","dns_resolver","","drop","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","enable_segmentation_offload","encode","","","eq","","","","","","","","","","","","","","","","","","","","","","","","","","","equivalent","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","error_code","","export_keying_material","finish","fmt","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","force_staging_infra","frame","frame_rx","frame_tx","frame_type","from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","from_ref","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","from_u32","from_u64","from_u64_unchecked","handshake_data","","handshake_done","has_send_address","hash","","","","","home_relay","id","","ignore","immediate_ack","incoming_buffer_size","incoming_buffer_size_total","index","init","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","initial_keys","initial_mtu","initial_rtt","initial_window","initiator","insecure_skip_relay_cert_verify","interval","into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","into_0rtt","into_any","into_future","","","","","","","","","","into_incoming","into_inner","ios","is_0rtt","is_alive","is_closed","keep_alive_interval","keylog","known_nodes","last_alive","last_control","last_payload","last_received","last_used","latency","","local_ip","lost_bytes","lost_packets","lost_plpmtud_probes","make_server_config","max_ack_delay","max_concurrent_bidi_streams","max_concurrent_uni_streams","max_data","max_datagram_size","max_idle_timeout","max_incoming","max_stream_data","max_streams_bidi","max_streams_uni","migration","min_mtu","minimum_change","mtu_discovery_config","network_change","network_path_changed","new","","new_connection_id","new_token","node_addr","node_id","","observed_addr","offset","on_ack","on_congestion_event","on_end_acks","on_mtu_update","on_sent","open","open_bi","open_uni","packet_threshold","partial_cmp","","","","path","path_challenge","path_response","path_selection","peer_identity","persistent_congestion_threshold","ping","poll","","","","","","","","","poll_flush","poll_read","","poll_shutdown","poll_write","","preferred_address_v4","preferred_address_v6","priority","proxy_from_env","proxy_url","read","read_chunk","read_chunks","read_datagram","read_exact","read_to_end","reason","","","receive_observed_address_reports","receive_window","received_reset","refuse","relay_map","relay_mode","relay_url","remote_address","remote_address_validated","remote_info","remote_info_iter","remote_node_id","reordering_threshold","reset","reset_stream","retire_connection_id","retry","retry_tag","retry_token_lifetime","rtt","","saturating_add","seal","secret_key","","send_datagram","send_fairness","send_observed_address_reports","send_window","sent_packets","sent_plpmtud_probes","serialize","","","","","set_alpns","set_max_concurrent_bi_streams","set_max_concurrent_uni_streams","set_priority","set_receive_window","source","","","","","","","","sources","","stable_id","start_session","stats","stop","stop_sending","stopped","stream","stream_data_blocked","stream_receive_window","streams_blocked_bidi","streams_blocked_uni","time_source","time_threshold","tls_raw_public_keys","tls_x509","to_owned","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","to_string","","","","","","","","","","","","","","","","","","","","token_key","transport","transport_config","","try_from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_poll","","","","","","","typ","type_id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","udp_rx","udp_tx","upper_bound","validation_token","validation_token_config","vzip","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","window","with_crypto","with_single_cert","write","write_all","write_all_chunks","write_chunk","write_chunks","name","","MagicsockMetrics","NetReportMetrics","PortmapMetrics","RelayMetrics","__clone_box","","","","accepts","actor_link_change","actor_tick_direct_addr_heartbeat","actor_tick_direct_addr_update_receiver","actor_tick_main","actor_tick_msg","actor_tick_other","actor_tick_portmap_changed","actor_tick_re_stun","borrow","","","","borrow_mut","","","","bytes_recv","bytes_sent","clone","","","","clone_into","","","","clone_to_uninit","","","","connection_became_direct","connection_handshake_success","conns_rx_ratelimited_total","default","","","","deref","","","","deref_mut","","","","disco_packets_dropped","disco_packets_recv","disco_packets_sent","disconnects","drop","","","","external_address_updated","fmt","","","","frames_rx_ratelimited_total","from","","","","from_ref","","","","got_ping","init","","","","into","","","","iter","","","","local_port_updates","mapping_attempts","mapping_failures","name","","","","nodes_contacted","nodes_contacted_directly","num_direct_conns_added","num_direct_conns_removed","num_relay_conns_added","num_relay_conns_removed","other_packets_dropped","other_packets_recv","other_packets_sent","pcp_available","pcp_probes","probes_started","re_stun_calls","recv_data_ipv4","recv_data_ipv6","recv_data_relay","recv_datagrams","recv_disco_bad_key","recv_disco_bad_parse","recv_disco_call_me_maybe","recv_disco_call_me_maybe_bad_disco","recv_disco_ping","recv_disco_pong","recv_disco_relay","recv_disco_udp","recv_gro_datagrams","relay_accepts","relay_home_change","reports","reports_full","send_data","send_data_network_down","send_disco_relay","send_disco_udp","send_ipv4","send_ipv6","send_packets_dropped","send_packets_recv","send_packets_sent","send_relay","send_relay_error","sent_disco_call_me_maybe","sent_disco_ping","sent_disco_pong","sent_disco_relay","sent_disco_udp","sent_pong","stun_packets_dropped","stun_packets_recv_ipv4","stun_packets_recv_ipv6","stun_packets_sent_ipv4","stun_packets_sent_ipv6","to_owned","","","","try_from","","","","try_into","","","","type_id","","","","unique_client_keys","unknown_frames","update_direct_addrs","upnp_available","upnp_gateway_updated","upnp_probes","upnp_probes_failed","vzip","","","","websocket_accepts","ProtocolHandler","Router","RouterBuilder","__clone_box","accept","","borrow","","borrow_mut","","builder","clone","clone_into","clone_to_uninit","deref","","deref_mut","","drop","","endpoint","","fmt","","from","","from_ref","init","","into","","is_shutdown","new","shutdown","","spawn","to_owned","try_from","","try_into","","type_id","","vzip","","CleanupDropGuard","DnsPkarrServer","borrow","","borrow_mut","","create_dns_resolver","deref","","deref_mut","","discovery","dns_resolver","drop","","fmt","","from","","init","","into","","nameserver","node_origin","on_node","pkarr_url","run","run_relay_server","run_relay_server_with","run_relay_server_with_stun","run_with_origin","try_from","","try_into","","type_id","","vzip","","Disconnected","WatchInitializedFut","WatchNextFut","Watchable","Watcher","WatcherStream","__clone_box","","","borrow","","","","","","borrow_mut","","","","","","clone","","","clone_into","","","clone_to_uninit","","","default","deref","","","","","","deref_mut","","","","","","drop","","","","","","fmt","","","","","","","from","","","","","","from_ref","","","get","","init","","","","","","initialized","into","","","","","","into_future","","new","poll","","poll_next","ratelimit_stream","ratelimit_stream_with_jitter","set","stream","stream_updates_only","to_owned","","","to_string","try_from","","","","","","try_into","","","","","","try_poll","","try_poll_next","type_id","","","","","","updated","vzip","","","","","","watch"],"q":[[0,"iroh"],[281,"iroh::defaults"],[288,"iroh::defaults::prod"],[295,"iroh::defaults::staging"],[300,"iroh::discovery"],[353,"iroh::discovery::dns"],[372,"iroh::discovery::local_swarm_discovery"],[391,"iroh::discovery::pkarr"],[467,"iroh::discovery::pkarr::dht"],[516,"iroh::discovery::static_provider"],[546,"iroh::dns"],[571,"iroh::dns::node_info"],[662,"iroh::endpoint"],[2206,"iroh::endpoint::Source"],[2208,"iroh::metrics"],[2384,"iroh::protocol"],[2429,"iroh::test_utils"],[2469,"iroh::watchable"],[2593,"dyn_clone::sealed"],[2594,"iroh_base::key"],[2595,"iroh_base::node_addr"],[2596,"iroh_base::relay_url"],[2597,"iroh_relay::relay_map"],[2598,"core::cmp"],[2599,"core::result"],[2600,"serde::de"],[2601,"core::net::socket_addr"],[2602,"core::iter::traits::iterator"],[2603,"core::fmt"],[2604,"alloc::string"],[2605,"ed25519_dalek::verifying"],[2606,"signature::error"],[2607,"data_encoding"],[2608,"ed25519_dalek::signing"],[2609,"iroh_base::ticket::node"],[2610,"core::option"],[2611,"iroh::magicsock::node_map::node_state"],[2612,"url"],[2613,"url::parser"],[2614,"anyhow"],[2615,"alloc::sync"],[2616,"core::convert"],[2617,"core::iter::traits::collect"],[2618,"rand_core"],[2619,"core::hash"],[2620,"serde::ser"],[2621,"zeroize"],[2622,"ed25519"],[2623,"core::error"],[2624,"core::any"],[2625,"alloc::boxed"],[2626,"alloc::vec"],[2627,"alloc::collections::btree::set"],[2628,"futures_lite::stream"],[2629,"pkarr::signed_packet"],[2630,"core::time"],[2631,"pkarr::client"],[2632,"core::future::future"],[2633,"core::net::ip_addr"],[2634,"hickory_proto::rr::domain::name"],[2635,"core::clone"],[2636,"hickory_resolver::resolver"],[2637,"alloc::collections::btree::map"],[2638,"core::str::traits"],[2639,"hickory_resolver::lookup"],[2640,"hickory_proto::rr::resource"],[2641,"iroh_quinn_proto::connection"],[2642,"iroh_quinn::connection"],[2643,"iroh_quinn_proto::config"],[2644,"iroh_quinn_proto::config::transport"],[2645,"iroh_quinn_proto::varint"],[2646,"core::ops::function"],[2647,"core::marker"],[2648,"iroh_quinn_proto::crypto"],[2649,"iroh_quinn_proto::congestion"],[2650,"std::time"],[2651,"iroh_quinn::recv_stream"],[2652,"iroh_quinn::send_stream"],[2653,"iroh_quinn_proto::connection::stats"],[2654,"iroh_quinn_proto::connection::streams::send"],[2655,"iroh::magicsock::node_map"],[2656,"iroh_quinn_proto::connection::streams"],[2657,"iroh_quinn_proto::frame"],[2658,"iroh::magicsock"],[2659,"iroh_quinn_proto"],[2660,"iroh_quinn_proto::coding"],[2661,"bytes::buf::buf_impl"],[2662,"bytes::buf::buf_mut"],[2663,"iroh_quinn_proto::connection::assembler"],[2664,"iroh_quinn::incoming"],[2665,"iroh_quinn_proto::connection::streams::recv"],[2666,"ring::error"],[2667,"iroh_quinn_proto::transport_parameters"],[2668,"iroh_quinn_proto::shared"],[2669,"iroh_quinn_proto::connection::paths"],[2670,"core::pin"],[2671,"core::task::wake"],[2672,"core::task::poll"],[2673,"std::io::error"],[2674,"tokio::io::read_buf"],[2675,"bytes::bytes"],[2676,"rustls_pki_types"],[2677,"rustls::error"],[2678,"alloc::vec::into_iter"],[2679,"futures_lite::future"],[2680,"iroh::test_utils::dns_and_pkarr_servers"],[2681,"iroh_relay::server"],[2682,"core::default"],[2683,"governor::state::direct"],[2684,"governor::state"],[2685,"governor::state::direct::streams"],[2686,"governor::clock::with_std"],[2687,"governor::middleware"],[2688,"governor::jitter"],[2689,"iroh_relay::defaults"],[2690,"iroh::test_utils::dns_server"]],"i":"Cb0`0`h`````````0AbAdAfAhAj55556432Cd21675430216543216543216543216431643122`675433021675430216543144``675430212`643216664443332221116677554330022116667775554444443300216524654321653252636754302167543021422`4426431`651445654316557011`5654321675302166675543021675430216754302112667543021`44``````````````````````FjFf101011101010`100101001010101`1`1Fh101`01221212121```Gl000000000000000``Gn0000000000000000```````H`HbHd210210210210210210210`21021021021021021021210201021021021021022102``Hn0Hl10010111101010010101010100100010101101001010Ib`0000000000000000000000000000```IfId101010101010101010``Jf```0`Dh1Jh21021011122210210121021222111221021110010010120`22102100010121101102`2210210210210AA`0`````AAhA@f`L``333Of`1`NlOb```3`Nh2Nn2Od```````AAj0A@b```419```;;;O```<<7``><3``>``::1Nj``3```4=`>`:<``??=````59``22?<80``<`=`28``<````:79680:73961;OhOjOlOnA@`Df:A@dA@fA@hL`LjN`LhA@jA@lA@nAA`AAbAAdAAfAAhGdLbAAj2Kl220>OlLn1M`66Oh;DfMh4Kn94444N`OnADnAEhAEfLfLdAF`ABnNhAC`ABdNjNlNnO`ABfObOdLnLlABjOfOhOjOlOnA@`DfA@bA@dA@fA@hL`LjN`LhABlACbACdA@jA@lA@nAA`AAbAAdAAfAAhM`GdKjKlACfKnLbAAjADnAEhAEfLfLdAF`ABnNhAC`ABdNjNlNnO`ABfObOdLnLlABjOfOhOjOlOnA@`DfA@bA@dA@fA@hL`LjN`LhABlACbACdA@jA@lA@nAA`AAbAAdAAfAAhM`GdKjKlACfKnLbAAj6Nb7ABjOjA@d0;NhNjNlNnO`ObOdLlOfOh;OlOnA@`DfA@b?A@fA@hL`LjN`LhA@jA@lA@nAA`AAbAAdAAfAAhGdLbAAjNfNhNjNlNnO`ObOdLlOfOhOjOlOnA@`Df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@dA@fA@hL`LjN`LhABlACbACdA@jA@lA@nAA`AAbAAdAAfAAhM`GdKjKlACfKnLbAAjAEhAEfLfLdAF`87AAbADn65432ABnNhAC`ABdNjNlNnO`ABfObOdLnLlABjOfOhOjOlOnA@`DfA@bA@dA@fA@hL`LjN`LhABlACbACdA@jA@lA@nAA`AAbAAdAAfAAhM`GdKjKlACfKnLbAAjA@`0N`Lh0ADnAEhAEfLfLdAF`ABnNhAC`ABdNjNlNnO`ABfObOdLnLlABjOfOhOjOlOnA@`DfA@bA@dA@fA@hL`LjN`LhABlACbACdA@jA@lA@nAA`AAbAAdAAfAAhM`GdKjKlACfKnLbAAjNfLh0ABf0000AKdAKf````AGlAGnAH`AHb011111111321032100032103210321011032103210321000003210332100321032100321032103210333321011111100033311111111111111012211111100011111110222223210321032103210001333332100```AHnAHfAHj202022222020202020202202020120220202020``AIbAI`10`101000101010101000000```010101010``````AIhAAlAIj21AInAJ`2AJb5421305435435435542130542130542130542130054213054354542130454213021521333544543054213054213021354213045421305","f":"```````````````{{bd}f}00000{{{b{h}}}{{b{{l{j}}}}}}{{{b{h}}}{{b{{n{j}}}}}}1{b{{b{c}}}{}}0000000{{{b{A`}}}{{b{A`c}}}{}}0000000{{{b{h}}}h}{{{b{Ab}}}Ab}{{{b{Ad}}}Ad}{{{b{Af}}}Af}{{{b{Ah}}}Ah}{{{b{Aj}}}Aj}{{b{b{A`c}}}f{}}00000{{bj}f}00000{{{b{h}}{b{h}}}Al}{{{b{Ad}}{b{Ad}}}Al}{{{b{Af}}{b{Af}}}Al}{{{b{Aj}}{b{Aj}}}Al}{{b{b{c}}}Al{}}000{{{b{Ah}}{b{Af}}}An}{{AfB`}Ah}`{Bb{{b{c}}}{}}000{{{b{Af}}}b}1111{Bb{{b{A`c}}}{}}0000000{c{{Bd{h}}}Bf}{c{{Bd{Ab}}}Bf}{c{{Bd{Ad}}}Bf}{c{{Bd{Af}}}Bf}{c{{Bd{Aj}}}Bf}{{{b{Ad}}}{{`{{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f}}}Cf}{c{{Bd{e}}}{}{}}{{{b{Ef}}}{{Bd{Jfc}}}{}}11{{}{{Bd{c}}}{}}00{bFd}00{{}c{}}00````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````{{bd}f}000000000000000000000000000000000{{{b{Gd}}}Kj}{Kl{{Gh{KnL`}}}}{{{b{Lb}}}Ld}{{{b{Lb}}}Lf}{{Kl{E`{Lh}}}{{Gh{KnL`}}}}{{{b{A`Lj}}Ll}{{b{A`Lj}}}}`{{{b{A`Ln}}{Db{Lj}}}{{b{A`Ln}}}}`{{M`e}M`Fh{{Mb{{b{Ab}}}{{Ih{{Db{c}}}}}}MdMf}}{{{b{Gd}}Ad}{{Gh{f}}}}{{{b{Gd}}Ad{b{Ef}}}{{Gh{f}}}}```{{{b{Mh}}{b{{n{j}}}}}{{Fn{Mj}}}}{{{b{A`Ln}}An}{{b{A`Ln}}}}{{{b{A`Kn}}}{{Gh{{G`{j}}}}}}{{{b{Lb}}}{{Db{{G`{j}}}}}}{{M`{G`{{G`{j}}}}}M`}{M`{{Gh{Gd}}}}{{M`Ml}M`}{{M`Mn}M`}{{{b{A`N`}}Hj}{{b{A`N`}}}}`{b{{b{c}}}{}}00000000000000000000000000000000000000000000000000000{{{b{A`}}}{{b{A`c}}}{}}00000000000000000000000000000000000000000000000000000{{{b{Gd}}}{{Dd{Bj{Db{Bj}}}}}}{{{E`{Nb}}NdB`}{{Fn{Nf}}}}{{}M`}````{M`M`}{{{b{Nh}}}Nh}{{{b{Nj}}}Nj}{{{b{Nl}}}Nl}{{{b{Nn}}}Nn}{{{b{O`}}}O`}{{{b{Ob}}}Ob}{{{b{Od}}}Od}{{{b{Ll}}}Ll}{{{b{Of}}}Of}{{{b{Oh}}}Oh}{{{b{Oj}}}Oj}{{{b{Ol}}}Ol}{{{b{On}}}On}{{{b{A@`}}}A@`}{{{b{Df}}}Df}{{{b{A@b}}}A@b}{{{b{A@d}}}A@d}{{{b{A@f}}}A@f}{{{b{A@h}}}A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}}}{{Db{{b{Fb}}}}}}{{{b{Ob}}}{{Db{{b{Fb}}}}}}{{{b{Od}}}{{Db{{b{Fb}}}}}}{{{b{L`}}}{{Db{{b{Fb}}}}}}{{{b{Df}}}{{G`{{Dd{A@fHj}}}}}}`{{{b{Lb}}}Bb}{{{E`{ADf}}Hh{b{AFj}}}{{Fn{AFl}}}}{{{b{Lb}}}A@`}{{{b{A`ABd}}Ll}{{Bd{fA@h}}}}`{{{b{A`ABf}}}{{Bd{{Db{Ll}}Od}}}}``{{{b{A`Ln}}Ll}{{b{A`Ln}}}}``{{{b{A`Lh}}{E`{AFn}}}{{b{A`Lh}}}}{{{b{A`Ln}}AG`}{{b{A`Ln}}}}{M`M`}0{bc{}}000000000000000000000000000000000{bCf}0000000000000000000{{{b{A`Lh}}{E`{Mh}}}{{b{A`Lh}}}}`{{{b{A`Lh}}{E`{Ln}}}{{b{A`Lh}}}}{{M`Ln}M`}{c{{Bd{e}}}{}{}}00000000000000000{AGb{{Bd{LlADb}}}}{Bb{{Bd{LlADb}}}}{Il{{Bd{LlADb}}}}333333333333333333333333333333333333{{}{{Bd{c}}}{}}00000000000000000000000000000000000000000000000000000{{{AEj{{b{A`c}}}}{b{A`AEl}}}AEn{}}000000`{bFd}00000000000000000000000000000000000000000000000000000``{{{b{A`N`}}B`}{{b{A`N`}}}}`{{{b{A`Lh}}AGd}{{b{A`Lh}}}}{{}c{}}00000000000000000000000000000000000000000000000000000{{{b{Nf}}}Il}{{{E`{ADf}}}Lh}{{{G`{AGf}}AGh}{{Bd{LhAGj}}}}{{{b{A`ABf}}{b{{n{j}}}}}{{Bd{BbOb}}}}{{{b{A`ABf}}{b{{n{j}}}}}{{Bd{fOb}}}}{{{b{A`ABf}}{b{A`{n{AFh}}}}}{{Bd{fOb}}}}{{{b{A`ABf}}AFh}{{Bd{fOb}}}}{{{b{A`ABf}}{b{A`{n{AFh}}}}}{{Bd{A@dOb}}}}``````{{bd}f}000`````````{b{{b{c}}}{}}000{{{b{A`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}{b{A`AEl}}}{{AEn{e}}}{JbAJd}{}}{{{AEj{{b{A`{AJ`{c}}}}}}{b{A`AEl}}}{{AEn{e}}}{JbAJd}{}}{{{AEj{{b{A`{AIj{c}}}}}}{b{A`AEl}}}{{AEn{{Db{e}}}}}{JbAJd}{}}{{{b{{AJh{AJfceg}}}}}{{AJj{iceg}}}AJlAJnAK`{}}{{{b{{AJh{AJfceg}}}}AKb}{{AJj{iceg}}}AJlAJnAK`{}}{{{b{{AIh{c}}}}c}{{Bd{cc}}}{JbAJd}}{{{AAl{c}}}{{AIj{c}}}{JbAJd}}0{bc{}}00{bCf}{c{{Bd{e}}}{}{}}00000{{}{{Bd{c}}}{}}00000{{{AEj{{b{A`c}}}}{b{A`AEl}}}AEn{}}0{{{AEj{{b{A`c}}}}{b{A`AEl}}}{{AEn{{Db{Bd}}}}}{}}{bFd}00000{{{b{A`{AAl{c}}}}}{{AIn{c}}}{JbAJd}}{{}c{}}00000{{{b{{AIh{c}}}}}{{AAl{c}}}{JbAJd}}","D":"FEb","p":[[1,"reference",null,null,1],[5,"Private",2593],[1,"unit"],[5,"PublicKey",0,2594],[1,"u8"],[1,"array"],[1,"slice"],[0,"mut"],[5,"SecretKey",0,2594],[5,"NodeAddr",0,2595],[5,"RelayUrl",0,2596],[5,"RelayMap",0,2597],[5,"RelayNode",0,2597],[6,"Ordering",2598],[1,"bool"],[1,"u16"],[1,"usize"],[6,"Result",2599,null,1],[10,"Deserializer",2600],[17,"Item"],[6,"SocketAddr",2601],[10,"Iterator",2602],[5,"Formatter",2603],[5,"Error",2603],[6,"KeyParsingError",0,2594],[5,"RelayUrlParseError",0,2596],[5,"String",2604],[5,"VerifyingKey",2605],[5,"Error",2606],[5,"DecodeError",2607],[5,"SigningKey",2608],[5,"NodeTicket",2609],[6,"Option",2610,null,1],[1,"tuple",null,null,1],[5,"RemoteInfo",662,2611],[5,"NodeInfo",571],[5,"Url",2612],[6,"ParseError",2613],[5,"Error",2614],[5,"Arc",2615,null,1],[10,"Into",2616],[10,"IntoIterator",2617],[1,"str"],[10,"CryptoRngCore",2618],[10,"Hasher",2619],[10,"Serializer",2620],[5,"Zeroizing",2621],[5,"Signature",2622],[10,"Error",2623],[5,"TypeId",2624],[5,"ConcurrentDiscovery",300],[10,"Discovery",300],[5,"DiscoveryItem",300],[8,"Result",2603],[5,"Box",2625,null,1],[5,"Vec",2626],[5,"BTreeSet",2627],[5,"Endpoint",662],[8,"NodeId",0,2594],[8,"Result",2614],[8,"Boxed",2628],[5,"DnsDiscovery",353],[5,"LocalSwarmDiscovery",372],[5,"PkarrPublisher",391],[5,"PkarrResolver",391],[5,"PkarrRelayClient",391],[5,"SignedPacket",2629],[1,"u32"],[5,"Duration",2630],[5,"Builder",467],[5,"DhtDiscovery",467],[5,"PkarrClient",2631],[5,"StaticProvider",516],[8,"DnsResolver",546],[10,"ResolverExt",546],[17,"Output"],[10,"Future",2632,null,1],[1,"u64"],[6,"IpAddr",2633],[10,"IntoName",2634],[10,"Clone",2635],[8,"TokioResolver",2636],[6,"IrohAttr",571],[5,"TxtAttrs",571],[5,"BTreeMap",2637],[10,"FromStr",2638],[10,"Display",2603],[10,"Hash",2619],[10,"Ord",2598],[10,"Debug",2603],[5,"TxtLookup",2639],[5,"Record",2640],[5,"Accept",662],[5,"Incoming",662],[5,"Connecting",662],[6,"ConnectionError",662,2641],[5,"Connection",662],[5,"AcceptBi",662,2642],[5,"AcceptUni",662,2642],[5,"ServerConfig",662,2643],[5,"AckFrequencyConfig",662,2644],[5,"VarInt",662,2645],[5,"TransportConfig",662,2644],[5,"Builder",662],[10,"FnOnce",2646],[10,"Send",2647],[10,"Sync",2647],[10,"HandshakeTokenKey",662,2648],[10,"AeadKey",662,2648],[5,"SocketAddrV4",2601],[5,"SocketAddrV6",2601],[5,"MtuDiscoveryConfig",662,2644],[10,"ControllerFactory",662,2649],[5,"Instant",2650],[10,"Controller",662,2649],[6,"SendDatagramError",662,2642],[6,"ReadToEndError",662,2651],[6,"ReadError",662,2651],[6,"ResetError",662,2651],[6,"ReadExactError",662,2651],[6,"WriteError",662,2652],[6,"StoppedError",662,2652],[6,"ControlMsg",662,2611],[5,"DirectAddrInfo",662,2611],[5,"UdpStats",662,2653],[5,"FrameStats",662,2653],[5,"PathStats",662,2653],[5,"ConnectionStats",662,2653],[6,"ConnectionType",662,2611],[5,"Written",662,2654],[6,"Source",662,2655],[5,"ClosedStream",662,2656],[5,"ConnectionClose",662,2657],[5,"ApplicationClose",662,2657],[5,"TransportError",662],[5,"TransportErrorCode",662],[5,"DirectAddr",662,2658],[5,"StreamId",662,2659],[6,"DirectAddrType",662,2658],[6,"PathSelection",662],[6,"RelayMode",662],[5,"Watcher",2469],[5,"UnexpectedEnd",2660],[10,"Buf",2661],[6,"Dir",2659],[5,"RecvStream",662,2651],[5,"SendStream",662,2652],[10,"BufMut",2662],[5,"Chunk",662,2663],[5,"ExportKeyingMaterialError",662,2648],[5,"WeakConnectionHandle",662,2642],[5,"RetryError",662,2664],[5,"CryptoError",662,2648],[5,"UnsupportedVersion",662,2648],[5,"IncomingFuture",662],[6,"ReadableError",2665],[6,"Close",2657],[5,"Unspecified",2666],[6,"Error",2667],[5,"InvalidFrame",2657],[5,"VarIntBoundsExceeded",2645],[10,"Any",2624],[10,"CryptoServerConfig",662],[5,"ConnectionId",2668],[5,"Keys",2648],[6,"Side",2659],[5,"ZeroRttAccepted",662,2642],[5,"Incoming",2664],[5,"IdleTimeout",2644],[5,"RttEstimator",2669],[5,"OpenBi",662,2642],[5,"OpenUni",662,2642],[5,"Pin",2670],[5,"Context",2671],[6,"Poll",2672],[5,"ReadDatagram",662,2642],[5,"Error",2673],[5,"ReadBuf",2674],[1,"i32"],[5,"Bytes",2675],[5,"TransportParameters",2667],[10,"Session",2648],[10,"TimeSource",2643],[1,"f32"],[1,"u128"],[5,"ValidationTokenConfig",2643],[5,"CertificateDer",2676],[6,"PrivateKeyDer",2676],[6,"Error",2677],[5,"PortmapMetrics",2208],[5,"NetReportMetrics",2208],[5,"MagicsockMetrics",2208],[5,"RelayMetrics",2208],[5,"IntoIter",2678],[10,"ProtocolHandler",2384],[8,"Boxed",2679],[5,"RouterBuilder",2384],[10,"AsRef",2616],[5,"Router",2384],[5,"DnsPkarrServer",2429,2680],[5,"CleanupDropGuard",2429],[5,"Server",2681],[5,"StunConfig",2681],[5,"Watchable",2469],[5,"WatcherStream",2469],[10,"Default",2682],[5,"WatchNextFut",2469],[5,"WatchInitializedFut",2469],[5,"Disconnected",2469],[10,"Eq",2598],[6,"NotKeyed",2683],[5,"RateLimiter",2684],[5,"RatelimitedStream",2685],[10,"DirectStateStore",2683],[10,"ReasonablyRealtime",2686],[10,"RateLimitingMiddleware",2687],[5,"Jitter",2688],[15,"Discovery",2206],[15,"NamedApp",2206]],"r":[[2,662],[4,2594],[6,2595],[7,2594],[8,2594],[9,2597],[10,662],[11,2597],[12,2596],[13,2596],[14,2594],[284,2689],[285,2689],[665,2642],[666,2642],[667,2644],[668,2648],[671,2657],[678,2663],[680,2656],[685,2657],[687,2641],[693,2653],[694,2611],[695,2611],[696,2649],[697,2649],[698,2648],[703,2658],[704,2611],[705,2658],[711,2648],[716,2653],[717,2648],[729,2644],[734,2642],[735,2642],[738,2653],[743,2642],[744,2651],[746,2651],[747,2651],[748,2651],[753,2611],[756,2651],[757,2664],[761,2642],[762,2652],[763,2643],[764,2655],[767,2652],[768,2659],[775,2644],[780,2653],[783,2648],[784,2645],[786,2642],[787,2652],[788,2654],[789,2642],[2430,2680],[2435,2690]],"b":[[125,"impl-Display-for-PublicKey"],[126,"impl-Debug-for-PublicKey"],[127,"impl-Display-for-KeyParsingError"],[128,"impl-Debug-for-KeyParsingError"],[129,"impl-Debug-for-SecretKey"],[130,"impl-Display-for-SecretKey"],[132,"impl-Debug-for-RelayUrl"],[133,"impl-Display-for-RelayUrl"],[134,"impl-Display-for-RelayUrlParseError"],[135,"impl-Debug-for-RelayUrlParseError"],[136,"impl-Display-for-RelayMap"],[137,"impl-Debug-for-RelayMap"],[138,"impl-Display-for-RelayNode"],[139,"impl-Debug-for-RelayNode"],[143,"impl-From%3CError%3E-for-KeyParsingError"],[145,"impl-From%3CDecodeError%3E-for-KeyParsingError"],[146,"impl-From%3CSigningKey%3E-for-SecretKey"],[148,"impl-From%3C%5Bu8;+32%5D%3E-for-SecretKey"],[150,"impl-From%3CPublicKey%3E-for-NodeAddr"],[151,"impl-From%3CNodeTicket%3E-for-NodeAddr"],[152,"impl-From%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[153,"impl-From%3CRemoteInfo%3E-for-NodeAddr"],[154,"impl-From%3CNodeInfo%3E-for-NodeAddr"],[241,"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey"],[242,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey"],[609,"impl-Debug-for-IrohAttr"],[610,"impl-Display-for-IrohAttr"],[614,"impl-From%3C%26TxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[615,"impl-From%3CTxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[1417,"impl-Display-for-SendDatagramError"],[1418,"impl-Debug-for-SendDatagramError"],[1419,"impl-Debug-for-RetryError"],[1420,"impl-Display-for-RetryError"],[1422,"impl-Debug-for-ReadToEndError"],[1423,"impl-Display-for-ReadToEndError"],[1424,"impl-Debug-for-ReadError"],[1425,"impl-Display-for-ReadError"],[1426,"impl-Debug-for-ResetError"],[1427,"impl-Display-for-ResetError"],[1428,"impl-Display-for-ReadExactError"],[1429,"impl-Debug-for-ReadExactError"],[1431,"impl-Display-for-WriteError"],[1432,"impl-Debug-for-WriteError"],[1433,"impl-Debug-for-StoppedError"],[1434,"impl-Display-for-StoppedError"],[1436,"impl-Debug-for-VarInt"],[1437,"impl-Display-for-VarInt"],[1439,"impl-Debug-for-ControlMsg"],[1440,"impl-Display-for-ControlMsg"],[1447,"impl-Display-for-ConnectionType"],[1448,"impl-Debug-for-ConnectionType"],[1450,"impl-Debug-for-Source"],[1451,"impl-Display-for-Source"],[1452,"impl-Display-for-ClosedStream"],[1453,"impl-Debug-for-ClosedStream"],[1454,"impl-Display-for-ConnectionError"],[1455,"impl-Debug-for-ConnectionError"],[1462,"impl-Display-for-ConnectionClose"],[1463,"impl-Debug-for-ConnectionClose"],[1464,"impl-Display-for-ApplicationClose"],[1465,"impl-Debug-for-ApplicationClose"],[1466,"impl-Debug-for-TransportError"],[1467,"impl-Display-for-TransportError"],[1468,"impl-Display-for-TransportErrorCode"],[1469,"impl-Debug-for-TransportErrorCode"],[1471,"impl-Debug-for-StreamId"],[1472,"impl-Display-for-StreamId"],[1473,"impl-Debug-for-DirectAddrType"],[1474,"impl-Display-for-DirectAddrType"],[1502,"impl-From%3CResetError%3E-for-ReadError"],[1503,"impl-From%3CReadableError%3E-for-ReadError"],[1505,"impl-From%3CConnectionError%3E-for-ReadError"],[1511,"impl-From%3CConnectionError%3E-for-WriteError"],[1513,"impl-From%3CClosedStream%3E-for-WriteError"],[1514,"impl-From%3CStoppedError%3E-for-WriteError"],[1518,"impl-From%3Cu8%3E-for-VarInt"],[1519,"impl-From%3Cu16%3E-for-VarInt"],[1520,"impl-From%3CStreamId%3E-for-VarInt"],[1521,"impl-From%3Cu32%3E-for-VarInt"],[1535,"impl-From%3CTransportError%3E-for-ConnectionError"],[1537,"impl-From%3CClose%3E-for-ConnectionError"],[1549,"impl-From%3CError%3E-for-TransportError"],[1550,"impl-From%3CTransportErrorCode%3E-for-TransportError"],[1551,"impl-From%3CInvalidFrame%3E-for-TransportError"],[1823,"impl-RecvStream"],[1824,"impl-AsyncRead-for-RecvStream"],[1826,"impl-SendStream"],[1827,"impl-AsyncWrite-for-SendStream"],[1984,"impl-TryFrom%3Cu128%3E-for-VarInt"],[1985,"impl-TryFrom%3Cusize%3E-for-VarInt"],[1986,"impl-TryFrom%3Cu64%3E-for-VarInt"],[2523,"impl-Display-for-Disconnected"],[2524,"impl-Debug-for-Disconnected"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAPgGoAADAAAACwAAABAABQAXACsARgAVAGAABwBqACIAjwABAJIAAQCVAAAAlwAAAJkAAwCeAAAApgAIALIACQDLAAMA1gAEAN4AAQDkACcADwEHADABAAAyAQsAPwEBAEIBAQBGAQEASQEBAFMBAABVAQAAWAEJAGUBBQBsAQAAcAEEAHcBBQB+AQAAgQEGAI8BFwCoAQUAsQEFAL8BAADBAQAAwwELANABAgDWAQQA3gEIAOgBAwDuAQAA8AEBAPcBAAD5AQAA+wEEAAECAwAHAgAACQIJABUCAAAXAgAAGgIAABwCAAAeAgQALwIAADcCAABCAgEARQIQAFcCDgBnAgEAagIAAHECAQB1AgMAgQIAAIUCAACIAgAAigIMABsDIQBDAwAARQMAAFYDawDKAyEA7QNDADUEAwA6BAMARQQAAEcEAABMBAEAUgQPAGMEcADdBDcAFgVuAIkFQwDZBQAA3QUAAN8FAQDiBQEA5gUAAOgFAADqBQEA7QUAAO8FAwAABgAAAgYAAAcGAAALBgAADgYCABQGAAAfBiEARgYAAEgGBABRBgAAVQY1AMoGCQDsBgAA8AYCAPsGAQAABwAACwcDABAHAQAVBwoAIQcBACQHAABBBwEAUgcEAFwHBwBqBwAAbAcBAG8HAQB1BzUArwcRAMQHYAAmCDUAYQg1AKUIAwCqCA8AvAgLAMsICwDbCAgA6QgDAO4IAwD2CAoACgkGABIJBwAcCQgAKAkGADAJFABHCQgAVAkAAFcJAwBcCQgAZwkBAGsJAgB1CQgAgAkDAIUJAwCLCQMAkQkBAJ4JBwCsCTEA5AkCAOkJBQD2CQEA+QkEAAEKGAAbCgUA","P":[[24,"T"],[40,""],[46,"T"],[52,""],[62,"K"],[66,""],[69,"T"],[73,""],[74,"T"],[86,"D"],[88,"__D"],[91,""],[110,"K"],[125,""],[141,"T"],[142,""],[144,"T"],[145,""],[147,"T"],[148,""],[149,"T"],[150,""],[156,"T"],[157,""],[158,"T"],[161,""],[163,"I,"],[164,""],[165,"T"],[171,""],[175,"R"],[176,""],[177,"H"],[178,"__H"],[179,""],[187,"U"],[195,""],[213,"S"],[215,"__S"],[218,""],[227,"T"],[233,""],[240,"U,T"],[241,""],[243,"U,T"],[245,""],[246,"U,T"],[251,"U"],[259,""],[270,"V"],[279,""],[280,""],[304,""],[305,"T"],[309,""],[310,"T"],[311,""],[313,"T"],[318,""],[323,"T"],[327,""],[330,"U"],[337,""],[344,"T"],[345,"U,T"],[347,"U"],[349,""],[351,"V"],[356,"T"],[360,""],[362,"T"],[363,""],[364,"U"],[365,""],[368,"U,T"],[369,"U"],[370,""],[371,"V"],[374,"T"],[378,""],[380,"T"],[381,""],[382,"U"],[383,""],[387,"U,T"],[388,"U"],[389,""],[390,"V"],[398,""],[401,"T"],[407,""],[410,"T"],[413,""],[416,"T"],[423,""],[429,"T"],[435,""],[438,"U"],[441,""],[450,"T"],[453,"U,T"],[456,"U"],[459,""],[463,"V"],[466,""],[470,"T"],[474,""],[478,"T"],[479,""],[482,"T"],[486,""],[491,"T"],[494,""],[498,"U"],[500,""],[506,"T"],[507,"U,T"],[509,"U"],[511,""],[514,"V"],[518,""],[519,""],[520,"T"],[522,""],[523,"T"],[524,""],[526,"T"],[528,""],[530,"T"],[531,","],[532,"T"],[533,""],[535,"U"],[536,""],[540,""],[541,"T"],[542,"U,T"],[543,"U"],[544,""],[545,"V"],[548,""],[557,"N"],[570,""],[579,"T"],[586,""],[587,"T"],[588,""],[590,"K"],[591,"T"],[598,""],[603,"K"],[609,""],[612,"T"],[614,""],[616,"T"],[617,""],[618,"T"],[619,""],[620,"T"],[621,"T,"],[622,""],[623,"T"],[625,"FromStr::Err"],[626,",T"],[627,""],[628,"__H"],[629,""],[632,"U"],[635,"T"],[637,""],[638,"T"],[640,""],[643,"T"],[645,""],[646,"T"],[647,""],[649,"U,T"],[650,"TryFrom::Error"],[651,"U,T"],[653,"U"],[656,""],[659,"V"],[794,""],[837,"D,F"],[838,""],[853,"T"],[961,""],[1004,"T"],[1038,""],[1081,"K"],[1085,""],[1090,""],[1093,""],[1105,"B"],[1108,""],[1122,"T"],[1230,"__D"],[1235,""],[1301,"B"],[1304,""],[1331,"K"],[1414,""],[1489,"T"],[1496,""],[1497,"T"],[1500,""],[1501,"T"],[1502,""],[1504,"T"],[1505,""],[1507,"T"],[1509,""],[1510,"T"],[1511,""],[1512,"T"],[1513,""],[1515,"T"],[1516,""],[1517,"T"],[1518,""],[1522,"T"],[1535,""],[1536,"T"],[1537,""],[1538,"T"],[1542,""],[1543,"T"],[1546,""],[1547,"T"],[1549,""],[1552,"T"],[1555,""],[1556,"T"],[1600,""],[1607,"__H"],[1612,""],[1681,"U"],[1735,""],[1744,"IntoFuture::IntoFuture"],[1745,""],[1819,"Future::Output"],[1822,""],[1863,""],[1864,""],[1873,"__S"],[1878,""],[1908,"T"],[1942,""],[1966,"U,T"],[1984,""],[1987,"U,T"],[2023,"U"],[2077,"F"],[2085,""],[2144,"V"],[2198,""],[2225,"T"],[2235,""],[2239,"T"],[2243,""],[2254,"T"],[2266,""],[2276,"T"],[2285,""],[2289,"U"],[2293,""],[2356,"T"],[2360,"U,T"],[2364,"U"],[2368,""],[2379,"V"],[2387,""],[2389,",T"],[2390,"T"],[2394,""],[2396,"T"],[2397,""],[2398,"T"],[2402,""],[2408,"T"],[2411,""],[2413,"U"],[2415,""],[2420,"T"],[2421,"U,T"],[2423,"U"],[2425,""],[2427,"V"],[2431,"T"],[2435,""],[2436,"T"],[2440,""],[2446,"T"],[2448,""],[2450,"U"],[2454,""],[2461,"U,T"],[2463,"U"],[2465,""],[2467,"V"],[2475,""],[2478,"T"],[2496,""],[2499,"T"],[2512,""],[2518,"T"],[2523,""],[2525,"T"],[2536,""],[2542,"T"],[2543,"U"],[2549,""],[2551,"T"],[2552,"T,Future::Output"],[2554,"T,Stream::Item"],[2555,"D,C,MW,S"],[2557,"T"],[2563,""],[2564,"U,T"],[2570,"U"],[2576,"F"],[2578,"S"],[2579,""],[2585,"T"],[2586,"V"],[2592,"T"]]}],["iroh_base",{"t":"TPPPGTFIFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNONNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNPGTPFPKPNNNNNNNNNNNNNNNNNNNMNNNNNNNNNMNNNNNNNNNNO","n":["BYTE_SIZE","Decode","DecodeInvalidLength","Key","KeyParsingError","LENGTH","NodeAddr","NodeId","PublicKey","RelayUrl","RelayUrlParseError","SecretKey","Signature","as_bytes","as_ref","borrow","","","","","","","","borrow_mut","","","","","","","clone","","","","","clone_into","","","","","clone_to_uninit","","","","","cmp","","","deref","deserialize","","","","","direct_addresses","","eq","","","","fmt","","","","","","","","","","","","","","","fmt_short","from","","","","","","","","","","","","","","","","","","","","from_bytes","","","from_components","from_parts","from_slice","from_str","","","","generate","hash","","into","","","","","","","is_empty","new","node_id","partial_cmp","","","public","","r_bytes","relay_url","","s_bytes","secret","serialize","","","","","serialize_public_pem","serialize_secret_pem","sign","source","","ticket","to_bytes","","","to_owned","","","","","to_string","","","","","","to_vec","try_from","","","","","","","","","","","try_into","","","","","","","type_id","","","","","","","verify","with_direct_addresses","with_relay_url","Encoding","Error","KIND","Kind","NodeTicket","Postcard","Ticket","Verify","borrow","","borrow_mut","","clone","clone_into","clone_to_uninit","deserialize","","eq","fmt","","","","from","","","","","from_bytes","","from_str","into","","new","node_addr","serialize","","source","to_bytes","","to_owned","to_string","","try_from","","try_into","","type_id","","expected"],"q":[[0,"iroh_base"],[183,"iroh_base::ticket"],[231,"iroh_base::ticket::Error"],[232,"iroh_base::key"],[233,"ed25519"],[234,"iroh_base::node_addr"],[235,"iroh_base::relay_url"],[236,"core::cmp"],[237,"core::result"],[238,"serde::de"],[239,"core::net::socket_addr"],[240,"core::iter::traits::iterator"],[241,"core::fmt"],[242,"alloc::string"],[243,"ed25519_dalek::signature"],[244,"ed25519_dalek::verifying"],[245,"data_encoding"],[246,"ed25519_dalek::errors"],[247,"ed25519_dalek::signing"],[248,"iroh_base::ticket::node"],[249,"core::option"],[250,"url"],[251,"url::parser"],[252,"core::iter::traits::collect"],[253,"signature::error"],[254,"rand_core"],[255,"core::hash"],[256,"serde::ser"],[257,"zeroize"],[258,"core::error"],[259,"alloc::vec"],[260,"core::any"],[261,"postcard::error"]],"i":"nBl00`b```````002001A`AbAdBn64532106432164321643214211643212264216666445533211004666644555333222211006436266431341645321022242143622636432143350`6636432164531066644453321064532106453210422En`El1`1`1Cl202000100002200222100020010210002020202Fb","f":"`````````````{{{d{b}}}{{d{{h{f}}}}}}{{{d{b}}}{{d{{j{f}}}}}}{d{{d{c}}}{}}2000000{{{d{l}}}{{d{lc}}}{}}000000{{{d{n}}}n}{{{d{b}}}b}{{{d{A`}}}A`}{{{d{Ab}}}Ab}{{{d{Ad}}}Ad}{{d{d{lc}}}Af{}}0000{{df}Af}0000{{{d{b}}{d{b}}}Ah}{{{d{Ab}}{d{Ab}}}Ah}{{{d{Ad}}{d{Ad}}}Ah}{{{d{Ad}}}{{d{c}}}{}}{c{{Aj{n}}}Al}{c{{Aj{b}}}Al}{c{{Aj{A`}}}Al}{c{{Aj{Ab}}}Al}{c{{Aj{Ad}}}Al}{{{d{Ab}}}{{`{{Bb{}{{An{{d{B`}}}}}}}}}}`{{{d{n}}{d{n}}}Bd}{{{d{b}}{d{b}}}Bd}{{{d{Ab}}{d{Ab}}}Bd}{{{d{Ad}}{d{Ad}}}Bd}{{{d{n}}{d{lBf}}}{{Aj{AfBh}}}}000{{{d{b}}{d{lBf}}}Bj}0{{{d{Bl}}{d{lBf}}}Bj}0{{{d{A`}}{d{lBf}}}Bj}0{{{d{Ab}}{d{lBf}}}Bj}{{{d{Ad}}{d{lBf}}}Bj}0{{{d{Bn}}{d{lBf}}}Bj}0{{{d{b}}}C`}{cc{}}{{{d{{h{f}}}}}n}{Cbn}{{{h{f}}}n}3{Cdb}{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{j{f}}}}{d{n}}}{{Aj{AfCh}}}}{{Abc}Ab{{Dh{}{{An{B`}}}}}}{{AbAd}Ab}````````{d{{d{c}}}{}}0{{{d{l}}}{{d{lc}}}{}}0{{{d{Cl}}}Cl}{{d{d{lc}}}Af{}}{{df}Af}{{{d{Dl}}}{{Aj{ElEn}}}}{c{{Aj{Cl}}}Al}{{{d{Cl}}{d{Cl}}}Bd}{{{d{Cl}}{d{lBf}}}Bj}0{{{d{En}}{d{lBf}}}Bj}0{cc{}}{AbCl}{CfEn}2{F`En}{{{d{{j{f}}}}}{{Aj{ElEn}}}}{{{d{{j{f}}}}}{{Aj{ClEn}}}}{{{d{Dl}}}{{Aj{Clc}}}{}}{{}c{}}06{{{d{Cl}}}{{d{Ab}}}}{{{d{El}}}C`}{{{d{Cl}}c}AjEb}{{{d{En}}}{{D`{{d{Ef}}}}}}{{{d{El}}}{{Eh{f}}}}{{{d{Cl}}}{{Eh{f}}}}{dc{}}{dC`}0{c{{Aj{e}}}{}{}}0{{}{{Aj{c}}}{}}0{dEj}0`","D":"J`","p":[[5,"PublicKey",0,232],[1,"reference",null,null,1],[1,"u8"],[1,"array"],[1,"slice"],[0,"mut"],[5,"Signature",0,233],[5,"SecretKey",0,232],[5,"NodeAddr",0,234],[5,"RelayUrl",0,235],[1,"unit"],[6,"Ordering",236],[6,"Result",237,null,1],[10,"Deserializer",238],[17,"Item"],[6,"SocketAddr",239],[10,"Iterator",240],[1,"bool"],[5,"Formatter",241],[5,"Error",241],[8,"Result",241],[6,"KeyParsingError",0,232],[5,"RelayUrlParseError",0,235],[5,"String",242],[5,"InternalSignature",243],[5,"VerifyingKey",244],[5,"DecodeError",245],[8,"SignatureError",246],[5,"SigningKey",247],[5,"NodeTicket",183,248],[8,"NodeId",0,232],[6,"Option",249,null,1],[1,"tuple",null,null,1],[5,"Url",250],[6,"ParseError",251],[10,"IntoIterator",252],[5,"Error",253],[1,"str"],[10,"CryptoRngCore",254],[10,"Hasher",255],[10,"Serializer",256],[5,"Zeroizing",257],[10,"Error",258],[5,"Vec",259],[5,"TypeId",260],[10,"Ticket",183],[6,"Error",183],[6,"Error",261],[15,"Kind",231]],"r":[[4,232],[6,234],[7,232],[8,232],[9,235],[10,235],[11,232],[12,233],[187,248]],"b":[[60,"impl-LowerHex-for-Signature"],[61,"impl-UpperHex-for-Signature"],[62,"impl-Debug-for-Signature"],[63,"impl-Display-for-Signature"],[64,"impl-Debug-for-PublicKey"],[65,"impl-Display-for-PublicKey"],[66,"impl-Debug-for-KeyParsingError"],[67,"impl-Display-for-KeyParsingError"],[68,"impl-Display-for-SecretKey"],[69,"impl-Debug-for-SecretKey"],[71,"impl-Display-for-RelayUrl"],[72,"impl-Debug-for-RelayUrl"],[73,"impl-Debug-for-RelayUrlParseError"],[74,"impl-Display-for-RelayUrlParseError"],[77,"impl-From%3C%26%5Bu8;+ed25519::::SignatureBytes::%7Bconstant%230%7D%5D%3E-for-Signature"],[78,"impl-From%3CInternalSignature%3E-for-Signature"],[79,"impl-From%3C%5Bu8;+ed25519::::SignatureBytes::%7Bconstant%230%7D%5D%3E-for-Signature"],[82,"impl-From%3CDecodeError%3E-for-KeyParsingError"],[84,"impl-From%3CError%3E-for-KeyParsingError"],[86,"impl-From%3C%5Bu8;+32%5D%3E-for-SecretKey"],[87,"impl-From%3CSigningKey%3E-for-SecretKey"],[88,"impl-From%3CNodeTicket%3E-for-NodeAddr"],[90,"impl-From%3CPublicKey%3E-for-NodeAddr"],[91,"impl-From%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[140,"impl-SignatureEncoding-for-Signature"],[141,"impl-Signature"],[157,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey"],[159,"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey"],[201,"impl-Debug-for-NodeTicket"],[202,"impl-Display-for-NodeTicket"],[203,"impl-Debug-for-Error"],[204,"impl-Display-for-Error"],[207,"impl-From%3CDecodeError%3E-for-Error"],[209,"impl-From%3CError%3E-for-Error"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAJgAFwAPACcAOQASAE4AAgBSAAEAVQAAAFcAAQBbAAEAXgABAGcAAwBsAAEAeAACAIIABACKAAEAjQAAAJAACgCcABgAwAAGAMgABQDQAAAA0gAAANQAAQDbAAEA3gAJAA==","P":[[15,"T"],[16,""],[17,"T"],[30,""],[35,"T"],[40,""],[48,"Deref::Target"],[49,"D"],[52,"__D"],[54,""],[76,"T"],[77,""],[80,"T"],[81,""],[83,"T"],[84,""],[85,"T"],[86,""],[89,"T"],[90,""],[92,"T"],[93,""],[95,"T"],[96,""],[100,""],[101,""],[103,"FromStr::Err"],[106,"R"],[107,"H"],[108,"__H"],[109,"U"],[116,""],[129,"S"],[132,"__S"],[134,""],[143,"T"],[148,""],[155,"U,T"],[156,""],[157,"TryFrom::Error"],[158,"U,T"],[159,"TryFrom::Error"],[160,"U,T"],[161,"TryFrom::Error"],[162,"U,T"],[166,"U"],[173,""],[181,""],[182,""],[191,"T"],[195,""],[196,"T"],[197,""],[199,"D"],[200,""],[205,"T"],[206,""],[208,"T"],[209,""],[212,"FromStr::Err"],[213,"U"],[215,""],[218,"S"],[219,""],[222,"T"],[223,""],[225,"U,T"],[227,"U"],[229,""]]}],["iroh_bench",{"t":"FGGGPPPFPPPPNNNNNNNNNNNNNNNNHONNNNNNNNNNNNHNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNONNNNNCOOONCOHCCNOONNNNNNNNNNNNNNNNNNNNNONNNNNSHHHHHHSHHHHHHFNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFONNNNNNOOOONNNNNNNNNNNOONNNNNNNNNNNNNNONOOOHOOONNNNNNOONNNNNN","n":["ClientStats","Commands","ConnectionSelector","EndpointSelector","Iroh","","","Opt","Quinn","","","S2n","__clone_box","","augment_args","augment_args_for_update","augment_subcommands","augment_subcommands_for_update","borrow","","","","","borrow_mut","","","","","client_handler","clients","clone","","clone_into","","clone_to_uninit","","close","","command","","command_for_update","","configure_tracing_subscriber","default","deref","","","","","deref_mut","","","","","download_size","drop","","","","","fmt","","from","","","","","from_arg_matches","","from_arg_matches_mut","","from_ref","","group_id","has_subcommand","init","","","","","initial_mtu","into","","","","","iroh","max_streams","metrics","only_relay","print","quinn","read_unordered","rt","s2n","stats","","","streams","to_owned","","try_from","","","","","try_into","","","","","type_id","","","","","update_from_arg_matches","","update_from_arg_matches_mut","","upload_size","vzip","","","","","ALPN","client","connect_client","handle_client_stream","server","server_endpoint","transport_config","ALPN","client","connect_client","handle_client_stream","server","server_endpoint","transport_config","Opt","__clone_box","augment_args","augment_args_for_update","borrow","borrow_mut","clone","clone_into","clone_to_uninit","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","from_ref","group_id","init","into","to_owned","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","Stats","StreamStats","TransferResult","avg_chunk_size","borrow","","","borrow_mut","","","chunk_size","chunk_time","chunks","","default","","deref","","","deref_mut","","","drop","","","duration","duration_hist","fmt","","","from","","","init","","","into","","","new","print","size","stream_finished","stream_stats","streams","throughput","throughput_bps","throughput_hist","total_duration","total_size","try_from","","","try_into","","","ttfb","ttfb_hist","type_id","","","vzip","",""],"q":[[0,"iroh_bench"],[126,"iroh_bench::iroh"],[133,"iroh_bench::quinn"],[140,"iroh_bench::s2n"],[169,"iroh_bench::stats"],[233,"dyn_clone::sealed"],[234,"clap_builder::builder::command"],[235,"anyhow"],[236,"core::fmt"],[237,"clap_builder::parser::matches::arg_matches"],[238,"clap_builder"],[239,"core::result"],[240,"clap_builder::util::id"],[241,"core::option"],[242,"tokio::runtime::runtime"],[243,"core::any"],[244,"iroh_base::node_addr"],[245,"iroh_base::relay_url"],[246,"iroh::endpoint"],[247,"iroh_quinn_proto::config::transport"],[248,"core::net::socket_addr"],[249,"rustls_pki_types"],[250,"iroh_quinn::endpoint"],[251,"iroh_quinn::connection"],[252,"core::time"]],"i":"````lnAf`21000A`00113210Ab43210`1212121432121`0432104321014321021432102121211243210143210`1110`1```311214321043210432102121143210```````````````Eb000000000000000000000000000```DbEdEf2102000210102102102201021021021022121112`01110210220102102","f":"````````````{{bd}f}0{hh}000{b{{b{c}}}{}}0000{{{b{j}}}{{b{jc}}}{}}0000{{lnA`}{{Ad{Ab}}}}`{{{b{Af}}}Af}{{{b{A`}}}A`}{{b{b{jc}}}f{}}0{{bAh}f}0{lf}{{{b{n}}Aj{b{{Al{Ah}}}}}f}{{}h}000{{}f}{{}Ab}{An{{b{c}}}{}}0000{An{{b{jc}}}{}}0000`{Anf}0000{{{b{Af}}{b{jB`}}}Bb}{{{b{A`}}{b{jB`}}}Bb}{cc{}}0000{{{b{Bd}}}{{Bh{AfBf}}}}{{{b{Bd}}}{{Bh{A`Bf}}}}{{{b{jBd}}}{{Bh{AfBf}}}}{{{b{jBd}}}{{Bh{A`Bf}}}}{{{b{c}}}c{}}0{{}{{Bl{Bj}}}}{{{b{Bn}}}C`}{{}An}0000`{{}c{}}0000````{{{b{Ab}}An}f}``{{}Cb}``{{{b{n}}}f}``{bc{}}0{c{{Bh{e}}}{}{}}0000{{}{{Bh{c}}}{}}0000{bCd}0000{{{b{jAf}}{b{Bd}}}{{Bh{fBf}}}}{{{b{jA`}}{b{Bd}}}{{Bh{fBf}}}}{{{b{jAf}}{b{jBd}}}{{Bh{fBf}}}}{{{b{jA`}}{b{jBd}}}{{Bh{fBf}}}}`{{}c{}}0000`{{Cf{Bl{Ch}}A`}{{Ad{Ab}}}}{{Cf{Bl{Ch}}A`}{{Ad{{Cn{CjCl}}}}}}{{{b{Cl}}D`C`}{{Ad{{Cn{DbDb}}}}}}{{CjA`}{{Ad{f}}}}{{{b{Cb}}{b{{Bl{Ch}}}}{b{A`}}}{{Cn{CfCj}}}}{{AnDd}Df}`{{DhDjA`}{{Ad{Ab}}}}{{DhDjA`}{{Ad{{Cn{DlDn}}}}}}{{{b{Dn}}D`C`}{{Ad{{Cn{DbDb}}}}}}{{DlA`}{{Ad{f}}}}{{{b{Cb}}DjE`{b{A`}}}{{Cn{DhDl}}}}5`{{bd}f}{hh}0{b{{b{c}}}{}}{{{b{j}}}{{b{jc}}}{}}{{{b{Eb}}}Eb}{{b{b{jc}}}f{}}{{bAh}f}{{}h}0{An{{b{c}}}{}}{An{{b{jc}}}{}}{Anf}{{{b{Eb}}{b{jB`}}}Bb}{cc{}}{{{b{Bd}}}{{Bh{EbBf}}}}{{{b{jBd}}}{{Bh{EbBf}}}}{{{b{c}}}c{}}{{}{{Bl{Bj}}}}{{}An}{{}c{}}{bc{}}{c{{Bh{e}}}{}{}}{{}{{Bh{c}}}{}}{bCd}{{{b{jEb}}{b{Bd}}}{{Bh{fBf}}}}{{{b{jEb}}{b{jBd}}}{{Bh{fBf}}}}{{}c{}}````{b{{b{c}}}{}}00{{{b{j}}}{{b{jc}}}{}}00````{{}Ed}{{}Ef}{An{{b{c}}}{}}00{An{{b{jc}}}{}}00{Anf}00``{{{b{Ed}}{b{jB`}}}Bb}{{{b{Ef}}{b{jB`}}}Bb}{{{b{Db}}{b{jB`}}}Bb}{cc{}}00{{}An}00{{}c{}}00{{EhD`EhD`}Db}{{{b{Ed}}{b{Bn}}}f}`{{{b{jEd}}Db}f}```{{EhD`}Ej}```{c{{Bh{e}}}{}{}}00{{}{{Bh{c}}}{}}00``{bCd}00{{}c{}}00","D":"Dj","p":[[1,"reference",null,null,1],[5,"Private",233],[1,"unit"],[5,"Command",234],[0,"mut"],[6,"EndpointSelector",0],[6,"ConnectionSelector",0],[5,"Opt",0],[5,"ClientStats",0],[8,"Result",235],[6,"Commands",0],[1,"u8"],[1,"u32"],[1,"slice"],[1,"usize"],[5,"Formatter",236],[8,"Result",236],[5,"ArgMatches",237],[8,"Error",238],[6,"Result",239,null,1],[5,"Id",240],[6,"Option",241,null,1],[1,"str"],[1,"bool"],[5,"Runtime",242],[5,"TypeId",243],[5,"NodeAddr",244],[5,"RelayUrl",245],[5,"Endpoint",246],[5,"Connection",246],[1,"tuple",null,null,1],[1,"u64"],[5,"TransferResult",169],[1,"u16"],[5,"TransportConfig",247],[6,"SocketAddr",248],[5,"CertificateDer",249],[5,"Endpoint",250],[5,"Connection",251],[6,"PrivateKeyDer",249],[5,"Opt",140],[5,"Stats",169],[5,"StreamStats",169],[5,"Duration",252],[1,"f64"]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAMQAEQAAABwAHwAXADgABgBEAAwAVwAAAFsAAQBeAAMAZAAUAHoABQCCAAAAhQABAIkAAACMAA8AnQAEAKMAJADLAAIA0QAYAA==","P":[[18,"T"],[28,""],[32,"T"],[34,""],[44,"T"],[55,""],[62,"T"],[67,""],[71,"T"],[73,""],[81,"U"],[90,""],[99,"T"],[101,"U,T"],[106,"U"],[111,""],[121,"V"],[127,""],[144,"T"],[146,""],[147,"T"],[148,""],[151,"T"],[153,""],[155,"T"],[156,""],[158,"T"],[159,""],[161,"U"],[162,"T"],[163,"U,T"],[164,"U"],[165,""],[168,"V"],[173,"T"],[183,""],[185,"T"],[191,""],[199,"T"],[202,""],[205,"U"],[208,""],[219,"U,T"],[222,"U"],[227,""],[230,"V"]]}],["iroh_dns_server",{"t":"FNNNNNNCCNNNNCNNNCNNNCCNNNNNNGFPPFFFNOONNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNOONNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNOFFFFNNNNONNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNOOOOONNNNNNNNNNNNNNNNNNNNNNNNGPFFFPPGPPPNNNNOONNNNNNNNNNONNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFNNNNNNNOOOOOONNNOOOOHNNNOOOOOONNNNNFNNNNNHNNNNNNFNNNNNNONNNONNNNN","n":["ZoneStore","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","config","dns","fmt","from","from_ref","get_signed_packet","http","in_memory","insert","into","metrics","new","persistent","resolve","server","state","to_owned","try_from","try_into","type_id","vzip","with_mainline_fallback","BootstrapOption","Config","Custom","Default","MainlineConfig","MetricsConfig","StoreConfig","__clone_box","bind_addr","bootstrap","borrow","","","","","borrow_mut","","","","","clone","clone_into","clone_to_uninit","data_dir","default","","","","deserialize","","","","","disabled","","dns","enabled","fmt","","","","","from","","","","","from_ref","http","https","into","","","","","load","mainline","metrics","pkarr_put_rate_limit","serialize","","","","","signed_packet_store_path","to_owned","try_from","","","","","try_into","","","","","type_id","","","","","vzip","","","","","zone_store","DnsConfig","DnsHandler","DnsServer","Handle","__clone_box","","","answer_request","bind_addr","borrow","","","","borrow_mut","","","","clone","","","clone_into","","","clone_to_uninit","","","default_soa","default_ttl","deserialize","fmt","","","from","","","","from_ref","","","handle_request","into","","","","local_addr","new","origins","port","rr_a","rr_aaaa","rr_ns","run_until_done","send_response","serialize","shutdown","spawn","to_owned","","","try_from","","","","try_into","","","","type_id","","","","vzip","","","","CertMode","Disabled","HttpConfig","HttpServer","HttpsConfig","LetsEncrypt","Manual","RateLimitConfig","SelfSigned","Simple","Smart","__clone_box","","","","bind_addr","","borrow","","","","","borrow_mut","","","","","cert_mode","clone","","","","clone_into","","","","clone_to_uninit","","","","default","","deserialize","","","","domains","eq","equivalent","","","fmt","","","","","from","","","","","from_ref","","","","http_addr","https_addr","into","","","","","letsencrypt_contact","letsencrypt_prod","port","","run_until_done","serialize","","","","shutdown","spawn","to_owned","","","","to_string","try_from","","","","","try_into","","","","","type_id","","","","","vzip","","","","","Metrics","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","default","dns_lookup_error","dns_lookup_notfound","dns_lookup_success","dns_requests","dns_requests_https","dns_requests_udp","fmt","from","from_ref","http_requests","http_requests_duration_ms","http_requests_error","http_requests_success","init_metrics","into","iter","name","pkarr_publish_noop","pkarr_publish_update","store_packets_expired","store_packets_inserted","store_packets_removed","store_packets_updated","to_owned","try_from","try_into","type_id","vzip","Server","borrow","borrow_mut","from","into","run_until_error","run_with_config_until_ctrl_c","shutdown","spawn","try_from","try_into","type_id","vzip","AppState","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","dns_handler","from","from_ref","into","store","to_owned","try_from","try_into","type_id","vzip"],"q":[[0,"iroh_dns_server"],[29,"iroh_dns_server::config"],[116,"iroh_dns_server::dns"],[191,"iroh_dns_server::http"],[299,"iroh_dns_server::metrics"],[335,"iroh_dns_server::server"],[348,"iroh_dns_server::state"],[365,"dyn_clone::sealed"],[366,"iroh_dns_server::store"],[367,"core::fmt"],[368,"pkarr::signed_packet"],[369,"core::option"],[370,"anyhow"],[371,"std::path"],[372,"core::convert"],[373,"hickory_proto::rr::domain::name"],[374,"hickory_proto::rr::record_type"],[375,"hickory_proto::rr::rr_set"],[376,"alloc::sync"],[377,"core::result"],[378,"core::any"],[379,"serde::de"],[380,"serde::ser"],[381,"hickory_server::server::request_handler"],[382,"bytes::bytes"],[383,"core::future::future"],[384,"alloc::boxed"],[385,"core::pin"],[386,"hickory_server::server::response_handler"],[387,"core::net::socket_addr"],[388,"hickory_server::authority::message_response"],[389,"hickory_proto::rr::resource"],[390,"core::iter::traits::iterator"],[391,"core::marker"],[392,"iroh_dns_server::http::rate_limiting"],[393,"iroh_dns_server::http::tls"],[394,"alloc::string"],[395,"alloc::vec::into_iter"]],"i":"`j00000``0000`000`000``000000``Bj0```BlCfCbC`3214032143330031403214220103214032143000321400000321403032140321403214032140````D`CjDb12Dl32103213213213213333210321321203210233333013003210321032103210321`Ej```El0`01110EnF`10Fd432104321143214321432144432113333433210432143210004321112104321004321304321043210432104321`Fj0000000000000000000`00000000000000`Gd0000`000000`Ff000000000000000","f":"`{{bd}f}{b{{b{c}}}{}}{{{b{h}}}{{b{hc}}}{}}{{{b{j}}}j}{{b{b{hc}}}f{}}{{bl}f}``{{{b{j}}{b{hn}}}A`}{cc{}}{{{b{c}}}c{}}{{{b{j}}{b{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}}}{{}{{b{Fl}}}}``````{bc{}}{c{{Bf{e}}}{}{}}{{}{{Bf{c}}}{}}{bBh}{{}c{}}`{b{{b{c}}}{}}{{{b{h}}}{{b{hc}}}{}}<9{Gd{{Af{f}}}}{C`{{Af{f}}}}1{{C`j}{{Af{Gd}}}}8765`{{bd}f}54{{{b{Ff}}}Ff}{{b{b{hc}}}f{}}{{bl}f}`{cc{}}{{{b{c}}}c{}}{{}c{}}`{bc{}}{c{{Bf{e}}}{}{}}{{}{{Bf{c}}}{}}{bBh}{{}c{}}","D":"Oj","p":[[1,"reference",null,null,1],[5,"Private",365],[1,"unit"],[0,"mut"],[5,"ZoneStore",0,366],[1,"u8"],[5,"Formatter",367],[8,"Result",367],[5,"SignedPacket",368],[6,"Option",369,null,1],[8,"Result",370],[1,"bool"],[5,"Path",371],[10,"AsRef",372],[5,"Name",373],[6,"RecordType",374],[5,"RecordSet",375],[5,"Arc",376,null,1],[6,"Result",377,null,1],[5,"TypeId",378],[6,"BootstrapOption",29],[5,"StoreConfig",29],[5,"PathBuf",371],[5,"Config",29],[5,"MainlineConfig",29],[10,"Deserializer",379],[5,"MetricsConfig",29],[10,"Serializer",380],[5,"DnsHandler",116],[5,"Request",381],[5,"Bytes",382],[5,"DnsConfig",116],[5,"Handle",116],[10,"Future",383,null,1],[5,"Box",384,null,1],[5,"Pin",385],[10,"ResponseHandler",386],[5,"DnsServer",116],[6,"SocketAddr",387],[5,"MessageResponse",388],[17,"Item"],[5,"Record",389],[10,"Iterator",390],[10,"Send",391],[6,"RateLimitConfig",191,392],[6,"CertMode",191,393],[5,"HttpConfig",191],[5,"HttpsConfig",191],[5,"Error",367],[5,"HttpServer",191],[5,"AppState",348],[5,"String",394],[5,"Metrics",299],[1,"str"],[10,"Any",378],[1,"tuple",null,null,1],[5,"IntoIter",395],[5,"Server",335]],"r":[[0,366],[191,393],[198,392]],"b":[[231,"impl-Default-for-%26RateLimitConfig"],[232,"impl-Default-for-RateLimitConfig"],[243,"impl-Debug-for-CertMode"],[244,"impl-Display-for-CertMode"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAPAAIAACAAUACgAAAAwAAAAYAAQAJQAAACgADAA2AAgAQwAEAE0AAABZAAQAXwAUAHkAAgB+ABAAkQADAJkAAwCpAAEArQASAMsAAwDRAAkA3AARAO8ACAD9AAMADQEDABMBGAAtAQ0APAEEAEMBDABRAQEAWQEDAF4BBQBmAQAAaQEEAA==","P":[[2,"T"],[4,""],[5,"T"],[6,""],[10,"T"],[12,""],[16,"U"],[18,""],[19,""],[20,""],[23,"T"],[24,"U,T"],[25,"U"],[26,""],[27,"V"],[28,""],[39,"T"],[49,""],[50,"T"],[51,""],[57,"__D"],[62,""],[71,"T"],[79,"U"],[84,""],[88,"__S"],[93,""],[94,"T"],[95,"U,T"],[100,"U"],[105,""],[110,"V"],[120,""],[125,"T"],[133,""],[136,"T"],[139,""],[144,"__D"],[145,""],[148,"T"],[155,"R"],[156,"U"],[160,""],[168,",,,"],[169,"__S"],[170,""],[172,"T"],[175,"U,T"],[179,"U"],[183,""],[187,"V"],[202,""],[208,"T"],[219,""],[223,"T"],[227,""],[233,"__D"],[238,""],[239,"K"],[242,""],[247,"T"],[256,""],[258,"U"],[267,""],[268,"__S"],[272,""],[274,"T"],[278,""],[279,"U,T"],[284,"U"],[289,""],[294,"V"],[300,""],[301,"T"],[303,""],[304,"T"],[305,""],[314,"T"],[320,""],[321,"U"],[322,""],[330,"T"],[331,"U,T"],[332,"U"],[333,""],[334,"V"],[336,"T"],[339,"U"],[340,""],[344,"U,T"],[345,"U"],[346,""],[347,"V"],[349,""],[350,"T"],[352,""],[353,"T"],[354,""],[356,"T"],[358,"U"],[360,"T"],[361,"U,T"],[362,"U"],[363,""],[364,"V"]]}],["iroh_net_report",{"t":"FFFFFSFFFFFNHNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNOONNNNNNNNNNNNNNNNNNNNOOOOOONNOONNNHONOONNOOOOONOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNN","n":["Addr","Client","IpMappedAddr","IpMappedAddrError","IpMappedAddresses","MAPPED_ADDR_PORT","Metrics","Options","QuicConfig","RelayLatencies","Report","addr","bind_local_stun_socket","borrow","","","","","","","","","","borrow_mut","","","","","","","","","","captive_portal","client_config","clone","","","","","","","clone_into","","","","","","","clone_to_uninit","","","","","","","cmp","compare","default","","","","","deref","","","","","","","","","","deref_mut","","","","","","","","","","disabled","drop","","","","","","","","","","ep","eq","","","equivalent","","","","","","","","","fmt","","","","","","","","","","","","","from","","","","","","","","","","generate","get_ip_addr","get_mapped_addr","get_or_register","get_report","get_report_channel","get_report_with_opts","global_v4","global_v6","hair_pinning","hash","https","icmp_v4","icmp_v6","icmpv4","icmpv6","init","","","","","","","","","","into","","","","","","","","","","ipv4","","ipv4_can_send","ipv6","","ipv6_can_send","iter","","mapping_varies_by_dest_ip","mapping_varies_by_dest_ipv6","name","new","","os_has_ipv6","","partial_cmp","portmap_probe","preferred_relay","quic_config","receive_stun_packet","relay_latency","relay_v4_latency","relay_v6_latency","reports","reports_full","socket_addr","stun_packets_dropped","stun_packets_recv_ipv4","stun_packets_recv_ipv6","stun_packets_sent_ipv4","stun_packets_sent_ipv6","stun_v4","stun_v6","to_owned","","","","","","","to_string","","","try_from","","","","","","","","","","","try_into","","","","","","","","","","type_id","","","","","","","","","","udp","vzip","","","","","","","","",""],"q":[[0,"iroh_net_report"],[251,"netwatch::ip_family"],[252,"tokio_util::sync::cancellation_token"],[253,"netwatch::udp"],[254,"alloc::sync"],[255,"core::option"],[256,"iroh_net_report::ip_mapped_addrs"],[257,"iroh_net_report::metrics"],[258,"iroh_net_report::reportgen"],[259,"core::cmp"],[260,"core::fmt"],[261,"core::net::socket_addr"],[262,"iroh_relay::relay_map"],[263,"anyhow"],[264,"tokio::sync::oneshot"],[265,"core::hash"],[266,"core::any"],[267,"alloc::vec::into_iter"],[268,"iroh_base::relay_url"],[269,"core::time"],[270,"core::iter::traits::iterator"],[271,"portmapper"],[272,"hickory_resolver::resolver"],[273,"bytes::bytes"],[274,"alloc::string"],[275,"core::result"],[276,"core::net::ip_addr"],[277,"iroh_net_report::stun_utils"]],"i":"```````````b`BlAdAfAhAjAlAn7Bff876543291034765432076543207654320776532187654329108765432910187654329104732777333222887765433291087654329107666999333711133876543291087654329104334335233569`37331033355755555117654320873877654329108765432910876543291038765432910","f":"```````````{{{d{b}}}f}{{hfj}{{A`{{n{l}}}}}}{d{{d{c}}}{}}000000000{{{d{Ab}}}{{d{Abc}}}{}}000000000``{{{d{Ad}}}Ad}{{{d{Af}}}Af}{{{d{Ah}}}Ah}{{{d{Aj}}}Aj}{{{d{Al}}}Al}{{{d{An}}}An}{{{d{f}}}f}{{d{d{Abc}}}B`{}}000000{{dBb}B`}000000{{{d{Ad}}{d{Ad}}}Bd}{{d{d{c}}}Bd{}}{{}Af}{{}Ah}{{}Al}{{}An}{{}Bf}{Bh{{d{c}}}{}}000000000{Bh{{d{Abc}}}{}}0000000002{BhB`}000000000`{{{d{Ad}}{d{Ad}}}Bj}{{{d{Al}}{d{Al}}}Bj}{{{d{An}}{d{An}}}Bj}{{d{d{c}}}Bj{}}00000000{{{d{Bl}}{d{AbBn}}}C`}0{{{d{Ad}}{d{AbBn}}}C`}0{{{d{Af}}{d{AbBn}}}C`}{{{d{Ah}}{d{AbBn}}}C`}{{{d{Aj}}{d{AbBn}}}C`}{{{d{Al}}{d{AbBn}}}C`}0{{{d{An}}{d{AbBn}}}C`}{{{d{b}}{d{AbBn}}}C`}{{{d{Bf}}{d{AbBn}}}C`}{{{d{f}}{d{AbBn}}}C`}{cc{}}000000000{{}Ad}{{{d{Af}}{d{Ad}}}{{A`{Cb}}}}{{{d{Af}}{d{Cb}}}{{A`{Ad}}}}{{{d{Af}}Cb}Ad}{{{d{Abb}}Cd{A`{{n{l}}}}{A`{{n{l}}}}{A`{Aj}}}{{Cf{{n{Al}}}}}}{{{d{Abb}}CdBf}{{Cf{{Ch{{Cf{{n{Al}}}}}}}}}}{{{d{Abb}}CdBf}{{Cf{{n{Al}}}}}}```{{{d{Ad}}{d{Abc}}}B`Cj}{{BfBj}Bf}00``{{}Bh}000000000{{}c{}}000000000``````{{{d{Ah}}}{{Db{{D`{{d{Cl}}{d{Cn}}}}}}}}{{{d{An}}}{{`{{Dj{}{{Dd{{D`{{d{Df}}Dh}}}}}}}}}}``{{}{{d{Cl}}}}{{}Af}{{{A`{Dl}}Dn{A`{Af}}}{{Cf{b}}}}{{}Bj}`{{{d{Ad}}{d{Ad}}}{{A`{Bd}}}}``{{Bf{A`{Aj}}}Bf}{{{d{f}}E`Cb}B`}`````{{{d{Ad}}}Cb}`````{{Bf{A`{{n{l}}}}}Bf}0{dc{}}000000{dEb}00{c{{Ed{e}}}{}{}}{Ef{{Ed{Adc}}}{}}111111111{{}{{Ed{c}}}{}}000000000{dEh}000000000`{{}c{}}000000000","D":"Ij","p":[[5,"Client",0],[1,"reference",null,null,1],[5,"Addr",0],[6,"IpFamily",251],[5,"CancellationToken",252],[5,"UdpSocket",253],[5,"Arc",254,null,1],[6,"Option",255,null,1],[0,"mut"],[5,"IpMappedAddr",0,256],[5,"IpMappedAddresses",0,256],[5,"Metrics",0,257],[5,"QuicConfig",0,258],[5,"Report",0],[5,"RelayLatencies",0],[1,"unit"],[1,"u8"],[6,"Ordering",259],[5,"Options",0],[1,"usize"],[1,"bool"],[5,"IpMappedAddrError",0,256],[5,"Formatter",260],[8,"Result",260],[6,"SocketAddr",261],[5,"RelayMap",262],[8,"Result",263],[5,"Receiver",264],[10,"Hasher",265],[1,"str"],[10,"Any",266],[1,"tuple",null,null,1],[5,"IntoIter",267],[17,"Item"],[5,"RelayUrl",268],[5,"Duration",269],[10,"Iterator",270],[5,"Client",271],[8,"TokioResolver",272],[5,"Bytes",273],[5,"String",274],[6,"Result",275,null,1],[5,"Ipv6Addr",276],[5,"TypeId",266]],"r":[[2,256],[3,256],[4,256],[5,256],[6,257],[8,258],[12,277]],"b":[[107,"impl-Display-for-IpMappedAddrError"],[108,"impl-Debug-for-IpMappedAddrError"],[109,"impl-Display-for-IpMappedAddr"],[110,"impl-Debug-for-IpMappedAddr"],[114,"impl-Display-for-Report"],[115,"impl-Debug-for-Report"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAK4ADQAOABMAJAAvAFUACQBgABgAjQAAAJMACQCtAAAAsQAAALYAAAC+AAEAwQAEAMgAKADyAAkA","P":[[13,"T"],[35,""],[42,"T"],[49,""],[57,"K"],[58,""],[63,"T"],[83,""],[98,"K"],[107,""],[120,"T"],[130,""],[140,"__H"],[141,""],[156,"U"],[172,""],[199,"T"],[206,""],[209,"U,T"],[210,"TryFrom::Error"],[211,"U,T"],[220,"U"],[230,""],[241,"V"]]}],["iroh_relay",{"t":"EFFFFNNNNNNNNCNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNOCCONNCOONNNNNNNNNNNNNNNNNNONNNNNFFFFGPPPPPPPPPGPGPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOSSSSSSGSSPPNNNNNNNNNNNNNNNNNNNNNNNNCCCSHSPGPPPPPPPPGFPPPPPPPPPPPGFPFPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNNNNNNNNNCHHNHHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNSSSSSSFNNNNNNNNNNNNNNNGGPGFSPPPFPFFFPFPFFFFFOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONONNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNONNNNNNNNNNNNNNONONNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNOOOONNOOOONOOONONOOOOOONNNONNCONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNOOOHHHHHH","n":["MAX_PACKET_SIZE","PingTracker","RelayMap","RelayNode","RelayQuicConfig","borrow","","","","borrow_mut","","","","client","clone","","","clone_into","","","clone_to_uninit","","","cmp","","compare","","contains_node","default","","default_from_node","default_timeout","defaults","deref","","","","deref_mut","","","","deserialize","","drop","","","","empty","eq","","","equivalent","","","","","","","","","fmt","","","","","","from","","","","from_nodes","from_url","get_node","http","init","","","","into","","","","is_empty","len","new","new_ping","nodes","partial_cmp","","pong_received","port","protos","quic","","serialize","","server","stun_only","stun_port","timeout","to_owned","","","to_string","","try_from","","","","try_into","","","","type_id","","","","url","urls","vzip","","","","Client","ClientBuilder","ClientSink","ClientStream","ConnSendError","Health","Io","KeepAlive","NodeGone","Ping","","Pong","","Protocol","ReceivedMessage","ReceivedPacket","SendMessage","SendPacket","ServerRestarting","address_family_selector","borrow","","","","","","","borrow_mut","","","","","","","clone","","clone_into","","clone_to_uninit","","connect","deref","","","","","","","deref_mut","","","","","","","drop","","","","","","","fmt","","","","","","","","from","","","","","","","","","init","","","","","","","insecure_skip_cert_verify","into","","","","","","","is_prober","key_cache_capacity","local_addr","make_dangerous_client_config","new","poll_close","","poll_flush","","poll_next","","poll_ready","","protocol","proxy_url","ratelimit_sink","","ratelimit_sink_with_jitter","","ratelimit_stream","","ratelimit_stream_with_jitter","","source","split","start_send","","to_owned","","to_string","try_from","","","","","","","try_into","","","","","","","try_poll_next","","type_id","","","","","","","vzip","","","","","","","data","problem","reconnect_in","remote_node_id","try_for","DEFAULT_HTTPS_PORT","DEFAULT_HTTP_PORT","DEFAULT_KEY_CACHE_CAPACITY","DEFAULT_METRICS_PORT","DEFAULT_RELAY_QUIC_PORT","DEFAULT_STUN_PORT","Protocol","RELAY_PATH","RELAY_PROBE_PATH","Relay","Websocket","borrow","borrow_mut","clone","clone_into","clone_to_uninit","default","deref","deref_mut","drop","eq","equivalent","","","fmt","from","init","into","parse_header","to_owned","try_from","try_into","type_id","upgrade_header","vzip","disco","relay","stun","MAGIC","looks_like_disco_wrapper","MAX_PACKET_SIZE","AlternateServer","Error","ErrorCode","ErrorResponse","Fingerprint","Indication","InvalidFingerprint","InvalidMessage","MalformedAttrs","MappedAddress","MessageClass","MessageDecoder","MessageIntegrity","MessageIntegritySha256","NoFingerprint","Nonce","NotBinding","NotSuccessResponse","PasswordAlgorithm","PasswordAlgorithms","Realm","Request","Software","StunAttribute","StunDecodeError","SuccessResponse","TransactionId","Unknown","UnknownAttributes","UserHash","UserName","XorMappedAddress","as_alternate_server","as_bytes","as_error_code","as_fingerprint","as_mapped_address","as_message_integrity","as_message_integrity_sha256","as_nonce","as_password_algorithm","as_password_algorithms","as_realm","as_ref","as_software","as_unknown","as_unknown_attributes","as_user_hash","as_user_name","as_xor_mapped_address","attribute_type","borrow","","","","","","borrow_mut","","","","","","clone","","","","clone_into","","","","clone_to_uninit","","","","cmp","compare","decode","default","","deref","","","","","","","deref_mut","","","","","","drop","","","","","","eq","","equivalent","","","","","","expect_alternate_server","expect_error_code","expect_fingerprint","expect_mapped_address","expect_message_integrity","expect_message_integrity_sha256","expect_nonce","expect_password_algorithm","expect_password_algorithms","expect_realm","expect_software","expect_unknown","expect_unknown_attributes","expect_user_hash","expect_user_name","expect_xor_mapped_address","fmt","","","","","","","","","from","","","","","","","","","","","","","","","","","","","","","","","","get_context","hash","init","","","","","","into","","","","","","is","is_alternate_server","is_error_code","is_fingerprint","is_mapped_address","is_message_integrity","is_message_integrity_sha256","is_nonce","is_password_algorithm","is_password_algorithms","is_realm","is_software","is_unknown","is_unknown_attributes","is_user_hash","is_user_name","is_xor_mapped_address","methods","parse_binding_request","parse_response","partial_cmp","request","response","to_owned","","","","to_string","","","try_from","","","","","","","try_into","","","","","","type_id","","","","","","vzip","","","","","","BINDING","RESERVED","SHARED_SECRET","ALPN_QUIC_ADDR_DISC","QUIC_ADDR_DISC_CLOSE_CODE","QUIC_ADDR_DISC_CLOSE_REASON","QuicClient","borrow","borrow_mut","deref","deref_mut","drop","fmt","from","get_addr_and_latency","init","into","new","try_from","try_into","type_id","vzip","Access","AccessConfig","Allow","CertConfig","ClientRateLimit","DEFAULT_CERT_RELOAD_INTERVAL","Deny","Everyone","LetsEncrypt","Limits","Manual","Metrics","QuicConfig","RelayConfig","Reloading","ReloadingResolver","Restricted","Server","ServerConfig","StunConfig","StunMetrics","TlsConfig","accept_conn_burst","accept_conn_limit","accepts","access","bad_requests","bind_addr","","borrow","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","bytes_per_second","bytes_recv","bytes_sent","cert","certificates","client_rx","clone","","","","clone_into","","","","clone_to_uninit","","","","conns_rx_ratelimited_total","default","","","","deref","","","","","","","","","","","","","","","deref_mut","","","","","","","","","","","","","","disco_packets_dropped","disco_packets_recv","disco_packets_sent","disconnects","drop","","","","","","","","","","","","","","eq","equivalent","","","failures","fmt","","","","","","","","","","","","","","frames_rx_ratelimited_total","from","","","","","","","","","","","","","","got_ping","http_addr","http_bind_addr","http_url","https_addr","https_bind_addr","https_url","init","","","","","","","","","","","","","","","into","","","","","","","","","","","","","","ipv4_success","ipv6_success","is_allowed","iter","","key_cache_capacity","limits","max_burst_bytes","metrics_addr","name","","other_packets_dropped","other_packets_recv","other_packets_sent","quic","quic_addr","quic_bind_addr","relay","relay_accepts","reload","requests","resolve","send_packets_dropped","send_packets_recv","send_packets_sent","sent_pong","server_config","","shutdown","","spawn","stun","stun_addr","task_handle","testing","tls","to_owned","","","","try_from","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","type_id","","","","","","","","","","","","","","unique_client_keys","unknown_frames","vzip","","","","","","","","","","","","","","websocket_accepts","certs","state","quic_config","relay_config","self_signed_tls_certs_and_config","server_config","stun_config","tls_config"],"q":[[0,"iroh_relay"],[123,"iroh_relay::client"],[277,"iroh_relay::client::ReceivedMessage"],[282,"iroh_relay::defaults"],[288,"iroh_relay::http"],[317,"iroh_relay::protos"],[320,"iroh_relay::protos::disco"],[322,"iroh_relay::protos::relay"],[323,"iroh_relay::protos::stun"],[548,"iroh_relay::protos::stun::methods"],[551,"iroh_relay::quic"],[570,"iroh_relay::server"],[866,"iroh_relay::server::CertConfig"],[868,"iroh_relay::server::testing"],[874,"iroh_relay::relay_map"],[875,"core::cmp"],[876,"iroh_base::relay_url"],[877,"iroh_relay::ping_tracker"],[878,"core::time"],[879,"core::result"],[880,"serde::de"],[881,"core::fmt"],[882,"anyhow"],[883,"alloc::sync"],[884,"core::convert"],[885,"core::iter::traits::collect"],[886,"core::option"],[887,"core::iter::traits::iterator"],[888,"serde::ser"],[889,"alloc::string"],[890,"core::any"],[891,"core::ops::function"],[892,"core::marker"],[893,"iroh_relay::client::conn"],[894,"tokio_tungstenite_wasm::error"],[895,"std::io::error"],[896,"core::net::socket_addr"],[897,"rustls::client::client_conn"],[898,"iroh_base::key"],[899,"hickory_resolver::resolver"],[900,"core::pin"],[901,"core::task::wake"],[902,"core::task::poll"],[903,"url"],[904,"governor::state::direct"],[905,"governor::state"],[906,"governor::state::direct::sinks"],[907,"governor::clock::with_std"],[908,"governor::gcra"],[909,"governor::middleware"],[910,"governor::jitter"],[911,"governor::state::direct::streams"],[912,"core::error"],[913,"http::header::value"],[914,"stun_rs::attributes"],[915,"stun_rs::attributes::stun::alternate_server"],[916,"stun_rs::error"],[917,"stun_rs::types"],[918,"stun_rs::attributes::stun::error_code"],[919,"stun_rs::attributes::stun::fingerprint"],[920,"stun_rs::attributes::stun::mapped_address"],[921,"stun_rs::attributes::stun::message_integrity"],[922,"stun_rs::attributes::stun::message_integrity_sha256"],[923,"stun_rs::attributes::stun::nonce"],[924,"stun_rs::attributes::stun::password_algorithm"],[925,"stun_rs::attributes::stun::password_algorithms"],[926,"stun_rs::attributes::stun::realm"],[927,"stun_rs::attributes::stun::software"],[928,"stun_rs::attributes::unknown"],[929,"stun_rs::attributes::stun::unknown_attributes"],[930,"stun_rs::attributes::stun::user_hash"],[931,"stun_rs::attributes::stun::user_name"],[932,"stun_rs::attributes::stun::xor_mapped_address"],[933,"stun_rs::context"],[934,"stun_rs::message"],[935,"core::hash"],[936,"alloc::vec"],[937,"iroh_quinn::endpoint"],[938,"rustls_pki_types"],[939,"iroh_relay::server::metrics"],[940,"core::default"],[941,"iroh_relay::server::resolver"],[942,"rustls::crypto::signer"],[943,"reloadable_core"],[944,"alloc::vec::into_iter"],[945,"rustls::server::server_conn"],[946,"tokio_util::task::abort_on_drop"],[947,"stun_rs"],[948,"stun_rs::methods"]],"i":"`````Affhj3210`210210210101023023`3210321010321022102221110003221103210222`32103210223321030``110`11321021321032103210123210`````DfDj111Dl201`2`02Cl2310DhDnE`5643210636363356432105643210564321055643210555643210564321035643210330`32121202133212120205221635564321056432102056432105643210OhOjOl20`````````Fd0000000000000000000000000``````Hf`0K`10Kh002``22020022212``1`222222Hl33333333303333333Jn3124Kd14235014251425142522112142235014235014235042444222555555555555555514223350014222355555555555555555012142350142350`5555555555555555```2``14252301442350142350142350142350```````L`00000000000000``Ll```0MlNd`0```0`1`````Mf0LhMjLjMnN`42MhM`59:32Nb8Ln:Ld97438<=652:1;019920:97=197=197=19973:974438<=652:1;097438<=652:1;0999997438<=652:1;0====797438<=652:1;0997438<=652:1;09080020974438<=652:1;097438<=652:1;077<9788139799930239474999952400300`897=197438<=652:1;097438<=652:1;097438<=652:1;09997438<=652:1;09OnA@```````","f":"`````{b{{b{c}}}{}}000{{{b{d}}}{{b{dc}}}{}}000`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Gn{{b{Hb}}{b{Nn}}}}}}}}{{{b{Lj}}}{{O`{{Gn{{b{Hb}}{b{Nn}}}}}}}}````{{}{{b{Hb}}}}0````8```{{{b{{Mh{c}}}}}l{Db{Nj{}{{Nf{Nh}}}}}}`{{{b{{Mh{c}}}}Ob}{{C`{{Bh{Nh}}}}}{{Nj{}{{Nf{Nh}}}}DbMd}}``````{{{Mh{c}}}l{Db{Nj{}{{Nf{Nh}}}}}}{Ld{{Bf{l}}}}{{{M`{ce}}}{{Bf{Ld}}}MdMd}`={{{b{dLd}}}{{b{d{Od{{Bf{l}}}}}}}}``{bc{}}000{c{{An{e}}}{}{}}0000000000000{{}{{An{c}}}{}}0000000000000{bCj}0000000000000``{{}c{}}0000000000000```{{}N`}{{}{{Mj{l}}}}{{}{{Gn{{Kn{Lf}}Of}}}}{{}{{M`{l}}}}{{}Mn}{{}{{Nb{l}}}}","D":"BJn","p":[[1,"reference",null,null,1],[0,"mut"],[5,"RelayMap",0,874],[5,"RelayNode",0,874],[5,"RelayQuicConfig",0,874],[1,"unit"],[1,"u8"],[6,"Ordering",875],[5,"RelayUrl",876],[1,"bool"],[5,"PingTracker",0,877],[1,"u16"],[5,"Duration",878],[1,"usize"],[6,"Result",879,null,1],[10,"Deserializer",880],[5,"Formatter",881],[8,"Result",881],[8,"Result",882],[5,"Arc",883,null,1],[10,"Into",884],[17,"Item"],[10,"IntoIterator",885],[6,"Option",886,null,1],[1,"array"],[10,"Iterator",887],[10,"Serializer",888],[5,"String",889],[5,"TypeId",890],[5,"ClientBuilder",123],[17,"Output"],[10,"Fn",891],[10,"Send",892],[10,"Sync",892],[6,"ReceivedMessage",123,893],[5,"Client",123],[6,"ConnSendError",123,893],[6,"SendMessage",123,893],[5,"ClientSink",123],[5,"ClientStream",123],[6,"Error",894],[5,"Error",895],[6,"SocketAddr",896],[5,"ClientConfig",897],[5,"SecretKey",898],[8,"TokioResolver",899],[5,"Pin",900],[5,"Context",901],[6,"Poll",902],[6,"Protocol",288],[5,"Url",903],[6,"NotKeyed",904],[5,"RateLimiter",905],[5,"RatelimitedSink",906],[10,"DirectStateStore",904],[10,"ReasonablyRealtime",907],[17,"NegativeOutcome"],[5,"NotUntil",908],[10,"RateLimitingMiddleware",909],[5,"Jitter",910],[5,"RatelimitedStream",911],[10,"Error",912],[1,"tuple",null,null,1],[5,"HeaderValue",913],[1,"str"],[1,"slice"],[6,"StunAttribute",323,914],[5,"AlternateServer",915],[5,"StunError",916],[5,"TransactionId",323,917],[5,"ErrorCode",918],[6,"Fingerprint",919],[5,"MappedAddress",920],[6,"MessageIntegrity",921],[6,"MessageIntegritySha256",922],[5,"Nonce",923],[5,"PasswordAlgorithm",924],[5,"PasswordAlgorithms",925],[5,"Realm",926],[5,"Software",927],[5,"Unknown",928],[5,"UnknownAttributes",929],[5,"UserHash",930],[5,"UserName",931],[5,"XorMappedAddress",932],[5,"AttributeType",914],[5,"MessageDecoder",323,933],[6,"MessageClass",323,934],[5,"StunMessage",934],[5,"StunDecodeError",323,916],[5,"Error",881],[6,"Error",323],[5,"DecoderContext",933],[10,"Hasher",935],[5,"Vec",936],[5,"QuicClient",551],[5,"Endpoint",937],[5,"Server",570],[5,"CertificateDer",938],[5,"Metrics",570,939],[5,"StunMetrics",570,939],[6,"Access",570],[5,"ClientRateLimit",570],[5,"ServerConfig",570],[10,"Default",940],[10,"Debug",881],[5,"Limits",570],[5,"ReloadingResolver",570,941],[5,"RelayConfig",570],[6,"AccessConfig",570],[5,"StunConfig",570],[5,"QuicConfig",570],[5,"TlsConfig",570],[6,"CertConfig",570],[17,"Value"],[5,"CertifiedKey",942],[10,"Loader",943],[8,"NodeId",898],[10,"Any",890],[5,"IntoIter",944],[5,"ClientHello",945],[5,"AbortOnDropHandle",946],[5,"ServerConfig",945],[15,"ReceivedPacket",277],[15,"Health",277],[15,"ServerRestarting",277],[15,"Manual",866],[15,"LetsEncrypt",866]],"r":[[0,322],[1,877],[2,874],[3,874],[4,874],[127,893],[137,893],[139,893],[333,934],[334,933],[346,914],[347,916],[349,917],[510,947],[548,948],[549,948],[550,948],[575,941],[581,939],[585,941],[590,939]],"b":[[61,"impl-Debug-for-RelayMap"],[62,"impl-Display-for-RelayMap"],[63,"impl-Display-for-RelayNode"],[64,"impl-Debug-for-RelayNode"],[185,"impl-Display-for-ConnSendError"],[186,"impl-Debug-for-ConnSendError"],[194,"impl-From%3CError%3E-for-ConnSendError"],[195,"impl-From%3CError%3E-for-ConnSendError"],[448,"impl-Debug-for-TransactionId"],[449,"impl-Display-for-TransactionId"],[450,"impl-Debug-for-Error"],[451,"impl-Display-for-Error"],[453,"impl-Display-for-StunDecodeError"],[454,"impl-Debug-for-StunDecodeError"],[457,"impl-From%3C%26%5Bu8;+stun_rs::::types::%7Bimpl%2313%7D::%7Bconstant%230%7D%5D%3E-for-TransactionId"],[458,"impl-From%3C%5Bu8;+stun_rs::::types::%7Bimpl%2314%7D::%7Bconstant%230%7D%5D%3E-for-TransactionId"],[461,"impl-From%3CXorMappedAddress%3E-for-StunAttribute"],[462,"impl-From%3CMappedAddress%3E-for-StunAttribute"],[463,"impl-From%3CUnknown%3E-for-StunAttribute"],[464,"impl-From%3CUserName%3E-for-StunAttribute"],[465,"impl-From%3CSoftware%3E-for-StunAttribute"],[466,"impl-From%3CFingerprint%3E-for-StunAttribute"],[468,"impl-From%3CUnknownAttributes%3E-for-StunAttribute"],[469,"impl-From%3CRealm%3E-for-StunAttribute"],[470,"impl-From%3CUserHash%3E-for-StunAttribute"],[471,"impl-From%3CPasswordAlgorithm%3E-for-StunAttribute"],[472,"impl-From%3CNonce%3E-for-StunAttribute"],[473,"impl-From%3CMessageIntegritySha256%3E-for-StunAttribute"],[474,"impl-From%3CMessageIntegrity%3E-for-StunAttribute"],[475,"impl-From%3CAlternateServer%3E-for-StunAttribute"],[476,"impl-From%3CErrorCode%3E-for-StunAttribute"],[477,"impl-From%3CPasswordAlgorithms%3E-for-StunAttribute"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAABMCMAABAAAABgAHAA8ADAAdAAEAIgANADEAEQBLAAMAWAABAF8AAQBlABAAeAADAJAAEwClABwAwwABAMsABgDfAAcA6QAIAPMAIgAmAQ0ANQEAADgBAwA9AQAAbwEAAHcBGQCSAQAAlAEaAL8BCADKAQEAzgEFANUBCQDhAQYAAgIAAAUCHwAsAgUANAIAADcCAwBYAhsAegILAIcCIACsAhEAvwINAOMCAgDnAgoAAwMBAAkDAQAVAwAAJAMtAFQDDQA=","P":[[5,"T"],[14,""],[17,"T"],[20,""],[25,"K"],[27,""],[33,"T"],[41,"__D"],[43,""],[51,"K"],[60,""],[66,"T"],[70,"I,"],[71,""],[78,"U"],[82,""],[94,"__S"],[99,""],[100,"T"],[103,""],[105,"U,T"],[109,"U"],[113,""],[119,"V"],[142,"S"],[143,"T"],[157,""],[159,"T"],[161,""],[164,"T"],[178,""],[193,"T"],[194,""],[196,"T"],[202,""],[210,"U"],[217,""],[221,""],[222,"Sink::Error"],[226,"Stream::Item"],[228,"Sink::Error"],[230,""],[232,"D,C,MW,Item,S"],[236,"D,C,MW,S"],[240,""],[242,"Sink::Error"],[244,"T"],[246,""],[247,"U,T"],[254,"U"],[261,"S"],[263,""],[270,"V"],[293,"T"],[295,""],[296,"T"],[297,""],[299,"T"],[301,""],[303,"K"],[306,""],[307,"T"],[308,""],[309,"U"],[310,""],[311,"T"],[312,"U,T"],[313,"U"],[314,""],[316,"V"],[321,""],[374,"T"],[386,""],[390,"T"],[394,""],[399,"K"],[400,""],[403,"T"],[405,""],[406,"T"],[416,""],[424,"K"],[430,""],[455,"T"],[457,""],[459,"T"],[461,""],[467,"T"],[468,""],[478,"T"],[479,""],[480,"__H"],[481,""],[487,"U"],[493,""],[516,"T"],[520,""],[523,"U,T"],[524,""],[525,"U,T"],[530,"U"],[536,""],[542,"V"],[555,"T"],[559,""],[561,"T"],[562,""],[564,"U"],[565,""],[566,"U,T"],[567,"U"],[568,""],[569,"V"],[599,"T"],[631,""],[637,"T"],[641,""],[648,"EC,EA"],[649,""],[650,"T"],[653,"Loader,Deref::Target"],[654,"T"],[683,""],[698,"K"],[702,""],[704,"Loader"],[705,"EC,EA"],[707,""],[711,"EC,EA"],[712,""],[714,"EC,EA"],[715,""],[717,"T"],[732,""],[741,"Loader"],[742,""],[753,"U"],[769,""],[786,"Loader"],[796,""],[797,"EC,EA"],[799,""],[803,"T"],[807,"U,T"],[821,"U"],[835,""],[851,"V"],[868,""]]}]]')); +var searchIndex = new Map(JSON.parse('[["bulk",{"t":"HHHHH","n":["collect_and_print","main","run_iroh","run_quinn","run_s2n"],"q":[[0,"bulk"],[5,"core::option"],[6,"struct_iterable_internal"],[7,"iroh_bench"],[8,"anyhow"],[9,"iroh_bench::s2n"]],"i":"`````","f":"{{{d{b}}{f{{d{c}}}}}hj}{{}h}{l{{n{h}}}}0{A`{{n{h}}}}","D":"`","p":[[1,"str"],[1,"reference",null,null,1],[6,"Option",5,null,1],[1,"unit"],[10,"Iterable",6],[5,"Opt",7],[8,"Result",8],[5,"Opt",9]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAAUAAQAAAAUA","P":[[0,""],[1,""]]}],["iroh",{"t":"PPEPGTFIFFEFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNOCCNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNONNNNNCNNONONNNNNNNNNNNOOCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNCNNSSSSSCCSSSHHHHSSHHHFKFNNNNNNNNNNNNNNCNNNNNNNNNNNNNNOCOCONNNNCNNNNNNNNNNNFSSNNNNNNNNNNNNNNNNFSNNNNNNNNNNNNNNNNNSSSSFFFNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNN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NNNNNNNNNNNNNNNNNNNNNNNNNN","n":["Decode","DecodeInvalidLength","Endpoint","Key","KeyParsingError","LENGTH","NodeAddr","NodeId","PublicKey","RelayMap","RelayMode","RelayNode","RelayUrl","RelayUrlParseError","SecretKey","__clone_box","","","","","","as_bytes","as_ref","borrow","","","","","","","","","borrow_mut","","","","","","","","clone","","","","","","clone_into","","","","","","clone_to_uninit","","","","","","cmp","","","","compare","","","","contains_node","default_from_node","defaults","deref","","","","","","","","","deref_mut","","","","","","","","deserialize","","","","","direct_addresses","","discovery","dns","drop","","","","","","","","empty","endpoint","eq","","","","","equivalent","","","","","","","","","","","","","","","fmt","","","","","","","","","","","","","","","fmt_short","from","","","","","","","","","","","","","","","","","","","","from_bytes","","from_nodes","from_parts","from_ref","","","","","","from_str","","","from_url","from_z32","generate","get_node","hash","","init","","","","","","","","into","","","","","","","","is_empty","","len","metrics","new","node_id","nodes","partial_cmp","","","","protocol","public","","quic","relay_url","","secret","serialize","","","","","serialize_public_pem","serialize_secret_pem","sign","source","","stun_only","stun_port","test_utils","to_bytes","to_owned","","","","","","to_string","","","","","","","to_z32","try_from","","","","","","","","","","","try_into","","","","","","","","type_id","","","","","","","","url","urls","verify","vzip","","","","","","","","watchable","with_direct_addresses","with_relay_url","DEFAULT_HTTPS_PORT","DEFAULT_HTTP_PORT","DEFAULT_METRICS_PORT","DEFAULT_RELAY_QUIC_PORT","DEFAULT_STUN_PORT","prod","staging","AP_RELAY_HOSTNAME","EU_RELAY_HOSTNAME","NA_RELAY_HOSTNAME","default_ap_relay_node","default_eu_relay_node","default_na_relay_node","default_relay_map","EU_RELAY_HOSTNAME","NA_RELAY_HOSTNAME","default_eu_relay_node","default_na_relay_node","default_relay_map","ConcurrentDiscovery","Discovery","DiscoveryItem","__clone_box","add","borrow","","borrow_mut","","clone","clone_into","clone_to_uninit","default","deref","","deref_mut","","dns","drop","","empty","fmt","","from","","","from_ref","from_services","init","","into","","last_updated","local_swarm_discovery","node_addr","pkarr","provenance","publish","","resolve","","static_provider","subscribe","","to_owned","try_from","","try_into","","type_id","","vzip","","DnsDiscovery","N0_DNS_NODE_ORIGIN_PROD","N0_DNS_NODE_ORIGIN_STAGING","borrow","borrow_mut","deref","deref_mut","drop","fmt","from","init","into","n0_dns","new","resolve","try_from","try_into","type_id","vzip","LocalSwarmDiscovery","NAME","borrow","borrow_mut","deref","deref_mut","drop","fmt","from","init","into","new","publish","resolve","subscribe","try_from","try_into","type_id","vzip","DEFAULT_PKARR_TTL","DEFAULT_REPUBLISH_INTERVAL","N0_DNS_PKARR_RELAY_PROD","N0_DNS_PKARR_RELAY_STAGING","PkarrPublisher","PkarrRelayClient","PkarrResolver","__clone_box","","","borrow","","","borrow_mut","","","clone","","","clone_into","","","clone_to_uninit","","","deref","","","deref_mut","","","dht","drop","","","fmt","","","from","","","from_ref","","","init","","","into","","","n0_dns","","new","","","publish","","resolve","","to_owned","","","try_from","","","try_into","","","type_id","","","update_addr_info","vzip","","","with_options","Builder","DhtDiscovery","__clone_box","borrow","","borrow_mut","","build","builder","client","clone","clone_into","clone_to_uninit","default","","deref","","deref_mut","","dht","drop","","fmt","","from","","from_ref","include_direct_addresses","init","","initial_publish_delay","into","","n0_dns_pkarr_relay","pkarr_relay","publish","republish_delay","resolve","secret_key","to_owned","try_from","","try_into","","ttl","type_id","","vzip","","PROVENANCE","StaticProvider","__clone_box","add_node_addr","borrow","borrow_mut","clone","clone_into","clone_to_uninit","default","deref","deref_mut","drop","fmt","from","from_node_addrs","from_ref","get_node_addr","init","into","new","publish","remove_node_addr","resolve","set_node_addr","to_owned","try_from","try_into","type_id","vzip","DnsResolver","N0_DNS_NODE_ORIGIN_PROD","N0_DNS_NODE_ORIGIN_STAGING","__clone_box","borrow","borrow_mut","clear_cache","clone","clone_into","clone_to_uninit","default","deref","deref_mut","drop","fmt","from","","from_ref","init","into","lookup_ipv4","lookup_ipv4_ipv6","lookup_ipv4_ipv6_staggered","lookup_ipv4_staggered","lookup_ipv6","lookup_ipv6_staggered","lookup_node_by_domain_name","lookup_node_by_domain_name_staggered","lookup_node_by_id","lookup_node_by_id_staggered","lookup_txt","new","node_info","resolve_host","to_owned","try_from","try_into","type_id","vzip","with_nameserver","IROH_TXT_NAME","NodeIdExt","NodeInfo","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","deref","deref_mut","direct_addresses","drop","eq","equivalent","","","fmt","from","","","from_pkarr_signed_packet","from_ref","from_txt_lookup","from_z32","init","into","new","node_id","relay_url","to_owned","to_pkarr_signed_packet","to_txt_strings","to_z32","try_from","try_into","type_id","vzip","AEAD_LIMIT_REACHED","APPLICATION_ERROR","Accept","AcceptBi","AcceptUni","AckFrequencyConfig","AeadKey","All","App","ApplicationClose","ApplicationClosed","Builder","CONNECTION_ID_LIMIT_ERROR","CONNECTION_REFUSED","CRYPTO_BUFFER_EXCEEDED","CallMeMaybe","Chunk","CidsExhausted","ClosedStream","","","Connecting","Connection","ConnectionClose","ConnectionClosed","ConnectionError","ConnectionLost","","","","","ConnectionStats","ConnectionType","ControlMsg","Controller","ControllerFactory","CryptoError","CryptoServerConfig","Custom","Default","Direct","DirectAddr","DirectAddrInfo","DirectAddrType","Disabled","","Discovery","ENV_FORCE_STAGING_RELAYS","Endpoint","ExportKeyingMaterialError","FINAL_SIZE_ERROR","FLOW_CONTROL_ERROR","FRAME_ENCODING_ERROR","FinishedEarly","FrameStats","HandshakeTokenKey","INTERNAL_ERROR","INVALID_TOKEN","IllegalOrderedRead","Incoming","IncomingFuture","KEY_UPDATE_ERROR","Local","LocallyClosed","MAX","MAX_SIZE","Mixed","MtuDiscoveryConfig","NO_ERROR","NO_VIABLE_PATH","NamedApp","None","OpenBi","OpenUni","PROTOCOL_VIOLATION","PathSelection","PathStats","Ping","Pong","Portmapped","Read","ReadDatagram","ReadError","","ReadExactError","ReadToEndError","RecvStream","Relay","","RelayMode","RelayOnly","RemoteInfo","Reset","","ResetError","RetryError","STREAM_LIMIT_ERROR","STREAM_STATE_ERROR","Saved","SendDatagramError","SendStream","ServerConfig","Source","Staging","Stopped","StoppedError","StreamId","Stun","Stun4LocalPort","TRANSPORT_PARAMETER_ERROR","TimedOut","TooLarge","TooLong","TransportConfig","TransportError","","TransportErrorCode","Udp","UdpStats","Unknown","UnsupportedByPeer","UnsupportedVersion","VarInt","VersionMismatch","WeakConnectionHandle","WriteError","Written","ZeroRttAccepted","ZeroRttRejected","","","","__clone_box","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","accept","","accept_bi","accept_uni","accept_with","ack_eliciting_threshold","ack_frequency","ack_frequency_config","acks","add_discovery","add_node_addr","add_node_addr_with_source","addr","","addrs","aead_from_hkdf","allow_spin","alpn","","alpns","bind","bind_addr_v4","bind_addr_v6","black_hole_cooldown","black_holes_detected","borrow","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bound_sockets","build","builder","bytes","","","chunks","clear_discovery","clone","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_box","clone_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_to_uninit","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","close","","close_reason","closed","cmp","","","","code","compare","","","","congestion_controller_factory","congestion_events","congestion_state","conn_type","","connect","connect_with","connection_close","crypto","","","crypto_buffer_size","current_mtu","cwnd","data_blocked","datagram","datagram_receive_buffer_size","datagram_send_buffer_size","datagram_send_buffer_space","datagrams","decode","","","default","","","","","","","","","","","","","default_relay_mode","deref","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","deref_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","deserialize","","","","","dir","direct_addresses","discovery","","discovery_dht","discovery_local_network","discovery_n0","dns_resolver","","drop","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","enable_segmentation_offload","encode","","","eq","","","","","","","","","","","","","","","","","","","","","","","","","","","equivalent","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","error_code","","export_keying_material","finish","fmt","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","force_staging_infra","frame","frame_rx","frame_tx","frame_type","from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","from_ref","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","from_u32","from_u64","from_u64_unchecked","handshake_data","","handshake_done","has_send_address","hash","","","","","home_relay","id","","ignore","immediate_ack","incoming_buffer_size","incoming_buffer_size_total","index","init","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","initial_keys","initial_mtu","initial_rtt","initial_window","initiator","insecure_skip_relay_cert_verify","interval","into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","into_0rtt","into_any","into_future","","","","","","","","","","into_incoming","into_inner","ios","is_0rtt","is_alive","is_closed","keep_alive_interval","keylog","known_nodes","last_alive","last_control","last_payload","last_received","last_used","latency","","local_ip","lost_bytes","lost_packets","lost_plpmtud_probes","make_server_config","max_ack_delay","max_concurrent_bidi_streams","max_concurrent_uni_streams","max_data","max_datagram_size","max_idle_timeout","max_incoming","max_stream_data","max_streams_bidi","max_streams_uni","migration","min_mtu","minimum_change","mtu_discovery_config","network_change","network_path_changed","new","","new_connection_id","new_token","node_addr","node_id","","observed_addr","offset","on_ack","on_congestion_event","on_end_acks","on_mtu_update","on_sent","open","open_bi","open_uni","packet_threshold","partial_cmp","","","","path","path_challenge","path_response","path_selection","peer_identity","persistent_congestion_threshold","ping","poll","","","","","","","","","poll_flush","poll_read","","poll_shutdown","poll_write","","preferred_address_v4","preferred_address_v6","priority","proxy_from_env","proxy_url","read","read_chunk","read_chunks","read_datagram","read_exact","read_to_end","reason","","","receive_observed_address_reports","receive_window","received_reset","refuse","relay_map","relay_mode","relay_url","remote_address","remote_address_validated","remote_info","remote_info_iter","remote_node_id","reordering_threshold","reset","reset_stream","retire_connection_id","retry","retry_tag","retry_token_lifetime","rtt","","saturating_add","seal","secret_key","","send_datagram","send_fairness","send_observed_address_reports","send_window","sent_packets","sent_plpmtud_probes","serialize","","","","","set_alpns","set_max_concurrent_bi_streams","set_max_concurrent_uni_streams","set_priority","set_receive_window","source","","","","","","","","sources","","stable_id","start_session","stats","stop","stop_sending","stopped","stream","stream_data_blocked","stream_receive_window","streams_blocked_bidi","streams_blocked_uni","time_source","time_threshold","tls_raw_public_keys","tls_x509","to_owned","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","to_string","","","","","","","","","","","","","","","","","","","","token_key","transport","transport_config","","try_from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_poll","","","","","","","typ","type_id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","udp_rx","udp_tx","upper_bound","validation_token","validation_token_config","vzip","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","window","with_crypto","with_single_cert","write","write_all","write_all_chunks","write_chunk","write_chunks","name","","MagicsockMetrics","NetReportMetrics","PortmapMetrics","RelayMetrics","__clone_box","","","","accepts","actor_link_change","actor_tick_direct_addr_heartbeat","actor_tick_direct_addr_update_receiver","actor_tick_main","actor_tick_msg","actor_tick_other","actor_tick_portmap_changed","actor_tick_re_stun","borrow","","","","borrow_mut","","","","bytes_recv","bytes_sent","clone","","","","clone_into","","","","clone_to_uninit","","","","connection_became_direct","connection_handshake_success","conns_rx_ratelimited_total","default","","","","deref","","","","deref_mut","","","","disco_packets_dropped","disco_packets_recv","disco_packets_sent","disconnects","drop","","","","external_address_updated","fmt","","","","frames_rx_ratelimited_total","from","","","","from_ref","","","","got_ping","init","","","","into","","","","iter","","","","local_port_updates","mapping_attempts","mapping_failures","name","","","","nodes_contacted","nodes_contacted_directly","num_direct_conns_added","num_direct_conns_removed","num_relay_conns_added","num_relay_conns_removed","other_packets_dropped","other_packets_recv","other_packets_sent","pcp_available","pcp_probes","probes_started","re_stun_calls","recv_data_ipv4","recv_data_ipv6","recv_data_relay","recv_datagrams","recv_disco_bad_key","recv_disco_bad_parse","recv_disco_call_me_maybe","recv_disco_call_me_maybe_bad_disco","recv_disco_ping","recv_disco_pong","recv_disco_relay","recv_disco_udp","recv_gro_datagrams","relay_accepts","relay_home_change","reports","reports_full","send_data","send_data_network_down","send_disco_relay","send_disco_udp","send_ipv4","send_ipv6","send_packets_dropped","send_packets_recv","send_packets_sent","send_relay","send_relay_error","sent_disco_call_me_maybe","sent_disco_ping","sent_disco_pong","sent_disco_relay","sent_disco_udp","sent_pong","stun_packets_dropped","stun_packets_recv_ipv4","stun_packets_recv_ipv6","stun_packets_sent_ipv4","stun_packets_sent_ipv6","to_owned","","","","try_from","","","","try_into","","","","type_id","","","","unique_client_keys","unknown_frames","update_direct_addrs","upnp_available","upnp_gateway_updated","upnp_probes","upnp_probes_failed","vzip","","","","websocket_accepts","ProtocolHandler","Router","RouterBuilder","__clone_box","accept","","borrow","","borrow_mut","","builder","clone","clone_into","clone_to_uninit","deref","","deref_mut","","drop","","endpoint","","fmt","","from","","from_ref","init","","into","","is_shutdown","new","shutdown","","spawn","to_owned","try_from","","try_into","","type_id","","vzip","","CleanupDropGuard","DnsPkarrServer","borrow","","borrow_mut","","deref","","deref_mut","","discovery","dns_resolver","drop","","fmt","","from","","init","","into","","nameserver","node_origin","on_node","pkarr_url","run","run_relay_server","run_relay_server_with","run_relay_server_with_stun","run_with_origin","try_from","","try_into","","type_id","","vzip","","Disconnected","WatchInitializedFut","WatchNextFut","Watchable","Watcher","WatcherStream","__clone_box","","","borrow","","","","","","borrow_mut","","","","","","clone","","","clone_into","","","clone_to_uninit","","","default","deref","","","","","","deref_mut","","","","","","drop","","","","","","fmt","","","","","","","from","","","","","","from_ref","","","get","","init","","","","","","initialized","into","","","","","","into_future","","new","poll","","poll_next","ratelimit_stream","ratelimit_stream_with_jitter","set","stream","stream_updates_only","to_owned","","","to_string","try_from","","","","","","try_into","","","","","","try_poll","","try_poll_next","type_id","","","","","","updated","vzip","","","","","","watch"],"q":[[0,"iroh"],[283,"iroh::defaults"],[290,"iroh::defaults::prod"],[297,"iroh::defaults::staging"],[302,"iroh::discovery"],[355,"iroh::discovery::dns"],[374,"iroh::discovery::local_swarm_discovery"],[393,"iroh::discovery::pkarr"],[469,"iroh::discovery::pkarr::dht"],[518,"iroh::discovery::static_provider"],[548,"iroh::dns"],[588,"iroh::dns::node_info"],[626,"iroh::endpoint"],[2170,"iroh::endpoint::Source"],[2172,"iroh::metrics"],[2348,"iroh::protocol"],[2393,"iroh::test_utils"],[2432,"iroh::watchable"],[2556,"dyn_clone::sealed"],[2557,"iroh_base::key"],[2558,"iroh_base::node_addr"],[2559,"iroh_base::relay_url"],[2560,"iroh_relay::relay_map"],[2561,"core::cmp"],[2562,"core::result"],[2563,"serde::de"],[2564,"core::net::socket_addr"],[2565,"core::iter::traits::iterator"],[2566,"core::fmt"],[2567,"alloc::string"],[2568,"ed25519_dalek::verifying"],[2569,"data_encoding"],[2570,"signature::error"],[2571,"ed25519_dalek::signing"],[2572,"iroh::magicsock::node_map::node_state"],[2573,"iroh_relay::dns::node_info"],[2574,"core::option"],[2575,"iroh_base::ticket::node"],[2576,"url"],[2577,"url::parser"],[2578,"anyhow"],[2579,"alloc::sync"],[2580,"core::convert"],[2581,"core::iter::traits::collect"],[2582,"rand_core"],[2583,"core::hash"],[2584,"serde::ser"],[2585,"zeroize"],[2586,"ed25519"],[2587,"core::error"],[2588,"core::any"],[2589,"alloc::boxed"],[2590,"alloc::vec"],[2591,"alloc::collections::btree::set"],[2592,"futures_lite::stream"],[2593,"pkarr::signed_packet"],[2594,"core::time"],[2595,"pkarr::client"],[2596,"iroh_relay::dns"],[2597,"hickory_proto::runtime::tokio_runtime"],[2598,"hickory_resolver::name_server::connection_provider"],[2599,"hickory_resolver::resolver"],[2600,"core::net::ip_addr"],[2601,"iroh_quinn_proto::connection"],[2602,"iroh_quinn::connection"],[2603,"iroh_quinn_proto::config"],[2604,"iroh_quinn_proto::config::transport"],[2605,"iroh_quinn_proto::varint"],[2606,"core::ops::function"],[2607,"core::marker"],[2608,"iroh_quinn_proto::crypto"],[2609,"iroh_quinn_proto::congestion"],[2610,"std::time"],[2611,"iroh_quinn::recv_stream"],[2612,"iroh_quinn::send_stream"],[2613,"iroh_quinn_proto::connection::stats"],[2614,"iroh_quinn_proto::connection::streams::send"],[2615,"iroh::magicsock::node_map"],[2616,"iroh_quinn_proto::connection::streams"],[2617,"iroh_quinn_proto::frame"],[2618,"iroh::magicsock"],[2619,"iroh_quinn_proto"],[2620,"iroh_quinn_proto::coding"],[2621,"bytes::buf::buf_impl"],[2622,"bytes::buf::buf_mut"],[2623,"iroh_quinn_proto::connection::assembler"],[2624,"iroh_quinn::incoming"],[2625,"iroh_quinn_proto::connection::streams::recv"],[2626,"ring::error"],[2627,"iroh_quinn_proto::transport_parameters"],[2628,"iroh_quinn_proto::shared"],[2629,"iroh_quinn_proto::connection::paths"],[2630,"core::pin"],[2631,"core::task::wake"],[2632,"core::task::poll"],[2633,"std::io::error"],[2634,"tokio::io::read_buf"],[2635,"bytes::bytes"],[2636,"rustls_pki_types"],[2637,"rustls::error"],[2638,"alloc::vec::into_iter"],[2639,"futures_lite::future"],[2640,"iroh::test_utils::dns_and_pkarr_servers"],[2641,"iroh_relay::server"],[2642,"core::clone"],[2643,"core::default"],[2644,"governor::state::direct"],[2645,"governor::state"],[2646,"governor::state::direct::streams"],[2647,"governor::clock::with_std"],[2648,"governor::middleware"],[2649,"governor::jitter"],[2650,"iroh_relay::defaults"]],"i":"Cb0`0`h`````````0AbAdAfAhAj55556432Cd21675430216543216543216543216431643122`675433021675430216543144``675430212`6432166644433322211166775543300221166677755544444433002165246543216532652636754302167543021422`4426431`651445654316557011`56543216753021666675543021675430216754302112667543021`44``````````````````````FjFf101011101010`100101001010101`1`1Fh101`01221212121```Gl000000000000000``Gn0000000000000000```````H`HbHd210210210210210210210`21021021021021021021210201021021021021022102``Hn0Hl10010111101010010101010100100010101101001010Ib`0000000000000000000000000000```Id0000000000000000000000000000`0000000```Db00000000000000000000Jh1111111101111A@b0`````A@jOh`K``333Nh`1`MnNd```3`Mj2N`2Nf```````A@l0Nl```419```;;;Nb``<<7``><3``>``::1Ml``3```4=`>`:<``??=````59``22?<80``<`=`28``<````:79680:73961;NjD`6NnO`ObOdOfOhOjK`KjMbKhOlOnA@`A@bA@dA@fA@hA@jGdKbA@l2Jl220>O`Kn1L`66Nj;D`Lj4Jn94444MbObAD`ADjADhKfKdAEbAB`MjABbAAfMlMnN`NbAAhNdNfKnKlAAlNhNjD`NlNnO`ObOdOfOhOjK`KjMbKhAAnABdABfOlOnA@`A@bA@dA@fA@hA@jL`GdJjJlABhJnKbA@lAD`ADjADhKfKdAEbAB`MjABbAAfMlMnN`NbAAhNdNfKnKlAAlNhNjD`NlNnO`ObOdOfOhOjK`KjMbKhAAnABdABfOlOnA@`A@bA@dA@fA@hA@jL`GdJjJlABhJnKbA@l6Md7AAlNnOf0;MjMlMnN`NbNdNfKlNhNjD`Nl=O`ObOd?OhOjK`KjMbKhOlOnA@`A@bA@dA@fA@hA@jGdKbA@lMhMjMlMnN`NbNdNfKlNhNjD`NlNnO`ObOdOfOhOjK`KjMbKhOlOnA@`A@bA@dA@fA@hA@jGdKbA@lMjMlMnN`NbNdNfKlNhNjD`NlNnO`ObOdOfOhOjK`KjMbK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fAAhJl5Kh0=AD`ADjADhKfKdAEbAB`MjABbKlA@dA@f6Od;;L`;Kn=AD`ADjADhKfKdAEbJjABhJnAAhAAf0111Kh02==111Kb22OlOnA@`Kn06JlA@lL`D`33Gd09Kj=O`06ACh==<;:98KlNhNj9NlNn8ObOdOfOhOjK`KjMb>OlOnA@`A@bA@dA@fA@hA@jGdKbA@lMjABbMlMnN`NbNdNfKlNhNlOhOjK`OlOnA@`A@bA@fA@hKh00L`AD`ADjADhKfKdAEbAB`MjABbAAfMlMnN`NbAAhNdNfKnKl000AAlNhNjD`NlNnO`ObOdOfOhOjK`KjMbKhAAnABdABfOlOnA@`A@bA@dA@fA@hA@jL`GdJjJlABhJnKbA@lAD`ADjADhKfKdAEbAB`MjABbAAfMlMnN`NbAAhNdNfKnKlAAlNhNjD`NlNnO`ObOdOfOhOjK`KjMbKhAAnABdABfOlOnA@`A@bA@dA@fA@hA@jL`GdJjJlABhJnKbA@lADjADhKfKdAEb87A@dAD`65432AB`MjABbAAfMlMnN`NbAAhNdNfKnKlAAlNhNjD`NlNnO`ObOdOfOhOjK`KjMbKhAAnABdABfOlOnA@`A@bA@dA@fA@hA@jL`GdJjJlABhJnKbA@lOd0MbKh0AD`ADjADhKfKdAEbAB`MjABbAAfMlMnN`NbAAhNdNfKnKlAAlNhNjD`NlNnO`ObOdOfOhOjK`KjMbKhAAnABdABfOlOnA@`A@bA@dA@fA@hA@jL`GdJjJlABhJnKbA@lMhKh0AAh0000AJjAJl````AFnAG`AGbAGd011111111321032100032103210321011032103210321000003210332100321032100321032103210333321011111100033311111111111111012211111100011111110222223210321032103210001333332100```AH`AGhAGl202022222020202020202202020120220202020``AHdAHb10101000101010101000000```010101010``````AHjA@nAHn21AIdAIf2AIh5421305435435435542130542130542130542130054213054354542130454213021521333544543054213054213021354213045421305","f":"```````````````{{bd}f}00000{{{b{h}}}{{b{{l{j}}}}}}{{{b{h}}}{{b{{n{j}}}}}}{b{{b{c}}}{}}20000000{{{b{A`}}}{{b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}{J`{{Bd{KlACd}}}}33333333333333333333333333333333333{{}{{Bd{c}}}{}}00000000000000000000000000000000000000000000000000000{{{ADl{{b{A`c}}}}{b{A`ADn}}}AE`{}}000000`{bFd}00000000000000000000000000000000000000000000000000000``{{{b{A`Mb}}B`}{{b{A`Mb}}}}`{{{b{A`Kh}}AFf}{{b{A`Kh}}}}{{}c{}}00000000000000000000000000000000000000000000000000000{{{b{Mh}}}J`}{{{E`{ACh}}}Kh}{{{G`{AFh}}AFj}{{Bd{KhAFl}}}}{{{b{A`AAh}}{b{{n{j}}}}}{{Bd{BbNd}}}}{{{b{A`AAh}}{b{{n{j}}}}}{{Bd{fNd}}}}{{{b{A`AAh}}{b{A`{n{AEj}}}}}{{Bd{fNd}}}}{{{b{A`AAh}}AEj}{{Bd{fNd}}}}{{{b{A`AAh}}{b{A`{n{AEj}}}}}{{Bd{OfNd}}}}``````{{bd}f}000`````````{b{{b{c}}}{}}000{{{b{A`}}}{{b{A`c}}}{}}000``{{{b{AFn}}}AFn}{{{b{AG`}}}AG`}{{{b{AGb}}}AGb}{{{b{AGd}}}AGd}{{b{b{A`c}}}f{}}000{{bj}f}000```{{}AFn}{{}AG`}{{}AGb}{{}AGd}{Bb{{b{c}}}{}}000{Bb{{b{A`c}}}{}}000````{Bbf}000`{{{b{AFn}}{b{A`Bn}}}{{Bd{fC`}}}}{{{b{AG`}}{b{A`Bn}}}{{Bd{fC`}}}}{{{b{AGb}}{b{A`Bn}}}Fl}{{{b{AGd}}{b{A`Bn}}}{{Bd{fC`}}}}`{cc{}}000{{{b{c}}}c{}}000`{{}Bb}000{{}c{}}000{{{b{AFn}}}{{AGf{{Df{{b{Ef}}{b{ACf}}}}}}}}{{{b{AG`}}}{{AGf{{Df{{b{Ef}}{b{ACf}}}}}}}}{{{b{AGb}}}{{AGf{{Df{{b{Ef}}{b{ACf}}}}}}}}{{{b{AGd}}}{{AGf{{Df{{b{Ef}}{b{ACf}}}}}}}}```{{}{{b{Ef}}}}000````````````````````````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reference",null,null,1],[5,"Private",2556],[1,"unit"],[5,"PublicKey",0,2557],[1,"u8"],[1,"array"],[1,"slice"],[0,"mut"],[5,"SecretKey",0,2557],[5,"NodeAddr",0,2558],[5,"RelayUrl",0,2559],[5,"RelayMap",0,2560],[5,"RelayNode",0,2560],[6,"Ordering",2561],[1,"bool"],[1,"u16"],[1,"usize"],[6,"Result",2562,null,1],[10,"Deserializer",2563],[17,"Item"],[6,"SocketAddr",2564],[10,"Iterator",2565],[5,"Formatter",2566],[5,"Error",2566],[6,"KeyParsingError",0,2557],[5,"RelayUrlParseError",0,2559],[5,"String",2567],[5,"VerifyingKey",2568],[5,"DecodeError",2569],[5,"Error",2570],[5,"SigningKey",2571],[5,"RemoteInfo",626,2572],[5,"NodeInfo",588,2573],[6,"Option",2574,null,1],[1,"tuple",null,null,1],[5,"NodeTicket",2575],[5,"Url",2576],[6,"ParseError",2577],[5,"Error",2578],[5,"Arc",2579,null,1],[10,"Into",2580],[10,"IntoIterator",2581],[1,"str"],[10,"CryptoRngCore",2582],[10,"Hasher",2583],[10,"Serializer",2584],[5,"Zeroizing",2585],[5,"Signature",2586],[10,"Error",2587],[5,"TypeId",2588],[5,"ConcurrentDiscovery",302],[10,"Discovery",302],[5,"DiscoveryItem",302],[8,"Result",2566],[5,"Box",2589,null,1],[5,"Vec",2590],[5,"BTreeSet",2591],[5,"Endpoint",626],[8,"NodeId",0,2557],[8,"Result",2578],[8,"Boxed",2592],[5,"DnsDiscovery",355],[5,"LocalSwarmDiscovery",374],[5,"PkarrPublisher",393],[5,"PkarrResolver",393],[5,"PkarrRelayClient",393],[5,"SignedPacket",2593],[1,"u32"],[5,"Duration",2594],[5,"Builder",469],[5,"DhtDiscovery",469],[5,"PkarrClient",2595],[5,"StaticProvider",518],[5,"DnsResolver",548,2596],[5,"TokioRuntimeProvider",2597],[5,"GenericConnector",2598],[5,"Resolver",2599],[6,"IpAddr",2600],[10,"ToString",2567],[1,"u64"],[5,"TxtLookup",2596],[6,"IrohAttr",2573],[5,"TxtAttrs",2573],[10,"NodeIdExt",588,2573],[5,"Accept",626],[5,"Incoming",626],[5,"Connecting",626],[6,"ConnectionError",626,2601],[5,"Connection",626],[5,"AcceptBi",626,2602],[5,"AcceptUni",626,2602],[5,"ServerConfig",626,2603],[5,"AckFrequencyConfig",626,2604],[5,"VarInt",626,2605],[5,"TransportConfig",626,2604],[5,"Builder",626],[17,"Output"],[10,"FnOnce",2606],[10,"Send",2607],[10,"Sync",2607],[10,"HandshakeTokenKey",626,2608],[10,"AeadKey",626,2608],[5,"SocketAddrV4",2564],[5,"SocketAddrV6",2564],[5,"MtuDiscoveryConfig",626,2604],[10,"ControllerFactory",626,2609],[5,"Instant",2610],[10,"Controller",626,2609],[6,"SendDatagramError",626,2602],[6,"ReadToEndError",626,2611],[6,"ReadError",626,2611],[6,"ResetError",626,2611],[6,"ReadExactError",626,2611],[6,"WriteError",626,2612],[6,"StoppedError",626,2612],[6,"ControlMsg",626,2572],[5,"DirectAddrInfo",626,2572],[6,"ConnectionType",626,2572],[5,"UdpStats",626,2613],[5,"FrameStats",626,2613],[5,"PathStats",626,2613],[5,"ConnectionStats",626,2613],[5,"Written",626,2614],[6,"Source",626,2615],[5,"ClosedStream",626,2616],[5,"ConnectionClose",626,2617],[5,"ApplicationClose",626,2617],[5,"TransportError",626],[5,"TransportErrorCode",626],[5,"DirectAddr",626,2618],[6,"DirectAddrType",626,2618],[5,"StreamId",626,2619],[6,"PathSelection",626],[6,"RelayMode",626],[5,"Watcher",2432],[5,"UnexpectedEnd",2620],[10,"Buf",2621],[6,"Dir",2619],[5,"RecvStream",626,2611],[5,"SendStream",626,2612],[10,"BufMut",2622],[5,"Chunk",626,2623],[5,"ExportKeyingMaterialError",626,2608],[5,"WeakConnectionHandle",626,2602],[5,"RetryError",626,2624],[5,"CryptoError",626,2608],[5,"UnsupportedVersion",626,2608],[5,"IncomingFuture",626],[6,"ReadableError",2625],[6,"Close",2617],[5,"Unspecified",2626],[6,"Error",2627],[5,"InvalidFrame",2617],[5,"VarIntBoundsExceeded",2605],[10,"Any",2588],[10,"CryptoServerConfig",626],[5,"ConnectionId",2628],[5,"Keys",2608],[6,"Side",2619],[5,"ZeroRttAccepted",626,2602],[5,"Incoming",2624],[5,"IdleTimeout",2604],[5,"RttEstimator",2629],[5,"OpenBi",626,2602],[5,"OpenUni",626,2602],[5,"Pin",2630],[5,"Context",2631],[6,"Poll",2632],[5,"ReadDatagram",626,2602],[5,"Error",2633],[5,"ReadBuf",2634],[1,"i32"],[5,"Bytes",2635],[5,"TransportParameters",2627],[10,"Session",2608],[10,"TimeSource",2603],[1,"f32"],[1,"u128"],[5,"ValidationTokenConfig",2603],[5,"CertificateDer",2636],[6,"PrivateKeyDer",2636],[6,"Error",2637],[5,"PortmapMetrics",2172],[5,"NetReportMetrics",2172],[5,"MagicsockMetrics",2172],[5,"RelayMetrics",2172],[5,"IntoIter",2638],[10,"ProtocolHandler",2348],[8,"Boxed",2639],[5,"RouterBuilder",2348],[10,"AsRef",2580],[5,"Router",2348],[5,"DnsPkarrServer",2393,2640],[5,"CleanupDropGuard",2393],[5,"Server",2641],[5,"StunConfig",2641],[5,"Watchable",2432],[10,"Clone",2642],[5,"WatcherStream",2432],[10,"Default",2643],[10,"Debug",2566],[5,"WatchNextFut",2432],[5,"WatchInitializedFut",2432],[5,"Disconnected",2432],[10,"Eq",2561],[6,"NotKeyed",2644],[5,"RateLimiter",2645],[5,"RatelimitedStream",2646],[10,"DirectStateStore",2644],[10,"ReasonablyRealtime",2647],[10,"RateLimitingMiddleware",2648],[5,"Jitter",2649],[15,"Discovery",2170],[15,"NamedApp",2170]],"r":[[2,626],[4,2557],[6,2558],[7,2557],[8,2557],[9,2560],[10,626],[11,2560],[12,2559],[13,2559],[14,2557],[286,2650],[287,2650],[356,2596],[357,2596],[548,2596],[549,2596],[550,2596],[580,2596],[588,2573],[589,2573],[590,2573],[629,2602],[630,2602],[631,2604],[632,2608],[635,2617],[642,2623],[644,2616],[649,2617],[651,2601],[657,2613],[658,2572],[659,2572],[660,2609],[661,2609],[662,2608],[667,2618],[668,2572],[669,2618],[675,2608],[680,2613],[681,2608],[693,2604],[698,2602],[699,2602],[702,2613],[707,2602],[708,2611],[710,2611],[711,2611],[712,2611],[717,2572],[720,2611],[721,2624],[725,2602],[726,2612],[727,2603],[728,2615],[731,2612],[732,2619],[739,2604],[744,2613],[747,2608],[748,2605],[750,2602],[751,2612],[752,2614],[753,2602],[2394,2640]],"b":[[125,"impl-Debug-for-PublicKey"],[126,"impl-Display-for-PublicKey"],[127,"impl-Display-for-KeyParsingError"],[128,"impl-Debug-for-KeyParsingError"],[129,"impl-Debug-for-SecretKey"],[130,"impl-Display-for-SecretKey"],[132,"impl-Debug-for-RelayUrl"],[133,"impl-Display-for-RelayUrl"],[134,"impl-Debug-for-RelayUrlParseError"],[135,"impl-Display-for-RelayUrlParseError"],[136,"impl-Debug-for-RelayMap"],[137,"impl-Display-for-RelayMap"],[138,"impl-Display-for-RelayNode"],[139,"impl-Debug-for-RelayNode"],[144,"impl-From%3CDecodeError%3E-for-KeyParsingError"],[145,"impl-From%3CError%3E-for-KeyParsingError"],[146,"impl-From%3C%5Bu8;+32%5D%3E-for-SecretKey"],[148,"impl-From%3CSigningKey%3E-for-SecretKey"],[149,"impl-From%3CRemoteInfo%3E-for-NodeAddr"],[151,"impl-From%3CNodeInfo%3E-for-NodeAddr"],[152,"impl-From%3CPublicKey%3E-for-NodeAddr"],[153,"impl-From%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[154,"impl-From%3CNodeTicket%3E-for-NodeAddr"],[242,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey"],[244,"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey"],[607,"impl-From%3C%26TxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[608,"impl-From%3CTxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[1381,"impl-Debug-for-SendDatagramError"],[1382,"impl-Display-for-SendDatagramError"],[1383,"impl-Display-for-RetryError"],[1384,"impl-Debug-for-RetryError"],[1386,"impl-Debug-for-ReadToEndError"],[1387,"impl-Display-for-ReadToEndError"],[1388,"impl-Debug-for-ReadError"],[1389,"impl-Display-for-ReadError"],[1390,"impl-Display-for-ResetError"],[1391,"impl-Debug-for-ResetError"],[1392,"impl-Display-for-ReadExactError"],[1393,"impl-Debug-for-ReadExactError"],[1395,"impl-Display-for-WriteError"],[1396,"impl-Debug-for-WriteError"],[1397,"impl-Debug-for-StoppedError"],[1398,"impl-Display-for-StoppedError"],[1400,"impl-Display-for-VarInt"],[1401,"impl-Debug-for-VarInt"],[1403,"impl-Debug-for-ControlMsg"],[1404,"impl-Display-for-ControlMsg"],[1407,"impl-Display-for-ConnectionType"],[1408,"impl-Debug-for-ConnectionType"],[1414,"impl-Display-for-Source"],[1415,"impl-Debug-for-Source"],[1416,"impl-Display-for-ClosedStream"],[1417,"impl-Debug-for-ClosedStream"],[1418,"impl-Display-for-ConnectionError"],[1419,"impl-Debug-for-ConnectionError"],[1426,"impl-Display-for-ConnectionClose"],[1427,"impl-Debug-for-ConnectionClose"],[1428,"impl-Display-for-ApplicationClose"],[1429,"impl-Debug-for-ApplicationClose"],[1430,"impl-Display-for-TransportError"],[1431,"impl-Debug-for-TransportError"],[1432,"impl-Display-for-TransportErrorCode"],[1433,"impl-Debug-for-TransportErrorCode"],[1435,"impl-Debug-for-DirectAddrType"],[1436,"impl-Display-for-DirectAddrType"],[1437,"impl-Display-for-StreamId"],[1438,"impl-Debug-for-StreamId"],[1466,"impl-From%3CReadableError%3E-for-ReadError"],[1467,"impl-From%3CConnectionError%3E-for-ReadError"],[1469,"impl-From%3CResetError%3E-for-ReadError"],[1475,"impl-From%3CConnectionError%3E-for-WriteError"],[1476,"impl-From%3CClosedStream%3E-for-WriteError"],[1478,"impl-From%3CStoppedError%3E-for-WriteError"],[1482,"impl-From%3Cu8%3E-for-VarInt"],[1483,"impl-From%3CStreamId%3E-for-VarInt"],[1485,"impl-From%3Cu32%3E-for-VarInt"],[1486,"impl-From%3Cu16%3E-for-VarInt"],[1499,"impl-From%3CTransportError%3E-for-ConnectionError"],[1500,"impl-From%3CClose%3E-for-ConnectionError"],[1512,"impl-From%3CError%3E-for-TransportError"],[1513,"impl-From%3CTransportErrorCode%3E-for-TransportError"],[1514,"impl-From%3CInvalidFrame%3E-for-TransportError"],[1787,"impl-AsyncRead-for-RecvStream"],[1788,"impl-RecvStream"],[1790,"impl-SendStream"],[1791,"impl-AsyncWrite-for-SendStream"],[1949,"impl-TryFrom%3Cusize%3E-for-VarInt"],[1950,"impl-TryFrom%3Cu128%3E-for-VarInt"],[1951,"impl-TryFrom%3Cu64%3E-for-VarInt"],[2486,"impl-Debug-for-Disconnected"],[2487,"impl-Display-for-Disconnected"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAOcGnwADAAAACwAAABAABQAXACsARgAVAGAABwBqACIAjwAAAJEAAgCVAAEAmAACAJ0AAACfAAAApgAIALAAAACzAAkAzAADANcABADfAAEA5QAoABEBBwAyAQAANAELAEEBAQBEAQEARwEAAEkBAABLAQEAVQEAAFcBAABaAQkAZwEFAG4BAAByAQQAeQEFAIABAACDAQYAkQEXAKoBBQCzAQUAwQEAAMMBAADFAQsA0gECANgBBADgAQgA6gEDAPABAADyAQEA+QEAAPsBAAD9AQQAAwIDAAkCAAALAgkAFwIAABkCAAAcAgAAHgIAACACBAAoAgIALAIIADYCAQBHAgQAUAIHAFkCBQBgAgEAYwIAAGYCAABrAgAAbwIDAPcCIQAfAwAAIQMAADIDawCmAyEAyQNDABEEAwAWBAMAIQQAACMEAAAoBAEALgQPAD8EcAC5BDcA8gRuAGUFQwC2BQAAuQUAALsFAQC+BQAAwAUAAMIFAADEBQEAxwUBAMsFAQDOBQEA3AUBAOMFAADmBQAA6QUCAPAFAAD7BSEAIgYAACQGBAAtBgAAMQY1AKYGCQDIBgAAzAYCANcGAQDcBgAA5wYDAOwGAQDxBgsA/gYAAAAHAAAdBwEALgcEADgHBwBGBwAASAcBAEsHAQBRBzUAiwcSAKEHXwACCDUAPQg1AIEIAwCGCA8AmAgLAKcICwC3CAgAxQgDAMoIAwDSCAoA5ggGAO4IBwD4CAgABAkGAAwJFAAjCQgAMAkAADMJAwA4CQgAQwkBAEcJAgBRCQgAXAkHAGYJAwBsCQEAeQkHAIcJMQC/CQIAxAkFANEJAQDUCQQA3AkYAPYJBQA=","P":[[23,"T"],[24,""],[25,"T"],[40,""],[46,"T"],[52,""],[62,"K"],[66,""],[69,"T"],[74,""],[75,"T"],[86,"D"],[88,"__D"],[91,""],[110,"K"],[125,""],[141,"T"],[142,""],[143,"T"],[144,""],[147,"T"],[148,""],[150,"T"],[151,""],[155,"T"],[156,""],[157,"T"],[158,""],[159,"T"],[161,""],[163,"I,"],[164,""],[165,"T"],[171,""],[176,"R"],[177,""],[178,"H"],[179,"__H"],[180,""],[188,"U"],[196,""],[214,"S"],[216,"__S"],[219,""],[228,"T"],[234,""],[243,"U,T"],[244,""],[245,"U,T"],[247,""],[248,"U,T"],[253,"U"],[261,""],[272,"V"],[281,""],[282,""],[306,""],[307,"T"],[311,""],[312,"T"],[313,""],[315,"T"],[320,""],[325,"T"],[329,""],[332,"U"],[339,""],[346,"T"],[347,"U,T"],[349,"U"],[351,""],[353,"V"],[358,"T"],[362,""],[364,"T"],[365,""],[366,"U"],[367,""],[370,"U,T"],[371,"U"],[372,""],[373,"V"],[376,"T"],[380,""],[382,"T"],[383,""],[384,"U"],[385,""],[389,"U,T"],[390,"U"],[391,""],[392,"V"],[400,""],[403,"T"],[409,""],[412,"T"],[415,""],[418,"T"],[425,""],[431,"T"],[437,""],[440,"U"],[443,""],[452,"T"],[455,"U,T"],[458,"U"],[461,""],[465,"V"],[468,""],[472,"T"],[476,""],[480,"T"],[481,""],[484,"T"],[488,""],[493,"T"],[496,""],[500,"U"],[502,""],[508,"T"],[509,"U,T"],[511,"U"],[513,""],[516,"V"],[520,""],[521,""],[522,"T"],[524,""],[525,"T"],[526,""],[528,"T"],[530,""],[532,"T"],[533,","],[534,"T"],[535,""],[537,"U"],[538,""],[542,""],[543,"T"],[544,"U,T"],[545,"U"],[546,""],[547,"V"],[551,""],[552,"T"],[554,""],[556,"T"],[557,""],[559,"T"],[561,""],[564,"T"],[566,""],[567,"U"],[568,""],[574,""],[578,""],[579,""],[582,"T"],[583,"U,T"],[584,"U"],[585,""],[586,"V"],[587,""],[592,"T"],[594,""],[595,"T"],[596,""],[597,"T"],[600,""],[602,"K"],[605,""],[606,"T"],[607,""],[610,"T"],[611,""],[614,"U"],[615,""],[618,"T"],[619,""],[622,"U,T"],[623,"U"],[624,""],[625,"V"],[758,""],[801,"D,F"],[802,""],[817,"T"],[925,""],[968,"T"],[1002,""],[1045,"K"],[1049,""],[1054,""],[1057,""],[1069,"B"],[1072,""],[1086,"T"],[1194,"__D"],[1199,""],[1265,"B"],[1268,""],[1295,"K"],[1378,""],[1453,"T"],[1461,""],[1462,"T"],[1464,""],[1465,"T"],[1466,""],[1468,"T"],[1469,""],[1470,"T"],[1471,""],[1472,"T"],[1473,""],[1474,"T"],[1475,""],[1477,"T"],[1478,""],[1480,"T"],[1482,""],[1484,"T"],[1485,""],[1487,"T"],[1499,""],[1501,"T"],[1506,""],[1507,"T"],[1509,""],[1510,"T"],[1512,""],[1515,"T"],[1519,""],[1520,"T"],[1564,""],[1571,"__H"],[1576,""],[1645,"U"],[1699,""],[1708,"IntoFuture::IntoFuture"],[1709,""],[1783,"Future::Output"],[1786,""],[1827,""],[1828,""],[1837,"__S"],[1842,""],[1872,"T"],[1906,""],[1930,"U,T"],[1949,""],[1952,"U,T"],[1987,"U"],[2041,"F"],[2049,""],[2108,"V"],[2162,""],[2189,"T"],[2199,""],[2203,"T"],[2207,""],[2218,"T"],[2230,""],[2240,"T"],[2249,""],[2253,"U"],[2257,""],[2320,"T"],[2324,"U,T"],[2328,"U"],[2332,""],[2343,"V"],[2351,""],[2353,",T"],[2354,"T"],[2358,""],[2360,"T"],[2361,""],[2362,"T"],[2366,""],[2372,"T"],[2375,""],[2377,"U"],[2379,""],[2384,"T"],[2385,"U,T"],[2387,"U"],[2389,""],[2391,"V"],[2395,"T"],[2403,""],[2409,"T"],[2411,""],[2413,"U"],[2417,""],[2424,"U,T"],[2426,"U"],[2428,""],[2430,"V"],[2438,""],[2441,"T"],[2459,""],[2462,"T"],[2475,""],[2481,"T"],[2486,""],[2488,"T"],[2499,""],[2505,"T"],[2506,"U"],[2512,""],[2514,"T"],[2515,"T,Future::Output"],[2517,"T,Stream::Item"],[2518,"D,C,MW,S"],[2520,"T"],[2526,""],[2527,"U,T"],[2533,"U"],[2539,"F"],[2541,"S"],[2542,""],[2548,"T"],[2549,"V"],[2555,"T"]]}],["iroh_base",{"t":"TPPPGTFIFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNONNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNPGTPFPKPNNNNNNNNNNNNNNNNNNNMNNNNNNNNNMNNNNNNNNNNO","n":["BYTE_SIZE","Decode","DecodeInvalidLength","Key","KeyParsingError","LENGTH","NodeAddr","NodeId","PublicKey","RelayUrl","RelayUrlParseError","SecretKey","Signature","as_bytes","as_ref","borrow","","","","","","","","borrow_mut","","","","","","","clone","","","","","clone_into","","","","","clone_to_uninit","","","","","cmp","","","deref","deserialize","","","","","direct_addresses","","eq","","","","fmt","","","","","","","","","","","","","","","fmt_short","from","","","","","","","","","","","","","","","","","","","","from_bytes","","","from_components","from_parts","from_slice","from_str","","","","generate","hash","","into","","","","","","","is_empty","new","node_id","partial_cmp","","","public","","r_bytes","relay_url","","s_bytes","secret","serialize","","","","","serialize_public_pem","serialize_secret_pem","sign","source","","ticket","to_bytes","","","to_owned","","","","","to_string","","","","","","to_vec","try_from","","","","","","","","","","","try_into","","","","","","","type_id","","","","","","","verify","with_direct_addresses","with_relay_url","Encoding","Error","KIND","Kind","NodeTicket","Postcard","Ticket","Verify","borrow","","borrow_mut","","clone","clone_into","clone_to_uninit","deserialize","","eq","fmt","","","","from","","","","","from_bytes","","from_str","into","","new","node_addr","serialize","","source","to_bytes","","to_owned","to_string","","try_from","","try_into","","type_id","","expected"],"q":[[0,"iroh_base"],[183,"iroh_base::ticket"],[231,"iroh_base::ticket::Error"],[232,"iroh_base::key"],[233,"ed25519"],[234,"iroh_base::node_addr"],[235,"iroh_base::relay_url"],[236,"core::cmp"],[237,"core::result"],[238,"serde::de"],[239,"core::net::socket_addr"],[240,"core::iter::traits::iterator"],[241,"core::fmt"],[242,"alloc::string"],[243,"ed25519_dalek::signature"],[244,"ed25519_dalek::verifying"],[245,"data_encoding"],[246,"ed25519_dalek::errors"],[247,"ed25519_dalek::signing"],[248,"iroh_base::ticket::node"],[249,"core::option"],[250,"url"],[251,"url::parser"],[252,"core::iter::traits::collect"],[253,"signature::error"],[254,"rand_core"],[255,"core::hash"],[256,"serde::ser"],[257,"zeroize"],[258,"core::error"],[259,"alloc::vec"],[260,"core::any"],[261,"postcard::error"]],"i":"nBl00`b```````002001A`AbAdBn64532106432164321643214211643212264216666445533211004666644555333222211006436266431341645321022242143622636432143350`6636432164531066644453321064532106453210422En`El1`1`1Cl202000100002200222100020010210002020202Fb","f":"`````````````{{{d{b}}}{{d{{h{f}}}}}}{{{d{b}}}{{d{{j{f}}}}}}{d{{d{c}}}{}}2000000{{{d{l}}}{{d{lc}}}{}}000000{{{d{n}}}n}{{{d{b}}}b}{{{d{A`}}}A`}{{{d{Ab}}}Ab}{{{d{Ad}}}Ad}{{d{d{lc}}}Af{}}0000{{df}Af}0000{{{d{b}}{d{b}}}Ah}{{{d{Ab}}{d{Ab}}}Ah}{{{d{Ad}}{d{Ad}}}Ah}{{{d{Ad}}}{{d{c}}}{}}{c{{Aj{n}}}Al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[0,"mut"],[5,"Signature",0,233],[5,"SecretKey",0,232],[5,"NodeAddr",0,234],[5,"RelayUrl",0,235],[1,"unit"],[6,"Ordering",236],[6,"Result",237,null,1],[10,"Deserializer",238],[17,"Item"],[6,"SocketAddr",239],[10,"Iterator",240],[1,"bool"],[5,"Formatter",241],[5,"Error",241],[8,"Result",241],[6,"KeyParsingError",0,232],[5,"RelayUrlParseError",0,235],[5,"String",242],[5,"InternalSignature",243],[5,"VerifyingKey",244],[5,"DecodeError",245],[8,"SignatureError",246],[5,"SigningKey",247],[5,"NodeTicket",183,248],[8,"NodeId",0,232],[6,"Option",249,null,1],[1,"tuple",null,null,1],[5,"Url",250],[6,"ParseError",251],[10,"IntoIterator",252],[5,"Error",253],[1,"str"],[10,"CryptoRngCore",254],[10,"Hasher",255],[10,"Serializer",256],[5,"Zeroizing",257],[10,"Error",258],[5,"Vec",259],[5,"TypeId",260],[10,"Ticket",183],[6,"Error",183],[6,"Error",261],[15,"Kind",231]],"r":[[4,232],[6,234],[7,232],[8,232],[9,235],[10,235],[11,232],[12,233],[187,248]],"b":[[60,"impl-LowerHex-for-Signature"],[61,"impl-UpperHex-for-Signature"],[62,"impl-Debug-for-Signature"],[63,"impl-Display-for-Signature"],[64,"impl-Debug-for-PublicKey"],[65,"impl-Display-for-PublicKey"],[66,"impl-Debug-for-KeyParsingError"],[67,"impl-Display-for-KeyParsingError"],[68,"impl-Display-for-SecretKey"],[69,"impl-Debug-for-SecretKey"],[71,"impl-Display-for-RelayUrl"],[72,"impl-Debug-for-RelayUrl"],[73,"impl-Debug-for-RelayUrlParseError"],[74,"impl-Display-for-RelayUrlParseError"],[77,"impl-From%3C%26%5Bu8;+ed25519::::SignatureBytes::%7Bconstant%230%7D%5D%3E-for-Signature"],[78,"impl-From%3CInternalSignature%3E-for-Signature"],[79,"impl-From%3C%5Bu8;+ed25519::::SignatureBytes::%7Bconstant%230%7D%5D%3E-for-Signature"],[82,"impl-From%3CDecodeError%3E-for-KeyParsingError"],[84,"impl-From%3CError%3E-for-KeyParsingError"],[86,"impl-From%3C%5Bu8;+32%5D%3E-for-SecretKey"],[87,"impl-From%3CSigningKey%3E-for-SecretKey"],[88,"impl-From%3CNodeTicket%3E-for-NodeAddr"],[90,"impl-From%3CPublicKey%3E-for-NodeAddr"],[91,"impl-From%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[140,"impl-SignatureEncoding-for-Signature"],[141,"impl-Signature"],[157,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey"],[159,"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey"],[201,"impl-Debug-for-NodeTicket"],[202,"impl-Display-for-NodeTicket"],[203,"impl-Debug-for-Error"],[204,"impl-Display-for-Error"],[207,"impl-From%3CDecodeError%3E-for-Error"],[209,"impl-From%3CError%3E-for-Error"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAJgAFwAPACcAOQASAE4AAgBSAAEAVQAAAFcAAQBbAAEAXgABAGcAAwBsAAEAeAACAIIABACKAAEAjQAAAJAACgCcABgAwAAGAMgABQDQAAAA0gAAANQAAQDbAAEA3gAJAA==","P":[[15,"T"],[16,""],[17,"T"],[30,""],[35,"T"],[40,""],[48,"Deref::Target"],[49,"D"],[52,"__D"],[54,""],[76,"T"],[77,""],[80,"T"],[81,""],[83,"T"],[84,""],[85,"T"],[86,""],[89,"T"],[90,""],[92,"T"],[93,""],[95,"T"],[96,""],[100,""],[101,""],[103,"FromStr::Err"],[106,"R"],[107,"H"],[108,"__H"],[109,"U"],[116,""],[129,"S"],[132,"__S"],[134,""],[143,"T"],[148,""],[155,"U,T"],[156,""],[157,"TryFrom::Error"],[158,"U,T"],[159,"TryFrom::Error"],[160,"U,T"],[161,"TryFrom::Error"],[162,"U,T"],[166,"U"],[173,""],[181,""],[182,""],[191,"T"],[195,""],[196,"T"],[197,""],[199,"D"],[200,""],[205,"T"],[206,""],[208,"T"],[209,""],[212,"FromStr::Err"],[213,"U"],[215,""],[218,"S"],[219,""],[222,"T"],[223,""],[225,"U,T"],[227,"U"],[229,""]]}],["iroh_bench",{"t":"FGGGPPPFPPPPNNNNNNNNNNNNNNNNHONNNNNNNNNNNNHNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNONNNNNCOOONCOHCCNOONNNNNNNNNNNNNNNNNNNNNONNNNNSHHHHHHSHHHHHHFNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFONNNNNNOOOONNNNNNNNNNNOONNNNNNNNNNNNNNONOOOHOOONNNNNNOONNNNNN","n":["ClientStats","Commands","ConnectionSelector","EndpointSelector","Iroh","","","Opt","Quinn","","","S2n","__clone_box","","augment_args","augment_args_for_update","augment_subcommands","augment_subcommands_for_update","borrow","","","","","borrow_mut","","","","","client_handler","clients","clone","","clone_into","","clone_to_uninit","","close","","command","","command_for_update","","configure_tracing_subscriber","default","deref","","","","","deref_mut","","","","","download_size","drop","","","","","fmt","","from","","","","","from_arg_matches","","from_arg_matches_mut","","from_ref","","group_id","has_subcommand","init","","","","","initial_mtu","into","","","","","iroh","max_streams","metrics","only_relay","print","quinn","read_unordered","rt","s2n","stats","","","streams","to_owned","","try_from","","","","","try_into","","","","","type_id","","","","","update_from_arg_matches","","update_from_arg_matches_mut","","upload_size","vzip","","","","","ALPN","client","connect_client","handle_client_stream","server","server_endpoint","transport_config","ALPN","client","connect_client","handle_client_stream","server","server_endpoint","transport_config","Opt","__clone_box","augment_args","augment_args_for_update","borrow","borrow_mut","clone","clone_into","clone_to_uninit","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","from_ref","group_id","init","into","to_owned","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","Stats","StreamStats","TransferResult","avg_chunk_size","borrow","","","borrow_mut","","","chunk_size","chunk_time","chunks","","default","","deref","","","deref_mut","","","drop","","","duration","duration_hist","fmt","","","from","","","init","","","into","","","new","print","size","stream_finished","stream_stats","streams","throughput","throughput_bps","throughput_hist","total_duration","total_size","try_from","","","try_into","","","ttfb","ttfb_hist","type_id","","","vzip","",""],"q":[[0,"iroh_bench"],[126,"iroh_bench::iroh"],[133,"iroh_bench::quinn"],[140,"iroh_bench::s2n"],[169,"iroh_bench::stats"],[233,"dyn_clone::sealed"],[234,"clap_builder::builder::command"],[235,"anyhow"],[236,"core::fmt"],[237,"clap_builder::parser::matches::arg_matches"],[238,"clap_builder"],[239,"core::result"],[240,"clap_builder::util::id"],[241,"core::option"],[242,"tokio::runtime::runtime"],[243,"core::any"],[244,"iroh_base::node_addr"],[245,"iroh_base::relay_url"],[246,"iroh::endpoint"],[247,"iroh_quinn_proto::config::transport"],[248,"core::net::socket_addr"],[249,"rustls_pki_types"],[250,"iroh_quinn::endpoint"],[251,"iroh_quinn::connection"],[252,"core::time"]],"i":"````lnAf`21000A`00113210Ab43210`1212121432121`0432104321014321021432102121211243210143210`1110`1```311214321043210432102121143210```````````````Eb000000000000000000000000000```DbEdEf2102000210102102102201021021021022121112`01110210220102102","f":"````````````{{bd}f}0{hh}000{b{{b{c}}}{}}0000{{{b{j}}}{{b{jc}}}{}}0000{{lnA`}{{Ad{Ab}}}}`{{{b{Af}}}Af}{{{b{A`}}}A`}{{b{b{jc}}}f{}}0{{bAh}f}0{lf}{{{b{n}}Aj{b{{Al{Ah}}}}}f}{{}h}000{{}f}{{}Ab}{An{{b{c}}}{}}0000{An{{b{jc}}}{}}0000`{Anf}0000{{{b{Af}}{b{jB`}}}Bb}{{{b{A`}}{b{jB`}}}Bb}{cc{}}0000{{{b{Bd}}}{{Bh{AfBf}}}}{{{b{Bd}}}{{Bh{A`Bf}}}}{{{b{jBd}}}{{Bh{AfBf}}}}{{{b{jBd}}}{{Bh{A`Bf}}}}{{{b{c}}}c{}}0{{}{{Bl{Bj}}}}{{{b{Bn}}}C`}{{}An}0000`{{}c{}}0000````{{{b{Ab}}An}f}``{{}Cb}``{{{b{n}}}f}``{bc{}}0{c{{Bh{e}}}{}{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{}}00{{EhD`EhD`}Db}{{{b{Ed}}{b{Bn}}}f}`{{{b{jEd}}Db}f}```{{EhD`}Ej}```{c{{Bh{e}}}{}{}}00{{}{{Bh{c}}}{}}00``{bCd}00{{}c{}}00","D":"Dj","p":[[1,"reference",null,null,1],[5,"Private",233],[1,"unit"],[5,"Command",234],[0,"mut"],[6,"EndpointSelector",0],[6,"ConnectionSelector",0],[5,"Opt",0],[5,"ClientStats",0],[8,"Result",235],[6,"Commands",0],[1,"u8"],[1,"u32"],[1,"slice"],[1,"usize"],[5,"Formatter",236],[8,"Result",236],[5,"ArgMatches",237],[8,"Error",238],[6,"Result",239,null,1],[5,"Id",240],[6,"Option",241,null,1],[1,"str"],[1,"bool"],[5,"Runtime",242],[5,"TypeId",243],[5,"NodeAddr",244],[5,"RelayUrl",245],[5,"Endpoint",246],[5,"Connection",246],[1,"tuple",null,null,1],[1,"u64"],[5,"TransferResult",169],[1,"u16"],[5,"TransportConfig",247],[6,"SocketAddr",248],[5,"CertificateDer",249],[5,"Endpoint",250],[5,"Connection",251],[6,"PrivateKeyDer",249],[5,"Opt",140],[5,"Stats",169],[5,"StreamStats",169],[5,"Duration",252],[1,"f64"]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAMQAEQAAABwAHwAXADgABgBEAAwAVwAAAFsAAQBeAAMAZAAUAHoABQCCAAAAhQABAIkAAACMAA8AnQAEAKMAJADLAAIA0QAYAA==","P":[[18,"T"],[28,""],[32,"T"],[34,""],[44,"T"],[55,""],[62,"T"],[67,""],[71,"T"],[73,""],[81,"U"],[90,""],[99,"T"],[101,"U,T"],[106,"U"],[111,""],[121,"V"],[127,""],[144,"T"],[146,""],[147,"T"],[148,""],[151,"T"],[153,""],[155,"T"],[156,""],[158,"T"],[159,""],[161,"U"],[162,"T"],[163,"U,T"],[164,"U"],[165,""],[168,"V"],[173,"T"],[183,""],[185,"T"],[191,""],[199,"T"],[202,""],[205,"U"],[208,""],[219,"U,T"],[222,"U"],[227,""],[230,"V"]]}],["iroh_dns_server",{"t":"FNNNNNNCCNNNNCNNNCNNNCCNNNNNNGFPPFFFNOONNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNOONNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNOFFFFNNNNONNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNOOOOONNNNNNNNNNNNNNNNNNNNNNNNGPFFFPPGPPPNNNNOONNNNNNNNNNONNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFNNNNNNNOOOOOONNNOOOOHNNNOOOOOONNNNNFNNNNNHNNNNNNFNNNNNNONNNONNNNN","n":["ZoneStore","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","config","dns","fmt","from","from_ref","get_signed_packet","http","in_memory","insert","into","metrics","new","persistent","resolve","server","state","to_owned","try_from","try_into","type_id","vzip","with_mainline_fallback","BootstrapOption","Config","Custom","Default","MainlineConfig","MetricsConfig","StoreConfig","__clone_box","bind_addr","bootstrap","borrow","","","","","borrow_mut","","","","","clone","clone_into","clone_to_uninit","data_dir","default","","","","deserialize","","","","","disabled","","dns","enabled","fmt","","","","","from","","","","","from_ref","http","https","into","","","","","load","mainline","metrics","pkarr_put_rate_limit","serialize","","","","","signed_packet_store_path","to_owned","try_from","","","","","try_into","","","","","type_id","","","","","vzip","","","","","zone_store","DnsConfig","DnsHandler","DnsServer","Handle","__clone_box","","","answer_request","bind_addr","borrow","","","","borrow_mut","","","","clone","","","clone_into","","","clone_to_uninit","","","default_soa","default_ttl","deserialize","fmt","","","from","","","","from_ref","","","handle_request","into","","","","local_addr","new","origins","port","rr_a","rr_aaaa","rr_ns","run_until_done","send_response","serialize","shutdown","spawn","to_owned","","","try_from","","","","try_into","","","","type_id","","","","vzip","","","","CertMode","Disabled","HttpConfig","HttpServer","HttpsConfig","LetsEncrypt","Manual","RateLimitConfig","SelfSigned","Simple","Smart","__clone_box","","","","bind_addr","","borrow","","","","","borrow_mut","","","","","cert_mode","clone","","","","clone_into","","","","clone_to_uninit","","","","default","","deserialize","","","","domains","eq","equivalent","","","fmt","","","","","from","","","","","from_ref","","","","http_addr","https_addr","into","","","","","letsencrypt_contact","letsencrypt_prod","port","","run_until_done","serialize","","","","shutdown","spawn","to_owned","","","","to_string","try_from","","","","","try_into","","","","","type_id","","","","","vzip","","","","","Metrics","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","default","dns_lookup_error","dns_lookup_notfound","dns_lookup_success","dns_requests","dns_requests_https","dns_requests_udp","fmt","from","from_ref","http_requests","http_requests_duration_ms","http_requests_error","http_requests_success","init_metrics","into","iter","name","pkarr_publish_noop","pkarr_publish_update","store_packets_expired","store_packets_inserted","store_packets_removed","store_packets_updated","to_owned","try_from","try_into","type_id","vzip","Server","borrow","borrow_mut","from","into","run_until_error","run_with_config_until_ctrl_c","shutdown","spawn","try_from","try_into","type_id","vzip","AppState","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","dns_handler","from","from_ref","into","store","to_owned","try_from","try_into","type_id","vzip"],"q":[[0,"iroh_dns_server"],[29,"iroh_dns_server::config"],[116,"iroh_dns_server::dns"],[191,"iroh_dns_server::http"],[299,"iroh_dns_server::metrics"],[335,"iroh_dns_server::server"],[348,"iroh_dns_server::state"],[365,"dyn_clone::sealed"],[366,"iroh_dns_server::store"],[367,"core::fmt"],[368,"pkarr::signed_packet"],[369,"core::option"],[370,"anyhow"],[371,"std::path"],[372,"core::convert"],[373,"hickory_proto::rr::domain::name"],[374,"hickory_proto::rr::record_type"],[375,"hickory_proto::rr::rr_set"],[376,"alloc::sync"],[377,"core::result"],[378,"core::any"],[379,"serde::de"],[380,"serde::ser"],[381,"hickory_server::server::request_handler"],[382,"bytes::bytes"],[383,"core::future::future"],[384,"alloc::boxed"],[385,"core::pin"],[386,"hickory_server::server::response_handler"],[387,"core::net::socket_addr"],[388,"hickory_server::authority::message_response"],[389,"hickory_proto::rr::resource"],[390,"core::iter::traits::iterator"],[391,"core::marker"],[392,"iroh_dns_server::http::rate_limiting"],[393,"iroh_dns_server::http::tls"],[394,"alloc::string"],[395,"alloc::vec::into_iter"]],"i":"`j00000``0000`000`000``000000``Bj0```BlCfCbC`3214032143330031403214220103214032143000321400000321403032140321403214032140````D`CjDb12Dl32103213213213213333210321321203210233333013003210321032103210321`Ej```El0`01110EnF`10Fd432104321143214321432144432113333433210432143210004321112104321004321304321043210432104321`Fj0000000000000000000`00000000000000`Gd0000`000000`Ff000000000000000","f":"`{{bd}f}{b{{b{c}}}{}}{{{b{h}}}{{b{hc}}}{}}{{{b{j}}}j}{{b{b{hc}}}f{}}{{bl}f}``{{{b{j}}{b{hn}}}A`}{cc{}}{{{b{c}}}c{}}{{{b{j}}{b{`}}}{{Af{{Ad{Ab}}}}}}```{{}c{}}```{{{b{j}}{b{`}}{b{An}}B`}{{Af{{Ad{{Bd{Bb}}}}}}}}``{bc{}}{c{{Bf{e}}}{}{}}{{}{{Bf{c}}}{}}{bBh}{{}c{}}{{jBj}j}```````{{bd}f}``{b{{b{c}}}{}}0000{{{b{h}}}{{b{hc}}}{}}0000{{{b{Bl}}}Bl}{{b{b{hc}}}f{}}{{bl}f}{{}{{Af{Bn}}}}{{}C`}{{}Bl}{{}Cb}{{}Bj}{c{{Bf{C`}}}Cd}{c{{Bf{Bl}}}Cd}{c{{Bf{Cf}}}Cd}{c{{Bf{Cb}}}Cd}{c{{Bf{Bj}}}Cd}{{}Cf}```{{{b{C`}}{b{hn}}}A`}{{{b{Bl}}{b{hn}}}A`}{{{b{Cf}}{b{hn}}}A`}{{{b{Cb}}{b{hn}}}A`}{{{b{Bj}}{b{hn}}}A`}{cc{}}0000{{{b{c}}}c{}}``{{}c{}}0000{c{{Af{C`}}}{{Al{Aj}}}}```{{{b{C`}}c}BfCh}{{{b{Bl}}c}BfCh}{{{b{Cf}}c}BfCh}{{{b{Cb}}c}BfCh}{{{b{Bj}}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}}A`}{cc{}}0000{{{b{c}}}c{}}000{{{b{Fd}}}{{Ad{Dn}}}}0{{}c{}}0000````{Fd{{Af{f}}}}{{{b{Ej}}c}BfCh}{{{b{El}}c}BfCh}{{{b{En}}c}BfCh}{{{b{F`}}c}BfCh}4{{{Ad{En}}{Ad{F`}}EjFf}{{Af{Fd}}}}{bc{}}000{bFh}{c{{Bf{e}}}{}{}}0000{{}{{Bf{c}}}{}}0000{bBh}0000{{}c{}}0000`{{bd}f}{b{{b{c}}}{}}{{{b{h}}}{{b{hc}}}{}}{{{b{Fj}}}Fj}{{b{b{hc}}}f{}}{{bl}f}{{}Fj}``````{{{b{Fj}}{b{hn}}}A`}{cc{}}{{{b{c}}}c{}}````{{}f}{{}c{}}{{{b{Fj}}}{{Gb{{G`{{b{Fl}}{b{Fn}}}}}}}}{{}{{b{Fl}}}}``````{bc{}}{c{{Bf{e}}}{}{}}{{}{{Bf{c}}}{}}{bBh}{{}c{}}`{b{{b{c}}}{}}{{{b{h}}}{{b{hc}}}{}}<9{Gd{{Af{f}}}}{C`{{Af{f}}}}1{{C`j}{{Af{Gd}}}}8765`{{bd}f}54{{{b{Ff}}}Ff}{{b{b{hc}}}f{}}{{bl}f}`{cc{}}{{{b{c}}}c{}}{{}c{}}`{bc{}}{c{{Bf{e}}}{}{}}{{}{{Bf{c}}}{}}{bBh}{{}c{}}","D":"Oj","p":[[1,"reference",null,null,1],[5,"Private",365],[1,"unit"],[0,"mut"],[5,"ZoneStore",0,366],[1,"u8"],[5,"Formatter",367],[8,"Result",367],[5,"SignedPacket",368],[6,"Option",369,null,1],[8,"Result",370],[1,"bool"],[5,"Path",371],[10,"AsRef",372],[5,"Name",373],[6,"RecordType",374],[5,"RecordSet",375],[5,"Arc",376,null,1],[6,"Result",377,null,1],[5,"TypeId",378],[6,"BootstrapOption",29],[5,"StoreConfig",29],[5,"PathBuf",371],[5,"Config",29],[5,"MainlineConfig",29],[10,"Deserializer",379],[5,"MetricsConfig",29],[10,"Serializer",380],[5,"DnsHandler",116],[5,"Request",381],[5,"Bytes",382],[5,"DnsConfig",116],[5,"Handle",116],[10,"Future",383,null,1],[5,"Box",384,null,1],[5,"Pin",385],[10,"ResponseHandler",386],[5,"DnsServer",116],[6,"SocketAddr",387],[5,"MessageResponse",388],[17,"Item"],[5,"Record",389],[10,"Iterator",390],[10,"Send",391],[6,"RateLimitConfig",191,392],[6,"CertMode",191,393],[5,"HttpConfig",191],[5,"HttpsConfig",191],[5,"Error",367],[5,"HttpServer",191],[5,"AppState",348],[5,"String",394],[5,"Metrics",299],[1,"str"],[10,"Any",378],[1,"tuple",null,null,1],[5,"IntoIter",395],[5,"Server",335]],"r":[[0,366],[191,393],[198,392]],"b":[[231,"impl-Default-for-%26RateLimitConfig"],[232,"impl-Default-for-RateLimitConfig"],[243,"impl-Debug-for-CertMode"],[244,"impl-Display-for-CertMode"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAPAAIAACAAUACgAAAAwAAAAYAAQAJQAAACgADAA2AAgAQwAEAE0AAABZAAQAXwAUAHkAAgB+ABAAkQADAJkAAwCpAAEArQASAMsAAwDRAAkA3AARAO8ACAD9AAMADQEDABMBGAAtAQ0APAEEAEMBDABRAQEAWQEDAF4BBQBmAQAAaQEEAA==","P":[[2,"T"],[4,""],[5,"T"],[6,""],[10,"T"],[12,""],[16,"U"],[18,""],[19,""],[20,""],[23,"T"],[24,"U,T"],[25,"U"],[26,""],[27,"V"],[28,""],[39,"T"],[49,""],[50,"T"],[51,""],[57,"__D"],[62,""],[71,"T"],[79,"U"],[84,""],[88,"__S"],[93,""],[94,"T"],[95,"U,T"],[100,"U"],[105,""],[110,"V"],[120,""],[125,"T"],[133,""],[136,"T"],[139,""],[144,"__D"],[145,""],[148,"T"],[155,"R"],[156,"U"],[160,""],[168,",,,"],[169,"__S"],[170,""],[172,"T"],[175,"U,T"],[179,"U"],[183,""],[187,"V"],[202,""],[208,"T"],[219,""],[223,"T"],[227,""],[233,"__D"],[238,""],[239,"K"],[242,""],[247,"T"],[256,""],[258,"U"],[267,""],[268,"__S"],[272,""],[274,"T"],[278,""],[279,"U,T"],[284,"U"],[289,""],[294,"V"],[300,""],[301,"T"],[303,""],[304,"T"],[305,""],[314,"T"],[320,""],[321,"U"],[322,""],[330,"T"],[331,"U,T"],[332,"U"],[333,""],[334,"V"],[336,"T"],[339,"U"],[340,""],[344,"U,T"],[345,"U"],[346,""],[347,"V"],[349,""],[350,"T"],[352,""],[353,"T"],[354,""],[356,"T"],[358,"U"],[360,"T"],[361,"U,T"],[362,"U"],[363,""],[364,"V"]]}],["iroh_net_report",{"t":"FFFFFSFFFFFNNNNNNNNNHNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNOONNNNNNNNNNNNNNNNNNNNOOOOOONNOONNNHONOONNOOOOONOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNN","n":["Addr","Client","IpMappedAddr","IpMappedAddrError","IpMappedAddresses","MAPPED_ADDR_PORT","Metrics","Options","QuicConfig","RelayLatencies","Report","__clone_box","","","","","","","","addr","bind_local_stun_socket","borrow","","","","","","","","","","borrow_mut","","","","","","","","","","captive_portal","client_config","clone","","","","","","","","clone_into","","","","","","","","clone_to_uninit","","","","","","","","cmp","compare","default","","","","","deref","","","","","","","","","","deref_mut","","","","","","","","","","disabled","drop","","","","","","","","","","ep","eq","","","equivalent","","","","","","","","","fmt","","","","","","","","","","","","","from","","","","","","","","","","generate","get_ip_addr","get_mapped_addr","get_or_register","get_report","get_report_channel","get_report_with_opts","global_v4","global_v6","hair_pinning","hash","https","icmp_v4","icmp_v6","icmpv4","icmpv6","init","","","","","","","","","","into","","","","","","","","","","ipv4","","ipv4_can_send","ipv6","","ipv6_can_send","iter","","mapping_varies_by_dest_ip","mapping_varies_by_dest_ipv6","name","new","","os_has_ipv6","","partial_cmp","portmap_probe","preferred_relay","quic_config","receive_stun_packet","relay_latency","relay_v4_latency","relay_v6_latency","reports","reports_full","socket_addr","stun_packets_dropped","stun_packets_recv_ipv4","stun_packets_recv_ipv6","stun_packets_sent_ipv4","stun_packets_sent_ipv6","stun_v4","stun_v6","to_owned","","","","","","","","to_string","","","try_from","","","","","","","","","","","try_into","","","","","","","","","","type_id","","","","","","","","","","udp","vzip","","","","","","","","",""],"q":[[0,"iroh_net_report"],[263,"dyn_clone::sealed"],[264,"netwatch::ip_family"],[265,"tokio_util::sync::cancellation_token"],[266,"netwatch::udp"],[267,"alloc::sync"],[268,"core::option"],[269,"iroh_net_report::ip_mapped_addrs"],[270,"iroh_net_report::metrics"],[271,"iroh_net_report::reportgen"],[272,"core::cmp"],[273,"core::fmt"],[274,"core::net::socket_addr"],[275,"iroh_relay::relay_map"],[276,"anyhow"],[277,"tokio::sync::oneshot"],[278,"core::hash"],[279,"core::any"],[280,"alloc::vec::into_iter"],[281,"iroh_base::relay_url"],[282,"core::time"],[283,"core::iter::traits::iterator"],[284,"portmapper"],[285,"iroh_relay::dns"],[286,"bytes::bytes"],[287,"alloc::string"],[288,"core::result"],[289,"core::net::ip_addr"],[290,"iroh_net_report::stun_utils"]],"i":"```````````AhAjAlAnB`BbBdjh`Bn987654132098765413256987654329876543298765432998754309876541320987654132309876541326954999555444009987655413209876541329888111555933355098765413209876541326556557455781`595532555779777773398765432095099876541320987654132098765413250987654132","f":"```````````{{bd}f}0000000{{{b{h}}}j}{{ljn}{{Ad{{Ab{A`}}}}}}{b{{b{c}}}{}}000000000{{{b{Af}}}{{b{Afc}}}{}}000000000``{{{b{Ah}}}Ah}{{{b{Aj}}}Aj}{{{b{Al}}}Al}{{{b{An}}}An}{{{b{B`}}}B`}{{{b{Bb}}}Bb}{{{b{Bd}}}Bd}{{{b{j}}}j}{{b{b{Afc}}}f{}}0000000{{bBf}f}0000000{{{b{Ah}}{b{Ah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c{{Ef{e}}}{}{}}{Eh{{Ef{Ahc}}}{}}111111111{{}{{Ef{c}}}{}}000000000{bEj}000000000`{{}c{}}000000000","D":"Ij","p":[[1,"reference",null,null,1],[5,"Private",263],[1,"unit"],[5,"Client",0],[5,"Addr",0],[6,"IpFamily",264],[5,"CancellationToken",265],[5,"UdpSocket",266],[5,"Arc",267,null,1],[6,"Option",268,null,1],[0,"mut"],[5,"IpMappedAddr",0,269],[5,"IpMappedAddresses",0,269],[5,"Metrics",0,270],[5,"QuicConfig",0,271],[5,"Report",0],[5,"RelayLatencies",0],[5,"Options",0],[1,"u8"],[6,"Ordering",272],[1,"usize"],[1,"bool"],[5,"IpMappedAddrError",0,269],[5,"Formatter",273],[8,"Result",273],[6,"SocketAddr",274],[5,"RelayMap",275],[8,"Result",276],[5,"Receiver",277],[10,"Hasher",278],[1,"str"],[10,"Any",279],[1,"tuple",null,null,1],[5,"IntoIter",280],[17,"Item"],[5,"RelayUrl",281],[5,"Duration",282],[10,"Iterator",283],[5,"Client",284],[5,"DnsResolver",285],[5,"Bytes",286],[5,"String",287],[6,"Result",288,null,1],[5,"Ipv6Addr",289],[5,"TypeId",279]],"r":[[2,269],[3,269],[4,269],[5,269],[6,270],[8,271],[20,290]],"b":[[118,"impl-Debug-for-IpMappedAddrError"],[119,"impl-Display-for-IpMappedAddrError"],[120,"impl-Debug-for-IpMappedAddr"],[121,"impl-Display-for-IpMappedAddr"],[125,"impl-Display-for-Report"],[126,"impl-Debug-for-Report"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAALoADgAMAAcAFgATACwAMgBgAAkAawAYAJgAAACeAAkAuAAAALwAAADBAAAAyQABAMwABADTACkA/gAJAA==","P":[[21,"T"],[43,""],[51,"T"],[59,""],[68,"K"],[69,""],[74,"T"],[94,""],[109,"K"],[118,""],[131,"T"],[141,""],[151,"__H"],[152,""],[167,"U"],[183,""],[210,"T"],[218,""],[221,"U,T"],[222,"TryFrom::Error"],[223,"U,T"],[232,"U"],[242,""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PingTracker","RelayMap","RelayNode","RelayQuicConfig","__clone_box","","","borrow","","","","borrow_mut","","","","client","clone","","","clone_into","","","clone_to_uninit","","","cmp","","compare","","contains_node","default","","default_from_node","default_timeout","defaults","deref","","","","deref_mut","","","","deserialize","","dns","drop","","","","empty","eq","","","equivalent","","","","","","","","","fmt","","","","","","from","","","","from_nodes","from_url","get_node","http","init","","","","into","","","","is_empty","len","new","new_ping","nodes","partial_cmp","","pong_received","port","protos","quic","","serialize","","server","stun_only","stun_port","timeout","to_owned","","","to_string","","try_from","","","","try_into","","","","type_id","","","","url","urls","vzip","","","","Client","ClientBuilder","ClientSink","ClientStream","ConnSendError","Health","Io","KeepAlive","NodeGone","Ping","","Pong","","Protocol","ReceivedMessage","ReceivedPacket","SendMessage","SendPacket","ServerRestarting","__clone_box","","address_family_selector","borrow","","","","","","","borrow_mut","","","","","","","clone","","clone_into","","clone_to_uninit","","connect","deref","","","","","","","deref_mut","","","","","","","drop","","","","","","","fmt","","","","","","","","from","","","","","","","","","init","","","","","","","insecure_skip_cert_verify","into","","","","","","","is_prober","key_cache_capacity","local_addr","make_dangerous_client_config","new","poll_close","","poll_flush","","poll_next","","poll_ready","","protocol","proxy_url","ratelimit_sink","","ratelimit_sink_with_jitter","","ratelimit_stream","","ratelimit_stream_with_jitter","","source","split","start_send","","to_owned","","to_string","try_from","","","","","","","try_into","","","","","","","try_poll_next","","type_id","","","","","","","vzip","","","","","","","data","problem","reconnect_in","remote_node_id","try_for","DEFAULT_HTTPS_PORT","DEFAULT_HTTP_PORT","DEFAULT_KEY_CACHE_CAPACITY","DEFAULT_METRICS_PORT","DEFAULT_RELAY_QUIC_PORT","DEFAULT_STUN_PORT","DnsResolver","N0_DNS_NODE_ORIGIN_PROD","N0_DNS_NODE_ORIGIN_STAGING","TXT","TxtLookup","__clone_box","","","borrow","","","borrow_mut","","","clear_cache","clone","","","clone_into","","","clone_to_uninit","","","default","deref","","","deref_mut","","","drop","","","fmt","","","","from","","","","","init","","","into","","","into_iter","lookup_ipv4","lookup_ipv4_ipv6","lookup_ipv4_ipv6_staggered","lookup_ipv4_staggered","lookup_ipv6","lookup_ipv6_staggered","lookup_node_by_domain_name","lookup_node_by_domain_name_staggered","lookup_node_by_id","lookup_node_by_id_staggered","lookup_txt","new","node_info","resolve_host","to_owned","","","to_string","try_from","","","try_into","","","txt_data","type_id","","","vzip","","","with_nameserver","IROH_TXT_NAME","NodeIdExt","NodeInfo","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","deref","deref_mut","direct_addresses","drop","eq","equivalent","","","fmt","from","from_pkarr_signed_packet","from_txt_lookup","from_z32","init","into","new","node_id","relay_url","to_owned","to_pkarr_signed_packet","to_txt_strings","to_z32","try_from","try_into","type_id","vzip","Protocol","RELAY_PATH","RELAY_PROBE_PATH","Relay","Websocket","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","default","deref","deref_mut","drop","eq","equivalent","","","fmt","from","init","into","parse_header","to_owned","try_from","try_into","type_id","upgrade_header","vzip","disco","relay","stun","MAGIC","looks_like_disco_wrapper","MAX_PACKET_SIZE","AlternateServer","Error","ErrorCode","ErrorResponse","Fingerprint","Indication","InvalidFingerprint","InvalidMessage","MalformedAttrs","MappedAddress","MessageClass","MessageDecoder","MessageIntegrity","MessageIntegritySha256","NoFingerprint","Nonce","NotBinding","NotSuccessResponse","PasswordAlgorithm","PasswordAlgorithms","Realm","Request","Software","StunAttribute","StunDecodeError","SuccessResponse","TransactionId","Unknown","UnknownAttributes","UserHash","UserName","XorMappedAddress","__clone_box","","","","as_alternate_server","as_bytes","as_error_code","as_fingerprint","as_mapped_address","as_message_integrity","as_message_integrity_sha256","as_nonce","as_password_algorithm","as_password_algorithms","as_realm","as_ref","as_software","as_unknown","as_unknown_attributes","as_user_hash","as_user_name","as_xor_mapped_address","attribute_type","borrow","","","","","","borrow_mut","","","","","","clone","","","","clone_into","","","","clone_to_uninit","","","","cmp","compare","decode","default","","deref","","","","","","","deref_mut","","","","","","drop","","","","","","eq","","equivalent","","","","","","expect_alternate_server","expect_error_code","expect_fingerprint","expect_mapped_address","expect_message_integrity","expect_message_integrity_sha256","expect_nonce","expect_password_algorithm","expect_password_algorithms","expect_realm","expect_software","expect_unknown","expect_unknown_attributes","expect_user_hash","expect_user_name","expect_xor_mapped_address","fmt","","","","","","","","","from","","","","","","","","","","","","","","","","","","","","","","","","get_context","hash","init","","","","","","into","","","","","","is","is_alternate_server","is_error_code","is_fingerprint","is_mapped_address","is_message_integrity","is_message_integrity_sha256","is_nonce","is_password_algorithm","is_password_algorithms","is_realm","is_software","is_unknown","is_unknown_attributes","is_user_hash","is_user_name","is_xor_mapped_address","methods","parse_binding_request","parse_response","partial_cmp","request","response","to_owned","","","","to_string","","","try_from","","","","","","","try_into","","","","","","type_id","","","","","","vzip","","","","","","BINDING","RESERVED","SHARED_SECRET","ALPN_QUIC_ADDR_DISC","QUIC_ADDR_DISC_CLOSE_CODE","QUIC_ADDR_DISC_CLOSE_REASON","QuicClient","borrow","borrow_mut","deref","deref_mut","drop","fmt","from","get_addr_and_latency","init","into","new","try_from","try_into","type_id","vzip","Access","AccessConfig","Allow","CertConfig","ClientRateLimit","DEFAULT_CERT_RELOAD_INTERVAL","Deny","Everyone","LetsEncrypt","Limits","Manual","Metrics","QuicConfig","RelayConfig","Reloading","ReloadingResolver","Restricted","Server","ServerConfig","StunConfig","StunMetrics","TlsConfig","__clone_box","","","","accept_conn_burst","accept_conn_limit","accepts","access","bad_requests","bind_addr","","borrow","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","bytes_per_second","bytes_recv","bytes_sent","cert","certificates","client_rx","clone","","","","clone_into","","","","clone_to_uninit","","","","conns_rx_ratelimited_total","default","","","","deref","","","","","","","","","","","","","","","deref_mut","","","","","","","","","","","","","","disco_packets_dropped","disco_packets_recv","disco_packets_sent","disconnects","drop","","","","","","","","","","","","","","eq","equivalent","","","failures","fmt","","","","","","","","","","","","","","frames_rx_ratelimited_total","from","","","","","","","","","","","","","","got_ping","http_addr","http_bind_addr","http_url","https_addr","https_bind_addr","https_url","init","","","","","","","","","","","","","","","into","","","","","","","","","","","","","","ipv4_success","ipv6_success","is_allowed","iter","","key_cache_capacity","limits","max_burst_bytes","metrics_addr","name","","other_packets_dropped","other_packets_recv","other_packets_sent","quic","quic_addr","quic_bind_addr","relay","relay_accepts","reload","requests","resolve","send_packets_dropped","send_packets_recv","send_packets_sent","sent_pong","server_config","","shutdown","","spawn","stun","stun_addr","task_handle","testing","tls","to_owned","","","","try_from","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","type_id","","","","","","","","","","","","","","unique_client_keys","unknown_frames","vzip","","","","","","","","","","","","","","websocket_accepts","certs","state","quic_config","relay_config","self_signed_tls_certs_and_config","server_config","stun_config","tls_config"],"q":[[0,"iroh_relay"],[127,"iroh_relay::client"],[283,"iroh_relay::client::ReceivedMessage"],[288,"iroh_relay::defaults"],[294,"iroh_relay::dns"],[376,"iroh_relay::dns::node_info"],[411,"iroh_relay::http"],[441,"iroh_relay::protos"],[444,"iroh_relay::protos::disco"],[446,"iroh_relay::protos::relay"],[447,"iroh_relay::protos::stun"],[676,"iroh_relay::protos::stun::methods"],[679,"iroh_relay::quic"],[698,"iroh_relay::server"],[998,"iroh_relay::server::CertConfig"],[1000,"iroh_relay::server::testing"],[1006,"dyn_clone::sealed"],[1007,"iroh_relay::relay_map"],[1008,"core::cmp"],[1009,"iroh_base::relay_url"],[1010,"iroh_relay::ping_tracker"],[1011,"core::time"],[1012,"core::result"],[1013,"serde::de"],[1014,"core::fmt"],[1015,"anyhow"],[1016,"alloc::sync"],[1017,"core::convert"],[1018,"core::iter::traits::collect"],[1019,"core::option"],[1020,"core::iter::traits::iterator"],[1021,"serde::ser"],[1022,"alloc::string"],[1023,"core::any"],[1024,"core::ops::function"],[1025,"core::marker"],[1026,"iroh_relay::client::conn"],[1027,"std::io::error"],[1028,"tokio_tungstenite_wasm::error"],[1029,"core::net::socket_addr"],[1030,"rustls::client::client_conn"],[1031,"iroh_base::key"],[1032,"core::pin"],[1033,"core::task::wake"],[1034,"core::task::poll"],[1035,"url"],[1036,"governor::state::direct"],[1037,"governor::state"],[1038,"governor::state::direct::sinks"],[1039,"governor::clock::with_std"],[1040,"governor::gcra"],[1041,"governor::middleware"],[1042,"governor::jitter"],[1043,"governor::state::direct::streams"],[1044,"core::error"],[1045,"hickory_resolver::resolver"],[1046,"hickory_resolver::lookup"],[1047,"core::net::ip_addr"],[1048,"iroh_base::node_addr"],[1049,"alloc::boxed"],[1050,"pkarr::signed_packet"],[1051,"alloc::collections::btree::set"],[1052,"alloc::vec"],[1053,"http::header::value"],[1054,"stun_rs::attributes"],[1055,"stun_rs::attributes::stun::alternate_server"],[1056,"stun_rs::error"],[1057,"stun_rs::types"],[1058,"stun_rs::attributes::stun::error_code"],[1059,"stun_rs::attributes::stun::fingerprint"],[1060,"stun_rs::attributes::stun::mapped_address"],[1061,"stun_rs::attributes::stun::message_integrity"],[1062,"stun_rs::attributes::stun::message_integrity_sha256"],[1063,"stun_rs::attributes::stun::nonce"],[1064,"stun_rs::attributes::stun::password_algorithm"],[1065,"stun_rs::attributes::stun::password_algorithms"],[1066,"stun_rs::attributes::stun::realm"],[1067,"stun_rs::attributes::stun::software"],[1068,"stun_rs::attributes::unknown"],[1069,"stun_rs::attributes::stun::unknown_attributes"],[1070,"stun_rs::attributes::stun::user_hash"],[1071,"stun_rs::attributes::stun::user_name"],[1072,"stun_rs::attributes::stun::xor_mapped_address"],[1073,"stun_rs::context"],[1074,"stun_rs::message"],[1075,"core::hash"],[1076,"iroh_quinn::endpoint"],[1077,"rustls_pki_types"],[1078,"iroh_relay::server::metrics"],[1079,"core::default"],[1080,"iroh_relay::server::resolver"],[1081,"rustls::crypto::signer"],[1082,"reloadable_core"],[1083,"alloc::vec::into_iter"],[1084,"rustls::server::server_conn"],[1085,"tokio_util::task::abort_on_drop"],[1086,"stun_rs"],[1087,"stun_rs::methods"]],"i":"`````jlnAh3210321`321321321212130130`0321032121`032133213332221110332210321333`03210321330032101``221`22032132032103210321230321`````DhDl111Dn201`2`022Cn02310DjE`Eb5643210636363356432105643210564321055643210555643210564321035643210330`32121202133212120205221635564321056432102056432105643210AAfAAhAAj20```````````EnHbHd210210221021021022102102102100221102102101222222222222`2210021021002102102```Ij00000000000000000Jd1111111101111```Ff00000000000000000000000000``````Jh`0Mb10Mj002``22020022212``1`22222M`2Jn4404444444440444444413024Mf24135024152415241511221241135024135024135041444111555555555555555524113350024111355555555555555555021241350241350`5555555555555555```1``24151302441350241350241350241350```````N`00000000000000``Nl```0OlA@d`0```0`1`````NhNj4NnOf03Oj3OnA@`65OhO`4:;32A@b67:Nd:9326<=54178;08::107:9=8:9=8:9=8::927:93326<=54178;0:9326<=54178;0:::::9326<=54178;0====9:9326<=54178;0::9326<=54178;0:060010:93326<=54178;0:9326<=54178;099<:96682:9:::2012:393::::41300200`6:9=8:9326<=54178;0:9326<=54178;0:9326<=54178;0:::9326<=54178;0:AAlAAn``````","f":"`````{{bd}f}00{b{{b{c}}}{}}000{{{b{h}}}{{b{hc}}}{}}000`{{{b{j}}}j}{{{b{l}}}l}{{{b{n}}}n}{{b{b{hc}}}f{}}00{{bA`}f}00{{{b{l}}{b{l}}}Ab}{{{b{n}}{b{n}}}Ab}{{b{b{c}}}Ab{}}0{{{b{j}}{b{Ad}}}Af}{{}Ah}{{}n}{{AdAj}j}{{{b{Ah}}}Al}`{An{{b{c}}}{}}000{An{{b{hc}}}{}}000{c{{B`{l}}}Bb}{c{{B`{n}}}Bb}`{Anf}000{{}j}{{{b{j}}{b{j}}}Af}{{{b{l}}{b{l}}}Af}{{{b{n}}{b{n}}}Af}{{b{b{c}}}Af{}}00000000{{{b{Ah}}{b{hBd}}}Bf}{{{b{j}}{b{hBd}}}Bf}0{{{b{l}}{b{hBd}}}Bf}0{{{b{n}}{b{hBd}}}Bf}{cc{}}000{e{{Bh{j}}}{{Bl{{Bj{l}}}}}{{C`{}{{Bn{c}}}}}}{Adj}{{{b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Nd}}}OdOd}`={{{b{hNd}}}{{b{h{AAb{{Bh{f}}}}}}}}``{bc{}}000{c{{B`{e}}}{}{}}0000000000000{{}{{B`{c}}}{}}0000000000000{bCl}0000000000000``{{}c{}}0000000000000```{{}A@`}{{}{{Oj{f}}}}{{}{{H`{{Jb{Nf}}AAd}}}}{{}{{O`{f}}}}{{}On}{{}{{A@b{f}}}}","D":"C@f","p":[[1,"reference",null,null,1],[5,"Private",1006],[1,"unit"],[0,"mut"],[5,"RelayMap",0,1007],[5,"RelayNode",0,1007],[5,"RelayQuicConfig",0,1007],[1,"u8"],[6,"Ordering",1008],[5,"RelayUrl",1009],[1,"bool"],[5,"PingTracker",0,1010],[1,"u16"],[5,"Duration",1011],[1,"usize"],[6,"Result",1012,null,1],[10,"Deserializer",1013],[5,"Formatter",1014],[8,"Result",1014],[8,"Result",1015],[5,"Arc",1016,null,1],[10,"Into",1017],[17,"Item"],[10,"IntoIterator",1018],[6,"Option",1019,null,1],[1,"array"],[10,"Iterator",1020],[10,"Serializer",1021],[5,"String",1022],[5,"TypeId",1023],[5,"ClientBuilder",127],[17,"Output"],[10,"Fn",1024],[10,"Send",1025],[10,"Sync",1025],[6,"ReceivedMessage",127,1026],[5,"Client",127],[6,"ConnSendError",127,1026],[6,"SendMessage",127,1026],[5,"ClientSink",127],[5,"ClientStream",127],[5,"Error",1027],[6,"Error",1028],[6,"SocketAddr",1029],[5,"ClientConfig",1030],[5,"SecretKey",1031],[5,"DnsResolver",294],[5,"Pin",1032],[5,"Context",1033],[6,"Poll",1034],[6,"Protocol",411],[5,"Url",1035],[6,"NotKeyed",1036],[5,"RateLimiter",1037],[5,"RatelimitedSink",1038],[10,"DirectStateStore",1036],[10,"ReasonablyRealtime",1039],[17,"NegativeOutcome"],[5,"NotUntil",1040],[10,"RateLimitingMiddleware",1041],[5,"Jitter",1042],[5,"RatelimitedStream",1043],[10,"Error",1044],[1,"tuple",null,null,1],[5,"TxtLookup",294],[5,"TXT",294],[8,"TokioResolver",1045],[5,"TxtLookup",1046],[6,"IpAddr",1047],[10,"ToString",1022],[1,"u64"],[1,"slice"],[1,"str"],[5,"NodeAddr",1048],[8,"NodeId",1031],[5,"Box",1049,null,1],[5,"NodeInfo",376],[5,"SignedPacket",1050],[5,"BTreeSet",1051],[1,"u32"],[5,"Vec",1052],[10,"NodeIdExt",376],[5,"HeaderValue",1053],[6,"StunAttribute",447,1054],[5,"AlternateServer",1055],[5,"StunError",1056],[5,"TransactionId",447,1057],[5,"ErrorCode",1058],[6,"Fingerprint",1059],[5,"MappedAddress",1060],[6,"MessageIntegrity",1061],[6,"MessageIntegritySha256",1062],[5,"Nonce",1063],[5,"PasswordAlgorithm",1064],[5,"PasswordAlgorithms",1065],[5,"Realm",1066],[5,"Software",1067],[5,"Unknown",1068],[5,"UnknownAttributes",1069],[5,"UserHash",1070],[5,"UserName",1071],[5,"XorMappedAddress",1072],[5,"AttributeType",1054],[5,"MessageDecoder",447,1073],[6,"MessageClass",447,1074],[5,"StunMessage",1074],[5,"StunDecodeError",447,1056],[5,"Error",1014],[6,"Error",447],[5,"DecoderContext",1073],[10,"Hasher",1075],[5,"QuicClient",679],[5,"Endpoint",1076],[5,"Server",698],[5,"CertificateDer",1077],[5,"Metrics",698,1078],[5,"StunMetrics",698,1078],[6,"Access",698],[5,"ClientRateLimit",698],[5,"ServerConfig",698],[10,"Default",1079],[10,"Debug",1014],[5,"Limits",698],[5,"ReloadingResolver",698,1080],[5,"RelayConfig",698],[6,"AccessConfig",698],[5,"StunConfig",698],[5,"QuicConfig",698],[5,"TlsConfig",698],[6,"CertConfig",698],[17,"Value"],[5,"CertifiedKey",1081],[10,"Loader",1082],[10,"Any",1023],[5,"IntoIter",1083],[5,"ClientHello",1084],[5,"AbortOnDropHandle",1085],[5,"ServerConfig",1084],[15,"ReceivedPacket",283],[15,"Health",283],[15,"ServerRestarting",283],[15,"Manual",998],[15,"LetsEncrypt",998]],"r":[[0,446],[1,1010],[2,1007],[3,1007],[4,1007],[131,1026],[141,1026],[143,1026],[457,1074],[458,1073],[470,1054],[471,1056],[473,1057],[638,1086],[676,1087],[677,1087],[678,1087],[703,1080],[709,1078],[713,1080],[718,1078]],"b":[[65,"impl-Debug-for-RelayMap"],[66,"impl-Display-for-RelayMap"],[67,"impl-Debug-for-RelayNode"],[68,"impl-Display-for-RelayNode"],[191,"impl-Display-for-ConnSendError"],[192,"impl-Debug-for-ConnSendError"],[199,"impl-From%3CError%3E-for-ConnSendError"],[200,"impl-From%3CError%3E-for-ConnSendError"],[330,"impl-Display-for-TXT"],[331,"impl-Debug-for-TXT"],[576,"impl-Display-for-TransactionId"],[577,"impl-Debug-for-TransactionId"],[578,"impl-Debug-for-Error"],[579,"impl-Display-for-Error"],[581,"impl-Display-for-StunDecodeError"],[582,"impl-Debug-for-StunDecodeError"],[585,"impl-From%3C%5Bu8;+stun_rs::::types::%7Bimpl%2314%7D::%7Bconstant%230%7D%5D%3E-for-TransactionId"],[586,"impl-From%3C%26%5Bu8;+stun_rs::::types::%7Bimpl%2313%7D::%7Bconstant%230%7D%5D%3E-for-TransactionId"],[590,"impl-From%3CUnknown%3E-for-StunAttribute"],[591,"impl-From%3CXorMappedAddress%3E-for-StunAttribute"],[592,"impl-From%3CMessageIntegritySha256%3E-for-StunAttribute"],[593,"impl-From%3CUserName%3E-for-StunAttribute"],[594,"impl-From%3CUserHash%3E-for-StunAttribute"],[595,"impl-From%3CMessageIntegrity%3E-for-StunAttribute"],[596,"impl-From%3CPasswordAlgorithm%3E-for-StunAttribute"],[597,"impl-From%3CMappedAddress%3E-for-StunAttribute"],[598,"impl-From%3CUnknownAttributes%3E-for-StunAttribute"],[599,"impl-From%3CFingerprint%3E-for-StunAttribute"],[600,"impl-From%3CSoftware%3E-for-StunAttribute"],[601,"impl-From%3CErrorCode%3E-for-StunAttribute"],[602,"impl-From%3CPasswordAlgorithms%3E-for-StunAttribute"],[603,"impl-From%3CAlternateServer%3E-for-StunAttribute"],[604,"impl-From%3CRealm%3E-for-StunAttribute"],[605,"impl-From%3CNonce%3E-for-StunAttribute"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAGsCPgABAAAABgAKABIADAAgAAEAJQAJADAAAwA1ABEATwADAFwAAQBjAAEAaQAQAHwAAwCTAAEAlgATAKsAHgDRAAYA5QAHAO8ACAD5ACIALAEIADYBFwBQAQAAUgECAFgBAABnAQkAcgEFAHwBBwCFAQUAjwEAAJQBAACYAQMAoQEOALEBAAC0AQMAuQEAAOABAwDvAQAA9wEZABICAAAUAhoAPwIIAEoCAQBPAg8AYQIGAIICAACFAh8ArAIFALQCAAC3AgMA0QIDANwCGwD+AgsACwMgADADEQBDAw0AZwMBAGoDCwCHAwEAjQMBAJkDAACoAy0A2AMNAA==","P":[[8,"T"],[17,""],[20,"T"],[23,""],[28,"K"],[30,""],[36,"T"],[44,"__D"],[47,""],[55,"K"],[64,""],[70,"T"],[74,"I,"],[75,""],[82,"U"],[86,""],[98,"__S"],[103,""],[104,"T"],[107,""],[109,"U,T"],[113,"U"],[117,""],[123,"V"],[146,""],[148,"S"],[149,"T"],[163,""],[165,"T"],[167,""],[170,"T"],[184,""],[201,"T"],[208,""],[216,"U"],[223,""],[227,""],[228,"Sink::Error"],[232,"Stream::Item"],[234,"Sink::Error"],[236,""],[238,"D,C,MW,Item,S"],[242,"D,C,MW,S"],[246,""],[248,"Sink::Error"],[250,"T"],[252,""],[253,"U,T"],[260,"U"],[267,"S"],[269,""],[276,"V"],[299,""],[302,"T"],[308,""],[312,"T"],[315,""],[319,"T"],[325,""],[333,"T"],[335,""],[336,"T"],[337,""],[340,"U"],[343,"IntoIterator::IntoIter"],[344,""],[350,""],[354,""],[355,""],[358,"T"],[361,""],[362,"U,T"],[365,"U"],[368,""],[372,"V"],[375,""],[380,"T"],[382,""],[383,"T"],[384,""],[385,"T"],[388,""],[390,"K"],[393,""],[394,"T"],[395,""],[399,"U"],[400,""],[403,"T"],[404,""],[407,"U,T"],[408,"U"],[409,""],[410,"V"],[416,""],[417,"T"],[419,""],[420,"T"],[421,""],[423,"T"],[425,""],[427,"K"],[430,""],[431,"T"],[432,""],[433,"U"],[434,""],[435,"T"],[436,"U,T"],[437,"U"],[438,""],[440,"V"],[445,""],[502,"T"],[514,""],[518,"T"],[522,""],[527,"K"],[528,""],[531,"T"],[534,""],[535,"T"],[544,""],[552,"K"],[558,""],[583,"T"],[585,""],[587,"T"],[590,""],[606,"T"],[607,""],[608,"__H"],[609,""],[615,"U"],[621,""],[644,"T"],[648,""],[651,"U,T"],[652,""],[653,"U,T"],[658,"U"],[664,""],[670,"V"],[683,"T"],[687,""],[689,"T"],[690,""],[692,"U"],[693,""],[694,"U,T"],[695,"U"],[696,""],[697,"V"],[720,""],[731,"T"],[763,""],[769,"T"],[773,""],[780,"EC,EA"],[781,""],[782,"T"],[784,"Loader,Deref::Target"],[785,"T"],[815,""],[830,"K"],[834,""],[836,"Loader"],[837,"EC,EA"],[839,""],[843,"EC,EA"],[844,""],[846,"EC,EA"],[847,""],[849,"T"],[864,""],[872,"Loader"],[873,""],[885,"U"],[901,""],[918,"Loader"],[928,""],[929,"EC,EA"],[931,""],[935,"T"],[939,"U,T"],[953,"U"],[967,""],[983,"V"],[1000,""]]}]]')); if (typeof exports !== 'undefined') exports.searchIndex = searchIndex; else if (window.initSearch) window.initSearch(searchIndex); -//{"start":39,"fragment_lengths":[500,60528,8422,6257,9917,5745,23579]} \ No newline at end of file +//{"start":39,"fragment_lengths":[500,59153,8422,6257,9917,5892,27579]} \ No newline at end of file diff --git a/pr/2937/docs/search.desc/iroh/iroh-desc-0-.js b/pr/2937/docs/search.desc/iroh/iroh-desc-0-.js index 98c82102f1..b9c417f5ec 100644 --- a/pr/2937/docs/search.desc/iroh/iroh-desc-0-.js +++ b/pr/2937/docs/search.desc/iroh/iroh-desc-0-.js @@ -1 +1 @@ -searchState.loadedDescShard("iroh", 0, "Peer-to-peer QUIC connections.\nError when decoding.\nThe encoded information had the wrong length.\nError when decoding the public key.\nError when deserialising a PublicKey or a SecretKey.\nThe length of an ed25519 PublicKey, in bytes.\nNetwork-level addressing information for an iroh node.\nThe identifier for a node in the (iroh) network.\nA public key.\nConfiguration of all the relay servers that can be used.\nInformation on a specific relay server.\nA URL identifying a relay server.\nCan occur when parsing a string into a RelayUrl.\nA secret key.\nGet this public key as a byte array.\nIs this a known node?\nCreates a new RelayMap with a single relay server …\nDefault values used in iroh\nReturns the direct addresses of this peer.\nSocket addresses where the peer might be reached directly.\nNode address discovery.\nThis module exports a DNS resolver, which is also the …\nCreate an empty relay map.\nThe Endpoint allows establishing connections to other iroh …\nConvert to a hex string limited to the first 5 bytes for a …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the addressing info from given ticket.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstruct a PublicKey from a slice of bytes.\nCreate a secret key from its byte representation.\nConstructs the RelayMap from an iterator of RelayNodes.\nCreates a new NodeAddr from its parts.\nReturns a RelayMap from a RelayUrl.\nGenerate a new SecretKey with a randomness generator.\nGet the given node.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nReturns true, if only a NodeId is present.\nAre there any nodes in this map?\nHow many nodes are known?\nCo-locating all of the iroh metrics structs\nCreates a new NodeAddr with no relay_url and no …\nThe node’s identifier.\nReturns an Iterator over all known nodes.\nTools for spawning an accept loop that routes incoming …\nReturns the VerifyingKey for this PublicKey.\nThe public key of this SecretKey.\nConfiguration to speak to the QUIC endpoint on the relay …\nReturns the relay url of this peer.\nThe node’s home relay url.\nReturns the SigningKey for this SecretKey.\nSerializes the public key as PEM\nSerializes the secret key as PEM\nSign the given message and return a digital signature\nWhether this relay server should only be used for STUN …\nThe stun port of the relay server.\nInternal utilities to support testing.\nConvert this to the bytes representing the secret part. …\nThe RelayUrl where this relay server can be dialed.\nReturns the sorted relay URLs.\nVerify a signature on a message with this secret key’s …\nWatchable values.\nAdds the given direct addresses.\nAdds a relay url.\nThe default HTTPS port used by the Relay server.\nThe default HTTP port used by the Relay server.\nThe default metrics port used by the Relay server.\nThe default QUIC port used by the Relay server to accept …\nThe default STUN port used by the Relay server.\nProduction configuration.\nStaging configuration.\nHostname of the default Asia-Pacific relay.\nHostname of the default EU relay.\nHostname of the default NA relay.\nGet the default RelayNode for Asia-Pacific\nGet the default RelayNode for EU.\nGet the default RelayNode for NA.\nGet the default RelayMap.\nHostname of the default EU relay.\nHostname of the default NA relay.\nGet the default RelayNode for EU.\nGet the default RelayNode for NA.\nGet the default RelayMap.\nA discovery service that combines multiple discovery …\nNode discovery for super::Endpoint.\nThe results returned from Discovery::resolve.\nAdds a Discovery service.\nDNS node discovery for iroh\nCreates an empty ConcurrentDiscovery.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreates a new ConcurrentDiscovery.\nCalls U::from(self).\nCalls U::from(self).\nOptional timestamp when this node address info was last …\nA discovery service that uses an mdns-like service to …\nThe NodeId whose address we have discovered\nA discovery service which publishes and resolves node …\nA static string to identify the discovery source.\nPublishes the given RelayUrl and direct addreesses to the …\nResolves the DiscoveryItem for the given NodeId.\nA static node discovery to manually add node addressing …\nSubscribe to all addresses that get passively discovered.\nDNS node discovery\nThe n0 testing DNS node origin, for production.\nThe n0 testing DNS node origin, for testing.\nReturns the argument unchanged.\nCalls U::from(self).\nCreates a new DNS discovery using the iroh.link domain.\nCreates a new DNS discovery.\nDiscovery using swarm-discovery, a variation on mdns\nName of this discovery service.\nReturns the argument unchanged.\nCalls U::from(self).\nCreate a new LocalSwarmDiscovery Service.\nDefault TTL for the records in the pkarr signed packet.\nInterval in which to republish the node info even if …\nThe production pkarr relay run by number 0.\nThe testing pkarr relay run by number 0.\nPublisher of node discovery information to a pkarr relay.\nA pkarr client to publish pkarr::SignedPackets to a pkarr …\nResolver of node discovery information from a pkarr relay.\nPkarr based node discovery for iroh, supporting both relay …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCreates a pkarr publisher which uses the number 0 pkarr …\nCreates a pkarr resolver which uses the number 0 pkarr …\nCreates a new publisher for the SecretKey.\nCreates a new publisher using the pkarr relay server at …\nCreates a new client.\nPublishes a SignedPacket.\nResolves a SignedPacket for the given NodeId.\nPublishes the addressing information about this node to a …\nCreates a new PkarrPublisher with a custom TTL and …\nBuilder for DhtDiscovery.\nPkarr Mainline DHT and relay server node discovery.\nBuilds the discovery mechanism.\nCreates a new builder for DhtDiscovery.\nExplicitly sets the pkarr client to use.\nSets whether to publish to the Mainline DHT.\nReturns the argument unchanged.\nReturns the argument unchanged.\nSets whether to include the direct addresses in the DNS …\nSets the initial delay before the first publish.\nCalls U::from(self).\nCalls U::from(self).\nUses the default number 0 pkarr relay URL.\nSets the pkarr relay URL to use.\nSets the republish delay for the DHT.\nSets the secret key to use for signing the DNS packets.\nSets the time-to-live value for the DNS packets.\nThe provenance string for this discovery implementation.\nA static node discovery to manually add node addressing …\nAugments node addressing information for the given node ID.\nReturns the argument unchanged.\nCreates a static discovery instance from node addresses.\nReturns node addressing information for the given node ID.\nCalls U::from(self).\nCreates a new static discovery instance.\nRemoves all node addressing information for the given node …\nSets node addressing information for the given node ID.\nThe DNS resolver type used throughout iroh.\nExtension trait to DnsResolver.\nGet a reference to the default DNS resolver.\nLooks up node info by NodeId and origin domain name.\nLooks up node info by NodeId and origin domain name.\nLooks up node info by NodeId and origin domain name.\nLooks up node info by NodeId and origin domain name.\nLooks up node info by DNS name.\nLooks up node info by DNS name.\nLooks up node info by DNS name in a staggered fashion.\nLooks up node info by DNS name in a staggered fashion.\nPerform an ipv4 lookup with a timeout.\nRace an ipv4 and ipv6 lookup with a timeout.\nResolve IPv4 and IPv6 in parallel.\nRace an ipv4 and ipv6 lookup with a timeout in a staggered …\nRace an ipv4 and ipv6 lookup with a timeout in a staggered …\nPerform an ipv4 lookup with a timeout in a staggered …\nPerform an ipv4 lookup with a timeout in a staggered …\nPerform an ipv6 lookup with a timeout.\nPerform an ipv6 lookup with a timeout in a staggered …\nPerform an ipv6 lookup with a timeout in a staggered …\nSupport for handling DNS resource records for dialing by …\nGet the DNS resolver used within iroh.\nDirect address.\nThe DNS name for the iroh TXT record.\nThe attributes supported by iroh for IROH_TXT_NAME DNS …\nInformation about the iroh node contained in an …\nURL of home relay.\nAttributes parsed from IROH_TXT_NAME TXT records.\nReturns the parsed attributes.\nAny direct addresses.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nParses a NodeInfo from a TXT records lookup.\nParses a TXT records lookup.\nCreates TxtAttrs from a node id and an iterator of …\nParses a NodeInfo from a pkarr::SignedPacket.\nParses a pkarr::SignedPacket.\nCreates TxtAttrs from a node id and an iterator of “…\nParses a NodeId from [z-base-32] encoding.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nLooks up attributes by NodeId and origin domain.\nLooks up attributes by DNS name.\nCreates a new NodeInfo from its parts.\nReturns the node id.\nThe NodeId.\nThe advertised home relay server.\nConverts into a hickory_resolver::proto::rr::Record DNS …\nConverts to a list of hickory_resolver::proto::rr::Record …\nCreates a pkarr::SignedPacket.\nCreates a pkarr::SignedPacket\nEncodes a NodeId in [z-base-32] encoding.\nthe endpoint has reached the confidentiality or integrity …\nthe application or application protocol caused the …\nFuture produced by Endpoint::accept.\nFuture produced by Connection::accept_bi\nFuture produced by Connection::accept_uni\nParameters for controlling the peer’s acknowledgement …\nA key for sealing data with AEAD-based algorithms\nUses all available paths\nApplication layer added the address directly.\nReason given by an application for closing the connection\nThe peer closed the connection\nBuilder for Endpoint.\nthe number of connection IDs provided by the peer exceeds …\nthe server refused to accept a new connection\nreceived more data in CRYPTO frames than can be buffered\nWe received a CallMeMaybe.\nA chunk of data from the receive stream\nThe connection could not be created because not enough of …\nError indicating that a stream has not been opened or has …\nThe stream has already been stopped, finished, or reset\nThe stream has already been finished or reset\nIn-progress connection attempt future\nA QUIC connection.\nReason given by the transport for closing the connection\nThe peer’s QUIC stack aborted the connection …\nReasons why a connection might be lost\nThe connection was lost\nThe connection was lost\nThe connection was lost\nThe connection was lost\nThe connection was lost\nConnection statistics\nThe type of connection we have to the endpoint.\nThe type of control message we have received.\nCommon interface for different congestion controllers\nConstructs controllers on demand\nGeneric crypto errors\nServer-side configuration for the crypto protocol\nUse a custom relay map.\nUse the default relay map, with production relay servers …\nDirect UDP connection\nA direct address on which an iroh-node might be …\nInformation about a direct address.\nThe type of direct address.\nDatagram support is disabled locally\nDisable relay servers completely.\nThe address was discovered by a discovery service.\nEnvironment variable to force the use of staging relays.\nControls an iroh node, establishing connections with other …\nError returned by Session::export_keying_material.\nreceived a STREAM frame or a RESET_STREAM frame containing …\nreceived more data than permitted in advertised data limits\nreceived a frame that was badly formatted\nThe stream finished before all bytes were read\nNumber of frames transmitted of each frame type\nA pseudo random key for HKDF\nthe endpoint encountered an internal error and cannot …\nreceived an invalid Retry Token in a client Initial\nAttempted an ordered read following an unordered read\nAn incoming connection for which the server has not yet …\nAdaptor to let Incoming be awaited like a Connecting.\nkey update error\nA locally bound socket address.\nThe local application closed the connection\nThe largest representable value\nThe largest encoded value length\nBoth a UDP and a relay connection are used.\nParameters governing MTU discovery.\nthe connection is being closed abruptly in the absence of …\nno viable network path exists\nApplication layer with a specific name added the node …\nWe have no verified connection to this PublicKey\nFuture produced by Connection::open_bi\nFuture produced by Connection::open_uni\ndetected an error with protocol compliance that was not …\nDefines the mode of path selection for all traffic flowing …\nStatistics related to a transmission path\nWe received a Ping from the node.\nWe received a Pong from the node.\nAn address assigned by the router using port mapping.\nAn error occurred during reading\nFuture produced by Connection::read_datagram\nErrors that arise from reading from a stream.\nA read error occurred\nErrors that arise from reading from a stream.\nErrors from RecvStream::read_to_end\nA stream that can only be used to receive data\nRelay connection over relay\nA node communicated with us first via relay.\nConfiguration of the relay servers for an Endpoint.\nForces all traffic to go exclusively through relays\nDetails about a remote iroh node which is known to this …\nThe peer abandoned transmitting data on this stream\nThe peer is unable to continue processing this connection, …\nErrors that arise while waiting for a stream to be reset\nError for attempting to retry an Incoming which already …\nreceived a frame for a stream identifier that exceeded …\nreceived a frame for a stream that was not in a state that …\nAddress was loaded from the fs.\nErrors that can arise when sending a datagram\nA stream that can only be used to send data\nParameters governing incoming connections\nThe origin or source through which an address associated …\nUse the staging relay servers from n0.\nThe peer is no longer accepting data on this stream\nErrors that arise while monitoring for a send stream stop …\nIdentifier for a stream within a particular connection\nPublic internet address discovered via STUN.\nHard NAT: STUN’ed IPv4 address + local fixed port.\nreceived transport parameters that were badly formatted, …\nCommunication with the peer has lapsed for longer than the …\nThe datagram is larger than the connection can currently …\nThe stream is larger than the user-supplied limit\nParameters governing the core QUIC state machine\nTransport-level errors occur when a peer violates the …\nThe peer violated the QUIC specification as understood by …\nTransport-level error code\nA node communicated with us first via UDP.\nStatistics about UDP datagrams transmitted or received on …\nNot yet determined..\nThe peer does not support receiving datagram frames\nError indicating that the specified QUIC version is not …\nAn integer less than 2^62\nThe peer doesn’t implement any supported version\nA handle to some connection internals, use with care.\nErrors that arise from writing to a stream\nIndicates how many bytes and chunks had been transferred …\nFuture that completes when a connection is fully …\nThis was a 0-RTT stream and the server rejected it\nThis was a 0-RTT stream and the server rejected it\nThis was a 0-RTT stream and the server rejected it\nThis was a 0-RTT stream and the server rejected it\nAccepts an incoming connection on the endpoint.\nAttempts to accept this incoming connection (an error may …\nAccept the next incoming bidirectional stream.\nAccepts the next incoming uni-directional stream.\nAccepts this incoming connection using a custom …\nThe ack-eliciting threshold we will request the peer to use\nSpecifies the ACK frequency config (see AckFrequencyConfig …\nAdds a discovery mechanism for this endpoint.\nInforms this Endpoint about addresses of the iroh node.\nInforms this Endpoint about addresses of the iroh node, …\nThe UDP address reported by the remote node.\nThe address.\nThe addresses at which this node might be reachable.\nDerive AEAD using hkdf\nWhether the implementation is permitted to set the spin …\nExtracts the ALPN protocol from the peer’s handshake …\nExtracts the ALPN protocol from the peer’s handshake …\nSets the ALPN protocols that this endpoint will accept on …\nBinds the magic endpoint.\nSets the IPv4 bind address.\nSets the IPv6 bind address.\nSpecifies the amount of time that MTU discovery should …\nThe number of times a black hole was detected in the path\nReturns the local socket addresses on which the underlying …\nConstruct a fresh Controller\nReturns the builder for an Endpoint, with a production …\nThe contents of the chunk\nThe total amount of bytes which have been transferred …\nThe amount of bytes which had been written\nThe amount of full chunks which had been written\nRemoves all discovery services from the builder.\nDuplicate the controller’s state\nCloses the QUIC endpoint and the magic socket.\nCloses the connection immediately.\nIf the connection is closed, the reason why.\nWait for the connection to be closed for any reason.\nType of error\nHow to construct new congestion::Controllers\nCongestion events on the connection\nCurrent state of the congestion control algorithm, for …\nReturns a Watcher that reports the current connection type …\nThe type of connection we have to the node, either direct …\nConnects to a remote Endpoint.\nConnects to a remote Endpoint using a custom …\nCreate QUIC error code from TLS alert code\nTLS configuration used for incoming connections\nMaximum quantity of out-of-order crypto layer data to …\nLargest UDP payload size the path currently supports\nCurrent congestion window of the connection\nMaximum number of incoming application datagram bytes to …\nMaximum number of outgoing application datagram bytes to …\nBytes available in the outgoing datagram buffer.\nThe amount of UDP datagrams observed\nReturns the default relay mode.\nWhich directions data flows in\nReturns a Watcher for the direct addresses of this Endpoint…\nOptionally sets a discovery mechanism for this endpoint.\nReturns the discovery mechanism, if configured.\nConfigures the endpoint to also use the mainline DHT with …\nConfigures the endpoint to also use local network …\nConfigures the endpoint to use the default n0 DNS …\nOptionally sets a custom DNS resolver to use for this …\nReturns the DNS resolver used in this Endpoint.\nWhether to use “Generic Segmentation Offload” to …\nClass of error as encoded in the specification\nApplication-specific reason code\nDerives keying material from this connection’s TLS …\nNotify the peer that no more data will ever be written to …\nReturns true if the use of staging relays is forced.\nFrame type that triggered the error\nStatistics about frames received on a connection\nStatistics about frames transmitted on a connection\nType of frame that caused the close\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstruct a VarInt infallibly\nSucceeds iff x < 2^62\nCreate a VarInt without ensuring it’s in range\nParameters negotiated during the handshake\nParameters negotiated during the handshake.\nWhether there is a possible known network path to the …\nReturns a Watcher for the RelayUrl of the Relay server …\nGet the identity of this stream\nGet the identity of this stream\nIgnores this incoming connection attempt, not sending any …\nMaximum number of received bytes to buffer for each …\nMaximum number of received bytes to buffer for all Incoming\nDistinguishes streams of the same initiator and …\nCreate the initial set of keys given the client’s …\nThe initial value to be used as the maximum UDP payload …\nThe RTT used before an RTT sample is taken\nInitial congestion window\nWhich side of a connection initiated the stream\nSkip verification of SSL certificates from relay servers\nSpecifies the time to wait after completing MTU discovery …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nConvert into a 0-RTT or 0.5-RTT connection at the cost of …\nReturns Self for use in down-casting to extract …\nGet the Incoming\nExtract the integer value\nThe amount of I/O operations executed\nCheck if this stream has been opened during 0-RTT.\nReturns true if the Connection associated with this handle …\nCheck if this endpoint is still alive, or already closed.\nPeriod of inactivity before sending a keep-alive packet\nEnables saving the TLS pre-master key for connections.\nOptionally set a list of known nodes.\nElapsed time since this network path was known to exist.\nLast control message received by this node about this …\nElapsed time since the last payload message was received …\nGet the duration since the last activity we received from …\nTime elapsed time since last we have sent to or received …\nThe latency to the remote node over this network path.\nThe latency of the current network path to the remote node.\nReturns the local IP address which was used when the peer …\nThe amount of bytes lost on this path\nThe amount of packets lost on this path\nThe amount of PLPMTUD probe packets lost on this path …\nCreates a ServerConfig with the given secret key and …\nThe max_ack_delay we will request the peer to use\nMaximum number of incoming bidirectional streams that may …\nVariant of max_concurrent_bidi_streams affecting …\nComputes the maximum size of datagrams that may be passed …\nMaximum duration of inactivity to accept before timing out …\nMaximum number of Incoming to allow to exist at a time\nWhether to allow clients to migrate to new addresses\nThe maximum UDP payload size guaranteed to be supported by …\nSpecifies the minimum MTU change to stop the MTU discovery …\nSpecifies the MTU discovery config (see MtuDiscoveryConfig …\nNotifies the system of potential network changes.\nResets path-specific state.\nCreate a default config with a particular handshake token …\nCreate a new StreamId\nReturns the current NodeAddr for this endpoint.\nReturns the node id of this endpoint.\nThe globally unique identifier for this node.\nThe offset in the stream\nPacket deliveries were confirmed\nPackets were deemed lost or marked congested\nPackets are acked in batches, all with the same now …\nThe known MTU for the current network path has been updated\nOne or more packets were just sent\nMethod for opening a sealed message data\nInitiates a new outgoing bidirectional stream.\nInitiates a new outgoing unidirectional stream.\nMaximum reordering in packet number space before FACK …\nStatistics related to the current transmission path\nThis implies we only use the relay to communicate and do …\nCryptographic identity of the peer.\nNumber of consecutive PTOs after which network is …\nAttempts to read from the stream into buf.\nAttempt to write bytes from buf into the stream.\nThe preferred IPv4 address that will be communicated to …\nThe preferred IPv6 address that will be communicated to …\nGet the priority of the send stream\nSets the proxy url from the environment, in this order:\nSets an explicit proxy url to proxy all HTTP(S) traffic …\nRead data contiguously from the stream.\nRead the next segment of data\nRead the next segments of data\nReceives an application datagram.\nRead an exact number of bytes contiguously from the stream.\nConvenience method to read all remaining data into a buffer\nHuman-readable reason for the close\nHuman-readable reason for the close\nHuman-readable explanation of the reason\nWhether to receive observed address reports from other …\nMaximum number of bytes the peer may transmit across all …\nCompletes when the stream has been reset by the peer or …\nRejects this incoming connection attempt.\nReturns the relay map for this mode.\nSets the relay servers to assist in establishing …\nRelay server information, if available.\nReturns the peer’s UDP address.\nWhether the socket address that is initiating this …\nReturns information about the remote node identified by a …\nReturns information about all the remote nodes this …\nReturns the NodeId from the peer’s TLS certificate.\nThe reordering threshold we will request the peer to use\nClose the send stream immediately.\nResponds with a retry packet.\nGenerate the integrity tag for a retry packet\nDuration after a retry token was issued for which it’s …\nCurrent best estimate of this connection’s latency …\nCurrent best estimate of this connection’s latency …\nSaturating integer addition. Computes self + rhs, …\nMethod for sealing message data\nSets a secret key to authenticate with other peers.\nReturns the secret_key of this endpoint.\nTransmits data as an unreliable, unordered application …\nWhether to implement fair queuing for send streams having …\nWhether to send observed address reports to peers.\nMaximum number of bytes to transmit to a peer without …\nThe amount of packets sent on this path\nThe amount of PLPMTUD probe packets sent on this path …\nSets the list of accepted ALPN protocols.\nModifies the number of bidirectional streams that may be …\nModifies the number of unidirectional streams that may be …\nSet the priority of the send stream\nSee quinn_proto::TransportConfig::receive_window.\nReturns a deduplicated list of Sources merged from all …\nA HashMap of Sources to Durations.\nA stable identifier for this connection.\nStart a server session with this configuration\nReturns connection statistics.\nStop accepting data\nCompletes when the peer stops the stream or reads the …\nMaximum number of bytes the peer may transmit without …\nObject to get current SystemTime\nMaximum reordering in time space before time based loss …\nUse TLS Raw Public Keys\nUse libp2p based self signed certificates for TLS.\nPrivate key used to authenticate data included in …\nTransport configuration to use for incoming connections\nSet a custom TransportConfig\nSets a custom quinn::TransportConfig for this endpoint.\nSucceeds iff x < 2^62\nSucceeds iff x < 2^62\nSucceeds iff x < 2^62\nThe origin of this direct address.\nStatistics about UDP datagrams received on a connection\nStatistics about UDP datagrams transmitted on a connection\nSpecifies the upper bound to the max UDP payload size that …\nConfiguration for sending and handling validation tokens\nSet a custom ValidationTokenConfig\nNumber of ack-eliciting bytes that may be in flight\nCreate a server config with the given crypto::ServerConfig\nCreate a server config with the given certificate chain to …\nWrite bytes to the stream\nConvenience method to write an entire buffer to the stream\nConvenience method to write an entire list of chunks to …\nConvenience method to write a single chunk in its entirety …\nWrite chunks to the stream\nThe name of the discovery service that discovered the …\nThe name of the application that added the node\nEnum of metrics for the module\nEnum of metrics for the module\nEnum of metrics for the module\nMetrics tracked for the relay server\nNumber of connections we have accepted\nBytes received from a FrameType::SendPacket\nBytes sent from a FrameType::SendPacket\nNumber of connections with a successful handshake that …\nNumber of connections with a successful handshake.\nNumber of client connections which have had any frames …\nFrameType::SendPacket dropped that are disco messages\nFrameType::SendPacket received that are disco messages\nFrameType::SendPacket sent that are disco messages\nNumber of connections we have removed because of an error\nNumber of frames received from client connection which …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nNumber of FrameType::Pings received\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nNumber of nodes we have attempted to contact.\nNumber of nodes we have managed to contact directly.\nThe number of direct connections we have made to peers.\nThe number of direct connections we have lost to peers.\nThe number of connections to peers we have added over …\nThe number of connections to peers we have removed over …\nPackets of other FrameTypes dropped\nPackets of other FrameTypes received\nPackets of other FrameTypes sent\nNumber of QUIC datagrams received.\nNumber of datagrams received using GRO\nNumber of accepted ‘iroh derp http’ connection upgrades\nFrameType::SendPacket dropped, that are not disco messages\nFrameType::SendPacket received, that are not disco messages\nFrameType::SendPacket sent, that are not disco messages\nNumber of FrameType::Pongs sent\nNumber of unique client keys per day\nNumber of FrameType::Unknown received\nNumber of accepted websocket connections\nHandler for incoming connections.\nThe built router.\nBuilder for creating a Router for accepting protocols.\nHandle an incoming connection.\nConfigures the router to accept the ProtocolHandler when …\nCreates a new Router using given Endpoint.\nReturns the Endpoint stored in this router.\nReturns the Endpoint of the node.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nChecks if the router is already shutdown.\nCreates a new router builder using given Endpoint.\nCalled when the node shuts down.\nShuts down the accept loop cleanly.\nSpawns an accept loop and returns a handle to it …\nA drop guard to clean up test infrastructure.\nHandle and drop guard for test DNS and Pkarr servers.\nCreate a DNS resolver with a single nameserver.\nCreate a ConcurrentDiscovery with DnsDiscovery and …\nCreate a DnsResolver configured to use the test DNS server.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nThe socket address of the DNS server.\nThe node origin domain.\nWait until a Pkarr announce for a node is published to the …\nThe HTTP URL of the Pkarr server.\nRun DNS and Pkarr servers on localhost.\nRuns a relay server with STUN and QUIC enabled suitable …\nRuns a relay server.\nRuns a relay server with STUN enabled suitable for tests.\nRun DNS and Pkarr servers on localhost with the specified …\nThe error for when a Watcher is disconnected from its …\nFuture returning the current or next value that’s Some …\nFuture returning the next item after the current one in a …\nA wrapper around a value that notifies Watchers when the …\nAn observer for a value.\nA stream for a Watcher’s next values.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the currently stored value.\nReturns the currently held value.\nReturns a future completing once the value is set to Some …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCreates a Watchable initialized to given value.\nSets a new value.\nReturns a stream which will yield the most recent values …\nReturns a stream which will yield the most recent values …\nReturns a future completing with Ok(value) once a new …\nCreates a Watcher allowing the value to be observed, but …") \ No newline at end of file +searchState.loadedDescShard("iroh", 0, "Peer-to-peer QUIC connections.\nError when decoding.\nThe encoded information had the wrong length.\nError when decoding the public key.\nError when deserialising a PublicKey or a SecretKey.\nThe length of an ed25519 PublicKey, in bytes.\nNetwork-level addressing information for an iroh node.\nThe identifier for a node in the (iroh) network.\nA public key.\nConfiguration of all the relay servers that can be used.\nInformation on a specific relay server.\nA URL identifying a relay server.\nCan occur when parsing a string into a RelayUrl.\nA secret key.\nGet this public key as a byte array.\nIs this a known node?\nCreates a new RelayMap with a single relay server …\nDefault values used in iroh\nReturns the direct addresses of this peer.\nSocket addresses where the peer might be reached directly.\nNode address discovery.\nThis module exports a DNS resolver, which is also the …\nCreate an empty relay map.\nThe Endpoint allows establishing connections to other iroh …\nConvert to a hex string limited to the first 5 bytes for a …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the addressing info from given ticket.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstruct a PublicKey from a slice of bytes.\nCreate a secret key from its byte representation.\nConstructs the RelayMap from an iterator of RelayNodes.\nCreates a new NodeAddr from its parts.\nReturns a RelayMap from a RelayUrl.\nGenerate a new SecretKey with a randomness generator.\nGet the given node.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nReturns true, if only a NodeId is present.\nAre there any nodes in this map?\nHow many nodes are known?\nCo-locating all of the iroh metrics structs\nCreates a new NodeAddr with no relay_url and no …\nThe node’s identifier.\nReturns an Iterator over all known nodes.\nTools for spawning an accept loop that routes incoming …\nReturns the VerifyingKey for this PublicKey.\nThe public key of this SecretKey.\nConfiguration to speak to the QUIC endpoint on the relay …\nReturns the relay url of this peer.\nThe node’s home relay url.\nReturns the SigningKey for this SecretKey.\nSerializes the public key as PEM\nSerializes the secret key as PEM\nSign the given message and return a digital signature\nWhether this relay server should only be used for STUN …\nThe stun port of the relay server.\nInternal utilities to support testing.\nConvert this to the bytes representing the secret part. …\nThe RelayUrl where this relay server can be dialed.\nReturns the sorted relay URLs.\nVerify a signature on a message with this secret key’s …\nWatchable values.\nAdds the given direct addresses.\nAdds a relay url.\nThe default HTTPS port used by the Relay server.\nThe default HTTP port used by the Relay server.\nThe default metrics port used by the Relay server.\nThe default QUIC port used by the Relay server to accept …\nThe default STUN port used by the Relay server.\nProduction configuration.\nStaging configuration.\nHostname of the default Asia-Pacific relay.\nHostname of the default EU relay.\nHostname of the default NA relay.\nGet the default RelayNode for Asia-Pacific\nGet the default RelayNode for EU.\nGet the default RelayNode for NA.\nGet the default RelayMap.\nHostname of the default EU relay.\nHostname of the default NA relay.\nGet the default RelayNode for EU.\nGet the default RelayNode for NA.\nGet the default RelayMap.\nA discovery service that combines multiple discovery …\nNode discovery for super::Endpoint.\nThe results returned from Discovery::resolve.\nAdds a Discovery service.\nDNS node discovery for iroh\nCreates an empty ConcurrentDiscovery.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreates a new ConcurrentDiscovery.\nCalls U::from(self).\nCalls U::from(self).\nOptional timestamp when this node address info was last …\nA discovery service that uses an mdns-like service to …\nThe NodeId whose address we have discovered\nA discovery service which publishes and resolves node …\nA static string to identify the discovery source.\nPublishes the given RelayUrl and direct addreesses to the …\nResolves the DiscoveryItem for the given NodeId.\nA static node discovery to manually add node addressing …\nSubscribe to all addresses that get passively discovered.\nDNS node discovery\nThe n0 testing DNS node origin, for production.\nThe n0 testing DNS node origin, for testing.\nReturns the argument unchanged.\nCalls U::from(self).\nCreates a new DNS discovery using the iroh.link domain.\nCreates a new DNS discovery.\nDiscovery using swarm-discovery, a variation on mdns\nName of this discovery service.\nReturns the argument unchanged.\nCalls U::from(self).\nCreate a new LocalSwarmDiscovery Service.\nDefault TTL for the records in the pkarr signed packet.\nInterval in which to republish the node info even if …\nThe production pkarr relay run by number 0.\nThe testing pkarr relay run by number 0.\nPublisher of node discovery information to a pkarr relay.\nA pkarr client to publish pkarr::SignedPackets to a pkarr …\nResolver of node discovery information from a pkarr relay.\nPkarr based node discovery for iroh, supporting both relay …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCreates a pkarr publisher which uses the number 0 pkarr …\nCreates a pkarr resolver which uses the number 0 pkarr …\nCreates a new publisher for the SecretKey.\nCreates a new publisher using the pkarr relay server at …\nCreates a new client.\nPublishes a SignedPacket.\nResolves a SignedPacket for the given NodeId.\nPublishes the addressing information about this node to a …\nCreates a new PkarrPublisher with a custom TTL and …\nBuilder for DhtDiscovery.\nPkarr Mainline DHT and relay server node discovery.\nBuilds the discovery mechanism.\nCreates a new builder for DhtDiscovery.\nExplicitly sets the pkarr client to use.\nSets whether to publish to the Mainline DHT.\nReturns the argument unchanged.\nReturns the argument unchanged.\nSets whether to include the direct addresses in the DNS …\nSets the initial delay before the first publish.\nCalls U::from(self).\nCalls U::from(self).\nUses the default number 0 pkarr relay URL.\nSets the pkarr relay URL to use.\nSets the republish delay for the DHT.\nSets the secret key to use for signing the DNS packets.\nSets the time-to-live value for the DNS packets.\nThe provenance string for this discovery implementation.\nA static node discovery to manually add node addressing …\nAugments node addressing information for the given node ID.\nReturns the argument unchanged.\nCreates a static discovery instance from node addresses.\nReturns node addressing information for the given node ID.\nCalls U::from(self).\nCreates a new static discovery instance.\nRemoves all node addressing information for the given node …\nSets node addressing information for the given node ID.\nThe DNS resolver used throughout iroh.\nThe n0 testing DNS node origin, for production.\nThe n0 testing DNS node origin, for testing.\nRemoves all entries from the cache.\nReturns the argument unchanged.\nCalls U::from(self).\nPerform an ipv4 lookup with a timeout.\nResolve IPv4 and IPv6 in parallel with a timeout.\nRace an ipv4 and ipv6 lookup with a timeout in a staggered …\nPerform an ipv4 lookup with a timeout in a staggered …\nPerform an ipv6 lookup with a timeout.\nPerform an ipv6 lookup with a timeout in a staggered …\nLooks up node info by DNS name.\nLooks up node info by DNS name in a staggered fashion.\nLooks up node info by NodeId and origin domain name.\nLooks up node info by NodeId and origin domain name.\nLookup a TXT record.\nCreate a new DNS resolver with sensible cross-platform …\nSupport for handling DNS resource records for dialing by …\nResolve a hostname from a URL to an IP address.\nCreate a new DNS resolver configured with a single UDP DNS …\nThe DNS name for the iroh TXT record.\nExtension methods for NodeId to encode to and decode from …\nInformation about the iroh node contained in an …\nAny direct addresses.\nReturns the argument unchanged.\nParses a NodeInfo from a pkarr::SignedPacket.\nParses a NodeInfo from a TXT records lookup.\nParses a NodeId from [z-base-32] encoding.\nCalls U::from(self).\nCreates a new NodeInfo from its parts.\nThe NodeId.\nThe advertised home relay server.\nCreates a pkarr::SignedPacket.\nConverts into a list of {key}={value} strings.\nEncodes a NodeId in [z-base-32] encoding.\nthe endpoint has reached the confidentiality or integrity …\nthe application or application protocol caused the …\nFuture produced by Endpoint::accept.\nFuture produced by Connection::accept_bi\nFuture produced by Connection::accept_uni\nParameters for controlling the peer’s acknowledgement …\nA key for sealing data with AEAD-based algorithms\nUses all available paths\nApplication layer added the address directly.\nReason given by an application for closing the connection\nThe peer closed the connection\nBuilder for Endpoint.\nthe number of connection IDs provided by the peer exceeds …\nthe server refused to accept a new connection\nreceived more data in CRYPTO frames than can be buffered\nWe received a CallMeMaybe.\nA chunk of data from the receive stream\nThe connection could not be created because not enough of …\nError indicating that a stream has not been opened or has …\nThe stream has already been stopped, finished, or reset\nThe stream has already been finished or reset\nIn-progress connection attempt future\nA QUIC connection.\nReason given by the transport for closing the connection\nThe peer’s QUIC stack aborted the connection …\nReasons why a connection might be lost\nThe connection was lost\nThe connection was lost\nThe connection was lost\nThe connection was lost\nThe connection was lost\nConnection statistics\nThe type of connection we have to the endpoint.\nThe type of control message we have received.\nCommon interface for different congestion controllers\nConstructs controllers on demand\nGeneric crypto errors\nServer-side configuration for the crypto protocol\nUse a custom relay map.\nUse the default relay map, with production relay servers …\nDirect UDP connection\nA direct address on which an iroh-node might be …\nInformation about a direct address.\nThe type of direct address.\nDatagram support is disabled locally\nDisable relay servers completely.\nThe address was discovered by a discovery service.\nEnvironment variable to force the use of staging relays.\nControls an iroh node, establishing connections with other …\nError returned by Session::export_keying_material.\nreceived a STREAM frame or a RESET_STREAM frame containing …\nreceived more data than permitted in advertised data limits\nreceived a frame that was badly formatted\nThe stream finished before all bytes were read\nNumber of frames transmitted of each frame type\nA pseudo random key for HKDF\nthe endpoint encountered an internal error and cannot …\nreceived an invalid Retry Token in a client Initial\nAttempted an ordered read following an unordered read\nAn incoming connection for which the server has not yet …\nAdaptor to let Incoming be awaited like a Connecting.\nkey update error\nA locally bound socket address.\nThe local application closed the connection\nThe largest representable value\nThe largest encoded value length\nBoth a UDP and a relay connection are used.\nParameters governing MTU discovery.\nthe connection is being closed abruptly in the absence of …\nno viable network path exists\nApplication layer with a specific name added the node …\nWe have no verified connection to this PublicKey\nFuture produced by Connection::open_bi\nFuture produced by Connection::open_uni\ndetected an error with protocol compliance that was not …\nDefines the mode of path selection for all traffic flowing …\nStatistics related to a transmission path\nWe received a Ping from the node.\nWe received a Pong from the node.\nAn address assigned by the router using port mapping.\nAn error occurred during reading\nFuture produced by Connection::read_datagram\nErrors that arise from reading from a stream.\nA read error occurred\nErrors that arise from reading from a stream.\nErrors from RecvStream::read_to_end\nA stream that can only be used to receive data\nRelay connection over relay\nA node communicated with us first via relay.\nConfiguration of the relay servers for an Endpoint.\nForces all traffic to go exclusively through relays\nDetails about a remote iroh node which is known to this …\nThe peer abandoned transmitting data on this stream\nThe peer is unable to continue processing this connection, …\nErrors that arise while waiting for a stream to be reset\nError for attempting to retry an Incoming which already …\nreceived a frame for a stream identifier that exceeded …\nreceived a frame for a stream that was not in a state that …\nAddress was loaded from the fs.\nErrors that can arise when sending a datagram\nA stream that can only be used to send data\nParameters governing incoming connections\nThe origin or source through which an address associated …\nUse the staging relay servers from n0.\nThe peer is no longer accepting data on this stream\nErrors that arise while monitoring for a send stream stop …\nIdentifier for a stream within a particular connection\nPublic internet address discovered via STUN.\nHard NAT: STUN’ed IPv4 address + local fixed port.\nreceived transport parameters that were badly formatted, …\nCommunication with the peer has lapsed for longer than the …\nThe datagram is larger than the connection can currently …\nThe stream is larger than the user-supplied limit\nParameters governing the core QUIC state machine\nTransport-level errors occur when a peer violates the …\nThe peer violated the QUIC specification as understood by …\nTransport-level error code\nA node communicated with us first via UDP.\nStatistics about UDP datagrams transmitted or received on …\nNot yet determined..\nThe peer does not support receiving datagram frames\nError indicating that the specified QUIC version is not …\nAn integer less than 2^62\nThe peer doesn’t implement any supported version\nA handle to some connection internals, use with care.\nErrors that arise from writing to a stream\nIndicates how many bytes and chunks had been transferred …\nFuture that completes when a connection is fully …\nThis was a 0-RTT stream and the server rejected it\nThis was a 0-RTT stream and the server rejected it\nThis was a 0-RTT stream and the server rejected it\nThis was a 0-RTT stream and the server rejected it\nAccepts an incoming connection on the endpoint.\nAttempts to accept this incoming connection (an error may …\nAccept the next incoming bidirectional stream.\nAccepts the next incoming uni-directional stream.\nAccepts this incoming connection using a custom …\nThe ack-eliciting threshold we will request the peer to use\nSpecifies the ACK frequency config (see AckFrequencyConfig …\nAdds a discovery mechanism for this endpoint.\nInforms this Endpoint about addresses of the iroh node.\nInforms this Endpoint about addresses of the iroh node, …\nThe UDP address reported by the remote node.\nThe address.\nThe addresses at which this node might be reachable.\nDerive AEAD using hkdf\nWhether the implementation is permitted to set the spin …\nExtracts the ALPN protocol from the peer’s handshake …\nExtracts the ALPN protocol from the peer’s handshake …\nSets the ALPN protocols that this endpoint will accept on …\nBinds the magic endpoint.\nSets the IPv4 bind address.\nSets the IPv6 bind address.\nSpecifies the amount of time that MTU discovery should …\nThe number of times a black hole was detected in the path\nReturns the local socket addresses on which the underlying …\nConstruct a fresh Controller\nReturns the builder for an Endpoint, with a production …\nThe contents of the chunk\nThe total amount of bytes which have been transferred …\nThe amount of bytes which had been written\nThe amount of full chunks which had been written\nRemoves all discovery services from the builder.\nDuplicate the controller’s state\nCloses the QUIC endpoint and the magic socket.\nCloses the connection immediately.\nIf the connection is closed, the reason why.\nWait for the connection to be closed for any reason.\nType of error\nHow to construct new congestion::Controllers\nCongestion events on the connection\nCurrent state of the congestion control algorithm, for …\nReturns a Watcher that reports the current connection type …\nThe type of connection we have to the node, either direct …\nConnects to a remote Endpoint.\nConnects to a remote Endpoint using a custom …\nCreate QUIC error code from TLS alert code\nTLS configuration used for incoming connections\nMaximum quantity of out-of-order crypto layer data to …\nLargest UDP payload size the path currently supports\nCurrent congestion window of the connection\nMaximum number of incoming application datagram bytes to …\nMaximum number of outgoing application datagram bytes to …\nBytes available in the outgoing datagram buffer.\nThe amount of UDP datagrams observed\nReturns the default relay mode.\nWhich directions data flows in\nReturns a Watcher for the direct addresses of this Endpoint…\nOptionally sets a discovery mechanism for this endpoint.\nReturns the discovery mechanism, if configured.\nConfigures the endpoint to also use the mainline DHT with …\nConfigures the endpoint to also use local network …\nConfigures the endpoint to use the default n0 DNS …\nOptionally sets a custom DNS resolver to use for this …\nReturns the DNS resolver used in this Endpoint.\nWhether to use “Generic Segmentation Offload” to …\nClass of error as encoded in the specification\nApplication-specific reason code\nDerives keying material from this connection’s TLS …\nNotify the peer that no more data will ever be written to …\nReturns true if the use of staging relays is forced.\nFrame type that triggered the error\nStatistics about frames received on a connection\nStatistics about frames transmitted on a connection\nType of frame that caused the close\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstruct a VarInt infallibly\nSucceeds iff x < 2^62\nCreate a VarInt without ensuring it’s in range\nParameters negotiated during the handshake\nParameters negotiated during the handshake.\nWhether there is a possible known network path to the …\nReturns a Watcher for the RelayUrl of the Relay server …\nGet the identity of this stream\nGet the identity of this stream\nIgnores this incoming connection attempt, not sending any …\nMaximum number of received bytes to buffer for each …\nMaximum number of received bytes to buffer for all Incoming\nDistinguishes streams of the same initiator and …\nCreate the initial set of keys given the client’s …\nThe initial value to be used as the maximum UDP payload …\nThe RTT used before an RTT sample is taken\nInitial congestion window\nWhich side of a connection initiated the stream\nSkip verification of SSL certificates from relay servers\nSpecifies the time to wait after completing MTU discovery …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nConvert into a 0-RTT or 0.5-RTT connection at the cost of …\nReturns Self for use in down-casting to extract …\nGet the Incoming\nExtract the integer value\nThe amount of I/O operations executed\nCheck if this stream has been opened during 0-RTT.\nReturns true if the Connection associated with this handle …\nCheck if this endpoint is still alive, or already closed.\nPeriod of inactivity before sending a keep-alive packet\nEnables saving the TLS pre-master key for connections.\nOptionally set a list of known nodes.\nElapsed time since this network path was known to exist.\nLast control message received by this node about this …\nElapsed time since the last payload message was received …\nGet the duration since the last activity we received from …\nTime elapsed time since last we have sent to or received …\nThe latency to the remote node over this network path.\nThe latency of the current network path to the remote node.\nReturns the local IP address which was used when the peer …\nThe amount of bytes lost on this path\nThe amount of packets lost on this path\nThe amount of PLPMTUD probe packets lost on this path …\nCreates a ServerConfig with the given secret key and …\nThe max_ack_delay we will request the peer to use\nMaximum number of incoming bidirectional streams that may …\nVariant of max_concurrent_bidi_streams affecting …\nComputes the maximum size of datagrams that may be passed …\nMaximum duration of inactivity to accept before timing out …\nMaximum number of Incoming to allow to exist at a time\nWhether to allow clients to migrate to new addresses\nThe maximum UDP payload size guaranteed to be supported by …\nSpecifies the minimum MTU change to stop the MTU discovery …\nSpecifies the MTU discovery config (see MtuDiscoveryConfig …\nNotifies the system of potential network changes.\nResets path-specific state.\nCreate a default config with a particular handshake token …\nCreate a new StreamId\nReturns the current NodeAddr for this endpoint.\nReturns the node id of this endpoint.\nThe globally unique identifier for this node.\nThe offset in the stream\nPacket deliveries were confirmed\nPackets were deemed lost or marked congested\nPackets are acked in batches, all with the same now …\nThe known MTU for the current network path has been updated\nOne or more packets were just sent\nMethod for opening a sealed message data\nInitiates a new outgoing bidirectional stream.\nInitiates a new outgoing unidirectional stream.\nMaximum reordering in packet number space before FACK …\nStatistics related to the current transmission path\nThis implies we only use the relay to communicate and do …\nCryptographic identity of the peer.\nNumber of consecutive PTOs after which network is …\nAttempts to read from the stream into buf.\nAttempt to write bytes from buf into the stream.\nThe preferred IPv4 address that will be communicated to …\nThe preferred IPv6 address that will be communicated to …\nGet the priority of the send stream\nSets the proxy url from the environment, in this order:\nSets an explicit proxy url to proxy all HTTP(S) traffic …\nRead data contiguously from the stream.\nRead the next segment of data\nRead the next segments of data\nReceives an application datagram.\nRead an exact number of bytes contiguously from the stream.\nConvenience method to read all remaining data into a buffer\nHuman-readable reason for the close\nHuman-readable reason for the close\nHuman-readable explanation of the reason\nWhether to receive observed address reports from other …\nMaximum number of bytes the peer may transmit across all …\nCompletes when the stream has been reset by the peer or …\nRejects this incoming connection attempt.\nReturns the relay map for this mode.\nSets the relay servers to assist in establishing …\nRelay server information, if available.\nReturns the peer’s UDP address.\nWhether the socket address that is initiating this …\nReturns information about the remote node identified by a …\nReturns information about all the remote nodes this …\nReturns the NodeId from the peer’s TLS certificate.\nThe reordering threshold we will request the peer to use\nClose the send stream immediately.\nResponds with a retry packet.\nGenerate the integrity tag for a retry packet\nDuration after a retry token was issued for which it’s …\nCurrent best estimate of this connection’s latency …\nCurrent best estimate of this connection’s latency …\nSaturating integer addition. Computes self + rhs, …\nMethod for sealing message data\nSets a secret key to authenticate with other peers.\nReturns the secret_key of this endpoint.\nTransmits data as an unreliable, unordered application …\nWhether to implement fair queuing for send streams having …\nWhether to send observed address reports to peers.\nMaximum number of bytes to transmit to a peer without …\nThe amount of packets sent on this path\nThe amount of PLPMTUD probe packets sent on this path …\nSets the list of accepted ALPN protocols.\nModifies the number of bidirectional streams that may be …\nModifies the number of unidirectional streams that may be …\nSet the priority of the send stream\nSee quinn_proto::TransportConfig::receive_window.\nReturns a deduplicated list of Sources merged from all …\nA HashMap of Sources to Durations.\nA stable identifier for this connection.\nStart a server session with this configuration\nReturns connection statistics.\nStop accepting data\nCompletes when the peer stops the stream or reads the …\nMaximum number of bytes the peer may transmit without …\nObject to get current SystemTime\nMaximum reordering in time space before time based loss …\nUse TLS Raw Public Keys\nUse libp2p based self signed certificates for TLS.\nPrivate key used to authenticate data included in …\nTransport configuration to use for incoming connections\nSet a custom TransportConfig\nSets a custom quinn::TransportConfig for this endpoint.\nSucceeds iff x < 2^62\nSucceeds iff x < 2^62\nSucceeds iff x < 2^62\nThe origin of this direct address.\nStatistics about UDP datagrams received on a connection\nStatistics about UDP datagrams transmitted on a connection\nSpecifies the upper bound to the max UDP payload size that …\nConfiguration for sending and handling validation tokens\nSet a custom ValidationTokenConfig\nNumber of ack-eliciting bytes that may be in flight\nCreate a server config with the given crypto::ServerConfig\nCreate a server config with the given certificate chain to …\nWrite bytes to the stream\nConvenience method to write an entire buffer to the stream\nConvenience method to write an entire list of chunks to …\nConvenience method to write a single chunk in its entirety …\nWrite chunks to the stream\nThe name of the discovery service that discovered the …\nThe name of the application that added the node\nEnum of metrics for the module\nEnum of metrics for the module\nEnum of metrics for the module\nMetrics tracked for the relay server\nNumber of connections we have accepted\nBytes received from a FrameType::SendPacket\nBytes sent from a FrameType::SendPacket\nNumber of connections with a successful handshake that …\nNumber of connections with a successful handshake.\nNumber of client connections which have had any frames …\nFrameType::SendPacket dropped that are disco messages\nFrameType::SendPacket received that are disco messages\nFrameType::SendPacket sent that are disco messages\nNumber of connections we have removed because of an error\nNumber of frames received from client connection which …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nNumber of FrameType::Pings received\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nNumber of nodes we have attempted to contact.\nNumber of nodes we have managed to contact directly.\nThe number of direct connections we have made to peers.\nThe number of direct connections we have lost to peers.\nThe number of connections to peers we have added over …\nThe number of connections to peers we have removed over …\nPackets of other FrameTypes dropped\nPackets of other FrameTypes received\nPackets of other FrameTypes sent\nNumber of QUIC datagrams received.\nNumber of datagrams received using GRO\nNumber of accepted ‘iroh derp http’ connection upgrades\nFrameType::SendPacket dropped, that are not disco messages\nFrameType::SendPacket received, that are not disco messages\nFrameType::SendPacket sent, that are not disco messages\nNumber of FrameType::Pongs sent\nNumber of unique client keys per day\nNumber of FrameType::Unknown received\nNumber of accepted websocket connections\nHandler for incoming connections.\nThe built router.\nBuilder for creating a Router for accepting protocols.\nHandle an incoming connection.\nConfigures the router to accept the ProtocolHandler when …\nCreates a new Router using given Endpoint.\nReturns the Endpoint stored in this router.\nReturns the Endpoint of the node.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nChecks if the router is already shutdown.\nCreates a new router builder using given Endpoint.\nCalled when the node shuts down.\nShuts down the accept loop cleanly.\nSpawns an accept loop and returns a handle to it …\nA drop guard to clean up test infrastructure.\nHandle and drop guard for test DNS and Pkarr servers.\nCreate a ConcurrentDiscovery with DnsDiscovery and …\nCreate a DnsResolver configured to use the test DNS server.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nThe socket address of the DNS server.\nThe node origin domain.\nWait until a Pkarr announce for a node is published to the …\nThe HTTP URL of the Pkarr server.\nRun DNS and Pkarr servers on localhost.\nRuns a relay server with STUN and QUIC enabled suitable …\nRuns a relay server.\nRuns a relay server with STUN enabled suitable for tests.\nRun DNS and Pkarr servers on localhost with the specified …\nThe error for when a Watcher is disconnected from its …\nFuture returning the current or next value that’s Some …\nFuture returning the next item after the current one in a …\nA wrapper around a value that notifies Watchers when the …\nAn observer for a value.\nA stream for a Watcher’s next values.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the currently stored value.\nReturns the currently held value.\nReturns a future completing once the value is set to Some …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCreates a Watchable initialized to given value.\nSets a new value.\nReturns a stream which will yield the most recent values …\nReturns a stream which will yield the most recent values …\nReturns a future completing with Ok(value) once a new …\nCreates a Watcher allowing the value to be observed, but …") \ No newline at end of file diff --git a/pr/2937/docs/search.desc/iroh_relay/iroh_relay-desc-0-.js b/pr/2937/docs/search.desc/iroh_relay/iroh_relay-desc-0-.js index ffb0cbc7bc..cb345a8271 100644 --- a/pr/2937/docs/search.desc/iroh_relay/iroh_relay-desc-0-.js +++ b/pr/2937/docs/search.desc/iroh_relay/iroh_relay-desc-0-.js @@ -1 +1 @@ -searchState.loadedDescShard("iroh_relay", 0, "Iroh’s relay is a feature within iroh, a peer-to-peer …\nTracks pings on a single relay connection.\nConfiguration of all the relay servers that can be used.\nInformation on a specific relay server.\nConfiguration for speaking to the QUIC endpoint on the …\nExposes Client, which allows to establish connections to a …\nIs this a known node?\nCreates a new RelayMap with a single relay server …\nReturns the current timeout set for pings.\nDefault values used in the relay.\nCreate an empty relay map.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstructs the RelayMap from an iterator of RelayNodes.\nReturns a RelayMap from a RelayUrl.\nGet the given node.\nHTTP-specific constants for the relay server and client.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nAre there any nodes in this map?\nHow many nodes are known?\nCreates a new ping tracker, setting the ping timeout for …\nStarts a new ping.\nReturns an Iterator over all known nodes.\nUpdates the ping tracker with a received pong.\nThe port on which the connection should be bound to.\nProtocols used by the iroh-relay\nCreate a QUIC server that accepts connections for QUIC …\nConfiguration to speak to the QUIC endpoint on the relay …\nA fully-fledged iroh-relay server over HTTP or HTTPS.\nWhether this relay server should only be used for STUN …\nThe stun port of the relay server.\nCancel-safe waiting for a ping timeout.\nThe RelayUrl where this relay server can be dialed.\nReturns the sorted relay URLs.\nA relay client.\nBuild a Client.\nThe send half of a relay client.\nThe receive half of a relay client.\nError for sending messages to the relay server.\nA one-way message from server to client, declaring the …\nAn IO error.\nA one-way empty message from server to client, just to …\nIndicates that the client identified by the underlying …\nRequest from a client or server to reply to the other side …\nSends a ping message to the connected relay server.\nReply to a ReceivedMessage::Ping from a client or server …\nSends a pong message to the connected relay server.\nA protocol error.\nThe messages received from a framed relay stream.\nRepresents an incoming packet.\nMessages we can send to a relay server.\nSend a packet of data to the NodeId.\nA one-way message from server to client, advertising that …\nReturns if we should prefer ipv6 it replaces the …\nEstablishes a new connection to the relay server.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nSkip the verification of the relay server’s SSL …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nIndicates this client is a prober\nSet the capacity of the cache for public keys.\nReturns the local address of the client.\nCreates a client config that trusts any servers without …\nCreate a new ClientBuilder\nSets whether to connect to the relay via websockets or not.\nSet an explicit proxy url to proxy all HTTP(S) traffic …\nSplits the client into a sink and a stream.\nThe received packet bytes.\nIf set, is a description of why the connection is …\nAn advisory duration that the client should wait before …\nThe NodeId of the packet sender.\nAn advisory duration for how long the client should …\nThe default HTTPS port used by the Relay server.\nThe default HTTP port used by the Relay server.\nThe default capacity of the key cache for the relay server.\nThe default metrics port used by the Relay server.\nThe default QUIC port used by the Relay server to accept …\nThe default STUN port used by the Relay server.\nThe HTTP upgrade protocol used for relaying.\nThe HTTP path under which the relay accepts relaying …\nThe HTTP path under which the relay allows doing latency …\nRelays over the custom relaying protocol with a custom …\nRelays over websockets.\nReturns the argument unchanged.\nCalls U::from(self).\nTries to match the value of an HTTP upgrade header to …\nThe HTTP upgrade header used or expected.\nThis module exports looks_like_disco_wrapper as the only …\nThis module implements the relaying protocol used by the …\nSTUN packets sending and receiving.\nThe 6 byte header of all discovery messages.\nReports whether p looks like it’s a packet containing an …\nThe maximum size of a packet sent over relay. (This only …\nThe AlternateServeratribute\nErrors that can occur when handling a STUN packet.\nThe ErrorCodeatribute\nerror response\nThe Fingerprintatribute\nindication\nSTUN request had bogus fingerprint.\nThe STUN message could not be parsed or is otherwise …\nSTUN response has malformed attributes.\nThe MappedAddressatribute\nThe STUN message class. Although there are four message …\nClass used to decode STUN messages\nThe MessageIntegrityatribute\nThe MessageIntegritySha256atribute\nSTUN request didn’t end in fingerprint.\nThe Nonceatribute\nSTUN request is not a binding request when it should be.\nSTUN packet is not a response when it should be.\nThe PasswordAlgorithmatribute\nThe PasswordAlgorithmsatribute\nThe Realmatribute\nrequest\nThe Softwareatribute\nSTUN Attributes that can be attached to a StunMessage\nDescribes an error decoding a StunMessage\nsuccess response\nThe transaction ID is a 96-bit identifier, used to …\nThe Unknownatribute\nThe UnknownAttributesatribute\nThe UserHashatribute\nThe UserNameatribute\nThe XorMappedAddressatribute\nReturns a reference to the internal attribute value or an …\nReturns a reference to the bytes that represents the …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns the STUN attribute type of this instance.\nDecodes the STUN raw buffer\nCreates a cryptographically random transaction ID chosen …\nReturns a reference to the AlternateServer attribute.\nReturns a reference to the ErrorCode attribute.\nReturns a reference to the Fingerprint attribute.\nReturns a reference to the MappedAddress attribute.\nReturns a reference to the MessageIntegrity attribute.\nReturns a reference to the MessageIntegritySha256 …\nReturns a reference to the Nonce attribute.\nReturns a reference to the PasswordAlgorithm attribute.\nReturns a reference to the PasswordAlgorithms attribute.\nReturns a reference to the Realm attribute.\nReturns a reference to the Software attribute.\nReturns a reference to the Unknown attribute.\nReturns a reference to the UnknownAttributes attribute.\nReturns a reference to the UserHash attribute.\nReturns a reference to the UserName attribute.\nReturns a reference to the XorMappedAddress attribute.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nGets the context associated to this decoder\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nReports whether b is a STUN message.\nReturns true if this StunAttribute is AlternateServer\nReturns true if this StunAttribute is ErrorCode\nReturns true if this StunAttribute is Fingerprint\nReturns true if this StunAttribute is MappedAddress\nReturns true if this StunAttribute is MessageIntegrity\nReturns true if this StunAttribute is …\nReturns true if this StunAttribute is Nonce\nReturns true if this StunAttribute is PasswordAlgorithm\nReturns true if this StunAttribute is PasswordAlgorithms\nReturns true if this StunAttribute is Realm\nReturns true if this StunAttribute is Software\nReturns true if this StunAttribute is Unknown\nReturns true if this StunAttribute is UnknownAttributes\nReturns true if this StunAttribute is UserHash\nReturns true if this StunAttribute is UserName\nReturns true if this StunAttribute is XorMappedAddress\nSTUN Methods Registry\nParses a STUN binding request.\nParses a successful binding response STUN packet. The IP …\nGenerates a binding request STUN packet.\nGenerates a binding response.\nBinding\nReserved\nShared secret\nALPN for our quic addr discovery\nEndpoint close error code\nEndpoint close reason\nHandles the client side of QUIC address discovery.\nReturns the argument unchanged.\nClient side of QUIC address discovery.\nCalls U::from(self).\nCreate a new QuicClient to handle the client side of QUIC …\nAccess restriction for a node.\nControls which nodes are allowed to use the relay.\nAccess is allowed.\nTLS certificate configuration.\nPer-client rate limit configuration.\nThe default certificate reload interval.\nAccess is denied.\nEveryone\nUse Let’s Encrypt.\nRate limits.\nUse a static TLS key and certificate chain.\nMetrics tracked for the relay server\nConfiguration for the QUIC server.\nConfiguration for the Relay HTTP and HTTPS server.\nUse a TLS key and certificate chain that can be reloaded.\nA Certificate resolver that reloads the certificate every …\nOnly nodes for which the function returns Access::Allow.\nA running Relay + STUN server.\nConfiguration for the full Relay & STUN server.\nConfiguration for the STUN server.\nStunMetrics tracked for the relay server\nTLS configuration for Relay server.\nBurst limit for accepting new connection. Unlimited if not …\nRate limit for accepting new connection. Unlimited if not …\nNumber of connections we have accepted\nAccess configuration.\nNumber of bad requests, either non-stun packets or …\nThe socket address on which the STUN server should bind.\nThe socket address on which the QUIC server should bind.\nMax number of bytes per second to read from the client …\nBytes received from a FrameType::SendPacket\nBytes sent from a FrameType::SendPacket\nMode for getting a cert.\nThe certificates chain if configured with manual TLS …\nRate limits for incoming traffic from a client connection.\nNumber of client connections which have had any frames …\nFrameType::SendPacket dropped that are disco messages\nFrameType::SendPacket received that are disco messages\nFrameType::SendPacket sent that are disco messages\nNumber of connections we have removed because of an error\nNumber of failures\nNumber of frames received from client connection which …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nNumber of FrameType::Pings received\nThe socket address the HTTP server is listening on.\nThe socket address on which the Relay HTTP server should …\nGet the server’s http RelayUrl.\nThe socket address the HTTPS server is listening on.\nThe socket address on which to serve the HTTPS server.\nGet the server’s https RelayUrl.\nPerform the initial load and construct the …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nNumber of successful requests over ipv4\nNumber of successful requests over ipv6\nIs this node allowed?\nKey cache capacity.\nRate limits.\nMax number of bytes to read in a single burst.\nSocket to serve metrics on.\nPackets of other FrameTypes dropped\nPackets of other FrameTypes received\nPackets of other FrameTypes sent\nConfiguration for the QUIC server, disabled if None.\nThe socket address the QUIC server is listening on.\nThe socket address on which to server the QUIC server is …\nConfiguration for the Relay server, disabled if None.\nNumber of accepted ‘iroh derp http’ connection upgrades\nReload the certificate.\nNumber of stun requests made\nFrameType::SendPacket dropped, that are not disco messages\nFrameType::SendPacket received, that are not disco messages\nFrameType::SendPacket sent, that are not disco messages\nNumber of FrameType::Pongs sent\nThe TLS server configuration for the QUIC server.\nThe server configuration.\nShutdown the resolver.\nRequests graceful shutdown.\nStarts the server.\nConfiguration for the STUN server, disabled if None.\nThe socket address the STUN server is listening on.\nReturns the handle for the task.\nExposes functions to quickly configure a server suitable …\nTLS configuration for the HTTPS server.\nNumber of unique client keys per day\nNumber of FrameType::Unknown received\nNumber of accepted websocket connections\nThe TLS certificate chain.\nState for Let’s Encrypt certificates.\nCreates a QuicConfig suitable for testing.\nCreates a RelayConfig suitable for testing.\nCreates a rustls::ServerConfig and certificates suitable …\nCreates a ServerConfig suitable for testing.\nCreates a StunConfig suitable for testing.\nCreates a TlsConfig suitable for testing.") \ No newline at end of file +searchState.loadedDescShard("iroh_relay", 0, "Iroh’s relay is a feature within iroh, a peer-to-peer …\nTracks pings on a single relay connection.\nConfiguration of all the relay servers that can be used.\nInformation on a specific relay server.\nConfiguration for speaking to the QUIC endpoint on the …\nExposes Client, which allows to establish connections to a …\nIs this a known node?\nCreates a new RelayMap with a single relay server …\nReturns the current timeout set for pings.\nDefault values used in the relay.\nDNS resolver\nCreate an empty relay map.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstructs the RelayMap from an iterator of RelayNodes.\nReturns a RelayMap from a RelayUrl.\nGet the given node.\nHTTP-specific constants for the relay server and client.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nAre there any nodes in this map?\nHow many nodes are known?\nCreates a new ping tracker, setting the ping timeout for …\nStarts a new ping.\nReturns an Iterator over all known nodes.\nUpdates the ping tracker with a received pong.\nThe port on which the connection should be bound to.\nProtocols used by the iroh-relay\nCreate a QUIC server that accepts connections for QUIC …\nConfiguration to speak to the QUIC endpoint on the relay …\nA fully-fledged iroh-relay server over HTTP or HTTPS.\nWhether this relay server should only be used for STUN …\nThe stun port of the relay server.\nCancel-safe waiting for a ping timeout.\nThe RelayUrl where this relay server can be dialed.\nReturns the sorted relay URLs.\nA relay client.\nBuild a Client.\nThe send half of a relay client.\nThe receive half of a relay client.\nError for sending messages to the relay server.\nA one-way message from server to client, declaring the …\nAn IO error.\nA one-way empty message from server to client, just to …\nIndicates that the client identified by the underlying …\nRequest from a client or server to reply to the other side …\nSends a ping message to the connected relay server.\nReply to a ReceivedMessage::Ping from a client or server …\nSends a pong message to the connected relay server.\nA protocol error.\nThe messages received from a framed relay stream.\nRepresents an incoming packet.\nMessages we can send to a relay server.\nSend a packet of data to the NodeId.\nA one-way message from server to client, advertising that …\nReturns if we should prefer ipv6 it replaces the …\nEstablishes a new connection to the relay server.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nSkip the verification of the relay server’s SSL …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nIndicates this client is a prober\nSet the capacity of the cache for public keys.\nReturns the local address of the client.\nCreates a client config that trusts any servers without …\nCreate a new ClientBuilder\nSets whether to connect to the relay via websockets or not.\nSet an explicit proxy url to proxy all HTTP(S) traffic …\nSplits the client into a sink and a stream.\nThe received packet bytes.\nIf set, is a description of why the connection is …\nAn advisory duration that the client should wait before …\nThe NodeId of the packet sender.\nAn advisory duration for how long the client should …\nThe default HTTPS port used by the Relay server.\nThe default HTTP port used by the Relay server.\nThe default capacity of the key cache for the relay server.\nThe default metrics port used by the Relay server.\nThe default QUIC port used by the Relay server to accept …\nThe default STUN port used by the Relay server.\nThe DNS resolver used throughout iroh.\nThe n0 testing DNS node origin, for production.\nThe n0 testing DNS node origin, for testing.\nRecord data for a TXT record\nTXT records returned from DnsResolver::lookup_txt\nRemoves all entries from the cache.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nPerform an ipv4 lookup with a timeout.\nResolve IPv4 and IPv6 in parallel with a timeout.\nRace an ipv4 and ipv6 lookup with a timeout in a staggered …\nPerform an ipv4 lookup with a timeout in a staggered …\nPerform an ipv6 lookup with a timeout.\nPerform an ipv6 lookup with a timeout in a staggered …\nLooks up node info by DNS name.\nLooks up node info by DNS name in a staggered fashion.\nLooks up node info by NodeId and origin domain name.\nLooks up node info by NodeId and origin domain name.\nLookup a TXT record.\nCreate a new DNS resolver with sensible cross-platform …\nSupport for handling DNS resource records for dialing by …\nResolve a hostname from a URL to an IP address.\nReturns the raw character strings of this TXT record.\nCreate a new DNS resolver configured with a single UDP DNS …\nThe DNS name for the iroh TXT record.\nExtension methods for NodeId to encode to and decode from …\nInformation about the iroh node contained in an …\nAny direct addresses.\nReturns the argument unchanged.\nParses a NodeInfo from a pkarr::SignedPacket.\nParses a NodeInfo from a TXT records lookup.\nParses a NodeId from [z-base-32] encoding.\nCalls U::from(self).\nCreates a new NodeInfo from its parts.\nThe NodeId.\nThe advertised home relay server.\nCreates a pkarr::SignedPacket.\nConverts into a list of {key}={value} strings.\nEncodes a NodeId in [z-base-32] encoding.\nThe HTTP upgrade protocol used for relaying.\nThe HTTP path under which the relay accepts relaying …\nThe HTTP path under which the relay allows doing latency …\nRelays over the custom relaying protocol with a custom …\nRelays over websockets.\nReturns the argument unchanged.\nCalls U::from(self).\nTries to match the value of an HTTP upgrade header to …\nThe HTTP upgrade header used or expected.\nThis module exports looks_like_disco_wrapper as the only …\nThis module implements the relaying protocol used by the …\nSTUN packets sending and receiving.\nThe 6 byte header of all discovery messages.\nReports whether p looks like it’s a packet containing an …\nThe maximum size of a packet sent over relay. (This only …\nThe AlternateServeratribute\nErrors that can occur when handling a STUN packet.\nThe ErrorCodeatribute\nerror response\nThe Fingerprintatribute\nindication\nSTUN request had bogus fingerprint.\nThe STUN message could not be parsed or is otherwise …\nSTUN response has malformed attributes.\nThe MappedAddressatribute\nThe STUN message class. Although there are four message …\nClass used to decode STUN messages\nThe MessageIntegrityatribute\nThe MessageIntegritySha256atribute\nSTUN request didn’t end in fingerprint.\nThe Nonceatribute\nSTUN request is not a binding request when it should be.\nSTUN packet is not a response when it should be.\nThe PasswordAlgorithmatribute\nThe PasswordAlgorithmsatribute\nThe Realmatribute\nrequest\nThe Softwareatribute\nSTUN Attributes that can be attached to a StunMessage\nDescribes an error decoding a StunMessage\nsuccess response\nThe transaction ID is a 96-bit identifier, used to …\nThe Unknownatribute\nThe UnknownAttributesatribute\nThe UserHashatribute\nThe UserNameatribute\nThe XorMappedAddressatribute\nReturns a reference to the internal attribute value or an …\nReturns a reference to the bytes that represents the …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns the STUN attribute type of this instance.\nDecodes the STUN raw buffer\nCreates a cryptographically random transaction ID chosen …\nReturns a reference to the AlternateServer attribute.\nReturns a reference to the ErrorCode attribute.\nReturns a reference to the Fingerprint attribute.\nReturns a reference to the MappedAddress attribute.\nReturns a reference to the MessageIntegrity attribute.\nReturns a reference to the MessageIntegritySha256 …\nReturns a reference to the Nonce attribute.\nReturns a reference to the PasswordAlgorithm attribute.\nReturns a reference to the PasswordAlgorithms attribute.\nReturns a reference to the Realm attribute.\nReturns a reference to the Software attribute.\nReturns a reference to the Unknown attribute.\nReturns a reference to the UnknownAttributes attribute.\nReturns a reference to the UserHash attribute.\nReturns a reference to the UserName attribute.\nReturns a reference to the XorMappedAddress attribute.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nGets the context associated to this decoder\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nReports whether b is a STUN message.\nReturns true if this StunAttribute is AlternateServer\nReturns true if this StunAttribute is ErrorCode\nReturns true if this StunAttribute is Fingerprint\nReturns true if this StunAttribute is MappedAddress\nReturns true if this StunAttribute is MessageIntegrity\nReturns true if this StunAttribute is …\nReturns true if this StunAttribute is Nonce\nReturns true if this StunAttribute is PasswordAlgorithm\nReturns true if this StunAttribute is PasswordAlgorithms\nReturns true if this StunAttribute is Realm\nReturns true if this StunAttribute is Software\nReturns true if this StunAttribute is Unknown\nReturns true if this StunAttribute is UnknownAttributes\nReturns true if this StunAttribute is UserHash\nReturns true if this StunAttribute is UserName\nReturns true if this StunAttribute is XorMappedAddress\nSTUN Methods Registry\nParses a STUN binding request.\nParses a successful binding response STUN packet. The IP …\nGenerates a binding request STUN packet.\nGenerates a binding response.\nBinding\nReserved\nShared secret\nALPN for our quic addr discovery\nEndpoint close error code\nEndpoint close reason\nHandles the client side of QUIC address discovery.\nReturns the argument unchanged.\nClient side of QUIC address discovery.\nCalls U::from(self).\nCreate a new QuicClient to handle the client side of QUIC …\nAccess restriction for a node.\nControls which nodes are allowed to use the relay.\nAccess is allowed.\nTLS certificate configuration.\nPer-client rate limit configuration.\nThe default certificate reload interval.\nAccess is denied.\nEveryone\nUse Let’s Encrypt.\nRate limits.\nUse a static TLS key and certificate chain.\nMetrics tracked for the relay server\nConfiguration for the QUIC server.\nConfiguration for the Relay HTTP and HTTPS server.\nUse a TLS key and certificate chain that can be reloaded.\nA Certificate resolver that reloads the certificate every …\nOnly nodes for which the function returns Access::Allow.\nA running Relay + STUN server.\nConfiguration for the full Relay & STUN server.\nConfiguration for the STUN server.\nStunMetrics tracked for the relay server\nTLS configuration for Relay server.\nBurst limit for accepting new connection. Unlimited if not …\nRate limit for accepting new connection. Unlimited if not …\nNumber of connections we have accepted\nAccess configuration.\nNumber of bad requests, either non-stun packets or …\nThe socket address on which the STUN server should bind.\nThe socket address on which the QUIC server should bind.\nMax number of bytes per second to read from the client …\nBytes received from a FrameType::SendPacket\nBytes sent from a FrameType::SendPacket\nMode for getting a cert.\nThe certificates chain if configured with manual TLS …\nRate limits for incoming traffic from a client connection.\nNumber of client connections which have had any frames …\nFrameType::SendPacket dropped that are disco messages\nFrameType::SendPacket received that are disco messages\nFrameType::SendPacket sent that are disco messages\nNumber of connections we have removed because of an error\nNumber of failures\nNumber of frames received from client connection which …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nNumber of FrameType::Pings received\nThe socket address the HTTP server is listening on.\nThe socket address on which the Relay HTTP server should …\nGet the server’s http RelayUrl.\nThe socket address the HTTPS server is listening on.\nThe socket address on which to serve the HTTPS server.\nGet the server’s https RelayUrl.\nPerform the initial load and construct the …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nNumber of successful requests over ipv4\nNumber of successful requests over ipv6\nIs this node allowed?\nKey cache capacity.\nRate limits.\nMax number of bytes to read in a single burst.\nSocket to serve metrics on.\nPackets of other FrameTypes dropped\nPackets of other FrameTypes received\nPackets of other FrameTypes sent\nConfiguration for the QUIC server, disabled if None.\nThe socket address the QUIC server is listening on.\nThe socket address on which to server the QUIC server is …\nConfiguration for the Relay server, disabled if None.\nNumber of accepted ‘iroh derp http’ connection upgrades\nReload the certificate.\nNumber of stun requests made\nFrameType::SendPacket dropped, that are not disco messages\nFrameType::SendPacket received, that are not disco messages\nFrameType::SendPacket sent, that are not disco messages\nNumber of FrameType::Pongs sent\nThe TLS server configuration for the QUIC server.\nThe server configuration.\nShutdown the resolver.\nRequests graceful shutdown.\nStarts the server.\nConfiguration for the STUN server, disabled if None.\nThe socket address the STUN server is listening on.\nReturns the handle for the task.\nExposes functions to quickly configure a server suitable …\nTLS configuration for the HTTPS server.\nNumber of unique client keys per day\nNumber of FrameType::Unknown received\nNumber of accepted websocket connections\nThe TLS certificate chain.\nState for Let’s Encrypt certificates.\nCreates a QuicConfig suitable for testing.\nCreates a RelayConfig suitable for testing.\nCreates a rustls::ServerConfig and certificates suitable …\nCreates a ServerConfig suitable for testing.\nCreates a StunConfig suitable for testing.\nCreates a TlsConfig suitable for testing.") \ No newline at end of file diff --git a/pr/2937/docs/src-files.js b/pr/2937/docs/src-files.js index 82007e4812..d2952b1145 100644 --- a/pr/2937/docs/src-files.js +++ b/pr/2937/docs/src-files.js @@ -1,3 +1,3 @@ -var srcIndex = new Map(JSON.parse('[["bulk",["",[],["bulk.rs"]]],["iroh",["",[["discovery",[["pkarr",[],["dht.rs"]]],["dns.rs","local_swarm_discovery.rs","pkarr.rs","static_provider.rs"]],["dns",[],["node_info.rs"]],["endpoint",[],["rtt_actor.rs"]],["magicsock",[["node_map",[],["best_addr.rs","node_state.rs","path_state.rs","udp_paths.rs"]]],["metrics.rs","node_map.rs","relay_actor.rs","udp_conn.rs"]],["tls",[],["certificate.rs","resolver.rs","verifier.rs"]]],["defaults.rs","disco.rs","discovery.rs","dns.rs","endpoint.rs","key.rs","lib.rs","magicsock.rs","metrics.rs","protocol.rs","test_utils.rs","tls.rs","util.rs","watchable.rs"]]],["iroh_base",["",[["ticket",[],["node.rs"]]],["key.rs","lib.rs","node_addr.rs","relay_url.rs","ticket.rs"]]],["iroh_bench",["",[],["iroh.rs","lib.rs","quinn.rs","s2n.rs","stats.rs"]]],["iroh_dns_server",["",[["dns",[],["node_authority.rs"]],["http",[["doh",[],["extract.rs","response.rs"]]],["doh.rs","error.rs","pkarr.rs","rate_limiting.rs","tls.rs"]],["store",[],["signed_packets.rs"]]],["config.rs","dns.rs","http.rs","lib.rs","metrics.rs","server.rs","state.rs","store.rs","util.rs"]]],["iroh_net_report",["",[["reportgen",[],["hairpin.rs","probes.rs"]]],["defaults.rs","dns.rs","ip_mapped_addrs.rs","lib.rs","metrics.rs","ping.rs","reportgen.rs"]]],["iroh_relay",["",[["client",[],["conn.rs","connect_relay.rs","streams.rs","util.rs"]],["protos",[],["disco.rs","relay.rs","stun.rs"]],["server",[],["client.rs","clients.rs","http_server.rs","metrics.rs","resolver.rs","streams.rs","testing.rs"]]],["client.rs","defaults.rs","http.rs","key_cache.rs","lib.rs","ping_tracker.rs","protos.rs","quic.rs","relay_map.rs","server.rs"]]]]')); +var srcIndex = new Map(JSON.parse('[["bulk",["",[],["bulk.rs"]]],["iroh",["",[["discovery",[["pkarr",[],["dht.rs"]]],["dns.rs","local_swarm_discovery.rs","pkarr.rs","static_provider.rs"]],["endpoint",[],["rtt_actor.rs"]],["magicsock",[["node_map",[],["best_addr.rs","node_state.rs","path_state.rs","udp_paths.rs"]]],["metrics.rs","node_map.rs","relay_actor.rs","udp_conn.rs"]],["tls",[],["certificate.rs","resolver.rs","verifier.rs"]]],["defaults.rs","disco.rs","discovery.rs","dns.rs","endpoint.rs","key.rs","lib.rs","magicsock.rs","metrics.rs","protocol.rs","test_utils.rs","tls.rs","util.rs","watchable.rs"]]],["iroh_base",["",[["ticket",[],["node.rs"]]],["key.rs","lib.rs","node_addr.rs","relay_url.rs","ticket.rs"]]],["iroh_bench",["",[],["iroh.rs","lib.rs","quinn.rs","s2n.rs","stats.rs"]]],["iroh_dns_server",["",[["dns",[],["node_authority.rs"]],["http",[["doh",[],["extract.rs","response.rs"]]],["doh.rs","error.rs","pkarr.rs","rate_limiting.rs","tls.rs"]],["store",[],["signed_packets.rs"]]],["config.rs","dns.rs","http.rs","lib.rs","metrics.rs","server.rs","state.rs","store.rs","util.rs"]]],["iroh_net_report",["",[["reportgen",[],["hairpin.rs","probes.rs"]]],["defaults.rs","dns.rs","ip_mapped_addrs.rs","lib.rs","metrics.rs","ping.rs","reportgen.rs"]]],["iroh_relay",["",[["client",[],["conn.rs","connect_relay.rs","streams.rs","util.rs"]],["dns",[],["node_info.rs"]],["protos",[],["disco.rs","relay.rs","stun.rs"]],["server",[],["client.rs","clients.rs","http_server.rs","metrics.rs","resolver.rs","streams.rs","testing.rs"]]],["client.rs","defaults.rs","dns.rs","http.rs","key_cache.rs","lib.rs","ping_tracker.rs","protos.rs","quic.rs","relay_map.rs","server.rs"]]]]')); createSrcSidebar(); -//{"start":36,"fragment_lengths":[28,576,109,75,306,164,378]} \ No newline at end of file +//{"start":36,"fragment_lengths":[28,548,109,75,306,164,415]} \ No newline at end of file diff --git a/pr/2937/docs/src/iroh/discovery.rs.html b/pr/2937/docs/src/iroh/discovery.rs.html index c277911c6d..06fb07ccaa 100644 --- a/pr/2937/docs/src/iroh/discovery.rs.html +++ b/pr/2937/docs/src/iroh/discovery.rs.html @@ -1648,11 +1648,9 @@ use crate::{ discovery::pkarr::PkarrPublisher, - dns::{node_info::NodeInfo, ResolverExt}, + dns::{node_info::NodeInfo, DnsResolver}, test_utils::{ - dns_server::{create_dns_resolver, run_dns_server}, - pkarr_dns_state::State, - run_relay_server, DnsPkarrServer, + dns_server::run_dns_server, pkarr_dns_state::State, run_relay_server, DnsPkarrServer, }, Endpoint, RelayMode, }; @@ -1675,8 +1673,10 @@ let signed_packet = node_info.to_pkarr_signed_packet(&secret_key, 30)?; state.upsert(signed_packet)?; - let resolver = create_dns_resolver(nameserver)?; - let resolved = resolver.lookup_by_id(&node_info.node_id, &origin).await?; + let resolver = DnsResolver::with_nameserver(nameserver); + let resolved = resolver + .lookup_node_by_id(&node_info.node_id, &origin) + .await?; assert_eq!(resolved, node_info.into()); @@ -1695,13 +1695,13 @@ let relay_url = Some("https://relay.example".parse().unwrap()); - let resolver = create_dns_resolver(dns_pkarr_server.nameserver)?; + let resolver = DnsResolver::with_nameserver(dns_pkarr_server.nameserver); let publisher = PkarrPublisher::new(secret_key, dns_pkarr_server.pkarr_url.clone()); // does not block, update happens in background task publisher.update_addr_info(relay_url.as_ref(), &Default::default()); // wait until our shared state received the update from pkarr publishing dns_pkarr_server.on_node(&node_id, PUBLISH_TIMEOUT).await?; - let resolved = resolver.lookup_by_id(&node_id, &origin).await?; + let resolved = resolver.lookup_node_by_id(&node_id, &origin).await?; let expected = NodeAddr { node_id, diff --git a/pr/2937/docs/src/iroh/discovery/dns.rs.html b/pr/2937/docs/src/iroh/discovery/dns.rs.html index 9319c71964..2ce6d45008 100644 --- a/pr/2937/docs/src/iroh/discovery/dns.rs.html +++ b/pr/2937/docs/src/iroh/discovery/dns.rs.html @@ -80,29 +80,19 @@ 79 80 81 -82 -83 -84 -85 -86 -87

            //! DNS node discovery for iroh
            +82
            //! DNS node discovery for iroh
             
             use anyhow::Result;
             use iroh_base::NodeId;
            +pub use iroh_relay::dns::{N0_DNS_NODE_ORIGIN_PROD, N0_DNS_NODE_ORIGIN_STAGING};
             use n0_future::boxed::BoxStream;
             
             use crate::{
                 discovery::{Discovery, DiscoveryItem},
            -    dns::ResolverExt,
                 endpoint::force_staging_infra,
                 Endpoint,
             };
             
            -/// The n0 testing DNS node origin, for production.
            -pub const N0_DNS_NODE_ORIGIN_PROD: &str = "dns.iroh.link";
            -/// The n0 testing DNS node origin, for testing.
            -pub const N0_DNS_NODE_ORIGIN_STAGING: &str = "staging-dns.iroh.link";
            -
             const DNS_STAGGERING_MS: &[u64] = &[200, 300];
             
             /// DNS node discovery
            @@ -160,7 +150,7 @@
                     let origin_domain = self.origin_domain.clone();
                     let fut = async move {
                         let node_addr = resolver
            -                .lookup_by_id_staggered(&node_id, &origin_domain, DNS_STAGGERING_MS)
            +                .lookup_node_by_id_staggered(&node_id, &origin_domain, DNS_STAGGERING_MS)
                             .await?;
                         Ok(DiscoveryItem {
                             node_addr,
            diff --git a/pr/2937/docs/src/iroh/dns.rs.html b/pr/2937/docs/src/iroh/dns.rs.html
            index c03cd64285..68f4268018 100644
            --- a/pr/2937/docs/src/iroh/dns.rs.html
            +++ b/pr/2937/docs/src/iroh/dns.rs.html
            @@ -36,787 +36,35 @@
             35
             36
             37
            -38
            -39
            -40
            -41
            -42
            -43
            -44
            -45
            -46
            -47
            -48
            -49
            -50
            -51
            -52
            -53
            -54
            -55
            -56
            -57
            -58
            -59
            -60
            -61
            -62
            -63
            -64
            -65
            -66
            -67
            -68
            -69
            -70
            -71
            -72
            -73
            -74
            -75
            -76
            -77
            -78
            -79
            -80
            -81
            -82
            -83
            -84
            -85
            -86
            -87
            -88
            -89
            -90
            -91
            -92
            -93
            -94
            -95
            -96
            -97
            -98
            -99
            -100
            -101
            -102
            -103
            -104
            -105
            -106
            -107
            -108
            -109
            -110
            -111
            -112
            -113
            -114
            -115
            -116
            -117
            -118
            -119
            -120
            -121
            -122
            -123
            -124
            -125
            -126
            -127
            -128
            -129
            -130
            -131
            -132
            -133
            -134
            -135
            -136
            -137
            -138
            -139
            -140
            -141
            -142
            -143
            -144
            -145
            -146
            -147
            -148
            -149
            -150
            -151
            -152
            -153
            -154
            -155
            -156
            -157
            -158
            -159
            -160
            -161
            -162
            -163
            -164
            -165
            -166
            -167
            -168
            -169
            -170
            -171
            -172
            -173
            -174
            -175
            -176
            -177
            -178
            -179
            -180
            -181
            -182
            -183
            -184
            -185
            -186
            -187
            -188
            -189
            -190
            -191
            -192
            -193
            -194
            -195
            -196
            -197
            -198
            -199
            -200
            -201
            -202
            -203
            -204
            -205
            -206
            -207
            -208
            -209
            -210
            -211
            -212
            -213
            -214
            -215
            -216
            -217
            -218
            -219
            -220
            -221
            -222
            -223
            -224
            -225
            -226
            -227
            -228
            -229
            -230
            -231
            -232
            -233
            -234
            -235
            -236
            -237
            -238
            -239
            -240
            -241
            -242
            -243
            -244
            -245
            -246
            -247
            -248
            -249
            -250
            -251
            -252
            -253
            -254
            -255
            -256
            -257
            -258
            -259
            -260
            -261
            -262
            -263
            -264
            -265
            -266
            -267
            -268
            -269
            -270
            -271
            -272
            -273
            -274
            -275
            -276
            -277
            -278
            -279
            -280
            -281
            -282
            -283
            -284
            -285
            -286
            -287
            -288
            -289
            -290
            -291
            -292
            -293
            -294
            -295
            -296
            -297
            -298
            -299
            -300
            -301
            -302
            -303
            -304
            -305
            -306
            -307
            -308
            -309
            -310
            -311
            -312
            -313
            -314
            -315
            -316
            -317
            -318
            -319
            -320
            -321
            -322
            -323
            -324
            -325
            -326
            -327
            -328
            -329
            -330
            -331
            -332
            -333
            -334
            -335
            -336
            -337
            -338
            -339
            -340
            -341
            -342
            -343
            -344
            -345
            -346
            -347
            -348
            -349
            -350
            -351
            -352
            -353
            -354
            -355
            -356
            -357
            -358
            -359
            -360
            -361
            -362
            -363
            -364
            -365
            -366
            -367
            -368
            -369
            -370
            -371
            -372
            -373
            -374
            -375
            -376
            -377
            -378
            -379
            -380
            -381
            -382
            -383
            -384
            -385
            -386
            -387
            -388
            -389
            -390
            -391
            -392
            -393
            -394
            -395
            -396
            -397
            -398
            -399
            -400
            -401
            -402
            -403
            -404
            -405
            -406
            -407
            -408
            -409
            -410
            -411
            -412
            -413
            -414
            -415
            -416
            -417
            -418
            -419
            -420
            -421
            -422
            -423
            //! This module exports a DNS resolver, which is also the default resolver used in the
            +38

            //! This module exports a DNS resolver, which is also the default resolver used in the
             //! [`crate::Endpoint`] if no custom resolver is configured.
             //!
            -//! It also exports [`ResolverExt`]: A extension trait over [`DnsResolver`] to perform DNS queries
            -//! by ipv4, ipv6, name and node_id. See the [`node_info`] module documentation for details on how
            +//! The resolver provides methods to resolve domain names to ipv4 and ipv6 addresses,
            +//! and to resolve node ids to node addresses.
            +//!
            +//! See the [`node_info`] module documentation for details on how
             //! iroh node records are structured.
             
            -use std::{
            -    fmt::Write,
            -    net::{IpAddr, Ipv6Addr},
            -    sync::OnceLock,
            +pub use iroh_relay::dns::{
            +    node_info, DnsResolver, N0_DNS_NODE_ORIGIN_PROD, N0_DNS_NODE_ORIGIN_STAGING,
             };
             
            -use anyhow::Result;
            -use hickory_resolver::{IntoName, Resolver, TokioResolver};
            -use iroh_base::{NodeAddr, NodeId};
            -use n0_future::{
            -    time::{self, Duration},
            -    Future, StreamExt,
            -};
            -
            -pub mod node_info;
            -
            -/// The DNS resolver type used throughout `iroh`.
            -pub type DnsResolver = TokioResolver;
            -
            -static DNS_RESOLVER: OnceLock<TokioResolver> = OnceLock::new();
            -
            -/// Get a reference to the default DNS resolver.
            -///
            -/// The default resolver can be cheaply cloned and is shared throughout the running process.
            -/// It is configured to use the system's DNS configuration.
            -pub fn default_resolver() -> &'static DnsResolver {
            -    resolver()
            -}
            -
            -/// Get the DNS resolver used within iroh.
            -pub fn resolver() -> &'static TokioResolver {
            -    DNS_RESOLVER.get_or_init(|| create_default_resolver().expect("unable to create DNS resolver"))
            -}
            -
            -/// Deprecated IPv6 site-local anycast addresses still configured by windows.
            -///
            -/// Windows still configures these site-local addresses as soon even as an IPv6 loopback
            -/// interface is configured.  We do not want to use these DNS servers, the chances of them
            -/// being usable are almost always close to zero, while the chance of DNS configuration
            -/// **only** relying on these servers and not also being configured normally are also almost
            -/// zero.  The chance of the DNS resolver accidentally trying one of these and taking a
            -/// bunch of timeouts to figure out they're no good are on the other hand very high.
            -const WINDOWS_BAD_SITE_LOCAL_DNS_SERVERS: [IpAddr; 3] = [
            -    IpAddr::V6(Ipv6Addr::new(0xfec0, 0, 0, 0xffff, 0, 0, 0, 1)),
            -    IpAddr::V6(Ipv6Addr::new(0xfec0, 0, 0, 0xffff, 0, 0, 0, 2)),
            -    IpAddr::V6(Ipv6Addr::new(0xfec0, 0, 0, 0xffff, 0, 0, 0, 3)),
            -];
            -
            -/// Get resolver to query MX records.
            -///
            -/// We first try to read the system's resolver from `/etc/resolv.conf`.
            -/// This does not work at least on some Androids, therefore we fallback
            -/// to the default `ResolverConfig` which uses eg. to google's `8.8.8.8` or `8.8.4.4`.
            -fn create_default_resolver() -> Result<TokioResolver> {
            -    let (system_config, mut options) =
            -        hickory_resolver::system_conf::read_system_conf().unwrap_or_default();
            -
            -    // Copy all of the system config, but strip the bad windows nameservers.  Unfortunately
            -    // there is no easy way to do this.
            -    let mut config = hickory_resolver::config::ResolverConfig::new();
            -    if let Some(name) = system_config.domain() {
            -        config.set_domain(name.clone());
            -    }
            -    for name in system_config.search() {
            -        config.add_search(name.clone());
            -    }
            -    for nameserver_cfg in system_config.name_servers() {
            -        if !WINDOWS_BAD_SITE_LOCAL_DNS_SERVERS.contains(&nameserver_cfg.socket_addr.ip()) {
            -            config.add_name_server(nameserver_cfg.clone());
            -        }
            -    }
            -
            -    // see [`ResolverExt::lookup_ipv4_ipv6`] for info on why we avoid `LookupIpStrategy::Ipv4AndIpv6`
            -    options.ip_strategy = hickory_resolver::config::LookupIpStrategy::Ipv4thenIpv6;
            -
            -    let resolver = Resolver::tokio(config, options);
            -    Ok(resolver)
            -}
            -
            -/// Extension trait to [`DnsResolver`].
            -pub trait ResolverExt {
            -    /// Perform an ipv4 lookup with a timeout.
            -    fn lookup_ipv4<N: IntoName>(
            -        &self,
            -        host: N,
            -        timeout: Duration,
            -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
            -
            -    /// Perform an ipv6 lookup with a timeout.
            -    fn lookup_ipv6<N: IntoName>(
            -        &self,
            -        host: N,
            -        timeout: Duration,
            -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
            -
            -    /// Race an ipv4 and ipv6 lookup with a timeout.
            -    fn lookup_ipv4_ipv6<N: IntoName + Clone>(
            -        &self,
            -        host: N,
            -        timeout: Duration,
            -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
            -
            -    /// Looks up node info by DNS name.
            -    fn lookup_by_name(&self, name: &str) -> impl Future<Output = Result<NodeAddr>>;
            -
            -    /// Looks up node info by [`NodeId`] and origin domain name.
            -    fn lookup_by_id(
            -        &self,
            -        node_id: &NodeId,
            -        origin: &str,
            -    ) -> impl Future<Output = Result<NodeAddr>>;
            -
            -    /// Perform an ipv4 lookup with a timeout in a staggered fashion.
            -    ///
            -    /// From the moment this function is called, each lookup is scheduled after the delays in
            -    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
            -    /// at T+0ms, T+200ms and T+300ms. The `timeout` is applied to each call individually. The
            -    /// result of the first successful call is returned, or a summary of all errors otherwise.
            -    fn lookup_ipv4_staggered<N: IntoName + Clone>(
            -        &self,
            -        host: N,
            -        timeout: Duration,
            -        delays_ms: &[u64],
            -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
            -
            -    /// Perform an ipv6 lookup with a timeout in a staggered fashion.
            -    ///
            -    /// From the moment this function is called, each lookup is scheduled after the delays in
            -    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
            -    /// at T+0ms, T+200ms and T+300ms. The `timeout` is applied to each call individually. The
            -    /// result of the first successful call is returned, or a summary of all errors otherwise.
            -    fn lookup_ipv6_staggered<N: IntoName + Clone>(
            -        &self,
            -        host: N,
            -        timeout: Duration,
            -        delays_ms: &[u64],
            -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
            -
            -    /// Race an ipv4 and ipv6 lookup with a timeout in a staggered fashion.
            -    ///
            -    /// From the moment this function is called, each lookup is scheduled after the delays in
            -    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
            -    /// at T+0ms, T+200ms and T+300ms. The `timeout` is applied as stated in
            -    /// [`Self::lookup_ipv4_ipv6`]. The result of the first successful call is returned, or a
            -    /// summary of all errors otherwise.
            -    fn lookup_ipv4_ipv6_staggered<N: IntoName + Clone>(
            -        &self,
            -        host: N,
            -        timeout: Duration,
            -        delays_ms: &[u64],
            -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
            -
            -    /// Looks up node info by DNS name in a staggered fashion.
            -    ///
            -    /// From the moment this function is called, each lookup is scheduled after the delays in
            -    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
            -    /// at T+0ms, T+200ms and T+300ms. The result of the first successful call is returned, or a
            -    /// summary of all errors otherwise.
            -    fn lookup_by_name_staggered(
            -        &self,
            -        name: &str,
            -        delays_ms: &[u64],
            -    ) -> impl Future<Output = Result<NodeAddr>>;
            -
            -    /// Looks up node info by [`NodeId`] and origin domain name.
            -    ///
            -    /// From the moment this function is called, each lookup is scheduled after the delays in
            -    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
            -    /// at T+0ms, T+200ms and T+300ms. The result of the first successful call is returned, or a
            -    /// summary of all errors otherwise.
            -    fn lookup_by_id_staggered(
            -        &self,
            -        node_id: &NodeId,
            -        origin: &str,
            -        delays_ms: &[u64],
            -    ) -> impl Future<Output = Result<NodeAddr>>;
            -}
            -
            -impl ResolverExt for DnsResolver {
            -    async fn lookup_ipv4<N: IntoName>(
            -        &self,
            -        host: N,
            -        timeout: Duration,
            -    ) -> Result<impl Iterator<Item = IpAddr>> {
            -        let addrs = time::timeout(timeout, self.ipv4_lookup(host)).await??;
            -        Ok(addrs.into_iter().map(|ip| IpAddr::V4(ip.0)))
            -    }
            -
            -    async fn lookup_ipv6<N: IntoName>(
            -        &self,
            -        host: N,
            -        timeout: Duration,
            -    ) -> Result<impl Iterator<Item = IpAddr>> {
            -        let addrs = time::timeout(timeout, self.ipv6_lookup(host)).await??;
            -        Ok(addrs.into_iter().map(|ip| IpAddr::V6(ip.0)))
            -    }
            -
            -    /// Resolve IPv4 and IPv6 in parallel.
            -    ///
            -    /// `LookupIpStrategy::Ipv4AndIpv6` will wait for ipv6 resolution timeout, even if it is
            -    /// not usable on the stack, so we manually query both lookups concurrently and time them out
            -    /// individually.
            -    async fn lookup_ipv4_ipv6<N: IntoName + Clone>(
            -        &self,
            -        host: N,
            -        timeout: Duration,
            -    ) -> Result<impl Iterator<Item = IpAddr>> {
            -        let res = tokio::join!(
            -            self.lookup_ipv4(host.clone(), timeout),
            -            self.lookup_ipv6(host, timeout)
            -        );
            -
            -        match res {
            -            (Ok(ipv4), Ok(ipv6)) => Ok(LookupIter::Both(ipv4.chain(ipv6))),
            -            (Ok(ipv4), Err(_)) => Ok(LookupIter::Ipv4(ipv4)),
            -            (Err(_), Ok(ipv6)) => Ok(LookupIter::Ipv6(ipv6)),
            -            (Err(ipv4_err), Err(ipv6_err)) => {
            -                anyhow::bail!("Ipv4: {:?}, Ipv6: {:?}", ipv4_err, ipv6_err)
            -            }
            -        }
            -    }
            -
            -    /// Looks up node info by DNS name.
            -    ///
            -    /// The resource records returned for `name` must either contain an [`node_info::IROH_TXT_NAME`] TXT
            -    /// record or be a CNAME record that leads to an [`node_info::IROH_TXT_NAME`] TXT record.
            -    async fn lookup_by_name(&self, name: &str) -> Result<NodeAddr> {
            -        let attrs = node_info::TxtAttrs::<node_info::IrohAttr>::lookup_by_name(self, name).await?;
            -        let info: node_info::NodeInfo = attrs.into();
            -        Ok(info.into())
            -    }
            -
            -    /// Looks up node info by [`NodeId`] and origin domain name.
            -    async fn lookup_by_id(&self, node_id: &NodeId, origin: &str) -> Result<NodeAddr> {
            -        let attrs =
            -            node_info::TxtAttrs::<node_info::IrohAttr>::lookup_by_id(self, node_id, origin).await?;
            -        let info: node_info::NodeInfo = attrs.into();
            -        Ok(info.into())
            -    }
            -
            -    /// Perform an ipv4 lookup with a timeout in a staggered fashion.
            -    ///
            -    /// From the moment this function is called, each lookup is scheduled after the delays in
            -    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
            -    /// at T+0ms, T+200ms and T+300ms. The `timeout` is applied to each call individually. The
            -    /// result of the first successful call is returned, or a summary of all errors otherwise.
            -    async fn lookup_ipv4_staggered<N: IntoName + Clone>(
            -        &self,
            -        host: N,
            -        timeout: Duration,
            -        delays_ms: &[u64],
            -    ) -> Result<impl Iterator<Item = IpAddr>> {
            -        let f = || self.lookup_ipv4(host.clone(), timeout);
            -        stagger_call(f, delays_ms).await
            -    }
            -
            -    /// Perform an ipv6 lookup with a timeout in a staggered fashion.
            -    ///
            -    /// From the moment this function is called, each lookup is scheduled after the delays in
            -    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
            -    /// at T+0ms, T+200ms and T+300ms. The `timeout` is applied to each call individually. The
            -    /// result of the first successful call is returned, or a summary of all errors otherwise.
            -    async fn lookup_ipv6_staggered<N: IntoName + Clone>(
            -        &self,
            -        host: N,
            -        timeout: Duration,
            -        delays_ms: &[u64],
            -    ) -> Result<impl Iterator<Item = IpAddr>> {
            -        let f = || self.lookup_ipv6(host.clone(), timeout);
            -        stagger_call(f, delays_ms).await
            -    }
            -
            -    /// Race an ipv4 and ipv6 lookup with a timeout in a staggered fashion.
            -    ///
            -    /// From the moment this function is called, each lookup is scheduled after the delays in
            -    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
            -    /// at T+0ms, T+200ms and T+300ms. The `timeout` is applied as stated in
            -    /// [`Self::lookup_ipv4_ipv6`]. The result of the first successful call is returned, or a
            -    /// summary of all errors otherwise.
            -    async fn lookup_ipv4_ipv6_staggered<N: IntoName + Clone>(
            -        &self,
            -        host: N,
            -        timeout: Duration,
            -        delays_ms: &[u64],
            -    ) -> Result<impl Iterator<Item = IpAddr>> {
            -        let f = || self.lookup_ipv4_ipv6(host.clone(), timeout);
            -        stagger_call(f, delays_ms).await
            -    }
            -
            -    /// Looks up node info by DNS name in a staggered fashion.
            -    ///
            -    /// From the moment this function is called, each lookup is scheduled after the delays in
            -    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
            -    /// at T+0ms, T+200ms and T+300ms. The result of the first successful call is returned, or a
            -    /// summary of all errors otherwise.
            -    async fn lookup_by_name_staggered(&self, name: &str, delays_ms: &[u64]) -> Result<NodeAddr> {
            -        let f = || self.lookup_by_name(name);
            -        stagger_call(f, delays_ms).await
            -    }
            -
            -    /// Looks up node info by [`NodeId`] and origin domain name.
            -    ///
            -    /// From the moment this function is called, each lookup is scheduled after the delays in
            -    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
            -    /// at T+0ms, T+200ms and T+300ms. The result of the first successful call is returned, or a
            -    /// summary of all errors otherwise.
            -    async fn lookup_by_id_staggered(
            -        &self,
            -        node_id: &NodeId,
            -        origin: &str,
            -        delays_ms: &[u64],
            -    ) -> Result<NodeAddr> {
            -        let f = || self.lookup_by_id(node_id, origin);
            -        stagger_call(f, delays_ms).await
            -    }
            -}
            -
            -/// Helper enum to give a unified type to the iterators of [`ResolverExt::lookup_ipv4_ipv6`].
            -enum LookupIter<A, B> {
            -    Ipv4(A),
            -    Ipv6(B),
            -    Both(std::iter::Chain<A, B>),
            -}
            -
            -impl<A: Iterator<Item = IpAddr>, B: Iterator<Item = IpAddr>> Iterator for LookupIter<A, B> {
            -    type Item = IpAddr;
            -
            -    fn next(&mut self) -> Option<Self::Item> {
            -        match self {
            -            LookupIter::Ipv4(iter) => iter.next(),
            -            LookupIter::Ipv6(iter) => iter.next(),
            -            LookupIter::Both(iter) => iter.next(),
            -        }
            -    }
            -}
            -
            -/// Staggers calls to the future F with the given delays.
            -///
            -/// The first call is performed immediately. The first call to succeed generates an Ok result
            -/// ignoring any previous error. If all calls fail, an error summarizing all errors is returned.
            -async fn stagger_call<T, F: Fn() -> Fut, Fut: Future<Output = Result<T>>>(
            -    f: F,
            -    delays_ms: &[u64],
            -) -> Result<T> {
            -    let mut calls = n0_future::FuturesUnorderedBounded::new(delays_ms.len() + 1);
            -    // NOTE: we add the 0 delay here to have a uniform set of futures. This is more performant than
            -    // using alternatives that allow futures of different types.
            -    for delay in std::iter::once(&0u64).chain(delays_ms) {
            -        let delay = Duration::from_millis(*delay);
            -        let fut = f();
            -        let staggered_fut = async move {
            -            time::sleep(delay).await;
            -            fut.await
            -        };
            -        calls.push(staggered_fut)
            -    }
            -
            -    let mut errors = vec![];
            -    while let Some(call_result) = calls.next().await {
            -        match call_result {
            -            Ok(t) => return Ok(t),
            -            Err(e) => errors.push(e),
            -        }
            -    }
            -
            -    anyhow::bail!(
            -        "no calls succeed: [ {}]",
            -        errors.into_iter().fold(String::new(), |mut summary, e| {
            -            write!(summary, "{e} ").expect("infallible");
            -            summary
            -        })
            -    )
            -}
            -
             #[cfg(test)]
             pub(crate) mod tests {
            -    use std::sync::atomic::AtomicUsize;
            +    use std::time::Duration;
             
                 use tracing_test::traced_test;
             
            -    use super::*;
            +    use super::DnsResolver;
                 use crate::defaults::staging::NA_RELAY_HOSTNAME;
            +
                 const TIMEOUT: Duration = Duration::from_secs(5);
                 const STAGGERING_DELAYS: &[u64] = &[200, 300];
             
                 #[tokio::test]
                 #[traced_test]
                 async fn test_dns_lookup_ipv4_ipv6() {
            -        let resolver = default_resolver();
            +        let resolver = DnsResolver::new();
                     let res: Vec<_> = resolver
                         .lookup_ipv4_ipv6_staggered(NA_RELAY_HOSTNAME, TIMEOUT, STAGGERING_DELAYS)
                         .await
            @@ -825,23 +73,5 @@
                     assert!(!res.is_empty());
                     dbg!(res);
                 }
            -
            -    #[tokio::test]
            -    #[traced_test]
            -    async fn stagger_basic() {
            -        const CALL_RESULTS: &[Result<u8, u8>] = &[Err(2), Ok(3), Ok(5), Ok(7)];
            -        static DONE_CALL: AtomicUsize = AtomicUsize::new(0);
            -        let f = || {
            -            let r_pos = DONE_CALL.fetch_add(1, std::sync::atomic::Ordering::Relaxed);
            -            async move {
            -                tracing::info!(r_pos, "call");
            -                CALL_RESULTS[r_pos].map_err(|e| anyhow::anyhow!("{e}"))
            -            }
            -        };
            -
            -        let delays = [1000, 15];
            -        let result = stagger_call(f, &delays).await.unwrap();
            -        assert_eq!(result, 5)
            -    }
             }
             
            \ No newline at end of file diff --git a/pr/2937/docs/src/iroh/endpoint.rs.html b/pr/2937/docs/src/iroh/endpoint.rs.html index 572896f2cc..30be4a8491 100644 --- a/pr/2937/docs/src/iroh/endpoint.rs.html +++ b/pr/2937/docs/src/iroh/endpoint.rs.html @@ -2202,10 +2202,7 @@ 2201 2202 2203 -2204 -2205 -2206 -2207
          //! The [`Endpoint`] allows establishing connections to other iroh nodes.
          +2204
          //! The [`Endpoint`] allows establishing connections to other iroh nodes.
           //!
           //! The [`Endpoint`] is the main API interface to manage a local iroh node.  It allows
           //! connecting to and accepting connections from other nodes.  See the [module docs] for
          @@ -2240,7 +2237,7 @@
               discovery::{
                   dns::DnsDiscovery, pkarr::PkarrPublisher, ConcurrentDiscovery, Discovery, DiscoveryTask,
               },
          -    dns::{default_resolver, DnsResolver},
          +    dns::DnsResolver,
               magicsock::{self, Handle, NodeIdMappedAddr},
               tls,
               watchable::Watcher,
          @@ -2362,9 +2359,7 @@
                       keylog: self.keylog,
                       secret_key: secret_key.clone(),
                   };
          -        let dns_resolver = self
          -            .dns_resolver
          -            .unwrap_or_else(|| default_resolver().clone());
          +        let dns_resolver = self.dns_resolver.unwrap_or_default();
                   let discovery = self
                       .discovery
                       .into_iter()
          @@ -2620,9 +2615,10 @@
               /// The DNS resolver is used to resolve relay hostnames, and node addresses if
               /// [`crate::discovery::dns::DnsDiscovery`] is configured.
               ///
          -    /// By default, all endpoints share a DNS resolver, which is configured to use the
          +    /// By default, a new DNS resolver is created which is configured to use the
               /// host system's DNS configuration. You can pass a custom instance of [`DnsResolver`]
          -    /// here to use a differently configured DNS resolver for this endpoint.
          +    /// here to use a differently configured DNS resolver for this endpoint, or to share
          +    /// a [`DnsResolver`] between multiple endpoints.
               pub fn dns_resolver(mut self, dns_resolver: DnsResolver) -> Self {
                   self.dns_resolver = Some(dns_resolver);
                   self
          @@ -3216,10 +3212,13 @@
               /// of `0` and an empty reason.  Though it is best practice to close those
               /// explicitly before with a custom error code and reason.
               ///
          -    /// It will then make a best effort to wait for all close notifications to be
          -    /// acknowledged by the peers, re-transmitting them if needed. This ensures the
          -    /// peers are aware of the closed connections instead of having to wait for a timeout
          -    /// on the connection. Once all connections are closed or timed out, the magic socket is closed.
          +    /// This will not wait for the [`quinn::Endpoint`] to drain connections.
          +    ///
          +    /// To ensure no data is lost, design protocols so that the last *sender*
          +    /// of data in the protocol calls [`Connection::closed`], and `await`s until
          +    /// it receives a "close" message from the *receiver*. Once the *receiver*
          +    /// gets the last data in the protocol, it should call [`Connection::close`]
          +    /// to inform the *sender* that all data has been received.
               ///
               /// Be aware however that the underlying UDP sockets are only closed
               /// on [`Drop`], bearing in mind the [`Endpoint`] is only dropped once all the clones
          @@ -3618,21 +3617,16 @@
               ///
               /// # Gracefully closing a connection
               ///
          -    /// Only the peer last receiving application data can be certain that all data is
          -    /// delivered. The only reliable action it can then take is to close the connection,
          -    /// potentially with a custom error code. The delivery of the final CONNECTION_CLOSE
          -    /// frame is very likely if both endpoints stay online long enough, calling
          -    /// [`Endpoint::close`] will wait to provide sufficient time. Otherwise, the remote peer
          -    /// will time out the connection, provided that the idle timeout is not disabled.
          +    /// Only the peer last **receiving** application data can be certain that all data is
          +    /// delivered.
               ///
          -    /// The sending side can not guarantee all stream data is delivered to the remote
          -    /// application. It only knows the data is delivered to the QUIC stack of the remote
          -    /// endpoint. Once the local side sends a CONNECTION_CLOSE frame in response to calling
          -    /// [`close`] the remote endpoint may drop any data it received but is as yet
          -    /// undelivered to the application, including data that was acknowledged as received to
          -    /// the local endpoint.
          +    /// To communicate to the last **sender** of the application data that all the data was received, we recommend designing protocols that follow this pattern:
               ///
          -    /// [`close`]: Connection::close
          +    /// 1) The **sender** sends the last data. It then calls [`Connection::closed`]. This will wait until it receives a CONNECTION_CLOSE frame from the other side.
          +    /// 2) The **receiver** receives the last data. It then calls [`Connection::close`] and provides an error_code and/or reason.
          +    /// 3) The **sender** checks that the error_code is the expected error code.
          +    ///
          +    /// If the `close`/`closed` dance is not done, or is interrupted at any point, the connection will eventually time out, provided that the idle timeout is not disabled.
               #[inline]
               pub fn close(&self, error_code: VarInt, reason: &[u8]) {
                   self.inner.close(error_code, reason)
          diff --git a/pr/2937/docs/src/iroh/magicsock.rs.html b/pr/2937/docs/src/iroh/magicsock.rs.html
          index 9e4ec11dc3..90553cf0e1 100644
          --- a/pr/2937/docs/src/iroh/magicsock.rs.html
          +++ b/pr/2937/docs/src/iroh/magicsock.rs.html
          @@ -4444,7 +4444,22 @@
           4443
           4444
           4445
          -4446
          //! Implements a socket that can change its communication path while in use, actively searching for the best way to communicate.
          +4446
          +4447
          +4448
          +4449
          +4450
          +4451
          +4452
          +4453
          +4454
          +4455
          +4456
          +4457
          +4458
          +4459
          +4460
          +4461
        //! Implements a socket that can change its communication path while in use, actively searching for the best way to communicate.
         //!
         //! Based on tailscale/wgengine/magicsock
         //!
        @@ -4565,8 +4580,8 @@
         
             /// A DNS resolver to use for resolving relay URLs.
             ///
        -    /// You can use [`crate::dns::default_resolver`] for a resolver that uses the system's DNS
        -    /// configuration.
        +    /// You can use [`crate::dns::DnsResolver::new`] for a resolver
        +    /// that uses the system's DNS configuration.
             pub(crate) dns_resolver: DnsResolver,
         
             /// Proxy configuration.
        @@ -4586,7 +4601,8 @@
             pub(crate) path_selection: PathSelection,
         }
         
        -impl Default for Options {
        +#[cfg(test)]
        +impl Default for Options {
             fn default() -> Self {
                 let secret_key = SecretKey::generate(rand::rngs::OsRng);
                 // TODO: make configurable
        @@ -4600,7 +4616,7 @@
                     node_map: None,
                     discovery: None,
                     proxy_url: None,
        -            dns_resolver: crate::dns::default_resolver().clone(),
        +            dns_resolver: DnsResolver::new(),
                     server_config,
                     #[cfg(any(test, feature = "test-utils"))]
                     insecure_skip_relay_cert_verify: false,
        @@ -4611,6 +4627,7 @@
         }
         
         /// Generate a server config with no ALPNS and a default transport configuration
        +#[cfg(test)]
         fn make_default_server_config(
             secret_key: &SecretKey,
             tls_auth: crate::tls::Authentication,
        @@ -6192,6 +6209,28 @@
                 let inner2 = inner.clone();
                 let network_monitor = netmon::Monitor::new().await?;
                 let qad_endpoint = endpoint.clone();
        +
        +        // create a client config for the endpoint to use for QUIC address discovery
        +        let root_store =
        +            rustls::RootCertStore::from_iter(webpki_roots::TLS_SERVER_ROOTS.iter().cloned());
        +        let client_config = rustls::client::ClientConfig::builder_with_provider(Arc::new(
        +            rustls::crypto::ring::default_provider(),
        +        ))
        +        .with_safe_default_protocol_versions()
        +        .expect("ring supports these")
        +        .with_root_certificates(root_store)
        +        .with_no_client_auth();
        +        let quic_config = Some(QuicConfig {
        +            ep: qad_endpoint,
        +            client_config,
        +            ipv4: true,
        +            ipv6: pconn6_sock.is_some(),
        +        });
        +        let net_report_config = net_report::Options::default()
        +            .stun_v4(Some(pconn4_sock.clone()))
        +            .stun_v6(pconn6_sock.clone())
        +            .quic_config(quic_config);
        +
                 actor_tasks.spawn(
                     async move {
                         let actor = Actor {
        @@ -6208,7 +6247,7 @@
                             no_v4_send: false,
                             net_reporter,
                             network_monitor,
        -                    qad_endpoint,
        +                    net_report_config,
                         };
         
                         if let Err(err) = actor.run().await {
        @@ -6237,12 +6276,19 @@
             /// Only the first close does anything. Any later closes return nil.
             /// Polling the socket ([`AsyncUdpSocket::poll_recv`]) will return [`Poll::Pending`]
             /// indefinitely after this call.
        +    ///
        +    /// This will not wait for the [`quinn::Endpoint`] to drain connections.
        +    ///
        +    /// To ensure no data is lost, design protocols so that the last *sender*
        +    /// of data in the protocol calls [`crate::endpoint::Connection::closed`], and `await`s until
        +    /// it receives a "close" message from the *receiver*. Once the *receiver*
        +    /// gets the last data in the protocol, it should call [`crate::endpoint::Connection::close`]
        +    /// to inform the *sender* that all data has been received.
             #[instrument(skip_all, fields(me = %self.msock.me))]
             pub(crate) async fn close(&self) {
                 trace!("magicsock closing...");
                 // Initiate closing all connections, and refuse future connections.
                 self.endpoint.close(0u16.into(), b"");
        -        self.endpoint.wait_idle().await;
         
                 if self.msock.is_closed() {
                     return;
        @@ -6617,6 +6663,9 @@
             pconn4: Arc<UdpSocket>,
             pconn6: Option<Arc<UdpSocket>>,
         
        +    /// Configuration for net report
        +    net_report_config: net_report::Options,
        +
             /// The NAT-PMP/PCP/UPnP prober/client, for requesting port mappings from NAT devices.
             port_mapper: portmapper::Client,
         
        @@ -6629,11 +6678,6 @@
             net_reporter: net_report::Client,
         
             network_monitor: netmon::Monitor,
        -
        -    /// The internal quinn::Endpoint
        -    ///
        -    /// Needed for Quic Address Discovery
        -    qad_endpoint: quinn::Endpoint,
         }
         
         impl Actor {
        @@ -7047,23 +7091,7 @@
                 }
         
                 let relay_map = self.msock.relay_map.clone();
        -        let mut opts = net_report::Options::default()
        -            .stun_v4(Some(self.pconn4.clone()))
        -            .stun_v6(self.pconn6.clone());
        -
        -        // create a client config for the endpoint to use for QUIC address discovery
        -        let root_store =
        -            rustls::RootCertStore::from_iter(webpki_roots::TLS_SERVER_ROOTS.iter().cloned());
        -        let client_config = rustls::ClientConfig::builder()
        -            .with_root_certificates(root_store)
        -            .with_no_client_auth();
        -        let quic_config = Some(QuicConfig {
        -            ep: self.qad_endpoint.clone(),
        -            client_config,
        -            ipv4: true,
        -            ipv6: self.pconn6.is_some(),
        -        });
        -        opts = opts.quic_config(quic_config);
        +        let opts = self.net_report_config.clone();
         
                 debug!("requesting net_report report");
                 match self.net_reporter.get_report_channel(relay_map, opts).await {
        @@ -7588,6 +7616,7 @@
             use super::*;
             use crate::{
                 defaults::staging::{self, EU_RELAY_HOSTNAME},
        +        dns::DnsResolver,
                 tls, Endpoint, RelayMode,
             };
         
        @@ -8492,6 +8521,7 @@
                     Arc::new(quinn::TransportConfig::default()),
                     true,
                 )?;
        +        let dns_resolver = DnsResolver::new();
                 let opts = Options {
                     addr_v4: None,
                     addr_v6: None,
        @@ -8499,7 +8529,7 @@
                     relay_map: RelayMap::empty(),
                     node_map: None,
                     discovery: None,
        -            dns_resolver: crate::dns::default_resolver().clone(),
        +            dns_resolver,
                     proxy_url: None,
                     server_config,
                     insecure_skip_relay_cert_verify: true,
        diff --git a/pr/2937/docs/src/iroh/magicsock/relay_actor.rs.html b/pr/2937/docs/src/iroh/magicsock/relay_actor.rs.html
        index 7c9e4443dd..c4402c2602 100644
        --- a/pr/2937/docs/src/iroh/magicsock/relay_actor.rs.html
        +++ b/pr/2937/docs/src/iroh/magicsock/relay_actor.rs.html
        @@ -2750,7 +2750,7 @@
             use tracing_test::traced_test;
         
             use super::*;
        -    use crate::test_utils;
        +    use crate::{dns::DnsResolver, test_utils};
         
             #[test]
             fn test_packetize_iter() {
        @@ -2803,7 +2803,7 @@
                     relay_datagrams_recv,
                     connection_opts: RelayConnectionOptions {
                         secret_key,
        -                dns_resolver: crate::dns::default_resolver().clone(),
        +                dns_resolver: DnsResolver::new(),
                         proxy_url: None,
                         prefer_ipv6: Arc::new(AtomicBool::new(true)),
                         insecure_skip_cert_verify: true,
        diff --git a/pr/2937/docs/src/iroh/test_utils.rs.html b/pr/2937/docs/src/iroh/test_utils.rs.html
        index 4c3f7fad27..08b1247401 100644
        --- a/pr/2937/docs/src/iroh/test_utils.rs.html
        +++ b/pr/2937/docs/src/iroh/test_utils.rs.html
        @@ -495,12 +495,60 @@
         494
         495
         496
        -497
        //! Internal utilities to support testing.
        +497
        +498
        +499
        +500
        +501
        +502
        +503
        +504
        +505
        +506
        +507
        +508
        +509
        +510
        +511
        +512
        +513
        +514
        +515
        +516
        +517
        +518
        +519
        +520
        +521
        +522
        +523
        +524
        +525
        +526
        +527
        +528
        +529
        +530
        +531
        +532
        +533
        +534
        +535
        +536
        +537
        +538
        +539
        +540
        +541
        +542
        +543
        +544
        +545
        +546
        //! Internal utilities to support testing.
         use std::net::Ipv4Addr;
         
         use anyhow::Result;
         pub use dns_and_pkarr_servers::DnsPkarrServer;
        -pub use dns_server::create_dns_resolver;
         use iroh_base::RelayUrl;
         use iroh_relay::{
             server::{
        @@ -615,7 +663,7 @@
             use iroh_base::{NodeId, SecretKey};
             use url::Url;
         
        -    use super::{create_dns_resolver, CleanupDropGuard};
        +    use super::CleanupDropGuard;
             use crate::{
                 discovery::{dns::DnsDiscovery, pkarr::PkarrPublisher, ConcurrentDiscovery},
                 dns::DnsResolver,
        @@ -675,7 +723,7 @@
         
                 /// Create a [`DnsResolver`] configured to use the test DNS server.
                 pub fn dns_resolver(&self) -> DnsResolver {
        -            create_dns_resolver(self.nameserver).expect("failed to create DNS resolver")
        +            DnsResolver::with_nameserver(self.nameserver)
                 }
         
                 /// Wait until a Pkarr announce for a node is published to the server.
        @@ -694,13 +742,9 @@
             };
         
             use anyhow::{ensure, Result};
        -    use hickory_resolver::{
        -        config::NameServerConfig,
        -        proto::{
        -            op::{header::MessageType, Message},
        -            serialize::binary::BinDecodable,
        -        },
        -        TokioResolver,
        +    use hickory_resolver::proto::{
        +        op::{header::MessageType, Message},
        +        serialize::binary::BinDecodable,
             };
             use n0_future::future::Boxed as BoxFuture;
             use tokio::{net::UdpSocket, sync::oneshot};
        @@ -756,16 +800,6 @@
                 Ok((bound_addr, CleanupDropGuard(tx)))
             }
         
        -    /// Create a DNS resolver with a single nameserver.
        -    pub fn create_dns_resolver(nameserver: SocketAddr) -> Result<TokioResolver> {
        -        let mut config = hickory_resolver::config::ResolverConfig::new();
        -        let nameserver_config =
        -            NameServerConfig::new(nameserver, hickory_resolver::proto::xfer::Protocol::Udp);
        -        config.add_name_server(nameserver_config);
        -        let resolver = hickory_resolver::Resolver::tokio(config, Default::default());
        -        Ok(resolver)
        -    }
        -
             struct TestDnsServer<R> {
                 resolver: R,
                 socket: UdpSocket,
        @@ -886,7 +920,7 @@
             use pkarr::SignedPacket;
         
             use crate::{
        -        dns::node_info::{node_id_from_hickory_name, NodeInfo},
        +        dns::node_info::{NodeIdExt, NodeInfo, IROH_TXT_NAME},
                 test_utils::dns_server::QueryHandler,
             };
         
        @@ -962,14 +996,15 @@
                     ttl: u32,
                 ) -> Result<()> {
                     for query in query.queries() {
        -                let Some(node_id) = node_id_from_hickory_name(query.name()) else {
        +                let domain_name = query.name().to_string();
        +                let Some(node_id) = node_id_from_domain_name(&domain_name) else {
                             continue;
                         };
         
                         self.get(&node_id, |packet| {
                             if let Some(packet) = packet {
                                 let node_info = NodeInfo::from_pkarr_signed_packet(packet)?;
        -                        for record in node_info.to_hickory_records(&self.origin, ttl)? {
        +                        for record in node_info_to_hickory_records(&node_info, &self.origin, ttl)? {
                                     reply.add_answer(record);
                                 }
                             }
        @@ -991,5 +1026,68 @@
                     std::future::ready(res)
                 }
             }
        +
        +    /// Parses a [`NodeId`] from a DNS domain name.
        +    ///
        +    /// Splits the domain name into labels on each dot. Expects the first label to be
        +    /// [`IROH_TXT_NAME`] and the second label to be a z32 encoded [`NodeId`]. Ignores
        +    /// subsequent labels.
        +    ///
        +    /// Returns a [`NodeId`] if parsed successfully, otherwise `None`.
        +    fn node_id_from_domain_name(name: &str) -> Option<NodeId> {
        +        let mut labels = name.split(".");
        +        let label = labels.next()?;
        +        if label != IROH_TXT_NAME {
        +            return None;
        +        }
        +        let label = labels.next()?;
        +        let node_id = NodeId::from_z32(label).ok()?;
        +        Some(node_id)
        +    }
        +
        +    /// Converts a [`NodeInfo`]into a [`hickory_resolver::proto::rr::Record`] DNS record.
        +    fn node_info_to_hickory_records(
        +        node_info: &NodeInfo,
        +        origin: &str,
        +        ttl: u32,
        +    ) -> Result<impl Iterator<Item = hickory_resolver::proto::rr::Record> + 'static> {
        +        let txt_strings = node_info.to_txt_strings();
        +        let records = to_hickory_records(txt_strings, node_info.node_id, origin, ttl)?;
        +        Ok(records.collect::<Vec<_>>().into_iter())
        +    }
        +
        +    /// Converts to a list of [`hickory_resolver::proto::rr::Record`] resource records.
        +    fn to_hickory_records(
        +        txt_strings: Vec<String>,
        +        node_id: NodeId,
        +        origin: &str,
        +        ttl: u32,
        +    ) -> Result<impl Iterator<Item = hickory_resolver::proto::rr::Record> + '_> {
        +        use hickory_resolver::proto::rr;
        +        let name = format!("{}.{}.{}", IROH_TXT_NAME, node_id.to_z32(), origin);
        +        let name = rr::Name::from_utf8(name)?;
        +        let records = txt_strings.into_iter().map(move |s| {
        +            let txt = rr::rdata::TXT::new(vec![s]);
        +            let rdata = rr::RData::TXT(txt);
        +            rr::Record::from_rdata(name.clone(), ttl, rdata)
        +        });
        +        Ok(records)
        +    }
        +
        +    #[cfg(test)]
        +    mod tests {
        +        use iroh_base::NodeId;
        +        use testresult::TestResult;
        +
        +        #[test]
        +        fn test_node_id_from_domain_name() -> TestResult {
        +            let name = "_iroh.dgjpkxyn3zyrk3zfads5duwdgbqpkwbjxfj4yt7rezidr3fijccy.dns.iroh.link.";
        +            let node_id = super::node_id_from_domain_name(name);
        +            let expected: NodeId =
        +                "1992d53c02cdc04566e5c0edb1ce83305cd550297953a047a445ea3264b54b18".parse()?;
        +            assert_eq!(node_id, Some(expected));
        +            Ok(())
        +        }
        +    }
         }
         
        \ No newline at end of file diff --git a/pr/2937/docs/src/iroh_dns_server/lib.rs.html b/pr/2937/docs/src/iroh_dns_server/lib.rs.html index cc7433b9fb..55b1a62e72 100644 --- a/pr/2937/docs/src/iroh_dns_server/lib.rs.html +++ b/pr/2937/docs/src/iroh_dns_server/lib.rs.html @@ -273,13 +273,7 @@ 272 273 274 -275 -276 -277 -278 -279 -280 -281

      //! A DNS server and pkarr relay
      +275
      //! A DNS server and pkarr relay
       
       #![deny(missing_docs, rustdoc::broken_intra_doc_links)]
       
      @@ -303,14 +297,9 @@
           };
       
           use anyhow::Result;
      -    use hickory_resolver::{
      -        config::{NameServerConfig, ResolverConfig},
      -        Resolver,
      -    };
      -    use hickory_server::proto::xfer::Protocol;
           use iroh::{
               discovery::pkarr::PkarrRelayClient,
      -        dns::{node_info::NodeInfo, DnsResolver, ResolverExt},
      +        dns::{node_info::NodeInfo, DnsResolver},
               SecretKey,
           };
           use pkarr::{PkarrClient, SignedPacket};
      @@ -326,6 +315,8 @@
               ZoneStore,
           };
       
      +    const DNS_TIMEOUT: Duration = Duration::from_secs(1);
      +
           #[tokio::test]
           #[traced_test]
           async fn pkarr_publish_dns_resolve() -> Result<()> {
      @@ -401,38 +392,38 @@
       
               // resolve root record
               let name = Name::from_utf8(format!("{pubkey}."))?;
      -        let res = resolver.txt_lookup(name).await?;
      -        let records = res.iter().map(|t| t.to_string()).collect::<Vec<_>>();
      +        let res = resolver.lookup_txt(name, DNS_TIMEOUT).await?;
      +        let records = res.into_iter().map(|t| t.to_string()).collect::<Vec<_>>();
               assert_eq!(records, vec!["hi0".to_string()]);
       
               // resolve level one record
               let name = Name::from_utf8(format!("_hello.{pubkey}."))?;
      -        let res = resolver.txt_lookup(name).await?;
      -        let records = res.iter().map(|t| t.to_string()).collect::<Vec<_>>();
      +        let res = resolver.lookup_txt(name, DNS_TIMEOUT).await?;
      +        let records = res.into_iter().map(|t| t.to_string()).collect::<Vec<_>>();
               assert_eq!(records, vec!["hi1".to_string()]);
       
               // resolve level two record
               let name = Name::from_utf8(format!("_hello.world.{pubkey}."))?;
      -        let res = resolver.txt_lookup(name).await?;
      -        let records = res.iter().map(|t| t.to_string()).collect::<Vec<_>>();
      +        let res = resolver.lookup_txt(name, DNS_TIMEOUT).await?;
      +        let records = res.into_iter().map(|t| t.to_string()).collect::<Vec<_>>();
               assert_eq!(records, vec!["hi2".to_string()]);
       
               // resolve multiple records for same name
               let name = Name::from_utf8(format!("multiple.{pubkey}."))?;
      -        let res = resolver.txt_lookup(name).await?;
      -        let records = res.iter().map(|t| t.to_string()).collect::<Vec<_>>();
      +        let res = resolver.lookup_txt(name, DNS_TIMEOUT).await?;
      +        let records = res.into_iter().map(|t| t.to_string()).collect::<Vec<_>>();
               assert_eq!(records, vec!["hi3".to_string(), "hi4".to_string()]);
       
               // resolve A record
               let name = Name::from_utf8(format!("{pubkey}."))?;
      -        let res = resolver.ipv4_lookup(name).await?;
      -        let records = res.iter().map(|t| t.0).collect::<Vec<_>>();
      +        let res = resolver.lookup_ipv4(name, DNS_TIMEOUT).await?;
      +        let records = res.collect::<Vec<_>>();
               assert_eq!(records, vec![Ipv4Addr::LOCALHOST]);
       
               // resolve AAAA record
               let name = Name::from_utf8(format!("foo.bar.baz.{pubkey}."))?;
      -        let res = resolver.ipv6_lookup(name).await?;
      -        let records = res.iter().map(|t| t.0).collect::<Vec<_>>();
      +        let res = resolver.lookup_ipv6(name, DNS_TIMEOUT).await?;
      +        let records = res.collect::<Vec<_>>();
               assert_eq!(records, vec![Ipv6Addr::LOCALHOST]);
       
               server.shutdown().await?;
      @@ -462,7 +453,7 @@
               pkarr.publish(&signed_packet).await?;
       
               let resolver = test_resolver(nameserver);
      -        let res = resolver.lookup_by_id(&node_id, origin).await?;
      +        let res = resolver.lookup_node_by_id(&node_id, origin).await?;
       
               assert_eq!(res.node_id, node_id);
               assert_eq!(res.relay_url.map(Url::from), Some(relay_url));
      @@ -533,7 +524,7 @@
       
               // resolve via DNS from our server, which will lookup from our DHT
               let resolver = test_resolver(nameserver);
      -        let res = resolver.lookup_by_id(&node_id, origin).await?;
      +        let res = resolver.lookup_node_by_id(&node_id, origin).await?;
       
               assert_eq!(res.node_id, node_id);
               assert_eq!(res.relay_url.map(Url::from), Some(relay_url));
      @@ -546,10 +537,7 @@
           }
       
           fn test_resolver(nameserver: SocketAddr) -> DnsResolver {
      -        let mut config = ResolverConfig::new();
      -        let nameserver_config = NameServerConfig::new(nameserver, Protocol::Udp);
      -        config.add_name_server(nameserver_config);
      -        Resolver::tokio(config, Default::default())
      +        DnsResolver::with_nameserver(nameserver)
           }
       
           fn random_signed_packet() -> Result<SignedPacket> {
      diff --git a/pr/2937/docs/src/iroh_net_report/dns.rs.html b/pr/2937/docs/src/iroh_net_report/dns.rs.html
      index 87a477f47b..4f091a5f84 100644
      --- a/pr/2937/docs/src/iroh_net_report/dns.rs.html
      +++ b/pr/2937/docs/src/iroh_net_report/dns.rs.html
      @@ -10,520 +10,16 @@
       9
       10
       11
      -12
      -13
      -14
      -15
      -16
      -17
      -18
      -19
      -20
      -21
      -22
      -23
      -24
      -25
      -26
      -27
      -28
      -29
      -30
      -31
      -32
      -33
      -34
      -35
      -36
      -37
      -38
      -39
      -40
      -41
      -42
      -43
      -44
      -45
      -46
      -47
      -48
      -49
      -50
      -51
      -52
      -53
      -54
      -55
      -56
      -57
      -58
      -59
      -60
      -61
      -62
      -63
      -64
      -65
      -66
      -67
      -68
      -69
      -70
      -71
      -72
      -73
      -74
      -75
      -76
      -77
      -78
      -79
      -80
      -81
      -82
      -83
      -84
      -85
      -86
      -87
      -88
      -89
      -90
      -91
      -92
      -93
      -94
      -95
      -96
      -97
      -98
      -99
      -100
      -101
      -102
      -103
      -104
      -105
      -106
      -107
      -108
      -109
      -110
      -111
      -112
      -113
      -114
      -115
      -116
      -117
      -118
      -119
      -120
      -121
      -122
      -123
      -124
      -125
      -126
      -127
      -128
      -129
      -130
      -131
      -132
      -133
      -134
      -135
      -136
      -137
      -138
      -139
      -140
      -141
      -142
      -143
      -144
      -145
      -146
      -147
      -148
      -149
      -150
      -151
      -152
      -153
      -154
      -155
      -156
      -157
      -158
      -159
      -160
      -161
      -162
      -163
      -164
      -165
      -166
      -167
      -168
      -169
      -170
      -171
      -172
      -173
      -174
      -175
      -176
      -177
      -178
      -179
      -180
      -181
      -182
      -183
      -184
      -185
      -186
      -187
      -188
      -189
      -190
      -191
      -192
      -193
      -194
      -195
      -196
      -197
      -198
      -199
      -200
      -201
      -202
      -203
      -204
      -205
      -206
      -207
      -208
      -209
      -210
      -211
      -212
      -213
      -214
      -215
      -216
      -217
      -218
      -219
      -220
      -221
      -222
      -223
      -224
      -225
      -226
      -227
      -228
      -229
      -230
      -231
      -232
      -233
      -234
      -235
      -236
      -237
      -238
      -239
      -240
      -241
      -242
      -243
      -244
      -245
      -246
      -247
      -248
      -249
      -250
      -251
      -252
      -253
      -254
      -255
      -256
      -257
      -258
      -259
      -260
      -261
      -262
      -263
      -264
      use std::{fmt::Write, net::IpAddr};
      -
      -use anyhow::Result;
      -use hickory_resolver::{IntoName, TokioResolver};
      -use n0_future::{time, Future, StreamExt};
      -
      -use crate::defaults::timeouts::DNS_TIMEOUT;
      -
      -/// Delay used to perform staggered dns queries.
      +12
      /// Delay used to perform staggered dns queries.
       pub(crate) const DNS_STAGGERING_MS: &[u64] = &[200, 300];
       
      -/// Extension trait to [`TokioResolver`].
      -pub(crate) trait ResolverExt {
      -    /// Perform an ipv4 lookup.
      -    fn lookup_ipv4<N: IntoName>(
      -        &self,
      -        host: N,
      -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
      -
      -    /// Perform an ipv6 lookup.
      -    fn lookup_ipv6<N: IntoName>(
      -        &self,
      -        host: N,
      -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
      -
      -    /// Race an ipv4 and ipv6.
      -    fn lookup_ipv4_ipv6<N: IntoName + Clone>(
      -        &self,
      -        host: N,
      -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
      -
      -    /// Perform an ipv4 lookup in a staggered fashion.
      -    ///
      -    /// From the moment this function is called, each lookup is scheduled after the delays in
      -    /// [`DNS_STAGGERING_MS`] with the first call being done immediately. `[200ms, 300ms]` results
      -    /// in calls at T+0ms, T+200ms and T+300ms. The `timeout` is applied to each call individually.
      -    /// The result of the first successful call is returned, or a summary of all errors otherwise.
      -    fn lookup_ipv4_staggered<N: IntoName + Clone>(
      -        &self,
      -        host: N,
      -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
      -
      -    /// Perform an ipv6 lookup with a timeout in a staggered fashion.
      -    ///
      -    /// From the moment this function is called, each lookup is scheduled after the delays in
      -    /// [`DNS_STAGGERING_MS`] with the first call being done immediately. `[200ms, 300ms]` results
      -    /// in calls at T+0ms, T+200ms and T+300ms. The `timeout` is applied to each call individually.
      -    /// The result of the first successful call is returned, or a summary of all errors otherwise.
      -    fn lookup_ipv6_staggered<N: IntoName + Clone>(
      -        &self,
      -        host: N,
      -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
      -
      -    /// Race an ipv4 and ipv6 lookup in a staggered fashion.
      -    ///
      -    /// From the moment this function is called, each lookup is scheduled after the delays in
      -    /// [`DNS_STAGGERING_MS`] with the first call being done immediately. `[200ms, 300ms]` results
      -    /// in calls at T+0ms, T+200ms and T+300ms. The [`DNS_TIMEOUT`] is applied as stated in
      -    /// [`Self::lookup_ipv4_ipv6`]. The result of the first successful call is returned, or a
      -    /// summary of all errors otherwise.
      -    fn lookup_ipv4_ipv6_staggered<N: IntoName + Clone>(
      -        &self,
      -        host: N,
      -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
      -}
      -
      -impl ResolverExt for TokioResolver {
      -    async fn lookup_ipv4<N: IntoName>(&self, host: N) -> Result<impl Iterator<Item = IpAddr>> {
      -        let addrs = time::timeout(DNS_TIMEOUT, self.ipv4_lookup(host)).await??;
      -        Ok(addrs.into_iter().map(|ip| IpAddr::V4(ip.0)))
      -    }
      -
      -    async fn lookup_ipv6<N: IntoName>(&self, host: N) -> Result<impl Iterator<Item = IpAddr>> {
      -        let addrs = time::timeout(DNS_TIMEOUT, self.ipv6_lookup(host)).await??;
      -        Ok(addrs.into_iter().map(|ip| IpAddr::V6(ip.0)))
      -    }
      -
      -    /// Resolve IPv4 and IPv6 in parallel.
      -    ///
      -    /// `LookupIpStrategy::Ipv4AndIpv6` will wait for ipv6 resolution timeout, even if it is
      -    /// not usable on the stack, so we manually query both lookups concurrently and time them out
      -    /// individually.
      -    ///
      -    /// See [`ResolverExt::lookup_ipv4_ipv6`].
      -    async fn lookup_ipv4_ipv6<N: IntoName + Clone>(
      -        &self,
      -        host: N,
      -    ) -> Result<impl Iterator<Item = IpAddr>> {
      -        let res = tokio::join!(self.lookup_ipv4(host.clone()), self.lookup_ipv6(host));
      -
      -        match res {
      -            (Ok(ipv4), Ok(ipv6)) => Ok(LookupIter::Both(ipv4.chain(ipv6))),
      -            (Ok(ipv4), Err(_)) => Ok(LookupIter::Ipv4(ipv4)),
      -            (Err(_), Ok(ipv6)) => Ok(LookupIter::Ipv6(ipv6)),
      -            (Err(ipv4_err), Err(ipv6_err)) => {
      -                anyhow::bail!("Ipv4: {:?}, Ipv6: {:?}", ipv4_err, ipv6_err)
      -            }
      -        }
      -    }
      -
      -    async fn lookup_ipv4_staggered<N: IntoName + Clone>(
      -        &self,
      -        host: N,
      -    ) -> Result<impl Iterator<Item = IpAddr>> {
      -        let f = || self.lookup_ipv4(host.clone());
      -        stagger_call(f, DNS_STAGGERING_MS).await
      -    }
      -
      -    async fn lookup_ipv6_staggered<N: IntoName + Clone>(
      -        &self,
      -        host: N,
      -    ) -> Result<impl Iterator<Item = IpAddr>> {
      -        let f = || self.lookup_ipv6(host.clone());
      -        stagger_call(f, DNS_STAGGERING_MS).await
      -    }
      -
      -    async fn lookup_ipv4_ipv6_staggered<N: IntoName + Clone>(
      -        &self,
      -        host: N,
      -    ) -> Result<impl Iterator<Item = IpAddr>> {
      -        let f = || self.lookup_ipv4_ipv6(host.clone());
      -        stagger_call(f, DNS_STAGGERING_MS).await
      -    }
      -}
      -
      -/// Helper enum to give a unified type to the iterators of [`ResolverExt::lookup_ipv4_ipv6`].
      -enum LookupIter<A, B> {
      -    Ipv4(A),
      -    Ipv6(B),
      -    Both(std::iter::Chain<A, B>),
      -}
      -
      -impl<A: Iterator<Item = IpAddr>, B: Iterator<Item = IpAddr>> Iterator for LookupIter<A, B> {
      -    type Item = IpAddr;
      -
      -    fn next(&mut self) -> Option<Self::Item> {
      -        match self {
      -            LookupIter::Ipv4(iter) => iter.next(),
      -            LookupIter::Ipv6(iter) => iter.next(),
      -            LookupIter::Both(iter) => iter.next(),
      -        }
      -    }
      -}
      -
      -/// Staggers calls to the future F with the given delays.
      -///
      -/// The first call is performed immediately. The first call to succeed generates an Ok result
      -/// ignoring any previous error. If all calls fail, an error summarizing all errors is returned.
      -async fn stagger_call<T, F: Fn() -> Fut, Fut: Future<Output = Result<T>>>(
      -    f: F,
      -    delays_ms: &[u64],
      -) -> Result<T> {
      -    let mut calls = n0_future::FuturesUnorderedBounded::new(delays_ms.len() + 1);
      -    // NOTE: we add the 0 delay here to have a uniform set of futures. This is more performant than
      -    // using alternatives that allow futures of different types.
      -    for delay in std::iter::once(&0u64).chain(delays_ms) {
      -        let delay = time::Duration::from_millis(*delay);
      -        let fut = f();
      -        let staggered_fut = async move {
      -            time::sleep(delay).await;
      -            fut.await
      -        };
      -        calls.push(staggered_fut)
      -    }
      -
      -    let mut errors = vec![];
      -    while let Some(call_result) = calls.next().await {
      -        match call_result {
      -            Ok(t) => return Ok(t),
      -            Err(e) => errors.push(e),
      -        }
      -    }
      -
      -    anyhow::bail!(
      -        "no calls succeed: [ {}]",
      -        errors.into_iter().fold(String::new(), |mut summary, e| {
      -            write!(summary, "{e} ").expect("infallible");
      -            summary
      -        })
      -    )
      -}
      -
       #[cfg(test)]
       pub(crate) mod tests {
      -    use std::{
      -        net::Ipv6Addr,
      -        sync::{atomic::AtomicUsize, OnceLock},
      -    };
      -
      -    use tracing_test::traced_test;
      -
      -    use super::*;
      -
      -    static DNS_RESOLVER: OnceLock<TokioResolver> = OnceLock::new();
      +    use iroh_relay::dns::DnsResolver;
       
           /// Get a DNS resolver suitable for testing.
      -    pub fn resolver() -> &'static TokioResolver {
      -        DNS_RESOLVER
      -            .get_or_init(|| create_default_resolver().expect("unable to create DNS resolver"))
      -    }
      -
      -    /// Deprecated IPv6 site-local anycast addresses still configured by windows.
      -    ///
      -    /// Windows still configures these site-local addresses as soon even as an IPv6 loopback
      -    /// interface is configured.  We do not want to use these DNS servers, the chances of them
      -    /// being usable are almost always close to zero, while the chance of DNS configuration
      -    /// **only** relying on these servers and not also being configured normally are also almost
      -    /// zero.  The chance of the DNS resolver accidentally trying one of these and taking a
      -    /// bunch of timeouts to figure out they're no good are on the other hand very high.
      -    const WINDOWS_BAD_SITE_LOCAL_DNS_SERVERS: [IpAddr; 3] = [
      -        IpAddr::V6(Ipv6Addr::new(0xfec0, 0, 0, 0xffff, 0, 0, 0, 1)),
      -        IpAddr::V6(Ipv6Addr::new(0xfec0, 0, 0, 0xffff, 0, 0, 0, 2)),
      -        IpAddr::V6(Ipv6Addr::new(0xfec0, 0, 0, 0xffff, 0, 0, 0, 3)),
      -    ];
      -
      -    /// Get resolver to query MX records.
      -    ///
      -    /// We first try to read the system's resolver from `/etc/resolv.conf`.
      -    /// This does not work at least on some Androids, therefore we fallback
      -    /// to the default `ResolverConfig` which uses eg. to google's `8.8.8.8` or `8.8.4.4`.
      -    fn create_default_resolver() -> Result<TokioResolver> {
      -        let (system_config, mut options) =
      -            hickory_resolver::system_conf::read_system_conf().unwrap_or_default();
      -
      -        // Copy all of the system config, but strip the bad windows nameservers.  Unfortunately
      -        // there is no easy way to do this.
      -        let mut config = hickory_resolver::config::ResolverConfig::new();
      -        if let Some(name) = system_config.domain() {
      -            config.set_domain(name.clone());
      -        }
      -        for name in system_config.search() {
      -            config.add_search(name.clone());
      -        }
      -        for nameserver_cfg in system_config.name_servers() {
      -            if !WINDOWS_BAD_SITE_LOCAL_DNS_SERVERS.contains(&nameserver_cfg.socket_addr.ip()) {
      -                config.add_name_server(nameserver_cfg.clone());
      -            }
      -        }
      -
      -        // see [`ResolverExt::lookup_ipv4_ipv6`] for info on why we avoid `LookupIpStrategy::Ipv4AndIpv6`
      -        options.ip_strategy = hickory_resolver::config::LookupIpStrategy::Ipv4thenIpv6;
      -
      -        let resolver = hickory_resolver::Resolver::tokio(config, options);
      -        Ok(resolver)
      -    }
      -
      -    #[tokio::test]
      -    #[traced_test]
      -    async fn stagger_basic() {
      -        const CALL_RESULTS: &[Result<u8, u8>] = &[Err(2), Ok(3), Ok(5), Ok(7)];
      -        static DONE_CALL: AtomicUsize = AtomicUsize::new(0);
      -        let f = || {
      -            let r_pos = DONE_CALL.fetch_add(1, std::sync::atomic::Ordering::Relaxed);
      -            async move {
      -                tracing::info!(r_pos, "call");
      -                CALL_RESULTS[r_pos].map_err(|e| anyhow::anyhow!("{e}"))
      -            }
      -        };
      -
      -        let delays = [1000, 15];
      -        let result = stagger_call(f, &delays).await.unwrap();
      -        assert_eq!(result, 5)
      +    pub fn resolver() -> DnsResolver {
      +        DnsResolver::new()
           }
       }
       
      \ No newline at end of file diff --git a/pr/2937/docs/src/iroh_net_report/lib.rs.html b/pr/2937/docs/src/iroh_net_report/lib.rs.html index fe96f811a9..7c38ec5b9f 100644 --- a/pr/2937/docs/src/iroh_net_report/lib.rs.html +++ b/pr/2937/docs/src/iroh_net_report/lib.rs.html @@ -1475,8 +1475,7 @@ 1474 1475 1476 -1477 -1478
      //! Checks the network conditions from the current host.
      +1477
      //! Checks the network conditions from the current host.
       //!
       //! NetReport is responsible for finding out the network conditions of the current host, like
       //! whether it is connected to the internet via IPv4 and/or IPv6, what the NAT situation is
      @@ -1496,11 +1495,10 @@
       
       use anyhow::{anyhow, Result};
       use bytes::Bytes;
      -use hickory_resolver::TokioResolver as DnsResolver;
       use iroh_base::RelayUrl;
       #[cfg(feature = "metrics")]
       use iroh_metrics::inc;
      -use iroh_relay::{protos::stun, RelayMap};
      +use iroh_relay::{dns::DnsResolver, protos::stun, RelayMap};
       use n0_future::{
           task::{self, AbortOnDropHandle},
           time::{Duration, Instant},
      @@ -1695,7 +1693,7 @@
       ///
       /// Use [`Options::stun_v4`], [`Options::stun_v6`], and [`Options::quic_config`]
       /// to enable STUN over IPv4, STUN over IPv6, and QUIC address discovery.
      -#[derive(Debug)]
      +#[derive(Debug, Clone)]
       pub struct Options {
           /// Socket to send IPv4 STUN probes from.
           ///
      diff --git a/pr/2937/docs/src/iroh_net_report/ping.rs.html b/pr/2937/docs/src/iroh_net_report/ping.rs.html
      index 5725679318..6ea5dc14b9 100644
      --- a/pr/2937/docs/src/iroh_net_report/ping.rs.html
      +++ b/pr/2937/docs/src/iroh_net_report/ping.rs.html
      @@ -161,36 +161,7 @@
       160
       161
       162
      -163
      -164
      -165
      -166
      -167
      -168
      -169
      -170
      -171
      -172
      -173
      -174
      -175
      -176
      -177
      -178
      -179
      -180
      -181
      -182
      -183
      -184
      -185
      -186
      -187
      -188
      -189
      -190
      -191
      -192
      //! Allows sending ICMP echo requests to a host in order to determine network latency.
      +163
      //! Allows sending ICMP echo requests to a host in order to determine network latency.
       
       use std::{
           fmt::Debug,
      @@ -320,35 +291,6 @@
       
           use super::*;
       
      -    #[tokio::test]
      -    #[ignore] // Doesn't work in CI
      -    #[traced_test]
      -    async fn test_ping_google() -> Result<()> {
      -        // Public DNS addrs from google based on
      -        // https://developers.google.com/speed/public-dns/docs/using
      -
      -        let pinger = Pinger::new();
      -
      -        // IPv4
      -        let dur = pinger.send("8.8.8.8".parse()?, &[1u8; 8]).await?;
      -        assert!(!dur.is_zero());
      -
      -        // IPv6
      -        match pinger
      -            .send("2001:4860:4860:0:0:0:0:8888".parse()?, &[1u8; 8])
      -            .await
      -        {
      -            Ok(dur) => {
      -                assert!(!dur.is_zero());
      -            }
      -            Err(err) => {
      -                tracing::error!("IPv6 is not available: {:?}", err);
      -            }
      -        }
      -
      -        Ok(())
      -    }
      -
           // See net_report::reportgen::tests::test_icmp_probe_eu_relay for permissions to ping.
           #[tokio::test]
           #[traced_test]
      diff --git a/pr/2937/docs/src/iroh_net_report/reportgen.rs.html b/pr/2937/docs/src/iroh_net_report/reportgen.rs.html
      index 04ff7219e0..8775aeb222 100644
      --- a/pr/2937/docs/src/iroh_net_report/reportgen.rs.html
      +++ b/pr/2937/docs/src/iroh_net_report/reportgen.rs.html
      @@ -1667,7 +1667,14 @@
       1666
       1667
       1668
      -1669
      //! The reportgen actor is responsible for generating a single net_report report.
      +1669
      +1670
      +1671
      +1672
      +1673
      +1674
      +1675
      +1676
      //! The reportgen actor is responsible for generating a single net_report report.
       //!
       //! It is implemented as an actor with [`Client`] as handle.
       //!
      @@ -1695,12 +1702,12 @@
       };
       
       use anyhow::{anyhow, bail, Context as _, Result};
      -use hickory_resolver::TokioResolver as DnsResolver;
       use iroh_base::RelayUrl;
       #[cfg(feature = "metrics")]
       use iroh_metrics::inc;
       use iroh_relay::{
           defaults::{DEFAULT_RELAY_QUIC_PORT, DEFAULT_STUN_PORT},
      +    dns::DnsResolver,
           http::RELAY_PROBE_PATH,
           protos::stun,
           RelayMap, RelayNode,
      @@ -1719,7 +1726,8 @@
       use crate::Metrics;
       use crate::{
           self as net_report,
      -    dns::ResolverExt,
      +    defaults::timeouts::DNS_TIMEOUT,
      +    dns::DNS_STAGGERING_MS,
           ip_mapped_addrs::IpMappedAddresses,
           ping::{PingError, Pinger},
           Report,
      @@ -2673,7 +2681,7 @@
               // Ideally we would try to resolve **both** IPv4 and IPv6 rather than purely race
               // them.  But our resolver doesn't support that yet.
               let addrs: Vec<_> = dns_resolver
      -            .lookup_ipv4_ipv6_staggered(domain)
      +            .lookup_ipv4_ipv6_staggered(domain, DNS_TIMEOUT, DNS_STAGGERING_MS)
                   .await?
                   .map(|ipaddr| SocketAddr::new(ipaddr, 0))
                   .collect();
      @@ -2780,7 +2788,10 @@
           match relay.url.host() {
               Some(url::Host::Domain(hostname)) => {
                   debug!(%hostname, "Performing DNS A lookup for relay addr");
      -            match dns_resolver.lookup_ipv4_staggered(hostname).await {
      +            match dns_resolver
      +                .lookup_ipv4_staggered(hostname, DNS_TIMEOUT, DNS_STAGGERING_MS)
      +                .await
      +            {
                       Ok(mut addrs) => addrs
                           .next()
                           .map(|ip| ip.to_canonical())
      @@ -2806,7 +2817,10 @@
           match relay.url.host() {
               Some(url::Host::Domain(hostname)) => {
                   debug!(%hostname, "Performing DNS AAAA lookup for relay addr");
      -            match dns_resolver.lookup_ipv6_staggered(hostname).await {
      +            match dns_resolver
      +                .lookup_ipv6_staggered(hostname, DNS_TIMEOUT, DNS_STAGGERING_MS)
      +                .await
      +            {
                       Ok(mut addrs) => addrs
                           .next()
                           .map(|ip| ip.to_canonical())
      @@ -2888,7 +2902,7 @@
               // but staggered for reliability.  Ideally this tries to resolve **both** IPv4 and
               // IPv6 though.  But our resolver does not have a function for that yet.
               let addrs: Vec<_> = dns_resolver
      -            .lookup_ipv4_ipv6_staggered(domain)
      +            .lookup_ipv4_ipv6_staggered(domain, DNS_TIMEOUT, DNS_STAGGERING_MS)
                   .await?
                   .map(|ipaddr| SocketAddr::new(ipaddr, 0))
                   .collect();
      @@ -3281,7 +3295,7 @@
               let dns_resolver = crate::dns::tests::resolver();
               tracing::info!(relay_url = ?relay.url , "RELAY_URL");
               let (latency, ip) =
      -            measure_https_latency(dns_resolver, &relay, server.certificates()).await?;
      +            measure_https_latency(&dns_resolver, &relay, server.certificates()).await?;
       
               assert!(latency > Duration::ZERO);
       
      diff --git a/pr/2937/docs/src/iroh_relay/client.rs.html b/pr/2937/docs/src/iroh_relay/client.rs.html
      index 7468a39e29..76cbd8d1b0 100644
      --- a/pr/2937/docs/src/iroh_relay/client.rs.html
      +++ b/pr/2937/docs/src/iroh_relay/client.rs.html
      @@ -381,8 +381,6 @@
       
       use anyhow::{anyhow, bail, Result};
       use conn::Conn;
      -#[cfg(not(wasm_browser))]
      -use hickory_resolver::TokioResolver as DnsResolver;
       use iroh_base::{RelayUrl, SecretKey};
       use n0_future::{
           split::{split, SplitSink, SplitStream},
      @@ -394,6 +392,8 @@
       use url::Url;
       
       pub use self::conn::{ConnSendError, ReceivedMessage, SendMessage};
      +#[cfg(not(wasm_browser))]
      +use crate::dns::DnsResolver;
       use crate::{
           http::{Protocol, RELAY_PATH},
           KeyCache,
      diff --git a/pr/2937/docs/src/iroh_relay/client/connect_relay.rs.html b/pr/2937/docs/src/iroh_relay/client/connect_relay.rs.html
      index 9b827d9f8f..8533983dd0 100644
      --- a/pr/2937/docs/src/iroh_relay/client/connect_relay.rs.html
      +++ b/pr/2937/docs/src/iroh_relay/client/connect_relay.rs.html
      @@ -344,56 +344,7 @@
       343
       344
       345
      -346
      -347
      -348
      -349
      -350
      -351
      -352
      -353
      -354
      -355
      -356
      -357
      -358
      -359
      -360
      -361
      -362
      -363
      -364
      -365
      -366
      -367
      -368
      -369
      -370
      -371
      -372
      -373
      -374
      -375
      -376
      -377
      -378
      -379
      -380
      -381
      -382
      -383
      -384
      -385
      -386
      -387
      -388
      -389
      -390
      -391
      -392
      -393
      -394
      -395
      //! Functionality related to `ClientBuilder::connect_relay`.
      +346
      //! Functionality related to `ClientBuilder::connect_relay`.
       //!
       //! This is (1) likely to be phased out over time in favor of websockets, and
       //! (2) doesn't work in the browser - thus separated into its own file.
      @@ -408,9 +359,7 @@
       
       // Based on tailscale/derp/derphttp/derphttp_client.go
       
      -use std::{future::Future, net::IpAddr};
      -
      -use anyhow::Context;
      +use anyhow::Context;
       use bytes::Bytes;
       use data_encoding::BASE64URL;
       use http_body_util::Empty;
      @@ -558,7 +507,7 @@
               let prefer_ipv6 = self.prefer_ipv6();
               let dst_ip = self
                   .dns_resolver
      -            .resolve_host(&self.url, prefer_ipv6)
      +            .resolve_host(&self.url, prefer_ipv6, DNS_TIMEOUT)
                   .await?;
       
               let port = url_port(&self.url).ok_or_else(|| anyhow!("Missing URL port"))?;
      @@ -590,7 +539,7 @@
               let prefer_ipv6 = self.prefer_ipv6();
               let proxy_ip = self
                   .dns_resolver
      -            .resolve_host(&proxy_url, prefer_ipv6)
      +            .resolve_host(&proxy_url, prefer_ipv6, DNS_TIMEOUT)
                   .await?;
       
               let proxy_port = url_port(&proxy_url).ok_or_else(|| anyhow!("Missing proxy url port"))?;
      @@ -712,53 +661,6 @@
           }
       }
       
      -trait DnsExt {
      -    fn lookup_ipv4<N: hickory_resolver::IntoName>(
      -        &self,
      -        host: N,
      -    ) -> impl Future<Output = Result<Option<IpAddr>>>;
      -
      -    fn lookup_ipv6<N: hickory_resolver::IntoName>(
      -        &self,
      -        host: N,
      -    ) -> impl Future<Output = Result<Option<IpAddr>>>;
      -
      -    fn resolve_host(&self, url: &Url, prefer_ipv6: bool) -> impl Future<Output = Result<IpAddr>>;
      -}
      -
      -impl DnsExt for DnsResolver {
      -    async fn lookup_ipv4<N: hickory_resolver::IntoName>(&self, host: N) -> Result<Option<IpAddr>> {
      -        let addrs = tokio::time::timeout(DNS_TIMEOUT, self.ipv4_lookup(host)).await??;
      -        Ok(addrs.into_iter().next().map(|ip| IpAddr::V4(ip.0)))
      -    }
      -
      -    async fn lookup_ipv6<N: hickory_resolver::IntoName>(&self, host: N) -> Result<Option<IpAddr>> {
      -        let addrs = tokio::time::timeout(DNS_TIMEOUT, self.ipv6_lookup(host)).await??;
      -        Ok(addrs.into_iter().next().map(|ip| IpAddr::V6(ip.0)))
      -    }
      -
      -    async fn resolve_host(&self, url: &Url, prefer_ipv6: bool) -> Result<IpAddr> {
      -        let host = url.host().context("Invalid URL")?;
      -        match host {
      -            url::Host::Domain(domain) => {
      -                // Need to do a DNS lookup
      -                let lookup = tokio::join!(self.lookup_ipv4(domain), self.lookup_ipv6(domain));
      -                let (v4, v6) = match lookup {
      -                    (Err(ipv4_err), Err(ipv6_err)) => {
      -                        bail!("Ipv4: {ipv4_err:?}, Ipv6: {ipv6_err:?}");
      -                    }
      -                    (Err(_), Ok(v6)) => (None, v6),
      -                    (Ok(v4), Err(_)) => (v4, None),
      -                    (Ok(v4), Ok(v6)) => (v4, v6),
      -                };
      -                if prefer_ipv6 { v6.or(v4) } else { v4.or(v6) }.context("No response")
      -            }
      -            url::Host::Ipv4(ip) => Ok(IpAddr::V4(ip)),
      -            url::Host::Ipv6(ip) => Ok(IpAddr::V6(ip)),
      -        }
      -    }
      -}
      -
       #[cfg(test)]
       mod tests {
           use std::str::FromStr;
      diff --git a/pr/2937/docs/src/iroh_relay/dns.rs.html b/pr/2937/docs/src/iroh_relay/dns.rs.html
      new file mode 100644
      index 0000000000..c3bcb197f5
      --- /dev/null
      +++ b/pr/2937/docs/src/iroh_relay/dns.rs.html
      @@ -0,0 +1,819 @@
      +dns.rs - source

      iroh_relay/
      dns.rs

      +1
      +2
      +3
      +4
      +5
      +6
      +7
      +8
      +9
      +10
      +11
      +12
      +13
      +14
      +15
      +16
      +17
      +18
      +19
      +20
      +21
      +22
      +23
      +24
      +25
      +26
      +27
      +28
      +29
      +30
      +31
      +32
      +33
      +34
      +35
      +36
      +37
      +38
      +39
      +40
      +41
      +42
      +43
      +44
      +45
      +46
      +47
      +48
      +49
      +50
      +51
      +52
      +53
      +54
      +55
      +56
      +57
      +58
      +59
      +60
      +61
      +62
      +63
      +64
      +65
      +66
      +67
      +68
      +69
      +70
      +71
      +72
      +73
      +74
      +75
      +76
      +77
      +78
      +79
      +80
      +81
      +82
      +83
      +84
      +85
      +86
      +87
      +88
      +89
      +90
      +91
      +92
      +93
      +94
      +95
      +96
      +97
      +98
      +99
      +100
      +101
      +102
      +103
      +104
      +105
      +106
      +107
      +108
      +109
      +110
      +111
      +112
      +113
      +114
      +115
      +116
      +117
      +118
      +119
      +120
      +121
      +122
      +123
      +124
      +125
      +126
      +127
      +128
      +129
      +130
      +131
      +132
      +133
      +134
      +135
      +136
      +137
      +138
      +139
      +140
      +141
      +142
      +143
      +144
      +145
      +146
      +147
      +148
      +149
      +150
      +151
      +152
      +153
      +154
      +155
      +156
      +157
      +158
      +159
      +160
      +161
      +162
      +163
      +164
      +165
      +166
      +167
      +168
      +169
      +170
      +171
      +172
      +173
      +174
      +175
      +176
      +177
      +178
      +179
      +180
      +181
      +182
      +183
      +184
      +185
      +186
      +187
      +188
      +189
      +190
      +191
      +192
      +193
      +194
      +195
      +196
      +197
      +198
      +199
      +200
      +201
      +202
      +203
      +204
      +205
      +206
      +207
      +208
      +209
      +210
      +211
      +212
      +213
      +214
      +215
      +216
      +217
      +218
      +219
      +220
      +221
      +222
      +223
      +224
      +225
      +226
      +227
      +228
      +229
      +230
      +231
      +232
      +233
      +234
      +235
      +236
      +237
      +238
      +239
      +240
      +241
      +242
      +243
      +244
      +245
      +246
      +247
      +248
      +249
      +250
      +251
      +252
      +253
      +254
      +255
      +256
      +257
      +258
      +259
      +260
      +261
      +262
      +263
      +264
      +265
      +266
      +267
      +268
      +269
      +270
      +271
      +272
      +273
      +274
      +275
      +276
      +277
      +278
      +279
      +280
      +281
      +282
      +283
      +284
      +285
      +286
      +287
      +288
      +289
      +290
      +291
      +292
      +293
      +294
      +295
      +296
      +297
      +298
      +299
      +300
      +301
      +302
      +303
      +304
      +305
      +306
      +307
      +308
      +309
      +310
      +311
      +312
      +313
      +314
      +315
      +316
      +317
      +318
      +319
      +320
      +321
      +322
      +323
      +324
      +325
      +326
      +327
      +328
      +329
      +330
      +331
      +332
      +333
      +334
      +335
      +336
      +337
      +338
      +339
      +340
      +341
      +342
      +343
      +344
      +345
      +346
      +347
      +348
      +349
      +350
      +351
      +352
      +353
      +354
      +355
      +356
      +357
      +358
      +359
      +360
      +361
      +362
      +363
      +364
      +365
      +366
      +367
      +368
      +369
      +370
      +371
      +372
      +373
      +374
      +375
      +376
      +377
      +378
      +379
      +380
      +381
      +382
      +383
      +384
      +385
      +386
      +387
      +388
      +389
      +390
      +391
      +392
      +393
      +394
      +395
      +396
      +397
      +398
      +399
      +400
      +401
      +402
      +403
      +404
      +405
      +406
      +407
      +408
      +409
      //! DNS resolver
      +
      +use std::{
      +    fmt::{self, Write},
      +    future::Future,
      +    net::{IpAddr, Ipv6Addr, SocketAddr},
      +};
      +
      +use anyhow::{bail, Context, Result};
      +use hickory_resolver::{Resolver, TokioResolver};
      +use iroh_base::{NodeAddr, NodeId};
      +use n0_future::{
      +    time::{self, Duration},
      +    StreamExt,
      +};
      +use url::Url;
      +
      +pub mod node_info;
      +
      +/// The n0 testing DNS node origin, for production.
      +pub const N0_DNS_NODE_ORIGIN_PROD: &str = "dns.iroh.link";
      +/// The n0 testing DNS node origin, for testing.
      +pub const N0_DNS_NODE_ORIGIN_STAGING: &str = "staging-dns.iroh.link";
      +
      +/// The DNS resolver used throughout `iroh`.
      +#[derive(Debug, Clone)]
      +pub struct DnsResolver(TokioResolver);
      +
      +impl DnsResolver {
      +    /// Create a new DNS resolver with sensible cross-platform defaults.
      +    ///
      +    /// We first try to read the system's resolver from `/etc/resolv.conf`.
      +    /// This does not work at least on some Androids, therefore we fallback
      +    /// to the default `ResolverConfig` which uses eg. to google's `8.8.8.8` or `8.8.4.4`.
      +    pub fn new() -> Self {
      +        let (system_config, mut options) =
      +            hickory_resolver::system_conf::read_system_conf().unwrap_or_default();
      +
      +        // Copy all of the system config, but strip the bad windows nameservers.  Unfortunately
      +        // there is no easy way to do this.
      +        let mut config = hickory_resolver::config::ResolverConfig::new();
      +        if let Some(name) = system_config.domain() {
      +            config.set_domain(name.clone());
      +        }
      +        for name in system_config.search() {
      +            config.add_search(name.clone());
      +        }
      +        for nameserver_cfg in system_config.name_servers() {
      +            if !WINDOWS_BAD_SITE_LOCAL_DNS_SERVERS.contains(&nameserver_cfg.socket_addr.ip()) {
      +                config.add_name_server(nameserver_cfg.clone());
      +            }
      +        }
      +
      +        // see [`DnsResolver::lookup_ipv4_ipv6`] for info on why we avoid `LookupIpStrategy::Ipv4AndIpv6`
      +        options.ip_strategy = hickory_resolver::config::LookupIpStrategy::Ipv4thenIpv6;
      +
      +        let resolver = Resolver::tokio(config, options);
      +        DnsResolver(resolver)
      +    }
      +
      +    /// Create a new DNS resolver configured with a single UDP DNS nameserver.
      +    pub fn with_nameserver(nameserver: SocketAddr) -> Self {
      +        let mut config = hickory_resolver::config::ResolverConfig::new();
      +        let nameserver_config = hickory_resolver::config::NameServerConfig::new(
      +            nameserver,
      +            hickory_resolver::proto::xfer::Protocol::Udp,
      +        );
      +        config.add_name_server(nameserver_config);
      +        DnsResolver(Resolver::tokio(config, Default::default()))
      +    }
      +
      +    /// Removes all entries from the cache.
      +    pub fn clear_cache(&self) {
      +        self.0.clear_cache();
      +    }
      +
      +    /// Lookup a TXT record.
      +    pub async fn lookup_txt(&self, host: impl ToString, timeout: Duration) -> Result<TxtLookup> {
      +        let host = host.to_string();
      +        let res = time::timeout(timeout, self.0.txt_lookup(host)).await??;
      +        Ok(TxtLookup(res))
      +    }
      +
      +    /// Perform an ipv4 lookup with a timeout.
      +    pub async fn lookup_ipv4(
      +        &self,
      +        host: impl ToString,
      +        timeout: Duration,
      +    ) -> Result<impl Iterator<Item = IpAddr>> {
      +        let host = host.to_string();
      +        let addrs = time::timeout(timeout, self.0.ipv4_lookup(host)).await??;
      +        Ok(addrs.into_iter().map(|ip| IpAddr::V4(ip.0)))
      +    }
      +
      +    /// Perform an ipv6 lookup with a timeout.
      +    pub async fn lookup_ipv6(
      +        &self,
      +        host: impl ToString,
      +        timeout: Duration,
      +    ) -> Result<impl Iterator<Item = IpAddr>> {
      +        let host = host.to_string();
      +        let addrs = time::timeout(timeout, self.0.ipv6_lookup(host)).await??;
      +        Ok(addrs.into_iter().map(|ip| IpAddr::V6(ip.0)))
      +    }
      +
      +    /// Resolve IPv4 and IPv6 in parallel with a timeout.
      +    ///
      +    /// `LookupIpStrategy::Ipv4AndIpv6` will wait for ipv6 resolution timeout, even if it is
      +    /// not usable on the stack, so we manually query both lookups concurrently and time them out
      +    /// individually.
      +    pub async fn lookup_ipv4_ipv6(
      +        &self,
      +        host: impl ToString,
      +        timeout: Duration,
      +    ) -> Result<impl Iterator<Item = IpAddr>> {
      +        let host = host.to_string();
      +        let res = tokio::join!(
      +            self.lookup_ipv4(host.clone(), timeout),
      +            self.lookup_ipv6(host, timeout)
      +        );
      +
      +        match res {
      +            (Ok(ipv4), Ok(ipv6)) => Ok(LookupIter::Both(ipv4.chain(ipv6))),
      +            (Ok(ipv4), Err(_)) => Ok(LookupIter::Ipv4(ipv4)),
      +            (Err(_), Ok(ipv6)) => Ok(LookupIter::Ipv6(ipv6)),
      +            (Err(ipv4_err), Err(ipv6_err)) => {
      +                bail!("Ipv4: {:?}, Ipv6: {:?}", ipv4_err, ipv6_err)
      +            }
      +        }
      +    }
      +
      +    /// Resolve a hostname from a URL to an IP address.
      +    pub async fn resolve_host(
      +        &self,
      +        url: &Url,
      +        prefer_ipv6: bool,
      +        timeout: Duration,
      +    ) -> Result<IpAddr> {
      +        let host = url.host().context("Invalid URL")?;
      +        match host {
      +            url::Host::Domain(domain) => {
      +                // Need to do a DNS lookup
      +                let lookup = tokio::join!(
      +                    self.lookup_ipv4(domain, timeout),
      +                    self.lookup_ipv6(domain, timeout)
      +                );
      +                let (v4, v6) = match lookup {
      +                    (Err(ipv4_err), Err(ipv6_err)) => {
      +                        bail!("Ipv4: {ipv4_err:?}, Ipv6: {ipv6_err:?}");
      +                    }
      +                    (Err(_), Ok(mut v6)) => (None, v6.next()),
      +                    (Ok(mut v4), Err(_)) => (v4.next(), None),
      +                    (Ok(mut v4), Ok(mut v6)) => (v4.next(), v6.next()),
      +                };
      +                if prefer_ipv6 { v6.or(v4) } else { v4.or(v6) }.context("No response")
      +            }
      +            url::Host::Ipv4(ip) => Ok(IpAddr::V4(ip)),
      +            url::Host::Ipv6(ip) => Ok(IpAddr::V6(ip)),
      +        }
      +    }
      +
      +    /// Perform an ipv4 lookup with a timeout in a staggered fashion.
      +    ///
      +    /// From the moment this function is called, each lookup is scheduled after the delays in
      +    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
      +    /// at T+0ms, T+200ms and T+300ms. The `timeout` is applied to each call individually. The
      +    /// result of the first successful call is returned, or a summary of all errors otherwise.
      +    pub async fn lookup_ipv4_staggered(
      +        &self,
      +        host: impl ToString,
      +        timeout: Duration,
      +        delays_ms: &[u64],
      +    ) -> Result<impl Iterator<Item = IpAddr>> {
      +        let host = host.to_string();
      +        let f = || self.lookup_ipv4(host.clone(), timeout);
      +        stagger_call(f, delays_ms).await
      +    }
      +
      +    /// Perform an ipv6 lookup with a timeout in a staggered fashion.
      +    ///
      +    /// From the moment this function is called, each lookup is scheduled after the delays in
      +    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
      +    /// at T+0ms, T+200ms and T+300ms. The `timeout` is applied to each call individually. The
      +    /// result of the first successful call is returned, or a summary of all errors otherwise.
      +    pub async fn lookup_ipv6_staggered(
      +        &self,
      +        host: impl ToString,
      +        timeout: Duration,
      +        delays_ms: &[u64],
      +    ) -> Result<impl Iterator<Item = IpAddr>> {
      +        let host = host.to_string();
      +        let f = || self.lookup_ipv6(host.clone(), timeout);
      +        stagger_call(f, delays_ms).await
      +    }
      +
      +    /// Race an ipv4 and ipv6 lookup with a timeout in a staggered fashion.
      +    ///
      +    /// From the moment this function is called, each lookup is scheduled after the delays in
      +    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
      +    /// at T+0ms, T+200ms and T+300ms. The `timeout` is applied as stated in
      +    /// [`Self::lookup_ipv4_ipv6`]. The result of the first successful call is returned, or a
      +    /// summary of all errors otherwise.
      +    pub async fn lookup_ipv4_ipv6_staggered(
      +        &self,
      +        host: impl ToString,
      +        timeout: Duration,
      +        delays_ms: &[u64],
      +    ) -> Result<impl Iterator<Item = IpAddr>> {
      +        let host = host.to_string();
      +        let f = || self.lookup_ipv4_ipv6(host.clone(), timeout);
      +        stagger_call(f, delays_ms).await
      +    }
      +
      +    /// Looks up node info by [`NodeId`] and origin domain name.
      +    ///
      +    /// To lookup nodes that published their node info to the DNS servers run by n0,
      +    /// pass [`N0_DNS_NODE_ORIGIN_PROD`] as `origin`.
      +    pub async fn lookup_node_by_id(&self, node_id: &NodeId, origin: &str) -> Result<NodeAddr> {
      +        let attrs =
      +            node_info::TxtAttrs::<node_info::IrohAttr>::lookup_by_id(self, node_id, origin).await?;
      +        let info: node_info::NodeInfo = attrs.into();
      +        Ok(info.into())
      +    }
      +
      +    /// Looks up node info by DNS name.
      +    pub async fn lookup_node_by_domain_name(&self, name: &str) -> Result<NodeAddr> {
      +        let attrs = node_info::TxtAttrs::<node_info::IrohAttr>::lookup_by_name(self, name).await?;
      +        let info: node_info::NodeInfo = attrs.into();
      +        Ok(info.into())
      +    }
      +
      +    /// Looks up node info by DNS name in a staggered fashion.
      +    ///
      +    /// From the moment this function is called, each lookup is scheduled after the delays in
      +    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
      +    /// at T+0ms, T+200ms and T+300ms. The result of the first successful call is returned, or a
      +    /// summary of all errors otherwise.
      +    pub async fn lookup_node_by_domain_name_staggered(
      +        &self,
      +        name: &str,
      +        delays_ms: &[u64],
      +    ) -> Result<NodeAddr> {
      +        let f = || self.lookup_node_by_domain_name(name);
      +        stagger_call(f, delays_ms).await
      +    }
      +
      +    /// Looks up node info by [`NodeId`] and origin domain name.
      +    ///
      +    /// From the moment this function is called, each lookup is scheduled after the delays in
      +    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
      +    /// at T+0ms, T+200ms and T+300ms. The result of the first successful call is returned, or a
      +    /// summary of all errors otherwise.
      +    pub async fn lookup_node_by_id_staggered(
      +        &self,
      +        node_id: &NodeId,
      +        origin: &str,
      +        delays_ms: &[u64],
      +    ) -> Result<NodeAddr> {
      +        let f = || self.lookup_node_by_id(node_id, origin);
      +        stagger_call(f, delays_ms).await
      +    }
      +}
      +
      +impl Default for DnsResolver {
      +    fn default() -> Self {
      +        Self::new()
      +    }
      +}
      +
      +impl From<TokioResolver> for DnsResolver {
      +    fn from(resolver: TokioResolver) -> Self {
      +        DnsResolver(resolver)
      +    }
      +}
      +
      +/// TXT records returned from [`DnsResolver::lookup_txt`]
      +#[derive(Debug, Clone)]
      +pub struct TxtLookup(hickory_resolver::lookup::TxtLookup);
      +
      +impl From<hickory_resolver::lookup::TxtLookup> for TxtLookup {
      +    fn from(value: hickory_resolver::lookup::TxtLookup) -> Self {
      +        Self(value)
      +    }
      +}
      +
      +impl IntoIterator for TxtLookup {
      +    type Item = TXT;
      +
      +    type IntoIter = Box<dyn Iterator<Item = TXT>>;
      +
      +    fn into_iter(self) -> Self::IntoIter {
      +        Box::new(self.0.into_iter().map(TXT))
      +    }
      +}
      +
      +/// Record data for a TXT record
      +#[derive(Debug, Clone)]
      +pub struct TXT(hickory_resolver::proto::rr::rdata::TXT);
      +
      +impl TXT {
      +    /// Returns the raw character strings of this TXT record.
      +    pub fn txt_data(&self) -> &[Box<[u8]>] {
      +        self.0.txt_data()
      +    }
      +}
      +
      +impl fmt::Display for TXT {
      +    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
      +        write!(f, "{}", self.0)
      +    }
      +}
      +
      +/// Deprecated IPv6 site-local anycast addresses still configured by windows.
      +///
      +/// Windows still configures these site-local addresses as soon even as an IPv6 loopback
      +/// interface is configured.  We do not want to use these DNS servers, the chances of them
      +/// being usable are almost always close to zero, while the chance of DNS configuration
      +/// **only** relying on these servers and not also being configured normally are also almost
      +/// zero.  The chance of the DNS resolver accidentally trying one of these and taking a
      +/// bunch of timeouts to figure out they're no good are on the other hand very high.
      +const WINDOWS_BAD_SITE_LOCAL_DNS_SERVERS: [IpAddr; 3] = [
      +    IpAddr::V6(Ipv6Addr::new(0xfec0, 0, 0, 0xffff, 0, 0, 0, 1)),
      +    IpAddr::V6(Ipv6Addr::new(0xfec0, 0, 0, 0xffff, 0, 0, 0, 2)),
      +    IpAddr::V6(Ipv6Addr::new(0xfec0, 0, 0, 0xffff, 0, 0, 0, 3)),
      +];
      +
      +/// Helper enum to give a unified type to the iterators of [`DnsResolver::lookup_ipv4_ipv6`].
      +enum LookupIter<A, B> {
      +    Ipv4(A),
      +    Ipv6(B),
      +    Both(std::iter::Chain<A, B>),
      +}
      +
      +impl<A: Iterator<Item = IpAddr>, B: Iterator<Item = IpAddr>> Iterator for LookupIter<A, B> {
      +    type Item = IpAddr;
      +
      +    fn next(&mut self) -> Option<Self::Item> {
      +        match self {
      +            LookupIter::Ipv4(iter) => iter.next(),
      +            LookupIter::Ipv6(iter) => iter.next(),
      +            LookupIter::Both(iter) => iter.next(),
      +        }
      +    }
      +}
      +
      +/// Staggers calls to the future F with the given delays.
      +///
      +/// The first call is performed immediately. The first call to succeed generates an Ok result
      +/// ignoring any previous error. If all calls fail, an error summarizing all errors is returned.
      +async fn stagger_call<T, F: Fn() -> Fut, Fut: Future<Output = Result<T>>>(
      +    f: F,
      +    delays_ms: &[u64],
      +) -> Result<T> {
      +    let mut calls = n0_future::FuturesUnorderedBounded::new(delays_ms.len() + 1);
      +    // NOTE: we add the 0 delay here to have a uniform set of futures. This is more performant than
      +    // using alternatives that allow futures of different types.
      +    for delay in std::iter::once(&0u64).chain(delays_ms) {
      +        let delay = Duration::from_millis(*delay);
      +        let fut = f();
      +        let staggered_fut = async move {
      +            time::sleep(delay).await;
      +            fut.await
      +        };
      +        calls.push(staggered_fut)
      +    }
      +
      +    let mut errors = vec![];
      +    while let Some(call_result) = calls.next().await {
      +        match call_result {
      +            Ok(t) => return Ok(t),
      +            Err(e) => errors.push(e),
      +        }
      +    }
      +
      +    bail!(
      +        "no calls succeed: [ {}]",
      +        errors.into_iter().fold(String::new(), |mut summary, e| {
      +            write!(summary, "{e} ").expect("infallible");
      +            summary
      +        })
      +    )
      +}
      +
      +#[cfg(test)]
      +pub(crate) mod tests {
      +    use std::sync::atomic::AtomicUsize;
      +
      +    use tracing_test::traced_test;
      +
      +    use super::*;
      +
      +    #[tokio::test]
      +    #[traced_test]
      +    async fn stagger_basic() {
      +        const CALL_RESULTS: &[Result<u8, u8>] = &[Err(2), Ok(3), Ok(5), Ok(7)];
      +        static DONE_CALL: AtomicUsize = AtomicUsize::new(0);
      +        let f = || {
      +            let r_pos = DONE_CALL.fetch_add(1, std::sync::atomic::Ordering::Relaxed);
      +            async move {
      +                tracing::info!(r_pos, "call");
      +                CALL_RESULTS[r_pos].map_err(|e| anyhow::anyhow!("{e}"))
      +            }
      +        };
      +
      +        let delays = [1000, 15];
      +        let result = stagger_call(f, &delays).await.unwrap();
      +        assert_eq!(result, 5)
      +    }
      +}
      +
      \ No newline at end of file diff --git a/pr/2937/docs/src/iroh/dns/node_info.rs.html b/pr/2937/docs/src/iroh_relay/dns/node_info.rs.html similarity index 82% rename from pr/2937/docs/src/iroh/dns/node_info.rs.html rename to pr/2937/docs/src/iroh_relay/dns/node_info.rs.html index 7ad904fe7d..5d8ffa583b 100644 --- a/pr/2937/docs/src/iroh/dns/node_info.rs.html +++ b/pr/2937/docs/src/iroh_relay/dns/node_info.rs.html @@ -1,4 +1,4 @@ -node_info.rs - source

      iroh/dns/
      node_info.rs

      +node_info.rs - source

      iroh_relay/dns/
      node_info.rs

       1
       2
       3
      @@ -539,16 +539,7 @@
       538
       539
       540
      -541
      -542
      -543
      -544
      -545
      -546
      -547
      -548
      -549
      -550
      //! Support for handling DNS resource records for dialing by [`NodeId`].
      +541
      //! Support for handling DNS resource records for dialing by [`NodeId`].
       //!
       //! Dialing by [`NodeId`] is supported by iroh nodes publishing [Pkarr] records to DNS
       //! servers or the Mainline DHT.  This module supports creating and parsing these records.
      @@ -578,9 +569,9 @@
       //! [Pkarr]: https://app.pkarr.org
       //! [z-base-32]: https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt
       //! [RFC1464]: https://www.rfc-editor.org/rfc/rfc1464
      -//! [`RelayUrl`]: crate::RelayUrl
      -//! [`N0_DNS_NODE_ORIGIN_PROD`]: crate::discovery::dns::N0_DNS_NODE_ORIGIN_PROD
      -//! [`N0_DNS_NODE_ORIGIN_STAGING`]: crate::discovery::dns::N0_DNS_NODE_ORIGIN_STAGING
      +//! [`RelayUrl`]: iroh_base::RelayUrl
      +//! [`N0_DNS_NODE_ORIGIN_PROD`]: crate::dns::N0_DNS_NODE_ORIGIN_PROD
      +//! [`N0_DNS_NODE_ORIGIN_STAGING`]: crate::dns::N0_DNS_NODE_ORIGIN_STAGING
       
       use std::{
           collections::{BTreeMap, BTreeSet},
      @@ -591,11 +582,13 @@
       };
       
       use anyhow::{anyhow, Result};
      -use hickory_resolver::{proto::ProtoError, Name, TokioResolver};
      +use hickory_resolver::{proto::ProtoError, Name};
       use iroh_base::{NodeAddr, NodeId, SecretKey};
       use tracing::warn;
       use url::Url;
       
      +use crate::{defaults::timeouts::DNS_TIMEOUT, dns::DnsResolver};
      +
       /// The DNS name for the iroh TXT record.
       pub const IROH_TXT_NAME: &str = "_iroh";
       
      @@ -606,28 +599,38 @@
           Debug, strum::Display, strum::AsRefStr, strum::EnumString, Hash, Eq, PartialEq, Ord, PartialOrd,
       )]
       #[strum(serialize_all = "kebab-case")]
      -pub enum IrohAttr {
      +pub(super) enum IrohAttr {
           /// URL of home relay.
           Relay,
           /// Direct address.
           Addr,
       }
       
      -/// Encodes a [`NodeId`] in [`z-base-32`] encoding.
      -///
      -/// [z-base-32]: https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt
      -pub fn to_z32(node_id: &NodeId) -> String {
      -    z32::encode(node_id.as_bytes())
      +/// Extension methods for [`NodeId`] to encode to and decode from [`z32`],
      +/// which is the encoding used in [`pkarr`] domain names.
      +pub trait NodeIdExt {
      +    /// Encodes a [`NodeId`] in [`z-base-32`] encoding.
      +    ///
      +    /// [z-base-32]: https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt
      +    fn to_z32(&self) -> String;
      +
      +    /// Parses a [`NodeId`] from [`z-base-32`] encoding.
      +    ///
      +    /// [z-base-32]: https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt
      +    fn from_z32(s: &str) -> Result<NodeId>;
       }
       
      -/// Parses a [`NodeId`] from [`z-base-32`] encoding.
      -///
      -/// [z-base-32]: https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt
      -pub fn from_z32(s: &str) -> Result<NodeId> {
      -    let bytes = z32::decode(s.as_bytes()).map_err(|_| anyhow!("invalid z32"))?;
      -    let bytes: &[u8; 32] = &bytes.try_into().map_err(|_| anyhow!("not 32 bytes long"))?;
      -    let node_id = NodeId::from_bytes(bytes)?;
      -    Ok(node_id)
      +impl NodeIdExt for NodeId {
      +    fn to_z32(&self) -> String {
      +        z32::encode(self.as_bytes())
      +    }
      +
      +    fn from_z32(s: &str) -> Result<NodeId> {
      +        let bytes = z32::decode(s.as_bytes()).map_err(|_| anyhow!("invalid z32"))?;
      +        let bytes: &[u8; 32] = &bytes.try_into().map_err(|_| anyhow!("not 32 bytes long"))?;
      +        let node_id = NodeId::from_bytes(bytes)?;
      +        Ok(node_id)
      +    }
       }
       
       /// Information about the iroh node contained in an [`IROH_TXT_NAME`] TXT resource record.
      @@ -714,8 +717,8 @@
           }
       
           /// Parses a [`NodeInfo`] from a TXT records lookup.
      -    pub fn from_hickory_lookup(lookup: hickory_resolver::lookup::TxtLookup) -> Result<Self> {
      -        let attrs = TxtAttrs::from_hickory_lookup(lookup)?;
      +    pub fn from_txt_lookup(lookup: super::TxtLookup) -> Result<Self> {
      +        let attrs = TxtAttrs::from_txt_lookup(lookup)?;
               Ok(attrs.into())
           }
       
      @@ -736,15 +739,9 @@
               self.to_attrs().to_pkarr_signed_packet(secret_key, ttl)
           }
       
      -    /// Converts into a [`hickory_resolver::proto::rr::Record`] DNS record.
      -    pub fn to_hickory_records(
      -        &self,
      -        origin: &str,
      -        ttl: u32,
      -    ) -> Result<impl Iterator<Item = hickory_resolver::proto::rr::Record> + 'static> {
      -        let attrs = self.to_attrs();
      -        let records = attrs.to_hickory_records(origin, ttl)?;
      -        Ok(records.collect::<Vec<_>>().into_iter())
      +    /// Converts into a list of `{key}={value}` strings.
      +    pub fn to_txt_strings(&self) -> Vec<String> {
      +        self.to_attrs().to_txt_strings().collect()
           }
       }
       
      @@ -753,9 +750,7 @@
       /// Takes a [`hickory_resolver::proto::rr::Name`] DNS name and expects the first label to be
       /// [`IROH_TXT_NAME`] and the second label to be a z32 encoded [`NodeId`]. Ignores
       /// subsequent labels.
      -pub(crate) fn node_id_from_hickory_name(
      -    name: &hickory_resolver::proto::rr::Name,
      -) -> Option<NodeId> {
      +fn node_id_from_hickory_name(name: &hickory_resolver::proto::rr::Name) -> Option<NodeId> {
           if name.num_labels() < 2 {
               return None;
           }
      @@ -765,7 +760,7 @@
               return None;
           }
           let label = std::str::from_utf8(labels.next().expect("num_labels checked")).ok()?;
      -    let node_id = from_z32(label).ok()?;
      +    let node_id = NodeId::from_z32(label).ok()?;
           Some(node_id)
       }
       
      @@ -775,14 +770,14 @@
       /// all attributes. Can also be used with an enum, if it implements [`FromStr`] and
       /// [`Display`].
       #[derive(Debug)]
      -pub struct TxtAttrs<T> {
      +pub(super) struct TxtAttrs<T> {
           node_id: NodeId,
           attrs: BTreeMap<T, Vec<String>>,
       }
       
       impl<T: FromStr + Display + Hash + Ord> TxtAttrs<T> {
           /// Creates [`TxtAttrs`] from a node id and an iterator of key-value pairs.
      -    pub fn from_parts(node_id: NodeId, pairs: impl Iterator<Item = (T, String)>) -> Self {
      +    pub(super) fn from_parts(node_id: NodeId, pairs: impl Iterator<Item = (T, String)>) -> Self {
               let mut attrs: BTreeMap<T, Vec<String>> = BTreeMap::new();
               for (k, v) in pairs {
                   attrs.entry(k).or_default().push(v);
      @@ -791,7 +786,10 @@
           }
       
           /// Creates [`TxtAttrs`] from a node id and an iterator of "{key}={value}" strings.
      -    pub fn from_strings(node_id: NodeId, strings: impl Iterator<Item = String>) -> Result<Self> {
      +    pub(super) fn from_strings(
      +        node_id: NodeId,
      +        strings: impl Iterator<Item = String>,
      +    ) -> Result<Self> {
               let mut attrs: BTreeMap<T, Vec<String>> = BTreeMap::new();
               for s in strings {
                   let mut parts = s.split('=');
      @@ -806,16 +804,16 @@
               Ok(Self { attrs, node_id })
           }
       
      -    async fn lookup(resolver: &TokioResolver, name: Name) -> Result<Self> {
      +    async fn lookup(resolver: &DnsResolver, name: Name) -> Result<Self> {
               let name = ensure_iroh_txt_label(name)?;
      -        let lookup = resolver.txt_lookup(name).await?;
      -        let attrs = Self::from_hickory_lookup(lookup)?;
      +        let lookup = resolver.lookup_txt(name, DNS_TIMEOUT).await?;
      +        let attrs = Self::from_txt_lookup(lookup)?;
               Ok(attrs)
           }
       
           /// Looks up attributes by [`NodeId`] and origin domain.
      -    pub async fn lookup_by_id(
      -        resolver: &TokioResolver,
      +    pub(super) async fn lookup_by_id(
      +        resolver: &DnsResolver,
               node_id: &NodeId,
               origin: &str,
           ) -> Result<Self> {
      @@ -824,23 +822,23 @@
           }
       
           /// Looks up attributes by DNS name.
      -    pub async fn lookup_by_name(resolver: &TokioResolver, name: &str) -> Result<Self> {
      +    pub(super) async fn lookup_by_name(resolver: &DnsResolver, name: &str) -> Result<Self> {
               let name = Name::from_str(name)?;
               TxtAttrs::lookup(resolver, name).await
           }
       
           /// Returns the parsed attributes.
      -    pub fn attrs(&self) -> &BTreeMap<T, Vec<String>> {
      +    pub(super) fn attrs(&self) -> &BTreeMap<T, Vec<String>> {
               &self.attrs
           }
       
           /// Returns the node id.
      -    pub fn node_id(&self) -> NodeId {
      +    pub(super) fn node_id(&self) -> NodeId {
               self.node_id
           }
       
           /// Parses a [`pkarr::SignedPacket`].
      -    pub fn from_pkarr_signed_packet(packet: &pkarr::SignedPacket) -> Result<Self> {
      +    pub(super) fn from_pkarr_signed_packet(packet: &pkarr::SignedPacket) -> Result<Self> {
               use pkarr::dns::{
                   rdata::RData,
                   {self},
      @@ -863,11 +861,11 @@
           }
       
           /// Parses a TXT records lookup.
      -    pub fn from_hickory_lookup(lookup: hickory_resolver::lookup::TxtLookup) -> Result<Self> {
      -        let queried_node_id = node_id_from_hickory_name(lookup.query().name())
      +    pub(super) fn from_txt_lookup(lookup: super::TxtLookup) -> Result<Self> {
      +        let queried_node_id = node_id_from_hickory_name(lookup.0.query().name())
                   .ok_or_else(|| anyhow!("invalid DNS answer: not a query for _iroh.z32encodedpubkey"))?;
       
      -        let strings = lookup.as_lookup().record_iter().filter_map(|record| {
      +        let strings = lookup.0.as_lookup().record_iter().filter_map(|record| {
                   match node_id_from_hickory_name(record.name()) {
                       // Filter out only TXT record answers that match the node_id we searched for.
                       Some(n) if n == queried_node_id => match record.data().as_txt() {
      @@ -909,27 +907,10 @@
                   .flat_map(move |(k, vs)| vs.iter().map(move |v| format!("{k}={v}")))
           }
       
      -    /// Converts to a list of [`hickory_resolver::proto::rr::Record`] resource records.
      -    pub fn to_hickory_records(
      -        &self,
      -        origin: &str,
      -        ttl: u32,
      -    ) -> Result<impl Iterator<Item = hickory_resolver::proto::rr::Record> + '_> {
      -        use hickory_resolver::proto::rr;
      -        let name = format!("{}.{}.{}", IROH_TXT_NAME, to_z32(&self.node_id), origin);
      -        let name = rr::Name::from_utf8(name)?;
      -        let records = self.to_txt_strings().map(move |s| {
      -            let txt = rr::rdata::TXT::new(vec![s]);
      -            let rdata = rr::RData::TXT(txt);
      -            rr::Record::from_rdata(name.clone(), ttl, rdata)
      -        });
      -        Ok(records)
      -    }
      -
           /// Creates a [`pkarr::SignedPacket`]
           ///
           /// This constructs a DNS packet and signs it with a [`SecretKey`].
      -    pub fn to_pkarr_signed_packet(
      +    pub(super) fn to_pkarr_signed_packet(
               &self,
               secret_key: &SecretKey,
               ttl: u32,
      @@ -969,7 +950,7 @@
       }
       
       fn node_domain(node_id: &NodeId, origin: &str) -> Result<Name> {
      -    let domain = format!("{}.{}", to_z32(node_id), origin);
      +    let domain = format!("{}.{}", NodeId::to_z32(node_id), origin);
           let domain = Name::from_str(&domain)?;
           Ok(domain)
       }
      @@ -992,8 +973,7 @@
           use iroh_base::{NodeId, SecretKey};
           use testresult::TestResult;
       
      -    use super::NodeInfo;
      -    use crate::dns::node_info::to_z32;
      +    use super::{NodeIdExt, NodeInfo};
       
           #[test]
           fn txt_attr_roundtrip() {
      @@ -1052,10 +1032,11 @@
                   Record::from_rdata(
                       Name::from_utf8(format!(
                           "_iroh.{}.dns.iroh.link.",
      -                    to_z32(&NodeId::from_str(
      +                    NodeId::from_str(
                               // Another NodeId
                               "a55f26132e5e43de834d534332f66a20d480c3e50a13a312a071adea6569981e"
      -                    )?)
      +                    )?
      +                    .to_z32()
                       ))?,
                       30,
                       RData::TXT(TXT::new(vec![
      @@ -1079,8 +1060,9 @@
                   ),
               ];
               let lookup = Lookup::new_with_max_ttl(query, Arc::new(records));
      +        let lookup = hickory_resolver::lookup::TxtLookup::from(lookup);
       
      -        let node_info = NodeInfo::from_hickory_lookup(lookup.into())?;
      +        let node_info = NodeInfo::from_txt_lookup(lookup.into())?;
               assert_eq!(
                   node_info,
                   NodeInfo {
      diff --git a/pr/2937/docs/src/iroh_relay/lib.rs.html b/pr/2937/docs/src/iroh_relay/lib.rs.html
      index d34f6c6f1d..af788f4045 100644
      --- a/pr/2937/docs/src/iroh_relay/lib.rs.html
      +++ b/pr/2937/docs/src/iroh_relay/lib.rs.html
      @@ -99,8 +99,8 @@
       mod relay_map;
       pub(crate) use key_cache::KeyCache;
       
      -#[cfg(test)]
      -mod dns;
      +#[cfg(not(wasm_browser))]
      +pub mod dns;
       
       pub use protos::relay::MAX_PACKET_SIZE;
       
      diff --git a/pr/2937/docs/src/iroh_relay/server.rs.html b/pr/2937/docs/src/iroh_relay/server.rs.html
      index a7de01d1d5..5085bcaab7 100644
      --- a/pr/2937/docs/src/iroh_relay/server.rs.html
      +++ b/pr/2937/docs/src/iroh_relay/server.rs.html
      @@ -1237,7 +1237,12 @@
       1236
       1237
       1238
      -1239
      //! A fully-fledged iroh-relay server over HTTP or HTTPS.
      +1239
      +1240
      +1241
      +1242
      +1243
      +1244
      //! A fully-fledged iroh-relay server over HTTP or HTTPS.
       //!
       //! This module provides an API to run a full fledged iroh-relay server.  It is primarily
       //! used by the `iroh-relay` binary in this crate.  It can be used to run a relay server in
      @@ -2056,6 +2061,7 @@
           use super::*;
           use crate::{
               client::{conn::ReceivedMessage, ClientBuilder, SendMessage},
      +        dns::DnsResolver,
               http::{Protocol, HTTP_UPGRADE_PROTOCOL},
           };
       
      @@ -2095,6 +2101,10 @@
               panic!("failed to send and recv message");
           }
       
      +    fn dns_resolver() -> DnsResolver {
      +        DnsResolver::new()
      +    }
      +
           #[tokio::test]
           #[traced_test]
           async fn test_no_services() {
      @@ -2193,7 +2203,7 @@
               // set up client a
               let a_secret_key = SecretKey::generate(rand::thread_rng());
               let a_key = a_secret_key.public();
      -        let resolver = crate::dns::default_resolver().clone();
      +        let resolver = dns_resolver();
               let mut client_a = ClientBuilder::new(relay_url.clone(), a_secret_key, resolver.clone())
                   .connect()
                   .await?;
      @@ -2246,7 +2256,7 @@
               // set up client a
               let a_secret_key = SecretKey::generate(rand::thread_rng());
               let a_key = a_secret_key.public();
      -        let resolver = crate::dns::default_resolver();
      +        let resolver = dns_resolver();
               info!("client a build & connect");
               let mut client_a = ClientBuilder::new(relay_url.clone(), a_secret_key, resolver.clone())
                   .protocol(Protocol::Websocket)
      @@ -2308,7 +2318,7 @@
               // set up client a
               let a_secret_key = SecretKey::generate(rand::thread_rng());
               let a_key = a_secret_key.public();
      -        let resolver = crate::dns::default_resolver().clone();
      +        let resolver = dns_resolver();
               let mut client_a = ClientBuilder::new(relay_url.clone(), a_secret_key, resolver)
                   .connect()
                   .await?;
      @@ -2316,7 +2326,7 @@
               // set up client b
               let b_secret_key = SecretKey::generate(rand::thread_rng());
               let b_key = b_secret_key.public();
      -        let resolver = crate::dns::default_resolver().clone();
      +        let resolver = dns_resolver();
               let mut client_b = ClientBuilder::new(relay_url.clone(), b_secret_key, resolver)
                   .protocol(Protocol::Websocket) // Use websockets
                   .connect()
      @@ -2420,7 +2430,7 @@
               let relay_url: RelayUrl = relay_url.parse()?;
       
               // set up client a
      -        let resolver = crate::dns::default_resolver().clone();
      +        let resolver = dns_resolver();
               let mut client_a = ClientBuilder::new(relay_url.clone(), a_secret_key, resolver)
                   .connect()
                   .await?;
      @@ -2444,7 +2454,7 @@
               let b_secret_key = SecretKey::generate(rand::thread_rng());
               let b_key = b_secret_key.public();
       
      -        let resolver = crate::dns::default_resolver().clone();
      +        let resolver = dns_resolver();
               let mut client_b = ClientBuilder::new(relay_url.clone(), b_secret_key, resolver)
                   .connect()
                   .await?;
      @@ -2453,7 +2463,7 @@
               let c_secret_key = SecretKey::generate(rand::thread_rng());
               let c_key = c_secret_key.public();
       
      -        let resolver = crate::dns::default_resolver().clone();
      +        let resolver = dns_resolver();
               let mut client_c = ClientBuilder::new(relay_url.clone(), c_secret_key, resolver)
                   .connect()
                   .await?;
      diff --git a/pr/2937/docs/src/iroh_relay/server/http_server.rs.html b/pr/2937/docs/src/iroh_relay/server/http_server.rs.html
      index 9d0a85263e..4d27bffb1b 100644
      --- a/pr/2937/docs/src/iroh_relay/server/http_server.rs.html
      +++ b/pr/2937/docs/src/iroh_relay/server/http_server.rs.html
      @@ -1148,7 +1148,9 @@
       1147
       1148
       1149
      -1150
      use std::{
      +1150
      +1151
      +1152
      use std::{
           collections::HashMap, future::Future, net::SocketAddr, pin::Pin, sync::Arc, time::Duration,
       };
       
      @@ -1859,10 +1861,13 @@
           use tracing_test::traced_test;
       
           use super::*;
      -    use crate::client::{
      -        conn::{Conn, ReceivedMessage, SendMessage},
      -        streams::MaybeTlsStreamChained,
      -        Client, ClientBuilder,
      +    use crate::{
      +        client::{
      +            conn::{Conn, ReceivedMessage, SendMessage},
      +            streams::MaybeTlsStreamChained,
      +            Client, ClientBuilder,
      +        },
      +        dns::DnsResolver,
           };
       
           pub(crate) fn make_tls_config() -> TlsConfig {
      @@ -1961,9 +1966,8 @@
       
           async fn create_test_client(key: SecretKey, server_url: Url) -> Result<(PublicKey, Client)> {
               let public_key = key.public();
      -        let dns_resolver = crate::dns::default_resolver();
      -        let client = ClientBuilder::new(server_url, key, dns_resolver.clone())
      -            .insecure_skip_cert_verify(true);
      +        let client =
      +            ClientBuilder::new(server_url, key, DnsResolver::new()).insecure_skip_cert_verify(true);
               let client = client.connect().await?;
       
               Ok((public_key, client))
      diff --git a/pr/2937/docs/trait.impl/core/clone/trait.Clone.js b/pr/2937/docs/trait.impl/core/clone/trait.Clone.js
      index 3bc8878040..6099fab6f5 100644
      --- a/pr/2937/docs/trait.impl/core/clone/trait.Clone.js
      +++ b/pr/2937/docs/trait.impl/core/clone/trait.Clone.js
      @@ -1,9 +1,9 @@
       (function() {
      -    var implementors = Object.fromEntries([["iroh",[["impl Clone for ConnectionType"],["impl Clone for ControlMsg"],["impl Clone for DirectAddrType"],["impl Clone for PathSelection"],["impl Clone for RelayMode"],["impl Clone for Source"],["impl Clone for DhtDiscovery"],["impl Clone for PkarrPublisher"],["impl Clone for PkarrRelayClient"],["impl Clone for PkarrResolver"],["impl Clone for StaticProvider"],["impl Clone for DiscoveryItem"],["impl Clone for NodeInfo"],["impl Clone for Connection"],["impl Clone for DirectAddr"],["impl Clone for DirectAddrInfo"],["impl Clone for Endpoint"],["impl Clone for RemoteInfo"],["impl Clone for Metrics"],["impl Clone for Router"],["impl<T> Clone for Watchable<T>"],["impl<T: Clone> Clone for Watcher<T>"],["impl<T: Clone> Clone for WatcherStream<T>"]]],["iroh_base",[["impl Clone for NodeAddr"],["impl Clone for PublicKey"],["impl Clone for RelayUrl"],["impl Clone for SecretKey"],["impl Clone for NodeTicket"]]],["iroh_bench",[["impl Clone for Commands"],["impl Clone for Opt"],["impl Clone for Opt"]]],["iroh_dns_server",[["impl Clone for CertMode"],["impl Clone for RateLimitConfig"],["impl Clone for StoreConfig"],["impl Clone for DnsConfig"],["impl Clone for DnsHandler"],["impl Clone for Handle"],["impl Clone for HttpConfig"],["impl Clone for HttpsConfig"],["impl Clone for Metrics"],["impl Clone for AppState"],["impl Clone for ZoneStore"]]],["iroh_net_report",[["impl Clone for Addr"],["impl Clone for IpMappedAddr"],["impl Clone for IpMappedAddresses"],["impl Clone for Metrics"],["impl Clone for QuicConfig"],["impl Clone for RelayLatencies"],["impl Clone for Report"]]],["iroh_relay",[["impl Clone for ReceivedMessage"],["impl Clone for Protocol"],["impl Clone for Access"],["impl Clone for ClientBuilder"],["impl Clone for ClientRateLimit"],["impl Clone for Metrics"],["impl Clone for StunMetrics"],["impl Clone for RelayMap"],["impl Clone for RelayNode"],["impl Clone for RelayQuicConfig"]]]]);
      +    var implementors = Object.fromEntries([["iroh",[["impl Clone for ConnectionType"],["impl Clone for ControlMsg"],["impl Clone for DirectAddrType"],["impl Clone for PathSelection"],["impl Clone for RelayMode"],["impl Clone for Source"],["impl Clone for DhtDiscovery"],["impl Clone for PkarrPublisher"],["impl Clone for PkarrRelayClient"],["impl Clone for PkarrResolver"],["impl Clone for StaticProvider"],["impl Clone for DiscoveryItem"],["impl Clone for Connection"],["impl Clone for DirectAddr"],["impl Clone for DirectAddrInfo"],["impl Clone for Endpoint"],["impl Clone for RemoteInfo"],["impl Clone for Metrics"],["impl Clone for Router"],["impl<T> Clone for Watchable<T>"],["impl<T: Clone> Clone for Watcher<T>"],["impl<T: Clone> Clone for WatcherStream<T>"]]],["iroh_base",[["impl Clone for NodeAddr"],["impl Clone for PublicKey"],["impl Clone for RelayUrl"],["impl Clone for SecretKey"],["impl Clone for NodeTicket"]]],["iroh_bench",[["impl Clone for Commands"],["impl Clone for Opt"],["impl Clone for Opt"]]],["iroh_dns_server",[["impl Clone for CertMode"],["impl Clone for RateLimitConfig"],["impl Clone for StoreConfig"],["impl Clone for DnsConfig"],["impl Clone for DnsHandler"],["impl Clone for Handle"],["impl Clone for HttpConfig"],["impl Clone for HttpsConfig"],["impl Clone for Metrics"],["impl Clone for AppState"],["impl Clone for ZoneStore"]]],["iroh_net_report",[["impl Clone for Addr"],["impl Clone for IpMappedAddr"],["impl Clone for IpMappedAddresses"],["impl Clone for Metrics"],["impl Clone for Options"],["impl Clone for QuicConfig"],["impl Clone for RelayLatencies"],["impl Clone for Report"]]],["iroh_relay",[["impl Clone for ReceivedMessage"],["impl Clone for Protocol"],["impl Clone for Access"],["impl Clone for ClientBuilder"],["impl Clone for NodeInfo"],["impl Clone for DnsResolver"],["impl Clone for TXT"],["impl Clone for TxtLookup"],["impl Clone for ClientRateLimit"],["impl Clone for Metrics"],["impl Clone for StunMetrics"],["impl Clone for RelayMap"],["impl Clone for RelayNode"],["impl Clone for RelayQuicConfig"]]]]);
           if (window.register_implementors) {
               window.register_implementors(implementors);
           } else {
               window.pending_implementors = implementors;
           }
       })()
      -//{"start":57,"fragment_lengths":[6778,1333,770,3144,1954,2781]}
      \ No newline at end of file
      +//{"start":57,"fragment_lengths":[6500,1333,770,3144,2221,3875]}
      \ No newline at end of file
      diff --git a/pr/2937/docs/trait.impl/core/cmp/trait.Eq.js b/pr/2937/docs/trait.impl/core/cmp/trait.Eq.js
      index ae0a132d3c..23636fecbf 100644
      --- a/pr/2937/docs/trait.impl/core/cmp/trait.Eq.js
      +++ b/pr/2937/docs/trait.impl/core/cmp/trait.Eq.js
      @@ -1,9 +1,9 @@
       (function() {
      -    var implementors = Object.fromEntries([["iroh",[["impl Eq for IrohAttr"],["impl Eq for ConnectionType"],["impl Eq for ControlMsg"],["impl Eq for DirectAddrType"],["impl Eq for PathSelection"],["impl Eq for RelayMode"],["impl Eq for Source"],["impl Eq for NodeInfo"],["impl Eq for DirectAddr"],["impl Eq for DirectAddrInfo"],["impl Eq for RemoteInfo"]]],["iroh_base",[["impl Eq for NodeAddr"],["impl Eq for PublicKey"],["impl Eq for RelayUrl"],["impl Eq for NodeTicket"]]],["iroh_dns_server",[["impl Eq for CertMode"]]],["iroh_net_report",[["impl Eq for IpMappedAddr"],["impl Eq for RelayLatencies"],["impl Eq for Report"]]],["iroh_relay",[["impl Eq for Protocol"],["impl Eq for Access"],["impl Eq for RelayMap"],["impl Eq for RelayNode"],["impl Eq for RelayQuicConfig"]]]]);
      +    var implementors = Object.fromEntries([["iroh",[["impl Eq for ConnectionType"],["impl Eq for ControlMsg"],["impl Eq for DirectAddrType"],["impl Eq for PathSelection"],["impl Eq for RelayMode"],["impl Eq for Source"],["impl Eq for DirectAddr"],["impl Eq for DirectAddrInfo"],["impl Eq for RemoteInfo"]]],["iroh_base",[["impl Eq for NodeAddr"],["impl Eq for PublicKey"],["impl Eq for RelayUrl"],["impl Eq for NodeTicket"]]],["iroh_dns_server",[["impl Eq for CertMode"]]],["iroh_net_report",[["impl Eq for IpMappedAddr"],["impl Eq for RelayLatencies"],["impl Eq for Report"]]],["iroh_relay",[["impl Eq for Protocol"],["impl Eq for Access"],["impl Eq for NodeInfo"],["impl Eq for RelayMap"],["impl Eq for RelayNode"],["impl Eq for RelayQuicConfig"]]]]);
           if (window.register_implementors) {
               window.register_implementors(implementors);
           } else {
               window.pending_implementors = implementors;
           }
       })()
      -//{"start":57,"fragment_lengths":[2868,1020,284,817,1284]}
      \ No newline at end of file
      +//{"start":57,"fragment_lengths":[2344,1020,284,817,1561]}
      \ No newline at end of file
      diff --git a/pr/2937/docs/trait.impl/core/cmp/trait.Ord.js b/pr/2937/docs/trait.impl/core/cmp/trait.Ord.js
      index ca5a212f73..f9ce6dde32 100644
      --- a/pr/2937/docs/trait.impl/core/cmp/trait.Ord.js
      +++ b/pr/2937/docs/trait.impl/core/cmp/trait.Ord.js
      @@ -1,9 +1,9 @@
       (function() {
      -    var implementors = Object.fromEntries([["iroh",[["impl Ord for IrohAttr"],["impl Ord for DirectAddrType"],["impl Ord for DirectAddr"]]],["iroh_base",[["impl Ord for NodeAddr"],["impl Ord for PublicKey"],["impl Ord for RelayUrl"]]],["iroh_net_report",[["impl Ord for IpMappedAddr"]]],["iroh_relay",[["impl Ord for RelayNode"],["impl Ord for RelayQuicConfig"]]]]);
      +    var implementors = Object.fromEntries([["iroh",[["impl Ord for DirectAddrType"],["impl Ord for DirectAddr"]]],["iroh_base",[["impl Ord for NodeAddr"],["impl Ord for PublicKey"],["impl Ord for RelayUrl"]]],["iroh_net_report",[["impl Ord for IpMappedAddr"]]],["iroh_relay",[["impl Ord for RelayNode"],["impl Ord for RelayQuicConfig"]]]]);
           if (window.register_implementors) {
               window.register_implementors(implementors);
           } else {
               window.pending_implementors = implementors;
           }
       })()
      -//{"start":57,"fragment_lengths":[804,763,294,541]}
      \ No newline at end of file
      +//{"start":57,"fragment_lengths":[542,763,294,541]}
      \ No newline at end of file
      diff --git a/pr/2937/docs/trait.impl/core/cmp/trait.PartialEq.js b/pr/2937/docs/trait.impl/core/cmp/trait.PartialEq.js
      index 0af5b5c64c..f751d29382 100644
      --- a/pr/2937/docs/trait.impl/core/cmp/trait.PartialEq.js
      +++ b/pr/2937/docs/trait.impl/core/cmp/trait.PartialEq.js
      @@ -1,9 +1,9 @@
       (function() {
      -    var implementors = Object.fromEntries([["iroh",[["impl PartialEq for IrohAttr"],["impl PartialEq for ConnectionType"],["impl PartialEq for ControlMsg"],["impl PartialEq for DirectAddrType"],["impl PartialEq for PathSelection"],["impl PartialEq for RelayMode"],["impl PartialEq for Source"],["impl PartialEq for NodeInfo"],["impl PartialEq for DirectAddr"],["impl PartialEq for DirectAddrInfo"],["impl PartialEq for RemoteInfo"]]],["iroh_base",[["impl PartialEq for NodeAddr"],["impl PartialEq for PublicKey"],["impl PartialEq for RelayUrl"],["impl PartialEq for NodeTicket"]]],["iroh_dns_server",[["impl PartialEq for CertMode"]]],["iroh_net_report",[["impl PartialEq for IpMappedAddr"],["impl PartialEq for RelayLatencies"],["impl PartialEq for Report"]]],["iroh_relay",[["impl PartialEq for Protocol"],["impl PartialEq for Access"],["impl PartialEq for RelayMap"],["impl PartialEq for RelayNode"],["impl PartialEq for RelayQuicConfig"]]]]);
      +    var implementors = Object.fromEntries([["iroh",[["impl PartialEq for ConnectionType"],["impl PartialEq for ControlMsg"],["impl PartialEq for DirectAddrType"],["impl PartialEq for PathSelection"],["impl PartialEq for RelayMode"],["impl PartialEq for Source"],["impl PartialEq for DirectAddr"],["impl PartialEq for DirectAddrInfo"],["impl PartialEq for RemoteInfo"]]],["iroh_base",[["impl PartialEq for NodeAddr"],["impl PartialEq for PublicKey"],["impl PartialEq for RelayUrl"],["impl PartialEq for NodeTicket"]]],["iroh_dns_server",[["impl PartialEq for CertMode"]]],["iroh_net_report",[["impl PartialEq for IpMappedAddr"],["impl PartialEq for RelayLatencies"],["impl PartialEq for Report"]]],["iroh_relay",[["impl PartialEq for Protocol"],["impl PartialEq for Access"],["impl PartialEq for NodeInfo"],["impl PartialEq for RelayMap"],["impl PartialEq for RelayNode"],["impl PartialEq for RelayQuicConfig"]]]]);
           if (window.register_implementors) {
               window.register_implementors(implementors);
           } else {
               window.pending_implementors = implementors;
           }
       })()
      -//{"start":57,"fragment_lengths":[3099,1104,305,880,1389]}
      \ No newline at end of file
      +//{"start":57,"fragment_lengths":[2533,1104,305,880,1687]}
      \ No newline at end of file
      diff --git a/pr/2937/docs/trait.impl/core/cmp/trait.PartialOrd.js b/pr/2937/docs/trait.impl/core/cmp/trait.PartialOrd.js
      index 26ccbe46a6..54f17b52a3 100644
      --- a/pr/2937/docs/trait.impl/core/cmp/trait.PartialOrd.js
      +++ b/pr/2937/docs/trait.impl/core/cmp/trait.PartialOrd.js
      @@ -1,9 +1,9 @@
       (function() {
      -    var implementors = Object.fromEntries([["iroh",[["impl PartialOrd for IrohAttr"],["impl PartialOrd for DirectAddrType"],["impl PartialOrd for DirectAddr"]]],["iroh_base",[["impl PartialOrd for NodeAddr"],["impl PartialOrd for PublicKey"],["impl PartialOrd for RelayUrl"]]],["iroh_net_report",[["impl PartialOrd for IpMappedAddr"]]],["iroh_relay",[["impl PartialOrd for RelayNode"],["impl PartialOrd for RelayQuicConfig"]]]]);
      +    var implementors = Object.fromEntries([["iroh",[["impl PartialOrd for DirectAddrType"],["impl PartialOrd for DirectAddr"]]],["iroh_base",[["impl PartialOrd for NodeAddr"],["impl PartialOrd for PublicKey"],["impl PartialOrd for RelayUrl"]]],["iroh_net_report",[["impl PartialOrd for IpMappedAddr"]]],["iroh_relay",[["impl PartialOrd for RelayNode"],["impl PartialOrd for RelayQuicConfig"]]]]);
           if (window.register_implementors) {
               window.register_implementors(implementors);
           } else {
               window.pending_implementors = implementors;
           }
       })()
      -//{"start":57,"fragment_lengths":[867,826,315,583]}
      \ No newline at end of file
      +//{"start":57,"fragment_lengths":[584,826,315,583]}
      \ No newline at end of file
      diff --git a/pr/2937/docs/trait.impl/core/convert/trait.AsRef.js b/pr/2937/docs/trait.impl/core/convert/trait.AsRef.js
      index a1f101e9ed..095fca66f2 100644
      --- a/pr/2937/docs/trait.impl/core/convert/trait.AsRef.js
      +++ b/pr/2937/docs/trait.impl/core/convert/trait.AsRef.js
      @@ -1,9 +1,9 @@
       (function() {
      -    var implementors = Object.fromEntries([["iroh",[["impl AsRef<str> for IrohAttr"]]],["iroh_base",[["impl AsRef<[u8]> for PublicKey"]]]]);
      +    var implementors = Object.fromEntries([["iroh_base",[["impl AsRef<[u8]> for PublicKey"]]]]);
           if (window.register_implementors) {
               window.register_implementors(implementors);
           } else {
               window.pending_implementors = implementors;
           }
       })()
      -//{"start":57,"fragment_lengths":[390,385]}
      \ No newline at end of file
      +//{"start":57,"fragment_lengths":[384]}
      \ No newline at end of file
      diff --git a/pr/2937/docs/trait.impl/core/convert/trait.From.js b/pr/2937/docs/trait.impl/core/convert/trait.From.js
      index 7a049bf61d..b17b67c8c3 100644
      --- a/pr/2937/docs/trait.impl/core/convert/trait.From.js
      +++ b/pr/2937/docs/trait.impl/core/convert/trait.From.js
      @@ -1,9 +1,9 @@
       (function() {
      -    var implementors = Object.fromEntries([["iroh",[["impl From<&NodeInfo> for TxtAttrs<IrohAttr>"],["impl From<&TxtAttrs<IrohAttr>> for NodeInfo"],["impl From<NodeInfo> for NodeAddr"],["impl From<TxtAttrs<IrohAttr>> for NodeInfo"],["impl From<RemoteInfo> for NodeAddr"],["impl<T> From<T> for ConcurrentDiscovery
      where\n T: IntoIterator<Item = Box<dyn Discovery>>,
      "]]],["iroh_base",[["impl From<(PublicKey, Option<RelayUrl>, &[SocketAddr])> for NodeAddr"],["impl From<ParseError> for RelayUrlParseError"],["impl From<Url> for RelayUrl"],["impl From<NodeAddr> for NodeTicket"],["impl From<PublicKey> for NodeAddr"],["impl From<RelayUrl> for Url"],["impl From<NodeTicket> for NodeAddr"],["impl From<DecodeError> for KeyParsingError"],["impl From<DecodeError> for Error"],["impl From<Error> for KeyParsingError"],["impl From<Error> for Error"],["impl From<SigningKey> for SecretKey"],["impl From<VerifyingKey> for PublicKey"],["impl From<[u8; 32]> for SecretKey"]]],["iroh_relay",[["impl From<Error> for ConnSendError"],["impl From<Error> for ConnSendError"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl From<RemoteInfo> for NodeAddr"],["impl<T> From<T> for ConcurrentDiscovery
      where\n T: IntoIterator<Item = Box<dyn Discovery>>,
      "]]],["iroh_base",[["impl From<(PublicKey, Option<RelayUrl>, &[SocketAddr])> for NodeAddr"],["impl From<ParseError> for RelayUrlParseError"],["impl From<Url> for RelayUrl"],["impl From<NodeAddr> for NodeTicket"],["impl From<PublicKey> for NodeAddr"],["impl From<RelayUrl> for Url"],["impl From<NodeTicket> for NodeAddr"],["impl From<DecodeError> for KeyParsingError"],["impl From<DecodeError> for Error"],["impl From<Error> for KeyParsingError"],["impl From<Error> for Error"],["impl From<SigningKey> for SecretKey"],["impl From<VerifyingKey> for PublicKey"],["impl From<[u8; 32]> for SecretKey"]]],["iroh_relay",[["impl From<Error> for ConnSendError"],["impl From<NodeInfo> for NodeAddr"],["impl From<Error> for ConnSendError"],["impl From<Resolver<GenericConnector<TokioRuntimeProvider>>> for DnsResolver"],["impl From<TxtLookup> for TxtLookup"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[3256,5343,750]} \ No newline at end of file +//{"start":57,"fragment_lengths":[1219,5343,1816]} \ No newline at end of file diff --git a/pr/2937/docs/trait.impl/core/convert/trait.TryFrom.js b/pr/2937/docs/trait.impl/core/convert/trait.TryFrom.js index 786695d4fe..1591044c5c 100644 --- a/pr/2937/docs/trait.impl/core/convert/trait.TryFrom.js +++ b/pr/2937/docs/trait.impl/core/convert/trait.TryFrom.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl TryFrom<&str> for IrohAttr"]]],["iroh_base",[["impl TryFrom<&[u8; 32]> for PublicKey"],["impl TryFrom<&[u8]> for PublicKey"],["impl TryFrom<&[u8]> for SecretKey"]]],["iroh_net_report",[["impl TryFrom<Ipv6Addr> for IpMappedAddr"]]]]); + var implementors = Object.fromEntries([["iroh_base",[["impl TryFrom<&[u8; 32]> for PublicKey"],["impl TryFrom<&[u8]> for PublicKey"],["impl TryFrom<&[u8]> for SecretKey"]]],["iroh_net_report",[["impl TryFrom<Ipv6Addr> for IpMappedAddr"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[401,1255,481]} \ No newline at end of file +//{"start":57,"fragment_lengths":[1254,481]} \ No newline at end of file diff --git a/pr/2937/docs/trait.impl/core/default/trait.Default.js b/pr/2937/docs/trait.impl/core/default/trait.Default.js index cc291290a4..c7ee4ee972 100644 --- a/pr/2937/docs/trait.impl/core/default/trait.Default.js +++ b/pr/2937/docs/trait.impl/core/default/trait.Default.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl Default for ConnectionType"],["impl Default for PathSelection"],["impl Default for Builder"],["impl Default for DhtDiscovery"],["impl Default for StaticProvider"],["impl Default for ConcurrentDiscovery"],["impl Default for Builder"],["impl Default for Metrics"],["impl<T: Default> Default for Watchable<T>"]]],["iroh_bench",[["impl Default for Stats"],["impl Default for StreamStats"],["impl Default for ClientStats"]]],["iroh_dns_server",[["impl Default for &RateLimitConfig"],["impl Default for BootstrapOption"],["impl Default for RateLimitConfig"],["impl Default for Config"],["impl Default for MainlineConfig"],["impl Default for StoreConfig"],["impl Default for Metrics"]]],["iroh_net_report",[["impl Default for IpMappedAddresses"],["impl Default for Metrics"],["impl Default for Options"],["impl Default for RelayLatencies"],["impl Default for Report"]]],["iroh_relay",[["impl Default for Protocol"],["impl Default for Limits"],["impl Default for Metrics"],["impl Default for StunMetrics"],["impl Default for PingTracker"],["impl Default for RelayQuicConfig"],["impl<EC: Default + Debug, EA: Default + Debug> Default for ServerConfig<EC, EA>"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl Default for ConnectionType"],["impl Default for PathSelection"],["impl Default for Builder"],["impl Default for DhtDiscovery"],["impl Default for StaticProvider"],["impl Default for ConcurrentDiscovery"],["impl Default for Builder"],["impl Default for Metrics"],["impl<T: Default> Default for Watchable<T>"]]],["iroh_bench",[["impl Default for Stats"],["impl Default for StreamStats"],["impl Default for ClientStats"]]],["iroh_dns_server",[["impl Default for &RateLimitConfig"],["impl Default for BootstrapOption"],["impl Default for RateLimitConfig"],["impl Default for Config"],["impl Default for MainlineConfig"],["impl Default for StoreConfig"],["impl Default for Metrics"]]],["iroh_net_report",[["impl Default for IpMappedAddresses"],["impl Default for Metrics"],["impl Default for Options"],["impl Default for RelayLatencies"],["impl Default for Report"]]],["iroh_relay",[["impl Default for Protocol"],["impl Default for DnsResolver"],["impl Default for Limits"],["impl Default for Metrics"],["impl Default for StunMetrics"],["impl Default for PingTracker"],["impl Default for RelayQuicConfig"],["impl<EC: Default + Debug, EA: Default + Debug> Default for ServerConfig<EC, EA>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[2848,862,2149,1455,2600]} \ No newline at end of file +//{"start":57,"fragment_lengths":[2848,862,2149,1455,2888]} \ No newline at end of file diff --git a/pr/2937/docs/trait.impl/core/fmt/trait.Debug.js b/pr/2937/docs/trait.impl/core/fmt/trait.Debug.js index 815e705c30..78af02b519 100644 --- a/pr/2937/docs/trait.impl/core/fmt/trait.Debug.js +++ b/pr/2937/docs/trait.impl/core/fmt/trait.Debug.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl Debug for IrohAttr"],["impl Debug for ConnectionType"],["impl Debug for ControlMsg"],["impl Debug for DirectAddrType"],["impl Debug for PathSelection"],["impl Debug for RelayMode"],["impl Debug for Source"],["impl Debug for DnsDiscovery"],["impl Debug for LocalSwarmDiscovery"],["impl Debug for Builder"],["impl Debug for DhtDiscovery"],["impl Debug for PkarrPublisher"],["impl Debug for PkarrRelayClient"],["impl Debug for PkarrResolver"],["impl Debug for StaticProvider"],["impl Debug for ConcurrentDiscovery"],["impl Debug for DiscoveryItem"],["impl Debug for NodeInfo"],["impl Debug for Builder"],["impl Debug for Connecting"],["impl Debug for Connection"],["impl Debug for DirectAddr"],["impl Debug for DirectAddrInfo"],["impl Debug for Endpoint"],["impl Debug for Incoming"],["impl Debug for IncomingFuture"],["impl Debug for RemoteInfo"],["impl Debug for Metrics"],["impl Debug for Router"],["impl Debug for RouterBuilder"],["impl Debug for CleanupDropGuard"],["impl Debug for DnsPkarrServer"],["impl Debug for Disconnected"],["impl<'a> Debug for Accept<'a>"],["impl<'a, T: Debug> Debug for WatchInitializedFut<'a, T>"],["impl<'a, T: Debug> Debug for WatchNextFut<'a, T>"],["impl<T: Debug> Debug for TxtAttrs<T>"],["impl<T: Debug> Debug for Watchable<T>"],["impl<T: Debug> Debug for Watcher<T>"],["impl<T: Debug> Debug for WatcherStream<T>"]]],["iroh_base",[["impl Debug for KeyParsingError"],["impl Debug for Error"],["impl Debug for NodeAddr"],["impl Debug for PublicKey"],["impl Debug for RelayUrl"],["impl Debug for RelayUrlParseError"],["impl Debug for SecretKey"],["impl Debug for NodeTicket"]]],["iroh_bench",[["impl Debug for Commands"],["impl Debug for Opt"],["impl Debug for Stats"],["impl Debug for StreamStats"],["impl Debug for TransferResult"],["impl Debug for Opt"]]],["iroh_dns_server",[["impl Debug for BootstrapOption"],["impl Debug for CertMode"],["impl Debug for RateLimitConfig"],["impl Debug for Config"],["impl Debug for MainlineConfig"],["impl Debug for MetricsConfig"],["impl Debug for StoreConfig"],["impl Debug for DnsConfig"],["impl Debug for DnsHandler"],["impl Debug for Handle"],["impl Debug for HttpConfig"],["impl Debug for HttpsConfig"],["impl Debug for Metrics"],["impl Debug for ZoneStore"]]],["iroh_net_report",[["impl Debug for Addr"],["impl Debug for Client"],["impl Debug for IpMappedAddr"],["impl Debug for IpMappedAddrError"],["impl Debug for IpMappedAddresses"],["impl Debug for Metrics"],["impl Debug for Options"],["impl Debug for QuicConfig"],["impl Debug for RelayLatencies"],["impl Debug for Report"]]],["iroh_relay",[["impl Debug for ConnSendError"],["impl Debug for ReceivedMessage"],["impl Debug for SendMessage"],["impl Debug for Protocol"],["impl Debug for Error"],["impl Debug for Access"],["impl Debug for AccessConfig"],["impl Debug for Client"],["impl Debug for ClientBuilder"],["impl Debug for ClientSink"],["impl Debug for ClientStream"],["impl Debug for QuicClient"],["impl Debug for ClientRateLimit"],["impl Debug for Limits"],["impl Debug for Metrics"],["impl Debug for QuicConfig"],["impl Debug for Server"],["impl Debug for StunConfig"],["impl Debug for StunMetrics"],["impl Debug for PingTracker"],["impl Debug for RelayMap"],["impl Debug for RelayNode"],["impl Debug for RelayQuicConfig"],["impl<EC: Debug, EA: Debug> Debug for CertConfig<EC, EA>"],["impl<EC: Debug, EA: Debug> Debug for RelayConfig<EC, EA>
      where\n Option<TlsConfig<EC, EA>>: Debug,
      "],["impl<EC: Debug, EA: Debug> Debug for ServerConfig<EC, EA>
      where\n Option<RelayConfig<EC, EA>>: Debug,
      "],["impl<EC: Debug, EA: Debug> Debug for TlsConfig<EC, EA>
      where\n CertConfig<EC, EA>: Debug,
      "],["impl<Loader: Debug + Send + 'static> Debug for ReloadingResolver<Loader>"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl Debug for ConnectionType"],["impl Debug for ControlMsg"],["impl Debug for DirectAddrType"],["impl Debug for PathSelection"],["impl Debug for RelayMode"],["impl Debug for Source"],["impl Debug for DnsDiscovery"],["impl Debug for LocalSwarmDiscovery"],["impl Debug for Builder"],["impl Debug for DhtDiscovery"],["impl Debug for PkarrPublisher"],["impl Debug for PkarrRelayClient"],["impl Debug for PkarrResolver"],["impl Debug for StaticProvider"],["impl Debug for ConcurrentDiscovery"],["impl Debug for DiscoveryItem"],["impl Debug for Builder"],["impl Debug for Connecting"],["impl Debug for Connection"],["impl Debug for DirectAddr"],["impl Debug for DirectAddrInfo"],["impl Debug for Endpoint"],["impl Debug for Incoming"],["impl Debug for IncomingFuture"],["impl Debug for RemoteInfo"],["impl Debug for Metrics"],["impl Debug for Router"],["impl Debug for RouterBuilder"],["impl Debug for CleanupDropGuard"],["impl Debug for DnsPkarrServer"],["impl Debug for Disconnected"],["impl<'a> Debug for Accept<'a>"],["impl<'a, T: Debug> Debug for WatchInitializedFut<'a, T>"],["impl<'a, T: Debug> Debug for WatchNextFut<'a, T>"],["impl<T: Debug> Debug for Watchable<T>"],["impl<T: Debug> Debug for Watcher<T>"],["impl<T: Debug> Debug for WatcherStream<T>"]]],["iroh_base",[["impl Debug for KeyParsingError"],["impl Debug for Error"],["impl Debug for NodeAddr"],["impl Debug for PublicKey"],["impl Debug for RelayUrl"],["impl Debug for RelayUrlParseError"],["impl Debug for SecretKey"],["impl Debug for NodeTicket"]]],["iroh_bench",[["impl Debug for Commands"],["impl Debug for Opt"],["impl Debug for Stats"],["impl Debug for StreamStats"],["impl Debug for TransferResult"],["impl Debug for Opt"]]],["iroh_dns_server",[["impl Debug for BootstrapOption"],["impl Debug for CertMode"],["impl Debug for RateLimitConfig"],["impl Debug for Config"],["impl Debug for MainlineConfig"],["impl Debug for MetricsConfig"],["impl Debug for StoreConfig"],["impl Debug for DnsConfig"],["impl Debug for DnsHandler"],["impl Debug for Handle"],["impl Debug for HttpConfig"],["impl Debug for HttpsConfig"],["impl Debug for Metrics"],["impl Debug for ZoneStore"]]],["iroh_net_report",[["impl Debug for Addr"],["impl Debug for Client"],["impl Debug for IpMappedAddr"],["impl Debug for IpMappedAddrError"],["impl Debug for IpMappedAddresses"],["impl Debug for Metrics"],["impl Debug for Options"],["impl Debug for QuicConfig"],["impl Debug for RelayLatencies"],["impl Debug for Report"]]],["iroh_relay",[["impl Debug for ConnSendError"],["impl Debug for ReceivedMessage"],["impl Debug for SendMessage"],["impl Debug for Protocol"],["impl Debug for Error"],["impl Debug for Access"],["impl Debug for AccessConfig"],["impl Debug for Client"],["impl Debug for ClientBuilder"],["impl Debug for ClientSink"],["impl Debug for ClientStream"],["impl Debug for NodeInfo"],["impl Debug for DnsResolver"],["impl Debug for TXT"],["impl Debug for TxtLookup"],["impl Debug for QuicClient"],["impl Debug for ClientRateLimit"],["impl Debug for Limits"],["impl Debug for Metrics"],["impl Debug for QuicConfig"],["impl Debug for Server"],["impl Debug for StunConfig"],["impl Debug for StunMetrics"],["impl Debug for PingTracker"],["impl Debug for RelayMap"],["impl Debug for RelayNode"],["impl Debug for RelayQuicConfig"],["impl<EC: Debug, EA: Debug> Debug for CertConfig<EC, EA>"],["impl<EC: Debug, EA: Debug> Debug for RelayConfig<EC, EA>
      where\n Option<TlsConfig<EC, EA>>: Debug,
      "],["impl<EC: Debug, EA: Debug> Debug for ServerConfig<EC, EA>
      where\n Option<RelayConfig<EC, EA>>: Debug,
      "],["impl<EC: Debug, EA: Debug> Debug for TlsConfig<EC, EA>
      where\n CertConfig<EC, EA>: Debug,
      "],["impl<Loader: Debug + Send + 'static> Debug for ReloadingResolver<Loader>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[12085,2120,1583,3987,2742,10399]} \ No newline at end of file +//{"start":57,"fragment_lengths":[11119,2120,1583,3987,2742,11477]} \ No newline at end of file diff --git a/pr/2937/docs/trait.impl/core/fmt/trait.Display.js b/pr/2937/docs/trait.impl/core/fmt/trait.Display.js index 95f29927eb..3c1899691e 100644 --- a/pr/2937/docs/trait.impl/core/fmt/trait.Display.js +++ b/pr/2937/docs/trait.impl/core/fmt/trait.Display.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl Display for IrohAttr"],["impl Display for ConnectionType"],["impl Display for ControlMsg"],["impl Display for DirectAddrType"],["impl Display for Source"],["impl Display for Disconnected"]]],["iroh_base",[["impl Display for KeyParsingError"],["impl Display for Error"],["impl Display for PublicKey"],["impl Display for RelayUrl"],["impl Display for RelayUrlParseError"],["impl Display for SecretKey"],["impl Display for NodeTicket"]]],["iroh_dns_server",[["impl Display for CertMode"]]],["iroh_net_report",[["impl Display for IpMappedAddr"],["impl Display for IpMappedAddrError"],["impl Display for Report"]]],["iroh_relay",[["impl Display for ConnSendError"],["impl Display for Error"],["impl Display for RelayMap"],["impl Display for RelayNode"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl Display for ConnectionType"],["impl Display for ControlMsg"],["impl Display for DirectAddrType"],["impl Display for Source"],["impl Display for Disconnected"]]],["iroh_base",[["impl Display for KeyParsingError"],["impl Display for Error"],["impl Display for PublicKey"],["impl Display for RelayUrl"],["impl Display for RelayUrlParseError"],["impl Display for SecretKey"],["impl Display for NodeTicket"]]],["iroh_dns_server",[["impl Display for CertMode"]]],["iroh_net_report",[["impl Display for IpMappedAddr"],["impl Display for IpMappedAddrError"],["impl Display for Report"]]],["iroh_relay",[["impl Display for ConnSendError"],["impl Display for Error"],["impl Display for TXT"],["impl Display for RelayMap"],["impl Display for RelayNode"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[1655,1908,299,871,1103]} \ No newline at end of file +//{"start":57,"fragment_lengths":[1381,1908,299,871,1359]} \ No newline at end of file diff --git a/pr/2937/docs/trait.impl/core/hash/trait.Hash.js b/pr/2937/docs/trait.impl/core/hash/trait.Hash.js index 3f173b15c2..7b1e7d43f0 100644 --- a/pr/2937/docs/trait.impl/core/hash/trait.Hash.js +++ b/pr/2937/docs/trait.impl/core/hash/trait.Hash.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl Hash for IrohAttr"],["impl Hash for DirectAddrType"],["impl Hash for Source"],["impl Hash for DirectAddr"]]],["iroh_base",[["impl Hash for PublicKey"],["impl Hash for RelayUrl"]]],["iroh_net_report",[["impl Hash for IpMappedAddr"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl Hash for DirectAddrType"],["impl Hash for Source"],["impl Hash for DirectAddr"]]],["iroh_base",[["impl Hash for PublicKey"],["impl Hash for RelayUrl"]]],["iroh_net_report",[["impl Hash for IpMappedAddr"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[1069,525,299]} \ No newline at end of file +//{"start":57,"fragment_lengths":[802,525,299]} \ No newline at end of file diff --git a/pr/2937/docs/trait.impl/core/iter/traits/collect/trait.IntoIterator.js b/pr/2937/docs/trait.impl/core/iter/traits/collect/trait.IntoIterator.js new file mode 100644 index 0000000000..dcdfb1e369 --- /dev/null +++ b/pr/2937/docs/trait.impl/core/iter/traits/collect/trait.IntoIterator.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["iroh_relay",[["impl IntoIterator for TxtLookup"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[339]} \ No newline at end of file diff --git a/pr/2937/docs/trait.impl/core/marker/trait.Freeze.js b/pr/2937/docs/trait.impl/core/marker/trait.Freeze.js index 47367cafcb..a84afe35f7 100644 --- a/pr/2937/docs/trait.impl/core/marker/trait.Freeze.js +++ b/pr/2937/docs/trait.impl/core/marker/trait.Freeze.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl !Freeze for Incoming",1,["iroh::endpoint::Incoming"]],["impl !Freeze for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl Freeze for IrohAttr",1,["iroh::dns::node_info::IrohAttr"]],["impl Freeze for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl Freeze for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl Freeze for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Freeze for PathSelection",1,["iroh::endpoint::PathSelection"]],["impl Freeze for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Freeze for Source",1,["iroh::magicsock::node_map::Source"]],["impl Freeze for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Freeze for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl Freeze for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Freeze for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Freeze for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Freeze for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Freeze for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Freeze for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Freeze for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Freeze for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Freeze for NodeInfo",1,["iroh::dns::node_info::NodeInfo"]],["impl Freeze for Builder",1,["iroh::endpoint::Builder"]],["impl Freeze for Connecting",1,["iroh::endpoint::Connecting"]],["impl Freeze for Connection",1,["iroh::endpoint::Connection"]],["impl Freeze for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Freeze for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl Freeze for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Freeze for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl Freeze for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Freeze for Router",1,["iroh::protocol::Router"]],["impl Freeze for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Freeze for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Freeze for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Freeze for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> !Freeze for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> Freeze for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> Freeze for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<T> Freeze for TxtAttrs<T>",1,["iroh::dns::node_info::TxtAttrs"]],["impl<T> Freeze for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> Freeze for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> Freeze for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl Freeze for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Freeze for Error",1,["iroh_base::ticket::Error"]],["impl Freeze for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl Freeze for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Freeze for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Freeze for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Freeze for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Freeze for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl Freeze for Commands",1,["iroh_bench::Commands"]],["impl Freeze for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Freeze for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Freeze for Opt",1,["iroh_bench::s2n::Opt"]],["impl Freeze for Stats",1,["iroh_bench::stats::Stats"]],["impl Freeze for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Freeze for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Freeze for ClientStats",1,["iroh_bench::ClientStats"]],["impl Freeze for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Freeze for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Freeze for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Freeze for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Freeze for Config",1,["iroh_dns_server::config::Config"]],["impl Freeze for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Freeze for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Freeze for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Freeze for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Freeze for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Freeze for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Freeze for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Freeze for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Freeze for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Freeze for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Freeze for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Freeze for Server",1,["iroh_dns_server::server::Server"]],["impl Freeze for AppState",1,["iroh_dns_server::state::AppState"]],["impl Freeze for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_net_report",[["impl Freeze for Addr",1,["iroh_net_report::Addr"]],["impl Freeze for Client",1,["iroh_net_report::Client"]],["impl Freeze for IpMappedAddr",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddr"]],["impl Freeze for IpMappedAddrError",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddrError"]],["impl Freeze for IpMappedAddresses",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddresses"]],["impl Freeze for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl Freeze for Options",1,["iroh_net_report::Options"]],["impl Freeze for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl Freeze for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl Freeze for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl !Freeze for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl !Freeze for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl !Freeze for Client",1,["iroh_relay::client::Client"]],["impl !Freeze for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl Freeze for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl Freeze for Protocol",1,["iroh_relay::http::Protocol"]],["impl Freeze for Error",1,["iroh_relay::protos::stun::Error"]],["impl Freeze for Access",1,["iroh_relay::server::Access"]],["impl Freeze for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl Freeze for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Freeze for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Freeze for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Freeze for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl Freeze for Limits",1,["iroh_relay::server::Limits"]],["impl Freeze for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Freeze for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Freeze for Server",1,["iroh_relay::server::Server"]],["impl Freeze for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl Freeze for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl Freeze for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl Freeze for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Freeze for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl Freeze for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA> Freeze for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA> Freeze for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA> Freeze for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA> Freeze for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Freeze for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); + var implementors = Object.fromEntries([["iroh",[["impl !Freeze for Incoming",1,["iroh::endpoint::Incoming"]],["impl !Freeze for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl Freeze for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl Freeze for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl Freeze for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Freeze for PathSelection",1,["iroh::endpoint::PathSelection"]],["impl Freeze for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Freeze for Source",1,["iroh::magicsock::node_map::Source"]],["impl Freeze for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Freeze for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl Freeze for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Freeze for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Freeze for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Freeze for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Freeze for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Freeze for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Freeze for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Freeze for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Freeze for Builder",1,["iroh::endpoint::Builder"]],["impl Freeze for Connecting",1,["iroh::endpoint::Connecting"]],["impl Freeze for Connection",1,["iroh::endpoint::Connection"]],["impl Freeze for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Freeze for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl Freeze for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Freeze for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl Freeze for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Freeze for Router",1,["iroh::protocol::Router"]],["impl Freeze for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Freeze for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Freeze for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Freeze for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> !Freeze for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> Freeze for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> Freeze for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<T> Freeze for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> Freeze for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> Freeze for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl Freeze for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Freeze for Error",1,["iroh_base::ticket::Error"]],["impl Freeze for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl Freeze for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Freeze for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Freeze for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Freeze for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Freeze for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl Freeze for Commands",1,["iroh_bench::Commands"]],["impl Freeze for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Freeze for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Freeze for Opt",1,["iroh_bench::s2n::Opt"]],["impl Freeze for Stats",1,["iroh_bench::stats::Stats"]],["impl Freeze for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Freeze for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Freeze for ClientStats",1,["iroh_bench::ClientStats"]],["impl Freeze for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Freeze for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Freeze for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Freeze for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Freeze for Config",1,["iroh_dns_server::config::Config"]],["impl Freeze for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Freeze for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Freeze for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Freeze for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Freeze for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Freeze for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Freeze for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Freeze for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Freeze for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Freeze for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Freeze for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Freeze for Server",1,["iroh_dns_server::server::Server"]],["impl Freeze for AppState",1,["iroh_dns_server::state::AppState"]],["impl Freeze for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_net_report",[["impl Freeze for Addr",1,["iroh_net_report::Addr"]],["impl Freeze for Client",1,["iroh_net_report::Client"]],["impl Freeze for IpMappedAddr",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddr"]],["impl Freeze for IpMappedAddrError",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddrError"]],["impl Freeze for IpMappedAddresses",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddresses"]],["impl Freeze for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl Freeze for Options",1,["iroh_net_report::Options"]],["impl Freeze for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl Freeze for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl Freeze for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl !Freeze for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl !Freeze for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl !Freeze for Client",1,["iroh_relay::client::Client"]],["impl !Freeze for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl Freeze for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl Freeze for Protocol",1,["iroh_relay::http::Protocol"]],["impl Freeze for Error",1,["iroh_relay::protos::stun::Error"]],["impl Freeze for Access",1,["iroh_relay::server::Access"]],["impl Freeze for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl Freeze for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Freeze for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Freeze for NodeInfo",1,["iroh_relay::dns::node_info::NodeInfo"]],["impl Freeze for DnsResolver",1,["iroh_relay::dns::DnsResolver"]],["impl Freeze for TXT",1,["iroh_relay::dns::TXT"]],["impl Freeze for TxtLookup",1,["iroh_relay::dns::TxtLookup"]],["impl Freeze for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Freeze for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl Freeze for Limits",1,["iroh_relay::server::Limits"]],["impl Freeze for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Freeze for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Freeze for Server",1,["iroh_relay::server::Server"]],["impl Freeze for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl Freeze for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl Freeze for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl Freeze for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Freeze for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl Freeze for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA> Freeze for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA> Freeze for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA> Freeze for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA> Freeze for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Freeze for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13296,2488,2769,6014,3243,9195]} \ No newline at end of file +//{"start":57,"fragment_lengths":[12324,2488,2769,6014,3243,10447]} \ No newline at end of file diff --git a/pr/2937/docs/trait.impl/core/marker/trait.Send.js b/pr/2937/docs/trait.impl/core/marker/trait.Send.js index fd1fff42fd..ec57a33a60 100644 --- a/pr/2937/docs/trait.impl/core/marker/trait.Send.js +++ b/pr/2937/docs/trait.impl/core/marker/trait.Send.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl Send for IrohAttr",1,["iroh::dns::node_info::IrohAttr"]],["impl Send for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl Send for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl Send for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Send for PathSelection",1,["iroh::endpoint::PathSelection"]],["impl Send for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Send for Source",1,["iroh::magicsock::node_map::Source"]],["impl Send for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Send for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl Send for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Send for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Send for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Send for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Send for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Send for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Send for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Send for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Send for NodeInfo",1,["iroh::dns::node_info::NodeInfo"]],["impl Send for Builder",1,["iroh::endpoint::Builder"]],["impl Send for Connecting",1,["iroh::endpoint::Connecting"]],["impl Send for Connection",1,["iroh::endpoint::Connection"]],["impl Send for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Send for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl Send for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Send for Incoming",1,["iroh::endpoint::Incoming"]],["impl Send for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl Send for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl Send for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Send for Router",1,["iroh::protocol::Router"]],["impl Send for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Send for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Send for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Send for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> Send for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> Send for WatchInitializedFut<'a, T>
      where\n T: Send + Sync,
      ",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> Send for WatchNextFut<'a, T>
      where\n T: Send + Sync,
      ",1,["iroh::watchable::WatchNextFut"]],["impl<T> Send for TxtAttrs<T>
      where\n T: Send,
      ",1,["iroh::dns::node_info::TxtAttrs"]],["impl<T> Send for Watchable<T>
      where\n T: Send + Sync,
      ",1,["iroh::watchable::Watchable"]],["impl<T> Send for Watcher<T>
      where\n T: Send + Sync,
      ",1,["iroh::watchable::Watcher"]],["impl<T> Send for WatcherStream<T>
      where\n T: Send + Sync,
      ",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl Send for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Send for Error",1,["iroh_base::ticket::Error"]],["impl Send for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl Send for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Send for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Send for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Send for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Send for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl Send for Commands",1,["iroh_bench::Commands"]],["impl Send for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Send for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Send for Opt",1,["iroh_bench::s2n::Opt"]],["impl Send for Stats",1,["iroh_bench::stats::Stats"]],["impl Send for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Send for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Send for ClientStats",1,["iroh_bench::ClientStats"]],["impl Send for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Send for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Send for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Send for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Send for Config",1,["iroh_dns_server::config::Config"]],["impl Send for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Send for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Send for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Send for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Send for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Send for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Send for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Send for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Send for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Send for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Send for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Send for Server",1,["iroh_dns_server::server::Server"]],["impl Send for AppState",1,["iroh_dns_server::state::AppState"]],["impl Send for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_net_report",[["impl Send for Addr",1,["iroh_net_report::Addr"]],["impl Send for Client",1,["iroh_net_report::Client"]],["impl Send for IpMappedAddr",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddr"]],["impl Send for IpMappedAddrError",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddrError"]],["impl Send for IpMappedAddresses",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddresses"]],["impl Send for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl Send for Options",1,["iroh_net_report::Options"]],["impl Send for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl Send for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl Send for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl Send for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl Send for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl Send for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl Send for Protocol",1,["iroh_relay::http::Protocol"]],["impl Send for Error",1,["iroh_relay::protos::stun::Error"]],["impl Send for Access",1,["iroh_relay::server::Access"]],["impl Send for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl Send for Client",1,["iroh_relay::client::Client"]],["impl Send for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Send for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl Send for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Send for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Send for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl Send for Limits",1,["iroh_relay::server::Limits"]],["impl Send for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Send for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Send for Server",1,["iroh_relay::server::Server"]],["impl Send for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl Send for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl Send for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl Send for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Send for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl Send for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA> Send for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA> Send for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA> Send for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA> Send for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Send for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); + var implementors = Object.fromEntries([["iroh",[["impl Send for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl Send for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl Send for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Send for PathSelection",1,["iroh::endpoint::PathSelection"]],["impl Send for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Send for Source",1,["iroh::magicsock::node_map::Source"]],["impl Send for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Send for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl Send for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Send for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Send for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Send for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Send for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Send for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Send for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Send for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Send for Builder",1,["iroh::endpoint::Builder"]],["impl Send for Connecting",1,["iroh::endpoint::Connecting"]],["impl Send for Connection",1,["iroh::endpoint::Connection"]],["impl Send for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Send for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl Send for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Send for Incoming",1,["iroh::endpoint::Incoming"]],["impl Send for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl Send for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl Send for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Send for Router",1,["iroh::protocol::Router"]],["impl Send for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Send for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Send for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Send for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> Send for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> Send for WatchInitializedFut<'a, T>
      where\n T: Send + Sync,
      ",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> Send for WatchNextFut<'a, T>
      where\n T: Send + Sync,
      ",1,["iroh::watchable::WatchNextFut"]],["impl<T> Send for Watchable<T>
      where\n T: Send + Sync,
      ",1,["iroh::watchable::Watchable"]],["impl<T> Send for Watcher<T>
      where\n T: Send + Sync,
      ",1,["iroh::watchable::Watcher"]],["impl<T> Send for WatcherStream<T>
      where\n T: Send + Sync,
      ",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl Send for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Send for Error",1,["iroh_base::ticket::Error"]],["impl Send for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl Send for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Send for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Send for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Send for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Send for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl Send for Commands",1,["iroh_bench::Commands"]],["impl Send for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Send for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Send for Opt",1,["iroh_bench::s2n::Opt"]],["impl Send for Stats",1,["iroh_bench::stats::Stats"]],["impl Send for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Send for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Send for ClientStats",1,["iroh_bench::ClientStats"]],["impl Send for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Send for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Send for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Send for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Send for Config",1,["iroh_dns_server::config::Config"]],["impl Send for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Send for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Send for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Send for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Send for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Send for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Send for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Send for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Send for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Send for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Send for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Send for Server",1,["iroh_dns_server::server::Server"]],["impl Send for AppState",1,["iroh_dns_server::state::AppState"]],["impl Send for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_net_report",[["impl Send for Addr",1,["iroh_net_report::Addr"]],["impl Send for Client",1,["iroh_net_report::Client"]],["impl Send for IpMappedAddr",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddr"]],["impl Send for IpMappedAddrError",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddrError"]],["impl Send for IpMappedAddresses",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddresses"]],["impl Send for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl Send for Options",1,["iroh_net_report::Options"]],["impl Send for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl Send for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl Send for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl Send for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl Send for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl Send for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl Send for Protocol",1,["iroh_relay::http::Protocol"]],["impl Send for Error",1,["iroh_relay::protos::stun::Error"]],["impl Send for Access",1,["iroh_relay::server::Access"]],["impl Send for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl Send for Client",1,["iroh_relay::client::Client"]],["impl Send for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Send for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl Send for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Send for NodeInfo",1,["iroh_relay::dns::node_info::NodeInfo"]],["impl Send for DnsResolver",1,["iroh_relay::dns::DnsResolver"]],["impl Send for TXT",1,["iroh_relay::dns::TXT"]],["impl Send for TxtLookup",1,["iroh_relay::dns::TxtLookup"]],["impl Send for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Send for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl Send for Limits",1,["iroh_relay::server::Limits"]],["impl Send for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Send for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Send for Server",1,["iroh_relay::server::Server"]],["impl Send for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl Send for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl Send for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl Send for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Send for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl Send for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA> Send for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA> Send for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA> Send for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA> Send for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Send for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[14783,2440,2715,5906,3183,9023]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13654,2440,2715,5906,3183,10251]} \ No newline at end of file diff --git a/pr/2937/docs/trait.impl/core/marker/trait.StructuralPartialEq.js b/pr/2937/docs/trait.impl/core/marker/trait.StructuralPartialEq.js index b131369670..e7d8376fe0 100644 --- a/pr/2937/docs/trait.impl/core/marker/trait.StructuralPartialEq.js +++ b/pr/2937/docs/trait.impl/core/marker/trait.StructuralPartialEq.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl StructuralPartialEq for IrohAttr"],["impl StructuralPartialEq for ConnectionType"],["impl StructuralPartialEq for ControlMsg"],["impl StructuralPartialEq for DirectAddrType"],["impl StructuralPartialEq for PathSelection"],["impl StructuralPartialEq for RelayMode"],["impl StructuralPartialEq for Source"],["impl StructuralPartialEq for NodeInfo"],["impl StructuralPartialEq for DirectAddr"],["impl StructuralPartialEq for DirectAddrInfo"],["impl StructuralPartialEq for RemoteInfo"]]],["iroh_base",[["impl StructuralPartialEq for NodeAddr"],["impl StructuralPartialEq for PublicKey"],["impl StructuralPartialEq for RelayUrl"],["impl StructuralPartialEq for NodeTicket"]]],["iroh_dns_server",[["impl StructuralPartialEq for CertMode"]]],["iroh_net_report",[["impl StructuralPartialEq for IpMappedAddr"],["impl StructuralPartialEq for RelayLatencies"],["impl StructuralPartialEq for Report"]]],["iroh_relay",[["impl StructuralPartialEq for Protocol"],["impl StructuralPartialEq for Access"],["impl StructuralPartialEq for RelayMap"],["impl StructuralPartialEq for RelayNode"],["impl StructuralPartialEq for RelayQuicConfig"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl StructuralPartialEq for ConnectionType"],["impl StructuralPartialEq for ControlMsg"],["impl StructuralPartialEq for DirectAddrType"],["impl StructuralPartialEq for PathSelection"],["impl StructuralPartialEq for RelayMode"],["impl StructuralPartialEq for Source"],["impl StructuralPartialEq for DirectAddr"],["impl StructuralPartialEq for DirectAddrInfo"],["impl StructuralPartialEq for RemoteInfo"]]],["iroh_base",[["impl StructuralPartialEq for NodeAddr"],["impl StructuralPartialEq for PublicKey"],["impl StructuralPartialEq for RelayUrl"],["impl StructuralPartialEq for NodeTicket"]]],["iroh_dns_server",[["impl StructuralPartialEq for CertMode"]]],["iroh_net_report",[["impl StructuralPartialEq for IpMappedAddr"],["impl StructuralPartialEq for RelayLatencies"],["impl StructuralPartialEq for Report"]]],["iroh_relay",[["impl StructuralPartialEq for Protocol"],["impl StructuralPartialEq for Access"],["impl StructuralPartialEq for NodeInfo"],["impl StructuralPartialEq for RelayMap"],["impl StructuralPartialEq for RelayNode"],["impl StructuralPartialEq for RelayQuicConfig"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[3495,1248,341,988,1569]} \ No newline at end of file +//{"start":57,"fragment_lengths":[2857,1248,341,988,1903]} \ No newline at end of file diff --git a/pr/2937/docs/trait.impl/core/marker/trait.Sync.js b/pr/2937/docs/trait.impl/core/marker/trait.Sync.js index 48d60a7a00..bbcc7f7364 100644 --- a/pr/2937/docs/trait.impl/core/marker/trait.Sync.js +++ b/pr/2937/docs/trait.impl/core/marker/trait.Sync.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl Sync for IrohAttr",1,["iroh::dns::node_info::IrohAttr"]],["impl Sync for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl Sync for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl Sync for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Sync for PathSelection",1,["iroh::endpoint::PathSelection"]],["impl Sync for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Sync for Source",1,["iroh::magicsock::node_map::Source"]],["impl Sync for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Sync for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl Sync for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Sync for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Sync for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Sync for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Sync for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Sync for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Sync for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Sync for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Sync for NodeInfo",1,["iroh::dns::node_info::NodeInfo"]],["impl Sync for Builder",1,["iroh::endpoint::Builder"]],["impl Sync for Connecting",1,["iroh::endpoint::Connecting"]],["impl Sync for Connection",1,["iroh::endpoint::Connection"]],["impl Sync for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Sync for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl Sync for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Sync for Incoming",1,["iroh::endpoint::Incoming"]],["impl Sync for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl Sync for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl Sync for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Sync for Router",1,["iroh::protocol::Router"]],["impl Sync for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Sync for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Sync for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Sync for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> Sync for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> Sync for WatchInitializedFut<'a, T>
      where\n T: Send + Sync,
      ",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> Sync for WatchNextFut<'a, T>
      where\n T: Send + Sync,
      ",1,["iroh::watchable::WatchNextFut"]],["impl<T> Sync for TxtAttrs<T>
      where\n T: Sync,
      ",1,["iroh::dns::node_info::TxtAttrs"]],["impl<T> Sync for Watchable<T>
      where\n T: Send + Sync,
      ",1,["iroh::watchable::Watchable"]],["impl<T> Sync for Watcher<T>
      where\n T: Send + Sync,
      ",1,["iroh::watchable::Watcher"]],["impl<T> Sync for WatcherStream<T>
      where\n T: Send + Sync,
      ",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl Sync for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Sync for Error",1,["iroh_base::ticket::Error"]],["impl Sync for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl Sync for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Sync for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Sync for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Sync for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Sync for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl Sync for Commands",1,["iroh_bench::Commands"]],["impl Sync for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Sync for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Sync for Opt",1,["iroh_bench::s2n::Opt"]],["impl Sync for Stats",1,["iroh_bench::stats::Stats"]],["impl Sync for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Sync for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Sync for ClientStats",1,["iroh_bench::ClientStats"]],["impl Sync for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Sync for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Sync for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Sync for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Sync for Config",1,["iroh_dns_server::config::Config"]],["impl Sync for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Sync for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Sync for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Sync for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Sync for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Sync for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Sync for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Sync for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Sync for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Sync for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Sync for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Sync for Server",1,["iroh_dns_server::server::Server"]],["impl Sync for AppState",1,["iroh_dns_server::state::AppState"]],["impl Sync for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_net_report",[["impl Sync for Addr",1,["iroh_net_report::Addr"]],["impl Sync for Client",1,["iroh_net_report::Client"]],["impl Sync for IpMappedAddr",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddr"]],["impl Sync for IpMappedAddrError",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddrError"]],["impl Sync for IpMappedAddresses",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddresses"]],["impl Sync for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl Sync for Options",1,["iroh_net_report::Options"]],["impl Sync for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl Sync for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl Sync for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl Sync for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl Sync for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl Sync for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl Sync for Protocol",1,["iroh_relay::http::Protocol"]],["impl Sync for Error",1,["iroh_relay::protos::stun::Error"]],["impl Sync for Access",1,["iroh_relay::server::Access"]],["impl Sync for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl Sync for Client",1,["iroh_relay::client::Client"]],["impl Sync for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Sync for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl Sync for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Sync for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Sync for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl Sync for Limits",1,["iroh_relay::server::Limits"]],["impl Sync for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Sync for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Sync for Server",1,["iroh_relay::server::Server"]],["impl Sync for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl Sync for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl Sync for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl Sync for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Sync for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl Sync for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA = EC> !Sync for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA = EC> !Sync for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA = EC> !Sync for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA = EC> !Sync for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Sync for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); + var implementors = Object.fromEntries([["iroh",[["impl Sync for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl Sync for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl Sync for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Sync for PathSelection",1,["iroh::endpoint::PathSelection"]],["impl Sync for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Sync for Source",1,["iroh::magicsock::node_map::Source"]],["impl Sync for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Sync for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl Sync for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Sync for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Sync for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Sync for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Sync for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Sync for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Sync for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Sync for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Sync for Builder",1,["iroh::endpoint::Builder"]],["impl Sync for Connecting",1,["iroh::endpoint::Connecting"]],["impl Sync for Connection",1,["iroh::endpoint::Connection"]],["impl Sync for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Sync for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl Sync for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Sync for Incoming",1,["iroh::endpoint::Incoming"]],["impl Sync for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl Sync for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl Sync for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Sync for Router",1,["iroh::protocol::Router"]],["impl Sync for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Sync for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Sync for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Sync for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> Sync for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> Sync for WatchInitializedFut<'a, T>
      where\n T: Send + Sync,
      ",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> Sync for WatchNextFut<'a, T>
      where\n T: Send + Sync,
      ",1,["iroh::watchable::WatchNextFut"]],["impl<T> Sync for Watchable<T>
      where\n T: Send + Sync,
      ",1,["iroh::watchable::Watchable"]],["impl<T> Sync for Watcher<T>
      where\n T: Send + Sync,
      ",1,["iroh::watchable::Watcher"]],["impl<T> Sync for WatcherStream<T>
      where\n T: Send + Sync,
      ",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl Sync for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Sync for Error",1,["iroh_base::ticket::Error"]],["impl Sync for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl Sync for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Sync for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Sync for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Sync for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Sync for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl Sync for Commands",1,["iroh_bench::Commands"]],["impl Sync for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Sync for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Sync for Opt",1,["iroh_bench::s2n::Opt"]],["impl Sync for Stats",1,["iroh_bench::stats::Stats"]],["impl Sync for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Sync for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Sync for ClientStats",1,["iroh_bench::ClientStats"]],["impl Sync for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Sync for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Sync for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Sync for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Sync for Config",1,["iroh_dns_server::config::Config"]],["impl Sync for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Sync for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Sync for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Sync for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Sync for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Sync for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Sync for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Sync for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Sync for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Sync for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Sync for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Sync for Server",1,["iroh_dns_server::server::Server"]],["impl Sync for AppState",1,["iroh_dns_server::state::AppState"]],["impl Sync for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_net_report",[["impl Sync for Addr",1,["iroh_net_report::Addr"]],["impl Sync for Client",1,["iroh_net_report::Client"]],["impl Sync for IpMappedAddr",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddr"]],["impl Sync for IpMappedAddrError",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddrError"]],["impl Sync for IpMappedAddresses",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddresses"]],["impl Sync for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl Sync for Options",1,["iroh_net_report::Options"]],["impl Sync for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl Sync for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl Sync for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl Sync for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl Sync for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl Sync for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl Sync for Protocol",1,["iroh_relay::http::Protocol"]],["impl Sync for Error",1,["iroh_relay::protos::stun::Error"]],["impl Sync for Access",1,["iroh_relay::server::Access"]],["impl Sync for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl Sync for Client",1,["iroh_relay::client::Client"]],["impl Sync for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Sync for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl Sync for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Sync for NodeInfo",1,["iroh_relay::dns::node_info::NodeInfo"]],["impl Sync for DnsResolver",1,["iroh_relay::dns::DnsResolver"]],["impl Sync for TXT",1,["iroh_relay::dns::TXT"]],["impl Sync for TxtLookup",1,["iroh_relay::dns::TxtLookup"]],["impl Sync for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Sync for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl Sync for Limits",1,["iroh_relay::server::Limits"]],["impl Sync for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Sync for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Sync for Server",1,["iroh_relay::server::Server"]],["impl Sync for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl Sync for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl Sync for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl Sync for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Sync for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl Sync for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA = EC> !Sync for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA = EC> !Sync for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA = EC> !Sync for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA = EC> !Sync for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Sync for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[14783,2440,2715,5906,3183,9047]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13654,2440,2715,5906,3183,10275]} \ No newline at end of file diff --git a/pr/2937/docs/trait.impl/core/marker/trait.Unpin.js b/pr/2937/docs/trait.impl/core/marker/trait.Unpin.js index 512e55efdd..50a71e6e61 100644 --- a/pr/2937/docs/trait.impl/core/marker/trait.Unpin.js +++ b/pr/2937/docs/trait.impl/core/marker/trait.Unpin.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl Unpin for IrohAttr",1,["iroh::dns::node_info::IrohAttr"]],["impl Unpin for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl Unpin for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl Unpin for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Unpin for PathSelection",1,["iroh::endpoint::PathSelection"]],["impl Unpin for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Unpin for Source",1,["iroh::magicsock::node_map::Source"]],["impl Unpin for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Unpin for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl Unpin for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Unpin for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Unpin for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Unpin for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Unpin for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Unpin for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Unpin for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Unpin for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Unpin for NodeInfo",1,["iroh::dns::node_info::NodeInfo"]],["impl Unpin for Builder",1,["iroh::endpoint::Builder"]],["impl Unpin for Connection",1,["iroh::endpoint::Connection"]],["impl Unpin for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Unpin for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl Unpin for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Unpin for Incoming",1,["iroh::endpoint::Incoming"]],["impl Unpin for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl Unpin for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Unpin for Router",1,["iroh::protocol::Router"]],["impl Unpin for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Unpin for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Unpin for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Unpin for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a, T> Unpin for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> Unpin for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<'pin> Unpin for Connecting
      where\n PinnedFieldsOf<__Connecting<'pin>>: Unpin,
      "],["impl<'pin> Unpin for IncomingFuture
      where\n PinnedFieldsOf<__IncomingFuture<'pin>>: Unpin,
      "],["impl<'pin, 'a> Unpin for Accept<'a>
      where\n PinnedFieldsOf<__Accept<'pin, 'a>>: Unpin,
      "],["impl<T> Unpin for TxtAttrs<T>",1,["iroh::dns::node_info::TxtAttrs"]],["impl<T> Unpin for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> Unpin for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> Unpin for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl Unpin for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Unpin for Error",1,["iroh_base::ticket::Error"]],["impl Unpin for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl Unpin for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Unpin for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Unpin for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Unpin for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Unpin for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl Unpin for Commands",1,["iroh_bench::Commands"]],["impl Unpin for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Unpin for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Unpin for Opt",1,["iroh_bench::s2n::Opt"]],["impl Unpin for Stats",1,["iroh_bench::stats::Stats"]],["impl Unpin for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Unpin for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Unpin for ClientStats",1,["iroh_bench::ClientStats"]],["impl Unpin for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Unpin for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Unpin for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Unpin for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Unpin for Config",1,["iroh_dns_server::config::Config"]],["impl Unpin for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Unpin for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Unpin for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Unpin for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Unpin for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Unpin for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Unpin for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Unpin for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Unpin for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Unpin for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Unpin for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Unpin for Server",1,["iroh_dns_server::server::Server"]],["impl Unpin for AppState",1,["iroh_dns_server::state::AppState"]],["impl Unpin for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_net_report",[["impl Unpin for Addr",1,["iroh_net_report::Addr"]],["impl Unpin for Client",1,["iroh_net_report::Client"]],["impl Unpin for IpMappedAddr",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddr"]],["impl Unpin for IpMappedAddrError",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddrError"]],["impl Unpin for IpMappedAddresses",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddresses"]],["impl Unpin for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl Unpin for Options",1,["iroh_net_report::Options"]],["impl Unpin for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl Unpin for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl Unpin for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl Unpin for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl Unpin for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl Unpin for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl Unpin for Protocol",1,["iroh_relay::http::Protocol"]],["impl Unpin for Error",1,["iroh_relay::protos::stun::Error"]],["impl Unpin for Access",1,["iroh_relay::server::Access"]],["impl Unpin for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl Unpin for Client",1,["iroh_relay::client::Client"]],["impl Unpin for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Unpin for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl Unpin for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Unpin for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Unpin for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl Unpin for Limits",1,["iroh_relay::server::Limits"]],["impl Unpin for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Unpin for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Unpin for Server",1,["iroh_relay::server::Server"]],["impl Unpin for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl Unpin for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl Unpin for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl Unpin for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Unpin for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl Unpin for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA> Unpin for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA> Unpin for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA> Unpin for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA> Unpin for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Unpin for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); + var implementors = Object.fromEntries([["iroh",[["impl Unpin for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl Unpin for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl Unpin for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Unpin for PathSelection",1,["iroh::endpoint::PathSelection"]],["impl Unpin for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Unpin for Source",1,["iroh::magicsock::node_map::Source"]],["impl Unpin for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Unpin for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl Unpin for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Unpin for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Unpin for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Unpin for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Unpin for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Unpin for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Unpin for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Unpin for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Unpin for Builder",1,["iroh::endpoint::Builder"]],["impl Unpin for Connection",1,["iroh::endpoint::Connection"]],["impl Unpin for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Unpin for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl Unpin for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Unpin for Incoming",1,["iroh::endpoint::Incoming"]],["impl Unpin for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl Unpin for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Unpin for Router",1,["iroh::protocol::Router"]],["impl Unpin for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Unpin for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Unpin for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Unpin for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a, T> Unpin for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> Unpin for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<'pin> Unpin for Connecting
      where\n PinnedFieldsOf<__Connecting<'pin>>: Unpin,
      "],["impl<'pin> Unpin for IncomingFuture
      where\n PinnedFieldsOf<__IncomingFuture<'pin>>: Unpin,
      "],["impl<'pin, 'a> Unpin for Accept<'a>
      where\n PinnedFieldsOf<__Accept<'pin, 'a>>: Unpin,
      "],["impl<T> Unpin for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> Unpin for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> Unpin for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl Unpin for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Unpin for Error",1,["iroh_base::ticket::Error"]],["impl Unpin for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl Unpin for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Unpin for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Unpin for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Unpin for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Unpin for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl Unpin for Commands",1,["iroh_bench::Commands"]],["impl Unpin for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Unpin for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Unpin for Opt",1,["iroh_bench::s2n::Opt"]],["impl Unpin for Stats",1,["iroh_bench::stats::Stats"]],["impl Unpin for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Unpin for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Unpin for ClientStats",1,["iroh_bench::ClientStats"]],["impl Unpin for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Unpin for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Unpin for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Unpin for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Unpin for Config",1,["iroh_dns_server::config::Config"]],["impl Unpin for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Unpin for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Unpin for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Unpin for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Unpin for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Unpin for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Unpin for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Unpin for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Unpin for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Unpin for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Unpin for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Unpin for Server",1,["iroh_dns_server::server::Server"]],["impl Unpin for AppState",1,["iroh_dns_server::state::AppState"]],["impl Unpin for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_net_report",[["impl Unpin for Addr",1,["iroh_net_report::Addr"]],["impl Unpin for Client",1,["iroh_net_report::Client"]],["impl Unpin for IpMappedAddr",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddr"]],["impl Unpin for IpMappedAddrError",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddrError"]],["impl Unpin for IpMappedAddresses",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddresses"]],["impl Unpin for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl Unpin for Options",1,["iroh_net_report::Options"]],["impl Unpin for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl Unpin for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl Unpin for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl Unpin for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl Unpin for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl Unpin for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl Unpin for Protocol",1,["iroh_relay::http::Protocol"]],["impl Unpin for Error",1,["iroh_relay::protos::stun::Error"]],["impl Unpin for Access",1,["iroh_relay::server::Access"]],["impl Unpin for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl Unpin for Client",1,["iroh_relay::client::Client"]],["impl Unpin for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Unpin for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl Unpin for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Unpin for NodeInfo",1,["iroh_relay::dns::node_info::NodeInfo"]],["impl Unpin for DnsResolver",1,["iroh_relay::dns::DnsResolver"]],["impl Unpin for TXT",1,["iroh_relay::dns::TXT"]],["impl Unpin for TxtLookup",1,["iroh_relay::dns::TxtLookup"]],["impl Unpin for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Unpin for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl Unpin for Limits",1,["iroh_relay::server::Limits"]],["impl Unpin for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Unpin for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Unpin for Server",1,["iroh_relay::server::Server"]],["impl Unpin for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl Unpin for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl Unpin for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl Unpin for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Unpin for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl Unpin for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA> Unpin for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA> Unpin for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA> Unpin for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA> Unpin for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Unpin for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13777,2464,2742,5960,3213,9107]} \ No newline at end of file +//{"start":57,"fragment_lengths":[12814,2464,2742,5960,3213,10347]} \ No newline at end of file diff --git a/pr/2937/docs/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js b/pr/2937/docs/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js index a2528207b1..a3946319e7 100644 --- a/pr/2937/docs/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js +++ b/pr/2937/docs/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl !RefUnwindSafe for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl !RefUnwindSafe for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl !RefUnwindSafe for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl !RefUnwindSafe for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl !RefUnwindSafe for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl !RefUnwindSafe for Builder",1,["iroh::endpoint::Builder"]],["impl !RefUnwindSafe for Connecting",1,["iroh::endpoint::Connecting"]],["impl !RefUnwindSafe for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl !RefUnwindSafe for Incoming",1,["iroh::endpoint::Incoming"]],["impl !RefUnwindSafe for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl !RefUnwindSafe for Router",1,["iroh::protocol::Router"]],["impl !RefUnwindSafe for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl !RefUnwindSafe for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl !RefUnwindSafe for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl RefUnwindSafe for IrohAttr",1,["iroh::dns::node_info::IrohAttr"]],["impl RefUnwindSafe for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl RefUnwindSafe for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl RefUnwindSafe for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl RefUnwindSafe for PathSelection",1,["iroh::endpoint::PathSelection"]],["impl RefUnwindSafe for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl RefUnwindSafe for Source",1,["iroh::magicsock::node_map::Source"]],["impl RefUnwindSafe for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl RefUnwindSafe for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl RefUnwindSafe for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl RefUnwindSafe for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl RefUnwindSafe for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl RefUnwindSafe for NodeInfo",1,["iroh::dns::node_info::NodeInfo"]],["impl RefUnwindSafe for Connection",1,["iroh::endpoint::Connection"]],["impl RefUnwindSafe for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl RefUnwindSafe for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl RefUnwindSafe for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl RefUnwindSafe for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl RefUnwindSafe for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> !RefUnwindSafe for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> RefUnwindSafe for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> RefUnwindSafe for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<T> RefUnwindSafe for TxtAttrs<T>
      where\n T: RefUnwindSafe,
      ",1,["iroh::dns::node_info::TxtAttrs"]],["impl<T> RefUnwindSafe for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> RefUnwindSafe for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> RefUnwindSafe for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl !RefUnwindSafe for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl RefUnwindSafe for Error",1,["iroh_base::ticket::Error"]],["impl RefUnwindSafe for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl RefUnwindSafe for PublicKey",1,["iroh_base::key::PublicKey"]],["impl RefUnwindSafe for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl RefUnwindSafe for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl RefUnwindSafe for SecretKey",1,["iroh_base::key::SecretKey"]],["impl RefUnwindSafe for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl !RefUnwindSafe for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl RefUnwindSafe for Commands",1,["iroh_bench::Commands"]],["impl RefUnwindSafe for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl RefUnwindSafe for Opt",1,["iroh_bench::s2n::Opt"]],["impl RefUnwindSafe for Stats",1,["iroh_bench::stats::Stats"]],["impl RefUnwindSafe for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl RefUnwindSafe for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl RefUnwindSafe for ClientStats",1,["iroh_bench::ClientStats"]],["impl RefUnwindSafe for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl !RefUnwindSafe for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl !RefUnwindSafe for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl !RefUnwindSafe for Handle",1,["iroh_dns_server::dns::Handle"]],["impl !RefUnwindSafe for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl !RefUnwindSafe for Server",1,["iroh_dns_server::server::Server"]],["impl !RefUnwindSafe for AppState",1,["iroh_dns_server::state::AppState"]],["impl !RefUnwindSafe for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]],["impl RefUnwindSafe for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl RefUnwindSafe for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl RefUnwindSafe for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl RefUnwindSafe for Config",1,["iroh_dns_server::config::Config"]],["impl RefUnwindSafe for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl RefUnwindSafe for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl RefUnwindSafe for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl RefUnwindSafe for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl RefUnwindSafe for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl RefUnwindSafe for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl RefUnwindSafe for Metrics",1,["iroh_dns_server::metrics::Metrics"]]]],["iroh_net_report",[["impl !RefUnwindSafe for Options",1,["iroh_net_report::Options"]],["impl !RefUnwindSafe for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl RefUnwindSafe for Addr",1,["iroh_net_report::Addr"]],["impl RefUnwindSafe for Client",1,["iroh_net_report::Client"]],["impl RefUnwindSafe for IpMappedAddr",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddr"]],["impl RefUnwindSafe for IpMappedAddrError",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddrError"]],["impl RefUnwindSafe for IpMappedAddresses",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddresses"]],["impl RefUnwindSafe for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl RefUnwindSafe for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl RefUnwindSafe for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl !RefUnwindSafe for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl !RefUnwindSafe for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl !RefUnwindSafe for Client",1,["iroh_relay::client::Client"]],["impl !RefUnwindSafe for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl !RefUnwindSafe for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl !RefUnwindSafe for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl !RefUnwindSafe for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl !RefUnwindSafe for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl RefUnwindSafe for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl RefUnwindSafe for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl RefUnwindSafe for Protocol",1,["iroh_relay::http::Protocol"]],["impl RefUnwindSafe for Error",1,["iroh_relay::protos::stun::Error"]],["impl RefUnwindSafe for Access",1,["iroh_relay::server::Access"]],["impl RefUnwindSafe for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl RefUnwindSafe for Limits",1,["iroh_relay::server::Limits"]],["impl RefUnwindSafe for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl RefUnwindSafe for Server",1,["iroh_relay::server::Server"]],["impl RefUnwindSafe for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl RefUnwindSafe for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl RefUnwindSafe for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl RefUnwindSafe for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl RefUnwindSafe for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl RefUnwindSafe for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> !RefUnwindSafe for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); + var implementors = Object.fromEntries([["iroh",[["impl !RefUnwindSafe for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl !RefUnwindSafe for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl !RefUnwindSafe for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl !RefUnwindSafe for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl !RefUnwindSafe for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl !RefUnwindSafe for Builder",1,["iroh::endpoint::Builder"]],["impl !RefUnwindSafe for Connecting",1,["iroh::endpoint::Connecting"]],["impl !RefUnwindSafe for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl !RefUnwindSafe for Incoming",1,["iroh::endpoint::Incoming"]],["impl !RefUnwindSafe for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl !RefUnwindSafe for Router",1,["iroh::protocol::Router"]],["impl !RefUnwindSafe for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl !RefUnwindSafe for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl !RefUnwindSafe for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl RefUnwindSafe for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl RefUnwindSafe for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl RefUnwindSafe for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl RefUnwindSafe for PathSelection",1,["iroh::endpoint::PathSelection"]],["impl RefUnwindSafe for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl RefUnwindSafe for Source",1,["iroh::magicsock::node_map::Source"]],["impl RefUnwindSafe for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl RefUnwindSafe for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl RefUnwindSafe for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl RefUnwindSafe for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl RefUnwindSafe for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl RefUnwindSafe for Connection",1,["iroh::endpoint::Connection"]],["impl RefUnwindSafe for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl RefUnwindSafe for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl RefUnwindSafe for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl RefUnwindSafe for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl RefUnwindSafe for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> !RefUnwindSafe for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> RefUnwindSafe for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> RefUnwindSafe for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<T> RefUnwindSafe for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> RefUnwindSafe for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> RefUnwindSafe for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl !RefUnwindSafe for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl RefUnwindSafe for Error",1,["iroh_base::ticket::Error"]],["impl RefUnwindSafe for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl RefUnwindSafe for PublicKey",1,["iroh_base::key::PublicKey"]],["impl RefUnwindSafe for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl RefUnwindSafe for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl RefUnwindSafe for SecretKey",1,["iroh_base::key::SecretKey"]],["impl RefUnwindSafe for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl !RefUnwindSafe for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl RefUnwindSafe for Commands",1,["iroh_bench::Commands"]],["impl RefUnwindSafe for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl RefUnwindSafe for Opt",1,["iroh_bench::s2n::Opt"]],["impl RefUnwindSafe for Stats",1,["iroh_bench::stats::Stats"]],["impl RefUnwindSafe for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl RefUnwindSafe for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl RefUnwindSafe for ClientStats",1,["iroh_bench::ClientStats"]],["impl RefUnwindSafe for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl !RefUnwindSafe for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl !RefUnwindSafe for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl !RefUnwindSafe for Handle",1,["iroh_dns_server::dns::Handle"]],["impl !RefUnwindSafe for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl !RefUnwindSafe for Server",1,["iroh_dns_server::server::Server"]],["impl !RefUnwindSafe for AppState",1,["iroh_dns_server::state::AppState"]],["impl !RefUnwindSafe for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]],["impl RefUnwindSafe for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl RefUnwindSafe for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl RefUnwindSafe for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl RefUnwindSafe for Config",1,["iroh_dns_server::config::Config"]],["impl RefUnwindSafe for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl RefUnwindSafe for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl RefUnwindSafe for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl RefUnwindSafe for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl RefUnwindSafe for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl RefUnwindSafe for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl RefUnwindSafe for Metrics",1,["iroh_dns_server::metrics::Metrics"]]]],["iroh_net_report",[["impl !RefUnwindSafe for Options",1,["iroh_net_report::Options"]],["impl !RefUnwindSafe for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl RefUnwindSafe for Addr",1,["iroh_net_report::Addr"]],["impl RefUnwindSafe for Client",1,["iroh_net_report::Client"]],["impl RefUnwindSafe for IpMappedAddr",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddr"]],["impl RefUnwindSafe for IpMappedAddrError",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddrError"]],["impl RefUnwindSafe for IpMappedAddresses",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddresses"]],["impl RefUnwindSafe for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl RefUnwindSafe for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl RefUnwindSafe for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl !RefUnwindSafe for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl !RefUnwindSafe for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl !RefUnwindSafe for Client",1,["iroh_relay::client::Client"]],["impl !RefUnwindSafe for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl !RefUnwindSafe for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl !RefUnwindSafe for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl !RefUnwindSafe for DnsResolver",1,["iroh_relay::dns::DnsResolver"]],["impl !RefUnwindSafe for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl !RefUnwindSafe for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl RefUnwindSafe for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl RefUnwindSafe for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl RefUnwindSafe for Protocol",1,["iroh_relay::http::Protocol"]],["impl RefUnwindSafe for Error",1,["iroh_relay::protos::stun::Error"]],["impl RefUnwindSafe for Access",1,["iroh_relay::server::Access"]],["impl RefUnwindSafe for NodeInfo",1,["iroh_relay::dns::node_info::NodeInfo"]],["impl RefUnwindSafe for TXT",1,["iroh_relay::dns::TXT"]],["impl RefUnwindSafe for TxtLookup",1,["iroh_relay::dns::TxtLookup"]],["impl RefUnwindSafe for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl RefUnwindSafe for Limits",1,["iroh_relay::server::Limits"]],["impl RefUnwindSafe for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl RefUnwindSafe for Server",1,["iroh_relay::server::Server"]],["impl RefUnwindSafe for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl RefUnwindSafe for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl RefUnwindSafe for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl RefUnwindSafe for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl RefUnwindSafe for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl RefUnwindSafe for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> !RefUnwindSafe for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[15293,2841,3166,6813,3685,10456]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13964,2841,3166,6813,3685,11885]} \ No newline at end of file diff --git a/pr/2937/docs/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js b/pr/2937/docs/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js index 5c57e83c7a..172c9f06c6 100644 --- a/pr/2937/docs/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js +++ b/pr/2937/docs/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl !UnwindSafe for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl !UnwindSafe for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl !UnwindSafe for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl !UnwindSafe for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl !UnwindSafe for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl !UnwindSafe for Builder",1,["iroh::endpoint::Builder"]],["impl !UnwindSafe for Connecting",1,["iroh::endpoint::Connecting"]],["impl !UnwindSafe for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl !UnwindSafe for Incoming",1,["iroh::endpoint::Incoming"]],["impl !UnwindSafe for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl !UnwindSafe for Router",1,["iroh::protocol::Router"]],["impl !UnwindSafe for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl !UnwindSafe for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl !UnwindSafe for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl UnwindSafe for IrohAttr",1,["iroh::dns::node_info::IrohAttr"]],["impl UnwindSafe for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl UnwindSafe for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl UnwindSafe for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl UnwindSafe for PathSelection",1,["iroh::endpoint::PathSelection"]],["impl UnwindSafe for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl UnwindSafe for Source",1,["iroh::magicsock::node_map::Source"]],["impl UnwindSafe for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl UnwindSafe for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl UnwindSafe for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl UnwindSafe for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl UnwindSafe for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl UnwindSafe for NodeInfo",1,["iroh::dns::node_info::NodeInfo"]],["impl UnwindSafe for Connection",1,["iroh::endpoint::Connection"]],["impl UnwindSafe for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl UnwindSafe for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl UnwindSafe for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl UnwindSafe for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl UnwindSafe for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> !UnwindSafe for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> !UnwindSafe for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> !UnwindSafe for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<T> UnwindSafe for TxtAttrs<T>
      where\n T: RefUnwindSafe,
      ",1,["iroh::dns::node_info::TxtAttrs"]],["impl<T> UnwindSafe for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> UnwindSafe for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> UnwindSafe for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl !UnwindSafe for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl UnwindSafe for Error",1,["iroh_base::ticket::Error"]],["impl UnwindSafe for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl UnwindSafe for PublicKey",1,["iroh_base::key::PublicKey"]],["impl UnwindSafe for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl UnwindSafe for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl UnwindSafe for SecretKey",1,["iroh_base::key::SecretKey"]],["impl UnwindSafe for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl !UnwindSafe for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl UnwindSafe for Commands",1,["iroh_bench::Commands"]],["impl UnwindSafe for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl UnwindSafe for Opt",1,["iroh_bench::s2n::Opt"]],["impl UnwindSafe for Stats",1,["iroh_bench::stats::Stats"]],["impl UnwindSafe for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl UnwindSafe for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl UnwindSafe for ClientStats",1,["iroh_bench::ClientStats"]],["impl UnwindSafe for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl !UnwindSafe for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl !UnwindSafe for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl !UnwindSafe for Handle",1,["iroh_dns_server::dns::Handle"]],["impl !UnwindSafe for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl !UnwindSafe for Server",1,["iroh_dns_server::server::Server"]],["impl !UnwindSafe for AppState",1,["iroh_dns_server::state::AppState"]],["impl !UnwindSafe for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]],["impl UnwindSafe for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl UnwindSafe for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl UnwindSafe for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl UnwindSafe for Config",1,["iroh_dns_server::config::Config"]],["impl UnwindSafe for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl UnwindSafe for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl UnwindSafe for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl UnwindSafe for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl UnwindSafe for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl UnwindSafe for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl UnwindSafe for Metrics",1,["iroh_dns_server::metrics::Metrics"]]]],["iroh_net_report",[["impl !UnwindSafe for Options",1,["iroh_net_report::Options"]],["impl !UnwindSafe for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl UnwindSafe for Addr",1,["iroh_net_report::Addr"]],["impl UnwindSafe for Client",1,["iroh_net_report::Client"]],["impl UnwindSafe for IpMappedAddr",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddr"]],["impl UnwindSafe for IpMappedAddrError",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddrError"]],["impl UnwindSafe for IpMappedAddresses",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddresses"]],["impl UnwindSafe for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl UnwindSafe for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl UnwindSafe for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl !UnwindSafe for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl !UnwindSafe for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl !UnwindSafe for Client",1,["iroh_relay::client::Client"]],["impl !UnwindSafe for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl !UnwindSafe for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl !UnwindSafe for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl !UnwindSafe for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl !UnwindSafe for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl UnwindSafe for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl UnwindSafe for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl UnwindSafe for Protocol",1,["iroh_relay::http::Protocol"]],["impl UnwindSafe for Error",1,["iroh_relay::protos::stun::Error"]],["impl UnwindSafe for Access",1,["iroh_relay::server::Access"]],["impl UnwindSafe for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl UnwindSafe for Limits",1,["iroh_relay::server::Limits"]],["impl UnwindSafe for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl UnwindSafe for Server",1,["iroh_relay::server::Server"]],["impl UnwindSafe for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl UnwindSafe for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl UnwindSafe for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl UnwindSafe for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl UnwindSafe for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl UnwindSafe for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA = EC> !UnwindSafe for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA = EC> !UnwindSafe for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA = EC> !UnwindSafe for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA = EC> !UnwindSafe for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> !UnwindSafe for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); + var implementors = Object.fromEntries([["iroh",[["impl !UnwindSafe for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl !UnwindSafe for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl !UnwindSafe for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl !UnwindSafe for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl !UnwindSafe for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl !UnwindSafe for Builder",1,["iroh::endpoint::Builder"]],["impl !UnwindSafe for Connecting",1,["iroh::endpoint::Connecting"]],["impl !UnwindSafe for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl !UnwindSafe for Incoming",1,["iroh::endpoint::Incoming"]],["impl !UnwindSafe for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl !UnwindSafe for Router",1,["iroh::protocol::Router"]],["impl !UnwindSafe for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl !UnwindSafe for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl !UnwindSafe for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl UnwindSafe for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl UnwindSafe for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl UnwindSafe for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl UnwindSafe for PathSelection",1,["iroh::endpoint::PathSelection"]],["impl UnwindSafe for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl UnwindSafe for Source",1,["iroh::magicsock::node_map::Source"]],["impl UnwindSafe for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl UnwindSafe for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl UnwindSafe for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl UnwindSafe for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl UnwindSafe for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl UnwindSafe for Connection",1,["iroh::endpoint::Connection"]],["impl UnwindSafe for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl UnwindSafe for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl UnwindSafe for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl UnwindSafe for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl UnwindSafe for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> !UnwindSafe for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> !UnwindSafe for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> !UnwindSafe for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<T> UnwindSafe for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> UnwindSafe for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> UnwindSafe for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl !UnwindSafe for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl UnwindSafe for Error",1,["iroh_base::ticket::Error"]],["impl UnwindSafe for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl UnwindSafe for PublicKey",1,["iroh_base::key::PublicKey"]],["impl UnwindSafe for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl UnwindSafe for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl UnwindSafe for SecretKey",1,["iroh_base::key::SecretKey"]],["impl UnwindSafe for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl !UnwindSafe for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl UnwindSafe for Commands",1,["iroh_bench::Commands"]],["impl UnwindSafe for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl UnwindSafe for Opt",1,["iroh_bench::s2n::Opt"]],["impl UnwindSafe for Stats",1,["iroh_bench::stats::Stats"]],["impl UnwindSafe for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl UnwindSafe for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl UnwindSafe for ClientStats",1,["iroh_bench::ClientStats"]],["impl UnwindSafe for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl !UnwindSafe for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl !UnwindSafe for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl !UnwindSafe for Handle",1,["iroh_dns_server::dns::Handle"]],["impl !UnwindSafe for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl !UnwindSafe for Server",1,["iroh_dns_server::server::Server"]],["impl !UnwindSafe for AppState",1,["iroh_dns_server::state::AppState"]],["impl !UnwindSafe for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]],["impl UnwindSafe for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl UnwindSafe for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl UnwindSafe for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl UnwindSafe for Config",1,["iroh_dns_server::config::Config"]],["impl UnwindSafe for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl UnwindSafe for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl UnwindSafe for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl UnwindSafe for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl UnwindSafe for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl UnwindSafe for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl UnwindSafe for Metrics",1,["iroh_dns_server::metrics::Metrics"]]]],["iroh_net_report",[["impl !UnwindSafe for Options",1,["iroh_net_report::Options"]],["impl !UnwindSafe for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl UnwindSafe for Addr",1,["iroh_net_report::Addr"]],["impl UnwindSafe for Client",1,["iroh_net_report::Client"]],["impl UnwindSafe for IpMappedAddr",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddr"]],["impl UnwindSafe for IpMappedAddrError",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddrError"]],["impl UnwindSafe for IpMappedAddresses",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddresses"]],["impl UnwindSafe for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl UnwindSafe for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl UnwindSafe for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl !UnwindSafe for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl !UnwindSafe for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl !UnwindSafe for Client",1,["iroh_relay::client::Client"]],["impl !UnwindSafe for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl !UnwindSafe for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl !UnwindSafe for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl !UnwindSafe for DnsResolver",1,["iroh_relay::dns::DnsResolver"]],["impl !UnwindSafe for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl !UnwindSafe for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl UnwindSafe for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl UnwindSafe for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl UnwindSafe for Protocol",1,["iroh_relay::http::Protocol"]],["impl UnwindSafe for Error",1,["iroh_relay::protos::stun::Error"]],["impl UnwindSafe for Access",1,["iroh_relay::server::Access"]],["impl UnwindSafe for NodeInfo",1,["iroh_relay::dns::node_info::NodeInfo"]],["impl UnwindSafe for TXT",1,["iroh_relay::dns::TXT"]],["impl UnwindSafe for TxtLookup",1,["iroh_relay::dns::TxtLookup"]],["impl UnwindSafe for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl UnwindSafe for Limits",1,["iroh_relay::server::Limits"]],["impl UnwindSafe for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl UnwindSafe for Server",1,["iroh_relay::server::Server"]],["impl UnwindSafe for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl UnwindSafe for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl UnwindSafe for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl UnwindSafe for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl UnwindSafe for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl UnwindSafe for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA = EC> !UnwindSafe for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA = EC> !UnwindSafe for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA = EC> !UnwindSafe for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA = EC> !UnwindSafe for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> !UnwindSafe for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[14935,2769,3085,6651,3595,10204]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13633,2769,3085,6651,3595,11597]} \ No newline at end of file diff --git a/pr/2937/docs/trait.impl/core/str/traits/trait.FromStr.js b/pr/2937/docs/trait.impl/core/str/traits/trait.FromStr.js index de18af3cf5..28d3279ece 100644 --- a/pr/2937/docs/trait.impl/core/str/traits/trait.FromStr.js +++ b/pr/2937/docs/trait.impl/core/str/traits/trait.FromStr.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl FromStr for IrohAttr"]]],["iroh_base",[["impl FromStr for PublicKey"],["impl FromStr for RelayUrl"],["impl FromStr for SecretKey"],["impl FromStr for NodeTicket"]]]]); + var implementors = Object.fromEntries([["iroh_base",[["impl FromStr for PublicKey"],["impl FromStr for RelayUrl"],["impl FromStr for SecretKey"],["impl FromStr for NodeTicket"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[299,1143]} \ No newline at end of file +//{"start":57,"fragment_lengths":[1142]} \ No newline at end of file diff --git a/pr/2937/docs/trait.impl/iroh/dns/trait.ResolverExt.js b/pr/2937/docs/trait.impl/iroh_relay/dns/node_info/trait.NodeIdExt.js similarity index 60% rename from pr/2937/docs/trait.impl/iroh/dns/trait.ResolverExt.js rename to pr/2937/docs/trait.impl/iroh_relay/dns/node_info/trait.NodeIdExt.js index a4910fa91e..c404c0c0c6 100644 --- a/pr/2937/docs/trait.impl/iroh/dns/trait.ResolverExt.js +++ b/pr/2937/docs/trait.impl/iroh_relay/dns/node_info/trait.NodeIdExt.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[]]]); + var implementors = Object.fromEntries([["iroh",[]],["iroh_relay",[]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[11]} \ No newline at end of file +//{"start":57,"fragment_lengths":[11,18]} \ No newline at end of file diff --git a/pr/2937/docs/type.impl/hickory_resolver/resolver/type.TokioResolver.js b/pr/2937/docs/type.impl/hickory_resolver/resolver/type.TokioResolver.js deleted file mode 100644 index b19e213ba2..0000000000 --- a/pr/2937/docs/type.impl/hickory_resolver/resolver/type.TokioResolver.js +++ /dev/null @@ -1,9 +0,0 @@ -(function() { - var type_impls = Object.fromEntries([["iroh",[]]]); - if (window.register_type_impls) { - window.register_type_impls(type_impls); - } else { - window.pending_type_impls = type_impls; - } -})() -//{"start":55,"fragment_lengths":[11]} \ No newline at end of file diff --git a/pr/2937/docs/type.impl/iroh/struct.PublicKey.js b/pr/2937/docs/type.impl/iroh/struct.PublicKey.js index 575bcb547a..a4a7be9fe7 100644 --- a/pr/2937/docs/type.impl/iroh/struct.PublicKey.js +++ b/pr/2937/docs/type.impl/iroh/struct.PublicKey.js @@ -1,9 +1,9 @@ (function() { - var type_impls = Object.fromEntries([["iroh",[["
      Source§

      impl AsRef<[u8]> for PublicKey

      Source§

      fn as_ref(&self) -> &[u8] ⓘ

      Converts this type into a shared reference of the (usually inferred) input type.
      ","AsRef<[u8]>","iroh::NodeId"],["
      Source§

      impl Borrow<[u8; 32]> for PublicKey

      Source§

      fn borrow(&self) -> &[u8; 32]

      Immutably borrows from an owned value. Read more
      ","Borrow<[u8; 32]>","iroh::NodeId"],["
      Source§

      impl Clone for PublicKey

      Source§

      fn clone(&self) -> PublicKey

      Returns a copy of the value. Read more
      1.0.0 · Source§

      fn clone_from(&mut self, source: &Self)

      Performs copy-assignment from source. Read more
      ","Clone","iroh::NodeId"],["
      Source§

      impl Debug for PublicKey

      Source§

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      ","Debug","iroh::NodeId"],["
      Source§

      impl<'de> Deserialize<'de> for PublicKey

      Source§

      fn deserialize<D>(\n deserializer: D,\n) -> Result<PublicKey, <D as Deserializer<'de>>::Error>
      where\n D: Deserializer<'de>,

      Deserialize this value from the given Serde deserializer. Read more
      ","Deserialize<'de>","iroh::NodeId"],["
      Source§

      impl Display for PublicKey

      Source§

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      ","Display","iroh::NodeId"],["
      Source§

      impl From<VerifyingKey> for PublicKey

      Source§

      fn from(verifying_key: VerifyingKey) -> PublicKey

      Converts to this type from the input type.
      ","From","iroh::NodeId"],["
      Source§

      impl FromStr for PublicKey

      Deserialises the PublicKey from it’s base32 encoding.

      \n

      Display is capable of serialising this format.

      \n
      Source§

      type Err = KeyParsingError

      The associated error which can be returned from parsing.
      Source§

      fn from_str(s: &str) -> Result<PublicKey, <PublicKey as FromStr>::Err>

      Parses a string s to return a value of this type. Read more
      ","FromStr","iroh::NodeId"],["
      Source§

      impl Hash for PublicKey

      Source§

      fn hash<H>(&self, state: &mut H)
      where\n H: Hasher,

      Feeds this value into the given Hasher. Read more
      1.3.0 · Source§

      fn hash_slice<H>(data: &[Self], state: &mut H)
      where\n H: Hasher,\n Self: Sized,

      Feeds a slice of this type into the given Hasher. Read more
      ","Hash","iroh::NodeId"],["
      Source§

      impl Ord for PublicKey

      Source§

      fn cmp(&self, other: &PublicKey) -> Ordering

      This method returns an Ordering between self and other. Read more
      1.21.0 · Source§

      fn max(self, other: Self) -> Self
      where\n Self: Sized,

      Compares and returns the maximum of two values. Read more
      1.21.0 · Source§

      fn min(self, other: Self) -> Self
      where\n Self: Sized,

      Compares and returns the minimum of two values. Read more
      1.50.0 · Source§

      fn clamp(self, min: Self, max: Self) -> Self
      where\n Self: Sized,

      Restrict a value to a certain interval. Read more
      ","Ord","iroh::NodeId"],["
      Source§

      impl PartialEq for PublicKey

      Source§

      fn eq(&self, other: &PublicKey) -> bool

      Tests for self and other values to be equal, and is used by ==.
      1.0.0 · Source§

      fn ne(&self, other: &Rhs) -> bool

      Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
      ","PartialEq","iroh::NodeId"],["
      Source§

      impl PartialOrd for PublicKey

      Source§

      fn partial_cmp(&self, other: &PublicKey) -> Option<Ordering>

      This method returns an ordering between self and other values if one exists. Read more
      1.0.0 · Source§

      fn lt(&self, other: &Rhs) -> bool

      Tests less than (for self and other) and is used by the < operator. Read more
      1.0.0 · Source§

      fn le(&self, other: &Rhs) -> bool

      Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
      1.0.0 · Source§

      fn gt(&self, other: &Rhs) -> bool

      Tests greater than (for self and other) and is used by the >\noperator. Read more
      1.0.0 · Source§

      fn ge(&self, other: &Rhs) -> bool

      Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
      ","PartialOrd","iroh::NodeId"],["
      Source§

      impl PublicKey

      Source

      pub const LENGTH: usize = 32usize

      The length of an ed25519 PublicKey, in bytes.

      \n
      Source

      pub fn as_bytes(&self) -> &[u8; 32]

      Get this public key as a byte array.

      \n
      Source

      pub fn public(&self) -> VerifyingKey

      Returns the [VerifyingKey] for this PublicKey.

      \n
      Source

      pub fn serialize_public_pem(&self) -> String

      Serializes the public key as PEM

      \n
      Source

      pub fn from_bytes(bytes: &[u8; 32]) -> Result<PublicKey, Error>

      Construct a PublicKey from a slice of bytes.

      \n
      §Warning
      \n

      This will return a [SignatureError] if the bytes passed into this method do not represent\na valid ed25519_dalek curve point. Will never fail for bytes return from Self::as_bytes.\nSee [VerifyingKey::from_bytes] for details.

      \n
      Source

      pub fn verify(&self, message: &[u8], signature: &Signature) -> Result<(), Error>

      Verify a signature on a message with this secret key’s public key.

      \n
      §Return
      \n

      Returns Ok(()) if the signature is valid, and Err otherwise.

      \n
      Source

      pub fn fmt_short(&self) -> String

      Convert to a hex string limited to the first 5 bytes for a friendly string\nrepresentation of the key.

      \n
      ",0,"iroh::NodeId"],["
      Source§

      impl Serialize for PublicKey

      Source§

      fn serialize<S>(\n &self,\n serializer: S,\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
      where\n S: Serializer,

      Serialize this value into the given Serde serializer. Read more
      ","Serialize","iroh::NodeId"],["
      Source§

      impl TryFrom<&[u8]> for PublicKey

      Source§

      type Error = Error

      The type returned in the event of a conversion error.
      Source§

      fn try_from(\n bytes: &[u8],\n) -> Result<PublicKey, <PublicKey as TryFrom<&[u8]>>::Error>

      Performs the conversion.
      ","TryFrom<&[u8]>","iroh::NodeId"],["
      Source§

      impl TryFrom<&[u8; 32]> for PublicKey

      Source§

      type Error = Error

      The type returned in the event of a conversion error.
      Source§

      fn try_from(\n bytes: &[u8; 32],\n) -> Result<PublicKey, <PublicKey as TryFrom<&[u8; 32]>>::Error>

      Performs the conversion.
      ","TryFrom<&[u8; 32]>","iroh::NodeId"],["
      Source§

      impl Copy for PublicKey

      ","Copy","iroh::NodeId"],["
      Source§

      impl Eq for PublicKey

      ","Eq","iroh::NodeId"],["
      Source§

      impl StructuralPartialEq for PublicKey

      ","StructuralPartialEq","iroh::NodeId"]]]]); + var type_impls = Object.fromEntries([["iroh",[["
      Source§

      impl AsRef<[u8]> for PublicKey

      Source§

      fn as_ref(&self) -> &[u8] ⓘ

      Converts this type into a shared reference of the (usually inferred) input type.
      ","AsRef<[u8]>","iroh::NodeId"],["
      Source§

      impl Borrow<[u8; 32]> for PublicKey

      Source§

      fn borrow(&self) -> &[u8; 32]

      Immutably borrows from an owned value. Read more
      ","Borrow<[u8; 32]>","iroh::NodeId"],["
      Source§

      impl Clone for PublicKey

      Source§

      fn clone(&self) -> PublicKey

      Returns a copy of the value. Read more
      1.0.0 · Source§

      fn clone_from(&mut self, source: &Self)

      Performs copy-assignment from source. Read more
      ","Clone","iroh::NodeId"],["
      Source§

      impl Debug for PublicKey

      Source§

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      ","Debug","iroh::NodeId"],["
      Source§

      impl<'de> Deserialize<'de> for PublicKey

      Source§

      fn deserialize<D>(\n deserializer: D,\n) -> Result<PublicKey, <D as Deserializer<'de>>::Error>
      where\n D: Deserializer<'de>,

      Deserialize this value from the given Serde deserializer. Read more
      ","Deserialize<'de>","iroh::NodeId"],["
      Source§

      impl Display for PublicKey

      Source§

      fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more
      ","Display","iroh::NodeId"],["
      Source§

      impl From<VerifyingKey> for PublicKey

      Source§

      fn from(verifying_key: VerifyingKey) -> PublicKey

      Converts to this type from the input type.
      ","From","iroh::NodeId"],["
      Source§

      impl FromStr for PublicKey

      Deserialises the PublicKey from it’s base32 encoding.

      \n

      Display is capable of serialising this format.

      \n
      Source§

      type Err = KeyParsingError

      The associated error which can be returned from parsing.
      Source§

      fn from_str(s: &str) -> Result<PublicKey, <PublicKey as FromStr>::Err>

      Parses a string s to return a value of this type. Read more
      ","FromStr","iroh::NodeId"],["
      Source§

      impl Hash for PublicKey

      Source§

      fn hash<H>(&self, state: &mut H)
      where\n H: Hasher,

      Feeds this value into the given Hasher. Read more
      1.3.0 · Source§

      fn hash_slice<H>(data: &[Self], state: &mut H)
      where\n H: Hasher,\n Self: Sized,

      Feeds a slice of this type into the given Hasher. Read more
      ","Hash","iroh::NodeId"],["
      Source§

      impl NodeIdExt for PublicKey

      Source§

      fn to_z32(&self) -> String

      Encodes a NodeId in [z-base-32] encoding.
      Source§

      fn from_z32(s: &str) -> Result<PublicKey, Error>

      Parses a NodeId from [z-base-32] encoding.
      ","NodeIdExt","iroh::NodeId"],["
      Source§

      impl Ord for PublicKey

      Source§

      fn cmp(&self, other: &PublicKey) -> Ordering

      This method returns an Ordering between self and other. Read more
      1.21.0 · Source§

      fn max(self, other: Self) -> Self
      where\n Self: Sized,

      Compares and returns the maximum of two values. Read more
      1.21.0 · Source§

      fn min(self, other: Self) -> Self
      where\n Self: Sized,

      Compares and returns the minimum of two values. Read more
      1.50.0 · Source§

      fn clamp(self, min: Self, max: Self) -> Self
      where\n Self: Sized,

      Restrict a value to a certain interval. Read more
      ","Ord","iroh::NodeId"],["
      Source§

      impl PartialEq for PublicKey

      Source§

      fn eq(&self, other: &PublicKey) -> bool

      Tests for self and other values to be equal, and is used by ==.
      1.0.0 · Source§

      fn ne(&self, other: &Rhs) -> bool

      Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
      ","PartialEq","iroh::NodeId"],["
      Source§

      impl PartialOrd for PublicKey

      Source§

      fn partial_cmp(&self, other: &PublicKey) -> Option<Ordering>

      This method returns an ordering between self and other values if one exists. Read more
      1.0.0 · Source§

      fn lt(&self, other: &Rhs) -> bool

      Tests less than (for self and other) and is used by the < operator. Read more
      1.0.0 · Source§

      fn le(&self, other: &Rhs) -> bool

      Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
      1.0.0 · Source§

      fn gt(&self, other: &Rhs) -> bool

      Tests greater than (for self and other) and is used by the >\noperator. Read more
      1.0.0 · Source§

      fn ge(&self, other: &Rhs) -> bool

      Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
      ","PartialOrd","iroh::NodeId"],["
      Source§

      impl PublicKey

      Source

      pub const LENGTH: usize = 32usize

      The length of an ed25519 PublicKey, in bytes.

      \n
      Source

      pub fn as_bytes(&self) -> &[u8; 32]

      Get this public key as a byte array.

      \n
      Source

      pub fn public(&self) -> VerifyingKey

      Returns the [VerifyingKey] for this PublicKey.

      \n
      Source

      pub fn serialize_public_pem(&self) -> String

      Serializes the public key as PEM

      \n
      Source

      pub fn from_bytes(bytes: &[u8; 32]) -> Result<PublicKey, Error>

      Construct a PublicKey from a slice of bytes.

      \n
      §Warning
      \n

      This will return a [SignatureError] if the bytes passed into this method do not represent\na valid ed25519_dalek curve point. Will never fail for bytes return from Self::as_bytes.\nSee [VerifyingKey::from_bytes] for details.

      \n
      Source

      pub fn verify(&self, message: &[u8], signature: &Signature) -> Result<(), Error>

      Verify a signature on a message with this secret key’s public key.

      \n
      §Return
      \n

      Returns Ok(()) if the signature is valid, and Err otherwise.

      \n
      Source

      pub fn fmt_short(&self) -> String

      Convert to a hex string limited to the first 5 bytes for a friendly string\nrepresentation of the key.

      \n
      ",0,"iroh::NodeId"],["
      Source§

      impl Serialize for PublicKey

      Source§

      fn serialize<S>(\n &self,\n serializer: S,\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
      where\n S: Serializer,

      Serialize this value into the given Serde serializer. Read more
      ","Serialize","iroh::NodeId"],["
      Source§

      impl TryFrom<&[u8]> for PublicKey

      Source§

      type Error = Error

      The type returned in the event of a conversion error.
      Source§

      fn try_from(\n bytes: &[u8],\n) -> Result<PublicKey, <PublicKey as TryFrom<&[u8]>>::Error>

      Performs the conversion.
      ","TryFrom<&[u8]>","iroh::NodeId"],["
      Source§

      impl TryFrom<&[u8; 32]> for PublicKey

      Source§

      type Error = Error

      The type returned in the event of a conversion error.
      Source§

      fn try_from(\n bytes: &[u8; 32],\n) -> Result<PublicKey, <PublicKey as TryFrom<&[u8; 32]>>::Error>

      Performs the conversion.
      ","TryFrom<&[u8; 32]>","iroh::NodeId"],["
      Source§

      impl Copy for PublicKey

      ","Copy","iroh::NodeId"],["
      Source§

      impl Eq for PublicKey

      ","Eq","iroh::NodeId"],["
      Source§

      impl StructuralPartialEq for PublicKey

      ","StructuralPartialEq","iroh::NodeId"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { window.pending_type_impls = type_impls; } })() -//{"start":55,"fragment_lengths":[46110]} \ No newline at end of file +//{"start":55,"fragment_lengths":[48531]} \ No newline at end of file