From 3679b51bf64ec3ef6ec094a3d2270156f75bfc62 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Mon, 12 May 2025 19:47:31 +0000 Subject: [PATCH] deploy: e7e057bd31dbb93f83a31e9330bd7caa29c9f921 --- pr/3269/docs/bulk/all.html | 2 +- pr/3269/docs/bulk/fn.collect_and_print.html | 2 +- pr/3269/docs/bulk/fn.main.html | 2 +- pr/3269/docs/bulk/fn.run_iroh.html | 2 +- pr/3269/docs/bulk/fn.run_quinn.html | 2 +- pr/3269/docs/bulk/fn.run_s2n.html | 2 +- pr/3269/docs/bulk/index.html | 2 +- pr/3269/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/3269/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/3269/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/3269/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/3269/docs/iroh/discovery/dns/index.html | 2 +- .../discovery/dns/struct.DnsDiscovery.html | 6 +- pr/3269/docs/iroh/discovery/index.html | 2 +- .../iroh/discovery/mdns/constant.NAME.html | 2 +- pr/3269/docs/iroh/discovery/mdns/index.html | 2 +- .../discovery/mdns/struct.MdnsDiscovery.html | 8 +- .../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 | 6 +- .../pkarr/dht/struct.DhtDiscovery.html | 10 +- pr/3269/docs/iroh/discovery/pkarr/index.html | 2 +- .../pkarr/struct.PkarrPublisher.html | 10 +- .../pkarr/struct.PkarrRelayClient.html | 14 +- .../discovery/pkarr/struct.PkarrResolver.html | 10 +- .../iroh/discovery/static_provider/index.html | 2 +- .../struct.StaticProvider.html | 10 +- .../discovery/struct.ConcurrentDiscovery.html | 6 +- .../iroh/discovery/struct.DiscoveryItem.html | 8 +- .../docs/iroh/discovery/struct.Lagged.html | 4 +- .../docs/iroh/discovery/struct.NodeData.html | 8 +- .../docs/iroh/discovery/struct.NodeInfo.html | 14 +- .../docs/iroh/discovery/struct.UserData.html | 8 +- .../docs/iroh/discovery/trait.Discovery.html | 6 +- .../dns/constant.N0_DNS_NODE_ORIGIN_PROD.html | 2 +- .../constant.N0_DNS_NODE_ORIGIN_STAGING.html | 2 +- pr/3269/docs/iroh/dns/index.html | 2 +- pr/3269/docs/iroh/dns/struct.DnsResolver.html | 32 ++-- .../constant.ENV_FORCE_STAGING_RELAYS.html | 2 +- .../iroh/endpoint/enum.ConnectionError.html | 8 +- .../iroh/endpoint/enum.ConnectionType.html | 20 +-- .../docs/iroh/endpoint/enum.ControlMsg.html | 20 +-- .../iroh/endpoint/enum.DirectAddrType.html | 20 +-- .../iroh/endpoint/enum.PathSelection.html | 12 +- .../docs/iroh/endpoint/enum.ReadError.html | 8 +- .../iroh/endpoint/enum.ReadExactError.html | 8 +- .../iroh/endpoint/enum.ReadToEndError.html | 8 +- .../docs/iroh/endpoint/enum.RelayMode.html | 14 +- .../docs/iroh/endpoint/enum.ResetError.html | 8 +- .../iroh/endpoint/enum.SendDatagramError.html | 8 +- pr/3269/docs/iroh/endpoint/enum.Source.html | 20 +-- .../docs/iroh/endpoint/enum.StoppedError.html | 8 +- .../docs/iroh/endpoint/enum.WriteError.html | 8 +- .../iroh/endpoint/fn.default_relay_mode.html | 2 +- .../iroh/endpoint/fn.force_staging_infra.html | 2 +- pr/3269/docs/iroh/endpoint/index.html | 2 +- pr/3269/docs/iroh/endpoint/struct.Accept.html | 8 +- .../docs/iroh/endpoint/struct.AcceptBi.html | 4 +- .../docs/iroh/endpoint/struct.AcceptUni.html | 4 +- .../endpoint/struct.AckFrequencyConfig.html | 8 +- .../endpoint/struct.ApplicationClose.html | 8 +- .../docs/iroh/endpoint/struct.Builder.html | 54 +++---- pr/3269/docs/iroh/endpoint/struct.Chunk.html | 4 +- .../iroh/endpoint/struct.ClosedStream.html | 8 +- .../iroh/endpoint/struct.ConnectOptions.html | 16 +- .../docs/iroh/endpoint/struct.Connecting.html | 14 +- .../docs/iroh/endpoint/struct.Connection.html | 58 +++---- .../iroh/endpoint/struct.ConnectionClose.html | 8 +- .../iroh/endpoint/struct.ConnectionStats.html | 8 +- .../iroh/endpoint/struct.CryptoError.html | 4 +- .../docs/iroh/endpoint/struct.DirectAddr.html | 18 +-- .../iroh/endpoint/struct.DirectAddrInfo.html | 20 +-- .../docs/iroh/endpoint/struct.Endpoint.html | 66 ++++---- .../struct.ExportKeyingMaterialError.html | 4 +- .../docs/iroh/endpoint/struct.FrameStats.html | 8 +- .../docs/iroh/endpoint/struct.Incoming.html | 24 +-- .../iroh/endpoint/struct.IncomingFuture.html | 8 +- .../endpoint/struct.MtuDiscoveryConfig.html | 8 +- pr/3269/docs/iroh/endpoint/struct.OpenBi.html | 4 +- .../docs/iroh/endpoint/struct.OpenUni.html | 4 +- .../docs/iroh/endpoint/struct.PathStats.html | 8 +- .../iroh/endpoint/struct.ReadDatagram.html | 4 +- .../docs/iroh/endpoint/struct.RecvStream.html | 4 +- .../docs/iroh/endpoint/struct.RemoteInfo.html | 20 +-- .../docs/iroh/endpoint/struct.RetryError.html | 4 +- .../docs/iroh/endpoint/struct.SendStream.html | 4 +- .../iroh/endpoint/struct.ServerConfig.html | 8 +- .../docs/iroh/endpoint/struct.StreamId.html | 10 +- .../iroh/endpoint/struct.TransportConfig.html | 4 +- .../iroh/endpoint/struct.TransportError.html | 8 +- .../endpoint/struct.TransportErrorCode.html | 8 +- .../docs/iroh/endpoint/struct.UdpStats.html | 8 +- .../endpoint/struct.UnsupportedVersion.html | 4 +- pr/3269/docs/iroh/endpoint/struct.VarInt.html | 10 +- .../endpoint/struct.WeakConnectionHandle.html | 4 +- .../docs/iroh/endpoint/struct.Written.html | 8 +- .../iroh/endpoint/struct.ZeroRttAccepted.html | 6 +- pr/3269/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/3269/docs/iroh/enum.KeyParsingError.html | 4 +- pr/3269/docs/iroh/enum.RelayProtocol.html | 8 +- pr/3269/docs/iroh/index.html | 2 +- pr/3269/docs/iroh/metrics/index.html | 2 +- .../iroh/metrics/struct.EndpointMetrics.html | 18 +-- .../iroh/metrics/struct.MagicsockMetrics.html | 14 +- .../iroh/metrics/struct.PortmapMetrics.html | 18 +-- .../iroh/metrics/struct.RelayMetrics.html | 4 +- .../net_report/fn.bind_local_stun_socket.html | 2 +- pr/3269/docs/iroh/net_report/index.html | 2 +- pr/3269/docs/iroh/net_report/struct.Addr.html | 8 +- .../docs/iroh/net_report/struct.Client.html | 8 +- .../docs/iroh/net_report/struct.Metrics.html | 14 +- .../docs/iroh/net_report/struct.Options.html | 8 +- .../iroh/net_report/struct.QuicConfig.html | 8 +- .../net_report/struct.RelayLatencies.html | 8 +- .../docs/iroh/net_report/struct.Report.html | 8 +- .../node_info/constant.IROH_TXT_NAME.html | 2 +- pr/3269/docs/iroh/node_info/index.html | 2 +- .../struct.MaxLengthExceededError.html | 4 +- .../docs/iroh/node_info/struct.NodeData.html | 8 +- .../docs/iroh/node_info/struct.NodeInfo.html | 14 +- .../docs/iroh/node_info/struct.UserData.html | 8 +- .../docs/iroh/node_info/trait.NodeIdExt.html | 6 +- pr/3269/docs/iroh/protocol/index.html | 5 +- .../iroh/protocol/struct.AccessLimit.html | 14 +- pr/3269/docs/iroh/protocol/struct.Router.html | 21 ++- .../iroh/protocol/struct.RouterBuilder.html | 14 +- .../iroh/protocol/trait.ProtocolHandler.html | 14 +- pr/3269/docs/iroh/struct.NodeAddr.html | 24 +-- pr/3269/docs/iroh/struct.PublicKey.html | 28 ++-- pr/3269/docs/iroh/struct.RelayMap.html | 49 +++--- pr/3269/docs/iroh/struct.RelayNode.html | 31 ++-- pr/3269/docs/iroh/struct.RelayUrl.html | 37 +++-- .../docs/iroh/struct.RelayUrlParseError.html | 4 +- pr/3269/docs/iroh/struct.SecretKey.html | 22 +-- .../iroh/test_utils/fn.run_relay_server.html | 2 +- .../test_utils/fn.run_relay_server_with.html | 4 +- .../fn.run_relay_server_with_stun.html | 2 +- pr/3269/docs/iroh/test_utils/index.html | 2 +- .../test_utils/struct.CleanupDropGuard.html | 4 +- .../test_utils/struct.DnsPkarrServer.html | 16 +- pr/3269/docs/iroh/type.NodeId.html | 2 +- pr/3269/docs/iroh/watchable/index.html | 2 +- .../iroh/watchable/struct.Disconnected.html | 4 +- .../watchable/struct.WatchInitializedFut.html | 4 +- .../iroh/watchable/struct.WatchNextFut.html | 4 +- .../docs/iroh/watchable/struct.Watchable.html | 8 +- .../docs/iroh/watchable/struct.Watcher.html | 8 +- .../iroh/watchable/struct.WatcherStream.html | 8 +- pr/3269/docs/iroh_base/all.html | 2 +- .../docs/iroh_base/enum.KeyParsingError.html | 4 +- pr/3269/docs/iroh_base/index.html | 2 +- pr/3269/docs/iroh_base/struct.NodeAddr.html | 16 +- pr/3269/docs/iroh_base/struct.PublicKey.html | 16 +- pr/3269/docs/iroh_base/struct.RelayUrl.html | 20 +-- .../iroh_base/struct.RelayUrlParseError.html | 4 +- pr/3269/docs/iroh_base/struct.SecretKey.html | 14 +- pr/3269/docs/iroh_base/struct.Signature.html | 20 +-- pr/3269/docs/iroh_base/ticket/enum.Error.html | 4 +- pr/3269/docs/iroh_base/ticket/index.html | 2 +- .../iroh_base/ticket/struct.NodeTicket.html | 12 +- .../docs/iroh_base/ticket/trait.Ticket.html | 2 +- pr/3269/docs/iroh_base/type.NodeId.html | 2 +- pr/3269/docs/iroh_bench/all.html | 2 +- pr/3269/docs/iroh_bench/enum.Commands.html | 8 +- .../iroh_bench/enum.ConnectionSelector.html | 8 +- .../iroh_bench/enum.EndpointSelector.html | 8 +- .../docs/iroh_bench/fn.client_handler.html | 4 +- .../fn.configure_tracing_subscriber.html | 2 +- pr/3269/docs/iroh_bench/fn.rt.html | 2 +- pr/3269/docs/iroh_bench/index.html | 2 +- .../docs/iroh_bench/iroh/constant.ALPN.html | 2 +- pr/3269/docs/iroh_bench/iroh/fn.client.html | 4 +- .../iroh_bench/iroh/fn.connect_client.html | 4 +- .../iroh/fn.handle_client_stream.html | 6 +- pr/3269/docs/iroh_bench/iroh/fn.server.html | 2 +- .../iroh_bench/iroh/fn.server_endpoint.html | 4 +- .../iroh_bench/iroh/fn.transport_config.html | 2 +- pr/3269/docs/iroh_bench/iroh/index.html | 2 +- .../docs/iroh_bench/quinn/constant.ALPN.html | 2 +- pr/3269/docs/iroh_bench/quinn/fn.client.html | 4 +- .../iroh_bench/quinn/fn.connect_client.html | 4 +- .../quinn/fn.handle_client_stream.html | 4 +- pr/3269/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/3269/docs/iroh_bench/quinn/index.html | 2 +- pr/3269/docs/iroh_bench/s2n/index.html | 2 +- pr/3269/docs/iroh_bench/s2n/struct.Opt.html | 8 +- .../iroh_bench/stats/fn.throughput_bps.html | 2 +- pr/3269/docs/iroh_bench/stats/index.html | 2 +- .../docs/iroh_bench/stats/struct.Stats.html | 4 +- .../iroh_bench/stats/struct.StreamStats.html | 4 +- .../stats/struct.TransferResult.html | 4 +- .../docs/iroh_bench/struct.ClientStats.html | 4 +- pr/3269/docs/iroh_bench/struct.Opt.html | 8 +- pr/3269/docs/iroh_dns_server/all.html | 2 +- .../config/enum.BootstrapOption.html | 14 +- .../docs/iroh_dns_server/config/index.html | 2 +- .../iroh_dns_server/config/struct.Config.html | 20 +-- .../config/struct.MainlineConfig.html | 14 +- .../config/struct.MetricsConfig.html | 14 +- .../config/struct.StoreConfig.html | 18 +-- pr/3269/docs/iroh_dns_server/dns/index.html | 2 +- .../iroh_dns_server/dns/struct.DnsConfig.html | 18 +-- .../dns/struct.DnsHandler.html | 12 +- .../iroh_dns_server/dns/struct.DnsServer.html | 10 +- .../iroh_dns_server/dns/struct.Handle.html | 10 +- .../iroh_dns_server/http/enum.CertMode.html | 20 +-- .../http/enum.RateLimitConfig.html | 18 +-- pr/3269/docs/iroh_dns_server/http/index.html | 2 +- .../http/struct.HttpConfig.html | 18 +-- .../http/struct.HttpServer.html | 10 +- .../http/struct.HttpsConfig.html | 18 +-- pr/3269/docs/iroh_dns_server/index.html | 2 +- .../docs/iroh_dns_server/metrics/index.html | 2 +- .../metrics/struct.Metrics.html | 4 +- .../fn.run_with_config_until_ctrl_c.html | 2 +- .../docs/iroh_dns_server/server/index.html | 2 +- .../iroh_dns_server/server/struct.Server.html | 10 +- pr/3269/docs/iroh_dns_server/state/index.html | 2 +- .../state/struct.AppState.html | 8 +- .../iroh_dns_server/struct.ZoneStore.html | 26 ++-- pr/3269/docs/iroh_relay/all.html | 2 +- .../iroh_relay/client/enum.ConnSendError.html | 4 +- .../client/enum.ReceivedMessage.html | 8 +- .../iroh_relay/client/enum.SendMessage.html | 20 +-- .../fn.make_dangerous_client_config.html | 2 +- pr/3269/docs/iroh_relay/client/index.html | 2 +- .../docs/iroh_relay/client/struct.Client.html | 12 +- .../client/struct.ClientBuilder.html | 10 +- .../iroh_relay/client/struct.ClientSink.html | 12 +- .../client/struct.ClientStream.html | 6 +- .../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/3269/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/3269/docs/iroh_relay/dns/index.html | 2 +- .../iroh_relay/dns/struct.DnsResolver.html | 32 ++-- pr/3269/docs/iroh_relay/dns/struct.TXT.html | 8 +- .../docs/iroh_relay/dns/struct.TxtLookup.html | 8 +- .../iroh_relay/http/constant.RELAY_PATH.html | 2 +- .../http/constant.RELAY_PROBE_PATH.html | 2 +- .../docs/iroh_relay/http/enum.Protocol.html | 8 +- pr/3269/docs/iroh_relay/http/index.html | 2 +- pr/3269/docs/iroh_relay/index.html | 2 +- .../node_info/constant.IROH_TXT_NAME.html | 2 +- pr/3269/docs/iroh_relay/node_info/index.html | 2 +- .../struct.MaxLengthExceededError.html | 4 +- .../iroh_relay/node_info/struct.NodeData.html | 8 +- .../iroh_relay/node_info/struct.NodeInfo.html | 14 +- .../iroh_relay/node_info/struct.UserData.html | 10 +- .../iroh_relay/node_info/trait.NodeIdExt.html | 8 +- .../protos/disco/constant.MAGIC.html | 2 +- .../disco/fn.looks_like_disco_wrapper.html | 2 +- .../docs/iroh_relay/protos/disco/index.html | 2 +- pr/3269/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 | 4 +- .../protos/stun/enum.MessageClass.html | 8 +- .../protos/stun/enum.StunAttribute.html | 10 +- .../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 | 10 +- .../protos/stun/struct.StunDecodeError.html | 6 +- .../protos/stun/struct.TransactionId.html | 10 +- .../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/3269/docs/iroh_relay/quic/index.html | 2 +- .../iroh_relay/quic/struct.QuicClient.html | 8 +- ...constant.DEFAULT_CERT_RELOAD_INTERVAL.html | 2 +- .../docs/iroh_relay/server/enum.Access.html | 8 +- .../iroh_relay/server/enum.AccessConfig.html | 4 +- .../iroh_relay/server/enum.CertConfig.html | 4 +- pr/3269/docs/iroh_relay/server/index.html | 2 +- .../server/struct.ClientRateLimit.html | 8 +- .../docs/iroh_relay/server/struct.Limits.html | 4 +- .../iroh_relay/server/struct.Metrics.html | 4 +- .../iroh_relay/server/struct.QuicConfig.html | 4 +- .../iroh_relay/server/struct.RelayConfig.html | 4 +- .../server/struct.RelayMetrics.html | 8 +- .../server/struct.ReloadingResolver.html | 6 +- .../docs/iroh_relay/server/struct.Server.html | 10 +- .../server/struct.ServerConfig.html | 4 +- .../iroh_relay/server/struct.StunConfig.html | 4 +- .../iroh_relay/server/struct.StunMetrics.html | 4 +- .../iroh_relay/server/struct.TlsConfig.html | 4 +- .../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 +- .../docs/iroh_relay/struct.PingTracker.html | 4 +- pr/3269/docs/iroh_relay/struct.RelayMap.html | 46 +++--- pr/3269/docs/iroh_relay/struct.RelayNode.html | 26 ++-- .../iroh_relay/struct.RelayQuicConfig.html | 24 +-- pr/3269/docs/search-index.js | 4 +- pr/3269/docs/search.desc/iroh/iroh-desc-0-.js | 2 +- .../iroh_relay/iroh_relay-desc-0-.js | 2 +- pr/3269/docs/src-files.js | 4 +- pr/3269/docs/src/iroh/defaults.rs.html | 10 +- pr/3269/docs/src/iroh/discovery/pkarr.rs.html | 18 ++- pr/3269/docs/src/iroh/endpoint.rs.html | 142 +++++++++++------- pr/3269/docs/src/iroh/magicsock.rs.html | 58 +++++-- pr/3269/docs/src/iroh/net_report.rs.html | 18 +-- .../src/iroh/net_report/reportgen.rs.html | 16 +- pr/3269/docs/src/iroh/protocol.rs.html | 34 ++--- pr/3269/docs/src/iroh/test_utils.rs.html | 10 +- pr/3269/docs/src/iroh/tls.rs.html | 134 +++++++++++------ pr/3269/docs/src/iroh/tls/name.rs.html | 111 ++++++++++++++ pr/3269/docs/src/iroh/tls/resolver.rs.html | 26 +++- pr/3269/docs/src/iroh/tls/verifier.rs.html | 58 ++++--- pr/3269/docs/src/iroh_bench/iroh.rs.html | 14 +- .../docs/src/iroh_dns_server/store.rs.html | 72 +++++++-- .../store/signed_packets.rs.html | 114 +++++++++++--- pr/3269/docs/src/iroh_relay/relay_map.rs.html | 102 ++++++++----- pr/3269/docs/src/iroh_relay/server.rs.html | 68 ++++++++- .../docs/src/iroh_relay/server/client.rs.html | 64 +++++++- .../src/iroh_relay/server/clients.rs.html | 38 +++-- .../trait.impl/core/convert/trait.From.js | 4 +- .../iter/traits/collect/trait.FromIterator.js | 9 ++ .../trait.impl/serde/de/trait.Deserialize.js | 2 +- .../trait.impl/serde/ser/trait.Serialize.js | 2 +- .../docs/type.impl/iroh/struct.PublicKey.js | 2 +- .../type.impl/iroh_base/struct.PublicKey.js | 2 +- 367 files changed, 2077 insertions(+), 1530 deletions(-) create mode 100644 pr/3269/docs/src/iroh/tls/name.rs.html create mode 100644 pr/3269/docs/trait.impl/core/iter/traits/collect/trait.FromIterator.js diff --git a/pr/3269/docs/bulk/all.html b/pr/3269/docs/bulk/all.html index 7f176679e6..716cb9e9af 100644 --- a/pr/3269/docs/bulk/all.html +++ b/pr/3269/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/3269/docs/bulk/fn.collect_and_print.html b/pr/3269/docs/bulk/fn.collect_and_print.html index 35b55a3800..639aa8869c 100644 --- a/pr/3269/docs/bulk/fn.collect_and_print.html +++ b/pr/3269/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: &dyn MetricsGroup,
 )
\ No newline at end of file diff --git a/pr/3269/docs/bulk/fn.main.html b/pr/3269/docs/bulk/fn.main.html index 418a3fe126..ebcccbf0af 100644 --- a/pr/3269/docs/bulk/fn.main.html +++ b/pr/3269/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/3269/docs/bulk/fn.run_iroh.html b/pr/3269/docs/bulk/fn.run_iroh.html index 23b1bad8d3..c137a0dac3 100644 --- a/pr/3269/docs/bulk/fn.run_iroh.html +++ b/pr/3269/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/3269/docs/bulk/fn.run_quinn.html b/pr/3269/docs/bulk/fn.run_quinn.html index 57f485d604..80640d30d0 100644 --- a/pr/3269/docs/bulk/fn.run_quinn.html +++ b/pr/3269/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/3269/docs/bulk/fn.run_s2n.html b/pr/3269/docs/bulk/fn.run_s2n.html index a3b1180a92..5ae4dfca6e 100644 --- a/pr/3269/docs/bulk/fn.run_s2n.html +++ b/pr/3269/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/3269/docs/bulk/index.html b/pr/3269/docs/bulk/index.html index f8c48cb08c..c5f6a71492 100644 --- a/pr/3269/docs/bulk/index.html +++ b/pr/3269/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/3269/docs/iroh/all.html b/pr/3269/docs/iroh/all.html index 510b893c3f..ecf58a1ef1 100644 --- a/pr/3269/docs/iroh/all.html +++ b/pr/3269/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/3269/docs/iroh/defaults/constant.DEFAULT_HTTPS_PORT.html b/pr/3269/docs/iroh/defaults/constant.DEFAULT_HTTPS_PORT.html index d1a1f70e71..ff6b58b8c3 100644 --- a/pr/3269/docs/iroh/defaults/constant.DEFAULT_HTTPS_PORT.html +++ b/pr/3269/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/3269/docs/iroh/defaults/constant.DEFAULT_HTTP_PORT.html b/pr/3269/docs/iroh/defaults/constant.DEFAULT_HTTP_PORT.html index 6dfc031ad4..49606c128b 100644 --- a/pr/3269/docs/iroh/defaults/constant.DEFAULT_HTTP_PORT.html +++ b/pr/3269/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/3269/docs/iroh/defaults/constant.DEFAULT_METRICS_PORT.html b/pr/3269/docs/iroh/defaults/constant.DEFAULT_METRICS_PORT.html index cf84004361..f1d91fb858 100644 --- a/pr/3269/docs/iroh/defaults/constant.DEFAULT_METRICS_PORT.html +++ b/pr/3269/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/3269/docs/iroh/defaults/constant.DEFAULT_RELAY_QUIC_PORT.html b/pr/3269/docs/iroh/defaults/constant.DEFAULT_RELAY_QUIC_PORT.html index 360c746d6d..c9524487f8 100644 --- a/pr/3269/docs/iroh/defaults/constant.DEFAULT_RELAY_QUIC_PORT.html +++ b/pr/3269/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

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 +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/3269/docs/iroh/defaults/constant.DEFAULT_STUN_PORT.html b/pr/3269/docs/iroh/defaults/constant.DEFAULT_STUN_PORT.html index 26a2a6c72f..bc844fbf0c 100644 --- a/pr/3269/docs/iroh/defaults/constant.DEFAULT_STUN_PORT.html +++ b/pr/3269/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

Source
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/3269/docs/iroh/defaults/index.html b/pr/3269/docs/iroh/defaults/index.html index 52db5c6a15..9c56d06d76 100644 --- a/pr/3269/docs/iroh/defaults/index.html +++ b/pr/3269/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/3269/docs/iroh/defaults/prod/constant.AP_RELAY_HOSTNAME.html b/pr/3269/docs/iroh/defaults/prod/constant.AP_RELAY_HOSTNAME.html index 50f6cbadb8..7f56663818 100644 --- a/pr/3269/docs/iroh/defaults/prod/constant.AP_RELAY_HOSTNAME.html +++ b/pr/3269/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/3269/docs/iroh/defaults/prod/constant.EU_RELAY_HOSTNAME.html b/pr/3269/docs/iroh/defaults/prod/constant.EU_RELAY_HOSTNAME.html index a03a8586cf..c9249c7181 100644 --- a/pr/3269/docs/iroh/defaults/prod/constant.EU_RELAY_HOSTNAME.html +++ b/pr/3269/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/3269/docs/iroh/defaults/prod/constant.NA_RELAY_HOSTNAME.html b/pr/3269/docs/iroh/defaults/prod/constant.NA_RELAY_HOSTNAME.html index dc77a94eef..24f039b3b4 100644 --- a/pr/3269/docs/iroh/defaults/prod/constant.NA_RELAY_HOSTNAME.html +++ b/pr/3269/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/3269/docs/iroh/defaults/prod/fn.default_ap_relay_node.html b/pr/3269/docs/iroh/defaults/prod/fn.default_ap_relay_node.html index ff64b86bc9..3049ed71f0 100644 --- a/pr/3269/docs/iroh/defaults/prod/fn.default_ap_relay_node.html +++ b/pr/3269/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/3269/docs/iroh/defaults/prod/fn.default_eu_relay_node.html b/pr/3269/docs/iroh/defaults/prod/fn.default_eu_relay_node.html index 04825ee593..88571b3370 100644 --- a/pr/3269/docs/iroh/defaults/prod/fn.default_eu_relay_node.html +++ b/pr/3269/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/3269/docs/iroh/defaults/prod/fn.default_na_relay_node.html b/pr/3269/docs/iroh/defaults/prod/fn.default_na_relay_node.html index 04ac120af8..502cbc5c57 100644 --- a/pr/3269/docs/iroh/defaults/prod/fn.default_na_relay_node.html +++ b/pr/3269/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/3269/docs/iroh/defaults/prod/fn.default_relay_map.html b/pr/3269/docs/iroh/defaults/prod/fn.default_relay_map.html index 5549514ea4..12572333ca 100644 --- a/pr/3269/docs/iroh/defaults/prod/fn.default_relay_map.html +++ b/pr/3269/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/3269/docs/iroh/defaults/prod/index.html b/pr/3269/docs/iroh/defaults/prod/index.html index b847f192db..09b6e155ff 100644 --- a/pr/3269/docs/iroh/defaults/prod/index.html +++ b/pr/3269/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/3269/docs/iroh/defaults/staging/constant.EU_RELAY_HOSTNAME.html b/pr/3269/docs/iroh/defaults/staging/constant.EU_RELAY_HOSTNAME.html index cb11df250d..bc760feaef 100644 --- a/pr/3269/docs/iroh/defaults/staging/constant.EU_RELAY_HOSTNAME.html +++ b/pr/3269/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/3269/docs/iroh/defaults/staging/constant.NA_RELAY_HOSTNAME.html b/pr/3269/docs/iroh/defaults/staging/constant.NA_RELAY_HOSTNAME.html index e11294f0e1..9a79980192 100644 --- a/pr/3269/docs/iroh/defaults/staging/constant.NA_RELAY_HOSTNAME.html +++ b/pr/3269/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/3269/docs/iroh/defaults/staging/fn.default_eu_relay_node.html b/pr/3269/docs/iroh/defaults/staging/fn.default_eu_relay_node.html index c78dd9f783..194d09fb4a 100644 --- a/pr/3269/docs/iroh/defaults/staging/fn.default_eu_relay_node.html +++ b/pr/3269/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/3269/docs/iroh/defaults/staging/fn.default_na_relay_node.html b/pr/3269/docs/iroh/defaults/staging/fn.default_na_relay_node.html index 7599f98695..f8469532f0 100644 --- a/pr/3269/docs/iroh/defaults/staging/fn.default_na_relay_node.html +++ b/pr/3269/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/3269/docs/iroh/defaults/staging/fn.default_relay_map.html b/pr/3269/docs/iroh/defaults/staging/fn.default_relay_map.html index 865dbd697c..940774d653 100644 --- a/pr/3269/docs/iroh/defaults/staging/fn.default_relay_map.html +++ b/pr/3269/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/3269/docs/iroh/defaults/staging/index.html b/pr/3269/docs/iroh/defaults/staging/index.html index c02637635e..b5a5ce2888 100644 --- a/pr/3269/docs/iroh/defaults/staging/index.html +++ b/pr/3269/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/3269/docs/iroh/discovery/dns/constant.N0_DNS_NODE_ORIGIN_PROD.html b/pr/3269/docs/iroh/discovery/dns/constant.N0_DNS_NODE_ORIGIN_PROD.html index f8ba3cb04d..aa6e3809b2 100644 --- a/pr/3269/docs/iroh/discovery/dns/constant.N0_DNS_NODE_ORIGIN_PROD.html +++ b/pr/3269/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: &'static str;
Available on non-wasm_browser only.
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;
Available on non-wasm_browser only.
Expand description

The n0 testing DNS node origin, for production.

\ No newline at end of file diff --git a/pr/3269/docs/iroh/discovery/dns/constant.N0_DNS_NODE_ORIGIN_STAGING.html b/pr/3269/docs/iroh/discovery/dns/constant.N0_DNS_NODE_ORIGIN_STAGING.html index d36a5294d5..9031ebe8fe 100644 --- a/pr/3269/docs/iroh/discovery/dns/constant.N0_DNS_NODE_ORIGIN_STAGING.html +++ b/pr/3269/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: &'static str;
Available on non-wasm_browser only.
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;
Available on non-wasm_browser only.
Expand description

The n0 testing DNS node origin, for testing.

\ No newline at end of file diff --git a/pr/3269/docs/iroh/discovery/dns/index.html b/pr/3269/docs/iroh/discovery/dns/index.html index a19c60f8c4..5cd8a75413 100644 --- a/pr/3269/docs/iroh/discovery/dns/index.html +++ b/pr/3269/docs/iroh/discovery/dns/index.html @@ -1,2 +1,2 @@ -iroh::discovery::dns - Rust
iroh::discovery

Module dns

Source
Available on non-wasm_browser only.
Expand description

DNS node discovery for iroh

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

Module dns

Source
Available on non-wasm_browser only.
Expand description

DNS node discovery for iroh

Structs§

Constants§

\ No newline at end of file diff --git a/pr/3269/docs/iroh/discovery/dns/struct.DnsDiscovery.html b/pr/3269/docs/iroh/discovery/dns/struct.DnsDiscovery.html index 25149baf4b..e8b6961bfa 100644 --- a/pr/3269/docs/iroh/discovery/dns/struct.DnsDiscovery.html +++ b/pr/3269/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 */ }
Available on non-wasm_browser only.
Expand description

DNS node discovery

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

Struct DnsDiscovery

Source
pub struct DnsDiscovery { /* private fields */ }
Available on non-wasm_browser only.
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>:

@@ -26,7 +26,7 @@ service for testing purposes.

&self, ep: Endpoint, node_id: NodeId, -) -> Option<BoxStream<Result<DiscoveryItem>>>
Resolves the DiscoveryItem for the given NodeId. Read more
Source§

fn publish(&self, _data: &NodeData)

Publishes the given NodeData to the discovery mechanism. Read more
Source§

fn subscribe(&self) -> Option<BoxStream<DiscoveryItem>>

Subscribe to all addresses that get passively discovered. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +) -> Option<BoxStream<Result<DiscoveryItem>>>

Resolves the DiscoveryItem for the given NodeId. Read more
Source§

fn publish(&self, _data: &NodeData)

Publishes the given NodeData to the discovery mechanism. Read more
Source§

fn subscribe(&self) -> Option<BoxStream<DiscoveryItem>>

Subscribe to all addresses that get passively discovered. 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( @@ -43,7 +43,7 @@ service for testing purposes.

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 +

§

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 diff --git a/pr/3269/docs/iroh/discovery/index.html b/pr/3269/docs/iroh/discovery/index.html index c05c718d82..b6f1e1a26c 100644 --- a/pr/3269/docs/iroh/discovery/index.html +++ b/pr/3269/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/3269/docs/iroh/discovery/mdns/constant.NAME.html b/pr/3269/docs/iroh/discovery/mdns/constant.NAME.html index f3942b76e5..d1037fbca3 100644 --- a/pr/3269/docs/iroh/discovery/mdns/constant.NAME.html +++ b/pr/3269/docs/iroh/discovery/mdns/constant.NAME.html @@ -1,4 +1,4 @@ -NAME in iroh::discovery::mdns - Rust

iroh::discovery::mdns

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::mdns - Rust
iroh::discovery::mdns

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/3269/docs/iroh/discovery/mdns/index.html b/pr/3269/docs/iroh/discovery/mdns/index.html index 6c3ccc1cc7..e8a7e0350e 100644 --- a/pr/3269/docs/iroh/discovery/mdns/index.html +++ b/pr/3269/docs/iroh/discovery/mdns/index.html @@ -1,4 +1,4 @@ -iroh::discovery::mdns - Rust
iroh::discovery

Module mdns

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::mdns - Rust
iroh::discovery

Module mdns

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 MdnsDiscovery is enabled, it’s possible to get a list of the locally discovered nodes by filtering a list of RemoteInfos.

diff --git a/pr/3269/docs/iroh/discovery/mdns/struct.MdnsDiscovery.html b/pr/3269/docs/iroh/discovery/mdns/struct.MdnsDiscovery.html index 2e48d4aa19..bda89908fd 100644 --- a/pr/3269/docs/iroh/discovery/mdns/struct.MdnsDiscovery.html +++ b/pr/3269/docs/iroh/discovery/mdns/struct.MdnsDiscovery.html @@ -1,5 +1,5 @@ -MdnsDiscovery in iroh::discovery::mdns - Rust
iroh::discovery::mdns

Struct MdnsDiscovery

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

Discovery using swarm-discovery, a variation on mdns

-

Implementations§

Source§

impl MdnsDiscovery

Source

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

Create a new MdnsDiscovery Service.

+MdnsDiscovery in iroh::discovery::mdns - Rust
iroh::discovery::mdns

Struct MdnsDiscovery

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

Discovery using swarm-discovery, a variation on mdns

+

Implementations§

Source§

impl MdnsDiscovery

Source

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

Create a new MdnsDiscovery Service.

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

§Errors

Returns an error if the network does not allow ipv4 OR ipv6.

@@ -9,7 +9,7 @@ &self, _ep: Endpoint, node_id: NodeId, -) -> Option<BoxStream<Result<DiscoveryItem>>>

Resolves the DiscoveryItem for the given NodeId. Read more
Source§

fn publish(&self, data: &NodeData)

Publishes the given NodeData to the discovery mechanism. Read more
Source§

fn subscribe(&self) -> Option<BoxStream<DiscoveryItem>>

Subscribe to all addresses that get passively discovered. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +) -> Option<BoxStream<Result<DiscoveryItem>>>

Resolves the DiscoveryItem for the given NodeId. Read more
Source§

fn publish(&self, data: &NodeData)

Publishes the given NodeData to the discovery mechanism. Read more
Source§

fn subscribe(&self) -> Option<BoxStream<DiscoveryItem>>

Subscribe to all addresses that get passively discovered. 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( @@ -26,7 +26,7 @@ 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 +

§

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 diff --git a/pr/3269/docs/iroh/discovery/pkarr/constant.DEFAULT_PKARR_TTL.html b/pr/3269/docs/iroh/discovery/pkarr/constant.DEFAULT_PKARR_TTL.html index fa5f45b4ca..5c5f9d3fbc 100644 --- a/pr/3269/docs/iroh/discovery/pkarr/constant.DEFAULT_PKARR_TTL.html +++ b/pr/3269/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/3269/docs/iroh/discovery/pkarr/constant.DEFAULT_REPUBLISH_INTERVAL.html b/pr/3269/docs/iroh/discovery/pkarr/constant.DEFAULT_REPUBLISH_INTERVAL.html index 3c3dd980a5..c97c0bd0b8 100644 --- a/pr/3269/docs/iroh/discovery/pkarr/constant.DEFAULT_REPUBLISH_INTERVAL.html +++ b/pr/3269/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/3269/docs/iroh/discovery/pkarr/constant.N0_DNS_PKARR_RELAY_PROD.html b/pr/3269/docs/iroh/discovery/pkarr/constant.N0_DNS_PKARR_RELAY_PROD.html index 8d8dec8f68..ed7ffccc59 100644 --- a/pr/3269/docs/iroh/discovery/pkarr/constant.N0_DNS_PKARR_RELAY_PROD.html +++ b/pr/3269/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/3269/docs/iroh/discovery/pkarr/constant.N0_DNS_PKARR_RELAY_STAGING.html b/pr/3269/docs/iroh/discovery/pkarr/constant.N0_DNS_PKARR_RELAY_STAGING.html index 67654795d8..8b1d45a518 100644 --- a/pr/3269/docs/iroh/discovery/pkarr/constant.N0_DNS_PKARR_RELAY_STAGING.html +++ b/pr/3269/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/3269/docs/iroh/discovery/pkarr/dht/index.html b/pr/3269/docs/iroh/discovery/pkarr/dht/index.html index dbb3340c8e..9f07cce27e 100644 --- a/pr/3269/docs/iroh/discovery/pkarr/dht/index.html +++ b/pr/3269/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/3269/docs/iroh/discovery/pkarr/dht/struct.Builder.html b/pr/3269/docs/iroh/discovery/pkarr/dht/struct.Builder.html index 8e49377787..c46b605ae8 100644 --- a/pr/3269/docs/iroh/discovery/pkarr/dht/struct.Builder.html +++ b/pr/3269/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.

@@ -10,7 +10,7 @@
Source

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

Sets whether to include the direct addresses in the DNS packet.

Source

pub fn initial_publish_delay(self, initial_publish_delay: Duration) -> Self

Sets the initial delay before the first publish.

Source

pub fn republish_delay(self, republish_delay: Duration) -> Self

Sets the republish delay for the DHT.

-
Source

pub fn build(self) -> Result<DhtDiscovery>

Builds the discovery mechanism.

+
Source

pub fn build(self) -> Result<DhtDiscovery>

Builds the discovery mechanism.

Trait Implementations§

Source§

impl Debug for Builder

Source§

fn fmt(&self, 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 T: 'a,

§

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

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where @@ -28,7 +28,7 @@ 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 +

§

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 diff --git a/pr/3269/docs/iroh/discovery/pkarr/dht/struct.DhtDiscovery.html b/pr/3269/docs/iroh/discovery/pkarr/dht/struct.DhtDiscovery.html index be7ed666b3..078cd7230c 100644 --- a/pr/3269/docs/iroh/discovery/pkarr/dht/struct.DhtDiscovery.html +++ b/pr/3269/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 @@ -9,7 +9,7 @@ a background task that periodically publishes the node address.

&self, _endpoint: Endpoint, node_id: NodeId, -) -> Option<BoxStream<Result<DiscoveryItem>>>

Resolves the DiscoveryItem for the given NodeId. Read more
Source§

fn subscribe(&self) -> Option<BoxStream<DiscoveryItem>>

Subscribe to all addresses that get passively discovered. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +) -> Option<BoxStream<Result<DiscoveryItem>>>

Resolves the DiscoveryItem for the given NodeId. Read more
Source§

fn subscribe(&self) -> Option<BoxStream<DiscoveryItem>>

Subscribe to all addresses that get passively discovered. 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( @@ -20,8 +20,8 @@ a background task that periodically publishes the node address.

) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -29,7 +29,7 @@ a background task that periodically publishes the node address.

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 +

§

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 diff --git a/pr/3269/docs/iroh/discovery/pkarr/index.html b/pr/3269/docs/iroh/discovery/pkarr/index.html index 176db35e8b..c4c728d2e0 100644 --- a/pr/3269/docs/iroh/discovery/pkarr/index.html +++ b/pr/3269/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/3269/docs/iroh/discovery/pkarr/struct.PkarrPublisher.html b/pr/3269/docs/iroh/discovery/pkarr/struct.PkarrPublisher.html index 34b23853e1..b59c0e5697 100644 --- a/pr/3269/docs/iroh/discovery/pkarr/struct.PkarrPublisher.html +++ b/pr/3269/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 @@ -30,7 +30,7 @@ server is used instead.

&self, _endpoint: Endpoint, _node_id: NodeId, -) -> Option<BoxStream<Result<DiscoveryItem>>>

Resolves the DiscoveryItem for the given NodeId. Read more
Source§

fn subscribe(&self) -> Option<BoxStream<DiscoveryItem>>

Subscribe to all addresses that get passively discovered. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +) -> Option<BoxStream<Result<DiscoveryItem>>>

Resolves the DiscoveryItem for the given NodeId. Read more
Source§

fn subscribe(&self) -> Option<BoxStream<DiscoveryItem>>

Subscribe to all addresses that get passively discovered. 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( @@ -41,8 +41,8 @@ server is used instead.

) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -50,7 +50,7 @@ server is used instead.

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 +

§

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 diff --git a/pr/3269/docs/iroh/discovery/pkarr/struct.PkarrRelayClient.html b/pr/3269/docs/iroh/discovery/pkarr/struct.PkarrRelayClient.html index c83a5caded..57219645b7 100644 --- a/pr/3269/docs/iroh/discovery/pkarr/struct.PkarrRelayClient.html +++ b/pr/3269/docs/iroh/discovery/pkarr/struct.PkarrRelayClient.html @@ -1,7 +1,7 @@ -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].

+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].

Trait Implementations§

Source§

impl Clone for PkarrRelayClient

Source§

fn clone(&self) -> PkarrRelayClient

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 PkarrRelayClient

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 @@ -13,8 +13,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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -22,7 +22,7 @@ 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 +

§

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 diff --git a/pr/3269/docs/iroh/discovery/pkarr/struct.PkarrResolver.html b/pr/3269/docs/iroh/discovery/pkarr/struct.PkarrResolver.html index 874677a18a..f41efe6ca9 100644 --- a/pr/3269/docs/iroh/discovery/pkarr/struct.PkarrResolver.html +++ b/pr/3269/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 @@ -15,7 +15,7 @@ server is used instead.

&self, _ep: Endpoint, node_id: NodeId, -) -> Option<BoxStream<Result<DiscoveryItem>>>

Resolves the DiscoveryItem for the given NodeId. Read more
Source§

fn publish(&self, _data: &NodeData)

Publishes the given NodeData to the discovery mechanism. Read more
Source§

fn subscribe(&self) -> Option<BoxStream<DiscoveryItem>>

Subscribe to all addresses that get passively discovered. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +) -> Option<BoxStream<Result<DiscoveryItem>>>

Resolves the DiscoveryItem for the given NodeId. Read more
Source§

fn publish(&self, _data: &NodeData)

Publishes the given NodeData to the discovery mechanism. Read more
Source§

fn subscribe(&self) -> Option<BoxStream<DiscoveryItem>>

Subscribe to all addresses that get passively discovered. 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( @@ -26,8 +26,8 @@ server is used instead.

) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -35,7 +35,7 @@ server is used instead.

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 +

§

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 diff --git a/pr/3269/docs/iroh/discovery/static_provider/index.html b/pr/3269/docs/iroh/discovery/static_provider/index.html index 72fc862958..16e2e923bb 100644 --- a/pr/3269/docs/iroh/discovery/static_provider/index.html +++ b/pr/3269/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/3269/docs/iroh/discovery/static_provider/struct.StaticProvider.html b/pr/3269/docs/iroh/discovery/static_provider/struct.StaticProvider.html index e5e4624299..ef2e730fe7 100644 --- a/pr/3269/docs/iroh/discovery/static_provider/struct.StaticProvider.html +++ b/pr/3269/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 @@ -68,7 +68,7 @@ relay URL is overwritten.

&self, _endpoint: Endpoint, node_id: NodeId, -) -> Option<BoxStream<Result<DiscoveryItem>>>

Resolves the DiscoveryItem for the given NodeId. Read more
Source§

fn subscribe(&self) -> Option<BoxStream<DiscoveryItem>>

Subscribe to all addresses that get passively discovered. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +) -> Option<BoxStream<Result<DiscoveryItem>>>

Resolves the DiscoveryItem for the given NodeId. Read more
Source§

fn subscribe(&self) -> Option<BoxStream<DiscoveryItem>>

Subscribe to all addresses that get passively discovered. 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( @@ -79,8 +79,8 @@ relay URL is overwritten.

) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -88,7 +88,7 @@ relay URL is overwritten.

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 +

§

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 diff --git a/pr/3269/docs/iroh/discovery/struct.ConcurrentDiscovery.html b/pr/3269/docs/iroh/discovery/struct.ConcurrentDiscovery.html index 69cb651207..492d671f13 100644 --- a/pr/3269/docs/iroh/discovery/struct.ConcurrentDiscovery.html +++ b/pr/3269/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.

@@ -7,7 +7,7 @@ &self, endpoint: Endpoint, node_id: NodeId, -) -> Option<BoxStream<Result<DiscoveryItem>>>

Resolves the DiscoveryItem for the given NodeId. Read more
Source§

fn subscribe(&self) -> Option<BoxStream<DiscoveryItem>>

Subscribe to all addresses that get passively discovered. Read more
Source§

impl<T> From<T> for ConcurrentDiscovery
where +) -> Option<BoxStream<Result<DiscoveryItem>>>

Resolves the DiscoveryItem for the given NodeId. Read more
Source§

fn subscribe(&self) -> Option<BoxStream<DiscoveryItem>>

Subscribe to all addresses that get passively discovered. Read more
Source§

impl<T> From<T> for ConcurrentDiscovery
where T: IntoIterator<Item = Box<dyn Discovery>>,

Source§

fn from(iter: T) -> 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
§

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 @@ -25,7 +25,7 @@ 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 +

§

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 diff --git a/pr/3269/docs/iroh/discovery/struct.DiscoveryItem.html b/pr/3269/docs/iroh/discovery/struct.DiscoveryItem.html index d5cc572cf2..10b6d47a25 100644 --- a/pr/3269/docs/iroh/discovery/struct.DiscoveryItem.html +++ b/pr/3269/docs/iroh/discovery/struct.DiscoveryItem.html @@ -1,4 +1,4 @@ -DiscoveryItem in iroh::discovery - Rust
iroh::discovery

Struct DiscoveryItem

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

Node discovery results from Discovery services.

+DiscoveryItem in iroh::discovery - Rust
iroh::discovery

Struct DiscoveryItem

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

Node discovery results from Discovery services.

This is the item in the streams returned from Discovery::resolve and Discovery::subscribe. It contains the NodeData about the discovered node, and some additional metadata about the discovery.

@@ -33,8 +33,8 @@ this discovery item.

) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -44,7 +44,7 @@ this discovery item.

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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, - T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
Available on non-bootstrap only.
The target type on which the method may be called.
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

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

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
Available on non-bootstrap only.
The target type on which the method may be called.
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 diff --git a/pr/3269/docs/iroh/discovery/struct.Lagged.html b/pr/3269/docs/iroh/discovery/struct.Lagged.html index 6058f3b12e..79e2d4422c 100644 --- a/pr/3269/docs/iroh/discovery/struct.Lagged.html +++ b/pr/3269/docs/iroh/discovery/struct.Lagged.html @@ -1,4 +1,4 @@ -Lagged in iroh::discovery - Rust
iroh::discovery

Struct Lagged

Source
pub struct Lagged(pub u64);
Expand description

Error returned when a discovery watch stream lagged too far behind.

+Lagged in iroh::discovery - Rust
iroh::discovery

Struct Lagged

Source
pub struct Lagged(pub u64);
Expand description

Error returned when a discovery watch stream lagged too far behind.

The stream returned from Endpoint::discovery_stream yields this error if the loop in which the stream is processed cannot keep up with the emitted discovery events. Attempting to read the next item from the channel afterwards @@ -24,7 +24,7 @@ receivers.

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 +

§

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 diff --git a/pr/3269/docs/iroh/discovery/struct.NodeData.html b/pr/3269/docs/iroh/discovery/struct.NodeData.html index a230fab5e4..137aaeb678 100644 --- a/pr/3269/docs/iroh/discovery/struct.NodeData.html +++ b/pr/3269/docs/iroh/discovery/struct.NodeData.html @@ -1,4 +1,4 @@ -NodeData in iroh::discovery - Rust
iroh::discovery

Struct NodeData

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

Data about a node that may be published to and resolved from discovery services.

+NodeData in iroh::discovery - Rust
iroh::discovery

Struct NodeData

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

Data about a node that may be published to and resolved from discovery services.

This includes an optional RelayUrl, a set of direct addresses, and the optional UserData, a string that can be set by applications and is not parsed or used by iroh itself.

@@ -36,8 +36,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -49,7 +49,7 @@ and should not be overridden without very good reason.

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 +

§

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 diff --git a/pr/3269/docs/iroh/discovery/struct.NodeInfo.html b/pr/3269/docs/iroh/discovery/struct.NodeInfo.html index 90ff949a2b..a0f990f170 100644 --- a/pr/3269/docs/iroh/discovery/struct.NodeInfo.html +++ b/pr/3269/docs/iroh/discovery/struct.NodeInfo.html @@ -1,4 +1,4 @@ -NodeInfo in iroh::discovery - Rust
iroh::discovery

Struct NodeInfo

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

Struct NodeInfo

Source
pub struct NodeInfo {
     pub node_id: PublicKey,
     pub data: NodeData,
 }
Expand description

Information about a node that may be published to and resolved from discovery services.

@@ -15,15 +15,15 @@
Source

pub fn with_user_data(self, user_data: Option<UserData>) -> NodeInfo

Sets the user-defined data and returns the updated node info.

Source

pub fn to_node_addr(&self) -> NodeAddr

Converts into a NodeAddr by cloning the needed fields.

Source

pub fn into_node_addr(self) -> NodeAddr

Converts into a NodeAddr without cloning.

-
Source

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

Available on non-wasm_browser only.

Parses a NodeInfo from a TXT records lookup.

+
Source

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

Available on non-wasm_browser only.

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].

+) -> 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, Error>

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_txt_strings(&self) -> Vec<String>

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

Methods from Deref<Target = NodeData>§

Source

pub fn relay_url(&self) -> Option<&RelayUrl>

Returns the relay URL of the node.

@@ -48,8 +48,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -63,7 +63,7 @@ and should not be overridden without very good reason.

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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, - T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
Available on non-bootstrap only.
The target type on which the method may be called.
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

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

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
Available on non-bootstrap only.
The target type on which the method may be called.
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 diff --git a/pr/3269/docs/iroh/discovery/struct.UserData.html b/pr/3269/docs/iroh/discovery/struct.UserData.html index 2cd3ad8cae..0b3728e492 100644 --- a/pr/3269/docs/iroh/discovery/struct.UserData.html +++ b/pr/3269/docs/iroh/discovery/struct.UserData.html @@ -1,4 +1,4 @@ -UserData in iroh::discovery - Rust
iroh::discovery

Struct UserData

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

Under the hood this is a UTF-8 String is no longer than UserData::MAX_LENGTH bytes.

+UserData in iroh::discovery - Rust
iroh::discovery

Struct UserData

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

Under the hood this is a UTF-8 String is no longer than UserData::MAX_LENGTH bytes.

Iroh does not keep track of or examine the user-defined data.

UserData implements FromStr and TryFrom<String>, so you can convert &str and String into UserData easily.

@@ -31,8 +31,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + K: Borrow<Q> + ?Sized,

§

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

Compare self to key and return their ordering.
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -44,7 +44,7 @@ the >= operator. 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 +

§

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> 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 diff --git a/pr/3269/docs/iroh/discovery/trait.Discovery.html b/pr/3269/docs/iroh/discovery/trait.Discovery.html index 7cdc196077..bf7b15dab0 100644 --- a/pr/3269/docs/iroh/discovery/trait.Discovery.html +++ b/pr/3269/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 {
@@ -8,7 +8,7 @@
         &self,
         _endpoint: Endpoint,
         _node_id: NodeId,
-    ) -> Option<BoxStream<Result<DiscoveryItem>>> { ... }
+    ) -> Option<BoxStream<Result<DiscoveryItem>>> { ... }
     fn subscribe(&self) -> Option<BoxStream<DiscoveryItem>> { ... }
 }
Expand description

Node discovery for super::Endpoint.

This trait defines publishing and resolving addressing information for a NodeId. @@ -30,7 +30,7 @@ These tasks will be run on the runtime of the Endpoint, _node_id: NodeId, -) -> Option<BoxStream<Result<DiscoveryItem>>>

Resolves the DiscoveryItem for the given NodeId.

+) -> Option<BoxStream<Result<DiscoveryItem>>>

Resolves the DiscoveryItem for the given NodeId.

Once the returned [BoxStream] is dropped, the service should stop any pending work.

Source

fn subscribe(&self) -> Option<BoxStream<DiscoveryItem>>

Subscribe to all addresses that get passively discovered.

diff --git a/pr/3269/docs/iroh/dns/constant.N0_DNS_NODE_ORIGIN_PROD.html b/pr/3269/docs/iroh/dns/constant.N0_DNS_NODE_ORIGIN_PROD.html index 57b4725035..716f1f448b 100644 --- a/pr/3269/docs/iroh/dns/constant.N0_DNS_NODE_ORIGIN_PROD.html +++ b/pr/3269/docs/iroh/dns/constant.N0_DNS_NODE_ORIGIN_PROD.html @@ -1,2 +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;
Available on non-wasm_browser only.
Expand description

The n0 testing DNS node origin, for production.

+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;
Available on non-wasm_browser only.
Expand description

The n0 testing DNS node origin, for production.

\ No newline at end of file diff --git a/pr/3269/docs/iroh/dns/constant.N0_DNS_NODE_ORIGIN_STAGING.html b/pr/3269/docs/iroh/dns/constant.N0_DNS_NODE_ORIGIN_STAGING.html index 2daf5f93bc..817b671e81 100644 --- a/pr/3269/docs/iroh/dns/constant.N0_DNS_NODE_ORIGIN_STAGING.html +++ b/pr/3269/docs/iroh/dns/constant.N0_DNS_NODE_ORIGIN_STAGING.html @@ -1,2 +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;
Available on non-wasm_browser only.
Expand description

The n0 testing DNS node origin, for testing.

+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;
Available on non-wasm_browser only.
Expand description

The n0 testing DNS node origin, for testing.

\ No newline at end of file diff --git a/pr/3269/docs/iroh/dns/index.html b/pr/3269/docs/iroh/dns/index.html index 7b77a11516..e763637b55 100644 --- a/pr/3269/docs/iroh/dns/index.html +++ b/pr/3269/docs/iroh/dns/index.html @@ -1,4 +1,4 @@ -iroh::dns - Rust
iroh

Module dns

Source
Available on non-wasm_browser only.
Expand description

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

iroh

Module dns

Source
Available on non-wasm_browser only.
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.

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

diff --git a/pr/3269/docs/iroh/dns/struct.DnsResolver.html b/pr/3269/docs/iroh/dns/struct.DnsResolver.html index 07300ed51c..3dd09e41b3 100644 --- a/pr/3269/docs/iroh/dns/struct.DnsResolver.html +++ b/pr/3269/docs/iroh/dns/struct.DnsResolver.html @@ -1,4 +1,4 @@ -DnsResolver in iroh::dns - Rust
iroh::dns

Struct DnsResolver

Source
pub struct DnsResolver(/* private fields */);
Available on non-wasm_browser only.
Expand description

The DNS resolver used throughout iroh.

+DnsResolver in iroh::dns - Rust
iroh::dns

Struct DnsResolver

Source
pub struct DnsResolver(/* private fields */);
Available on non-wasm_browser only.
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 @@ -9,22 +9,22 @@ to the default ResolverConfig which uses eg. to google’s 8. &self, host: impl ToString, timeout: Duration, -) -> Result<TxtLookup, Error>

Lookup a TXT record.

+) -> 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.

+) -> 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.

+) -> 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.

+) -> 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.

@@ -33,13 +33,13 @@ individually.

url: &Url, prefer_ipv6: bool, timeout: Duration, -) -> Result<IpAddr, Error>

Resolve a hostname from a URL to an IP address.

+) -> 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.

+) -> 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 @@ -49,7 +49,7 @@ result of the first successful call is returned, or a summary of all errors othe 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.

+) -> 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 @@ -59,7 +59,7 @@ result of the first successful call is returned, or a summary of all errors othe 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.

+) -> 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 @@ -69,18 +69,18 @@ summary of all errors otherwise.

&self, node_id: &PublicKey, origin: &str, -) -> Result<NodeInfo, Error>

Looks up node info by NodeId and origin domain name.

+) -> Result<NodeInfo, 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<NodeInfo, Error>

Looks up node info by DNS name.

+) -> Result<NodeInfo, 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<NodeInfo, Error>

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

+) -> Result<NodeInfo, 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 @@ -90,7 +90,7 @@ summary of all errors otherwise.

node_id: &PublicKey, origin: &str, delays_ms: &[u64], -) -> Result<NodeInfo, Error>

Looks up node info by NodeId and origin domain name.

+) -> Result<NodeInfo, 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 @@ -108,8 +108,8 @@ summary of all errors otherwise.

) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -117,7 +117,7 @@ summary of all errors otherwise.

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 +

§

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 diff --git a/pr/3269/docs/iroh/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html b/pr/3269/docs/iroh/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html index e2cda32b11..cc54a57f63 100644 --- a/pr/3269/docs/iroh/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html +++ b/pr/3269/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/3269/docs/iroh/endpoint/enum.ConnectionError.html b/pr/3269/docs/iroh/endpoint/enum.ConnectionError.html index 0734ec1b32..db264545d6 100644 --- a/pr/3269/docs/iroh/endpoint/enum.ConnectionError.html +++ b/pr/3269/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),
@@ -35,8 +35,8 @@ receivers.

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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -48,7 +48,7 @@ receivers.

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 +

§

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> 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 diff --git a/pr/3269/docs/iroh/endpoint/enum.ConnectionType.html b/pr/3269/docs/iroh/endpoint/enum.ConnectionType.html index f6fbadf4ec..909ad65bd4 100644 --- a/pr/3269/docs/iroh/endpoint/enum.ConnectionType.html +++ b/pr/3269/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),
@@ -10,10 +10,10 @@
 

This is the case if we do have a UDP address, but are missing a recent confirmation that the address works.

§

None

We have no verified connection to this PublicKey

-

Trait Implementations§

Source§

impl Clone for ConnectionType

Source§

fn clone(&self) -> ConnectionType

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 ConnectionType

Source§

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

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

impl Default for ConnectionType

Source§

fn default() -> ConnectionType

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

impl<'de> Deserialize<'de> for ConnectionType

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for ConnectionType

Source§

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

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

impl PartialEq for ConnectionType

Source§

fn eq(&self, other: &ConnectionType) -> 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 Serialize for ConnectionType

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for ConnectionType

Source§

impl StructuralPartialEq for ConnectionType

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Clone for ConnectionType

Source§

fn clone(&self) -> ConnectionType

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 ConnectionType

Source§

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

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

impl Default for ConnectionType

Source§

fn default() -> ConnectionType

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

impl<'de> Deserialize<'de> for ConnectionType

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for ConnectionType

Source§

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

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

impl PartialEq for ConnectionType

Source§

fn eq(&self, other: &ConnectionType) -> 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 Serialize for ConnectionType

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for ConnectionType

Source§

impl StructuralPartialEq for ConnectionType

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( @@ -24,8 +24,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -37,7 +37,7 @@ and should not be overridden without very good reason.

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 +

§

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> 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 @@ -45,6 +45,6 @@ and should not be overridden without very good reason.

§

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
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where +[WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh/endpoint/enum.ControlMsg.html b/pr/3269/docs/iroh/endpoint/enum.ControlMsg.html index 47c5b5ce1a..b90e3cca7f 100644 --- a/pr/3269/docs/iroh/endpoint/enum.ControlMsg.html +++ b/pr/3269/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,
@@ -6,10 +6,10 @@
 

Variants§

§

Ping

We received a Ping from the node.

§

Pong

We received a Pong from the node.

§

CallMeMaybe

We received a CallMeMaybe.

-

Trait Implementations§

Source§

impl Clone for ControlMsg

Source§

fn clone(&self) -> ControlMsg

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 ControlMsg

Source§

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

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

impl<'de> Deserialize<'de> for ControlMsg

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for ControlMsg

Source§

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

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

impl PartialEq for ControlMsg

Source§

fn eq(&self, other: &ControlMsg) -> 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 Serialize for ControlMsg

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Copy for ControlMsg

Source§

impl Eq for ControlMsg

Source§

impl StructuralPartialEq for ControlMsg

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Clone for ControlMsg

Source§

fn clone(&self) -> ControlMsg

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 ControlMsg

Source§

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

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

impl<'de> Deserialize<'de> for ControlMsg

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for ControlMsg

Source§

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

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

impl PartialEq for ControlMsg

Source§

fn eq(&self, other: &ControlMsg) -> 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 Serialize for ControlMsg

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Copy for ControlMsg

Source§

impl Eq for ControlMsg

Source§

impl StructuralPartialEq for ControlMsg

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( @@ -20,8 +20,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -33,7 +33,7 @@ and should not be overridden without very good reason.

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 +

§

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> 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 @@ -41,6 +41,6 @@ and should not be overridden without very good reason.

§

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
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where +[WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh/endpoint/enum.DirectAddrType.html b/pr/3269/docs/iroh/endpoint/enum.DirectAddrType.html index 3ac8ac2fc6..9c4d3808c9 100644 --- a/pr/3269/docs/iroh/endpoint/enum.DirectAddrType.html +++ b/pr/3269/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( @@ -42,8 +42,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + K: Borrow<Q> + ?Sized,

§

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

Compare self to key and return their ordering.
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -55,7 +55,7 @@ the >= operator. 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 +

§

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> 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 @@ -64,5 +64,5 @@ the >= operator. 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

Source§

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

§

impl<T> MaybeSendSync for T

Source§

impl<T> RuleType for T
where T: Copy + Debug + Eq + Hash + Ord,

\ No newline at end of file diff --git a/pr/3269/docs/iroh/endpoint/enum.PathSelection.html b/pr/3269/docs/iroh/endpoint/enum.PathSelection.html index 1c2dc5b752..571dcf4064 100644 --- a/pr/3269/docs/iroh/endpoint/enum.PathSelection.html +++ b/pr/3269/docs/iroh/endpoint/enum.PathSelection.html @@ -1,12 +1,12 @@ -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 the endpoint.

Variants§

§

All

Uses all available paths

§

RelayOnly

Forces all traffic to go exclusively through relays

-

Trait Implementations§

Source§

impl Clone for PathSelection

Source§

fn clone(&self) -> PathSelection

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 PathSelection

Source§

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

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

impl Default for PathSelection

Source§

fn default() -> PathSelection

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

impl PartialEq for PathSelection

Source§

fn eq(&self, other: &PathSelection) -> 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 Copy for PathSelection

Source§

impl Eq for PathSelection

Source§

impl StructuralPartialEq for PathSelection

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Clone for PathSelection

Source§

fn clone(&self) -> PathSelection

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 PathSelection

Source§

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

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

impl Default for PathSelection

Source§

fn default() -> PathSelection

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

impl PartialEq for PathSelection

Source§

fn eq(&self, other: &PathSelection) -> 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 Copy for PathSelection

Source§

impl Eq for PathSelection

Source§

impl StructuralPartialEq for PathSelection

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( @@ -17,8 +17,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -30,7 +30,7 @@ and should not be overridden without very good reason.

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 +

§

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 diff --git a/pr/3269/docs/iroh/endpoint/enum.ReadError.html b/pr/3269/docs/iroh/endpoint/enum.ReadError.html index a5d86df113..953ea01b99 100644 --- a/pr/3269/docs/iroh/endpoint/enum.ReadError.html +++ b/pr/3269/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,
@@ -30,8 +30,8 @@ receivers.

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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -43,7 +43,7 @@ receivers.

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 +

§

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> 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 diff --git a/pr/3269/docs/iroh/endpoint/enum.ReadExactError.html b/pr/3269/docs/iroh/endpoint/enum.ReadExactError.html index a827b16d2f..5928a8c5c2 100644 --- a/pr/3269/docs/iroh/endpoint/enum.ReadExactError.html +++ b/pr/3269/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.

@@ -19,8 +19,8 @@ receivers.

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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -32,7 +32,7 @@ receivers.

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 +

§

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> 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 diff --git a/pr/3269/docs/iroh/endpoint/enum.ReadToEndError.html b/pr/3269/docs/iroh/endpoint/enum.ReadToEndError.html index e81900b988..8f6354581e 100644 --- a/pr/3269/docs/iroh/endpoint/enum.ReadToEndError.html +++ b/pr/3269/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

@@ -19,8 +19,8 @@ receivers.

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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -32,7 +32,7 @@ receivers.

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 +

§

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> 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 diff --git a/pr/3269/docs/iroh/endpoint/enum.RelayMode.html b/pr/3269/docs/iroh/endpoint/enum.RelayMode.html index e712194f70..dfef873640 100644 --- a/pr/3269/docs/iroh/endpoint/enum.RelayMode.html +++ b/pr/3269/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( @@ -22,8 +22,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -35,7 +35,7 @@ and should not be overridden without very good reason.

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 +

§

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 diff --git a/pr/3269/docs/iroh/endpoint/enum.ResetError.html b/pr/3269/docs/iroh/endpoint/enum.ResetError.html index 29fdae5a21..ce7ab1fd63 100644 --- a/pr/3269/docs/iroh/endpoint/enum.ResetError.html +++ b/pr/3269/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

@@ -21,8 +21,8 @@ receivers.

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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -34,7 +34,7 @@ receivers.

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 +

§

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> 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 diff --git a/pr/3269/docs/iroh/endpoint/enum.SendDatagramError.html b/pr/3269/docs/iroh/endpoint/enum.SendDatagramError.html index 8471d202b6..e831fc1101 100644 --- a/pr/3269/docs/iroh/endpoint/enum.SendDatagramError.html +++ b/pr/3269/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,
@@ -25,8 +25,8 @@ receivers.

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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -38,7 +38,7 @@ receivers.

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 +

§

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> 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 diff --git a/pr/3269/docs/iroh/endpoint/enum.Source.html b/pr/3269/docs/iroh/endpoint/enum.Source.html index 0facaec339..71002d30d3 100644 --- a/pr/3269/docs/iroh/endpoint/enum.Source.html +++ b/pr/3269/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,
@@ -30,12 +30,12 @@ discovered, such as a configured discovery service, the network itself
 

Fields

§name: String

The name of the discovery service that discovered the address.

§

NamedApp

Application layer with a specific name added the node directly.

Fields

§name: String

The name of the application that added the node

-

Trait Implementations§

Source§

impl Clone for Source

Source§

fn clone(&self) -> Source

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 Source

Source§

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

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

impl<'de> Deserialize<'de> for Source

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for Source

Source§

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

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

impl Hash for Source

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 Source

Source§

fn clone(&self) -> Source

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 Source

Source§

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

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

impl<'de> Deserialize<'de> for Source

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for Source

Source§

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

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

impl Hash for Source

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 PartialEq for Source

Source§

fn eq(&self, other: &Source) -> 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 Serialize for Source

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for Source

Source§

impl StructuralPartialEq for Source

Auto Trait Implementations§

§

impl Freeze for Source

§

impl RefUnwindSafe for Source

§

impl Send for Source

§

impl Sync for Source

§

impl Unpin for Source

§

impl UnwindSafe for Source

Blanket Implementations§

Source§

impl<T> Any for T
where +and should not be overridden without very good reason.

Source§

impl Serialize for Source

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for Source

Source§

impl StructuralPartialEq for Source

Auto Trait Implementations§

§

impl Freeze for Source

§

impl RefUnwindSafe for Source

§

impl Send for Source

§

impl Sync for Source

§

impl Unpin for Source

§

impl UnwindSafe for Source

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( @@ -46,8 +46,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -59,7 +59,7 @@ and should not be overridden without very good reason.

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 +

§

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> 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 @@ -67,6 +67,6 @@ and should not be overridden without very good reason.

§

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
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where +[WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh/endpoint/enum.StoppedError.html b/pr/3269/docs/iroh/endpoint/enum.StoppedError.html index d890586ed9..58ed76dccf 100644 --- a/pr/3269/docs/iroh/endpoint/enum.StoppedError.html +++ b/pr/3269/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

@@ -21,8 +21,8 @@ receivers.
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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -34,7 +34,7 @@ receivers.

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 +

§

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> 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 diff --git a/pr/3269/docs/iroh/endpoint/enum.WriteError.html b/pr/3269/docs/iroh/endpoint/enum.WriteError.html index 5b365cb824..fffc5013a4 100644 --- a/pr/3269/docs/iroh/endpoint/enum.WriteError.html +++ b/pr/3269/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,
@@ -26,8 +26,8 @@ receivers.

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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -39,7 +39,7 @@ receivers.

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 +

§

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> 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 diff --git a/pr/3269/docs/iroh/endpoint/fn.default_relay_mode.html b/pr/3269/docs/iroh/endpoint/fn.default_relay_mode.html index 32ae878e2c..5141d41d94 100644 --- a/pr/3269/docs/iroh/endpoint/fn.default_relay_mode.html +++ b/pr/3269/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/3269/docs/iroh/endpoint/fn.force_staging_infra.html b/pr/3269/docs/iroh/endpoint/fn.force_staging_infra.html index d99c6b6985..1f3802b7d6 100644 --- a/pr/3269/docs/iroh/endpoint/fn.force_staging_infra.html +++ b/pr/3269/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/3269/docs/iroh/endpoint/index.html b/pr/3269/docs/iroh/endpoint/index.html index f32023d579..61165d870e 100644 --- a/pr/3269/docs/iroh/endpoint/index.html +++ b/pr/3269/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/3269/docs/iroh/endpoint/struct.Accept.html b/pr/3269/docs/iroh/endpoint/struct.Accept.html index 5806bbac57..3652a621ac 100644 --- a/pr/3269/docs/iroh/endpoint/struct.Accept.html +++ b/pr/3269/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 @@ -72,7 +72,7 @@ the future is ready after the first call to Future::poll. Read m

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

Source§

impl<F> IntoFuture for F
where - F: Future,

Source§

type Output = <F as Future>::Output

The output that the future will produce on completion.
Source§

type IntoFuture = F

Which kind of future are we turning this into?
Source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
§

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 + F: Future,

Source§

type Output = <F as Future>::Output

The output that the future will produce on completion.
Source§

type IntoFuture = F

Which kind of future are we turning this into?
Source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
§

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 diff --git a/pr/3269/docs/iroh/endpoint/struct.AcceptBi.html b/pr/3269/docs/iroh/endpoint/struct.AcceptBi.html index 9f95e7722f..902b84f776 100644 --- a/pr/3269/docs/iroh/endpoint/struct.AcceptBi.html +++ b/pr/3269/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<'_>, @@ -75,7 +75,7 @@ the future is ready after the first call to Future::poll. Read m

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

Source§

impl<F> IntoFuture for F
where - F: Future,

Source§

type Output = <F as Future>::Output

The output that the future will produce on completion.
Source§

type IntoFuture = F

Which kind of future are we turning this into?
Source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
§

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 + F: Future,

Source§

type Output = <F as Future>::Output

The output that the future will produce on completion.
Source§

type IntoFuture = F

Which kind of future are we turning this into?
Source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
§

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.
§

impl<F, T, E> TryFuture for F
where F: Future<Output = Result<T, E>> + ?Sized,

§

type Ok = T

The type of successful values yielded by this future
§

type Error = E

The type of failures yielded by this future
§

fn try_poll( self: Pin<&mut F>, diff --git a/pr/3269/docs/iroh/endpoint/struct.AcceptUni.html b/pr/3269/docs/iroh/endpoint/struct.AcceptUni.html index d4d1d8d8ff..7d9427ac03 100644 --- a/pr/3269/docs/iroh/endpoint/struct.AcceptUni.html +++ b/pr/3269/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<'_>, @@ -75,7 +75,7 @@ the future is ready after the first call to Future::poll. Read m

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

Source§

impl<F> IntoFuture for F
where - F: Future,

Source§

type Output = <F as Future>::Output

The output that the future will produce on completion.
Source§

type IntoFuture = F

Which kind of future are we turning this into?
Source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
§

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 + F: Future,

Source§

type Output = <F as Future>::Output

The output that the future will produce on completion.
Source§

type IntoFuture = F

Which kind of future are we turning this into?
Source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
§

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.
§

impl<F, T, E> TryFuture for F
where F: Future<Output = Result<T, E>> + ?Sized,

§

type Ok = T

The type of successful values yielded by this future
§

type Error = E

The type of failures yielded by this future
§

fn try_poll( self: Pin<&mut F>, diff --git a/pr/3269/docs/iroh/endpoint/struct.AckFrequencyConfig.html b/pr/3269/docs/iroh/endpoint/struct.AckFrequencyConfig.html index d51275a1eb..4c23df7c57 100644 --- a/pr/3269/docs/iroh/endpoint/struct.AckFrequencyConfig.html +++ b/pr/3269/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).

@@ -48,8 +48,8 @@ to 2.

) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -57,7 +57,7 @@ to 2.

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 +

§

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 diff --git a/pr/3269/docs/iroh/endpoint/struct.ApplicationClose.html b/pr/3269/docs/iroh/endpoint/struct.ApplicationClose.html index fc2ac9d6ee..5c07858dee 100644 --- a/pr/3269/docs/iroh/endpoint/struct.ApplicationClose.html +++ b/pr/3269/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

@@ -16,8 +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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -29,7 +29,7 @@ and should not be overridden without very good reason.

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 +

§

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> 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 diff --git a/pr/3269/docs/iroh/endpoint/struct.Builder.html b/pr/3269/docs/iroh/endpoint/struct.Builder.html index e6a130385c..7045ecbe05 100644 --- a/pr/3269/docs/iroh/endpoint/struct.Builder.html +++ b/pr/3269/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 at least one 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,20 +26,20 @@ 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 relay_conn_protocol(self, protocol: RelayProtocol) -> Self

Sets the protocol to use for relay connections.

+
Source

pub fn relay_conn_protocol(self, protocol: RelayProtocol) -> Self

Sets the protocol to use for relay connections.

Options are either RelayProtocol::Websocket or RelayProtocol::Relay.

Websocket is considered unstable between iroh versions at the moment. The protocol can change in compatibility-breaking ways before iroh 1.0.

Default is set to Relay at the moment, until we’ve stabilized the websocket protocol.

-
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 @@ -52,7 +52,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 @@ -61,29 +61,29 @@ 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_x509(self) -> Self

Use libp2p based self signed certificates for TLS.

For details see the libp2p spec at https://github.com/libp2p/specs/blob/master/tls/tls.md

This is the only mechanism available in iroh@0.33.0 and earlier.

-
Source

pub fn tls_raw_public_keys(self) -> Self

Use TLS Raw Public Keys

+
Source

pub fn tls_raw_public_keys(self) -> Self

Use TLS Raw Public Keys

This is the default, but is not compatible with older versions of iroh.

-
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 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::mdns::MdnsDiscovery with default settings. Note that MdnsDiscovery has various more advanced configuration options. If you need any of those, you should manually create a MdnsDiscovery and add it with Builder::add_discovery.

-
Source

pub fn user_data_for_discovery(self, user_data: UserData) -> Self

Sets the initial user-defined data to be published in discovery services for this node.

+
Source

pub fn user_data_for_discovery(self, user_data: UserData) -> Self

Sets the initial user-defined data to be published in discovery services for this node.

When using discovery services, this string of UserData will be published together with the node’s addresses and relay URL. When other nodes discover this node, they retrieve the UserData in addition to the addressing info.

Iroh itself does not interpret the user-defined data in any way, it is purely left for applications to parse and use.

-
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 @@ -91,31 +91,31 @@ 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

Available on non-wasm_browser only.

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

+
Source

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

Available on non-wasm_browser only.

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, 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:

+
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 +

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 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( @@ -132,7 +132,7 @@ and do not attempt to do any hole punching.

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 +

§

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 diff --git a/pr/3269/docs/iroh/endpoint/struct.Chunk.html b/pr/3269/docs/iroh/endpoint/struct.Chunk.html index dc7592013e..28fb1b73bd 100644 --- a/pr/3269/docs/iroh/endpoint/struct.Chunk.html +++ b/pr/3269/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

@@ -26,7 +26,7 @@ and should not be overridden without very good reason.
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 +

§

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 diff --git a/pr/3269/docs/iroh/endpoint/struct.ClosedStream.html b/pr/3269/docs/iroh/endpoint/struct.ClosedStream.html index 7aed7737de..59046decd6 100644 --- a/pr/3269/docs/iroh/endpoint/struct.ClosedStream.html +++ b/pr/3269/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<T> AsErrorSource for T
where @@ -14,8 +14,8 @@ receivers.

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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -27,7 +27,7 @@ receivers.

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 +

§

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> 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 diff --git a/pr/3269/docs/iroh/endpoint/struct.ConnectOptions.html b/pr/3269/docs/iroh/endpoint/struct.ConnectOptions.html index 0afd3e30e8..14c6559a34 100644 --- a/pr/3269/docs/iroh/endpoint/struct.ConnectOptions.html +++ b/pr/3269/docs/iroh/endpoint/struct.ConnectOptions.html @@ -1,12 +1,12 @@ -ConnectOptions in iroh::endpoint - Rust
iroh::endpoint

Struct ConnectOptions

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

Options for the Endpoint::connect_with_opts function.

-

Implementations§

Source§

impl ConnectOptions

Source

pub fn new() -> Self

Initializes new connection options.

+ConnectOptions in iroh::endpoint - Rust
iroh::endpoint

Struct ConnectOptions

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

Options for the Endpoint::connect_with_opts function.

+

Implementations§

Source§

impl ConnectOptions

Source

pub fn new() -> Self

Initializes new connection options.

By default, the connection will use the same options as Endpoint::connect, e.g. a default TransportConfig.

-
Source

pub fn with_transport_config( +

Source

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

Sets the QUIC transport config options for this connection.

-
Source

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

Sets ALPN identifiers that should be signaled as supported on connection, in +

Source

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

Sets ALPN identifiers that should be signaled as supported on connection, in addition to the main ALPN identifier used in Endpoint::connect_with_opts.

This allows connecting to servers that may only support older versions of your protocol. In this case, you would add the older ALPN identifiers with this @@ -20,7 +20,7 @@ list or the main ALPN identifiers on the accept side, see the endpoint builder’s Builder::alpns function.

-

Trait Implementations§

Source§

impl Clone for ConnectOptions

Source§

fn clone(&self) -> ConnectOptions

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 ConnectOptions

Source§

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

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

impl Default for ConnectOptions

Source§

fn default() -> ConnectOptions

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

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Clone for ConnectOptions

Source§

fn clone(&self) -> ConnectOptions

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 ConnectOptions

Source§

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

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

impl Default for ConnectOptions

Source§

fn default() -> ConnectOptions

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 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( @@ -31,8 +31,8 @@ builder’s
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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -40,7 +40,7 @@ builder’s 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 +

§

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 diff --git a/pr/3269/docs/iroh/endpoint/struct.Connecting.html b/pr/3269/docs/iroh/endpoint/struct.Connecting.html index 9709c147ab..78661c2299 100644 --- a/pr/3269/docs/iroh/endpoint/struct.Connecting.html +++ b/pr/3269/docs/iroh/endpoint/struct.Connecting.html @@ -1,5 +1,5 @@ -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>

Converts this Connecting into a 0-RTT or 0.5-RTT connection at the cost of weakened +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>

Converts this Connecting into a 0-RTT or 0.5-RTT connection at the cost of weakened security.

Returns Ok immediately if the local endpoint is able to attempt sending 0/0.5-RTT data. If so, the returned Connection can be used to send application data without waiting for @@ -33,10 +33,10 @@ before TLS client authentication has occurred, and should therefore not be used data for which client authentication is being used.

You can use RecvStream::is_0rtt to check whether a stream has been opened in 0-RTT and thus whether parts of the stream are operating under this reduced security level.

-
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, __derive_more_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 +

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, __derive_more_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 @@ -108,7 +108,7 @@ the future is ready after the first call to Future::poll. Read m

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

Source§

impl<F> IntoFuture for F
where - F: Future,

Source§

type Output = <F as Future>::Output

The output that the future will produce on completion.
Source§

type IntoFuture = F

Which kind of future are we turning this into?
Source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
§

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 + F: Future,

Source§

type Output = <F as Future>::Output

The output that the future will produce on completion.
Source§

type IntoFuture = F

Which kind of future are we turning this into?
Source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
§

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.
§

impl<F, T, E> TryFuture for F
where F: Future<Output = Result<T, E>> + ?Sized,

§

type Ok = T

The type of successful values yielded by this future
§

type Error = E

The type of failures yielded by this future
§

fn try_poll( self: Pin<&mut F>, diff --git a/pr/3269/docs/iroh/endpoint/struct.Connection.html b/pr/3269/docs/iroh/endpoint/struct.Connection.html index 09f615bc52..331d26246f 100644 --- a/pr/3269/docs/iroh/endpoint/struct.Connection.html +++ b/pr/3269/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.

@@ -51,59 +51,59 @@ endpoint. Once the local side sends a CONNECTION_CLOSE frame in response to call 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.

+
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], context: &[u8], -) -> Result<(), ExportKeyingMaterialError>

Derives keying material from this connection’s TLS session secrets.

+) -> Result<(), ExportKeyingMaterialError>

Derives keying material from this connection’s TLS session secrets.

When both peers call this method with the same label and context 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( @@ -114,8 +114,8 @@ open. Large counts increase both minimum and worst-case memory cons ) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -123,7 +123,7 @@ open. Large counts increase both minimum and worst-case memory cons 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 +

§

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 diff --git a/pr/3269/docs/iroh/endpoint/struct.ConnectionClose.html b/pr/3269/docs/iroh/endpoint/struct.ConnectionClose.html index 9d834b98c5..8d90110ac0 100644 --- a/pr/3269/docs/iroh/endpoint/struct.ConnectionClose.html +++ b/pr/3269/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,
@@ -18,8 +18,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -31,7 +31,7 @@ and should not be overridden without very good reason.

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 +

§

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> 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 diff --git a/pr/3269/docs/iroh/endpoint/struct.ConnectionStats.html b/pr/3269/docs/iroh/endpoint/struct.ConnectionStats.html index c15a8b6ca8..4530121d81 100644 --- a/pr/3269/docs/iroh/endpoint/struct.ConnectionStats.html +++ b/pr/3269/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, @@ -21,8 +21,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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -30,7 +30,7 @@ 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 +

§

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 diff --git a/pr/3269/docs/iroh/endpoint/struct.CryptoError.html b/pr/3269/docs/iroh/endpoint/struct.CryptoError.html index ad4d3d81db..6f2697542e 100644 --- a/pr/3269/docs/iroh/endpoint/struct.CryptoError.html +++ b/pr/3269/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 @@ -16,7 +16,7 @@ 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 +

§

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 diff --git a/pr/3269/docs/iroh/endpoint/struct.DirectAddr.html b/pr/3269/docs/iroh/endpoint/struct.DirectAddr.html index a07d7fec4d..a2c4db49fa 100644 --- a/pr/3269/docs/iroh/endpoint/struct.DirectAddr.html +++ b/pr/3269/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( @@ -29,8 +29,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + K: Borrow<Q> + ?Sized,

§

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

Compare self to key and return their ordering.
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -42,7 +42,7 @@ the >= operator. 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 +

§

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 diff --git a/pr/3269/docs/iroh/endpoint/struct.DirectAddrInfo.html b/pr/3269/docs/iroh/endpoint/struct.DirectAddrInfo.html index 91bdb60d11..3c1a6b07ac 100644 --- a/pr/3269/docs/iroh/endpoint/struct.DirectAddrInfo.html +++ b/pr/3269/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)>,
@@ -36,10 +36,10 @@ node discovery the path may never have been known to exist.

recorded this address.

The Duration will always indicate the most recent time the source recorded this address.

-

Trait Implementations§

Source§

impl Clone for DirectAddrInfo

Source§

fn clone(&self) -> DirectAddrInfo

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 DirectAddrInfo

Source§

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

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

impl<'de> Deserialize<'de> for DirectAddrInfo

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for DirectAddrInfo

Source§

fn eq(&self, other: &DirectAddrInfo) -> 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 Serialize for DirectAddrInfo

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for DirectAddrInfo

Source§

impl StructuralPartialEq for DirectAddrInfo

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Clone for DirectAddrInfo

Source§

fn clone(&self) -> DirectAddrInfo

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 DirectAddrInfo

Source§

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

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

impl<'de> Deserialize<'de> for DirectAddrInfo

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for DirectAddrInfo

Source§

fn eq(&self, other: &DirectAddrInfo) -> 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 Serialize for DirectAddrInfo

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for DirectAddrInfo

Source§

impl StructuralPartialEq for DirectAddrInfo

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( @@ -50,8 +50,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -63,13 +63,13 @@ and should not be overridden without very good reason.

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 +

§

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
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where +[WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh/endpoint/struct.Endpoint.html b/pr/3269/docs/iroh/endpoint/struct.Endpoint.html index 260adcf42d..fc643fc425 100644 --- a/pr/3269/docs/iroh/endpoint/struct.Endpoint.html +++ b/pr/3269/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,15 +16,15 @@ 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>>)

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], -) -> Result<Connection>

Connects to a remote Endpoint.

+) -> Result<Connection>

Connects to a remote Endpoint.

A value that can be converted into a NodeAddr is required. This can be either a NodeAddr, a NodeId or a iroh_base::ticket::NodeTicket.

The NodeAddr must contain the NodeId to dial and may also contain a RelayUrl @@ -41,12 +41,12 @@ 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_opts( +

Source

pub async fn connect_with_opts( &self, node_addr: impl Into<NodeAddr>, alpn: &[u8], options: ConnectOptions, -) -> Result<Connecting>

Starts a connection attempt with a remote Endpoint.

+) -> Result<Connecting>

Starts a connection attempt with a remote Endpoint.

Like Endpoint::connect (see also its docs for general details), but allows for a more advanced connection setup with more customization in two aspects:

    @@ -61,13 +61,13 @@ security concerns. establishing and maintaining direct connections. Carefully test settings you use and consider this currently as still rather experimental.
-
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 @@ -80,11 +80,11 @@ 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, -) -> Result<()>

Informs this Endpoint about addresses of the iroh node, noting the source.

+) -> Result<()>

Informs this Endpoint about addresses of the iroh node, noting the source.

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 connecting to this node. Any @@ -96,17 +96,17 @@ 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.

In browsers, because direct addresses are unavailable, this will only wait for the home relay to be available before returning.

-
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 @@ -122,7 +122,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 @@ -145,10 +145,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>)

Available on non-wasm_browser only.

Returns the local socket addresses on which the underlying sockets are bound.

+
Source

pub fn bound_sockets(&self) -> (SocketAddr, Option<SocketAddr>)

Available on non-wasm_browser only.

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 @@ -157,16 +157,16 @@ 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 discovery_stream( +

Source

pub fn discovery_stream( &self, -) -> impl Stream<Item = Result<DiscoveryItem, Lagged>>

Returns a stream of all remote nodes discovered through the endpoint’s discovery services.

+) -> impl Stream<Item = Result<DiscoveryItem, Lagged>>

Returns a stream of all remote nodes discovered through the endpoint’s discovery services.

Whenever a node is discovered via the endpoint’s discovery service, the corresponding DiscoveryItem is yielded from this stream. This includes nodes discovered actively through Discovery::resolve, which is invoked automatically when calling @@ -183,7 +183,7 @@ at the time of adding it to the static provider.

Lagged may be yielded, indicating that items were missed.

See also Endpoint::remote_info_iter, which returns an iterator over all remotes the endpoint knows about at a specific point in time.

-
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 @@ -202,11 +202,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

Available on non-wasm_browser only.

Returns the DNS resolver used in this Endpoint.

+
Source

pub fn dns_resolver(&self) -> &DnsResolver

Available on non-wasm_browser only.

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 fn metrics(&self) -> &EndpointMetrics

Available on crate feature metrics only.

Returns metrics collected for this endpoint.

+
Source

pub fn metrics(&self) -> &EndpointMetrics

Available on crate feature metrics only.

Returns metrics collected for this endpoint.

The endpoint internally collects various metrics about its operation. The returned EndpointMetrics struct contains all of these metrics.

You can access individual metrics directly by using the public fields:

@@ -275,7 +275,7 @@ registry.write().unwrap().register_all(endpoint.metrics()); assert!(res.contains(r#"TYPE magicsock_recv_datagrams counter"#)); assert!(res.contains(r#"magicsock_recv_datagrams_total 0"#));
-
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 @@ -283,12 +283,12 @@ 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 fn set_user_data_for_discovery(&self, user_data: Option<UserData>)

Sets the initial user-defined data to be published in discovery services for this node.

+
Source

pub fn set_user_data_for_discovery(&self, user_data: Option<UserData>)

Sets the initial user-defined data to be published in discovery services for this node.

If the user-defined data passed to this function is different to the previous one, the endpoint will republish its node info to the configured discovery services.

See also Builder::user_data_for_discovery for setting an initial value when building the endpoint.

-
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.

@@ -314,8 +314,8 @@ while TCP sockets usually get closed and drained by the operating system in the kernel during the “Time-Wait” period of the TCP socket.

Be aware however that the underlying UDP sockets are only closed once all clones of the the respective Endpoint 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( @@ -326,8 +326,8 @@ the the respective
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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -335,7 +335,7 @@ the the respective 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 +

§

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 diff --git a/pr/3269/docs/iroh/endpoint/struct.ExportKeyingMaterialError.html b/pr/3269/docs/iroh/endpoint/struct.ExportKeyingMaterialError.html index adbd4db4d6..a3285afb4b 100644 --- a/pr/3269/docs/iroh/endpoint/struct.ExportKeyingMaterialError.html +++ b/pr/3269/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 @@ -22,7 +22,7 @@ and should not be overridden without very good reason.

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 +

§

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 diff --git a/pr/3269/docs/iroh/endpoint/struct.FrameStats.html b/pr/3269/docs/iroh/endpoint/struct.FrameStats.html index 250c0458b3..eee73ca8db 100644 --- a/pr/3269/docs/iroh/endpoint/struct.FrameStats.html +++ b/pr/3269/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, @@ -36,8 +36,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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -45,7 +45,7 @@ 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 +

§

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 diff --git a/pr/3269/docs/iroh/endpoint/struct.Incoming.html b/pr/3269/docs/iroh/endpoint/struct.Incoming.html index 32c354cfcc..dc9621fa11 100644 --- a/pr/3269/docs/iroh/endpoint/struct.Incoming.html +++ b/pr/3269/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.

+) -> 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( @@ -40,7 +40,7 @@ traffic sent to self.remote_address().

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 +

§

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 diff --git a/pr/3269/docs/iroh/endpoint/struct.IncomingFuture.html b/pr/3269/docs/iroh/endpoint/struct.IncomingFuture.html index 0ee6fedb77..385cd6d163 100644 --- a/pr/3269/docs/iroh/endpoint/struct.IncomingFuture.html +++ b/pr/3269/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 @@ -72,7 +72,7 @@ the future is ready after the first call to Future::poll. Read m

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

Source§

impl<F> IntoFuture for F
where - F: Future,

Source§

type Output = <F as Future>::Output

The output that the future will produce on completion.
Source§

type IntoFuture = F

Which kind of future are we turning this into?
Source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
§

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 + F: Future,

Source§

type Output = <F as Future>::Output

The output that the future will produce on completion.
Source§

type IntoFuture = F

Which kind of future are we turning this into?
Source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
§

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.
§

impl<F, T, E> TryFuture for F
where F: Future<Output = Result<T, E>> + ?Sized,

§

type Ok = T

The type of successful values yielded by this future
§

type Error = E

The type of failures yielded by this future
§

fn try_poll( self: Pin<&mut F>, diff --git a/pr/3269/docs/iroh/endpoint/struct.MtuDiscoveryConfig.html b/pr/3269/docs/iroh/endpoint/struct.MtuDiscoveryConfig.html index 37f7ca7310..82be41f2db 100644 --- a/pr/3269/docs/iroh/endpoint/struct.MtuDiscoveryConfig.html +++ b/pr/3269/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, @@ -71,8 +71,8 @@ Defaults to 20.

) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -80,7 +80,7 @@ Defaults to 20.

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 +

§

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 diff --git a/pr/3269/docs/iroh/endpoint/struct.OpenBi.html b/pr/3269/docs/iroh/endpoint/struct.OpenBi.html index d536c6c58a..1045007fa6 100644 --- a/pr/3269/docs/iroh/endpoint/struct.OpenBi.html +++ b/pr/3269/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<'_>, @@ -75,7 +75,7 @@ the future is ready after the first call to Future::poll. Read m

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

Source§

impl<F> IntoFuture for F
where - F: Future,

Source§

type Output = <F as Future>::Output

The output that the future will produce on completion.
Source§

type IntoFuture = F

Which kind of future are we turning this into?
Source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
§

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 + F: Future,

Source§

type Output = <F as Future>::Output

The output that the future will produce on completion.
Source§

type IntoFuture = F

Which kind of future are we turning this into?
Source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
§

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.
§

impl<F, T, E> TryFuture for F
where F: Future<Output = Result<T, E>> + ?Sized,

§

type Ok = T

The type of successful values yielded by this future
§

type Error = E

The type of failures yielded by this future
§

fn try_poll( self: Pin<&mut F>, diff --git a/pr/3269/docs/iroh/endpoint/struct.OpenUni.html b/pr/3269/docs/iroh/endpoint/struct.OpenUni.html index 9b19f41333..af3d501f4a 100644 --- a/pr/3269/docs/iroh/endpoint/struct.OpenUni.html +++ b/pr/3269/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<'_>, @@ -75,7 +75,7 @@ the future is ready after the first call to Future::poll. Read m

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

Source§

impl<F> IntoFuture for F
where - F: Future,

Source§

type Output = <F as Future>::Output

The output that the future will produce on completion.
Source§

type IntoFuture = F

Which kind of future are we turning this into?
Source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
§

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 + F: Future,

Source§

type Output = <F as Future>::Output

The output that the future will produce on completion.
Source§

type IntoFuture = F

Which kind of future are we turning this into?
Source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
§

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.
§

impl<F, T, E> TryFuture for F
where F: Future<Output = Result<T, E>> + ?Sized,

§

type Ok = T

The type of successful values yielded by this future
§

type Error = E

The type of failures yielded by this future
§

fn try_poll( self: Pin<&mut F>, diff --git a/pr/3269/docs/iroh/endpoint/struct.PathStats.html b/pr/3269/docs/iroh/endpoint/struct.PathStats.html index 11da025066..9b14942e35 100644 --- a/pr/3269/docs/iroh/endpoint/struct.PathStats.html +++ b/pr/3269/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, @@ -32,8 +32,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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -41,7 +41,7 @@ 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 +

§

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 diff --git a/pr/3269/docs/iroh/endpoint/struct.ReadDatagram.html b/pr/3269/docs/iroh/endpoint/struct.ReadDatagram.html index 55c227f25f..a928860141 100644 --- a/pr/3269/docs/iroh/endpoint/struct.ReadDatagram.html +++ b/pr/3269/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<'_>, @@ -75,7 +75,7 @@ the future is ready after the first call to Future::poll. Read m

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

Source§

impl<F> IntoFuture for F
where - F: Future,

Source§

type Output = <F as Future>::Output

The output that the future will produce on completion.
Source§

type IntoFuture = F

Which kind of future are we turning this into?
Source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
§

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 + F: Future,

Source§

type Output = <F as Future>::Output

The output that the future will produce on completion.
Source§

type IntoFuture = F

Which kind of future are we turning this into?
Source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
§

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.
§

impl<F, T, E> TryFuture for F
where F: Future<Output = Result<T, E>> + ?Sized,

§

type Ok = T

The type of successful values yielded by this future
§

type Error = E

The type of failures yielded by this future
§

fn try_poll( self: Pin<&mut F>, diff --git a/pr/3269/docs/iroh/endpoint/struct.RecvStream.html b/pr/3269/docs/iroh/endpoint/struct.RecvStream.html index ca12fa55c6..ef01348d25 100644 --- a/pr/3269/docs/iroh/endpoint/struct.RecvStream.html +++ b/pr/3269/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
  • @@ -161,7 +161,7 @@ underlying reader. Read more
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 +

§

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 diff --git a/pr/3269/docs/iroh/endpoint/struct.RemoteInfo.html b/pr/3269/docs/iroh/endpoint/struct.RemoteInfo.html index dce02f8c0d..46a4267e63 100644 --- a/pr/3269/docs/iroh/endpoint/struct.RemoteInfo.html +++ b/pr/3269/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>,
@@ -31,10 +31,10 @@ usable.

for each Source variant, if different addresses were discovered from the same Source at different times.

The list is sorted from least to most recent Source.

-

Trait Implementations§

Source§

impl Clone for RemoteInfo

Source§

fn clone(&self) -> RemoteInfo

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 RemoteInfo

Source§

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

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

impl<'de> Deserialize<'de> for RemoteInfo

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<RemoteInfo> for NodeAddr

Source§

fn from(info: RemoteInfo) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for RemoteInfo

Source§

fn eq(&self, other: &RemoteInfo) -> 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 Serialize for RemoteInfo

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for RemoteInfo

Source§

impl StructuralPartialEq for RemoteInfo

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Clone for RemoteInfo

Source§

fn clone(&self) -> RemoteInfo

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 RemoteInfo

Source§

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

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

impl<'de> Deserialize<'de> for RemoteInfo

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<RemoteInfo> for NodeAddr

Source§

fn from(info: RemoteInfo) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for RemoteInfo

Source§

fn eq(&self, other: &RemoteInfo) -> 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 Serialize for RemoteInfo

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for RemoteInfo

Source§

impl StructuralPartialEq for RemoteInfo

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( @@ -45,8 +45,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -58,13 +58,13 @@ and should not be overridden without very good reason.

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 +

§

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
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where +[WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh/endpoint/struct.RetryError.html b/pr/3269/docs/iroh/endpoint/struct.RetryError.html index a143e91bfa..8142b9e0f5 100644 --- a/pr/3269/docs/iroh/endpoint/struct.RetryError.html +++ b/pr/3269/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<T> AsErrorSource for T
where @@ -20,7 +20,7 @@ receivers.

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 +

§

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 diff --git a/pr/3269/docs/iroh/endpoint/struct.SendStream.html b/pr/3269/docs/iroh/endpoint/struct.SendStream.html index 5c4997017c..7b3436c3ab 100644 --- a/pr/3269/docs/iroh/endpoint/struct.SendStream.html +++ b/pr/3269/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.

@@ -165,7 +165,7 @@ cleanly. Read more
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 +

§

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 diff --git a/pr/3269/docs/iroh/endpoint/struct.ServerConfig.html b/pr/3269/docs/iroh/endpoint/struct.ServerConfig.html index f66858559a..0e36cedc7a 100644 --- a/pr/3269/docs/iroh/endpoint/struct.ServerConfig.html +++ b/pr/3269/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,
@@ -97,8 +97,8 @@ exhaustion in most contexts.

) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -106,7 +106,7 @@ exhaustion in most contexts.

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 +

§

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 diff --git a/pr/3269/docs/iroh/endpoint/struct.StreamId.html b/pr/3269/docs/iroh/endpoint/struct.StreamId.html index f524ce6d4d..22b9dcaf72 100644 --- a/pr/3269/docs/iroh/endpoint/struct.StreamId.html +++ b/pr/3269/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

@@ -28,8 +28,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + K: Borrow<Q> + ?Sized,

§

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

Compare self to key and return their ordering.
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -41,7 +41,7 @@ the >= operator. 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 +

§

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> 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 @@ -50,5 +50,5 @@ the >= operator. 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

Source§

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

§

impl<T> MaybeSendSync for T

Source§

impl<T> RuleType for T
where T: Copy + Debug + Eq + Hash + Ord,

\ No newline at end of file diff --git a/pr/3269/docs/iroh/endpoint/struct.TransportConfig.html b/pr/3269/docs/iroh/endpoint/struct.TransportConfig.html index 0ce962ebd0..0559cb0997 100644 --- a/pr/3269/docs/iroh/endpoint/struct.TransportConfig.html +++ b/pr/3269/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.

@@ -178,7 +178,7 @@ reachable address, which in most NATd networks will not be easily available.

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 +

§

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 diff --git a/pr/3269/docs/iroh/endpoint/struct.TransportError.html b/pr/3269/docs/iroh/endpoint/struct.TransportError.html index 19bba00393..b37e8bc523 100644 --- a/pr/3269/docs/iroh/endpoint/struct.TransportError.html +++ b/pr/3269/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,
@@ -21,8 +21,8 @@ receivers.

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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -34,7 +34,7 @@ receivers.

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 +

§

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> 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 diff --git a/pr/3269/docs/iroh/endpoint/struct.TransportErrorCode.html b/pr/3269/docs/iroh/endpoint/struct.TransportErrorCode.html index 69f610ba5c..cd6f5dd32c 100644 --- a/pr/3269/docs/iroh/endpoint/struct.TransportErrorCode.html +++ b/pr/3269/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

@@ -31,8 +31,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -44,7 +44,7 @@ and should not be overridden without very good reason.

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 +

§

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> 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 diff --git a/pr/3269/docs/iroh/endpoint/struct.UdpStats.html b/pr/3269/docs/iroh/endpoint/struct.UdpStats.html index 3c6cfcc156..4587ffbeb1 100644 --- a/pr/3269/docs/iroh/endpoint/struct.UdpStats.html +++ b/pr/3269/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, @@ -18,8 +18,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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -27,7 +27,7 @@ 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 +

§

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 diff --git a/pr/3269/docs/iroh/endpoint/struct.UnsupportedVersion.html b/pr/3269/docs/iroh/endpoint/struct.UnsupportedVersion.html index e30ca5fb91..54fdf8e72d 100644 --- a/pr/3269/docs/iroh/endpoint/struct.UnsupportedVersion.html +++ b/pr/3269/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 @@ -16,7 +16,7 @@ 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 +

§

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 diff --git a/pr/3269/docs/iroh/endpoint/struct.VarInt.html b/pr/3269/docs/iroh/endpoint/struct.VarInt.html index 01c6dac021..db6dad5d79 100644 --- a/pr/3269/docs/iroh/endpoint/struct.VarInt.html +++ b/pr/3269/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

@@ -38,8 +38,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + K: Borrow<Q> + ?Sized,

§

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

Compare self to key and return their ordering.
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -51,7 +51,7 @@ the >= operator. 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 +

§

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> 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 @@ -60,5 +60,5 @@ the >= operator. 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

Source§

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

§

impl<T> MaybeSendSync for T

Source§

impl<T> RuleType for T
where T: Copy + Debug + Eq + Hash + Ord,

\ No newline at end of file diff --git a/pr/3269/docs/iroh/endpoint/struct.WeakConnectionHandle.html b/pr/3269/docs/iroh/endpoint/struct.WeakConnectionHandle.html index dbdc037e4f..2764000ca2 100644 --- a/pr/3269/docs/iroh/endpoint/struct.WeakConnectionHandle.html +++ b/pr/3269/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.

@@ -31,7 +31,7 @@ reset. false otherwise.

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 +

§

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 diff --git a/pr/3269/docs/iroh/endpoint/struct.Written.html b/pr/3269/docs/iroh/endpoint/struct.Written.html index 3102a6fb34..61d9915e66 100644 --- a/pr/3269/docs/iroh/endpoint/struct.Written.html +++ b/pr/3269/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

@@ -17,8 +17,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -30,7 +30,7 @@ and should not be overridden without very good reason.

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 +

§

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 diff --git a/pr/3269/docs/iroh/endpoint/struct.ZeroRttAccepted.html b/pr/3269/docs/iroh/endpoint/struct.ZeroRttAccepted.html index 7a994a93a7..0d958e985f 100644 --- a/pr/3269/docs/iroh/endpoint/struct.ZeroRttAccepted.html +++ b/pr/3269/docs/iroh/endpoint/struct.ZeroRttAccepted.html @@ -1,7 +1,7 @@ -ZeroRttAccepted in iroh::endpoint - Rust
iroh::endpoint

Struct ZeroRttAccepted

Source
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

Source
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§

Source§

impl Debug for ZeroRttAccepted

Source§

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

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

impl Future for ZeroRttAccepted

Source§

type Output = bool

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 +

Trait Implementations§

Source§

impl Debug for ZeroRttAccepted

Source§

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

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

impl Future for ZeroRttAccepted

Source§

type Output = bool

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

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 @@ -73,7 +73,7 @@ the future is ready after the first call to Future::poll. Read m

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

Source§

impl<F> IntoFuture for F
where - F: Future,

Source§

type Output = <F as Future>::Output

The output that the future will produce on completion.
Source§

type IntoFuture = F

Which kind of future are we turning this into?
Source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
§

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 + F: Future,

Source§

type Output = <F as Future>::Output

The output that the future will produce on completion.
Source§

type IntoFuture = F

Which kind of future are we turning this into?
Source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
§

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 diff --git a/pr/3269/docs/iroh/endpoint/trait.AeadKey.html b/pr/3269/docs/iroh/endpoint/trait.AeadKey.html index 06b036cdd9..5e99f9822e 100644 --- a/pr/3269/docs/iroh/endpoint/trait.AeadKey.html +++ b/pr/3269/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/3269/docs/iroh/endpoint/trait.Controller.html b/pr/3269/docs/iroh/endpoint/trait.Controller.html
index 2fccae450e..ca680d9249 100644
--- a/pr/3269/docs/iroh/endpoint/trait.Controller.html
+++ b/pr/3269/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/3269/docs/iroh/endpoint/trait.ControllerFactory.html b/pr/3269/docs/iroh/endpoint/trait.ControllerFactory.html
index 46056c3f9a..bffc6b709e 100644
--- a/pr/3269/docs/iroh/endpoint/trait.ControllerFactory.html
+++ b/pr/3269/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/3269/docs/iroh/endpoint/trait.CryptoServerConfig.html b/pr/3269/docs/iroh/endpoint/trait.CryptoServerConfig.html
index 662f593c07..7887d01a09 100644
--- a/pr/3269/docs/iroh/endpoint/trait.CryptoServerConfig.html
+++ b/pr/3269/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/3269/docs/iroh/endpoint/trait.HandshakeTokenKey.html b/pr/3269/docs/iroh/endpoint/trait.HandshakeTokenKey.html
index e0cf5a6ed4..8a05468927 100644
--- a/pr/3269/docs/iroh/endpoint/trait.HandshakeTokenKey.html
+++ b/pr/3269/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/3269/docs/iroh/enum.KeyParsingError.html b/pr/3269/docs/iroh/enum.KeyParsingError.html index eba549b2ff..4a8acc3f6c 100644 --- a/pr/3269/docs/iroh/enum.KeyParsingError.html +++ b/pr/3269/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,
@@ -26,7 +26,7 @@ receivers.

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 +

§

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 diff --git a/pr/3269/docs/iroh/enum.RelayProtocol.html b/pr/3269/docs/iroh/enum.RelayProtocol.html index f66f2c06f5..0b0a7d461d 100644 --- a/pr/3269/docs/iroh/enum.RelayProtocol.html +++ b/pr/3269/docs/iroh/enum.RelayProtocol.html @@ -1,4 +1,4 @@ -RelayProtocol in iroh - Rust
iroh

Enum RelayProtocol

Source
pub enum RelayProtocol {
+RelayProtocol in iroh - Rust
iroh

Enum RelayProtocol

Source
pub enum RelayProtocol {
     Relay,
     Websocket,
 }
Expand description

The HTTP upgrade protocol used for relaying.

@@ -19,8 +19,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -32,7 +32,7 @@ and should not be overridden without very good reason.

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 +

§

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 diff --git a/pr/3269/docs/iroh/index.html b/pr/3269/docs/iroh/index.html index 9488c45701..5665745cd6 100644 --- a/pr/3269/docs/iroh/index.html +++ b/pr/3269/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/3269/docs/iroh/metrics/index.html b/pr/3269/docs/iroh/metrics/index.html index 5a4ac2c2fc..7b7500e5d4 100644 --- a/pr/3269/docs/iroh/metrics/index.html +++ b/pr/3269/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

Re-exports§

  • pub use crate::net_report::Metrics as NetReportMetrics;

Structs§

\ No newline at end of file diff --git a/pr/3269/docs/iroh/metrics/struct.EndpointMetrics.html b/pr/3269/docs/iroh/metrics/struct.EndpointMetrics.html index 4ee5352716..9a034ddb82 100644 --- a/pr/3269/docs/iroh/metrics/struct.EndpointMetrics.html +++ b/pr/3269/docs/iroh/metrics/struct.EndpointMetrics.html @@ -1,4 +1,4 @@ -EndpointMetrics in iroh::metrics - Rust
iroh::metrics

Struct EndpointMetrics

Source
#[non_exhaustive]
pub struct EndpointMetrics { +EndpointMetrics in iroh::metrics - Rust
iroh::metrics

Struct EndpointMetrics

Source
#[non_exhaustive]
pub struct EndpointMetrics { pub magicsock: Arc<MagicsockMetrics>, pub net_report: Arc<NetReportMetrics>, pub portmapper: Arc<PortmapMetrics>, @@ -7,9 +7,9 @@

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§magicsock: Arc<MagicsockMetrics>

Metrics collected by the endpoint’s socket.

§net_report: Arc<NetReportMetrics>

Metrics collected by net reports.

§portmapper: Arc<PortmapMetrics>
Available on non-wasm_browser only.

Metrics collected by the portmapper service.

-

Trait Implementations§

Source§

impl Clone for EndpointMetrics

Source§

fn clone(&self) -> EndpointMetrics

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 EndpointMetrics

Source§

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

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

impl Default for EndpointMetrics

Source§

fn default() -> EndpointMetrics

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

impl<'de> Deserialize<'de> for EndpointMetrics

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl MetricsGroupSet for EndpointMetrics

Source§

fn name(&self) -> &'static str

Returns the name of this metrics group set.
Source§

fn groups_cloned(&self) -> impl Iterator<Item = Arc<dyn MetricsGroup>>

Returns an iterator over owned clones of the [MetricsGroup] in this struct.
Source§

fn groups(&self) -> impl Iterator<Item = &dyn MetricsGroup>

Returns an iterator over references to the [MetricsGroup] in this struct.
§

fn iter(&self) -> impl Iterator<Item = (&'static str, MetricItem<'_>)>

Returns an iterator over all metrics in this metrics group set. Read more
Source§

impl Serialize for EndpointMetrics

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Clone for EndpointMetrics

Source§

fn clone(&self) -> EndpointMetrics

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 EndpointMetrics

Source§

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

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

impl Default for EndpointMetrics

Source§

fn default() -> EndpointMetrics

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

impl<'de> Deserialize<'de> for EndpointMetrics

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl MetricsGroupSet for EndpointMetrics

Source§

fn name(&self) -> &'static str

Returns the name of this metrics group set.
Source§

fn groups_cloned(&self) -> impl Iterator<Item = Arc<dyn MetricsGroup>>

Returns an iterator over owned clones of the [MetricsGroup] in this struct.
Source§

fn groups(&self) -> impl Iterator<Item = &dyn MetricsGroup>

Returns an iterator over references to the [MetricsGroup] in this struct.
§

fn iter(&self) -> impl Iterator<Item = (&'static str, MetricItem<'_>)>

Returns an iterator over all metrics in this metrics group set. Read more
Source§

impl Serialize for EndpointMetrics

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. 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( @@ -20,8 +20,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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -29,13 +29,13 @@ 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 +

§

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
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where +[WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh/metrics/struct.MagicsockMetrics.html b/pr/3269/docs/iroh/metrics/struct.MagicsockMetrics.html index 4d8db7812d..f520e96be3 100644 --- a/pr/3269/docs/iroh/metrics/struct.MagicsockMetrics.html +++ b/pr/3269/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, @@ -55,9 +55,9 @@
§nodes_contacted_directly: Counter

Number of nodes we have managed to contact directly.

§connection_handshake_success: Counter

Number of connections with a successful handshake.

§connection_became_direct: Counter

Number of connections with a successful handshake that became direct.

-

Trait Implementations§

Source§

impl Debug for Metrics

Source§

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

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<'de> Deserialize<'de> for Metrics

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Iterable for Metrics

Source§

fn field_count(&self) -> usize

Returns the number of fields in the struct.
Source§

fn field_ref(&self, n: usize) -> Option<MetricItem<'_>>

Returns the field name and dyn reference to the field.
Source§

impl MetricsGroup for Metrics

Source§

fn name(&self) -> &'static str

Returns the name of this metrics group.
§

fn iter(&self) -> FieldIter<'_>

Returns an iterator over all metric items with their values and helps.
Source§

impl Serialize for Metrics

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Debug for Metrics

Source§

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

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<'de> Deserialize<'de> for Metrics

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Iterable for Metrics

Source§

fn field_count(&self) -> usize

Returns the number of fields in the struct.
Source§

fn field_ref(&self, n: usize) -> Option<MetricItem<'_>>

Returns the field name and dyn reference to the field.
Source§

impl MetricsGroup for Metrics

Source§

fn name(&self) -> &'static str

Returns the name of this metrics group.
§

fn iter(&self) -> FieldIter<'_>

Returns an iterator over all metric items with their values and helps.
Source§

impl Serialize for Metrics

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. 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( @@ -75,12 +75,12 @@

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

§

impl<T> IntoIterable for T
where - T: Iterable,

§

fn as_iterable(&self) -> &dyn Iterable

Returns self as dyn Iterable
§

fn field_iter(&self) -> FieldIter<'_>

Returns an iterator over the fields of the struct.
§

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 + T: Iterable,

§

fn as_iterable(&self) -> &dyn Iterable

Returns self as dyn Iterable
§

fn field_iter(&self) -> FieldIter<'_>

Returns an iterator over the fields of the struct.
§

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
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where +[WithDispatch] wrapper. Read more

Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh/metrics/struct.PortmapMetrics.html b/pr/3269/docs/iroh/metrics/struct.PortmapMetrics.html index a513f9132e..0a7cd5e75f 100644 --- a/pr/3269/docs/iroh/metrics/struct.PortmapMetrics.html +++ b/pr/3269/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,
@@ -22,14 +22,14 @@
 
§upnp_gateway_updated: Counter

Number of UPnP probes that resulted in a gateway different to the previous one,

§pcp_probes: Counter

Number of PCP probes executed.

§pcp_available: Counter

Number of PCP probes that found it available.

-

Trait Implementations§

§

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<'de> Deserialize<'de> for Metrics

§

fn deserialize<__D>( +

Trait Implementations§

§

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<'de> Deserialize<'de> for Metrics

§

fn deserialize<__D>( __deserializer: __D, -) -> Result<Metrics, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Iterable for Metrics

§

fn field_count(&self) -> usize

Returns the number of fields in the struct.
§

fn field_ref(&self, n: usize) -> Option<MetricItem<'_>>

Returns the field name and dyn reference to the field.
§

impl MetricsGroup for Metrics

§

fn name(&self) -> &'static str

Returns the name of this metrics group.
§

fn iter(&self) -> FieldIter<'_>

Returns an iterator over all metric items with their values and helps.
§

impl Serialize for Metrics

§

fn serialize<__S>( +) -> Result<Metrics, <__D as Deserializer<'de>>::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Iterable for Metrics

§

fn field_count(&self) -> usize

Returns the number of fields in the struct.
§

fn field_ref(&self, n: usize) -> Option<MetricItem<'_>>

Returns the field name and dyn reference to the field.
§

impl MetricsGroup for Metrics

§

fn name(&self) -> &'static str

Returns the name of this metrics group.
§

fn iter(&self) -> FieldIter<'_>

Returns an iterator over all metric items with their values and helps.
§

impl Serialize for Metrics

§

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

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. 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( @@ -47,12 +47,12 @@

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

§

impl<T> IntoIterable for T
where - T: Iterable,

§

fn as_iterable(&self) -> &dyn Iterable

Returns self as dyn Iterable
§

fn field_iter(&self) -> FieldIter<'_>

Returns an iterator over the fields of the struct.
§

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 + T: Iterable,

§

fn as_iterable(&self) -> &dyn Iterable

Returns self as dyn Iterable
§

fn field_iter(&self) -> FieldIter<'_>

Returns an iterator over the fields of the struct.
§

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
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where +[WithDispatch] wrapper. Read more

Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh/metrics/struct.RelayMetrics.html b/pr/3269/docs/iroh/metrics/struct.RelayMetrics.html index 351eb83f22..95597aaa61 100644 --- a/pr/3269/docs/iroh/metrics/struct.RelayMetrics.html +++ b/pr/3269/docs/iroh/metrics/struct.RelayMetrics.html @@ -1,4 +1,4 @@ -RelayMetrics in iroh::metrics - Rust
iroh::metrics

Struct RelayMetrics

Source
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, @@ -60,7 +60,7 @@

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

§

impl<T> IntoIterable for T
where - T: Iterable,

§

fn as_iterable(&self) -> &dyn Iterable

Returns self as dyn Iterable
§

fn field_iter(&self) -> FieldIter<'_>

Returns an iterator over the fields of the struct.
§

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 + T: Iterable,

§

fn as_iterable(&self) -> &dyn Iterable

Returns self as dyn Iterable
§

fn field_iter(&self) -> FieldIter<'_>

Returns an iterator over the fields of the struct.
§

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 diff --git a/pr/3269/docs/iroh/net_report/fn.bind_local_stun_socket.html b/pr/3269/docs/iroh/net_report/fn.bind_local_stun_socket.html index 820922ae0f..a6b38962e6 100644 --- a/pr/3269/docs/iroh/net_report/fn.bind_local_stun_socket.html +++ b/pr/3269/docs/iroh/net_report/fn.bind_local_stun_socket.html @@ -1,4 +1,4 @@ -bind_local_stun_socket in iroh::net_report - Rust
iroh::net_report

Function bind_local_stun_socket

Source
pub fn bind_local_stun_socket(
+bind_local_stun_socket in iroh::net_report - Rust
iroh::net_report

Function bind_local_stun_socket

Source
pub fn bind_local_stun_socket(
     network: IpFamily,
     actor_addr: Addr,
     cancel_token: CancellationToken,
diff --git a/pr/3269/docs/iroh/net_report/index.html b/pr/3269/docs/iroh/net_report/index.html
index bb5bc9dc4b..845f7e8e3f 100644
--- a/pr/3269/docs/iroh/net_report/index.html
+++ b/pr/3269/docs/iroh/net_report/index.html
@@ -1,4 +1,4 @@
-iroh::net_report - Rust
iroh

Module net_report

Source
Expand description

Checks the network conditions from the current host.

+iroh::net_report - Rust
iroh

Module net_report

Source
Expand description

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 etc and reachability to the configured relays.

diff --git a/pr/3269/docs/iroh/net_report/struct.Addr.html b/pr/3269/docs/iroh/net_report/struct.Addr.html index 44268bba40..a4de208d07 100644 --- a/pr/3269/docs/iroh/net_report/struct.Addr.html +++ b/pr/3269/docs/iroh/net_report/struct.Addr.html @@ -1,4 +1,4 @@ -Addr in iroh::net_report - Rust
iroh::net_report

Struct Addr

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

Sender to the main service.

+Addr in iroh::net_report - Rust
iroh::net_report

Struct Addr

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

Sender to the main service.

Unlike Client this is the raw channel to send messages over. Keeping this alive will not keep the actor alive, which makes this handy to pass to internal tasks.

Implementations§

Source§

impl Addr

Source

pub fn receive_stun_packet(&self, payload: Bytes, src: SocketAddr)

Pass a received STUN packet to the net_reporter.

@@ -22,8 +22,8 @@ consuming them.

) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -31,7 +31,7 @@ consuming them.

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 +

§

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 diff --git a/pr/3269/docs/iroh/net_report/struct.Client.html b/pr/3269/docs/iroh/net_report/struct.Client.html index 2c0d5f68c2..098630b2a6 100644 --- a/pr/3269/docs/iroh/net_report/struct.Client.html +++ b/pr/3269/docs/iroh/net_report/struct.Client.html @@ -1,4 +1,4 @@ -Client in iroh::net_report - Rust
iroh::net_report

Struct Client

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

Client to run net_reports.

+Client in iroh::net_report - Rust
iroh::net_report

Struct Client

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

Client to run net_reports.

Creating this creates a net_report actor which runs in the background. Most of the time it is idle unless Client::get_report is called, which is the main interface.

The Client struct can be cloned and results multiple handles to the running actor. @@ -10,7 +10,7 @@ If all DnsResolver, ip_mapped_addrs: Option<IpMappedAddresses>, metrics: Arc<Metrics>, -) -> Result<Self>

Creates a new net_report client.

+) -> Result<Self>

Creates a new net_report client.

This starts a connected actor in the background. Once the client is dropped it will stop running.

Source

pub fn addr(&self) -> Addr

Returns a new address to send messages to this actor.

@@ -20,7 +20,7 @@ allows sending messages to the actor.

&mut self, relay_map: RelayMap, opts: Options, -) -> Result<Arc<Report>>

Runs a net_report, returning the report.

+) -> Result<Arc<Report>>

Runs a net_report, returning the report.

It may not be called concurrently with itself, &mut self takes care of that.

Look at Options for the different configuration options.

Trait Implementations§

Source§

impl Debug for Client

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Freeze for Client

§

impl RefUnwindSafe for Client

§

impl Send for Client

§

impl Sync for Client

§

impl Unpin for Client

§

impl UnwindSafe for Client

Blanket Implementations§

Source§

impl<T> Any for T
where @@ -40,7 +40,7 @@ allows sending messages to the actor.

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 +

§

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 diff --git a/pr/3269/docs/iroh/net_report/struct.Metrics.html b/pr/3269/docs/iroh/net_report/struct.Metrics.html index ea3b6aaca7..aadc1cf43a 100644 --- a/pr/3269/docs/iroh/net_report/struct.Metrics.html +++ b/pr/3269/docs/iroh/net_report/struct.Metrics.html @@ -1,4 +1,4 @@ -Metrics in iroh::net_report - Rust
iroh::net_report

Struct Metrics

Source
#[non_exhaustive]
pub struct Metrics { +Metrics in iroh::net_report - Rust
iroh::net_report

Struct Metrics

Source
#[non_exhaustive]
pub struct Metrics { pub stun_packets_dropped: Counter, pub stun_packets_sent_ipv4: Counter, pub stun_packets_sent_ipv6: Counter, @@ -14,9 +14,9 @@
§stun_packets_recv_ipv6: Counter

Number of IPv6 STUN packets received.

§reports: Counter

Number of reports executed by net_report, including full reports.

§reports_full: Counter

Number of full reports executed by net_report

-

Trait Implementations§

Source§

impl Debug for Metrics

Source§

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

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<'de> Deserialize<'de> for Metrics

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Iterable for Metrics

Source§

fn field_count(&self) -> usize

Returns the number of fields in the struct.
Source§

fn field_ref(&self, n: usize) -> Option<MetricItem<'_>>

Returns the field name and dyn reference to the field.
Source§

impl MetricsGroup for Metrics

Source§

fn name(&self) -> &'static str

Returns the name of this metrics group.
§

fn iter(&self) -> FieldIter<'_>

Returns an iterator over all metric items with their values and helps.
Source§

impl Serialize for Metrics

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Debug for Metrics

Source§

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

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<'de> Deserialize<'de> for Metrics

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Iterable for Metrics

Source§

fn field_count(&self) -> usize

Returns the number of fields in the struct.
Source§

fn field_ref(&self, n: usize) -> Option<MetricItem<'_>>

Returns the field name and dyn reference to the field.
Source§

impl MetricsGroup for Metrics

Source§

fn name(&self) -> &'static str

Returns the name of this metrics group.
§

fn iter(&self) -> FieldIter<'_>

Returns an iterator over all metric items with their values and helps.
Source§

impl Serialize for Metrics

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. 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( @@ -34,12 +34,12 @@

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

§

impl<T> IntoIterable for T
where - T: Iterable,

§

fn as_iterable(&self) -> &dyn Iterable

Returns self as dyn Iterable
§

fn field_iter(&self) -> FieldIter<'_>

Returns an iterator over the fields of the struct.
§

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 + T: Iterable,

§

fn as_iterable(&self) -> &dyn Iterable

Returns self as dyn Iterable
§

fn field_iter(&self) -> FieldIter<'_>

Returns an iterator over the fields of the struct.
§

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
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where +[WithDispatch] wrapper. Read more

Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh/net_report/struct.Options.html b/pr/3269/docs/iroh/net_report/struct.Options.html index 846863b637..b533b105cb 100644 --- a/pr/3269/docs/iroh/net_report/struct.Options.html +++ b/pr/3269/docs/iroh/net_report/struct.Options.html @@ -1,4 +1,4 @@ -Options in iroh::net_report - Rust
iroh::net_report

Struct Options

Source
pub struct Options { /* private fields */ }
Available on non-wasm_browser only.
Expand description

Options for running probes

+Options in iroh::net_report - Rust
iroh::net_report

Struct Options

Source
pub struct Options { /* private fields */ }
Available on non-wasm_browser only.
Expand description

Options for running probes

By default, will run icmp over IPv4, icmp over IPv6, and Https probes.

Use Options::stun_v4, Options::stun_v6, and Options::quic_config to enable STUN over IPv4, STUN over IPv6, and QUIC address discovery.

@@ -20,8 +20,8 @@ to enable STUN over IPv4, STUN over IPv6, and QUIC address discovery.

) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -29,7 +29,7 @@ to enable STUN over IPv4, STUN over IPv6, and QUIC address discovery.

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 +

§

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 diff --git a/pr/3269/docs/iroh/net_report/struct.QuicConfig.html b/pr/3269/docs/iroh/net_report/struct.QuicConfig.html index 19c89a890f..0ec244e028 100644 --- a/pr/3269/docs/iroh/net_report/struct.QuicConfig.html +++ b/pr/3269/docs/iroh/net_report/struct.QuicConfig.html @@ -1,4 +1,4 @@ -QuicConfig in iroh::net_report - Rust
iroh::net_report

Struct QuicConfig

Source
pub struct QuicConfig {
+QuicConfig in iroh::net_report - Rust
iroh::net_report

Struct QuicConfig

Source
pub struct QuicConfig {
     pub ep: Endpoint,
     pub client_config: ClientConfig,
     pub ipv4: bool,
@@ -19,8 +19,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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -28,7 +28,7 @@ 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 +

§

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 diff --git a/pr/3269/docs/iroh/net_report/struct.RelayLatencies.html b/pr/3269/docs/iroh/net_report/struct.RelayLatencies.html index d341c1ca2d..df7121a0af 100644 --- a/pr/3269/docs/iroh/net_report/struct.RelayLatencies.html +++ b/pr/3269/docs/iroh/net_report/struct.RelayLatencies.html @@ -1,4 +1,4 @@ -RelayLatencies in iroh::net_report - Rust
iroh::net_report

Struct RelayLatencies

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

Latencies per relay node.

+RelayLatencies in iroh::net_report - Rust
iroh::net_report

Struct RelayLatencies

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

Latencies per relay node.

Implementations§

Source§

impl RelayLatencies

Source

pub fn iter(&self) -> impl Iterator<Item = (&RelayUrl, Duration)> + '_

Returns an iterator over all the relays and their latencies.

Trait Implementations§

Source§

impl Clone for RelayLatencies

Source§

fn clone(&self) -> RelayLatencies

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 RelayLatencies

Source§

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

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

impl Default for RelayLatencies

Source§

fn default() -> RelayLatencies

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

impl PartialEq for RelayLatencies

Source§

fn eq(&self, other: &RelayLatencies) -> 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 RelayLatencies

Source§

impl StructuralPartialEq for RelayLatencies

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where @@ -12,8 +12,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -25,7 +25,7 @@ and should not be overridden without very good reason.

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 +

§

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 diff --git a/pr/3269/docs/iroh/net_report/struct.Report.html b/pr/3269/docs/iroh/net_report/struct.Report.html index 86dc618767..94e99cacca 100644 --- a/pr/3269/docs/iroh/net_report/struct.Report.html +++ b/pr/3269/docs/iroh/net_report/struct.Report.html @@ -1,4 +1,4 @@ -Report in iroh::net_report - Rust
iroh::net_report

Struct Report

Source
pub struct Report {
Show 19 fields +Report in iroh::net_report - Rust
iroh::net_report

Struct Report

Source
pub struct Report {
Show 19 fields pub udp: bool, pub ipv6: bool, pub ipv4: bool, @@ -55,8 +55,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -68,7 +68,7 @@ and should not be overridden without very good reason.

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 +

§

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> 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 diff --git a/pr/3269/docs/iroh/node_info/constant.IROH_TXT_NAME.html b/pr/3269/docs/iroh/node_info/constant.IROH_TXT_NAME.html index 92fb202544..9e51d95a6a 100644 --- a/pr/3269/docs/iroh/node_info/constant.IROH_TXT_NAME.html +++ b/pr/3269/docs/iroh/node_info/constant.IROH_TXT_NAME.html @@ -1,2 +1,2 @@ -IROH_TXT_NAME in iroh::node_info - Rust
iroh::node_info

Constant IROH_TXT_NAME

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

The DNS name for the iroh TXT record.

+IROH_TXT_NAME in iroh::node_info - Rust
iroh::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/3269/docs/iroh/node_info/index.html b/pr/3269/docs/iroh/node_info/index.html index 2f5f110da9..18e9a5c5f5 100644 --- a/pr/3269/docs/iroh/node_info/index.html +++ b/pr/3269/docs/iroh/node_info/index.html @@ -1,4 +1,4 @@ -iroh::node_info - Rust
iroh

Module node_info

Source
Expand description

Support for handling DNS resource records for dialing by NodeId.

+iroh::node_info - Rust
iroh

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:

diff --git a/pr/3269/docs/iroh/node_info/struct.MaxLengthExceededError.html b/pr/3269/docs/iroh/node_info/struct.MaxLengthExceededError.html index a7fdef799a..b0bd45d3db 100644 --- a/pr/3269/docs/iroh/node_info/struct.MaxLengthExceededError.html +++ b/pr/3269/docs/iroh/node_info/struct.MaxLengthExceededError.html @@ -1,4 +1,4 @@ -MaxLengthExceededError in iroh::node_info - Rust
iroh::node_info

Struct MaxLengthExceededError

Source
pub struct MaxLengthExceededError;
Expand description

Error returned when an input value is too long for UserData.

+MaxLengthExceededError in iroh::node_info - Rust
iroh::node_info

Struct MaxLengthExceededError

Source
pub struct MaxLengthExceededError;
Expand description

Error returned when an input value is too long for UserData.

Trait Implementations§

Source§

impl Debug for MaxLengthExceededError

Source§

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

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

impl Display for MaxLengthExceededError

Source§

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

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

impl Error for MaxLengthExceededError

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<T> AsErrorSource for T
where T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method @@ -19,7 +19,7 @@ receivers.
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 +

§

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 diff --git a/pr/3269/docs/iroh/node_info/struct.NodeData.html b/pr/3269/docs/iroh/node_info/struct.NodeData.html index fd1db131c9..5124e28545 100644 --- a/pr/3269/docs/iroh/node_info/struct.NodeData.html +++ b/pr/3269/docs/iroh/node_info/struct.NodeData.html @@ -1,4 +1,4 @@ -NodeData in iroh::node_info - Rust
iroh::node_info

Struct NodeData

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

Data about a node that may be published to and resolved from discovery services.

+NodeData in iroh::node_info - Rust
iroh::node_info

Struct NodeData

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

Data about a node that may be published to and resolved from discovery services.

This includes an optional RelayUrl, a set of direct addresses, and the optional UserData, a string that can be set by applications and is not parsed or used by iroh itself.

@@ -36,8 +36,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -49,7 +49,7 @@ and should not be overridden without very good reason.

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 +

§

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 diff --git a/pr/3269/docs/iroh/node_info/struct.NodeInfo.html b/pr/3269/docs/iroh/node_info/struct.NodeInfo.html index c8ddf08f71..fb33e2b9fd 100644 --- a/pr/3269/docs/iroh/node_info/struct.NodeInfo.html +++ b/pr/3269/docs/iroh/node_info/struct.NodeInfo.html @@ -1,4 +1,4 @@ -NodeInfo in iroh::node_info - Rust
iroh::node_info

Struct NodeInfo

Source
pub struct NodeInfo {
+NodeInfo in iroh::node_info - Rust
iroh::node_info

Struct NodeInfo

Source
pub struct NodeInfo {
     pub node_id: PublicKey,
     pub data: NodeData,
 }
Expand description

Information about a node that may be published to and resolved from discovery services.

@@ -15,15 +15,15 @@
Source

pub fn with_user_data(self, user_data: Option<UserData>) -> NodeInfo

Sets the user-defined data and returns the updated node info.

Source

pub fn to_node_addr(&self) -> NodeAddr

Converts into a NodeAddr by cloning the needed fields.

Source

pub fn into_node_addr(self) -> NodeAddr

Converts into a NodeAddr without cloning.

-
Source

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

Available on non-wasm_browser only.

Parses a NodeInfo from a TXT records lookup.

+
Source

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

Available on non-wasm_browser only.

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].

+) -> 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, Error>

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_txt_strings(&self) -> Vec<String>

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

Methods from Deref<Target = NodeData>§

Source

pub fn relay_url(&self) -> Option<&RelayUrl>

Returns the relay URL of the node.

@@ -48,8 +48,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -63,7 +63,7 @@ and should not be overridden without very good reason.

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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, - T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
Available on non-bootstrap only.
The target type on which the method may be called.
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

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

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
Available on non-bootstrap only.
The target type on which the method may be called.
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 diff --git a/pr/3269/docs/iroh/node_info/struct.UserData.html b/pr/3269/docs/iroh/node_info/struct.UserData.html index dc87485ed2..d0687f5962 100644 --- a/pr/3269/docs/iroh/node_info/struct.UserData.html +++ b/pr/3269/docs/iroh/node_info/struct.UserData.html @@ -1,4 +1,4 @@ -UserData in iroh::node_info - Rust
iroh::node_info

Struct UserData

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

Under the hood this is a UTF-8 String is no longer than UserData::MAX_LENGTH bytes.

+UserData in iroh::node_info - Rust
iroh::node_info

Struct UserData

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

Under the hood this is a UTF-8 String is no longer than UserData::MAX_LENGTH bytes.

Iroh does not keep track of or examine the user-defined data.

UserData implements FromStr and TryFrom<String>, so you can convert &str and String into UserData easily.

@@ -31,8 +31,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + K: Borrow<Q> + ?Sized,

§

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

Compare self to key and return their ordering.
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -44,7 +44,7 @@ the >= operator. 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 +

§

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> 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 diff --git a/pr/3269/docs/iroh/node_info/trait.NodeIdExt.html b/pr/3269/docs/iroh/node_info/trait.NodeIdExt.html index 9a9160e449..01774e40ec 100644 --- a/pr/3269/docs/iroh/node_info/trait.NodeIdExt.html +++ b/pr/3269/docs/iroh/node_info/trait.NodeIdExt.html @@ -1,9 +1,9 @@ -NodeIdExt in iroh::node_info - Rust
iroh::node_info

Trait NodeIdExt

Source
pub trait NodeIdExt {
+NodeIdExt in iroh::node_info - Rust
iroh::node_info

Trait NodeIdExt

Source
pub trait NodeIdExt {
     // Required methods
     fn to_z32(&self) -> String;
-    fn from_z32(s: &str) -> Result<PublicKey, Error>;
+    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.

+
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/3269/docs/iroh/protocol/index.html b/pr/3269/docs/iroh/protocol/index.html index 4da9ff14f0..d2cee6b858 100644 --- a/pr/3269/docs/iroh/protocol/index.html +++ b/pr/3269/docs/iroh/protocol/index.html @@ -1,11 +1,10 @@ -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?;
 
 let router = Router::builder(endpoint)
     .accept(b"/my/alpn", Echo)
-    .spawn()
-    .await?;
+    .spawn();
 
 // The protocol definition:
 #[derive(Debug, Clone)]
diff --git a/pr/3269/docs/iroh/protocol/struct.AccessLimit.html b/pr/3269/docs/iroh/protocol/struct.AccessLimit.html
index 7bbe08bf78..39968dd641 100644
--- a/pr/3269/docs/iroh/protocol/struct.AccessLimit.html
+++ b/pr/3269/docs/iroh/protocol/struct.AccessLimit.html
@@ -1,12 +1,12 @@
-AccessLimit in iroh::protocol - Rust
iroh::protocol

Struct AccessLimit

Source
pub struct AccessLimit<P: ProtocolHandler + Clone> { /* private fields */ }
Expand description

Wraps an existing protocol, limiting its access, +AccessLimit in iroh::protocol - Rust

iroh::protocol

Struct AccessLimit

Source
pub struct AccessLimit<P: ProtocolHandler + Clone> { /* private fields */ }
Expand description

Wraps an existing protocol, limiting its access, based on the provided function.

Any refused connection will be closed with an error code of 0 and reason not allowed.

-

Implementations§

Source§

impl<P: ProtocolHandler + Clone> AccessLimit<P>

Source

pub fn new<F>(proto: P, limiter: F) -> Self
where +

Implementations§

Source§

impl<P: ProtocolHandler + Clone> AccessLimit<P>

Source

pub fn new<F>(proto: P, limiter: F) -> Self
where F: Fn(NodeId) -> bool + Send + Sync + 'static,

Create a new AccessLimit.

The function should return true for nodes that are allowed to connect, and false otherwise.

-

Trait Implementations§

Source§

impl<P: Clone + ProtocolHandler + Clone> Clone for AccessLimit<P>

Source§

fn clone(&self) -> AccessLimit<P>

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<P> Debug for AccessLimit<P>
where - P: Debug + ProtocolHandler + Clone,

Source§

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

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

impl<P: ProtocolHandler + Clone> ProtocolHandler for AccessLimit<P>

Source§

fn on_connecting(&self, conn: Connecting) -> BoxFuture<Result<Connection>>

Optional interception point to handle the Connecting state. Read more
Source§

fn accept(&self, conn: Connection) -> BoxFuture<Result<()>>

Handle an incoming connection. Read more
Source§

fn shutdown(&self) -> BoxFuture<()>

Called when the node shuts down.

Auto Trait Implementations§

§

impl<P> Freeze for AccessLimit<P>
where +

Trait Implementations§

Source§

impl<P: Clone + ProtocolHandler + Clone> Clone for AccessLimit<P>

Source§

fn clone(&self) -> AccessLimit<P>

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<P> Debug for AccessLimit<P>
where + P: Debug + ProtocolHandler + Clone,

Source§

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

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

impl<P: ProtocolHandler + Clone> ProtocolHandler for AccessLimit<P>

Source§

fn on_connecting(&self, conn: Connecting) -> BoxFuture<Result<Connection>>

Optional interception point to handle the Connecting state. Read more
Source§

fn accept(&self, conn: Connection) -> BoxFuture<Result<()>>

Handle an incoming connection. Read more
Source§

fn shutdown(&self) -> BoxFuture<()>

Called when the node shuts down.

Auto Trait Implementations§

§

impl<P> Freeze for AccessLimit<P>
where P: Freeze,

§

impl<P> !RefUnwindSafe for AccessLimit<P>

§

impl<P> Send for AccessLimit<P>

§

impl<P> Sync for AccessLimit<P>

§

impl<P> Unpin for AccessLimit<P>
where P: Unpin,

§

impl<P> !UnwindSafe for AccessLimit<P>

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 @@ -19,8 +19,8 @@ connect, and false otherwise.

) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -28,7 +28,7 @@ connect, and false otherwise.

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 +

§

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 diff --git a/pr/3269/docs/iroh/protocol/struct.Router.html b/pr/3269/docs/iroh/protocol/struct.Router.html index 59bae59700..751e56c429 100644 --- a/pr/3269/docs/iroh/protocol/struct.Router.html +++ b/pr/3269/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 @@ -10,22 +10,21 @@ wait for [tokio::signal::ctrl_c()]:

let router = Router::builder(endpoint) // .accept(&ALPN, <something>) - .spawn() - .await?; + .spawn(); // wait until the user wants to tokio::signal::ctrl_c().await?; router.shutdown().await?;
-

Implementations§

Source§

impl Router

Source

pub fn builder(endpoint: Endpoint) -> RouterBuilder

Creates a new Router using given Endpoint.

-
Source

pub fn endpoint(&self) -> &Endpoint

Returns the Endpoint stored in this router.

-
Source

pub fn is_shutdown(&self) -> bool

Checks if the router is already shutdown.

-
Source

pub async fn shutdown(&self) -> Result<()>

Shuts down the accept loop cleanly.

+

Implementations§

Source§

impl Router

Source

pub fn builder(endpoint: Endpoint) -> RouterBuilder

Creates a new Router using given Endpoint.

+
Source

pub fn endpoint(&self) -> &Endpoint

Returns the Endpoint stored in this router.

+
Source

pub fn is_shutdown(&self) -> bool

Checks if the router is already shutdown.

+
Source

pub async fn shutdown(&self) -> Result<()>

Shuts down the accept loop cleanly.

When this function returns, all ProtocolHandlers will be shutdown and Endpoint::close will have been called.

If already shutdown, it returns Ok.

If some ProtocolHandler panicked in the accept loop, this will propagate that panic into the result here.

-

Trait Implementations§

Source§

impl Clone for Router

Source§

fn clone(&self) -> Router

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 Router

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Freeze for Router

§

impl !RefUnwindSafe for Router

§

impl Send for Router

§

impl Sync for Router

§

impl Unpin for Router

§

impl !UnwindSafe for Router

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Clone for Router

Source§

fn clone(&self) -> Router

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 Router

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Freeze for Router

§

impl !RefUnwindSafe for Router

§

impl Send for Router

§

impl Sync for Router

§

impl Unpin for Router

§

impl !UnwindSafe for Router

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( @@ -36,8 +35,8 @@ that panic into the result here.

) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -45,7 +44,7 @@ that panic into the result here.

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 +

§

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 diff --git a/pr/3269/docs/iroh/protocol/struct.RouterBuilder.html b/pr/3269/docs/iroh/protocol/struct.RouterBuilder.html index 627d225b7a..b12137fcc6 100644 --- a/pr/3269/docs/iroh/protocol/struct.RouterBuilder.html +++ b/pr/3269/docs/iroh/protocol/struct.RouterBuilder.html @@ -1,14 +1,14 @@ -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>( +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, alpn: impl AsRef<[u8]>, handler: T, ) -> Self

Configures the router to accept the ProtocolHandler when receiving a connection with this alpn.

-
Source

pub fn endpoint(&self) -> &Endpoint

Returns the Endpoint of the node.

-
Source

pub async fn spawn(self) -> Result<Router>

Spawns an accept loop and returns a handle to it encapsulated as the Router.

-

Trait Implementations§

Source§

impl Debug for RouterBuilder

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 endpoint(&self) -> &Endpoint

Returns the Endpoint of the node.

+
Source

pub fn spawn(self) -> Router

Spawns an accept loop and returns a handle to it encapsulated as the Router.

+

Trait Implementations§

Source§

impl Debug for RouterBuilder

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( @@ -25,7 +25,7 @@ with this alpn.

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 +

§

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 diff --git a/pr/3269/docs/iroh/protocol/trait.ProtocolHandler.html b/pr/3269/docs/iroh/protocol/trait.ProtocolHandler.html index 3b110da812..fb49956be9 100644 --- a/pr/3269/docs/iroh/protocol/trait.ProtocolHandler.html +++ b/pr/3269/docs/iroh/protocol/trait.ProtocolHandler.html @@ -1,16 +1,16 @@ -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
     + 'static {
     // Required method
-    fn accept(&self, connection: Connection) -> BoxFuture<Result<()>>;
+    fn accept(&self, connection: Connection) -> BoxFuture<Result<()>>;
 
     // Provided methods
     fn on_connecting(
         &self,
         connecting: Connecting,
-    ) -> BoxFuture<Result<Connection>> { ... }
+    ) -> BoxFuture<Result<Connection>> { ... }
     fn shutdown(&self) -> BoxFuture<()> { ... }
 }
Expand description

Handler for incoming connections.

A router accepts connections for arbitrary ALPN protocols.

@@ -18,9 +18,9 @@

Implement this trait on a struct that should handle incoming connections. The protocol handler must then be registered on the node for an ALPN protocol with crate::protocol::RouterBuilder::accept.

-

Required Methods§

Source

fn accept(&self, connection: Connection) -> BoxFuture<Result<()>>

Handle an incoming connection.

+

Required Methods§

Source

fn accept(&self, connection: Connection) -> BoxFuture<Result<()>>

Handle an incoming connection.

This runs on a freshly spawned tokio task so this can be long-running.

-

Provided Methods§

Source

fn on_connecting(&self, connecting: Connecting) -> BoxFuture<Result<Connection>>

Optional interception point to handle the Connecting state.

+

Provided Methods§

Source

fn on_connecting(&self, connecting: Connecting) -> BoxFuture<Result<Connection>>

Optional interception point to handle the Connecting state.

This enables accepting 0-RTT data from clients, among other things.

-
Source

fn shutdown(&self) -> BoxFuture<()>

Called when the node shuts down.

-

Implementations on Foreign Types§

Source§

impl<T: ProtocolHandler> ProtocolHandler for Box<T>

Source§

fn on_connecting(&self, conn: Connecting) -> BoxFuture<Result<Connection>>

Source§

fn accept(&self, conn: Connection) -> BoxFuture<Result<()>>

Source§

fn shutdown(&self) -> BoxFuture<()>

Source§

impl<T: ProtocolHandler> ProtocolHandler for Arc<T>

Source§

fn on_connecting(&self, conn: Connecting) -> BoxFuture<Result<Connection>>

Source§

fn accept(&self, conn: Connection) -> BoxFuture<Result<()>>

Source§

fn shutdown(&self) -> BoxFuture<()>

Implementors§

\ No newline at end of file +

Source

fn shutdown(&self) -> BoxFuture<()>

Called when the node shuts down.

+

Implementations on Foreign Types§

Source§

impl<T: ProtocolHandler> ProtocolHandler for Box<T>

Source§

fn on_connecting(&self, conn: Connecting) -> BoxFuture<Result<Connection>>

Source§

fn accept(&self, conn: Connection) -> BoxFuture<Result<()>>

Source§

fn shutdown(&self) -> BoxFuture<()>

Source§

impl<T: ProtocolHandler> ProtocolHandler for Arc<T>

Source§

fn on_connecting(&self, conn: Connecting) -> BoxFuture<Result<Connection>>

Source§

fn accept(&self, conn: Connection) -> BoxFuture<Result<()>>

Source§

fn shutdown(&self) -> BoxFuture<()>

Implementors§

\ No newline at end of file diff --git a/pr/3269/docs/iroh/struct.NodeAddr.html b/pr/3269/docs/iroh/struct.NodeAddr.html index 42d0e388a9..8d8714c7ef 100644 --- a/pr/3269/docs/iroh/struct.NodeAddr.html +++ b/pr/3269/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>,
@@ -41,10 +41,10 @@ whenever a connection to other nodes needs to be established.

Source

pub fn is_empty(&self) -> bool

Returns true, if only a NodeId is present.

Source

pub fn direct_addresses(&self) -> impl Iterator<Item = &SocketAddr>

Returns the direct addresses of this peer.

Source

pub fn relay_url(&self) -> Option<&RelayUrl>

Returns the relay url of this peer.

-

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

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<NodeAddr> for NodeData

Source§

fn from(node_addr: NodeAddr) -> NodeData

Converts to this type from the input type.
Source§

impl From<NodeAddr> for NodeInfo

Source§

fn from(addr: NodeAddr) -> 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<NodeTicket> for NodeAddr

Source§

fn from(ticket: NodeTicket) -> NodeAddr

Returns the addressing info from given ticket.

+) -> 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<NodeAddr> for NodeData

Source§

fn from(node_addr: NodeAddr) -> NodeData

Converts to this type from the input type.
Source§

impl From<NodeAddr> for NodeInfo

Source§

fn from(addr: NodeAddr) -> 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<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 @@ -52,11 +52,11 @@ whenever a connection to other nodes needs to be established.

and should not be overridden without very good reason.

Source§

impl PartialOrd for NodeAddr

Source§

fn partial_cmp(&self, other: &NodeAddr) -> 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 Serialize for NodeAddr

Source§

fn serialize<__S>( +the >= operator. Read more

Source§

impl Serialize for NodeAddr

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
Source§

impl Eq for NodeAddr

Source§

impl StructuralPartialEq for NodeAddr

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for NodeAddr

Source§

impl StructuralPartialEq for NodeAddr

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( @@ -69,8 +69,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + K: Borrow<Q> + ?Sized,

§

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

Compare self to key and return their ordering.
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -82,13 +82,13 @@ the >= operator. 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 +

§

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
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where +[WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh/struct.PublicKey.html b/pr/3269/docs/iroh/struct.PublicKey.html index 4a211bc414..e1620045c2 100644 --- a/pr/3269/docs/iroh/struct.PublicKey.html +++ b/pr/3269/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.

@@ -14,26 +14,26 @@ See [VerifyingKey::from_bytes] for details.

Returns Ok(()) if the signature is valid, and Err otherwise.

Source

pub fn fmt_short(&self) -> String

Convert to a hex string limited to the first 5 bytes for a friendly string representation of the key.

-

Trait Implementations§

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.
Source§

impl Borrow<[u8; 32]> for PublicKey

Source§

fn borrow(&self) -> &[u8; 32]

Immutably borrows from an owned value. Read more
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
Source§

impl Debug for PublicKey

Source§

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

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

impl<'de> Deserialize<'de> for PublicKey

Trait Implementations§

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.
Source§

impl Borrow<[u8; 32]> for PublicKey

Source§

fn borrow(&self) -> &[u8; 32]

Immutably borrows from an owned value. Read more
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
Source§

impl Debug for PublicKey

Source§

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

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

impl<'de> Deserialize<'de> for PublicKey

Source§

fn deserialize<D>( deserializer: D, -) -> Result<PublicKey, <D as Deserializer<'de>>::Error>
where - D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for PublicKey

Source§

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

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

impl From<PublicKey> for NodeAddr

Source§

fn from(node_id: PublicKey) -> NodeAddr

Converts to this type from the input type.
Source§

impl From<VerifyingKey> for PublicKey

Source§

fn from(verifying_key: VerifyingKey) -> PublicKey

Converts to this type from the input type.
Source§

impl FromStr for PublicKey

Deserialises the PublicKey from it’s base32 encoding.

+) -> Result<PublicKey, <D as Deserializer<'de>>::Error>
where + D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for PublicKey

Source§

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

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

impl From<PublicKey> for NodeAddr

Source§

fn from(node_id: PublicKey) -> NodeAddr

Converts to this type from the input type.
Source§

impl From<VerifyingKey> for PublicKey

Source§

fn from(verifying_key: VerifyingKey) -> PublicKey

Converts to this type from the input type.
Source§

impl FromStr for PublicKey

Deserialises the PublicKey from it’s base32 encoding.

Display is capable of serialising this format.

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 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,

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, and should not be overridden without very good reason.
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 <= 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 Serialize for PublicKey

Source§

fn serialize<S>( +the >= operator. Read more

Source§

impl Serialize for PublicKey

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
Source§

impl TryFrom<&[u8]> for PublicKey

Source§

type Error = Error

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

fn try_from( +) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<&[u8]> for PublicKey

Source§

type Error = Error

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

fn try_from( bytes: &[u8], ) -> Result<PublicKey, <PublicKey as TryFrom<&[u8]>>::Error>

Performs the conversion.
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( bytes: &[u8; 32], @@ -50,8 +50,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + K: Borrow<Q> + ?Sized,

§

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

Compare self to key and return their ordering.
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -63,7 +63,7 @@ the >= operator. 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 +

§

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> 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 @@ -71,7 +71,7 @@ the >= operator.
§

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
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

Source§

impl<T> RuleType for T
where +[WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

Source§

impl<T> RuleType for T
where T: Copy + Debug + Eq + Hash + Ord,

\ No newline at end of file diff --git a/pr/3269/docs/iroh/struct.RelayMap.html b/pr/3269/docs/iroh/struct.RelayMap.html index 7fa467b019..84c9e958c6 100644 --- a/pr/3269/docs/iroh/struct.RelayMap.html +++ b/pr/3269/docs/iroh/struct.RelayMap.html @@ -1,26 +1,21 @@ -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.

-
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>

-
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§

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 +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?

+

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 From<RelayNode> for RelayMap

Source§

fn from(value: RelayNode) -> RelayMap

Converts to this type from the input type.
Source§

impl From<RelayUrl> for RelayMap

Source§

fn from(value: RelayUrl) -> RelayMap

Creates a RelayMap from a RelayUrl.

+

The RelayNodes in the RelayMap will have the default STUN and QUIC address +discovery ports.

+
Source§

impl FromIterator<RelayNode> for RelayMap

Source§

fn from_iter<T>(iter: T) -> RelayMap
where + T: IntoIterator<Item = RelayNode>,

Creates a value from an iterator. Read more
Source§

impl FromIterator<RelayUrl> for RelayMap

Source§

fn from_iter<T>(iter: T) -> RelayMap
where + T: IntoIterator<Item = RelayUrl>,

Creates a RelayMap from an iterator of RelayUrl.

+

The RelayNodes in the RelayMap will have the default STUN and QUIC address +discovery ports.

+
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( @@ -31,12 +26,12 @@ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, - 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 @@ -44,7 +39,7 @@ and should not be overridden without very good reason.
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 +

§

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> 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 diff --git a/pr/3269/docs/iroh/struct.RelayNode.html b/pr/3269/docs/iroh/struct.RelayNode.html index 9d8865b2a5..8e570f00c6 100644 --- a/pr/3269/docs/iroh/struct.RelayNode.html +++ b/pr/3269/docs/iroh/struct.RelayNode.html @@ -1,4 +1,4 @@ -RelayNode in iroh - Rust
iroh

Struct RelayNode

Source
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,
@@ -14,21 +14,22 @@ functionality is used.

§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§

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

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
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 +) -> Result<RelayNode, <__D as Deserializer<'de>>::Error>
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 From<RelayNode> for RelayMap

Source§

fn from(value: RelayNode) -> RelayMap

Converts to this type from the input type.
Source§

impl From<RelayUrl> for RelayNode

Source§

fn from(value: RelayUrl) -> RelayNode

Converts to this type from the input type.
Source§

impl FromIterator<RelayNode> for RelayMap

Source§

fn from_iter<T>(iter: T) -> RelayMap
where + T: IntoIterator<Item = RelayNode>,

Creates a value from an iterator. 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
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 + 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
Source§

impl Serialize for RelayNode

Source§

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
Source§

impl Eq for RelayNode

Source§

impl StructuralPartialEq for RelayNode

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
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( @@ -41,12 +42,12 @@ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + K: Borrow<Q> + ?Sized,

§

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

Compare self to key and return their ordering.
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, - 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 @@ -54,7 +55,7 @@ the >= operator. 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 +

§

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> 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 @@ -62,6 +63,6 @@ the >= operator.
§

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
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where +[WithDispatch] wrapper. Read more

Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh/struct.RelayUrl.html b/pr/3269/docs/iroh/struct.RelayUrl.html index f05b72ef3c..2a213e39bd 100644 --- a/pr/3269/docs/iroh/struct.RelayUrl.html +++ b/pr/3269/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:

    @@ -426,8 +426,8 @@ but the input may have been percent-encoded already.

Source

pub fn serialize_internal<S>( &self, serializer: S, -) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where - S: Serializer,

Available on crate feature serde only.

Serialize with Serde using the internal representation of the Url struct.

+) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where + S: Serializer,
Available on crate feature serde only.

Serialize with Serde using the internal representation of the Url struct.

The corresponding deserialize_internal method sacrifices some invariant-checking for speed, compared to the Deserialize trait impl.

This method is only available if the serde Cargo feature is enabled.

@@ -447,10 +447,17 @@ for a Windows path, is not UTF-8.)

Trait Implementations§

Source§

impl Clone for RelayUrl

Source§

fn clone(&self) -> RelayUrl

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 RelayUrl

Source§

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

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

impl Deref for RelayUrl

Dereferences to the wrapped Url.

Note that DerefMut is not implemented on purpose, so this type has more flexibility to change the inner later.

-
Source§

type Target = Url

The resulting type after dereferencing.
Source§

fn deref(&self) -> &<RelayUrl as Deref>::Target

Dereferences the value.
Source§

impl<'de> Deserialize<'de> for RelayUrl

Source§

type Target = Url

The resulting type after dereferencing.
Source§

fn deref(&self) -> &<RelayUrl as Deref>::Target

Dereferences the value.
Source§

impl<'de> Deserialize<'de> for RelayUrl

Source§

fn deserialize<__D>( __deserializer: __D, -) -> Result<RelayUrl, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for RelayUrl

Source§

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

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

impl From<RelayUrl> for Url

Source§

fn from(value: RelayUrl) -> Url

Converts to this type from the input type.
Source§

impl From<Url> for RelayUrl

Source§

fn from(url: Url) -> RelayUrl

Converts to this type from the input type.
Source§

impl FromStr for RelayUrl

Support for parsing strings directly.

+) -> Result<RelayUrl, <__D as Deserializer<'de>>::Error>
where + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for RelayUrl

Source§

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

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

impl From<RelayUrl> for RelayMap

Source§

fn from(value: RelayUrl) -> RelayMap

Creates a RelayMap from a RelayUrl.

+

The RelayNodes in the RelayMap will have the default STUN and QUIC address +discovery ports.

+
Source§

impl From<RelayUrl> for RelayNode

Source§

fn from(value: RelayUrl) -> RelayNode

Converts to this type from the input type.
Source§

impl From<RelayUrl> for Url

Source§

fn from(value: RelayUrl) -> Url

Converts to this type from the input type.
Source§

impl From<Url> for RelayUrl

Source§

fn from(url: Url) -> RelayUrl

Converts to this type from the input type.
Source§

impl FromIterator<RelayUrl> for RelayMap

Source§

fn from_iter<T>(iter: T) -> RelayMap
where + T: IntoIterator<Item = RelayUrl>,

Creates a RelayMap from an iterator of RelayUrl.

+

The RelayNodes in the RelayMap will have the default STUN and QUIC address +discovery ports.

+
Source§

impl FromStr for RelayUrl

Support for parsing strings directly.

If you need more control over the error first create a Url and use RelayUrl::from instead.

Source§

type Err = RelayUrlParseError

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

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

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

impl Hash for RelayUrl

Source§

fn hash<__H>(&self, state: &mut __H)
where @@ -463,11 +470,11 @@ instead.

and should not be overridden without very good reason.

Source§

impl PartialOrd for RelayUrl

Source§

fn partial_cmp(&self, other: &RelayUrl) -> 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 Serialize for RelayUrl

Source§

fn serialize<__S>( +the >= operator. Read more

Source§

impl Serialize for RelayUrl

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
Source§

impl Eq for RelayUrl

Source§

impl StructuralPartialEq for RelayUrl

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for RelayUrl

Source§

impl StructuralPartialEq for RelayUrl

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( @@ -480,12 +487,12 @@ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + K: Borrow<Q> + ?Sized,

§

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

Compare self to key and return their ordering.
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, - 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 @@ -495,7 +502,7 @@ the >= operator. 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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, - T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
Available on non-bootstrap only.
The target type on which the method may be called.
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

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

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
Available on non-bootstrap only.
The target type on which the method may be called.
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> 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 @@ -503,6 +510,6 @@ the >= operator.
§

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
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where +[WithDispatch] wrapper. Read more

Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh/struct.RelayUrlParseError.html b/pr/3269/docs/iroh/struct.RelayUrlParseError.html index a6fae9ae78..046b3273ac 100644 --- a/pr/3269/docs/iroh/struct.RelayUrlParseError.html +++ b/pr/3269/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<T> AsErrorSource for T
where T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method @@ -19,7 +19,7 @@ receivers.
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 +

§

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 diff --git a/pr/3269/docs/iroh/struct.SecretKey.html b/pr/3269/docs/iroh/struct.SecretKey.html index c665773764..57a6819ce0 100644 --- a/pr/3269/docs/iroh/struct.SecretKey.html +++ b/pr/3269/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 generate<R>(csprng: R) -> SecretKey
where R: CryptoRngCore,

Generate a new SecretKey with a randomness generator.

@@ -11,14 +11,14 @@ The public part can always be recovered.

Source

pub fn from_bytes(bytes: &[u8; 32]) -> SecretKey

Create a secret key from its byte representation.

Source

pub fn secret(&self) -> &SigningKey

Returns the [SigningKey] for this SecretKey.

-

Trait Implementations§

Source§

impl Clone for SecretKey

Source§

fn clone(&self) -> SecretKey

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 SecretKey

Source§

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

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

impl<'de> Deserialize<'de> for SecretKey

Trait Implementations§

Source§

impl Clone for SecretKey

Source§

fn clone(&self) -> SecretKey

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 SecretKey

Source§

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

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

impl<'de> Deserialize<'de> for SecretKey

Source§

fn deserialize<D>( deserializer: D, -) -> Result<SecretKey, <D as Deserializer<'de>>::Error>
where - D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for SecretKey

Source§

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

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

impl From<[u8; 32]> for SecretKey

Source§

fn from(value: [u8; 32]) -> SecretKey

Converts to this type from the input type.
Source§

impl From<SigningKey> for SecretKey

Source§

fn from(secret: SigningKey) -> SecretKey

Converts to this type from the input type.
Source§

impl FromStr for SecretKey

Source§

type Err = KeyParsingError

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

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

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

impl Serialize for SecretKey

Source§

fn serialize<S>( +) -> Result<SecretKey, <D as Deserializer<'de>>::Error>
where + D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for SecretKey

Source§

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

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

impl From<[u8; 32]> for SecretKey

Source§

fn from(value: [u8; 32]) -> SecretKey

Converts to this type from the input type.
Source§

impl From<SigningKey> for SecretKey

Source§

fn from(secret: SigningKey) -> SecretKey

Converts to this type from the input type.
Source§

impl FromStr for SecretKey

Source§

type Err = KeyParsingError

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

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

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

impl Serialize for SecretKey

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
Source§

impl TryFrom<&[u8]> for SecretKey

Source§

type Error = Error

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

fn try_from( +) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<&[u8]> for SecretKey

Source§

type Error = Error

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

fn try_from( bytes: &[u8], ) -> Result<SecretKey, <SecretKey as TryFrom<&[u8]>>::Error>

Performs the conversion.

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 @@ -31,8 +31,8 @@ The public part can always be recovered.

) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -40,7 +40,7 @@ The public part can always be recovered.

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 +

§

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> 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 @@ -48,6 +48,6 @@ The public part can always be recovered.

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
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where +[WithDispatch] wrapper. Read more

Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh/test_utils/fn.run_relay_server.html b/pr/3269/docs/iroh/test_utils/fn.run_relay_server.html index d98c5f2055..4870a2ab69 100644 --- a/pr/3269/docs/iroh/test_utils/fn.run_relay_server.html +++ b/pr/3269/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.

\ No newline at end of file diff --git a/pr/3269/docs/iroh/test_utils/fn.run_relay_server_with.html b/pr/3269/docs/iroh/test_utils/fn.run_relay_server_with.html index a14e5305d7..e0b7716849 100644 --- a/pr/3269/docs/iroh/test_utils/fn.run_relay_server_with.html +++ b/pr/3269/docs/iroh/test_utils/fn.run_relay_server_with.html @@ -1,7 +1,7 @@ -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(
+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.

diff --git a/pr/3269/docs/iroh/test_utils/fn.run_relay_server_with_stun.html b/pr/3269/docs/iroh/test_utils/fn.run_relay_server_with_stun.html index fe5d3d91fd..c61d648c03 100644 --- a/pr/3269/docs/iroh/test_utils/fn.run_relay_server_with_stun.html +++ b/pr/3269/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.

\ No newline at end of file diff --git a/pr/3269/docs/iroh/test_utils/index.html b/pr/3269/docs/iroh/test_utils/index.html index 07a65a9b5b..daf035f1bc 100644 --- a/pr/3269/docs/iroh/test_utils/index.html +++ b/pr/3269/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.

+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/3269/docs/iroh/test_utils/struct.CleanupDropGuard.html b/pr/3269/docs/iroh/test_utils/struct.CleanupDropGuard.html index bf9b90008b..08f22b522c 100644 --- a/pr/3269/docs/iroh/test_utils/struct.CleanupDropGuard.html +++ b/pr/3269/docs/iroh/test_utils/struct.CleanupDropGuard.html @@ -1,4 +1,4 @@ -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 @@ -18,7 +18,7 @@ resources.

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 +

§

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 diff --git a/pr/3269/docs/iroh/test_utils/struct.DnsPkarrServer.html b/pr/3269/docs/iroh/test_utils/struct.DnsPkarrServer.html index a0023bb000..b74c4946c7 100644 --- a/pr/3269/docs/iroh/test_utils/struct.DnsPkarrServer.html +++ b/pr/3269/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( @@ -32,7 +32,7 @@ configured to use the test servers.

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 +

§

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 diff --git a/pr/3269/docs/iroh/type.NodeId.html b/pr/3269/docs/iroh/type.NodeId.html index bec1cfc629..3509a4d936 100644 --- a/pr/3269/docs/iroh/type.NodeId.html +++ b/pr/3269/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/3269/docs/iroh/watchable/index.html b/pr/3269/docs/iroh/watchable/index.html index a3d322ca39..6728ce8002 100644 --- a/pr/3269/docs/iroh/watchable/index.html +++ b/pr/3269/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/3269/docs/iroh/watchable/struct.Disconnected.html b/pr/3269/docs/iroh/watchable/struct.Disconnected.html index a3a93f0c8f..0cd10caf9e 100644 --- a/pr/3269/docs/iroh/watchable/struct.Disconnected.html +++ b/pr/3269/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<T> AsErrorSource for T
where @@ -20,7 +20,7 @@ receivers.

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 +

§

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 diff --git a/pr/3269/docs/iroh/watchable/struct.WatchInitializedFut.html b/pr/3269/docs/iroh/watchable/struct.WatchInitializedFut.html index 15beb4bad1..491acec3f1 100644 --- a/pr/3269/docs/iroh/watchable/struct.WatchInitializedFut.html +++ b/pr/3269/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

@@ -77,7 +77,7 @@ the future is ready after the first call to Future::poll. Read m

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

Source§

impl<F> IntoFuture for F
where - F: Future,

Source§

type Output = <F as Future>::Output

The output that the future will produce on completion.
Source§

type IntoFuture = F

Which kind of future are we turning this into?
Source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
§

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 + F: Future,

Source§

type Output = <F as Future>::Output

The output that the future will produce on completion.
Source§

type IntoFuture = F

Which kind of future are we turning this into?
Source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
§

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.
§

impl<F, T, E> TryFuture for F
where F: Future<Output = Result<T, E>> + ?Sized,

§

type Ok = T

The type of successful values yielded by this future
§

type Error = E

The type of failures yielded by this future
§

fn try_poll( self: Pin<&mut F>, diff --git a/pr/3269/docs/iroh/watchable/struct.WatchNextFut.html b/pr/3269/docs/iroh/watchable/struct.WatchNextFut.html index f9b7c2fcf4..ced9d6f88b 100644 --- a/pr/3269/docs/iroh/watchable/struct.WatchNextFut.html +++ b/pr/3269/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.

@@ -76,7 +76,7 @@ the future is ready after the first call to Future::poll. Read m

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

Source§

impl<F> IntoFuture for F
where - F: Future,

Source§

type Output = <F as Future>::Output

The output that the future will produce on completion.
Source§

type IntoFuture = F

Which kind of future are we turning this into?
Source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
§

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 + F: Future,

Source§

type Output = <F as Future>::Output

The output that the future will produce on completion.
Source§

type IntoFuture = F

Which kind of future are we turning this into?
Source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
§

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.
§

impl<F, T, E> TryFuture for F
where F: Future<Output = Result<T, E>> + ?Sized,

§

type Ok = T

The type of successful values yielded by this future
§

type Error = E

The type of failures yielded by this future
§

fn try_poll( self: Pin<&mut F>, diff --git a/pr/3269/docs/iroh/watchable/struct.Watchable.html b/pr/3269/docs/iroh/watchable/struct.Watchable.html index f8ab271cbf..2aaef91321 100644 --- a/pr/3269/docs/iroh/watchable/struct.Watchable.html +++ b/pr/3269/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.

@@ -21,8 +21,8 @@ returns the provided value back as Err(value) if the value didn’t ) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -30,7 +30,7 @@ returns the provided value back as Err(value) if the value didn’t 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 +

§

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 diff --git a/pr/3269/docs/iroh/watchable/struct.Watcher.html b/pr/3269/docs/iroh/watchable/struct.Watcher.html index e9591ab842..705c937f39 100644 --- a/pr/3269/docs/iroh/watchable/struct.Watcher.html +++ b/pr/3269/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 @@ -46,8 +46,8 @@ item is available it can be replaced with another item by the time it is polled. ) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -55,7 +55,7 @@ item is available it can be replaced with another item by the time it is polled. 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 +

§

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 diff --git a/pr/3269/docs/iroh/watchable/struct.WatcherStream.html b/pr/3269/docs/iroh/watchable/struct.WatcherStream.html index 5fada3e5f3..0e4a55a6ec 100644 --- a/pr/3269/docs/iroh/watchable/struct.WatcherStream.html +++ b/pr/3269/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.

@@ -39,8 +39,8 @@ available. Read more
Sized,

An adaptor for creating a buffered list of pending futures. Read more
§

fn try_buffered_unordered(self, n: usize) -> TryBufferUnordered<Self>
where Self::Ok: TryFuture<Err = Self::Err>, Self: Sized,

An adaptor for creating a buffered list of pending futures (unordered). 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. Read more
Source§

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

Source§

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

§

impl<E, S, T> FirstAnswer<T, E> for S
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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. Read more
Source§

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

Source§

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

§

impl<E, S, T> FirstAnswer<T, E> for S
where S: Stream<Item = Result<T, E>> + Unpin, E: From<ProtoError>,

§

fn first_answer(self) -> FirstAnswerFuture<Self>

Convert a Stream of dns response into a Future yielding the first answer, discarding others if any.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

@@ -51,7 +51,7 @@ discarding others if any.
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
§

impl<S> StreamExt for S
where +

§

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
§

impl<S> StreamExt for S
where S: Stream + ?Sized,

§

fn poll_next(&mut self, cx: &mut Context<'_>) -> Poll<Option<Self::Item>>
where Self: Unpin,

A convenience for calling [Stream::poll_next()] on !Unpin types.
§

fn next(&mut self) -> NextFuture<'_, Self>
where Self: Unpin,

Retrieves the next item in the stream. Read more
§

fn try_next<T, E>(&mut self) -> TryNextFuture<'_, Self>
where diff --git a/pr/3269/docs/iroh_base/all.html b/pr/3269/docs/iroh_base/all.html index a1757f95ab..016c676e03 100644 --- a/pr/3269/docs/iroh_base/all.html +++ b/pr/3269/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/3269/docs/iroh_base/enum.KeyParsingError.html b/pr/3269/docs/iroh_base/enum.KeyParsingError.html index 5bb0a58cfd..ac9977671f 100644 --- a/pr/3269/docs/iroh_base/enum.KeyParsingError.html +++ b/pr/3269/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,
@@ -14,7 +14,7 @@
     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.

-
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToString for T
where +

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<T> ErasedDestructor for T
where diff --git a/pr/3269/docs/iroh_base/index.html b/pr/3269/docs/iroh_base/index.html index 4d2f36b6a5..6bb4422e99 100644 --- a/pr/3269/docs/iroh_base/index.html +++ b/pr/3269/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§

Source

pub fn is_empty(&self) -> bool

Returns true, if only a NodeId is present.

Source

pub fn direct_addresses(&self) -> impl Iterator<Item = &SocketAddr>

Returns the direct addresses of this peer.

Source

pub fn relay_url(&self) -> Option<&RelayUrl>

Returns the relay url of this peer.

-

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

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

impl<'de> Deserialize<'de> for NodeAddr

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::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])) -> Self

Converts to this type from the input type.
Source§

impl From<NodeAddr> for NodeTicket

Available on crate feature ticket only.
Source§

fn from(addr: NodeAddr) -> Self

Creates a ticket from given addressing info.

+

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

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

impl<'de> Deserialize<'de> for NodeAddr

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::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])) -> Self

Converts to this type from the input type.
Source§

impl From<NodeAddr> for NodeTicket

Available on crate feature ticket only.
Source§

fn from(addr: NodeAddr) -> Self

Creates a ticket from given addressing info.

Source§

impl From<NodeTicket> for NodeAddr

Available on crate feature ticket only.
Source§

fn from(ticket: NodeTicket) -> Self

Returns the addressing info from given ticket.

Source§

impl From<PublicKey> for NodeAddr

Source§

fn from(node_id: NodeId) -> 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 @@ -51,8 +51,8 @@ whenever a connection to other nodes needs to be established.

and should not be overridden without very good reason.

Source§

impl PartialOrd for NodeAddr

Source§

fn partial_cmp(&self, other: &NodeAddr) -> 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 Serialize for NodeAddr

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for NodeAddr

Source§

impl StructuralPartialEq for NodeAddr

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

impl Serialize for NodeAddr

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for NodeAddr

Source§

impl StructuralPartialEq for NodeAddr

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 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 @@ -61,9 +61,9 @@ the >= operator. 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.

-
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where +

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.
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor 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.
Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh_base/struct.PublicKey.html b/pr/3269/docs/iroh_base/struct.PublicKey.html index 015fe7e1c7..e2f3b4da10 100644 --- a/pr/3269/docs/iroh_base/struct.PublicKey.html +++ b/pr/3269/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.

@@ -18,8 +18,8 @@ See [VerifyingKey::from_bytes] for details.

Returns Ok(()) if the signature is valid, and Err otherwise.

Source

pub fn fmt_short(&self) -> String

Convert to a hex string limited to the first 5 bytes for a friendly string representation of the key.

-

Trait Implementations§

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.
Source§

impl Borrow<[u8; 32]> for PublicKey

Source§

fn borrow(&self) -> &[u8; 32]

Immutably borrows from an owned value. Read more
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
Source§

impl Debug for PublicKey

Source§

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

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

impl<'de> Deserialize<'de> for PublicKey

Source§

fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where - D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for PublicKey

Source§

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

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

impl From<PublicKey> for NodeAddr

Source§

fn from(node_id: NodeId) -> Self

Converts to this type from the input type.
Source§

impl From<VerifyingKey> for PublicKey

Source§

fn from(verifying_key: VerifyingKey) -> Self

Converts to this type from the input type.
Source§

impl FromStr for PublicKey

Deserialises the PublicKey from it’s base32 encoding.

+

Trait Implementations§

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.
Source§

impl Borrow<[u8; 32]> for PublicKey

Source§

fn borrow(&self) -> &[u8; 32]

Immutably borrows from an owned value. Read more
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
Source§

impl Debug for PublicKey

Source§

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

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

impl<'de> Deserialize<'de> for PublicKey

Source§

fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where + D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for PublicKey

Source§

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

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

impl From<PublicKey> for NodeAddr

Source§

fn from(node_id: NodeId) -> Self

Converts to this type from the input type.
Source§

impl From<VerifyingKey> for PublicKey

Source§

fn from(verifying_key: VerifyingKey) -> Self

Converts to this type from the input type.
Source§

impl FromStr for PublicKey

Deserialises the PublicKey from it’s base32 encoding.

Display is capable of serialising this format.

Source§

type Err = KeyParsingError

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

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

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

impl Hash for PublicKey

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, @@ -30,8 +30,8 @@ representation of the key.

and should not be overridden without very good reason.

Source§

impl PartialOrd for PublicKey

Source§

fn partial_cmp(&self, other: &Self) -> 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 Serialize for PublicKey

Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where - S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<&[u8]> for PublicKey

Source§

type Error = Error

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

fn try_from(bytes: &[u8]) -> Result<Self, Self::Error>

Performs the conversion.
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(bytes: &[u8; 32]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl Copy for PublicKey

Source§

impl Eq for PublicKey

Source§

impl StructuralPartialEq for PublicKey

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

impl Serialize for PublicKey

Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<&[u8]> for PublicKey

Source§

type Error = Error

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

fn try_from(bytes: &[u8]) -> Result<Self, Self::Error>

Performs the conversion.
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(bytes: &[u8; 32]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl Copy for PublicKey

Source§

impl Eq for PublicKey

Source§

impl StructuralPartialEq for PublicKey

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 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 @@ -40,10 +40,10 @@ the >= operator. 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.

-
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where +

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> 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.
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor 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.
Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh_base/struct.RelayUrl.html b/pr/3269/docs/iroh_base/struct.RelayUrl.html index 4b8b84eff0..c75e006edc 100644 --- a/pr/3269/docs/iroh_base/struct.RelayUrl.html +++ b/pr/3269/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:

    @@ -426,8 +426,8 @@ but the input may have been percent-encoded already.

Source

pub fn serialize_internal<S>( &self, serializer: S, -) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where - S: Serializer,

Available on crate feature serde only.

Serialize with Serde using the internal representation of the Url struct.

+) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where + S: Serializer,
Available on crate feature serde only.

Serialize with Serde using the internal representation of the Url struct.

The corresponding deserialize_internal method sacrifices some invariant-checking for speed, compared to the Deserialize trait impl.

This method is only available if the serde Cargo feature is enabled.

@@ -447,8 +447,8 @@ for a Windows path, is not UTF-8.)

Trait Implementations§

Source§

impl Clone for RelayUrl

Source§

fn clone(&self) -> RelayUrl

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 RelayUrl

Source§

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

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

impl Deref for RelayUrl

Dereferences to the wrapped Url.

Note that DerefMut is not implemented on purpose, so this type has more flexibility to change the inner later.

-
Source§

type Target = Url

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl<'de> Deserialize<'de> for RelayUrl

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for RelayUrl

Source§

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

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

impl From<RelayUrl> for Url

Source§

fn from(value: RelayUrl) -> Self

Converts to this type from the input type.
Source§

impl From<Url> for RelayUrl

Source§

fn from(url: Url) -> Self

Converts to this type from the input type.
Source§

impl FromStr for RelayUrl

Support for parsing strings directly.

+
Source§

type Target = Url

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl<'de> Deserialize<'de> for RelayUrl

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for RelayUrl

Source§

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

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

impl From<RelayUrl> for Url

Source§

fn from(value: RelayUrl) -> Self

Converts to this type from the input type.
Source§

impl From<Url> for RelayUrl

Source§

fn from(url: Url) -> Self

Converts to this type from the input type.
Source§

impl FromStr for RelayUrl

Support for parsing strings directly.

If you need more control over the error first create a Url and use RelayUrl::from instead.

Source§

type Err = RelayUrlParseError

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

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

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

impl Hash for RelayUrl

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 @@ -460,8 +460,8 @@ instead.

and should not be overridden without very good reason.

Source§

impl PartialOrd for RelayUrl

Source§

fn partial_cmp(&self, other: &RelayUrl) -> 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 Serialize for RelayUrl

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for RelayUrl

Source§

impl StructuralPartialEq for RelayUrl

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

impl Serialize for RelayUrl

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for RelayUrl

Source§

impl StructuralPartialEq for RelayUrl

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 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 @@ -472,10 +472,10 @@ the >= operator. From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, - T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
Available on non-bootstrap only.
The target type on which the method may be called.
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

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

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
Available on non-bootstrap only.
The target type on which the method may be called.
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> 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.
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor 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.
Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh_base/struct.RelayUrlParseError.html b/pr/3269/docs/iroh_base/struct.RelayUrlParseError.html index 63e9957b02..d92c74dcae 100644 --- a/pr/3269/docs/iroh_base/struct.RelayUrlParseError.html +++ b/pr/3269/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 @@ -7,7 +7,7 @@ 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.

-
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToString for T
where +

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<T> ErasedDestructor for T
where diff --git a/pr/3269/docs/iroh_base/struct.SecretKey.html b/pr/3269/docs/iroh_base/struct.SecretKey.html index 64486e9017..29896ee603 100644 --- a/pr/3269/docs/iroh_base/struct.SecretKey.html +++ b/pr/3269/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 generate<R: CryptoRngCore>(csprng: R) -> Self

Generate a new SecretKey with a randomness generator.

@@ -10,9 +10,9 @@ The public part can always be recovered.

Source

pub fn from_bytes(bytes: &[u8; 32]) -> Self

Create a secret key from its byte representation.

Source

pub fn secret(&self) -> &SigningKey

Returns the [SigningKey] for this SecretKey.

-

Trait Implementations§

Source§

impl Clone for SecretKey

Source§

fn clone(&self) -> SecretKey

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 SecretKey

Source§

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

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

impl<'de> Deserialize<'de> for SecretKey

Source§

fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where - D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for SecretKey

Source§

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

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

impl From<[u8; 32]> for SecretKey

Source§

fn from(value: [u8; 32]) -> Self

Converts to this type from the input type.
Source§

impl From<SigningKey> for SecretKey

Source§

fn from(secret: SigningKey) -> Self

Converts to this type from the input type.
Source§

impl FromStr for SecretKey

Source§

type Err = KeyParsingError

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

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

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

impl Serialize for SecretKey

Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where - S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<&[u8]> for SecretKey

Source§

type Error = Error

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

fn try_from(bytes: &[u8]) -> Result<Self, Self::Error>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Clone for SecretKey

Source§

fn clone(&self) -> SecretKey

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 SecretKey

Source§

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

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

impl<'de> Deserialize<'de> for SecretKey

Source§

fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where + D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for SecretKey

Source§

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

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

impl From<[u8; 32]> for SecretKey

Source§

fn from(value: [u8; 32]) -> Self

Converts to this type from the input type.
Source§

impl From<SigningKey> for SecretKey

Source§

fn from(secret: SigningKey) -> Self

Converts to this type from the input type.
Source§

impl FromStr for SecretKey

Source§

type Err = KeyParsingError

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

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

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

impl Serialize for SecretKey

Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<&[u8]> for SecretKey

Source§

type Error = Error

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

fn try_from(bytes: &[u8]) -> Result<Self, Self::Error>

Performs the conversion.

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 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 @@ -21,10 +21,10 @@ The public part can always be recovered.

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.

-
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where +

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> 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.
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor 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.
Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh_base/struct.Signature.html b/pr/3269/docs/iroh_base/struct.Signature.html index ec286c1db8..6ed58cd6aa 100644 --- a/pr/3269/docs/iroh_base/struct.Signature.html +++ b/pr/3269/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.

@@ -17,18 +17,18 @@ elements at the time a signature is verified.

pub fn s_bytes(&self) -> &[u8; 32]

Bytes for the s component of a signature.

pub fn to_bytes(&self) -> [u8; 64]

Return the inner byte array.

pub fn to_vec(&self) -> Vec<u8>

Available on crate feature alloc only.

Convert this signature into a byte vector.

-

Trait Implementations§

§

impl Clone for Signature

§

fn clone(&self) -> Signature

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 Signature

§

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

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for Signature

§

fn deserialize<D>( +

Trait Implementations§

§

impl Clone for Signature

§

fn clone(&self) -> Signature

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 Signature

§

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

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for Signature

§

fn deserialize<D>( deserializer: D, -) -> Result<Signature, <D as Deserializer<'de>>::Error>
where - D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Display for Signature

§

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

Formats the value using the given formatter. Read more
§

impl From<&[u8; 64]> for Signature

§

fn from(bytes: &[u8; 64]) -> Signature

Converts to this type from the input type.
§

impl From<[u8; 64]> for Signature

§

fn from(bytes: [u8; 64]) -> Signature

Converts to this type from the input type.
§

impl From<InternalSignature> for Signature

§

fn from(sig: InternalSignature) -> Signature

Converts to this type from the input type.
§

impl FromStr for Signature

Decode a signature from hexadecimal.

+) -> Result<Signature, <D as Deserializer<'de>>::Error>
where + D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§

impl Display for Signature

§

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

Formats the value using the given formatter. Read more
§

impl From<&[u8; 64]> for Signature

§

fn from(bytes: &[u8; 64]) -> Signature

Converts to this type from the input type.
§

impl From<[u8; 64]> for Signature

§

fn from(bytes: [u8; 64]) -> Signature

Converts to this type from the input type.
§

impl From<InternalSignature> for Signature

§

fn from(sig: InternalSignature) -> Signature

Converts to this type from the input type.
§

impl FromStr for Signature

Decode a signature from hexadecimal.

Upper and lower case hexadecimal are both accepted, however mixed case is rejected.

§

type Err = Error

The associated error which can be returned from parsing.
§

fn from_str(hex: &str) -> Result<Signature, Error>

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

impl LowerHex for Signature

§

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

Formats the value using the given formatter. Read more
§

impl PartialEq for Signature

§

fn eq(&self, other: &Signature) -> 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 Serialize for Signature

§

fn serialize<S>( +and should not be overridden without very good reason.

§

impl Serialize for Signature

§

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 SignatureEncoding for Signature

§

type Repr = [u8; 64]

Byte representation of a signature.
§

fn to_bytes(&self) -> [u8; 64]

Encode signature as its byte representation.
§

fn to_vec(&self) -> Vec<u8>

Available on crate feature alloc only.
Encode signature as a byte vector.
§

fn encoded_len(&self) -> usize

Get the length of this signature when encoded.
§

impl TryFrom<&[u8]> for Signature

§

type Error = Error

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

fn try_from(bytes: &[u8]) -> Result<Signature, Error>

Performs the conversion.
§

impl UpperHex for Signature

§

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

Formats the value using the given formatter. Read more
§

impl Copy for Signature

§

impl Eq for Signature

§

impl StructuralPartialEq for Signature

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl SignatureEncoding for Signature

§

type Repr = [u8; 64]

Byte representation of a signature.
§

fn to_bytes(&self) -> [u8; 64]

Encode signature as its byte representation.
§

fn to_vec(&self) -> Vec<u8>

Available on crate feature alloc only.
Encode signature as a byte vector.
§

fn encoded_len(&self) -> usize

Get the length of this signature when encoded.
§

impl TryFrom<&[u8]> for Signature

§

type Error = Error

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

fn try_from(bytes: &[u8]) -> Result<Signature, Error>

Performs the conversion.
§

impl UpperHex for Signature

§

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

Formats the value using the given formatter. Read more
§

impl Copy for Signature

§

impl Eq for Signature

§

impl StructuralPartialEq for Signature

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 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 @@ -37,10 +37,10 @@ and should not be overridden without very good reason.

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.

-
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where +

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> 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.
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor 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.
Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh_base/ticket/enum.Error.html b/pr/3269/docs/iroh_base/ticket/enum.Error.html index 4184eeb354..a026f66814 100644 --- a/pr/3269/docs/iroh_base/ticket/enum.Error.html +++ b/pr/3269/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,
     },
@@ -19,7 +19,7 @@
     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.

-
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToString for T
where +

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<T> ErasedDestructor for T
where diff --git a/pr/3269/docs/iroh_base/ticket/index.html b/pr/3269/docs/iroh_base/ticket/index.html index 1e00aa4ad6..86eb71d757 100644 --- a/pr/3269/docs/iroh_base/ticket/index.html +++ b/pr/3269/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/3269/docs/iroh_base/ticket/struct.NodeTicket.html b/pr/3269/docs/iroh_base/ticket/struct.NodeTicket.html index 1065162c4f..22d24d6185 100644 --- a/pr/3269/docs/iroh_base/ticket/struct.NodeTicket.html +++ b/pr/3269/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

  • The NodeId of the node to connect to (a 32-byte ed25519 public key).
  • @@ -12,10 +12,10 @@ implements the Implementations§

Source§

impl NodeTicket

Source

pub fn new(node: NodeAddr) -> Self

Creates a new ticket.

Source

pub fn node_addr(&self) -> &NodeAddr

The NodeAddr of the provider for this ticket.

-

Trait Implementations§

Source§

impl Clone for NodeTicket

Source§

fn clone(&self) -> NodeTicket

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 NodeTicket

Source§

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

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

impl<'de> Deserialize<'de> for NodeTicket

Source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for NodeTicket

Source§

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

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

impl From<NodeAddr> for NodeTicket

Source§

fn from(addr: NodeAddr) -> Self

Creates a ticket from given addressing info.

+

Trait Implementations§

Source§

impl Clone for NodeTicket

Source§

fn clone(&self) -> NodeTicket

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 NodeTicket

Source§

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

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

impl<'de> Deserialize<'de> for NodeTicket

Source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for NodeTicket

Source§

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

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

impl From<NodeAddr> for NodeTicket

Source§

fn from(addr: NodeAddr) -> Self

Creates a ticket from given addressing info.

Source§

impl From<NodeTicket> for NodeAddr

Source§

fn from(ticket: NodeTicket) -> Self

Returns the addressing info from given ticket.

Source§

impl FromStr for NodeTicket

Source§

type Err = Error

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

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

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

impl PartialEq for NodeTicket

Source§

fn eq(&self, other: &NodeTicket) -> 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 Serialize for NodeTicket

Source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
Source§

impl Ticket for NodeTicket

Source§

const KIND: &'static str = "node"

String prefix describing the kind of iroh ticket. Read more
Source§

fn to_bytes(&self) -> Vec<u8>

Serialize to bytes used in the base32 string representation.
Source§

fn from_bytes(bytes: &[u8]) -> Result<Self, Error>

Deserialize from the base32 string representation bytes.
Source§

fn serialize(&self) -> String

Serialize to string.
Source§

fn deserialize(str: &str) -> Result<Self, Error>

Deserialize from a string.
Source§

impl Eq for NodeTicket

Source§

impl StructuralPartialEq for NodeTicket

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +and should not be overridden without very good reason.

Source§

impl Serialize for NodeTicket

Source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
Source§

impl Ticket for NodeTicket

Source§

const KIND: &'static str = "node"

String prefix describing the kind of iroh ticket. Read more
Source§

fn to_bytes(&self) -> Vec<u8>

Serialize to bytes used in the base32 string representation.
Source§

fn from_bytes(bytes: &[u8]) -> Result<Self, Error>

Deserialize from the base32 string representation bytes.
Source§

fn serialize(&self) -> String

Serialize to string.
Source§

fn deserialize(str: &str) -> Result<Self, Error>

Deserialize from a string.
Source§

impl Eq for NodeTicket

Source§

impl StructuralPartialEq for NodeTicket

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 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 @@ -24,10 +24,10 @@ and should not be overridden without very good reason.

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.

-
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where +

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> 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.
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor 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.
Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh_base/ticket/trait.Ticket.html b/pr/3269/docs/iroh_base/ticket/trait.Ticket.html index da7a2fe804..4da49b4ce6 100644 --- a/pr/3269/docs/iroh_base/ticket/trait.Ticket.html +++ b/pr/3269/docs/iroh_base/ticket/trait.Ticket.html @@ -1,4 +1,4 @@ -Ticket in iroh_base::ticket - Rust
iroh_base::ticket

Trait Ticket

Source
pub trait Ticket: Sized {
+Ticket in iroh_base::ticket - Rust
iroh_base::ticket

Trait Ticket

Source
pub trait Ticket: Sized {
     const KIND: &'static str;
 
     // Required methods
diff --git a/pr/3269/docs/iroh_base/type.NodeId.html b/pr/3269/docs/iroh_base/type.NodeId.html
index 8df5f08433..f34717c23d 100644
--- a/pr/3269/docs/iroh_base/type.NodeId.html
+++ b/pr/3269/docs/iroh_base/type.NodeId.html
@@ -1,4 +1,4 @@
-NodeId in iroh_base - Rust
iroh_base

Type Alias NodeId

Source
pub type NodeId = PublicKey;
Available on crate feature key only.
Expand description

The identifier for a node in the (iroh) network.

+NodeId in iroh_base - Rust
iroh_base

Type Alias NodeId

Source
pub type NodeId = PublicKey;
Available on crate feature key only.
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/3269/docs/iroh_bench/all.html b/pr/3269/docs/iroh_bench/all.html index 3c8bbb022b..bca673f957 100644 --- a/pr/3269/docs/iroh_bench/all.html +++ b/pr/3269/docs/iroh_bench/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/3269/docs/iroh_bench/enum.Commands.html b/pr/3269/docs/iroh_bench/enum.Commands.html index 24c59c806a..2e3a059f25 100644 --- a/pr/3269/docs/iroh_bench/enum.Commands.html +++ b/pr/3269/docs/iroh_bench/enum.Commands.html @@ -1,4 +1,4 @@ -Commands in iroh_bench - Rust
iroh_bench

Enum Commands

Source
pub enum Commands {
+Commands in iroh_bench - Rust
iroh_bench

Enum Commands

Source
pub enum Commands {
     Iroh(Opt),
     Quinn(Opt),
     S2n(Opt),
@@ -31,8 +31,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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -40,7 +40,7 @@ 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 +

§

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 diff --git a/pr/3269/docs/iroh_bench/enum.ConnectionSelector.html b/pr/3269/docs/iroh_bench/enum.ConnectionSelector.html index 421bf40cde..03ed6eab6a 100644 --- a/pr/3269/docs/iroh_bench/enum.ConnectionSelector.html +++ b/pr/3269/docs/iroh_bench/enum.ConnectionSelector.html @@ -1,7 +1,7 @@ -ConnectionSelector in iroh_bench - Rust
iroh_bench

Enum ConnectionSelector

Source
pub enum ConnectionSelector {
-    Iroh(Connection),
+ConnectionSelector in iroh_bench - Rust
iroh_bench

Enum ConnectionSelector

Source
pub enum ConnectionSelector {
+    Iroh(Connection),
     Quinn(Connection),
-}

Variants§

§

Iroh(Connection)

§

Quinn(Connection)

Implementations§

Source§

impl ConnectionSelector

Source

pub fn stats(&self)

Source

pub fn close(&self, error_code: u32, reason: &[u8])

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +}

Variants§

§

Iroh(Connection)

§

Quinn(Connection)

Implementations§

Source§

impl ConnectionSelector

Source

pub fn stats(&self)

Source

pub fn close(&self, error_code: u32, reason: &[u8])

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( @@ -18,7 +18,7 @@ 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 +

§

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 diff --git a/pr/3269/docs/iroh_bench/enum.EndpointSelector.html b/pr/3269/docs/iroh_bench/enum.EndpointSelector.html index ade5cc924b..2160ad6f51 100644 --- a/pr/3269/docs/iroh_bench/enum.EndpointSelector.html +++ b/pr/3269/docs/iroh_bench/enum.EndpointSelector.html @@ -1,7 +1,7 @@ -EndpointSelector in iroh_bench - Rust
iroh_bench

Enum EndpointSelector

Source
pub enum EndpointSelector {
-    Iroh(Endpoint),
+EndpointSelector in iroh_bench - Rust
iroh_bench

Enum EndpointSelector

Source
pub enum EndpointSelector {
+    Iroh(Endpoint),
     Quinn(Endpoint),
-}

Variants§

§

Iroh(Endpoint)

§

Quinn(Endpoint)

Implementations§

Source§

impl EndpointSelector

Source

pub async fn close(self)

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +}

Variants§

§

Iroh(Endpoint)

§

Quinn(Endpoint)

Implementations§

Source§

impl EndpointSelector

Source

pub async fn close(self)

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( @@ -18,7 +18,7 @@ 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 +

§

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 diff --git a/pr/3269/docs/iroh_bench/fn.client_handler.html b/pr/3269/docs/iroh_bench/fn.client_handler.html index a717d48c3f..408965371a 100644 --- a/pr/3269/docs/iroh_bench/fn.client_handler.html +++ b/pr/3269/docs/iroh_bench/fn.client_handler.html @@ -1,6 +1,6 @@ -client_handler in iroh_bench - Rust
iroh_bench

Function client_handler

Source
pub async fn client_handler(
+client_handler in iroh_bench - Rust
iroh_bench

Function client_handler

Source
pub async fn client_handler(
     endpoint: EndpointSelector,
     connection: ConnectionSelector,
     opt: Opt,
-) -> Result<ClientStats>
Expand description

Take the provided endpoint and run the client benchmark

+) -> Result<ClientStats>
Expand description

Take the provided endpoint and run the client benchmark

\ No newline at end of file diff --git a/pr/3269/docs/iroh_bench/fn.configure_tracing_subscriber.html b/pr/3269/docs/iroh_bench/fn.configure_tracing_subscriber.html index bce7d75c4b..92c9e38d81 100644 --- a/pr/3269/docs/iroh_bench/fn.configure_tracing_subscriber.html +++ b/pr/3269/docs/iroh_bench/fn.configure_tracing_subscriber.html @@ -1 +1 @@ -configure_tracing_subscriber in iroh_bench - Rust
iroh_bench

Function configure_tracing_subscriber

Source
pub fn configure_tracing_subscriber()
\ No newline at end of file +configure_tracing_subscriber in iroh_bench - Rust
iroh_bench

Function configure_tracing_subscriber

Source
pub fn configure_tracing_subscriber()
\ No newline at end of file diff --git a/pr/3269/docs/iroh_bench/fn.rt.html b/pr/3269/docs/iroh_bench/fn.rt.html index c5c2595b4f..e316898ffa 100644 --- a/pr/3269/docs/iroh_bench/fn.rt.html +++ b/pr/3269/docs/iroh_bench/fn.rt.html @@ -1 +1 @@ -rt in iroh_bench - Rust
iroh_bench

Function rt

Source
pub fn rt() -> Runtime
\ No newline at end of file +rt in iroh_bench - Rust
iroh_bench

Function rt

Source
pub fn rt() -> Runtime
\ No newline at end of file diff --git a/pr/3269/docs/iroh_bench/index.html b/pr/3269/docs/iroh_bench/index.html index b06dd17fec..5544f2b808 100644 --- a/pr/3269/docs/iroh_bench/index.html +++ b/pr/3269/docs/iroh_bench/index.html @@ -1 +1 @@ -iroh_bench - Rust

Crate iroh_bench

Source

Modules§

Structs§

Enums§

Functions§

\ No newline at end of file +iroh_bench - Rust

Crate iroh_bench

Source

Modules§

Structs§

Enums§

Functions§

\ No newline at end of file diff --git a/pr/3269/docs/iroh_bench/iroh/constant.ALPN.html b/pr/3269/docs/iroh_bench/iroh/constant.ALPN.html index b586d08c9e..572b65c535 100644 --- a/pr/3269/docs/iroh_bench/iroh/constant.ALPN.html +++ b/pr/3269/docs/iroh_bench/iroh/constant.ALPN.html @@ -1 +1 @@ -ALPN in iroh_bench::iroh - Rust
iroh_bench::iroh

Constant ALPN

Source
pub const ALPN: &[u8] = b"n0/iroh-bench/0";
\ No newline at end of file +ALPN in iroh_bench::iroh - Rust
iroh_bench::iroh

Constant ALPN

Source
pub const ALPN: &[u8] = b"n0/iroh-bench/0";
\ No newline at end of file diff --git a/pr/3269/docs/iroh_bench/iroh/fn.client.html b/pr/3269/docs/iroh_bench/iroh/fn.client.html index 3e20cf8d54..ff1278df55 100644 --- a/pr/3269/docs/iroh_bench/iroh/fn.client.html +++ b/pr/3269/docs/iroh_bench/iroh/fn.client.html @@ -1,6 +1,6 @@ -client in iroh_bench::iroh - Rust
iroh_bench::iroh

Function client

Source
pub async fn client(
+client in iroh_bench::iroh - Rust
iroh_bench::iroh

Function client

Source
pub async fn client(
     server_addr: NodeAddr,
     relay_url: Option<RelayUrl>,
     opt: Opt,
-) -> Result<ClientStats>
Expand description

Create and run a client

+) -> Result<ClientStats>
Expand description

Create and run a client

\ No newline at end of file diff --git a/pr/3269/docs/iroh_bench/iroh/fn.connect_client.html b/pr/3269/docs/iroh_bench/iroh/fn.connect_client.html index 6c2c723d15..c49257b256 100644 --- a/pr/3269/docs/iroh_bench/iroh/fn.connect_client.html +++ b/pr/3269/docs/iroh_bench/iroh/fn.connect_client.html @@ -1,6 +1,6 @@ -connect_client in iroh_bench::iroh - Rust
iroh_bench::iroh

Function connect_client

Source
pub async fn connect_client(
+connect_client in iroh_bench::iroh - Rust
iroh_bench::iroh

Function connect_client

Source
pub async fn connect_client(
     server_addr: NodeAddr,
     relay_url: Option<RelayUrl>,
     opt: Opt,
-) -> Result<(Endpoint, Connection)>
Expand description

Create a client endpoint and client connection

+) -> Result<(Endpoint, Connection)>
Expand description

Create a client endpoint and client connection

\ No newline at end of file diff --git a/pr/3269/docs/iroh_bench/iroh/fn.handle_client_stream.html b/pr/3269/docs/iroh_bench/iroh/fn.handle_client_stream.html index f7beb4b525..ccef33db3e 100644 --- a/pr/3269/docs/iroh_bench/iroh/fn.handle_client_stream.html +++ b/pr/3269/docs/iroh_bench/iroh/fn.handle_client_stream.html @@ -1,5 +1,5 @@ -handle_client_stream in iroh_bench::iroh - Rust
iroh_bench::iroh

Function handle_client_stream

Source
pub async fn handle_client_stream(
-    connection: &Connection,
+handle_client_stream in iroh_bench::iroh - Rust
iroh_bench::iroh

Function handle_client_stream

Source
pub async fn handle_client_stream(
+    connection: &Connection,
     upload_size: u64,
     read_unordered: bool,
-) -> Result<(TransferResult, TransferResult)>
\ No newline at end of file +) -> Result<(TransferResult, TransferResult)>
\ No newline at end of file diff --git a/pr/3269/docs/iroh_bench/iroh/fn.server.html b/pr/3269/docs/iroh_bench/iroh/fn.server.html index b9123145bf..1a9b97acaa 100644 --- a/pr/3269/docs/iroh_bench/iroh/fn.server.html +++ b/pr/3269/docs/iroh_bench/iroh/fn.server.html @@ -1,2 +1,2 @@ -server in iroh_bench::iroh - Rust
iroh_bench::iroh

Function server

Source
pub async fn server(endpoint: Endpoint, opt: Opt) -> Result<()>
Expand description

Take the provided endpoint and run the server

+server in iroh_bench::iroh - Rust
iroh_bench::iroh

Function server

Source
pub async fn server(endpoint: Endpoint, opt: Opt) -> Result<()>
Expand description

Take the provided endpoint and run the server

\ No newline at end of file diff --git a/pr/3269/docs/iroh_bench/iroh/fn.server_endpoint.html b/pr/3269/docs/iroh_bench/iroh/fn.server_endpoint.html index 1eaf2b13be..2de49dd53e 100644 --- a/pr/3269/docs/iroh_bench/iroh/fn.server_endpoint.html +++ b/pr/3269/docs/iroh_bench/iroh/fn.server_endpoint.html @@ -1,6 +1,6 @@ -server_endpoint in iroh_bench::iroh - Rust
iroh_bench::iroh

Function server_endpoint

Source
pub fn server_endpoint(
+server_endpoint in iroh_bench::iroh - Rust
iroh_bench::iroh

Function server_endpoint

Source
pub fn server_endpoint(
     rt: &Runtime,
     relay_url: &Option<RelayUrl>,
     opt: &Opt,
-) -> (NodeAddr, Endpoint)
Expand description

Creates a server endpoint which runs on the given runtime

+) -> (NodeAddr, Endpoint)
Expand description

Creates a server endpoint which runs on the given runtime

\ No newline at end of file diff --git a/pr/3269/docs/iroh_bench/iroh/fn.transport_config.html b/pr/3269/docs/iroh_bench/iroh/fn.transport_config.html index d63eed3d30..df3ef38ecb 100644 --- a/pr/3269/docs/iroh_bench/iroh/fn.transport_config.html +++ b/pr/3269/docs/iroh_bench/iroh/fn.transport_config.html @@ -1 +1 @@ -transport_config in iroh_bench::iroh - Rust
iroh_bench::iroh

Function transport_config

Source
pub fn transport_config(max_streams: usize, initial_mtu: u16) -> TransportConfig
\ No newline at end of file +transport_config in iroh_bench::iroh - Rust
iroh_bench::iroh

Function transport_config

Source
pub fn transport_config(max_streams: usize, initial_mtu: u16) -> TransportConfig
\ No newline at end of file diff --git a/pr/3269/docs/iroh_bench/iroh/index.html b/pr/3269/docs/iroh_bench/iroh/index.html index f62163d98d..cfa1274883 100644 --- a/pr/3269/docs/iroh_bench/iroh/index.html +++ b/pr/3269/docs/iroh_bench/iroh/index.html @@ -1 +1 @@ -iroh_bench::iroh - Rust
iroh_bench

Module iroh

Source

Constants§

Functions§

\ No newline at end of file +iroh_bench::iroh - Rust
iroh_bench

Module iroh

Source

Constants§

Functions§

\ No newline at end of file diff --git a/pr/3269/docs/iroh_bench/quinn/constant.ALPN.html b/pr/3269/docs/iroh_bench/quinn/constant.ALPN.html index 9bc71c7e24..34439fe790 100644 --- a/pr/3269/docs/iroh_bench/quinn/constant.ALPN.html +++ b/pr/3269/docs/iroh_bench/quinn/constant.ALPN.html @@ -1 +1 @@ -ALPN in iroh_bench::quinn - Rust
iroh_bench::quinn

Constant ALPN

Source
pub const ALPN: &[u8] = b"n0/quinn-bench/0";
\ No newline at end of file +ALPN in iroh_bench::quinn - Rust
iroh_bench::quinn

Constant ALPN

Source
pub const ALPN: &[u8] = b"n0/quinn-bench/0";
\ No newline at end of file diff --git a/pr/3269/docs/iroh_bench/quinn/fn.client.html b/pr/3269/docs/iroh_bench/quinn/fn.client.html index 31fe406692..1dfb14079f 100644 --- a/pr/3269/docs/iroh_bench/quinn/fn.client.html +++ b/pr/3269/docs/iroh_bench/quinn/fn.client.html @@ -1,6 +1,6 @@ -client in iroh_bench::quinn - Rust
iroh_bench::quinn

Function client

Source
pub async fn client(
+client in iroh_bench::quinn - Rust
iroh_bench::quinn

Function client

Source
pub async fn client(
     server_addr: SocketAddr,
     server_cert: CertificateDer<'static>,
     opt: Opt,
-) -> Result<ClientStats>
Expand description

Create and run a client

+) -> Result<ClientStats>
Expand description

Create and run a client

\ No newline at end of file diff --git a/pr/3269/docs/iroh_bench/quinn/fn.connect_client.html b/pr/3269/docs/iroh_bench/quinn/fn.connect_client.html index 552c24dee3..93549a537c 100644 --- a/pr/3269/docs/iroh_bench/quinn/fn.connect_client.html +++ b/pr/3269/docs/iroh_bench/quinn/fn.connect_client.html @@ -1,6 +1,6 @@ -connect_client in iroh_bench::quinn - Rust
iroh_bench::quinn

Function connect_client

Source
pub async fn connect_client(
+connect_client in iroh_bench::quinn - Rust
iroh_bench::quinn

Function connect_client

Source
pub async fn connect_client(
     server_addr: SocketAddr,
     server_cert: CertificateDer<'_>,
     opt: Opt,
-) -> Result<(Endpoint, Connection)>
Expand description

Create a client endpoint and client connection

+) -> Result<(Endpoint, Connection)>
Expand description

Create a client endpoint and client connection

\ No newline at end of file diff --git a/pr/3269/docs/iroh_bench/quinn/fn.handle_client_stream.html b/pr/3269/docs/iroh_bench/quinn/fn.handle_client_stream.html index 98fbc187c4..83155b5c85 100644 --- a/pr/3269/docs/iroh_bench/quinn/fn.handle_client_stream.html +++ b/pr/3269/docs/iroh_bench/quinn/fn.handle_client_stream.html @@ -1,5 +1,5 @@ -handle_client_stream in iroh_bench::quinn - Rust
iroh_bench::quinn

Function handle_client_stream

Source
pub async fn handle_client_stream(
+handle_client_stream in iroh_bench::quinn - Rust
iroh_bench::quinn

Function handle_client_stream

Source
pub async fn handle_client_stream(
     connection: &Connection,
     upload_size: u64,
     read_unordered: bool,
-) -> Result<(TransferResult, TransferResult)>
\ No newline at end of file +) -> Result<(TransferResult, TransferResult)>
\ No newline at end of file diff --git a/pr/3269/docs/iroh_bench/quinn/fn.server.html b/pr/3269/docs/iroh_bench/quinn/fn.server.html index 1a3f045843..0cd4b2291a 100644 --- a/pr/3269/docs/iroh_bench/quinn/fn.server.html +++ b/pr/3269/docs/iroh_bench/quinn/fn.server.html @@ -1,2 +1,2 @@ -server in iroh_bench::quinn - Rust
iroh_bench::quinn

Function server

Source
pub async fn server(endpoint: Endpoint, opt: Opt) -> Result<()>
Expand description

Take the provided endpoint and run the server

+server in iroh_bench::quinn - Rust
iroh_bench::quinn

Function server

Source
pub async fn server(endpoint: Endpoint, opt: Opt) -> Result<()>
Expand description

Take the provided endpoint and run the server

\ No newline at end of file diff --git a/pr/3269/docs/iroh_bench/quinn/fn.server_endpoint.html b/pr/3269/docs/iroh_bench/quinn/fn.server_endpoint.html index 25238de373..290ff64ee5 100644 --- a/pr/3269/docs/iroh_bench/quinn/fn.server_endpoint.html +++ b/pr/3269/docs/iroh_bench/quinn/fn.server_endpoint.html @@ -1,4 +1,4 @@ -server_endpoint in iroh_bench::quinn - Rust
iroh_bench::quinn

Function server_endpoint

Source
pub fn server_endpoint(
+server_endpoint in iroh_bench::quinn - Rust
iroh_bench::quinn

Function server_endpoint

Source
pub fn server_endpoint(
     rt: &Runtime,
     cert: CertificateDer<'static>,
     key: PrivateKeyDer<'static>,
diff --git a/pr/3269/docs/iroh_bench/quinn/fn.transport_config.html b/pr/3269/docs/iroh_bench/quinn/fn.transport_config.html
index bd5cf4501f..2f7b7dacd1 100644
--- a/pr/3269/docs/iroh_bench/quinn/fn.transport_config.html
+++ b/pr/3269/docs/iroh_bench/quinn/fn.transport_config.html
@@ -1 +1 @@
-transport_config in iroh_bench::quinn - Rust
iroh_bench::quinn

Function transport_config

Source
pub fn transport_config(max_streams: usize, initial_mtu: u16) -> TransportConfig
\ No newline at end of file +transport_config in iroh_bench::quinn - Rust
iroh_bench::quinn

Function transport_config

Source
pub fn transport_config(max_streams: usize, initial_mtu: u16) -> TransportConfig
\ No newline at end of file diff --git a/pr/3269/docs/iroh_bench/quinn/index.html b/pr/3269/docs/iroh_bench/quinn/index.html index 7d18257bf6..e0eb5599de 100644 --- a/pr/3269/docs/iroh_bench/quinn/index.html +++ b/pr/3269/docs/iroh_bench/quinn/index.html @@ -1 +1 @@ -iroh_bench::quinn - Rust
iroh_bench

Module quinn

Source

Constants§

Functions§

\ No newline at end of file +iroh_bench::quinn - Rust
iroh_bench

Module quinn

Source

Constants§

Functions§

\ No newline at end of file diff --git a/pr/3269/docs/iroh_bench/s2n/index.html b/pr/3269/docs/iroh_bench/s2n/index.html index e98abc1daf..cf95e9d15f 100644 --- a/pr/3269/docs/iroh_bench/s2n/index.html +++ b/pr/3269/docs/iroh_bench/s2n/index.html @@ -1 +1 @@ -iroh_bench::s2n - Rust
iroh_bench

Module s2n

Source

Structs§

\ No newline at end of file +iroh_bench::s2n - Rust
iroh_bench

Module s2n

Source

Structs§

\ No newline at end of file diff --git a/pr/3269/docs/iroh_bench/s2n/struct.Opt.html b/pr/3269/docs/iroh_bench/s2n/struct.Opt.html index bb1e23db83..25369b7a4f 100644 --- a/pr/3269/docs/iroh_bench/s2n/struct.Opt.html +++ b/pr/3269/docs/iroh_bench/s2n/struct.Opt.html @@ -1,4 +1,4 @@ -Opt in iroh_bench::s2n - Rust
iroh_bench::s2n

Struct Opt

Source
pub struct Opt {}

Trait Implementations§

Source§

impl Args for Opt

Source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
Source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self via +Opt in iroh_bench::s2n - Rust
iroh_bench::s2n

Struct Opt

Source
pub struct Opt {}

Trait Implementations§

Source§

impl Args for Opt

Source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
Source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self via [FromArgMatches::from_arg_matches_mut] Read more
Source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate self via [FromArgMatches::update_from_arg_matches_mut] Read more
Source§

impl Clone for Opt

Source§

fn clone(&self) -> Opt

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 CommandFactory for Opt

Source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
Source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
Source§

impl Debug for Opt

Source§

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

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

impl FromArgMatches for Opt

Source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
Source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, @@ -27,8 +27,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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -36,7 +36,7 @@ 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 +

§

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 diff --git a/pr/3269/docs/iroh_bench/stats/fn.throughput_bps.html b/pr/3269/docs/iroh_bench/stats/fn.throughput_bps.html index 964447c97d..65ea65e16c 100644 --- a/pr/3269/docs/iroh_bench/stats/fn.throughput_bps.html +++ b/pr/3269/docs/iroh_bench/stats/fn.throughput_bps.html @@ -1 +1 @@ -throughput_bps in iroh_bench::stats - Rust
iroh_bench::stats

Function throughput_bps

Source
pub fn throughput_bps(duration: Duration, size: u64) -> f64
\ No newline at end of file +throughput_bps in iroh_bench::stats - Rust
iroh_bench::stats

Function throughput_bps

Source
pub fn throughput_bps(duration: Duration, size: u64) -> f64
\ No newline at end of file diff --git a/pr/3269/docs/iroh_bench/stats/index.html b/pr/3269/docs/iroh_bench/stats/index.html index 532a1d19d8..a80f4b4426 100644 --- a/pr/3269/docs/iroh_bench/stats/index.html +++ b/pr/3269/docs/iroh_bench/stats/index.html @@ -1 +1 @@ -iroh_bench::stats - Rust
iroh_bench

Module stats

Source

Structs§

Functions§

\ No newline at end of file +iroh_bench::stats - Rust
iroh_bench

Module stats

Source

Structs§

Functions§

\ No newline at end of file diff --git a/pr/3269/docs/iroh_bench/stats/struct.Stats.html b/pr/3269/docs/iroh_bench/stats/struct.Stats.html index ecb96ad68e..0f2a60dc83 100644 --- a/pr/3269/docs/iroh_bench/stats/struct.Stats.html +++ b/pr/3269/docs/iroh_bench/stats/struct.Stats.html @@ -1,4 +1,4 @@ -Stats in iroh_bench::stats - Rust
iroh_bench::stats

Struct Stats

Source
pub struct Stats {
+Stats in iroh_bench::stats - Rust
iroh_bench::stats

Struct Stats

Source
pub struct Stats {
     pub total_size: u64,
     pub total_duration: Duration,
     pub streams: usize,
@@ -20,7 +20,7 @@
     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 +

§

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 diff --git a/pr/3269/docs/iroh_bench/stats/struct.StreamStats.html b/pr/3269/docs/iroh_bench/stats/struct.StreamStats.html index e6f8eb3ae5..296a91345b 100644 --- a/pr/3269/docs/iroh_bench/stats/struct.StreamStats.html +++ b/pr/3269/docs/iroh_bench/stats/struct.StreamStats.html @@ -1,4 +1,4 @@ -StreamStats in iroh_bench::stats - Rust
iroh_bench::stats

Struct StreamStats

Source
pub struct StreamStats {
+StreamStats in iroh_bench::stats - Rust
iroh_bench::stats

Struct StreamStats

Source
pub struct StreamStats {
     pub duration_hist: Histogram<u64>,
     pub throughput_hist: Histogram<u64>,
     pub ttfb_hist: Histogram<u64>,
@@ -22,7 +22,7 @@
     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 +

§

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 diff --git a/pr/3269/docs/iroh_bench/stats/struct.TransferResult.html b/pr/3269/docs/iroh_bench/stats/struct.TransferResult.html index 93e37d8791..78f83ac138 100644 --- a/pr/3269/docs/iroh_bench/stats/struct.TransferResult.html +++ b/pr/3269/docs/iroh_bench/stats/struct.TransferResult.html @@ -1,4 +1,4 @@ -TransferResult in iroh_bench::stats - Rust
iroh_bench::stats

Struct TransferResult

Source
pub struct TransferResult {
+TransferResult in iroh_bench::stats - Rust
iroh_bench::stats

Struct TransferResult

Source
pub struct TransferResult {
     pub duration: Duration,
     pub size: u64,
     pub throughput: f64,
@@ -22,7 +22,7 @@
     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 +

§

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 diff --git a/pr/3269/docs/iroh_bench/struct.ClientStats.html b/pr/3269/docs/iroh_bench/struct.ClientStats.html index 6169b3d01f..b29adec76e 100644 --- a/pr/3269/docs/iroh_bench/struct.ClientStats.html +++ b/pr/3269/docs/iroh_bench/struct.ClientStats.html @@ -1,4 +1,4 @@ -ClientStats in iroh_bench - Rust
iroh_bench

Struct ClientStats

Source
pub struct ClientStats { /* private fields */ }

Implementations§

Source§

impl ClientStats

Source

pub fn print(&self, client_id: usize)

Trait Implementations§

Source§

impl Default for ClientStats

Source§

fn default() -> ClientStats

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

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +ClientStats in iroh_bench - Rust
iroh_bench

Struct ClientStats

Source
pub struct ClientStats { /* private fields */ }

Implementations§

Source§

impl ClientStats

Source

pub fn print(&self, client_id: usize)

Trait Implementations§

Source§

impl Default for ClientStats

Source§

fn default() -> ClientStats

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 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( @@ -15,7 +15,7 @@ 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 +

§

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 diff --git a/pr/3269/docs/iroh_bench/struct.Opt.html b/pr/3269/docs/iroh_bench/struct.Opt.html index cafe58cbc4..d69ca5684f 100644 --- a/pr/3269/docs/iroh_bench/struct.Opt.html +++ b/pr/3269/docs/iroh_bench/struct.Opt.html @@ -1,4 +1,4 @@ -Opt in iroh_bench - Rust
iroh_bench

Struct Opt

Source
pub struct Opt {
+Opt in iroh_bench - Rust
iroh_bench

Struct Opt

Source
pub struct Opt {
     pub clients: usize,
     pub streams: usize,
     pub max_streams: usize,
@@ -56,8 +56,8 @@ throughput for relay-only traffic.

) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -65,7 +65,7 @@ throughput for relay-only traffic.

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 +

§

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 diff --git a/pr/3269/docs/iroh_dns_server/all.html b/pr/3269/docs/iroh_dns_server/all.html index b2ba86462e..31d11a1e8c 100644 --- a/pr/3269/docs/iroh_dns_server/all.html +++ b/pr/3269/docs/iroh_dns_server/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/3269/docs/iroh_dns_server/config/enum.BootstrapOption.html b/pr/3269/docs/iroh_dns_server/config/enum.BootstrapOption.html index 0207a7618b..f340e05f0f 100644 --- a/pr/3269/docs/iroh_dns_server/config/enum.BootstrapOption.html +++ b/pr/3269/docs/iroh_dns_server/config/enum.BootstrapOption.html @@ -1,12 +1,12 @@ -BootstrapOption in iroh_dns_server::config - Rust
iroh_dns_server::config

Enum BootstrapOption

Source
pub enum BootstrapOption {
+BootstrapOption in iroh_dns_server::config - Rust
iroh_dns_server::config

Enum BootstrapOption

Source
pub enum BootstrapOption {
     Default,
     Custom(Vec<String>),
 }
Expand description

Configure the bootstrap servers for mainline DHT resolution.

Variants§

§

Default

Use the default bootstrap servers.

§

Custom(Vec<String>)

Use custom bootstrap servers.

-

Trait Implementations§

Source§

impl Debug for BootstrapOption

Source§

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

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

impl Default for BootstrapOption

Source§

fn default() -> BootstrapOption

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

impl<'de> Deserialize<'de> for BootstrapOption

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for BootstrapOption

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Debug for BootstrapOption

Source§

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

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

impl Default for BootstrapOption

Source§

fn default() -> BootstrapOption

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

impl<'de> Deserialize<'de> for BootstrapOption

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for BootstrapOption

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. 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( @@ -23,12 +23,12 @@ 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.

-
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

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

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
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where +[WithDispatch] wrapper. Read more

Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh_dns_server/config/index.html b/pr/3269/docs/iroh_dns_server/config/index.html index e3310d0e22..ec2f6124da 100644 --- a/pr/3269/docs/iroh_dns_server/config/index.html +++ b/pr/3269/docs/iroh_dns_server/config/index.html @@ -1,2 +1,2 @@ -iroh_dns_server::config - Rust
iroh_dns_server

Module config

Source
Expand description

Configuration for the server

+iroh_dns_server::config - Rust
iroh_dns_server

Module config

Source
Expand description

Configuration for the server

Structs§

Enums§

  • Configure the bootstrap servers for mainline DHT resolution.
\ No newline at end of file diff --git a/pr/3269/docs/iroh_dns_server/config/struct.Config.html b/pr/3269/docs/iroh_dns_server/config/struct.Config.html index c45ee233ab..9d99b3662e 100644 --- a/pr/3269/docs/iroh_dns_server/config/struct.Config.html +++ b/pr/3269/docs/iroh_dns_server/config/struct.Config.html @@ -1,4 +1,4 @@ -Config in iroh_dns_server::config - Rust
iroh_dns_server::config

Struct Config

Source
pub struct Config {
+Config in iroh_dns_server::config - Rust
iroh_dns_server::config

Struct Config

Source
pub struct Config {
     pub http: Option<HttpConfig>,
     pub https: Option<HttpsConfig>,
     pub dns: DnsConfig,
@@ -21,12 +21,12 @@ and testing.

§mainline: Option<MainlineConfig>

Config for the mainline lookup.

§zone_store: Option<StoreConfig>

Config for the zone store.

§pkarr_put_rate_limit: RateLimitConfig

Config for pkarr rate limit

-

Implementations§

Source§

impl Config

Source

pub async fn load(path: impl AsRef<Path>) -> Result<Config>

Load the config from a file.

-
Source

pub fn data_dir() -> Result<PathBuf>

Get the data directory.

-
Source

pub fn signed_packet_store_path() -> Result<PathBuf>

Get the path to the store database file.

-

Trait Implementations§

Source§

impl Debug for Config

Source§

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

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

impl Default for Config

Source§

fn default() -> Self

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

impl<'de> Deserialize<'de> for Config

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for Config

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl Freeze for Config

§

impl RefUnwindSafe for Config

§

impl Send for Config

§

impl Sync for Config

§

impl Unpin for Config

§

impl UnwindSafe for Config

Blanket Implementations§

Source§

impl<T> Any for T
where +

Implementations§

Source§

impl Config

Source

pub async fn load(path: impl AsRef<Path>) -> Result<Config>

Load the config from a file.

+
Source

pub fn data_dir() -> Result<PathBuf>

Get the data directory.

+
Source

pub fn signed_packet_store_path() -> Result<PathBuf>

Get the path to the store database file.

+

Trait Implementations§

Source§

impl Debug for Config

Source§

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

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

impl Default for Config

Source§

fn default() -> Self

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

impl<'de> Deserialize<'de> for Config

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for Config

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl Freeze for Config

§

impl RefUnwindSafe for Config

§

impl Send for Config

§

impl Sync for Config

§

impl Unpin for Config

§

impl UnwindSafe for Config

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( @@ -43,12 +43,12 @@ and testing.

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.

-
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

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

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
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where +[WithDispatch] wrapper. Read more

Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh_dns_server/config/struct.MainlineConfig.html b/pr/3269/docs/iroh_dns_server/config/struct.MainlineConfig.html index e7e48e20a9..ed3157cbb1 100644 --- a/pr/3269/docs/iroh_dns_server/config/struct.MainlineConfig.html +++ b/pr/3269/docs/iroh_dns_server/config/struct.MainlineConfig.html @@ -1,4 +1,4 @@ -MainlineConfig in iroh_dns_server::config - Rust
iroh_dns_server::config

Struct MainlineConfig

Source
pub struct MainlineConfig {
+MainlineConfig in iroh_dns_server::config - Rust
iroh_dns_server::config

Struct MainlineConfig

Source
pub struct MainlineConfig {
     pub enabled: bool,
     pub bootstrap: Option<Vec<String>>,
 }
Expand description

The config for the metrics server.

@@ -6,9 +6,9 @@
§bootstrap: Option<Vec<String>>

Set custom bootstrap nodes.

Addresses can either be domain:port or ipv4:port.

If empty this will use the default bittorrent mainline bootstrap nodes as defined by pkarr.

-

Trait Implementations§

Source§

impl Debug for MainlineConfig

Source§

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

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

impl Default for MainlineConfig

Source§

fn default() -> Self

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

impl<'de> Deserialize<'de> for MainlineConfig

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for MainlineConfig

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Debug for MainlineConfig

Source§

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

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

impl Default for MainlineConfig

Source§

fn default() -> Self

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

impl<'de> Deserialize<'de> for MainlineConfig

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for MainlineConfig

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. 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( @@ -25,12 +25,12 @@ 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.

-
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

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

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
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where +[WithDispatch] wrapper. Read more

Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh_dns_server/config/struct.MetricsConfig.html b/pr/3269/docs/iroh_dns_server/config/struct.MetricsConfig.html index 85892a40b5..ba54a2effc 100644 --- a/pr/3269/docs/iroh_dns_server/config/struct.MetricsConfig.html +++ b/pr/3269/docs/iroh_dns_server/config/struct.MetricsConfig.html @@ -1,13 +1,13 @@ -MetricsConfig in iroh_dns_server::config - Rust
iroh_dns_server::config

Struct MetricsConfig

Source
pub struct MetricsConfig {
+MetricsConfig in iroh_dns_server::config - Rust
iroh_dns_server::config

Struct MetricsConfig

Source
pub struct MetricsConfig {
     pub disabled: bool,
     pub bind_addr: Option<SocketAddr>,
 }
Expand description

The config for the metrics server.

Fields§

§disabled: bool

Set to true to disable the metrics server.

§bind_addr: Option<SocketAddr>

Optionally set a custom address to bind to.

Implementations§

Source§

impl MetricsConfig

Source

pub fn disabled() -> Self

Disable the metrics server.

-

Trait Implementations§

Source§

impl Debug for MetricsConfig

Source§

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

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

impl<'de> Deserialize<'de> for MetricsConfig

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for MetricsConfig

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Debug for MetricsConfig

Source§

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

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

impl<'de> Deserialize<'de> for MetricsConfig

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for MetricsConfig

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. 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( @@ -24,12 +24,12 @@ 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.

-
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

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

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
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where +[WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh_dns_server/config/struct.StoreConfig.html b/pr/3269/docs/iroh_dns_server/config/struct.StoreConfig.html index aa808e4e27..e2faa601ba 100644 --- a/pr/3269/docs/iroh_dns_server/config/struct.StoreConfig.html +++ b/pr/3269/docs/iroh_dns_server/config/struct.StoreConfig.html @@ -1,7 +1,7 @@ -StoreConfig in iroh_dns_server::config - Rust
iroh_dns_server::config

Struct StoreConfig

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

The config for the store.

-

Trait Implementations§

Source§

impl Clone for StoreConfig

Source§

fn clone(&self) -> StoreConfig

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 StoreConfig

Source§

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

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

impl Default for StoreConfig

Source§

fn default() -> Self

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

impl<'de> Deserialize<'de> for StoreConfig

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for StoreConfig

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +StoreConfig in iroh_dns_server::config - Rust
iroh_dns_server::config

Struct StoreConfig

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

The config for the store.

+

Trait Implementations§

Source§

impl Clone for StoreConfig

Source§

fn clone(&self) -> StoreConfig

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 StoreConfig

Source§

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

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

impl Default for StoreConfig

Source§

fn default() -> Self

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

impl<'de> Deserialize<'de> for StoreConfig

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for StoreConfig

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. 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( @@ -12,8 +12,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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -21,13 +21,13 @@ 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.

-
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where +

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
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where +[WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh_dns_server/dns/index.html b/pr/3269/docs/iroh_dns_server/dns/index.html index 4bb75a132f..942d4dfc2c 100644 --- a/pr/3269/docs/iroh_dns_server/dns/index.html +++ b/pr/3269/docs/iroh_dns_server/dns/index.html @@ -1,2 +1,2 @@ -iroh_dns_server::dns - Rust
iroh_dns_server

Module dns

Source
Expand description

Implementation of a DNS name server for iroh node announces

+iroh_dns_server::dns - Rust
iroh_dns_server

Module dns

Source
Expand description

Implementation of a DNS name server for iroh node announces

Structs§

  • DNS server settings
  • State for serving DNS
  • A DNS server that serves pkarr signed packets.
  • A handle to the channel over which the response to a DNS request will be sent
\ No newline at end of file diff --git a/pr/3269/docs/iroh_dns_server/dns/struct.DnsConfig.html b/pr/3269/docs/iroh_dns_server/dns/struct.DnsConfig.html index 8bf5adc754..9cb715ab71 100644 --- a/pr/3269/docs/iroh_dns_server/dns/struct.DnsConfig.html +++ b/pr/3269/docs/iroh_dns_server/dns/struct.DnsConfig.html @@ -1,4 +1,4 @@ -DnsConfig in iroh_dns_server::dns - Rust
iroh_dns_server::dns

Struct DnsConfig

Source
pub struct DnsConfig {
+DnsConfig in iroh_dns_server::dns - Rust
iroh_dns_server::dns

Struct DnsConfig

Source
pub struct DnsConfig {
     pub port: u16,
     pub bind_addr: Option<IpAddr>,
     pub default_soa: String,
@@ -17,9 +17,9 @@ Uses 0.0.0.0 if unspecified.

§rr_a: Option<Ipv4Addr>

A record to set for all origins

§rr_aaaa: Option<Ipv6Addr>

AAAA record to set for all origins

§rr_ns: Option<String>

NS record to set for all origins

-

Trait Implementations§

Source§

impl Clone for DnsConfig

Source§

fn clone(&self) -> DnsConfig

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 DnsConfig

Source§

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

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

impl<'de> Deserialize<'de> for DnsConfig

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for DnsConfig

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Clone for DnsConfig

Source§

fn clone(&self) -> DnsConfig

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 DnsConfig

Source§

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

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

impl<'de> Deserialize<'de> for DnsConfig

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for DnsConfig

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. 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( @@ -30,8 +30,8 @@ Uses 0.0.0.0 if unspecified.

) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -39,13 +39,13 @@ Uses 0.0.0.0 if unspecified.

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.

-
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where +

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
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where +[WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh_dns_server/dns/struct.DnsHandler.html b/pr/3269/docs/iroh_dns_server/dns/struct.DnsHandler.html index 23ab62d815..13724f132f 100644 --- a/pr/3269/docs/iroh_dns_server/dns/struct.DnsHandler.html +++ b/pr/3269/docs/iroh_dns_server/dns/struct.DnsHandler.html @@ -1,11 +1,11 @@ -DnsHandler in iroh_dns_server::dns - Rust
iroh_dns_server::dns

Struct DnsHandler

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

State for serving DNS

+DnsHandler in iroh_dns_server::dns - Rust
iroh_dns_server::dns

Struct DnsHandler

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

State for serving DNS

Implementations§

Source§

impl DnsHandler

Source

pub fn new( zone_store: ZoneStore, config: &DnsConfig, metrics: Arc<Metrics>, -) -> Result<Self>

Create a DNS server given some settings, a connection to the DB for DID-by-username lookups +) -> Result<Self>

Create a DNS server given some settings, a connection to the DB for DID-by-username lookups and the server DID to serve under _did.<origin>.

-
Source

pub async fn answer_request(&self, request: Request) -> Result<Bytes>

Handle a DNS request

+
Source

pub async fn answer_request(&self, request: Request) -> Result<Bytes>

Handle a DNS request

Trait Implementations§

Source§

impl Clone for DnsHandler

Source§

fn clone(&self) -> DnsHandler

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 DnsHandler

Source§

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

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

impl RequestHandler for DnsHandler

Source§

fn handle_request<'life0, 'life1, 'async_trait, R>( &'life0 self, request: &'life1 Request, @@ -25,8 +25,8 @@ and the server DID to serve under _did.<origin>.

) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -34,7 +34,7 @@ and the server DID to serve under _did.<origin>.

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.

-
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where +

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 diff --git a/pr/3269/docs/iroh_dns_server/dns/struct.DnsServer.html b/pr/3269/docs/iroh_dns_server/dns/struct.DnsServer.html index 1bb9193152..4920a36496 100644 --- a/pr/3269/docs/iroh_dns_server/dns/struct.DnsServer.html +++ b/pr/3269/docs/iroh_dns_server/dns/struct.DnsServer.html @@ -1,8 +1,8 @@ -DnsServer in iroh_dns_server::dns - Rust
iroh_dns_server::dns

Struct DnsServer

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

A DNS server that serves pkarr signed packets.

-

Implementations§

Source§

impl DnsServer

Source

pub async fn spawn(config: DnsConfig, dns_handler: DnsHandler) -> Result<Self>

Spawn the server.

+DnsServer in iroh_dns_server::dns - Rust
iroh_dns_server::dns

Struct DnsServer

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

A DNS server that serves pkarr signed packets.

+

Implementations§

Source§

impl DnsServer

Source

pub async fn spawn(config: DnsConfig, dns_handler: DnsHandler) -> Result<Self>

Spawn the server.

Source

pub fn local_addr(&self) -> SocketAddr

Get the local address of the UDP/TCP socket.

-
Source

pub async fn shutdown(self) -> Result<()>

Shutdown the server an wait for all tasks to complete.

-
Source

pub async fn run_until_done(self) -> Result<()>

Wait for all tasks to complete.

+
Source

pub async fn shutdown(self) -> Result<()>

Shutdown the server an wait for all tasks to complete.

+
Source

pub async fn run_until_done(self) -> Result<()>

Wait for all tasks to complete.

Runs forever unless tasks fail.

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 @@ -21,7 +21,7 @@ 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.

-
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

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

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 diff --git a/pr/3269/docs/iroh_dns_server/dns/struct.Handle.html b/pr/3269/docs/iroh_dns_server/dns/struct.Handle.html index 3aa59602ab..483d0ae305 100644 --- a/pr/3269/docs/iroh_dns_server/dns/struct.Handle.html +++ b/pr/3269/docs/iroh_dns_server/dns/struct.Handle.html @@ -1,4 +1,4 @@ -Handle in iroh_dns_server::dns - Rust
iroh_dns_server::dns

Struct Handle

Source
pub struct Handle(pub Sender<Bytes>);
Expand description

A handle to the channel over which the response to a DNS request will be sent

+Handle in iroh_dns_server::dns - Rust
iroh_dns_server::dns

Struct Handle

Source
pub struct Handle(pub Sender<Bytes>);
Expand description

A handle to the channel over which the response to a DNS request will be sent

Tuple Fields§

§0: Sender<Bytes>

Trait Implementations§

Source§

impl Clone for Handle

Source§

fn clone(&self) -> Handle

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 Handle

Source§

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

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

impl ResponseHandler for Handle

Source§

fn send_response<'a, 'life0, 'life1, 'async_trait>( &'life0 mut self, response: MessageResponse<'life1, 'a, impl 'async_trait + Iterator<Item = &'a Record> + Send + 'a, impl 'async_trait + Iterator<Item = &'a Record> + Send + 'a, impl 'async_trait + Iterator<Item = &'a Record> + Send + 'a, impl 'async_trait + Iterator<Item = &'a Record> + Send + 'a>, @@ -6,7 +6,7 @@ Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait, - 'life1: 'async_trait,

Serializes and sends a message to to the wrapped handle Read more

Auto Trait Implementations§

§

impl Freeze for Handle

§

impl !RefUnwindSafe for Handle

§

impl Send for Handle

§

impl Sync for Handle

§

impl Unpin for Handle

§

impl !UnwindSafe for Handle

Blanket Implementations§

Source§

impl<T> Any for T
where + 'life1: 'async_trait,

Serializes and sends a message to the wrapped handle Read more

Auto Trait Implementations§

§

impl Freeze for Handle

§

impl !RefUnwindSafe for Handle

§

impl Send for Handle

§

impl Sync for Handle

§

impl Unpin for Handle

§

impl !UnwindSafe for Handle

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( @@ -17,8 +17,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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -26,7 +26,7 @@ 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.

-
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where +

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 diff --git a/pr/3269/docs/iroh_dns_server/http/enum.CertMode.html b/pr/3269/docs/iroh_dns_server/http/enum.CertMode.html index e643a47177..11b40437e3 100644 --- a/pr/3269/docs/iroh_dns_server/http/enum.CertMode.html +++ b/pr/3269/docs/iroh_dns_server/http/enum.CertMode.html @@ -1,4 +1,4 @@ -CertMode in iroh_dns_server::http - Rust
iroh_dns_server::http

Enum CertMode

Source
pub enum CertMode {
+CertMode in iroh_dns_server::http - Rust
iroh_dns_server::http

Enum CertMode

Source
pub enum CertMode {
     Manual,
     LetsEncrypt,
     SelfSigned,
@@ -6,10 +6,10 @@
 

Variants§

§

Manual

Certs are loaded from a the cert_cache path

§

LetsEncrypt

ACME with LetsEncrypt servers

§

SelfSigned

Create self-signed certificates and store them in the cert_cache path

-

Trait Implementations§

Source§

impl Clone for CertMode

Source§

fn clone(&self) -> CertMode

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 CertMode

Source§

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

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

impl<'de> Deserialize<'de> for CertMode

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for CertMode

Source§

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

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

impl PartialEq for CertMode

Source§

fn eq(&self, other: &CertMode) -> 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 Serialize for CertMode

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for CertMode

Source§

impl StructuralPartialEq for CertMode

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Clone for CertMode

Source§

fn clone(&self) -> CertMode

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 CertMode

Source§

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

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

impl<'de> Deserialize<'de> for CertMode

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for CertMode

Source§

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

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

impl PartialEq for CertMode

Source§

fn eq(&self, other: &CertMode) -> 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 Serialize for CertMode

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for CertMode

Source§

impl StructuralPartialEq for CertMode

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( @@ -20,8 +20,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -33,7 +33,7 @@ and should not be overridden without very good reason.

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.

-
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where +

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> 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 @@ -41,6 +41,6 @@ and should not be overridden without very good reason.

§

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
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where +[WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh_dns_server/http/enum.RateLimitConfig.html b/pr/3269/docs/iroh_dns_server/http/enum.RateLimitConfig.html index ab56dc867f..c3c66ff919 100644 --- a/pr/3269/docs/iroh_dns_server/http/enum.RateLimitConfig.html +++ b/pr/3269/docs/iroh_dns_server/http/enum.RateLimitConfig.html @@ -1,4 +1,4 @@ -RateLimitConfig in iroh_dns_server::http - Rust
iroh_dns_server::http

Enum RateLimitConfig

Source
pub enum RateLimitConfig {
+RateLimitConfig in iroh_dns_server::http - Rust
iroh_dns_server::http

Enum RateLimitConfig

Source
pub enum RateLimitConfig {
     Disabled,
     Simple,
     Smart,
@@ -10,9 +10,9 @@
 

Uses headers commonly used by reverse proxies to extract the original IP address, falling back to the connection’s peer IP address. https://docs.rs/tower_governor/latest/tower_governor/key_extractor/struct.SmartIpKeyExtractor.html

-

Trait Implementations§

Source§

impl Clone for RateLimitConfig

Source§

fn clone(&self) -> RateLimitConfig

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 RateLimitConfig

Source§

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

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

impl Default for &RateLimitConfig

Source§

fn default() -> Self

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

impl Default for RateLimitConfig

Source§

fn default() -> RateLimitConfig

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

impl<'de> Deserialize<'de> for RateLimitConfig

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for RateLimitConfig

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Clone for RateLimitConfig

Source§

fn clone(&self) -> RateLimitConfig

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 RateLimitConfig

Source§

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

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

impl Default for &RateLimitConfig

Source§

fn default() -> Self

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

impl Default for RateLimitConfig

Source§

fn default() -> RateLimitConfig

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

impl<'de> Deserialize<'de> for RateLimitConfig

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for RateLimitConfig

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. 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( @@ -23,8 +23,8 @@ falling back to the connection’s peer IP address. ) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -32,13 +32,13 @@ falling back to the connection’s peer IP address. 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.

-
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where +

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
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where +[WithDispatch] wrapper. Read more

Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh_dns_server/http/index.html b/pr/3269/docs/iroh_dns_server/http/index.html index 9ed523c532..327be3406d 100644 --- a/pr/3269/docs/iroh_dns_server/http/index.html +++ b/pr/3269/docs/iroh_dns_server/http/index.html @@ -1,2 +1,2 @@ -iroh_dns_server::http - Rust
iroh_dns_server

Module http

Source
Expand description

HTTP server part of iroh-dns-server

+iroh_dns_server::http - Rust
iroh_dns_server

Module http

Source
Expand description

HTTP server part of iroh-dns-server

Structs§

Enums§

\ No newline at end of file diff --git a/pr/3269/docs/iroh_dns_server/http/struct.HttpConfig.html b/pr/3269/docs/iroh_dns_server/http/struct.HttpConfig.html index b2c28d4503..c2b6ff04a1 100644 --- a/pr/3269/docs/iroh_dns_server/http/struct.HttpConfig.html +++ b/pr/3269/docs/iroh_dns_server/http/struct.HttpConfig.html @@ -1,12 +1,12 @@ -HttpConfig in iroh_dns_server::http - Rust
iroh_dns_server::http

Struct HttpConfig

Source
pub struct HttpConfig {
+HttpConfig in iroh_dns_server::http - Rust
iroh_dns_server::http

Struct HttpConfig

Source
pub struct HttpConfig {
     pub port: u16,
     pub bind_addr: Option<IpAddr>,
 }
Expand description

Config for the HTTP server

Fields§

§port: u16

Port to bind to

§bind_addr: Option<IpAddr>

Optionally set a custom bind address (will use 0.0.0.0 if unset)

-

Trait Implementations§

Source§

impl Clone for HttpConfig

Source§

fn clone(&self) -> HttpConfig

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 HttpConfig

Source§

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

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

impl<'de> Deserialize<'de> for HttpConfig

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for HttpConfig

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Clone for HttpConfig

Source§

fn clone(&self) -> HttpConfig

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 HttpConfig

Source§

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

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

impl<'de> Deserialize<'de> for HttpConfig

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for HttpConfig

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. 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( @@ -17,8 +17,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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -26,13 +26,13 @@ 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.

-
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where +

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
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where +[WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh_dns_server/http/struct.HttpServer.html b/pr/3269/docs/iroh_dns_server/http/struct.HttpServer.html index 8945d977bc..2eee59c606 100644 --- a/pr/3269/docs/iroh_dns_server/http/struct.HttpServer.html +++ b/pr/3269/docs/iroh_dns_server/http/struct.HttpServer.html @@ -1,14 +1,14 @@ -HttpServer in iroh_dns_server::http - Rust
iroh_dns_server::http

Struct HttpServer

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

The HTTP(S) server part of iroh-dns-server

+HttpServer in iroh_dns_server::http - Rust
iroh_dns_server::http

Struct HttpServer

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

The HTTP(S) server part of iroh-dns-server

Implementations§

Source§

impl HttpServer

Source

pub async fn spawn( http_config: Option<HttpConfig>, https_config: Option<HttpsConfig>, rate_limit_config: RateLimitConfig, state: AppState, -) -> Result<HttpServer>

Spawn the server

+) -> Result<HttpServer>

Spawn the server

Source

pub fn http_addr(&self) -> Option<SocketAddr>

Get the bound address of the HTTP socket.

Source

pub fn https_addr(&self) -> Option<SocketAddr>

Get the bound address of the HTTPS socket.

-
Source

pub async fn shutdown(self) -> Result<()>

Shutdown the server and wait for all tasks to complete.

-
Source

pub async fn run_until_done(self) -> Result<()>

Wait for all tasks to complete.

+
Source

pub async fn shutdown(self) -> Result<()>

Shutdown the server and wait for all tasks to complete.

+
Source

pub async fn run_until_done(self) -> Result<()>

Wait for all tasks to complete.

Runs forever unless tasks fail.

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 @@ -27,7 +27,7 @@ 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.

-
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

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

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 diff --git a/pr/3269/docs/iroh_dns_server/http/struct.HttpsConfig.html b/pr/3269/docs/iroh_dns_server/http/struct.HttpsConfig.html index 1e2b3135e4..b9c7698cd6 100644 --- a/pr/3269/docs/iroh_dns_server/http/struct.HttpsConfig.html +++ b/pr/3269/docs/iroh_dns_server/http/struct.HttpsConfig.html @@ -1,4 +1,4 @@ -HttpsConfig in iroh_dns_server::http - Rust
iroh_dns_server::http

Struct HttpsConfig

Source
pub struct HttpsConfig {
+HttpsConfig in iroh_dns_server::http - Rust
iroh_dns_server::http

Struct HttpsConfig

Source
pub struct HttpsConfig {
     pub port: u16,
     pub bind_addr: Option<IpAddr>,
     pub domains: Vec<String>,
@@ -12,9 +12,9 @@
 
§cert_mode: CertMode

The mode of SSL certificate creation

§letsencrypt_contact: Option<String>

Letsencrypt contact email address (required if using CertMode::LetsEncrypt)

§letsencrypt_prod: Option<bool>

Whether to use the letsenrypt production servers (only applies to CertMode::LetsEncrypt)

-

Trait Implementations§

Source§

impl Clone for HttpsConfig

Source§

fn clone(&self) -> HttpsConfig

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 HttpsConfig

Source§

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

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

impl<'de> Deserialize<'de> for HttpsConfig

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for HttpsConfig

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Clone for HttpsConfig

Source§

fn clone(&self) -> HttpsConfig

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 HttpsConfig

Source§

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

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

impl<'de> Deserialize<'de> for HttpsConfig

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for HttpsConfig

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. 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( @@ -25,8 +25,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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -34,13 +34,13 @@ 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.

-
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where +

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
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where +[WithDispatch] wrapper. Read more

Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh_dns_server/index.html b/pr/3269/docs/iroh_dns_server/index.html index ddf8e98bbe..8a84fdda91 100644 --- a/pr/3269/docs/iroh_dns_server/index.html +++ b/pr/3269/docs/iroh_dns_server/index.html @@ -1,2 +1,2 @@ -iroh_dns_server - Rust

Crate iroh_dns_server

Source
Expand description

A DNS server and pkarr relay

+iroh_dns_server - Rust

Crate iroh_dns_server

Source
Expand description

A DNS server and pkarr relay

Modules§

  • Configuration for the server
  • Implementation of a DNS name server for iroh node announces
  • HTTP server part of iroh-dns-server
  • Metrics support for the server
  • The main server which combines the DNS and HTTP(S) servers.
  • Shared state and store for the iroh-dns-server

Structs§

\ No newline at end of file diff --git a/pr/3269/docs/iroh_dns_server/metrics/index.html b/pr/3269/docs/iroh_dns_server/metrics/index.html index 94091e2bdd..e930c7606b 100644 --- a/pr/3269/docs/iroh_dns_server/metrics/index.html +++ b/pr/3269/docs/iroh_dns_server/metrics/index.html @@ -1,2 +1,2 @@ -iroh_dns_server::metrics - Rust
iroh_dns_server

Module metrics

Source
Expand description

Metrics support for the server

+iroh_dns_server::metrics - Rust
iroh_dns_server

Module metrics

Source
Expand description

Metrics support for the server

Structs§

\ No newline at end of file diff --git a/pr/3269/docs/iroh_dns_server/metrics/struct.Metrics.html b/pr/3269/docs/iroh_dns_server/metrics/struct.Metrics.html index 6c8a21b57a..4b06654b50 100644 --- a/pr/3269/docs/iroh_dns_server/metrics/struct.Metrics.html +++ b/pr/3269/docs/iroh_dns_server/metrics/struct.Metrics.html @@ -1,4 +1,4 @@ -Metrics in iroh_dns_server::metrics - Rust
iroh_dns_server::metrics

Struct Metrics

Source
pub struct Metrics {
Show 16 fields +Metrics in iroh_dns_server::metrics - Rust
iroh_dns_server::metrics

Struct Metrics

Source
pub struct Metrics {
Show 16 fields pub pkarr_publish_update: Counter, pub pkarr_publish_noop: Counter, pub dns_requests: Counter, @@ -50,7 +50,7 @@

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

§

impl<T> IntoIterable for T
where - T: Iterable,

§

fn as_iterable(&self) -> &dyn Iterable

Returns self as dyn Iterable
§

fn field_iter(&self) -> FieldIter<'_>

Returns an iterator over the fields of the struct.
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

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

§

fn as_iterable(&self) -> &dyn Iterable

Returns self as dyn Iterable
§

fn field_iter(&self) -> FieldIter<'_>

Returns an iterator over the fields of the struct.
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 diff --git a/pr/3269/docs/iroh_dns_server/server/fn.run_with_config_until_ctrl_c.html b/pr/3269/docs/iroh_dns_server/server/fn.run_with_config_until_ctrl_c.html index 36990f92a3..6558800498 100644 --- a/pr/3269/docs/iroh_dns_server/server/fn.run_with_config_until_ctrl_c.html +++ b/pr/3269/docs/iroh_dns_server/server/fn.run_with_config_until_ctrl_c.html @@ -1,2 +1,2 @@ -run_with_config_until_ctrl_c in iroh_dns_server::server - Rust
iroh_dns_server::server

Function run_with_config_until_ctrl_c

Source
pub async fn run_with_config_until_ctrl_c(config: Config) -> Result<()>
Expand description

Spawn the server and run until the Ctrl-C signal is received, then shutdown.

+run_with_config_until_ctrl_c in iroh_dns_server::server - Rust
iroh_dns_server::server

Function run_with_config_until_ctrl_c

Source
pub async fn run_with_config_until_ctrl_c(config: Config) -> Result<()>
Expand description

Spawn the server and run until the Ctrl-C signal is received, then shutdown.

\ No newline at end of file diff --git a/pr/3269/docs/iroh_dns_server/server/index.html b/pr/3269/docs/iroh_dns_server/server/index.html index ea8a1f01c8..8d71d6e1ee 100644 --- a/pr/3269/docs/iroh_dns_server/server/index.html +++ b/pr/3269/docs/iroh_dns_server/server/index.html @@ -1,2 +1,2 @@ -iroh_dns_server::server - Rust
iroh_dns_server

Module server

Source
Expand description

The main server which combines the DNS and HTTP(S) servers.

+iroh_dns_server::server - Rust
iroh_dns_server

Module server

Source
Expand description

The main server which combines the DNS and HTTP(S) servers.

Structs§

Functions§

\ No newline at end of file diff --git a/pr/3269/docs/iroh_dns_server/server/struct.Server.html b/pr/3269/docs/iroh_dns_server/server/struct.Server.html index 1f2a140aef..a751486dbd 100644 --- a/pr/3269/docs/iroh_dns_server/server/struct.Server.html +++ b/pr/3269/docs/iroh_dns_server/server/struct.Server.html @@ -1,17 +1,17 @@ -Server in iroh_dns_server::server - Rust
iroh_dns_server::server

Struct Server

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

The iroh-dns server.

+Server in iroh_dns_server::server - Rust
iroh_dns_server::server

Struct Server

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

The iroh-dns server.

Implementations§

Source§

impl Server

Source

pub async fn spawn( config: Config, store: ZoneStore, metrics: Arc<Metrics>, -) -> Result<Self>

Spawn the server.

+) -> Result<Self>

Spawn the server.

This will spawn several background tasks:

  • A DNS server task
  • A HTTP server task, if config.http is not empty
  • A HTTPS server task, if config.https is not empty
-
Source

pub async fn shutdown(self) -> Result<()>

Cancel the server tasks and wait for all tasks to complete.

-
Source

pub async fn run_until_error(self) -> Result<()>

Wait for all tasks to complete.

+
Source

pub async fn shutdown(self) -> Result<()>

Cancel the server tasks and wait for all tasks to complete.

+
Source

pub async fn run_until_error(self) -> Result<()>

Wait for all tasks to complete.

This will run forever unless all tasks close with an error, or Self::cancel is called.

Auto Trait Implementations§

§

impl Freeze for Server

§

impl !RefUnwindSafe for Server

§

impl Send for Server

§

impl Sync for Server

§

impl Unpin for Server

§

impl !UnwindSafe for Server

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 @@ -30,7 +30,7 @@ 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.

-
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

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

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 diff --git a/pr/3269/docs/iroh_dns_server/state/index.html b/pr/3269/docs/iroh_dns_server/state/index.html index f8487e8ee7..3d9a26f890 100644 --- a/pr/3269/docs/iroh_dns_server/state/index.html +++ b/pr/3269/docs/iroh_dns_server/state/index.html @@ -1,2 +1,2 @@ -iroh_dns_server::state - Rust
iroh_dns_server

Module state

Source
Expand description

Shared state and store for the iroh-dns-server

+iroh_dns_server::state - Rust
iroh_dns_server

Module state

Source
Expand description

Shared state and store for the iroh-dns-server

Structs§

\ No newline at end of file diff --git a/pr/3269/docs/iroh_dns_server/state/struct.AppState.html b/pr/3269/docs/iroh_dns_server/state/struct.AppState.html index 9dbd459a1f..9d97d42e37 100644 --- a/pr/3269/docs/iroh_dns_server/state/struct.AppState.html +++ b/pr/3269/docs/iroh_dns_server/state/struct.AppState.html @@ -1,4 +1,4 @@ -AppState in iroh_dns_server::state - Rust
iroh_dns_server::state

Struct AppState

Source
pub struct AppState {
+AppState in iroh_dns_server::state - Rust
iroh_dns_server::state

Struct AppState

Source
pub struct AppState {
     pub store: ZoneStore,
     pub dns_handler: DnsHandler,
     pub metrics: Arc<Metrics>,
@@ -17,8 +17,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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -26,7 +26,7 @@ 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.

-
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where +

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 diff --git a/pr/3269/docs/iroh_dns_server/struct.ZoneStore.html b/pr/3269/docs/iroh_dns_server/struct.ZoneStore.html index 855d4f79ca..099b6116db 100644 --- a/pr/3269/docs/iroh_dns_server/struct.ZoneStore.html +++ b/pr/3269/docs/iroh_dns_server/struct.ZoneStore.html @@ -1,35 +1,35 @@ -ZoneStore in iroh_dns_server - Rust
iroh_dns_server

Struct ZoneStore

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

A store for pkarr signed packets.

+ZoneStore in iroh_dns_server - Rust
iroh_dns_server

Struct ZoneStore

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

A store for pkarr signed packets.

Packets are stored in the persistent SignedPacketStore, and cached on-demand in an in-memory LRU cache used for resolving DNS queries.

-

Implementations§

Source§

impl ZoneStore

Implementations§

Source§

impl ZoneStore

Source

pub fn persistent( path: impl AsRef<Path>, options: ZoneStoreOptions, metrics: Arc<Metrics>, -) -> Result<Self>

Create a persistent store

+) -> Result<Self>

Create a persistent store

Source

pub fn in_memory( options: ZoneStoreOptions, metrics: Arc<Metrics>, -) -> Result<Self>

Create an in-memory store.

+) -> Result<Self>

Create an in-memory store.

Source

pub fn with_mainline_fallback(self, bootstrap: BootstrapOption) -> Self

Configure a pkarr client for resolution of packets from the bittorrent mainline DHT.

This will be used only as a fallback if there is no local info available.

Optionally set custom bootstrap nodes. If bootstrap is empty it will use the default mainline bootstrap nodes.

Source

pub fn new(store: SignedPacketStore, metrics: Arc<Metrics>) -> Self

Create a new zone store.

-
Source

pub async fn resolve( +

Source

pub async fn resolve( &self, pubkey: &PublicKeyBytes, name: &Name, record_type: RecordType, -) -> Result<Option<Arc<RecordSet>>>

Resolve a DNS query.

-
Source

pub async fn get_signed_packet( +) -> Result<Option<Arc<RecordSet>>>

Resolve a DNS query.

+
Source

pub async fn get_signed_packet( &self, pubkey: &PublicKeyBytes, -) -> Result<Option<SignedPacket>>

Get the latest signed packet for a pubkey.

-
Source

pub async fn insert( +) -> Result<Option<SignedPacket>>

Get the latest signed packet for a pubkey.

+
Source

pub async fn insert( &self, signed_packet: SignedPacket, _source: PacketSource, -) -> Result<bool>

Insert a signed packet into the cache and the store.

+) -> Result<bool>

Insert a signed packet into the cache and the store.

Returns whether this produced an update, i.e. whether the packet is the newest for its pubkey.

Trait Implementations§

Source§

impl Clone for ZoneStore

Source§

fn clone(&self) -> ZoneStore

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 ZoneStore

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 @@ -43,8 +43,8 @@ pubkey.

) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 @@ -52,7 +52,7 @@ pubkey.

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.

-
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where +

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 diff --git a/pr/3269/docs/iroh_relay/all.html b/pr/3269/docs/iroh_relay/all.html index 2949c5ac7e..26a287bb93 100644 --- a/pr/3269/docs/iroh_relay/all.html +++ b/pr/3269/docs/iroh_relay/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Structs

Enums

Traits

Functions

Constants

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

List of all items

Structs

Enums

Traits

Functions

Constants

\ No newline at end of file diff --git a/pr/3269/docs/iroh_relay/client/enum.ConnSendError.html b/pr/3269/docs/iroh_relay/client/enum.ConnSendError.html index 24cb13752f..744c5c72cb 100644 --- a/pr/3269/docs/iroh_relay/client/enum.ConnSendError.html +++ b/pr/3269/docs/iroh_relay/client/enum.ConnSendError.html @@ -1,4 +1,4 @@ -ConnSendError in iroh_relay::client - Rust
iroh_relay::client

Enum ConnSendError

Source
pub enum ConnSendError {
+ConnSendError in iroh_relay::client - Rust
iroh_relay::client

Enum ConnSendError

Source
pub enum ConnSendError {
     Io(Error),
     Protocol(&'static str),
 }
Expand description

Error for sending messages to the relay server.

@@ -24,7 +24,7 @@ receivers.

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 +

§

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 diff --git a/pr/3269/docs/iroh_relay/client/enum.ReceivedMessage.html b/pr/3269/docs/iroh_relay/client/enum.ReceivedMessage.html index 2f808e978b..dd7a047aae 100644 --- a/pr/3269/docs/iroh_relay/client/enum.ReceivedMessage.html +++ b/pr/3269/docs/iroh_relay/client/enum.ReceivedMessage.html @@ -1,4 +1,4 @@ -ReceivedMessage in iroh_relay::client - Rust
iroh_relay::client

Enum ReceivedMessage

Source
pub enum ReceivedMessage {
+ReceivedMessage in iroh_relay::client - Rust
iroh_relay::client

Enum ReceivedMessage

Source
pub enum ReceivedMessage {
     ReceivedPacket {
         remote_node_id: NodeId,
         data: Bytes,
@@ -51,15 +51,15 @@ than a few seconds.

) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 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 +

§

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 diff --git a/pr/3269/docs/iroh_relay/client/enum.SendMessage.html b/pr/3269/docs/iroh_relay/client/enum.SendMessage.html index 1981cb211e..30fa0d203b 100644 --- a/pr/3269/docs/iroh_relay/client/enum.SendMessage.html +++ b/pr/3269/docs/iroh_relay/client/enum.SendMessage.html @@ -1,4 +1,4 @@ -SendMessage in iroh_relay::client - Rust
iroh_relay::client

Enum SendMessage

Source
pub enum SendMessage {
+SendMessage in iroh_relay::client - Rust
iroh_relay::client

Enum SendMessage

Source
pub enum SendMessage {
     SendPacket(NodeId, Bytes),
     Ping([u8; 8]),
     Pong([u8; 8]),
@@ -9,32 +9,32 @@
 

Trait Implementations§

Source§

impl Debug for SendMessage

Source§

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

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

impl Sink<SendMessage> for Client

Source§

type Error = ConnSendError

The type of value produced by the sink when an error occurs.
Source§

fn poll_ready( self: Pin<&mut Self>, cx: &mut Context<'_>, -) -> Poll<Result<(), Self::Error>>

Attempts to prepare the Sink to receive a value. Read more
Source§

fn start_send( +) -> Poll<Result<(), Self::Error>>

Attempts to prepare the Sink to receive a value. Read more
Source§

fn start_send( self: Pin<&mut Self>, item: SendMessage, -) -> Result<(), Self::Error>

Begin the process of sending a value to the sink. +) -> Result<(), Self::Error>

Begin the process of sending a value to the sink. Each call to this function must be preceded by a successful call to poll_ready which returned Poll::Ready(Ok(())). Read more
Source§

fn poll_flush( self: Pin<&mut Self>, cx: &mut Context<'_>, -) -> Poll<Result<(), Self::Error>>

Flush any remaining output from this sink. Read more
Source§

fn poll_close( +) -> Poll<Result<(), Self::Error>>

Flush any remaining output from this sink. Read more
Source§

fn poll_close( self: Pin<&mut Self>, cx: &mut Context<'_>, -) -> Poll<Result<(), Self::Error>>

Flush any remaining output and close this sink, if necessary. Read more
Source§

impl Sink<SendMessage> for ClientSink

Source§

type Error = ConnSendError

The type of value produced by the sink when an error occurs.
Source§

fn poll_ready( +) -> Poll<Result<(), Self::Error>>

Flush any remaining output and close this sink, if necessary. Read more
Source§

impl Sink<SendMessage> for ClientSink

Source§

type Error = ConnSendError

The type of value produced by the sink when an error occurs.
Source§

fn poll_ready( self: Pin<&mut Self>, cx: &mut Context<'_>, -) -> Poll<Result<(), Self::Error>>

Attempts to prepare the Sink to receive a value. Read more
Source§

fn start_send( +) -> Poll<Result<(), Self::Error>>

Attempts to prepare the Sink to receive a value. Read more
Source§

fn start_send( self: Pin<&mut Self>, item: SendMessage, -) -> Result<(), Self::Error>

Begin the process of sending a value to the sink. +) -> Result<(), Self::Error>
Begin the process of sending a value to the sink. Each call to this function must be preceded by a successful call to poll_ready which returned Poll::Ready(Ok(())). Read more
Source§

fn poll_flush( self: Pin<&mut Self>, cx: &mut Context<'_>, -) -> Poll<Result<(), Self::Error>>

Flush any remaining output from this sink. Read more
Source§

fn poll_close( +) -> Poll<Result<(), Self::Error>>

Flush any remaining output from this sink. Read more
Source§

fn poll_close( self: Pin<&mut Self>, cx: &mut Context<'_>, -) -> Poll<Result<(), Self::Error>>

Flush any remaining output and close this sink, if necessary. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +) -> Poll<Result<(), Self::Error>>

Flush any remaining output and close this sink, if necessary. 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( @@ -51,7 +51,7 @@ Each call to this function must be preceded by a successful call to 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 +

§

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 diff --git a/pr/3269/docs/iroh_relay/client/fn.make_dangerous_client_config.html b/pr/3269/docs/iroh_relay/client/fn.make_dangerous_client_config.html index e212baa54f..2f26554d8b 100644 --- a/pr/3269/docs/iroh_relay/client/fn.make_dangerous_client_config.html +++ b/pr/3269/docs/iroh_relay/client/fn.make_dangerous_client_config.html @@ -1,3 +1,3 @@ -make_dangerous_client_config in iroh_relay::client - Rust
iroh_relay::client

Function make_dangerous_client_config

Source
pub fn make_dangerous_client_config() -> ClientConfig
Available on crate feature test-utils only.
Expand description

Creates a client config that trusts any servers without verifying their TLS certificate.

+make_dangerous_client_config in iroh_relay::client - Rust
iroh_relay::client

Function make_dangerous_client_config

Source
pub fn make_dangerous_client_config() -> ClientConfig
Available on crate feature test-utils only.
Expand description

Creates a client config that trusts any servers without verifying their TLS certificate.

Should be used for testing local relay setups only.

\ No newline at end of file diff --git a/pr/3269/docs/iroh_relay/client/index.html b/pr/3269/docs/iroh_relay/client/index.html index 781ae43058..057020c0f3 100644 --- a/pr/3269/docs/iroh_relay/client/index.html +++ b/pr/3269/docs/iroh_relay/client/index.html @@ -1,3 +1,3 @@ -iroh_relay::client - Rust
iroh_relay

Module client

Source
Expand description

Exposes Client, which allows to establish connections to a relay server.

+iroh_relay::client - Rust
iroh_relay

Module client

Source
Expand description

Exposes Client, which allows to establish connections to a relay server.

Based on tailscale/derp/derphttp/derphttp_client.go

Structs§

Enums§

Functions§

\ No newline at end of file diff --git a/pr/3269/docs/iroh_relay/client/struct.Client.html b/pr/3269/docs/iroh_relay/client/struct.Client.html index d418d1359c..2316a094ce 100644 --- a/pr/3269/docs/iroh_relay/client/struct.Client.html +++ b/pr/3269/docs/iroh_relay/client/struct.Client.html @@ -1,20 +1,20 @@ -Client in iroh_relay::client - Rust
iroh_relay::client

Struct Client

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

A relay client.

+Client in iroh_relay::client - Rust
iroh_relay::client

Struct Client

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

A relay client.

Implementations§

Source§

impl Client

Source

pub fn split(self) -> (ClientStream, ClientSink)

Splits the client into a sink and a stream.

Trait Implementations§

Source§

impl Debug for Client

Source§

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

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

impl Sink<SendMessage> for Client

Source§

type Error = ConnSendError

The type of value produced by the sink when an error occurs.
Source§

fn poll_ready( self: Pin<&mut Self>, cx: &mut Context<'_>, -) -> Poll<Result<(), Self::Error>>

Attempts to prepare the Sink to receive a value. Read more
Source§

fn start_send( +) -> Poll<Result<(), Self::Error>>

Attempts to prepare the Sink to receive a value. Read more
Source§

fn start_send( self: Pin<&mut Self>, item: SendMessage, -) -> Result<(), Self::Error>

Begin the process of sending a value to the sink. +) -> Result<(), Self::Error>

Begin the process of sending a value to the sink. Each call to this function must be preceded by a successful call to poll_ready which returned Poll::Ready(Ok(())). Read more
Source§

fn poll_flush( self: Pin<&mut Self>, cx: &mut Context<'_>, -) -> Poll<Result<(), Self::Error>>

Flush any remaining output from this sink. Read more
Source§

fn poll_close( +) -> Poll<Result<(), Self::Error>>

Flush any remaining output from this sink. Read more
Source§

fn poll_close( self: Pin<&mut Self>, cx: &mut Context<'_>, -) -> Poll<Result<(), Self::Error>>

Flush any remaining output and close this sink, if necessary. Read more
Source§

impl Stream for Client

Source§

type Item = Result<ReceivedMessage, Error>

Values yielded by the stream.
Source§

fn poll_next( +) -> Poll<Result<(), Self::Error>>

Flush any remaining output and close this sink, if necessary. Read more
Source§

impl Stream for Client

Source§

type Item = Result<ReceivedMessage, Error>

Values yielded by the stream.
Source§

fn poll_next( self: Pin<&mut Self>, cx: &mut Context<'_>, ) -> Poll<Option<Self::Item>>

Attempt to pull out the next value of this stream, registering the @@ -58,7 +58,7 @@ discarding others if any.
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
§

impl<T, Item> SinkExt<Item> for T
where +

§

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
§

impl<T, Item> SinkExt<Item> for T
where T: Sink<Item> + ?Sized,

§

fn with<U, Fut, F, E>(self, f: F) -> With<Self, Item, U, Fut, F>
where F: FnMut(U) -> Fut, Fut: Future<Output = Result<Item, E>>, diff --git a/pr/3269/docs/iroh_relay/client/struct.ClientBuilder.html b/pr/3269/docs/iroh_relay/client/struct.ClientBuilder.html index fa7e500a03..52065d31c7 100644 --- a/pr/3269/docs/iroh_relay/client/struct.ClientBuilder.html +++ b/pr/3269/docs/iroh_relay/client/struct.ClientBuilder.html @@ -1,4 +1,4 @@ -ClientBuilder in iroh_relay::client - Rust
iroh_relay::client

Struct ClientBuilder

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

Build a Client.

+ClientBuilder in iroh_relay::client - Rust
iroh_relay::client

Struct ClientBuilder

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

Build a Client.

Implementations§

Source§

impl ClientBuilder

Source

pub fn new( url: impl Into<RelayUrl>, secret_key: SecretKey, @@ -18,7 +18,7 @@ work anyway, so we don’t artificially delay the connection speed.

May only be used in tests.

Source

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

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

Source

pub fn key_cache_capacity(self, capacity: usize) -> Self

Set the capacity of the cache for public keys.

-
Source

pub async fn connect(&self) -> Result<Client>

Establishes a new connection to the relay server.

+
Source

pub async fn connect(&self) -> Result<Client>

Establishes a new connection to the relay server.

Trait Implementations§

Source§

impl Clone for ClientBuilder

Source§

fn clone(&self) -> ClientBuilder

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 ClientBuilder

Source§

fn fmt(&self, __derive_more_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 @@ -30,15 +30,15 @@ work anyway, so we don’t artificially delay the connection speed.

) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 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 +

§

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 diff --git a/pr/3269/docs/iroh_relay/client/struct.ClientSink.html b/pr/3269/docs/iroh_relay/client/struct.ClientSink.html index 0ac148d56c..04584e3b4f 100644 --- a/pr/3269/docs/iroh_relay/client/struct.ClientSink.html +++ b/pr/3269/docs/iroh_relay/client/struct.ClientSink.html @@ -1,19 +1,19 @@ -ClientSink in iroh_relay::client - Rust
iroh_relay::client

Struct ClientSink

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

The send half of a relay client.

+ClientSink in iroh_relay::client - Rust
iroh_relay::client

Struct ClientSink

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

The send half of a relay client.

Trait Implementations§

Source§

impl Debug for ClientSink

Source§

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

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

impl Sink<SendMessage> for ClientSink

Source§

type Error = ConnSendError

The type of value produced by the sink when an error occurs.
Source§

fn poll_ready( self: Pin<&mut Self>, cx: &mut Context<'_>, -) -> Poll<Result<(), Self::Error>>

Attempts to prepare the Sink to receive a value. Read more
Source§

fn start_send( +) -> Poll<Result<(), Self::Error>>

Attempts to prepare the Sink to receive a value. Read more
Source§

fn start_send( self: Pin<&mut Self>, item: SendMessage, -) -> Result<(), Self::Error>

Begin the process of sending a value to the sink. +) -> Result<(), Self::Error>

Begin the process of sending a value to the sink. Each call to this function must be preceded by a successful call to poll_ready which returned Poll::Ready(Ok(())). Read more
Source§

fn poll_flush( self: Pin<&mut Self>, cx: &mut Context<'_>, -) -> Poll<Result<(), Self::Error>>

Flush any remaining output from this sink. Read more
Source§

fn poll_close( +) -> Poll<Result<(), Self::Error>>

Flush any remaining output from this sink. Read more
Source§

fn poll_close( self: Pin<&mut Self>, cx: &mut Context<'_>, -) -> Poll<Result<(), Self::Error>>

Flush any remaining output and close this sink, if necessary. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +) -> Poll<Result<(), Self::Error>>

Flush any remaining output and close this sink, if necessary. 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( @@ -30,7 +30,7 @@ Each call to this function must be preceded by a successful call to 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
§

impl<T, Item> SinkExt<Item> for T
where +

§

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
§

impl<T, Item> SinkExt<Item> for T
where T: Sink<Item> + ?Sized,

§

fn with<U, Fut, F, E>(self, f: F) -> With<Self, Item, U, Fut, F>
where F: FnMut(U) -> Fut, Fut: Future<Output = Result<Item, E>>, diff --git a/pr/3269/docs/iroh_relay/client/struct.ClientStream.html b/pr/3269/docs/iroh_relay/client/struct.ClientStream.html index a72eecb97e..008344e6b2 100644 --- a/pr/3269/docs/iroh_relay/client/struct.ClientStream.html +++ b/pr/3269/docs/iroh_relay/client/struct.ClientStream.html @@ -1,6 +1,6 @@ -ClientStream in iroh_relay::client - Rust
iroh_relay::client

Struct ClientStream

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

The receive half of a relay client.

+ClientStream in iroh_relay::client - Rust
iroh_relay::client

Struct ClientStream

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

The receive half of a relay client.

Implementations§

Source§

impl ClientStream

Source

pub fn local_addr(&self) -> Option<SocketAddr>

Returns the local address of the client.

-

Trait Implementations§

Source§

impl Debug for ClientStream

Source§

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

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

impl Stream for ClientStream

Source§

type Item = Result<ReceivedMessage, Error>

Values yielded by the stream.
Source§

fn poll_next( +

Trait Implementations§

Source§

impl Debug for ClientStream

Source§

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

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

impl Stream for ClientStream

Source§

type Item = Result<ReceivedMessage, Error>

Values yielded by the stream.
Source§

fn poll_next( self: Pin<&mut Self>, cx: &mut Context<'_>, ) -> Poll<Option<Self::Item>>

Attempt to pull out the next value of this stream, registering the @@ -44,7 +44,7 @@ discarding others if any.
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
§

impl<S> StreamExt for S
where +

§

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
§

impl<S> StreamExt for S
where S: Stream + ?Sized,

§

fn poll_next(&mut self, cx: &mut Context<'_>) -> Poll<Option<Self::Item>>
where Self: Unpin,

A convenience for calling [Stream::poll_next()] on !Unpin types.
§

fn next(&mut self) -> NextFuture<'_, Self>
where Self: Unpin,

Retrieves the next item in the stream. Read more
§

fn try_next<T, E>(&mut self) -> TryNextFuture<'_, Self>
where diff --git a/pr/3269/docs/iroh_relay/defaults/constant.DEFAULT_HTTPS_PORT.html b/pr/3269/docs/iroh_relay/defaults/constant.DEFAULT_HTTPS_PORT.html index ea0d71d940..481db6d168 100644 --- a/pr/3269/docs/iroh_relay/defaults/constant.DEFAULT_HTTPS_PORT.html +++ b/pr/3269/docs/iroh_relay/defaults/constant.DEFAULT_HTTPS_PORT.html @@ -1,2 +1,2 @@ -DEFAULT_HTTPS_PORT in iroh_relay::defaults - Rust
iroh_relay::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_relay::defaults - Rust
iroh_relay::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/3269/docs/iroh_relay/defaults/constant.DEFAULT_HTTP_PORT.html b/pr/3269/docs/iroh_relay/defaults/constant.DEFAULT_HTTP_PORT.html index dc694c0273..f99f3373d5 100644 --- a/pr/3269/docs/iroh_relay/defaults/constant.DEFAULT_HTTP_PORT.html +++ b/pr/3269/docs/iroh_relay/defaults/constant.DEFAULT_HTTP_PORT.html @@ -1,2 +1,2 @@ -DEFAULT_HTTP_PORT in iroh_relay::defaults - Rust
iroh_relay::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_relay::defaults - Rust
iroh_relay::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/3269/docs/iroh_relay/defaults/constant.DEFAULT_KEY_CACHE_CAPACITY.html b/pr/3269/docs/iroh_relay/defaults/constant.DEFAULT_KEY_CACHE_CAPACITY.html index c9ebf259f0..719088b963 100644 --- a/pr/3269/docs/iroh_relay/defaults/constant.DEFAULT_KEY_CACHE_CAPACITY.html +++ b/pr/3269/docs/iroh_relay/defaults/constant.DEFAULT_KEY_CACHE_CAPACITY.html @@ -1,4 +1,4 @@ -DEFAULT_KEY_CACHE_CAPACITY in iroh_relay::defaults - Rust
iroh_relay::defaults

Constant DEFAULT_KEY_CACHE_CAPACITY

Source
pub const DEFAULT_KEY_CACHE_CAPACITY: usize = _; // 1_048_576usize
Expand description

The default capacity of the key cache for the relay server.

+DEFAULT_KEY_CACHE_CAPACITY in iroh_relay::defaults - Rust
iroh_relay::defaults

Constant DEFAULT_KEY_CACHE_CAPACITY

Source
pub const DEFAULT_KEY_CACHE_CAPACITY: usize = _; // 1_048_576usize
Expand description

The default capacity of the key cache for the relay server.

Sized for 1 million concurrent clients. memory usage will be (32 + 8 + 8 + 8) * 1_000_000 = 56MB on 64 bit, which seems reasonable for a server.

diff --git a/pr/3269/docs/iroh_relay/defaults/constant.DEFAULT_METRICS_PORT.html b/pr/3269/docs/iroh_relay/defaults/constant.DEFAULT_METRICS_PORT.html index 720561269d..eceb4cc3d2 100644 --- a/pr/3269/docs/iroh_relay/defaults/constant.DEFAULT_METRICS_PORT.html +++ b/pr/3269/docs/iroh_relay/defaults/constant.DEFAULT_METRICS_PORT.html @@ -1,2 +1,2 @@ -DEFAULT_METRICS_PORT in iroh_relay::defaults - Rust
iroh_relay::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_relay::defaults - Rust
iroh_relay::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/3269/docs/iroh_relay/defaults/constant.DEFAULT_RELAY_QUIC_PORT.html b/pr/3269/docs/iroh_relay/defaults/constant.DEFAULT_RELAY_QUIC_PORT.html index 8699a8d763..33fff4a373 100644 --- a/pr/3269/docs/iroh_relay/defaults/constant.DEFAULT_RELAY_QUIC_PORT.html +++ b/pr/3269/docs/iroh_relay/defaults/constant.DEFAULT_RELAY_QUIC_PORT.html @@ -1,4 +1,4 @@ -DEFAULT_RELAY_QUIC_PORT in iroh_relay::defaults - Rust
iroh_relay::defaults

Constant DEFAULT_RELAY_QUIC_PORT

Source
pub const DEFAULT_RELAY_QUIC_PORT: u16 = 7842;
Expand description

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

iroh_relay::defaults

Constant DEFAULT_RELAY_QUIC_PORT

Source
pub const DEFAULT_RELAY_QUIC_PORT: u16 = 7842;
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.

\ No newline at end of file diff --git a/pr/3269/docs/iroh_relay/defaults/constant.DEFAULT_STUN_PORT.html b/pr/3269/docs/iroh_relay/defaults/constant.DEFAULT_STUN_PORT.html index 414051ec5e..73f578382d 100644 --- a/pr/3269/docs/iroh_relay/defaults/constant.DEFAULT_STUN_PORT.html +++ b/pr/3269/docs/iroh_relay/defaults/constant.DEFAULT_STUN_PORT.html @@ -1,3 +1,3 @@ -DEFAULT_STUN_PORT in iroh_relay::defaults - Rust
iroh_relay::defaults

Constant DEFAULT_STUN_PORT

Source
pub const DEFAULT_STUN_PORT: u16 = 3478;
Expand description

The default STUN port used by the Relay server.

+DEFAULT_STUN_PORT in iroh_relay::defaults - Rust
iroh_relay::defaults

Constant DEFAULT_STUN_PORT

Source
pub const DEFAULT_STUN_PORT: u16 = 3478;
Expand description

The default STUN port used by the Relay server.

The STUN port as defined by RFC 8489

\ No newline at end of file diff --git a/pr/3269/docs/iroh_relay/defaults/index.html b/pr/3269/docs/iroh_relay/defaults/index.html index c9a8b3809d..57dd894cce 100644 --- a/pr/3269/docs/iroh_relay/defaults/index.html +++ b/pr/3269/docs/iroh_relay/defaults/index.html @@ -1,3 +1,3 @@ -iroh_relay::defaults - Rust
iroh_relay

Module defaults

Source
Expand description

Default values used in the relay.

+iroh_relay::defaults - Rust
iroh_relay

Module defaults

Source
Expand description

Default values used in the relay.

Constants§

\ No newline at end of file diff --git a/pr/3269/docs/iroh_relay/dns/constant.N0_DNS_NODE_ORIGIN_PROD.html b/pr/3269/docs/iroh_relay/dns/constant.N0_DNS_NODE_ORIGIN_PROD.html index 34cf79d18e..79021df124 100644 --- a/pr/3269/docs/iroh_relay/dns/constant.N0_DNS_NODE_ORIGIN_PROD.html +++ b/pr/3269/docs/iroh_relay/dns/constant.N0_DNS_NODE_ORIGIN_PROD.html @@ -1,2 +1,2 @@ -N0_DNS_NODE_ORIGIN_PROD in iroh_relay::dns - Rust
iroh_relay::dns

Constant N0_DNS_NODE_ORIGIN_PROD

Source
pub const N0_DNS_NODE_ORIGIN_PROD: &str = "dns.iroh.link";
Available on non-wasm_browser only.
Expand description

The n0 testing DNS node origin, for production.

+N0_DNS_NODE_ORIGIN_PROD in iroh_relay::dns - Rust
iroh_relay::dns

Constant N0_DNS_NODE_ORIGIN_PROD

Source
pub const N0_DNS_NODE_ORIGIN_PROD: &str = "dns.iroh.link";
Available on non-wasm_browser only.
Expand description

The n0 testing DNS node origin, for production.

\ No newline at end of file diff --git a/pr/3269/docs/iroh_relay/dns/constant.N0_DNS_NODE_ORIGIN_STAGING.html b/pr/3269/docs/iroh_relay/dns/constant.N0_DNS_NODE_ORIGIN_STAGING.html index eeb0faf621..63343e580d 100644 --- a/pr/3269/docs/iroh_relay/dns/constant.N0_DNS_NODE_ORIGIN_STAGING.html +++ b/pr/3269/docs/iroh_relay/dns/constant.N0_DNS_NODE_ORIGIN_STAGING.html @@ -1,2 +1,2 @@ -N0_DNS_NODE_ORIGIN_STAGING in iroh_relay::dns - Rust
iroh_relay::dns

Constant N0_DNS_NODE_ORIGIN_STAGING

Source
pub const N0_DNS_NODE_ORIGIN_STAGING: &str = "staging-dns.iroh.link";
Available on non-wasm_browser only.
Expand description

The n0 testing DNS node origin, for testing.

+N0_DNS_NODE_ORIGIN_STAGING in iroh_relay::dns - Rust
iroh_relay::dns

Constant N0_DNS_NODE_ORIGIN_STAGING

Source
pub const N0_DNS_NODE_ORIGIN_STAGING: &str = "staging-dns.iroh.link";
Available on non-wasm_browser only.
Expand description

The n0 testing DNS node origin, for testing.

\ No newline at end of file diff --git a/pr/3269/docs/iroh_relay/dns/index.html b/pr/3269/docs/iroh_relay/dns/index.html index 3899a4d7d7..512dc49d7e 100644 --- a/pr/3269/docs/iroh_relay/dns/index.html +++ b/pr/3269/docs/iroh_relay/dns/index.html @@ -1,2 +1,2 @@ -iroh_relay::dns - Rust
iroh_relay

Module dns

Source
Available on non-wasm_browser only.
Expand description

DNS resolver

+iroh_relay::dns - Rust
iroh_relay

Module dns

Source
Available on non-wasm_browser only.
Expand description

DNS resolver

Structs§

Constants§

\ No newline at end of file diff --git a/pr/3269/docs/iroh_relay/dns/struct.DnsResolver.html b/pr/3269/docs/iroh_relay/dns/struct.DnsResolver.html index 3196cda659..c58227f1a6 100644 --- a/pr/3269/docs/iroh_relay/dns/struct.DnsResolver.html +++ b/pr/3269/docs/iroh_relay/dns/struct.DnsResolver.html @@ -1,4 +1,4 @@ -DnsResolver in iroh_relay::dns - Rust
iroh_relay::dns

Struct DnsResolver

Source
pub struct DnsResolver(/* private fields */);
Available on non-wasm_browser only.
Expand description

The DNS resolver used throughout iroh.

+DnsResolver in iroh_relay::dns - Rust
iroh_relay::dns

Struct DnsResolver

Source
pub struct DnsResolver(/* private fields */);
Available on non-wasm_browser only.
Expand description

The DNS resolver used throughout iroh.

Implementations§

Source§

impl DnsResolver

Source

pub fn new() -> Self

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 @@ -9,22 +9,22 @@ to the default ResolverConfig which uses eg. to google’s 8. &self, host: impl ToString, timeout: Duration, -) -> Result<TxtLookup>

Lookup a TXT record.

+) -> Result<TxtLookup>

Lookup a TXT record.

Source

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

Perform an ipv4 lookup with a timeout.

+) -> Result<impl Iterator<Item = IpAddr>>

Perform an ipv4 lookup with a timeout.

Source

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

Perform an ipv6 lookup with a timeout.

+) -> Result<impl Iterator<Item = IpAddr>>

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>>

Resolve IPv4 and IPv6 in parallel with a timeout.

+) -> Result<impl Iterator<Item = IpAddr>>

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.

@@ -33,13 +33,13 @@ individually.

url: &Url, prefer_ipv6: bool, timeout: Duration, -) -> Result<IpAddr>

Resolve a hostname from a URL to an IP address.

+) -> Result<IpAddr>

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>>

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

+) -> 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 @@ -49,7 +49,7 @@ result of the first successful call is returned, or a summary of all errors othe host: impl ToString, timeout: Duration, delays_ms: &[u64], -) -> Result<impl Iterator<Item = IpAddr>>

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

+) -> 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 @@ -59,7 +59,7 @@ result of the first successful call is returned, or a summary of all errors othe host: impl ToString, timeout: Duration, delays_ms: &[u64], -) -> Result<impl Iterator<Item = IpAddr>>

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

+) -> 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 @@ -69,15 +69,15 @@ summary of all errors otherwise.

&self, node_id: &NodeId, origin: &str, -) -> Result<NodeInfo>

Looks up node info by [NodeId] and origin domain name.

+) -> Result<NodeInfo>

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<NodeInfo>

Looks up node info by DNS name.

+
Source

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

Looks up node info by DNS name.

Source

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

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

+) -> Result<NodeInfo>

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 @@ -87,7 +87,7 @@ summary of all errors otherwise.

node_id: &NodeId, origin: &str, delays_ms: &[u64], -) -> Result<NodeInfo>

Looks up node info by [NodeId] and origin domain name.

+) -> Result<NodeInfo>

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 @@ -103,15 +103,15 @@ summary of all errors otherwise.

) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 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 +

§

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 diff --git a/pr/3269/docs/iroh_relay/dns/struct.TXT.html b/pr/3269/docs/iroh_relay/dns/struct.TXT.html index b099a76fcb..0754f34452 100644 --- a/pr/3269/docs/iroh_relay/dns/struct.TXT.html +++ b/pr/3269/docs/iroh_relay/dns/struct.TXT.html @@ -1,4 +1,4 @@ -TXT in iroh_relay::dns - Rust
iroh_relay::dns

Struct TXT

Source
pub struct TXT(/* private fields */);
Available on non-wasm_browser only.
Expand description

Record data for a TXT record

+TXT in iroh_relay::dns - Rust
iroh_relay::dns

Struct TXT

Source
pub struct TXT(/* private fields */);
Available on non-wasm_browser only.
Expand description

Record data for a TXT record

Implementations§

Source§

impl TXT

Source

pub fn txt_data(&self) -> &[Box<[u8]>]

Returns the raw character strings of this TXT record.

Trait Implementations§

Source§

impl Clone for TXT

Source§

fn clone(&self) -> TXT

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 TXT

Source§

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

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

impl Display for TXT

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Freeze for TXT

§

impl RefUnwindSafe for TXT

§

impl Send for TXT

§

impl Sync for TXT

§

impl Unpin for TXT

§

impl UnwindSafe for TXT

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 @@ -11,15 +11,15 @@ ) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 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 +

§

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> 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 diff --git a/pr/3269/docs/iroh_relay/dns/struct.TxtLookup.html b/pr/3269/docs/iroh_relay/dns/struct.TxtLookup.html index 80ef3d335b..71b5095886 100644 --- a/pr/3269/docs/iroh_relay/dns/struct.TxtLookup.html +++ b/pr/3269/docs/iroh_relay/dns/struct.TxtLookup.html @@ -1,4 +1,4 @@ -TxtLookup in iroh_relay::dns - Rust
iroh_relay::dns

Struct TxtLookup

Source
pub struct TxtLookup(/* private fields */);
Available on non-wasm_browser only.
Expand description

TXT records returned from DnsResolver::lookup_txt

+TxtLookup in iroh_relay::dns - Rust
iroh_relay::dns

Struct TxtLookup

Source
pub struct TxtLookup(/* private fields */);
Available on non-wasm_browser only.
Expand description

TXT records returned from DnsResolver::lookup_txt

Trait Implementations§

Source§

impl Clone for TxtLookup

Source§

fn clone(&self) -> TxtLookup

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 TxtLookup

Source§

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

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

impl From<TxtLookup> for TxtLookup

Source§

fn from(value: TxtLookup) -> Self

Converts to this type from the input type.
Source§

impl IntoIterator for TxtLookup

Source§

type Item = TXT

The type of the elements being iterated over.
Source§

type IntoIter = Box<dyn Iterator<Item = TXT>>

Which kind of iterator are we turning this into?
Source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator 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 @@ -10,15 +10,15 @@ ) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 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 +

§

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 diff --git a/pr/3269/docs/iroh_relay/http/constant.RELAY_PATH.html b/pr/3269/docs/iroh_relay/http/constant.RELAY_PATH.html index 36a329cb12..33c8ab2c17 100644 --- a/pr/3269/docs/iroh_relay/http/constant.RELAY_PATH.html +++ b/pr/3269/docs/iroh_relay/http/constant.RELAY_PATH.html @@ -1,3 +1,3 @@ -RELAY_PATH in iroh_relay::http - Rust
iroh_relay::http

Constant RELAY_PATH

Source
pub const RELAY_PATH: &str = "/relay";
Expand description

The HTTP path under which the relay accepts relaying connections +RELAY_PATH in iroh_relay::http - Rust

iroh_relay::http

Constant RELAY_PATH

Source
pub const RELAY_PATH: &str = "/relay";
Expand description

The HTTP path under which the relay accepts relaying connections (over websockets and a custom upgrade protocol).

\ No newline at end of file diff --git a/pr/3269/docs/iroh_relay/http/constant.RELAY_PROBE_PATH.html b/pr/3269/docs/iroh_relay/http/constant.RELAY_PROBE_PATH.html index 8fd0d35106..2b4fbf22d9 100644 --- a/pr/3269/docs/iroh_relay/http/constant.RELAY_PROBE_PATH.html +++ b/pr/3269/docs/iroh_relay/http/constant.RELAY_PROBE_PATH.html @@ -1,2 +1,2 @@ -RELAY_PROBE_PATH in iroh_relay::http - Rust
iroh_relay::http

Constant RELAY_PROBE_PATH

Source
pub const RELAY_PROBE_PATH: &str = "/ping";
Expand description

The HTTP path under which the relay allows doing latency queries for testing.

+RELAY_PROBE_PATH in iroh_relay::http - Rust
iroh_relay::http

Constant RELAY_PROBE_PATH

Source
pub const RELAY_PROBE_PATH: &str = "/ping";
Expand description

The HTTP path under which the relay allows doing latency queries for testing.

\ No newline at end of file diff --git a/pr/3269/docs/iroh_relay/http/enum.Protocol.html b/pr/3269/docs/iroh_relay/http/enum.Protocol.html index b8b425a3ed..5889aeadca 100644 --- a/pr/3269/docs/iroh_relay/http/enum.Protocol.html +++ b/pr/3269/docs/iroh_relay/http/enum.Protocol.html @@ -1,4 +1,4 @@ -Protocol in iroh_relay::http - Rust
iroh_relay::http

Enum Protocol

Source
pub enum Protocol {
+Protocol in iroh_relay::http - Rust
iroh_relay::http

Enum Protocol

Source
pub enum Protocol {
     Relay,
     Websocket,
 }
Expand description

The HTTP upgrade protocol used for relaying.

@@ -19,8 +19,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -31,7 +31,7 @@ and should not be overridden without very good reason.

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 +

§

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 diff --git a/pr/3269/docs/iroh_relay/http/index.html b/pr/3269/docs/iroh_relay/http/index.html index 398a9a81f3..bff4777b5c 100644 --- a/pr/3269/docs/iroh_relay/http/index.html +++ b/pr/3269/docs/iroh_relay/http/index.html @@ -1,3 +1,3 @@ -iroh_relay::http - Rust
iroh_relay

Module http

Source
Expand description

HTTP-specific constants for the relay server and client.

+iroh_relay::http - Rust
iroh_relay

Module http

Source
Expand description

HTTP-specific constants for the relay server and client.

Enums§

  • The HTTP upgrade protocol used for relaying.

Constants§

  • The HTTP path under which the relay accepts relaying connections (over websockets and a custom upgrade protocol).
  • The HTTP path under which the relay allows doing latency queries for testing.
\ No newline at end of file diff --git a/pr/3269/docs/iroh_relay/index.html b/pr/3269/docs/iroh_relay/index.html index aa17a382d4..01d8ad04d6 100644 --- a/pr/3269/docs/iroh_relay/index.html +++ b/pr/3269/docs/iroh_relay/index.html @@ -1,4 +1,4 @@ -iroh_relay - Rust

Crate iroh_relay

Source
Expand description

Iroh’s relay is a feature within iroh, a peer-to-peer +iroh_relay - Rust

Crate iroh_relay

Source
Expand description

Iroh’s relay is a feature within iroh, a peer-to-peer networking system designed to facilitate direct, encrypted connections between devices. Iroh aims to simplify decentralized communication by automatically handling connections through “relays” when direct connections aren’t immediately possible. The relay server helps establish diff --git a/pr/3269/docs/iroh_relay/node_info/constant.IROH_TXT_NAME.html b/pr/3269/docs/iroh_relay/node_info/constant.IROH_TXT_NAME.html index 769963b8ea..9631914579 100644 --- a/pr/3269/docs/iroh_relay/node_info/constant.IROH_TXT_NAME.html +++ b/pr/3269/docs/iroh_relay/node_info/constant.IROH_TXT_NAME.html @@ -1,2 +1,2 @@ -IROH_TXT_NAME in iroh_relay::node_info - Rust

iroh_relay::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_relay::node_info - Rust
iroh_relay::node_info

Constant IROH_TXT_NAME

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

The DNS name for the iroh TXT record.

\ No newline at end of file diff --git a/pr/3269/docs/iroh_relay/node_info/index.html b/pr/3269/docs/iroh_relay/node_info/index.html index daa1aa3c65..893e7d3beb 100644 --- a/pr/3269/docs/iroh_relay/node_info/index.html +++ b/pr/3269/docs/iroh_relay/node_info/index.html @@ -1,4 +1,4 @@ -iroh_relay::node_info - Rust
iroh_relay

Module node_info

Source
Expand description

Support for handling DNS resource records for dialing by [NodeId].

+iroh_relay::node_info - Rust
iroh_relay

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:

diff --git a/pr/3269/docs/iroh_relay/node_info/struct.MaxLengthExceededError.html b/pr/3269/docs/iroh_relay/node_info/struct.MaxLengthExceededError.html index f13a5d250a..92f6234f74 100644 --- a/pr/3269/docs/iroh_relay/node_info/struct.MaxLengthExceededError.html +++ b/pr/3269/docs/iroh_relay/node_info/struct.MaxLengthExceededError.html @@ -1,4 +1,4 @@ -MaxLengthExceededError in iroh_relay::node_info - Rust
iroh_relay::node_info

Struct MaxLengthExceededError

Source
pub struct MaxLengthExceededError;
Expand description

Error returned when an input value is too long for UserData.

+MaxLengthExceededError in iroh_relay::node_info - Rust
iroh_relay::node_info

Struct MaxLengthExceededError

Source
pub struct MaxLengthExceededError;
Expand description

Error returned when an input value is too long for UserData.

Trait Implementations§

Source§

impl Debug for MaxLengthExceededError

Source§

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

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

impl Display for MaxLengthExceededError

Source§

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

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

impl Error for MaxLengthExceededError

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<T> AsErrorSource for T
where T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method @@ -19,7 +19,7 @@ receivers.
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 +

§

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 diff --git a/pr/3269/docs/iroh_relay/node_info/struct.NodeData.html b/pr/3269/docs/iroh_relay/node_info/struct.NodeData.html index 177d464231..2228868b94 100644 --- a/pr/3269/docs/iroh_relay/node_info/struct.NodeData.html +++ b/pr/3269/docs/iroh_relay/node_info/struct.NodeData.html @@ -1,4 +1,4 @@ -NodeData in iroh_relay::node_info - Rust
iroh_relay::node_info

Struct NodeData

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

Data about a node that may be published to and resolved from discovery services.

+NodeData in iroh_relay::node_info - Rust
iroh_relay::node_info

Struct NodeData

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

Data about a node that may be published to and resolved from discovery services.

This includes an optional [RelayUrl], a set of direct addresses, and the optional UserData, a string that can be set by applications and is not parsed or used by iroh itself.

@@ -36,8 +36,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -48,7 +48,7 @@ and should not be overridden without very good reason.

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 +

§

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 diff --git a/pr/3269/docs/iroh_relay/node_info/struct.NodeInfo.html b/pr/3269/docs/iroh_relay/node_info/struct.NodeInfo.html index 09448b1145..5f3d543516 100644 --- a/pr/3269/docs/iroh_relay/node_info/struct.NodeInfo.html +++ b/pr/3269/docs/iroh_relay/node_info/struct.NodeInfo.html @@ -1,4 +1,4 @@ -NodeInfo in iroh_relay::node_info - Rust
iroh_relay::node_info

Struct NodeInfo

Source
pub struct NodeInfo {
+NodeInfo in iroh_relay::node_info - Rust
iroh_relay::node_info

Struct NodeInfo

Source
pub struct NodeInfo {
     pub node_id: NodeId,
     pub data: NodeData,
 }
Expand description

Information about a node that may be published to and resolved from discovery services.

@@ -15,13 +15,13 @@
Source

pub fn with_user_data(self, user_data: Option<UserData>) -> Self

Sets the user-defined data and returns the updated node info.

Source

pub fn to_node_addr(&self) -> NodeAddr

Converts into a [NodeAddr] by cloning the needed fields.

Source

pub fn into_node_addr(self) -> NodeAddr

Converts into a [NodeAddr] without cloning.

-
Source

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

Available on non-wasm_browser only.

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 from_txt_lookup(lookup: TxtLookup) -> Result<Self>

Available on non-wasm_browser only.

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( &self, secret_key: &SecretKey, ttl: u32, -) -> Result<SignedPacket>

Creates a [pkarr::SignedPacket].

+) -> Result<SignedPacket>

Creates a [pkarr::SignedPacket].

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

Source

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

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

Methods from Deref<Target = NodeData>§

Source

pub fn relay_url(&self) -> Option<&RelayUrl>

Returns the relay URL of the node.

@@ -46,8 +46,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -60,7 +60,7 @@ and should not be overridden without very good reason.

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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, - T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
Available on non-bootstrap only.
The target type on which the method may be called.
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

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

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
Available on non-bootstrap only.
The target type on which the method may be called.
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 diff --git a/pr/3269/docs/iroh_relay/node_info/struct.UserData.html b/pr/3269/docs/iroh_relay/node_info/struct.UserData.html index e025ae1c4e..94e9bf9595 100644 --- a/pr/3269/docs/iroh_relay/node_info/struct.UserData.html +++ b/pr/3269/docs/iroh_relay/node_info/struct.UserData.html @@ -1,4 +1,4 @@ -UserData in iroh_relay::node_info - Rust
iroh_relay::node_info

Struct UserData

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

Under the hood this is a UTF-8 String is no longer than UserData::MAX_LENGTH bytes.

+UserData in iroh_relay::node_info - Rust
iroh_relay::node_info

Struct UserData

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

Under the hood this is a UTF-8 String is no longer than UserData::MAX_LENGTH bytes.

Iroh does not keep track of or examine the user-defined data.

UserData implements FromStr and TryFrom<String>, so you can convert &str and String into UserData easily.

@@ -15,7 +15,7 @@ which leaves 245 bytes for the actual user-defined data.

and should not be overridden without very good reason.
Source§

impl PartialOrd for UserData

Source§

fn partial_cmp(&self, other: &UserData) -> 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<String> for UserData

Source§

type Error = MaxLengthExceededError

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

fn try_from(value: String) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl Eq for UserData

Source§

impl StructuralPartialEq for UserData

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

impl TryFrom<String> for UserData

Source§

type Error = MaxLengthExceededError

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

fn try_from(value: String) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl Eq for UserData

Source§

impl StructuralPartialEq for UserData

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( @@ -28,8 +28,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + K: Borrow<Q> + ?Sized,

§

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

Compare self to key and return their ordering.
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -40,7 +40,7 @@ the >= operator. 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 +

§

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> 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 diff --git a/pr/3269/docs/iroh_relay/node_info/trait.NodeIdExt.html b/pr/3269/docs/iroh_relay/node_info/trait.NodeIdExt.html index 2455ff92fa..055c747da1 100644 --- a/pr/3269/docs/iroh_relay/node_info/trait.NodeIdExt.html +++ b/pr/3269/docs/iroh_relay/node_info/trait.NodeIdExt.html @@ -1,9 +1,9 @@ -NodeIdExt in iroh_relay::node_info - Rust
iroh_relay::node_info

Trait NodeIdExt

Source
pub trait NodeIdExt {
+NodeIdExt in iroh_relay::node_info - Rust
iroh_relay::node_info

Trait NodeIdExt

Source
pub trait NodeIdExt {
     // Required methods
     fn to_z32(&self) -> String;
-    fn from_z32(s: &str) -> Result<NodeId>;
+    fn from_z32(s: &str) -> Result<NodeId>;
 }
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<NodeId>

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.

Implementations on Foreign Types§

Source§

impl NodeIdExt for NodeId

Source§

fn to_z32(&self) -> String

Source§

fn from_z32(s: &str) -> Result<NodeId>

Implementors§

\ No newline at end of file +

Source

fn from_z32(s: &str) -> Result<NodeId>

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.

Implementations on Foreign Types§

Source§

impl NodeIdExt for NodeId

Source§

fn to_z32(&self) -> String

Source§

fn from_z32(s: &str) -> Result<NodeId>

Implementors§

\ No newline at end of file diff --git a/pr/3269/docs/iroh_relay/protos/disco/constant.MAGIC.html b/pr/3269/docs/iroh_relay/protos/disco/constant.MAGIC.html index 46bca1f169..139751698d 100644 --- a/pr/3269/docs/iroh_relay/protos/disco/constant.MAGIC.html +++ b/pr/3269/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/3269/docs/iroh_relay/protos/disco/fn.looks_like_disco_wrapper.html b/pr/3269/docs/iroh_relay/protos/disco/fn.looks_like_disco_wrapper.html index cd97e766ce..7cc2e636dd 100644 --- a/pr/3269/docs/iroh_relay/protos/disco/fn.looks_like_disco_wrapper.html +++ b/pr/3269/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/3269/docs/iroh_relay/protos/disco/index.html b/pr/3269/docs/iroh_relay/protos/disco/index.html index 17ac0bfdac..5ea05b020e 100644 --- a/pr/3269/docs/iroh_relay/protos/disco/index.html +++ b/pr/3269/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/3269/docs/iroh_relay/protos/index.html b/pr/3269/docs/iroh_relay/protos/index.html index 448759015d..1de02e2530 100644 --- a/pr/3269/docs/iroh_relay/protos/index.html +++ b/pr/3269/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/3269/docs/iroh_relay/protos/relay/constant.MAX_PACKET_SIZE.html b/pr/3269/docs/iroh_relay/protos/relay/constant.MAX_PACKET_SIZE.html index f041dcb522..0ab95a3501 100644 --- a/pr/3269/docs/iroh_relay/protos/relay/constant.MAX_PACKET_SIZE.html +++ b/pr/3269/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/3269/docs/iroh_relay/protos/relay/index.html b/pr/3269/docs/iroh_relay/protos/relay/index.html index 72591b025c..541e49a139 100644 --- a/pr/3269/docs/iroh_relay/protos/relay/index.html +++ b/pr/3269/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:

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 +

§

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 diff --git a/pr/3269/docs/iroh_relay/protos/stun/enum.MessageClass.html b/pr/3269/docs/iroh_relay/protos/stun/enum.MessageClass.html index d9c4f59cfb..94eb75f9cb 100644 --- a/pr/3269/docs/iroh_relay/protos/stun/enum.MessageClass.html +++ b/pr/3269/docs/iroh_relay/protos/stun/enum.MessageClass.html @@ -1,4 +1,4 @@ -MessageClass in iroh_relay::protos::stun - Rust
iroh_relay::protos::stun

Enum MessageClass

pub enum MessageClass {
+MessageClass in iroh_relay::protos::stun - Rust
iroh_relay::protos::stun

Enum MessageClass

pub enum MessageClass {
     Request,
     Indication,
     SuccessResponse,
@@ -27,8 +27,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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -39,7 +39,7 @@ and should not be overridden without very good reason.

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 +

§

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 diff --git a/pr/3269/docs/iroh_relay/protos/stun/enum.StunAttribute.html b/pr/3269/docs/iroh_relay/protos/stun/enum.StunAttribute.html index 5114434ca9..2a1e7d1979 100644 --- a/pr/3269/docs/iroh_relay/protos/stun/enum.StunAttribute.html +++ b/pr/3269/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), @@ -115,7 +115,7 @@

pub fn expect_xor_mapped_address(&self) -> &XorMappedAddress

Returns a reference to the XorMappedAddress attribute.

§Panics

Panics if the attribute is not an XorMappedAddress

-

Trait Implementations§

§

impl Clone for StunAttribute

§

fn clone(&self) -> StunAttribute

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 StunAttribute

§

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

Formats the value using the given formatter. Read more
§

impl From<AlternateServer> for StunAttribute

§

fn from(value: AlternateServer) -> StunAttribute

Converts to this type from the input type.
§

impl From<ErrorCode> for StunAttribute

§

fn from(value: ErrorCode) -> StunAttribute

Converts to this type from the input type.
§

impl From<Fingerprint> for StunAttribute

§

fn from(value: Fingerprint) -> StunAttribute

Converts to this type from the input type.
§

impl From<MappedAddress> for StunAttribute

§

fn from(value: MappedAddress) -> StunAttribute

Converts to this type from the input type.
§

impl From<MessageIntegrity> for StunAttribute

§

fn from(value: MessageIntegrity) -> StunAttribute

Converts to this type from the input type.
§

impl From<MessageIntegritySha256> for StunAttribute

§

fn from(value: MessageIntegritySha256) -> StunAttribute

Converts to this type from the input type.
§

impl From<Nonce> for StunAttribute

§

fn from(value: Nonce) -> StunAttribute

Converts to this type from the input type.
§

impl From<PasswordAlgorithm> for StunAttribute

§

fn from(value: PasswordAlgorithm) -> StunAttribute

Converts to this type from the input type.
§

impl From<PasswordAlgorithms> for StunAttribute

§

fn from(value: PasswordAlgorithms) -> StunAttribute

Converts to this type from the input type.
§

impl From<Realm> for StunAttribute

§

fn from(value: Realm) -> StunAttribute

Converts to this type from the input type.
§

impl From<Software> for StunAttribute

§

fn from(value: Software) -> StunAttribute

Converts to this type from the input type.
§

impl From<Unknown> for StunAttribute

§

fn from(value: Unknown) -> StunAttribute

Converts to this type from the input type.
§

impl From<UnknownAttributes> for StunAttribute

§

fn from(value: UnknownAttributes) -> StunAttribute

Converts to this type from the input type.
§

impl From<UserHash> for StunAttribute

§

fn from(value: UserHash) -> StunAttribute

Converts to this type from the input type.
§

impl From<UserName> for StunAttribute

§

fn from(value: UserName) -> StunAttribute

Converts to this type from the input type.
§

impl From<XorMappedAddress> for StunAttribute

§

fn from(value: XorMappedAddress) -> StunAttribute

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

§

impl Clone for StunAttribute

§

fn clone(&self) -> StunAttribute

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 StunAttribute

§

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

Formats the value using the given formatter. Read more
§

impl From<AlternateServer> for StunAttribute

§

fn from(value: AlternateServer) -> StunAttribute

Converts to this type from the input type.
§

impl From<ErrorCode> for StunAttribute

§

fn from(value: ErrorCode) -> StunAttribute

Converts to this type from the input type.
§

impl From<Fingerprint> for StunAttribute

§

fn from(value: Fingerprint) -> StunAttribute

Converts to this type from the input type.
§

impl From<MappedAddress> for StunAttribute

§

fn from(value: MappedAddress) -> StunAttribute

Converts to this type from the input type.
§

impl From<MessageIntegrity> for StunAttribute

§

fn from(value: MessageIntegrity) -> StunAttribute

Converts to this type from the input type.
§

impl From<MessageIntegritySha256> for StunAttribute

§

fn from(value: MessageIntegritySha256) -> StunAttribute

Converts to this type from the input type.
§

impl From<Nonce> for StunAttribute

§

fn from(value: Nonce) -> StunAttribute

Converts to this type from the input type.
§

impl From<PasswordAlgorithm> for StunAttribute

§

fn from(value: PasswordAlgorithm) -> StunAttribute

Converts to this type from the input type.
§

impl From<PasswordAlgorithms> for StunAttribute

§

fn from(value: PasswordAlgorithms) -> StunAttribute

Converts to this type from the input type.
§

impl From<Realm> for StunAttribute

§

fn from(value: Realm) -> StunAttribute

Converts to this type from the input type.
§

impl From<Software> for StunAttribute

§

fn from(value: Software) -> StunAttribute

Converts to this type from the input type.
§

impl From<Unknown> for StunAttribute

§

fn from(value: Unknown) -> StunAttribute

Converts to this type from the input type.
§

impl From<UnknownAttributes> for StunAttribute

§

fn from(value: UnknownAttributes) -> StunAttribute

Converts to this type from the input type.
§

impl From<UserHash> for StunAttribute

§

fn from(value: UserHash) -> StunAttribute

Converts to this type from the input type.
§

impl From<UserName> for StunAttribute

§

fn from(value: UserName) -> StunAttribute

Converts to this type from the input type.
§

impl From<XorMappedAddress> for StunAttribute

§

fn from(value: XorMappedAddress) -> StunAttribute

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( @@ -126,15 +126,15 @@ ) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 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 +

§

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 diff --git a/pr/3269/docs/iroh_relay/protos/stun/fn.is.html b/pr/3269/docs/iroh_relay/protos/stun/fn.is.html index d29a3eeacd..1feedc8fb4 100644 --- a/pr/3269/docs/iroh_relay/protos/stun/fn.is.html +++ b/pr/3269/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/3269/docs/iroh_relay/protos/stun/fn.parse_binding_request.html b/pr/3269/docs/iroh_relay/protos/stun/fn.parse_binding_request.html index d3ada95857..4a59c5b5fc 100644 --- a/pr/3269/docs/iroh_relay/protos/stun/fn.parse_binding_request.html +++ b/pr/3269/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/3269/docs/iroh_relay/protos/stun/fn.parse_response.html b/pr/3269/docs/iroh_relay/protos/stun/fn.parse_response.html index fb7871fc19..08b96dff66 100644 --- a/pr/3269/docs/iroh_relay/protos/stun/fn.parse_response.html +++ b/pr/3269/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/3269/docs/iroh_relay/protos/stun/fn.request.html b/pr/3269/docs/iroh_relay/protos/stun/fn.request.html index 2f261606d2..d8272525b7 100644 --- a/pr/3269/docs/iroh_relay/protos/stun/fn.request.html +++ b/pr/3269/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/3269/docs/iroh_relay/protos/stun/fn.response.html b/pr/3269/docs/iroh_relay/protos/stun/fn.response.html index 5dfdd9d3c4..02d07b0010 100644 --- a/pr/3269/docs/iroh_relay/protos/stun/fn.response.html +++ b/pr/3269/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/3269/docs/iroh_relay/protos/stun/index.html b/pr/3269/docs/iroh_relay/protos/stun/index.html index f1d8781257..f9c7d2df7b 100644 --- a/pr/3269/docs/iroh_relay/protos/stun/index.html +++ b/pr/3269/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§

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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 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 +

§

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 diff --git a/pr/3269/docs/iroh_relay/protos/stun/struct.StunDecodeError.html b/pr/3269/docs/iroh_relay/protos/stun/struct.StunDecodeError.html index 114e4690ac..ebe01eb5a5 100644 --- a/pr/3269/docs/iroh_relay/protos/stun/struct.StunDecodeError.html +++ b/pr/3269/docs/iroh_relay/protos/stun/struct.StunDecodeError.html @@ -1,5 +1,5 @@ -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 +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<T> AsErrorSource for T
where T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method to benefit from Rust’s automatic dereferencing of method @@ -19,7 +19,7 @@ receivers.
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 +

§

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 diff --git a/pr/3269/docs/iroh_relay/protos/stun/struct.TransactionId.html b/pr/3269/docs/iroh_relay/protos/stun/struct.TransactionId.html index 1207b2b501..ab134e030a 100644 --- a/pr/3269/docs/iroh_relay/protos/stun/struct.TransactionId.html +++ b/pr/3269/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,8 +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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + K: Borrow<Q> + ?Sized,

§

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

Compare self to key and return their ordering.
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -1183,7 +1183,7 @@ the >= operator. 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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, - T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
Available on non-bootstrap only.
The target type on which the method may be called.
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

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

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
Available on non-bootstrap only.
The target type on which the method may be called.
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> 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 @@ -1192,5 +1192,5 @@ the >= operator. 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

Source§

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

§

impl<T> MaybeSendSync for T

Source§

impl<T> RuleType for T
where T: Copy + Debug + Eq + Hash + Ord,

\ No newline at end of file diff --git a/pr/3269/docs/iroh_relay/quic/constant.ALPN_QUIC_ADDR_DISC.html b/pr/3269/docs/iroh_relay/quic/constant.ALPN_QUIC_ADDR_DISC.html index 04d8b85fc2..7919e40295 100644 --- a/pr/3269/docs/iroh_relay/quic/constant.ALPN_QUIC_ADDR_DISC.html +++ b/pr/3269/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/3269/docs/iroh_relay/quic/constant.QUIC_ADDR_DISC_CLOSE_CODE.html b/pr/3269/docs/iroh_relay/quic/constant.QUIC_ADDR_DISC_CLOSE_CODE.html index 1c83072230..3d186abe5e 100644 --- a/pr/3269/docs/iroh_relay/quic/constant.QUIC_ADDR_DISC_CLOSE_CODE.html +++ b/pr/3269/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/3269/docs/iroh_relay/quic/constant.QUIC_ADDR_DISC_CLOSE_REASON.html b/pr/3269/docs/iroh_relay/quic/constant.QUIC_ADDR_DISC_CLOSE_REASON.html index 26416d779c..db749ff436 100644 --- a/pr/3269/docs/iroh_relay/quic/constant.QUIC_ADDR_DISC_CLOSE_REASON.html +++ b/pr/3269/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/3269/docs/iroh_relay/quic/index.html b/pr/3269/docs/iroh_relay/quic/index.html index 275678a283..872a697972 100644 --- a/pr/3269/docs/iroh_relay/quic/index.html +++ b/pr/3269/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/3269/docs/iroh_relay/quic/struct.QuicClient.html b/pr/3269/docs/iroh_relay/quic/struct.QuicClient.html index 4ff0547439..155fc35ea7 100644 --- a/pr/3269/docs/iroh_relay/quic/struct.QuicClient.html +++ b/pr/3269/docs/iroh_relay/quic/struct.QuicClient.html @@ -1,11 +1,11 @@ -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 +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( &self, server_addr: SocketAddr, host: &str, -) -> Result<(SocketAddr, Duration)>

Client side of QUIC address discovery.

+) -> Result<(SocketAddr, Duration)>

Client side of QUIC address discovery.

Creates a connection and returns the observed address and estimated latency of the connection.

Consumes and gracefully closes the connection.

@@ -26,7 +26,7 @@ and estimated latency of the connection.

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 +

§

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 diff --git a/pr/3269/docs/iroh_relay/server/constant.DEFAULT_CERT_RELOAD_INTERVAL.html b/pr/3269/docs/iroh_relay/server/constant.DEFAULT_CERT_RELOAD_INTERVAL.html index f7b56ba686..cfda68e149 100644 --- a/pr/3269/docs/iroh_relay/server/constant.DEFAULT_CERT_RELOAD_INTERVAL.html +++ b/pr/3269/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/3269/docs/iroh_relay/server/enum.Access.html b/pr/3269/docs/iroh_relay/server/enum.Access.html index 0a2f047a56..84e4d939cb 100644 --- a/pr/3269/docs/iroh_relay/server/enum.Access.html +++ b/pr/3269/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,8 +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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -28,7 +28,7 @@ and should not be overridden without very good reason.

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 +

§

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 diff --git a/pr/3269/docs/iroh_relay/server/enum.AccessConfig.html b/pr/3269/docs/iroh_relay/server/enum.AccessConfig.html index 7252562b7f..a0bfb9d91d 100644 --- a/pr/3269/docs/iroh_relay/server/enum.AccessConfig.html +++ b/pr/3269/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.

@@ -22,7 +22,7 @@ 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 +

§

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 diff --git a/pr/3269/docs/iroh_relay/server/enum.CertConfig.html b/pr/3269/docs/iroh_relay/server/enum.CertConfig.html index 88fa19f6ae..46d13bc659 100644 --- a/pr/3269/docs/iroh_relay/server/enum.CertConfig.html +++ b/pr/3269/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>,
     },
@@ -29,7 +29,7 @@
     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 +

§

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 diff --git a/pr/3269/docs/iroh_relay/server/index.html b/pr/3269/docs/iroh_relay/server/index.html index 664d28c580..c8d15dc36a 100644 --- a/pr/3269/docs/iroh_relay/server/index.html +++ b/pr/3269/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/3269/docs/iroh_relay/server/struct.ClientRateLimit.html b/pr/3269/docs/iroh_relay/server/struct.ClientRateLimit.html index 90c466c1a1..1803b09061 100644 --- a/pr/3269/docs/iroh_relay/server/struct.ClientRateLimit.html +++ b/pr/3269/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,15 +15,15 @@ ) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 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 +

§

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 diff --git a/pr/3269/docs/iroh_relay/server/struct.Limits.html b/pr/3269/docs/iroh_relay/server/struct.Limits.html index 1caa9117eb..e4b65e6f8e 100644 --- a/pr/3269/docs/iroh_relay/server/struct.Limits.html +++ b/pr/3269/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>,
@@ -23,7 +23,7 @@
     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 +

§

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 diff --git a/pr/3269/docs/iroh_relay/server/struct.Metrics.html b/pr/3269/docs/iroh_relay/server/struct.Metrics.html index 5dd5783146..3d38eacbd2 100644 --- a/pr/3269/docs/iroh_relay/server/struct.Metrics.html +++ b/pr/3269/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, @@ -60,7 +60,7 @@

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

§

impl<T> IntoIterable for T
where - T: Iterable,

§

fn as_iterable(&self) -> &dyn Iterable

Returns self as dyn Iterable
§

fn field_iter(&self) -> FieldIter<'_>

Returns an iterator over the fields of the struct.
§

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 + T: Iterable,

§

fn as_iterable(&self) -> &dyn Iterable

Returns self as dyn Iterable
§

fn field_iter(&self) -> FieldIter<'_>

Returns an iterator over the fields of the struct.
§

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 diff --git a/pr/3269/docs/iroh_relay/server/struct.QuicConfig.html b/pr/3269/docs/iroh_relay/server/struct.QuicConfig.html index c6523b6404..2a6e4370c0 100644 --- a/pr/3269/docs/iroh_relay/server/struct.QuicConfig.html +++ b/pr/3269/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.

@@ -24,7 +24,7 @@ to spawn.

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 +

§

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 diff --git a/pr/3269/docs/iroh_relay/server/struct.RelayConfig.html b/pr/3269/docs/iroh_relay/server/struct.RelayConfig.html index dcba286737..28aa98e8fb 100644 --- a/pr/3269/docs/iroh_relay/server/struct.RelayConfig.html +++ b/pr/3269/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,
@@ -36,7 +36,7 @@ TLS.

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 +

§

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 diff --git a/pr/3269/docs/iroh_relay/server/struct.RelayMetrics.html b/pr/3269/docs/iroh_relay/server/struct.RelayMetrics.html index ab9c0ec475..0f0fd9451d 100644 --- a/pr/3269/docs/iroh_relay/server/struct.RelayMetrics.html +++ b/pr/3269/docs/iroh_relay/server/struct.RelayMetrics.html @@ -1,4 +1,4 @@ -RelayMetrics in iroh_relay::server - Rust
iroh_relay::server

Struct RelayMetrics

Source
pub struct RelayMetrics {
+RelayMetrics in iroh_relay::server - Rust
iroh_relay::server

Struct RelayMetrics

Source
pub struct RelayMetrics {
     pub stun: Arc<StunMetrics>,
     pub server: Arc<Metrics>,
 }
Available on crate feature server only.
Expand description

All metrics tracked in the relay server.

@@ -15,15 +15,15 @@ ) -> 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
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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.

+ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 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 +

§

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 diff --git a/pr/3269/docs/iroh_relay/server/struct.ReloadingResolver.html b/pr/3269/docs/iroh_relay/server/struct.ReloadingResolver.html index e5aa2a7cc9..ba6ef339fc 100644 --- a/pr/3269/docs/iroh_relay/server/struct.ReloadingResolver.html +++ b/pr/3269/docs/iroh_relay/server/struct.ReloadingResolver.html @@ -1,6 +1,6 @@ -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.

+ 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.

Source

pub async fn reload(&self)

Reload the certificate.

Methods from Deref<Target = Reloadable<CertifiedKey, Loader>>§

pub fn get(&self) -> Arc<T>

Get the currently loaded value.

@@ -28,7 +28,7 @@ ClientHello information. Read more
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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, - T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
Available on non-bootstrap only.
The target type on which the method may be called.
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where + T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
Available on non-bootstrap only.
The target type on which the method may be called.
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 diff --git a/pr/3269/docs/iroh_relay/server/struct.Server.html b/pr/3269/docs/iroh_relay/server/struct.Server.html index 54b4f33fb4..0c148e8f47 100644 --- a/pr/3269/docs/iroh_relay/server/struct.Server.html +++ b/pr/3269/docs/iroh_relay/server/struct.Server.html @@ -1,12 +1,12 @@ -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 +

Implementations§

Source§

impl Server

Source

pub async fn spawn<EC, EA>(config: ServerConfig<EC, EA>) -> Result<Self>
where EC: Debug + 'static, EA: Debug + 'static,

Starts the server.

-
Source

pub async fn shutdown(self) -> Result<()>

Requests graceful shutdown.

+
Source

pub async fn shutdown(self) -> Result<()>

Requests graceful shutdown.

Returns once all server tasks have stopped.

-
Source

pub fn task_handle(&mut self) -> &mut AbortOnDropHandle<Result<()>>

Returns the handle for the task.

+
Source

pub fn task_handle(&mut self) -> &mut AbortOnDropHandle<Result<()>>

Returns the handle for the task.

This allows waiting for the server’s supervisor task to finish. Can be useful in case there is an error in the server before it is shut down.

Source

pub fn https_addr(&self) -> Option<SocketAddr>

The socket address the HTTPS server is listening on.

@@ -36,7 +36,7 @@ case there is an error in the server before it is shut down.

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 +

§

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 diff --git a/pr/3269/docs/iroh_relay/server/struct.ServerConfig.html b/pr/3269/docs/iroh_relay/server/struct.ServerConfig.html index f89cb47a17..662c76f968 100644 --- a/pr/3269/docs/iroh_relay/server/struct.ServerConfig.html +++ b/pr/3269/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>,
@@ -28,7 +28,7 @@ If not used dummy ones need to be provided, e.g. ServerConfig::<(), ()&
     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 +

§

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 diff --git a/pr/3269/docs/iroh_relay/server/struct.StunConfig.html b/pr/3269/docs/iroh_relay/server/struct.StunConfig.html index 70d18ebedb..d4e6668171 100644 --- a/pr/3269/docs/iroh_relay/server/struct.StunConfig.html +++ b/pr/3269/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.

@@ -20,7 +20,7 @@ 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 +

§

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 diff --git a/pr/3269/docs/iroh_relay/server/struct.StunMetrics.html b/pr/3269/docs/iroh_relay/server/struct.StunMetrics.html index d05f9ef2e6..803c59ea7b 100644 --- a/pr/3269/docs/iroh_relay/server/struct.StunMetrics.html +++ b/pr/3269/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,
@@ -28,7 +28,7 @@
 

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

§

impl<T> IntoIterable for T
where - T: Iterable,

§

fn as_iterable(&self) -> &dyn Iterable

Returns self as dyn Iterable
§

fn field_iter(&self) -> FieldIter<'_>

Returns an iterator over the fields of the struct.
§

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 + T: Iterable,

§

fn as_iterable(&self) -> &dyn Iterable

Returns self as dyn Iterable
§

fn field_iter(&self) -> FieldIter<'_>

Returns an iterator over the fields of the struct.
§

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 diff --git a/pr/3269/docs/iroh_relay/server/struct.TlsConfig.html b/pr/3269/docs/iroh_relay/server/struct.TlsConfig.html index 837d811592..c60d4eebc2 100644 --- a/pr/3269/docs/iroh_relay/server/struct.TlsConfig.html +++ b/pr/3269/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>,
@@ -31,7 +31,7 @@ this is served on the 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 +

§

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 diff --git a/pr/3269/docs/iroh_relay/server/testing/fn.quic_config.html b/pr/3269/docs/iroh_relay/server/testing/fn.quic_config.html index ee0747a93b..c09c9d2ac3 100644 --- a/pr/3269/docs/iroh_relay/server/testing/fn.quic_config.html +++ b/pr/3269/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/3269/docs/iroh_relay/server/testing/fn.relay_config.html b/pr/3269/docs/iroh_relay/server/testing/fn.relay_config.html index 078df3c002..5a1e0191b9 100644 --- a/pr/3269/docs/iroh_relay/server/testing/fn.relay_config.html +++ b/pr/3269/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/3269/docs/iroh_relay/server/testing/fn.self_signed_tls_certs_and_config.html b/pr/3269/docs/iroh_relay/server/testing/fn.self_signed_tls_certs_and_config.html index 825337b6cb..a87b4efc1c 100644 --- a/pr/3269/docs/iroh_relay/server/testing/fn.self_signed_tls_certs_and_config.html +++ b/pr/3269/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/3269/docs/iroh_relay/server/testing/fn.server_config.html b/pr/3269/docs/iroh_relay/server/testing/fn.server_config.html index 69d180db4c..aea50f9364 100644 --- a/pr/3269/docs/iroh_relay/server/testing/fn.server_config.html +++ b/pr/3269/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/3269/docs/iroh_relay/server/testing/fn.stun_config.html b/pr/3269/docs/iroh_relay/server/testing/fn.stun_config.html index 272ec18e60..e1506c33c1 100644 --- a/pr/3269/docs/iroh_relay/server/testing/fn.stun_config.html +++ b/pr/3269/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/3269/docs/iroh_relay/server/testing/fn.tls_config.html b/pr/3269/docs/iroh_relay/server/testing/fn.tls_config.html index 9ffd620a1d..c2cf36e782 100644 --- a/pr/3269/docs/iroh_relay/server/testing/fn.tls_config.html +++ b/pr/3269/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.

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 +

§

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 diff --git a/pr/3269/docs/iroh_relay/struct.RelayMap.html b/pr/3269/docs/iroh_relay/struct.RelayMap.html index 18d945c748..198be05e6d 100644 --- a/pr/3269/docs/iroh_relay/struct.RelayMap.html +++ b/pr/3269/docs/iroh_relay/struct.RelayMap.html @@ -1,25 +1,19 @@ -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.

-
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) -> Self

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.

-
Source

pub fn from_url(url: RelayUrl) -> Self

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>

-
Source

pub fn from_nodes<I: Into<Arc<RelayNode>>>( - value: impl IntoIterator<Item = I>, -) -> Result<Self>

Constructs the RelayMap from an iterator of RelayNodes.

-

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

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

impl Display for RelayMap

Source§

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

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 +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.

+
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?

+

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

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

impl Display for RelayMap

Source§

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

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

impl From<RelayNode> for RelayMap

Source§

fn from(value: RelayNode) -> Self

Converts to this type from the input type.
Source§

impl From<RelayUrl> for RelayMap

Source§

fn from(value: RelayUrl) -> Self

Creates a RelayMap from a [RelayUrl].

+

The RelayNodes in the RelayMap will have the default STUN and QUIC address +discovery ports.

+
Source§

impl FromIterator<RelayNode> for RelayMap

Source§

fn from_iter<T: IntoIterator<Item = RelayNode>>(iter: T) -> Self

Creates a value from an iterator. Read more
Source§

impl FromIterator<RelayUrl> for RelayMap

Source§

fn from_iter<T: IntoIterator<Item = RelayUrl>>(iter: T) -> Self

Creates a RelayMap from an iterator of [RelayUrl].

+

The RelayNodes in the RelayMap will have the default STUN and QUIC address +discovery ports.

+
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( @@ -30,19 +24,19 @@ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, - 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> 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 +

§

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> 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 diff --git a/pr/3269/docs/iroh_relay/struct.RelayNode.html b/pr/3269/docs/iroh_relay/struct.RelayNode.html index 7ae790cc31..05292452e4 100644 --- a/pr/3269/docs/iroh_relay/struct.RelayNode.html +++ b/pr/3269/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,
@@ -14,16 +14,16 @@ functionality is used.

§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§

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

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

impl<'de> Deserialize<'de> for RelayNode

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
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

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 +

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

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

impl<'de> Deserialize<'de> for RelayNode

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
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

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

impl From<RelayNode> for RelayMap

Source§

fn from(value: RelayNode) -> Self

Converts to this type from the input type.
Source§

impl From<RelayUrl> for RelayNode

Source§

fn from(value: RelayUrl) -> Self

Converts to this type from the input type.
Source§

impl FromIterator<RelayNode> for RelayMap

Source§

fn from_iter<T: IntoIterator<Item = RelayNode>>(iter: T) -> Self

Creates a value from an iterator. 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
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 + 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
Source§

impl Serialize for RelayNode

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
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 +the >= operator. Read more

Source§

impl Serialize for RelayNode

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
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( @@ -36,19 +36,19 @@ 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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + K: Borrow<Q> + ?Sized,

§

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

Compare self to key and return their ordering.
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, - 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> 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 +

§

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> 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 @@ -56,6 +56,6 @@ the >= operator.
§

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
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where +[WithDispatch] wrapper. Read more

Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/iroh_relay/struct.RelayQuicConfig.html b/pr/3269/docs/iroh_relay/struct.RelayQuicConfig.html index 6e3fbd0cf9..1bc72fbf6b 100644 --- a/pr/3269/docs/iroh_relay/struct.RelayQuicConfig.html +++ b/pr/3269/docs/iroh_relay/struct.RelayQuicConfig.html @@ -1,18 +1,18 @@ -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.

Fields§

§port: u16

The port on which the connection should be bound to.

-

Trait Implementations§

Source§

impl Clone for RelayQuicConfig

Source§

fn clone(&self) -> RelayQuicConfig

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 RelayQuicConfig

Source§

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

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

impl Default for RelayQuicConfig

Source§

fn default() -> Self

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

impl<'de> Deserialize<'de> for RelayQuicConfig

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Ord for RelayQuicConfig

Source§

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

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

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

Trait Implementations§

Source§

impl Clone for RelayQuicConfig

Source§

fn clone(&self) -> RelayQuicConfig

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 RelayQuicConfig

Source§

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

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

impl Default for RelayQuicConfig

Source§

fn default() -> Self

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

impl<'de> Deserialize<'de> for RelayQuicConfig

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Ord for RelayQuicConfig

Source§

fn cmp(&self, other: &RelayQuicConfig) -> 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 RelayQuicConfig

Source§

fn eq(&self, other: &RelayQuicConfig) -> 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 RelayQuicConfig

Source§

fn partial_cmp(&self, other: &RelayQuicConfig) -> 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 RelayQuicConfig

Source§

fn eq(&self, other: &RelayQuicConfig) -> 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 RelayQuicConfig

Source§

fn partial_cmp(&self, other: &RelayQuicConfig) -> 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 Serialize for RelayQuicConfig

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for RelayQuicConfig

Source§

impl StructuralPartialEq for RelayQuicConfig

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

impl Serialize for RelayQuicConfig

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for RelayQuicConfig

Source§

impl StructuralPartialEq for RelayQuicConfig

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( @@ -25,8 +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<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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 + K: Borrow<Q> + ?Sized,

§

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

Compare self to key and return their ordering.
§

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. 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, @@ -37,13 +37,13 @@ the >= operator. 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 +

§

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
Source§

impl<T> DeserializeOwned for T
where - T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where +[WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where + T: for<'de> Deserialize<'de>,

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/3269/docs/search-index.js b/pr/3269/docs/search-index.js index 958682942f..f370a44c52 100644 --- a/pr/3269/docs/search-index.js +++ b/pr/3269/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,"iroh_metrics::base"],[6,"iroh_bench"],[7,"anyhow"],[8,"iroh_bench::s2n"]],"i":"`````","f":"{{{d{b}}{d{f}}}h}{{}h}{j{{l{h}}}}0{n{{l{h}}}}","D":"`","p":[[1,"str"],[1,"reference",null,null,1],[10,"MetricsGroup",5],[1,"unit"],[5,"Opt",6],[8,"Result",7],[5,"Opt",8]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAAUAAQAAAAUA","P":[]}],["iroh",{"t":"PPEPGTFIFPFEFGFFFPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNOCCNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCCNOCNNNNNNCNNONONNNNNNNNNOOCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNCNNSSSSSCCSSSHHHHSSHHHFKFFFFFNNNNNNNNNNNNNNNNNNNNNONNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNCNNONCNNNNNCNNNNNNNNNNNNNNNNNNFSSNNNNNNNNNNNNNNNNNNNFSNNNNNNNNNNNNNNNNNNNNSSSSFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNTFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFSSNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNTTFFFFKPPFPFTTTPFPFPPFFFFPGPPPPPFGGKKFKPPPFFGPPPSFFTTTPFKTTPFFTPPTTPFTTPPFFTGFPPPPFGPGGFPPGPFPPGFTTPGFFGPPGFPPTPPPFFPFPFPPFFPFGFFPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONONNNOOOMNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNONNONOONOOOONNNONNNNNNNNNNNNNNNNNHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNONNNNNNOOONOOONOOONNNONNNOOONNNNNNNNNNOONNOOONMNMNMNNNNNNNOOONNNONNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNONNNNNNNOONMNNONMNNNNNNOONNNNNNNNNNNNNNNNNNNNONMNNONOONOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNOOFFEFFNOOOOOOOOONNNNNNNNNNNOONNNNNNNNNNNNNNNOOONNNNNNNNNNNNNNNOOOONNNNONNNNNNNNNNONNNNNONNNNNNNNNNOOOONNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNOOOOOOONNNNOFFFFFFFNNNNNNNHNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNOONNNNNNNNNNNNNNOOOOOONOONNOOONNOOOOONOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNSTFFKFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNONNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNNNNNFKFFNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFNNNNNNNNNNNNNNNNNNNNNNNNNNOONONHHHNNNNNNNNNFFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["Decode","DecodeInvalidLength","Endpoint","Key","KeyParsingError","LENGTH","NodeAddr","NodeId","PublicKey","Relay","RelayMap","RelayMode","RelayNode","RelayProtocol","RelayUrl","RelayUrlParseError","SecretKey","Websocket","__clone_box","","","","","","","as_bytes","as_error_source","","as_ref","borrow","","","","","","","","","","borrow_mut","","","","","","","","","clone","","","","","","","clone_into","","","","","","","clone_to_uninit","","","","","","","cmp","","","","compare","","","","compat","","","","","","","","","compat_mut","","","","","","","","","compat_ref","","","","","","","","","contains_node","default","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","net_report","new","node_id","node_info","nodes","parse_header","partial_cmp","","","","protocol","public","","quic","relay_url","","secret","serialize","","","","","sign","source","","stun_only","stun_port","test_utils","to_bytes","to_owned","","","","","","","to_string","","","","","","","to_z32","try_from","","","","","","","","","","","","try_into","","","","","","","","","type_id","","","","","","","","","upgrade_header","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","Lagged","NodeData","NodeInfo","UserData","__clone_box","add","as_error_source","borrow","","","borrow_mut","","","clone","clone_into","clone_to_uninit","compat","","","compat_mut","","","compat_ref","","","data","default","deref","","","","deref_mut","","","dns","drop","","","empty","fmt","","","","from","","","","from_ref","from_services","init","","","into","","","into_node_addr","last_updated","mdns","new","node_id","","node_info","pkarr","provenance","publish","","resolve","","static_provider","subscribe","","to_node_addr","to_owned","to_string","try_from","","","try_into","","","type_id","","","user_data","vzip","","","DnsDiscovery","N0_DNS_NODE_ORIGIN_PROD","N0_DNS_NODE_ORIGIN_STAGING","borrow","borrow_mut","compat","compat_mut","compat_ref","deref","deref_mut","drop","fmt","from","init","into","n0_dns","new","resolve","try_from","try_into","type_id","vzip","MdnsDiscovery","NAME","borrow","borrow_mut","compat","compat_mut","compat_ref","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","","","compat","","","compat_mut","","","compat_ref","","","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_node_data","vzip","","","with_options","Builder","DhtDiscovery","__clone_box","borrow","","borrow_mut","","build","builder","client","clone","clone_into","clone_to_uninit","compat","","compat_mut","","compat_ref","","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_info","borrow","borrow_mut","clone","clone_into","clone_to_uninit","compat","compat_mut","compat_ref","default","deref","deref_mut","drop","fmt","from","from_node_info","from_ref","get_node_info","init","into","new","publish","remove_node_info","resolve","set_node_info","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","compat","compat_mut","compat_ref","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","resolve_host","to_owned","try_from","try_into","type_id","vzip","with_nameserver","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","","","ConnectOptions","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","as_error_source","","","","","","","","","","","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","","","","compat","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","compat_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","compat_ref","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","congestion_controller_factory","congestion_events","congestion_state","conn_type","","connect","connect_with_opts","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","discovery_stream","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","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","metrics","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_conn_protocol","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","set_user_data_for_discovery","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","user_data_for_discovery","validation_token","validation_token_config","vzip","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","window","with_additional_alpns","with_crypto","with_single_cert","with_transport_config","write","write_all","write_all_chunks","write_chunk","write_chunks","name","","EndpointMetrics","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","as_iterable","","","borrow","","","","borrow_mut","","","","bytes_recv","bytes_sent","clone","clone_into","clone_to_uninit","compat","","","","compat_mut","","","","compat_ref","","","","connection_became_direct","connection_handshake_success","conns_rx_ratelimited_total","default","","","","deref","","","","deref_mut","","","","deserialize","","","disco_packets_dropped","disco_packets_recv","disco_packets_sent","disconnects","drop","","","","external_address_updated","field_count","","","field_ref","","","fmt","","","","frames_rx_ratelimited_total","from","","","","from_ref","got_ping","groups","groups_cloned","init","","","","into","","","","local_port_updates","magicsock","mapping_attempts","mapping_failures","name","","","","net_report","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","portmapper","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","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","serialize","","","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","Addr","Client","Metrics","Options","QuicConfig","RelayLatencies","Report","__clone_box","","","","","addr","as_iterable","bind_local_stun_socket","borrow","","","","","","","borrow_mut","","","","","","","captive_portal","client_config","clone","","","","","clone_into","","","","","clone_to_uninit","","","","","compat","","","","","","","compat_mut","","","","","","","compat_ref","","","","","","","default","","","","deref","","","","","","","deref_mut","","","","","","","deserialize","disabled","drop","","","","","","","ep","eq","","equivalent","","","","","","field_count","field_ref","fmt","","","","","","","","from","","","","","","","from_ref","","","","","get_report","global_v4","global_v6","hair_pinning","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","portmap_probe","preferred_relay","quic_config","receive_stun_packet","relay_latency","relay_v4_latency","relay_v6_latency","reports","reports_full","serialize","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","","","","","","","IROH_TXT_NAME","MAX_LENGTH","MaxLengthExceededError","NodeData","NodeIdExt","NodeInfo","UserData","__clone_box","","","add_direct_addresses","as_error_source","as_ref","borrow","","","","borrow_mut","","","","clear_direct_addresses","clone","","","clone_into","","","clone_to_uninit","","","cmp","compare","compat","","","","compat_mut","","","","compat_ref","","","","data","default","deref","","","","","deref_mut","","","","","direct_addresses","drop","","","","eq","","","equivalent","","","","","","","","","fmt","","","","","","from","","","","","","","","","from_parts","from_pkarr_signed_packet","from_ref","","","from_str","from_txt_lookup","from_z32","hash","init","","","","into","","","","into_node_addr","new","","node_id","partial_cmp","relay_url","set_relay_url","set_user_data","to_node_addr","to_owned","","","to_pkarr_signed_packet","to_string","","to_txt_strings","to_z32","try_from","","","","","try_into","","","","type_id","","","","user_data","vzip","","","","with_direct_addresses","","with_relay_url","","with_user_data","","AccessLimit","ProtocolHandler","Router","RouterBuilder","__clone_box","","accept","","","borrow","","","borrow_mut","","","builder","clone","","clone_into","","clone_to_uninit","","compat","","","compat_mut","","","compat_ref","","","deref","","","deref_mut","","","drop","","","endpoint","","fmt","","","from","","","from_ref","","init","","","into","","","is_shutdown","new","","on_connecting","","shutdown","","","spawn","to_owned","","try_from","","","try_into","","","type_id","","","vzip","","","CleanupDropGuard","DnsPkarrServer","borrow","","borrow_mut","","compat","","compat_mut","","compat_ref","","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","","","as_error_source","borrow","","","","","","borrow_mut","","","","","","clone","","","clone_into","","","clone_to_uninit","","","compat","","","","","","compat_mut","","","","","","compat_ref","","","","","","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"],[341,"iroh::defaults"],[348,"iroh::defaults::prod"],[355,"iroh::defaults::staging"],[360,"iroh::discovery"],[450,"iroh::discovery::dns"],[472,"iroh::discovery::mdns"],[494,"iroh::discovery::pkarr"],[579,"iroh::discovery::pkarr::dht"],[634,"iroh::discovery::static_provider"],[667,"iroh::dns"],[709,"iroh::endpoint"],[2458,"iroh::endpoint::Source"],[2460,"iroh::metrics"],[2640,"iroh::net_report"],[2852,"iroh::node_info"],[2999,"iroh::protocol"],[3078,"iroh::test_utils"],[3123,"iroh::watchable"],[3266,"dyn_clone::sealed"],[3267,"iroh_base::key"],[3268,"core::error"],[3269,"iroh_base::node_addr"],[3270,"iroh_base::relay_url"],[3271,"iroh_relay::relay_map"],[3272,"core::cmp"],[3273,"async_compat"],[3274,"core::result"],[3275,"serde::de"],[3276,"core::net::socket_addr"],[3277,"core::iter::traits::iterator"],[3278,"core::fmt"],[3279,"alloc::string"],[3280,"ed25519_dalek::verifying"],[3281,"signature::error"],[3282,"data_encoding"],[3283,"ed25519_dalek::signing"],[3284,"iroh_base::ticket::node"],[3285,"iroh::magicsock::node_map::node_state"],[3286,"iroh_relay::node_info"],[3287,"core::option"],[3288,"url"],[3289,"url::parser"],[3290,"anyhow"],[3291,"alloc::sync"],[3292,"core::convert"],[3293,"core::iter::traits::collect"],[3294,"rand_core"],[3295,"core::hash"],[3296,"http::header::value"],[3297,"serde::ser"],[3298,"ed25519"],[3299,"core::any"],[3300,"alloc::boxed"],[3301,"alloc::vec"],[3302,"futures_lite::stream"],[3303,"pkarr::signed_packet"],[3304,"core::time"],[3305,"pkarr::client"],[3306,"iroh_relay::dns"],[3307,"hickory_proto::runtime::tokio_runtime"],[3308,"hickory_resolver::name_server::connection_provider"],[3309,"hickory_resolver::resolver"],[3310,"core::net::ip_addr"],[3311,"iroh_quinn_proto::connection"],[3312,"iroh_quinn::connection"],[3313,"iroh_quinn_proto::config"],[3314,"iroh_quinn_proto::config::transport"],[3315,"iroh_quinn_proto::varint"],[3316,"core::ops::function"],[3317,"core::marker"],[3318,"iroh_quinn_proto::crypto"],[3319,"iroh_quinn_proto::congestion"],[3320,"std::time"],[3321,"iroh_quinn::recv_stream"],[3322,"iroh_quinn::send_stream"],[3323,"iroh_quinn_proto::connection::stats"],[3324,"iroh_quinn_proto::connection::streams::send"],[3325,"iroh_quinn_proto::connection::streams"],[3326,"iroh::magicsock::node_map"],[3327,"iroh_quinn_proto::frame"],[3328,"iroh_quinn_proto"],[3329,"iroh::magicsock"],[3330,"iroh_quinn_proto::coding"],[3331,"bytes::buf::buf_impl"],[3332,"alloc::collections::btree::set"],[3333,"futures_core::stream"],[3334,"bytes::buf::buf_mut"],[3335,"iroh_quinn_proto::connection::assembler"],[3336,"iroh_quinn::incoming"],[3337,"iroh_quinn_proto::connection::streams::recv"],[3338,"ring::error::unspecified"],[3339,"iroh_quinn_proto::transport_parameters"],[3340,"iroh_quinn_proto::shared"],[3341,"iroh_quinn_proto::connection::paths"],[3342,"core::pin"],[3343,"core::task::wake"],[3344,"core::task::poll"],[3345,"std::io::error"],[3346,"tokio::io::read_buf"],[3347,"bytes::bytes"],[3348,"rustls_pki_types"],[3349,"rustls::error"],[3350,"iroh_metrics::iterable"],[3351,"iroh_metrics::base"],[3352,"netwatch::ip_family"],[3353,"tokio_util::sync::cancellation_token"],[3354,"netwatch::udp"],[3355,"iroh::net_report::reportgen"],[3356,"iroh::net_report::options::imp"],[3357,"iroh::net_report::metrics"],[3358,"portmapper"],[3359,"futures_lite::future"],[3360,"core::clone"],[3361,"iroh::test_utils::dns_and_pkarr_servers"],[3362,"iroh_relay::server"],[3363,"core::default"],[3364,"governor::state::direct"],[3365,"governor::state"],[3366,"governor::state::direct::streams"],[3367,"governor::clock::with_std"],[3368,"governor::middleware"],[3369,"governor::jitter"],[3370,"iroh_relay"],[3371,"iroh_relay::defaults"],[3372,"iroh::net_report::stun_utils"]],"i":"Ch0`0`h```Aj```````01AdAfAh3AlAn67Cj7778543062178543062175436217543621754362174317431785430621785430621785430621262`78543306217854306217543144``7854306212`7436217774443336662221117788554330062211777888555444444330062175247543621753275273785430621785430621422``44`267431`7514457543158011`57543621785302177778554306217854306217854306216127785430621`44``````````````````````````FnFjGb210210222210210210Dj23321321`3212321132213232132133`3303`3Fl303`034424324324324432```Hf000000000000000000``Hh0000000000000000000```````HjHlHn210210210210210210210210210210`21021021021021021021210201021021021021022102``Ih0If10010111101010101010010101010100100010101101001010Il`0000000000000000000000000000000```In00000000000000000000000000000000000000A@d0`````A@lOl`Kb`333Od`1`N`Nf````3`Ml2Nb2Nh```````AA`0Oj```419```;;;Nd``<<7``><3``>``::1Mn``3```4=`>`:<``??=````59``22?<80``<`=`28``<````:79680:73961NjNlNnO`ObOdOfDhOh=OlKbKlMdKjOnA@`A@bA@dA@fA@hA@jA@lGnA@nKdAA`3Jn220?NlL`1Lb77Of;DhLl4K`94MlABjMnN`NbNdNfNhOhKbA@b???MdNnAEdAEbKhKfAElABhMlABjAAnMnN`NbNdAB`NfNhL`KnABdNjNlNnO`ObOdOfDhOhOjOlKbKlMdKjABfABlABnOnA@`A@bA@dA@fA@hA@jA@lLbGnA@nJlJnAC`K`ACbKdAA`AEdAEbKhKfAElABhMlABjAAnMnN`NbNdAB`NfNhL`KnABdNjNlNnO`ObOdOfDhOhOjOlKbKlMdKjABfABlABnOnA@`A@bA@dA@fA@hA@jA@lLbGnA@nJlJnAC`K`ACbKdAA`8Mf9ABdNjOb0=MlMnN`NbNdNfNhKn9NlNnO`;OdOfDhOhOjOlKbKlMdKjOnA@`A@bA@dA@fA@hA@jA@lGnA@nKdAA`MjMlMnN`NbNdNfNhKnNjNlNnO`ObOdOfDhOhOjOlKbKlMdKjOnA@`A@bA@dA@fA@hA@jA@lGnA@nKdAA`MlMnN`NbNdNfNhKnNjNlNnO`ObOdOfDhOhOjOlKbKlMdKjOnA@`A@bA@dA@fA@hA@jA@lGnA@nKdAA`3111Kn876:0876AEdAEbKhKfAElABhMlABjAAnMnN`NbNdAB`NfNhL`KnABdNjNlNnO`ObOdOfDhOhOjOlKbKlMdKjABfABlABnOnA@`A@bA@dA@fA@hA@jA@lLbGnA@nJlJnAC`K`ACbKdAA`AEdAEbKhKfAElABhMlABjAAnMnN`NbNdAB`NfNhL`KnABdNjNlNnO`ObOdOfDhOhOjOlKbKlMdKjABfABlABnOnA@`A@bA@dA@fA@hA@jA@lLbGnA@nJlJnAC`K`ACbKdAA`AEdAEbKhKfAElABhMlABjAAnMnN`NbNdAB`NfNhL`KnABdNjNlNnO`ObOdOfDhOhOjOlKbKlMdKjABfABlABnOnA@`A@bA@dA@fA@hA@jA@lLbGnA@nJlJnAC`K`ACbKdAA`L`Nn3:Dh;;NlA@d1Kj54422557NjKn3A@f81257O`ObOhOjKlMdA@lLbA@n`AEdAEbKhKfAElABhMlABjAAnMnN`NbNdAB`NfNhL`KnABdNjNlNnO`ObOdOfDhOhOjOlKbKlMdKjABfABlABnOnA@`A@bA@dA@fA@hA@jA@lLbGnA@nJlJnAC`K`ACbKdAA`AEdAEbKhKfAElABhMlABjAAnMnN`NbNdAB`NfNhL`KnABdNjNlNnO`ObOdOfDhOhOjOlKbKlMdKjABfABlABnOnA@`A@bA@dA@fA@hA@jA@lLbGnA@nJlJnAC`K`ACbKdAA`OdOfDhOjOlA@f>?>???>?>AEdAEbKhKfAElABhMlABjAAn0MnN`NbNdAB`0NfNhL`KnABdNjNlNnO`ObOdOfDhOhOjOlKbKlMdKjABfABlABnOnA@`A@bA@dA@fA@hA@jA@lLbGnA@nJlJnAC`K`ACbKdAA`L`KnA@dA@fMlMnN`NbNdNfNh9ABdObOdOfDhOhOjOlKbABfOnA@`A@bA@dA@fA@hA@jA@lAA`Ml00Mn00N`00Nb00Nd00Nf00Nh00Kn00ABd00Ob00Od00Of00Dh00Oh00Oj00Ol00Kb00ABf00On00A@`00A@b00A@d00A@f00A@h00A@j00A@l00AA`0087KdAB`ABhMl0ABj0AAnMn0N`0Nb0Nd08Nf0Nh0L`Kn0ABdNjNlNnO`ObOd0OfDhOh0Oj0Ol0Kb0KlMdKjABfABlABnOn0A@`0A@b0A@d0A@f0A@hA@j0A@lLbGnA@nJlJnAC`K`ACbKdAA``?O`0OnAEdAEbKhKfAElABhMl0ABjAAnMn0N`000Nb0Nd0AB`Nf000Nh0L`Kn0000ABdNjNlNnO`ObOdOfDhOhOjOlKb00KlMdKjABfABl0ABnOn0A@`A@b000A@dA@f0A@hA@jA@lLbGnA@nJlJnAC`K`ACbKdAA`MlMnN`NbNdNfNhKnNjNlNnO`ObOdOfDhOhOjOlKbKlMdKjOnA@`A@bA@dA@fA@hA@jA@lGnA@nKdAA`Kn00K`3NlDh3Ol<;:8AAnAB`Jn5Kj0A@fAEdAEbKhKfAElABhMlABjAEdAEbKhKfAElJlAC`K`ACbAB`AAn0111Kj02==111Kd22OnA@`A@bL`06JnLbAA`1Dh33Gn09Kl=Nl06ADb==<;:98KnNj5NnO`ObOdOf=OhOjOlKbKlMd>OnA@`A@bA@dA@fA@hA@jA@lGnA@nKdAA`MlABjMnN`NbNdNfNhKnOdOhOjOlKbOnA@`A@bA@dA@fA@jKj00LbAEdAEbKhKfAElABhMlABjAAnMnN`NbNdAB`NfNhL`Kn000ABdNjNlNnO`ObOdOfDhOhOjOlKbKlMdKjABfABlABnOnA@`A@bA@dA@fA@hA@jA@lLbGnA@nJlJnAC`K`ACbKdAA`AEdAEbKhKfAElABhMlABjAAnMnN`NbNdAB`NfNhL`KnABdNjNlNnO`ObOdOfDhOhOjOlKbKlMdKjABfABlABnOnA@`A@bA@dA@fA@hA@jA@lLbGnA@nJlJnAC`K`ACbKdAA`AEdAEbKhKfAEl98A@h54321ABhMlABjAAnMnN`NbNdAB`NfNhL`KnABdNjNlNnO`ObOdOfDhOhOjOlKbKlMdKjABfABlABnOnA@`A@bA@dA@fA@hA@jA@lLbGnA@nJlJnAC`K`ACbKdAA`O`0Md;Kj0AEdAEbKhKfAElABhMlABjAAnMnN`NbNdAB`NfNhL`KnABdNjNlNnO`ObOdOfDhOhOjOlKbKlMdKjABfABlABnOnA@`A@bA@dA@fA@hA@jA@lLbGnA@nJlJnAC`K`ACbKdAA`Mj8Kj09AB`0000AMhAMj`````ADnAGnAGl0000000AGj12012301232233301230123012311201230123012301322220123001201201232012332330123012303000123311111122200301111111111111121111111222111111120133012301230123221000001232```````AHnAI`AIbAIdAHfAHdAIf`06543120654312466543265432654320654312065431206543120543065431206543120506543126434443330006544312065431265432144455544065431206543126446443440144452444000000005565432406543120654312065431240654312`Hd`````Gl1Dj1AIj323012301223123123133230123012301122301123011223012312223331112330012230111111123131AJ`43412341223224333234224120344123412341233412323232````AJnAJjAJbAJf23023023323232302302302302302302303023023230230230212132032302302302302``AKfAKd10101010101000101010101000000```010101010``````AKlAAbAKnALf32ALbALd325410325435435435410325410325410325541032541032541032541032254103254354541032454103210510333544543254103254103210354103245410325","f":"``````````````````{{bd}f}000000{{{b{h}}}{{b{{l{j}}}}}}{b{{b{n}}}}0{{{b{h}}}{{b{{A`{j}}}}}}{b{{b{c}}}{}}300000000{{{b{Ab}}}{{b{Abc}}}{}}00000000{{{b{h}}}h}{{{b{Ad}}}Ad}{{{b{Af}}}Af}{{{b{Ah}}}Ah}{{{b{Aj}}}Aj}{{{b{Al}}}Al}{{{b{An}}}An}{{b{b{Abc}}}f{}}000000{{bj}f}000000{{{b{h}}{b{h}}}B`}{{{b{Af}}{b{Af}}}B`}{{{b{Ah}}{b{Ah}}}B`}{{{b{An}}{b{An}}}B`}{{b{b{c}}}B`{}}000{{}{{Bb{c}}}{}}00000000{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}00000000{b{{Bb{{b{c}}}}}{}}00000000{{{b{Al}}{b{Ah}}}Bd}{{}Aj}{{AhBf}Al}`{Bh{{b{c}}}{}}000{{{b{Ah}}}b}11111{Bh{{b{Abc}}}{}}00000000{c{{Bj{h}}}Bl}{c{{Bj{Ad}}}Bl}{c{{Bj{Af}}}Bl}{c{{Bj{Ah}}}Bl}{c{{Bj{An}}}Bl}{{{b{Af}}}{{`{{Cb{}{{Bn{{b{C`}}}}}}}}}}```{Bhf}00000000{{}Al}`{{{b{h}}{b{h}}}Bd}{{{b{Af}}{b{Af}}}Bd}{{{b{Ah}}{b{Ah}}}Bd}{{{b{Aj}}{b{Aj}}}Bd}{{{b{Al}}{b{Al}}}Bd}{{{b{An}}{b{An}}}Bd}{{b{b{c}}}Bd{}}00000000000000000{{{b{h}}{b{AbCd}}}{{Bj{fCf}}}}0{{{b{Ch}}{b{AbCd}}}{{Bj{fCf}}}}0{{{b{Ad}}{b{AbCd}}}{{Bj{fCf}}}}0{{{b{Af}}{b{AbCd}}}{{Bj{fCf}}}}{{{b{Ah}}{b{AbCd}}}{{Bj{fCf}}}}0{{{b{Cj}}{b{AbCd}}}{{Bj{fCf}}}}0{{{b{Aj}}{b{AbCd}}}{{Bj{fCf}}}}{{{b{Al}}{b{AbCd}}}{{Bj{fCf}}}}0{{{b{An}}{b{AbCd}}}{{Bj{fCf}}}}0{{{b{h}}}Cl}{Cnh}{cc{}}0{D`Ch}{DbCh}{DdAd}{{{l{j}}}Ad}4{DfAf}{DhAf}{DjAf}{{{Dn{h{Dl{Ah}}{b{{A`{C`}}}}}}}Af}{hAf}9{E`Ah}::{EbCj};;;{{{b{{l{j}}}}}{{Bj{hD`}}}}{{{b{{l{j}}}}}Ad}{e{{Bj{AlEd}}}{{Eh{{Ef{An}}}}}{{Ej{}{{Bn{c}}}}}}{{h{Dl{Ah}}c}Af{{Ej{}{{Bn{C`}}}}}}{{{b{c}}}c{}}000000{{{b{El}}}{{Bj{h}}}}{{{b{El}}}{{Bj{Ad}}}}{{{b{El}}}{{Bj{Ah}}}}{AhAl}{{{b{El}}}{{Bj{hEd}}}}{cAdEn}{{{b{Al}}{b{Ah}}}{{Dl{{b{{Ef{An}}}}}}}}{{{b{h}}{b{Abc}}}fF`}{{{b{Ah}}{b{Abc}}}fF`}{{}Bh}00000000{{}c{}}00000000{{{b{Af}}}Bd}{{{b{Al}}}Bd}{{{b{Al}}}Bh}``{hAf}``{{{b{Al}}}{{`{{Cb{}{{Bn{{b{{Ef{An}}}}}}}}}}}}{{{b{Fb}}}{{Dl{Aj}}}}{{{b{h}}{b{h}}}{{Dl{B`}}}}{{{b{Af}}{b{Af}}}{{Dl{B`}}}}{{{b{Ah}}{b{Ah}}}{{Dl{B`}}}}{{{b{An}}{b{An}}}{{Dl{B`}}}}`{{{b{h}}}Cn}{{{b{Ad}}}h}`{{{b{Af}}}{{Dl{{b{Ah}}}}}}`{{{b{Ad}}}{{b{Dd}}}}{{{b{h}}c}BjFd}{{{b{Ad}}c}BjFd}{{{b{Af}}c}BjFd}{{{b{Ah}}c}BjFd}{{{b{An}}c}BjFd}{{{b{Ad}}{b{{A`{j}}}}}Ff}{{{b{Ch}}}{{Dl{{b{n}}}}}}{{{b{Cj}}}{{Dl{{b{n}}}}}}```{{{b{Ad}}}{{l{j}}}}{bc{}}000000{bCl}000000{{{b{h}}}Cl}{c{{Bj{e}}}{}{}}{{{b{{l{j}}}}}{{Bj{h}}}}{{{b{{A`{j}}}}}{{Bj{h}}}}22{{{b{{A`{j}}}}}{{Bj{Ad}}}}333333{{}{{Bj{c}}}{}}00000000{bFh}00000000{{{b{Aj}}}{{b{El}}}}`{{{b{Al}}}{{`{{Cb{}{{Bn{{b{Ah}}}}}}}}}}{{{b{h}}{b{{A`{j}}}}{b{Ff}}}{{Bj{fD`}}}}{{}c{}}00000000`{{Afc}Af{{Ej{}{{Bn{C`}}}}}}{{AfAh}Af}``````````{{}An}00{{}Al}``110```````{{bd}f}{{{b{AbFj}}c}fFl}{b{{b{n}}}}{b{{b{c}}}{}}00{{{b{Ab}}}{{b{Abc}}}{}}00{{{b{Fn}}}Fn}{{b{b{Abc}}}f{}}{{bj}f}{{}{{Bb{c}}}{}}00{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}00{b{{Bb{{b{c}}}}}{}}00`{{}Fj}{Bh{{b{c}}}{}}{{{b{Fn}}}{{b{c}}}{}}11{Bh{{b{Abc}}}{}}00`{Bhf}004{{{b{Fn}}{b{AbCd}}}G`}{{{b{Fj}}{b{AbCd}}}G`}{{{b{Gb}}{b{AbCd}}}G`}0{cc{}}0{cFj{{Ej{}{{Bn{{Gd{Fl}}}}}}}}1{{{b{c}}}c{}}{{{Gf{{Gd{Fl}}}}}Fj}{{}Bh}00{{}c{}}00{FnAf}{{{b{Fn}}}{{Dl{Gh}}}}`{{Dj{b{El}}{Dl{Gh}}}Fn}{{{b{Fn}}}Gj}`{{{b{Fn}}}{{b{Dj}}}}`{{{b{Fn}}}{{b{El}}}}{{{b{Fl}}{b{Gl}}}f}{{{b{Fj}}{b{Gl}}}f}{{{b{Fl}}GnGj}{{Dl{{Hb{{H`{Fn}}}}}}}}{{{b{Fj}}GnGj}{{Dl{{Hb{{H`{Fn}}}}}}}}`{{{b{Fl}}}{{Dl{{Hb{Fn}}}}}}{{{b{Fj}}}{{Dl{{Hb{Fn}}}}}}{{{b{Fn}}}Af}{bc{}}{bCl}{c{{Bj{e}}}{}{}}00{{}{{Bj{c}}}{}}00{bFh}00{{{b{Fn}}}{{Dl{Hd}}}}{{}c{}}00```{b{{b{c}}}{}}{{{b{Ab}}}{{b{Abc}}}{}}{{}{{Bb{c}}}{}}{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}{b{{Bb{{b{c}}}}}{}}{Bh{{b{c}}}{}}{Bh{{b{Abc}}}{}}{Bhf}{{{b{Hf}}{b{AbCd}}}G`}{cc{}}{{}Bh}{{}c{}}{{}Hf}{ClHf}{{{b{Hf}}GnGj}{{Dl{{Hb{{H`{Fn}}}}}}}}{c{{Bj{e}}}{}{}}{{}{{Bj{c}}}{}}{bFh}{{}c{}}``{b{{b{c}}}{}}{{{b{Ab}}}{{b{Abc}}}{}}{{}{{Bb{c}}}{}}{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}{b{{Bb{{b{c}}}}}{}}{Bh{{b{c}}}{}}{Bh{{b{Abc}}}{}}{Bhf}{{{b{Hh}}{b{AbCd}}}G`}{cc{}}{{}Bh}{{}c{}}{Gj{{H`{Hh}}}}{{{b{Hh}}{b{Gl}}}f}{{{b{Hh}}GnGj}{{Dl{{Hb{{H`{Fn}}}}}}}}{{{b{Hh}}}{{Dl{{Hb{Fn}}}}}}{c{{Bj{e}}}{}{}}{{}{{Bj{c}}}{}}{bFh}{{}c{}}```````{{bd}f}00{b{{b{c}}}{}}00{{{b{Ab}}}{{b{Abc}}}{}}00{{{b{Hj}}}Hj}{{{b{Hl}}}Hl}{{{b{Hn}}}Hn}{{b{b{Abc}}}f{}}00{{bj}f}00{{}{{Bb{c}}}{}}00{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}00{b{{Bb{{b{c}}}}}{}}00{Bh{{b{c}}}{}}00{Bh{{b{Abc}}}{}}00`{Bhf}00{{{b{Hj}}{b{AbCd}}}G`}{{{b{Hl}}{b{AbCd}}}G`}{{{b{Hn}}{b{AbCd}}}G`}{cc{}}00{{{b{c}}}c{}}00{{}Bh}00{{}c{}}00{AdHj}{{}Hl}{{AdE`}Hj}{E`Hl}{E`Hn}{{{b{Hj}}{b{Gl}}}f}{{{b{Hn}}{b{I`}}}{{H`{f}}}}{{{b{Hl}}GnGj}{{Dl{{Hb{{H`{Fn}}}}}}}}{{{b{Hn}}Gj}{{H`{I`}}}}{bc{}}00{c{{Bj{e}}}{}{}}00{{}{{Bj{c}}}{}}00{bFh}007{{}c{}}00{{AdE`IbId}Hj}``{{bd}f}{b{{b{c}}}{}}0{{{b{Ab}}}{{b{Abc}}}{}}0{If{{H`{Ih}}}}{{}If}{{IfIj}If}{{{b{Ih}}}Ih}{{b{b{Abc}}}f{}}{{bj}f}{{}{{Bb{c}}}{}}0{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}0{b{{Bb{{b{c}}}}}{}}0{{}Ih}8{Bh{{b{c}}}{}}0{Bh{{b{Abc}}}{}}0{{IfBd}If}{Bhf}0{{{b{Ih}}{b{AbCd}}}G`}{{{b{If}}{b{AbCd}}}G`}{cc{}}0{{{b{c}}}c{}}5{{}Bh}0{{IfId}If}{{}c{}}0{IfIf}{{IfE`}If}{{{b{Ih}}{b{Gl}}}f}4{{{b{Ih}}GnGj}{{Dl{{Hb{{H`{Fn}}}}}}}}{{IfAd}If}{bc{}}{c{{Bj{e}}}{}{}}0{{}{{Bj{c}}}{}}0{{IfIb}If}{bFh}0{{}c{}}0``{{bd}f}{{{b{Il}}c}f{{Eh{Dj}}}}{b{{b{c}}}{}}{{{b{Ab}}}{{b{Abc}}}{}}{{{b{Il}}}Il}{{b{b{Abc}}}f{}}{{bj}f}{{}{{Bb{c}}}{}}{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}{b{{Bb{{b{c}}}}}{}}{{}Il}{Bh{{b{c}}}{}}{Bh{{b{Abc}}}{}}{Bhf}{{{b{Il}}{b{AbCd}}}G`}{cc{}}{eIl{{Eh{Dj}}}{{Ej{}{{Bn{c}}}}}}{{{b{c}}}c{}}{{{b{Il}}Gj}{{Dl{Dj}}}}{{}Bh}{{}c{}}:{{{b{Il}}{b{Gl}}}f}3{{{b{Il}}GnGj}{{Dl{{Hb{{H`{Fn}}}}}}}}{{{b{Il}}c}{{Dl{Gl}}}{{Eh{Dj}}}}{bc{}}{c{{Bj{e}}}{}{}}{{}{{Bj{c}}}{}}{bFh}{{}c{}}```{{bd}f}{b{{b{c}}}{}}{{{b{Ab}}}{{b{Abc}}}{}}{{{b{In}}}f}{{{b{In}}}In}{{b{b{Abc}}}f{}}{{bj}f}{{}{{Bb{c}}}{}}{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}{b{{Bb{{b{c}}}}}{}}{{}In}{Bh{{b{c}}}{}}{Bh{{b{Abc}}}{}}{Bhf}{{{b{In}}{b{AbCd}}}{{Bj{fCf}}}}{{{Jd{{Jb{J`}}}}}In}{cc{}}{{{b{c}}}c{}}{{}Bh}{{}c{}}{{{b{In}}cId}{{Bj{{`{{Cb{}{{Bn{Jf}}}}}}Ed}}}Jh}0{{{b{In}}cId{b{{A`{Gh}}}}}{{Bj{{`{{Cb{}{{Bn{Jf}}}}}}Ed}}}Jh}010{{{b{In}}{b{El}}}{{Bj{DjEd}}}}{{{b{In}}{b{El}}{b{{A`{Gh}}}}}{{Bj{DjEd}}}}{{{b{In}}{b{h}}{b{El}}}{{Bj{DjEd}}}}{{{b{In}}{b{h}}{b{El}}{b{{A`{Gh}}}}}{{Bj{DjEd}}}}{{{b{In}}cId}{{Bj{JjEd}}}Jh}{{}In}{{{b{In}}{b{E`}}BdId}{{Bj{JfEd}}}}{bc{}}{c{{Bj{e}}}{}{}}{{}{{Bj{c}}}{}}{bFh}{{}c{}}{C`In}`````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````{{bd}f}0000000000000000000000000000000000{{{b{Gn}}}Jl}{Jn{{H`{K`Kb}}}}{{{b{Kd}}}Kf}{{{b{Kd}}}Kh}{{Jn{Ef{Kj}}}{{H`{K`Kb}}}}{{{b{AbKl}}Kn}{{b{AbKl}}}}`{{{b{AbL`}}{Dl{Kl}}}{{b{AbL`}}}}`{{Lbe}LbFl{{Lf{{b{Ad}}}{{Ld{{Dl{c}}}}}}LhLj}}{{{b{Gn}}Af}{{H`{f}}}}{{{b{Gn}}Af{b{El}}}{{H`{f}}}}```{{{b{Ll}}{b{{A`{j}}}}}{{Gd{Ln}}}}{{{b{AbL`}}Bd}{{b{AbL`}}}}{{{b{AbK`}}}{{H`{{Gf{j}}}}}}{{{b{Kd}}}{{Dl{{Gf{j}}}}}}{{Lb{Gf{{Gf{j}}}}}Lb}{b{{b{n}}}}0000000000{Lb{{H`{Gn}}}}{{LbM`}Lb}{{LbMb}Lb}{{{b{AbMd}}Id}{{b{AbMd}}}}`{b{{b{c}}}{}}000000000000000000000000000000000000000000000000000000{{{b{Ab}}}{{b{Abc}}}{}}000000000000000000000000000000000000000000000000000000{{{b{Gn}}}{{Dn{C`{Dl{C`}}}}}}{{{Ef{Mf}}MhBf}{{Gd{Mj}}}}{{}Lb}````{LbLb}{{{b{Ml}}}Ml}{{{b{Mn}}}Mn}{{{b{N`}}}N`}{{{b{Nb}}}Nb}{{{b{Nd}}}Nd}{{{b{Nf}}}Nf}{{{b{Nh}}}Nh}{{{b{Kn}}}Kn}{{{b{Nj}}}Nj}{{{b{Nl}}}Nl}{{{b{Nn}}}Nn}{{{b{O`}}}O`}{{{b{Ob}}}Ob}{{{b{Od}}}Od}{{{b{Of}}}Of}{{{b{Dh}}}Dh}{{{b{Oh}}}Oh}{{{b{Oj}}}Oj}{{{b{Ol}}}Ol}{{{b{Kb}}}Kb}{{{b{Kl}}}Kl}{{{b{Md}}}Md}{{{b{Kj}}}Kj}{{{b{On}}}On}{{{b{A@`}}}A@`}{{{b{A@b}}}A@b}{{{b{A@d}}}A@d}{{{b{A@f}}}A@f}{{{b{A@h}}}A@h}{{{b{A@j}}}A@j}{{{b{A@l}}}A@l}{{{b{Gn}}}Gn}{{{b{A@n}}}A@n}{{{b{Kd}}}Kd}{{{b{AA`}}}AA`}{{{b{Mj}}}{{Gd{Mj}}}}{{b{b{Abc}}}f{}}0000000000000000000000000000000000{{bj}f}0000000000000000000000000000000000{{{b{Gn}}}f}{{{b{Kd}}Kn{b{{A`{j}}}}}f}{{{b{Kd}}}{{Dl{Kb}}}}{{{b{Kd}}}Kb}{{{b{Kn}}{b{Kn}}}B`}{{{b{A@f}}{b{A@f}}}B`}{{{b{A@h}}{b{A@h}}}B`}{{{b{A@j}}{b{A@j}}}B`}`{{b{b{c}}}B`{}}000{{}{{Bb{c}}}{}}000000000000000000000000000000000000000000000000000000{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}000000000000000000000000000000000000000000000000000000{b{{Bb{{b{c}}}}}{}}000000000000000000000000000000000000000000000000000000{{{b{AbL`}}{Ef{Mf}}}{{b{AbL`}}}}`{{{b{Kd}}}{{Gd{Mj}}}}{{{b{Gn}}Gj}{{H`{{AAb{Oj}}}}}}`{{{b{Gn}}c{b{{A`{j}}}}}{{H`{Kd}}}{{Eh{Af}}}}{{{b{Gn}}c{b{{A`{j}}}}A@n}{{H`{K`}}}{{Eh{Af}}}}`{jA@d}``{{{b{AbL`}}Bh}{{b{AbL`}}}}````{{{b{AbL`}}{Dl{Bh}}}{{b{AbL`}}}}1{{{b{Kd}}}Bh}`{{{b{Abc}}}{{Bj{KnAAd}}}AAf}{{{b{Abc}}}{{Bj{A@dAAd}}}AAf}{{{b{Abc}}}{{Bj{A@fAAd}}}AAf}{{}L`}{{}Kn}{{}Nj}{{}Nl}{{}Nn}{{}O`}{{}Ob}{{}Oh}{{}Oj}{{}Kl}{{}Md}{{}A@l}{{}Lb}{{}A@n}{{}AA`}{Bh{{b{c}}}{}}000000000000000000000000000000000000000000000000000000{Bh{{b{Abc}}}{}}000000000000000000000000000000000000000000000000000000{c{{Bj{Od}}}Bl}{c{{Bj{Of}}}Bl}{c{{Bj{Dh}}}Bl}{c{{Bj{Oj}}}Bl}{c{{Bj{Ol}}}Bl}{A@fAAh}{{{b{Gn}}}{{AAb{{Dl{{AAj{A@h}}}}}}}}{{Lb{Gd{Fl}}}Lb}{{{b{Gn}}}{{Dl{{b{Fl}}}}}}{LbLb}00{{{b{Gn}}}{{`{{AAl{}{{Bn{{H`{FnGb}}}}}}}}}}{{LbIn}Lb}{{{b{Gn}}}{{b{In}}}}{Bhf}0000000{{{b{AbAAn}}}f}11111{{{b{AbAB`}}}f}222222222222222222222222222222222222222222{{{b{AbL`}}Bd}{{b{AbL`}}}}{{{b{Kn}}{b{Abc}}}fABb}{{{b{A@d}}{b{Abc}}}fABb}{{{b{A@f}}{b{Abc}}}fABb}{{{b{Ml}}{b{Ml}}}Bd}{{{b{Mn}}{b{Mn}}}Bd}{{{b{N`}}{b{N`}}}Bd}{{{b{Nb}}{b{Nb}}}Bd}{{{b{Nd}}{b{Nd}}}Bd}{{{b{Nf}}{b{Nf}}}Bd}{{{b{Nh}}{b{Nh}}}Bd}{{{b{Kn}}{b{Kn}}}Bd}{{{b{ABd}}{b{ABd}}}Bd}{{{b{Ob}}{b{Ob}}}Bd}{{{b{Od}}{b{Od}}}Bd}{{{b{Of}}{b{Of}}}Bd}{{{b{Dh}}{b{Dh}}}Bd}{{{b{Oh}}{b{Oh}}}Bd}{{{b{Oj}}{b{Oj}}}Bd}{{{b{Ol}}{b{Ol}}}Bd}{{{b{Kb}}{b{Kb}}}Bd}{{{b{ABf}}{b{ABf}}}Bd}{{{b{On}}{b{On}}}Bd}{{{b{A@`}}{b{A@`}}}Bd}{{{b{A@b}}{b{A@b}}}Bd}{{{b{A@d}}{b{A@d}}}Bd}{{{b{A@f}}{b{A@f}}}Bd}{{{b{A@h}}{b{A@h}}}Bd}{{{b{A@j}}{b{A@j}}}Bd}{{{b{A@l}}{b{A@l}}}Bd}{{{b{AA`}}{b{AA`}}}Bd}{{b{b{c}}}Bd{}}00000000000000000000000000000000000000000000000000000000000000000000000000000000``{{{b{Kd}}{b{Ab{A`{j}}}}{b{{A`{j}}}}{b{{A`{j}}}}}{{H`{fABf}}}}{{{b{AbAB`}}}{{Bj{fOh}}}}{{{b{ABh}}{b{AbCd}}}{{Bj{fCf}}}}{{{b{Ml}}{b{AbCd}}}{{Bj{fCf}}}}0{{{b{ABj}}{b{AbCd}}}{{Bj{fCf}}}}0{{{b{AAn}}{b{AbCd}}}{{Bj{fCf}}}}{{{b{Mn}}{b{AbCd}}}{{Bj{fCf}}}}0{{{b{N`}}{b{AbCd}}}{{Bj{fCf}}}}0{{{b{Nb}}{b{AbCd}}}{{Bj{fCf}}}}0{{{b{Nd}}{b{AbCd}}}{{Bj{fCf}}}}0{{{b{AB`}}{b{AbCd}}}{{Bj{fCf}}}}{{{b{Nf}}{b{AbCd}}}{{Bj{fCf}}}}0{{{b{Nh}}{b{AbCd}}}{{Bj{fCf}}}}0{{{b{L`}}{b{AbCd}}}{{Bj{fCf}}}}{{{b{Kn}}{b{AbCd}}}{{Bj{fCf}}}}0{{{b{ABd}}{b{AbCd}}}{{Bj{fCf}}}}{{{b{Nj}}{b{AbCd}}}{{Bj{fCf}}}}{{{b{Nl}}{b{AbCd}}}{{Bj{fCf}}}}{{{b{Nn}}{b{AbCd}}}{{Bj{fCf}}}}{{{b{O`}}{b{AbCd}}}{{Bj{fCf}}}}{{{b{Ob}}{b{AbCd}}}{{Bj{fCf}}}}{{{b{Od}}{b{AbCd}}}G`}0{{{b{Of}}{b{AbCd}}}G`}{{{b{Dh}}{b{AbCd}}}G`}{{{b{Oh}}{b{AbCd}}}{{Bj{fCf}}}}0{{{b{Oj}}{b{AbCd}}}G`}0{{{b{Ol}}{b{AbCd}}}G`}{{{b{Ol}}{b{AbCd}}}{{Bj{fCf}}}}{{{b{Kb}}{b{AbCd}}}{{Bj{fCf}}}}0{{{b{Kl}}{b{AbCd}}}{{Bj{fCf}}}}{{{b{Md}}{b{AbCd}}}{{Bj{fCf}}}}{{{b{Kj}}{b{AbCd}}}{{Bj{fCf}}}}{{{b{ABf}}{b{AbCd}}}{{Bj{fCf}}}}{{{b{ABl}}{b{AbCd}}}{{Bj{fCf}}}}{{{b{ABn}}{b{AbCd}}}{{Bj{fCf}}}}{{{b{On}}{b{AbCd}}}{{Bj{fCf}}}}0{{{b{A@`}}{b{AbCd}}}{{Bj{fCf}}}}0{{{b{A@b}}{b{AbCd}}}{{Bj{fCf}}}}0{{{b{A@d}}{b{AbCd}}}{{Bj{fCf}}}}0{{{b{A@f}}{b{AbCd}}}{{Bj{fCf}}}}0{{{b{A@h}}{b{AbCd}}}G`}{{{b{A@j}}{b{AbCd}}}G`}0{{{b{A@l}}{b{AbCd}}}G`}{{{b{Lb}}{b{AbCd}}}G`}{{{b{Gn}}{b{AbCd}}}G`}{{{b{A@n}}{b{AbCd}}}G`}{{{b{Jl}}{b{AbCd}}}G`}{{{b{Jn}}{b{AbCd}}}G`}{{{b{AC`}}{b{AbCd}}}G`}{{{b{K`}}{b{AbCd}}}G`}{{{b{ACb}}{b{AbCd}}}G`}{{{b{Kd}}{b{AbCd}}}G`}{{{b{AA`}}{b{AbCd}}}G`}{{}Bd}````{cc{}}000000{KbMl}11{N`Mn}2{ACdN`}{NbN`}{KbN`}5{KbNb}6{N`Nd}77{OhNf}{KbNf}{NhNf}::{KbNh};;{BfKn}{A@fKn}{jKn}{IbKn}?????????????{A@bKb}{ACfKb}{cc{}}000{AChABl}111{A@bOn}2{ACjA@b}3{A@dA@b}{AClA@b}55{KnA@f}6666666666666{{{b{c}}}c{}}0000000000000000000000000000000000:{Gh{{Bj{KnACn}}}}{GhKn}{{{b{AbK`}}}{{H`{{Gd{AD`}}Kb}}}}{{{b{Kd}}}{{Dl{{Gd{AD`}}}}}}`{{{b{Dh}}}Bd}{{{b{Kn}}{b{Abc}}}fF`}{{{b{Ol}}{b{Abc}}}fF`}{{{b{A@f}}{b{Abc}}}fF`}{{{b{A@h}}{b{Abc}}}fF`}{{{b{A@j}}{b{Abc}}}fF`}{{{b{Gn}}}{{AAb{{Dl{Ah}}}}}}{{{b{AAn}}}A@f}{{{b{AB`}}}A@f}{Jnf}`{{{b{AbKj}}Gh}{{b{AbKj}}}}0{A@fGh}{{}Bh}000000000000000000000000000000000000000000000000000000{{{b{ADb}}Ib{b{ADd}}}{{Bj{ADfABn}}}}{{{b{AbL`}}Bf}{{b{AbL`}}}}{{{b{AbL`}}Id}{{b{AbL`}}}}{{{b{Mj}}}Gh}{A@fADh}{{LbBd}Lb}{{{b{AbMd}}Id}{{b{AbMd}}}}{{}c{}}000000000000000000000000000000000000000000000000000000{K`{{H`{{Dn{KdACb}}K`}}}}{{{Gd{Mj}}}{{Gd{AD`}}}}{{}}00000{Jnc{}}111{ABjADj}{KnGh}`{{{b{AAn}}}Bd}{{{b{ABh}}}Bd}{{{b{Gn}}}Bd}{{{b{AbL`}}{Dl{Id}}}{{b{AbL`}}}}<{{Lb{Gf{Af}}}Lb}```{{{b{Dh}}}{{Dl{Id}}}}```{{{b{Jn}}}{{Dl{Jf}}}}```{{{b{AbKl}}{Dl{Id}}}{{b{AbKl}}}}{{{b{AbL`}}Kn}{{b{AbL`}}}}0`{{{b{Kd}}}{{Dl{Bh}}}}{{{b{AbL`}}{Dl{ADl}}}{{b{AbL`}}}}{{{b{AbKj}}Bh}{{b{AbKj}}}}```{{{b{Gn}}}{{b{ADn}}}}{{{b{AbKj}}Bd}{{b{AbKj}}}}{{{b{AbL`}}Bf}{{b{AbL`}}}}{{{b{AbMd}}Bf}{{b{AbMd}}}}{{{b{AbL`}}{Dl{Md}}}{{b{AbL`}}}}{{{b{Gn}}}f}{{{b{ABh}}}Bd}{{{Ef{ADb}}{Ef{Ll}}}Kj}{{ADhAAhGh}A@f}{{}A@n}``{{{b{Gn}}}{{H`{Af}}}}{{{b{Gn}}}Gj}```{{{b{AbMj}}MhMhGhBd{b{AE`}}}f}{{{b{AbMj}}MhMhBdGh}f}{{{b{AbMj}}MhGhBd{Dl{Gh}}}f}{{{b{AbMj}}Bf}f}{{{b{AbMj}}MhGhGh}f}{{{b{Ln}}{b{Ab{A`{j}}}}{b{{A`{j}}}}}{{Bj{{b{Ab{A`{j}}}}ABl}}}}{{{b{Kd}}}AEb}{{{b{Kd}}}AEd}{{{b{AbL`}}Ib}{{b{AbL`}}}}{{{b{Kn}}{b{Kn}}}{{Dl{B`}}}}{{{b{A@f}}{b{A@f}}}{{Dl{B`}}}}{{{b{A@h}}{b{A@h}}}{{Dl{B`}}}}{{{b{A@j}}{b{A@j}}}{{Dl{B`}}}}```{{LbA@l}Lb}{{{b{Kd}}}{{Dl{{Gd{AD`}}}}}}6`{{{AEf{{b{AbAEd}}}}{b{AbAEh}}}AEj}{{{AEf{{b{AbAEb}}}}{b{AbAEh}}}AEj}{{{AEf{{b{AbKh}}}}{b{AbAEh}}}AEj}{{{AEf{{b{AbKf}}}}{b{AbAEh}}}AEj}{{{AEf{{b{AbAEl}}}}{b{AbAEh}}}AEj}{{{AEf{{b{AbJl}}}}{b{AbAEh}}}{{AEj{c}}}{}}{{{AEf{{b{AbAC`}}}}{b{AbAEh}}}{{AEj{c}}}{}}{{{AEf{{b{AbK`}}}}{b{AbAEh}}}{{AEj{c}}}{}}{{{AEf{{b{AbACb}}}}{b{AbAEh}}}{{AEj{c}}}{}}{{{AEf{{b{AbAB`}}}}{b{AbAEh}}}{{AEj{{Bj{fAEn}}}}}}{{{AEf{{b{AbAAn}}}}{b{AbAEh}}{b{AbAF`}}}{{AEj{{Bj{fAEn}}}}}}{{{b{AbAAn}}{b{AbAEh}}{b{Ab{A`{j}}}}}{{AEj{{Bj{BhN`}}}}}}2{{{AEf{{b{AbAB`}}}}{b{AbAEh}}{b{{A`{j}}}}}{{AEj{{Bj{BhAEn}}}}}}{{{AEf{{b{AbAB`}}}}{b{AbAEh}}{b{{A`{j}}}}}{{AEj{{Bj{BhNf}}}}}}{{{b{AbKj}}{Dl{M`}}}{{b{AbKj}}}}{{{b{AbKj}}{Dl{Mb}}}{{b{AbKj}}}}{{{b{AB`}}}{{Bj{AFbOh}}}}{LbLb}{{LbE`}Lb}{{{b{AbAAn}}{b{Ab{A`{j}}}}}{{Bj{{Dl{Bh}}N`}}}}{{{b{AbAAn}}BhBd}{{Bj{{Dl{ABd}}N`}}}}{{{b{AbAAn}}{b{Ab{A`{AFd}}}}}{{Bj{{Dl{Bh}}N`}}}}{{{b{Kd}}}AEl}{{{b{AbAAn}}{b{Ab{A`{j}}}}}{{Bj{fNd}}}}{{{b{AbAAn}}Bh}{{Bj{{Gf{j}}Mn}}}}```{{{b{AbL`}}Bd}{{b{AbL`}}}}{{{b{AbL`}}Kn}{{b{AbL`}}}}{{{b{AbAAn}}}{{Bj{{Dl{Kn}}Nb}}}}{Jnf}{{LbAj}Lb}{{{b{AA`}}}Al}{{LbAA`}Lb}`{{{b{Jn}}}C`}{{{b{Jn}}}Bd}{{{b{Gn}}Gj}{{Dl{Dh}}}}{{{b{Gn}}}{{`{{Cb{}{{Bn{Dh}}}}}}}}{{{b{Kd}}}{{H`{Gj}}}}{{{b{AbKl}}Kn}{{b{AbKl}}}}{{{b{AbAB`}}Kn}{{Bj{fOh}}}}``{Jn{{H`{fABj}}}}{{{b{ADb}}Ib{b{ADd}}{b{{A`{j}}}}}{{l{j}}}}{{{b{AbKj}}Id}{{b{AbKj}}}}{{{b{Kd}}}Id}`{{Knc}Kn{{Eh{Kn}}}}{{{b{Ln}}{b{Ab{Gf{j}}}}{b{{A`{j}}}}}{{Bj{fABl}}}}{{LbAd}Lb}{{{b{Gn}}}{{b{Ad}}}}{{{b{Kd}}AFd}{{H`{fMl}}}}{{{b{AbL`}}Bd}{{b{AbL`}}}}0{{{b{AbL`}}Gh}{{b{AbL`}}}}``{{{b{Od}}c}BjFd}{{{b{Of}}c}BjFd}{{{b{Dh}}c}BjFd}{{{b{Oj}}c}BjFd}{{{b{Ol}}c}BjFd}{{{b{Gn}}{Gf{{Gf{j}}}}}{{H`{f}}}}{{{b{Kd}}Kn}f}0{{{b{AB`}}AFb}{{Bj{fOh}}}}1{{{b{Gn}}{Dl{Hd}}}f}{{{b{Ml}}}{{Dl{{b{n}}}}}}{{{b{Mn}}}{{Dl{{b{n}}}}}}{{{b{N`}}}{{Dl{{b{n}}}}}}{{{b{Nb}}}{{Dl{{b{n}}}}}}{{{b{Nd}}}{{Dl{{b{n}}}}}}{{{b{Nf}}}{{Dl{{b{n}}}}}}{{{b{Nh}}}{{Dl{{b{n}}}}}}{{{b{Kb}}}{{Dl{{b{n}}}}}}{{{b{Dh}}}{{Gf{{Dn{OlId}}}}}}`{{{b{Kd}}}Bh}{{{Ef{ADb}}Ib{b{AFf}}}{{Gd{AFh}}}}{{{b{Kd}}}O`}{{{b{AbAAn}}Kn}{{Bj{fOh}}}}`{{{b{AbAB`}}}{{Bj{{Dl{Kn}}Nh}}}}``{{{b{AbL`}}Kn}{{b{AbL`}}}}``{{{b{AbKj}}{Ef{AFj}}}{{b{AbKj}}}}{{{b{AbL`}}AFl}{{b{AbL`}}}}{LbLb}0{bc{}}0000000000000000000000000000000000{bCl}0000000000000000000{{{b{AbKj}}{Ef{Ll}}}{{b{AbKj}}}}`{{{b{AbKj}}{Ef{L`}}}{{b{AbKj}}}}{{LbL`}Lb}{c{{Bj{e}}}{}{}}0000000000000000{Gh{{Bj{KnACn}}}}{AFn{{Bj{KnACn}}}}2{Bh{{Bj{KnACn}}}}3333333333333333333333333333333333333{{}{{Bj{c}}}{}}000000000000000000000000000000000000000000000000000000{{{AEf{{b{Abc}}}}{b{AbAEh}}}AEj{}}000000`{bFh}000000000000000000000000000000000000000000000000000000``{{{b{AbMd}}Bf}{{b{AbMd}}}}{{LbHd}Lb}`{{{b{AbKj}}AG`}{{b{AbKj}}}}{{}c{}}000000000000000000000000000000000000000000000000000000{{{b{Mj}}}Gh}{{A@n{Gf{{Gf{j}}}}}A@n}{{{Ef{ADb}}}Kj}{{{Gf{AGb}}AGd}{{Bj{KjAGf}}}}{{A@n{Ef{L`}}}A@n}{{{b{AbAB`}}{b{{A`{j}}}}}{{Bj{BhNf}}}}{{{b{AbAB`}}{b{{A`{j}}}}}{{Bj{fNf}}}}{{{b{AbAB`}}{b{Ab{A`{AFd}}}}}{{Bj{fNf}}}}{{{b{AbAB`}}AFd}{{Bj{fNf}}}}{{{b{AbAB`}}{b{Ab{A`{AFd}}}}}{{Bj{ObNf}}}}```````{{bd}f}`````````{b{{b{AGh}}}}00{b{{b{c}}}{}}000{{{b{Ab}}}{{b{Abc}}}{}}000``{{{b{ADn}}}ADn}{{b{b{Abc}}}f{}}{{bj}f}{{}{{Bb{c}}}{}}000{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}000{b{{Bb{{b{c}}}}}{}}000```{{}AGj}{{}AGl}{{}AGn}{{}ADn}{Bh{{b{c}}}{}}000{Bh{{b{Abc}}}{}}000{c{{Bj{AGj}}}Bl}{c{{Bj{AGl}}}Bl}{c{{Bj{ADn}}}Bl}````{Bhf}000`{{{b{AGj}}}Bh}{{{b{AGl}}}Bh}{{{b{AGn}}}Bh}{{{b{AGj}}Bh}{{Dl{AH`}}}}{{{b{AGl}}Bh}{{Dl{AH`}}}}{{{b{AGn}}Bh}{{Dl{AH`}}}}{{{b{AGj}}{b{AbCd}}}{{Bj{fCf}}}}{{{b{AGl}}{b{AbCd}}}G`}{{{b{AGn}}{b{AbCd}}}{{Bj{fCf}}}}{{{b{ADn}}{b{AbCd}}}G`}`{cc{}}000{{{b{c}}}c{}}`{{{b{ADn}}}{{`{{Cb{}{{Bn{{b{AHb}}}}}}}}}}{{{b{ADn}}}{{`{{Cb{}{{Bn{{Ef{AHb}}}}}}}}}}{{}Bh}000{{}c{}}000````{{{b{AGj}}}{{b{El}}}}{{{b{AGl}}}{{b{El}}}}{{{b{AGn}}}{{b{El}}}}{{{b{ADn}}}{{b{El}}}}```````````````````````````````````````````````{{{b{AGj}}c}BjFd}{{{b{AGl}}c}BjFd}{{{b{ADn}}c}BjFd}{bc{}}{c{{Bj{e}}}{}{}}000{{}{{Bj{c}}}{}}000{bFh}000```````{{}c{}}000````````{{bd}f}0000{{{b{AHd}}}AHf}{b{{b{AGh}}}}{{AHhAHfAHj}{{Dl{{Ef{AHl}}}}}}{b{{b{c}}}{}}000000{{{b{Ab}}}{{b{Abc}}}{}}000000``{{{b{AHn}}}AHn}{{{b{AI`}}}AI`}{{{b{AIb}}}AIb}{{{b{AId}}}AId}{{{b{AHf}}}AHf}{{b{b{Abc}}}f{}}0000{{bj}f}0000{{}{{Bb{c}}}{}}000000{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}000000{b{{Bb{{b{c}}}}}{}}000000{{}AIf}{{}AI`}{{}AIb}{{}AId}{Bh{{b{c}}}{}}000000{Bh{{b{Abc}}}{}}000000{c{{Bj{AIf}}}Bl}5{Bhf}000000`{{{b{AIb}}{b{AIb}}}Bd}{{{b{AId}}{b{AId}}}Bd}{{b{b{c}}}Bd{}}00000{{{b{AIf}}}Bh}{{{b{AIf}}Bh}{{Dl{AH`}}}}{{{b{AIf}}{b{AbCd}}}G`}{{{b{AHn}}{b{AbCd}}}G`}{{{b{AI`}}{b{AbCd}}}G`}{{{b{AIb}}{b{AbCd}}}G`}0{{{b{AId}}{b{AbCd}}}G`}{{{b{AHd}}{b{AbCd}}}G`}{{{b{AHf}}{b{AbCd}}}G`}{cc{}}000000{{{b{c}}}c{}}0000{{{b{AbAHd}}AlAI`}{{H`{{Ef{AIb}}}}}}```{{AI`Bd}AI`}00``{{}Bh}000000{{}c{}}000000``````{{{b{AId}}}{{`{{Cb{}{{Bn{{Dn{{b{Ah}}Id}}}}}}}}}}``{{{b{AIf}}}{{b{El}}}}{{{Dl{AIh}}In{Dl{`}}{Ef{AIf}}}{{H`{AHd}}}}```{{AI`{Dl{AHn}}}AI`}{{{b{AHf}}AFdC`}f}`````{{{b{AIf}}c}BjFd}`````{{AI`{Dl{{Ef{AHl}}}}}AI`}0{bc{}}0000{bCl}{c{{Bj{e}}}{}{}}000000{{}{{Bj{c}}}{}}000000{bFh}000000`{{}c{}}000000```````{{bd}f}00{{{b{AbGl}}c}f{{Ej{}{{Bn{C`}}}}}}{b{{b{n}}}}{{{b{Hd}}}{{b{El}}}}{b{{b{c}}}{}}000{{{b{Ab}}}{{b{Abc}}}{}}000{{{b{AbGl}}}f}{{{b{Gl}}}Gl}{{{b{Hd}}}Hd}{{{b{Dj}}}Dj}{{b{b{Abc}}}f{}}00{{bj}f}00{{{b{Hd}}{b{Hd}}}B`}{{b{b{c}}}B`{}}{{}{{Bb{c}}}{}}000{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}000{b{{Bb{{b{c}}}}}{}}000`{{}Gl}{Bh{{b{c}}}{}}00{{{b{Dj}}}b}1{Bh{{b{Abc}}}{}}00{{{b{AbDj}}}{{b{Ab}}}}1{{{b{Gl}}}{{b{{AAj{C`}}}}}}{Bhf}000{{{b{Gl}}{b{Gl}}}Bd}{{{b{Hd}}{b{Hd}}}Bd}{{{b{Dj}}{b{Dj}}}Bd}{{b{b{c}}}Bd{}}00000000{{{b{Gl}}{b{AbCd}}}{{Bj{fCf}}}}{{{b{Hd}}{b{AbCd}}}{{Bj{fCf}}}}0{{{b{AIj}}{b{AbCd}}}{{Bj{fCf}}}}0{{{b{Dj}}{b{AbCd}}}{{Bj{fCf}}}}{cc{}}{AfGl}11{FnDj}2{AfDj}{{{b{{AIn{AIl}}}}}Dj}{{{AIn{AIl}}}Dj}{{hGl}Dj}{{{b{I`}}}{{Bj{DjEd}}}}{{{b{c}}}c{}}00{{{b{El}}}{{Bj{Hd}}}}{Jj{{Bj{DjEd}}}}{{{b{El}}}{{Bj{hEd}}}}{{{b{Hd}}{b{Abc}}}fF`}{{}Bh}000{{}c{}}000{DjAf}{{{Dl{Ah}}{AAj{C`}}}Gl}{hDj}`{{{b{Hd}}{b{Hd}}}{{Dl{B`}}}}{{{b{Gl}}}{{Dl{{b{Ah}}}}}}{{{b{AbGl}}{Dl{Ah}}}f}{{{b{AbGl}}{Dl{Hd}}}f}{{{b{Dj}}}Af}{bc{}}00{{{b{Dj}}{b{Ad}}Ib}{{Bj{I`Ed}}}}{bCl}0{{{b{Dj}}}{{Gf{Cl}}}}{{{b{AJ`}}}Cl}{c{{Bj{e}}}{}{}}{Cl{{Bj{Hd}}}}111{{}{{Bj{c}}}{}}000{bFh}000{{{b{Gl}}}{{Dl{{b{Hd}}}}}}{{}c{}}000{{Gl{AAj{C`}}}Gl}{{Dj{AAj{C`}}}Dj}{{Gl{Dl{Ah}}}Gl}{{Dj{Dl{Ah}}}Dj}{{Gl{Dl{Hd}}}Gl}{{Dj{Dl{Hd}}}Dj}````{{bd}f}0{{{b{AJb}}Kd}{{AJd{{H`{f}}}}}}{{AJfce}AJf{{AJh{{A`{j}}}}}AJb}{{{b{{AJj{c}}}}Kd}{{AJd{{H`{f}}}}}{AJbAJl}}{b{{b{c}}}{}}00{{{b{Ab}}}{{b{Abc}}}{}}00{GnAJf}{{{b{AJn}}}AJn}{{{b{{AJj{c}}}}}{{AJj{c}}}{AJlAJbAJl}}{{b{b{Abc}}}f{}}0{{bj}f}0{{}{{Bb{c}}}{}}00{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}00{b{{Bb{{b{c}}}}}{}}00{Bh{{b{c}}}{}}00{Bh{{b{Abc}}}{}}00{Bhf}00{{{b{AJn}}}{{b{Gn}}}}{{{b{AJf}}}{{b{Gn}}}}{{{b{AJn}}{b{AbCd}}}G`}{{{b{AJf}}{b{AbCd}}}G`}{{{b{{AJj{c}}}}{b{AbCd}}}G`{AK`AJbAJl}}{cc{}}00{{{b{c}}}c{}}0{{}Bh}00{{}c{}}00{{{b{AJn}}}Bd}{GnAJf}{{ce}{{AJj{c}}}{AJbAJl}{{AKb{Gj}{{Ld{Bd}}}}LhLj}}{{{b{AJb}}K`}{{AJd{{H`{Kd}}}}}}{{{b{{AJj{c}}}}K`}{{AJd{{H`{Kd}}}}}{AJbAJl}}{{{b{AJb}}}{{AJd{f}}}}{{{b{AJn}}}{{H`{f}}}}{{{b{{AJj{c}}}}}{{AJd{f}}}{AJbAJl}}{AJf{{H`{AJn}}}}{bc{}}0{c{{Bj{e}}}{}{}}00{{}{{Bj{c}}}{}}00{bFh}00{{}c{}}00``{b{{b{c}}}{}}0{{{b{Ab}}}{{b{Abc}}}{}}0{{}{{Bb{c}}}{}}0{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}0{b{{Bb{{b{c}}}}}{}}0{Bh{{b{c}}}{}}0{Bh{{b{Abc}}}{}}0{{{b{AKd}}Ad}{{Gd{Fj}}}}{{{b{AKd}}}In}{Bhf}0{{{b{AKf}}{b{AbCd}}}G`}{{{b{AKd}}{b{AbCd}}}G`}{cc{}}0{{}Bh}0{{}c{}}0``{{{b{AKd}}{b{Gj}}Id}{{H`{f}}}}`{{}{{H`{AKd}}}}{{}{{H`{{Dn{AlAhAKh}}}}}}{{{Dl{AKj}}Bd}{{H`{{Dn{AlAhAKh}}}}}}1{Cl{{H`{AKd}}}}{c{{Bj{e}}}{}{}}0{{}{{Bj{c}}}{}}0{bFh}0{{}c{}}0``````{{bd}f}00{b{{b{n}}}}{b{{b{c}}}{}}00000{{{b{Ab}}}{{b{Abc}}}{}}00000{{{b{{AKl{c}}}}}{{AKl{c}}}{}}{{{b{{AAb{c}}}}}{{AAb{c}}}AJl}{{{b{{AKn{c}}}}}{{AKn{c}}}AJl}{{b{b{Abc}}}f{}}00{{bj}f}00{{}{{Bb{c}}}{}}00000{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}00000{b{{Bb{{b{c}}}}}{}}00000{{}{{AKl{c}}}AL`}{Bh{{b{c}}}{}}00000{Bh{{b{Abc}}}{}}00000{Bhf}00000{{{b{{AKl{c}}}}{b{AbCd}}}G`AK`}{{{b{{AAb{c}}}}{b{AbCd}}}G`AK`}{{{b{{ALb{c}}}}{b{AbCd}}}G`AK`}{{{b{{ALd{c}}}}{b{AbCd}}}G`AK`}{{{b{{AKn{c}}}}{b{AbCd}}}G`AK`}{{{b{ALf}}{b{AbCd}}}G`}0{cc{}}00000{{{b{c}}}c{}}00{{{b{{AKl{c}}}}}c{AJlALh}}{{{b{{AAb{c}}}}}{{Bj{cALf}}}{AJlALh}}{{}Bh}00000{{{b{Ab{AAb{{Dl{c}}}}}}}{{ALd{c}}}{AJlALh}}{{}c{}}00000{{}}0{c{{AKl{c}}}{AJlALh}}{{{AEf{{b{Ab{ALb{c}}}}}}{b{AbAEh}}}{{AEj{e}}}{AJlALh}{}}{{{AEf{{b{Ab{ALd{c}}}}}}{b{AbAEh}}}{{AEj{e}}}{AJlALh}{}}{{{AEf{{b{Ab{AKn{c}}}}}}{b{AbAEh}}}{{AEj{{Dl{e}}}}}{AJlALh}{}}{{{b{{ALl{ALjceg}}}}}{{ALn{iceg}}}AM`AMbAMd{}}{{{b{{ALl{ALjceg}}}}AMf}{{ALn{iceg}}}AM`AMbAMd{}}{{{b{{AKl{c}}}}c}{{Bj{cc}}}{AJlALh}}{{{AAb{c}}}{{AKn{c}}}{AJlALh}}0{bc{}}00{bCl}{c{{Bj{e}}}{}{}}00000{{}{{Bj{c}}}{}}00000{{{AEf{{b{Abc}}}}{b{AbAEh}}}AEj{}}0{{{AEf{{b{Abc}}}}{b{AbAEh}}}{{AEj{{Dl{Bj}}}}}{}}{bFh}00000{{{b{Ab{AAb{c}}}}}{{ALb{c}}}{AJlALh}}{{}c{}}00000{{{b{{AKl{c}}}}}{{AAb{c}}}{AJlALh}}","D":"GCn","p":[[1,"reference",null,null,1],[5,"Private",3266],[1,"unit"],[5,"PublicKey",0,3267],[1,"u8"],[1,"array"],[10,"Error",3268],[1,"slice"],[0,"mut"],[5,"SecretKey",0,3267],[5,"NodeAddr",0,3269],[5,"RelayUrl",0,3270],[6,"RelayProtocol",0],[5,"RelayMap",0,3271],[5,"RelayNode",0,3271],[6,"Ordering",3272],[5,"Compat",3273],[1,"bool"],[1,"u16"],[1,"usize"],[6,"Result",3274,null,1],[10,"Deserializer",3275],[17,"Item"],[6,"SocketAddr",3276],[10,"Iterator",3277],[5,"Formatter",3278],[5,"Error",3278],[6,"KeyParsingError",0,3267],[5,"RelayUrlParseError",0,3270],[5,"String",3279],[5,"VerifyingKey",3280],[5,"Error",3281],[5,"DecodeError",3282],[5,"SigningKey",3283],[5,"NodeTicket",3284],[5,"RemoteInfo",709,3285],[5,"NodeInfo",2852,3286],[6,"Option",3287,null,1],[1,"tuple",null,null,1],[5,"Url",3288],[6,"ParseError",3289],[5,"Error",3290],[5,"Arc",3291,null,1],[10,"Into",3292],[10,"IntoIterator",3293],[1,"str"],[10,"CryptoRngCore",3294],[10,"Hasher",3295],[5,"HeaderValue",3296],[10,"Serializer",3297],[5,"Signature",3298],[5,"TypeId",3299],[5,"ConcurrentDiscovery",360],[10,"Discovery",360],[5,"DiscoveryItem",360],[8,"Result",3278],[5,"Lagged",360],[5,"Box",3300,null,1],[5,"Vec",3301],[1,"u64"],[8,"NodeId",0,3267],[5,"NodeData",2852,3286],[5,"Endpoint",709],[8,"Result",3290],[8,"Boxed",3302],[5,"UserData",2852,3286],[5,"DnsDiscovery",450],[5,"MdnsDiscovery",472],[5,"PkarrPublisher",494],[5,"PkarrResolver",494],[5,"PkarrRelayClient",494],[5,"SignedPacket",3303],[1,"u32"],[5,"Duration",3304],[5,"Builder",579],[5,"DhtDiscovery",579],[5,"Client",3305],[5,"StaticProvider",634],[5,"DnsResolver",667,3306],[5,"TokioRuntimeProvider",3307],[5,"GenericConnector",3308],[5,"Resolver",3309],[6,"IpAddr",3310],[10,"ToString",3279],[5,"TxtLookup",3306],[5,"Accept",709],[5,"Incoming",709],[5,"Connecting",709],[6,"ConnectionError",709,3311],[5,"Connection",709],[5,"AcceptBi",709,3312],[5,"AcceptUni",709,3312],[5,"ServerConfig",709,3313],[5,"AckFrequencyConfig",709,3314],[5,"VarInt",709,3315],[5,"TransportConfig",709,3314],[5,"Builder",709],[17,"Output"],[10,"FnOnce",3316],[10,"Send",3317],[10,"Sync",3317],[10,"HandshakeTokenKey",709,3318],[10,"AeadKey",709,3318],[5,"SocketAddrV4",3276],[5,"SocketAddrV6",3276],[5,"MtuDiscoveryConfig",709,3314],[10,"ControllerFactory",709,3319],[5,"Instant",3320],[10,"Controller",709,3319],[6,"SendDatagramError",709,3312],[6,"ReadToEndError",709,3321],[6,"ReadError",709,3321],[6,"ResetError",709,3321],[6,"ReadExactError",709,3321],[6,"WriteError",709,3322],[6,"StoppedError",709,3322],[5,"UdpStats",709,3323],[5,"FrameStats",709,3323],[5,"PathStats",709,3323],[5,"ConnectionStats",709,3323],[5,"Written",709,3324],[6,"ControlMsg",709,3285],[5,"DirectAddrInfo",709,3285],[5,"ClosedStream",709,3325],[6,"ConnectionType",709,3285],[6,"Source",709,3326],[5,"ConnectionClose",709,3327],[5,"ApplicationClose",709,3327],[5,"TransportError",709],[5,"TransportErrorCode",709],[5,"StreamId",709,3328],[5,"DirectAddr",709,3329],[6,"DirectAddrType",709,3329],[6,"PathSelection",709],[5,"ConnectOptions",709],[6,"RelayMode",709],[5,"Watcher",3123],[5,"UnexpectedEnd",3330],[10,"Buf",3331],[6,"Dir",3328],[5,"BTreeSet",3332],[10,"Stream",3333],[5,"RecvStream",709,3321],[5,"SendStream",709,3322],[10,"BufMut",3334],[5,"Chunk",709,3335],[5,"ExportKeyingMaterialError",709,3318],[5,"WeakConnectionHandle",709,3312],[5,"RetryError",709,3336],[5,"CryptoError",709,3318],[5,"UnsupportedVersion",709,3318],[5,"IncomingFuture",709],[5,"ZeroRttAccepted",709],[6,"ReadableError",3337],[6,"Close",3327],[5,"Unspecified",3338],[5,"InvalidFrame",3327],[6,"Error",3339],[5,"VarIntBoundsExceeded",3315],[10,"Any",3299],[10,"CryptoServerConfig",709],[5,"ConnectionId",3340],[5,"Keys",3318],[6,"Side",3328],[5,"Incoming",3336],[5,"IdleTimeout",3314],[5,"EndpointMetrics",2460],[5,"RttEstimator",3341],[5,"OpenBi",709,3312],[5,"OpenUni",709,3312],[5,"Pin",3342],[5,"Context",3343],[6,"Poll",3344],[5,"ReadDatagram",709,3312],[5,"Error",3345],[5,"ReadBuf",3346],[1,"i32"],[5,"Bytes",3347],[5,"TransportParameters",3339],[10,"Session",3318],[10,"TimeSource",3313],[1,"f32"],[1,"u128"],[5,"ValidationTokenConfig",3313],[5,"CertificateDer",3348],[6,"PrivateKeyDer",3348],[6,"Error",3349],[10,"Iterable",3350],[5,"PortmapMetrics",2460],[5,"MagicsockMetrics",2460],[5,"RelayMetrics",2460],[5,"MetricItem",3351],[10,"MetricsGroup",3351],[5,"Client",2640],[5,"Addr",2640],[6,"IpFamily",3352],[5,"CancellationToken",3353],[5,"UdpSocket",3354],[5,"QuicConfig",2640,3355],[5,"Options",2640,3356],[5,"Report",2640],[5,"RelayLatencies",2640],[5,"Metrics",2640,3357],[5,"Client",3358],[5,"MaxLengthExceededError",2852,3286],[6,"IrohAttr",3286],[5,"TxtAttrs",3286],[10,"NodeIdExt",2852,3286],[10,"ProtocolHandler",2999],[8,"Boxed",3359],[5,"RouterBuilder",2999],[10,"AsRef",3292],[5,"AccessLimit",2999],[10,"Clone",3360],[5,"Router",2999],[10,"Debug",3278],[10,"Fn",3316],[5,"DnsPkarrServer",3078,3361],[5,"CleanupDropGuard",3078],[5,"Server",3362],[5,"StunConfig",3362],[5,"Watchable",3123],[5,"WatcherStream",3123],[10,"Default",3363],[5,"WatchNextFut",3123],[5,"WatchInitializedFut",3123],[5,"Disconnected",3123],[10,"Eq",3272],[6,"NotKeyed",3364],[5,"RateLimiter",3365],[5,"RatelimitedStream",3366],[10,"DirectStateStore",3364],[10,"ReasonablyRealtime",3367],[10,"RateLimitingMiddleware",3368],[5,"Jitter",3369],[15,"Discovery",2458],[15,"NamedApp",2458]],"r":[[2,709],[4,3267],[6,3269],[7,3267],[8,3267],[10,3271],[11,709],[12,3271],[14,3270],[15,3270],[16,3267],[254,3370],[344,3371],[345,3371],[364,3286],[365,3286],[366,3286],[451,3306],[452,3306],[667,3306],[668,3306],[669,3306],[712,3312],[713,3312],[714,3314],[715,3318],[718,3327],[725,3335],[727,3325],[733,3327],[735,3311],[741,3323],[742,3285],[743,3285],[744,3319],[745,3319],[746,3318],[751,3329],[752,3285],[753,3329],[759,3318],[764,3323],[765,3318],[777,3314],[782,3312],[783,3312],[786,3323],[791,3312],[792,3321],[794,3321],[795,3321],[796,3321],[801,3285],[804,3321],[805,3336],[809,3312],[810,3322],[811,3313],[812,3326],[815,3322],[816,3328],[823,3314],[828,3323],[831,3318],[832,3315],[834,3312],[835,3322],[836,3324],[2642,3357],[2643,3356],[2644,3355],[2654,3372],[2852,3286],[2854,3286],[2855,3286],[2856,3286],[2857,3286],[2858,3286],[3079,3361]],"b":[[171,"impl-Display-for-PublicKey"],[172,"impl-Debug-for-PublicKey"],[173,"impl-Display-for-KeyParsingError"],[174,"impl-Debug-for-KeyParsingError"],[175,"impl-Display-for-SecretKey"],[176,"impl-Debug-for-SecretKey"],[178,"impl-Display-for-RelayUrl"],[179,"impl-Debug-for-RelayUrl"],[180,"impl-Display-for-RelayUrlParseError"],[181,"impl-Debug-for-RelayUrlParseError"],[183,"impl-Debug-for-RelayMap"],[184,"impl-Display-for-RelayMap"],[185,"impl-Debug-for-RelayNode"],[186,"impl-Display-for-RelayNode"],[191,"impl-From%3CError%3E-for-KeyParsingError"],[192,"impl-From%3CDecodeError%3E-for-KeyParsingError"],[193,"impl-From%3CSigningKey%3E-for-SecretKey"],[194,"impl-From%3C%5Bu8;+32%5D%3E-for-SecretKey"],[196,"impl-From%3CNodeTicket%3E-for-NodeAddr"],[197,"impl-From%3CRemoteInfo%3E-for-NodeAddr"],[198,"impl-From%3CNodeInfo%3E-for-NodeAddr"],[199,"impl-From%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[200,"impl-From%3CPublicKey%3E-for-NodeAddr"],[296,"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey"],[297,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey"],[404,"impl-Display-for-Lagged"],[405,"impl-Debug-for-Lagged"],[1652,"impl-Debug-for-SendDatagramError"],[1653,"impl-Display-for-SendDatagramError"],[1654,"impl-Display-for-RetryError"],[1655,"impl-Debug-for-RetryError"],[1657,"impl-Debug-for-ReadToEndError"],[1658,"impl-Display-for-ReadToEndError"],[1659,"impl-Display-for-ReadError"],[1660,"impl-Debug-for-ReadError"],[1661,"impl-Display-for-ResetError"],[1662,"impl-Debug-for-ResetError"],[1663,"impl-Display-for-ReadExactError"],[1664,"impl-Debug-for-ReadExactError"],[1666,"impl-Display-for-WriteError"],[1667,"impl-Debug-for-WriteError"],[1668,"impl-Debug-for-StoppedError"],[1669,"impl-Display-for-StoppedError"],[1671,"impl-Debug-for-VarInt"],[1672,"impl-Display-for-VarInt"],[1679,"impl-Debug-for-ControlMsg"],[1680,"impl-Display-for-ControlMsg"],[1683,"impl-Display-for-ClosedStream"],[1684,"impl-Debug-for-ClosedStream"],[1685,"impl-Display-for-ConnectionType"],[1686,"impl-Debug-for-ConnectionType"],[1687,"impl-Debug-for-Source"],[1688,"impl-Display-for-Source"],[1689,"impl-Display-for-ConnectionError"],[1690,"impl-Debug-for-ConnectionError"],[1697,"impl-Display-for-ConnectionClose"],[1698,"impl-Debug-for-ConnectionClose"],[1699,"impl-Debug-for-ApplicationClose"],[1700,"impl-Display-for-ApplicationClose"],[1701,"impl-Debug-for-TransportError"],[1702,"impl-Display-for-TransportError"],[1703,"impl-Display-for-TransportErrorCode"],[1704,"impl-Debug-for-TransportErrorCode"],[1705,"impl-Debug-for-StreamId"],[1706,"impl-Display-for-StreamId"],[1708,"impl-Debug-for-DirectAddrType"],[1709,"impl-Display-for-DirectAddrType"],[1738,"impl-From%3CReadableError%3E-for-ReadError"],[1739,"impl-From%3CResetError%3E-for-ReadError"],[1740,"impl-From%3CConnectionError%3E-for-ReadError"],[1747,"impl-From%3CClosedStream%3E-for-WriteError"],[1748,"impl-From%3CConnectionError%3E-for-WriteError"],[1749,"impl-From%3CStoppedError%3E-for-WriteError"],[1755,"impl-From%3Cu16%3E-for-VarInt"],[1756,"impl-From%3CStreamId%3E-for-VarInt"],[1757,"impl-From%3Cu8%3E-for-VarInt"],[1758,"impl-From%3Cu32%3E-for-VarInt"],[1772,"impl-From%3CTransportError%3E-for-ConnectionError"],[1773,"impl-From%3CClose%3E-for-ConnectionError"],[1784,"impl-From%3CInvalidFrame%3E-for-TransportError"],[1786,"impl-From%3CTransportErrorCode%3E-for-TransportError"],[1787,"impl-From%3CError%3E-for-TransportError"],[2065,"impl-AsyncRead-for-RecvStream"],[2066,"impl-RecvStream"],[2068,"impl-AsyncWrite-for-SendStream"],[2069,"impl-SendStream"],[2228,"impl-TryFrom%3Cu64%3E-for-VarInt"],[2229,"impl-TryFrom%3Cu128%3E-for-VarInt"],[2231,"impl-TryFrom%3Cusize%3E-for-VarInt"],[2748,"impl-Debug-for-Report"],[2749,"impl-Display-for-Report"],[2927,"impl-Display-for-UserData"],[2928,"impl-Debug-for-UserData"],[2929,"impl-Display-for-MaxLengthExceededError"],[2930,"impl-Debug-for-MaxLengthExceededError"],[2936,"impl-From%3CDiscoveryItem%3E-for-NodeInfo"],[2938,"impl-From%3CNodeAddr%3E-for-NodeInfo"],[2939,"impl-From%3C%26TxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[2940,"impl-From%3CTxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[3196,"impl-Debug-for-Disconnected"],[3197,"impl-Display-for-Disconnected"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAACMJuwADAAAADAAAABMABgAbAE0AagAAAG0AFwCJAAgAlAAnAL0AAADAAAMAxgADAMsAAADOAAAA1gAJAOEAAADkAAoAAgEDAA0BBAATAQEAGQEsAEoBCABwAQAAcgESAIYBBwCPAQIAkwEDAJkBAACbAQAAnQECAK0BAACvAQAAsgEAALQBCgDAAQIAxgEIANABAADUAQQA2wEIAOUBAADoAQYA9gEgABgCBQAhAgUALwIAADECAAAzAgsAQAICAEYCBABOAg4AXgIDAGQCAABmAgEAbQIAAG8CAABxAgQAdwIDAH0CAAB/AgwAjgIAAJACAACTAgAAlQIAAJcCBACfAgIAowILALACAQDAAgQASwMiAHQDAAB2AwAAggMKAJIDbQAIBCIALARFAHYEAwB7BKgAKwUAAC0FAAAyBQEAOAUQAEoFcgDHBTgAAQZuAHQGRQDGBgAAyQYAAMsGAgDPBgAA0QYAANQGAgDZBgAA3AYDAO0GAQDzBgAA9wYAAPkGAAD7BgEA/wYAAA0HIgA1BwAANwcEAEAHAABEBzYAuwcJANwHAADgBwIA7QcBAPIHAAD9BwMAAggBAAcICwAUCAEANAgBAEUIBABQCAcAXggAAGAIAQBjCAEAaQg2AKQIEAC3CAAAuQhiAB0JNgBaCTYAnwkAAKIJAACkCRIAuQkOAMsJDgDeCQMA4wkJAPIJAAD0CQUAAgoDABQKAwAZCgcAIwoGAC0KBgA1Cg8ARwoAAEwKAwBYCgQAXgoAAGAKDQBwCjYAqAoGALAKEQDJCgQA1woGAO4KAAD6CgAAAgsaAB4LBgAsCwIAMAsJADsLFgBTCwoAXwsVAHYLAAB5CwAAewsCAIALAwCGCwQAkwsAAJgLAgCcCwEAoAsMAK4LAwC8CwEAwAsGAMgLFwDiCwIA6AsEAPQLAAD3CwAA+QsNAAkMDQAZDAMAHwwBACwMBwA6DEQAhQwCAIoMBQCXDAEAmgwEAKIMGAC8DAUA","P":[[29,"T"],[30,""],[31,"T"],[48,""],[55,"T"],[62,""],[73,"K"],[77,"T"],[104,""],[108,"T"],[112,""],[113,"T"],[127,"D"],[129,"__D"],[132,""],[153,"K"],[171,""],[189,"T"],[191,""],[195,"T"],[196,""],[201,"T"],[202,""],[203,"T"],[205,""],[206,"T"],[209,""],[211,"I,"],[212,""],[213,"T"],[220,""],[225,"R"],[226,""],[227,"H"],[228,"__H"],[229,""],[238,"U"],[247,""],[268,"S"],[270,"__S"],[273,""],[280,"T"],[287,""],[295,"U,T"],[296,""],[298,"U,T"],[300,""],[301,"U,T"],[307,"U"],[316,""],[329,"V"],[339,""],[340,""],[368,""],[369,""],[370,"T"],[376,""],[377,"T"],[378,""],[379,"T"],[389,""],[390,"T"],[391,"Deref::Target"],[392,"T"],[398,""],[406,"T"],[411,""],[415,"U"],[418,""],[435,"T"],[436,""],[437,"U,T"],[440,"U"],[443,""],[447,"V"],[453,"T"],[460,""],[462,"T"],[463,""],[464,"U"],[465,""],[468,"U,T"],[469,"U"],[470,""],[471,"V"],[474,"T"],[481,""],[483,"T"],[484,""],[485,"U"],[486,""],[490,"U,T"],[491,"U"],[492,""],[493,"V"],[501,""],[504,"T"],[510,""],[513,"T"],[516,""],[519,"T"],[535,""],[541,"T"],[547,""],[550,"U"],[553,""],[562,"T"],[565,"U,T"],[568,"U"],[571,""],[575,"V"],[578,""],[582,"T"],[586,""],[590,"T"],[591,""],[592,"T"],[598,""],[600,"T"],[604,""],[609,"T"],[612,""],[616,"U"],[618,""],[624,"T"],[625,"U,T"],[627,"U"],[629,""],[632,"V"],[636,""],[637,""],[638,"T"],[640,""],[641,"T"],[642,""],[643,"T"],[646,""],[647,"T"],[649,""],[651,"T"],[652,","],[653,"T"],[654,""],[656,"U"],[657,""],[661,""],[662,"T"],[663,"U,T"],[664,"U"],[665,""],[666,"V"],[670,""],[671,"T"],[673,""],[675,"T"],[676,""],[677,"T"],[680,""],[681,"T"],[683,""],[686,"T"],[688,""],[689,"U"],[690,""],[696,""],[700,""],[701,""],[703,"T"],[704,"U,T"],[705,"U"],[706,""],[707,"V"],[708,""],[886,"D,F"],[887,""],[913,"T"],[1023,""],[1067,"T"],[1102,""],[1146,"K"],[1150,"T"],[1315,""],[1320,""],[1323,""],[1335,"B"],[1338,""],[1353,"T"],[1463,"__D"],[1468,""],[1536,"B"],[1539,""],[1566,"K"],[1649,""],[1726,"T"],[1733,""],[1734,"T"],[1736,""],[1737,"T"],[1738,""],[1741,"T"],[1742,""],[1743,"T"],[1744,""],[1745,"T"],[1747,""],[1750,"T"],[1752,""],[1753,"T"],[1755,""],[1759,"T"],[1772,""],[1774,"T"],[1778,""],[1779,"T"],[1782,""],[1783,"T"],[1784,""],[1785,"T"],[1786,""],[1788,"T"],[1790,""],[1791,"T"],[1839,""],[1846,"__H"],[1851,""],[1921,"U"],[1976,""],[1984,"IntoFuture::IntoFuture"],[1985,""],[2060,"Future::Output"],[2064,""],[2106,""],[2107,""],[2116,"__S"],[2121,""],[2152,"T"],[2187,""],[2211,"U,T"],[2228,""],[2230,"U,T"],[2231,""],[2232,"U,T"],[2269,"U"],[2324,"F"],[2332,""],[2393,"V"],[2448,""],[2478,"T"],[2488,""],[2489,"T"],[2490,""],[2491,"T"],[2506,""],[2510,"T"],[2518,"__D"],[2525,""],[2541,"T"],[2547,""],[2553,"U"],[2561,""],[2612,"__S"],[2615,"T"],[2616,"U,T"],[2620,"U"],[2624,""],[2635,"V"],[2647,""],[2655,"T"],[2671,""],[2676,"T"],[2681,""],[2686,"T"],[2707,""],[2711,"T"],[2725,"__D"],[2726,""],[2737,"K"],[2743,""],[2753,"T"],[2765,""],[2781,"U"],[2794,""],[2809,"__S"],[2815,""],[2817,"T"],[2822,""],[2823,"U,T"],[2830,"U"],[2837,""],[2845,"V"],[2859,""],[2862,""],[2863,""],[2865,"T"],[2873,""],[2877,"T"],[2880,""],[2884,"K"],[2885,"T"],[2898,""],[2899,"T"],[2902,""],[2903,"T"],[2907,""],[2908,"T"],[2909,""],[2917,"K"],[2926,""],[2932,"T"],[2933,""],[2934,"T"],[2936,""],[2937,"T"],[2938,""],[2943,"T"],[2946,""],[2949,"__H"],[2950,""],[2954,"U"],[2958,""],[2967,"T"],[2970,""],[2975,"U,T"],[2976,""],[2977,"U,T"],[2980,"U"],[2984,""],[2989,"V"],[2993,""],[3006,",T"],[3007,"P"],[3008,"T"],[3014,""],[3016,"P"],[3017,"T"],[3019,""],[3021,"T"],[3036,""],[3043,"P"],[3044,"T"],[3049,""],[3052,"U"],[3055,""],[3057,"P,F"],[3058,""],[3059,"P"],[3060,""],[3062,"P"],[3063,""],[3064,"T"],[3066,"U,T"],[3069,"U"],[3072,""],[3075,"V"],[3080,"T"],[3094,""],[3100,"T"],[3102,""],[3104,"U"],[3108,""],[3115,"U,T"],[3117,"U"],[3119,""],[3121,"V"],[3129,""],[3133,"T"],[3151,""],[3154,"T"],[3185,""],[3191,"T"],[3196,""],[3198,"T"],[3209,""],[3215,"T"],[3216,"U"],[3222,""],[3224,"T"],[3225,"T,Future::Output"],[3227,"T,Stream::Item"],[3228,"D,C,MW,S"],[3230,"T"],[3236,""],[3237,"U,T"],[3243,"U"],[3249,"F"],[3251,"S"],[3252,""],[3258,"T"],[3259,"V"],[3265,"T"]]}],["iroh_base",{"t":"TPPPGTFIFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNONNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNPGTPFPKPNNNNNNNNNNNNNNNNNNNMNNNNNNNNNMNNNNNNNNNNO","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","","","","","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"],[181,"iroh_base::ticket"],[229,"iroh_base::ticket::Error"],[230,"iroh_base::key"],[231,"ed25519"],[232,"iroh_base::node_addr"],[233,"iroh_base::relay_url"],[234,"core::cmp"],[235,"core::result"],[236,"serde::de"],[237,"core::net::socket_addr"],[238,"core::iter::traits::iterator"],[239,"core::fmt"],[240,"alloc::string"],[241,"ed25519_dalek::signature"],[242,"ed25519_dalek::verifying"],[243,"ed25519_dalek::errors"],[244,"data_encoding"],[245,"ed25519_dalek::signing"],[246,"iroh_base::ticket::node"],[247,"core::option"],[248,"url"],[249,"url::parser"],[250,"core::iter::traits::collect"],[251,"signature::error"],[252,"rand_core"],[253,"core::hash"],[254,"serde::ser"],[255,"core::error"],[256,"alloc::vec"],[257,"core::any"],[258,"postcard::error"]],"i":"nBl00`b```````002001A`AbAdBn645321064321643216432142116432122642166664455332110046666445553332222110064362664313416453210222421436226364321350`6636432164531066644453321064532106453210422El`Ej1`1`1Cn202000100002200222100020010210002020202F`","f":"`````````````{{{d{b}}}{{d{{h{f}}}}}}{{{d{b}}}{{d{{j{f}}}}}}{d{{d{c}}}{}}0200000{{{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`}{{{d{{h{f}}}}}n}{Cbn}{cc{}}{{{h{f}}}n}1{Cdb}2{CfBl}{ChBl}{{{h{f}}}A`}5{CjA`}{ClAb}{CnAb}8{{{Db{b{D`{Ad}}{d{{j{B`}}}}}}}Ab}{DdAd}:{DfBn};={{{d{{h{f}}}}}{{Aj{bCf}}}}{{{d{{h{f}}}}}A`}{{{h{f}}{h{f}}}n}{{b{D`{Ad}}c}Ab{{Dh{}{{An{B`}}}}}}{{{d{{j{f}}}}}{{Aj{nDj}}}}{{{d{Dl}}}{{Aj{nDj}}}}{{{d{Dl}}}{{Aj{bc}}}{}}{{{d{Dl}}}{{Aj{A`c}}}{}}{{{d{Dl}}}{{Aj{Adc}}}{}}{cA`Dn}{{{d{b}}{d{lc}}}AfE`}{{{d{Ad}}{d{lc}}}AfE`}{{}c{}}000000{{{d{Ab}}}Bd}{bAb}`{{{d{b}}{d{b}}}{{D`{Ah}}}}{{{d{Ab}}{d{Ab}}}{{D`{Ah}}}}{{{d{Ad}}{d{Ad}}}{{D`{Ah}}}}{{{d{b}}}Cd}{{{d{A`}}}b}{{{d{n}}}{{d{{h{f}}}}}}{{{d{Ab}}}{{D`{{d{Ad}}}}}}`1{{{d{A`}}}{{d{Cj}}}}{{{d{n}}c}AjEb}{{{d{b}}c}AjEb}{{{d{A`}}c}AjEb}{{{d{Ab}}c}AjEb}{{{d{Ad}}c}AjEb}{{{d{A`}}{d{{j{f}}}}}n}{{{d{Bl}}}{{D`{{d{Ed}}}}}}{{{d{Bn}}}{{D`{{d{Ed}}}}}}`{{{d{n}}}{{h{f}}}}0{{{d{A`}}}{{h{f}}}}{dc{}}0000{dC`}00000{{{d{n}}}{{Ef{f}}}}{c{{Aj{e}}}{}{}}{{{d{{j{f}}}}}{{Aj{nDj}}}}{{{d{{j{f}}}}}{{Aj{bc}}}{}}{{{d{{h{f}}}}}{{Aj{bc}}}{}}33{{{d{{j{f}}}}}{{Aj{A`c}}}{}}4444{{}{{Aj{c}}}{}}000000{dEh}000000{{{d{b}}{d{{j{f}}}}{d{n}}}{{Aj{AfCf}}}}{{Abc}Ab{{Dh{}{{An{B`}}}}}}{{AbAd}Ab}````````{d{{d{c}}}{}}0{{{d{l}}}{{d{lc}}}{}}0{{{d{Cn}}}Cn}{{d{d{lc}}}Af{}}{{df}Af}{{{d{Dl}}}{{Aj{EjEl}}}}{c{{Aj{Cn}}}Al}{{{d{Cn}}{d{Cn}}}Bd}{{{d{Cn}}{d{lBf}}}Bj}0{{{d{El}}{d{lBf}}}Bj}0{cc{}}{AbCn}1{ChEl}{EnEl}{{{d{{j{f}}}}}{{Aj{EjEl}}}}{{{d{{j{f}}}}}{{Aj{CnEl}}}}{{{d{Dl}}}{{Aj{Cnc}}}{}}{{}c{}}06{{{d{Cn}}}{{d{Ab}}}}{{{d{Ej}}}C`}{{{d{Cn}}c}AjEb}{{{d{El}}}{{D`{{d{Ed}}}}}}{{{d{Ej}}}{{Ef{f}}}}{{{d{Cn}}}{{Ef{f}}}}{dc{}}{dC`}0{c{{Aj{e}}}{}{}}0{{}{{Aj{c}}}{}}0{dEh}0`","D":"Il","p":[[5,"PublicKey",0,230],[1,"reference",null,null,1],[1,"u8"],[1,"array"],[1,"slice"],[0,"mut"],[5,"Signature",0,231],[5,"SecretKey",0,230],[5,"NodeAddr",0,232],[5,"RelayUrl",0,233],[1,"unit"],[6,"Ordering",234],[6,"Result",235,null,1],[10,"Deserializer",236],[17,"Item"],[6,"SocketAddr",237],[10,"Iterator",238],[1,"bool"],[5,"Formatter",239],[5,"Error",239],[8,"Result",239],[6,"KeyParsingError",0,230],[5,"RelayUrlParseError",0,233],[5,"String",240],[5,"InternalSignature",241],[5,"VerifyingKey",242],[8,"SignatureError",243],[5,"DecodeError",244],[5,"SigningKey",245],[8,"NodeId",0,230],[5,"NodeTicket",181,246],[6,"Option",247,null,1],[1,"tuple",null,null,1],[5,"Url",248],[6,"ParseError",249],[10,"IntoIterator",250],[5,"Error",251],[1,"str"],[10,"CryptoRngCore",252],[10,"Hasher",253],[10,"Serializer",254],[10,"Error",255],[5,"Vec",256],[5,"TypeId",257],[10,"Ticket",181],[6,"Error",181],[6,"Error",258],[15,"Kind",229]],"r":[[4,230],[6,232],[7,230],[8,230],[9,233],[10,233],[11,230],[12,231],[185,246]],"b":[[60,"impl-Debug-for-Signature"],[61,"impl-Display-for-Signature"],[62,"impl-UpperHex-for-Signature"],[63,"impl-LowerHex-for-Signature"],[64,"impl-Display-for-PublicKey"],[65,"impl-Debug-for-PublicKey"],[66,"impl-Display-for-KeyParsingError"],[67,"impl-Debug-for-KeyParsingError"],[68,"impl-Display-for-SecretKey"],[69,"impl-Debug-for-SecretKey"],[71,"impl-Display-for-RelayUrl"],[72,"impl-Debug-for-RelayUrl"],[73,"impl-Display-for-RelayUrlParseError"],[74,"impl-Debug-for-RelayUrlParseError"],[76,"impl-From%3C%26%5Bu8;+ed25519::::SignatureBytes::%7Bconstant%230%7D%5D%3E-for-Signature"],[77,"impl-From%3CInternalSignature%3E-for-Signature"],[79,"impl-From%3C%5Bu8;+ed25519::::SignatureBytes::%7Bconstant%230%7D%5D%3E-for-Signature"],[83,"impl-From%3CError%3E-for-KeyParsingError"],[84,"impl-From%3CDecodeError%3E-for-KeyParsingError"],[85,"impl-From%3C%5Bu8;+32%5D%3E-for-SecretKey"],[87,"impl-From%3CSigningKey%3E-for-SecretKey"],[88,"impl-From%3CPublicKey%3E-for-NodeAddr"],[89,"impl-From%3CNodeTicket%3E-for-NodeAddr"],[91,"impl-From%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[138,"impl-SignatureEncoding-for-Signature"],[139,"impl-Signature"],[155,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey"],[156,"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey"],[199,"impl-Debug-for-NodeTicket"],[200,"impl-Display-for-NodeTicket"],[201,"impl-Display-for-Error"],[202,"impl-Debug-for-Error"],[206,"impl-From%3CDecodeError%3E-for-Error"],[207,"impl-From%3CError%3E-for-Error"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAJgAFwAPACcAOQASAE0AAQBQAAAAUgAAAFQAAgBYAAEAXAABAF8AAABnAAMAbAABAHgAAgCCAAQAiAABAIsAAACOAAoAmgAYAL4ABgDGAAUAzwABANIAAQDZAAEA3AAJAA==","P":[[15,"T"],[17,""],[18,"T"],[30,""],[35,"T"],[40,""],[48,"Deref::Target"],[49,"D"],[52,"__D"],[54,""],[78,"T"],[79,""],[80,"T"],[81,""],[82,"T"],[83,""],[86,"T"],[87,""],[90,"T"],[91,""],[93,"T"],[94,""],[95,"T"],[96,""],[100,""],[101,""],[103,"FromStr::Err"],[106,"R"],[107,"H"],[108,"__H"],[109,"U"],[116,""],[129,"S"],[132,"__S"],[134,""],[141,"T"],[146,""],[153,"U,T"],[154,""],[155,"TryFrom::Error"],[157,"U,T"],[159,"TryFrom::Error"],[160,"U,T"],[164,"U"],[171,""],[179,""],[180,""],[189,"T"],[193,""],[194,"T"],[195,""],[197,"D"],[198,""],[203,"T"],[204,""],[205,"T"],[206,""],[210,"FromStr::Err"],[211,"U"],[213,""],[216,"S"],[217,""],[220,"T"],[221,""],[223,"U,T"],[225,"U"],[227,""]]}],["iroh_bench",{"t":"FGGGPPPFPPPPNNNNNNNNNNNNNNNNHONNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNONNNNNCOOONCOHCCNOONNNNNNNNNNNNNNNNNNNNNONNNNNSHHHHHHSHHHHHHFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFONNNNNNOOOONNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNONOOOHOOONNNNNNOONNNNNN","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","","compat","","","","","compat_mut","","","","","compat_ref","","","","","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","compat","compat_mut","compat_ref","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","","compat","","","compat_mut","","","compat_ref","","","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"],[141,"iroh_bench::iroh"],[148,"iroh_bench::quinn"],[155,"iroh_bench::s2n"],[187,"iroh_bench::stats"],[260,"dyn_clone::sealed"],[261,"clap_builder::builder::command"],[262,"anyhow"],[263,"async_compat"],[264,"core::fmt"],[265,"clap_builder::parser::matches::arg_matches"],[266,"clap_builder"],[267,"core::result"],[268,"clap_builder::util::id"],[269,"core::option"],[270,"tokio::runtime::runtime"],[271,"core::any"],[272,"iroh_base::node_addr"],[273,"iroh_base::relay_url"],[274,"iroh::endpoint"],[275,"iroh_quinn_proto::config::transport"],[276,"core::net::socket_addr"],[277,"rustls_pki_types"],[278,"iroh_quinn::endpoint"],[279,"iroh_quinn::connection"],[280,"core::time"]],"i":"````lnAf`21000A`00113210Ab43210`1212121432121432104321043210`0432104321014321021432102121211243210143210`1110`1```311214321043210432102121143210```````````````Ed000000000000000000000000000000```DdEfEh2102000210210210210102102102201021021021022121112`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{{}{{An{c}}}{}}0000{{{b{j}}}{{An{{b{jc}}}}}{}}0000{b{{An{{b{c}}}}}{}}0000{{}f}{{}Ab}{B`{{b{c}}}{}}0000{B`{{b{jc}}}{}}0000`{B`f}0000{{{b{Af}}{b{jBb}}}Bd}{{{b{A`}}{b{jBb}}}Bd}{cc{}}0000{{{b{Bf}}}{{Bj{AfBh}}}}{{{b{Bf}}}{{Bj{A`Bh}}}}{{{b{jBf}}}{{Bj{AfBh}}}}{{{b{jBf}}}{{Bj{A`Bh}}}}{{{b{c}}}c{}}0{{}{{Bn{Bl}}}}{{{b{C`}}}Cb}{{}B`}0000`{{}c{}}0000````{{{b{Ab}}B`}f}``{{}Cd}``{{{b{n}}}f}``{bc{}}0{c{{Bj{e}}}{}{}}0000{{}{{Bj{c}}}{}}0000{bCf}0000{{{b{jAf}}{b{Bf}}}{{Bj{fBh}}}}{{{b{jA`}}{b{Bf}}}{{Bj{fBh}}}}{{{b{jAf}}{b{jBf}}}{{Bj{fBh}}}}{{{b{jA`}}{b{jBf}}}{{Bj{fBh}}}}`{{}c{}}0000`{{Ch{Bn{Cj}}A`}{{Ad{Ab}}}}{{Ch{Bn{Cj}}A`}{{Ad{{D`{ClCn}}}}}}{{{b{Cn}}DbCb}{{Ad{{D`{DdDd}}}}}}{{ClA`}{{Ad{f}}}}{{{b{Cd}}{b{{Bn{Cj}}}}{b{A`}}}{{D`{ChCl}}}}{{B`Df}Dh}`{{DjDlA`}{{Ad{Ab}}}}{{DjDlA`}{{Ad{{D`{DnE`}}}}}}{{{b{E`}}DbCb}{{Ad{{D`{DdDd}}}}}}{{DnA`}{{Ad{f}}}}{{{b{Cd}}DlEb{b{A`}}}{{D`{DjDn}}}}5`{{bd}f}{hh}0{b{{b{c}}}{}}{{{b{j}}}{{b{jc}}}{}}{{{b{Ed}}}Ed}{{b{b{jc}}}f{}}{{bAh}f}{{}h}0{{}{{An{c}}}{}}{{{b{j}}}{{An{{b{jc}}}}}{}}{b{{An{{b{c}}}}}{}}{B`{{b{c}}}{}}{B`{{b{jc}}}{}}{B`f}{{{b{Ed}}{b{jBb}}}Bd}{cc{}}{{{b{Bf}}}{{Bj{EdBh}}}}{{{b{jBf}}}{{Bj{EdBh}}}}{{{b{c}}}c{}}{{}{{Bn{Bl}}}}{{}B`}{{}c{}}{bc{}}{c{{Bj{e}}}{}{}}{{}{{Bj{c}}}{}}{bCf}{{{b{jEd}}{b{Bf}}}{{Bj{fBh}}}}{{{b{jEd}}{b{jBf}}}{{Bj{fBh}}}}{{}c{}}````{b{{b{c}}}{}}00{{{b{j}}}{{b{jc}}}{}}00````{{}{{An{c}}}{}}00{{{b{j}}}{{An{{b{jc}}}}}{}}00{b{{An{{b{c}}}}}{}}00{{}Ef}{{}Eh}{B`{{b{c}}}{}}00{B`{{b{jc}}}{}}00{B`f}00``{{{b{Ef}}{b{jBb}}}Bd}{{{b{Eh}}{b{jBb}}}Bd}{{{b{Dd}}{b{jBb}}}Bd}{cc{}}00{{}B`}00{{}c{}}00{{EjDbEjDb}Dd}{{{b{Ef}}{b{C`}}}f}`{{{b{jEf}}Dd}f}```{{EjDb}El}```{c{{Bj{e}}}{}{}}00{{}{{Bj{c}}}{}}00``{bCf}00{{}c{}}00","D":"Dj","p":[[1,"reference",null,null,1],[5,"Private",260],[1,"unit"],[5,"Command",261],[0,"mut"],[6,"EndpointSelector",0],[6,"ConnectionSelector",0],[5,"Opt",0],[5,"ClientStats",0],[8,"Result",262],[6,"Commands",0],[1,"u8"],[1,"u32"],[1,"slice"],[5,"Compat",263],[1,"usize"],[5,"Formatter",264],[8,"Result",264],[5,"ArgMatches",265],[8,"Error",266],[6,"Result",267,null,1],[5,"Id",268],[6,"Option",269,null,1],[1,"str"],[1,"bool"],[5,"Runtime",270],[5,"TypeId",271],[5,"NodeAddr",272],[5,"RelayUrl",273],[5,"Endpoint",274],[5,"Connection",274],[1,"tuple",null,null,1],[1,"u64"],[5,"TransferResult",187],[1,"u16"],[5,"TransportConfig",275],[6,"SocketAddr",276],[5,"CertificateDer",277],[5,"Endpoint",278],[5,"Connection",279],[6,"PrivateKeyDer",277],[5,"Opt",155],[5,"Stats",187],[5,"StreamStats",187],[5,"Duration",280],[1,"f64"]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAN8AEQAAABwAHwAmAEcABgBTAAwAZgAAAGoAAQBtAAMAcwAUAIkABQCRAAAAlAABAJgAAACbABIArwAEALUALQDmAAIA7AAYAA==","P":[[18,"T"],[28,""],[32,"T"],[34,""],[42,"T"],[57,""],[59,"T"],[70,""],[77,"T"],[82,""],[86,"T"],[88,""],[96,"U"],[105,""],[114,"T"],[116,"U,T"],[121,"U"],[126,""],[136,"V"],[142,""],[159,"T"],[161,""],[162,"T"],[163,""],[166,"T"],[171,""],[173,"T"],[174,""],[176,"T"],[177,""],[179,"U"],[180,"T"],[181,"U,T"],[182,"U"],[183,""],[186,"V"],[191,"T"],[210,""],[212,"T"],[218,""],[226,"T"],[229,""],[232,"U"],[235,""],[246,"U,T"],[249,"U"],[254,""],[257,"V"]]}],["iroh_dns_server",{"t":"FNNNNNNNNNCCNNNNCNNNCNNNCCNNNNNNGFPPFFFNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNOONNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNOFFFFNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNOOOOONNNNNNNNNNNNNNNNNNNNNNNNGPFFFPPGPPPNNNNOONNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFNNNNNNNOOOOOONNNNOOOONNOOOOOONNNNFNNNNNNNNHNNNNNNFNNNNNNNNNONNNOONNNNN","n":["ZoneStore","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","compat","compat_mut","compat_ref","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","compat","","","","","compat_mut","","","","","compat_ref","","","","","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","","","compat","","","","compat_mut","","","","compat_ref","","","","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","","","","compat","","","","","compat_mut","","","","","compat_ref","","","","","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","as_iterable","borrow","borrow_mut","compat","compat_mut","compat_ref","default","dns_lookup_error","dns_lookup_notfound","dns_lookup_success","dns_requests","dns_requests_https","dns_requests_udp","field_count","field_ref","fmt","from","http_requests","http_requests_duration_ms","http_requests_error","http_requests_success","into","name","pkarr_publish_noop","pkarr_publish_update","store_packets_expired","store_packets_inserted","store_packets_removed","store_packets_updated","try_from","try_into","type_id","vzip","Server","borrow","borrow_mut","compat","compat_mut","compat_ref","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","compat","compat_mut","compat_ref","dns_handler","from","from_ref","into","metrics","store","to_owned","try_from","try_into","type_id","vzip"],"q":[[0,"iroh_dns_server"],[32,"iroh_dns_server::config"],[134,"iroh_dns_server::dns"],[221,"iroh_dns_server::http"],[344,"iroh_dns_server::metrics"],[378,"iroh_dns_server::server"],[394,"iroh_dns_server::state"],[415,"dyn_clone::sealed"],[416,"iroh_dns_server::store"],[417,"async_compat"],[418,"core::fmt"],[419,"pkarr::signed_packet"],[420,"core::option"],[421,"anyhow"],[422,"alloc::sync"],[423,"std::path"],[424,"core::convert"],[425,"hickory_proto::rr::domain::name"],[426,"hickory_proto::rr::record_type"],[427,"hickory_proto::rr::rr_set"],[428,"core::result"],[429,"core::any"],[430,"serde::de"],[431,"serde::ser"],[432,"hickory_server::server::request_handler"],[433,"bytes::bytes"],[434,"core::future::future"],[435,"alloc::boxed"],[436,"core::pin"],[437,"hickory_server::server::response_handler"],[438,"core::net::socket_addr"],[439,"hickory_server::authority::message_response"],[440,"hickory_proto::rr::resource"],[441,"core::iter::traits::iterator"],[442,"core::marker"],[443,"iroh_dns_server::http::rate_limiting"],[444,"iroh_dns_server::http::tls"],[445,"alloc::string"],[446,"iroh_metrics::iterable"],[447,"iroh_metrics::base"]],"i":"`j00000000``0000`000`000``000000``Bn0```C`CjCfCd3214032143330321403214032140031403214220103214032143000321400000321403032140321403214032140````DdCnDf12E`32103213213213210321032103213333210321321203210233333013003210321032103210321`En```F`0`01110FbFd10Fh432104321143214321432104321043210432144432113333433210432143210004321112104321004321304321043210432104321`Aj00000000000000000000000000000000`Gf0000000`000000`Fj0000000000000000000","f":"`{{bd}f}{b{{b{c}}}{}}{{{b{h}}}{{b{hc}}}{}}{{{b{j}}}j}{{b{b{hc}}}f{}}{{bl}f}{{}{{n{c}}}{}}{{{b{h}}}{{n{{b{hc}}}}}{}}{b{{n{{b{c}}}}}{}}``{{{b{j}}{b{hA`}}}Ab}{cc{}}{{{b{c}}}c{}}{{{b{j}}{b{`}}}{{Ah{{Af{Ad}}}}}}```{{}c{}}```{{{b{j}}{b{`}}{b{Bd}}Bf}{{Ah{{Af{{Al{Bh}}}}}}}}``{bc{}}{c{{Bj{e}}}{}{}}{{}{{Bj{c}}}{}}{bBl}{{}c{}}{{jBn}j}```````{{bd}f}``{b{{b{c}}}{}}0000{{{b{h}}}{{b{hc}}}{}}0000{{{b{C`}}}C`}{{b{b{hc}}}f{}}{{bl}f}{{}{{n{c}}}{}}0000{{{b{h}}}{{n{{b{hc}}}}}{}}0000{b{{n{{b{c}}}}}{}}0000{{}{{Ah{Cb}}}}{{}Cd}{{}C`}{{}Cf}{{}Bn}{c{{Bj{Cd}}}Ch}{c{{Bj{C`}}}Ch}{c{{Bj{Cj}}}Ch}{c{{Bj{Cf}}}Ch}{c{{Bj{Bn}}}Ch}{{}Cj}```{{{b{Cd}}{b{hA`}}}Ab}{{{b{C`}}{b{hA`}}}Ab}{{{b{Cj}}{b{hA`}}}Ab}{{{b{Cf}}{b{hA`}}}Ab}{{{b{Bn}}{b{hA`}}}Ab}{cc{}}0000{{{b{c}}}c{}}``{{}c{}}0000{c{{Ah{Cd}}}{{Bb{B`}}}}```{{{b{Cd}}c}BjCl}{{{b{C`}}c}BjCl}{{{b{Cj}}c}BjCl}{{{b{Cf}}c}BjCl}{{{b{Bn}}c}BjCl}{{}{{Ah{Cb}}}}{bc{}}{c{{Bj{e}}}{}{}}0000{{}{{Bj{c}}}{}}0000{bBl}0000{{}c{}}0000`````{{bd}f}00{{{b{Cn}}D`}{{Ah{Db}}}}`{b{{b{c}}}{}}000{{{b{h}}}{{b{hc}}}{}}000{{{b{Dd}}}Dd}{{{b{Cn}}}Cn}{{{b{Df}}}Df}{{b{b{hc}}}f{}}00{{bl}f}00{{}{{n{c}}}{}}000{{{b{h}}}{{n{{b{hc}}}}}{}}000{b{{n{{b{c}}}}}{}}000``{c{{Bj{Dd}}}Ch}{{{b{Dd}}{b{hA`}}}Ab}{{{b{Cn}}{b{hA`}}}Ab}{{{b{Df}}{b{hA`}}}Ab}{cc{}}000{{{b{c}}}c{}}00{{{b{Cn}}{b{D`}}c}{{Dl{{Dj{Dh}}}}}Dn}{{}c{}}000{{{b{E`}}}Eb}{{j{b{Dd}}{Al{Aj}}}{{Ah{Cn}}}}`````{E`{{Ah{f}}}}{{{b{hDf}}{Ed{cegi}}}{{Dl{{Dj{Dh}}}}}{{Ej{}{{Ef{{b{Eh}}}}}}El}{{Ej{}{{Ef{{b{Eh}}}}}}El}{{Ej{}{{Ef{{b{Eh}}}}}}El}{{Ej{}{{Ef{{b{Eh}}}}}}El}}{{{b{Dd}}c}BjCl}2{{DdCn}{{Ah{E`}}}}{bc{}}00{c{{Bj{e}}}{}{}}000{{}{{Bj{c}}}{}}000{bBl}000{{}c{}}000```````````{{bd}f}000``{b{{b{c}}}{}}0000{{{b{h}}}{{b{hc}}}{}}0000`{{{b{En}}}En}{{{b{F`}}}F`}{{{b{Fb}}}Fb}{{{b{Fd}}}Fd}{{b{b{hc}}}f{}}000{{bl}f}000{{}{{n{c}}}{}}0000{{{b{h}}}{{n{{b{hc}}}}}{}}0000{b{{n{{b{c}}}}}{}}0000{{}En}{{}{{b{En}}}}{c{{Bj{En}}}Ch}{c{{Bj{F`}}}Ch}{c{{Bj{Fb}}}Ch}{c{{Bj{Fd}}}Ch}`{{{b{F`}}{b{F`}}}An}{{b{b{c}}}An{}}00{{{b{En}}{b{hA`}}}Ab}{{{b{F`}}{b{hA`}}}{{Bj{fFf}}}}{{{b{F`}}{b{hA`}}}Ab}{{{b{Fb}}{b{hA`}}}Ab}{{{b{Fd}}{b{hA`}}}Ab}{cc{}}0000{{{b{c}}}c{}}000{{{b{Fh}}}{{Af{Eb}}}}0{{}c{}}0000````{Fh{{Ah{f}}}}{{{b{En}}c}BjCl}{{{b{F`}}c}BjCl}{{{b{Fb}}c}BjCl}{{{b{Fd}}c}BjCl}4{{{Af{Fb}}{Af{Fd}}EnFj}{{Ah{Fh}}}}{bc{}}000{bFl}{c{{Bj{e}}}{}{}}0000{{}{{Bj{c}}}{}}0000{bBl}0000{{}c{}}0000`{b{{b{Fn}}}}{b{{b{c}}}{}}{{{b{h}}}{{b{hc}}}{}}{{}{{n{c}}}{}}{{{b{h}}}{{n{{b{hc}}}}}{}}{b{{n{{b{c}}}}}{}}{{}Aj}``````{{{b{Aj}}}G`}{{{b{Aj}}G`}{{Af{Gb}}}}{{{b{Aj}}{b{hA`}}}Ab}{cc{}}````{{}c{}}{{{b{Aj}}}{{b{Gd}}}}``````{c{{Bj{e}}}{}{}}{{}{{Bj{c}}}{}}{bBl}{{}c{}}`?>=<;65{Gf{{Ah{f}}}}{Cd{{Ah{f}}}}1{{Cdj{Al{Aj}}}{{Ah{Gf}}}}6543`{{bd}f}{b{{b{c}}}{}}{{{b{h}}}{{b{hc}}}{}}{{{b{Fj}}}Fj}{{b{b{hc}}}f{}}{{bl}f}{{}{{n{c}}}{}}{{{b{h}}}{{n{{b{hc}}}}}{}}{b{{n{{b{c}}}}}{}}`{cc{}}{{{b{c}}}c{}}{{}c{}}``{bc{}}{c{{Bj{e}}}{}{}}{{}{{Bj{c}}}{}}{bBl}{{}c{}}","D":"AAj","p":[[1,"reference",null,null,1],[5,"Private",415],[1,"unit"],[0,"mut"],[5,"ZoneStore",0,416],[1,"u8"],[5,"Compat",417],[5,"Formatter",418],[8,"Result",418],[5,"SignedPacket",419],[6,"Option",420,null,1],[8,"Result",421],[5,"Metrics",344],[5,"Arc",422,null,1],[1,"bool"],[5,"Path",423],[10,"AsRef",424],[5,"Name",425],[6,"RecordType",426],[5,"RecordSet",427],[6,"Result",428,null,1],[5,"TypeId",429],[6,"BootstrapOption",32],[5,"StoreConfig",32],[5,"PathBuf",423],[5,"Config",32],[5,"MainlineConfig",32],[10,"Deserializer",430],[5,"MetricsConfig",32],[10,"Serializer",431],[5,"DnsHandler",134],[5,"Request",432],[5,"Bytes",433],[5,"DnsConfig",134],[5,"Handle",134],[10,"Future",434,null,1],[5,"Box",435,null,1],[5,"Pin",436],[10,"ResponseHandler",437],[5,"DnsServer",134],[6,"SocketAddr",438],[5,"MessageResponse",439],[17,"Item"],[5,"Record",440],[10,"Iterator",441],[10,"Send",442],[6,"RateLimitConfig",221,443],[6,"CertMode",221,444],[5,"HttpConfig",221],[5,"HttpsConfig",221],[5,"Error",418],[5,"HttpServer",221],[5,"AppState",394],[5,"String",445],[10,"Iterable",446],[1,"usize"],[5,"MetricItem",447],[1,"str"],[5,"Server",378]],"r":[[0,416],[221,444],[228,443]],"b":[[276,"impl-Default-for-RateLimitConfig"],[277,"impl-Default-for-%26RateLimitConfig"],[288,"impl-Display-for-CertMode"],[289,"impl-Debug-for-CertMode"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAABIBIQACAAgADQAAAA8AAAAbAAQAKAAAACsAGwBIAAgAVQAEAF8AAABrAAQAcQAUAIsAAgCQABwArwADALcAAwDHAAEAywASAOkAAwDvAAkA+gAgABwBCAAqAQMAOgEDAEABGABaAQYAZwECAHABAAB3AQMAfAEEAIcBAwCMAQgAlwEAAJsBBAA=","P":[[2,"T"],[4,""],[5,"T"],[6,""],[7,"T"],[12,""],[13,"T"],[15,""],[19,"U"],[21,""],[22,""],[23,""],[26,"T"],[27,"U,T"],[28,"U"],[29,""],[30,"V"],[31,""],[42,"T"],[52,""],[53,"T"],[54,""],[55,"T"],[70,""],[75,"__D"],[80,""],[89,"T"],[97,"U"],[102,""],[106,"__S"],[111,""],[112,"T"],[113,"U,T"],[118,"U"],[123,""],[128,"V"],[138,""],[143,"T"],[151,""],[154,"T"],[157,""],[160,"T"],[174,"__D"],[175,""],[178,"T"],[185,"R"],[186,"U"],[190,""],[198,",,,"],[199,"__S"],[200,""],[202,"T"],[205,"U,T"],[209,"U"],[213,""],[217,"V"],[232,""],[238,"T"],[249,""],[253,"T"],[257,""],[261,"T"],[276,""],[278,"__D"],[283,""],[284,"K"],[287,""],[292,"T"],[301,""],[303,"U"],[312,""],[313,"__S"],[317,""],[319,"T"],[323,""],[324,"U,T"],[329,"U"],[334,""],[339,"V"],[345,""],[346,"T"],[351,""],[361,"T"],[366,"U"],[367,""],[374,"U,T"],[375,"U"],[376,""],[377,"V"],[379,"T"],[385,"U"],[386,""],[390,"U,T"],[391,"U"],[392,""],[393,"V"],[395,""],[396,"T"],[398,""],[399,"T"],[400,""],[401,"T"],[407,"U"],[410,"T"],[411,"U,T"],[412,"U"],[413,""],[414,"V"]]}],["iroh_relay",{"t":"EFFFFNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNCNNNNOCCONNCOONNNNNNNNNNNNNNNNNNONNNNNFFFFGPPPPPPPPPGPGPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOSSSSSSFSSFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNGSSPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNSTFFKFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNONNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNNNNNCCCSHSPGPPPPPPPPGFPPPPPPPPPPPGFPFPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNNNNNNNNNCHHNHHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNSSSSSSFNNNNNNNNNNNNNNNNNNGGPGFSPPPFPFFFFPFPFFFFFNNNOOOONNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNONNNONNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONOOONONNNOOOONOOONONOOOOOOONNNOONNCONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNOOOHHHHHH","n":["MAX_PACKET_SIZE","PingTracker","RelayMap","RelayNode","RelayQuicConfig","__clone_box","","","borrow","","","","borrow_mut","","","","client","clone","","","clone_into","","","clone_to_uninit","","","cmp","","compare","","compat","","","","compat_mut","","","","compat_ref","","","","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","node_info","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","as_error_source","borrow","","","","","","","borrow_mut","","","","","","","clone","","clone_into","","clone_to_uninit","","compat","","","","","","","compat_mut","","","","","","","compat_ref","","","","","","","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","","","compat","","","compat_mut","","","compat_ref","","","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","resolve_host","to_owned","","","to_string","try_from","","","try_into","","","txt_data","type_id","","","vzip","","","with_nameserver","Protocol","RELAY_PATH","RELAY_PROBE_PATH","Relay","Websocket","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","compat","compat_mut","compat_ref","default","deref","deref_mut","drop","eq","equivalent","","","fmt","from","init","into","parse_header","to_owned","try_from","try_into","type_id","upgrade_header","vzip","IROH_TXT_NAME","MAX_LENGTH","MaxLengthExceededError","NodeData","NodeIdExt","NodeInfo","UserData","__clone_box","","","add_direct_addresses","as_error_source","as_ref","borrow","","","","borrow_mut","","","","clear_direct_addresses","clone","","","clone_into","","","clone_to_uninit","","","cmp","compare","compat","","","","compat_mut","","","","compat_ref","","","","data","default","deref","","","","","deref_mut","","","","","direct_addresses","drop","","","","eq","","","equivalent","","","","","","","","","fmt","","","","","","from","","","","","","from_parts","from_pkarr_signed_packet","from_str","from_txt_lookup","from_z32","hash","init","","","","into","","","","into_node_addr","new","","node_id","partial_cmp","relay_url","set_relay_url","set_user_data","to_node_addr","to_owned","","","to_pkarr_signed_packet","to_string","","to_txt_strings","to_z32","try_from","","","","","try_into","","","","type_id","","","","user_data","vzip","","","","with_direct_addresses","","with_relay_url","","with_user_data","","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_error_source","","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","compat","","","","","","compat_mut","","","","","","compat_ref","","","","","","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","compat","compat_mut","compat_ref","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","RelayMetrics","Reloading","ReloadingResolver","Restricted","Server","ServerConfig","StunConfig","StunMetrics","TlsConfig","__clone_box","","","accept_conn_burst","accept_conn_limit","accepts","access","as_iterable","","bad_requests","bind_addr","","borrow","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","bytes_per_second","bytes_recv","bytes_sent","cert","certificates","client_rx","clone","","","clone_into","","","clone_to_uninit","","","compat","","","","","","","","","","","","","","","compat_mut","","","","","","","","","","","","","","","compat_ref","","","","","","","","","","","","","","","conns_rx_ratelimited_total","default","","","","","deref","","","","","","","","","","","","","","","","deref_mut","","","","","","","","","","","","","","","disco_packets_dropped","disco_packets_recv","disco_packets_sent","disconnects","drop","","","","","","","","","","","","","","","eq","equivalent","","","failures","field_count","","field_ref","","fmt","","","","","","","","","","","","","","","frames_rx_ratelimited_total","from","","","","","","","","","","","","","","","got_ping","groups","groups_cloned","http_addr","http_bind_addr","http_url","https_addr","https_bind_addr","https_url","init","","","","","","","","","","","","","","","","into","","","","","","","","","","","","","","","ipv4_success","ipv6_success","is_allowed","key_cache_capacity","limits","max_burst_bytes","metrics","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","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"],[140,"iroh_relay::client"],[318,"iroh_relay::client::ReceivedMessage"],[323,"iroh_relay::defaults"],[329,"iroh_relay::dns"],[419,"iroh_relay::http"],[452,"iroh_relay::node_info"],[593,"iroh_relay::protos"],[596,"iroh_relay::protos::disco"],[598,"iroh_relay::protos::relay"],[599,"iroh_relay::protos::stun"],[848,"iroh_relay::protos::stun::methods"],[851,"iroh_relay::quic"],[873,"iroh_relay::server"],[1238,"iroh_relay::server::CertConfig"],[1240,"iroh_relay::server::testing"],[1246,"dyn_clone::sealed"],[1247,"iroh_relay::relay_map"],[1248,"core::cmp"],[1249,"async_compat"],[1250,"iroh_base::relay_url"],[1251,"iroh_relay::ping_tracker"],[1252,"core::time"],[1253,"core::result"],[1254,"serde::de"],[1255,"core::fmt"],[1256,"anyhow"],[1257,"alloc::sync"],[1258,"core::convert"],[1259,"core::iter::traits::collect"],[1260,"core::option"],[1261,"core::iter::traits::iterator"],[1262,"serde::ser"],[1263,"alloc::string"],[1264,"core::any"],[1265,"core::ops::function"],[1266,"core::marker"],[1267,"core::error"],[1268,"iroh_relay::client::conn"],[1269,"std::io::error"],[1270,"tokio_websockets::error"],[1271,"core::net::socket_addr"],[1272,"rustls::client::client_conn"],[1273,"iroh_base::key"],[1274,"core::pin"],[1275,"core::task::wake"],[1276,"core::task::poll"],[1277,"url"],[1278,"governor::state::direct"],[1279,"governor::state"],[1280,"governor::state::direct::sinks"],[1281,"governor::clock::with_std"],[1282,"governor::gcra"],[1283,"governor::middleware"],[1284,"governor::jitter"],[1285,"governor::state::direct::streams"],[1286,"hickory_resolver::resolver"],[1287,"hickory_resolver::lookup"],[1288,"core::net::ip_addr"],[1289,"alloc::boxed"],[1290,"http::header::value"],[1291,"alloc::collections::btree::set"],[1292,"iroh_base::node_addr"],[1293,"pkarr::signed_packet"],[1294,"core::hash"],[1295,"alloc::vec"],[1296,"stun_rs::attributes"],[1297,"stun_rs::attributes::stun::alternate_server"],[1298,"stun_rs::error"],[1299,"stun_rs::types"],[1300,"stun_rs::attributes::stun::error_code"],[1301,"stun_rs::attributes::stun::fingerprint"],[1302,"stun_rs::attributes::stun::mapped_address"],[1303,"stun_rs::attributes::stun::message_integrity"],[1304,"stun_rs::attributes::stun::message_integrity_sha256"],[1305,"stun_rs::attributes::stun::nonce"],[1306,"stun_rs::attributes::stun::password_algorithm"],[1307,"stun_rs::attributes::stun::password_algorithms"],[1308,"stun_rs::attributes::stun::realm"],[1309,"stun_rs::attributes::stun::software"],[1310,"stun_rs::attributes::unknown"],[1311,"stun_rs::attributes::stun::unknown_attributes"],[1312,"stun_rs::attributes::stun::user_hash"],[1313,"stun_rs::attributes::stun::user_name"],[1314,"stun_rs::attributes::stun::xor_mapped_address"],[1315,"stun_rs::context"],[1316,"stun_rs::message"],[1317,"iroh_quinn::endpoint"],[1318,"iroh_metrics::iterable"],[1319,"rustls_pki_types"],[1320,"iroh_relay::server::metrics"],[1321,"core::default"],[1322,"iroh_relay::server::resolver"],[1323,"iroh_metrics::base"],[1324,"rustls::crypto::signer"],[1325,"reloadable_core"],[1326,"rustls::server::server_conn"],[1327,"tokio_util::task::abort_on_drop"],[1328,"stun_rs"],[1329,"stun_rs::methods"]],"i":"`````jlnAj3210321`321321321212103210321032130130`0321032121`032133213332221110332210321333`032103213300`32101``221`22032132032103210321230321`````DlE`111Eb201`2`022D`022310DnEdEf5643210636363564321056432105643210356432105643210564321055643210555643210564321035643210330`32121202133212120205221635564321056432102056432105643210ABbABdABf20```````````FbHdHf2102102210210210210210210221021021021002211021021012222222222222210021021002102102```Fj00000000000000000000000000000`J``````In1If1Jd323012301223123123133230123012301122301123011223012312223331112330012230111131K`43412341223224333234224120344123412341233412323232``````Kb`0Ml10Nd002``22020022212``1`22222Mj2Kh44042N`555555551555555524153024153024152415241511241530241530241530221241153024153024153041444111555555555555555524115330024111555555555555555553021241530241530`5555555555555555```1``24151302441530241530241530241530```````Nh00000000000000000``Od```0A@jAAb`0````0`1`````Ob3OfA@b0OhA@h1Oj0A@lA@n427A@dOl5;<32AA`89;Nn86;327=>5419:<0:88109;>:;>:;>:86;327=>5419:<086;327=>5419:<086;327=>5419:<0886;2986;3327=>5419:<086;327=>5419:<0888886;327=>5419:<0>>>>6868686;327=>5419:<0886;327=>5419:<08;;07001086;3327=>5419:<086;327=>5419:<066=77:0286;888201283638888;41300;200`7;>:86;327=>5419:<086;327=>5419:<086;327=>5419:<08886;327=>5419:<08ABhABj``````","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{{}{{Ad{c}}}{}}000{{{b{h}}}{{Ad{{b{hc}}}}}{}}000{b{{Ad{{b{c}}}}}{}}000{{{b{j}}{b{Af}}}Ah}{{}Aj}{{}n}{{AfAl}j}{{{b{Aj}}}An}`{B`{{b{c}}}{}}000{B`{{b{hc}}}{}}000{c{{Bb{l}}}Bd}{c{{Bb{n}}}Bd}`{B`f}000{{}j}{{{b{j}}{b{j}}}Ah}{{{b{l}}{b{l}}}Ah}{{{b{n}}{b{n}}}Ah}{{b{b{c}}}Ah{}}00000000{{{b{Aj}}{b{hBf}}}Bh}{{{b{j}}{b{hBf}}}Bh}0{{{b{l}}{b{hBf}}}Bh}0{{{b{n}}{b{hBf}}}Bh}{cc{}}000{e{{Bj{j}}}{{Bn{{Bl{l}}}}}{{Cb{}{{C`{c}}}}}}{Afj}{{{b{j}}{b{Af}}}{{Cd{{b{{Bl{l}}}}}}}}`{{}B`}000{{}c{}}000{{{b{j}}}Ah}{{{b{j}}}B`}{AnAj}{{{b{hAj}}}{{Cf{A`}}}}`{{{b{j}}}{{`{{Ch{}{{C`{{b{{Bl{l}}}}}}}}}}}}{{{b{l}}{b{l}}}{{Cd{Ab}}}}{{{b{n}}{b{n}}}{{Cd{Ab}}}}{{{b{hAj}}{Cf{A`}}}f}````{{{b{l}}c}BbCj}{{{b{n}}c}BbCj}```{{{b{hAj}}}f}{bc{}}00{bCl}0{c{{Bb{e}}}{}{}}000{{}{{Bb{c}}}{}}000{bCn}000`{{{b{j}}}{{`{{Ch{}{{C`{{b{Af}}}}}}}}}}{{}c{}}000```````````````````{{bd}f}0{{D`c}D`{{Dd{}{{Db{Ah}}}}DfDh}}{b{{b{Dj}}}}{b{{b{c}}}{}}000000{{{b{h}}}{{b{hc}}}{}}000000{{{b{Dl}}}Dl}{{{b{D`}}}D`}{{b{b{hc}}}f{}}0{{bA`}f}0{{}{{Ad{c}}}{}}000000{{{b{h}}}{{Ad{{b{hc}}}}}{}}000000{b{{Ad{{b{c}}}}}{}}000000{{{b{D`}}}{{Bj{Dn}}}}{B`{{b{c}}}{}}000000{B`{{b{hc}}}{}}000000{B`f}000000{{{b{E`}}{b{hBf}}}Bh}0{{{b{Dl}}{b{hBf}}}Bh}{{{b{Eb}}{b{hBf}}}Bh}{{{b{D`}}{b{hBf}}}Bh}{{{b{Dn}}{b{hBf}}}Bh}{{{b{Ed}}{b{hBf}}}Bh}{{{b{Ef}}{b{hBf}}}Bh}{EhE`}{EjE`}{cc{}}000000{{}B`}000000{{D`Ah}D`}{{}c{}}0000001{{D`B`}D`}{{{b{Ef}}}{{Cd{El}}}}{{}En}{{cF`Fb}D`{{Bn{Af}}}}{{{Fd{{b{hDn}}}}{b{hFf}}}{{Fh{{Bj{fc}}}}}{}}{{{Fd{{b{hEd}}}}{b{hFf}}}{{Fh{{Bj{fc}}}}}{}}10{{{Fd{{b{hDn}}}}{b{hFf}}}{{Fh{{Cd{c}}}}}{}}{{{Fd{{b{hEf}}}}{b{hFf}}}{{Fh{{Cd{c}}}}}{}}32{{D`Fj}D`}{{D`Fl}D`}{{{b{{G`{Fnceg}}}}}{{Gb{ikceg}}}GdGf{{Gl{}{{Gh{Gj}}}}}{}{}}0{{{b{{G`{Fnceg}}}}Gn}{{Gb{ikceg}}}GdGf{{Gl{}{{Gh{Gj}}}}}{}{}}0{{{b{{G`{Fnceg}}}}}{{H`{iceg}}}GdGfGl{}}0{{{b{{G`{Fnceg}}}}Gn}{{H`{iceg}}}GdGfGl{}}0{{{b{E`}}}{{Cd{{b{Dj}}}}}}{Dn{{Hb{EfEd}}}}{{{Fd{{b{hDn}}}}Eb}{{Bj{fc}}}{}}{{{Fd{{b{hEd}}}}Eb}{{Bj{fc}}}{}}{bc{}}0{bCl}{c{{Bb{e}}}{}{}}000000{{}{{Bb{c}}}{}}000000{{{Fd{{b{hc}}}}{b{hFf}}}{{Fh{{Cd{Bb}}}}}{}}0{bCn}000000{{}c{}}000000````````````````{{bd}f}00{b{{b{c}}}{}}00{{{b{h}}}{{b{hc}}}{}}00{{{b{Fb}}}f}{{{b{Fb}}}Fb}{{{b{Hd}}}Hd}{{{b{Hf}}}Hf}{{b{b{hc}}}f{}}00{{bA`}f}00{{}{{Ad{c}}}{}}00{{{b{h}}}{{Ad{{b{hc}}}}}{}}00{b{{Ad{{b{c}}}}}{}}00{{}Fb}{B`{{b{c}}}{}}00{B`{{b{hc}}}{}}00{B`f}00{{{b{Fb}}{b{hBf}}}Bh}{{{b{Hd}}{b{hBf}}}Bh}{{{b{Hf}}{b{hBf}}}Bh}0{cc{}}{HhFb}{HjHd}22{{}B`}00{{}c{}}00{Hdc{}}{{{b{Fb}}cAn}{{Bj{{`{{Ch{}{{C`{Hl}}}}}}}}}Hn}0{{{b{Fb}}cAn{b{{Ib{I`}}}}}{{Bj{{`{{Ch{}{{C`{Hl}}}}}}}}}Hn}010{{{b{Fb}}{b{Id}}}{{Bj{If}}}}{{{b{Fb}}{b{Id}}{b{{Ib{I`}}}}}{{Bj{If}}}}{{{b{Fb}}{b{Ih}}{b{Id}}}{{Bj{If}}}}{{{b{Fb}}{b{Ih}}{b{Id}}{b{{Ib{I`}}}}}{{Bj{If}}}}{{{b{Fb}}cAn}{{Bj{Hd}}}Hn}{{}Fb}{{{b{Fb}}{b{Fl}}AhAn}{{Bj{Hl}}}}{bc{}}00{bCl}{c{{Bb{e}}}{}{}}00{{}{{Bb{c}}}{}}00{{{b{Hf}}}{{b{{Ib{{Ij{{Ib{A`}}}}}}}}}}{bCn}00{{}c{}}00{ElFb}`````{{bd}f}{b{{b{c}}}{}}{{{b{h}}}{{b{hc}}}{}}{{{b{Fj}}}Fj}{{b{b{hc}}}f{}}{{bA`}f}{{}{{Ad{c}}}{}}{{{b{h}}}{{Ad{{b{hc}}}}}{}}{b{{Ad{{b{c}}}}}{}}{{}Fj}{B`{{b{c}}}{}}{B`{{b{hc}}}{}}{B`f}{{{b{Fj}}{b{Fj}}}Ah}{{b{b{c}}}Ah{}}00{{{b{Fj}}{b{hBf}}}Bh}{cc{}}{{}B`}{{}c{}}{{{b{Il}}}{{Cd{Fj}}}}{bc{}}{c{{Bb{e}}}{}{}}{{}{{Bb{c}}}{}}{bCn}{{{b{Fj}}}{{b{Id}}}}{{}c{}}```````{{bd}f}00{{{b{hIn}}c}f{{Cb{}{{C`{El}}}}}}{b{{b{Dj}}}}{{{b{J`}}}{{b{Id}}}}{b{{b{c}}}{}}000{{{b{h}}}{{b{hc}}}{}}000{{{b{hIn}}}f}{{{b{In}}}In}{{{b{J`}}}J`}{{{b{If}}}If}{{b{b{hc}}}f{}}00{{bA`}f}00{{{b{J`}}{b{J`}}}Ab}{{b{b{c}}}Ab{}}{{}{{Ad{c}}}{}}000{{{b{h}}}{{Ad{{b{hc}}}}}{}}000{b{{Ad{{b{c}}}}}{}}000`{{}In}{B`{{b{c}}}{}}00{{{b{If}}}{{b{c}}}{}}1{B`{{b{hc}}}{}}000{{{b{hIf}}}{{b{hc}}}{}}{{{b{In}}}{{b{{Jb{El}}}}}}{B`f}000{{{b{In}}{b{In}}}Ah}{{{b{J`}}{b{J`}}}Ah}{{{b{If}}{b{If}}}Ah}{{b{b{c}}}Ah{}}00000000{{{b{In}}{b{hBf}}}Bh}{{{b{J`}}{b{hBf}}}Bh}0{{{b{Jd}}{b{hBf}}}Bh}0{{{b{If}}{b{hBf}}}Bh}{cc{}}{JfIn}111{JfIf}{{IhIn}If}{{{b{Jh}}}{{Bj{If}}}}{{{b{Id}}}{{Bb{J`c}}}{}}{Hd{{Bj{If}}}}{{{b{Id}}}{{Bj{Ih}}}}{{{b{J`}}{b{hc}}}fJj}{{}B`}000{{}c{}}000{IfJf}{{{Cd{Af}}{Jb{El}}}In}{IhIf}`{{{b{J`}}{b{J`}}}{{Cd{Ab}}}}{{{b{In}}}{{Cd{{b{Af}}}}}}{{{b{hIn}}{Cd{Af}}}f}{{{b{hIn}}{Cd{J`}}}f}{{{b{If}}}Jf}{bc{}}00{{{b{If}}{b{F`}}Jl}{{Bj{Jh}}}}{bCl}0{{{b{If}}}{{Jn{Cl}}}}{{{b{K`}}}Cl}{c{{Bb{e}}}{}{}}0{Cl{{Bj{J`c}}}{}}11{{}{{Bb{c}}}{}}000{bCn}000{{{b{In}}}{{Cd{{b{J`}}}}}}{{}c{}}000{{In{Jb{El}}}In}{{If{Jb{El}}}If}{{In{Cd{Af}}}In}{{If{Cd{Af}}}If}{{In{Cd{J`}}}In}{{If{Cd{J`}}}If}````{{{b{{Ib{A`}}}}}Ah}`````````````````````````````````{{bd}f}000{{{b{Kb}}}{{Bb{{b{Kd}}Kf}}}}{{{b{Kh}}}{{b{{Cf{A`}}}}}}{{{b{Kb}}}{{Bb{{b{Kj}}Kf}}}}{b{{b{Dj}}}}0{{{b{Kb}}}{{Bb{{b{Kl}}Kf}}}}{{{b{Kb}}}{{Bb{{b{Kn}}Kf}}}}{{{b{Kb}}}{{Bb{{b{L`}}Kf}}}}{{{b{Kb}}}{{Bb{{b{Lb}}Kf}}}}{{{b{Kb}}}{{Bb{{b{Ld}}Kf}}}}{{{b{Kb}}}{{Bb{{b{Lf}}Kf}}}}{{{b{Kb}}}{{Bb{{b{Lh}}Kf}}}}{{{b{Kb}}}{{Bb{{b{Lj}}Kf}}}}{{{b{Kh}}}{{b{{Ib{A`}}}}}}{{{b{Kb}}}{{Bb{{b{Ll}}Kf}}}}{{{b{Kb}}}{{Bb{{b{Ln}}Kf}}}}{{{b{Kb}}}{{Bb{{b{M`}}Kf}}}}{{{b{Kb}}}{{Bb{{b{Mb}}Kf}}}}{{{b{Kb}}}{{Bb{{b{Md}}Kf}}}}{{{b{Kb}}}{{Bb{{b{Mf}}Kf}}}}{{{b{Kb}}}Mh}{b{{b{c}}}{}}00000{{{b{h}}}{{b{hc}}}{}}00000{{{b{Mj}}}Mj}{{{b{Ml}}}Ml}{{{b{Kh}}}Kh}{{{b{Kb}}}Kb}{{b{b{hc}}}f{}}000{{bA`}f}000{{{b{Kh}}{b{Kh}}}Ab}{{b{b{c}}}Ab{}}{{}{{Ad{c}}}{}}00000{{{b{h}}}{{Ad{{b{hc}}}}}{}}00000{b{{Ad{{b{c}}}}}{}}00000{{{b{Mj}}{b{{Ib{A`}}}}}{{Bb{{Hb{MnB`}}N`}}}}{{}Mj}{{}Kh}{B`{{b{c}}}{}}0{{{b{Kh}}}{{b{{Ib{A`}}}}}}1111{B`{{b{hc}}}{}}00000{B`f}00000{{{b{Ml}}{b{Ml}}}Ah}{{{b{Kh}}{b{Kh}}}Ah}{{b{b{c}}}Ah{}}00000{{{b{Kb}}}{{b{Kd}}}}{{{b{Kb}}}{{b{Kj}}}}{{{b{Kb}}}{{b{Kl}}}}{{{b{Kb}}}{{b{Kn}}}}{{{b{Kb}}}{{b{L`}}}}{{{b{Kb}}}{{b{Lb}}}}{{{b{Kb}}}{{b{Ld}}}}{{{b{Kb}}}{{b{Lf}}}}{{{b{Kb}}}{{b{Lh}}}}{{{b{Kb}}}{{b{Lj}}}}{{{b{Kb}}}{{b{Ll}}}}{{{b{Kb}}}{{b{Ln}}}}{{{b{Kb}}}{{b{M`}}}}{{{b{Kb}}}{{b{Mb}}}}{{{b{Kb}}}{{b{Md}}}}{{{b{Kb}}}{{b{Mf}}}}{{{b{Mj}}{b{hBf}}}{{Bb{fNb}}}}{{{b{Ml}}{b{hBf}}}{{Bb{fNb}}}}{{{b{Kh}}{b{hBf}}}{{Bb{fNb}}}}0{{{b{Kb}}{b{hBf}}}{{Bb{fNb}}}}{{{b{Nd}}{b{hBf}}}Bh}0{{{b{N`}}{b{hBf}}}{{Bb{fNb}}}}0{cc{}}0{{{b{{Cf{A`}}}}}Kh}1{{{Cf{A`}}}Kh}2{LnKb}{MfKb}{LbKb}{L`Kb}{MdKb}{LfKb}{KnKb}{LjKb}{LdKb}{LhKb}{KjKb}{KdKb}{LlKb}{M`Kb}{MbKb}{KlKb}{cc{}}0{{{b{Mj}}}{{Cd{{b{Nf}}}}}}{{{b{Kh}}{b{hc}}}fJj}{{}B`}00000{{}c{}}00000{{{b{{Ib{A`}}}}}Ah}{{{b{Kb}}}Ah}000000000000000`{{{b{{Ib{A`}}}}}{{Bb{KhNd}}}}{{{b{{Ib{A`}}}}}{{Bb{{Hb{KhEl}}Nd}}}}{{{b{Kh}}{b{Kh}}}{{Cd{Ab}}}}{Kh{{Jn{A`}}}}{{KhEl}{{Jn{A`}}}}{bc{}}000{bCl}00{c{{Bb{e}}}{}{}}0{A`{{Bb{Ml}}}}1111{{}{{Bb{c}}}{}}00000{bCn}00000{{}c{}}00000```````{b{{b{c}}}{}}{{{b{h}}}{{b{hc}}}{}}{{}{{Ad{c}}}{}}{{{b{h}}}{{Ad{{b{hc}}}}}{}}{b{{Ad{{b{c}}}}}{}}{B`{{b{c}}}{}}{B`{{b{hc}}}{}}{B`f}{{{b{Nh}}{b{hBf}}}Bh}{cc{}}{{{b{Nh}}El{b{Id}}}{{Bj{{Hb{ElAn}}}}}}{{}B`}{{}c{}}{{NjEn}{{Bj{Nh}}}}{c{{Bb{e}}}{}{}}{{}{{Bb{c}}}{}}{bCn}{{}c{}}```````````````````````{{bd}f}00````{b{{b{Nl}}}}0```{b{{b{c}}}{}}00000000000000{{{b{h}}}{{b{hc}}}{}}00000000000000````{{{b{Nn}}}{{Cd{{Jn{O`}}}}}}`{{{b{Ob}}}Ob}{{{b{Od}}}Od}{{{b{Of}}}Of}{{b{b{hc}}}f{}}00{{bA`}f}00{{}{{Ad{c}}}{}}00000000000000{{{b{h}}}{{Ad{{b{hc}}}}}{}}00000000000000{b{{Ad{{b{c}}}}}{}}00000000000000`{{}Oh}{{}Oj}{{}Ob}{{}{{Ol{ce}}}{OnA@`}{OnA@`}}{{}A@b}{B`{{b{c}}}{}}000{{{b{{A@d{c}}}}}{{b{e}}}Df{}}11111111111{B`{{b{hc}}}{}}00000000000000````{B`f}00000000000000{{{b{Od}}{b{Od}}}Ah}{{b{b{c}}}Ah{}}00`{{{b{Oh}}}B`}{{{b{Oj}}}B`}{{{b{Oh}}B`}{{Cd{A@f}}}}{{{b{Oj}}B`}{{Cd{A@f}}}}{{{b{Oh}}{b{hBf}}}Bh}{{{b{Oj}}{b{hBf}}}Bh}{{{b{Ob}}{b{hBf}}}Bh}{{{b{{A@d{c}}}}{b{hBf}}}Bh{A@`Df}}{{{b{{Ol{ce}}}}{b{hBf}}}BhA@`A@`}{{{b{{A@h{ce}}}}{b{hBf}}}BhA@`A@`}{{{b{A@j}}{b{hBf}}}Bh}{{{b{Od}}{b{hBf}}}Bh}{{{b{A@l}}{b{hBf}}}Bh}{{{b{A@n}}{b{hBf}}}Bh}{{{b{{AA`{ce}}}}{b{hBf}}}BhA@`A@`}{{{b{A@b}}{b{hBf}}}Bh}{{{b{Of}}{b{hBf}}}Bh}{{{b{{AAb{ce}}}}{b{hBf}}}BhA@`A@`}{{{b{Nn}}{b{hBf}}}Bh}`{cc{}}00000000000000`{{{b{Ob}}}{{`{{Ch{}{{C`{{b{AAd}}}}}}}}}}{{{b{Ob}}}{{`{{Ch{}{{C`{{Bl{AAd}}}}}}}}}}{{{b{Nn}}}{{Cd{El}}}}`{{{b{Nn}}}{{Cd{Af}}}}1`0{{}B`}00{{cAn}{{Bj{{A@d{c}}}}}{Df{AAj{}{{AAf{AAh}}}}}}111111111111{{}c{}}00000000000000``{{{b{A@j}}Ih}Ah}```{{{b{Nn}}}{{b{Ob}}}}`{{{b{Oh}}}{{b{Id}}}}{{{b{Oj}}}{{b{Id}}}}{{{b{Ob}}}{{b{Id}}}}````9```{{{b{{A@d{c}}}}}f{Df{AAj{}{{AAf{AAh}}}}}}`{{{b{{A@d{c}}}}AAl}{{Cd{{Bl{AAh}}}}}{{AAj{}{{AAf{AAh}}}}DfA@`}}```````{{{A@d{c}}}f{Df{AAj{}{{AAf{AAh}}}}}}{Nn{{Bj{f}}}}{{{Ol{ce}}}{{Bj{Nn}}}A@`A@`}``>{{{b{hNn}}}{{b{h{AAn{{Bj{f}}}}}}}}``{bc{}}00{c{{Bb{e}}}{}{}}00000000000000{{}{{Bb{c}}}{}}00000000000000{bCn}00000000000000``{{}c{}}00000000000000```{{}A@n}{{}{{A@h{f}}}}{{}{{Hb{{Jn{O`}}AB`}}}}{{}{{Ol{f}}}}{{}A@l}{{}{{AA`{f}}}}","D":"CDf","p":[[1,"reference",null,null,1],[5,"Private",1246],[1,"unit"],[0,"mut"],[5,"RelayMap",0,1247],[5,"RelayNode",0,1247],[5,"RelayQuicConfig",0,1247],[1,"u8"],[6,"Ordering",1248],[5,"Compat",1249],[5,"RelayUrl",1250],[1,"bool"],[5,"PingTracker",0,1251],[1,"u16"],[5,"Duration",1252],[1,"usize"],[6,"Result",1253,null,1],[10,"Deserializer",1254],[5,"Formatter",1255],[8,"Result",1255],[8,"Result",1256],[5,"Arc",1257,null,1],[10,"Into",1258],[17,"Item"],[10,"IntoIterator",1259],[6,"Option",1260,null,1],[1,"array"],[10,"Iterator",1261],[10,"Serializer",1262],[5,"String",1263],[5,"TypeId",1264],[5,"ClientBuilder",140],[17,"Output"],[10,"Fn",1265],[10,"Send",1266],[10,"Sync",1266],[10,"Error",1267],[6,"ReceivedMessage",140,1268],[5,"Client",140],[6,"ConnSendError",140,1268],[6,"SendMessage",140,1268],[5,"ClientSink",140],[5,"ClientStream",140],[5,"Error",1269],[6,"Error",1270],[6,"SocketAddr",1271],[5,"ClientConfig",1272],[5,"SecretKey",1273],[5,"DnsResolver",329],[5,"Pin",1274],[5,"Context",1275],[6,"Poll",1276],[6,"Protocol",419],[5,"Url",1277],[6,"NotKeyed",1278],[5,"RateLimiter",1279],[5,"RatelimitedSink",1280],[10,"DirectStateStore",1278],[10,"ReasonablyRealtime",1281],[17,"NegativeOutcome"],[5,"NotUntil",1282],[10,"RateLimitingMiddleware",1283],[5,"Jitter",1284],[5,"RatelimitedStream",1285],[1,"tuple",null,null,1],[5,"TxtLookup",329],[5,"TXT",329],[8,"TokioResolver",1286],[5,"TxtLookup",1287],[6,"IpAddr",1288],[10,"ToString",1263],[1,"u64"],[1,"slice"],[1,"str"],[5,"NodeInfo",452],[8,"NodeId",1273],[5,"Box",1289,null,1],[5,"HeaderValue",1290],[5,"NodeData",452],[5,"UserData",452],[5,"BTreeSet",1291],[5,"MaxLengthExceededError",452],[5,"NodeAddr",1292],[5,"SignedPacket",1293],[10,"Hasher",1294],[1,"u32"],[5,"Vec",1295],[10,"NodeIdExt",452],[6,"StunAttribute",599,1296],[5,"AlternateServer",1297],[5,"StunError",1298],[5,"TransactionId",599,1299],[5,"ErrorCode",1300],[6,"Fingerprint",1301],[5,"MappedAddress",1302],[6,"MessageIntegrity",1303],[6,"MessageIntegritySha256",1304],[5,"Nonce",1305],[5,"PasswordAlgorithm",1306],[5,"PasswordAlgorithms",1307],[5,"Realm",1308],[5,"Software",1309],[5,"Unknown",1310],[5,"UnknownAttributes",1311],[5,"UserHash",1312],[5,"UserName",1313],[5,"XorMappedAddress",1314],[5,"AttributeType",1296],[5,"MessageDecoder",599,1315],[6,"MessageClass",599,1316],[5,"StunMessage",1316],[5,"StunDecodeError",599,1298],[5,"Error",1255],[6,"Error",599],[5,"DecoderContext",1315],[5,"QuicClient",851],[5,"Endpoint",1317],[10,"Iterable",1318],[5,"Server",873],[5,"CertificateDer",1319],[5,"RelayMetrics",873,1320],[6,"Access",873],[5,"ClientRateLimit",873],[5,"Metrics",873,1320],[5,"StunMetrics",873,1320],[5,"ServerConfig",873],[10,"Default",1321],[10,"Debug",1255],[5,"Limits",873],[5,"ReloadingResolver",873,1322],[5,"MetricItem",1323],[5,"RelayConfig",873],[6,"AccessConfig",873],[5,"StunConfig",873],[5,"QuicConfig",873],[5,"TlsConfig",873],[6,"CertConfig",873],[10,"MetricsGroup",1323],[17,"Value"],[5,"CertifiedKey",1324],[10,"Loader",1325],[5,"ClientHello",1326],[5,"AbortOnDropHandle",1327],[5,"ServerConfig",1326],[15,"ReceivedPacket",318],[15,"Health",318],[15,"ServerRestarting",318],[15,"Manual",1238],[15,"LetsEncrypt",1238]],"r":[[0,598],[1,1251],[2,1247],[3,1247],[4,1247],[144,1268],[154,1268],[156,1268],[609,1316],[610,1315],[622,1296],[623,1298],[625,1299],[810,1328],[848,1329],[849,1329],[850,1329],[878,1322],[884,1320],[887,1320],[889,1322],[894,1320]],"b":[[77,"impl-Display-for-RelayMap"],[78,"impl-Debug-for-RelayMap"],[79,"impl-Display-for-RelayNode"],[80,"impl-Debug-for-RelayNode"],[226,"impl-Display-for-ConnSendError"],[227,"impl-Debug-for-ConnSendError"],[234,"impl-From%3CError%3E-for-ConnSendError"],[235,"impl-From%3CError%3E-for-ConnSendError"],[374,"impl-Display-for-TXT"],[375,"impl-Debug-for-TXT"],[527,"impl-Debug-for-UserData"],[528,"impl-Display-for-UserData"],[529,"impl-Debug-for-MaxLengthExceededError"],[530,"impl-Display-for-MaxLengthExceededError"],[748,"impl-Display-for-TransactionId"],[749,"impl-Debug-for-TransactionId"],[751,"impl-Debug-for-Error"],[752,"impl-Display-for-Error"],[753,"impl-Display-for-StunDecodeError"],[754,"impl-Debug-for-StunDecodeError"],[757,"impl-From%3C%26%5Bu8;+stun_rs::::types::%7Bimpl%2313%7D::%7Bconstant%230%7D%5D%3E-for-TransactionId"],[759,"impl-From%3C%5Bu8;+stun_rs::::types::%7Bimpl%2314%7D::%7Bconstant%230%7D%5D%3E-for-TransactionId"],[761,"impl-From%3CUnknown%3E-for-StunAttribute"],[762,"impl-From%3CXorMappedAddress%3E-for-StunAttribute"],[763,"impl-From%3CMessageIntegritySha256%3E-for-StunAttribute"],[764,"impl-From%3CMessageIntegrity%3E-for-StunAttribute"],[765,"impl-From%3CUserName%3E-for-StunAttribute"],[766,"impl-From%3CPasswordAlgorithm%3E-for-StunAttribute"],[767,"impl-From%3CMappedAddress%3E-for-StunAttribute"],[768,"impl-From%3CRealm%3E-for-StunAttribute"],[769,"impl-From%3CNonce%3E-for-StunAttribute"],[770,"impl-From%3CPasswordAlgorithms%3E-for-StunAttribute"],[771,"impl-From%3CErrorCode%3E-for-StunAttribute"],[772,"impl-From%3CAlternateServer%3E-for-StunAttribute"],[773,"impl-From%3CSoftware%3E-for-StunAttribute"],[774,"impl-From%3CUnknownAttributes%3E-for-StunAttribute"],[775,"impl-From%3CUserHash%3E-for-StunAttribute"],[776,"impl-From%3CFingerprint%3E-for-StunAttribute"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAADsDSgABAAAABgAKABIAGAAsAAEAMQAJADwAAwBBABEAWwADAGkAAQBwAAEAdgAQAIkAAwCgAAEAowApAM4AHgD0AAYACAEHABIBCAAcASIATwEIAFkBHwB6AQEAfgECAIQBAACSAQkAnQEFAKkBEQC8AQAAvwEDAMQBAADMAQIA0AEJANsBFgDzAQoA/wEVABYCAAAaAgAAHQIAACACBAAtAgAAMgICADYCAQA6AgwASAIDAHgCAwB/AgEAiQIAAJECKwC+AgAAwAIaAOsCCAD2AgAA+AIAAPoCDwANAwYALgMAADEDHwBYAwgAYwMAAGYDAwCBAwIAiAMBAI0DHQCxAzUA6AMjABAEEgAkBBIASAQBAFAEAgBUBAsAdwQCAIQEAACVBC8AxwQOAA==","P":[[8,"T"],[17,""],[20,"T"],[23,""],[28,"K"],[30,"T"],[42,""],[48,"T"],[56,"__D"],[59,""],[67,"K"],[76,""],[82,"T"],[86,"I,"],[87,""],[94,"U"],[98,""],[111,"__S"],[116,""],[117,"T"],[120,""],[122,"U,T"],[126,"U"],[130,""],[136,"V"],[159,""],[161,"S"],[162,""],[163,"T"],[177,""],[179,"T"],[181,""],[183,"T"],[204,""],[205,"T"],[219,""],[236,"T"],[243,""],[251,"U"],[258,""],[262,""],[263,"Sink::Error"],[267,"Stream::Item"],[269,"Sink::Error"],[271,""],[273,"D,C,MW,Item,S"],[277,"D,C,MW,S"],[281,""],[283,"Sink::Error"],[285,"T"],[287,""],[288,"U,T"],[295,"U"],[302,"S"],[304,""],[311,"V"],[334,""],[337,"T"],[343,""],[347,"T"],[350,""],[353,"T"],[362,""],[363,"T"],[369,""],[376,"T"],[377,""],[379,"T"],[381,""],[384,"U"],[387,"IntoIterator::IntoIter"],[388,""],[394,""],[398,""],[399,""],[401,"T"],[404,""],[405,"U,T"],[408,"U"],[411,""],[415,"V"],[418,""],[425,"T"],[427,""],[428,"T"],[429,""],[430,"T"],[433,""],[434,"T"],[436,""],[438,"K"],[441,""],[442,"T"],[443,""],[444,"U"],[445,""],[446,"T"],[447,"U,T"],[448,"U"],[449,""],[451,"V"],[459,""],[462,""],[463,""],[465,"T"],[473,""],[477,"T"],[480,""],[484,"K"],[485,"T"],[498,""],[499,"T"],[502,"Deref::Target"],[503,"T"],[508,"Deref::Target"],[509,""],[517,"K"],[526,""],[532,"T"],[533,""],[534,"T"],[537,""],[540,"FromStr::Err"],[541,""],[543,"__H"],[544,""],[548,"U"],[552,""],[561,"T"],[564,""],[569,"U,T"],[571,"TryFrom::Error"],[572,"U,T"],[574,"U"],[578,""],[583,"V"],[587,""],[656,"T"],[668,""],[672,"T"],[676,""],[681,"K"],[682,"T"],[700,""],[703,"T"],[705,""],[706,"T"],[716,""],[724,"K"],[730,""],[755,"T"],[757,""],[758,"T"],[759,""],[760,"T"],[761,""],[777,"T"],[779,""],[780,"__H"],[781,""],[787,"U"],[793,""],[816,"T"],[820,""],[823,"U,T"],[825,""],[826,"U,T"],[830,"U"],[836,""],[842,"V"],[855,"T"],[862,""],[864,"T"],[865,""],[867,"U"],[868,""],[869,"U,T"],[870,"U"],[871,""],[872,"V"],[896,""],[908,"T"],[942,""],[947,"T"],[950,""],[953,"T"],[999,""],[1002,"EC,EA"],[1003,""],[1004,"T"],[1008,"Loader,Deref::Target"],[1009,"T"],[1039,""],[1055,"K"],[1059,""],[1066,"Loader"],[1067,"EC,EA"],[1069,""],[1073,"EC,EA"],[1074,""],[1076,"EC,EA"],[1077,""],[1079,"T"],[1095,""],[1106,"Loader"],[1107,""],[1119,"U"],[1136,""],[1153,"Loader"],[1164,""],[1165,"EC,EA"],[1168,""],[1172,"T"],[1175,"U,T"],[1190,"U"],[1205,""],[1222,"V"],[1240,""]]}]]')); +var searchIndex = new Map(JSON.parse('[["bulk",{"t":"HHHHH","n":["collect_and_print","main","run_iroh","run_quinn","run_s2n"],"q":[[0,"bulk"],[5,"iroh_metrics::base"],[6,"iroh_bench"],[7,"anyhow"],[8,"iroh_bench::s2n"]],"i":"`````","f":"{{{d{b}}{d{f}}}h}{{}h}{j{{l{h}}}}0{n{{l{h}}}}","D":"`","p":[[1,"str"],[1,"reference",null,null,1],[10,"MetricsGroup",5],[1,"unit"],[5,"Opt",6],[8,"Result",7],[5,"Opt",8]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAAUAAQAAAAUA","P":[]}],["iroh",{"t":"PPEPGTFIFPFEFGFFFPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNOCCNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCCNOCNNNNNNCNNONONNNNNNNNNOOCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNCNNSSSSSCCSSSHHHHSSHHHFKFFFFFNNNNNNNNNNNNNNNNNNNNNONNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNCNNONCNNNNNCNNNNNNNNNNNNNNNNNNFSSNNNNNNNNNNNNNNNNNNNFSNNNNNNNNNNNNNNNNNNNNSSSSFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNTFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFSSNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNTTFFFFKPPFPFTTTPFPFPPFFFFPGPPPPPFGGKKFKPPPFFGPPPSFFTTTPFKTTPFFTPPTTPFTTPPFFTGFPPPPFGPGGFPPGPFPPGFTTPGFFGPPGFPPTPPPFFPFPFPPFFPFGFFPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONONNNOOOMNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNONNONOONOOOONNNONNNNNNNNNNNNNNNNNHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNONNNNNNOOONOOONOOONNNONNNOOONNNNNNNNNNOONNOOONMNMNMNNNNNNNOOONNNONNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNONNNNNNNOONMNNONMNNNNNNOONNNNNNNNNNNNNNNNNNNNONMNNONOONOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNOOFFEFFNOOOOOOOOONNNNNNNNNNNOONNNNNNNNNNNNNNNOOONNNNNNNNNNNNNNNOOOONNNNONNNNNNNNNNONNNNNONNNNNNNNNNOOOONNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNOOOOOOONNNNOFFFFFFFNNNNNNNHNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNOONNNNNNNNNNNNNNOOOOOONOONNOOONNOOOOONOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNSTFFKFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNONNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNNNNNFKFFNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFNNNNNNNNNNNNNNNNNNNNNNNNNNOONONHHHNNNNNNNNNFFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["Decode","DecodeInvalidLength","Endpoint","Key","KeyParsingError","LENGTH","NodeAddr","NodeId","PublicKey","Relay","RelayMap","RelayMode","RelayNode","RelayProtocol","RelayUrl","RelayUrlParseError","SecretKey","Websocket","__clone_box","","","","","","","as_bytes","as_error_source","","as_ref","borrow","","","","","","","","","","borrow_mut","","","","","","","","","clone","","","","","","","clone_into","","","","","","","clone_to_uninit","","","","","","","cmp","","","","compare","","","","compat","","","","","","","","","compat_mut","","","","","","","","","compat_ref","","","","","","","","","contains_node","default","defaults","deref","","","","","","","","","","deref_mut","","","","","","","","","deserialize","","","","","direct_addresses","","discovery","dns","drop","","","","","","","","","empty","endpoint","eq","","","","","","equivalent","","","","","","","","","","","","","","","","","","fmt","","","","","","","","","","","","","","","","fmt_short","from","","","","","","","","","","","","","","","","","","","","","","","","from_bytes","","from_iter","","from_parts","from_ref","","","","","","","from_str","","","from_z32","generate","get_node","hash","","init","","","","","","","","","into","","","","","","","","","is_empty","","len","metrics","net_report","new","node_id","node_info","nodes","parse_header","partial_cmp","","","","protocol","public","","quic","relay_url","","secret","serialize","","","","","sign","source","","stun_only","stun_port","test_utils","to_bytes","to_owned","","","","","","","to_string","","","","","","","to_z32","try_from","","","","","","","","","","","","try_into","","","","","","","","","type_id","","","","","","","","","upgrade_header","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","Lagged","NodeData","NodeInfo","UserData","__clone_box","add","as_error_source","borrow","","","borrow_mut","","","clone","clone_into","clone_to_uninit","compat","","","compat_mut","","","compat_ref","","","data","default","deref","","","","deref_mut","","","dns","drop","","","empty","fmt","","","","from","","","","from_ref","from_services","init","","","into","","","into_node_addr","last_updated","mdns","new","node_id","","node_info","pkarr","provenance","publish","","resolve","","static_provider","subscribe","","to_node_addr","to_owned","to_string","try_from","","","try_into","","","type_id","","","user_data","vzip","","","DnsDiscovery","N0_DNS_NODE_ORIGIN_PROD","N0_DNS_NODE_ORIGIN_STAGING","borrow","borrow_mut","compat","compat_mut","compat_ref","deref","deref_mut","drop","fmt","from","init","into","n0_dns","new","resolve","try_from","try_into","type_id","vzip","MdnsDiscovery","NAME","borrow","borrow_mut","compat","compat_mut","compat_ref","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","","","compat","","","compat_mut","","","compat_ref","","","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_node_data","vzip","","","with_options","Builder","DhtDiscovery","__clone_box","borrow","","borrow_mut","","build","builder","client","clone","clone_into","clone_to_uninit","compat","","compat_mut","","compat_ref","","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_info","borrow","borrow_mut","clone","clone_into","clone_to_uninit","compat","compat_mut","compat_ref","default","deref","deref_mut","drop","fmt","from","from_node_info","from_ref","get_node_info","init","into","new","publish","remove_node_info","resolve","set_node_info","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","compat","compat_mut","compat_ref","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","resolve_host","to_owned","try_from","try_into","type_id","vzip","with_nameserver","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","","","ConnectOptions","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","as_error_source","","","","","","","","","","","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","","","","compat","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","compat_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","compat_ref","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","congestion_controller_factory","congestion_events","congestion_state","conn_type","","connect","connect_with_opts","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","discovery_stream","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","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","metrics","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_conn_protocol","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","set_user_data_for_discovery","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","user_data_for_discovery","validation_token","validation_token_config","vzip","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","window","with_additional_alpns","with_crypto","with_single_cert","with_transport_config","write","write_all","write_all_chunks","write_chunk","write_chunks","name","","EndpointMetrics","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","as_iterable","","","borrow","","","","borrow_mut","","","","bytes_recv","bytes_sent","clone","clone_into","clone_to_uninit","compat","","","","compat_mut","","","","compat_ref","","","","connection_became_direct","connection_handshake_success","conns_rx_ratelimited_total","default","","","","deref","","","","deref_mut","","","","deserialize","","","disco_packets_dropped","disco_packets_recv","disco_packets_sent","disconnects","drop","","","","external_address_updated","field_count","","","field_ref","","","fmt","","","","frames_rx_ratelimited_total","from","","","","from_ref","got_ping","groups","groups_cloned","init","","","","into","","","","local_port_updates","magicsock","mapping_attempts","mapping_failures","name","","","","net_report","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","portmapper","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","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","serialize","","","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","Addr","Client","Metrics","Options","QuicConfig","RelayLatencies","Report","__clone_box","","","","","addr","as_iterable","bind_local_stun_socket","borrow","","","","","","","borrow_mut","","","","","","","captive_portal","client_config","clone","","","","","clone_into","","","","","clone_to_uninit","","","","","compat","","","","","","","compat_mut","","","","","","","compat_ref","","","","","","","default","","","","deref","","","","","","","deref_mut","","","","","","","deserialize","disabled","drop","","","","","","","ep","eq","","equivalent","","","","","","field_count","field_ref","fmt","","","","","","","","from","","","","","","","from_ref","","","","","get_report","global_v4","global_v6","hair_pinning","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","portmap_probe","preferred_relay","quic_config","receive_stun_packet","relay_latency","relay_v4_latency","relay_v6_latency","reports","reports_full","serialize","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","","","","","","","IROH_TXT_NAME","MAX_LENGTH","MaxLengthExceededError","NodeData","NodeIdExt","NodeInfo","UserData","__clone_box","","","add_direct_addresses","as_error_source","as_ref","borrow","","","","borrow_mut","","","","clear_direct_addresses","clone","","","clone_into","","","clone_to_uninit","","","cmp","compare","compat","","","","compat_mut","","","","compat_ref","","","","data","default","deref","","","","","deref_mut","","","","","direct_addresses","drop","","","","eq","","","equivalent","","","","","","","","","fmt","","","","","","from","","","","","","","","","from_parts","from_pkarr_signed_packet","from_ref","","","from_str","from_txt_lookup","from_z32","hash","init","","","","into","","","","into_node_addr","new","","node_id","partial_cmp","relay_url","set_relay_url","set_user_data","to_node_addr","to_owned","","","to_pkarr_signed_packet","to_string","","to_txt_strings","to_z32","try_from","","","","","try_into","","","","type_id","","","","user_data","vzip","","","","with_direct_addresses","","with_relay_url","","with_user_data","","AccessLimit","ProtocolHandler","Router","RouterBuilder","__clone_box","","accept","","","borrow","","","borrow_mut","","","builder","clone","","clone_into","","clone_to_uninit","","compat","","","compat_mut","","","compat_ref","","","deref","","","deref_mut","","","drop","","","endpoint","","fmt","","","from","","","from_ref","","init","","","into","","","is_shutdown","new","","on_connecting","","shutdown","","","spawn","to_owned","","try_from","","","try_into","","","type_id","","","vzip","","","CleanupDropGuard","DnsPkarrServer","borrow","","borrow_mut","","compat","","compat_mut","","compat_ref","","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","","","as_error_source","borrow","","","","","","borrow_mut","","","","","","clone","","","clone_into","","","clone_to_uninit","","","compat","","","","","","compat_mut","","","","","","compat_ref","","","","","","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"],[343,"iroh::defaults"],[350,"iroh::defaults::prod"],[357,"iroh::defaults::staging"],[362,"iroh::discovery"],[452,"iroh::discovery::dns"],[474,"iroh::discovery::mdns"],[496,"iroh::discovery::pkarr"],[581,"iroh::discovery::pkarr::dht"],[636,"iroh::discovery::static_provider"],[669,"iroh::dns"],[711,"iroh::endpoint"],[2460,"iroh::endpoint::Source"],[2462,"iroh::metrics"],[2642,"iroh::net_report"],[2854,"iroh::node_info"],[3001,"iroh::protocol"],[3080,"iroh::test_utils"],[3125,"iroh::watchable"],[3268,"dyn_clone::sealed"],[3269,"iroh_base::key"],[3270,"core::error"],[3271,"iroh_base::node_addr"],[3272,"iroh_base::relay_url"],[3273,"iroh_relay::relay_map"],[3274,"core::cmp"],[3275,"async_compat"],[3276,"core::result"],[3277,"serde::de"],[3278,"core::net::socket_addr"],[3279,"core::iter::traits::iterator"],[3280,"core::fmt"],[3281,"alloc::string"],[3282,"ed25519_dalek::verifying"],[3283,"signature::error"],[3284,"data_encoding"],[3285,"ed25519_dalek::signing"],[3286,"iroh_relay::node_info"],[3287,"iroh::magicsock::node_map::node_state"],[3288,"core::option"],[3289,"iroh_base::ticket::node"],[3290,"url"],[3291,"url::parser"],[3292,"core::iter::traits::collect"],[3293,"anyhow"],[3294,"rand_core"],[3295,"alloc::sync"],[3296,"core::hash"],[3297,"http::header::value"],[3298,"serde::ser"],[3299,"ed25519"],[3300,"core::any"],[3301,"alloc::boxed"],[3302,"alloc::vec"],[3303,"futures_lite::stream"],[3304,"pkarr::signed_packet"],[3305,"core::time"],[3306,"pkarr::client"],[3307,"core::convert"],[3308,"iroh_relay::dns"],[3309,"hickory_proto::runtime::tokio_runtime"],[3310,"hickory_resolver::name_server::connection_provider"],[3311,"hickory_resolver::resolver"],[3312,"core::net::ip_addr"],[3313,"iroh_quinn_proto::connection"],[3314,"iroh_quinn::connection"],[3315,"iroh_quinn_proto::config"],[3316,"iroh_quinn_proto::config::transport"],[3317,"iroh_quinn_proto::varint"],[3318,"core::ops::function"],[3319,"core::marker"],[3320,"iroh_quinn_proto::crypto"],[3321,"iroh_quinn_proto::congestion"],[3322,"std::time"],[3323,"iroh_quinn::recv_stream"],[3324,"iroh_quinn::send_stream"],[3325,"iroh_quinn_proto::connection::stats"],[3326,"iroh_quinn_proto::connection::streams::send"],[3327,"iroh_quinn_proto::connection::streams"],[3328,"iroh::magicsock::node_map"],[3329,"iroh_quinn_proto::frame"],[3330,"iroh_quinn_proto"],[3331,"iroh::magicsock"],[3332,"iroh_quinn_proto::coding"],[3333,"bytes::buf::buf_impl"],[3334,"alloc::collections::btree::set"],[3335,"futures_core::stream"],[3336,"bytes::buf::buf_mut"],[3337,"iroh_quinn_proto::connection::assembler"],[3338,"iroh_quinn::incoming"],[3339,"iroh_quinn_proto::connection::streams::recv"],[3340,"ring::error::unspecified"],[3341,"iroh_quinn_proto::transport_parameters"],[3342,"iroh_quinn_proto::shared"],[3343,"iroh_quinn_proto::connection::paths"],[3344,"core::pin"],[3345,"core::task::wake"],[3346,"core::task::poll"],[3347,"std::io::error"],[3348,"tokio::io::read_buf"],[3349,"bytes::bytes"],[3350,"rustls_pki_types"],[3351,"rustls::error"],[3352,"iroh_metrics::iterable"],[3353,"iroh_metrics::base"],[3354,"netwatch::ip_family"],[3355,"tokio_util::sync::cancellation_token"],[3356,"netwatch::udp"],[3357,"iroh::net_report::reportgen"],[3358,"iroh::net_report::options::imp"],[3359,"iroh::net_report::metrics"],[3360,"portmapper"],[3361,"futures_lite::future"],[3362,"core::clone"],[3363,"iroh::test_utils::dns_and_pkarr_servers"],[3364,"iroh_relay::server"],[3365,"core::default"],[3366,"governor::state::direct"],[3367,"governor::state"],[3368,"governor::state::direct::streams"],[3369,"governor::clock::with_std"],[3370,"governor::middleware"],[3371,"governor::jitter"],[3372,"iroh_relay"],[3373,"iroh_relay::defaults"],[3374,"iroh::net_report::stun_utils"]],"i":"Cf0`0`h```Aj```````01AdAfAh3AlAn67Ch777854306217854306217543621754362175436217431743178543062178543062178543062126`78543306217854306217543144``7854306212`7436217774443336662221117788554330062211777888555444444330062221175224754362175375273785430621785430621422``44`267431`7514457543158011`57543621785302177778554306217854306217854306216127785430621`44``````````````````````````FjFfFn210210222210210210Dd23321321`3212321132213232132133`3303`3Fh303`034424324324324432```Hb000000000000000000``Hd0000000000000000000```````HfHhHj210210210210210210210210210210`21021021021021021021210201021021021021022102``Id0Ib10010111101010101010010101010100100010101101001010Ih`0000000000000000000000000000000```Il00000000000000000000000000000000000000A@d0`````A@lOl`K``333Od`1`N`Nf````3`Ml2Nb2Nh```````AA`0Oj```419```;;;Nd``<<7``><3``>``::1Mn``3```4=`>`:<``??=````59``22?<80``<`=`28``<````:79680:73961NjNlNnO`ObOdOfDfOh=OlK`KjMbKhOnA@`A@bA@dA@fA@hA@jA@lGjA@nKbAA`3Jl220?NlKn1L`77Of;DfLj4Jn94MlABjMnN`NbNdNfNhOhK`A@b???MbNnAEdAEbKfKdAElABhMlABjAAnMnN`NbNdAB`NfNhKnKlABdNjNlNnO`ObOdOfDfOhOjOlK`KjMbKhABfABlABnOnA@`A@bA@dA@fA@hA@jA@lL`GjA@nJjJlAC`JnACbKbAA`AEdAEbKfKdAElABhMlABjAAnMnN`NbNdAB`NfNhKnKlABdNjNlNnO`ObOdOfDfOhOjOlK`KjMbKhABfABlABnOnA@`A@bA@dA@fA@hA@jA@lL`GjA@nJjJlAC`JnACbKbAA`8Md9ABdNjOb0=MlMnN`NbNdNfNhKl9NlNnO`;OdOfDfOhOjOlK`KjMbKhOnA@`A@bA@dA@fA@hA@jA@lGjA@nKbAA`MjMlMnN`NbNdNfNhKlNjNlNnO`ObOdOfDfOhOjOlK`KjMbKhOnA@`A@bA@dA@fA@hA@jA@lGjA@nKbAA`MlMnN`NbNdNfNhKlNjNlNnO`ObOdOfDfOhOjOlK`KjMbKhOnA@`A@bA@dA@fA@hA@jA@lGjA@nKbAA`3111Kl876:0876AEdAEbKfKdAElABhMlABjAAnMnN`NbNdAB`NfNhKnKlABdNjNlNnO`ObOdOfDfOhOjOlK`KjMbKhABfABlABnOnA@`A@bA@dA@fA@hA@jA@lL`GjA@nJjJlAC`JnACbKbAA`AEdAEbKfKdAElABhMlABjAAnMnN`NbNdAB`NfNhKnKlABdNjNlNnO`ObOdOfDfOhOjOlK`KjMbKhABfABlABnOnA@`A@bA@dA@fA@hA@jA@lL`GjA@nJjJlAC`JnACbKbAA`AEdAEbKfKdAElABhMlABjAAnMnN`NbNdAB`NfNhKnKlABdNjNlNnO`ObOdOfDfOhOjOlK`KjMbKhABfABlABnOnA@`A@bA@dA@fA@hA@jA@lL`GjA@nJjJlAC`JnACbKbAA`KnNn3:Df;;NlA@d1Kh54422557NjKl3A@f81257O`ObOhOjKjMbA@lL`A@n`AEdAEbKfKdAElABhMlABjAAnMnN`NbNdAB`NfNhKnKlABdNjNlNnO`ObOdOfDfOhOjOlK`KjMbKhABfABlABnOnA@`A@bA@dA@fA@hA@jA@lL`GjA@nJjJlAC`JnACbKbAA`AEdAEbKfKdAElABhMlABjAAnMnN`NbNdAB`NfNhKnKlABdNjNlNnO`ObOdOfDfOhOjOlK`KjMbKhABfABlABnOnA@`A@bA@dA@fA@hA@jA@lL`GjA@nJjJlAC`JnACbKbAA`OdOfDfOjOlA@f>?>???>?>AEdAEbKfKdAElABhMlABjAAn0MnN`NbNdAB`0NfNhKnKlABdNjNlNnO`ObOdOfDfOhOjOlK`KjMbKhABfABlABnOnA@`A@bA@dA@fA@hA@jA@lL`GjA@nJjJlAC`JnACbKbAA`KnKlA@dA@fMlMnN`NbNdNfNh9ABdObOdOfDfOhOjOlK`ABfOnA@`A@bA@dA@fA@hA@jA@lAA`Ml00Mn00N`00Nb00Nd00Nf00Nh00Kl00ABd00Ob00Od00Of00Df00Oh00Oj00Ol00K`00ABf00On00A@`00A@b00A@d00A@f00A@h00A@j00A@l00AA`0087KbAB`ABhMl0ABj0AAnMn0N`0Nb0Nd08Nf0Nh0KnKl0ABdNjNlNnO`ObOd0OfDfOh0Oj0Ol0K`0KjMbKhABfABlABnOn0A@`0A@b0A@d0A@f0A@hA@j0A@lL`GjA@nJjJlAC`JnACbKbAA``?O`0OnAEdAEbKfKdAElABhMl0ABjAAnMn0N`000Nb0Nd0AB`Nf000Nh0KnKl0000ABdNjNlNnO`ObOdOfDfOhOjOlK`00KjMbKhABfABl0ABnOn0A@`A@b000A@dA@f0A@hA@jA@lL`GjA@nJjJlAC`JnACbKbAA`MlMnN`NbNdNfNhKlNjNlNnO`ObOdOfDfOhOjOlK`KjMbKhOnA@`A@bA@dA@fA@hA@jA@lGjA@nKbAA`Kl00Jn3NlDf3Ol<;:8AAnAB`Jl5Kh0A@fAEdAEbKfKdAElABhMlABjAEdAEbKfKdAElJjAC`JnACbAB`AAn0111Kh02==111Kb22OnA@`A@bKn06JlL`AA`1Df33Gj09Kj=Nl06ADb==<;:98KlNj5NnO`ObOdOf=OhOjOlK`KjMb>OnA@`A@bA@dA@fA@hA@jA@lGjA@nKbAA`MlABjMnN`NbNdNfNhKlOdOhOjOlK`OnA@`A@bA@dA@fA@jKh00L`AEdAEbKfKdAElABhMlABjAAnMnN`NbNdAB`NfNhKnKl000ABdNjNlNnO`ObOdOfDfOhOjOlK`KjMbKhABfABlABnOnA@`A@bA@dA@fA@hA@jA@lL`GjA@nJjJlAC`JnACbKbAA`AEdAEbKfKdAElABhMlABjAAnMnN`NbNdAB`NfNhKnKlABdNjNlNnO`ObOdOfDfOhOjOlK`KjMbKhABfABlABnOnA@`A@bA@dA@fA@hA@jA@lL`GjA@nJjJlAC`JnACbKbAA`AEdAEbKfKdAEl98A@h54321ABhMlABjAAnMnN`NbNdAB`NfNhKnKlABdNjNlNnO`ObOdOfDfOhOjOlK`KjMbKhABfABlABnOnA@`A@bA@dA@fA@hA@jA@lL`GjA@nJjJlAC`JnACbKbAA`O`0Mb;Kh0AEdAEbKfKdAElABhMlABjAAnMnN`NbNdAB`NfNhKnKlABdNjNlNnO`ObOdOfDfOhOjOlK`KjMbKhABfABlABnOnA@`A@bA@dA@fA@hA@jA@lL`GjA@nJjJlAC`JnACbKbAA`Mj8Kh09AB`0000AMhAMj`````ADnAGnAGl0000000AGj12012301232233301230123012311201230123012301322220123001201201232012332330123012303000123311111122200301111111111111121111111222111111120133012301230123221000001232```````AHnAI`AIbAIdAHfAHdAIf`06543120654312466543265432654320654312065431206543120543065431206543120506543126434443330006544312065431265432144455544065431206543126446443440144452444000000005565432406543120654312065431240654312`H``````Gh1Dd1AIj323012301223123123133230123012301122301123011223012312223331112330012230111111123131AJ`43412341223224333234224120344123412341233412323232````AJnAJjAJbAJf23023023323232302302302302302302303023023230230230212132032302302302302``AKfAKd10101010101000101010101000000```010101010``````AKlAAbAKnALf32ALbALd325410325435435435410325410325410325541032541032541032541032254103254354541032454103210510333544543254103254103210354103245410325","f":"``````````````````{{bd}f}000000{{{b{h}}}{{b{{l{j}}}}}}{b{{b{n}}}}0{{{b{h}}}{{b{{A`{j}}}}}}2{b{{b{c}}}{}}00000000{{{b{Ab}}}{{b{Abc}}}{}}00000000{{{b{h}}}h}{{{b{Ad}}}Ad}{{{b{Af}}}Af}{{{b{Ah}}}Ah}{{{b{Aj}}}Aj}{{{b{Al}}}Al}{{{b{An}}}An}{{b{b{Abc}}}f{}}000000{{bj}f}000000{{{b{h}}{b{h}}}B`}{{{b{Af}}{b{Af}}}B`}{{{b{Ah}}{b{Ah}}}B`}{{{b{An}}{b{An}}}B`}{{b{b{c}}}B`{}}000{{}{{Bb{c}}}{}}00000000{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}00000000{b{{Bb{{b{c}}}}}{}}00000000{{{b{Al}}{b{Ah}}}Bd}{{}Aj}`{Bf{{b{c}}}{}}000{{{b{Ah}}}b}11111{Bf{{b{Abc}}}{}}00000000{c{{Bh{h}}}Bj}{c{{Bh{Ad}}}Bj}{c{{Bh{Af}}}Bj}{c{{Bh{Ah}}}Bj}{c{{Bh{An}}}Bj}{{{b{Af}}}{{`{{C`{}{{Bl{{b{Bn}}}}}}}}}}```{Bff}00000000{{}Al}`{{{b{h}}{b{h}}}Bd}{{{b{Af}}{b{Af}}}Bd}{{{b{Ah}}{b{Ah}}}Bd}{{{b{Aj}}{b{Aj}}}Bd}{{{b{Al}}{b{Al}}}Bd}{{{b{An}}{b{An}}}Bd}{{b{b{c}}}Bd{}}00000000000000000{{{b{h}}{b{AbCb}}}{{Bh{fCd}}}}0{{{b{Cf}}{b{AbCb}}}{{Bh{fCd}}}}0{{{b{Ad}}{b{AbCb}}}{{Bh{fCd}}}}0{{{b{Af}}{b{AbCb}}}{{Bh{fCd}}}}{{{b{Ah}}{b{AbCb}}}{{Bh{fCd}}}}0{{{b{Ch}}{b{AbCb}}}{{Bh{fCd}}}}0{{{b{Aj}}{b{AbCb}}}{{Bh{fCd}}}}{{{b{Al}}{b{AbCb}}}{{Bh{fCd}}}}0{{{b{An}}{b{AbCb}}}{{Bh{fCd}}}}0{{{b{h}}}Cj}{Clh}{cc{}}0{CnCf}{D`Cf}{{{l{j}}}Ad}{DbAd}4{DdAf}{DfAf}6{hAf}{{{Dj{h{Dh{Ah}}{b{{A`{Bn}}}}}}}Af}{DlAf}{DnAh}::{E`Ch};;{AnAl}{AhAl}={AhAn}{{{b{{l{j}}}}}{{Bh{hCn}}}}{{{b{{l{j}}}}}Ad}{cAl{{Eb{}{{Bl{Ah}}}}}}{cAl{{Eb{}{{Bl{An}}}}}}{{h{Dh{Ah}}c}Af{{Eb{}{{Bl{Bn}}}}}}{{{b{c}}}c{}}000000{{{b{Ed}}}{{Bh{h}}}}{{{b{Ed}}}{{Bh{Ad}}}}{{{b{Ed}}}{{Bh{Ah}}}}{{{b{Ed}}}{{Bh{hEf}}}}{cAdEh}{{{b{Al}}{b{Ah}}}{{Dh{{b{{Ej{An}}}}}}}}{{{b{h}}{b{Abc}}}fEl}{{{b{Ah}}{b{Abc}}}fEl}{{}Bf}00000000{{}c{}}00000000{{{b{Af}}}Bd}{{{b{Al}}}Bd}{{{b{Al}}}Bf}``{hAf}``{{{b{Al}}}{{`{{C`{}{{Bl{{b{{Ej{An}}}}}}}}}}}}{{{b{En}}}{{Dh{Aj}}}}{{{b{h}}{b{h}}}{{Dh{B`}}}}{{{b{Af}}{b{Af}}}{{Dh{B`}}}}{{{b{Ah}}{b{Ah}}}{{Dh{B`}}}}{{{b{An}}{b{An}}}{{Dh{B`}}}}`{{{b{h}}}Cl}{{{b{Ad}}}h}`{{{b{Af}}}{{Dh{{b{Ah}}}}}}`{{{b{Ad}}}{{b{Db}}}}{{{b{h}}c}BhF`}{{{b{Ad}}c}BhF`}{{{b{Af}}c}BhF`}{{{b{Ah}}c}BhF`}{{{b{An}}c}BhF`}{{{b{Ad}}{b{{A`{j}}}}}Fb}{{{b{Cf}}}{{Dh{{b{n}}}}}}{{{b{Ch}}}{{Dh{{b{n}}}}}}```{{{b{Ad}}}{{l{j}}}}{bc{}}000000{bCj}000000{{{b{h}}}Cj}{{{b{{l{j}}}}}{{Bh{h}}}}{{{b{{A`{j}}}}}{{Bh{h}}}}{c{{Bh{e}}}{}{}}00{{{b{{A`{j}}}}}{{Bh{Ad}}}}111111{{}{{Bh{c}}}{}}00000000{bFd}00000000{{{b{Aj}}}{{b{Ed}}}}`{{{b{Al}}}{{`{{C`{}{{Bl{{b{Ah}}}}}}}}}}{{{b{h}}{b{{A`{j}}}}{b{Fb}}}{{Bh{fCn}}}}{{}c{}}00000000`{{Afc}Af{{Eb{}{{Bl{Bn}}}}}}{{AfAh}Af}``````````{{}An}00{{}Al}``110```````{{bd}f}{{{b{AbFf}}c}fFh}{b{{b{n}}}}{b{{b{c}}}{}}00{{{b{Ab}}}{{b{Abc}}}{}}00{{{b{Fj}}}Fj}{{b{b{Abc}}}f{}}{{bj}f}{{}{{Bb{c}}}{}}00{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}00{b{{Bb{{b{c}}}}}{}}00`{{}Ff}{Bf{{b{c}}}{}}{{{b{Fj}}}{{b{c}}}{}}11{Bf{{b{Abc}}}{}}00`{Bff}004{{{b{Fj}}{b{AbCb}}}Fl}{{{b{Ff}}{b{AbCb}}}Fl}{{{b{Fn}}{b{AbCb}}}Fl}0{cc{}}0{cFf{{Eb{}{{Bl{{G`{Fh}}}}}}}}1{{{b{c}}}c{}}{{{Gb{{G`{Fh}}}}}Ff}{{}Bf}00{{}c{}}00{FjAf}{{{b{Fj}}}{{Dh{Gd}}}}`{{Dd{b{Ed}}{Dh{Gd}}}Fj}{{{b{Fj}}}Gf}`{{{b{Fj}}}{{b{Dd}}}}`{{{b{Fj}}}{{b{Ed}}}}{{{b{Fh}}{b{Gh}}}f}{{{b{Ff}}{b{Gh}}}f}{{{b{Fh}}GjGf}{{Dh{{Gn{{Gl{Fj}}}}}}}}{{{b{Ff}}GjGf}{{Dh{{Gn{{Gl{Fj}}}}}}}}`{{{b{Fh}}}{{Dh{{Gn{Fj}}}}}}{{{b{Ff}}}{{Dh{{Gn{Fj}}}}}}{{{b{Fj}}}Af}{bc{}}{bCj}{c{{Bh{e}}}{}{}}00{{}{{Bh{c}}}{}}00{bFd}00{{{b{Fj}}}{{Dh{H`}}}}{{}c{}}00```{b{{b{c}}}{}}{{{b{Ab}}}{{b{Abc}}}{}}{{}{{Bb{c}}}{}}{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}{b{{Bb{{b{c}}}}}{}}{Bf{{b{c}}}{}}{Bf{{b{Abc}}}{}}{Bff}{{{b{Hb}}{b{AbCb}}}Fl}{cc{}}{{}Bf}{{}c{}}{{}Hb}{CjHb}{{{b{Hb}}GjGf}{{Dh{{Gn{{Gl{Fj}}}}}}}}{c{{Bh{e}}}{}{}}{{}{{Bh{c}}}{}}{bFd}{{}c{}}``{b{{b{c}}}{}}{{{b{Ab}}}{{b{Abc}}}{}}{{}{{Bb{c}}}{}}{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}{b{{Bb{{b{c}}}}}{}}{Bf{{b{c}}}{}}{Bf{{b{Abc}}}{}}{Bff}{{{b{Hd}}{b{AbCb}}}Fl}{cc{}}{{}Bf}{{}c{}}{Gf{{Gl{Hd}}}}{{{b{Hd}}{b{Gh}}}f}{{{b{Hd}}GjGf}{{Dh{{Gn{{Gl{Fj}}}}}}}}{{{b{Hd}}}{{Dh{{Gn{Fj}}}}}}{c{{Bh{e}}}{}{}}{{}{{Bh{c}}}{}}{bFd}{{}c{}}```````{{bd}f}00{b{{b{c}}}{}}00{{{b{Ab}}}{{b{Abc}}}{}}00{{{b{Hf}}}Hf}{{{b{Hh}}}Hh}{{{b{Hj}}}Hj}{{b{b{Abc}}}f{}}00{{bj}f}00{{}{{Bb{c}}}{}}00{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}00{b{{Bb{{b{c}}}}}{}}00{Bf{{b{c}}}{}}00{Bf{{b{Abc}}}{}}00`{Bff}00{{{b{Hf}}{b{AbCb}}}Fl}{{{b{Hh}}{b{AbCb}}}Fl}{{{b{Hj}}{b{AbCb}}}Fl}{cc{}}00{{{b{c}}}c{}}00{{}Bf}00{{}c{}}00{AdHf}{{}Hh}{{AdDn}Hf}{DnHh}{DnHj}{{{b{Hf}}{b{Gh}}}f}{{{b{Hj}}{b{Hl}}}{{Gl{f}}}}{{{b{Hh}}GjGf}{{Dh{{Gn{{Gl{Fj}}}}}}}}{{{b{Hj}}Gf}{{Gl{Hl}}}}{bc{}}00{c{{Bh{e}}}{}{}}00{{}{{Bh{c}}}{}}00{bFd}007{{}c{}}00{{AdDnHnI`}Hf}``{{bd}f}{b{{b{c}}}{}}0{{{b{Ab}}}{{b{Abc}}}{}}0{Ib{{Gl{Id}}}}{{}Ib}{{IbIf}Ib}{{{b{Id}}}Id}{{b{b{Abc}}}f{}}{{bj}f}{{}{{Bb{c}}}{}}0{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}0{b{{Bb{{b{c}}}}}{}}0{{}Id}8{Bf{{b{c}}}{}}0{Bf{{b{Abc}}}{}}0{{IbBd}Ib}{Bff}0{{{b{Id}}{b{AbCb}}}Fl}{{{b{Ib}}{b{AbCb}}}Fl}{cc{}}0{{{b{c}}}c{}}5{{}Bf}0{{IbI`}Ib}{{}c{}}0{IbIb}{{IbDn}Ib}{{{b{Id}}{b{Gh}}}f}4{{{b{Id}}GjGf}{{Dh{{Gn{{Gl{Fj}}}}}}}}{{IbAd}Ib}{bc{}}{c{{Bh{e}}}{}{}}0{{}{{Bh{c}}}{}}0{{IbHn}Ib}{bFd}0{{}c{}}0``{{bd}f}{{{b{Ih}}c}f{{Ij{Dd}}}}{b{{b{c}}}{}}{{{b{Ab}}}{{b{Abc}}}{}}{{{b{Ih}}}Ih}{{b{b{Abc}}}f{}}{{bj}f}{{}{{Bb{c}}}{}}{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}{b{{Bb{{b{c}}}}}{}}{{}Ih}{Bf{{b{c}}}{}}{Bf{{b{Abc}}}{}}{Bff}{{{b{Ih}}{b{AbCb}}}Fl}{cc{}}{eIh{{Ij{Dd}}}{{Eb{}{{Bl{c}}}}}}{{{b{c}}}c{}}{{{b{Ih}}Gf}{{Dh{Dd}}}}{{}Bf}{{}c{}}:{{{b{Ih}}{b{Gh}}}f}3{{{b{Ih}}GjGf}{{Dh{{Gn{{Gl{Fj}}}}}}}}{{{b{Ih}}c}{{Dh{Gh}}}{{Ij{Dd}}}}{bc{}}{c{{Bh{e}}}{}{}}{{}{{Bh{c}}}{}}{bFd}{{}c{}}```{{bd}f}{b{{b{c}}}{}}{{{b{Ab}}}{{b{Abc}}}{}}{{{b{Il}}}f}{{{b{Il}}}Il}{{b{b{Abc}}}f{}}{{bj}f}{{}{{Bb{c}}}{}}{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}{b{{Bb{{b{c}}}}}{}}{{}Il}{Bf{{b{c}}}{}}{Bf{{b{Abc}}}{}}{Bff}{{{b{Il}}{b{AbCb}}}{{Bh{fCd}}}}{cc{}}{{{Jb{{J`{In}}}}}Il}{{{b{c}}}c{}}{{}Bf}{{}c{}}{{{b{Il}}cI`}{{Bh{{`{{C`{}{{Bl{Jd}}}}}}Ef}}}Jf}0{{{b{Il}}cI`{b{{A`{Gd}}}}}{{Bh{{`{{C`{}{{Bl{Jd}}}}}}Ef}}}Jf}010{{{b{Il}}{b{Ed}}}{{Bh{DdEf}}}}{{{b{Il}}{b{Ed}}{b{{A`{Gd}}}}}{{Bh{DdEf}}}}{{{b{Il}}{b{h}}{b{Ed}}}{{Bh{DdEf}}}}{{{b{Il}}{b{h}}{b{Ed}}{b{{A`{Gd}}}}}{{Bh{DdEf}}}}{{{b{Il}}cI`}{{Bh{JhEf}}}Jf}{{}Il}{{{b{Il}}{b{Dn}}BdI`}{{Bh{JdEf}}}}{bc{}}{c{{Bh{e}}}{}{}}{{}{{Bh{c}}}{}}{bFd}{{}c{}}{BnIl}`````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````{{bd}f}0000000000000000000000000000000000{{{b{Gj}}}Jj}{Jl{{Gl{JnK`}}}}{{{b{Kb}}}Kd}{{{b{Kb}}}Kf}{{Jl{Ej{Kh}}}{{Gl{JnK`}}}}{{{b{AbKj}}Kl}{{b{AbKj}}}}`{{{b{AbKn}}{Dh{Kj}}}{{b{AbKn}}}}`{{L`e}L`Fh{{Ld{{b{Ad}}}{{Lb{{Dh{c}}}}}}LfLh}}{{{b{Gj}}Af}{{Gl{f}}}}{{{b{Gj}}Af{b{Ed}}}{{Gl{f}}}}```{{{b{Lj}}{b{{A`{j}}}}}{{G`{Ll}}}}{{{b{AbKn}}Bd}{{b{AbKn}}}}{{{b{AbJn}}}{{Gl{{Gb{j}}}}}}{{{b{Kb}}}{{Dh{{Gb{j}}}}}}{{L`{Gb{{Gb{j}}}}}L`}{b{{b{n}}}}0000000000{L`{{Gl{Gj}}}}{{L`Ln}L`}{{L`M`}L`}{{{b{AbMb}}I`}{{b{AbMb}}}}`{b{{b{c}}}{}}000000000000000000000000000000000000000000000000000000{{{b{Ab}}}{{b{Abc}}}{}}000000000000000000000000000000000000000000000000000000{{{b{Gj}}}{{Dj{Bn{Dh{Bn}}}}}}{{{Ej{Md}}MfMh}{{G`{Mj}}}}{{}L`}````{L`L`}{{{b{Ml}}}Ml}{{{b{Mn}}}Mn}{{{b{N`}}}N`}{{{b{Nb}}}Nb}{{{b{Nd}}}Nd}{{{b{Nf}}}Nf}{{{b{Nh}}}Nh}{{{b{Kl}}}Kl}{{{b{Nj}}}Nj}{{{b{Nl}}}Nl}{{{b{Nn}}}Nn}{{{b{O`}}}O`}{{{b{Ob}}}Ob}{{{b{Od}}}Od}{{{b{Of}}}Of}{{{b{Df}}}Df}{{{b{Oh}}}Oh}{{{b{Oj}}}Oj}{{{b{Ol}}}Ol}{{{b{K`}}}K`}{{{b{Kj}}}Kj}{{{b{Mb}}}Mb}{{{b{Kh}}}Kh}{{{b{On}}}On}{{{b{A@`}}}A@`}{{{b{A@b}}}A@b}{{{b{A@d}}}A@d}{{{b{A@f}}}A@f}{{{b{A@h}}}A@h}{{{b{A@j}}}A@j}{{{b{A@l}}}A@l}{{{b{Gj}}}Gj}{{{b{A@n}}}A@n}{{{b{Kb}}}Kb}{{{b{AA`}}}AA`}{{{b{Mj}}}{{G`{Mj}}}}{{b{b{Abc}}}f{}}0000000000000000000000000000000000{{bj}f}0000000000000000000000000000000000{{{b{Gj}}}f}{{{b{Kb}}Kl{b{{A`{j}}}}}f}{{{b{Kb}}}{{Dh{K`}}}}{{{b{Kb}}}K`}{{{b{Kl}}{b{Kl}}}B`}{{{b{A@f}}{b{A@f}}}B`}{{{b{A@h}}{b{A@h}}}B`}{{{b{A@j}}{b{A@j}}}B`}`{{b{b{c}}}B`{}}000{{}{{Bb{c}}}{}}000000000000000000000000000000000000000000000000000000{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}000000000000000000000000000000000000000000000000000000{b{{Bb{{b{c}}}}}{}}000000000000000000000000000000000000000000000000000000{{{b{AbKn}}{Ej{Md}}}{{b{AbKn}}}}`{{{b{Kb}}}{{G`{Mj}}}}{{{b{Gj}}Gf}{{Gl{{AAb{Oj}}}}}}`{{{b{Gj}}c{b{{A`{j}}}}}{{Gl{Kb}}}{{Ij{Af}}}}{{{b{Gj}}c{b{{A`{j}}}}A@n}{{Gl{Jn}}}{{Ij{Af}}}}`{jA@d}``{{{b{AbKn}}Bf}{{b{AbKn}}}}````{{{b{AbKn}}{Dh{Bf}}}{{b{AbKn}}}}1{{{b{Kb}}}Bf}`{{{b{Abc}}}{{Bh{KlAAd}}}AAf}{{{b{Abc}}}{{Bh{A@dAAd}}}AAf}{{{b{Abc}}}{{Bh{A@fAAd}}}AAf}{{}Kn}{{}Kl}{{}Nj}{{}Nl}{{}Nn}{{}O`}{{}Ob}{{}Oh}{{}Oj}{{}Kj}{{}Mb}{{}A@l}{{}L`}{{}A@n}{{}AA`}{Bf{{b{c}}}{}}000000000000000000000000000000000000000000000000000000{Bf{{b{Abc}}}{}}000000000000000000000000000000000000000000000000000000{c{{Bh{Od}}}Bj}{c{{Bh{Of}}}Bj}{c{{Bh{Df}}}Bj}{c{{Bh{Oj}}}Bj}{c{{Bh{Ol}}}Bj}{A@fAAh}{{{b{Gj}}}{{AAb{{Dh{{AAj{A@h}}}}}}}}{{L`{G`{Fh}}}L`}{{{b{Gj}}}{{Dh{{b{Fh}}}}}}{L`L`}00{{{b{Gj}}}{{`{{AAl{}{{Bl{{Gl{FjFn}}}}}}}}}}{{L`Il}L`}{{{b{Gj}}}{{b{Il}}}}{Bff}0000000{{{b{AbAAn}}}f}11111{{{b{AbAB`}}}f}222222222222222222222222222222222222222222{{{b{AbKn}}Bd}{{b{AbKn}}}}{{{b{Kl}}{b{Abc}}}fABb}{{{b{A@d}}{b{Abc}}}fABb}{{{b{A@f}}{b{Abc}}}fABb}{{{b{Ml}}{b{Ml}}}Bd}{{{b{Mn}}{b{Mn}}}Bd}{{{b{N`}}{b{N`}}}Bd}{{{b{Nb}}{b{Nb}}}Bd}{{{b{Nd}}{b{Nd}}}Bd}{{{b{Nf}}{b{Nf}}}Bd}{{{b{Nh}}{b{Nh}}}Bd}{{{b{Kl}}{b{Kl}}}Bd}{{{b{ABd}}{b{ABd}}}Bd}{{{b{Ob}}{b{Ob}}}Bd}{{{b{Od}}{b{Od}}}Bd}{{{b{Of}}{b{Of}}}Bd}{{{b{Df}}{b{Df}}}Bd}{{{b{Oh}}{b{Oh}}}Bd}{{{b{Oj}}{b{Oj}}}Bd}{{{b{Ol}}{b{Ol}}}Bd}{{{b{K`}}{b{K`}}}Bd}{{{b{ABf}}{b{ABf}}}Bd}{{{b{On}}{b{On}}}Bd}{{{b{A@`}}{b{A@`}}}Bd}{{{b{A@b}}{b{A@b}}}Bd}{{{b{A@d}}{b{A@d}}}Bd}{{{b{A@f}}{b{A@f}}}Bd}{{{b{A@h}}{b{A@h}}}Bd}{{{b{A@j}}{b{A@j}}}Bd}{{{b{A@l}}{b{A@l}}}Bd}{{{b{AA`}}{b{AA`}}}Bd}{{b{b{c}}}Bd{}}00000000000000000000000000000000000000000000000000000000000000000000000000000000``{{{b{Kb}}{b{Ab{A`{j}}}}{b{{A`{j}}}}{b{{A`{j}}}}}{{Gl{fABf}}}}{{{b{AbAB`}}}{{Bh{fOh}}}}{{{b{ABh}}{b{AbCb}}}{{Bh{fCd}}}}{{{b{Ml}}{b{AbCb}}}{{Bh{fCd}}}}0{{{b{ABj}}{b{AbCb}}}{{Bh{fCd}}}}0{{{b{AAn}}{b{AbCb}}}{{Bh{fCd}}}}{{{b{Mn}}{b{AbCb}}}{{Bh{fCd}}}}0{{{b{N`}}{b{AbCb}}}{{Bh{fCd}}}}0{{{b{Nb}}{b{AbCb}}}{{Bh{fCd}}}}0{{{b{Nd}}{b{AbCb}}}{{Bh{fCd}}}}0{{{b{AB`}}{b{AbCb}}}{{Bh{fCd}}}}{{{b{Nf}}{b{AbCb}}}{{Bh{fCd}}}}0{{{b{Nh}}{b{AbCb}}}{{Bh{fCd}}}}0{{{b{Kn}}{b{AbCb}}}{{Bh{fCd}}}}{{{b{Kl}}{b{AbCb}}}{{Bh{fCd}}}}0{{{b{ABd}}{b{AbCb}}}{{Bh{fCd}}}}{{{b{Nj}}{b{AbCb}}}{{Bh{fCd}}}}{{{b{Nl}}{b{AbCb}}}{{Bh{fCd}}}}{{{b{Nn}}{b{AbCb}}}{{Bh{fCd}}}}{{{b{O`}}{b{AbCb}}}{{Bh{fCd}}}}{{{b{Ob}}{b{AbCb}}}{{Bh{fCd}}}}{{{b{Od}}{b{AbCb}}}Fl}0{{{b{Of}}{b{AbCb}}}Fl}{{{b{Df}}{b{AbCb}}}Fl}{{{b{Oh}}{b{AbCb}}}{{Bh{fCd}}}}0{{{b{Oj}}{b{AbCb}}}Fl}0{{{b{Ol}}{b{AbCb}}}Fl}{{{b{Ol}}{b{AbCb}}}{{Bh{fCd}}}}{{{b{K`}}{b{AbCb}}}{{Bh{fCd}}}}0{{{b{Kj}}{b{AbCb}}}{{Bh{fCd}}}}{{{b{Mb}}{b{AbCb}}}{{Bh{fCd}}}}{{{b{Kh}}{b{AbCb}}}{{Bh{fCd}}}}{{{b{ABf}}{b{AbCb}}}{{Bh{fCd}}}}{{{b{ABl}}{b{AbCb}}}{{Bh{fCd}}}}{{{b{ABn}}{b{AbCb}}}{{Bh{fCd}}}}{{{b{On}}{b{AbCb}}}{{Bh{fCd}}}}0{{{b{A@`}}{b{AbCb}}}{{Bh{fCd}}}}0{{{b{A@b}}{b{AbCb}}}{{Bh{fCd}}}}0{{{b{A@d}}{b{AbCb}}}{{Bh{fCd}}}}0{{{b{A@f}}{b{AbCb}}}{{Bh{fCd}}}}0{{{b{A@h}}{b{AbCb}}}Fl}{{{b{A@j}}{b{AbCb}}}Fl}0{{{b{A@l}}{b{AbCb}}}Fl}{{{b{L`}}{b{AbCb}}}Fl}{{{b{Gj}}{b{AbCb}}}Fl}{{{b{A@n}}{b{AbCb}}}Fl}{{{b{Jj}}{b{AbCb}}}Fl}{{{b{Jl}}{b{AbCb}}}Fl}{{{b{AC`}}{b{AbCb}}}Fl}{{{b{Jn}}{b{AbCb}}}Fl}{{{b{ACb}}{b{AbCb}}}Fl}{{{b{Kb}}{b{AbCb}}}Fl}{{{b{AA`}}{b{AbCb}}}Fl}{{}Bd}````{cc{}}000000{K`Ml}111{N`Mn}2{NbN`}{ACdN`}{K`N`}{K`Nb}6{N`Nd}77{K`Nf}8{OhNf}{NhNf}{K`Nh};;{A@fKl}{jKl}{MhKl}{HnKl}?????????????{ACfK`}{cc{}}{A@bK`}11111{AChABl}2{A@bOn}333{ACjA@b}{AClA@b}{A@dA@b}6{KlA@f}77777777777777{{{b{c}}}c{}}0000000000000000000000000000000000:{Gd{{Bh{KlACn}}}}{GdKl}{{{b{AbJn}}}{{Gl{{G`{AD`}}K`}}}}{{{b{Kb}}}{{Dh{{G`{AD`}}}}}}`{{{b{Df}}}Bd}{{{b{Kl}}{b{Abc}}}fEl}{{{b{Ol}}{b{Abc}}}fEl}{{{b{A@f}}{b{Abc}}}fEl}{{{b{A@h}}{b{Abc}}}fEl}{{{b{A@j}}{b{Abc}}}fEl}{{{b{Gj}}}{{AAb{{Dh{Ah}}}}}}{{{b{AAn}}}A@f}{{{b{AB`}}}A@f}{Jlf}`{{{b{AbKh}}Gd}{{b{AbKh}}}}0{A@fGd}{{}Bf}000000000000000000000000000000000000000000000000000000{{{b{ADb}}Hn{b{ADd}}}{{Bh{ADfABn}}}}{{{b{AbKn}}Mh}{{b{AbKn}}}}{{{b{AbKn}}I`}{{b{AbKn}}}}{{{b{Mj}}}Gd}{A@fADh}{{L`Bd}L`}{{{b{AbMb}}I`}{{b{AbMb}}}}{{}c{}}000000000000000000000000000000000000000000000000000000{Jn{{Gl{{Dj{KbACb}}Jn}}}}{{{G`{Mj}}}{{G`{AD`}}}}{{}}00000{Jlc{}}111{ABjADj}{KlGd}`{{{b{AAn}}}Bd}{{{b{ABh}}}Bd}{{{b{Gj}}}Bd}{{{b{AbKn}}{Dh{I`}}}{{b{AbKn}}}}<{{L`{Gb{Af}}}L`}```{{{b{Df}}}{{Dh{I`}}}}```{{{b{Jl}}}{{Dh{Jd}}}}```{{{b{AbKj}}{Dh{I`}}}{{b{AbKj}}}}{{{b{AbKn}}Kl}{{b{AbKn}}}}0`{{{b{Kb}}}{{Dh{Bf}}}}{{{b{AbKn}}{Dh{ADl}}}{{b{AbKn}}}}{{{b{AbKh}}Bf}{{b{AbKh}}}}```{{{b{Gj}}}{{b{ADn}}}}{{{b{AbKh}}Bd}{{b{AbKh}}}}{{{b{AbKn}}Mh}{{b{AbKn}}}}{{{b{AbMb}}Mh}{{b{AbMb}}}}{{{b{AbKn}}{Dh{Mb}}}{{b{AbKn}}}}{{{b{Gj}}}f}{{{b{ABh}}}Bd}{{{Ej{ADb}}{Ej{Lj}}}Kh}{{ADhAAhGd}A@f}{{}A@n}``{{{b{Gj}}}{{Gl{Af}}}}{{{b{Gj}}}Gf}```{{{b{AbMj}}MfMfGdBd{b{AE`}}}f}{{{b{AbMj}}MfMfBdGd}f}{{{b{AbMj}}MfGdBd{Dh{Gd}}}f}{{{b{AbMj}}Mh}f}{{{b{AbMj}}MfGdGd}f}{{{b{Ll}}{b{Ab{A`{j}}}}{b{{A`{j}}}}}{{Bh{{b{Ab{A`{j}}}}ABl}}}}{{{b{Kb}}}AEb}{{{b{Kb}}}AEd}{{{b{AbKn}}Hn}{{b{AbKn}}}}{{{b{Kl}}{b{Kl}}}{{Dh{B`}}}}{{{b{A@f}}{b{A@f}}}{{Dh{B`}}}}{{{b{A@h}}{b{A@h}}}{{Dh{B`}}}}{{{b{A@j}}{b{A@j}}}{{Dh{B`}}}}```{{L`A@l}L`}{{{b{Kb}}}{{Dh{{G`{AD`}}}}}}6`{{{AEf{{b{AbAEd}}}}{b{AbAEh}}}AEj}{{{AEf{{b{AbAEb}}}}{b{AbAEh}}}AEj}{{{AEf{{b{AbKf}}}}{b{AbAEh}}}AEj}{{{AEf{{b{AbKd}}}}{b{AbAEh}}}AEj}{{{AEf{{b{AbAEl}}}}{b{AbAEh}}}AEj}{{{AEf{{b{AbJj}}}}{b{AbAEh}}}{{AEj{c}}}{}}{{{AEf{{b{AbAC`}}}}{b{AbAEh}}}{{AEj{c}}}{}}{{{AEf{{b{AbJn}}}}{b{AbAEh}}}{{AEj{c}}}{}}{{{AEf{{b{AbACb}}}}{b{AbAEh}}}{{AEj{c}}}{}}{{{AEf{{b{AbAB`}}}}{b{AbAEh}}}{{AEj{{Bh{fAEn}}}}}}{{{AEf{{b{AbAAn}}}}{b{AbAEh}}{b{AbAF`}}}{{AEj{{Bh{fAEn}}}}}}{{{b{AbAAn}}{b{AbAEh}}{b{Ab{A`{j}}}}}{{AEj{{Bh{BfN`}}}}}}2{{{AEf{{b{AbAB`}}}}{b{AbAEh}}{b{{A`{j}}}}}{{AEj{{Bh{BfAEn}}}}}}{{{AEf{{b{AbAB`}}}}{b{AbAEh}}{b{{A`{j}}}}}{{AEj{{Bh{BfNf}}}}}}{{{b{AbKh}}{Dh{Ln}}}{{b{AbKh}}}}{{{b{AbKh}}{Dh{M`}}}{{b{AbKh}}}}{{{b{AB`}}}{{Bh{AFbOh}}}}{L`L`}{{L`Dn}L`}{{{b{AbAAn}}{b{Ab{A`{j}}}}}{{Bh{{Dh{Bf}}N`}}}}{{{b{AbAAn}}BfBd}{{Bh{{Dh{ABd}}N`}}}}{{{b{AbAAn}}{b{Ab{A`{AFd}}}}}{{Bh{{Dh{Bf}}N`}}}}{{{b{Kb}}}AEl}{{{b{AbAAn}}{b{Ab{A`{j}}}}}{{Bh{fNd}}}}{{{b{AbAAn}}Bf}{{Bh{{Gb{j}}Mn}}}}```{{{b{AbKn}}Bd}{{b{AbKn}}}}{{{b{AbKn}}Kl}{{b{AbKn}}}}{{{b{AbAAn}}}{{Bh{{Dh{Kl}}Nb}}}}{Jlf}{{L`Aj}L`}{{{b{AA`}}}Al}{{L`AA`}L`}`{{{b{Jl}}}Bn}{{{b{Jl}}}Bd}{{{b{Gj}}Gf}{{Dh{Df}}}}{{{b{Gj}}}{{`{{C`{}{{Bl{Df}}}}}}}}{{{b{Kb}}}{{Gl{Gf}}}}{{{b{AbKj}}Kl}{{b{AbKj}}}}{{{b{AbAB`}}Kl}{{Bh{fOh}}}}``{Jl{{Gl{fABj}}}}{{{b{ADb}}Hn{b{ADd}}{b{{A`{j}}}}}{{l{j}}}}{{{b{AbKh}}I`}{{b{AbKh}}}}{{{b{Kb}}}I`}`{{Klc}Kl{{Ij{Kl}}}}{{{b{Ll}}{b{Ab{Gb{j}}}}{b{{A`{j}}}}}{{Bh{fABl}}}}{{L`Ad}L`}{{{b{Gj}}}{{b{Ad}}}}{{{b{Kb}}AFd}{{Gl{fMl}}}}{{{b{AbKn}}Bd}{{b{AbKn}}}}0{{{b{AbKn}}Gd}{{b{AbKn}}}}``{{{b{Od}}c}BhF`}{{{b{Of}}c}BhF`}{{{b{Df}}c}BhF`}{{{b{Oj}}c}BhF`}{{{b{Ol}}c}BhF`}{{{b{Gj}}{Gb{{Gb{j}}}}}f}{{{b{Kb}}Kl}f}0{{{b{AB`}}AFb}{{Bh{fOh}}}}1{{{b{Gj}}{Dh{H`}}}f}{{{b{Ml}}}{{Dh{{b{n}}}}}}{{{b{Mn}}}{{Dh{{b{n}}}}}}{{{b{N`}}}{{Dh{{b{n}}}}}}{{{b{Nb}}}{{Dh{{b{n}}}}}}{{{b{Nd}}}{{Dh{{b{n}}}}}}{{{b{Nf}}}{{Dh{{b{n}}}}}}{{{b{Nh}}}{{Dh{{b{n}}}}}}{{{b{K`}}}{{Dh{{b{n}}}}}}{{{b{Df}}}{{Gb{{Dj{OlI`}}}}}}`{{{b{Kb}}}Bf}{{{Ej{ADb}}Hn{b{AFf}}}{{G`{AFh}}}}{{{b{Kb}}}O`}{{{b{AbAAn}}Kl}{{Bh{fOh}}}}`{{{b{AbAB`}}}{{Bh{{Dh{Kl}}Nh}}}}``{{{b{AbKn}}Kl}{{b{AbKn}}}}``{{{b{AbKh}}{Ej{AFj}}}{{b{AbKh}}}}{{{b{AbKn}}AFl}{{b{AbKn}}}}{L`L`}0{bc{}}0000000000000000000000000000000000{bCj}0000000000000000000{{{b{AbKh}}{Ej{Lj}}}{{b{AbKh}}}}`{{{b{AbKh}}{Ej{Kn}}}{{b{AbKh}}}}{{L`Kn}L`}{c{{Bh{e}}}{}{}}0000000000000000{AFn{{Bh{KlACn}}}}{Bf{{Bh{KlACn}}}}{Gd{{Bh{KlACn}}}}33333333333333333333333333333333333333{{}{{Bh{c}}}{}}000000000000000000000000000000000000000000000000000000{{{AEf{{b{Abc}}}}{b{AbAEh}}}AEj{}}000000`{bFd}000000000000000000000000000000000000000000000000000000``{{{b{AbMb}}Mh}{{b{AbMb}}}}{{L`H`}L`}`{{{b{AbKh}}AG`}{{b{AbKh}}}}{{}c{}}000000000000000000000000000000000000000000000000000000{{{b{Mj}}}Gd}{{A@n{Gb{{Gb{j}}}}}A@n}{{{Ej{ADb}}}Kh}{{{Gb{AGb}}AGd}{{Bh{KhAGf}}}}{{A@n{Ej{Kn}}}A@n}{{{b{AbAB`}}{b{{A`{j}}}}}{{Bh{BfNf}}}}{{{b{AbAB`}}{b{{A`{j}}}}}{{Bh{fNf}}}}{{{b{AbAB`}}{b{Ab{A`{AFd}}}}}{{Bh{fNf}}}}{{{b{AbAB`}}AFd}{{Bh{fNf}}}}{{{b{AbAB`}}{b{Ab{A`{AFd}}}}}{{Bh{ObNf}}}}```````{{bd}f}`````````{b{{b{AGh}}}}00{b{{b{c}}}{}}000{{{b{Ab}}}{{b{Abc}}}{}}000``{{{b{ADn}}}ADn}{{b{b{Abc}}}f{}}{{bj}f}{{}{{Bb{c}}}{}}000{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}000{b{{Bb{{b{c}}}}}{}}000```{{}AGj}{{}AGl}{{}AGn}{{}ADn}{Bf{{b{c}}}{}}000{Bf{{b{Abc}}}{}}000{c{{Bh{AGj}}}Bj}{c{{Bh{AGl}}}Bj}{c{{Bh{ADn}}}Bj}````{Bff}000`{{{b{AGj}}}Bf}{{{b{AGl}}}Bf}{{{b{AGn}}}Bf}{{{b{AGj}}Bf}{{Dh{AH`}}}}{{{b{AGl}}Bf}{{Dh{AH`}}}}{{{b{AGn}}Bf}{{Dh{AH`}}}}{{{b{AGj}}{b{AbCb}}}{{Bh{fCd}}}}{{{b{AGl}}{b{AbCb}}}Fl}{{{b{AGn}}{b{AbCb}}}{{Bh{fCd}}}}{{{b{ADn}}{b{AbCb}}}Fl}`{cc{}}000{{{b{c}}}c{}}`{{{b{ADn}}}{{`{{C`{}{{Bl{{b{AHb}}}}}}}}}}{{{b{ADn}}}{{`{{C`{}{{Bl{{Ej{AHb}}}}}}}}}}{{}Bf}000{{}c{}}000````{{{b{AGj}}}{{b{Ed}}}}{{{b{AGl}}}{{b{Ed}}}}{{{b{AGn}}}{{b{Ed}}}}{{{b{ADn}}}{{b{Ed}}}}```````````````````````````````````````````````{{{b{AGj}}c}BhF`}{{{b{AGl}}c}BhF`}{{{b{ADn}}c}BhF`}{bc{}}{c{{Bh{e}}}{}{}}000{{}{{Bh{c}}}{}}000{bFd}000```````{{}c{}}000````````{{bd}f}0000{{{b{AHd}}}AHf}{b{{b{AGh}}}}{{AHhAHfAHj}{{Dh{{Ej{AHl}}}}}}{b{{b{c}}}{}}000000{{{b{Ab}}}{{b{Abc}}}{}}000000``{{{b{AHn}}}AHn}{{{b{AI`}}}AI`}{{{b{AIb}}}AIb}{{{b{AId}}}AId}{{{b{AHf}}}AHf}{{b{b{Abc}}}f{}}0000{{bj}f}0000{{}{{Bb{c}}}{}}000000{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}000000{b{{Bb{{b{c}}}}}{}}000000{{}AIf}{{}AI`}{{}AIb}{{}AId}{Bf{{b{c}}}{}}000000{Bf{{b{Abc}}}{}}000000{c{{Bh{AIf}}}Bj}5{Bff}000000`{{{b{AIb}}{b{AIb}}}Bd}{{{b{AId}}{b{AId}}}Bd}{{b{b{c}}}Bd{}}00000{{{b{AIf}}}Bf}{{{b{AIf}}Bf}{{Dh{AH`}}}}{{{b{AIf}}{b{AbCb}}}Fl}{{{b{AHn}}{b{AbCb}}}Fl}{{{b{AI`}}{b{AbCb}}}Fl}{{{b{AIb}}{b{AbCb}}}Fl}0{{{b{AId}}{b{AbCb}}}Fl}{{{b{AHd}}{b{AbCb}}}Fl}{{{b{AHf}}{b{AbCb}}}Fl}{cc{}}000000{{{b{c}}}c{}}0000{{{b{AbAHd}}AlAI`}{{Gl{{Ej{AIb}}}}}}```{{AI`Bd}AI`}00``{{}Bf}000000{{}c{}}000000``````{{{b{AId}}}{{`{{C`{}{{Bl{{Dj{{b{Ah}}I`}}}}}}}}}}``{{{b{AIf}}}{{b{Ed}}}}{{{Dh{AIh}}Il{Dh{`}}{Ej{AIf}}}{{Gl{AHd}}}}```{{AI`{Dh{AHn}}}AI`}{{{b{AHf}}AFdBn}f}`````{{{b{AIf}}c}BhF`}`````{{AI`{Dh{{Ej{AHl}}}}}AI`}0{bc{}}0000{bCj}{c{{Bh{e}}}{}{}}000000{{}{{Bh{c}}}{}}000000{bFd}000000`{{}c{}}000000```````{{bd}f}00{{{b{AbGh}}c}f{{Eb{}{{Bl{Bn}}}}}}{b{{b{n}}}}{{{b{H`}}}{{b{Ed}}}}{b{{b{c}}}{}}000{{{b{Ab}}}{{b{Abc}}}{}}000{{{b{AbGh}}}f}{{{b{Gh}}}Gh}{{{b{H`}}}H`}{{{b{Dd}}}Dd}{{b{b{Abc}}}f{}}00{{bj}f}00{{{b{H`}}{b{H`}}}B`}{{b{b{c}}}B`{}}{{}{{Bb{c}}}{}}000{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}000{b{{Bb{{b{c}}}}}{}}000`{{}Gh}{Bf{{b{c}}}{}}000{{{b{Dd}}}b}{Bf{{b{Abc}}}{}}000{{{b{AbDd}}}{{b{Ab}}}}{{{b{Gh}}}{{b{{AAj{Bn}}}}}}{Bff}000{{{b{Gh}}{b{Gh}}}Bd}{{{b{H`}}{b{H`}}}Bd}{{{b{Dd}}{b{Dd}}}Bd}{{b{b{c}}}Bd{}}00000000{{{b{Gh}}{b{AbCb}}}{{Bh{fCd}}}}{{{b{H`}}{b{AbCb}}}{{Bh{fCd}}}}0{{{b{AIj}}{b{AbCb}}}{{Bh{fCd}}}}0{{{b{Dd}}{b{AbCb}}}{{Bh{fCd}}}}{AfGh}{cc{}}000{{{AIn{AIl}}}Dd}{FjDd}{AfDd}{{{b{{AIn{AIl}}}}}Dd}{{hGh}Dd}{{{b{Hl}}}{{Bh{DdEf}}}}{{{b{c}}}c{}}00{{{b{Ed}}}{{Bh{H`}}}}{Jh{{Bh{DdEf}}}}{{{b{Ed}}}{{Bh{hEf}}}}{{{b{H`}}{b{Abc}}}fEl}{{}Bf}000{{}c{}}000{DdAf}{{{Dh{Ah}}{AAj{Bn}}}Gh}{hDd}`{{{b{H`}}{b{H`}}}{{Dh{B`}}}}{{{b{Gh}}}{{Dh{{b{Ah}}}}}}{{{b{AbGh}}{Dh{Ah}}}f}{{{b{AbGh}}{Dh{H`}}}f}{{{b{Dd}}}Af}{bc{}}00{{{b{Dd}}{b{Ad}}Hn}{{Bh{HlEf}}}}{bCj}0{{{b{Dd}}}{{Gb{Cj}}}}{{{b{AJ`}}}Cj}{c{{Bh{e}}}{}{}}0{Cj{{Bh{H`}}}}11{{}{{Bh{c}}}{}}000{bFd}000{{{b{Gh}}}{{Dh{{b{H`}}}}}}{{}c{}}000{{Gh{AAj{Bn}}}Gh}{{Dd{AAj{Bn}}}Dd}{{Gh{Dh{Ah}}}Gh}{{Dd{Dh{Ah}}}Dd}{{Gh{Dh{H`}}}Gh}{{Dd{Dh{H`}}}Dd}````{{bd}f}0{{{b{AJb}}Kb}{{AJd{{Gl{f}}}}}}{{AJfce}AJf{{AJh{{A`{j}}}}}AJb}{{{b{{AJj{c}}}}Kb}{{AJd{{Gl{f}}}}}{AJbAJl}}{b{{b{c}}}{}}00{{{b{Ab}}}{{b{Abc}}}{}}00{GjAJf}{{{b{AJn}}}AJn}{{{b{{AJj{c}}}}}{{AJj{c}}}{AJlAJbAJl}}{{b{b{Abc}}}f{}}0{{bj}f}0{{}{{Bb{c}}}{}}00{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}00{b{{Bb{{b{c}}}}}{}}00{Bf{{b{c}}}{}}00{Bf{{b{Abc}}}{}}00{Bff}00{{{b{AJn}}}{{b{Gj}}}}{{{b{AJf}}}{{b{Gj}}}}{{{b{AJn}}{b{AbCb}}}Fl}{{{b{AJf}}{b{AbCb}}}Fl}{{{b{{AJj{c}}}}{b{AbCb}}}Fl{AK`AJbAJl}}{cc{}}00{{{b{c}}}c{}}0{{}Bf}00{{}c{}}00{{{b{AJn}}}Bd}{GjAJf}{{ce}{{AJj{c}}}{AJbAJl}{{AKb{Gf}{{Lb{Bd}}}}LfLh}}{{{b{AJb}}Jn}{{AJd{{Gl{Kb}}}}}}{{{b{{AJj{c}}}}Jn}{{AJd{{Gl{Kb}}}}}{AJbAJl}}{{{b{AJb}}}{{AJd{f}}}}{{{b{AJn}}}{{Gl{f}}}}{{{b{{AJj{c}}}}}{{AJd{f}}}{AJbAJl}}{AJfAJn}{bc{}}0{c{{Bh{e}}}{}{}}00{{}{{Bh{c}}}{}}00{bFd}00{{}c{}}00``{b{{b{c}}}{}}0{{{b{Ab}}}{{b{Abc}}}{}}0{{}{{Bb{c}}}{}}0{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}0{b{{Bb{{b{c}}}}}{}}0{Bf{{b{c}}}{}}0{Bf{{b{Abc}}}{}}0{{{b{AKd}}Ad}{{G`{Ff}}}}{{{b{AKd}}}Il}{Bff}0{{{b{AKf}}{b{AbCb}}}Fl}{{{b{AKd}}{b{AbCb}}}Fl}{cc{}}0{{}Bf}0{{}c{}}0``{{{b{AKd}}{b{Gf}}I`}{{Gl{f}}}}`{{}{{Gl{AKd}}}}{{}{{Gl{{Dj{AlAhAKh}}}}}}{{{Dh{AKj}}Bd}{{Gl{{Dj{AlAhAKh}}}}}}1{Cj{{Gl{AKd}}}}{c{{Bh{e}}}{}{}}0{{}{{Bh{c}}}{}}0{bFd}0{{}c{}}0``````{{bd}f}00{b{{b{n}}}}{b{{b{c}}}{}}00000{{{b{Ab}}}{{b{Abc}}}{}}00000{{{b{{AKl{c}}}}}{{AKl{c}}}{}}{{{b{{AAb{c}}}}}{{AAb{c}}}AJl}{{{b{{AKn{c}}}}}{{AKn{c}}}AJl}{{b{b{Abc}}}f{}}00{{bj}f}00{{}{{Bb{c}}}{}}00000{{{b{Ab}}}{{Bb{{b{Abc}}}}}{}}00000{b{{Bb{{b{c}}}}}{}}00000{{}{{AKl{c}}}AL`}{Bf{{b{c}}}{}}00000{Bf{{b{Abc}}}{}}00000{Bff}00000{{{b{{AKl{c}}}}{b{AbCb}}}FlAK`}{{{b{{AAb{c}}}}{b{AbCb}}}FlAK`}{{{b{{ALb{c}}}}{b{AbCb}}}FlAK`}{{{b{{ALd{c}}}}{b{AbCb}}}FlAK`}{{{b{{AKn{c}}}}{b{AbCb}}}FlAK`}{{{b{ALf}}{b{AbCb}}}Fl}0{cc{}}00000{{{b{c}}}c{}}00{{{b{{AKl{c}}}}}c{AJlALh}}{{{b{{AAb{c}}}}}{{Bh{cALf}}}{AJlALh}}{{}Bf}00000{{{b{Ab{AAb{{Dh{c}}}}}}}{{ALd{c}}}{AJlALh}}{{}c{}}00000{{}}0{c{{AKl{c}}}{AJlALh}}{{{AEf{{b{Ab{ALb{c}}}}}}{b{AbAEh}}}{{AEj{e}}}{AJlALh}{}}{{{AEf{{b{Ab{ALd{c}}}}}}{b{AbAEh}}}{{AEj{e}}}{AJlALh}{}}{{{AEf{{b{Ab{AKn{c}}}}}}{b{AbAEh}}}{{AEj{{Dh{e}}}}}{AJlALh}{}}{{{b{{ALl{ALjceg}}}}}{{ALn{iceg}}}AM`AMbAMd{}}{{{b{{ALl{ALjceg}}}}AMf}{{ALn{iceg}}}AM`AMbAMd{}}{{{b{{AKl{c}}}}c}{{Bh{cc}}}{AJlALh}}{{{AAb{c}}}{{AKn{c}}}{AJlALh}}0{bc{}}00{bCj}{c{{Bh{e}}}{}{}}00000{{}{{Bh{c}}}{}}00000{{{AEf{{b{Abc}}}}{b{AbAEh}}}AEj{}}0{{{AEf{{b{Abc}}}}{b{AbAEh}}}{{AEj{{Dh{Bh}}}}}{}}{bFd}00000{{{b{Ab{AAb{c}}}}}{{ALb{c}}}{AJlALh}}{{}c{}}00000{{{b{{AKl{c}}}}}{{AAb{c}}}{AJlALh}}","D":"GCl","p":[[1,"reference",null,null,1],[5,"Private",3268],[1,"unit"],[5,"PublicKey",0,3269],[1,"u8"],[1,"array"],[10,"Error",3270],[1,"slice"],[0,"mut"],[5,"SecretKey",0,3269],[5,"NodeAddr",0,3271],[5,"RelayUrl",0,3272],[6,"RelayProtocol",0],[5,"RelayMap",0,3273],[5,"RelayNode",0,3273],[6,"Ordering",3274],[5,"Compat",3275],[1,"bool"],[1,"usize"],[6,"Result",3276,null,1],[10,"Deserializer",3277],[17,"Item"],[6,"SocketAddr",3278],[10,"Iterator",3279],[5,"Formatter",3280],[5,"Error",3280],[6,"KeyParsingError",0,3269],[5,"RelayUrlParseError",0,3272],[5,"String",3281],[5,"VerifyingKey",3282],[5,"Error",3283],[5,"DecodeError",3284],[5,"SigningKey",3285],[5,"NodeInfo",2854,3286],[5,"RemoteInfo",711,3287],[6,"Option",3288,null,1],[1,"tuple",null,null,1],[5,"NodeTicket",3289],[5,"Url",3290],[6,"ParseError",3291],[10,"IntoIterator",3292],[1,"str"],[5,"Error",3293],[10,"CryptoRngCore",3294],[5,"Arc",3295,null,1],[10,"Hasher",3296],[5,"HeaderValue",3297],[10,"Serializer",3298],[5,"Signature",3299],[5,"TypeId",3300],[5,"ConcurrentDiscovery",362],[10,"Discovery",362],[5,"DiscoveryItem",362],[8,"Result",3280],[5,"Lagged",362],[5,"Box",3301,null,1],[5,"Vec",3302],[1,"u64"],[8,"NodeId",0,3269],[5,"NodeData",2854,3286],[5,"Endpoint",711],[8,"Result",3293],[8,"Boxed",3303],[5,"UserData",2854,3286],[5,"DnsDiscovery",452],[5,"MdnsDiscovery",474],[5,"PkarrPublisher",496],[5,"PkarrResolver",496],[5,"PkarrRelayClient",496],[5,"SignedPacket",3304],[1,"u32"],[5,"Duration",3305],[5,"Builder",581],[5,"DhtDiscovery",581],[5,"Client",3306],[5,"StaticProvider",636],[10,"Into",3307],[5,"DnsResolver",669,3308],[5,"TokioRuntimeProvider",3309],[5,"GenericConnector",3310],[5,"Resolver",3311],[6,"IpAddr",3312],[10,"ToString",3281],[5,"TxtLookup",3308],[5,"Accept",711],[5,"Incoming",711],[5,"Connecting",711],[6,"ConnectionError",711,3313],[5,"Connection",711],[5,"AcceptBi",711,3314],[5,"AcceptUni",711,3314],[5,"ServerConfig",711,3315],[5,"AckFrequencyConfig",711,3316],[5,"VarInt",711,3317],[5,"TransportConfig",711,3316],[5,"Builder",711],[17,"Output"],[10,"FnOnce",3318],[10,"Send",3319],[10,"Sync",3319],[10,"HandshakeTokenKey",711,3320],[10,"AeadKey",711,3320],[5,"SocketAddrV4",3278],[5,"SocketAddrV6",3278],[5,"MtuDiscoveryConfig",711,3316],[10,"ControllerFactory",711,3321],[5,"Instant",3322],[1,"u16"],[10,"Controller",711,3321],[6,"SendDatagramError",711,3314],[6,"ReadToEndError",711,3323],[6,"ReadError",711,3323],[6,"ResetError",711,3323],[6,"ReadExactError",711,3323],[6,"WriteError",711,3324],[6,"StoppedError",711,3324],[5,"UdpStats",711,3325],[5,"FrameStats",711,3325],[5,"PathStats",711,3325],[5,"ConnectionStats",711,3325],[5,"Written",711,3326],[6,"ControlMsg",711,3287],[5,"DirectAddrInfo",711,3287],[5,"ClosedStream",711,3327],[6,"ConnectionType",711,3287],[6,"Source",711,3328],[5,"ConnectionClose",711,3329],[5,"ApplicationClose",711,3329],[5,"TransportError",711],[5,"TransportErrorCode",711],[5,"StreamId",711,3330],[5,"DirectAddr",711,3331],[6,"DirectAddrType",711,3331],[6,"PathSelection",711],[5,"ConnectOptions",711],[6,"RelayMode",711],[5,"Watcher",3125],[5,"UnexpectedEnd",3332],[10,"Buf",3333],[6,"Dir",3330],[5,"BTreeSet",3334],[10,"Stream",3335],[5,"RecvStream",711,3323],[5,"SendStream",711,3324],[10,"BufMut",3336],[5,"Chunk",711,3337],[5,"ExportKeyingMaterialError",711,3320],[5,"WeakConnectionHandle",711,3314],[5,"RetryError",711,3338],[5,"CryptoError",711,3320],[5,"UnsupportedVersion",711,3320],[5,"IncomingFuture",711],[5,"ZeroRttAccepted",711],[6,"ReadableError",3339],[6,"Close",3329],[5,"Unspecified",3340],[6,"Error",3341],[5,"InvalidFrame",3329],[5,"VarIntBoundsExceeded",3317],[10,"Any",3300],[10,"CryptoServerConfig",711],[5,"ConnectionId",3342],[5,"Keys",3320],[6,"Side",3330],[5,"Incoming",3338],[5,"IdleTimeout",3316],[5,"EndpointMetrics",2462],[5,"RttEstimator",3343],[5,"OpenBi",711,3314],[5,"OpenUni",711,3314],[5,"Pin",3344],[5,"Context",3345],[6,"Poll",3346],[5,"ReadDatagram",711,3314],[5,"Error",3347],[5,"ReadBuf",3348],[1,"i32"],[5,"Bytes",3349],[5,"TransportParameters",3341],[10,"Session",3320],[10,"TimeSource",3315],[1,"f32"],[1,"u128"],[5,"ValidationTokenConfig",3315],[5,"CertificateDer",3350],[6,"PrivateKeyDer",3350],[6,"Error",3351],[10,"Iterable",3352],[5,"PortmapMetrics",2462],[5,"MagicsockMetrics",2462],[5,"RelayMetrics",2462],[5,"MetricItem",3353],[10,"MetricsGroup",3353],[5,"Client",2642],[5,"Addr",2642],[6,"IpFamily",3354],[5,"CancellationToken",3355],[5,"UdpSocket",3356],[5,"QuicConfig",2642,3357],[5,"Options",2642,3358],[5,"Report",2642],[5,"RelayLatencies",2642],[5,"Metrics",2642,3359],[5,"Client",3360],[5,"MaxLengthExceededError",2854,3286],[6,"IrohAttr",3286],[5,"TxtAttrs",3286],[10,"NodeIdExt",2854,3286],[10,"ProtocolHandler",3001],[8,"Boxed",3361],[5,"RouterBuilder",3001],[10,"AsRef",3307],[5,"AccessLimit",3001],[10,"Clone",3362],[5,"Router",3001],[10,"Debug",3280],[10,"Fn",3318],[5,"DnsPkarrServer",3080,3363],[5,"CleanupDropGuard",3080],[5,"Server",3364],[5,"StunConfig",3364],[5,"Watchable",3125],[5,"WatcherStream",3125],[10,"Default",3365],[5,"WatchNextFut",3125],[5,"WatchInitializedFut",3125],[5,"Disconnected",3125],[10,"Eq",3274],[6,"NotKeyed",3366],[5,"RateLimiter",3367],[5,"RatelimitedStream",3368],[10,"DirectStateStore",3366],[10,"ReasonablyRealtime",3369],[10,"RateLimitingMiddleware",3370],[5,"Jitter",3371],[15,"Discovery",2460],[15,"NamedApp",2460]],"r":[[2,711],[4,3269],[6,3271],[7,3269],[8,3269],[10,3273],[11,711],[12,3273],[14,3272],[15,3272],[16,3269],[256,3372],[346,3373],[347,3373],[366,3286],[367,3286],[368,3286],[453,3308],[454,3308],[669,3308],[670,3308],[671,3308],[714,3314],[715,3314],[716,3316],[717,3320],[720,3329],[727,3337],[729,3327],[735,3329],[737,3313],[743,3325],[744,3287],[745,3287],[746,3321],[747,3321],[748,3320],[753,3331],[754,3287],[755,3331],[761,3320],[766,3325],[767,3320],[779,3316],[784,3314],[785,3314],[788,3325],[793,3314],[794,3323],[796,3323],[797,3323],[798,3323],[803,3287],[806,3323],[807,3338],[811,3314],[812,3324],[813,3315],[814,3328],[817,3324],[818,3330],[825,3316],[830,3325],[833,3320],[834,3317],[836,3314],[837,3324],[838,3326],[2644,3359],[2645,3358],[2646,3357],[2656,3374],[2854,3286],[2856,3286],[2857,3286],[2858,3286],[2859,3286],[2860,3286],[3081,3363]],"b":[[170,"impl-Debug-for-PublicKey"],[171,"impl-Display-for-PublicKey"],[172,"impl-Debug-for-KeyParsingError"],[173,"impl-Display-for-KeyParsingError"],[174,"impl-Display-for-SecretKey"],[175,"impl-Debug-for-SecretKey"],[177,"impl-Display-for-RelayUrl"],[178,"impl-Debug-for-RelayUrl"],[179,"impl-Display-for-RelayUrlParseError"],[180,"impl-Debug-for-RelayUrlParseError"],[182,"impl-Debug-for-RelayMap"],[183,"impl-Display-for-RelayMap"],[184,"impl-Display-for-RelayNode"],[185,"impl-Debug-for-RelayNode"],[190,"impl-From%3CError%3E-for-KeyParsingError"],[191,"impl-From%3CDecodeError%3E-for-KeyParsingError"],[192,"impl-From%3C%5Bu8;+32%5D%3E-for-SecretKey"],[193,"impl-From%3CSigningKey%3E-for-SecretKey"],[195,"impl-From%3CNodeInfo%3E-for-NodeAddr"],[196,"impl-From%3CRemoteInfo%3E-for-NodeAddr"],[198,"impl-From%3CPublicKey%3E-for-NodeAddr"],[199,"impl-From%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[200,"impl-From%3CNodeTicket%3E-for-NodeAddr"],[207,"impl-From%3CRelayNode%3E-for-RelayMap"],[208,"impl-From%3CRelayUrl%3E-for-RelayMap"],[213,"impl-FromIterator%3CRelayUrl%3E-for-RelayMap"],[214,"impl-FromIterator%3CRelayNode%3E-for-RelayMap"],[297,"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey"],[298,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey"],[406,"impl-Debug-for-Lagged"],[407,"impl-Display-for-Lagged"],[1654,"impl-Debug-for-SendDatagramError"],[1655,"impl-Display-for-SendDatagramError"],[1656,"impl-Display-for-RetryError"],[1657,"impl-Debug-for-RetryError"],[1659,"impl-Debug-for-ReadToEndError"],[1660,"impl-Display-for-ReadToEndError"],[1661,"impl-Display-for-ReadError"],[1662,"impl-Debug-for-ReadError"],[1663,"impl-Debug-for-ResetError"],[1664,"impl-Display-for-ResetError"],[1665,"impl-Debug-for-ReadExactError"],[1666,"impl-Display-for-ReadExactError"],[1668,"impl-Display-for-WriteError"],[1669,"impl-Debug-for-WriteError"],[1670,"impl-Display-for-StoppedError"],[1671,"impl-Debug-for-StoppedError"],[1673,"impl-Debug-for-VarInt"],[1674,"impl-Display-for-VarInt"],[1681,"impl-Debug-for-ControlMsg"],[1682,"impl-Display-for-ControlMsg"],[1685,"impl-Debug-for-ClosedStream"],[1686,"impl-Display-for-ClosedStream"],[1687,"impl-Debug-for-ConnectionType"],[1688,"impl-Display-for-ConnectionType"],[1689,"impl-Debug-for-Source"],[1690,"impl-Display-for-Source"],[1691,"impl-Debug-for-ConnectionError"],[1692,"impl-Display-for-ConnectionError"],[1699,"impl-Debug-for-ConnectionClose"],[1700,"impl-Display-for-ConnectionClose"],[1701,"impl-Debug-for-ApplicationClose"],[1702,"impl-Display-for-ApplicationClose"],[1703,"impl-Display-for-TransportError"],[1704,"impl-Debug-for-TransportError"],[1705,"impl-Display-for-TransportErrorCode"],[1706,"impl-Debug-for-TransportErrorCode"],[1707,"impl-Debug-for-StreamId"],[1708,"impl-Display-for-StreamId"],[1710,"impl-Display-for-DirectAddrType"],[1711,"impl-Debug-for-DirectAddrType"],[1741,"impl-From%3CResetError%3E-for-ReadError"],[1742,"impl-From%3CReadableError%3E-for-ReadError"],[1743,"impl-From%3CConnectionError%3E-for-ReadError"],[1749,"impl-From%3CConnectionError%3E-for-WriteError"],[1751,"impl-From%3CClosedStream%3E-for-WriteError"],[1752,"impl-From%3CStoppedError%3E-for-WriteError"],[1756,"impl-From%3CStreamId%3E-for-VarInt"],[1757,"impl-From%3Cu8%3E-for-VarInt"],[1758,"impl-From%3Cu16%3E-for-VarInt"],[1759,"impl-From%3Cu32%3E-for-VarInt"],[1773,"impl-From%3CClose%3E-for-ConnectionError"],[1775,"impl-From%3CTransportError%3E-for-ConnectionError"],[1787,"impl-From%3CError%3E-for-TransportError"],[1788,"impl-From%3CInvalidFrame%3E-for-TransportError"],[1789,"impl-From%3CTransportErrorCode%3E-for-TransportError"],[2067,"impl-AsyncRead-for-RecvStream"],[2068,"impl-RecvStream"],[2070,"impl-AsyncWrite-for-SendStream"],[2071,"impl-SendStream"],[2230,"impl-TryFrom%3Cu128%3E-for-VarInt"],[2231,"impl-TryFrom%3Cusize%3E-for-VarInt"],[2232,"impl-TryFrom%3Cu64%3E-for-VarInt"],[2750,"impl-Display-for-Report"],[2751,"impl-Debug-for-Report"],[2929,"impl-Display-for-UserData"],[2930,"impl-Debug-for-UserData"],[2931,"impl-Display-for-MaxLengthExceededError"],[2932,"impl-Debug-for-MaxLengthExceededError"],[2939,"impl-From%3CTxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[2940,"impl-From%3CDiscoveryItem%3E-for-NodeInfo"],[2941,"impl-From%3CNodeAddr%3E-for-NodeInfo"],[2942,"impl-From%3C%26TxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[3198,"impl-Display-for-Disconnected"],[3199,"impl-Debug-for-Disconnected"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAACYJugADAAAADAAAABMABgAbAE0AagAAAGwAFwCIAAgAkwAnALwAAAC/AAMAxAABAMcAAQDKAAAAzQAAANAAAADTAAAA1wAAANkACgDmAAoABAEDAA8BBAAVAQEAGwEsAEwBCAByAQAAdAESAIgBBwCRAQIAlQEDAJsBAACdAQAAnwECAK8BAACxAQAAtAEAALYBCgDCAQIAyAEIANIBAADWAQQA3QEIAOcBAADqAQYA+AEgABoCBQAjAgUAMQIAADMCAAA1AgsAQgICAEgCBABQAg4AYAIDAGYCAABoAgEAbwIAAHECAABzAgQAeQIDAH8CAACBAgwAkAIAAJICAACVAgAAlwIAAJkCBAChAgIApQIKALECAgDCAgQATQMiAHYDAAB4AwAAhAMKAJQDbQAKBCIALgRFAHgEAwB9BKgALQUAAC8FAAA0BQEAOgUQAEwFcgDJBTgAAwZuAHYGRQDIBgAAzAYAAM4GAwDTBgAA1gYAANgGAgDdBgMA7gYAAPAGAAD2BgAA+AYAAPwGAgAABwAADwciADcHAAA5BwQAQgcAAEYHNgC9BwkA3gcAAOIHAgDvBwEA9AcAAP8HAwAECAEACQgLABYIAQA2CAEARwgEAFIIBwBgCAAAYggBAGUIAQBrCDYApggQALoIYwAfCTYAXAk2AKEJAACkCQAApgkSALsJDgDNCQ4A4AkDAOUJCQD0CQAA9gkFAAQKAwAWCgMAGwoHACUKBgAvCgYANwoPAEkKAABOCgMAWgoEAGAKAABiCg0Acgo2AKoKBgCyChEAywoEANkKBgDwCgAA/AoAAAQLGgAgCwYALgsCADILCQA9CxYAVQsKAGELFgB8CwMAggsDAIgLBACVCwAAmgsCAJ4LAQCiCwwAsAsDAL4LAQDCCwYAygsXAOQLAgDqCwQA9gsAAPkLAAD7Cw0ACwwNABsMAwAhDAEALgwHADwMRACHDAIAjAwFAJkMAQCcDAQApAwYAL4MBQA=","P":[[30,"T"],[48,""],[55,"T"],[62,""],[73,"K"],[77,"T"],[104,""],[107,"T"],[111,""],[112,"T"],[126,"D"],[128,"__D"],[131,""],[152,"K"],[170,""],[188,"T"],[190,""],[194,"T"],[195,""],[197,"T"],[198,""],[202,"T"],[204,""],[205,"T"],[207,""],[209,"T"],[210,""],[213,"T"],[215,""],[216,"T"],[223,""],[227,"R"],[228,""],[229,"H"],[230,"__H"],[231,""],[240,"U"],[249,""],[270,"S"],[272,"__S"],[275,""],[282,"T"],[289,""],[299,"U,T"],[302,""],[303,"U,T"],[309,"U"],[318,""],[331,"V"],[341,""],[342,""],[370,""],[371,""],[372,"T"],[378,""],[379,"T"],[380,""],[381,"T"],[391,""],[392,"T"],[393,"Deref::Target"],[394,"T"],[400,""],[408,"T"],[413,""],[417,"U"],[420,""],[437,"T"],[438,""],[439,"U,T"],[442,"U"],[445,""],[449,"V"],[455,"T"],[462,""],[464,"T"],[465,""],[466,"U"],[467,""],[470,"U,T"],[471,"U"],[472,""],[473,"V"],[476,"T"],[483,""],[485,"T"],[486,""],[487,"U"],[488,""],[492,"U,T"],[493,"U"],[494,""],[495,"V"],[503,""],[506,"T"],[512,""],[515,"T"],[518,""],[521,"T"],[537,""],[543,"T"],[549,""],[552,"U"],[555,""],[564,"T"],[567,"U,T"],[570,"U"],[573,""],[577,"V"],[580,""],[584,"T"],[588,""],[592,"T"],[593,""],[594,"T"],[600,""],[602,"T"],[606,""],[611,"T"],[614,""],[618,"U"],[620,""],[626,"T"],[627,"U,T"],[629,"U"],[631,""],[634,"V"],[638,""],[639,""],[640,"T"],[642,""],[643,"T"],[644,""],[645,"T"],[648,""],[649,"T"],[651,""],[653,"T"],[654,","],[655,"T"],[656,""],[658,"U"],[659,""],[663,""],[664,"T"],[665,"U,T"],[666,"U"],[667,""],[668,"V"],[672,""],[673,"T"],[675,""],[677,"T"],[678,""],[679,"T"],[682,""],[683,"T"],[685,""],[687,"T"],[688,""],[689,"T"],[690,""],[691,"U"],[692,""],[698,""],[702,""],[703,""],[705,"T"],[706,"U,T"],[707,"U"],[708,""],[709,"V"],[710,""],[888,"D,F"],[889,""],[915,"T"],[1025,""],[1069,"T"],[1104,""],[1148,"K"],[1152,"T"],[1317,""],[1322,""],[1325,""],[1337,"B"],[1340,""],[1355,"T"],[1465,"__D"],[1470,""],[1538,"B"],[1541,""],[1568,"K"],[1651,""],[1728,"T"],[1735,""],[1736,"T"],[1739,""],[1740,"T"],[1741,""],[1745,"T"],[1746,""],[1747,"T"],[1749,""],[1750,"T"],[1751,""],[1754,"T"],[1756,""],[1760,"T"],[1773,""],[1774,"T"],[1775,""],[1776,"T"],[1781,""],[1782,"T"],[1783,""],[1784,"T"],[1787,""],[1790,"T"],[1791,""],[1792,"T"],[1841,""],[1848,"__H"],[1853,""],[1923,"U"],[1978,""],[1986,"IntoFuture::IntoFuture"],[1987,""],[2062,"Future::Output"],[2066,""],[2108,""],[2109,""],[2118,"__S"],[2123,""],[2154,"T"],[2189,""],[2213,"U,T"],[2230,""],[2233,"U,T"],[2271,"U"],[2326,"F"],[2334,""],[2395,"V"],[2450,""],[2480,"T"],[2490,""],[2491,"T"],[2492,""],[2493,"T"],[2508,""],[2512,"T"],[2520,"__D"],[2527,""],[2543,"T"],[2549,""],[2555,"U"],[2563,""],[2614,"__S"],[2617,"T"],[2618,"U,T"],[2622,"U"],[2626,""],[2637,"V"],[2649,""],[2657,"T"],[2673,""],[2678,"T"],[2683,""],[2688,"T"],[2709,""],[2713,"T"],[2727,"__D"],[2728,""],[2739,"K"],[2745,""],[2755,"T"],[2767,""],[2783,"U"],[2796,""],[2811,"__S"],[2817,""],[2819,"T"],[2824,""],[2825,"U,T"],[2832,"U"],[2839,""],[2847,"V"],[2861,""],[2864,""],[2865,""],[2867,"T"],[2875,""],[2879,"T"],[2882,""],[2886,"K"],[2887,"T"],[2900,""],[2901,"T"],[2905,""],[2906,"T"],[2910,""],[2919,"K"],[2928,""],[2935,"T"],[2939,""],[2945,"T"],[2948,""],[2951,"__H"],[2952,""],[2956,"U"],[2960,""],[2969,"T"],[2972,""],[2977,"U,T"],[2979,""],[2980,"U,T"],[2982,"U"],[2986,""],[2991,"V"],[2995,""],[3008,",T"],[3009,"P"],[3010,"T"],[3016,""],[3018,"P"],[3019,"T"],[3021,""],[3023,"T"],[3038,""],[3045,"P"],[3046,"T"],[3051,""],[3054,"U"],[3057,""],[3059,"P,F"],[3060,""],[3061,"P"],[3062,""],[3064,"P"],[3065,""],[3066,"T"],[3068,"U,T"],[3071,"U"],[3074,""],[3077,"V"],[3082,"T"],[3096,""],[3102,"T"],[3104,""],[3106,"U"],[3110,""],[3117,"U,T"],[3119,"U"],[3121,""],[3123,"V"],[3131,""],[3135,"T"],[3153,""],[3156,"T"],[3187,""],[3193,"T"],[3198,""],[3200,"T"],[3211,""],[3217,"T"],[3218,"U"],[3224,""],[3226,"T"],[3227,"T,Future::Output"],[3229,"T,Stream::Item"],[3230,"D,C,MW,S"],[3232,"T"],[3238,""],[3239,"U,T"],[3245,"U"],[3251,"F"],[3253,"S"],[3254,""],[3260,"T"],[3261,"V"],[3267,"T"]]}],["iroh_base",{"t":"TPPPGTFIFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNONNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNPGTPFPKPNNNNNNNNNNNNNNNNNNNMNNNNNNNNNMNNNNNNNNNNO","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","","","","","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"],[181,"iroh_base::ticket"],[229,"iroh_base::ticket::Error"],[230,"iroh_base::key"],[231,"ed25519"],[232,"iroh_base::node_addr"],[233,"iroh_base::relay_url"],[234,"core::cmp"],[235,"core::result"],[236,"serde::de"],[237,"core::net::socket_addr"],[238,"core::iter::traits::iterator"],[239,"core::fmt"],[240,"alloc::string"],[241,"ed25519_dalek::signature"],[242,"ed25519_dalek::verifying"],[243,"ed25519_dalek::errors"],[244,"data_encoding"],[245,"ed25519_dalek::signing"],[246,"iroh_base::ticket::node"],[247,"core::option"],[248,"url"],[249,"url::parser"],[250,"core::iter::traits::collect"],[251,"signature::error"],[252,"rand_core"],[253,"core::hash"],[254,"serde::ser"],[255,"core::error"],[256,"alloc::vec"],[257,"core::any"],[258,"postcard::error"]],"i":"nBl00`b```````002001A`AbAdBn645321064321643216432142116432122642166664455332110046666445553332222110064362664313416453210222421436226364321350`6636432164531066644453321064532106453210422El`Ej1`1`1Cn202000100002200222100020010210002020202F`","f":"`````````````{{{d{b}}}{{d{{h{f}}}}}}{{{d{b}}}{{d{{j{f}}}}}}{d{{d{c}}}{}}0200000{{{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`}{{{d{{h{f}}}}}n}{Cbn}{cc{}}{{{h{f}}}n}1{Cdb}2{CfBl}{ChBl}{{{h{f}}}A`}5{CjA`}{ClAb}{CnAb}8{{{Db{b{D`{Ad}}{d{{j{B`}}}}}}}Ab}{DdAd}:{DfBn};={{{d{{h{f}}}}}{{Aj{bCf}}}}{{{d{{h{f}}}}}A`}{{{h{f}}{h{f}}}n}{{b{D`{Ad}}c}Ab{{Dh{}{{An{B`}}}}}}{{{d{{j{f}}}}}{{Aj{nDj}}}}{{{d{Dl}}}{{Aj{nDj}}}}{{{d{Dl}}}{{Aj{bc}}}{}}{{{d{Dl}}}{{Aj{A`c}}}{}}{{{d{Dl}}}{{Aj{Adc}}}{}}{cA`Dn}{{{d{b}}{d{lc}}}AfE`}{{{d{Ad}}{d{lc}}}AfE`}{{}c{}}000000{{{d{Ab}}}Bd}{bAb}`{{{d{b}}{d{b}}}{{D`{Ah}}}}{{{d{Ab}}{d{Ab}}}{{D`{Ah}}}}{{{d{Ad}}{d{Ad}}}{{D`{Ah}}}}{{{d{b}}}Cd}{{{d{A`}}}b}{{{d{n}}}{{d{{h{f}}}}}}{{{d{Ab}}}{{D`{{d{Ad}}}}}}`1{{{d{A`}}}{{d{Cj}}}}{{{d{n}}c}AjEb}{{{d{b}}c}AjEb}{{{d{A`}}c}AjEb}{{{d{Ab}}c}AjEb}{{{d{Ad}}c}AjEb}{{{d{A`}}{d{{j{f}}}}}n}{{{d{Bl}}}{{D`{{d{Ed}}}}}}{{{d{Bn}}}{{D`{{d{Ed}}}}}}`{{{d{n}}}{{h{f}}}}0{{{d{A`}}}{{h{f}}}}{dc{}}0000{dC`}00000{{{d{n}}}{{Ef{f}}}}{c{{Aj{e}}}{}{}}{{{d{{j{f}}}}}{{Aj{nDj}}}}{{{d{{j{f}}}}}{{Aj{bc}}}{}}{{{d{{h{f}}}}}{{Aj{bc}}}{}}33{{{d{{j{f}}}}}{{Aj{A`c}}}{}}4444{{}{{Aj{c}}}{}}000000{dEh}000000{{{d{b}}{d{{j{f}}}}{d{n}}}{{Aj{AfCf}}}}{{Abc}Ab{{Dh{}{{An{B`}}}}}}{{AbAd}Ab}````````{d{{d{c}}}{}}0{{{d{l}}}{{d{lc}}}{}}0{{{d{Cn}}}Cn}{{d{d{lc}}}Af{}}{{df}Af}{{{d{Dl}}}{{Aj{EjEl}}}}{c{{Aj{Cn}}}Al}{{{d{Cn}}{d{Cn}}}Bd}{{{d{Cn}}{d{lBf}}}Bj}0{{{d{El}}{d{lBf}}}Bj}0{cc{}}{AbCn}1{ChEl}{EnEl}{{{d{{j{f}}}}}{{Aj{EjEl}}}}{{{d{{j{f}}}}}{{Aj{CnEl}}}}{{{d{Dl}}}{{Aj{Cnc}}}{}}{{}c{}}06{{{d{Cn}}}{{d{Ab}}}}{{{d{Ej}}}C`}{{{d{Cn}}c}AjEb}{{{d{El}}}{{D`{{d{Ed}}}}}}{{{d{Ej}}}{{Ef{f}}}}{{{d{Cn}}}{{Ef{f}}}}{dc{}}{dC`}0{c{{Aj{e}}}{}{}}0{{}{{Aj{c}}}{}}0{dEh}0`","D":"Il","p":[[5,"PublicKey",0,230],[1,"reference",null,null,1],[1,"u8"],[1,"array"],[1,"slice"],[0,"mut"],[5,"Signature",0,231],[5,"SecretKey",0,230],[5,"NodeAddr",0,232],[5,"RelayUrl",0,233],[1,"unit"],[6,"Ordering",234],[6,"Result",235,null,1],[10,"Deserializer",236],[17,"Item"],[6,"SocketAddr",237],[10,"Iterator",238],[1,"bool"],[5,"Formatter",239],[5,"Error",239],[8,"Result",239],[6,"KeyParsingError",0,230],[5,"RelayUrlParseError",0,233],[5,"String",240],[5,"InternalSignature",241],[5,"VerifyingKey",242],[8,"SignatureError",243],[5,"DecodeError",244],[5,"SigningKey",245],[8,"NodeId",0,230],[5,"NodeTicket",181,246],[6,"Option",247,null,1],[1,"tuple",null,null,1],[5,"Url",248],[6,"ParseError",249],[10,"IntoIterator",250],[5,"Error",251],[1,"str"],[10,"CryptoRngCore",252],[10,"Hasher",253],[10,"Serializer",254],[10,"Error",255],[5,"Vec",256],[5,"TypeId",257],[10,"Ticket",181],[6,"Error",181],[6,"Error",258],[15,"Kind",229]],"r":[[4,230],[6,232],[7,230],[8,230],[9,233],[10,233],[11,230],[12,231],[185,246]],"b":[[60,"impl-Debug-for-Signature"],[61,"impl-Display-for-Signature"],[62,"impl-UpperHex-for-Signature"],[63,"impl-LowerHex-for-Signature"],[64,"impl-Display-for-PublicKey"],[65,"impl-Debug-for-PublicKey"],[66,"impl-Display-for-KeyParsingError"],[67,"impl-Debug-for-KeyParsingError"],[68,"impl-Display-for-SecretKey"],[69,"impl-Debug-for-SecretKey"],[71,"impl-Display-for-RelayUrl"],[72,"impl-Debug-for-RelayUrl"],[73,"impl-Display-for-RelayUrlParseError"],[74,"impl-Debug-for-RelayUrlParseError"],[76,"impl-From%3C%26%5Bu8;+ed25519::::SignatureBytes::%7Bconstant%230%7D%5D%3E-for-Signature"],[77,"impl-From%3CInternalSignature%3E-for-Signature"],[79,"impl-From%3C%5Bu8;+ed25519::::SignatureBytes::%7Bconstant%230%7D%5D%3E-for-Signature"],[83,"impl-From%3CError%3E-for-KeyParsingError"],[84,"impl-From%3CDecodeError%3E-for-KeyParsingError"],[85,"impl-From%3C%5Bu8;+32%5D%3E-for-SecretKey"],[87,"impl-From%3CSigningKey%3E-for-SecretKey"],[88,"impl-From%3CPublicKey%3E-for-NodeAddr"],[89,"impl-From%3CNodeTicket%3E-for-NodeAddr"],[91,"impl-From%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[138,"impl-SignatureEncoding-for-Signature"],[139,"impl-Signature"],[155,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey"],[156,"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey"],[199,"impl-Debug-for-NodeTicket"],[200,"impl-Display-for-NodeTicket"],[201,"impl-Display-for-Error"],[202,"impl-Debug-for-Error"],[206,"impl-From%3CDecodeError%3E-for-Error"],[207,"impl-From%3CError%3E-for-Error"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAJgAFwAPACcAOQASAE0AAQBQAAAAUgAAAFQAAgBYAAEAXAABAF8AAABnAAMAbAABAHgAAgCCAAQAiAABAIsAAACOAAoAmgAYAL4ABgDGAAUAzwABANIAAQDZAAEA3AAJAA==","P":[[15,"T"],[17,""],[18,"T"],[30,""],[35,"T"],[40,""],[48,"Deref::Target"],[49,"D"],[52,"__D"],[54,""],[78,"T"],[79,""],[80,"T"],[81,""],[82,"T"],[83,""],[86,"T"],[87,""],[90,"T"],[91,""],[93,"T"],[94,""],[95,"T"],[96,""],[100,""],[101,""],[103,"FromStr::Err"],[106,"R"],[107,"H"],[108,"__H"],[109,"U"],[116,""],[129,"S"],[132,"__S"],[134,""],[141,"T"],[146,""],[153,"U,T"],[154,""],[155,"TryFrom::Error"],[157,"U,T"],[159,"TryFrom::Error"],[160,"U,T"],[164,"U"],[171,""],[179,""],[180,""],[189,"T"],[193,""],[194,"T"],[195,""],[197,"D"],[198,""],[203,"T"],[204,""],[205,"T"],[206,""],[210,"FromStr::Err"],[211,"U"],[213,""],[216,"S"],[217,""],[220,"T"],[221,""],[223,"U,T"],[225,"U"],[227,""]]}],["iroh_bench",{"t":"FGGGPPPFPPPPNNNNNNNNNNNNNNNNHONNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNONNNNNCOOONCOHCCNOONNNNNNNNNNNNNNNNNNNNNONNNNNSHHHHHHSHHHHHHFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFONNNNNNOOOONNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNONOOOHOOONNNNNNOONNNNNN","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","","compat","","","","","compat_mut","","","","","compat_ref","","","","","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","compat","compat_mut","compat_ref","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","","compat","","","compat_mut","","","compat_ref","","","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"],[141,"iroh_bench::iroh"],[148,"iroh_bench::quinn"],[155,"iroh_bench::s2n"],[187,"iroh_bench::stats"],[260,"dyn_clone::sealed"],[261,"clap_builder::builder::command"],[262,"anyhow"],[263,"async_compat"],[264,"core::fmt"],[265,"clap_builder::parser::matches::arg_matches"],[266,"clap_builder"],[267,"core::result"],[268,"clap_builder::util::id"],[269,"core::option"],[270,"tokio::runtime::runtime"],[271,"core::any"],[272,"iroh_base::node_addr"],[273,"iroh_base::relay_url"],[274,"iroh::endpoint"],[275,"iroh_quinn_proto::config::transport"],[276,"core::net::socket_addr"],[277,"rustls_pki_types"],[278,"iroh_quinn::endpoint"],[279,"iroh_quinn::connection"],[280,"core::time"]],"i":"````lnAf`21000A`00113210Ab43210`1212121432121432104321043210`0432104321014321021432102121211243210143210`1110`1```311214321043210432102121143210```````````````Ed000000000000000000000000000000```DdEfEh2102000210210210210102102102201021021021022121112`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{{}{{An{c}}}{}}0000{{{b{j}}}{{An{{b{jc}}}}}{}}0000{b{{An{{b{c}}}}}{}}0000{{}f}{{}Ab}{B`{{b{c}}}{}}0000{B`{{b{jc}}}{}}0000`{B`f}0000{{{b{Af}}{b{jBb}}}Bd}{{{b{A`}}{b{jBb}}}Bd}{cc{}}0000{{{b{Bf}}}{{Bj{AfBh}}}}{{{b{Bf}}}{{Bj{A`Bh}}}}{{{b{jBf}}}{{Bj{AfBh}}}}{{{b{jBf}}}{{Bj{A`Bh}}}}{{{b{c}}}c{}}0{{}{{Bn{Bl}}}}{{{b{C`}}}Cb}{{}B`}0000`{{}c{}}0000````{{{b{Ab}}B`}f}``{{}Cd}``{{{b{n}}}f}``{bc{}}0{c{{Bj{e}}}{}{}}0000{{}{{Bj{c}}}{}}0000{bCf}0000{{{b{jAf}}{b{Bf}}}{{Bj{fBh}}}}{{{b{jA`}}{b{Bf}}}{{Bj{fBh}}}}{{{b{jAf}}{b{jBf}}}{{Bj{fBh}}}}{{{b{jA`}}{b{jBf}}}{{Bj{fBh}}}}`{{}c{}}0000`{{Ch{Bn{Cj}}A`}{{Ad{Ab}}}}{{Ch{Bn{Cj}}A`}{{Ad{{D`{ClCn}}}}}}{{{b{Cn}}DbCb}{{Ad{{D`{DdDd}}}}}}{{ClA`}{{Ad{f}}}}{{{b{Cd}}{b{{Bn{Cj}}}}{b{A`}}}{{D`{ChCl}}}}{{B`Df}Dh}`{{DjDlA`}{{Ad{Ab}}}}{{DjDlA`}{{Ad{{D`{DnE`}}}}}}{{{b{E`}}DbCb}{{Ad{{D`{DdDd}}}}}}{{DnA`}{{Ad{f}}}}{{{b{Cd}}DlEb{b{A`}}}{{D`{DjDn}}}}5`{{bd}f}{hh}0{b{{b{c}}}{}}{{{b{j}}}{{b{jc}}}{}}{{{b{Ed}}}Ed}{{b{b{jc}}}f{}}{{bAh}f}{{}h}0{{}{{An{c}}}{}}{{{b{j}}}{{An{{b{jc}}}}}{}}{b{{An{{b{c}}}}}{}}{B`{{b{c}}}{}}{B`{{b{jc}}}{}}{B`f}{{{b{Ed}}{b{jBb}}}Bd}{cc{}}{{{b{Bf}}}{{Bj{EdBh}}}}{{{b{jBf}}}{{Bj{EdBh}}}}{{{b{c}}}c{}}{{}{{Bn{Bl}}}}{{}B`}{{}c{}}{bc{}}{c{{Bj{e}}}{}{}}{{}{{Bj{c}}}{}}{bCf}{{{b{jEd}}{b{Bf}}}{{Bj{fBh}}}}{{{b{jEd}}{b{jBf}}}{{Bj{fBh}}}}{{}c{}}````{b{{b{c}}}{}}00{{{b{j}}}{{b{jc}}}{}}00````{{}{{An{c}}}{}}00{{{b{j}}}{{An{{b{jc}}}}}{}}00{b{{An{{b{c}}}}}{}}00{{}Ef}{{}Eh}{B`{{b{c}}}{}}00{B`{{b{jc}}}{}}00{B`f}00``{{{b{Ef}}{b{jBb}}}Bd}{{{b{Eh}}{b{jBb}}}Bd}{{{b{Dd}}{b{jBb}}}Bd}{cc{}}00{{}B`}00{{}c{}}00{{EjDbEjDb}Dd}{{{b{Ef}}{b{C`}}}f}`{{{b{jEf}}Dd}f}```{{EjDb}El}```{c{{Bj{e}}}{}{}}00{{}{{Bj{c}}}{}}00``{bCf}00{{}c{}}00","D":"Dj","p":[[1,"reference",null,null,1],[5,"Private",260],[1,"unit"],[5,"Command",261],[0,"mut"],[6,"EndpointSelector",0],[6,"ConnectionSelector",0],[5,"Opt",0],[5,"ClientStats",0],[8,"Result",262],[6,"Commands",0],[1,"u8"],[1,"u32"],[1,"slice"],[5,"Compat",263],[1,"usize"],[5,"Formatter",264],[8,"Result",264],[5,"ArgMatches",265],[8,"Error",266],[6,"Result",267,null,1],[5,"Id",268],[6,"Option",269,null,1],[1,"str"],[1,"bool"],[5,"Runtime",270],[5,"TypeId",271],[5,"NodeAddr",272],[5,"RelayUrl",273],[5,"Endpoint",274],[5,"Connection",274],[1,"tuple",null,null,1],[1,"u64"],[5,"TransferResult",187],[1,"u16"],[5,"TransportConfig",275],[6,"SocketAddr",276],[5,"CertificateDer",277],[5,"Endpoint",278],[5,"Connection",279],[6,"PrivateKeyDer",277],[5,"Opt",155],[5,"Stats",187],[5,"StreamStats",187],[5,"Duration",280],[1,"f64"]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAN8AEQAAABwAHwAmAEcABgBTAAwAZgAAAGoAAQBtAAMAcwAUAIkABQCRAAAAlAABAJgAAACbABIArwAEALUALQDmAAIA7AAYAA==","P":[[18,"T"],[28,""],[32,"T"],[34,""],[42,"T"],[57,""],[59,"T"],[70,""],[77,"T"],[82,""],[86,"T"],[88,""],[96,"U"],[105,""],[114,"T"],[116,"U,T"],[121,"U"],[126,""],[136,"V"],[142,""],[159,"T"],[161,""],[162,"T"],[163,""],[166,"T"],[171,""],[173,"T"],[174,""],[176,"T"],[177,""],[179,"U"],[180,"T"],[181,"U,T"],[182,"U"],[183,""],[186,"V"],[191,"T"],[210,""],[212,"T"],[218,""],[226,"T"],[229,""],[232,"U"],[235,""],[246,"U,T"],[249,"U"],[254,""],[257,"V"]]}],["iroh_dns_server",{"t":"FNNNNNNNNNCCNNNNCNNNCNNNCCNNNNNNGFPPFFFNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNOONNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNOFFFFNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNOOOOONNNNNNNNNNNNNNNNNNNNNNNNGPFFFPPGPPPNNNNOONNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFNNNNNNNOOOOOONNNNOOOONNOOOOOONNNNFNNNNNNNNHNNNNNNFNNNNNNNNNONNNOONNNNN","n":["ZoneStore","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","compat","compat_mut","compat_ref","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","compat","","","","","compat_mut","","","","","compat_ref","","","","","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","","","compat","","","","compat_mut","","","","compat_ref","","","","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","","","","compat","","","","","compat_mut","","","","","compat_ref","","","","","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","as_iterable","borrow","borrow_mut","compat","compat_mut","compat_ref","default","dns_lookup_error","dns_lookup_notfound","dns_lookup_success","dns_requests","dns_requests_https","dns_requests_udp","field_count","field_ref","fmt","from","http_requests","http_requests_duration_ms","http_requests_error","http_requests_success","into","name","pkarr_publish_noop","pkarr_publish_update","store_packets_expired","store_packets_inserted","store_packets_removed","store_packets_updated","try_from","try_into","type_id","vzip","Server","borrow","borrow_mut","compat","compat_mut","compat_ref","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","compat","compat_mut","compat_ref","dns_handler","from","from_ref","into","metrics","store","to_owned","try_from","try_into","type_id","vzip"],"q":[[0,"iroh_dns_server"],[32,"iroh_dns_server::config"],[134,"iroh_dns_server::dns"],[221,"iroh_dns_server::http"],[344,"iroh_dns_server::metrics"],[378,"iroh_dns_server::server"],[394,"iroh_dns_server::state"],[415,"dyn_clone::sealed"],[416,"iroh_dns_server::store"],[417,"async_compat"],[418,"core::fmt"],[419,"pkarr::signed_packet"],[420,"core::option"],[421,"anyhow"],[422,"alloc::sync"],[423,"std::path"],[424,"core::convert"],[425,"hickory_proto::rr::domain::name"],[426,"hickory_proto::rr::record_type"],[427,"hickory_proto::rr::rr_set"],[428,"core::result"],[429,"core::any"],[430,"serde::de"],[431,"serde::ser"],[432,"hickory_server::server::request_handler"],[433,"bytes::bytes"],[434,"core::future::future"],[435,"alloc::boxed"],[436,"core::pin"],[437,"hickory_server::server::response_handler"],[438,"core::net::socket_addr"],[439,"hickory_server::authority::message_response"],[440,"hickory_proto::rr::resource"],[441,"core::iter::traits::iterator"],[442,"core::marker"],[443,"iroh_dns_server::http::rate_limiting"],[444,"iroh_dns_server::http::tls"],[445,"alloc::string"],[446,"iroh_metrics::iterable"],[447,"iroh_metrics::base"]],"i":"`j00000000``0000`000`000``000000``Bn0```C`CjCfCd3214032143330321403214032140031403214220103214032143000321400000321403032140321403214032140````DdCnDf12E`32103213213213210321032103213333210321321203210233333013003210321032103210321`En```F`0`01110FbFd10Fh432104321143214321432104321043210432144432113333433210432143210004321112104321004321304321043210432104321`Aj00000000000000000000000000000000`Gf0000000`000000`Fj0000000000000000000","f":"`{{bd}f}{b{{b{c}}}{}}{{{b{h}}}{{b{hc}}}{}}{{{b{j}}}j}{{b{b{hc}}}f{}}{{bl}f}{{}{{n{c}}}{}}{{{b{h}}}{{n{{b{hc}}}}}{}}{b{{n{{b{c}}}}}{}}``{{{b{j}}{b{hA`}}}Ab}{cc{}}{{{b{c}}}c{}}{{{b{j}}{b{`}}}{{Ah{{Af{Ad}}}}}}```{{}c{}}```{{{b{j}}{b{`}}{b{Bd}}Bf}{{Ah{{Af{{Al{Bh}}}}}}}}``{bc{}}{c{{Bj{e}}}{}{}}{{}{{Bj{c}}}{}}{bBl}{{}c{}}{{jBn}j}```````{{bd}f}``{b{{b{c}}}{}}0000{{{b{h}}}{{b{hc}}}{}}0000{{{b{C`}}}C`}{{b{b{hc}}}f{}}{{bl}f}{{}{{n{c}}}{}}0000{{{b{h}}}{{n{{b{hc}}}}}{}}0000{b{{n{{b{c}}}}}{}}0000{{}{{Ah{Cb}}}}{{}Cd}{{}C`}{{}Cf}{{}Bn}{c{{Bj{Cd}}}Ch}{c{{Bj{C`}}}Ch}{c{{Bj{Cj}}}Ch}{c{{Bj{Cf}}}Ch}{c{{Bj{Bn}}}Ch}{{}Cj}```{{{b{Cd}}{b{hA`}}}Ab}{{{b{C`}}{b{hA`}}}Ab}{{{b{Cj}}{b{hA`}}}Ab}{{{b{Cf}}{b{hA`}}}Ab}{{{b{Bn}}{b{hA`}}}Ab}{cc{}}0000{{{b{c}}}c{}}``{{}c{}}0000{c{{Ah{Cd}}}{{Bb{B`}}}}```{{{b{Cd}}c}BjCl}{{{b{C`}}c}BjCl}{{{b{Cj}}c}BjCl}{{{b{Cf}}c}BjCl}{{{b{Bn}}c}BjCl}{{}{{Ah{Cb}}}}{bc{}}{c{{Bj{e}}}{}{}}0000{{}{{Bj{c}}}{}}0000{bBl}0000{{}c{}}0000`````{{bd}f}00{{{b{Cn}}D`}{{Ah{Db}}}}`{b{{b{c}}}{}}000{{{b{h}}}{{b{hc}}}{}}000{{{b{Dd}}}Dd}{{{b{Cn}}}Cn}{{{b{Df}}}Df}{{b{b{hc}}}f{}}00{{bl}f}00{{}{{n{c}}}{}}000{{{b{h}}}{{n{{b{hc}}}}}{}}000{b{{n{{b{c}}}}}{}}000``{c{{Bj{Dd}}}Ch}{{{b{Dd}}{b{hA`}}}Ab}{{{b{Cn}}{b{hA`}}}Ab}{{{b{Df}}{b{hA`}}}Ab}{cc{}}000{{{b{c}}}c{}}00{{{b{Cn}}{b{D`}}c}{{Dl{{Dj{Dh}}}}}Dn}{{}c{}}000{{{b{E`}}}Eb}{{j{b{Dd}}{Al{Aj}}}{{Ah{Cn}}}}`````{E`{{Ah{f}}}}{{{b{hDf}}{Ed{cegi}}}{{Dl{{Dj{Dh}}}}}{{Ej{}{{Ef{{b{Eh}}}}}}El}{{Ej{}{{Ef{{b{Eh}}}}}}El}{{Ej{}{{Ef{{b{Eh}}}}}}El}{{Ej{}{{Ef{{b{Eh}}}}}}El}}{{{b{Dd}}c}BjCl}2{{DdCn}{{Ah{E`}}}}{bc{}}00{c{{Bj{e}}}{}{}}000{{}{{Bj{c}}}{}}000{bBl}000{{}c{}}000```````````{{bd}f}000``{b{{b{c}}}{}}0000{{{b{h}}}{{b{hc}}}{}}0000`{{{b{En}}}En}{{{b{F`}}}F`}{{{b{Fb}}}Fb}{{{b{Fd}}}Fd}{{b{b{hc}}}f{}}000{{bl}f}000{{}{{n{c}}}{}}0000{{{b{h}}}{{n{{b{hc}}}}}{}}0000{b{{n{{b{c}}}}}{}}0000{{}En}{{}{{b{En}}}}{c{{Bj{En}}}Ch}{c{{Bj{F`}}}Ch}{c{{Bj{Fb}}}Ch}{c{{Bj{Fd}}}Ch}`{{{b{F`}}{b{F`}}}An}{{b{b{c}}}An{}}00{{{b{En}}{b{hA`}}}Ab}{{{b{F`}}{b{hA`}}}{{Bj{fFf}}}}{{{b{F`}}{b{hA`}}}Ab}{{{b{Fb}}{b{hA`}}}Ab}{{{b{Fd}}{b{hA`}}}Ab}{cc{}}0000{{{b{c}}}c{}}000{{{b{Fh}}}{{Af{Eb}}}}0{{}c{}}0000````{Fh{{Ah{f}}}}{{{b{En}}c}BjCl}{{{b{F`}}c}BjCl}{{{b{Fb}}c}BjCl}{{{b{Fd}}c}BjCl}4{{{Af{Fb}}{Af{Fd}}EnFj}{{Ah{Fh}}}}{bc{}}000{bFl}{c{{Bj{e}}}{}{}}0000{{}{{Bj{c}}}{}}0000{bBl}0000{{}c{}}0000`{b{{b{Fn}}}}{b{{b{c}}}{}}{{{b{h}}}{{b{hc}}}{}}{{}{{n{c}}}{}}{{{b{h}}}{{n{{b{hc}}}}}{}}{b{{n{{b{c}}}}}{}}{{}Aj}``````{{{b{Aj}}}G`}{{{b{Aj}}G`}{{Af{Gb}}}}{{{b{Aj}}{b{hA`}}}Ab}{cc{}}````{{}c{}}{{{b{Aj}}}{{b{Gd}}}}``````{c{{Bj{e}}}{}{}}{{}{{Bj{c}}}{}}{bBl}{{}c{}}`?>=<;65{Gf{{Ah{f}}}}{Cd{{Ah{f}}}}1{{Cdj{Al{Aj}}}{{Ah{Gf}}}}6543`{{bd}f}{b{{b{c}}}{}}{{{b{h}}}{{b{hc}}}{}}{{{b{Fj}}}Fj}{{b{b{hc}}}f{}}{{bl}f}{{}{{n{c}}}{}}{{{b{h}}}{{n{{b{hc}}}}}{}}{b{{n{{b{c}}}}}{}}`{cc{}}{{{b{c}}}c{}}{{}c{}}``{bc{}}{c{{Bj{e}}}{}{}}{{}{{Bj{c}}}{}}{bBl}{{}c{}}","D":"AAj","p":[[1,"reference",null,null,1],[5,"Private",415],[1,"unit"],[0,"mut"],[5,"ZoneStore",0,416],[1,"u8"],[5,"Compat",417],[5,"Formatter",418],[8,"Result",418],[5,"SignedPacket",419],[6,"Option",420,null,1],[8,"Result",421],[5,"Metrics",344],[5,"Arc",422,null,1],[1,"bool"],[5,"Path",423],[10,"AsRef",424],[5,"Name",425],[6,"RecordType",426],[5,"RecordSet",427],[6,"Result",428,null,1],[5,"TypeId",429],[6,"BootstrapOption",32],[5,"StoreConfig",32],[5,"PathBuf",423],[5,"Config",32],[5,"MainlineConfig",32],[10,"Deserializer",430],[5,"MetricsConfig",32],[10,"Serializer",431],[5,"DnsHandler",134],[5,"Request",432],[5,"Bytes",433],[5,"DnsConfig",134],[5,"Handle",134],[10,"Future",434,null,1],[5,"Box",435,null,1],[5,"Pin",436],[10,"ResponseHandler",437],[5,"DnsServer",134],[6,"SocketAddr",438],[5,"MessageResponse",439],[17,"Item"],[5,"Record",440],[10,"Iterator",441],[10,"Send",442],[6,"RateLimitConfig",221,443],[6,"CertMode",221,444],[5,"HttpConfig",221],[5,"HttpsConfig",221],[5,"Error",418],[5,"HttpServer",221],[5,"AppState",394],[5,"String",445],[10,"Iterable",446],[1,"usize"],[5,"MetricItem",447],[1,"str"],[5,"Server",378]],"r":[[0,416],[221,444],[228,443]],"b":[[276,"impl-Default-for-RateLimitConfig"],[277,"impl-Default-for-%26RateLimitConfig"],[288,"impl-Display-for-CertMode"],[289,"impl-Debug-for-CertMode"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAABIBIQACAAgADQAAAA8AAAAbAAQAKAAAACsAGwBIAAgAVQAEAF8AAABrAAQAcQAUAIsAAgCQABwArwADALcAAwDHAAEAywASAOkAAwDvAAkA+gAgABwBCAAqAQMAOgEDAEABGABaAQYAZwECAHABAAB3AQMAfAEEAIcBAwCMAQgAlwEAAJsBBAA=","P":[[2,"T"],[4,""],[5,"T"],[6,""],[7,"T"],[12,""],[13,"T"],[15,""],[19,"U"],[21,""],[22,""],[23,""],[26,"T"],[27,"U,T"],[28,"U"],[29,""],[30,"V"],[31,""],[42,"T"],[52,""],[53,"T"],[54,""],[55,"T"],[70,""],[75,"__D"],[80,""],[89,"T"],[97,"U"],[102,""],[106,"__S"],[111,""],[112,"T"],[113,"U,T"],[118,"U"],[123,""],[128,"V"],[138,""],[143,"T"],[151,""],[154,"T"],[157,""],[160,"T"],[174,"__D"],[175,""],[178,"T"],[185,"R"],[186,"U"],[190,""],[198,",,,"],[199,"__S"],[200,""],[202,"T"],[205,"U,T"],[209,"U"],[213,""],[217,"V"],[232,""],[238,"T"],[249,""],[253,"T"],[257,""],[261,"T"],[276,""],[278,"__D"],[283,""],[284,"K"],[287,""],[292,"T"],[301,""],[303,"U"],[312,""],[313,"__S"],[317,""],[319,"T"],[323,""],[324,"U,T"],[329,"U"],[334,""],[339,"V"],[345,""],[346,"T"],[351,""],[361,"T"],[366,"U"],[367,""],[374,"U,T"],[375,"U"],[376,""],[377,"V"],[379,"T"],[385,"U"],[386,""],[390,"U,T"],[391,"U"],[392,""],[393,"V"],[395,""],[396,"T"],[398,""],[399,"T"],[400,""],[401,"T"],[407,"U"],[410,"T"],[411,"U,T"],[412,"U"],[413,""],[414,"V"]]}],["iroh_relay",{"t":"EFFFFNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNCNNNNOCCONNCOONNNNNNNNNNNNNNNNNNONNNNNFFFFGPPPPPPPPPGPGPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOSSSSSSFSSFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNGSSPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNSTFFKFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNONNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNNNNNCCCSHSPGPPPPPPPPGFPPPPPPPPPPPGFPFPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNNNNNNNNNCHHNHHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNSSSSSSFNNNNNNNNNNNNNNNNNNGGPGFSPPPFPFFFFPFPFFFFFNNNOOOONNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNONNNONNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONOOONONNNOOOONOOONONOOOOOOONNNOONNCONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNOOOHHHHHH","n":["MAX_PACKET_SIZE","PingTracker","RelayMap","RelayNode","RelayQuicConfig","__clone_box","","","borrow","","","","borrow_mut","","","","client","clone","","","clone_into","","","clone_to_uninit","","","cmp","","compare","","compat","","","","compat_mut","","","","compat_ref","","","","contains_node","default","","default_timeout","defaults","deref","","","","deref_mut","","","","deserialize","","dns","drop","","","","empty","eq","","","equivalent","","","","","","","","","fmt","","","","","","from","","","","","","","from_iter","","get_node","http","init","","","","into","","","","is_empty","len","new","new_ping","node_info","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","as_error_source","borrow","","","","","","","borrow_mut","","","","","","","clone","","clone_into","","clone_to_uninit","","compat","","","","","","","compat_mut","","","","","","","compat_ref","","","","","","","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","","","compat","","","compat_mut","","","compat_ref","","","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","resolve_host","to_owned","","","to_string","try_from","","","try_into","","","txt_data","type_id","","","vzip","","","with_nameserver","Protocol","RELAY_PATH","RELAY_PROBE_PATH","Relay","Websocket","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","compat","compat_mut","compat_ref","default","deref","deref_mut","drop","eq","equivalent","","","fmt","from","init","into","parse_header","to_owned","try_from","try_into","type_id","upgrade_header","vzip","IROH_TXT_NAME","MAX_LENGTH","MaxLengthExceededError","NodeData","NodeIdExt","NodeInfo","UserData","__clone_box","","","add_direct_addresses","as_error_source","as_ref","borrow","","","","borrow_mut","","","","clear_direct_addresses","clone","","","clone_into","","","clone_to_uninit","","","cmp","compare","compat","","","","compat_mut","","","","compat_ref","","","","data","default","deref","","","","","deref_mut","","","","","direct_addresses","drop","","","","eq","","","equivalent","","","","","","","","","fmt","","","","","","from","","","","","","from_parts","from_pkarr_signed_packet","from_str","from_txt_lookup","from_z32","hash","init","","","","into","","","","into_node_addr","new","","node_id","partial_cmp","relay_url","set_relay_url","set_user_data","to_node_addr","to_owned","","","to_pkarr_signed_packet","to_string","","to_txt_strings","to_z32","try_from","","","","","try_into","","","","type_id","","","","user_data","vzip","","","","with_direct_addresses","","with_relay_url","","with_user_data","","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_error_source","","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","compat","","","","","","compat_mut","","","","","","compat_ref","","","","","","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","compat","compat_mut","compat_ref","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","RelayMetrics","Reloading","ReloadingResolver","Restricted","Server","ServerConfig","StunConfig","StunMetrics","TlsConfig","__clone_box","","","accept_conn_burst","accept_conn_limit","accepts","access","as_iterable","","bad_requests","bind_addr","","borrow","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","bytes_per_second","bytes_recv","bytes_sent","cert","certificates","client_rx","clone","","","clone_into","","","clone_to_uninit","","","compat","","","","","","","","","","","","","","","compat_mut","","","","","","","","","","","","","","","compat_ref","","","","","","","","","","","","","","","conns_rx_ratelimited_total","default","","","","","deref","","","","","","","","","","","","","","","","deref_mut","","","","","","","","","","","","","","","disco_packets_dropped","disco_packets_recv","disco_packets_sent","disconnects","drop","","","","","","","","","","","","","","","eq","equivalent","","","failures","field_count","","field_ref","","fmt","","","","","","","","","","","","","","","frames_rx_ratelimited_total","from","","","","","","","","","","","","","","","got_ping","groups","groups_cloned","http_addr","http_bind_addr","http_url","https_addr","https_bind_addr","https_url","init","","","","","","","","","","","","","","","","into","","","","","","","","","","","","","","","ipv4_success","ipv6_success","is_allowed","key_cache_capacity","limits","max_burst_bytes","metrics","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","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"],[142,"iroh_relay::client"],[320,"iroh_relay::client::ReceivedMessage"],[325,"iroh_relay::defaults"],[331,"iroh_relay::dns"],[421,"iroh_relay::http"],[454,"iroh_relay::node_info"],[595,"iroh_relay::protos"],[598,"iroh_relay::protos::disco"],[600,"iroh_relay::protos::relay"],[601,"iroh_relay::protos::stun"],[850,"iroh_relay::protos::stun::methods"],[853,"iroh_relay::quic"],[875,"iroh_relay::server"],[1240,"iroh_relay::server::CertConfig"],[1242,"iroh_relay::server::testing"],[1248,"dyn_clone::sealed"],[1249,"iroh_relay::relay_map"],[1250,"core::cmp"],[1251,"async_compat"],[1252,"iroh_base::relay_url"],[1253,"iroh_relay::ping_tracker"],[1254,"core::time"],[1255,"core::result"],[1256,"serde::de"],[1257,"core::fmt"],[1258,"core::iter::traits::collect"],[1259,"alloc::sync"],[1260,"core::option"],[1261,"core::iter::traits::iterator"],[1262,"serde::ser"],[1263,"alloc::string"],[1264,"core::any"],[1265,"core::ops::function"],[1266,"core::marker"],[1267,"core::error"],[1268,"iroh_relay::client::conn"],[1269,"anyhow"],[1270,"tokio_websockets::error"],[1271,"std::io::error"],[1272,"core::net::socket_addr"],[1273,"rustls::client::client_conn"],[1274,"iroh_base::key"],[1275,"core::convert"],[1276,"core::pin"],[1277,"core::task::wake"],[1278,"core::task::poll"],[1279,"url"],[1280,"governor::state::direct"],[1281,"governor::state"],[1282,"governor::state::direct::sinks"],[1283,"governor::clock::with_std"],[1284,"governor::gcra"],[1285,"governor::middleware"],[1286,"governor::jitter"],[1287,"governor::state::direct::streams"],[1288,"hickory_resolver::resolver"],[1289,"hickory_resolver::lookup"],[1290,"core::net::ip_addr"],[1291,"alloc::boxed"],[1292,"http::header::value"],[1293,"alloc::collections::btree::set"],[1294,"iroh_base::node_addr"],[1295,"pkarr::signed_packet"],[1296,"core::hash"],[1297,"alloc::vec"],[1298,"stun_rs::attributes"],[1299,"stun_rs::attributes::stun::alternate_server"],[1300,"stun_rs::error"],[1301,"stun_rs::types"],[1302,"stun_rs::attributes::stun::error_code"],[1303,"stun_rs::attributes::stun::fingerprint"],[1304,"stun_rs::attributes::stun::mapped_address"],[1305,"stun_rs::attributes::stun::message_integrity"],[1306,"stun_rs::attributes::stun::message_integrity_sha256"],[1307,"stun_rs::attributes::stun::nonce"],[1308,"stun_rs::attributes::stun::password_algorithm"],[1309,"stun_rs::attributes::stun::password_algorithms"],[1310,"stun_rs::attributes::stun::realm"],[1311,"stun_rs::attributes::stun::software"],[1312,"stun_rs::attributes::unknown"],[1313,"stun_rs::attributes::stun::unknown_attributes"],[1314,"stun_rs::attributes::stun::user_hash"],[1315,"stun_rs::attributes::stun::user_name"],[1316,"stun_rs::attributes::stun::xor_mapped_address"],[1317,"stun_rs::context"],[1318,"stun_rs::message"],[1319,"iroh_quinn::endpoint"],[1320,"iroh_metrics::iterable"],[1321,"rustls_pki_types"],[1322,"iroh_relay::server::metrics"],[1323,"core::default"],[1324,"iroh_relay::server::resolver"],[1325,"iroh_metrics::base"],[1326,"rustls::crypto::signer"],[1327,"reloadable_core"],[1328,"rustls::server::server_conn"],[1329,"tokio_util::task::abort_on_drop"],[1330,"stun_rs"],[1331,"stun_rs::methods"]],"i":"`````jlnAj3210321`32132132121210321032103213010`0321032121`032133213332221110332210333221333`032103213300`32101``221`22032132032103210321230321`````DfDl111Dn201`2`022Cj022310DhE`Eb5643210636363564321056432105643210356432105643210564321055643210555643210564321035643210330`32121202133212120205221635564321056432102056432105643210AB`ABbABd20```````````EnHbHd2102102210210210210210210221021021021002211021021012222222222222210021021002102102```Fh00000000000000000000000000000`In`````Il1Id1Jb323012301223123123133230123012301122301123011223012312223331112330012230111131Jn43412341223224333234224120344123412341233412323232``````K``0Mj10Nb002``22020022212``1`22222Mh2Kf44042Mn555555551555555524153024153024152415241511241530241530241530221241153024153024153041444111555555555555555524115330024111555555555555555553021241530241530`5555555555555555```1``24151302441530241530241530241530```````Nf00000000000000000``Ob```0A@hAA``0````0`1`````O`3OdA@`0OfA@f1Oh0A@jA@l427A@bOj5;<32A@n89;Nl86;327=>5419:<0:88109;>:;>:;>:86;327=>5419:<086;327=>5419:<086;327=>5419:<0886;2986;3327=>5419:<086;327=>5419:<0888886;327=>5419:<0>>>>6868686;327=>5419:<0886;327=>5419:<08;;07001086;3327=>5419:<086;327=>5419:<066=77:0286;888201283638888;41300;200`7;>:86;327=>5419:<086;327=>5419:<086;327=>5419:<08886;327=>5419:<08ABfABh``````","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{{}{{Ad{c}}}{}}000{{{b{h}}}{{Ad{{b{hc}}}}}{}}000{b{{Ad{{b{c}}}}}{}}000{{{b{j}}{b{Af}}}Ah}{{}Aj}{{}n}{{{b{Aj}}}Al}`{An{{b{c}}}{}}000{An{{b{hc}}}{}}000{c{{B`{l}}}Bb}{c{{B`{n}}}Bb}`{Anf}000{{}j}{{{b{j}}{b{j}}}Ah}{{{b{l}}{b{l}}}Ah}{{{b{n}}{b{n}}}Ah}{{b{b{c}}}Ah{}}00000000{{{b{Aj}}{b{hBd}}}Bf}{{{b{j}}{b{hBd}}}Bf}0{{{b{l}}{b{hBd}}}Bf}0{{{b{n}}{b{hBd}}}Bf}{cc{}}{lj}{Afj}22{Afl}3{cj{{Bj{}{{Bh{Af}}}}}}{cj{{Bj{}{{Bh{l}}}}}}{{{b{j}}{b{Af}}}{{Bn{{b{{Bl{l}}}}}}}}`{{}An}000{{}c{}}000{{{b{j}}}Ah}{{{b{j}}}An}{AlAj}{{{b{hAj}}}{{C`{A`}}}}`{{{b{j}}}{{`{{Cb{}{{Bh{{b{{Bl{l}}}}}}}}}}}}{{{b{l}}{b{l}}}{{Bn{Ab}}}}{{{b{n}}{b{n}}}{{Bn{Ab}}}}{{{b{hAj}}{C`{A`}}}f}````{{{b{l}}c}B`Cd}{{{b{n}}c}B`Cd}```{{{b{hAj}}}f}{bc{}}00{bCf}0{c{{B`{e}}}{}{}}000{{}{{B`{c}}}{}}000{bCh}000`{{{b{j}}}{{`{{Cb{}{{Bh{{b{Af}}}}}}}}}}{{}c{}}000```````````````````{{bd}f}0{{Cjc}Cj{{Cn{}{{Cl{Ah}}}}D`Db}}{b{{b{Dd}}}}{b{{b{c}}}{}}000000{{{b{h}}}{{b{hc}}}{}}000000{{{b{Df}}}Df}{{{b{Cj}}}Cj}{{b{b{hc}}}f{}}0{{bA`}f}0{{}{{Ad{c}}}{}}000000{{{b{h}}}{{Ad{{b{hc}}}}}{}}000000{b{{Ad{{b{c}}}}}{}}000000{{{b{Cj}}}{{Dj{Dh}}}}{An{{b{c}}}{}}000000{An{{b{hc}}}{}}000000{Anf}000000{{{b{Dl}}{b{hBd}}}Bf}0{{{b{Df}}{b{hBd}}}Bf}{{{b{Dn}}{b{hBd}}}Bf}{{{b{Cj}}{b{hBd}}}Bf}{{{b{Dh}}{b{hBd}}}Bf}{{{b{E`}}{b{hBd}}}Bf}{{{b{Eb}}{b{hBd}}}Bf}{EdDl}{cc{}}{EfDl}111111{{}An}000000{{CjAh}Cj}{{}c{}}0000001{{CjAn}Cj}{{{b{Eb}}}{{Bn{Eh}}}}{{}Ej}{{cElEn}Cj{{F`{Af}}}}{{{Fb{{b{hDh}}}}{b{hFd}}}{{Ff{{Dj{fc}}}}}{}}{{{Fb{{b{hE`}}}}{b{hFd}}}{{Ff{{Dj{fc}}}}}{}}10{{{Fb{{b{hDh}}}}{b{hFd}}}{{Ff{{Bn{c}}}}}{}}{{{Fb{{b{hEb}}}}{b{hFd}}}{{Ff{{Bn{c}}}}}{}}32{{CjFh}Cj}{{CjFj}Cj}{{{b{{Fn{Flceg}}}}}{{G`{ikceg}}}GbGd{{Gj{}{{Gf{Gh}}}}}{}{}}0{{{b{{Fn{Flceg}}}}Gl}{{G`{ikceg}}}GbGd{{Gj{}{{Gf{Gh}}}}}{}{}}0{{{b{{Fn{Flceg}}}}}{{Gn{iceg}}}GbGdGj{}}0{{{b{{Fn{Flceg}}}}Gl}{{Gn{iceg}}}GbGdGj{}}0{{{b{Dl}}}{{Bn{{b{Dd}}}}}}{Dh{{H`{EbE`}}}}{{{Fb{{b{hDh}}}}Dn}{{Dj{fc}}}{}}{{{Fb{{b{hE`}}}}Dn}{{Dj{fc}}}{}}{bc{}}0{bCf}{c{{B`{e}}}{}{}}000000{{}{{B`{c}}}{}}000000{{{Fb{{b{hc}}}}{b{hFd}}}{{Ff{{Bn{B`}}}}}{}}0{bCh}000000{{}c{}}000000````````````````{{bd}f}00{b{{b{c}}}{}}00{{{b{h}}}{{b{hc}}}{}}00{{{b{En}}}f}{{{b{En}}}En}{{{b{Hb}}}Hb}{{{b{Hd}}}Hd}{{b{b{hc}}}f{}}00{{bA`}f}00{{}{{Ad{c}}}{}}00{{{b{h}}}{{Ad{{b{hc}}}}}{}}00{b{{Ad{{b{c}}}}}{}}00{{}En}{An{{b{c}}}{}}00{An{{b{hc}}}{}}00{Anf}00{{{b{En}}{b{hBd}}}Bf}{{{b{Hb}}{b{hBd}}}Bf}{{{b{Hd}}{b{hBd}}}Bf}0{HfEn}{cc{}}0{HhHb}1{{}An}00{{}c{}}00{Hbc{}}{{{b{En}}cAl}{{Dj{{`{{Cb{}{{Bh{Hj}}}}}}}}}Hl}0{{{b{En}}cAl{b{{I`{Hn}}}}}{{Dj{{`{{Cb{}{{Bh{Hj}}}}}}}}}Hl}010{{{b{En}}{b{Ib}}}{{Dj{Id}}}}{{{b{En}}{b{Ib}}{b{{I`{Hn}}}}}{{Dj{Id}}}}{{{b{En}}{b{If}}{b{Ib}}}{{Dj{Id}}}}{{{b{En}}{b{If}}{b{Ib}}{b{{I`{Hn}}}}}{{Dj{Id}}}}{{{b{En}}cAl}{{Dj{Hb}}}Hl}{{}En}{{{b{En}}{b{Fj}}AhAl}{{Dj{Hj}}}}{bc{}}00{bCf}{c{{B`{e}}}{}{}}00{{}{{B`{c}}}{}}00{{{b{Hd}}}{{b{{I`{{Ih{{I`{A`}}}}}}}}}}{bCh}00{{}c{}}00{EhEn}`````{{bd}f}{b{{b{c}}}{}}{{{b{h}}}{{b{hc}}}{}}{{{b{Fh}}}Fh}{{b{b{hc}}}f{}}{{bA`}f}{{}{{Ad{c}}}{}}{{{b{h}}}{{Ad{{b{hc}}}}}{}}{b{{Ad{{b{c}}}}}{}}{{}Fh}{An{{b{c}}}{}}{An{{b{hc}}}{}}{Anf}{{{b{Fh}}{b{Fh}}}Ah}{{b{b{c}}}Ah{}}00{{{b{Fh}}{b{hBd}}}Bf}{cc{}}{{}An}{{}c{}}{{{b{Ij}}}{{Bn{Fh}}}}{bc{}}{c{{B`{e}}}{}{}}{{}{{B`{c}}}{}}{bCh}{{{b{Fh}}}{{b{Ib}}}}{{}c{}}```````{{bd}f}00{{{b{hIl}}c}f{{Bj{}{{Bh{Eh}}}}}}{b{{b{Dd}}}}{{{b{In}}}{{b{Ib}}}}{b{{b{c}}}{}}000{{{b{h}}}{{b{hc}}}{}}000{{{b{hIl}}}f}{{{b{Il}}}Il}{{{b{In}}}In}{{{b{Id}}}Id}{{b{b{hc}}}f{}}00{{bA`}f}00{{{b{In}}{b{In}}}Ab}{{b{b{c}}}Ab{}}{{}{{Ad{c}}}{}}000{{{b{h}}}{{Ad{{b{hc}}}}}{}}000{b{{Ad{{b{c}}}}}{}}000`{{}Il}{An{{b{c}}}{}}00{{{b{Id}}}{{b{c}}}{}}1{An{{b{hc}}}{}}000{{{b{hId}}}{{b{hc}}}{}}{{{b{Il}}}{{b{{J`{Eh}}}}}}{Anf}000{{{b{Il}}{b{Il}}}Ah}{{{b{In}}{b{In}}}Ah}{{{b{Id}}{b{Id}}}Ah}{{b{b{c}}}Ah{}}00000000{{{b{Il}}{b{hBd}}}Bf}{{{b{In}}{b{hBd}}}Bf}0{{{b{Jb}}{b{hBd}}}Bf}0{{{b{Id}}{b{hBd}}}Bf}{JdIl}{cc{}}000{JdId}{{IfIl}Id}{{{b{Jf}}}{{Dj{Id}}}}{{{b{Ib}}}{{B`{Inc}}}{}}{Hb{{Dj{Id}}}}{{{b{Ib}}}{{Dj{If}}}}{{{b{In}}{b{hc}}}fJh}{{}An}000{{}c{}}000{IdJd}{{{Bn{Af}}{J`{Eh}}}Il}{IfId}`{{{b{In}}{b{In}}}{{Bn{Ab}}}}{{{b{Il}}}{{Bn{{b{Af}}}}}}{{{b{hIl}}{Bn{Af}}}f}{{{b{hIl}}{Bn{In}}}f}{{{b{Id}}}Jd}{bc{}}00{{{b{Id}}{b{El}}Jj}{{Dj{Jf}}}}{bCf}0{{{b{Id}}}{{Jl{Cf}}}}{{{b{Jn}}}Cf}{c{{B`{e}}}{}{}}0{Cf{{Dj{Inc}}}{}}11{{}{{B`{c}}}{}}000{bCh}000{{{b{Il}}}{{Bn{{b{In}}}}}}{{}c{}}000{{Il{J`{Eh}}}Il}{{Id{J`{Eh}}}Id}{{Il{Bn{Af}}}Il}{{Id{Bn{Af}}}Id}{{Il{Bn{In}}}Il}{{Id{Bn{In}}}Id}````{{{b{{I`{A`}}}}}Ah}`````````````````````````````````{{bd}f}000{{{b{K`}}}{{B`{{b{Kb}}Kd}}}}{{{b{Kf}}}{{b{{C`{A`}}}}}}{{{b{K`}}}{{B`{{b{Kh}}Kd}}}}{b{{b{Dd}}}}0{{{b{K`}}}{{B`{{b{Kj}}Kd}}}}{{{b{K`}}}{{B`{{b{Kl}}Kd}}}}{{{b{K`}}}{{B`{{b{Kn}}Kd}}}}{{{b{K`}}}{{B`{{b{L`}}Kd}}}}{{{b{K`}}}{{B`{{b{Lb}}Kd}}}}{{{b{K`}}}{{B`{{b{Ld}}Kd}}}}{{{b{K`}}}{{B`{{b{Lf}}Kd}}}}{{{b{K`}}}{{B`{{b{Lh}}Kd}}}}{{{b{Kf}}}{{b{{I`{A`}}}}}}{{{b{K`}}}{{B`{{b{Lj}}Kd}}}}{{{b{K`}}}{{B`{{b{Ll}}Kd}}}}{{{b{K`}}}{{B`{{b{Ln}}Kd}}}}{{{b{K`}}}{{B`{{b{M`}}Kd}}}}{{{b{K`}}}{{B`{{b{Mb}}Kd}}}}{{{b{K`}}}{{B`{{b{Md}}Kd}}}}{{{b{K`}}}Mf}{b{{b{c}}}{}}00000{{{b{h}}}{{b{hc}}}{}}00000{{{b{Mh}}}Mh}{{{b{Mj}}}Mj}{{{b{Kf}}}Kf}{{{b{K`}}}K`}{{b{b{hc}}}f{}}000{{bA`}f}000{{{b{Kf}}{b{Kf}}}Ab}{{b{b{c}}}Ab{}}{{}{{Ad{c}}}{}}00000{{{b{h}}}{{Ad{{b{hc}}}}}{}}00000{b{{Ad{{b{c}}}}}{}}00000{{{b{Mh}}{b{{I`{A`}}}}}{{B`{{H`{MlAn}}Mn}}}}{{}Mh}{{}Kf}{An{{b{c}}}{}}0{{{b{Kf}}}{{b{{I`{A`}}}}}}1111{An{{b{hc}}}{}}00000{Anf}00000{{{b{Mj}}{b{Mj}}}Ah}{{{b{Kf}}{b{Kf}}}Ah}{{b{b{c}}}Ah{}}00000{{{b{K`}}}{{b{Kb}}}}{{{b{K`}}}{{b{Kh}}}}{{{b{K`}}}{{b{Kj}}}}{{{b{K`}}}{{b{Kl}}}}{{{b{K`}}}{{b{Kn}}}}{{{b{K`}}}{{b{L`}}}}{{{b{K`}}}{{b{Lb}}}}{{{b{K`}}}{{b{Ld}}}}{{{b{K`}}}{{b{Lf}}}}{{{b{K`}}}{{b{Lh}}}}{{{b{K`}}}{{b{Lj}}}}{{{b{K`}}}{{b{Ll}}}}{{{b{K`}}}{{b{Ln}}}}{{{b{K`}}}{{b{M`}}}}{{{b{K`}}}{{b{Mb}}}}{{{b{K`}}}{{b{Md}}}}{{{b{Mh}}{b{hBd}}}{{B`{fN`}}}}{{{b{Mj}}{b{hBd}}}{{B`{fN`}}}}{{{b{Kf}}{b{hBd}}}{{B`{fN`}}}}0{{{b{K`}}{b{hBd}}}{{B`{fN`}}}}{{{b{Nb}}{b{hBd}}}Bf}0{{{b{Mn}}{b{hBd}}}{{B`{fN`}}}}0{cc{}}0{{{C`{A`}}}Kf}{{{b{{C`{A`}}}}}Kf}2{KnK`}3{LjK`}{LhK`}{LfK`}{LnK`}{LdK`}{LbK`}{L`K`}{M`K`}{KlK`}{KjK`}{KhK`}{KbK`}{LlK`}{MbK`}{MdK`}{cc{}}0{{{b{Mh}}}{{Bn{{b{Nd}}}}}}{{{b{Kf}}{b{hc}}}fJh}{{}An}00000{{}c{}}00000{{{b{{I`{A`}}}}}Ah}{{{b{K`}}}Ah}000000000000000`{{{b{{I`{A`}}}}}{{B`{KfNb}}}}{{{b{{I`{A`}}}}}{{B`{{H`{KfEh}}Nb}}}}{{{b{Kf}}{b{Kf}}}{{Bn{Ab}}}}{Kf{{Jl{A`}}}}{{KfEh}{{Jl{A`}}}}{bc{}}000{bCf}00{c{{B`{e}}}{}{}}0{A`{{B`{Mj}}}}1111{{}{{B`{c}}}{}}00000{bCh}00000{{}c{}}00000```````{b{{b{c}}}{}}{{{b{h}}}{{b{hc}}}{}}{{}{{Ad{c}}}{}}{{{b{h}}}{{Ad{{b{hc}}}}}{}}{b{{Ad{{b{c}}}}}{}}{An{{b{c}}}{}}{An{{b{hc}}}{}}{Anf}{{{b{Nf}}{b{hBd}}}Bf}{cc{}}{{{b{Nf}}Eh{b{Ib}}}{{Dj{{H`{EhAl}}}}}}{{}An}{{}c{}}{{NhEj}{{Dj{Nf}}}}{c{{B`{e}}}{}{}}{{}{{B`{c}}}{}}{bCh}{{}c{}}```````````````````````{{bd}f}00````{b{{b{Nj}}}}0```{b{{b{c}}}{}}00000000000000{{{b{h}}}{{b{hc}}}{}}00000000000000````{{{b{Nl}}}{{Bn{{Jl{Nn}}}}}}`{{{b{O`}}}O`}{{{b{Ob}}}Ob}{{{b{Od}}}Od}{{b{b{hc}}}f{}}00{{bA`}f}00{{}{{Ad{c}}}{}}00000000000000{{{b{h}}}{{Ad{{b{hc}}}}}{}}00000000000000{b{{Ad{{b{c}}}}}{}}00000000000000`{{}Of}{{}Oh}{{}O`}{{}{{Oj{ce}}}{OlOn}{OlOn}}{{}A@`}{An{{b{c}}}{}}00{{{b{{A@b{c}}}}}{{b{e}}}D`{}}111111111111{An{{b{hc}}}{}}00000000000000````{Anf}00000000000000{{{b{Ob}}{b{Ob}}}Ah}{{b{b{c}}}Ah{}}00`{{{b{Of}}}An}{{{b{Oh}}}An}{{{b{Of}}An}{{Bn{A@d}}}}{{{b{Oh}}An}{{Bn{A@d}}}}{{{b{Of}}{b{hBd}}}Bf}{{{b{Oh}}{b{hBd}}}Bf}{{{b{O`}}{b{hBd}}}Bf}{{{b{{A@b{c}}}}{b{hBd}}}Bf{OnD`}}{{{b{{Oj{ce}}}}{b{hBd}}}BfOnOn}{{{b{{A@f{ce}}}}{b{hBd}}}BfOnOn}{{{b{A@h}}{b{hBd}}}Bf}{{{b{Ob}}{b{hBd}}}Bf}{{{b{A@j}}{b{hBd}}}Bf}{{{b{A@l}}{b{hBd}}}Bf}{{{b{{A@n{ce}}}}{b{hBd}}}BfOnOn}{{{b{A@`}}{b{hBd}}}Bf}{{{b{Od}}{b{hBd}}}Bf}{{{b{{AA`{ce}}}}{b{hBd}}}BfOnOn}{{{b{Nl}}{b{hBd}}}Bf}`{cc{}}00000000000000`{{{b{O`}}}{{`{{Cb{}{{Bh{{b{AAb}}}}}}}}}}{{{b{O`}}}{{`{{Cb{}{{Bh{{Bl{AAb}}}}}}}}}}{{{b{Nl}}}{{Bn{Eh}}}}`{{{b{Nl}}}{{Bn{Af}}}}1`0{{}An}000{{cAl}{{Dj{{A@b{c}}}}}{D`{AAh{}{{AAd{AAf}}}}}}11111111111{{}c{}}00000000000000``{{{b{A@h}}If}Ah}```{{{b{Nl}}}{{b{O`}}}}`{{{b{Of}}}{{b{Ib}}}}{{{b{Oh}}}{{b{Ib}}}}{{{b{O`}}}{{b{Ib}}}}````9```{{{b{{A@b{c}}}}}f{D`{AAh{}{{AAd{AAf}}}}}}`{{{b{{A@b{c}}}}AAj}{{Bn{{Bl{AAf}}}}}{{AAh{}{{AAd{AAf}}}}D`On}}```````{{{A@b{c}}}f{D`{AAh{}{{AAd{AAf}}}}}}{Nl{{Dj{f}}}}{{{Oj{ce}}}{{Dj{Nl}}}OnOn}``>{{{b{hNl}}}{{b{h{AAl{{Dj{f}}}}}}}}``{bc{}}00{c{{B`{e}}}{}{}}00000000000000{{}{{B`{c}}}{}}00000000000000{bCh}00000000000000``{{}c{}}00000000000000```{{}A@l}{{}{{A@f{f}}}}{{}{{H`{{Jl{Nn}}AAn}}}}{{}{{Oj{f}}}}{{}A@j}{{}{{A@n{f}}}}","D":"CDd","p":[[1,"reference",null,null,1],[5,"Private",1248],[1,"unit"],[0,"mut"],[5,"RelayMap",0,1249],[5,"RelayNode",0,1249],[5,"RelayQuicConfig",0,1249],[1,"u8"],[6,"Ordering",1250],[5,"Compat",1251],[5,"RelayUrl",1252],[1,"bool"],[5,"PingTracker",0,1253],[5,"Duration",1254],[1,"usize"],[6,"Result",1255,null,1],[10,"Deserializer",1256],[5,"Formatter",1257],[8,"Result",1257],[17,"Item"],[10,"IntoIterator",1258],[5,"Arc",1259,null,1],[6,"Option",1260,null,1],[1,"array"],[10,"Iterator",1261],[10,"Serializer",1262],[5,"String",1263],[5,"TypeId",1264],[5,"ClientBuilder",142],[17,"Output"],[10,"Fn",1265],[10,"Send",1266],[10,"Sync",1266],[10,"Error",1267],[6,"ReceivedMessage",142,1268],[5,"Client",142],[8,"Result",1269],[6,"ConnSendError",142,1268],[6,"SendMessage",142,1268],[5,"ClientSink",142],[5,"ClientStream",142],[6,"Error",1270],[5,"Error",1271],[6,"SocketAddr",1272],[5,"ClientConfig",1273],[5,"SecretKey",1274],[5,"DnsResolver",331],[10,"Into",1275],[5,"Pin",1276],[5,"Context",1277],[6,"Poll",1278],[6,"Protocol",421],[5,"Url",1279],[6,"NotKeyed",1280],[5,"RateLimiter",1281],[5,"RatelimitedSink",1282],[10,"DirectStateStore",1280],[10,"ReasonablyRealtime",1283],[17,"NegativeOutcome"],[5,"NotUntil",1284],[10,"RateLimitingMiddleware",1285],[5,"Jitter",1286],[5,"RatelimitedStream",1287],[1,"tuple",null,null,1],[5,"TxtLookup",331],[5,"TXT",331],[8,"TokioResolver",1288],[5,"TxtLookup",1289],[6,"IpAddr",1290],[10,"ToString",1263],[1,"u64"],[1,"slice"],[1,"str"],[5,"NodeInfo",454],[8,"NodeId",1274],[5,"Box",1291,null,1],[5,"HeaderValue",1292],[5,"NodeData",454],[5,"UserData",454],[5,"BTreeSet",1293],[5,"MaxLengthExceededError",454],[5,"NodeAddr",1294],[5,"SignedPacket",1295],[10,"Hasher",1296],[1,"u32"],[5,"Vec",1297],[10,"NodeIdExt",454],[6,"StunAttribute",601,1298],[5,"AlternateServer",1299],[5,"StunError",1300],[5,"TransactionId",601,1301],[5,"ErrorCode",1302],[6,"Fingerprint",1303],[5,"MappedAddress",1304],[6,"MessageIntegrity",1305],[6,"MessageIntegritySha256",1306],[5,"Nonce",1307],[5,"PasswordAlgorithm",1308],[5,"PasswordAlgorithms",1309],[5,"Realm",1310],[5,"Software",1311],[5,"Unknown",1312],[5,"UnknownAttributes",1313],[5,"UserHash",1314],[5,"UserName",1315],[5,"XorMappedAddress",1316],[5,"AttributeType",1298],[5,"MessageDecoder",601,1317],[6,"MessageClass",601,1318],[5,"StunMessage",1318],[5,"StunDecodeError",601,1300],[5,"Error",1257],[6,"Error",601],[5,"DecoderContext",1317],[5,"QuicClient",853],[5,"Endpoint",1319],[10,"Iterable",1320],[5,"Server",875],[5,"CertificateDer",1321],[5,"RelayMetrics",875,1322],[6,"Access",875],[5,"ClientRateLimit",875],[5,"Metrics",875,1322],[5,"StunMetrics",875,1322],[5,"ServerConfig",875],[10,"Default",1323],[10,"Debug",1257],[5,"Limits",875],[5,"ReloadingResolver",875,1324],[5,"MetricItem",1325],[5,"RelayConfig",875],[6,"AccessConfig",875],[5,"StunConfig",875],[5,"QuicConfig",875],[5,"TlsConfig",875],[6,"CertConfig",875],[10,"MetricsGroup",1325],[17,"Value"],[5,"CertifiedKey",1326],[10,"Loader",1327],[5,"ClientHello",1328],[5,"AbortOnDropHandle",1329],[5,"ServerConfig",1328],[15,"ReceivedPacket",320],[15,"Health",320],[15,"ServerRestarting",320],[15,"Manual",1240],[15,"LetsEncrypt",1240]],"r":[[0,600],[1,1253],[2,1249],[3,1249],[4,1249],[146,1268],[156,1268],[158,1268],[611,1318],[612,1317],[624,1298],[625,1300],[627,1301],[812,1330],[850,1331],[851,1331],[852,1331],[880,1324],[886,1322],[889,1322],[891,1324],[896,1322]],"b":[[76,"impl-Debug-for-RelayMap"],[77,"impl-Display-for-RelayMap"],[78,"impl-Debug-for-RelayNode"],[79,"impl-Display-for-RelayNode"],[82,"impl-From%3CRelayNode%3E-for-RelayMap"],[83,"impl-From%3CRelayUrl%3E-for-RelayMap"],[88,"impl-FromIterator%3CRelayUrl%3E-for-RelayMap"],[89,"impl-FromIterator%3CRelayNode%3E-for-RelayMap"],[228,"impl-Debug-for-ConnSendError"],[229,"impl-Display-for-ConnSendError"],[236,"impl-From%3CError%3E-for-ConnSendError"],[238,"impl-From%3CError%3E-for-ConnSendError"],[376,"impl-Display-for-TXT"],[377,"impl-Debug-for-TXT"],[529,"impl-Debug-for-UserData"],[530,"impl-Display-for-UserData"],[531,"impl-Display-for-MaxLengthExceededError"],[532,"impl-Debug-for-MaxLengthExceededError"],[750,"impl-Display-for-TransactionId"],[751,"impl-Debug-for-TransactionId"],[753,"impl-Debug-for-Error"],[754,"impl-Display-for-Error"],[755,"impl-Display-for-StunDecodeError"],[756,"impl-Debug-for-StunDecodeError"],[759,"impl-From%3C%5Bu8;+stun_rs::::types::%7Bimpl%2314%7D::%7Bconstant%230%7D%5D%3E-for-TransactionId"],[760,"impl-From%3C%26%5Bu8;+stun_rs::::types::%7Bimpl%2313%7D::%7Bconstant%230%7D%5D%3E-for-TransactionId"],[762,"impl-From%3CMessageIntegrity%3E-for-StunAttribute"],[764,"impl-From%3CSoftware%3E-for-StunAttribute"],[765,"impl-From%3CRealm%3E-for-StunAttribute"],[766,"impl-From%3CPasswordAlgorithms%3E-for-StunAttribute"],[767,"impl-From%3CUnknownAttributes%3E-for-StunAttribute"],[768,"impl-From%3CPasswordAlgorithm%3E-for-StunAttribute"],[769,"impl-From%3CNonce%3E-for-StunAttribute"],[770,"impl-From%3CMessageIntegritySha256%3E-for-StunAttribute"],[771,"impl-From%3CUserHash%3E-for-StunAttribute"],[772,"impl-From%3CMappedAddress%3E-for-StunAttribute"],[773,"impl-From%3CFingerprint%3E-for-StunAttribute"],[774,"impl-From%3CErrorCode%3E-for-StunAttribute"],[775,"impl-From%3CAlternateServer%3E-for-StunAttribute"],[776,"impl-From%3CUnknown%3E-for-StunAttribute"],[777,"impl-From%3CUserName%3E-for-StunAttribute"],[778,"impl-From%3CXorMappedAddress%3E-for-StunAttribute"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAD4DTQABAAAABgAKABIAGAAsAAEAMAAJADsAAwBAABEAUwAAAFcAAABaAAAAXQADAGsAAQByAAEAeAAQAIsAAwCiAAEApQApANAAHQDvAAAA9gAGAAoBBwAUAQgAHgEiAFEBCABbASAAfgEAAIABAgCGAQAAlAEJAJ8BBQCrAREAvgEAAMEBAwDGAQAAzgECANIBCQDdARYA9QEKAAECFgAcAgAAHwIAACICBAAvAgAANAICADgCAQA8AgwASgIDAHoCAwCBAgEAiwIAAJMCKwDAAgAAwgIaAO0CCAD4AgEA+wIAAP0CDgAPAwYAMAMAADMDHwBaAwgAZQMAAGgDAwCDAwIAigMBAI8DHQCzAzUA6gMjABIEEgAmBBIASgQBAFIEAwBXBAoAeQQCAIYEAACXBC8AyQQOAA==","P":[[8,"T"],[17,""],[20,"T"],[23,""],[28,"K"],[30,"T"],[42,""],[47,"T"],[55,"__D"],[58,""],[66,"K"],[75,""],[81,"T"],[82,""],[84,"T"],[86,""],[87,"T"],[90,""],[96,"U"],[100,""],[113,"__S"],[118,""],[119,"T"],[122,""],[124,"U,T"],[128,"U"],[132,""],[138,"V"],[161,""],[163,"S"],[164,""],[165,"T"],[179,""],[181,"T"],[183,""],[185,"T"],[206,""],[207,"T"],[221,""],[237,"T"],[238,""],[239,"T"],[245,""],[253,"U"],[260,""],[264,""],[265,"Sink::Error"],[269,"Stream::Item"],[271,"Sink::Error"],[273,""],[275,"D,C,MW,Item,S"],[279,"D,C,MW,S"],[283,""],[285,"Sink::Error"],[287,"T"],[289,""],[290,"U,T"],[297,"U"],[304,"S"],[306,""],[313,"V"],[336,""],[339,"T"],[345,""],[349,"T"],[352,""],[355,"T"],[364,""],[365,"T"],[371,""],[379,"T"],[381,""],[382,"T"],[383,""],[386,"U"],[389,"IntoIterator::IntoIter"],[390,""],[396,""],[400,""],[401,""],[403,"T"],[406,""],[407,"U,T"],[410,"U"],[413,""],[417,"V"],[420,""],[427,"T"],[429,""],[430,"T"],[431,""],[432,"T"],[435,""],[436,"T"],[438,""],[440,"K"],[443,""],[444,"T"],[445,""],[446,"U"],[447,""],[448,"T"],[449,"U,T"],[450,"U"],[451,""],[453,"V"],[461,""],[464,""],[465,""],[467,"T"],[475,""],[479,"T"],[482,""],[486,"K"],[487,"T"],[500,""],[501,"T"],[504,"Deref::Target"],[505,"T"],[510,"Deref::Target"],[511,""],[519,"K"],[528,""],[535,"T"],[539,""],[542,"FromStr::Err"],[543,""],[545,"__H"],[546,""],[550,"U"],[554,""],[563,"T"],[566,""],[571,"U,T"],[573,"TryFrom::Error"],[574,"U,T"],[576,"U"],[580,""],[585,"V"],[589,""],[658,"T"],[670,""],[674,"T"],[678,""],[683,"K"],[684,"T"],[702,""],[705,"T"],[707,""],[708,"T"],[718,""],[726,"K"],[732,""],[757,"T"],[759,""],[761,"T"],[762,""],[763,"T"],[764,""],[779,"T"],[781,""],[782,"__H"],[783,""],[789,"U"],[795,""],[818,"T"],[822,""],[825,"U,T"],[827,""],[828,"U,T"],[832,"U"],[838,""],[844,"V"],[857,"T"],[864,""],[866,"T"],[867,""],[869,"U"],[870,""],[871,"U,T"],[872,"U"],[873,""],[874,"V"],[898,""],[910,"T"],[944,""],[949,"T"],[952,""],[955,"T"],[1001,""],[1004,"EC,EA"],[1005,""],[1006,"T"],[1009,"Loader,Deref::Target"],[1010,"T"],[1041,""],[1057,"K"],[1061,""],[1068,"Loader"],[1069,"EC,EA"],[1071,""],[1075,"EC,EA"],[1076,""],[1078,"EC,EA"],[1079,""],[1081,"T"],[1097,""],[1109,"Loader"],[1110,""],[1121,"U"],[1138,""],[1155,"Loader"],[1166,""],[1167,"EC,EA"],[1170,""],[1174,"T"],[1177,"U,T"],[1192,"U"],[1207,""],[1224,"V"],[1242,""]]}]]')); if (typeof exports !== 'undefined') exports.searchIndex = searchIndex; else if (window.initSearch) window.initSearch(searchIndex); -//{"start":39,"fragment_lengths":[437,71095,8268,6728,10775,31759]} \ No newline at end of file +//{"start":39,"fragment_lengths":[437,71149,8268,6728,10775,31954]} \ No newline at end of file diff --git a/pr/3269/docs/search.desc/iroh/iroh-desc-0-.js b/pr/3269/docs/search.desc/iroh/iroh-desc-0-.js index 401586c08c..4067b0aac3 100644 --- a/pr/3269/docs/search.desc/iroh/iroh-desc-0-.js +++ b/pr/3269/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.\nRelays over the custom relaying protocol with a custom …\nConfiguration of all the relay servers that can be used.\nInformation on a specific relay server.\nThe HTTP upgrade protocol used for relaying.\nA URL identifying a relay server.\nCan occur when parsing a string into a RelayUrl.\nA secret key.\nRelays over websockets.\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 addressing info from given ticket.\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 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).\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\nChecks the network conditions from the current host.\nCreates a new NodeAddr with no relay_url and no …\nThe node’s identifier.\nSupport for handling DNS resource records for dialing by …\nReturns an Iterator over all known nodes.\nTries to match the value of an HTTP upgrade header to …\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.\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 HTTP upgrade header used or expected.\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.\nNode discovery results from Discovery services.\nError returned when a discovery watch stream lagged too …\nData about a node that may be published to and resolved …\nInformation about a node that may be published to and …\nUnder the hood this is a UTF-8 String is no longer than …\nAdds a Discovery service.\nThe information published about the node.\nDNS node discovery for iroh\nCreates an empty ConcurrentDiscovery.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreates a new ConcurrentDiscovery.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nConverts into a NodeAddr without cloning.\nReturns the optional timestamp when this node info was …\nA discovery service that uses an mdns-like service to …\nCreates a new DiscoveryItem from a NodeInfo.\nReturns the node id of the discovered node.\nThe NodeId of the node this is about.\nReturns the NodeInfo for the discovered node.\nA discovery service which publishes and resolves node …\nReturns the provenance of this discovery item.\nPublishes the given NodeData to the discovery mechanism.\nResolves the DiscoveryItem for the given NodeId.\nA static node discovery to manually add node addressing …\nSubscribe to all addresses that get passively discovered.\nConverts into a NodeAddr by cloning the needed fields.\nReturns any user-defined data.\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 MdnsDiscovery 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 …\nResolve a hostname from a URL to an IP address.\nCreate a new DNS resolver configured with a single UDP DNS …\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\nOptions for the Endpoint::connect_with_opts function.\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.\nStarts a connection attempt with a remote Endpoint.\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 …\nReturns a stream of all remote nodes discovered through …\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.\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).\nCalls U::from(self).\nConverts this Connecting into a 0-RTT or 0.5-RTT …\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 …\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\nReturns metrics collected for this endpoint.\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\nInitializes new connection options.\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.\nSets the protocol to use for relay connections.\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.\nSets the initial user-defined data to be published in …\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 …\nSets the initial user-defined data to be published in …\nConfiguration for sending and handling validation tokens\nSet a custom ValidationTokenConfig\nNumber of ack-eliciting bytes that may be in flight\nSets ALPN identifiers that should be signaled as supported …\nCreate a server config with the given crypto::ServerConfig\nCreate a server config with the given certificate chain to …\nSets the QUIC transport config options for this connection.\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\nMetrics collected by an crate::endpoint::Endpoint.\nEnum of metrics for the module\nEnum of metrics for the module\nMetrics tracked for the relay server\nNumber of times this server has accepted a connection.\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 times the external address obtained via port …\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 updates to the local port.\nMetrics collected by the endpoint’s socket.\nNumber of mapping tasks started.\nNumber of failed mapping tasks.\nMetrics collected by net reports.\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 PCP probes that found it available.\nNumber of PCP probes executed.\nMetrics collected by the portmapper service.\nNumber of probing tasks started.\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 UPnP probes that found it available.\nNumber of UPnP probes that resulted in a gateway different …\nNumber of UPnP probes executed.\nNumber of failed Upnp probes.\nNumber of accepted websocket connections\nSender to the main service.\nClient to run net_reports.\nEnum of metrics for the module\nOptions for running probes\nPieces needed to do QUIC address discovery.\nLatencies per relay node.\nA net_report report.\nReturns a new address to send messages to this actor.\nAttempts to bind a local socket to send STUN packets from.\nCaptivePortal is set when we think there’s a captive …\nA client config.\nCreate an Options that disables all probes\nA QUIC Endpoint\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.\nRuns a net_report, returning the report.\nip:port of global IPv4\n[ip]:port of global IPv6\nWhether the router supports communicating between two …\nEnable or disable https probe\nEnable or disable icmp_v4 probe\nEnable or disable icmp_v6 probe\nAn ICMPv4 round trip completed, None if not checked.\nAn ICMPv6 round trip completed, None if not checked.\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).\nEnable ipv4 QUIC address discovery probes\nAn IPv4 STUN round trip completed.\nan IPv4 packet was able to be sent\nEnable ipv6 QUIC address discovery probes\nAn IPv6 STUN round trip completed.\nAn IPv6 packet was able to be sent\nReturns an iterator over all the relays and their …\nWhether STUN results depend on which STUN server you’re …\nWhether STUN results depend on which STUN server you’re …\nCreates a new net_report client.\ncould bind a socket to ::1\nProbe indicating the presence of port mapping protocols on …\nNone for unknown\nEnable quic probes\nPass a received STUN packet to the net_reporter.\nkeyed by relay Url\nkeyed by relay Url\nkeyed by relay Url\nNumber of reports executed by net_report, including full …\nNumber of full reports executed by net_report\nIncoming STUN packets dropped due to a full receiving …\nNumber of IPv4 STUN packets received.\nNumber of IPv6 STUN packets received.\nNumber of IPv4 STUN packets sent.\nNumber of IPv6 STUN packets sent.\nSet the ipv4 stun socket and enable ipv4 stun probes\nSet the ipv6 stun socket and enable ipv6 stun probes\nA UDP STUN round trip completed.\nThe DNS name for the iroh TXT record.\nThe max byte length allowed for user-defined data.\nError returned when an input value is too long for UserData…\nData about a node that may be published to and resolved …\nExtension methods for NodeId to encode to and decode from …\nInformation about a node that may be published to and …\nUnder the hood this is a UTF-8 String is no longer than …\nAdds direct addresses to the node data.\nRemoves all direct addresses from the node data.\nThe information published about the node.\nReturns the direct addresses of the node.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreates a new NodeInfo from its parts.\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).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nConverts into a NodeAddr without cloning.\nCreates a new NodeData with a relay URL and a set of …\nCreates a new NodeInfo with an empty NodeData.\nThe NodeId of the node this is about.\nReturns the relay URL of the node.\nSets the relay URL of the node data.\nSets the user-defined data of the node data.\nConverts into a NodeAddr by cloning the needed fields.\nCreates a pkarr::SignedPacket.\nConverts into a list of {key}={value} strings.\nEncodes a NodeId in [z-base-32] encoding.\nReturns the optional user-defined data of the node.\nSets the direct addresses and returns the updated node …\nSets the direct addresses and returns the updated node …\nSets the relay URL and returns the updated node data.\nSets the relay URL and returns the updated node info.\nSets the user-defined data and returns the updated node …\nSets the user-defined data and returns the updated node …\nWraps an existing protocol, limiting its access, based on …\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.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nChecks if the router is already shutdown.\nCreates a new router builder using given Endpoint.\nCreate a new AccessLimit.\nOptional interception point to handle the Connecting state.\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 +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.\nRelays over the custom relaying protocol with a custom …\nConfiguration of all the relay servers that can be used.\nInformation on a specific relay server.\nThe HTTP upgrade protocol used for relaying.\nA URL identifying a relay server.\nCan occur when parsing a string into a RelayUrl.\nA secret key.\nRelays over websockets.\nGet this public key as a byte array.\nIs this a known node?\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.\nCreates a RelayMap from a RelayUrl.\nReturns the argument unchanged.\nConstruct a PublicKey from a slice of bytes.\nCreate a secret key from its byte representation.\nCreates a RelayMap from an iterator of RelayUrl.\nCreates a new NodeAddr from its parts.\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).\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\nChecks the network conditions from the current host.\nCreates a new NodeAddr with no relay_url and no …\nThe node’s identifier.\nSupport for handling DNS resource records for dialing by …\nReturns an Iterator over all known nodes.\nTries to match the value of an HTTP upgrade header to …\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.\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 HTTP upgrade header used or expected.\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.\nNode discovery results from Discovery services.\nError returned when a discovery watch stream lagged too …\nData about a node that may be published to and resolved …\nInformation about a node that may be published to and …\nUnder the hood this is a UTF-8 String is no longer than …\nAdds a Discovery service.\nThe information published about the node.\nDNS node discovery for iroh\nCreates an empty ConcurrentDiscovery.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreates a new ConcurrentDiscovery.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nConverts into a NodeAddr without cloning.\nReturns the optional timestamp when this node info was …\nA discovery service that uses an mdns-like service to …\nCreates a new DiscoveryItem from a NodeInfo.\nReturns the node id of the discovered node.\nThe NodeId of the node this is about.\nReturns the NodeInfo for the discovered node.\nA discovery service which publishes and resolves node …\nReturns the provenance of this discovery item.\nPublishes the given NodeData to the discovery mechanism.\nResolves the DiscoveryItem for the given NodeId.\nA static node discovery to manually add node addressing …\nSubscribe to all addresses that get passively discovered.\nConverts into a NodeAddr by cloning the needed fields.\nReturns any user-defined data.\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 MdnsDiscovery 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 …\nResolve a hostname from a URL to an IP address.\nCreate a new DNS resolver configured with a single UDP DNS …\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\nOptions for the Endpoint::connect_with_opts function.\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.\nStarts a connection attempt with a remote Endpoint.\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 …\nReturns a stream of all remote nodes discovered through …\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.\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).\nCalls U::from(self).\nConverts this Connecting into a 0-RTT or 0.5-RTT …\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 …\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\nReturns metrics collected for this endpoint.\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\nInitializes new connection options.\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.\nSets the protocol to use for relay connections.\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.\nSets the initial user-defined data to be published in …\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 …\nSets the initial user-defined data to be published in …\nConfiguration for sending and handling validation tokens\nSet a custom ValidationTokenConfig\nNumber of ack-eliciting bytes that may be in flight\nSets ALPN identifiers that should be signaled as supported …\nCreate a server config with the given crypto::ServerConfig\nCreate a server config with the given certificate chain to …\nSets the QUIC transport config options for this connection.\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\nMetrics collected by an crate::endpoint::Endpoint.\nEnum of metrics for the module\nEnum of metrics for the module\nMetrics tracked for the relay server\nNumber of times this server has accepted a connection.\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 times the external address obtained via port …\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 updates to the local port.\nMetrics collected by the endpoint’s socket.\nNumber of mapping tasks started.\nNumber of failed mapping tasks.\nMetrics collected by net reports.\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 PCP probes that found it available.\nNumber of PCP probes executed.\nMetrics collected by the portmapper service.\nNumber of probing tasks started.\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 UPnP probes that found it available.\nNumber of UPnP probes that resulted in a gateway different …\nNumber of UPnP probes executed.\nNumber of failed Upnp probes.\nNumber of accepted websocket connections\nSender to the main service.\nClient to run net_reports.\nEnum of metrics for the module\nOptions for running probes\nPieces needed to do QUIC address discovery.\nLatencies per relay node.\nA net_report report.\nReturns a new address to send messages to this actor.\nAttempts to bind a local socket to send STUN packets from.\nCaptivePortal is set when we think there’s a captive …\nA client config.\nCreate an Options that disables all probes\nA QUIC Endpoint\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.\nRuns a net_report, returning the report.\nip:port of global IPv4\n[ip]:port of global IPv6\nWhether the router supports communicating between two …\nEnable or disable https probe\nEnable or disable icmp_v4 probe\nEnable or disable icmp_v6 probe\nAn ICMPv4 round trip completed, None if not checked.\nAn ICMPv6 round trip completed, None if not checked.\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).\nEnable ipv4 QUIC address discovery probes\nAn IPv4 STUN round trip completed.\nan IPv4 packet was able to be sent\nEnable ipv6 QUIC address discovery probes\nAn IPv6 STUN round trip completed.\nAn IPv6 packet was able to be sent\nReturns an iterator over all the relays and their …\nWhether STUN results depend on which STUN server you’re …\nWhether STUN results depend on which STUN server you’re …\nCreates a new net_report client.\ncould bind a socket to ::1\nProbe indicating the presence of port mapping protocols on …\nNone for unknown\nEnable quic probes\nPass a received STUN packet to the net_reporter.\nkeyed by relay Url\nkeyed by relay Url\nkeyed by relay Url\nNumber of reports executed by net_report, including full …\nNumber of full reports executed by net_report\nIncoming STUN packets dropped due to a full receiving …\nNumber of IPv4 STUN packets received.\nNumber of IPv6 STUN packets received.\nNumber of IPv4 STUN packets sent.\nNumber of IPv6 STUN packets sent.\nSet the ipv4 stun socket and enable ipv4 stun probes\nSet the ipv6 stun socket and enable ipv6 stun probes\nA UDP STUN round trip completed.\nThe DNS name for the iroh TXT record.\nThe max byte length allowed for user-defined data.\nError returned when an input value is too long for UserData…\nData about a node that may be published to and resolved …\nExtension methods for NodeId to encode to and decode from …\nInformation about a node that may be published to and …\nUnder the hood this is a UTF-8 String is no longer than …\nAdds direct addresses to the node data.\nRemoves all direct addresses from the node data.\nThe information published about the node.\nReturns the direct addresses of the node.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreates a new NodeInfo from its parts.\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).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nConverts into a NodeAddr without cloning.\nCreates a new NodeData with a relay URL and a set of …\nCreates a new NodeInfo with an empty NodeData.\nThe NodeId of the node this is about.\nReturns the relay URL of the node.\nSets the relay URL of the node data.\nSets the user-defined data of the node data.\nConverts into a NodeAddr by cloning the needed fields.\nCreates a pkarr::SignedPacket.\nConverts into a list of {key}={value} strings.\nEncodes a NodeId in [z-base-32] encoding.\nReturns the optional user-defined data of the node.\nSets the direct addresses and returns the updated node …\nSets the direct addresses and returns the updated node …\nSets the relay URL and returns the updated node data.\nSets the relay URL and returns the updated node info.\nSets the user-defined data and returns the updated node …\nSets the user-defined data and returns the updated node …\nWraps an existing protocol, limiting its access, based on …\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.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nChecks if the router is already shutdown.\nCreates a new router builder using given Endpoint.\nCreate a new AccessLimit.\nOptional interception point to handle the Connecting state.\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/3269/docs/search.desc/iroh_relay/iroh_relay-desc-0-.js b/pr/3269/docs/search.desc/iroh_relay/iroh_relay-desc-0-.js index f0cb3d0c6e..7149720bab 100644 --- a/pr/3269/docs/search.desc/iroh_relay/iroh_relay-desc-0-.js +++ b/pr/3269/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.\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.\nSupport for handling DNS resource records for dialing by …\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 …\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 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.\nThe DNS name for the iroh TXT record.\nThe max byte length allowed for user-defined data.\nError returned when an input value is too long for UserData…\nData about a node that may be published to and resolved …\nExtension methods for NodeId to encode to and decode from …\nInformation about a node that may be published to and …\nUnder the hood this is a UTF-8 String is no longer than …\nAdds direct addresses to the node data.\nRemoves all direct addresses from the node data.\nThe information published about the node.\nReturns the direct addresses of the node.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreates a new NodeInfo from its parts.\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).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nConverts into a NodeAddr without cloning.\nCreates a new NodeData with a relay URL and a set of …\nCreates a new NodeInfo with an empty NodeData.\nThe NodeId of the node this is about.\nReturns the relay URL of the node.\nSets the relay URL of the node data.\nSets the user-defined data of the node data.\nConverts into a NodeAddr by cloning the needed fields.\nCreates a pkarr::SignedPacket.\nConverts into a list of {key}={value} strings.\nEncodes a NodeId in [z-base-32] encoding.\nReturns the optional user-defined data of the node.\nSets the direct addresses and returns the updated node …\nSets the direct addresses and returns the updated node …\nSets the relay URL and returns the updated node data.\nSets the relay URL and returns the updated node info.\nSets the user-defined data and returns the updated node …\nSets the user-defined data and returns the updated node …\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.\nAll metrics tracked in the relay 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.\nMetrics tracked for the STUN 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 times this server has accepted a connection.\nAccess configuration.\nNumber of bad requests made to the STUN endpoint.\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 STUN requests that end in failure.\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.\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).\nCalls U::from(self).\nNumber of successful ipv4 STUN requests served.\nNumber of successful ipv6 STUN requests served.\nIs this node allowed?\nKey cache capacity.\nRate limits.\nMax number of bytes to read in a single burst.\nReturns the metrics collected in the relay server.\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 to the server.\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\nMetrics tracked for the relay server.\nThe TLS server configuration for the QUIC server.\nThe server configuration.\nShutdown the resolver.\nRequests graceful shutdown.\nStarts the server.\nMetrics tracked for the STUN 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?\nReturns the current timeout set for pings.\nDefault values used in the relay.\nDNS resolver\nCreate an empty relay map.\nReturns the argument unchanged.\nCreates a RelayMap from a RelayUrl.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreates a RelayMap from an iterator of 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.\nSupport for handling DNS resource records for dialing by …\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 …\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 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.\nThe DNS name for the iroh TXT record.\nThe max byte length allowed for user-defined data.\nError returned when an input value is too long for UserData…\nData about a node that may be published to and resolved …\nExtension methods for NodeId to encode to and decode from …\nInformation about a node that may be published to and …\nUnder the hood this is a UTF-8 String is no longer than …\nAdds direct addresses to the node data.\nRemoves all direct addresses from the node data.\nThe information published about the node.\nReturns the direct addresses of the node.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreates a new NodeInfo from its parts.\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).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nConverts into a NodeAddr without cloning.\nCreates a new NodeData with a relay URL and a set of …\nCreates a new NodeInfo with an empty NodeData.\nThe NodeId of the node this is about.\nReturns the relay URL of the node.\nSets the relay URL of the node data.\nSets the user-defined data of the node data.\nConverts into a NodeAddr by cloning the needed fields.\nCreates a pkarr::SignedPacket.\nConverts into a list of {key}={value} strings.\nEncodes a NodeId in [z-base-32] encoding.\nReturns the optional user-defined data of the node.\nSets the direct addresses and returns the updated node …\nSets the direct addresses and returns the updated node …\nSets the relay URL and returns the updated node data.\nSets the relay URL and returns the updated node info.\nSets the user-defined data and returns the updated node …\nSets the user-defined data and returns the updated node …\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.\nAll metrics tracked in the relay 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.\nMetrics tracked for the STUN 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 times this server has accepted a connection.\nAccess configuration.\nNumber of bad requests made to the STUN endpoint.\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 STUN requests that end in failure.\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.\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).\nCalls U::from(self).\nNumber of successful ipv4 STUN requests served.\nNumber of successful ipv6 STUN requests served.\nIs this node allowed?\nKey cache capacity.\nRate limits.\nMax number of bytes to read in a single burst.\nReturns the metrics collected in the relay server.\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 to the server.\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\nMetrics tracked for the relay server.\nThe TLS server configuration for the QUIC server.\nThe server configuration.\nShutdown the resolver.\nRequests graceful shutdown.\nStarts the server.\nMetrics tracked for the STUN 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/3269/docs/src-files.js b/pr/3269/docs/src-files.js index 8108418fb4..7917c8cdee 100644 --- a/pr/3269/docs/src-files.js +++ b/pr/3269/docs/src-files.js @@ -1,3 +1,3 @@ -var srcIndex = new Map(JSON.parse('[["bulk",["",[],["bulk.rs"]]],["iroh",["",[["discovery",[["pkarr",[],["dht.rs"]]],["dns.rs","mdns.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"]],["net_report",[["reportgen",[],["hairpin.rs","probes.rs"]]],["defaults.rs","dns.rs","ip_mapped_addrs.rs","metrics.rs","options.rs","ping.rs","reportgen.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","net_report.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_relay",["",[["client",[],["conn.rs","streams.rs","tls.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","dns.rs","http.rs","key_cache.rs","lib.rs","node_info.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","mdns.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"]],["net_report",[["reportgen",[],["hairpin.rs","probes.rs"]]],["defaults.rs","dns.rs","ip_mapped_addrs.rs","metrics.rs","options.rs","ping.rs","reportgen.rs"]],["tls",[],["certificate.rs","name.rs","resolver.rs","verifier.rs"]]],["defaults.rs","disco.rs","discovery.rs","dns.rs","endpoint.rs","key.rs","lib.rs","magicsock.rs","metrics.rs","net_report.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_relay",["",[["client",[],["conn.rs","streams.rs","tls.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","dns.rs","http.rs","key_cache.rs","lib.rs","node_info.rs","ping_tracker.rs","protos.rs","quic.rs","relay_map.rs","server.rs"]]]]')); createSrcSidebar(); -//{"start":36,"fragment_lengths":[28,705,109,75,306,392]} \ No newline at end of file +//{"start":36,"fragment_lengths":[28,715,109,75,306,392]} \ No newline at end of file diff --git a/pr/3269/docs/src/iroh/defaults.rs.html b/pr/3269/docs/src/iroh/defaults.rs.html index 36129a68d1..1001fd5d9d 100644 --- a/pr/3269/docs/src/iroh/defaults.rs.html +++ b/pr/3269/docs/src/iroh/defaults.rs.html @@ -144,9 +144,7 @@ 143 144 145 -146 -147 -148
//! Default values used in [`iroh`][`crate`]
+146
//! Default values used in [`iroh`][`crate`]
 
 /// The default QUIC port used by the Relay server to accept QUIC connections
 /// for QUIC address discovery
@@ -184,12 +182,11 @@
 
     /// Get the default [`RelayMap`].
     pub fn default_relay_map() -> RelayMap {
-        RelayMap::from_nodes([
+        RelayMap::from_iter([
             default_na_relay_node(),
             default_eu_relay_node(),
             default_ap_relay_node(),
         ])
-        .expect("default nodes invalid")
     }
 
     /// Get the default [`RelayNode`] for NA.
@@ -252,8 +249,7 @@
 
     /// Get the default [`RelayMap`].
     pub fn default_relay_map() -> RelayMap {
-        RelayMap::from_nodes([default_na_relay_node(), default_eu_relay_node()])
-            .expect("default nodes invalid")
+        RelayMap::from_iter([default_na_relay_node(), default_eu_relay_node()])
     }
 
     /// Get the default [`RelayNode`] for NA.
diff --git a/pr/3269/docs/src/iroh/discovery/pkarr.rs.html b/pr/3269/docs/src/iroh/discovery/pkarr.rs.html
index eb740def73..7c36ade3b4 100644
--- a/pr/3269/docs/src/iroh/discovery/pkarr.rs.html
+++ b/pr/3269/docs/src/iroh/discovery/pkarr.rs.html
@@ -402,7 +402,12 @@
 401
 402
 403
-404
//! A discovery service which publishes and resolves node information using a [pkarr] relay.
+404
+405
+406
+407
+408
+409
//! 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
@@ -796,10 +801,15 @@
             .send()
             .await?;
 
-        if !response.status().is_success() {
+        let status = response.status();
+        if !status.is_success() {
+            let text = if let Ok(text) = response.text().await {
+                text
+            } else {
+                "(no details provided)".to_string()
+            };
             bail!(format!(
-                "Publish request failed with status {}",
-                response.status()
+                "Publish request failed with status {status}: {text}",
             ))
         }
 
diff --git a/pr/3269/docs/src/iroh/endpoint.rs.html b/pr/3269/docs/src/iroh/endpoint.rs.html
index ef2faa66ec..6432f73ac5 100644
--- a/pr/3269/docs/src/iroh/endpoint.rs.html
+++ b/pr/3269/docs/src/iroh/endpoint.rs.html
@@ -3094,7 +3094,25 @@
 3093
 3094
 3095
-3096
//! The [`Endpoint`] allows establishing connections to other iroh nodes.
+3096
+3097
+3098
+3099
+3100
+3101
+3102
+3103
+3104
+3105
+3106
+3107
+3108
+3109
+3110
+3111
+3112
+3113
+3114
//! 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
@@ -3118,7 +3136,6 @@
 };
 
 use anyhow::{bail, Context, Result};
-use data_encoding::BASE32_DNSSEC;
 use ed25519_dalek::{pkcs8::DecodePublicKey, VerifyingKey};
 use iroh_base::{NodeAddr, NodeId, RelayUrl, SecretKey};
 use iroh_relay::RelayMap;
@@ -3138,6 +3155,7 @@
     },
     magicsock::{self, Handle, NodeIdMappedAddr},
     metrics::EndpointMetrics,
+    net_report::Report,
     tls,
     watchable::Watcher,
     RelayProtocol,
@@ -3174,16 +3192,6 @@
 /// is still no connection the configured [`Discovery`] will be used however.
 const DISCOVERY_WAIT_PERIOD: Duration = Duration::from_millis(500);
 
-/// Maximum amount of TLS tickets we will cache (by default) for 0-RTT connection
-/// establishment.
-///
-/// 8 tickets per remote endpoint, 32 different endpoints would max out the required storage:
-/// ~200 bytes per session + certificates (which are ~387 bytes)
-/// So 8 * 32 * (200 + 387) = 150.272 bytes, assuming pointers to certificates
-/// are never aliased pointers (they're Arc'ed).
-/// I think 150KB is an acceptable default upper limit for such a cache.
-const MAX_TLS_TICKETS: usize = 8 * 32;
-
 type DiscoveryBuilder = Box<dyn FnOnce(&SecretKey) -> Option<Box<dyn Discovery>> + Send + Sync>;
 
 /// Defines the mode of path selection for all traffic flowing through
@@ -3271,9 +3279,8 @@
             .unwrap_or_else(|| SecretKey::generate(rand::rngs::OsRng));
         let static_config = StaticConfig {
             transport_config: Arc::new(self.transport_config),
-            tls_auth: self.tls_auth,
+            tls_config: tls::TlsConfig::new(self.tls_auth, secret_key.clone()),
             keylog: self.keylog,
-            secret_key: secret_key.clone(),
         };
         #[cfg(not(wasm_browser))]
         let dns_resolver = self.dns_resolver.unwrap_or_default();
@@ -3287,7 +3294,7 @@
             1 => Some(discovery.into_iter().next().expect("checked length")),
             _ => Some(Box::new(ConcurrentDiscovery::from_services(discovery))),
         };
-        let server_config = static_config.create_server_config(self.alpn_protocols)?;
+        let server_config = static_config.create_server_config(self.alpn_protocols);
 
         let metrics = EndpointMetrics::default();
 
@@ -3640,22 +3647,21 @@
 /// Configuration for a [`quinn::Endpoint`] that cannot be changed at runtime.
 #[derive(Debug)]
 struct StaticConfig {
-    tls_auth: tls::Authentication,
-    secret_key: SecretKey,
+    tls_config: tls::TlsConfig,
     transport_config: Arc<quinn::TransportConfig>,
     keylog: bool,
 }
 
 impl StaticConfig {
     /// Create a [`quinn::ServerConfig`] with the specified ALPN protocols.
-    fn create_server_config(&self, alpn_protocols: Vec<Vec<u8>>) -> Result<ServerConfig> {
-        let quic_server_config =
-            self.tls_auth
-                .make_server_config(&self.secret_key, alpn_protocols, self.keylog)?;
+    fn create_server_config(&self, alpn_protocols: Vec<Vec<u8>>) -> ServerConfig {
+        let quic_server_config = self
+            .tls_config
+            .make_server_config(alpn_protocols, self.keylog);
         let mut server_config = ServerConfig::with_crypto(Arc::new(quic_server_config));
         server_config.transport_config(self.transport_config.clone());
 
-        Ok(server_config)
+        server_config
     }
 }
 
@@ -3692,8 +3698,6 @@
     rtt_actor: Arc<rtt_actor::RttHandle>,
     /// Configuration structs for quinn, holds the transport config, certificate setup, secret key etc.
     static_config: Arc<StaticConfig>,
-    /// Cache for TLS session keys we receive.
-    session_store: Arc<dyn rustls::client::ClientSessionStore>,
 }
 
 impl Endpoint {
@@ -3712,7 +3716,7 @@
     ///
     /// This is for internal use, the public interface is the [`Builder`] obtained from
     /// [Self::builder]. See the methods on the builder for documentation of the parameters.
-    #[instrument("ep", skip_all, fields(me = %static_config.secret_key.public().fmt_short()))]
+    #[instrument("ep", skip_all, fields(me = %static_config.tls_config.secret_key.public().fmt_short()))]
     async fn bind(static_config: StaticConfig, msock_opts: magicsock::Options) -> Result<Self> {
         let msock = magicsock::MagicSock::spawn(msock_opts).await?;
         trace!("created magicsock");
@@ -3722,9 +3726,6 @@
             msock: msock.clone(),
             rtt_actor: Arc::new(rtt_actor::RttHandle::new(msock.metrics.magicsock.clone())),
             static_config: Arc::new(static_config),
-            session_store: Arc::new(rustls::client::ClientSessionMemoryCache::new(
-                MAX_TLS_TICKETS,
-            )),
         };
         Ok(ep)
     }
@@ -3733,10 +3734,9 @@
     ///
     /// This will only affect new incoming connections.
     /// Note that this *overrides* the current list of ALPNs.
-    pub fn set_alpns(&self, alpns: Vec<Vec<u8>>) -> Result<()> {
-        let server_config = self.static_config.create_server_config(alpns)?;
+    pub fn set_alpns(&self, alpns: Vec<Vec<u8>>) {
+        let server_config = self.static_config.create_server_config(alpns);
         self.msock.endpoint().set_server_config(Some(server_config));
-        Ok(())
     }
 
     // # Methods for establishing connectivity.
@@ -3854,28 +3854,16 @@
         let client_config = {
             let mut alpn_protocols = vec![alpn.to_vec()];
             alpn_protocols.extend(options.additional_alpns);
-            let quic_client_config = self.static_config.tls_auth.make_client_config(
-                &self.static_config.secret_key,
-                node_id,
-                alpn_protocols,
-                Some(self.session_store.clone()),
-                self.static_config.keylog,
-            )?;
+            let quic_client_config = self
+                .static_config
+                .tls_config
+                .make_client_config(alpn_protocols, self.static_config.keylog);
             let mut client_config = quinn::ClientConfig::new(Arc::new(quic_client_config));
             client_config.transport_config(transport_config);
             client_config
         };
 
-        // We used to use a constant "localhost" for this - however, that would put all of
-        // the TLS session tickets we receive into the same bucket in the TLS session ticket cache.
-        // So we choose something that'd dependent on the NodeId.
-        // We cannot use hex to encode the NodeId, as that'd encode to 64 characters, but we only
-        // have 63 maximum per DNS subdomain. Base32 is the next best alternative.
-        // We use the `.invalid` TLD, as that's specified (in RFC 2606) to never actually resolve
-        // "for real", unlike `.localhost` which is allowed to resolve to `127.0.0.1`.
-        // We also add "iroh" as a subdomain, although those 5 bytes might not be necessary.
-        // We *could* decide to remove that indicator in the future likely without breakage.
-        let server_name = &format!("{}.iroh.invalid", BASE32_DNSSEC.encode(node_id.as_bytes()));
+        let server_name = &tls::name::encode(node_id);
         let connect = self.msock.endpoint().connect_with(
             client_config,
             mapped_addr.private_socket_addr(),
@@ -3979,7 +3967,7 @@
 
     /// Returns the secret_key of this endpoint.
     pub fn secret_key(&self) -> &SecretKey {
-        &self.static_config.secret_key
+        &self.static_config.tls_config.secret_key
     }
 
     /// Returns the node id of this endpoint.
@@ -3987,7 +3975,7 @@
     /// This ID is the unique addressing information of this node and other peers must know
     /// it to be able to connect to this node.
     pub fn node_id(&self) -> NodeId {
-        self.static_config.secret_key.public()
+        self.static_config.tls_config.secret_key.public()
     }
 
     /// Returns the current [`NodeAddr`] for this endpoint.
@@ -4088,6 +4076,40 @@
         self.msock.direct_addresses()
     }
 
+    /// Returns a [`Watcher`] for any net-reports run from this [`Endpoint`].
+    ///
+    /// A `net-report` checks the network conditions of the [`Endpoint`], such as
+    /// whether it is connected to the internet via Ipv4 and/or Ipv6, its NAT
+    /// status, its latency to the relay servers, and its public addresses.
+    ///
+    /// The [`Endpoint`] continuously runs `net-reports` to monitor if network
+    /// conditions have changed. This [`Watcher`] will return the latest result
+    /// of the `net-report`.
+    ///
+    /// When issuing the first call to this method the first report might
+    /// still be underway, in this case the [`Watcher`] might not be initialized
+    /// with [`Some`] value yet.  Once the net-report has been successfully
+    /// run, the [`Watcher`] will always return [`Some`] report immediately, which
+    /// is the most recently run `net-report`.
+    ///
+    /// # Examples
+    ///
+    /// To get the first report use [`Watcher::initialized`]:
+    /// ```no_run
+    /// use futures_lite::StreamExt;
+    /// use iroh::Endpoint;
+    ///
+    /// # let rt = tokio::runtime::Builder::new_current_thread().enable_all().build().unwrap();
+    /// # rt.block_on(async move {
+    /// let ep = Endpoint::builder().bind().await.unwrap();
+    /// let _report = ep.net_report().initialized().await.unwrap();
+    /// # });
+    /// ```
+    #[doc(hidden)]
+    pub fn net_report(&self) -> Watcher<Option<Arc<Report>>> {
+        self.msock.net_report()
+    }
+
     /// 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
@@ -4667,7 +4689,7 @@
             Poll::Ready(Ok(inner)) => {
                 let conn = Connection {
                     inner,
-                    tls_auth: this.ep.static_config.tls_auth,
+                    tls_auth: this.ep.static_config.tls_config.auth,
                 };
                 try_send_rtt_msg(&conn, this.ep, None);
                 Poll::Ready(Ok(conn))
@@ -4740,7 +4762,7 @@
             Ok((inner, zrtt_accepted)) => {
                 let conn = Connection {
                     inner,
-                    tls_auth: self.ep.static_config.tls_auth,
+                    tls_auth: self.ep.static_config.tls_config.auth,
                 };
                 let zrtt_accepted = ZeroRttAccepted {
                     inner: zrtt_accepted,
@@ -4795,7 +4817,7 @@
             Poll::Ready(Ok(inner)) => {
                 let conn = Connection {
                     inner,
-                    tls_auth: this.ep.static_config.tls_auth,
+                    tls_auth: this.ep.static_config.tls_config.auth,
                 };
                 try_send_rtt_msg(&conn, this.ep, *this.remote_node_id);
                 Poll::Ready(Ok(conn))
@@ -6189,5 +6211,19 @@
 
         Ok(())
     }
+
+    #[tokio::test]
+    #[traced_test]
+    async fn watch_net_report() -> testresult::TestResult {
+        let endpoint = Endpoint::builder()
+            .relay_mode(RelayMode::Staging)
+            .bind()
+            .await?;
+
+        // can get a first report
+        endpoint.net_report().initialized().await?;
+
+        Ok(())
+    }
 }
 
\ No newline at end of file diff --git a/pr/3269/docs/src/iroh/magicsock.rs.html b/pr/3269/docs/src/iroh/magicsock.rs.html index dfccde7527..6dc8373f6d 100644 --- a/pr/3269/docs/src/iroh/magicsock.rs.html +++ b/pr/3269/docs/src/iroh/magicsock.rs.html @@ -4455,7 +4455,27 @@ 4454 4455 4456 -4457
//! Implements a socket that can change its communication path while in use, actively searching for the best way to communicate.
+4457
+4458
+4459
+4460
+4461
+4462
+4463
+4464
+4465
+4466
+4467
+4468
+4469
+4470
+4471
+4472
+4473
+4474
+4475
+4476
+4477
//! 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
 //!
@@ -4532,7 +4552,7 @@
     discovery::{Discovery, DiscoveryItem, DiscoverySubscribers, NodeData, UserData},
     key::{public_ed_box, secret_ed_box, DecryptionError, SharedSecret},
     metrics::EndpointMetrics,
-    net_report::{self, IpMappedAddresses},
+    net_report::{self, IpMappedAddresses, Report},
     watchable::{Watchable, Watcher},
 };
 
@@ -4701,6 +4721,9 @@
     /// Our discovered direct addresses.
     direct_addrs: DiscoveredDirectAddrs,
 
+    /// Our latest net-report
+    net_report: Watchable<Option<Arc<Report>>>,
+
     /// List of CallMeMaybe disco messages that should be sent out after the next endpoint update
     /// completes
     pending_call_me_maybes: std::sync::Mutex<HashMap<PublicKey, RelayUrl>>,
@@ -4810,6 +4833,21 @@
         self.direct_addrs.addrs.watch()
     }
 
+    /// Returns a [`Watcher`] for this socket's net-report.
+    ///
+    /// The [`MagicSock`] continuously monitors the network conditions for changes.
+    /// Whenever changes are detected this [`Watcher`] will yield a new report.
+    ///
+    /// Upon the first creation on the [`MagicSock`] it may not yet have completed
+    /// a first net-report. In this case, the current item in this [`Watcher`] will
+    /// be [`None`].  Once the first report has been run, the [`Watcher`] will
+    /// store [`Some`] report.
+    ///
+    /// To get the current `net-report`, use [`Watcher::initialized`].
+    pub(crate) fn net_report(&self) -> Watcher<Option<Arc<Report>>> {
+        self.net_report.watch()
+    }
+
     /// Watch for changes to the home relay.
     ///
     /// Note that this can be used to wait for the initial home relay to be known using
@@ -6224,6 +6262,7 @@
             discovery,
             discovery_user_data: RwLock::new(discovery_user_data),
             direct_addrs: Default::default(),
+            net_report: Default::default(),
             pending_call_me_maybes: Default::default(),
             direct_addr_update_state: DirectAddrUpdateState::new(),
             #[cfg(not(wasm_browser))]
@@ -7357,6 +7396,8 @@
 
     async fn handle_net_report_report(&mut self, report: Option<Arc<net_report::Report>>) {
         if let Some(ref report) = report {
+            // only returns Err if the report hasn't changed.
+            self.msock.net_report.set(Some(report.clone())).ok();
             self.msock
                 .ipv6_reported
                 .store(report.ipv6, Ordering::Relaxed);
@@ -7917,9 +7958,8 @@
         secret_key: &SecretKey,
         tls_auth: crate::tls::Authentication,
     ) -> ServerConfig {
-        let quic_server_config = tls_auth
-            .make_server_config(secret_key, vec![], false)
-            .expect("should generate valid config");
+        let quic_server_config = crate::tls::TlsConfig::new(tls_auth, secret_key.clone())
+            .make_server_config(vec![], false);
         let mut server_config = ServerConfig::with_crypto(Arc::new(quic_server_config));
         server_config.transport_config(Arc::new(quinn::TransportConfig::default()));
         server_config
@@ -8499,8 +8539,8 @@
         secret_key: SecretKey,
         tls_auth: tls::Authentication,
     ) -> anyhow::Result<Handle> {
-        let quic_server_config =
-            tls_auth.make_server_config(&secret_key, vec![ALPN.to_vec()], true)?;
+        let quic_server_config = tls::TlsConfig::new(tls_auth, secret_key.clone())
+            .make_server_config(vec![ALPN.to_vec()], true);
         let mut server_config = ServerConfig::with_crypto(Arc::new(quic_server_config));
         server_config.transport_config(Arc::new(quinn::TransportConfig::default()));
 
@@ -8567,13 +8607,13 @@
     ) -> Result<quinn::Connection> {
         let alpns = vec![ALPN.to_vec()];
         let quic_client_config =
-            tls_auth.make_client_config(&ep_secret_key, node_id, alpns, None, true)?;
+            tls::TlsConfig::new(tls_auth, ep_secret_key.clone()).make_client_config(alpns, true);
         let mut client_config = quinn::ClientConfig::new(Arc::new(quic_client_config));
         client_config.transport_config(transport_config);
         let connect = ep.connect_with(
             client_config,
             mapped_addr.private_socket_addr(),
-            "localhost",
+            &tls::name::encode(node_id),
         )?;
         let connection = connect.await?;
         Ok(connection)
diff --git a/pr/3269/docs/src/iroh/net_report.rs.html b/pr/3269/docs/src/iroh/net_report.rs.html
index 6751ec3184..7c95e8ed45 100644
--- a/pr/3269/docs/src/iroh/net_report.rs.html
+++ b/pr/3269/docs/src/iroh/net_report.rs.html
@@ -1390,10 +1390,7 @@
 1389
 1390
 1391
-1392
-1393
-1394
-1395
//! Checks the network conditions from the current host.
+1392
//! 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
@@ -2272,11 +2269,9 @@
 mod test_utils {
     //! Creates a relay server against which to perform tests
 
-    use std::sync::Arc;
+    use iroh_relay::{server, RelayNode, RelayQuicConfig};
 
-    use iroh_relay::{server, RelayNode, RelayQuicConfig};
-
-    pub(crate) async fn relay() -> (server::Server, Arc<RelayNode>) {
+    pub(crate) async fn relay() -> (server::Server, RelayNode) {
         let server = server::Server::spawn(server::testing::server_config())
             .await
             .expect("should serve relay");
@@ -2290,7 +2285,7 @@
             quic,
         };
 
-        (server, Arc::new(node_desc))
+        (server, node_desc)
     }
 
     /// Create a [`crate::RelayMap`] of the given size.
@@ -2305,8 +2300,7 @@
             servers.push(relay_server);
             nodes.push(node);
         }
-        let map = crate::RelayMap::from_nodes(nodes).expect("unuque urls");
-        (servers, map)
+        (servers, crate::RelayMap::from_iter(nodes))
     }
 }
 
@@ -2378,7 +2372,7 @@
                     quic: None,
                 }
             });
-            RelayMap::from_nodes(nodes).expect("generated invalid nodes")
+            RelayMap::from_iter(nodes)
         }
 
         /// Sets up a simple STUN server binding to `0.0.0.0:0`.
diff --git a/pr/3269/docs/src/iroh/net_report/reportgen.rs.html b/pr/3269/docs/src/iroh/net_report/reportgen.rs.html
index d402a3dfb0..22c1dd681e 100644
--- a/pr/3269/docs/src/iroh/net_report/reportgen.rs.html
+++ b/pr/3269/docs/src/iroh/net_report/reportgen.rs.html
@@ -1755,7 +1755,12 @@
 1754
 1755
 1756
-1757
//! The reportgen actor is responsible for generating a single net_report report.
+1757
+1758
+1759
+1760
+1761
+1762
//! The reportgen actor is responsible for generating a single net_report report.
 //!
 //! It is implemented as an actor with [`Client`] as handle.
 //!
@@ -3212,6 +3217,8 @@
         let (_server_b, relay_b) = test_utils::relay().await;
 
         let mut report = Report::default();
+        let relay_a = Arc::new(relay_a);
+        let relay_b = Arc::new(relay_b);
 
         // A STUN IPv4 probe from the the first relay server.
         let probe_report_a = ProbeReport {
@@ -3296,6 +3303,8 @@
     async fn test_update_report_icmp() {
         let (_server_a, relay_a) = test_utils::relay().await;
         let (_server_b, relay_b) = test_utils::relay().await;
+        let relay_a = Arc::new(relay_a);
+        let relay_b = Arc::new(relay_b);
 
         let mut report = Report::default();
 
@@ -3409,7 +3418,7 @@
         let addr = server.stun_addr().expect("test relay serves stun");
         let probe = Probe::IcmpV4 {
             delay: Duration::from_secs(0),
-            node,
+            node: Arc::new(node),
         };
 
         // A single ICMP packet might get lost.  Try several and take the first.
@@ -3474,6 +3483,7 @@
     #[traced_test]
     async fn test_quic_probe() -> TestResult {
         let (server, relay) = test_utils::relay().await;
+        let relay = Arc::new(relay);
         let client_config = iroh_relay::client::make_dangerous_client_config();
         let ep = quinn::Endpoint::client(SocketAddr::new(Ipv4Addr::LOCALHOST.into(), 0))?;
         let client_addr = ep.local_addr()?;
@@ -3487,7 +3497,7 @@
         let port = server.quic_addr().unwrap().port();
         let probe = Probe::QuicIpv4 {
             delay: Duration::from_secs(0),
-            node: relay.clone(),
+            node: relay,
         };
         let probe = match run_quic_probe(
             quic_addr_disc,
diff --git a/pr/3269/docs/src/iroh/protocol.rs.html b/pr/3269/docs/src/iroh/protocol.rs.html
index 9d86f827a8..73bcdf38b2 100644
--- a/pr/3269/docs/src/iroh/protocol.rs.html
+++ b/pr/3269/docs/src/iroh/protocol.rs.html
@@ -495,15 +495,7 @@
 494
 495
 496
-497
-498
-499
-500
-501
-502
-503
-504
-505
//! Tools for spawning an accept loop that routes incoming requests to the right protocol.
+497
//! Tools for spawning an accept loop that routes incoming requests to the right protocol.
 //!
 //! ## Example
 //!
@@ -517,8 +509,7 @@
 //!
 //! let router = Router::builder(endpoint)
 //!     .accept(b"/my/alpn", Echo)
-//!     .spawn()
-//!     .await?;
+//!     .spawn();
 //! # Ok(())
 //! # }
 //!
@@ -583,8 +574,7 @@
 ///
 /// let router = Router::builder(endpoint)
 ///     // .accept(&ALPN, <something>)
-///     .spawn()
-///     .await?;
+///     .spawn();
 ///
 /// // wait until the user wants to
 /// tokio::signal::ctrl_c().await?;
@@ -760,7 +750,7 @@
     }
 
     /// Spawns an accept loop and returns a handle to it encapsulated as the [`Router`].
-    pub async fn spawn(self) -> Result<Router> {
+    pub fn spawn(self) -> Router {
         // Update the endpoint with our alpns.
         let alpns = self
             .protocols
@@ -769,10 +759,7 @@
             .collect::<Vec<_>>();
 
         let protocols = Arc::new(self.protocols);
-        if let Err(err) = self.endpoint.set_alpns(alpns) {
-            shutdown(&self.endpoint, protocols.clone()).await;
-            return Err(err);
-        }
+        self.endpoint.set_alpns(alpns);
 
         let mut join_set = JoinSet::new();
         let endpoint = self.endpoint.clone();
@@ -838,11 +825,11 @@
         let task = task::spawn(run_loop_fut);
         let task = AbortOnDropHandle::new(task);
 
-        Ok(Router {
+        Router {
             endpoint: self.endpoint,
             task: Arc::new(Mutex::new(Some(task))),
             cancel_token: cancel,
-        })
+        }
     }
 }
 
@@ -946,7 +933,7 @@
     #[tokio::test]
     async fn test_shutdown() -> Result<()> {
         let endpoint = Endpoint::builder().bind().await?;
-        let router = Router::builder(endpoint.clone()).spawn().await?;
+        let router = Router::builder(endpoint.clone()).spawn();
 
         assert!(!router.is_shutdown());
         assert!(!endpoint.is_closed());
@@ -986,10 +973,7 @@
         let e1 = Endpoint::builder().bind().await?;
         // deny all access
         let proto = AccessLimit::new(Echo, |_node_id| false);
-        let r1 = Router::builder(e1.clone())
-            .accept(ECHO_ALPN, proto)
-            .spawn()
-            .await?;
+        let r1 = Router::builder(e1.clone()).accept(ECHO_ALPN, proto).spawn();
 
         let addr1 = r1.endpoint().node_addr().await?;
 
diff --git a/pr/3269/docs/src/iroh/test_utils.rs.html b/pr/3269/docs/src/iroh/test_utils.rs.html
index 858bfbd2d0..712ba959e8 100644
--- a/pr/3269/docs/src/iroh/test_utils.rs.html
+++ b/pr/3269/docs/src/iroh/test_utils.rs.html
@@ -542,7 +542,8 @@
 541
 542
 543
-544
//! Internal utilities to support testing.
+544
+545
//! Internal utilities to support testing.
 use std::net::Ipv4Addr;
 
 use anyhow::Result;
@@ -645,13 +646,14 @@
     let quic = server
         .quic_addr()
         .map(|addr| RelayQuicConfig { port: addr.port() });
-    let m = RelayMap::from_nodes([RelayNode {
+    let n: RelayMap = RelayNode {
         url: url.clone(),
         stun_only: false,
         stun_port: server.stun_addr().map_or(DEFAULT_STUN_PORT, |s| s.port()),
         quic,
-    }])?;
-    Ok((m, url, server))
+    }
+    .into();
+    Ok((n, url, server))
 }
 
 pub(crate) mod dns_and_pkarr_servers {
diff --git a/pr/3269/docs/src/iroh/tls.rs.html b/pr/3269/docs/src/iroh/tls.rs.html
index 97f4e9df7a..be75e8912f 100644
--- a/pr/3269/docs/src/iroh/tls.rs.html
+++ b/pr/3269/docs/src/iroh/tls.rs.html
@@ -120,7 +120,26 @@
 119
 120
 121
-122
//! TLS configuration for iroh.
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
//! TLS configuration for iroh.
 //!
 //! Currently there are two mechanisms available
 //! - Raw Public Keys, using the TLS extension described in [RFC 7250]
@@ -130,16 +149,27 @@
 
 use std::sync::Arc;
 
-use iroh_base::{PublicKey, SecretKey};
-use quinn::crypto::rustls::{NoInitialCipherSuite, QuicClientConfig, QuicServerConfig};
+use iroh_base::SecretKey;
+use quinn::crypto::rustls::{QuicClientConfig, QuicServerConfig};
 use tracing::warn;
 
 use self::resolver::AlwaysResolvesCert;
 
 pub(crate) mod certificate;
+pub(crate) mod name;
 mod resolver;
 mod verifier;
 
+/// Maximum amount of TLS tickets we will cache (by default) for 0-RTT connection
+/// establishment.
+///
+/// 8 tickets per remote endpoint, 32 different endpoints would max out the required storage:
+/// ~200 bytes per session + certificates (which are ~387 bytes)
+/// So 8 * 32 * (200 + 387) = 150.272 bytes, assuming pointers to certificates
+/// are never aliased pointers (they're Arc'ed).
+/// I think 150KB is an acceptable default upper limit for such a cache.
+const MAX_TLS_TICKETS: usize = 8 * 32;
+
 /// TLS Authentication mechanism
 #[derive(Default, Debug, Copy, Clone, PartialEq, Eq)]
 pub(crate) enum Authentication {
@@ -150,46 +180,72 @@
     RawPublicKey,
 }
 
-impl Authentication {
+/// Configuration for TLS.
+///
+/// The main point of this struct is to keep state that should be kept the same
+/// over multiple TLS sessions the same.
+/// E.g. the `server_verifier` and `client_verifier` Arc pointers are checked to be
+/// the same between different TLS session calls with 0-RTT data in rustls.
+/// This makes sure that's the case.
+#[derive(Debug)]
+pub(crate) struct TlsConfig {
+    pub(crate) auth: Authentication,
+    pub(crate) secret_key: SecretKey,
+    cert_resolver: Arc<AlwaysResolvesCert>,
+    server_verifier: Arc<verifier::ServerCertificateVerifier>,
+    client_verifier: Arc<verifier::ClientCertificateVerifier>,
+    session_store: Arc<dyn rustls::client::ClientSessionStore>,
+}
+
+impl TlsConfig {
+    pub(crate) fn new(auth: Authentication, secret_key: SecretKey) -> Self {
+        let cert_resolver = Arc::new(
+            AlwaysResolvesCert::new(auth, &secret_key).expect("Client cert key DER is valid; qed"),
+        );
+        Self {
+            auth,
+            secret_key,
+            cert_resolver,
+            server_verifier: Arc::new(verifier::ServerCertificateVerifier::new(auth)),
+            client_verifier: Arc::new(verifier::ClientCertificateVerifier::new(auth)),
+            session_store: Arc::new(rustls::client::ClientSessionMemoryCache::new(
+                MAX_TLS_TICKETS,
+            )),
+        }
+    }
+
     /// Create a TLS client configuration.
     ///
     /// If *keylog* is `true` this will enable logging of the pre-master key to the file in the
     /// `SSLKEYLOGFILE` environment variable.  This can be used to inspect the traffic for
     /// debugging purposes.
     pub(crate) fn make_client_config(
-        self,
-        secret_key: &SecretKey,
-        remote_peer_id: PublicKey,
+        &self,
         alpn_protocols: Vec<Vec<u8>>,
-        session_store: Option<Arc<dyn rustls::client::ClientSessionStore>>,
         keylog: bool,
-    ) -> Result<QuicClientConfig, CreateConfigError> {
-        let cert_resolver = Arc::new(
-            AlwaysResolvesCert::new(self, secret_key).expect("Client cert key DER is valid; qed"),
-        );
-
+    ) -> QuicClientConfig {
         let mut crypto = rustls::ClientConfig::builder_with_provider(Arc::new(
             rustls::crypto::ring::default_provider(),
         ))
         .with_protocol_versions(verifier::PROTOCOL_VERSIONS)
         .expect("version supported by ring")
         .dangerous()
-        .with_custom_certificate_verifier(Arc::new(
-            verifier::ServerCertificateVerifier::with_remote_peer_id(self, remote_peer_id),
-        ))
-        .with_client_cert_resolver(cert_resolver);
+        .with_custom_certificate_verifier(self.server_verifier.clone())
+        .with_client_cert_resolver(self.cert_resolver.clone());
         crypto.alpn_protocols = alpn_protocols;
-        if let Some(store) = session_store {
-            crypto.resumption = rustls::client::Resumption::store(store);
-            crypto.enable_early_data = true;
-        }
+
+        // TODO: enable/disable 0-RTT/storing tickets
+        crypto.resumption = rustls::client::Resumption::store(self.session_store.clone());
+        crypto.enable_early_data = true;
+
         if keylog {
             warn!("enabling SSLKEYLOGFILE for TLS pre-master keys");
             crypto.key_log = Arc::new(rustls::KeyLogFile::new());
         }
 
-        let config = crypto.try_into()?;
-        Ok(config)
+        crypto
+            .try_into()
+            .expect("expected to have a TLS1.3-compatible crypto provider set (hardcoded)")
     }
 
     /// Create a TLS server configuration.
@@ -198,22 +254,17 @@
     /// `SSLKEYLOGFILE` environment variable.  This can be used to inspect the traffic for
     /// debugging purposes.
     pub(crate) fn make_server_config(
-        self,
-        secret_key: &SecretKey,
+        &self,
         alpn_protocols: Vec<Vec<u8>>,
         keylog: bool,
-    ) -> Result<QuicServerConfig, CreateConfigError> {
-        let cert_resolver = Arc::new(
-            AlwaysResolvesCert::new(self, secret_key).expect("Server cert key DER is valid; qed"),
-        );
-
+    ) -> QuicServerConfig {
         let mut crypto = rustls::ServerConfig::builder_with_provider(Arc::new(
             rustls::crypto::ring::default_provider(),
         ))
         .with_protocol_versions(verifier::PROTOCOL_VERSIONS)
         .expect("fixed config")
-        .with_client_cert_verifier(Arc::new(verifier::ClientCertificateVerifier::new(self)))
-        .with_cert_resolver(cert_resolver);
+        .with_client_cert_verifier(self.client_verifier.clone())
+        .with_cert_resolver(self.cert_resolver.clone());
         crypto.alpn_protocols = alpn_protocols;
         if keylog {
             warn!("enabling SSLKEYLOGFILE for TLS pre-master keys");
@@ -224,22 +275,9 @@
         // This is specified in RFC 9001: https://www.rfc-editor.org/rfc/rfc9001#section-4.6.1
         crypto.max_early_data_size = u32::MAX;
 
-        let config = crypto.try_into()?;
-        Ok(config)
+        crypto
+            .try_into()
+            .expect("expected to have a TLS1.3-compatible crypto provider set (hardcoded)")
     }
 }
-
-/// Error for generating TLS configs.
-#[derive(Debug, thiserror::Error)]
-pub(crate) enum CreateConfigError {
-    /// Error generating the certificate.
-    #[error("Error generating the certificate")]
-    CertError(#[from] certificate::GenError),
-    /// Error creating QUIC config.
-    #[error("Error creating QUIC config")]
-    ConfigError(#[from] NoInitialCipherSuite),
-    /// Rustls configuration error
-    #[error("rustls error")]
-    Rustls(#[from] rustls::Error),
-}
 
\ No newline at end of file diff --git a/pr/3269/docs/src/iroh/tls/name.rs.html b/pr/3269/docs/src/iroh/tls/name.rs.html new file mode 100644 index 0000000000..f2e2e766c8 --- /dev/null +++ b/pr/3269/docs/src/iroh/tls/name.rs.html @@ -0,0 +1,111 @@ +name.rs - source

iroh/tls/
name.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
//! Implementation of encoding iroh NodeIds as domain names.
+//!
+//! We used to use a constant "localhost" for the TLS server name - however, that affects
+//! 0-RTT and would put all of the TLS session tickets we receive into the same bucket in
+//! the TLS session ticket cache.
+//! So we choose something that'd dependent on the NodeId.
+//! We cannot use hex to encode the NodeId, as that'd encode to 64 characters, but we only
+//! have 63 maximum per DNS subdomain. Base32 is the next best alternative.
+//! We use the `.invalid` TLD, as that's specified (in RFC 2606) to never actually resolve
+//! "for real", unlike `.localhost` which is allowed to resolve to `127.0.0.1`.
+//! We also add "iroh" as a subdomain, although those 5 bytes might not be necessary.
+//! We *could* decide to remove that indicator in the future likely without breakage.
+
+use data_encoding::BASE32_DNSSEC;
+use iroh_base::NodeId;
+
+pub(crate) fn encode(node_id: NodeId) -> String {
+    format!("{}.iroh.invalid", BASE32_DNSSEC.encode(node_id.as_bytes()))
+}
+
+pub(crate) fn decode(name: &str) -> Option<NodeId> {
+    let [base32_node_id, "iroh", "invalid"] = name.split(".").collect::<Vec<_>>()[..] else {
+        return None;
+    };
+    NodeId::from_bytes(
+        &BASE32_DNSSEC
+            .decode(base32_node_id.as_bytes())
+            .ok()?
+            .try_into()
+            .ok()?,
+    )
+    .ok()
+}
+
+#[cfg(test)]
+mod tests {
+    use iroh_base::SecretKey;
+
+    #[test]
+    fn test_roundtrip() {
+        let key = SecretKey::generate(rand::rngs::OsRng);
+        let node_id = key.public();
+        println!("{}", super::encode(node_id));
+        assert_eq!(Some(node_id), super::decode(&super::encode(node_id)));
+    }
+
+    #[test]
+    fn test_snapshot() {
+        let key = SecretKey::from_bytes(&[0; 32]);
+        assert_eq!(
+            super::encode(key.public()),
+            "7dl2ff6emqi2qol3l382krodedij45bn3nh479hqo14a32qpr8kg.iroh.invalid",
+        );
+    }
+}
+
\ No newline at end of file diff --git a/pr/3269/docs/src/iroh/tls/resolver.rs.html b/pr/3269/docs/src/iroh/tls/resolver.rs.html index 4abc2bfeb4..27605300bb 100644 --- a/pr/3269/docs/src/iroh/tls/resolver.rs.html +++ b/pr/3269/docs/src/iroh/tls/resolver.rs.html @@ -90,13 +90,24 @@ 89 90 91 -92
use std::sync::Arc;
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
use std::sync::Arc;
 
 use ed25519_dalek::pkcs8::{spki::der::pem::LineEnding, EncodePrivateKey};
 use iroh_base::SecretKey;
 use webpki::types::{pem::PemObject, CertificateDer, PrivatePkcs8KeyDer};
 
-use super::{certificate, CreateConfigError};
+use super::certificate;
 use crate::tls::Authentication;
 
 #[derive(Debug)]
@@ -105,6 +116,17 @@
     auth: Authentication,
 }
 
+/// Error for generating TLS configs.
+#[derive(Debug, thiserror::Error)]
+pub(super) enum CreateConfigError {
+    /// Error generating the certificate.
+    #[error("Error generating the certificate")]
+    CertError(#[from] certificate::GenError),
+    /// Rustls configuration error
+    #[error("rustls error")]
+    Rustls(#[from] rustls::Error),
+}
+
 impl AlwaysResolvesCert {
     pub(super) fn new(
         auth: Authentication,
diff --git a/pr/3269/docs/src/iroh/tls/verifier.rs.html b/pr/3269/docs/src/iroh/tls/verifier.rs.html
index 520be6b8a8..b029717a24 100644
--- a/pr/3269/docs/src/iroh/tls/verifier.rs.html
+++ b/pr/3269/docs/src/iroh/tls/verifier.rs.html
@@ -338,7 +338,15 @@
 337
 338
 339
-340
//! TLS 1.3 certificates and handshakes handling.
+340
+341
+342
+343
+344
+345
+346
+347
+348
//! TLS 1.3 certificates and handshakes handling.
 //!
 //! This module handles a verification of a client/server certificate chain
 //! and signatures allegedly by the given certificates, or using raw public keys.
@@ -399,11 +407,8 @@
 /// Only TLS 1.3 is supported. TLS 1.2 should be disabled in the configuration of `rustls`.
 #[derive(Debug)]
 pub(super) struct ServerCertificateVerifier {
-    /// The peer we intend to connect to.
-    remote_peer_id: PublicKey,
     /// Which TLS authentication mode to operate in.
     auth: Authentication,
-    trusted_spki: Vec<SubjectPublicKeyInfoDer<'static>>,
 }
 
 /// We require the following
@@ -415,32 +420,37 @@
 ///
 /// or a raw public key.
 impl ServerCertificateVerifier {
-    pub(super) fn with_remote_peer_id(auth: Authentication, remote_peer_id: PublicKey) -> Self {
-        let mut trusted_spki = Vec::new();
-        let der_key = remote_peer_id
-            .public()
-            .to_public_key_der()
-            .expect("valid key");
-        let remote_key = SubjectPublicKeyInfoDer::from(der_key.into_vec());
-        trusted_spki.push(remote_key);
-
-        Self {
-            remote_peer_id,
-            auth,
-            trusted_spki,
-        }
+    pub(super) fn new(auth: Authentication) -> Self {
+        Self { auth }
     }
 }
 
+fn public_key_to_spki(remote_peer_id: &PublicKey) -> SubjectPublicKeyInfoDer<'static> {
+    let der_key = remote_peer_id
+        .public()
+        .to_public_key_der()
+        .expect("valid key");
+    SubjectPublicKeyInfoDer::from(der_key.into_vec())
+}
+
 impl ServerCertVerifier for ServerCertificateVerifier {
     fn verify_server_cert(
         &self,
         end_entity: &Certificate,
         intermediates: &[Certificate],
-        _server_name: &rustls::pki_types::ServerName,
+        server_name: &rustls::pki_types::ServerName,
         _ocsp_response: &[u8],
         _now: rustls::pki_types::UnixTime,
     ) -> Result<ServerCertVerified, rustls::Error> {
+        let rustls::pki_types::ServerName::DnsName(dns_name) = server_name else {
+            return Err(rustls::Error::UnsupportedNameType);
+        };
+        let Some(remote_peer_id) = super::name::decode(dns_name.as_ref()) else {
+            return Err(rustls::Error::InvalidCertificate(
+                CertificateError::NotValidForName,
+            ));
+        };
+
         match self.auth {
             Authentication::X509 => {
                 let peer_id = verify_presented_certs(end_entity, intermediates)?;
@@ -449,7 +459,7 @@
                 // it is connecting to. Clients MUST verify that the peer ID derived from
                 // the certificate matches the peer ID they intended to connect to,
                 // and MUST abort the connection if there is a mismatch.
-                if self.remote_peer_id != peer_id {
+                if remote_peer_id != peer_id {
                     return Err(rustls::Error::PeerMisbehaved(
                         PeerMisbehaved::BadCertChainExtensions,
                     ));
@@ -466,7 +476,13 @@
 
                 let end_entity_as_spki = SubjectPublicKeyInfoDer::from(end_entity.as_ref());
 
-                if !self.trusted_spki.contains(&end_entity_as_spki) {
+                // This effectively checks that the `end_entity_as_spki` bytes have the expected
+                // (constant) 12 byte prefix (consisting of the Ed25519 public key ASN.1 object
+                // identifier, some ASN.1 DER encoding bytes signaling that this is a SPKI and
+                // consists of the object identifier and a bit sequence, a zero byte indicating
+                // that the bit sequence is padded with 0 additional bits) matches, as well as
+                // the public key bytes match the `remote_peer_id` public key bytes.
+                if public_key_to_spki(&remote_peer_id) != end_entity_as_spki {
                     return Err(rustls::Error::InvalidCertificate(
                         CertificateError::UnknownIssuer,
                     ));
diff --git a/pr/3269/docs/src/iroh_bench/iroh.rs.html b/pr/3269/docs/src/iroh_bench/iroh.rs.html
index 08c6528fc8..4c81d2858b 100644
--- a/pr/3269/docs/src/iroh_bench/iroh.rs.html
+++ b/pr/3269/docs/src/iroh_bench/iroh.rs.html
@@ -304,7 +304,7 @@
 use bytes::Bytes;
 use iroh::{
     endpoint::{Connection, ConnectionError, RecvStream, SendStream, TransportConfig},
-    Endpoint, NodeAddr, RelayMap, RelayMode, RelayUrl,
+    Endpoint, NodeAddr, RelayMode, RelayUrl,
 };
 use tracing::{trace, warn};
 
@@ -322,9 +322,9 @@
 ) -> (NodeAddr, Endpoint) {
     let _guard = rt.enter();
     rt.block_on(async move {
-        let relay_mode = relay_url.clone().map_or(RelayMode::Disabled, |url| {
-            RelayMode::Custom(RelayMap::from_url(url))
-        });
+        let relay_mode = relay_url
+            .clone()
+            .map_or(RelayMode::Disabled, |url| RelayMode::Custom(url.into()));
 
         #[allow(unused_mut)]
         let mut builder = Endpoint::builder();
@@ -384,9 +384,9 @@
     relay_url: Option<RelayUrl>,
     opt: Opt,
 ) -> Result<(Endpoint, Connection)> {
-    let relay_mode = relay_url.clone().map_or(RelayMode::Disabled, |url| {
-        RelayMode::Custom(RelayMap::from_url(url))
-    });
+    let relay_mode = relay_url
+        .clone()
+        .map_or(RelayMode::Disabled, |url| RelayMode::Custom(url.into()));
     #[allow(unused_mut)]
     let mut builder = Endpoint::builder();
     #[cfg(feature = "local-relay")]
diff --git a/pr/3269/docs/src/iroh_dns_server/store.rs.html b/pr/3269/docs/src/iroh_dns_server/store.rs.html
index 43a200b9f9..3e06704859 100644
--- a/pr/3269/docs/src/iroh_dns_server/store.rs.html
+++ b/pr/3269/docs/src/iroh_dns_server/store.rs.html
@@ -267,7 +267,30 @@
 266
 267
 268
-269
//! Pkarr packet store used to resolve DNS queries.
+269
+270
+271
+272
+273
+274
+275
+276
+277
+278
+279
+280
+281
+282
+283
+284
+285
+286
+287
+288
+289
+290
+291
+292
//! Pkarr packet store used to resolve DNS queries.
 
 use std::{collections::BTreeMap, num::NonZeroUsize, path::Path, sync::Arc, time::Duration};
 
@@ -276,7 +299,7 @@
 use lru::LruCache;
 use pkarr::{Client as PkarrClient, SignedPacket};
 use tokio::sync::Mutex;
-use tracing::{debug, trace};
+use tracing::{debug, trace, warn};
 use ttl_cache::TtlCache;
 
 use self::signed_packets::SignedPacketStore;
@@ -361,24 +384,46 @@
     }
 
     /// Resolve a DNS query.
-    #[allow(clippy::unused_async)]
+    #[tracing::instrument("resolve", skip_all, fields(pubkey=%pubkey,name=%name,typ=%record_type))]
     pub async fn resolve(
         &self,
         pubkey: &PublicKeyBytes,
         name: &Name,
         record_type: RecordType,
     ) -> Result<Option<Arc<RecordSet>>> {
-        tracing::info!("{} {}", name, record_type);
+        trace!("store resolve");
         if let Some(rset) = self.cache.lock().await.resolve(pubkey, name, record_type) {
+            debug!(
+                len = rset.records_without_rrsigs().count(),
+                "resolved from cache"
+            );
             return Ok(Some(rset));
         }
 
         if let Some(packet) = self.store.get(pubkey).await? {
-            return self
+            trace!(packet_timestamp = ?packet.timestamp(), "store hit");
+            return match self
                 .cache
                 .lock()
                 .await
-                .insert_and_resolve(&packet, name, record_type);
+                .insert_and_resolve(&packet, name, record_type)
+            {
+                Ok(Some(rset)) => {
+                    debug!(
+                        len = rset.records_without_rrsigs().count(),
+                        "resolved from store"
+                    );
+                    Ok(Some(rset))
+                }
+                Ok(None) => {
+                    debug!("resolved to zone, but no matching records in zone");
+                    Ok(None)
+                }
+                Err(err) => {
+                    warn!("failed to retrieve zone after inserting in cache: {err:#?}");
+                    Err(err)
+                }
+            };
         };
 
         if let Some(pkarr) = self.pkarr.as_ref() {
@@ -495,11 +540,14 @@
             .map(|old| old.is_newer_than(signed_packet))
             .unwrap_or(false)
         {
-            return Ok(());
+            trace!("insert skip: cached is newer");
+            Ok(())
+        } else {
+            self.cache
+                .put(pubkey, CachedZone::from_signed_packet(signed_packet)?);
+            trace!("inserted into cache");
+            Ok(())
         }
-        self.cache
-            .put(pubkey, CachedZone::from_signed_packet(signed_packet)?);
-        Ok(())
     }
 
     fn remove(&mut self, pubkey: &PublicKeyBytes) {
@@ -529,10 +577,8 @@
     }
 
     fn resolve(&self, name: &Name, record_type: RecordType) -> Option<Arc<RecordSet>> {
+        trace!(name=%name, typ=%record_type, "resolve in zone");
         let key = RrKey::new(name.into(), record_type);
-        for record in self.records.keys() {
-            tracing::info!("record {:?}", record);
-        }
         self.records.get(&key).cloned()
     }
 }
diff --git a/pr/3269/docs/src/iroh_dns_server/store/signed_packets.rs.html b/pr/3269/docs/src/iroh_dns_server/store/signed_packets.rs.html
index bf63d737fa..e72a6e8016 100644
--- a/pr/3269/docs/src/iroh_dns_server/store/signed_packets.rs.html
+++ b/pr/3269/docs/src/iroh_dns_server/store/signed_packets.rs.html
@@ -459,7 +459,48 @@
 458
 459
 460
-461
use std::{future::Future, path::Path, result, sync::Arc, time::Duration};
+461
+462
+463
+464
+465
+466
+467
+468
+469
+470
+471
+472
+473
+474
+475
+476
+477
+478
+479
+480
+481
+482
+483
+484
+485
+486
+487
+488
+489
+490
+491
+492
+493
+494
+495
+496
use std::{
+    future::Future,
+    path::Path,
+    result,
+    sync::Arc,
+    time::{Duration, SystemTime},
+};
 
 use anyhow::{Context, Result};
 use pkarr::{SignedPacket, Timestamp};
@@ -468,7 +509,7 @@
 };
 use tokio::sync::{mpsc, oneshot};
 use tokio_util::sync::CancellationToken;
-use tracing::{debug, error, info, trace};
+use tracing::{debug, error, info, trace, warn};
 
 use crate::{metrics::Metrics, util::PublicKeyBytes};
 
@@ -513,7 +554,7 @@
         res: oneshot::Sender<Snapshot>,
     },
     CheckExpired {
-        time: [u8; 8],
+        time: Timestamp,
         key: PublicKeyBytes,
     },
 }
@@ -580,7 +621,6 @@
             let transaction = self.db.begin_write()?;
             let mut tables = Tables::new(&transaction)?;
             let timeout = tokio::time::sleep(self.options.max_batch_time);
-            let expired = Timestamp::now() - expiry_us;
             tokio::pin!(timeout);
             for _ in 0..self.options.max_batch_size {
                 tokio::select! {
@@ -593,9 +633,16 @@
                     Some(msg) = self.recv.recv() => {
                         match msg {
                             Message::Get { key, res } => {
-                                trace!("get {}", key);
-                                let packet = get_packet(&tables.signed_packets, &key).context("get packet failed")?;
-                                res.send(packet).ok();
+                                match get_packet(&tables.signed_packets, &key) {
+                                    Ok(packet) => {
+                                        trace!("get {key}: {}", packet.is_some());
+                                        res.send(packet).ok();
+                                    },
+                                    Err(err) => {
+                                        warn!("get {key} failed: {err:#}");
+                                        return Err(err).with_context(|| format!("get packet for {key} failed"))
+                                    }
+                                }
                             }
                             Message::Upsert { packet, res } => {
                                 let key = PublicKeyBytes::from_signed_packet(&packet);
@@ -605,8 +652,8 @@
                                         res.send(false).ok();
                                         continue;
                                     } else {
-                                        // remove the packet from the update time index
-                                        tables.update_time.remove(&packet.timestamp().to_bytes(), key.as_bytes())?;
+                                        // remove the old packet from the update time index
+                                        tables.update_time.remove(&existing.timestamp().to_bytes(), key.as_bytes())?;
                                         true
                                     }
                                 } else {
@@ -639,13 +686,21 @@
                                 res.send(Snapshot::new(&self.db)?).ok();
                             }
                             Message::CheckExpired { key, time } => {
-                                trace!("check expired {} at {}", key, u64::from_be_bytes(time));
+                                trace!("check expired {} at {}", key, fmt_time(time));
                                 if let Some(packet) = get_packet(&tables.signed_packets, &key)? {
+                                    let expired = Timestamp::now() - expiry_us;
                                     if packet.timestamp() < expired {
-                                        tables.update_time.remove(&time, key.as_bytes())?;
+                                        tables.update_time.remove(&time.to_bytes(), key.as_bytes())?;
                                         let _ = tables.signed_packets.remove(key.as_bytes())?;
                                         self.metrics.store_packets_expired.inc();
+                                        debug!("removed expired packet {key}");
+                                    } else {
+                                        debug!("packet {key} is no longer expired, removing obsolete expiry entry");
+                                        tables.update_time.remove(&time.to_bytes(), key.as_bytes())?;
                                     }
+                                } else {
+                                    debug!("expired packet {key} not found, remove from expiry table");
+                                    tables.update_time.remove(&time.to_bytes(), key.as_bytes())?;
                                 }
                             }
                         }
@@ -659,6 +714,10 @@
     }
 }
 
+fn fmt_time(t: Timestamp) -> String {
+    humantime::format_rfc3339_micros(SystemTime::from(t)).to_string()
+}
+
 /// A struct similar to [`redb::Table`] but for all tables that make up the
 /// signed packet store.
 pub(super) struct Tables<'a> {
@@ -778,8 +837,23 @@
     let Some(row) = table.get(key.as_ref()).context("database fetch failed")? else {
         return Ok(None);
     };
-    let packet = SignedPacket::deserialize(row.value()).context("parsing signed packet failed")?;
-    Ok(Some(packet))
+    match SignedPacket::deserialize(row.value()) {
+        Ok(packet) => Ok(Some(packet)),
+        Err(err) => {
+            // Prior to iroh-dns-server v0.35, we stored packets in the default `SignedPacket::as_bytes` serialization from pkarr v2,
+            // which did not include the `last_seen` timestamp added as a prefix in `SignedPacket::serialize` from pkarr v3.
+            // If decoding the packet as a serialized pkarr v3 packet fails, we assume it was stored with iroh-dns-server before v0.35,
+            // and prepend an empty timestamp.
+            let data = row.value();
+            let mut buf = Vec::with_capacity(data.len() + 8);
+            buf.extend(&[0u8; 8]);
+            buf.extend(data);
+            match SignedPacket::deserialize(&buf) {
+                Ok(packet) => Ok(Some(packet)),
+                Err(err2) => Err(anyhow::anyhow!("Failed to decode as pkarr v3: {err:#}. Also failed to decode as pkarr v2: {err2:#}"))
+            }
+        }
+    }
 }
 
 async fn evict_task(send: mpsc::Sender<Message>, options: Options, cancel: CancellationToken) {
@@ -807,7 +881,7 @@
             anyhow::bail!("failed to get snapshot");
         };
         let expired = Timestamp::now() - expiry_us;
-        trace!("evicting packets older than {}", expired);
+        trace!("evicting packets older than {}", fmt_time(expired));
         // if getting the range fails we exit the loop and shut down
         // if individual reads fail we log the error and limp on
         for item in snapshot.update_time.range(..expired.to_bytes())? {
@@ -818,26 +892,22 @@
                     continue;
                 }
             };
-            let time = time.value();
-            trace!("evicting expired packets at {}", u64::from_be_bytes(time));
+            let time = Timestamp::from(time.value());
+            trace!("evicting expired packets at {}", fmt_time(time));
             for item in keys {
                 let key = match item {
                     Ok(v) => v,
                     Err(e) => {
                         error!(
                             "failed to read update_time item at {}: {:?}",
-                            u64::from_be_bytes(time),
+                            fmt_time(time),
                             e
                         );
                         continue;
                     }
                 };
                 let key = PublicKeyBytes::new(key.value());
-                debug!(
-                    "evicting expired packet {} {}",
-                    u64::from_be_bytes(time),
-                    key
-                );
+                debug!("evicting expired packet {} {}", fmt_time(time), key);
                 send.send(Message::CheckExpired { time, key }).await?;
             }
         }
diff --git a/pr/3269/docs/src/iroh_relay/relay_map.rs.html b/pr/3269/docs/src/iroh_relay/relay_map.rs.html
index 04f3ff35cb..95541bbec0 100644
--- a/pr/3269/docs/src/iroh_relay/relay_map.rs.html
+++ b/pr/3269/docs/src/iroh_relay/relay_map.rs.html
@@ -156,11 +156,23 @@
 155
 156
 157
-158
//! based on tailscale/tailcfg/derpmap.go
+158
+159
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
//! based on tailscale/tailcfg/derpmap.go
 
 use std::{collections::BTreeMap, fmt, sync::Arc};
 
-use anyhow::{ensure, Result};
 use iroh_base::RelayUrl;
 use serde::{Deserialize, Serialize};
 
@@ -210,50 +222,53 @@
     pub fn is_empty(&self) -> bool {
         self.nodes.is_empty()
     }
+}
 
-    /// 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 default_from_node(url: RelayUrl, stun_port: u16) -> Self {
-        let mut nodes = BTreeMap::new();
-        nodes.insert(
-            url.clone(),
-            RelayNode {
-                url,
-                stun_only: false,
-                stun_port,
-                quic: Some(RelayQuicConfig::default()),
-            }
-            .into(),
-        );
-
-        RelayMap {
-            nodes: Arc::new(nodes),
+impl FromIterator<RelayNode> for RelayMap {
+    fn from_iter<T: IntoIterator<Item = RelayNode>>(iter: T) -> Self {
+        Self {
+            nodes: Arc::new(
+                iter.into_iter()
+                    .map(|node| (node.url.clone(), Arc::new(node)))
+                    .collect(),
+            ),
         }
     }
+}
 
-    /// Returns a [`RelayMap`] from a [`RelayUrl`].
+impl From<RelayUrl> for RelayMap {
+    /// Creates 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_url(url: RelayUrl) -> Self {
-        Self::default_from_node(url, DEFAULT_STUN_PORT)
+    /// The [`RelayNode`]s in the [`RelayMap`] will have the default STUN and QUIC address
+    /// discovery ports.
+    fn from(value: RelayUrl) -> Self {
+        Self {
+            nodes: Arc::new([(value.clone(), Arc::new(value.into()))].into()),
+        }
     }
+}
 
-    /// Constructs the [`RelayMap`] from an iterator of [`RelayNode`]s.
-    pub fn from_nodes<I: Into<Arc<RelayNode>>>(value: impl IntoIterator<Item = I>) -> Result<Self> {
-        let mut map = BTreeMap::new();
-        for node in value.into_iter() {
-            let node = node.into();
-            ensure!(!map.contains_key(&node.url), "Duplicate node url");
-            map.insert(node.url.clone(), node);
+impl From<RelayNode> for RelayMap {
+    fn from(value: RelayNode) -> Self {
+        Self {
+            nodes: Arc::new([(value.url.clone(), Arc::new(value))].into()),
+        }
+    }
+}
+
+impl FromIterator<RelayUrl> for RelayMap {
+    /// Creates a [`RelayMap`] from an iterator of [`RelayUrl`].
+    ///
+    /// The [`RelayNode`]s in the [`RelayMap`] will have the default STUN and QUIC address
+    /// discovery ports.
+    fn from_iter<T: IntoIterator<Item = RelayUrl>>(iter: T) -> Self {
+        Self {
+            nodes: Arc::new(
+                iter.into_iter()
+                    .map(|url| (url.clone(), Arc::new(url.into())))
+                    .collect(),
+            ),
         }
-        Ok(RelayMap { nodes: map.into() })
     }
 }
 
@@ -289,6 +304,17 @@
     pub quic: Option<RelayQuicConfig>,
 }
 
+impl From<RelayUrl> for RelayNode {
+    fn from(value: RelayUrl) -> Self {
+        Self {
+            url: value,
+            stun_only: false,
+            stun_port: DEFAULT_STUN_PORT,
+            quic: quic_config(),
+        }
+    }
+}
+
 fn quic_config() -> Option<RelayQuicConfig> {
     Some(RelayQuicConfig::default())
 }
diff --git a/pr/3269/docs/src/iroh_relay/server.rs.html b/pr/3269/docs/src/iroh_relay/server.rs.html
index 7611e68322..48dec16209 100644
--- a/pr/3269/docs/src/iroh_relay/server.rs.html
+++ b/pr/3269/docs/src/iroh_relay/server.rs.html
@@ -1253,7 +1253,40 @@
 1252
 1253
 1254
-1255
//! A fully-fledged iroh-relay server over HTTP or HTTPS.
+1255
+1256
+1257
+1258
+1259
+1260
+1261
+1262
+1263
+1264
+1265
+1266
+1267
+1268
+1269
+1270
+1271
+1272
+1273
+1274
+1275
+1276
+1277
+1278
+1279
+1280
+1281
+1282
+1283
+1284
+1285
+1286
+1287
+1288
//! 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
@@ -2507,5 +2540,38 @@
 
         Ok(())
     }
+
+    #[tokio::test]
+    #[traced_test]
+    async fn test_relay_clients_full() -> TestResult<()> {
+        let server = spawn_local_relay().await.unwrap();
+        let relay_url = format!("http://{}", server.http_addr().unwrap());
+        let relay_url: RelayUrl = relay_url.parse().unwrap();
+
+        // set up client a
+        let a_secret_key = SecretKey::generate(rand::thread_rng());
+        let resolver = dns_resolver();
+        let mut client_a = ClientBuilder::new(relay_url.clone(), a_secret_key, resolver.clone())
+            .connect()
+            .await?;
+
+        // set up client b
+        let b_secret_key = SecretKey::generate(rand::thread_rng());
+        let b_key = b_secret_key.public();
+        let _client_b = ClientBuilder::new(relay_url.clone(), b_secret_key, resolver.clone())
+            .connect()
+            .await?;
+
+        // send messages from a to b, without b receiving anything.
+        // we should still keep succeeding to send, even if the packet won't be forwarded
+        // by the relay server because the server's send queue for b fills up.
+        let msg = Bytes::from("hello, b");
+        for _i in 0..1000 {
+            client_a
+                .send(SendMessage::SendPacket(b_key, msg.clone()))
+                .await?;
+        }
+        Ok(())
+    }
 }
 
\ No newline at end of file diff --git a/pr/3269/docs/src/iroh_relay/server/client.rs.html b/pr/3269/docs/src/iroh_relay/server/client.rs.html index 3a0decec93..b43e5276ad 100644 --- a/pr/3269/docs/src/iroh_relay/server/client.rs.html +++ b/pr/3269/docs/src/iroh_relay/server/client.rs.html @@ -805,7 +805,36 @@ 804 805 806 -807
//! The server-side representation of an ongoing client relaying connection.
+807
+808
+809
+810
+811
+812
+813
+814
+815
+816
+817
+818
+819
+820
+821
+822
+823
+824
+825
+826
+827
+828
+829
+830
+831
+832
+833
+834
+835
+836
//! The server-side representation of an ongoing client relaying connection.
 
 use std::{
     collections::HashSet, future::Future, num::NonZeroU32, pin::Pin, sync::Arc, task::Poll,
@@ -1172,7 +1201,11 @@
         match frame {
             Frame::SendPacket { dst_key, packet } => {
                 let packet_len = packet.len();
-                self.handle_frame_send_packet(dst_key, packet)?;
+                if let Err(err @ ForwardPacketError { .. }) =
+                    self.handle_frame_send_packet(dst_key, packet)
+                {
+                    warn!("failed to handle send packet frame: {err:#}");
+                }
                 self.metrics.bytes_recv.inc_by(packet_len as u64);
             }
             Frame::Ping { data } => {
@@ -1194,7 +1227,7 @@
         Ok(())
     }
 
-    fn handle_frame_send_packet(&self, dst: NodeId, data: Bytes) -> Result<()> {
+    fn handle_frame_send_packet(&self, dst: NodeId, data: Bytes) -> Result<(), ForwardPacketError> {
         if disco::looks_like_disco_wrapper(&data) {
             self.metrics.disco_packets_recv.inc();
             self.clients
@@ -1208,6 +1241,31 @@
     }
 }
 
+#[derive(Debug)]
+pub(crate) enum PacketScope {
+    Disco,
+    Data,
+}
+
+#[derive(Debug)]
+pub(crate) enum SendError {
+    Full,
+    Closed,
+}
+
+#[derive(Debug, thiserror::Error)]
+#[error("failed to forward {scope:?} packet: {reason:?}")]
+pub(crate) struct ForwardPacketError {
+    scope: PacketScope,
+    reason: SendError,
+}
+
+impl ForwardPacketError {
+    pub(crate) fn new(scope: PacketScope, reason: SendError) -> Self {
+        Self { scope, reason }
+    }
+}
+
 /// Rate limiter for reading from a [`RelayedStream`].
 ///
 /// The writes to the sink are not rate limited.
diff --git a/pr/3269/docs/src/iroh_relay/server/clients.rs.html b/pr/3269/docs/src/iroh_relay/server/clients.rs.html
index 9c4a886859..5e3df7773e 100644
--- a/pr/3269/docs/src/iroh_relay/server/clients.rs.html
+++ b/pr/3269/docs/src/iroh_relay/server/clients.rs.html
@@ -268,7 +268,16 @@
 267
 268
 269
-270
//! The "Server" side of the client. Uses the `ClientConnManager`.
+270
+271
+272
+273
+274
+275
+276
+277
+278
+279
//! The "Server" side of the client. Uses the `ClientConnManager`.
 // Based on tailscale/derp/derp_server.go
 
 use std::{
@@ -279,15 +288,18 @@
     },
 };
 
-use anyhow::{bail, Result};
+use anyhow::Result;
 use bytes::Bytes;
 use dashmap::DashMap;
 use iroh_base::NodeId;
 use tokio::sync::mpsc::error::TrySendError;
 use tracing::{debug, trace};
 
-use super::client::{Client, Config};
-use crate::server::metrics::Metrics;
+use super::client::{Client, Config, ForwardPacketError};
+use crate::server::{
+    client::{PacketScope, SendError},
+    metrics::Metrics,
+};
 
 /// Manages the connections to all currently connected clients.
 #[derive(Debug, Default, Clone)]
@@ -379,7 +391,7 @@
         data: Bytes,
         src: NodeId,
         metrics: &Metrics,
-    ) -> Result<()> {
+    ) -> Result<(), ForwardPacketError> {
         let Some(client) = self.0.clients.get(&dst) else {
             debug!(dst = dst.fmt_short(), "no connected client, dropped packet");
             metrics.send_packets_dropped.inc();
@@ -396,7 +408,7 @@
                     dst = dst.fmt_short(),
                     "client too busy to receive packet, dropping packet"
                 );
-                bail!("failed to send message: full");
+                Err(ForwardPacketError::new(PacketScope::Data, SendError::Full))
             }
             Err(TrySendError::Closed(_)) => {
                 debug!(
@@ -404,7 +416,10 @@
                     "can no longer write to client, dropping message and pruning connection"
                 );
                 client.start_shutdown();
-                bail!("failed to send message: gone");
+                Err(ForwardPacketError::new(
+                    PacketScope::Data,
+                    SendError::Closed,
+                ))
             }
         }
     }
@@ -416,7 +431,7 @@
         data: Bytes,
         src: NodeId,
         metrics: &Metrics,
-    ) -> Result<()> {
+    ) -> Result<(), ForwardPacketError> {
         let Some(client) = self.0.clients.get(&dst) else {
             debug!(
                 dst = dst.fmt_short(),
@@ -436,7 +451,7 @@
                     dst = dst.fmt_short(),
                     "client too busy to receive disco packet, dropping packet"
                 );
-                bail!("failed to send message: full");
+                Err(ForwardPacketError::new(PacketScope::Disco, SendError::Full))
             }
             Err(TrySendError::Closed(_)) => {
                 debug!(
@@ -444,7 +459,10 @@
                     "can no longer write to client, dropping disco message and pruning connection"
                 );
                 client.start_shutdown();
-                bail!("failed to send message: gone");
+                Err(ForwardPacketError::new(
+                    PacketScope::Disco,
+                    SendError::Closed,
+                ))
             }
         }
     }
diff --git a/pr/3269/docs/trait.impl/core/convert/trait.From.js b/pr/3269/docs/trait.impl/core/convert/trait.From.js
index 4845173837..3c3eda16f7 100644
--- a/pr/3269/docs/trait.impl/core/convert/trait.From.js
+++ b/pr/3269/docs/trait.impl/core/convert/trait.From.js
@@ -1,9 +1,9 @@
 (function() {
-    var implementors = Object.fromEntries([["iroh",[["impl From<DiscoveryItem> 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<NodeInfo> for NodeAddr"],["impl From<Error> for ConnSendError"],["impl From<NodeAddr> for NodeData"],["impl From<NodeAddr> for NodeInfo"],["impl From<Resolver<GenericConnector<TokioRuntimeProvider>>> for DnsResolver"],["impl From<TxtLookup> for TxtLookup"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl From<DiscoveryItem> 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<NodeInfo> for NodeAddr"],["impl From<RelayNode> for RelayMap"],["impl From<Error> for ConnSendError"],["impl From<NodeAddr> for NodeData"],["impl From<NodeAddr> for NodeInfo"],["impl From<RelayUrl> for RelayMap"],["impl From<RelayUrl> for RelayNode"],["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":[1632,5343,2281]} \ No newline at end of file +//{"start":57,"fragment_lengths":[1632,5343,3221]} \ No newline at end of file diff --git a/pr/3269/docs/trait.impl/core/iter/traits/collect/trait.FromIterator.js b/pr/3269/docs/trait.impl/core/iter/traits/collect/trait.FromIterator.js new file mode 100644 index 0000000000..d104c409e3 --- /dev/null +++ b/pr/3269/docs/trait.impl/core/iter/traits/collect/trait.FromIterator.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["iroh_relay",[["impl FromIterator<RelayNode> for RelayMap"],["impl FromIterator<RelayUrl> for RelayMap"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[776]} \ No newline at end of file diff --git a/pr/3269/docs/trait.impl/serde/de/trait.Deserialize.js b/pr/3269/docs/trait.impl/serde/de/trait.Deserialize.js index 8cb4a83e6f..67b8707275 100644 --- a/pr/3269/docs/trait.impl/serde/de/trait.Deserialize.js +++ b/pr/3269/docs/trait.impl/serde/de/trait.Deserialize.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl<'de> Deserialize<'de> for ConnectionType"],["impl<'de> Deserialize<'de> for ControlMsg"],["impl<'de> Deserialize<'de> for Source"],["impl<'de> Deserialize<'de> for DirectAddrInfo"],["impl<'de> Deserialize<'de> for RemoteInfo"],["impl<'de> Deserialize<'de> for EndpointMetrics"],["impl<'de> Deserialize<'de> for Metrics"],["impl<'de> Deserialize<'de> for Metrics"]]],["iroh_base",[["impl<'de> Deserialize<'de> for NodeAddr"],["impl<'de> Deserialize<'de> for PublicKey"],["impl<'de> Deserialize<'de> for RelayUrl"],["impl<'de> Deserialize<'de> for SecretKey"],["impl<'de> Deserialize<'de> for NodeTicket"]]],["iroh_dns_server",[["impl<'de> Deserialize<'de> for BootstrapOption"],["impl<'de> Deserialize<'de> for CertMode"],["impl<'de> Deserialize<'de> for RateLimitConfig"],["impl<'de> Deserialize<'de> for Config"],["impl<'de> Deserialize<'de> for MainlineConfig"],["impl<'de> Deserialize<'de> for MetricsConfig"],["impl<'de> Deserialize<'de> for StoreConfig"],["impl<'de> Deserialize<'de> for DnsConfig"],["impl<'de> Deserialize<'de> for HttpConfig"],["impl<'de> Deserialize<'de> for HttpsConfig"]]],["iroh_relay",[["impl<'de> Deserialize<'de> for RelayNode"],["impl<'de> Deserialize<'de> for RelayQuicConfig"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl<'de> Deserialize<'de> for ConnectionType"],["impl<'de> Deserialize<'de> for ControlMsg"],["impl<'de> Deserialize<'de> for Source"],["impl<'de> Deserialize<'de> for DirectAddrInfo"],["impl<'de> Deserialize<'de> for RemoteInfo"],["impl<'de> Deserialize<'de> for EndpointMetrics"],["impl<'de> Deserialize<'de> for Metrics"],["impl<'de> Deserialize<'de> for Metrics"]]],["iroh_base",[["impl<'de> Deserialize<'de> for NodeAddr"],["impl<'de> Deserialize<'de> for PublicKey"],["impl<'de> Deserialize<'de> for RelayUrl"],["impl<'de> Deserialize<'de> for SecretKey"],["impl<'de> Deserialize<'de> for NodeTicket"]]],["iroh_dns_server",[["impl<'de> Deserialize<'de> for BootstrapOption"],["impl<'de> Deserialize<'de> for CertMode"],["impl<'de> Deserialize<'de> for RateLimitConfig"],["impl<'de> Deserialize<'de> for Config"],["impl<'de> Deserialize<'de> for MainlineConfig"],["impl<'de> Deserialize<'de> for MetricsConfig"],["impl<'de> Deserialize<'de> for StoreConfig"],["impl<'de> Deserialize<'de> for DnsConfig"],["impl<'de> Deserialize<'de> for HttpConfig"],["impl<'de> Deserialize<'de> for HttpsConfig"]]],["iroh_relay",[["impl<'de> Deserialize<'de> for RelayNode"],["impl<'de> Deserialize<'de> for RelayQuicConfig"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/pr/3269/docs/trait.impl/serde/ser/trait.Serialize.js b/pr/3269/docs/trait.impl/serde/ser/trait.Serialize.js index e580794f32..55c554b5b5 100644 --- a/pr/3269/docs/trait.impl/serde/ser/trait.Serialize.js +++ b/pr/3269/docs/trait.impl/serde/ser/trait.Serialize.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl Serialize for ConnectionType"],["impl Serialize for ControlMsg"],["impl Serialize for Source"],["impl Serialize for DirectAddrInfo"],["impl Serialize for RemoteInfo"],["impl Serialize for EndpointMetrics"],["impl Serialize for Metrics"],["impl Serialize for Metrics"]]],["iroh_base",[["impl Serialize for NodeAddr"],["impl Serialize for PublicKey"],["impl Serialize for RelayUrl"],["impl Serialize for SecretKey"],["impl Serialize for NodeTicket"]]],["iroh_dns_server",[["impl Serialize for BootstrapOption"],["impl Serialize for CertMode"],["impl Serialize for RateLimitConfig"],["impl Serialize for Config"],["impl Serialize for MainlineConfig"],["impl Serialize for MetricsConfig"],["impl Serialize for StoreConfig"],["impl Serialize for DnsConfig"],["impl Serialize for HttpConfig"],["impl Serialize for HttpsConfig"]]],["iroh_relay",[["impl Serialize for RelayNode"],["impl Serialize for RelayQuicConfig"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl Serialize for ConnectionType"],["impl Serialize for ControlMsg"],["impl Serialize for Source"],["impl Serialize for DirectAddrInfo"],["impl Serialize for RemoteInfo"],["impl Serialize for EndpointMetrics"],["impl Serialize for Metrics"],["impl Serialize for Metrics"]]],["iroh_base",[["impl Serialize for NodeAddr"],["impl Serialize for PublicKey"],["impl Serialize for RelayUrl"],["impl Serialize for SecretKey"],["impl Serialize for NodeTicket"]]],["iroh_dns_server",[["impl Serialize for BootstrapOption"],["impl Serialize for CertMode"],["impl Serialize for RateLimitConfig"],["impl Serialize for Config"],["impl Serialize for MainlineConfig"],["impl Serialize for MetricsConfig"],["impl Serialize for StoreConfig"],["impl Serialize for DnsConfig"],["impl Serialize for HttpConfig"],["impl Serialize for HttpsConfig"]]],["iroh_relay",[["impl Serialize for RelayNode"],["impl Serialize for RelayQuicConfig"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/pr/3269/docs/type.impl/iroh/struct.PublicKey.js b/pr/3269/docs/type.impl/iroh/struct.PublicKey.js index d01f8c9287..a369804e7e 100644 --- a/pr/3269/docs/type.impl/iroh/struct.PublicKey.js +++ b/pr/3269/docs/type.impl/iroh/struct.PublicKey.js @@ -1,5 +1,5 @@ (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 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 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 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 { diff --git a/pr/3269/docs/type.impl/iroh_base/struct.PublicKey.js b/pr/3269/docs/type.impl/iroh_base/struct.PublicKey.js index 8e7b57f080..41eae0d55d 100644 --- a/pr/3269/docs/type.impl/iroh_base/struct.PublicKey.js +++ b/pr/3269/docs/type.impl/iroh_base/struct.PublicKey.js @@ -1,5 +1,5 @@ (function() { - var type_impls = Object.fromEntries([["iroh_base",[["
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_base::key::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_base::key::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_base::key::NodeId"],["
Source§

impl Debug for PublicKey

Source§

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

Formats the value using the given formatter. Read more
","Debug","iroh_base::key::NodeId"],["
Source§

impl<'de> Deserialize<'de> for PublicKey

Source§

fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where\n D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","iroh_base::key::NodeId"],["
Source§

impl Display for PublicKey

Source§

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

Formats the value using the given formatter. Read more
","Display","iroh_base::key::NodeId"],["
Source§

impl From<VerifyingKey> for PublicKey

Source§

fn from(verifying_key: VerifyingKey) -> Self

Converts to this type from the input type.
","From","iroh_base::key::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<Self, Self::Err>

Parses a string s to return a value of this type. Read more
","FromStr","iroh_base::key::NodeId"],["
Source§

impl Hash for PublicKey

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\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
","Hash","iroh_base::key::NodeId"],["
Source§

impl Ord for PublicKey

Source§

fn cmp(&self, other: &Self) -> 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_base::key::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_base::key::NodeId"],["
Source§

impl PartialOrd for PublicKey

Source§

fn partial_cmp(&self, other: &Self) -> 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_base::key::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 from_bytes(bytes: &[u8; 32]) -> Result<Self, SignatureError>

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(\n &self,\n message: &[u8],\n signature: &Signature,\n) -> Result<(), SignatureError>

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_base::key::NodeId"],["
Source§

impl Serialize for PublicKey

Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where\n S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","iroh_base::key::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(bytes: &[u8]) -> Result<Self, Self::Error>

Performs the conversion.
","TryFrom<&[u8]>","iroh_base::key::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(bytes: &[u8; 32]) -> Result<Self, Self::Error>

Performs the conversion.
","TryFrom<&[u8; 32]>","iroh_base::key::NodeId"],["
Source§

impl Copy for PublicKey

","Copy","iroh_base::key::NodeId"],["
Source§

impl Eq for PublicKey

","Eq","iroh_base::key::NodeId"],["
Source§

impl StructuralPartialEq for PublicKey

","StructuralPartialEq","iroh_base::key::NodeId"]]]]); + var type_impls = Object.fromEntries([["iroh_base",[["
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_base::key::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_base::key::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_base::key::NodeId"],["
Source§

impl Debug for PublicKey

Source§

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

Formats the value using the given formatter. Read more
","Debug","iroh_base::key::NodeId"],["
Source§

impl<'de> Deserialize<'de> for PublicKey

Source§

fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where\n D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","iroh_base::key::NodeId"],["
Source§

impl Display for PublicKey

Source§

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

Formats the value using the given formatter. Read more
","Display","iroh_base::key::NodeId"],["
Source§

impl From<VerifyingKey> for PublicKey

Source§

fn from(verifying_key: VerifyingKey) -> Self

Converts to this type from the input type.
","From","iroh_base::key::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<Self, Self::Err>

Parses a string s to return a value of this type. Read more
","FromStr","iroh_base::key::NodeId"],["
Source§

impl Hash for PublicKey

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\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
","Hash","iroh_base::key::NodeId"],["
Source§

impl Ord for PublicKey

Source§

fn cmp(&self, other: &Self) -> 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_base::key::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_base::key::NodeId"],["
Source§

impl PartialOrd for PublicKey

Source§

fn partial_cmp(&self, other: &Self) -> 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_base::key::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 from_bytes(bytes: &[u8; 32]) -> Result<Self, SignatureError>

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(\n &self,\n message: &[u8],\n signature: &Signature,\n) -> Result<(), SignatureError>

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_base::key::NodeId"],["
Source§

impl Serialize for PublicKey

Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where\n S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","iroh_base::key::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(bytes: &[u8]) -> Result<Self, Self::Error>

Performs the conversion.
","TryFrom<&[u8]>","iroh_base::key::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(bytes: &[u8; 32]) -> Result<Self, Self::Error>

Performs the conversion.
","TryFrom<&[u8; 32]>","iroh_base::key::NodeId"],["
Source§

impl Copy for PublicKey

","Copy","iroh_base::key::NodeId"],["
Source§

impl Eq for PublicKey

","Eq","iroh_base::key::NodeId"],["
Source§

impl StructuralPartialEq for PublicKey

","StructuralPartialEq","iroh_base::key::NodeId"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else {