From a9f93abf8bb640db02a3ba5a33f2ecc4c29593fd Mon Sep 17 00:00:00 2001 From: Frando Date: Fri, 2 May 2025 08:45:13 +0000 Subject: [PATCH] deploy: 6dec2c7972dba0ecadec944950012039586b135a --- pr/3262/docs/help.html | 2 +- .../discovery/dns/struct.DnsDiscovery.html | 4 +- .../discovery/mdns/struct.MdnsDiscovery.html | 4 +- .../docs/iroh/discovery/pkarr/dht/index.html | 2 +- .../discovery/pkarr/dht/struct.Builder.html | 26 +- .../pkarr/dht/struct.DhtDiscovery.html | 8 +- .../pkarr/struct.PkarrPublisher.html | 4 +- .../pkarr/struct.PkarrRelayClient.html | 4 +- .../discovery/pkarr/struct.PkarrResolver.html | 4 +- .../struct.StaticProvider.html | 4 +- .../discovery/struct.ConcurrentDiscovery.html | 4 +- .../iroh/discovery/struct.DiscoveryItem.html | 4 +- .../docs/iroh/discovery/struct.Lagged.html | 9 +- .../docs/iroh/discovery/struct.NodeData.html | 4 +- .../docs/iroh/discovery/struct.NodeInfo.html | 4 +- .../docs/iroh/discovery/struct.UserData.html | 4 +- .../docs/iroh/discovery/trait.Discovery.html | 2 +- pr/3262/docs/iroh/dns/struct.DnsResolver.html | 4 +- .../constant.ENV_FORCE_STAGING_RELAYS.html | 2 +- .../iroh/endpoint/enum.ConnectionError.html | 9 +- .../iroh/endpoint/enum.ConnectionType.html | 4 +- .../docs/iroh/endpoint/enum.ControlMsg.html | 4 +- .../iroh/endpoint/enum.DirectAddrType.html | 4 +- .../iroh/endpoint/enum.PathSelection.html | 4 +- .../docs/iroh/endpoint/enum.ReadError.html | 9 +- .../iroh/endpoint/enum.ReadExactError.html | 9 +- .../iroh/endpoint/enum.ReadToEndError.html | 9 +- .../docs/iroh/endpoint/enum.RelayMode.html | 10 +- .../docs/iroh/endpoint/enum.ResetError.html | 9 +- .../iroh/endpoint/enum.SendDatagramError.html | 9 +- pr/3262/docs/iroh/endpoint/enum.Source.html | 4 +- .../docs/iroh/endpoint/enum.StoppedError.html | 9 +- .../docs/iroh/endpoint/enum.WriteError.html | 9 +- .../iroh/endpoint/fn.default_relay_mode.html | 2 +- .../iroh/endpoint/fn.force_staging_infra.html | 2 +- pr/3262/docs/iroh/endpoint/index.html | 2 +- pr/3262/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 | 4 +- .../endpoint/struct.ApplicationClose.html | 4 +- .../docs/iroh/endpoint/struct.Builder.html | 6 +- pr/3262/docs/iroh/endpoint/struct.Chunk.html | 4 +- .../iroh/endpoint/struct.ClosedStream.html | 9 +- .../iroh/endpoint/struct.ConnectOptions.html | 24 +- .../docs/iroh/endpoint/struct.Connecting.html | 14 +- .../docs/iroh/endpoint/struct.Connection.html | 52 +-- .../iroh/endpoint/struct.ConnectionClose.html | 4 +- .../iroh/endpoint/struct.ConnectionStats.html | 4 +- .../iroh/endpoint/struct.CryptoError.html | 4 +- .../docs/iroh/endpoint/struct.DirectAddr.html | 4 +- .../iroh/endpoint/struct.DirectAddrInfo.html | 4 +- .../docs/iroh/endpoint/struct.Endpoint.html | 101 +++-- .../struct.ExportKeyingMaterialError.html | 4 +- .../docs/iroh/endpoint/struct.FrameStats.html | 4 +- .../docs/iroh/endpoint/struct.Incoming.html | 22 +- .../iroh/endpoint/struct.IncomingFuture.html | 8 +- .../endpoint/struct.MtuDiscoveryConfig.html | 4 +- pr/3262/docs/iroh/endpoint/struct.OpenBi.html | 4 +- .../docs/iroh/endpoint/struct.OpenUni.html | 4 +- .../docs/iroh/endpoint/struct.PathStats.html | 4 +- .../iroh/endpoint/struct.ReadDatagram.html | 4 +- .../docs/iroh/endpoint/struct.RecvStream.html | 4 +- .../docs/iroh/endpoint/struct.RemoteInfo.html | 4 +- .../docs/iroh/endpoint/struct.RetryError.html | 9 +- .../docs/iroh/endpoint/struct.SendStream.html | 4 +- .../iroh/endpoint/struct.ServerConfig.html | 4 +- .../docs/iroh/endpoint/struct.StreamId.html | 4 +- .../iroh/endpoint/struct.TransportConfig.html | 4 +- .../iroh/endpoint/struct.TransportError.html | 9 +- .../endpoint/struct.TransportErrorCode.html | 4 +- .../docs/iroh/endpoint/struct.UdpStats.html | 4 +- .../endpoint/struct.UnsupportedVersion.html | 4 +- pr/3262/docs/iroh/endpoint/struct.VarInt.html | 4 +- .../endpoint/struct.WeakConnectionHandle.html | 4 +- .../docs/iroh/endpoint/struct.Written.html | 4 +- .../iroh/endpoint/struct.ZeroRttAccepted.html | 6 +- pr/3262/docs/iroh/enum.KeyParsingError.html | 9 +- pr/3262/docs/iroh/enum.RelayProtocol.html | 4 +- pr/3262/docs/iroh/metrics/index.html | 2 +- .../iroh/metrics/struct.EndpointMetrics.html | 11 +- .../iroh/metrics/struct.MagicsockMetrics.html | 19 +- .../iroh/metrics/struct.PortmapMetrics.html | 24 +- .../iroh/metrics/struct.RelayMetrics.html | 14 +- pr/3262/docs/iroh/net_report/struct.Addr.html | 4 +- .../docs/iroh/net_report/struct.Client.html | 4 +- .../docs/iroh/net_report/struct.Metrics.html | 19 +- .../docs/iroh/net_report/struct.Options.html | 4 +- .../iroh/net_report/struct.QuicConfig.html | 4 +- .../net_report/struct.RelayLatencies.html | 4 +- .../docs/iroh/net_report/struct.Report.html | 4 +- .../struct.MaxLengthExceededError.html | 9 +- .../docs/iroh/node_info/struct.NodeData.html | 4 +- .../docs/iroh/node_info/struct.NodeInfo.html | 4 +- .../docs/iroh/node_info/struct.UserData.html | 4 +- .../iroh/protocol/struct.AccessLimit.html | 4 +- pr/3262/docs/iroh/protocol/struct.Router.html | 4 +- .../iroh/protocol/struct.RouterBuilder.html | 4 +- pr/3262/docs/iroh/struct.NodeAddr.html | 4 +- pr/3262/docs/iroh/struct.PublicKey.html | 4 +- pr/3262/docs/iroh/struct.RelayMap.html | 4 +- pr/3262/docs/iroh/struct.RelayNode.html | 4 +- pr/3262/docs/iroh/struct.RelayUrl.html | 4 +- .../docs/iroh/struct.RelayUrlParseError.html | 9 +- pr/3262/docs/iroh/struct.SecretKey.html | 4 +- .../test_utils/struct.CleanupDropGuard.html | 4 +- .../test_utils/struct.DnsPkarrServer.html | 4 +- .../iroh/watchable/struct.Disconnected.html | 9 +- .../watchable/struct.WatchInitializedFut.html | 4 +- .../iroh/watchable/struct.WatchNextFut.html | 4 +- .../docs/iroh/watchable/struct.Watchable.html | 4 +- .../docs/iroh/watchable/struct.Watcher.html | 4 +- .../iroh/watchable/struct.WatcherStream.html | 4 +- pr/3262/docs/iroh_bench/enum.Commands.html | 4 +- .../iroh_bench/enum.ConnectionSelector.html | 8 +- .../iroh_bench/enum.EndpointSelector.html | 8 +- pr/3262/docs/iroh_bench/iroh/fn.client.html | 4 +- .../iroh_bench/iroh/fn.connect_client.html | 6 +- .../iroh/fn.handle_client_stream.html | 2 +- pr/3262/docs/iroh_bench/iroh/fn.server.html | 2 +- .../iroh_bench/iroh/fn.server_endpoint.html | 4 +- pr/3262/docs/iroh_bench/s2n/struct.Opt.html | 4 +- .../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/3262/docs/iroh_bench/struct.Opt.html | 4 +- .../config/enum.BootstrapOption.html | 4 +- .../iroh_dns_server/config/struct.Config.html | 4 +- .../config/struct.MainlineConfig.html | 4 +- .../config/struct.MetricsConfig.html | 4 +- .../config/struct.StoreConfig.html | 4 +- .../iroh_dns_server/dns/struct.DnsConfig.html | 4 +- .../dns/struct.DnsHandler.html | 4 +- .../iroh_dns_server/dns/struct.DnsServer.html | 4 +- .../iroh_dns_server/dns/struct.Handle.html | 4 +- .../iroh_dns_server/http/enum.CertMode.html | 4 +- .../http/enum.RateLimitConfig.html | 4 +- .../http/struct.HttpConfig.html | 4 +- .../http/struct.HttpServer.html | 4 +- .../http/struct.HttpsConfig.html | 4 +- pr/3262/docs/iroh_dns_server/index.html | 2 +- .../metrics/struct.Metrics.html | 14 +- .../iroh_dns_server/server/struct.Server.html | 4 +- .../state/struct.AppState.html | 4 +- .../iroh_dns_server/struct.ZoneStore.html | 16 +- .../iroh_relay/client/enum.ConnSendError.html | 9 +- .../client/enum.ReceivedMessage.html | 12 +- .../iroh_relay/client/enum.SendMessage.html | 8 +- .../docs/iroh_relay/client/struct.Client.html | 4 +- .../client/struct.ClientBuilder.html | 8 +- .../iroh_relay/client/struct.ClientSink.html | 4 +- .../client/struct.ClientStream.html | 4 +- .../iroh_relay/dns/struct.DnsResolver.html | 12 +- pr/3262/docs/iroh_relay/dns/struct.TXT.html | 4 +- .../docs/iroh_relay/dns/struct.TxtLookup.html | 4 +- .../docs/iroh_relay/http/enum.Protocol.html | 4 +- pr/3262/docs/iroh_relay/index.html | 2 +- pr/3262/docs/iroh_relay/node_info/index.html | 10 +- .../struct.MaxLengthExceededError.html | 9 +- .../iroh_relay/node_info/struct.NodeData.html | 20 +- .../iroh_relay/node_info/struct.NodeInfo.html | 30 +- .../iroh_relay/node_info/struct.UserData.html | 4 +- .../iroh_relay/node_info/trait.NodeIdExt.html | 10 +- .../iroh_relay/protos/stun/enum.Error.html | 9 +- .../protos/stun/enum.MessageClass.html | 4 +- .../protos/stun/enum.StunAttribute.html | 4 +- .../protos/stun/struct.MessageDecoder.html | 4 +- .../protos/stun/struct.StunDecodeError.html | 9 +- .../protos/stun/struct.TransactionId.html | 4 +- .../iroh_relay/quic/struct.QuicClient.html | 4 +- .../docs/iroh_relay/server/enum.Access.html | 8 +- .../iroh_relay/server/enum.AccessConfig.html | 12 +- .../iroh_relay/server/enum.CertConfig.html | 6 +- pr/3262/docs/iroh_relay/server/index.html | 2 +- .../server/struct.ClientRateLimit.html | 6 +- .../docs/iroh_relay/server/struct.Limits.html | 6 +- .../iroh_relay/server/struct.Metrics.html | 11 +- .../iroh_relay/server/struct.QuicConfig.html | 6 +- .../iroh_relay/server/struct.RelayConfig.html | 8 +- .../server/struct.ReloadingResolver.html | 4 +- .../docs/iroh_relay/server/struct.Server.html | 28 +- .../server/struct.ServerConfig.html | 8 +- .../iroh_relay/server/struct.StunConfig.html | 6 +- .../iroh_relay/server/struct.StunMetrics.html | 11 +- .../iroh_relay/server/struct.TlsConfig.html | 8 +- .../docs/iroh_relay/struct.PingTracker.html | 4 +- pr/3262/docs/iroh_relay/struct.RelayMap.html | 14 +- pr/3262/docs/iroh_relay/struct.RelayNode.html | 8 +- .../iroh_relay/struct.RelayQuicConfig.html | 4 +- pr/3262/docs/search-index.js | 4 +- pr/3262/docs/search.desc/iroh/iroh-desc-0-.js | 2 +- pr/3262/docs/settings.html | 2 +- .../docs/src/iroh/discovery/pkarr/dht.rs.html | 272 +++--------- pr/3262/docs/src/iroh/endpoint.rs.html | 400 +++++++++++++++++- .../docs/src/iroh/magicsock/metrics.rs.html | 6 +- pr/3262/docs/src/iroh/metrics.rs.html | 44 +- .../docs/src/iroh/net_report/metrics.rs.html | 6 +- pr/3262/docs/src/iroh/test_utils.rs.html | 2 +- pr/3262/docs/src/iroh_dns_server/http.rs.html | 2 +- .../iroh_dns_server/http/doh/extract.rs.html | 80 ++-- pr/3262/docs/src/iroh_dns_server/lib.rs.html | 36 +- .../docs/src/iroh_dns_server/metrics.rs.html | 2 +- .../docs/src/iroh_dns_server/server.rs.html | 6 +- .../docs/src/iroh_dns_server/store.rs.html | 20 +- .../store/signed_packets.rs.html | 28 +- pr/3262/docs/src/iroh_relay/node_info.rs.html | 54 +-- pr/3262/docs/src/iroh_relay/server.rs.html | 6 +- .../src/iroh_relay/server/metrics.rs.html | 36 +- .../docs/trait.impl/core/clone/trait.Clone.js | 4 +- .../trait.impl/core/convert/trait.From.js | 4 +- .../trait.impl/core/marker/trait.Freeze.js | 4 +- .../trait.impl/serde/de/trait.Deserialize.js | 4 +- .../trait.impl/serde/ser/trait.Serialize.js | 4 +- 214 files changed, 1305 insertions(+), 1057 deletions(-) diff --git a/pr/3262/docs/help.html b/pr/3262/docs/help.html index ae20f95c20..d9178219d7 100644 --- a/pr/3262/docs/help.html +++ b/pr/3262/docs/help.html @@ -1 +1 @@ -Help

Rustdoc help

Back
\ No newline at end of file +Help

Rustdoc help

Back
\ No newline at end of file diff --git a/pr/3262/docs/iroh/discovery/dns/struct.DnsDiscovery.html b/pr/3262/docs/iroh/discovery/dns/struct.DnsDiscovery.html index 1f5a07b19d..25149baf4b 100644 --- a/pr/3262/docs/iroh/discovery/dns/struct.DnsDiscovery.html +++ b/pr/3262/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>:

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

tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh/discovery/mdns/struct.MdnsDiscovery.html b/pr/3262/docs/iroh/discovery/mdns/struct.MdnsDiscovery.html index e7ab23d1fe..2e48d4aa19 100644 --- a/pr/3262/docs/iroh/discovery/mdns/struct.MdnsDiscovery.html +++ b/pr/3262/docs/iroh/discovery/mdns/struct.MdnsDiscovery.html @@ -1,4 +1,4 @@ -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

+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
@@ -19,7 +19,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh/discovery/pkarr/dht/index.html b/pr/3262/docs/iroh/discovery/pkarr/dht/index.html index a831480331..dbb3340c8e 100644 --- a/pr/3262/docs/iroh/discovery/pkarr/dht/index.html +++ b/pr/3262/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/3262/docs/iroh/discovery/pkarr/dht/struct.Builder.html b/pr/3262/docs/iroh/discovery/pkarr/dht/struct.Builder.html index f6508f3a07..8e49377787 100644 --- a/pr/3262/docs/iroh/discovery/pkarr/dht/struct.Builder.html +++ b/pr/3262/docs/iroh/discovery/pkarr/dht/struct.Builder.html @@ -1,17 +1,17 @@ -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.

+

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.

Without a secret key, the node will not publish its address to the DHT.

-
Source

pub fn ttl(self, ttl: u32) -> Self

Sets the time-to-live value for the DNS packets.

-
Source

pub fn pkarr_relay(self, pkarr_relay: Url) -> Self

Sets the pkarr relay URL to use.

-
Source

pub fn n0_dns_pkarr_relay(self) -> Self

Uses the default number 0 pkarr relay URL.

-
Source

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

Sets whether to publish to the Mainline DHT.

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

-

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 +

Source

pub fn ttl(self, ttl: u32) -> Self

Sets the time-to-live value for the DNS packets.

+
Source

pub fn pkarr_relay(self, pkarr_relay: Url) -> Self

Sets the pkarr relay URL to use.

+
Source

pub fn n0_dns_pkarr_relay(self) -> Self

Uses the default number 0 pkarr relay URL.

+
Source

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

Sets whether to publish to the Mainline DHT.

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

+

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 T: 'a,

§

fn implicit( @@ -21,7 +21,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,

Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh/discovery/pkarr/dht/struct.DhtDiscovery.html b/pr/3262/docs/iroh/discovery/pkarr/dht/struct.DhtDiscovery.html index ee5c8b23b7..be7ed666b3 100644 --- a/pr/3262/docs/iroh/discovery/pkarr/dht/struct.DhtDiscovery.html +++ b/pr/3262/docs/iroh/discovery/pkarr/dht/struct.DhtDiscovery.html @@ -1,11 +1,11 @@ -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 be used as both a publisher and resolver. Calling DhtDiscovery::publish will start a background task that periodically publishes the node address.

-

Implementations§

Source§

impl DhtDiscovery

Source

pub fn builder() -> Builder

Creates a new builder for DhtDiscovery.

-

Trait Implementations§

Source§

impl Clone for DhtDiscovery

Source§

fn clone(&self) -> DhtDiscovery

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 DhtDiscovery

Source§

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

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

impl Default for DhtDiscovery

Source§

fn default() -> Self

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

impl Discovery for DhtDiscovery

Source§

fn publish(&self, data: &NodeData)

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

fn resolve( +

Implementations§

Source§

impl DhtDiscovery

Source

pub fn builder() -> Builder

Creates a new builder for DhtDiscovery.

+

Trait Implementations§

Source§

impl Clone for DhtDiscovery

Source§

fn clone(&self) -> DhtDiscovery

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 DhtDiscovery

Source§

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

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

impl Default for DhtDiscovery

Source§

fn default() -> Self

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

impl Discovery for DhtDiscovery

Source§

fn publish(&self, data: &NodeData)

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

fn resolve( &self, _endpoint: Endpoint, node_id: NodeId, @@ -20,7 +20,7 @@ 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
Source§

impl<T> DynClone 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.

§

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 diff --git a/pr/3262/docs/iroh/discovery/pkarr/struct.PkarrPublisher.html b/pr/3262/docs/iroh/discovery/pkarr/struct.PkarrPublisher.html index b74f9eb11d..34b23853e1 100644 --- a/pr/3262/docs/iroh/discovery/pkarr/struct.PkarrPublisher.html +++ b/pr/3262/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 @@ -41,7 +41,7 @@ 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
Source§

impl<T> DynClone 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.

§

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 diff --git a/pr/3262/docs/iroh/discovery/pkarr/struct.PkarrRelayClient.html b/pr/3262/docs/iroh/discovery/pkarr/struct.PkarrRelayClient.html index eb5006a9ed..c83a5caded 100644 --- a/pr/3262/docs/iroh/discovery/pkarr/struct.PkarrRelayClient.html +++ b/pr/3262/docs/iroh/discovery/pkarr/struct.PkarrRelayClient.html @@ -1,4 +1,4 @@ -PkarrRelayClient in iroh::discovery::pkarr - Rust
iroh::discovery::pkarr

Struct PkarrRelayClient

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

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

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

Struct PkarrRelayClient

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

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

Implementations§

Source§

impl PkarrRelayClient

Source

pub fn new(pkarr_relay_url: Url) -> Self

Creates a new client.

Source

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

Resolves a [SignedPacket] for the given NodeId.

Source

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

Publishes a [SignedPacket].

@@ -13,7 +13,7 @@ ) -> TaggedParser<'a, Implicit, Self, E>
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

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

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

Source§

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 diff --git a/pr/3262/docs/iroh/discovery/pkarr/struct.PkarrResolver.html b/pr/3262/docs/iroh/discovery/pkarr/struct.PkarrResolver.html index 9503cc24c3..874677a18a 100644 --- a/pr/3262/docs/iroh/discovery/pkarr/struct.PkarrResolver.html +++ b/pr/3262/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 @@ -26,7 +26,7 @@ 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
Source§

impl<T> DynClone 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.

§

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 diff --git a/pr/3262/docs/iroh/discovery/static_provider/struct.StaticProvider.html b/pr/3262/docs/iroh/discovery/static_provider/struct.StaticProvider.html index 0a7f3967e1..e5e4624299 100644 --- a/pr/3262/docs/iroh/discovery/static_provider/struct.StaticProvider.html +++ b/pr/3262/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 @@ -79,7 +79,7 @@ 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
Source§

impl<T> DynClone 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.

§

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

@@ -18,7 +18,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh/discovery/struct.DiscoveryItem.html b/pr/3262/docs/iroh/discovery/struct.DiscoveryItem.html index 4733afaa50..d5cc572cf2 100644 --- a/pr/3262/docs/iroh/discovery/struct.DiscoveryItem.html +++ b/pr/3262/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,7 +33,7 @@ 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
Source§

impl<T> DynClone 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.

§

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 diff --git a/pr/3262/docs/iroh/discovery/struct.Lagged.html b/pr/3262/docs/iroh/discovery/struct.Lagged.html index 91f46f8ff7..6058f3b12e 100644 --- a/pr/3262/docs/iroh/discovery/struct.Lagged.html +++ b/pr/3262/docs/iroh/discovery/struct.Lagged.html @@ -1,11 +1,14 @@ -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 will return the oldest DiscoveryItem that is still retained.

Includes the number of skipped messages.

Tuple Fields§

§0: u64

Trait Implementations§

Source§

impl Debug for Lagged

Source§

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

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

impl Display for Lagged

Source§

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

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

impl Error for Lagged

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§

§

impl Freeze for Lagged

§

impl RefUnwindSafe for Lagged

§

impl Send for Lagged

§

impl Sync for Lagged

§

impl Unpin for Lagged

§

impl UnwindSafe for Lagged

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: '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 +receivers.
§

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

§

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

§

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

§

fn implicit( self, @@ -14,7 +17,7 @@ will return the oldest u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh/discovery/struct.NodeData.html b/pr/3262/docs/iroh/discovery/struct.NodeData.html index 0dc2316150..a230fab5e4 100644 --- a/pr/3262/docs/iroh/discovery/struct.NodeData.html +++ b/pr/3262/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,7 +36,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/discovery/struct.NodeInfo.html b/pr/3262/docs/iroh/discovery/struct.NodeInfo.html index ef9e8cdadb..90ff949a2b 100644 --- a/pr/3262/docs/iroh/discovery/struct.NodeInfo.html +++ b/pr/3262/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.

@@ -48,7 +48,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/discovery/struct.UserData.html b/pr/3262/docs/iroh/discovery/struct.UserData.html index 67ea8bf811..2cd3ad8cae 100644 --- a/pr/3262/docs/iroh/discovery/struct.UserData.html +++ b/pr/3262/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,7 +31,7 @@ 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.
Source§

impl<T> DynClone for T
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 diff --git a/pr/3262/docs/iroh/discovery/trait.Discovery.html b/pr/3262/docs/iroh/discovery/trait.Discovery.html index a42435a30b..7cdc196077 100644 --- a/pr/3262/docs/iroh/discovery/trait.Discovery.html +++ b/pr/3262/docs/iroh/discovery/trait.Discovery.html @@ -50,4 +50,4 @@ should be sent on all streams.

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

-

Implementations on Foreign Types§

Source§

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

Implementors§

Source§

impl Discovery for DnsDiscovery

Available on non-wasm_browser only.
Source§

impl Discovery for MdnsDiscovery

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

impl Discovery for DhtDiscovery

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

impl Discovery for PkarrPublisher

Source§

impl Discovery for PkarrResolver

Source§

impl Discovery for StaticProvider

Source§

impl Discovery for ConcurrentDiscovery

\ No newline at end of file +

Implementations on Foreign Types§

Source§

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

Implementors§

Source§

impl Discovery for DnsDiscovery

Available on non-wasm_browser only.
Source§

impl Discovery for MdnsDiscovery

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

impl Discovery for DhtDiscovery

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

impl Discovery for PkarrPublisher

Source§

impl Discovery for PkarrResolver

Source§

impl Discovery for StaticProvider

Source§

impl Discovery for ConcurrentDiscovery

\ No newline at end of file diff --git a/pr/3262/docs/iroh/dns/struct.DnsResolver.html b/pr/3262/docs/iroh/dns/struct.DnsResolver.html index ffddfabc89..07300ed51c 100644 --- a/pr/3262/docs/iroh/dns/struct.DnsResolver.html +++ b/pr/3262/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 @@ -108,7 +108,7 @@ 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
Source§

impl<T> DynClone 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.

§

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 diff --git a/pr/3262/docs/iroh/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html b/pr/3262/docs/iroh/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html index 713ae42430..e2cda32b11 100644 --- a/pr/3262/docs/iroh/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html +++ b/pr/3262/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/3262/docs/iroh/endpoint/enum.ConnectionError.html b/pr/3262/docs/iroh/endpoint/enum.ConnectionError.html index 1dcc88eded..0734ec1b32 100644 --- a/pr/3262/docs/iroh/endpoint/enum.ConnectionError.html +++ b/pr/3262/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),
@@ -22,7 +22,10 @@ and Trait Implementations§
§

impl Clone for ConnectionError

§

fn clone(&self) -> ConnectionError

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 ConnectionError

§

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

Formats the value using the given formatter. Read more
§

impl Display for ConnectionError

§

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

Formats the value using the given formatter. Read more
§

impl Error for ConnectionError

§

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<Close> for ConnectionError

§

fn from(x: Close) -> ConnectionError

Converts to this type from the input type.
§

impl From<ConnectionError> for ReadError

§

fn from(source: ConnectionError) -> ReadError

Converts to this type from the input type.
§

impl From<ConnectionError> for ResetError

§

fn from(source: ConnectionError) -> ResetError

Converts to this type from the input type.
§

impl From<ConnectionError> for SendDatagramError

§

fn from(source: ConnectionError) -> SendDatagramError

Converts to this type from the input type.
§

impl From<ConnectionError> for StoppedError

§

fn from(source: ConnectionError) -> StoppedError

Converts to this type from the input type.
§

impl From<ConnectionError> for WriteError

§

fn from(source: ConnectionError) -> WriteError

Converts to this type from the input type.
§

impl From<Error> for ConnectionError

§

fn from(source: Error) -> ConnectionError

Converts to this type from the input type.
§

impl PartialEq for ConnectionError

§

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

§

impl StructuralPartialEq for ConnectionError

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: '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 +receivers.
§

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

§

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

§

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

§

fn implicit( self, @@ -32,7 +35,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/endpoint/enum.ConnectionType.html b/pr/3262/docs/iroh/endpoint/enum.ConnectionType.html index 68944408fd..f6fbadf4ec 100644 --- a/pr/3262/docs/iroh/endpoint/enum.ConnectionType.html +++ b/pr/3262/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),
@@ -24,7 +24,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/endpoint/enum.ControlMsg.html b/pr/3262/docs/iroh/endpoint/enum.ControlMsg.html index 4c2e9fb5aa..47c5b5ce1a 100644 --- a/pr/3262/docs/iroh/endpoint/enum.ControlMsg.html +++ b/pr/3262/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,
@@ -20,7 +20,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/endpoint/enum.DirectAddrType.html b/pr/3262/docs/iroh/endpoint/enum.DirectAddrType.html index 9349054700..3ac8ac2fc6 100644 --- a/pr/3262/docs/iroh/endpoint/enum.DirectAddrType.html +++ b/pr/3262/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,
@@ -42,7 +42,7 @@ 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.
Source§

impl<T> DynClone for T
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 diff --git a/pr/3262/docs/iroh/endpoint/enum.PathSelection.html b/pr/3262/docs/iroh/endpoint/enum.PathSelection.html index ea3ac22aa8..1c2dc5b752 100644 --- a/pr/3262/docs/iroh/endpoint/enum.PathSelection.html +++ b/pr/3262/docs/iroh/endpoint/enum.PathSelection.html @@ -1,4 +1,4 @@ -PathSelection in iroh::endpoint - Rust
iroh::endpoint

Enum PathSelection

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

Enum PathSelection

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

Defines the mode of path selection for all traffic flowing through @@ -17,7 +17,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/endpoint/enum.ReadError.html b/pr/3262/docs/iroh/endpoint/enum.ReadError.html index ade278f324..a5d86df113 100644 --- a/pr/3262/docs/iroh/endpoint/enum.ReadError.html +++ b/pr/3262/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,
@@ -17,7 +17,10 @@ stream which cannot be recovered, making further ordered reads impossible.

Connecting::into_0rtt().

Trait Implementations§

§

impl Clone for ReadError

§

fn clone(&self) -> ReadError

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 ReadError

§

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

Formats the value using the given formatter. Read more
§

impl Display for ReadError

§

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

Formats the value using the given formatter. Read more
§

impl Error for ReadError

§

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<ConnectionError> for ReadError

§

fn from(source: ConnectionError) -> ReadError

Converts to this type from the input type.
§

impl From<ReadError> for ReadExactError

§

fn from(source: ReadError) -> ReadExactError

Converts to this type from the input type.
§

impl From<ReadError> for ReadToEndError

§

fn from(source: ReadError) -> ReadToEndError

Converts to this type from the input type.
§

impl From<ReadableError> for ReadError

§

fn from(e: ReadableError) -> ReadError

Converts to this type from the input type.
§

impl From<ResetError> for ReadError

§

fn from(e: ResetError) -> ReadError

Converts to this type from the input type.
§

impl PartialEq for ReadError

§

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

§

impl StructuralPartialEq for ReadError

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: '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 +receivers.
§

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

§

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

§

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

§

fn implicit( self, @@ -27,7 +30,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/endpoint/enum.ReadExactError.html b/pr/3262/docs/iroh/endpoint/enum.ReadExactError.html index 36873ba9e2..a827b16d2f 100644 --- a/pr/3262/docs/iroh/endpoint/enum.ReadExactError.html +++ b/pr/3262/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.

@@ -6,7 +6,10 @@
§

ReadError(ReadError)

A read error occurred

Trait Implementations§

§

impl Clone for ReadExactError

§

fn clone(&self) -> ReadExactError

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 ReadExactError

§

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

Formats the value using the given formatter. Read more
§

impl Display for ReadExactError

§

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

Formats the value using the given formatter. Read more
§

impl Error for ReadExactError

§

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<ReadError> for ReadExactError

§

fn from(source: ReadError) -> ReadExactError

Converts to this type from the input type.
§

impl PartialEq for ReadExactError

§

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

§

impl StructuralPartialEq for ReadExactError

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: '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 +receivers.
§

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

§

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

§

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

§

fn implicit( self, @@ -16,7 +19,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/endpoint/enum.ReadToEndError.html b/pr/3262/docs/iroh/endpoint/enum.ReadToEndError.html index 2db21e64ef..e81900b988 100644 --- a/pr/3262/docs/iroh/endpoint/enum.ReadToEndError.html +++ b/pr/3262/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

@@ -6,7 +6,10 @@
§

TooLong

The stream is larger than the user-supplied limit

Trait Implementations§

§

impl Clone for ReadToEndError

§

fn clone(&self) -> ReadToEndError

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 ReadToEndError

§

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

Formats the value using the given formatter. Read more
§

impl Display for ReadToEndError

§

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

Formats the value using the given formatter. Read more
§

impl Error for ReadToEndError

§

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<ReadError> for ReadToEndError

§

fn from(source: ReadError) -> ReadToEndError

Converts to this type from the input type.
§

impl PartialEq for ReadToEndError

§

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

§

impl StructuralPartialEq for ReadToEndError

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: '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 +receivers.
§

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

§

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

§

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

§

fn implicit( self, @@ -16,7 +19,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/endpoint/enum.RelayMode.html b/pr/3262/docs/iroh/endpoint/enum.RelayMode.html index 80f4a46fa5..e712194f70 100644 --- a/pr/3262/docs/iroh/endpoint/enum.RelayMode.html +++ b/pr/3262/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,7 +22,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/endpoint/enum.ResetError.html b/pr/3262/docs/iroh/endpoint/enum.ResetError.html index 9bd04777b7..29fdae5a21 100644 --- a/pr/3262/docs/iroh/endpoint/enum.ResetError.html +++ b/pr/3262/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

@@ -8,7 +8,10 @@ Connecting::into_0rtt().

Trait Implementations§

§

impl Clone for ResetError

§

fn clone(&self) -> ResetError

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 ResetError

§

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

Formats the value using the given formatter. Read more
§

impl Display for ResetError

§

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

Formats the value using the given formatter. Read more
§

impl Error for ResetError

§

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<ConnectionError> for ResetError

§

fn from(source: ConnectionError) -> ResetError

Converts to this type from the input type.
§

impl From<ResetError> for ReadError

§

fn from(e: ResetError) -> ReadError

Converts to this type from the input type.
§

impl PartialEq for ResetError

§

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

§

impl StructuralPartialEq for ResetError

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: '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 +receivers.
§

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

§

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

§

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

§

fn implicit( self, @@ -18,7 +21,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/endpoint/enum.SendDatagramError.html b/pr/3262/docs/iroh/endpoint/enum.SendDatagramError.html index 55428156ec..8471d202b6 100644 --- a/pr/3262/docs/iroh/endpoint/enum.SendDatagramError.html +++ b/pr/3262/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,
@@ -12,7 +12,10 @@ exceeded.

§

ConnectionLost(ConnectionError)

The connection was lost

Trait Implementations§

§

impl Clone for SendDatagramError

§

fn clone(&self) -> SendDatagramError

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 SendDatagramError

§

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

Formats the value using the given formatter. Read more
§

impl Display for SendDatagramError

§

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

Formats the value using the given formatter. Read more
§

impl Error for SendDatagramError

§

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<ConnectionError> for SendDatagramError

§

fn from(source: ConnectionError) -> SendDatagramError

Converts to this type from the input type.
§

impl PartialEq for SendDatagramError

§

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

§

impl StructuralPartialEq for SendDatagramError

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: '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 +receivers.
§

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

§

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

§

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

§

fn implicit( self, @@ -22,7 +25,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/endpoint/enum.Source.html b/pr/3262/docs/iroh/endpoint/enum.Source.html index d8fac9e6c4..0facaec339 100644 --- a/pr/3262/docs/iroh/endpoint/enum.Source.html +++ b/pr/3262/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,
@@ -46,7 +46,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/endpoint/enum.StoppedError.html b/pr/3262/docs/iroh/endpoint/enum.StoppedError.html index 220f8066e8..d890586ed9 100644 --- a/pr/3262/docs/iroh/endpoint/enum.StoppedError.html +++ b/pr/3262/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

@@ -8,7 +8,10 @@ Connecting::into_0rtt().

Trait Implementations§

§

impl Clone for StoppedError

§

fn clone(&self) -> StoppedError

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 StoppedError

§

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

Formats the value using the given formatter. Read more
§

impl Display for StoppedError

§

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

Formats the value using the given formatter. Read more
§

impl Error for StoppedError

§

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<ConnectionError> for StoppedError

§

fn from(source: ConnectionError) -> StoppedError

Converts to this type from the input type.
§

impl From<StoppedError> for WriteError

§

fn from(x: StoppedError) -> WriteError

Converts to this type from the input type.
§

impl PartialEq for StoppedError

§

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

§

impl StructuralPartialEq for StoppedError

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: '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 +receivers.
§

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

§

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

§

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

§

fn implicit( self, @@ -18,7 +21,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/endpoint/enum.WriteError.html b/pr/3262/docs/iroh/endpoint/enum.WriteError.html index 355c09c701..5b365cb824 100644 --- a/pr/3262/docs/iroh/endpoint/enum.WriteError.html +++ b/pr/3262/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,
@@ -13,7 +13,10 @@
 Connecting::into_0rtt().

Trait Implementations§

§

impl Clone for WriteError

§

fn clone(&self) -> WriteError

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 WriteError

§

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

Formats the value using the given formatter. Read more
§

impl Display for WriteError

§

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

Formats the value using the given formatter. Read more
§

impl Error for WriteError

§

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 From<ConnectionError> for WriteError

§

fn from(source: ConnectionError) -> WriteError

Converts to this type from the input type.
§

impl From<StoppedError> for WriteError

§

fn from(x: StoppedError) -> WriteError

Converts to this type from the input type.
§

impl PartialEq for WriteError

§

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

§

impl StructuralPartialEq for WriteError

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: '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 +receivers.
§

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

§

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

§

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

§

fn implicit( self, @@ -23,7 +26,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/endpoint/fn.default_relay_mode.html b/pr/3262/docs/iroh/endpoint/fn.default_relay_mode.html index b2e7d2ee27..32ae878e2c 100644 --- a/pr/3262/docs/iroh/endpoint/fn.default_relay_mode.html +++ b/pr/3262/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/3262/docs/iroh/endpoint/fn.force_staging_infra.html b/pr/3262/docs/iroh/endpoint/fn.force_staging_infra.html index 626275c225..d99c6b6985 100644 --- a/pr/3262/docs/iroh/endpoint/fn.force_staging_infra.html +++ b/pr/3262/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/3262/docs/iroh/endpoint/index.html b/pr/3262/docs/iroh/endpoint/index.html index 5fb9e26b3d..f32023d579 100644 --- a/pr/3262/docs/iroh/endpoint/index.html +++ b/pr/3262/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/3262/docs/iroh/endpoint/struct.Accept.html b/pr/3262/docs/iroh/endpoint/struct.Accept.html index a8901cf0cd..5806bbac57 100644 --- a/pr/3262/docs/iroh/endpoint/struct.Accept.html +++ b/pr/3262/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 @@ -11,7 +11,7 @@ the current task for wakeup if the value is not yet available. u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,

Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<F> FutureExt for F
where F: Future + ?Sized,

§

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

A convenience for calling Future::poll() on !Unpin types.
§

fn or<F>(self, other: F) -> Or<Self, F>
where diff --git a/pr/3262/docs/iroh/endpoint/struct.AcceptBi.html b/pr/3262/docs/iroh/endpoint/struct.AcceptBi.html index 84ce6c4657..9f95e7722f 100644 --- a/pr/3262/docs/iroh/endpoint/struct.AcceptBi.html +++ b/pr/3262/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<'_>, @@ -14,7 +14,7 @@ the current task for wakeup if the value is not yet available. u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,

Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<F> FutureExt for F
where F: Future + ?Sized,

§

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

A convenience for calling Future::poll() on !Unpin types.
§

fn or<F>(self, other: F) -> Or<Self, F>
where diff --git a/pr/3262/docs/iroh/endpoint/struct.AcceptUni.html b/pr/3262/docs/iroh/endpoint/struct.AcceptUni.html index 839081b531..d4d1d8d8ff 100644 --- a/pr/3262/docs/iroh/endpoint/struct.AcceptUni.html +++ b/pr/3262/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<'_>, @@ -14,7 +14,7 @@ the current task for wakeup if the value is not yet available. u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,

Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<F> FutureExt for F
where F: Future + ?Sized,

§

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

A convenience for calling Future::poll() on !Unpin types.
§

fn or<F>(self, other: F) -> Or<Self, F>
where diff --git a/pr/3262/docs/iroh/endpoint/struct.AckFrequencyConfig.html b/pr/3262/docs/iroh/endpoint/struct.AckFrequencyConfig.html index ddfac03855..d51275a1eb 100644 --- a/pr/3262/docs/iroh/endpoint/struct.AckFrequencyConfig.html +++ b/pr/3262/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,7 +48,7 @@ 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
Source§

impl<T> DynClone 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.

§

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 diff --git a/pr/3262/docs/iroh/endpoint/struct.ApplicationClose.html b/pr/3262/docs/iroh/endpoint/struct.ApplicationClose.html index c6a0488a57..fc2ac9d6ee 100644 --- a/pr/3262/docs/iroh/endpoint/struct.ApplicationClose.html +++ b/pr/3262/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,7 +16,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/endpoint/struct.Builder.html b/pr/3262/docs/iroh/endpoint/struct.Builder.html index ab3d1a2e83..e6a130385c 100644 --- a/pr/3262/docs/iroh/endpoint/struct.Builder.html +++ b/pr/3262/docs/iroh/endpoint/struct.Builder.html @@ -1,4 +1,4 @@ -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.

@@ -17,7 +17,7 @@ also its NodeIdIf 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.

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

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

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

tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh/endpoint/struct.Chunk.html b/pr/3262/docs/iroh/endpoint/struct.Chunk.html index 91390b387e..dc7592013e 100644 --- a/pr/3262/docs/iroh/endpoint/struct.Chunk.html +++ b/pr/3262/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

@@ -15,7 +15,7 @@ and should not be overridden without very good reason.
u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
§

impl<Q, K> Equivalent<K> for Q
where + T: ?Sized,

Source§

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

Mutably borrows from an owned value. 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
§

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

§

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

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

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, diff --git a/pr/3262/docs/iroh/endpoint/struct.ClosedStream.html b/pr/3262/docs/iroh/endpoint/struct.ClosedStream.html index 438940649a..7aed7737de 100644 --- a/pr/3262/docs/iroh/endpoint/struct.ClosedStream.html +++ b/pr/3262/docs/iroh/endpoint/struct.ClosedStream.html @@ -1,7 +1,10 @@ -ClosedStream in iroh::endpoint - Rust
iroh::endpoint

Struct ClosedStream

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

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

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

Struct ClosedStream

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

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

Trait Implementations§

§

impl Clone for ClosedStream

§

fn clone(&self) -> ClosedStream

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

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

Performs copy-assignment from source. Read more
§

impl Debug for ClosedStream

§

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

Formats the value using the given formatter. Read more
§

impl Default for ClosedStream

§

fn default() -> ClosedStream

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

impl Display for ClosedStream

§

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

Formats the value using the given formatter. Read more
§

impl Error for ClosedStream

1.30.0 · Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
§

impl From<ClosedStream> for WriteError

§

fn from(_: ClosedStream) -> WriteError

Converts to this type from the input type.
§

impl PartialEq for ClosedStream

§

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

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

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

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

impl Eq for ClosedStream

§

impl StructuralPartialEq for ClosedStream

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where + 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 +receivers.
§

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

§

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

§

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

§

fn implicit( self, @@ -11,7 +14,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/endpoint/struct.ConnectOptions.html b/pr/3262/docs/iroh/endpoint/struct.ConnectOptions.html index f41f71407b..0afd3e30e8 100644 --- a/pr/3262/docs/iroh/endpoint/struct.ConnectOptions.html +++ b/pr/3262/docs/iroh/endpoint/struct.ConnectOptions.html @@ -1,12 +1,26 @@ -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.

-

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 +

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

+

You’ll know the final negotiated ALPN identifier once your connection was +established using Connection::alpn, or even slightly earlier in the +handshake by using Connecting::alpn. +The negotiated ALPN identifier may be any of the ALPN identifiers in this +list or the main ALPN used in Endpoint::connect_with_opts.

+

The ALPN identifier order on the connect side doesn’t matter, since it’s the +accept side that determines the protocol.

+

For setting the supported 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 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,7 +31,7 @@ as
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more

Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

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

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

Source§

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 diff --git a/pr/3262/docs/iroh/endpoint/struct.Connecting.html b/pr/3262/docs/iroh/endpoint/struct.Connecting.html index deb433ba9f..9709c147ab 100644 --- a/pr/3262/docs/iroh/endpoint/struct.Connecting.html +++ b/pr/3262/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 @@ -47,7 +47,7 @@ the current task for wakeup if the value is not yet available. u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,

Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<F> FutureExt for F
where F: Future + ?Sized,

§

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

A convenience for calling Future::poll() on !Unpin types.
§

fn or<F>(self, other: F) -> Or<Self, F>
where diff --git a/pr/3262/docs/iroh/endpoint/struct.Connection.html b/pr/3262/docs/iroh/endpoint/struct.Connection.html index 71c42c772e..09f615bc52 100644 --- a/pr/3262/docs/iroh/endpoint/struct.Connection.html +++ b/pr/3262/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,41 +51,41 @@ 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], @@ -96,14 +96,14 @@ arguments and output buffers of equal length, they will get the same sequence of bytes in output. These bytes are cryptographically strong and pseudorandom, and are suitable for use as keying material.

See RFC5705 for more information.

-

Source

pub fn set_max_concurrent_uni_streams(&self, count: VarInt)

Modifies the number of unidirectional streams that may be concurrently opened.

+
Source

pub fn set_max_concurrent_uni_streams(&self, count: VarInt)

Modifies the number of unidirectional streams that may be concurrently opened.

No streams may be opened by the peer unless fewer than count are already open. Large counts increase both minimum and worst-case memory consumption.

-
Source

pub fn set_receive_window(&self, receive_window: VarInt)

Source

pub fn set_max_concurrent_bi_streams(&self, count: VarInt)

Modifies the number of bidirectional streams that may be concurrently opened.

+
Source

pub fn set_receive_window(&self, receive_window: VarInt)

Source

pub fn set_max_concurrent_bi_streams(&self, count: VarInt)

Modifies the number of bidirectional streams that may be concurrently opened.

No streams may be opened by the peer unless fewer than count are already open. Large counts increase both minimum and worst-case memory consumption.

-

Trait Implementations§

Source§

impl Clone for Connection

Source§

fn clone(&self) -> Connection

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

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Connection

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Clone for Connection

Source§

fn clone(&self) -> Connection

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

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Connection

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( @@ -114,7 +114,7 @@ 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
Source§

impl<T> DynClone 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.

§

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 diff --git a/pr/3262/docs/iroh/endpoint/struct.ConnectionClose.html b/pr/3262/docs/iroh/endpoint/struct.ConnectionClose.html index 179cbc692d..9d834b98c5 100644 --- a/pr/3262/docs/iroh/endpoint/struct.ConnectionClose.html +++ b/pr/3262/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,7 +18,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/endpoint/struct.ConnectionStats.html b/pr/3262/docs/iroh/endpoint/struct.ConnectionStats.html index ba8d642ebd..c15a8b6ca8 100644 --- a/pr/3262/docs/iroh/endpoint/struct.ConnectionStats.html +++ b/pr/3262/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,7 +21,7 @@ ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

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

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

Source§

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 diff --git a/pr/3262/docs/iroh/endpoint/struct.CryptoError.html b/pr/3262/docs/iroh/endpoint/struct.CryptoError.html index 0fbb32f6e7..ad4d3d81db 100644 --- a/pr/3262/docs/iroh/endpoint/struct.CryptoError.html +++ b/pr/3262/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 @@ -9,7 +9,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh/endpoint/struct.DirectAddr.html b/pr/3262/docs/iroh/endpoint/struct.DirectAddr.html index ea709932e7..a07d7fec4d 100644 --- a/pr/3262/docs/iroh/endpoint/struct.DirectAddr.html +++ b/pr/3262/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.

@@ -29,7 +29,7 @@ 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.
Source§

impl<T> DynClone for T
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 diff --git a/pr/3262/docs/iroh/endpoint/struct.DirectAddrInfo.html b/pr/3262/docs/iroh/endpoint/struct.DirectAddrInfo.html index e790eb001b..91bdb60d11 100644 --- a/pr/3262/docs/iroh/endpoint/struct.DirectAddrInfo.html +++ b/pr/3262/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)>,
@@ -50,7 +50,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/endpoint/struct.Endpoint.html b/pr/3262/docs/iroh/endpoint/struct.Endpoint.html index 9409e8a4b2..607d3ee1f4 100644 --- a/pr/3262/docs/iroh/endpoint/struct.Endpoint.html +++ b/pr/3262/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,7 +16,7 @@ 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.

+

Implementations§

Source§

impl Endpoint

Source

pub fn builder() -> Builder

Returns the builder for an Endpoint, with a production configuration.

Source

pub fn set_alpns(&self, alpns: Vec<Vec<u8>>) -> Result<()>

Sets the list of accepted ALPN protocols.

This will only affect new incoming connections. Note that this overrides the current list of ALPNs.

@@ -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,7 +80,7 @@ This provides more flexibility and future proofing.

§Errors

Will return an error if we attempt to add our own NodeId to the node map or if the direct addresses are a subset of ours.

-
Source

pub fn add_node_addr_with_source( +

Source

pub fn add_node_addr_with_source( &self, node_addr: NodeAddr, source: &'static str, @@ -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,14 +157,14 @@ calls may return different information. Furthermore, node information may even b completely evicted as it becomes stale.

See also Endpoint::remote_info_iter which returns information on all nodes known by this Endpoint.

-
Source

pub fn remote_info_iter(&self) -> impl Iterator<Item = RemoteInfo>

Returns information about all the remote nodes this Endpoint knows about.

+
Source

pub fn remote_info_iter(&self) -> impl Iterator<Item = RemoteInfo>

Returns information about all the remote nodes this Endpoint knows about.

This returns the same information as Endpoint::remote_info for each node known to this Endpoint.

The Endpoint keeps some information about remote iroh nodes, which it uses to find the best path to a node. This returns all the nodes it knows about, regardless of whether a connection was ever made or is even possible.

See also Endpoint::remote_info to only retrieve information about a single node.

-
Source

pub fn 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.

Whenever a node is discovered via the endpoint’s discovery service, the corresponding @@ -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,24 +202,22 @@ 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:

let endpoint = Endpoint::builder().bind().await?;
-let metrics = endpoint.metrics();
-
-assert_eq!(metrics.magicsock.recv_datagrams.get(), 0);
+assert_eq!(endpoint.metrics().magicsock.recv_datagrams.get(), 0);

EndpointMetrics implements MetricsGroupSet, and each field -implements MetricsGroup. These trait provides various methods to iterate +implements MetricsGroup. These trait provides methods to iterate over the groups in the set, and over the individual metrics in each group, without having to access each field manually. With these methods, it is straightforward to collect -all metrics into a map or push their values to some other metrics collector.

+all metrics into a map or push their values to a metrics collector.

For example, the following snippet collects all metrics into a map:

let endpoint = Endpoint::builder().bind().await?;
@@ -233,12 +231,51 @@ all metrics into a map or push their values to some other metrics collector.

.collect(); assert_eq!(metrics["magicsock:recv_datagrams"], MetricValue::Counter(0));
-

The metrics can also be used with the types from the prometheus_client crate. -With EndpointMetrics::register, you can register all metrics onto a onto a -Registry. [iroh_metrics] provides functions to easily start services +

The metrics can also be encoded into the OpenMetrics text format, as used by Prometheus. +To do so, use the [iroh_metrics::Registry], add the endpoint metrics to the +registry with Registry::register_all, and encode the metrics to a string with +encode_openmetrics_to_string:

+ +
let endpoint = Endpoint::builder().bind().await?;
+let mut registry = Registry::default();
+registry.register_all(endpoint.metrics());
+let s = registry.encode_openmetrics_to_string()?;
+assert!(s.contains(r#"TYPE magicsock_recv_datagrams counter"#));
+assert!(s.contains(r#"magicsock_recv_datagrams_total 0"#));
+

Through a registry, you can also add labels or prefixes to metrics with +Registry::sub_registry_with_label or Registry::sub_registry_with_prefix. +Furthermore, [iroh_metrics::service] provides functions to easily start services to serve the metrics with a HTTP server, dump them to a file, or push them -to a Prometheus gateway. See the service module in [iroh_metrics] for details.

-
Source

pub async fn network_change(&self)

Notifies the system of potential network changes.

+to a Prometheus gateway.

+

For example, the following snippet launches an HTTP server that serves the metrics in the +OpenMetrics text format:

+ +
// Create a registry, wrapped in a read-write lock so that we can register and serve
+// the metrics independently.
+let registry = Arc::new(RwLock::new(Registry::default()));
+// Spawn a task to serve the metrics on an OpenMetrics HTTP endpoint.
+let metrics_task = tokio::task::spawn({
+    let registry = registry.clone();
+    async move {
+        let addr = "0.0.0.0:9100".parse().unwrap();
+        iroh_metrics::service::start_metrics_server(addr, registry).await
+    }
+});
+
+// Spawn an endpoint and add the metrics to the registry.
+let endpoint = Endpoint::builder().bind().await?;
+registry.write().unwrap().register_all(endpoint.metrics());
+
+// Wait for the metrics server to bind, then fetch the metrics via HTTP.
+tokio::time::sleep(Duration::from_millis(500));
+let res = reqwest::get("http://localhost:9100/metrics")
+    .await?
+    .text()
+    .await?;
+
+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.

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 @@ -246,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.

@@ -277,7 +314,7 @@ 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.

+
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 @@ -289,7 +326,7 @@ 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
Source§

impl<T> DynClone 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.

§

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 diff --git a/pr/3262/docs/iroh/endpoint/struct.ExportKeyingMaterialError.html b/pr/3262/docs/iroh/endpoint/struct.ExportKeyingMaterialError.html index e1773be010..adbd4db4d6 100644 --- a/pr/3262/docs/iroh/endpoint/struct.ExportKeyingMaterialError.html +++ b/pr/3262/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 @@ -11,7 +11,7 @@ and should not be overridden without very good reason.

u32, ) -> TaggedParser<'a, Implicit, Self, E>
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
§

impl<Q, K> Equivalent<K> for Q
where + T: ?Sized,

Source§

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

Mutably borrows from an owned value. 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
§

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

§

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

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

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, diff --git a/pr/3262/docs/iroh/endpoint/struct.FrameStats.html b/pr/3262/docs/iroh/endpoint/struct.FrameStats.html index c677c33cca..250c0458b3 100644 --- a/pr/3262/docs/iroh/endpoint/struct.FrameStats.html +++ b/pr/3262/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,7 +36,7 @@ ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

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

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

Source§

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 diff --git a/pr/3262/docs/iroh/endpoint/struct.Incoming.html b/pr/3262/docs/iroh/endpoint/struct.Incoming.html index 896b698383..32c354cfcc 100644 --- a/pr/3262/docs/iroh/endpoint/struct.Incoming.html +++ b/pr/3262/docs/iroh/endpoint/struct.Incoming.html @@ -1,29 +1,29 @@ -Incoming in iroh::endpoint - Rust
iroh::endpoint

Struct Incoming

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

An incoming connection for which the server has not yet begun its parts of the +Incoming in iroh::endpoint - Rust

iroh::endpoint

Struct Incoming

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

An incoming connection for which the server has not yet begun its parts of the handshake.

-

Implementations§

Source§

impl Incoming

Source

pub fn accept(self) -> Result<Connecting, ConnectionError>

Attempts to accept this incoming connection (an error may still occur).

+

Implementations§

Source§

impl Incoming

Source

pub fn accept(self) -> Result<Connecting, ConnectionError>

Attempts to accept this incoming connection (an error may still occur).

Errors occurring here are likely not caused by the application or remote. The QUIC connection listens on a normal UDP socket and any reachable network endpoint can send datagrams to it, solicited or not. Even if the first few bytes look like a QUIC packet, it might not even be a QUIC packet that is being received.

Thus it is common to simply log the errors here and accept them as something which can happen.

-
Source

pub fn accept_with( +

Source

pub fn accept_with( self, server_config: Arc<ServerConfig>, ) -> Result<Connecting, ConnectionError>

Accepts this incoming connection using a custom configuration.

See accept() for more details.

-
Source

pub fn refuse(self)

Rejects this incoming connection attempt.

-
Source

pub fn retry(self) -> Result<(), RetryError>

Responds with a retry packet.

+
Source

pub fn refuse(self)

Rejects this incoming connection attempt.

+
Source

pub fn retry(self) -> Result<(), RetryError>

Responds with a retry packet.

This requires the client to retry with address validation.

Errors if remote_address_validated() is true.

-
Source

pub fn ignore(self)

Ignores this incoming connection attempt, not sending any packet in response.

-
Source

pub fn local_ip(&self) -> Option<IpAddr>

Returns the local IP address which was used when the peer established the +

Source

pub fn ignore(self)

Ignores this incoming connection attempt, not sending any packet in response.

+
Source

pub fn local_ip(&self) -> Option<IpAddr>

Returns the local IP address which was used when the peer established the connection.

-
Source

pub fn remote_address(&self) -> SocketAddr

Returns the peer’s UDP address.

-
Source

pub fn remote_address_validated(&self) -> bool

Whether the socket address that is initiating this connection has been validated.

+
Source

pub fn remote_address(&self) -> SocketAddr

Returns the peer’s UDP address.

+
Source

pub fn remote_address_validated(&self) -> bool

Whether the socket address that is initiating this connection has been validated.

This means that the sender of the initial packet has proved that they can receive traffic sent to self.remote_address().

-

Trait Implementations§

Source§

impl Debug for Incoming

Source§

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

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

impl IntoFuture for Incoming

Source§

type Output = Result<Connection, ConnectionError>

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

type IntoFuture = IncomingFuture

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

fn into_future(self) -> Self::IntoFuture

Creates a future from a value. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Debug for Incoming

Source§

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

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

impl IntoFuture for Incoming

Source§

type Output = Result<Connection, ConnectionError>

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

type IntoFuture = IncomingFuture

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

fn into_future(self) -> Self::IntoFuture

Creates a future from a value. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( @@ -33,7 +33,7 @@ traffic sent to self.remote_address().

tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh/endpoint/struct.IncomingFuture.html b/pr/3262/docs/iroh/endpoint/struct.IncomingFuture.html index 7eb0b95765..0ee6fedb77 100644 --- a/pr/3262/docs/iroh/endpoint/struct.IncomingFuture.html +++ b/pr/3262/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 @@ -11,7 +11,7 @@ the current task for wakeup if the value is not yet available. u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<F> FutureExt for F
where F: Future + ?Sized,

§

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

A convenience for calling Future::poll() on !Unpin types.
§

fn or<F>(self, other: F) -> Or<Self, F>
where diff --git a/pr/3262/docs/iroh/endpoint/struct.MtuDiscoveryConfig.html b/pr/3262/docs/iroh/endpoint/struct.MtuDiscoveryConfig.html index 7225c32fd6..37f7ca7310 100644 --- a/pr/3262/docs/iroh/endpoint/struct.MtuDiscoveryConfig.html +++ b/pr/3262/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,7 +71,7 @@ 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
Source§

impl<T> DynClone 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.

§

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 diff --git a/pr/3262/docs/iroh/endpoint/struct.OpenBi.html b/pr/3262/docs/iroh/endpoint/struct.OpenBi.html index 304f7a382f..d536c6c58a 100644 --- a/pr/3262/docs/iroh/endpoint/struct.OpenBi.html +++ b/pr/3262/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<'_>, @@ -14,7 +14,7 @@ the current task for wakeup if the value is not yet available. u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<F> FutureExt for F
where F: Future + ?Sized,

§

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

A convenience for calling Future::poll() on !Unpin types.
§

fn or<F>(self, other: F) -> Or<Self, F>
where diff --git a/pr/3262/docs/iroh/endpoint/struct.OpenUni.html b/pr/3262/docs/iroh/endpoint/struct.OpenUni.html index fa640b706f..9b19f41333 100644 --- a/pr/3262/docs/iroh/endpoint/struct.OpenUni.html +++ b/pr/3262/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<'_>, @@ -14,7 +14,7 @@ the current task for wakeup if the value is not yet available. u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,

Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<F> FutureExt for F
where F: Future + ?Sized,

§

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

A convenience for calling Future::poll() on !Unpin types.
§

fn or<F>(self, other: F) -> Or<Self, F>
where diff --git a/pr/3262/docs/iroh/endpoint/struct.PathStats.html b/pr/3262/docs/iroh/endpoint/struct.PathStats.html index d64abc0ed3..11da025066 100644 --- a/pr/3262/docs/iroh/endpoint/struct.PathStats.html +++ b/pr/3262/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,7 +32,7 @@ ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

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

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

Source§

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 diff --git a/pr/3262/docs/iroh/endpoint/struct.ReadDatagram.html b/pr/3262/docs/iroh/endpoint/struct.ReadDatagram.html index 826af6baa9..55c227f25f 100644 --- a/pr/3262/docs/iroh/endpoint/struct.ReadDatagram.html +++ b/pr/3262/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<'_>, @@ -14,7 +14,7 @@ the current task for wakeup if the value is not yet available. u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<F> FutureExt for F
where F: Future + ?Sized,

§

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

A convenience for calling Future::poll() on !Unpin types.
§

fn or<F>(self, other: F) -> Or<Self, F>
where diff --git a/pr/3262/docs/iroh/endpoint/struct.RecvStream.html b/pr/3262/docs/iroh/endpoint/struct.RecvStream.html index b068ae34e5..ca12fa55c6 100644 --- a/pr/3262/docs/iroh/endpoint/struct.RecvStream.html +++ b/pr/3262/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
  • @@ -154,7 +154,7 @@ underlying reader. Read more
Unpin,

Reads all bytes until EOF in this source, appending them to buf. Read more
§

fn take(self, limit: u64) -> Take<Self>
where Self: Sized,

Creates an adaptor which reads at most limit bytes from it. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh/endpoint/struct.RemoteInfo.html b/pr/3262/docs/iroh/endpoint/struct.RemoteInfo.html index 3ee8832346..dce02f8c0d 100644 --- a/pr/3262/docs/iroh/endpoint/struct.RemoteInfo.html +++ b/pr/3262/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>,
@@ -45,7 +45,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/endpoint/struct.RetryError.html b/pr/3262/docs/iroh/endpoint/struct.RetryError.html index c7541d62f8..a143e91bfa 100644 --- a/pr/3262/docs/iroh/endpoint/struct.RetryError.html +++ b/pr/3262/docs/iroh/endpoint/struct.RetryError.html @@ -1,7 +1,10 @@ -RetryError in iroh::endpoint - Rust
iroh::endpoint

Struct RetryError

pub struct RetryError(/* private fields */);
Expand description

Error for attempting to retry an [Incoming] which already bears a token from a previous retry

+RetryError in iroh::endpoint - Rust
iroh::endpoint

Struct RetryError

pub struct RetryError(/* private fields */);
Expand description

Error for attempting to retry an [Incoming] which already bears a token from a previous retry

Implementations§

§

impl RetryError

pub fn into_incoming(self) -> Incoming

Get the [Incoming]

Trait Implementations§

§

impl Debug for RetryError

§

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

Formats the value using the given formatter. Read more
§

impl Display for RetryError

§

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

Formats the value using the given formatter. Read more
§

impl Error for RetryError

1.30.0 · Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where + 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 +receivers.
§

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

§

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

§

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

§

fn implicit( self, @@ -10,7 +13,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,

Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh/endpoint/struct.SendStream.html b/pr/3262/docs/iroh/endpoint/struct.SendStream.html index 68eb55663d..5c4997017c 100644 --- a/pr/3262/docs/iroh/endpoint/struct.SendStream.html +++ b/pr/3262/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.

@@ -158,7 +158,7 @@ contents reach their destination. Read more
Unpin,

Shuts down the output stream, ensuring that the value can be dropped cleanly. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh/endpoint/struct.ServerConfig.html b/pr/3262/docs/iroh/endpoint/struct.ServerConfig.html index a68ce83ff2..f66858559a 100644 --- a/pr/3262/docs/iroh/endpoint/struct.ServerConfig.html +++ b/pr/3262/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,7 +97,7 @@ 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
Source§

impl<T> DynClone 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.

§

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 diff --git a/pr/3262/docs/iroh/endpoint/struct.StreamId.html b/pr/3262/docs/iroh/endpoint/struct.StreamId.html index cf8f65526f..f524ce6d4d 100644 --- a/pr/3262/docs/iroh/endpoint/struct.StreamId.html +++ b/pr/3262/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,7 +28,7 @@ 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.
Source§

impl<T> DynClone for T
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 diff --git a/pr/3262/docs/iroh/endpoint/struct.TransportConfig.html b/pr/3262/docs/iroh/endpoint/struct.TransportConfig.html index e08b5d2bc7..0ce962ebd0 100644 --- a/pr/3262/docs/iroh/endpoint/struct.TransportConfig.html +++ b/pr/3262/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.

@@ -171,7 +171,7 @@ reachable address, which in most NATd networks will not be easily available.

tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh/endpoint/struct.TransportError.html b/pr/3262/docs/iroh/endpoint/struct.TransportError.html index c528bb8d3a..19bba00393 100644 --- a/pr/3262/docs/iroh/endpoint/struct.TransportError.html +++ b/pr/3262/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,
@@ -8,7 +8,10 @@
 
§reason: String

Human-readable explanation of the reason

Trait Implementations§

§

impl Clone for Error

§

fn clone(&self) -> Error

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 Error

§

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

Formats the value using the given formatter. Read more
§

impl Display for Error

§

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

Formats the value using the given formatter. Read more
§

impl Error for Error

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<Error> for Error

§

fn from(e: Error) -> Error

Converts to this type from the input type.
§

impl From<InvalidFrame> for Error

§

fn from(err: InvalidFrame) -> Error

Converts to this type from the input type.
§

impl From<Error> for ConnectionClose

§

fn from(x: Error) -> ConnectionClose

Converts to this type from the input type.
§

impl From<Error> for ConnectionError

§

fn from(source: Error) -> ConnectionError

Converts to this type from the input type.
§

impl From<Code> for Error

§

fn from(x: Code) -> Error

Converts to this type from the input type.
§

impl PartialEq for Error

§

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

§

impl StructuralPartialEq for Error

Auto Trait Implementations§

§

impl Freeze for Error

§

impl RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl UnwindSafe for Error

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: '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 +receivers.
§

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

§

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

§

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

§

fn implicit( self, @@ -18,7 +21,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/endpoint/struct.TransportErrorCode.html b/pr/3262/docs/iroh/endpoint/struct.TransportErrorCode.html index c4eaec4dd8..69f610ba5c 100644 --- a/pr/3262/docs/iroh/endpoint/struct.TransportErrorCode.html +++ b/pr/3262/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,7 +31,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/endpoint/struct.UdpStats.html b/pr/3262/docs/iroh/endpoint/struct.UdpStats.html index 73254ee655..3c6cfcc156 100644 --- a/pr/3262/docs/iroh/endpoint/struct.UdpStats.html +++ b/pr/3262/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,7 +18,7 @@ ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

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

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

Source§

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 diff --git a/pr/3262/docs/iroh/endpoint/struct.UnsupportedVersion.html b/pr/3262/docs/iroh/endpoint/struct.UnsupportedVersion.html index 4549aa35c7..e30ca5fb91 100644 --- a/pr/3262/docs/iroh/endpoint/struct.UnsupportedVersion.html +++ b/pr/3262/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 @@ -9,7 +9,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh/endpoint/struct.VarInt.html b/pr/3262/docs/iroh/endpoint/struct.VarInt.html index ce0d234a24..01c6dac021 100644 --- a/pr/3262/docs/iroh/endpoint/struct.VarInt.html +++ b/pr/3262/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,7 +38,7 @@ 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.
Source§

impl<T> DynClone for T
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 diff --git a/pr/3262/docs/iroh/endpoint/struct.WeakConnectionHandle.html b/pr/3262/docs/iroh/endpoint/struct.WeakConnectionHandle.html index 4cc625e7f2..dbdc037e4f 100644 --- a/pr/3262/docs/iroh/endpoint/struct.WeakConnectionHandle.html +++ b/pr/3262/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.

@@ -24,7 +24,7 @@ reset. false otherwise.

tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh/endpoint/struct.Written.html b/pr/3262/docs/iroh/endpoint/struct.Written.html index 4332986384..3102a6fb34 100644 --- a/pr/3262/docs/iroh/endpoint/struct.Written.html +++ b/pr/3262/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,7 +17,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/endpoint/struct.ZeroRttAccepted.html b/pr/3262/docs/iroh/endpoint/struct.ZeroRttAccepted.html index a89ae75be2..7a994a93a7 100644 --- a/pr/3262/docs/iroh/endpoint/struct.ZeroRttAccepted.html +++ b/pr/3262/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 @@ -12,7 +12,7 @@ the current task for wakeup if the value is not yet available. u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,

Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<F> FutureExt for F
where F: Future + ?Sized,

§

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

A convenience for calling Future::poll() on !Unpin types.
§

fn or<F>(self, other: F) -> Or<Self, F>
where diff --git a/pr/3262/docs/iroh/enum.KeyParsingError.html b/pr/3262/docs/iroh/enum.KeyParsingError.html index 8e36c7b14e..eba549b2ff 100644 --- a/pr/3262/docs/iroh/enum.KeyParsingError.html +++ b/pr/3262/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,
@@ -7,7 +7,10 @@
 
§

Key(Error)

Error when decoding the public key.

§

DecodeInvalidLength

The encoded information had the wrong length.

Trait Implementations§

Source§

impl Debug for KeyParsingError

Source§

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

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

impl Display for KeyParsingError

Source§

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

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

impl Error for KeyParsingError

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<DecodeError> for KeyParsingError

Source§

fn from(source: DecodeError) -> KeyParsingError

Converts to this type from the input type.
Source§

impl From<Error> for KeyParsingError

Source§

fn from(source: Error) -> KeyParsingError

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: '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 +receivers.
§

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

§

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

§

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

§

fn implicit( self, @@ -16,7 +19,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,

Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh/enum.RelayProtocol.html b/pr/3262/docs/iroh/enum.RelayProtocol.html index ef322cd7ac..f66f2c06f5 100644 --- a/pr/3262/docs/iroh/enum.RelayProtocol.html +++ b/pr/3262/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,7 +19,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/metrics/index.html b/pr/3262/docs/iroh/metrics/index.html index 890e89a858..5a4ac2c2fc 100644 --- a/pr/3262/docs/iroh/metrics/index.html +++ b/pr/3262/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/3262/docs/iroh/metrics/struct.EndpointMetrics.html b/pr/3262/docs/iroh/metrics/struct.EndpointMetrics.html index e399be3c1f..4ee5352716 100644 --- a/pr/3262/docs/iroh/metrics/struct.EndpointMetrics.html +++ b/pr/3262/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,7 +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 MetricsGroupSet for EndpointMetrics

Source§

fn groups(&self) -> impl Iterator<Item = &dyn MetricsGroup>

Returns an iterator over the [MetricsGroup] in this struct.
Source§

fn name(&self) -> &'static str

Returns the name of this metrics group set.
§

fn iter(&self) -> impl Iterator<Item = (&'static str, MetricItem<'_>)>

Returns an iterator over all metrics in this metrics group set. Read more
§

fn register(&self, registry: &mut Registry)

Available on crate feature metrics only.
Register all metrics groups in this set onto a prometheus client registry.

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( @@ -18,7 +20,7 @@ ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

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

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

Source§

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 @@ -34,5 +36,6 @@ V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

impl<T> ErasedDestructor for T
where +[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/3262/docs/iroh/metrics/struct.MagicsockMetrics.html b/pr/3262/docs/iroh/metrics/struct.MagicsockMetrics.html index 7a1674a0b4..4d8db7812d 100644 --- a/pr/3262/docs/iroh/metrics/struct.MagicsockMetrics.html +++ b/pr/3262/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,7 +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 Clone for Metrics

Source§

fn clone(&self) -> Metrics

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

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Metrics

Source§

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

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

impl Default for Metrics

Source§

fn default() -> Self

Returns the “default value” for a type. 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<(&'static str, &dyn Metric)>

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 register(&self, registry: &mut Registry)

Available on crate feature metrics only.
Registers all metric items in this metrics group to a [prometheus_client::registry::Registry].
§

fn iter(&self) -> MetricsIter<'_>

Returns an iterator over all metric items with their values and helps.

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( @@ -65,23 +67,20 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

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

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

Source§

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

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

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

§

fn from_ref(input: &T) -> T

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

impl<T> Instrument for T

§

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

Instruments this type with the provided [Span], returning an + T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> 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> 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> 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 + 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
§

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/3262/docs/iroh/metrics/struct.PortmapMetrics.html b/pr/3262/docs/iroh/metrics/struct.PortmapMetrics.html index 6d9e0d7b15..a513f9132e 100644 --- a/pr/3262/docs/iroh/metrics/struct.PortmapMetrics.html +++ b/pr/3262/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,7 +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 Clone for Metrics

§

fn clone(&self) -> Metrics

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

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

Performs copy-assignment from source. Read more
§

impl Debug for Metrics

§

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

Formats the value using the given formatter. Read more
§

impl Default for Metrics

§

fn default() -> Metrics

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

impl Iterable for Metrics

§

fn field_count(&self) -> usize

Returns the number of fields in the struct.
§

fn field_ref(&self, n: usize) -> Option<(&'static str, &dyn Metric)>

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 register(&self, registry: &mut Registry)

Available on crate feature metrics only.
Registers all metric items in this metrics group to a [prometheus_client::registry::Registry].
§

fn iter(&self) -> MetricsIter<'_>

Returns an iterator over all metric items with their values and helps.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

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>( + &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 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,23 +39,20 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

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

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

Source§

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

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

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

§

fn from_ref(input: &T) -> T

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

impl<T> Instrument for T

§

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

Instruments this type with the provided [Span], returning an + T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> 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> 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> 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 + 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
§

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/3262/docs/iroh/metrics/struct.RelayMetrics.html b/pr/3262/docs/iroh/metrics/struct.RelayMetrics.html index 5f6e76fd38..b38bc38a70 100644 --- a/pr/3262/docs/iroh/metrics/struct.RelayMetrics.html +++ b/pr/3262/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, @@ -42,7 +42,7 @@
§unique_client_keys: Counter

Number of unique client keys per day

§websocket_accepts: Counter

Number of accepted websocket connections.

§relay_accepts: Counter

Number of accepted ‘iroh derp http’ connection upgrades

-

Trait Implementations§

Source§

impl Clone for Metrics

Source§

fn clone(&self) -> Metrics

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

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Metrics

Source§

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

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

impl Default for Metrics

Source§

fn default() -> Metrics

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

impl Iterable for Metrics

Source§

fn field_count(&self) -> usize

Returns the number of fields in the struct.
Source§

fn field_ref(&self, n: usize) -> Option<(&'static str, &dyn Metric)>

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 register(&self, registry: &mut Registry)

Available on crate feature metrics only.
Registers all metric items in this metrics group to a [prometheus_client::registry::Registry].
§

fn iter(&self) -> MetricsIter<'_>

Returns an iterator over all metric items with their values and helps.

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

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

impl Default for Metrics

Source§

fn default() -> Metrics

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

impl Iterable for Metrics

Source§

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

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( @@ -52,19 +52,15 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

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

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

Source§

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

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

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

§

fn from_ref(input: &T) -> T

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

impl<T> Instrument for T

§

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

Instruments this type with the provided [Span], returning an + T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> 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> 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> 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 + 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/3262/docs/iroh/net_report/struct.Addr.html b/pr/3262/docs/iroh/net_report/struct.Addr.html index c8d72d9bfe..44268bba40 100644 --- a/pr/3262/docs/iroh/net_report/struct.Addr.html +++ b/pr/3262/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,7 +22,7 @@ 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
Source§

impl<T> DynClone 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.

§

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 diff --git a/pr/3262/docs/iroh/net_report/struct.Client.html b/pr/3262/docs/iroh/net_report/struct.Client.html index e6894f38c6..2c0d5f68c2 100644 --- a/pr/3262/docs/iroh/net_report/struct.Client.html +++ b/pr/3262/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. @@ -33,7 +33,7 @@ allows sending messages to the actor.

tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh/net_report/struct.Metrics.html b/pr/3262/docs/iroh/net_report/struct.Metrics.html index fab08c0312..ea3b6aaca7 100644 --- a/pr/3262/docs/iroh/net_report/struct.Metrics.html +++ b/pr/3262/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,7 +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 Clone for Metrics

Source§

fn clone(&self) -> Metrics

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

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Metrics

Source§

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

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

impl Default for Metrics

Source§

fn default() -> Self

Returns the “default value” for a type. 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<(&'static str, &dyn Metric)>

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 register(&self, registry: &mut Registry)

Available on crate feature metrics only.
Registers all metric items in this metrics group to a [prometheus_client::registry::Registry].
§

fn iter(&self) -> MetricsIter<'_>

Returns an iterator over all metric items with their values and helps.

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( @@ -24,23 +26,20 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

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

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

Source§

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

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

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

§

fn from_ref(input: &T) -> T

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

impl<T> Instrument for T

§

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

Instruments this type with the provided [Span], returning an + T: ?Sized,

Source§

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

Mutably borrows from an owned value. 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> 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> 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> 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 + 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
§

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/3262/docs/iroh/net_report/struct.Options.html b/pr/3262/docs/iroh/net_report/struct.Options.html index 11fab7afce..846863b637 100644 --- a/pr/3262/docs/iroh/net_report/struct.Options.html +++ b/pr/3262/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,7 +20,7 @@ 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
Source§

impl<T> DynClone 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.

§

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 diff --git a/pr/3262/docs/iroh/net_report/struct.QuicConfig.html b/pr/3262/docs/iroh/net_report/struct.QuicConfig.html index 807f232b86..19c89a890f 100644 --- a/pr/3262/docs/iroh/net_report/struct.QuicConfig.html +++ b/pr/3262/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,7 +19,7 @@
 ) -> TaggedParser<'a, Implicit, Self, E>
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

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

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

Source§

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 diff --git a/pr/3262/docs/iroh/net_report/struct.RelayLatencies.html b/pr/3262/docs/iroh/net_report/struct.RelayLatencies.html index bd8171b3e1..d341c1ca2d 100644 --- a/pr/3262/docs/iroh/net_report/struct.RelayLatencies.html +++ b/pr/3262/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,7 +12,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/net_report/struct.Report.html b/pr/3262/docs/iroh/net_report/struct.Report.html index f024ff22a6..86dc618767 100644 --- a/pr/3262/docs/iroh/net_report/struct.Report.html +++ b/pr/3262/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,7 +55,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/node_info/struct.MaxLengthExceededError.html b/pr/3262/docs/iroh/node_info/struct.MaxLengthExceededError.html index 213294ca29..a7fdef799a 100644 --- a/pr/3262/docs/iroh/node_info/struct.MaxLengthExceededError.html +++ b/pr/3262/docs/iroh/node_info/struct.MaxLengthExceededError.html @@ -1,6 +1,9 @@ -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<'a, T, E> AsTaggedExplicit<'a, E> 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 +receivers.
§

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

§

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

§

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

§

fn implicit( self, @@ -9,7 +12,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,

Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh/node_info/struct.NodeData.html b/pr/3262/docs/iroh/node_info/struct.NodeData.html index 0b143d1953..fd1db131c9 100644 --- a/pr/3262/docs/iroh/node_info/struct.NodeData.html +++ b/pr/3262/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,7 +36,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/node_info/struct.NodeInfo.html b/pr/3262/docs/iroh/node_info/struct.NodeInfo.html index a40be1da5a..c8ddf08f71 100644 --- a/pr/3262/docs/iroh/node_info/struct.NodeInfo.html +++ b/pr/3262/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.

@@ -48,7 +48,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/node_info/struct.UserData.html b/pr/3262/docs/iroh/node_info/struct.UserData.html index 77cf66d07e..dc87485ed2 100644 --- a/pr/3262/docs/iroh/node_info/struct.UserData.html +++ b/pr/3262/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,7 +31,7 @@ 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.
Source§

impl<T> DynClone for T
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 diff --git a/pr/3262/docs/iroh/protocol/struct.AccessLimit.html b/pr/3262/docs/iroh/protocol/struct.AccessLimit.html index 149df6a194..7bbe08bf78 100644 --- a/pr/3262/docs/iroh/protocol/struct.AccessLimit.html +++ b/pr/3262/docs/iroh/protocol/struct.AccessLimit.html @@ -1,4 +1,4 @@ -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 @@ -19,7 +19,7 @@ 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
Source§

impl<T> DynClone 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.

§

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 diff --git a/pr/3262/docs/iroh/protocol/struct.Router.html b/pr/3262/docs/iroh/protocol/struct.Router.html index ca1f8e3880..59bae59700 100644 --- a/pr/3262/docs/iroh/protocol/struct.Router.html +++ b/pr/3262/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 @@ -36,7 +36,7 @@ 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
Source§

impl<T> DynClone 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.

§

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 diff --git a/pr/3262/docs/iroh/protocol/struct.RouterBuilder.html b/pr/3262/docs/iroh/protocol/struct.RouterBuilder.html index 653b31f98a..627d225b7a 100644 --- a/pr/3262/docs/iroh/protocol/struct.RouterBuilder.html +++ b/pr/3262/docs/iroh/protocol/struct.RouterBuilder.html @@ -1,4 +1,4 @@ -RouterBuilder in iroh::protocol - Rust
iroh::protocol

Struct RouterBuilder

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

Builder for creating a Router for accepting protocols.

+RouterBuilder in iroh::protocol - Rust
iroh::protocol

Struct RouterBuilder

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

Builder for creating a Router for accepting protocols.

Implementations§

Source§

impl RouterBuilder

Source

pub fn new(endpoint: Endpoint) -> Self

Creates a new router builder using given Endpoint.

Source

pub fn accept<T: ProtocolHandler>( self, @@ -18,7 +18,7 @@ with this alpn.

tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh/struct.NodeAddr.html b/pr/3262/docs/iroh/struct.NodeAddr.html index 87425c3bd1..42d0e388a9 100644 --- a/pr/3262/docs/iroh/struct.NodeAddr.html +++ b/pr/3262/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>,
@@ -69,7 +69,7 @@ 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.
Source§

impl<T> DynClone for T
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 diff --git a/pr/3262/docs/iroh/struct.PublicKey.html b/pr/3262/docs/iroh/struct.PublicKey.html index 981d5d3999..4a211bc414 100644 --- a/pr/3262/docs/iroh/struct.PublicKey.html +++ b/pr/3262/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.

@@ -50,7 +50,7 @@ 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.
Source§

impl<T> DynClone for T
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 diff --git a/pr/3262/docs/iroh/struct.RelayMap.html b/pr/3262/docs/iroh/struct.RelayMap.html index e754fac28b..7fa467b019 100644 --- a/pr/3262/docs/iroh/struct.RelayMap.html +++ b/pr/3262/docs/iroh/struct.RelayMap.html @@ -1,4 +1,4 @@ -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.

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

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

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh/struct.RelayNode.html b/pr/3262/docs/iroh/struct.RelayNode.html index d47e44d43e..9d8865b2a5 100644 --- a/pr/3262/docs/iroh/struct.RelayNode.html +++ b/pr/3262/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,
@@ -41,7 +41,7 @@ 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.
Source§

impl<T> DynClone for T
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 diff --git a/pr/3262/docs/iroh/struct.RelayUrl.html b/pr/3262/docs/iroh/struct.RelayUrl.html index 18e04e03f8..f05b72ef3c 100644 --- a/pr/3262/docs/iroh/struct.RelayUrl.html +++ b/pr/3262/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:

    @@ -480,7 +480,7 @@ 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.
Source§

impl<T> DynClone for T
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 diff --git a/pr/3262/docs/iroh/struct.RelayUrlParseError.html b/pr/3262/docs/iroh/struct.RelayUrlParseError.html index ccee1022fd..a6fae9ae78 100644 --- a/pr/3262/docs/iroh/struct.RelayUrlParseError.html +++ b/pr/3262/docs/iroh/struct.RelayUrlParseError.html @@ -1,6 +1,9 @@ -RelayUrlParseError in iroh - Rust
iroh

Struct RelayUrlParseError

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

Can occur when parsing a string into a RelayUrl.

+RelayUrlParseError in iroh - Rust
iroh

Struct RelayUrlParseError

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

Can occur when parsing a string into a RelayUrl.

Trait Implementations§

Source§

impl Debug for RelayUrlParseError

Source§

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

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

impl Display for RelayUrlParseError

Source§

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

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

impl Error for RelayUrlParseError

Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl From<ParseError> for RelayUrlParseError

Source§

fn from(source: ParseError) -> RelayUrlParseError

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where + T: '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 +receivers.
§

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

§

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

§

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

§

fn implicit( self, @@ -9,7 +12,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,

Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh/struct.SecretKey.html b/pr/3262/docs/iroh/struct.SecretKey.html index 2d5a847dce..c665773764 100644 --- a/pr/3262/docs/iroh/struct.SecretKey.html +++ b/pr/3262/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.

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

impl<T> DynClone 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.

§

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 diff --git a/pr/3262/docs/iroh/test_utils/struct.CleanupDropGuard.html b/pr/3262/docs/iroh/test_utils/struct.CleanupDropGuard.html index 4d2b38f3d5..bf9b90008b 100644 --- a/pr/3262/docs/iroh/test_utils/struct.CleanupDropGuard.html +++ b/pr/3262/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 @@ -11,7 +11,7 @@ resources.

tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh/test_utils/struct.DnsPkarrServer.html b/pr/3262/docs/iroh/test_utils/struct.DnsPkarrServer.html index 901d2b0945..a0023bb000 100644 --- a/pr/3262/docs/iroh/test_utils/struct.DnsPkarrServer.html +++ b/pr/3262/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,
@@ -25,7 +25,7 @@ configured to use the test servers.

tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh/watchable/struct.Disconnected.html b/pr/3262/docs/iroh/watchable/struct.Disconnected.html index e91fc20912..a3a93f0c8f 100644 --- a/pr/3262/docs/iroh/watchable/struct.Disconnected.html +++ b/pr/3262/docs/iroh/watchable/struct.Disconnected.html @@ -1,7 +1,10 @@ -Disconnected in iroh::watchable - Rust
iroh::watchable

Struct Disconnected

Source
pub struct Disconnected;
Expand description

The error for when a Watcher is disconnected from its underlying +Disconnected in iroh::watchable - Rust

iroh::watchable

Struct Disconnected

Source
pub struct Disconnected;
Expand description

The error for when a Watcher is disconnected from its underlying Watchable value, because of that watchable having been dropped.

Trait Implementations§

Source§

impl Debug for Disconnected

Source§

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

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

impl Display for Disconnected

Source§

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

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

impl Error for Disconnected

1.30.0 · Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where + 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 +receivers.
§

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

§

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

§

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

§

fn implicit( self, @@ -10,7 +13,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,

Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh/watchable/struct.WatchInitializedFut.html b/pr/3262/docs/iroh/watchable/struct.WatchInitializedFut.html index f6d79d0564..15beb4bad1 100644 --- a/pr/3262/docs/iroh/watchable/struct.WatchInitializedFut.html +++ b/pr/3262/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

@@ -16,7 +16,7 @@ the current task for wakeup if the value is not yet available. u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<F> FutureExt for F
where F: Future + ?Sized,

§

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

A convenience for calling Future::poll() on !Unpin types.
§

fn or<F>(self, other: F) -> Or<Self, F>
where diff --git a/pr/3262/docs/iroh/watchable/struct.WatchNextFut.html b/pr/3262/docs/iroh/watchable/struct.WatchNextFut.html index dd1597e9b8..f9b7c2fcf4 100644 --- a/pr/3262/docs/iroh/watchable/struct.WatchNextFut.html +++ b/pr/3262/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.

@@ -15,7 +15,7 @@ the current task for wakeup if the value is not yet available. u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<F> FutureExt for F
where F: Future + ?Sized,

§

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

A convenience for calling Future::poll() on !Unpin types.
§

fn or<F>(self, other: F) -> Or<Self, F>
where diff --git a/pr/3262/docs/iroh/watchable/struct.Watchable.html b/pr/3262/docs/iroh/watchable/struct.Watchable.html index b17c62a970..f8ab271cbf 100644 --- a/pr/3262/docs/iroh/watchable/struct.Watchable.html +++ b/pr/3262/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,7 +21,7 @@ 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
Source§

impl<T> DynClone 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.

§

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 diff --git a/pr/3262/docs/iroh/watchable/struct.Watcher.html b/pr/3262/docs/iroh/watchable/struct.Watcher.html index 817e3f9ecd..e9591ab842 100644 --- a/pr/3262/docs/iroh/watchable/struct.Watcher.html +++ b/pr/3262/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,7 +46,7 @@ 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
Source§

impl<T> DynClone 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.

§

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 diff --git a/pr/3262/docs/iroh/watchable/struct.WatcherStream.html b/pr/3262/docs/iroh/watchable/struct.WatcherStream.html index fefa2c9ff7..5fada3e5f3 100644 --- a/pr/3262/docs/iroh/watchable/struct.WatcherStream.html +++ b/pr/3262/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,7 +39,7 @@ 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
Source§

impl<T> DynClone 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 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, diff --git a/pr/3262/docs/iroh_bench/enum.Commands.html b/pr/3262/docs/iroh_bench/enum.Commands.html index 4cc85d05a4..24c59c806a 100644 --- a/pr/3262/docs/iroh_bench/enum.Commands.html +++ b/pr/3262/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,7 +31,7 @@
 ) -> TaggedParser<'a, Implicit, Self, E>
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

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

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

Source§

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 diff --git a/pr/3262/docs/iroh_bench/enum.ConnectionSelector.html b/pr/3262/docs/iroh_bench/enum.ConnectionSelector.html index 018edf6f7f..dddfe30508 100644 --- a/pr/3262/docs/iroh_bench/enum.ConnectionSelector.html +++ b/pr/3262/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( @@ -11,7 +11,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh_bench/enum.EndpointSelector.html b/pr/3262/docs/iroh_bench/enum.EndpointSelector.html index 32c2d8b1df..0fcf418ae5 100644 --- a/pr/3262/docs/iroh_bench/enum.EndpointSelector.html +++ b/pr/3262/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( @@ -11,7 +11,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,

Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh_bench/iroh/fn.client.html b/pr/3262/docs/iroh_bench/iroh/fn.client.html index 3e20cf8d54..cbd0ec4f22 100644 --- a/pr/3262/docs/iroh_bench/iroh/fn.client.html +++ b/pr/3262/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(
-    server_addr: NodeAddr,
-    relay_url: Option<RelayUrl>,
+    server_addr: NodeAddr,
+    relay_url: Option<RelayUrl>,
     opt: Opt,
 ) -> Result<ClientStats>
Expand description

Create and run a client

\ No newline at end of file diff --git a/pr/3262/docs/iroh_bench/iroh/fn.connect_client.html b/pr/3262/docs/iroh_bench/iroh/fn.connect_client.html index 6c2c723d15..e5238df22b 100644 --- a/pr/3262/docs/iroh_bench/iroh/fn.connect_client.html +++ b/pr/3262/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(
-    server_addr: NodeAddr,
-    relay_url: Option<RelayUrl>,
+    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/3262/docs/iroh_bench/iroh/fn.handle_client_stream.html b/pr/3262/docs/iroh_bench/iroh/fn.handle_client_stream.html index f7beb4b525..5bd5f22283 100644 --- a/pr/3262/docs/iroh_bench/iroh/fn.handle_client_stream.html +++ b/pr/3262/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,
+    connection: &Connection,
     upload_size: u64,
     read_unordered: bool,
 ) -> Result<(TransferResult, TransferResult)>
\ No newline at end of file diff --git a/pr/3262/docs/iroh_bench/iroh/fn.server.html b/pr/3262/docs/iroh_bench/iroh/fn.server.html index b9123145bf..ce3050401b 100644 --- a/pr/3262/docs/iroh_bench/iroh/fn.server.html +++ b/pr/3262/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/3262/docs/iroh_bench/iroh/fn.server_endpoint.html b/pr/3262/docs/iroh_bench/iroh/fn.server_endpoint.html index 1eaf2b13be..63e898edfe 100644 --- a/pr/3262/docs/iroh_bench/iroh/fn.server_endpoint.html +++ b/pr/3262/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(
     rt: &Runtime,
-    relay_url: &Option<RelayUrl>,
+    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/3262/docs/iroh_bench/s2n/struct.Opt.html b/pr/3262/docs/iroh_bench/s2n/struct.Opt.html index b3d65309c9..bb1e23db83 100644 --- a/pr/3262/docs/iroh_bench/s2n/struct.Opt.html +++ b/pr/3262/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,7 +27,7 @@ ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

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

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

Source§

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 diff --git a/pr/3262/docs/iroh_bench/stats/struct.Stats.html b/pr/3262/docs/iroh_bench/stats/struct.Stats.html index 07acb38789..ecb96ad68e 100644 --- a/pr/3262/docs/iroh_bench/stats/struct.Stats.html +++ b/pr/3262/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,
@@ -13,7 +13,7 @@
     tag: u32,
 ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh_bench/stats/struct.StreamStats.html b/pr/3262/docs/iroh_bench/stats/struct.StreamStats.html index 88e22a9e90..e6f8eb3ae5 100644 --- a/pr/3262/docs/iroh_bench/stats/struct.StreamStats.html +++ b/pr/3262/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>,
@@ -15,7 +15,7 @@
     tag: u32,
 ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh_bench/stats/struct.TransferResult.html b/pr/3262/docs/iroh_bench/stats/struct.TransferResult.html index 2cbdad90d8..93e37d8791 100644 --- a/pr/3262/docs/iroh_bench/stats/struct.TransferResult.html +++ b/pr/3262/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,
@@ -15,7 +15,7 @@
     tag: u32,
 ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh_bench/struct.ClientStats.html b/pr/3262/docs/iroh_bench/struct.ClientStats.html index 4826e44a60..6169b3d01f 100644 --- a/pr/3262/docs/iroh_bench/struct.ClientStats.html +++ b/pr/3262/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( @@ -8,7 +8,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,

Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh_bench/struct.Opt.html b/pr/3262/docs/iroh_bench/struct.Opt.html index 3ae42eb9e8..cafe58cbc4 100644 --- a/pr/3262/docs/iroh_bench/struct.Opt.html +++ b/pr/3262/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,7 +56,7 @@ 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
Source§

impl<T> DynClone 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.

§

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 diff --git a/pr/3262/docs/iroh_dns_server/config/enum.BootstrapOption.html b/pr/3262/docs/iroh_dns_server/config/enum.BootstrapOption.html index c0dd2200e9..0207a7618b 100644 --- a/pr/3262/docs/iroh_dns_server/config/enum.BootstrapOption.html +++ b/pr/3262/docs/iroh_dns_server/config/enum.BootstrapOption.html @@ -1,4 +1,4 @@ -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.

@@ -16,7 +16,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh_dns_server/config/struct.Config.html b/pr/3262/docs/iroh_dns_server/config/struct.Config.html index 1ef09c84a9..c45ee233ab 100644 --- a/pr/3262/docs/iroh_dns_server/config/struct.Config.html +++ b/pr/3262/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,
@@ -36,7 +36,7 @@ and testing.

tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh_dns_server/config/struct.MainlineConfig.html b/pr/3262/docs/iroh_dns_server/config/struct.MainlineConfig.html index 987e09fecc..e7e48e20a9 100644 --- a/pr/3262/docs/iroh_dns_server/config/struct.MainlineConfig.html +++ b/pr/3262/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.

@@ -18,7 +18,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh_dns_server/config/struct.MetricsConfig.html b/pr/3262/docs/iroh_dns_server/config/struct.MetricsConfig.html index 33c1daf690..85892a40b5 100644 --- a/pr/3262/docs/iroh_dns_server/config/struct.MetricsConfig.html +++ b/pr/3262/docs/iroh_dns_server/config/struct.MetricsConfig.html @@ -1,4 +1,4 @@ -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.

@@ -17,7 +17,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh_dns_server/config/struct.StoreConfig.html b/pr/3262/docs/iroh_dns_server/config/struct.StoreConfig.html index cabb8a4075..aa808e4e27 100644 --- a/pr/3262/docs/iroh_dns_server/config/struct.StoreConfig.html +++ b/pr/3262/docs/iroh_dns_server/config/struct.StoreConfig.html @@ -1,4 +1,4 @@ -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.

+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 @@ -12,7 +12,7 @@ ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

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

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

Source§

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 diff --git a/pr/3262/docs/iroh_dns_server/dns/struct.DnsConfig.html b/pr/3262/docs/iroh_dns_server/dns/struct.DnsConfig.html index ddfe6c85bd..8bf5adc754 100644 --- a/pr/3262/docs/iroh_dns_server/dns/struct.DnsConfig.html +++ b/pr/3262/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,
@@ -30,7 +30,7 @@ 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
Source§

impl<T> DynClone 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.

§

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 diff --git a/pr/3262/docs/iroh_dns_server/dns/struct.DnsHandler.html b/pr/3262/docs/iroh_dns_server/dns/struct.DnsHandler.html index 20456c2ab7..23ab62d815 100644 --- a/pr/3262/docs/iroh_dns_server/dns/struct.DnsHandler.html +++ b/pr/3262/docs/iroh_dns_server/dns/struct.DnsHandler.html @@ -1,4 +1,4 @@ -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, @@ -25,7 +25,7 @@ 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
Source§

impl<T> DynClone 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.

§

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 diff --git a/pr/3262/docs/iroh_dns_server/dns/struct.DnsServer.html b/pr/3262/docs/iroh_dns_server/dns/struct.DnsServer.html index a2abd0560e..1bb9193152 100644 --- a/pr/3262/docs/iroh_dns_server/dns/struct.DnsServer.html +++ b/pr/3262/docs/iroh_dns_server/dns/struct.DnsServer.html @@ -1,4 +1,4 @@ -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.

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

@@ -14,7 +14,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh_dns_server/dns/struct.Handle.html b/pr/3262/docs/iroh_dns_server/dns/struct.Handle.html index 5e72e2b305..3aa59602ab 100644 --- a/pr/3262/docs/iroh_dns_server/dns/struct.Handle.html +++ b/pr/3262/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>, @@ -17,7 +17,7 @@ ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

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

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

Source§

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 diff --git a/pr/3262/docs/iroh_dns_server/http/enum.CertMode.html b/pr/3262/docs/iroh_dns_server/http/enum.CertMode.html index 77fd7f3aa2..e643a47177 100644 --- a/pr/3262/docs/iroh_dns_server/http/enum.CertMode.html +++ b/pr/3262/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,
@@ -20,7 +20,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh_dns_server/http/enum.RateLimitConfig.html b/pr/3262/docs/iroh_dns_server/http/enum.RateLimitConfig.html index 128af64a55..ab56dc867f 100644 --- a/pr/3262/docs/iroh_dns_server/http/enum.RateLimitConfig.html +++ b/pr/3262/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,
@@ -23,7 +23,7 @@ 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
Source§

impl<T> DynClone 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.

§

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 diff --git a/pr/3262/docs/iroh_dns_server/http/struct.HttpConfig.html b/pr/3262/docs/iroh_dns_server/http/struct.HttpConfig.html index d2bf38396b..b2c28d4503 100644 --- a/pr/3262/docs/iroh_dns_server/http/struct.HttpConfig.html +++ b/pr/3262/docs/iroh_dns_server/http/struct.HttpConfig.html @@ -1,4 +1,4 @@ -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

@@ -17,7 +17,7 @@ ) -> TaggedParser<'a, Implicit, Self, E>
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

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

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

Source§

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 diff --git a/pr/3262/docs/iroh_dns_server/http/struct.HttpServer.html b/pr/3262/docs/iroh_dns_server/http/struct.HttpServer.html index d8d4122011..8945d977bc 100644 --- a/pr/3262/docs/iroh_dns_server/http/struct.HttpServer.html +++ b/pr/3262/docs/iroh_dns_server/http/struct.HttpServer.html @@ -1,4 +1,4 @@ -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>, @@ -20,7 +20,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh_dns_server/http/struct.HttpsConfig.html b/pr/3262/docs/iroh_dns_server/http/struct.HttpsConfig.html index 6313d10a75..1e2b3135e4 100644 --- a/pr/3262/docs/iroh_dns_server/http/struct.HttpsConfig.html +++ b/pr/3262/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>,
@@ -25,7 +25,7 @@
 ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

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

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

Source§

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 diff --git a/pr/3262/docs/iroh_dns_server/index.html b/pr/3262/docs/iroh_dns_server/index.html index ddbdd83858..ddf8e98bbe 100644 --- a/pr/3262/docs/iroh_dns_server/index.html +++ b/pr/3262/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/3262/docs/iroh_dns_server/metrics/struct.Metrics.html b/pr/3262/docs/iroh_dns_server/metrics/struct.Metrics.html index 389b2a1c28..6c8a21b57a 100644 --- a/pr/3262/docs/iroh_dns_server/metrics/struct.Metrics.html +++ b/pr/3262/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, @@ -32,7 +32,7 @@
§store_packets_removed: Counter

Signed packets removed from the store

§store_packets_updated: Counter

Number of updates to existing packets

§store_packets_expired: Counter

Number of expired packets

-

Trait Implementations§

Source§

impl Clone for Metrics

Source§

fn clone(&self) -> Metrics

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

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Metrics

Source§

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

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

impl Default for Metrics

Source§

fn default() -> Self

Returns the “default value” for a type. 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<(&'static str, &dyn Metric)>

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 register(&self, registry: &mut Registry)

Registers all metric items in this metrics group to a [prometheus_client::registry::Registry].
§

fn iter(&self) -> MetricsIter<'_>

Returns an iterator over all metric items with their values and helps.

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

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,19 +42,15 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

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

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

Source§

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

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

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

§

fn from_ref(input: &T) -> T

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

impl<T> Instrument for T

§

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

Instruments this type with the provided [Span], returning an + T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> 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> 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> 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 + 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/3262/docs/iroh_dns_server/server/struct.Server.html b/pr/3262/docs/iroh_dns_server/server/struct.Server.html index da5923f247..1f2a140aef 100644 --- a/pr/3262/docs/iroh_dns_server/server/struct.Server.html +++ b/pr/3262/docs/iroh_dns_server/server/struct.Server.html @@ -1,4 +1,4 @@ -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, @@ -23,7 +23,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,

Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh_dns_server/state/struct.AppState.html b/pr/3262/docs/iroh_dns_server/state/struct.AppState.html index 3826239482..9dbd459a1f 100644 --- a/pr/3262/docs/iroh_dns_server/state/struct.AppState.html +++ b/pr/3262/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,7 +17,7 @@
 ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

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

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

Source§

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 diff --git a/pr/3262/docs/iroh_dns_server/struct.ZoneStore.html b/pr/3262/docs/iroh_dns_server/struct.ZoneStore.html index cd5cf97d50..855d4f79ca 100644 --- a/pr/3262/docs/iroh_dns_server/struct.ZoneStore.html +++ b/pr/3262/docs/iroh_dns_server/struct.ZoneStore.html @@ -1,7 +1,7 @@ -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>, @@ -10,22 +10,22 @@ cache used for resolving DNS queries.

options: ZoneStoreOptions, metrics: Arc<Metrics>, ) -> 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.

+
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 fn new(store: SignedPacketStore, metrics: Arc<Metrics>) -> Self

Create a new zone store.

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

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

Source

pub async fn insert( &self, signed_packet: SignedPacket, _source: PacketSource, @@ -43,7 +43,7 @@ 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
Source§

impl<T> DynClone 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.

§

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 diff --git a/pr/3262/docs/iroh_relay/client/enum.ConnSendError.html b/pr/3262/docs/iroh_relay/client/enum.ConnSendError.html index 0f84bcbbef..24cb13752f 100644 --- a/pr/3262/docs/iroh_relay/client/enum.ConnSendError.html +++ b/pr/3262/docs/iroh_relay/client/enum.ConnSendError.html @@ -1,11 +1,14 @@ -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.

Variants§

§

Io(Error)

An IO error.

§

Protocol(&'static str)

A protocol error.

Trait Implementations§

Source§

impl Debug for ConnSendError

Source§

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

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

impl Display for ConnSendError

Source§

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

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

impl Error for ConnSendError

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<Error> for ConnSendError

Source§

fn from(source: Error) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for ConnSendError

Available on non-wasm_browser only.
Source§

fn from(err: Error) -> 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: '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 +receivers.
§

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

§

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

§

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

§

fn implicit( self, @@ -14,7 +17,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh_relay/client/enum.ReceivedMessage.html b/pr/3262/docs/iroh_relay/client/enum.ReceivedMessage.html index b677f4e00c..2f808e978b 100644 --- a/pr/3262/docs/iroh_relay/client/enum.ReceivedMessage.html +++ b/pr/3262/docs/iroh_relay/client/enum.ReceivedMessage.html @@ -1,9 +1,9 @@ -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,
+        remote_node_id: NodeId,
         data: Bytes,
     },
-    NodeGone(NodeId),
+    NodeGone(NodeId),
     Ping([u8; 8]),
     Pong([u8; 8]),
     KeepAlive,
@@ -17,9 +17,9 @@
 }
Expand description

The messages received from a framed relay stream.

This is a type-validated version of the Frames on the RelayCodec.

Variants§

§

ReceivedPacket

Represents an incoming packet.

-

Fields

§remote_node_id: NodeId

The NodeId of the packet sender.

+

Fields

§remote_node_id: NodeId

The [NodeId] of the packet sender.

§data: Bytes

The received packet bytes.

-
§

NodeGone(NodeId)

Indicates that the client identified by the underlying public key had previously sent you a +

§

NodeGone(NodeId)

Indicates that the client identified by the underlying public key had previously sent you a packet but has now disconnected from the server.

§

Ping([u8; 8])

Request from a client or server to reply to the other side with a ReceivedMessage::Pong with the given payload.

@@ -51,7 +51,7 @@ 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
Source§

impl<T> DynClone 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.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an diff --git a/pr/3262/docs/iroh_relay/client/enum.SendMessage.html b/pr/3262/docs/iroh_relay/client/enum.SendMessage.html index a03e61041b..1981cb211e 100644 --- a/pr/3262/docs/iroh_relay/client/enum.SendMessage.html +++ b/pr/3262/docs/iroh_relay/client/enum.SendMessage.html @@ -1,9 +1,9 @@ -SendMessage in iroh_relay::client - Rust
iroh_relay::client

Enum SendMessage

Source
pub enum SendMessage {
-    SendPacket(NodeId, Bytes),
+SendMessage in iroh_relay::client - Rust
iroh_relay::client

Enum SendMessage

Source
pub enum SendMessage {
+    SendPacket(NodeId, Bytes),
     Ping([u8; 8]),
     Pong([u8; 8]),
 }
Expand description

Messages we can send to a relay server.

-

Variants§

§

SendPacket(NodeId, Bytes)

Send a packet of data to the NodeId.

+

Variants§

§

SendPacket(NodeId, Bytes)

Send a packet of data to the [NodeId].

§

Ping([u8; 8])

Sends a ping message to the connected relay server.

§

Pong([u8; 8])

Sends a pong message to the connected relay server.

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( @@ -44,7 +44,7 @@ Each call to this function must be preceded by a successful call to tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh_relay/client/struct.Client.html b/pr/3262/docs/iroh_relay/client/struct.Client.html index 4b79e9646e..d418d1359c 100644 --- a/pr/3262/docs/iroh_relay/client/struct.Client.html +++ b/pr/3262/docs/iroh_relay/client/struct.Client.html @@ -1,4 +1,4 @@ -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>, @@ -48,7 +48,7 @@ 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
§

impl<E, S, T> FirstAnswer<T, E> for S
where + Self: Sized,

An adaptor for creating a buffered list of pending futures (unordered). 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
§

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.

diff --git a/pr/3262/docs/iroh_relay/client/struct.ClientBuilder.html b/pr/3262/docs/iroh_relay/client/struct.ClientBuilder.html index 6756b5fabd..fa7e500a03 100644 --- a/pr/3262/docs/iroh_relay/client/struct.ClientBuilder.html +++ b/pr/3262/docs/iroh_relay/client/struct.ClientBuilder.html @@ -1,7 +1,7 @@ -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, + url: impl Into<RelayUrl>, + secret_key: SecretKey, dns_resolver: DnsResolver, ) -> Self

Create a new ClientBuilder

Source

pub fn protocol(self, protocol: Protocol) -> Self

Sets whether to connect to the relay via websockets or not. @@ -30,7 +30,7 @@ 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
Source§

impl<T> DynClone 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.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an diff --git a/pr/3262/docs/iroh_relay/client/struct.ClientSink.html b/pr/3262/docs/iroh_relay/client/struct.ClientSink.html index 4624d2bfe4..0ac148d56c 100644 --- a/pr/3262/docs/iroh_relay/client/struct.ClientSink.html +++ b/pr/3262/docs/iroh_relay/client/struct.ClientSink.html @@ -1,4 +1,4 @@ -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<'_>, @@ -23,7 +23,7 @@ Each call to this function must be preceded by a successful call to tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
Source§

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

Mutably borrows from an owned value. 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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where diff --git a/pr/3262/docs/iroh_relay/client/struct.ClientStream.html b/pr/3262/docs/iroh_relay/client/struct.ClientStream.html index 9d770b3186..a72eecb97e 100644 --- a/pr/3262/docs/iroh_relay/client/struct.ClientStream.html +++ b/pr/3262/docs/iroh_relay/client/struct.ClientStream.html @@ -1,4 +1,4 @@ -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( self: Pin<&mut Self>, @@ -34,7 +34,7 @@ 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
§

impl<E, S, T> FirstAnswer<T, E> for S
where + Self: Sized,

An adaptor for creating a buffered list of pending futures (unordered). 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
§

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.

diff --git a/pr/3262/docs/iroh_relay/dns/struct.DnsResolver.html b/pr/3262/docs/iroh_relay/dns/struct.DnsResolver.html index f9a7859e1d..3196cda659 100644 --- a/pr/3262/docs/iroh_relay/dns/struct.DnsResolver.html +++ b/pr/3262/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 @@ -67,9 +67,9 @@ at T+0ms, T+200ms and T+300ms. The timeout is applied as stated in summary of all errors otherwise.

Source

pub async fn lookup_node_by_id( &self, - node_id: &NodeId, + 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.

@@ -84,10 +84,10 @@ at T+0ms, T+200ms and T+300ms. The result of the first successful call is return summary of all errors otherwise.

Source

pub async fn lookup_node_by_id_staggered( &self, - node_id: &NodeId, + 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,7 +103,7 @@ 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
Source§

impl<T> DynClone 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.

§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an diff --git a/pr/3262/docs/iroh_relay/dns/struct.TXT.html b/pr/3262/docs/iroh_relay/dns/struct.TXT.html index c8f1ef5700..b099a76fcb 100644 --- a/pr/3262/docs/iroh_relay/dns/struct.TXT.html +++ b/pr/3262/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,7 +11,7 @@ ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

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

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

Source§

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 diff --git a/pr/3262/docs/iroh_relay/dns/struct.TxtLookup.html b/pr/3262/docs/iroh_relay/dns/struct.TxtLookup.html index 7e7f30be3f..80ef3d335b 100644 --- a/pr/3262/docs/iroh_relay/dns/struct.TxtLookup.html +++ b/pr/3262/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,7 +10,7 @@ ) -> TaggedParser<'a, Implicit, Self, E>

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

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

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

Source§

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 diff --git a/pr/3262/docs/iroh_relay/http/enum.Protocol.html b/pr/3262/docs/iroh_relay/http/enum.Protocol.html index 80502bef7d..b8b425a3ed 100644 --- a/pr/3262/docs/iroh_relay/http/enum.Protocol.html +++ b/pr/3262/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,7 +19,7 @@ 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
Source§

impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh_relay/index.html b/pr/3262/docs/iroh_relay/index.html index b45ccff8c4..aa17a382d4 100644 --- a/pr/3262/docs/iroh_relay/index.html +++ b/pr/3262/docs/iroh_relay/index.html @@ -25,6 +25,6 @@ Tailscale.

STUN support and expose metrics.

-

Re-exports§

Modules§

  • Exposes Client, which allows to establish connections to a relay server.
  • Default values used in the relay.
  • dnsNon-wasm_browser
    DNS resolver
  • HTTP-specific constants for the relay server and client.
  • Support for handling DNS resource records for dialing by NodeId.
  • Protocols used by the iroh-relay
  • Create a QUIC server that accepts connections +

Re-exports§

Modules§

  • Exposes Client, which allows to establish connections to a relay server.
  • Default values used in the relay.
  • dnsNon-wasm_browser
    DNS resolver
  • HTTP-specific constants for the relay server and client.
  • Support for handling DNS resource records for dialing by [NodeId].
  • Protocols used by the iroh-relay
  • Create a QUIC server that accepts connections for QUIC address discovery.
  • serverserver
    A fully-fledged iroh-relay server over HTTP or HTTPS.

Structs§

  • Tracks pings on a single relay connection.
  • Configuration of all the relay servers that can be used.
  • Information on a specific relay server.
  • Configuration for speaking to the QUIC endpoint on the relay server to do QUIC address discovery.
\ No newline at end of file diff --git a/pr/3262/docs/iroh_relay/node_info/index.html b/pr/3262/docs/iroh_relay/node_info/index.html index 53ed4a99b6..daa1aa3c65 100644 --- a/pr/3262/docs/iroh_relay/node_info/index.html +++ b/pr/3262/docs/iroh_relay/node_info/index.html @@ -1,5 +1,5 @@ -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 +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:

_iroh.<z32-node-id>.<origin-domain> TXT

@@ -8,7 +8,7 @@ servers or the Mainline DHT. This module supports creating and parsing these re

_iroh is the record name as defined by IROH_TXT_NAME.

  • -

    <z32-node-id> is the z-base-32 encoding of the NodeId.

    +

    <z32-node-id> is the z-base-32 encoding of the [NodeId].

  • <origin-domain> is the domain name of the publishing DNS server, @@ -23,12 +23,12 @@ servers or the Mainline DHT. This module supports creating and parsing these re in RFC1464. The following attributes are defined:

    • -

      relay=<url>: The home RelayUrl of this node.

      +

      relay=<url>: The home RelayUrl of this node.

    • addr=<addr> <addr>: A space-separated list of sockets addresses for this iroh node. Each address is an IPv4 or IPv6 address with a port.

    -
  • Structs§

    Constants§

    Traits§

    • Extension methods for NodeId to encode to and decode from [z32], +

    Structs§

    Constants§

    Traits§

    • Extension methods for [NodeId] to encode to and decode from [z32], which is the encoding used in [pkarr] domain names.
    \ No newline at end of file diff --git a/pr/3262/docs/iroh_relay/node_info/struct.MaxLengthExceededError.html b/pr/3262/docs/iroh_relay/node_info/struct.MaxLengthExceededError.html index 726a6757f5..f13a5d250a 100644 --- a/pr/3262/docs/iroh_relay/node_info/struct.MaxLengthExceededError.html +++ b/pr/3262/docs/iroh_relay/node_info/struct.MaxLengthExceededError.html @@ -1,6 +1,9 @@ -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<'a, T, E> AsTaggedExplicit<'a, E> 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 +receivers.
    §

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

    §

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

    §

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

    §

    fn implicit( self, @@ -9,7 +12,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

    Source§

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

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

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

    Source§

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

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: ?Sized,
    Source§

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

    Mutably borrows from an owned value. 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> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

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

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

    fn in_current_span(self) -> Instrumented<Self>

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

    impl<T, U> Into<U> for T
    where diff --git a/pr/3262/docs/iroh_relay/node_info/struct.NodeData.html b/pr/3262/docs/iroh_relay/node_info/struct.NodeData.html index 8803575be7..177d464231 100644 --- a/pr/3262/docs/iroh_relay/node_info/struct.NodeData.html +++ b/pr/3262/docs/iroh_relay/node_info/struct.NodeData.html @@ -1,20 +1,20 @@ -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 +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.

    -

    This struct does not include the node’s NodeId, only the data about a certain -node. See NodeInfo for a struct that contains a NodeId with associated NodeData.

    +

    This struct does not include the node’s [NodeId], only the data about a certain +node. See NodeInfo for a struct that contains a [NodeId] with associated NodeData.

    Implementations§

    Source§

    impl NodeData

    Source

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

    Creates a new NodeData with a relay URL and a set of direct addresses.

    -
    Source

    pub fn with_relay_url(self, relay_url: Option<RelayUrl>) -> Self

    Sets the relay URL and returns the updated node data.

    +
    Source

    pub fn with_relay_url(self, relay_url: Option<RelayUrl>) -> Self

    Sets the relay URL and returns the updated node data.

    Source

    pub fn with_direct_addresses( self, direct_addresses: BTreeSet<SocketAddr>, ) -> Self

    Sets the direct addresses and returns the updated node data.

    Source

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

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

    -
    Source

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

    Returns the relay URL of the node.

    +
    Source

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

    Returns the relay URL of the node.

    Source

    pub fn user_data(&self) -> Option<&UserData>

    Returns the optional user-defined data of the node.

    Source

    pub fn direct_addresses(&self) -> &BTreeSet<SocketAddr>

    Returns the direct addresses of the node.

    Source

    pub fn clear_direct_addresses(&mut self)

    Removes all direct addresses from the node data.

    @@ -22,9 +22,9 @@ node. See IntoIterator<Item = SocketAddr>, )

    Adds direct addresses to the node data.

    -
    Source

    pub fn set_relay_url(&mut self, relay_url: Option<RelayUrl>)

    Sets the relay URL of the node data.

    +
    Source

    pub fn set_relay_url(&mut self, relay_url: Option<RelayUrl>)

    Sets the relay URL of the node data.

    Source

    pub fn set_user_data(&mut self, user_data: Option<UserData>)

    Sets the user-defined data of the node data.

    -

    Trait Implementations§

    Source§

    impl Clone for NodeData

    Source§

    fn clone(&self) -> NodeData

    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 NodeData

    Source§

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

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

    impl Default for NodeData

    Source§

    fn default() -> NodeData

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

    impl From<NodeAddr> for NodeData

    Source§

    fn from(node_addr: NodeAddr) -> Self

    Converts to this type from the input type.
    Source§

    impl PartialEq for NodeData

    Source§

    fn eq(&self, other: &NodeData) -> 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, +

    Trait Implementations§

    Source§

    impl Clone for NodeData

    Source§

    fn clone(&self) -> NodeData

    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 NodeData

    Source§

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

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

    impl Default for NodeData

    Source§

    fn default() -> NodeData

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

    impl From<NodeAddr> for NodeData

    Source§

    fn from(node_addr: NodeAddr) -> Self

    Converts to this type from the input type.
    Source§

    impl PartialEq for NodeData

    Source§

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

    Source§

    impl StructuralPartialEq for NodeData

    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 @@ -36,7 +36,7 @@ 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
    Source§

    impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh_relay/node_info/struct.NodeInfo.html b/pr/3262/docs/iroh_relay/node_info/struct.NodeInfo.html index 14a90bf909..09448b1145 100644 --- a/pr/3262/docs/iroh_relay/node_info/struct.NodeInfo.html +++ b/pr/3262/docs/iroh_relay/node_info/struct.NodeInfo.html @@ -1,30 +1,30 @@ -NodeInfo in iroh_relay::node_info - Rust
    iroh_relay::node_info

    Struct NodeInfo

    Source
    pub struct NodeInfo {
    -    pub node_id: NodeId,
    +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.

    -

    This struct couples a NodeId with its associated NodeData.

    -

    Fields§

    §node_id: NodeId

    The NodeId of the node this is about.

    +

    This struct couples a [NodeId] with its associated NodeData.

    +

    Fields§

    §node_id: NodeId

    The [NodeId] of the node this is about.

    §data: NodeData

    The information published about the node.

    -

    Implementations§

    Source§

    impl NodeInfo

    Source

    pub fn new(node_id: NodeId) -> Self

    Creates a new NodeInfo with an empty NodeData.

    -
    Source

    pub fn from_parts(node_id: NodeId, data: NodeData) -> Self

    Creates a new NodeInfo from its parts.

    -
    Source

    pub fn with_relay_url(self, relay_url: Option<RelayUrl>) -> Self

    Sets the relay URL and returns the updated node info.

    +

    Implementations§

    Source§

    impl NodeInfo

    Source

    pub fn new(node_id: NodeId) -> Self

    Creates a new NodeInfo with an empty NodeData.

    +
    Source

    pub fn from_parts(node_id: NodeId, data: NodeData) -> Self

    Creates a new NodeInfo from its parts.

    +
    Source

    pub fn with_relay_url(self, relay_url: Option<RelayUrl>) -> Self

    Sets the relay URL and returns the updated node info.

    Source

    pub fn with_direct_addresses( self, direct_addresses: BTreeSet<SocketAddr>, ) -> Self

    Sets the direct addresses and returns the updated node info.

    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 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 to_pkarr_signed_packet( &self, - secret_key: &SecretKey, + secret_key: &SecretKey, ttl: u32, ) -> Result<SignedPacket>

    Creates a [pkarr::SignedPacket].

    -

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

    +

    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.

    +

    Methods from Deref<Target = NodeData>§

    Source

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

    Returns the relay URL of the node.

    Source

    pub fn user_data(&self) -> Option<&UserData>

    Returns the optional user-defined data of the node.

    Source

    pub fn direct_addresses(&self) -> &BTreeSet<SocketAddr>

    Returns the direct addresses of the node.

    Source

    pub fn clear_direct_addresses(&mut self)

    Removes all direct addresses from the node data.

    @@ -32,9 +32,9 @@ &mut self, addrs: impl IntoIterator<Item = SocketAddr>, )

    Adds direct addresses to the node data.

    -
    Source

    pub fn set_relay_url(&mut self, relay_url: Option<RelayUrl>)

    Sets the relay URL of the node data.

    +
    Source

    pub fn set_relay_url(&mut self, relay_url: Option<RelayUrl>)

    Sets the relay URL of the node data.

    Source

    pub fn set_user_data(&mut self, user_data: Option<UserData>)

    Sets the user-defined data of the node data.

    -

    Trait Implementations§

    Source§

    impl Clone for NodeInfo

    Source§

    fn clone(&self) -> NodeInfo

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

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

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for NodeInfo

    Source§

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

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

    impl Deref for NodeInfo

    Source§

    type Target = NodeData

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    Source§

    impl DerefMut for NodeInfo

    Source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    Source§

    impl From<NodeAddr> for NodeInfo

    Source§

    fn from(addr: NodeAddr) -> Self

    Converts to this type from the input type.
    Source§

    impl From<NodeInfo> for NodeAddr

    Source§

    fn from(value: NodeInfo) -> Self

    Converts to this type from the input type.
    Source§

    impl PartialEq for NodeInfo

    Source§

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

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

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

    Tests for !=. The default implementation is almost always sufficient, +

    Trait Implementations§

    Source§

    impl Clone for NodeInfo

    Source§

    fn clone(&self) -> NodeInfo

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

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

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for NodeInfo

    Source§

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

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

    impl Deref for NodeInfo

    Source§

    type Target = NodeData

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    Source§

    impl DerefMut for NodeInfo

    Source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    Source§

    impl From<NodeAddr> for NodeInfo

    Source§

    fn from(addr: NodeAddr) -> Self

    Converts to this type from the input type.
    Source§

    impl From<NodeInfo> for NodeAddr

    Source§

    fn from(value: NodeInfo) -> Self

    Converts to this type from the input type.
    Source§

    impl PartialEq for NodeInfo

    Source§

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

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

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

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

    impl Eq for NodeInfo

    Source§

    impl StructuralPartialEq for NodeInfo

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

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

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

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

    §

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

    §

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

    impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh_relay/node_info/struct.UserData.html b/pr/3262/docs/iroh_relay/node_info/struct.UserData.html index 7362d196de..e025ae1c4e 100644 --- a/pr/3262/docs/iroh_relay/node_info/struct.UserData.html +++ b/pr/3262/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.

    @@ -28,7 +28,7 @@ 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.
    Source§

    impl<T> DynClone for T
    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 diff --git a/pr/3262/docs/iroh_relay/node_info/trait.NodeIdExt.html b/pr/3262/docs/iroh_relay/node_info/trait.NodeIdExt.html index d0926e7cee..2455ff92fa 100644 --- a/pr/3262/docs/iroh_relay/node_info/trait.NodeIdExt.html +++ b/pr/3262/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 {
         // Required methods
         fn to_z32(&self) -> String;
    -    fn from_z32(s: &str) -> Result<NodeId>;
    -}
    Expand description

    Extension methods for NodeId to encode to and decode from [z32], + 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

    Implementors§

    \ No newline at end of file +

    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 diff --git a/pr/3262/docs/iroh_relay/protos/stun/enum.Error.html b/pr/3262/docs/iroh_relay/protos/stun/enum.Error.html index 9be13f38bc..71bc47e642 100644 --- a/pr/3262/docs/iroh_relay/protos/stun/enum.Error.html +++ b/pr/3262/docs/iroh_relay/protos/stun/enum.Error.html @@ -1,4 +1,4 @@ -Error in iroh_relay::protos::stun - Rust
    iroh_relay::protos::stun

    Enum Error

    Source
    pub enum Error {
    +Error in iroh_relay::protos::stun - Rust
    iroh_relay::protos::stun

    Enum Error

    Source
    pub enum Error {
         InvalidMessage,
         NotBinding,
         NotSuccessResponse,
    @@ -13,7 +13,10 @@
     
    §

    NoFingerprint

    STUN request didn’t end in fingerprint.

    §

    InvalidFingerprint

    STUN request had bogus fingerprint.

    Trait Implementations§

    Source§

    impl Debug for Error

    Source§

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

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

    impl Display for Error

    Source§

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

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

    impl Error for Error

    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§

    §

    impl Freeze for Error

    §

    impl RefUnwindSafe for Error

    §

    impl Send for Error

    §

    impl Sync for Error

    §

    impl Unpin for Error

    §

    impl UnwindSafe for Error

    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: '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 +receivers.
    §

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

    §

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

    §

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

    §

    fn implicit( self, @@ -22,7 +25,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

    Source§

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

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

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

    Source§

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

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: ?Sized,
    Source§

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

    Mutably borrows from an owned value. 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> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

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

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

    fn in_current_span(self) -> Instrumented<Self>

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

    impl<T, U> Into<U> for T
    where diff --git a/pr/3262/docs/iroh_relay/protos/stun/enum.MessageClass.html b/pr/3262/docs/iroh_relay/protos/stun/enum.MessageClass.html index 631184288b..d9c4f59cfb 100644 --- a/pr/3262/docs/iroh_relay/protos/stun/enum.MessageClass.html +++ b/pr/3262/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,7 +27,7 @@ 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
    Source§

    impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh_relay/protos/stun/enum.StunAttribute.html b/pr/3262/docs/iroh_relay/protos/stun/enum.StunAttribute.html index 40d2a11c03..5114434ca9 100644 --- a/pr/3262/docs/iroh_relay/protos/stun/enum.StunAttribute.html +++ b/pr/3262/docs/iroh_relay/protos/stun/enum.StunAttribute.html @@ -1,4 +1,4 @@ -StunAttribute in iroh_relay::protos::stun - Rust
    iroh_relay::protos::stun

    Enum StunAttribute

    pub enum StunAttribute {
    +StunAttribute in iroh_relay::protos::stun - Rust
    iroh_relay::protos::stun

    Enum StunAttribute

    pub enum StunAttribute {
     
    Show 16 variants Unknown(Unknown), AlternateServer(AlternateServer), ErrorCode(ErrorCode), @@ -126,7 +126,7 @@ ) -> TaggedParser<'a, Implicit, Self, E>

    Source§

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

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

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

    Source§

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

    Mutably borrows from an owned value. Read more
    Source§

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

    Source§

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

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

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

    Source§

    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 diff --git a/pr/3262/docs/iroh_relay/protos/stun/struct.MessageDecoder.html b/pr/3262/docs/iroh_relay/protos/stun/struct.MessageDecoder.html index 2d1af8d052..8db0ca08ed 100644 --- a/pr/3262/docs/iroh_relay/protos/stun/struct.MessageDecoder.html +++ b/pr/3262/docs/iroh_relay/protos/stun/struct.MessageDecoder.html @@ -1,4 +1,4 @@ -MessageDecoder in iroh_relay::protos::stun - Rust
    iroh_relay::protos::stun

    Struct MessageDecoder

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

    Class used to decode STUN messages

    +MessageDecoder in iroh_relay::protos::stun - Rust
    iroh_relay::protos::stun

    Struct MessageDecoder

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

    Class used to decode STUN messages

    Implementations§

    §

    impl MessageDecoder

    pub fn decode( &self, buffer: &[u8], @@ -22,7 +22,7 @@ or an error describing the problem if the message could not be decoded.

    ) -> TaggedParser<'a, Implicit, Self, E>

    Source§

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

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

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

    Source§

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

    Mutably borrows from an owned value. Read more
    Source§

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

    Source§

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

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> DynClone 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.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an diff --git a/pr/3262/docs/iroh_relay/protos/stun/struct.StunDecodeError.html b/pr/3262/docs/iroh_relay/protos/stun/struct.StunDecodeError.html index 23852e4f0d..114e4690ac 100644 --- a/pr/3262/docs/iroh_relay/protos/stun/struct.StunDecodeError.html +++ b/pr/3262/docs/iroh_relay/protos/stun/struct.StunDecodeError.html @@ -1,6 +1,9 @@ -StunDecodeError in iroh_relay::protos::stun - Rust
    iroh_relay::protos::stun

    Struct StunDecodeError

    pub struct StunDecodeError(pub StunErrorLevel);
    Expand description

    Describes an error decoding a StunMessage

    +StunDecodeError in iroh_relay::protos::stun - Rust
    iroh_relay::protos::stun

    Struct StunDecodeError

    pub struct StunDecodeError(pub StunErrorLevel);
    Expand description

    Describes an error decoding a StunMessage

    Tuple Fields§

    §0: StunErrorLevel

    Trait Implementations§

    §

    impl Debug for StunDecodeError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for StunDecodeError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for StunDecodeError

    1.30.0 · Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where + T: '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 +receivers.
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( self, @@ -9,7 +12,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: ?Sized,
    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. 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> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where diff --git a/pr/3262/docs/iroh_relay/protos/stun/struct.TransactionId.html b/pr/3262/docs/iroh_relay/protos/stun/struct.TransactionId.html index e6ce9df9af..1207b2b501 100644 --- a/pr/3262/docs/iroh_relay/protos/stun/struct.TransactionId.html +++ b/pr/3262/docs/iroh_relay/protos/stun/struct.TransactionId.html @@ -1,4 +1,4 @@ -TransactionId in iroh_relay::protos::stun - Rust
    iroh_relay::protos::stun

    Struct TransactionId

    pub struct TransactionId(/* private fields */);
    Expand description

    The transaction ID is a 96-bit identifier, used to uniquely identify +TransactionId in iroh_relay::protos::stun - Rust

    iroh_relay::protos::stun

    Struct TransactionId

    pub struct TransactionId(/* private fields */);
    Expand description

    The transaction ID is a 96-bit identifier, used to uniquely identify STUN transactions. It primarily serves to correlate requests with responses, though it also plays a small role in helping to prevent certain types of attacks. The server also uses the transaction ID as @@ -1169,7 +1169,7 @@ 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.
    Source§

    impl<T> DynClone for T
    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 diff --git a/pr/3262/docs/iroh_relay/quic/struct.QuicClient.html b/pr/3262/docs/iroh_relay/quic/struct.QuicClient.html index f24a546bbd..4ff0547439 100644 --- a/pr/3262/docs/iroh_relay/quic/struct.QuicClient.html +++ b/pr/3262/docs/iroh_relay/quic/struct.QuicClient.html @@ -1,4 +1,4 @@ -QuicClient in iroh_relay::quic - Rust
    iroh_relay::quic

    Struct QuicClient

    Source
    pub struct QuicClient { /* private fields */ }
    Expand description

    Handles the client side of QUIC address discovery.

    +QuicClient in iroh_relay::quic - Rust
    iroh_relay::quic

    Struct QuicClient

    Source
    pub struct QuicClient { /* private fields */ }
    Expand description

    Handles the client side of QUIC address discovery.

    Implementations§

    Source§

    impl QuicClient

    Source

    pub fn new(ep: Endpoint, client_config: ClientConfig) -> Result<Self>

    Create a new QuicClient to handle the client side of QUIC address discovery.

    Source

    pub async fn get_addr_and_latency( @@ -19,7 +19,7 @@ and estimated latency of the connection.

    tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. 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> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where diff --git a/pr/3262/docs/iroh_relay/server/enum.Access.html b/pr/3262/docs/iroh_relay/server/enum.Access.html index d8a968b01b..8afd6443bd 100644 --- a/pr/3262/docs/iroh_relay/server/enum.Access.html +++ b/pr/3262/docs/iroh_relay/server/enum.Access.html @@ -1,11 +1,11 @@ -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.

    Variants§

    §

    Allow

    Access is allowed.

    §

    Deny

    Access is denied.

    -

    Trait Implementations§

    Source§

    impl Clone for Access

    Source§

    fn clone(&self) -> Access

    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 Access

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl PartialEq for Access

    Source§

    fn eq(&self, other: &Access) -> 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 Access

    Source§

    impl Eq for Access

    Source§

    impl StructuralPartialEq for Access

    Auto Trait Implementations§

    §

    impl Freeze for Access

    §

    impl RefUnwindSafe for Access

    §

    impl Send for Access

    §

    impl Sync for Access

    §

    impl Unpin for Access

    §

    impl UnwindSafe for Access

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl Clone for Access

    Source§

    fn clone(&self) -> Access

    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 Access

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl PartialEq for Access

    Source§

    fn eq(&self, other: &Access) -> 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 Access

    Source§

    impl Eq for Access

    Source§

    impl StructuralPartialEq for Access

    Auto Trait Implementations§

    §

    impl Freeze for Access

    §

    impl RefUnwindSafe for Access

    §

    impl Send for Access

    §

    impl Sync for Access

    §

    impl Unpin for Access

    §

    impl UnwindSafe for Access

    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( @@ -16,7 +16,7 @@ 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
    Source§

    impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh_relay/server/enum.AccessConfig.html b/pr/3262/docs/iroh_relay/server/enum.AccessConfig.html index b121baf85a..ecfb9fe6fc 100644 --- a/pr/3262/docs/iroh_relay/server/enum.AccessConfig.html +++ b/pr/3262/docs/iroh_relay/server/enum.AccessConfig.html @@ -1,11 +1,11 @@ -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>),
    +    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.

    Variants§

    §

    Everyone

    Everyone

    -
    §

    Restricted(Box<dyn Fn(NodeId) -> Boxed<Access> + Send + Sync + 'static>)

    Only nodes for which the function returns Access::Allow.

    -

    Implementations§

    Source§

    impl AccessConfig

    Source

    pub async fn is_allowed(&self, node: NodeId) -> bool

    Is this node allowed?

    -

    Trait Implementations§

    Source§

    impl Debug for AccessConfig

    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 +
    §

    Restricted(Box<dyn Fn(NodeId) -> Boxed<Access> + Send + Sync + 'static>)

    Only nodes for which the function returns Access::Allow.

    +

    Implementations§

    Source§

    impl AccessConfig

    Source

    pub async fn is_allowed(&self, node: NodeId) -> bool

    Is this node allowed?

    +

    Trait Implementations§

    Source§

    impl Debug for AccessConfig

    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 T: 'a,

    §

    fn implicit( @@ -15,7 +15,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. 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> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where diff --git a/pr/3262/docs/iroh_relay/server/enum.CertConfig.html b/pr/3262/docs/iroh_relay/server/enum.CertConfig.html index 0166ca8240..3841943b13 100644 --- a/pr/3262/docs/iroh_relay/server/enum.CertConfig.html +++ b/pr/3262/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>,
         },
    @@ -12,7 +12,7 @@
     
    §

    Manual

    Use a static TLS key and certificate chain.

    Fields

    §certs: Vec<CertificateDer<'static>>

    The TLS certificate chain.

    §

    Reloading

    Use a TLS key and certificate chain that can be reloaded.

    -

    Trait Implementations§

    Source§

    impl<EC: Debug, EA: Debug> Debug for CertConfig<EC, EA>

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<EC, EA> Freeze for CertConfig<EC, EA>

    §

    impl<EC, EA = EC> !RefUnwindSafe for CertConfig<EC, EA>

    §

    impl<EC, EA> Send for CertConfig<EC, EA>

    §

    impl<EC, EA = EC> !Sync for CertConfig<EC, EA>

    §

    impl<EC, EA> Unpin for CertConfig<EC, EA>

    §

    impl<EC, EA = EC> !UnwindSafe for CertConfig<EC, EA>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl<EC: Debug, EA: Debug> Debug for CertConfig<EC, EA>

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<EC, EA> Freeze for CertConfig<EC, EA>

    §

    impl<EC, EA = EC> !RefUnwindSafe for CertConfig<EC, EA>

    §

    impl<EC, EA> Send for CertConfig<EC, EA>

    §

    impl<EC, EA = EC> !Sync for CertConfig<EC, EA>

    §

    impl<EC, EA> Unpin for CertConfig<EC, EA>

    §

    impl<EC, EA = EC> !UnwindSafe for CertConfig<EC, EA>

    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,7 +22,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: ?Sized,
    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. 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> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where diff --git a/pr/3262/docs/iroh_relay/server/index.html b/pr/3262/docs/iroh_relay/server/index.html index baae0aa95b..5ab5dba9b2 100644 --- a/pr/3262/docs/iroh_relay/server/index.html +++ b/pr/3262/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/3262/docs/iroh_relay/server/struct.ClientRateLimit.html b/pr/3262/docs/iroh_relay/server/struct.ClientRateLimit.html index e95564c83e..f4915d44c1 100644 --- a/pr/3262/docs/iroh_relay/server/struct.ClientRateLimit.html +++ b/pr/3262/docs/iroh_relay/server/struct.ClientRateLimit.html @@ -1,10 +1,10 @@ -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.

    Fields§

    §bytes_per_second: NonZeroU32

    Max number of bytes per second to read from the client connection.

    §max_burst_bytes: Option<NonZeroU32>

    Max number of bytes to read in a single burst.

    -

    Trait Implementations§

    Source§

    impl Clone for ClientRateLimit

    Source§

    fn clone(&self) -> ClientRateLimit

    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 ClientRateLimit

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Copy for ClientRateLimit

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl Clone for ClientRateLimit

    Source§

    fn clone(&self) -> ClientRateLimit

    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 ClientRateLimit

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Copy for ClientRateLimit

    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 @@ ) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    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 diff --git a/pr/3262/docs/iroh_relay/server/struct.Limits.html b/pr/3262/docs/iroh_relay/server/struct.Limits.html index 7876163c24..43900a0a2f 100644 --- a/pr/3262/docs/iroh_relay/server/struct.Limits.html +++ b/pr/3262/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>,
    @@ -6,7 +6,7 @@
     

    Fields§

    §accept_conn_limit: Option<f64>

    Rate limit for accepting new connection. Unlimited if not set.

    §accept_conn_burst: Option<usize>

    Burst limit for accepting new connection. Unlimited if not set.

    §client_rx: Option<ClientRateLimit>

    Rate limits for incoming traffic from a client connection.

    -

    Trait Implementations§

    Source§

    impl Debug for Limits

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Limits

    Source§

    fn default() -> Limits

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Limits

    §

    impl RefUnwindSafe for Limits

    §

    impl Send for Limits

    §

    impl Sync for Limits

    §

    impl Unpin for Limits

    §

    impl UnwindSafe for Limits

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl Debug for Limits

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Limits

    Source§

    fn default() -> Limits

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Limits

    §

    impl RefUnwindSafe for Limits

    §

    impl Send for Limits

    §

    impl Sync for Limits

    §

    impl Unpin for Limits

    §

    impl UnwindSafe for Limits

    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( @@ -16,7 +16,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. 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> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where diff --git a/pr/3262/docs/iroh_relay/server/struct.Metrics.html b/pr/3262/docs/iroh_relay/server/struct.Metrics.html index d04f597594..407be0c7cf 100644 --- a/pr/3262/docs/iroh_relay/server/struct.Metrics.html +++ b/pr/3262/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, @@ -42,7 +42,7 @@
    §unique_client_keys: Counter

    Number of unique client keys per day

    §websocket_accepts: Counter

    Number of accepted websocket connections.

    §relay_accepts: Counter

    Number of accepted ‘iroh derp http’ connection upgrades

    -

    Trait Implementations§

    Source§

    impl Clone for Metrics

    Source§

    fn clone(&self) -> Metrics

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Metrics

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Metrics

    Source§

    fn default() -> Self

    Returns the “default value” for a type. 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<(&'static str, &dyn Metric)>

    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 register(&self, registry: &mut Registry)

    Available on crate feature metrics only.
    Registers all metric items in this metrics group to a [prometheus_client::registry::Registry].
    §

    fn iter(&self) -> MetricsIter<'_>

    Returns an iterator over all metric items with their values and helps.

    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 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.

    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( @@ -52,9 +52,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> DynClone for T
    where - T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. 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> 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 @@ -62,8 +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> 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 + 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/3262/docs/iroh_relay/server/struct.QuicConfig.html b/pr/3262/docs/iroh_relay/server/struct.QuicConfig.html index 6ec17d99f5..f7c11df209 100644 --- a/pr/3262/docs/iroh_relay/server/struct.QuicConfig.html +++ b/pr/3262/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.

    @@ -7,7 +7,7 @@
    §server_config: ServerConfig

    The TLS server configuration for the QUIC server.

    If this [rustls::ServerConfig] does not support TLS 1.3, the QUIC server will fail to spawn.

    -

    Trait Implementations§

    Source§

    impl Debug for QuicConfig

    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 +

    Trait Implementations§

    Source§

    impl Debug for QuicConfig

    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 T: 'a,

    §

    fn implicit( @@ -17,7 +17,7 @@ to spawn.

    tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. 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> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where diff --git a/pr/3262/docs/iroh_relay/server/struct.RelayConfig.html b/pr/3262/docs/iroh_relay/server/struct.RelayConfig.html index 9a4f1034b0..c5c3e8f429 100644 --- a/pr/3262/docs/iroh_relay/server/struct.RelayConfig.html +++ b/pr/3262/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,
    @@ -18,8 +18,8 @@ TLS.

    §limits: Limits

    Rate limits.

    §key_cache_capacity: Option<usize>

    Key cache capacity.

    §access: AccessConfig

    Access configuration.

    -

    Trait Implementations§

    Source§

    impl<EC: Debug, EA: Debug> Debug for RelayConfig<EC, EA>
    where - Option<TlsConfig<EC, EA>>: Debug,

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<EC, EA> Freeze for RelayConfig<EC, EA>

    §

    impl<EC, EA = EC> !RefUnwindSafe for RelayConfig<EC, EA>

    §

    impl<EC, EA> Send for RelayConfig<EC, EA>

    §

    impl<EC, EA = EC> !Sync for RelayConfig<EC, EA>

    §

    impl<EC, EA> Unpin for RelayConfig<EC, EA>

    §

    impl<EC, EA = EC> !UnwindSafe for RelayConfig<EC, EA>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl<EC: Debug, EA: Debug> Debug for RelayConfig<EC, EA>
    where + Option<TlsConfig<EC, EA>>: Debug,

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<EC, EA> Freeze for RelayConfig<EC, EA>

    §

    impl<EC, EA = EC> !RefUnwindSafe for RelayConfig<EC, EA>

    §

    impl<EC, EA> Send for RelayConfig<EC, EA>

    §

    impl<EC, EA = EC> !Sync for RelayConfig<EC, EA>

    §

    impl<EC, EA> Unpin for RelayConfig<EC, EA>

    §

    impl<EC, EA = EC> !UnwindSafe for RelayConfig<EC, EA>

    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,7 +29,7 @@ TLS.

    tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. 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> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where diff --git a/pr/3262/docs/iroh_relay/server/struct.ReloadingResolver.html b/pr/3262/docs/iroh_relay/server/struct.ReloadingResolver.html index 42801ac4e7..e5aa2a7cc9 100644 --- a/pr/3262/docs/iroh_relay/server/struct.ReloadingResolver.html +++ b/pr/3262/docs/iroh_relay/server/struct.ReloadingResolver.html @@ -1,4 +1,4 @@ -ReloadingResolver in iroh_relay::server - Rust
    iroh_relay::server

    Struct ReloadingResolver

    Source
    pub struct ReloadingResolver<Loader: Send + 'static> { /* private fields */ }
    Available on crate feature server only.
    Expand description

    A Certificate resolver that reloads the certificate every interval

    +ReloadingResolver in iroh_relay::server - Rust
    iroh_relay::server

    Struct ReloadingResolver

    Source
    pub struct ReloadingResolver<Loader: Send + 'static> { /* private fields */ }
    Available on crate feature server only.
    Expand description

    A Certificate resolver that reloads the certificate every interval

    Implementations§

    Source§

    impl<Loader> ReloadingResolver<Loader>
    where Loader: Send + Loader<Value = CertifiedKey> + 'static,

    Source

    pub async fn init(loader: Loader, interval: Duration) -> Result<Self>

    Perform the initial load and construct the ReloadingResolver.

    Source

    pub fn shutdown(self)

    Shutdown the resolver.

    @@ -19,7 +19,7 @@ ClientHello information. Read more
    u32, ) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: ?Sized,
    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. 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> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where diff --git a/pr/3262/docs/iroh_relay/server/struct.Server.html b/pr/3262/docs/iroh_relay/server/struct.Server.html index 13f1452f47..14fa0a5021 100644 --- a/pr/3262/docs/iroh_relay/server/struct.Server.html +++ b/pr/3262/docs/iroh_relay/server/struct.Server.html @@ -1,25 +1,25 @@ -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.

    -
    Source

    pub fn http_addr(&self) -> Option<SocketAddr>

    The socket address the HTTP server is listening on.

    -
    Source

    pub fn quic_addr(&self) -> Option<SocketAddr>

    The socket address the QUIC server is listening on.

    -
    Source

    pub fn stun_addr(&self) -> Option<SocketAddr>

    The socket address the STUN server is listening on.

    -
    Source

    pub fn certificates(&self) -> Option<Vec<CertificateDer<'static>>>

    The certificates chain if configured with manual TLS certificates.

    -
    Source

    pub fn https_url(&self) -> Option<RelayUrl>

    Available on crate feature test-utils only.

    Get the server’s https RelayUrl.

    +
    Source

    pub fn https_addr(&self) -> Option<SocketAddr>

    The socket address the HTTPS server is listening on.

    +
    Source

    pub fn http_addr(&self) -> Option<SocketAddr>

    The socket address the HTTP server is listening on.

    +
    Source

    pub fn quic_addr(&self) -> Option<SocketAddr>

    The socket address the QUIC server is listening on.

    +
    Source

    pub fn stun_addr(&self) -> Option<SocketAddr>

    The socket address the STUN server is listening on.

    +
    Source

    pub fn certificates(&self) -> Option<Vec<CertificateDer<'static>>>

    The certificates chain if configured with manual TLS certificates.

    +
    Source

    pub fn https_url(&self) -> Option<RelayUrl>

    Available on crate feature test-utils only.

    Get the server’s https [RelayUrl].

    This uses Self::https_addr so it’s mostly useful for local development.

    -
    Source

    pub fn http_url(&self) -> Option<RelayUrl>

    Available on crate feature test-utils only.

    Get the server’s http RelayUrl.

    +
    Source

    pub fn http_url(&self) -> Option<RelayUrl>

    Available on crate feature test-utils only.

    Get the server’s http [RelayUrl].

    This uses Self::http_addr so it’s mostly useful for local development.

    -
    Source

    pub fn metrics(&self) -> &RelayMetrics

    Returns the metrics collected in the relay server.

    -

    Trait Implementations§

    Source§

    impl Debug for Server

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    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 +

    Source

    pub fn metrics(&self) -> &RelayMetrics

    Returns the metrics collected in the relay server.

    +

    Trait Implementations§

    Source§

    impl Debug for Server

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    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 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,7 +29,7 @@ case there is an error in the server before it is shut down.

    tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. 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> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where diff --git a/pr/3262/docs/iroh_relay/server/struct.ServerConfig.html b/pr/3262/docs/iroh_relay/server/struct.ServerConfig.html index af8d5b7cf0..2d8099e278 100644 --- a/pr/3262/docs/iroh_relay/server/struct.ServerConfig.html +++ b/pr/3262/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>,
    @@ -10,8 +10,8 @@ If not used dummy ones need to be provided, e.g. ServerConfig::<(), ()&
     
    §stun: Option<StunConfig>

    Configuration for the STUN server, disabled if None.

    §quic: Option<QuicConfig>

    Configuration for the QUIC server, disabled if None.

    §metrics_addr: Option<SocketAddr>
    Available on crate feature metrics only.

    Socket to serve metrics on.

    -

    Trait Implementations§

    Source§

    impl<EC: Debug, EA: Debug> Debug for ServerConfig<EC, EA>
    where - Option<RelayConfig<EC, EA>>: Debug,

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<EC: Default + Debug, EA: Default + Debug> Default for ServerConfig<EC, EA>

    Source§

    fn default() -> ServerConfig<EC, EA>

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    §

    impl<EC, EA> Freeze for ServerConfig<EC, EA>

    §

    impl<EC, EA = EC> !RefUnwindSafe for ServerConfig<EC, EA>

    §

    impl<EC, EA> Send for ServerConfig<EC, EA>

    §

    impl<EC, EA = EC> !Sync for ServerConfig<EC, EA>

    §

    impl<EC, EA> Unpin for ServerConfig<EC, EA>

    §

    impl<EC, EA = EC> !UnwindSafe for ServerConfig<EC, EA>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl<EC: Debug, EA: Debug> Debug for ServerConfig<EC, EA>
    where + Option<RelayConfig<EC, EA>>: Debug,

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<EC: Default + Debug, EA: Default + Debug> Default for ServerConfig<EC, EA>

    Source§

    fn default() -> ServerConfig<EC, EA>

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    §

    impl<EC, EA> Freeze for ServerConfig<EC, EA>

    §

    impl<EC, EA = EC> !RefUnwindSafe for ServerConfig<EC, EA>

    §

    impl<EC, EA> Send for ServerConfig<EC, EA>

    §

    impl<EC, EA = EC> !Sync for ServerConfig<EC, EA>

    §

    impl<EC, EA> Unpin for ServerConfig<EC, EA>

    §

    impl<EC, EA = EC> !UnwindSafe for ServerConfig<EC, EA>

    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( @@ -21,7 +21,7 @@ If not used dummy ones need to be provided, e.g. ServerConfig::<(), ()& tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. 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> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where diff --git a/pr/3262/docs/iroh_relay/server/struct.StunConfig.html b/pr/3262/docs/iroh_relay/server/struct.StunConfig.html index 5e318ad50a..8b5b3f3d35 100644 --- a/pr/3262/docs/iroh_relay/server/struct.StunConfig.html +++ b/pr/3262/docs/iroh_relay/server/struct.StunConfig.html @@ -1,9 +1,9 @@ -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.

    Normally you’d chose port 3478, see crate::defaults::DEFAULT_STUN_PORT.

    -

    Trait Implementations§

    Source§

    impl Debug for StunConfig

    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 +

    Trait Implementations§

    Source§

    impl Debug for StunConfig

    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 T: 'a,

    §

    fn implicit( @@ -13,7 +13,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. 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> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where diff --git a/pr/3262/docs/iroh_relay/server/struct.StunMetrics.html b/pr/3262/docs/iroh_relay/server/struct.StunMetrics.html index b94bebb4b4..48bc2bda62 100644 --- a/pr/3262/docs/iroh_relay/server/struct.StunMetrics.html +++ b/pr/3262/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,
    @@ -10,7 +10,7 @@
     
    §ipv6_success: Counter

    Number of successful ipv6 STUN requests served.

    §bad_requests: Counter

    Number of bad requests made to the STUN endpoint.

    §failures: Counter

    Number of STUN requests that end in failure.

    -

    Trait Implementations§

    Source§

    impl Clone for StunMetrics

    Source§

    fn clone(&self) -> StunMetrics

    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 StunMetrics

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for StunMetrics

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Iterable for StunMetrics

    Source§

    fn field_count(&self) -> usize

    Returns the number of fields in the struct.
    Source§

    fn field_ref(&self, n: usize) -> Option<(&'static str, &dyn Metric)>

    Returns the field name and dyn reference to the field.
    Source§

    impl MetricsGroup for StunMetrics

    Source§

    fn name(&self) -> &'static str

    Returns the name of this metrics group.
    §

    fn register(&self, registry: &mut Registry)

    Available on crate feature metrics only.
    Registers all metric items in this metrics group to a [prometheus_client::registry::Registry].
    §

    fn iter(&self) -> MetricsIter<'_>

    Returns an iterator over all metric items with their values and helps.

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl Debug for StunMetrics

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for StunMetrics

    Source§

    fn default() -> StunMetrics

    Returns the “default value” for a type. Read more
    Source§

    impl Iterable for StunMetrics

    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 StunMetrics

    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.

    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,9 +20,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> DynClone for T
    where - T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. 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> 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 @@ -30,8 +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> 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 + 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/3262/docs/iroh_relay/server/struct.TlsConfig.html b/pr/3262/docs/iroh_relay/server/struct.TlsConfig.html index 1a70e8aaf8..e02e903b57 100644 --- a/pr/3262/docs/iroh_relay/server/struct.TlsConfig.html +++ b/pr/3262/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>,
    @@ -13,8 +13,8 @@ this is served on the §quic_bind_addr: SocketAddr

    The socket address on which to server the QUIC server is QUIC is enabled.

    §cert: CertConfig<EC, EA>

    Mode for getting a cert.

    §server_config: ServerConfig

    The server configuration.

    -

    Trait Implementations§

    Source§

    impl<EC: Debug, EA: Debug> Debug for TlsConfig<EC, EA>
    where - CertConfig<EC, EA>: Debug,

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<EC, EA> Freeze for TlsConfig<EC, EA>

    §

    impl<EC, EA = EC> !RefUnwindSafe for TlsConfig<EC, EA>

    §

    impl<EC, EA> Send for TlsConfig<EC, EA>

    §

    impl<EC, EA = EC> !Sync for TlsConfig<EC, EA>

    §

    impl<EC, EA> Unpin for TlsConfig<EC, EA>

    §

    impl<EC, EA = EC> !UnwindSafe for TlsConfig<EC, EA>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl<EC: Debug, EA: Debug> Debug for TlsConfig<EC, EA>
    where + CertConfig<EC, EA>: Debug,

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<EC, EA> Freeze for TlsConfig<EC, EA>

    §

    impl<EC, EA = EC> !RefUnwindSafe for TlsConfig<EC, EA>

    §

    impl<EC, EA> Send for TlsConfig<EC, EA>

    §

    impl<EC, EA = EC> !Sync for TlsConfig<EC, EA>

    §

    impl<EC, EA> Unpin for TlsConfig<EC, EA>

    §

    impl<EC, EA = EC> !UnwindSafe for TlsConfig<EC, EA>

    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,7 +24,7 @@ this is served on the u32, ) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. 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> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where diff --git a/pr/3262/docs/iroh_relay/struct.PingTracker.html b/pr/3262/docs/iroh_relay/struct.PingTracker.html index 5e7233a92e..d3a3af93e6 100644 --- a/pr/3262/docs/iroh_relay/struct.PingTracker.html +++ b/pr/3262/docs/iroh_relay/struct.PingTracker.html @@ -1,4 +1,4 @@ -PingTracker in iroh_relay - Rust
    iroh_relay

    Struct PingTracker

    Source
    pub struct PingTracker { /* private fields */ }
    Expand description

    Tracks pings on a single relay connection.

    +PingTracker in iroh_relay - Rust
    iroh_relay

    Struct PingTracker

    Source
    pub struct PingTracker { /* private fields */ }
    Expand description

    Tracks pings on a single relay connection.

    Only the last ping needs is useful, any previously sent ping is forgotten and ignored.

    Implementations§

    Source§

    impl PingTracker

    Source

    pub fn new(default_timeout: Duration) -> Self

    Creates a new ping tracker, setting the ping timeout for pings.

    Source

    pub fn default_timeout(&self) -> Duration

    Returns the current timeout set for pings.

    @@ -18,7 +18,7 @@ any pong however.

    tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: ?Sized,
    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. 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> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where diff --git a/pr/3262/docs/iroh_relay/struct.RelayMap.html b/pr/3262/docs/iroh_relay/struct.RelayMap.html index f0cd1d0e4d..18d945c748 100644 --- a/pr/3262/docs/iroh_relay/struct.RelayMap.html +++ b/pr/3262/docs/iroh_relay/struct.RelayMap.html @@ -1,16 +1,16 @@ -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.

    +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 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.

    +
    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.

    +
    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. @@ -30,7 +30,7 @@ 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
    Source§

    impl<T> DynClone 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 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 diff --git a/pr/3262/docs/iroh_relay/struct.RelayNode.html b/pr/3262/docs/iroh_relay/struct.RelayNode.html index 1a4619f478..7ae790cc31 100644 --- a/pr/3262/docs/iroh_relay/struct.RelayNode.html +++ b/pr/3262/docs/iroh_relay/struct.RelayNode.html @@ -1,11 +1,11 @@ -RelayNode in iroh_relay - Rust
    iroh_relay

    Struct RelayNode

    Source
    pub struct RelayNode {
    -    pub url: RelayUrl,
    +RelayNode in iroh_relay - Rust
    iroh_relay

    Struct RelayNode

    Source
    pub struct RelayNode {
    +    pub url: RelayUrl,
         pub stun_only: bool,
         pub stun_port: u16,
         pub quic: Option<RelayQuicConfig>,
     }
    Expand description

    Information on a specific relay server.

    Includes the Url where it can be dialed.

    -

    Fields§

    §url: RelayUrl

    The RelayUrl where this relay server can be dialed.

    +

    Fields§

    §url: RelayUrl

    The [RelayUrl] where this relay server can be dialed.

    §stun_only: bool

    Whether this relay server should only be used for STUN requests.

    This essentially allows you to use a normal STUN server as a relay node, no relay functionality is used.

    @@ -36,7 +36,7 @@ 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.
    Source§

    impl<T> DynClone for T
    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 diff --git a/pr/3262/docs/iroh_relay/struct.RelayQuicConfig.html b/pr/3262/docs/iroh_relay/struct.RelayQuicConfig.html index dccdca3b30..6e3fbd0cf9 100644 --- a/pr/3262/docs/iroh_relay/struct.RelayQuicConfig.html +++ b/pr/3262/docs/iroh_relay/struct.RelayQuicConfig.html @@ -1,4 +1,4 @@ -RelayQuicConfig in iroh_relay - Rust
    iroh_relay

    Struct RelayQuicConfig

    Source
    pub struct RelayQuicConfig {
    +RelayQuicConfig in iroh_relay - Rust
    iroh_relay

    Struct RelayQuicConfig

    Source
    pub struct RelayQuicConfig {
         pub port: u16,
     }
    Expand description

    Configuration for speaking to the QUIC endpoint on the relay server to do QUIC address discovery.

    @@ -25,7 +25,7 @@ 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.
    Source§

    impl<T> DynClone for T
    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 diff --git a/pr/3262/docs/search-index.js b/pr/3262/docs/search-index.js index 0737175733..c16ebaebed 100644 --- a/pr/3262/docs/search-index.js +++ b/pr/3262/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":"PPEPGTFIFPFEFGFFFPNNNNNNNNNNNNNNNNNNNNNNNNNN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NNNNNNNNNNNNOONNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNOOFFEFFNNNNOOOOOOOOONNNNNNNNNNNOONNNNNNNNNNNNOOONNNNNNNNNNNNOOOONNNNONNNNNNNNNNONNNNNNNNONNNNNNNNNOOOONNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNOOOOOOONNNNOFFFFFFFNNNNNNNNHNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNOONNNNNNNNNNNNNNOOOOOONOONNOOONNOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNSTFFKFFNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNONNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNNNNNFKFFNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFNNNNNNNNNNNNNNNNNNNNOONONHHHNNNNNNNNNFFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["Decode","DecodeInvalidLength","Endpoint","Key","KeyParsingError","LENGTH","NodeAddr","NodeId","PublicKey","Relay","RelayMap","RelayMode","RelayNode","RelayProtocol","RelayUrl","RelayUrlParseError","SecretKey","Websocket","__clone_box","","","","","","","as_bytes","as_ref","borrow","","","","","","","","","","borrow_mut","","","","","","","","","clone","","","","","","","clone_into","","","","","","","clone_to_uninit","","","","","","","cmp","","","","compare","","","","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","borrow","","","borrow_mut","","","clone","clone_into","clone_to_uninit","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","deref","deref_mut","drop","fmt","from","init","into","n0_dns","new","resolve","try_from","try_into","type_id","vzip","MdnsDiscovery","NAME","borrow","borrow_mut","deref","deref_mut","drop","fmt","from","init","into","new","publish","resolve","subscribe","try_from","try_into","type_id","vzip","DEFAULT_PKARR_TTL","DEFAULT_REPUBLISH_INTERVAL","N0_DNS_PKARR_RELAY_PROD","N0_DNS_PKARR_RELAY_STAGING","PkarrPublisher","PkarrRelayClient","PkarrResolver","__clone_box","","","borrow","","","borrow_mut","","","clone","","","clone_into","","","clone_to_uninit","","","deref","","","deref_mut","","","dht","drop","","","fmt","","","from","","","from_ref","","","init","","","into","","","n0_dns","","new","","","publish","","resolve","","to_owned","","","try_from","","","try_into","","","type_id","","","update_node_data","vzip","","","with_options","Builder","DhtDiscovery","__clone_box","borrow","","borrow_mut","","build","builder","client","clone","clone_into","clone_to_uninit","default","","deref","","deref_mut","","dht","drop","","fmt","","from","","from_ref","include_direct_addresses","init","","initial_publish_delay","into","","n0_dns_pkarr_relay","pkarr_relay","publish","republish_delay","resolve","secret_key","to_owned","try_from","","try_into","","ttl","type_id","","vzip","","PROVENANCE","StaticProvider","__clone_box","add_node_info","borrow","borrow_mut","clone","clone_into","clone_to_uninit","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","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","bind","bind_addr_v4","bind_addr_v6","black_hole_cooldown","black_holes_detected","borrow","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bound_sockets","build","builder","bytes","","","chunks","clear_discovery","clone","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_box","clone_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_to_uninit","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","close","","close_reason","closed","cmp","","","","code","compare","","","","congestion_controller_factory","congestion_events","congestion_state","conn_type","","connect","connect_with_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_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","","","","connection_became_direct","connection_handshake_success","conns_rx_ratelimited_total","default","","","","deref","","","","deref_mut","","","","disco_packets_dropped","disco_packets_recv","disco_packets_sent","disconnects","drop","","","","external_address_updated","field_count","","","field_ref","","","fmt","","","","frames_rx_ratelimited_total","from","","","","from_ref","","","","got_ping","groups","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","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","","","","","","default","","","","deref","","","","","","","deref_mut","","","","","","","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","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_ref","borrow","","","","borrow_mut","","","","clear_direct_addresses","clone","","","clone_into","","","clone_to_uninit","","","cmp","compare","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","","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","","deref","","deref_mut","","discovery","dns_resolver","drop","","fmt","","from","","init","","into","","nameserver","node_origin","on_node","pkarr_url","run","run_relay_server","run_relay_server_with","run_relay_server_with_stun","run_with_origin","try_from","","try_into","","type_id","","vzip","","Disconnected","WatchInitializedFut","WatchNextFut","Watchable","Watcher","WatcherStream","__clone_box","","","borrow","","","","","","borrow_mut","","","","","","clone","","","clone_into","","","clone_to_uninit","","","default","deref","","","","","","deref_mut","","","","","","drop","","","","","","fmt","","","","","","","from","","","","","","from_ref","","","get","","init","","","","","","initialized","into","","","","","","into_future","","new","poll","","poll_next","ratelimit_stream","ratelimit_stream_with_jitter","set","stream","stream_updates_only","to_owned","","","to_string","try_from","","","","","","try_into","","","","","","try_poll","","try_poll_next","type_id","","","","","","updated","vzip","","","","","","watch"],"q":[[0,"iroh"],[312,"iroh::defaults"],[319,"iroh::defaults::prod"],[326,"iroh::defaults::staging"],[331,"iroh::discovery"],[411,"iroh::discovery::dns"],[430,"iroh::discovery::mdns"],[449,"iroh::discovery::pkarr"],[525,"iroh::discovery::pkarr::dht"],[574,"iroh::discovery::static_provider"],[604,"iroh::dns"],[643,"iroh::endpoint"],[2215,"iroh::endpoint::Source"],[2217,"iroh::metrics"],[2396,"iroh::net_report"],[2591,"iroh::node_info"],[2725,"iroh::protocol"],[2795,"iroh::test_utils"],[2834,"iroh::watchable"],[2958,"dyn_clone::sealed"],[2959,"iroh_base::key"],[2960,"iroh_base::node_addr"],[2961,"iroh_base::relay_url"],[2962,"iroh_relay::relay_map"],[2963,"core::cmp"],[2964,"core::result"],[2965,"serde::de"],[2966,"core::net::socket_addr"],[2967,"core::iter::traits::iterator"],[2968,"core::fmt"],[2969,"alloc::string"],[2970,"ed25519_dalek::verifying"],[2971,"signature::error"],[2972,"data_encoding"],[2973,"ed25519_dalek::signing"],[2974,"iroh_relay::node_info"],[2975,"iroh::magicsock::node_map::node_state"],[2976,"iroh_base::ticket::node"],[2977,"core::option"],[2978,"url"],[2979,"url::parser"],[2980,"anyhow"],[2981,"alloc::sync"],[2982,"core::convert"],[2983,"core::iter::traits::collect"],[2984,"rand_core"],[2985,"core::hash"],[2986,"http::header::value"],[2987,"serde::ser"],[2988,"ed25519"],[2989,"core::error"],[2990,"core::any"],[2991,"alloc::boxed"],[2992,"alloc::vec"],[2993,"futures_lite::stream"],[2994,"pkarr::signed_packet"],[2995,"core::time"],[2996,"pkarr::client"],[2997,"iroh_relay::dns"],[2998,"hickory_proto::runtime::tokio_runtime"],[2999,"hickory_resolver::name_server::connection_provider"],[3000,"hickory_resolver::resolver"],[3001,"core::net::ip_addr"],[3002,"iroh_quinn_proto::connection"],[3003,"iroh_quinn::connection"],[3004,"iroh_quinn_proto::config"],[3005,"iroh_quinn_proto::config::transport"],[3006,"iroh_quinn_proto::varint"],[3007,"core::ops::function"],[3008,"core::marker"],[3009,"iroh_quinn_proto::crypto"],[3010,"iroh_quinn_proto::congestion"],[3011,"std::time"],[3012,"iroh_quinn::recv_stream"],[3013,"iroh_quinn::send_stream"],[3014,"iroh_quinn_proto::connection::stats"],[3015,"iroh_quinn_proto::connection::streams::send"],[3016,"iroh_quinn_proto::connection::streams"],[3017,"iroh::magicsock::node_map"],[3018,"iroh_quinn_proto::frame"],[3019,"iroh_quinn_proto"],[3020,"iroh::magicsock"],[3021,"iroh_quinn_proto::coding"],[3022,"bytes::buf::buf_impl"],[3023,"alloc::collections::btree::set"],[3024,"futures_core::stream"],[3025,"bytes::buf::buf_mut"],[3026,"iroh_quinn_proto::connection::assembler"],[3027,"iroh_quinn::incoming"],[3028,"iroh_quinn_proto::connection::streams::recv"],[3029,"ring::error::unspecified"],[3030,"iroh_quinn_proto::transport_parameters"],[3031,"iroh_quinn_proto::shared"],[3032,"iroh_quinn_proto::connection::paths"],[3033,"core::pin"],[3034,"core::task::wake"],[3035,"core::task::poll"],[3036,"std::io::error"],[3037,"tokio::io::read_buf"],[3038,"bytes::bytes"],[3039,"rustls_pki_types"],[3040,"rustls::error"],[3041,"iroh_metrics::iterable"],[3042,"iroh_metrics::metrics"],[3043,"iroh_metrics::base"],[3044,"netwatch::ip_family"],[3045,"tokio_util::sync::cancellation_token"],[3046,"netwatch::udp"],[3047,"iroh::net_report::metrics"],[3048,"iroh::net_report::reportgen"],[3049,"iroh::net_report::options::imp"],[3050,"portmapper"],[3051,"futures_lite::future"],[3052,"core::clone"],[3053,"iroh::test_utils::dns_and_pkarr_servers"],[3054,"iroh_relay::server"],[3055,"core::default"],[3056,"governor::state::direct"],[3057,"governor::state"],[3058,"governor::state::direct::streams"],[3059,"governor::clock::with_std"],[3060,"governor::middleware"],[3061,"governor::jitter"],[3062,"iroh_relay"],[3063,"iroh_relay::defaults"],[3064,"iroh::net_report::stun_utils"]],"i":"Cd0`0`h```Ah```````01AbAdAf3AjAl66667432Cf62178543062175436217543621754362174317431262`78543306217854306217543144``7854306212`7436217774443336662221117788554330062211777888555444444330062175247543621753275273785430621785430621422``44`267431`7514457543158011`57543621785302177778554306217854306217854306216127785430621`44``````````````````````````FlFh10G`210222Db23321321`3212321132213232132133`3303`3Fj303`034424324324324432```Hd000000000000000``Hf0000000000000000```````HhHjHl210210210210210210210`21021021021021021021210201021021021021022102``If0Id10010111101010010101010100100010101101001010Ij`0000000000000000000000000000```Il00000000000000000000000000000000000A@b0`````A@jOj`K``333Ob`1`MnNd````3`Mj2N`2Nf```````A@n0Of```419```;;;Nb``<<7``><3``>``::1Ml``3```4=`>`:<``??=````59``22?<80``<`=`28``<````:79680:73961NhNjNlNnO`ObOdDd56024NnO`OfOhKjMbA@jL`A@l`AEbAE`KfKdAEjABfMjABhAAlMlMnN`NbAAnNdNfKnKlABbNhNjNlNnO`ObOdDdOfOhOjK`KjMbKhABdABjABlOlOnA@`A@bA@dA@fA@hA@jL`GlA@lJjJlABnJnAC`KbA@nAEbAE`KfKdAEjABfMjABhAAlMlMnN`NbAAnNdNfKnKlABbNhNjNlNnO`ObOdDdOfOhOjK`KjMbKhABdABjABlOlOnA@`A@bA@dA@fA@hA@jL`GlA@lJjJlABnJnAC`KbA@nObOdDdOfOjA@d>?>???>?>AEbAE`KfKdAEjABfMjABhAAl0MlMnN`NbAAn0NdNfKnKlABbNhNjNlNnO`ObOdDdOfOhOjK`KjMbKhABdABjABlOlOnA@`A@bA@dA@fA@hA@jL`GlA@lJjJlABnJnAC`KbA@nKnKlA@bA@dMjMlMnN`NbNdNf9ABbO`ObOdDdOfOhOjK`ABdOlOnA@`A@bA@dA@fA@hA@jA@nMj00Ml00Mn00N`00Nb00Nd00Nf00Kl00ABb00O`00Ob00Od00Dd00Of00Oh00Oj00K`00ABd00Ol00On00A@`00A@b00A@d00A@f00A@h00A@j00A@n0087KbAAnABfMj0ABh0AAlMl0Mn0N`0Nb08Nd0Nf0KnKl0ABbNhNjNlNnO`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dABjABlOlOnA@`A@bA@dA@fA@hA@jL`GlA@lJjJlABnJnAC`KbA@nMhKh09AAn0000AMfAMh`````AGhAGjAGlADl12222222232132103210113210321032102213210321032101111321033213213210132103210103210321030333210022222211133032222222222222212222222111222222213210321032103210112333332101```````AHlAHnAI`AIbAIdAHdAHb6`65432016543201356543216543216543216432654320165432014654320153233322266654332016543201654321033344433654320165432015335332336033341333666666644654321365432016543201654320136543201`Hb`````Gj1Db1212AIh12301223123123133122301123011223012312223331112330012230111111123131AIn43412341223224333234224120344123412341233412323232````AJlAJhAJ`AJd23023023323232302302302303023023230230230212132032302302302302``AKdAKb10101000101010101000000```010101010``````AKjAA`AKl21AL`ALb2ALd5421305435435435542130542130542130542130054213054354542130454213021521333544543054213054213021354213045421305","f":"``````````````````{{bd}f}000000{{{b{h}}}{{b{{l{j}}}}}}{{{b{h}}}{{b{{n{j}}}}}}1{b{{b{c}}}{}}00000000{{{b{A`}}}{{b{A`c}}}{}}00000000{{{b{h}}}h}{{{b{Ab}}}Ab}{{{b{Ad}}}Ad}{{{b{Af}}}Af}{{{b{Ah}}}Ah}{{{b{Aj}}}Aj}{{{b{Al}}}Al}{{b{b{A`c}}}f{}}000000{{bj}f}000000{{{b{h}}{b{h}}}An}{{{b{Ad}}{b{Ad}}}An}{{{b{Af}}{b{Af}}}An}{{{b{Al}}{b{Al}}}An}{{b{b{c}}}An{}}000{{{b{Aj}}{b{Af}}}B`}{{}Ah}{{AfBb}Aj}`{Bd{{b{c}}}{}}000{{{b{Af}}}b}11111{Bd{{b{A`c}}}{}}00000000{c{{Bf{h}}}Bh}{c{{Bf{Ab}}}Bh}{c{{Bf{Ad}}}Bh}{c{{Bf{Af}}}Bh}{c{{Bf{Al}}}Bh}{{{b{Ad}}}{{`{{Bn{}{{Bj{{b{Bl}}}}}}}}}}```{Bdf}00000000{{}Aj}`{{{b{h}}{b{h}}}B`}{{{b{Ad}}{b{Ad}}}B`}{{{b{Af}}{b{Af}}}B`}{{{b{Ah}}{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}}{{{b{Kb}}}Nn}{{{b{A`AAl}}Kl}{{Bf{fOh}}}}`{{{b{A`AAn}}}{{Bf{{Dh{Kl}}Nf}}}}``{{{b{A`Kn}}Kl}{{b{A`Kn}}}}``{{{b{A`Kh}}{Eb{AFh}}}{{b{A`Kh}}}}{{{b{A`Kn}}AFj}{{b{A`Kn}}}}{L`L`}0{bc{}}0000000000000000000000000000000000{bCh}0000000000000000000{{{b{A`Kh}}{Eb{Lj}}}{{b{A`Kh}}}}`{{{b{A`Kh}}{Eb{Kn}}}{{b{A`Kh}}}}{{L`Kn}L`}{c{{Bf{e}}}{}{}}0000000000000000{Gf{{Bf{KlACl}}}}1{Bd{{Bf{KlACl}}}}{AFl{{Bf{KlACl}}}}3333333333333333333333333333333333333{{}{{Bf{c}}}{}}000000000000000000000000000000000000000000000000000000{{{AEd{{b{A`c}}}}{b{A`AEf}}}AEh{}}000000`{bFf}000000000000000000000000000000000000000000000000000000``{{{b{A`Mb}}Bb}{{b{A`Mb}}}}{{L`Hb}L`}`{{{b{A`Kh}}AFn}{{b{A`Kh}}}}{{}c{}}000000000000000000000000000000000000000000000000000000{{{b{Mh}}}Gf}{{{Eb{AD`}}}Kh}{{{Gd{AG`}}AGb}{{Bf{KhAGd}}}}{{A@l{Eb{Kn}}}A@l}{{{b{A`AAn}}{b{{n{j}}}}}{{Bf{BdNd}}}}{{{b{A`AAn}}{b{{n{j}}}}}{{Bf{fNd}}}}{{{b{A`AAn}}{b{A`{n{AFb}}}}}{{Bf{fNd}}}}{{{b{A`AAn}}AFb}{{Bf{fNd}}}}{{{b{A`AAn}}{b{A`{n{AFb}}}}}{{Bf{O`Nd}}}}```````{{bd}f}000`````````{b{{b{AGf}}}}00{b{{b{c}}}{}}000{{{b{A`}}}{{b{A`c}}}{}}000``{{{b{AGh}}}AGh}{{{b{AGj}}}AGj}{{{b{AGl}}}AGl}{{{b{ADl}}}ADl}{{b{b{A`c}}}f{}}000{{bj}f}000```{{}AGh}{{}AGj}{{}AGl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,"NodeAddr",0,2960],[5,"RelayUrl",0,2961],[6,"RelayProtocol",0],[5,"RelayMap",0,2962],[5,"RelayNode",0,2962],[6,"Ordering",2963],[1,"bool"],[1,"u16"],[1,"usize"],[6,"Result",2964,null,1],[10,"Deserializer",2965],[17,"Item"],[6,"SocketAddr",2966],[10,"Iterator",2967],[5,"Formatter",2968],[5,"Error",2968],[6,"KeyParsingError",0,2959],[5,"RelayUrlParseError",0,2961],[5,"String",2969],[5,"VerifyingKey",2970],[5,"Error",2971],[5,"DecodeError",2972],[5,"SigningKey",2973],[5,"NodeInfo",2591,2974],[5,"RemoteInfo",643,2975],[5,"NodeTicket",2976],[6,"Option",2977,null,1],[1,"tuple",null,null,1],[5,"Url",2978],[6,"ParseError",2979],[5,"Error",2980],[5,"Arc",2981,null,1],[10,"Into",2982],[10,"IntoIterator",2983],[1,"str"],[10,"CryptoRngCore",2984],[10,"Hasher",2985],[5,"HeaderValue",2986],[10,"Serializer",2987],[5,"Signature",2988],[10,"Error",2989],[5,"TypeId",2990],[5,"ConcurrentDiscovery",331],[10,"Discovery",331],[5,"DiscoveryItem",331],[8,"Result",2968],[5,"Lagged",331],[5,"Box",2991,null,1],[5,"Vec",2992],[1,"u64"],[8,"NodeId",0,2959],[5,"NodeData",2591,2974],[5,"Endpoint",643],[8,"Result",2980],[8,"Boxed",2993],[5,"UserData",2591,2974],[5,"DnsDiscovery",411],[5,"MdnsDiscovery",430],[5,"PkarrPublisher",449],[5,"PkarrResolver",449],[5,"PkarrRelayClient",449],[5,"SignedPacket",2994],[1,"u32"],[5,"Duration",2995],[5,"Builder",525],[5,"DhtDiscovery",525],[5,"PkarrClient",2996],[5,"StaticProvider",574],[5,"DnsResolver",604,2997],[5,"TokioRuntimeProvider",2998],[5,"GenericConnector",2999],[5,"Resolver",3000],[6,"IpAddr",3001],[10,"ToString",2969],[5,"TxtLookup",2997],[5,"Accept",643],[5,"Incoming",643],[5,"Connecting",643],[6,"ConnectionError",643,3002],[5,"Connection",643],[5,"AcceptBi",643,3003],[5,"AcceptUni",643,3003],[5,"ServerConfig",643,3004],[5,"AckFrequencyConfig",643,3005],[5,"VarInt",643,3006],[5,"TransportConfig",643,3005],[5,"Builder",643],[17,"Output"],[10,"FnOnce",3007],[10,"Send",3008],[10,"Sync",3008],[10,"HandshakeTokenKey",643,3009],[10,"AeadKey",643,3009],[5,"SocketAddrV4",2966],[5,"SocketAddrV6",2966],[5,"MtuDiscoveryConfig",643,3005],[10,"ControllerFactory",643,3010],[5,"Instant",3011],[10,"Controller",643,3010],[6,"SendDatagramError",643,3003],[6,"ReadToEndError",643,3012],[6,"ReadError",643,3012],[6,"ResetError",643,3012],[6,"ReadExactError",643,3012],[6,"WriteError",643,3013],[6,"StoppedError",643,3013],[5,"UdpStats",643,3014],[5,"FrameStats",643,3014],[5,"PathStats",643,3014],[5,"ConnectionStats",643,3014],[5,"Written",643,3015],[6,"ControlMsg",643,2975],[5,"DirectAddrInfo",643,2975],[6,"ConnectionType",643,2975],[5,"ClosedStream",643,3016],[6,"Source",643,3017],[5,"ConnectionClose",643,3018],[5,"ApplicationClose",643,3018],[5,"TransportError",643],[5,"TransportErrorCode",643],[5,"StreamId",643,3019],[5,"DirectAddr",643,3020],[6,"DirectAddrType",643,3020],[6,"PathSelection",643],[5,"ConnectOptions",643],[6,"RelayMode",643],[5,"Watcher",2834],[5,"UnexpectedEnd",3021],[10,"Buf",3022],[6,"Dir",3019],[5,"BTreeSet",3023],[10,"Stream",3024],[5,"RecvStream",643,3012],[5,"SendStream",643,3013],[10,"BufMut",3025],[5,"Chunk",643,3026],[5,"ExportKeyingMaterialError",643,3009],[5,"WeakConnectionHandle",643,3003],[5,"RetryError",643,3027],[5,"CryptoError",643,3009],[5,"UnsupportedVersion",643,3009],[5,"IncomingFuture",643],[5,"ZeroRttAccepted",643],[6,"ReadableError",3028],[6,"Close",3018],[5,"Unspecified",3029],[5,"InvalidFrame",3018],[6,"Error",3030],[5,"VarIntBoundsExceeded",3006],[10,"Any",2990],[10,"CryptoServerConfig",643],[5,"ConnectionId",3031],[5,"Keys",3009],[6,"Side",3019],[5,"Incoming",3027],[5,"IdleTimeout",3005],[5,"EndpointMetrics",2217],[5,"RttEstimator",3032],[5,"OpenBi",643,3003],[5,"OpenUni",643,3003],[5,"Pin",3033],[5,"Context",3034],[6,"Poll",3035],[5,"ReadDatagram",643,3003],[5,"Error",3036],[5,"ReadBuf",3037],[1,"i32"],[5,"Bytes",3038],[5,"TransportParameters",3030],[10,"Session",3009],[10,"TimeSource",3004],[1,"f32"],[1,"u128"],[5,"ValidationTokenConfig",3004],[5,"CertificateDer",3039],[6,"PrivateKeyDer",3039],[6,"Error",3040],[10,"Iterable",3041],[5,"PortmapMetrics",2217],[5,"MagicsockMetrics",2217],[5,"RelayMetrics",2217],[10,"Metric",3042],[10,"MetricsGroup",3043],[5,"Client",2396],[5,"Addr",2396],[6,"IpFamily",3044],[5,"CancellationToken",3045],[5,"UdpSocket",3046],[5,"Metrics",2396,3047],[5,"QuicConfig",2396,3048],[5,"Options",2396,3049],[5,"Report",2396],[5,"RelayLatencies",2396],[5,"Client",3050],[5,"MaxLengthExceededError",2591,2974],[6,"IrohAttr",2974],[5,"TxtAttrs",2974],[10,"NodeIdExt",2591,2974],[10,"ProtocolHandler",2725],[8,"Boxed",3051],[5,"RouterBuilder",2725],[10,"AsRef",2982],[5,"AccessLimit",2725],[10,"Clone",3052],[5,"Router",2725],[10,"Debug",2968],[10,"Fn",3007],[5,"DnsPkarrServer",2795,3053],[5,"CleanupDropGuard",2795],[5,"Server",3054],[5,"StunConfig",3054],[5,"Watchable",2834],[5,"WatcherStream",2834],[10,"Default",3055],[5,"WatchNextFut",2834],[5,"WatchInitializedFut",2834],[5,"Disconnected",2834],[10,"Eq",2963],[6,"NotKeyed",3056],[5,"RateLimiter",3057],[5,"RatelimitedStream",3058],[10,"DirectStateStore",3056],[10,"ReasonablyRealtime",3059],[10,"RateLimitingMiddleware",3060],[5,"Jitter",3061],[15,"Discovery",2215],[15,"NamedApp",2215]],"r":[[2,643],[4,2959],[6,2960],[7,2959],[8,2959],[10,2962],[11,643],[12,2962],[14,2961],[15,2961],[16,2959],[225,3062],[315,3063],[316,3063],[335,2974],[336,2974],[337,2974],[412,2997],[413,2997],[604,2997],[605,2997],[606,2997],[646,3003],[647,3003],[648,3005],[649,3009],[652,3018],[659,3026],[661,3016],[667,3018],[669,3002],[675,3014],[676,2975],[677,2975],[678,3010],[679,3010],[680,3009],[685,3020],[686,2975],[687,3020],[693,3009],[698,3014],[699,3009],[711,3005],[716,3003],[717,3003],[720,3014],[725,3003],[726,3012],[728,3012],[729,3012],[730,3012],[735,2975],[738,3012],[739,3027],[743,3003],[744,3013],[745,3004],[746,3017],[749,3013],[750,3019],[757,3005],[762,3014],[765,3009],[766,3006],[768,3003],[769,3013],[770,3015],[2398,3047],[2399,3049],[2400,3048],[2411,3064],[2591,2974],[2593,2974],[2594,2974],[2595,2974],[2596,2974],[2597,2974],[2796,3053]],"b":[[142,"impl-Display-for-PublicKey"],[143,"impl-Debug-for-PublicKey"],[144,"impl-Display-for-KeyParsingError"],[145,"impl-Debug-for-KeyParsingError"],[146,"impl-Display-for-SecretKey"],[147,"impl-Debug-for-SecretKey"],[149,"impl-Debug-for-RelayUrl"],[150,"impl-Display-for-RelayUrl"],[151,"impl-Display-for-RelayUrlParseError"],[152,"impl-Debug-for-RelayUrlParseError"],[154,"impl-Debug-for-RelayMap"],[155,"impl-Display-for-RelayMap"],[156,"impl-Debug-for-RelayNode"],[157,"impl-Display-for-RelayNode"],[162,"impl-From%3CError%3E-for-KeyParsingError"],[163,"impl-From%3CDecodeError%3E-for-KeyParsingError"],[165,"impl-From%3CSigningKey%3E-for-SecretKey"],[166,"impl-From%3C%5Bu8;+32%5D%3E-for-SecretKey"],[168,"impl-From%3CNodeInfo%3E-for-NodeAddr"],[169,"impl-From%3CRemoteInfo%3E-for-NodeAddr"],[170,"impl-From%3CPublicKey%3E-for-NodeAddr"],[171,"impl-From%3CNodeTicket%3E-for-NodeAddr"],[172,"impl-From%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[266,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey"],[268,"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey"],[365,"impl-Display-for-Lagged"],[366,"impl-Debug-for-Lagged"],[1410,"impl-Debug-for-SendDatagramError"],[1411,"impl-Display-for-SendDatagramError"],[1412,"impl-Debug-for-RetryError"],[1413,"impl-Display-for-RetryError"],[1415,"impl-Display-for-ReadToEndError"],[1416,"impl-Debug-for-ReadToEndError"],[1417,"impl-Debug-for-ReadError"],[1418,"impl-Display-for-ReadError"],[1419,"impl-Debug-for-ResetError"],[1420,"impl-Display-for-ResetError"],[1421,"impl-Display-for-ReadExactError"],[1422,"impl-Debug-for-ReadExactError"],[1424,"impl-Display-for-WriteError"],[1425,"impl-Debug-for-WriteError"],[1426,"impl-Display-for-StoppedError"],[1427,"impl-Debug-for-StoppedError"],[1429,"impl-Display-for-VarInt"],[1430,"impl-Debug-for-VarInt"],[1437,"impl-Debug-for-ControlMsg"],[1438,"impl-Display-for-ControlMsg"],[1441,"impl-Debug-for-ConnectionType"],[1442,"impl-Display-for-ConnectionType"],[1443,"impl-Display-for-ClosedStream"],[1444,"impl-Debug-for-ClosedStream"],[1445,"impl-Debug-for-Source"],[1446,"impl-Display-for-Source"],[1447,"impl-Debug-for-ConnectionError"],[1448,"impl-Display-for-ConnectionError"],[1455,"impl-Display-for-ConnectionClose"],[1456,"impl-Debug-for-ConnectionClose"],[1457,"impl-Display-for-ApplicationClose"],[1458,"impl-Debug-for-ApplicationClose"],[1459,"impl-Display-for-TransportError"],[1460,"impl-Debug-for-TransportError"],[1461,"impl-Display-for-TransportErrorCode"],[1462,"impl-Debug-for-TransportErrorCode"],[1463,"impl-Debug-for-StreamId"],[1464,"impl-Display-for-StreamId"],[1466,"impl-Display-for-DirectAddrType"],[1467,"impl-Debug-for-DirectAddrType"],[1497,"impl-From%3CResetError%3E-for-ReadError"],[1498,"impl-From%3CReadableError%3E-for-ReadError"],[1499,"impl-From%3CConnectionError%3E-for-ReadError"],[1506,"impl-From%3CConnectionError%3E-for-WriteError"],[1507,"impl-From%3CStoppedError%3E-for-WriteError"],[1508,"impl-From%3CClosedStream%3E-for-WriteError"],[1512,"impl-From%3Cu8%3E-for-VarInt"],[1514,"impl-From%3Cu16%3E-for-VarInt"],[1515,"impl-From%3Cu32%3E-for-VarInt"],[1516,"impl-From%3CStreamId%3E-for-VarInt"],[1530,"impl-From%3CTransportError%3E-for-ConnectionError"],[1531,"impl-From%3CClose%3E-for-ConnectionError"],[1542,"impl-From%3CInvalidFrame%3E-for-TransportError"],[1544,"impl-From%3CTransportErrorCode%3E-for-TransportError"],[1545,"impl-From%3CError%3E-for-TransportError"],[1823,"impl-RecvStream"],[1824,"impl-AsyncRead-for-RecvStream"],[1826,"impl-SendStream"],[1827,"impl-AsyncWrite-for-SendStream"],[1986,"impl-TryFrom%3Cu64%3E-for-VarInt"],[1988,"impl-TryFrom%3Cusize%3E-for-VarInt"],[1989,"impl-TryFrom%3Cu128%3E-for-VarInt"],[2486,"impl-Debug-for-Report"],[2487,"impl-Display-for-Report"],[2653,"impl-Display-for-UserData"],[2654,"impl-Debug-for-UserData"],[2655,"impl-Display-for-MaxLengthExceededError"],[2656,"impl-Debug-for-MaxLengthExceededError"],[2663,"impl-From%3CNodeAddr%3E-for-NodeInfo"],[2664,"impl-From%3C%26TxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[2665,"impl-From%3CTxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[2666,"impl-From%3CDiscoveryItem%3E-for-NodeInfo"],[2888,"impl-Debug-for-Disconnected"],[2889,"impl-Display-for-Disconnected"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAPAHugADAAAADAAAABMABgAbADAATQAAAFAAFwBsAAgAdwAnAKEAAACjAAEApgABAKkAAgCtAAEAsQAAALkACQDEAAAAxwAKAOUAAwDwAAQA9gABAPwALAAtAQgAUwEAAFUBCABfAQcAaAECAGwBAwBxAQAAdAEAAHYBAgCGAQAAiAEAAIsBAACNAQoAmQECAJ8BBQCmAQAAqgEEALEBBQC4AQAAuwEGAMkBFwDiAQUA6wEFAPkBAAD7AQAA/QELAAoCAgAQAgQAGAIIACICAwAoAgAAKgIBADECAAAzAgAANQIEADsCAwBBAgAAQwIJAE8CAABRAgAAVAIAAFYCAABYAgQAYAICAGQCBwBtAgIAfgIEAAkDIgAyAwAANAMAAEUDbQC7AyIA3wNFACkEAwAuBAMAOQQAADsEAABABAEARgQQAFgEcgDVBDgADwVuAIIFRQDUBQAA1wUAANoFAwDgBQAA4wUCAOcFAADpBQAA6wUCAPsFAQACBgAABQYAAAcGAAAJBgEADQYAABsGIgBDBgAARQYEAE4GAABSBjYAyQYJAOoGAADuBgIA+wYBAAAHAAALBwMAEAcBABUHCgAhBwEAJAcAAEIHAQBTBwQAXgcHAGwHAABuBwEAcQcBAHcHNgCyBxAAxAcAAMcHYgArCDYAaAg2AKwIAACvCAMAtAgSAMkICwDYCAsA6AgDAO0ICQD8CAMAAQkEAA4JAwAgCQMAJQkHAC8JBgA5CQYAQQkPAFMJAABYCQMAZAkFAGsJAABtCQ0AfQkjAKIJBgCqCREAwwkFANIJBgDpCQAA/AkbABkKBgAnCgIAKwoIADUKCgBBCgoATQoVAGQKAABoCgMAbgoDAHQKBACBCgAAhgoCAIoKAQCOCgwAnAoDAKoKAQCuCgYAtgoOAMcKAgDNCgQA2QoAANwKAADeCg0A7goHAPgKAwD+CgEACwsHABkLMQBRCwIAVgsFAGMLAQBmCwQAbgsYAIgLBQA=","P":[[28,"T"],[46,""],[53,"T"],[60,""],[71,"K"],[75,""],[79,"T"],[83,""],[84,"T"],[98,"D"],[100,"__D"],[103,""],[124,"K"],[142,""],[159,"T"],[160,""],[161,"T"],[162,""],[164,"T"],[165,""],[167,"T"],[168,""],[174,"T"],[176,""],[177,"T"],[180,""],[182,"I,"],[183,""],[184,"T"],[191,""],[196,"R"],[197,""],[198,"H"],[199,"__H"],[200,""],[209,"U"],[218,""],[239,"S"],[241,"__S"],[244,""],[251,"T"],[258,""],[267,"U,T"],[268,""],[269,"U,T"],[270,""],[271,"U,T"],[278,"U"],[287,""],[300,"V"],[310,""],[311,""],[339,""],[340,"T"],[346,""],[347,"T"],[348,""],[351,"Deref::Target"],[352,"T"],[359,""],[367,"T"],[372,""],[376,"U"],[379,""],[396,"T"],[397,""],[398,"U,T"],[401,"U"],[404,""],[408,"V"],[414,"T"],[418,""],[420,"T"],[421,""],[422,"U"],[423,""],[426,"U,T"],[427,"U"],[428,""],[429,"V"],[432,"T"],[436,""],[438,"T"],[439,""],[440,"U"],[441,""],[445,"U,T"],[446,"U"],[447,""],[448,"V"],[456,""],[459,"T"],[465,""],[468,"T"],[471,""],[474,"T"],[481,""],[487,"T"],[493,""],[496,"U"],[499,""],[508,"T"],[511,"U,T"],[514,"U"],[517,""],[521,"V"],[524,""],[528,"T"],[532,""],[536,"T"],[537,""],[540,"T"],[544,""],[549,"T"],[552,""],[556,"U"],[558,""],[564,"T"],[565,"U,T"],[567,"U"],[569,""],[572,"V"],[576,""],[577,""],[578,"T"],[580,""],[581,"T"],[582,""],[584,"T"],[586,""],[588,"T"],[589,","],[590,"T"],[591,""],[593,"U"],[594,""],[598,""],[599,"T"],[600,"U,T"],[601,"U"],[602,""],[603,"V"],[607,""],[608,"T"],[610,""],[612,"T"],[613,""],[615,"T"],[617,""],[619,"T"],[620,""],[621,"T"],[622,""],[623,"U"],[624,""],[630,""],[634,""],[635,""],[637,"T"],[638,"U,T"],[639,"U"],[640,""],[641,"V"],[642,""],[820,"D,F"],[821,""],[836,"T"],[946,""],[990,"T"],[1025,""],[1069,"K"],[1073,""],[1078,""],[1081,""],[1093,"B"],[1096,""],[1111,"T"],[1221,"__D"],[1226,""],[1294,"B"],[1297,""],[1324,"K"],[1407,""],[1484,"T"],[1491,""],[1492,"T"],[1494,""],[1495,"T"],[1497,""],[1501,"T"],[1503,""],[1504,"T"],[1506,""],[1509,"T"],[1510,""],[1511,"T"],[1512,""],[1513,"T"],[1514,""],[1517,"T"],[1530,""],[1532,"T"],[1537,""],[1538,"T"],[1540,""],[1541,"T"],[1542,""],[1543,"T"],[1544,""],[1546,"T"],[1548,""],[1549,"T"],[1597,""],[1604,"__H"],[1609,""],[1679,"U"],[1734,""],[1742,"IntoFuture::IntoFuture"],[1743,""],[1818,"Future::Output"],[1822,""],[1864,""],[1865,""],[1874,"__S"],[1879,""],[1910,"T"],[1945,""],[1969,"U,T"],[1986,""],[1987,"U,T"],[1988,""],[1990,"U,T"],[2027,"U"],[2082,"F"],[2090,""],[2151,"V"],[2206,""],[2238,"T"],[2248,""],[2252,"T"],[2256,""],[2267,"T"],[2279,""],[2295,"T"],[2304,""],[2309,"U"],[2317,""],[2368,"T"],[2372,"U,T"],[2376,"U"],[2380,""],[2391,"V"],[2403,""],[2412,"T"],[2428,""],[2434,"T"],[2440,""],[2450,"T"],[2464,""],[2475,"K"],[2481,""],[2491,"T"],[2504,""],[2520,"U"],[2533,""],[2555,"T"],[2561,""],[2562,"U,T"],[2569,"U"],[2576,""],[2584,"V"],[2598,""],[2601,""],[2602,""],[2603,"T"],[2611,""],[2615,"T"],[2618,""],[2622,"K"],[2624,""],[2625,"T"],[2628,""],[2629,"T"],[2634,""],[2643,"K"],[2652,""],[2658,"T"],[2659,""],[2660,"T"],[2663,""],[2669,"T"],[2672,""],[2675,"__H"],[2676,""],[2680,"U"],[2684,""],[2693,"T"],[2696,""],[2701,"U,T"],[2702,""],[2703,"U,T"],[2706,"U"],[2710,""],[2715,"V"],[2719,""],[2732,",T"],[2733,"P"],[2734,"T"],[2740,""],[2742,"P"],[2743,"T"],[2745,""],[2747,"T"],[2753,""],[2760,"P"],[2761,"T"],[2766,""],[2769,"U"],[2772,""],[2774,"P,F"],[2775,""],[2776,"P"],[2777,""],[2779,"P"],[2780,""],[2781,"T"],[2783,"U,T"],[2786,"U"],[2789,""],[2792,"V"],[2797,"T"],[2805,""],[2811,"T"],[2813,""],[2815,"U"],[2819,""],[2826,"U,T"],[2828,"U"],[2830,""],[2832,"V"],[2840,""],[2843,"T"],[2861,""],[2864,"T"],[2877,""],[2883,"T"],[2888,""],[2890,"T"],[2901,""],[2907,"T"],[2908,"U"],[2914,""],[2916,"T"],[2917,"T,Future::Output"],[2919,"T,Stream::Item"],[2920,"D,C,MW,S"],[2922,"T"],[2928,""],[2929,"U,T"],[2935,"U"],[2941,"F"],[2943,"S"],[2944,""],[2950,"T"],[2951,"V"],[2957,"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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}}}}}{{{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":"FGGGPPPFPPPPNNNNNNNNNNNNNNNNHONNNNNNNNNNNNHNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNONNNNNCOOONCOHCCNOONNNNNNNNNNNNNNNNNNNNNONNNNNSHHHHHHSHHHHHHFNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFONNNNNNOOOONNNNNNNNNNNOONNNNNNNNNNNNNNONOOOHOOONNNNNNOONNNNNN","n":["ClientStats","Commands","ConnectionSelector","EndpointSelector","Iroh","","","Opt","Quinn","","","S2n","__clone_box","","augment_args","augment_args_for_update","augment_subcommands","augment_subcommands_for_update","borrow","","","","","borrow_mut","","","","","client_handler","clients","clone","","clone_into","","clone_to_uninit","","close","","command","","command_for_update","","configure_tracing_subscriber","default","deref","","","","","deref_mut","","","","","download_size","drop","","","","","fmt","","from","","","","","from_arg_matches","","from_arg_matches_mut","","from_ref","","group_id","has_subcommand","init","","","","","initial_mtu","into","","","","","iroh","max_streams","metrics","only_relay","print","quinn","read_unordered","rt","s2n","stats","","","streams","to_owned","","try_from","","","","","try_into","","","","","type_id","","","","","update_from_arg_matches","","update_from_arg_matches_mut","","upload_size","vzip","","","","","ALPN","client","connect_client","handle_client_stream","server","server_endpoint","transport_config","ALPN","client","connect_client","handle_client_stream","server","server_endpoint","transport_config","Opt","__clone_box","augment_args","augment_args_for_update","borrow","borrow_mut","clone","clone_into","clone_to_uninit","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","from_ref","group_id","init","into","to_owned","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","Stats","StreamStats","TransferResult","avg_chunk_size","borrow","","","borrow_mut","","","chunk_size","chunk_time","chunks","","default","","deref","","","deref_mut","","","drop","","","duration","duration_hist","fmt","","","from","","","init","","","into","","","new","print","size","stream_finished","stream_stats","streams","throughput","throughput_bps","throughput_hist","total_duration","total_size","try_from","","","try_into","","","ttfb","ttfb_hist","type_id","","","vzip","",""],"q":[[0,"iroh_bench"],[126,"iroh_bench::iroh"],[133,"iroh_bench::quinn"],[140,"iroh_bench::s2n"],[169,"iroh_bench::stats"],[233,"dyn_clone::sealed"],[234,"clap_builder::builder::command"],[235,"anyhow"],[236,"core::fmt"],[237,"clap_builder::parser::matches::arg_matches"],[238,"clap_builder"],[239,"core::result"],[240,"clap_builder::util::id"],[241,"core::option"],[242,"tokio::runtime::runtime"],[243,"core::any"],[244,"iroh_base::node_addr"],[245,"iroh_base::relay_url"],[246,"iroh::endpoint"],[247,"iroh_quinn_proto::config::transport"],[248,"core::net::socket_addr"],[249,"rustls_pki_types"],[250,"iroh_quinn::endpoint"],[251,"iroh_quinn::connection"],[252,"core::time"]],"i":"````lnAf`21000A`00113210Ab43210`1212121432121`0432104321014321021432102121211243210143210`1110`1```311214321043210432102121143210```````````````Eb000000000000000000000000000```DbEdEf2102000210102102102201021021021022121112`01110210220102102","f":"````````````{{bd}f}0{hh}000{b{{b{c}}}{}}0000{{{b{j}}}{{b{jc}}}{}}0000{{lnA`}{{Ad{Ab}}}}`{{{b{Af}}}Af}{{{b{A`}}}A`}{{b{b{jc}}}f{}}0{{bAh}f}0{lf}{{{b{n}}Aj{b{{Al{Ah}}}}}f}{{}h}000{{}f}{{}Ab}{An{{b{c}}}{}}0000{An{{b{jc}}}{}}0000`{Anf}0000{{{b{Af}}{b{jB`}}}Bb}{{{b{A`}}{b{jB`}}}Bb}{cc{}}0000{{{b{Bd}}}{{Bh{AfBf}}}}{{{b{Bd}}}{{Bh{A`Bf}}}}{{{b{jBd}}}{{Bh{AfBf}}}}{{{b{jBd}}}{{Bh{A`Bf}}}}{{{b{c}}}c{}}0{{}{{Bl{Bj}}}}{{{b{Bn}}}C`}{{}An}0000`{{}c{}}0000````{{{b{Ab}}An}f}``{{}Cb}``{{{b{n}}}f}``{bc{}}0{c{{Bh{e}}}{}{}}0000{{}{{Bh{c}}}{}}0000{bCd}0000{{{b{jAf}}{b{Bd}}}{{Bh{fBf}}}}{{{b{jA`}}{b{Bd}}}{{Bh{fBf}}}}{{{b{jAf}}{b{jBd}}}{{Bh{fBf}}}}{{{b{jA`}}{b{jBd}}}{{Bh{fBf}}}}`{{}c{}}0000`{{Cf{B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[6,"EndpointSelector",0],[6,"ConnectionSelector",0],[5,"Opt",0],[5,"ClientStats",0],[8,"Result",235],[6,"Commands",0],[1,"u8"],[1,"u32"],[1,"slice"],[1,"usize"],[5,"Formatter",236],[8,"Result",236],[5,"ArgMatches",237],[8,"Error",238],[6,"Result",239,null,1],[5,"Id",240],[6,"Option",241,null,1],[1,"str"],[1,"bool"],[5,"Runtime",242],[5,"TypeId",243],[5,"NodeAddr",244],[5,"RelayUrl",245],[5,"Endpoint",246],[5,"Connection",246],[1,"tuple",null,null,1],[1,"u64"],[5,"TransferResult",169],[1,"u16"],[5,"TransportConfig",247],[6,"SocketAddr",248],[5,"CertificateDer",249],[5,"Endpoint",250],[5,"Connection",251],[6,"PrivateKeyDer",249],[5,"Opt",140],[5,"Stats",169],[5,"StreamStats",169],[5,"Duration",252],[1,"f64"]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAMQAEQAAABwAHwAXADgABgBEAAwAVwAAAFsAAQBeAAMAZAAUAHoABQCCAAAAhQABAIkAAACMAA8AnQAEAKMAJADLAAIA0QAYAA==","P":[[18,"T"],[28,""],[32,"T"],[34,""],[44,"T"],[55,""],[62,"T"],[67,""],[71,"T"],[73,""],[81,"U"],[90,""],[99,"T"],[101,"U,T"],[106,"U"],[111,""],[121,"V"],[127,""],[144,"T"],[146,""],[147,"T"],[148,""],[151,"T"],[153,""],[155,"T"],[156,""],[158,"T"],[159,""],[161,"U"],[162,"T"],[163,"U,T"],[164,"U"],[165,""],[168,"V"],[173,"T"],[183,""],[185,"T"],[191,""],[199,"T"],[202,""],[205,"U"],[208,""],[219,"U,T"],[222,"U"],[227,""],[230,"V"]]}],["iroh_dns_server",{"t":"FNNNNNNCCNNNNCNNNCNNNCCNNNNNNGFPPFFFNOONNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNOONNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNOFFFFNNNNONNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNOOOOONNNNNNNNNNNNNNNNNNNNNNNNGPFFFPPGPPPNNNNOONNNNNNNNNNONNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFNNNNNNNNOOOOOONNNNNOOOONNOOOOOONNNNNFNNNNNHNNNNNNFNNNNNNONNNOONNNNN","n":["ZoneStore","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","config","dns","fmt","from","from_ref","get_signed_packet","http","in_memory","insert","into","metrics","new","persistent","resolve","server","state","to_owned","try_from","try_into","type_id","vzip","with_mainline_fallback","BootstrapOption","Config","Custom","Default","MainlineConfig","MetricsConfig","StoreConfig","__clone_box","bind_addr","bootstrap","borrow","","","","","borrow_mut","","","","","clone","clone_into","clone_to_uninit","data_dir","default","","","","deserialize","","","","","disabled","","dns","enabled","fmt","","","","","from","","","","","from_ref","http","https","into","","","","","load","mainline","metrics","pkarr_put_rate_limit","serialize","","","","","signed_packet_store_path","to_owned","try_from","","","","","try_into","","","","","type_id","","","","","vzip","","","","","zone_store","DnsConfig","DnsHandler","DnsServer","Handle","__clone_box","","","answer_request","bind_addr","borrow","","","","borrow_mut","","","","clone","","","clone_into","","","clone_to_uninit","","","default_soa","default_ttl","deserialize","fmt","","","from","","","","from_ref","","","handle_request","into","","","","local_addr","new","origins","port","rr_a","rr_aaaa","rr_ns","run_until_done","send_response","serialize","shutdown","spawn","to_owned","","","try_from","","","","try_into","","","","type_id","","","","vzip","","","","CertMode","Disabled","HttpConfig","HttpServer","HttpsConfig","LetsEncrypt","Manual","RateLimitConfig","SelfSigned","Simple","Smart","__clone_box","","","","bind_addr","","borrow","","","","","borrow_mut","","","","","cert_mode","clone","","","","clone_into","","","","clone_to_uninit","","","","default","","deserialize","","","","domains","eq","equivalent","","","fmt","","","","","from","","","","","from_ref","","","","http_addr","https_addr","into","","","","","letsencrypt_contact","letsencrypt_prod","port","","run_until_done","serialize","","","","shutdown","spawn","to_owned","","","","to_string","try_from","","","","","try_into","","","","","type_id","","","","","vzip","","","","","Metrics","__clone_box","as_iterable","borrow","borrow_mut","clone","clone_into","clone_to_uninit","default","dns_lookup_error","dns_lookup_notfound","dns_lookup_success","dns_requests","dns_requests_https","dns_requests_udp","field_count","field_ref","fmt","from","from_ref","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","to_owned","try_from","try_into","type_id","vzip","Server","borrow","borrow_mut","from","into","run_until_error","run_with_config_until_ctrl_c","shutdown","spawn","try_from","try_into","type_id","vzip","AppState","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","dns_handler","from","from_ref","into","metrics","store","to_owned","try_from","try_into","type_id","vzip"],"q":[[0,"iroh_dns_server"],[29,"iroh_dns_server::config"],[116,"iroh_dns_server::dns"],[191,"iroh_dns_server::http"],[299,"iroh_dns_server::metrics"],[336,"iroh_dns_server::server"],[349,"iroh_dns_server::state"],[367,"dyn_clone::sealed"],[368,"iroh_dns_server::store"],[369,"core::fmt"],[370,"pkarr::signed_packet"],[371,"core::option"],[372,"anyhow"],[373,"alloc::sync"],[374,"std::path"],[375,"core::convert"],[376,"hickory_proto::rr::domain::name"],[377,"hickory_proto::rr::record_type"],[378,"hickory_proto::rr::rr_set"],[379,"core::result"],[380,"core::any"],[381,"serde::de"],[382,"serde::ser"],[383,"hickory_server::server::request_handler"],[384,"bytes::bytes"],[385,"core::future::future"],[386,"alloc::boxed"],[387,"core::pin"],[388,"hickory_server::server::response_handler"],[389,"core::net::socket_addr"],[390,"hickory_server::authority::message_response"],[391,"hickory_proto::rr::resource"],[392,"core::iter::traits::iterator"],[393,"core::marker"],[394,"iroh_dns_server::http::rate_limiting"],[395,"iroh_dns_server::http::tls"],[396,"alloc::string"],[397,"iroh_metrics::iterable"],[398,"iroh_metrics::metrics"]],"i":"`j00000``0000`000`000``000000``Bl0```BnChCdCb3214032143330031403214220103214032143000321400000321403032140321403214032140````DbClDd12Dn32103213213213213333210321321203210233333013003210321032103210321`El```En0`01110F`Fb10Ff432104321143214321432144432113333433210432143210004321112104321004321304321043210432104321`Ah00000000000000000000000000000000000`Gf0000`000000`Fh0000000000000000","f":"`{{bd}f}{b{{b{c}}}{}}{{{b{h}}}{{b{hc}}}{}}{{{b{j}}}j}{{b{b{hc}}}f{}}{{bl}f}``{{{b{j}}{b{hn}}}A`}{cc{}}{{{b{c}}}c{}}{{{b{j}}{b{`}}}{{Af{{Ad{Ab}}}}}}```{{}c{}}```{{{b{j}}{b{`}}{b{Bb}}Bd}{{Af{{Ad{{Aj{Bf}}}}}}}}``{bc{}}{c{{Bh{e}}}{}{}}{{}{{Bh{c}}}{}}{bBj}{{}c{}}{{jBl}j}```````{{bd}f}``{b{{b{c}}}{}}0000{{{b{h}}}{{b{hc}}}{}}0000{{{b{Bn}}}Bn}{{b{b{hc}}}f{}}{{bl}f}{{}{{Af{C`}}}}{{}Cb}{{}Bn}{{}Cd}{{}Bl}{c{{Bh{Cb}}}Cf}{c{{Bh{Bn}}}Cf}{c{{Bh{Ch}}}Cf}{c{{Bh{Cd}}}Cf}{c{{Bh{Bl}}}Cf}{{}Ch}```{{{b{Cb}}{b{hn}}}A`}{{{b{Bn}}{b{hn}}}A`}{{{b{Ch}}{b{hn}}}A`}{{{b{Cd}}{b{hn}}}A`}{{{b{Bl}}{b{hn}}}A`}{cc{}}0000{{{b{c}}}c{}}``{{}c{}}0000{c{{Af{Cb}}}{{B`{An}}}}```{{{b{Cb}}c}BhCj}{{{b{Bn}}c}BhCj}{{{b{Ch}}c}BhCj}{{{b{Cd}}c}BhCj}{{{b{Bl}}c}BhCj}{{}{{Af{C`}}}}{bc{}}{c{{Bh{e}}}{}{}}0000{{}{{Bh{c}}}{}}0000{bBj}0000{{}c{}}0000`````{{bd}f}00{{{b{Cl}}Cn}{{Af{D`}}}}`{b{{b{c}}}{}}000{{{b{h}}}{{b{hc}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Ad{F`}}{Ad{Fb}}ElFh}{{Af{Ff}}}}{bc{}}000{bFj}{c{{Bh{e}}}{}{}}0000{{}{{Bh{c}}}{}}0000{bBj}0000{{}c{}}0000`{{bd}f}{b{{b{Fl}}}}{b{{b{c}}}{}}{{{b{h}}}{{b{hc}}}{}}{{{b{Ah}}}Ah}{{b{b{hc}}}f{}}{{bl}f}{{}Ah}``````{{{b{Ah}}}Fn}{{{b{Ah}}Fn}{{Ad{{Gd{{b{G`}}{b{Gb}}}}}}}}{{{b{Ah}}{b{hn}}}A`}{cc{}}{{{b{c}}}c{}}````{{}c{}}{{{b{Ah}}}{{b{G`}}}}``````{bc{}}{c{{Bh{e}}}{}{}}{{}{{Bh{c}}}{}}{bBj}{{}c{}}`{b{{b{c}}}{}}{{{b{h}}}{{b{hc}}}{}}:8{Gf{{Af{f}}}}{Cb{{Af{f}}}}1{{Cbj{Aj{Ah}}}{{Af{Gf}}}}8765`{{bd}f}54{{{b{Fh}}}Fh}{{b{b{hc}}}f{}}{{bl}f}`{cc{}}{{{b{c}}}c{}}{{}c{}}``{bc{}}{c{{Bh{e}}}{}{}}{{}{{Bh{c}}}{}}{bBj}{{}c{}}","D":"AAj","p":[[1,"reference",null,null,1],[5,"Private",367],[1,"unit"],[0,"mut"],[5,"ZoneStore",0,368],[1,"u8"],[5,"Formatter",369],[8,"Result",369],[5,"SignedPacket",370],[6,"Option",371,null,1],[8,"Result",372],[5,"Metrics",299],[5,"Arc",373,null,1],[1,"bool"],[5,"Path",374],[10,"AsRef",375],[5,"Name",376],[6,"RecordType",377],[5,"RecordSet",378],[6,"Result",379,null,1],[5,"TypeId",380],[6,"BootstrapOption",29],[5,"StoreConfig",29],[5,"PathBuf",374],[5,"Config",29],[5,"MainlineConfig",29],[10,"Deserializer",381],[5,"MetricsConfig",29],[10,"Serializer",382],[5,"DnsHandler",116],[5,"Request",383],[5,"Bytes",384],[5,"DnsConfig",116],[5,"Handle",116],[10,"Future",385,null,1],[5,"Box",386,null,1],[5,"Pin",387],[10,"ResponseHandler",388],[5,"DnsServer",116],[6,"SocketAddr",389],[5,"MessageResponse",390],[17,"Item"],[5,"Record",391],[10,"Iterator",392],[10,"Send",393],[6,"RateLimitConfig",191,394],[6,"CertMode",191,395],[5,"HttpConfig",191],[5,"HttpsConfig",191],[5,"Error",369],[5,"HttpServer",191],[5,"AppState",349],[5,"String",396],[10,"Iterable",397],[1,"usize"],[1,"str"],[10,"Metric",398],[1,"tuple",null,null,1],[5,"Server",336]],"r":[[0,368],[191,395],[198,394]],"b":[[231,"impl-Default-for-RateLimitConfig"],[232,"impl-Default-for-%26RateLimitConfig"],[243,"impl-Display-for-CertMode"],[244,"impl-Debug-for-CertMode"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAOIAIgACAAUACgAAAAwAAAAYAAQAJQAAACgADAA2AAgAQwAEAE0AAABZAAQAXwAUAHkAAgB+ABAAkQADAJkAAwCpAAEArQASAMsAAwDRAAkA3AARAO8ACAD9AAMADQEDABMBGAAtAQcAOwECAD8BAABFAQAATAEEAFIBAQBaAQMAXwEFAGcBAABrAQQA","P":[[2,"T"],[4,""],[5,"T"],[6,""],[10,"T"],[12,""],[16,"U"],[18,""],[19,""],[20,""],[23,"T"],[24,"U,T"],[25,"U"],[26,""],[27,"V"],[28,""],[39,"T"],[49,""],[50,"T"],[51,""],[57,"__D"],[62,""],[71,"T"],[79,"U"],[84,""],[88,"__S"],[93,""],[94,"T"],[95,"U,T"],[100,"U"],[105,""],[110,"V"],[120,""],[125,"T"],[133,""],[136,"T"],[139,""],[144,"__D"],[145,""],[148,"T"],[155,"R"],[156,"U"],[160,""],[168,",,,"],[169,"__S"],[170,""],[172,"T"],[175,"U,T"],[179,"U"],[183,""],[187,"V"],[202,""],[208,"T"],[219,""],[223,"T"],[227,""],[233,"__D"],[238,""],[239,"K"],[242,""],[247,"T"],[256,""],[258,"U"],[267,""],[268,"__S"],[272,""],[274,"T"],[278,""],[279,"U,T"],[284,"U"],[289,""],[294,"V"],[300,""],[302,"T"],[304,""],[305,"T"],[306,""],[317,"T"],[323,"U"],[324,""],[331,"T"],[332,"U,T"],[333,"U"],[334,""],[335,"V"],[337,"T"],[340,"U"],[341,""],[345,"U,T"],[346,"U"],[347,""],[348,"V"],[350,""],[351,"T"],[353,""],[354,"T"],[355,""],[357,"T"],[359,"U"],[362,"T"],[363,"U,T"],[364,"U"],[365,""],[366,"V"]]}],["iroh_relay",{"t":"EFFFFNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNCNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNCNNNNOCCONNCOONNNNNNNNNNNNNNNNNNONNNNNFFFFGPPPPPPPPPGPGPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOSSSSSSFSSFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNGSSPPNNNNNNNNNNNNNNNNNNNNNNNNNSTFFKFFNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNONNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNNNNNCCCSHSPGPPPPPPPPGFPPPPPPPPPPPGFPFPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNNNNNNNNNCHHNHHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNSSSSSSFNNNNNNNNNNNNNNNGGPGFSPPPFPFFFPFPFFFFFNNNNOOOONNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONONNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNONONNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONOOONONNOOOONOOONONOOOOOONNNONNCONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNOOOHHHHHH","n":["MAX_PACKET_SIZE","PingTracker","RelayMap","RelayNode","RelayQuicConfig","__clone_box","","","borrow","","","","borrow_mut","","","","client","clone","","","clone_into","","","clone_to_uninit","","","cmp","","compare","","contains_node","default","","default_from_node","default_timeout","defaults","deref","","","","deref_mut","","","","deserialize","","dns","drop","","","","empty","eq","","","equivalent","","","","","","","","","fmt","","","","","","from","","","","from_nodes","from_url","get_node","http","init","","","","into","","","","is_empty","len","new","new_ping","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","borrow","","","","","","","borrow_mut","","","","","","","clone","","clone_into","","clone_to_uninit","","connect","deref","","","","","","","deref_mut","","","","","","","drop","","","","","","","fmt","","","","","","","","from","","","","","","","","","init","","","","","","","insecure_skip_cert_verify","into","","","","","","","is_prober","key_cache_capacity","local_addr","make_dangerous_client_config","new","poll_close","","poll_flush","","poll_next","","poll_ready","","protocol","proxy_url","ratelimit_sink","","ratelimit_sink_with_jitter","","ratelimit_stream","","ratelimit_stream_with_jitter","","source","split","start_send","","to_owned","","to_string","try_from","","","","","","","try_into","","","","","","","try_poll_next","","type_id","","","","","","","vzip","","","","","","","data","problem","reconnect_in","remote_node_id","try_for","DEFAULT_HTTPS_PORT","DEFAULT_HTTP_PORT","DEFAULT_KEY_CACHE_CAPACITY","DEFAULT_METRICS_PORT","DEFAULT_RELAY_QUIC_PORT","DEFAULT_STUN_PORT","DnsResolver","N0_DNS_NODE_ORIGIN_PROD","N0_DNS_NODE_ORIGIN_STAGING","TXT","TxtLookup","__clone_box","","","borrow","","","borrow_mut","","","clear_cache","clone","","","clone_into","","","clone_to_uninit","","","default","deref","","","deref_mut","","","drop","","","fmt","","","","from","","","","","init","","","into","","","into_iter","lookup_ipv4","lookup_ipv4_ipv6","lookup_ipv4_ipv6_staggered","lookup_ipv4_staggered","lookup_ipv6","lookup_ipv6_staggered","lookup_node_by_domain_name","lookup_node_by_domain_name_staggered","lookup_node_by_id","lookup_node_by_id_staggered","lookup_txt","new","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","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_ref","borrow","","","","borrow_mut","","","","clear_direct_addresses","clone","","","clone_into","","","clone_to_uninit","","","cmp","compare","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_fingerprint","as_mapped_address","as_message_integrity","as_message_integrity_sha256","as_nonce","as_password_algorithm","as_password_algorithms","as_realm","as_ref","as_software","as_unknown","as_unknown_attributes","as_user_hash","as_user_name","as_xor_mapped_address","attribute_type","borrow","","","","","","borrow_mut","","","","","","clone","","","","clone_into","","","","clone_to_uninit","","","","cmp","compare","decode","default","","deref","","","","","","","deref_mut","","","","","","drop","","","","","","eq","","equivalent","","","","","","expect_alternate_server","expect_error_code","expect_fingerprint","expect_mapped_address","expect_message_integrity","expect_message_integrity_sha256","expect_nonce","expect_password_algorithm","expect_password_algorithms","expect_realm","expect_software","expect_unknown","expect_unknown_attributes","expect_user_hash","expect_user_name","expect_xor_mapped_address","fmt","","","","","","","","","from","","","","","","","","","","","","","","","","","","","","","","","","get_context","hash","init","","","","","","into","","","","","","is","is_alternate_server","is_error_code","is_fingerprint","is_mapped_address","is_message_integrity","is_message_integrity_sha256","is_nonce","is_password_algorithm","is_password_algorithms","is_realm","is_software","is_unknown","is_unknown_attributes","is_user_hash","is_user_name","is_xor_mapped_address","methods","parse_binding_request","parse_response","partial_cmp","request","response","to_owned","","","","to_string","","","try_from","","","","","","","try_into","","","","","","type_id","","","","","","vzip","","","","","","BINDING","RESERVED","SHARED_SECRET","ALPN_QUIC_ADDR_DISC","QUIC_ADDR_DISC_CLOSE_CODE","QUIC_ADDR_DISC_CLOSE_REASON","QuicClient","borrow","borrow_mut","deref","deref_mut","drop","fmt","from","get_addr_and_latency","init","into","new","try_from","try_into","type_id","vzip","Access","AccessConfig","Allow","CertConfig","ClientRateLimit","DEFAULT_CERT_RELOAD_INTERVAL","Deny","Everyone","LetsEncrypt","Limits","Manual","Metrics","QuicConfig","RelayConfig","Reloading","ReloadingResolver","Restricted","Server","ServerConfig","StunConfig","StunMetrics","TlsConfig","__clone_box","","","","accept_conn_burst","accept_conn_limit","accepts","access","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","","","","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","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_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"],[128,"iroh_relay::client"],[284,"iroh_relay::client::ReceivedMessage"],[289,"iroh_relay::defaults"],[295,"iroh_relay::dns"],[376,"iroh_relay::http"],[406,"iroh_relay::node_info"],[534,"iroh_relay::protos"],[537,"iroh_relay::protos::disco"],[539,"iroh_relay::protos::relay"],[540,"iroh_relay::protos::stun"],[769,"iroh_relay::protos::stun::methods"],[772,"iroh_relay::quic"],[791,"iroh_relay::server"],[1096,"iroh_relay::server::CertConfig"],[1098,"iroh_relay::server::testing"],[1104,"dyn_clone::sealed"],[1105,"iroh_relay::relay_map"],[1106,"core::cmp"],[1107,"iroh_base::relay_url"],[1108,"iroh_relay::ping_tracker"],[1109,"core::time"],[1110,"core::result"],[1111,"serde::de"],[1112,"core::fmt"],[1113,"anyhow"],[1114,"alloc::sync"],[1115,"core::convert"],[1116,"core::iter::traits::collect"],[1117,"core::option"],[1118,"core::iter::traits::iterator"],[1119,"serde::ser"],[1120,"alloc::string"],[1121,"core::any"],[1122,"core::ops::function"],[1123,"core::marker"],[1124,"iroh_relay::client::conn"],[1125,"std::io::error"],[1126,"tokio_websockets::error"],[1127,"core::net::socket_addr"],[1128,"rustls::client::client_conn"],[1129,"iroh_base::key"],[1130,"core::pin"],[1131,"core::task::wake"],[1132,"core::task::poll"],[1133,"url"],[1134,"governor::state::direct"],[1135,"governor::state"],[1136,"governor::state::direct::sinks"],[1137,"governor::clock::with_std"],[1138,"governor::gcra"],[1139,"governor::middleware"],[1140,"governor::jitter"],[1141,"governor::state::direct::streams"],[1142,"core::error"],[1143,"hickory_resolver::resolver"],[1144,"hickory_resolver::lookup"],[1145,"core::net::ip_addr"],[1146,"alloc::boxed"],[1147,"http::header::value"],[1148,"alloc::collections::btree::set"],[1149,"iroh_base::node_addr"],[1150,"pkarr::signed_packet"],[1151,"core::hash"],[1152,"alloc::vec"],[1153,"stun_rs::attributes"],[1154,"stun_rs::attributes::stun::alternate_server"],[1155,"stun_rs::error"],[1156,"stun_rs::types"],[1157,"stun_rs::attributes::stun::error_code"],[1158,"stun_rs::attributes::stun::fingerprint"],[1159,"stun_rs::attributes::stun::mapped_address"],[1160,"stun_rs::attributes::stun::message_integrity"],[1161,"stun_rs::attributes::stun::message_integrity_sha256"],[1162,"stun_rs::attributes::stun::nonce"],[1163,"stun_rs::attributes::stun::password_algorithm"],[1164,"stun_rs::attributes::stun::password_algorithms"],[1165,"stun_rs::attributes::stun::realm"],[1166,"stun_rs::attributes::stun::software"],[1167,"stun_rs::attributes::unknown"],[1168,"stun_rs::attributes::stun::unknown_attributes"],[1169,"stun_rs::attributes::stun::user_hash"],[1170,"stun_rs::attributes::stun::user_name"],[1171,"stun_rs::attributes::stun::xor_mapped_address"],[1172,"stun_rs::context"],[1173,"stun_rs::message"],[1174,"iroh_quinn::endpoint"],[1175,"iroh_metrics::iterable"],[1176,"rustls_pki_types"],[1177,"iroh_relay::server::metrics"],[1178,"core::default"],[1179,"iroh_relay::server::resolver"],[1180,"iroh_metrics::metrics"],[1181,"rustls::crypto::signer"],[1182,"reloadable_core"],[1183,"rustls::server::server_conn"],[1184,"tokio_util::task::abort_on_drop"],[1185,"stun_rs"],[1186,"stun_rs::methods"]],"i":"`````jlnAh3210321`321321321212130130`0321032121`032133213332221110332210321333`032103213300`32101``221`22032132032103210321230321`````DhDl111Dn201`2`022Cn02310DjE`Eb5643210636363356432105643210564321055643210555643210564321035643210330`32121202133212120205221635564321056432102056432105643210AAlAAnAB`20```````````EnHbHd2102102210210210221021021021002211021021012222222222222210021021002102102```Ff00000000000000000000000000`In`````Il1Id1212Jb12301223123123133122301123011223012312223331112330012230111131Jn43412341223224333234224120344123412341233412323232``````K``0Mj10Nb002``22020022212``1`22222Mh2Kf4404444444440444444413042Mn24153024152415241511221241153024153024153041444111555555555555555524115330024111555555555555555553021241530241530`5555555555555555```1``24151302441530241530241530241530```````Nf00000000000000``Od```0A@fA@n`0```0`1`````O`Ob4OfOn03A@d433A@hA@j65A@`Oh4:;32A@l67:Nl:9326<=54178;08::107:9=8:9=8:9=8::927:93326<=54178;0:9326<=54178;0:::::9326<=54178;0====9:9:9:9326<=54178;0::9326<=54178;0:060010:93326<=54178;0:9326<=54178;099<66802:9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{{}c{}}0000000000000``{{{b{A@f}}If}Af}```{{{b{Nl}}}{{b{`}}}}`{{{b{O`}}}{{b{Ib}}}}{{{b{Ob}}}{{b{Ib}}}}````8```{{{b{{A@`{c}}}}}f{Dd{AAd{}{{AA`{AAb}}}}}}`{{{b{{A@`{c}}}}AAf}{{Cb{{Bj{AAb}}}}}{{AAd{}{{AA`{AAb}}}}DdOl}}``````{{{A@`{c}}}f{Dd{AAd{}{{AA`{AAb}}}}}}{Nl{{Bh{f}}}}{{{Oh{ce}}}{{Bh{Nl}}}OlOl}`={{{b{hNl}}}{{b{h{AAh{{Bh{f}}}}}}}}``{bc{}}000{c{{B`{e}}}{}{}}0000000000000{{}{{B`{c}}}{}}0000000000000{bCl}0000000000000``{{}c{}}0000000000000```{{}A@j}{{}{{A@d{f}}}}{{}{{H`{{Jl{Nn}}AAj}}}}{{}{{Oh{f}}}}{{}A@h}{{}{{A@l{f}}}}","D":"CCl","p":[[1,"reference",null,null,1],[5,"Private",1104],[1,"unit"],[0,"mut"],[5,"RelayMap",0,1105],[5,"RelayNode",0,1105],[5,"RelayQuicConfig",0,1105],[1,"u8"],[6,"Ordering",1106],[5,"RelayUrl",1107],[1,"bool"],[5,"PingTracker",0,1108],[1,"u16"],[5,"Duration",1109],[1,"usize"],[6,"Result",1110,null,1],[10,"Deserializer",1111],[5,"Formatter",1112],[8,"Result",1112],[8,"Result",1113],[5,"Arc",1114,null,1],[10,"Into",1115],[17,"Item"],[10,"IntoIterator",1116],[6,"Option",1117,null,1],[1,"array"],[10,"Iterator",1118],[10,"Serializer",1119],[5,"String",1120],[5,"TypeId",1121],[5,"ClientBuilder",128],[17,"Output"],[10,"Fn",1122],[10,"Send",1123],[10,"Sync",1123],[6,"ReceivedMessage",128,1124],[5,"Client",128],[6,"ConnSendError",128,1124],[6,"SendMessage",128,1124],[5,"ClientSink",128],[5,"ClientStream",128],[5,"Error",1125],[6,"Error",1126],[6,"SocketAddr",1127],[5,"ClientConfig",1128],[5,"SecretKey",1129],[5,"DnsResolver",295],[5,"Pin",1130],[5,"Context",1131],[6,"Poll",1132],[6,"Protocol",376],[5,"Url",1133],[6,"NotKeyed",1134],[5,"RateLimiter",1135],[5,"RatelimitedSink",1136],[10,"DirectStateStore",1134],[10,"ReasonablyRealtime",1137],[17,"NegativeOutcome"],[5,"NotUntil",1138],[10,"RateLimitingMiddleware",1139],[5,"Jitter",1140],[5,"RatelimitedStream",1141],[10,"Error",1142],[1,"tuple",null,null,1],[5,"TxtLookup",295],[5,"TXT",295],[8,"TokioResolver",1143],[5,"TxtLookup",1144],[6,"IpAddr",1145],[10,"ToString",1120],[1,"u64"],[1,"slice"],[1,"str"],[5,"NodeInfo",406],[8,"NodeId",1129],[5,"Box",1146,null,1],[5,"HeaderValue",1147],[5,"NodeData",406],[5,"UserData",406],[5,"BTreeSet",1148],[5,"MaxLengthExceededError",406],[5,"NodeAddr",1149],[5,"SignedPacket",1150],[10,"Hasher",1151],[1,"u32"],[5,"Vec",1152],[10,"NodeIdExt",406],[6,"StunAttribute",540,1153],[5,"AlternateServer",1154],[5,"StunError",1155],[5,"TransactionId",540,1156],[5,"ErrorCode",1157],[6,"Fingerprint",1158],[5,"MappedAddress",1159],[6,"MessageIntegrity",1160],[6,"MessageIntegritySha256",1161],[5,"Nonce",1162],[5,"PasswordAlgorithm",1163],[5,"PasswordAlgorithms",1164],[5,"Realm",1165],[5,"Software",1166],[5,"Unknown",1167],[5,"UnknownAttributes",1168],[5,"UserHash",1169],[5,"UserName",1170],[5,"XorMappedAddress",1171],[5,"AttributeType",1153],[5,"MessageDecoder",540,1172],[6,"MessageClass",540,1173],[5,"StunMessage",1173],[5,"StunDecodeError",540,1155],[5,"Error",1112],[6,"Error",540],[5,"DecoderContext",1172],[5,"QuicClient",772],[5,"Endpoint",1174],[10,"Iterable",1175],[5,"Server",791],[5,"CertificateDer",1176],[5,"Metrics",791,1177],[5,"StunMetrics",791,1177],[6,"Access",791],[5,"ClientRateLimit",791],[5,"ServerConfig",791],[10,"Default",1178],[10,"Debug",1112],[5,"Limits",791],[5,"ReloadingResolver",791,1179],[10,"Metric",1180],[5,"RelayConfig",791],[6,"AccessConfig",791],[5,"StunConfig",791],[5,"QuicConfig",791],[5,"TlsConfig",791],[6,"CertConfig",791],[17,"Value"],[5,"CertifiedKey",1181],[10,"Loader",1182],[5,"ClientHello",1183],[5,"AbortOnDropHandle",1184],[5,"ServerConfig",1183],[15,"ReceivedPacket",284],[15,"Health",284],[15,"ServerRestarting",284],[15,"Manual",1096],[15,"LetsEncrypt",1096]],"r":[[0,539],[1,1108],[2,1105],[3,1105],[4,1105],[132,1124],[142,1124],[144,1124],[550,1173],[551,1172],[563,1153],[564,1155],[566,1156],[731,1185],[769,1186],[770,1186],[771,1186],[796,1179],[802,1177],[806,1179],[811,1177]],"b":[[65,"impl-Display-for-RelayMap"],[66,"impl-Debug-for-RelayMap"],[67,"impl-Display-for-RelayNode"],[68,"impl-Debug-for-RelayNode"],[192,"impl-Display-for-ConnSendError"],[193,"impl-Debug-for-ConnSendError"],[201,"impl-From%3CError%3E-for-ConnSendError"],[202,"impl-From%3CError%3E-for-ConnSendError"],[331,"impl-Debug-for-TXT"],[332,"impl-Display-for-TXT"],[468,"impl-Display-for-UserData"],[469,"impl-Debug-for-UserData"],[470,"impl-Display-for-MaxLengthExceededError"],[471,"impl-Debug-for-MaxLengthExceededError"],[669,"impl-Debug-for-TransactionId"],[670,"impl-Display-for-TransactionId"],[672,"impl-Debug-for-Error"],[673,"impl-Display-for-Error"],[674,"impl-Display-for-StunDecodeError"],[675,"impl-Debug-for-StunDecodeError"],[678,"impl-From%3C%26%5Bu8;+stun_rs::::types::%7Bimpl%2313%7D::%7Bconstant%230%7D%5D%3E-for-TransactionId"],[680,"impl-From%3C%5Bu8;+stun_rs::::types::%7Bimpl%2314%7D::%7Bconstant%230%7D%5D%3E-for-TransactionId"],[681,"impl-From%3CUnknown%3E-for-StunAttribute"],[682,"impl-From%3CUnknownAttributes%3E-for-StunAttribute"],[684,"impl-From%3CMappedAddress%3E-for-StunAttribute"],[685,"impl-From%3CFingerprint%3E-for-StunAttribute"],[686,"impl-From%3CErrorCode%3E-for-StunAttribute"],[687,"impl-From%3CAlternateServer%3E-for-StunAttribute"],[688,"impl-From%3CMessageIntegrity%3E-for-StunAttribute"],[689,"impl-From%3CMessageIntegritySha256%3E-for-StunAttribute"],[690,"impl-From%3CNonce%3E-for-StunAttribute"],[691,"impl-From%3CPasswordAlgorithm%3E-for-StunAttribute"],[692,"impl-From%3CPasswordAlgorithms%3E-for-StunAttribute"],[693,"impl-From%3CRealm%3E-for-StunAttribute"],[694,"impl-From%3CSoftware%3E-for-StunAttribute"],[695,"impl-From%3CXorMappedAddress%3E-for-StunAttribute"],[696,"impl-From%3CUserName%3E-for-StunAttribute"],[697,"impl-From%3CUserHash%3E-for-StunAttribute"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAALICSQABAAAABgAKABIADAAgAAEAJQAJADAAAwA1ABEATwADAF0AAQBkAAEAagAQAH0AAwCUAAEAlwATAKwAHADKAAEA0gAGAOYABwDwAAgA+gAiAC0BCAA3ARcAUQEAAFMBAgBZAQAAZwEJAHIBBQB+AQ4AjgEAAJEBAwCWAQAAngECAKIBCACsAQoAuAEKAMQBFQDbAQAA3wEAAOIBAADlAQQA8gEAAPcBAgD7AQEA/wEMAA0CAwA9AgMATAIAAFQCGQBvAgAAcQIaAJwCCACnAgAAqQICAK0CDQC+AgYA3wIAAOICHwAJAwUAEQMAABQDAwAuAwMANgMBADsDGwBdAwsAagMgAI8DEQCiAxEAygMCAM4DCgDvAwEA+wMAAAoELQA6BA0A","P":[[8,"T"],[17,""],[20,"T"],[23,""],[28,"K"],[30,""],[36,"T"],[44,"__D"],[47,""],[55,"K"],[64,""],[70,"T"],[74,"I,"],[75,""],[82,"U"],[86,""],[99,"__S"],[104,""],[105,"T"],[108,""],[110,"U,T"],[114,"U"],[118,""],[124,"V"],[147,""],[149,"S"],[150,"T"],[164,""],[166,"T"],[168,""],[171,"T"],[185,""],[200,"T"],[201,""],[203,"T"],[209,""],[217,"U"],[224,""],[228,""],[229,"Sink::Error"],[233,"Stream::Item"],[235,"Sink::Error"],[237,""],[239,"D,C,MW,Item,S"],[243,"D,C,MW,S"],[247,""],[249,"Sink::Error"],[251,"T"],[253,""],[254,"U,T"],[261,"U"],[268,"S"],[270,""],[277,"V"],[300,""],[303,"T"],[309,""],[313,"T"],[316,""],[320,"T"],[326,""],[334,"T"],[336,""],[337,"T"],[338,""],[341,"U"],[344,"IntoIterator::IntoIter"],[345,""],[351,""],[355,""],[356,""],[358,"T"],[361,""],[362,"U,T"],[365,"U"],[368,""],[372,"V"],[375,""],[382,"T"],[384,""],[385,"T"],[386,""],[388,"T"],[390,""],[392,"K"],[395,""],[396,"T"],[397,""],[398,"U"],[399,""],[400,"T"],[401,"U,T"],[402,"U"],[403,""],[405,"V"],[413,""],[416,""],[417,""],[418,"T"],[426,""],[430,"T"],[433,""],[437,"K"],[439,""],[440,"T"],[444,"Deref::Target"],[445,"T"],[448,"Deref::Target"],[449,"T"],[450,""],[458,"K"],[467,""],[473,"T"],[474,""],[475,"T"],[478,""],[481,"FromStr::Err"],[482,""],[484,"__H"],[485,""],[489,"U"],[493,""],[502,"T"],[505,""],[510,"U,T"],[511,"TryFrom::Error"],[512,"U,T"],[515,"U"],[519,""],[524,"V"],[528,""],[595,"T"],[607,""],[611,"T"],[615,""],[620,"K"],[621,""],[624,"T"],[627,""],[628,"T"],[637,""],[645,"K"],[651,""],[676,"T"],[678,""],[679,"T"],[680,""],[683,"T"],[684,""],[698,"T"],[700,""],[701,"__H"],[702,""],[708,"U"],[714,""],[737,"T"],[741,""],[744,"U,T"],[745,""],[746,"U,T"],[751,"U"],[757,""],[763,"V"],[776,"T"],[780,""],[782,"T"],[783,""],[785,"U"],[786,""],[787,"U,T"],[788,"U"],[789,""],[790,"V"],[813,""],[826,"T"],[858,""],[864,"T"],[868,""],[875,"EC,EA"],[876,""],[877,"T"],[880,"Loader,Deref::Target"],[881,"T"],[910,""],[925,"K"],[929,""],[935,"Loader"],[936,"EC,EA"],[938,""],[942,"EC,EA"],[943,""],[945,"EC,EA"],[946,""],[948,"T"],[963,""],[972,"Loader"],[973,""],[984,"U"],[1000,""],[1016,"Loader"],[1026,""],[1027,"EC,EA"],[1029,""],[1033,"T"],[1037,"U,T"],[1051,"U"],[1065,""],[1081,"V"],[1098,""]]}]]')); +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":"PPEPGTFIFPFEFGFFFPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNOCCNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCCNOCNNNNNNCNNONONNNNNNNNNOOCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNCNNSSSSSCCSSSHHHHSSHHHFKFFFFFNNNNNNNNNNNNNNNNNNNNNONNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNCNNONCNNNNNCNNNNNNNNNNNNNNNNNNFSSNNNNNNNNNNNNNNNNNNNFSNNN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OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNOOOOOOONNNNOFFFFFFFNNNNNNNHNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNOONNNNNNNNNNNNNNOOOOOONOONNOOONNOOOOONOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNSTFFKFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNONNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNNNNNFKFFNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFNNNNNNNNNNNNNNNNNNNNNNNNNNOONONHHHNNNNNNNNNFFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN","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@nJ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AAnMnN`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}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{{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}}}}}}{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{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{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{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{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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}}}}`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}`{{{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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{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":"EFFFFNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNCNNNNOCCONNCOONNNNNNNNNNNNN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NNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNOOOHHHHHH","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","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","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_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"],[1210,"iroh_relay::server::CertConfig"],[1212,"iroh_relay::server::testing"],[1218,"dyn_clone::sealed"],[1219,"iroh_relay::relay_map"],[1220,"core::cmp"],[1221,"async_compat"],[1222,"iroh_base::relay_url"],[1223,"iroh_relay::ping_tracker"],[1224,"core::time"],[1225,"core::result"],[1226,"serde::de"],[1227,"core::fmt"],[1228,"anyhow"],[1229,"alloc::sync"],[1230,"core::convert"],[1231,"core::iter::traits::collect"],[1232,"core::option"],[1233,"core::iter::traits::iterator"],[1234,"serde::ser"],[1235,"alloc::string"],[1236,"core::any"],[1237,"core::ops::function"],[1238,"core::marker"],[1239,"core::error"],[1240,"iroh_relay::client::conn"],[1241,"std::io::error"],[1242,"tokio_websockets::error"],[1243,"core::net::socket_addr"],[1244,"rustls::client::client_conn"],[1245,"iroh_base::key"],[1246,"core::pin"],[1247,"core::task::wake"],[1248,"core::task::poll"],[1249,"url"],[1250,"governor::state::direct"],[1251,"governor::state"],[1252,"governor::state::direct::sinks"],[1253,"governor::clock::with_std"],[1254,"governor::gcra"],[1255,"governor::middleware"],[1256,"governor::jitter"],[1257,"governor::state::direct::streams"],[1258,"hickory_resolver::resolver"],[1259,"hickory_resolver::lookup"],[1260,"core::net::ip_addr"],[1261,"alloc::boxed"],[1262,"http::header::value"],[1263,"alloc::collections::btree::set"],[1264,"iroh_base::node_addr"],[1265,"pkarr::signed_packet"],[1266,"core::hash"],[1267,"alloc::vec"],[1268,"stun_rs::attributes"],[1269,"stun_rs::attributes::stun::alternate_server"],[1270,"stun_rs::error"],[1271,"stun_rs::types"],[1272,"stun_rs::attributes::stun::error_code"],[1273,"stun_rs::attributes::stun::fingerprint"],[1274,"stun_rs::attributes::stun::mapped_address"],[1275,"stun_rs::attributes::stun::message_integrity"],[1276,"stun_rs::attributes::stun::message_integrity_sha256"],[1277,"stun_rs::attributes::stun::nonce"],[1278,"stun_rs::attributes::stun::password_algorithm"],[1279,"stun_rs::attributes::stun::password_algorithms"],[1280,"stun_rs::attributes::stun::realm"],[1281,"stun_rs::attributes::stun::software"],[1282,"stun_rs::attributes::unknown"],[1283,"stun_rs::attributes::stun::unknown_attributes"],[1284,"stun_rs::attributes::stun::user_hash"],[1285,"stun_rs::attributes::stun::user_name"],[1286,"stun_rs::attributes::stun::xor_mapped_address"],[1287,"stun_rs::context"],[1288,"stun_rs::message"],[1289,"iroh_quinn::endpoint"],[1290,"iroh_metrics::iterable"],[1291,"rustls_pki_types"],[1292,"iroh_relay::server::metrics"],[1293,"core::default"],[1294,"iroh_relay::server::resolver"],[1295,"iroh_metrics::base"],[1296,"rustls::crypto::signer"],[1297,"reloadable_core"],[1298,"rustls::server::server_conn"],[1299,"tokio_util::task::abort_on_drop"],[1300,"stun_rs"],[1301,"stun_rs::methods"]],"i":"`````jlnAj3210321`321321321212103210321032130130`0321032121`032133213332221110332210321333`032103213300`32101``221`22032132032103210321230321`````DlE`111Eb201`2`022D`022310DnEdEf5643210636363564321056432105643210356432105643210564321055643210555643210564321035643210330`32121202133212120205221635564321056432102056432105643210AAnAB`ABb20```````````FbHdHf2102102210210210210210210221021021021002211021021012222222222222210021021002102102```Fj00000000000000000000000000000`J``````In1If1Jd323012301223123123133230123012301122301123011223012312223331112330012230111131K`43412341223224333234224120344123412341233412323232``````Kb`0Ml10Nd002``22020022212``1`22222Mj2Kh44042N`555555551555555524153024153024152415241511241530241530241530221241153024153024153041444111555555555555555524115330024111555555555555555553021241530241530`5555555555555555```1``24151302441530241530241530241530```````Nh00000000000000000``Ob```0A@hAA``0```0`1`````2OdA@`0OfA@f1Oh0A@jA@l42A@bOj5:;32A@n89:Nn86327<=5419:;0:88109=:=:=:86327<=5419:;086327<=5419:;086327<=5419:;088629863327<=5419:;086327<=5419:;0888886327<=5419:;0====6868686327<=5419:;0886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bj{f}}}}}}}}``{bc{}}0{c{{Bb{e}}}{}{}}0000000000000{{}{{Bb{c}}}{}}0000000000000{bCn}0000000000000``{{}c{}}0000000000000```{{}A@l}{{}{{A@f{f}}}}{{}{{Hb{{Jn{O`}}AAl}}}}{{}{{Oj{f}}}}{{}A@j}{{}{{A@n{f}}}}","D":"CCl","p":[[1,"reference",null,null,1],[5,"Private",1218],[1,"unit"],[0,"mut"],[5,"RelayMap",0,1219],[5,"RelayNode",0,1219],[5,"RelayQuicConfig",0,1219],[1,"u8"],[6,"Ordering",1220],[5,"Compat",1221],[5,"RelayUrl",1222],[1,"bool"],[5,"PingTracker",0,1223],[1,"u16"],[5,"Duration",1224],[1,"usize"],[6,"Result",1225,null,1],[10,"Deserializer",1226],[5,"Formatter",1227],[8,"Result",1227],[8,"Result",1228],[5,"Arc",1229,null,1],[10,"Into",1230],[17,"Item"],[10,"IntoIterator",1231],[6,"Option",1232,null,1],[1,"array"],[10,"Iterator",1233],[10,"Serializer",1234],[5,"String",1235],[5,"TypeId",1236],[5,"ClientBuilder",140],[17,"Output"],[10,"Fn",1237],[10,"Send",1238],[10,"Sync",1238],[10,"Error",1239],[6,"ReceivedMessage",140,1240],[5,"Client",140],[6,"ConnSendError",140,1240],[6,"SendMessage",140,1240],[5,"ClientSink",140],[5,"ClientStream",140],[5,"Error",1241],[6,"Error",1242],[6,"SocketAddr",1243],[5,"ClientConfig",1244],[5,"SecretKey",1245],[5,"DnsResolver",329],[5,"Pin",1246],[5,"Context",1247],[6,"Poll",1248],[6,"Protocol",419],[5,"Url",1249],[6,"NotKeyed",1250],[5,"RateLimiter",1251],[5,"RatelimitedSink",1252],[10,"DirectStateStore",1250],[10,"ReasonablyRealtime",1253],[17,"NegativeOutcome"],[5,"NotUntil",1254],[10,"RateLimitingMiddleware",1255],[5,"Jitter",1256],[5,"RatelimitedStream",1257],[1,"tuple",null,null,1],[5,"TxtLookup",329],[5,"TXT",329],[8,"TokioResolver",1258],[5,"TxtLookup",1259],[6,"IpAddr",1260],[10,"ToString",1235],[1,"u64"],[1,"slice"],[1,"str"],[5,"NodeInfo",452],[8,"NodeId",1245],[5,"Box",1261,null,1],[5,"HeaderValue",1262],[5,"NodeData",452],[5,"UserData",452],[5,"BTreeSet",1263],[5,"MaxLengthExceededError",452],[5,"NodeAddr",1264],[5,"SignedPacket",1265],[10,"Hasher",1266],[1,"u32"],[5,"Vec",1267],[10,"NodeIdExt",452],[6,"StunAttribute",599,1268],[5,"AlternateServer",1269],[5,"StunError",1270],[5,"TransactionId",599,1271],[5,"ErrorCode",1272],[6,"Fingerprint",1273],[5,"MappedAddress",1274],[6,"MessageIntegrity",1275],[6,"MessageIntegritySha256",1276],[5,"Nonce",1277],[5,"PasswordAlgorithm",1278],[5,"PasswordAlgorithms",1279],[5,"Realm",1280],[5,"Software",1281],[5,"Unknown",1282],[5,"UnknownAttributes",1283],[5,"UserHash",1284],[5,"UserName",1285],[5,"XorMappedAddress",1286],[5,"AttributeType",1268],[5,"MessageDecoder",599,1287],[6,"MessageClass",599,1288],[5,"StunMessage",1288],[5,"StunDecodeError",599,1270],[5,"Error",1227],[6,"Error",599],[5,"DecoderContext",1287],[5,"QuicClient",851],[5,"Endpoint",1289],[10,"Iterable",1290],[5,"Server",873],[5,"CertificateDer",1291],[6,"Access",873],[5,"ClientRateLimit",873],[5,"Metrics",873,1292],[5,"StunMetrics",873,1292],[5,"ServerConfig",873],[10,"Default",1293],[10,"Debug",1227],[5,"Limits",873],[5,"ReloadingResolver",873,1294],[5,"MetricItem",1295],[5,"RelayConfig",873],[6,"AccessConfig",873],[5,"StunConfig",873],[5,"QuicConfig",873],[5,"TlsConfig",873],[6,"CertConfig",873],[17,"Value"],[5,"CertifiedKey",1296],[10,"Loader",1297],[5,"ClientHello",1298],[5,"AbortOnDropHandle",1299],[5,"ServerConfig",1298],[15,"ReceivedPacket",318],[15,"Health",318],[15,"ServerRestarting",318],[15,"Manual",1210],[15,"LetsEncrypt",1210]],"r":[[0,598],[1,1223],[2,1219],[3,1219],[4,1219],[144,1240],[154,1240],[156,1240],[609,1288],[610,1287],[622,1268],[623,1270],[625,1271],[810,1300],[848,1301],[849,1301],[850,1301],[878,1294],[884,1292],[888,1294],[893,1292]],"b":[[77,"impl-Debug-for-RelayMap"],[78,"impl-Display-for-RelayMap"],[79,"impl-Debug-for-RelayNode"],[80,"impl-Display-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-Display-for-UserData"],[528,"impl-Debug-for-UserData"],[529,"impl-Debug-for-MaxLengthExceededError"],[530,"impl-Display-for-MaxLengthExceededError"],[748,"impl-Display-for-TransactionId"],[749,"impl-Debug-for-TransactionId"],[751,"impl-Display-for-Error"],[752,"impl-Debug-for-Error"],[753,"impl-Display-for-StunDecodeError"],[754,"impl-Debug-for-StunDecodeError"],[758,"impl-From%3C%5Bu8;+stun_rs::::types::%7Bimpl%2314%7D::%7Bconstant%230%7D%5D%3E-for-TransactionId"],[759,"impl-From%3C%26%5Bu8;+stun_rs::::types::%7Bimpl%2313%7D::%7Bconstant%230%7D%5D%3E-for-TransactionId"],[760,"impl-From%3CPasswordAlgorithms%3E-for-StunAttribute"],[761,"impl-From%3CMessageIntegritySha256%3E-for-StunAttribute"],[763,"impl-From%3CRealm%3E-for-StunAttribute"],[764,"impl-From%3CSoftware%3E-for-StunAttribute"],[765,"impl-From%3CUnknownAttributes%3E-for-StunAttribute"],[766,"impl-From%3CUserHash%3E-for-StunAttribute"],[767,"impl-From%3CXorMappedAddress%3E-for-StunAttribute"],[768,"impl-From%3CUnknown%3E-for-StunAttribute"],[769,"impl-From%3CUserName%3E-for-StunAttribute"],[770,"impl-From%3CPasswordAlgorithm%3E-for-StunAttribute"],[771,"impl-From%3CAlternateServer%3E-for-StunAttribute"],[772,"impl-From%3CErrorCode%3E-for-StunAttribute"],[773,"impl-From%3CNonce%3E-for-StunAttribute"],[774,"impl-From%3CMappedAddress%3E-for-StunAttribute"],[775,"impl-From%3CMessageIntegrity%3E-for-StunAttribute"],[776,"impl-From%3CFingerprint%3E-for-StunAttribute"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAACQDSAABAAAABgAKABIAGAAsAAEAMQAJADwAAwBBABEAWwADAGkAAQBwAAEAdgAQAIkAAwCgAAEAowApAM4AHgD0AAYACAEHABIBCAAcASIATwEIAFkBHwB6AQEAfgECAIQBAACSAQkAnQEFAKkBEQC8AQAAvwEDAMQBAADMAQIA0AEJANsBFgDzAQoA/wEVABYCAAAaAgAAHQIAACACBAAtAgAAMgICADYCAQA6AgwASAIDAHgCAwB/AgEAiQIAAJECKwC+AgAAwAIaAOsCCAD3AgMA/AINAA0DBgAuAwAAMQMfAFgDCABjAwAAZgMDAIADAQCGAwEAiwMbAK0DLwDeAyAAAwQRABYEEQA+BAEAQQQLAGMEAQBvBAAAfgQrAKwEDQA=","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"],[507,"Deref::Target"],[508,"T"],[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"],[706,""],[707,"T"],[716,""],[724,"K"],[730,""],[755,"T"],[758,""],[762,"T"],[763,""],[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"],[895,""],[906,"T"],[938,""],[942,"T"],[944,""],[946,"T"],[989,""],[991,"EC,EA"],[992,""],[993,"T"],[996,"Loader,Deref::Target"],[997,"T"],[1026,""],[1041,"K"],[1045,""],[1051,"Loader"],[1052,"EC,EA"],[1054,""],[1058,"EC,EA"],[1059,""],[1061,"EC,EA"],[1062,""],[1064,"T"],[1079,""],[1087,"Loader"],[1088,""],[1100,"U"],[1116,""],[1132,"Loader"],[1142,""],[1143,"EC,EA"],[1145,""],[1149,"T"],[1151,"U,T"],[1165,"U"],[1179,""],[1195,"V"],[1212,""]]}]]')); if (typeof exports !== 'undefined') exports.searchIndex = searchIndex; else if (window.initSearch) window.initSearch(searchIndex); -//{"start":39,"fragment_lengths":[437,67010,8268,6257,10042,29737]} \ No newline at end of file +//{"start":39,"fragment_lengths":[437,71095,8268,6728,10775,31313]} \ No newline at end of file diff --git a/pr/3262/docs/search.desc/iroh/iroh-desc-0-.js b/pr/3262/docs/search.desc/iroh/iroh-desc-0-.js index 4313282883..23d4f0e985 100644 --- a/pr/3262/docs/search.desc/iroh/iroh-desc-0-.js +++ b/pr/3262/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 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.\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\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?\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 diff --git a/pr/3262/docs/settings.html b/pr/3262/docs/settings.html index 99365f8fca..cb9c1523e7 100644 --- a/pr/3262/docs/settings.html +++ b/pr/3262/docs/settings.html @@ -1 +1 @@ -Settings

    Rustdoc settings

    Back
    \ No newline at end of file +Settings

    Rustdoc settings

    Back
    \ No newline at end of file diff --git a/pr/3262/docs/src/iroh/discovery/pkarr/dht.rs.html b/pr/3262/docs/src/iroh/discovery/pkarr/dht.rs.html index cb2ab0bd40..16f1de92f1 100644 --- a/pr/3262/docs/src/iroh/discovery/pkarr/dht.rs.html +++ b/pr/3262/docs/src/iroh/discovery/pkarr/dht.rs.html @@ -365,86 +365,7 @@ 364 365 366 -367 -368 -369 -370 -371 -372 -373 -374 -375 -376 -377 -378 -379 -380 -381 -382 -383 -384 -385 -386 -387 -388 -389 -390 -391 -392 -393 -394 -395 -396 -397 -398 -399 -400 -401 -402 -403 -404 -405 -406 -407 -408 -409 -410 -411 -412 -413 -414 -415 -416 -417 -418 -419 -420 -421 -422 -423 -424 -425 -426 -427 -428 -429 -430 -431 -432 -433 -434 -435 -436 -437 -438 -439 -440 -441 -442 -443 -444 -445 -446
    //! Pkarr based node discovery for iroh, supporting both relay servers and the DHT.
    +367

    //! 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
    @@ -460,12 +381,8 @@
         stream::StreamExt,
         task::{self, AbortOnDropHandle},
         time::{self, Duration},
    -    FutureExt,
    -};
    -use pkarr::{
    -    PkarrClient, PkarrClientAsync, PkarrRelayClient, PkarrRelayClientAsync, RelaySettings,
    -    SignedPacket,
     };
    +use pkarr::{Client as PkarrClient, SignedPacket};
     use url::Url;
     
     use crate::{
    @@ -509,10 +426,7 @@
     #[derive(derive_more::Debug)]
     struct Inner {
         /// Pkarr client for interacting with the DHT.
    -    pkarr: PkarrClientAsync,
    -    /// Pkarr client for interacting with a pkarr relay
    -    #[debug("Option<PkarrRelayClientAsync>")]
    -    pkarr_relay: Option<PkarrRelayClientAsync>,
    +    pkarr: PkarrClient,
         /// The background task that periodically publishes the node address.
         ///
         /// Due to [`AbortOnDropHandle`], this will be aborted when the discovery is dropped.
    @@ -523,8 +437,6 @@
         secret_key: Option<SecretKey>,
         /// Optional pkarr relay URL to use.
         relay_url: Option<Url>,
    -    /// Whether to publish to the mainline DHT.
    -    dht: bool,
         /// Time-to-live value for the DNS packets.
         ttl: u32,
         /// True to include the direct addresses in the DNS packet.
    @@ -536,57 +448,29 @@
     }
     
     impl Inner {
    -    async fn resolve_relay(&self, key: pkarr::PublicKey) -> Option<Result<DiscoveryItem>> {
    -        tracing::info!("resolving {} from relay {:?}", key.to_z32(), self.relay_url);
    -
    -        let maybe_packet = self
    -            .pkarr_relay
    -            .as_ref()
    -            .expect("checked")
    -            .resolve(&key)
    -            .await;
    -        match maybe_packet {
    -            Ok(Some(signed_packet)) => match NodeInfo::from_pkarr_signed_packet(&signed_packet) {
    -                Ok(node_info) => {
    -                    tracing::info!("discovered node info from relay {:?}", node_info);
    -                    Some(Ok(DiscoveryItem::new(node_info, "relay", None)))
    -                }
    -                Err(_err) => {
    -                    tracing::debug!("failed to parse signed packet as node info");
    -                    None
    -                }
    -            },
    -            Ok(None) => {
    -                tracing::debug!("no signed packet found in relay");
    -                None
    -            }
    -            Err(err) => {
    -                tracing::debug!("failed to get signed packet from relay: {}", err);
    -                Some(Err(err.into()))
    -            }
    -        }
    -    }
    -    async fn resolve_dht(&self, key: pkarr::PublicKey) -> Option<Result<DiscoveryItem>> {
    -        tracing::info!("resolving {} from DHT", key.to_z32());
    +    async fn resolve_pkarr(&self, key: pkarr::PublicKey) -> Option<Result<DiscoveryItem>> {
    +        tracing::info!(
    +            "resolving {} from relay and DHT {:?}",
    +            key.to_z32(),
    +            self.relay_url
    +        );
     
             let maybe_packet = self.pkarr.resolve(&key).await;
             match maybe_packet {
    -            Ok(Some(signed_packet)) => match NodeInfo::from_pkarr_signed_packet(&signed_packet) {
    +            Some(signed_packet) => match NodeInfo::from_pkarr_signed_packet(&signed_packet) {
                     Ok(node_info) => {
    -                    tracing::info!("discovered node info from DHT {:?}", &node_info);
    -                    Some(Ok(DiscoveryItem::new(node_info, "mainline", None)))
    +                    tracing::info!("discovered node info {:?}", node_info);
    +                    Some(Ok(DiscoveryItem::new(node_info, "pkarr", None)))
                     }
                     Err(_err) => {
                         tracing::debug!("failed to parse signed packet as node info");
                         None
                     }
                 },
    -            Ok(None) => {
    -                // nothing to do
    -                tracing::debug!("no signed packet found in DHT");
    +            None => {
    +                tracing::debug!("no signed packet found");
                     None
                 }
    -            Err(err) => Some(Err(err.into())),
             }
         }
     }
    @@ -682,37 +566,31 @@
     
         /// Builds the discovery mechanism.
         pub fn build(self) -> Result<DhtDiscovery> {
    -        let pkarr = match self.client {
    -            Some(client) => client,
    -            None => PkarrClient::new(Default::default())?,
    -        };
    -        let pkarr = pkarr.as_async();
    -        let ttl = self.ttl.unwrap_or(DEFAULT_PKARR_TTL);
    -        let relay_url = self.pkarr_relay;
    -        let dht = self.dht;
    -        let include_direct_addresses = self.include_direct_addresses;
             anyhow::ensure!(
    -            dht || relay_url.is_some(),
    +            self.dht || self.pkarr_relay.is_some(),
                 "at least one of DHT or relay must be enabled"
             );
    -
    -        let pkarr_relay = match relay_url.clone() {
    -            Some(url) => Some(
    -                PkarrRelayClient::new(RelaySettings {
    -                    relays: vec![url.to_string()],
    -                    ..RelaySettings::default()
    -                })?
    -                .as_async(),
    -            ),
    -            None => None,
    +        let pkarr = match self.client {
    +            Some(client) => client,
    +            None => {
    +                let mut builder = PkarrClient::builder();
    +                builder.no_default_network();
    +                if self.dht {
    +                    builder.dht(|x| x);
    +                }
    +                if let Some(url) = &self.pkarr_relay {
    +                    builder.relays(&[url.clone()])?;
    +                }
    +                builder.build()?
    +            }
             };
    +        let ttl = self.ttl.unwrap_or(DEFAULT_PKARR_TTL);
    +        let include_direct_addresses = self.include_direct_addresses;
     
             Ok(DhtDiscovery(Arc::new(Inner {
                 pkarr,
    -            pkarr_relay,
                 ttl,
    -            relay_url,
    -            dht,
    +            relay_url: self.pkarr_relay,
                 include_direct_addresses,
                 secret_key: self.secret_key,
                 initial_publish_delay: self.initial_publish_delay,
    @@ -738,45 +616,22 @@
             // we have not published anything to the DHT yet.
             time::sleep(this.0.initial_publish_delay).await;
             loop {
    -            // publish to the DHT if enabled
    -            let dht_publish = async {
    -                if this.0.dht {
    -                    let res = this.0.pkarr.publish(&signed_packet).await;
    -                    match res {
    -                        Ok(()) => {
    -                            tracing::debug!("pkarr publish success. published under {z32}",);
    -                        }
    -                        Err(e) => {
    -                            // we could do a smaller delay here, but in general DHT publish
    -                            // not working is due to a network issue, and if the network changes
    -                            // the task will be restarted anyway.
    -                            //
    -                            // Being unable to publish to the DHT is something that is expected
    -                            // to happen from time to time, so this does not warrant a error log.
    -                            tracing::warn!("pkarr publish error: {}", e);
    -                        }
    -                    }
    +            // TODO: publish takes a compare-and-swap timestamp, make use of that.
    +            let res = this.0.pkarr.publish(&signed_packet, None).await;
    +            match res {
    +                Ok(()) => {
    +                    tracing::debug!("pkarr publish success. published under {z32}",);
                     }
    -            };
    -            // publish to the relay if enabled
    -            let relay_publish = async {
    -                if let Some(relay) = this.0.pkarr_relay.as_ref() {
    -                    tracing::info!(
    -                        "publishing to relay: {:?}",
    -                        this.0.relay_url.as_ref().map(|r| r.to_string())
    -                    );
    -                    match relay.publish(&signed_packet).await {
    -                        Ok(_) => {
    -                            tracing::debug!("pkarr publish to relay success");
    -                        }
    -                        Err(e) => {
    -                            tracing::warn!("pkarr publish to relay error: {}", e);
    -                        }
    -                    }
    +                Err(e) => {
    +                    // we could do a smaller delay here, but in general DHT publish
    +                    // not working is due to a network issue, and if the network changes
    +                    // the task will be restarted anyway.
    +                    //
    +                    // Being unable to publish to the DHT is something that is expected
    +                    // to happen from time to time, so this does not warrant a error log.
    +                    tracing::warn!("pkarr publish error: {}", e);
                     }
    -            };
    -            // do both at the same time
    -            tokio::join!(relay_publish, dht_publish);
    +            }
                 time::sleep(this.0.republish_delay).await;
             }
         }
    @@ -811,21 +666,13 @@
             let pkarr_public_key =
                 pkarr::PublicKey::try_from(node_id.as_bytes()).expect("valid public key");
             tracing::info!("resolving {} as {}", node_id, pkarr_public_key.to_z32());
    -
    -        let mut stream = n0_future::FuturesUnorderedBounded::new(2);
    -        if self.0.pkarr_relay.is_some() {
    -            let key = pkarr_public_key.clone();
    -            let discovery = self.0.clone();
    -            stream.push(async move { discovery.resolve_relay(key).await }.boxed());
    -        }
    -
    -        if self.0.dht {
    -            let key = pkarr_public_key.clone();
    -            let discovery = self.0.clone();
    -            stream.push(async move { discovery.resolve_dht(key).await }.boxed());
    -        }
    -
    -        Some(stream.filter_map(|t| t).boxed())
    +        let discovery = self.0.clone();
    +        let stream = n0_future::stream::once_future(async move {
    +            discovery.resolve_pkarr(pkarr_public_key).await
    +        })
    +        .filter_map(|x| x)
    +        .boxed();
    +        Some(stream)
         }
     }
     
    @@ -834,7 +681,6 @@
         use std::collections::BTreeSet;
     
         use iroh_base::RelayUrl;
    -    use pkarr::mainline::dht::DhtSettings;
         use testresult::TestResult;
         use tracing_test::traced_test;
     
    @@ -846,20 +692,16 @@
         async fn dht_discovery_smoke() -> TestResult {
             let ep = crate::Endpoint::builder().bind().await?;
             let secret = ep.secret_key().clone();
    -        let testnet = pkarr::mainline::dht::Testnet::new(2);
    -        let settings = pkarr::Settings {
    -            dht: DhtSettings {
    -                bootstrap: Some(testnet.bootstrap.clone()),
    -                ..Default::default()
    -            },
    -            ..Default::default()
    -        };
    -        let client = PkarrClient::new(settings)?;
    +        let testnet = pkarr::mainline::Testnet::new_async(3).await?;
    +        let client = pkarr::Client::builder()
    +            .dht(|builder| builder.bootstrap(&testnet.bootstrap))
    +            .build()?;
             let discovery = DhtDiscovery::builder()
                 .secret_key(secret.clone())
                 .initial_publish_delay(Duration::ZERO)
                 .client(client)
                 .build()?;
    +
             let relay_url: RelayUrl = Url::parse("https://example.com")?.into();
     
             let data = NodeData::default().with_relay_url(Some(relay_url.clone()));
    diff --git a/pr/3262/docs/src/iroh/endpoint.rs.html b/pr/3262/docs/src/iroh/endpoint.rs.html
    index 25530ff071..ece7d8ace5 100644
    --- a/pr/3262/docs/src/iroh/endpoint.rs.html
    +++ b/pr/3262/docs/src/iroh/endpoint.rs.html
    @@ -2916,7 +2916,185 @@
     2915
     2916
     2917
    -2918
    //! The [`Endpoint`] allows establishing connections to other iroh nodes.
    +2918
    +2919
    +2920
    +2921
    +2922
    +2923
    +2924
    +2925
    +2926
    +2927
    +2928
    +2929
    +2930
    +2931
    +2932
    +2933
    +2934
    +2935
    +2936
    +2937
    +2938
    +2939
    +2940
    +2941
    +2942
    +2943
    +2944
    +2945
    +2946
    +2947
    +2948
    +2949
    +2950
    +2951
    +2952
    +2953
    +2954
    +2955
    +2956
    +2957
    +2958
    +2959
    +2960
    +2961
    +2962
    +2963
    +2964
    +2965
    +2966
    +2967
    +2968
    +2969
    +2970
    +2971
    +2972
    +2973
    +2974
    +2975
    +2976
    +2977
    +2978
    +2979
    +2980
    +2981
    +2982
    +2983
    +2984
    +2985
    +2986
    +2987
    +2988
    +2989
    +2990
    +2991
    +2992
    +2993
    +2994
    +2995
    +2996
    +2997
    +2998
    +2999
    +3000
    +3001
    +3002
    +3003
    +3004
    +3005
    +3006
    +3007
    +3008
    +3009
    +3010
    +3011
    +3012
    +3013
    +3014
    +3015
    +3016
    +3017
    +3018
    +3019
    +3020
    +3021
    +3022
    +3023
    +3024
    +3025
    +3026
    +3027
    +3028
    +3029
    +3030
    +3031
    +3032
    +3033
    +3034
    +3035
    +3036
    +3037
    +3038
    +3039
    +3040
    +3041
    +3042
    +3043
    +3044
    +3045
    +3046
    +3047
    +3048
    +3049
    +3050
    +3051
    +3052
    +3053
    +3054
    +3055
    +3056
    +3057
    +3058
    +3059
    +3060
    +3061
    +3062
    +3063
    +3064
    +3065
    +3066
    +3067
    +3068
    +3069
    +3070
    +3071
    +3072
    +3073
    +3074
    +3075
    +3076
    +3077
    +3078
    +3079
    +3080
    +3081
    +3082
    +3083
    +3084
    +3085
    +3086
    +3087
    +3088
    +3089
    +3090
    +3091
    +3092
    +3093
    +3094
    +3095
    +3096
    //! 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
    @@ -3175,7 +3353,7 @@
         /// Sets the [ALPN] protocols that this endpoint will accept on incoming connections.
         ///
         /// Not setting this will still allow creating connections, but to accept incoming
    -    /// connections the [ALPN] must be set.
    +    /// connections at least one [ALPN] must be set.
         ///
         /// [ALPN]: https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation
         pub fn alpns(mut self, alpn_protocols: Vec<Vec<u8>>) -> Self {
    @@ -3674,7 +3852,8 @@
                 "Attempting connection..."
             );
             let client_config = {
    -            let alpn_protocols = vec![alpn.to_vec()];
    +            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,
    @@ -4033,22 +4212,19 @@
         /// You can access individual metrics directly by using the public fields:
         /// ```rust
         /// # use std::collections::BTreeMap;
    -    /// # use iroh_metrics::{MetricsGroup, MetricValue, MetricsGroupSet};
         /// # use iroh::endpoint::Endpoint;
         /// # async fn wrapper() -> testresult::TestResult {
         /// let endpoint = Endpoint::builder().bind().await?;
    -    /// let metrics = endpoint.metrics();
    -    ///
    -    /// assert_eq!(metrics.magicsock.recv_datagrams.get(), 0);
    +    /// assert_eq!(endpoint.metrics().magicsock.recv_datagrams.get(), 0);
         /// # Ok(())
         /// # }
         /// ```
         ///
         /// [`EndpointMetrics`] implements [`MetricsGroupSet`], and each field
    -    /// implements [`MetricsGroup`]. These trait provides various methods to iterate
    +    /// implements [`MetricsGroup`]. These trait provides methods to iterate over
         /// the groups in the set, and over the individual metrics in each group, without having
         /// to access each field manually. With these methods, it is straightforward to collect
    -    /// all metrics into a map or push their values to some other metrics collector.
    +    /// all metrics into a map or push their values to a metrics collector.
         ///
         /// For example, the following snippet collects all metrics into a map:
         /// ```rust
    @@ -4071,15 +4247,72 @@
         /// # }
         /// ```
         ///
    -    /// The metrics can also be used with the types from the [`prometheus_client`] crate.
    -    /// With [`EndpointMetrics::register`], you can register all metrics onto a onto a
    -    /// [`Registry`]. [`iroh_metrics`] provides functions to easily start services
    -    /// to serve the metrics with a HTTP server, dump them to a file, or push them
    -    /// to a Prometheus gateway. See the `service` module in [`iroh_metrics`] for details.
    +    /// The metrics can also be encoded into the OpenMetrics text format, as used by Prometheus.
    +    /// To do so, use the [`iroh_metrics::Registry`], add the endpoint metrics to the
    +    /// registry with [`Registry::register_all`], and encode the metrics to a string with
    +    /// [`encode_openmetrics_to_string`]:
    +    /// ```rust
    +    /// # use iroh_metrics::{Registry, MetricsSource};
    +    /// # use iroh::endpoint::Endpoint;
    +    /// # async fn wrapper() -> testresult::TestResult {
    +    /// let endpoint = Endpoint::builder().bind().await?;
    +    /// let mut registry = Registry::default();
    +    /// registry.register_all(endpoint.metrics());
    +    /// let s = registry.encode_openmetrics_to_string()?;
    +    /// assert!(s.contains(r#"TYPE magicsock_recv_datagrams counter"#));
    +    /// assert!(s.contains(r#"magicsock_recv_datagrams_total 0"#));
    +    /// # Ok(())
    +    /// # }
    +    /// ```
         ///
    -    /// [`prometheus_client`]: https://docs.rs/prometheus-client/latest/prometheus_client/index.html
    -    /// [`Registry`]: https://docs.rs/prometheus-client/latest/prometheus_client/registry/struct.Registry.html
    -    /// [`EndpointMetrics::register`]: iroh_metrics::MetricsGroupSet::register
    +    /// Through a registry, you can also add labels or prefixes to metrics with
    +    /// [`Registry::sub_registry_with_label`] or [`Registry::sub_registry_with_prefix`].
    +    /// Furthermore, [`iroh_metrics::service`] provides functions to easily start services
    +    /// to serve the metrics with a HTTP server, dump them to a file, or push them
    +    /// to a Prometheus gateway.
    +    ///
    +    /// For example, the following snippet launches an HTTP server that serves the metrics in the
    +    /// OpenMetrics text format:
    +    /// ```no_run
    +    /// # use std::{sync::{Arc, RwLock}, time::Duration};
    +    /// # use iroh_metrics::{Registry, MetricsSource};
    +    /// # use iroh::endpoint::Endpoint;
    +    /// # async fn wrapper() -> testresult::TestResult {
    +    /// // Create a registry, wrapped in a read-write lock so that we can register and serve
    +    /// // the metrics independently.
    +    /// let registry = Arc::new(RwLock::new(Registry::default()));
    +    /// // Spawn a task to serve the metrics on an OpenMetrics HTTP endpoint.
    +    /// let metrics_task = tokio::task::spawn({
    +    ///     let registry = registry.clone();
    +    ///     async move {
    +    ///         let addr = "0.0.0.0:9100".parse().unwrap();
    +    ///         iroh_metrics::service::start_metrics_server(addr, registry).await
    +    ///     }
    +    /// });
    +    ///
    +    /// // Spawn an endpoint and add the metrics to the registry.
    +    /// let endpoint = Endpoint::builder().bind().await?;
    +    /// registry.write().unwrap().register_all(endpoint.metrics());
    +    ///
    +    /// // Wait for the metrics server to bind, then fetch the metrics via HTTP.
    +    /// tokio::time::sleep(Duration::from_millis(500));
    +    /// let res = reqwest::get("http://localhost:9100/metrics")
    +    ///     .await?
    +    ///     .text()
    +    ///     .await?;
    +    ///
    +    /// assert!(res.contains(r#"TYPE magicsock_recv_datagrams counter"#));
    +    /// assert!(res.contains(r#"magicsock_recv_datagrams_total 0"#));
    +    /// # metrics_task.abort();
    +    /// # Ok(())
    +    /// # }
    +    /// ```
    +    ///
    +    /// [`Registry`]: iroh_metrics::Registry
    +    /// [`Registry::register_all`]: iroh_metrics::Registry::register_all
    +    /// [`Registry::sub_registry_with_label`]: iroh_metrics::Registry::sub_registry_with_label
    +    /// [`Registry::sub_registry_with_prefix`]: iroh_metrics::Registry::sub_registry_with_prefix
    +    /// [`encode_openmetrics_to_string`]: iroh_metrics::MetricsSource::encode_openmetrics_to_string
         /// [`MetricsGroup`]: iroh_metrics::MetricsGroup
         /// [`MetricsGroupSet`]: iroh_metrics::MetricsGroupSet
         #[cfg(feature = "metrics")]
    @@ -4247,6 +4480,7 @@
     #[derive(Default, Debug, Clone)]
     pub struct ConnectOptions {
         transport_config: Option<Arc<TransportConfig>>,
    +    additional_alpns: Vec<Vec<u8>>,
     }
     
     impl ConnectOptions {
    @@ -4263,6 +4497,31 @@
             self.transport_config = Some(transport_config);
             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
    +    /// function.
    +    ///
    +    /// You'll know the final negotiated [ALPN] identifier once your connection was
    +    /// established using [`Connection::alpn`], or even slightly earlier in the
    +    /// handshake by using [`Connecting::alpn`].
    +    /// The negotiated [ALPN] identifier may be any of the [ALPN] identifiers in this
    +    /// list or the main [ALPN] used in [`Endpoint::connect_with_opts`].
    +    ///
    +    /// The [ALPN] identifier order on the connect side doesn't matter, since it's the
    +    /// accept side that determines the protocol.
    +    ///
    +    /// For setting the supported [ALPN] identifiers on the accept side, see the endpoint
    +    /// builder's [`Builder::alpns`] function.
    +    ///
    +    /// [ALPN]: https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation
    +    pub fn with_additional_alpns(mut self, alpns: Vec<Vec<u8>>) -> Self {
    +        self.additional_alpns = alpns;
    +        self
    +    }
     }
     
     /// Future produced by [`Endpoint::accept`].
    @@ -5010,7 +5269,7 @@
     
         use std::time::Instant;
     
    -    use iroh_metrics::{service::MetricsSource, MetricsGroupSet};
    +    use iroh_metrics::MetricsSource;
         use iroh_relay::http::Protocol;
         use n0_future::StreamExt;
         use rand::SeedableRng;
    @@ -5820,16 +6079,113 @@
     
             // test openmetrics encoding with labeled subregistries per endpoint
             fn register_endpoint(registry: &mut Registry, endpoint: &Endpoint) {
    -            let id = endpoint.node_id().fmt_short().into();
    -            let sub_registry = registry.sub_registry_with_label(("id".into(), id));
    -            endpoint.metrics().register(sub_registry);
    +            let id = endpoint.node_id().fmt_short();
    +            let sub_registry = registry.sub_registry_with_label("id", id);
    +            sub_registry.register_all(endpoint.metrics());
             }
             let mut registry = Registry::default();
             register_endpoint(&mut registry, &client);
             register_endpoint(&mut registry, &server);
    -        let s = registry.encode_openmetrics()?;
    +        let s = registry.encode_openmetrics_to_string()?;
             assert!(s.contains(r#"magicsock_nodes_contacted_directly_total{id="3b6a27bcce"} 1"#));
             assert!(s.contains(r#"magicsock_nodes_contacted_directly_total{id="8a88e3dd74"} 1"#));
    +        Ok(())
    +    }
    +
    +    /// Configures the accept side to take `accept_alpns` ALPNs, then connects to it with `primary_connect_alpn`
    +    /// with `secondary_connect_alpns` set, and finally returns the negotiated ALPN.
    +    async fn alpn_connection_test(
    +        accept_alpns: Vec<Vec<u8>>,
    +        primary_connect_alpn: &[u8],
    +        secondary_connect_alpns: Vec<Vec<u8>>,
    +    ) -> testresult::TestResult<Option<Vec<u8>>> {
    +        let client = Endpoint::builder()
    +            .relay_mode(RelayMode::Disabled)
    +            .bind()
    +            .await?;
    +        let server = Endpoint::builder()
    +            .relay_mode(RelayMode::Disabled)
    +            .alpns(accept_alpns)
    +            .bind()
    +            .await?;
    +        let server_addr = server.node_addr().await?;
    +        let server_task = tokio::spawn({
    +            let server = server.clone();
    +            async move {
    +                let incoming = server.accept().await.unwrap();
    +                let conn = incoming.await?;
    +                conn.close(0u32.into(), b"bye!");
    +                testresult::TestResult::Ok(conn.alpn())
    +            }
    +        });
    +
    +        let conn = client
    +            .connect_with_opts(
    +                server_addr,
    +                primary_connect_alpn,
    +                ConnectOptions::new().with_additional_alpns(secondary_connect_alpns),
    +            )
    +            .await?;
    +        let conn = conn.await?;
    +        let client_alpn = conn.alpn();
    +        conn.closed().await;
    +        client.close().await;
    +        server.close().await;
    +
    +        let server_alpn = server_task.await??;
    +
    +        assert_eq!(client_alpn, server_alpn);
    +
    +        Ok(server_alpn)
    +    }
    +
    +    #[tokio::test]
    +    #[traced_test]
    +    async fn connect_multiple_alpn_negotiated() -> testresult::TestResult {
    +        const ALPN_ONE: &[u8] = b"alpn/1";
    +        const ALPN_TWO: &[u8] = b"alpn/2";
    +
    +        assert_eq!(
    +            alpn_connection_test(
    +                // Prefer version 2 over version 1 on the accept side
    +                vec![ALPN_TWO.to_vec(), ALPN_ONE.to_vec()],
    +                ALPN_TWO,
    +                vec![ALPN_ONE.to_vec()],
    +            )
    +            .await?,
    +            Some(ALPN_TWO.to_vec()),
    +            "accept side prefers version 2 over 1"
    +        );
    +
    +        assert_eq!(
    +            alpn_connection_test(
    +                // Only support the old version
    +                vec![ALPN_ONE.to_vec()],
    +                ALPN_TWO,
    +                vec![ALPN_ONE.to_vec()],
    +            )
    +            .await?,
    +            Some(ALPN_ONE.to_vec()),
    +            "accept side only supports the old version"
    +        );
    +
    +        assert_eq!(
    +            alpn_connection_test(
    +                vec![ALPN_TWO.to_vec(), ALPN_ONE.to_vec()],
    +                ALPN_ONE,
    +                vec![ALPN_TWO.to_vec()],
    +            )
    +            .await?,
    +            Some(ALPN_TWO.to_vec()),
    +            "connect side ALPN order doesn't matter"
    +        );
    +
    +        assert_eq!(
    +            alpn_connection_test(vec![ALPN_TWO.to_vec(), ALPN_ONE.to_vec()], ALPN_ONE, vec![],)
    +                .await?,
    +            Some(ALPN_ONE.to_vec()),
    +            "connect side only supports the old version"
    +        );
     
             Ok(())
         }
    diff --git a/pr/3262/docs/src/iroh/magicsock/metrics.rs.html b/pr/3262/docs/src/iroh/magicsock/metrics.rs.html
    index 0bf31a1901..6c9fe5a531 100644
    --- a/pr/3262/docs/src/iroh/magicsock/metrics.rs.html
    +++ b/pr/3262/docs/src/iroh/magicsock/metrics.rs.html
    @@ -79,12 +79,14 @@
     78
     79
     80
    -81
    use iroh_metrics::{Counter, MetricsGroup};
    +81
    +82
    use iroh_metrics::{Counter, MetricsGroup};
    +use serde::{Deserialize, Serialize};
     
     /// Enum of metrics for the module
     // TODO(frando): Add description doc strings for each metric.
     #[allow(missing_docs)]
    -#[derive(Debug, Clone, MetricsGroup)]
    +#[derive(Debug, Default, Serialize, Deserialize, MetricsGroup)]
     #[non_exhaustive]
     #[metrics(name = "magicsock")]
     pub struct Metrics {
    diff --git a/pr/3262/docs/src/iroh/metrics.rs.html b/pr/3262/docs/src/iroh/metrics.rs.html
    index c2af1689bd..aec58524ca 100644
    --- a/pr/3262/docs/src/iroh/metrics.rs.html
    +++ b/pr/3262/docs/src/iroh/metrics.rs.html
    @@ -40,26 +40,23 @@
     39
     40
     41
    -42
    -43
    -44
    -45
    -46
    -47
    //! Co-locating all of the iroh metrics structs
    +42
    //! Co-locating all of the iroh metrics structs
     use std::sync::Arc;
     
    -use iroh_metrics::{MetricsGroup, MetricsGroupSet};
    +use iroh_metrics::MetricsGroupSet;
     #[cfg(feature = "test-utils")]
     pub use iroh_relay::server::Metrics as RelayMetrics;
     #[cfg(not(wasm_browser))]
     pub use portmapper::Metrics as PortmapMetrics;
    +use serde::{Deserialize, Serialize};
     
     pub use crate::{magicsock::Metrics as MagicsockMetrics, net_report::Metrics as NetReportMetrics};
     
     /// Metrics collected by an [`crate::endpoint::Endpoint`].
     ///
     /// See [`crate::endpoint::Endpoint::metrics`] for details.
    -#[derive(Default, Debug, Clone)]
    +#[derive(Default, Debug, Clone, Serialize, Deserialize, MetricsGroupSet)]
    +#[metrics(name = "endpoint")]
     #[non_exhaustive]
     pub struct EndpointMetrics {
         /// Metrics collected by the endpoint's socket.
    @@ -71,25 +68,18 @@
         pub portmapper: Arc<PortmapMetrics>,
     }
     
    -impl MetricsGroupSet for EndpointMetrics {
    -    fn groups(&self) -> impl Iterator<Item = &dyn MetricsGroup> {
    -        #[cfg(not(wasm_browser))]
    -        return [
    -            &*self.magicsock as &dyn MetricsGroup,
    -            &*self.net_report as &dyn MetricsGroup,
    -            &*self.portmapper as &dyn MetricsGroup,
    -        ]
    -        .into_iter();
    -        #[cfg(wasm_browser)]
    -        return [
    -            &*self.magicsock as &dyn MetricsGroup,
    -            &*self.net_report as &dyn MetricsGroup,
    -        ]
    -        .into_iter();
    +#[cfg(test)]
    +mod tests {
    +    use super::EndpointMetrics;
    +    #[test]
    +    fn test_serde() {
    +        let metrics = EndpointMetrics::default();
    +        metrics.magicsock.actor_link_change.inc();
    +        metrics.net_report.reports.inc_by(10);
    +        let encoded = postcard::to_stdvec(&metrics).unwrap();
    +        let decoded: EndpointMetrics = postcard::from_bytes(&encoded).unwrap();
    +        assert_eq!(decoded.magicsock.actor_link_change.get(), 1);
    +        assert_eq!(decoded.net_report.reports.get(), 10);
         }
    -
    -    fn name(&self) -> &'static str {
    -        "endpoint"
    -    }
     }
     
    \ No newline at end of file diff --git a/pr/3262/docs/src/iroh/net_report/metrics.rs.html b/pr/3262/docs/src/iroh/net_report/metrics.rs.html index 137c5f4c5f..e88e037cc1 100644 --- a/pr/3262/docs/src/iroh/net_report/metrics.rs.html +++ b/pr/3262/docs/src/iroh/net_report/metrics.rs.html @@ -20,10 +20,12 @@ 19 20 21 -22
    use iroh_metrics::{Counter, MetricsGroup};
    +22
    +23
    use iroh_metrics::{Counter, MetricsGroup};
    +use serde::{Deserialize, Serialize};
     
     /// Enum of metrics for the module
    -#[derive(Debug, Clone, MetricsGroup)]
    +#[derive(Debug, Default, MetricsGroup, Serialize, Deserialize)]
     #[metrics(name = "net_report")]
     #[non_exhaustive]
     pub struct Metrics {
    diff --git a/pr/3262/docs/src/iroh/test_utils.rs.html b/pr/3262/docs/src/iroh/test_utils.rs.html
    index d520aa2f63..858bfbd2d0 100644
    --- a/pr/3262/docs/src/iroh/test_utils.rs.html
    +++ b/pr/3262/docs/src/iroh/test_utils.rs.html
    @@ -854,7 +854,7 @@
         pub async fn run_pkarr_relay(state: AppState) -> Result<(Url, CleanupDropGuard)> {
             let bind_addr = SocketAddr::from((Ipv4Addr::LOCALHOST, 0));
             let app = Router::new()
    -            .route("/pkarr/:key", put(pkarr_put))
    +            .route("/pkarr/{key}", put(pkarr_put))
                 .with_state(state);
             let listener = tokio::net::TcpListener::bind(bind_addr).await?;
             let bound_addr = listener.local_addr()?;
    diff --git a/pr/3262/docs/src/iroh_dns_server/http.rs.html b/pr/3262/docs/src/iroh_dns_server/http.rs.html
    index 9dd2b0e04f..9a2fbb9474 100644
    --- a/pr/3262/docs/src/iroh_dns_server/http.rs.html
    +++ b/pr/3262/docs/src/iroh_dns_server/http.rs.html
    @@ -483,7 +483,7 @@
         let router = Router::new()
             .route("/dns-query", get(doh::get).post(doh::post))
             .route(
    -            "/pkarr/:key",
    +            "/pkarr/{key}",
                 if let Some(rate_limit) = rate_limit {
                     get(pkarr::get).put(pkarr::put.layer(rate_limit))
                 } else {
    diff --git a/pr/3262/docs/src/iroh_dns_server/http/doh/extract.rs.html b/pr/3262/docs/src/iroh_dns_server/http/doh/extract.rs.html
    index ffb0319128..6024216902 100644
    --- a/pr/3262/docs/src/iroh_dns_server/http/doh/extract.rs.html
    +++ b/pr/3262/docs/src/iroh_dns_server/http/doh/extract.rs.html
    @@ -250,19 +250,31 @@
     249
     250
     251
    -252
    //! Extractors for DNS-over-HTTPS requests
    +252
    +253
    +254
    +255
    +256
    +257
    +258
    +259
    +260
    +261
    +262
    +263
    //! Extractors for DNS-over-HTTPS requests
     
     // This module is mostly copied from
     // https://github.com/fission-codes/fission-server/blob/394de877fad021260c69fdb1edd7bb4b2f98108c/fission-server/src/extract/doh.rs
     
     use std::{
         fmt::{self, Display, Formatter},
    +    future::Future,
         net::SocketAddr,
         str::FromStr,
     };
     
    -use async_trait::async_trait;
     use axum::{
    +    body::Body,
         extract::{ConnectInfo, FromRequest, FromRequestParts, Query},
         http::Request,
     };
    @@ -350,53 +362,63 @@
     #[derive(Debug)]
     pub struct DnsRequestBody(pub(crate) DNSRequest);
     
    -#[async_trait]
    -impl<S> FromRequestParts<S> for DnsRequestQuery
    +impl<S> FromRequestParts<S> for DnsRequestQuery
     where
         S: Send + Sync,
     {
         type Rejection = AppError;
     
    -    async fn from_request_parts(parts: &mut Parts, state: &S) -> Result<Self, Self::Rejection> {
    -        let ConnectInfo(src_addr) = ConnectInfo::from_request_parts(parts, state).await?;
    +    #[allow(clippy::manual_async_fn)]
    +    fn from_request_parts(
    +        parts: &mut Parts,
    +        state: &S,
    +    ) -> impl Future<Output = Result<Self, Self::Rejection>> + Send {
    +        async move {
    +            let ConnectInfo(src_addr) = ConnectInfo::from_request_parts(parts, state).await?;
     
    -        match parts.headers.get(header::ACCEPT) {
    -            Some(content_type) if content_type == "application/dns-message" => {
    -                handle_dns_message_query(parts, state, src_addr).await
    -            }
    -            Some(content_type) if content_type == "application/dns-json" => {
    -                handle_dns_json_query(parts, state, src_addr).await
    -            }
    -            Some(content_type) if content_type == "application/x-javascript" => {
    -                handle_dns_json_query(parts, state, src_addr).await
    -            }
    -            None => handle_dns_message_query(parts, state, src_addr).await,
    -            _ => Err(AppError::with_status(StatusCode::NOT_ACCEPTABLE)),
    +            match parts.headers.get(header::ACCEPT) {
    +                Some(content_type) if content_type == "application/dns-message" => {
    +                    handle_dns_message_query(parts, state, src_addr).await
    +                }
    +                Some(content_type) if content_type == "application/dns-json" => {
    +                    handle_dns_json_query(parts, state, src_addr).await
    +                }
    +                Some(content_type) if content_type == "application/x-javascript" => {
    +                    handle_dns_json_query(parts, state, src_addr).await
    +                }
    +                None => handle_dns_message_query(parts, state, src_addr).await,
    +                _ => Err(AppError::with_status(StatusCode::NOT_ACCEPTABLE)),
    +            }
             }
         }
     }
     
    -#[async_trait]
    -impl<S> FromRequest<S> for DnsRequestBody
    +impl<S> FromRequest<S> for DnsRequestBody
     where
         S: Send + Sync,
     {
         type Rejection = AppError;
     
    -    async fn from_request(req: axum::extract::Request, state: &S) -> Result<Self, Self::Rejection> {
    -        let (mut parts, body) = req.into_parts();
    +    #[allow(clippy::manual_async_fn)]
    +    fn from_request(
    +        req: Request<Body>,
    +        state: &S,
    +    ) -> impl Future<Output = Result<Self, Self::Rejection>> + Send {
    +        async move {
    +            let (mut parts, body) = req.into_parts();
     
    -        let ConnectInfo(src_addr) = ConnectInfo::from_request_parts(&mut parts, state).await?;
    +            let ConnectInfo(src_addr) = ConnectInfo::from_request_parts(&mut parts, state).await?;
     
    -        let req = Request::from_parts(parts, body);
    +            let req = Request::from_parts(parts, body);
     
    -        let body = Bytes::from_request(req, state)
    -            .await
    -            .map_err(|_| AppError::with_status(StatusCode::INTERNAL_SERVER_ERROR))?;
    +            let body = Bytes::from_request(req, state)
    +                .await
    +                .map_err(|_| AppError::with_status(StatusCode::INTERNAL_SERVER_ERROR))?;
     
    -        let request = decode_request(&body, src_addr)?;
    +            let request = decode_request(&body, src_addr)?;
     
    -        Ok(DnsRequestBody(request))
    +            Ok(DnsRequestBody(request))
    +        }
         }
     }
     
    diff --git a/pr/3262/docs/src/iroh_dns_server/lib.rs.html b/pr/3262/docs/src/iroh_dns_server/lib.rs.html
    index 59feb34738..afe9e1b2fd 100644
    --- a/pr/3262/docs/src/iroh_dns_server/lib.rs.html
    +++ b/pr/3262/docs/src/iroh_dns_server/lib.rs.html
    @@ -266,12 +266,7 @@
     265
     266
     267
    -268
    -269
    -270
    -271
    -272
    -273
    //! A DNS server and pkarr relay
    +268
    //! A DNS server and pkarr relay
     
     #![deny(missing_docs, rustdoc::broken_intra_doc_links)]
     
    @@ -299,7 +294,7 @@
             discovery::pkarr::PkarrRelayClient, dns::DnsResolver, node_info::NodeInfo, RelayUrl,
             SecretKey,
         };
    -    use pkarr::{PkarrClient, SignedPacket};
    +    use pkarr::{SignedPacket, Timestamp};
         use testresult::TestResult;
         use tracing_test::traced_test;
     
    @@ -374,13 +369,13 @@
                     30,
                     dns::rdata::RData::AAAA(Ipv6Addr::LOCALHOST.into()),
                 ));
    -            SignedPacket::from_packet(&keypair, &packet)?
    +            SignedPacket::new(&keypair, &packet.answers, Timestamp::now())?
             };
    -        let pkarr_client = pkarr::PkarrRelayClient::new(pkarr::RelaySettings {
    -            relays: vec![pkarr_relay_url.to_string()],
    -            ..Default::default()
    -        })?;
    -        pkarr_client.as_async().publish(&signed_packet).await?;
    +        let pkarr_client = pkarr::Client::builder()
    +            .no_default_network()
    +            .relays(&[pkarr_relay_url])?
    +            .build()?;
    +        pkarr_client.publish(&signed_packet, None).await?;
     
             use hickory_server::proto::rr::Name;
             let pubkey = signed_packet.public_key().to_z32();
    @@ -492,7 +487,7 @@
         #[traced_test]
         async fn integration_mainline() -> Result<()> {
             // run a mainline testnet
    -        let testnet = pkarr::mainline::dht::Testnet::new(5);
    +        let testnet = pkarr::mainline::Testnet::new_async(5).await?;
             let bootstrap = testnet.bootstrap.clone();
     
             // spawn our server with mainline support
    @@ -510,13 +505,11 @@
             let signed_packet = node_info.to_pkarr_signed_packet(&secret_key, 30)?;
     
             // publish the signed packet to our DHT
    -        let pkarr = PkarrClient::builder()
    -            .dht_settings(pkarr::mainline::dht::DhtSettings {
    -                bootstrap: Some(testnet.bootstrap),
    -                ..Default::default()
    -            })
    +        let pkarr = pkarr::Client::builder()
    +            .no_default_network()
    +            .dht(|builder| builder.bootstrap(&testnet.bootstrap))
                 .build()?;
    -        pkarr.publish(&signed_packet)?;
    +        pkarr.publish(&signed_packet, None).await?;
     
             // resolve via DNS from our server, which will lookup from our DHT
             let resolver = test_resolver(nameserver);
    @@ -526,9 +519,6 @@
             assert_eq!(res.relay_url(), Some(&relay_url));
     
             server.shutdown().await?;
    -        for mut node in testnet.nodes {
    -            node.shutdown()?;
    -        }
             Ok(())
         }
     
    diff --git a/pr/3262/docs/src/iroh_dns_server/metrics.rs.html b/pr/3262/docs/src/iroh_dns_server/metrics.rs.html
    index cd3f803735..ac1d76e45b 100644
    --- a/pr/3262/docs/src/iroh_dns_server/metrics.rs.html
    +++ b/pr/3262/docs/src/iroh_dns_server/metrics.rs.html
    @@ -44,7 +44,7 @@
     use iroh_metrics::{Counter, MetricsGroup};
     
     /// Metrics for iroh-dns-server
    -#[derive(Debug, Clone, MetricsGroup)]
    +#[derive(Debug, Default, MetricsGroup)]
     #[metrics(name = "dns_server")]
     pub struct Metrics {
         /// Number of pkarr relay puts that updated the state
    diff --git a/pr/3262/docs/src/iroh_dns_server/server.rs.html b/pr/3262/docs/src/iroh_dns_server/server.rs.html
    index 3ae1f6880a..05698a30d0 100644
    --- a/pr/3262/docs/src/iroh_dns_server/server.rs.html
    +++ b/pr/3262/docs/src/iroh_dns_server/server.rs.html
    @@ -150,7 +150,7 @@
     use std::sync::Arc;
     
     use anyhow::Result;
    -use iroh_metrics::{service::start_metrics_server, MetricsGroup};
    +use iroh_metrics::service::start_metrics_server;
     use tracing::info;
     
     use crate::{
    @@ -209,8 +209,8 @@
             let metrics_task = tokio::task::spawn(async move {
                 if let Some(addr) = metrics_addr {
                     let mut registry = iroh_metrics::Registry::default();
    -                metrics.register(&mut registry);
    -                start_metrics_server(addr, std::sync::Arc::new(registry)).await?;
    +                registry.register(metrics);
    +                start_metrics_server(addr, Arc::new(registry)).await?;
                 }
                 Ok(())
             });
    diff --git a/pr/3262/docs/src/iroh_dns_server/store.rs.html b/pr/3262/docs/src/iroh_dns_server/store.rs.html
    index 03b30ee56f..43a200b9f9 100644
    --- a/pr/3262/docs/src/iroh_dns_server/store.rs.html
    +++ b/pr/3262/docs/src/iroh_dns_server/store.rs.html
    @@ -267,17 +267,14 @@
     266
     267
     268
    -269
    -270
    -271
    -272
    //! Pkarr packet store used to resolve DNS queries.
    +269
    //! Pkarr packet store used to resolve DNS queries.
     
     use std::{collections::BTreeMap, num::NonZeroUsize, path::Path, sync::Arc, time::Duration};
     
     use anyhow::Result;
     use hickory_server::proto::rr::{Name, RecordSet, RecordType, RrKey};
     use lru::LruCache;
    -use pkarr::{mainline::dht::DhtSettings, PkarrClient, SignedPacket};
    +use pkarr::{Client as PkarrClient, SignedPacket};
     use tokio::sync::Mutex;
     use tracing::{debug, trace};
     use ttl_cache::TtlCache;
    @@ -342,10 +339,7 @@
             let pkarr_client = match bootstrap {
                 BootstrapOption::Default => PkarrClient::builder().build().unwrap(),
                 BootstrapOption::Custom(bootstrap) => PkarrClient::builder()
    -                .dht_settings(DhtSettings {
    -                    bootstrap: Some(bootstrap),
    -                    ..Default::default()
    -                })
    +                .dht(|builder| builder.bootstrap(&bootstrap))
                     .build()
                     .unwrap(),
             };
    @@ -393,9 +387,9 @@
                 //
                 // it will be cached for some time.
                 debug!("DHT resolve {}", key.to_z32());
    -            let packet_opt = pkarr.as_ref().clone().as_async().resolve(&key).await?;
    +            let packet_opt = pkarr.resolve(&key).await;
                 if let Some(packet) = packet_opt {
    -                debug!("DHT resolve successful {:?}", packet.packet());
    +                debug!("DHT resolve successful {:?}", packet);
                     return self
                         .cache
                         .lock()
    @@ -526,12 +520,12 @@
                 signed_packet_to_hickory_records_without_origin(signed_packet, |_| true)?;
             Ok(Self {
                 records,
    -            timestamp: signed_packet.timestamp(),
    +            timestamp: signed_packet.timestamp().into(),
             })
         }
     
         fn is_newer_than(&self, signed_packet: &SignedPacket) -> bool {
    -        self.timestamp > signed_packet.timestamp()
    +        self.timestamp > signed_packet.timestamp().into()
         }
     
         fn resolve(&self, name: &Name, record_type: RecordType) -> Option<Arc<RecordSet>> {
    diff --git a/pr/3262/docs/src/iroh_dns_server/store/signed_packets.rs.html b/pr/3262/docs/src/iroh_dns_server/store/signed_packets.rs.html
    index 50cc11c66a..bf63d737fa 100644
    --- a/pr/3262/docs/src/iroh_dns_server/store/signed_packets.rs.html
    +++ b/pr/3262/docs/src/iroh_dns_server/store/signed_packets.rs.html
    @@ -459,12 +459,10 @@
     458
     459
     460
    -461
    -462
    use std::{future::Future, path::Path, result, sync::Arc, time::Duration};
    +461
    use std::{future::Future, path::Path, result, sync::Arc, time::Duration};
     
     use anyhow::{Context, Result};
    -use bytes::Bytes;
    -use pkarr::{system_time, SignedPacket};
    +use pkarr::{SignedPacket, Timestamp};
     use redb::{
         backends::InMemoryBackend, Database, MultimapTableDefinition, ReadableTable, TableDefinition,
     };
    @@ -582,7 +580,7 @@
                 let transaction = self.db.begin_write()?;
                 let mut tables = Tables::new(&transaction)?;
                 let timeout = tokio::time::sleep(self.options.max_batch_time);
    -            let expired = system_time() - expiry_us;
    +            let expired = Timestamp::now() - expiry_us;
                 tokio::pin!(timeout);
                 for _ in 0..self.options.max_batch_size {
                     tokio::select! {
    @@ -596,7 +594,7 @@
                             match msg {
                                 Message::Get { key, res } => {
                                     trace!("get {}", key);
    -                                let packet = get_packet(&tables.signed_packets, &key)?;
    +                                let packet = get_packet(&tables.signed_packets, &key).context("get packet failed")?;
                                     res.send(packet).ok();
                                 }
                                 Message::Upsert { packet, res } => {
    @@ -608,15 +606,15 @@
                                             continue;
                                         } else {
                                             // remove the packet from the update time index
    -                                        tables.update_time.remove(&packet.timestamp().to_be_bytes(), key.as_bytes())?;
    +                                        tables.update_time.remove(&packet.timestamp().to_bytes(), key.as_bytes())?;
                                             true
                                         }
                                     } else {
                                         false
                                     };
    -                                let value = packet.as_bytes();
    +                                let value = packet.serialize();
                                     tables.signed_packets.insert(key.as_bytes(), &value[..])?;
    -                                tables.update_time.insert(&packet.timestamp().to_be_bytes(), key.as_bytes())?;
    +                                tables.update_time.insert(&packet.timestamp().to_bytes(), key.as_bytes())?;
                                     if replaced {
                                         self.metrics.store_packets_updated.inc();
                                     } else {
    @@ -627,8 +625,8 @@
                                 Message::Remove { key, res } => {
                                     trace!("remove {}", key);
                                     let updated = if let Some(row) = tables.signed_packets.remove(key.as_bytes())? {
    -                                    let packet = SignedPacket::from_bytes(&Bytes::copy_from_slice(row.value()))?;
    -                                    tables.update_time.remove(&packet.timestamp().to_be_bytes(), key.as_bytes())?;
    +                                    let packet = SignedPacket::deserialize(row.value())?;
    +                                    tables.update_time.remove(&packet.timestamp().to_bytes(), key.as_bytes())?;
                                         self.metrics.store_packets_removed.inc();
                                         true
                                     } else {
    @@ -777,10 +775,10 @@
         table: &impl ReadableTable<&'static SignedPacketsKey, &'static [u8]>,
         key: &PublicKeyBytes,
     ) -> Result<Option<SignedPacket>> {
    -    let Some(row) = table.get(key.as_ref())? else {
    +    let Some(row) = table.get(key.as_ref()).context("database fetch failed")? else {
             return Ok(None);
         };
    -    let packet = SignedPacket::from_bytes(&row.value().to_vec().into())?;
    +    let packet = SignedPacket::deserialize(row.value()).context("parsing signed packet failed")?;
         Ok(Some(packet))
     }
     
    @@ -808,11 +806,11 @@
             let Ok(snapshot) = rx.await else {
                 anyhow::bail!("failed to get snapshot");
             };
    -        let expired = system_time() - expiry_us;
    +        let expired = Timestamp::now() - expiry_us;
             trace!("evicting packets older than {}", 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_be_bytes())? {
    +        for item in snapshot.update_time.range(..expired.to_bytes())? {
                 let (time, keys) = match item {
                     Ok(v) => v,
                     Err(e) => {
    diff --git a/pr/3262/docs/src/iroh_relay/node_info.rs.html b/pr/3262/docs/src/iroh_relay/node_info.rs.html
    index a0844af000..3db94cf781 100644
    --- a/pr/3262/docs/src/iroh_relay/node_info.rs.html
    +++ b/pr/3262/docs/src/iroh_relay/node_info.rs.html
    @@ -755,18 +755,7 @@
     754
     755
     756
    -757
    -758
    -759
    -760
    -761
    -762
    -763
    -764
    -765
    -766
    -767
    -768
    //! Support for handling DNS resource records for dialing by [`NodeId`].
    +757
    //! 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.
    @@ -1296,14 +1285,15 @@
             let pubkey_z32 = pubkey.to_z32();
             let node_id = NodeId::from(*pubkey.verifying_key());
             let zone = dns::Name::new(&pubkey_z32)?;
    -        let inner = packet.packet();
    -        let txt_data = inner.answers.iter().filter_map(|rr| match &rr.rdata {
    -            RData::TXT(txt) => match rr.name.without(&zone) {
    -                Some(name) if name.to_string() == IROH_TXT_NAME => Some(txt),
    -                Some(_) | None => None,
    -            },
    -            _ => None,
    -        });
    +        let txt_data = packet
    +            .all_resource_records()
    +            .filter_map(|rr| match &rr.rdata {
    +                RData::TXT(txt) => match rr.name.without(&zone) {
    +                    Some(name) if name.to_string() == IROH_TXT_NAME => Some(txt),
    +                    Some(_) | None => None,
    +                },
    +                _ => None,
    +            });
     
             let txt_strs = txt_data.filter_map(|s| String::try_from(s.clone()).ok());
             Self::from_strings(node_id, txt_strs)
    @@ -1365,30 +1355,18 @@
             secret_key: &SecretKey,
             ttl: u32,
         ) -> Result<pkarr::SignedPacket> {
    -        let packet = self.to_pkarr_dns_packet(ttl)?;
    -        let keypair = pkarr::Keypair::from_secret_key(&secret_key.to_bytes());
    -        let signed_packet = pkarr::SignedPacket::from_packet(&keypair, &packet)
    -            .map_err(|e| anyhow::anyhow!(e.to_string()))?;
    -        Ok(signed_packet)
    -    }
    -
    -    fn to_pkarr_dns_packet(&self, ttl: u32) -> Result<pkarr::dns::Packet<'static>> {
             use pkarr::dns::{self, rdata};
    -        let name = dns::Name::new(IROH_TXT_NAME)?.into_owned();
    +        let keypair = pkarr::Keypair::from_secret_key(&secret_key.to_bytes());
    +        let name = dns::Name::new(IROH_TXT_NAME)?;
     
    -        let mut packet = dns::Packet::new_reply(0);
    +        let mut builder = pkarr::SignedPacket::builder();
             for s in self.to_txt_strings() {
                 let mut txt = rdata::TXT::new();
                 txt.add_string(&s)?;
    -            let rdata = rdata::RData::TXT(txt.into_owned());
    -            packet.answers.push(dns::ResourceRecord::new(
    -                name.clone(),
    -                dns::CLASS::IN,
    -                ttl,
    -                rdata,
    -            ));
    +            builder = builder.txt(name.clone(), txt.into_owned(), ttl);
             }
    -        Ok(packet)
    +        let signed_packet = builder.build(&keypair)?;
    +        Ok(signed_packet)
         }
     }
     
    diff --git a/pr/3262/docs/src/iroh_relay/server.rs.html b/pr/3262/docs/src/iroh_relay/server.rs.html
    index 44bccf9a6a..53073b2ae4 100644
    --- a/pr/3262/docs/src/iroh_relay/server.rs.html
    +++ b/pr/3262/docs/src/iroh_relay/server.rs.html
    @@ -1254,8 +1254,7 @@
     1253
     1254
     1255
    -1256
    -1257
    //! A fully-fledged iroh-relay server over HTTP or HTTPS.
    +1256
    //! 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
    @@ -1284,7 +1283,6 @@
     use iroh_base::NodeId;
     #[cfg(feature = "test-utils")]
     use iroh_base::RelayUrl;
    -use iroh_metrics::MetricsGroupSet;
     use metrics::RelayMetrics;
     use n0_future::{future::Boxed, StreamExt};
     use tokio::{
    @@ -1545,7 +1543,7 @@
             if let Some(addr) = config.metrics_addr {
                 debug!("Starting metrics server");
                 let mut registry = iroh_metrics::Registry::default();
    -            metrics.register(&mut registry);
    +            registry.register_all(&metrics);
                 tasks.spawn(
                     async move {
                         iroh_metrics::service::start_metrics_server(addr, Arc::new(registry)).await?;
    diff --git a/pr/3262/docs/src/iroh_relay/server/metrics.rs.html b/pr/3262/docs/src/iroh_relay/server/metrics.rs.html
    index cfed11e33b..536b1b9a03 100644
    --- a/pr/3262/docs/src/iroh_relay/server/metrics.rs.html
    +++ b/pr/3262/docs/src/iroh_relay/server/metrics.rs.html
    @@ -106,25 +106,12 @@
     105
     106
     107
    -108
    -109
    -110
    -111
    -112
    -113
    -114
    -115
    -116
    -117
    -118
    -119
    -120
    -121
    use std::sync::Arc;
    +108
    use std::sync::Arc;
     
     use iroh_metrics::{Counter, MetricsGroup, MetricsGroupSet};
     
     /// Metrics tracked for the relay server
    -#[derive(Debug, Clone, MetricsGroup)]
    +#[derive(Debug, Default, MetricsGroup)]
     #[metrics(name = "relayserver")]
     pub struct Metrics {
         /*
    @@ -206,7 +193,7 @@
     }
     
     /// StunMetrics tracked for the relay server
    -#[derive(Debug, Clone, MetricsGroup)]
    +#[derive(Debug, Default, MetricsGroup)]
     #[metrics(name = "stun")]
     pub struct StunMetrics {
         /// Number of STUN requests made to the server.
    @@ -221,23 +208,10 @@
         pub failures: Counter,
     }
     
    -#[derive(Debug, Default, Clone)]
    +#[derive(Debug, Default, Clone, MetricsGroupSet)]
    +#[metrics(name = "relay")]
     pub struct RelayMetrics {
         pub stun: Arc<StunMetrics>,
         pub server: Arc<Metrics>,
     }
    -
    -impl MetricsGroupSet for RelayMetrics {
    -    fn name(&self) -> &'static str {
    -        "relay"
    -    }
    -
    -    fn groups(&self) -> impl Iterator<Item = &dyn MetricsGroup> {
    -        [
    -            &*self.stun as &dyn MetricsGroup,
    -            &*self.server as &dyn MetricsGroup,
    -        ]
    -        .into_iter()
    -    }
    -}
     
    \ No newline at end of file diff --git a/pr/3262/docs/trait.impl/core/clone/trait.Clone.js b/pr/3262/docs/trait.impl/core/clone/trait.Clone.js index fd107010af..5fd0ba29f1 100644 --- a/pr/3262/docs/trait.impl/core/clone/trait.Clone.js +++ b/pr/3262/docs/trait.impl/core/clone/trait.Clone.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl Clone for ConnectionType"],["impl Clone for ControlMsg"],["impl Clone for DirectAddrType"],["impl Clone for PathSelection"],["impl Clone for RelayMode"],["impl Clone for Source"],["impl Clone for DhtDiscovery"],["impl Clone for PkarrPublisher"],["impl Clone for PkarrRelayClient"],["impl Clone for PkarrResolver"],["impl Clone for StaticProvider"],["impl Clone for DiscoveryItem"],["impl Clone for ConnectOptions"],["impl Clone for Connection"],["impl Clone for DirectAddr"],["impl Clone for DirectAddrInfo"],["impl Clone for Endpoint"],["impl Clone for RemoteInfo"],["impl Clone for EndpointMetrics"],["impl Clone for Metrics"],["impl Clone for Addr"],["impl Clone for Metrics"],["impl Clone for Options"],["impl Clone for QuicConfig"],["impl Clone for RelayLatencies"],["impl Clone for Report"],["impl Clone for Router"],["impl<P: Clone + ProtocolHandler + Clone> Clone for AccessLimit<P>"],["impl<T> Clone for Watchable<T>"],["impl<T: Clone> Clone for Watcher<T>"],["impl<T: Clone> Clone for WatcherStream<T>"]]],["iroh_base",[["impl Clone for NodeAddr"],["impl Clone for PublicKey"],["impl Clone for RelayUrl"],["impl Clone for SecretKey"],["impl Clone for NodeTicket"]]],["iroh_bench",[["impl Clone for Commands"],["impl Clone for Opt"],["impl Clone for Opt"]]],["iroh_dns_server",[["impl Clone for CertMode"],["impl Clone for RateLimitConfig"],["impl Clone for StoreConfig"],["impl Clone for DnsConfig"],["impl Clone for DnsHandler"],["impl Clone for Handle"],["impl Clone for HttpConfig"],["impl Clone for HttpsConfig"],["impl Clone for Metrics"],["impl Clone for AppState"],["impl Clone for ZoneStore"]]],["iroh_relay",[["impl Clone for ReceivedMessage"],["impl Clone for Protocol"],["impl Clone for Access"],["impl Clone for ClientBuilder"],["impl Clone for DnsResolver"],["impl Clone for TXT"],["impl Clone for TxtLookup"],["impl Clone for NodeData"],["impl Clone for NodeInfo"],["impl Clone for UserData"],["impl Clone for ClientRateLimit"],["impl Clone for Metrics"],["impl Clone for StunMetrics"],["impl Clone for RelayMap"],["impl Clone for RelayNode"],["impl Clone for RelayQuicConfig"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl Clone for ConnectionType"],["impl Clone for ControlMsg"],["impl Clone for DirectAddrType"],["impl Clone for PathSelection"],["impl Clone for RelayMode"],["impl Clone for Source"],["impl Clone for DhtDiscovery"],["impl Clone for PkarrPublisher"],["impl Clone for PkarrRelayClient"],["impl Clone for PkarrResolver"],["impl Clone for StaticProvider"],["impl Clone for DiscoveryItem"],["impl Clone for ConnectOptions"],["impl Clone for Connection"],["impl Clone for DirectAddr"],["impl Clone for DirectAddrInfo"],["impl Clone for Endpoint"],["impl Clone for RemoteInfo"],["impl Clone for EndpointMetrics"],["impl Clone for Addr"],["impl Clone for Options"],["impl Clone for QuicConfig"],["impl Clone for RelayLatencies"],["impl Clone for Report"],["impl Clone for Router"],["impl<P: Clone + ProtocolHandler + Clone> Clone for AccessLimit<P>"],["impl<T> Clone for Watchable<T>"],["impl<T: Clone> Clone for Watcher<T>"],["impl<T: Clone> Clone for WatcherStream<T>"]]],["iroh_base",[["impl Clone for NodeAddr"],["impl Clone for PublicKey"],["impl Clone for RelayUrl"],["impl Clone for SecretKey"],["impl Clone for NodeTicket"]]],["iroh_bench",[["impl Clone for Commands"],["impl Clone for Opt"],["impl Clone for Opt"]]],["iroh_dns_server",[["impl Clone for CertMode"],["impl Clone for RateLimitConfig"],["impl Clone for StoreConfig"],["impl Clone for DnsConfig"],["impl Clone for DnsHandler"],["impl Clone for Handle"],["impl Clone for HttpConfig"],["impl Clone for HttpsConfig"],["impl Clone for AppState"],["impl Clone for ZoneStore"]]],["iroh_relay",[["impl Clone for ReceivedMessage"],["impl Clone for Protocol"],["impl Clone for Access"],["impl Clone for ClientBuilder"],["impl Clone for DnsResolver"],["impl Clone for TXT"],["impl Clone for TxtLookup"],["impl Clone for NodeData"],["impl Clone for NodeInfo"],["impl Clone for UserData"],["impl Clone for ClientRateLimit"],["impl Clone for RelayMap"],["impl Clone for RelayNode"],["impl Clone for RelayQuicConfig"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[9403,1333,770,3144,4428]} \ No newline at end of file +//{"start":57,"fragment_lengths":[8855,1333,770,2860,3872]} \ No newline at end of file diff --git a/pr/3262/docs/trait.impl/core/convert/trait.From.js b/pr/3262/docs/trait.impl/core/convert/trait.From.js index a9d798ac36..4845173837 100644 --- a/pr/3262/docs/trait.impl/core/convert/trait.From.js +++ b/pr/3262/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<NodeAddr> for NodeData"],["impl From<NodeAddr> for NodeInfo"],["impl From<NodeInfo> for NodeAddr"],["impl From<Error> for ConnSendError"],["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<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"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[1632,5343,2647]} \ No newline at end of file +//{"start":57,"fragment_lengths":[1632,5343,2281]} \ No newline at end of file diff --git a/pr/3262/docs/trait.impl/core/marker/trait.Freeze.js b/pr/3262/docs/trait.impl/core/marker/trait.Freeze.js index e44738c34a..4b510e635c 100644 --- a/pr/3262/docs/trait.impl/core/marker/trait.Freeze.js +++ b/pr/3262/docs/trait.impl/core/marker/trait.Freeze.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl !Freeze for Incoming",1,["iroh::endpoint::Incoming"]],["impl !Freeze for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl Freeze for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl Freeze for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl Freeze for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Freeze for PathSelection",1,["iroh::endpoint::PathSelection"]],["impl Freeze for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Freeze for Source",1,["iroh::magicsock::node_map::Source"]],["impl Freeze for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Freeze for MdnsDiscovery",1,["iroh::discovery::mdns::MdnsDiscovery"]],["impl Freeze for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Freeze for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Freeze for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Freeze for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Freeze for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Freeze for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Freeze for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Freeze for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Freeze for Lagged",1,["iroh::discovery::Lagged"]],["impl Freeze for Builder",1,["iroh::endpoint::Builder"]],["impl Freeze for ConnectOptions",1,["iroh::endpoint::ConnectOptions"]],["impl Freeze for Connecting",1,["iroh::endpoint::Connecting"]],["impl Freeze for Connection",1,["iroh::endpoint::Connection"]],["impl Freeze for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Freeze for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl Freeze for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Freeze for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl Freeze for ZeroRttAccepted",1,["iroh::endpoint::ZeroRttAccepted"]],["impl Freeze for EndpointMetrics",1,["iroh::metrics::EndpointMetrics"]],["impl Freeze for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Freeze for Addr",1,["iroh::net_report::Addr"]],["impl Freeze for Client",1,["iroh::net_report::Client"]],["impl Freeze for Metrics",1,["iroh::net_report::metrics::Metrics"]],["impl Freeze for Options",1,["iroh::net_report::options::imp::Options"]],["impl Freeze for QuicConfig",1,["iroh::net_report::reportgen::QuicConfig"]],["impl Freeze for RelayLatencies",1,["iroh::net_report::RelayLatencies"]],["impl Freeze for Report",1,["iroh::net_report::Report"]],["impl Freeze for Router",1,["iroh::protocol::Router"]],["impl Freeze for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Freeze for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Freeze for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Freeze for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> !Freeze for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> Freeze for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> Freeze for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<P> Freeze for AccessLimit<P>
    where\n P: Freeze,
    ",1,["iroh::protocol::AccessLimit"]],["impl<T> Freeze for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> Freeze for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> Freeze for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl Freeze for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Freeze for Error",1,["iroh_base::ticket::Error"]],["impl Freeze for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl Freeze for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Freeze for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Freeze for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Freeze for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Freeze for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl Freeze for Commands",1,["iroh_bench::Commands"]],["impl Freeze for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Freeze for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Freeze for Opt",1,["iroh_bench::s2n::Opt"]],["impl Freeze for Stats",1,["iroh_bench::stats::Stats"]],["impl Freeze for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Freeze for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Freeze for ClientStats",1,["iroh_bench::ClientStats"]],["impl Freeze for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Freeze for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Freeze for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Freeze for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Freeze for Config",1,["iroh_dns_server::config::Config"]],["impl Freeze for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Freeze for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Freeze for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Freeze for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Freeze for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Freeze for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Freeze for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Freeze for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Freeze for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Freeze for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Freeze for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Freeze for Server",1,["iroh_dns_server::server::Server"]],["impl Freeze for AppState",1,["iroh_dns_server::state::AppState"]],["impl Freeze for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_relay",[["impl !Freeze for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl !Freeze for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl !Freeze for Client",1,["iroh_relay::client::Client"]],["impl !Freeze for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl Freeze for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl Freeze for Protocol",1,["iroh_relay::http::Protocol"]],["impl Freeze for Error",1,["iroh_relay::protos::stun::Error"]],["impl Freeze for Access",1,["iroh_relay::server::Access"]],["impl Freeze for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl Freeze for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Freeze for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Freeze for DnsResolver",1,["iroh_relay::dns::DnsResolver"]],["impl Freeze for TXT",1,["iroh_relay::dns::TXT"]],["impl Freeze for TxtLookup",1,["iroh_relay::dns::TxtLookup"]],["impl Freeze for MaxLengthExceededError",1,["iroh_relay::node_info::MaxLengthExceededError"]],["impl Freeze for NodeData",1,["iroh_relay::node_info::NodeData"]],["impl Freeze for NodeInfo",1,["iroh_relay::node_info::NodeInfo"]],["impl Freeze for UserData",1,["iroh_relay::node_info::UserData"]],["impl Freeze for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Freeze for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl Freeze for Limits",1,["iroh_relay::server::Limits"]],["impl Freeze for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Freeze for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Freeze for Server",1,["iroh_relay::server::Server"]],["impl Freeze for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl Freeze for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl Freeze for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl Freeze for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Freeze for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl Freeze for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA> Freeze for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA> Freeze for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA> Freeze for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA> Freeze for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Freeze for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); + var implementors = Object.fromEntries([["iroh",[["impl !Freeze for Incoming",1,["iroh::endpoint::Incoming"]],["impl !Freeze for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl !Freeze for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl !Freeze for Metrics",1,["iroh::net_report::metrics::Metrics"]],["impl Freeze for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl Freeze for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl Freeze for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Freeze for PathSelection",1,["iroh::endpoint::PathSelection"]],["impl Freeze for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Freeze for Source",1,["iroh::magicsock::node_map::Source"]],["impl Freeze for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Freeze for MdnsDiscovery",1,["iroh::discovery::mdns::MdnsDiscovery"]],["impl Freeze for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Freeze for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Freeze for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Freeze for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Freeze for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Freeze for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Freeze for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Freeze for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Freeze for Lagged",1,["iroh::discovery::Lagged"]],["impl Freeze for Builder",1,["iroh::endpoint::Builder"]],["impl Freeze for ConnectOptions",1,["iroh::endpoint::ConnectOptions"]],["impl Freeze for Connecting",1,["iroh::endpoint::Connecting"]],["impl Freeze for Connection",1,["iroh::endpoint::Connection"]],["impl Freeze for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Freeze for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl Freeze for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Freeze for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl Freeze for ZeroRttAccepted",1,["iroh::endpoint::ZeroRttAccepted"]],["impl Freeze for EndpointMetrics",1,["iroh::metrics::EndpointMetrics"]],["impl Freeze for Addr",1,["iroh::net_report::Addr"]],["impl Freeze for Client",1,["iroh::net_report::Client"]],["impl Freeze for Options",1,["iroh::net_report::options::imp::Options"]],["impl Freeze for QuicConfig",1,["iroh::net_report::reportgen::QuicConfig"]],["impl Freeze for RelayLatencies",1,["iroh::net_report::RelayLatencies"]],["impl Freeze for Report",1,["iroh::net_report::Report"]],["impl Freeze for Router",1,["iroh::protocol::Router"]],["impl Freeze for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Freeze for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Freeze for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Freeze for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> !Freeze for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> Freeze for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> Freeze for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<P> Freeze for AccessLimit<P>
    where\n P: Freeze,
    ",1,["iroh::protocol::AccessLimit"]],["impl<T> Freeze for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> Freeze for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> Freeze for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl Freeze for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Freeze for Error",1,["iroh_base::ticket::Error"]],["impl Freeze for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl Freeze for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Freeze for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Freeze for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Freeze for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Freeze for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl Freeze for Commands",1,["iroh_bench::Commands"]],["impl Freeze for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Freeze for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Freeze for Opt",1,["iroh_bench::s2n::Opt"]],["impl Freeze for Stats",1,["iroh_bench::stats::Stats"]],["impl Freeze for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Freeze for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Freeze for ClientStats",1,["iroh_bench::ClientStats"]],["impl Freeze for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl !Freeze for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Freeze for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Freeze for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Freeze for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Freeze for Config",1,["iroh_dns_server::config::Config"]],["impl Freeze for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Freeze for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Freeze for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Freeze for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Freeze for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Freeze for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Freeze for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Freeze for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Freeze for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Freeze for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Freeze for Server",1,["iroh_dns_server::server::Server"]],["impl Freeze for AppState",1,["iroh_dns_server::state::AppState"]],["impl Freeze for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_relay",[["impl !Freeze for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl !Freeze for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl !Freeze for Client",1,["iroh_relay::client::Client"]],["impl !Freeze for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl !Freeze for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl !Freeze for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl Freeze for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl Freeze for Protocol",1,["iroh_relay::http::Protocol"]],["impl Freeze for Error",1,["iroh_relay::protos::stun::Error"]],["impl Freeze for Access",1,["iroh_relay::server::Access"]],["impl Freeze for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl Freeze for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Freeze for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Freeze for DnsResolver",1,["iroh_relay::dns::DnsResolver"]],["impl Freeze for TXT",1,["iroh_relay::dns::TXT"]],["impl Freeze for TxtLookup",1,["iroh_relay::dns::TxtLookup"]],["impl Freeze for MaxLengthExceededError",1,["iroh_relay::node_info::MaxLengthExceededError"]],["impl Freeze for NodeData",1,["iroh_relay::node_info::NodeData"]],["impl Freeze for NodeInfo",1,["iroh_relay::node_info::NodeInfo"]],["impl Freeze for UserData",1,["iroh_relay::node_info::UserData"]],["impl Freeze for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Freeze for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl Freeze for Limits",1,["iroh_relay::server::Limits"]],["impl Freeze for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Freeze for Server",1,["iroh_relay::server::Server"]],["impl Freeze for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl Freeze for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl Freeze for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Freeze for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl Freeze for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA> Freeze for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA> Freeze for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA> Freeze for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA> Freeze for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Freeze for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[16236,2488,2769,6014,11461]} \ No newline at end of file +//{"start":57,"fragment_lengths":[16238,2488,2769,6015,11463]} \ No newline at end of file diff --git a/pr/3262/docs/trait.impl/serde/de/trait.Deserialize.js b/pr/3262/docs/trait.impl/serde/de/trait.Deserialize.js index 3f75d488a8..8cb4a83e6f 100644 --- a/pr/3262/docs/trait.impl/serde/de/trait.Deserialize.js +++ b/pr/3262/docs/trait.impl/serde/de/trait.Deserialize.js @@ -1,9 +1,9 @@ (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"]]],["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 { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[1529,1493,3248,625]} \ No newline at end of file +//{"start":57,"fragment_lengths":[2459,1493,3248,625]} \ No newline at end of file diff --git a/pr/3262/docs/trait.impl/serde/ser/trait.Serialize.js b/pr/3262/docs/trait.impl/serde/ser/trait.Serialize.js index 490ca414cc..e580794f32 100644 --- a/pr/3262/docs/trait.impl/serde/ser/trait.Serialize.js +++ b/pr/3262/docs/trait.impl/serde/ser/trait.Serialize.js @@ -1,9 +1,9 @@ (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"]]],["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 { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[1399,1363,2988,573]} \ No newline at end of file +//{"start":57,"fragment_lengths":[2251,1363,2988,573]} \ No newline at end of file