diff --git a/pr/3170/docs/iroh/all.html b/pr/3170/docs/iroh/all.html index 02f945c886..16735264bc 100644 --- a/pr/3170/docs/iroh/all.html +++ b/pr/3170/docs/iroh/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Structs

Enums

Traits

Functions

Type Aliases

Constants

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

List of all items

Structs

Enums

Traits

Functions

Type Aliases

Constants

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

Constant N0_DNS_NODE_ORIGIN_PROD

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

The n0 testing DNS node origin, for production.

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

Constant N0_DNS_NODE_ORIGIN_PROD

pub const N0_DNS_NODE_ORIGIN_PROD: &'static str;
Expand description

The n0 testing DNS node origin, for production.

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

Constant N0_DNS_NODE_ORIGIN_STAGING

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

The n0 testing DNS node origin, for testing.

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

Constant N0_DNS_NODE_ORIGIN_STAGING

pub const N0_DNS_NODE_ORIGIN_STAGING: &'static str;
Expand description

The n0 testing DNS node origin, for testing.

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

Module dns

Source
Expand description

DNS node discovery for iroh

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

Module dns

Source
Expand description

DNS node discovery for iroh

Structs§

Constants§

\ No newline at end of file diff --git a/pr/3170/docs/iroh/discovery/dns/struct.DnsDiscovery.html b/pr/3170/docs/iroh/discovery/dns/struct.DnsDiscovery.html index 57e5427c62..7c844caa6c 100644 --- a/pr/3170/docs/iroh/discovery/dns/struct.DnsDiscovery.html +++ b/pr/3170/docs/iroh/discovery/dns/struct.DnsDiscovery.html @@ -1,4 +1,4 @@ -DnsDiscovery in iroh::discovery::dns - Rust
iroh::discovery::dns

Struct DnsDiscovery

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

DNS node discovery

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

Struct DnsDiscovery

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

DNS node discovery

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

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

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

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

-

Implementations§

Source§

impl DnsDiscovery

Source

pub fn new(origin_domain: String) -> Self

Creates a new DNS discovery.

-
Source

pub fn n0_dns() -> Self

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

-

This uses the N0_DNS_NODE_ORIGIN_PROD domain.

+

Implementations§

Source§

impl DnsDiscovery

Source

pub fn new(origin_domain: String) -> Self

Creates a new DNS discovery.

+
Source

pub fn n0_dns() -> Self

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

+

This uses the N0_DNS_NODE_ORIGIN_PROD domain.

§Usage during tests
-

For testing it is possible to use the N0_DNS_NODE_ORIGIN_STAGING domain +

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

-

Trait Implementations§

Source§

impl Debug for DnsDiscovery

Source§

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

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

impl Discovery for DnsDiscovery

Trait Implementations§

Source§

impl Debug for DnsDiscovery

Source§

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

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

impl Discovery for DnsDiscovery

Source§

fn resolve( &self, ep: Endpoint, node_id: NodeId, diff --git a/pr/3170/docs/iroh/discovery/trait.Discovery.html b/pr/3170/docs/iroh/discovery/trait.Discovery.html index d788160db0..d69ad5fb56 100644 --- a/pr/3170/docs/iroh/discovery/trait.Discovery.html +++ b/pr/3170/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

Source§

impl Discovery for LocalSwarmDiscovery

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

impl Discovery for DhtDiscovery

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

impl Discovery for PkarrPublisher

Source§

impl Discovery for PkarrResolver

Source§

impl Discovery for StaticProvider

Source§

impl Discovery for ConcurrentDiscovery

\ No newline at end of file +

Implementations on Foreign Types§

Source§

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

Implementors§

Source§

impl Discovery for DnsDiscovery

Source§

impl Discovery for LocalSwarmDiscovery

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

impl Discovery for DhtDiscovery

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

impl Discovery for PkarrPublisher

Source§

impl Discovery for PkarrResolver

Source§

impl Discovery for StaticProvider

Source§

impl Discovery for ConcurrentDiscovery

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

Constant N0_DNS_NODE_ORIGIN_PROD

pub const N0_DNS_NODE_ORIGIN_PROD: &'static str;
Expand description

The n0 testing DNS node origin, for production.

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

Constant N0_DNS_NODE_ORIGIN_STAGING

pub const N0_DNS_NODE_ORIGIN_STAGING: &'static str;
Expand description

The n0 testing DNS node origin, for testing.

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

Function default_resolver

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

Get a reference to the default DNS resolver.

-

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

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

Function resolver

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

Get the DNS resolver used within iroh.

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

Module dns

Source
Expand description

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

iroh

Module dns

Source
Expand description

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

-

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

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

+

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

-

Modules§

Traits§

Functions§

Type Aliases§

\ No newline at end of file +

Modules§

Structs§

Constants§

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

Constant IROH_TXT_NAME

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

The DNS name for the iroh TXT record.

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

Constant IROH_TXT_NAME

pub const IROH_TXT_NAME: &'static str;
Expand description

The DNS name for the iroh TXT record.

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

Enum IrohAttr

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

The attributes supported by iroh for IROH_TXT_NAME DNS resource records.

-

The resource record uses the lower-case names.

-

Variants§

§

Relay

URL of home relay.

-
§

Addr

Direct address.

-

Trait Implementations§

Source§

impl AsRef<str> for IrohAttr

Source§

fn as_ref(&self) -> &str

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

impl Debug for IrohAttr

Source§

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

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

impl Display for IrohAttr

Source§

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

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

impl FromStr for IrohAttr

Source§

type Err = ParseError

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

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

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

impl Hash for IrohAttr

Source§

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

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

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

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

impl Ord for IrohAttr

Source§

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

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

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

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

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

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

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

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

impl PartialEq for IrohAttr

Source§

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

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

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

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

impl PartialOrd for IrohAttr

Source§

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

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

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

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

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

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

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

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

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

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

impl TryFrom<&str> for IrohAttr

Source§

type Error = ParseError

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

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

Performs the conversion.
Source§

impl Eq for IrohAttr

Source§

impl StructuralPartialEq for IrohAttr

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

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

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
§

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

§

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

Compare self to key and return their ordering.
§

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

§

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

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

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

§

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

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

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

-
§

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

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

Source§

fn into(self) -> U

Calls U::from(self).

-

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

-
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

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

Initializes a with the given initializer. Read more
§

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

Dereferences the given pointer. Read more
§

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

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

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

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

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

Source§

default fn to_string(&self) -> String

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

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

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

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

Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

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

§

impl<T> MaybeSendSync for T

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

Function from_z32

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

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

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

Function to_z32

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

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

-
\ No newline at end of file diff --git a/pr/3170/docs/iroh/dns/node_info/index.html b/pr/3170/docs/iroh/dns/node_info/index.html index d45a22095f..597b0280c4 100644 --- a/pr/3170/docs/iroh/dns/node_info/index.html +++ b/pr/3170/docs/iroh/dns/node_info/index.html @@ -1,4 +1,4 @@ -iroh::dns::node_info - Rust
iroh::dns

Module node_info

Source
Expand description

Support for handling DNS resource records for dialing by NodeId.

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

Module node_info

Expand description

Support for handling DNS resource records for dialing by NodeId.

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

DNS records are published under the following names:

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

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

  • TXT is the DNS record type.

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

  • -

    Structs§

    Enums§

    Constants§

    Functions§

    \ No newline at end of file +

    Structs§

    Constants§

    Traits§

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

    Struct NodeInfo

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

    Struct NodeInfo

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

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

    -

    Fields§

    §node_id: NodeId

    The NodeId.

    +

    Fields§

    §node_id: PublicKey

    The NodeId.

    §relay_url: Option<Url>

    The advertised home relay server.

    §direct_addresses: BTreeSet<SocketAddr>

    Any direct addresses.

    -

    Implementations§

    Source§

    impl NodeInfo

    Source

    pub fn new( - node_id: NodeId, +

    Implementations§

    §

    impl NodeInfo

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

    Creates a new NodeInfo from its parts.

    -
    Source

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

    Parses a NodeInfo from a TXT records lookup.

    -
    Source

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

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

    -
    Source

    pub fn to_pkarr_signed_packet( +) -> NodeInfo

    Creates a new NodeInfo from its parts.

    +

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

    Parses a NodeInfo from a TXT records lookup.

    +

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

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

    +

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

    Creates a [pkarr::SignedPacket].

    +) -> Result<SignedPacket, Error>

    Creates a [pkarr::SignedPacket].

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

    -
    Source

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

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

    -

    Trait Implementations§

    Source§

    impl Clone for NodeInfo

    Source§

    fn clone(&self) -> NodeInfo

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

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

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for NodeInfo

    Source§

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

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

    impl From<&NodeInfo> for TxtAttrs<IrohAttr>

    Source§

    fn from(info: &NodeInfo) -> Self

    Converts to this type from the input type.
    Source§

    impl From<&TxtAttrs<IrohAttr>> for NodeInfo

    Source§

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

    Converts to this type from the input type.
    Source§

    impl From<NodeInfo> for NodeAddr

    Source§

    fn from(value: NodeInfo) -> Self

    Converts to this type from the input type.
    Source§

    impl From<TxtAttrs<IrohAttr>> for NodeInfo

    Source§

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

    Converts to this type from the input type.
    Source§

    impl PartialEq for NodeInfo

    Source§

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

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

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

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

    impl Eq for NodeInfo

    Source§

    impl StructuralPartialEq for NodeInfo

    Auto Trait Implementations§

    §

    impl Freeze for NodeInfo

    §

    impl RefUnwindSafe for NodeInfo

    §

    impl Send for NodeInfo

    §

    impl Sync for NodeInfo

    §

    impl Unpin for NodeInfo

    §

    impl UnwindSafe for NodeInfo

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

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

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

    +

    Trait Implementations§

    §

    impl Clone for NodeInfo

    §

    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
    §

    impl Debug for NodeInfo

    §

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

    Formats the value using the given formatter. Read more
    §

    impl From<&TxtAttrs<IrohAttr>> for NodeInfo

    §

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

    Converts to this type from the input type.
    §

    impl From<NodeInfo> for NodeAddr

    §

    fn from(value: NodeInfo) -> NodeAddr

    Converts to this type from the input type.
    §

    impl From<TxtAttrs<IrohAttr>> for NodeInfo

    §

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

    Converts to this type from the input type.
    §

    impl PartialEq for NodeInfo

    §

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

    impl Eq for NodeInfo

    §

    impl StructuralPartialEq for NodeInfo

    Auto Trait Implementations§

    §

    impl Freeze for NodeInfo

    §

    impl RefUnwindSafe for NodeInfo

    §

    impl Send for NodeInfo

    §

    impl Sync for NodeInfo

    §

    impl Unpin for NodeInfo

    §

    impl UnwindSafe for NodeInfo

    Blanket Implementations§

    Source§

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

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

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

    §

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

    §

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

    §

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

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

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

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

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

    §

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

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

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

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

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

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

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

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

    §

    fn from_ref(input: &T) -> T

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

    impl<T> Instrument for T

    §

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

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

    fn in_current_span(self) -> Instrumented<Self>

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

    Struct TxtAttrs

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

    Attributes parsed from IROH_TXT_NAME TXT records.

    -

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

    -

    Implementations§

    Source§

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

    Source

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

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

    -
    Source

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

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

    -
    Source

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

    Looks up attributes by NodeId and origin domain.

    -
    Source

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

    Looks up attributes by DNS name.

    -
    Source

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

    Returns the parsed attributes.

    -
    Source

    pub fn node_id(&self) -> NodeId

    Returns the node id.

    -
    Source

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

    Parses a [pkarr::SignedPacket].

    -
    Source

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

    Parses a TXT records lookup.

    -
    Source

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

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

    -
    Source

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

    Creates a [pkarr::SignedPacket]

    -

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

    -

    Trait Implementations§

    Source§

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

    Source§

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

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

    impl From<&NodeInfo> for TxtAttrs<IrohAttr>

    Source§

    fn from(info: &NodeInfo) -> Self

    Converts to this type from the input type.
    Source§

    impl From<&TxtAttrs<IrohAttr>> for NodeInfo

    Source§

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

    Converts to this type from the input type.
    Source§

    impl From<TxtAttrs<IrohAttr>> for NodeInfo

    Source§

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

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl<T> Freeze for TxtAttrs<T>

    §

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

    §

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

    §

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

    §

    impl<T> Unpin for TxtAttrs<T>

    §

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

    Blanket Implementations§

    Source§

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

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

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

    §

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

    §

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

    §

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

    Source§

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

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

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

    Source§

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

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    §

    impl<T> Instrument for T

    §

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

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

    fn in_current_span(self) -> Instrumented<Self>

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

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

    Source§

    fn into(self) -> U

    Calls U::from(self).

    -

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

    -
    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = _

    The alignment of pointer.
    §

    type Init = T

    The type for initializers.
    §

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

    Initializes a with the given initializer. Read more
    §

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

    Dereferences the given pointer. Read more
    §

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

    Mutably dereferences the given pointer. Read more
    §

    unsafe fn drop(ptr: usize)

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

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

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

    Source§

    type Error = Infallible

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

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

    Performs the conversion.
    Source§

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

    Source§

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

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

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

    Performs the conversion.
    §

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

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

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

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

    fn with_current_subscriber(self) -> WithDispatch<Self>

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

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

    §

    impl<T> MaybeSendSync for T

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

    Trait NodeIdExt

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

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

    +

    Required Methods§

    fn to_z32(&self) -> String

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

    +

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

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

    +

    Dyn Compatibility§

    This trait is not dyn compatible.

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

    Implementors§

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

    Struct DnsResolver

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

    The DNS resolver used throughout iroh.

    +

    Implementations§

    §

    impl DnsResolver

    pub fn new() -> DnsResolver

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

    +

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

    +

    pub fn with_nameserver(nameserver: SocketAddr) -> DnsResolver

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

    +

    pub fn clear_cache(&self)

    Removes all entries from the cache.

    +

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

    Lookup a TXT record.

    +

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

    Perform an ipv4 lookup with a timeout.

    +

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

    Perform an ipv6 lookup with a timeout.

    +

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

    Resolve IPv4 and IPv6 in parallel with a timeout.

    +

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

    +

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

    Resolve a hostname from a URL to an IP address.

    +

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

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

    +

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

    +

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

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

    +

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

    +

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

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

    +

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

    +

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

    Looks up node info by NodeId and origin domain name.

    +

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

    +

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

    Looks up node info by DNS name.

    +

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

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

    +

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

    +

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

    Looks up node info by NodeId and origin domain name.

    +

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

    +

    Trait Implementations§

    §

    impl Clone for DnsResolver

    §

    fn clone(&self) -> DnsResolver

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

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

    Performs copy-assignment from source. Read more
    §

    impl Debug for DnsResolver

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for DnsResolver

    §

    fn default() -> DnsResolver

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

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

    §

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

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

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

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

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

    §

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

    §

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

    §

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

    Source§

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

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

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

    Source§

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

    Mutably borrows from an owned value. Read more
    Source§

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

    Source§

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

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

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

    Source§

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

    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §

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

    §

    fn from_ref(input: &T) -> T

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

    impl<T> Instrument for T

    §

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

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

    fn in_current_span(self) -> Instrumented<Self>

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

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

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +

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

    +
    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = _

    The alignment of pointer.
    §

    type Init = T

    The type for initializers.
    §

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

    Initializes a with the given initializer. Read more
    §

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

    Dereferences the given pointer. Read more
    §

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

    Mutably dereferences the given pointer. Read more
    §

    unsafe fn drop(ptr: usize)

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

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

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

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

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

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

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

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

    Source§

    type Error = Infallible

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

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

    Performs the conversion.
    Source§

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

    Source§

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

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

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

    Performs the conversion.
    §

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

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

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

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

    fn with_current_subscriber(self) -> WithDispatch<Self>

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

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

    §

    impl<T> MaybeSendSync for T

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

    Trait ResolverExt

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

    Extension trait to DnsResolver.

    -

    Required Methods§

    Source

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

    Perform an ipv4 lookup with a timeout.

    -
    Source

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

    Perform an ipv6 lookup with a timeout.

    -
    Source

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

    Race an ipv4 and ipv6 lookup with a timeout.

    -
    Source

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

    Looks up node info by DNS name.

    -
    Source

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

    Looks up node info by NodeId and origin domain name.

    -
    Source

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

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

    -

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

    -
    Source

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

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

    -

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

    -
    Source

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

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

    -

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

    -
    Source

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

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

    -

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

    -
    Source

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

    Looks up node info by NodeId and origin domain name.

    -

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

    -

    Dyn Compatibility§

    This trait is not dyn compatible.

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

    Implementors§

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

    Type Alias DnsResolver

    Source
    pub type DnsResolver = TokioResolver;
    Expand description

    The DNS resolver type used throughout iroh.

    -

    Aliased Type§

    struct DnsResolver { /* private fields */ }

    Trait Implementations§

    Source§

    impl ResolverExt for DnsResolver

    Source§

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

    Resolve IPv4 and IPv6 in parallel.

    -

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

    -
    Source§

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

    Looks up node info by DNS name.

    -

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

    -
    Source§

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

    Looks up node info by NodeId and origin domain name.

    -
    Source§

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

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

    -

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

    -
    Source§

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

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

    -

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

    -
    Source§

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

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

    -

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

    -
    Source§

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

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

    -

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

    -
    Source§

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

    Looks up node info by NodeId and origin domain name.

    -

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

    -
    Source§

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

    Perform an ipv4 lookup with a timeout.
    Source§

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

    Perform an ipv6 lookup with a timeout.
    \ No newline at end of file diff --git a/pr/3170/docs/iroh/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html b/pr/3170/docs/iroh/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html index 3013e4f030..7cef53a2c3 100644 --- a/pr/3170/docs/iroh/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html +++ b/pr/3170/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/3170/docs/iroh/endpoint/enum.DirectAddrType.html b/pr/3170/docs/iroh/endpoint/enum.DirectAddrType.html index 19d3f0c0da..71aab4a8c0 100644 --- a/pr/3170/docs/iroh/endpoint/enum.DirectAddrType.html +++ b/pr/3170/docs/iroh/endpoint/enum.DirectAddrType.html @@ -1,4 +1,4 @@ -DirectAddrType in iroh::endpoint - Rust
    iroh::endpoint

    Enum DirectAddrType

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

    Enum DirectAddrType

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

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

    -

    Trait Implementations§

    Source§

    impl Clone for DirectAddrType

    Source§

    fn clone(&self) -> DirectAddrType

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

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

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for DirectAddrType

    Source§

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

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

    impl Display for DirectAddrType

    Source§

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

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

    impl Hash for DirectAddrType

    Source§

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

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

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

    Trait Implementations§

    Source§

    impl Clone for DirectAddrType

    Source§

    fn clone(&self) -> DirectAddrType

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

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

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for DirectAddrType

    Source§

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

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

    impl Display for DirectAddrType

    Source§

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

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

    impl Hash for DirectAddrType

    Source§

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

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

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

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

    impl Ord for DirectAddrType

    Source§

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

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

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

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

    impl Ord for DirectAddrType

    Source§

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

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

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

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

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

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

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

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

    impl PartialEq for DirectAddrType

    Source§

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

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

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

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

    impl PartialOrd for DirectAddrType

    Source§

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

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

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

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

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

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

    impl PartialEq for DirectAddrType

    Source§

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

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

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

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

    impl PartialOrd for DirectAddrType

    Source§

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

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

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

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

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

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

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

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

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

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

    impl Copy for DirectAddrType

    Source§

    impl Eq for DirectAddrType

    Source§

    impl StructuralPartialEq for DirectAddrType

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

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

    Source§

    impl Copy for DirectAddrType

    Source§

    impl Eq for DirectAddrType

    Source§

    impl StructuralPartialEq for DirectAddrType

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

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

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

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

    §

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

    §

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

    §

    fn implicit( diff --git a/pr/3170/docs/iroh/endpoint/enum.RelayMode.html b/pr/3170/docs/iroh/endpoint/enum.RelayMode.html index 4c89ef4856..393935af69 100644 --- a/pr/3170/docs/iroh/endpoint/enum.RelayMode.html +++ b/pr/3170/docs/iroh/endpoint/enum.RelayMode.html @@ -1,4 +1,4 @@ -RelayMode in iroh::endpoint - Rust
    iroh::endpoint

    Enum RelayMode

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

    Enum RelayMode

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

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

    §

    Staging

    Use the staging relay servers from n0.

    §

    Custom(RelayMap)

    Use a custom relay map.

    -

    Implementations§

    Source§

    impl RelayMode

    Source

    pub fn relay_map(&self) -> RelayMap

    Returns the relay map for this mode.

    -

    Trait Implementations§

    Source§

    impl Clone for RelayMode

    Source§

    fn clone(&self) -> RelayMode

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

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

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for RelayMode

    Source§

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

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

    impl PartialEq for RelayMode

    Source§

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

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

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

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

    impl Eq for RelayMode

    Source§

    impl StructuralPartialEq for RelayMode

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Implementations§

    Source§

    impl RelayMode

    Source

    pub fn relay_map(&self) -> RelayMap

    Returns the relay map for this mode.

    +

    Trait Implementations§

    Source§

    impl Clone for RelayMode

    Source§

    fn clone(&self) -> RelayMode

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

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

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for RelayMode

    Source§

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

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

    impl PartialEq for RelayMode

    Source§

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

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

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

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

    impl Eq for RelayMode

    Source§

    impl StructuralPartialEq for RelayMode

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

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

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

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

    §

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

    §

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

    §

    fn implicit( diff --git a/pr/3170/docs/iroh/endpoint/fn.default_relay_mode.html b/pr/3170/docs/iroh/endpoint/fn.default_relay_mode.html index 9f82ce617d..2906f3daea 100644 --- a/pr/3170/docs/iroh/endpoint/fn.default_relay_mode.html +++ b/pr/3170/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/3170/docs/iroh/endpoint/fn.force_staging_infra.html b/pr/3170/docs/iroh/endpoint/fn.force_staging_infra.html index 07d9765b91..d5b0c733db 100644 --- a/pr/3170/docs/iroh/endpoint/fn.force_staging_infra.html +++ b/pr/3170/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/3170/docs/iroh/endpoint/fn.make_server_config.html b/pr/3170/docs/iroh/endpoint/fn.make_server_config.html index 8557d88fe9..cb5e3ff997 100644 --- a/pr/3170/docs/iroh/endpoint/fn.make_server_config.html +++ b/pr/3170/docs/iroh/endpoint/fn.make_server_config.html @@ -1,4 +1,4 @@ -make_server_config in iroh::endpoint - Rust
    iroh::endpoint

    Function make_server_config

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

    Function make_server_config

    Source
    pub fn make_server_config(
         secret_key: &SecretKey,
         alpn_protocols: Vec<Vec<u8>>,
         transport_config: Arc<TransportConfig>,
    diff --git a/pr/3170/docs/iroh/endpoint/index.html b/pr/3170/docs/iroh/endpoint/index.html
    index 6ec485d51d..089e10574e 100644
    --- a/pr/3170/docs/iroh/endpoint/index.html
    +++ b/pr/3170/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/3170/docs/iroh/endpoint/struct.Accept.html b/pr/3170/docs/iroh/endpoint/struct.Accept.html index b07cfe6a85..7d722c7b42 100644 --- a/pr/3170/docs/iroh/endpoint/struct.Accept.html +++ b/pr/3170/docs/iroh/endpoint/struct.Accept.html @@ -1,6 +1,6 @@ -Accept in iroh::endpoint - Rust
    iroh::endpoint

    Struct Accept

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

    Future produced by Endpoint::accept.

    -

    Trait Implementations§

    Source§

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

    Source§

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

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

    impl Future for Accept<'_>

    Source§

    type Output = Option<Incoming>

    The type of value produced on completion.
    Source§

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

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

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

    Struct Accept

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

    Future produced by Endpoint::accept.

    +

    Trait Implementations§

    Source§

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

    Source§

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

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

    impl Future for Accept<'_>

    Source§

    type Output = Option<Incoming>

    The type of value produced on completion.
    Source§

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

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

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

    Auto Trait Implementations§

    §

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

    §

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

    §

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

    §

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

    §

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

    Blanket Implementations§

    Source§

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

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

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

    §

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

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where diff --git a/pr/3170/docs/iroh/endpoint/struct.Builder.html b/pr/3170/docs/iroh/endpoint/struct.Builder.html index a39c6b36f8..94b3015abf 100644 --- a/pr/3170/docs/iroh/endpoint/struct.Builder.html +++ b/pr/3170/docs/iroh/endpoint/struct.Builder.html @@ -2,23 +2,23 @@

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

    To create the Endpoint call Builder::bind.

    -

    Implementations§

    Source§

    impl Builder

    Source

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

    Binds the magic endpoint.

    -
    Source

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

    Sets the IPv4 bind address.

    +

    Implementations§

    Source§

    impl Builder

    Source

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

    Binds the magic endpoint.

    +
    Source

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

    Sets the IPv4 bind address.

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

    By default will use 0.0.0.0:0 to bind to.

    -
    Source

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

    Sets the IPv6 bind address.

    +
    Source

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

    Sets the IPv6 bind address.

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

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

    -
    Source

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

    Sets a secret key to authenticate with other peers.

    +
    Source

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

    Sets a secret key to authenticate with other peers.

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

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

    -
    Source

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

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

    +
    Source

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

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

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

    -
    Source

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

    Sets the relay servers to assist in establishing connectivity.

    +
    Source

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

    Sets the relay servers to assist in establishing connectivity.

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

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

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

    -
    Source

    pub fn clear_discovery(self) -> Self

    Removes all discovery services from the builder.

    -
    Source

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

    Optionally sets a discovery mechanism for this endpoint.

    +
    Source

    pub fn clear_discovery(self) -> Self

    Removes all discovery services from the builder.

    +
    Source

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

    Optionally sets a discovery mechanism for this endpoint.

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

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

    See the documentation of the Discovery trait for details.

    -
    Source

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

    Source

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

    Adds a discovery mechanism for this endpoint.

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

    direct addresses or relay URLs will fail.

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

    See the documentation of the Discovery trait for details.

    -
    Source

    pub fn discovery_n0(self) -> Self

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

    +
    Source

    pub fn discovery_n0(self) -> Self

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

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

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

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

    -
    Source

    pub fn discovery_dht(self) -> Self

    Available on crate feature discovery-pkarr-dht only.

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

    +
    Source

    pub fn discovery_dht(self) -> Self

    Available on crate feature discovery-pkarr-dht only.

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

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

    -
    Source

    pub fn discovery_local_network(self) -> Self

    Available on crate feature discovery-local-network only.

    Configures the endpoint to also use local network discovery.

    +
    Source

    pub fn discovery_local_network(self) -> Self

    Available on crate feature discovery-local-network only.

    Configures the endpoint to also use local network discovery.

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

    -
    Source

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

    Optionally set a list of known nodes.

    -
    Source

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

    Sets a custom quinn::TransportConfig for this endpoint.

    +
    Source

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

    Optionally set a list of known nodes.

    +
    Source

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

    Sets a custom quinn::TransportConfig for this endpoint.

    The transport config contains parameters governing the QUIC state machine.

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

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

    -
    Source

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

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

    +
    Source

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

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

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

    -

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

    -
    Source

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

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

    -
    Source

    pub fn proxy_from_env(self) -> Self

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

    +

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

    +
    Source

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

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

    +
    Source

    pub fn proxy_from_env(self) -> Self

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

    • HTTP_PROXY
    • http_proxy
    • HTTPS_PROXY
    • https_proxy
    -
    Source

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

    Enables saving the TLS pre-master key for connections.

    +
    Source

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

    Enables saving the TLS pre-master key for connections.

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

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

    -
    Source

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

    Available on crate feature test-utils only.

    Skip verification of SSL certificates from relay servers

    +
    Source

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

    Available on crate feature test-utils only.

    Skip verification of SSL certificates from relay servers

    May only be used in tests.

    -
    Source

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

    Available on crate feature test-utils only.

    This implies we only use the relay to communicate +

    Source

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

    Available on crate feature test-utils only.

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

    Trait Implementations§

    Source§

    impl Debug for Builder

    Source§

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

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

    impl Default for Builder

    Source§

    fn default() -> Self

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

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

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

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where diff --git a/pr/3170/docs/iroh/endpoint/struct.Connecting.html b/pr/3170/docs/iroh/endpoint/struct.Connecting.html index 0d5e369d29..6e01347944 100644 --- a/pr/3170/docs/iroh/endpoint/struct.Connecting.html +++ b/pr/3170/docs/iroh/endpoint/struct.Connecting.html @@ -1,9 +1,9 @@ -Connecting in iroh::endpoint - Rust
    iroh::endpoint

    Struct Connecting

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

    In-progress connection attempt future

    -

    Implementations§

    Source§

    impl Connecting

    Source

    pub fn into_0rtt(self) -> Result<(Connection, ZeroRttAccepted), Self>

    Convert into a 0-RTT or 0.5-RTT connection at the cost of weakened security.

    -
    Source

    pub async fn handshake_data(&mut self) -> Result<Box<dyn Any>, ConnectionError>

    Parameters negotiated during the handshake

    -
    Source

    pub async fn alpn(&mut self) -> Result<Vec<u8>>

    Extracts the ALPN protocol from the peer’s handshake data.

    -

    Trait Implementations§

    Source§

    impl Debug for Connecting

    Source§

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

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

    impl Future for Connecting

    Source§

    type Output = Result<Connection, ConnectionError>

    The type of value produced on completion.
    Source§

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

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

    impl<'pin> Unpin for Connecting
    where +Connecting in iroh::endpoint - Rust
    iroh::endpoint

    Struct Connecting

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

    In-progress connection attempt future

    +

    Implementations§

    Source§

    impl Connecting

    Source

    pub fn into_0rtt(self) -> Result<(Connection, ZeroRttAccepted), Self>

    Convert into a 0-RTT or 0.5-RTT connection at the cost of weakened security.

    +
    Source

    pub async fn handshake_data(&mut self) -> Result<Box<dyn Any>, ConnectionError>

    Parameters negotiated during the handshake

    +
    Source

    pub async fn alpn(&mut self) -> Result<Vec<u8>>

    Extracts the ALPN protocol from the peer’s handshake data.

    +

    Trait Implementations§

    Source§

    impl Debug for Connecting

    Source§

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

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

    impl Future for Connecting

    Source§

    type Output = Result<Connection, ConnectionError>

    The type of value produced on completion.
    Source§

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

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

    impl<'pin> Unpin for Connecting
    where PinnedFieldsOf<__Connecting<'pin>>: Unpin,

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

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

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

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

    §

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

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where diff --git a/pr/3170/docs/iroh/endpoint/struct.Connection.html b/pr/3170/docs/iroh/endpoint/struct.Connection.html index f9df7300d3..8c812938b9 100644 --- a/pr/3170/docs/iroh/endpoint/struct.Connection.html +++ b/pr/3170/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( diff --git a/pr/3170/docs/iroh/endpoint/struct.DirectAddr.html b/pr/3170/docs/iroh/endpoint/struct.DirectAddr.html index cdcd0a48f8..1ef4bbafbb 100644 --- a/pr/3170/docs/iroh/endpoint/struct.DirectAddr.html +++ b/pr/3170/docs/iroh/endpoint/struct.DirectAddr.html @@ -1,4 +1,4 @@ -DirectAddr in iroh::endpoint - Rust
    iroh::endpoint

    Struct DirectAddr

    Source
    pub struct DirectAddr {
    +DirectAddr in iroh::endpoint - Rust
    iroh::endpoint

    Struct DirectAddr

    Source
    pub struct DirectAddr {
         pub addr: SocketAddr,
         pub typ: DirectAddrType,
     }
    Expand description

    A direct address on which an iroh-node might be contactable.

    @@ -7,16 +7,16 @@ contacted. These can come from various sources depending on the network topolog iroh node, see DirectAddrType for the several kinds of sources.

    Fields§

    §addr: SocketAddr

    The address.

    §typ: DirectAddrType

    The origin of this direct address.

    -

    Trait Implementations§

    Source§

    impl Clone for DirectAddr

    Source§

    fn clone(&self) -> DirectAddr

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

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

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for DirectAddr

    Source§

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

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

    impl Hash for DirectAddr

    Source§

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

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

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

    Trait Implementations§

    Source§

    impl Clone for DirectAddr

    Source§

    fn clone(&self) -> DirectAddr

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

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

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for DirectAddr

    Source§

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

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

    impl Hash for DirectAddr

    Source§

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

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

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

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

    impl Ord for DirectAddr

    Source§

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

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

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

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

    impl Ord for DirectAddr

    Source§

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

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

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

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

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

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

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

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

    impl PartialEq for DirectAddr

    Source§

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

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

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

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

    impl PartialOrd for DirectAddr

    Source§

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

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

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

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

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

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

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

    impl PartialEq for DirectAddr

    Source§

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

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

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

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

    impl PartialOrd for DirectAddr

    Source§

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

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

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

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

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

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

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

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

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

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

    impl Eq for DirectAddr

    Source§

    impl StructuralPartialEq for DirectAddr

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

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

    Source§

    impl Eq for DirectAddr

    Source§

    impl StructuralPartialEq for DirectAddr

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

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

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

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

    §

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

    §

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

    §

    fn implicit( diff --git a/pr/3170/docs/iroh/endpoint/struct.Endpoint.html b/pr/3170/docs/iroh/endpoint/struct.Endpoint.html index 707c575115..4fc6f481ab 100644 --- a/pr/3170/docs/iroh/endpoint/struct.Endpoint.html +++ b/pr/3170/docs/iroh/endpoint/struct.Endpoint.html @@ -1,4 +1,4 @@ -Endpoint in iroh::endpoint - Rust
    iroh::endpoint

    Struct Endpoint

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

    Controls an iroh node, establishing connections with other nodes.

    +Endpoint in iroh::endpoint - Rust
    iroh::endpoint

    Struct Endpoint

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

    Controls an iroh node, establishing connections with other nodes.

    This is the main API interface to create connections to, and accept connections from other iroh nodes. The connections are peer-to-peer and encrypted, a Relay server is used to make the connections reliable. See the [crate docs] for a more detailed @@ -16,11 +16,11 @@ the peer are created using the Connection::open_uni and Connection::open_bi functions.

    Note that due to the light-weight properties of streams a stream will only be accepted once the initiating peer has sent some data on it.

    -

    Implementations§

    Source§

    impl Endpoint

    Source

    pub fn builder() -> Builder

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

    -
    Source

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

    Sets the list of accepted ALPN protocols.

    +

    Implementations§

    Source§

    impl Endpoint

    Source

    pub fn builder() -> Builder

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

    +
    Source

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

    Sets the list of accepted ALPN protocols.

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

    -
    Source

    pub async fn connect( +

    Source

    pub async fn connect( &self, node_addr: impl Into<NodeAddr>, alpn: &[u8], @@ -41,7 +41,7 @@ connection attempt will fail with an error.

    The alpn, or application-level protocol identifier, is also required. The remote endpoint must support this alpn, otherwise the connection attempt will fail with an error.

    -

    Source

    pub async fn connect_with( +

    Source

    pub async fn connect_with( &self, node_addr: impl Into<NodeAddr>, alpn: &[u8], @@ -52,13 +52,13 @@ the docs of
    Source

    pub fn accept(&self) -> Accept<'_> ⓘ

    Accepts an incoming connection on the endpoint.

    +

    Source

    pub fn accept(&self) -> Accept<'_> ⓘ

    Accepts an incoming connection on the endpoint.

    Only connections with the ALPNs configured in Builder::alpns will be accepted. If multiple ALPNs have been configured the ALPN can be inspected before accepting the connection using Connecting::alpn.

    The returned future will yield None if the endpoint is closed by calling Endpoint::close.

    -
    Source

    pub fn add_node_addr(&self, node_addr: NodeAddr) -> Result<()>

    Informs this Endpoint about addresses of the iroh node.

    +
    Source

    pub fn add_node_addr(&self, node_addr: NodeAddr) -> Result<()>

    Informs this Endpoint about addresses of the iroh node.

    This updates the local state for the remote node. If the provided NodeAddr contains a RelayUrl this will be used as the new relay server for this node. If it contains any new IP endpoints they will also be stored and tried when next @@ -71,7 +71,7 @@ This provides more flexibility and future proofing.

    §Errors

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

    -
    Source

    pub fn add_node_addr_with_source( +

    Source

    pub fn add_node_addr_with_source( &self, node_addr: NodeAddr, source: &'static str, @@ -87,15 +87,15 @@ This provides more flexibility and future proofing.

    §Errors

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

    -
    Source

    pub fn secret_key(&self) -> &SecretKey

    Returns the secret_key of this endpoint.

    -
    Source

    pub fn node_id(&self) -> NodeId

    Returns the node id of this endpoint.

    +
    Source

    pub fn secret_key(&self) -> &SecretKey

    Returns the secret_key of this endpoint.

    +
    Source

    pub fn node_id(&self) -> NodeId

    Returns the node id of this endpoint.

    This ID is the unique addressing information of this node and other peers must know it to be able to connect to this node.

    -
    Source

    pub async fn node_addr(&self) -> Result<NodeAddr>

    Returns the current NodeAddr for this endpoint.

    +
    Source

    pub async fn node_addr(&self) -> Result<NodeAddr>

    Returns the current NodeAddr for this endpoint.

    The returned NodeAddr will have the current RelayUrl and direct addresses as they would be returned by Endpoint::home_relay and Endpoint::direct_addresses.

    -
    Source

    pub fn home_relay(&self) -> Watcher<Option<RelayUrl>>

    Returns a Watcher for the RelayUrl of the Relay server used as home relay.

    +
    Source

    pub fn home_relay(&self) -> Watcher<Option<RelayUrl>>

    Returns a Watcher for the RelayUrl of the Relay server used as home relay.

    Every endpoint has a home Relay server which it chooses as the server with the lowest latency out of the configured servers provided by Builder::relay_mode. This is the server other iroh nodes can use to reliably establish a connection @@ -111,7 +111,7 @@ some time to connect to find and connect to the home relay server.

    let mep = Endpoint::builder().bind().await.unwrap(); let _relay_url = mep.home_relay().initialized().await.unwrap();
    -
    Source

    pub fn direct_addresses(&self) -> Watcher<Option<BTreeSet<DirectAddr>>>

    Returns a Watcher for the direct addresses of this Endpoint.

    +
    Source

    pub fn direct_addresses(&self) -> Watcher<Option<BTreeSet<DirectAddr>>>

    Returns a Watcher for the direct addresses of this Endpoint.

    The direct addresses of the Endpoint are those that could be used by other iroh nodes to establish direct connectivity, depending on the network situation. The yielded lists of direct addresses contain both the locally-bound @@ -134,10 +134,10 @@ recently discovered direct addresses.

    let mep = Endpoint::builder().bind().await.unwrap(); let _addrs = mep.direct_addresses().initialized().await.unwrap();
    -
    Source

    pub fn bound_sockets(&self) -> (SocketAddr, Option<SocketAddr>)

    Returns the local socket addresses on which the underlying sockets are bound.

    +
    Source

    pub fn bound_sockets(&self) -> (SocketAddr, Option<SocketAddr>)

    Returns the local socket addresses on which the underlying sockets are bound.

    The Endpoint always binds on an IPv4 address and also tries to bind on an IPv6 address if available.

    -
    Source

    pub fn remote_info(&self, node_id: NodeId) -> Option<RemoteInfo>

    Returns information about the remote node identified by a NodeId.

    +
    Source

    pub fn remote_info(&self, node_id: NodeId) -> Option<RemoteInfo>

    Returns information about the remote node identified by a NodeId.

    The Endpoint keeps some information about remote iroh nodes, which it uses to find the best path to a node. Having information on a remote node, however, does not mean we have ever connected to it to or even whether a connection is even possible. The information about a @@ -146,14 +146,14 @@ calls may return different information. Furthermore, node information may even b completely evicted as it becomes stale.

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

    -
    Source

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

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

    +
    Source

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

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

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

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

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

    -
    Source

    pub fn conn_type(&self, node_id: NodeId) -> Result<Watcher<ConnectionType>>

    Returns a Watcher that reports the current connection type and any changes for +

    Source

    pub fn conn_type(&self, node_id: NodeId) -> Result<Watcher<ConnectionType>>

    Returns a Watcher that reports the current connection type and any changes for given remote node.

    This watcher allows observing a stream of ConnectionType items by calling Watcher::stream(). If the underlying connection to a remote node changes, it will @@ -172,11 +172,11 @@ recently connected to this node id but previous methods of reaching the node hav become inaccessible.

    §Errors

    Will error if we do not have any address information for the given node_id.

    -
    Source

    pub fn dns_resolver(&self) -> &DnsResolver

    Returns the DNS resolver used in this Endpoint.

    +
    Source

    pub fn dns_resolver(&self) -> &DnsResolver

    Returns the DNS resolver used in this Endpoint.

    See Builder::dns_resolver.

    -
    Source

    pub fn discovery(&self) -> Option<&dyn Discovery>

    Returns the discovery mechanism, if configured.

    +
    Source

    pub fn discovery(&self) -> Option<&dyn Discovery>

    Returns the discovery mechanism, if configured.

    See Builder::discovery.

    -
    Source

    pub async fn network_change(&self)

    Notifies the system of potential network changes.

    +
    Source

    pub async fn network_change(&self)

    Notifies the system of potential network changes.

    On many systems iroh is able to detect network changes by itself, however some systems like android do not expose this functionality to native code. Android does however provide this functionality to Java code. This @@ -184,7 +184,7 @@ function allows for notifying iroh of any potential network changes like this.

    Even when the network did not change, or iroh was already able to detect the network change itself, there is no harm in calling this function.

    -
    Source

    pub async fn close(&self)

    Closes the QUIC endpoint and the magic socket.

    +
    Source

    pub async fn close(&self)

    Closes the QUIC endpoint and the magic socket.

    This will close any remaining open Connections with an error code of 0 and an empty reason. Though it is best practice to close those explicitly before with a custom error code and reason.

    @@ -195,8 +195,8 @@ on the connection. Once all connections are closed or timed out, the magic socke

    Be aware however that the underlying UDP sockets are only closed on Drop, bearing in mind the Endpoint is only dropped once all the clones are dropped.

    -
    Source

    pub fn is_closed(&self) -> bool

    Check if this endpoint is still alive, or already closed.

    -

    Trait Implementations§

    Source§

    impl Clone for Endpoint

    Source§

    fn clone(&self) -> Endpoint

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

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

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Endpoint

    Source§

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Source

    pub fn is_closed(&self) -> bool

    Check if this endpoint is still alive, or already closed.

    +

    Trait Implementations§

    Source§

    impl Clone for Endpoint

    Source§

    fn clone(&self) -> Endpoint

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

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

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Endpoint

    Source§

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

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

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

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

    §

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

    §

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

    §

    fn implicit( diff --git a/pr/3170/docs/iroh/endpoint/struct.Incoming.html b/pr/3170/docs/iroh/endpoint/struct.Incoming.html index 037a9a03c6..10836d7ad2 100644 --- a/pr/3170/docs/iroh/endpoint/struct.Incoming.html +++ b/pr/3170/docs/iroh/endpoint/struct.Incoming.html @@ -1,29 +1,29 @@ -Incoming in iroh::endpoint - Rust
    iroh::endpoint

    Struct Incoming

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

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

    iroh::endpoint

    Struct Incoming

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

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

    -

    Implementations§

    Source§

    impl Incoming

    Source

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

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

    +

    Implementations§

    Source§

    impl Incoming

    Source

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

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

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

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

    -
    Source

    pub fn accept_with( +

    Source

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

    Accepts this incoming connection using a custom configuration.

    See accept() for more details.

    -
    Source

    pub fn refuse(self)

    Rejects this incoming connection attempt.

    -
    Source

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

    Responds with a retry packet.

    +
    Source

    pub fn refuse(self)

    Rejects this incoming connection attempt.

    +
    Source

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

    Responds with a retry packet.

    This requires the client to retry with address validation.

    Errors if remote_address_validated() is true.

    -
    Source

    pub fn ignore(self)

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

    -
    Source

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

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

    Source

    pub fn ignore(self)

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

    +
    Source

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

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

    -
    Source

    pub fn remote_address(&self) -> SocketAddr

    Returns the peer’s UDP address.

    -
    Source

    pub fn remote_address_validated(&self) -> bool

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

    +
    Source

    pub fn remote_address(&self) -> SocketAddr

    Returns the peer’s UDP address.

    +
    Source

    pub fn remote_address_validated(&self) -> bool

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

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

    -

    Trait Implementations§

    Source§

    impl Debug for Incoming

    Source§

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

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

    impl IntoFuture for Incoming

    Source§

    type Output = Result<Connection, ConnectionError>

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

    type IntoFuture = IncomingFuture

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

    fn into_future(self) -> Self::IntoFuture

    Creates a future from a value. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl Debug for Incoming

    Source§

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

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

    impl IntoFuture for Incoming

    Source§

    type Output = Result<Connection, ConnectionError>

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

    type IntoFuture = IncomingFuture

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

    fn into_future(self) -> Self::IntoFuture

    Creates a future from a value. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

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

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

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

    §

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

    §

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

    §

    fn implicit( diff --git a/pr/3170/docs/iroh/endpoint/struct.IncomingFuture.html b/pr/3170/docs/iroh/endpoint/struct.IncomingFuture.html index 67c8e27ac0..a4f7b5ecbd 100644 --- a/pr/3170/docs/iroh/endpoint/struct.IncomingFuture.html +++ b/pr/3170/docs/iroh/endpoint/struct.IncomingFuture.html @@ -1,6 +1,6 @@ -IncomingFuture in iroh::endpoint - Rust
    iroh::endpoint

    Struct IncomingFuture

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

    Adaptor to let Incoming be awaited like a Connecting.

    -

    Trait Implementations§

    Source§

    impl Debug for IncomingFuture

    Source§

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

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

    impl Future for IncomingFuture

    Source§

    type Output = Result<Connection, ConnectionError>

    The type of value produced on completion.
    Source§

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

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

    impl<'pin> Unpin for IncomingFuture
    where +IncomingFuture in iroh::endpoint - Rust
    iroh::endpoint

    Struct IncomingFuture

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

    Adaptor to let Incoming be awaited like a Connecting.

    +

    Trait Implementations§

    Source§

    impl Debug for IncomingFuture

    Source§

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

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

    impl Future for IncomingFuture

    Source§

    type Output = Result<Connection, ConnectionError>

    The type of value produced on completion.
    Source§

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

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

    impl<'pin> Unpin for IncomingFuture
    where PinnedFieldsOf<__IncomingFuture<'pin>>: Unpin,

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

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

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

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

    §

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

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where diff --git a/pr/3170/docs/iroh/struct.NodeAddr.html b/pr/3170/docs/iroh/struct.NodeAddr.html index 52f844a225..9f366d3aff 100644 --- a/pr/3170/docs/iroh/struct.NodeAddr.html +++ b/pr/3170/docs/iroh/struct.NodeAddr.html @@ -44,8 +44,8 @@ whenever a connection to other nodes needs to be established.

    Trait Implementations§

    Source§

    impl Clone for NodeAddr

    Source§

    fn clone(&self) -> NodeAddr

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

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

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for NodeAddr

    Source§

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

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

    impl<'de> Deserialize<'de> for NodeAddr

    Source§

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

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

    impl From<(PublicKey, Option<RelayUrl>, &[SocketAddr])> for NodeAddr

    Source§

    fn from(value: (PublicKey, Option<RelayUrl>, &[SocketAddr])) -> NodeAddr

    Converts to this type from the input type.
    Source§

    impl From<NodeInfo> for NodeAddr

    Source§

    fn from(value: NodeInfo) -> Self

    Converts to this type from the input type.
    Source§

    impl From<NodeTicket> for NodeAddr

    Source§

    fn from(ticket: NodeTicket) -> NodeAddr

    Returns the addressing info from given ticket.

    -
    Source§

    impl From<PublicKey> for NodeAddr

    Source§

    fn from(node_id: PublicKey) -> NodeAddr

    Converts to this type from the input type.
    Source§

    impl From<RemoteInfo> for NodeAddr

    Source§

    fn from(info: RemoteInfo) -> Self

    Converts to this type from the input type.
    Source§

    impl Ord for NodeAddr

    Source§

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

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

    fn max(self, other: Self) -> Self
    where + __D: Deserializer<'de>,

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

    impl From<(PublicKey, Option<RelayUrl>, &[SocketAddr])> for NodeAddr

    Source§

    fn from(value: (PublicKey, Option<RelayUrl>, &[SocketAddr])) -> NodeAddr

    Converts to this type from the input type.
    §

    impl From<NodeInfo> for NodeAddr

    §

    fn from(value: NodeInfo) -> NodeAddr

    Converts to this type from the input type.
    Source§

    impl From<NodeTicket> for NodeAddr

    Source§

    fn from(ticket: NodeTicket) -> NodeAddr

    Returns the addressing info from given ticket.

    +
    Source§

    impl From<PublicKey> for NodeAddr

    Source§

    fn from(node_id: PublicKey) -> NodeAddr

    Converts to this type from the input type.
    Source§

    impl From<RemoteInfo> for NodeAddr

    Source§

    fn from(info: RemoteInfo) -> Self

    Converts to this type from the input type.
    Source§

    impl Ord for NodeAddr

    Source§

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

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

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

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

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

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

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

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

    impl PartialEq for NodeAddr

    Source§

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

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

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

    Tests for !=. The default implementation is almost always sufficient, diff --git a/pr/3170/docs/iroh/struct.PublicKey.html b/pr/3170/docs/iroh/struct.PublicKey.html index 9c21751546..76aeebd528 100644 --- a/pr/3170/docs/iroh/struct.PublicKey.html +++ b/pr/3170/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.

    @@ -22,7 +22,7 @@ representation of the key.

    Source§

    type Err = KeyParsingError

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

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

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

    impl Hash for PublicKey

    Source§

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

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

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

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

    impl Ord for PublicKey

    Source§

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

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

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

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

    impl NodeIdExt for PublicKey

    §

    fn to_z32(&self) -> String

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

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

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

    impl Ord for PublicKey

    Source§

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

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

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

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

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

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

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

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

    impl PartialEq for PublicKey

    Source§

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

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

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

    Tests for !=. The default implementation is almost always sufficient, diff --git a/pr/3170/docs/iroh/test_utils/dns_server/fn.create_dns_resolver.html b/pr/3170/docs/iroh/test_utils/dns_server/fn.create_dns_resolver.html deleted file mode 100644 index 3074cd544d..0000000000 --- a/pr/3170/docs/iroh/test_utils/dns_server/fn.create_dns_resolver.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Redirection - - -

    Redirecting to ../../../iroh/test_utils/fn.create_dns_resolver.html...

    - - - \ No newline at end of file diff --git a/pr/3170/docs/iroh/test_utils/fn.create_dns_resolver.html b/pr/3170/docs/iroh/test_utils/fn.create_dns_resolver.html deleted file mode 100644 index c12834063f..0000000000 --- a/pr/3170/docs/iroh/test_utils/fn.create_dns_resolver.html +++ /dev/null @@ -1,2 +0,0 @@ -create_dns_resolver in iroh::test_utils - Rust
    iroh::test_utils

    Function create_dns_resolver

    Source
    pub fn create_dns_resolver(nameserver: SocketAddr) -> Result<TokioResolver>
    Available on crate feature test-utils only.
    Expand description

    Create a DNS resolver with a single nameserver.

    -
    \ No newline at end of file diff --git a/pr/3170/docs/iroh/test_utils/fn.run_relay_server.html b/pr/3170/docs/iroh/test_utils/fn.run_relay_server.html index aad6ef9378..1ff33b76e1 100644 --- a/pr/3170/docs/iroh/test_utils/fn.run_relay_server.html +++ b/pr/3170/docs/iroh/test_utils/fn.run_relay_server.html @@ -1,4 +1,4 @@ -run_relay_server in iroh::test_utils - Rust
    iroh::test_utils

    Function run_relay_server

    Source
    pub async fn run_relay_server() -> Result<(RelayMap, RelayUrl, Server)>
    Available on crate feature test-utils only.
    Expand description

    Runs a relay server with STUN and QUIC enabled suitable for tests.

    +run_relay_server in iroh::test_utils - Rust
    iroh::test_utils

    Function run_relay_server

    Source
    pub async fn run_relay_server() -> Result<(RelayMap, RelayUrl, Server)>
    Available on crate feature test-utils only.
    Expand description

    Runs a relay server with STUN and QUIC enabled suitable for tests.

    The returned Url is the url of the relay server in the returned RelayMap. When dropped, the returned [Server] does will stop running.

    \ No newline at end of file diff --git a/pr/3170/docs/iroh/test_utils/fn.run_relay_server_with.html b/pr/3170/docs/iroh/test_utils/fn.run_relay_server_with.html index afa1ca0a5b..624f90fe60 100644 --- a/pr/3170/docs/iroh/test_utils/fn.run_relay_server_with.html +++ b/pr/3170/docs/iroh/test_utils/fn.run_relay_server_with.html @@ -1,4 +1,4 @@ -run_relay_server_with in iroh::test_utils - Rust
    iroh::test_utils

    Function run_relay_server_with

    Source
    pub async fn run_relay_server_with(
    +run_relay_server_with in iroh::test_utils - Rust
    iroh::test_utils

    Function run_relay_server_with

    Source
    pub async fn run_relay_server_with(
         stun: Option<StunConfig>,
         quic: bool,
     ) -> Result<(RelayMap, RelayUrl, Server)>
    Available on crate feature test-utils only.
    Expand description

    Runs a relay server.

    diff --git a/pr/3170/docs/iroh/test_utils/fn.run_relay_server_with_stun.html b/pr/3170/docs/iroh/test_utils/fn.run_relay_server_with_stun.html index 377ae25ce6..414436809c 100644 --- a/pr/3170/docs/iroh/test_utils/fn.run_relay_server_with_stun.html +++ b/pr/3170/docs/iroh/test_utils/fn.run_relay_server_with_stun.html @@ -1,4 +1,4 @@ -run_relay_server_with_stun in iroh::test_utils - Rust
    iroh::test_utils

    Function run_relay_server_with_stun

    Source
    pub async fn run_relay_server_with_stun() -> Result<(RelayMap, RelayUrl, Server)>
    Available on crate feature test-utils only.
    Expand description

    Runs a relay server with STUN enabled suitable for tests.

    +run_relay_server_with_stun in iroh::test_utils - Rust
    iroh::test_utils

    Function run_relay_server_with_stun

    Source
    pub async fn run_relay_server_with_stun() -> Result<(RelayMap, RelayUrl, Server)>
    Available on crate feature test-utils only.
    Expand description

    Runs a relay server with STUN enabled suitable for tests.

    The returned Url is the url of the relay server in the returned RelayMap. When dropped, the returned [Server] does will stop running.

    \ No newline at end of file diff --git a/pr/3170/docs/iroh/test_utils/index.html b/pr/3170/docs/iroh/test_utils/index.html index 16c5049509..46e5637988 100644 --- a/pr/3170/docs/iroh/test_utils/index.html +++ b/pr/3170/docs/iroh/test_utils/index.html @@ -1,2 +1,2 @@ -iroh::test_utils - Rust
    iroh

    Module test_utils

    Source
    Available on crate feature test-utils only.
    Expand description

    Internal utilities to support testing.

    -

    Structs§

    Functions§

    \ No newline at end of file +iroh::test_utils - Rust
    iroh

    Module test_utils

    Source
    Available on crate feature test-utils only.
    Expand description

    Internal utilities to support testing.

    +

    Structs§

    Functions§

    \ No newline at end of file diff --git a/pr/3170/docs/iroh/test_utils/sidebar-items.js b/pr/3170/docs/iroh/test_utils/sidebar-items.js index 80a5e2fff6..e802792f51 100644 --- a/pr/3170/docs/iroh/test_utils/sidebar-items.js +++ b/pr/3170/docs/iroh/test_utils/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"fn":["create_dns_resolver","run_relay_server","run_relay_server_with","run_relay_server_with_stun"],"struct":["CleanupDropGuard","DnsPkarrServer"]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"fn":["run_relay_server","run_relay_server_with","run_relay_server_with_stun"],"struct":["CleanupDropGuard","DnsPkarrServer"]}; \ No newline at end of file diff --git a/pr/3170/docs/iroh/test_utils/struct.CleanupDropGuard.html b/pr/3170/docs/iroh/test_utils/struct.CleanupDropGuard.html index a49e2576d8..ce45b4d5e0 100644 --- a/pr/3170/docs/iroh/test_utils/struct.CleanupDropGuard.html +++ b/pr/3170/docs/iroh/test_utils/struct.CleanupDropGuard.html @@ -1,7 +1,7 @@ -CleanupDropGuard in iroh::test_utils - Rust
    iroh::test_utils

    Struct CleanupDropGuard

    Source
    pub struct CleanupDropGuard(/* private fields */);
    Available on crate feature test-utils only.
    Expand description

    A drop guard to clean up test infrastructure.

    +CleanupDropGuard in iroh::test_utils - Rust
    iroh::test_utils

    Struct CleanupDropGuard

    Source
    pub struct CleanupDropGuard(/* private fields */);
    Available on crate feature test-utils only.
    Expand description

    A drop guard to clean up test infrastructure.

    After dropping the test infrastructure will asynchronously shutdown and release its resources.

    -

    Trait Implementations§

    Source§

    impl Debug for CleanupDropGuard

    Source§

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl Debug for CleanupDropGuard

    Source§

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

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

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

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

    §

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

    §

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

    §

    fn implicit( diff --git a/pr/3170/docs/iroh/test_utils/struct.DnsPkarrServer.html b/pr/3170/docs/iroh/test_utils/struct.DnsPkarrServer.html index 058e860459..a962a0b84e 100644 --- a/pr/3170/docs/iroh/test_utils/struct.DnsPkarrServer.html +++ b/pr/3170/docs/iroh/test_utils/struct.DnsPkarrServer.html @@ -1,4 +1,4 @@ -DnsPkarrServer in iroh::test_utils - Rust
    iroh::test_utils

    Struct DnsPkarrServer

    Source
    pub struct DnsPkarrServer {
    +DnsPkarrServer in iroh::test_utils - Rust
    iroh::test_utils

    Struct DnsPkarrServer

    Source
    pub struct DnsPkarrServer {
         pub node_origin: String,
         pub nameserver: SocketAddr,
         pub pkarr_url: Url,
    @@ -8,14 +8,14 @@
     

    Fields§

    §node_origin: String

    The node origin domain.

    §nameserver: SocketAddr

    The socket address of the DNS server.

    §pkarr_url: Url

    The HTTP URL of the Pkarr server.

    -

    Implementations§

    Source§

    impl DnsPkarrServer

    Source

    pub async fn run() -> Result<Self>

    Run DNS and Pkarr servers on localhost.

    -
    Source

    pub async fn run_with_origin(node_origin: String) -> Result<Self>

    Run DNS and Pkarr servers on localhost with the specified node_origin domain.

    -
    Source

    pub fn discovery(&self, secret_key: SecretKey) -> Box<ConcurrentDiscovery>

    Implementations§

    Source§

    impl DnsPkarrServer

    Source

    pub async fn run() -> Result<Self>

    Run DNS and Pkarr servers on localhost.

    +
    Source

    pub async fn run_with_origin(node_origin: String) -> Result<Self>

    Run DNS and Pkarr servers on localhost with the specified node_origin domain.

    +
    Source

    pub fn discovery(&self, secret_key: SecretKey) -> Box<ConcurrentDiscovery>

    Create a ConcurrentDiscovery with DnsDiscovery and PkarrPublisher configured to use the test servers.

    -
    Source

    pub fn dns_resolver(&self) -> DnsResolver

    Create a DnsResolver configured to use the test DNS server.

    -
    Source

    pub async fn on_node(&self, node_id: &NodeId, timeout: Duration) -> Result<()>

    Wait until a Pkarr announce for a node is published to the server.

    +
    Source

    pub fn dns_resolver(&self) -> DnsResolver

    Create a DnsResolver configured to use the test DNS server.

    +
    Source

    pub async fn on_node(&self, node_id: &NodeId, timeout: Duration) -> Result<()>

    Wait until a Pkarr announce for a node is published to the server.

    If timeout elapses an error is returned.

    -

    Trait Implementations§

    Source§

    impl Debug for DnsPkarrServer

    Source§

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl Debug for DnsPkarrServer

    Source§

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

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

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

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

    §

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

    §

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

    §

    fn implicit( diff --git a/pr/3170/docs/iroh_dns_server/index.html b/pr/3170/docs/iroh_dns_server/index.html index e33513528c..8be57ab83b 100644 --- a/pr/3170/docs/iroh_dns_server/index.html +++ b/pr/3170/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/3170/docs/iroh_net_report/fn.bind_local_stun_socket.html b/pr/3170/docs/iroh_net_report/fn.bind_local_stun_socket.html index d40bba3498..2565cf0810 100644 --- a/pr/3170/docs/iroh_net_report/fn.bind_local_stun_socket.html +++ b/pr/3170/docs/iroh_net_report/fn.bind_local_stun_socket.html @@ -1,4 +1,4 @@ -bind_local_stun_socket in iroh_net_report - Rust
    iroh_net_report

    Function bind_local_stun_socket

    Source
    pub fn bind_local_stun_socket(
    +bind_local_stun_socket in iroh_net_report - Rust
    iroh_net_report

    Function bind_local_stun_socket

    Source
    pub fn bind_local_stun_socket(
         network: IpFamily,
         actor_addr: Addr,
         cancel_token: CancellationToken,
    diff --git a/pr/3170/docs/iroh_net_report/fn.os_has_ipv6.html b/pr/3170/docs/iroh_net_report/fn.os_has_ipv6.html
    index 0b0cbc6688..4efbb2651c 100644
    --- a/pr/3170/docs/iroh_net_report/fn.os_has_ipv6.html
    +++ b/pr/3170/docs/iroh_net_report/fn.os_has_ipv6.html
    @@ -1,2 +1,2 @@
    -os_has_ipv6 in iroh_net_report - Rust
    iroh_net_report

    Function os_has_ipv6

    Source
    pub fn os_has_ipv6() -> bool
    Expand description

    Test if IPv6 works at all, or if it’s been hard disabled at the OS level.

    +os_has_ipv6 in iroh_net_report - Rust
    iroh_net_report

    Function os_has_ipv6

    Source
    pub fn os_has_ipv6() -> bool
    Expand description

    Test if IPv6 works at all, or if it’s been hard disabled at the OS level.

    \ No newline at end of file diff --git a/pr/3170/docs/iroh_net_report/index.html b/pr/3170/docs/iroh_net_report/index.html index 7261df9435..605bb25bc5 100644 --- a/pr/3170/docs/iroh_net_report/index.html +++ b/pr/3170/docs/iroh_net_report/index.html @@ -1,4 +1,4 @@ -iroh_net_report - Rust

    Crate iroh_net_report

    Source
    Expand description

    Checks the network conditions from the current host.

    +iroh_net_report - Rust

    Crate iroh_net_report

    Source
    Expand description

    Checks the network conditions from the current host.

    NetReport is responsible for finding out the network conditions of the current host, like whether it is connected to the internet via IPv4 and/or IPv6, what the NAT situation is etc and reachability to the configured relays.

    diff --git a/pr/3170/docs/iroh_net_report/struct.Addr.html b/pr/3170/docs/iroh_net_report/struct.Addr.html index 1c62f3f102..3f601acad2 100644 --- a/pr/3170/docs/iroh_net_report/struct.Addr.html +++ b/pr/3170/docs/iroh_net_report/struct.Addr.html @@ -1,7 +1,7 @@ -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.

    +

    Implementations§

    Source§

    impl Addr

    Source

    pub fn receive_stun_packet(&self, payload: Bytes, src: SocketAddr)

    Pass a received STUN packet to the net_reporter.

    Normally the UDP sockets to send STUN messages from are passed in so that STUN packets are sent from the sockets that carry the real traffic. However because these sockets carry real traffic they will also receive non-STUN traffic, thus the @@ -11,7 +11,7 @@ packet on the socket you should pass it to this method.

    in-flight STUN probes. The actor will simply ignore any stray STUN packets.

    There is an implicit queue here which may drop packets if the actor does not keep up consuming them.

    -

    Trait Implementations§

    Source§

    impl Clone for Addr

    Source§

    fn clone(&self) -> Addr

    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 Addr

    Source§

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Addr

    §

    impl RefUnwindSafe for Addr

    §

    impl Send for Addr

    §

    impl Sync for Addr

    §

    impl Unpin for Addr

    §

    impl UnwindSafe for Addr

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl Clone for Addr

    Source§

    fn clone(&self) -> Addr

    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 Addr

    Source§

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Addr

    §

    impl RefUnwindSafe for Addr

    §

    impl Send for Addr

    §

    impl Sync for Addr

    §

    impl Unpin for Addr

    §

    impl UnwindSafe for Addr

    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,8 @@ consuming them.

    ) -> TaggedParser<'a, Implicit, Self, E>

    Source§

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

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

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

    Source§

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

    Mutably borrows from an owned value. Read more
    Source§

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

    Source§

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

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

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Clone,

    Source§

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

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

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

    Source§

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

    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

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

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

    fn in_current_span(self) -> Instrumented<Self>

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

    impl<T, U> Into<U> for T
    where diff --git a/pr/3170/docs/iroh_net_report/struct.Client.html b/pr/3170/docs/iroh_net_report/struct.Client.html index f696fc0d40..b26f34faf5 100644 --- a/pr/3170/docs/iroh_net_report/struct.Client.html +++ b/pr/3170/docs/iroh_net_report/struct.Client.html @@ -1,21 +1,21 @@ -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. If all Clients are dropped the actor stops running.

    While running the net_report actor expects to be passed all received stun packets using Addr::receive_stun_packet.

    -

    Implementations§

    Source§

    impl Client

    Source

    pub fn new( +

    Implementations§

    Source§

    impl Client

    Source

    pub fn new( port_mapper: Option<Client>, dns_resolver: DnsResolver, ip_mapped_addrs: Option<IpMappedAddresses>, ) -> Result<Self>

    Creates a new net_report client.

    This starts a connected actor in the background. Once the client is dropped it will stop running.

    -
    Source

    pub fn addr(&self) -> Addr

    Returns a new address to send messages to this actor.

    +
    Source

    pub fn addr(&self) -> Addr

    Returns a new address to send messages to this actor.

    Unlike the client itself the returned Addr does not own the actor task, it only allows sending messages to the actor.

    -
    Source

    pub async fn get_report( +

    Source

    pub async fn get_report( &mut self, relay_map: RelayMap, stun_sock_v4: Option<Arc<UdpSocket>>, @@ -37,20 +37,20 @@ When available, the report will attempt to get an observed public address using QUIC address discovery.

    When None, it will disable the QUIC address discovery probes.

    This will attempt to use all probe protocols.

    -

    Source

    pub async fn get_report_with_opts( +

    Source

    pub async fn get_report_with_opts( &mut self, relay_map: RelayMap, opts: Options, ) -> Result<Arc<Report>>

    Runs a net_report, returning the report.

    It may not be called concurrently with itself, &mut self takes care of that.

    Look at Options for the different configuration options.

    -
    Source

    pub async fn get_report_channel( +

    Source

    pub async fn get_report_channel( &mut self, relay_map: RelayMap, opts: Options, ) -> Result<Receiver<Result<Arc<Report>>>>

    Get report with channel

    Look at Options for the different configuration options.

    -

    Trait Implementations§

    Source§

    impl Debug for Client

    Source§

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Client

    §

    impl RefUnwindSafe for Client

    §

    impl Send for Client

    §

    impl Sync for Client

    §

    impl Unpin for Client

    §

    impl UnwindSafe for Client

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl Debug for Client

    Source§

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Client

    §

    impl RefUnwindSafe for Client

    §

    impl Send for Client

    §

    impl Sync for Client

    §

    impl Unpin for Client

    §

    impl UnwindSafe for Client

    Blanket Implementations§

    Source§

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

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

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

    §

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

    §

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

    §

    fn implicit( diff --git a/pr/3170/docs/iroh_net_report/struct.IpMappedAddr.html b/pr/3170/docs/iroh_net_report/struct.IpMappedAddr.html index 2d64ac4634..4c4ceb3b4c 100644 --- a/pr/3170/docs/iroh_net_report/struct.IpMappedAddr.html +++ b/pr/3170/docs/iroh_net_report/struct.IpMappedAddr.html @@ -1,4 +1,4 @@ -IpMappedAddr in iroh_net_report - Rust
    iroh_net_report

    Struct IpMappedAddr

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

    A map fake Ipv6 address with an actual IP address.

    +IpMappedAddr in iroh_net_report - Rust
    iroh_net_report

    Struct IpMappedAddr

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

    A map fake Ipv6 address with an actual IP address.

    It is essentially a lookup key for an IP that iroh’s magicsocket knows about.

    Implementations§

    Source§

    impl IpMappedAddr

    Source

    pub fn generate() -> Self

    Generates a globally unique fake UDP address.

    This generates a new IPv6 address in the Unique Local Address range (RFC 4193) @@ -26,7 +26,8 @@ the >= operator. Sized,

    Source§

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

    Mutably borrows from an owned value. Read more
    Source§

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

    Source§

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

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

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

    §

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

    Compare self to key and return their ordering.
    §

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

    §

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

    Compare self to key and return their ordering.
    Source§

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

    Source§

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

    §

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

    §

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

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

    impl<Q, K> Equivalent<K> for Q
    where Q: Eq + ?Sized, diff --git a/pr/3170/docs/iroh_net_report/struct.IpMappedAddresses.html b/pr/3170/docs/iroh_net_report/struct.IpMappedAddresses.html index 6a3190a559..7cbaf737ec 100644 --- a/pr/3170/docs/iroh_net_report/struct.IpMappedAddresses.html +++ b/pr/3170/docs/iroh_net_report/struct.IpMappedAddresses.html @@ -1,4 +1,4 @@ -IpMappedAddresses in iroh_net_report - Rust
    iroh_net_report

    Struct IpMappedAddresses

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

    A Map of IpMappedAddresses to SocketAddr.

    +IpMappedAddresses in iroh_net_report - Rust
    iroh_net_report

    Struct IpMappedAddresses

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

    Implementations§

    Source§

    impl IpMappedAddresses

    Source

    pub fn new() -> Self

    Creates an empty IpMappedAddresses.

    Source

    pub fn get_or_register(&self, socket_addr: SocketAddr) -> IpMappedAddr

    Adds a SocketAddr to the map and returns the generated IpMappedAddr.

    If this SocketAddr already exists in the map, it returns its @@ -17,7 +17,8 @@ associated

    Source§

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

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

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

    Source§

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

    Mutably borrows from an owned value. Read more
    Source§

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

    Source§

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

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

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Clone,

    Source§

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

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

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

    Source§

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

    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

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

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

    fn in_current_span(self) -> Instrumented<Self>

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

    impl<T, U> Into<U> for T
    where diff --git a/pr/3170/docs/iroh_net_report/struct.Metrics.html b/pr/3170/docs/iroh_net_report/struct.Metrics.html index 30e75abc08..99a46470ee 100644 --- a/pr/3170/docs/iroh_net_report/struct.Metrics.html +++ b/pr/3170/docs/iroh_net_report/struct.Metrics.html @@ -1,4 +1,4 @@ -Metrics in iroh_net_report - Rust
    iroh_net_report

    Struct Metrics

    Source
    pub struct Metrics {
    +Metrics in iroh_net_report - Rust
    iroh_net_report

    Struct Metrics

    Source
    pub struct Metrics {
         pub stun_packets_dropped: Counter,
         pub stun_packets_sent_ipv4: Counter,
         pub stun_packets_sent_ipv6: Counter,
    @@ -20,7 +20,8 @@ Only records if this metric is registered in the global registry.

    Source§

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

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

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

    Source§

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

    Mutably borrows from an owned value. Read more
    Source§

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

    Source§

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

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

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where diff --git a/pr/3170/docs/iroh_net_report/struct.Options.html b/pr/3170/docs/iroh_net_report/struct.Options.html index 4b3ef96b9a..c6bc1319dc 100644 --- a/pr/3170/docs/iroh_net_report/struct.Options.html +++ b/pr/3170/docs/iroh_net_report/struct.Options.html @@ -1,15 +1,15 @@ -Options in iroh_net_report - Rust
    iroh_net_report

    Struct Options

    Source
    pub struct Options { /* private fields */ }
    Expand description

    Options for running probes

    +Options in iroh_net_report - Rust
    iroh_net_report

    Struct Options

    Source
    pub struct Options { /* private fields */ }
    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.

    -

    Implementations§

    Source§

    impl Options

    Source

    pub fn disabled() -> Self

    Create an Options that disables all probes

    -
    Source

    pub fn stun_v4(self, sock: Option<Arc<UdpSocket>>) -> Self

    Set the ipv4 stun socket and enable ipv4 stun probes

    -
    Source

    pub fn stun_v6(self, sock: Option<Arc<UdpSocket>>) -> Self

    Set the ipv6 stun socket and enable ipv6 stun probes

    -
    Source

    pub fn quic_config(self, quic_config: Option<QuicConfig>) -> Self

    Enable quic probes

    -
    Source

    pub fn icmp_v4(self, enable: bool) -> Self

    Enable or disable icmp_v4 probe

    -
    Source

    pub fn icmp_v6(self, enable: bool) -> Self

    Enable or disable icmp_v6 probe

    -
    Source

    pub fn https(self, enable: bool) -> Self

    Enable or disable https probe

    -

    Trait Implementations§

    Source§

    impl Debug for Options

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Options

    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 +

    Implementations§

    Source§

    impl Options

    Source

    pub fn disabled() -> Self

    Create an Options that disables all probes

    +
    Source

    pub fn stun_v4(self, sock: Option<Arc<UdpSocket>>) -> Self

    Set the ipv4 stun socket and enable ipv4 stun probes

    +
    Source

    pub fn stun_v6(self, sock: Option<Arc<UdpSocket>>) -> Self

    Set the ipv6 stun socket and enable ipv6 stun probes

    +
    Source

    pub fn quic_config(self, quic_config: Option<QuicConfig>) -> Self

    Enable quic probes

    +
    Source

    pub fn icmp_v4(self, enable: bool) -> Self

    Enable or disable icmp_v4 probe

    +
    Source

    pub fn icmp_v6(self, enable: bool) -> Self

    Enable or disable icmp_v6 probe

    +
    Source

    pub fn https(self, enable: bool) -> Self

    Enable or disable https probe

    +

    Trait Implementations§

    Source§

    impl Clone for Options

    Source§

    fn clone(&self) -> Options

    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 Options

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Options

    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( @@ -19,14 +19,17 @@ to enable STUN over IPv4, STUN over IPv6, and QUIC address discovery.

    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
    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> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = _

    The alignment of pointer.
    §

    type Init = T

    The type for initializers.
    §

    unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more
    §

    unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more
    §

    unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more
    §

    unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T, U> TryFrom<U> for T
    where +

    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = _

    The alignment of pointer.
    §

    type Init = T

    The type for initializers.
    §

    unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more
    §

    unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more
    §

    unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more
    §

    unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where diff --git a/pr/3170/docs/iroh_net_report/struct.QuicConfig.html b/pr/3170/docs/iroh_net_report/struct.QuicConfig.html index 1a8c3317fe..081d381cb6 100644 --- a/pr/3170/docs/iroh_net_report/struct.QuicConfig.html +++ b/pr/3170/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,
    @@ -8,7 +8,7 @@
     
    §client_config: ClientConfig

    A client config.

    §ipv4: bool

    Enable ipv4 QUIC address discovery probes

    §ipv6: bool

    Enable ipv6 QUIC address discovery probes

    -

    Trait Implementations§

    Source§

    impl Clone for QuicConfig

    Source§

    fn clone(&self) -> QuicConfig

    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 QuicConfig

    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 QuicConfig

    Source§

    fn clone(&self) -> QuicConfig

    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 QuicConfig

    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( @@ -19,7 +19,8 @@ ) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where diff --git a/pr/3170/docs/iroh_net_report/struct.RelayLatencies.html b/pr/3170/docs/iroh_net_report/struct.RelayLatencies.html index 64305402d6..8494e5ed26 100644 --- a/pr/3170/docs/iroh_net_report/struct.RelayLatencies.html +++ b/pr/3170/docs/iroh_net_report/struct.RelayLatencies.html @@ -1,7 +1,7 @@ -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 +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 T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -12,7 +12,8 @@ and should not be overridden without very good reason.

    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Q
    where Q: Eq + ?Sized, diff --git a/pr/3170/docs/iroh_net_report/struct.Report.html b/pr/3170/docs/iroh_net_report/struct.Report.html index a58a3bce31..5a58065db3 100644 --- a/pr/3170/docs/iroh_net_report/struct.Report.html +++ b/pr/3170/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, @@ -43,8 +43,8 @@ public IP address (on IPv4).

    §global_v6: Option<SocketAddrV6>

    [ip]:port of global IPv6

    §captive_portal: Option<bool>

    CaptivePortal is set when we think there’s a captive portal that is intercepting HTTP traffic.

    -

    Trait Implementations§

    Source§

    impl Clone for Report

    Source§

    fn clone(&self) -> Report

    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 Report

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Report

    Source§

    fn default() -> Report

    Returns the “default value” for a type. Read more
    Source§

    impl Display for Report

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl PartialEq for Report

    Source§

    fn eq(&self, other: &Report) -> 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 Report

    Source§

    impl StructuralPartialEq for Report

    Auto Trait Implementations§

    §

    impl Freeze for Report

    §

    impl RefUnwindSafe for Report

    §

    impl Send for Report

    §

    impl Sync for Report

    §

    impl Unpin for Report

    §

    impl UnwindSafe for Report

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl Clone for Report

    Source§

    fn clone(&self) -> Report

    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 Report

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Report

    Source§

    fn default() -> Report

    Returns the “default value” for a type. Read more
    Source§

    impl Display for Report

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl PartialEq for Report

    Source§

    fn eq(&self, other: &Report) -> 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 Report

    Source§

    impl StructuralPartialEq for Report

    Auto Trait Implementations§

    §

    impl Freeze for Report

    §

    impl RefUnwindSafe for Report

    §

    impl Send for Report

    §

    impl Sync for Report

    §

    impl Unpin for Report

    §

    impl UnwindSafe for Report

    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( @@ -55,7 +55,8 @@ and should not be overridden without very good reason.

    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Q
    where Q: Eq + ?Sized, diff --git a/pr/3170/docs/iroh_relay/all.html b/pr/3170/docs/iroh_relay/all.html index 4ee5173072..e6402b9092 100644 --- a/pr/3170/docs/iroh_relay/all.html +++ b/pr/3170/docs/iroh_relay/all.html @@ -1 +1 @@ -List of all items in this crate

    List of all items

    Structs

    Enums

    Functions

    Constants

    \ No newline at end of file +List of all items in this crate

    List of all items

    Structs

    Enums

    Traits

    Functions

    Constants

    \ No newline at end of file diff --git a/pr/3170/docs/iroh_relay/client/enum.ReceivedMessage.html b/pr/3170/docs/iroh_relay/client/enum.ReceivedMessage.html index d3aa3429c6..035d4a5eba 100644 --- a/pr/3170/docs/iroh_relay/client/enum.ReceivedMessage.html +++ b/pr/3170/docs/iroh_relay/client/enum.ReceivedMessage.html @@ -1,4 +1,4 @@ -ReceivedMessage in iroh_relay::client - Rust
    iroh_relay::client

    Enum ReceivedMessage

    Source
    pub enum ReceivedMessage {
    +ReceivedMessage in iroh_relay::client - Rust
    iroh_relay::client

    Enum ReceivedMessage

    Source
    pub enum ReceivedMessage {
         ReceivedPacket {
             remote_node_id: NodeId,
             data: Bytes,
    @@ -51,7 +51,8 @@ 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> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where diff --git a/pr/3170/docs/iroh_relay/client/struct.ClientBuilder.html b/pr/3170/docs/iroh_relay/client/struct.ClientBuilder.html index 3d8c16c41c..dced614e31 100644 --- a/pr/3170/docs/iroh_relay/client/struct.ClientBuilder.html +++ b/pr/3170/docs/iroh_relay/client/struct.ClientBuilder.html @@ -1,8 +1,8 @@ -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, - dns_resolver: DnsResolver, + 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. Set to use non-websocket, normal relaying by default.

    @@ -30,7 +30,8 @@ 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> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Clone,
    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where diff --git a/pr/3170/docs/iroh_relay/dns/constant.N0_DNS_NODE_ORIGIN_PROD.html b/pr/3170/docs/iroh_relay/dns/constant.N0_DNS_NODE_ORIGIN_PROD.html new file mode 100644 index 0000000000..ed7c50ce96 --- /dev/null +++ b/pr/3170/docs/iroh_relay/dns/constant.N0_DNS_NODE_ORIGIN_PROD.html @@ -0,0 +1,2 @@ +N0_DNS_NODE_ORIGIN_PROD in iroh_relay::dns - Rust
    iroh_relay::dns

    Constant N0_DNS_NODE_ORIGIN_PROD

    Source
    pub const N0_DNS_NODE_ORIGIN_PROD: &str = "dns.iroh.link";
    Available on non-wasm_browser only.
    Expand description

    The n0 testing DNS node origin, for production.

    +
    \ No newline at end of file diff --git a/pr/3170/docs/iroh_relay/dns/constant.N0_DNS_NODE_ORIGIN_STAGING.html b/pr/3170/docs/iroh_relay/dns/constant.N0_DNS_NODE_ORIGIN_STAGING.html new file mode 100644 index 0000000000..a4a410c8da --- /dev/null +++ b/pr/3170/docs/iroh_relay/dns/constant.N0_DNS_NODE_ORIGIN_STAGING.html @@ -0,0 +1,2 @@ +N0_DNS_NODE_ORIGIN_STAGING in iroh_relay::dns - Rust
    iroh_relay::dns

    Constant N0_DNS_NODE_ORIGIN_STAGING

    Source
    pub const N0_DNS_NODE_ORIGIN_STAGING: &str = "staging-dns.iroh.link";
    Available on non-wasm_browser only.
    Expand description

    The n0 testing DNS node origin, for testing.

    +
    \ No newline at end of file diff --git a/pr/3170/docs/iroh_relay/dns/index.html b/pr/3170/docs/iroh_relay/dns/index.html new file mode 100644 index 0000000000..a87460e2e7 --- /dev/null +++ b/pr/3170/docs/iroh_relay/dns/index.html @@ -0,0 +1,2 @@ +iroh_relay::dns - Rust
    iroh_relay

    Module dns

    Source
    Available on non-wasm_browser only.
    Expand description

    DNS resolver

    +

    Modules§

    Structs§

    Constants§

    \ No newline at end of file diff --git a/pr/3170/docs/iroh_relay/dns/node_info/constant.IROH_TXT_NAME.html b/pr/3170/docs/iroh_relay/dns/node_info/constant.IROH_TXT_NAME.html new file mode 100644 index 0000000000..9ccb34e067 --- /dev/null +++ b/pr/3170/docs/iroh_relay/dns/node_info/constant.IROH_TXT_NAME.html @@ -0,0 +1,2 @@ +IROH_TXT_NAME in iroh_relay::dns::node_info - Rust
    iroh_relay::dns::node_info

    Constant IROH_TXT_NAME

    Source
    pub const IROH_TXT_NAME: &str = "_iroh";
    Available on non-wasm_browser only.
    Expand description

    The DNS name for the iroh TXT record.

    +
    \ No newline at end of file diff --git a/pr/3170/docs/iroh_relay/dns/node_info/index.html b/pr/3170/docs/iroh_relay/dns/node_info/index.html new file mode 100644 index 0000000000..59ceda8169 --- /dev/null +++ b/pr/3170/docs/iroh_relay/dns/node_info/index.html @@ -0,0 +1,34 @@ +iroh_relay::dns::node_info - Rust
    iroh_relay::dns

    Module node_info

    Source
    Available on non-wasm_browser only.
    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

    + +

    The returned TXT records must contain a string value of the form key=value as defined +in RFC1464. The following attributes are defined:

    +
      +
    • +

      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], +which is the encoding used in [pkarr] domain names.
    \ No newline at end of file diff --git a/pr/3170/docs/iroh_relay/dns/node_info/sidebar-items.js b/pr/3170/docs/iroh_relay/dns/node_info/sidebar-items.js new file mode 100644 index 0000000000..38b541dbae --- /dev/null +++ b/pr/3170/docs/iroh_relay/dns/node_info/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"constant":["IROH_TXT_NAME"],"struct":["NodeInfo"],"trait":["NodeIdExt"]}; \ No newline at end of file diff --git a/pr/3170/docs/iroh_relay/dns/node_info/struct.NodeInfo.html b/pr/3170/docs/iroh_relay/dns/node_info/struct.NodeInfo.html new file mode 100644 index 0000000000..f4942240e2 --- /dev/null +++ b/pr/3170/docs/iroh_relay/dns/node_info/struct.NodeInfo.html @@ -0,0 +1,55 @@ +NodeInfo in iroh_relay::dns::node_info - Rust
    iroh_relay::dns::node_info

    Struct NodeInfo

    Source
    pub struct NodeInfo {
    +    pub node_id: NodeId,
    +    pub relay_url: Option<Url>,
    +    pub direct_addresses: BTreeSet<SocketAddr>,
    +}
    Available on non-wasm_browser only.
    Expand description

    Information about the iroh node contained in an IROH_TXT_NAME TXT resource record.

    +

    Fields§

    §node_id: NodeId

    The NodeId.

    +
    §relay_url: Option<Url>

    The advertised home relay server.

    +
    §direct_addresses: BTreeSet<SocketAddr>

    Any direct addresses.

    +

    Implementations§

    Source§

    impl NodeInfo

    Source

    pub fn new( + node_id: NodeId, + relay_url: Option<Url>, + direct_addresses: BTreeSet<SocketAddr>, +) -> Self

    Creates a new NodeInfo from its parts.

    +
    Source

    pub fn from_txt_lookup(lookup: TxtLookup) -> Result<Self>

    Parses a NodeInfo from a TXT records lookup.

    +
    Source

    pub fn from_pkarr_signed_packet(packet: &SignedPacket) -> Result<Self>

    Parses a NodeInfo from a [pkarr::SignedPacket].

    +
    Source

    pub fn to_pkarr_signed_packet( + &self, + secret_key: &SecretKey, + ttl: u32, +) -> Result<SignedPacket>

    Creates a [pkarr::SignedPacket].

    +

    This constructs a DNS packet and signs it with a SecretKey.

    +
    Source

    pub fn to_txt_strings(&self) -> Vec<String>

    Converts into a list of {key}={value} strings.

    +

    Trait Implementations§

    Source§

    impl Clone for NodeInfo

    Source§

    fn clone(&self) -> NodeInfo

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for NodeInfo

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<NodeInfo> for 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 + T: 'a,

    §

    fn implicit( + self, + class: Class, + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +

    That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

    +
    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = _

    The alignment of pointer.
    §

    type Init = T

    The type for initializers.
    §

    unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more
    §

    unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more
    §

    unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more
    §

    unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    impl<T> ErasedDestructor for T
    where + T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/3170/docs/iroh_relay/dns/node_info/trait.NodeIdExt.html b/pr/3170/docs/iroh_relay/dns/node_info/trait.NodeIdExt.html new file mode 100644 index 0000000000..8b9a67f7b6 --- /dev/null +++ b/pr/3170/docs/iroh_relay/dns/node_info/trait.NodeIdExt.html @@ -0,0 +1,9 @@ +NodeIdExt in iroh_relay::dns::node_info - Rust
    iroh_relay::dns::node_info

    Trait NodeIdExt

    Source
    pub trait NodeIdExt {
    +    // Required methods
    +    fn to_z32(&self) -> String;
    +    fn from_z32(s: &str) -> Result<NodeId>;
    +}
    Available on non-wasm_browser only.
    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 diff --git a/pr/3170/docs/iroh_relay/dns/sidebar-items.js b/pr/3170/docs/iroh_relay/dns/sidebar-items.js new file mode 100644 index 0000000000..e4ad57de0e --- /dev/null +++ b/pr/3170/docs/iroh_relay/dns/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"constant":["N0_DNS_NODE_ORIGIN_PROD","N0_DNS_NODE_ORIGIN_STAGING"],"mod":["node_info"],"struct":["DnsResolver","TXT","TxtLookup"]}; \ No newline at end of file diff --git a/pr/3170/docs/iroh_relay/dns/struct.DnsResolver.html b/pr/3170/docs/iroh_relay/dns/struct.DnsResolver.html new file mode 100644 index 0000000000..e65bccbe23 --- /dev/null +++ b/pr/3170/docs/iroh_relay/dns/struct.DnsResolver.html @@ -0,0 +1,122 @@ +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 +to the default ResolverConfig which uses eg. to google’s 8.8.8.8 or 8.8.4.4.

    +
    Source

    pub fn with_nameserver(nameserver: SocketAddr) -> Self

    Create a new DNS resolver configured with a single UDP DNS nameserver.

    +
    Source

    pub fn clear_cache(&self)

    Removes all entries from the cache.

    +
    Source

    pub async fn lookup_txt( + &self, + host: impl ToString, + timeout: Duration, +) -> Result<TxtLookup>

    Lookup a TXT record.

    +
    Source

    pub async fn lookup_ipv4( + &self, + host: impl ToString, + timeout: Duration, +) -> Result<impl Iterator<Item = IpAddr>>

    Perform an ipv4 lookup with a timeout.

    +
    Source

    pub async fn lookup_ipv6( + &self, + host: impl ToString, + timeout: Duration, +) -> Result<impl Iterator<Item = IpAddr>>

    Perform an ipv6 lookup with a timeout.

    +
    Source

    pub async fn lookup_ipv4_ipv6( + &self, + host: impl ToString, + timeout: Duration, +) -> Result<impl Iterator<Item = IpAddr>>

    Resolve IPv4 and IPv6 in parallel with a timeout.

    +

    LookupIpStrategy::Ipv4AndIpv6 will wait for ipv6 resolution timeout, even if it is +not usable on the stack, so we manually query both lookups concurrently and time them out +individually.

    +
    Source

    pub async fn resolve_host( + &self, + url: &Url, + prefer_ipv6: bool, + timeout: Duration, +) -> Result<IpAddr>

    Resolve a hostname from a URL to an IP address.

    +
    Source

    pub async fn lookup_ipv4_staggered( + &self, + host: impl ToString, + timeout: Duration, + delays_ms: &[u64], +) -> Result<impl Iterator<Item = IpAddr>>

    Perform an ipv4 lookup with a timeout in a staggered fashion.

    +

    From the moment this function is called, each lookup is scheduled after the delays in +delays_ms with the first call being done immediately. [200ms, 300ms] results in calls +at T+0ms, T+200ms and T+300ms. The timeout is applied to each call individually. The +result of the first successful call is returned, or a summary of all errors otherwise.

    +
    Source

    pub async fn lookup_ipv6_staggered( + &self, + host: impl ToString, + timeout: Duration, + delays_ms: &[u64], +) -> Result<impl Iterator<Item = IpAddr>>

    Perform an ipv6 lookup with a timeout in a staggered fashion.

    +

    From the moment this function is called, each lookup is scheduled after the delays in +delays_ms with the first call being done immediately. [200ms, 300ms] results in calls +at T+0ms, T+200ms and T+300ms. The timeout is applied to each call individually. The +result of the first successful call is returned, or a summary of all errors otherwise.

    +
    Source

    pub async fn lookup_ipv4_ipv6_staggered( + &self, + host: impl ToString, + timeout: Duration, + delays_ms: &[u64], +) -> Result<impl Iterator<Item = IpAddr>>

    Race an ipv4 and ipv6 lookup with a timeout in a staggered fashion.

    +

    From the moment this function is called, each lookup is scheduled after the delays in +delays_ms with the first call being done immediately. [200ms, 300ms] results in calls +at T+0ms, T+200ms and T+300ms. The timeout is applied as stated in +Self::lookup_ipv4_ipv6. The result of the first successful call is returned, or a +summary of all errors otherwise.

    +
    Source

    pub async fn lookup_node_by_id( + &self, + node_id: &NodeId, + origin: &str, +) -> Result<NodeAddr>

    Looks up node info by NodeId and origin domain name.

    +

    To lookup nodes that published their node info to the DNS servers run by n0, +pass N0_DNS_NODE_ORIGIN_PROD as origin.

    +
    Source

    pub async fn lookup_node_by_domain_name(&self, name: &str) -> Result<NodeAddr>

    Looks up node info by DNS name.

    +
    Source

    pub async fn lookup_node_by_domain_name_staggered( + &self, + name: &str, + delays_ms: &[u64], +) -> Result<NodeAddr>

    Looks up node info by DNS name in a staggered fashion.

    +

    From the moment this function is called, each lookup is scheduled after the delays in +delays_ms with the first call being done immediately. [200ms, 300ms] results in calls +at T+0ms, T+200ms and T+300ms. The result of the first successful call is returned, or a +summary of all errors otherwise.

    +
    Source

    pub async fn lookup_node_by_id_staggered( + &self, + node_id: &NodeId, + origin: &str, + delays_ms: &[u64], +) -> Result<NodeAddr>

    Looks up node info by NodeId and origin domain name.

    +

    From the moment this function is called, each lookup is scheduled after the delays in +delays_ms with the first call being done immediately. [200ms, 300ms] results in calls +at T+0ms, T+200ms and T+300ms. The result of the first successful call is returned, or a +summary of all errors otherwise.

    +

    Trait Implementations§

    Source§

    impl Clone for DnsResolver

    Source§

    fn clone(&self) -> DnsResolver

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for DnsResolver

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for DnsResolver

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl From<Resolver<GenericConnector<TokioRuntimeProvider>>> for DnsResolver

    Source§

    fn from(resolver: TokioResolver) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn implicit( + self, + class: Class, + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +

    That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

    +
    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = _

    The alignment of pointer.
    §

    type Init = T

    The type for initializers.
    §

    unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more
    §

    unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more
    §

    unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more
    §

    unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    impl<T> ErasedDestructor for T
    where + T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/3170/docs/iroh_relay/dns/struct.TXT.html b/pr/3170/docs/iroh_relay/dns/struct.TXT.html new file mode 100644 index 0000000000..5874f3b517 --- /dev/null +++ b/pr/3170/docs/iroh_relay/dns/struct.TXT.html @@ -0,0 +1,31 @@ +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 + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn implicit( + self, + class: Class, + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +

    That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

    +
    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = _

    The alignment of pointer.
    §

    type Init = T

    The type for initializers.
    §

    unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more
    §

    unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more
    §

    unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more
    §

    unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    impl<T> ErasedDestructor for T
    where + T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/3170/docs/iroh_relay/dns/struct.TxtLookup.html b/pr/3170/docs/iroh_relay/dns/struct.TxtLookup.html new file mode 100644 index 0000000000..9d9e457495 --- /dev/null +++ b/pr/3170/docs/iroh_relay/dns/struct.TxtLookup.html @@ -0,0 +1,29 @@ +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 + T: 'a,

    §

    fn implicit( + self, + class: Class, + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +

    That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

    +
    §

    impl<T> Pointable for T

    §

    const ALIGN: usize = _

    The alignment of pointer.
    §

    type Init = T

    The type for initializers.
    §

    unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more
    §

    unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more
    §

    unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more
    §

    unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    impl<T> ErasedDestructor for T
    where + T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/3170/docs/iroh_relay/http/enum.Protocol.html b/pr/3170/docs/iroh_relay/http/enum.Protocol.html index e775587047..aeea415651 100644 --- a/pr/3170/docs/iroh_relay/http/enum.Protocol.html +++ b/pr/3170/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,8 @@ and should not be overridden without very good reason.

    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Q
    where Q: Eq + ?Sized, diff --git a/pr/3170/docs/iroh_relay/index.html b/pr/3170/docs/iroh_relay/index.html index a05f76df49..f0d994a647 100644 --- a/pr/3170/docs/iroh_relay/index.html +++ b/pr/3170/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.
    • HTTP-specific constants for the relay server and client.
    • Protocols used by the iroh-relay
    • Create a QUIC server that accepts connections +

    Re-exports§

    Modules§

    Structs§

    \ No newline at end of file diff --git a/pr/3170/docs/iroh_relay/protos/stun/enum.MessageClass.html b/pr/3170/docs/iroh_relay/protos/stun/enum.MessageClass.html index d53034ece5..bff6dedc89 100644 --- a/pr/3170/docs/iroh_relay/protos/stun/enum.MessageClass.html +++ b/pr/3170/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,8 @@ and should not be overridden without very good reason.
    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Q
    where Q: Eq + ?Sized, diff --git a/pr/3170/docs/iroh_relay/protos/stun/enum.StunAttribute.html b/pr/3170/docs/iroh_relay/protos/stun/enum.StunAttribute.html index 26e965452b..6748ab19af 100644 --- a/pr/3170/docs/iroh_relay/protos/stun/enum.StunAttribute.html +++ b/pr/3170/docs/iroh_relay/protos/stun/enum.StunAttribute.html @@ -1,4 +1,4 @@ -StunAttribute in iroh_relay::protos::stun - Rust
    iroh_relay::protos::stun

    Enum StunAttribute

    pub enum StunAttribute {
    +StunAttribute in iroh_relay::protos::stun - Rust
    iroh_relay::protos::stun

    Enum StunAttribute

    pub enum StunAttribute {
     
    Show 16 variants Unknown(Unknown), AlternateServer(AlternateServer), ErrorCode(ErrorCode), @@ -126,7 +126,8 @@ ) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Clone,
    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where diff --git a/pr/3170/docs/iroh_relay/protos/stun/struct.MessageDecoder.html b/pr/3170/docs/iroh_relay/protos/stun/struct.MessageDecoder.html index 1f277a20b0..661f61ed05 100644 --- a/pr/3170/docs/iroh_relay/protos/stun/struct.MessageDecoder.html +++ b/pr/3170/docs/iroh_relay/protos/stun/struct.MessageDecoder.html @@ -1,4 +1,4 @@ -MessageDecoder in iroh_relay::protos::stun - Rust
    iroh_relay::protos::stun

    Struct MessageDecoder

    pub struct MessageDecoder { /* private fields */ }
    Expand description

    Class used to decode STUN messages

    +MessageDecoder in iroh_relay::protos::stun - Rust
    iroh_relay::protos::stun

    Struct MessageDecoder

    pub struct MessageDecoder { /* private fields */ }
    Expand description

    Class used to decode STUN messages

    Implementations§

    §

    impl MessageDecoder

    pub fn decode( &self, buffer: &[u8], @@ -22,7 +22,8 @@ or an error describing the problem if the message could not be decoded.

    ) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where diff --git a/pr/3170/docs/iroh_relay/protos/stun/struct.TransactionId.html b/pr/3170/docs/iroh_relay/protos/stun/struct.TransactionId.html index eb7254da1e..a51103071c 100644 --- a/pr/3170/docs/iroh_relay/protos/stun/struct.TransactionId.html +++ b/pr/3170/docs/iroh_relay/protos/stun/struct.TransactionId.html @@ -1,4 +1,4 @@ -TransactionId in iroh_relay::protos::stun - Rust
    iroh_relay::protos::stun

    Struct TransactionId

    pub struct TransactionId(/* private fields */);
    Expand description

    The transaction ID is a 96-bit identifier, used to uniquely identify +TransactionId in iroh_relay::protos::stun - Rust

    iroh_relay::protos::stun

    Struct TransactionId

    pub struct TransactionId(/* private fields */);
    Expand description

    The transaction ID is a 96-bit identifier, used to uniquely identify STUN transactions. It primarily serves to correlate requests with responses, though it also plays a small role in helping to prevent certain types of attacks. The server also uses the transaction ID as @@ -1169,7 +1169,8 @@ the >= operator. Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<Q, K> Comparable<K> for Q
    where Q: Ord + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn compare(&self, key: &K) -> Ordering

    Compare self to key and return their ordering.
    §

    impl<Q, K> Equivalent<K> for Q
    where + K: Borrow<Q> + ?Sized,

    §

    fn compare(&self, key: &K) -> Ordering

    Compare self to key and return their ordering.
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Q
    where Q: Eq + ?Sized, diff --git a/pr/3170/docs/iroh_relay/server/enum.Access.html b/pr/3170/docs/iroh_relay/server/enum.Access.html index cb128fd624..d0d398d308 100644 --- a/pr/3170/docs/iroh_relay/server/enum.Access.html +++ b/pr/3170/docs/iroh_relay/server/enum.Access.html @@ -1,4 +1,4 @@ -Access in iroh_relay::server - Rust
    iroh_relay::server

    Enum Access

    Source
    pub enum Access {
    +Access in iroh_relay::server - Rust
    iroh_relay::server

    Enum Access

    Source
    pub enum Access {
         Allow,
         Deny,
     }
    Available on crate feature server only.
    Expand description

    Access restriction for a node.

    @@ -16,7 +16,8 @@ and should not be overridden without very good reason.

    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Q
    where Q: Eq + ?Sized, diff --git a/pr/3170/docs/iroh_relay/server/index.html b/pr/3170/docs/iroh_relay/server/index.html index 48d1c040db..f51560d1a0 100644 --- a/pr/3170/docs/iroh_relay/server/index.html +++ b/pr/3170/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/3170/docs/iroh_relay/server/struct.ClientRateLimit.html b/pr/3170/docs/iroh_relay/server/struct.ClientRateLimit.html index 5d6040fc43..a3e20d4961 100644 --- a/pr/3170/docs/iroh_relay/server/struct.ClientRateLimit.html +++ b/pr/3170/docs/iroh_relay/server/struct.ClientRateLimit.html @@ -1,4 +1,4 @@ -ClientRateLimit in iroh_relay::server - Rust
    iroh_relay::server

    Struct ClientRateLimit

    Source
    pub struct ClientRateLimit {
    +ClientRateLimit in iroh_relay::server - Rust
    iroh_relay::server

    Struct ClientRateLimit

    Source
    pub struct ClientRateLimit {
         pub bytes_per_second: NonZeroU32,
         pub max_burst_bytes: Option<NonZeroU32>,
     }
    Available on crate feature server only.
    Expand description

    Per-client rate limit configuration.

    @@ -15,7 +15,8 @@ ) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Clone,
    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where diff --git a/pr/3170/docs/iroh_relay/server/struct.Metrics.html b/pr/3170/docs/iroh_relay/server/struct.Metrics.html index e8ed65de72..8ff6878f6c 100644 --- a/pr/3170/docs/iroh_relay/server/struct.Metrics.html +++ b/pr/3170/docs/iroh_relay/server/struct.Metrics.html @@ -1,4 +1,4 @@ -Metrics in iroh_relay::server - Rust
    iroh_relay::server

    Struct Metrics

    Source
    pub struct Metrics {
    Show 21 fields +Metrics in iroh_relay::server - Rust
    iroh_relay::server

    Struct Metrics

    Source
    pub struct Metrics {
    Show 21 fields pub bytes_sent: Counter, pub bytes_recv: Counter, pub send_packets_sent: Counter, @@ -55,7 +55,8 @@ Only records if this metric is registered in the global registry.

    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Clone,
    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where diff --git a/pr/3170/docs/iroh_relay/server/struct.StunMetrics.html b/pr/3170/docs/iroh_relay/server/struct.StunMetrics.html index 5a905dd667..c73b1ceb1a 100644 --- a/pr/3170/docs/iroh_relay/server/struct.StunMetrics.html +++ b/pr/3170/docs/iroh_relay/server/struct.StunMetrics.html @@ -1,4 +1,4 @@ -StunMetrics in iroh_relay::server - Rust
    iroh_relay::server

    Struct StunMetrics

    Source
    pub struct StunMetrics {
    +StunMetrics in iroh_relay::server - Rust
    iroh_relay::server

    Struct StunMetrics

    Source
    pub struct StunMetrics {
         pub requests: Counter,
         pub ipv4_success: Counter,
         pub ipv6_success: Counter,
    @@ -23,7 +23,8 @@ Only records if this metric is registered in the global registry.

    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Clone,
    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where diff --git a/pr/3170/docs/iroh_relay/sidebar-items.js b/pr/3170/docs/iroh_relay/sidebar-items.js index 0d25072021..e411628282 100644 --- a/pr/3170/docs/iroh_relay/sidebar-items.js +++ b/pr/3170/docs/iroh_relay/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"mod":["client","defaults","http","protos","quic","server"],"struct":["PingTracker","RelayMap","RelayNode","RelayQuicConfig"]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"mod":["client","defaults","dns","http","protos","quic","server"],"struct":["PingTracker","RelayMap","RelayNode","RelayQuicConfig"]}; \ No newline at end of file diff --git a/pr/3170/docs/iroh_relay/struct.RelayMap.html b/pr/3170/docs/iroh_relay/struct.RelayMap.html index 7b8865336a..ca3050feae 100644 --- a/pr/3170/docs/iroh_relay/struct.RelayMap.html +++ b/pr/3170/docs/iroh_relay/struct.RelayMap.html @@ -1,4 +1,4 @@ -RelayMap in iroh_relay - Rust
    iroh_relay

    Struct RelayMap

    Source
    pub struct RelayMap { /* private fields */ }
    Expand description

    Configuration of all the relay servers that can be used.

    +RelayMap in iroh_relay - Rust
    iroh_relay

    Struct RelayMap

    Source
    pub struct RelayMap { /* private fields */ }
    Expand description

    Configuration of all the relay servers that can be used.

    Implementations§

    Source§

    impl RelayMap

    Source

    pub fn urls(&self) -> impl Iterator<Item = &RelayUrl>

    Returns the sorted relay URLs.

    Source

    pub fn empty() -> Self

    Create an empty relay map.

    Source

    pub fn nodes(&self) -> impl Iterator<Item = &Arc<RelayNode>>

    Returns an Iterator over all known nodes.

    @@ -30,7 +30,8 @@ and should not be overridden without very good reason.
    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Q
    where Q: Eq + ?Sized, diff --git a/pr/3170/docs/iroh_relay/struct.RelayNode.html b/pr/3170/docs/iroh_relay/struct.RelayNode.html index b7e44d731b..037a98f5b6 100644 --- a/pr/3170/docs/iroh_relay/struct.RelayNode.html +++ b/pr/3170/docs/iroh_relay/struct.RelayNode.html @@ -1,4 +1,4 @@ -RelayNode in iroh_relay - Rust
    iroh_relay

    Struct RelayNode

    Source
    pub struct RelayNode {
    +RelayNode in iroh_relay - Rust
    iroh_relay

    Struct RelayNode

    Source
    pub struct RelayNode {
         pub url: RelayUrl,
         pub stun_only: bool,
         pub stun_port: u16,
    @@ -36,7 +36,8 @@ the >= operator. Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<Q, K> Comparable<K> for Q
    where Q: Ord + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn compare(&self, key: &K) -> Ordering

    Compare self to key and return their ordering.
    §

    impl<Q, K> Equivalent<K> for Q
    where + K: Borrow<Q> + ?Sized,

    §

    fn compare(&self, key: &K) -> Ordering

    Compare self to key and return their ordering.
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Q
    where Q: Eq + ?Sized, diff --git a/pr/3170/docs/iroh_relay/struct.RelayQuicConfig.html b/pr/3170/docs/iroh_relay/struct.RelayQuicConfig.html index f0df91f28a..887b78b576 100644 --- a/pr/3170/docs/iroh_relay/struct.RelayQuicConfig.html +++ b/pr/3170/docs/iroh_relay/struct.RelayQuicConfig.html @@ -1,4 +1,4 @@ -RelayQuicConfig in iroh_relay - Rust
    iroh_relay

    Struct RelayQuicConfig

    Source
    pub struct RelayQuicConfig {
    +RelayQuicConfig in iroh_relay - Rust
    iroh_relay

    Struct RelayQuicConfig

    Source
    pub struct RelayQuicConfig {
         pub port: u16,
     }
    Expand description

    Configuration for speaking to the QUIC endpoint on the relay server to do QUIC address discovery.

    @@ -25,7 +25,8 @@ the >= operator. Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<Q, K> Comparable<K> for Q
    where Q: Ord + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn compare(&self, key: &K) -> Ordering

    Compare self to key and return their ordering.
    §

    impl<Q, K> Equivalent<K> for Q
    where + K: Borrow<Q> + ?Sized,

    §

    fn compare(&self, key: &K) -> Ordering

    Compare self to key and return their ordering.
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Q
    where Q: Eq + ?Sized, diff --git a/pr/3170/docs/search-index.js b/pr/3170/docs/search-index.js index dba764acdb..71b5728d8e 100644 --- a/pr/3170/docs/search-index.js +++ b/pr/3170/docs/search-index.js @@ -1,4 +1,4 @@ -var searchIndex = new Map(JSON.parse('[["bulk",{"t":"HHHHH","n":["collect_and_print","main","run_iroh","run_quinn","run_s2n"],"q":[[0,"bulk"],[5,"core::option"],[6,"struct_iterable_internal"],[7,"iroh_bench"],[8,"anyhow"],[9,"iroh_bench::s2n"]],"i":"`````","f":"{{{d{b}}{f{{d{c}}}}}hj}{{}h}{l{{n{h}}}}0{A`{{n{h}}}}","D":"`","p":[[1,"str"],[1,"reference",null,null,1],[6,"Option",5,null,1],[1,"unit"],[10,"Iterable",6],[5,"Opt",7],[8,"Result",8],[5,"Opt",9]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAAUAAQAAAAUA","P":[[0,""],[1,""]]}],["iroh",{"t":"PPEPGTFIFFEFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN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NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNOOFFFFNNNNOOOOOOOOONNNNNNNNOONNNNNNNNNNNNOOONNNNNNNNNNNNOOOONNNNONNNNONNNNNNNNONNNNNNNNNNNNOOONNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNOOOOOOONNNNOKFFNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFNNNNHNNNNNNNNNNNNNNNNOONONHHHNNNNNNNNNFFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["Decode","DecodeInvalidLength","Endpoint","Key","KeyParsingError","LENGTH","NodeAddr","NodeId","PublicKey","RelayMap","RelayMode","RelayNode","RelayUrl","RelayUrlParseError","SecretKey","__clone_box","","","","","","as_bytes","as_ref","borrow","","","","","","","","","borrow_mut","","","","","","","","clone","","","","","","clone_into","","","","","","clone_to_uninit","","","","","","cmp","","","","compare","","","","contains_node","default_from_node","defaults","deref","","","","","","","","","deref_mut","","","","","","","","deserialize","","","","","direct_addresses","","discovery","dns","drop","","","","","","","","empty","endpoint","eq","","","","","equivalent","","","","","","","","","","","","","","","fmt","","","","","","","","","","","","","","","fmt_short","from","","","","","","","","","","","","","","","","","","","","from_bytes","","from_nodes","from_parts","from_ref","","","","","","from_str","","","from_url","generate","get_node","hash","","init","","","","","","","","into","","","","","","","","is_empty","","len","metrics","new","node_id","nodes","partial_cmp","","","","protocol","public","","quic","relay_url","","secret","serialize","","","","","sign","source","","stun_only","stun_port","test_utils","to_bytes","to_owned","","","","","","to_string","","","","","","","try_from","","","","","","","","","","","try_into","","","","","","","","type_id","","","","","","","","url","urls","verify","vzip","","","","","","","","watchable","with_direct_addresses","with_relay_url","DEFAULT_HTTPS_PORT","DEFAULT_HTTP_PORT","DEFAULT_METRICS_PORT","DEFAULT_RELAY_QUIC_PORT","DEFAULT_STUN_PORT","prod","staging","AP_RELAY_HOSTNAME","EU_RELAY_HOSTNAME","NA_RELAY_HOSTNAME","default_ap_relay_node","default_eu_relay_node","default_na_relay_node","default_relay_map","EU_RELAY_HOSTNAME","NA_RELAY_HOSTNAME","default_eu_relay_node","default_na_relay_node","default_relay_map","ConcurrentDiscovery","Discovery","DiscoveryItem","__clone_box","add","borrow","","borrow_mut","","clone","clone_into","clone_to_uninit","default","deref","","deref_mut","","dns","drop","","empty","fmt","","from","","","from_ref","from_services","init","","into","","last_updated","local_swarm_discovery","node_addr","pkarr","provenance","publish","","resolve","","static_provider","subscribe","","to_owned","try_from","","try_into","","type_id","","vzip","","DnsDiscovery","N0_DNS_NODE_ORIGIN_PROD","N0_DNS_NODE_ORIGIN_STAGING","borrow","borrow_mut","deref","deref_mut","drop","fmt","from","init","into","n0_dns","new","resolve","try_from","try_into","type_id","vzip","LocalSwarmDiscovery","NAME","borrow","borrow_mut","deref","deref_mut","drop","fmt","from","init","into","new","publish","resolve","subscribe","try_from","try_into","type_id","vzip","DEFAULT_PKARR_TTL","DEFAULT_REPUBLISH_INTERVAL","N0_DNS_PKARR_RELAY_PROD","N0_DNS_PKARR_RELAY_STAGING","PkarrPublisher","PkarrRelayClient","PkarrResolver","__clone_box","","","borrow","","","borrow_mut","","","clone","","","clone_into","","","clone_to_uninit","","","deref","","","deref_mut","","","dht","drop","","","fmt","","","from","","","from_ref","","","init","","","into","","","n0_dns","","new","","","publish","","resolve","","to_owned","","","try_from","","","try_into","","","type_id","","","update_addr_info","vzip","","","with_options","Builder","DhtDiscovery","__clone_box","borrow","","borrow_mut","","build","builder","client","clone","clone_into","clone_to_uninit","default","","deref","","deref_mut","","dht","drop","","fmt","","from","","from_ref","include_direct_addresses","init","","initial_publish_delay","into","","n0_dns_pkarr_relay","pkarr_relay","publish","republish_delay","resolve","secret_key","to_owned","try_from","","try_into","","ttl","type_id","","vzip","","PROVENANCE","StaticProvider","__clone_box","add_node_addr","borrow","borrow_mut","clone","clone_into","clone_to_uninit","default","deref","deref_mut","drop","fmt","from","from_node_addrs","from_ref","get_node_addr","init","into","new","publish","remove_node_addr","resolve","set_node_addr","to_owned","try_from","try_into","type_id","vzip","DnsResolver","ResolverExt","default_resolver","lookup_by_id","","lookup_by_id_staggered","","lookup_by_name","","lookup_by_name_staggered","","lookup_ipv4","","lookup_ipv4_ipv6","","lookup_ipv4_ipv6_staggered","","lookup_ipv4_staggered","","lookup_ipv6","","lookup_ipv6_staggered","","node_info","resolver","Addr","IROH_TXT_NAME","IrohAttr","NodeInfo","Relay","TxtAttrs","__clone_box","as_ref","attrs","borrow","","","borrow_mut","","","clone","clone_into","clone_to_uninit","cmp","compare","deref","","","deref_mut","","","direct_addresses","drop","","","eq","","equivalent","","","","","","fmt","","","","from","","","","","","from_hickory_lookup","","from_parts","from_pkarr_signed_packet","","from_ref","from_str","from_strings","from_z32","hash","init","","","into","","","lookup_by_id","lookup_by_name","new","node_id","","partial_cmp","relay_url","to_hickory_records","","to_owned","to_pkarr_signed_packet","","to_string","to_z32","try_from","","","","try_into","","","type_id","","","vzip","","","AEAD_LIMIT_REACHED","APPLICATION_ERROR","Accept","AcceptBi","AcceptUni","AckFrequencyConfig","AeadKey","All","App","ApplicationClose","ApplicationClosed","Builder","CONNECTION_ID_LIMIT_ERROR","CONNECTION_REFUSED","CRYPTO_BUFFER_EXCEEDED","CallMeMaybe","Chunk","CidsExhausted","ClosedStream","","","Connecting","Connection","ConnectionClose","ConnectionClosed","ConnectionError","ConnectionLost","","","","","ConnectionStats","ConnectionType","ControlMsg","Controller","ControllerFactory","CryptoError","CryptoServerConfig","Custom","Default","Direct","DirectAddr","DirectAddrInfo","DirectAddrType","Disabled","","Discovery","ENV_FORCE_STAGING_RELAYS","Endpoint","ExportKeyingMaterialError","FINAL_SIZE_ERROR","FLOW_CONTROL_ERROR","FRAME_ENCODING_ERROR","FinishedEarly","FrameStats","HandshakeTokenKey","INTERNAL_ERROR","INVALID_TOKEN","IllegalOrderedRead","Incoming","IncomingFuture","KEY_UPDATE_ERROR","Local","LocallyClosed","MAX","MAX_SIZE","Mixed","MtuDiscoveryConfig","NO_ERROR","NO_VIABLE_PATH","NamedApp","None","OpenBi","OpenUni","PROTOCOL_VIOLATION","PathSelection","PathStats","Ping","Pong","Portmapped","Read","ReadDatagram","ReadError","","ReadExactError","ReadToEndError","RecvStream","Relay","","RelayMode","RelayOnly","RemoteInfo","Reset","","ResetError","RetryError","STREAM_LIMIT_ERROR","STREAM_STATE_ERROR","Saved","SendDatagramError","SendStream","ServerConfig","Source","Staging","Stopped","StoppedError","StreamId","Stun","Stun4LocalPort","TRANSPORT_PARAMETER_ERROR","TimedOut","TooLarge","TooLong","TransportConfig","TransportError","","TransportErrorCode","Udp","UdpStats","Unknown","UnsupportedByPeer","UnsupportedVersion","VarInt","VersionMismatch","WeakConnectionHandle","WriteError","Written","ZeroRttAccepted","ZeroRttRejected","","","","__clone_box","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","accept","","accept_bi","accept_uni","accept_with","ack_eliciting_threshold","ack_frequency","ack_frequency_config","acks","add_discovery","add_node_addr","add_node_addr_with_source","addr","","addrs","aead_from_hkdf","allow_spin","alpn","","alpns","bind","bind_addr_v4","bind_addr_v6","black_hole_cooldown","black_holes_detected","borrow","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bound_sockets","build","builder","bytes","","","chunks","clear_discovery","clone","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_box","clone_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_to_uninit","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","close","","close_reason","closed","cmp","","","","code","compare","","","","congestion_controller_factory","congestion_events","congestion_state","conn_type","","connect","connect_with","connection_close","crypto","","","crypto_buffer_size","current_mtu","cwnd","data_blocked","datagram","datagram_receive_buffer_size","datagram_send_buffer_size","datagram_send_buffer_space","datagrams","decode","","","default","","","","","","","","","","","","","default_relay_mode","deref","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","deref_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","deserialize","","","","","dir","direct_addresses","discovery","","discovery_dht","discovery_local_network","discovery_n0","dns_resolver","","drop","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","enable_segmentation_offload","encode","","","eq","","","","","","","","","","","","","","","","","","","","","","","","","","","equivalent","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","error_code","","export_keying_material","finish","fmt","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","force_staging_infra","frame","frame_rx","frame_tx","frame_type","from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","from_ref","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","from_u32","from_u64","from_u64_unchecked","handshake_data","","handshake_done","has_send_address","hash","","","","","home_relay","id","","ignore","immediate_ack","incoming_buffer_size","incoming_buffer_size_total","index","init","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","initial_keys","initial_mtu","initial_rtt","initial_window","initiator","insecure_skip_relay_cert_verify","interval","into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","into_0rtt","into_any","into_future","","","","","","","","","","into_incoming","into_inner","ios","is_0rtt","is_alive","is_closed","keep_alive_interval","keylog","known_nodes","last_alive","last_control","last_payload","last_received","last_used","latency","","local_ip","lost_bytes","lost_packets","lost_plpmtud_probes","make_server_config","max_ack_delay","max_concurrent_bidi_streams","max_concurrent_uni_streams","max_data","max_datagram_size","max_idle_timeout","max_incoming","max_stream_data","max_streams_bidi","max_streams_uni","migration","min_mtu","minimum_change","mtu_discovery_config","network_change","network_path_changed","new","","new_connection_id","new_token","node_addr","node_id","","observed_addr","offset","on_ack","on_congestion_event","on_end_acks","on_mtu_update","on_sent","open","open_bi","open_uni","packet_threshold","partial_cmp","","","","path","path_challenge","path_response","path_selection","peer_identity","persistent_congestion_threshold","ping","poll","","","","","","","","","poll_flush","poll_read","","poll_shutdown","poll_write","","preferred_address_v4","preferred_address_v6","priority","proxy_from_env","proxy_url","read","read_chunk","read_chunks","read_datagram","read_exact","read_to_end","reason","","","receive_observed_address_reports","receive_window","received_reset","refuse","relay_map","relay_mode","relay_url","remote_address","remote_address_validated","remote_info","remote_info_iter","remote_node_id","reordering_threshold","reset","reset_stream","retire_connection_id","retry","retry_tag","retry_token_lifetime","rtt","","saturating_add","seal","secret_key","","send_datagram","send_fairness","send_observed_address_reports","send_window","sent_packets","sent_plpmtud_probes","serialize","","","","","set_alpns","set_max_concurrent_bi_streams","set_max_concurrent_uni_streams","set_priority","set_receive_window","source","","","","","","","","sources","","stable_id","start_session","stats","stop","stop_sending","stopped","stream","stream_data_blocked","stream_receive_window","streams_blocked_bidi","streams_blocked_uni","time_source","time_threshold","to_owned","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","to_string","","","","","","","","","","","","","","","","","","","","token_key","transport","transport_config","","try_from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_poll","","","","","","","typ","type_id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","udp_rx","udp_tx","upper_bound","validation_token","validation_token_config","vzip","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","window","with_crypto","with_single_cert","write","write_all","write_all_chunks","write_chunk","write_chunks","name","","MagicsockMetrics","NetReportMetrics","PortmapMetrics","RelayMetrics","__clone_box","","","","accepts","actor_link_change","actor_tick_direct_addr_heartbeat","actor_tick_direct_addr_update_receiver","actor_tick_main","actor_tick_msg","actor_tick_other","actor_tick_portmap_changed","actor_tick_re_stun","borrow","","","","borrow_mut","","","","bytes_recv","bytes_sent","clone","","","","clone_into","","","","clone_to_uninit","","","","connection_became_direct","connection_handshake_success","conns_rx_ratelimited_total","default","","","","deref","","","","deref_mut","","","","disco_packets_dropped","disco_packets_recv","disco_packets_sent","disconnects","drop","","","","external_address_updated","fmt","","","","frames_rx_ratelimited_total","from","","","","from_ref","","","","got_ping","init","","","","into","","","","iter","","","","local_port_updates","mapping_attempts","mapping_failures","name","","","","nodes_contacted","nodes_contacted_directly","num_direct_conns_added","num_direct_conns_removed","num_relay_conns_added","num_relay_conns_removed","other_packets_dropped","other_packets_recv","other_packets_sent","pcp_available","pcp_probes","probes_started","re_stun_calls","recv_data_ipv4","recv_data_ipv6","recv_data_relay","recv_datagrams","recv_disco_bad_key","recv_disco_bad_parse","recv_disco_call_me_maybe","recv_disco_call_me_maybe_bad_disco","recv_disco_ping","recv_disco_pong","recv_disco_relay","recv_disco_udp","recv_gro_datagrams","relay_accepts","relay_home_change","reports","reports_full","send_data","send_data_network_down","send_disco_relay","send_disco_udp","send_ipv4","send_ipv6","send_packets_dropped","send_packets_recv","send_packets_sent","send_relay","send_relay_error","sent_disco_call_me_maybe","sent_disco_ping","sent_disco_pong","sent_disco_relay","sent_disco_udp","sent_pong","stun_packets_dropped","stun_packets_recv_ipv4","stun_packets_recv_ipv6","stun_packets_sent_ipv4","stun_packets_sent_ipv6","to_owned","","","","try_from","","","","try_into","","","","type_id","","","","unique_client_keys","unknown_frames","update_direct_addrs","upnp_available","upnp_gateway_updated","upnp_probes","upnp_probes_failed","vzip","","","","websocket_accepts","ProtocolHandler","Router","RouterBuilder","__clone_box","accept","","borrow","","borrow_mut","","builder","clone","clone_into","clone_to_uninit","deref","","deref_mut","","drop","","endpoint","","fmt","","from","","from_ref","init","","into","","is_shutdown","new","shutdown","","spawn","to_owned","try_from","","try_into","","type_id","","vzip","","CleanupDropGuard","DnsPkarrServer","borrow","","borrow_mut","","create_dns_resolver","deref","","deref_mut","","discovery","dns_resolver","drop","","fmt","","from","","init","","into","","nameserver","node_origin","on_node","pkarr_url","run","run_relay_server","run_relay_server_with","run_relay_server_with_stun","run_with_origin","try_from","","try_into","","type_id","","vzip","","Disconnected","WatchInitializedFut","WatchNextFut","Watchable","Watcher","WatcherStream","__clone_box","","","borrow","","","","","","borrow_mut","","","","","","clone","","","clone_into","","","clone_to_uninit","","","default","deref","","","","","","deref_mut","","","","","","drop","","","","","","fmt","","","","","","","from","","","","","","from_ref","","","get","","init","","","","","","initialized","into","","","","","","into_future","","new","poll","","poll_next","ratelimit_stream","ratelimit_stream_with_jitter","set","stream","stream_updates_only","to_owned","","","to_string","try_from","","","","","","try_into","","","","","","try_poll","","try_poll_next","type_id","","","","","","updated","vzip","","","","","","watch"],"q":[[0,"iroh"],[279,"iroh::defaults"],[286,"iroh::defaults::prod"],[293,"iroh::defaults::staging"],[298,"iroh::discovery"],[351,"iroh::discovery::dns"],[370,"iroh::discovery::local_swarm_discovery"],[389,"iroh::discovery::pkarr"],[465,"iroh::discovery::pkarr::dht"],[514,"iroh::discovery::static_provider"],[544,"iroh::dns"],[569,"iroh::dns::node_info"],[660,"iroh::endpoint"],[2202,"iroh::endpoint::Source"],[2204,"iroh::metrics"],[2380,"iroh::protocol"],[2425,"iroh::test_utils"],[2465,"iroh::watchable"],[2589,"dyn_clone::sealed"],[2590,"iroh_base::key"],[2591,"iroh_base::node_addr"],[2592,"iroh_base::relay_url"],[2593,"iroh_relay::relay_map"],[2594,"core::cmp"],[2595,"core::result"],[2596,"serde::de"],[2597,"core::net::socket_addr"],[2598,"core::iter::traits::iterator"],[2599,"core::fmt"],[2600,"alloc::string"],[2601,"ed25519_dalek::verifying"],[2602,"signature::error"],[2603,"data_encoding"],[2604,"ed25519_dalek::signing"],[2605,"iroh_base::ticket::node"],[2606,"iroh::magicsock::node_map::node_state"],[2607,"core::option"],[2608,"url"],[2609,"url::parser"],[2610,"anyhow"],[2611,"alloc::sync"],[2612,"core::convert"],[2613,"core::iter::traits::collect"],[2614,"rand_core"],[2615,"core::hash"],[2616,"serde::ser"],[2617,"ed25519"],[2618,"core::error"],[2619,"core::any"],[2620,"alloc::boxed"],[2621,"alloc::vec"],[2622,"alloc::collections::btree::set"],[2623,"futures_lite::stream"],[2624,"pkarr::signed_packet"],[2625,"core::time"],[2626,"pkarr::client"],[2627,"core::future::future"],[2628,"core::net::ip_addr"],[2629,"hickory_proto::rr::domain::name"],[2630,"core::clone"],[2631,"hickory_resolver::resolver"],[2632,"alloc::collections::btree::map"],[2633,"core::str::traits"],[2634,"hickory_resolver::lookup"],[2635,"hickory_proto::rr::resource"],[2636,"iroh_quinn_proto::connection"],[2637,"iroh_quinn::connection"],[2638,"iroh_quinn_proto::config"],[2639,"iroh_quinn_proto::config::transport"],[2640,"iroh_quinn_proto::varint"],[2641,"core::ops::function"],[2642,"core::marker"],[2643,"iroh_quinn_proto::crypto"],[2644,"iroh_quinn_proto::congestion"],[2645,"std::time"],[2646,"iroh_quinn::recv_stream"],[2647,"iroh_quinn::send_stream"],[2648,"iroh_quinn_proto::connection::stats"],[2649,"iroh_quinn_proto::connection::streams::send"],[2650,"iroh::magicsock::node_map"],[2651,"iroh_quinn_proto::connection::streams"],[2652,"iroh_quinn_proto::frame"],[2653,"iroh::magicsock"],[2654,"iroh_quinn_proto"],[2655,"iroh_quinn_proto::coding"],[2656,"bytes::buf::buf_impl"],[2657,"bytes::buf::buf_mut"],[2658,"iroh_quinn_proto::connection::assembler"],[2659,"iroh_quinn::incoming"],[2660,"iroh_quinn_proto::connection::streams::recv"],[2661,"ring::error"],[2662,"iroh_quinn_proto::transport_parameters"],[2663,"iroh_quinn_proto::shared"],[2664,"iroh_quinn_proto::connection::paths"],[2665,"core::pin"],[2666,"core::task::wake"],[2667,"core::task::poll"],[2668,"std::io::error"],[2669,"tokio::io::read_buf"],[2670,"bytes::bytes"],[2671,"rustls_pki_types"],[2672,"rustls::error"],[2673,"alloc::vec::into_iter"],[2674,"futures_lite::future"],[2675,"iroh::test_utils::dns_and_pkarr_servers"],[2676,"iroh_relay::server"],[2677,"core::default"],[2678,"governor::state::direct"],[2679,"governor::state"],[2680,"governor::state::direct::streams"],[2681,"governor::clock::with_std"],[2682,"governor::middleware"],[2683,"governor::jitter"],[2684,"iroh_relay::defaults"],[2685,"iroh::test_utils::dns_server"]],"i":"Cb0`0`h`````````0AbAdAfAhAj55556432Cd21675430216543216543216543216431643122`675433021675430216543144``675430212`643216664443332221116677554330022116667775554444443300216524654321653252636754302167543021422`4426431`6514456543157011`5654321675302166675543021675430216754302112667543021`44``````````````````````FhFd101011101010`100101001010101`1`1Ff101`01221212121```Gj000000000000000``Gl0000000000000000```````GnH`Hb210210210210210210210`21021021021021021021210201021021021021022102``Hl0Hj10010111101010010101010100100010101101001010I``0000000000000000000000000000```IdIb101010101010101010``Jd```0`Dh1Jf21021011122210210121021222111221021110010010120`22102100010121101102`2210210210210A@n0`````AAfA@d`Kn`333Od`1`NjO````3`Nf2Nl2Ob```````AAh0A@````419```;;;Nn``<<7``><3``>``::1Nh``3```4=`>`:<``??=````59``22?<80``<`=`28``<````:79680:73961;OfOhOjOlOnDb:A@bA@dA@fKnLhMnLfA@hA@jA@lA@nAA`AAbAAdAAfGbL`AAh2Kj220>OjLl1Ln66Of;DbMf4Kl94444MnOlADlAEfAEdLdLbAEnABlNfABnABbNhNjNlNnABdO`ObLlLjABhOdOfOhOjOlOnDbA@`A@bA@dA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}{b{Ef}}Hf}{{Gf{{`{{Bl{}{{Bh{Kf}}}}}}}}}{JjJlJnK`}}{bc{}}{{{b{Dh}}{b{Ab}}Hf}{{Gf{Hd}}}}{{{b{{Jf{c}}}}{b{Ab}}Hf}{{Gf{Hd}}}{JjJlJnK`}}{bCf}{{{b{Gd}}}Cf}{{{b{Ef}}}{{Bd{Jdc}}}{}}{c{{Bd{e}}}{}{}}00{{}{{Bd{c}}}{}}00{bFb}00{{}c{}}00````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````{{bd}f}000000000000000000000000000000000{{{b{Gb}}}Kh}{Kj{{Gf{KlKn}}}}{{{b{L`}}}Lb}{{{b{L`}}}Ld}{{Kj{E`{Lf}}}{{Gf{KlKn}}}}{{{b{A`Lh}}Lj}{{b{A`Lh}}}}`{{{b{A`Ll}}{Dd{Lh}}}{{b{A`Ll}}}}`{{Lne}LnFf{{M`{{b{Ab}}}{{If{{Dd{c}}}}}}MbMd}}{{{b{Gb}}Ad}{{Gf{f}}}}{{{b{Gb}}Ad{b{Ef}}}{{Gf{f}}}}```{{{b{Mf}}{b{{n{j}}}}}{{Fl{Mh}}}}{{{b{A`Ll}}An}{{b{A`Ll}}}}{{{b{A`Kl}}}{{Gf{{Fn{j}}}}}}{{{b{L`}}}{{Dd{{Fn{j}}}}}}{{Ln{Fn{{Fn{j}}}}}Ln}{Ln{{Gf{Gb}}}}{{LnMj}Ln}{{LnMl}Ln}{{{b{A`Mn}}Hh}{{b{A`Mn}}}}`{b{{b{c}}}{}}00000000000000000000000000000000000000000000000000000{{{b{A`}}}{{b{A`c}}}{}}00000000000000000000000000000000000000000000000000000{{{b{Gb}}}{{Df{Bj{Dd{Bj}}}}}}{{{E`{N`}}NbB`}{{Fl{Nd}}}}{{}Ln}````{LnLn}{{{b{Nf}}}Nf}{{{b{Nh}}}Nh}{{{b{Nj}}}Nj}{{{b{Nl}}}Nl}{{{b{Nn}}}Nn}{{{b{O`}}}O`}{{{b{Ob}}}Ob}{{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dEl}{{{b{Of}}c}BdEl}{{{b{Db}}c}BdEl}{{{b{A@`}}c}BdEl}{{{b{A@d}}c}BdEl}{{{b{Gb}}{Fn{{Fn{j}}}}}{{Gf{f}}}}{{{b{L`}}Lj}f}0{{{b{ABd}}AFd}{{Bd{fA@f}}}}1{{{b{Nf}}}{{Dd{{b{F`}}}}}}{{{b{Nh}}}{{Dd{{b{F`}}}}}}{{{b{Nj}}}{{Dd{{b{F`}}}}}}{{{b{Nl}}}{{Dd{{b{F`}}}}}}{{{b{Nn}}}{{Dd{{b{F`}}}}}}{{{b{O`}}}{{Dd{{b{F`}}}}}}{{{b{Ob}}}{{Dd{{b{F`}}}}}}{{{b{Kn}}}{{Dd{{b{F`}}}}}}{{{b{Db}}}{{Fn{{Df{A@dHh}}}}}}`{{{b{L`}}}Bb}{{{E`{ADd}}Hf{b{AFh}}}{{Fl{AFj}}}}{{{b{L`}}}On}{{{b{A`ABb}}Lj}{{Bd{fA@f}}}}`{{{b{A`ABd}}}{{Bd{{Dd{Lj}}Ob}}}}``{{{b{A`Ll}}Lj}{{b{A`Ll}}}}``{{{b{A`Lf}}{E`{AFl}}}{{b{A`Lf}}}}{{{b{A`Ll}}AFn}{{b{A`Ll}}}}{bc{}}000000000000000000000000000000000{bCf}0000000000000000000{{{b{A`Lf}}{E`{Mf}}}{{b{A`Lf}}}}`{{{b{A`Lf}}{E`{Ll}}}{{b{A`Lf}}}}{{LnLl}Ln}{c{{Bd{e}}}{}{}}00000000000000000{Bb{{Bd{LjAD`}}}}1{AG`{{Bd{LjAD`}}}}{Ij{{Bd{LjAD`}}}}33333333333333333333333333333333333{{}{{Bd{c}}}{}}00000000000000000000000000000000000000000000000000000{{{AEh{{b{A`c}}}}{b{A`AEj}}}AEl{}}000000`{bFb}00000000000000000000000000000000000000000000000000000``{{{b{A`Mn}}B`}{{b{A`Mn}}}}`{{{b{A`Lf}}AGb}{{b{A`Lf}}}}{{}c{}}00000000000000000000000000000000000000000000000000000{{{b{Nd}}}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}{b{A`Bn}}}FjKb}{{{b{{AIh{c}}}}{b{A`Bn}}}FjKb}{{{b{AJ`}}{b{A`Bn}}}Fj}0{cc{}}00000{{{b{c}}}c{}}00{{{b{{AIf{c}}}}}c{J`AJb}}{{{b{{AAj{c}}}}}{{Bd{cAJ`}}}{J`AJb}}{{}Bb}00000{{{b{A`{AAj{{Dd{c}}}}}}}{{AIn{c}}}{J`AJb}}{{}c{}}00000{{}}0{c{{AIf{c}}}{J`AJb}}{{{AEh{{b{A`{AIl{c}}}}}}{b{A`AEj}}}{{AEl{e}}}{J`AJb}{}}{{{AEh{{b{A`{AIn{c}}}}}}{b{A`AEj}}}{{AEl{e}}}{J`AJb}{}}{{{AEh{{b{A`{AIh{c}}}}}}{b{A`AEj}}}{{AEl{{Dd{e}}}}}{J`AJb}{}}{{{b{{AJf{AJdceg}}}}}{{AJh{iceg}}}AJjAJlAJn{}}{{{b{{AJf{AJdceg}}}}AK`}{{AJh{iceg}}}AJjAJlAJn{}}{{{b{{AIf{c}}}}c}{{Bd{cc}}}{J`AJb}}{{{AAj{c}}}{{AIh{c}}}{J`AJb}}0{bc{}}00{bCf}{c{{Bd{e}}}{}{}}00000{{}{{Bd{c}}}{}}00000{{{AEh{{b{A`c}}}}{b{A`AEj}}}AEl{}}0{{{AEh{{b{A`c}}}}{b{A`AEj}}}{{AEl{{Dd{Bd}}}}}{}}{bFb}00000{{{b{A`{AAj{c}}}}}{{AIl{c}}}{J`AJb}}{{}c{}}00000{{{b{{AIf{c}}}}}{{AAj{c}}}{J`AJb}}","D":"FDj","p":[[1,"reference",null,null,1],[5,"Private",2589],[1,"unit"],[5,"PublicKey",0,2590],[1,"u8"],[1,"array"],[1,"slice"],[0,"mut"],[5,"SecretKey",0,2590],[5,"NodeAddr",0,2591],[5,"RelayUrl",0,2592],[5,"RelayMap",0,2593],[5,"RelayNode",0,2593],[6,"Ordering",2594],[1,"bool"],[1,"u16"],[1,"usize"],[6,"Result",2595,null,1],[10,"Deserializer",2596],[17,"Item"],[6,"SocketAddr",2597],[10,"Iterator",2598],[5,"Formatter",2599],[5,"Error",2599],[6,"KeyParsingError",0,2590],[5,"RelayUrlParseError",0,2592],[5,"String",2600],[5,"VerifyingKey",2601],[5,"Error",2602],[5,"DecodeError",2603],[5,"SigningKey",2604],[5,"NodeTicket",2605],[5,"RemoteInfo",660,2606],[6,"Option",2607,null,1],[1,"tuple",null,null,1],[5,"NodeInfo",569],[5,"Url",2608],[6,"ParseError",2609],[5,"Error",2610],[5,"Arc",2611,null,1],[10,"Into",2612],[10,"IntoIterator",2613],[1,"str"],[10,"CryptoRngCore",2614],[10,"Hasher",2615],[10,"Serializer",2616],[5,"Signature",2617],[10,"Error",2618],[5,"TypeId",2619],[5,"ConcurrentDiscovery",298],[10,"Discovery",298],[5,"DiscoveryItem",298],[8,"Result",2599],[5,"Box",2620,null,1],[5,"Vec",2621],[5,"BTreeSet",2622],[5,"Endpoint",660],[8,"NodeId",0,2590],[8,"Result",2610],[8,"Boxed",2623],[5,"DnsDiscovery",351],[5,"LocalSwarmDiscovery",370],[5,"PkarrPublisher",389],[5,"PkarrResolver",389],[5,"PkarrRelayClient",389],[5,"SignedPacket",2624],[1,"u32"],[5,"Duration",2625],[5,"Builder",465],[5,"DhtDiscovery",465],[5,"PkarrClient",2626],[5,"StaticProvider",514],[8,"DnsResolver",544],[10,"ResolverExt",544],[17,"Output"],[10,"Future",2627,null,1],[1,"u64"],[6,"IpAddr",2628],[10,"IntoName",2629],[10,"Clone",2630],[8,"TokioResolver",2631],[6,"IrohAttr",569],[5,"TxtAttrs",569],[5,"BTreeMap",2632],[10,"FromStr",2633],[10,"Display",2599],[10,"Hash",2615],[10,"Ord",2594],[10,"Debug",2599],[5,"TxtLookup",2634],[5,"Record",2635],[5,"Accept",660],[5,"Incoming",660],[5,"Connecting",660],[6,"ConnectionError",660,2636],[5,"Connection",660],[5,"AcceptBi",660,2637],[5,"AcceptUni",660,2637],[5,"ServerConfig",660,2638],[5,"AckFrequencyConfig",660,2639],[5,"VarInt",660,2640],[5,"TransportConfig",660,2639],[5,"Builder",660],[10,"FnOnce",2641],[10,"Send",2642],[10,"Sync",2642],[10,"HandshakeTokenKey",660,2643],[10,"AeadKey",660,2643],[5,"SocketAddrV4",2597],[5,"SocketAddrV6",2597],[5,"MtuDiscoveryConfig",660,2639],[10,"ControllerFactory",660,2644],[5,"Instant",2645],[10,"Controller",660,2644],[6,"SendDatagramError",660,2637],[6,"ReadToEndError",660,2646],[6,"ReadError",660,2646],[6,"ResetError",660,2646],[6,"ReadExactError",660,2646],[6,"WriteError",660,2647],[6,"StoppedError",660,2647],[6,"ControlMsg",660,2606],[5,"DirectAddrInfo",660,2606],[5,"UdpStats",660,2648],[5,"FrameStats",660,2648],[5,"PathStats",660,2648],[5,"ConnectionStats",660,2648],[6,"ConnectionType",660,2606],[5,"Written",660,2649],[6,"Source",660,2650],[5,"ClosedStream",660,2651],[5,"ConnectionClose",660,2652],[5,"ApplicationClose",660,2652],[5,"TransportError",660],[5,"TransportErrorCode",660],[5,"DirectAddr",660,2653],[6,"DirectAddrType",660,2653],[5,"StreamId",660,2654],[6,"PathSelection",660],[6,"RelayMode",660],[5,"Watcher",2465],[5,"UnexpectedEnd",2655],[10,"Buf",2656],[6,"Dir",2654],[5,"RecvStream",660,2646],[5,"SendStream",660,2647],[10,"BufMut",2657],[5,"Chunk",660,2658],[5,"ExportKeyingMaterialError",660,2643],[5,"WeakConnectionHandle",660,2637],[5,"RetryError",660,2659],[5,"CryptoError",660,2643],[5,"UnsupportedVersion",660,2643],[5,"IncomingFuture",660],[6,"ReadableError",2660],[6,"Close",2652],[5,"Unspecified",2661],[5,"InvalidFrame",2652],[6,"Error",2662],[5,"VarIntBoundsExceeded",2640],[10,"Any",2619],[10,"CryptoServerConfig",660],[5,"ConnectionId",2663],[5,"Keys",2643],[6,"Side",2654],[5,"ZeroRttAccepted",660,2637],[5,"Incoming",2659],[5,"IdleTimeout",2639],[5,"RttEstimator",2664],[5,"OpenBi",660,2637],[5,"OpenUni",660,2637],[5,"Pin",2665],[5,"Context",2666],[6,"Poll",2667],[5,"ReadDatagram",660,2637],[5,"Error",2668],[5,"ReadBuf",2669],[1,"i32"],[5,"Bytes",2670],[5,"TransportParameters",2662],[10,"Session",2643],[10,"TimeSource",2638],[1,"f32"],[1,"u128"],[5,"ValidationTokenConfig",2638],[5,"CertificateDer",2671],[6,"PrivateKeyDer",2671],[6,"Error",2672],[5,"PortmapMetrics",2204],[5,"NetReportMetrics",2204],[5,"MagicsockMetrics",2204],[5,"RelayMetrics",2204],[5,"IntoIter",2673],[10,"ProtocolHandler",2380],[8,"Boxed",2674],[5,"RouterBuilder",2380],[10,"AsRef",2612],[5,"Router",2380],[5,"DnsPkarrServer",2425,2675],[5,"CleanupDropGuard",2425],[5,"Server",2676],[5,"StunConfig",2676],[5,"Watchable",2465],[5,"WatcherStream",2465],[10,"Default",2677],[5,"WatchNextFut",2465],[5,"WatchInitializedFut",2465],[5,"Disconnected",2465],[10,"Eq",2594],[6,"NotKeyed",2678],[5,"RateLimiter",2679],[5,"RatelimitedStream",2680],[10,"DirectStateStore",2678],[10,"ReasonablyRealtime",2681],[10,"RateLimitingMiddleware",2682],[5,"Jitter",2683],[15,"Discovery",2202],[15,"NamedApp",2202]],"r":[[2,660],[4,2590],[6,2591],[7,2590],[8,2590],[9,2593],[10,660],[11,2593],[12,2592],[13,2592],[14,2590],[282,2684],[283,2684],[663,2637],[664,2637],[665,2639],[666,2643],[669,2652],[676,2658],[678,2651],[683,2652],[685,2636],[691,2648],[692,2606],[693,2606],[694,2644],[695,2644],[696,2643],[701,2653],[702,2606],[703,2653],[709,2643],[714,2648],[715,2643],[727,2639],[732,2637],[733,2637],[736,2648],[741,2637],[742,2646],[744,2646],[745,2646],[746,2646],[751,2606],[754,2646],[755,2659],[759,2637],[760,2647],[761,2638],[762,2650],[765,2647],[766,2654],[773,2639],[778,2648],[781,2643],[782,2640],[784,2637],[785,2647],[786,2649],[787,2637],[2426,2675],[2431,2685]],"b":[[125,"impl-Debug-for-PublicKey"],[126,"impl-Display-for-PublicKey"],[127,"impl-Display-for-KeyParsingError"],[128,"impl-Debug-for-KeyParsingError"],[129,"impl-Display-for-SecretKey"],[130,"impl-Debug-for-SecretKey"],[132,"impl-Debug-for-RelayUrl"],[133,"impl-Display-for-RelayUrl"],[134,"impl-Display-for-RelayUrlParseError"],[135,"impl-Debug-for-RelayUrlParseError"],[136,"impl-Display-for-RelayMap"],[137,"impl-Debug-for-RelayMap"],[138,"impl-Debug-for-RelayNode"],[139,"impl-Display-for-RelayNode"],[143,"impl-From%3CError%3E-for-KeyParsingError"],[145,"impl-From%3CDecodeError%3E-for-KeyParsingError"],[147,"impl-From%3CSigningKey%3E-for-SecretKey"],[148,"impl-From%3C%5Bu8;+32%5D%3E-for-SecretKey"],[149,"impl-From%3CNodeTicket%3E-for-NodeAddr"],[150,"impl-From%3CRemoteInfo%3E-for-NodeAddr"],[151,"impl-From%3CPublicKey%3E-for-NodeAddr"],[152,"impl-From%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[153,"impl-From%3CNodeInfo%3E-for-NodeAddr"],[239,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey"],[240,"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey"],[607,"impl-Display-for-IrohAttr"],[608,"impl-Debug-for-IrohAttr"],[613,"impl-From%3CTxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[614,"impl-From%3C%26TxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[1415,"impl-Debug-for-SendDatagramError"],[1416,"impl-Display-for-SendDatagramError"],[1417,"impl-Display-for-RetryError"],[1418,"impl-Debug-for-RetryError"],[1420,"impl-Display-for-ReadToEndError"],[1421,"impl-Debug-for-ReadToEndError"],[1422,"impl-Display-for-ReadError"],[1423,"impl-Debug-for-ReadError"],[1424,"impl-Display-for-ResetError"],[1425,"impl-Debug-for-ResetError"],[1426,"impl-Debug-for-ReadExactError"],[1427,"impl-Display-for-ReadExactError"],[1429,"impl-Display-for-WriteError"],[1430,"impl-Debug-for-WriteError"],[1431,"impl-Debug-for-StoppedError"],[1432,"impl-Display-for-StoppedError"],[1434,"impl-Debug-for-VarInt"],[1435,"impl-Display-for-VarInt"],[1437,"impl-Display-for-ControlMsg"],[1438,"impl-Debug-for-ControlMsg"],[1445,"impl-Display-for-ConnectionType"],[1446,"impl-Debug-for-ConnectionType"],[1448,"impl-Display-for-Source"],[1449,"impl-Debug-for-Source"],[1450,"impl-Display-for-ClosedStream"],[1451,"impl-Debug-for-ClosedStream"],[1452,"impl-Debug-for-ConnectionError"],[1453,"impl-Display-for-ConnectionError"],[1460,"impl-Display-for-ConnectionClose"],[1461,"impl-Debug-for-ConnectionClose"],[1462,"impl-Debug-for-ApplicationClose"],[1463,"impl-Display-for-ApplicationClose"],[1464,"impl-Display-for-TransportError"],[1465,"impl-Debug-for-TransportError"],[1466,"impl-Display-for-TransportErrorCode"],[1467,"impl-Debug-for-TransportErrorCode"],[1469,"impl-Display-for-DirectAddrType"],[1470,"impl-Debug-for-DirectAddrType"],[1471,"impl-Display-for-StreamId"],[1472,"impl-Debug-for-StreamId"],[1500,"impl-From%3CConnectionError%3E-for-ReadError"],[1501,"impl-From%3CReadableError%3E-for-ReadError"],[1502,"impl-From%3CResetError%3E-for-ReadError"],[1509,"impl-From%3CConnectionError%3E-for-WriteError"],[1511,"impl-From%3CStoppedError%3E-for-WriteError"],[1512,"impl-From%3CClosedStream%3E-for-WriteError"],[1516,"impl-From%3Cu32%3E-for-VarInt"],[1517,"impl-From%3CStreamId%3E-for-VarInt"],[1518,"impl-From%3Cu16%3E-for-VarInt"],[1519,"impl-From%3Cu8%3E-for-VarInt"],[1533,"impl-From%3CClose%3E-for-ConnectionError"],[1535,"impl-From%3CTransportError%3E-for-ConnectionError"],[1546,"impl-From%3CInvalidFrame%3E-for-TransportError"],[1547,"impl-From%3CError%3E-for-TransportError"],[1549,"impl-From%3CTransportErrorCode%3E-for-TransportError"],[1821,"impl-AsyncRead-for-RecvStream"],[1822,"impl-RecvStream"],[1824,"impl-SendStream"],[1825,"impl-AsyncWrite-for-SendStream"],[1980,"impl-TryFrom%3Cusize%3E-for-VarInt"],[1982,"impl-TryFrom%3Cu128%3E-for-VarInt"],[1983,"impl-TryFrom%3Cu64%3E-for-VarInt"],[2519,"impl-Display-for-Disconnected"],[2520,"impl-Debug-for-Disconnected"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAPgGoQADAAAACwAAABAABQAXACsARgAVAGAABwBqACIAjwABAJIAAACUAAEAlwADAJwAAACfAAAApgAIALIACQDLAAMA1gAEANwAAQDiACcADQEHAC4BAAAwAQsAPQEBAEABAQBDAQAARQEAAEcBAQBRAQAAUwEAAFYBCQBjAQUAagEAAG4BBAB1AQUAfAEAAH8BBgCNARcApgEFAK8BBQC9AQAAvwEAAMEBCwDOAQIA1AEEANwBCADmAQMA7AEAAO4BAQD1AQAA9wEAAPkBBAD/AQMABQIAAAcCCQATAgAAFQIAABgCAAAaAgAAHAIEAC0CAAA1AgAAQAIBAEMCEABVAg4AZgIBAGkCAABvAgEAcwIDAH8CAACDAgAAhgIAAIgCDAAZAyEAQQMAAEMDAABUA2sAyAMhAOsDQwAzBAMAOAQDAEMEAABFBAAASgQBAFAEDwBhBHAA2wQ3ABQFbgCHBUMA2AUAANwFAwDhBQAA4wUAAOYFAADoBQIA7QUDAP4FAAAABgAABQYAAAgGAAALBgEADgYAABMGAAAdBiEARAYAAEYGBABPBgAAUwY1AMgGCQDqBgAA7gYCAPkGAQD+BgAACQcDAA4HAQATBwsAIAcAACIHAAA/BwEAUAcEAFoHBwBoBwAAagcBAG0HAQBxBzUAqwcRAL4HAADBB18AIgg1AF0INQChCAMApggPALgICwDHCAsA1wgIAOUIAwDqCAMA8ggKAAYJBgAOCQcAGAkIACQJBgAsCRQAQwkIAFAJAABTCQMAWAkIAGMJAQBnCQIAcQkIAHwJAwCBCQMAhwkDAI0JAQCaCQcAqAkxAOAJAgDlCQUA8gkBAPUJBAD9CRgAFwoFAA==","P":[[23,"T"],[24,""],[25,"T"],[40,""],[46,"T"],[52,""],[62,"K"],[66,""],[69,"T"],[74,""],[75,"T"],[86,"D"],[88,"__D"],[91,""],[110,"K"],[125,""],[141,"T"],[142,""],[144,"T"],[145,""],[146,"T"],[147,""],[154,"T"],[155,""],[156,"T"],[158,""],[159,"T"],[161,""],[163,"I,"],[164,""],[165,"T"],[171,""],[175,"R"],[176,""],[177,"H"],[178,"__H"],[179,""],[187,"U"],[195,""],[213,"S"],[215,"__S"],[218,""],[225,"T"],[231,""],[238,"U,T"],[239,""],[241,"U,T"],[243,""],[244,"U,T"],[249,"U"],[257,""],[268,"V"],[277,""],[278,""],[302,""],[303,"T"],[307,""],[308,"T"],[309,""],[311,"T"],[316,""],[321,"T"],[325,""],[328,"U"],[335,""],[342,"T"],[343,"U,T"],[345,"U"],[347,""],[349,"V"],[354,"T"],[358,""],[360,"T"],[361,""],[362,"U"],[363,""],[366,"U,T"],[367,"U"],[368,""],[369,"V"],[372,"T"],[376,""],[378,"T"],[379,""],[380,"U"],[381,""],[385,"U,T"],[386,"U"],[387,""],[388,"V"],[396,""],[399,"T"],[405,""],[408,"T"],[411,""],[414,"T"],[421,""],[427,"T"],[433,""],[436,"U"],[439,""],[448,"T"],[451,"U,T"],[454,"U"],[457,""],[461,"V"],[464,""],[468,"T"],[472,""],[476,"T"],[477,""],[480,"T"],[484,""],[489,"T"],[492,""],[496,"U"],[498,""],[504,"T"],[505,"U,T"],[507,"U"],[509,""],[512,"V"],[516,""],[517,""],[518,"T"],[520,""],[521,"T"],[522,""],[524,"T"],[526,""],[528,"T"],[529,","],[530,"T"],[531,""],[533,"U"],[534,""],[538,""],[539,"T"],[540,"U,T"],[541,"U"],[542,""],[543,"V"],[546,""],[555,"N"],[568,""],[577,"T"],[584,""],[585,"T"],[586,""],[588,"K"],[589,"T"],[596,""],[601,"K"],[607,""],[610,"T"],[613,""],[615,"T"],[616,""],[618,"T"],[619,"T,"],[620,""],[621,"T"],[623,"FromStr::Err"],[624,",T"],[625,""],[626,"__H"],[627,""],[630,"U"],[633,"T"],[635,""],[636,"T"],[638,""],[641,"T"],[643,""],[644,"T"],[645,""],[647,"TryFrom::Error"],[648,"U,T"],[651,"U"],[654,""],[657,"V"],[792,""],[835,"D,F"],[836,""],[851,"T"],[959,""],[1002,"T"],[1036,""],[1079,"K"],[1083,""],[1088,""],[1091,""],[1103,"B"],[1106,""],[1120,"T"],[1228,"__D"],[1233,""],[1299,"B"],[1302,""],[1329,"K"],[1412,""],[1487,"T"],[1495,""],[1496,"T"],[1499,""],[1503,"T"],[1504,""],[1505,"T"],[1506,""],[1507,"T"],[1509,""],[1510,"T"],[1511,""],[1514,"T"],[1516,""],[1520,"T"],[1533,""],[1534,"T"],[1535,""],[1536,"T"],[1540,""],[1541,"T"],[1543,""],[1544,"T"],[1546,""],[1548,"T"],[1549,""],[1550,"T"],[1554,""],[1555,"T"],[1598,""],[1605,"__H"],[1610,""],[1679,"U"],[1733,""],[1742,"IntoFuture::IntoFuture"],[1743,""],[1817,"Future::Output"],[1820,""],[1861,""],[1862,""],[1871,"__S"],[1876,""],[1904,"T"],[1938,""],[1962,"U,T"],[1980,""],[1981,"U,T"],[1982,""],[1984,"U,T"],[2019,"U"],[2073,"F"],[2081,""],[2140,"V"],[2194,""],[2221,"T"],[2231,""],[2235,"T"],[2239,""],[2250,"T"],[2262,""],[2272,"T"],[2281,""],[2285,"U"],[2289,""],[2352,"T"],[2356,"U,T"],[2360,"U"],[2364,""],[2375,"V"],[2383,""],[2385,",T"],[2386,"T"],[2390,""],[2392,"T"],[2393,""],[2394,"T"],[2398,""],[2404,"T"],[2407,""],[2409,"U"],[2411,""],[2416,"T"],[2417,"U,T"],[2419,"U"],[2421,""],[2423,"V"],[2427,"T"],[2431,""],[2432,"T"],[2436,""],[2442,"T"],[2444,""],[2446,"U"],[2450,""],[2457,"U,T"],[2459,"U"],[2461,""],[2463,"V"],[2471,""],[2474,"T"],[2492,""],[2495,"T"],[2508,""],[2514,"T"],[2519,""],[2521,"T"],[2532,""],[2538,"T"],[2539,"U"],[2545,""],[2547,"T"],[2548,"T,Future::Output"],[2550,"T,Stream::Item"],[2551,"D,C,MW,S"],[2553,"T"],[2559,""],[2560,"U,T"],[2566,"U"],[2572,"F"],[2574,"S"],[2575,""],[2581,"T"],[2582,"V"],[2588,"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,"core::option"],[247,"iroh_base::ticket::node"],[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`1Db202000100002200222100020010210002020202F`","f":"`````````````{{{d{b}}}{{d{{h{f}}}}}}{{{d{b}}}{{d{{j{f}}}}}}{d{{d{c}}}{}}2000000{{{d{l}}}{{d{lc}}}{}}000000{{{d{n}}}n}{{{d{b}}}b}{{{d{A`}}}A`}{{{d{Ab}}}Ab}{{{d{Ad}}}Ad}{{d{d{lc}}}Af{}}0000{{df}Af}0000{{{d{b}}{d{b}}}Ah}{{{d{Ab}}{d{Ab}}}Ah}{{{d{Ad}}{d{Ad}}}Ah}{{{d{Ad}}}{{d{c}}}{}}{c{{Aj{n}}}Al}{c{{Aj{b}}}Al}{c{{Aj{A`}}}Al}{c{{Aj{Ab}}}Al}{c{{Aj{Ad}}}Al}{{{d{Ab}}}{{`{{Bb{}{{An{{d{B`}}}}}}}}}}`{{{d{n}}{d{n}}}Bd}{{{d{b}}{d{b}}}Bd}{{{d{Ab}}{d{Ab}}}Bd}{{{d{Ad}}{d{Ad}}}Bd}{{{d{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c{}}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}}}{}}333{{{d{{j{f}}}}}{{Aj{A`c}}}{}}444{{}{{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{Db}}}Db}{{d{d{lc}}}Af{}}{{df}Af}{{{d{Dl}}}{{Aj{EjEl}}}}{c{{Aj{Db}}}Al}{{{d{Db}}{d{Db}}}Bd}{{{d{Db}}{d{lBf}}}Bj}0{{{d{El}}{d{lBf}}}Bj}0{cc{}}{AbDb}1{ChEl}{EnEl}{{{d{{j{f}}}}}{{Aj{EjEl}}}}{{{d{{j{f}}}}}{{Aj{DbEl}}}}{{{d{Dl}}}{{Aj{Dbc}}}{}}{{}c{}}06{{{d{Db}}}{{d{Ab}}}}{{{d{Ej}}}C`}{{{d{Db}}c}AjEb}{{{d{El}}}{{Cl{{d{Ed}}}}}}{{{d{Ej}}}{{Ef{f}}}}{{{d{Db}}}{{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],[6,"Option",246,null,1],[1,"tuple",null,null,1],[8,"NodeId",0,230],[5,"NodeTicket",181,247],[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,247]],"b":[[60,"impl-Debug-for-Signature"],[61,"impl-Display-for-Signature"],[62,"impl-LowerHex-for-Signature"],[63,"impl-UpperHex-for-Signature"],[64,"impl-Display-for-PublicKey"],[65,"impl-Debug-for-PublicKey"],[66,"impl-Debug-for-KeyParsingError"],[67,"impl-Display-for-KeyParsingError"],[68,"impl-Display-for-SecretKey"],[69,"impl-Debug-for-SecretKey"],[71,"impl-Display-for-RelayUrl"],[72,"impl-Debug-for-RelayUrl"],[73,"impl-Debug-for-RelayUrlParseError"],[74,"impl-Display-for-RelayUrlParseError"],[77,"impl-From%3C%26%5Bu8;+ed25519::::SignatureBytes::%7Bconstant%230%7D%5D%3E-for-Signature"],[78,"impl-From%3C%5Bu8;+ed25519::::SignatureBytes::%7Bconstant%230%7D%5D%3E-for-Signature"],[79,"impl-From%3CInternalSignature%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%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[89,"impl-From%3CPublicKey%3E-for-NodeAddr"],[90,"impl-From%3CNodeTicket%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":"OzAAAAEAAJgAFgAPACcAOQASAE4AAgBSAAAAVAACAFgAAgBdAAAAXwAAAGcAAwBsAAEAeAACAIIABACIAAEAiwAAAI4ACgCaABgAvgAGAMYABQDPAAEA0gABANkAAQDcAAkA","P":[[15,"T"],[16,""],[17,"T"],[30,""],[35,"T"],[40,""],[48,"Deref::Target"],[49,"D"],[52,"__D"],[54,""],[76,"T"],[77,""],[80,"T"],[81,""],[82,"T"],[83,""],[86,"T"],[87,""],[91,"T"],[92,""],[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"],[160,"TryFrom::Error"],[161,"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{Bl{Ch}}A`}{{Ad{Ab}}}}{{Cf{Bl{Ch}}A`}{{Ad{{Cn{CjCl}}}}}}{{{b{Cl}}D`C`}{{Ad{{Cn{DbD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ice"],[1,"usize"],[5,"Formatter",236],[8,"Result",236],[5,"ArgMatches",237],[8,"Error",238],[6,"Result",239,null,1],[5,"Id",240],[6,"Option",241,null,1],[1,"str"],[1,"bool"],[5,"Runtime",242],[5,"TypeId",243],[5,"NodeAddr",244],[5,"RelayUrl",245],[5,"Endpoint",246],[5,"Connection",246],[1,"tuple",null,null,1],[1,"u64"],[5,"TransferResult",169],[1,"u16"],[5,"TransportConfig",247],[6,"SocketAddr",248],[5,"CertificateDer",249],[5,"Endpoint",250],[5,"Connection",251],[6,"PrivateKeyDer",249],[5,"Opt",140],[5,"Stats",169],[5,"StreamStats",169],[5,"Duration",252],[1,"f64"]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAMQAEQAAABwAHwAXADgABgBEAAwAVwAAAFsAAQBeAAMAZAAUAHoABQCCAAAAhQABAIkAAACMAA8AnQAEAKMAJADLAAIA0QAYAA==","P":[[18,"T"],[28,""],[32,"T"],[34,""],[44,"T"],[55,""],[62,"T"],[67,""],[71,"T"],[73,""],[81,"U"],[90,""],[99,"T"],[101,"U,T"],[106,"U"],[111,""],[121,"V"],[127,""],[144,"T"],[146,""],[147,"T"],[148,""],[151,"T"],[153,""],[155,"T"],[156,""],[158,"T"],[159,""],[161,"U"],[162,"T"],[163,"U,T"],[164,"U"],[165,""],[168,"V"],[173,"T"],[183,""],[185,"T"],[191,""],[199,"T"],[202,""],[205,"U"],[208,""],[219,"U,T"],[222,"U"],[227,""],[230,"V"]]}],["iroh_dns_server",{"t":"FNNNNNNCCNNNNCNNNCNNNCCNNNNNNGFPPFFFNOONNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNOONNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNOFFFFNNNNONNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNOOOOONNNNNNNNNNNNNNNNNNNNNNNNGPFFFPPGPPPNNNNOONNNNNNNNNNONNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFNNNNNNNOOOOOONNNOOOOHNNNOOOOOONNNNNFNNNNNHNNNNNNFNNNNNNONNNONNNNN","n":["ZoneStore","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","config","dns","fmt","from","from_ref","get_signed_packet","http","in_memory","insert","into","metrics","new","persistent","resolve","server","state","to_owned","try_from","try_into","type_id","vzip","with_mainline_fallback","BootstrapOption","Config","Custom","Default","MainlineConfig","MetricsConfig","StoreConfig","__clone_box","bind_addr","bootstrap","borrow","","","","","borrow_mut","","","","","clone","clone_into","clone_to_uninit","data_dir","default","","","","deserialize","","","","","disabled","","dns","enabled","fmt","","","","","from","","","","","from_ref","http","https","into","","","","","load","mainline","metrics","pkarr_put_rate_limit","serialize","","","","","signed_packet_store_path","to_owned","try_from","","","","","try_into","","","","","type_id","","","","","vzip","","","","","zone_store","DnsConfig","DnsHandler","DnsServer","Handle","__clone_box","","","answer_request","bind_addr","borrow","","","","borrow_mut","","","","clone","","","clone_into","","","clone_to_uninit","","","default_soa","default_ttl","deserialize","fmt","","","from","","","","from_ref","","","handle_request","into","","","","local_addr","new","origins","port","rr_a","rr_aaaa","rr_ns","run_until_done","send_response","serialize","shutdown","spawn","to_owned","","","try_from","","","","try_into","","","","type_id","","","","vzip","","","","CertMode","Disabled","HttpConfig","HttpServer","HttpsConfig","LetsEncrypt","Manual","RateLimitConfig","SelfSigned","Simple","Smart","__clone_box","","","","bind_addr","","borrow","","","","","borrow_mut","","","","","cert_mode","clone","","","","clone_into","","","","clone_to_uninit","","","","default","","deserialize","","","","domains","eq","equivalent","","","fmt","","","","","from","","","","","from_ref","","","","http_addr","https_addr","into","","","","","letsencrypt_contact","letsencrypt_prod","port","","run_until_done","serialize","","","","shutdown","spawn","to_owned","","","","to_string","try_from","","","","","try_into","","","","","type_id","","","","","vzip","","","","","Metrics","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","default","dns_lookup_error","dns_lookup_notfound","dns_lookup_success","dns_requests","dns_requests_https","dns_requests_udp","fmt","from","from_ref","http_requests","http_requests_duration_ms","http_requests_error","http_requests_success","init_metrics","into","iter","name","pkarr_publish_noop","pkarr_publish_update","store_packets_expired","store_packets_inserted","store_packets_removed","store_packets_updated","to_owned","try_from","try_into","type_id","vzip","Server","borrow","borrow_mut","from","into","run_until_error","run_with_config_until_ctrl_c","shutdown","spawn","try_from","try_into","type_id","vzip","AppState","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","dns_handler","from","from_ref","into","store","to_owned","try_from","try_into","type_id","vzip"],"q":[[0,"iroh_dns_server"],[29,"iroh_dns_server::config"],[116,"iroh_dns_server::dns"],[191,"iroh_dns_server::http"],[299,"iroh_dns_server::metrics"],[335,"iroh_dns_server::server"],[348,"iroh_dns_server::state"],[365,"dyn_clone::sealed"],[366,"iroh_dns_server::store"],[367,"core::fmt"],[368,"pkarr::signed_packet"],[369,"core::option"],[370,"anyhow"],[371,"std::path"],[372,"core::convert"],[373,"hickory_proto::rr::domain::name"],[374,"hickory_proto::rr::record_type"],[375,"hickory_proto::rr::rr_set"],[376,"alloc::sync"],[377,"core::result"],[378,"core::any"],[379,"serde::de"],[380,"serde::ser"],[381,"hickory_server::server::request_handler"],[382,"bytes::bytes"],[383,"core::future::future"],[384,"alloc::boxed"],[385,"core::pin"],[386,"hickory_server::server::response_handler"],[387,"core::net::socket_addr"],[388,"hickory_server::authority::message_response"],[389,"hickory_proto::rr::resource"],[390,"core::iter::traits::iterator"],[391,"core::marker"],[392,"iroh_dns_server::http::rate_limiting"],[393,"iroh_dns_server::http::tls"],[394,"alloc::string"],[395,"alloc::vec::into_iter"]],"i":"`j00000``0000`000`000``000000``Bj0```BlCfCbC`3214032143330031403214220103214032143000321400000321403032140321403214032140````D`CjDb12Dl32103213213213213333210321321203210233333013003210321032103210321`Ej```El0`01110EnF`10Fd432104321143214321432144432113333433210432143210004321112104321004321304321043210432104321`Fj0000000000000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h}}}{{b{hc}}}{}}{{{b{Fj}}}Fj}{{b{b{hc}}}f{}}{{bl}f}{{}Fj}``````{{{b{Fj}}{b{hn}}}A`}{cc{}}{{{b{c}}}c{}}````{{}f}{{}c{}}{{{b{Fj}}}{{Gb{{G`{{b{Fl}}{b{Fn}}}}}}}}{{}{{b{Fl}}}}``````{bc{}}{c{{Bf{e}}}{}{}}{{}{{Bf{c}}}{}}{bBh}{{}c{}}`{b{{b{c}}}{}}{{{b{h}}}{{b{hc}}}{}}<9{Gd{{Af{f}}}}{C`{{Af{f}}}}1{{C`j}{{Af{Gd}}}}8765`{{bd}f}54{{{b{Ff}}}Ff}{{b{b{hc}}}f{}}{{bl}f}`{cc{}}{{{b{c}}}c{}}{{}c{}}`{bc{}}{c{{Bf{e}}}{}{}}{{}{{Bf{c}}}{}}{bBh}{{}c{}}","D":"Oj","p":[[1,"reference",null,null,1],[5,"Private",365],[1,"unit"],[0,"mut"],[5,"ZoneStore",0,366],[1,"u8"],[5,"Formatter",367],[8,"Result",367],[5,"SignedPacket",368],[6,"Option",369,null,1],[8,"Result",370],[1,"bool"],[5,"Path",371],[10,"AsRef",372],[5,"Name",373],[6,"RecordType",374],[5,"RecordSet",375],[5,"Arc",376,null,1],[6,"Result",377,null,1],[5,"TypeId",378],[6,"BootstrapOption",29],[5,"StoreConfig",29],[5,"PathBuf",371],[5,"Config",29],[5,"MainlineConfig",29],[10,"Deserializer",379],[5,"MetricsConfig",29],[10,"Serializer",380],[5,"DnsHandler",116],[5,"Request",381],[5,"Bytes",382],[5,"DnsConfig",116],[5,"Handle",116],[10,"Future",383,null,1],[5,"Box",384,null,1],[5,"Pin",385],[10,"ResponseHandler",386],[5,"DnsServer",116],[6,"SocketAddr",387],[5,"MessageResponse",388],[17,"Item"],[5,"Record",389],[10,"Iterator",390],[10,"Send",391],[6,"RateLimitConfig",191,392],[6,"CertMode",191,393],[5,"HttpConfig",191],[5,"HttpsConfig",191],[5,"Error",367],[5,"HttpServer",191],[5,"AppState",348],[5,"String",394],[5,"Metrics",299],[1,"str"],[10,"Any",378],[1,"tuple",null,null,1],[5,"IntoIter",395],[5,"Server",335]],"r":[[0,366],[191,393],[198,392]],"b":[[231,"impl-Default-for-%26RateLimitConfig"],[232,"impl-Default-for-RateLimitConfig"],[243,"impl-Debug-for-CertMode"],[244,"impl-Display-for-CertMode"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAPAAIAACAAUACgAAAAwAAAAYAAQAJQAAACgADAA2AAgAQwAEAE0AAABZAAQAXwAUAHkAAgB+ABAAkQADAJkAAwCpAAEArQASAMsAAwDRAAkA3AARAO8ACAD9AAMADQEDABMBGAAtAQ0APAEEAEMBDABRAQEAWQEDAF4BBQBmAQAAaQEEAA==","P":[[2,"T"],[4,""],[5,"T"],[6,""],[10,"T"],[12,""],[16,"U"],[18,""],[19,""],[20,""],[23,"T"],[24,"U,T"],[25,"U"],[26,""],[27,"V"],[28,""],[39,"T"],[49,""],[50,"T"],[51,""],[57,"__D"],[62,""],[71,"T"],[79,"U"],[84,""],[88,"__S"],[93,""],[94,"T"],[95,"U,T"],[100,"U"],[105,""],[110,"V"],[120,""],[125,"T"],[133,""],[136,"T"],[139,""],[144,"__D"],[145,""],[148,"T"],[155,"R"],[156,"U"],[160,""],[168,",,,"],[169,"__S"],[170,""],[172,"T"],[175,"U,T"],[179,"U"],[183,""],[187,"V"],[202,""],[208,"T"],[219,""],[223,"T"],[227,""],[233,"__D"],[238,""],[239,"K"],[242,""],[247,"T"],[256,""],[258,"U"],[267,""],[268,"__S"],[272,""],[274,"T"],[278,""],[279,"U,T"],[284,"U"],[289,""],[294,"V"],[300,""],[301,"T"],[303,""],[304,"T"],[305,""],[314,"T"],[320,""],[321,"U"],[322,""],[330,"T"],[331,"U,T"],[332,"U"],[333,""],[334,"V"],[336,"T"],[339,"U"],[340,""],[344,"U,T"],[345,"U"],[346,""],[347,"V"],[349,""],[350,"T"],[352,""],[353,"T"],[354,""],[356,"T"],[358,"U"],[360,"T"],[361,"U,T"],[362,"U"],[363,""],[364,"V"]]}],["iroh_net_report",{"t":"FFFFFSFFFFFNHNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNOONNNNNNNNNNNNNNNNNNNNOOOOOONNOONNNHONOONNOOOOONOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNN","n":["Addr","Client","IpMappedAddr","IpMappedAddrError","IpMappedAddresses","MAPPED_ADDR_PORT","Metrics","Options","QuicConfig","RelayLatencies","Report","addr","bind_local_stun_socket","borrow","","","","","","","","","","borrow_mut","","","","","","","","","","captive_portal","client_config","clone","","","","","","","clone_into","","","","","","","clone_to_uninit","","","","","","","cmp","compare","default","","","","","deref","","","","","","","","","","deref_mut","","","","","","","","","","disabled","drop","","","","","","","","","","ep","eq","","","equivalent","","","","","","","","","fmt","","","","","","","","","","","","","from","","","","","","","","","","generate","get_ip_addr","get_mapped_addr","get_or_register","get_report","get_report_channel","get_report_with_opts","global_v4","global_v6","hair_pinning","hash","https","icmp_v4","icmp_v6","icmpv4","icmpv6","init","","","","","","","","","","into","","","","","","","","","","ipv4","","ipv4_can_send","ipv6","","ipv6_can_send","iter","","mapping_varies_by_dest_ip","mapping_varies_by_dest_ipv6","name","new","","os_has_ipv6","","partial_cmp","portmap_probe","preferred_relay","quic_config","receive_stun_packet","relay_latency","relay_v4_latency","relay_v6_latency","reports","reports_full","socket_addr","stun_packets_dropped","stun_packets_recv_ipv4","stun_packets_recv_ipv6","stun_packets_sent_ipv4","stun_packets_sent_ipv6","stun_v4","stun_v6","to_owned","","","","","","","to_string","","","try_from","","","","","","","","","","","try_into","","","","","","","","","","type_id","","","","","","","","","","udp","vzip","","","","","","","","",""],"q":[[0,"iroh_net_report"],[251,"netwatch::ip_family"],[252,"tokio_util::sync::cancellation_token"],[253,"netwatch::udp"],[254,"alloc::sync"],[255,"core::option"],[256,"iroh_net_report::ip_mapped_addrs"],[257,"iroh_net_report::metrics"],[258,"iroh_net_report::reportgen"],[259,"core::cmp"],[260,"core::fmt"],[261,"core::net::socket_addr"],[262,"iroh_relay::relay_map"],[263,"anyhow"],[264,"tokio::sync::oneshot"],[265,"core::hash"],[266,"core::any"],[267,"alloc::vec::into_iter"],[268,"iroh_base::relay_url"],[269,"core::time"],[270,"core::iter::traits::iterator"],[271,"portmapper"],[272,"hickory_resolver::resolver"],[273,"bytes::bytes"],[274,"alloc::string"],[275,"core::result"],[276,"core::net::ip_addr"],[277,"iroh_net_report::stun_utils"]],"i":"```````````b`BlAdAfAhAjAlAn7Bff876543291034765432076543207654320776532187654329108765432910187654329104732777333222887765433291087654329107666999333711133876543291087654329104334335233569`37331033355755555117654320873877654329108765432910876543291038765432910","f":"```````````{{{d{b}}}f}{{hfj}{{A`{{n{l}}}}}}{d{{d{c}}}{}}000000000{{{d{Ab}}}{{d{Abc}}}{}}000000000``{{{d{Ad}}}Ad}{{{d{Af}}}Af}{{{d{Ah}}}Ah}{{{d{Aj}}}Aj}{{{d{Al}}}Al}{{{d{An}}}An}{{{d{f}}}f}{{d{d{Abc}}}B`{}}000000{{dBb}B`}000000{{{d{Ad}}{d{Ad}}}Bd}{{d{d{c}}}Bd{}}{{}Af}{{}Ah}{{}Al}{{}An}{{}Bf}{Bh{{d{c}}}{}}000000000{Bh{{d{Abc}}}{}}0000000002{BhB`}000000000`{{{d{Ad}}{d{Ad}}}Bj}{{{d{Al}}{d{Al}}}Bj}{{{d{An}}{d{An}}}Bj}{{d{d{c}}}Bj{}}00000000{{{d{Bl}}{d{AbBn}}}C`}0{{{d{Ad}}{d{AbBn}}}C`}0{{{d{Af}}{d{AbBn}}}C`}{{{d{Ah}}{d{AbBn}}}C`}{{{d{Aj}}{d{AbBn}}}C`}{{{d{Al}}{d{AbBn}}}C`}0{{{d{An}}{d{AbBn}}}C`}{{{d{b}}{d{AbBn}}}C`}{{{d{Bf}}{d{AbBn}}}C`}{{{d{f}}{d{AbBn}}}C`}{cc{}}000000000{{}Ad}{{{d{Af}}{d{Ad}}}{{A`{Cb}}}}{{{d{Af}}{d{Cb}}}{{A`{Ad}}}}{{{d{Af}}Cb}Ad}{{{d{Abb}}Cd{A`{{n{l}}}}{A`{{n{l}}}}{A`{Aj}}}{{Cf{{n{Al}}}}}}{{{d{Abb}}CdBf}{{Cf{{Ch{{Cf{{n{Al}}}}}}}}}}{{{d{Abb}}CdBf}{{Cf{{n{Al}}}}}}```{{{d{Ad}}{d{Abc}}}B`Cj}{{BfBj}Bf}00``{{}Bh}000000000{{}c{}}000000000``````{{{d{Ah}}}{{Db{{D`{{d{Cl}}{d{Cn}}}}}}}}{{{d{An}}}{{`{{Dj{}{{Dd{{D`{{d{Df}}Dh}}}}}}}}}}``{{}{{d{Cl}}}}{{}Af}{{{A`{Dl}}Dn{A`{Af}}}{{Cf{b}}}}{{}Bj}`{{{d{Ad}}{d{Ad}}}{{A`{Bd}}}}``{{Bf{A`{Aj}}}Bf}{{{d{f}}E`Cb}B`}`````{{{d{Ad}}}Cb}`````{{Bf{A`{{n{l}}}}}Bf}0{dc{}}000000{dEb}00{c{{Ed{e}}}{}{}}{Ef{{Ed{Adc}}}{}}111111111{{}{{Ed{c}}}{}}000000000{dEh}000000000`{{}c{}}000000000","D":"Ij","p":[[5,"Client",0],[1,"reference",null,null,1],[5,"Addr",0],[6,"IpFamily",251],[5,"CancellationToken",252],[5,"UdpSocket",253],[5,"Arc",254,null,1],[6,"Option",255,null,1],[0,"mut"],[5,"IpMappedAddr",0,256],[5,"IpMappedAddresses",0,256],[5,"Metrics",0,257],[5,"QuicConfig",0,258],[5,"Report",0],[5,"RelayLatencies",0],[1,"unit"],[1,"u8"],[6,"Ordering",259],[5,"Options",0],[1,"usize"],[1,"bool"],[5,"IpMappedAddrError",0,256],[5,"Formatter",260],[8,"Result",260],[6,"SocketAddr",261],[5,"RelayMap",262],[8,"Result",263],[5,"Receiver",264],[10,"Hasher",265],[1,"str"],[10,"Any",266],[1,"tuple",null,null,1],[5,"IntoIter",267],[17,"Item"],[5,"RelayUrl",268],[5,"Duration",269],[10,"Iterator",270],[5,"Client",271],[8,"TokioResolver",272],[5,"Bytes",273],[5,"String",274],[6,"Result",275,null,1],[5,"Ipv6Addr",276],[5,"TypeId",266]],"r":[[2,256],[3,256],[4,256],[5,256],[6,257],[8,258],[12,277]],"b":[[107,"impl-Display-for-IpMappedAddrError"],[108,"impl-Debug-for-IpMappedAddrError"],[109,"impl-Display-for-IpMappedAddr"],[110,"impl-Debug-for-IpMappedAddr"],[114,"impl-Display-for-Report"],[115,"impl-Debug-for-Report"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAK4ADQAOABMAJAAvAFUACQBgABgAjQAAAJMACQCtAAAAsQAAALYAAAC+AAEAwQAEAMgAKADyAAkA","P":[[13,"T"],[35,""],[42,"T"],[49,""],[57,"K"],[58,""],[63,"T"],[83,""],[98,"K"],[107,""],[120,"T"],[130,""],[140,"__H"],[141,""],[156,"U"],[172,""],[199,"T"],[206,""],[209,"U,T"],[210,"TryFrom::Error"],[211,"U,T"],[220,"U"],[230,""],[241,"V"]]}],["iroh_relay",{"t":"EFFFFNNNNNNNNCNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNOCCONNCOONNNNNNNNNNNNNNNNNNONNNNNFFFFGPPPPPPPPPGPGPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOSSSSSSGSSPPNNNNNNNNNNNNNNNNNNNNNNNNCCCSHSPGPPPPPPPPGFPPPPPPPPPPPGFPFPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNNNNNNNNNCHHNHHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNSSSSSSFNNNNNNNNNNNNNNNGGPGFSPPPFPFFFPFPFFFFFOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONONNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNONNNNNNNNNNNNNNONONNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNOOOONNOOOONOOONONOOOOOONNNONNCONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNOOOHHHHHH","n":["MAX_PACKET_SIZE","PingTracker","RelayMap","RelayNode","RelayQuicConfig","borrow","","","","borrow_mut","","","","client","clone","","","clone_into","","","clone_to_uninit","","","cmp","","compare","","contains_node","default","","default_from_node","default_timeout","defaults","deref","","","","deref_mut","","","","deserialize","","drop","","","","empty","eq","","","equivalent","","","","","","","","","fmt","","","","","","from","","","","from_nodes","from_url","get_node","http","init","","","","into","","","","is_empty","len","new","new_ping","nodes","partial_cmp","","pong_received","port","protos","quic","","serialize","","server","stun_only","stun_port","timeout","to_owned","","","to_string","","try_from","","","","try_into","","","","type_id","","","","url","urls","vzip","","","","Client","ClientBuilder","ClientSink","ClientStream","ConnSendError","Health","Io","KeepAlive","NodeGone","Ping","","Pong","","Protocol","ReceivedMessage","ReceivedPacket","SendMessage","SendPacket","ServerRestarting","address_family_selector","borrow","","","","","","","borrow_mut","","","","","","","clone","","clone_into","","clone_to_uninit","","connect","deref","","","","","","","deref_mut","","","","","","","drop","","","","","","","fmt","","","","","","","","from","","","","","","","","","init","","","","","","","insecure_skip_cert_verify","into","","","","","","","is_prober","key_cache_capacity","local_addr","make_dangerous_client_config","new","poll_close","","poll_flush","","poll_next","","poll_ready","","protocol","proxy_url","ratelimit_sink","","ratelimit_sink_with_jitter","","ratelimit_stream","","ratelimit_stream_with_jitter","","source","split","start_send","","to_owned","","to_string","try_from","","","","","","","try_into","","","","","","","try_poll_next","","type_id","","","","","","","vzip","","","","","","","data","problem","reconnect_in","remote_node_id","try_for","DEFAULT_HTTPS_PORT","DEFAULT_HTTP_PORT","DEFAULT_KEY_CACHE_CAPACITY","DEFAULT_METRICS_PORT","DEFAULT_RELAY_QUIC_PORT","DEFAULT_STUN_PORT","Protocol","RELAY_PATH","RELAY_PROBE_PATH","Relay","Websocket","borrow","borrow_mut","clone","clone_into","clone_to_uninit","default","deref","deref_mut","drop","eq","equivalent","","","fmt","from","init","into","parse_header","to_owned","try_from","try_into","type_id","upgrade_header","vzip","disco","relay","stun","MAGIC","looks_like_disco_wrapper","MAX_PACKET_SIZE","AlternateServer","Error","ErrorCode","ErrorResponse","Fingerprint","Indication","InvalidFingerprint","InvalidMessage","MalformedAttrs","MappedAddress","MessageClass","MessageDecoder","MessageIntegrity","MessageIntegritySha256","NoFingerprint","Nonce","NotBinding","NotSuccessResponse","PasswordAlgorithm","PasswordAlgorithms","Realm","Request","Software","StunAttribute","StunDecodeError","SuccessResponse","TransactionId","Unknown","UnknownAttributes","UserHash","UserName","XorMappedAddress","as_alternate_server","as_bytes","as_error_code","as_fingerprint","as_mapped_address","as_message_integrity","as_message_integrity_sha256","as_nonce","as_password_algorithm","as_password_algorithms","as_realm","as_ref","as_software","as_unknown","as_unknown_attributes","as_user_hash","as_user_name","as_xor_mapped_address","attribute_type","borrow","","","","","","borrow_mut","","","","","","clone","","","","clone_into","","","","clone_to_uninit","","","","cmp","compare","decode","default","","deref","","","","","","","deref_mut","","","","","","drop","","","","","","eq","","equivalent","","","","","","expect_alternate_server","expect_error_code","expect_fingerprint","expect_mapped_address","expect_message_integrity","expect_message_integrity_sha256","expect_nonce","expect_password_algorithm","expect_password_algorithms","expect_realm","expect_software","expect_unknown","expect_unknown_attributes","expect_user_hash","expect_user_name","expect_xor_mapped_address","fmt","","","","","","","","","from","","","","","","","","","","","","","","","","","","","","","","","","get_context","hash","init","","","","","","into","","","","","","is","is_alternate_server","is_error_code","is_fingerprint","is_mapped_address","is_message_integrity","is_message_integrity_sha256","is_nonce","is_password_algorithm","is_password_algorithms","is_realm","is_software","is_unknown","is_unknown_attributes","is_user_hash","is_user_name","is_xor_mapped_address","methods","parse_binding_request","parse_response","partial_cmp","request","response","to_owned","","","","to_string","","","try_from","","","","","","","try_into","","","","","","type_id","","","","","","vzip","","","","","","BINDING","RESERVED","SHARED_SECRET","ALPN_QUIC_ADDR_DISC","QUIC_ADDR_DISC_CLOSE_CODE","QUIC_ADDR_DISC_CLOSE_REASON","QuicClient","borrow","borrow_mut","deref","deref_mut","drop","fmt","from","get_addr_and_latency","init","into","new","try_from","try_into","type_id","vzip","Access","AccessConfig","Allow","CertConfig","ClientRateLimit","DEFAULT_CERT_RELOAD_INTERVAL","Deny","Everyone","LetsEncrypt","Limits","Manual","Metrics","QuicConfig","RelayConfig","Reloading","ReloadingResolver","Restricted","Server","ServerConfig","StunConfig","StunMetrics","TlsConfig","accept_conn_burst","accept_conn_limit","accepts","access","bad_requests","bind_addr","","borrow","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","bytes_per_second","bytes_recv","bytes_sent","cert","certificates","client_rx","clone","","","","clone_into","","","","clone_to_uninit","","","","conns_rx_ratelimited_total","default","","","","deref","","","","","","","","","","","","","","","deref_mut","","","","","","","","","","","","","","disco_packets_dropped","disco_packets_recv","disco_packets_sent","disconnects","drop","","","","","","","","","","","","","","eq","equivalent","","","failures","fmt","","","","","","","","","","","","","","frames_rx_ratelimited_total","from","","","","","","","","","","","","","","got_ping","http_addr","http_bind_addr","http_url","https_addr","https_bind_addr","https_url","init","","","","","","","","","","","","","","","into","","","","","","","","","","","","","","ipv4_success","ipv6_success","is_allowed","iter","","key_cache_capacity","limits","max_burst_bytes","metrics_addr","name","","other_packets_dropped","other_packets_recv","other_packets_sent","quic","quic_addr","quic_bind_addr","relay","relay_accepts","reload","requests","resolve","send_packets_dropped","send_packets_recv","send_packets_sent","sent_pong","server_config","","shutdown","","spawn","stun","stun_addr","task_handle","testing","tls","to_owned","","","","try_from","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","type_id","","","","","","","","","","","","","","unique_client_keys","unknown_frames","vzip","","","","","","","","","","","","","","websocket_accepts","certs","state","quic_config","relay_config","self_signed_tls_certs_and_config","server_config","stun_config","tls_config"],"q":[[0,"iroh_relay"],[123,"iroh_relay::client"],[277,"iroh_relay::client::ReceivedMessage"],[282,"iroh_relay::defaults"],[288,"iroh_relay::http"],[317,"iroh_relay::protos"],[320,"iroh_relay::protos::disco"],[322,"iroh_relay::protos::relay"],[323,"iroh_relay::protos::stun"],[548,"iroh_relay::protos::stun::methods"],[551,"iroh_relay::quic"],[570,"iroh_relay::server"],[866,"iroh_relay::server::CertConfig"],[868,"iroh_relay::server::testing"],[874,"iroh_relay::relay_map"],[875,"core::cmp"],[876,"iroh_base::relay_url"],[877,"iroh_relay::ping_tracker"],[878,"core::time"],[879,"core::result"],[880,"serde::de"],[881,"core::fmt"],[882,"anyhow"],[883,"alloc::sync"],[884,"core::convert"],[885,"core::iter::traits::collect"],[886,"core::option"],[887,"core::iter::traits::iterator"],[888,"serde::ser"],[889,"alloc::string"],[890,"core::any"],[891,"core::ops::function"],[892,"core::marker"],[893,"iroh_relay::client::conn"],[894,"tokio_tungstenite_wasm::error"],[895,"std::io::error"],[896,"core::net::socket_addr"],[897,"rustls::client::client_conn"],[898,"iroh_base::key"],[899,"hickory_resolver::resolver"],[900,"core::pin"],[901,"core::task::wake"],[902,"core::task::poll"],[903,"url"],[904,"governor::state::direct"],[905,"governor::state"],[906,"governor::state::direct::sinks"],[907,"governor::clock::with_std"],[908,"governor::gcra"],[909,"governor::middleware"],[910,"governor::jitter"],[911,"governor::state::direct::streams"],[912,"core::error"],[913,"http::header::value"],[914,"stun_rs::attributes"],[915,"stun_rs::attributes::stun::alternate_server"],[916,"stun_rs::error"],[917,"stun_rs::types"],[918,"stun_rs::attributes::stun::error_code"],[919,"stun_rs::attributes::stun::fingerprint"],[920,"stun_rs::attributes::stun::mapped_address"],[921,"stun_rs::attributes::stun::message_integrity"],[922,"stun_rs::attributes::stun::message_integrity_sha256"],[923,"stun_rs::attributes::stun::nonce"],[924,"stun_rs::attributes::stun::password_algorithm"],[925,"stun_rs::attributes::stun::password_algorithms"],[926,"stun_rs::attributes::stun::realm"],[927,"stun_rs::attributes::stun::software"],[928,"stun_rs::attributes::unknown"],[929,"stun_rs::attributes::stun::unknown_attributes"],[930,"stun_rs::attributes::stun::user_hash"],[931,"stun_rs::attributes::stun::user_name"],[932,"stun_rs::attributes::stun::xor_mapped_address"],[933,"stun_rs::context"],[934,"stun_rs::message"],[935,"core::hash"],[936,"alloc::vec"],[937,"iroh_quinn::endpoint"],[938,"rustls_pki_types"],[939,"iroh_relay::server::metrics"],[940,"core::default"],[941,"iroh_relay::server::resolver"],[942,"rustls::crypto::signer"],[943,"reloadable_core"],[944,"alloc::vec::into_iter"],[945,"rustls::server::server_conn"],[946,"tokio_util::task::abort_on_drop"],[947,"stun_rs"],[948,"stun_rs::methods"]],"i":"`````Affhj3210`210210210101023023`3210321010321022102221110003221103210222`32103210223321030``110`11321021321032103210123210`````DfDj111Dl201`2`02Cl2310DhDnE`5643210636363356432105643210564321055643210555643210564321035643210330`32121202133212120205221635564321056432102056432105643210OhOjOl20`````````Fd0000000000000000000000000``````Hf`0K`10Kh002``22020022212``1`222222Hl33333333303333333Jn3124Kd14235014251425142522112142235014235014235042444222555555555555555514223350014222355555555555555555012142350142350`5555555555555555```2``14252301442350142350142350142350```````L`00000000000000``Ll```0MlNd`0```0`1`````Mf0LhMjLjMnN`42MhM`59:32Nb8Ln:Ld97438<=652:1;019920:97=197=197=19973:974438<=652:1;097438<=652:1;0999997438<=652:1;0====797438<=652:1;0997438<=652:1;09080020974438<=652:1;097438<=652:1;077<9788139799930239474999952400300`897=197438<=652:1;097438<=652:1;097438<=652:1;09997438<=652:1;09OnA@```````","f":"`````{b{{b{c}}}{}}000{{{b{d}}}{{b{dc}}}{}}000`{{{b{f}}}f}{{{b{h}}}h}{{{b{j}}}j}{{b{b{dc}}}l{}}00{{bn}l}00{{{b{h}}{b{h}}}A`}{{{b{j}}{b{j}}}A`}{{b{b{c}}}A`{}}0{{{b{f}}{b{Ab}}}Ad}{{}Af}{{}j}{{AbAh}f}{{{b{Af}}}Aj}`{Al{{b{c}}}{}}000{Al{{b{dc}}}{}}000{c{{An{h}}}B`}{c{{An{j}}}B`}{All}000{{}f}{{{b{f}}{b{f}}}Ad}{{{b{h}}{b{h}}}Ad}{{{b{j}}{b{j}}}Ad}{{b{b{c}}}Ad{}}00000000{{{b{Af}}{b{dBb}}}Bd}{{{b{f}}{b{dBb}}}Bd}0{{{b{h}}{b{dBb}}}Bd}0{{{b{j}}{b{dBb}}}Bd}{cc{}}000{e{{Bf{f}}}{{Bj{{Bh{h}}}}}{{Bn{}{{Bl{c}}}}}}{Abf}{{{b{f}}{b{Ab}}}{{C`{{b{{Bh{h}}}}}}}}`{{}Al}000{{}c{}}000{{{b{f}}}Ad}{{{b{f}}}Al}{AjAf}{{{b{dAf}}}{{Cb{n}}}}{{{b{f}}}{{`{{Cd{}{{Bl{{b{{Bh{h}}}}}}}}}}}}{{{b{h}}{b{h}}}{{C`{A`}}}}{{{b{j}}{b{j}}}{{C`{A`}}}}{{{b{dAf}}{Cb{n}}}l}````{{{b{h}}c}AnCf}{{{b{j}}c}AnCf}```{{{b{dAf}}}l}{bc{}}00{bCh}0{c{{An{e}}}{}{}}000{{}{{An{c}}}{}}000{bCj}000`{{{b{f}}}{{`{{Cd{}{{Bl{{b{Ab}}}}}}}}}}{{}c{}}000```````````````````{{Clc}Cl{{D`{}{{Cn{Ad}}}}DbDd}}{b{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{{b{Ld}}}{{C`{Ef}}}}`{{{b{Ld}}}{{C`{Ab}}}}1`0{{}Al}00{{cAj}{{Bf{{Mh{c}}}}}{Db{Nj{}{{Nf{Nh}}}}}}11111111111{{}c{}}0000000000000``{{{b{Ml}}Nl}Ad}{{{b{Lh}}}{{O`{{Gn{{b{Hb}}{b{Nn}}}}}}}}{{{b{Lj}}}{{O`{{Gn{{b{Hb}}{b{Nn}}}}}}}}````{{}{{b{Hb}}}}0````8```{{{b{{Mh{c}}}}}l{Db{Nj{}{{Nf{Nh}}}}}}`{{{b{{Mh{c}}}}Ob}{{C`{{Bh{Nh}}}}}{{Nj{}{{Nf{Nh}}}}DbMd}}``````{{{Mh{c}}}l{Db{Nj{}{{Nf{Nh}}}}}}{Ld{{Bf{l}}}}{{{M`{ce}}}{{Bf{Ld}}}MdMd}`={{{b{dLd}}}{{b{d{Od{{Bf{l}}}}}}}}``{bc{}}000{c{{An{e}}}{}{}}0000000000000{{}{{An{c}}}{}}0000000000000{bCj}0000000000000``{{}c{}}0000000000000```{{}N`}{{}{{Mj{l}}}}{{}{{Gn{{Kn{Lf}}Of}}}}{{}{{M`{l}}}}{{}Mn}{{}{{Nb{l}}}}","D":"BJn","p":[[1,"reference",null,null,1],[0,"mut"],[5,"RelayMap",0,874],[5,"RelayNode",0,874],[5,"RelayQuicConfig",0,874],[1,"unit"],[1,"u8"],[6,"Ordering",875],[5,"RelayUrl",876],[1,"bool"],[5,"PingTracker",0,877],[1,"u16"],[5,"Duration",878],[1,"usize"],[6,"Result",879,null,1],[10,"Deserializer",880],[5,"Formatter",881],[8,"Result",881],[8,"Result",882],[5,"Arc",883,null,1],[10,"Into",884],[17,"Item"],[10,"IntoIterator",885],[6,"Option",886,null,1],[1,"array"],[10,"Iterator",887],[10,"Serializer",888],[5,"String",889],[5,"TypeId",890],[5,"ClientBuilder",123],[17,"Output"],[10,"Fn",891],[10,"Send",892],[10,"Sync",892],[6,"ReceivedMessage",123,893],[5,"Client",123],[6,"ConnSendError",123,893],[6,"SendMessage",123,893],[5,"ClientSink",123],[5,"ClientStream",123],[6,"Error",894],[5,"Error",895],[6,"SocketAddr",896],[5,"ClientConfig",897],[5,"SecretKey",898],[8,"TokioResolver",899],[5,"Pin",900],[5,"Context",901],[6,"Poll",902],[6,"Protocol",288],[5,"Url",903],[6,"NotKeyed",904],[5,"RateLimiter",905],[5,"RatelimitedSink",906],[10,"DirectStateStore",904],[10,"ReasonablyRealtime",907],[17,"NegativeOutcome"],[5,"NotUntil",908],[10,"RateLimitingMiddleware",909],[5,"Jitter",910],[5,"RatelimitedStream",911],[10,"Error",912],[1,"tuple",null,null,1],[5,"HeaderValue",913],[1,"str"],[1,"slice"],[6,"StunAttribute",323,914],[5,"AlternateServer",915],[5,"StunError",916],[5,"TransactionId",323,917],[5,"ErrorCode",918],[6,"Fingerprint",919],[5,"MappedAddress",920],[6,"MessageIntegrity",921],[6,"MessageIntegritySha256",922],[5,"Nonce",923],[5,"PasswordAlgorithm",924],[5,"PasswordAlgorithms",925],[5,"Realm",926],[5,"Software",927],[5,"Unknown",928],[5,"UnknownAttributes",929],[5,"UserHash",930],[5,"UserName",931],[5,"XorMappedAddress",932],[5,"AttributeType",914],[5,"MessageDecoder",323,933],[6,"MessageClass",323,934],[5,"StunMessage",934],[5,"StunDecodeError",323,916],[5,"Error",881],[6,"Error",323],[5,"DecoderContext",933],[10,"Hasher",935],[5,"Vec",936],[5,"QuicClient",551],[5,"Endpoint",937],[5,"Server",570],[5,"CertificateDer",938],[5,"Metrics",570,939],[5,"StunMetrics",570,939],[6,"Access",570],[5,"ClientRateLimit",570],[5,"ServerConfig",570],[10,"Default",940],[10,"Debug",881],[5,"Limits",570],[5,"ReloadingResolver",570,941],[5,"RelayConfig",570],[6,"AccessConfig",570],[5,"StunConfig",570],[5,"QuicConfig",570],[5,"TlsConfig",570],[6,"CertConfig",570],[17,"Value"],[5,"CertifiedKey",942],[10,"Loader",943],[8,"NodeId",898],[10,"Any",890],[5,"IntoIter",944],[5,"ClientHello",945],[5,"AbortOnDropHandle",946],[5,"ServerConfig",945],[15,"ReceivedPacket",277],[15,"Health",277],[15,"ServerRestarting",277],[15,"Manual",866],[15,"LetsEncrypt",866]],"r":[[0,322],[1,877],[2,874],[3,874],[4,874],[127,893],[137,893],[139,893],[333,934],[334,933],[346,914],[347,916],[349,917],[510,947],[548,948],[549,948],[550,948],[575,941],[581,939],[585,941],[590,939]],"b":[[61,"impl-Debug-for-RelayMap"],[62,"impl-Display-for-RelayMap"],[63,"impl-Display-for-RelayNode"],[64,"impl-Debug-for-RelayNode"],[185,"impl-Display-for-ConnSendError"],[186,"impl-Debug-for-ConnSendError"],[194,"impl-From%3CError%3E-for-ConnSendError"],[195,"impl-From%3CError%3E-for-ConnSendError"],[448,"impl-Debug-for-TransactionId"],[449,"impl-Display-for-TransactionId"],[450,"impl-Debug-for-Error"],[451,"impl-Display-for-Error"],[453,"impl-Display-for-StunDecodeError"],[454,"impl-Debug-for-StunDecodeError"],[457,"impl-From%3C%26%5Bu8;+stun_rs::::types::%7Bimpl%2313%7D::%7Bconstant%230%7D%5D%3E-for-TransactionId"],[458,"impl-From%3C%5Bu8;+stun_rs::::types::%7Bimpl%2314%7D::%7Bconstant%230%7D%5D%3E-for-TransactionId"],[461,"impl-From%3CXorMappedAddress%3E-for-StunAttribute"],[462,"impl-From%3CMappedAddress%3E-for-StunAttribute"],[463,"impl-From%3CUnknown%3E-for-StunAttribute"],[464,"impl-From%3CUserName%3E-for-StunAttribute"],[465,"impl-From%3CSoftware%3E-for-StunAttribute"],[466,"impl-From%3CFingerprint%3E-for-StunAttribute"],[468,"impl-From%3CUnknownAttributes%3E-for-StunAttribute"],[469,"impl-From%3CRealm%3E-for-StunAttribute"],[470,"impl-From%3CUserHash%3E-for-StunAttribute"],[471,"impl-From%3CPasswordAlgorithm%3E-for-StunAttribute"],[472,"impl-From%3CNonce%3E-for-StunAttribute"],[473,"impl-From%3CMessageIntegritySha256%3E-for-StunAttribute"],[474,"impl-From%3CMessageIntegrity%3E-for-StunAttribute"],[475,"impl-From%3CAlternateServer%3E-for-StunAttribute"],[476,"impl-From%3CErrorCode%3E-for-StunAttribute"],[477,"impl-From%3CPasswordAlgorithms%3E-for-StunAttribute"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAABMCMAABAAAABgAHAA8ADAAdAAEAIgANADEAEQBLAAMAWAABAF8AAQBlABAAeAADAJAAEwClABwAwwABAMsABgDfAAcA6QAIAPMAIgAmAQ0ANQEAADgBAwA9AQAAbwEAAHcBGQCSAQAAlAEaAL8BCADKAQEAzgEFANUBCQDhAQYAAgIAAAUCHwAsAgUANAIAADcCAwBYAhsAegILAIcCIACsAhEAvwINAOMCAgDnAgoAAwMBAAkDAQAVAwAAJAMtAFQDDQA=","P":[[5,"T"],[14,""],[17,"T"],[20,""],[25,"K"],[27,""],[33,"T"],[41,"__D"],[43,""],[51,"K"],[60,""],[66,"T"],[70,"I,"],[71,""],[78,"U"],[82,""],[94,"__S"],[99,""],[100,"T"],[103,""],[105,"U,T"],[109,"U"],[113,""],[119,"V"],[142,"S"],[143,"T"],[157,""],[159,"T"],[161,""],[164,"T"],[178,""],[193,"T"],[194,""],[196,"T"],[202,""],[210,"U"],[217,""],[221,""],[222,"Sink::Error"],[226,"Stream::Item"],[228,"Sink::Error"],[230,""],[232,"D,C,MW,Item,S"],[236,"D,C,MW,S"],[240,""],[242,"Sink::Error"],[244,"T"],[246,""],[247,"U,T"],[254,"U"],[261,"S"],[263,""],[270,"V"],[293,"T"],[295,""],[296,"T"],[297,""],[299,"T"],[301,""],[303,"K"],[306,""],[307,"T"],[308,""],[309,"U"],[310,""],[311,"T"],[312,"U,T"],[313,"U"],[314,""],[316,"V"],[321,""],[374,"T"],[386,""],[390,"T"],[394,""],[399,"K"],[400,""],[403,"T"],[405,""],[406,"T"],[416,""],[424,"K"],[430,""],[455,"T"],[457,""],[459,"T"],[461,""],[467,"T"],[468,""],[478,"T"],[479,""],[480,"__H"],[481,""],[487,"U"],[493,""],[516,"T"],[520,""],[523,"U,T"],[524,""],[525,"U,T"],[530,"U"],[536,""],[542,"V"],[555,"T"],[559,""],[561,"T"],[562,""],[564,"U"],[565,""],[566,"U,T"],[567,"U"],[568,""],[569,"V"],[599,"T"],[631,""],[637,"T"],[641,""],[648,"EC,EA"],[649,""],[650,"T"],[653,"Loader,Deref::Target"],[654,"T"],[683,""],[698,"K"],[702,""],[704,"Loader"],[705,"EC,EA"],[707,""],[711,"EC,EA"],[712,""],[714,"EC,EA"],[715,""],[717,"T"],[732,""],[741,"Loader"],[742,""],[753,"U"],[769,""],[786,"Loader"],[796,""],[797,"EC,EA"],[799,""],[803,"T"],[807,"U,T"],[821,"U"],[835,""],[851,"V"],[868,""]]}]]')); +var searchIndex = new Map(JSON.parse('[["bulk",{"t":"HHHHH","n":["collect_and_print","main","run_iroh","run_quinn","run_s2n"],"q":[[0,"bulk"],[5,"core::option"],[6,"struct_iterable_internal"],[7,"iroh_bench"],[8,"anyhow"],[9,"iroh_bench::s2n"]],"i":"`````","f":"{{{d{b}}{f{{d{c}}}}}hj}{{}h}{l{{n{h}}}}0{A`{{n{h}}}}","D":"`","p":[[1,"str"],[1,"reference",null,null,1],[6,"Option",5,null,1],[1,"unit"],[10,"Iterable",6],[5,"Opt",7],[8,"Result",8],[5,"Opt",9]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAAUAAQAAAAUA","P":[[0,""],[1,""]]}],["iroh",{"t":"PPEPGTFIFFEFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNOCCNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNONNNNNCNNONONNNNNNNNNOOCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNN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NNNNNNNNNNNNNNNNFFNNNNNNNNNNNNNNNNNNNNOONONHHHNNNNNNNNNFFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["Decode","DecodeInvalidLength","Endpoint","Key","KeyParsingError","LENGTH","NodeAddr","NodeId","PublicKey","RelayMap","RelayMode","RelayNode","RelayUrl","RelayUrlParseError","SecretKey","__clone_box","","","","","","as_bytes","as_ref","borrow","","","","","","","","","borrow_mut","","","","","","","","clone","","","","","","clone_into","","","","","","clone_to_uninit","","","","","","cmp","","","","compare","","","","contains_node","default_from_node","defaults","deref","","","","","","","","","deref_mut","","","","","","","","deserialize","","","","","direct_addresses","","discovery","dns","drop","","","","","","","","empty","endpoint","eq","","","","","equivalent","","","","","","","","","","","","","","","fmt","","","","","","","","","","","","","","","fmt_short","from","","","","","","","","","","","","","","","","","","","","from_bytes","","from_nodes","from_parts","from_ref","","","","","","from_str","","","from_url","from_z32","generate","get_node","hash","","init","","","","","","","","into","","","","","","","","is_empty","","len","metrics","new","node_id","nodes","partial_cmp","","","","protocol","public","","quic","relay_url","","secret","serialize","","","","","sign","source","","stun_only","stun_port","test_utils","to_bytes","to_owned","","","","","","to_string","","","","","","","to_z32","try_from","","","","","","","","","","","try_into","","","","","","","","type_id","","","","","","","","url","urls","verify","vzip","","","","","","","","watchable","with_direct_addresses","with_relay_url","DEFAULT_HTTPS_PORT","DEFAULT_HTTP_PORT","DEFAULT_METRICS_PORT","DEFAULT_RELAY_QUIC_PORT","DEFAULT_STUN_PORT","prod","staging","AP_RELAY_HOSTNAME","EU_RELAY_HOSTNAME","NA_RELAY_HOSTNAME","default_ap_relay_node","default_eu_relay_node","default_na_relay_node","default_relay_map","EU_RELAY_HOSTNAME","NA_RELAY_HOSTNAME","default_eu_relay_node","default_na_relay_node","default_relay_map","ConcurrentDiscovery","Discovery","DiscoveryItem","__clone_box","add","borrow","","borrow_mut","","clone","clone_into","clone_to_uninit","default","deref","","deref_mut","","dns","drop","","empty","fmt","","from","","","from_ref","from_services","init","","into","","last_updated","local_swarm_discovery","node_addr","pkarr","provenance","publish","","resolve","","static_provider","subscribe","","to_owned","try_from","","try_into","","type_id","","vzip","","DnsDiscovery","N0_DNS_NODE_ORIGIN_PROD","N0_DNS_NODE_ORIGIN_STAGING","borrow","borrow_mut","deref","deref_mut","drop","fmt","from","init","into","n0_dns","new","resolve","try_from","try_into","type_id","vzip","LocalSwarmDiscovery","NAME","borrow","borrow_mut","deref","deref_mut","drop","fmt","from","init","into","new","publish","resolve","subscribe","try_from","try_into","type_id","vzip","DEFAULT_PKARR_TTL","DEFAULT_REPUBLISH_INTERVAL","N0_DNS_PKARR_RELAY_PROD","N0_DNS_PKARR_RELAY_STAGING","PkarrPublisher","PkarrRelayClient","PkarrResolver","__clone_box","","","borrow","","","borrow_mut","","","clone","","","clone_into","","","clone_to_uninit","","","deref","","","deref_mut","","","dht","drop","","","fmt","","","from","","","from_ref","","","init","","","into","","","n0_dns","","new","","","publish","","resolve","","to_owned","","","try_from","","","try_into","","","type_id","","","update_addr_info","vzip","","","with_options","Builder","DhtDiscovery","__clone_box","borrow","","borrow_mut","","build","builder","client","clone","clone_into","clone_to_uninit","default","","deref","","deref_mut","","dht","drop","","fmt","","from","","from_ref","include_direct_addresses","init","","initial_publish_delay","into","","n0_dns_pkarr_relay","pkarr_relay","publish","republish_delay","resolve","secret_key","to_owned","try_from","","try_into","","ttl","type_id","","vzip","","PROVENANCE","StaticProvider","__clone_box","add_node_addr","borrow","borrow_mut","clone","clone_into","clone_to_uninit","default","deref","deref_mut","drop","fmt","from","from_node_addrs","from_ref","get_node_addr","init","into","new","publish","remove_node_addr","resolve","set_node_addr","to_owned","try_from","try_into","type_id","vzip","DnsResolver","N0_DNS_NODE_ORIGIN_PROD","N0_DNS_NODE_ORIGIN_STAGING","__clone_box","borrow","borrow_mut","clear_cache","clone","clone_into","clone_to_uninit","default","deref","deref_mut","drop","fmt","from","","from_ref","init","into","lookup_ipv4","lookup_ipv4_ipv6","lookup_ipv4_ipv6_staggered","lookup_ipv4_staggered","lookup_ipv6","lookup_ipv6_staggered","lookup_node_by_domain_name","lookup_node_by_domain_name_staggered","lookup_node_by_id","lookup_node_by_id_staggered","lookup_txt","new","node_info","resolve_host","to_owned","try_from","try_into","type_id","vzip","with_nameserver","IROH_TXT_NAME","NodeIdExt","NodeInfo","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","deref","deref_mut","direct_addresses","drop","eq","equivalent","","","fmt","from","","","from_pkarr_signed_packet","from_ref","from_txt_lookup","from_z32","init","into","new","node_id","relay_url","to_owned","to_pkarr_signed_packet","to_txt_strings","to_z32","try_from","try_into","type_id","vzip","AEAD_LIMIT_REACHED","APPLICATION_ERROR","Accept","AcceptBi","AcceptUni","AckFrequencyConfig","AeadKey","All","App","ApplicationClose","ApplicationClosed","Builder","CONNECTION_ID_LIMIT_ERROR","CONNECTION_REFUSED","CRYPTO_BUFFER_EXCEEDED","CallMeMaybe","Chunk","CidsExhausted","ClosedStream","","","Connecting","Connection","ConnectionClose","ConnectionClosed","ConnectionError","ConnectionLost","","","","","ConnectionStats","ConnectionType","ControlMsg","Controller","ControllerFactory","CryptoError","CryptoServerConfig","Custom","Default","Direct","DirectAddr","DirectAddrInfo","DirectAddrType","Disabled","","Discovery","ENV_FORCE_STAGING_RELAYS","Endpoint","ExportKeyingMaterialError","FINAL_SIZE_ERROR","FLOW_CONTROL_ERROR","FRAME_ENCODING_ERROR","FinishedEarly","FrameStats","HandshakeTokenKey","INTERNAL_ERROR","INVALID_TOKEN","IllegalOrderedRead","Incoming","IncomingFuture","KEY_UPDATE_ERROR","Local","LocallyClosed","MAX","MAX_SIZE","Mixed","MtuDiscoveryConfig","NO_ERROR","NO_VIABLE_PATH","NamedApp","None","OpenBi","OpenUni","PROTOCOL_VIOLATION","PathSelection","PathStats","Ping","Pong","Portmapped","Read","ReadDatagram","ReadError","","ReadExactError","ReadToEndError","RecvStream","Relay","","RelayMode","RelayOnly","RemoteInfo","Reset","","ResetError","RetryError","STREAM_LIMIT_ERROR","STREAM_STATE_ERROR","Saved","SendDatagramError","SendStream","ServerConfig","Source","Staging","Stopped","StoppedError","StreamId","Stun","Stun4LocalPort","TRANSPORT_PARAMETER_ERROR","TimedOut","TooLarge","TooLong","TransportConfig","TransportError","","TransportErrorCode","Udp","UdpStats","Unknown","UnsupportedByPeer","UnsupportedVersion","VarInt","VersionMismatch","WeakConnectionHandle","WriteError","Written","ZeroRttAccepted","ZeroRttRejected","","","","__clone_box","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","accept","","accept_bi","accept_uni","accept_with","ack_eliciting_threshold","ack_frequency","ack_frequency_config","acks","add_discovery","add_node_addr","add_node_addr_with_source","addr","","addrs","aead_from_hkdf","allow_spin","alpn","","alpns","bind","bind_addr_v4","bind_addr_v6","black_hole_cooldown","black_holes_detected","borrow","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bound_sockets","build","builder","bytes","","","chunks","clear_discovery","clone","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_box","clone_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_to_uninit","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","close","","close_reason","closed","cmp","","","","code","compare","","","","congestion_controller_factory","congestion_events","congestion_state","conn_type","","connect","connect_with","connection_close","crypto","","","crypto_buffer_size","current_mtu","cwnd","data_blocked","datagram","datagram_receive_buffer_size","datagram_send_buffer_size","datagram_send_buffer_space","datagrams","decode","","","default","","","","","","","","","","","","","default_relay_mode","deref","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","deref_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","deserialize","","","","","dir","direct_addresses","discovery","","discovery_dht","discovery_local_network","discovery_n0","dns_resolver","","drop","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","enable_segmentation_offload","encode","","","eq","","","","","","","","","","","","","","","","","","","","","","","","","","","equivalent","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","error_code","","export_keying_material","finish","fmt","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","force_staging_infra","frame","frame_rx","frame_tx","frame_type","from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","from_ref","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","from_u32","from_u64","from_u64_unchecked","handshake_data","","handshake_done","has_send_address","hash","","","","","home_relay","id","","ignore","immediate_ack","incoming_buffer_size","incoming_buffer_size_total","index","init","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","initial_keys","initial_mtu","initial_rtt","initial_window","initiator","insecure_skip_relay_cert_verify","interval","into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","into_0rtt","into_any","into_future","","","","","","","","","","into_incoming","into_inner","ios","is_0rtt","is_alive","is_closed","keep_alive_interval","keylog","known_nodes","last_alive","last_control","last_payload","last_received","last_used","latency","","local_ip","lost_bytes","lost_packets","lost_plpmtud_probes","make_server_config","max_ack_delay","max_concurrent_bidi_streams","max_concurrent_uni_streams","max_data","max_datagram_size","max_idle_timeout","max_incoming","max_stream_data","max_streams_bidi","max_streams_uni","migration","min_mtu","minimum_change","mtu_discovery_config","network_change","network_path_changed","new","","new_connection_id","new_token","node_addr","node_id","","observed_addr","offset","on_ack","on_congestion_event","on_end_acks","on_mtu_update","on_sent","open","open_bi","open_uni","packet_threshold","partial_cmp","","","","path","path_challenge","path_response","path_selection","peer_identity","persistent_congestion_threshold","ping","poll","","","","","","","","","poll_flush","poll_read","","poll_shutdown","poll_write","","preferred_address_v4","preferred_address_v6","priority","proxy_from_env","proxy_url","read","read_chunk","read_chunks","read_datagram","read_exact","read_to_end","reason","","","receive_observed_address_reports","receive_window","received_reset","refuse","relay_map","relay_mode","relay_url","remote_address","remote_address_validated","remote_info","remote_info_iter","remote_node_id","reordering_threshold","reset","reset_stream","retire_connection_id","retry","retry_tag","retry_token_lifetime","rtt","","saturating_add","seal","secret_key","","send_datagram","send_fairness","send_observed_address_reports","send_window","sent_packets","sent_plpmtud_probes","serialize","","","","","set_alpns","set_max_concurrent_bi_streams","set_max_concurrent_uni_streams","set_priority","set_receive_window","source","","","","","","","","sources","","stable_id","start_session","stats","stop","stop_sending","stopped","stream","stream_data_blocked","stream_receive_window","streams_blocked_bidi","streams_blocked_uni","time_source","time_threshold","to_owned","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","to_string","","","","","","","","","","","","","","","","","","","","token_key","transport","transport_config","","try_from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_poll","","","","","","","typ","type_id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","udp_rx","udp_tx","upper_bound","validation_token","validation_token_config","vzip","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","window","with_crypto","with_single_cert","write","write_all","write_all_chunks","write_chunk","write_chunks","name","","MagicsockMetrics","NetReportMetrics","PortmapMetrics","RelayMetrics","__clone_box","","","","accepts","actor_link_change","actor_tick_direct_addr_heartbeat","actor_tick_direct_addr_update_receiver","actor_tick_main","actor_tick_msg","actor_tick_other","actor_tick_portmap_changed","actor_tick_re_stun","borrow","","","","borrow_mut","","","","bytes_recv","bytes_sent","clone","","","","clone_into","","","","clone_to_uninit","","","","connection_became_direct","connection_handshake_success","conns_rx_ratelimited_total","default","","","","deref","","","","deref_mut","","","","disco_packets_dropped","disco_packets_recv","disco_packets_sent","disconnects","drop","","","","external_address_updated","fmt","","","","frames_rx_ratelimited_total","from","","","","from_ref","","","","got_ping","init","","","","into","","","","iter","","","","local_port_updates","mapping_attempts","mapping_failures","name","","","","nodes_contacted","nodes_contacted_directly","num_direct_conns_added","num_direct_conns_removed","num_relay_conns_added","num_relay_conns_removed","other_packets_dropped","other_packets_recv","other_packets_sent","pcp_available","pcp_probes","probes_started","re_stun_calls","recv_data_ipv4","recv_data_ipv6","recv_data_relay","recv_datagrams","recv_disco_bad_key","recv_disco_bad_parse","recv_disco_call_me_maybe","recv_disco_call_me_maybe_bad_disco","recv_disco_ping","recv_disco_pong","recv_disco_relay","recv_disco_udp","recv_gro_datagrams","relay_accepts","relay_home_change","reports","reports_full","send_data","send_data_network_down","send_disco_relay","send_disco_udp","send_ipv4","send_ipv6","send_packets_dropped","send_packets_recv","send_packets_sent","send_relay","send_relay_error","sent_disco_call_me_maybe","sent_disco_ping","sent_disco_pong","sent_disco_relay","sent_disco_udp","sent_pong","stun_packets_dropped","stun_packets_recv_ipv4","stun_packets_recv_ipv6","stun_packets_sent_ipv4","stun_packets_sent_ipv6","to_owned","","","","try_from","","","","try_into","","","","type_id","","","","unique_client_keys","unknown_frames","update_direct_addrs","upnp_available","upnp_gateway_updated","upnp_probes","upnp_probes_failed","vzip","","","","websocket_accepts","ProtocolHandler","Router","RouterBuilder","__clone_box","accept","","borrow","","borrow_mut","","builder","clone","clone_into","clone_to_uninit","deref","","deref_mut","","drop","","endpoint","","fmt","","from","","from_ref","init","","into","","is_shutdown","new","shutdown","","spawn","to_owned","try_from","","try_into","","type_id","","vzip","","CleanupDropGuard","DnsPkarrServer","borrow","","borrow_mut","","deref","","deref_mut","","discovery","dns_resolver","drop","","fmt","","from","","init","","into","","nameserver","node_origin","on_node","pkarr_url","run","run_relay_server","run_relay_server_with","run_relay_server_with_stun","run_with_origin","try_from","","try_into","","type_id","","vzip","","Disconnected","WatchInitializedFut","WatchNextFut","Watchable","Watcher","WatcherStream","__clone_box","","","borrow","","","","","","borrow_mut","","","","","","clone","","","clone_into","","","clone_to_uninit","","","default","deref","","","","","","deref_mut","","","","","","drop","","","","","","fmt","","","","","","","from","","","","","","from_ref","","","get","","init","","","","","","initialized","into","","","","","","into_future","","new","poll","","poll_next","ratelimit_stream","ratelimit_stream_with_jitter","set","stream","stream_updates_only","to_owned","","","to_string","try_from","","","","","","try_into","","","","","","try_poll","","try_poll_next","type_id","","","","","","updated","vzip","","","","","","watch"],"q":[[0,"iroh"],[281,"iroh::defaults"],[288,"iroh::defaults::prod"],[295,"iroh::defaults::staging"],[300,"iroh::discovery"],[353,"iroh::discovery::dns"],[372,"iroh::discovery::local_swarm_discovery"],[391,"iroh::discovery::pkarr"],[467,"iroh::discovery::pkarr::dht"],[516,"iroh::discovery::static_provider"],[546,"iroh::dns"],[586,"iroh::dns::node_info"],[624,"iroh::endpoint"],[2166,"iroh::endpoint::Source"],[2168,"iroh::metrics"],[2344,"iroh::protocol"],[2389,"iroh::test_utils"],[2428,"iroh::watchable"],[2552,"dyn_clone::sealed"],[2553,"iroh_base::key"],[2554,"iroh_base::node_addr"],[2555,"iroh_base::relay_url"],[2556,"iroh_relay::relay_map"],[2557,"core::cmp"],[2558,"core::result"],[2559,"serde::de"],[2560,"core::net::socket_addr"],[2561,"core::iter::traits::iterator"],[2562,"core::fmt"],[2563,"alloc::string"],[2564,"ed25519_dalek::verifying"],[2565,"data_encoding"],[2566,"signature::error"],[2567,"ed25519_dalek::signing"],[2568,"iroh::magicsock::node_map::node_state"],[2569,"iroh_relay::dns::node_info"],[2570,"iroh_base::ticket::node"],[2571,"core::option"],[2572,"url"],[2573,"url::parser"],[2574,"anyhow"],[2575,"alloc::sync"],[2576,"core::convert"],[2577,"core::iter::traits::collect"],[2578,"rand_core"],[2579,"core::hash"],[2580,"serde::ser"],[2581,"ed25519"],[2582,"core::error"],[2583,"core::any"],[2584,"alloc::boxed"],[2585,"alloc::vec"],[2586,"alloc::collections::btree::set"],[2587,"futures_lite::stream"],[2588,"pkarr::signed_packet"],[2589,"core::time"],[2590,"pkarr::client"],[2591,"iroh_relay::dns"],[2592,"hickory_proto::runtime::tokio_runtime"],[2593,"hickory_resolver::name_server::connection_provider"],[2594,"hickory_resolver::resolver"],[2595,"core::net::ip_addr"],[2596,"iroh_quinn_proto::connection"],[2597,"iroh_quinn::connection"],[2598,"iroh_quinn_proto::config"],[2599,"iroh_quinn_proto::config::transport"],[2600,"iroh_quinn_proto::varint"],[2601,"core::ops::function"],[2602,"core::marker"],[2603,"iroh_quinn_proto::crypto"],[2604,"iroh_quinn_proto::congestion"],[2605,"std::time"],[2606,"iroh_quinn::recv_stream"],[2607,"iroh_quinn::send_stream"],[2608,"iroh_quinn_proto::connection::stats"],[2609,"iroh_quinn_proto::connection::streams::send"],[2610,"iroh::magicsock::node_map"],[2611,"iroh_quinn_proto::connection::streams"],[2612,"iroh_quinn_proto::frame"],[2613,"iroh::magicsock"],[2614,"iroh_quinn_proto"],[2615,"iroh_quinn_proto::coding"],[2616,"bytes::buf::buf_impl"],[2617,"bytes::buf::buf_mut"],[2618,"iroh_quinn_proto::connection::assembler"],[2619,"iroh_quinn::incoming"],[2620,"iroh_quinn_proto::connection::streams::recv"],[2621,"ring::error"],[2622,"iroh_quinn_proto::transport_parameters"],[2623,"iroh_quinn_proto::shared"],[2624,"iroh_quinn_proto::connection::paths"],[2625,"core::pin"],[2626,"core::task::wake"],[2627,"core::task::poll"],[2628,"std::io::error"],[2629,"tokio::io::read_buf"],[2630,"bytes::bytes"],[2631,"rustls_pki_types"],[2632,"rustls::error"],[2633,"alloc::vec::into_iter"],[2634,"futures_lite::future"],[2635,"iroh::test_utils::dns_and_pkarr_servers"],[2636,"iroh_relay::server"],[2637,"core::clone"],[2638,"core::default"],[2639,"governor::state::direct"],[2640,"governor::state"],[2641,"governor::state::direct::streams"],[2642,"governor::clock::with_std"],[2643,"governor::middleware"],[2644,"governor::jitter"],[2645,"iroh_relay::defaults"]],"i":"Cb0`0`h`````````0AbAdAfAhAj55556432Cd21675430216543216543216543216431643122`675433021675430216543144``675430212`6432166644433322211166775543300221166677755544444433002165246543216532652636754302167543021422`4426431`6514456543157011`56543216753021666675543021675430216754302112667543021`44``````````````````````FhFd101011101010`100101001010101`1`1Ff101`01221212121```Gj000000000000000``Gl0000000000000000```````GnH`Hb210210210210210210210`21021021021021021021210201021021021021022102``Hl0Hj10010111101010010101010100100010101101001010I``0000000000000000000000000000```Ib0000000000000000000000000000`0000000```Db00000000000000000000Jf1111111101111A@`0`````A@hOf`Jn`333Nf`1`MlNb```3`Mh2Mn2Nd```````A@j0Nj```419```;;;N```<<7``><3``>``::1Mj``3```4=`>`:<``??=````59``22?<80``<`=`28``<````:79680:73961;NhD`6NlNnO`ObOdOfOhJnKhM`KfOjOlOnA@`A@bA@dA@fA@hGbK`A@j2Jj220>NnKl1Kn66Nh;D`Lh4Jl94444M`O`ACnADhADfKdKbAE`AAnMhAB`AAdMjMlMnN`AAfNbNdKlKjAAjNfNhD`NjNlNnO`ObOdOfOhJnKhM`KfAAlABbABdOjOlOnA@`A@bA@dA@fA@hKnGbJhJjABfJlK`A@jACnADhADfKdKbAE`AAnMhAB`AAdMjMlMnN`AAfNbNdKlKjAAjNfNhD`NjNlNnO`ObOdOfOhJnKhM`KfAAlABbABdOjOlOnA@`A@bA@dA@fA@hKnGbJhJjABfJlK`A@j6Mb7AAjNlOd0;MhMjMlMnN`NbNdKjNfNhD`Nj=NnO`Ob?OfOhJnKhM`KfOjOlOnA@`A@bA@dA@fA@hGbK`A@jMfMhMjMlMnN`NbNdKjN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{Fl{AEl}}}}{{{b{K`}}}Ob}{{{b{A`AAd}}Kj}{{Bd{fOh}}}}`{{{b{A`AAf}}}{{Bd{{Df{Kj}}Nd}}}}``{{{b{A`Kl}}Kj}{{b{A`Kl}}}}``{{{b{A`Kf}}{E`{AEn}}}{{b{A`Kf}}}}{{{b{A`Kl}}AF`}{{b{A`Kl}}}}{bc{}}000000000000000000000000000000000{bCf}0000000000000000000{{{b{A`Kf}}{E`{Lh}}}{{b{A`Kf}}}}`{{{b{A`Kf}}{E`{Kl}}}{{b{A`Kf}}}}{{KnKl}Kn}{c{{Bd{e}}}{}{}}000000000000000000{Bb{{Bd{KjACb}}}}{AFb{{Bd{KjACb}}}}{In{{Bd{KjACb}}}}33333333333333333333333333333333333{{}{{Bd{c}}}{}}00000000000000000000000000000000000000000000000000000{{{ADj{{b{A`c}}}}{b{A`ADl}}}ADn{}}000000`{bFb}00000000000000000000000000000000000000000000000000000``{{{b{A`M`}}B`}{{b{A`M`}}}}`{{{b{A`Kf}}AFd}{{b{A`Kf}}}}{{}c{}}00000000000000000000000000000000000000000000000000000{{{b{Mf}}}In}{{{E`{ACf}}}Kf}{{{Fn{AFf}}AFh}{{Bd{KfAFj}}}}{{{b{A`AAf}}{b{{n{j}}}}}{{Bd{BbNb}}}}{{{b{A`AAf}}{b{{n{j}}}}}{{Bd{fNb}}}}{{{b{A`AAf}}{b{A`{n{AEh}}}}}{{Bd{fNb}}}}{{{b{A`AAf}}AEh}{{Bd{fNb}}}}{{{b{A`AAf}}{b{A`{n{AEh}}}}}{{Bd{OdNb}}}}``````{{bd}f}000`````````{b{{b{c}}}{}}000{{{b{A`}}}{{b{A`c}}}{}}000``{{{b{AFl}}}AFl}{{{b{AFn}}}AFn}{{{b{AG`}}}AG`}{{{b{AGb}}}AGb}{{b{b{A`c}}}f{}}000{{bj}f}000```{{}AFl}{{}AFn}{{}AG`}{{}AGb}{Bb{{b{c}}}{}}000{Bb{{b{A`c}}}{}}000````{Bbf}000`{{{b{AFl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{}}{{{b{{AIl{AIjceg}}}}AJf}{{AIn{iceg}}}AJ`AJbAJd{}}{{{b{{AHh{c}}}}c}{{Bd{cc}}}{AHjAIh}}{{{A@l{c}}}{{AHl{c}}}{AHjAIh}}0{bc{}}00{bCf}{c{{Bd{e}}}{}{}}00000{{}{{Bd{c}}}{}}00000{{{ADj{{b{A`c}}}}{b{A`ADl}}}ADn{}}0{{{ADj{{b{A`c}}}}{b{A`ADl}}}{{ADn{{Df{Bd}}}}}{}}{bFb}00000{{{b{A`{A@l{c}}}}}{{AIb{c}}}{AHjAIh}}{{}c{}}00000{{{b{{AHh{c}}}}}{{A@l{c}}}{AHjAIh}}","D":"FBb","p":[[1,"reference",null,null,1],[5,"Private",2552],[1,"unit"],[5,"PublicKey",0,2553],[1,"u8"],[1,"array"],[1,"slice"],[0,"mut"],[5,"SecretKey",0,2553],[5,"NodeAddr",0,2554],[5,"RelayUrl",0,2555],[5,"RelayMap",0,2556],[5,"RelayNode",0,2556],[6,"Ordering",2557],[1,"bool"],[1,"u16"],[1,"usize"],[6,"Result",2558,null,1],[10,"Deserializer",2559],[17,"Item"],[6,"SocketAddr",2560],[10,"Iterator",2561],[5,"Formatter",2562],[5,"Error",2562],[6,"KeyParsingError",0,2553],[5,"RelayUrlParseError",0,2555],[5,"String",2563],[5,"VerifyingKey",2564],[5,"DecodeError",2565],[5,"Error",2566],[5,"SigningKey",2567],[5,"RemoteInfo",624,2568],[5,"NodeInfo",586,2569],[5,"NodeTicket",2570],[6,"Option",2571,null,1],[1,"tuple",null,null,1],[5,"Url",2572],[6,"ParseError",2573],[5,"Error",2574],[5,"Arc",2575,null,1],[10,"Into",2576],[10,"IntoIterator",2577],[1,"str"],[10,"CryptoRngCore",2578],[10,"Hasher",2579],[10,"Serializer",2580],[5,"Signature",2581],[10,"Error",2582],[5,"TypeId",2583],[5,"ConcurrentDiscovery",300],[10,"Discovery",300],[5,"DiscoveryItem",300],[8,"Result",2562],[5,"Box",2584,null,1],[5,"Vec",2585],[5,"BTreeSet",2586],[5,"Endpoint",624],[8,"NodeId",0,2553],[8,"Result",2574],[8,"Boxed",2587],[5,"DnsDiscovery",353],[5,"LocalSwarmDiscovery",372],[5,"PkarrPublisher",391],[5,"PkarrResolver",391],[5,"PkarrRelayClient",391],[5,"SignedPacket",2588],[1,"u32"],[5,"Duration",2589],[5,"Builder",467],[5,"DhtDiscovery",467],[5,"PkarrClient",2590],[5,"StaticProvider",516],[5,"DnsResolver",546,2591],[5,"TokioRuntimeProvider",2592],[5,"GenericConnector",2593],[5,"Resolver",2594],[6,"IpAddr",2595],[10,"ToString",2563],[1,"u64"],[5,"TxtLookup",2591],[6,"IrohAttr",2569],[5,"TxtAttrs",2569],[10,"NodeIdExt",586,2569],[5,"Accept",624],[5,"Incoming",624],[5,"Connecting",624],[6,"ConnectionError",624,2596],[5,"Connection",624],[5,"AcceptBi",624,2597],[5,"AcceptUni",624,2597],[5,"ServerConfig",624,2598],[5,"AckFrequencyConfig",624,2599],[5,"VarInt",624,2600],[5,"TransportConfig",624,2599],[5,"Builder",624],[17,"Output"],[10,"FnOnce",2601],[10,"Send",2602],[10,"Sync",2602],[10,"HandshakeTokenKey",624,2603],[10,"AeadKey",624,2603],[5,"SocketAddrV4",2560],[5,"SocketAddrV6",2560],[5,"MtuDiscoveryConfig",624,2599],[10,"ControllerFactory",624,2604],[5,"Instant",2605],[10,"Controller",624,2604],[6,"SendDatagramError",624,2597],[6,"ReadToEndError",624,2606],[6,"ReadError",624,2606],[6,"ResetError",624,2606],[6,"ReadExactError",624,2606],[6,"WriteError",624,2607],[6,"StoppedError",624,2607],[6,"ControlMsg",624,2568],[5,"DirectAddrInfo",624,2568],[6,"ConnectionType",624,2568],[5,"UdpStats",624,2608],[5,"FrameStats",624,2608],[5,"PathStats",624,2608],[5,"ConnectionStats",624,2608],[5,"Written",624,2609],[6,"Source",624,2610],[5,"ClosedStream",624,2611],[5,"ConnectionClose",624,2612],[5,"ApplicationClose",624,2612],[5,"TransportError",624],[5,"TransportErrorCode",624],[5,"DirectAddr",624,2613],[6,"DirectAddrType",624,2613],[5,"StreamId",624,2614],[6,"PathSelection",624],[6,"RelayMode",624],[5,"Watcher",2428],[5,"UnexpectedEnd",2615],[10,"Buf",2616],[6,"Dir",2614],[5,"RecvStream",624,2606],[5,"SendStream",624,2607],[10,"BufMut",2617],[5,"Chunk",624,2618],[5,"ExportKeyingMaterialError",624,2603],[5,"WeakConnectionHandle",624,2597],[5,"RetryError",624,2619],[5,"CryptoError",624,2603],[5,"UnsupportedVersion",624,2603],[5,"IncomingFuture",624],[6,"ReadableError",2620],[6,"Close",2612],[5,"Unspecified",2621],[5,"InvalidFrame",2612],[6,"Error",2622],[5,"VarIntBoundsExceeded",2600],[10,"Any",2583],[10,"CryptoServerConfig",624],[5,"ConnectionId",2623],[5,"Keys",2603],[6,"Side",2614],[5,"ZeroRttAccepted",624,2597],[5,"Incoming",2619],[5,"IdleTimeout",2599],[5,"RttEstimator",2624],[5,"OpenBi",624,2597],[5,"OpenUni",624,2597],[5,"Pin",2625],[5,"Context",2626],[6,"Poll",2627],[5,"ReadDatagram",624,2597],[5,"Error",2628],[5,"ReadBuf",2629],[1,"i32"],[5,"Bytes",2630],[5,"TransportParameters",2622],[10,"Session",2603],[10,"TimeSource",2598],[1,"f32"],[1,"u128"],[5,"ValidationTokenConfig",2598],[5,"CertificateDer",2631],[6,"PrivateKeyDer",2631],[6,"Error",2632],[5,"PortmapMetrics",2168],[5,"NetReportMetrics",2168],[5,"MagicsockMetrics",2168],[5,"RelayMetrics",2168],[5,"IntoIter",2633],[10,"ProtocolHandler",2344],[8,"Boxed",2634],[5,"RouterBuilder",2344],[10,"AsRef",2576],[5,"Router",2344],[5,"DnsPkarrServer",2389,2635],[5,"CleanupDropGuard",2389],[5,"Server",2636],[5,"StunConfig",2636],[5,"Watchable",2428],[10,"Clone",2637],[5,"WatcherStream",2428],[10,"Default",2638],[10,"Debug",2562],[5,"WatchNextFut",2428],[5,"WatchInitializedFut",2428],[5,"Disconnected",2428],[10,"Eq",2557],[6,"NotKeyed",2639],[5,"RateLimiter",2640],[5,"RatelimitedStream",2641],[10,"DirectStateStore",2639],[10,"ReasonablyRealtime",2642],[10,"RateLimitingMiddleware",2643],[5,"Jitter",2644],[15,"Discovery",2166],[15,"NamedApp",2166]],"r":[[2,624],[4,2553],[6,2554],[7,2553],[8,2553],[9,2556],[10,624],[11,2556],[12,2555],[13,2555],[14,2553],[284,2645],[285,2645],[354,2591],[355,2591],[546,2591],[547,2591],[548,2591],[578,2591],[586,2569],[587,2569],[588,2569],[627,2597],[628,2597],[629,2599],[630,2603],[633,2612],[640,2618],[642,2611],[647,2612],[649,2596],[655,2608],[656,2568],[657,2568],[658,2604],[659,2604],[660,2603],[665,2613],[666,2568],[667,2613],[673,2603],[678,2608],[679,2603],[691,2599],[696,2597],[697,2597],[700,2608],[705,2597],[706,2606],[708,2606],[709,2606],[710,2606],[715,2568],[718,2606],[719,2619],[723,2597],[724,2607],[725,2598],[726,2610],[729,2607],[730,2614],[737,2599],[742,2608],[745,2603],[746,2600],[748,2597],[749,2607],[750,2609],[751,2597],[2390,2635]],"b":[[125,"impl-Display-for-PublicKey"],[126,"impl-Debug-for-PublicKey"],[127,"impl-Debug-for-KeyParsingError"],[128,"impl-Display-for-KeyParsingError"],[129,"impl-Display-for-SecretKey"],[130,"impl-Debug-for-SecretKey"],[132,"impl-Display-for-RelayUrl"],[133,"impl-Debug-for-RelayUrl"],[134,"impl-Display-for-RelayUrlParseError"],[135,"impl-Debug-for-RelayUrlParseError"],[136,"impl-Display-for-RelayMap"],[137,"impl-Debug-for-RelayMap"],[138,"impl-Debug-for-RelayNode"],[139,"impl-Display-for-RelayNode"],[144,"impl-From%3CDecodeError%3E-for-KeyParsingError"],[145,"impl-From%3CError%3E-for-KeyParsingError"],[147,"impl-From%3CSigningKey%3E-for-SecretKey"],[148,"impl-From%3C%5Bu8;+32%5D%3E-for-SecretKey"],[149,"impl-From%3CRemoteInfo%3E-for-NodeAddr"],[150,"impl-From%3CNodeInfo%3E-for-NodeAddr"],[152,"impl-From%3CNodeTicket%3E-for-NodeAddr"],[153,"impl-From%3CPublicKey%3E-for-NodeAddr"],[154,"impl-From%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[241,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey"],[242,"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey"],[605,"impl-From%3CTxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[606,"impl-From%3C%26TxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[1379,"impl-Display-for-SendDatagramError"],[1380,"impl-Debug-for-SendDatagramError"],[1381,"impl-Display-for-RetryError"],[1382,"impl-Debug-for-RetryError"],[1384,"impl-Debug-for-ReadToEndError"],[1385,"impl-Display-for-ReadToEndError"],[1386,"impl-Debug-for-ReadError"],[1387,"impl-Display-for-ReadError"],[1388,"impl-Debug-for-ResetError"],[1389,"impl-Display-for-ResetError"],[1390,"impl-Display-for-ReadExactError"],[1391,"impl-Debug-for-ReadExactError"],[1393,"impl-Debug-for-WriteError"],[1394,"impl-Display-for-WriteError"],[1395,"impl-Display-for-StoppedError"],[1396,"impl-Debug-for-StoppedError"],[1398,"impl-Display-for-VarInt"],[1399,"impl-Debug-for-VarInt"],[1401,"impl-Debug-for-ControlMsg"],[1402,"impl-Display-for-ControlMsg"],[1405,"impl-Debug-for-ConnectionType"],[1406,"impl-Display-for-ConnectionType"],[1412,"impl-Display-for-Source"],[1413,"impl-Debug-for-Source"],[1414,"impl-Display-for-ClosedStream"],[1415,"impl-Debug-for-ClosedStream"],[1416,"impl-Display-for-ConnectionError"],[1417,"impl-Debug-for-ConnectionError"],[1424,"impl-Debug-for-ConnectionClose"],[1425,"impl-Display-for-ConnectionClose"],[1426,"impl-Debug-for-ApplicationClose"],[1427,"impl-Display-for-ApplicationClose"],[1428,"impl-Display-for-TransportError"],[1429,"impl-Debug-for-TransportError"],[1430,"impl-Display-for-TransportErrorCode"],[1431,"impl-Debug-for-TransportErrorCode"],[1433,"impl-Debug-for-DirectAddrType"],[1434,"impl-Display-for-DirectAddrType"],[1435,"impl-Debug-for-StreamId"],[1436,"impl-Display-for-StreamId"],[1465,"impl-From%3CConnectionError%3E-for-ReadError"],[1466,"impl-From%3CReadableError%3E-for-ReadError"],[1467,"impl-From%3CResetError%3E-for-ReadError"],[1473,"impl-From%3CStoppedError%3E-for-WriteError"],[1474,"impl-From%3CConnectionError%3E-for-WriteError"],[1476,"impl-From%3CClosedStream%3E-for-WriteError"],[1480,"impl-From%3Cu8%3E-for-VarInt"],[1481,"impl-From%3Cu32%3E-for-VarInt"],[1482,"impl-From%3CStreamId%3E-for-VarInt"],[1484,"impl-From%3Cu16%3E-for-VarInt"],[1497,"impl-From%3CTransportError%3E-for-ConnectionError"],[1499,"impl-From%3CClose%3E-for-ConnectionError"],[1510,"impl-From%3CInvalidFrame%3E-for-TransportError"],[1512,"impl-From%3CTransportErrorCode%3E-for-TransportError"],[1513,"impl-From%3CError%3E-for-TransportError"],[1785,"impl-RecvStream"],[1786,"impl-AsyncRead-for-RecvStream"],[1788,"impl-SendStream"],[1789,"impl-AsyncWrite-for-SendStream"],[1945,"impl-TryFrom%3Cusize%3E-for-VarInt"],[1946,"impl-TryFrom%3Cu128%3E-for-VarInt"],[1947,"impl-TryFrom%3Cu64%3E-for-VarInt"],[2482,"impl-Display-for-Disconnected"],[2483,"impl-Debug-for-Disconnected"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAOcGoAADAAAACwAAABAABQAXACsARgAVAGAABwBqACIAjgAAAJEAAQCUAAMAmgABAJ0AAACfAAAApgAIALAAAACzAAkAzAADANcABADdAAEA4wAoAA8BBwAwAQAAMgELAD8BAQBCAQEARQEAAEcBAABJAQEAUwEAAFUBAABYAQkAZQEFAGwBAABwAQQAdwEFAH4BAACBAQYAjwEXAKgBBQCxAQUAvwEAAMEBAADDAQsA0AECANYBBADeAQgA6AEDAO4BAADwAQEA9wEAAPkBAAD7AQQAAQIDAAcCAAAJAgkAFQIAABcCAAAaAgAAHAIAAB4CBAAmAgIAKgIIADQCAQBFAgQATgIHAFcCBQBeAgEAYQIAAGQCAABpAgAAbQIDAPUCIQAdAwAAHwMAADADawCkAyEAxwNDAA8EAwAUBAMAHwQAACEEAAAmBAEALAQPAD0EcAC3BDcA8ARuAGMFQwC0BQAAtwUAALoFAgC+BQEAwgUBAMUFAADHBQAAyQUCAM0FAADaBQAA3AUAAOEFAADkBQAA5wUAAOkFAQDvBQAA+QUhACAGAAAiBgQAKwYAAC8GNQCkBgkAxgYAAMoGAgDVBgEA2gYAAOUGAwDqBgEA7wYKAPsGAQD+BgAAGwcBACwHBAA2BwcARAcAAEYHAQBJBwEATQc1AIcHEgCdB18A/gc1ADkINQB9CAMAgggPAJQICwCjCAsAswgIAMEIAwDGCAMAzggKAOIIBgDqCAcA9AgIAAAJBgAICRQAHwkIACwJAAAvCQMANAkIAD8JAQBDCQIATQkIAFgJBwBiCQMAaAkBAHUJBwCDCTEAuwkCAMAJBQDNCQEA0AkEANgJGADyCQUA","P":[[23,"T"],[24,""],[25,"T"],[40,""],[46,"T"],[52,""],[62,"K"],[66,""],[69,"T"],[74,""],[75,"T"],[86,"D"],[88,"__D"],[91,""],[110,"K"],[125,""],[142,"T"],[144,""],[146,"T"],[147,""],[151,"T"],[152,""],[155,"T"],[156,""],[157,"T"],[158,""],[159,"T"],[161,""],[163,"I,"],[164,""],[165,"T"],[171,""],[176,"R"],[177,""],[178,"H"],[179,"__H"],[180,""],[188,"U"],[196,""],[214,"S"],[216,"__S"],[219,""],[226,"T"],[232,""],[240,"U,T"],[241,""],[243,"U,T"],[245,""],[246,"U,T"],[251,"U"],[259,""],[270,"V"],[279,""],[280,""],[304,""],[305,"T"],[309,""],[310,"T"],[311,""],[313,"T"],[318,""],[323,"T"],[327,""],[330,"U"],[337,""],[344,"T"],[345,"U,T"],[347,"U"],[349,""],[351,"V"],[356,"T"],[360,""],[362,"T"],[363,""],[364,"U"],[365,""],[368,"U,T"],[369,"U"],[370,""],[371,"V"],[374,"T"],[378,""],[380,"T"],[381,""],[382,"U"],[383,""],[387,"U,T"],[388,"U"],[389,""],[390,"V"],[398,""],[401,"T"],[407,""],[410,"T"],[413,""],[416,"T"],[423,""],[429,"T"],[435,""],[438,"U"],[441,""],[450,"T"],[453,"U,T"],[456,"U"],[459,""],[463,"V"],[466,""],[470,"T"],[474,""],[478,"T"],[479,""],[482,"T"],[486,""],[491,"T"],[494,""],[498,"U"],[500,""],[506,"T"],[507,"U,T"],[509,"U"],[511,""],[514,"V"],[518,""],[519,""],[520,"T"],[522,""],[523,"T"],[524,""],[526,"T"],[528,""],[530,"T"],[531,","],[532,"T"],[533,""],[535,"U"],[536,""],[540,""],[541,"T"],[542,"U,T"],[543,"U"],[544,""],[545,"V"],[549,""],[550,"T"],[552,""],[554,"T"],[555,""],[557,"T"],[559,""],[562,"T"],[564,""],[565,"U"],[566,""],[572,""],[576,""],[577,""],[580,"T"],[581,"U,T"],[582,"U"],[583,""],[584,"V"],[585,""],[590,"T"],[592,""],[593,"T"],[594,""],[595,"T"],[598,""],[600,"K"],[603,""],[604,"T"],[605,""],[608,"T"],[609,""],[612,"U"],[613,""],[616,"T"],[617,""],[620,"U,T"],[621,"U"],[622,""],[623,"V"],[756,""],[799,"D,F"],[800,""],[815,"T"],[923,""],[966,"T"],[1000,""],[1043,"K"],[1047,""],[1052,""],[1055,""],[1067,"B"],[1070,""],[1084,"T"],[1192,"__D"],[1197,""],[1263,"B"],[1266,""],[1293,"K"],[1376,""],[1451,"T"],[1459,""],[1460,"T"],[1462,""],[1463,"T"],[1465,""],[1468,"T"],[1469,""],[1471,"T"],[1473,""],[1475,"T"],[1476,""],[1477,"T"],[1478,""],[1479,"T"],[1480,""],[1483,"T"],[1484,""],[1485,"T"],[1497,""],[1498,"T"],[1499,""],[1500,"T"],[1504,""],[1505,"T"],[1507,""],[1508,"T"],[1510,""],[1511,"T"],[1512,""],[1514,"T"],[1518,""],[1519,"T"],[1562,""],[1569,"__H"],[1574,""],[1643,"U"],[1697,""],[1706,"IntoFuture::IntoFuture"],[1707,""],[1781,"Future::Output"],[1784,""],[1825,""],[1826,""],[1835,"__S"],[1840,""],[1868,"T"],[1902,""],[1926,"U,T"],[1945,""],[1948,"U,T"],[1983,"U"],[2037,"F"],[2045,""],[2104,"V"],[2158,""],[2185,"T"],[2195,""],[2199,"T"],[2203,""],[2214,"T"],[2226,""],[2236,"T"],[2245,""],[2249,"U"],[2253,""],[2316,"T"],[2320,"U,T"],[2324,"U"],[2328,""],[2339,"V"],[2347,""],[2349,",T"],[2350,"T"],[2354,""],[2356,"T"],[2357,""],[2358,"T"],[2362,""],[2368,"T"],[2371,""],[2373,"U"],[2375,""],[2380,"T"],[2381,"U,T"],[2383,"U"],[2385,""],[2387,"V"],[2391,"T"],[2399,""],[2405,"T"],[2407,""],[2409,"U"],[2413,""],[2420,"U,T"],[2422,"U"],[2424,""],[2426,"V"],[2434,""],[2437,"T"],[2455,""],[2458,"T"],[2471,""],[2477,"T"],[2482,""],[2484,"T"],[2495,""],[2501,"T"],[2502,"U"],[2508,""],[2510,"T"],[2511,"T,Future::Output"],[2513,"T,Stream::Item"],[2514,"D,C,MW,S"],[2516,"T"],[2522,""],[2523,"U,T"],[2529,"U"],[2535,"F"],[2537,"S"],[2538,""],[2544,"T"],[2545,"V"],[2551,"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,"core::option"],[247,"iroh_base::ticket::node"],[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`6636432164531066644453321064532106453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}}}{{Aj{DbEl}}}}{{{d{Dl}}}{{Aj{Dbc}}}{}}{{}c{}}06{{{d{Db}}}{{d{Ab}}}}{{{d{Ej}}}C`}{{{d{Db}}c}AjEb}{{{d{El}}}{{Cl{{d{Ed}}}}}}{{{d{Ej}}}{{Ef{f}}}}{{{d{Db}}}{{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],[6,"Option",246,null,1],[1,"tuple",null,null,1],[8,"NodeId",0,230],[5,"NodeTicket",181,247],[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,247]],"b":[[60,"impl-Debug-for-Signature"],[61,"impl-Display-for-Signature"],[62,"impl-LowerHex-for-Signature"],[63,"impl-UpperHex-for-Signature"],[64,"impl-Display-for-PublicKey"],[65,"impl-Debug-for-PublicKey"],[66,"impl-Debug-for-KeyParsingError"],[67,"impl-Display-for-KeyParsingError"],[68,"impl-Display-for-SecretKey"],[69,"impl-Debug-for-SecretKey"],[71,"impl-Display-for-RelayUrl"],[72,"impl-Debug-for-RelayUrl"],[73,"impl-Debug-for-RelayUrlParseError"],[74,"impl-Display-for-RelayUrlParseError"],[77,"impl-From%3C%26%5Bu8;+ed25519::::SignatureBytes::%7Bconstant%230%7D%5D%3E-for-Signature"],[78,"impl-From%3C%5Bu8;+ed25519::::SignatureBytes::%7Bconstant%230%7D%5D%3E-for-Signature"],[79,"impl-From%3CInternalSignature%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%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[89,"impl-From%3CPublicKey%3E-for-NodeAddr"],[90,"impl-From%3CNodeTicket%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":"OzAAAAEAAJgAFgAPACcAOQASAE4AAgBSAAAAVAACAFgAAgBdAAAAXwAAAGcAAwBsAAEAeAACAIIABACIAAEAiwAAAI4ACgCaABgAvgAGAMYABQDPAAEA0gABANkAAQDcAAkA","P":[[15,"T"],[16,""],[17,"T"],[30,""],[35,"T"],[40,""],[48,"Deref::Target"],[49,"D"],[52,"__D"],[54,""],[76,"T"],[77,""],[80,"T"],[81,""],[82,"T"],[83,""],[86,"T"],[87,""],[91,"T"],[92,""],[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"],[160,"TryFrom::Error"],[161,"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`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{{{b{jEb}}{b{Bd}}}{{Bh{fBf}}}}{{{b{jEb}}{b{jBd}}}{{Bh{fBf}}}}{{}c{}}````{b{{b{c}}}{}}00{{{b{j}}}{{b{jc}}}{}}00````{{}Ed}{{}Ef}{An{{b{c}}}{}}00{An{{b{jc}}}{}}00{Anf}00``{{{b{Ed}}{b{jB`}}}Bb}{{{b{Ef}}{b{jB`}}}Bb}{{{b{Db}}{b{jB`}}}Bb}{cc{}}00{{}An}00{{}c{}}00{{EhD`EhD`}Db}{{{b{Ed}}{b{Bn}}}f}`{{{b{jEd}}Db}f}```{{EhD`}Ej}```{c{{Bh{e}}}{}{}}00{{}{{Bh{c}}}{}}00``{bCd}00{{}c{}}00","D":"Dj","p":[[1,"reference",null,null,1],[5,"Private",233],[1,"unit"],[5,"Command",234],[0,"mut"],[6,"EndpointSelector",0],[6,"ConnectionSelector",0],[5,"Opt",0],[5,"ClientStats",0],[8,"Result",235],[6,"Commands",0],[1,"u8"],[1,"u32"],[1,"slice"],[1,"usize"],[5,"Formatter",236],[8,"Result",236],[5,"ArgMatches",237],[8,"Error",238],[6,"Result",239,null,1],[5,"Id",240],[6,"Option",241,null,1],[1,"str"],[1,"bool"],[5,"Runtime",242],[5,"TypeId",243],[5,"NodeAddr",244],[5,"RelayUrl",245],[5,"Endpoint",246],[5,"Connection",246],[1,"tuple",null,null,1],[1,"u64"],[5,"TransferResult",169],[1,"u16"],[5,"TransportConfig",247],[6,"SocketAddr",248],[5,"CertificateDer",249],[5,"Endpoint",250],[5,"Connection",251],[6,"PrivateKeyDer",249],[5,"Opt",140],[5,"Stats",169],[5,"StreamStats",169],[5,"Duration",252],[1,"f64"]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAMQAEQAAABwAHwAXADgABgBEAAwAVwAAAFsAAQBeAAMAZAAUAHoABQCCAAAAhQABAIkAAACMAA8AnQAEAKMAJADLAAIA0QAYAA==","P":[[18,"T"],[28,""],[32,"T"],[34,""],[44,"T"],[55,""],[62,"T"],[67,""],[71,"T"],[73,""],[81,"U"],[90,""],[99,"T"],[101,"U,T"],[106,"U"],[111,""],[121,"V"],[127,""],[144,"T"],[146,""],[147,"T"],[148,""],[151,"T"],[153,""],[155,"T"],[156,""],[158,"T"],[159,""],[161,"U"],[162,"T"],[163,"U,T"],[164,"U"],[165,""],[168,"V"],[173,"T"],[183,""],[185,"T"],[191,""],[199,"T"],[202,""],[205,"U"],[208,""],[219,"U,T"],[222,"U"],[227,""],[230,"V"]]}],["iroh_dns_server",{"t":"FNNNNNNCCNNNNCNNNCNNNCCNNNNNNGFPPFFFNOONNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNOONNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNOFFFFNNNNONNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNOOOOONNNNNNNNNNNNNNNNNNNNNNNNGPFFFPPGPPPNNNNOONNNNNNNNNNONNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFNNNNNNNOOOOOONNNOOOOHNNNOOOOOONNNNNFNNNNNHNNNNNNFNNNNNNONNNONNNNN","n":["ZoneStore","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","config","dns","fmt","from","from_ref","get_signed_packet","http","in_memory","insert","into","metrics","new","persistent","resolve","server","state","to_owned","try_from","try_into","type_id","vzip","with_mainline_fallback","BootstrapOption","Config","Custom","Default","MainlineConfig","MetricsConfig","StoreConfig","__clone_box","bind_addr","bootstrap","borrow","","","","","borrow_mut","","","","","clone","clone_into","clone_to_uninit","data_dir","default","","","","deserialize","","","","","disabled","","dns","enabled","fmt","","","","","from","","","","","from_ref","http","https","into","","","","","load","mainline","metrics","pkarr_put_rate_limit","serialize","","","","","signed_packet_store_path","to_owned","try_from","","","","","try_into","","","","","type_id","","","","","vzip","","","","","zone_store","DnsConfig","DnsHandler","DnsServer","Handle","__clone_box","","","answer_request","bind_addr","borrow","","","","borrow_mut","","","","clone","","","clone_into","","","clone_to_uninit","","","default_soa","default_ttl","deserialize","fmt","","","from","","","","from_ref","","","handle_request","into","","","","local_addr","new","origins","port","rr_a","rr_aaaa","rr_ns","run_until_done","send_response","serialize","shutdown","spawn","to_owned","","","try_from","","","","try_into","","","","type_id","","","","vzip","","","","CertMode","Disabled","HttpConfig","HttpServer","HttpsConfig","LetsEncrypt","Manual","RateLimitConfig","SelfSigned","Simple","Smart","__clone_box","","","","bind_addr","","borrow","","","","","borrow_mut","","","","","cert_mode","clone","","","","clone_into","","","","clone_to_uninit","","","","default","","deserialize","","","","domains","eq","equivalent","","","fmt","","","","","from","","","","","from_ref","","","","http_addr","https_addr","into","","","","","letsencrypt_contact","letsencrypt_prod","port","","run_until_done","serialize","","","","shutdown","spawn","to_owned","","","","to_string","try_from","","","","","try_into","","","","","type_id","","","","","vzip","","","","","Metrics","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","default","dns_lookup_error","dns_lookup_notfound","dns_lookup_success","dns_requests","dns_requests_https","dns_requests_udp","fmt","from","from_ref","http_requests","http_requests_duration_ms","http_requests_error","http_requests_success","init_metrics","into","iter","name","pkarr_publish_noop","pkarr_publish_update","store_packets_expired","store_packets_inserted","store_packets_removed","store_packets_updated","to_owned","try_from","try_into","type_id","vzip","Server","borrow","borrow_mut","from","into","run_until_error","run_with_config_until_ctrl_c","shutdown","spawn","try_from","try_into","type_id","vzip","AppState","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","dns_handler","from","from_ref","into","store","to_owned","try_from","try_into","type_id","vzip"],"q":[[0,"iroh_dns_server"],[29,"iroh_dns_server::config"],[116,"iroh_dns_server::dns"],[191,"iroh_dns_server::http"],[299,"iroh_dns_server::metrics"],[335,"iroh_dns_server::server"],[348,"iroh_dns_server::state"],[365,"dyn_clone::sealed"],[366,"iroh_dns_server::store"],[367,"core::fmt"],[368,"pkarr::signed_packet"],[369,"core::option"],[370,"anyhow"],[371,"std::path"],[372,"core::convert"],[373,"hickory_proto::rr::domain::name"],[374,"hickory_proto::rr::record_type"],[375,"hickory_proto::rr::rr_set"],[376,"alloc::sync"],[377,"core::result"],[378,"core::any"],[379,"serde::de"],[380,"serde::ser"],[381,"hickory_server::server::request_handler"],[382,"bytes::bytes"],[383,"core::future::future"],[384,"alloc::boxed"],[385,"core::pin"],[386,"hickory_server::server::response_handler"],[387,"core::net::socket_addr"],[388,"hickory_server::authority::message_response"],[389,"hickory_proto::rr::resource"],[390,"core::iter::traits::iterator"],[391,"core::marker"],[392,"iroh_dns_server::http::rate_limiting"],[393,"iroh_dns_server::http::tls"],[394,"alloc::string"],[395,"alloc::vec::into_iter"]],"i":"`j00000``0000`000`000``000000``Bj0```BlCfCbC`3214032143330031403214220103214032143000321400000321403032140321403214032140````D`CjDb12Dl32103213213213213333210321321203210233333013003210321032103210321`Ej```El0`01110EnF`10Fd432104321143214321432144432113333433210432143210004321112104321004321304321043210432104321`Fj0000000000000000000`00000000000000`Gd0000`000000`Ff000000000000000","f":"`{{bd}f}{b{{b{c}}}{}}{{{b{h}}}{{b{hc}}}{}}{{{b{j}}}j}{{b{b{hc}}}f{}}{{bl}f}``{{{b{j}}{b{hn}}}A`}{cc{}}{{{b{c}}}c{}}{{{b{j}}{b{`}}}{{Af{{Ad{Ab}}}}}}```{{}c{}}```{{{b{j}}{b{`}}{b{An}}B`}{{Af{{Ad{{Bd{Bb}}}}}}}}``{bc{}}{c{{Bf{e}}}{}{}}{{}{{Bf{c}}}{}}{bBh}{{}c{}}{{jBj}j}```````{{bd}f}``{b{{b{c}}}{}}0000{{{b{h}}}{{b{hc}}}{}}0000{{{b{Bl}}}Bl}{{b{b{hc}}}f{}}{{bl}f}{{}{{Af{Bn}}}}{{}C`}{{}Bl}{{}Cb}{{}Bj}{c{{Bf{C`}}}Cd}{c{{Bf{Bl}}}Cd}{c{{Bf{Cf}}}Cd}{c{{Bf{Cb}}}Cd}{c{{Bf{Bj}}}Cd}{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atter",367],[8,"Result",367],[5,"SignedPacket",368],[6,"Option",369,null,1],[8,"Result",370],[1,"bool"],[5,"Path",371],[10,"AsRef",372],[5,"Name",373],[6,"RecordType",374],[5,"RecordSet",375],[5,"Arc",376,null,1],[6,"Result",377,null,1],[5,"TypeId",378],[6,"BootstrapOption",29],[5,"StoreConfig",29],[5,"PathBuf",371],[5,"Config",29],[5,"MainlineConfig",29],[10,"Deserializer",379],[5,"MetricsConfig",29],[10,"Serializer",380],[5,"DnsHandler",116],[5,"Request",381],[5,"Bytes",382],[5,"DnsConfig",116],[5,"Handle",116],[10,"Future",383,null,1],[5,"Box",384,null,1],[5,"Pin",385],[10,"ResponseHandler",386],[5,"DnsServer",116],[6,"SocketAddr",387],[5,"MessageResponse",388],[17,"Item"],[5,"Record",389],[10,"Iterator",390],[10,"Send",391],[6,"RateLimitConfig",191,392],[6,"CertMode",191,393],[5,"HttpConfig",191],[5,"HttpsConfig",191],[5,"Error",367],[5,"HttpServer",191],[5,"AppState",348],[5,"String",394],[5,"Metrics",299],[1,"str"],[10,"Any",378],[1,"tuple",null,null,1],[5,"IntoIter",395],[5,"Server",335]],"r":[[0,366],[191,393],[198,392]],"b":[[231,"impl-Default-for-%26RateLimitConfig"],[232,"impl-Default-for-RateLimitConfig"],[243,"impl-Debug-for-CertMode"],[244,"impl-Display-for-CertMode"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAPAAIAACAAUACgAAAAwAAAAYAAQAJQAAACgADAA2AAgAQwAEAE0AAABZAAQAXwAUAHkAAgB+ABAAkQADAJkAAwCpAAEArQASAMsAAwDRAAkA3AARAO8ACAD9AAMADQEDABMBGAAtAQ0APAEEAEMBDABRAQEAWQEDAF4BBQBmAQAAaQEEAA==","P":[[2,"T"],[4,""],[5,"T"],[6,""],[10,"T"],[12,""],[16,"U"],[18,""],[19,""],[20,""],[23,"T"],[24,"U,T"],[25,"U"],[26,""],[27,"V"],[28,""],[39,"T"],[49,""],[50,"T"],[51,""],[57,"__D"],[62,""],[71,"T"],[79,"U"],[84,""],[88,"__S"],[93,""],[94,"T"],[95,"U,T"],[100,"U"],[105,""],[110,"V"],[120,""],[125,"T"],[133,""],[136,"T"],[139,""],[144,"__D"],[145,""],[148,"T"],[155,"R"],[156,"U"],[160,""],[168,",,,"],[169,"__S"],[170,""],[172,"T"],[175,"U,T"],[179,"U"],[183,""],[187,"V"],[202,""],[208,"T"],[219,""],[223,"T"],[227,""],[233,"__D"],[238,""],[239,"K"],[242,""],[247,"T"],[256,""],[258,"U"],[267,""],[268,"__S"],[272,""],[274,"T"],[278,""],[279,"U,T"],[284,"U"],[289,""],[294,"V"],[300,""],[301,"T"],[303,""],[304,"T"],[305,""],[314,"T"],[320,""],[321,"U"],[322,""],[330,"T"],[331,"U,T"],[332,"U"],[333,""],[334,"V"],[336,"T"],[339,"U"],[340,""],[344,"U,T"],[345,"U"],[346,""],[347,"V"],[349,""],[350,"T"],[352,""],[353,"T"],[354,""],[356,"T"],[358,"U"],[360,"T"],[361,"U,T"],[362,"U"],[363,""],[364,"V"]]}],["iroh_net_report",{"t":"FFFFFSFFFFFNNNNNNNNNHNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNOONNNNNNNNNNNNNNNNNNNNOOOOOONNOONNNHONOONNOOOOONOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNN","n":["Addr","Client","IpMappedAddr","IpMappedAddrError","IpMappedAddresses","MAPPED_ADDR_PORT","Metrics","Options","QuicConfig","RelayLatencies","Report","__clone_box","","","","","","","","addr","bind_local_stun_socket","borrow","","","","","","","","","","borrow_mut","","","","","","","","","","captive_portal","client_config","clone","","","","","","","","clone_into","","","","","","","","clone_to_uninit","","","","","","","","cmp","compare","default","","","","","deref","","","","","","","","","","deref_mut","","","","","","","","","","disabled","drop","","","","","","","","","","ep","eq","","","equivalent","","","","","","","","","fmt","","","","","","","","","","","","","from","","","","","","","","","","generate","get_ip_addr","get_mapped_addr","get_or_register","get_report","get_report_channel","get_report_with_opts","global_v4","global_v6","hair_pinning","hash","https","icmp_v4","icmp_v6","icmpv4","icmpv6","init","","","","","","","","","","into","","","","","","","","","","ipv4","","ipv4_can_send","ipv6","","ipv6_can_send","iter","","mapping_varies_by_dest_ip","mapping_varies_by_dest_ipv6","name","new","","os_has_ipv6","","partial_cmp","portmap_probe","preferred_relay","quic_config","receive_stun_packet","relay_latency","relay_v4_latency","relay_v6_latency","reports","reports_full","socket_addr","stun_packets_dropped","stun_packets_recv_ipv4","stun_packets_recv_ipv6","stun_packets_sent_ipv4","stun_packets_sent_ipv6","stun_v4","stun_v6","to_owned","","","","","","","","to_string","","","try_from","","","","","","","","","","","try_into","","","","","","","","","","type_id","","","","","","","","","","udp","vzip","","","","","","","","",""],"q":[[0,"iroh_net_report"],[263,"dyn_clone::sealed"],[264,"netwatch::ip_family"],[265,"tokio_util::sync::cancellation_token"],[266,"netwatch::udp"],[267,"alloc::sync"],[268,"core::option"],[269,"iroh_net_report::ip_mapped_addrs"],[270,"iroh_net_report::metrics"],[271,"iroh_net_report::reportgen"],[272,"core::cmp"],[273,"core::fmt"],[274,"core::net::socket_addr"],[275,"iroh_relay::relay_map"],[276,"anyhow"],[277,"tokio::sync::oneshot"],[278,"core::hash"],[279,"core::any"],[280,"alloc::vec::into_iter"],[281,"iroh_base::relay_url"],[282,"core::time"],[283,"core::iter::traits::iterator"],[284,"portmapper"],[285,"iroh_relay::dns"],[286,"bytes::bytes"],[287,"alloc::string"],[288,"core::result"],[289,"core::net::ip_addr"],[290,"iroh_net_report::stun_utils"]],"i":"```````````AhAjAlAnB`BbBdjh`Bn987654132098765413256987654329876543298765432998754309876541320987654132309876541326954999555444009987655413209876541329888111555933355098765413209876541326556557455781`595532555779777773398765432095099876541320987654132098765413250987654132","f":"```````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{{b{Bb}}}{{`{{Dl{}{{Df{{Db{{b{Dh}}Dj}}}}}}}}}}``{{}{{b{Cn}}}}{{}Aj}{{{Ad{Dn}}E`{Ad{Aj}}}{{Ch{h}}}}{{}Bl}`{{{b{Ah}}{b{Ah}}}{{Ad{Bh}}}}``{{Bd{Ad{An}}}Bd}{{{b{j}}EbCd}f}`````{{{b{Ah}}}Cd}`````{{Bd{Ad{{Ab{A`}}}}}Bd}0{bc{}}0000000{bEd}00{c{{Ef{e}}}{}{}}{Eh{{Ef{Ahc}}}{}}111111111{{}{{Ef{c}}}{}}000000000{bEj}000000000`{{}c{}}000000000","D":"Ij","p":[[1,"reference",null,null,1],[5,"Private",263],[1,"unit"],[5,"Client",0],[5,"Addr",0],[6,"IpFamily",264],[5,"CancellationToken",265],[5,"UdpSocket",266],[5,"Arc",267,null,1],[6,"Option",268,null,1],[0,"mut"],[5,"IpMappedAddr",0,269],[5,"IpMappedAddresses",0,269],[5,"Metrics",0,270],[5,"QuicConfig",0,271],[5,"Report",0],[5,"RelayLatencies",0],[5,"Options",0],[1,"u8"],[6,"Ordering",272],[1,"usize"],[1,"bool"],[5,"IpMappedAddrError",0,269],[5,"Formatter",273],[8,"Result",273],[6,"SocketAddr",274],[5,"RelayMap",275],[8,"Result",276],[5,"Receiver",277],[10,"Hasher",278],[1,"str"],[10,"Any",279],[1,"tuple",null,null,1],[5,"IntoIter",280],[17,"Item"],[5,"RelayUrl",281],[5,"Duration",282],[10,"Iterator",283],[5,"Client",284],[5,"DnsResolver",285],[5,"Bytes",286],[5,"String",287],[6,"Result",288,null,1],[5,"Ipv6Addr",289],[5,"TypeId",279]],"r":[[2,269],[3,269],[4,269],[5,269],[6,270],[8,271],[20,290]],"b":[[118,"impl-Debug-for-IpMappedAddrError"],[119,"impl-Display-for-IpMappedAddrError"],[120,"impl-Debug-for-IpMappedAddr"],[121,"impl-Display-for-IpMappedAddr"],[125,"impl-Display-for-Report"],[126,"impl-Debug-for-Report"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAALoADgAMAAcAFgATACwAMgBgAAkAawAYAJgAAACeAAkAuAAAALwAAADBAAAAyQABAMwABADTACkA/gAJAA==","P":[[21,"T"],[43,""],[51,"T"],[59,""],[68,"K"],[69,""],[74,"T"],[94,""],[109,"K"],[118,""],[131,"T"],[141,""],[151,"__H"],[152,""],[167,"U"],[183,""],[210,"T"],[218,""],[221,"U,T"],[222,"TryFrom::Error"],[223,"U,T"],[232,"U"],[242,""],[253,"V"]]}],["iroh_relay",{"t":"EFFFFNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNCNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNOCCONNCOONNNNNNNNNNNNNNNNNNONNNNNFFFFGPPPPPPPPPGPGPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOSSSSSSFSSFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNSKFNNNNNNNNONNNNNNNNNMNNNOONNNMNNNNGSSPPNNNNNNNNNNNNNNNNNNNNNNNNNCCCSHSPGPPPPPPPPGFPPPPPPPPPPPGFPFPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNNNNNNNNNCHHNHHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNSSSSSSFNNNNNNNNNNNNNNNGGPGFSPPPFPFFFPFPFFFFFNNNNOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONONNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNONNNNNNNNNNNNNNONONNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNOOOONNOOOONOOONONOOOOOONNNONNCONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNOOOHHHHHH","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","nodes","partial_cmp","","pong_received","port","protos","quic","","serialize","","server","stun_only","stun_port","timeout","to_owned","","","to_string","","try_from","","","","try_into","","","","type_id","","","","url","urls","vzip","","","","Client","ClientBuilder","ClientSink","ClientStream","ConnSendError","Health","Io","KeepAlive","NodeGone","Ping","","Pong","","Protocol","ReceivedMessage","ReceivedPacket","SendMessage","SendPacket","ServerRestarting","__clone_box","","address_family_selector","borrow","","","","","","","borrow_mut","","","","","","","clone","","clone_into","","clone_to_uninit","","connect","deref","","","","","","","deref_mut","","","","","","","drop","","","","","","","fmt","","","","","","","","from","","","","","","","","","init","","","","","","","insecure_skip_cert_verify","into","","","","","","","is_prober","key_cache_capacity","local_addr","make_dangerous_client_config","new","poll_close","","poll_flush","","poll_next","","poll_ready","","protocol","proxy_url","ratelimit_sink","","ratelimit_sink_with_jitter","","ratelimit_stream","","ratelimit_stream_with_jitter","","source","split","start_send","","to_owned","","to_string","try_from","","","","","","","try_into","","","","","","","try_poll_next","","type_id","","","","","","","vzip","","","","","","","data","problem","reconnect_in","remote_node_id","try_for","DEFAULT_HTTPS_PORT","DEFAULT_HTTP_PORT","DEFAULT_KEY_CACHE_CAPACITY","DEFAULT_METRICS_PORT","DEFAULT_RELAY_QUIC_PORT","DEFAULT_STUN_PORT","DnsResolver","N0_DNS_NODE_ORIGIN_PROD","N0_DNS_NODE_ORIGIN_STAGING","TXT","TxtLookup","__clone_box","","","borrow","","","borrow_mut","","","clear_cache","clone","","","clone_into","","","clone_to_uninit","","","default","deref","","","deref_mut","","","drop","","","fmt","","","","from","","","","","init","","","into","","","into_iter","lookup_ipv4","lookup_ipv4_ipv6","lookup_ipv4_ipv6_staggered","lookup_ipv4_staggered","lookup_ipv6","lookup_ipv6_staggered","lookup_node_by_domain_name","lookup_node_by_domain_name_staggered","lookup_node_by_id","lookup_node_by_id_staggered","lookup_txt","new","node_info","resolve_host","to_owned","","","to_string","try_from","","","try_into","","","txt_data","type_id","","","vzip","","","with_nameserver","IROH_TXT_NAME","NodeIdExt","NodeInfo","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","deref","deref_mut","direct_addresses","drop","eq","equivalent","","","fmt","from","from_pkarr_signed_packet","from_txt_lookup","from_z32","init","into","new","node_id","relay_url","to_owned","to_pkarr_signed_packet","to_txt_strings","to_z32","try_from","try_into","type_id","vzip","Protocol","RELAY_PATH","RELAY_PROBE_PATH","Relay","Websocket","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","default","deref","deref_mut","drop","eq","equivalent","","","fmt","from","init","into","parse_header","to_owned","try_from","try_into","type_id","upgrade_header","vzip","disco","relay","stun","MAGIC","looks_like_disco_wrapper","MAX_PACKET_SIZE","AlternateServer","Error","ErrorCode","ErrorResponse","Fingerprint","Indication","InvalidFingerprint","InvalidMessage","MalformedAttrs","MappedAddress","MessageClass","MessageDecoder","MessageIntegrity","MessageIntegritySha256","NoFingerprint","Nonce","NotBinding","NotSuccessResponse","PasswordAlgorithm","PasswordAlgorithms","Realm","Request","Software","StunAttribute","StunDecodeError","SuccessResponse","TransactionId","Unknown","UnknownAttributes","UserHash","UserName","XorMappedAddress","__clone_box","","","","as_alternate_server","as_bytes","as_error_code","as_fingerprint","as_mapped_address","as_message_integrity","as_message_integrity_sha256","as_nonce","as_password_algorithm","as_password_algorithms","as_realm","as_ref","as_software","as_unknown","as_unknown_attributes","as_user_hash","as_user_name","as_xor_mapped_address","attribute_type","borrow","","","","","","borrow_mut","","","","","","clone","","","","clone_into","","","","clone_to_uninit","","","","cmp","compare","decode","default","","deref","","","","","","","deref_mut","","","","","","drop","","","","","","eq","","equivalent","","","","","","expect_alternate_server","expect_error_code","expect_fingerprint","expect_mapped_address","expect_message_integrity","expect_message_integrity_sha256","expect_nonce","expect_password_algorithm","expect_password_algorithms","expect_realm","expect_software","expect_unknown","expect_unknown_attributes","expect_user_hash","expect_user_name","expect_xor_mapped_address","fmt","","","","","","","","","from","","","","","","","","","","","","","","","","","","","","","","","","get_context","hash","init","","","","","","into","","","","","","is","is_alternate_server","is_error_code","is_fingerprint","is_mapped_address","is_message_integrity","is_message_integrity_sha256","is_nonce","is_password_algorithm","is_password_algorithms","is_realm","is_software","is_unknown","is_unknown_attributes","is_user_hash","is_user_name","is_xor_mapped_address","methods","parse_binding_request","parse_response","partial_cmp","request","response","to_owned","","","","to_string","","","try_from","","","","","","","try_into","","","","","","type_id","","","","","","vzip","","","","","","BINDING","RESERVED","SHARED_SECRET","ALPN_QUIC_ADDR_DISC","QUIC_ADDR_DISC_CLOSE_CODE","QUIC_ADDR_DISC_CLOSE_REASON","QuicClient","borrow","borrow_mut","deref","deref_mut","drop","fmt","from","get_addr_and_latency","init","into","new","try_from","try_into","type_id","vzip","Access","AccessConfig","Allow","CertConfig","ClientRateLimit","DEFAULT_CERT_RELOAD_INTERVAL","Deny","Everyone","LetsEncrypt","Limits","Manual","Metrics","QuicConfig","RelayConfig","Reloading","ReloadingResolver","Restricted","Server","ServerConfig","StunConfig","StunMetrics","TlsConfig","__clone_box","","","","accept_conn_burst","accept_conn_limit","accepts","access","bad_requests","bind_addr","","borrow","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","bytes_per_second","bytes_recv","bytes_sent","cert","certificates","client_rx","clone","","","","clone_into","","","","clone_to_uninit","","","","conns_rx_ratelimited_total","default","","","","deref","","","","","","","","","","","","","","","deref_mut","","","","","","","","","","","","","","disco_packets_dropped","disco_packets_recv","disco_packets_sent","disconnects","drop","","","","","","","","","","","","","","eq","equivalent","","","failures","fmt","","","","","","","","","","","","","","frames_rx_ratelimited_total","from","","","","","","","","","","","","","","got_ping","http_addr","http_bind_addr","http_url","https_addr","https_bind_addr","https_url","init","","","","","","","","","","","","","","","into","","","","","","","","","","","","","","ipv4_success","ipv6_success","is_allowed","iter","","key_cache_capacity","limits","max_burst_bytes","metrics_addr","name","","other_packets_dropped","other_packets_recv","other_packets_sent","quic","quic_addr","quic_bind_addr","relay","relay_accepts","reload","requests","resolve","send_packets_dropped","send_packets_recv","send_packets_sent","sent_pong","server_config","","shutdown","","spawn","stun","stun_addr","task_handle","testing","tls","to_owned","","","","try_from","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","type_id","","","","","","","","","","","","","","unique_client_keys","unknown_frames","vzip","","","","","","","","","","","","","","websocket_accepts","certs","state","quic_config","relay_config","self_signed_tls_certs_and_config","server_config","stun_config","tls_config"],"q":[[0,"iroh_relay"],[127,"iroh_relay::client"],[283,"iroh_relay::client::ReceivedMessage"],[288,"iroh_relay::defaults"],[294,"iroh_relay::dns"],[376,"iroh_relay::dns::node_info"],[411,"iroh_relay::http"],[441,"iroh_relay::protos"],[444,"iroh_relay::protos::disco"],[446,"iroh_relay::protos::relay"],[447,"iroh_relay::protos::stun"],[676,"iroh_relay::protos::stun::methods"],[679,"iroh_relay::quic"],[698,"iroh_relay::server"],[998,"iroh_relay::server::CertConfig"],[1000,"iroh_relay::server::testing"],[1006,"dyn_clone::sealed"],[1007,"iroh_relay::relay_map"],[1008,"core::cmp"],[1009,"iroh_base::relay_url"],[1010,"iroh_relay::ping_tracker"],[1011,"core::time"],[1012,"core::result"],[1013,"serde::de"],[1014,"core::fmt"],[1015,"anyhow"],[1016,"alloc::sync"],[1017,"core::convert"],[1018,"core::iter::traits::collect"],[1019,"core::option"],[1020,"core::iter::traits::iterator"],[1021,"serde::ser"],[1022,"alloc::string"],[1023,"core::any"],[1024,"core::ops::function"],[1025,"core::marker"],[1026,"iroh_relay::client::conn"],[1027,"std::io::error"],[1028,"tokio_tungstenite_wasm::error"],[1029,"core::net::socket_addr"],[1030,"rustls::client::client_conn"],[1031,"iroh_base::key"],[1032,"core::pin"],[1033,"core::task::wake"],[1034,"core::task::poll"],[1035,"url"],[1036,"governor::state::direct"],[1037,"governor::state"],[1038,"governor::state::direct::sinks"],[1039,"governor::clock::with_std"],[1040,"governor::gcra"],[1041,"governor::middleware"],[1042,"governor::jitter"],[1043,"governor::state::direct::streams"],[1044,"core::error"],[1045,"hickory_resolver::resolver"],[1046,"hickory_resolver::lookup"],[1047,"core::net::ip_addr"],[1048,"iroh_base::node_addr"],[1049,"alloc::boxed"],[1050,"pkarr::signed_packet"],[1051,"alloc::collections::btree::set"],[1052,"alloc::vec"],[1053,"http::header::value"],[1054,"stun_rs::attributes"],[1055,"stun_rs::attributes::stun::alternate_server"],[1056,"stun_rs::error"],[1057,"stun_rs::types"],[1058,"stun_rs::attributes::stun::error_code"],[1059,"stun_rs::attributes::stun::fingerprint"],[1060,"stun_rs::attributes::stun::mapped_address"],[1061,"stun_rs::attributes::stun::message_integrity"],[1062,"stun_rs::attributes::stun::message_integrity_sha256"],[1063,"stun_rs::attributes::stun::nonce"],[1064,"stun_rs::attributes::stun::password_algorithm"],[1065,"stun_rs::attributes::stun::password_algorithms"],[1066,"stun_rs::attributes::stun::realm"],[1067,"stun_rs::attributes::stun::software"],[1068,"stun_rs::attributes::unknown"],[1069,"stun_rs::attributes::stun::unknown_attributes"],[1070,"stun_rs::attributes::stun::user_hash"],[1071,"stun_rs::attributes::stun::user_name"],[1072,"stun_rs::attributes::stun::xor_mapped_address"],[1073,"stun_rs::context"],[1074,"stun_rs::message"],[1075,"core::hash"],[1076,"iroh_quinn::endpoint"],[1077,"rustls_pki_types"],[1078,"iroh_relay::server::metrics"],[1079,"core::default"],[1080,"iroh_relay::server::resolver"],[1081,"rustls::crypto::signer"],[1082,"reloadable_core"],[1083,"alloc::vec::into_iter"],[1084,"rustls::server::server_conn"],[1085,"tokio_util::task::abort_on_drop"],[1086,"stun_rs"],[1087,"stun_rs::methods"]],"i":"`````jlnAh3210321`321321321212130130`0321032121`032133213332221110332210321333`03210321330032101``221`22032132032103210321230321`````DhDl111Dn201`2`022Cn02310DjE`Eb5643210636363356432105643210564321055643210555643210564321035643210330`32121202133212120205221635564321056432102056432105643210AAfAAhAAj20```````````EnHbHd210210221021021022102102102100221102102101222222222222`2210021021002102102```Ij00000000000000000Jd1111111101111```Ff00000000000000000000000000``````Jh`0Mb10Mj002``22020022212``1`22222M`2Jn4404444444440444444413024Mf24135024152415241511221241135024135024135041444111555555555555555524113350024111355555555555555555021241350241350`5555555555555555```1``24151302441350241350241350241350```````N`00000000000000``Nl```0OlA@d`0```0`1`````NhNj4NnOf03Oj3OnA@`65OhO`4:;32A@b67:Nd:9326<=54178;08::107:9=8:9=8:9=8::927:93326<=54178;0:9326<=54178;0:::::9326<=54178;0====9:9326<=54178;0::9326<=54178;0:060010:93326<=54178;0:9326<=54178;099<:96682:9:::2012:393::::41300200`6:9=8:9326<=54178;0:9326<=54178;0:9326<=54178;0:::9326<=54178;0:AAlAAn``````","f":"`````{{bd}f}00{b{{b{c}}}{}}000{{{b{h}}}{{b{hc}}}{}}000`{{{b{j}}}j}{{{b{l}}}l}{{{b{n}}}n}{{b{b{hc}}}f{}}00{{bA`}f}00{{{b{l}}{b{l}}}Ab}{{{b{n}}{b{n}}}Ab}{{b{b{c}}}Ab{}}0{{{b{j}}{b{Ad}}}Af}{{}Ah}{{}n}{{AdAj}j}{{{b{Ah}}}Al}`{An{{b{c}}}{}}000{An{{b{hc}}}{}}000{c{{B`{l}}}Bb}{c{{B`{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}}}}{{{b{Nj}}}{{A@n{{H`{{b{Ib}}{b{A@l}}}}}}}}````{{}{{b{Ib}}}}0````8```{{{b{{Oh{c}}}}}f{Dd{A@j{}{{A@f{A@h}}}}}}`{{{b{{Oh{c}}}}AA`}{{Cb{{Bj{A@h}}}}}{{A@j{}{{A@f{A@h}}}}DdOd}}``````{{{Oh{c}}}f{Dd{A@j{}{{A@f{A@h}}}}}}{Nd{{Bh{f}}}}{{{O`{ce}}}{{Bh{Nd}}}OdOd}`={{{b{hNd}}}{{b{h{AAb{{Bh{f}}}}}}}}``{bc{}}000{c{{B`{e}}}{}{}}0000000000000{{}{{B`{c}}}{}}0000000000000{bCl}0000000000000``{{}c{}}0000000000000```{{}A@`}{{}{{Oj{f}}}}{{}{{H`{{Jb{Nf}}AAd}}}}{{}{{O`{f}}}}{{}On}{{}{{A@b{f}}}}","D":"C@f","p":[[1,"reference",null,null,1],[5,"Private",1006],[1,"unit"],[0,"mut"],[5,"RelayMap",0,1007],[5,"RelayNode",0,1007],[5,"RelayQuicConfig",0,1007],[1,"u8"],[6,"Ordering",1008],[5,"RelayUrl",1009],[1,"bool"],[5,"PingTracker",0,1010],[1,"u16"],[5,"Duration",1011],[1,"usize"],[6,"Result",1012,null,1],[10,"Deserializer",1013],[5,"Formatter",1014],[8,"Result",1014],[8,"Result",1015],[5,"Arc",1016,null,1],[10,"Into",1017],[17,"Item"],[10,"IntoIterator",1018],[6,"Option",1019,null,1],[1,"array"],[10,"Iterator",1020],[10,"Serializer",1021],[5,"String",1022],[5,"TypeId",1023],[5,"ClientBuilder",127],[17,"Output"],[10,"Fn",1024],[10,"Send",1025],[10,"Sync",1025],[6,"ReceivedMessage",127,1026],[5,"Client",127],[6,"ConnSendError",127,1026],[6,"SendMessage",127,1026],[5,"ClientSink",127],[5,"ClientStream",127],[5,"Error",1027],[6,"Error",1028],[6,"SocketAddr",1029],[5,"ClientConfig",1030],[5,"SecretKey",1031],[5,"DnsResolver",294],[5,"Pin",1032],[5,"Context",1033],[6,"Poll",1034],[6,"Protocol",411],[5,"Url",1035],[6,"NotKeyed",1036],[5,"RateLimiter",1037],[5,"RatelimitedSink",1038],[10,"DirectStateStore",1036],[10,"ReasonablyRealtime",1039],[17,"NegativeOutcome"],[5,"NotUntil",1040],[10,"RateLimitingMiddleware",1041],[5,"Jitter",1042],[5,"RatelimitedStream",1043],[10,"Error",1044],[1,"tuple",null,null,1],[5,"TxtLookup",294],[5,"TXT",294],[8,"TokioResolver",1045],[5,"TxtLookup",1046],[6,"IpAddr",1047],[10,"ToString",1022],[1,"u64"],[1,"slice"],[1,"str"],[5,"NodeAddr",1048],[8,"NodeId",1031],[5,"Box",1049,null,1],[5,"NodeInfo",376],[5,"SignedPacket",1050],[5,"BTreeSet",1051],[1,"u32"],[5,"Vec",1052],[10,"NodeIdExt",376],[5,"HeaderValue",1053],[6,"StunAttribute",447,1054],[5,"AlternateServer",1055],[5,"StunError",1056],[5,"TransactionId",447,1057],[5,"ErrorCode",1058],[6,"Fingerprint",1059],[5,"MappedAddress",1060],[6,"MessageIntegrity",1061],[6,"MessageIntegritySha256",1062],[5,"Nonce",1063],[5,"PasswordAlgorithm",1064],[5,"PasswordAlgorithms",1065],[5,"Realm",1066],[5,"Software",1067],[5,"Unknown",1068],[5,"UnknownAttributes",1069],[5,"UserHash",1070],[5,"UserName",1071],[5,"XorMappedAddress",1072],[5,"AttributeType",1054],[5,"MessageDecoder",447,1073],[6,"MessageClass",447,1074],[5,"StunMessage",1074],[5,"StunDecodeError",447,1056],[5,"Error",1014],[6,"Error",447],[5,"DecoderContext",1073],[10,"Hasher",1075],[5,"QuicClient",679],[5,"Endpoint",1076],[5,"Server",698],[5,"CertificateDer",1077],[5,"Metrics",698,1078],[5,"StunMetrics",698,1078],[6,"Access",698],[5,"ClientRateLimit",698],[5,"ServerConfig",698],[10,"Default",1079],[10,"Debug",1014],[5,"Limits",698],[5,"ReloadingResolver",698,1080],[5,"RelayConfig",698],[6,"AccessConfig",698],[5,"StunConfig",698],[5,"QuicConfig",698],[5,"TlsConfig",698],[6,"CertConfig",698],[17,"Value"],[5,"CertifiedKey",1081],[10,"Loader",1082],[10,"Any",1023],[5,"IntoIter",1083],[5,"ClientHello",1084],[5,"AbortOnDropHandle",1085],[5,"ServerConfig",1084],[15,"ReceivedPacket",283],[15,"Health",283],[15,"ServerRestarting",283],[15,"Manual",998],[15,"LetsEncrypt",998]],"r":[[0,446],[1,1010],[2,1007],[3,1007],[4,1007],[131,1026],[141,1026],[143,1026],[457,1074],[458,1073],[470,1054],[471,1056],[473,1057],[638,1086],[676,1087],[677,1087],[678,1087],[703,1080],[709,1078],[713,1080],[718,1078]],"b":[[65,"impl-Debug-for-RelayMap"],[66,"impl-Display-for-RelayMap"],[67,"impl-Debug-for-RelayNode"],[68,"impl-Display-for-RelayNode"],[191,"impl-Display-for-ConnSendError"],[192,"impl-Debug-for-ConnSendError"],[199,"impl-From%3CError%3E-for-ConnSendError"],[200,"impl-From%3CError%3E-for-ConnSendError"],[330,"impl-Display-for-TXT"],[331,"impl-Debug-for-TXT"],[576,"impl-Display-for-TransactionId"],[577,"impl-Debug-for-TransactionId"],[578,"impl-Debug-for-Error"],[579,"impl-Display-for-Error"],[581,"impl-Display-for-StunDecodeError"],[582,"impl-Debug-for-StunDecodeError"],[585,"impl-From%3C%5Bu8;+stun_rs::::types::%7Bimpl%2314%7D::%7Bconstant%230%7D%5D%3E-for-TransactionId"],[586,"impl-From%3C%26%5Bu8;+stun_rs::::types::%7Bimpl%2313%7D::%7Bconstant%230%7D%5D%3E-for-TransactionId"],[590,"impl-From%3CUnknown%3E-for-StunAttribute"],[591,"impl-From%3CXorMappedAddress%3E-for-StunAttribute"],[592,"impl-From%3CMessageIntegritySha256%3E-for-StunAttribute"],[593,"impl-From%3CUserName%3E-for-StunAttribute"],[594,"impl-From%3CUserHash%3E-for-StunAttribute"],[595,"impl-From%3CMessageIntegrity%3E-for-StunAttribute"],[596,"impl-From%3CPasswordAlgorithm%3E-for-StunAttribute"],[597,"impl-From%3CMappedAddress%3E-for-StunAttribute"],[598,"impl-From%3CUnknownAttributes%3E-for-StunAttribute"],[599,"impl-From%3CFingerprint%3E-for-StunAttribute"],[600,"impl-From%3CSoftware%3E-for-StunAttribute"],[601,"impl-From%3CErrorCode%3E-for-StunAttribute"],[602,"impl-From%3CPasswordAlgorithms%3E-for-StunAttribute"],[603,"impl-From%3CAlternateServer%3E-for-StunAttribute"],[604,"impl-From%3CRealm%3E-for-StunAttribute"],[605,"impl-From%3CNonce%3E-for-StunAttribute"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAGsCPgABAAAABgAKABIADAAgAAEAJQAJADAAAwA1ABEATwADAFwAAQBjAAEAaQAQAHwAAwCTAAEAlgATAKsAHgDRAAYA5QAHAO8ACAD5ACIALAEIADYBFwBQAQAAUgECAFgBAABnAQkAcgEFAHwBBwCFAQUAjwEAAJQBAACYAQMAoQEOALEBAAC0AQMAuQEAAOABAwDvAQAA9wEZABICAAAUAhoAPwIIAEoCAQBPAg8AYQIGAIICAACFAh8ArAIFALQCAAC3AgMA0QIDANwCGwD+AgsACwMgADADEQBDAw0AZwMBAGoDCwCHAwEAjQMBAJkDAACoAy0A2AMNAA==","P":[[8,"T"],[17,""],[20,"T"],[23,""],[28,"K"],[30,""],[36,"T"],[44,"__D"],[47,""],[55,"K"],[64,""],[70,"T"],[74,"I,"],[75,""],[82,"U"],[86,""],[98,"__S"],[103,""],[104,"T"],[107,""],[109,"U,T"],[113,"U"],[117,""],[123,"V"],[146,""],[148,"S"],[149,"T"],[163,""],[165,"T"],[167,""],[170,"T"],[184,""],[201,"T"],[208,""],[216,"U"],[223,""],[227,""],[228,"Sink::Error"],[232,"Stream::Item"],[234,"Sink::Error"],[236,""],[238,"D,C,MW,Item,S"],[242,"D,C,MW,S"],[246,""],[248,"Sink::Error"],[250,"T"],[252,""],[253,"U,T"],[260,"U"],[267,"S"],[269,""],[276,"V"],[299,""],[302,"T"],[308,""],[312,"T"],[315,""],[319,"T"],[325,""],[333,"T"],[335,""],[336,"T"],[337,""],[340,"U"],[343,"IntoIterator::IntoIter"],[344,""],[350,""],[354,""],[355,""],[358,"T"],[361,""],[362,"U,T"],[365,"U"],[368,""],[372,"V"],[375,""],[380,"T"],[382,""],[383,"T"],[384,""],[385,"T"],[388,""],[390,"K"],[393,""],[394,"T"],[395,""],[399,"U"],[400,""],[403,"T"],[404,""],[407,"U,T"],[408,"U"],[409,""],[410,"V"],[416,""],[417,"T"],[419,""],[420,"T"],[421,""],[423,"T"],[425,""],[427,"K"],[430,""],[431,"T"],[432,""],[433,"U"],[434,""],[435,"T"],[436,"U,T"],[437,"U"],[438,""],[440,"V"],[445,""],[502,"T"],[514,""],[518,"T"],[522,""],[527,"K"],[528,""],[531,"T"],[534,""],[535,"T"],[544,""],[552,"K"],[558,""],[583,"T"],[585,""],[587,"T"],[590,""],[606,"T"],[607,""],[608,"__H"],[609,""],[615,"U"],[621,""],[644,"T"],[648,""],[651,"U,T"],[652,""],[653,"U,T"],[658,"U"],[664,""],[670,"V"],[683,"T"],[687,""],[689,"T"],[690,""],[692,"U"],[693,""],[694,"U,T"],[695,"U"],[696,""],[697,"V"],[720,""],[731,"T"],[763,""],[769,"T"],[773,""],[780,"EC,EA"],[781,""],[782,"T"],[784,"Loader,Deref::Target"],[785,"T"],[815,""],[830,"K"],[834,""],[836,"Loader"],[837,"EC,EA"],[839,""],[843,"EC,EA"],[844,""],[846,"EC,EA"],[847,""],[849,"T"],[864,""],[872,"Loader"],[873,""],[885,"U"],[901,""],[918,"Loader"],[928,""],[929,"EC,EA"],[931,""],[935,"T"],[939,"U,T"],[953,"U"],[967,""],[983,"V"],[1000,""]]}]]')); if (typeof exports !== 'undefined') exports.searchIndex = searchIndex; else if (window.initSearch) window.initSearch(searchIndex); -//{"start":39,"fragment_lengths":[500,60386,8260,6257,9917,5745,23579]} \ No newline at end of file +//{"start":39,"fragment_lengths":[500,59027,8260,6257,9917,5892,27579]} \ No newline at end of file diff --git a/pr/3170/docs/search.desc/iroh/iroh-desc-0-.js b/pr/3170/docs/search.desc/iroh/iroh-desc-0-.js index f429f3f517..493c5120c8 100644 --- a/pr/3170/docs/search.desc/iroh/iroh-desc-0-.js +++ b/pr/3170/docs/search.desc/iroh/iroh-desc-0-.js @@ -1 +1 @@ -searchState.loadedDescShard("iroh", 0, "Peer-to-peer QUIC connections.\nError when decoding.\nThe encoded information had the wrong length.\nError when decoding the public key.\nError when deserialising a PublicKey or a SecretKey.\nThe length of an ed25519 PublicKey, in bytes.\nNetwork-level addressing information for an iroh node.\nThe identifier for a node in the (iroh) network.\nA public key.\nConfiguration of all the relay servers that can be used.\nInformation on a specific relay server.\nA URL identifying a relay server.\nCan occur when parsing a string into a RelayUrl.\nA secret key.\nGet this public key as a byte array.\nIs this a known node?\nCreates a new RelayMap with a single relay server …\nDefault values used in iroh\nReturns the direct addresses of this peer.\nSocket addresses where the peer might be reached directly.\nNode address discovery.\nThis module exports a DNS resolver, which is also the …\nCreate an empty relay map.\nThe Endpoint allows establishing connections to other iroh …\nConvert to a hex string limited to the first 5 bytes for a …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the 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).\nReturns true, if only a NodeId is present.\nAre there any nodes in this map?\nHow many nodes are known?\nCo-locating all of the iroh metrics structs\nCreates a new NodeAddr with no relay_url and no …\nThe node’s identifier.\nReturns an Iterator over all known nodes.\nTools for spawning an accept loop that routes incoming …\nReturns the VerifyingKey for this PublicKey.\nThe public key of this SecretKey.\nConfiguration to speak to the QUIC endpoint on the relay …\nReturns the relay url of this peer.\nThe node’s home relay url.\nReturns the SigningKey for this SecretKey.\nSign the given message and return a digital signature\nWhether this relay server should only be used for STUN …\nThe stun port of the relay server.\nInternal utilities to support testing.\nConvert this to the bytes representing the secret part. …\nThe RelayUrl where this relay server can be dialed.\nReturns the sorted relay URLs.\nVerify a signature on a message with this secret key’s …\nWatchable values.\nAdds the given direct addresses.\nAdds a relay url.\nThe default HTTPS port used by the Relay server.\nThe default HTTP port used by the Relay server.\nThe default metrics port used by the Relay server.\nThe default QUIC port used by the Relay server to accept …\nThe default STUN port used by the Relay server.\nProduction configuration.\nStaging configuration.\nHostname of the default Asia-Pacific relay.\nHostname of the default EU relay.\nHostname of the default NA relay.\nGet the default RelayNode for Asia-Pacific\nGet the default RelayNode for EU.\nGet the default RelayNode for NA.\nGet the default RelayMap.\nHostname of the default EU relay.\nHostname of the default NA relay.\nGet the default RelayNode for EU.\nGet the default RelayNode for NA.\nGet the default RelayMap.\nA discovery service that combines multiple discovery …\nNode discovery for super::Endpoint.\nThe results returned from Discovery::resolve.\nAdds a Discovery service.\nDNS node discovery for iroh\nCreates an empty ConcurrentDiscovery.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreates a new ConcurrentDiscovery.\nCalls U::from(self).\nCalls U::from(self).\nOptional timestamp when this node address info was last …\nA discovery service that uses an mdns-like service to …\nThe NodeId whose address we have discovered\nA discovery service which publishes and resolves node …\nA static string to identify the discovery source.\nPublishes the given RelayUrl and direct addreesses to the …\nResolves the DiscoveryItem for the given NodeId.\nA static node discovery to manually add node addressing …\nSubscribe to all addresses that get passively discovered.\nDNS node discovery\nThe n0 testing DNS node origin, for production.\nThe n0 testing DNS node origin, for testing.\nReturns the argument unchanged.\nCalls U::from(self).\nCreates a new DNS discovery using the iroh.link domain.\nCreates a new DNS discovery.\nDiscovery using swarm-discovery, a variation on mdns\nName of this discovery service.\nReturns the argument unchanged.\nCalls U::from(self).\nCreate a new LocalSwarmDiscovery Service.\nDefault TTL for the records in the pkarr signed packet.\nInterval in which to republish the node info even if …\nThe production pkarr relay run by number 0.\nThe testing pkarr relay run by number 0.\nPublisher of node discovery information to a pkarr relay.\nA pkarr client to publish pkarr::SignedPackets to a pkarr …\nResolver of node discovery information from a pkarr relay.\nPkarr based node discovery for iroh, supporting both relay …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCreates a pkarr publisher which uses the number 0 pkarr …\nCreates a pkarr resolver which uses the number 0 pkarr …\nCreates a new publisher for the SecretKey.\nCreates a new publisher using the pkarr relay server at …\nCreates a new client.\nPublishes a SignedPacket.\nResolves a SignedPacket for the given NodeId.\nPublishes the addressing information about this node to a …\nCreates a new PkarrPublisher with a custom TTL and …\nBuilder for DhtDiscovery.\nPkarr Mainline DHT and relay server node discovery.\nBuilds the discovery mechanism.\nCreates a new builder for DhtDiscovery.\nExplicitly sets the pkarr client to use.\nSets whether to publish to the Mainline DHT.\nReturns the argument unchanged.\nReturns the argument unchanged.\nSets whether to include the direct addresses in the DNS …\nSets the initial delay before the first publish.\nCalls U::from(self).\nCalls U::from(self).\nUses the default number 0 pkarr relay URL.\nSets the pkarr relay URL to use.\nSets the republish delay for the DHT.\nSets the secret key to use for signing the DNS packets.\nSets the time-to-live value for the DNS packets.\nThe provenance string for this discovery implementation.\nA static node discovery to manually add node addressing …\nAugments node addressing information for the given node ID.\nReturns the argument unchanged.\nCreates a static discovery instance from node addresses.\nReturns node addressing information for the given node ID.\nCalls U::from(self).\nCreates a new static discovery instance.\nRemoves all node addressing information for the given node …\nSets node addressing information for the given node ID.\nThe DNS resolver type used throughout iroh.\nExtension trait to DnsResolver.\nGet a reference to the default DNS resolver.\nLooks up node info by NodeId and origin domain name.\nLooks up node info by NodeId and origin domain name.\nLooks up node info by NodeId and origin domain name.\nLooks up node info by NodeId and origin domain name.\nLooks up node info by DNS name.\nLooks up node info by DNS name.\nLooks up node info by DNS name in a staggered fashion.\nLooks up node info by DNS name in a staggered fashion.\nPerform an ipv4 lookup with a timeout.\nRace an ipv4 and ipv6 lookup with a timeout.\nResolve IPv4 and IPv6 in parallel.\nRace an ipv4 and ipv6 lookup with a timeout in a staggered …\nRace an ipv4 and ipv6 lookup with a timeout in a staggered …\nPerform an ipv4 lookup with a timeout in a staggered …\nPerform an ipv4 lookup with a timeout in a staggered …\nPerform an ipv6 lookup with a timeout.\nPerform an ipv6 lookup with a timeout in a staggered …\nPerform an ipv6 lookup with a timeout in a staggered …\nSupport for handling DNS resource records for dialing by …\nGet the DNS resolver used within iroh.\nDirect address.\nThe DNS name for the iroh TXT record.\nThe attributes supported by iroh for IROH_TXT_NAME DNS …\nInformation about the iroh node contained in an …\nURL of home relay.\nAttributes parsed from IROH_TXT_NAME TXT records.\nReturns the parsed attributes.\nAny direct addresses.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nParses a NodeInfo from a TXT records lookup.\nParses a TXT records lookup.\nCreates TxtAttrs from a node id and an iterator of …\nParses a NodeInfo from a pkarr::SignedPacket.\nParses a pkarr::SignedPacket.\nCreates TxtAttrs from a node id and an iterator of “…\nParses a NodeId from [z-base-32] encoding.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nLooks up attributes by NodeId and origin domain.\nLooks up attributes by DNS name.\nCreates a new NodeInfo from its parts.\nReturns the node id.\nThe NodeId.\nThe advertised home relay server.\nConverts into a hickory_resolver::proto::rr::Record DNS …\nConverts to a list of hickory_resolver::proto::rr::Record …\nCreates a pkarr::SignedPacket.\nCreates a pkarr::SignedPacket\nEncodes a NodeId in [z-base-32] encoding.\nthe endpoint has reached the confidentiality or integrity …\nthe application or application protocol caused the …\nFuture produced by Endpoint::accept.\nFuture produced by Connection::accept_bi\nFuture produced by Connection::accept_uni\nParameters for controlling the peer’s acknowledgement …\nA key for sealing data with AEAD-based algorithms\nUses all available paths\nApplication layer added the address directly.\nReason given by an application for closing the connection\nThe peer closed the connection\nBuilder for Endpoint.\nthe number of connection IDs provided by the peer exceeds …\nthe server refused to accept a new connection\nreceived more data in CRYPTO frames than can be buffered\nWe received a CallMeMaybe.\nA chunk of data from the receive stream\nThe connection could not be created because not enough of …\nError indicating that a stream has not been opened or has …\nThe stream has already been stopped, finished, or reset\nThe stream has already been finished or reset\nIn-progress connection attempt future\nA QUIC connection.\nReason given by the transport for closing the connection\nThe peer’s QUIC stack aborted the connection …\nReasons why a connection might be lost\nThe connection was lost\nThe connection was lost\nThe connection was lost\nThe connection was lost\nThe connection was lost\nConnection statistics\nThe type of connection we have to the endpoint.\nThe type of control message we have received.\nCommon interface for different congestion controllers\nConstructs controllers on demand\nGeneric crypto errors\nServer-side configuration for the crypto protocol\nUse a custom relay map.\nUse the default relay map, with production relay servers …\nDirect UDP connection\nA direct address on which an iroh-node might be …\nInformation about a direct address.\nThe type of direct address.\nDatagram support is disabled locally\nDisable relay servers completely.\nThe address was discovered by a discovery service.\nEnvironment variable to force the use of staging relays.\nControls an iroh node, establishing connections with other …\nError returned by Session::export_keying_material.\nreceived a STREAM frame or a RESET_STREAM frame containing …\nreceived more data than permitted in advertised data limits\nreceived a frame that was badly formatted\nThe stream finished before all bytes were read\nNumber of frames transmitted of each frame type\nA pseudo random key for HKDF\nthe endpoint encountered an internal error and cannot …\nreceived an invalid Retry Token in a client Initial\nAttempted an ordered read following an unordered read\nAn incoming connection for which the server has not yet …\nAdaptor to let Incoming be awaited like a Connecting.\nkey update error\nA locally bound socket address.\nThe local application closed the connection\nThe largest representable value\nThe largest encoded value length\nBoth a UDP and a relay connection are used.\nParameters governing MTU discovery.\nthe connection is being closed abruptly in the absence of …\nno viable network path exists\nApplication layer with a specific name added the node …\nWe have no verified connection to this PublicKey\nFuture produced by Connection::open_bi\nFuture produced by Connection::open_uni\ndetected an error with protocol compliance that was not …\nDefines the mode of path selection for all traffic flowing …\nStatistics related to a transmission path\nWe received a Ping from the node.\nWe received a Pong from the node.\nAn address assigned by the router using port mapping.\nAn error occurred during reading\nFuture produced by Connection::read_datagram\nErrors that arise from reading from a stream.\nA read error occurred\nErrors that arise from reading from a stream.\nErrors from RecvStream::read_to_end\nA stream that can only be used to receive data\nRelay connection over relay\nA node communicated with us first via relay.\nConfiguration of the relay servers for an Endpoint.\nForces all traffic to go exclusively through relays\nDetails about a remote iroh node which is known to this …\nThe peer abandoned transmitting data on this stream\nThe peer is unable to continue processing this connection, …\nErrors that arise while waiting for a stream to be reset\nError for attempting to retry an Incoming which already …\nreceived a frame for a stream identifier that exceeded …\nreceived a frame for a stream that was not in a state that …\nAddress was loaded from the fs.\nErrors that can arise when sending a datagram\nA stream that can only be used to send data\nParameters governing incoming connections\nThe origin or source through which an address associated …\nUse the staging relay servers from n0.\nThe peer is no longer accepting data on this stream\nErrors that arise while monitoring for a send stream stop …\nIdentifier for a stream within a particular connection\nPublic internet address discovered via STUN.\nHard NAT: STUN’ed IPv4 address + local fixed port.\nreceived transport parameters that were badly formatted, …\nCommunication with the peer has lapsed for longer than the …\nThe datagram is larger than the connection can currently …\nThe stream is larger than the user-supplied limit\nParameters governing the core QUIC state machine\nTransport-level errors occur when a peer violates the …\nThe peer violated the QUIC specification as understood by …\nTransport-level error code\nA node communicated with us first via UDP.\nStatistics about UDP datagrams transmitted or received on …\nNot yet determined..\nThe peer does not support receiving datagram frames\nError indicating that the specified QUIC version is not …\nAn integer less than 2^62\nThe peer doesn’t implement any supported version\nA handle to some connection internals, use with care.\nErrors that arise from writing to a stream\nIndicates how many bytes and chunks had been transferred …\nFuture that completes when a connection is fully …\nThis was a 0-RTT stream and the server rejected it\nThis was a 0-RTT stream and the server rejected it\nThis was a 0-RTT stream and the server rejected it\nThis was a 0-RTT stream and the server rejected it\nAccepts an incoming connection on the endpoint.\nAttempts to accept this incoming connection (an error may …\nAccept the next incoming bidirectional stream.\nAccepts the next incoming uni-directional stream.\nAccepts this incoming connection using a custom …\nThe ack-eliciting threshold we will request the peer to use\nSpecifies the ACK frequency config (see AckFrequencyConfig …\nAdds a discovery mechanism for this endpoint.\nInforms this Endpoint about addresses of the iroh node.\nInforms this Endpoint about addresses of the iroh node, …\nThe UDP address reported by the remote node.\nThe address.\nThe addresses at which this node might be reachable.\nDerive AEAD using hkdf\nWhether the implementation is permitted to set the spin …\nExtracts the ALPN protocol from the peer’s handshake …\nExtracts the ALPN protocol from the peer’s handshake …\nSets the ALPN protocols that this endpoint will accept on …\nBinds the magic endpoint.\nSets the IPv4 bind address.\nSets the IPv6 bind address.\nSpecifies the amount of time that MTU discovery should …\nThe number of times a black hole was detected in the path\nReturns the local socket addresses on which the underlying …\nConstruct a fresh Controller\nReturns the builder for an Endpoint, with a production …\nThe contents of the chunk\nThe total amount of bytes which have been transferred …\nThe amount of bytes which had been written\nThe amount of full chunks which had been written\nRemoves all discovery services from the builder.\nDuplicate the controller’s state\nCloses the QUIC endpoint and the magic socket.\nCloses the connection immediately.\nIf the connection is closed, the reason why.\nWait for the connection to be closed for any reason.\nType of error\nHow to construct new congestion::Controllers\nCongestion events on the connection\nCurrent state of the congestion control algorithm, for …\nReturns a Watcher that reports the current connection type …\nThe type of connection we have to the node, either direct …\nConnects to a remote Endpoint.\nConnects to a remote Endpoint using a custom …\nCreate QUIC error code from TLS alert code\nTLS configuration used for incoming connections\nMaximum quantity of out-of-order crypto layer data to …\nLargest UDP payload size the path currently supports\nCurrent congestion window of the connection\nMaximum number of incoming application datagram bytes to …\nMaximum number of outgoing application datagram bytes to …\nBytes available in the outgoing datagram buffer.\nThe amount of UDP datagrams observed\nReturns the default relay mode.\nWhich directions data flows in\nReturns a Watcher for the direct addresses of this Endpoint…\nOptionally sets a discovery mechanism for this endpoint.\nReturns the discovery mechanism, if configured.\nConfigures the endpoint to also use the mainline DHT with …\nConfigures the endpoint to also use local network …\nConfigures the endpoint to use the default n0 DNS …\nOptionally sets a custom DNS resolver to use for this …\nReturns the DNS resolver used in this Endpoint.\nWhether to use “Generic Segmentation Offload” to …\nClass of error as encoded in the specification\nApplication-specific reason code\nDerives keying material from this connection’s TLS …\nNotify the peer that no more data will ever be written to …\nReturns true if the use of staging relays is forced.\nFrame type that triggered the error\nStatistics about frames received on a connection\nStatistics about frames transmitted on a connection\nType of frame that caused the close\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstruct a VarInt infallibly\nSucceeds iff x < 2^62\nCreate a VarInt without ensuring it’s in range\nParameters negotiated during the handshake\nParameters negotiated during the handshake.\nWhether there is a possible known network path to the …\nReturns a Watcher for the RelayUrl of the Relay server …\nGet the identity of this stream\nGet the identity of this stream\nIgnores this incoming connection attempt, not sending any …\nMaximum number of received bytes to buffer for each …\nMaximum number of received bytes to buffer for all Incoming\nDistinguishes streams of the same initiator and …\nCreate the initial set of keys given the client’s …\nThe initial value to be used as the maximum UDP payload …\nThe RTT used before an RTT sample is taken\nInitial congestion window\nWhich side of a connection initiated the stream\nSkip verification of SSL certificates from relay servers\nSpecifies the time to wait after completing MTU discovery …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nConvert into a 0-RTT or 0.5-RTT connection at the cost of …\nReturns Self for use in down-casting to extract …\nGet the Incoming\nExtract the integer value\nThe amount of I/O operations executed\nCheck if this stream has been opened during 0-RTT.\nReturns true if the Connection associated with this handle …\nCheck if this endpoint is still alive, or already closed.\nPeriod of inactivity before sending a keep-alive packet\nEnables saving the TLS pre-master key for connections.\nOptionally set a list of known nodes.\nElapsed time since this network path was known to exist.\nLast control message received by this node about this …\nElapsed time since the last payload message was received …\nGet the duration since the last activity we received from …\nTime elapsed time since last we have sent to or received …\nThe latency to the remote node over this network path.\nThe latency of the current network path to the remote node.\nReturns the local IP address which was used when the peer …\nThe amount of bytes lost on this path\nThe amount of packets lost on this path\nThe amount of PLPMTUD probe packets lost on this path …\nCreates a ServerConfig with the given secret key and …\nThe max_ack_delay we will request the peer to use\nMaximum number of incoming bidirectional streams that may …\nVariant of max_concurrent_bidi_streams affecting …\nComputes the maximum size of datagrams that may be passed …\nMaximum duration of inactivity to accept before timing out …\nMaximum number of Incoming to allow to exist at a time\nWhether to allow clients to migrate to new addresses\nThe maximum UDP payload size guaranteed to be supported by …\nSpecifies the minimum MTU change to stop the MTU discovery …\nSpecifies the MTU discovery config (see MtuDiscoveryConfig …\nNotifies the system of potential network changes.\nResets path-specific state.\nCreate a default config with a particular handshake token …\nCreate a new StreamId\nReturns the current NodeAddr for this endpoint.\nReturns the node id of this endpoint.\nThe globally unique identifier for this node.\nThe offset in the stream\nPacket deliveries were confirmed\nPackets were deemed lost or marked congested\nPackets are acked in batches, all with the same now …\nThe known MTU for the current network path has been updated\nOne or more packets were just sent\nMethod for opening a sealed message data\nInitiates a new outgoing bidirectional stream.\nInitiates a new outgoing unidirectional stream.\nMaximum reordering in packet number space before FACK …\nStatistics related to the current transmission path\nThis implies we only use the relay to communicate and do …\nCryptographic identity of the peer.\nNumber of consecutive PTOs after which network is …\nAttempts to read from the stream into buf.\nAttempt to write bytes from buf into the stream.\nThe preferred IPv4 address that will be communicated to …\nThe preferred IPv6 address that will be communicated to …\nGet the priority of the send stream\nSets the proxy url from the environment, in this order:\nSets an explicit proxy url to proxy all HTTP(S) traffic …\nRead data contiguously from the stream.\nRead the next segment of data\nRead the next segments of data\nReceives an application datagram.\nRead an exact number of bytes contiguously from the stream.\nConvenience method to read all remaining data into a buffer\nHuman-readable reason for the close\nHuman-readable reason for the close\nHuman-readable explanation of the reason\nWhether to receive observed address reports from other …\nMaximum number of bytes the peer may transmit across all …\nCompletes when the stream has been reset by the peer or …\nRejects this incoming connection attempt.\nReturns the relay map for this mode.\nSets the relay servers to assist in establishing …\nRelay server information, if available.\nReturns the peer’s UDP address.\nWhether the socket address that is initiating this …\nReturns information about the remote node identified by a …\nReturns information about all the remote nodes this …\nReturns the NodeId from the peer’s TLS certificate.\nThe reordering threshold we will request the peer to use\nClose the send stream immediately.\nResponds with a retry packet.\nGenerate the integrity tag for a retry packet\nDuration after a retry token was issued for which it’s …\nCurrent best estimate of this connection’s latency …\nCurrent best estimate of this connection’s latency …\nSaturating integer addition. Computes self + rhs, …\nMethod for sealing message data\nSets a secret key to authenticate with other peers.\nReturns the secret_key of this endpoint.\nTransmits data as an unreliable, unordered application …\nWhether to implement fair queuing for send streams having …\nWhether to send observed address reports to peers.\nMaximum number of bytes to transmit to a peer without …\nThe amount of packets sent on this path\nThe amount of PLPMTUD probe packets sent on this path …\nSets the list of accepted ALPN protocols.\nModifies the number of bidirectional streams that may be …\nModifies the number of unidirectional streams that may be …\nSet the priority of the send stream\nSee quinn_proto::TransportConfig::receive_window.\nReturns a deduplicated list of Sources merged from all …\nA HashMap of Sources to Durations.\nA stable identifier for this connection.\nStart a server session with this configuration\nReturns connection statistics.\nStop accepting data\nCompletes when the peer stops the stream or reads the …\nMaximum number of bytes the peer may transmit without …\nObject to get current SystemTime\nMaximum reordering in time space before time based loss …\nPrivate key used to authenticate data included in …\nTransport configuration to use for incoming connections\nSet a custom TransportConfig\nSets a custom quinn::TransportConfig for this endpoint.\nSucceeds iff x < 2^62\nSucceeds iff x < 2^62\nSucceeds iff x < 2^62\nThe origin of this direct address.\nStatistics about UDP datagrams received on a connection\nStatistics about UDP datagrams transmitted on a connection\nSpecifies the upper bound to the max UDP payload size that …\nConfiguration for sending and handling validation tokens\nSet a custom ValidationTokenConfig\nNumber of ack-eliciting bytes that may be in flight\nCreate a server config with the given crypto::ServerConfig\nCreate a server config with the given certificate chain to …\nWrite bytes to the stream\nConvenience method to write an entire buffer to the stream\nConvenience method to write an entire list of chunks to …\nConvenience method to write a single chunk in its entirety …\nWrite chunks to the stream\nThe name of the discovery service that discovered the …\nThe name of the application that added the node\nEnum of metrics for the module\nEnum of metrics for the module\nEnum of metrics for the module\nMetrics tracked for the relay server\nNumber of connections we have accepted\nBytes received from a FrameType::SendPacket\nBytes sent from a FrameType::SendPacket\nNumber of connections with a successful handshake that …\nNumber of connections with a successful handshake.\nNumber of client connections which have had any frames …\nFrameType::SendPacket dropped that are disco messages\nFrameType::SendPacket received that are disco messages\nFrameType::SendPacket sent that are disco messages\nNumber of connections we have removed because of an error\nNumber of frames received from client connection which …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nNumber of FrameType::Pings received\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nNumber of nodes we have attempted to contact.\nNumber of nodes we have managed to contact directly.\nThe number of direct connections we have made to peers.\nThe number of direct connections we have lost to peers.\nThe number of connections to peers we have added over …\nThe number of connections to peers we have removed over …\nPackets of other FrameTypes dropped\nPackets of other FrameTypes received\nPackets of other FrameTypes sent\nNumber of QUIC datagrams received.\nNumber of datagrams received using GRO\nNumber of accepted ‘iroh derp http’ connection upgrades\nFrameType::SendPacket dropped, that are not disco messages\nFrameType::SendPacket received, that are not disco messages\nFrameType::SendPacket sent, that are not disco messages\nNumber of FrameType::Pongs sent\nNumber of unique client keys per day\nNumber of FrameType::Unknown received\nNumber of accepted websocket connections\nHandler for incoming connections.\nThe built router.\nBuilder for creating a Router for accepting protocols.\nHandle an incoming connection.\nConfigures the router to accept the ProtocolHandler when …\nCreates a new Router using given Endpoint.\nReturns the Endpoint stored in this router.\nReturns the Endpoint of the node.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nChecks if the router is already shutdown.\nCreates a new router builder using given Endpoint.\nCalled when the node shuts down.\nShuts down the accept loop cleanly.\nSpawns an accept loop and returns a handle to it …\nA drop guard to clean up test infrastructure.\nHandle and drop guard for test DNS and Pkarr servers.\nCreate a DNS resolver with a single nameserver.\nCreate a ConcurrentDiscovery with DnsDiscovery and …\nCreate a DnsResolver configured to use the test DNS server.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nThe socket address of the DNS server.\nThe node origin domain.\nWait until a Pkarr announce for a node is published to the …\nThe HTTP URL of the Pkarr server.\nRun DNS and Pkarr servers on localhost.\nRuns a relay server with STUN and QUIC enabled suitable …\nRuns a relay server.\nRuns a relay server with STUN enabled suitable for tests.\nRun DNS and Pkarr servers on localhost with the specified …\nThe error for when a Watcher is disconnected from its …\nFuture returning the current or next value that’s Some …\nFuture returning the next item after the current one in a …\nA wrapper around a value that notifies Watchers when the …\nAn observer for a value.\nA stream for a Watcher’s next values.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the currently stored value.\nReturns the currently held value.\nReturns a future completing once the value is set to Some …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCreates a Watchable initialized to given value.\nSets a new value.\nReturns a stream which will yield the most recent values …\nReturns a stream which will yield the most recent values …\nReturns a future completing with Ok(value) once a new …\nCreates a Watcher allowing the value to be observed, but …") \ No newline at end of file +searchState.loadedDescShard("iroh", 0, "Peer-to-peer QUIC connections.\nError when decoding.\nThe encoded information had the wrong length.\nError when decoding the public key.\nError when deserialising a PublicKey or a SecretKey.\nThe length of an ed25519 PublicKey, in bytes.\nNetwork-level addressing information for an iroh node.\nThe identifier for a node in the (iroh) network.\nA public key.\nConfiguration of all the relay servers that can be used.\nInformation on a specific relay server.\nA URL identifying a relay server.\nCan occur when parsing a string into a RelayUrl.\nA secret key.\nGet this public key as a byte array.\nIs this a known node?\nCreates a new RelayMap with a single relay server …\nDefault values used in iroh\nReturns the direct addresses of this peer.\nSocket addresses where the peer might be reached directly.\nNode address discovery.\nThis module exports a DNS resolver, which is also the …\nCreate an empty relay map.\nThe Endpoint allows establishing connections to other iroh …\nConvert to a hex string limited to the first 5 bytes for a …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the addressing info from given ticket.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstruct a PublicKey from a slice of bytes.\nCreate a secret key from its byte representation.\nConstructs the RelayMap from an iterator of RelayNodes.\nCreates a new NodeAddr from its parts.\nReturns a RelayMap from a RelayUrl.\nGenerate a new SecretKey with a randomness generator.\nGet the given node.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nReturns true, if only a NodeId is present.\nAre there any nodes in this map?\nHow many nodes are known?\nCo-locating all of the iroh metrics structs\nCreates a new NodeAddr with no relay_url and no …\nThe node’s identifier.\nReturns an Iterator over all known nodes.\nTools for spawning an accept loop that routes incoming …\nReturns the VerifyingKey for this PublicKey.\nThe public key of this SecretKey.\nConfiguration to speak to the QUIC endpoint on the relay …\nReturns the relay url of this peer.\nThe node’s home relay url.\nReturns the SigningKey for this SecretKey.\nSign the given message and return a digital signature\nWhether this relay server should only be used for STUN …\nThe stun port of the relay server.\nInternal utilities to support testing.\nConvert this to the bytes representing the secret part. …\nThe RelayUrl where this relay server can be dialed.\nReturns the sorted relay URLs.\nVerify a signature on a message with this secret key’s …\nWatchable values.\nAdds the given direct addresses.\nAdds a relay url.\nThe default HTTPS port used by the Relay server.\nThe default HTTP port used by the Relay server.\nThe default metrics port used by the Relay server.\nThe default QUIC port used by the Relay server to accept …\nThe default STUN port used by the Relay server.\nProduction configuration.\nStaging configuration.\nHostname of the default Asia-Pacific relay.\nHostname of the default EU relay.\nHostname of the default NA relay.\nGet the default RelayNode for Asia-Pacific\nGet the default RelayNode for EU.\nGet the default RelayNode for NA.\nGet the default RelayMap.\nHostname of the default EU relay.\nHostname of the default NA relay.\nGet the default RelayNode for EU.\nGet the default RelayNode for NA.\nGet the default RelayMap.\nA discovery service that combines multiple discovery …\nNode discovery for super::Endpoint.\nThe results returned from Discovery::resolve.\nAdds a Discovery service.\nDNS node discovery for iroh\nCreates an empty ConcurrentDiscovery.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreates a new ConcurrentDiscovery.\nCalls U::from(self).\nCalls U::from(self).\nOptional timestamp when this node address info was last …\nA discovery service that uses an mdns-like service to …\nThe NodeId whose address we have discovered\nA discovery service which publishes and resolves node …\nA static string to identify the discovery source.\nPublishes the given RelayUrl and direct addreesses to the …\nResolves the DiscoveryItem for the given NodeId.\nA static node discovery to manually add node addressing …\nSubscribe to all addresses that get passively discovered.\nDNS node discovery\nThe n0 testing DNS node origin, for production.\nThe n0 testing DNS node origin, for testing.\nReturns the argument unchanged.\nCalls U::from(self).\nCreates a new DNS discovery using the iroh.link domain.\nCreates a new DNS discovery.\nDiscovery using swarm-discovery, a variation on mdns\nName of this discovery service.\nReturns the argument unchanged.\nCalls U::from(self).\nCreate a new LocalSwarmDiscovery Service.\nDefault TTL for the records in the pkarr signed packet.\nInterval in which to republish the node info even if …\nThe production pkarr relay run by number 0.\nThe testing pkarr relay run by number 0.\nPublisher of node discovery information to a pkarr relay.\nA pkarr client to publish pkarr::SignedPackets to a pkarr …\nResolver of node discovery information from a pkarr relay.\nPkarr based node discovery for iroh, supporting both relay …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCreates a pkarr publisher which uses the number 0 pkarr …\nCreates a pkarr resolver which uses the number 0 pkarr …\nCreates a new publisher for the SecretKey.\nCreates a new publisher using the pkarr relay server at …\nCreates a new client.\nPublishes a SignedPacket.\nResolves a SignedPacket for the given NodeId.\nPublishes the addressing information about this node to a …\nCreates a new PkarrPublisher with a custom TTL and …\nBuilder for DhtDiscovery.\nPkarr Mainline DHT and relay server node discovery.\nBuilds the discovery mechanism.\nCreates a new builder for DhtDiscovery.\nExplicitly sets the pkarr client to use.\nSets whether to publish to the Mainline DHT.\nReturns the argument unchanged.\nReturns the argument unchanged.\nSets whether to include the direct addresses in the DNS …\nSets the initial delay before the first publish.\nCalls U::from(self).\nCalls U::from(self).\nUses the default number 0 pkarr relay URL.\nSets the pkarr relay URL to use.\nSets the republish delay for the DHT.\nSets the secret key to use for signing the DNS packets.\nSets the time-to-live value for the DNS packets.\nThe provenance string for this discovery implementation.\nA static node discovery to manually add node addressing …\nAugments node addressing information for the given node ID.\nReturns the argument unchanged.\nCreates a static discovery instance from node addresses.\nReturns node addressing information for the given node ID.\nCalls U::from(self).\nCreates a new static discovery instance.\nRemoves all node addressing information for the given node …\nSets node addressing information for the given node ID.\nThe DNS resolver used throughout iroh.\nThe n0 testing DNS node origin, for production.\nThe n0 testing DNS node origin, for testing.\nRemoves all entries from the cache.\nReturns the argument unchanged.\nCalls U::from(self).\nPerform an ipv4 lookup with a timeout.\nResolve IPv4 and IPv6 in parallel with a timeout.\nRace an ipv4 and ipv6 lookup with a timeout in a staggered …\nPerform an ipv4 lookup with a timeout in a staggered …\nPerform an ipv6 lookup with a timeout.\nPerform an ipv6 lookup with a timeout in a staggered …\nLooks up node info by DNS name.\nLooks up node info by DNS name in a staggered fashion.\nLooks up node info by NodeId and origin domain name.\nLooks up node info by NodeId and origin domain name.\nLookup a TXT record.\nCreate a new DNS resolver with sensible cross-platform …\nSupport for handling DNS resource records for dialing by …\nResolve a hostname from a URL to an IP address.\nCreate a new DNS resolver configured with a single UDP DNS …\nThe DNS name for the iroh TXT record.\nExtension methods for NodeId to encode to and decode from …\nInformation about the iroh node contained in an …\nAny direct addresses.\nReturns the argument unchanged.\nParses a NodeInfo from a pkarr::SignedPacket.\nParses a NodeInfo from a TXT records lookup.\nParses a NodeId from [z-base-32] encoding.\nCalls U::from(self).\nCreates a new NodeInfo from its parts.\nThe NodeId.\nThe advertised home relay server.\nCreates a pkarr::SignedPacket.\nConverts into a list of {key}={value} strings.\nEncodes a NodeId in [z-base-32] encoding.\nthe endpoint has reached the confidentiality or integrity …\nthe application or application protocol caused the …\nFuture produced by Endpoint::accept.\nFuture produced by Connection::accept_bi\nFuture produced by Connection::accept_uni\nParameters for controlling the peer’s acknowledgement …\nA key for sealing data with AEAD-based algorithms\nUses all available paths\nApplication layer added the address directly.\nReason given by an application for closing the connection\nThe peer closed the connection\nBuilder for Endpoint.\nthe number of connection IDs provided by the peer exceeds …\nthe server refused to accept a new connection\nreceived more data in CRYPTO frames than can be buffered\nWe received a CallMeMaybe.\nA chunk of data from the receive stream\nThe connection could not be created because not enough of …\nError indicating that a stream has not been opened or has …\nThe stream has already been stopped, finished, or reset\nThe stream has already been finished or reset\nIn-progress connection attempt future\nA QUIC connection.\nReason given by the transport for closing the connection\nThe peer’s QUIC stack aborted the connection …\nReasons why a connection might be lost\nThe connection was lost\nThe connection was lost\nThe connection was lost\nThe connection was lost\nThe connection was lost\nConnection statistics\nThe type of connection we have to the endpoint.\nThe type of control message we have received.\nCommon interface for different congestion controllers\nConstructs controllers on demand\nGeneric crypto errors\nServer-side configuration for the crypto protocol\nUse a custom relay map.\nUse the default relay map, with production relay servers …\nDirect UDP connection\nA direct address on which an iroh-node might be …\nInformation about a direct address.\nThe type of direct address.\nDatagram support is disabled locally\nDisable relay servers completely.\nThe address was discovered by a discovery service.\nEnvironment variable to force the use of staging relays.\nControls an iroh node, establishing connections with other …\nError returned by Session::export_keying_material.\nreceived a STREAM frame or a RESET_STREAM frame containing …\nreceived more data than permitted in advertised data limits\nreceived a frame that was badly formatted\nThe stream finished before all bytes were read\nNumber of frames transmitted of each frame type\nA pseudo random key for HKDF\nthe endpoint encountered an internal error and cannot …\nreceived an invalid Retry Token in a client Initial\nAttempted an ordered read following an unordered read\nAn incoming connection for which the server has not yet …\nAdaptor to let Incoming be awaited like a Connecting.\nkey update error\nA locally bound socket address.\nThe local application closed the connection\nThe largest representable value\nThe largest encoded value length\nBoth a UDP and a relay connection are used.\nParameters governing MTU discovery.\nthe connection is being closed abruptly in the absence of …\nno viable network path exists\nApplication layer with a specific name added the node …\nWe have no verified connection to this PublicKey\nFuture produced by Connection::open_bi\nFuture produced by Connection::open_uni\ndetected an error with protocol compliance that was not …\nDefines the mode of path selection for all traffic flowing …\nStatistics related to a transmission path\nWe received a Ping from the node.\nWe received a Pong from the node.\nAn address assigned by the router using port mapping.\nAn error occurred during reading\nFuture produced by Connection::read_datagram\nErrors that arise from reading from a stream.\nA read error occurred\nErrors that arise from reading from a stream.\nErrors from RecvStream::read_to_end\nA stream that can only be used to receive data\nRelay connection over relay\nA node communicated with us first via relay.\nConfiguration of the relay servers for an Endpoint.\nForces all traffic to go exclusively through relays\nDetails about a remote iroh node which is known to this …\nThe peer abandoned transmitting data on this stream\nThe peer is unable to continue processing this connection, …\nErrors that arise while waiting for a stream to be reset\nError for attempting to retry an Incoming which already …\nreceived a frame for a stream identifier that exceeded …\nreceived a frame for a stream that was not in a state that …\nAddress was loaded from the fs.\nErrors that can arise when sending a datagram\nA stream that can only be used to send data\nParameters governing incoming connections\nThe origin or source through which an address associated …\nUse the staging relay servers from n0.\nThe peer is no longer accepting data on this stream\nErrors that arise while monitoring for a send stream stop …\nIdentifier for a stream within a particular connection\nPublic internet address discovered via STUN.\nHard NAT: STUN’ed IPv4 address + local fixed port.\nreceived transport parameters that were badly formatted, …\nCommunication with the peer has lapsed for longer than the …\nThe datagram is larger than the connection can currently …\nThe stream is larger than the user-supplied limit\nParameters governing the core QUIC state machine\nTransport-level errors occur when a peer violates the …\nThe peer violated the QUIC specification as understood by …\nTransport-level error code\nA node communicated with us first via UDP.\nStatistics about UDP datagrams transmitted or received on …\nNot yet determined..\nThe peer does not support receiving datagram frames\nError indicating that the specified QUIC version is not …\nAn integer less than 2^62\nThe peer doesn’t implement any supported version\nA handle to some connection internals, use with care.\nErrors that arise from writing to a stream\nIndicates how many bytes and chunks had been transferred …\nFuture that completes when a connection is fully …\nThis was a 0-RTT stream and the server rejected it\nThis was a 0-RTT stream and the server rejected it\nThis was a 0-RTT stream and the server rejected it\nThis was a 0-RTT stream and the server rejected it\nAccepts an incoming connection on the endpoint.\nAttempts to accept this incoming connection (an error may …\nAccept the next incoming bidirectional stream.\nAccepts the next incoming uni-directional stream.\nAccepts this incoming connection using a custom …\nThe ack-eliciting threshold we will request the peer to use\nSpecifies the ACK frequency config (see AckFrequencyConfig …\nAdds a discovery mechanism for this endpoint.\nInforms this Endpoint about addresses of the iroh node.\nInforms this Endpoint about addresses of the iroh node, …\nThe UDP address reported by the remote node.\nThe address.\nThe addresses at which this node might be reachable.\nDerive AEAD using hkdf\nWhether the implementation is permitted to set the spin …\nExtracts the ALPN protocol from the peer’s handshake …\nExtracts the ALPN protocol from the peer’s handshake …\nSets the ALPN protocols that this endpoint will accept on …\nBinds the magic endpoint.\nSets the IPv4 bind address.\nSets the IPv6 bind address.\nSpecifies the amount of time that MTU discovery should …\nThe number of times a black hole was detected in the path\nReturns the local socket addresses on which the underlying …\nConstruct a fresh Controller\nReturns the builder for an Endpoint, with a production …\nThe contents of the chunk\nThe total amount of bytes which have been transferred …\nThe amount of bytes which had been written\nThe amount of full chunks which had been written\nRemoves all discovery services from the builder.\nDuplicate the controller’s state\nCloses the QUIC endpoint and the magic socket.\nCloses the connection immediately.\nIf the connection is closed, the reason why.\nWait for the connection to be closed for any reason.\nType of error\nHow to construct new congestion::Controllers\nCongestion events on the connection\nCurrent state of the congestion control algorithm, for …\nReturns a Watcher that reports the current connection type …\nThe type of connection we have to the node, either direct …\nConnects to a remote Endpoint.\nConnects to a remote Endpoint using a custom …\nCreate QUIC error code from TLS alert code\nTLS configuration used for incoming connections\nMaximum quantity of out-of-order crypto layer data to …\nLargest UDP payload size the path currently supports\nCurrent congestion window of the connection\nMaximum number of incoming application datagram bytes to …\nMaximum number of outgoing application datagram bytes to …\nBytes available in the outgoing datagram buffer.\nThe amount of UDP datagrams observed\nReturns the default relay mode.\nWhich directions data flows in\nReturns a Watcher for the direct addresses of this Endpoint…\nOptionally sets a discovery mechanism for this endpoint.\nReturns the discovery mechanism, if configured.\nConfigures the endpoint to also use the mainline DHT with …\nConfigures the endpoint to also use local network …\nConfigures the endpoint to use the default n0 DNS …\nOptionally sets a custom DNS resolver to use for this …\nReturns the DNS resolver used in this Endpoint.\nWhether to use “Generic Segmentation Offload” to …\nClass of error as encoded in the specification\nApplication-specific reason code\nDerives keying material from this connection’s TLS …\nNotify the peer that no more data will ever be written to …\nReturns true if the use of staging relays is forced.\nFrame type that triggered the error\nStatistics about frames received on a connection\nStatistics about frames transmitted on a connection\nType of frame that caused the close\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstruct a VarInt infallibly\nSucceeds iff x < 2^62\nCreate a VarInt without ensuring it’s in range\nParameters negotiated during the handshake\nParameters negotiated during the handshake.\nWhether there is a possible known network path to the …\nReturns a Watcher for the RelayUrl of the Relay server …\nGet the identity of this stream\nGet the identity of this stream\nIgnores this incoming connection attempt, not sending any …\nMaximum number of received bytes to buffer for each …\nMaximum number of received bytes to buffer for all Incoming\nDistinguishes streams of the same initiator and …\nCreate the initial set of keys given the client’s …\nThe initial value to be used as the maximum UDP payload …\nThe RTT used before an RTT sample is taken\nInitial congestion window\nWhich side of a connection initiated the stream\nSkip verification of SSL certificates from relay servers\nSpecifies the time to wait after completing MTU discovery …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nConvert into a 0-RTT or 0.5-RTT connection at the cost of …\nReturns Self for use in down-casting to extract …\nGet the Incoming\nExtract the integer value\nThe amount of I/O operations executed\nCheck if this stream has been opened during 0-RTT.\nReturns true if the Connection associated with this handle …\nCheck if this endpoint is still alive, or already closed.\nPeriod of inactivity before sending a keep-alive packet\nEnables saving the TLS pre-master key for connections.\nOptionally set a list of known nodes.\nElapsed time since this network path was known to exist.\nLast control message received by this node about this …\nElapsed time since the last payload message was received …\nGet the duration since the last activity we received from …\nTime elapsed time since last we have sent to or received …\nThe latency to the remote node over this network path.\nThe latency of the current network path to the remote node.\nReturns the local IP address which was used when the peer …\nThe amount of bytes lost on this path\nThe amount of packets lost on this path\nThe amount of PLPMTUD probe packets lost on this path …\nCreates a ServerConfig with the given secret key and …\nThe max_ack_delay we will request the peer to use\nMaximum number of incoming bidirectional streams that may …\nVariant of max_concurrent_bidi_streams affecting …\nComputes the maximum size of datagrams that may be passed …\nMaximum duration of inactivity to accept before timing out …\nMaximum number of Incoming to allow to exist at a time\nWhether to allow clients to migrate to new addresses\nThe maximum UDP payload size guaranteed to be supported by …\nSpecifies the minimum MTU change to stop the MTU discovery …\nSpecifies the MTU discovery config (see MtuDiscoveryConfig …\nNotifies the system of potential network changes.\nResets path-specific state.\nCreate a default config with a particular handshake token …\nCreate a new StreamId\nReturns the current NodeAddr for this endpoint.\nReturns the node id of this endpoint.\nThe globally unique identifier for this node.\nThe offset in the stream\nPacket deliveries were confirmed\nPackets were deemed lost or marked congested\nPackets are acked in batches, all with the same now …\nThe known MTU for the current network path has been updated\nOne or more packets were just sent\nMethod for opening a sealed message data\nInitiates a new outgoing bidirectional stream.\nInitiates a new outgoing unidirectional stream.\nMaximum reordering in packet number space before FACK …\nStatistics related to the current transmission path\nThis implies we only use the relay to communicate and do …\nCryptographic identity of the peer.\nNumber of consecutive PTOs after which network is …\nAttempts to read from the stream into buf.\nAttempt to write bytes from buf into the stream.\nThe preferred IPv4 address that will be communicated to …\nThe preferred IPv6 address that will be communicated to …\nGet the priority of the send stream\nSets the proxy url from the environment, in this order:\nSets an explicit proxy url to proxy all HTTP(S) traffic …\nRead data contiguously from the stream.\nRead the next segment of data\nRead the next segments of data\nReceives an application datagram.\nRead an exact number of bytes contiguously from the stream.\nConvenience method to read all remaining data into a buffer\nHuman-readable reason for the close\nHuman-readable reason for the close\nHuman-readable explanation of the reason\nWhether to receive observed address reports from other …\nMaximum number of bytes the peer may transmit across all …\nCompletes when the stream has been reset by the peer or …\nRejects this incoming connection attempt.\nReturns the relay map for this mode.\nSets the relay servers to assist in establishing …\nRelay server information, if available.\nReturns the peer’s UDP address.\nWhether the socket address that is initiating this …\nReturns information about the remote node identified by a …\nReturns information about all the remote nodes this …\nReturns the NodeId from the peer’s TLS certificate.\nThe reordering threshold we will request the peer to use\nClose the send stream immediately.\nResponds with a retry packet.\nGenerate the integrity tag for a retry packet\nDuration after a retry token was issued for which it’s …\nCurrent best estimate of this connection’s latency …\nCurrent best estimate of this connection’s latency …\nSaturating integer addition. Computes self + rhs, …\nMethod for sealing message data\nSets a secret key to authenticate with other peers.\nReturns the secret_key of this endpoint.\nTransmits data as an unreliable, unordered application …\nWhether to implement fair queuing for send streams having …\nWhether to send observed address reports to peers.\nMaximum number of bytes to transmit to a peer without …\nThe amount of packets sent on this path\nThe amount of PLPMTUD probe packets sent on this path …\nSets the list of accepted ALPN protocols.\nModifies the number of bidirectional streams that may be …\nModifies the number of unidirectional streams that may be …\nSet the priority of the send stream\nSee quinn_proto::TransportConfig::receive_window.\nReturns a deduplicated list of Sources merged from all …\nA HashMap of Sources to Durations.\nA stable identifier for this connection.\nStart a server session with this configuration\nReturns connection statistics.\nStop accepting data\nCompletes when the peer stops the stream or reads the …\nMaximum number of bytes the peer may transmit without …\nObject to get current SystemTime\nMaximum reordering in time space before time based loss …\nPrivate key used to authenticate data included in …\nTransport configuration to use for incoming connections\nSet a custom TransportConfig\nSets a custom quinn::TransportConfig for this endpoint.\nSucceeds iff x < 2^62\nSucceeds iff x < 2^62\nSucceeds iff x < 2^62\nThe origin of this direct address.\nStatistics about UDP datagrams received on a connection\nStatistics about UDP datagrams transmitted on a connection\nSpecifies the upper bound to the max UDP payload size that …\nConfiguration for sending and handling validation tokens\nSet a custom ValidationTokenConfig\nNumber of ack-eliciting bytes that may be in flight\nCreate a server config with the given crypto::ServerConfig\nCreate a server config with the given certificate chain to …\nWrite bytes to the stream\nConvenience method to write an entire buffer to the stream\nConvenience method to write an entire list of chunks to …\nConvenience method to write a single chunk in its entirety …\nWrite chunks to the stream\nThe name of the discovery service that discovered the …\nThe name of the application that added the node\nEnum of metrics for the module\nEnum of metrics for the module\nEnum of metrics for the module\nMetrics tracked for the relay server\nNumber of connections we have accepted\nBytes received from a FrameType::SendPacket\nBytes sent from a FrameType::SendPacket\nNumber of connections with a successful handshake that …\nNumber of connections with a successful handshake.\nNumber of client connections which have had any frames …\nFrameType::SendPacket dropped that are disco messages\nFrameType::SendPacket received that are disco messages\nFrameType::SendPacket sent that are disco messages\nNumber of connections we have removed because of an error\nNumber of frames received from client connection which …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nNumber of FrameType::Pings received\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nNumber of nodes we have attempted to contact.\nNumber of nodes we have managed to contact directly.\nThe number of direct connections we have made to peers.\nThe number of direct connections we have lost to peers.\nThe number of connections to peers we have added over …\nThe number of connections to peers we have removed over …\nPackets of other FrameTypes dropped\nPackets of other FrameTypes received\nPackets of other FrameTypes sent\nNumber of QUIC datagrams received.\nNumber of datagrams received using GRO\nNumber of accepted ‘iroh derp http’ connection upgrades\nFrameType::SendPacket dropped, that are not disco messages\nFrameType::SendPacket received, that are not disco messages\nFrameType::SendPacket sent, that are not disco messages\nNumber of FrameType::Pongs sent\nNumber of unique client keys per day\nNumber of FrameType::Unknown received\nNumber of accepted websocket connections\nHandler for incoming connections.\nThe built router.\nBuilder for creating a Router for accepting protocols.\nHandle an incoming connection.\nConfigures the router to accept the ProtocolHandler when …\nCreates a new Router using given Endpoint.\nReturns the Endpoint stored in this router.\nReturns the Endpoint of the node.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nChecks if the router is already shutdown.\nCreates a new router builder using given Endpoint.\nCalled when the node shuts down.\nShuts down the accept loop cleanly.\nSpawns an accept loop and returns a handle to it …\nA drop guard to clean up test infrastructure.\nHandle and drop guard for test DNS and Pkarr servers.\nCreate a ConcurrentDiscovery with DnsDiscovery and …\nCreate a DnsResolver configured to use the test DNS server.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nThe socket address of the DNS server.\nThe node origin domain.\nWait until a Pkarr announce for a node is published to the …\nThe HTTP URL of the Pkarr server.\nRun DNS and Pkarr servers on localhost.\nRuns a relay server with STUN and QUIC enabled suitable …\nRuns a relay server.\nRuns a relay server with STUN enabled suitable for tests.\nRun DNS and Pkarr servers on localhost with the specified …\nThe error for when a Watcher is disconnected from its …\nFuture returning the current or next value that’s Some …\nFuture returning the next item after the current one in a …\nA wrapper around a value that notifies Watchers when the …\nAn observer for a value.\nA stream for a Watcher’s next values.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the currently stored value.\nReturns the currently held value.\nReturns a future completing once the value is set to Some …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCreates a Watchable initialized to given value.\nSets a new value.\nReturns a stream which will yield the most recent values …\nReturns a stream which will yield the most recent values …\nReturns a future completing with Ok(value) once a new …\nCreates a Watcher allowing the value to be observed, but …") \ No newline at end of file diff --git a/pr/3170/docs/search.desc/iroh_relay/iroh_relay-desc-0-.js b/pr/3170/docs/search.desc/iroh_relay/iroh_relay-desc-0-.js index ffb0cbc7bc..cb345a8271 100644 --- a/pr/3170/docs/search.desc/iroh_relay/iroh_relay-desc-0-.js +++ b/pr/3170/docs/search.desc/iroh_relay/iroh_relay-desc-0-.js @@ -1 +1 @@ -searchState.loadedDescShard("iroh_relay", 0, "Iroh’s relay is a feature within iroh, a peer-to-peer …\nTracks pings on a single relay connection.\nConfiguration of all the relay servers that can be used.\nInformation on a specific relay server.\nConfiguration for speaking to the QUIC endpoint on the …\nExposes Client, which allows to establish connections to a …\nIs this a known node?\nCreates a new RelayMap with a single relay server …\nReturns the current timeout set for pings.\nDefault values used in the relay.\nCreate an empty relay map.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstructs the RelayMap from an iterator of RelayNodes.\nReturns a RelayMap from a RelayUrl.\nGet the given node.\nHTTP-specific constants for the relay server and client.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nAre there any nodes in this map?\nHow many nodes are known?\nCreates a new ping tracker, setting the ping timeout for …\nStarts a new ping.\nReturns an Iterator over all known nodes.\nUpdates the ping tracker with a received pong.\nThe port on which the connection should be bound to.\nProtocols used by the iroh-relay\nCreate a QUIC server that accepts connections for QUIC …\nConfiguration to speak to the QUIC endpoint on the relay …\nA fully-fledged iroh-relay server over HTTP or HTTPS.\nWhether this relay server should only be used for STUN …\nThe stun port of the relay server.\nCancel-safe waiting for a ping timeout.\nThe RelayUrl where this relay server can be dialed.\nReturns the sorted relay URLs.\nA relay client.\nBuild a Client.\nThe send half of a relay client.\nThe receive half of a relay client.\nError for sending messages to the relay server.\nA one-way message from server to client, declaring the …\nAn IO error.\nA one-way empty message from server to client, just to …\nIndicates that the client identified by the underlying …\nRequest from a client or server to reply to the other side …\nSends a ping message to the connected relay server.\nReply to a ReceivedMessage::Ping from a client or server …\nSends a pong message to the connected relay server.\nA protocol error.\nThe messages received from a framed relay stream.\nRepresents an incoming packet.\nMessages we can send to a relay server.\nSend a packet of data to the NodeId.\nA one-way message from server to client, advertising that …\nReturns if we should prefer ipv6 it replaces the …\nEstablishes a new connection to the relay server.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nSkip the verification of the relay server’s SSL …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nIndicates this client is a prober\nSet the capacity of the cache for public keys.\nReturns the local address of the client.\nCreates a client config that trusts any servers without …\nCreate a new ClientBuilder\nSets whether to connect to the relay via websockets or not.\nSet an explicit proxy url to proxy all HTTP(S) traffic …\nSplits the client into a sink and a stream.\nThe received packet bytes.\nIf set, is a description of why the connection is …\nAn advisory duration that the client should wait before …\nThe NodeId of the packet sender.\nAn advisory duration for how long the client should …\nThe default HTTPS port used by the Relay server.\nThe default HTTP port used by the Relay server.\nThe default capacity of the key cache for the relay server.\nThe default metrics port used by the Relay server.\nThe default QUIC port used by the Relay server to accept …\nThe default STUN port used by the Relay server.\nThe HTTP upgrade protocol used for relaying.\nThe HTTP path under which the relay accepts relaying …\nThe HTTP path under which the relay allows doing latency …\nRelays over the custom relaying protocol with a custom …\nRelays over websockets.\nReturns the argument unchanged.\nCalls U::from(self).\nTries to match the value of an HTTP upgrade header to …\nThe HTTP upgrade header used or expected.\nThis module exports looks_like_disco_wrapper as the only …\nThis module implements the relaying protocol used by the …\nSTUN packets sending and receiving.\nThe 6 byte header of all discovery messages.\nReports whether p looks like it’s a packet containing an …\nThe maximum size of a packet sent over relay. (This only …\nThe AlternateServeratribute\nErrors that can occur when handling a STUN packet.\nThe ErrorCodeatribute\nerror response\nThe Fingerprintatribute\nindication\nSTUN request had bogus fingerprint.\nThe STUN message could not be parsed or is otherwise …\nSTUN response has malformed attributes.\nThe MappedAddressatribute\nThe STUN message class. Although there are four message …\nClass used to decode STUN messages\nThe MessageIntegrityatribute\nThe MessageIntegritySha256atribute\nSTUN request didn’t end in fingerprint.\nThe Nonceatribute\nSTUN request is not a binding request when it should be.\nSTUN packet is not a response when it should be.\nThe PasswordAlgorithmatribute\nThe PasswordAlgorithmsatribute\nThe Realmatribute\nrequest\nThe Softwareatribute\nSTUN Attributes that can be attached to a StunMessage\nDescribes an error decoding a StunMessage\nsuccess response\nThe transaction ID is a 96-bit identifier, used to …\nThe Unknownatribute\nThe UnknownAttributesatribute\nThe UserHashatribute\nThe UserNameatribute\nThe XorMappedAddressatribute\nReturns a reference to the internal attribute value or an …\nReturns a reference to the bytes that represents the …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns the STUN attribute type of this instance.\nDecodes the STUN raw buffer\nCreates a cryptographically random transaction ID chosen …\nReturns a reference to the AlternateServer attribute.\nReturns a reference to the ErrorCode attribute.\nReturns a reference to the Fingerprint attribute.\nReturns a reference to the MappedAddress attribute.\nReturns a reference to the MessageIntegrity attribute.\nReturns a reference to the MessageIntegritySha256 …\nReturns a reference to the Nonce attribute.\nReturns a reference to the PasswordAlgorithm attribute.\nReturns a reference to the PasswordAlgorithms attribute.\nReturns a reference to the Realm attribute.\nReturns a reference to the Software attribute.\nReturns a reference to the Unknown attribute.\nReturns a reference to the UnknownAttributes attribute.\nReturns a reference to the UserHash attribute.\nReturns a reference to the UserName attribute.\nReturns a reference to the XorMappedAddress attribute.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nGets the context associated to this decoder\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nReports whether b is a STUN message.\nReturns true if this StunAttribute is AlternateServer\nReturns true if this StunAttribute is ErrorCode\nReturns true if this StunAttribute is Fingerprint\nReturns true if this StunAttribute is MappedAddress\nReturns true if this StunAttribute is MessageIntegrity\nReturns true if this StunAttribute is …\nReturns true if this StunAttribute is Nonce\nReturns true if this StunAttribute is PasswordAlgorithm\nReturns true if this StunAttribute is PasswordAlgorithms\nReturns true if this StunAttribute is Realm\nReturns true if this StunAttribute is Software\nReturns true if this StunAttribute is Unknown\nReturns true if this StunAttribute is UnknownAttributes\nReturns true if this StunAttribute is UserHash\nReturns true if this StunAttribute is UserName\nReturns true if this StunAttribute is XorMappedAddress\nSTUN Methods Registry\nParses a STUN binding request.\nParses a successful binding response STUN packet. The IP …\nGenerates a binding request STUN packet.\nGenerates a binding response.\nBinding\nReserved\nShared secret\nALPN for our quic addr discovery\nEndpoint close error code\nEndpoint close reason\nHandles the client side of QUIC address discovery.\nReturns the argument unchanged.\nClient side of QUIC address discovery.\nCalls U::from(self).\nCreate a new QuicClient to handle the client side of QUIC …\nAccess restriction for a node.\nControls which nodes are allowed to use the relay.\nAccess is allowed.\nTLS certificate configuration.\nPer-client rate limit configuration.\nThe default certificate reload interval.\nAccess is denied.\nEveryone\nUse Let’s Encrypt.\nRate limits.\nUse a static TLS key and certificate chain.\nMetrics tracked for the relay server\nConfiguration for the QUIC server.\nConfiguration for the Relay HTTP and HTTPS server.\nUse a TLS key and certificate chain that can be reloaded.\nA Certificate resolver that reloads the certificate every …\nOnly nodes for which the function returns Access::Allow.\nA running Relay + STUN server.\nConfiguration for the full Relay & STUN server.\nConfiguration for the STUN server.\nStunMetrics tracked for the relay server\nTLS configuration for Relay server.\nBurst limit for accepting new connection. Unlimited if not …\nRate limit for accepting new connection. Unlimited if not …\nNumber of connections we have accepted\nAccess configuration.\nNumber of bad requests, either non-stun packets or …\nThe socket address on which the STUN server should bind.\nThe socket address on which the QUIC server should bind.\nMax number of bytes per second to read from the client …\nBytes received from a FrameType::SendPacket\nBytes sent from a FrameType::SendPacket\nMode for getting a cert.\nThe certificates chain if configured with manual TLS …\nRate limits for incoming traffic from a client connection.\nNumber of client connections which have had any frames …\nFrameType::SendPacket dropped that are disco messages\nFrameType::SendPacket received that are disco messages\nFrameType::SendPacket sent that are disco messages\nNumber of connections we have removed because of an error\nNumber of failures\nNumber of frames received from client connection which …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nNumber of FrameType::Pings received\nThe socket address the HTTP server is listening on.\nThe socket address on which the Relay HTTP server should …\nGet the server’s http RelayUrl.\nThe socket address the HTTPS server is listening on.\nThe socket address on which to serve the HTTPS server.\nGet the server’s https RelayUrl.\nPerform the initial load and construct the …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nNumber of successful requests over ipv4\nNumber of successful requests over ipv6\nIs this node allowed?\nKey cache capacity.\nRate limits.\nMax number of bytes to read in a single burst.\nSocket to serve metrics on.\nPackets of other FrameTypes dropped\nPackets of other FrameTypes received\nPackets of other FrameTypes sent\nConfiguration for the QUIC server, disabled if None.\nThe socket address the QUIC server is listening on.\nThe socket address on which to server the QUIC server is …\nConfiguration for the Relay server, disabled if None.\nNumber of accepted ‘iroh derp http’ connection upgrades\nReload the certificate.\nNumber of stun requests made\nFrameType::SendPacket dropped, that are not disco messages\nFrameType::SendPacket received, that are not disco messages\nFrameType::SendPacket sent, that are not disco messages\nNumber of FrameType::Pongs sent\nThe TLS server configuration for the QUIC server.\nThe server configuration.\nShutdown the resolver.\nRequests graceful shutdown.\nStarts the server.\nConfiguration for the STUN server, disabled if None.\nThe socket address the STUN server is listening on.\nReturns the handle for the task.\nExposes functions to quickly configure a server suitable …\nTLS configuration for the HTTPS server.\nNumber of unique client keys per day\nNumber of FrameType::Unknown received\nNumber of accepted websocket connections\nThe TLS certificate chain.\nState for Let’s Encrypt certificates.\nCreates a QuicConfig suitable for testing.\nCreates a RelayConfig suitable for testing.\nCreates a rustls::ServerConfig and certificates suitable …\nCreates a ServerConfig suitable for testing.\nCreates a StunConfig suitable for testing.\nCreates a TlsConfig suitable for testing.") \ No newline at end of file +searchState.loadedDescShard("iroh_relay", 0, "Iroh’s relay is a feature within iroh, a peer-to-peer …\nTracks pings on a single relay connection.\nConfiguration of all the relay servers that can be used.\nInformation on a specific relay server.\nConfiguration for speaking to the QUIC endpoint on the …\nExposes Client, which allows to establish connections to a …\nIs this a known node?\nCreates a new RelayMap with a single relay server …\nReturns the current timeout set for pings.\nDefault values used in the relay.\nDNS resolver\nCreate an empty relay map.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstructs the RelayMap from an iterator of RelayNodes.\nReturns a RelayMap from a RelayUrl.\nGet the given node.\nHTTP-specific constants for the relay server and client.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nAre there any nodes in this map?\nHow many nodes are known?\nCreates a new ping tracker, setting the ping timeout for …\nStarts a new ping.\nReturns an Iterator over all known nodes.\nUpdates the ping tracker with a received pong.\nThe port on which the connection should be bound to.\nProtocols used by the iroh-relay\nCreate a QUIC server that accepts connections for QUIC …\nConfiguration to speak to the QUIC endpoint on the relay …\nA fully-fledged iroh-relay server over HTTP or HTTPS.\nWhether this relay server should only be used for STUN …\nThe stun port of the relay server.\nCancel-safe waiting for a ping timeout.\nThe RelayUrl where this relay server can be dialed.\nReturns the sorted relay URLs.\nA relay client.\nBuild a Client.\nThe send half of a relay client.\nThe receive half of a relay client.\nError for sending messages to the relay server.\nA one-way message from server to client, declaring the …\nAn IO error.\nA one-way empty message from server to client, just to …\nIndicates that the client identified by the underlying …\nRequest from a client or server to reply to the other side …\nSends a ping message to the connected relay server.\nReply to a ReceivedMessage::Ping from a client or server …\nSends a pong message to the connected relay server.\nA protocol error.\nThe messages received from a framed relay stream.\nRepresents an incoming packet.\nMessages we can send to a relay server.\nSend a packet of data to the NodeId.\nA one-way message from server to client, advertising that …\nReturns if we should prefer ipv6 it replaces the …\nEstablishes a new connection to the relay server.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nSkip the verification of the relay server’s SSL …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nIndicates this client is a prober\nSet the capacity of the cache for public keys.\nReturns the local address of the client.\nCreates a client config that trusts any servers without …\nCreate a new ClientBuilder\nSets whether to connect to the relay via websockets or not.\nSet an explicit proxy url to proxy all HTTP(S) traffic …\nSplits the client into a sink and a stream.\nThe received packet bytes.\nIf set, is a description of why the connection is …\nAn advisory duration that the client should wait before …\nThe NodeId of the packet sender.\nAn advisory duration for how long the client should …\nThe default HTTPS port used by the Relay server.\nThe default HTTP port used by the Relay server.\nThe default capacity of the key cache for the relay server.\nThe default metrics port used by the Relay server.\nThe default QUIC port used by the Relay server to accept …\nThe default STUN port used by the Relay server.\nThe DNS resolver used throughout iroh.\nThe n0 testing DNS node origin, for production.\nThe n0 testing DNS node origin, for testing.\nRecord data for a TXT record\nTXT records returned from DnsResolver::lookup_txt\nRemoves all entries from the cache.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nPerform an ipv4 lookup with a timeout.\nResolve IPv4 and IPv6 in parallel with a timeout.\nRace an ipv4 and ipv6 lookup with a timeout in a staggered …\nPerform an ipv4 lookup with a timeout in a staggered …\nPerform an ipv6 lookup with a timeout.\nPerform an ipv6 lookup with a timeout in a staggered …\nLooks up node info by DNS name.\nLooks up node info by DNS name in a staggered fashion.\nLooks up node info by NodeId and origin domain name.\nLooks up node info by NodeId and origin domain name.\nLookup a TXT record.\nCreate a new DNS resolver with sensible cross-platform …\nSupport for handling DNS resource records for dialing by …\nResolve a hostname from a URL to an IP address.\nReturns the raw character strings of this TXT record.\nCreate a new DNS resolver configured with a single UDP DNS …\nThe DNS name for the iroh TXT record.\nExtension methods for NodeId to encode to and decode from …\nInformation about the iroh node contained in an …\nAny direct addresses.\nReturns the argument unchanged.\nParses a NodeInfo from a pkarr::SignedPacket.\nParses a NodeInfo from a TXT records lookup.\nParses a NodeId from [z-base-32] encoding.\nCalls U::from(self).\nCreates a new NodeInfo from its parts.\nThe NodeId.\nThe advertised home relay server.\nCreates a pkarr::SignedPacket.\nConverts into a list of {key}={value} strings.\nEncodes a NodeId in [z-base-32] encoding.\nThe HTTP upgrade protocol used for relaying.\nThe HTTP path under which the relay accepts relaying …\nThe HTTP path under which the relay allows doing latency …\nRelays over the custom relaying protocol with a custom …\nRelays over websockets.\nReturns the argument unchanged.\nCalls U::from(self).\nTries to match the value of an HTTP upgrade header to …\nThe HTTP upgrade header used or expected.\nThis module exports looks_like_disco_wrapper as the only …\nThis module implements the relaying protocol used by the …\nSTUN packets sending and receiving.\nThe 6 byte header of all discovery messages.\nReports whether p looks like it’s a packet containing an …\nThe maximum size of a packet sent over relay. (This only …\nThe AlternateServeratribute\nErrors that can occur when handling a STUN packet.\nThe ErrorCodeatribute\nerror response\nThe Fingerprintatribute\nindication\nSTUN request had bogus fingerprint.\nThe STUN message could not be parsed or is otherwise …\nSTUN response has malformed attributes.\nThe MappedAddressatribute\nThe STUN message class. Although there are four message …\nClass used to decode STUN messages\nThe MessageIntegrityatribute\nThe MessageIntegritySha256atribute\nSTUN request didn’t end in fingerprint.\nThe Nonceatribute\nSTUN request is not a binding request when it should be.\nSTUN packet is not a response when it should be.\nThe PasswordAlgorithmatribute\nThe PasswordAlgorithmsatribute\nThe Realmatribute\nrequest\nThe Softwareatribute\nSTUN Attributes that can be attached to a StunMessage\nDescribes an error decoding a StunMessage\nsuccess response\nThe transaction ID is a 96-bit identifier, used to …\nThe Unknownatribute\nThe UnknownAttributesatribute\nThe UserHashatribute\nThe UserNameatribute\nThe XorMappedAddressatribute\nReturns a reference to the internal attribute value or an …\nReturns a reference to the bytes that represents the …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns the STUN attribute type of this instance.\nDecodes the STUN raw buffer\nCreates a cryptographically random transaction ID chosen …\nReturns a reference to the AlternateServer attribute.\nReturns a reference to the ErrorCode attribute.\nReturns a reference to the Fingerprint attribute.\nReturns a reference to the MappedAddress attribute.\nReturns a reference to the MessageIntegrity attribute.\nReturns a reference to the MessageIntegritySha256 …\nReturns a reference to the Nonce attribute.\nReturns a reference to the PasswordAlgorithm attribute.\nReturns a reference to the PasswordAlgorithms attribute.\nReturns a reference to the Realm attribute.\nReturns a reference to the Software attribute.\nReturns a reference to the Unknown attribute.\nReturns a reference to the UnknownAttributes attribute.\nReturns a reference to the UserHash attribute.\nReturns a reference to the UserName attribute.\nReturns a reference to the XorMappedAddress attribute.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nGets the context associated to this decoder\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nReports whether b is a STUN message.\nReturns true if this StunAttribute is AlternateServer\nReturns true if this StunAttribute is ErrorCode\nReturns true if this StunAttribute is Fingerprint\nReturns true if this StunAttribute is MappedAddress\nReturns true if this StunAttribute is MessageIntegrity\nReturns true if this StunAttribute is …\nReturns true if this StunAttribute is Nonce\nReturns true if this StunAttribute is PasswordAlgorithm\nReturns true if this StunAttribute is PasswordAlgorithms\nReturns true if this StunAttribute is Realm\nReturns true if this StunAttribute is Software\nReturns true if this StunAttribute is Unknown\nReturns true if this StunAttribute is UnknownAttributes\nReturns true if this StunAttribute is UserHash\nReturns true if this StunAttribute is UserName\nReturns true if this StunAttribute is XorMappedAddress\nSTUN Methods Registry\nParses a STUN binding request.\nParses a successful binding response STUN packet. The IP …\nGenerates a binding request STUN packet.\nGenerates a binding response.\nBinding\nReserved\nShared secret\nALPN for our quic addr discovery\nEndpoint close error code\nEndpoint close reason\nHandles the client side of QUIC address discovery.\nReturns the argument unchanged.\nClient side of QUIC address discovery.\nCalls U::from(self).\nCreate a new QuicClient to handle the client side of QUIC …\nAccess restriction for a node.\nControls which nodes are allowed to use the relay.\nAccess is allowed.\nTLS certificate configuration.\nPer-client rate limit configuration.\nThe default certificate reload interval.\nAccess is denied.\nEveryone\nUse Let’s Encrypt.\nRate limits.\nUse a static TLS key and certificate chain.\nMetrics tracked for the relay server\nConfiguration for the QUIC server.\nConfiguration for the Relay HTTP and HTTPS server.\nUse a TLS key and certificate chain that can be reloaded.\nA Certificate resolver that reloads the certificate every …\nOnly nodes for which the function returns Access::Allow.\nA running Relay + STUN server.\nConfiguration for the full Relay & STUN server.\nConfiguration for the STUN server.\nStunMetrics tracked for the relay server\nTLS configuration for Relay server.\nBurst limit for accepting new connection. Unlimited if not …\nRate limit for accepting new connection. Unlimited if not …\nNumber of connections we have accepted\nAccess configuration.\nNumber of bad requests, either non-stun packets or …\nThe socket address on which the STUN server should bind.\nThe socket address on which the QUIC server should bind.\nMax number of bytes per second to read from the client …\nBytes received from a FrameType::SendPacket\nBytes sent from a FrameType::SendPacket\nMode for getting a cert.\nThe certificates chain if configured with manual TLS …\nRate limits for incoming traffic from a client connection.\nNumber of client connections which have had any frames …\nFrameType::SendPacket dropped that are disco messages\nFrameType::SendPacket received that are disco messages\nFrameType::SendPacket sent that are disco messages\nNumber of connections we have removed because of an error\nNumber of failures\nNumber of frames received from client connection which …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nNumber of FrameType::Pings received\nThe socket address the HTTP server is listening on.\nThe socket address on which the Relay HTTP server should …\nGet the server’s http RelayUrl.\nThe socket address the HTTPS server is listening on.\nThe socket address on which to serve the HTTPS server.\nGet the server’s https RelayUrl.\nPerform the initial load and construct the …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nNumber of successful requests over ipv4\nNumber of successful requests over ipv6\nIs this node allowed?\nKey cache capacity.\nRate limits.\nMax number of bytes to read in a single burst.\nSocket to serve metrics on.\nPackets of other FrameTypes dropped\nPackets of other FrameTypes received\nPackets of other FrameTypes sent\nConfiguration for the QUIC server, disabled if None.\nThe socket address the QUIC server is listening on.\nThe socket address on which to server the QUIC server is …\nConfiguration for the Relay server, disabled if None.\nNumber of accepted ‘iroh derp http’ connection upgrades\nReload the certificate.\nNumber of stun requests made\nFrameType::SendPacket dropped, that are not disco messages\nFrameType::SendPacket received, that are not disco messages\nFrameType::SendPacket sent, that are not disco messages\nNumber of FrameType::Pongs sent\nThe TLS server configuration for the QUIC server.\nThe server configuration.\nShutdown the resolver.\nRequests graceful shutdown.\nStarts the server.\nConfiguration for the STUN server, disabled if None.\nThe socket address the STUN server is listening on.\nReturns the handle for the task.\nExposes functions to quickly configure a server suitable …\nTLS configuration for the HTTPS server.\nNumber of unique client keys per day\nNumber of FrameType::Unknown received\nNumber of accepted websocket connections\nThe TLS certificate chain.\nState for Let’s Encrypt certificates.\nCreates a QuicConfig suitable for testing.\nCreates a RelayConfig suitable for testing.\nCreates a rustls::ServerConfig and certificates suitable …\nCreates a ServerConfig suitable for testing.\nCreates a StunConfig suitable for testing.\nCreates a TlsConfig suitable for testing.") \ No newline at end of file diff --git a/pr/3170/docs/src-files.js b/pr/3170/docs/src-files.js index 2d845ef0e7..d5144027ed 100644 --- a/pr/3170/docs/src-files.js +++ b/pr/3170/docs/src-files.js @@ -1,3 +1,3 @@ -var srcIndex = new Map(JSON.parse('[["bulk",["",[],["bulk.rs"]]],["iroh",["",[["discovery",[["pkarr",[],["dht.rs"]]],["dns.rs","local_swarm_discovery.rs","pkarr.rs","static_provider.rs"]],["dns",[],["node_info.rs"]],["endpoint",[],["rtt_actor.rs"]],["magicsock",[["node_map",[],["best_addr.rs","node_state.rs","path_state.rs","udp_paths.rs"]]],["metrics.rs","node_map.rs","relay_actor.rs","udp_conn.rs"]],["tls",[],["certificate.rs","verifier.rs"]]],["defaults.rs","disco.rs","discovery.rs","dns.rs","endpoint.rs","key.rs","lib.rs","magicsock.rs","metrics.rs","protocol.rs","test_utils.rs","tls.rs","util.rs","watchable.rs"]]],["iroh_base",["",[["ticket",[],["node.rs"]]],["key.rs","lib.rs","node_addr.rs","relay_url.rs","ticket.rs"]]],["iroh_bench",["",[],["iroh.rs","lib.rs","quinn.rs","s2n.rs","stats.rs"]]],["iroh_dns_server",["",[["dns",[],["node_authority.rs"]],["http",[["doh",[],["extract.rs","response.rs"]]],["doh.rs","error.rs","pkarr.rs","rate_limiting.rs","tls.rs"]],["store",[],["signed_packets.rs"]]],["config.rs","dns.rs","http.rs","lib.rs","metrics.rs","server.rs","state.rs","store.rs","util.rs"]]],["iroh_net_report",["",[["reportgen",[],["hairpin.rs","probes.rs"]]],["defaults.rs","dns.rs","ip_mapped_addrs.rs","lib.rs","metrics.rs","ping.rs","reportgen.rs"]]],["iroh_relay",["",[["client",[],["conn.rs","connect_relay.rs","streams.rs","util.rs"]],["protos",[],["disco.rs","relay.rs","stun.rs"]],["server",[],["client.rs","clients.rs","http_server.rs","metrics.rs","resolver.rs","streams.rs","testing.rs"]]],["client.rs","defaults.rs","http.rs","key_cache.rs","lib.rs","ping_tracker.rs","protos.rs","quic.rs","relay_map.rs","server.rs"]]]]')); +var srcIndex = new Map(JSON.parse('[["bulk",["",[],["bulk.rs"]]],["iroh",["",[["discovery",[["pkarr",[],["dht.rs"]]],["dns.rs","local_swarm_discovery.rs","pkarr.rs","static_provider.rs"]],["endpoint",[],["rtt_actor.rs"]],["magicsock",[["node_map",[],["best_addr.rs","node_state.rs","path_state.rs","udp_paths.rs"]]],["metrics.rs","node_map.rs","relay_actor.rs","udp_conn.rs"]],["tls",[],["certificate.rs","verifier.rs"]]],["defaults.rs","disco.rs","discovery.rs","dns.rs","endpoint.rs","key.rs","lib.rs","magicsock.rs","metrics.rs","protocol.rs","test_utils.rs","tls.rs","util.rs","watchable.rs"]]],["iroh_base",["",[["ticket",[],["node.rs"]]],["key.rs","lib.rs","node_addr.rs","relay_url.rs","ticket.rs"]]],["iroh_bench",["",[],["iroh.rs","lib.rs","quinn.rs","s2n.rs","stats.rs"]]],["iroh_dns_server",["",[["dns",[],["node_authority.rs"]],["http",[["doh",[],["extract.rs","response.rs"]]],["doh.rs","error.rs","pkarr.rs","rate_limiting.rs","tls.rs"]],["store",[],["signed_packets.rs"]]],["config.rs","dns.rs","http.rs","lib.rs","metrics.rs","server.rs","state.rs","store.rs","util.rs"]]],["iroh_net_report",["",[["reportgen",[],["hairpin.rs","probes.rs"]]],["defaults.rs","dns.rs","ip_mapped_addrs.rs","lib.rs","metrics.rs","ping.rs","reportgen.rs"]]],["iroh_relay",["",[["client",[],["conn.rs","connect_relay.rs","streams.rs","util.rs"]],["dns",[],["node_info.rs"]],["protos",[],["disco.rs","relay.rs","stun.rs"]],["server",[],["client.rs","clients.rs","http_server.rs","metrics.rs","resolver.rs","streams.rs","testing.rs"]]],["client.rs","defaults.rs","dns.rs","http.rs","key_cache.rs","lib.rs","ping_tracker.rs","protos.rs","quic.rs","relay_map.rs","server.rs"]]]]')); createSrcSidebar(); -//{"start":36,"fragment_lengths":[28,562,109,75,306,164,378]} \ No newline at end of file +//{"start":36,"fragment_lengths":[28,534,109,75,306,164,415]} \ No newline at end of file diff --git a/pr/3170/docs/src/iroh/discovery.rs.html b/pr/3170/docs/src/iroh/discovery.rs.html index c277911c6d..06fb07ccaa 100644 --- a/pr/3170/docs/src/iroh/discovery.rs.html +++ b/pr/3170/docs/src/iroh/discovery.rs.html @@ -1648,11 +1648,9 @@ use crate::{ discovery::pkarr::PkarrPublisher, - dns::{node_info::NodeInfo, ResolverExt}, + dns::{node_info::NodeInfo, DnsResolver}, test_utils::{ - dns_server::{create_dns_resolver, run_dns_server}, - pkarr_dns_state::State, - run_relay_server, DnsPkarrServer, + dns_server::run_dns_server, pkarr_dns_state::State, run_relay_server, DnsPkarrServer, }, Endpoint, RelayMode, }; @@ -1675,8 +1673,10 @@ let signed_packet = node_info.to_pkarr_signed_packet(&secret_key, 30)?; state.upsert(signed_packet)?; - let resolver = create_dns_resolver(nameserver)?; - let resolved = resolver.lookup_by_id(&node_info.node_id, &origin).await?; + let resolver = DnsResolver::with_nameserver(nameserver); + let resolved = resolver + .lookup_node_by_id(&node_info.node_id, &origin) + .await?; assert_eq!(resolved, node_info.into()); @@ -1695,13 +1695,13 @@ let relay_url = Some("https://relay.example".parse().unwrap()); - let resolver = create_dns_resolver(dns_pkarr_server.nameserver)?; + let resolver = DnsResolver::with_nameserver(dns_pkarr_server.nameserver); let publisher = PkarrPublisher::new(secret_key, dns_pkarr_server.pkarr_url.clone()); // does not block, update happens in background task publisher.update_addr_info(relay_url.as_ref(), &Default::default()); // wait until our shared state received the update from pkarr publishing dns_pkarr_server.on_node(&node_id, PUBLISH_TIMEOUT).await?; - let resolved = resolver.lookup_by_id(&node_id, &origin).await?; + let resolved = resolver.lookup_node_by_id(&node_id, &origin).await?; let expected = NodeAddr { node_id, diff --git a/pr/3170/docs/src/iroh/discovery/dns.rs.html b/pr/3170/docs/src/iroh/discovery/dns.rs.html index 9319c71964..2ce6d45008 100644 --- a/pr/3170/docs/src/iroh/discovery/dns.rs.html +++ b/pr/3170/docs/src/iroh/discovery/dns.rs.html @@ -80,29 +80,19 @@ 79 80 81 -82 -83 -84 -85 -86 -87
    //! DNS node discovery for iroh
    +82

    //! DNS node discovery for iroh
     
     use anyhow::Result;
     use iroh_base::NodeId;
    +pub use iroh_relay::dns::{N0_DNS_NODE_ORIGIN_PROD, N0_DNS_NODE_ORIGIN_STAGING};
     use n0_future::boxed::BoxStream;
     
     use crate::{
         discovery::{Discovery, DiscoveryItem},
    -    dns::ResolverExt,
         endpoint::force_staging_infra,
         Endpoint,
     };
     
    -/// The n0 testing DNS node origin, for production.
    -pub const N0_DNS_NODE_ORIGIN_PROD: &str = "dns.iroh.link";
    -/// The n0 testing DNS node origin, for testing.
    -pub const N0_DNS_NODE_ORIGIN_STAGING: &str = "staging-dns.iroh.link";
    -
     const DNS_STAGGERING_MS: &[u64] = &[200, 300];
     
     /// DNS node discovery
    @@ -160,7 +150,7 @@
             let origin_domain = self.origin_domain.clone();
             let fut = async move {
                 let node_addr = resolver
    -                .lookup_by_id_staggered(&node_id, &origin_domain, DNS_STAGGERING_MS)
    +                .lookup_node_by_id_staggered(&node_id, &origin_domain, DNS_STAGGERING_MS)
                     .await?;
                 Ok(DiscoveryItem {
                     node_addr,
    diff --git a/pr/3170/docs/src/iroh/dns.rs.html b/pr/3170/docs/src/iroh/dns.rs.html
    index c03cd64285..68f4268018 100644
    --- a/pr/3170/docs/src/iroh/dns.rs.html
    +++ b/pr/3170/docs/src/iroh/dns.rs.html
    @@ -36,787 +36,35 @@
     35
     36
     37
    -38
    -39
    -40
    -41
    -42
    -43
    -44
    -45
    -46
    -47
    -48
    -49
    -50
    -51
    -52
    -53
    -54
    -55
    -56
    -57
    -58
    -59
    -60
    -61
    -62
    -63
    -64
    -65
    -66
    -67
    -68
    -69
    -70
    -71
    -72
    -73
    -74
    -75
    -76
    -77
    -78
    -79
    -80
    -81
    -82
    -83
    -84
    -85
    -86
    -87
    -88
    -89
    -90
    -91
    -92
    -93
    -94
    -95
    -96
    -97
    -98
    -99
    -100
    -101
    -102
    -103
    -104
    -105
    -106
    -107
    -108
    -109
    -110
    -111
    -112
    -113
    -114
    -115
    -116
    -117
    -118
    -119
    -120
    -121
    -122
    -123
    -124
    -125
    -126
    -127
    -128
    -129
    -130
    -131
    -132
    -133
    -134
    -135
    -136
    -137
    -138
    -139
    -140
    -141
    -142
    -143
    -144
    -145
    -146
    -147
    -148
    -149
    -150
    -151
    -152
    -153
    -154
    -155
    -156
    -157
    -158
    -159
    -160
    -161
    -162
    -163
    -164
    -165
    -166
    -167
    -168
    -169
    -170
    -171
    -172
    -173
    -174
    -175
    -176
    -177
    -178
    -179
    -180
    -181
    -182
    -183
    -184
    -185
    -186
    -187
    -188
    -189
    -190
    -191
    -192
    -193
    -194
    -195
    -196
    -197
    -198
    -199
    -200
    -201
    -202
    -203
    -204
    -205
    -206
    -207
    -208
    -209
    -210
    -211
    -212
    -213
    -214
    -215
    -216
    -217
    -218
    -219
    -220
    -221
    -222
    -223
    -224
    -225
    -226
    -227
    -228
    -229
    -230
    -231
    -232
    -233
    -234
    -235
    -236
    -237
    -238
    -239
    -240
    -241
    -242
    -243
    -244
    -245
    -246
    -247
    -248
    -249
    -250
    -251
    -252
    -253
    -254
    -255
    -256
    -257
    -258
    -259
    -260
    -261
    -262
    -263
    -264
    -265
    -266
    -267
    -268
    -269
    -270
    -271
    -272
    -273
    -274
    -275
    -276
    -277
    -278
    -279
    -280
    -281
    -282
    -283
    -284
    -285
    -286
    -287
    -288
    -289
    -290
    -291
    -292
    -293
    -294
    -295
    -296
    -297
    -298
    -299
    -300
    -301
    -302
    -303
    -304
    -305
    -306
    -307
    -308
    -309
    -310
    -311
    -312
    -313
    -314
    -315
    -316
    -317
    -318
    -319
    -320
    -321
    -322
    -323
    -324
    -325
    -326
    -327
    -328
    -329
    -330
    -331
    -332
    -333
    -334
    -335
    -336
    -337
    -338
    -339
    -340
    -341
    -342
    -343
    -344
    -345
    -346
    -347
    -348
    -349
    -350
    -351
    -352
    -353
    -354
    -355
    -356
    -357
    -358
    -359
    -360
    -361
    -362
    -363
    -364
    -365
    -366
    -367
    -368
    -369
    -370
    -371
    -372
    -373
    -374
    -375
    -376
    -377
    -378
    -379
    -380
    -381
    -382
    -383
    -384
    -385
    -386
    -387
    -388
    -389
    -390
    -391
    -392
    -393
    -394
    -395
    -396
    -397
    -398
    -399
    -400
    -401
    -402
    -403
    -404
    -405
    -406
    -407
    -408
    -409
    -410
    -411
    -412
    -413
    -414
    -415
    -416
    -417
    -418
    -419
    -420
    -421
    -422
    -423
    //! This module exports a DNS resolver, which is also the default resolver used in the
    +38

    //! This module exports a DNS resolver, which is also the default resolver used in the
     //! [`crate::Endpoint`] if no custom resolver is configured.
     //!
    -//! It also exports [`ResolverExt`]: A extension trait over [`DnsResolver`] to perform DNS queries
    -//! by ipv4, ipv6, name and node_id. See the [`node_info`] module documentation for details on how
    +//! The resolver provides methods to resolve domain names to ipv4 and ipv6 addresses,
    +//! and to resolve node ids to node addresses.
    +//!
    +//! See the [`node_info`] module documentation for details on how
     //! iroh node records are structured.
     
    -use std::{
    -    fmt::Write,
    -    net::{IpAddr, Ipv6Addr},
    -    sync::OnceLock,
    +pub use iroh_relay::dns::{
    +    node_info, DnsResolver, N0_DNS_NODE_ORIGIN_PROD, N0_DNS_NODE_ORIGIN_STAGING,
     };
     
    -use anyhow::Result;
    -use hickory_resolver::{IntoName, Resolver, TokioResolver};
    -use iroh_base::{NodeAddr, NodeId};
    -use n0_future::{
    -    time::{self, Duration},
    -    Future, StreamExt,
    -};
    -
    -pub mod node_info;
    -
    -/// The DNS resolver type used throughout `iroh`.
    -pub type DnsResolver = TokioResolver;
    -
    -static DNS_RESOLVER: OnceLock<TokioResolver> = OnceLock::new();
    -
    -/// Get a reference to the default DNS resolver.
    -///
    -/// The default resolver can be cheaply cloned and is shared throughout the running process.
    -/// It is configured to use the system's DNS configuration.
    -pub fn default_resolver() -> &'static DnsResolver {
    -    resolver()
    -}
    -
    -/// Get the DNS resolver used within iroh.
    -pub fn resolver() -> &'static TokioResolver {
    -    DNS_RESOLVER.get_or_init(|| create_default_resolver().expect("unable to create DNS resolver"))
    -}
    -
    -/// Deprecated IPv6 site-local anycast addresses still configured by windows.
    -///
    -/// Windows still configures these site-local addresses as soon even as an IPv6 loopback
    -/// interface is configured.  We do not want to use these DNS servers, the chances of them
    -/// being usable are almost always close to zero, while the chance of DNS configuration
    -/// **only** relying on these servers and not also being configured normally are also almost
    -/// zero.  The chance of the DNS resolver accidentally trying one of these and taking a
    -/// bunch of timeouts to figure out they're no good are on the other hand very high.
    -const WINDOWS_BAD_SITE_LOCAL_DNS_SERVERS: [IpAddr; 3] = [
    -    IpAddr::V6(Ipv6Addr::new(0xfec0, 0, 0, 0xffff, 0, 0, 0, 1)),
    -    IpAddr::V6(Ipv6Addr::new(0xfec0, 0, 0, 0xffff, 0, 0, 0, 2)),
    -    IpAddr::V6(Ipv6Addr::new(0xfec0, 0, 0, 0xffff, 0, 0, 0, 3)),
    -];
    -
    -/// Get resolver to query MX records.
    -///
    -/// We first try to read the system's resolver from `/etc/resolv.conf`.
    -/// This does not work at least on some Androids, therefore we fallback
    -/// to the default `ResolverConfig` which uses eg. to google's `8.8.8.8` or `8.8.4.4`.
    -fn create_default_resolver() -> Result<TokioResolver> {
    -    let (system_config, mut options) =
    -        hickory_resolver::system_conf::read_system_conf().unwrap_or_default();
    -
    -    // Copy all of the system config, but strip the bad windows nameservers.  Unfortunately
    -    // there is no easy way to do this.
    -    let mut config = hickory_resolver::config::ResolverConfig::new();
    -    if let Some(name) = system_config.domain() {
    -        config.set_domain(name.clone());
    -    }
    -    for name in system_config.search() {
    -        config.add_search(name.clone());
    -    }
    -    for nameserver_cfg in system_config.name_servers() {
    -        if !WINDOWS_BAD_SITE_LOCAL_DNS_SERVERS.contains(&nameserver_cfg.socket_addr.ip()) {
    -            config.add_name_server(nameserver_cfg.clone());
    -        }
    -    }
    -
    -    // see [`ResolverExt::lookup_ipv4_ipv6`] for info on why we avoid `LookupIpStrategy::Ipv4AndIpv6`
    -    options.ip_strategy = hickory_resolver::config::LookupIpStrategy::Ipv4thenIpv6;
    -
    -    let resolver = Resolver::tokio(config, options);
    -    Ok(resolver)
    -}
    -
    -/// Extension trait to [`DnsResolver`].
    -pub trait ResolverExt {
    -    /// Perform an ipv4 lookup with a timeout.
    -    fn lookup_ipv4<N: IntoName>(
    -        &self,
    -        host: N,
    -        timeout: Duration,
    -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
    -
    -    /// Perform an ipv6 lookup with a timeout.
    -    fn lookup_ipv6<N: IntoName>(
    -        &self,
    -        host: N,
    -        timeout: Duration,
    -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
    -
    -    /// Race an ipv4 and ipv6 lookup with a timeout.
    -    fn lookup_ipv4_ipv6<N: IntoName + Clone>(
    -        &self,
    -        host: N,
    -        timeout: Duration,
    -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
    -
    -    /// Looks up node info by DNS name.
    -    fn lookup_by_name(&self, name: &str) -> impl Future<Output = Result<NodeAddr>>;
    -
    -    /// Looks up node info by [`NodeId`] and origin domain name.
    -    fn lookup_by_id(
    -        &self,
    -        node_id: &NodeId,
    -        origin: &str,
    -    ) -> impl Future<Output = Result<NodeAddr>>;
    -
    -    /// Perform an ipv4 lookup with a timeout in a staggered fashion.
    -    ///
    -    /// From the moment this function is called, each lookup is scheduled after the delays in
    -    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
    -    /// at T+0ms, T+200ms and T+300ms. The `timeout` is applied to each call individually. The
    -    /// result of the first successful call is returned, or a summary of all errors otherwise.
    -    fn lookup_ipv4_staggered<N: IntoName + Clone>(
    -        &self,
    -        host: N,
    -        timeout: Duration,
    -        delays_ms: &[u64],
    -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
    -
    -    /// Perform an ipv6 lookup with a timeout in a staggered fashion.
    -    ///
    -    /// From the moment this function is called, each lookup is scheduled after the delays in
    -    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
    -    /// at T+0ms, T+200ms and T+300ms. The `timeout` is applied to each call individually. The
    -    /// result of the first successful call is returned, or a summary of all errors otherwise.
    -    fn lookup_ipv6_staggered<N: IntoName + Clone>(
    -        &self,
    -        host: N,
    -        timeout: Duration,
    -        delays_ms: &[u64],
    -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
    -
    -    /// Race an ipv4 and ipv6 lookup with a timeout in a staggered fashion.
    -    ///
    -    /// From the moment this function is called, each lookup is scheduled after the delays in
    -    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
    -    /// at T+0ms, T+200ms and T+300ms. The `timeout` is applied as stated in
    -    /// [`Self::lookup_ipv4_ipv6`]. The result of the first successful call is returned, or a
    -    /// summary of all errors otherwise.
    -    fn lookup_ipv4_ipv6_staggered<N: IntoName + Clone>(
    -        &self,
    -        host: N,
    -        timeout: Duration,
    -        delays_ms: &[u64],
    -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
    -
    -    /// Looks up node info by DNS name in a staggered fashion.
    -    ///
    -    /// From the moment this function is called, each lookup is scheduled after the delays in
    -    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
    -    /// at T+0ms, T+200ms and T+300ms. The result of the first successful call is returned, or a
    -    /// summary of all errors otherwise.
    -    fn lookup_by_name_staggered(
    -        &self,
    -        name: &str,
    -        delays_ms: &[u64],
    -    ) -> impl Future<Output = Result<NodeAddr>>;
    -
    -    /// Looks up node info by [`NodeId`] and origin domain name.
    -    ///
    -    /// From the moment this function is called, each lookup is scheduled after the delays in
    -    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
    -    /// at T+0ms, T+200ms and T+300ms. The result of the first successful call is returned, or a
    -    /// summary of all errors otherwise.
    -    fn lookup_by_id_staggered(
    -        &self,
    -        node_id: &NodeId,
    -        origin: &str,
    -        delays_ms: &[u64],
    -    ) -> impl Future<Output = Result<NodeAddr>>;
    -}
    -
    -impl ResolverExt for DnsResolver {
    -    async fn lookup_ipv4<N: IntoName>(
    -        &self,
    -        host: N,
    -        timeout: Duration,
    -    ) -> Result<impl Iterator<Item = IpAddr>> {
    -        let addrs = time::timeout(timeout, self.ipv4_lookup(host)).await??;
    -        Ok(addrs.into_iter().map(|ip| IpAddr::V4(ip.0)))
    -    }
    -
    -    async fn lookup_ipv6<N: IntoName>(
    -        &self,
    -        host: N,
    -        timeout: Duration,
    -    ) -> Result<impl Iterator<Item = IpAddr>> {
    -        let addrs = time::timeout(timeout, self.ipv6_lookup(host)).await??;
    -        Ok(addrs.into_iter().map(|ip| IpAddr::V6(ip.0)))
    -    }
    -
    -    /// Resolve IPv4 and IPv6 in parallel.
    -    ///
    -    /// `LookupIpStrategy::Ipv4AndIpv6` will wait for ipv6 resolution timeout, even if it is
    -    /// not usable on the stack, so we manually query both lookups concurrently and time them out
    -    /// individually.
    -    async fn lookup_ipv4_ipv6<N: IntoName + Clone>(
    -        &self,
    -        host: N,
    -        timeout: Duration,
    -    ) -> Result<impl Iterator<Item = IpAddr>> {
    -        let res = tokio::join!(
    -            self.lookup_ipv4(host.clone(), timeout),
    -            self.lookup_ipv6(host, timeout)
    -        );
    -
    -        match res {
    -            (Ok(ipv4), Ok(ipv6)) => Ok(LookupIter::Both(ipv4.chain(ipv6))),
    -            (Ok(ipv4), Err(_)) => Ok(LookupIter::Ipv4(ipv4)),
    -            (Err(_), Ok(ipv6)) => Ok(LookupIter::Ipv6(ipv6)),
    -            (Err(ipv4_err), Err(ipv6_err)) => {
    -                anyhow::bail!("Ipv4: {:?}, Ipv6: {:?}", ipv4_err, ipv6_err)
    -            }
    -        }
    -    }
    -
    -    /// Looks up node info by DNS name.
    -    ///
    -    /// The resource records returned for `name` must either contain an [`node_info::IROH_TXT_NAME`] TXT
    -    /// record or be a CNAME record that leads to an [`node_info::IROH_TXT_NAME`] TXT record.
    -    async fn lookup_by_name(&self, name: &str) -> Result<NodeAddr> {
    -        let attrs = node_info::TxtAttrs::<node_info::IrohAttr>::lookup_by_name(self, name).await?;
    -        let info: node_info::NodeInfo = attrs.into();
    -        Ok(info.into())
    -    }
    -
    -    /// Looks up node info by [`NodeId`] and origin domain name.
    -    async fn lookup_by_id(&self, node_id: &NodeId, origin: &str) -> Result<NodeAddr> {
    -        let attrs =
    -            node_info::TxtAttrs::<node_info::IrohAttr>::lookup_by_id(self, node_id, origin).await?;
    -        let info: node_info::NodeInfo = attrs.into();
    -        Ok(info.into())
    -    }
    -
    -    /// Perform an ipv4 lookup with a timeout in a staggered fashion.
    -    ///
    -    /// From the moment this function is called, each lookup is scheduled after the delays in
    -    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
    -    /// at T+0ms, T+200ms and T+300ms. The `timeout` is applied to each call individually. The
    -    /// result of the first successful call is returned, or a summary of all errors otherwise.
    -    async fn lookup_ipv4_staggered<N: IntoName + Clone>(
    -        &self,
    -        host: N,
    -        timeout: Duration,
    -        delays_ms: &[u64],
    -    ) -> Result<impl Iterator<Item = IpAddr>> {
    -        let f = || self.lookup_ipv4(host.clone(), timeout);
    -        stagger_call(f, delays_ms).await
    -    }
    -
    -    /// Perform an ipv6 lookup with a timeout in a staggered fashion.
    -    ///
    -    /// From the moment this function is called, each lookup is scheduled after the delays in
    -    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
    -    /// at T+0ms, T+200ms and T+300ms. The `timeout` is applied to each call individually. The
    -    /// result of the first successful call is returned, or a summary of all errors otherwise.
    -    async fn lookup_ipv6_staggered<N: IntoName + Clone>(
    -        &self,
    -        host: N,
    -        timeout: Duration,
    -        delays_ms: &[u64],
    -    ) -> Result<impl Iterator<Item = IpAddr>> {
    -        let f = || self.lookup_ipv6(host.clone(), timeout);
    -        stagger_call(f, delays_ms).await
    -    }
    -
    -    /// Race an ipv4 and ipv6 lookup with a timeout in a staggered fashion.
    -    ///
    -    /// From the moment this function is called, each lookup is scheduled after the delays in
    -    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
    -    /// at T+0ms, T+200ms and T+300ms. The `timeout` is applied as stated in
    -    /// [`Self::lookup_ipv4_ipv6`]. The result of the first successful call is returned, or a
    -    /// summary of all errors otherwise.
    -    async fn lookup_ipv4_ipv6_staggered<N: IntoName + Clone>(
    -        &self,
    -        host: N,
    -        timeout: Duration,
    -        delays_ms: &[u64],
    -    ) -> Result<impl Iterator<Item = IpAddr>> {
    -        let f = || self.lookup_ipv4_ipv6(host.clone(), timeout);
    -        stagger_call(f, delays_ms).await
    -    }
    -
    -    /// Looks up node info by DNS name in a staggered fashion.
    -    ///
    -    /// From the moment this function is called, each lookup is scheduled after the delays in
    -    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
    -    /// at T+0ms, T+200ms and T+300ms. The result of the first successful call is returned, or a
    -    /// summary of all errors otherwise.
    -    async fn lookup_by_name_staggered(&self, name: &str, delays_ms: &[u64]) -> Result<NodeAddr> {
    -        let f = || self.lookup_by_name(name);
    -        stagger_call(f, delays_ms).await
    -    }
    -
    -    /// Looks up node info by [`NodeId`] and origin domain name.
    -    ///
    -    /// From the moment this function is called, each lookup is scheduled after the delays in
    -    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
    -    /// at T+0ms, T+200ms and T+300ms. The result of the first successful call is returned, or a
    -    /// summary of all errors otherwise.
    -    async fn lookup_by_id_staggered(
    -        &self,
    -        node_id: &NodeId,
    -        origin: &str,
    -        delays_ms: &[u64],
    -    ) -> Result<NodeAddr> {
    -        let f = || self.lookup_by_id(node_id, origin);
    -        stagger_call(f, delays_ms).await
    -    }
    -}
    -
    -/// Helper enum to give a unified type to the iterators of [`ResolverExt::lookup_ipv4_ipv6`].
    -enum LookupIter<A, B> {
    -    Ipv4(A),
    -    Ipv6(B),
    -    Both(std::iter::Chain<A, B>),
    -}
    -
    -impl<A: Iterator<Item = IpAddr>, B: Iterator<Item = IpAddr>> Iterator for LookupIter<A, B> {
    -    type Item = IpAddr;
    -
    -    fn next(&mut self) -> Option<Self::Item> {
    -        match self {
    -            LookupIter::Ipv4(iter) => iter.next(),
    -            LookupIter::Ipv6(iter) => iter.next(),
    -            LookupIter::Both(iter) => iter.next(),
    -        }
    -    }
    -}
    -
    -/// Staggers calls to the future F with the given delays.
    -///
    -/// The first call is performed immediately. The first call to succeed generates an Ok result
    -/// ignoring any previous error. If all calls fail, an error summarizing all errors is returned.
    -async fn stagger_call<T, F: Fn() -> Fut, Fut: Future<Output = Result<T>>>(
    -    f: F,
    -    delays_ms: &[u64],
    -) -> Result<T> {
    -    let mut calls = n0_future::FuturesUnorderedBounded::new(delays_ms.len() + 1);
    -    // NOTE: we add the 0 delay here to have a uniform set of futures. This is more performant than
    -    // using alternatives that allow futures of different types.
    -    for delay in std::iter::once(&0u64).chain(delays_ms) {
    -        let delay = Duration::from_millis(*delay);
    -        let fut = f();
    -        let staggered_fut = async move {
    -            time::sleep(delay).await;
    -            fut.await
    -        };
    -        calls.push(staggered_fut)
    -    }
    -
    -    let mut errors = vec![];
    -    while let Some(call_result) = calls.next().await {
    -        match call_result {
    -            Ok(t) => return Ok(t),
    -            Err(e) => errors.push(e),
    -        }
    -    }
    -
    -    anyhow::bail!(
    -        "no calls succeed: [ {}]",
    -        errors.into_iter().fold(String::new(), |mut summary, e| {
    -            write!(summary, "{e} ").expect("infallible");
    -            summary
    -        })
    -    )
    -}
    -
     #[cfg(test)]
     pub(crate) mod tests {
    -    use std::sync::atomic::AtomicUsize;
    +    use std::time::Duration;
     
         use tracing_test::traced_test;
     
    -    use super::*;
    +    use super::DnsResolver;
         use crate::defaults::staging::NA_RELAY_HOSTNAME;
    +
         const TIMEOUT: Duration = Duration::from_secs(5);
         const STAGGERING_DELAYS: &[u64] = &[200, 300];
     
         #[tokio::test]
         #[traced_test]
         async fn test_dns_lookup_ipv4_ipv6() {
    -        let resolver = default_resolver();
    +        let resolver = DnsResolver::new();
             let res: Vec<_> = resolver
                 .lookup_ipv4_ipv6_staggered(NA_RELAY_HOSTNAME, TIMEOUT, STAGGERING_DELAYS)
                 .await
    @@ -825,23 +73,5 @@
             assert!(!res.is_empty());
             dbg!(res);
         }
    -
    -    #[tokio::test]
    -    #[traced_test]
    -    async fn stagger_basic() {
    -        const CALL_RESULTS: &[Result<u8, u8>] = &[Err(2), Ok(3), Ok(5), Ok(7)];
    -        static DONE_CALL: AtomicUsize = AtomicUsize::new(0);
    -        let f = || {
    -            let r_pos = DONE_CALL.fetch_add(1, std::sync::atomic::Ordering::Relaxed);
    -            async move {
    -                tracing::info!(r_pos, "call");
    -                CALL_RESULTS[r_pos].map_err(|e| anyhow::anyhow!("{e}"))
    -            }
    -        };
    -
    -        let delays = [1000, 15];
    -        let result = stagger_call(f, &delays).await.unwrap();
    -        assert_eq!(result, 5)
    -    }
     }
     
    \ No newline at end of file diff --git a/pr/3170/docs/src/iroh/endpoint.rs.html b/pr/3170/docs/src/iroh/endpoint.rs.html index 15a0a2fa42..13e6b3e5b1 100644 --- a/pr/3170/docs/src/iroh/endpoint.rs.html +++ b/pr/3170/docs/src/iroh/endpoint.rs.html @@ -2225,8 +2225,7 @@ 2224 2225 2226 -2227 -2228
    //! The [`Endpoint`] allows establishing connections to other iroh nodes.
    +2227
    //! 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
    @@ -2261,7 +2260,7 @@
         discovery::{
             dns::DnsDiscovery, pkarr::PkarrPublisher, ConcurrentDiscovery, Discovery, DiscoveryTask,
         },
    -    dns::{default_resolver, DnsResolver},
    +    dns::DnsResolver,
         magicsock::{self, Handle, NodeIdMappedAddr},
         tls,
         watchable::Watcher,
    @@ -2380,9 +2379,7 @@
                 keylog: self.keylog,
                 secret_key: secret_key.clone(),
             };
    -        let dns_resolver = self
    -            .dns_resolver
    -            .unwrap_or_else(|| default_resolver().clone());
    +        let dns_resolver = self.dns_resolver.unwrap_or_default();
             let discovery = self
                 .discovery
                 .into_iter()
    @@ -2626,9 +2623,10 @@
         /// The DNS resolver is used to resolve relay hostnames, and node addresses if
         /// [`crate::discovery::dns::DnsDiscovery`] is configured.
         ///
    -    /// By default, all endpoints share a DNS resolver, which is configured to use the
    +    /// By default, a new DNS resolver is created which is configured to use the
         /// host system's DNS configuration. You can pass a custom instance of [`DnsResolver`]
    -    /// here to use a differently configured DNS resolver for this endpoint.
    +    /// here to use a differently configured DNS resolver for this endpoint, or to share
    +    /// a [`DnsResolver`] between multiple endpoints.
         pub fn dns_resolver(mut self, dns_resolver: DnsResolver) -> Self {
             self.dns_resolver = Some(dns_resolver);
             self
    diff --git a/pr/3170/docs/src/iroh/magicsock.rs.html b/pr/3170/docs/src/iroh/magicsock.rs.html
    index d5a0cb7acc..ffe85feb90 100644
    --- a/pr/3170/docs/src/iroh/magicsock.rs.html
    +++ b/pr/3170/docs/src/iroh/magicsock.rs.html
    @@ -4397,7 +4397,27 @@
     4396
     4397
     4398
    -4399
    //! Implements a socket that can change its communication path while in use, actively searching for the best way to communicate.
    +4399
    +4400
    +4401
    +4402
    +4403
    +4404
    +4405
    +4406
    +4407
    +4408
    +4409
    +4410
    +4411
    +4412
    +4413
    +4414
    +4415
    +4416
    +4417
    +4418
    +4419
    //! Implements a socket that can change its communication path while in use, actively searching for the best way to communicate.
     //!
     //! Based on tailscale/wgengine/magicsock
     //!
    @@ -4518,8 +4538,8 @@
     
         /// A DNS resolver to use for resolving relay URLs.
         ///
    -    /// You can use [`crate::dns::default_resolver`] for a resolver that uses the system's DNS
    -    /// configuration.
    +    /// You can use [`crate::dns::DnsResolver::new`] for a resolver
    +    /// that uses the system's DNS configuration.
         pub(crate) dns_resolver: DnsResolver,
     
         /// Proxy configuration.
    @@ -4539,7 +4559,8 @@
         pub(crate) path_selection: PathSelection,
     }
     
    -impl Default for Options {
    +#[cfg(test)]
    +impl Default for Options {
         fn default() -> Self {
             let secret_key = SecretKey::generate(rand::rngs::OsRng);
             let server_config = make_default_server_config(&secret_key);
    @@ -4551,7 +4572,7 @@
                 node_map: None,
                 discovery: None,
                 proxy_url: None,
    -            dns_resolver: crate::dns::default_resolver().clone(),
    +            dns_resolver: DnsResolver::new(),
                 server_config,
                 #[cfg(any(test, feature = "test-utils"))]
                 insecure_skip_relay_cert_verify: false,
    @@ -4562,6 +4583,7 @@
     }
     
     /// Generate a server config with no ALPNS and a default transport configuration
    +#[cfg(test)]
     fn make_default_server_config(secret_key: &SecretKey) -> ServerConfig {
         let quic_server_config = crate::tls::make_server_config(secret_key, vec![], false)
             .expect("should generate valid config");
    @@ -6139,6 +6161,28 @@
             let inner2 = inner.clone();
             let network_monitor = netmon::Monitor::new().await?;
             let qad_endpoint = endpoint.clone();
    +
    +        // create a client config for the endpoint to use for QUIC address discovery
    +        let root_store =
    +            rustls::RootCertStore::from_iter(webpki_roots::TLS_SERVER_ROOTS.iter().cloned());
    +        let client_config = rustls::client::ClientConfig::builder_with_provider(Arc::new(
    +            rustls::crypto::ring::default_provider(),
    +        ))
    +        .with_safe_default_protocol_versions()
    +        .expect("ring supports these")
    +        .with_root_certificates(root_store)
    +        .with_no_client_auth();
    +        let quic_config = Some(QuicConfig {
    +            ep: qad_endpoint,
    +            client_config,
    +            ipv4: true,
    +            ipv6: pconn6_sock.is_some(),
    +        });
    +        let net_report_config = net_report::Options::default()
    +            .stun_v4(Some(pconn4_sock.clone()))
    +            .stun_v6(pconn6_sock.clone())
    +            .quic_config(quic_config);
    +
             actor_tasks.spawn(
                 async move {
                     let actor = Actor {
    @@ -6155,7 +6199,7 @@
                         no_v4_send: false,
                         net_reporter,
                         network_monitor,
    -                    qad_endpoint,
    +                    net_report_config,
                     };
     
                     if let Err(err) = actor.run().await {
    @@ -6189,7 +6233,23 @@
             trace!("magicsock closing...");
             // Initiate closing all connections, and refuse future connections.
             self.endpoint.close(0u16.into(), b"");
    -        self.endpoint.wait_idle().await;
    +
    +        // In the history of this code, this call had been
    +        // - removed: https://github.com/n0-computer/iroh/pull/1753
    +        // - then added back in: https://github.com/n0-computer/iroh/pull/2227/files#diff-ba27e40e2986a3919b20f6b412ad4fe63154af648610ea5d9ed0b5d5b0e2d780R573
    +        // - then removed again: https://github.com/n0-computer/iroh/pull/3165
    +        // and finally added back in together with this comment.
    +        // So before removing this call, please consider carefully.
    +        // Among other things, this call tries its best to make sure that any queued close frames
    +        // (e.g. via the call to `endpoint.close(...)` above), are flushed out to the sockets
    +        // *and acknowledged* (or time out with the "probe timeout" of usually 3 seconds).
    +        // This allows the other endpoints for these connections to be notified to release
    +        // their resources, or - depending on the protocol - that all data was received.
    +        // With the current quinn API, this is the only way to ensure protocol code can use
    +        // connection close codes, and close the endpoint properly.
    +        // If this call is skipped, then connections that protocols close just shortly before the
    +        // call to `Endpoint::close` will in most cases cause connection time-outs on remote ends.
    +        self.endpoint.wait_idle().await;
     
             if self.msock.is_closed() {
                 return;
    @@ -6564,6 +6624,9 @@
         pconn4: Arc<UdpSocket>,
         pconn6: Option<Arc<UdpSocket>>,
     
    +    /// Configuration for net report
    +    net_report_config: net_report::Options,
    +
         /// The NAT-PMP/PCP/UPnP prober/client, for requesting port mappings from NAT devices.
         port_mapper: portmapper::Client,
     
    @@ -6576,11 +6639,6 @@
         net_reporter: net_report::Client,
     
         network_monitor: netmon::Monitor,
    -
    -    /// The internal quinn::Endpoint
    -    ///
    -    /// Needed for Quic Address Discovery
    -    qad_endpoint: quinn::Endpoint,
     }
     
     impl Actor {
    @@ -6994,27 +7052,7 @@
             }
     
             let relay_map = self.msock.relay_map.clone();
    -        let mut opts = net_report::Options::default()
    -            .stun_v4(Some(self.pconn4.clone()))
    -            .stun_v6(self.pconn6.clone());
    -
    -        // create a client config for the endpoint to use for QUIC address discovery
    -        let root_store =
    -            rustls::RootCertStore::from_iter(webpki_roots::TLS_SERVER_ROOTS.iter().cloned());
    -        let client_config = rustls::client::ClientConfig::builder_with_provider(Arc::new(
    -            rustls::crypto::ring::default_provider(),
    -        ))
    -        .with_safe_default_protocol_versions()
    -        .expect("ring supports these")
    -        .with_root_certificates(root_store)
    -        .with_no_client_auth();
    -        let quic_config = Some(QuicConfig {
    -            ep: self.qad_endpoint.clone(),
    -            client_config,
    -            ipv4: true,
    -            ipv6: self.pconn6.is_some(),
    -        });
    -        opts = opts.quic_config(quic_config);
    +        let opts = self.net_report_config.clone();
     
             debug!("requesting net_report report");
             match self.net_reporter.get_report_channel(relay_map, opts).await {
    @@ -7539,6 +7577,7 @@
         use super::*;
         use crate::{
             defaults::staging::{self, EU_RELAY_HOSTNAME},
    +        dns::DnsResolver,
             tls, Endpoint, RelayMode,
         };
     
    @@ -8421,6 +8460,7 @@
                 Arc::new(quinn::TransportConfig::default()),
                 true,
             )?;
    +        let dns_resolver = DnsResolver::new();
             let opts = Options {
                 addr_v4: None,
                 addr_v6: None,
    @@ -8428,7 +8468,7 @@
                 relay_map: RelayMap::empty(),
                 node_map: None,
                 discovery: None,
    -            dns_resolver: crate::dns::default_resolver().clone(),
    +            dns_resolver,
                 proxy_url: None,
                 server_config,
                 insecure_skip_relay_cert_verify: true,
    diff --git a/pr/3170/docs/src/iroh/magicsock/relay_actor.rs.html b/pr/3170/docs/src/iroh/magicsock/relay_actor.rs.html
    index 7c9e4443dd..c4402c2602 100644
    --- a/pr/3170/docs/src/iroh/magicsock/relay_actor.rs.html
    +++ b/pr/3170/docs/src/iroh/magicsock/relay_actor.rs.html
    @@ -2750,7 +2750,7 @@
         use tracing_test::traced_test;
     
         use super::*;
    -    use crate::test_utils;
    +    use crate::{dns::DnsResolver, test_utils};
     
         #[test]
         fn test_packetize_iter() {
    @@ -2803,7 +2803,7 @@
                 relay_datagrams_recv,
                 connection_opts: RelayConnectionOptions {
                     secret_key,
    -                dns_resolver: crate::dns::default_resolver().clone(),
    +                dns_resolver: DnsResolver::new(),
                     proxy_url: None,
                     prefer_ipv6: Arc::new(AtomicBool::new(true)),
                     insecure_skip_cert_verify: true,
    diff --git a/pr/3170/docs/src/iroh/test_utils.rs.html b/pr/3170/docs/src/iroh/test_utils.rs.html
    index 598707393a..8a2bf6746d 100644
    --- a/pr/3170/docs/src/iroh/test_utils.rs.html
    +++ b/pr/3170/docs/src/iroh/test_utils.rs.html
    @@ -494,12 +494,60 @@
     493
     494
     495
    -496
    //! Internal utilities to support testing.
    +496
    +497
    +498
    +499
    +500
    +501
    +502
    +503
    +504
    +505
    +506
    +507
    +508
    +509
    +510
    +511
    +512
    +513
    +514
    +515
    +516
    +517
    +518
    +519
    +520
    +521
    +522
    +523
    +524
    +525
    +526
    +527
    +528
    +529
    +530
    +531
    +532
    +533
    +534
    +535
    +536
    +537
    +538
    +539
    +540
    +541
    +542
    +543
    +544
    +545
    //! Internal utilities to support testing.
     use std::net::Ipv4Addr;
     
     use anyhow::Result;
     pub use dns_and_pkarr_servers::DnsPkarrServer;
    -pub use dns_server::create_dns_resolver;
     use iroh_base::RelayUrl;
     use iroh_relay::{
         server::{
    @@ -613,7 +661,7 @@
         use iroh_base::{NodeId, SecretKey};
         use url::Url;
     
    -    use super::{create_dns_resolver, CleanupDropGuard};
    +    use super::CleanupDropGuard;
         use crate::{
             discovery::{dns::DnsDiscovery, pkarr::PkarrPublisher, ConcurrentDiscovery},
             dns::DnsResolver,
    @@ -673,7 +721,7 @@
     
             /// Create a [`DnsResolver`] configured to use the test DNS server.
             pub fn dns_resolver(&self) -> DnsResolver {
    -            create_dns_resolver(self.nameserver).expect("failed to create DNS resolver")
    +            DnsResolver::with_nameserver(self.nameserver)
             }
     
             /// Wait until a Pkarr announce for a node is published to the server.
    @@ -692,13 +740,9 @@
         };
     
         use anyhow::{ensure, Result};
    -    use hickory_resolver::{
    -        config::NameServerConfig,
    -        proto::{
    -            op::{header::MessageType, Message},
    -            serialize::binary::BinDecodable,
    -        },
    -        TokioResolver,
    +    use hickory_resolver::proto::{
    +        op::{header::MessageType, Message},
    +        serialize::binary::BinDecodable,
         };
         use n0_future::future::Boxed as BoxFuture;
         use tokio::{net::UdpSocket, sync::oneshot};
    @@ -754,16 +798,6 @@
             Ok((bound_addr, CleanupDropGuard(tx)))
         }
     
    -    /// Create a DNS resolver with a single nameserver.
    -    pub fn create_dns_resolver(nameserver: SocketAddr) -> Result<TokioResolver> {
    -        let mut config = hickory_resolver::config::ResolverConfig::new();
    -        let nameserver_config =
    -            NameServerConfig::new(nameserver, hickory_resolver::proto::xfer::Protocol::Udp);
    -        config.add_name_server(nameserver_config);
    -        let resolver = hickory_resolver::Resolver::tokio(config, Default::default());
    -        Ok(resolver)
    -    }
    -
         struct TestDnsServer<R> {
             resolver: R,
             socket: UdpSocket,
    @@ -884,7 +918,7 @@
         use pkarr::SignedPacket;
     
         use crate::{
    -        dns::node_info::{node_id_from_hickory_name, NodeInfo},
    +        dns::node_info::{NodeIdExt, NodeInfo, IROH_TXT_NAME},
             test_utils::dns_server::QueryHandler,
         };
     
    @@ -960,14 +994,15 @@
                 ttl: u32,
             ) -> Result<()> {
                 for query in query.queries() {
    -                let Some(node_id) = node_id_from_hickory_name(query.name()) else {
    +                let domain_name = query.name().to_string();
    +                let Some(node_id) = node_id_from_domain_name(&domain_name) else {
                         continue;
                     };
     
                     self.get(&node_id, |packet| {
                         if let Some(packet) = packet {
                             let node_info = NodeInfo::from_pkarr_signed_packet(packet)?;
    -                        for record in node_info.to_hickory_records(&self.origin, ttl)? {
    +                        for record in node_info_to_hickory_records(&node_info, &self.origin, ttl)? {
                                 reply.add_answer(record);
                             }
                         }
    @@ -989,5 +1024,68 @@
                 std::future::ready(res)
             }
         }
    +
    +    /// Parses a [`NodeId`] from a DNS domain name.
    +    ///
    +    /// Splits the domain name into labels on each dot. Expects the first label to be
    +    /// [`IROH_TXT_NAME`] and the second label to be a z32 encoded [`NodeId`]. Ignores
    +    /// subsequent labels.
    +    ///
    +    /// Returns a [`NodeId`] if parsed successfully, otherwise `None`.
    +    fn node_id_from_domain_name(name: &str) -> Option<NodeId> {
    +        let mut labels = name.split(".");
    +        let label = labels.next()?;
    +        if label != IROH_TXT_NAME {
    +            return None;
    +        }
    +        let label = labels.next()?;
    +        let node_id = NodeId::from_z32(label).ok()?;
    +        Some(node_id)
    +    }
    +
    +    /// Converts a [`NodeInfo`]into a [`hickory_resolver::proto::rr::Record`] DNS record.
    +    fn node_info_to_hickory_records(
    +        node_info: &NodeInfo,
    +        origin: &str,
    +        ttl: u32,
    +    ) -> Result<impl Iterator<Item = hickory_resolver::proto::rr::Record> + 'static> {
    +        let txt_strings = node_info.to_txt_strings();
    +        let records = to_hickory_records(txt_strings, node_info.node_id, origin, ttl)?;
    +        Ok(records.collect::<Vec<_>>().into_iter())
    +    }
    +
    +    /// Converts to a list of [`hickory_resolver::proto::rr::Record`] resource records.
    +    fn to_hickory_records(
    +        txt_strings: Vec<String>,
    +        node_id: NodeId,
    +        origin: &str,
    +        ttl: u32,
    +    ) -> Result<impl Iterator<Item = hickory_resolver::proto::rr::Record> + '_> {
    +        use hickory_resolver::proto::rr;
    +        let name = format!("{}.{}.{}", IROH_TXT_NAME, node_id.to_z32(), origin);
    +        let name = rr::Name::from_utf8(name)?;
    +        let records = txt_strings.into_iter().map(move |s| {
    +            let txt = rr::rdata::TXT::new(vec![s]);
    +            let rdata = rr::RData::TXT(txt);
    +            rr::Record::from_rdata(name.clone(), ttl, rdata)
    +        });
    +        Ok(records)
    +    }
    +
    +    #[cfg(test)]
    +    mod tests {
    +        use iroh_base::NodeId;
    +        use testresult::TestResult;
    +
    +        #[test]
    +        fn test_node_id_from_domain_name() -> TestResult {
    +            let name = "_iroh.dgjpkxyn3zyrk3zfads5duwdgbqpkwbjxfj4yt7rezidr3fijccy.dns.iroh.link.";
    +            let node_id = super::node_id_from_domain_name(name);
    +            let expected: NodeId =
    +                "1992d53c02cdc04566e5c0edb1ce83305cd550297953a047a445ea3264b54b18".parse()?;
    +            assert_eq!(node_id, Some(expected));
    +            Ok(())
    +        }
    +    }
     }
     
    \ No newline at end of file diff --git a/pr/3170/docs/src/iroh_dns_server/lib.rs.html b/pr/3170/docs/src/iroh_dns_server/lib.rs.html index cc7433b9fb..55b1a62e72 100644 --- a/pr/3170/docs/src/iroh_dns_server/lib.rs.html +++ b/pr/3170/docs/src/iroh_dns_server/lib.rs.html @@ -273,13 +273,7 @@ 272 273 274 -275 -276 -277 -278 -279 -280 -281
    //! A DNS server and pkarr relay
    +275
    //! A DNS server and pkarr relay
     
     #![deny(missing_docs, rustdoc::broken_intra_doc_links)]
     
    @@ -303,14 +297,9 @@
         };
     
         use anyhow::Result;
    -    use hickory_resolver::{
    -        config::{NameServerConfig, ResolverConfig},
    -        Resolver,
    -    };
    -    use hickory_server::proto::xfer::Protocol;
         use iroh::{
             discovery::pkarr::PkarrRelayClient,
    -        dns::{node_info::NodeInfo, DnsResolver, ResolverExt},
    +        dns::{node_info::NodeInfo, DnsResolver},
             SecretKey,
         };
         use pkarr::{PkarrClient, SignedPacket};
    @@ -326,6 +315,8 @@
             ZoneStore,
         };
     
    +    const DNS_TIMEOUT: Duration = Duration::from_secs(1);
    +
         #[tokio::test]
         #[traced_test]
         async fn pkarr_publish_dns_resolve() -> Result<()> {
    @@ -401,38 +392,38 @@
     
             // resolve root record
             let name = Name::from_utf8(format!("{pubkey}."))?;
    -        let res = resolver.txt_lookup(name).await?;
    -        let records = res.iter().map(|t| t.to_string()).collect::<Vec<_>>();
    +        let res = resolver.lookup_txt(name, DNS_TIMEOUT).await?;
    +        let records = res.into_iter().map(|t| t.to_string()).collect::<Vec<_>>();
             assert_eq!(records, vec!["hi0".to_string()]);
     
             // resolve level one record
             let name = Name::from_utf8(format!("_hello.{pubkey}."))?;
    -        let res = resolver.txt_lookup(name).await?;
    -        let records = res.iter().map(|t| t.to_string()).collect::<Vec<_>>();
    +        let res = resolver.lookup_txt(name, DNS_TIMEOUT).await?;
    +        let records = res.into_iter().map(|t| t.to_string()).collect::<Vec<_>>();
             assert_eq!(records, vec!["hi1".to_string()]);
     
             // resolve level two record
             let name = Name::from_utf8(format!("_hello.world.{pubkey}."))?;
    -        let res = resolver.txt_lookup(name).await?;
    -        let records = res.iter().map(|t| t.to_string()).collect::<Vec<_>>();
    +        let res = resolver.lookup_txt(name, DNS_TIMEOUT).await?;
    +        let records = res.into_iter().map(|t| t.to_string()).collect::<Vec<_>>();
             assert_eq!(records, vec!["hi2".to_string()]);
     
             // resolve multiple records for same name
             let name = Name::from_utf8(format!("multiple.{pubkey}."))?;
    -        let res = resolver.txt_lookup(name).await?;
    -        let records = res.iter().map(|t| t.to_string()).collect::<Vec<_>>();
    +        let res = resolver.lookup_txt(name, DNS_TIMEOUT).await?;
    +        let records = res.into_iter().map(|t| t.to_string()).collect::<Vec<_>>();
             assert_eq!(records, vec!["hi3".to_string(), "hi4".to_string()]);
     
             // resolve A record
             let name = Name::from_utf8(format!("{pubkey}."))?;
    -        let res = resolver.ipv4_lookup(name).await?;
    -        let records = res.iter().map(|t| t.0).collect::<Vec<_>>();
    +        let res = resolver.lookup_ipv4(name, DNS_TIMEOUT).await?;
    +        let records = res.collect::<Vec<_>>();
             assert_eq!(records, vec![Ipv4Addr::LOCALHOST]);
     
             // resolve AAAA record
             let name = Name::from_utf8(format!("foo.bar.baz.{pubkey}."))?;
    -        let res = resolver.ipv6_lookup(name).await?;
    -        let records = res.iter().map(|t| t.0).collect::<Vec<_>>();
    +        let res = resolver.lookup_ipv6(name, DNS_TIMEOUT).await?;
    +        let records = res.collect::<Vec<_>>();
             assert_eq!(records, vec![Ipv6Addr::LOCALHOST]);
     
             server.shutdown().await?;
    @@ -462,7 +453,7 @@
             pkarr.publish(&signed_packet).await?;
     
             let resolver = test_resolver(nameserver);
    -        let res = resolver.lookup_by_id(&node_id, origin).await?;
    +        let res = resolver.lookup_node_by_id(&node_id, origin).await?;
     
             assert_eq!(res.node_id, node_id);
             assert_eq!(res.relay_url.map(Url::from), Some(relay_url));
    @@ -533,7 +524,7 @@
     
             // resolve via DNS from our server, which will lookup from our DHT
             let resolver = test_resolver(nameserver);
    -        let res = resolver.lookup_by_id(&node_id, origin).await?;
    +        let res = resolver.lookup_node_by_id(&node_id, origin).await?;
     
             assert_eq!(res.node_id, node_id);
             assert_eq!(res.relay_url.map(Url::from), Some(relay_url));
    @@ -546,10 +537,7 @@
         }
     
         fn test_resolver(nameserver: SocketAddr) -> DnsResolver {
    -        let mut config = ResolverConfig::new();
    -        let nameserver_config = NameServerConfig::new(nameserver, Protocol::Udp);
    -        config.add_name_server(nameserver_config);
    -        Resolver::tokio(config, Default::default())
    +        DnsResolver::with_nameserver(nameserver)
         }
     
         fn random_signed_packet() -> Result<SignedPacket> {
    diff --git a/pr/3170/docs/src/iroh_net_report/dns.rs.html b/pr/3170/docs/src/iroh_net_report/dns.rs.html
    index 87a477f47b..4f091a5f84 100644
    --- a/pr/3170/docs/src/iroh_net_report/dns.rs.html
    +++ b/pr/3170/docs/src/iroh_net_report/dns.rs.html
    @@ -10,520 +10,16 @@
     9
     10
     11
    -12
    -13
    -14
    -15
    -16
    -17
    -18
    -19
    -20
    -21
    -22
    -23
    -24
    -25
    -26
    -27
    -28
    -29
    -30
    -31
    -32
    -33
    -34
    -35
    -36
    -37
    -38
    -39
    -40
    -41
    -42
    -43
    -44
    -45
    -46
    -47
    -48
    -49
    -50
    -51
    -52
    -53
    -54
    -55
    -56
    -57
    -58
    -59
    -60
    -61
    -62
    -63
    -64
    -65
    -66
    -67
    -68
    -69
    -70
    -71
    -72
    -73
    -74
    -75
    -76
    -77
    -78
    -79
    -80
    -81
    -82
    -83
    -84
    -85
    -86
    -87
    -88
    -89
    -90
    -91
    -92
    -93
    -94
    -95
    -96
    -97
    -98
    -99
    -100
    -101
    -102
    -103
    -104
    -105
    -106
    -107
    -108
    -109
    -110
    -111
    -112
    -113
    -114
    -115
    -116
    -117
    -118
    -119
    -120
    -121
    -122
    -123
    -124
    -125
    -126
    -127
    -128
    -129
    -130
    -131
    -132
    -133
    -134
    -135
    -136
    -137
    -138
    -139
    -140
    -141
    -142
    -143
    -144
    -145
    -146
    -147
    -148
    -149
    -150
    -151
    -152
    -153
    -154
    -155
    -156
    -157
    -158
    -159
    -160
    -161
    -162
    -163
    -164
    -165
    -166
    -167
    -168
    -169
    -170
    -171
    -172
    -173
    -174
    -175
    -176
    -177
    -178
    -179
    -180
    -181
    -182
    -183
    -184
    -185
    -186
    -187
    -188
    -189
    -190
    -191
    -192
    -193
    -194
    -195
    -196
    -197
    -198
    -199
    -200
    -201
    -202
    -203
    -204
    -205
    -206
    -207
    -208
    -209
    -210
    -211
    -212
    -213
    -214
    -215
    -216
    -217
    -218
    -219
    -220
    -221
    -222
    -223
    -224
    -225
    -226
    -227
    -228
    -229
    -230
    -231
    -232
    -233
    -234
    -235
    -236
    -237
    -238
    -239
    -240
    -241
    -242
    -243
    -244
    -245
    -246
    -247
    -248
    -249
    -250
    -251
    -252
    -253
    -254
    -255
    -256
    -257
    -258
    -259
    -260
    -261
    -262
    -263
    -264
    use std::{fmt::Write, net::IpAddr};
    -
    -use anyhow::Result;
    -use hickory_resolver::{IntoName, TokioResolver};
    -use n0_future::{time, Future, StreamExt};
    -
    -use crate::defaults::timeouts::DNS_TIMEOUT;
    -
    -/// Delay used to perform staggered dns queries.
    +12
    /// Delay used to perform staggered dns queries.
     pub(crate) const DNS_STAGGERING_MS: &[u64] = &[200, 300];
     
    -/// Extension trait to [`TokioResolver`].
    -pub(crate) trait ResolverExt {
    -    /// Perform an ipv4 lookup.
    -    fn lookup_ipv4<N: IntoName>(
    -        &self,
    -        host: N,
    -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
    -
    -    /// Perform an ipv6 lookup.
    -    fn lookup_ipv6<N: IntoName>(
    -        &self,
    -        host: N,
    -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
    -
    -    /// Race an ipv4 and ipv6.
    -    fn lookup_ipv4_ipv6<N: IntoName + Clone>(
    -        &self,
    -        host: N,
    -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
    -
    -    /// Perform an ipv4 lookup in a staggered fashion.
    -    ///
    -    /// From the moment this function is called, each lookup is scheduled after the delays in
    -    /// [`DNS_STAGGERING_MS`] with the first call being done immediately. `[200ms, 300ms]` results
    -    /// in calls at T+0ms, T+200ms and T+300ms. The `timeout` is applied to each call individually.
    -    /// The result of the first successful call is returned, or a summary of all errors otherwise.
    -    fn lookup_ipv4_staggered<N: IntoName + Clone>(
    -        &self,
    -        host: N,
    -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
    -
    -    /// Perform an ipv6 lookup with a timeout in a staggered fashion.
    -    ///
    -    /// From the moment this function is called, each lookup is scheduled after the delays in
    -    /// [`DNS_STAGGERING_MS`] with the first call being done immediately. `[200ms, 300ms]` results
    -    /// in calls at T+0ms, T+200ms and T+300ms. The `timeout` is applied to each call individually.
    -    /// The result of the first successful call is returned, or a summary of all errors otherwise.
    -    fn lookup_ipv6_staggered<N: IntoName + Clone>(
    -        &self,
    -        host: N,
    -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
    -
    -    /// Race an ipv4 and ipv6 lookup in a staggered fashion.
    -    ///
    -    /// From the moment this function is called, each lookup is scheduled after the delays in
    -    /// [`DNS_STAGGERING_MS`] with the first call being done immediately. `[200ms, 300ms]` results
    -    /// in calls at T+0ms, T+200ms and T+300ms. The [`DNS_TIMEOUT`] is applied as stated in
    -    /// [`Self::lookup_ipv4_ipv6`]. The result of the first successful call is returned, or a
    -    /// summary of all errors otherwise.
    -    fn lookup_ipv4_ipv6_staggered<N: IntoName + Clone>(
    -        &self,
    -        host: N,
    -    ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>;
    -}
    -
    -impl ResolverExt for TokioResolver {
    -    async fn lookup_ipv4<N: IntoName>(&self, host: N) -> Result<impl Iterator<Item = IpAddr>> {
    -        let addrs = time::timeout(DNS_TIMEOUT, self.ipv4_lookup(host)).await??;
    -        Ok(addrs.into_iter().map(|ip| IpAddr::V4(ip.0)))
    -    }
    -
    -    async fn lookup_ipv6<N: IntoName>(&self, host: N) -> Result<impl Iterator<Item = IpAddr>> {
    -        let addrs = time::timeout(DNS_TIMEOUT, self.ipv6_lookup(host)).await??;
    -        Ok(addrs.into_iter().map(|ip| IpAddr::V6(ip.0)))
    -    }
    -
    -    /// Resolve IPv4 and IPv6 in parallel.
    -    ///
    -    /// `LookupIpStrategy::Ipv4AndIpv6` will wait for ipv6 resolution timeout, even if it is
    -    /// not usable on the stack, so we manually query both lookups concurrently and time them out
    -    /// individually.
    -    ///
    -    /// See [`ResolverExt::lookup_ipv4_ipv6`].
    -    async fn lookup_ipv4_ipv6<N: IntoName + Clone>(
    -        &self,
    -        host: N,
    -    ) -> Result<impl Iterator<Item = IpAddr>> {
    -        let res = tokio::join!(self.lookup_ipv4(host.clone()), self.lookup_ipv6(host));
    -
    -        match res {
    -            (Ok(ipv4), Ok(ipv6)) => Ok(LookupIter::Both(ipv4.chain(ipv6))),
    -            (Ok(ipv4), Err(_)) => Ok(LookupIter::Ipv4(ipv4)),
    -            (Err(_), Ok(ipv6)) => Ok(LookupIter::Ipv6(ipv6)),
    -            (Err(ipv4_err), Err(ipv6_err)) => {
    -                anyhow::bail!("Ipv4: {:?}, Ipv6: {:?}", ipv4_err, ipv6_err)
    -            }
    -        }
    -    }
    -
    -    async fn lookup_ipv4_staggered<N: IntoName + Clone>(
    -        &self,
    -        host: N,
    -    ) -> Result<impl Iterator<Item = IpAddr>> {
    -        let f = || self.lookup_ipv4(host.clone());
    -        stagger_call(f, DNS_STAGGERING_MS).await
    -    }
    -
    -    async fn lookup_ipv6_staggered<N: IntoName + Clone>(
    -        &self,
    -        host: N,
    -    ) -> Result<impl Iterator<Item = IpAddr>> {
    -        let f = || self.lookup_ipv6(host.clone());
    -        stagger_call(f, DNS_STAGGERING_MS).await
    -    }
    -
    -    async fn lookup_ipv4_ipv6_staggered<N: IntoName + Clone>(
    -        &self,
    -        host: N,
    -    ) -> Result<impl Iterator<Item = IpAddr>> {
    -        let f = || self.lookup_ipv4_ipv6(host.clone());
    -        stagger_call(f, DNS_STAGGERING_MS).await
    -    }
    -}
    -
    -/// Helper enum to give a unified type to the iterators of [`ResolverExt::lookup_ipv4_ipv6`].
    -enum LookupIter<A, B> {
    -    Ipv4(A),
    -    Ipv6(B),
    -    Both(std::iter::Chain<A, B>),
    -}
    -
    -impl<A: Iterator<Item = IpAddr>, B: Iterator<Item = IpAddr>> Iterator for LookupIter<A, B> {
    -    type Item = IpAddr;
    -
    -    fn next(&mut self) -> Option<Self::Item> {
    -        match self {
    -            LookupIter::Ipv4(iter) => iter.next(),
    -            LookupIter::Ipv6(iter) => iter.next(),
    -            LookupIter::Both(iter) => iter.next(),
    -        }
    -    }
    -}
    -
    -/// Staggers calls to the future F with the given delays.
    -///
    -/// The first call is performed immediately. The first call to succeed generates an Ok result
    -/// ignoring any previous error. If all calls fail, an error summarizing all errors is returned.
    -async fn stagger_call<T, F: Fn() -> Fut, Fut: Future<Output = Result<T>>>(
    -    f: F,
    -    delays_ms: &[u64],
    -) -> Result<T> {
    -    let mut calls = n0_future::FuturesUnorderedBounded::new(delays_ms.len() + 1);
    -    // NOTE: we add the 0 delay here to have a uniform set of futures. This is more performant than
    -    // using alternatives that allow futures of different types.
    -    for delay in std::iter::once(&0u64).chain(delays_ms) {
    -        let delay = time::Duration::from_millis(*delay);
    -        let fut = f();
    -        let staggered_fut = async move {
    -            time::sleep(delay).await;
    -            fut.await
    -        };
    -        calls.push(staggered_fut)
    -    }
    -
    -    let mut errors = vec![];
    -    while let Some(call_result) = calls.next().await {
    -        match call_result {
    -            Ok(t) => return Ok(t),
    -            Err(e) => errors.push(e),
    -        }
    -    }
    -
    -    anyhow::bail!(
    -        "no calls succeed: [ {}]",
    -        errors.into_iter().fold(String::new(), |mut summary, e| {
    -            write!(summary, "{e} ").expect("infallible");
    -            summary
    -        })
    -    )
    -}
    -
     #[cfg(test)]
     pub(crate) mod tests {
    -    use std::{
    -        net::Ipv6Addr,
    -        sync::{atomic::AtomicUsize, OnceLock},
    -    };
    -
    -    use tracing_test::traced_test;
    -
    -    use super::*;
    -
    -    static DNS_RESOLVER: OnceLock<TokioResolver> = OnceLock::new();
    +    use iroh_relay::dns::DnsResolver;
     
         /// Get a DNS resolver suitable for testing.
    -    pub fn resolver() -> &'static TokioResolver {
    -        DNS_RESOLVER
    -            .get_or_init(|| create_default_resolver().expect("unable to create DNS resolver"))
    -    }
    -
    -    /// Deprecated IPv6 site-local anycast addresses still configured by windows.
    -    ///
    -    /// Windows still configures these site-local addresses as soon even as an IPv6 loopback
    -    /// interface is configured.  We do not want to use these DNS servers, the chances of them
    -    /// being usable are almost always close to zero, while the chance of DNS configuration
    -    /// **only** relying on these servers and not also being configured normally are also almost
    -    /// zero.  The chance of the DNS resolver accidentally trying one of these and taking a
    -    /// bunch of timeouts to figure out they're no good are on the other hand very high.
    -    const WINDOWS_BAD_SITE_LOCAL_DNS_SERVERS: [IpAddr; 3] = [
    -        IpAddr::V6(Ipv6Addr::new(0xfec0, 0, 0, 0xffff, 0, 0, 0, 1)),
    -        IpAddr::V6(Ipv6Addr::new(0xfec0, 0, 0, 0xffff, 0, 0, 0, 2)),
    -        IpAddr::V6(Ipv6Addr::new(0xfec0, 0, 0, 0xffff, 0, 0, 0, 3)),
    -    ];
    -
    -    /// Get resolver to query MX records.
    -    ///
    -    /// We first try to read the system's resolver from `/etc/resolv.conf`.
    -    /// This does not work at least on some Androids, therefore we fallback
    -    /// to the default `ResolverConfig` which uses eg. to google's `8.8.8.8` or `8.8.4.4`.
    -    fn create_default_resolver() -> Result<TokioResolver> {
    -        let (system_config, mut options) =
    -            hickory_resolver::system_conf::read_system_conf().unwrap_or_default();
    -
    -        // Copy all of the system config, but strip the bad windows nameservers.  Unfortunately
    -        // there is no easy way to do this.
    -        let mut config = hickory_resolver::config::ResolverConfig::new();
    -        if let Some(name) = system_config.domain() {
    -            config.set_domain(name.clone());
    -        }
    -        for name in system_config.search() {
    -            config.add_search(name.clone());
    -        }
    -        for nameserver_cfg in system_config.name_servers() {
    -            if !WINDOWS_BAD_SITE_LOCAL_DNS_SERVERS.contains(&nameserver_cfg.socket_addr.ip()) {
    -                config.add_name_server(nameserver_cfg.clone());
    -            }
    -        }
    -
    -        // see [`ResolverExt::lookup_ipv4_ipv6`] for info on why we avoid `LookupIpStrategy::Ipv4AndIpv6`
    -        options.ip_strategy = hickory_resolver::config::LookupIpStrategy::Ipv4thenIpv6;
    -
    -        let resolver = hickory_resolver::Resolver::tokio(config, options);
    -        Ok(resolver)
    -    }
    -
    -    #[tokio::test]
    -    #[traced_test]
    -    async fn stagger_basic() {
    -        const CALL_RESULTS: &[Result<u8, u8>] = &[Err(2), Ok(3), Ok(5), Ok(7)];
    -        static DONE_CALL: AtomicUsize = AtomicUsize::new(0);
    -        let f = || {
    -            let r_pos = DONE_CALL.fetch_add(1, std::sync::atomic::Ordering::Relaxed);
    -            async move {
    -                tracing::info!(r_pos, "call");
    -                CALL_RESULTS[r_pos].map_err(|e| anyhow::anyhow!("{e}"))
    -            }
    -        };
    -
    -        let delays = [1000, 15];
    -        let result = stagger_call(f, &delays).await.unwrap();
    -        assert_eq!(result, 5)
    +    pub fn resolver() -> DnsResolver {
    +        DnsResolver::new()
         }
     }
     
    \ No newline at end of file diff --git a/pr/3170/docs/src/iroh_net_report/lib.rs.html b/pr/3170/docs/src/iroh_net_report/lib.rs.html index fe96f811a9..7c38ec5b9f 100644 --- a/pr/3170/docs/src/iroh_net_report/lib.rs.html +++ b/pr/3170/docs/src/iroh_net_report/lib.rs.html @@ -1475,8 +1475,7 @@ 1474 1475 1476 -1477 -1478
    //! Checks the network conditions from the current host.
    +1477
    //! Checks the network conditions from the current host.
     //!
     //! NetReport is responsible for finding out the network conditions of the current host, like
     //! whether it is connected to the internet via IPv4 and/or IPv6, what the NAT situation is
    @@ -1496,11 +1495,10 @@
     
     use anyhow::{anyhow, Result};
     use bytes::Bytes;
    -use hickory_resolver::TokioResolver as DnsResolver;
     use iroh_base::RelayUrl;
     #[cfg(feature = "metrics")]
     use iroh_metrics::inc;
    -use iroh_relay::{protos::stun, RelayMap};
    +use iroh_relay::{dns::DnsResolver, protos::stun, RelayMap};
     use n0_future::{
         task::{self, AbortOnDropHandle},
         time::{Duration, Instant},
    @@ -1695,7 +1693,7 @@
     ///
     /// Use [`Options::stun_v4`], [`Options::stun_v6`], and [`Options::quic_config`]
     /// to enable STUN over IPv4, STUN over IPv6, and QUIC address discovery.
    -#[derive(Debug)]
    +#[derive(Debug, Clone)]
     pub struct Options {
         /// Socket to send IPv4 STUN probes from.
         ///
    diff --git a/pr/3170/docs/src/iroh_net_report/ping.rs.html b/pr/3170/docs/src/iroh_net_report/ping.rs.html
    index 5725679318..6ea5dc14b9 100644
    --- a/pr/3170/docs/src/iroh_net_report/ping.rs.html
    +++ b/pr/3170/docs/src/iroh_net_report/ping.rs.html
    @@ -161,36 +161,7 @@
     160
     161
     162
    -163
    -164
    -165
    -166
    -167
    -168
    -169
    -170
    -171
    -172
    -173
    -174
    -175
    -176
    -177
    -178
    -179
    -180
    -181
    -182
    -183
    -184
    -185
    -186
    -187
    -188
    -189
    -190
    -191
    -192
    //! Allows sending ICMP echo requests to a host in order to determine network latency.
    +163
    //! Allows sending ICMP echo requests to a host in order to determine network latency.
     
     use std::{
         fmt::Debug,
    @@ -320,35 +291,6 @@
     
         use super::*;
     
    -    #[tokio::test]
    -    #[ignore] // Doesn't work in CI
    -    #[traced_test]
    -    async fn test_ping_google() -> Result<()> {
    -        // Public DNS addrs from google based on
    -        // https://developers.google.com/speed/public-dns/docs/using
    -
    -        let pinger = Pinger::new();
    -
    -        // IPv4
    -        let dur = pinger.send("8.8.8.8".parse()?, &[1u8; 8]).await?;
    -        assert!(!dur.is_zero());
    -
    -        // IPv6
    -        match pinger
    -            .send("2001:4860:4860:0:0:0:0:8888".parse()?, &[1u8; 8])
    -            .await
    -        {
    -            Ok(dur) => {
    -                assert!(!dur.is_zero());
    -            }
    -            Err(err) => {
    -                tracing::error!("IPv6 is not available: {:?}", err);
    -            }
    -        }
    -
    -        Ok(())
    -    }
    -
         // See net_report::reportgen::tests::test_icmp_probe_eu_relay for permissions to ping.
         #[tokio::test]
         #[traced_test]
    diff --git a/pr/3170/docs/src/iroh_net_report/reportgen.rs.html b/pr/3170/docs/src/iroh_net_report/reportgen.rs.html
    index 04ff7219e0..8775aeb222 100644
    --- a/pr/3170/docs/src/iroh_net_report/reportgen.rs.html
    +++ b/pr/3170/docs/src/iroh_net_report/reportgen.rs.html
    @@ -1667,7 +1667,14 @@
     1666
     1667
     1668
    -1669
    //! The reportgen actor is responsible for generating a single net_report report.
    +1669
    +1670
    +1671
    +1672
    +1673
    +1674
    +1675
    +1676
    //! The reportgen actor is responsible for generating a single net_report report.
     //!
     //! It is implemented as an actor with [`Client`] as handle.
     //!
    @@ -1695,12 +1702,12 @@
     };
     
     use anyhow::{anyhow, bail, Context as _, Result};
    -use hickory_resolver::TokioResolver as DnsResolver;
     use iroh_base::RelayUrl;
     #[cfg(feature = "metrics")]
     use iroh_metrics::inc;
     use iroh_relay::{
         defaults::{DEFAULT_RELAY_QUIC_PORT, DEFAULT_STUN_PORT},
    +    dns::DnsResolver,
         http::RELAY_PROBE_PATH,
         protos::stun,
         RelayMap, RelayNode,
    @@ -1719,7 +1726,8 @@
     use crate::Metrics;
     use crate::{
         self as net_report,
    -    dns::ResolverExt,
    +    defaults::timeouts::DNS_TIMEOUT,
    +    dns::DNS_STAGGERING_MS,
         ip_mapped_addrs::IpMappedAddresses,
         ping::{PingError, Pinger},
         Report,
    @@ -2673,7 +2681,7 @@
             // Ideally we would try to resolve **both** IPv4 and IPv6 rather than purely race
             // them.  But our resolver doesn't support that yet.
             let addrs: Vec<_> = dns_resolver
    -            .lookup_ipv4_ipv6_staggered(domain)
    +            .lookup_ipv4_ipv6_staggered(domain, DNS_TIMEOUT, DNS_STAGGERING_MS)
                 .await?
                 .map(|ipaddr| SocketAddr::new(ipaddr, 0))
                 .collect();
    @@ -2780,7 +2788,10 @@
         match relay.url.host() {
             Some(url::Host::Domain(hostname)) => {
                 debug!(%hostname, "Performing DNS A lookup for relay addr");
    -            match dns_resolver.lookup_ipv4_staggered(hostname).await {
    +            match dns_resolver
    +                .lookup_ipv4_staggered(hostname, DNS_TIMEOUT, DNS_STAGGERING_MS)
    +                .await
    +            {
                     Ok(mut addrs) => addrs
                         .next()
                         .map(|ip| ip.to_canonical())
    @@ -2806,7 +2817,10 @@
         match relay.url.host() {
             Some(url::Host::Domain(hostname)) => {
                 debug!(%hostname, "Performing DNS AAAA lookup for relay addr");
    -            match dns_resolver.lookup_ipv6_staggered(hostname).await {
    +            match dns_resolver
    +                .lookup_ipv6_staggered(hostname, DNS_TIMEOUT, DNS_STAGGERING_MS)
    +                .await
    +            {
                     Ok(mut addrs) => addrs
                         .next()
                         .map(|ip| ip.to_canonical())
    @@ -2888,7 +2902,7 @@
             // but staggered for reliability.  Ideally this tries to resolve **both** IPv4 and
             // IPv6 though.  But our resolver does not have a function for that yet.
             let addrs: Vec<_> = dns_resolver
    -            .lookup_ipv4_ipv6_staggered(domain)
    +            .lookup_ipv4_ipv6_staggered(domain, DNS_TIMEOUT, DNS_STAGGERING_MS)
                 .await?
                 .map(|ipaddr| SocketAddr::new(ipaddr, 0))
                 .collect();
    @@ -3281,7 +3295,7 @@
             let dns_resolver = crate::dns::tests::resolver();
             tracing::info!(relay_url = ?relay.url , "RELAY_URL");
             let (latency, ip) =
    -            measure_https_latency(dns_resolver, &relay, server.certificates()).await?;
    +            measure_https_latency(&dns_resolver, &relay, server.certificates()).await?;
     
             assert!(latency > Duration::ZERO);
     
    diff --git a/pr/3170/docs/src/iroh_relay/client.rs.html b/pr/3170/docs/src/iroh_relay/client.rs.html
    index 7468a39e29..76cbd8d1b0 100644
    --- a/pr/3170/docs/src/iroh_relay/client.rs.html
    +++ b/pr/3170/docs/src/iroh_relay/client.rs.html
    @@ -381,8 +381,6 @@
     
     use anyhow::{anyhow, bail, Result};
     use conn::Conn;
    -#[cfg(not(wasm_browser))]
    -use hickory_resolver::TokioResolver as DnsResolver;
     use iroh_base::{RelayUrl, SecretKey};
     use n0_future::{
         split::{split, SplitSink, SplitStream},
    @@ -394,6 +392,8 @@
     use url::Url;
     
     pub use self::conn::{ConnSendError, ReceivedMessage, SendMessage};
    +#[cfg(not(wasm_browser))]
    +use crate::dns::DnsResolver;
     use crate::{
         http::{Protocol, RELAY_PATH},
         KeyCache,
    diff --git a/pr/3170/docs/src/iroh_relay/client/connect_relay.rs.html b/pr/3170/docs/src/iroh_relay/client/connect_relay.rs.html
    index 9b827d9f8f..8533983dd0 100644
    --- a/pr/3170/docs/src/iroh_relay/client/connect_relay.rs.html
    +++ b/pr/3170/docs/src/iroh_relay/client/connect_relay.rs.html
    @@ -344,56 +344,7 @@
     343
     344
     345
    -346
    -347
    -348
    -349
    -350
    -351
    -352
    -353
    -354
    -355
    -356
    -357
    -358
    -359
    -360
    -361
    -362
    -363
    -364
    -365
    -366
    -367
    -368
    -369
    -370
    -371
    -372
    -373
    -374
    -375
    -376
    -377
    -378
    -379
    -380
    -381
    -382
    -383
    -384
    -385
    -386
    -387
    -388
    -389
    -390
    -391
    -392
    -393
    -394
    -395
    //! Functionality related to `ClientBuilder::connect_relay`.
    +346
    //! Functionality related to `ClientBuilder::connect_relay`.
     //!
     //! This is (1) likely to be phased out over time in favor of websockets, and
     //! (2) doesn't work in the browser - thus separated into its own file.
    @@ -408,9 +359,7 @@
     
     // Based on tailscale/derp/derphttp/derphttp_client.go
     
    -use std::{future::Future, net::IpAddr};
    -
    -use anyhow::Context;
    +use anyhow::Context;
     use bytes::Bytes;
     use data_encoding::BASE64URL;
     use http_body_util::Empty;
    @@ -558,7 +507,7 @@
             let prefer_ipv6 = self.prefer_ipv6();
             let dst_ip = self
                 .dns_resolver
    -            .resolve_host(&self.url, prefer_ipv6)
    +            .resolve_host(&self.url, prefer_ipv6, DNS_TIMEOUT)
                 .await?;
     
             let port = url_port(&self.url).ok_or_else(|| anyhow!("Missing URL port"))?;
    @@ -590,7 +539,7 @@
             let prefer_ipv6 = self.prefer_ipv6();
             let proxy_ip = self
                 .dns_resolver
    -            .resolve_host(&proxy_url, prefer_ipv6)
    +            .resolve_host(&proxy_url, prefer_ipv6, DNS_TIMEOUT)
                 .await?;
     
             let proxy_port = url_port(&proxy_url).ok_or_else(|| anyhow!("Missing proxy url port"))?;
    @@ -712,53 +661,6 @@
         }
     }
     
    -trait DnsExt {
    -    fn lookup_ipv4<N: hickory_resolver::IntoName>(
    -        &self,
    -        host: N,
    -    ) -> impl Future<Output = Result<Option<IpAddr>>>;
    -
    -    fn lookup_ipv6<N: hickory_resolver::IntoName>(
    -        &self,
    -        host: N,
    -    ) -> impl Future<Output = Result<Option<IpAddr>>>;
    -
    -    fn resolve_host(&self, url: &Url, prefer_ipv6: bool) -> impl Future<Output = Result<IpAddr>>;
    -}
    -
    -impl DnsExt for DnsResolver {
    -    async fn lookup_ipv4<N: hickory_resolver::IntoName>(&self, host: N) -> Result<Option<IpAddr>> {
    -        let addrs = tokio::time::timeout(DNS_TIMEOUT, self.ipv4_lookup(host)).await??;
    -        Ok(addrs.into_iter().next().map(|ip| IpAddr::V4(ip.0)))
    -    }
    -
    -    async fn lookup_ipv6<N: hickory_resolver::IntoName>(&self, host: N) -> Result<Option<IpAddr>> {
    -        let addrs = tokio::time::timeout(DNS_TIMEOUT, self.ipv6_lookup(host)).await??;
    -        Ok(addrs.into_iter().next().map(|ip| IpAddr::V6(ip.0)))
    -    }
    -
    -    async fn resolve_host(&self, url: &Url, prefer_ipv6: bool) -> Result<IpAddr> {
    -        let host = url.host().context("Invalid URL")?;
    -        match host {
    -            url::Host::Domain(domain) => {
    -                // Need to do a DNS lookup
    -                let lookup = tokio::join!(self.lookup_ipv4(domain), self.lookup_ipv6(domain));
    -                let (v4, v6) = match lookup {
    -                    (Err(ipv4_err), Err(ipv6_err)) => {
    -                        bail!("Ipv4: {ipv4_err:?}, Ipv6: {ipv6_err:?}");
    -                    }
    -                    (Err(_), Ok(v6)) => (None, v6),
    -                    (Ok(v4), Err(_)) => (v4, None),
    -                    (Ok(v4), Ok(v6)) => (v4, v6),
    -                };
    -                if prefer_ipv6 { v6.or(v4) } else { v4.or(v6) }.context("No response")
    -            }
    -            url::Host::Ipv4(ip) => Ok(IpAddr::V4(ip)),
    -            url::Host::Ipv6(ip) => Ok(IpAddr::V6(ip)),
    -        }
    -    }
    -}
    -
     #[cfg(test)]
     mod tests {
         use std::str::FromStr;
    diff --git a/pr/3170/docs/src/iroh_relay/dns.rs.html b/pr/3170/docs/src/iroh_relay/dns.rs.html
    new file mode 100644
    index 0000000000..c3bcb197f5
    --- /dev/null
    +++ b/pr/3170/docs/src/iroh_relay/dns.rs.html
    @@ -0,0 +1,819 @@
    +dns.rs - source

    iroh_relay/
    dns.rs

    +1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +90
    +91
    +92
    +93
    +94
    +95
    +96
    +97
    +98
    +99
    +100
    +101
    +102
    +103
    +104
    +105
    +106
    +107
    +108
    +109
    +110
    +111
    +112
    +113
    +114
    +115
    +116
    +117
    +118
    +119
    +120
    +121
    +122
    +123
    +124
    +125
    +126
    +127
    +128
    +129
    +130
    +131
    +132
    +133
    +134
    +135
    +136
    +137
    +138
    +139
    +140
    +141
    +142
    +143
    +144
    +145
    +146
    +147
    +148
    +149
    +150
    +151
    +152
    +153
    +154
    +155
    +156
    +157
    +158
    +159
    +160
    +161
    +162
    +163
    +164
    +165
    +166
    +167
    +168
    +169
    +170
    +171
    +172
    +173
    +174
    +175
    +176
    +177
    +178
    +179
    +180
    +181
    +182
    +183
    +184
    +185
    +186
    +187
    +188
    +189
    +190
    +191
    +192
    +193
    +194
    +195
    +196
    +197
    +198
    +199
    +200
    +201
    +202
    +203
    +204
    +205
    +206
    +207
    +208
    +209
    +210
    +211
    +212
    +213
    +214
    +215
    +216
    +217
    +218
    +219
    +220
    +221
    +222
    +223
    +224
    +225
    +226
    +227
    +228
    +229
    +230
    +231
    +232
    +233
    +234
    +235
    +236
    +237
    +238
    +239
    +240
    +241
    +242
    +243
    +244
    +245
    +246
    +247
    +248
    +249
    +250
    +251
    +252
    +253
    +254
    +255
    +256
    +257
    +258
    +259
    +260
    +261
    +262
    +263
    +264
    +265
    +266
    +267
    +268
    +269
    +270
    +271
    +272
    +273
    +274
    +275
    +276
    +277
    +278
    +279
    +280
    +281
    +282
    +283
    +284
    +285
    +286
    +287
    +288
    +289
    +290
    +291
    +292
    +293
    +294
    +295
    +296
    +297
    +298
    +299
    +300
    +301
    +302
    +303
    +304
    +305
    +306
    +307
    +308
    +309
    +310
    +311
    +312
    +313
    +314
    +315
    +316
    +317
    +318
    +319
    +320
    +321
    +322
    +323
    +324
    +325
    +326
    +327
    +328
    +329
    +330
    +331
    +332
    +333
    +334
    +335
    +336
    +337
    +338
    +339
    +340
    +341
    +342
    +343
    +344
    +345
    +346
    +347
    +348
    +349
    +350
    +351
    +352
    +353
    +354
    +355
    +356
    +357
    +358
    +359
    +360
    +361
    +362
    +363
    +364
    +365
    +366
    +367
    +368
    +369
    +370
    +371
    +372
    +373
    +374
    +375
    +376
    +377
    +378
    +379
    +380
    +381
    +382
    +383
    +384
    +385
    +386
    +387
    +388
    +389
    +390
    +391
    +392
    +393
    +394
    +395
    +396
    +397
    +398
    +399
    +400
    +401
    +402
    +403
    +404
    +405
    +406
    +407
    +408
    +409
    //! DNS resolver
    +
    +use std::{
    +    fmt::{self, Write},
    +    future::Future,
    +    net::{IpAddr, Ipv6Addr, SocketAddr},
    +};
    +
    +use anyhow::{bail, Context, Result};
    +use hickory_resolver::{Resolver, TokioResolver};
    +use iroh_base::{NodeAddr, NodeId};
    +use n0_future::{
    +    time::{self, Duration},
    +    StreamExt,
    +};
    +use url::Url;
    +
    +pub mod node_info;
    +
    +/// The n0 testing DNS node origin, for production.
    +pub const N0_DNS_NODE_ORIGIN_PROD: &str = "dns.iroh.link";
    +/// The n0 testing DNS node origin, for testing.
    +pub const N0_DNS_NODE_ORIGIN_STAGING: &str = "staging-dns.iroh.link";
    +
    +/// The DNS resolver used throughout `iroh`.
    +#[derive(Debug, Clone)]
    +pub struct DnsResolver(TokioResolver);
    +
    +impl DnsResolver {
    +    /// Create a new DNS resolver with sensible cross-platform defaults.
    +    ///
    +    /// We first try to read the system's resolver from `/etc/resolv.conf`.
    +    /// This does not work at least on some Androids, therefore we fallback
    +    /// to the default `ResolverConfig` which uses eg. to google's `8.8.8.8` or `8.8.4.4`.
    +    pub fn new() -> Self {
    +        let (system_config, mut options) =
    +            hickory_resolver::system_conf::read_system_conf().unwrap_or_default();
    +
    +        // Copy all of the system config, but strip the bad windows nameservers.  Unfortunately
    +        // there is no easy way to do this.
    +        let mut config = hickory_resolver::config::ResolverConfig::new();
    +        if let Some(name) = system_config.domain() {
    +            config.set_domain(name.clone());
    +        }
    +        for name in system_config.search() {
    +            config.add_search(name.clone());
    +        }
    +        for nameserver_cfg in system_config.name_servers() {
    +            if !WINDOWS_BAD_SITE_LOCAL_DNS_SERVERS.contains(&nameserver_cfg.socket_addr.ip()) {
    +                config.add_name_server(nameserver_cfg.clone());
    +            }
    +        }
    +
    +        // see [`DnsResolver::lookup_ipv4_ipv6`] for info on why we avoid `LookupIpStrategy::Ipv4AndIpv6`
    +        options.ip_strategy = hickory_resolver::config::LookupIpStrategy::Ipv4thenIpv6;
    +
    +        let resolver = Resolver::tokio(config, options);
    +        DnsResolver(resolver)
    +    }
    +
    +    /// Create a new DNS resolver configured with a single UDP DNS nameserver.
    +    pub fn with_nameserver(nameserver: SocketAddr) -> Self {
    +        let mut config = hickory_resolver::config::ResolverConfig::new();
    +        let nameserver_config = hickory_resolver::config::NameServerConfig::new(
    +            nameserver,
    +            hickory_resolver::proto::xfer::Protocol::Udp,
    +        );
    +        config.add_name_server(nameserver_config);
    +        DnsResolver(Resolver::tokio(config, Default::default()))
    +    }
    +
    +    /// Removes all entries from the cache.
    +    pub fn clear_cache(&self) {
    +        self.0.clear_cache();
    +    }
    +
    +    /// Lookup a TXT record.
    +    pub async fn lookup_txt(&self, host: impl ToString, timeout: Duration) -> Result<TxtLookup> {
    +        let host = host.to_string();
    +        let res = time::timeout(timeout, self.0.txt_lookup(host)).await??;
    +        Ok(TxtLookup(res))
    +    }
    +
    +    /// Perform an ipv4 lookup with a timeout.
    +    pub async fn lookup_ipv4(
    +        &self,
    +        host: impl ToString,
    +        timeout: Duration,
    +    ) -> Result<impl Iterator<Item = IpAddr>> {
    +        let host = host.to_string();
    +        let addrs = time::timeout(timeout, self.0.ipv4_lookup(host)).await??;
    +        Ok(addrs.into_iter().map(|ip| IpAddr::V4(ip.0)))
    +    }
    +
    +    /// Perform an ipv6 lookup with a timeout.
    +    pub async fn lookup_ipv6(
    +        &self,
    +        host: impl ToString,
    +        timeout: Duration,
    +    ) -> Result<impl Iterator<Item = IpAddr>> {
    +        let host = host.to_string();
    +        let addrs = time::timeout(timeout, self.0.ipv6_lookup(host)).await??;
    +        Ok(addrs.into_iter().map(|ip| IpAddr::V6(ip.0)))
    +    }
    +
    +    /// Resolve IPv4 and IPv6 in parallel with a timeout.
    +    ///
    +    /// `LookupIpStrategy::Ipv4AndIpv6` will wait for ipv6 resolution timeout, even if it is
    +    /// not usable on the stack, so we manually query both lookups concurrently and time them out
    +    /// individually.
    +    pub async fn lookup_ipv4_ipv6(
    +        &self,
    +        host: impl ToString,
    +        timeout: Duration,
    +    ) -> Result<impl Iterator<Item = IpAddr>> {
    +        let host = host.to_string();
    +        let res = tokio::join!(
    +            self.lookup_ipv4(host.clone(), timeout),
    +            self.lookup_ipv6(host, timeout)
    +        );
    +
    +        match res {
    +            (Ok(ipv4), Ok(ipv6)) => Ok(LookupIter::Both(ipv4.chain(ipv6))),
    +            (Ok(ipv4), Err(_)) => Ok(LookupIter::Ipv4(ipv4)),
    +            (Err(_), Ok(ipv6)) => Ok(LookupIter::Ipv6(ipv6)),
    +            (Err(ipv4_err), Err(ipv6_err)) => {
    +                bail!("Ipv4: {:?}, Ipv6: {:?}", ipv4_err, ipv6_err)
    +            }
    +        }
    +    }
    +
    +    /// Resolve a hostname from a URL to an IP address.
    +    pub async fn resolve_host(
    +        &self,
    +        url: &Url,
    +        prefer_ipv6: bool,
    +        timeout: Duration,
    +    ) -> Result<IpAddr> {
    +        let host = url.host().context("Invalid URL")?;
    +        match host {
    +            url::Host::Domain(domain) => {
    +                // Need to do a DNS lookup
    +                let lookup = tokio::join!(
    +                    self.lookup_ipv4(domain, timeout),
    +                    self.lookup_ipv6(domain, timeout)
    +                );
    +                let (v4, v6) = match lookup {
    +                    (Err(ipv4_err), Err(ipv6_err)) => {
    +                        bail!("Ipv4: {ipv4_err:?}, Ipv6: {ipv6_err:?}");
    +                    }
    +                    (Err(_), Ok(mut v6)) => (None, v6.next()),
    +                    (Ok(mut v4), Err(_)) => (v4.next(), None),
    +                    (Ok(mut v4), Ok(mut v6)) => (v4.next(), v6.next()),
    +                };
    +                if prefer_ipv6 { v6.or(v4) } else { v4.or(v6) }.context("No response")
    +            }
    +            url::Host::Ipv4(ip) => Ok(IpAddr::V4(ip)),
    +            url::Host::Ipv6(ip) => Ok(IpAddr::V6(ip)),
    +        }
    +    }
    +
    +    /// Perform an ipv4 lookup with a timeout in a staggered fashion.
    +    ///
    +    /// From the moment this function is called, each lookup is scheduled after the delays in
    +    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
    +    /// at T+0ms, T+200ms and T+300ms. The `timeout` is applied to each call individually. The
    +    /// result of the first successful call is returned, or a summary of all errors otherwise.
    +    pub async fn lookup_ipv4_staggered(
    +        &self,
    +        host: impl ToString,
    +        timeout: Duration,
    +        delays_ms: &[u64],
    +    ) -> Result<impl Iterator<Item = IpAddr>> {
    +        let host = host.to_string();
    +        let f = || self.lookup_ipv4(host.clone(), timeout);
    +        stagger_call(f, delays_ms).await
    +    }
    +
    +    /// Perform an ipv6 lookup with a timeout in a staggered fashion.
    +    ///
    +    /// From the moment this function is called, each lookup is scheduled after the delays in
    +    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
    +    /// at T+0ms, T+200ms and T+300ms. The `timeout` is applied to each call individually. The
    +    /// result of the first successful call is returned, or a summary of all errors otherwise.
    +    pub async fn lookup_ipv6_staggered(
    +        &self,
    +        host: impl ToString,
    +        timeout: Duration,
    +        delays_ms: &[u64],
    +    ) -> Result<impl Iterator<Item = IpAddr>> {
    +        let host = host.to_string();
    +        let f = || self.lookup_ipv6(host.clone(), timeout);
    +        stagger_call(f, delays_ms).await
    +    }
    +
    +    /// Race an ipv4 and ipv6 lookup with a timeout in a staggered fashion.
    +    ///
    +    /// From the moment this function is called, each lookup is scheduled after the delays in
    +    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
    +    /// at T+0ms, T+200ms and T+300ms. The `timeout` is applied as stated in
    +    /// [`Self::lookup_ipv4_ipv6`]. The result of the first successful call is returned, or a
    +    /// summary of all errors otherwise.
    +    pub async fn lookup_ipv4_ipv6_staggered(
    +        &self,
    +        host: impl ToString,
    +        timeout: Duration,
    +        delays_ms: &[u64],
    +    ) -> Result<impl Iterator<Item = IpAddr>> {
    +        let host = host.to_string();
    +        let f = || self.lookup_ipv4_ipv6(host.clone(), timeout);
    +        stagger_call(f, delays_ms).await
    +    }
    +
    +    /// Looks up node info by [`NodeId`] and origin domain name.
    +    ///
    +    /// To lookup nodes that published their node info to the DNS servers run by n0,
    +    /// pass [`N0_DNS_NODE_ORIGIN_PROD`] as `origin`.
    +    pub async fn lookup_node_by_id(&self, node_id: &NodeId, origin: &str) -> Result<NodeAddr> {
    +        let attrs =
    +            node_info::TxtAttrs::<node_info::IrohAttr>::lookup_by_id(self, node_id, origin).await?;
    +        let info: node_info::NodeInfo = attrs.into();
    +        Ok(info.into())
    +    }
    +
    +    /// Looks up node info by DNS name.
    +    pub async fn lookup_node_by_domain_name(&self, name: &str) -> Result<NodeAddr> {
    +        let attrs = node_info::TxtAttrs::<node_info::IrohAttr>::lookup_by_name(self, name).await?;
    +        let info: node_info::NodeInfo = attrs.into();
    +        Ok(info.into())
    +    }
    +
    +    /// Looks up node info by DNS name in a staggered fashion.
    +    ///
    +    /// From the moment this function is called, each lookup is scheduled after the delays in
    +    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
    +    /// at T+0ms, T+200ms and T+300ms. The result of the first successful call is returned, or a
    +    /// summary of all errors otherwise.
    +    pub async fn lookup_node_by_domain_name_staggered(
    +        &self,
    +        name: &str,
    +        delays_ms: &[u64],
    +    ) -> Result<NodeAddr> {
    +        let f = || self.lookup_node_by_domain_name(name);
    +        stagger_call(f, delays_ms).await
    +    }
    +
    +    /// Looks up node info by [`NodeId`] and origin domain name.
    +    ///
    +    /// From the moment this function is called, each lookup is scheduled after the delays in
    +    /// `delays_ms` with the first call being done immediately. `[200ms, 300ms]` results in calls
    +    /// at T+0ms, T+200ms and T+300ms. The result of the first successful call is returned, or a
    +    /// summary of all errors otherwise.
    +    pub async fn lookup_node_by_id_staggered(
    +        &self,
    +        node_id: &NodeId,
    +        origin: &str,
    +        delays_ms: &[u64],
    +    ) -> Result<NodeAddr> {
    +        let f = || self.lookup_node_by_id(node_id, origin);
    +        stagger_call(f, delays_ms).await
    +    }
    +}
    +
    +impl Default for DnsResolver {
    +    fn default() -> Self {
    +        Self::new()
    +    }
    +}
    +
    +impl From<TokioResolver> for DnsResolver {
    +    fn from(resolver: TokioResolver) -> Self {
    +        DnsResolver(resolver)
    +    }
    +}
    +
    +/// TXT records returned from [`DnsResolver::lookup_txt`]
    +#[derive(Debug, Clone)]
    +pub struct TxtLookup(hickory_resolver::lookup::TxtLookup);
    +
    +impl From<hickory_resolver::lookup::TxtLookup> for TxtLookup {
    +    fn from(value: hickory_resolver::lookup::TxtLookup) -> Self {
    +        Self(value)
    +    }
    +}
    +
    +impl IntoIterator for TxtLookup {
    +    type Item = TXT;
    +
    +    type IntoIter = Box<dyn Iterator<Item = TXT>>;
    +
    +    fn into_iter(self) -> Self::IntoIter {
    +        Box::new(self.0.into_iter().map(TXT))
    +    }
    +}
    +
    +/// Record data for a TXT record
    +#[derive(Debug, Clone)]
    +pub struct TXT(hickory_resolver::proto::rr::rdata::TXT);
    +
    +impl TXT {
    +    /// Returns the raw character strings of this TXT record.
    +    pub fn txt_data(&self) -> &[Box<[u8]>] {
    +        self.0.txt_data()
    +    }
    +}
    +
    +impl fmt::Display for TXT {
    +    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
    +        write!(f, "{}", self.0)
    +    }
    +}
    +
    +/// Deprecated IPv6 site-local anycast addresses still configured by windows.
    +///
    +/// Windows still configures these site-local addresses as soon even as an IPv6 loopback
    +/// interface is configured.  We do not want to use these DNS servers, the chances of them
    +/// being usable are almost always close to zero, while the chance of DNS configuration
    +/// **only** relying on these servers and not also being configured normally are also almost
    +/// zero.  The chance of the DNS resolver accidentally trying one of these and taking a
    +/// bunch of timeouts to figure out they're no good are on the other hand very high.
    +const WINDOWS_BAD_SITE_LOCAL_DNS_SERVERS: [IpAddr; 3] = [
    +    IpAddr::V6(Ipv6Addr::new(0xfec0, 0, 0, 0xffff, 0, 0, 0, 1)),
    +    IpAddr::V6(Ipv6Addr::new(0xfec0, 0, 0, 0xffff, 0, 0, 0, 2)),
    +    IpAddr::V6(Ipv6Addr::new(0xfec0, 0, 0, 0xffff, 0, 0, 0, 3)),
    +];
    +
    +/// Helper enum to give a unified type to the iterators of [`DnsResolver::lookup_ipv4_ipv6`].
    +enum LookupIter<A, B> {
    +    Ipv4(A),
    +    Ipv6(B),
    +    Both(std::iter::Chain<A, B>),
    +}
    +
    +impl<A: Iterator<Item = IpAddr>, B: Iterator<Item = IpAddr>> Iterator for LookupIter<A, B> {
    +    type Item = IpAddr;
    +
    +    fn next(&mut self) -> Option<Self::Item> {
    +        match self {
    +            LookupIter::Ipv4(iter) => iter.next(),
    +            LookupIter::Ipv6(iter) => iter.next(),
    +            LookupIter::Both(iter) => iter.next(),
    +        }
    +    }
    +}
    +
    +/// Staggers calls to the future F with the given delays.
    +///
    +/// The first call is performed immediately. The first call to succeed generates an Ok result
    +/// ignoring any previous error. If all calls fail, an error summarizing all errors is returned.
    +async fn stagger_call<T, F: Fn() -> Fut, Fut: Future<Output = Result<T>>>(
    +    f: F,
    +    delays_ms: &[u64],
    +) -> Result<T> {
    +    let mut calls = n0_future::FuturesUnorderedBounded::new(delays_ms.len() + 1);
    +    // NOTE: we add the 0 delay here to have a uniform set of futures. This is more performant than
    +    // using alternatives that allow futures of different types.
    +    for delay in std::iter::once(&0u64).chain(delays_ms) {
    +        let delay = Duration::from_millis(*delay);
    +        let fut = f();
    +        let staggered_fut = async move {
    +            time::sleep(delay).await;
    +            fut.await
    +        };
    +        calls.push(staggered_fut)
    +    }
    +
    +    let mut errors = vec![];
    +    while let Some(call_result) = calls.next().await {
    +        match call_result {
    +            Ok(t) => return Ok(t),
    +            Err(e) => errors.push(e),
    +        }
    +    }
    +
    +    bail!(
    +        "no calls succeed: [ {}]",
    +        errors.into_iter().fold(String::new(), |mut summary, e| {
    +            write!(summary, "{e} ").expect("infallible");
    +            summary
    +        })
    +    )
    +}
    +
    +#[cfg(test)]
    +pub(crate) mod tests {
    +    use std::sync::atomic::AtomicUsize;
    +
    +    use tracing_test::traced_test;
    +
    +    use super::*;
    +
    +    #[tokio::test]
    +    #[traced_test]
    +    async fn stagger_basic() {
    +        const CALL_RESULTS: &[Result<u8, u8>] = &[Err(2), Ok(3), Ok(5), Ok(7)];
    +        static DONE_CALL: AtomicUsize = AtomicUsize::new(0);
    +        let f = || {
    +            let r_pos = DONE_CALL.fetch_add(1, std::sync::atomic::Ordering::Relaxed);
    +            async move {
    +                tracing::info!(r_pos, "call");
    +                CALL_RESULTS[r_pos].map_err(|e| anyhow::anyhow!("{e}"))
    +            }
    +        };
    +
    +        let delays = [1000, 15];
    +        let result = stagger_call(f, &delays).await.unwrap();
    +        assert_eq!(result, 5)
    +    }
    +}
    +
    \ No newline at end of file diff --git a/pr/3170/docs/src/iroh/dns/node_info.rs.html b/pr/3170/docs/src/iroh_relay/dns/node_info.rs.html similarity index 82% rename from pr/3170/docs/src/iroh/dns/node_info.rs.html rename to pr/3170/docs/src/iroh_relay/dns/node_info.rs.html index 7ad904fe7d..5d8ffa583b 100644 --- a/pr/3170/docs/src/iroh/dns/node_info.rs.html +++ b/pr/3170/docs/src/iroh_relay/dns/node_info.rs.html @@ -1,4 +1,4 @@ -node_info.rs - source

    iroh/dns/
    node_info.rs

    +node_info.rs - source

    iroh_relay/dns/
    node_info.rs

     1
     2
     3
    @@ -539,16 +539,7 @@
     538
     539
     540
    -541
    -542
    -543
    -544
    -545
    -546
    -547
    -548
    -549
    -550
    //! Support for handling DNS resource records for dialing by [`NodeId`].
    +541
    //! Support for handling DNS resource records for dialing by [`NodeId`].
     //!
     //! Dialing by [`NodeId`] is supported by iroh nodes publishing [Pkarr] records to DNS
     //! servers or the Mainline DHT.  This module supports creating and parsing these records.
    @@ -578,9 +569,9 @@
     //! [Pkarr]: https://app.pkarr.org
     //! [z-base-32]: https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt
     //! [RFC1464]: https://www.rfc-editor.org/rfc/rfc1464
    -//! [`RelayUrl`]: crate::RelayUrl
    -//! [`N0_DNS_NODE_ORIGIN_PROD`]: crate::discovery::dns::N0_DNS_NODE_ORIGIN_PROD
    -//! [`N0_DNS_NODE_ORIGIN_STAGING`]: crate::discovery::dns::N0_DNS_NODE_ORIGIN_STAGING
    +//! [`RelayUrl`]: iroh_base::RelayUrl
    +//! [`N0_DNS_NODE_ORIGIN_PROD`]: crate::dns::N0_DNS_NODE_ORIGIN_PROD
    +//! [`N0_DNS_NODE_ORIGIN_STAGING`]: crate::dns::N0_DNS_NODE_ORIGIN_STAGING
     
     use std::{
         collections::{BTreeMap, BTreeSet},
    @@ -591,11 +582,13 @@
     };
     
     use anyhow::{anyhow, Result};
    -use hickory_resolver::{proto::ProtoError, Name, TokioResolver};
    +use hickory_resolver::{proto::ProtoError, Name};
     use iroh_base::{NodeAddr, NodeId, SecretKey};
     use tracing::warn;
     use url::Url;
     
    +use crate::{defaults::timeouts::DNS_TIMEOUT, dns::DnsResolver};
    +
     /// The DNS name for the iroh TXT record.
     pub const IROH_TXT_NAME: &str = "_iroh";
     
    @@ -606,28 +599,38 @@
         Debug, strum::Display, strum::AsRefStr, strum::EnumString, Hash, Eq, PartialEq, Ord, PartialOrd,
     )]
     #[strum(serialize_all = "kebab-case")]
    -pub enum IrohAttr {
    +pub(super) enum IrohAttr {
         /// URL of home relay.
         Relay,
         /// Direct address.
         Addr,
     }
     
    -/// Encodes a [`NodeId`] in [`z-base-32`] encoding.
    -///
    -/// [z-base-32]: https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt
    -pub fn to_z32(node_id: &NodeId) -> String {
    -    z32::encode(node_id.as_bytes())
    +/// Extension methods for [`NodeId`] to encode to and decode from [`z32`],
    +/// which is the encoding used in [`pkarr`] domain names.
    +pub trait NodeIdExt {
    +    /// Encodes a [`NodeId`] in [`z-base-32`] encoding.
    +    ///
    +    /// [z-base-32]: https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt
    +    fn to_z32(&self) -> String;
    +
    +    /// Parses a [`NodeId`] from [`z-base-32`] encoding.
    +    ///
    +    /// [z-base-32]: https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt
    +    fn from_z32(s: &str) -> Result<NodeId>;
     }
     
    -/// Parses a [`NodeId`] from [`z-base-32`] encoding.
    -///
    -/// [z-base-32]: https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt
    -pub fn from_z32(s: &str) -> Result<NodeId> {
    -    let bytes = z32::decode(s.as_bytes()).map_err(|_| anyhow!("invalid z32"))?;
    -    let bytes: &[u8; 32] = &bytes.try_into().map_err(|_| anyhow!("not 32 bytes long"))?;
    -    let node_id = NodeId::from_bytes(bytes)?;
    -    Ok(node_id)
    +impl NodeIdExt for NodeId {
    +    fn to_z32(&self) -> String {
    +        z32::encode(self.as_bytes())
    +    }
    +
    +    fn from_z32(s: &str) -> Result<NodeId> {
    +        let bytes = z32::decode(s.as_bytes()).map_err(|_| anyhow!("invalid z32"))?;
    +        let bytes: &[u8; 32] = &bytes.try_into().map_err(|_| anyhow!("not 32 bytes long"))?;
    +        let node_id = NodeId::from_bytes(bytes)?;
    +        Ok(node_id)
    +    }
     }
     
     /// Information about the iroh node contained in an [`IROH_TXT_NAME`] TXT resource record.
    @@ -714,8 +717,8 @@
         }
     
         /// Parses a [`NodeInfo`] from a TXT records lookup.
    -    pub fn from_hickory_lookup(lookup: hickory_resolver::lookup::TxtLookup) -> Result<Self> {
    -        let attrs = TxtAttrs::from_hickory_lookup(lookup)?;
    +    pub fn from_txt_lookup(lookup: super::TxtLookup) -> Result<Self> {
    +        let attrs = TxtAttrs::from_txt_lookup(lookup)?;
             Ok(attrs.into())
         }
     
    @@ -736,15 +739,9 @@
             self.to_attrs().to_pkarr_signed_packet(secret_key, ttl)
         }
     
    -    /// Converts into a [`hickory_resolver::proto::rr::Record`] DNS record.
    -    pub fn to_hickory_records(
    -        &self,
    -        origin: &str,
    -        ttl: u32,
    -    ) -> Result<impl Iterator<Item = hickory_resolver::proto::rr::Record> + 'static> {
    -        let attrs = self.to_attrs();
    -        let records = attrs.to_hickory_records(origin, ttl)?;
    -        Ok(records.collect::<Vec<_>>().into_iter())
    +    /// Converts into a list of `{key}={value}` strings.
    +    pub fn to_txt_strings(&self) -> Vec<String> {
    +        self.to_attrs().to_txt_strings().collect()
         }
     }
     
    @@ -753,9 +750,7 @@
     /// Takes a [`hickory_resolver::proto::rr::Name`] DNS name and expects the first label to be
     /// [`IROH_TXT_NAME`] and the second label to be a z32 encoded [`NodeId`]. Ignores
     /// subsequent labels.
    -pub(crate) fn node_id_from_hickory_name(
    -    name: &hickory_resolver::proto::rr::Name,
    -) -> Option<NodeId> {
    +fn node_id_from_hickory_name(name: &hickory_resolver::proto::rr::Name) -> Option<NodeId> {
         if name.num_labels() < 2 {
             return None;
         }
    @@ -765,7 +760,7 @@
             return None;
         }
         let label = std::str::from_utf8(labels.next().expect("num_labels checked")).ok()?;
    -    let node_id = from_z32(label).ok()?;
    +    let node_id = NodeId::from_z32(label).ok()?;
         Some(node_id)
     }
     
    @@ -775,14 +770,14 @@
     /// all attributes. Can also be used with an enum, if it implements [`FromStr`] and
     /// [`Display`].
     #[derive(Debug)]
    -pub struct TxtAttrs<T> {
    +pub(super) struct TxtAttrs<T> {
         node_id: NodeId,
         attrs: BTreeMap<T, Vec<String>>,
     }
     
     impl<T: FromStr + Display + Hash + Ord> TxtAttrs<T> {
         /// Creates [`TxtAttrs`] from a node id and an iterator of key-value pairs.
    -    pub fn from_parts(node_id: NodeId, pairs: impl Iterator<Item = (T, String)>) -> Self {
    +    pub(super) fn from_parts(node_id: NodeId, pairs: impl Iterator<Item = (T, String)>) -> Self {
             let mut attrs: BTreeMap<T, Vec<String>> = BTreeMap::new();
             for (k, v) in pairs {
                 attrs.entry(k).or_default().push(v);
    @@ -791,7 +786,10 @@
         }
     
         /// Creates [`TxtAttrs`] from a node id and an iterator of "{key}={value}" strings.
    -    pub fn from_strings(node_id: NodeId, strings: impl Iterator<Item = String>) -> Result<Self> {
    +    pub(super) fn from_strings(
    +        node_id: NodeId,
    +        strings: impl Iterator<Item = String>,
    +    ) -> Result<Self> {
             let mut attrs: BTreeMap<T, Vec<String>> = BTreeMap::new();
             for s in strings {
                 let mut parts = s.split('=');
    @@ -806,16 +804,16 @@
             Ok(Self { attrs, node_id })
         }
     
    -    async fn lookup(resolver: &TokioResolver, name: Name) -> Result<Self> {
    +    async fn lookup(resolver: &DnsResolver, name: Name) -> Result<Self> {
             let name = ensure_iroh_txt_label(name)?;
    -        let lookup = resolver.txt_lookup(name).await?;
    -        let attrs = Self::from_hickory_lookup(lookup)?;
    +        let lookup = resolver.lookup_txt(name, DNS_TIMEOUT).await?;
    +        let attrs = Self::from_txt_lookup(lookup)?;
             Ok(attrs)
         }
     
         /// Looks up attributes by [`NodeId`] and origin domain.
    -    pub async fn lookup_by_id(
    -        resolver: &TokioResolver,
    +    pub(super) async fn lookup_by_id(
    +        resolver: &DnsResolver,
             node_id: &NodeId,
             origin: &str,
         ) -> Result<Self> {
    @@ -824,23 +822,23 @@
         }
     
         /// Looks up attributes by DNS name.
    -    pub async fn lookup_by_name(resolver: &TokioResolver, name: &str) -> Result<Self> {
    +    pub(super) async fn lookup_by_name(resolver: &DnsResolver, name: &str) -> Result<Self> {
             let name = Name::from_str(name)?;
             TxtAttrs::lookup(resolver, name).await
         }
     
         /// Returns the parsed attributes.
    -    pub fn attrs(&self) -> &BTreeMap<T, Vec<String>> {
    +    pub(super) fn attrs(&self) -> &BTreeMap<T, Vec<String>> {
             &self.attrs
         }
     
         /// Returns the node id.
    -    pub fn node_id(&self) -> NodeId {
    +    pub(super) fn node_id(&self) -> NodeId {
             self.node_id
         }
     
         /// Parses a [`pkarr::SignedPacket`].
    -    pub fn from_pkarr_signed_packet(packet: &pkarr::SignedPacket) -> Result<Self> {
    +    pub(super) fn from_pkarr_signed_packet(packet: &pkarr::SignedPacket) -> Result<Self> {
             use pkarr::dns::{
                 rdata::RData,
                 {self},
    @@ -863,11 +861,11 @@
         }
     
         /// Parses a TXT records lookup.
    -    pub fn from_hickory_lookup(lookup: hickory_resolver::lookup::TxtLookup) -> Result<Self> {
    -        let queried_node_id = node_id_from_hickory_name(lookup.query().name())
    +    pub(super) fn from_txt_lookup(lookup: super::TxtLookup) -> Result<Self> {
    +        let queried_node_id = node_id_from_hickory_name(lookup.0.query().name())
                 .ok_or_else(|| anyhow!("invalid DNS answer: not a query for _iroh.z32encodedpubkey"))?;
     
    -        let strings = lookup.as_lookup().record_iter().filter_map(|record| {
    +        let strings = lookup.0.as_lookup().record_iter().filter_map(|record| {
                 match node_id_from_hickory_name(record.name()) {
                     // Filter out only TXT record answers that match the node_id we searched for.
                     Some(n) if n == queried_node_id => match record.data().as_txt() {
    @@ -909,27 +907,10 @@
                 .flat_map(move |(k, vs)| vs.iter().map(move |v| format!("{k}={v}")))
         }
     
    -    /// Converts to a list of [`hickory_resolver::proto::rr::Record`] resource records.
    -    pub fn to_hickory_records(
    -        &self,
    -        origin: &str,
    -        ttl: u32,
    -    ) -> Result<impl Iterator<Item = hickory_resolver::proto::rr::Record> + '_> {
    -        use hickory_resolver::proto::rr;
    -        let name = format!("{}.{}.{}", IROH_TXT_NAME, to_z32(&self.node_id), origin);
    -        let name = rr::Name::from_utf8(name)?;
    -        let records = self.to_txt_strings().map(move |s| {
    -            let txt = rr::rdata::TXT::new(vec![s]);
    -            let rdata = rr::RData::TXT(txt);
    -            rr::Record::from_rdata(name.clone(), ttl, rdata)
    -        });
    -        Ok(records)
    -    }
    -
         /// Creates a [`pkarr::SignedPacket`]
         ///
         /// This constructs a DNS packet and signs it with a [`SecretKey`].
    -    pub fn to_pkarr_signed_packet(
    +    pub(super) fn to_pkarr_signed_packet(
             &self,
             secret_key: &SecretKey,
             ttl: u32,
    @@ -969,7 +950,7 @@
     }
     
     fn node_domain(node_id: &NodeId, origin: &str) -> Result<Name> {
    -    let domain = format!("{}.{}", to_z32(node_id), origin);
    +    let domain = format!("{}.{}", NodeId::to_z32(node_id), origin);
         let domain = Name::from_str(&domain)?;
         Ok(domain)
     }
    @@ -992,8 +973,7 @@
         use iroh_base::{NodeId, SecretKey};
         use testresult::TestResult;
     
    -    use super::NodeInfo;
    -    use crate::dns::node_info::to_z32;
    +    use super::{NodeIdExt, NodeInfo};
     
         #[test]
         fn txt_attr_roundtrip() {
    @@ -1052,10 +1032,11 @@
                 Record::from_rdata(
                     Name::from_utf8(format!(
                         "_iroh.{}.dns.iroh.link.",
    -                    to_z32(&NodeId::from_str(
    +                    NodeId::from_str(
                             // Another NodeId
                             "a55f26132e5e43de834d534332f66a20d480c3e50a13a312a071adea6569981e"
    -                    )?)
    +                    )?
    +                    .to_z32()
                     ))?,
                     30,
                     RData::TXT(TXT::new(vec![
    @@ -1079,8 +1060,9 @@
                 ),
             ];
             let lookup = Lookup::new_with_max_ttl(query, Arc::new(records));
    +        let lookup = hickory_resolver::lookup::TxtLookup::from(lookup);
     
    -        let node_info = NodeInfo::from_hickory_lookup(lookup.into())?;
    +        let node_info = NodeInfo::from_txt_lookup(lookup.into())?;
             assert_eq!(
                 node_info,
                 NodeInfo {
    diff --git a/pr/3170/docs/src/iroh_relay/lib.rs.html b/pr/3170/docs/src/iroh_relay/lib.rs.html
    index d34f6c6f1d..af788f4045 100644
    --- a/pr/3170/docs/src/iroh_relay/lib.rs.html
    +++ b/pr/3170/docs/src/iroh_relay/lib.rs.html
    @@ -99,8 +99,8 @@
     mod relay_map;
     pub(crate) use key_cache::KeyCache;
     
    -#[cfg(test)]
    -mod dns;
    +#[cfg(not(wasm_browser))]
    +pub mod dns;
     
     pub use protos::relay::MAX_PACKET_SIZE;
     
    diff --git a/pr/3170/docs/src/iroh_relay/server.rs.html b/pr/3170/docs/src/iroh_relay/server.rs.html
    index a7de01d1d5..5085bcaab7 100644
    --- a/pr/3170/docs/src/iroh_relay/server.rs.html
    +++ b/pr/3170/docs/src/iroh_relay/server.rs.html
    @@ -1237,7 +1237,12 @@
     1236
     1237
     1238
    -1239
    //! A fully-fledged iroh-relay server over HTTP or HTTPS.
    +1239
    +1240
    +1241
    +1242
    +1243
    +1244
    //! A fully-fledged iroh-relay server over HTTP or HTTPS.
     //!
     //! This module provides an API to run a full fledged iroh-relay server.  It is primarily
     //! used by the `iroh-relay` binary in this crate.  It can be used to run a relay server in
    @@ -2056,6 +2061,7 @@
         use super::*;
         use crate::{
             client::{conn::ReceivedMessage, ClientBuilder, SendMessage},
    +        dns::DnsResolver,
             http::{Protocol, HTTP_UPGRADE_PROTOCOL},
         };
     
    @@ -2095,6 +2101,10 @@
             panic!("failed to send and recv message");
         }
     
    +    fn dns_resolver() -> DnsResolver {
    +        DnsResolver::new()
    +    }
    +
         #[tokio::test]
         #[traced_test]
         async fn test_no_services() {
    @@ -2193,7 +2203,7 @@
             // set up client a
             let a_secret_key = SecretKey::generate(rand::thread_rng());
             let a_key = a_secret_key.public();
    -        let resolver = crate::dns::default_resolver().clone();
    +        let resolver = dns_resolver();
             let mut client_a = ClientBuilder::new(relay_url.clone(), a_secret_key, resolver.clone())
                 .connect()
                 .await?;
    @@ -2246,7 +2256,7 @@
             // set up client a
             let a_secret_key = SecretKey::generate(rand::thread_rng());
             let a_key = a_secret_key.public();
    -        let resolver = crate::dns::default_resolver();
    +        let resolver = dns_resolver();
             info!("client a build & connect");
             let mut client_a = ClientBuilder::new(relay_url.clone(), a_secret_key, resolver.clone())
                 .protocol(Protocol::Websocket)
    @@ -2308,7 +2318,7 @@
             // set up client a
             let a_secret_key = SecretKey::generate(rand::thread_rng());
             let a_key = a_secret_key.public();
    -        let resolver = crate::dns::default_resolver().clone();
    +        let resolver = dns_resolver();
             let mut client_a = ClientBuilder::new(relay_url.clone(), a_secret_key, resolver)
                 .connect()
                 .await?;
    @@ -2316,7 +2326,7 @@
             // set up client b
             let b_secret_key = SecretKey::generate(rand::thread_rng());
             let b_key = b_secret_key.public();
    -        let resolver = crate::dns::default_resolver().clone();
    +        let resolver = dns_resolver();
             let mut client_b = ClientBuilder::new(relay_url.clone(), b_secret_key, resolver)
                 .protocol(Protocol::Websocket) // Use websockets
                 .connect()
    @@ -2420,7 +2430,7 @@
             let relay_url: RelayUrl = relay_url.parse()?;
     
             // set up client a
    -        let resolver = crate::dns::default_resolver().clone();
    +        let resolver = dns_resolver();
             let mut client_a = ClientBuilder::new(relay_url.clone(), a_secret_key, resolver)
                 .connect()
                 .await?;
    @@ -2444,7 +2454,7 @@
             let b_secret_key = SecretKey::generate(rand::thread_rng());
             let b_key = b_secret_key.public();
     
    -        let resolver = crate::dns::default_resolver().clone();
    +        let resolver = dns_resolver();
             let mut client_b = ClientBuilder::new(relay_url.clone(), b_secret_key, resolver)
                 .connect()
                 .await?;
    @@ -2453,7 +2463,7 @@
             let c_secret_key = SecretKey::generate(rand::thread_rng());
             let c_key = c_secret_key.public();
     
    -        let resolver = crate::dns::default_resolver().clone();
    +        let resolver = dns_resolver();
             let mut client_c = ClientBuilder::new(relay_url.clone(), c_secret_key, resolver)
                 .connect()
                 .await?;
    diff --git a/pr/3170/docs/src/iroh_relay/server/http_server.rs.html b/pr/3170/docs/src/iroh_relay/server/http_server.rs.html
    index 9d0a85263e..4d27bffb1b 100644
    --- a/pr/3170/docs/src/iroh_relay/server/http_server.rs.html
    +++ b/pr/3170/docs/src/iroh_relay/server/http_server.rs.html
    @@ -1148,7 +1148,9 @@
     1147
     1148
     1149
    -1150
    use std::{
    +1150
    +1151
    +1152
    use std::{
         collections::HashMap, future::Future, net::SocketAddr, pin::Pin, sync::Arc, time::Duration,
     };
     
    @@ -1859,10 +1861,13 @@
         use tracing_test::traced_test;
     
         use super::*;
    -    use crate::client::{
    -        conn::{Conn, ReceivedMessage, SendMessage},
    -        streams::MaybeTlsStreamChained,
    -        Client, ClientBuilder,
    +    use crate::{
    +        client::{
    +            conn::{Conn, ReceivedMessage, SendMessage},
    +            streams::MaybeTlsStreamChained,
    +            Client, ClientBuilder,
    +        },
    +        dns::DnsResolver,
         };
     
         pub(crate) fn make_tls_config() -> TlsConfig {
    @@ -1961,9 +1966,8 @@
     
         async fn create_test_client(key: SecretKey, server_url: Url) -> Result<(PublicKey, Client)> {
             let public_key = key.public();
    -        let dns_resolver = crate::dns::default_resolver();
    -        let client = ClientBuilder::new(server_url, key, dns_resolver.clone())
    -            .insecure_skip_cert_verify(true);
    +        let client =
    +            ClientBuilder::new(server_url, key, DnsResolver::new()).insecure_skip_cert_verify(true);
             let client = client.connect().await?;
     
             Ok((public_key, client))
    diff --git a/pr/3170/docs/trait.impl/core/clone/trait.Clone.js b/pr/3170/docs/trait.impl/core/clone/trait.Clone.js
    index 3bc8878040..6099fab6f5 100644
    --- a/pr/3170/docs/trait.impl/core/clone/trait.Clone.js
    +++ b/pr/3170/docs/trait.impl/core/clone/trait.Clone.js
    @@ -1,9 +1,9 @@
     (function() {
    -    var implementors = Object.fromEntries([["iroh",[["impl Clone for ConnectionType"],["impl Clone for ControlMsg"],["impl Clone for DirectAddrType"],["impl Clone for PathSelection"],["impl Clone for RelayMode"],["impl Clone for Source"],["impl Clone for DhtDiscovery"],["impl Clone for PkarrPublisher"],["impl Clone for PkarrRelayClient"],["impl Clone for PkarrResolver"],["impl Clone for StaticProvider"],["impl Clone for DiscoveryItem"],["impl Clone for NodeInfo"],["impl Clone for Connection"],["impl Clone for DirectAddr"],["impl Clone for DirectAddrInfo"],["impl Clone for Endpoint"],["impl Clone for RemoteInfo"],["impl Clone for Metrics"],["impl Clone for Router"],["impl<T> Clone for Watchable<T>"],["impl<T: Clone> Clone for Watcher<T>"],["impl<T: Clone> Clone for WatcherStream<T>"]]],["iroh_base",[["impl Clone for NodeAddr"],["impl Clone for PublicKey"],["impl Clone for RelayUrl"],["impl Clone for SecretKey"],["impl Clone for NodeTicket"]]],["iroh_bench",[["impl Clone for Commands"],["impl Clone for Opt"],["impl Clone for Opt"]]],["iroh_dns_server",[["impl Clone for CertMode"],["impl Clone for RateLimitConfig"],["impl Clone for StoreConfig"],["impl Clone for DnsConfig"],["impl Clone for DnsHandler"],["impl Clone for Handle"],["impl Clone for HttpConfig"],["impl Clone for HttpsConfig"],["impl Clone for Metrics"],["impl Clone for AppState"],["impl Clone for ZoneStore"]]],["iroh_net_report",[["impl Clone for Addr"],["impl Clone for IpMappedAddr"],["impl Clone for IpMappedAddresses"],["impl Clone for Metrics"],["impl Clone for QuicConfig"],["impl Clone for RelayLatencies"],["impl Clone for Report"]]],["iroh_relay",[["impl Clone for ReceivedMessage"],["impl Clone for Protocol"],["impl Clone for Access"],["impl Clone for ClientBuilder"],["impl Clone for ClientRateLimit"],["impl Clone for Metrics"],["impl Clone for StunMetrics"],["impl Clone for RelayMap"],["impl Clone for RelayNode"],["impl Clone for RelayQuicConfig"]]]]);
    +    var implementors = Object.fromEntries([["iroh",[["impl Clone for ConnectionType"],["impl Clone for ControlMsg"],["impl Clone for DirectAddrType"],["impl Clone for PathSelection"],["impl Clone for RelayMode"],["impl Clone for Source"],["impl Clone for DhtDiscovery"],["impl Clone for PkarrPublisher"],["impl Clone for PkarrRelayClient"],["impl Clone for PkarrResolver"],["impl Clone for StaticProvider"],["impl Clone for DiscoveryItem"],["impl Clone for Connection"],["impl Clone for DirectAddr"],["impl Clone for DirectAddrInfo"],["impl Clone for Endpoint"],["impl Clone for RemoteInfo"],["impl Clone for Metrics"],["impl Clone for Router"],["impl<T> Clone for Watchable<T>"],["impl<T: Clone> Clone for Watcher<T>"],["impl<T: Clone> Clone for WatcherStream<T>"]]],["iroh_base",[["impl Clone for NodeAddr"],["impl Clone for PublicKey"],["impl Clone for RelayUrl"],["impl Clone for SecretKey"],["impl Clone for NodeTicket"]]],["iroh_bench",[["impl Clone for Commands"],["impl Clone for Opt"],["impl Clone for Opt"]]],["iroh_dns_server",[["impl Clone for CertMode"],["impl Clone for RateLimitConfig"],["impl Clone for StoreConfig"],["impl Clone for DnsConfig"],["impl Clone for DnsHandler"],["impl Clone for Handle"],["impl Clone for HttpConfig"],["impl Clone for HttpsConfig"],["impl Clone for Metrics"],["impl Clone for AppState"],["impl Clone for ZoneStore"]]],["iroh_net_report",[["impl Clone for Addr"],["impl Clone for IpMappedAddr"],["impl Clone for IpMappedAddresses"],["impl Clone for Metrics"],["impl Clone for Options"],["impl Clone for QuicConfig"],["impl Clone for RelayLatencies"],["impl Clone for Report"]]],["iroh_relay",[["impl Clone for ReceivedMessage"],["impl Clone for Protocol"],["impl Clone for Access"],["impl Clone for ClientBuilder"],["impl Clone for NodeInfo"],["impl Clone for DnsResolver"],["impl Clone for TXT"],["impl Clone for TxtLookup"],["impl Clone for ClientRateLimit"],["impl Clone for Metrics"],["impl Clone for StunMetrics"],["impl Clone for RelayMap"],["impl Clone for RelayNode"],["impl Clone for RelayQuicConfig"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
             window.pending_implementors = implementors;
         }
     })()
    -//{"start":57,"fragment_lengths":[6778,1333,770,3144,1954,2781]}
    \ No newline at end of file
    +//{"start":57,"fragment_lengths":[6500,1333,770,3144,2221,3875]}
    \ No newline at end of file
    diff --git a/pr/3170/docs/trait.impl/core/cmp/trait.Eq.js b/pr/3170/docs/trait.impl/core/cmp/trait.Eq.js
    index ae0a132d3c..23636fecbf 100644
    --- a/pr/3170/docs/trait.impl/core/cmp/trait.Eq.js
    +++ b/pr/3170/docs/trait.impl/core/cmp/trait.Eq.js
    @@ -1,9 +1,9 @@
     (function() {
    -    var implementors = Object.fromEntries([["iroh",[["impl Eq for IrohAttr"],["impl Eq for ConnectionType"],["impl Eq for ControlMsg"],["impl Eq for DirectAddrType"],["impl Eq for PathSelection"],["impl Eq for RelayMode"],["impl Eq for Source"],["impl Eq for NodeInfo"],["impl Eq for DirectAddr"],["impl Eq for DirectAddrInfo"],["impl Eq for RemoteInfo"]]],["iroh_base",[["impl Eq for NodeAddr"],["impl Eq for PublicKey"],["impl Eq for RelayUrl"],["impl Eq for NodeTicket"]]],["iroh_dns_server",[["impl Eq for CertMode"]]],["iroh_net_report",[["impl Eq for IpMappedAddr"],["impl Eq for RelayLatencies"],["impl Eq for Report"]]],["iroh_relay",[["impl Eq for Protocol"],["impl Eq for Access"],["impl Eq for RelayMap"],["impl Eq for RelayNode"],["impl Eq for RelayQuicConfig"]]]]);
    +    var implementors = Object.fromEntries([["iroh",[["impl Eq for ConnectionType"],["impl Eq for ControlMsg"],["impl Eq for DirectAddrType"],["impl Eq for PathSelection"],["impl Eq for RelayMode"],["impl Eq for Source"],["impl Eq for DirectAddr"],["impl Eq for DirectAddrInfo"],["impl Eq for RemoteInfo"]]],["iroh_base",[["impl Eq for NodeAddr"],["impl Eq for PublicKey"],["impl Eq for RelayUrl"],["impl Eq for NodeTicket"]]],["iroh_dns_server",[["impl Eq for CertMode"]]],["iroh_net_report",[["impl Eq for IpMappedAddr"],["impl Eq for RelayLatencies"],["impl Eq for Report"]]],["iroh_relay",[["impl Eq for Protocol"],["impl Eq for Access"],["impl Eq for NodeInfo"],["impl Eq for RelayMap"],["impl Eq for RelayNode"],["impl Eq for RelayQuicConfig"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
             window.pending_implementors = implementors;
         }
     })()
    -//{"start":57,"fragment_lengths":[2868,1020,284,817,1284]}
    \ No newline at end of file
    +//{"start":57,"fragment_lengths":[2344,1020,284,817,1561]}
    \ No newline at end of file
    diff --git a/pr/3170/docs/trait.impl/core/cmp/trait.Ord.js b/pr/3170/docs/trait.impl/core/cmp/trait.Ord.js
    index ca5a212f73..f9ce6dde32 100644
    --- a/pr/3170/docs/trait.impl/core/cmp/trait.Ord.js
    +++ b/pr/3170/docs/trait.impl/core/cmp/trait.Ord.js
    @@ -1,9 +1,9 @@
     (function() {
    -    var implementors = Object.fromEntries([["iroh",[["impl Ord for IrohAttr"],["impl Ord for DirectAddrType"],["impl Ord for DirectAddr"]]],["iroh_base",[["impl Ord for NodeAddr"],["impl Ord for PublicKey"],["impl Ord for RelayUrl"]]],["iroh_net_report",[["impl Ord for IpMappedAddr"]]],["iroh_relay",[["impl Ord for RelayNode"],["impl Ord for RelayQuicConfig"]]]]);
    +    var implementors = Object.fromEntries([["iroh",[["impl Ord for DirectAddrType"],["impl Ord for DirectAddr"]]],["iroh_base",[["impl Ord for NodeAddr"],["impl Ord for PublicKey"],["impl Ord for RelayUrl"]]],["iroh_net_report",[["impl Ord for IpMappedAddr"]]],["iroh_relay",[["impl Ord for RelayNode"],["impl Ord for RelayQuicConfig"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
             window.pending_implementors = implementors;
         }
     })()
    -//{"start":57,"fragment_lengths":[804,763,294,541]}
    \ No newline at end of file
    +//{"start":57,"fragment_lengths":[542,763,294,541]}
    \ No newline at end of file
    diff --git a/pr/3170/docs/trait.impl/core/cmp/trait.PartialEq.js b/pr/3170/docs/trait.impl/core/cmp/trait.PartialEq.js
    index 0af5b5c64c..f751d29382 100644
    --- a/pr/3170/docs/trait.impl/core/cmp/trait.PartialEq.js
    +++ b/pr/3170/docs/trait.impl/core/cmp/trait.PartialEq.js
    @@ -1,9 +1,9 @@
     (function() {
    -    var implementors = Object.fromEntries([["iroh",[["impl PartialEq for IrohAttr"],["impl PartialEq for ConnectionType"],["impl PartialEq for ControlMsg"],["impl PartialEq for DirectAddrType"],["impl PartialEq for PathSelection"],["impl PartialEq for RelayMode"],["impl PartialEq for Source"],["impl PartialEq for NodeInfo"],["impl PartialEq for DirectAddr"],["impl PartialEq for DirectAddrInfo"],["impl PartialEq for RemoteInfo"]]],["iroh_base",[["impl PartialEq for NodeAddr"],["impl PartialEq for PublicKey"],["impl PartialEq for RelayUrl"],["impl PartialEq for NodeTicket"]]],["iroh_dns_server",[["impl PartialEq for CertMode"]]],["iroh_net_report",[["impl PartialEq for IpMappedAddr"],["impl PartialEq for RelayLatencies"],["impl PartialEq for Report"]]],["iroh_relay",[["impl PartialEq for Protocol"],["impl PartialEq for Access"],["impl PartialEq for RelayMap"],["impl PartialEq for RelayNode"],["impl PartialEq for RelayQuicConfig"]]]]);
    +    var implementors = Object.fromEntries([["iroh",[["impl PartialEq for ConnectionType"],["impl PartialEq for ControlMsg"],["impl PartialEq for DirectAddrType"],["impl PartialEq for PathSelection"],["impl PartialEq for RelayMode"],["impl PartialEq for Source"],["impl PartialEq for DirectAddr"],["impl PartialEq for DirectAddrInfo"],["impl PartialEq for RemoteInfo"]]],["iroh_base",[["impl PartialEq for NodeAddr"],["impl PartialEq for PublicKey"],["impl PartialEq for RelayUrl"],["impl PartialEq for NodeTicket"]]],["iroh_dns_server",[["impl PartialEq for CertMode"]]],["iroh_net_report",[["impl PartialEq for IpMappedAddr"],["impl PartialEq for RelayLatencies"],["impl PartialEq for Report"]]],["iroh_relay",[["impl PartialEq for Protocol"],["impl PartialEq for Access"],["impl PartialEq for NodeInfo"],["impl PartialEq for RelayMap"],["impl PartialEq for RelayNode"],["impl PartialEq for RelayQuicConfig"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
             window.pending_implementors = implementors;
         }
     })()
    -//{"start":57,"fragment_lengths":[3099,1104,305,880,1389]}
    \ No newline at end of file
    +//{"start":57,"fragment_lengths":[2533,1104,305,880,1687]}
    \ No newline at end of file
    diff --git a/pr/3170/docs/trait.impl/core/cmp/trait.PartialOrd.js b/pr/3170/docs/trait.impl/core/cmp/trait.PartialOrd.js
    index 26ccbe46a6..54f17b52a3 100644
    --- a/pr/3170/docs/trait.impl/core/cmp/trait.PartialOrd.js
    +++ b/pr/3170/docs/trait.impl/core/cmp/trait.PartialOrd.js
    @@ -1,9 +1,9 @@
     (function() {
    -    var implementors = Object.fromEntries([["iroh",[["impl PartialOrd for IrohAttr"],["impl PartialOrd for DirectAddrType"],["impl PartialOrd for DirectAddr"]]],["iroh_base",[["impl PartialOrd for NodeAddr"],["impl PartialOrd for PublicKey"],["impl PartialOrd for RelayUrl"]]],["iroh_net_report",[["impl PartialOrd for IpMappedAddr"]]],["iroh_relay",[["impl PartialOrd for RelayNode"],["impl PartialOrd for RelayQuicConfig"]]]]);
    +    var implementors = Object.fromEntries([["iroh",[["impl PartialOrd for DirectAddrType"],["impl PartialOrd for DirectAddr"]]],["iroh_base",[["impl PartialOrd for NodeAddr"],["impl PartialOrd for PublicKey"],["impl PartialOrd for RelayUrl"]]],["iroh_net_report",[["impl PartialOrd for IpMappedAddr"]]],["iroh_relay",[["impl PartialOrd for RelayNode"],["impl PartialOrd for RelayQuicConfig"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
             window.pending_implementors = implementors;
         }
     })()
    -//{"start":57,"fragment_lengths":[867,826,315,583]}
    \ No newline at end of file
    +//{"start":57,"fragment_lengths":[584,826,315,583]}
    \ No newline at end of file
    diff --git a/pr/3170/docs/trait.impl/core/convert/trait.AsRef.js b/pr/3170/docs/trait.impl/core/convert/trait.AsRef.js
    index a1f101e9ed..095fca66f2 100644
    --- a/pr/3170/docs/trait.impl/core/convert/trait.AsRef.js
    +++ b/pr/3170/docs/trait.impl/core/convert/trait.AsRef.js
    @@ -1,9 +1,9 @@
     (function() {
    -    var implementors = Object.fromEntries([["iroh",[["impl AsRef<str> for IrohAttr"]]],["iroh_base",[["impl AsRef<[u8]> for PublicKey"]]]]);
    +    var implementors = Object.fromEntries([["iroh_base",[["impl AsRef<[u8]> for PublicKey"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
             window.pending_implementors = implementors;
         }
     })()
    -//{"start":57,"fragment_lengths":[390,385]}
    \ No newline at end of file
    +//{"start":57,"fragment_lengths":[384]}
    \ No newline at end of file
    diff --git a/pr/3170/docs/trait.impl/core/convert/trait.From.js b/pr/3170/docs/trait.impl/core/convert/trait.From.js
    index 7a049bf61d..b17b67c8c3 100644
    --- a/pr/3170/docs/trait.impl/core/convert/trait.From.js
    +++ b/pr/3170/docs/trait.impl/core/convert/trait.From.js
    @@ -1,9 +1,9 @@
     (function() {
    -    var implementors = Object.fromEntries([["iroh",[["impl From<&NodeInfo> for TxtAttrs<IrohAttr>"],["impl From<&TxtAttrs<IrohAttr>> for NodeInfo"],["impl From<NodeInfo> for NodeAddr"],["impl From<TxtAttrs<IrohAttr>> for NodeInfo"],["impl From<RemoteInfo> for NodeAddr"],["impl<T> From<T> for ConcurrentDiscovery
    where\n T: IntoIterator<Item = Box<dyn Discovery>>,
    "]]],["iroh_base",[["impl From<(PublicKey, Option<RelayUrl>, &[SocketAddr])> for NodeAddr"],["impl From<ParseError> for RelayUrlParseError"],["impl From<Url> for RelayUrl"],["impl From<NodeAddr> for NodeTicket"],["impl From<PublicKey> for NodeAddr"],["impl From<RelayUrl> for Url"],["impl From<NodeTicket> for NodeAddr"],["impl From<DecodeError> for KeyParsingError"],["impl From<DecodeError> for Error"],["impl From<Error> for KeyParsingError"],["impl From<Error> for Error"],["impl From<SigningKey> for SecretKey"],["impl From<VerifyingKey> for PublicKey"],["impl From<[u8; 32]> for SecretKey"]]],["iroh_relay",[["impl From<Error> for ConnSendError"],["impl From<Error> for ConnSendError"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl From<RemoteInfo> for NodeAddr"],["impl<T> From<T> for ConcurrentDiscovery
    where\n T: IntoIterator<Item = Box<dyn Discovery>>,
    "]]],["iroh_base",[["impl From<(PublicKey, Option<RelayUrl>, &[SocketAddr])> for NodeAddr"],["impl From<ParseError> for RelayUrlParseError"],["impl From<Url> for RelayUrl"],["impl From<NodeAddr> for NodeTicket"],["impl From<PublicKey> for NodeAddr"],["impl From<RelayUrl> for Url"],["impl From<NodeTicket> for NodeAddr"],["impl From<DecodeError> for KeyParsingError"],["impl From<DecodeError> for Error"],["impl From<Error> for KeyParsingError"],["impl From<Error> for Error"],["impl From<SigningKey> for SecretKey"],["impl From<VerifyingKey> for PublicKey"],["impl From<[u8; 32]> for SecretKey"]]],["iroh_relay",[["impl From<Error> for ConnSendError"],["impl From<NodeInfo> for NodeAddr"],["impl From<Error> for ConnSendError"],["impl From<Resolver<GenericConnector<TokioRuntimeProvider>>> for DnsResolver"],["impl From<TxtLookup> for TxtLookup"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[3256,5343,750]} \ No newline at end of file +//{"start":57,"fragment_lengths":[1219,5343,1816]} \ No newline at end of file diff --git a/pr/3170/docs/trait.impl/core/convert/trait.TryFrom.js b/pr/3170/docs/trait.impl/core/convert/trait.TryFrom.js index 786695d4fe..1591044c5c 100644 --- a/pr/3170/docs/trait.impl/core/convert/trait.TryFrom.js +++ b/pr/3170/docs/trait.impl/core/convert/trait.TryFrom.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl TryFrom<&str> for IrohAttr"]]],["iroh_base",[["impl TryFrom<&[u8; 32]> for PublicKey"],["impl TryFrom<&[u8]> for PublicKey"],["impl TryFrom<&[u8]> for SecretKey"]]],["iroh_net_report",[["impl TryFrom<Ipv6Addr> for IpMappedAddr"]]]]); + var implementors = Object.fromEntries([["iroh_base",[["impl TryFrom<&[u8; 32]> for PublicKey"],["impl TryFrom<&[u8]> for PublicKey"],["impl TryFrom<&[u8]> for SecretKey"]]],["iroh_net_report",[["impl TryFrom<Ipv6Addr> for IpMappedAddr"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[401,1255,481]} \ No newline at end of file +//{"start":57,"fragment_lengths":[1254,481]} \ No newline at end of file diff --git a/pr/3170/docs/trait.impl/core/default/trait.Default.js b/pr/3170/docs/trait.impl/core/default/trait.Default.js index cc291290a4..c7ee4ee972 100644 --- a/pr/3170/docs/trait.impl/core/default/trait.Default.js +++ b/pr/3170/docs/trait.impl/core/default/trait.Default.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl Default for ConnectionType"],["impl Default for PathSelection"],["impl Default for Builder"],["impl Default for DhtDiscovery"],["impl Default for StaticProvider"],["impl Default for ConcurrentDiscovery"],["impl Default for Builder"],["impl Default for Metrics"],["impl<T: Default> Default for Watchable<T>"]]],["iroh_bench",[["impl Default for Stats"],["impl Default for StreamStats"],["impl Default for ClientStats"]]],["iroh_dns_server",[["impl Default for &RateLimitConfig"],["impl Default for BootstrapOption"],["impl Default for RateLimitConfig"],["impl Default for Config"],["impl Default for MainlineConfig"],["impl Default for StoreConfig"],["impl Default for Metrics"]]],["iroh_net_report",[["impl Default for IpMappedAddresses"],["impl Default for Metrics"],["impl Default for Options"],["impl Default for RelayLatencies"],["impl Default for Report"]]],["iroh_relay",[["impl Default for Protocol"],["impl Default for Limits"],["impl Default for Metrics"],["impl Default for StunMetrics"],["impl Default for PingTracker"],["impl Default for RelayQuicConfig"],["impl<EC: Default + Debug, EA: Default + Debug> Default for ServerConfig<EC, EA>"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl Default for ConnectionType"],["impl Default for PathSelection"],["impl Default for Builder"],["impl Default for DhtDiscovery"],["impl Default for StaticProvider"],["impl Default for ConcurrentDiscovery"],["impl Default for Builder"],["impl Default for Metrics"],["impl<T: Default> Default for Watchable<T>"]]],["iroh_bench",[["impl Default for Stats"],["impl Default for StreamStats"],["impl Default for ClientStats"]]],["iroh_dns_server",[["impl Default for &RateLimitConfig"],["impl Default for BootstrapOption"],["impl Default for RateLimitConfig"],["impl Default for Config"],["impl Default for MainlineConfig"],["impl Default for StoreConfig"],["impl Default for Metrics"]]],["iroh_net_report",[["impl Default for IpMappedAddresses"],["impl Default for Metrics"],["impl Default for Options"],["impl Default for RelayLatencies"],["impl Default for Report"]]],["iroh_relay",[["impl Default for Protocol"],["impl Default for DnsResolver"],["impl Default for Limits"],["impl Default for Metrics"],["impl Default for StunMetrics"],["impl Default for PingTracker"],["impl Default for RelayQuicConfig"],["impl<EC: Default + Debug, EA: Default + Debug> Default for ServerConfig<EC, EA>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[2848,862,2149,1455,2600]} \ No newline at end of file +//{"start":57,"fragment_lengths":[2848,862,2149,1455,2888]} \ No newline at end of file diff --git a/pr/3170/docs/trait.impl/core/fmt/trait.Debug.js b/pr/3170/docs/trait.impl/core/fmt/trait.Debug.js index 815e705c30..78af02b519 100644 --- a/pr/3170/docs/trait.impl/core/fmt/trait.Debug.js +++ b/pr/3170/docs/trait.impl/core/fmt/trait.Debug.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl Debug for IrohAttr"],["impl Debug for ConnectionType"],["impl Debug for ControlMsg"],["impl Debug for DirectAddrType"],["impl Debug for PathSelection"],["impl Debug for RelayMode"],["impl Debug for Source"],["impl Debug for DnsDiscovery"],["impl Debug for LocalSwarmDiscovery"],["impl Debug for Builder"],["impl Debug for DhtDiscovery"],["impl Debug for PkarrPublisher"],["impl Debug for PkarrRelayClient"],["impl Debug for PkarrResolver"],["impl Debug for StaticProvider"],["impl Debug for ConcurrentDiscovery"],["impl Debug for DiscoveryItem"],["impl Debug for NodeInfo"],["impl Debug for Builder"],["impl Debug for Connecting"],["impl Debug for Connection"],["impl Debug for DirectAddr"],["impl Debug for DirectAddrInfo"],["impl Debug for Endpoint"],["impl Debug for Incoming"],["impl Debug for IncomingFuture"],["impl Debug for RemoteInfo"],["impl Debug for Metrics"],["impl Debug for Router"],["impl Debug for RouterBuilder"],["impl Debug for CleanupDropGuard"],["impl Debug for DnsPkarrServer"],["impl Debug for Disconnected"],["impl<'a> Debug for Accept<'a>"],["impl<'a, T: Debug> Debug for WatchInitializedFut<'a, T>"],["impl<'a, T: Debug> Debug for WatchNextFut<'a, T>"],["impl<T: Debug> Debug for TxtAttrs<T>"],["impl<T: Debug> Debug for Watchable<T>"],["impl<T: Debug> Debug for Watcher<T>"],["impl<T: Debug> Debug for WatcherStream<T>"]]],["iroh_base",[["impl Debug for KeyParsingError"],["impl Debug for Error"],["impl Debug for NodeAddr"],["impl Debug for PublicKey"],["impl Debug for RelayUrl"],["impl Debug for RelayUrlParseError"],["impl Debug for SecretKey"],["impl Debug for NodeTicket"]]],["iroh_bench",[["impl Debug for Commands"],["impl Debug for Opt"],["impl Debug for Stats"],["impl Debug for StreamStats"],["impl Debug for TransferResult"],["impl Debug for Opt"]]],["iroh_dns_server",[["impl Debug for BootstrapOption"],["impl Debug for CertMode"],["impl Debug for RateLimitConfig"],["impl Debug for Config"],["impl Debug for MainlineConfig"],["impl Debug for MetricsConfig"],["impl Debug for StoreConfig"],["impl Debug for DnsConfig"],["impl Debug for DnsHandler"],["impl Debug for Handle"],["impl Debug for HttpConfig"],["impl Debug for HttpsConfig"],["impl Debug for Metrics"],["impl Debug for ZoneStore"]]],["iroh_net_report",[["impl Debug for Addr"],["impl Debug for Client"],["impl Debug for IpMappedAddr"],["impl Debug for IpMappedAddrError"],["impl Debug for IpMappedAddresses"],["impl Debug for Metrics"],["impl Debug for Options"],["impl Debug for QuicConfig"],["impl Debug for RelayLatencies"],["impl Debug for Report"]]],["iroh_relay",[["impl Debug for ConnSendError"],["impl Debug for ReceivedMessage"],["impl Debug for SendMessage"],["impl Debug for Protocol"],["impl Debug for Error"],["impl Debug for Access"],["impl Debug for AccessConfig"],["impl Debug for Client"],["impl Debug for ClientBuilder"],["impl Debug for ClientSink"],["impl Debug for ClientStream"],["impl Debug for QuicClient"],["impl Debug for ClientRateLimit"],["impl Debug for Limits"],["impl Debug for Metrics"],["impl Debug for QuicConfig"],["impl Debug for Server"],["impl Debug for StunConfig"],["impl Debug for StunMetrics"],["impl Debug for PingTracker"],["impl Debug for RelayMap"],["impl Debug for RelayNode"],["impl Debug for RelayQuicConfig"],["impl<EC: Debug, EA: Debug> Debug for CertConfig<EC, EA>"],["impl<EC: Debug, EA: Debug> Debug for RelayConfig<EC, EA>
    where\n Option<TlsConfig<EC, EA>>: Debug,
    "],["impl<EC: Debug, EA: Debug> Debug for ServerConfig<EC, EA>
    where\n Option<RelayConfig<EC, EA>>: Debug,
    "],["impl<EC: Debug, EA: Debug> Debug for TlsConfig<EC, EA>
    where\n CertConfig<EC, EA>: Debug,
    "],["impl<Loader: Debug + Send + 'static> Debug for ReloadingResolver<Loader>"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl Debug for ConnectionType"],["impl Debug for ControlMsg"],["impl Debug for DirectAddrType"],["impl Debug for PathSelection"],["impl Debug for RelayMode"],["impl Debug for Source"],["impl Debug for DnsDiscovery"],["impl Debug for LocalSwarmDiscovery"],["impl Debug for Builder"],["impl Debug for DhtDiscovery"],["impl Debug for PkarrPublisher"],["impl Debug for PkarrRelayClient"],["impl Debug for PkarrResolver"],["impl Debug for StaticProvider"],["impl Debug for ConcurrentDiscovery"],["impl Debug for DiscoveryItem"],["impl Debug for Builder"],["impl Debug for Connecting"],["impl Debug for Connection"],["impl Debug for DirectAddr"],["impl Debug for DirectAddrInfo"],["impl Debug for Endpoint"],["impl Debug for Incoming"],["impl Debug for IncomingFuture"],["impl Debug for RemoteInfo"],["impl Debug for Metrics"],["impl Debug for Router"],["impl Debug for RouterBuilder"],["impl Debug for CleanupDropGuard"],["impl Debug for DnsPkarrServer"],["impl Debug for Disconnected"],["impl<'a> Debug for Accept<'a>"],["impl<'a, T: Debug> Debug for WatchInitializedFut<'a, T>"],["impl<'a, T: Debug> Debug for WatchNextFut<'a, T>"],["impl<T: Debug> Debug for Watchable<T>"],["impl<T: Debug> Debug for Watcher<T>"],["impl<T: Debug> Debug for WatcherStream<T>"]]],["iroh_base",[["impl Debug for KeyParsingError"],["impl Debug for Error"],["impl Debug for NodeAddr"],["impl Debug for PublicKey"],["impl Debug for RelayUrl"],["impl Debug for RelayUrlParseError"],["impl Debug for SecretKey"],["impl Debug for NodeTicket"]]],["iroh_bench",[["impl Debug for Commands"],["impl Debug for Opt"],["impl Debug for Stats"],["impl Debug for StreamStats"],["impl Debug for TransferResult"],["impl Debug for Opt"]]],["iroh_dns_server",[["impl Debug for BootstrapOption"],["impl Debug for CertMode"],["impl Debug for RateLimitConfig"],["impl Debug for Config"],["impl Debug for MainlineConfig"],["impl Debug for MetricsConfig"],["impl Debug for StoreConfig"],["impl Debug for DnsConfig"],["impl Debug for DnsHandler"],["impl Debug for Handle"],["impl Debug for HttpConfig"],["impl Debug for HttpsConfig"],["impl Debug for Metrics"],["impl Debug for ZoneStore"]]],["iroh_net_report",[["impl Debug for Addr"],["impl Debug for Client"],["impl Debug for IpMappedAddr"],["impl Debug for IpMappedAddrError"],["impl Debug for IpMappedAddresses"],["impl Debug for Metrics"],["impl Debug for Options"],["impl Debug for QuicConfig"],["impl Debug for RelayLatencies"],["impl Debug for Report"]]],["iroh_relay",[["impl Debug for ConnSendError"],["impl Debug for ReceivedMessage"],["impl Debug for SendMessage"],["impl Debug for Protocol"],["impl Debug for Error"],["impl Debug for Access"],["impl Debug for AccessConfig"],["impl Debug for Client"],["impl Debug for ClientBuilder"],["impl Debug for ClientSink"],["impl Debug for ClientStream"],["impl Debug for NodeInfo"],["impl Debug for DnsResolver"],["impl Debug for TXT"],["impl Debug for TxtLookup"],["impl Debug for QuicClient"],["impl Debug for ClientRateLimit"],["impl Debug for Limits"],["impl Debug for Metrics"],["impl Debug for QuicConfig"],["impl Debug for Server"],["impl Debug for StunConfig"],["impl Debug for StunMetrics"],["impl Debug for PingTracker"],["impl Debug for RelayMap"],["impl Debug for RelayNode"],["impl Debug for RelayQuicConfig"],["impl<EC: Debug, EA: Debug> Debug for CertConfig<EC, EA>"],["impl<EC: Debug, EA: Debug> Debug for RelayConfig<EC, EA>
    where\n Option<TlsConfig<EC, EA>>: Debug,
    "],["impl<EC: Debug, EA: Debug> Debug for ServerConfig<EC, EA>
    where\n Option<RelayConfig<EC, EA>>: Debug,
    "],["impl<EC: Debug, EA: Debug> Debug for TlsConfig<EC, EA>
    where\n CertConfig<EC, EA>: Debug,
    "],["impl<Loader: Debug + Send + 'static> Debug for ReloadingResolver<Loader>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[12085,2120,1583,3987,2742,10399]} \ No newline at end of file +//{"start":57,"fragment_lengths":[11119,2120,1583,3987,2742,11477]} \ No newline at end of file diff --git a/pr/3170/docs/trait.impl/core/fmt/trait.Display.js b/pr/3170/docs/trait.impl/core/fmt/trait.Display.js index 95f29927eb..3c1899691e 100644 --- a/pr/3170/docs/trait.impl/core/fmt/trait.Display.js +++ b/pr/3170/docs/trait.impl/core/fmt/trait.Display.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl Display for IrohAttr"],["impl Display for ConnectionType"],["impl Display for ControlMsg"],["impl Display for DirectAddrType"],["impl Display for Source"],["impl Display for Disconnected"]]],["iroh_base",[["impl Display for KeyParsingError"],["impl Display for Error"],["impl Display for PublicKey"],["impl Display for RelayUrl"],["impl Display for RelayUrlParseError"],["impl Display for SecretKey"],["impl Display for NodeTicket"]]],["iroh_dns_server",[["impl Display for CertMode"]]],["iroh_net_report",[["impl Display for IpMappedAddr"],["impl Display for IpMappedAddrError"],["impl Display for Report"]]],["iroh_relay",[["impl Display for ConnSendError"],["impl Display for Error"],["impl Display for RelayMap"],["impl Display for RelayNode"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl Display for ConnectionType"],["impl Display for ControlMsg"],["impl Display for DirectAddrType"],["impl Display for Source"],["impl Display for Disconnected"]]],["iroh_base",[["impl Display for KeyParsingError"],["impl Display for Error"],["impl Display for PublicKey"],["impl Display for RelayUrl"],["impl Display for RelayUrlParseError"],["impl Display for SecretKey"],["impl Display for NodeTicket"]]],["iroh_dns_server",[["impl Display for CertMode"]]],["iroh_net_report",[["impl Display for IpMappedAddr"],["impl Display for IpMappedAddrError"],["impl Display for Report"]]],["iroh_relay",[["impl Display for ConnSendError"],["impl Display for Error"],["impl Display for TXT"],["impl Display for RelayMap"],["impl Display for RelayNode"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[1655,1908,299,871,1103]} \ No newline at end of file +//{"start":57,"fragment_lengths":[1381,1908,299,871,1359]} \ No newline at end of file diff --git a/pr/3170/docs/trait.impl/core/hash/trait.Hash.js b/pr/3170/docs/trait.impl/core/hash/trait.Hash.js index 3f173b15c2..7b1e7d43f0 100644 --- a/pr/3170/docs/trait.impl/core/hash/trait.Hash.js +++ b/pr/3170/docs/trait.impl/core/hash/trait.Hash.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl Hash for IrohAttr"],["impl Hash for DirectAddrType"],["impl Hash for Source"],["impl Hash for DirectAddr"]]],["iroh_base",[["impl Hash for PublicKey"],["impl Hash for RelayUrl"]]],["iroh_net_report",[["impl Hash for IpMappedAddr"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl Hash for DirectAddrType"],["impl Hash for Source"],["impl Hash for DirectAddr"]]],["iroh_base",[["impl Hash for PublicKey"],["impl Hash for RelayUrl"]]],["iroh_net_report",[["impl Hash for IpMappedAddr"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[1069,525,299]} \ No newline at end of file +//{"start":57,"fragment_lengths":[802,525,299]} \ No newline at end of file diff --git a/pr/3170/docs/trait.impl/core/iter/traits/collect/trait.IntoIterator.js b/pr/3170/docs/trait.impl/core/iter/traits/collect/trait.IntoIterator.js new file mode 100644 index 0000000000..dcdfb1e369 --- /dev/null +++ b/pr/3170/docs/trait.impl/core/iter/traits/collect/trait.IntoIterator.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["iroh_relay",[["impl IntoIterator for TxtLookup"]]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[339]} \ No newline at end of file diff --git a/pr/3170/docs/trait.impl/core/marker/trait.Freeze.js b/pr/3170/docs/trait.impl/core/marker/trait.Freeze.js index 47367cafcb..a84afe35f7 100644 --- a/pr/3170/docs/trait.impl/core/marker/trait.Freeze.js +++ b/pr/3170/docs/trait.impl/core/marker/trait.Freeze.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl !Freeze for Incoming",1,["iroh::endpoint::Incoming"]],["impl !Freeze for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl Freeze for IrohAttr",1,["iroh::dns::node_info::IrohAttr"]],["impl Freeze for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl Freeze for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl Freeze for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Freeze for PathSelection",1,["iroh::endpoint::PathSelection"]],["impl Freeze for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Freeze for Source",1,["iroh::magicsock::node_map::Source"]],["impl Freeze for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Freeze for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl Freeze for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Freeze for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Freeze for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Freeze for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Freeze for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Freeze for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Freeze for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Freeze for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Freeze for NodeInfo",1,["iroh::dns::node_info::NodeInfo"]],["impl Freeze for Builder",1,["iroh::endpoint::Builder"]],["impl Freeze for Connecting",1,["iroh::endpoint::Connecting"]],["impl Freeze for Connection",1,["iroh::endpoint::Connection"]],["impl Freeze for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Freeze for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl Freeze for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Freeze for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl Freeze for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Freeze for Router",1,["iroh::protocol::Router"]],["impl Freeze for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Freeze for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Freeze for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Freeze for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> !Freeze for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> Freeze for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> Freeze for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<T> Freeze for TxtAttrs<T>",1,["iroh::dns::node_info::TxtAttrs"]],["impl<T> Freeze for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> Freeze for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> Freeze for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl Freeze for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Freeze for Error",1,["iroh_base::ticket::Error"]],["impl Freeze for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl Freeze for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Freeze for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Freeze for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Freeze for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Freeze for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl Freeze for Commands",1,["iroh_bench::Commands"]],["impl Freeze for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Freeze for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Freeze for Opt",1,["iroh_bench::s2n::Opt"]],["impl Freeze for Stats",1,["iroh_bench::stats::Stats"]],["impl Freeze for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Freeze for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Freeze for ClientStats",1,["iroh_bench::ClientStats"]],["impl Freeze for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Freeze for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Freeze for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Freeze for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Freeze for Config",1,["iroh_dns_server::config::Config"]],["impl Freeze for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Freeze for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Freeze for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Freeze for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Freeze for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Freeze for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Freeze for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Freeze for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Freeze for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Freeze for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Freeze for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Freeze for Server",1,["iroh_dns_server::server::Server"]],["impl Freeze for AppState",1,["iroh_dns_server::state::AppState"]],["impl Freeze for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_net_report",[["impl Freeze for Addr",1,["iroh_net_report::Addr"]],["impl Freeze for Client",1,["iroh_net_report::Client"]],["impl Freeze for IpMappedAddr",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddr"]],["impl Freeze for IpMappedAddrError",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddrError"]],["impl Freeze for IpMappedAddresses",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddresses"]],["impl Freeze for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl Freeze for Options",1,["iroh_net_report::Options"]],["impl Freeze for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl Freeze for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl Freeze for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl !Freeze for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl !Freeze for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl !Freeze for Client",1,["iroh_relay::client::Client"]],["impl !Freeze for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl Freeze for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl Freeze for Protocol",1,["iroh_relay::http::Protocol"]],["impl Freeze for Error",1,["iroh_relay::protos::stun::Error"]],["impl Freeze for Access",1,["iroh_relay::server::Access"]],["impl Freeze for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl Freeze for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Freeze for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Freeze for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Freeze for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl Freeze for Limits",1,["iroh_relay::server::Limits"]],["impl Freeze for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Freeze for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Freeze for Server",1,["iroh_relay::server::Server"]],["impl Freeze for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl Freeze for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl Freeze for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl Freeze for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Freeze for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl Freeze for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA> Freeze for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA> Freeze for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA> Freeze for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA> Freeze for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Freeze for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); + var implementors = Object.fromEntries([["iroh",[["impl !Freeze for Incoming",1,["iroh::endpoint::Incoming"]],["impl !Freeze for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl Freeze for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl Freeze for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl Freeze for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Freeze for PathSelection",1,["iroh::endpoint::PathSelection"]],["impl Freeze for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Freeze for Source",1,["iroh::magicsock::node_map::Source"]],["impl Freeze for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Freeze for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl Freeze for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Freeze for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Freeze for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Freeze for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Freeze for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Freeze for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Freeze for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Freeze for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Freeze for Builder",1,["iroh::endpoint::Builder"]],["impl Freeze for Connecting",1,["iroh::endpoint::Connecting"]],["impl Freeze for Connection",1,["iroh::endpoint::Connection"]],["impl Freeze for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Freeze for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl Freeze for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Freeze for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl Freeze for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Freeze for Router",1,["iroh::protocol::Router"]],["impl Freeze for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Freeze for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Freeze for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Freeze for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> !Freeze for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> Freeze for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> Freeze for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<T> Freeze for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> Freeze for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> Freeze for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl Freeze for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Freeze for Error",1,["iroh_base::ticket::Error"]],["impl Freeze for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl Freeze for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Freeze for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Freeze for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Freeze for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Freeze for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl Freeze for Commands",1,["iroh_bench::Commands"]],["impl Freeze for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Freeze for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Freeze for Opt",1,["iroh_bench::s2n::Opt"]],["impl Freeze for Stats",1,["iroh_bench::stats::Stats"]],["impl Freeze for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Freeze for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Freeze for ClientStats",1,["iroh_bench::ClientStats"]],["impl Freeze for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Freeze for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Freeze for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Freeze for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Freeze for Config",1,["iroh_dns_server::config::Config"]],["impl Freeze for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Freeze for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Freeze for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Freeze for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Freeze for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Freeze for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Freeze for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Freeze for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Freeze for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Freeze for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Freeze for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Freeze for Server",1,["iroh_dns_server::server::Server"]],["impl Freeze for AppState",1,["iroh_dns_server::state::AppState"]],["impl Freeze for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_net_report",[["impl Freeze for Addr",1,["iroh_net_report::Addr"]],["impl Freeze for Client",1,["iroh_net_report::Client"]],["impl Freeze for IpMappedAddr",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddr"]],["impl Freeze for IpMappedAddrError",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddrError"]],["impl Freeze for IpMappedAddresses",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddresses"]],["impl Freeze for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl Freeze for Options",1,["iroh_net_report::Options"]],["impl Freeze for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl Freeze for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl Freeze for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl !Freeze for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl !Freeze for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl !Freeze for Client",1,["iroh_relay::client::Client"]],["impl !Freeze for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl Freeze for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl Freeze for Protocol",1,["iroh_relay::http::Protocol"]],["impl Freeze for Error",1,["iroh_relay::protos::stun::Error"]],["impl Freeze for Access",1,["iroh_relay::server::Access"]],["impl Freeze for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl Freeze for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Freeze for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Freeze for NodeInfo",1,["iroh_relay::dns::node_info::NodeInfo"]],["impl Freeze for DnsResolver",1,["iroh_relay::dns::DnsResolver"]],["impl Freeze for TXT",1,["iroh_relay::dns::TXT"]],["impl Freeze for TxtLookup",1,["iroh_relay::dns::TxtLookup"]],["impl Freeze for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Freeze for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl Freeze for Limits",1,["iroh_relay::server::Limits"]],["impl Freeze for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Freeze for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Freeze for Server",1,["iroh_relay::server::Server"]],["impl Freeze for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl Freeze for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl Freeze for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl Freeze for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Freeze for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl Freeze for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA> Freeze for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA> Freeze for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA> Freeze for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA> Freeze for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Freeze for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13296,2488,2769,6014,3243,9195]} \ No newline at end of file +//{"start":57,"fragment_lengths":[12324,2488,2769,6014,3243,10447]} \ No newline at end of file diff --git a/pr/3170/docs/trait.impl/core/marker/trait.Send.js b/pr/3170/docs/trait.impl/core/marker/trait.Send.js index fd1fff42fd..ec57a33a60 100644 --- a/pr/3170/docs/trait.impl/core/marker/trait.Send.js +++ b/pr/3170/docs/trait.impl/core/marker/trait.Send.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl Send for IrohAttr",1,["iroh::dns::node_info::IrohAttr"]],["impl Send for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl Send for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl Send for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Send for PathSelection",1,["iroh::endpoint::PathSelection"]],["impl Send for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Send for Source",1,["iroh::magicsock::node_map::Source"]],["impl Send for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Send for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl Send for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Send for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Send for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Send for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Send for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Send for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Send for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Send for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Send for NodeInfo",1,["iroh::dns::node_info::NodeInfo"]],["impl Send for Builder",1,["iroh::endpoint::Builder"]],["impl Send for Connecting",1,["iroh::endpoint::Connecting"]],["impl Send for Connection",1,["iroh::endpoint::Connection"]],["impl Send for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Send for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl Send for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Send for Incoming",1,["iroh::endpoint::Incoming"]],["impl Send for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl Send for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl Send for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Send for Router",1,["iroh::protocol::Router"]],["impl Send for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Send for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Send for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Send for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> Send for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> Send for WatchInitializedFut<'a, T>
    where\n T: Send + Sync,
    ",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> Send for WatchNextFut<'a, T>
    where\n T: Send + Sync,
    ",1,["iroh::watchable::WatchNextFut"]],["impl<T> Send for TxtAttrs<T>
    where\n T: Send,
    ",1,["iroh::dns::node_info::TxtAttrs"]],["impl<T> Send for Watchable<T>
    where\n T: Send + Sync,
    ",1,["iroh::watchable::Watchable"]],["impl<T> Send for Watcher<T>
    where\n T: Send + Sync,
    ",1,["iroh::watchable::Watcher"]],["impl<T> Send for WatcherStream<T>
    where\n T: Send + Sync,
    ",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl Send for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Send for Error",1,["iroh_base::ticket::Error"]],["impl Send for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl Send for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Send for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Send for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Send for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Send for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl Send for Commands",1,["iroh_bench::Commands"]],["impl Send for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Send for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Send for Opt",1,["iroh_bench::s2n::Opt"]],["impl Send for Stats",1,["iroh_bench::stats::Stats"]],["impl Send for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Send for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Send for ClientStats",1,["iroh_bench::ClientStats"]],["impl Send for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Send for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Send for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Send for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Send for Config",1,["iroh_dns_server::config::Config"]],["impl Send for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Send for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Send for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Send for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Send for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Send for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Send for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Send for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Send for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Send for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Send for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Send for Server",1,["iroh_dns_server::server::Server"]],["impl Send for AppState",1,["iroh_dns_server::state::AppState"]],["impl Send for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_net_report",[["impl Send for Addr",1,["iroh_net_report::Addr"]],["impl Send for Client",1,["iroh_net_report::Client"]],["impl Send for IpMappedAddr",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddr"]],["impl Send for IpMappedAddrError",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddrError"]],["impl Send for IpMappedAddresses",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddresses"]],["impl Send for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl Send for Options",1,["iroh_net_report::Options"]],["impl Send for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl Send for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl Send for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl Send for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl Send for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl Send for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl Send for Protocol",1,["iroh_relay::http::Protocol"]],["impl Send for Error",1,["iroh_relay::protos::stun::Error"]],["impl Send for Access",1,["iroh_relay::server::Access"]],["impl Send for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl Send for Client",1,["iroh_relay::client::Client"]],["impl Send for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Send for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl Send for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Send for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Send for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl Send for Limits",1,["iroh_relay::server::Limits"]],["impl Send for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Send for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Send for Server",1,["iroh_relay::server::Server"]],["impl Send for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl Send for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl Send for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl Send for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Send for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl Send for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA> Send for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA> Send for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA> Send for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA> Send for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Send for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); + var implementors = Object.fromEntries([["iroh",[["impl Send for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl Send for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl Send for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Send for PathSelection",1,["iroh::endpoint::PathSelection"]],["impl Send for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Send for Source",1,["iroh::magicsock::node_map::Source"]],["impl Send for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Send for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl Send for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Send for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Send for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Send for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Send for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Send for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Send for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Send for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Send for Builder",1,["iroh::endpoint::Builder"]],["impl Send for Connecting",1,["iroh::endpoint::Connecting"]],["impl Send for Connection",1,["iroh::endpoint::Connection"]],["impl Send for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Send for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl Send for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Send for Incoming",1,["iroh::endpoint::Incoming"]],["impl Send for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl Send for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl Send for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Send for Router",1,["iroh::protocol::Router"]],["impl Send for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Send for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Send for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Send for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> Send for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> Send for WatchInitializedFut<'a, T>
    where\n T: Send + Sync,
    ",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> Send for WatchNextFut<'a, T>
    where\n T: Send + Sync,
    ",1,["iroh::watchable::WatchNextFut"]],["impl<T> Send for Watchable<T>
    where\n T: Send + Sync,
    ",1,["iroh::watchable::Watchable"]],["impl<T> Send for Watcher<T>
    where\n T: Send + Sync,
    ",1,["iroh::watchable::Watcher"]],["impl<T> Send for WatcherStream<T>
    where\n T: Send + Sync,
    ",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl Send for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Send for Error",1,["iroh_base::ticket::Error"]],["impl Send for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl Send for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Send for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Send for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Send for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Send for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl Send for Commands",1,["iroh_bench::Commands"]],["impl Send for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Send for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Send for Opt",1,["iroh_bench::s2n::Opt"]],["impl Send for Stats",1,["iroh_bench::stats::Stats"]],["impl Send for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Send for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Send for ClientStats",1,["iroh_bench::ClientStats"]],["impl Send for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Send for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Send for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Send for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Send for Config",1,["iroh_dns_server::config::Config"]],["impl Send for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Send for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Send for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Send for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Send for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Send for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Send for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Send for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Send for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Send for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Send for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Send for Server",1,["iroh_dns_server::server::Server"]],["impl Send for AppState",1,["iroh_dns_server::state::AppState"]],["impl Send for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_net_report",[["impl Send for Addr",1,["iroh_net_report::Addr"]],["impl Send for Client",1,["iroh_net_report::Client"]],["impl Send for IpMappedAddr",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddr"]],["impl Send for IpMappedAddrError",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddrError"]],["impl Send for IpMappedAddresses",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddresses"]],["impl Send for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl Send for Options",1,["iroh_net_report::Options"]],["impl Send for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl Send for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl Send for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl Send for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl Send for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl Send for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl Send for Protocol",1,["iroh_relay::http::Protocol"]],["impl Send for Error",1,["iroh_relay::protos::stun::Error"]],["impl Send for Access",1,["iroh_relay::server::Access"]],["impl Send for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl Send for Client",1,["iroh_relay::client::Client"]],["impl Send for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Send for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl Send for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Send for NodeInfo",1,["iroh_relay::dns::node_info::NodeInfo"]],["impl Send for DnsResolver",1,["iroh_relay::dns::DnsResolver"]],["impl Send for TXT",1,["iroh_relay::dns::TXT"]],["impl Send for TxtLookup",1,["iroh_relay::dns::TxtLookup"]],["impl Send for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Send for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl Send for Limits",1,["iroh_relay::server::Limits"]],["impl Send for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Send for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Send for Server",1,["iroh_relay::server::Server"]],["impl Send for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl Send for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl Send for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl Send for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Send for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl Send for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA> Send for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA> Send for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA> Send for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA> Send for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Send for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[14783,2440,2715,5906,3183,9023]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13654,2440,2715,5906,3183,10251]} \ No newline at end of file diff --git a/pr/3170/docs/trait.impl/core/marker/trait.StructuralPartialEq.js b/pr/3170/docs/trait.impl/core/marker/trait.StructuralPartialEq.js index b131369670..e7d8376fe0 100644 --- a/pr/3170/docs/trait.impl/core/marker/trait.StructuralPartialEq.js +++ b/pr/3170/docs/trait.impl/core/marker/trait.StructuralPartialEq.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl StructuralPartialEq for IrohAttr"],["impl StructuralPartialEq for ConnectionType"],["impl StructuralPartialEq for ControlMsg"],["impl StructuralPartialEq for DirectAddrType"],["impl StructuralPartialEq for PathSelection"],["impl StructuralPartialEq for RelayMode"],["impl StructuralPartialEq for Source"],["impl StructuralPartialEq for NodeInfo"],["impl StructuralPartialEq for DirectAddr"],["impl StructuralPartialEq for DirectAddrInfo"],["impl StructuralPartialEq for RemoteInfo"]]],["iroh_base",[["impl StructuralPartialEq for NodeAddr"],["impl StructuralPartialEq for PublicKey"],["impl StructuralPartialEq for RelayUrl"],["impl StructuralPartialEq for NodeTicket"]]],["iroh_dns_server",[["impl StructuralPartialEq for CertMode"]]],["iroh_net_report",[["impl StructuralPartialEq for IpMappedAddr"],["impl StructuralPartialEq for RelayLatencies"],["impl StructuralPartialEq for Report"]]],["iroh_relay",[["impl StructuralPartialEq for Protocol"],["impl StructuralPartialEq for Access"],["impl StructuralPartialEq for RelayMap"],["impl StructuralPartialEq for RelayNode"],["impl StructuralPartialEq for RelayQuicConfig"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl StructuralPartialEq for ConnectionType"],["impl StructuralPartialEq for ControlMsg"],["impl StructuralPartialEq for DirectAddrType"],["impl StructuralPartialEq for PathSelection"],["impl StructuralPartialEq for RelayMode"],["impl StructuralPartialEq for Source"],["impl StructuralPartialEq for DirectAddr"],["impl StructuralPartialEq for DirectAddrInfo"],["impl StructuralPartialEq for RemoteInfo"]]],["iroh_base",[["impl StructuralPartialEq for NodeAddr"],["impl StructuralPartialEq for PublicKey"],["impl StructuralPartialEq for RelayUrl"],["impl StructuralPartialEq for NodeTicket"]]],["iroh_dns_server",[["impl StructuralPartialEq for CertMode"]]],["iroh_net_report",[["impl StructuralPartialEq for IpMappedAddr"],["impl StructuralPartialEq for RelayLatencies"],["impl StructuralPartialEq for Report"]]],["iroh_relay",[["impl StructuralPartialEq for Protocol"],["impl StructuralPartialEq for Access"],["impl StructuralPartialEq for NodeInfo"],["impl StructuralPartialEq for RelayMap"],["impl StructuralPartialEq for RelayNode"],["impl StructuralPartialEq for RelayQuicConfig"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[3495,1248,341,988,1569]} \ No newline at end of file +//{"start":57,"fragment_lengths":[2857,1248,341,988,1903]} \ No newline at end of file diff --git a/pr/3170/docs/trait.impl/core/marker/trait.Sync.js b/pr/3170/docs/trait.impl/core/marker/trait.Sync.js index 48d60a7a00..bbcc7f7364 100644 --- a/pr/3170/docs/trait.impl/core/marker/trait.Sync.js +++ b/pr/3170/docs/trait.impl/core/marker/trait.Sync.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl Sync for IrohAttr",1,["iroh::dns::node_info::IrohAttr"]],["impl Sync for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl Sync for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl Sync for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Sync for PathSelection",1,["iroh::endpoint::PathSelection"]],["impl Sync for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Sync for Source",1,["iroh::magicsock::node_map::Source"]],["impl Sync for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Sync for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl Sync for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Sync for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Sync for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Sync for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Sync for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Sync for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Sync for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Sync for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Sync for NodeInfo",1,["iroh::dns::node_info::NodeInfo"]],["impl Sync for Builder",1,["iroh::endpoint::Builder"]],["impl Sync for Connecting",1,["iroh::endpoint::Connecting"]],["impl Sync for Connection",1,["iroh::endpoint::Connection"]],["impl Sync for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Sync for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl Sync for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Sync for Incoming",1,["iroh::endpoint::Incoming"]],["impl Sync for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl Sync for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl Sync for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Sync for Router",1,["iroh::protocol::Router"]],["impl Sync for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Sync for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Sync for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Sync for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> Sync for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> Sync for WatchInitializedFut<'a, T>
    where\n T: Send + Sync,
    ",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> Sync for WatchNextFut<'a, T>
    where\n T: Send + Sync,
    ",1,["iroh::watchable::WatchNextFut"]],["impl<T> Sync for TxtAttrs<T>
    where\n T: Sync,
    ",1,["iroh::dns::node_info::TxtAttrs"]],["impl<T> Sync for Watchable<T>
    where\n T: Send + Sync,
    ",1,["iroh::watchable::Watchable"]],["impl<T> Sync for Watcher<T>
    where\n T: Send + Sync,
    ",1,["iroh::watchable::Watcher"]],["impl<T> Sync for WatcherStream<T>
    where\n T: Send + Sync,
    ",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl Sync for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Sync for Error",1,["iroh_base::ticket::Error"]],["impl Sync for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl Sync for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Sync for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Sync for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Sync for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Sync for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl Sync for Commands",1,["iroh_bench::Commands"]],["impl Sync for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Sync for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Sync for Opt",1,["iroh_bench::s2n::Opt"]],["impl Sync for Stats",1,["iroh_bench::stats::Stats"]],["impl Sync for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Sync for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Sync for ClientStats",1,["iroh_bench::ClientStats"]],["impl Sync for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Sync for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Sync for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Sync for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Sync for Config",1,["iroh_dns_server::config::Config"]],["impl Sync for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Sync for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Sync for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Sync for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Sync for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Sync for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Sync for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Sync for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Sync for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Sync for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Sync for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Sync for Server",1,["iroh_dns_server::server::Server"]],["impl Sync for AppState",1,["iroh_dns_server::state::AppState"]],["impl Sync for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_net_report",[["impl Sync for Addr",1,["iroh_net_report::Addr"]],["impl Sync for Client",1,["iroh_net_report::Client"]],["impl Sync for IpMappedAddr",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddr"]],["impl Sync for IpMappedAddrError",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddrError"]],["impl Sync for IpMappedAddresses",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddresses"]],["impl Sync for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl Sync for Options",1,["iroh_net_report::Options"]],["impl Sync for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl Sync for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl Sync for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl Sync for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl Sync for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl Sync for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl Sync for Protocol",1,["iroh_relay::http::Protocol"]],["impl Sync for Error",1,["iroh_relay::protos::stun::Error"]],["impl Sync for Access",1,["iroh_relay::server::Access"]],["impl Sync for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl Sync for Client",1,["iroh_relay::client::Client"]],["impl Sync for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Sync for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl Sync for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Sync for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Sync for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl Sync for Limits",1,["iroh_relay::server::Limits"]],["impl Sync for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Sync for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Sync for Server",1,["iroh_relay::server::Server"]],["impl Sync for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl Sync for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl Sync for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl Sync for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Sync for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl Sync for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA = EC> !Sync for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA = EC> !Sync for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA = EC> !Sync for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA = EC> !Sync for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Sync for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); + var implementors = Object.fromEntries([["iroh",[["impl Sync for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl Sync for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl Sync for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Sync for PathSelection",1,["iroh::endpoint::PathSelection"]],["impl Sync for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Sync for Source",1,["iroh::magicsock::node_map::Source"]],["impl Sync for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Sync for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl Sync for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Sync for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Sync for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Sync for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Sync for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Sync for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Sync for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Sync for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Sync for Builder",1,["iroh::endpoint::Builder"]],["impl Sync for Connecting",1,["iroh::endpoint::Connecting"]],["impl Sync for Connection",1,["iroh::endpoint::Connection"]],["impl Sync for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Sync for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl Sync for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Sync for Incoming",1,["iroh::endpoint::Incoming"]],["impl Sync for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl Sync for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl Sync for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Sync for Router",1,["iroh::protocol::Router"]],["impl Sync for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Sync for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Sync for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Sync for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> Sync for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> Sync for WatchInitializedFut<'a, T>
    where\n T: Send + Sync,
    ",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> Sync for WatchNextFut<'a, T>
    where\n T: Send + Sync,
    ",1,["iroh::watchable::WatchNextFut"]],["impl<T> Sync for Watchable<T>
    where\n T: Send + Sync,
    ",1,["iroh::watchable::Watchable"]],["impl<T> Sync for Watcher<T>
    where\n T: Send + Sync,
    ",1,["iroh::watchable::Watcher"]],["impl<T> Sync for WatcherStream<T>
    where\n T: Send + Sync,
    ",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl Sync for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Sync for Error",1,["iroh_base::ticket::Error"]],["impl Sync for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl Sync for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Sync for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Sync for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Sync for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Sync for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl Sync for Commands",1,["iroh_bench::Commands"]],["impl Sync for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Sync for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Sync for Opt",1,["iroh_bench::s2n::Opt"]],["impl Sync for Stats",1,["iroh_bench::stats::Stats"]],["impl Sync for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Sync for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Sync for ClientStats",1,["iroh_bench::ClientStats"]],["impl Sync for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Sync for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Sync for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Sync for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Sync for Config",1,["iroh_dns_server::config::Config"]],["impl Sync for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Sync for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Sync for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Sync for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Sync for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Sync for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Sync for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Sync for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Sync for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Sync for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Sync for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Sync for Server",1,["iroh_dns_server::server::Server"]],["impl Sync for AppState",1,["iroh_dns_server::state::AppState"]],["impl Sync for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_net_report",[["impl Sync for Addr",1,["iroh_net_report::Addr"]],["impl Sync for Client",1,["iroh_net_report::Client"]],["impl Sync for IpMappedAddr",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddr"]],["impl Sync for IpMappedAddrError",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddrError"]],["impl Sync for IpMappedAddresses",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddresses"]],["impl Sync for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl Sync for Options",1,["iroh_net_report::Options"]],["impl Sync for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl Sync for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl Sync for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl Sync for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl Sync for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl Sync for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl Sync for Protocol",1,["iroh_relay::http::Protocol"]],["impl Sync for Error",1,["iroh_relay::protos::stun::Error"]],["impl Sync for Access",1,["iroh_relay::server::Access"]],["impl Sync for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl Sync for Client",1,["iroh_relay::client::Client"]],["impl Sync for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Sync for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl Sync for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Sync for NodeInfo",1,["iroh_relay::dns::node_info::NodeInfo"]],["impl Sync for DnsResolver",1,["iroh_relay::dns::DnsResolver"]],["impl Sync for TXT",1,["iroh_relay::dns::TXT"]],["impl Sync for TxtLookup",1,["iroh_relay::dns::TxtLookup"]],["impl Sync for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Sync for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl Sync for Limits",1,["iroh_relay::server::Limits"]],["impl Sync for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Sync for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Sync for Server",1,["iroh_relay::server::Server"]],["impl Sync for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl Sync for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl Sync for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl Sync for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Sync for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl Sync for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA = EC> !Sync for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA = EC> !Sync for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA = EC> !Sync for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA = EC> !Sync for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Sync for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[14783,2440,2715,5906,3183,9047]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13654,2440,2715,5906,3183,10275]} \ No newline at end of file diff --git a/pr/3170/docs/trait.impl/core/marker/trait.Unpin.js b/pr/3170/docs/trait.impl/core/marker/trait.Unpin.js index 512e55efdd..50a71e6e61 100644 --- a/pr/3170/docs/trait.impl/core/marker/trait.Unpin.js +++ b/pr/3170/docs/trait.impl/core/marker/trait.Unpin.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl Unpin for IrohAttr",1,["iroh::dns::node_info::IrohAttr"]],["impl Unpin for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl Unpin for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl Unpin for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Unpin for PathSelection",1,["iroh::endpoint::PathSelection"]],["impl Unpin for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Unpin for Source",1,["iroh::magicsock::node_map::Source"]],["impl Unpin for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Unpin for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl Unpin for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Unpin for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Unpin for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Unpin for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Unpin for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Unpin for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Unpin for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Unpin for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Unpin for NodeInfo",1,["iroh::dns::node_info::NodeInfo"]],["impl Unpin for Builder",1,["iroh::endpoint::Builder"]],["impl Unpin for Connection",1,["iroh::endpoint::Connection"]],["impl Unpin for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Unpin for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl Unpin for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Unpin for Incoming",1,["iroh::endpoint::Incoming"]],["impl Unpin for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl Unpin for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Unpin for Router",1,["iroh::protocol::Router"]],["impl Unpin for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Unpin for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Unpin for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Unpin for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a, T> Unpin for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> Unpin for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<'pin> Unpin for Connecting
    where\n PinnedFieldsOf<__Connecting<'pin>>: Unpin,
    "],["impl<'pin> Unpin for IncomingFuture
    where\n PinnedFieldsOf<__IncomingFuture<'pin>>: Unpin,
    "],["impl<'pin, 'a> Unpin for Accept<'a>
    where\n PinnedFieldsOf<__Accept<'pin, 'a>>: Unpin,
    "],["impl<T> Unpin for TxtAttrs<T>",1,["iroh::dns::node_info::TxtAttrs"]],["impl<T> Unpin for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> Unpin for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> Unpin for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl Unpin for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Unpin for Error",1,["iroh_base::ticket::Error"]],["impl Unpin for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl Unpin for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Unpin for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Unpin for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Unpin for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Unpin for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl Unpin for Commands",1,["iroh_bench::Commands"]],["impl Unpin for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Unpin for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Unpin for Opt",1,["iroh_bench::s2n::Opt"]],["impl Unpin for Stats",1,["iroh_bench::stats::Stats"]],["impl Unpin for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Unpin for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Unpin for ClientStats",1,["iroh_bench::ClientStats"]],["impl Unpin for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Unpin for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Unpin for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Unpin for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Unpin for Config",1,["iroh_dns_server::config::Config"]],["impl Unpin for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Unpin for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Unpin for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Unpin for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Unpin for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Unpin for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Unpin for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Unpin for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Unpin for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Unpin for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Unpin for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Unpin for Server",1,["iroh_dns_server::server::Server"]],["impl Unpin for AppState",1,["iroh_dns_server::state::AppState"]],["impl Unpin for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_net_report",[["impl Unpin for Addr",1,["iroh_net_report::Addr"]],["impl Unpin for Client",1,["iroh_net_report::Client"]],["impl Unpin for IpMappedAddr",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddr"]],["impl Unpin for IpMappedAddrError",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddrError"]],["impl Unpin for IpMappedAddresses",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddresses"]],["impl Unpin for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl Unpin for Options",1,["iroh_net_report::Options"]],["impl Unpin for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl Unpin for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl Unpin for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl Unpin for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl Unpin for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl Unpin for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl Unpin for Protocol",1,["iroh_relay::http::Protocol"]],["impl Unpin for Error",1,["iroh_relay::protos::stun::Error"]],["impl Unpin for Access",1,["iroh_relay::server::Access"]],["impl Unpin for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl Unpin for Client",1,["iroh_relay::client::Client"]],["impl Unpin for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Unpin for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl Unpin for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Unpin for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Unpin for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl Unpin for Limits",1,["iroh_relay::server::Limits"]],["impl Unpin for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Unpin for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Unpin for Server",1,["iroh_relay::server::Server"]],["impl Unpin for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl Unpin for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl Unpin for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl Unpin for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Unpin for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl Unpin for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA> Unpin for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA> Unpin for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA> Unpin for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA> Unpin for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Unpin for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); + var implementors = Object.fromEntries([["iroh",[["impl Unpin for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl Unpin for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl Unpin for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Unpin for PathSelection",1,["iroh::endpoint::PathSelection"]],["impl Unpin for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Unpin for Source",1,["iroh::magicsock::node_map::Source"]],["impl Unpin for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Unpin for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl Unpin for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Unpin for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Unpin for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Unpin for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Unpin for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Unpin for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Unpin for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Unpin for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Unpin for Builder",1,["iroh::endpoint::Builder"]],["impl Unpin for Connection",1,["iroh::endpoint::Connection"]],["impl Unpin for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Unpin for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl Unpin for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Unpin for Incoming",1,["iroh::endpoint::Incoming"]],["impl Unpin for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl Unpin for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Unpin for Router",1,["iroh::protocol::Router"]],["impl Unpin for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Unpin for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Unpin for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Unpin for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a, T> Unpin for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> Unpin for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<'pin> Unpin for Connecting
    where\n PinnedFieldsOf<__Connecting<'pin>>: Unpin,
    "],["impl<'pin> Unpin for IncomingFuture
    where\n PinnedFieldsOf<__IncomingFuture<'pin>>: Unpin,
    "],["impl<'pin, 'a> Unpin for Accept<'a>
    where\n PinnedFieldsOf<__Accept<'pin, 'a>>: Unpin,
    "],["impl<T> Unpin for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> Unpin for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> Unpin for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl Unpin for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Unpin for Error",1,["iroh_base::ticket::Error"]],["impl Unpin for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl Unpin for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Unpin for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Unpin for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Unpin for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Unpin for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl Unpin for Commands",1,["iroh_bench::Commands"]],["impl Unpin for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Unpin for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Unpin for Opt",1,["iroh_bench::s2n::Opt"]],["impl Unpin for Stats",1,["iroh_bench::stats::Stats"]],["impl Unpin for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Unpin for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Unpin for ClientStats",1,["iroh_bench::ClientStats"]],["impl Unpin for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Unpin for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Unpin for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Unpin for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Unpin for Config",1,["iroh_dns_server::config::Config"]],["impl Unpin for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Unpin for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Unpin for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Unpin for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Unpin for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Unpin for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Unpin for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Unpin for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Unpin for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Unpin for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Unpin for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Unpin for Server",1,["iroh_dns_server::server::Server"]],["impl Unpin for AppState",1,["iroh_dns_server::state::AppState"]],["impl Unpin for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_net_report",[["impl Unpin for Addr",1,["iroh_net_report::Addr"]],["impl Unpin for Client",1,["iroh_net_report::Client"]],["impl Unpin for IpMappedAddr",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddr"]],["impl Unpin for IpMappedAddrError",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddrError"]],["impl Unpin for IpMappedAddresses",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddresses"]],["impl Unpin for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl Unpin for Options",1,["iroh_net_report::Options"]],["impl Unpin for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl Unpin for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl Unpin for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl Unpin for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl Unpin for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl Unpin for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl Unpin for Protocol",1,["iroh_relay::http::Protocol"]],["impl Unpin for Error",1,["iroh_relay::protos::stun::Error"]],["impl Unpin for Access",1,["iroh_relay::server::Access"]],["impl Unpin for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl Unpin for Client",1,["iroh_relay::client::Client"]],["impl Unpin for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Unpin for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl Unpin for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Unpin for NodeInfo",1,["iroh_relay::dns::node_info::NodeInfo"]],["impl Unpin for DnsResolver",1,["iroh_relay::dns::DnsResolver"]],["impl Unpin for TXT",1,["iroh_relay::dns::TXT"]],["impl Unpin for TxtLookup",1,["iroh_relay::dns::TxtLookup"]],["impl Unpin for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Unpin for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl Unpin for Limits",1,["iroh_relay::server::Limits"]],["impl Unpin for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Unpin for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Unpin for Server",1,["iroh_relay::server::Server"]],["impl Unpin for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl Unpin for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl Unpin for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl Unpin for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Unpin for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl Unpin for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA> Unpin for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA> Unpin for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA> Unpin for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA> Unpin for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Unpin for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13777,2464,2742,5960,3213,9107]} \ No newline at end of file +//{"start":57,"fragment_lengths":[12814,2464,2742,5960,3213,10347]} \ No newline at end of file diff --git a/pr/3170/docs/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js b/pr/3170/docs/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js index a2528207b1..a3946319e7 100644 --- a/pr/3170/docs/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js +++ b/pr/3170/docs/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl !RefUnwindSafe for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl !RefUnwindSafe for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl !RefUnwindSafe for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl !RefUnwindSafe for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl !RefUnwindSafe for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl !RefUnwindSafe for Builder",1,["iroh::endpoint::Builder"]],["impl !RefUnwindSafe for Connecting",1,["iroh::endpoint::Connecting"]],["impl !RefUnwindSafe for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl !RefUnwindSafe for Incoming",1,["iroh::endpoint::Incoming"]],["impl !RefUnwindSafe for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl !RefUnwindSafe for Router",1,["iroh::protocol::Router"]],["impl !RefUnwindSafe for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl !RefUnwindSafe for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl !RefUnwindSafe for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl RefUnwindSafe for IrohAttr",1,["iroh::dns::node_info::IrohAttr"]],["impl RefUnwindSafe for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl RefUnwindSafe for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl RefUnwindSafe for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl RefUnwindSafe for PathSelection",1,["iroh::endpoint::PathSelection"]],["impl RefUnwindSafe for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl RefUnwindSafe for Source",1,["iroh::magicsock::node_map::Source"]],["impl RefUnwindSafe for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl RefUnwindSafe for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl RefUnwindSafe for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl RefUnwindSafe for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl RefUnwindSafe for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl RefUnwindSafe for NodeInfo",1,["iroh::dns::node_info::NodeInfo"]],["impl RefUnwindSafe for Connection",1,["iroh::endpoint::Connection"]],["impl RefUnwindSafe for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl RefUnwindSafe for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl RefUnwindSafe for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl RefUnwindSafe for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl RefUnwindSafe for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> !RefUnwindSafe for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> RefUnwindSafe for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> RefUnwindSafe for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<T> RefUnwindSafe for TxtAttrs<T>
    where\n T: RefUnwindSafe,
    ",1,["iroh::dns::node_info::TxtAttrs"]],["impl<T> RefUnwindSafe for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> RefUnwindSafe for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> RefUnwindSafe for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl !RefUnwindSafe for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl RefUnwindSafe for Error",1,["iroh_base::ticket::Error"]],["impl RefUnwindSafe for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl RefUnwindSafe for PublicKey",1,["iroh_base::key::PublicKey"]],["impl RefUnwindSafe for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl RefUnwindSafe for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl RefUnwindSafe for SecretKey",1,["iroh_base::key::SecretKey"]],["impl RefUnwindSafe for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl !RefUnwindSafe for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl RefUnwindSafe for Commands",1,["iroh_bench::Commands"]],["impl RefUnwindSafe for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl RefUnwindSafe for Opt",1,["iroh_bench::s2n::Opt"]],["impl RefUnwindSafe for Stats",1,["iroh_bench::stats::Stats"]],["impl RefUnwindSafe for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl RefUnwindSafe for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl RefUnwindSafe for ClientStats",1,["iroh_bench::ClientStats"]],["impl RefUnwindSafe for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl !RefUnwindSafe for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl !RefUnwindSafe for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl !RefUnwindSafe for Handle",1,["iroh_dns_server::dns::Handle"]],["impl !RefUnwindSafe for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl !RefUnwindSafe for Server",1,["iroh_dns_server::server::Server"]],["impl !RefUnwindSafe for AppState",1,["iroh_dns_server::state::AppState"]],["impl !RefUnwindSafe for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]],["impl RefUnwindSafe for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl RefUnwindSafe for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl RefUnwindSafe for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl RefUnwindSafe for Config",1,["iroh_dns_server::config::Config"]],["impl RefUnwindSafe for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl RefUnwindSafe for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl RefUnwindSafe for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl RefUnwindSafe for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl RefUnwindSafe for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl RefUnwindSafe for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl RefUnwindSafe for Metrics",1,["iroh_dns_server::metrics::Metrics"]]]],["iroh_net_report",[["impl !RefUnwindSafe for Options",1,["iroh_net_report::Options"]],["impl !RefUnwindSafe for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl RefUnwindSafe for Addr",1,["iroh_net_report::Addr"]],["impl RefUnwindSafe for Client",1,["iroh_net_report::Client"]],["impl RefUnwindSafe for IpMappedAddr",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddr"]],["impl RefUnwindSafe for IpMappedAddrError",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddrError"]],["impl RefUnwindSafe for IpMappedAddresses",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddresses"]],["impl RefUnwindSafe for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl RefUnwindSafe for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl RefUnwindSafe for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl !RefUnwindSafe for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl !RefUnwindSafe for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl !RefUnwindSafe for Client",1,["iroh_relay::client::Client"]],["impl !RefUnwindSafe for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl !RefUnwindSafe for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl !RefUnwindSafe for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl !RefUnwindSafe for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl !RefUnwindSafe for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl RefUnwindSafe for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl RefUnwindSafe for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl RefUnwindSafe for Protocol",1,["iroh_relay::http::Protocol"]],["impl RefUnwindSafe for Error",1,["iroh_relay::protos::stun::Error"]],["impl RefUnwindSafe for Access",1,["iroh_relay::server::Access"]],["impl RefUnwindSafe for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl RefUnwindSafe for Limits",1,["iroh_relay::server::Limits"]],["impl RefUnwindSafe for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl RefUnwindSafe for Server",1,["iroh_relay::server::Server"]],["impl RefUnwindSafe for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl RefUnwindSafe for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl RefUnwindSafe for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl RefUnwindSafe for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl RefUnwindSafe for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl RefUnwindSafe for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> !RefUnwindSafe for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); + var implementors = Object.fromEntries([["iroh",[["impl !RefUnwindSafe for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl !RefUnwindSafe for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl !RefUnwindSafe for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl !RefUnwindSafe for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl !RefUnwindSafe for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl !RefUnwindSafe for Builder",1,["iroh::endpoint::Builder"]],["impl !RefUnwindSafe for Connecting",1,["iroh::endpoint::Connecting"]],["impl !RefUnwindSafe for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl !RefUnwindSafe for Incoming",1,["iroh::endpoint::Incoming"]],["impl !RefUnwindSafe for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl !RefUnwindSafe for Router",1,["iroh::protocol::Router"]],["impl !RefUnwindSafe for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl !RefUnwindSafe for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl !RefUnwindSafe for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl RefUnwindSafe for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl RefUnwindSafe for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl RefUnwindSafe for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl RefUnwindSafe for PathSelection",1,["iroh::endpoint::PathSelection"]],["impl RefUnwindSafe for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl RefUnwindSafe for Source",1,["iroh::magicsock::node_map::Source"]],["impl RefUnwindSafe for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl RefUnwindSafe for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl RefUnwindSafe for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl RefUnwindSafe for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl RefUnwindSafe for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl RefUnwindSafe for Connection",1,["iroh::endpoint::Connection"]],["impl RefUnwindSafe for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl RefUnwindSafe for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl RefUnwindSafe for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl RefUnwindSafe for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl RefUnwindSafe for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> !RefUnwindSafe for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> RefUnwindSafe for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> RefUnwindSafe for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<T> RefUnwindSafe for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> RefUnwindSafe for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> RefUnwindSafe for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl !RefUnwindSafe for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl RefUnwindSafe for Error",1,["iroh_base::ticket::Error"]],["impl RefUnwindSafe for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl RefUnwindSafe for PublicKey",1,["iroh_base::key::PublicKey"]],["impl RefUnwindSafe for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl RefUnwindSafe for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl RefUnwindSafe for SecretKey",1,["iroh_base::key::SecretKey"]],["impl RefUnwindSafe for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl !RefUnwindSafe for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl RefUnwindSafe for Commands",1,["iroh_bench::Commands"]],["impl RefUnwindSafe for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl RefUnwindSafe for Opt",1,["iroh_bench::s2n::Opt"]],["impl RefUnwindSafe for Stats",1,["iroh_bench::stats::Stats"]],["impl RefUnwindSafe for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl RefUnwindSafe for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl RefUnwindSafe for ClientStats",1,["iroh_bench::ClientStats"]],["impl RefUnwindSafe for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl !RefUnwindSafe for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl !RefUnwindSafe for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl !RefUnwindSafe for Handle",1,["iroh_dns_server::dns::Handle"]],["impl !RefUnwindSafe for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl !RefUnwindSafe for Server",1,["iroh_dns_server::server::Server"]],["impl !RefUnwindSafe for AppState",1,["iroh_dns_server::state::AppState"]],["impl !RefUnwindSafe for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]],["impl RefUnwindSafe for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl RefUnwindSafe for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl RefUnwindSafe for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl RefUnwindSafe for Config",1,["iroh_dns_server::config::Config"]],["impl RefUnwindSafe for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl RefUnwindSafe for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl RefUnwindSafe for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl RefUnwindSafe for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl RefUnwindSafe for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl RefUnwindSafe for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl RefUnwindSafe for Metrics",1,["iroh_dns_server::metrics::Metrics"]]]],["iroh_net_report",[["impl !RefUnwindSafe for Options",1,["iroh_net_report::Options"]],["impl !RefUnwindSafe for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl RefUnwindSafe for Addr",1,["iroh_net_report::Addr"]],["impl RefUnwindSafe for Client",1,["iroh_net_report::Client"]],["impl RefUnwindSafe for IpMappedAddr",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddr"]],["impl RefUnwindSafe for IpMappedAddrError",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddrError"]],["impl RefUnwindSafe for IpMappedAddresses",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddresses"]],["impl RefUnwindSafe for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl RefUnwindSafe for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl RefUnwindSafe for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl !RefUnwindSafe for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl !RefUnwindSafe for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl !RefUnwindSafe for Client",1,["iroh_relay::client::Client"]],["impl !RefUnwindSafe for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl !RefUnwindSafe for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl !RefUnwindSafe for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl !RefUnwindSafe for DnsResolver",1,["iroh_relay::dns::DnsResolver"]],["impl !RefUnwindSafe for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl !RefUnwindSafe for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl RefUnwindSafe for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl RefUnwindSafe for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl RefUnwindSafe for Protocol",1,["iroh_relay::http::Protocol"]],["impl RefUnwindSafe for Error",1,["iroh_relay::protos::stun::Error"]],["impl RefUnwindSafe for Access",1,["iroh_relay::server::Access"]],["impl RefUnwindSafe for NodeInfo",1,["iroh_relay::dns::node_info::NodeInfo"]],["impl RefUnwindSafe for TXT",1,["iroh_relay::dns::TXT"]],["impl RefUnwindSafe for TxtLookup",1,["iroh_relay::dns::TxtLookup"]],["impl RefUnwindSafe for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl RefUnwindSafe for Limits",1,["iroh_relay::server::Limits"]],["impl RefUnwindSafe for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl RefUnwindSafe for Server",1,["iroh_relay::server::Server"]],["impl RefUnwindSafe for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl RefUnwindSafe for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl RefUnwindSafe for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl RefUnwindSafe for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl RefUnwindSafe for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl RefUnwindSafe for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> !RefUnwindSafe for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[15293,2841,3166,6813,3685,10456]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13964,2841,3166,6813,3685,11885]} \ No newline at end of file diff --git a/pr/3170/docs/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js b/pr/3170/docs/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js index 5c57e83c7a..172c9f06c6 100644 --- a/pr/3170/docs/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js +++ b/pr/3170/docs/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl !UnwindSafe for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl !UnwindSafe for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl !UnwindSafe for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl !UnwindSafe for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl !UnwindSafe for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl !UnwindSafe for Builder",1,["iroh::endpoint::Builder"]],["impl !UnwindSafe for Connecting",1,["iroh::endpoint::Connecting"]],["impl !UnwindSafe for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl !UnwindSafe for Incoming",1,["iroh::endpoint::Incoming"]],["impl !UnwindSafe for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl !UnwindSafe for Router",1,["iroh::protocol::Router"]],["impl !UnwindSafe for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl !UnwindSafe for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl !UnwindSafe for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl UnwindSafe for IrohAttr",1,["iroh::dns::node_info::IrohAttr"]],["impl UnwindSafe for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl UnwindSafe for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl UnwindSafe for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl UnwindSafe for PathSelection",1,["iroh::endpoint::PathSelection"]],["impl UnwindSafe for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl UnwindSafe for Source",1,["iroh::magicsock::node_map::Source"]],["impl UnwindSafe for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl UnwindSafe for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl UnwindSafe for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl UnwindSafe for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl UnwindSafe for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl UnwindSafe for NodeInfo",1,["iroh::dns::node_info::NodeInfo"]],["impl UnwindSafe for Connection",1,["iroh::endpoint::Connection"]],["impl UnwindSafe for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl UnwindSafe for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl UnwindSafe for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl UnwindSafe for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl UnwindSafe for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> !UnwindSafe for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> !UnwindSafe for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> !UnwindSafe for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<T> UnwindSafe for TxtAttrs<T>
    where\n T: RefUnwindSafe,
    ",1,["iroh::dns::node_info::TxtAttrs"]],["impl<T> UnwindSafe for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> UnwindSafe for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> UnwindSafe for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl !UnwindSafe for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl UnwindSafe for Error",1,["iroh_base::ticket::Error"]],["impl UnwindSafe for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl UnwindSafe for PublicKey",1,["iroh_base::key::PublicKey"]],["impl UnwindSafe for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl UnwindSafe for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl UnwindSafe for SecretKey",1,["iroh_base::key::SecretKey"]],["impl UnwindSafe for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl !UnwindSafe for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl UnwindSafe for Commands",1,["iroh_bench::Commands"]],["impl UnwindSafe for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl UnwindSafe for Opt",1,["iroh_bench::s2n::Opt"]],["impl UnwindSafe for Stats",1,["iroh_bench::stats::Stats"]],["impl UnwindSafe for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl UnwindSafe for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl UnwindSafe for ClientStats",1,["iroh_bench::ClientStats"]],["impl UnwindSafe for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl !UnwindSafe for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl !UnwindSafe for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl !UnwindSafe for Handle",1,["iroh_dns_server::dns::Handle"]],["impl !UnwindSafe for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl !UnwindSafe for Server",1,["iroh_dns_server::server::Server"]],["impl !UnwindSafe for AppState",1,["iroh_dns_server::state::AppState"]],["impl !UnwindSafe for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]],["impl UnwindSafe for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl UnwindSafe for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl UnwindSafe for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl UnwindSafe for Config",1,["iroh_dns_server::config::Config"]],["impl UnwindSafe for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl UnwindSafe for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl UnwindSafe for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl UnwindSafe for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl UnwindSafe for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl UnwindSafe for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl UnwindSafe for Metrics",1,["iroh_dns_server::metrics::Metrics"]]]],["iroh_net_report",[["impl !UnwindSafe for Options",1,["iroh_net_report::Options"]],["impl !UnwindSafe for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl UnwindSafe for Addr",1,["iroh_net_report::Addr"]],["impl UnwindSafe for Client",1,["iroh_net_report::Client"]],["impl UnwindSafe for IpMappedAddr",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddr"]],["impl UnwindSafe for IpMappedAddrError",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddrError"]],["impl UnwindSafe for IpMappedAddresses",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddresses"]],["impl UnwindSafe for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl UnwindSafe for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl UnwindSafe for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl !UnwindSafe for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl !UnwindSafe for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl !UnwindSafe for Client",1,["iroh_relay::client::Client"]],["impl !UnwindSafe for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl !UnwindSafe for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl !UnwindSafe for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl !UnwindSafe for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl !UnwindSafe for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl UnwindSafe for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl UnwindSafe for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl UnwindSafe for Protocol",1,["iroh_relay::http::Protocol"]],["impl UnwindSafe for Error",1,["iroh_relay::protos::stun::Error"]],["impl UnwindSafe for Access",1,["iroh_relay::server::Access"]],["impl UnwindSafe for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl UnwindSafe for Limits",1,["iroh_relay::server::Limits"]],["impl UnwindSafe for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl UnwindSafe for Server",1,["iroh_relay::server::Server"]],["impl UnwindSafe for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl UnwindSafe for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl UnwindSafe for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl UnwindSafe for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl UnwindSafe for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl UnwindSafe for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA = EC> !UnwindSafe for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA = EC> !UnwindSafe for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA = EC> !UnwindSafe for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA = EC> !UnwindSafe for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> !UnwindSafe for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); + var implementors = Object.fromEntries([["iroh",[["impl !UnwindSafe for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl !UnwindSafe for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl !UnwindSafe for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl !UnwindSafe for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl !UnwindSafe for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl !UnwindSafe for Builder",1,["iroh::endpoint::Builder"]],["impl !UnwindSafe for Connecting",1,["iroh::endpoint::Connecting"]],["impl !UnwindSafe for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl !UnwindSafe for Incoming",1,["iroh::endpoint::Incoming"]],["impl !UnwindSafe for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl !UnwindSafe for Router",1,["iroh::protocol::Router"]],["impl !UnwindSafe for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl !UnwindSafe for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl !UnwindSafe for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl UnwindSafe for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl UnwindSafe for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl UnwindSafe for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl UnwindSafe for PathSelection",1,["iroh::endpoint::PathSelection"]],["impl UnwindSafe for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl UnwindSafe for Source",1,["iroh::magicsock::node_map::Source"]],["impl UnwindSafe for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl UnwindSafe for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl UnwindSafe for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl UnwindSafe for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl UnwindSafe for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl UnwindSafe for Connection",1,["iroh::endpoint::Connection"]],["impl UnwindSafe for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl UnwindSafe for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl UnwindSafe for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl UnwindSafe for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl UnwindSafe for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> !UnwindSafe for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> !UnwindSafe for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> !UnwindSafe for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<T> UnwindSafe for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> UnwindSafe for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> UnwindSafe for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl !UnwindSafe for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl UnwindSafe for Error",1,["iroh_base::ticket::Error"]],["impl UnwindSafe for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl UnwindSafe for PublicKey",1,["iroh_base::key::PublicKey"]],["impl UnwindSafe for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl UnwindSafe for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl UnwindSafe for SecretKey",1,["iroh_base::key::SecretKey"]],["impl UnwindSafe for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl !UnwindSafe for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl UnwindSafe for Commands",1,["iroh_bench::Commands"]],["impl UnwindSafe for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl UnwindSafe for Opt",1,["iroh_bench::s2n::Opt"]],["impl UnwindSafe for Stats",1,["iroh_bench::stats::Stats"]],["impl UnwindSafe for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl UnwindSafe for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl UnwindSafe for ClientStats",1,["iroh_bench::ClientStats"]],["impl UnwindSafe for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl !UnwindSafe for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl !UnwindSafe for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl !UnwindSafe for Handle",1,["iroh_dns_server::dns::Handle"]],["impl !UnwindSafe for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl !UnwindSafe for Server",1,["iroh_dns_server::server::Server"]],["impl !UnwindSafe for AppState",1,["iroh_dns_server::state::AppState"]],["impl !UnwindSafe for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]],["impl UnwindSafe for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl UnwindSafe for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl UnwindSafe for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl UnwindSafe for Config",1,["iroh_dns_server::config::Config"]],["impl UnwindSafe for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl UnwindSafe for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl UnwindSafe for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl UnwindSafe for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl UnwindSafe for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl UnwindSafe for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl UnwindSafe for Metrics",1,["iroh_dns_server::metrics::Metrics"]]]],["iroh_net_report",[["impl !UnwindSafe for Options",1,["iroh_net_report::Options"]],["impl !UnwindSafe for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl UnwindSafe for Addr",1,["iroh_net_report::Addr"]],["impl UnwindSafe for Client",1,["iroh_net_report::Client"]],["impl UnwindSafe for IpMappedAddr",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddr"]],["impl UnwindSafe for IpMappedAddrError",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddrError"]],["impl UnwindSafe for IpMappedAddresses",1,["iroh_net_report::ip_mapped_addrs::IpMappedAddresses"]],["impl UnwindSafe for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl UnwindSafe for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl UnwindSafe for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl !UnwindSafe for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl !UnwindSafe for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl !UnwindSafe for Client",1,["iroh_relay::client::Client"]],["impl !UnwindSafe for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl !UnwindSafe for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl !UnwindSafe for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl !UnwindSafe for DnsResolver",1,["iroh_relay::dns::DnsResolver"]],["impl !UnwindSafe for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl !UnwindSafe for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl UnwindSafe for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl UnwindSafe for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl UnwindSafe for Protocol",1,["iroh_relay::http::Protocol"]],["impl UnwindSafe for Error",1,["iroh_relay::protos::stun::Error"]],["impl UnwindSafe for Access",1,["iroh_relay::server::Access"]],["impl UnwindSafe for NodeInfo",1,["iroh_relay::dns::node_info::NodeInfo"]],["impl UnwindSafe for TXT",1,["iroh_relay::dns::TXT"]],["impl UnwindSafe for TxtLookup",1,["iroh_relay::dns::TxtLookup"]],["impl UnwindSafe for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl UnwindSafe for Limits",1,["iroh_relay::server::Limits"]],["impl UnwindSafe for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl UnwindSafe for Server",1,["iroh_relay::server::Server"]],["impl UnwindSafe for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl UnwindSafe for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl UnwindSafe for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl UnwindSafe for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl UnwindSafe for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl UnwindSafe for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA = EC> !UnwindSafe for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA = EC> !UnwindSafe for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA = EC> !UnwindSafe for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA = EC> !UnwindSafe for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> !UnwindSafe for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[14935,2769,3085,6651,3595,10204]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13633,2769,3085,6651,3595,11597]} \ No newline at end of file diff --git a/pr/3170/docs/trait.impl/core/str/traits/trait.FromStr.js b/pr/3170/docs/trait.impl/core/str/traits/trait.FromStr.js index de18af3cf5..28d3279ece 100644 --- a/pr/3170/docs/trait.impl/core/str/traits/trait.FromStr.js +++ b/pr/3170/docs/trait.impl/core/str/traits/trait.FromStr.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl FromStr for IrohAttr"]]],["iroh_base",[["impl FromStr for PublicKey"],["impl FromStr for RelayUrl"],["impl FromStr for SecretKey"],["impl FromStr for NodeTicket"]]]]); + var implementors = Object.fromEntries([["iroh_base",[["impl FromStr for PublicKey"],["impl FromStr for RelayUrl"],["impl FromStr for SecretKey"],["impl FromStr for NodeTicket"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[299,1143]} \ No newline at end of file +//{"start":57,"fragment_lengths":[1142]} \ No newline at end of file diff --git a/pr/3170/docs/trait.impl/iroh/dns/trait.ResolverExt.js b/pr/3170/docs/trait.impl/iroh_relay/dns/node_info/trait.NodeIdExt.js similarity index 60% rename from pr/3170/docs/trait.impl/iroh/dns/trait.ResolverExt.js rename to pr/3170/docs/trait.impl/iroh_relay/dns/node_info/trait.NodeIdExt.js index a4910fa91e..c404c0c0c6 100644 --- a/pr/3170/docs/trait.impl/iroh/dns/trait.ResolverExt.js +++ b/pr/3170/docs/trait.impl/iroh_relay/dns/node_info/trait.NodeIdExt.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[]]]); + var implementors = Object.fromEntries([["iroh",[]],["iroh_relay",[]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[11]} \ No newline at end of file +//{"start":57,"fragment_lengths":[11,18]} \ No newline at end of file diff --git a/pr/3170/docs/type.impl/hickory_resolver/resolver/type.TokioResolver.js b/pr/3170/docs/type.impl/hickory_resolver/resolver/type.TokioResolver.js deleted file mode 100644 index b19e213ba2..0000000000 --- a/pr/3170/docs/type.impl/hickory_resolver/resolver/type.TokioResolver.js +++ /dev/null @@ -1,9 +0,0 @@ -(function() { - var type_impls = Object.fromEntries([["iroh",[]]]); - if (window.register_type_impls) { - window.register_type_impls(type_impls); - } else { - window.pending_type_impls = type_impls; - } -})() -//{"start":55,"fragment_lengths":[11]} \ No newline at end of file diff --git a/pr/3170/docs/type.impl/iroh/struct.PublicKey.js b/pr/3170/docs/type.impl/iroh/struct.PublicKey.js index 89216a167d..c01cd3ddbb 100644 --- a/pr/3170/docs/type.impl/iroh/struct.PublicKey.js +++ b/pr/3170/docs/type.impl/iroh/struct.PublicKey.js @@ -1,9 +1,9 @@ (function() { - var type_impls = Object.fromEntries([["iroh",[["
    Source§

    impl AsRef<[u8]> for PublicKey

    Source§

    fn as_ref(&self) -> &[u8] ⓘ

    Converts this type into a shared reference of the (usually inferred) input type.
    ","AsRef<[u8]>","iroh::NodeId"],["
    Source§

    impl Borrow<[u8; 32]> for PublicKey

    Source§

    fn borrow(&self) -> &[u8; 32]

    Immutably borrows from an owned value. Read more
    ","Borrow<[u8; 32]>","iroh::NodeId"],["
    Source§

    impl Clone for PublicKey

    Source§

    fn clone(&self) -> PublicKey

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    ","Clone","iroh::NodeId"],["
    Source§

    impl Debug for PublicKey

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    ","Debug","iroh::NodeId"],["
    Source§

    impl<'de> Deserialize<'de> for PublicKey

    Source§

    fn deserialize<D>(\n deserializer: D,\n) -> Result<PublicKey, <D as Deserializer<'de>>::Error>
    where\n D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    ","Deserialize<'de>","iroh::NodeId"],["
    Source§

    impl Display for PublicKey

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    ","Display","iroh::NodeId"],["
    Source§

    impl From<VerifyingKey> for PublicKey

    Source§

    fn from(verifying_key: VerifyingKey) -> PublicKey

    Converts to this type from the input type.
    ","From","iroh::NodeId"],["
    Source§

    impl FromStr for PublicKey

    Deserialises the PublicKey from it’s base32 encoding.

    \n

    Display is capable of serialising this format.

    \n
    Source§

    type Err = KeyParsingError

    The associated error which can be returned from parsing.
    Source§

    fn from_str(s: &str) -> Result<PublicKey, <PublicKey as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    ","FromStr","iroh::NodeId"],["
    Source§

    impl Hash for PublicKey

    Source§

    fn hash<H>(&self, state: &mut H)
    where\n H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where\n H: Hasher,\n Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    ","Hash","iroh::NodeId"],["
    Source§

    impl Ord for PublicKey

    Source§

    fn cmp(&self, other: &PublicKey) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · Source§

    fn min(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · Source§

    fn clamp(self, min: Self, max: Self) -> Self
    where\n Self: Sized,

    Restrict a value to a certain interval. Read more
    ","Ord","iroh::NodeId"],["
    Source§

    impl PartialEq for PublicKey

    Source§

    fn eq(&self, other: &PublicKey) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","iroh::NodeId"],["
    Source§

    impl PartialOrd for PublicKey

    Source§

    fn partial_cmp(&self, other: &PublicKey) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · Source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · Source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
    1.0.0 · Source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the >\noperator. Read more
    1.0.0 · Source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
    ","PartialOrd","iroh::NodeId"],["
    Source§

    impl PublicKey

    Source

    pub const LENGTH: usize = 32usize

    The length of an ed25519 PublicKey, in bytes.

    \n
    Source

    pub fn as_bytes(&self) -> &[u8; 32]

    Get this public key as a byte array.

    \n
    Source

    pub fn public(&self) -> VerifyingKey

    Returns the [VerifyingKey] for this PublicKey.

    \n
    Source

    pub fn from_bytes(bytes: &[u8; 32]) -> Result<PublicKey, Error>

    Construct a PublicKey from a slice of bytes.

    \n
    §Warning
    \n

    This will return a [SignatureError] if the bytes passed into this method do not represent\na valid ed25519_dalek curve point. Will never fail for bytes return from Self::as_bytes.\nSee [VerifyingKey::from_bytes] for details.

    \n
    Source

    pub fn verify(&self, message: &[u8], signature: &Signature) -> Result<(), Error>

    Verify a signature on a message with this secret key’s public key.

    \n
    §Return
    \n

    Returns Ok(()) if the signature is valid, and Err otherwise.

    \n
    Source

    pub fn fmt_short(&self) -> String

    Convert to a hex string limited to the first 5 bytes for a friendly string\nrepresentation of the key.

    \n
    ",0,"iroh::NodeId"],["
    Source§

    impl Serialize for PublicKey

    Source§

    fn serialize<S>(\n &self,\n serializer: S,\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where\n S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    ","Serialize","iroh::NodeId"],["
    Source§

    impl TryFrom<&[u8]> for PublicKey

    Source§

    type Error = Error

    The type returned in the event of a conversion error.
    Source§

    fn try_from(\n bytes: &[u8],\n) -> Result<PublicKey, <PublicKey as TryFrom<&[u8]>>::Error>

    Performs the conversion.
    ","TryFrom<&[u8]>","iroh::NodeId"],["
    Source§

    impl TryFrom<&[u8; 32]> for PublicKey

    Source§

    type Error = Error

    The type returned in the event of a conversion error.
    Source§

    fn try_from(\n bytes: &[u8; 32],\n) -> Result<PublicKey, <PublicKey as TryFrom<&[u8; 32]>>::Error>

    Performs the conversion.
    ","TryFrom<&[u8; 32]>","iroh::NodeId"],["
    Source§

    impl Copy for PublicKey

    ","Copy","iroh::NodeId"],["
    Source§

    impl Eq for PublicKey

    ","Eq","iroh::NodeId"],["
    Source§

    impl StructuralPartialEq for PublicKey

    ","StructuralPartialEq","iroh::NodeId"]]]]); + var type_impls = Object.fromEntries([["iroh",[["
    Source§

    impl AsRef<[u8]> for PublicKey

    Source§

    fn as_ref(&self) -> &[u8] ⓘ

    Converts this type into a shared reference of the (usually inferred) input type.
    ","AsRef<[u8]>","iroh::NodeId"],["
    Source§

    impl Borrow<[u8; 32]> for PublicKey

    Source§

    fn borrow(&self) -> &[u8; 32]

    Immutably borrows from an owned value. Read more
    ","Borrow<[u8; 32]>","iroh::NodeId"],["
    Source§

    impl Clone for PublicKey

    Source§

    fn clone(&self) -> PublicKey

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    ","Clone","iroh::NodeId"],["
    Source§

    impl Debug for PublicKey

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    ","Debug","iroh::NodeId"],["
    Source§

    impl<'de> Deserialize<'de> for PublicKey

    Source§

    fn deserialize<D>(\n deserializer: D,\n) -> Result<PublicKey, <D as Deserializer<'de>>::Error>
    where\n D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    ","Deserialize<'de>","iroh::NodeId"],["
    Source§

    impl Display for PublicKey

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    ","Display","iroh::NodeId"],["
    Source§

    impl From<VerifyingKey> for PublicKey

    Source§

    fn from(verifying_key: VerifyingKey) -> PublicKey

    Converts to this type from the input type.
    ","From","iroh::NodeId"],["
    Source§

    impl FromStr for PublicKey

    Deserialises the PublicKey from it’s base32 encoding.

    \n

    Display is capable of serialising this format.

    \n
    Source§

    type Err = KeyParsingError

    The associated error which can be returned from parsing.
    Source§

    fn from_str(s: &str) -> Result<PublicKey, <PublicKey as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    ","FromStr","iroh::NodeId"],["
    Source§

    impl Hash for PublicKey

    Source§

    fn hash<H>(&self, state: &mut H)
    where\n H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where\n H: Hasher,\n Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    ","Hash","iroh::NodeId"],["
    §

    impl NodeIdExt for PublicKey

    §

    fn to_z32(&self) -> String

    Encodes a NodeId in [z-base-32] encoding.
    §

    fn from_z32(s: &str) -> Result<PublicKey, Error>

    Parses a NodeId from [z-base-32] encoding.
    ","NodeIdExt","iroh::NodeId"],["
    Source§

    impl Ord for PublicKey

    Source§

    fn cmp(&self, other: &PublicKey) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · Source§

    fn min(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · Source§

    fn clamp(self, min: Self, max: Self) -> Self
    where\n Self: Sized,

    Restrict a value to a certain interval. Read more
    ","Ord","iroh::NodeId"],["
    Source§

    impl PartialEq for PublicKey

    Source§

    fn eq(&self, other: &PublicKey) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","iroh::NodeId"],["
    Source§

    impl PartialOrd for PublicKey

    Source§

    fn partial_cmp(&self, other: &PublicKey) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · Source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · Source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
    1.0.0 · Source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the >\noperator. Read more
    1.0.0 · Source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
    ","PartialOrd","iroh::NodeId"],["
    Source§

    impl PublicKey

    Source

    pub const LENGTH: usize = 32usize

    The length of an ed25519 PublicKey, in bytes.

    \n
    Source

    pub fn as_bytes(&self) -> &[u8; 32]

    Get this public key as a byte array.

    \n
    Source

    pub fn public(&self) -> VerifyingKey

    Returns the [VerifyingKey] for this PublicKey.

    \n
    Source

    pub fn from_bytes(bytes: &[u8; 32]) -> Result<PublicKey, Error>

    Construct a PublicKey from a slice of bytes.

    \n
    §Warning
    \n

    This will return a [SignatureError] if the bytes passed into this method do not represent\na valid ed25519_dalek curve point. Will never fail for bytes return from Self::as_bytes.\nSee [VerifyingKey::from_bytes] for details.

    \n
    Source

    pub fn verify(&self, message: &[u8], signature: &Signature) -> Result<(), Error>

    Verify a signature on a message with this secret key’s public key.

    \n
    §Return
    \n

    Returns Ok(()) if the signature is valid, and Err otherwise.

    \n
    Source

    pub fn fmt_short(&self) -> String

    Convert to a hex string limited to the first 5 bytes for a friendly string\nrepresentation of the key.

    \n
    ",0,"iroh::NodeId"],["
    Source§

    impl Serialize for PublicKey

    Source§

    fn serialize<S>(\n &self,\n serializer: S,\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where\n S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    ","Serialize","iroh::NodeId"],["
    Source§

    impl TryFrom<&[u8]> for PublicKey

    Source§

    type Error = Error

    The type returned in the event of a conversion error.
    Source§

    fn try_from(\n bytes: &[u8],\n) -> Result<PublicKey, <PublicKey as TryFrom<&[u8]>>::Error>

    Performs the conversion.
    ","TryFrom<&[u8]>","iroh::NodeId"],["
    Source§

    impl TryFrom<&[u8; 32]> for PublicKey

    Source§

    type Error = Error

    The type returned in the event of a conversion error.
    Source§

    fn try_from(\n bytes: &[u8; 32],\n) -> Result<PublicKey, <PublicKey as TryFrom<&[u8; 32]>>::Error>

    Performs the conversion.
    ","TryFrom<&[u8; 32]>","iroh::NodeId"],["
    Source§

    impl Copy for PublicKey

    ","Copy","iroh::NodeId"],["
    Source§

    impl Eq for PublicKey

    ","Eq","iroh::NodeId"],["
    Source§

    impl StructuralPartialEq for PublicKey

    ","StructuralPartialEq","iroh::NodeId"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { window.pending_type_impls = type_impls; } })() -//{"start":55,"fragment_lengths":[45511]} \ No newline at end of file +//{"start":55,"fragment_lengths":[47674]} \ No newline at end of file