diff --git a/pr/2937/docs/bulk/fn.run_iroh.html b/pr/2937/docs/bulk/fn.run_iroh.html index d35aaf31f5..100a805898 100644 --- a/pr/2937/docs/bulk/fn.run_iroh.html +++ b/pr/2937/docs/bulk/fn.run_iroh.html @@ -1 +1 @@ -run_iroh in bulk - Rust

Function bulk::run_iroh

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

Function bulk::run_iroh

source ·
pub fn run_iroh(opt: Opt) -> Result<()>
\ No newline at end of file diff --git a/pr/2937/docs/bulk/fn.run_quinn.html b/pr/2937/docs/bulk/fn.run_quinn.html index 77edf4124d..6a4802559e 100644 --- a/pr/2937/docs/bulk/fn.run_quinn.html +++ b/pr/2937/docs/bulk/fn.run_quinn.html @@ -1 +1 @@ -run_quinn in bulk - Rust

Function bulk::run_quinn

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

Function bulk::run_quinn

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

Function bulk::run_s2n

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

Function bulk::run_s2n

source ·
pub fn run_s2n(_opt: Opt) -> Result<()>
\ No newline at end of file diff --git a/pr/2937/docs/iroh/defaults/constant.DEFAULT_RELAY_QUIC_PORT.html b/pr/2937/docs/iroh/defaults/constant.DEFAULT_RELAY_QUIC_PORT.html index b788391a67..0ef6859c8e 100644 --- a/pr/2937/docs/iroh/defaults/constant.DEFAULT_RELAY_QUIC_PORT.html +++ b/pr/2937/docs/iroh/defaults/constant.DEFAULT_RELAY_QUIC_PORT.html @@ -1,4 +1,4 @@ -DEFAULT_RELAY_QUIC_PORT in iroh::defaults - Rust

Constant iroh::defaults::DEFAULT_RELAY_QUIC_PORT

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

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

Constant iroh::defaults::DEFAULT_RELAY_QUIC_PORT

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

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

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

Constant iroh::defaults::DEFAULT_STUN_PORT

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

The default STUN port used by the Relay server.

+DEFAULT_STUN_PORT in iroh::defaults - Rust

Constant iroh::defaults::DEFAULT_STUN_PORT

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

The default STUN port used by the Relay server.

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

diff --git a/pr/2937/docs/iroh/dialer/struct.Dialer.html b/pr/2937/docs/iroh/dialer/struct.Dialer.html index 91b83b53be..0ca00e9012 100644 --- a/pr/2937/docs/iroh/dialer/struct.Dialer.html +++ b/pr/2937/docs/iroh/dialer/struct.Dialer.html @@ -9,10 +9,10 @@ pending connect futures and emits finished connect results.

discovery service or manually by calling Endpoint::add_node_addr.

source

pub fn abort_dial(&mut self, node_id: NodeId)

Aborts a pending dial.

source

pub fn is_pending(&self, node: NodeId) -> bool

Checks if a node is currently being dialed.

-
source

pub async fn next_conn(&mut self) -> (NodeId, Result<Connection>)

Waits for the next dial operation to complete.

+
source

pub async fn next_conn(&mut self) -> (NodeId, Result<Connection>)

Waits for the next dial operation to complete.

source

pub fn pending_count(&self) -> usize

Number of pending connections to be opened.

source

pub fn endpoint(&self) -> &Endpoint

Returns a reference to the endpoint used in this dialer.

-

Trait Implementations§

source§

impl Debug for Dialer

source§

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

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

impl Stream for Dialer

§

type Item = (PublicKey, Result<Connection, Error>)

Values yielded by the stream.
source§

fn poll_next( +

Trait Implementations§

source§

impl Debug for Dialer

source§

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

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

impl Stream for Dialer

§

type Item = (PublicKey, Result<Connection, Error>)

Values yielded by the stream.
source§

fn poll_next( self: Pin<&mut Self>, cx: &mut Context<'_> ) -> Poll<Option<Self::Item>>

Attempt to pull out the next value of this stream, registering the diff --git a/pr/2937/docs/iroh/discovery/dns/struct.DnsDiscovery.html b/pr/2937/docs/iroh/discovery/dns/struct.DnsDiscovery.html index 56c07ab3f7..695d1c3409 100644 --- a/pr/2937/docs/iroh/discovery/dns/struct.DnsDiscovery.html +++ b/pr/2937/docs/iroh/discovery/dns/struct.DnsDiscovery.html @@ -26,7 +26,7 @@ service for testing purposes.

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

fn publish(&self, _info: &AddrInfo)

Publishes the given AddrInfo to the discovery mechanism. Read more
source§

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

Subscribe to all addresses that get passively discovered. Read more

Auto Trait Implementations§

§

impl Freeze for DnsDiscovery

§

impl RefUnwindSafe for DnsDiscovery

§

impl Send for DnsDiscovery

§

impl Sync for DnsDiscovery

§

impl Unpin for DnsDiscovery

§

impl UnwindSafe for DnsDiscovery

Blanket Implementations§

source§

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

Resolves the AddrInfo for the given NodeId. Read more
source§

fn publish(&self, _info: &AddrInfo)

Publishes the given AddrInfo to the discovery mechanism. Read more
source§

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

Subscribe to all addresses that get passively discovered. Read more

Auto Trait Implementations§

§

impl Freeze for DnsDiscovery

§

impl RefUnwindSafe for DnsDiscovery

§

impl Send for DnsDiscovery

§

impl Sync for DnsDiscovery

§

impl Unpin for DnsDiscovery

§

impl UnwindSafe for DnsDiscovery

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( diff --git a/pr/2937/docs/iroh/discovery/local_swarm_discovery/struct.LocalSwarmDiscovery.html b/pr/2937/docs/iroh/discovery/local_swarm_discovery/struct.LocalSwarmDiscovery.html index 547e63058c..8cab897769 100644 --- a/pr/2937/docs/iroh/discovery/local_swarm_discovery/struct.LocalSwarmDiscovery.html +++ b/pr/2937/docs/iroh/discovery/local_swarm_discovery/struct.LocalSwarmDiscovery.html @@ -1,5 +1,5 @@ LocalSwarmDiscovery in iroh::discovery::local_swarm_discovery - Rust
pub struct LocalSwarmDiscovery { /* private fields */ }
Available on crate feature discovery-local-network only.
Expand description

Discovery using swarm-discovery, a variation on mdns

-

Implementations§

source§

impl LocalSwarmDiscovery

source

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

Create a new LocalSwarmDiscovery Service.

+

Implementations§

source§

impl LocalSwarmDiscovery

source

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

Create a new LocalSwarmDiscovery Service.

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

§Errors

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

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

Resolves the AddrInfo for the given NodeId. Read more
source§

fn publish(&self, info: &AddrInfo)

Publishes the given AddrInfo to the discovery mechanism. Read more
source§

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

Subscribe to all addresses that get passively discovered. Read more

Auto Trait Implementations§

§

impl Freeze for LocalSwarmDiscovery

§

impl !RefUnwindSafe for LocalSwarmDiscovery

§

impl Send for LocalSwarmDiscovery

§

impl Sync for LocalSwarmDiscovery

§

impl Unpin for LocalSwarmDiscovery

§

impl !UnwindSafe for LocalSwarmDiscovery

Blanket Implementations§

source§

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

Resolves the AddrInfo for the given NodeId. Read more
source§

fn publish(&self, info: &AddrInfo)

Publishes the given AddrInfo to the discovery mechanism. Read more
source§

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

Subscribe to all addresses that get passively discovered. Read more

Auto Trait Implementations§

§

impl Freeze for LocalSwarmDiscovery

§

impl !RefUnwindSafe for LocalSwarmDiscovery

§

impl Send for LocalSwarmDiscovery

§

impl Sync for LocalSwarmDiscovery

§

impl Unpin for LocalSwarmDiscovery

§

impl !UnwindSafe for LocalSwarmDiscovery

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( diff --git a/pr/2937/docs/iroh/discovery/pkarr/dht/struct.Builder.html b/pr/2937/docs/iroh/discovery/pkarr/dht/struct.Builder.html index 6eb571fe1c..c3c9a85062 100644 --- a/pr/2937/docs/iroh/discovery/pkarr/dht/struct.Builder.html +++ b/pr/2937/docs/iroh/discovery/pkarr/dht/struct.Builder.html @@ -4,13 +4,13 @@

source

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

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

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

source

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

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

-
source

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

Sets the pkarr relay URL to use.

+
source

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

Sets the pkarr relay URL to use.

source

pub fn n0_dns_pkarr_relay(self) -> Self

Uses the default number 0 pkarr relay URL.

source

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

Sets whether to publish to the Mainline DHT.

source

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

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

source

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

Sets the initial delay before the first publish.

source

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

Sets the republish delay for the DHT.

-
source

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

Builds the discovery mechanism.

+
source

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

Builds the discovery mechanism.

Trait Implementations§

source§

impl Debug for Builder

source§

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

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

impl Default for Builder

source§

fn default() -> Self

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

Auto Trait Implementations§

§

impl !Freeze for Builder

§

impl !RefUnwindSafe for Builder

§

impl Send for Builder

§

impl Sync for Builder

§

impl Unpin for Builder

§

impl !UnwindSafe for Builder

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where diff --git a/pr/2937/docs/iroh/discovery/pkarr/dht/struct.DhtDiscovery.html b/pr/2937/docs/iroh/discovery/pkarr/dht/struct.DhtDiscovery.html index 8a8a7b30bf..3e8c71fae6 100644 --- a/pr/2937/docs/iroh/discovery/pkarr/dht/struct.DhtDiscovery.html +++ b/pr/2937/docs/iroh/discovery/pkarr/dht/struct.DhtDiscovery.html @@ -9,7 +9,7 @@ a background task that periodically publishes the node address.

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

Resolves the AddrInfo for the given NodeId. Read more
source§

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

Subscribe to all addresses that get passively discovered. Read more

Auto Trait Implementations§

§

impl Freeze for DhtDiscovery

§

impl !RefUnwindSafe for DhtDiscovery

§

impl Send for DhtDiscovery

§

impl Sync for DhtDiscovery

§

impl Unpin for DhtDiscovery

§

impl !UnwindSafe for DhtDiscovery

Blanket Implementations§

source§

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

Resolves the AddrInfo for the given NodeId. Read more
source§

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

Subscribe to all addresses that get passively discovered. Read more

Auto Trait Implementations§

§

impl Freeze for DhtDiscovery

§

impl !RefUnwindSafe for DhtDiscovery

§

impl Send for DhtDiscovery

§

impl Sync for DhtDiscovery

§

impl Unpin for DhtDiscovery

§

impl !UnwindSafe for DhtDiscovery

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( diff --git a/pr/2937/docs/iroh/discovery/pkarr/struct.PkarrPublisher.html b/pr/2937/docs/iroh/discovery/pkarr/struct.PkarrPublisher.html index 79ba7d4237..04e9439b2b 100644 --- a/pr/2937/docs/iroh/discovery/pkarr/struct.PkarrPublisher.html +++ b/pr/2937/docs/iroh/discovery/pkarr/struct.PkarrPublisher.html @@ -7,14 +7,14 @@ the RelayUrl if the AddrInfo contains a RelayUrl. If the AddrInfo does not contain a RelayUrl the direct addresses are published instead.

-

Implementations§

source§

impl PkarrPublisher

source

pub fn new(secret_key: SecretKey, pkarr_relay: Url) -> Self

Creates a new publisher for the SecretKey.

+

Implementations§

source§

impl PkarrPublisher

source

pub fn new(secret_key: SecretKey, pkarr_relay: Url) -> Self

Creates a new publisher for the SecretKey.

This publisher will be able to publish pkarr records for SecretKey. It will use DEFAULT_PKARR_TTL as the time-to-live value for the published packets. Will republish discovery information every DEFAULT_REPUBLISH_INTERVAL, even if the information is unchanged.

source

pub fn with_options( secret_key: SecretKey, - pkarr_relay: Url, + pkarr_relay: Url, ttl: u32, republish_interval: Duration ) -> Self

Creates a new PkarrPublisher with a custom TTL and republish intervals.

@@ -32,7 +32,7 @@ server is used instead.

&self, _endpoint: Endpoint, _node_id: NodeId -) -> Option<BoxStream<Result<DiscoveryItem>>>
Resolves the AddrInfo for the given NodeId. Read more
source§

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

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

impl Drop for PkarrPublisher

source§

fn drop(&mut self)

Executes the destructor for this type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

Resolves the AddrInfo for the given NodeId. Read more
source§

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

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

impl Drop for PkarrPublisher

source§

fn drop(&mut self)

Executes the destructor for this 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( diff --git a/pr/2937/docs/iroh/discovery/pkarr/struct.PkarrRelayClient.html b/pr/2937/docs/iroh/discovery/pkarr/struct.PkarrRelayClient.html index 6f644744fa..d27bd859d1 100644 --- a/pr/2937/docs/iroh/discovery/pkarr/struct.PkarrRelayClient.html +++ b/pr/2937/docs/iroh/discovery/pkarr/struct.PkarrRelayClient.html @@ -1,7 +1,7 @@ PkarrRelayClient in iroh::discovery::pkarr - Rust

Struct iroh::discovery::pkarr::PkarrRelayClient

source ·
pub struct PkarrRelayClient { /* private fields */ }
Expand description

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

-

Implementations§

source§

impl PkarrRelayClient

source

pub fn new(pkarr_relay_url: Url) -> Self

Creates a new client.

-
source

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

Resolves a [SignedPacket] for the given NodeId.

-
source

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

Publishes a [SignedPacket].

+

Implementations§

source§

impl PkarrRelayClient

source

pub fn new(pkarr_relay_url: Url) -> Self

Creates a new client.

+
source

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

Resolves a [SignedPacket] for the given NodeId.

+
source

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

Publishes a [SignedPacket].

Trait Implementations§

source§

impl Clone for PkarrRelayClient

source§

fn clone(&self) -> PkarrRelayClient

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for PkarrRelayClient

source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where diff --git a/pr/2937/docs/iroh/discovery/pkarr/struct.PkarrResolver.html b/pr/2937/docs/iroh/discovery/pkarr/struct.PkarrResolver.html index e45c1a35fe..95b2159ea5 100644 --- a/pr/2937/docs/iroh/discovery/pkarr/struct.PkarrResolver.html +++ b/pr/2937/docs/iroh/discovery/pkarr/struct.PkarrResolver.html @@ -4,7 +4,7 @@ see the module docs

This implements the Discovery trait to be used as a node discovery service. Note that it only resolves node discovery information, for the corresponding publisher use the PkarrPublisher together with ConcurrentDiscovery.

-

Implementations§

source§

impl PkarrResolver

source

pub fn new(pkarr_relay: Url) -> Self

Creates a new publisher using the pkarr relay server at the URL.

+

Implementations§

source§

impl PkarrResolver

source

pub fn new(pkarr_relay: Url) -> Self

Creates a new publisher using the pkarr relay server at the URL.

source

pub fn n0_dns() -> Self

Creates a pkarr resolver which uses the number 0 pkarr relay server.

This uses the pkarr relay server operated by number 0 at N0_DNS_PKARR_RELAY_PROD.

@@ -15,7 +15,7 @@ server is used instead.

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

Resolves the AddrInfo for the given NodeId. Read more
source§

fn publish(&self, _info: &AddrInfo)

Publishes the given AddrInfo to the discovery mechanism. Read more
source§

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

Subscribe to all addresses that get passively discovered. Read more

Auto Trait Implementations§

§

impl Freeze for PkarrResolver

§

impl !RefUnwindSafe for PkarrResolver

§

impl Send for PkarrResolver

§

impl Sync for PkarrResolver

§

impl Unpin for PkarrResolver

§

impl !UnwindSafe for PkarrResolver

Blanket Implementations§

source§

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

Resolves the AddrInfo for the given NodeId. Read more
source§

fn publish(&self, _info: &AddrInfo)

Publishes the given AddrInfo to the discovery mechanism. Read more
source§

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

Subscribe to all addresses that get passively discovered. Read more

Auto Trait Implementations§

§

impl Freeze for PkarrResolver

§

impl !RefUnwindSafe for PkarrResolver

§

impl Send for PkarrResolver

§

impl Sync for PkarrResolver

§

impl Unpin for PkarrResolver

§

impl !UnwindSafe for PkarrResolver

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( diff --git a/pr/2937/docs/iroh/discovery/static_provider/struct.StaticProvider.html b/pr/2937/docs/iroh/discovery/static_provider/struct.StaticProvider.html index 72a9ef7e0f..1dfee0b2af 100644 --- a/pr/2937/docs/iroh/discovery/static_provider/struct.StaticProvider.html +++ b/pr/2937/docs/iroh/discovery/static_provider/struct.StaticProvider.html @@ -29,7 +29,7 @@ &self, _endpoint: Endpoint, node_id: NodeId -) -> Option<Boxed<Result<DiscoveryItem>>>

Resolves the AddrInfo for the given NodeId. Read more
source§

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

Subscribe to all addresses that get passively discovered. Read more

Auto Trait Implementations§

§

impl Freeze for StaticProvider

§

impl RefUnwindSafe for StaticProvider

§

impl Send for StaticProvider

§

impl Sync for StaticProvider

§

impl Unpin for StaticProvider

§

impl UnwindSafe for StaticProvider

Blanket Implementations§

source§

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

Resolves the AddrInfo for the given NodeId. Read more
source§

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

Subscribe to all addresses that get passively discovered. Read more

Auto Trait Implementations§

§

impl Freeze for StaticProvider

§

impl RefUnwindSafe for StaticProvider

§

impl Send for StaticProvider

§

impl Sync for StaticProvider

§

impl Unpin for StaticProvider

§

impl UnwindSafe for StaticProvider

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( diff --git a/pr/2937/docs/iroh/discovery/struct.ConcurrentDiscovery.html b/pr/2937/docs/iroh/discovery/struct.ConcurrentDiscovery.html index b92cdce0ab..ae6c4d448a 100644 --- a/pr/2937/docs/iroh/discovery/struct.ConcurrentDiscovery.html +++ b/pr/2937/docs/iroh/discovery/struct.ConcurrentDiscovery.html @@ -7,7 +7,7 @@ &self, endpoint: Endpoint, node_id: NodeId -) -> Option<BoxStream<Result<DiscoveryItem>>>

Resolves the AddrInfo for the given NodeId. Read more
source§

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

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

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

Resolves the AddrInfo for the given NodeId. Read more
source§

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

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

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

source§

fn from(iter: T) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for ConcurrentDiscovery

§

impl !RefUnwindSafe for ConcurrentDiscovery

§

impl Send for ConcurrentDiscovery

§

impl Sync for ConcurrentDiscovery

§

impl Unpin for ConcurrentDiscovery

§

impl !UnwindSafe for ConcurrentDiscovery

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where diff --git a/pr/2937/docs/iroh/discovery/trait.Discovery.html b/pr/2937/docs/iroh/discovery/trait.Discovery.html index a3f58b6c40..014cd189b0 100644 --- a/pr/2937/docs/iroh/discovery/trait.Discovery.html +++ b/pr/2937/docs/iroh/discovery/trait.Discovery.html @@ -5,7 +5,7 @@ &self, _endpoint: Endpoint, _node_id: NodeId - ) -> Option<BoxStream<Result<DiscoveryItem>>> { ... } + ) -> Option<BoxStream<Result<DiscoveryItem>>> { ... } fn subscribe(&self) -> Option<BoxStream<DiscoveryItem>> { ... } }
Expand description

Node discovery for super::Endpoint.

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

Resolves the AddrInfo for the given NodeId.

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

Resolves the AddrInfo for the given NodeId.

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

source

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

Subscribe to all addresses that get passively discovered.

diff --git a/pr/2937/docs/iroh/dns/node_info/fn.from_z32.html b/pr/2937/docs/iroh/dns/node_info/fn.from_z32.html index 7430389e6a..7f8783c376 100644 --- a/pr/2937/docs/iroh/dns/node_info/fn.from_z32.html +++ b/pr/2937/docs/iroh/dns/node_info/fn.from_z32.html @@ -1,2 +1,2 @@ -from_z32 in iroh::dns::node_info - Rust

Function iroh::dns::node_info::from_z32

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

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

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

Function iroh::dns::node_info::from_z32

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

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

\ No newline at end of file diff --git a/pr/2937/docs/iroh/dns/node_info/struct.NodeInfo.html b/pr/2937/docs/iroh/dns/node_info/struct.NodeInfo.html index d2d3810eaa..9606b354c9 100644 --- a/pr/2937/docs/iroh/dns/node_info/struct.NodeInfo.html +++ b/pr/2937/docs/iroh/dns/node_info/struct.NodeInfo.html @@ -1,30 +1,30 @@ NodeInfo in iroh::dns::node_info - Rust

Struct iroh::dns::node_info::NodeInfo

source ·
pub struct NodeInfo {
     pub node_id: NodeId,
-    pub relay_url: Option<Url>,
+    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.

-
§relay_url: Option<Url>

The advertised home relay server.

+
§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>, + relay_url: Option<Url>, direct_addresses: BTreeSet<SocketAddr> ) -> Self

Creates a new NodeInfo from its parts.

-
source

pub fn from_hickory_records(records: &[Record]) -> Result<Self>

Parses a NodeInfo from a set of DNS records.

-
source

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

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

+
source

pub fn from_hickory_records(records: &[Record]) -> Result<Self>

Parses a NodeInfo from a set of DNS records.

+
source

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

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

source

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

Creates a [pkarr::SignedPacket].

+) -> Result<SignedPacket>

Creates a [pkarr::SignedPacket].

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

source

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

Converts into a [hickory_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 AddrInfo

source§

fn from(value: NodeInfo) -> 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

This method tests for self and other values to be equal, and is used +) -> Result<impl Iterator<Item = Record> + 'static>

Converts into a [hickory_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 AddrInfo

source§

fn from(value: NodeInfo) -> 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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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 T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where diff --git a/pr/2937/docs/iroh/dns/node_info/struct.TxtAttrs.html b/pr/2937/docs/iroh/dns/node_info/struct.TxtAttrs.html index 5363b6c14d..51fb4e8de1 100644 --- a/pr/2937/docs/iroh/dns/node_info/struct.TxtAttrs.html +++ b/pr/2937/docs/iroh/dns/node_info/struct.TxtAttrs.html @@ -9,32 +9,32 @@ all attributes. Can also be used with an enum, if it implements
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.

+) -> Result<Self>

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

source

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

Looks up attributes by NodeId and origin domain.

+) -> Result<Self>

Looks up attributes by NodeId and origin domain.

source

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

Looks up attributes by DNS name.

+) -> 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_records(records: &[Record]) -> Result<Self>

Parses a set of DNS resource records.

+
source

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

Parses a [pkarr::SignedPacket].

+
source

pub fn from_hickory_records(records: &[Record]) -> Result<Self>

Parses a set of DNS resource records.

source

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

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

+) -> Result<impl Iterator<Item = Record> + '_>

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

source

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

Creates a [pkarr::SignedPacket]

+) -> Result<SignedPacket>

Creates a [pkarr::SignedPacket]

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

-

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 +

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 diff --git a/pr/2937/docs/iroh/dns/trait.ResolverExt.html b/pr/2937/docs/iroh/dns/trait.ResolverExt.html index 24aa9a7e16..b43cb96db0 100644 --- a/pr/2937/docs/iroh/dns/trait.ResolverExt.html +++ b/pr/2937/docs/iroh/dns/trait.ResolverExt.html @@ -4,83 +4,83 @@ &self, host: N, timeout: Duration - ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>; + ) -> 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>>>; + ) -> 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>>>; + ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>; fn lookup_by_name( &self, name: &str - ) -> impl Future<Output = Result<NodeAddr>>; + ) -> impl Future<Output = Result<NodeAddr>>; fn lookup_by_id( &self, node_id: &NodeId, origin: &str - ) -> impl Future<Output = Result<NodeAddr>>; + ) -> 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>>>; + ) -> 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>>>; + ) -> 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>>>; + ) -> impl Future<Output = Result<impl Iterator<Item = IpAddr>>>; fn lookup_by_name_staggered( &self, name: &str, delays_ms: &[u64] - ) -> impl Future<Output = Result<NodeAddr>>; + ) -> impl Future<Output = Result<NodeAddr>>; fn lookup_by_id_staggered( &self, node_id: &NodeId, origin: &str, delays_ms: &[u64] - ) -> impl Future<Output = Result<NodeAddr>>; + ) -> 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.

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

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

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

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

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

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

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

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

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

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

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

Looks up node info by NodeId and origin domain name.

+) -> 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 diff --git a/pr/2937/docs/iroh/dns/type.DnsResolver.html b/pr/2937/docs/iroh/dns/type.DnsResolver.html index 48bf054aaf..a8100c091d 100644 --- a/pr/2937/docs/iroh/dns/type.DnsResolver.html +++ b/pr/2937/docs/iroh/dns/type.DnsResolver.html @@ -3,20 +3,20 @@ &self, host: N, timeout: Duration -) -> Result<impl Iterator<Item = IpAddr>>

Resolve IPv4 and IPv6 in parallel.

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

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

+) -> 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 @@ -26,7 +26,7 @@ result of the first successful call is returned, or a summary of all errors othe host: N, timeout: Duration, delays_ms: &[u64] -) -> Result<impl Iterator<Item = IpAddr>>

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

+) -> Result<impl Iterator<Item = IpAddr>>

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

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

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

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

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

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

node_id: &NodeId, origin: &str, delays_ms: &[u64] -) -> Result<NodeAddr>

Looks up node info by NodeId and origin domain name.

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

&self, host: N, timeout: Duration -) -> Result<impl Iterator<Item = IpAddr>>
Perform an ipv4 lookup with a timeout.
source§

async fn lookup_ipv6<N: IntoName>( +) -> 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 +) -> Result<impl Iterator<Item = IpAddr>>
Perform an ipv6 lookup with a timeout.
\ No newline at end of file diff --git a/pr/2937/docs/iroh/endpoint/enum.AddrInfoOptions.html b/pr/2937/docs/iroh/endpoint/enum.AddrInfoOptions.html index c18a894c4c..17aa935118 100644 --- a/pr/2937/docs/iroh/endpoint/enum.AddrInfoOptions.html +++ b/pr/2937/docs/iroh/endpoint/enum.AddrInfoOptions.html @@ -1,4 +1,4 @@ -AddrInfoOptions in iroh::endpoint - Rust

Enum iroh::endpoint::AddrInfoOptions

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

Enum iroh::endpoint::AddrInfoOptions

source ·
pub enum AddrInfoOptions {
     Id,
     RelayAndAddresses,
     Relay,
@@ -9,18 +9,18 @@
 
§

RelayAndAddresses

Includes the Node ID and both the relay URL, and the direct addresses.

§

Relay

Includes the Node ID and the relay URL.

§

Addresses

Includes the Node ID and the direct addresses.

-

Trait Implementations§

§

impl Clone for AddrInfoOptions

§

fn clone(&self) -> AddrInfoOptions

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 AddrInfoOptions

§

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

Formats the value using the given formatter. Read more
§

impl Default for AddrInfoOptions

§

fn default() -> AddrInfoOptions

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

impl<'de> Deserialize<'de> for AddrInfoOptions

§

fn deserialize<__D>( +

Trait Implementations§

source§

impl Clone for AddrInfoOptions

source§

fn clone(&self) -> AddrInfoOptions

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 AddrInfoOptions

source§

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

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

impl Default for AddrInfoOptions

source§

fn default() -> AddrInfoOptions

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

impl<'de> Deserialize<'de> for AddrInfoOptions

source§

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

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

impl Display for AddrInfoOptions

§

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

Formats the value using the given formatter. Read more
§

impl FromStr for AddrInfoOptions

§

type Err = FromStrError

The associated error which can be returned from parsing.
§

fn from_str( +) -> Result<AddrInfoOptions, <__D as Deserializer<'de>>::Error>
where + __D: Deserializer<'de>,

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

impl Display for AddrInfoOptions

source§

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

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

impl FromStr for AddrInfoOptions

§

type Err = FromStrError

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

fn from_str( src: &str -) -> Result<AddrInfoOptions, <AddrInfoOptions as FromStr>::Err>

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

impl PartialEq for AddrInfoOptions

§

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

This method tests for self and other values to be equal, and is used +) -> Result<AddrInfoOptions, <AddrInfoOptions as FromStr>::Err>
Parses a string s to return a value of this type. Read more
source§

impl PartialEq for AddrInfoOptions

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

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

impl Serialize for AddrInfoOptions

§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for AddrInfoOptions

source§

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

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

impl Copy for AddrInfoOptions

§

impl Eq for AddrInfoOptions

§

impl StructuralPartialEq for AddrInfoOptions

Auto Trait Implementations§

§

impl Freeze for AddrInfoOptions

§

impl RefUnwindSafe for AddrInfoOptions

§

impl Send for AddrInfoOptions

§

impl Sync for AddrInfoOptions

§

impl Unpin for AddrInfoOptions

§

impl UnwindSafe for AddrInfoOptions

Blanket Implementations§

source§

impl<T> Any for T
where +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where + __S: Serializer,

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

impl Copy for AddrInfoOptions

source§

impl Eq for AddrInfoOptions

source§

impl StructuralPartialEq for AddrInfoOptions

Auto Trait Implementations§

§

impl Freeze for AddrInfoOptions

§

impl RefUnwindSafe for AddrInfoOptions

§

impl Send for AddrInfoOptions

§

impl Sync for AddrInfoOptions

§

impl Unpin for AddrInfoOptions

§

impl UnwindSafe for AddrInfoOptions

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( @@ -51,6 +51,6 @@ sufficient, and should not be overridden without very good reason.

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

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

§

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

source§

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

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/2937/docs/iroh/endpoint/enum.ConnectionError.html b/pr/2937/docs/iroh/endpoint/enum.ConnectionError.html index 7159b7ab55..4ec82829b5 100644 --- a/pr/2937/docs/iroh/endpoint/enum.ConnectionError.html +++ b/pr/2937/docs/iroh/endpoint/enum.ConnectionError.html @@ -20,7 +20,7 @@ and §

LocallyClosed

The local application closed the connection

§

CidsExhausted

The connection could not be created because not enough of the CID space is available

Try using longer connection IDs.

-

Trait Implementations§

§

impl Clone for ConnectionError

§

fn clone(&self) -> ConnectionError

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

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

Performs copy-assignment from source. Read more
§

impl Debug for ConnectionError

§

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

Formats the value using the given formatter. Read more
§

impl Display for ConnectionError

§

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

Formats the value using the given formatter. Read more
§

impl Error for ConnectionError

§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<Close> for ConnectionError

§

fn from(x: Close) -> ConnectionError

Converts to this type from the input type.
§

impl From<ConnectionError> for ReadError

§

fn from(source: ConnectionError) -> ReadError

Converts to this type from the input type.
§

impl From<ConnectionError> for ResetError

§

fn from(source: ConnectionError) -> ResetError

Converts to this type from the input type.
§

impl From<ConnectionError> for SendDatagramError

§

fn from(source: ConnectionError) -> SendDatagramError

Converts to this type from the input type.
§

impl From<ConnectionError> for StoppedError

§

fn from(source: ConnectionError) -> StoppedError

Converts to this type from the input type.
§

impl From<ConnectionError> for WriteError

§

fn from(source: ConnectionError) -> WriteError

Converts to this type from the input type.
§

impl From<Error> for ConnectionError

§

fn from(source: Error) -> ConnectionError

Converts to this type from the input type.
§

impl PartialEq for ConnectionError

§

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

This method tests for self and other values to be equal, and is used +

Trait Implementations§

§

impl Clone for ConnectionError

§

fn clone(&self) -> ConnectionError

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

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

Performs copy-assignment from source. Read more
§

impl Debug for ConnectionError

§

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

Formats the value using the given formatter. Read more
§

impl Display for ConnectionError

§

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

Formats the value using the given formatter. Read more
§

impl Error for ConnectionError

§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<Close> for ConnectionError

§

fn from(x: Close) -> ConnectionError

Converts to this type from the input type.
§

impl From<ConnectionError> for ReadError

§

fn from(source: ConnectionError) -> ReadError

Converts to this type from the input type.
§

impl From<ConnectionError> for ResetError

§

fn from(source: ConnectionError) -> ResetError

Converts to this type from the input type.
§

impl From<ConnectionError> for SendDatagramError

§

fn from(source: ConnectionError) -> SendDatagramError

Converts to this type from the input type.
§

impl From<ConnectionError> for StoppedError

§

fn from(source: ConnectionError) -> StoppedError

Converts to this type from the input type.
§

impl From<ConnectionError> for WriteError

§

fn from(source: ConnectionError) -> WriteError

Converts to this type from the input type.
§

impl From<Error> for ConnectionError

§

fn from(source: Error) -> ConnectionError

Converts to this type from the input type.
§

impl PartialEq for ConnectionError

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

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

impl Eq for ConnectionError

§

impl StructuralPartialEq for ConnectionError

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where diff --git a/pr/2937/docs/iroh/endpoint/enum.ConnectionType.html b/pr/2937/docs/iroh/endpoint/enum.ConnectionType.html index 830e7f2bff..5c5bf49179 100644 --- a/pr/2937/docs/iroh/endpoint/enum.ConnectionType.html +++ b/pr/2937/docs/iroh/endpoint/enum.ConnectionType.html @@ -10,11 +10,11 @@

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

§

None

We have no verified connection to this PublicKey

-

Trait Implementations§

source§

impl Clone for ConnectionType

source§

fn clone(&self) -> ConnectionType

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for ConnectionType

source§

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

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

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

source§

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

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

impl Display for ConnectionType

source§

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

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

impl PartialEq for ConnectionType

source§

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

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for ConnectionType

source§

fn clone(&self) -> ConnectionType

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for ConnectionType

source§

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

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

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

source§

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

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

impl Display for ConnectionType

source§

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

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

impl PartialEq for ConnectionType

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ConnectionType

source§

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

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

impl Eq for ConnectionType

source§

impl StructuralPartialEq for ConnectionType

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

impl Serialize for ConnectionType

source§

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

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

impl Eq for ConnectionType

source§

impl StructuralPartialEq for ConnectionType

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( @@ -45,6 +45,6 @@ sufficient, and should not be overridden without very good reason.

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

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

§

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

source§

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

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/2937/docs/iroh/endpoint/enum.ControlMsg.html b/pr/2937/docs/iroh/endpoint/enum.ControlMsg.html index 4cb9b72522..04a1f28dc1 100644 --- a/pr/2937/docs/iroh/endpoint/enum.ControlMsg.html +++ b/pr/2937/docs/iroh/endpoint/enum.ControlMsg.html @@ -6,11 +6,11 @@

Variants§

§

Ping

We received a Ping from the node.

§

Pong

We received a Pong from the node.

§

CallMeMaybe

We received a CallMeMaybe.

-

Trait Implementations§

source§

impl Clone for ControlMsg

source§

fn clone(&self) -> ControlMsg

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for ControlMsg

source§

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

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

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

source§

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

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

impl Display for ControlMsg

source§

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

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

impl PartialEq for ControlMsg

source§

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

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for ControlMsg

source§

fn clone(&self) -> ControlMsg

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for ControlMsg

source§

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

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

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

source§

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

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

impl Display for ControlMsg

source§

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

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

impl PartialEq for ControlMsg

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ControlMsg

source§

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

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

impl Copy for ControlMsg

source§

impl Eq for ControlMsg

source§

impl StructuralPartialEq for ControlMsg

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

impl Serialize for ControlMsg

source§

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

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

impl Copy for ControlMsg

source§

impl Eq for ControlMsg

source§

impl StructuralPartialEq for ControlMsg

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

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

§

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

source§

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

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/2937/docs/iroh/endpoint/enum.DirectAddrType.html b/pr/2937/docs/iroh/endpoint/enum.DirectAddrType.html index 020b316dd2..1fef119626 100644 --- a/pr/2937/docs/iroh/endpoint/enum.DirectAddrType.html +++ b/pr/2937/docs/iroh/endpoint/enum.DirectAddrType.html @@ -20,7 +20,7 @@ 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,

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

fn min(self, other: Self) -> Self
where diff --git a/pr/2937/docs/iroh/endpoint/enum.ReadError.html b/pr/2937/docs/iroh/endpoint/enum.ReadError.html index 8fa79b8794..4a02d2972c 100644 --- a/pr/2937/docs/iroh/endpoint/enum.ReadError.html +++ b/pr/2937/docs/iroh/endpoint/enum.ReadError.html @@ -15,7 +15,7 @@ stream which cannot be recovered, making further ordered reads impossible.

§

ZeroRttRejected

This was a 0-RTT stream and the server rejected it

Can only occur on clients for 0-RTT streams, which can be opened using Connecting::into_0rtt().

-

Trait Implementations§

§

impl Clone for ReadError

§

fn clone(&self) -> ReadError

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

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

Performs copy-assignment from source. Read more
§

impl Debug for ReadError

§

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

Formats the value using the given formatter. Read more
§

impl Display for ReadError

§

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

Formats the value using the given formatter. Read more
§

impl Error for ReadError

§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<ConnectionError> for ReadError

§

fn from(source: ConnectionError) -> ReadError

Converts to this type from the input type.
§

impl From<ReadError> for ReadExactError

§

fn from(source: ReadError) -> ReadExactError

Converts to this type from the input type.
§

impl From<ReadError> for ReadToEndError

§

fn from(source: ReadError) -> ReadToEndError

Converts to this type from the input type.
§

impl From<ReadableError> for ReadError

§

fn from(e: ReadableError) -> ReadError

Converts to this type from the input type.
§

impl From<ResetError> for ReadError

§

fn from(e: ResetError) -> ReadError

Converts to this type from the input type.
§

impl PartialEq for ReadError

§

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

This method tests for self and other values to be equal, and is used +

Trait Implementations§

§

impl Clone for ReadError

§

fn clone(&self) -> ReadError

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

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

Performs copy-assignment from source. Read more
§

impl Debug for ReadError

§

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

Formats the value using the given formatter. Read more
§

impl Display for ReadError

§

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

Formats the value using the given formatter. Read more
§

impl Error for ReadError

§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<ConnectionError> for ReadError

§

fn from(source: ConnectionError) -> ReadError

Converts to this type from the input type.
§

impl From<ReadError> for ReadExactError

§

fn from(source: ReadError) -> ReadExactError

Converts to this type from the input type.
§

impl From<ReadError> for ReadToEndError

§

fn from(source: ReadError) -> ReadToEndError

Converts to this type from the input type.
§

impl From<ReadableError> for ReadError

§

fn from(e: ReadableError) -> ReadError

Converts to this type from the input type.
§

impl From<ResetError> for ReadError

§

fn from(e: ResetError) -> ReadError

Converts to this type from the input type.
§

impl PartialEq for ReadError

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

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

impl Eq for ReadError

§

impl StructuralPartialEq for ReadError

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where diff --git a/pr/2937/docs/iroh/endpoint/enum.Source.html b/pr/2937/docs/iroh/endpoint/enum.Source.html index 7675692a69..c4e02badd4 100644 --- a/pr/2937/docs/iroh/endpoint/enum.Source.html +++ b/pr/2937/docs/iroh/endpoint/enum.Source.html @@ -30,13 +30,13 @@ discovered, such as a configured discovery service, the network itself

Fields

§name: String

The name of the discovery service that discovered the address.

§

NamedApp

Application layer with a specific name added the node directly.

Fields

§name: String

The name of the application that added the node

-

Trait Implementations§

source§

impl Clone for Source

source§

fn clone(&self) -> Source

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for Source

source§

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

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

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

source§

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

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

impl Display for Source

source§

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

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

impl Hash for Source

source§

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

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

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

Trait Implementations§

source§

impl Clone for Source

source§

fn clone(&self) -> Source

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for Source

source§

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

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

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

source§

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

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

impl Display for Source

source§

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

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

impl Hash for Source

source§

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

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

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

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

impl PartialEq for Source

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Source

source§

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

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

impl Eq for Source

source§

impl StructuralPartialEq for Source

Auto Trait Implementations§

§

impl Freeze for Source

§

impl RefUnwindSafe for Source

§

impl Send for Source

§

impl Sync for Source

§

impl Unpin for Source

§

impl UnwindSafe for Source

Blanket Implementations§

source§

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

source§

impl Serialize for Source

source§

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

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

impl Eq for Source

source§

impl StructuralPartialEq for Source

Auto Trait Implementations§

§

impl Freeze for Source

§

impl RefUnwindSafe for Source

§

impl Send for Source

§

impl Sync for Source

§

impl Unpin for Source

§

impl UnwindSafe for Source

Blanket Implementations§

source§

impl<T> Any for T
where 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( @@ -67,6 +67,6 @@ sufficient, and should not be overridden without very good reason.

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

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

§

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

source§

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

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/2937/docs/iroh/endpoint/enum.WriteError.html b/pr/2937/docs/iroh/endpoint/enum.WriteError.html index 09c6bb3448..6f88f85b30 100644 --- a/pr/2937/docs/iroh/endpoint/enum.WriteError.html +++ b/pr/2937/docs/iroh/endpoint/enum.WriteError.html @@ -11,7 +11,7 @@
§

ZeroRttRejected

This was a 0-RTT stream and the server rejected it

Can only occur on clients for 0-RTT streams, which can be opened using Connecting::into_0rtt().

-

Trait Implementations§

§

impl Clone for WriteError

§

fn clone(&self) -> WriteError

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

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

Performs copy-assignment from source. Read more
§

impl Debug for WriteError

§

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

Formats the value using the given formatter. Read more
§

impl Display for WriteError

§

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

Formats the value using the given formatter. Read more
§

impl Error for WriteError

§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<ClosedStream> for WriteError

§

fn from(_: ClosedStream) -> WriteError

Converts to this type from the input type.
§

impl From<ConnectionError> for WriteError

§

fn from(source: ConnectionError) -> WriteError

Converts to this type from the input type.
§

impl From<StoppedError> for WriteError

§

fn from(x: StoppedError) -> WriteError

Converts to this type from the input type.
§

impl PartialEq for WriteError

§

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

This method tests for self and other values to be equal, and is used +

Trait Implementations§

§

impl Clone for WriteError

§

fn clone(&self) -> WriteError

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

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

Performs copy-assignment from source. Read more
§

impl Debug for WriteError

§

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

Formats the value using the given formatter. Read more
§

impl Display for WriteError

§

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

Formats the value using the given formatter. Read more
§

impl Error for WriteError

§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<ClosedStream> for WriteError

§

fn from(_: ClosedStream) -> WriteError

Converts to this type from the input type.
§

impl From<ConnectionError> for WriteError

§

fn from(source: ConnectionError) -> WriteError

Converts to this type from the input type.
§

impl From<StoppedError> for WriteError

§

fn from(x: StoppedError) -> WriteError

Converts to this type from the input type.
§

impl PartialEq for WriteError

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

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

impl Eq for WriteError

§

impl StructuralPartialEq for WriteError

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where diff --git a/pr/2937/docs/iroh/endpoint/fn.get_remote_node_id.html b/pr/2937/docs/iroh/endpoint/fn.get_remote_node_id.html index 11d3048e1c..3f785ed09a 100644 --- a/pr/2937/docs/iroh/endpoint/fn.get_remote_node_id.html +++ b/pr/2937/docs/iroh/endpoint/fn.get_remote_node_id.html @@ -1,2 +1,2 @@ -get_remote_node_id in iroh::endpoint - Rust

Function iroh::endpoint::get_remote_node_id

source ·
pub fn get_remote_node_id(connection: &Connection) -> Result<PublicKey>
Expand description

Extract the PublicKey from the peer’s TLS certificate.

+get_remote_node_id in iroh::endpoint - Rust

Function iroh::endpoint::get_remote_node_id

source ·
pub fn get_remote_node_id(connection: &Connection) -> Result<PublicKey>
Expand description

Extract the PublicKey from the peer’s TLS certificate.

\ No newline at end of file diff --git a/pr/2937/docs/iroh/endpoint/fn.make_server_config.html b/pr/2937/docs/iroh/endpoint/fn.make_server_config.html index 69f134cbbf..7002ec3913 100644 --- a/pr/2937/docs/iroh/endpoint/fn.make_server_config.html +++ b/pr/2937/docs/iroh/endpoint/fn.make_server_config.html @@ -4,5 +4,5 @@ alpn_protocols: Vec<Vec<u8>>, transport_config: Arc<TransportConfig>, keylog: bool -) -> Result<ServerConfig>
Expand description

Creates a ServerConfig with the given secret key and limits.

+) -> Result<ServerConfig>
Expand description

Creates a ServerConfig with the given secret key and limits.

\ No newline at end of file diff --git a/pr/2937/docs/iroh/endpoint/struct.AddrInfo.html b/pr/2937/docs/iroh/endpoint/struct.AddrInfo.html index 07418b11a2..f2c4b58af6 100644 --- a/pr/2937/docs/iroh/endpoint/struct.AddrInfo.html +++ b/pr/2937/docs/iroh/endpoint/struct.AddrInfo.html @@ -1,4 +1,4 @@ -AddrInfo in iroh::endpoint - Rust

Struct iroh::endpoint::AddrInfo

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

Struct iroh::endpoint::AddrInfo

source ·
pub struct AddrInfo {
     pub relay_url: Option<RelayUrl>,
     pub direct_addresses: BTreeSet<SocketAddr>,
 }
Expand description

Network paths to contact an iroh node.

@@ -7,26 +7,26 @@ Unless a [discovery service] is used at least one path is required to connect to other node, see NodeAddr for details.

Fields§

§relay_url: Option<RelayUrl>

The node’s home relay url.

§direct_addresses: BTreeSet<SocketAddr>

Socket addresses where the peer might be reached directly.

-

Implementations§

§

impl AddrInfo

pub fn is_empty(&self) -> bool

Returns whether this addressing information is empty.

-

pub fn apply_options(&mut self, opts: AddrInfoOptions)

Applies the options to self.

+

Implementations§

source§

impl AddrInfo

source

pub fn is_empty(&self) -> bool

Returns whether this addressing information is empty.

+
source

pub fn apply_options(&mut self, opts: AddrInfoOptions)

Applies the options to self.

This is used to more tightly control the information stored in ab AddrInfo received from another API. E.g. to ensure a discovery service is used the AddrInfoOptions::Id] option could be used to remove all other addressing details.

-

Trait Implementations§

§

impl Clone for AddrInfo

§

fn clone(&self) -> AddrInfo

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 AddrInfo

§

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

Formats the value using the given formatter. Read more
§

impl Default for AddrInfo

§

fn default() -> AddrInfo

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

impl<'de> Deserialize<'de> for AddrInfo

§

fn deserialize<__D>( +

Trait Implementations§

source§

impl Clone for AddrInfo

source§

fn clone(&self) -> AddrInfo

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 AddrInfo

source§

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

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

impl Default for AddrInfo

source§

fn default() -> AddrInfo

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

impl<'de> Deserialize<'de> for AddrInfo

source§

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

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

impl From<NodeInfo> for AddrInfo

source§

fn from(value: NodeInfo) -> Self

Converts to this type from the input type.
§

impl Ord for AddrInfo

§

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

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

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

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

impl From<NodeInfo> for AddrInfo

source§

fn from(value: NodeInfo) -> Self

Converts to this type from the input type.
source§

impl Ord for AddrInfo

source§

fn cmp(&self, other: &AddrInfo) -> 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 + PartialOrd,

Restrict a value to a certain interval. Read more
§

impl PartialEq for AddrInfo

§

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

This method tests for self and other values to be equal, and is used + Self: Sized + PartialOrd,

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

impl PartialEq for AddrInfo

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

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

impl PartialOrd for AddrInfo

§

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

This method 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

This method tests less than or equal to (for self and other) and is used by the <= +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for AddrInfo

source§

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

This method 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

This method 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

This method 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

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

impl Serialize for AddrInfo

§

fn serialize<__S>( +operator. Read more

source§

impl Serialize for AddrInfo

source§

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

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

impl Eq for AddrInfo

§

impl StructuralPartialEq for AddrInfo

Auto Trait Implementations§

§

impl Freeze for AddrInfo

§

impl RefUnwindSafe for AddrInfo

§

impl Send for AddrInfo

§

impl Sync for AddrInfo

§

impl Unpin for AddrInfo

§

impl UnwindSafe for AddrInfo

Blanket Implementations§

source§

impl<T> Any for T
where +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where + __S: Serializer,

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

impl Eq for AddrInfo

source§

impl StructuralPartialEq for AddrInfo

Auto Trait Implementations§

§

impl Freeze for AddrInfo

§

impl RefUnwindSafe for AddrInfo

§

impl Send for AddrInfo

§

impl Sync for AddrInfo

§

impl Unpin for AddrInfo

§

impl UnwindSafe for AddrInfo

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( @@ -58,6 +58,6 @@ operator.
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

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

§

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

source§

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

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/2937/docs/iroh/endpoint/struct.Builder.html b/pr/2937/docs/iroh/endpoint/struct.Builder.html index 1f98114ac5..d827080417 100644 --- a/pr/2937/docs/iroh/endpoint/struct.Builder.html +++ b/pr/2937/docs/iroh/endpoint/struct.Builder.html @@ -2,7 +2,7 @@

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.

+

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.

@@ -81,7 +81,7 @@ zero.

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

§

impl Clone for Bytes

§

fn clone(&self) -> Bytes

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 Bytes

§

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

Formats the value using the given formatter. Read more
§

impl Default for Bytes

§

fn default() -> Bytes

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

impl Deref for Bytes

§

type Target = [u8]

The resulting type after dereferencing.
§

fn deref(&self) -> &[u8] ⓘ

Dereferences the value.
§

impl Drop for Bytes

§

fn drop(&mut self)

Executes the destructor for this type. Read more
§

impl From<&'static [u8]> for Bytes

§

fn from(slice: &'static [u8]) -> Bytes

Converts to this type from the input type.
§

impl From<&'static str> for Bytes

§

fn from(slice: &'static str) -> Bytes

Converts to this type from the input type.
§

impl From<Box<[u8]>> for Bytes

§

fn from(slice: Box<[u8]>) -> Bytes

Converts to this type from the input type.
§

impl From<ByteStr> for Bytes

§

fn from(src: ByteStr) -> Bytes

Converts to this type from the input type.
source§

impl From<ByteStr> for Bytes

source§

fn from(src: ByteStr) -> Bytes

Converts to this type from the input type.
§

impl From<Bytes> for Vec<u8>

§

fn from(bytes: Bytes) -> Vec<u8> ⓘ

Converts to this type from the input type.
§

impl From<BytesMut> for Bytes

§

fn from(src: BytesMut) -> Bytes

Converts to this type from the input type.
§

impl From<Custom> for Bytes

§

fn from(_: Custom) -> Bytes

Converts to this type from the input type.
source§

impl From<Custom> for Bytes

source§

fn from(_: Custom) -> Bytes

Converts to this type from the input type.
§

impl From<ReasonPhrase> for Bytes

§

fn from(reason: ReasonPhrase) -> Bytes

Converts to this type from the input type.
§

impl From<String> for Bytes

§

fn from(s: String) -> Bytes

Converts to this type from the input type.
§

impl From<Vec<u8>> for Bytes

§

fn from(vec: Vec<u8>) -> Bytes

Converts to this type from the input type.
§

impl FromIterator<u8> for Bytes

§

fn from_iter<T>(into_iter: T) -> Bytes
where + Self: Sized,

Creates an adaptor which implements the Read trait for self. Read more
§

impl Clone for Bytes

§

fn clone(&self) -> Bytes

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 Bytes

§

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

Formats the value using the given formatter. Read more
§

impl Default for Bytes

§

fn default() -> Bytes

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

impl Deref for Bytes

§

type Target = [u8]

The resulting type after dereferencing.
§

fn deref(&self) -> &[u8] ⓘ

Dereferences the value.
§

impl Drop for Bytes

§

fn drop(&mut self)

Executes the destructor for this type. Read more
§

impl From<&'static [u8]> for Bytes

§

fn from(slice: &'static [u8]) -> Bytes

Converts to this type from the input type.
§

impl From<&'static str> for Bytes

§

fn from(slice: &'static str) -> Bytes

Converts to this type from the input type.
§

impl From<Box<[u8]>> for Bytes

§

fn from(slice: Box<[u8]>) -> Bytes

Converts to this type from the input type.
§

impl From<ByteStr> for Bytes

§

fn from(src: ByteStr) -> Bytes

Converts to this type from the input type.
source§

impl From<ByteStr> for Bytes

source§

fn from(src: ByteStr) -> Bytes

Converts to this type from the input type.
§

impl From<Bytes> for Vec<u8>

§

fn from(bytes: Bytes) -> Vec<u8> ⓘ

Converts to this type from the input type.
§

impl From<BytesMut> for Bytes

§

fn from(src: BytesMut) -> Bytes

Converts to this type from the input type.
§

impl From<Custom> for Bytes

§

fn from(_: Custom) -> Bytes

Converts to this type from the input type.
source§

impl From<Custom> for Bytes

source§

fn from(_: Custom) -> Bytes

Converts to this type from the input type.
§

impl From<ReasonPhrase> for Bytes

§

fn from(reason: ReasonPhrase) -> Bytes

Converts to this type from the input type.
§

impl From<String> for Bytes

§

fn from(s: String) -> Bytes

Converts to this type from the input type.
§

impl From<Vec<u8>> for Bytes

§

fn from(vec: Vec<u8>) -> Bytes

Converts to this type from the input type.
§

impl FromIterator<u8> for Bytes

§

fn from_iter<T>(into_iter: T) -> Bytes
where T: IntoIterator<Item = u8>,

Creates a value from an iterator. Read more
§

impl<S> FromRequest<S> for Bytes
where S: Send + Sync,

§

type Rejection = BytesRejection

If the extractor fails it’ll use this “rejection” type. A rejection is a kind of error that can be converted into a response.
§

fn from_request<'life0, 'async_trait>( @@ -1331,54 +1352,54 @@ a kind of error that can be converted into a response.

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

Restrict a value to a certain interval. Read more
§

impl<'a, T> PartialEq<&'a T> for Bytes
where Bytes: PartialEq<T>, - T: ?Sized,

§

fn eq(&self, other: &&'a T) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

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

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

impl PartialEq<[u8]> for Bytes

§

fn eq(&self, other: &[u8]) -> bool

This method tests for self and other values to be equal, and is used + T: ?Sized,
§

fn eq(&self, other: &&'a T) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

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

impl PartialEq<Bytes> for &[u8]

§

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

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

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

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

impl PartialEq<Bytes> for &str

§

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

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

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

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

impl PartialEq<Bytes> for [u8]

§

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

This method tests for self and other values to be equal, and is used +sufficient, and should not be overridden without very good reason.
§

impl PartialEq<[u8]> for Bytes

§

fn eq(&self, other: &[u8]) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

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

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

impl PartialEq<Bytes> for &[u8]

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

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

impl PartialEq<Bytes> for &str

§

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

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

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

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

impl PartialEq<Bytes> for [u8]

§

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

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

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

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

impl PartialEq<Bytes> for Vec<u8>

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

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

impl PartialEq<Bytes> for str

§

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

This method tests for self and other values to be equal, and is used +sufficient, and should not be overridden without very good reason.
§

impl PartialEq<Bytes> for str

§

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

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

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

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

impl PartialEq<BytesMut> for Bytes

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

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

impl PartialEq<BytesMut> for Bytes

§

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

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

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

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

impl PartialEq<String> for Bytes

§

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

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

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

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

impl PartialEq<Vec<u8>> for Bytes

§

fn eq(&self, other: &Vec<u8>) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

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

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

impl PartialEq<str> for Bytes

§

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

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

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

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

impl PartialEq for Bytes

§

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

This method tests for self and other values to be equal, and is used +sufficient, and should not be overridden without very good reason.
§

impl PartialEq<String> for Bytes

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

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

impl PartialEq<Vec<u8>> for Bytes

§

fn eq(&self, other: &Vec<u8>) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

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

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

impl PartialEq<str> for Bytes

§

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

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

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

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

impl PartialEq for Bytes

§

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

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

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

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

impl<'a, T> PartialOrd<&'a T> for Bytes
where Bytes: PartialOrd<T>, - T: ?Sized,

§

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

This method 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

This method 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

This method 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

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

impl PartialOrd<[u8]> for Bytes

§

fn partial_cmp(&self, other: &[u8]) -> 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

This method 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

This method 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

This method 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

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

impl PartialOrd<Bytes> for &[u8]

§

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

This method 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

This method 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

This method 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

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

impl PartialOrd<Bytes> for &str

§

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

This method 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

This method 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

This method 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

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

impl PartialOrd<Bytes> for [u8]

§

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

This method 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

This method 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

This method 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

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

impl PartialOrd<Bytes> for Vec<u8>

§

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

This method 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

This method 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

This method 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

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

impl PartialOrd<Bytes> for str

§

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

This method 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

This method 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

This method 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

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

impl PartialOrd<String> for Bytes

§

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

This method 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

This method 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

This method 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

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

impl PartialOrd<Vec<u8>> for Bytes

§

fn partial_cmp(&self, other: &Vec<u8>) -> 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

This method 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

This method 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

This method 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

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

impl PartialOrd<str> for Bytes

§

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

This method 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

This method 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

This method 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

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

impl PartialOrd for Bytes

§

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

This method 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

This method tests less than or equal to (for self and other) and is used by the <= + T: ?Sized,
§

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

This method 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

This method 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

This method 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

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
§

impl PartialOrd<[u8]> for Bytes

§

fn partial_cmp(&self, other: &[u8]) -> 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

This method 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

This method 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

This method 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

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
§

impl PartialOrd<Bytes> for &[u8]

§

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

This method 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

This method 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

This method 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

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
§

impl PartialOrd<Bytes> for &str

§

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

This method 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

This method 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

This method 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

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
§

impl PartialOrd<Bytes> for [u8]

§

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

This method 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

This method 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

This method 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

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
§

impl PartialOrd<Bytes> for Vec<u8>

§

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

This method 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

This method 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

This method 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

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
§

impl PartialOrd<Bytes> for str

§

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

This method 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

This method 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

This method 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

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
§

impl PartialOrd<String> for Bytes

§

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

This method 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

This method 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

This method 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

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
§

impl PartialOrd<Vec<u8>> for Bytes

§

fn partial_cmp(&self, other: &Vec<u8>) -> 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

This method 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

This method 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

This method 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

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
§

impl PartialOrd<str> for Bytes

§

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

This method 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

This method 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

This method 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

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
§

impl PartialOrd for Bytes

§

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

This method 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

This method 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

This method 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

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
§

impl UpperHex for Bytes

§

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

Formats the value using the given formatter.
§

impl Eq for Bytes

§

impl Send for Bytes

§

impl Sync for Bytes

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where diff --git a/pr/2937/docs/iroh/endpoint/struct.Connecting.html b/pr/2937/docs/iroh/endpoint/struct.Connecting.html index 17c2de08f6..3e77ff1999 100644 --- a/pr/2937/docs/iroh/endpoint/struct.Connecting.html +++ b/pr/2937/docs/iroh/endpoint/struct.Connecting.html @@ -1,9 +1,9 @@ Connecting in iroh::endpoint - Rust

Struct iroh::endpoint::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

+

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 fn local_ip(&self) -> Option<IpAddr>

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

source

pub fn remote_address(&self) -> SocketAddr

The peer’s UDP address.

-
source

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

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

+
source

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

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

Trait Implementations§

source§

impl Debug for Connecting

source§

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

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

impl Future for Connecting

§

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>

Attempt 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 diff --git a/pr/2937/docs/iroh/endpoint/struct.DirectAddrInfo.html b/pr/2937/docs/iroh/endpoint/struct.DirectAddrInfo.html index ef80b580b4..e151d8fb02 100644 --- a/pr/2937/docs/iroh/endpoint/struct.DirectAddrInfo.html +++ b/pr/2937/docs/iroh/endpoint/struct.DirectAddrInfo.html @@ -36,11 +36,11 @@ node discovery the path may never have been known to exist.

recorded this address.

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

-

Trait Implementations§

source§

impl Clone for DirectAddrInfo

source§

fn clone(&self) -> DirectAddrInfo

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for DirectAddrInfo

source§

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

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

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

source§

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

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

impl PartialEq for DirectAddrInfo

source§

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

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for DirectAddrInfo

source§

fn clone(&self) -> DirectAddrInfo

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for DirectAddrInfo

source§

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

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

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

source§

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

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

impl PartialEq for DirectAddrInfo

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for DirectAddrInfo

source§

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

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

impl Eq for DirectAddrInfo

source§

impl StructuralPartialEq for DirectAddrInfo

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

impl Serialize for DirectAddrInfo

source§

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

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

impl Eq for DirectAddrInfo

source§

impl StructuralPartialEq for DirectAddrInfo

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( @@ -70,6 +70,6 @@ sufficient, and should not be overridden without very good reason.

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

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

§

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

source§

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

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/2937/docs/iroh/endpoint/struct.Endpoint.html b/pr/2937/docs/iroh/endpoint/struct.Endpoint.html index e74eb1a499..3b031eb7d3 100644 --- a/pr/2937/docs/iroh/endpoint/struct.Endpoint.html +++ b/pr/2937/docs/iroh/endpoint/struct.Endpoint.html @@ -15,14 +15,14 @@ behaviour.

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.

+
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( &self, node_addr: impl Into<NodeAddr>, alpn: &[u8] -) -> Result<Connection>

Connects to a remote Endpoint.

+) -> Result<Connection>

Connects to a remote Endpoint.

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

The NodeAddr must contain the NodeId to dial and may also contain a RelayUrl @@ -45,7 +45,7 @@ If multiple ALPNs have been configured the ALPN can be inspected before acceptin 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 @@ -59,7 +59,7 @@ direct addresses are a subset of ours.

&self, node_addr: NodeAddr, source: &'static str -) -> Result<()>

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

+) -> Result<()>

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

This updates the local state for the remote node. If the provided NodeAddr contains a RelayUrl this will be used as the new relay server for this node. If it contains any new IP endpoints they will also be stored and tried when next connecting to this node. Any @@ -72,7 +72,7 @@ direct addresses are a subset of ours.

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 local IP endpoints as they would be returned by Endpoint::home_relay and Endpoint::direct_addresses.

@@ -134,7 +134,7 @@ by this < 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_stream(&self, node_id: NodeId) -> Result<ConnectionTypeStream>

Returns a stream that reports connection type changes for the remote node.

+
source

pub fn conn_type_stream(&self, node_id: NodeId) -> Result<ConnectionTypeStream>

Returns a stream that reports connection type changes for the remote node.

This returns a stream of ConnectionType items, each time the underlying connection to a remote node changes it yields an item. These connection changes are when the connection switches between using the Relay server and a direct connection.

@@ -159,7 +159,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) -> Result<()>

Closes the QUIC endpoint and the magic socket.

+
source

pub async fn close(&self) -> Result<()>

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.

diff --git a/pr/2937/docs/iroh/endpoint/struct.Incoming.html b/pr/2937/docs/iroh/endpoint/struct.Incoming.html index 2cd7a85d52..b441ce7d94 100644 --- a/pr/2937/docs/iroh/endpoint/struct.Incoming.html +++ b/pr/2937/docs/iroh/endpoint/struct.Incoming.html @@ -1,6 +1,6 @@ Incoming in iroh::endpoint - Rust

Struct iroh::endpoint::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 @@ -10,10 +10,10 @@ can happen.

source

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

Accepts this incoming connection using a custom configuration.

+) -> Result<Connecting, ConnectionError>

Accepts this incoming connection using a custom configuration.

See accept() for more details.

source

pub fn refuse(self)

Rejects this incoming connection attempt.

-
source

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

Responds with a retry packet.

+
source

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

diff --git a/pr/2937/docs/iroh/endpoint/struct.NodeAddr.html b/pr/2937/docs/iroh/endpoint/struct.NodeAddr.html index 51cabae7fb..d2fbdc33b4 100644 --- a/pr/2937/docs/iroh/endpoint/struct.NodeAddr.html +++ b/pr/2937/docs/iroh/endpoint/struct.NodeAddr.html @@ -1,4 +1,4 @@ -NodeAddr in iroh::endpoint - Rust

Struct iroh::endpoint::NodeAddr

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

Struct iroh::endpoint::NodeAddr

source ·
pub struct NodeAddr {
     pub node_id: PublicKey,
     pub info: AddrInfo,
 }
Expand description

Network-level addressing information for an iroh node.

@@ -25,40 +25,40 @@ number of network-level addressing information. It is a generic addressing type whenever a connection to other nodes needs to be established.

Fields§

§node_id: PublicKey

The node’s identifier.

§info: AddrInfo

Addressing information to connect to Self::node_id.

-

Implementations§

§

impl NodeAddr

pub fn new(node_id: PublicKey) -> NodeAddr

Creates a new NodeAddr with empty AddrInfo.

-

pub fn with_relay_url(self, relay_url: RelayUrl) -> NodeAddr

Adds a relay url to the node’s AddrInfo.

-

pub fn with_direct_addresses( +

Implementations§

source§

impl NodeAddr

source

pub fn new(node_id: PublicKey) -> NodeAddr

Creates a new NodeAddr with empty AddrInfo.

+
source

pub fn with_relay_url(self, relay_url: RelayUrl) -> NodeAddr

Adds a relay url to the node’s AddrInfo.

+
source

pub fn with_direct_addresses( self, addresses: impl IntoIterator<Item = SocketAddr> ) -> NodeAddr

Adds the given direct addresses to the peer’s AddrInfo.

-

pub fn from_parts( +

source

pub fn from_parts( node_id: PublicKey, relay_url: Option<RelayUrl>, direct_addresses: impl IntoIterator<Item = SocketAddr> ) -> NodeAddr

Creates a new NodeAddr from its parts.

-

pub fn apply_options(&mut self, opts: AddrInfoOptions)

Applies the options to self.

+
source

pub fn apply_options(&mut self, opts: AddrInfoOptions)

Applies the options to self.

This is used to more tightly control the information stored in a NodeAddr received from another API. E.g. to ensure a discovery service is used the AddrInfoOptions::Id] option could be used to remove all other addressing details.

-

pub fn direct_addresses(&self) -> impl Iterator<Item = &SocketAddr>

Returns the direct addresses of this peer.

-

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

Returns the relay url of this peer.

-

Trait Implementations§

§

impl Clone for NodeAddr

§

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
§

impl Debug for NodeAddr

§

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

Formats the value using the given formatter. Read more
§

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

§

fn deserialize<__D>( +

source

pub fn direct_addresses(&self) -> impl Iterator<Item = &SocketAddr>

Returns the direct addresses of this peer.

+
source

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

Returns the relay url of this peer.

+

Trait Implementations§

source§

impl Clone for NodeAddr

source§

fn clone(&self) -> NodeAddr

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for NodeAddr

source§

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

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

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

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
§

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

§

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

Converts to this type from the input type.
§

impl From<NodeAddr> for NodeTicket

§

fn from(addr: NodeAddr) -> NodeTicket

Creates a ticket from given addressing info.

-
source§

impl From<NodeInfo> for NodeAddr

source§

fn from(value: NodeInfo) -> Self

Converts to this type from the input type.
§

impl From<NodeTicket> for NodeAddr

§

fn from(ticket: NodeTicket) -> NodeAddr

Returns the addressing info from given ticket.

-
§

impl From<PublicKey> for NodeAddr

§

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

impl Ord for NodeAddr

§

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 +) -> Result<NodeAddr, <__D as Deserializer<'de>>::Error>
where + __D: Deserializer<'de>,

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

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

source§

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

Converts to this type from the input type.
source§

impl From<NodeAddr> for NodeTicket

source§

fn from(addr: NodeAddr) -> NodeTicket

Creates a ticket from given addressing info.

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

Restrict a value to a certain interval. Read more
§

impl PartialEq for NodeAddr

§

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

This method tests for self and other values to be equal, and is used + Self: Sized + PartialOrd,
Restrict a value to a certain interval. Read more
source§

impl PartialEq for NodeAddr

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

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

impl PartialOrd for NodeAddr

§

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

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

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

This method 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

This method tests less than or equal to (for self and other) and is used by the <= +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for NodeAddr

source§

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

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

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

This method 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

This method 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

This method 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

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

impl Serialize for NodeAddr

§

fn serialize<__S>( +operator. Read more

source§

impl Serialize for NodeAddr

source§

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

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

impl Eq for NodeAddr

§

impl StructuralPartialEq for NodeAddr

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where + __S: Serializer,

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

impl Eq for NodeAddr

source§

impl StructuralPartialEq for NodeAddr

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( @@ -90,6 +90,6 @@ operator.
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

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

§

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

source§

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

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/2937/docs/iroh/endpoint/struct.RemoteInfo.html b/pr/2937/docs/iroh/endpoint/struct.RemoteInfo.html index 19911377aa..eacc5dafb4 100644 --- a/pr/2937/docs/iroh/endpoint/struct.RemoteInfo.html +++ b/pr/2937/docs/iroh/endpoint/struct.RemoteInfo.html @@ -31,11 +31,11 @@ usable.

for each Source variant, if different addresses were discovered from the same Source at different times.

The list is sorted from least to most recent Source.

-

Trait Implementations§

source§

impl Clone for RemoteInfo

source§

fn clone(&self) -> RemoteInfo

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for RemoteInfo

source§

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

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

impl<'de> Deserialize<'de> for RemoteInfo

source§

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

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

impl From<RemoteInfo> for NodeAddr

source§

fn from(info: RemoteInfo) -> Self

Converts to this type from the input type.
source§

impl PartialEq for RemoteInfo

source§

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

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for RemoteInfo

source§

fn clone(&self) -> RemoteInfo

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for RemoteInfo

source§

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

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

impl<'de> Deserialize<'de> for RemoteInfo

source§

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

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

impl From<RemoteInfo> for NodeAddr

source§

fn from(info: RemoteInfo) -> Self

Converts to this type from the input type.
source§

impl PartialEq for RemoteInfo

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for RemoteInfo

source§

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

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

impl Eq for RemoteInfo

source§

impl StructuralPartialEq for RemoteInfo

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

impl Serialize for RemoteInfo

source§

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

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

impl Eq for RemoteInfo

source§

impl StructuralPartialEq for RemoteInfo

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( @@ -65,6 +65,6 @@ sufficient, and should not be overridden without very good reason.

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

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

§

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

source§

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

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/2937/docs/iroh/endpoint/struct.StreamId.html b/pr/2937/docs/iroh/endpoint/struct.StreamId.html index 92f6f58f9f..90bd4bb780 100644 --- a/pr/2937/docs/iroh/endpoint/struct.StreamId.html +++ b/pr/2937/docs/iroh/endpoint/struct.StreamId.html @@ -3,7 +3,7 @@

pub fn initiator(self) -> Side

Which side of a connection initiated the stream

pub fn dir(self) -> Dir

Which directions data flows in

pub fn index(self) -> u64

Distinguishes streams of the same initiator and directionality

-

Trait Implementations§

§

impl Clone for StreamId

§

fn clone(&self) -> StreamId

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 StreamId

§

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

Formats the value using the given formatter. Read more
§

impl Display for StreamId

§

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

Formats the value using the given formatter. Read more
§

impl From<StreamId> for VarInt

§

fn from(x: StreamId) -> VarInt

Converts to this type from the input type.
§

impl From<VarInt> for StreamId

§

fn from(v: VarInt) -> StreamId

Converts to this type from the input type.
§

impl Hash for StreamId

§

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

Trait Implementations§

§

impl Clone for StreamId

§

fn clone(&self) -> StreamId

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 StreamId

§

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

Formats the value using the given formatter. Read more
§

impl Display for StreamId

§

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

Formats the value using the given formatter. Read more
§

impl From<StreamId> for VarInt

§

fn from(x: StreamId) -> VarInt

Converts to this type from the input type.
§

impl From<VarInt> for StreamId

§

fn from(v: VarInt) -> StreamId

Converts to this type from the input type.
§

impl Hash for StreamId

§

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
§

impl Ord for StreamId

§

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

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

fn max(self, other: Self) -> Self
where diff --git a/pr/2937/docs/iroh/endpoint/struct.TransportError.html b/pr/2937/docs/iroh/endpoint/struct.TransportError.html index 23afbebd51..d5013eb10c 100644 --- a/pr/2937/docs/iroh/endpoint/struct.TransportError.html +++ b/pr/2937/docs/iroh/endpoint/struct.TransportError.html @@ -6,7 +6,7 @@

Fields§

§code: Code

Type of error

§frame: Option<Type>

Frame type that triggered the error

§reason: String

Human-readable explanation of the reason

-

Trait Implementations§

§

impl Clone for Error

§

fn clone(&self) -> Error

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

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

Performs copy-assignment from source. Read more
§

impl Debug for Error

§

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

Formats the value using the given formatter. Read more
§

impl Display for Error

§

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

Formats the value using the given formatter. Read more
§

impl Error for Error

1.30.0 · source§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<Error> for Error

§

fn from(e: Error) -> Error

Converts to this type from the input type.
§

impl From<InvalidFrame> for Error

§

fn from(err: InvalidFrame) -> Error

Converts to this type from the input type.
§

impl From<Error> for ConnectionClose

§

fn from(x: Error) -> ConnectionClose

Converts to this type from the input type.
§

impl From<Error> for ConnectionError

§

fn from(source: Error) -> ConnectionError

Converts to this type from the input type.
§

impl From<Code> for Error

§

fn from(x: Code) -> Error

Converts to this type from the input type.
§

impl PartialEq for Error

§

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

This method tests for self and other values to be equal, and is used +

Trait Implementations§

§

impl Clone for Error

§

fn clone(&self) -> Error

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

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

Performs copy-assignment from source. Read more
§

impl Debug for Error

§

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

Formats the value using the given formatter. Read more
§

impl Display for Error

§

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

Formats the value using the given formatter. Read more
§

impl Error for Error

1.30.0 · source§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<Error> for Error

§

fn from(e: Error) -> Error

Converts to this type from the input type.
§

impl From<InvalidFrame> for Error

§

fn from(err: InvalidFrame) -> Error

Converts to this type from the input type.
§

impl From<Error> for ConnectionClose

§

fn from(x: Error) -> ConnectionClose

Converts to this type from the input type.
§

impl From<Error> for ConnectionError

§

fn from(source: Error) -> ConnectionError

Converts to this type from the input type.
§

impl From<Code> for Error

§

fn from(x: Code) -> Error

Converts to this type from the input type.
§

impl PartialEq for Error

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

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

impl Eq for Error

§

impl StructuralPartialEq for Error

Auto Trait Implementations§

§

impl Freeze for Error

§

impl RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl UnwindSafe for Error

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where diff --git a/pr/2937/docs/iroh/endpoint/struct.VarInt.html b/pr/2937/docs/iroh/endpoint/struct.VarInt.html index 97b6720e86..6bcf47e108 100644 --- a/pr/2937/docs/iroh/endpoint/struct.VarInt.html +++ b/pr/2937/docs/iroh/endpoint/struct.VarInt.html @@ -10,7 +10,7 @@

pub const fn into_inner(self) -> u64

Extract the integer value

pub fn saturating_add(self, rhs: impl Into<VarInt>) -> VarInt

Saturating integer addition. Computes self + rhs, saturating at the numeric bounds instead of overflowing.

-

Trait Implementations§

§

impl Clone for VarInt

§

fn clone(&self) -> VarInt

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 VarInt

§

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

Formats the value using the given formatter. Read more
§

impl Default for VarInt

§

fn default() -> VarInt

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

impl Display for VarInt

§

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

Formats the value using the given formatter. Read more
§

impl From<StreamId> for VarInt

§

fn from(x: StreamId) -> VarInt

Converts to this type from the input type.
§

impl From<VarInt> for StreamId

§

fn from(v: VarInt) -> StreamId

Converts to this type from the input type.
§

impl From<u16> for VarInt

§

fn from(x: u16) -> VarInt

Converts to this type from the input type.
§

impl From<u32> for VarInt

§

fn from(x: u32) -> VarInt

Converts to this type from the input type.
§

impl From<u8> for VarInt

§

fn from(x: u8) -> VarInt

Converts to this type from the input type.
§

impl Hash for VarInt

§

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

Trait Implementations§

§

impl Clone for VarInt

§

fn clone(&self) -> VarInt

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 VarInt

§

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

Formats the value using the given formatter. Read more
§

impl Default for VarInt

§

fn default() -> VarInt

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

impl Display for VarInt

§

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

Formats the value using the given formatter. Read more
§

impl From<StreamId> for VarInt

§

fn from(x: StreamId) -> VarInt

Converts to this type from the input type.
§

impl From<VarInt> for StreamId

§

fn from(v: VarInt) -> StreamId

Converts to this type from the input type.
§

impl From<u16> for VarInt

§

fn from(x: u16) -> VarInt

Converts to this type from the input type.
§

impl From<u32> for VarInt

§

fn from(x: u32) -> VarInt

Converts to this type from the input type.
§

impl From<u8> for VarInt

§

fn from(x: u8) -> VarInt

Converts to this type from the input type.
§

impl Hash for VarInt

§

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
§

impl Ord for VarInt

§

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

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

fn max(self, other: Self) -> Self
where @@ -21,9 +21,9 @@ by ==.

§

impl PartialOrd for VarInt

§

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

This method 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

This method 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

This method 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

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
§

impl TryFrom<u128> for VarInt

§

fn try_from(x: u128) -> Result<VarInt, VarIntBoundsExceeded>

Succeeds iff x < 2^62

-
§

type Error = VarIntBoundsExceeded

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

impl TryFrom<u64> for VarInt

§

fn try_from(x: u64) -> Result<VarInt, VarIntBoundsExceeded>

Succeeds iff x < 2^62

-
§

type Error = VarIntBoundsExceeded

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

impl TryFrom<usize> for VarInt

§

fn try_from(x: usize) -> Result<VarInt, VarIntBoundsExceeded>

Succeeds iff x < 2^62

-
§

type Error = VarIntBoundsExceeded

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

impl Copy for VarInt

§

impl Eq for VarInt

§

impl StructuralPartialEq for VarInt

Auto Trait Implementations§

§

impl Freeze for VarInt

§

impl RefUnwindSafe for VarInt

§

impl Send for VarInt

§

impl Sync for VarInt

§

impl Unpin for VarInt

§

impl UnwindSafe for VarInt

Blanket Implementations§

source§

impl<T> Any for T
where +

§

type Error = VarIntBoundsExceeded

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

impl TryFrom<u64> for VarInt

§

fn try_from(x: u64) -> Result<VarInt, VarIntBoundsExceeded>

Succeeds iff x < 2^62

+
§

type Error = VarIntBoundsExceeded

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

impl TryFrom<usize> for VarInt

§

fn try_from(x: usize) -> Result<VarInt, VarIntBoundsExceeded>

Succeeds iff x < 2^62

+
§

type Error = VarIntBoundsExceeded

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

impl Copy for VarInt

§

impl Eq for VarInt

§

impl StructuralPartialEq for VarInt

Auto Trait Implementations§

§

impl Freeze for VarInt

§

impl RefUnwindSafe for VarInt

§

impl Send for VarInt

§

impl Sync for VarInt

§

impl Unpin for VarInt

§

impl UnwindSafe for VarInt

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( diff --git a/pr/2937/docs/iroh/enum.AddrInfoOptions.html b/pr/2937/docs/iroh/enum.AddrInfoOptions.html index 88340a6d83..9700565e4a 100644 --- a/pr/2937/docs/iroh/enum.AddrInfoOptions.html +++ b/pr/2937/docs/iroh/enum.AddrInfoOptions.html @@ -1,4 +1,4 @@ -AddrInfoOptions in iroh - Rust

Enum iroh::AddrInfoOptions

pub enum AddrInfoOptions {
+AddrInfoOptions in iroh - Rust

Enum iroh::AddrInfoOptions

source ·
pub enum AddrInfoOptions {
     Id,
     RelayAndAddresses,
     Relay,
@@ -9,18 +9,18 @@
 
§

RelayAndAddresses

Includes the Node ID and both the relay URL, and the direct addresses.

§

Relay

Includes the Node ID and the relay URL.

§

Addresses

Includes the Node ID and the direct addresses.

-

Trait Implementations§

§

impl Clone for AddrInfoOptions

§

fn clone(&self) -> AddrInfoOptions

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 AddrInfoOptions

§

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

Formats the value using the given formatter. Read more
§

impl Default for AddrInfoOptions

§

fn default() -> AddrInfoOptions

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

impl<'de> Deserialize<'de> for AddrInfoOptions

§

fn deserialize<__D>( +

Trait Implementations§

source§

impl Clone for AddrInfoOptions

source§

fn clone(&self) -> AddrInfoOptions

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 AddrInfoOptions

source§

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

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

impl Default for AddrInfoOptions

source§

fn default() -> AddrInfoOptions

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

impl<'de> Deserialize<'de> for AddrInfoOptions

source§

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

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

impl Display for AddrInfoOptions

§

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

Formats the value using the given formatter. Read more
§

impl FromStr for AddrInfoOptions

§

type Err = FromStrError

The associated error which can be returned from parsing.
§

fn from_str( +) -> Result<AddrInfoOptions, <__D as Deserializer<'de>>::Error>
where + __D: Deserializer<'de>,

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

impl Display for AddrInfoOptions

source§

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

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

impl FromStr for AddrInfoOptions

§

type Err = FromStrError

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

fn from_str( src: &str -) -> Result<AddrInfoOptions, <AddrInfoOptions as FromStr>::Err>

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

impl PartialEq for AddrInfoOptions

§

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

This method tests for self and other values to be equal, and is used +) -> Result<AddrInfoOptions, <AddrInfoOptions as FromStr>::Err>

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

impl PartialEq for AddrInfoOptions

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

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

impl Serialize for AddrInfoOptions

§

fn serialize<__S>( +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for AddrInfoOptions

source§

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

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

impl Copy for AddrInfoOptions

§

impl Eq for AddrInfoOptions

§

impl StructuralPartialEq for AddrInfoOptions

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where + __S: Serializer,

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

impl Copy for AddrInfoOptions

source§

impl Eq for AddrInfoOptions

source§

impl StructuralPartialEq for AddrInfoOptions

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( @@ -51,6 +51,6 @@ sufficient, and should not be overridden without very good reason.

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

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

§

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

source§

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

§

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

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/pr/2937/docs/iroh/hash/enum.BlobFormat.html b/pr/2937/docs/iroh/hash/enum.BlobFormat.html index 59833864b4..e294714088 100644 --- a/pr/2937/docs/iroh/hash/enum.BlobFormat.html +++ b/pr/2937/docs/iroh/hash/enum.BlobFormat.html @@ -1,30 +1,30 @@ -BlobFormat in iroh::hash - Rust

Enum iroh::hash::BlobFormat

pub enum BlobFormat {
+BlobFormat in iroh::hash - Rust

Enum iroh::hash::BlobFormat

source ·
pub enum BlobFormat {
     Raw,
     HashSeq,
 }
Expand description

A format identifier

Variants§

§

Raw

Raw blob

§

HashSeq

A sequence of BLAKE3 hashes

-

Implementations§

§

impl BlobFormat

pub const fn is_raw(&self) -> bool

Is raw format

-

pub const fn is_hash_seq(&self) -> bool

Is hash seq format

-

Trait Implementations§

§

impl Clone for BlobFormat

§

fn clone(&self) -> BlobFormat

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 BlobFormat

§

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

Formats the value using the given formatter. Read more
§

impl Default for BlobFormat

§

fn default() -> BlobFormat

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

impl<'de> Deserialize<'de> for BlobFormat

§

fn deserialize<__D>( +

Implementations§

source§

impl BlobFormat

source

pub const fn is_raw(&self) -> bool

Is raw format

+
source

pub const fn is_hash_seq(&self) -> bool

Is hash seq format

+

Trait Implementations§

source§

impl Clone for BlobFormat

source§

fn clone(&self) -> BlobFormat

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 BlobFormat

source§

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

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

impl Default for BlobFormat

source§

fn default() -> BlobFormat

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

impl<'de> Deserialize<'de> for BlobFormat

source§

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

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

impl Display for BlobFormat

§

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

Formats the value using the given formatter. Read more
§

impl Hash for BlobFormat

§

fn hash<__H>(&self, state: &mut __H)
where +) -> Result<BlobFormat, <__D as Deserializer<'de>>::Error>
where + __D: Deserializer<'de>,

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

impl Display for BlobFormat

source§

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

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

impl Hash for BlobFormat

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
§

impl MaxSize for BlobFormat

§

const POSTCARD_MAX_SIZE: usize = 1usize

The maximum possible size that the serialization of this -type can have, in bytes.
§

impl Ord for BlobFormat

§

fn cmp(&self, other: &BlobFormat) -> 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 MaxSize for BlobFormat

source§

const POSTCARD_MAX_SIZE: usize = 1usize

The maximum possible size that the serialization of this +type can have, in bytes.
source§

impl Ord for BlobFormat

source§

fn cmp(&self, other: &BlobFormat) -> 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 + PartialOrd,

Restrict a value to a certain interval. Read more
§

impl PartialEq for BlobFormat

§

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

This method tests for self and other values to be equal, and is used + Self: Sized + PartialOrd,
Restrict a value to a certain interval. Read more
source§

impl PartialEq for BlobFormat

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

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

impl PartialOrd for BlobFormat

§

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

This method 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

This method tests less than or equal to (for self and other) and is used by the <= +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for BlobFormat

source§

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

This method 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

This method 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

This method 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

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

impl Serialize for BlobFormat

§

fn serialize<__S>( +operator. Read more

source§

impl Serialize for BlobFormat

source§

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

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

impl Copy for BlobFormat

§

impl Eq for BlobFormat

§

impl StructuralPartialEq for BlobFormat

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where + __S: Serializer,

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

impl Copy for BlobFormat

source§

impl Eq for BlobFormat

source§

impl StructuralPartialEq for BlobFormat

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( @@ -57,7 +57,7 @@ operator.
§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

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

§

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

source§

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

§

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

§

impl<T> MaybeSendSync for T

source§

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

\ No newline at end of file diff --git a/pr/2937/docs/iroh/hash/index.html b/pr/2937/docs/iroh/hash/index.html index 08facf3957..45a816dc9a 100644 --- a/pr/2937/docs/iroh/hash/index.html +++ b/pr/2937/docs/iroh/hash/index.html @@ -1,2 +1,2 @@ -iroh::hash - Rust

Module iroh::hash

Expand description

The blake3 hash used in Iroh.

+iroh::hash - Rust

Module iroh::hash

source ·
Expand description

The blake3 hash used in Iroh.

Structs§

Enums§

\ No newline at end of file diff --git a/pr/2937/docs/iroh/hash/struct.Hash.html b/pr/2937/docs/iroh/hash/struct.Hash.html index 46d6fcf3da..c74f53aa30 100644 --- a/pr/2937/docs/iroh/hash/struct.Hash.html +++ b/pr/2937/docs/iroh/hash/struct.Hash.html @@ -1,36 +1,36 @@ -Hash in iroh::hash - Rust

Struct iroh::hash::Hash

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

Hash type used throughout.

-

Implementations§

§

impl Hash

pub const EMPTY: Hash = _

The hash for the empty byte range (b"").

-

pub fn new(buf: impl AsRef<[u8]>) -> Hash

Calculate the hash of the provided bytes.

-

pub fn as_bytes(&self) -> &[u8; 32]

Bytes of the hash.

-

pub const fn from_bytes(bytes: [u8; 32]) -> Hash

Create a Hash from its raw bytes representation.

-

pub fn to_hex(&self) -> String

Convert the hash to a hex string.

-

pub fn fmt_short(&self) -> String

Convert to a base32 string limited to the first 10 bytes for a friendly string +Hash in iroh::hash - Rust

Struct iroh::hash::Hash

source ·
pub struct Hash(/* private fields */);
Expand description

Hash type used throughout.

+

Implementations§

source§

impl Hash

source

pub const EMPTY: Hash = _

The hash for the empty byte range (b"").

+
source

pub fn new(buf: impl AsRef<[u8]>) -> Hash

Calculate the hash of the provided bytes.

+
source

pub fn as_bytes(&self) -> &[u8; 32]

Bytes of the hash.

+
source

pub const fn from_bytes(bytes: [u8; 32]) -> Hash

Create a Hash from its raw bytes representation.

+
source

pub fn to_hex(&self) -> String

Convert the hash to a hex string.

+
source

pub fn fmt_short(&self) -> String

Convert to a base32 string limited to the first 10 bytes for a friendly string representation of the hash.

-

Trait Implementations§

§

impl AsRef<[u8]> for Hash

§

fn as_ref(&self) -> &[u8] ⓘ

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

impl Borrow<[u8]> for Hash

§

fn borrow(&self) -> &[u8] ⓘ

Immutably borrows from an owned value. Read more
§

impl Borrow<[u8; 32]> for Hash

§

fn borrow(&self) -> &[u8; 32]

Immutably borrows from an owned value. Read more
§

impl Clone for Hash

§

fn clone(&self) -> Hash

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 Hash

§

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

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for Hash

§

fn deserialize<D>( +

Trait Implementations§

source§

impl AsRef<[u8]> for Hash

source§

fn as_ref(&self) -> &[u8] ⓘ

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

impl Borrow<[u8]> for Hash

source§

fn borrow(&self) -> &[u8] ⓘ

Immutably borrows from an owned value. Read more
source§

impl Borrow<[u8; 32]> for Hash

source§

fn borrow(&self) -> &[u8; 32]

Immutably borrows from an owned value. Read more
source§

impl Clone for Hash

source§

fn clone(&self) -> Hash

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 Hash

source§

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

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

impl<'de> Deserialize<'de> for Hash

source§

fn deserialize<D>( deserializer: D -) -> Result<Hash, <D as Deserializer<'de>>::Error>
where - D: Deserializer<'de>,

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

impl Display for Hash

§

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

Formats the value using the given formatter. Read more
§

impl From<&[u8; 32]> for Hash

§

fn from(value: &[u8; 32]) -> Hash

Converts to this type from the input type.
§

impl From<[u8; 32]> for Hash

§

fn from(value: [u8; 32]) -> Hash

Converts to this type from the input type.
§

impl From<Hash> for [u8; 32]

§

fn from(value: Hash) -> [u8; 32]

Converts to this type from the input type.
§

impl From<Hash> for Hash

§

fn from(value: Hash) -> Hash

Converts to this type from the input type.
§

impl FromStr for Hash

§

type Err = HexOrBase32ParseError

The associated error which can be returned from parsing.
§

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

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

impl Hash for Hash

§

fn hash<__H>(&self, state: &mut __H)
where +) -> Result<Hash, <D as Deserializer<'de>>::Error>
where + D: Deserializer<'de>,

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

impl Display for Hash

source§

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

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

impl From<&[u8; 32]> for Hash

source§

fn from(value: &[u8; 32]) -> Hash

Converts to this type from the input type.
source§

impl From<[u8; 32]> for Hash

source§

fn from(value: [u8; 32]) -> Hash

Converts to this type from the input type.
source§

impl From<Hash> for [u8; 32]

source§

fn from(value: Hash) -> [u8; 32]

Converts to this type from the input type.
source§

impl From<Hash> for Hash

source§

fn from(value: Hash) -> Hash

Converts to this type from the input type.
source§

impl FromStr for Hash

§

type Err = HexOrBase32ParseError

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

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

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

impl Hash for Hash

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
§

impl Key for Hash

§

fn compare(data1: &[u8], data2: &[u8]) -> Ordering

Compare data1 with data2
§

impl MaxSize for Hash

§

const POSTCARD_MAX_SIZE: usize = 32usize

The maximum possible size that the serialization of this -type can have, in bytes.
§

impl Ord for Hash

§

fn cmp(&self, other: &Hash) -> 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 Key for Hash

source§

fn compare(data1: &[u8], data2: &[u8]) -> Ordering

Compare data1 with data2
source§

impl MaxSize for Hash

source§

const POSTCARD_MAX_SIZE: usize = 32usize

The maximum possible size that the serialization of this +type can have, in bytes.
source§

impl Ord for Hash

source§

fn cmp(&self, other: &Hash) -> 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 + PartialOrd,

Restrict a value to a certain interval. Read more
§

impl PartialEq for Hash

§

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

This method tests for self and other values to be equal, and is used + Self: Sized + PartialOrd,
Restrict a value to a certain interval. Read more
source§

impl PartialEq for Hash

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

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

impl PartialOrd for Hash

§

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

This method 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

This method tests less than or equal to (for self and other) and is used by the <= +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for Hash

source§

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

This method 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

This method 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

This method 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

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

impl Serialize for Hash

§

fn serialize<S>( +operator. Read more

source§

impl Serialize for Hash

source§

fn serialize<S>( &self, serializer: S -) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where - S: Serializer,

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

impl Value for Hash

§

type SelfType<'a> = Hash

SelfType<’a> must be the same type as Self with all lifetimes replaced with ’a
§

type AsBytes<'a> = &'a [u8; 32]

§

fn fixed_width() -> Option<usize>

Width of a fixed type, or None for variable width
§

fn from_bytes<'a>(data: &'a [u8]) -> <Hash as Value>::SelfType<'a>
where +) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where + S: Serializer,

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

impl Value for Hash

§

type SelfType<'a> = Hash

SelfType<’a> must be the same type as Self with all lifetimes replaced with ’a
§

type AsBytes<'a> = &'a [u8; 32]

source§

fn fixed_width() -> Option<usize>

Width of a fixed type, or None for variable width
source§

fn from_bytes<'a>(data: &'a [u8]) -> <Hash as Value>::SelfType<'a>
where Hash: 'a,

Deserializes data -Implementations may return a view over data, or an owned type
§

fn as_bytes<'a, 'b>( +Implementations may return a view over data, or an owned type

source§

fn as_bytes<'a, 'b>( value: &'a <Hash as Value>::SelfType<'b> ) -> <Hash as Value>::AsBytes<'a>
where 'b: 'a, - Hash: 'a + 'b,

Serialize the value to a slice
§

fn type_name() -> TypeName

Globally unique identifier for this type
§

impl Copy for Hash

§

impl Eq for Hash

§

impl StructuralPartialEq for Hash

Auto Trait Implementations§

§

impl Freeze for Hash

§

impl RefUnwindSafe for Hash

§

impl Send for Hash

§

impl Sync for Hash

§

impl Unpin for Hash

§

impl UnwindSafe for Hash

Blanket Implementations§

source§

impl<T> Any for T
where + Hash: 'a + 'b,

Serialize the value to a slice
source§

fn type_name() -> TypeName

Globally unique identifier for this type
source§

impl Copy for Hash

source§

impl Eq for Hash

source§

impl StructuralPartialEq for Hash

Auto Trait Implementations§

§

impl Freeze for Hash

§

impl RefUnwindSafe for Hash

§

impl Send for Hash

§

impl Sync for Hash

§

impl Unpin for Hash

§

impl UnwindSafe for Hash

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( @@ -68,7 +68,7 @@ letters are used (e.g. F9B4CA)

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

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

§

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

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

§

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

§

impl<T> MaybeSendSync for T

source§

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

\ No newline at end of file diff --git a/pr/2937/docs/iroh/hash/struct.HashAndFormat.html b/pr/2937/docs/iroh/hash/struct.HashAndFormat.html index 6727120e64..a594ee8d1c 100644 --- a/pr/2937/docs/iroh/hash/struct.HashAndFormat.html +++ b/pr/2937/docs/iroh/hash/struct.HashAndFormat.html @@ -1,37 +1,37 @@ -HashAndFormat in iroh::hash - Rust

Struct iroh::hash::HashAndFormat

pub struct HashAndFormat {
+HashAndFormat in iroh::hash - Rust

Struct iroh::hash::HashAndFormat

source ·
pub struct HashAndFormat {
     pub hash: Hash,
     pub format: BlobFormat,
 }
Expand description

A hash and format pair

Fields§

§hash: Hash

The hash

§format: BlobFormat

The format

-

Implementations§

§

impl HashAndFormat

pub fn new(hash: Hash, format: BlobFormat) -> HashAndFormat

Create a new hash and format pair.

-

pub fn raw(hash: Hash) -> HashAndFormat

Create a new hash and format pair, using the default (raw) format.

-

pub fn hash_seq(hash: Hash) -> HashAndFormat

Create a new hash and format pair, using the collection format.

-

Trait Implementations§

§

impl Clone for HashAndFormat

§

fn clone(&self) -> HashAndFormat

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 HashAndFormat

§

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

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for HashAndFormat

§

fn deserialize<D>( +

Implementations§

source§

impl HashAndFormat

source

pub fn new(hash: Hash, format: BlobFormat) -> HashAndFormat

Create a new hash and format pair.

+
source

pub fn raw(hash: Hash) -> HashAndFormat

Create a new hash and format pair, using the default (raw) format.

+
source

pub fn hash_seq(hash: Hash) -> HashAndFormat

Create a new hash and format pair, using the collection format.

+

Trait Implementations§

source§

impl Clone for HashAndFormat

source§

fn clone(&self) -> HashAndFormat

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 HashAndFormat

source§

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

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

impl<'de> Deserialize<'de> for HashAndFormat

source§

fn deserialize<D>( deserializer: D -) -> Result<HashAndFormat, <D as Deserializer<'de>>::Error>
where - D: Deserializer<'de>,

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

impl Display for HashAndFormat

§

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

Formats the value using the given formatter. Read more
§

impl FromStr for HashAndFormat

§

type Err = Error

The associated error which can be returned from parsing.
§

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

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

impl Hash for HashAndFormat

§

fn hash<__H>(&self, state: &mut __H)
where +) -> Result<HashAndFormat, <D as Deserializer<'de>>::Error>
where + D: Deserializer<'de>,

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

impl Display for HashAndFormat

source§

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

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

impl FromStr for HashAndFormat

§

type Err = Error

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

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

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

impl Hash for HashAndFormat

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
§

impl MaxSize for HashAndFormat

§

const POSTCARD_MAX_SIZE: usize = 33usize

The maximum possible size that the serialization of this -type can have, in bytes.
§

impl Ord for HashAndFormat

§

fn cmp(&self, other: &HashAndFormat) -> 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 MaxSize for HashAndFormat

source§

const POSTCARD_MAX_SIZE: usize = 33usize

The maximum possible size that the serialization of this +type can have, in bytes.
source§

impl Ord for HashAndFormat

source§

fn cmp(&self, other: &HashAndFormat) -> 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 + PartialOrd,

Restrict a value to a certain interval. Read more
§

impl PartialEq for HashAndFormat

§

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

This method tests for self and other values to be equal, and is used + Self: Sized + PartialOrd,
Restrict a value to a certain interval. Read more
source§

impl PartialEq for HashAndFormat

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

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

impl PartialOrd for HashAndFormat

§

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

This method 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

This method tests less than or equal to (for self and other) and is used by the <= +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for HashAndFormat

source§

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

This method 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

This method 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

This method 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

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

impl Serialize for HashAndFormat

§

fn serialize<S>( +operator. Read more

source§

impl Serialize for HashAndFormat

source§

fn serialize<S>( &self, serializer: S -) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where - S: Serializer,

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

impl Value for HashAndFormat

§

type SelfType<'a> = HashAndFormat

SelfType<’a> must be the same type as Self with all lifetimes replaced with ’a
§

type AsBytes<'a> = [u8; 33]

§

fn fixed_width() -> Option<usize>

Width of a fixed type, or None for variable width
§

fn from_bytes<'a>(data: &'a [u8]) -> <HashAndFormat as Value>::SelfType<'a>
where +) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where + S: Serializer,

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

impl Value for HashAndFormat

§

type SelfType<'a> = HashAndFormat

SelfType<’a> must be the same type as Self with all lifetimes replaced with ’a
§

type AsBytes<'a> = [u8; 33]

source§

fn fixed_width() -> Option<usize>

Width of a fixed type, or None for variable width
source§

fn from_bytes<'a>(data: &'a [u8]) -> <HashAndFormat as Value>::SelfType<'a>
where HashAndFormat: 'a,

Deserializes data -Implementations may return a view over data, or an owned type
§

fn as_bytes<'a, 'b>( +Implementations may return a view over data, or an owned type

source§

fn as_bytes<'a, 'b>( value: &'a <HashAndFormat as Value>::SelfType<'b> ) -> <HashAndFormat as Value>::AsBytes<'a>
where 'b: 'a, - HashAndFormat: 'a + 'b,

Serialize the value to a slice
§

fn type_name() -> TypeName

Globally unique identifier for this type
§

impl Copy for HashAndFormat

§

impl Eq for HashAndFormat

§

impl StructuralPartialEq for HashAndFormat

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + HashAndFormat: 'a + 'b,

Serialize the value to a slice
source§

fn type_name() -> TypeName

Globally unique identifier for this type
source§

impl Copy for HashAndFormat

source§

impl Eq for HashAndFormat

source§

impl StructuralPartialEq for HashAndFormat

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( @@ -64,7 +64,7 @@ Implementations may return a view over data, or an owned type

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

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

§

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

source§

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

§

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

§

impl<T> MaybeSendSync for T

source§

impl<T> RuleType for T
where T: Copy + Debug + Eq + Hash + Ord,

\ No newline at end of file diff --git a/pr/2937/docs/iroh/index.html b/pr/2937/docs/iroh/index.html index 94b466bf22..23318d72ce 100644 --- a/pr/2937/docs/iroh/index.html +++ b/pr/2937/docs/iroh/index.html @@ -162,5 +162,5 @@ connecting using only the < Ok(()) }

Please see the examples directory for more nuanced examples.

-

Re-exports§

Modules§

  • Default values used in iroh
  • A dialer to conveniently dial many nodes.
  • Node address discovery.
  • This module exports a DNS resolver, which is also the default resolver used in the +

    Re-exports§

    Modules§

    • Default values used in iroh
    • A dialer to conveniently dial many nodes.
    • Node address discovery.
    • This module exports a DNS resolver, which is also the default resolver used in the crate::Endpoint if no custom resolver is configured.
    • The Endpoint allows establishing connections to other iroh nodes.
    • The blake3 hash used in Iroh.
    • Cryptographic key handling for iroh.
    • Co-locating all of the iroh metrics structs
    • Tools for spawning an accept loop that routes incoming requests to the right protocol.
    • test_utilstest or test-utils
      Internal utilities to support testing.
    • TLS configuration for iroh.

    Structs§

    • Network paths to contact an iroh node.
    • Network-level addressing information for an iroh node.
    • Configuration of all the relay servers that can be used.
    • Information on a specific relay server.
    • A URL identifying a relay server.

    Enums§

    Type Aliases§

    • The identifier for a node in the (iroh) network.
    \ No newline at end of file diff --git a/pr/2937/docs/iroh/key/enum.KeyParsingError.html b/pr/2937/docs/iroh/key/enum.KeyParsingError.html index 61fa0aaa5c..919d125ee8 100644 --- a/pr/2937/docs/iroh/key/enum.KeyParsingError.html +++ b/pr/2937/docs/iroh/key/enum.KeyParsingError.html @@ -1,10 +1,10 @@ -KeyParsingError in iroh::key - Rust

    Enum iroh::key::KeyParsingError

    pub enum KeyParsingError {
    -    Base32(HexOrBase32ParseError),
    +KeyParsingError in iroh::key - Rust

    Enum iroh::key::KeyParsingError

    source ·
    pub enum KeyParsingError {
    +    Base32(HexOrBase32ParseError),
         Key(Error),
     }
    Expand description

    Error when deserialising a PublicKey or a SecretKey.

    -

    Variants§

    §

    Base32(HexOrBase32ParseError)

    Error when decoding the base32.

    +

    Variants§

    §

    Base32(HexOrBase32ParseError)

    Error when decoding the base32.

    §

    Key(Error)

    Error when decoding the public key.

    -

    Trait Implementations§

    §

    impl Debug for KeyParsingError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for KeyParsingError

    §

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for KeyParsingError

    §

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    §

    impl From<Error> for KeyParsingError

    §

    fn from(source: Error) -> KeyParsingError

    Converts to this type from the input type.
    §

    impl From<HexOrBase32ParseError> for KeyParsingError

    §

    fn from(source: HexOrBase32ParseError) -> KeyParsingError

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Debug for KeyParsingError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Display for KeyParsingError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Error for KeyParsingError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<Error> for KeyParsingError

    source§

    fn from(source: Error) -> KeyParsingError

    Converts to this type from the input type.
    source§

    impl From<HexOrBase32ParseError> for KeyParsingError

    source§

    fn from(source: HexOrBase32ParseError) -> KeyParsingError

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( diff --git a/pr/2937/docs/iroh/key/index.html b/pr/2937/docs/iroh/key/index.html index 6a78611c6d..92f9899f5a 100644 --- a/pr/2937/docs/iroh/key/index.html +++ b/pr/2937/docs/iroh/key/index.html @@ -1,2 +1,2 @@ -iroh::key - Rust

    Module iroh::key

    Expand description

    Cryptographic key handling for iroh.

    +iroh::key - Rust

    Module iroh::key

    source ·
    Expand description

    Cryptographic key handling for iroh.

    Structs§

    Enums§

    Constants§

    Type Aliases§

    • The identifier for a node in the (iroh) network.
    \ No newline at end of file diff --git a/pr/2937/docs/iroh/key/struct.PublicKey.html b/pr/2937/docs/iroh/key/struct.PublicKey.html index 9c7f6e3704..91d406792a 100644 --- a/pr/2937/docs/iroh/key/struct.PublicKey.html +++ b/pr/2937/docs/iroh/key/struct.PublicKey.html @@ -1,46 +1,46 @@ -PublicKey in iroh::key - Rust

    Struct iroh::key::PublicKey

    pub struct PublicKey(/* private fields */);
    Expand description

    A public key.

    +PublicKey in iroh::key - Rust

    Struct iroh::key::PublicKey

    source ·
    pub struct PublicKey(/* private fields */);
    Expand description

    A public key.

    The key itself is just a 32 byte array, but a key has associated crypto information that is cached for performance reasons.

    The cache item will be refreshed every time a crypto operation is performed, or when a key is deserialised or created from a byte array.

    Serialisation or creation from a byte array is cheap if the key is already in the cache, but expensive if it is not.

    -

    Implementations§

    §

    impl PublicKey

    pub fn as_bytes(&self) -> &[u8; 32]

    Get this public key as a byte array.

    -

    pub fn serialize_public_pem(&self) -> String

    Serializes the public key as PEM

    -

    pub fn from_bytes(bytes: &[u8; 32]) -> Result<PublicKey, Error>

    Construct a PublicKey from a slice of bytes.

    +

    Implementations§

    source§

    impl PublicKey

    source

    pub fn as_bytes(&self) -> &[u8; 32]

    Get this public key as a byte array.

    +
    source

    pub fn serialize_public_pem(&self) -> String

    Serializes the public key as PEM

    +
    source

    pub fn from_bytes(bytes: &[u8; 32]) -> Result<PublicKey, Error>

    Construct a PublicKey from a slice of bytes.

    §Warning

    This will return a [SignatureError] if the bytes passed into this method do not represent a valid ed25519_dalek curve point. Will never fail for bytes return from Self::as_bytes. See [VerifyingKey::from_bytes] for details.

    -

    pub fn verify(&self, message: &[u8], signature: &Signature) -> Result<(), Error>

    Verify a signature on a message with this secret key’s public key.

    +
    source

    pub fn verify(&self, message: &[u8], signature: &Signature) -> Result<(), Error>

    Verify a signature on a message with this secret key’s public key.

    §Return

    Returns Ok(()) if the signature is valid, and Err otherwise.

    -

    pub fn fmt_short(&self) -> String

    Convert to a base32 string limited to the first 10 bytes for a friendly string +

    source

    pub fn fmt_short(&self) -> String

    Convert to a base32 string limited to the first 10 bytes for a friendly string representation of the key.

    -

    Trait Implementations§

    §

    impl AsRef<[u8]> for PublicKey

    §

    fn as_ref(&self) -> &[u8] ⓘ

    Converts this type into a shared reference of the (usually inferred) input type.
    §

    impl Clone for PublicKey

    §

    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
    §

    impl Debug for PublicKey

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for PublicKey

    §

    fn deserialize<D>( +

    Trait Implementations§

    source§

    impl AsRef<[u8]> for PublicKey

    source§

    fn as_ref(&self) -> &[u8] ⓘ

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for PublicKey

    source§

    fn clone(&self) -> PublicKey

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PublicKey

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for PublicKey

    source§

    fn deserialize<D>( deserializer: D -) -> Result<PublicKey, <D as Deserializer<'de>>::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Display for PublicKey

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl From<PublicKey> for NodeAddr

    §

    fn from(node_id: PublicKey) -> NodeAddr

    Converts to this type from the input type.
    §

    impl From<VerifyingKey> for PublicKey

    §

    fn from(verifying_key: VerifyingKey) -> PublicKey

    Converts to this type from the input type.
    §

    impl FromStr for PublicKey

    Deserialises the PublicKey from it’s base32 encoding.

    +) -> Result<PublicKey, <D as Deserializer<'de>>::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for PublicKey

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl From<PublicKey> for NodeAddr

    source§

    fn from(node_id: PublicKey) -> NodeAddr

    Converts to this type from the input type.
    source§

    impl From<VerifyingKey> for PublicKey

    source§

    fn from(verifying_key: VerifyingKey) -> PublicKey

    Converts to this type from the input type.
    source§

    impl FromStr for PublicKey

    Deserialises the PublicKey from it’s base32 encoding.

    Display is capable of serialising this format.

    -
    §

    type Err = KeyParsingError

    The associated error which can be returned from parsing.
    §

    fn from_str(s: &str) -> Result<PublicKey, <PublicKey as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    §

    impl Hash for PublicKey

    §

    fn hash<H>(&self, state: &mut H)
    where +
    §

    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
    §

    impl Ord for PublicKey

    §

    fn cmp(&self, other: &PublicKey) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl 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 + PartialOrd,

    Restrict a value to a certain interval. Read more
    §

    impl PartialEq for PublicKey

    §

    fn eq(&self, other: &PublicKey) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized + PartialOrd,
    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for PublicKey

    source§

    fn eq(&self, other: &PublicKey) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    §

    impl PartialOrd for PublicKey

    §

    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

    This method 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

    This method tests less than or equal to (for self and other) and is used by the <= +sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for PublicKey

    source§

    fn partial_cmp(&self, other: &PublicKey) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method 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

    This method 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

    This method 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

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    §

    impl Serialize for PublicKey

    §

    fn serialize<S>( +operator. Read more

    source§

    impl Serialize for PublicKey

    source§

    fn serialize<S>( &self, serializer: S -) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where - S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl TryFrom<&[u8]> for PublicKey

    §

    type Error = Error

    The type returned in the event of a conversion error.
    §

    fn try_from( +) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where + S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<&[u8]> for PublicKey

    §

    type Error = Error

    The type returned in the event of a conversion error.
    source§

    fn try_from( bytes: &[u8] -) -> Result<PublicKey, <PublicKey as TryFrom<&[u8]>>::Error>

    Performs the conversion.
    §

    impl TryFrom<&[u8; 32]> for PublicKey

    §

    type Error = Error

    The type returned in the event of a conversion error.
    §

    fn try_from( +) -> Result<PublicKey, <PublicKey as TryFrom<&[u8]>>::Error>

    Performs the conversion.
    source§

    impl TryFrom<&[u8; 32]> for PublicKey

    §

    type Error = Error

    The type returned in the event of a conversion error.
    source§

    fn try_from( bytes: &[u8; 32] -) -> Result<PublicKey, <PublicKey as TryFrom<&[u8; 32]>>::Error>

    Performs the conversion.
    §

    impl Copy for PublicKey

    §

    impl Eq for PublicKey

    §

    impl StructuralPartialEq for PublicKey

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> Result<PublicKey, <PublicKey as TryFrom<&[u8; 32]>>::Error>

    Performs the conversion.
    source§

    impl Copy for PublicKey

    source§

    impl Eq for PublicKey

    source§

    impl StructuralPartialEq for PublicKey

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    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( @@ -78,7 +78,7 @@ letters are used (e.g. F9B4CA)

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where +[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    source§

    impl<T> RuleType for T
    where T: Copy + Debug + Eq + Hash + Ord,

    \ No newline at end of file diff --git a/pr/2937/docs/iroh/key/struct.SecretKey.html b/pr/2937/docs/iroh/key/struct.SecretKey.html index 47909ba477..95cd7e2711 100644 --- a/pr/2937/docs/iroh/key/struct.SecretKey.html +++ b/pr/2937/docs/iroh/key/struct.SecretKey.html @@ -1,25 +1,25 @@ -SecretKey in iroh::key - Rust

    Struct iroh::key::SecretKey

    pub struct SecretKey { /* private fields */ }
    Expand description

    A secret key.

    -

    Implementations§

    §

    impl SecretKey

    pub fn shared(&self, other: &PublicKey) -> SharedSecret

    Returns the shared key for communication between this key and other.

    -
    §

    impl SecretKey

    pub fn public(&self) -> PublicKey

    The public key of this SecretKey.

    -

    pub fn serialize_secret_pem(&self) -> Zeroizing<String>

    Serializes the secret key as PEM

    -

    pub fn generate() -> SecretKey

    Generate a new SecretKey with the default randomness generator.

    -

    pub fn generate_with_rng<R>(csprng: &mut R) -> SecretKey
    where +SecretKey in iroh::key - Rust

    Struct iroh::key::SecretKey

    source ·
    pub struct SecretKey { /* private fields */ }
    Expand description

    A secret key.

    +

    Implementations§

    source§

    impl SecretKey

    source

    pub fn shared(&self, other: &PublicKey) -> SharedSecret

    Returns the shared key for communication between this key and other.

    +
    source§

    impl SecretKey

    source

    pub fn public(&self) -> PublicKey

    The public key of this SecretKey.

    +
    source

    pub fn serialize_secret_pem(&self) -> Zeroizing<String>

    Serializes the secret key as PEM

    +
    source

    pub fn generate() -> SecretKey

    Generate a new SecretKey with the default randomness generator.

    +
    source

    pub fn generate_with_rng<R>(csprng: &mut R) -> SecretKey
    where R: CryptoRngCore + ?Sized,

    Generate a new SecretKey with a randomness generator.

    -

    pub fn to_openssh(&self) -> Result<Zeroizing<String>, Error>

    Serialise this key to OpenSSH format.

    -

    pub fn try_from_openssh<T>(data: T) -> Result<SecretKey, Error>
    where +

    source

    pub fn to_openssh(&self) -> Result<Zeroizing<String>, Error>

    Serialise this key to OpenSSH format.

    +
    source

    pub fn try_from_openssh<T>(data: T) -> Result<SecretKey, Error>
    where T: AsRef<[u8]>,

    Deserialise this key from OpenSSH format.

    -

    pub fn sign(&self, msg: &[u8]) -> Signature

    Sign the given message and return a digital signature

    -

    pub fn to_bytes(&self) -> [u8; 32]

    Convert this to the bytes representing the secret part. +

    source

    pub fn sign(&self, msg: &[u8]) -> Signature

    Sign the given message and return a digital signature

    +
    source

    pub fn to_bytes(&self) -> [u8; 32]

    Convert this to the bytes representing the secret part. The public part can always be recovered.

    -

    pub fn from_bytes(bytes: &[u8; 32]) -> SecretKey

    Create a secret key from its byte representation.

    -

    Trait Implementations§

    §

    impl Clone for SecretKey

    §

    fn clone(&self) -> SecretKey

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for SecretKey

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for SecretKey

    §

    fn deserialize<D>( +

    source

    pub fn from_bytes(bytes: &[u8; 32]) -> SecretKey

    Create a secret key from its byte representation.

    +

    Trait Implementations§

    source§

    impl Clone for SecretKey

    source§

    fn clone(&self) -> SecretKey

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SecretKey

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for SecretKey

    source§

    fn deserialize<D>( deserializer: D -) -> Result<SecretKey, <D as Deserializer<'de>>::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Display for SecretKey

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl From<[u8; 32]> for SecretKey

    §

    fn from(value: [u8; 32]) -> SecretKey

    Converts to this type from the input type.
    §

    impl From<SigningKey> for SecretKey

    §

    fn from(secret: SigningKey) -> SecretKey

    Converts to this type from the input type.
    §

    impl FromStr for SecretKey

    §

    type Err = KeyParsingError

    The associated error which can be returned from parsing.
    §

    fn from_str(s: &str) -> Result<SecretKey, <SecretKey as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    §

    impl Serialize for SecretKey

    §

    fn serialize<S>( +) -> Result<SecretKey, <D as Deserializer<'de>>::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for SecretKey

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl From<[u8; 32]> for SecretKey

    source§

    fn from(value: [u8; 32]) -> SecretKey

    Converts to this type from the input type.
    source§

    impl From<SigningKey> for SecretKey

    source§

    fn from(secret: SigningKey) -> SecretKey

    Converts to this type from the input type.
    source§

    impl FromStr for SecretKey

    §

    type Err = KeyParsingError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<SecretKey, <SecretKey as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Serialize for SecretKey

    source§

    fn serialize<S>( &self, serializer: S -) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where - S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl TryFrom<&[u8]> for SecretKey

    §

    type Error = Error

    The type returned in the event of a conversion error.
    §

    fn try_from( +) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where + S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<&[u8]> for SecretKey

    §

    type Error = Error

    The type returned in the event of a conversion error.
    source§

    fn try_from( bytes: &[u8] ) -> Result<SecretKey, <SecretKey as TryFrom<&[u8]>>::Error>

    Performs the conversion.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where @@ -48,6 +48,6 @@ The public part can always be recovered.

    V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where +[WithDispatch] wrapper. Read more

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh/key/struct.SharedSecret.html b/pr/2937/docs/iroh/key/struct.SharedSecret.html index 09cd304642..f060dfed2e 100644 --- a/pr/2937/docs/iroh/key/struct.SharedSecret.html +++ b/pr/2937/docs/iroh/key/struct.SharedSecret.html @@ -1,7 +1,7 @@ -SharedSecret in iroh::key - Rust

    Struct iroh::key::SharedSecret

    pub struct SharedSecret(/* private fields */);
    Expand description

    Shared Secret.

    -

    Implementations§

    §

    impl SharedSecret

    pub fn seal(&self, buffer: &mut dyn Buffer)

    Seals the provided cleartext.

    -

    pub fn open(&self, buffer: &mut dyn Buffer) -> Result<(), Error>

    Opens the ciphertext, which must have been created using Self::seal, and places the clear text into the provided buffer.

    -

    Trait Implementations§

    §

    impl Debug for SharedSecret

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +SharedSecret in iroh::key - Rust

    Struct iroh::key::SharedSecret

    source ·
    pub struct SharedSecret(/* private fields */);
    Expand description

    Shared Secret.

    +

    Implementations§

    source§

    impl SharedSecret

    source

    pub fn seal(&self, buffer: &mut dyn Buffer)

    Seals the provided cleartext.

    +
    source

    pub fn open(&self, buffer: &mut dyn Buffer) -> Result<(), Error>

    Opens the ciphertext, which must have been created using Self::seal, and places the clear text into the provided buffer.

    +

    Trait Implementations§

    source§

    impl Debug for SharedSecret

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( diff --git a/pr/2937/docs/iroh/key/struct.Signature.html b/pr/2937/docs/iroh/key/struct.Signature.html index aa56ae70e4..db0e9b9c8b 100644 --- a/pr/2937/docs/iroh/key/struct.Signature.html +++ b/pr/2937/docs/iroh/key/struct.Signature.html @@ -17,19 +17,19 @@ elements at the time a signature is verified.

    pub fn s_bytes(&self) -> &[u8; 32]

    Bytes for the s component of a signature.

    pub fn to_bytes(&self) -> [u8; 64]

    Return the inner byte array.

    pub fn to_vec(&self) -> Vec<u8> ⓘ

    Convert this signature into a byte vector.

    -

    Trait Implementations§

    §

    impl Clone for Signature

    §

    fn clone(&self) -> Signature

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Signature

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for Signature

    §

    fn deserialize<D>( +

    Trait Implementations§

    §

    impl Clone for Signature

    §

    fn clone(&self) -> Signature

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Signature

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for Signature

    §

    fn deserialize<D>( deserializer: D -) -> Result<Signature, <D as Deserializer<'de>>::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Display for Signature

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl From<&[u8; 64]> for Signature

    §

    fn from(bytes: &[u8; 64]) -> Signature

    Converts to this type from the input type.
    §

    impl From<&Signature> for [u8; 64]

    §

    fn from(sig: &Signature) -> [u8; 64]

    Converts to this type from the input type.
    §

    impl From<[u8; 64]> for Signature

    §

    fn from(bytes: [u8; 64]) -> Signature

    Converts to this type from the input type.
    §

    impl From<InternalSignature> for Signature

    §

    fn from(sig: InternalSignature) -> Signature

    Converts to this type from the input type.
    §

    impl From<Signature> for [u8; 64]

    §

    fn from(sig: Signature) -> [u8; 64]

    Converts to this type from the input type.
    §

    impl FromStr for Signature

    Decode a signature from hexadecimal.

    +) -> Result<Signature, <D as Deserializer<'de>>::Error>
    where + D: Deserializer<'de>,
    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Display for Signature

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl From<&[u8; 64]> for Signature

    §

    fn from(bytes: &[u8; 64]) -> Signature

    Converts to this type from the input type.
    §

    impl From<&Signature> for [u8; 64]

    §

    fn from(sig: &Signature) -> [u8; 64]

    Converts to this type from the input type.
    §

    impl From<[u8; 64]> for Signature

    §

    fn from(bytes: [u8; 64]) -> Signature

    Converts to this type from the input type.
    §

    impl From<InternalSignature> for Signature

    §

    fn from(sig: InternalSignature) -> Signature

    Converts to this type from the input type.
    §

    impl From<Signature> for [u8; 64]

    §

    fn from(sig: Signature) -> [u8; 64]

    Converts to this type from the input type.
    §

    impl FromStr for Signature

    Decode a signature from hexadecimal.

    Upper and lower case hexadecimal are both accepted, however mixed case is rejected.

    §

    type Err = Error

    The associated error which can be returned from parsing.
    §

    fn from_str(hex: &str) -> Result<Signature, Error>

    Parses a string s to return a value of this type. Read more
    §

    impl LowerHex for Signature

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl PartialEq for Signature

    §

    fn eq(&self, other: &Signature) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for Signature

    §

    fn serialize<S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for Signature

    §

    fn serialize<S>( &self, serializer: S -) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where - S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl SignatureEncoding for Signature

    §

    type Repr = [u8; 64]

    Byte representation of a signature.
    §

    fn to_bytes(&self) -> [u8; 64]

    Encode signature as its byte representation.
    §

    fn to_vec(&self) -> Vec<u8> ⓘ

    Encode signature as a byte vector.
    §

    fn encoded_len(&self) -> usize

    Get the length of this signature when encoded.
    §

    impl TryFrom<&[u8]> for Signature

    §

    type Error = Error

    The type returned in the event of a conversion error.
    §

    fn try_from(bytes: &[u8]) -> Result<Signature, Error>

    Performs the conversion.
    §

    impl TryFrom<&Signature> for Signature

    §

    type Error = Error

    The type returned in the event of a conversion error.
    §

    fn try_from(signature: &Signature) -> Result<Signature, Error>

    Performs the conversion.
    §

    impl TryFrom<Signature> for Signature

    §

    type Error = Error

    The type returned in the event of a conversion error.
    §

    fn try_from(signature: Signature) -> Result<Signature, Error>

    Performs the conversion.
    §

    impl UpperHex for Signature

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl Copy for Signature

    §

    impl Eq for Signature

    §

    impl StructuralPartialEq for Signature

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where + S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl SignatureEncoding for Signature

    §

    type Repr = [u8; 64]

    Byte representation of a signature.
    §

    fn to_bytes(&self) -> [u8; 64]

    Encode signature as its byte representation.
    §

    fn to_vec(&self) -> Vec<u8> ⓘ

    Encode signature as a byte vector.
    §

    fn encoded_len(&self) -> usize

    Get the length of this signature when encoded.
    §

    impl TryFrom<&[u8]> for Signature

    §

    type Error = Error

    The type returned in the event of a conversion error.
    §

    fn try_from(bytes: &[u8]) -> Result<Signature, Error>

    Performs the conversion.
    §

    impl TryFrom<&Signature> for Signature

    §

    type Error = Error

    The type returned in the event of a conversion error.
    §

    fn try_from(signature: &Signature) -> Result<Signature, Error>

    Performs the conversion.
    §

    impl TryFrom<Signature> for Signature

    §

    type Error = Error

    The type returned in the event of a conversion error.
    §

    fn try_from(signature: Signature) -> Result<Signature, Error>

    Performs the conversion.
    §

    impl UpperHex for Signature

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl Copy for Signature

    §

    impl Eq for Signature

    §

    impl StructuralPartialEq for Signature

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    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( @@ -60,6 +60,6 @@ sufficient, and should not be overridden without very good reason.

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where +[WithDispatch] wrapper. Read more

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh/key/type.NodeId.html b/pr/2937/docs/iroh/key/type.NodeId.html index 3d730836ff..eebe370714 100644 --- a/pr/2937/docs/iroh/key/type.NodeId.html +++ b/pr/2937/docs/iroh/key/type.NodeId.html @@ -1,4 +1,4 @@ -NodeId in iroh::key - Rust

    Type Alias iroh::key::NodeId

    pub type NodeId = PublicKey;
    Expand description

    The identifier for a node in the (iroh) network.

    +NodeId in iroh::key - Rust

    Type Alias iroh::key::NodeId

    source ·
    pub type NodeId = PublicKey;
    Expand description

    The identifier for a node in the (iroh) network.

    Each node in iroh has a unique identifier created as a cryptographic key. This can be used to globally identify a node. Since it is also a cryptographic key it is also the mechanism by which all traffic is always encrypted for a specific node only.

    diff --git a/pr/2937/docs/iroh/metrics/struct.RelayMetrics.html b/pr/2937/docs/iroh/metrics/struct.RelayMetrics.html index 6f003df936..b51144030c 100644 --- a/pr/2937/docs/iroh/metrics/struct.RelayMetrics.html +++ b/pr/2937/docs/iroh/metrics/struct.RelayMetrics.html @@ -1,4 +1,4 @@ -RelayMetrics in iroh::metrics - Rust

    Struct iroh::metrics::RelayMetrics

    pub struct RelayMetrics {
    Show 21 fields +RelayMetrics in iroh::metrics - Rust

    Struct iroh::metrics::RelayMetrics

    source ·
    pub struct RelayMetrics {
    Show 21 fields pub bytes_sent: Counter, pub bytes_recv: Counter, pub send_packets_sent: Counter, @@ -42,7 +42,7 @@
    §unique_client_keys: Counter

    Number of unique client keys per day

    §websocket_accepts: Counter

    Number of accepted websocket connections

    §derp_accepts: Counter

    Number of accepted ‘iroh derp http’ connection upgrades

    -

    Trait Implementations§

    §

    impl Clone for Metrics

    §

    fn clone(&self) -> Metrics

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Metrics

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Metrics

    §

    fn default() -> Metrics

    Returns the “default value” for a type. Read more
    §

    impl Iterable for Metrics

    §

    fn iter<'a>(&'a self) -> IntoIter<(&'static str, &'a (dyn Any + 'static))>

    Returns an iterator over the struct’s fields as tuples. Read more
    §

    impl Metric for Metrics

    §

    fn name() -> &'static str

    The name of this metric group.
    §

    fn new(registry: &mut Registry) -> Self

    Initializes this metric group.
    §

    fn with_metric<T, F>(f: F)
    where +

    Trait Implementations§

    source§

    impl Clone for Metrics

    source§

    fn clone(&self) -> Metrics

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Metrics

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Metrics

    source§

    fn default() -> Metrics

    Returns the “default value” for a type. Read more
    source§

    impl Iterable for Metrics

    source§

    fn iter<'a>(&'a self) -> IntoIter<(&'static str, &'a (dyn Any + 'static))>

    Returns an iterator over the struct’s fields as tuples. Read more
    source§

    impl Metric for Metrics

    source§

    fn name() -> &'static str

    The name of this metric group.
    §

    fn new(registry: &mut Registry) -> Self

    Initializes this metric group.
    §

    fn with_metric<T, F>(f: F)
    where F: FnOnce(&Self) -> T,

    Access to this metrics group to record a metric. Only records if this metric is registered in the global registry.
    §

    fn try_get() -> Option<&'static Self>

    Attempts to get the current metric from the global registry.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where diff --git a/pr/2937/docs/iroh/protocol/struct.Router.html b/pr/2937/docs/iroh/protocol/struct.Router.html index 4eca9a2124..817e3c9cc8 100644 --- a/pr/2937/docs/iroh/protocol/struct.Router.html +++ b/pr/2937/docs/iroh/protocol/struct.Router.html @@ -19,7 +19,7 @@ router.shutdown().await?

    Implementations§

    source§

    impl Router

    source

    pub fn builder(endpoint: Endpoint) -> RouterBuilder

    Creates a new Router using given Endpoint.

    source

    pub fn endpoint(&self) -> &Endpoint

    Returns the Endpoint stored in this router.

    source

    pub fn is_shutdown(&self) -> bool

    Checks if the router is already shutdown.

    -
    source

    pub async fn shutdown(&self) -> Result<()>

    Shuts down the accept loop cleanly.

    +
    source

    pub async fn shutdown(&self) -> Result<()>

    Shuts down the accept loop cleanly.

    When this function returns, all ProtocolHandlers will be shutdown and Endpoint::close will have been called.

    If already shutdown, it returns Ok.

    diff --git a/pr/2937/docs/iroh/protocol/struct.RouterBuilder.html b/pr/2937/docs/iroh/protocol/struct.RouterBuilder.html index f797cf2828..6eff8804c9 100644 --- a/pr/2937/docs/iroh/protocol/struct.RouterBuilder.html +++ b/pr/2937/docs/iroh/protocol/struct.RouterBuilder.html @@ -7,7 +7,7 @@ ) -> Self

    Configures the router to accept the ProtocolHandler when receiving a connection with this alpn.

    source

    pub fn endpoint(&self) -> &Endpoint

    Returns the Endpoint of the node.

    -
    source

    pub async fn spawn(self) -> Result<Router>

    Spawns an accept loop and returns a handle to it encapsulated as the Router.

    +
    source

    pub async fn spawn(self) -> Result<Router>

    Spawns an accept loop and returns a handle to it encapsulated as the Router.

    Trait Implementations§

    source§

    impl Debug for RouterBuilder

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where diff --git a/pr/2937/docs/iroh/protocol/trait.ProtocolHandler.html b/pr/2937/docs/iroh/protocol/trait.ProtocolHandler.html index b55a000ff5..edef715e16 100644 --- a/pr/2937/docs/iroh/protocol/trait.ProtocolHandler.html +++ b/pr/2937/docs/iroh/protocol/trait.ProtocolHandler.html @@ -1,6 +1,6 @@ ProtocolHandler in iroh::protocol - Rust

    Trait iroh::protocol::ProtocolHandler

    source ·
    pub trait ProtocolHandler: Send + Sync + Debug + 'static {
         // Required method
    -    fn accept(&self, conn: Connecting) -> BoxedFuture<Result<()>>;
    +    fn accept(&self, conn: Connecting) -> BoxedFuture<Result<()>>;
     
         // Provided method
         fn shutdown(&self) -> BoxedFuture<()> { ... }
    @@ -10,7 +10,7 @@
     

    Implement this trait on a struct that should handle incoming connections. The protocol handler must then be registered on the node for an ALPN protocol with crate::protocol::RouterBuilder::accept.

    -

    Required Methods§

    source

    fn accept(&self, conn: Connecting) -> BoxedFuture<Result<()>>

    Handle an incoming connection.

    +

    Required Methods§

    source

    fn accept(&self, conn: Connecting) -> BoxedFuture<Result<()>>

    Handle an incoming connection.

    This runs on a freshly spawned tokio task so this can be long-running.

    Provided Methods§

    source

    fn shutdown(&self) -> BoxedFuture<()>

    Called when the node shuts down.

    -

    Implementations on Foreign Types§

    source§

    impl<T: ProtocolHandler> ProtocolHandler for Box<T>

    source§

    fn accept(&self, conn: Connecting) -> BoxedFuture<Result<()>>

    source§

    fn shutdown(&self) -> BoxedFuture<()>

    source§

    impl<T: ProtocolHandler> ProtocolHandler for Arc<T>

    source§

    fn accept(&self, conn: Connecting) -> BoxedFuture<Result<()>>

    source§

    fn shutdown(&self) -> BoxedFuture<()>

    Implementors§

    \ No newline at end of file +

    Implementations on Foreign Types§

    source§

    impl<T: ProtocolHandler> ProtocolHandler for Box<T>

    source§

    fn accept(&self, conn: Connecting) -> BoxedFuture<Result<()>>

    source§

    fn shutdown(&self) -> BoxedFuture<()>

    source§

    impl<T: ProtocolHandler> ProtocolHandler for Arc<T>

    source§

    fn accept(&self, conn: Connecting) -> BoxedFuture<Result<()>>

    source§

    fn shutdown(&self) -> BoxedFuture<()>

    Implementors§

    \ No newline at end of file diff --git a/pr/2937/docs/iroh/struct.AddrInfo.html b/pr/2937/docs/iroh/struct.AddrInfo.html index 5b0b07aa72..bc37f2c9af 100644 --- a/pr/2937/docs/iroh/struct.AddrInfo.html +++ b/pr/2937/docs/iroh/struct.AddrInfo.html @@ -1,4 +1,4 @@ -AddrInfo in iroh - Rust

    Struct iroh::AddrInfo

    pub struct AddrInfo {
    +AddrInfo in iroh - Rust

    Struct iroh::AddrInfo

    source ·
    pub struct AddrInfo {
         pub relay_url: Option<RelayUrl>,
         pub direct_addresses: BTreeSet<SocketAddr>,
     }
    Expand description

    Network paths to contact an iroh node.

    @@ -7,26 +7,26 @@ Unless a [discovery service] is used at least one path is required to connect to other node, see NodeAddr for details.

    Fields§

    §relay_url: Option<RelayUrl>

    The node’s home relay url.

    §direct_addresses: BTreeSet<SocketAddr>

    Socket addresses where the peer might be reached directly.

    -

    Implementations§

    §

    impl AddrInfo

    pub fn is_empty(&self) -> bool

    Returns whether this addressing information is empty.

    -

    pub fn apply_options(&mut self, opts: AddrInfoOptions)

    Applies the options to self.

    +

    Implementations§

    source§

    impl AddrInfo

    source

    pub fn is_empty(&self) -> bool

    Returns whether this addressing information is empty.

    +
    source

    pub fn apply_options(&mut self, opts: AddrInfoOptions)

    Applies the options to self.

    This is used to more tightly control the information stored in ab AddrInfo received from another API. E.g. to ensure a discovery service is used the AddrInfoOptions::Id] option could be used to remove all other addressing details.

    -

    Trait Implementations§

    §

    impl Clone for AddrInfo

    §

    fn clone(&self) -> AddrInfo

    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 AddrInfo

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for AddrInfo

    §

    fn default() -> AddrInfo

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for AddrInfo

    §

    fn deserialize<__D>( +

    Trait Implementations§

    source§

    impl Clone for AddrInfo

    source§

    fn clone(&self) -> AddrInfo

    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 AddrInfo

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for AddrInfo

    source§

    fn default() -> AddrInfo

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for AddrInfo

    source§

    fn deserialize<__D>( __deserializer: __D -) -> Result<AddrInfo, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl From<NodeInfo> for AddrInfo

    source§

    fn from(value: NodeInfo) -> Self

    Converts to this type from the input type.
    §

    impl Ord for AddrInfo

    §

    fn cmp(&self, other: &AddrInfo) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where +) -> Result<AddrInfo, <__D as Deserializer<'de>>::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl From<NodeInfo> for AddrInfo

    source§

    fn from(value: NodeInfo) -> Self

    Converts to this type from the input type.
    source§

    impl Ord for AddrInfo

    source§

    fn cmp(&self, other: &AddrInfo) -> 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 + PartialOrd,

    Restrict a value to a certain interval. Read more
    §

    impl PartialEq for AddrInfo

    §

    fn eq(&self, other: &AddrInfo) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized + PartialOrd,
    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for AddrInfo

    source§

    fn eq(&self, other: &AddrInfo) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    §

    impl PartialOrd for AddrInfo

    §

    fn partial_cmp(&self, other: &AddrInfo) -> 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

    This method 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

    This method tests less than or equal to (for self and other) and is used by the <= +sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for AddrInfo

    source§

    fn partial_cmp(&self, other: &AddrInfo) -> 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

    This method 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

    This method 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

    This method 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

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    §

    impl Serialize for AddrInfo

    §

    fn serialize<__S>( +operator. Read more

    source§

    impl Serialize for AddrInfo

    source§

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Eq for AddrInfo

    §

    impl StructuralPartialEq for AddrInfo

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Eq for AddrInfo

    source§

    impl StructuralPartialEq for AddrInfo

    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( @@ -58,6 +58,6 @@ operator.
    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where +[WithDispatch] wrapper. Read more

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh/struct.NodeAddr.html b/pr/2937/docs/iroh/struct.NodeAddr.html index 817666d41f..f30a559c60 100644 --- a/pr/2937/docs/iroh/struct.NodeAddr.html +++ b/pr/2937/docs/iroh/struct.NodeAddr.html @@ -1,4 +1,4 @@ -NodeAddr in iroh - Rust

    Struct iroh::NodeAddr

    pub struct NodeAddr {
    +NodeAddr in iroh - Rust

    Struct iroh::NodeAddr

    source ·
    pub struct NodeAddr {
         pub node_id: PublicKey,
         pub info: AddrInfo,
     }
    Expand description

    Network-level addressing information for an iroh node.

    @@ -25,40 +25,40 @@ number of network-level addressing information. It is a generic addressing type whenever a connection to other nodes needs to be established.

    Fields§

    §node_id: PublicKey

    The node’s identifier.

    §info: AddrInfo

    Addressing information to connect to Self::node_id.

    -

    Implementations§

    §

    impl NodeAddr

    pub fn new(node_id: PublicKey) -> NodeAddr

    Creates a new NodeAddr with empty AddrInfo.

    -

    pub fn with_relay_url(self, relay_url: RelayUrl) -> NodeAddr

    Adds a relay url to the node’s AddrInfo.

    -

    pub fn with_direct_addresses( +

    Implementations§

    source§

    impl NodeAddr

    source

    pub fn new(node_id: PublicKey) -> NodeAddr

    Creates a new NodeAddr with empty AddrInfo.

    +
    source

    pub fn with_relay_url(self, relay_url: RelayUrl) -> NodeAddr

    Adds a relay url to the node’s AddrInfo.

    +
    source

    pub fn with_direct_addresses( self, addresses: impl IntoIterator<Item = SocketAddr> ) -> NodeAddr

    Adds the given direct addresses to the peer’s AddrInfo.

    -

    pub fn from_parts( +

    source

    pub fn from_parts( node_id: PublicKey, relay_url: Option<RelayUrl>, direct_addresses: impl IntoIterator<Item = SocketAddr> ) -> NodeAddr

    Creates a new NodeAddr from its parts.

    -

    pub fn apply_options(&mut self, opts: AddrInfoOptions)

    Applies the options to self.

    +
    source

    pub fn apply_options(&mut self, opts: AddrInfoOptions)

    Applies the options to self.

    This is used to more tightly control the information stored in a NodeAddr received from another API. E.g. to ensure a discovery service is used the AddrInfoOptions::Id] option could be used to remove all other addressing details.

    -

    pub fn direct_addresses(&self) -> impl Iterator<Item = &SocketAddr>

    Returns the direct addresses of this peer.

    -

    pub fn relay_url(&self) -> Option<&RelayUrl>

    Returns the relay url of this peer.

    -

    Trait Implementations§

    §

    impl Clone for NodeAddr

    §

    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
    §

    impl Debug for NodeAddr

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for NodeAddr

    §

    fn deserialize<__D>( +

    source

    pub fn direct_addresses(&self) -> impl Iterator<Item = &SocketAddr>

    Returns the direct addresses of this peer.

    +
    source

    pub fn relay_url(&self) -> Option<&RelayUrl>

    Returns the relay url of this peer.

    +

    Trait Implementations§

    source§

    impl Clone for NodeAddr

    source§

    fn clone(&self) -> NodeAddr

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NodeAddr

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for NodeAddr

    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
    §

    impl From<(PublicKey, Option<RelayUrl>, &[SocketAddr])> for NodeAddr

    §

    fn from(value: (PublicKey, Option<RelayUrl>, &[SocketAddr])) -> NodeAddr

    Converts to this type from the input type.
    §

    impl From<NodeAddr> for NodeTicket

    §

    fn from(addr: NodeAddr) -> NodeTicket

    Creates a ticket from given addressing info.

    -
    source§

    impl From<NodeInfo> for NodeAddr

    source§

    fn from(value: NodeInfo) -> Self

    Converts to this type from the input type.
    §

    impl From<NodeTicket> for NodeAddr

    §

    fn from(ticket: NodeTicket) -> NodeAddr

    Returns the addressing info from given ticket.

    -
    §

    impl From<PublicKey> for NodeAddr

    §

    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.
    §

    impl Ord for NodeAddr

    §

    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 +) -> Result<NodeAddr, <__D as Deserializer<'de>>::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl From<(PublicKey, Option<RelayUrl>, &[SocketAddr])> for NodeAddr

    source§

    fn from(value: (PublicKey, Option<RelayUrl>, &[SocketAddr])) -> NodeAddr

    Converts to this type from the input type.
    source§

    impl From<NodeAddr> for NodeTicket

    source§

    fn from(addr: NodeAddr) -> NodeTicket

    Creates a ticket from given addressing info.

    +
    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 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 + PartialOrd,

    Restrict a value to a certain interval. Read more
    §

    impl PartialEq for NodeAddr

    §

    fn eq(&self, other: &NodeAddr) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized + PartialOrd,
    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for NodeAddr

    source§

    fn eq(&self, other: &NodeAddr) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    §

    impl PartialOrd for NodeAddr

    §

    fn partial_cmp(&self, other: &NodeAddr) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method 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

    This method tests less than or equal to (for self and other) and is used by the <= +sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for NodeAddr

    source§

    fn partial_cmp(&self, other: &NodeAddr) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method 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

    This method 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

    This method 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

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    §

    impl Serialize for NodeAddr

    §

    fn serialize<__S>( +operator. Read more

    source§

    impl Serialize for NodeAddr

    source§

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Eq for NodeAddr

    §

    impl StructuralPartialEq for NodeAddr

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Eq for NodeAddr

    source§

    impl StructuralPartialEq for NodeAddr

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -90,6 +90,6 @@ operator.
    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where +[WithDispatch] wrapper. Read more

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh/struct.RelayMap.html b/pr/2937/docs/iroh/struct.RelayMap.html index 25fff5950c..9c07385f3b 100644 --- a/pr/2937/docs/iroh/struct.RelayMap.html +++ b/pr/2937/docs/iroh/struct.RelayMap.html @@ -1,27 +1,27 @@ -RelayMap in iroh - Rust

    Struct iroh::RelayMap

    pub struct RelayMap { /* private fields */ }
    Expand description

    Configuration of all the relay servers that can be used.

    -

    Implementations§

    §

    impl RelayMap

    pub fn urls(&self) -> impl Iterator<Item = &RelayUrl>

    Returns the sorted relay URLs.

    -

    pub fn empty() -> RelayMap

    Create an empty relay map.

    -

    pub fn nodes(&self) -> impl Iterator<Item = &Arc<RelayNode>>

    Returns an Iterator over all known nodes.

    -

    pub fn contains_node(&self, url: &RelayUrl) -> bool

    Is this a known node?

    -

    pub fn get_node(&self, url: &RelayUrl) -> Option<&Arc<RelayNode>>

    Get the given node.

    -

    pub fn len(&self) -> usize

    How many nodes are known?

    -

    pub fn is_empty(&self) -> bool

    Are there any nodes in this map?

    -

    pub fn default_from_node(url: RelayUrl, stun_port: u16) -> RelayMap

    Creates a new RelayMap with a single relay server configured.

    +RelayMap in iroh - Rust

    Struct iroh::RelayMap

    source ·
    pub struct RelayMap { /* private fields */ }
    Expand description

    Configuration of all the relay servers that can be used.

    +

    Implementations§

    source§

    impl RelayMap

    source

    pub fn urls(&self) -> impl Iterator<Item = &RelayUrl>

    Returns the sorted relay URLs.

    +
    source

    pub fn empty() -> RelayMap

    Create an empty relay map.

    +
    source

    pub fn nodes(&self) -> impl Iterator<Item = &Arc<RelayNode>>

    Returns an Iterator over all known nodes.

    +
    source

    pub fn contains_node(&self, url: &RelayUrl) -> bool

    Is this a known node?

    +
    source

    pub fn get_node(&self, url: &RelayUrl) -> Option<&Arc<RelayNode>>

    Get the given node.

    +
    source

    pub fn len(&self) -> usize

    How many nodes are known?

    +
    source

    pub fn is_empty(&self) -> bool

    Are there any nodes in this map?

    +
    source

    pub fn default_from_node(url: RelayUrl, stun_port: u16) -> RelayMap

    Creates a new RelayMap with a single relay server configured.

    Allows to set a custom STUN port and different IP addresses for IPv4 and IPv6. If IP addresses are provided, no DNS lookup will be performed.

    Sets the port to the default DEFAULT_RELAY_QUIC_PORT.

    -

    pub fn from_url(url: RelayUrl) -> RelayMap

    Returns a RelayMap from a RelayUrl.

    +
    source

    pub fn from_url(url: RelayUrl) -> RelayMap

    Returns a RelayMap from a RelayUrl.

    This will use the default STUN port, the default QUIC port (as defined by the iroh-relay crate) and IP addresses resolved from the URL’s host name via DNS. relay nodes are specified at <../../docs/relay_nodes.md>

    -

    pub fn from_nodes<I>( +

    source

    pub fn from_nodes<I>( value: impl IntoIterator<Item = I> -) -> Result<RelayMap, Error>
    where +) -> Result<RelayMap, Error>
    where I: Into<Arc<RelayNode>>,

    Constructs the RelayMap from an iterator of RelayNodes.

    -

    Trait Implementations§

    §

    impl Clone for RelayMap

    §

    fn clone(&self) -> RelayMap

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for RelayMap

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for RelayMap

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for RelayMap

    §

    fn eq(&self, other: &RelayMap) -> bool

    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    source§

    impl Clone for RelayMap

    source§

    fn clone(&self) -> RelayMap

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RelayMap

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Display for RelayMap

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for RelayMap

    source§

    fn eq(&self, other: &RelayMap) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    §

    impl Eq for RelayMap

    §

    impl StructuralPartialEq for RelayMap

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +sufficient, and should not be overridden without very good reason.

    source§

    impl Eq for RelayMap

    source§

    impl StructuralPartialEq for RelayMap

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( diff --git a/pr/2937/docs/iroh/struct.RelayNode.html b/pr/2937/docs/iroh/struct.RelayNode.html index 663d5a3d7b..36ba522a0c 100644 --- a/pr/2937/docs/iroh/struct.RelayNode.html +++ b/pr/2937/docs/iroh/struct.RelayNode.html @@ -1,8 +1,8 @@ -RelayNode in iroh - Rust

    Struct iroh::RelayNode

    pub struct RelayNode {
    +RelayNode in iroh - Rust

    Struct iroh::RelayNode

    source ·
    pub struct RelayNode {
         pub url: RelayUrl,
         pub stun_only: bool,
         pub stun_port: u16,
    -    pub quic: Option<QuicConfig>,
    +    pub quic: Option<QuicConfig>,
     }
    Expand description

    Information on a specific relay server.

    Includes the Url where it can be dialed.

    Fields§

    §url: RelayUrl

    The RelayUrl where this relay server can be dialed.

    @@ -11,24 +11,24 @@ functionality is used.

    §stun_port: u16

    The stun port of the relay server.

    Setting this to 0 means the default STUN port is used.

    -
    §quic: Option<QuicConfig>

    Configuration to speak to the QUIC endpoint on the relay server.

    +
    §quic: Option<QuicConfig>

    Configuration to speak to the QUIC endpoint on the relay server.

    When None, we will not attempt to do QUIC address discovery with this relay server.

    -

    Trait Implementations§

    §

    impl Clone for RelayNode

    §

    fn clone(&self) -> RelayNode

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for RelayNode

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for RelayNode

    §

    fn deserialize<__D>( +

    Trait Implementations§

    source§

    impl Clone for RelayNode

    source§

    fn clone(&self) -> RelayNode

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RelayNode

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for RelayNode

    source§

    fn deserialize<__D>( __deserializer: __D -) -> Result<RelayNode, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Display for RelayNode

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Ord for RelayNode

    §

    fn cmp(&self, other: &RelayNode) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where +) -> Result<RelayNode, <__D as Deserializer<'de>>::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for RelayNode

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Ord for RelayNode

    source§

    fn cmp(&self, other: &RelayNode) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where 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 + PartialOrd,

    Restrict a value to a certain interval. Read more
    §

    impl PartialEq for RelayNode

    §

    fn eq(&self, other: &RelayNode) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for RelayNode

    source§

    fn eq(&self, other: &RelayNode) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    §

    impl PartialOrd for RelayNode

    §

    fn partial_cmp(&self, other: &RelayNode) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method 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

    This method tests less than or equal to (for self and other) and is used by the <= +sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for RelayNode

    source§

    fn partial_cmp(&self, other: &RelayNode) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method 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

    This method 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

    This method 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

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    §

    impl Serialize for RelayNode

    §

    fn serialize<__S>( +operator. Read more

    source§

    impl Serialize for RelayNode

    source§

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Eq for RelayNode

    §

    impl StructuralPartialEq for RelayNode

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Eq for RelayNode

    source§

    impl StructuralPartialEq for RelayNode

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -61,6 +61,6 @@ operator.
    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where +[WithDispatch] wrapper. Read more

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh/struct.RelayUrl.html b/pr/2937/docs/iroh/struct.RelayUrl.html index 0f7be54528..12c61638c5 100644 --- a/pr/2937/docs/iroh/struct.RelayUrl.html +++ b/pr/2937/docs/iroh/struct.RelayUrl.html @@ -1,5 +1,5 @@ -RelayUrl in iroh - Rust

    Struct iroh::RelayUrl

    pub struct RelayUrl(/* private fields */);
    Expand description

    A URL identifying a relay server.

    -

    This is but a wrapper around Url, with a few custom tweaks:

    +RelayUrl in iroh - Rust

    Struct iroh::RelayUrl

    source ·
    pub struct RelayUrl(/* private fields */);
    Expand description

    A URL identifying a relay server.

    +

    This is but a wrapper around Url, with a few custom tweaks:

    • A relay URL is never a relative URL, so an implicit . is added at the end of the @@ -11,7 +11,7 @@ Useful when logging e.g. Option<RelayUrl>.

    To create a RelayUrl use the From<Url> implementation.

    -

    Methods from Deref<Target = Url>§

    source

    pub fn join(&self, input: &str) -> Result<Url, ParseError>

    Parse a string as an URL, with this URL as the base URL.

    +

    Methods from Deref<Target = Url>§

    source

    pub fn join(&self, input: &str) -> Result<Url, ParseError>

    Parse a string as an URL, with this URL as the base URL.

    The inverse of this is make_relative.

    §Notes
      @@ -47,7 +47,7 @@ as input replaces everything in the base URL after the scheme.
      §Errors

      If the function can not parse an URL from the given string with this URL as the base URL, a ParseError variant will be returned.

      -
    source

    pub fn make_relative(&self, url: &Url) -> Option<String>

    Creates a relative URL if possible, with this URL as the base URL.

    +
    source

    pub fn make_relative(&self, url: &Url) -> Option<String>

    Creates a relative URL if possible, with this URL as the base URL.

    This is the inverse of join.

    §Examples
    use url::Url;
    @@ -74,7 +74,7 @@ with this URL as the base URL, a ParseError
     
    §Errors

    If this URL can’t be a base for the given URL, None is returned. This is for example the case if the scheme, host or port are not the same.

    -
    source

    pub fn as_str(&self) -> &str

    Return the serialization of this URL.

    +
    source

    pub fn as_str(&self) -> &str

    Return the serialization of this URL.

    This is fast since that serialization is already stored in the Url struct.

    §Examples
    use url::Url;
    @@ -82,7 +82,7 @@ This is for example the case if the scheme, host or port are not the same.

    let url_str = "https://example.net/"; let url = Url::parse(url_str)?; assert_eq!(url.as_str(), url_str);
    -
    source

    pub fn origin(&self) -> Origin

    Return the origin of this URL (https://url.spec.whatwg.org/#origin)

    +
    source

    pub fn origin(&self) -> Origin

    Return the origin of this URL (https://url.spec.whatwg.org/#origin)

    Note: this returns an opaque origin for file: URLs, which causes url.origin() != url.origin().

    §Examples
    @@ -119,20 +119,20 @@ This is for example the case if the scheme, host or port are not the same.

    let url = Url::parse("foo:bar")?; assert!(!url.origin().is_tuple());
    -
    source

    pub fn scheme(&self) -> &str

    Return the scheme of this URL, lower-cased, as an ASCII string without the ‘:’ delimiter.

    +
    source

    pub fn scheme(&self) -> &str

    Return the scheme of this URL, lower-cased, as an ASCII string without the ‘:’ delimiter.

    §Examples
    use url::Url;
     
     let url = Url::parse("file:///tmp/foo")?;
     assert_eq!(url.scheme(), "file");
    -
    source

    pub fn is_special(&self) -> bool

    Return whether the URL is special (has a special scheme)

    +
    source

    pub fn is_special(&self) -> bool

    Return whether the URL is special (has a special scheme)

    §Examples
    use url::Url;
     
     assert!(Url::parse("http:///tmp/foo")?.is_special());
     assert!(Url::parse("file:///tmp/foo")?.is_special());
     assert!(!Url::parse("moz:///tmp/foo")?.is_special());
    -
    source

    pub fn has_authority(&self) -> bool

    Return whether the URL has an ‘authority’, +

    source

    pub fn has_authority(&self) -> bool

    Return whether the URL has an ‘authority’, which can contain a username, password, host, and port number.

    URLs that do not are either path-only like unix:/run/foo.socket or cannot-be-a-base like data:text/plain,Stuff.

    @@ -148,7 +148,7 @@ or cannot-be-a-base like data:text/plain,Stuff.

    let url = Url::parse("data:text/plain,Stuff")?; assert!(!url.has_authority());
    -
    source

    pub fn authority(&self) -> &str

    Return the authority of this URL as an ASCII string.

    +
    source

    pub fn authority(&self) -> &str

    Return the authority of this URL as an ASCII string.

    Non-ASCII domains are punycode-encoded per IDNA if this is the host of a special URL, or percent encoded for non-special URLs. IPv6 addresses are given between [ and ] brackets. @@ -168,7 +168,7 @@ Ports are omitted if they match the well known port of a special URL.

    assert_eq!(url.authority(), "%C3%A0lex.%D1%80%D1%84.example.com:6667"); let url = Url::parse("http://àlex.рф.example.com:80/foo")?; assert_eq!(url.authority(), "xn--lex-8ka.xn--p1ai.example.com");
    -
    source

    pub fn cannot_be_a_base(&self) -> bool

    Return whether this URL is a cannot-be-a-base URL, +

    source

    pub fn cannot_be_a_base(&self) -> bool

    Return whether this URL is a cannot-be-a-base URL, meaning that parsing a relative URL string with this URL as the base will return an error.

    This is the case if the scheme and : delimiter are not followed by a / slash, as is typically the case of data: and mailto: URLs.

    @@ -183,7 +183,7 @@ as is typically the case of data: and mailto: URLs.

    let url = Url::parse("data:text/plain,Stuff")?; assert!(url.cannot_be_a_base());
    -
    source

    pub fn username(&self) -> &str

    Return the username for this URL (typically the empty string) +

    source

    pub fn username(&self) -> &str

    Return the username for this URL (typically the empty string) as a percent-encoded ASCII string.

    §Examples
    use url::Url;
    @@ -196,7 +196,7 @@ as a percent-encoded ASCII string.

    let url = Url::parse("https://example.com")?; assert_eq!(url.username(), "");
    -
    source

    pub fn password(&self) -> Option<&str>

    Return the password for this URL, if any, as a percent-encoded ASCII string.

    +
    source

    pub fn password(&self) -> Option<&str>

    Return the password for this URL, if any, as a percent-encoded ASCII string.

    §Examples
    use url::Url;
     
    @@ -211,7 +211,7 @@ as a percent-encoded ASCII string.

    let url = Url::parse("https://example.com")?; assert_eq!(url.password(), None);
    -
    source

    pub fn has_host(&self) -> bool

    Equivalent to url.host().is_some().

    +
    source

    pub fn has_host(&self) -> bool

    Equivalent to url.host().is_some().

    §Examples
    use url::Url;
     
    @@ -223,7 +223,7 @@ as a percent-encoded ASCII string.

    let url = Url::parse("data:text/plain,Stuff")?; assert!(!url.has_host());
    -
    source

    pub fn host_str(&self) -> Option<&str>

    Return the string representation of the host (domain or IP address) for this URL, if any.

    +
    source

    pub fn host_str(&self) -> Option<&str>

    Return the string representation of the host (domain or IP address) for this URL, if any.

    Non-ASCII domains are punycode-encoded per IDNA if this is the host of a special URL, or percent encoded for non-special URLs. IPv6 addresses are given between [ and ] brackets.

    @@ -244,7 +244,7 @@ don’t have a host.

    let url = Url::parse("data:text/plain,Stuff")?; assert_eq!(url.host_str(), None);
    -
    source

    pub fn host(&self) -> Option<Host<&str>>

    Return the parsed representation of the host for this URL. +

    source

    pub fn host(&self) -> Option<Host<&str>>

    Return the parsed representation of the host for this URL. Non-ASCII domain labels are punycode-encoded per IDNA if this is the host of a special URL, or percent encoded for non-special URLs.

    Cannot-be-a-base URLs (typical of data: and mailto:) and some file: URLs @@ -264,7 +264,7 @@ don’t have a host.

    let url = Url::parse("data:text/plain,Stuff")?; assert!(url.host().is_none());
    -
    source

    pub fn domain(&self) -> Option<&str>

    If this URL has a host and it is a domain name (not an IP address), return it. +

    source

    pub fn domain(&self) -> Option<&str>

    If this URL has a host and it is a domain name (not an IP address), return it. Non-ASCII domains are punycode-encoded per IDNA if this is the host of a special URL, or percent encoded for non-special URLs.

    §Examples
    @@ -278,7 +278,7 @@ of a special URL, or percent encoded for non-special URLs.

    let url = Url::parse("https://example.com/")?; assert_eq!(url.domain(), Some("example.com"));
    -
    source

    pub fn port(&self) -> Option<u16>

    Return the port number for this URL, if any.

    +
    source

    pub fn port(&self) -> Option<u16>

    Return the port number for this URL, if any.

    Note that default port numbers are never reflected by the serialization, use the port_or_known_default() method if you want a default port number returned.

    §Examples
    @@ -292,7 +292,7 @@ use the port_or_known_default() method if you want a default port n let url = Url::parse("ssh://example.com:22")?; assert_eq!(url.port(), Some(22));
    -
    source

    pub fn port_or_known_default(&self) -> Option<u16>

    Return the port number for this URL, or the default port number if it is known.

    +
    source

    pub fn port_or_known_default(&self) -> Option<u16>

    Return the port number for this URL, or the default port number if it is known.

    This method only knows the default port number of the http, https, ws, wss and ftp schemes.

    For URLs in these schemes, this method always returns Some(_). @@ -308,7 +308,7 @@ For other schemes, it is the same as Url::port().

    let url = Url::parse("https://example.com")?; assert_eq!(url.port_or_known_default(), Some(443));
    -
    source

    pub fn socket_addrs( +

    source

    pub fn socket_addrs( &self, default_port_number: impl Fn() -> Option<u16> ) -> Result<Vec<SocketAddr>, Error>

    Resolve a URL’s host and port number to SocketAddr.

    @@ -329,7 +329,7 @@ std::net::TcpStream::connect(&*addrs) _ => None, }) }
    -
    source

    pub fn path(&self) -> &str

    Return the path for this URL, as a percent-encoded ASCII string. +

    source

    pub fn path(&self) -> &str

    Return the path for this URL, as a percent-encoded ASCII string. For cannot-be-a-base URLs, this is an arbitrary string that doesn’t start with ‘/’. For other URLs, this starts with a ‘/’ slash and continues with slash-separated path segments.

    @@ -344,7 +344,7 @@ and continues with slash-separated path segments.

    let url = Url::parse("https://example.com/countries/việt nam")?; assert_eq!(url.path(), "/countries/vi%E1%BB%87t%20nam");
    -
    source

    pub fn path_segments(&self) -> Option<Split<'_, char>>

    Unless this URL is cannot-be-a-base, +

    source

    pub fn path_segments(&self) -> Option<Split<'_, char>>

    Unless this URL is cannot-be-a-base, return an iterator of ‘/’ slash-separated path segments, each as a percent-encoded ASCII string.

    Return None for cannot-be-a-base URLs.

    @@ -372,7 +372,7 @@ each as a percent-encoded ASCII string.

    let mut path_segments = url.path_segments().ok_or_else(|| "cannot be base")?; assert_eq!(path_segments.next(), Some("countries")); assert_eq!(path_segments.next(), Some("vi%E1%BB%87t%20nam"));
    -
    source

    pub fn query(&self) -> Option<&str>

    Return this URL’s query string, if any, as a percent-encoded ASCII string.

    +
    source

    pub fn query(&self) -> Option<&str>

    Return this URL’s query string, if any, as a percent-encoded ASCII string.

    §Examples
    use url::Url;
     
    @@ -388,7 +388,7 @@ each as a percent-encoded ASCII string.

    let url = Url::parse("https://example.com/?country=español")?; let query = url.query(); assert_eq!(query, Some("country=espa%C3%B1ol"));
    -
    source

    pub fn query_pairs(&self) -> Parse<'_>

    Parse the URL’s query string, if any, as application/x-www-form-urlencoded +

    source

    pub fn query_pairs(&self) -> Parse<'_>

    Parse the URL’s query string, if any, as application/x-www-form-urlencoded and return an iterator of (key, value) pairs.

    §Examples
    use std::borrow::Cow;
    @@ -402,7 +402,7 @@ and return an iterator of (key, value) pairs.

    assert_eq!(pairs.next(), Some((Cow::Borrowed("page"), Cow::Borrowed("2")))); assert_eq!(pairs.next(), Some((Cow::Borrowed("sort"), Cow::Borrowed("desc"))));
    -
    source

    pub fn fragment(&self) -> Option<&str>

    Return this URL’s fragment identifier, if any.

    +
    source

    pub fn fragment(&self) -> Option<&str>

    Return this URL’s fragment identifier, if any.

    A fragment is the part of the URL after the # symbol. The fragment is optional and, if present, contains a fragment identifier that identifies a secondary resource, such as a section heading @@ -422,15 +422,15 @@ but the input may have been percent-encoded already.

    let url = Url::parse("https://example.com/data.csv#cell=4,1-6,2")?; assert_eq!(url.fragment(), Some("cell=4,1-6,2"));
    -
    source

    pub fn serialize_internal<S>( +

    source

    pub fn serialize_internal<S>( &self, serializer: S -) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where - S: Serializer,

    Serialize with Serde using the internal representation of the Url struct.

    +) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where + S: Serializer,

    Serialize with Serde using the internal representation of the Url struct.

    The corresponding deserialize_internal method sacrifices some invariant-checking for speed, compared to the Deserialize trait impl.

    This method is only available if the serde Cargo feature is enabled.

    -
    source

    pub fn to_file_path(&self) -> Result<PathBuf, ()>

    Assuming the URL is in the file scheme or similar, +

    source

    pub fn to_file_path(&self) -> Result<PathBuf, ()>

    Assuming the URL is in the file scheme or similar, convert its path to an absolute std::path::Path.

    Note: This does not actually check the URL’s scheme, and may give nonsensical results for other schemes. @@ -443,30 +443,30 @@ or if Path::new_opt() returns None. (That is, if the percent-decoded path contains a NUL byte or, for a Windows path, is not UTF-8.)

    This method is only available if the std Cargo feature is enabled.

    -

    Trait Implementations§

    §

    impl Clone for RelayUrl

    §

    fn clone(&self) -> RelayUrl

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for RelayUrl

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Deref for RelayUrl

    Dereferences to the wrapped Url.

    +

    Trait Implementations§

    source§

    impl Clone for RelayUrl

    source§

    fn clone(&self) -> RelayUrl

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RelayUrl

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Deref for RelayUrl

    Dereferences to the wrapped Url.

    Note that DerefMut is not implemented on purpose, so this type has more flexibility to change the inner later.

    -
    §

    type Target = Url

    The resulting type after dereferencing.
    §

    fn deref(&self) -> &<RelayUrl as Deref>::Target

    Dereferences the value.
    §

    impl<'de> Deserialize<'de> for RelayUrl

    §

    fn deserialize<__D>( +

    §

    type Target = Url

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &<RelayUrl as Deref>::Target

    Dereferences the value.
    source§

    impl<'de> Deserialize<'de> for RelayUrl

    source§

    fn deserialize<__D>( __deserializer: __D -) -> Result<RelayUrl, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Display for RelayUrl

    §

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl From<RelayUrl> for Url

    §

    fn from(value: RelayUrl) -> Url

    Converts to this type from the input type.
    §

    impl From<Url> for RelayUrl

    §

    fn from(url: Url) -> RelayUrl

    Converts to this type from the input type.
    §

    impl FromStr for RelayUrl

    Support for parsing strings directly.

    -

    If you need more control over the error first create a Url and use RelayUrl::from +) -> Result<RelayUrl, <__D as Deserializer<'de>>::Error>

    where + __D: Deserializer<'de>,
    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for RelayUrl

    source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl From<RelayUrl> for Url

    source§

    fn from(value: RelayUrl) -> Url

    Converts to this type from the input type.
    source§

    impl From<Url> for RelayUrl

    source§

    fn from(url: Url) -> RelayUrl

    Converts to this type from the input type.
    source§

    impl FromStr for RelayUrl

    Support for parsing strings directly.

    +

    If you need more control over the error first create a Url and use RelayUrl::from instead.

    -
    §

    type Err = Error

    The associated error which can be returned from parsing.
    §

    fn from_str(s: &str) -> Result<RelayUrl, <RelayUrl as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    §

    impl Hash for RelayUrl

    §

    fn hash<__H>(&self, state: &mut __H)
    where +
    §

    type Err = Error

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<RelayUrl, <RelayUrl as FromStr>::Err>

    Parses a string s to return a value of this type. Read more

    source§

    impl Hash for RelayUrl

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __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
    §

    impl Ord for RelayUrl

    §

    fn cmp(&self, other: &RelayUrl) -> 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 RelayUrl

    source§

    fn cmp(&self, other: &RelayUrl) -> 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 + PartialOrd,

    Restrict a value to a certain interval. Read more
    §

    impl PartialEq for RelayUrl

    §

    fn eq(&self, other: &RelayUrl) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized + PartialOrd,
    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for RelayUrl

    source§

    fn eq(&self, other: &RelayUrl) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    §

    impl PartialOrd for RelayUrl

    §

    fn partial_cmp(&self, other: &RelayUrl) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method 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

    This method tests less than or equal to (for self and other) and is used by the <= +sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for RelayUrl

    source§

    fn partial_cmp(&self, other: &RelayUrl) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method 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

    This method 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

    This method 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

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    §

    impl Serialize for RelayUrl

    §

    fn serialize<__S>( +operator. Read more

    source§

    impl Serialize for RelayUrl

    source§

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Eq for RelayUrl

    §

    impl StructuralPartialEq for RelayUrl

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Eq for RelayUrl

    source§

    impl StructuralPartialEq for RelayUrl

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -499,6 +499,6 @@ operator.
    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where +[WithDispatch] wrapper. Read more

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh/test_utils/fn.create_dns_resolver.html b/pr/2937/docs/iroh/test_utils/fn.create_dns_resolver.html index 962492b0d6..8d591ddffe 100644 --- a/pr/2937/docs/iroh/test_utils/fn.create_dns_resolver.html +++ b/pr/2937/docs/iroh/test_utils/fn.create_dns_resolver.html @@ -1,2 +1,2 @@ -create_dns_resolver in iroh::test_utils - Rust

    Function iroh::test_utils::create_dns_resolver

    source ·
    pub fn create_dns_resolver(nameserver: SocketAddr) -> Result<TokioAsyncResolver>
    Available on test or crate feature test-utils only.
    Expand description

    Create a DNS resolver with a single nameserver.

    +create_dns_resolver in iroh::test_utils - Rust

    Function iroh::test_utils::create_dns_resolver

    source ·
    pub fn create_dns_resolver(nameserver: SocketAddr) -> Result<TokioAsyncResolver>
    Available on test or crate feature test-utils only.
    Expand description

    Create a DNS resolver with a single nameserver.

    \ No newline at end of file diff --git a/pr/2937/docs/iroh/test_utils/fn.run_relay_server.html b/pr/2937/docs/iroh/test_utils/fn.run_relay_server.html index 7588afe3e1..4208818776 100644 --- a/pr/2937/docs/iroh/test_utils/fn.run_relay_server.html +++ b/pr/2937/docs/iroh/test_utils/fn.run_relay_server.html @@ -1,4 +1,4 @@ -run_relay_server in iroh::test_utils - Rust

    Function iroh::test_utils::run_relay_server

    source ·
    pub async fn run_relay_server() -> Result<(RelayMap, RelayUrl, Server)>
    Available on test or 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

    Function iroh::test_utils::run_relay_server

    source ·
    pub async fn run_relay_server() -> Result<(RelayMap, RelayUrl, Server)>
    Available on test or crate feature test-utils only.
    Expand description

    Runs a relay server with STUN and QUIC enabled suitable for tests.

    The returned Url is the url of the relay server in the returned RelayMap. -When dropped, the returned [Server] does will stop running.

    +When dropped, the returned Server does will stop running.

    \ No newline at end of file diff --git a/pr/2937/docs/iroh/test_utils/fn.run_relay_server_with.html b/pr/2937/docs/iroh/test_utils/fn.run_relay_server_with.html index 0a26af2191..a93ebb063f 100644 --- a/pr/2937/docs/iroh/test_utils/fn.run_relay_server_with.html +++ b/pr/2937/docs/iroh/test_utils/fn.run_relay_server_with.html @@ -1,9 +1,9 @@ run_relay_server_with in iroh::test_utils - Rust

    Function iroh::test_utils::run_relay_server_with

    source ·
    pub async fn run_relay_server_with(
    -    stun: Option<StunConfig>,
    +    stun: Option<StunConfig>,
         quic: bool
    -) -> Result<(RelayMap, RelayUrl, Server)>
    Available on test or crate feature test-utils only.
    Expand description

    Runs a relay server.

    +) -> Result<(RelayMap, RelayUrl, Server)>
    Available on test or crate feature test-utils only.
    Expand description

    Runs a relay server.

    stun can be set to None to disable stun, or set to Some StunConfig, to enable stun on a specific socket.

    -

    If quic is set to true, it will make the appropriate [QuicConfig] from the generated tls certificates and run the quic server at a random free port.

    +

    If quic is set to true, it will make the appropriate QuicConfig from the generated tls certificates and run the quic server at a random free port.

    The return value is similar to run_relay_server.

    \ No newline at end of file diff --git a/pr/2937/docs/iroh/test_utils/fn.run_relay_server_with_stun.html b/pr/2937/docs/iroh/test_utils/fn.run_relay_server_with_stun.html index 9242266b9c..b5cfc39152 100644 --- a/pr/2937/docs/iroh/test_utils/fn.run_relay_server_with_stun.html +++ b/pr/2937/docs/iroh/test_utils/fn.run_relay_server_with_stun.html @@ -1,5 +1,5 @@ run_relay_server_with_stun in iroh::test_utils - Rust

    Function iroh::test_utils::run_relay_server_with_stun

    source ·
    pub async fn run_relay_server_with_stun(
    -) -> Result<(RelayMap, RelayUrl, Server)>
    Available on test or crate feature test-utils only.
    Expand description

    Runs a relay server with STUN enabled suitable for tests.

    +) -> Result<(RelayMap, RelayUrl, Server)>
    Available on test or crate feature test-utils only.
    Expand description

    Runs a relay server with STUN enabled suitable for tests.

    The returned Url is the url of the relay server in the returned RelayMap. -When dropped, the returned [Server] does will stop running.

    +When dropped, the returned Server does will stop running.

    \ No newline at end of file diff --git a/pr/2937/docs/iroh/test_utils/struct.DnsPkarrServer.html b/pr/2937/docs/iroh/test_utils/struct.DnsPkarrServer.html index 2e8c9f315d..8cdcdaf3de 100644 --- a/pr/2937/docs/iroh/test_utils/struct.DnsPkarrServer.html +++ b/pr/2937/docs/iroh/test_utils/struct.DnsPkarrServer.html @@ -1,19 +1,19 @@ DnsPkarrServer in iroh::test_utils - Rust

    Struct iroh::test_utils::DnsPkarrServer

    source ·
    pub struct DnsPkarrServer {
         pub node_origin: String,
         pub nameserver: SocketAddr,
    -    pub pkarr_url: Url,
    +    pub pkarr_url: Url,
         /* private fields */
     }
    Available on test or crate feature test-utils only.
    Expand description

    Handle and drop guard for test DNS and Pkarr servers.

    Once the struct is dropped the servers will shut down.

    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.

    +
    §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>

    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 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 T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where diff --git a/pr/2937/docs/iroh/ticket/enum.Error.html b/pr/2937/docs/iroh/ticket/enum.Error.html index 7175b8478b..27d793c7b1 100644 --- a/pr/2937/docs/iroh/ticket/enum.Error.html +++ b/pr/2937/docs/iroh/ticket/enum.Error.html @@ -1,4 +1,4 @@ -Error in iroh::ticket - Rust

    Enum iroh::ticket::Error

    pub enum Error {
    +Error in iroh::ticket - Rust

    Enum iroh::ticket::Error

    source ·
    pub enum Error {
         Kind {
             expected: &'static str,
         },
    @@ -10,7 +10,7 @@
     

    Fields

    §expected: &'static str
    §

    Postcard(Error)

    This looks like a ticket, but postcard deserialization failed.

    §

    Encoding(DecodeError)

    This looks like a ticket, but base32 decoding failed.

    §

    Verify(&'static str)

    Verification of the deserialized bytes failed.

    -

    Trait Implementations§

    §

    impl Debug for Error

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for Error

    §

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for Error

    §

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    §

    impl From<DecodeError> for Error

    §

    fn from(source: DecodeError) -> Error

    Converts to this type from the input type.
    §

    impl From<Error> for Error

    §

    fn from(source: Error) -> Error

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl Freeze for Error

    §

    impl RefUnwindSafe for Error

    §

    impl Send for Error

    §

    impl Sync for Error

    §

    impl Unpin for Error

    §

    impl UnwindSafe for Error

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Debug for Error

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Display for Error

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Error for Error

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<DecodeError> for Error

    source§

    fn from(source: DecodeError) -> Error

    Converts to this type from the input type.
    source§

    impl From<Error> for Error

    source§

    fn from(source: Error) -> Error

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl Freeze for Error

    §

    impl RefUnwindSafe for Error

    §

    impl Send for Error

    §

    impl Sync for Error

    §

    impl Unpin for Error

    §

    impl UnwindSafe for Error

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( diff --git a/pr/2937/docs/iroh/ticket/index.html b/pr/2937/docs/iroh/ticket/index.html index 6742b89342..288da1d108 100644 --- a/pr/2937/docs/iroh/ticket/index.html +++ b/pr/2937/docs/iroh/ticket/index.html @@ -1 +1 @@ -iroh::ticket - Rust

    Module iroh::ticket

    Structs§

    • A token containing everything to get a file from the provider.
    • A token containing information for establishing a connection to a node.

    Enums§

    • An error deserializing an iroh ticket.

    Traits§

    • A ticket is a serializable object combining information required for an operation.
    \ No newline at end of file +iroh::ticket - Rust

    Module iroh::ticket

    source ·

    Structs§

    • A token containing everything to get a file from the provider.
    • A token containing information for establishing a connection to a node.

    Enums§

    • An error deserializing an iroh ticket.

    Traits§

    • A ticket is a serializable object combining information required for an operation.
    \ No newline at end of file diff --git a/pr/2937/docs/iroh/ticket/struct.BlobTicket.html b/pr/2937/docs/iroh/ticket/struct.BlobTicket.html index ebdfe65c72..5f2693b843 100644 --- a/pr/2937/docs/iroh/ticket/struct.BlobTicket.html +++ b/pr/2937/docs/iroh/ticket/struct.BlobTicket.html @@ -1,25 +1,25 @@ -BlobTicket in iroh::ticket - Rust

    Struct iroh::ticket::BlobTicket

    pub struct BlobTicket { /* private fields */ }
    Expand description

    A token containing everything to get a file from the provider.

    +BlobTicket in iroh::ticket - Rust

    Struct iroh::ticket::BlobTicket

    source ·
    pub struct BlobTicket { /* private fields */ }
    Expand description

    A token containing everything to get a file from the provider.

    It is a single item which can be easily serialized and deserialized.

    -

    Implementations§

    §

    impl BlobTicket

    pub fn new( +

    Implementations§

    source§

    impl BlobTicket

    source

    pub fn new( node: NodeAddr, hash: Hash, format: BlobFormat -) -> Result<BlobTicket, Error>

    Creates a new ticket.

    -

    pub fn hash(&self) -> Hash

    The hash of the item this ticket can retrieve.

    -

    pub fn node_addr(&self) -> &NodeAddr

    The NodeAddr of the provider for this ticket.

    -

    pub fn format(&self) -> BlobFormat

    The BlobFormat for this ticket.

    -

    pub fn recursive(&self) -> bool

    True if the ticket is for a collection and should retrieve all blobs in it.

    -

    pub fn into_parts(self) -> (NodeAddr, Hash, BlobFormat)

    Get the contents of the ticket, consuming it.

    -

    Trait Implementations§

    §

    impl Clone for BlobTicket

    §

    fn clone(&self) -> BlobTicket

    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 BlobTicket

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for BlobTicket

    §

    fn deserialize<D>( +) -> Result<BlobTicket, Error>

    Creates a new ticket.

    +
    source

    pub fn hash(&self) -> Hash

    The hash of the item this ticket can retrieve.

    +
    source

    pub fn node_addr(&self) -> &NodeAddr

    The NodeAddr of the provider for this ticket.

    +
    source

    pub fn format(&self) -> BlobFormat

    The BlobFormat for this ticket.

    +
    source

    pub fn recursive(&self) -> bool

    True if the ticket is for a collection and should retrieve all blobs in it.

    +
    source

    pub fn into_parts(self) -> (NodeAddr, Hash, BlobFormat)

    Get the contents of the ticket, consuming it.

    +

    Trait Implementations§

    source§

    impl Clone for BlobTicket

    source§

    fn clone(&self) -> BlobTicket

    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 BlobTicket

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for BlobTicket

    source§

    fn deserialize<D>( deserializer: D -) -> Result<BlobTicket, <D as Deserializer<'de>>::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Display for BlobTicket

    §

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl FromStr for BlobTicket

    §

    type Err = Error

    The associated error which can be returned from parsing.
    §

    fn from_str(s: &str) -> Result<BlobTicket, <BlobTicket as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    §

    impl PartialEq for BlobTicket

    §

    fn eq(&self, other: &BlobTicket) -> bool

    This method tests for self and other values to be equal, and is used +) -> Result<BlobTicket, <D as Deserializer<'de>>::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for BlobTicket

    source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for BlobTicket

    §

    type Err = Error

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<BlobTicket, <BlobTicket as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl PartialEq for BlobTicket

    source§

    fn eq(&self, other: &BlobTicket) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for BlobTicket

    §

    fn serialize<S>( +sufficient, and should not be overridden without very good reason.

    source§

    impl Serialize for BlobTicket

    source§

    fn serialize<S>( &self, serializer: S -) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where - S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Ticket for BlobTicket

    §

    const KIND: &'static str = "blob"

    String prefix describing the kind of iroh ticket. Read more
    §

    fn to_bytes(&self) -> Vec<u8> ⓘ

    Serialize to bytes used in the base32 string representation.
    §

    fn from_bytes(bytes: &[u8]) -> Result<BlobTicket, Error>

    Deserialize from the base32 string representation bytes.
    §

    fn serialize(&self) -> String

    Serialize to string.
    §

    fn deserialize(str: &str) -> Result<Self, Error>

    Deserialize from a string.
    §

    impl Eq for BlobTicket

    §

    impl StructuralPartialEq for BlobTicket

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where + S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Ticket for BlobTicket

    source§

    const KIND: &'static str = "blob"

    String prefix describing the kind of iroh ticket. Read more
    source§

    fn to_bytes(&self) -> Vec<u8> ⓘ

    Serialize to bytes used in the base32 string representation.
    source§

    fn from_bytes(bytes: &[u8]) -> Result<BlobTicket, Error>

    Deserialize from the base32 string representation bytes.
    source§

    fn serialize(&self) -> String

    Serialize to string.
    source§

    fn deserialize(str: &str) -> Result<Self, Error>

    Deserialize from a string.
    source§

    impl Eq for BlobTicket

    source§

    impl StructuralPartialEq for BlobTicket

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -50,6 +50,6 @@ sufficient, and should not be overridden without very good reason.

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where +[WithDispatch] wrapper. Read more

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh/ticket/struct.NodeTicket.html b/pr/2937/docs/iroh/ticket/struct.NodeTicket.html index 9bddf14b12..78f51b5581 100644 --- a/pr/2937/docs/iroh/ticket/struct.NodeTicket.html +++ b/pr/2937/docs/iroh/ticket/struct.NodeTicket.html @@ -1,4 +1,4 @@ -NodeTicket in iroh::ticket - Rust

    Struct iroh::ticket::NodeTicket

    pub struct NodeTicket { /* private fields */ }
    Expand description

    A token containing information for establishing a connection to a node.

    +NodeTicket in iroh::ticket - Rust

    Struct iroh::ticket::NodeTicket

    source ·
    pub struct NodeTicket { /* private fields */ }
    Expand description

    A token containing information for establishing a connection to a node.

    Contains

    • The NodeId of the node to connect to (a 32-byte ed25519 public key).
    • @@ -10,20 +10,20 @@ possible to do so.

      This NodeTicket is a single item which can be easily serialized and deserialized and implements the Ticket trait. The Display and FromStr traits can also be used to round-trip the ticket to string.

      -

    Implementations§

    §

    impl NodeTicket

    pub fn new(node: NodeAddr) -> NodeTicket

    Creates a new ticket.

    -

    pub fn node_addr(&self) -> &NodeAddr

    The NodeAddr of the provider for this ticket.

    -

    Trait Implementations§

    §

    impl Clone for NodeTicket

    §

    fn clone(&self) -> NodeTicket

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for NodeTicket

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for NodeTicket

    §

    fn deserialize<D>( +

    Implementations§

    source§

    impl NodeTicket

    source

    pub fn new(node: NodeAddr) -> NodeTicket

    Creates a new ticket.

    +
    source

    pub fn node_addr(&self) -> &NodeAddr

    The NodeAddr of the provider for this ticket.

    +

    Trait Implementations§

    source§

    impl Clone for NodeTicket

    source§

    fn clone(&self) -> NodeTicket

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NodeTicket

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for NodeTicket

    source§

    fn deserialize<D>( deserializer: D -) -> Result<NodeTicket, <D as Deserializer<'de>>::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Display for NodeTicket

    §

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl From<NodeAddr> for NodeTicket

    §

    fn from(addr: NodeAddr) -> NodeTicket

    Creates a ticket from given addressing info.

    -
    §

    impl From<NodeTicket> for NodeAddr

    §

    fn from(ticket: NodeTicket) -> NodeAddr

    Returns the addressing info from given ticket.

    -
    §

    impl FromStr for NodeTicket

    §

    type Err = Error

    The associated error which can be returned from parsing.
    §

    fn from_str(s: &str) -> Result<NodeTicket, <NodeTicket as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    §

    impl PartialEq for NodeTicket

    §

    fn eq(&self, other: &NodeTicket) -> bool

    This method tests for self and other values to be equal, and is used +) -> Result<NodeTicket, <D as Deserializer<'de>>::Error>
    where + D: Deserializer<'de>,
    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for NodeTicket

    source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl From<NodeAddr> for NodeTicket

    source§

    fn from(addr: NodeAddr) -> NodeTicket

    Creates a ticket from given addressing info.

    +
    source§

    impl From<NodeTicket> for NodeAddr

    source§

    fn from(ticket: NodeTicket) -> NodeAddr

    Returns the addressing info from given ticket.

    +
    source§

    impl FromStr for NodeTicket

    §

    type Err = Error

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<NodeTicket, <NodeTicket as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl PartialEq for NodeTicket

    source§

    fn eq(&self, other: &NodeTicket) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for NodeTicket

    §

    fn serialize<S>( +sufficient, and should not be overridden without very good reason.

    source§

    impl Serialize for NodeTicket

    source§

    fn serialize<S>( &self, serializer: S -) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where - S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Ticket for NodeTicket

    §

    const KIND: &'static str = "node"

    String prefix describing the kind of iroh ticket. Read more
    §

    fn to_bytes(&self) -> Vec<u8> ⓘ

    Serialize to bytes used in the base32 string representation.
    §

    fn from_bytes(bytes: &[u8]) -> Result<NodeTicket, Error>

    Deserialize from the base32 string representation bytes.
    §

    fn serialize(&self) -> String

    Serialize to string.
    §

    fn deserialize(str: &str) -> Result<Self, Error>

    Deserialize from a string.
    §

    impl Eq for NodeTicket

    §

    impl StructuralPartialEq for NodeTicket

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where + S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Ticket for NodeTicket

    source§

    const KIND: &'static str = "node"

    String prefix describing the kind of iroh ticket. Read more
    source§

    fn to_bytes(&self) -> Vec<u8> ⓘ

    Serialize to bytes used in the base32 string representation.
    source§

    fn from_bytes(bytes: &[u8]) -> Result<NodeTicket, Error>

    Deserialize from the base32 string representation bytes.
    source§

    fn serialize(&self) -> String

    Serialize to string.
    source§

    fn deserialize(str: &str) -> Result<Self, Error>

    Deserialize from a string.
    source§

    impl Eq for NodeTicket

    source§

    impl StructuralPartialEq for NodeTicket

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    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( @@ -54,6 +54,6 @@ sufficient, and should not be overridden without very good reason.

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where +[WithDispatch] wrapper. Read more

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh/ticket/trait.Ticket.html b/pr/2937/docs/iroh/ticket/trait.Ticket.html index 29a6b228c7..5e8769cc9e 100644 --- a/pr/2937/docs/iroh/ticket/trait.Ticket.html +++ b/pr/2937/docs/iroh/ticket/trait.Ticket.html @@ -1,4 +1,4 @@ -Ticket in iroh::ticket - Rust

    Trait iroh::ticket::Ticket

    pub trait Ticket: Sized {
    +Ticket in iroh::ticket - Rust

    Trait iroh::ticket::Ticket

    source ·
    pub trait Ticket: Sized {
         const KIND: &'static str;
     
         // Required methods
    @@ -18,10 +18,10 @@ ticket will be prepended to the string to make it somewhat self describing.

    versioning, others might not.

    The serialization format for converting the ticket from and to bytes is left to the implementer. We recommend using postcard for serialization.

    -

    Required Associated Constants§

    const KIND: &'static str

    String prefix describing the kind of iroh ticket.

    +

    Required Associated Constants§

    source

    const KIND: &'static str

    String prefix describing the kind of iroh ticket.

    This should be lower case ascii characters.

    -

    Required Methods§

    fn to_bytes(&self) -> Vec<u8> ⓘ

    Serialize to bytes used in the base32 string representation.

    -

    fn from_bytes(bytes: &[u8]) -> Result<Self, Error>

    Deserialize from the base32 string representation bytes.

    -

    Provided Methods§

    fn serialize(&self) -> String

    Serialize to string.

    -

    fn deserialize(str: &str) -> Result<Self, Error>

    Deserialize from a string.

    -

    Object Safety§

    This trait is not object safe.

    Implementors§

    §

    impl Ticket for BlobTicket

    §

    const KIND: &'static str = "blob"

    §

    impl Ticket for NodeTicket

    §

    const KIND: &'static str = "node"

    \ No newline at end of file +

    Required Methods§

    source

    fn to_bytes(&self) -> Vec<u8> ⓘ

    Serialize to bytes used in the base32 string representation.

    +
    source

    fn from_bytes(bytes: &[u8]) -> Result<Self, Error>

    Deserialize from the base32 string representation bytes.

    +

    Provided Methods§

    source

    fn serialize(&self) -> String

    Serialize to string.

    +
    source

    fn deserialize(str: &str) -> Result<Self, Error>

    Deserialize from a string.

    +

    Object Safety§

    This trait is not object safe.

    Implementors§

    source§

    impl Ticket for BlobTicket

    source§

    const KIND: &'static str = "blob"

    source§

    impl Ticket for NodeTicket

    source§

    const KIND: &'static str = "node"

    \ No newline at end of file diff --git a/pr/2937/docs/iroh/tls/certificate/struct.GenError.html b/pr/2937/docs/iroh/tls/certificate/struct.GenError.html index b8b5edc222..9133967166 100644 --- a/pr/2937/docs/iroh/tls/certificate/struct.GenError.html +++ b/pr/2937/docs/iroh/tls/certificate/struct.GenError.html @@ -1,5 +1,5 @@ GenError in iroh::tls::certificate - Rust

    Struct iroh::tls::certificate::GenError

    source ·
    pub struct GenError(/* private fields */);
    Expand description

    An error that occurs during certificate generation.

    -

    Trait Implementations§

    source§

    impl Debug for GenError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for GenError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for GenError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<Error> for GenError

    source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<GenError> for CreateConfigError

    source§

    fn from(source: GenError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Debug for GenError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for GenError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for GenError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<Error> for GenError

    source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<GenError> for CreateConfigError

    source§

    fn from(source: GenError) -> 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( diff --git a/pr/2937/docs/iroh/tls/certificate/struct.ParseError.html b/pr/2937/docs/iroh/tls/certificate/struct.ParseError.html index df35b65645..936c179567 100644 --- a/pr/2937/docs/iroh/tls/certificate/struct.ParseError.html +++ b/pr/2937/docs/iroh/tls/certificate/struct.ParseError.html @@ -1,5 +1,5 @@ ParseError in iroh::tls::certificate - Rust

    Struct iroh::tls::certificate::ParseError

    source ·
    pub struct ParseError(/* private fields */);
    Expand description

    An error that occurs during certificate parsing.

    -

    Trait Implementations§

    source§

    impl Debug for ParseError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for ParseError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for ParseError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<Error> for ParseError

    source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<ParseError> for Error

    source§

    fn from(certificate::ParseError: ParseError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Debug for ParseError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for ParseError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for ParseError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<Error> for ParseError

    source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<ParseError> for Error

    source§

    fn from(certificate::ParseError: ParseError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( diff --git a/pr/2937/docs/iroh/tls/certificate/struct.VerificationError.html b/pr/2937/docs/iroh/tls/certificate/struct.VerificationError.html index 141de6a347..194ab85689 100644 --- a/pr/2937/docs/iroh/tls/certificate/struct.VerificationError.html +++ b/pr/2937/docs/iroh/tls/certificate/struct.VerificationError.html @@ -1,5 +1,5 @@ VerificationError in iroh::tls::certificate - Rust

    Struct iroh::tls::certificate::VerificationError

    source ·
    pub struct VerificationError(/* private fields */);
    Expand description

    An error that occurs during signature verification.

    -

    Trait Implementations§

    source§

    impl Debug for VerificationError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for VerificationError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for VerificationError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<Error> for VerificationError

    source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<VerificationError> for Error

    source§

    fn from(certificate::VerificationError: VerificationError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Debug for VerificationError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for VerificationError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for VerificationError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<Error> for VerificationError

    source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<VerificationError> for Error

    source§

    fn from(certificate::VerificationError: VerificationError) -> 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( diff --git a/pr/2937/docs/iroh/tls/enum.CreateConfigError.html b/pr/2937/docs/iroh/tls/enum.CreateConfigError.html index 1ce28aebd4..f13a34b500 100644 --- a/pr/2937/docs/iroh/tls/enum.CreateConfigError.html +++ b/pr/2937/docs/iroh/tls/enum.CreateConfigError.html @@ -6,7 +6,7 @@

    Variants§

    §

    CertError(GenError)

    Error generating the certificate.

    §

    ConfigError(NoInitialCipherSuite)

    Error creating QUIC config.

    §

    Rustls(Error)

    Rustls configuration error

    -

    Trait Implementations§

    source§

    impl Debug for CreateConfigError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CreateConfigError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for CreateConfigError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<Error> for CreateConfigError

    source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<GenError> for CreateConfigError

    source§

    fn from(source: GenError) -> Self

    Converts to this type from the input type.
    source§

    impl From<NoInitialCipherSuite> for CreateConfigError

    source§

    fn from(source: NoInitialCipherSuite) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Debug for CreateConfigError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CreateConfigError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for CreateConfigError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<Error> for CreateConfigError

    source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<GenError> for CreateConfigError

    source§

    fn from(source: GenError) -> Self

    Converts to this type from the input type.
    source§

    impl From<NoInitialCipherSuite> for CreateConfigError

    source§

    fn from(source: NoInitialCipherSuite) -> 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( diff --git a/pr/2937/docs/iroh/type.NodeId.html b/pr/2937/docs/iroh/type.NodeId.html index ba025a9e83..21538768e4 100644 --- a/pr/2937/docs/iroh/type.NodeId.html +++ b/pr/2937/docs/iroh/type.NodeId.html @@ -1,4 +1,4 @@ -NodeId in iroh - Rust

    Type Alias iroh::NodeId

    pub type NodeId = PublicKey;
    Expand description

    The identifier for a node in the (iroh) network.

    +NodeId in iroh - Rust

    Type Alias iroh::NodeId

    source ·
    pub type NodeId = PublicKey;
    Expand description

    The identifier for a node in the (iroh) network.

    Each node in iroh has a unique identifier created as a cryptographic key. This can be used to globally identify a node. Since it is also a cryptographic key it is also the mechanism by which all traffic is always encrypted for a specific node only.

    diff --git a/pr/2937/docs/iroh_base/base32/enum.HexOrBase32ParseError.html b/pr/2937/docs/iroh_base/base32/enum.HexOrBase32ParseError.html index eb50e2695b..7fb51c572e 100644 --- a/pr/2937/docs/iroh_base/base32/enum.HexOrBase32ParseError.html +++ b/pr/2937/docs/iroh_base/base32/enum.HexOrBase32ParseError.html @@ -4,7 +4,7 @@ }
    Available on crate feature base32 only.
    Expand description

    Error when parsing a hex or base32 string.

    Variants§

    §

    Base32(DecodeError)

    Error when decoding the base32.

    §

    Hex(FromHexError)

    Error when decoding the public key.

    -

    Trait Implementations§

    source§

    impl Debug for HexOrBase32ParseError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for HexOrBase32ParseError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for HexOrBase32ParseError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<DecodeError> for HexOrBase32ParseError

    source§

    fn from(source: DecodeError) -> Self

    Converts to this type from the input type.
    source§

    impl From<FromHexError> for HexOrBase32ParseError

    source§

    fn from(source: FromHexError) -> Self

    Converts to this type from the input type.
    source§

    impl From<HexOrBase32ParseError> for KeyParsingError

    Available on crate feature key only.
    source§

    fn from(source: HexOrBase32ParseError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Debug for HexOrBase32ParseError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for HexOrBase32ParseError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for HexOrBase32ParseError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<DecodeError> for HexOrBase32ParseError

    source§

    fn from(source: DecodeError) -> Self

    Converts to this type from the input type.
    source§

    impl From<FromHexError> for HexOrBase32ParseError

    source§

    fn from(source: FromHexError) -> Self

    Converts to this type from the input type.
    source§

    impl From<HexOrBase32ParseError> for KeyParsingError

    Available on crate feature key only.
    source§

    fn from(source: HexOrBase32ParseError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where 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.

    diff --git a/pr/2937/docs/iroh_base/base32/struct.DecodeError.html b/pr/2937/docs/iroh_base/base32/struct.DecodeError.html index 2388c0f479..cb1c3a4d9b 100644 --- a/pr/2937/docs/iroh_base/base32/struct.DecodeError.html +++ b/pr/2937/docs/iroh_base/base32/struct.DecodeError.html @@ -5,7 +5,7 @@

    Fields§

    §position: usize

    Error position

    This position is always a valid input position and represents the first encountered error.

    §kind: DecodeKind

    Error kind

    -

    Trait Implementations§

    §

    impl Clone for DecodeError

    §

    fn clone(&self) -> DecodeError

    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 DecodeError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for DecodeError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for DecodeError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<DecodeError> for Error

    source§

    fn from(source: DecodeError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DecodeError> for HexOrBase32ParseError

    source§

    fn from(source: DecodeError) -> Self

    Converts to this type from the input type.
    §

    impl PartialEq for DecodeError

    §

    fn eq(&self, other: &DecodeError) -> bool

    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    §

    impl Clone for DecodeError

    §

    fn clone(&self) -> DecodeError

    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 DecodeError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for DecodeError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for DecodeError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<DecodeError> for Error

    source§

    fn from(source: DecodeError) -> Self

    Converts to this type from the input type.
    source§

    impl From<DecodeError> for HexOrBase32ParseError

    source§

    fn from(source: DecodeError) -> Self

    Converts to this type from the input type.
    §

    impl PartialEq for DecodeError

    §

    fn eq(&self, other: &DecodeError) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    §

    impl Copy for DecodeError

    §

    impl Eq for DecodeError

    §

    impl StructuralPartialEq for DecodeError

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where diff --git a/pr/2937/docs/iroh_base/hash/enum.BlobFormat.html b/pr/2937/docs/iroh_base/hash/enum.BlobFormat.html index e579e40b2f..753de33520 100644 --- a/pr/2937/docs/iroh_base/hash/enum.BlobFormat.html +++ b/pr/2937/docs/iroh_base/hash/enum.BlobFormat.html @@ -6,8 +6,8 @@
    §

    HashSeq

    A sequence of BLAKE3 hashes

    Implementations§

    source§

    impl BlobFormat

    source

    pub const fn is_raw(&self) -> bool

    Is raw format

    source

    pub const fn is_hash_seq(&self) -> bool

    Is hash seq format

    -

    Trait Implementations§

    source§

    impl Clone for BlobFormat

    source§

    fn clone(&self) -> BlobFormat

    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 BlobFormat

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for BlobFormat

    source§

    fn default() -> BlobFormat

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for BlobFormat

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for BlobFormat

    source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<BlobFormat> for u64

    source§

    fn from(value: BlobFormat) -> Self

    Converts to this type from the input type.
    source§

    impl Hash for BlobFormat

    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 BlobFormat

    source§

    fn clone(&self) -> BlobFormat

    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 BlobFormat

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for BlobFormat

    source§

    fn default() -> BlobFormat

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for BlobFormat

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for BlobFormat

    source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<BlobFormat> for u64

    source§

    fn from(value: BlobFormat) -> Self

    Converts to this type from the input type.
    source§

    impl Hash for BlobFormat

    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 MaxSize for BlobFormat

    source§

    const POSTCARD_MAX_SIZE: usize = 1usize

    The maximum possible size that the serialization of this type can have, in bytes.
    source§

    impl Ord for BlobFormat

    source§

    fn cmp(&self, other: &BlobFormat) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where @@ -17,8 +17,8 @@ type can have, in bytes.

    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for BlobFormat

    source§

    fn partial_cmp(&self, other: &BlobFormat) -> 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

    This method 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

    This method 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

    This method 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

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Serialize for BlobFormat

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for BlobFormat

    source§

    impl Eq for BlobFormat

    source§

    impl StructuralPartialEq for BlobFormat

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +operator. Read more

    source§

    impl Serialize for BlobFormat

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for BlobFormat

    source§

    impl Eq for BlobFormat

    source§

    impl StructuralPartialEq for BlobFormat

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -31,6 +31,6 @@ operator. 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>,

    §

    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>,

    §

    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

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_base/hash/struct.Hash.html b/pr/2937/docs/iroh_base/hash/struct.Hash.html index 741b601091..9567bac5ae 100644 --- a/pr/2937/docs/iroh_base/hash/struct.Hash.html +++ b/pr/2937/docs/iroh_base/hash/struct.Hash.html @@ -6,8 +6,8 @@

    source

    pub fn to_hex(&self) -> String

    Convert the hash to a hex string.

    source

    pub fn fmt_short(&self) -> String

    Convert to a base32 string limited to the first 10 bytes for a friendly string representation of the hash.

    -

    Trait Implementations§

    source§

    impl AsRef<[u8]> for Hash

    source§

    fn as_ref(&self) -> &[u8] ⓘ

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Borrow<[u8]> for Hash

    source§

    fn borrow(&self) -> &[u8] ⓘ

    Immutably borrows from an owned value. Read more
    source§

    impl Borrow<[u8; 32]> for Hash

    source§

    fn borrow(&self) -> &[u8; 32]

    Immutably borrows from an owned value. Read more
    source§

    impl Clone for Hash

    source§

    fn clone(&self) -> Hash

    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 Hash

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Hash

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for Hash

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<&[u8; 32]> for Hash

    source§

    fn from(value: &[u8; 32]) -> Self

    Converts to this type from the input type.
    source§

    impl From<[u8; 32]> for Hash

    source§

    fn from(value: [u8; 32]) -> Self

    Converts to this type from the input type.
    source§

    impl From<Hash> for [u8; 32]

    source§

    fn from(value: Hash) -> Self

    Converts to this type from the input type.
    source§

    impl From<Hash> for Hash

    source§

    fn from(value: Hash) -> Self

    Converts to this type from the input type.
    source§

    impl From<Hash> for Hash

    source§

    fn from(value: Hash) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for Hash

    §

    type Err = HexOrBase32ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for Hash

    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 AsRef<[u8]> for Hash

    source§

    fn as_ref(&self) -> &[u8] ⓘ

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Borrow<[u8]> for Hash

    source§

    fn borrow(&self) -> &[u8] ⓘ

    Immutably borrows from an owned value. Read more
    source§

    impl Borrow<[u8; 32]> for Hash

    source§

    fn borrow(&self) -> &[u8; 32]

    Immutably borrows from an owned value. Read more
    source§

    impl Clone for Hash

    source§

    fn clone(&self) -> Hash

    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 Hash

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Hash

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for Hash

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<&[u8; 32]> for Hash

    source§

    fn from(value: &[u8; 32]) -> Self

    Converts to this type from the input type.
    source§

    impl From<[u8; 32]> for Hash

    source§

    fn from(value: [u8; 32]) -> Self

    Converts to this type from the input type.
    source§

    impl From<Hash> for [u8; 32]

    source§

    fn from(value: Hash) -> Self

    Converts to this type from the input type.
    source§

    impl From<Hash> for Hash

    source§

    fn from(value: Hash) -> Self

    Converts to this type from the input type.
    source§

    impl From<Hash> for Hash

    source§

    fn from(value: Hash) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for Hash

    §

    type Err = HexOrBase32ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for Hash

    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 Key for Hash

    source§

    fn compare(data1: &[u8], data2: &[u8]) -> Ordering

    Compare data1 with data2
    source§

    impl MaxSize for Hash

    source§

    const POSTCARD_MAX_SIZE: usize = 32usize

    The maximum possible size that the serialization of this type can have, in bytes.
    source§

    impl Ord for Hash

    source§

    fn cmp(&self, other: &Self) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where @@ -17,8 +17,8 @@ type can have, in bytes.

    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Hash

    source§

    fn partial_cmp(&self, other: &Self) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method 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

    This method 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

    This method 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

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Serialize for Hash

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where - S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Value for Hash

    §

    type SelfType<'a> = Hash

    SelfType<’a> must be the same type as Self with all lifetimes replaced with ’a
    §

    type AsBytes<'a> = &'a [u8; 32]

    source§

    fn fixed_width() -> Option<usize>

    Width of a fixed type, or None for variable width
    source§

    fn from_bytes<'a>(data: &'a [u8]) -> Self::SelfType<'a>
    where +operator. Read more

    source§

    impl Serialize for Hash

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where + S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Value for Hash

    §

    type SelfType<'a> = Hash

    SelfType<’a> must be the same type as Self with all lifetimes replaced with ’a
    §

    type AsBytes<'a> = &'a [u8; 32]

    source§

    fn fixed_width() -> Option<usize>

    Width of a fixed type, or None for variable width
    source§

    fn from_bytes<'a>(data: &'a [u8]) -> Self::SelfType<'a>
    where Self: 'a,

    Deserializes data Implementations may return a view over data, or an owned type
    source§

    fn as_bytes<'a, 'b: 'a>(value: &'a Self::SelfType<'b>) -> Self::AsBytes<'a>
    where Self: 'a + 'b,

    Serialize the value to a slice
    source§

    fn type_name() -> TypeName

    Globally unique identifier for this type
    source§

    impl Copy for Hash

    source§

    impl Eq for Hash

    source§

    impl StructuralPartialEq for Hash

    Auto Trait Implementations§

    §

    impl Freeze for Hash

    §

    impl RefUnwindSafe for Hash

    §

    impl Send for Hash

    §

    impl Sync for Hash

    §

    impl Unpin for Hash

    §

    impl UnwindSafe for Hash

    Blanket Implementations§

    source§

    impl<T> Any for T
    where @@ -39,6 +39,6 @@ letters are used (e.g. F9B4CA)

    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>,

    §

    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>,

    §

    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

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_base/hash/struct.HashAndFormat.html b/pr/2937/docs/iroh_base/hash/struct.HashAndFormat.html index 1aa3cc9ac4..7fe63a5aea 100644 --- a/pr/2937/docs/iroh_base/hash/struct.HashAndFormat.html +++ b/pr/2937/docs/iroh_base/hash/struct.HashAndFormat.html @@ -7,8 +7,8 @@

    Implementations§

    source§

    impl HashAndFormat

    source

    pub fn new(hash: Hash, format: BlobFormat) -> Self

    Create a new hash and format pair.

    source

    pub fn raw(hash: Hash) -> Self

    Create a new hash and format pair, using the default (raw) format.

    source

    pub fn hash_seq(hash: Hash) -> Self

    Create a new hash and format pair, using the collection format.

    -

    Trait Implementations§

    source§

    impl Clone for HashAndFormat

    source§

    fn clone(&self) -> HashAndFormat

    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 HashAndFormat

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for HashAndFormat

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for HashAndFormat

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for HashAndFormat

    §

    type Err = Error

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for HashAndFormat

    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 HashAndFormat

    source§

    fn clone(&self) -> HashAndFormat

    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 HashAndFormat

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for HashAndFormat

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for HashAndFormat

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for HashAndFormat

    §

    type Err = Error

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for HashAndFormat

    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 MaxSize for HashAndFormat

    source§

    const POSTCARD_MAX_SIZE: usize = 33usize

    The maximum possible size that the serialization of this type can have, in bytes.
    source§

    impl Ord for HashAndFormat

    source§

    fn cmp(&self, other: &HashAndFormat) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where @@ -18,8 +18,8 @@ type can have, in bytes.

    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for HashAndFormat

    source§

    fn partial_cmp(&self, other: &HashAndFormat) -> 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

    This method 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

    This method 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

    This method 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

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Serialize for HashAndFormat

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where - S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Value for HashAndFormat

    §

    type SelfType<'a> = HashAndFormat

    SelfType<’a> must be the same type as Self with all lifetimes replaced with ’a
    §

    type AsBytes<'a> = [u8; 33]

    source§

    fn fixed_width() -> Option<usize>

    Width of a fixed type, or None for variable width
    source§

    fn from_bytes<'a>(data: &'a [u8]) -> Self::SelfType<'a>
    where +operator. Read more

    source§

    impl Serialize for HashAndFormat

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where + S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Value for HashAndFormat

    §

    type SelfType<'a> = HashAndFormat

    SelfType<’a> must be the same type as Self with all lifetimes replaced with ’a
    §

    type AsBytes<'a> = [u8; 33]

    source§

    fn fixed_width() -> Option<usize>

    Width of a fixed type, or None for variable width
    source§

    fn from_bytes<'a>(data: &'a [u8]) -> Self::SelfType<'a>
    where Self: 'a,

    Deserializes data Implementations may return a view over data, or an owned type
    source§

    fn as_bytes<'a, 'b: 'a>(value: &'a Self::SelfType<'b>) -> Self::AsBytes<'a>
    where Self: 'a + 'b,

    Serialize the value to a slice
    source§

    fn type_name() -> TypeName

    Globally unique identifier for this type
    source§

    impl Copy for HashAndFormat

    source§

    impl Eq for HashAndFormat

    source§

    impl StructuralPartialEq for HashAndFormat

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where @@ -35,6 +35,6 @@ Implementations may return a view over data, or an owned type

    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>,

    §

    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>,

    §

    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

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_base/key/enum.KeyParsingError.html b/pr/2937/docs/iroh_base/key/enum.KeyParsingError.html index fb411da16d..a131d40175 100644 --- a/pr/2937/docs/iroh_base/key/enum.KeyParsingError.html +++ b/pr/2937/docs/iroh_base/key/enum.KeyParsingError.html @@ -4,7 +4,7 @@ }
    Available on crate feature key only.
    Expand description

    Error when deserialising a PublicKey or a SecretKey.

    Variants§

    §

    Base32(HexOrBase32ParseError)

    Error when decoding the base32.

    §

    Key(SignatureError)

    Error when decoding the public key.

    -

    Trait Implementations§

    source§

    impl Debug for KeyParsingError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for KeyParsingError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for KeyParsingError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<Error> for KeyParsingError

    source§

    fn from(source: SignatureError) -> Self

    Converts to this type from the input type.
    source§

    impl From<HexOrBase32ParseError> for KeyParsingError

    source§

    fn from(source: HexOrBase32ParseError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Debug for KeyParsingError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for KeyParsingError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for KeyParsingError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<Error> for KeyParsingError

    source§

    fn from(source: SignatureError) -> Self

    Converts to this type from the input type.
    source§

    impl From<HexOrBase32ParseError> for KeyParsingError

    source§

    fn from(source: HexOrBase32ParseError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where 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.

    diff --git a/pr/2937/docs/iroh_base/key/struct.PublicKey.html b/pr/2937/docs/iroh_base/key/struct.PublicKey.html index 3556de6dfa..cb8ec1c536 100644 --- a/pr/2937/docs/iroh_base/key/struct.PublicKey.html +++ b/pr/2937/docs/iroh_base/key/struct.PublicKey.html @@ -21,8 +21,8 @@ See [VerifyingKey::from_bytes] for details.

    Returns Ok(()) if the signature is valid, and Err otherwise.

    source

    pub fn fmt_short(&self) -> String

    Convert to a base32 string limited to the first 10 bytes for a friendly string representation of the key.

    -

    Trait Implementations§

    source§

    impl AsRef<[u8]> for PublicKey

    source§

    fn as_ref(&self) -> &[u8] ⓘ

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for PublicKey

    source§

    fn clone(&self) -> PublicKey

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PublicKey

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for PublicKey

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for PublicKey

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<PublicKey> for NodeAddr

    source§

    fn from(node_id: NodeId) -> Self

    Converts to this type from the input type.
    source§

    impl From<VerifyingKey> for PublicKey

    source§

    fn from(verifying_key: VerifyingKey) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for PublicKey

    Deserialises the PublicKey from it’s base32 encoding.

    +

    Trait Implementations§

    source§

    impl AsRef<[u8]> for PublicKey

    source§

    fn as_ref(&self) -> &[u8] ⓘ

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for PublicKey

    source§

    fn clone(&self) -> PublicKey

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PublicKey

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for PublicKey

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for PublicKey

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<PublicKey> for NodeAddr

    source§

    fn from(node_id: NodeId) -> Self

    Converts to this type from the input type.
    source§

    impl From<VerifyingKey> for PublicKey

    source§

    fn from(verifying_key: VerifyingKey) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for PublicKey

    Deserialises the PublicKey from it’s base32 encoding.

    Display is capable of serialising this format.

    §

    type Err = KeyParsingError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for PublicKey

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, @@ -33,8 +33,8 @@ representation of the key.

    by ==.

    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for PublicKey

    source§

    fn partial_cmp(&self, other: &PublicKey) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method 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

    This method 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

    This method 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

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Serialize for PublicKey

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where - S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<&[u8]> for PublicKey

    §

    type Error = Error

    The type returned in the event of a conversion error.
    source§

    fn try_from(bytes: &[u8]) -> Result<Self, Self::Error>

    Performs the conversion.
    source§

    impl TryFrom<&[u8; 32]> for PublicKey

    §

    type Error = Error

    The type returned in the event of a conversion error.
    source§

    fn try_from(bytes: &[u8; 32]) -> Result<Self, Self::Error>

    Performs the conversion.
    source§

    impl Copy for PublicKey

    source§

    impl Eq for PublicKey

    source§

    impl StructuralPartialEq for PublicKey

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +operator. Read more

    source§

    impl Serialize for PublicKey

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where + S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<&[u8]> for PublicKey

    §

    type Error = Error

    The type returned in the event of a conversion error.
    source§

    fn try_from(bytes: &[u8]) -> Result<Self, Self::Error>

    Performs the conversion.
    source§

    impl TryFrom<&[u8; 32]> for PublicKey

    §

    type Error = Error

    The type returned in the event of a conversion error.
    source§

    fn try_from(bytes: &[u8; 32]) -> Result<Self, Self::Error>

    Performs the conversion.
    source§

    impl Copy for PublicKey

    source§

    impl Eq for PublicKey

    source§

    impl StructuralPartialEq for PublicKey

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -52,6 +52,6 @@ letters are used (e.g. F9B4CA)
    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>,

    §

    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>,

    §

    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

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_base/key/struct.SecretKey.html b/pr/2937/docs/iroh_base/key/struct.SecretKey.html index 8370450817..304e99a1b9 100644 --- a/pr/2937/docs/iroh_base/key/struct.SecretKey.html +++ b/pr/2937/docs/iroh_base/key/struct.SecretKey.html @@ -5,14 +5,14 @@
    source

    pub fn generate() -> Self

    Generate a new SecretKey with the default randomness generator.

    source

    pub fn generate_with_rng<R: CryptoRngCore + ?Sized>(csprng: &mut R) -> Self

    Generate a new SecretKey with a randomness generator.

    source

    pub fn to_openssh(&self) -> Result<Zeroizing<String>>

    Serialise this key to OpenSSH format.

    -
    source

    pub fn try_from_openssh<T: AsRef<[u8]>>(data: T) -> Result<Self>

    Deserialise this key from OpenSSH format.

    +
    source

    pub fn try_from_openssh<T: AsRef<[u8]>>(data: T) -> Result<Self>

    Deserialise this key from OpenSSH format.

    source

    pub fn sign(&self, msg: &[u8]) -> Signature

    Sign the given message and return a digital signature

    source

    pub fn to_bytes(&self) -> [u8; 32]

    Convert this to the bytes representing the secret part. The public part can always be recovered.

    source

    pub fn from_bytes(bytes: &[u8; 32]) -> Self

    Create a secret key from its byte representation.

    -

    Trait Implementations§

    source§

    impl Clone for SecretKey

    source§

    fn clone(&self) -> SecretKey

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SecretKey

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for SecretKey

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for SecretKey

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<[u8; 32]> for SecretKey

    source§

    fn from(value: [u8; 32]) -> Self

    Converts to this type from the input type.
    source§

    impl From<SigningKey> for SecretKey

    source§

    fn from(secret: SigningKey) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for SecretKey

    §

    type Err = KeyParsingError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Serialize for SecretKey

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where - S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<&[u8]> for SecretKey

    §

    type Error = Error

    The type returned in the event of a conversion error.
    source§

    fn try_from(bytes: &[u8]) -> Result<Self, Self::Error>

    Performs the conversion.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Clone for SecretKey

    source§

    fn clone(&self) -> SecretKey

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SecretKey

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for SecretKey

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for SecretKey

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<[u8; 32]> for SecretKey

    source§

    fn from(value: [u8; 32]) -> Self

    Converts to this type from the input type.
    source§

    impl From<SigningKey> for SecretKey

    source§

    fn from(secret: SigningKey) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for SecretKey

    §

    type Err = KeyParsingError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Serialize for SecretKey

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where + S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<&[u8]> for SecretKey

    §

    type Error = Error

    The type returned in the event of a conversion error.
    source§

    fn try_from(bytes: &[u8]) -> Result<Self, Self::Error>

    Performs the conversion.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -25,6 +25,6 @@ The public part can always be recovered.

    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>,

    §

    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>,

    §

    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

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_base/key/struct.SharedSecret.html b/pr/2937/docs/iroh_base/key/struct.SharedSecret.html index b303f1cd6b..33a01e2d9f 100644 --- a/pr/2937/docs/iroh_base/key/struct.SharedSecret.html +++ b/pr/2937/docs/iroh_base/key/struct.SharedSecret.html @@ -1,6 +1,6 @@ SharedSecret in iroh_base::key - Rust

    Struct iroh_base::key::SharedSecret

    source ·
    pub struct SharedSecret(/* private fields */);
    Available on crate feature key only.
    Expand description

    Shared Secret.

    Implementations§

    source§

    impl SharedSecret

    source

    pub fn seal(&self, buffer: &mut dyn Buffer)

    Seals the provided cleartext.

    -
    source

    pub fn open(&self, buffer: &mut dyn Buffer) -> Result<()>

    Opens the ciphertext, which must have been created using Self::seal, and places the clear text into the provided buffer.

    +
    source

    pub fn open(&self, buffer: &mut dyn Buffer) -> Result<()>

    Opens the ciphertext, which must have been created using Self::seal, and places the clear text into the provided buffer.

    Trait Implementations§

    source§

    impl Debug for SharedSecret

    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
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/pr/2937/docs/iroh_base/key/struct.Signature.html b/pr/2937/docs/iroh_base/key/struct.Signature.html index b1d30991e5..cb25e385be 100644 --- a/pr/2937/docs/iroh_base/key/struct.Signature.html +++ b/pr/2937/docs/iroh_base/key/struct.Signature.html @@ -17,19 +17,19 @@ elements at the time a signature is verified.

    pub fn s_bytes(&self) -> &[u8; 32]

    Bytes for the s component of a signature.

    pub fn to_bytes(&self) -> [u8; 64]

    Return the inner byte array.

    pub fn to_vec(&self) -> Vec<u8>

    Convert this signature into a byte vector.

    -

    Trait Implementations§

    §

    impl Clone for Signature

    §

    fn clone(&self) -> Signature

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Signature

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for Signature

    §

    fn deserialize<D>( +

    Trait Implementations§

    §

    impl Clone for Signature

    §

    fn clone(&self) -> Signature

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Signature

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for Signature

    §

    fn deserialize<D>( deserializer: D -) -> Result<Signature, <D as Deserializer<'de>>::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Display for Signature

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl From<&[u8; 64]> for Signature

    §

    fn from(bytes: &[u8; 64]) -> Signature

    Converts to this type from the input type.
    §

    impl From<[u8; 64]> for Signature

    §

    fn from(bytes: [u8; 64]) -> Signature

    Converts to this type from the input type.
    §

    impl From<InternalSignature> for Signature

    §

    fn from(sig: InternalSignature) -> Signature

    Converts to this type from the input type.
    §

    impl FromStr for Signature

    Decode a signature from hexadecimal.

    +) -> Result<Signature, <D as Deserializer<'de>>::Error>
    where + D: Deserializer<'de>,
    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Display for Signature

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl From<&[u8; 64]> for Signature

    §

    fn from(bytes: &[u8; 64]) -> Signature

    Converts to this type from the input type.
    §

    impl From<[u8; 64]> for Signature

    §

    fn from(bytes: [u8; 64]) -> Signature

    Converts to this type from the input type.
    §

    impl From<InternalSignature> for Signature

    §

    fn from(sig: InternalSignature) -> Signature

    Converts to this type from the input type.
    §

    impl FromStr for Signature

    Decode a signature from hexadecimal.

    Upper and lower case hexadecimal are both accepted, however mixed case is rejected.

    §

    type Err = Error

    The associated error which can be returned from parsing.
    §

    fn from_str(hex: &str) -> Result<Signature, Error>

    Parses a string s to return a value of this type. Read more
    §

    impl LowerHex for Signature

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl PartialEq for Signature

    §

    fn eq(&self, other: &Signature) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for Signature

    §

    fn serialize<S>( +sufficient, and should not be overridden without very good reason.

    §

    impl Serialize for Signature

    §

    fn serialize<S>( &self, serializer: S -) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where - S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl SignatureEncoding for Signature

    §

    type Repr = [u8; 64]

    Byte representation of a signature.
    §

    fn to_bytes(&self) -> [u8; 64]

    Encode signature as its byte representation.
    §

    fn to_vec(&self) -> Vec<u8>

    Encode signature as a byte vector.
    §

    fn encoded_len(&self) -> usize

    Get the length of this signature when encoded.
    §

    impl TryFrom<&[u8]> for Signature

    §

    type Error = Error

    The type returned in the event of a conversion error.
    §

    fn try_from(bytes: &[u8]) -> Result<Signature, Error>

    Performs the conversion.
    §

    impl TryFrom<&Signature> for Signature

    §

    type Error = Error

    The type returned in the event of a conversion error.
    §

    fn try_from(signature: &Signature) -> Result<Signature, Error>

    Performs the conversion.
    §

    impl TryFrom<Signature> for Signature

    §

    type Error = Error

    The type returned in the event of a conversion error.
    §

    fn try_from(signature: Signature) -> Result<Signature, Error>

    Performs the conversion.
    §

    impl UpperHex for Signature

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl Copy for Signature

    §

    impl Eq for Signature

    §

    impl StructuralPartialEq for Signature

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where + S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl SignatureEncoding for Signature

    §

    type Repr = [u8; 64]

    Byte representation of a signature.
    §

    fn to_bytes(&self) -> [u8; 64]

    Encode signature as its byte representation.
    §

    fn to_vec(&self) -> Vec<u8>

    Encode signature as a byte vector.
    §

    fn encoded_len(&self) -> usize

    Get the length of this signature when encoded.
    §

    impl TryFrom<&[u8]> for Signature

    §

    type Error = Error

    The type returned in the event of a conversion error.
    §

    fn try_from(bytes: &[u8]) -> Result<Signature, Error>

    Performs the conversion.
    §

    impl TryFrom<&Signature> for Signature

    §

    type Error = Error

    The type returned in the event of a conversion error.
    §

    fn try_from(signature: &Signature) -> Result<Signature, Error>

    Performs the conversion.
    §

    impl TryFrom<Signature> for Signature

    §

    type Error = Error

    The type returned in the event of a conversion error.
    §

    fn try_from(signature: Signature) -> Result<Signature, Error>

    Performs the conversion.
    §

    impl UpperHex for Signature

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl Copy for Signature

    §

    impl Eq for Signature

    §

    impl StructuralPartialEq for Signature

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -42,6 +42,6 @@ sufficient, and should not be overridden without very good reason.
    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>,

    §

    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>,

    §

    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

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_base/node_addr/enum.AddrInfoOptions.html b/pr/2937/docs/iroh_base/node_addr/enum.AddrInfoOptions.html index 492f08a2e2..804fea7c2c 100644 --- a/pr/2937/docs/iroh_base/node_addr/enum.AddrInfoOptions.html +++ b/pr/2937/docs/iroh_base/node_addr/enum.AddrInfoOptions.html @@ -9,11 +9,11 @@
    §

    RelayAndAddresses

    Includes the Node ID and both the relay URL, and the direct addresses.

    §

    Relay

    Includes the Node ID and the relay URL.

    §

    Addresses

    Includes the Node ID and the direct addresses.

    -

    Trait Implementations§

    source§

    impl Clone for AddrInfoOptions

    source§

    fn clone(&self) -> AddrInfoOptions

    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 AddrInfoOptions

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for AddrInfoOptions

    source§

    fn default() -> AddrInfoOptions

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for AddrInfoOptions

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for AddrInfoOptions

    source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for AddrInfoOptions

    §

    type Err = FromStrError

    The associated error which can be returned from parsing.
    source§

    fn from_str(src: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl PartialEq for AddrInfoOptions

    source§

    fn eq(&self, other: &AddrInfoOptions) -> bool

    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    source§

    impl Clone for AddrInfoOptions

    source§

    fn clone(&self) -> AddrInfoOptions

    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 AddrInfoOptions

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for AddrInfoOptions

    source§

    fn default() -> AddrInfoOptions

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for AddrInfoOptions

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for AddrInfoOptions

    source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for AddrInfoOptions

    §

    type Err = FromStrError

    The associated error which can be returned from parsing.
    source§

    fn from_str(src: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl PartialEq for AddrInfoOptions

    source§

    fn eq(&self, other: &AddrInfoOptions) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for AddrInfoOptions

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for AddrInfoOptions

    source§

    impl Eq for AddrInfoOptions

    source§

    impl StructuralPartialEq for AddrInfoOptions

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +sufficient, and should not be overridden without very good reason.

    source§

    impl Serialize for AddrInfoOptions

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for AddrInfoOptions

    source§

    impl Eq for AddrInfoOptions

    source§

    impl StructuralPartialEq for AddrInfoOptions

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -26,6 +26,6 @@ sufficient, and should not be overridden without very good reason.
    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>,

    §

    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>,

    §

    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

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_base/node_addr/struct.AddrInfo.html b/pr/2937/docs/iroh_base/node_addr/struct.AddrInfo.html index 6753352c92..09045170e6 100644 --- a/pr/2937/docs/iroh_base/node_addr/struct.AddrInfo.html +++ b/pr/2937/docs/iroh_base/node_addr/struct.AddrInfo.html @@ -12,16 +12,16 @@ other node, see AddrInfo received from another API. E.g. to ensure a discovery service is used the AddrInfoOptions::Id] option could be used to remove all other addressing details.

    -

    Trait Implementations§

    source§

    impl Clone for AddrInfo

    source§

    fn clone(&self) -> AddrInfo

    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 AddrInfo

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for AddrInfo

    source§

    fn default() -> AddrInfo

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for AddrInfo

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Ord for AddrInfo

    source§

    fn cmp(&self, other: &AddrInfo) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where +

    Trait Implementations§

    source§

    impl Clone for AddrInfo

    source§

    fn clone(&self) -> AddrInfo

    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 AddrInfo

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for AddrInfo

    source§

    fn default() -> AddrInfo

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for AddrInfo

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Ord for AddrInfo

    source§

    fn cmp(&self, other: &AddrInfo) -> 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 + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for AddrInfo

    source§

    fn eq(&self, other: &AddrInfo) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for AddrInfo

    source§

    fn partial_cmp(&self, other: &AddrInfo) -> 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

    This method 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

    This method 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

    This method 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

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Serialize for AddrInfo

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Eq for AddrInfo

    source§

    impl StructuralPartialEq for AddrInfo

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +operator. Read more

    source§

    impl Serialize for AddrInfo

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Eq for AddrInfo

    source§

    impl StructuralPartialEq for AddrInfo

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -33,6 +33,6 @@ operator. Clone,
    §

    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>,

    §

    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>,

    §

    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

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_base/node_addr/struct.NodeAddr.html b/pr/2937/docs/iroh_base/node_addr/struct.NodeAddr.html index 13bc226aa5..7cb2364750 100644 --- a/pr/2937/docs/iroh_base/node_addr/struct.NodeAddr.html +++ b/pr/2937/docs/iroh_base/node_addr/struct.NodeAddr.html @@ -42,18 +42,18 @@ received from another API. E.g. to ensure a
    source

    pub fn direct_addresses(&self) -> impl Iterator<Item = &SocketAddr>

    Returns the direct addresses of this peer.

    source

    pub fn relay_url(&self) -> Option<&RelayUrl>

    Returns the relay url of this peer.

    -

    Trait Implementations§

    source§

    impl Clone for NodeAddr

    source§

    fn clone(&self) -> NodeAddr

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NodeAddr

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for NodeAddr

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl From<(PublicKey, Option<RelayUrl>, &[SocketAddr])> for NodeAddr

    source§

    fn from(value: (PublicKey, Option<RelayUrl>, &[SocketAddr])) -> Self

    Converts to this type from the input type.
    source§

    impl From<NodeAddr> for NodeTicket

    Available on crate feature base32 only.
    source§

    fn from(addr: NodeAddr) -> Self

    Creates a ticket from given addressing info.

    -
    source§

    impl From<NodeTicket> for NodeAddr

    Available on crate feature base32 only.
    source§

    fn from(ticket: NodeTicket) -> Self

    Returns the addressing info from given ticket.

    -
    source§

    impl From<PublicKey> for NodeAddr

    source§

    fn from(node_id: NodeId) -> Self

    Converts to this type from the input type.
    source§

    impl Ord for NodeAddr

    source§

    fn cmp(&self, other: &NodeAddr) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where +

    Trait Implementations§

    source§

    impl Clone for NodeAddr

    source§

    fn clone(&self) -> NodeAddr

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NodeAddr

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for NodeAddr

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl From<(PublicKey, Option<RelayUrl>, &[SocketAddr])> for NodeAddr

    source§

    fn from(value: (PublicKey, Option<RelayUrl>, &[SocketAddr])) -> Self

    Converts to this type from the input type.
    source§

    impl From<NodeAddr> for NodeTicket

    Available on crate feature base32 only.
    source§

    fn from(addr: NodeAddr) -> Self

    Creates a ticket from given addressing info.

    +
    source§

    impl From<NodeTicket> for NodeAddr

    Available on crate feature base32 only.
    source§

    fn from(ticket: NodeTicket) -> Self

    Returns the addressing info from given ticket.

    +
    source§

    impl From<PublicKey> for NodeAddr

    source§

    fn from(node_id: NodeId) -> Self

    Converts to this type from the input type.
    source§

    impl Ord for NodeAddr

    source§

    fn cmp(&self, other: &NodeAddr) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where 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 + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for NodeAddr

    source§

    fn eq(&self, other: &NodeAddr) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for NodeAddr

    source§

    fn partial_cmp(&self, other: &NodeAddr) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method 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

    This method 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

    This method 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

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Serialize for NodeAddr

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Eq for NodeAddr

    source§

    impl StructuralPartialEq for NodeAddr

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +operator. Read more

    source§

    impl Serialize for NodeAddr

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Eq for NodeAddr

    source§

    impl StructuralPartialEq for NodeAddr

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -65,6 +65,6 @@ operator. Clone,
    §

    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>,

    §

    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>,

    §

    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

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_base/node_addr/struct.RelayUrl.html b/pr/2937/docs/iroh_base/node_addr/struct.RelayUrl.html index 9cf73ad90a..baf92f4e16 100644 --- a/pr/2937/docs/iroh_base/node_addr/struct.RelayUrl.html +++ b/pr/2937/docs/iroh_base/node_addr/struct.RelayUrl.html @@ -1,5 +1,5 @@ RelayUrl in iroh_base::node_addr - Rust

    Struct iroh_base::node_addr::RelayUrl

    source ·
    pub struct RelayUrl(/* private fields */);
    Available on crate feature key only.
    Expand description

    A URL identifying a relay server.

    -

    This is but a wrapper around Url, with a few custom tweaks:

    +

    This is but a wrapper around Url, with a few custom tweaks:

    • A relay URL is never a relative URL, so an implicit . is added at the end of the @@ -11,7 +11,7 @@ Useful when logging e.g. Option<RelayUrl>.

    To create a RelayUrl use the From<Url> implementation.

    -

    Methods from Deref<Target = Url>§

    source

    pub fn join(&self, input: &str) -> Result<Url, ParseError>

    Parse a string as an URL, with this URL as the base URL.

    +

    Methods from Deref<Target = Url>§

    source

    pub fn join(&self, input: &str) -> Result<Url, ParseError>

    Parse a string as an URL, with this URL as the base URL.

    The inverse of this is make_relative.

    §Notes
      @@ -47,7 +47,7 @@ as input replaces everything in the base URL after the scheme.
      §Errors

      If the function can not parse an URL from the given string with this URL as the base URL, a ParseError variant will be returned.

      -
    source

    pub fn make_relative(&self, url: &Url) -> Option<String>

    Creates a relative URL if possible, with this URL as the base URL.

    +
    source

    pub fn make_relative(&self, url: &Url) -> Option<String>

    Creates a relative URL if possible, with this URL as the base URL.

    This is the inverse of join.

    §Examples
    use url::Url;
    @@ -74,7 +74,7 @@ with this URL as the base URL, a ParseError
     
    §Errors

    If this URL can’t be a base for the given URL, None is returned. This is for example the case if the scheme, host or port are not the same.

    -
    source

    pub fn as_str(&self) -> &str

    Return the serialization of this URL.

    +
    source

    pub fn as_str(&self) -> &str

    Return the serialization of this URL.

    This is fast since that serialization is already stored in the Url struct.

    §Examples
    use url::Url;
    @@ -82,7 +82,7 @@ This is for example the case if the scheme, host or port are not the same.

    let url_str = "https://example.net/"; let url = Url::parse(url_str)?; assert_eq!(url.as_str(), url_str);
    -
    source

    pub fn origin(&self) -> Origin

    Return the origin of this URL (https://url.spec.whatwg.org/#origin)

    +
    source

    pub fn origin(&self) -> Origin

    Return the origin of this URL (https://url.spec.whatwg.org/#origin)

    Note: this returns an opaque origin for file: URLs, which causes url.origin() != url.origin().

    §Examples
    @@ -119,20 +119,20 @@ This is for example the case if the scheme, host or port are not the same.

    let url = Url::parse("foo:bar")?; assert!(!url.origin().is_tuple());
    -
    source

    pub fn scheme(&self) -> &str

    Return the scheme of this URL, lower-cased, as an ASCII string without the ‘:’ delimiter.

    +
    source

    pub fn scheme(&self) -> &str

    Return the scheme of this URL, lower-cased, as an ASCII string without the ‘:’ delimiter.

    §Examples
    use url::Url;
     
     let url = Url::parse("file:///tmp/foo")?;
     assert_eq!(url.scheme(), "file");
    -
    source

    pub fn is_special(&self) -> bool

    Return whether the URL is special (has a special scheme)

    +
    source

    pub fn is_special(&self) -> bool

    Return whether the URL is special (has a special scheme)

    §Examples
    use url::Url;
     
     assert!(Url::parse("http:///tmp/foo")?.is_special());
     assert!(Url::parse("file:///tmp/foo")?.is_special());
     assert!(!Url::parse("moz:///tmp/foo")?.is_special());
    -
    source

    pub fn has_authority(&self) -> bool

    Return whether the URL has an ‘authority’, +

    source

    pub fn has_authority(&self) -> bool

    Return whether the URL has an ‘authority’, which can contain a username, password, host, and port number.

    URLs that do not are either path-only like unix:/run/foo.socket or cannot-be-a-base like data:text/plain,Stuff.

    @@ -148,7 +148,7 @@ or cannot-be-a-base like data:text/plain,Stuff.

    let url = Url::parse("data:text/plain,Stuff")?; assert!(!url.has_authority());
    -
    source

    pub fn authority(&self) -> &str

    Return the authority of this URL as an ASCII string.

    +
    source

    pub fn authority(&self) -> &str

    Return the authority of this URL as an ASCII string.

    Non-ASCII domains are punycode-encoded per IDNA if this is the host of a special URL, or percent encoded for non-special URLs. IPv6 addresses are given between [ and ] brackets. @@ -168,7 +168,7 @@ Ports are omitted if they match the well known port of a special URL.

    assert_eq!(url.authority(), "%C3%A0lex.%D1%80%D1%84.example.com:6667"); let url = Url::parse("http://àlex.рф.example.com:80/foo")?; assert_eq!(url.authority(), "xn--lex-8ka.xn--p1ai.example.com");
    -
    source

    pub fn cannot_be_a_base(&self) -> bool

    Return whether this URL is a cannot-be-a-base URL, +

    source

    pub fn cannot_be_a_base(&self) -> bool

    Return whether this URL is a cannot-be-a-base URL, meaning that parsing a relative URL string with this URL as the base will return an error.

    This is the case if the scheme and : delimiter are not followed by a / slash, as is typically the case of data: and mailto: URLs.

    @@ -183,7 +183,7 @@ as is typically the case of data: and mailto: URLs.

    let url = Url::parse("data:text/plain,Stuff")?; assert!(url.cannot_be_a_base());
    -
    source

    pub fn username(&self) -> &str

    Return the username for this URL (typically the empty string) +

    source

    pub fn username(&self) -> &str

    Return the username for this URL (typically the empty string) as a percent-encoded ASCII string.

    §Examples
    use url::Url;
    @@ -196,7 +196,7 @@ as a percent-encoded ASCII string.

    let url = Url::parse("https://example.com")?; assert_eq!(url.username(), "");
    -
    source

    pub fn password(&self) -> Option<&str>

    Return the password for this URL, if any, as a percent-encoded ASCII string.

    +
    source

    pub fn password(&self) -> Option<&str>

    Return the password for this URL, if any, as a percent-encoded ASCII string.

    §Examples
    use url::Url;
     
    @@ -211,7 +211,7 @@ as a percent-encoded ASCII string.

    let url = Url::parse("https://example.com")?; assert_eq!(url.password(), None);
    -
    source

    pub fn has_host(&self) -> bool

    Equivalent to url.host().is_some().

    +
    source

    pub fn has_host(&self) -> bool

    Equivalent to url.host().is_some().

    §Examples
    use url::Url;
     
    @@ -223,7 +223,7 @@ as a percent-encoded ASCII string.

    let url = Url::parse("data:text/plain,Stuff")?; assert!(!url.has_host());
    -
    source

    pub fn host_str(&self) -> Option<&str>

    Return the string representation of the host (domain or IP address) for this URL, if any.

    +
    source

    pub fn host_str(&self) -> Option<&str>

    Return the string representation of the host (domain or IP address) for this URL, if any.

    Non-ASCII domains are punycode-encoded per IDNA if this is the host of a special URL, or percent encoded for non-special URLs. IPv6 addresses are given between [ and ] brackets.

    @@ -244,7 +244,7 @@ don’t have a host.

    let url = Url::parse("data:text/plain,Stuff")?; assert_eq!(url.host_str(), None);
    -
    source

    pub fn host(&self) -> Option<Host<&str>>

    Return the parsed representation of the host for this URL. +

    source

    pub fn host(&self) -> Option<Host<&str>>

    Return the parsed representation of the host for this URL. Non-ASCII domain labels are punycode-encoded per IDNA if this is the host of a special URL, or percent encoded for non-special URLs.

    Cannot-be-a-base URLs (typical of data: and mailto:) and some file: URLs @@ -264,7 +264,7 @@ don’t have a host.

    let url = Url::parse("data:text/plain,Stuff")?; assert!(url.host().is_none());
    -
    source

    pub fn domain(&self) -> Option<&str>

    If this URL has a host and it is a domain name (not an IP address), return it. +

    source

    pub fn domain(&self) -> Option<&str>

    If this URL has a host and it is a domain name (not an IP address), return it. Non-ASCII domains are punycode-encoded per IDNA if this is the host of a special URL, or percent encoded for non-special URLs.

    §Examples
    @@ -278,7 +278,7 @@ of a special URL, or percent encoded for non-special URLs.

    let url = Url::parse("https://example.com/")?; assert_eq!(url.domain(), Some("example.com"));
    -
    source

    pub fn port(&self) -> Option<u16>

    Return the port number for this URL, if any.

    +
    source

    pub fn port(&self) -> Option<u16>

    Return the port number for this URL, if any.

    Note that default port numbers are never reflected by the serialization, use the port_or_known_default() method if you want a default port number returned.

    §Examples
    @@ -292,7 +292,7 @@ use the port_or_known_default() method if you want a default port n let url = Url::parse("ssh://example.com:22")?; assert_eq!(url.port(), Some(22));
    -
    source

    pub fn port_or_known_default(&self) -> Option<u16>

    Return the port number for this URL, or the default port number if it is known.

    +
    source

    pub fn port_or_known_default(&self) -> Option<u16>

    Return the port number for this URL, or the default port number if it is known.

    This method only knows the default port number of the http, https, ws, wss and ftp schemes.

    For URLs in these schemes, this method always returns Some(_). @@ -308,7 +308,7 @@ For other schemes, it is the same as Url::port().

    let url = Url::parse("https://example.com")?; assert_eq!(url.port_or_known_default(), Some(443));
    -
    source

    pub fn socket_addrs( +

    source

    pub fn socket_addrs( &self, default_port_number: impl Fn() -> Option<u16> ) -> Result<Vec<SocketAddr>, Error>

    Resolve a URL’s host and port number to SocketAddr.

    @@ -329,7 +329,7 @@ std::net::TcpStream::connect(&*addrs) _ => None, }) }
    -
    source

    pub fn path(&self) -> &str

    Return the path for this URL, as a percent-encoded ASCII string. +

    source

    pub fn path(&self) -> &str

    Return the path for this URL, as a percent-encoded ASCII string. For cannot-be-a-base URLs, this is an arbitrary string that doesn’t start with ‘/’. For other URLs, this starts with a ‘/’ slash and continues with slash-separated path segments.

    @@ -344,7 +344,7 @@ and continues with slash-separated path segments.

    let url = Url::parse("https://example.com/countries/việt nam")?; assert_eq!(url.path(), "/countries/vi%E1%BB%87t%20nam");
    -
    source

    pub fn path_segments(&self) -> Option<Split<'_, char>>

    Unless this URL is cannot-be-a-base, +

    source

    pub fn path_segments(&self) -> Option<Split<'_, char>>

    Unless this URL is cannot-be-a-base, return an iterator of ‘/’ slash-separated path segments, each as a percent-encoded ASCII string.

    Return None for cannot-be-a-base URLs.

    @@ -372,7 +372,7 @@ each as a percent-encoded ASCII string.

    let mut path_segments = url.path_segments().ok_or_else(|| "cannot be base")?; assert_eq!(path_segments.next(), Some("countries")); assert_eq!(path_segments.next(), Some("vi%E1%BB%87t%20nam"));
    -
    source

    pub fn query(&self) -> Option<&str>

    Return this URL’s query string, if any, as a percent-encoded ASCII string.

    +
    source

    pub fn query(&self) -> Option<&str>

    Return this URL’s query string, if any, as a percent-encoded ASCII string.

    §Examples
    use url::Url;
     
    @@ -388,7 +388,7 @@ each as a percent-encoded ASCII string.

    let url = Url::parse("https://example.com/?country=español")?; let query = url.query(); assert_eq!(query, Some("country=espa%C3%B1ol"));
    -
    source

    pub fn query_pairs(&self) -> Parse<'_>

    Parse the URL’s query string, if any, as application/x-www-form-urlencoded +

    source

    pub fn query_pairs(&self) -> Parse<'_>

    Parse the URL’s query string, if any, as application/x-www-form-urlencoded and return an iterator of (key, value) pairs.

    §Examples
    use std::borrow::Cow;
    @@ -402,7 +402,7 @@ and return an iterator of (key, value) pairs.

    assert_eq!(pairs.next(), Some((Cow::Borrowed("page"), Cow::Borrowed("2")))); assert_eq!(pairs.next(), Some((Cow::Borrowed("sort"), Cow::Borrowed("desc"))));
    -
    source

    pub fn fragment(&self) -> Option<&str>

    Return this URL’s fragment identifier, if any.

    +
    source

    pub fn fragment(&self) -> Option<&str>

    Return this URL’s fragment identifier, if any.

    A fragment is the part of the URL after the # symbol. The fragment is optional and, if present, contains a fragment identifier that identifies a secondary resource, such as a section heading @@ -422,15 +422,15 @@ but the input may have been percent-encoded already.

    let url = Url::parse("https://example.com/data.csv#cell=4,1-6,2")?; assert_eq!(url.fragment(), Some("cell=4,1-6,2"));
    -
    source

    pub fn serialize_internal<S>( +

    source

    pub fn serialize_internal<S>( &self, serializer: S -) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where - S: Serializer,

    Serialize with Serde using the internal representation of the Url struct.

    +) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where + S: Serializer,

    Serialize with Serde using the internal representation of the Url struct.

    The corresponding deserialize_internal method sacrifices some invariant-checking for speed, compared to the Deserialize trait impl.

    This method is only available if the serde Cargo feature is enabled.

    -
    source

    pub fn to_file_path(&self) -> Result<PathBuf, ()>

    Assuming the URL is in the file scheme or similar, +

    source

    pub fn to_file_path(&self) -> Result<PathBuf, ()>

    Assuming the URL is in the file scheme or similar, convert its path to an absolute std::path::Path.

    Note: This does not actually check the URL’s scheme, and may give nonsensical results for other schemes. @@ -443,14 +443,14 @@ or if Path::new_opt() returns None. (That is, if the percent-decoded path contains a NUL byte or, for a Windows path, is not UTF-8.)

    This method is only available if the std Cargo feature is enabled.

    -

    Trait Implementations§

    source§

    impl Clone for RelayUrl

    source§

    fn clone(&self) -> RelayUrl

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RelayUrl

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for RelayUrl

    Dereferences to the wrapped Url.

    +

    Trait Implementations§

    source§

    impl Clone for RelayUrl

    source§

    fn clone(&self) -> RelayUrl

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RelayUrl

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for RelayUrl

    Dereferences to the wrapped Url.

    Note that DerefMut is not implemented on purpose, so this type has more flexibility to change the inner later.

    -
    §

    type Target = Url

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl<'de> Deserialize<'de> for RelayUrl

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for RelayUrl

    source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<RelayUrl> for Url

    source§

    fn from(value: RelayUrl) -> Self

    Converts to this type from the input type.
    source§

    impl From<Url> for RelayUrl

    source§

    fn from(url: Url) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for RelayUrl

    Support for parsing strings directly.

    -

    If you need more control over the error first create a Url and use RelayUrl::from +

    §

    type Target = Url

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl<'de> Deserialize<'de> for RelayUrl

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for RelayUrl

    source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<RelayUrl> for Url

    source§

    fn from(value: RelayUrl) -> Self

    Converts to this type from the input type.
    source§

    impl From<Url> for RelayUrl

    source§

    fn from(url: Url) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for RelayUrl

    Support for parsing strings directly.

    +

    If you need more control over the error first create a Url and use RelayUrl::from instead.

    -
    §

    type Err = Error

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for RelayUrl

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +
    §

    type Err = Error

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more

    source§

    impl Hash for RelayUrl

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for RelayUrl

    source§

    fn cmp(&self, other: &RelayUrl) -> 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 @@ -459,8 +459,8 @@ instead.

    by ==.

    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for RelayUrl

    source§

    fn partial_cmp(&self, other: &RelayUrl) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method 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

    This method 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

    This method 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

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Serialize for RelayUrl

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Eq for RelayUrl

    source§

    impl StructuralPartialEq for RelayUrl

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +operator. Read more

    source§

    impl Serialize for RelayUrl

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Eq for RelayUrl

    source§

    impl StructuralPartialEq for RelayUrl

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -473,6 +473,6 @@ operator. 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>,

    §

    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>,

    §

    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

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_base/relay_map/struct.QuicConfig.html b/pr/2937/docs/iroh_base/relay_map/struct.QuicConfig.html index 59632f3fd7..7561ad6696 100644 --- a/pr/2937/docs/iroh_base/relay_map/struct.QuicConfig.html +++ b/pr/2937/docs/iroh_base/relay_map/struct.QuicConfig.html @@ -2,16 +2,16 @@ pub port: u16, }
    Available on crate feature relay only.
    Expand description

    Configuration for speaking to the QUIC endpoint on the relay server to do QUIC address discovery.

    -

    Fields§

    §port: u16

    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
    source§

    impl Default for QuicConfig

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for QuicConfig

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Ord for QuicConfig

    source§

    fn cmp(&self, other: &QuicConfig) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where +

    Fields§

    §port: u16

    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
    source§

    impl Default for QuicConfig

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for QuicConfig

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Ord for QuicConfig

    source§

    fn cmp(&self, other: &QuicConfig) -> 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 + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for QuicConfig

    source§

    fn eq(&self, other: &QuicConfig) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for QuicConfig

    source§

    fn partial_cmp(&self, other: &QuicConfig) -> 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

    This method 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

    This method 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

    This method 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

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Serialize for QuicConfig

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Eq for QuicConfig

    source§

    impl StructuralPartialEq for QuicConfig

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +operator. Read more

    source§

    impl Serialize for QuicConfig

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Eq for QuicConfig

    source§

    impl StructuralPartialEq for QuicConfig

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -23,6 +23,6 @@ operator. Clone,
    §

    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>,

    §

    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>,

    §

    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

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_base/relay_map/struct.RelayMap.html b/pr/2937/docs/iroh_base/relay_map/struct.RelayMap.html index 2a95f12608..5a9f86ebb4 100644 --- a/pr/2937/docs/iroh_base/relay_map/struct.RelayMap.html +++ b/pr/2937/docs/iroh_base/relay_map/struct.RelayMap.html @@ -17,7 +17,7 @@ resolved from the URL’s host name via DNS. relay nodes are specified at <../../docs/relay_nodes.md>

    source

    pub fn from_nodes<I: Into<Arc<RelayNode>>>( value: impl IntoIterator<Item = I> -) -> Result<Self>

    Constructs the RelayMap from an iterator of RelayNodes.

    +) -> Result<Self>

    Constructs the RelayMap from an iterator of RelayNodes.

    Trait Implementations§

    source§

    impl Clone for RelayMap

    source§

    fn clone(&self) -> RelayMap

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RelayMap

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for RelayMap

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for RelayMap

    source§

    fn eq(&self, other: &RelayMap) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Eq for RelayMap

    source§

    impl StructuralPartialEq for RelayMap

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where diff --git a/pr/2937/docs/iroh_base/relay_map/struct.RelayNode.html b/pr/2937/docs/iroh_base/relay_map/struct.RelayNode.html index 8d5199729e..ad66873906 100644 --- a/pr/2937/docs/iroh_base/relay_map/struct.RelayNode.html +++ b/pr/2937/docs/iroh_base/relay_map/struct.RelayNode.html @@ -14,16 +14,16 @@ functionality is used.

    §quic: Option<QuicConfig>

    Configuration to speak to the QUIC endpoint on the relay server.

    When None, we will not attempt to do QUIC address discovery with this relay server.

    -

    Trait Implementations§

    source§

    impl Clone for RelayNode

    source§

    fn clone(&self) -> RelayNode

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RelayNode

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for RelayNode

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for RelayNode

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Ord for RelayNode

    source§

    fn cmp(&self, other: &RelayNode) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where +

    Trait Implementations§

    source§

    impl Clone for RelayNode

    source§

    fn clone(&self) -> RelayNode

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RelayNode

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for RelayNode

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for RelayNode

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Ord for RelayNode

    source§

    fn cmp(&self, other: &RelayNode) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for RelayNode

    source§

    fn eq(&self, other: &RelayNode) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for RelayNode

    source§

    fn partial_cmp(&self, other: &RelayNode) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method 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

    This method 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

    This method 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

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Serialize for RelayNode

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Eq for RelayNode

    source§

    impl StructuralPartialEq for RelayNode

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +operator. Read more

    source§

    impl Serialize for RelayNode

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Eq for RelayNode

    source§

    impl StructuralPartialEq for RelayNode

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> 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.

    @@ -36,6 +36,6 @@ operator. 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>,

    §

    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>,

    §

    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

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_base/relay_map/struct.RelayUrl.html b/pr/2937/docs/iroh_base/relay_map/struct.RelayUrl.html index 1886e73fcb..41b168d87f 100644 --- a/pr/2937/docs/iroh_base/relay_map/struct.RelayUrl.html +++ b/pr/2937/docs/iroh_base/relay_map/struct.RelayUrl.html @@ -1,5 +1,5 @@ RelayUrl in iroh_base::relay_map - Rust

    Struct iroh_base::relay_map::RelayUrl

    source ·
    pub struct RelayUrl(/* private fields */);
    Available on crate feature relay only.
    Expand description

    A URL identifying a relay server.

    -

    This is but a wrapper around Url, with a few custom tweaks:

    +

    This is but a wrapper around Url, with a few custom tweaks:

    • A relay URL is never a relative URL, so an implicit . is added at the end of the @@ -11,7 +11,7 @@ Useful when logging e.g. Option<RelayUrl>.

    To create a RelayUrl use the From<Url> implementation.

    -

    Methods from Deref<Target = Url>§

    source

    pub fn join(&self, input: &str) -> Result<Url, ParseError>

    Parse a string as an URL, with this URL as the base URL.

    +

    Methods from Deref<Target = Url>§

    source

    pub fn join(&self, input: &str) -> Result<Url, ParseError>

    Parse a string as an URL, with this URL as the base URL.

    The inverse of this is make_relative.

    §Notes
      @@ -47,7 +47,7 @@ as input replaces everything in the base URL after the scheme.
      §Errors

      If the function can not parse an URL from the given string with this URL as the base URL, a ParseError variant will be returned.

      -
    source

    pub fn make_relative(&self, url: &Url) -> Option<String>

    Creates a relative URL if possible, with this URL as the base URL.

    +
    source

    pub fn make_relative(&self, url: &Url) -> Option<String>

    Creates a relative URL if possible, with this URL as the base URL.

    This is the inverse of join.

    §Examples
    use url::Url;
    @@ -74,7 +74,7 @@ with this URL as the base URL, a ParseError
     
    §Errors

    If this URL can’t be a base for the given URL, None is returned. This is for example the case if the scheme, host or port are not the same.

    -
    source

    pub fn as_str(&self) -> &str

    Return the serialization of this URL.

    +
    source

    pub fn as_str(&self) -> &str

    Return the serialization of this URL.

    This is fast since that serialization is already stored in the Url struct.

    §Examples
    use url::Url;
    @@ -82,7 +82,7 @@ This is for example the case if the scheme, host or port are not the same.

    let url_str = "https://example.net/"; let url = Url::parse(url_str)?; assert_eq!(url.as_str(), url_str);
    -
    source

    pub fn origin(&self) -> Origin

    Return the origin of this URL (https://url.spec.whatwg.org/#origin)

    +
    source

    pub fn origin(&self) -> Origin

    Return the origin of this URL (https://url.spec.whatwg.org/#origin)

    Note: this returns an opaque origin for file: URLs, which causes url.origin() != url.origin().

    §Examples
    @@ -119,20 +119,20 @@ This is for example the case if the scheme, host or port are not the same.

    let url = Url::parse("foo:bar")?; assert!(!url.origin().is_tuple());
    -
    source

    pub fn scheme(&self) -> &str

    Return the scheme of this URL, lower-cased, as an ASCII string without the ‘:’ delimiter.

    +
    source

    pub fn scheme(&self) -> &str

    Return the scheme of this URL, lower-cased, as an ASCII string without the ‘:’ delimiter.

    §Examples
    use url::Url;
     
     let url = Url::parse("file:///tmp/foo")?;
     assert_eq!(url.scheme(), "file");
    -
    source

    pub fn is_special(&self) -> bool

    Return whether the URL is special (has a special scheme)

    +
    source

    pub fn is_special(&self) -> bool

    Return whether the URL is special (has a special scheme)

    §Examples
    use url::Url;
     
     assert!(Url::parse("http:///tmp/foo")?.is_special());
     assert!(Url::parse("file:///tmp/foo")?.is_special());
     assert!(!Url::parse("moz:///tmp/foo")?.is_special());
    -
    source

    pub fn has_authority(&self) -> bool

    Return whether the URL has an ‘authority’, +

    source

    pub fn has_authority(&self) -> bool

    Return whether the URL has an ‘authority’, which can contain a username, password, host, and port number.

    URLs that do not are either path-only like unix:/run/foo.socket or cannot-be-a-base like data:text/plain,Stuff.

    @@ -148,7 +148,7 @@ or cannot-be-a-base like data:text/plain,Stuff.

    let url = Url::parse("data:text/plain,Stuff")?; assert!(!url.has_authority());
    -
    source

    pub fn authority(&self) -> &str

    Return the authority of this URL as an ASCII string.

    +
    source

    pub fn authority(&self) -> &str

    Return the authority of this URL as an ASCII string.

    Non-ASCII domains are punycode-encoded per IDNA if this is the host of a special URL, or percent encoded for non-special URLs. IPv6 addresses are given between [ and ] brackets. @@ -168,7 +168,7 @@ Ports are omitted if they match the well known port of a special URL.

    assert_eq!(url.authority(), "%C3%A0lex.%D1%80%D1%84.example.com:6667"); let url = Url::parse("http://àlex.рф.example.com:80/foo")?; assert_eq!(url.authority(), "xn--lex-8ka.xn--p1ai.example.com");
    -
    source

    pub fn cannot_be_a_base(&self) -> bool

    Return whether this URL is a cannot-be-a-base URL, +

    source

    pub fn cannot_be_a_base(&self) -> bool

    Return whether this URL is a cannot-be-a-base URL, meaning that parsing a relative URL string with this URL as the base will return an error.

    This is the case if the scheme and : delimiter are not followed by a / slash, as is typically the case of data: and mailto: URLs.

    @@ -183,7 +183,7 @@ as is typically the case of data: and mailto: URLs.

    let url = Url::parse("data:text/plain,Stuff")?; assert!(url.cannot_be_a_base());
    -
    source

    pub fn username(&self) -> &str

    Return the username for this URL (typically the empty string) +

    source

    pub fn username(&self) -> &str

    Return the username for this URL (typically the empty string) as a percent-encoded ASCII string.

    §Examples
    use url::Url;
    @@ -196,7 +196,7 @@ as a percent-encoded ASCII string.

    let url = Url::parse("https://example.com")?; assert_eq!(url.username(), "");
    -
    source

    pub fn password(&self) -> Option<&str>

    Return the password for this URL, if any, as a percent-encoded ASCII string.

    +
    source

    pub fn password(&self) -> Option<&str>

    Return the password for this URL, if any, as a percent-encoded ASCII string.

    §Examples
    use url::Url;
     
    @@ -211,7 +211,7 @@ as a percent-encoded ASCII string.

    let url = Url::parse("https://example.com")?; assert_eq!(url.password(), None);
    -
    source

    pub fn has_host(&self) -> bool

    Equivalent to url.host().is_some().

    +
    source

    pub fn has_host(&self) -> bool

    Equivalent to url.host().is_some().

    §Examples
    use url::Url;
     
    @@ -223,7 +223,7 @@ as a percent-encoded ASCII string.

    let url = Url::parse("data:text/plain,Stuff")?; assert!(!url.has_host());
    -
    source

    pub fn host_str(&self) -> Option<&str>

    Return the string representation of the host (domain or IP address) for this URL, if any.

    +
    source

    pub fn host_str(&self) -> Option<&str>

    Return the string representation of the host (domain or IP address) for this URL, if any.

    Non-ASCII domains are punycode-encoded per IDNA if this is the host of a special URL, or percent encoded for non-special URLs. IPv6 addresses are given between [ and ] brackets.

    @@ -244,7 +244,7 @@ don’t have a host.

    let url = Url::parse("data:text/plain,Stuff")?; assert_eq!(url.host_str(), None);
    -
    source

    pub fn host(&self) -> Option<Host<&str>>

    Return the parsed representation of the host for this URL. +

    source

    pub fn host(&self) -> Option<Host<&str>>

    Return the parsed representation of the host for this URL. Non-ASCII domain labels are punycode-encoded per IDNA if this is the host of a special URL, or percent encoded for non-special URLs.

    Cannot-be-a-base URLs (typical of data: and mailto:) and some file: URLs @@ -264,7 +264,7 @@ don’t have a host.

    let url = Url::parse("data:text/plain,Stuff")?; assert!(url.host().is_none());
    -
    source

    pub fn domain(&self) -> Option<&str>

    If this URL has a host and it is a domain name (not an IP address), return it. +

    source

    pub fn domain(&self) -> Option<&str>

    If this URL has a host and it is a domain name (not an IP address), return it. Non-ASCII domains are punycode-encoded per IDNA if this is the host of a special URL, or percent encoded for non-special URLs.

    §Examples
    @@ -278,7 +278,7 @@ of a special URL, or percent encoded for non-special URLs.

    let url = Url::parse("https://example.com/")?; assert_eq!(url.domain(), Some("example.com"));
    -
    source

    pub fn port(&self) -> Option<u16>

    Return the port number for this URL, if any.

    +
    source

    pub fn port(&self) -> Option<u16>

    Return the port number for this URL, if any.

    Note that default port numbers are never reflected by the serialization, use the port_or_known_default() method if you want a default port number returned.

    §Examples
    @@ -292,7 +292,7 @@ use the port_or_known_default() method if you want a default port n let url = Url::parse("ssh://example.com:22")?; assert_eq!(url.port(), Some(22));
    -
    source

    pub fn port_or_known_default(&self) -> Option<u16>

    Return the port number for this URL, or the default port number if it is known.

    +
    source

    pub fn port_or_known_default(&self) -> Option<u16>

    Return the port number for this URL, or the default port number if it is known.

    This method only knows the default port number of the http, https, ws, wss and ftp schemes.

    For URLs in these schemes, this method always returns Some(_). @@ -308,7 +308,7 @@ For other schemes, it is the same as Url::port().

    let url = Url::parse("https://example.com")?; assert_eq!(url.port_or_known_default(), Some(443));
    -
    source

    pub fn socket_addrs( +

    source

    pub fn socket_addrs( &self, default_port_number: impl Fn() -> Option<u16> ) -> Result<Vec<SocketAddr>, Error>

    Resolve a URL’s host and port number to SocketAddr.

    @@ -329,7 +329,7 @@ std::net::TcpStream::connect(&*addrs) _ => None, }) }
    -
    source

    pub fn path(&self) -> &str

    Return the path for this URL, as a percent-encoded ASCII string. +

    source

    pub fn path(&self) -> &str

    Return the path for this URL, as a percent-encoded ASCII string. For cannot-be-a-base URLs, this is an arbitrary string that doesn’t start with ‘/’. For other URLs, this starts with a ‘/’ slash and continues with slash-separated path segments.

    @@ -344,7 +344,7 @@ and continues with slash-separated path segments.

    let url = Url::parse("https://example.com/countries/việt nam")?; assert_eq!(url.path(), "/countries/vi%E1%BB%87t%20nam");
    -
    source

    pub fn path_segments(&self) -> Option<Split<'_, char>>

    Unless this URL is cannot-be-a-base, +

    source

    pub fn path_segments(&self) -> Option<Split<'_, char>>

    Unless this URL is cannot-be-a-base, return an iterator of ‘/’ slash-separated path segments, each as a percent-encoded ASCII string.

    Return None for cannot-be-a-base URLs.

    @@ -372,7 +372,7 @@ each as a percent-encoded ASCII string.

    let mut path_segments = url.path_segments().ok_or_else(|| "cannot be base")?; assert_eq!(path_segments.next(), Some("countries")); assert_eq!(path_segments.next(), Some("vi%E1%BB%87t%20nam"));
    -
    source

    pub fn query(&self) -> Option<&str>

    Return this URL’s query string, if any, as a percent-encoded ASCII string.

    +
    source

    pub fn query(&self) -> Option<&str>

    Return this URL’s query string, if any, as a percent-encoded ASCII string.

    §Examples
    use url::Url;
     
    @@ -388,7 +388,7 @@ each as a percent-encoded ASCII string.

    let url = Url::parse("https://example.com/?country=español")?; let query = url.query(); assert_eq!(query, Some("country=espa%C3%B1ol"));
    -
    source

    pub fn query_pairs(&self) -> Parse<'_>

    Parse the URL’s query string, if any, as application/x-www-form-urlencoded +

    source

    pub fn query_pairs(&self) -> Parse<'_>

    Parse the URL’s query string, if any, as application/x-www-form-urlencoded and return an iterator of (key, value) pairs.

    §Examples
    use std::borrow::Cow;
    @@ -402,7 +402,7 @@ and return an iterator of (key, value) pairs.

    assert_eq!(pairs.next(), Some((Cow::Borrowed("page"), Cow::Borrowed("2")))); assert_eq!(pairs.next(), Some((Cow::Borrowed("sort"), Cow::Borrowed("desc"))));
    -
    source

    pub fn fragment(&self) -> Option<&str>

    Return this URL’s fragment identifier, if any.

    +
    source

    pub fn fragment(&self) -> Option<&str>

    Return this URL’s fragment identifier, if any.

    A fragment is the part of the URL after the # symbol. The fragment is optional and, if present, contains a fragment identifier that identifies a secondary resource, such as a section heading @@ -422,15 +422,15 @@ but the input may have been percent-encoded already.

    let url = Url::parse("https://example.com/data.csv#cell=4,1-6,2")?; assert_eq!(url.fragment(), Some("cell=4,1-6,2"));
    -
    source

    pub fn serialize_internal<S>( +

    source

    pub fn serialize_internal<S>( &self, serializer: S -) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where - S: Serializer,

    Serialize with Serde using the internal representation of the Url struct.

    +) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where + S: Serializer,

    Serialize with Serde using the internal representation of the Url struct.

    The corresponding deserialize_internal method sacrifices some invariant-checking for speed, compared to the Deserialize trait impl.

    This method is only available if the serde Cargo feature is enabled.

    -
    source

    pub fn to_file_path(&self) -> Result<PathBuf, ()>

    Assuming the URL is in the file scheme or similar, +

    source

    pub fn to_file_path(&self) -> Result<PathBuf, ()>

    Assuming the URL is in the file scheme or similar, convert its path to an absolute std::path::Path.

    Note: This does not actually check the URL’s scheme, and may give nonsensical results for other schemes. @@ -443,14 +443,14 @@ or if Path::new_opt() returns None. (That is, if the percent-decoded path contains a NUL byte or, for a Windows path, is not UTF-8.)

    This method is only available if the std Cargo feature is enabled.

    -

    Trait Implementations§

    source§

    impl Clone for RelayUrl

    source§

    fn clone(&self) -> RelayUrl

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RelayUrl

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for RelayUrl

    Dereferences to the wrapped Url.

    +

    Trait Implementations§

    source§

    impl Clone for RelayUrl

    source§

    fn clone(&self) -> RelayUrl

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RelayUrl

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for RelayUrl

    Dereferences to the wrapped Url.

    Note that DerefMut is not implemented on purpose, so this type has more flexibility to change the inner later.

    -
    §

    type Target = Url

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl<'de> Deserialize<'de> for RelayUrl

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for RelayUrl

    source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<RelayUrl> for Url

    source§

    fn from(value: RelayUrl) -> Self

    Converts to this type from the input type.
    source§

    impl From<Url> for RelayUrl

    source§

    fn from(url: Url) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for RelayUrl

    Support for parsing strings directly.

    -

    If you need more control over the error first create a Url and use RelayUrl::from +

    §

    type Target = Url

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl<'de> Deserialize<'de> for RelayUrl

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for RelayUrl

    source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<RelayUrl> for Url

    source§

    fn from(value: RelayUrl) -> Self

    Converts to this type from the input type.
    source§

    impl From<Url> for RelayUrl

    source§

    fn from(url: Url) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for RelayUrl

    Support for parsing strings directly.

    +

    If you need more control over the error first create a Url and use RelayUrl::from instead.

    -
    §

    type Err = Error

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for RelayUrl

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +
    §

    type Err = Error

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more

    source§

    impl Hash for RelayUrl

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for RelayUrl

    source§

    fn cmp(&self, other: &RelayUrl) -> 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 @@ -459,8 +459,8 @@ instead.

    by ==.

    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for RelayUrl

    source§

    fn partial_cmp(&self, other: &RelayUrl) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method 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

    This method 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

    This method 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

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Serialize for RelayUrl

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Eq for RelayUrl

    source§

    impl StructuralPartialEq for RelayUrl

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +operator. Read more

    source§

    impl Serialize for RelayUrl

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Eq for RelayUrl

    source§

    impl StructuralPartialEq for RelayUrl

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -473,6 +473,6 @@ operator. 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>,

    §

    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>,

    §

    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

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_base/ticket/enum.Error.html b/pr/2937/docs/iroh_base/ticket/enum.Error.html index c6857d1914..3a5f0a6529 100644 --- a/pr/2937/docs/iroh_base/ticket/enum.Error.html +++ b/pr/2937/docs/iroh_base/ticket/enum.Error.html @@ -10,7 +10,7 @@

    Fields

    §expected: &'static str
    §

    Postcard(Error)

    This looks like a ticket, but postcard deserialization failed.

    §

    Encoding(DecodeError)

    This looks like a ticket, but base32 decoding failed.

    §

    Verify(&'static str)

    Verification of the deserialized bytes failed.

    -

    Trait Implementations§

    source§

    impl Debug for Error

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for Error

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for Error

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<DecodeError> for Error

    source§

    fn from(source: DecodeError) -> Self

    Converts to this type from the input type.
    source§

    impl From<Error> for Error

    source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl Freeze for Error

    §

    impl RefUnwindSafe for Error

    §

    impl Send for Error

    §

    impl Sync for Error

    §

    impl Unpin for Error

    §

    impl UnwindSafe for Error

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Debug for Error

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for Error

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for Error

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<DecodeError> for Error

    source§

    fn from(source: DecodeError) -> Self

    Converts to this type from the input type.
    source§

    impl From<Error> for Error

    source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl Freeze for Error

    §

    impl RefUnwindSafe for Error

    §

    impl Send for Error

    §

    impl Sync for Error

    §

    impl Unpin for Error

    §

    impl UnwindSafe for Error

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> 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.

    diff --git a/pr/2937/docs/iroh_base/ticket/struct.BlobTicket.html b/pr/2937/docs/iroh_base/ticket/struct.BlobTicket.html index f4a1c45fcd..29a22c1a90 100644 --- a/pr/2937/docs/iroh_base/ticket/struct.BlobTicket.html +++ b/pr/2937/docs/iroh_base/ticket/struct.BlobTicket.html @@ -1,14 +1,14 @@ BlobTicket in iroh_base::ticket - Rust

    Struct iroh_base::ticket::BlobTicket

    source ·
    pub struct BlobTicket { /* private fields */ }
    Available on crate features key and base32 only.
    Expand description

    A token containing everything to get a file from the provider.

    It is a single item which can be easily serialized and deserialized.

    -

    Implementations§

    source§

    impl BlobTicket

    source

    pub fn new(node: NodeAddr, hash: Hash, format: BlobFormat) -> Result<Self>

    Creates a new ticket.

    +

    Implementations§

    source§

    impl BlobTicket

    source

    pub fn new(node: NodeAddr, hash: Hash, format: BlobFormat) -> Result<Self>

    Creates a new ticket.

    source

    pub fn hash(&self) -> Hash

    The hash of the item this ticket can retrieve.

    source

    pub fn node_addr(&self) -> &NodeAddr

    The NodeAddr of the provider for this ticket.

    source

    pub fn format(&self) -> BlobFormat

    The BlobFormat for this ticket.

    source

    pub fn recursive(&self) -> bool

    True if the ticket is for a collection and should retrieve all blobs in it.

    source

    pub fn into_parts(self) -> (NodeAddr, Hash, BlobFormat)

    Get the contents of the ticket, consuming it.

    -

    Trait Implementations§

    source§

    impl Clone for BlobTicket

    source§

    fn clone(&self) -> BlobTicket

    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 BlobTicket

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for BlobTicket

    source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for BlobTicket

    source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for BlobTicket

    §

    type Err = Error

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl PartialEq for BlobTicket

    source§

    fn eq(&self, other: &BlobTicket) -> bool

    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    source§

    impl Clone for BlobTicket

    source§

    fn clone(&self) -> BlobTicket

    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 BlobTicket

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for BlobTicket

    source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for BlobTicket

    source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for BlobTicket

    §

    type Err = Error

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl PartialEq for BlobTicket

    source§

    fn eq(&self, other: &BlobTicket) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for BlobTicket

    source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Ticket for BlobTicket

    source§

    const KIND: &'static str = "blob"

    String prefix describing the kind of iroh ticket. Read more
    source§

    fn to_bytes(&self) -> Vec<u8>

    Serialize to bytes used in the base32 string representation.
    source§

    fn from_bytes(bytes: &[u8]) -> Result<Self, Error>

    Deserialize from the base32 string representation bytes.
    source§

    fn serialize(&self) -> String

    Serialize to string.
    source§

    fn deserialize(str: &str) -> Result<Self, Error>

    Deserialize from a string.
    source§

    impl Eq for BlobTicket

    source§

    impl StructuralPartialEq for BlobTicket

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +sufficient, and should not be overridden without very good reason.

    source§

    impl Serialize for BlobTicket

    source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Ticket for BlobTicket

    source§

    const KIND: &'static str = "blob"

    String prefix describing the kind of iroh ticket. Read more
    source§

    fn to_bytes(&self) -> Vec<u8>

    Serialize to bytes used in the base32 string representation.
    source§

    fn from_bytes(bytes: &[u8]) -> Result<Self, Error>

    Deserialize from the base32 string representation bytes.
    source§

    fn serialize(&self) -> String

    Serialize to string.
    source§

    fn deserialize(str: &str) -> Result<Self, Error>

    Deserialize from a string.
    source§

    impl Eq for BlobTicket

    source§

    impl StructuralPartialEq for BlobTicket

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -21,6 +21,6 @@ sufficient, and should not be overridden without very good reason.
    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>,

    §

    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>,

    §

    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

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_base/ticket/struct.NodeTicket.html b/pr/2937/docs/iroh_base/ticket/struct.NodeTicket.html index 779a9cc1e0..d3adcea9b8 100644 --- a/pr/2937/docs/iroh_base/ticket/struct.NodeTicket.html +++ b/pr/2937/docs/iroh_base/ticket/struct.NodeTicket.html @@ -12,11 +12,11 @@ implements the Implementations§
    source§

    impl NodeTicket

    source

    pub fn new(node: NodeAddr) -> Self

    Creates a new ticket.

    source

    pub fn node_addr(&self) -> &NodeAddr

    The NodeAddr of the provider for this ticket.

    -

    Trait Implementations§

    source§

    impl Clone for NodeTicket

    source§

    fn clone(&self) -> NodeTicket

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NodeTicket

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for NodeTicket

    source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for NodeTicket

    source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<NodeAddr> for NodeTicket

    source§

    fn from(addr: NodeAddr) -> Self

    Creates a ticket from given addressing info.

    +

    Trait Implementations§

    source§

    impl Clone for NodeTicket

    source§

    fn clone(&self) -> NodeTicket

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NodeTicket

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for NodeTicket

    source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for NodeTicket

    source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<NodeAddr> for NodeTicket

    source§

    fn from(addr: NodeAddr) -> Self

    Creates a ticket from given addressing info.

    source§

    impl From<NodeTicket> for NodeAddr

    source§

    fn from(ticket: NodeTicket) -> Self

    Returns the addressing info from given ticket.

    -
    source§

    impl FromStr for NodeTicket

    §

    type Err = Error

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl PartialEq for NodeTicket

    source§

    fn eq(&self, other: &NodeTicket) -> bool

    This method tests for self and other values to be equal, and is used +
    source§

    impl FromStr for NodeTicket

    §

    type Err = Error

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl PartialEq for NodeTicket

    source§

    fn eq(&self, other: &NodeTicket) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for NodeTicket

    source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Ticket for NodeTicket

    source§

    const KIND: &'static str = "node"

    String prefix describing the kind of iroh ticket. Read more
    source§

    fn to_bytes(&self) -> Vec<u8>

    Serialize to bytes used in the base32 string representation.
    source§

    fn from_bytes(bytes: &[u8]) -> Result<Self, Error>

    Deserialize from the base32 string representation bytes.
    source§

    fn serialize(&self) -> String

    Serialize to string.
    source§

    fn deserialize(str: &str) -> Result<Self, Error>

    Deserialize from a string.
    source§

    impl Eq for NodeTicket

    source§

    impl StructuralPartialEq for NodeTicket

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +sufficient, and should not be overridden without very good reason.

    source§

    impl Serialize for NodeTicket

    source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Ticket for NodeTicket

    source§

    const KIND: &'static str = "node"

    String prefix describing the kind of iroh ticket. Read more
    source§

    fn to_bytes(&self) -> Vec<u8>

    Serialize to bytes used in the base32 string representation.
    source§

    fn from_bytes(bytes: &[u8]) -> Result<Self, Error>

    Deserialize from the base32 string representation bytes.
    source§

    fn serialize(&self) -> String

    Serialize to string.
    source§

    fn deserialize(str: &str) -> Result<Self, Error>

    Deserialize from a string.
    source§

    impl Eq for NodeTicket

    source§

    impl StructuralPartialEq for NodeTicket

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -29,6 +29,6 @@ sufficient, and should not be overridden without very good reason.
    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>,

    §

    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>,

    §

    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

    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_dns_server/config/enum.BootstrapOption.html b/pr/2937/docs/iroh_dns_server/config/enum.BootstrapOption.html index 58174ebd7a..12c3019c16 100644 --- a/pr/2937/docs/iroh_dns_server/config/enum.BootstrapOption.html +++ b/pr/2937/docs/iroh_dns_server/config/enum.BootstrapOption.html @@ -4,9 +4,9 @@ }
    Expand description

    Configure the bootstrap servers for mainline DHT resolution.

    Variants§

    §

    Default

    Use the default bootstrap servers.

    §

    Custom(Vec<String>)

    Use custom bootstrap servers.

    -

    Trait Implementations§

    source§

    impl Debug for BootstrapOption

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for BootstrapOption

    source§

    fn default() -> BootstrapOption

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for BootstrapOption

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Serialize for BootstrapOption

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Debug for BootstrapOption

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for BootstrapOption

    source§

    fn default() -> BootstrapOption

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for BootstrapOption

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Serialize for BootstrapOption

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -29,6 +29,6 @@ V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where +[WithDispatch] wrapper. Read more

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_dns_server/config/struct.Config.html b/pr/2937/docs/iroh_dns_server/config/struct.Config.html index 4290956882..1715d04f0c 100644 --- a/pr/2937/docs/iroh_dns_server/config/struct.Config.html +++ b/pr/2937/docs/iroh_dns_server/config/struct.Config.html @@ -21,12 +21,12 @@ and testing.

    §mainline: Option<MainlineConfig>

    Config for the mainline lookup.

    §zone_store: Option<StoreConfig>

    Config for the zone store.

    §pkarr_put_rate_limit: RateLimitConfig

    Config for pkarr rate limit

    -

    Implementations§

    source§

    impl Config

    source

    pub async fn load(path: impl AsRef<Path>) -> Result<Config>

    Load the config from a file.

    -
    source

    pub fn data_dir() -> Result<PathBuf>

    Get the data directory.

    -
    source

    pub fn signed_packet_store_path() -> Result<PathBuf>

    Get the path to the store database file.

    -

    Trait Implementations§

    source§

    impl Debug for Config

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Config

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Config

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Serialize for Config

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Config

    §

    impl RefUnwindSafe for Config

    §

    impl Send for Config

    §

    impl Sync for Config

    §

    impl Unpin for Config

    §

    impl UnwindSafe for Config

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Implementations§

    source§

    impl Config

    source

    pub async fn load(path: impl AsRef<Path>) -> Result<Config>

    Load the config from a file.

    +
    source

    pub fn data_dir() -> Result<PathBuf>

    Get the data directory.

    +
    source

    pub fn signed_packet_store_path() -> Result<PathBuf>

    Get the path to the store database file.

    +

    Trait Implementations§

    source§

    impl Debug for Config

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Config

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Config

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Serialize for Config

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Config

    §

    impl RefUnwindSafe for Config

    §

    impl Send for Config

    §

    impl Sync for Config

    §

    impl Unpin for Config

    §

    impl UnwindSafe for Config

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -49,6 +49,6 @@ and testing.

    V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where +[WithDispatch] wrapper. Read more

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_dns_server/config/struct.MainlineConfig.html b/pr/2937/docs/iroh_dns_server/config/struct.MainlineConfig.html index 1e8a4f2869..c84ccaa3f0 100644 --- a/pr/2937/docs/iroh_dns_server/config/struct.MainlineConfig.html +++ b/pr/2937/docs/iroh_dns_server/config/struct.MainlineConfig.html @@ -6,9 +6,9 @@ §bootstrap: Option<Vec<String>>

    Set custom bootstrap nodes.

    Addresses can either be domain:port or ipv4:port.

    If empty this will use the default bittorrent mainline bootstrap nodes as defined by pkarr.

    -

    Trait Implementations§

    source§

    impl Debug for MainlineConfig

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for MainlineConfig

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for MainlineConfig

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Serialize for MainlineConfig

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Debug for MainlineConfig

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for MainlineConfig

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for MainlineConfig

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Serialize for MainlineConfig

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -31,6 +31,6 @@ V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where +[WithDispatch] wrapper. Read more

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_dns_server/config/struct.MetricsConfig.html b/pr/2937/docs/iroh_dns_server/config/struct.MetricsConfig.html index 4f404ac890..300db5dc35 100644 --- a/pr/2937/docs/iroh_dns_server/config/struct.MetricsConfig.html +++ b/pr/2937/docs/iroh_dns_server/config/struct.MetricsConfig.html @@ -5,9 +5,9 @@

    Fields§

    §disabled: bool

    Set to true to disable the metrics server.

    §bind_addr: Option<SocketAddr>

    Optionally set a custom address to bind to.

    Implementations§

    source§

    impl MetricsConfig

    source

    pub fn disabled() -> Self

    Disable the metrics server.

    -

    Trait Implementations§

    source§

    impl Debug for MetricsConfig

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for MetricsConfig

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Serialize for MetricsConfig

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Debug for MetricsConfig

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for MetricsConfig

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Serialize for MetricsConfig

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -30,6 +30,6 @@ V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where +[WithDispatch] wrapper. Read more

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_dns_server/config/struct.StoreConfig.html b/pr/2937/docs/iroh_dns_server/config/struct.StoreConfig.html index bb10641795..6b7c5bc493 100644 --- a/pr/2937/docs/iroh_dns_server/config/struct.StoreConfig.html +++ b/pr/2937/docs/iroh_dns_server/config/struct.StoreConfig.html @@ -1,7 +1,7 @@ StoreConfig in iroh_dns_server::config - Rust

    Struct iroh_dns_server::config::StoreConfig

    source ·
    pub struct StoreConfig { /* private fields */ }
    Expand description

    The config for the store.

    -

    Trait Implementations§

    source§

    impl Clone for StoreConfig

    source§

    fn clone(&self) -> StoreConfig

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for StoreConfig

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for StoreConfig

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for StoreConfig

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Serialize for StoreConfig

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Clone for StoreConfig

    source§

    fn clone(&self) -> StoreConfig

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for StoreConfig

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for StoreConfig

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for StoreConfig

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Serialize for StoreConfig

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -27,6 +27,6 @@ V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where +[WithDispatch] wrapper. Read more

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_dns_server/dns/struct.DnsConfig.html b/pr/2937/docs/iroh_dns_server/dns/struct.DnsConfig.html index d570139d99..0946021a28 100644 --- a/pr/2937/docs/iroh_dns_server/dns/struct.DnsConfig.html +++ b/pr/2937/docs/iroh_dns_server/dns/struct.DnsConfig.html @@ -17,9 +17,9 @@ Uses 0.0.0.0 if unspecified.

    §rr_a: Option<Ipv4Addr>

    A record to set for all origins

    §rr_aaaa: Option<Ipv6Addr>

    AAAA record to set for all origins

    §rr_ns: Option<String>

    NS record to set for all origins

    -

    Trait Implementations§

    source§

    impl Clone for DnsConfig

    source§

    fn clone(&self) -> DnsConfig

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DnsConfig

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for DnsConfig

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Serialize for DnsConfig

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Clone for DnsConfig

    source§

    fn clone(&self) -> DnsConfig

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DnsConfig

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for DnsConfig

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Serialize for DnsConfig

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -45,6 +45,6 @@ Uses 0.0.0.0 if unspecified.

    V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where +[WithDispatch] wrapper. Read more

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_dns_server/dns/struct.DnsHandler.html b/pr/2937/docs/iroh_dns_server/dns/struct.DnsHandler.html index c9836da376..46a7c591b5 100644 --- a/pr/2937/docs/iroh_dns_server/dns/struct.DnsHandler.html +++ b/pr/2937/docs/iroh_dns_server/dns/struct.DnsHandler.html @@ -1,7 +1,7 @@ DnsHandler in iroh_dns_server::dns - Rust

    Struct iroh_dns_server::dns::DnsHandler

    source ·
    pub struct DnsHandler { /* private fields */ }
    Expand description

    State for serving DNS

    -

    Implementations§

    source§

    impl DnsHandler

    source

    pub fn new(zone_store: ZoneStore, config: &DnsConfig) -> Result<Self>

    Create a DNS server given some settings, a connection to the DB for DID-by-username lookups +

    Implementations§

    source§

    impl DnsHandler

    source

    pub fn new(zone_store: ZoneStore, config: &DnsConfig) -> Result<Self>

    Create a DNS server given some settings, a connection to the DB for DID-by-username lookups and the server DID to serve under _did.<origin>.

    -
    source

    pub async fn answer_request(&self, request: Request) -> Result<Bytes>

    Handle a DNS request

    +
    source

    pub async fn answer_request(&self, request: Request) -> Result<Bytes>

    Handle a DNS request

    Trait Implementations§

    source§

    impl Clone for DnsHandler

    source§

    fn clone(&self) -> DnsHandler

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DnsHandler

    source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl RequestHandler for DnsHandler

    source§

    fn handle_request<'life0, 'life1, 'async_trait, R>( &'life0 self, request: &'life1 Request, diff --git a/pr/2937/docs/iroh_dns_server/dns/struct.DnsServer.html b/pr/2937/docs/iroh_dns_server/dns/struct.DnsServer.html index a490b58784..d68cd0e116 100644 --- a/pr/2937/docs/iroh_dns_server/dns/struct.DnsServer.html +++ b/pr/2937/docs/iroh_dns_server/dns/struct.DnsServer.html @@ -1,8 +1,8 @@ DnsServer in iroh_dns_server::dns - Rust

    Struct iroh_dns_server::dns::DnsServer

    source ·
    pub struct DnsServer { /* private fields */ }
    Expand description

    A DNS server that serves pkarr signed packets.

    -

    Implementations§

    source§

    impl DnsServer

    source

    pub async fn spawn(config: DnsConfig, dns_handler: DnsHandler) -> Result<Self>

    Spawn the server.

    +

    Implementations§

    source§

    impl DnsServer

    source

    pub async fn spawn(config: DnsConfig, dns_handler: DnsHandler) -> Result<Self>

    Spawn the server.

    source

    pub fn local_addr(&self) -> SocketAddr

    Get the local address of the UDP/TCP socket.

    -
    source

    pub async fn shutdown(self) -> Result<()>

    Shutdown the server an wait for all tasks to complete.

    -
    source

    pub async fn run_until_done(self) -> Result<()>

    Wait for all tasks to complete.

    +
    source

    pub async fn shutdown(self) -> Result<()>

    Shutdown the server an wait for all tasks to complete.

    +
    source

    pub async fn run_until_done(self) -> Result<()>

    Wait for all tasks to complete.

    Runs forever unless tasks fail.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where diff --git a/pr/2937/docs/iroh_dns_server/http/enum.CertMode.html b/pr/2937/docs/iroh_dns_server/http/enum.CertMode.html index a4f6dfeae9..517f1c53d6 100644 --- a/pr/2937/docs/iroh_dns_server/http/enum.CertMode.html +++ b/pr/2937/docs/iroh_dns_server/http/enum.CertMode.html @@ -6,11 +6,11 @@

    Variants§

    §

    Manual

    Certs are loaded from a the cert_cache path

    §

    LetsEncrypt

    ACME with LetsEncrypt servers

    §

    SelfSigned

    Create self-signed certificates and store them in the cert_cache path

    -

    Trait Implementations§

    source§

    impl Clone for CertMode

    source§

    fn clone(&self) -> CertMode

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CertMode

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for CertMode

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for CertMode

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for CertMode

    source§

    fn eq(&self, other: &CertMode) -> bool

    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    source§

    impl Clone for CertMode

    source§

    fn clone(&self) -> CertMode

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CertMode

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for CertMode

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for CertMode

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for CertMode

    source§

    fn eq(&self, other: &CertMode) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for CertMode

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Eq for CertMode

    source§

    impl StructuralPartialEq for CertMode

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +sufficient, and should not be overridden without very good reason.

    source§

    impl Serialize for CertMode

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Eq for CertMode

    source§

    impl StructuralPartialEq for CertMode

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -41,6 +41,6 @@ sufficient, and should not be overridden without very good reason.

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where +[WithDispatch] wrapper. Read more

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_dns_server/http/enum.RateLimitConfig.html b/pr/2937/docs/iroh_dns_server/http/enum.RateLimitConfig.html index fa64ce3729..67ad744c73 100644 --- a/pr/2937/docs/iroh_dns_server/http/enum.RateLimitConfig.html +++ b/pr/2937/docs/iroh_dns_server/http/enum.RateLimitConfig.html @@ -10,9 +10,9 @@

    Uses headers commonly used by reverse proxies to extract the original IP address, falling back to the connection’s peer IP address. https://docs.rs/tower_governor/latest/tower_governor/key_extractor/struct.SmartIpKeyExtractor.html

    -

    Trait Implementations§

    source§

    impl Clone for RateLimitConfig

    source§

    fn clone(&self) -> RateLimitConfig

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RateLimitConfig

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for &RateLimitConfig

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Default for RateLimitConfig

    source§

    fn default() -> RateLimitConfig

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for RateLimitConfig

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Serialize for RateLimitConfig

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Clone for RateLimitConfig

    source§

    fn clone(&self) -> RateLimitConfig

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RateLimitConfig

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for &RateLimitConfig

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Default for RateLimitConfig

    source§

    fn default() -> RateLimitConfig

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for RateLimitConfig

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Serialize for RateLimitConfig

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -38,6 +38,6 @@ falling back to the connection’s peer IP address. V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where +[WithDispatch] wrapper. Read more

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_dns_server/http/struct.HttpConfig.html b/pr/2937/docs/iroh_dns_server/http/struct.HttpConfig.html index dea385eee5..3692df7e4a 100644 --- a/pr/2937/docs/iroh_dns_server/http/struct.HttpConfig.html +++ b/pr/2937/docs/iroh_dns_server/http/struct.HttpConfig.html @@ -4,9 +4,9 @@ }
    Expand description

    Config for the HTTP server

    Fields§

    §port: u16

    Port to bind to

    §bind_addr: Option<IpAddr>

    Optionally set a custom bind address (will use 0.0.0.0 if unset)

    -

    Trait Implementations§

    source§

    impl Clone for HttpConfig

    source§

    fn clone(&self) -> HttpConfig

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for HttpConfig

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for HttpConfig

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Serialize for HttpConfig

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Clone for HttpConfig

    source§

    fn clone(&self) -> HttpConfig

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for HttpConfig

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for HttpConfig

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Serialize for HttpConfig

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -32,6 +32,6 @@ V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where +[WithDispatch] wrapper. Read more

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_dns_server/http/struct.HttpServer.html b/pr/2937/docs/iroh_dns_server/http/struct.HttpServer.html index 161e6f6d6a..79bc1d4525 100644 --- a/pr/2937/docs/iroh_dns_server/http/struct.HttpServer.html +++ b/pr/2937/docs/iroh_dns_server/http/struct.HttpServer.html @@ -4,11 +4,11 @@ https_config: Option<HttpsConfig>, rate_limit_config: RateLimitConfig, state: AppState -) -> Result<HttpServer>

    Spawn the server

    +) -> Result<HttpServer>

    Spawn the server

    source

    pub fn http_addr(&self) -> Option<SocketAddr>

    Get the bound address of the HTTP socket.

    source

    pub fn https_addr(&self) -> Option<SocketAddr>

    Get the bound address of the HTTPS socket.

    -
    source

    pub async fn shutdown(self) -> Result<()>

    Shutdown the server and wait for all tasks to complete.

    -
    source

    pub async fn run_until_done(self) -> Result<()>

    Wait for all tasks to complete.

    +
    source

    pub async fn shutdown(self) -> Result<()>

    Shutdown the server and wait for all tasks to complete.

    +
    source

    pub async fn run_until_done(self) -> Result<()>

    Wait for all tasks to complete.

    Runs forever unless tasks fail.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where diff --git a/pr/2937/docs/iroh_dns_server/http/struct.HttpsConfig.html b/pr/2937/docs/iroh_dns_server/http/struct.HttpsConfig.html index 7239509890..ac94a33a0f 100644 --- a/pr/2937/docs/iroh_dns_server/http/struct.HttpsConfig.html +++ b/pr/2937/docs/iroh_dns_server/http/struct.HttpsConfig.html @@ -12,9 +12,9 @@
    §cert_mode: CertMode

    The mode of SSL certificate creation

    §letsencrypt_contact: Option<String>

    Letsencrypt contact email address (required if using CertMode::LetsEncrypt)

    §letsencrypt_prod: Option<bool>

    Whether to use the letsenrypt production servers (only applies to CertMode::LetsEncrypt)

    -

    Trait Implementations§

    source§

    impl Clone for HttpsConfig

    source§

    fn clone(&self) -> HttpsConfig

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for HttpsConfig

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for HttpsConfig

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Serialize for HttpsConfig

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Clone for HttpsConfig

    source§

    fn clone(&self) -> HttpsConfig

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for HttpsConfig

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for HttpsConfig

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Serialize for HttpsConfig

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -40,6 +40,6 @@ V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where +[WithDispatch] wrapper. Read more

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_dns_server/server/fn.run_with_config_until_ctrl_c.html b/pr/2937/docs/iroh_dns_server/server/fn.run_with_config_until_ctrl_c.html index fcbc9fc62d..14fc14e451 100644 --- a/pr/2937/docs/iroh_dns_server/server/fn.run_with_config_until_ctrl_c.html +++ b/pr/2937/docs/iroh_dns_server/server/fn.run_with_config_until_ctrl_c.html @@ -1,2 +1,2 @@ -run_with_config_until_ctrl_c in iroh_dns_server::server - Rust
    pub async fn run_with_config_until_ctrl_c(config: Config) -> Result<()>
    Expand description

    Spawn the server and run until the Ctrl-C signal is received, then shutdown.

    +run_with_config_until_ctrl_c in iroh_dns_server::server - Rust
    pub async fn run_with_config_until_ctrl_c(config: Config) -> Result<()>
    Expand description

    Spawn the server and run until the Ctrl-C signal is received, then shutdown.

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_dns_server/server/struct.Server.html b/pr/2937/docs/iroh_dns_server/server/struct.Server.html index 53006f396b..bdd9cf7203 100644 --- a/pr/2937/docs/iroh_dns_server/server/struct.Server.html +++ b/pr/2937/docs/iroh_dns_server/server/struct.Server.html @@ -1,13 +1,13 @@ Server in iroh_dns_server::server - Rust

    Struct iroh_dns_server::server::Server

    source ·
    pub struct Server { /* private fields */ }
    Expand description

    The iroh-dns server.

    -

    Implementations§

    source§

    impl Server

    source

    pub async fn spawn(config: Config, store: ZoneStore) -> Result<Self>

    Spawn the server.

    +

    Implementations§

    source§

    impl Server

    source

    pub async fn spawn(config: Config, store: ZoneStore) -> Result<Self>

    Spawn the server.

    This will spawn several background tasks:

    • A DNS server task
    • A HTTP server task, if config.http is not empty
    • A HTTPS server task, if config.https is not empty
    -
    source

    pub async fn shutdown(self) -> Result<()>

    Cancel the server tasks and wait for all tasks to complete.

    -
    source

    pub async fn run_until_error(self) -> Result<()>

    Wait for all tasks to complete.

    +
    source

    pub async fn shutdown(self) -> Result<()>

    Cancel the server tasks and wait for all tasks to complete.

    +
    source

    pub async fn run_until_error(self) -> Result<()>

    Wait for all tasks to complete.

    This will run forever unless all tasks close with an error, or Self::cancel is called.

    Auto Trait Implementations§

    §

    impl Freeze for Server

    §

    impl !RefUnwindSafe for Server

    §

    impl Send for Server

    §

    impl Sync for Server

    §

    impl Unpin for Server

    §

    impl !UnwindSafe for Server

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where diff --git a/pr/2937/docs/iroh_dns_server/struct.ZoneStore.html b/pr/2937/docs/iroh_dns_server/struct.ZoneStore.html index 050a829240..21326749c4 100644 --- a/pr/2937/docs/iroh_dns_server/struct.ZoneStore.html +++ b/pr/2937/docs/iroh_dns_server/struct.ZoneStore.html @@ -4,8 +4,8 @@ cache used for resolving DNS queries.

    Implementations§

    source§

    impl ZoneStore

    source

    pub fn persistent( path: impl AsRef<Path>, options: ZoneStoreOptions -) -> Result<Self>

    Create a persistent store

    -
    source

    pub fn in_memory(options: ZoneStoreOptions) -> Result<Self>

    Create an in-memory store.

    +) -> Result<Self>

    Create a persistent store

    +
    source

    pub fn in_memory(options: ZoneStoreOptions) -> Result<Self>

    Create an in-memory store.

    source

    pub fn with_mainline_fallback(self, bootstrap: BootstrapOption) -> Self

    Configure a pkarr client for resolution of packets from the bittorrent mainline DHT.

    This will be used only as a fallback if there is no local info available.

    Optionally set custom bootstrap nodes. If bootstrap is empty it will use the default @@ -16,16 +16,16 @@ mainline bootstrap nodes.

    pubkey: &PublicKeyBytes, name: &Name, record_type: RecordType -) -> Result<Option<Arc<RecordSet>>>

    Resolve a DNS query.

    +) -> Result<Option<Arc<RecordSet>>>

    Resolve a DNS query.

    source

    pub async fn get_signed_packet( &self, pubkey: &PublicKeyBytes -) -> Result<Option<SignedPacket>>

    Get the latest signed packet for a pubkey.

    +) -> Result<Option<SignedPacket>>

    Get the latest signed packet for a pubkey.

    source

    pub async fn insert( &self, signed_packet: SignedPacket, _source: PacketSource -) -> Result<bool>

    Insert a signed packet into the cache and the store.

    +) -> Result<bool>

    Insert a signed packet into the cache and the store.

    Returns whether this produced an update, i.e. whether the packet is the newest for its pubkey.

    Trait Implementations§

    source§

    impl Clone for ZoneStore

    source§

    fn clone(&self) -> ZoneStore

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ZoneStore

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where diff --git a/pr/2937/docs/iroh_net_bench/enum.EndpointSelector.html b/pr/2937/docs/iroh_net_bench/enum.EndpointSelector.html index 4941828d81..b515dd4de4 100644 --- a/pr/2937/docs/iroh_net_bench/enum.EndpointSelector.html +++ b/pr/2937/docs/iroh_net_bench/enum.EndpointSelector.html @@ -1,7 +1,7 @@ EndpointSelector in iroh_net_bench - Rust

    Enum iroh_net_bench::EndpointSelector

    source ·
    pub enum EndpointSelector {
         Iroh(Endpoint),
         Quinn(Endpoint),
    -}

    Variants§

    §

    Iroh(Endpoint)

    §

    Quinn(Endpoint)

    Implementations§

    source§

    impl EndpointSelector

    source

    pub async fn close(self) -> Result<()>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Variants§

    §

    Iroh(Endpoint)

    §

    Quinn(Endpoint)

    Implementations§

    source§

    impl EndpointSelector

    source

    pub async fn close(self) -> Result<()>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( diff --git a/pr/2937/docs/iroh_net_bench/fn.client_handler.html b/pr/2937/docs/iroh_net_bench/fn.client_handler.html index ccefbbfa3c..fbc61afb47 100644 --- a/pr/2937/docs/iroh_net_bench/fn.client_handler.html +++ b/pr/2937/docs/iroh_net_bench/fn.client_handler.html @@ -2,5 +2,5 @@ endpoint: EndpointSelector, connection: ConnectionSelector, opt: Opt -) -> Result<ClientStats>
    Expand description

    Take the provided endpoint and run the client benchmark

    +) -> Result<ClientStats>
    Expand description

    Take the provided endpoint and run the client benchmark

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_net_bench/iroh/fn.client.html b/pr/2937/docs/iroh_net_bench/iroh/fn.client.html index 420bfabab6..712dfd19fa 100644 --- a/pr/2937/docs/iroh_net_bench/iroh/fn.client.html +++ b/pr/2937/docs/iroh_net_bench/iroh/fn.client.html @@ -2,5 +2,5 @@ server_addr: NodeAddr, relay_url: Option<RelayUrl>, opt: Opt -) -> Result<ClientStats>
    Expand description

    Create and run a client

    +) -> Result<ClientStats>
    Expand description

    Create and run a client

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_net_bench/iroh/fn.connect_client.html b/pr/2937/docs/iroh_net_bench/iroh/fn.connect_client.html index f74bea554b..a37ad4a9a6 100644 --- a/pr/2937/docs/iroh_net_bench/iroh/fn.connect_client.html +++ b/pr/2937/docs/iroh_net_bench/iroh/fn.connect_client.html @@ -2,5 +2,5 @@ server_addr: NodeAddr, relay_url: Option<RelayUrl>, opt: Opt -) -> Result<(Endpoint, Connection)>
    Expand description

    Create a client endpoint and client connection

    +) -> Result<(Endpoint, Connection)>
    Expand description

    Create a client endpoint and client connection

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_net_bench/iroh/fn.handle_client_stream.html b/pr/2937/docs/iroh_net_bench/iroh/fn.handle_client_stream.html index 63c07da5b2..8807bb1f97 100644 --- a/pr/2937/docs/iroh_net_bench/iroh/fn.handle_client_stream.html +++ b/pr/2937/docs/iroh_net_bench/iroh/fn.handle_client_stream.html @@ -2,4 +2,4 @@ connection: &Connection, upload_size: u64, read_unordered: bool -) -> Result<(TransferResult, TransferResult)> \ No newline at end of file +) -> Result<(TransferResult, TransferResult)> \ No newline at end of file diff --git a/pr/2937/docs/iroh_net_bench/iroh/fn.server.html b/pr/2937/docs/iroh_net_bench/iroh/fn.server.html index f1380aaebe..2b30713632 100644 --- a/pr/2937/docs/iroh_net_bench/iroh/fn.server.html +++ b/pr/2937/docs/iroh_net_bench/iroh/fn.server.html @@ -1,2 +1,2 @@ -server in iroh_net_bench::iroh - Rust

    Function iroh_net_bench::iroh::server

    source ·
    pub async fn server(endpoint: Endpoint, opt: Opt) -> Result<()>
    Expand description

    Take the provided endpoint and run the server

    +server in iroh_net_bench::iroh - Rust

    Function iroh_net_bench::iroh::server

    source ·
    pub async fn server(endpoint: Endpoint, opt: Opt) -> Result<()>
    Expand description

    Take the provided endpoint and run the server

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_net_bench/quinn/fn.client.html b/pr/2937/docs/iroh_net_bench/quinn/fn.client.html index 37658cd6fe..45e9aad30e 100644 --- a/pr/2937/docs/iroh_net_bench/quinn/fn.client.html +++ b/pr/2937/docs/iroh_net_bench/quinn/fn.client.html @@ -1,2 +1,2 @@ -client in iroh_net_bench::quinn - Rust

    Function iroh_net_bench::quinn::client

    source ·
    pub async fn client(server_addr: SocketAddr, opt: Opt) -> Result<ClientStats>
    Expand description

    Create and run a client

    +client in iroh_net_bench::quinn - Rust

    Function iroh_net_bench::quinn::client

    source ·
    pub async fn client(server_addr: SocketAddr, opt: Opt) -> Result<ClientStats>
    Expand description

    Create and run a client

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_net_bench/quinn/fn.connect_client.html b/pr/2937/docs/iroh_net_bench/quinn/fn.connect_client.html index 6a646661e8..08112be877 100644 --- a/pr/2937/docs/iroh_net_bench/quinn/fn.connect_client.html +++ b/pr/2937/docs/iroh_net_bench/quinn/fn.connect_client.html @@ -1,5 +1,5 @@ connect_client in iroh_net_bench::quinn - Rust

    Function iroh_net_bench::quinn::connect_client

    source ·
    pub async fn connect_client(
         server_addr: SocketAddr,
         opt: Opt
    -) -> Result<(Endpoint, Connection)>
    Expand description

    Create a client endpoint and client connection

    +) -> Result<(Endpoint, Connection)>
    Expand description

    Create a client endpoint and client connection

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_net_bench/quinn/fn.handle_client_stream.html b/pr/2937/docs/iroh_net_bench/quinn/fn.handle_client_stream.html index 26ab3e7012..d633bad3cc 100644 --- a/pr/2937/docs/iroh_net_bench/quinn/fn.handle_client_stream.html +++ b/pr/2937/docs/iroh_net_bench/quinn/fn.handle_client_stream.html @@ -2,4 +2,4 @@ connection: &Connection, upload_size: u64, read_unordered: bool -) -> Result<(TransferResult, TransferResult)>
    \ No newline at end of file +) -> Result<(TransferResult, TransferResult)>
    \ No newline at end of file diff --git a/pr/2937/docs/iroh_net_bench/quinn/fn.server.html b/pr/2937/docs/iroh_net_bench/quinn/fn.server.html index 5ad3ecf9e6..b486d221b7 100644 --- a/pr/2937/docs/iroh_net_bench/quinn/fn.server.html +++ b/pr/2937/docs/iroh_net_bench/quinn/fn.server.html @@ -1,2 +1,2 @@ -server in iroh_net_bench::quinn - Rust

    Function iroh_net_bench::quinn::server

    source ·
    pub async fn server(endpoint: Endpoint, opt: Opt) -> Result<()>
    Expand description

    Take the provided endpoint and run the server

    +server in iroh_net_bench::quinn - Rust

    Function iroh_net_bench::quinn::server

    source ·
    pub async fn server(endpoint: Endpoint, opt: Opt) -> Result<()>
    Expand description

    Take the provided endpoint and run the server

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_net_report/struct.Client.html b/pr/2937/docs/iroh_net_report/struct.Client.html index 8ddbc8d0b2..b632ec0ce8 100644 --- a/pr/2937/docs/iroh_net_report/struct.Client.html +++ b/pr/2937/docs/iroh_net_report/struct.Client.html @@ -8,7 +8,7 @@ If all

    Implementations§

    source§

    impl Client

    source

    pub fn new( port_mapper: Option<Client>, dns_resolver: DnsResolver -) -> Result<Self>

    Creates a new net_report client.

    +) -> Result<Self>

    Creates a new net_report client.

    This starts a connected actor in the background. Once the client is dropped it will stop running.

    source

    pub fn addr(&self) -> Addr

    Returns a new address to send messages to this actor.

    @@ -19,7 +19,7 @@ allows sending messages to the actor.

    dm: RelayMap, stun_conn4: Option<Arc<UdpSocket>>, stun_conn6: Option<Arc<UdpSocket>> -) -> Result<Arc<Report>>

    Runs a net_report, returning the report.

    +) -> Result<Arc<Report>>

    Runs a net_report, returning the report.

    It may not be called concurrently with itself, &mut self takes care of that.

    The stun_conn4 and stun_conn6 endpoints are bound UDP sockets to use to send out STUN packets. This function will not read from the sockets, as they may be @@ -34,7 +34,7 @@ may not be as reliable.

    dm: RelayMap, stun_conn4: Option<Arc<UdpSocket>>, stun_conn6: Option<Arc<UdpSocket>> -) -> Result<Receiver<Result<Arc<Report>>>>

    Get report with channel

    +) -> Result<Receiver<Result<Arc<Report>>>>

    Get report with channel

    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 diff --git a/pr/2937/docs/iroh_relay/client/enum.ClientError.html b/pr/2937/docs/iroh_relay/client/enum.ClientError.html index a8727f2610..2604017e4e 100644 --- a/pr/2937/docs/iroh_relay/client/enum.ClientError.html +++ b/pr/2937/docs/iroh_relay/client/enum.ClientError.html @@ -1,7 +1,7 @@ ClientError in iroh_relay::client - Rust

    Enum iroh_relay::client::ClientError

    source ·
    pub enum ClientError {
     
    Show 19 variants Closed, Send, - Receive(Error), + Receive(Error), ConnectTimeout, DialIO(Error), IPDisabled, @@ -15,13 +15,13 @@ PingTimeout, PingAborted, InvalidUrl(String), - Dns(Option<Error>), + Dns(Option<Error>), ActorGone, WebsocketError(Error),
    }
    Expand description

    Possible connection errors on the Client

    Variants§

    §

    Closed

    The client is closed

    §

    Send

    There was an error sending a packet

    -
    §

    Receive(Error)

    There was an error receiving a packet

    +
    §

    Receive(Error)

    There was an error receiving a packet

    §

    ConnectTimeout

    There was a connection timeout error

    §

    DialIO(Error)

    There was an error dialing

    §

    IPDisabled

    Both IPv4 and IPv6 are disabled for this relay node

    @@ -34,11 +34,11 @@
    §

    Build(String)

    The relay super::client::Client failed to build

    §

    PingTimeout

    The ping request timed out

    §

    PingAborted

    The ping request was aborted

    -
    §

    InvalidUrl(String)

    The given Url is invalid

    -
    §

    Dns(Option<Error>)

    There was an error with DNS resolution

    +
    §

    InvalidUrl(String)

    The given Url is invalid

    +
    §

    Dns(Option<Error>)

    There was an error with DNS resolution

    §

    ActorGone

    The inner actor is gone, likely means things are shutdown.

    §

    WebsocketError(Error)

    An error related to websockets, either errors with parsing ws messages or the handshake

    -

    Trait Implementations§

    source§

    impl Debug for ClientError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for ClientError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for ClientError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<Error> for ClientError

    source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<Error> for ClientError

    source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<Error> for ClientError

    source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<Error> for ClientError

    source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Debug for ClientError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for ClientError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for ClientError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<Error> for ClientError

    source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<Error> for ClientError

    source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<Error> for ClientError

    source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<Error> for ClientError

    source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( diff --git a/pr/2937/docs/iroh_relay/client/struct.ClientBuilder.html b/pr/2937/docs/iroh_relay/client/struct.ClientBuilder.html index 455a5601a3..01a2e34297 100644 --- a/pr/2937/docs/iroh_relay/client/struct.ClientBuilder.html +++ b/pr/2937/docs/iroh_relay/client/struct.ClientBuilder.html @@ -15,7 +15,7 @@ to the peer with this client’s [PublicKey]

    source

    pub fn is_prober(self, is: bool) -> Self

    Indicates this client is a prober

    source

    pub fn insecure_skip_cert_verify(self, skip: bool) -> Self

    Available on test or crate feature test-utils only.

    Skip the verification of the relay server’s SSL certificates.

    May only be used in tests.

    -
    source

    pub fn proxy_url(self, url: Url) -> Self

    Set an explicit proxy url to proxy all HTTP(S) traffic through.

    +
    source

    pub fn proxy_url(self, url: Url) -> Self

    Set an explicit proxy url to proxy all HTTP(S) traffic through.

    source

    pub fn build( self, key: SecretKey, diff --git a/pr/2937/docs/iroh_relay/protos/stun/enum.Error.html b/pr/2937/docs/iroh_relay/protos/stun/enum.Error.html index 92f05fcfb0..3d0c3fefe2 100644 --- a/pr/2937/docs/iroh_relay/protos/stun/enum.Error.html +++ b/pr/2937/docs/iroh_relay/protos/stun/enum.Error.html @@ -12,7 +12,7 @@

    §

    MalformedAttrs

    STUN response has malformed attributes.

    §

    NoFingerprint

    STUN request didn’t end in fingerprint.

    §

    InvalidFingerprint

    STUN request had bogus fingerprint.

    -

    Trait Implementations§

    source§

    impl Debug for Error

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for Error

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for Error

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Error

    §

    impl RefUnwindSafe for Error

    §

    impl Send for Error

    §

    impl Sync for Error

    §

    impl Unpin for Error

    §

    impl UnwindSafe for Error

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Debug for Error

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for Error

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for Error

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Error

    §

    impl RefUnwindSafe for Error

    §

    impl Send for Error

    §

    impl Sync for Error

    §

    impl Unpin for Error

    §

    impl UnwindSafe for Error

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( diff --git a/pr/2937/docs/iroh_relay/protos/stun/enum.StunAttribute.html b/pr/2937/docs/iroh_relay/protos/stun/enum.StunAttribute.html index 6d6c0e9e67..22bb0740e2 100644 --- a/pr/2937/docs/iroh_relay/protos/stun/enum.StunAttribute.html +++ b/pr/2937/docs/iroh_relay/protos/stun/enum.StunAttribute.html @@ -115,7 +115,7 @@

    pub fn expect_xor_mapped_address(&self) -> &XorMappedAddress

    Returns a reference to the XorMappedAddress attribute.

    §Panics

    Panics if the attribute is not an XorMappedAddress

    -

    Trait Implementations§

    §

    impl Clone for StunAttribute

    §

    fn clone(&self) -> StunAttribute

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for StunAttribute

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl From<AlternateServer> for StunAttribute

    §

    fn from(value: AlternateServer) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<ErrorCode> for StunAttribute

    §

    fn from(value: ErrorCode) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<Fingerprint> for StunAttribute

    §

    fn from(value: Fingerprint) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<MappedAddress> for StunAttribute

    §

    fn from(value: MappedAddress) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<MessageIntegrity> for StunAttribute

    §

    fn from(value: MessageIntegrity) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<MessageIntegritySha256> for StunAttribute

    §

    fn from(value: MessageIntegritySha256) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<Nonce> for StunAttribute

    §

    fn from(value: Nonce) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<PasswordAlgorithm> for StunAttribute

    §

    fn from(value: PasswordAlgorithm) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<PasswordAlgorithms> for StunAttribute

    §

    fn from(value: PasswordAlgorithms) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<Realm> for StunAttribute

    §

    fn from(value: Realm) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<Software> for StunAttribute

    §

    fn from(value: Software) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<Unknown> for StunAttribute

    §

    fn from(value: Unknown) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<UnknownAttributes> for StunAttribute

    §

    fn from(value: UnknownAttributes) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<UserHash> for StunAttribute

    §

    fn from(value: UserHash) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<UserName> for StunAttribute

    §

    fn from(value: UserName) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<XorMappedAddress> for StunAttribute

    §

    fn from(value: XorMappedAddress) -> StunAttribute

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    §

    impl Clone for StunAttribute

    §

    fn clone(&self) -> StunAttribute

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for StunAttribute

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl From<AlternateServer> for StunAttribute

    §

    fn from(value: AlternateServer) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<ErrorCode> for StunAttribute

    §

    fn from(value: ErrorCode) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<Fingerprint> for StunAttribute

    §

    fn from(value: Fingerprint) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<MappedAddress> for StunAttribute

    §

    fn from(value: MappedAddress) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<MessageIntegrity> for StunAttribute

    §

    fn from(value: MessageIntegrity) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<MessageIntegritySha256> for StunAttribute

    §

    fn from(value: MessageIntegritySha256) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<Nonce> for StunAttribute

    §

    fn from(value: Nonce) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<PasswordAlgorithm> for StunAttribute

    §

    fn from(value: PasswordAlgorithm) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<PasswordAlgorithms> for StunAttribute

    §

    fn from(value: PasswordAlgorithms) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<Realm> for StunAttribute

    §

    fn from(value: Realm) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<Software> for StunAttribute

    §

    fn from(value: Software) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<Unknown> for StunAttribute

    §

    fn from(value: Unknown) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<UnknownAttributes> for StunAttribute

    §

    fn from(value: UnknownAttributes) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<UserHash> for StunAttribute

    §

    fn from(value: UserHash) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<UserName> for StunAttribute

    §

    fn from(value: UserName) -> StunAttribute

    Converts to this type from the input type.
    §

    impl From<XorMappedAddress> for StunAttribute

    §

    fn from(value: XorMappedAddress) -> StunAttribute

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( diff --git a/pr/2937/docs/iroh_relay/quic/struct.QuicClient.html b/pr/2937/docs/iroh_relay/quic/struct.QuicClient.html index 0e18e83a5f..54c15e3546 100644 --- a/pr/2937/docs/iroh_relay/quic/struct.QuicClient.html +++ b/pr/2937/docs/iroh_relay/quic/struct.QuicClient.html @@ -1,11 +1,11 @@ QuicClient in iroh_relay::quic - Rust

    Struct iroh_relay::quic::QuicClient

    source ·
    pub struct QuicClient { /* private fields */ }
    Expand description

    Handles the client side of QUIC address discovery.

    -

    Implementations§

    source§

    impl QuicClient

    source

    pub fn new(ep: Endpoint, client_config: ClientConfig) -> Result<Self>

    Create a new QuicClient to handle the client side of QUIC +

    Implementations§

    source§

    impl QuicClient

    source

    pub fn new(ep: Endpoint, client_config: ClientConfig) -> Result<Self>

    Create a new QuicClient to handle the client side of QUIC address discovery.

    source

    pub async fn get_addr_and_latency( &self, server_addr: SocketAddr, host: &str -) -> Result<(SocketAddr, Duration)>

    Client side of QUIC address discovery.

    +) -> Result<(SocketAddr, Duration)>

    Client side of QUIC address discovery.

    Creates a connection and returns the observed address and estimated latency of the connection.

    Consumes and gracefully closes the connection.

    diff --git a/pr/2937/docs/iroh_relay/server/struct.Server.html b/pr/2937/docs/iroh_relay/server/struct.Server.html index edccf77973..e0fb62abc0 100644 --- a/pr/2937/docs/iroh_relay/server/struct.Server.html +++ b/pr/2937/docs/iroh_relay/server/struct.Server.html @@ -1,12 +1,12 @@ Server in iroh_relay::server - Rust

    Struct iroh_relay::server::Server

    source ·
    pub struct Server { /* private fields */ }
    Available on crate feature server only.
    Expand description

    A running Relay + STUN server.

    This is a full Relay server, including STUN, Relay and various associated HTTP services.

    Dropping this will stop the server.

    -

    Implementations§

    source§

    impl Server

    source

    pub async fn spawn<EC, EA>(config: ServerConfig<EC, EA>) -> Result<Self>
    where +

    Implementations§

    source§

    impl Server

    source

    pub async fn spawn<EC, EA>(config: ServerConfig<EC, EA>) -> Result<Self>
    where EC: Debug + 'static, EA: Debug + 'static,

    Starts the server.

    -
    source

    pub async fn shutdown(self) -> Result<()>

    Requests graceful shutdown.

    +
    source

    pub async fn shutdown(self) -> Result<()>

    Requests graceful shutdown.

    Returns once all server tasks have stopped.

    -
    source

    pub fn task_handle(&mut self) -> &mut AbortOnDropHandle<Result<()>>

    Returns the handle for the task.

    +
    source

    pub fn task_handle(&mut self) -> &mut AbortOnDropHandle<Result<()>>

    Returns the handle for the task.

    This allows waiting for the server’s supervisor task to finish. Can be useful in case there is an error in the server before it is shut down.

    source

    pub fn https_addr(&self) -> Option<SocketAddr>

    The socket address the HTTPS server is listening on.

    diff --git a/pr/2937/docs/iroh_relay/struct.RelayConn.html b/pr/2937/docs/iroh_relay/struct.RelayConn.html index 43b0487d4f..3dcff3d4c3 100644 --- a/pr/2937/docs/iroh_relay/struct.RelayConn.html +++ b/pr/2937/docs/iroh_relay/struct.RelayConn.html @@ -1,12 +1,12 @@ RelayConn in iroh_relay - Rust

    Struct iroh_relay::RelayConn

    source ·
    pub struct RelayConn { /* private fields */ }
    Expand description

    A connection to a relay server.

    Cheaply clonable. Call close to shut down the write loop and read functionality.

    -

    Implementations§

    source§

    impl Conn

    source

    pub async fn send(&self, dst: NodeId, packet: Bytes) -> Result<()>

    Sends a packet to the node identified by dstkey

    +

    Implementations§

    source§

    impl Conn

    source

    pub async fn send(&self, dst: NodeId, packet: Bytes) -> Result<()>

    Sends a packet to the node identified by dstkey

    Errors if the packet is larger than MAX_PACKET_SIZE

    -
    source

    pub async fn send_ping(&self, data: [u8; 8]) -> Result<()>

    Send a ping with 8 bytes of random data.

    -
    source

    pub async fn send_pong(&self, data: [u8; 8]) -> Result<()>

    Respond to a ping request. The data field should be filled +

    source

    pub async fn send_ping(&self, data: [u8; 8]) -> Result<()>

    Send a ping with 8 bytes of random data.

    +
    source

    pub async fn send_pong(&self, data: [u8; 8]) -> Result<()>

    Respond to a ping request. The data field should be filled by the 8 bytes of random data send by the ping.

    -
    source

    pub async fn note_preferred(&self, preferred: bool) -> Result<()>

    Sends a packet that tells the server whether this +

    source

    pub async fn note_preferred(&self, preferred: bool) -> Result<()>

    Sends a packet that tells the server whether this connection is to the user’s preferred server. This is only used in the server for stats.

    source

    pub fn local_addr(&self) -> Option<SocketAddr>

    The local address that the Conn is listening on.

    diff --git a/pr/2937/docs/iroh_relay/struct.RelayUrl.html b/pr/2937/docs/iroh_relay/struct.RelayUrl.html index 9c91c21a39..0b29e04a85 100644 --- a/pr/2937/docs/iroh_relay/struct.RelayUrl.html +++ b/pr/2937/docs/iroh_relay/struct.RelayUrl.html @@ -1,5 +1,5 @@ RelayUrl in iroh_relay - Rust

    Struct iroh_relay::RelayUrl

    pub struct RelayUrl(/* private fields */);
    Expand description

    A URL identifying a relay server.

    -

    This is but a wrapper around Url, with a few custom tweaks:

    +

    This is but a wrapper around Url, with a few custom tweaks:

    • A relay URL is never a relative URL, so an implicit . is added at the end of the @@ -11,7 +11,7 @@ Useful when logging e.g. Option<RelayUrl>.

    To create a RelayUrl use the From<Url> implementation.

    -

    Methods from Deref<Target = Url>§

    source

    pub fn join(&self, input: &str) -> Result<Url, ParseError>

    Parse a string as an URL, with this URL as the base URL.

    +

    Methods from Deref<Target = Url>§

    source

    pub fn join(&self, input: &str) -> Result<Url, ParseError>

    Parse a string as an URL, with this URL as the base URL.

    The inverse of this is make_relative.

    §Notes
      @@ -47,7 +47,7 @@ as input replaces everything in the base URL after the scheme.
      §Errors

      If the function can not parse an URL from the given string with this URL as the base URL, a ParseError variant will be returned.

      -
    source

    pub fn make_relative(&self, url: &Url) -> Option<String>

    Creates a relative URL if possible, with this URL as the base URL.

    +
    source

    pub fn make_relative(&self, url: &Url) -> Option<String>

    Creates a relative URL if possible, with this URL as the base URL.

    This is the inverse of join.

    §Examples
    use url::Url;
    @@ -74,7 +74,7 @@ with this URL as the base URL, a ParseError
     
    §Errors

    If this URL can’t be a base for the given URL, None is returned. This is for example the case if the scheme, host or port are not the same.

    -
    source

    pub fn as_str(&self) -> &str

    Return the serialization of this URL.

    +
    source

    pub fn as_str(&self) -> &str

    Return the serialization of this URL.

    This is fast since that serialization is already stored in the Url struct.

    §Examples
    use url::Url;
    @@ -82,7 +82,7 @@ This is for example the case if the scheme, host or port are not the same.

    let url_str = "https://example.net/"; let url = Url::parse(url_str)?; assert_eq!(url.as_str(), url_str);
    -
    source

    pub fn origin(&self) -> Origin

    Return the origin of this URL (https://url.spec.whatwg.org/#origin)

    +
    source

    pub fn origin(&self) -> Origin

    Return the origin of this URL (https://url.spec.whatwg.org/#origin)

    Note: this returns an opaque origin for file: URLs, which causes url.origin() != url.origin().

    §Examples
    @@ -119,20 +119,20 @@ This is for example the case if the scheme, host or port are not the same.

    let url = Url::parse("foo:bar")?; assert!(!url.origin().is_tuple());
    -
    source

    pub fn scheme(&self) -> &str

    Return the scheme of this URL, lower-cased, as an ASCII string without the ‘:’ delimiter.

    +
    source

    pub fn scheme(&self) -> &str

    Return the scheme of this URL, lower-cased, as an ASCII string without the ‘:’ delimiter.

    §Examples
    use url::Url;
     
     let url = Url::parse("file:///tmp/foo")?;
     assert_eq!(url.scheme(), "file");
    -
    source

    pub fn is_special(&self) -> bool

    Return whether the URL is special (has a special scheme)

    +
    source

    pub fn is_special(&self) -> bool

    Return whether the URL is special (has a special scheme)

    §Examples
    use url::Url;
     
     assert!(Url::parse("http:///tmp/foo")?.is_special());
     assert!(Url::parse("file:///tmp/foo")?.is_special());
     assert!(!Url::parse("moz:///tmp/foo")?.is_special());
    -
    source

    pub fn has_authority(&self) -> bool

    Return whether the URL has an ‘authority’, +

    source

    pub fn has_authority(&self) -> bool

    Return whether the URL has an ‘authority’, which can contain a username, password, host, and port number.

    URLs that do not are either path-only like unix:/run/foo.socket or cannot-be-a-base like data:text/plain,Stuff.

    @@ -148,7 +148,7 @@ or cannot-be-a-base like data:text/plain,Stuff.

    let url = Url::parse("data:text/plain,Stuff")?; assert!(!url.has_authority());
    -
    source

    pub fn authority(&self) -> &str

    Return the authority of this URL as an ASCII string.

    +
    source

    pub fn authority(&self) -> &str

    Return the authority of this URL as an ASCII string.

    Non-ASCII domains are punycode-encoded per IDNA if this is the host of a special URL, or percent encoded for non-special URLs. IPv6 addresses are given between [ and ] brackets. @@ -168,7 +168,7 @@ Ports are omitted if they match the well known port of a special URL.

    assert_eq!(url.authority(), "%C3%A0lex.%D1%80%D1%84.example.com:6667"); let url = Url::parse("http://àlex.рф.example.com:80/foo")?; assert_eq!(url.authority(), "xn--lex-8ka.xn--p1ai.example.com");
    -
    source

    pub fn cannot_be_a_base(&self) -> bool

    Return whether this URL is a cannot-be-a-base URL, +

    source

    pub fn cannot_be_a_base(&self) -> bool

    Return whether this URL is a cannot-be-a-base URL, meaning that parsing a relative URL string with this URL as the base will return an error.

    This is the case if the scheme and : delimiter are not followed by a / slash, as is typically the case of data: and mailto: URLs.

    @@ -183,7 +183,7 @@ as is typically the case of data: and mailto: URLs.

    let url = Url::parse("data:text/plain,Stuff")?; assert!(url.cannot_be_a_base());
    -
    source

    pub fn username(&self) -> &str

    Return the username for this URL (typically the empty string) +

    source

    pub fn username(&self) -> &str

    Return the username for this URL (typically the empty string) as a percent-encoded ASCII string.

    §Examples
    use url::Url;
    @@ -196,7 +196,7 @@ as a percent-encoded ASCII string.

    let url = Url::parse("https://example.com")?; assert_eq!(url.username(), "");
    -
    source

    pub fn password(&self) -> Option<&str>

    Return the password for this URL, if any, as a percent-encoded ASCII string.

    +
    source

    pub fn password(&self) -> Option<&str>

    Return the password for this URL, if any, as a percent-encoded ASCII string.

    §Examples
    use url::Url;
     
    @@ -211,7 +211,7 @@ as a percent-encoded ASCII string.

    let url = Url::parse("https://example.com")?; assert_eq!(url.password(), None);
    -
    source

    pub fn has_host(&self) -> bool

    Equivalent to url.host().is_some().

    +
    source

    pub fn has_host(&self) -> bool

    Equivalent to url.host().is_some().

    §Examples
    use url::Url;
     
    @@ -223,7 +223,7 @@ as a percent-encoded ASCII string.

    let url = Url::parse("data:text/plain,Stuff")?; assert!(!url.has_host());
    -
    source

    pub fn host_str(&self) -> Option<&str>

    Return the string representation of the host (domain or IP address) for this URL, if any.

    +
    source

    pub fn host_str(&self) -> Option<&str>

    Return the string representation of the host (domain or IP address) for this URL, if any.

    Non-ASCII domains are punycode-encoded per IDNA if this is the host of a special URL, or percent encoded for non-special URLs. IPv6 addresses are given between [ and ] brackets.

    @@ -244,7 +244,7 @@ don’t have a host.

    let url = Url::parse("data:text/plain,Stuff")?; assert_eq!(url.host_str(), None);
    -
    source

    pub fn host(&self) -> Option<Host<&str>>

    Return the parsed representation of the host for this URL. +

    source

    pub fn host(&self) -> Option<Host<&str>>

    Return the parsed representation of the host for this URL. Non-ASCII domain labels are punycode-encoded per IDNA if this is the host of a special URL, or percent encoded for non-special URLs.

    Cannot-be-a-base URLs (typical of data: and mailto:) and some file: URLs @@ -264,7 +264,7 @@ don’t have a host.

    let url = Url::parse("data:text/plain,Stuff")?; assert!(url.host().is_none());
    -
    source

    pub fn domain(&self) -> Option<&str>

    If this URL has a host and it is a domain name (not an IP address), return it. +

    source

    pub fn domain(&self) -> Option<&str>

    If this URL has a host and it is a domain name (not an IP address), return it. Non-ASCII domains are punycode-encoded per IDNA if this is the host of a special URL, or percent encoded for non-special URLs.

    §Examples
    @@ -278,7 +278,7 @@ of a special URL, or percent encoded for non-special URLs.

    let url = Url::parse("https://example.com/")?; assert_eq!(url.domain(), Some("example.com"));
    -
    source

    pub fn port(&self) -> Option<u16>

    Return the port number for this URL, if any.

    +
    source

    pub fn port(&self) -> Option<u16>

    Return the port number for this URL, if any.

    Note that default port numbers are never reflected by the serialization, use the port_or_known_default() method if you want a default port number returned.

    §Examples
    @@ -292,7 +292,7 @@ use the port_or_known_default() method if you want a default port n let url = Url::parse("ssh://example.com:22")?; assert_eq!(url.port(), Some(22));
    -
    source

    pub fn port_or_known_default(&self) -> Option<u16>

    Return the port number for this URL, or the default port number if it is known.

    +
    source

    pub fn port_or_known_default(&self) -> Option<u16>

    Return the port number for this URL, or the default port number if it is known.

    This method only knows the default port number of the http, https, ws, wss and ftp schemes.

    For URLs in these schemes, this method always returns Some(_). @@ -308,7 +308,7 @@ For other schemes, it is the same as Url::port().

    let url = Url::parse("https://example.com")?; assert_eq!(url.port_or_known_default(), Some(443));
    -
    source

    pub fn socket_addrs( +

    source

    pub fn socket_addrs( &self, default_port_number: impl Fn() -> Option<u16> ) -> Result<Vec<SocketAddr>, Error>

    Resolve a URL’s host and port number to SocketAddr.

    @@ -329,7 +329,7 @@ std::net::TcpStream::connect(&*addrs) _ => None, }) }
    -
    source

    pub fn path(&self) -> &str

    Return the path for this URL, as a percent-encoded ASCII string. +

    source

    pub fn path(&self) -> &str

    Return the path for this URL, as a percent-encoded ASCII string. For cannot-be-a-base URLs, this is an arbitrary string that doesn’t start with ‘/’. For other URLs, this starts with a ‘/’ slash and continues with slash-separated path segments.

    @@ -344,7 +344,7 @@ and continues with slash-separated path segments.

    let url = Url::parse("https://example.com/countries/việt nam")?; assert_eq!(url.path(), "/countries/vi%E1%BB%87t%20nam");
    -
    source

    pub fn path_segments(&self) -> Option<Split<'_, char>>

    Unless this URL is cannot-be-a-base, +

    source

    pub fn path_segments(&self) -> Option<Split<'_, char>>

    Unless this URL is cannot-be-a-base, return an iterator of ‘/’ slash-separated path segments, each as a percent-encoded ASCII string.

    Return None for cannot-be-a-base URLs.

    @@ -372,7 +372,7 @@ each as a percent-encoded ASCII string.

    let mut path_segments = url.path_segments().ok_or_else(|| "cannot be base")?; assert_eq!(path_segments.next(), Some("countries")); assert_eq!(path_segments.next(), Some("vi%E1%BB%87t%20nam"));
    -
    source

    pub fn query(&self) -> Option<&str>

    Return this URL’s query string, if any, as a percent-encoded ASCII string.

    +
    source

    pub fn query(&self) -> Option<&str>

    Return this URL’s query string, if any, as a percent-encoded ASCII string.

    §Examples
    use url::Url;
     
    @@ -388,7 +388,7 @@ each as a percent-encoded ASCII string.

    let url = Url::parse("https://example.com/?country=español")?; let query = url.query(); assert_eq!(query, Some("country=espa%C3%B1ol"));
    -
    source

    pub fn query_pairs(&self) -> Parse<'_>

    Parse the URL’s query string, if any, as application/x-www-form-urlencoded +

    source

    pub fn query_pairs(&self) -> Parse<'_>

    Parse the URL’s query string, if any, as application/x-www-form-urlencoded and return an iterator of (key, value) pairs.

    §Examples
    use std::borrow::Cow;
    @@ -402,7 +402,7 @@ and return an iterator of (key, value) pairs.

    assert_eq!(pairs.next(), Some((Cow::Borrowed("page"), Cow::Borrowed("2")))); assert_eq!(pairs.next(), Some((Cow::Borrowed("sort"), Cow::Borrowed("desc"))));
    -
    source

    pub fn fragment(&self) -> Option<&str>

    Return this URL’s fragment identifier, if any.

    +
    source

    pub fn fragment(&self) -> Option<&str>

    Return this URL’s fragment identifier, if any.

    A fragment is the part of the URL after the # symbol. The fragment is optional and, if present, contains a fragment identifier that identifies a secondary resource, such as a section heading @@ -422,15 +422,15 @@ but the input may have been percent-encoded already.

    let url = Url::parse("https://example.com/data.csv#cell=4,1-6,2")?; assert_eq!(url.fragment(), Some("cell=4,1-6,2"));
    -
    source

    pub fn serialize_internal<S>( +

    source

    pub fn serialize_internal<S>( &self, serializer: S -) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where - S: Serializer,

    Serialize with Serde using the internal representation of the Url struct.

    +) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where + S: Serializer,

    Serialize with Serde using the internal representation of the Url struct.

    The corresponding deserialize_internal method sacrifices some invariant-checking for speed, compared to the Deserialize trait impl.

    This method is only available if the serde Cargo feature is enabled.

    -
    source

    pub fn to_file_path(&self) -> Result<PathBuf, ()>

    Assuming the URL is in the file scheme or similar, +

    source

    pub fn to_file_path(&self) -> Result<PathBuf, ()>

    Assuming the URL is in the file scheme or similar, convert its path to an absolute std::path::Path.

    Note: This does not actually check the URL’s scheme, and may give nonsensical results for other schemes. @@ -443,16 +443,16 @@ or if Path::new_opt() returns None. (That is, if the percent-decoded path contains a NUL byte or, for a Windows path, is not UTF-8.)

    This method is only available if the std Cargo feature is enabled.

    -

    Trait Implementations§

    §

    impl Clone for RelayUrl

    §

    fn clone(&self) -> RelayUrl

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for RelayUrl

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Deref for RelayUrl

    Dereferences to the wrapped Url.

    +

    Trait Implementations§

    §

    impl Clone for RelayUrl

    §

    fn clone(&self) -> RelayUrl

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for RelayUrl

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Deref for RelayUrl

    Dereferences to the wrapped Url.

    Note that DerefMut is not implemented on purpose, so this type has more flexibility to change the inner later.

    -
    §

    type Target = Url

    The resulting type after dereferencing.
    §

    fn deref(&self) -> &<RelayUrl as Deref>::Target

    Dereferences the value.
    §

    impl<'de> Deserialize<'de> for RelayUrl

    §

    fn deserialize<__D>( +

    §

    type Target = Url

    The resulting type after dereferencing.
    §

    fn deref(&self) -> &<RelayUrl as Deref>::Target

    Dereferences the value.
    §

    impl<'de> Deserialize<'de> for RelayUrl

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<RelayUrl, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Display for RelayUrl

    §

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl From<RelayUrl> for Url

    §

    fn from(value: RelayUrl) -> Url

    Converts to this type from the input type.
    §

    impl From<Url> for RelayUrl

    §

    fn from(url: Url) -> RelayUrl

    Converts to this type from the input type.
    §

    impl FromStr for RelayUrl

    Support for parsing strings directly.

    -

    If you need more control over the error first create a Url and use RelayUrl::from +) -> Result<RelayUrl, <__D as Deserializer<'de>>::Error>

    where + __D: Deserializer<'de>,
    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Display for RelayUrl

    §

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl From<RelayUrl> for Url

    §

    fn from(value: RelayUrl) -> Url

    Converts to this type from the input type.
    §

    impl From<Url> for RelayUrl

    §

    fn from(url: Url) -> RelayUrl

    Converts to this type from the input type.
    §

    impl FromStr for RelayUrl

    Support for parsing strings directly.

    +

    If you need more control over the error first create a Url and use RelayUrl::from instead.

    -
    §

    type Err = Error

    The associated error which can be returned from parsing.
    §

    fn from_str(s: &str) -> Result<RelayUrl, <RelayUrl as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    §

    impl Hash for RelayUrl

    §

    fn hash<__H>(&self, state: &mut __H)
    where +
    §

    type Err = Error

    The associated error which can be returned from parsing.
    §

    fn from_str(s: &str) -> Result<RelayUrl, <RelayUrl as FromStr>::Err>

    Parses a string s to return a value of this type. Read more

    §

    impl Hash for RelayUrl

    §

    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
    §

    impl Ord for RelayUrl

    §

    fn cmp(&self, other: &RelayUrl) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where @@ -462,11 +462,11 @@ instead.

    by ==.

    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    §

    impl PartialOrd for RelayUrl

    §

    fn partial_cmp(&self, other: &RelayUrl) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method 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

    This method 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

    This method 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

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    §

    impl Serialize for RelayUrl

    §

    fn serialize<__S>( +operator. Read more

    §

    impl Serialize for RelayUrl

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Eq for RelayUrl

    §

    impl StructuralPartialEq for RelayUrl

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Eq for RelayUrl

    §

    impl StructuralPartialEq for RelayUrl

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -497,6 +497,6 @@ operator.
    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where +[WithDispatch] wrapper. Read more

    source§

    impl<T> DeserializeOwned for T
    where + T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/pr/2937/docs/iroh_test/hexdump/fn.parse_hexdump.html b/pr/2937/docs/iroh_test/hexdump/fn.parse_hexdump.html index 00982b3a72..f3fcf6be6d 100644 --- a/pr/2937/docs/iroh_test/hexdump/fn.parse_hexdump.html +++ b/pr/2937/docs/iroh_test/hexdump/fn.parse_hexdump.html @@ -1,3 +1,3 @@ -parse_hexdump in iroh_test::hexdump - Rust

    Function iroh_test::hexdump::parse_hexdump

    source ·
    pub fn parse_hexdump(s: &str) -> Result<Vec<u8>>
    Expand description

    Parses a commented multi line hexdump into a vector of bytes.

    +parse_hexdump in iroh_test::hexdump - Rust

    Function iroh_test::hexdump::parse_hexdump

    source ·
    pub fn parse_hexdump(s: &str) -> Result<Vec<u8>>
    Expand description

    Parses a commented multi line hexdump into a vector of bytes.

    This is useful to write wire level protocol tests.

    \ No newline at end of file diff --git a/pr/2937/docs/search-index.js b/pr/2937/docs/search-index.js index aa86f57bef..224034f859 100644 --- a/pr/2937/docs/search-index.js +++ b/pr/2937/docs/search-index.js @@ -1,11 +1,11 @@ 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_net_bench"],[8,"anyhow"],[9,"iroh_net_bench::s2n"]],"i":[0,0,0,0,0],"f":"{{b{d{c}}}fh}{{}f}{j{{l{f}}}}0{n{{l{f}}}}","D":"`","p":[[1,"str"],[6,"Option",5],[1,"unit"],[10,"Iterable",6],[5,"Opt",7],[8,"Result",8],[5,"Opt",9]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAAUAAQAAAAUA"}],\ -["iroh",{"t":"FGPEPFIPPFEFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNCNOCCNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNONNNNNNNNCNCNONNNNNCOENONNNNNOOCCCNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNSSSSSCCSSSHHHHSSHHHFNNNNNNNNNNNNNNNNNNNNNNNFKFNNONNNNNNNCNNNNNNNNNNOCOCONNNNCNNNNNNNNNNNFSSNNNNNNNNNNNNFSNNNNNNNNNNNNNSSSSFFFNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNTFNNNNNNNNNNNNNNNNNNIKHMNMNMNMNMNMNMNMNMNMNCHPSGFPFNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNONONNNNNNHNNNNNNNNNNNNNTTFFFFFGPKPFPFFTTTPFPFPPFFFPGPPPPPFGFGKKFKPPPFFGFPPPSFFTTTPFKTTPPFFTPPTTPFTTPFPFFTFPPPPFGPGGFPPPPGFPPGFTTPGFFGPPGFPPTPPPFFPFPFPPFFPFGFFPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONONNNOOONMNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNOOONNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNONONNONNNOONOOOONNNONNNNNNNNNNNHNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNONNNNNNNNNNNONNNOMNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNOOONOOONNNNOOOHNNNONNNOOONNNNNNNNNNNOONNOOONONMNMNMNNNNNNNNNNNNNOOONNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNOONNNNNNNNNOONMNNONMNNNNNNOONNNNNNNNNNNNNNNNNNNNNONNNMNNONOONOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNOOGTFFPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNTPPGISFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFFNNNNOOOOOOOOONNNNNNNNOONNNNNNNNOOONNNNOOOOOONNNNONNNNNNNNONNNNNNNNOOONNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNOOOOOOONNNNOKFFNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFNNNNHNNNNNNNNOONONHHHNNNNNNNNNFPGTPFPKPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNOGPPGPPPNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNHNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["AddrInfo","AddrInfoOptions","Addresses","Endpoint","Id","NodeAddr","NodeId","Relay","RelayAndAddresses","RelayMap","RelayMode","RelayNode","RelayUrl","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","apply_options","apply_options","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","cmp","cmp","compare","compare","compare","compare","contains_node","default","default","default_from_node","defaults","deref","deserialize","deserialize","deserialize","deserialize","deserialize","dialer","direct_addresses","direct_addresses","discovery","dns","empty","endpoint","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from_nodes","from_parts","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_str","from_str","from_url","get_node","hash","hash","info","into","into","into","into","into","into","is_empty","is_empty","key","len","metrics","new","node_id","nodes","partial_cmp","partial_cmp","partial_cmp","partial_cmp","protocol","quic","relay","relay_url","relay_url","serialize","serialize","serialize","serialize","serialize","stun_only","stun_port","test_utils","ticket","tls","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","url","urls","vzip","vzip","vzip","vzip","vzip","vzip","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","Dialer","abort_dial","borrow","borrow_mut","chain","endpoint","fmt","from","into","into_stream","is_pending","merge","new","next_conn","pending_count","poll_next","queue_dial","ratelimit_stream","ratelimit_stream_with_jitter","try_from","try_into","type_id","vzip","zip","ConcurrentDiscovery","Discovery","DiscoveryItem","__clone_box","add","addr_info","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","default","dns","empty","fmt","fmt","from","from","from","from_ref","from_services","into","into","last_updated","local_swarm_discovery","node_id","pkarr","provenance","publish","publish","resolve","resolve","static_provider","subscribe","subscribe","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","DnsDiscovery","N0_DNS_NODE_ORIGIN_PROD","N0_DNS_NODE_ORIGIN_STAGING","borrow","borrow_mut","fmt","from","into","n0_dns","new","resolve","try_from","try_into","type_id","vzip","LocalSwarmDiscovery","NAME","borrow","borrow_mut","fmt","from","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","__clone_box","__clone_box","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","dht","drop","fmt","fmt","fmt","from","from","from","from_ref","from_ref","from_ref","into","into","into","n0_dns","n0_dns","new","new","new","publish","publish","resolve","resolve","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","update_addr_info","vzip","vzip","vzip","with_options","Builder","DhtDiscovery","__clone_box","borrow","borrow","borrow_mut","borrow_mut","build","builder","client","clone","clone_into","default","default","dht","fmt","fmt","from","from","from_ref","include_direct_addresses","initial_publish_delay","into","into","n0_dns_pkarr_relay","pkarr_relay","publish","republish_delay","resolve","secret_key","to_owned","try_from","try_from","try_into","try_into","ttl","type_id","type_id","vzip","vzip","PROVENANCE","StaticProvider","add_node_addr","borrow","borrow_mut","default","fmt","from","from_node_addrs","get_node_addr","into","new","publish","remove_node_addr","resolve","set_node_addr","try_from","try_into","type_id","vzip","DnsResolver","ResolverExt","default_resolver","lookup_by_id","lookup_by_id","lookup_by_id_staggered","lookup_by_id_staggered","lookup_by_name","lookup_by_name","lookup_by_name_staggered","lookup_by_name_staggered","lookup_ipv4","lookup_ipv4","lookup_ipv4_ipv6","lookup_ipv4_ipv6","lookup_ipv4_ipv6_staggered","lookup_ipv4_ipv6_staggered","lookup_ipv4_staggered","lookup_ipv4_staggered","lookup_ipv6","lookup_ipv6","lookup_ipv6_staggered","lookup_ipv6_staggered","node_info","resolver","Addr","IROH_TXT_NAME","IrohAttr","NodeInfo","Relay","TxtAttrs","__clone_box","as_ref","attrs","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","cmp","compare","direct_addresses","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from_hickory_records","from_hickory_records","from_parts","from_pkarr_signed_packet","from_pkarr_signed_packet","from_ref","from_str","from_strings","from_z32","hash","into","into","into","lookup_by_id","lookup_by_name","new","node_id","node_id","partial_cmp","relay_url","to_hickory_records","to_hickory_records","to_owned","to_pkarr_signed_packet","to_pkarr_signed_packet","to_string","to_z32","try_from","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","AEAD_LIMIT_REACHED","APPLICATION_ERROR","Accept","AcceptBi","AcceptUni","AckFrequencyConfig","AddrInfo","AddrInfoOptions","Addresses","AeadKey","App","ApplicationClose","ApplicationClosed","Builder","Bytes","CONNECTION_ID_LIMIT_ERROR","CONNECTION_REFUSED","CRYPTO_BUFFER_EXCEEDED","CallMeMaybe","Chunk","CidsExhausted","ClosedStream","ClosedStream","ClosedStream","Connecting","Connection","ConnectionClose","ConnectionClosed","ConnectionError","ConnectionLost","ConnectionLost","ConnectionLost","ConnectionLost","ConnectionLost","ConnectionStats","ConnectionType","ConnectionTypeStream","ControlMsg","Controller","ControllerFactory","CryptoError","CryptoServerConfig","Custom","Default","Direct","DirectAddr","DirectAddrInfo","DirectAddrType","DirectAddrsStream","Disabled","Disabled","Discovery","ENV_FORCE_STAGING_RELAYS","Endpoint","ExportKeyingMaterialError","FINAL_SIZE_ERROR","FLOW_CONTROL_ERROR","FRAME_ENCODING_ERROR","FinishedEarly","FrameStats","HandshakeTokenKey","INTERNAL_ERROR","INVALID_TOKEN","Id","IllegalOrderedRead","Incoming","IncomingFuture","KEY_UPDATE_ERROR","Local","LocallyClosed","MAX","MAX_SIZE","Mixed","MtuDiscoveryConfig","NO_ERROR","NO_VIABLE_PATH","NamedApp","NodeAddr","None","OpenBi","OpenUni","PROTOCOL_VIOLATION","PathStats","Ping","Pong","Portmapped","Read","ReadDatagram","ReadError","ReadError","ReadExactError","ReadToEndError","RecvStream","Relay","Relay","Relay","RelayAndAddresses","RelayMode","RemoteInfo","Reset","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","TransportError","TransportErrorCode","Udp","UdpStats","Unknown","UnsupportedByPeer","UnsupportedVersion","VarInt","VersionMismatch","WeakConnectionHandle","WriteError","Written","ZeroRttAccepted","ZeroRttRejected","ZeroRttRejected","ZeroRttRejected","ZeroRttRejected","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","accept","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","addr","addrs","advance","aead_from_hkdf","allow_spin","alpn","alpns","as_ref","bind","bind_addr_v4","bind_addr_v6","black_hole_cooldown","black_holes_detected","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","bound_sockets","build","builder","bytes","bytes","bytes","call","chain","chain","chunk","chunks","clear","clear_discovery","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_box","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","close","close","close_reason","closed","cmp","cmp","cmp","cmp","cmp","code","compare","compare","compare","compare","compare","congestion_controller_factory","congestion_events","congestion_state","conn_type","conn_type_stream","connect","connection_close","copy_from_slice","copy_to_bytes","crypto","crypto","crypto","crypto_buffer_size","current_mtu","cwnd","data_blocked","datagram","datagram_receive_buffer_size","datagram_send_buffer_size","datagram_send_buffer_space","datagrams","default","default","default","default","default","default","default","default","default","default","default","default_relay_mode","deref","deserialize","deserialize","deserialize","deserialize","deserialize","dir","direct_addresses","direct_addresses","discovery","discovery","discovery_dht","discovery_local_network","discovery_n0","dns_resolver","dns_resolver","drop","drop","drop","enable_segmentation_offload","encode_hex","encode_hex_upper","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","error_code","error_code","export_keying_material","finish","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","force_staging_infra","frame","frame_rx","frame_tx","frame_type","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_iter","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_request","from_static","from_u32","from_u64","from_u64_unchecked","get_remote_node_id","handshake_data","handshake_data","handshake_done","has_send_address","hash","hash","hash","hash","hash","hash","home_relay","id","id","ignore","immediate_ack","incoming_buffer_size","incoming_buffer_size_total","index","info","initial_keys","initial_mtu","initial_rtt","initial_window","initiator","insecure_skip_relay_cert_verify","interval","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into_0rtt","into_any","into_future","into_future","into_future","into_future","into_future","into_future","into_future","into_future","into_future","into_future","into_incoming","into_inner","into_iter","into_iter","into_make_service","into_make_service_with_connect_info","into_response","into_service","into_stream","into_stream","ios","is_0rtt","is_alive","is_closed","is_empty","is_unique","join","join","join","join","join","join","join","join","join","keep_alive_interval","keylog","known_nodes","last_alive","last_control","last_payload","last_received","last_used","latency","latency","len","local_ip","local_ip","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","merge","merge","migration","min_mtu","minimum_change","mtu_discovery_config","network_change","network_path_changed","new","new","new","new_connection_id","new_token","node_addr","node_id","node_id","node_id","observed_addr","observed_external_addr","offset","on_ack","on_congestion_event","on_end_acks","on_mtu_update","on_sent","open","open_bi","open_uni","packet_threshold","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","path","path_challenge","path_response","peer_identity","persistent_congestion_threshold","ping","poll","poll","poll","poll","poll","poll","poll","poll","poll","poll_flush","poll_next","poll_next","poll_read","poll_read","poll_shutdown","poll_write","poll_write","preferred_address_v4","preferred_address_v6","priority","proxy_from_env","proxy_url","race","race","race","race","race","race","race","race","race","ratelimit_stream","ratelimit_stream","ratelimit_stream_with_jitter","ratelimit_stream_with_jitter","read","read_chunk","read_chunks","read_datagram","read_exact","read_to_end","reason","reason","reason","receive_observed_address_reports","receive_window","received_reset","refuse","relay_map","relay_mode","relay_url","relay_url","remaining","remote_address","remote_address","remote_address","remote_address_validated","remote_info","remote_info_iter","reordering_threshold","reset","reset_stream","retire_connection_id","retry","retry_tag","retry_token_lifetime","rtt","rtt","saturating_add","seal","secret_key","secret_key","send_datagram","send_datagram_wait","send_observed_address_reports","send_window","sent_packets","sent_plpmtud_probes","serialize","serialize","serialize","serialize","serialize","set_alpns","set_max_concurrent_bi_streams","set_max_concurrent_uni_streams","set_priority","set_receive_window","slice","slice_ref","source","source","source","source","source","source","source","source","sources","sources","split_off","split_to","stable_id","start_session","stats","stop","stop_sending","stopped","stream","stream_data_blocked","stream_receive_window","streams_blocked_bidi","streams_blocked_uni","time_threshold","tls_raw_public_keys","tls_x509","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","token_key","transport","transport_config","transport_config","truncate","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into_mut","try_poll","try_poll","try_poll","try_poll","try_poll","try_poll","try_poll","typ","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","udp_rx","udp_tx","upper_bound","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","watch_home_relay","weak_handle","window","with_crypto","with_single_cert","write","write_all","write_all_chunks","write_chunk","write_chunks","zip","zip","name","name","BlobFormat","EMPTY","Hash","HashAndFormat","HashSeq","Raw","__clone_box","__clone_box","__clone_box","as_bytes","as_bytes","as_bytes","as_ref","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","cmp","cmp","cmp","compare","compare","compare","compare","default","deserialize","deserialize","deserialize","encode_hex","encode_hex_upper","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fixed_width","fixed_width","fmt","fmt","fmt","fmt","fmt","fmt","fmt_short","format","from","from","from","from","from","from","from_bytes","from_bytes","from_bytes","from_ref","from_ref","from_ref","from_str","from_str","hash","hash","hash","hash","hash_seq","into","into","into","is_hash_seq","is_raw","new","new","partial_cmp","partial_cmp","partial_cmp","raw","serialize","serialize","serialize","to_hex","to_owned","to_owned","to_owned","to_string","to_string","to_string","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","type_name","type_name","vzip","vzip","vzip","BYTE_SIZE","Base32","Key","KeyParsingError","NodeId","PUBLIC_KEY_LENGTH","PublicKey","SecretKey","SharedSecret","Signature","__clone_box","__clone_box","__clone_box","as_bytes","as_ref","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","cmp","compare","deserialize","deserialize","deserialize","encode_hex","encode_hex_upper","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt_short","from","from","from","from","from","from","from","from","from","from","from","from","from","from_bytes","from_bytes","from_bytes","from_components","from_ref","from_ref","from_ref","from_slice","from_str","from_str","from_str","generate","generate_with_rng","hash","into","into","into","into","into","open","partial_cmp","public","r_bytes","s_bytes","seal","serialize","serialize","serialize","serialize_public_pem","serialize_secret_pem","shared","sign","source","to_bytes","to_bytes","to_bytes","to_openssh","to_owned","to_owned","to_owned","to_string","to_string","to_string","to_string","to_vec","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from_openssh","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","verify","vzip","vzip","vzip","vzip","vzip","MagicsockMetrics","NetReportMetrics","PortmapMetrics","RelayMetrics","__clone_box","__clone_box","__clone_box","__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","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","bytes_recv","bytes_sent","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","connection_became_direct","connection_handshake_success","conns_rx_ratelimited_total","default","default","default","default","derp_accepts","disco_packets_dropped","disco_packets_recv","disco_packets_sent","disconnects","external_address_updated","fmt","fmt","fmt","fmt","frames_rx_ratelimited_total","from","from","from","from","from_ref","from_ref","from_ref","from_ref","got_ping","into","into","into","into","iter","iter","iter","iter","local_port_updates","mapping_attempts","mapping_failures","name","name","name","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_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","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","unique_client_keys","unknown_frames","update_direct_addrs","upnp_available","upnp_gateway_updated","upnp_probes","upnp_probes_failed","vzip","vzip","vzip","vzip","websocket_accepts","ProtocolHandler","Router","RouterBuilder","__clone_box","accept","accept","borrow","borrow","borrow_mut","borrow_mut","builder","clone","clone_into","endpoint","endpoint","fmt","fmt","from","from","from_ref","into","into","is_shutdown","new","shutdown","shutdown","spawn","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","CleanupDropGuard","DnsPkarrServer","borrow","borrow","borrow_mut","borrow_mut","create_dns_resolver","discovery","dns_resolver","fmt","fmt","from","from","into","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_from","try_into","try_into","type_id","type_id","vzip","vzip","BlobTicket","Encoding","Error","KIND","Kind","NodeTicket","Postcard","Ticket","Verify","__clone_box","__clone_box","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deserialize","deserialize","deserialize","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","format","from","from","from","from","from","from","from_bytes","from_bytes","from_bytes","from_ref","from_ref","from_str","from_str","hash","into","into","into","into_parts","new","new","node_addr","node_addr","recursive","serialize","serialize","serialize","source","to_bytes","to_bytes","to_bytes","to_owned","to_owned","to_string","to_string","to_string","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","expected","Authentication","CertError","ConfigError","CreateConfigError","RawPublicKey","Rustls","X509","__clone_box","borrow","borrow","borrow_mut","borrow_mut","certificate","clone","clone_into","default","eq","equivalent","equivalent","equivalent","fmt","fmt","fmt","from","from","from","from","from","from_ref","into","into","make_client_config","make_server_config","source","to_owned","to_string","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","GenError","P2pCertificate","P2pExtension","ParseError","VerificationError","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","generate","into","into","into","into","into","parse","peer_id","source","source","source","to_string","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","verify_signature","vzip","vzip","vzip","vzip","vzip"],"q":[[0,"iroh"],[204,"iroh::defaults"],[211,"iroh::defaults::prod"],[218,"iroh::defaults::staging"],[223,"iroh::dialer"],[247,"iroh::discovery"],[292,"iroh::discovery::dns"],[307,"iroh::discovery::local_swarm_discovery"],[322,"iroh::discovery::pkarr"],[384,"iroh::discovery::pkarr::dht"],[424,"iroh::discovery::static_provider"],[444,"iroh::dns"],[469,"iroh::dns::node_info"],[547,"iroh::endpoint"],[1955,"iroh::endpoint::Source"],[1957,"iroh::hash"],[2073,"iroh::key"],[2217,"iroh::metrics"],[2373,"iroh::protocol"],[2409,"iroh::test_utils"],[2441,"iroh::ticket"],[2527,"iroh::ticket::Error"],[2528,"iroh::tls"],[2572,"iroh::tls::certificate"],[2638,"dyn_clone::sealed"],[2639,"iroh_base::node_addr"],[2640,"iroh_base::relay_map"],[2641,"iroh_base::relay_url"],[2642,"core::cmp"],[2643,"core::result"],[2644,"serde::de"],[2645,"core::net::socket_addr"],[2646,"core::iter::traits::iterator"],[2647,"core::fmt"],[2648,"iroh_base::key"],[2649,"core::option"],[2650,"iroh_base::ticket::node"],[2651,"iroh::magicsock::node_map::node_state"],[2652,"url"],[2653,"anyhow"],[2654,"alloc::sync"],[2655,"core::convert"],[2656,"core::iter::traits::collect"],[2657,"core::hash"],[2658,"serde::ser"],[2659,"alloc::string"],[2660,"core::any"],[2661,"futures_concurrency::stream::chain::tuple"],[2662,"futures_concurrency::stream::into_stream"],[2663,"futures_core::stream"],[2664,"futures_concurrency::stream::merge::tuple"],[2665,"iroh_quinn::connection"],[2666,"core::pin"],[2667,"core::task::wake"],[2668,"core::task::poll"],[2669,"governor::state::direct"],[2670,"governor::state"],[2671,"governor::state::direct::streams"],[2672,"governor::clock::with_std"],[2673,"governor::middleware"],[2674,"governor::jitter"],[2675,"futures_concurrency::stream::zip::tuple"],[2676,"alloc::boxed"],[2677,"alloc::vec"],[2678,"futures_lite::stream"],[2679,"pkarr::signed_packet"],[2680,"core::time"],[2681,"pkarr::client"],[2682,"core::future::future"],[2683,"core::net::ip_addr"],[2684,"hickory_proto::rr::domain::name"],[2685,"core::clone"],[2686,"hickory_resolver::async_resolver"],[2687,"alloc::collections::btree::map"],[2688,"core::str::traits"],[2689,"hickory_proto::rr::resource"],[2690,"alloc::collections::btree::set"],[2691,"iroh_quinn_proto::connection"],[2692,"iroh_quinn_proto::config"],[2693,"iroh_quinn_proto::varint"],[2694,"core::ops::function"],[2695,"core::marker"],[2696,"bytes::bytes"],[2697,"iroh_quinn_proto::crypto"],[2698,"iroh_quinn_proto::congestion"],[2699,"std::time"],[2700,"axum_core::body"],[2701,"http::request"],[2702,"iroh_quinn::recv_stream"],[2703,"iroh_quinn::send_stream"],[2704,"iroh_quinn_proto::connection::stats"],[2705,"iroh_quinn_proto::connection::streams::send"],[2706,"iroh_quinn_proto::connection::streams"],[2707,"iroh::magicsock::node_map"],[2708,"iroh_quinn_proto::frame"],[2709,"iroh_quinn_proto"],[2710,"iroh::magicsock"],[2711,"bytes::bytes_mut"],[2712,"iroh_quinn_proto::connection::assembler"],[2713,"iroh_quinn::incoming"],[2714,"hyper::ext::h1_reason_phrase"],[2715,"http::header::name"],[2716,"http::byte_str"],[2717,"iroh_quinn_proto::connection::streams::recv"],[2718,"ring::error"],[2719,"iroh_quinn_proto::transport_parameters"],[2720,"iroh_quinn_proto::shared"],[2721,"axum::handler::service"],[2722,"axum::routing::into_make_service"],[2723,"axum::extract::connect_info"],[2724,"http::response"],[2725,"futures_concurrency::future::join::tuple"],[2726,"core::future::into_future"],[2727,"tokio::sync::watch"],[2728,"iroh_quinn_proto::connection::paths"],[2729,"std::io::error"],[2730,"tokio::io::read_buf"],[2731,"futures_concurrency::future::race::tuple"],[2732,"core::ops::range"],[2733,"core::error"],[2734,"rustls_pki_types"],[2735,"rustls::error"],[2736,"iroh_base::hash"],[2737,"iroh_blake3"],[2738,"redb::types"],[2739,"ed25519"],[2740,"iroh_base::key::encryption"],[2741,"ed25519_dalek::signature"],[2742,"ed25519_dalek::verifying"],[2743,"iroh_base::base32"],[2744,"signature::error"],[2745,"ed25519_dalek::signing"],[2746,"rand_core"],[2747,"aead"],[2748,"zeroize"],[2749,"ssh_key::error"],[2750,"ssh_key::signature"],[2751,"alloc::vec::into_iter"],[2752,"futures_lite::future"],[2753,"iroh::test_utils::dns_and_pkarr_servers"],[2754,"iroh_relay::server"],[2755,"iroh_base::ticket::blob"],[2756,"iroh_base::ticket"],[2757,"data_encoding"],[2758,"postcard::error"],[2759,"iroh_quinn_proto::crypto::rustls"],[2760,"rcgen::error"],[2761,"webpki::error"],[2762,"rustls::enums"],[2763,"iroh_base"],[2764,"ed25519_dalek::constants"],[2765,"iroh::test_utils::dns_server"]],"i":[0,0,4,0,4,0,0,4,4,0,0,0,0,3,5,4,6,7,8,3,5,3,5,4,6,7,8,3,5,4,6,7,8,3,5,4,6,7,8,3,5,4,6,7,8,3,5,7,8,3,5,7,8,6,5,4,6,0,8,3,5,4,7,8,0,3,5,0,0,6,0,3,5,4,6,7,8,3,3,3,5,5,5,4,4,4,6,6,6,7,7,7,8,8,8,3,5,4,4,6,6,7,7,8,8,3,3,3,3,3,3,5,5,4,6,7,8,8,6,3,3,5,4,6,7,8,4,8,6,6,0,8,3,3,5,4,6,7,8,5,6,0,6,0,3,3,6,3,5,7,8,0,7,0,3,5,3,5,4,7,8,7,7,0,0,0,3,5,4,6,7,8,4,6,7,8,3,5,4,6,7,8,3,5,4,6,7,8,3,5,4,6,7,8,7,6,3,5,4,6,7,8,3,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,0,0,0,61,59,61,61,59,61,59,61,61,59,0,59,61,59,61,59,59,61,59,61,59,61,0,61,0,61,60,59,60,59,0,60,59,61,61,59,61,59,61,59,61,59,0,0,0,65,65,65,65,65,65,65,65,65,65,65,65,0,0,66,66,66,66,66,66,66,66,66,66,66,66,66,0,0,0,0,0,0,0,67,68,69,67,68,69,67,68,69,67,68,69,67,68,69,0,67,67,68,69,67,68,69,67,68,69,67,68,69,67,68,67,68,69,67,69,68,69,67,68,69,67,68,69,67,68,69,67,68,69,67,67,68,69,67,0,0,76,76,75,76,75,75,76,75,76,76,76,75,75,76,75,76,75,76,75,75,76,75,75,75,76,75,76,75,76,76,75,76,75,75,76,75,76,75,78,0,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,0,0,0,80,79,80,79,80,79,80,79,80,79,80,79,80,79,80,79,80,79,80,79,0,0,88,0,0,0,88,0,25,88,89,88,25,89,88,25,89,25,25,88,88,25,88,25,88,88,88,25,25,25,88,88,25,89,88,25,25,25,89,89,25,89,89,25,89,25,88,89,0,88,88,25,89,89,89,25,89,25,88,25,25,89,25,25,89,88,0,88,88,25,89,88,25,89,88,25,89,88,25,89,144,144,0,0,0,0,0,0,4,0,140,0,101,0,0,144,144,144,137,0,101,0,125,128,0,0,0,101,0,123,125,126,128,129,0,0,0,0,0,0,0,0,135,135,139,0,0,0,0,123,135,140,0,0,0,144,144,144,127,0,0,144,144,4,125,0,0,144,147,101,106,106,139,0,144,144,140,0,139,0,0,144,0,137,137,147,124,0,0,127,0,0,0,4,139,140,4,0,0,125,101,0,0,144,144,140,0,0,0,0,135,128,0,0,147,147,144,101,123,124,0,0,101,0,140,0,147,123,0,0,101,0,0,0,0,125,126,128,129,112,45,123,124,125,126,127,128,129,106,130,131,42,132,133,134,135,136,137,138,24,139,101,105,117,104,140,141,142,143,144,145,146,147,42,99,45,45,99,105,131,107,131,108,42,42,138,146,24,112,113,107,100,108,112,108,108,108,117,132,180,112,112,45,193,192,103,102,194,159,123,160,151,124,125,126,127,152,128,129,107,106,157,108,130,131,42,132,133,134,98,99,161,100,135,136,137,138,24,139,101,105,117,104,158,162,163,140,141,142,148,143,144,145,150,146,147,180,112,45,193,192,103,102,194,159,123,160,151,124,125,126,127,152,128,129,107,106,157,108,130,131,42,132,133,134,98,99,161,100,135,136,137,138,24,139,101,105,117,104,158,162,163,140,141,142,148,143,144,145,150,146,147,42,118,42,157,130,134,112,148,150,112,134,112,108,112,45,123,124,125,126,127,128,129,106,130,131,42,132,133,134,135,136,137,138,24,139,101,105,117,104,140,141,142,143,144,145,146,147,120,112,45,123,124,125,126,127,128,129,106,130,131,42,132,133,134,135,136,137,138,24,139,101,105,117,104,140,141,142,143,144,145,146,147,45,42,45,45,112,106,145,146,147,143,112,106,145,146,147,107,132,45,24,42,42,131,112,112,144,131,104,107,132,132,131,131,107,107,45,130,112,107,106,108,130,131,132,133,134,105,117,0,112,137,138,24,139,140,145,42,5,108,42,108,108,108,108,42,112,151,152,107,112,112,112,112,112,112,112,112,112,123,124,125,126,127,128,129,106,157,134,135,136,137,138,24,139,101,158,140,141,142,143,144,145,146,147,112,112,112,123,123,123,124,124,124,125,125,125,126,126,126,127,127,127,128,128,128,129,129,129,106,106,106,157,157,157,134,134,134,135,135,135,136,136,136,137,137,137,138,138,138,24,24,24,139,139,139,101,101,101,158,158,158,140,140,140,141,141,141,142,142,142,143,143,143,144,144,144,145,145,145,146,146,146,147,147,147,141,142,45,152,112,112,112,45,159,123,123,160,160,151,124,124,125,125,126,126,127,127,152,128,128,129,129,107,106,106,157,108,130,131,42,132,133,134,98,99,161,100,135,136,136,137,137,138,24,139,139,101,101,105,117,104,158,162,163,140,140,141,141,142,142,148,143,143,144,144,145,145,150,146,147,147,0,143,133,133,141,180,112,112,112,112,112,112,112,112,112,112,112,112,45,193,192,103,102,194,159,123,123,160,151,124,124,125,125,125,125,126,126,127,127,152,128,128,128,128,129,129,107,106,106,106,106,106,157,108,130,131,42,132,133,134,98,99,161,100,135,136,137,138,24,139,101,101,101,105,117,104,158,162,162,163,140,141,141,142,148,143,143,143,143,144,145,145,150,146,147,112,112,45,123,124,125,126,127,128,129,106,130,131,42,132,133,134,135,136,137,138,24,139,101,105,117,104,140,141,142,143,144,145,146,147,112,112,106,106,106,0,45,100,131,24,112,106,140,145,146,147,42,151,152,99,131,104,104,145,3,176,107,107,120,145,108,117,180,112,45,193,192,103,102,194,159,123,160,151,124,125,126,127,152,128,129,107,106,157,108,130,131,42,132,133,134,98,99,161,100,135,136,137,138,24,139,101,105,117,104,158,162,163,140,141,142,148,143,144,145,150,146,147,100,120,180,193,192,103,102,194,98,99,161,100,160,106,112,112,112,112,112,112,148,150,130,151,159,42,112,112,180,193,192,103,102,194,98,161,100,107,108,108,138,138,138,24,24,138,24,112,45,99,100,132,132,132,0,105,107,107,131,45,107,104,131,131,131,148,150,104,107,117,107,42,159,112,104,145,131,131,42,42,3,24,131,45,157,120,120,120,120,120,114,45,45,107,112,112,112,112,112,112,106,145,146,147,133,131,131,45,107,131,180,193,192,103,102,194,98,161,100,152,148,150,151,151,152,152,152,104,104,152,108,108,180,193,192,103,102,194,98,161,100,148,150,148,150,151,151,151,45,151,151,141,142,143,107,107,151,99,135,108,5,24,112,45,99,100,99,42,42,105,152,131,131,99,176,104,45,132,106,114,108,42,45,45,107,107,132,132,137,138,24,139,140,42,45,45,152,45,112,112,123,124,125,126,127,128,129,101,24,138,112,112,45,176,45,151,131,152,131,131,107,131,131,107,108,108,112,45,123,124,125,126,127,128,129,106,130,131,42,132,133,134,135,136,137,138,24,139,101,105,117,104,140,141,142,143,144,145,146,147,123,160,124,125,126,127,128,129,106,136,137,139,101,140,141,142,143,144,145,147,104,104,108,104,112,180,112,45,193,192,103,102,194,159,123,160,151,124,125,126,127,152,128,129,107,106,106,106,106,157,108,130,131,42,132,133,134,98,99,161,100,135,136,137,138,24,139,101,105,117,104,158,162,163,140,141,142,148,143,144,145,150,146,147,180,112,45,193,192,103,102,194,159,123,160,151,124,125,126,127,152,128,129,107,106,157,108,130,131,42,132,133,134,98,99,161,100,135,136,137,138,24,139,101,105,117,104,158,162,163,140,141,142,148,143,144,145,150,146,147,112,193,192,103,102,194,161,100,146,180,112,45,193,192,103,102,194,159,123,160,151,124,125,126,127,152,128,129,107,106,157,108,130,131,42,132,133,134,98,99,161,100,135,136,137,138,24,139,101,105,117,104,158,162,163,140,141,142,148,143,144,145,150,146,147,133,133,117,180,112,45,193,192,103,102,194,159,123,160,151,124,125,126,127,152,128,129,107,106,157,108,130,131,42,132,133,134,98,99,161,100,135,136,137,138,24,139,101,105,117,104,158,162,163,140,141,142,148,143,144,145,150,146,147,42,45,120,104,104,152,152,152,152,152,148,150,259,260,0,210,0,0,211,211,210,211,212,210,210,212,210,210,210,210,211,212,210,211,212,210,211,212,210,211,212,210,211,212,210,210,211,212,211,210,211,212,210,210,210,211,212,210,210,210,211,211,211,212,212,212,210,212,210,210,211,211,212,212,210,212,210,210,210,210,211,212,210,210,212,210,211,212,210,212,210,211,212,212,212,210,211,212,211,211,210,212,210,211,212,212,210,211,212,210,210,211,212,210,211,212,210,211,212,210,211,212,210,211,212,210,212,210,211,212,216,218,218,0,0,0,0,0,0,0,216,19,70,19,19,217,216,19,218,70,217,216,19,218,70,216,19,70,216,19,70,19,19,216,19,70,19,19,216,19,216,216,216,19,19,19,217,216,216,216,216,19,19,218,218,70,70,19,217,216,216,216,216,19,19,218,218,218,70,70,70,216,19,70,216,216,19,70,216,216,19,70,70,70,19,217,216,19,218,70,217,19,70,216,216,217,216,19,70,19,70,70,70,218,216,216,70,70,216,19,70,216,19,218,70,216,217,216,216,216,216,19,19,19,218,70,70,70,217,216,19,218,70,217,216,19,218,70,19,217,216,19,218,70,0,0,0,0,229,230,231,232,231,232,232,232,232,232,232,232,232,229,230,231,232,229,230,231,232,231,231,229,230,231,232,229,230,231,232,232,232,231,229,230,231,232,231,231,231,231,231,229,229,230,231,232,231,229,230,231,232,229,230,231,232,231,229,230,231,232,229,230,231,232,229,229,229,229,230,231,232,232,232,232,232,232,232,231,231,231,229,229,229,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,230,230,232,232,232,232,232,232,231,231,231,232,232,232,232,232,232,232,231,230,230,230,230,230,229,230,231,232,229,230,231,232,229,230,231,232,229,230,231,232,231,231,232,229,229,229,229,229,230,231,232,231,0,0,0,237,234,236,237,236,237,236,237,237,237,237,236,237,236,237,236,237,237,236,237,236,234,237,236,237,237,236,237,236,237,236,237,236,0,0,239,238,239,238,0,238,238,239,238,239,238,239,238,238,238,238,238,238,0,0,0,238,239,238,239,238,239,238,239,238,0,244,0,243,244,0,244,0,244,242,23,242,23,244,242,23,244,242,23,242,23,243,242,23,242,23,242,242,242,23,23,23,242,242,23,23,244,244,242,242,23,23,244,244,244,243,242,23,242,23,242,23,242,242,23,244,242,242,23,242,23,242,243,242,23,244,243,242,23,242,23,242,23,244,242,23,244,242,23,244,242,23,244,242,23,244,261,0,247,247,0,188,247,188,188,188,247,188,247,0,188,188,188,188,188,188,188,188,247,247,188,247,247,247,247,188,188,247,188,188,247,188,247,188,247,188,247,188,247,188,247,0,0,0,0,0,252,253,249,254,255,252,253,249,254,255,252,253,249,249,254,254,255,255,252,253,249,249,254,254,255,255,0,252,253,249,254,255,0,252,249,254,255,249,254,255,252,253,249,254,255,252,253,249,254,255,252,253,249,254,255,252,252,253,249,254,255],"f":"`````````````{{cb}d{}}00000{{fh}d}{{jh}d}{ce{}{}}00000000000{ff}{jj}{hh}{ll}{nn}{A`A`}{{ce}d{}{}}00000{{ff}Ab}{{jj}Ab}{{nn}Ab}{{A`A`}Ab}{{ce}Ab{}{}}000{{lA`}Ad}{{}j}{{}h}{{A`Af}l}`{A`}{c{{Ah{f}}}Aj}{c{{Ah{j}}}Aj}{c{{Ah{h}}}Aj}{c{{Ah{n}}}Aj}{c{{Ah{A`}}}Aj}`{f{{`{{B`{}{{Al{An}}}}}}}}```{{}l}`{{ff}Ad}{{jj}Ad}{{hh}Ad}{{ll}Ad}{{nn}Ad}{{A`A`}Ad}{{ce}Ad{}{}}00000000000000000{{fBb}{{Ah{dBd}}}}{{jBb}{{Ah{dBd}}}}{{hBb}{{Ah{dBd}}}}0{{lBb}{{Ah{dBd}}}}0{{nBb}{{Ah{dBd}}}}0{{A`Bb}{{Ah{dBd}}}}0{cc{}}{{{Bl{Bf{Bh{A`}}{Bj{An}}}}}f}{Bff}{Bnf}{C`f}{Cbf}5{Cbj}666{CdA`}7{e{{Ah{lCf}}}{{Cj{{Ch{n}}}}}{{Cl{}{{Al{c}}}}}}{{Bf{Bh{A`}}c}f{{Cl{}{{Al{An}}}}}}999999{Cn{{Ah{h}}}}{Cn{{Ah{A`}}}}{A`l}{{lA`}{{Bh{{Ch{n}}}}}}`{{A`c}dD`}`{ce{}{}}00000{jAd}{lAd}`{lDb}`{Bff}`{l{{`{{B`{}{{Al{{Ch{n}}}}}}}}}}{{ff}{{Bh{Ab}}}}{{jj}{{Bh{Ab}}}}{{nn}{{Bh{Ab}}}}{{A`A`}{{Bh{Ab}}}}```{f{{Bh{A`}}}}`{{fc}AhDd}{{jc}AhDd}{{hc}AhDd}{{nc}AhDd}{{A`c}AhDd}`````??????{cDf{}}000{c{{Ah{e}}}{}{}}00000000000{cDh{}}00000`{l{{`{{B`{}{{Al{A`}}}}}}}}{ce{}{}}00000{{fc}f{{Cl{}{{Al{An}}}}}}{{fA`}f}``````````{{}n}00{{}l}``110`{{DjDl}d}55{{cg}{{Dn{i}}}{}{}{{E`{}{{Al{e}}}}}{{Eb{}{{Al{e}}}}}}{DjEd}{{DjBb}Ef}{cc{}}99{{DjDl}Ad}{{cg}{{Eh{ei}}}{}{}{{E`{}{{Al{e}}}}}{{Eb{}{{Al{e}}}}}}{EdDj}{Dj{{Bl{Dl{El{Ej}}}}}}{DjDb}{{{En{Dj}}F`}{{Fb{{Bh{c}}}}}{}}{{DjDl{Bj{Fd}}}d}{{c{Fh{Ffegi}}}{{Fj{kegi}}}{}FlFnG`{}}{{c{Fh{Ffegi}}Gb}{{Fj{kegi}}}{}FlFnG`{}}{c{{Ah{e}}}{}{}}0{cDh{}}{ce{}{}}{{cg}{{Gd{i}}}{}{}{{E`{}{{Al{e}}}}}{{Eb{}{{Al{e}}}}}}```{{cb}d{}}{{Gfc}dGh}`3333{GjGj}{{ce}d{}{}}{{}Gf}`0{{GjBb}Ef}{{GfBb}Ef}{cc{}}{cGf{{Cl{}{{Al{{Gl{Gh}}}}}}}}11{{{Gn{{Gl{Gh}}}}}Gf};;`````{{Ghj}d}{{Gfj}d}{{GhEdDl}{{Bh{{H`{{El{Gj}}}}}}}}{{GfEdDl}{{Bh{{H`{{El{Gj}}}}}}}}`{Gh{{Bh{{H`{Gj}}}}}}{Gf{{Bh{{H`{Gj}}}}}}{ce{}{}}{c{{Ah{e}}}{}{}}000{cDh{}}022```22{{HbBb}Ef}<3{{}Hb}{DfHb}{{HbEdDl}{{Bh{{H`{{El{Gj}}}}}}}}5546``66{{HdBb}Ef}{cc{}}8{Dl{{El{Hd}}}}{{Hdj}d}{{HdEdDl}{{Bh{{H`{{El{Gj}}}}}}}}{Hd{{Bh{{H`{Gj}}}}}};;:<```````{{cb}d{}}00======{HfHf}{HhHh}{HjHj}{{ce}d{}{}}00`{Hfd}{{HfBb}Ef}{{HhBb}Ef}{{HjBb}Ef}======{ce{}{}}00{HlHf}{{}Hh}{{HlCd}Hf}{CdHh}{CdHj}{{Hfj}d}{{HjHn}{{El{d}}}}{{HhEdDl}{{Bh{{I`{{El{Gj}}}}}}}}{{HjDl}{{El{Hn}}}}999{c{{Ah{e}}}{}{}}00000{cDh{}}005;;;{{HlCdIbId}Hf}``{{cb}d{}}===={If{{El{Ih}}}}{{}If}{{IfIj}If}{IhIh}{{ce}d{}{}}{{}Ih}4{{IfAd}If}{{IhBb}Ef}{{IfBb}Ef}{cc{}}003{{IfId}If}{ce{}{}}0{IfIf}{{IfCd}If}{{Ihj}d}4{{IhEdDl}{{Bh{{H`{{El{Gj}}}}}}}}{{IfHl}If}5{c{{Ah{e}}}{}{}}000{{IfIb}If}{cDh{}}088``{{Ilc}d{{Cj{f}}}}99{{}Il}{{IlBb}Ef}={eIl{{Cj{f}}}{{Cl{}{{Al{c}}}}}}{{IlDl}{{Bh{f}}}}=3{{Ilj}d}1{{IlEdDl}{{Bh{{H`{{El{Gj}}}}}}}}{{Ilc}{{Bh{f}}}{{Cj{f}}}}::8{ce{}{}}``{{}In}{{J`DlCn}{{`{{Jd{}{{Jb{{El{f}}}}}}}}}}{{InDlCn}{{El{f}}}}{{J`DlCn{Bj{Jf}}}{{`{{Jd{}{{Jb{{El{f}}}}}}}}}}{{InDlCn{Bj{Jf}}}{{El{f}}}}{{J`Cn}{{`{{Jd{}{{Jb{{El{f}}}}}}}}}}{{InCn}{{El{f}}}}{{J`Cn{Bj{Jf}}}{{`{{Jd{}{{Jb{{El{f}}}}}}}}}}{{InCn{Bj{Jf}}}{{El{f}}}}{{J`cId}{{`{{Jd{}{{Jb{{El{{`{{B`{}{{Al{Jh}}}}}}}}}}}}}}}Jj}{{IncId}{{El{{`{{B`{}{{Al{Jh}}}}}}}}}Jj}{{J`cId}{{`{{Jd{}{{Jb{{El{{`{{B`{}{{Al{Jh}}}}}}}}}}}}}}}{JjJl}}{{IncId}{{El{{`{{B`{}{{Al{Jh}}}}}}}}}{JjJl}}{{J`cId{Bj{Jf}}}{{`{{Jd{}{{Jb{{El{{`{{B`{}{{Al{Jh}}}}}}}}}}}}}}}{JjJl}}{{IncId{Bj{Jf}}}{{El{{`{{B`{}{{Al{Jh}}}}}}}}}{JjJl}}105410`{{}Jn}``````{{cb}d{}}{K`Cn}{{{Kb{c}}}{{Kd{c{Gn{Df}}}}}{KfKhKjKl}}{ce{}{}}00000{CbCb}{{ce}d{}{}}{{K`K`}Ab}{{ce}Ab{}{}}`{{K`K`}Ad}{{CbCb}Ad}{{ce}Ad{}{}}00000{{K`Bb}Ef}{{K`Bb}{{Ah{dBd}}}}{{CbBb}Ef}{{{Kb{c}}Bb}EfKn}{cc{}}{{{Kb{K`}}}Cb}011{Cb{{Kb{K`}}}}{{{Bj{L`}}}{{El{Cb}}}}{{{Bj{L`}}}{{El{{Kb{c}}}}}{KfKhKjKl}}{{Dle}{{Kb{c}}}{KfKhKjKl}{{B`{}{{Al{{Bl{cDf}}}}}}}}{Hn{{El{Cb}}}}{Hn{{El{{Kb{c}}}}}{KfKhKjKl}}7{Cn{{Ah{K`c}}}{}}{{Dlc}{{El{{Kb{e}}}}}{{B`{}{{Al{Df}}}}}{KfKhKjKl}}{Cn{{El{Dl}}}}{{K`c}dD`}{ce{}{}}00{{JnDlCn}{{El{{Kb{c}}}}}{KfKhKjKl}}{{JnCn}{{El{{Kb{c}}}}}{KfKhKjKl}}{{Dl{Bh{Cd}}{Lb{An}}}Cb}{{{Kb{c}}}Dl{KfKhKjKl}}`{{K`K`}{{Bh{Ab}}}}`{{CbCnIb}{{El{{`{{B`{}{{Al{L`}}}}}}}}}}{{{Kb{c}}CnIb}{{El{{`{{B`{}{{Al{L`}}}}}}}}}{KfKhKjKl}}7{{CbHlIb}{{El{Hn}}}}{{{Kb{c}}HlIb}{{El{Hn}}}{KfKhKjKl}}{cDf{}}{DlDf}{c{{Ah{e}}}{}{}}{Cn{{Ah{K`c}}}{}}11111{cDh{}}00>>>```````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````{{cb}d{}}000000000000000000000000000000000{EdLd}{Lf{{El{LhLj}}}}{EjLl}{EjLn}{{Lf{Ch{M`}}}{{El{LhLj}}}}{{MbMd}Mb}`{{Mf{Bh{Mb}}}Mf}`{{Mhe}MhGh{{Mj{Hl}{{Jb{{Bh{c}}}}}}MlMn}}{{Edf}{{El{d}}}}{{EdfCn}{{El{d}}}}```{{N`Db}d}{{Nb{Bj{Fd}}}{{Gl{Nd}}}}{{MfAd}Mf}{Lh{{El{{Gn{Fd}}}}}}{{Mh{Gn{{Gn{Fd}}}}}Mh}{N`{{Bj{Fd}}}}{Mh{{El{Ed}}}}{{MhNf}Mh}{{MhNh}Mh}{{NjId}Nj}`{ce{}{}}0500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{Ed{{Bl{An{Bh{An}}}}}}{{{Ch{Nl}}NnAf}{{Gl{O`}}}}{{}Mh}```{{c{Od{Ob}}e}{}{}{}}{{cg}{{Dn{i}}}{}{}{{E`{}{{Al{e}}}}}{{Eb{}{{Al{e}}}}}}0:`{N`d}{MhMh}{N`N`}{EjEj}{OfOf}{OhOh}{OjOj}{OlOl}{OnOn}{A@`A@`}{A@bA@b}{MdMd}{A@dA@d}{A@fA@f}{EdEd}{A@hA@h}{A@jA@j}{A@lA@l}{A@nA@n}{AA`AA`}{AAbAAb}{AAdAAd}{C`C`}{AAfAAf}{LjLj}{MbMb}{NjNj}{M`M`}{AAhAAh}{AAjAAj}{AAlAAl}{AAnAAn}{AB`AB`}{ABbABb}{ABdABd}{ABfABf}{O`{{Gl{O`}}}}{{ce}d{}{}}000000000000000000000000000000000{{EjMd{Bj{Fd}}}d}{Ed{{El{d}}}}{Ej{{Bh{Lj}}}}{EjLj}{{N`N`}Ab}{{MdMd}Ab}{{ABbABb}Ab}{{ABdABd}Ab}{{ABfABf}Ab}`{{ce}Ab{}{}}0000{{Mf{Ch{Nl}}}Mf}`{Ej{{Gl{O`}}}}`{{EdDl}{{El{ABh}}}}{{Edc{Bj{Fd}}}{{El{Ej}}}{{Cj{f}}}}`{{{Bj{Fd}}}N`}{{N`Db}N`}{FdAB`}``{{MfDb}Mf}````{{Mf{Bh{Db}}}Mf}1{EjDb}`{{}N`}{{}Mf}{{}Md}{{}Mh}{{}A@d}{{}A@f}{{}A@h}{{}A@j}{{}A@l}{{}Mb}{{}Nj}{{}A@n}{N`{{Bj{Fd}}}}{c{{Ah{AAb}}}Aj}{c{{Ah{AAd}}}Aj}{c{{Ah{C`}}}Aj}{c{{Ah{AAf}}}Aj}{c{{Ah{AAh}}}Aj}{ABbABj}{EdABl}`{{Mh{Gl{Gh}}}Mh}{Ed{{Bh{Gh}}}}{MhMh}00{{MhIn}Mh}{EdIn}{N`d}{ABnd}{AC`d}{{MfAd}Mf}{ce{}{{ACd{ACb}}}}0{{N`N`}Ad}{{N`Cn}Ad}{{N`{Bj{Fd}}}Ad}{{N`{Gn{Fd}}}Ad}{{N`ACf}Ad}{{N`c}AdACh}{{N`Df}Ad}{{OfOf}Ad}{{OhOh}Ad}{{OjOj}Ad}{{OlOl}Ad}{{OnOn}Ad}{{A@`A@`}Ad}{{A@bA@b}Ad}{{MdMd}Ad}{{ACjACj}Ad}{{A@lA@l}Ad}{{A@nA@n}Ad}{{AA`AA`}Ad}{{AAbAAb}Ad}{{AAdAAd}Ad}{{C`C`}Ad}{{AAfAAf}Ad}{{LjLj}Ad}{{AClACl}Ad}{{AAhAAh}Ad}{{AAjAAj}Ad}{{AAlAAl}Ad}{{AAnAAn}Ad}{{AB`AB`}Ad}{{ABbABb}Ad}{{ABdABd}Ad}{{ABfABf}Ad}{{ce}Ad{}{}}00000000000000000000000000000000000000000000000000000000000000000000000000000000``{{Ej{Bj{Fd}}{Bj{Fd}}{Bj{Fd}}}{{Ah{dACl}}}}{AC`{{Ah{dAA`}}}}{{N`Bb}{{Ah{dBd}}}}00{{EjBb}{{Ah{dBd}}}}{{ACnBb}{{Ah{dBd}}}}{{OfBb}{{Ah{dBd}}}}0{{AD`Bb}{{Ah{dBd}}}}0{{ABnBb}{{Ah{dBd}}}}{{OhBb}{{Ah{dBd}}}}0{{OjBb}{{Ah{dBd}}}}0{{OlBb}{{Ah{dBd}}}}0{{OnBb}{{Ah{dBd}}}}0{{AC`Bb}{{Ah{dBd}}}}{{A@`Bb}{{Ah{dBd}}}}0{{A@bBb}{{Ah{dBd}}}}0{{MfBb}{{Ah{dBd}}}}{{MdBb}{{Ah{dBd}}}}0{{ACjBb}{{Ah{dBd}}}}{{MhBb}Ef}{{A@dBb}{{Ah{dBd}}}}{{A@fBb}{{Ah{dBd}}}}{{EdBb}Ef}{{A@hBb}{{Ah{dBd}}}}{{A@jBb}{{Ah{dBd}}}}{{A@lBb}{{Ah{dBd}}}}{{LdBb}Ef}{{LfBb}Ef}{{ADbBb}Ef}{{LhBb}Ef}{{A@nBb}Ef}{{AA`Bb}{{Ah{dBd}}}}0{{AAbBb}Ef}0{{AAdBb}Ef}{{C`Bb}Ef}{{AAfBb}Ef}0{{LjBb}{{Ah{dBd}}}}0{{MbBb}{{Ah{dBd}}}}{{NjBb}{{Ah{dBd}}}}{{M`Bb}{{Ah{dBd}}}}{{AClBb}{{Ah{dBd}}}}{{ADdBb}{{Ah{dBd}}}}{{ADfBb}{{Ah{dBd}}}}{{AAhBb}{{Ah{dBd}}}}{{AAhBb}Ef}{{AAjBb}{{Ah{dBd}}}}0{{AAlBb}{{Ah{dBd}}}}0{{ABhBb}Ef}{{AAnBb}{{Ah{dBd}}}}0{{AB`Bb}{{Ah{dBd}}}}0{{ABbBb}{{Ah{dBd}}}}0{{ABlBb}Ef}{{ABdBb}Ef}{{ABfBb}Ef}0{{}Ad}````{cc{}}{{{Gl{{Bj{Fd}}}}}N`}{DfN`}2{ADhN`}{ADjN`}{ADlN`}{{{Bj{Fd}}}N`}{{{Gn{Fd}}}N`}{ACfN`}{ADnN`}{AE`N`}{CnN`};;;;;;;;{LjOf}<<{OjOh}=={LjOj}{OlOj}{AEbOj}{cc{}}{LjOl}1{OjOn}2{AA`A@`}3{LjA@`}{A@bA@`}5{LjA@b}6{FdMd}7{IbMd}{ABbMd}{AfMd}::::::::::::::::::{AAnLj}{AEdLj}<<<<<{AEfADd}==={AAnAAj}>>>>{AB`AAn}{AEhAAn}{AEjAAn}{cc{}}{MdABb}1111{cN`{{Cl{}{{Al{Fd}}}}}}2222222222222222222222222222222222{{{Od{Ob}}c}{{En{{Gl{Jd}}}}}{MlMn}}{{{Bj{Fd}}}N`}>{Jf{{Ah{MdAEl}}}}{JfMd}{Ej{{El{Bf}}}}{Ej{{Bh{{Gl{AEn}}}}}}{Lh{{El{{Gl{AEn}}Lj}}}}`{C`Ad}{{N`c}dD`}{{Mdc}dD`}{{AAhc}dD`}{{ABbc}dD`}{{ABdc}dD`}{{ABfc}dD`}{Ed{{Bh{A`}}}}{ABnABb}{AC`ABb}{Lfd}`{{M`Jf}M`}0{ABbJf}`{{AF`IbAFb}{{Ah{AFdADf}}}}{{MfAf}Mf}{{MfId}Mf}{O`Jf}{ABbAFf}{{MhAd}Mh}{{NjId}Nj}{ce{}{}}0000000000000000000000000000000000000000000000000000000{Lh{{El{{Bl{EjAFh}}Lh}}}}{{{Gl{O`}}}{{Gl{AEn}}}}{c{}{}}000000{Lfc{}}11{AD`AFj}{MdJf}{N`}0{c{{AFn{{AFl{egd}}}}}{}{}{}}{c{{AG`{{AFl{egd}}i}}}{}{}{}{}}{N`{{AGb{Ob}}}}{c{{AFl{egd}}}{}{}{}};;`{ABnAd}{ACnAd}{EdAd}{N`Ad}0{{ce}{{AGd{g}}}{}AGfJd}00000000{{Mf{Bh{Id}}}Mf}{{MhAd}Mh}{{Mh{Gn{f}}}Mh}```{C`{{Bh{Id}}}}```{N`Db}{Ej{{Bh{Jh}}}}{Lf{{Bh{Jh}}}}{Lh{{Bh{Jh}}}}```{{AGhHl{Gn{{Gn{Fd}}}}{Ch{Mf}}Ad}{{El{M`}}}}{{Mb{Bh{Id}}}Mb}{{MfMd}Mf}0`{Ej{{Bh{Db}}}}{{Mf{Bh{AGj}}}Mf}{{M`Db}M`}```{{cg}{{Eh{ei}}}{}{}{{E`{}{{Al{e}}}}}{{Eb{}{{Al{e}}}}}}0{{M`Ad}M`}{{MfAf}Mf}{{NjAf}Nj}{{Mf{Bh{Nj}}}Mf}{Edd}{ACnAd}{{}N`}{{{Ch{AF`}}{Ch{Nb}}}M`}{{AFfABjJf}ABb}``{Ed{{El{f}}}}{EdDl}```{Ej{{AGl{{Bh{An}}}}}}`{{O`NnNnJfAdAGn}d}{{O`NnNnAdJf}d}{{O`NnJfAd{Bh{Jf}}}d}{{O`Af}d}{{O`NnJfJf}d}{{Nd{Bj{Fd}}{Bj{Fd}}}{{Ah{{Bj{Fd}}ADd}}}}{EjAH`}{EjAHb}{{MfIb}Mf}{{N`c}{{Bh{Ab}}}ACh}{{N`N`}{{Bh{Ab}}}}{{N`Cn}{{Bh{Ab}}}}{{N`{Bj{Fd}}}{{Bh{Ab}}}}{{N`Df}{{Bh{Ab}}}}{{N`{Gn{Fd}}}{{Bh{Ab}}}}{{MdMd}{{Bh{Ab}}}}{{ABbABb}{{Bh{Ab}}}}{{ABdABd}{{Bh{Ab}}}}{{ABfABf}{{Bh{Ab}}}}```{Ej{{Bh{{Gl{AEn}}}}}};`{{{En{AFh}}F`}Fb}{{{En{AHb}}F`}Fb}{{{En{AH`}}F`}Fb}{{{En{Ln}}F`}Fb}{{{En{Ll}}F`}Fb}{{{En{AHd}}F`}Fb}{{{En{Ld}}F`}{{Fb{c}}}{}}{{{En{ADb}}F`}{{Fb{c}}}{}}{{{En{Lh}}F`}{{Fb{c}}}{}}{{{En{AC`}}F`}{{Fb{{Ah{dAHf}}}}}}{{{En{ABh}}F`}{{Fb{{Bh{c}}}}}{}}{{{En{ABl}}F`}{{Fb{{Bh{c}}}}}{}}{{ABnF`{Bj{Fd}}}{{Fb{{Ah{DbOj}}}}}}{{{En{ABn}}F`AHh}{{Fb{{Ah{dAHf}}}}}}4{{{En{AC`}}F`{Bj{Fd}}}{{Fb{{Ah{DbAHf}}}}}}{{{En{AC`}}F`{Bj{Fd}}}{{Fb{{Ah{DbA@`}}}}}}{{M`{Bh{Nf}}}M`}{{M`{Bh{Nh}}}M`}{AC`{{Ah{AHjAA`}}}}{MhMh}{{MhCd}Mh}{{cg}{{AHl{ei}}}{}{}{{AGf{}{{Jb{e}}}}}{{Jd{}{{Jb{e}}}}}}00000000{{c{Fh{Ffegi}}}{{Fj{kegi}}}{}FlFnG`{}}0{{c{Fh{Ffegi}}Gb}{{Fj{kegi}}}{}FlFnG`{}}0{{ABn{Bj{Fd}}}{{Ah{{Bh{Db}}Oj}}}}{{ABnDbAd}{{Ah{{Bh{ACj}}Oj}}}}{{ABn{Bj{N`}}}{{Ah{{Bh{Db}}Oj}}}}{EjAHd}{{ABn{Bj{Fd}}}{{Ah{dOn}}}}{{ABnDb}{{Ah{{Gn{Fd}}Oh}}}}```{{MfAd}Mf}{{MfMd}Mf}{ABn{{Ah{{Bh{Md}}Ol}}}}{Lfd}{A@nl}{{MhA@n}Mh}``{N`Db}{EjAn}{LfAn}{LhAn}{LfAd}{{EdDl}{{Bh{C`}}}}{Ed{{`{{B`{}{{Al{C`}}}}}}}}{{MbMd}Mb}{{AC`Md}{{Ah{dAA`}}}}``{Lf{{El{dAD`}}}}{{AF`IbAFb{Bj{Fd}}}{{AHn{Fd}}}}{{M`Id}M`}{EjId}`{{Mdc}Md{{Cj{Md}}}}{{Nd{Gn{Fd}}{Bj{Fd}}}{{Ah{dADd}}}}{{MhHl}Mh}{EdHl}{{EjN`}{{Ah{dOf}}}}{{EjN`}AI`}{{MfAd}Mf}{{MfJf}Mf}``{{AAbc}AhDd}{{AAdc}AhDd}{{C`c}AhDd}{{AAfc}AhDd}{{AAhc}AhDd}{{Ed{Gn{{Gn{Fd}}}}}{{El{d}}}}{{EjMd}d}0{{AC`AHj}{{Ah{dAA`}}}}1{{N`c}N`{{AIb{Db}}}}{{N`{Bj{Fd}}}N`}{Of{{Bh{AId}}}}{Oh{{Bh{AId}}}}{Oj{{Bh{AId}}}}{Ol{{Bh{AId}}}}{On{{Bh{AId}}}}{A@`{{Bh{AId}}}}{A@b{{Bh{AId}}}}{Lj{{Bh{AId}}}}{C`{{Gn{{Bl{AAhId}}}}}}`{{N`Db}N`}0{EjDb}{{{Ch{AF`}}IbAIf}{{Gl{AIh}}}}{EjA@j}{{ABnMd}{{Ah{dAA`}}}}`{AC`{{Ah{{Bh{Md}}A@b}}}}``{{MfMd}Mf}``{{MfAIj}Mf}{MhMh}0{ce{}{}}000000000000000000000000000000000{cDf{}}0000000000000000000{{M`{Ch{Nb}}}M`}`{{MhMf}Mh}{{M`{Ch{Mf}}}M`}{{N`Db}d}{c{{Ah{e}}}{}{}}00000000000000000000{AIl{{Ah{MdAEl}}}}{Jf{{Ah{MdAEl}}}}{Db{{Ah{MdAEl}}}}3333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333{N`{{Ah{ACfN`}}}}{{{En{c}}F`}Fb{}}000000`{cDh{}}0000000000000000000000000000000000000000000000000000000``{{NjAf}Nj}========================================================{Ed{{`{{Eb{}{{Al{A`}}}}}}}}{EjACn}{O`Jf}{{{Ch{AF`}}}M`}{{{Gn{AIn}}AJ`}{{Ah{M`AJb}}}}{{AC`{Bj{Fd}}}{{Ah{DbA@`}}}}{{AC`{Bj{Fd}}}{{Ah{dA@`}}}}{{AC`{Bj{N`}}}{{Ah{dA@`}}}}{{AC`N`}{{Ah{dA@`}}}}{{AC`{Bj{N`}}}{{Ah{A@lA@`}}}}{{cg}{{Gd{i}}}{}{}{{E`{}{{Al{e}}}}}{{Eb{}{{Al{e}}}}}}0````````{{cb}d{}}00{{}}{AJd{{AHn{Fd}}}}1{AJd{{Bj{Fd}}}}{ce{}{}}1200000{AJdAJd}{AJfAJf}{AJhAJh}{{ce}d{}{}}00{{AJdAJd}Ab}{{AJfAJf}Ab}{{AJhAJh}Ab}{{{Bj{Fd}}{Bj{Fd}}}Ab}{{ce}Ab{}{}}00{{}AJf}{c{{Ah{AJd}}}Aj}{c{{Ah{AJf}}}Aj}{c{{Ah{AJh}}}Aj}{ce{}{{ACd{ACb}}}}0{{AJdAJd}Ad}{{AJfAJf}Ad}{{AJhAJh}Ad}{{ce}Ad{}{}}00000000{{}{{Bh{Db}}}}0{{AJdBb}{{Ah{dBd}}}}0{{AJfBb}{{Ah{dBd}}}}0{{AJhBb}{{Ah{dBd}}}}0{AJdDf}`{cc{}}{{{AHn{Fd}}}AJd}0{AJjAJd}22{{{Bj{Fd}}}}20333{Cn{{Ah{AJd}}}}{Cn{{Ah{AJh}}}}{{AJdc}dD`}{{AJfc}dD`}{{AJhc}dD`}`{AJdAJh}{ce{}{}}00{AJfAd}0{cAJd{{AJl{{Bj{Fd}}}}}}{{AJdAJf}AJh}{{AJdAJd}{{Bh{Ab}}}}{{AJfAJf}{{Bh{Ab}}}}{{AJhAJh}{{Bh{Ab}}}}7{{AJdc}AhDd}{{AJfc}AhDd}{{AJhc}AhDd}{AJdDf}:::{cDf{}}00{c{{Ah{e}}}{}{}}00000{cDh{}}00{{}AJn}0>>>``````````{{cb}d{}}00{Bf{{AHn{Fd}}}}{Bf{{Bj{Fd}}}}{ce{}{}}000000000{AK`AK`}{BfBf}{HlHl}{{ce}d{}{}}00{{BfBf}Ab}{{ce}Ab{}{}}{c{{Ah{AK`}}}Aj}{c{{Ah{Bf}}}Aj}{c{{Ah{Hl}}}Aj}{ce{}{{ACd{ACb}}}}0{{AK`AK`}Ad}{{BfBf}Ad}{{ce}Ad{}{}}00000{{AKbBb}{{Ah{dBd}}}}{{AK`Bb}{{Ah{dBd}}}}000{{BfBb}{{Ah{dBd}}}}0{{AKdBb}{{Ah{dBd}}}}0{{HlBb}{{Ah{dBd}}}}0{BfDf}{cc{}}{{{AHn{Fd}}}AK`}{AKfAK`}122{AKhBf}{AKjAKd}{AKlAKd}55{{{AHn{Fd}}}Hl}{AKnHl}6{{{AHn{Fd}}}{{Ah{BfAKl}}}}2{{{AHn{Fd}}{AHn{Fd}}}AK`}999{{{Bj{Fd}}}{{Ah{AK`AKl}}}}{Cn{{Ah{AK`AKl}}}}{Cn{{Ah{Bf}}}}{Cn{{Ah{Hl}}}}{{}Hl}{cHl{AL`ACh}}{{Bfc}dD`}{ce{}{}}0000{{AKbALb}{{Ah{dCf}}}}{{BfBf}{{Bh{Ab}}}}{HlBf}{AK`{{AHn{Fd}}}}0{{AKbALb}d}{{AK`c}AhDd}{{Bfc}AhDd}{{Hlc}AhDd}{BfDf}{Hl{{ALd{Df}}}}{{HlBf}AKb}{{Hl{Bj{Fd}}}AK`}{AKd{{Bh{AId}}}}99{Hl{{AHn{Fd}}}}{Hl{{Ah{{ALd{Df}}ALf}}}}???{cDf{}}000{AK`{{Gn{Fd}}}}{c{{Ah{e}}}{}{}}{{{Bj{Fd}}}{{Ah{AK`AKl}}}}{ALh{{Ah{AK`ALf}}}}022{{{AHn{Fd}}}{{Ah{Bf}}}}{{{Bj{Fd}}}{{Ah{Bf}}}}4{{{Bj{Fd}}}{{Ah{Hl}}}}5{c{{Ah{HlCf}}}{{AJl{{Bj{Fd}}}}}}66666{cDh{}}0000{{Bf{Bj{Fd}}AK`}{{Ah{dAKl}}}}{ce{}{}}0000````{{cb}d{}}000`````````11111111``{ALjALj}{ALlALl}{ALnALn}{AM`AM`}{{ce}d{}{}}000```{{}ALj}{{}ALl}{{}ALn}{{}AM`}``````{{ALjBb}{{Ah{dBd}}}}{{ALlBb}{{Ah{dBd}}}}{{ALnBb}{{Ah{dBd}}}}{{AM`Bb}Ef}`{cc{}}0000000`????{ALj{{AMb{{Bl{CnAEn}}}}}}{ALl{{AMb{{Bl{CnAEn}}}}}}{ALn{{AMb{{Bl{CnAEn}}}}}}{AM`{{AMb{{Bl{CnAEn}}}}}}```{{}Cn}000```````````````````````````````````````````````````{ce{}{}}000{c{{Ah{e}}}{}{}}0000000{cDh{}}000```````2222````{{cb}d{}}{{AMdLh}{{AMf{{El{d}}}}}}{{AMhce}AMh{{AJl{{Bj{Fd}}}}}AMd}5555{EdAMh}{AMjAMj}{{ce}d{}{}}{AMjEd}{AMhEd}{{AMjBb}Ef}{{AMhBb}Ef}{cc{}}00=={AMjAd}8{AMd{{AMf{d}}}}{AMj{{El{d}}}}{AMh{{El{AMj}}}}{ce{}{}}{c{{Ah{e}}}{}{}}000{cDh{}}022``2222{An{{El{Jn}}}}{{AMlHl}{{Gl{Gf}}}}{AMlIn}{{AMnBb}Ef}{{AMlBb}Ef}<<77``{{AMlDlId}{{El{d}}}}`{{}{{El{AMl}}}}{{}{{El{{Bl{lA`AN`}}}}}}{{{Bh{ANb}}Ad}{{El{{Bl{lA`AN`}}}}}}1{Df{{El{AMl}}}};;;;::<<`````````{{cb}d{}}0======{ANdANd}{BnBn}{{ce}d{}{}}0{Cn{{Ah{ANfANh}}}}{c{{Ah{ANd}}}Aj}{c{{Ah{Bn}}}Aj}{{ANdANd}Ad}{{BnBn}Ad}{{ce}Ad{}{}}00000{{ANdBb}{{Ah{dBd}}}}0{{BnBb}{{Ah{dBd}}}}0{{ANhBb}{{Ah{dBd}}}}0{ANdAJf}{cc{}}0{fBn}1{ANjANh}{ANlANh}{{{Bj{Fd}}}{{Ah{ANfANh}}}}{{{Bj{Fd}}}{{Ah{ANdANh}}}}{{{Bj{Fd}}}{{Ah{BnANh}}}}66{Cn{{Ah{ANd}}}}{Cn{{Ah{Bn}}}}{ANdAJd}{ce{}{}}00{ANd{{Bl{fAJdAJf}}}}{{fAJdAJf}{{Ah{ANdCf}}}};{ANdf}{Bnf}{ANdAd}{ANfDf}{{ANdc}AhDd}{{Bnc}AhDd}{ANh{{Bh{AId}}}}{ANf{{Gn{Fd}}}}{ANd{{Gn{Fd}}}}{Bn{{Gn{Fd}}}}<<{cDf{}}00{c{{Ah{e}}}{}{}}00000{cDh{}}00???````````{{cb}d{}}{ce{}{}}000`{AGhAGh}{{ce}d{}{}}{{}AGh}{{AGhAGh}Ad}{{ce}Ad{}{}}00{{AGhBb}Ef}{{ANnBb}Ef}0{cc{}}0{AO`ANn}{AObANn}{AJbANn}3;;{{AGhHl{Bh{Bf}}{Gn{{Gn{Fd}}}}Ad}{{Ah{AOdANn}}}}{{AGhHl{Gn{{Gn{Fd}}}}Ad}{{Ah{AOfANn}}}}{ANn{{Bh{AId}}}}>{cDf{}}{c{{Ah{e}}}{}{}}000{cDh{}}0{ce{}{}}0`````0000000000{{AOhBb}Ef}{{AOjBb}Ef}{{AObBb}Ef}0{{AOlBb}Ef}0{{AOnBb}Ef}0??{B@`AOb}{cc{}}{B@bAOl}11{B@bAOn}{Hl{{Ah{{Bl{AInAJ`}}AOb}}}}:::::{AIn{{Ah{AOhAOl}}}}{AOhBf}{AOb{{Bh{AId}}}}{AOl{{Bh{AId}}}}{AOn{{Bh{AId}}}}{cDf{}}00{c{{Ah{e}}}{}{}}000000000{cDh{}}0000{{AOhB@d{Bj{Fd}}{Bj{Fd}}}{{Ah{dAOn}}}}{ce{}{}}0000","D":"GEd","p":[[5,"Private",2638],[1,"unit"],[5,"NodeAddr",0,2639],[6,"AddrInfoOptions",0,2639],[5,"AddrInfo",0,2639],[5,"RelayMap",0,2640],[5,"RelayNode",0,2640],[5,"RelayUrl",0,2641],[6,"Ordering",2642],[1,"bool"],[1,"u16"],[6,"Result",2643],[10,"Deserializer",2644],[17,"Item"],[6,"SocketAddr",2645],[10,"Iterator",2646],[5,"Formatter",2647],[5,"Error",2647],[5,"PublicKey",2073,2648],[6,"Option",2649],[1,"slice"],[1,"tuple"],[5,"NodeTicket",2441,2650],[5,"RemoteInfo",547,2651],[5,"NodeInfo",469],[5,"Url",2652],[5,"Error",2653],[5,"Arc",2654],[10,"Into",2655],[10,"IntoIterator",2656],[1,"str"],[10,"Hasher",2657],[1,"usize"],[10,"Serializer",2658],[5,"String",2659],[5,"TypeId",2660],[5,"Dialer",223],[8,"NodeId",0,2648],[5,"Chain2",2661],[10,"IntoStream",2662],[10,"Stream",2663],[5,"Endpoint",547],[8,"Result",2647],[5,"Merge2",2664],[5,"Connection",547,2665],[8,"Result",2653],[5,"Pin",2666],[5,"Context",2667],[6,"Poll",2668],[1,"u8"],[6,"NotKeyed",2669],[5,"RateLimiter",2670],[5,"RatelimitedStream",2671],[10,"DirectStateStore",2669],[10,"ReasonablyRealtime",2672],[10,"RateLimitingMiddleware",2673],[5,"Jitter",2674],[5,"Zip2",2675],[5,"ConcurrentDiscovery",247],[10,"Discovery",247],[5,"DiscoveryItem",247],[5,"Box",2676],[5,"Vec",2677],[8,"Boxed",2678],[5,"DnsDiscovery",292],[5,"LocalSwarmDiscovery",307],[5,"PkarrPublisher",322],[5,"PkarrResolver",322],[5,"PkarrRelayClient",322],[5,"SecretKey",2073,2648],[5,"SignedPacket",2679],[8,"BoxStream",2663],[1,"u32"],[5,"Duration",2680],[5,"Builder",384],[5,"DhtDiscovery",384],[5,"PkarrClient",2681],[5,"StaticProvider",424],[8,"DnsResolver",444],[10,"ResolverExt",444],[17,"Output"],[10,"Future",2682],[1,"u64"],[6,"IpAddr",2683],[10,"IntoName",2684],[10,"Clone",2685],[8,"TokioAsyncResolver",2686],[6,"IrohAttr",469],[5,"TxtAttrs",469],[5,"BTreeMap",2687],[10,"FromStr",2688],[10,"Display",2647],[10,"Hash",2657],[10,"Ord",2642],[10,"Debug",2647],[5,"Record",2689],[5,"BTreeSet",2690],[5,"Accept",547],[5,"Incoming",547],[5,"Connecting",547],[6,"ConnectionError",547,2691],[5,"AcceptBi",547,2665],[5,"AcceptUni",547,2665],[5,"ServerConfig",547,2692],[5,"AckFrequencyConfig",547,2692],[5,"VarInt",547,2693],[5,"TransportConfig",547,2692],[5,"Builder",547],[10,"FnOnce",2694],[10,"Send",2695],[10,"Sync",2695],[5,"Bytes",547,2696],[10,"HandshakeTokenKey",547,2697],[10,"AeadKey",547,2697],[5,"SocketAddrV4",2645],[5,"SocketAddrV6",2645],[5,"MtuDiscoveryConfig",547,2692],[10,"ControllerFactory",547,2698],[5,"Instant",2699],[10,"Controller",547,2698],[5,"Body",2700],[5,"Request",2701],[6,"SendDatagramError",547,2665],[6,"ReadToEndError",547,2702],[6,"ReadError",547,2702],[6,"ResetError",547,2702],[6,"ReadExactError",547,2702],[6,"WriteError",547,2703],[6,"StoppedError",547,2703],[5,"UdpStats",547,2704],[5,"FrameStats",547,2704],[5,"PathStats",547,2704],[5,"ConnectionStats",547,2704],[5,"Written",547,2705],[6,"RelayMode",547],[5,"ClosedStream",547,2706],[6,"ControlMsg",547,2651],[5,"DirectAddrInfo",547,2651],[6,"ConnectionType",547,2651],[6,"Source",547,2707],[5,"ConnectionClose",547,2708],[5,"ApplicationClose",547,2708],[5,"TransportError",547],[5,"TransportErrorCode",547],[5,"StreamId",547,2709],[5,"DirectAddr",547,2710],[6,"DirectAddrType",547,2710],[5,"ConnectionTypeStream",547,2707],[6,"Dir",2709],[5,"DirectAddrsStream",547,2710],[5,"RecvStream",547,2702],[5,"SendStream",547,2703],[1,"char"],[10,"FromIterator",2656],[5,"BytesMut",2711],[10,"Sized",2695],[5,"Chunk",547,2712],[5,"ExportKeyingMaterialError",547,2697],[5,"WeakConnectionHandle",547,2665],[5,"RetryError",547,2713],[5,"IncomingFuture",547],[5,"CryptoError",547,2697],[5,"UnsupportedVersion",547,2697],[5,"ReasonPhrase",2714],[5,"Custom",2715],[5,"ByteStr",2716],[5,"Custom",2715],[5,"ByteStr",2716],[6,"ReadableError",2717],[6,"Close",2708],[5,"Unspecified",2718],[6,"Error",2719],[5,"InvalidFrame",2708],[5,"VarIntBoundsExceeded",2693],[10,"Any",2660],[10,"CryptoServerConfig",547],[5,"ConnectionId",2720],[5,"Keys",2697],[6,"Side",2709],[5,"ZeroRttAccepted",547,2665],[5,"Incoming",2713],[5,"HandlerService",2721],[5,"IntoMakeService",2722],[5,"IntoMakeServiceWithConnectInfo",2723],[5,"Response",2724],[5,"Join2",2725],[10,"IntoFuture",2726],[6,"Authentication",2528],[5,"IdleTimeout",2692],[5,"Receiver",2727],[5,"RttEstimator",2728],[5,"OpenBi",547,2665],[5,"OpenUni",547,2665],[5,"ReadDatagram",547,2665],[5,"Error",2729],[5,"ReadBuf",2730],[1,"i32"],[5,"Race2",2731],[1,"array"],[5,"SendDatagram",2665],[10,"RangeBounds",2732],[10,"Error",2733],[5,"TransportParameters",2719],[10,"Session",2697],[1,"f32"],[1,"u128"],[5,"CertificateDer",2734],[6,"PrivateKeyDer",2734],[6,"Error",2735],[5,"Hash",1957,2736],[6,"BlobFormat",1957,2736],[5,"HashAndFormat",1957,2736],[5,"Hash",2737],[10,"AsRef",2655],[5,"TypeName",2738],[5,"Signature",2073,2739],[5,"SharedSecret",2073,2740],[6,"KeyParsingError",2073,2648],[5,"InternalSignature",2741],[5,"VerifyingKey",2742],[6,"HexOrBase32ParseError",2743],[5,"Error",2744],[5,"SigningKey",2745],[10,"CryptoRngCore",2746],[10,"Buffer",2747],[5,"Zeroizing",2748],[6,"Error",2749],[5,"Signature",2750],[5,"PortmapMetrics",2217],[5,"NetReportMetrics",2217],[5,"RelayMetrics",2217],[5,"MagicsockMetrics",2217],[5,"IntoIter",2751],[10,"ProtocolHandler",2373],[8,"Boxed",2752],[5,"RouterBuilder",2373],[5,"Router",2373],[5,"DnsPkarrServer",2409,2753],[5,"CleanupDropGuard",2409],[5,"Server",2754],[5,"StunConfig",2754],[5,"BlobTicket",2441,2755],[10,"Ticket",2441,2756],[6,"Error",2441,2756],[5,"DecodeError",2757],[6,"Error",2758],[6,"CreateConfigError",2528],[5,"NoInitialCipherSuite",2759],[5,"GenError",2572],[5,"QuicClientConfig",2759],[5,"QuicServerConfig",2759],[5,"P2pCertificate",2572],[5,"P2pExtension",2572],[5,"ParseError",2572],[5,"VerificationError",2572],[6,"Error",2760],[6,"Error",2761],[6,"SignatureScheme",2762],[15,"Discovery",1955],[15,"NamedApp",1955],[15,"Kind",2527]],"r":[[0,2639],[1,2639],[3,547],[5,2639],[6,2648],[9,2640],[10,547],[11,2640],[12,2641],[130,2763],[141,2763],[164,2763],[207,2640],[208,2640],[550,2665],[551,2665],[552,2692],[553,2639],[554,2639],[556,2697],[558,2708],[561,2696],[566,2712],[568,2706],[572,2665],[573,2708],[575,2691],[581,2704],[582,2651],[583,2707],[584,2651],[585,2698],[586,2698],[587,2697],[592,2710],[593,2651],[594,2710],[595,2710],[601,2697],[606,2704],[607,2697],[620,2692],[624,2639],[626,2665],[627,2665],[629,2704],[634,2665],[635,2702],[637,2702],[638,2702],[639,2702],[645,2651],[648,2702],[649,2713],[653,2665],[654,2703],[655,2692],[656,2707],[659,2703],[660,2709],[667,2692],[672,2704],[675,2697],[676,2693],[678,2665],[679,2703],[680,2705],[681,2665],[1957,2736],[1959,2736],[1960,2736],[2076,2648],[2077,2648],[2078,2764],[2079,2648],[2080,2648],[2081,2740],[2082,2739],[2410,2753],[2415,2765],[2441,2755],[2443,2756],[2446,2650],[2448,2756]],"b":[[97,"impl-Debug-for-AddrInfoOptions"],[98,"impl-Display-for-AddrInfoOptions"],[99,"impl-Display-for-RelayMap"],[100,"impl-Debug-for-RelayMap"],[101,"impl-Display-for-RelayNode"],[102,"impl-Debug-for-RelayNode"],[103,"impl-Display-for-RelayUrl"],[104,"impl-Debug-for-RelayUrl"],[106,"impl-From%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[107,"impl-From%3CPublicKey%3E-for-NodeAddr"],[108,"impl-From%3CNodeTicket%3E-for-NodeAddr"],[109,"impl-From%3CRemoteInfo%3E-for-NodeAddr"],[110,"impl-From%3CNodeInfo%3E-for-NodeAddr"],[497,"impl-Debug-for-IrohAttr"],[498,"impl-Display-for-IrohAttr"],[502,"impl-From%3CTxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[503,"impl-From%3C%26TxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[1011,"impl-PartialEq-for-Bytes"],[1012,"impl-PartialEq%3Cstr%3E-for-Bytes"],[1013,"impl-PartialEq%3C%5Bu8%5D%3E-for-Bytes"],[1014,"impl-PartialEq%3CVec%3Cu8%3E%3E-for-Bytes"],[1015,"impl-PartialEq%3CBytesMut%3E-for-Bytes"],[1016,"impl-PartialEq%3C%26T%3E-for-Bytes"],[1017,"impl-PartialEq%3CString%3E-for-Bytes"],[1129,"impl-Debug-for-Bytes"],[1130,"impl-UpperHex-for-Bytes"],[1131,"impl-LowerHex-for-Bytes"],[1134,"impl-Display-for-SendDatagramError"],[1135,"impl-Debug-for-SendDatagramError"],[1136,"impl-Display-for-RetryError"],[1137,"impl-Debug-for-RetryError"],[1139,"impl-Debug-for-ReadToEndError"],[1140,"impl-Display-for-ReadToEndError"],[1141,"impl-Debug-for-ReadError"],[1142,"impl-Display-for-ReadError"],[1143,"impl-Display-for-ResetError"],[1144,"impl-Debug-for-ResetError"],[1145,"impl-Display-for-ReadExactError"],[1146,"impl-Debug-for-ReadExactError"],[1148,"impl-Debug-for-WriteError"],[1149,"impl-Display-for-WriteError"],[1150,"impl-Debug-for-StoppedError"],[1151,"impl-Display-for-StoppedError"],[1153,"impl-Display-for-VarInt"],[1154,"impl-Debug-for-VarInt"],[1168,"impl-Display-for-ClosedStream"],[1169,"impl-Debug-for-ClosedStream"],[1170,"impl-Debug-for-ControlMsg"],[1171,"impl-Display-for-ControlMsg"],[1174,"impl-Display-for-ConnectionType"],[1175,"impl-Debug-for-ConnectionType"],[1176,"impl-Display-for-ConnectionError"],[1177,"impl-Debug-for-ConnectionError"],[1184,"impl-Display-for-Source"],[1185,"impl-Debug-for-Source"],[1186,"impl-Display-for-ConnectionClose"],[1187,"impl-Debug-for-ConnectionClose"],[1188,"impl-Display-for-ApplicationClose"],[1189,"impl-Debug-for-ApplicationClose"],[1191,"impl-Display-for-TransportError"],[1192,"impl-Debug-for-TransportError"],[1193,"impl-Debug-for-TransportErrorCode"],[1194,"impl-Display-for-TransportErrorCode"],[1195,"impl-Display-for-StreamId"],[1196,"impl-Debug-for-StreamId"],[1199,"impl-Display-for-DirectAddrType"],[1200,"impl-Debug-for-DirectAddrType"],[1207,"impl-From%3CBox%3C%5Bu8%5D%3E%3E-for-Bytes"],[1208,"impl-From%3CString%3E-for-Bytes"],[1210,"impl-From%3CReasonPhrase%3E-for-Bytes"],[1211,"impl-From%3CCustom%3E-for-Bytes"],[1212,"impl-From%3CByteStr%3E-for-Bytes"],[1213,"impl-From%3C%26%5Bu8%5D%3E-for-Bytes"],[1214,"impl-From%3CVec%3Cu8%3E%3E-for-Bytes"],[1215,"impl-From%3CBytesMut%3E-for-Bytes"],[1216,"impl-From%3CCustom%3E-for-Bytes"],[1217,"impl-From%3CByteStr%3E-for-Bytes"],[1218,"impl-From%3C%26str%3E-for-Bytes"],[1233,"impl-From%3CConnectionError%3E-for-ReadError"],[1234,"impl-From%3CResetError%3E-for-ReadError"],[1235,"impl-From%3CReadableError%3E-for-ReadError"],[1241,"impl-From%3CClosedStream%3E-for-WriteError"],[1243,"impl-From%3CConnectionError%3E-for-WriteError"],[1244,"impl-From%3CStoppedError%3E-for-WriteError"],[1248,"impl-From%3Cu8%3E-for-VarInt"],[1250,"impl-From%3Cu32%3E-for-VarInt"],[1251,"impl-From%3CStreamId%3E-for-VarInt"],[1252,"impl-From%3Cu16%3E-for-VarInt"],[1271,"impl-From%3CTransportError%3E-for-ConnectionError"],[1272,"impl-From%3CClose%3E-for-ConnectionError"],[1287,"impl-From%3CTransportErrorCode%3E-for-TransportError"],[1288,"impl-From%3CError%3E-for-TransportError"],[1289,"impl-From%3CInvalidFrame%3E-for-TransportError"],[1433,"impl-IntoIterator-for-%26Bytes"],[1434,"impl-IntoIterator-for-Bytes"],[1513,"impl-PartialOrd%3C%26T%3E-for-Bytes"],[1514,"impl-PartialOrd-for-Bytes"],[1515,"impl-PartialOrd%3Cstr%3E-for-Bytes"],[1516,"impl-PartialOrd%3C%5Bu8%5D%3E-for-Bytes"],[1517,"impl-PartialOrd%3CString%3E-for-Bytes"],[1518,"impl-PartialOrd%3CVec%3Cu8%3E%3E-for-Bytes"],[1541,"impl-RecvStream"],[1542,"impl-AsyncRead-for-RecvStream"],[1544,"impl-AsyncWrite-for-SendStream"],[1545,"impl-SendStream"],[1725,"impl-TryFrom%3Cu128%3E-for-VarInt"],[1726,"impl-TryFrom%3Cu64%3E-for-VarInt"],[1727,"impl-TryFrom%3Cusize%3E-for-VarInt"],[1966,"impl-Value-for-Hash"],[1967,"impl-Hash"],[1971,"impl-Borrow%3C%5Bu8%5D%3E-for-Hash"],[1972,"impl-Borrow%3C%5Bu8;+32%5D%3E-for-Hash"],[2011,"impl-Display-for-Hash"],[2012,"impl-Debug-for-Hash"],[2013,"impl-Debug-for-BlobFormat"],[2014,"impl-Display-for-BlobFormat"],[2015,"impl-Debug-for-HashAndFormat"],[2016,"impl-Display-for-HashAndFormat"],[2020,"impl-From%3C%5Bu8;+32%5D%3E-for-Hash"],[2021,"impl-From%3C%26%5Bu8;+32%5D%3E-for-Hash"],[2022,"impl-From%3CHash%3E-for-Hash"],[2025,"impl-Value-for-Hash"],[2026,"impl-Hash"],[2120,"impl-UpperHex-for-Signature"],[2121,"impl-Display-for-Signature"],[2122,"impl-LowerHex-for-Signature"],[2123,"impl-Debug-for-Signature"],[2124,"impl-Display-for-PublicKey"],[2125,"impl-Debug-for-PublicKey"],[2126,"impl-Display-for-KeyParsingError"],[2127,"impl-Debug-for-KeyParsingError"],[2128,"impl-Display-for-SecretKey"],[2129,"impl-Debug-for-SecretKey"],[2132,"impl-From%3C%26%5Bu8;+ed25519::::SignatureBytes::%7Bconstant%230%7D%5D%3E-for-Signature"],[2133,"impl-From%3CInternalSignature%3E-for-Signature"],[2134,"impl-From%3C%5Bu8;+ed25519::::SignatureBytes::%7Bconstant%230%7D%5D%3E-for-Signature"],[2138,"impl-From%3CHexOrBase32ParseError%3E-for-KeyParsingError"],[2139,"impl-From%3CError%3E-for-KeyParsingError"],[2142,"impl-From%3C%5Bu8;+32%5D%3E-for-SecretKey"],[2143,"impl-From%3CSigningKey%3E-for-SecretKey"],[2177,"impl-Signature"],[2178,"impl-SignatureEncoding-for-Signature"],[2190,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-Signature"],[2191,"impl-TryFrom%3C%26Signature%3E-for-Signature"],[2192,"impl-TryFrom%3CSignature%3E-for-Signature"],[2195,"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey"],[2196,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey"],[2473,"impl-Debug-for-BlobTicket"],[2474,"impl-Display-for-BlobTicket"],[2475,"impl-Debug-for-NodeTicket"],[2476,"impl-Display-for-NodeTicket"],[2477,"impl-Debug-for-Error"],[2478,"impl-Display-for-Error"],[2484,"impl-From%3CDecodeError%3E-for-Error"],[2485,"impl-From%3CError%3E-for-Error"],[2549,"impl-Display-for-CreateConfigError"],[2550,"impl-Debug-for-CreateConfigError"],[2553,"impl-From%3CNoInitialCipherSuite%3E-for-CreateConfigError"],[2554,"impl-From%3CGenError%3E-for-CreateConfigError"],[2555,"impl-From%3CError%3E-for-CreateConfigError"],[2589,"impl-Debug-for-GenError"],[2590,"impl-Display-for-GenError"],[2591,"impl-Debug-for-ParseError"],[2592,"impl-Display-for-ParseError"],[2593,"impl-Debug-for-VerificationError"],[2594,"impl-Display-for-VerificationError"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAKQGxgAEAAAACwAAAA4ABQAWAB8ANwABADsABQBIACEAawABAG4AAQBxAAAAdQAAAHkABwCEAAAAlAADAJoAAACdAAQApQAAAKcAGwDFAAUA4gACAOYAAADpAAAA6wAAAO8AAADxAAYA+wAAAP4ABgAHAQEACgEAAAwBAAAWAQAAGAEAABsBCQAoAQIALwEEADYBAgA8AQYASgEOAFoBAwBhAQIAbAEAAG4BAABwAQsAfQECAIMBBACLAQMAkAEBAJQBAACbAQAAnQEAAJ8BBAClAQMArAEDALUBAAC3AQAAuQEDAMkBAADRAQAA3AEBAN8BCQDqAQsA9wEBAPsBAAABAgEABQIAAA4CAAASAgAAFQIAABcCDACvAiEA1wIAANkCAADgAgAA5QIAAOsCcABiAwMAaQMhAIwDIQCyAwQAuAMEAMMDAADFAwAAxwMAAMwDAQDSAwoA3gMFAO4DAgDyA3MAagRHALgEAQC7BAgAzAQAAM8EAADSBAIA1gQAANgEAADaBAAA3AQBAN8EAADhBAAA4wQCAPgEAQD/BAAAAwUAAAgFAgAMBQAAEQUjADwFAAA+BQUASAUAAI4FCQCaBQcAqAUIAMYFAADKBQQA2AUBAN4FAADqBQkA9QUBAPkFDAAHBgIAEAYMAC4GAAA3BgEASAYEAFQGBwBkBgAAZgYBAGkGAQBuBjUAqQYUAMEGWgAdBwYAJQc3AGAHNwCiBwEArAcDALEHMADlBwIA6gcAAOwHCAD+BwIAAggCAAYIEwAkCAIAKAgqAFUIAgBaCAIAXwgBAGUIAgBpCAIAbggAAHUIAAB6CAIAgQgAAIMIAACGCAYAjggKAJoICQClCAQArggDALMIDwDFCAcA0AgDANkIBADjCAMA7AgKAAAJBgAICQcAEQkIAB0JBgAlCRQAPAkIAEkJAABMCQMAUQkBAFUJAQBZCQAAYQkIAGwJAwBzCQEAggkHAJMJCwCgCQ8AtQkBALgJBQDJCQIAzQkTAOgJBADuCQkA+gkDAAIKCgASChEAJgoAACgKAAArCgAANAoUAEoKBAA="}],\ -["iroh_base",{"t":"CCCCCCPFGPGPPPPNNNNNNNNNNNNHNNNNNNHHNNNNNNNNOHHHONNNNNNNNNNNNNNNNNNGTFFPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNTPPGISFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFGPPFPPFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNONNNNNNONNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNSSFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNOONNNNNNNNNNNNNNONNNNFPGTPFPKPNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNO","n":["base32","hash","key","node_addr","relay_map","ticket","Base32","DecodeError","DecodeKind","Hex","HexOrBase32ParseError","Length","Padding","Symbol","Trailing","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt_append","fmt_short","from","from","from","from","from","into","into","into","kind","parse_array","parse_array_hex_or_base32","parse_vec","position","source","to_owned","to_owned","to_string","to_string","to_string","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","BlobFormat","EMPTY","Hash","HashAndFormat","HashSeq","Raw","as_bytes","as_bytes","as_bytes","as_ref","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","cmp","cmp","cmp","compare","default","deserialize","deserialize","deserialize","encode_hex","encode_hex_upper","eq","eq","eq","fixed_width","fixed_width","fmt","fmt","fmt","fmt","fmt","fmt","fmt_short","format","from","from","from","from","from","from","from_bytes","from_bytes","from_bytes","from_str","from_str","hash","hash","hash","hash","hash_seq","into","into","into","is_hash_seq","is_raw","new","new","partial_cmp","partial_cmp","partial_cmp","raw","serialize","serialize","serialize","to_hex","to_owned","to_owned","to_owned","to_string","to_string","to_string","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","type_name","type_name","vzip","vzip","vzip","BYTE_SIZE","Base32","Key","KeyParsingError","NodeId","PUBLIC_KEY_LENGTH","PublicKey","SecretKey","SharedSecret","Signature","as_bytes","as_ref","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","cmp","deserialize","deserialize","deserialize","encode_hex","encode_hex_upper","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt_short","from","from","from","from","from","from","from","from","from","from","from","from","from","from_bytes","from_bytes","from_bytes","from_components","from_slice","from_str","from_str","from_str","generate","generate_with_rng","hash","into","into","into","into","into","open","partial_cmp","public","r_bytes","s_bytes","seal","serialize","serialize","serialize","serialize_public_pem","serialize_secret_pem","shared","sign","source","to_bytes","to_bytes","to_bytes","to_openssh","to_owned","to_owned","to_owned","to_string","to_string","to_string","to_string","to_vec","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from_openssh","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","verify","vzip","vzip","vzip","vzip","vzip","AddrInfo","AddrInfoOptions","Addresses","Id","NodeAddr","Relay","RelayAndAddresses","RelayUrl","apply_options","apply_options","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","cmp","cmp","cmp","default","default","deref","deserialize","deserialize","deserialize","deserialize","direct_addresses","direct_addresses","eq","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from_parts","from_str","from_str","hash","info","into","into","into","into","is_empty","new","node_id","partial_cmp","partial_cmp","partial_cmp","relay_url","relay_url","serialize","serialize","serialize","serialize","to_owned","to_owned","to_owned","to_owned","to_string","to_string","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","with_direct_addresses","with_relay_url","DEFAULT_RELAY_QUIC_PORT","DEFAULT_STUN_PORT","QuicConfig","RelayMap","RelayNode","RelayUrl","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","cmp","cmp","contains_node","default","default_from_node","deserialize","deserialize","empty","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","from","from","from","from_nodes","from_url","get_node","into","into","into","is_empty","len","nodes","partial_cmp","partial_cmp","port","quic","serialize","serialize","stun_only","stun_port","to_owned","to_owned","to_owned","to_string","to_string","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","url","urls","vzip","vzip","vzip","BlobTicket","Encoding","Error","KIND","Kind","NodeTicket","Postcard","Ticket","Verify","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deserialize","deserialize","deserialize","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","format","from","from","from","from","from","from","from_bytes","from_bytes","from_bytes","from_str","from_str","hash","into","into","into","into_parts","new","new","node_addr","node_addr","recursive","serialize","serialize","serialize","source","to_bytes","to_bytes","to_bytes","to_owned","to_owned","to_string","to_string","to_string","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","expected"],"q":[[0,"iroh_base"],[6,"iroh_base::base32"],[67,"iroh_base::hash"],[165,"iroh_base::key"],[296,"iroh_base::node_addr"],[397,"iroh_base::relay_map"],[470,"iroh_base::ticket"],[546,"iroh_base::ticket::Error"],[547,"data_encoding"],[548,"alloc::string"],[549,"core::convert"],[550,"core::fmt"],[551,"core::result"],[552,"hex::error"],[553,"alloc::vec"],[554,"core::error"],[555,"core::option"],[556,"core::any"],[557,"core::cmp"],[558,"serde::de"],[559,"core::iter::traits::collect"],[560,"iroh_blake3"],[561,"core::hash"],[562,"serde::ser"],[563,"redb::types"],[564,"ed25519"],[565,"iroh_base::key::encryption"],[566,"ed25519_dalek::signature"],[567,"ed25519_dalek::verifying"],[568,"ed25519_dalek::errors"],[569,"ed25519_dalek::signing"],[570,"signature::error"],[571,"rand_core"],[572,"core::marker"],[573,"aead"],[574,"anyhow"],[575,"zeroize"],[576,"ssh_key::error"],[577,"ssh_key::signature"],[578,"iroh_base::relay_url"],[579,"core::net::socket_addr"],[580,"core::iter::traits::iterator"],[581,"iroh_base::ticket::node"],[582,"url"],[583,"alloc::sync"],[584,"iroh_base::ticket::blob"],[585,"postcard::error"],[586,"ed25519_dalek::constants"]],"i":[0,0,0,0,0,0,12,0,0,12,0,1,1,1,1,1,2,12,1,2,12,1,2,1,2,1,2,0,1,1,2,2,12,12,0,0,1,2,12,12,12,1,2,12,2,0,0,0,2,12,1,2,1,2,12,1,2,12,1,2,12,1,2,12,1,2,12,0,21,0,0,22,22,21,21,23,21,21,21,21,22,23,21,22,23,21,22,23,21,22,23,21,22,23,21,22,21,22,23,21,21,21,22,23,21,23,21,21,22,22,23,23,21,23,21,21,21,21,22,23,21,21,23,21,23,21,22,23,23,23,21,22,23,22,22,21,23,21,22,23,23,21,22,23,21,21,22,23,21,22,23,21,22,23,21,22,23,21,22,23,21,23,21,22,23,34,37,37,0,0,0,0,0,0,0,33,33,36,34,33,37,35,36,34,33,37,35,34,33,35,34,33,35,33,34,33,35,33,33,34,33,36,34,34,34,34,33,33,37,37,35,35,33,36,34,34,34,34,33,33,37,37,37,35,35,35,34,33,35,34,34,34,33,35,35,35,33,36,34,33,37,35,36,33,35,34,34,36,34,33,35,33,35,35,35,37,34,34,35,35,34,33,35,34,33,37,35,34,36,34,34,34,34,33,33,33,37,35,35,35,36,34,33,37,35,36,34,33,37,35,33,36,34,33,37,35,0,0,52,52,0,52,52,0,51,53,51,53,52,54,51,53,52,54,51,53,52,54,51,53,52,54,51,53,54,53,52,54,51,53,52,54,51,53,51,53,52,54,51,53,52,52,54,54,51,51,51,51,53,52,54,54,51,52,54,54,51,51,53,52,54,53,51,51,51,53,54,51,53,51,53,52,54,51,53,52,54,52,54,51,53,52,54,51,53,52,54,51,53,52,54,51,53,52,54,51,51,0,0,0,0,0,0,63,64,65,63,64,65,63,64,65,63,64,65,64,65,63,65,63,64,65,63,63,64,65,63,63,64,64,65,63,64,65,63,63,63,63,64,65,63,63,63,64,65,65,64,64,65,64,64,63,64,65,63,64,63,64,65,63,64,65,63,64,65,64,63,63,64,65,0,71,0,70,71,0,71,0,71,69,60,71,69,60,71,69,60,69,60,70,69,60,69,60,69,69,60,60,71,71,69,69,60,60,71,71,71,70,69,60,69,60,69,69,60,71,69,69,60,69,60,69,70,69,60,71,70,69,60,69,60,69,60,71,69,60,71,69,60,71,69,60,71,69,60,71,73],"f":"```````````````{ce{}{}}00000{bb}{dd}{{ce}f{}{}}0{{bb}h}{{dd}h}{cj{{A`{{n{l}}}}}}{{bAb}{{Af{fAd}}}}0{{dAb}{{Af{fAd}}}}0{{AhAb}Aj}0{{cj}f{{A`{{n{l}}}}}}4{cc{}}0{dAh}{AlAh}2===`{An{{Af{{B`{l}}d}}}}{An{{Af{{B`{l}}Ah}}}}{An{{Af{{Bb{l}}d}}}}`{Ah{{Bf{Bd}}}}{ce{}{}}0{cj{}}00{c{{Af{e}}}{}{}}00000{cBh{}}00333``````{Bj{{B`{l}}}}44{Bj{{n{l}}}}01555555{BjBj}{BlBl}{BnBn}{{ce}f{}{}}00{{BjBj}C`}{{BlBl}C`}{{BnBn}C`}{{{n{l}}{n{l}}}C`}{{}Bl}{c{{Af{Bj}}}Cb}{c{{Af{Bl}}}Cb}{c{{Af{Bn}}}Cb}{ce{}{{Cf{Cd}}}}0{{BjBj}h}{{BlBl}h}{{BnBn}h}{{}{{Bf{Ch}}}}0{{BjAb}Aj}0{{BlAb}Aj}0{{BnAb}Aj}0{Bjj}`{{{B`{l}}}Bj}0{cc{}}{CjBj}112{{{n{l}}}c{}}0{An{{Af{Bjc}}}{}}{An{{Af{Bnc}}}{}}{{Bjc}fCl}{{Blc}fCl}{{Bnc}fCl}`{BjBn}{ce{}{}}00{Blh}0{cBj{{A`{{n{l}}}}}}{{BjBl}Bn}{{BjBj}{{Bf{C`}}}}{{BlBl}{{Bf{C`}}}}{{BnBn}{{Bf{C`}}}}7{{Bjc}AfCn}{{Blc}AfCn}{{Bnc}AfCn}{Bjj}:::{cj{}}00{c{{Af{e}}}{}{}}00000{cBh{}}00{{}D`}0>>>``````````{Db{{B`{l}}}}{Db{{n{l}}}}{ce{}{}}000000000{DdDd}{DbDb}{DfDf}{{ce}f{}{}}00{{DbDb}C`}{c{{Af{Dd}}}Cb}{c{{Af{Db}}}Cb}{c{{Af{Df}}}Cb}{ce{}{{Cf{Cd}}}}0{{DdDd}h}{{DbDb}h}{{DhAb}Aj}{{DdAb}{{Af{fAd}}}}000{{DbAb}Aj}0{{DjAb}Aj}0{{DfAb}Aj}0{Dbj}{cc{}}{{{B`{l}}}Dd}10{DlDd}{DnDb}3{E`Dj}4{AhDj}{EbDf}6{{{B`{l}}}Df}6{{{B`{l}}}{{Af{DbE`}}}}1{{{B`{l}}{B`{l}}}Dd}{{{n{l}}}{{Af{DdEd}}}}{An{{Af{DdEd}}}}{An{{Af{Dbc}}}{}}{An{{Af{Dfc}}}{}}{{}Df}{cDf{EfEh}}{{Dbc}fCl}{ce{}{}}0000{{DhEj}{{El{f}}}}{{DbDb}{{Bf{C`}}}}{DfDb}{Dd{{B`{l}}}}0{{DhEj}f}{{Ddc}AfCn}{{Dbc}AfCn}{{Dfc}AfCn}{Dbj}{Df{{En{j}}}}{{DfDb}Dh}{{Df{n{l}}}Dd}{Dj{{Bf{Bd}}}}99{Df{{B`{l}}}}{Df{{F`{{En{j}}}}}}???{cj{}}000{Dd{{Bb{l}}}}{c{{Af{e}}}{}{}}{{{n{l}}}{{Af{DdEd}}}}{Fb{{Af{DdFd}}}}02{{{B`{l}}}{{Af{Dbc}}}{}}{{{n{l}}}{{Af{Dbc}}}{}}44{{{n{l}}}{{Af{Dfc}}}{}}5{c{{El{Df}}}{{A`{{n{l}}}}}}66666{cBh{}}0000{{Db{n{l}}Dd}{{Af{fE`}}}}{ce{}{}}0000````````{{FfFh}f}{{FjFh}f}22222222{FfFf}{FjFj}{FhFh}{FlFl}{{ce}f{}{}}000{{FfFf}C`}{{FjFj}C`}{{FlFl}C`}{{}Fj}{{}Fh}{Flc{}}{c{{Af{Ff}}}Cb}{c{{Af{Fj}}}Cb}{c{{Af{Fh}}}Cb}{c{{Af{Fl}}}Cb}{Ff{{`{{Gb{}{{Fn{G`}}}}}}}}`{{FfFf}h}{{FjFj}h}{{FhFh}h}{{FlFl}h}{{FfAb}Aj}{{FjAb}Aj}{{FhAb}Aj}0{{FlAb}Aj}0{{{Gd{Db{Bf{Fl}}{n{G`}}}}}Ff}{GfFf}{cc{}}{GhFf}11{GjFl}2{{Db{Bf{Fl}}c}Ff{{Gl{}{{Fn{G`}}}}}}{An{{Af{Fhc}}}{}}{An{{Af{Flc}}}{}}{{Flc}fCl}`{ce{}{}}000{Fjh}{DbFf}`{{FfFf}{{Bf{C`}}}}{{FjFj}{{Bf{C`}}}}{{FlFl}{{Bf{C`}}}}{Ff{{Bf{Fl}}}}`{{Ffc}AfCn}{{Fjc}AfCn}{{Fhc}AfCn}{{Flc}AfCn}::::{cj{}}0{c{{Af{e}}}{}{}}0000000{cBh{}}000===={{Ffc}Ff{{Gl{}{{Fn{G`}}}}}}{{FfFl}Ff}``````??????{GnGn}{H`H`}{HbHb}{{ce}f{}{}}00{{H`H`}C`}{{HbHb}C`}{{GnFl}h}{{}Hb}{{FlHd}Gn}{c{{Af{H`}}}Cb}{c{{Af{Hb}}}Cb}{{}Gn}{{GnGn}h}{{H`H`}h}{{HbHb}h}{{GnAb}Aj}0{{H`Ab}Aj}0{{HbAb}Aj}{cc{}}00{e{{El{Gn}}}{{Hh{{Hf{H`}}}}}{{Gl{}{{Fn{c}}}}}}{FlGn}{{GnFl}{{Bf{{Hf{H`}}}}}}{ce{}{}}00{Gnh}{GnCh}{Gn{{`{{Gb{}{{Fn{{Hf{H`}}}}}}}}}}{{H`H`}{{Bf{C`}}}}{{HbHb}{{Bf{C`}}}}``{{H`c}AfCn}{{Hbc}AfCn}``777{cj{}}0{c{{Af{e}}}{}{}}00000{cBh{}}00`{Gn{{`{{Gb{}{{Fn{Fl}}}}}}}};;;`````````;;;;;;{HjHj}{GhGh}{{ce}f{}{}}0{An{{Af{HlHn}}}}{c{{El{Hj}}}Cb}{c{{El{Gh}}}Cb}{{HjHj}h}{{GhGh}h}{{HjAb}Aj}0{{GhAb}Aj}0{{HnAb}Aj}0{HjBl}{cc{}}0{FfGh}{dHn}{I`Hn}3{{{n{l}}}{{Af{HlHn}}}}{{{n{l}}}{{Af{HjHn}}}}{{{n{l}}}{{Af{GhHn}}}}{An{{El{Hjc}}}{}}{An{{El{Ghc}}}{}}{HjBj}{ce{}{}}00{Hj{{Gd{FfBjBl}}}}{{FfBjBl}{{El{Hj}}}};{HjFf}{GhFf}{Hjh}{Hlj}{{Hjc}ElCn}{{Ghc}ElCn}{Hn{{Bf{Bd}}}}{Hl{{Bb{l}}}}{Hj{{Bb{l}}}}{Gh{{Bb{l}}}}<<{cj{}}00{c{{Af{e}}}{}{}}00000{cBh{}}00???`","D":"AFh","p":[[6,"DecodeKind",6,547],[5,"DecodeError",6,547],[1,"unit"],[1,"bool"],[5,"String",548],[1,"u8"],[1,"slice"],[10,"AsRef",549],[5,"Formatter",550],[5,"Error",550],[6,"Result",551],[6,"HexOrBase32ParseError",6],[8,"Result",550],[6,"FromHexError",552],[1,"str"],[1,"array"],[5,"Vec",553],[10,"Error",554],[6,"Option",555],[5,"TypeId",556],[5,"Hash",67],[6,"BlobFormat",67],[5,"HashAndFormat",67],[6,"Ordering",557],[10,"Deserializer",558],[1,"char"],[10,"FromIterator",559],[1,"usize"],[5,"Hash",560],[10,"Hasher",561],[10,"Serializer",562],[5,"TypeName",563],[5,"PublicKey",165],[5,"Signature",165,564],[5,"SecretKey",165],[5,"SharedSecret",165,565],[6,"KeyParsingError",165],[5,"InternalSignature",566],[5,"VerifyingKey",567],[8,"SignatureError",568],[5,"SigningKey",569],[5,"Error",570],[10,"CryptoRngCore",571],[10,"Sized",572],[10,"Buffer",573],[8,"Result",574],[5,"Zeroizing",575],[8,"Result",576],[5,"Signature",577],[6,"Error",576],[5,"NodeAddr",296],[6,"AddrInfoOptions",296],[5,"AddrInfo",296],[5,"RelayUrl",296,578],[17,"Item"],[6,"SocketAddr",579],[10,"Iterator",580],[1,"tuple"],[8,"NodeId",165],[5,"NodeTicket",470,581],[5,"Url",582],[10,"IntoIterator",559],[5,"RelayMap",397],[5,"RelayNode",397],[5,"QuicConfig",397],[1,"u16"],[5,"Arc",583],[10,"Into",549],[5,"BlobTicket",470,584],[10,"Ticket",470],[6,"Error",470],[6,"Error",585],[15,"Kind",546]],"r":[[7,547],[8,547],[170,586],[173,565],[174,564],[303,578],[402,578],[470,584],[475,581]],"b":[[28,"impl-Display-for-DecodeKind"],[29,"impl-Debug-for-DecodeKind"],[30,"impl-Display-for-DecodeError"],[31,"impl-Debug-for-DecodeError"],[32,"impl-Debug-for-HexOrBase32ParseError"],[33,"impl-Display-for-HexOrBase32ParseError"],[38,"impl-From%3CDecodeError%3E-for-HexOrBase32ParseError"],[39,"impl-From%3CFromHexError%3E-for-HexOrBase32ParseError"],[73,"impl-Hash"],[74,"impl-Value-for-Hash"],[77,"impl-Borrow%3C%5Bu8%5D%3E-for-Hash"],[78,"impl-Borrow%3C%5Bu8;+32%5D%3E-for-Hash"],[106,"impl-Debug-for-Hash"],[107,"impl-Display-for-Hash"],[108,"impl-Display-for-BlobFormat"],[109,"impl-Debug-for-BlobFormat"],[110,"impl-Debug-for-HashAndFormat"],[111,"impl-Display-for-HashAndFormat"],[114,"impl-From%3C%5Bu8;+32%5D%3E-for-Hash"],[115,"impl-From%3C%26%5Bu8;+32%5D%3E-for-Hash"],[117,"impl-From%3CHash%3E-for-Hash"],[120,"impl-Hash"],[121,"impl-Value-for-Hash"],[202,"impl-Debug-for-Signature"],[203,"impl-Display-for-Signature"],[204,"impl-UpperHex-for-Signature"],[205,"impl-LowerHex-for-Signature"],[206,"impl-Display-for-PublicKey"],[207,"impl-Debug-for-PublicKey"],[208,"impl-Debug-for-KeyParsingError"],[209,"impl-Display-for-KeyParsingError"],[210,"impl-Debug-for-SecretKey"],[211,"impl-Display-for-SecretKey"],[214,"impl-From%3C%26%5Bu8;+ed25519::::SignatureBytes::%7Bconstant%230%7D%5D%3E-for-Signature"],[216,"impl-From%3C%5Bu8;+ed25519::::SignatureBytes::%7Bconstant%230%7D%5D%3E-for-Signature"],[217,"impl-From%3CInternalSignature%3E-for-Signature"],[220,"impl-From%3CError%3E-for-KeyParsingError"],[222,"impl-From%3CHexOrBase32ParseError%3E-for-KeyParsingError"],[223,"impl-From%3CSigningKey%3E-for-SecretKey"],[225,"impl-From%3C%5Bu8;+32%5D%3E-for-SecretKey"],[256,"impl-SignatureEncoding-for-Signature"],[257,"impl-Signature"],[269,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-Signature"],[270,"impl-TryFrom%3CSignature%3E-for-Signature"],[271,"impl-TryFrom%3C%26Signature%3E-for-Signature"],[273,"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey"],[274,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey"],[340,"impl-Display-for-AddrInfoOptions"],[341,"impl-Debug-for-AddrInfoOptions"],[342,"impl-Debug-for-RelayUrl"],[343,"impl-Display-for-RelayUrl"],[344,"impl-From%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[345,"impl-From%3CPublicKey%3E-for-NodeAddr"],[347,"impl-From%3CNodeTicket%3E-for-NodeAddr"],[426,"impl-Display-for-RelayMap"],[427,"impl-Debug-for-RelayMap"],[428,"impl-Display-for-RelayNode"],[429,"impl-Debug-for-RelayNode"],[494,"impl-Display-for-BlobTicket"],[495,"impl-Debug-for-BlobTicket"],[496,"impl-Debug-for-NodeTicket"],[497,"impl-Display-for-NodeTicket"],[498,"impl-Debug-for-Error"],[499,"impl-Display-for-Error"],[504,"impl-From%3CDecodeError%3E-for-Error"],[505,"impl-From%3CError%3E-for-Error"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAG8BMAABAAAABgAAABAACwAdAAUAJwABADIAEQBLACUAcwABAHYAAAB6AAYAigACAI4AAgCSABMAsQAjANcAAADZAAIA3QAAAN8AAQDiAAAA6AACAO0AAAD0AAAA+QACAAABAQAFAQYADQEKABkBCQAkAQQAMwEZAE8BCwBfAQAAYgECAG0BAgByARkAlAENAKMBAAClAQEAqAEHALwBAgDAAQEAxAENANQBAgDgAQkA6wEJAPkBAQD9AQMADAICABACEwA="}],\ -["iroh_dns_server",{"t":"FNNNNNCCNNNNCNNNCNNNCCNNNNNNGFPPFFFNOONNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNOONNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNOFFFFNNNNONNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNOOOOONNNNNNNNNNNNNNNNNNNNNNNNGPFFFPPGPPPNNNNOONNNNNNNNNNONNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFNNNNNNOOOOOONNNOOOOHNNNOOOOOONNNNNFNNNNNHNNNNNNFNNNNNONNNONNNNN","n":["ZoneStore","__clone_box","borrow","borrow_mut","clone","clone_into","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","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","data_dir","default","default","default","default","deserialize","deserialize","deserialize","deserialize","deserialize","disabled","disabled","dns","enabled","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from_ref","http","https","into","into","into","into","into","load","mainline","metrics","pkarr_put_rate_limit","serialize","serialize","serialize","serialize","serialize","signed_packet_store_path","to_owned","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","zone_store","DnsConfig","DnsHandler","DnsServer","Handle","__clone_box","__clone_box","__clone_box","answer_request","bind_addr","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","default_soa","default_ttl","deserialize","fmt","fmt","fmt","from","from","from","from","from_ref","from_ref","from_ref","handle_request","into","into","into","into","local_addr","new","origins","port","rr_a","rr_aaaa","rr_ns","run_until_done","send_response","serialize","shutdown","spawn","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","CertMode","Disabled","HttpConfig","HttpServer","HttpsConfig","LetsEncrypt","Manual","RateLimitConfig","SelfSigned","Simple","Smart","__clone_box","__clone_box","__clone_box","__clone_box","bind_addr","bind_addr","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","cert_mode","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","default","default","deserialize","deserialize","deserialize","deserialize","domains","eq","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from_ref","from_ref","from_ref","from_ref","http_addr","https_addr","into","into","into","into","into","letsencrypt_contact","letsencrypt_prod","port","port","run_until_done","serialize","serialize","serialize","serialize","shutdown","spawn","to_owned","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","Metrics","__clone_box","borrow","borrow_mut","clone","clone_into","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","dns_handler","from","from_ref","into","store","to_owned","try_from","try_into","type_id","vzip"],"q":[[0,"iroh_dns_server"],[28,"iroh_dns_server::config"],[114,"iroh_dns_server::dns"],[186,"iroh_dns_server::http"],[290,"iroh_dns_server::metrics"],[325,"iroh_dns_server::server"],[338,"iroh_dns_server::state"],[354,"dyn_clone::sealed"],[355,"iroh_dns_server::store"],[356,"core::fmt"],[357,"pkarr::signed_packet"],[358,"core::option"],[359,"anyhow"],[360,"std::path"],[361,"core::convert"],[362,"hickory_proto::rr::domain::name"],[363,"hickory_proto::rr::record_type"],[364,"hickory_proto::rr::rr_set"],[365,"alloc::sync"],[366,"core::result"],[367,"core::any"],[368,"serde::de"],[369,"serde::ser"],[370,"hickory_server::server::request_handler"],[371,"bytes::bytes"],[372,"core::future::future"],[373,"alloc::boxed"],[374,"core::pin"],[375,"hickory_server::server::response_handler"],[376,"core::net::socket_addr"],[377,"hickory_server::authority::message_response"],[378,"hickory_proto::rr::resource"],[379,"core::iter::traits::iterator"],[380,"core::marker"],[381,"iroh_dns_server::http::rate_limiting"],[382,"iroh_dns_server::http::tls"],[383,"alloc::string"],[384,"alloc::vec::into_iter"]],"i":[0,3,3,3,3,3,0,0,3,3,3,3,0,3,3,3,0,3,3,3,0,0,3,3,3,3,3,3,0,0,18,18,0,0,0,19,24,22,21,19,24,22,18,21,19,24,22,18,19,19,21,21,19,22,18,21,19,24,22,18,24,24,21,22,21,19,24,22,18,21,19,24,22,18,19,21,21,21,19,24,22,18,21,21,21,21,21,19,24,22,18,21,19,21,19,24,22,18,21,19,24,22,18,21,19,24,22,18,21,19,24,22,18,21,0,0,0,0,29,26,30,26,29,35,29,26,30,35,29,26,30,29,26,30,29,26,30,29,29,29,29,26,30,35,29,26,30,29,26,30,26,35,29,26,30,35,26,29,29,29,29,29,35,30,29,35,35,29,26,30,35,29,26,30,35,29,26,30,35,29,26,30,35,29,26,30,0,42,0,0,0,43,43,0,43,42,42,42,43,44,45,44,45,47,42,43,44,45,47,42,43,44,45,45,42,43,44,45,42,43,44,45,42,42,42,43,44,45,45,43,43,43,43,42,43,43,44,45,47,42,43,44,45,42,43,44,45,47,47,47,42,43,44,45,45,45,44,45,47,42,43,44,45,47,47,42,43,44,45,43,47,42,43,44,45,47,42,43,44,45,47,42,43,44,45,47,42,43,44,45,0,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,50,50,50,50,0,55,55,55,55,55,0,55,55,55,55,55,55,0,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48],"f":"`{{cb}d{}}{ce{}{}}0{ff}{{ce}d{}{}}``{{fh}j}{cc{}}0````4``````4{c{{B`{e}}}{}{}}0{cBb{}}6{{fBd}f}```````8``7777777777{BfBf}6{{}{{A`{Bh}}}}{{}Bj}{{}Bf}{{}Bl}{{}Bd}{c{{B`{Bj}}}Bn}{c{{B`{Bf}}}Bn}{c{{B`{C`}}}Bn}{c{{B`{Bl}}}Bn}{c{{B`{Bd}}}Bn}{{}C`}```{{Bjh}j}{{Bfh}j}{{C`h}j}{{Blh}j}{{Bdh}j}{cc{}}00000``{ce{}{}}0000{c{{A`{Bj}}}{{Af{Ad}}}}```{{Bjc}B`Cb}{{Bfc}B`Cb}{{C`c}B`Cb}{{Blc}B`Cb}{{Bdc}B`Cb}{{}{{A`{Bh}}}}7{c{{B`{e}}}{}{}}000000000{cBb{}}000099999`````{{cb}d{}}00{{CdCf}{{A`{Ch}}}}`;;;;;;;;{CjCj}{CdCd}{ClCl}{{ce}d{}{}}00``{c{{B`{Cj}}}Bn}{{Cjh}j}{{Cdh}j}{{Clh}j}{cc{}}000000{{CdCfc}{{Db{{D`{Cn}}}}}Dd}{ce{}{}}000{DfDh}{{fCj}{{A`{Cd}}}}`````{Df{{A`{d}}}}{{Cl{Dj{cegi}}}{{Db{{D`{Cn}}}}}{{E`{}{{Dl{Dn}}}}Eb}{{E`{}{{Dl{Dn}}}}Eb}{{E`{}{{Dl{Dn}}}}Eb}{{E`{}{{Dl{Dn}}}}Eb}}{{Cjc}B`Cb}2{{CjCd}{{A`{Df}}}}666{c{{B`{e}}}{}{}}0000000{cBb{}}0008888```````````{{cb}d{}}000``9999999999`{EdEd}{EfEf}{EhEh}{EjEj}{{ce}d{}{}}000{{}Ed}0{c{{B`{Ed}}}Bn}{c{{B`{Ef}}}Bn}{c{{B`{Eh}}}Bn}{c{{B`{Ej}}}Bn}`{{EfEf}Ab}{{ce}Ab{}{}}00{{Edh}j}{{Efh}{{B`{dEl}}}}{{Efh}j}{{Ehh}j}{{Ejh}j}{cc{}}00000000{En{{n{Dh}}}}0{ce{}{}}0000````{En{{A`{d}}}}{{Edc}B`Cb}{{Efc}B`Cb}{{Ehc}B`Cb}{{Ejc}B`Cb}4{{{n{Eh}}{n{Ej}}EdF`}{{A`{En}}}}6666{cFb{}}{c{{B`{e}}}{}{}}000000000{cBb{}}000099999`{{cb}d{}}::{FdFd}{{ce}d{}{}}{{}Fd}``````{{Fdh}j}{cc{}}0````{{}d}{ce{}{}}{Fd{{Fl{{Fj{FfFh}}}}}}{{}Ff}``````2;;:2`2242{Fn{{A`{d}}}}{Bj{{A`{d}}}}1{{Bjf}{{A`{Fn}}}}>>=5`<55{F`F`};`886`6??>6","D":"Oj","p":[[5,"Private",354],[1,"unit"],[5,"ZoneStore",0,355],[5,"Formatter",356],[8,"Result",356],[5,"SignedPacket",357],[6,"Option",358],[8,"Result",359],[1,"bool"],[5,"Path",360],[10,"AsRef",361],[5,"Name",362],[6,"RecordType",363],[5,"RecordSet",364],[5,"Arc",365],[6,"Result",366],[5,"TypeId",367],[6,"BootstrapOption",28],[5,"StoreConfig",28],[5,"PathBuf",360],[5,"Config",28],[5,"MainlineConfig",28],[10,"Deserializer",368],[5,"MetricsConfig",28],[10,"Serializer",369],[5,"DnsHandler",114],[5,"Request",370],[5,"Bytes",371],[5,"DnsConfig",114],[5,"Handle",114],[10,"Future",372],[5,"Box",373],[5,"Pin",374],[10,"ResponseHandler",375],[5,"DnsServer",114],[6,"SocketAddr",376],[5,"MessageResponse",377],[17,"Item"],[5,"Record",378],[10,"Iterator",379],[10,"Send",380],[6,"RateLimitConfig",186,381],[6,"CertMode",186,382],[5,"HttpConfig",186],[5,"HttpsConfig",186],[5,"Error",356],[5,"HttpServer",186],[5,"AppState",338],[5,"String",383],[5,"Metrics",290],[1,"str"],[10,"Any",367],[1,"tuple"],[5,"IntoIter",384],[5,"Server",325]],"r":[[0,355],[186,382],[193,381]],"b":[[222,"impl-Default-for-%26RateLimitConfig"],[223,"impl-Default-for-RateLimitConfig"],[234,"impl-Display-for-CertMode"],[235,"impl-Debug-for-CertMode"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAOUAIAACAAQACQAAAAsAAAAXAAQAJAAAACcACwA0AAgAQQAEAEsAAABXAAQAXQAUAHcAAgB8AA0AjAADAJQAAwCkAAEAqAASAMYAAwDMAAkA1wANAOYACAD0AAMABAEDAAoBGAAkAQwAMgEEADkBDABHAQEATwEDAFQBBABbAQAAXgEEAA=="}],\ +["iroh",{"t":"FGPEPFIPPFEFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNCNOCCNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNONNNNNNNNCNCNONNNNNCOENONNNNNOOCCCNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNSSSSSCCSSSHHHHSSHHHFNNNNNNNNNNNNNNNNNNNNNNNFKFNNONNNNNNNCNNNNNNNNNNOCOCONNNNCNNNNNNNNNNNFSSNNNNNNNNNNNNFSNNNNNNNNNNNNNSSSSFFFNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNTFNNNNNNNNNNNNNNNNNNIKHMNMNMNMNMNMNMNMNMNMNCHPSGFPFNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNONONNNNNNHNNNNNNNNNNNNNTTFFFFFGPKPFPFFTTTPFPFPPFFFPGPPPPPFGFGKKFKPPPFFGFPPPSFFTTTPFKTTPPFFTPPTTPFTTPFPFFTFPPPPFGPGGFPPPPGFPPGFTTPGFFGPPGFPPTPPPFFPFPFPPFFPFGFFPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONONNNOOONMNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNOOONNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNONONNONNNOONOOOONNNONNNNNNNNNNNHNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNONNNNNNNNNNNONNNOMNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNOOONOOONNNNOOOHNNNONNNOOONNNNNNNNNNNOONNOOONONMNMNMNNNNNNNNNNNNNOOONNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNOONNNNNNNNNOONMNNONMNNNNNNOONNNNNNNNNNNNNNNNNNNNNONNNMNNONOONOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNOOGTFFPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNTPPGISFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFFNNNNOOOOOOOOONNNNNNNNOONNNNNNNNOOONNNNOOOOOONNNNONNNNNNNNONNNNNNNNOOONNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNOOOOOOONNNNOKFFNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFNNNNHNNNNNNNNOONONHHHNNNNNNNNNFPGTPFPKPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNOGPPGPPPNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNHNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["AddrInfo","AddrInfoOptions","Addresses","Endpoint","Id","NodeAddr","NodeId","Relay","RelayAndAddresses","RelayMap","RelayMode","RelayNode","RelayUrl","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","apply_options","apply_options","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","cmp","cmp","compare","compare","compare","compare","contains_node","default","default","default_from_node","defaults","deref","deserialize","deserialize","deserialize","deserialize","deserialize","dialer","direct_addresses","direct_addresses","discovery","dns","empty","endpoint","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from_nodes","from_parts","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_str","from_str","from_url","get_node","hash","hash","info","into","into","into","into","into","into","is_empty","is_empty","key","len","metrics","new","node_id","nodes","partial_cmp","partial_cmp","partial_cmp","partial_cmp","protocol","quic","relay","relay_url","relay_url","serialize","serialize","serialize","serialize","serialize","stun_only","stun_port","test_utils","ticket","tls","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","url","urls","vzip","vzip","vzip","vzip","vzip","vzip","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","Dialer","abort_dial","borrow","borrow_mut","chain","endpoint","fmt","from","into","into_stream","is_pending","merge","new","next_conn","pending_count","poll_next","queue_dial","ratelimit_stream","ratelimit_stream_with_jitter","try_from","try_into","type_id","vzip","zip","ConcurrentDiscovery","Discovery","DiscoveryItem","__clone_box","add","addr_info","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","default","dns","empty","fmt","fmt","from","from","from","from_ref","from_services","into","into","last_updated","local_swarm_discovery","node_id","pkarr","provenance","publish","publish","resolve","resolve","static_provider","subscribe","subscribe","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","DnsDiscovery","N0_DNS_NODE_ORIGIN_PROD","N0_DNS_NODE_ORIGIN_STAGING","borrow","borrow_mut","fmt","from","into","n0_dns","new","resolve","try_from","try_into","type_id","vzip","LocalSwarmDiscovery","NAME","borrow","borrow_mut","fmt","from","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","__clone_box","__clone_box","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","dht","drop","fmt","fmt","fmt","from","from","from","from_ref","from_ref","from_ref","into","into","into","n0_dns","n0_dns","new","new","new","publish","publish","resolve","resolve","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","update_addr_info","vzip","vzip","vzip","with_options","Builder","DhtDiscovery","__clone_box","borrow","borrow","borrow_mut","borrow_mut","build","builder","client","clone","clone_into","default","default","dht","fmt","fmt","from","from","from_ref","include_direct_addresses","initial_publish_delay","into","into","n0_dns_pkarr_relay","pkarr_relay","publish","republish_delay","resolve","secret_key","to_owned","try_from","try_from","try_into","try_into","ttl","type_id","type_id","vzip","vzip","PROVENANCE","StaticProvider","add_node_addr","borrow","borrow_mut","default","fmt","from","from_node_addrs","get_node_addr","into","new","publish","remove_node_addr","resolve","set_node_addr","try_from","try_into","type_id","vzip","DnsResolver","ResolverExt","default_resolver","lookup_by_id","lookup_by_id","lookup_by_id_staggered","lookup_by_id_staggered","lookup_by_name","lookup_by_name","lookup_by_name_staggered","lookup_by_name_staggered","lookup_ipv4","lookup_ipv4","lookup_ipv4_ipv6","lookup_ipv4_ipv6","lookup_ipv4_ipv6_staggered","lookup_ipv4_ipv6_staggered","lookup_ipv4_staggered","lookup_ipv4_staggered","lookup_ipv6","lookup_ipv6","lookup_ipv6_staggered","lookup_ipv6_staggered","node_info","resolver","Addr","IROH_TXT_NAME","IrohAttr","NodeInfo","Relay","TxtAttrs","__clone_box","as_ref","attrs","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","cmp","compare","direct_addresses","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from_hickory_records","from_hickory_records","from_parts","from_pkarr_signed_packet","from_pkarr_signed_packet","from_ref","from_str","from_strings","from_z32","hash","into","into","into","lookup_by_id","lookup_by_name","new","node_id","node_id","partial_cmp","relay_url","to_hickory_records","to_hickory_records","to_owned","to_pkarr_signed_packet","to_pkarr_signed_packet","to_string","to_z32","try_from","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","AEAD_LIMIT_REACHED","APPLICATION_ERROR","Accept","AcceptBi","AcceptUni","AckFrequencyConfig","AddrInfo","AddrInfoOptions","Addresses","AeadKey","App","ApplicationClose","ApplicationClosed","Builder","Bytes","CONNECTION_ID_LIMIT_ERROR","CONNECTION_REFUSED","CRYPTO_BUFFER_EXCEEDED","CallMeMaybe","Chunk","CidsExhausted","ClosedStream","ClosedStream","ClosedStream","Connecting","Connection","ConnectionClose","ConnectionClosed","ConnectionError","ConnectionLost","ConnectionLost","ConnectionLost","ConnectionLost","ConnectionLost","ConnectionStats","ConnectionType","ConnectionTypeStream","ControlMsg","Controller","ControllerFactory","CryptoError","CryptoServerConfig","Custom","Default","Direct","DirectAddr","DirectAddrInfo","DirectAddrType","DirectAddrsStream","Disabled","Disabled","Discovery","ENV_FORCE_STAGING_RELAYS","Endpoint","ExportKeyingMaterialError","FINAL_SIZE_ERROR","FLOW_CONTROL_ERROR","FRAME_ENCODING_ERROR","FinishedEarly","FrameStats","HandshakeTokenKey","INTERNAL_ERROR","INVALID_TOKEN","Id","IllegalOrderedRead","Incoming","IncomingFuture","KEY_UPDATE_ERROR","Local","LocallyClosed","MAX","MAX_SIZE","Mixed","MtuDiscoveryConfig","NO_ERROR","NO_VIABLE_PATH","NamedApp","NodeAddr","None","OpenBi","OpenUni","PROTOCOL_VIOLATION","PathStats","Ping","Pong","Portmapped","Read","ReadDatagram","ReadError","ReadError","ReadExactError","ReadToEndError","RecvStream","Relay","Relay","Relay","RelayAndAddresses","RelayMode","RemoteInfo","Reset","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","TransportError","TransportErrorCode","Udp","UdpStats","Unknown","UnsupportedByPeer","UnsupportedVersion","VarInt","VersionMismatch","WeakConnectionHandle","WriteError","Written","ZeroRttAccepted","ZeroRttRejected","ZeroRttRejected","ZeroRttRejected","ZeroRttRejected","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","accept","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","addr","addrs","advance","aead_from_hkdf","allow_spin","alpn","alpns","as_ref","bind","bind_addr_v4","bind_addr_v6","black_hole_cooldown","black_holes_detected","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","bound_sockets","build","builder","bytes","bytes","bytes","call","chain","chain","chunk","chunks","clear","clear_discovery","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_box","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","close","close","close_reason","closed","cmp","cmp","cmp","cmp","cmp","code","compare","compare","compare","compare","compare","congestion_controller_factory","congestion_events","congestion_state","conn_type","conn_type_stream","connect","connection_close","copy_from_slice","copy_to_bytes","crypto","crypto","crypto","crypto_buffer_size","current_mtu","cwnd","data_blocked","datagram","datagram_receive_buffer_size","datagram_send_buffer_size","datagram_send_buffer_space","datagrams","default","default","default","default","default","default","default","default","default","default","default","default_relay_mode","deref","deserialize","deserialize","deserialize","deserialize","deserialize","dir","direct_addresses","direct_addresses","discovery","discovery","discovery_dht","discovery_local_network","discovery_n0","dns_resolver","dns_resolver","drop","drop","drop","enable_segmentation_offload","encode_hex","encode_hex_upper","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","error_code","error_code","export_keying_material","finish","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","force_staging_infra","frame","frame_rx","frame_tx","frame_type","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_iter","from_owner","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_request","from_static","from_u32","from_u64","from_u64_unchecked","get_remote_node_id","handshake_data","handshake_data","handshake_done","has_send_address","hash","hash","hash","hash","hash","hash","home_relay","id","id","ignore","immediate_ack","incoming_buffer_size","incoming_buffer_size_total","index","info","initial_keys","initial_mtu","initial_rtt","initial_window","initiator","insecure_skip_relay_cert_verify","interval","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into_0rtt","into_any","into_future","into_future","into_future","into_future","into_future","into_future","into_future","into_future","into_future","into_future","into_incoming","into_inner","into_iter","into_iter","into_make_service","into_make_service_with_connect_info","into_response","into_service","into_stream","into_stream","ios","is_0rtt","is_alive","is_closed","is_empty","is_unique","join","join","join","join","join","join","join","join","join","keep_alive_interval","keylog","known_nodes","last_alive","last_control","last_payload","last_received","last_used","latency","latency","len","local_ip","local_ip","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","merge","merge","migration","min_mtu","minimum_change","mtu_discovery_config","network_change","network_path_changed","new","new","new","new_connection_id","new_token","node_addr","node_id","node_id","node_id","observed_addr","observed_external_addr","offset","on_ack","on_congestion_event","on_end_acks","on_mtu_update","on_sent","open","open_bi","open_uni","packet_threshold","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","path","path_challenge","path_response","peer_identity","persistent_congestion_threshold","ping","poll","poll","poll","poll","poll","poll","poll","poll","poll","poll_flush","poll_next","poll_next","poll_read","poll_read","poll_shutdown","poll_write","poll_write","preferred_address_v4","preferred_address_v6","priority","proxy_from_env","proxy_url","race","race","race","race","race","race","race","race","race","ratelimit_stream","ratelimit_stream","ratelimit_stream_with_jitter","ratelimit_stream_with_jitter","read","read_chunk","read_chunks","read_datagram","read_exact","read_to_end","reason","reason","reason","receive_observed_address_reports","receive_window","received_reset","refuse","relay_map","relay_mode","relay_url","relay_url","remaining","remote_address","remote_address","remote_address","remote_address_validated","remote_info","remote_info_iter","reordering_threshold","reset","reset_stream","retire_connection_id","retry","retry_tag","retry_token_lifetime","rtt","rtt","saturating_add","seal","secret_key","secret_key","send_datagram","send_datagram_wait","send_observed_address_reports","send_window","sent_packets","sent_plpmtud_probes","serialize","serialize","serialize","serialize","serialize","set_alpns","set_max_concurrent_bi_streams","set_max_concurrent_uni_streams","set_priority","set_receive_window","slice","slice_ref","source","source","source","source","source","source","source","source","sources","sources","split_off","split_to","stable_id","start_session","stats","stop","stop_sending","stopped","stream","stream_data_blocked","stream_receive_window","streams_blocked_bidi","streams_blocked_uni","time_threshold","tls_raw_public_keys","tls_x509","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","token_key","transport","transport_config","transport_config","truncate","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into_mut","try_poll","try_poll","try_poll","try_poll","try_poll","try_poll","try_poll","typ","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","udp_rx","udp_tx","upper_bound","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","watch_home_relay","weak_handle","window","with_crypto","with_single_cert","write","write_all","write_all_chunks","write_chunk","write_chunks","zip","zip","name","name","BlobFormat","EMPTY","Hash","HashAndFormat","HashSeq","Raw","__clone_box","__clone_box","__clone_box","as_bytes","as_bytes","as_bytes","as_ref","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","cmp","cmp","cmp","compare","compare","compare","compare","default","deserialize","deserialize","deserialize","encode_hex","encode_hex_upper","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fixed_width","fixed_width","fmt","fmt","fmt","fmt","fmt","fmt","fmt_short","format","from","from","from","from","from","from","from_bytes","from_bytes","from_bytes","from_ref","from_ref","from_ref","from_str","from_str","hash","hash","hash","hash","hash_seq","into","into","into","is_hash_seq","is_raw","new","new","partial_cmp","partial_cmp","partial_cmp","raw","serialize","serialize","serialize","to_hex","to_owned","to_owned","to_owned","to_string","to_string","to_string","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","type_name","type_name","vzip","vzip","vzip","BYTE_SIZE","Base32","Key","KeyParsingError","NodeId","PUBLIC_KEY_LENGTH","PublicKey","SecretKey","SharedSecret","Signature","__clone_box","__clone_box","__clone_box","as_bytes","as_ref","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","cmp","compare","deserialize","deserialize","deserialize","encode_hex","encode_hex_upper","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt_short","from","from","from","from","from","from","from","from","from","from","from","from","from","from_bytes","from_bytes","from_bytes","from_components","from_ref","from_ref","from_ref","from_slice","from_str","from_str","from_str","generate","generate_with_rng","hash","into","into","into","into","into","open","partial_cmp","public","r_bytes","s_bytes","seal","serialize","serialize","serialize","serialize_public_pem","serialize_secret_pem","shared","sign","source","to_bytes","to_bytes","to_bytes","to_openssh","to_owned","to_owned","to_owned","to_string","to_string","to_string","to_string","to_vec","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from_openssh","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","verify","vzip","vzip","vzip","vzip","vzip","MagicsockMetrics","NetReportMetrics","PortmapMetrics","RelayMetrics","__clone_box","__clone_box","__clone_box","__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","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","bytes_recv","bytes_sent","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","connection_became_direct","connection_handshake_success","conns_rx_ratelimited_total","default","default","default","default","derp_accepts","disco_packets_dropped","disco_packets_recv","disco_packets_sent","disconnects","external_address_updated","fmt","fmt","fmt","fmt","frames_rx_ratelimited_total","from","from","from","from","from_ref","from_ref","from_ref","from_ref","got_ping","into","into","into","into","iter","iter","iter","iter","local_port_updates","mapping_attempts","mapping_failures","name","name","name","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_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","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","unique_client_keys","unknown_frames","update_direct_addrs","upnp_available","upnp_gateway_updated","upnp_probes","upnp_probes_failed","vzip","vzip","vzip","vzip","websocket_accepts","ProtocolHandler","Router","RouterBuilder","__clone_box","accept","accept","borrow","borrow","borrow_mut","borrow_mut","builder","clone","clone_into","endpoint","endpoint","fmt","fmt","from","from","from_ref","into","into","is_shutdown","new","shutdown","shutdown","spawn","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","CleanupDropGuard","DnsPkarrServer","borrow","borrow","borrow_mut","borrow_mut","create_dns_resolver","discovery","dns_resolver","fmt","fmt","from","from","into","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_from","try_into","try_into","type_id","type_id","vzip","vzip","BlobTicket","Encoding","Error","KIND","Kind","NodeTicket","Postcard","Ticket","Verify","__clone_box","__clone_box","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deserialize","deserialize","deserialize","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","format","from","from","from","from","from","from","from_bytes","from_bytes","from_bytes","from_ref","from_ref","from_str","from_str","hash","into","into","into","into_parts","new","new","node_addr","node_addr","recursive","serialize","serialize","serialize","source","to_bytes","to_bytes","to_bytes","to_owned","to_owned","to_string","to_string","to_string","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","expected","Authentication","CertError","ConfigError","CreateConfigError","RawPublicKey","Rustls","X509","__clone_box","borrow","borrow","borrow_mut","borrow_mut","certificate","clone","clone_into","default","eq","equivalent","equivalent","equivalent","fmt","fmt","fmt","from","from","from","from","from","from_ref","into","into","make_client_config","make_server_config","source","to_owned","to_string","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","GenError","P2pCertificate","P2pExtension","ParseError","VerificationError","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","generate","into","into","into","into","into","parse","peer_id","source","source","source","to_string","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","verify_signature","vzip","vzip","vzip","vzip","vzip"],"q":[[0,"iroh"],[204,"iroh::defaults"],[211,"iroh::defaults::prod"],[218,"iroh::defaults::staging"],[223,"iroh::dialer"],[247,"iroh::discovery"],[292,"iroh::discovery::dns"],[307,"iroh::discovery::local_swarm_discovery"],[322,"iroh::discovery::pkarr"],[384,"iroh::discovery::pkarr::dht"],[424,"iroh::discovery::static_provider"],[444,"iroh::dns"],[469,"iroh::dns::node_info"],[547,"iroh::endpoint"],[1956,"iroh::endpoint::Source"],[1958,"iroh::hash"],[2074,"iroh::key"],[2218,"iroh::metrics"],[2374,"iroh::protocol"],[2410,"iroh::test_utils"],[2442,"iroh::ticket"],[2528,"iroh::ticket::Error"],[2529,"iroh::tls"],[2573,"iroh::tls::certificate"],[2639,"dyn_clone::sealed"],[2640,"iroh_base::node_addr"],[2641,"iroh_base::relay_map"],[2642,"iroh_base::relay_url"],[2643,"core::cmp"],[2644,"core::result"],[2645,"serde::de"],[2646,"core::net::socket_addr"],[2647,"core::iter::traits::iterator"],[2648,"core::fmt"],[2649,"iroh_base::ticket::node"],[2650,"iroh_base::key"],[2651,"core::option"],[2652,"iroh::magicsock::node_map::node_state"],[2653,"url"],[2654,"anyhow"],[2655,"alloc::sync"],[2656,"core::convert"],[2657,"core::iter::traits::collect"],[2658,"core::hash"],[2659,"serde::ser"],[2660,"alloc::string"],[2661,"core::any"],[2662,"futures_concurrency::stream::chain::tuple"],[2663,"futures_concurrency::stream::into_stream"],[2664,"futures_core::stream"],[2665,"futures_concurrency::stream::merge::tuple"],[2666,"iroh_quinn::connection"],[2667,"core::pin"],[2668,"core::task::wake"],[2669,"core::task::poll"],[2670,"governor::state::direct"],[2671,"governor::state"],[2672,"governor::state::direct::streams"],[2673,"governor::clock::with_std"],[2674,"governor::middleware"],[2675,"governor::jitter"],[2676,"futures_concurrency::stream::zip::tuple"],[2677,"alloc::boxed"],[2678,"alloc::vec"],[2679,"futures_lite::stream"],[2680,"pkarr::signed_packet"],[2681,"core::time"],[2682,"pkarr::client"],[2683,"core::future::future"],[2684,"core::net::ip_addr"],[2685,"hickory_proto::rr::domain::name"],[2686,"core::clone"],[2687,"hickory_resolver::async_resolver"],[2688,"alloc::collections::btree::map"],[2689,"core::str::traits"],[2690,"hickory_proto::rr::resource"],[2691,"alloc::collections::btree::set"],[2692,"iroh_quinn_proto::connection"],[2693,"iroh_quinn_proto::config"],[2694,"iroh_quinn_proto::varint"],[2695,"core::ops::function"],[2696,"core::marker"],[2697,"bytes::bytes"],[2698,"iroh_quinn_proto::crypto"],[2699,"iroh_quinn_proto::congestion"],[2700,"std::time"],[2701,"axum_core::body"],[2702,"http::request"],[2703,"iroh_quinn::recv_stream"],[2704,"iroh_quinn::send_stream"],[2705,"iroh_quinn_proto::connection::stats"],[2706,"iroh_quinn_proto::connection::streams::send"],[2707,"iroh_quinn_proto::connection::streams"],[2708,"iroh::magicsock::node_map"],[2709,"iroh_quinn_proto::frame"],[2710,"iroh_quinn_proto"],[2711,"iroh::magicsock"],[2712,"bytes::bytes_mut"],[2713,"iroh_quinn_proto::connection::assembler"],[2714,"iroh_quinn::incoming"],[2715,"http::byte_str"],[2716,"http::header::name"],[2717,"hyper::ext::h1_reason_phrase"],[2718,"iroh_quinn_proto::connection::streams::recv"],[2719,"ring::error"],[2720,"iroh_quinn_proto::transport_parameters"],[2721,"iroh_quinn_proto::shared"],[2722,"axum::handler::service"],[2723,"axum::routing::into_make_service"],[2724,"axum::extract::connect_info"],[2725,"http::response"],[2726,"futures_concurrency::future::join::tuple"],[2727,"core::future::into_future"],[2728,"tokio::sync::watch"],[2729,"iroh_quinn_proto::connection::paths"],[2730,"std::io::error"],[2731,"tokio::io::read_buf"],[2732,"futures_concurrency::future::race::tuple"],[2733,"core::ops::range"],[2734,"core::error"],[2735,"rustls_pki_types"],[2736,"rustls::error"],[2737,"iroh_base::hash"],[2738,"iroh_blake3"],[2739,"redb::types"],[2740,"ed25519"],[2741,"iroh_base::key::encryption"],[2742,"ed25519_dalek::signature"],[2743,"ed25519_dalek::verifying"],[2744,"signature::error"],[2745,"iroh_base::base32"],[2746,"ed25519_dalek::signing"],[2747,"rand_core"],[2748,"aead"],[2749,"zeroize"],[2750,"ssh_key::error"],[2751,"ssh_key::signature"],[2752,"alloc::vec::into_iter"],[2753,"futures_lite::future"],[2754,"iroh::test_utils::dns_and_pkarr_servers"],[2755,"iroh_relay::server"],[2756,"iroh_base::ticket::blob"],[2757,"iroh_base::ticket"],[2758,"postcard::error"],[2759,"data_encoding"],[2760,"iroh_quinn_proto::crypto::rustls"],[2761,"rcgen::error"],[2762,"webpki::error"],[2763,"rustls::enums"],[2764,"iroh_base"],[2765,"ed25519_dalek::constants"],[2766,"iroh::test_utils::dns_server"]],"i":[0,0,4,0,4,0,0,4,4,0,0,0,0,3,5,4,6,7,8,3,5,3,5,4,6,7,8,3,5,4,6,7,8,3,5,4,6,7,8,3,5,4,6,7,8,3,5,7,8,3,5,7,8,6,5,4,6,0,8,3,5,4,7,8,0,3,5,0,0,6,0,3,5,4,6,7,8,3,3,3,5,5,5,4,4,4,6,6,6,7,7,7,8,8,8,3,5,4,4,6,6,7,7,8,8,3,3,3,3,3,3,5,5,4,6,7,8,8,6,3,3,5,4,6,7,8,4,8,6,6,0,8,3,3,5,4,6,7,8,5,6,0,6,0,3,3,6,3,5,7,8,0,7,0,3,5,3,5,4,7,8,7,7,0,0,0,3,5,4,6,7,8,4,6,7,8,3,5,4,6,7,8,3,5,4,6,7,8,3,5,4,6,7,8,7,6,3,5,4,6,7,8,3,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,0,0,0,61,59,61,61,59,61,59,61,61,59,0,59,61,59,61,59,59,61,59,61,59,61,0,61,0,61,60,59,60,59,0,60,59,61,61,59,61,59,61,59,61,59,0,0,0,65,65,65,65,65,65,65,65,65,65,65,65,0,0,66,66,66,66,66,66,66,66,66,66,66,66,66,0,0,0,0,0,0,0,67,68,69,67,68,69,67,68,69,67,68,69,67,68,69,0,67,67,68,69,67,68,69,67,68,69,67,68,69,67,68,67,68,69,67,69,68,69,67,68,69,67,68,69,67,68,69,67,68,69,67,67,68,69,67,0,0,76,76,75,76,75,75,76,75,76,76,76,75,75,76,75,76,75,76,75,75,76,75,75,75,76,75,76,75,76,76,75,76,75,75,76,75,76,75,78,0,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,78,0,0,0,80,79,80,79,80,79,80,79,80,79,80,79,80,79,80,79,80,79,80,79,0,0,88,0,0,0,88,0,25,88,89,88,25,89,88,25,89,25,25,88,88,25,88,25,88,88,88,25,25,25,88,88,25,89,88,25,25,25,89,89,25,89,89,25,89,25,88,89,0,88,88,25,89,89,89,25,89,25,88,25,25,89,25,25,89,88,0,88,88,25,89,88,25,89,88,25,89,88,25,89,144,144,0,0,0,0,0,0,4,0,140,0,101,0,0,144,144,144,137,0,101,0,125,128,0,0,0,101,0,123,125,126,128,129,0,0,0,0,0,0,0,0,135,135,139,0,0,0,0,123,135,140,0,0,0,144,144,144,127,0,0,144,144,4,125,0,0,144,147,101,106,106,139,0,144,144,140,0,139,0,0,144,0,137,137,147,124,0,0,127,0,0,0,4,139,140,4,0,0,125,101,0,0,144,144,140,0,0,0,0,135,128,0,0,147,147,144,101,123,124,0,0,101,0,140,0,147,123,0,0,101,0,0,0,0,125,126,128,129,112,45,123,124,125,126,127,128,129,106,130,131,42,132,133,134,135,136,137,138,24,139,101,105,117,104,140,141,142,143,144,145,146,147,42,99,45,45,99,105,131,107,131,108,42,42,138,146,24,112,113,107,100,108,112,108,108,108,117,132,181,112,112,45,194,193,103,102,195,159,123,160,151,124,125,126,127,152,128,129,107,106,157,108,130,131,42,132,133,134,98,99,161,100,135,136,137,138,24,139,101,105,117,104,158,162,163,140,141,142,148,143,144,145,150,146,147,181,112,45,194,193,103,102,195,159,123,160,151,124,125,126,127,152,128,129,107,106,157,108,130,131,42,132,133,134,98,99,161,100,135,136,137,138,24,139,101,105,117,104,158,162,163,140,141,142,148,143,144,145,150,146,147,42,118,42,157,130,134,112,148,150,112,134,112,108,112,45,123,124,125,126,127,128,129,106,130,131,42,132,133,134,135,136,137,138,24,139,101,105,117,104,140,141,142,143,144,145,146,147,120,112,45,123,124,125,126,127,128,129,106,130,131,42,132,133,134,135,136,137,138,24,139,101,105,117,104,140,141,142,143,144,145,146,147,45,42,45,45,112,106,145,146,147,143,112,106,145,146,147,107,132,45,24,42,42,131,112,112,144,131,104,107,132,132,131,131,107,107,45,130,112,107,106,108,130,131,132,133,134,105,117,0,112,137,138,24,139,140,145,42,5,108,42,108,108,108,108,42,112,151,152,107,112,112,112,112,112,112,112,112,112,123,124,125,126,127,128,129,106,157,134,135,136,137,138,24,139,101,158,140,141,142,143,144,145,146,147,112,112,112,123,123,123,124,124,124,125,125,125,126,126,126,127,127,127,128,128,128,129,129,129,106,106,106,157,157,157,134,134,134,135,135,135,136,136,136,137,137,137,138,138,138,24,24,24,139,139,139,101,101,101,158,158,158,140,140,140,141,141,141,142,142,142,143,143,143,144,144,144,145,145,145,146,146,146,147,147,147,141,142,45,152,112,112,112,45,159,123,123,160,160,151,124,124,125,125,126,126,127,127,152,128,128,129,129,107,106,106,157,108,130,131,42,132,133,134,98,99,161,100,135,136,136,137,137,138,24,139,139,101,101,105,117,104,158,162,163,140,140,141,141,142,142,148,143,143,144,144,145,145,150,146,147,147,0,143,133,133,141,181,112,112,112,112,112,112,112,112,112,112,112,112,45,194,193,103,102,195,159,123,123,160,151,124,124,125,125,125,125,126,126,127,127,152,128,128,128,128,129,129,107,106,106,106,106,106,157,108,130,131,42,132,133,134,98,99,161,100,135,136,137,138,24,139,101,101,101,105,117,104,158,162,162,163,140,141,141,142,148,143,143,143,143,144,145,145,150,146,147,112,112,112,45,123,124,125,126,127,128,129,106,130,131,42,132,133,134,135,136,137,138,24,139,101,105,117,104,140,141,142,143,144,145,146,147,112,112,106,106,106,0,45,100,131,24,112,106,140,145,146,147,42,151,152,99,131,104,104,145,3,177,107,107,120,145,108,117,181,112,45,194,193,103,102,195,159,123,160,151,124,125,126,127,152,128,129,107,106,157,108,130,131,42,132,133,134,98,99,161,100,135,136,137,138,24,139,101,105,117,104,158,162,163,140,141,142,148,143,144,145,150,146,147,100,120,181,194,193,103,102,195,98,99,161,100,160,106,112,112,112,112,112,112,148,150,130,151,159,42,112,112,181,194,193,103,102,195,98,161,100,107,108,108,138,138,138,24,24,138,24,112,45,99,100,132,132,132,0,105,107,107,131,45,107,104,131,131,131,148,150,104,107,117,107,42,159,112,104,145,131,131,42,42,3,24,131,45,157,120,120,120,120,120,114,45,45,107,112,112,112,112,112,112,106,145,146,147,133,131,131,45,107,131,181,194,193,103,102,195,98,161,100,152,148,150,151,151,152,152,152,104,104,152,108,108,181,194,193,103,102,195,98,161,100,148,150,148,150,151,151,151,45,151,151,141,142,143,107,107,151,99,135,108,5,24,112,45,99,100,99,42,42,105,152,131,131,99,177,104,45,132,106,114,108,42,45,45,107,107,132,132,137,138,24,139,140,42,45,45,152,45,112,112,123,124,125,126,127,128,129,101,24,138,112,112,45,177,45,151,131,152,131,131,107,131,131,107,108,108,112,45,123,124,125,126,127,128,129,106,130,131,42,132,133,134,135,136,137,138,24,139,101,105,117,104,140,141,142,143,144,145,146,147,123,160,124,125,126,127,128,129,106,136,137,139,101,140,141,142,143,144,145,147,104,104,108,104,112,181,112,45,194,193,103,102,195,159,123,160,151,124,125,126,127,152,128,129,107,106,106,106,106,157,108,130,131,42,132,133,134,98,99,161,100,135,136,137,138,24,139,101,105,117,104,158,162,163,140,141,142,148,143,144,145,150,146,147,181,112,45,194,193,103,102,195,159,123,160,151,124,125,126,127,152,128,129,107,106,157,108,130,131,42,132,133,134,98,99,161,100,135,136,137,138,24,139,101,105,117,104,158,162,163,140,141,142,148,143,144,145,150,146,147,112,194,193,103,102,195,161,100,146,181,112,45,194,193,103,102,195,159,123,160,151,124,125,126,127,152,128,129,107,106,157,108,130,131,42,132,133,134,98,99,161,100,135,136,137,138,24,139,101,105,117,104,158,162,163,140,141,142,148,143,144,145,150,146,147,133,133,117,181,112,45,194,193,103,102,195,159,123,160,151,124,125,126,127,152,128,129,107,106,157,108,130,131,42,132,133,134,98,99,161,100,135,136,137,138,24,139,101,105,117,104,158,162,163,140,141,142,148,143,144,145,150,146,147,42,45,120,104,104,152,152,152,152,152,148,150,259,260,0,211,0,0,212,212,211,212,213,211,211,213,211,211,211,211,212,213,211,212,213,211,212,213,211,212,213,211,212,213,211,211,212,213,212,211,212,213,211,211,211,212,213,211,211,211,212,212,212,213,213,213,211,213,211,211,212,212,213,213,211,213,211,211,211,211,212,213,211,211,213,211,212,213,211,213,211,212,213,213,213,211,212,213,212,212,211,213,211,212,213,213,211,212,213,211,211,212,213,211,212,213,211,212,213,211,212,213,211,212,213,211,213,211,212,213,216,218,218,0,0,0,0,0,0,0,216,20,70,20,20,217,216,20,218,70,217,216,20,218,70,216,20,70,216,20,70,20,20,216,20,70,20,20,216,20,216,216,216,20,20,20,217,216,216,216,216,20,20,218,218,70,70,20,217,216,216,216,216,20,20,218,218,218,70,70,70,216,20,70,216,216,20,70,216,216,20,70,70,70,20,217,216,20,218,70,217,20,70,216,216,217,216,20,70,20,70,70,70,218,216,216,70,70,216,20,70,216,20,218,70,216,217,216,216,216,216,20,20,20,218,70,70,70,217,216,20,218,70,217,216,20,218,70,20,217,216,20,218,70,0,0,0,0,229,230,231,232,231,232,232,232,232,232,232,232,232,229,230,231,232,229,230,231,232,231,231,229,230,231,232,229,230,231,232,232,232,231,229,230,231,232,231,231,231,231,231,229,229,230,231,232,231,229,230,231,232,229,230,231,232,231,229,230,231,232,229,230,231,232,229,229,229,229,230,231,232,232,232,232,232,232,232,231,231,231,229,229,229,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,230,230,232,232,232,232,232,232,231,231,231,232,232,232,232,232,232,232,231,230,230,230,230,230,229,230,231,232,229,230,231,232,229,230,231,232,229,230,231,232,231,231,232,229,229,229,229,229,230,231,232,231,0,0,0,237,234,236,237,236,237,236,237,237,237,237,236,237,236,237,236,237,237,236,237,236,234,237,236,237,237,236,237,236,237,236,237,236,0,0,239,238,239,238,0,238,238,239,238,239,238,239,238,238,238,238,238,238,0,0,0,238,239,238,239,238,239,238,239,238,0,244,0,243,244,0,244,0,244,242,19,242,19,244,242,19,244,242,19,242,19,243,242,19,242,19,242,242,242,19,19,19,242,242,19,19,244,244,242,242,19,19,244,244,244,243,242,19,242,19,242,19,242,242,19,244,242,242,19,242,19,242,243,242,19,244,243,242,19,242,19,242,19,244,242,19,244,242,19,244,242,19,244,242,19,244,261,0,247,247,0,189,247,189,189,189,247,189,247,0,189,189,189,189,189,189,189,189,247,247,189,247,247,247,247,189,189,247,189,189,247,189,247,189,247,189,247,189,247,189,247,0,0,0,0,0,252,253,249,254,255,252,253,249,254,255,252,253,249,249,254,254,255,255,252,253,249,249,254,254,255,255,0,252,253,249,254,255,0,252,249,254,255,249,254,255,252,253,249,254,255,252,253,249,254,255,252,253,249,254,255,252,252,253,249,254,255],"f":"`````````````{{cb}d{}}00000{{fh}d}{{jh}d}{ce{}{}}00000000000{ff}{jj}{hh}{ll}{nn}{A`A`}{{ce}d{}{}}00000{{ff}Ab}{{jj}Ab}{{nn}Ab}{{A`A`}Ab}{{ce}Ab{}{}}000{{lA`}Ad}{{}j}{{}h}{{A`Af}l}`{A`}{c{{Ah{f}}}Aj}{c{{Ah{j}}}Aj}{c{{Ah{h}}}Aj}{c{{Ah{n}}}Aj}{c{{Ah{A`}}}Aj}`{f{{`{{B`{}{{Al{An}}}}}}}}```{{}l}`{{ff}Ad}{{jj}Ad}{{hh}Ad}{{ll}Ad}{{nn}Ad}{{A`A`}Ad}{{ce}Ad{}{}}00000000000000000{{fBb}{{Ah{dBd}}}}{{jBb}{{Ah{dBd}}}}{{hBb}{{Ah{dBd}}}}0{{lBb}{{Ah{dBd}}}}0{{nBb}{{Ah{dBd}}}}0{{A`Bb}{{Ah{dBd}}}}0{Bff}{{{Bn{Bh{Bj{A`}}{Bl{An}}}}}f}{C`f}{Cbf}{cc{}}{Bhf}{Cbj}22222{CdA`}{e{{Ah{lCf}}}{{Cj{{Ch{n}}}}}{{Cl{}{{Al{c}}}}}}{{Bh{Bj{A`}}c}f{{Cl{}{{Al{An}}}}}}555555{Cn{{Ah{h}}}}{Cn{{Ah{A`}}}}{A`l}{{lA`}{{Bj{{Ch{n}}}}}}`{{A`c}dD`}`{ce{}{}}00000{jAd}{lAd}`{lDb}`=`{l{{`{{B`{}{{Al{{Ch{n}}}}}}}}}}{{ff}{{Bj{Ab}}}}{{jj}{{Bj{Ab}}}}{{nn}{{Bj{Ab}}}}{{A`A`}{{Bj{Ab}}}}```{f{{Bj{A`}}}}`{{fc}AhDd}{{jc}AhDd}{{hc}AhDd}{{nc}AhDd}{{A`c}AhDd}`````>>>>>>{cDf{}}000{c{{Ah{e}}}{}{}}00000000000{cDh{}}00000`{l{{`{{B`{}{{Al{A`}}}}}}}}{ce{}{}}00000{{fc}f{{Cl{}{{Al{An}}}}}}{{fA`}f}``````````{{}n}00{{}l}``110`{{DjDl}d}55{{cg}{{Dn{i}}}{}{}{{E`{}{{Al{e}}}}}{{Eb{}{{Al{e}}}}}}{DjEd}{{DjBb}Ef}{cc{}}99{{DjDl}Ad}{{cg}{{Eh{ei}}}{}{}{{E`{}{{Al{e}}}}}{{Eb{}{{Al{e}}}}}}{EdDj}{Dj{{Bn{Dl{El{Ej}}}}}}{DjDb}{{{En{Dj}}F`}{{Fb{{Bj{c}}}}}{}}{{DjDl{Bl{Fd}}}d}{{c{Fh{Ffegi}}}{{Fj{kegi}}}{}FlFnG`{}}{{c{Fh{Ffegi}}Gb}{{Fj{kegi}}}{}FlFnG`{}}{c{{Ah{e}}}{}{}}0{cDh{}}{ce{}{}}{{cg}{{Gd{i}}}{}{}{{E`{}{{Al{e}}}}}{{Eb{}{{Al{e}}}}}}```{{cb}d{}}{{Gfc}dGh}`3333{GjGj}{{ce}d{}{}}{{}Gf}`0{{GjBb}Ef}{{GfBb}Ef}{cc{}}0{cGf{{Cl{}{{Al{{Gl{Gh}}}}}}}}1{{{Gn{{Gl{Gh}}}}}Gf};;`````{{Ghj}d}{{Gfj}d}{{GhEdDl}{{Bj{{H`{{El{Gj}}}}}}}}{{GfEdDl}{{Bj{{H`{{El{Gj}}}}}}}}`{Gh{{Bj{{H`{Gj}}}}}}{Gf{{Bj{{H`{Gj}}}}}}{ce{}{}}{c{{Ah{e}}}{}{}}000{cDh{}}022```22{{HbBb}Ef}<3{{}Hb}{DfHb}{{HbEdDl}{{Bj{{H`{{El{Gj}}}}}}}}5546``66{{HdBb}Ef}{cc{}}8{Dl{{El{Hd}}}}{{Hdj}d}{{HdEdDl}{{Bj{{H`{{El{Gj}}}}}}}}{Hd{{Bj{{H`{Gj}}}}}};;:<```````{{cb}d{}}00======{HfHf}{HhHh}{HjHj}{{ce}d{}{}}00`{Hfd}{{HfBb}Ef}{{HhBb}Ef}{{HjBb}Ef}======{ce{}{}}00{HlHf}{{}Hh}{{HlCd}Hf}{CdHh}{CdHj}{{Hfj}d}{{HjHn}{{El{d}}}}{{HhEdDl}{{Bj{{I`{{El{Gj}}}}}}}}{{HjDl}{{El{Hn}}}}999{c{{Ah{e}}}{}{}}00000{cDh{}}005;;;{{HlCdIbId}Hf}``{{cb}d{}}===={If{{El{Ih}}}}{{}If}{{IfIj}If}{IhIh}{{ce}d{}{}}{{}Ih}4{{IfAd}If}{{IhBb}Ef}{{IfBb}Ef}{cc{}}003{{IfId}If}{ce{}{}}0{IfIf}{{IfCd}If}{{Ihj}d}4{{IhEdDl}{{Bj{{H`{{El{Gj}}}}}}}}{{IfHl}If}5{c{{Ah{e}}}{}{}}000{{IfIb}If}{cDh{}}088``{{Ilc}d{{Cj{f}}}}99{{}Il}{{IlBb}Ef}={eIl{{Cj{f}}}{{Cl{}{{Al{c}}}}}}{{IlDl}{{Bj{f}}}}=3{{Ilj}d}1{{IlEdDl}{{Bj{{H`{{El{Gj}}}}}}}}{{Ilc}{{Bj{f}}}{{Cj{f}}}}::8{ce{}{}}``{{}In}{{J`DlCn}{{`{{Jd{}{{Jb{{El{f}}}}}}}}}}{{InDlCn}{{El{f}}}}{{J`DlCn{Bl{Jf}}}{{`{{Jd{}{{Jb{{El{f}}}}}}}}}}{{InDlCn{Bl{Jf}}}{{El{f}}}}{{J`Cn}{{`{{Jd{}{{Jb{{El{f}}}}}}}}}}{{InCn}{{El{f}}}}{{J`Cn{Bl{Jf}}}{{`{{Jd{}{{Jb{{El{f}}}}}}}}}}{{InCn{Bl{Jf}}}{{El{f}}}}{{J`cId}{{`{{Jd{}{{Jb{{El{{`{{B`{}{{Al{Jh}}}}}}}}}}}}}}}Jj}{{IncId}{{El{{`{{B`{}{{Al{Jh}}}}}}}}}Jj}{{J`cId}{{`{{Jd{}{{Jb{{El{{`{{B`{}{{Al{Jh}}}}}}}}}}}}}}}{JjJl}}{{IncId}{{El{{`{{B`{}{{Al{Jh}}}}}}}}}{JjJl}}{{J`cId{Bl{Jf}}}{{`{{Jd{}{{Jb{{El{{`{{B`{}{{Al{Jh}}}}}}}}}}}}}}}{JjJl}}{{IncId{Bl{Jf}}}{{El{{`{{B`{}{{Al{Jh}}}}}}}}}{JjJl}}105410`{{}Jn}``````{{cb}d{}}{K`Cn}{{{Kb{c}}}{{Kd{c{Gn{Df}}}}}{KfKhKjKl}}{ce{}{}}00000{CbCb}{{ce}d{}{}}{{K`K`}Ab}{{ce}Ab{}{}}`{{K`K`}Ad}{{CbCb}Ad}{{ce}Ad{}{}}00000{{K`Bb}{{Ah{dBd}}}}{{K`Bb}Ef}{{CbBb}Ef}{{{Kb{c}}Bb}EfKn}{cc{}}{{{Kb{K`}}}Cb}101{Cb{{Kb{K`}}}}{{{Bl{L`}}}{{El{Cb}}}}{{{Bl{L`}}}{{El{{Kb{c}}}}}{KfKhKjKl}}{{Dle}{{Kb{c}}}{KfKhKjKl}{{B`{}{{Al{{Bn{cDf}}}}}}}}{Hn{{El{Cb}}}}{Hn{{El{{Kb{c}}}}}{KfKhKjKl}}7{Cn{{Ah{K`c}}}{}}{{Dlc}{{El{{Kb{e}}}}}{{B`{}{{Al{Df}}}}}{KfKhKjKl}}{Cn{{El{Dl}}}}{{K`c}dD`}{ce{}{}}00{{JnDlCn}{{El{{Kb{c}}}}}{KfKhKjKl}}{{JnCn}{{El{{Kb{c}}}}}{KfKhKjKl}}{{Dl{Bj{Cd}}{Lb{An}}}Cb}{{{Kb{c}}}Dl{KfKhKjKl}}`{{K`K`}{{Bj{Ab}}}}`{{CbCnIb}{{El{{`{{B`{}{{Al{L`}}}}}}}}}}{{{Kb{c}}CnIb}{{El{{`{{B`{}{{Al{L`}}}}}}}}}{KfKhKjKl}}7{{CbHlIb}{{El{Hn}}}}{{{Kb{c}}HlIb}{{El{Hn}}}{KfKhKjKl}}{cDf{}}{DlDf}?{c{{Ah{e}}}{}{}}00000{cDh{}}00===```````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````{{cb}d{}}000000000000000000000000000000000{EdLd}{Lf{{El{LhLj}}}}{EjLl}{EjLn}{{Lf{Ch{M`}}}{{El{LhLj}}}}{{MbMd}Mb}`{{Mf{Bj{Mb}}}Mf}`{{Mhe}MhGh{{Mj{Hl}{{Jb{{Bj{c}}}}}}MlMn}}{{Edf}{{El{d}}}}{{EdfCn}{{El{d}}}}```{{N`Db}d}{{Nb{Bl{Fd}}}{{Gl{Nd}}}}{{MfAd}Mf}{Lh{{El{{Gn{Fd}}}}}}{{Mh{Gn{{Gn{Fd}}}}}Mh}{N`{{Bl{Fd}}}}{Mh{{El{Ed}}}}{{MhNf}Mh}{{MhNh}Mh}{{NjId}Nj}`{ce{}{}}5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{Ed{{Bn{An{Bj{An}}}}}}{{{Ch{Nl}}NnAf}{{Gl{O`}}}}{{}Mh}```{{c{Od{Ob}}e}{}{}{}}{{cg}{{Dn{i}}}{}{}{{E`{}{{Al{e}}}}}{{Eb{}{{Al{e}}}}}}0:`{N`d}{MhMh}{N`N`}{EjEj}{OfOf}{OhOh}{OjOj}{OlOl}{OnOn}{A@`A@`}{A@bA@b}{MdMd}{A@dA@d}{A@fA@f}{EdEd}{A@hA@h}{A@jA@j}{A@lA@l}{A@nA@n}{AA`AA`}{AAbAAb}{AAdAAd}{C`C`}{AAfAAf}{LjLj}{MbMb}{NjNj}{M`M`}{AAhAAh}{AAjAAj}{AAlAAl}{AAnAAn}{AB`AB`}{ABbABb}{ABdABd}{ABfABf}{O`{{Gl{O`}}}}{{ce}d{}{}}000000000000000000000000000000000{{EjMd{Bl{Fd}}}d}{Ed{{El{d}}}}{Ej{{Bj{Lj}}}}{EjLj}{{N`N`}Ab}{{MdMd}Ab}{{ABbABb}Ab}{{ABdABd}Ab}{{ABfABf}Ab}`{{ce}Ab{}{}}0000{{Mf{Ch{Nl}}}Mf}`{Ej{{Gl{O`}}}}`{{EdDl}{{El{ABh}}}}{{Edc{Bl{Fd}}}{{El{Ej}}}{{Cj{f}}}}`{{{Bl{Fd}}}N`}{{N`Db}N`}{FdAB`}``{{MfDb}Mf}````{{Mf{Bj{Db}}}Mf}1{EjDb}`{{}N`}{{}Mf}{{}Md}{{}Mh}{{}A@d}{{}A@f}{{}A@h}{{}A@j}{{}A@l}{{}Mb}{{}Nj}{{}A@n}{N`{{Bl{Fd}}}}{c{{Ah{AAb}}}Aj}{c{{Ah{AAd}}}Aj}{c{{Ah{C`}}}Aj}{c{{Ah{AAf}}}Aj}{c{{Ah{AAh}}}Aj}{ABbABj}{EdABl}`{{Mh{Gl{Gh}}}Mh}{Ed{{Bj{Gh}}}}{MhMh}00{{MhIn}Mh}{EdIn}{N`d}{ABnd}{AC`d}{{MfAd}Mf}{ce{}{{ACd{ACb}}}}0{{N`ACf}Ad}{{N`{Bl{Fd}}}Ad}{{N`{Gn{Fd}}}Ad}{{N`Cn}Ad}{{N`c}AdACh}{{N`N`}Ad}{{N`Df}Ad}{{OfOf}Ad}{{OhOh}Ad}{{OjOj}Ad}{{OlOl}Ad}{{OnOn}Ad}{{A@`A@`}Ad}{{A@bA@b}Ad}{{MdMd}Ad}{{ACjACj}Ad}{{A@lA@l}Ad}{{A@nA@n}Ad}{{AA`AA`}Ad}{{AAbAAb}Ad}{{AAdAAd}Ad}{{C`C`}Ad}{{AAfAAf}Ad}{{LjLj}Ad}{{AClACl}Ad}{{AAhAAh}Ad}{{AAjAAj}Ad}{{AAlAAl}Ad}{{AAnAAn}Ad}{{AB`AB`}Ad}{{ABbABb}Ad}{{ABdABd}Ad}{{ABfABf}Ad}{{ce}Ad{}{}}00000000000000000000000000000000000000000000000000000000000000000000000000000000``{{Ej{Bl{Fd}}{Bl{Fd}}{Bl{Fd}}}{{Ah{dACl}}}}{AC`{{Ah{dAA`}}}}{{N`Bb}{{Ah{dBd}}}}00{{EjBb}{{Ah{dBd}}}}{{ACnBb}{{Ah{dBd}}}}{{OfBb}{{Ah{dBd}}}}0{{AD`Bb}{{Ah{dBd}}}}0{{ABnBb}{{Ah{dBd}}}}{{OhBb}{{Ah{dBd}}}}0{{OjBb}{{Ah{dBd}}}}0{{OlBb}{{Ah{dBd}}}}0{{OnBb}{{Ah{dBd}}}}0{{AC`Bb}{{Ah{dBd}}}}{{A@`Bb}{{Ah{dBd}}}}0{{A@bBb}{{Ah{dBd}}}}0{{MfBb}{{Ah{dBd}}}}{{MdBb}{{Ah{dBd}}}}0{{ACjBb}{{Ah{dBd}}}}{{MhBb}Ef}{{A@dBb}{{Ah{dBd}}}}{{A@fBb}{{Ah{dBd}}}}{{EdBb}Ef}{{A@hBb}{{Ah{dBd}}}}{{A@jBb}{{Ah{dBd}}}}{{A@lBb}{{Ah{dBd}}}}{{LdBb}Ef}{{LfBb}Ef}{{ADbBb}Ef}{{LhBb}Ef}{{A@nBb}Ef}{{AA`Bb}{{Ah{dBd}}}}0{{AAbBb}Ef}0{{AAdBb}Ef}{{C`Bb}Ef}{{AAfBb}Ef}0{{LjBb}{{Ah{dBd}}}}0{{MbBb}{{Ah{dBd}}}}{{NjBb}{{Ah{dBd}}}}{{M`Bb}{{Ah{dBd}}}}{{AClBb}{{Ah{dBd}}}}{{ADdBb}{{Ah{dBd}}}}{{ADfBb}{{Ah{dBd}}}}{{AAhBb}Ef}{{AAhBb}{{Ah{dBd}}}}{{AAjBb}{{Ah{dBd}}}}0{{AAlBb}{{Ah{dBd}}}}0{{ABhBb}Ef}{{AAnBb}{{Ah{dBd}}}}0{{AB`Bb}{{Ah{dBd}}}}0{{ABbBb}{{Ah{dBd}}}}0{{ABlBb}Ef}{{ABdBb}Ef}{{ABfBb}Ef}0{{}Ad}````{cc{}}{DfN`}{{{Gl{{Bl{Fd}}}}}N`}{{{Gn{Fd}}}N`}{ADhN`}{CnN`}{ADjN`}6{{{Bl{Fd}}}N`}{ADlN`}{ADnN`}{AE`N`}{ACfN`};;;;;;;{LjOf}<<<{OjOh}={AEbOj}{OlOj}?{LjOj}{LjOl}{cc{}}{OjOn}111{A@bA@`}{LjA@`}{AA`A@`}{LjA@b}55{IbMd}{FdMd}{AfMd}8{ABbMd}9999999999999999999{AEdLj}{AAnLj};;;;{AEfADd}<<<{AAnAAj}==={AEhAAn}{AEjAAn}?{AB`AAn}{cc{}}0{MdABb}111{cN`{{Cl{}{{Al{Fd}}}}}}{cN`{{AEl{{Bl{Fd}}}}Ml}}3333333333333333333333333333333333{{{Od{Ob}}c}{{En{{Gl{Jd}}}}}{MlMn}}{{{Bl{Fd}}}N`}{IbMd}{Jf{{Ah{MdAEn}}}}{JfMd}{Ej{{El{Bh}}}}{Ej{{Bj{{Gl{AF`}}}}}}{Lh{{El{{Gl{AF`}}Lj}}}}`{C`Ad}{{N`c}dD`}{{Mdc}dD`}{{AAhc}dD`}{{ABbc}dD`}{{ABdc}dD`}{{ABfc}dD`}{Ed{{Bj{A`}}}}{ABnABb}{AC`ABb}{Lfd}`{{M`Jf}M`}0{ABbJf}`{{AFbIbAFd}{{Ah{AFfADf}}}}{{MfAf}Mf}{{MfId}Mf}{O`Jf}{ABbAFh}{{MhAd}Mh}{{NjId}Nj}{ce{}{}}0000000000000000000000000000000000000000000000000000000{Lh{{El{{Bn{EjAFj}}Lh}}}}{{{Gl{O`}}}{{Gl{AF`}}}}{c{}{}}000000{Lfc{}}11{AD`AFl}{MdJf}{N`}0{c{{AG`{{AFn{egd}}}}}{}{}{}}{c{{AGb{{AFn{egd}}i}}}{}{}{}{}}{N`{{AGd{Ob}}}}{c{{AFn{egd}}}{}{}{}};;`{ABnAd}{ACnAd}{EdAd}{N`Ad}0{{ce}{{AGf{g}}}{}AGhJd}00000000{{Mf{Bj{Id}}}Mf}{{MhAd}Mh}{{Mh{Gn{f}}}Mh}```{C`{{Bj{Id}}}}```{N`Db}{Ej{{Bj{Jh}}}}{Lf{{Bj{Jh}}}}{Lh{{Bj{Jh}}}}```{{AGjHl{Gn{{Gn{Fd}}}}{Ch{Mf}}Ad}{{El{M`}}}}{{Mb{Bj{Id}}}Mb}{{MfMd}Mf}0`{Ej{{Bj{Db}}}}{{Mf{Bj{AGl}}}Mf}{{M`Db}M`}```{{cg}{{Eh{ei}}}{}{}{{E`{}{{Al{e}}}}}{{Eb{}{{Al{e}}}}}}0{{M`Ad}M`}{{MfAf}Mf}{{NjAf}Nj}{{Mf{Bj{Nj}}}Mf}{Edd}{ACnAd}{{}N`}{{{Ch{AFb}}{Ch{Nb}}}M`}{{AFhABjJf}ABb}``{Ed{{El{f}}}}{EdDl}```{Ej{{AGn{{Bj{An}}}}}}`{{O`NnNnJfAdAH`}d}{{O`NnNnAdJf}d}{{O`NnJfAd{Bj{Jf}}}d}{{O`Af}d}{{O`NnJfJf}d}{{Nd{Bl{Fd}}{Bl{Fd}}}{{Ah{{Bl{Fd}}ADd}}}}{EjAHb}{EjAHd}{{MfIb}Mf}{{N`N`}{{Bj{Ab}}}}{{N`Cn}{{Bj{Ab}}}}{{N`Df}{{Bj{Ab}}}}{{N`{Gn{Fd}}}{{Bj{Ab}}}}{{N`c}{{Bj{Ab}}}ACh}{{N`{Bl{Fd}}}{{Bj{Ab}}}}{{MdMd}{{Bj{Ab}}}}{{ABbABb}{{Bj{Ab}}}}{{ABdABd}{{Bj{Ab}}}}{{ABfABf}{{Bj{Ab}}}}```{Ej{{Bj{{Gl{AF`}}}}}};`{{{En{AFj}}F`}Fb}{{{En{AHd}}F`}Fb}{{{En{AHb}}F`}Fb}{{{En{Ln}}F`}Fb}{{{En{Ll}}F`}Fb}{{{En{AHf}}F`}Fb}{{{En{Ld}}F`}{{Fb{c}}}{}}{{{En{ADb}}F`}{{Fb{c}}}{}}{{{En{Lh}}F`}{{Fb{c}}}{}}{{{En{AC`}}F`}{{Fb{{Ah{dAHh}}}}}}{{{En{ABh}}F`}{{Fb{{Bj{c}}}}}{}}{{{En{ABl}}F`}{{Fb{{Bj{c}}}}}{}}{{{En{ABn}}F`AHj}{{Fb{{Ah{dAHh}}}}}}{{ABnF`{Bl{Fd}}}{{Fb{{Ah{DbOj}}}}}}4{{{En{AC`}}F`{Bl{Fd}}}{{Fb{{Ah{DbAHh}}}}}}{{{En{AC`}}F`{Bl{Fd}}}{{Fb{{Ah{DbA@`}}}}}}{{M`{Bj{Nf}}}M`}{{M`{Bj{Nh}}}M`}{AC`{{Ah{AHlAA`}}}}{MhMh}{{MhCd}Mh}{{cg}{{AHn{ei}}}{}{}{{AGh{}{{Jb{e}}}}}{{Jd{}{{Jb{e}}}}}}00000000{{c{Fh{Ffegi}}}{{Fj{kegi}}}{}FlFnG`{}}0{{c{Fh{Ffegi}}Gb}{{Fj{kegi}}}{}FlFnG`{}}0{{ABn{Bl{Fd}}}{{Ah{{Bj{Db}}Oj}}}}{{ABnDbAd}{{Ah{{Bj{ACj}}Oj}}}}{{ABn{Bl{N`}}}{{Ah{{Bj{Db}}Oj}}}}{EjAHf}{{ABn{Bl{Fd}}}{{Ah{dOn}}}}{{ABnDb}{{Ah{{Gn{Fd}}Oh}}}}```{{MfAd}Mf}{{MfMd}Mf}{ABn{{Ah{{Bj{Md}}Ol}}}}{Lfd}{A@nl}{{MhA@n}Mh}``{N`Db}{EjAn}{LfAn}{LhAn}{LfAd}{{EdDl}{{Bj{C`}}}}{Ed{{`{{B`{}{{Al{C`}}}}}}}}{{MbMd}Mb}{{AC`Md}{{Ah{dAA`}}}}``{Lf{{El{dAD`}}}}{{AFbIbAFd{Bl{Fd}}}{{AI`{Fd}}}}{{M`Id}M`}{EjId}`{{Mdc}Md{{Cj{Md}}}}{{Nd{Gn{Fd}}{Bl{Fd}}}{{Ah{dADd}}}}{{MhHl}Mh}{EdHl}{{EjN`}{{Ah{dOf}}}}{{EjN`}AIb}{{MfAd}Mf}{{MfJf}Mf}``{{AAbc}AhDd}{{AAdc}AhDd}{{C`c}AhDd}{{AAfc}AhDd}{{AAhc}AhDd}{{Ed{Gn{{Gn{Fd}}}}}{{El{d}}}}{{EjMd}d}0{{AC`AHl}{{Ah{dAA`}}}}1{{N`c}N`{{AId{Db}}}}{{N`{Bl{Fd}}}N`}{Of{{Bj{AIf}}}}{Oh{{Bj{AIf}}}}{Oj{{Bj{AIf}}}}{Ol{{Bj{AIf}}}}{On{{Bj{AIf}}}}{A@`{{Bj{AIf}}}}{A@b{{Bj{AIf}}}}{Lj{{Bj{AIf}}}}{C`{{Gn{{Bn{AAhId}}}}}}`{{N`Db}N`}0{EjDb}{{{Ch{AFb}}IbAIh}{{Gl{AIj}}}}{EjA@j}{{ABnMd}{{Ah{dAA`}}}}`{AC`{{Ah{{Bj{Md}}A@b}}}}``{{MfMd}Mf}``{{MfAIl}Mf}{MhMh}0{ce{}{}}000000000000000000000000000000000{cDf{}}0000000000000000000{{M`{Ch{Nb}}}M`}`{{MhMf}Mh}{{M`{Ch{Mf}}}M`}{{N`Db}d}{c{{Ah{e}}}{}{}}0000000000000000000{Jf{{Ah{MdAEn}}}}{AIn{{Ah{MdAEn}}}}{Db{{Ah{MdAEn}}}}33333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333{N`{{Ah{ACfN`}}}}{{{En{c}}F`}Fb{}}000000`{cDh{}}0000000000000000000000000000000000000000000000000000000``{{NjAf}Nj}========================================================{Ed{{`{{Eb{}{{Al{A`}}}}}}}}{EjACn}{O`Jf}{{{Ch{AFb}}}M`}{{{Gn{AJ`}}AJb}{{Ah{M`AJd}}}}{{AC`{Bl{Fd}}}{{Ah{DbA@`}}}}{{AC`{Bl{Fd}}}{{Ah{dA@`}}}}{{AC`{Bl{N`}}}{{Ah{dA@`}}}}{{AC`N`}{{Ah{dA@`}}}}{{AC`{Bl{N`}}}{{Ah{A@lA@`}}}}{{cg}{{Gd{i}}}{}{}{{E`{}{{Al{e}}}}}{{Eb{}{{Al{e}}}}}}0````````{{cb}d{}}00{{}}{AJf{{AI`{Fd}}}}1{AJf{{Bl{Fd}}}}{ce{}{}}2100000{AJfAJf}{AJhAJh}{AJjAJj}{{ce}d{}{}}00{{AJfAJf}Ab}{{AJhAJh}Ab}{{AJjAJj}Ab}{{ce}Ab{}{}}{{{Bl{Fd}}{Bl{Fd}}}Ab}11{{}AJh}{c{{Ah{AJf}}}Aj}{c{{Ah{AJh}}}Aj}{c{{Ah{AJj}}}Aj}{ce{}{{ACd{ACb}}}}0{{AJfAJf}Ad}{{AJhAJh}Ad}{{AJjAJj}Ad}{{ce}Ad{}{}}00000000{{}{{Bj{Db}}}}0{{AJfBb}{{Ah{dBd}}}}0{{AJhBb}{{Ah{dBd}}}}0{{AJjBb}{{Ah{dBd}}}}0{AJfDf}`{{{AI`{Fd}}}AJf}{cc{}}{AJlAJf}2112{{{Bl{Fd}}}}0222{Cn{{Ah{AJf}}}}{Cn{{Ah{AJj}}}}{{AJfc}dD`}{{AJhc}dD`}{{AJjc}dD`}`{AJfAJj}{ce{}{}}00{AJhAd}0{cAJf{{AEl{{Bl{Fd}}}}}}{{AJfAJh}AJj}{{AJfAJf}{{Bj{Ab}}}}{{AJhAJh}{{Bj{Ab}}}}{{AJjAJj}{{Bj{Ab}}}}7{{AJfc}AhDd}{{AJhc}AhDd}{{AJjc}AhDd}{AJfDf}:::{cDf{}}00{c{{Ah{e}}}{}{}}00000{cDh{}}00{{}AJn}0>>>``````````{{cb}d{}}00{Bh{{AI`{Fd}}}}{Bh{{Bl{Fd}}}}{ce{}{}}000000000{AK`AK`}{BhBh}{HlHl}{{ce}d{}{}}00{{BhBh}Ab}{{ce}Ab{}{}}{c{{Ah{AK`}}}Aj}{c{{Ah{Bh}}}Aj}{c{{Ah{Hl}}}Aj}{ce{}{{ACd{ACb}}}}0{{AK`AK`}Ad}{{BhBh}Ad}{{ce}Ad{}{}}00000{{AKbBb}{{Ah{dBd}}}}{{AK`Bb}{{Ah{dBd}}}}000{{BhBb}{{Ah{dBd}}}}0{{AKdBb}{{Ah{dBd}}}}0{{HlBb}{{Ah{dBd}}}}0{BhDf}{cc{}}0{{{AI`{Fd}}}AK`}{AKfAK`}12{AKhBh}{AKjAKd}4{AKlAKd}5{{{AI`{Fd}}}Hl}{AKnHl}6{{{AI`{Fd}}}{{Ah{BhAKj}}}}2{{{AI`{Fd}}{AI`{Fd}}}AK`}999{{{Bl{Fd}}}{{Ah{AK`AKj}}}}{Cn{{Ah{AK`AKj}}}}{Cn{{Ah{Bh}}}}{Cn{{Ah{Hl}}}}{{}Hl}{cHl{AL`ACh}}{{Bhc}dD`}{ce{}{}}0000{{AKbALb}{{Ah{dCf}}}}{{BhBh}{{Bj{Ab}}}}{HlBh}{AK`{{AI`{Fd}}}}0{{AKbALb}d}{{AK`c}AhDd}{{Bhc}AhDd}{{Hlc}AhDd}{BhDf}{Hl{{ALd{Df}}}}{{HlBh}AKb}{{Hl{Bl{Fd}}}AK`}{AKd{{Bj{AIf}}}}99{Hl{{AI`{Fd}}}}{Hl{{Ah{{ALd{Df}}ALf}}}}???{cDf{}}000{AK`{{Gn{Fd}}}}{c{{Ah{e}}}{}{}}{ALh{{Ah{AK`ALf}}}}1{{{Bl{Fd}}}{{Ah{AK`AKj}}}}1{{{Bl{Fd}}}{{Ah{Bh}}}}3{{{AI`{Fd}}}{{Ah{Bh}}}}4{{{Bl{Fd}}}{{Ah{Hl}}}}5{c{{Ah{HlCf}}}{{AEl{{Bl{Fd}}}}}}66666{cDh{}}0000{{Bh{Bl{Fd}}AK`}{{Ah{dAKj}}}}{ce{}{}}0000````{{cb}d{}}000`````````11111111``{ALjALj}{ALlALl}{ALnALn}{AM`AM`}{{ce}d{}{}}000```{{}ALj}{{}ALl}{{}ALn}{{}AM`}``````{{ALjBb}{{Ah{dBd}}}}{{ALlBb}{{Ah{dBd}}}}{{ALnBb}{{Ah{dBd}}}}{{AM`Bb}Ef}`{cc{}}0000000`????{ALj{{AMb{{Bn{CnAF`}}}}}}{ALl{{AMb{{Bn{CnAF`}}}}}}{ALn{{AMb{{Bn{CnAF`}}}}}}{AM`{{AMb{{Bn{CnAF`}}}}}}```{{}Cn}000```````````````````````````````````````````````````{ce{}{}}000{c{{Ah{e}}}{}{}}0000000{cDh{}}000```````2222````{{cb}d{}}{{AMdLh}{{AMf{{El{d}}}}}}{{AMhce}AMh{{AEl{{Bl{Fd}}}}}AMd}5555{EdAMh}{AMjAMj}{{ce}d{}{}}{AMjEd}{AMhEd}{{AMjBb}Ef}{{AMhBb}Ef}{cc{}}00=={AMjAd}8{AMd{{AMf{d}}}}{AMj{{El{d}}}}{AMh{{El{AMj}}}}{ce{}{}}{c{{Ah{e}}}{}{}}000{cDh{}}022``2222{An{{El{Jn}}}}{{AMlHl}{{Gl{Gf}}}}{AMlIn}{{AMnBb}Ef}{{AMlBb}Ef}<<77``{{AMlDlId}{{El{d}}}}`{{}{{El{AMl}}}}{{}{{El{{Bn{lA`AN`}}}}}}{{{Bj{ANb}}Ad}{{El{{Bn{lA`AN`}}}}}}1{Df{{El{AMl}}}};;;;::<<`````````{{cb}d{}}0======{ANdANd}{BfBf}{{ce}d{}{}}0{Cn{{Ah{ANfANh}}}}{c{{Ah{ANd}}}Aj}{c{{Ah{Bf}}}Aj}{{ANdANd}Ad}{{BfBf}Ad}{{ce}Ad{}{}}00000{{ANdBb}{{Ah{dBd}}}}0{{BfBb}{{Ah{dBd}}}}0{{ANhBb}{{Ah{dBd}}}}0{ANdAJh}{cc{}}0{fBf}{ANjANh}2{ANlANh}{{{Bl{Fd}}}{{Ah{ANfANh}}}}{{{Bl{Fd}}}{{Ah{ANdANh}}}}{{{Bl{Fd}}}{{Ah{BfANh}}}}66{Cn{{Ah{ANd}}}}{Cn{{Ah{Bf}}}}{ANdAJf}{ce{}{}}00{ANd{{Bn{fAJfAJh}}}}{{fAJfAJh}{{Ah{ANdCf}}}};{ANdf}{Bff}{ANdAd}{ANfDf}{{ANdc}AhDd}{{Bfc}AhDd}{ANh{{Bj{AIf}}}}{ANf{{Gn{Fd}}}}{ANd{{Gn{Fd}}}}{Bf{{Gn{Fd}}}}<<{cDf{}}00{c{{Ah{e}}}{}{}}00000{cDh{}}00???````````{{cb}d{}}{ce{}{}}000`{AGjAGj}{{ce}d{}{}}{{}AGj}{{AGjAGj}Ad}{{ce}Ad{}{}}00{{AGjBb}Ef}{{ANnBb}Ef}0{cc{}}{AO`ANn}{AObANn}2{AJdANn}3;;{{AGjHl{Bj{Bh}}{Gn{{Gn{Fd}}}}Ad}{{Ah{AOdANn}}}}{{AGjHl{Gn{{Gn{Fd}}}}Ad}{{Ah{AOfANn}}}}{ANn{{Bj{AIf}}}}>{cDf{}}{c{{Ah{e}}}{}{}}000{cDh{}}0{ce{}{}}0`````0000000000{{AOhBb}Ef}{{AOjBb}Ef}{{AObBb}Ef}0{{AOlBb}Ef}0{{AOnBb}Ef}0???{B@`AOb}{cc{}}{B@bAOl}{B@bAOn}2{Hl{{Ah{{Bn{AJ`AJb}}AOb}}}}:::::{AJ`{{Ah{AOhAOl}}}}{AOhBh}{AOb{{Bj{AIf}}}}{AOl{{Bj{AIf}}}}{AOn{{Bj{AIf}}}}{cDf{}}00{c{{Ah{e}}}{}{}}000000000{cDh{}}0000{{AOhB@d{Bl{Fd}}{Bl{Fd}}}{{Ah{dAOn}}}}{ce{}{}}0000","D":"GEf","p":[[5,"Private",2639],[1,"unit"],[5,"NodeAddr",0,2640],[6,"AddrInfoOptions",0,2640],[5,"AddrInfo",0,2640],[5,"RelayMap",0,2641],[5,"RelayNode",0,2641],[5,"RelayUrl",0,2642],[6,"Ordering",2643],[1,"bool"],[1,"u16"],[6,"Result",2644],[10,"Deserializer",2645],[17,"Item"],[6,"SocketAddr",2646],[10,"Iterator",2647],[5,"Formatter",2648],[5,"Error",2648],[5,"NodeTicket",2442,2649],[5,"PublicKey",2074,2650],[6,"Option",2651],[1,"slice"],[1,"tuple"],[5,"RemoteInfo",547,2652],[5,"NodeInfo",469],[5,"Url",2653],[5,"Error",2654],[5,"Arc",2655],[10,"Into",2656],[10,"IntoIterator",2657],[1,"str"],[10,"Hasher",2658],[1,"usize"],[10,"Serializer",2659],[5,"String",2660],[5,"TypeId",2661],[5,"Dialer",223],[8,"NodeId",0,2650],[5,"Chain2",2662],[10,"IntoStream",2663],[10,"Stream",2664],[5,"Endpoint",547],[8,"Result",2648],[5,"Merge2",2665],[5,"Connection",547,2666],[8,"Result",2654],[5,"Pin",2667],[5,"Context",2668],[6,"Poll",2669],[1,"u8"],[6,"NotKeyed",2670],[5,"RateLimiter",2671],[5,"RatelimitedStream",2672],[10,"DirectStateStore",2670],[10,"ReasonablyRealtime",2673],[10,"RateLimitingMiddleware",2674],[5,"Jitter",2675],[5,"Zip2",2676],[5,"ConcurrentDiscovery",247],[10,"Discovery",247],[5,"DiscoveryItem",247],[5,"Box",2677],[5,"Vec",2678],[8,"Boxed",2679],[5,"DnsDiscovery",292],[5,"LocalSwarmDiscovery",307],[5,"PkarrPublisher",322],[5,"PkarrResolver",322],[5,"PkarrRelayClient",322],[5,"SecretKey",2074,2650],[5,"SignedPacket",2680],[8,"BoxStream",2664],[1,"u32"],[5,"Duration",2681],[5,"Builder",384],[5,"DhtDiscovery",384],[5,"PkarrClient",2682],[5,"StaticProvider",424],[8,"DnsResolver",444],[10,"ResolverExt",444],[17,"Output"],[10,"Future",2683],[1,"u64"],[6,"IpAddr",2684],[10,"IntoName",2685],[10,"Clone",2686],[8,"TokioAsyncResolver",2687],[6,"IrohAttr",469],[5,"TxtAttrs",469],[5,"BTreeMap",2688],[10,"FromStr",2689],[10,"Display",2648],[10,"Hash",2658],[10,"Ord",2643],[10,"Debug",2648],[5,"Record",2690],[5,"BTreeSet",2691],[5,"Accept",547],[5,"Incoming",547],[5,"Connecting",547],[6,"ConnectionError",547,2692],[5,"AcceptBi",547,2666],[5,"AcceptUni",547,2666],[5,"ServerConfig",547,2693],[5,"AckFrequencyConfig",547,2693],[5,"VarInt",547,2694],[5,"TransportConfig",547,2693],[5,"Builder",547],[10,"FnOnce",2695],[10,"Send",2696],[10,"Sync",2696],[5,"Bytes",547,2697],[10,"HandshakeTokenKey",547,2698],[10,"AeadKey",547,2698],[5,"SocketAddrV4",2646],[5,"SocketAddrV6",2646],[5,"MtuDiscoveryConfig",547,2693],[10,"ControllerFactory",547,2699],[5,"Instant",2700],[10,"Controller",547,2699],[5,"Body",2701],[5,"Request",2702],[6,"SendDatagramError",547,2666],[6,"ReadToEndError",547,2703],[6,"ReadError",547,2703],[6,"ResetError",547,2703],[6,"ReadExactError",547,2703],[6,"WriteError",547,2704],[6,"StoppedError",547,2704],[5,"UdpStats",547,2705],[5,"FrameStats",547,2705],[5,"PathStats",547,2705],[5,"ConnectionStats",547,2705],[5,"Written",547,2706],[6,"RelayMode",547],[5,"ClosedStream",547,2707],[6,"ControlMsg",547,2652],[5,"DirectAddrInfo",547,2652],[6,"ConnectionType",547,2652],[6,"Source",547,2708],[5,"ConnectionClose",547,2709],[5,"ApplicationClose",547,2709],[5,"TransportError",547],[5,"TransportErrorCode",547],[5,"StreamId",547,2710],[5,"DirectAddr",547,2711],[6,"DirectAddrType",547,2711],[5,"ConnectionTypeStream",547,2708],[6,"Dir",2710],[5,"DirectAddrsStream",547,2711],[5,"RecvStream",547,2703],[5,"SendStream",547,2704],[1,"char"],[10,"FromIterator",2657],[5,"BytesMut",2712],[10,"Sized",2696],[5,"Chunk",547,2713],[5,"ExportKeyingMaterialError",547,2698],[5,"WeakConnectionHandle",547,2666],[5,"RetryError",547,2714],[5,"IncomingFuture",547],[5,"CryptoError",547,2698],[5,"UnsupportedVersion",547,2698],[5,"ByteStr",2715],[5,"Custom",2716],[5,"ByteStr",2715],[5,"Custom",2716],[5,"ReasonPhrase",2717],[6,"ReadableError",2718],[6,"Close",2709],[5,"Unspecified",2719],[6,"Error",2720],[5,"InvalidFrame",2709],[10,"AsRef",2656],[5,"VarIntBoundsExceeded",2694],[10,"Any",2661],[10,"CryptoServerConfig",547],[5,"ConnectionId",2721],[5,"Keys",2698],[6,"Side",2710],[5,"ZeroRttAccepted",547,2666],[5,"Incoming",2714],[5,"HandlerService",2722],[5,"IntoMakeService",2723],[5,"IntoMakeServiceWithConnectInfo",2724],[5,"Response",2725],[5,"Join2",2726],[10,"IntoFuture",2727],[6,"Authentication",2529],[5,"IdleTimeout",2693],[5,"Receiver",2728],[5,"RttEstimator",2729],[5,"OpenBi",547,2666],[5,"OpenUni",547,2666],[5,"ReadDatagram",547,2666],[5,"Error",2730],[5,"ReadBuf",2731],[1,"i32"],[5,"Race2",2732],[1,"array"],[5,"SendDatagram",2666],[10,"RangeBounds",2733],[10,"Error",2734],[5,"TransportParameters",2720],[10,"Session",2698],[1,"f32"],[1,"u128"],[5,"CertificateDer",2735],[6,"PrivateKeyDer",2735],[6,"Error",2736],[5,"Hash",1958,2737],[6,"BlobFormat",1958,2737],[5,"HashAndFormat",1958,2737],[5,"Hash",2738],[5,"TypeName",2739],[5,"Signature",2074,2740],[5,"SharedSecret",2074,2741],[6,"KeyParsingError",2074,2650],[5,"InternalSignature",2742],[5,"VerifyingKey",2743],[5,"Error",2744],[6,"HexOrBase32ParseError",2745],[5,"SigningKey",2746],[10,"CryptoRngCore",2747],[10,"Buffer",2748],[5,"Zeroizing",2749],[6,"Error",2750],[5,"Signature",2751],[5,"PortmapMetrics",2218],[5,"NetReportMetrics",2218],[5,"RelayMetrics",2218],[5,"MagicsockMetrics",2218],[5,"IntoIter",2752],[10,"ProtocolHandler",2374],[8,"Boxed",2753],[5,"RouterBuilder",2374],[5,"Router",2374],[5,"DnsPkarrServer",2410,2754],[5,"CleanupDropGuard",2410],[5,"Server",2755],[5,"StunConfig",2755],[5,"BlobTicket",2442,2756],[10,"Ticket",2442,2757],[6,"Error",2442,2757],[6,"Error",2758],[5,"DecodeError",2759],[6,"CreateConfigError",2529],[5,"NoInitialCipherSuite",2760],[5,"GenError",2573],[5,"QuicClientConfig",2760],[5,"QuicServerConfig",2760],[5,"P2pCertificate",2573],[5,"P2pExtension",2573],[5,"ParseError",2573],[5,"VerificationError",2573],[6,"Error",2761],[6,"Error",2762],[6,"SignatureScheme",2763],[15,"Discovery",1956],[15,"NamedApp",1956],[15,"Kind",2528]],"r":[[0,2640],[1,2640],[3,547],[5,2640],[6,2650],[9,2641],[10,547],[11,2641],[12,2642],[130,2764],[141,2764],[164,2764],[207,2641],[208,2641],[550,2666],[551,2666],[552,2693],[553,2640],[554,2640],[556,2698],[558,2709],[561,2697],[566,2713],[568,2707],[572,2666],[573,2709],[575,2692],[581,2705],[582,2652],[583,2708],[584,2652],[585,2699],[586,2699],[587,2698],[592,2711],[593,2652],[594,2711],[595,2711],[601,2698],[606,2705],[607,2698],[620,2693],[624,2640],[626,2666],[627,2666],[629,2705],[634,2666],[635,2703],[637,2703],[638,2703],[639,2703],[645,2652],[648,2703],[649,2714],[653,2666],[654,2704],[655,2693],[656,2708],[659,2704],[660,2710],[667,2693],[672,2705],[675,2698],[676,2694],[678,2666],[679,2704],[680,2706],[681,2666],[1958,2737],[1960,2737],[1961,2737],[2077,2650],[2078,2650],[2079,2765],[2080,2650],[2081,2650],[2082,2741],[2083,2740],[2411,2754],[2416,2766],[2442,2756],[2444,2757],[2447,2649],[2449,2757]],"b":[[97,"impl-Display-for-AddrInfoOptions"],[98,"impl-Debug-for-AddrInfoOptions"],[99,"impl-Debug-for-RelayMap"],[100,"impl-Display-for-RelayMap"],[101,"impl-Display-for-RelayNode"],[102,"impl-Debug-for-RelayNode"],[103,"impl-Display-for-RelayUrl"],[104,"impl-Debug-for-RelayUrl"],[105,"impl-From%3CNodeTicket%3E-for-NodeAddr"],[106,"impl-From%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[107,"impl-From%3CRemoteInfo%3E-for-NodeAddr"],[108,"impl-From%3CNodeInfo%3E-for-NodeAddr"],[110,"impl-From%3CPublicKey%3E-for-NodeAddr"],[497,"impl-Display-for-IrohAttr"],[498,"impl-Debug-for-IrohAttr"],[502,"impl-From%3CTxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[504,"impl-From%3C%26TxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[1011,"impl-PartialEq%3CBytesMut%3E-for-Bytes"],[1012,"impl-PartialEq%3C%5Bu8%5D%3E-for-Bytes"],[1013,"impl-PartialEq%3CVec%3Cu8%3E%3E-for-Bytes"],[1014,"impl-PartialEq%3Cstr%3E-for-Bytes"],[1015,"impl-PartialEq%3C%26T%3E-for-Bytes"],[1016,"impl-PartialEq-for-Bytes"],[1017,"impl-PartialEq%3CString%3E-for-Bytes"],[1129,"impl-UpperHex-for-Bytes"],[1130,"impl-Debug-for-Bytes"],[1131,"impl-LowerHex-for-Bytes"],[1134,"impl-Display-for-SendDatagramError"],[1135,"impl-Debug-for-SendDatagramError"],[1136,"impl-Debug-for-RetryError"],[1137,"impl-Display-for-RetryError"],[1139,"impl-Display-for-ReadToEndError"],[1140,"impl-Debug-for-ReadToEndError"],[1141,"impl-Display-for-ReadError"],[1142,"impl-Debug-for-ReadError"],[1143,"impl-Debug-for-ResetError"],[1144,"impl-Display-for-ResetError"],[1145,"impl-Debug-for-ReadExactError"],[1146,"impl-Display-for-ReadExactError"],[1148,"impl-Display-for-WriteError"],[1149,"impl-Debug-for-WriteError"],[1150,"impl-Display-for-StoppedError"],[1151,"impl-Debug-for-StoppedError"],[1153,"impl-Debug-for-VarInt"],[1154,"impl-Display-for-VarInt"],[1168,"impl-Display-for-ClosedStream"],[1169,"impl-Debug-for-ClosedStream"],[1170,"impl-Debug-for-ControlMsg"],[1171,"impl-Display-for-ControlMsg"],[1174,"impl-Debug-for-ConnectionType"],[1175,"impl-Display-for-ConnectionType"],[1176,"impl-Debug-for-ConnectionError"],[1177,"impl-Display-for-ConnectionError"],[1184,"impl-Debug-for-Source"],[1185,"impl-Display-for-Source"],[1186,"impl-Display-for-ConnectionClose"],[1187,"impl-Debug-for-ConnectionClose"],[1188,"impl-Display-for-ApplicationClose"],[1189,"impl-Debug-for-ApplicationClose"],[1191,"impl-Debug-for-TransportError"],[1192,"impl-Display-for-TransportError"],[1193,"impl-Display-for-TransportErrorCode"],[1194,"impl-Debug-for-TransportErrorCode"],[1195,"impl-Display-for-StreamId"],[1196,"impl-Debug-for-StreamId"],[1199,"impl-Display-for-DirectAddrType"],[1200,"impl-Debug-for-DirectAddrType"],[1207,"impl-From%3CString%3E-for-Bytes"],[1208,"impl-From%3CBox%3C%5Bu8%5D%3E%3E-for-Bytes"],[1209,"impl-From%3CVec%3Cu8%3E%3E-for-Bytes"],[1210,"impl-From%3CByteStr%3E-for-Bytes"],[1211,"impl-From%3C%26str%3E-for-Bytes"],[1212,"impl-From%3CCustom%3E-for-Bytes"],[1214,"impl-From%3C%26%5Bu8%5D%3E-for-Bytes"],[1215,"impl-From%3CByteStr%3E-for-Bytes"],[1216,"impl-From%3CCustom%3E-for-Bytes"],[1217,"impl-From%3CReasonPhrase%3E-for-Bytes"],[1218,"impl-From%3CBytesMut%3E-for-Bytes"],[1232,"impl-From%3CReadableError%3E-for-ReadError"],[1233,"impl-From%3CResetError%3E-for-ReadError"],[1235,"impl-From%3CConnectionError%3E-for-ReadError"],[1242,"impl-From%3CStoppedError%3E-for-WriteError"],[1243,"impl-From%3CConnectionError%3E-for-WriteError"],[1244,"impl-From%3CClosedStream%3E-for-WriteError"],[1248,"impl-From%3Cu32%3E-for-VarInt"],[1249,"impl-From%3Cu8%3E-for-VarInt"],[1250,"impl-From%3Cu16%3E-for-VarInt"],[1252,"impl-From%3CStreamId%3E-for-VarInt"],[1272,"impl-From%3CClose%3E-for-ConnectionError"],[1273,"impl-From%3CTransportError%3E-for-ConnectionError"],[1286,"impl-From%3CError%3E-for-TransportError"],[1287,"impl-From%3CInvalidFrame%3E-for-TransportError"],[1289,"impl-From%3CTransportErrorCode%3E-for-TransportError"],[1434,"impl-IntoIterator-for-%26Bytes"],[1435,"impl-IntoIterator-for-Bytes"],[1514,"impl-PartialOrd-for-Bytes"],[1515,"impl-PartialOrd%3Cstr%3E-for-Bytes"],[1516,"impl-PartialOrd%3CString%3E-for-Bytes"],[1517,"impl-PartialOrd%3CVec%3Cu8%3E%3E-for-Bytes"],[1518,"impl-PartialOrd%3C%26T%3E-for-Bytes"],[1519,"impl-PartialOrd%3C%5Bu8%5D%3E-for-Bytes"],[1542,"impl-AsyncRead-for-RecvStream"],[1543,"impl-RecvStream"],[1545,"impl-AsyncWrite-for-SendStream"],[1546,"impl-SendStream"],[1725,"impl-TryFrom%3Cu64%3E-for-VarInt"],[1726,"impl-TryFrom%3Cu128%3E-for-VarInt"],[1727,"impl-TryFrom%3Cusize%3E-for-VarInt"],[1967,"impl-Value-for-Hash"],[1968,"impl-Hash"],[1972,"impl-Borrow%3C%5Bu8;+32%5D%3E-for-Hash"],[1973,"impl-Borrow%3C%5Bu8%5D%3E-for-Hash"],[2012,"impl-Display-for-Hash"],[2013,"impl-Debug-for-Hash"],[2014,"impl-Display-for-BlobFormat"],[2015,"impl-Debug-for-BlobFormat"],[2016,"impl-Display-for-HashAndFormat"],[2017,"impl-Debug-for-HashAndFormat"],[2020,"impl-From%3C%26%5Bu8;+32%5D%3E-for-Hash"],[2022,"impl-From%3CHash%3E-for-Hash"],[2023,"impl-From%3C%5Bu8;+32%5D%3E-for-Hash"],[2026,"impl-Hash"],[2027,"impl-Value-for-Hash"],[2121,"impl-Debug-for-Signature"],[2122,"impl-LowerHex-for-Signature"],[2123,"impl-UpperHex-for-Signature"],[2124,"impl-Display-for-Signature"],[2125,"impl-Debug-for-PublicKey"],[2126,"impl-Display-for-PublicKey"],[2127,"impl-Debug-for-KeyParsingError"],[2128,"impl-Display-for-KeyParsingError"],[2129,"impl-Debug-for-SecretKey"],[2130,"impl-Display-for-SecretKey"],[2134,"impl-From%3C%26%5Bu8;+ed25519::::SignatureBytes::%7Bconstant%230%7D%5D%3E-for-Signature"],[2135,"impl-From%3CInternalSignature%3E-for-Signature"],[2136,"impl-From%3C%5Bu8;+ed25519::::SignatureBytes::%7Bconstant%230%7D%5D%3E-for-Signature"],[2139,"impl-From%3CError%3E-for-KeyParsingError"],[2141,"impl-From%3CHexOrBase32ParseError%3E-for-KeyParsingError"],[2143,"impl-From%3C%5Bu8;+32%5D%3E-for-SecretKey"],[2144,"impl-From%3CSigningKey%3E-for-SecretKey"],[2178,"impl-SignatureEncoding-for-Signature"],[2179,"impl-Signature"],[2191,"impl-TryFrom%3C%26Signature%3E-for-Signature"],[2193,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-Signature"],[2194,"impl-TryFrom%3CSignature%3E-for-Signature"],[2195,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey"],[2197,"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey"],[2474,"impl-Debug-for-BlobTicket"],[2475,"impl-Display-for-BlobTicket"],[2476,"impl-Debug-for-NodeTicket"],[2477,"impl-Display-for-NodeTicket"],[2478,"impl-Display-for-Error"],[2479,"impl-Debug-for-Error"],[2484,"impl-From%3CError%3E-for-Error"],[2486,"impl-From%3CDecodeError%3E-for-Error"],[2550,"impl-Debug-for-CreateConfigError"],[2551,"impl-Display-for-CreateConfigError"],[2553,"impl-From%3CNoInitialCipherSuite%3E-for-CreateConfigError"],[2554,"impl-From%3CGenError%3E-for-CreateConfigError"],[2556,"impl-From%3CError%3E-for-CreateConfigError"],[2590,"impl-Debug-for-GenError"],[2591,"impl-Display-for-GenError"],[2592,"impl-Display-for-ParseError"],[2593,"impl-Debug-for-ParseError"],[2594,"impl-Debug-for-VerificationError"],[2595,"impl-Display-for-VerificationError"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAKQGxgAEAAAACwAAAA4ABQAWAB8ANwABADsABQBIACEAawACAG8AAQB2AAAAeQAHAIQAAACUAAMAmgAAAJ0ABAClAAAApwAbAMUABQDiAAIA5gAAAOkAAADrAAAA7wAAAPEABgD7AAAA/gAGAAcBAQALAQEAFgEAABgBAAAbAQkAKAECAC8BBAA2AQIAPAEGAEoBDgBaAQMAYQECAGwBAABuAQAAcAELAH0BAgCDAQQAiwEDAJABAQCUAQAAmwEAAJ0BAACfAQQApQEDAKwBAwC1AQAAtwEAALkBAwDJAQAA0QEAANwBAQDfAQkA6gELAPcBAAD5AQAA+wEAAAECAQAFAgAADgIAABICAAAVAgAAFwIMAK8CIQDXAgAA2QIAAOACAADlAgAA6wJwAGIDAwBpAyEAjAMhALIDBAC4AwQAwwMAAMUDAADHAwAAzAMBANIDCgDeAwUA7gMCAPIDcwBqBEcAuAQFAL8EBADLBAAAzwQAANEEAQDUBAEA1wQAANsEAwDhBAIA5QQAAPkEAQD/BAAAAwUAAAcFAQAKBQAADQUAABEFAAATBSIAPQUAAD8FBQBJBQAAjwUJAJsFBwCpBQgAxwUAAMsFBADZBQEA3wUAAOsFCQD2BQEA+gUNAAkGAQARBgwALwYAADgGAQBJBgQAVQYHAGUGAABnBgEAagYBAG8GNQCqBhMAwQZbAB4HBgAmBzcAYQc3AKMHAQCtBwMAsgcwAOUHAADnBwEA7AcJAP8HAgADCAIABwgTACUIAgApCCoAVwgCAFsIAQBeCAAAYAgBAGYIAgBqCAIAbwgAAHYIAAB7CAIAgggBAIcIBgCPCAoAmwgJAKYIBACvCAMAtAgPAMYIBwDRCAMA2ggEAOQIAwDtCAoAAQkGAAkJBwASCQgAHgkGACYJFAA9CQgASgkAAE0JAwBSCQEAVgkBAFoJAABiCQgAbQkDAHQJAQCDCQcAlAkLAKEJDwC1CQAAtwkAALkJBQDKCQIAzgkTAOkJBADvCQkA+gkBAP0JAQADCgoAEwoRACgKAAAqCgEANQoUAEsKBAA="}],\ +["iroh_base",{"t":"CCCCCCPFGPGPPPPNNNNNNNNNNNNHNNNNNNHHNNNNNNNNOHHHONNNNNNNNNNNNNNNNNNGTFFPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNTPPGISFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFGPPFPPFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNONNNNNNONNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNSSFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNOONNNNNNNNNNNNNNONNNNFPGTPFPKPNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNO","n":["base32","hash","key","node_addr","relay_map","ticket","Base32","DecodeError","DecodeKind","Hex","HexOrBase32ParseError","Length","Padding","Symbol","Trailing","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt_append","fmt_short","from","from","from","from","from","into","into","into","kind","parse_array","parse_array_hex_or_base32","parse_vec","position","source","to_owned","to_owned","to_string","to_string","to_string","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","BlobFormat","EMPTY","Hash","HashAndFormat","HashSeq","Raw","as_bytes","as_bytes","as_bytes","as_ref","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","cmp","cmp","cmp","compare","default","deserialize","deserialize","deserialize","encode_hex","encode_hex_upper","eq","eq","eq","fixed_width","fixed_width","fmt","fmt","fmt","fmt","fmt","fmt","fmt_short","format","from","from","from","from","from","from","from_bytes","from_bytes","from_bytes","from_str","from_str","hash","hash","hash","hash","hash_seq","into","into","into","is_hash_seq","is_raw","new","new","partial_cmp","partial_cmp","partial_cmp","raw","serialize","serialize","serialize","to_hex","to_owned","to_owned","to_owned","to_string","to_string","to_string","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","type_name","type_name","vzip","vzip","vzip","BYTE_SIZE","Base32","Key","KeyParsingError","NodeId","PUBLIC_KEY_LENGTH","PublicKey","SecretKey","SharedSecret","Signature","as_bytes","as_ref","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","cmp","deserialize","deserialize","deserialize","encode_hex","encode_hex_upper","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt_short","from","from","from","from","from","from","from","from","from","from","from","from","from","from_bytes","from_bytes","from_bytes","from_components","from_slice","from_str","from_str","from_str","generate","generate_with_rng","hash","into","into","into","into","into","open","partial_cmp","public","r_bytes","s_bytes","seal","serialize","serialize","serialize","serialize_public_pem","serialize_secret_pem","shared","sign","source","to_bytes","to_bytes","to_bytes","to_openssh","to_owned","to_owned","to_owned","to_string","to_string","to_string","to_string","to_vec","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from_openssh","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","verify","vzip","vzip","vzip","vzip","vzip","AddrInfo","AddrInfoOptions","Addresses","Id","NodeAddr","Relay","RelayAndAddresses","RelayUrl","apply_options","apply_options","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","cmp","cmp","cmp","default","default","deref","deserialize","deserialize","deserialize","deserialize","direct_addresses","direct_addresses","eq","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from_parts","from_str","from_str","hash","info","into","into","into","into","is_empty","new","node_id","partial_cmp","partial_cmp","partial_cmp","relay_url","relay_url","serialize","serialize","serialize","serialize","to_owned","to_owned","to_owned","to_owned","to_string","to_string","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","with_direct_addresses","with_relay_url","DEFAULT_RELAY_QUIC_PORT","DEFAULT_STUN_PORT","QuicConfig","RelayMap","RelayNode","RelayUrl","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","cmp","cmp","contains_node","default","default_from_node","deserialize","deserialize","empty","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","from","from","from","from_nodes","from_url","get_node","into","into","into","is_empty","len","nodes","partial_cmp","partial_cmp","port","quic","serialize","serialize","stun_only","stun_port","to_owned","to_owned","to_owned","to_string","to_string","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","url","urls","vzip","vzip","vzip","BlobTicket","Encoding","Error","KIND","Kind","NodeTicket","Postcard","Ticket","Verify","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deserialize","deserialize","deserialize","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","format","from","from","from","from","from","from","from_bytes","from_bytes","from_bytes","from_str","from_str","hash","into","into","into","into_parts","new","new","node_addr","node_addr","recursive","serialize","serialize","serialize","source","to_bytes","to_bytes","to_bytes","to_owned","to_owned","to_string","to_string","to_string","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","expected"],"q":[[0,"iroh_base"],[6,"iroh_base::base32"],[67,"iroh_base::hash"],[165,"iroh_base::key"],[296,"iroh_base::node_addr"],[397,"iroh_base::relay_map"],[470,"iroh_base::ticket"],[546,"iroh_base::ticket::Error"],[547,"data_encoding"],[548,"alloc::string"],[549,"core::convert"],[550,"core::fmt"],[551,"core::result"],[552,"hex::error"],[553,"alloc::vec"],[554,"core::error"],[555,"core::option"],[556,"core::any"],[557,"core::cmp"],[558,"serde::de"],[559,"core::iter::traits::collect"],[560,"iroh_blake3"],[561,"core::hash"],[562,"serde::ser"],[563,"redb::types"],[564,"ed25519"],[565,"iroh_base::key::encryption"],[566,"ed25519_dalek::signature"],[567,"ed25519_dalek::verifying"],[568,"ed25519_dalek::errors"],[569,"ed25519_dalek::signing"],[570,"signature::error"],[571,"rand_core"],[572,"core::marker"],[573,"aead"],[574,"anyhow"],[575,"zeroize"],[576,"ssh_key::error"],[577,"ssh_key::signature"],[578,"iroh_base::relay_url"],[579,"core::net::socket_addr"],[580,"core::iter::traits::iterator"],[581,"iroh_base::ticket::node"],[582,"url"],[583,"alloc::sync"],[584,"iroh_base::ticket::blob"],[585,"postcard::error"],[586,"ed25519_dalek::constants"]],"i":[0,0,0,0,0,0,12,0,0,12,0,1,1,1,1,1,2,12,1,2,12,1,2,1,2,1,2,0,1,1,2,2,12,12,0,0,1,2,12,12,12,1,2,12,2,0,0,0,2,12,1,2,1,2,12,1,2,12,1,2,12,1,2,12,1,2,12,0,21,0,0,22,22,21,21,23,21,21,21,21,22,23,21,22,23,21,22,23,21,22,23,21,22,23,21,22,21,22,23,21,21,21,22,23,21,23,21,21,22,22,23,23,21,23,21,21,21,21,22,23,21,21,23,21,23,21,22,23,23,23,21,22,23,22,22,21,23,21,22,23,23,21,22,23,21,21,22,23,21,22,23,21,22,23,21,22,23,21,22,23,21,23,21,22,23,34,37,37,0,0,0,0,0,0,0,33,33,36,34,33,37,35,36,34,33,37,35,34,33,35,34,33,35,33,34,33,35,33,33,34,33,36,34,34,34,34,33,33,37,37,35,35,33,36,34,34,34,34,33,33,37,37,37,35,35,35,34,33,35,34,34,34,33,35,35,35,33,36,34,33,37,35,36,33,35,34,34,36,34,33,35,33,35,35,35,37,34,34,35,35,34,33,35,34,33,37,35,34,36,34,34,34,34,33,33,33,37,35,35,35,36,34,33,37,35,36,34,33,37,35,33,36,34,33,37,35,0,0,52,52,0,52,52,0,51,53,51,53,52,54,51,53,52,54,51,53,52,54,51,53,52,54,51,53,54,53,52,54,51,53,52,54,51,53,51,53,52,54,51,53,52,52,54,54,51,51,51,51,53,52,54,54,51,52,54,54,51,51,53,52,54,53,51,51,51,53,54,51,53,51,53,52,54,51,53,52,54,52,54,51,53,52,54,51,53,52,54,51,53,52,54,51,53,52,54,51,51,0,0,0,0,0,0,63,64,65,63,64,65,63,64,65,63,64,65,64,65,63,65,63,64,65,63,63,64,65,63,63,64,64,65,63,64,65,63,63,63,63,64,65,63,63,63,64,65,65,64,64,65,64,64,63,64,65,63,64,63,64,65,63,64,65,63,64,65,64,63,63,64,65,0,71,0,70,71,0,71,0,71,69,60,71,69,60,71,69,60,69,60,70,69,60,69,60,69,69,60,60,71,71,69,69,60,60,71,71,71,70,69,60,69,60,69,69,60,71,69,69,60,69,60,69,70,69,60,71,70,69,60,69,60,69,60,71,69,60,71,69,60,71,69,60,71,69,60,71,73],"f":"```````````````{ce{}{}}00000{bb}{dd}{{ce}f{}{}}0{{bb}h}{{dd}h}{cj{{A`{{n{l}}}}}}{{bAb}{{Af{fAd}}}}0{{dAb}{{Af{fAd}}}}0{{AhAb}Aj}0{{cj}f{{A`{{n{l}}}}}}4{cc{}}0{AlAh}{dAh}2===`{An{{Af{{B`{l}}d}}}}{An{{Af{{B`{l}}Ah}}}}{An{{Af{{Bb{l}}d}}}}`{Ah{{Bf{Bd}}}}{ce{}{}}0{cj{}}00{c{{Af{e}}}{}{}}00000{cBh{}}00333``````3{Bj{{B`{l}}}}4{Bj{{n{l}}}}10555555{BjBj}{BlBl}{BnBn}{{ce}f{}{}}00{{BjBj}C`}{{BlBl}C`}{{BnBn}C`}{{{n{l}}{n{l}}}C`}{{}Bl}{c{{Af{Bj}}}Cb}{c{{Af{Bl}}}Cb}{c{{Af{Bn}}}Cb}{ce{}{{Cf{Cd}}}}0{{BjBj}h}{{BlBl}h}{{BnBn}h}{{}{{Bf{Ch}}}}0{{BjAb}Aj}0{{BlAb}Aj}0{{BnAb}Aj}0{Bjj}`{{{B`{l}}}Bj}{CjBj}1{cc{}}00{{{n{l}}}c{}}30{An{{Af{Bjc}}}{}}{An{{Af{Bnc}}}{}}{{Bjc}fCl}{{Blc}fCl}{{Bnc}fCl}`{BjBn}{ce{}{}}00{Blh}0{cBj{{A`{{n{l}}}}}}{{BjBl}Bn}{{BjBj}{{Bf{C`}}}}{{BlBl}{{Bf{C`}}}}{{BnBn}{{Bf{C`}}}}7{{Bjc}AfCn}{{Blc}AfCn}{{Bnc}AfCn}{Bjj}:::{cj{}}00{c{{Af{e}}}{}{}}00000{cBh{}}00{{}D`}0>>>``````````{Db{{B`{l}}}}{Db{{n{l}}}}{ce{}{}}000000000{DdDd}{DbDb}{DfDf}{{ce}f{}{}}00{{DbDb}C`}{c{{Af{Dd}}}Cb}{c{{Af{Db}}}Cb}{c{{Af{Df}}}Cb}{ce{}{{Cf{Cd}}}}0{{DdDd}h}{{DbDb}h}{{DhAb}Aj}{{DdAb}{{Af{fAd}}}}000{{DbAb}Aj}0{{DjAb}Aj}0{{DfAb}Aj}0{Dbj}{cc{}}0{{{B`{l}}}Dd}0{DlDd}2{DnDb}{AhDj}4{E`Dj}5{{{B`{l}}}Df}{EbDf}6{{{B`{l}}}{{Af{DbE`}}}}2{{{B`{l}}{B`{l}}}Dd}{{{n{l}}}{{Af{DdEd}}}}{An{{Af{DdEd}}}}{An{{Af{Dbc}}}{}}{An{{Af{Dfc}}}{}}{{}Df}{cDf{EfEh}}{{Dbc}fCl}{ce{}{}}0000{{DhEj}{{El{f}}}}{{DbDb}{{Bf{C`}}}}{DfDb}{Dd{{B`{l}}}}0{{DhEj}f}{{Ddc}AfCn}{{Dbc}AfCn}{{Dfc}AfCn}{Dbj}{Df{{En{j}}}}{{DfDb}Dh}{{Df{n{l}}}Dd}{Dj{{Bf{Bd}}}}99{Df{{B`{l}}}}{Df{{F`{{En{j}}}}}}???{cj{}}000{Dd{{Bb{l}}}}{c{{Af{e}}}{}{}}{Fb{{Af{DdFd}}}}{{{n{l}}}{{Af{DdEd}}}}21{{{n{l}}}{{Af{Dbc}}}{}}{{{B`{l}}}{{Af{Dbc}}}{}}44{{{n{l}}}{{Af{Dfc}}}{}}5{c{{El{Df}}}{{A`{{n{l}}}}}}66666{cBh{}}0000{{Db{n{l}}Dd}{{Af{fE`}}}}{ce{}{}}0000````````{{FfFh}f}{{FjFh}f}22222222{FfFf}{FjFj}{FhFh}{FlFl}{{ce}f{}{}}000{{FfFf}C`}{{FjFj}C`}{{FlFl}C`}{{}Fj}{{}Fh}{Flc{}}{c{{Af{Ff}}}Cb}{c{{Af{Fj}}}Cb}{c{{Af{Fh}}}Cb}{c{{Af{Fl}}}Cb}{Ff{{`{{Gb{}{{Fn{G`}}}}}}}}`{{FfFf}h}{{FjFj}h}{{FhFh}h}{{FlFl}h}{{FfAb}Aj}{{FjAb}Aj}{{FhAb}Aj}0{{FlAb}Aj}0{cc{}}{{{Gd{Db{Bf{Fl}}{n{G`}}}}}Ff}{GfFf}{GhFf}333{GjFl}{{Db{Bf{Fl}}c}Ff{{Gl{}{{Fn{G`}}}}}}{An{{Af{Fhc}}}{}}{An{{Af{Flc}}}{}}{{Flc}fCl}`{ce{}{}}000{Fjh}{DbFf}`{{FfFf}{{Bf{C`}}}}{{FjFj}{{Bf{C`}}}}{{FlFl}{{Bf{C`}}}}{Ff{{Bf{Fl}}}}`{{Ffc}AfCn}{{Fjc}AfCn}{{Fhc}AfCn}{{Flc}AfCn}::::{cj{}}0{c{{Af{e}}}{}{}}0000000{cBh{}}000===={{Ffc}Ff{{Gl{}{{Fn{G`}}}}}}{{FfFl}Ff}``````??????{GnGn}{H`H`}{HbHb}{{ce}f{}{}}00{{H`H`}C`}{{HbHb}C`}{{GnFl}h}{{}Hb}{{FlHd}Gn}{c{{Af{H`}}}Cb}{c{{Af{Hb}}}Cb}{{}Gn}{{GnGn}h}{{H`H`}h}{{HbHb}h}{{GnAb}Aj}0{{H`Ab}Aj}0{{HbAb}Aj}{cc{}}00{e{{El{Gn}}}{{Hh{{Hf{H`}}}}}{{Gl{}{{Fn{c}}}}}}{FlGn}{{GnFl}{{Bf{{Hf{H`}}}}}}{ce{}{}}00{Gnh}{GnCh}{Gn{{`{{Gb{}{{Fn{{Hf{H`}}}}}}}}}}{{H`H`}{{Bf{C`}}}}{{HbHb}{{Bf{C`}}}}``{{H`c}AfCn}{{Hbc}AfCn}``777{cj{}}0{c{{Af{e}}}{}{}}00000{cBh{}}00`{Gn{{`{{Gb{}{{Fn{Fl}}}}}}}};;;`````````;;;;;;{HjHj}{GhGh}{{ce}f{}{}}0{An{{Af{HlHn}}}}{c{{El{Hj}}}Cb}{c{{El{Gh}}}Cb}{{HjHj}h}{{GhGh}h}{{HjAb}Aj}0{{GhAb}Aj}0{{HnAb}Aj}0{HjBl}{cc{}}{FfGh}1{I`Hn}{dHn}3{{{n{l}}}{{Af{HlHn}}}}{{{n{l}}}{{Af{HjHn}}}}{{{n{l}}}{{Af{GhHn}}}}{An{{El{Hjc}}}{}}{An{{El{Ghc}}}{}}{HjBj}{ce{}{}}00{Hj{{Gd{FfBjBl}}}}{{FfBjBl}{{El{Hj}}}};{HjFf}{GhFf}{Hjh}{Hlj}{{Hjc}ElCn}{{Ghc}ElCn}{Hn{{Bf{Bd}}}}{Hl{{Bb{l}}}}{Hj{{Bb{l}}}}{Gh{{Bb{l}}}}<<{cj{}}00{c{{Af{e}}}{}{}}00000{cBh{}}00???`","D":"AFh","p":[[6,"DecodeKind",6,547],[5,"DecodeError",6,547],[1,"unit"],[1,"bool"],[5,"String",548],[1,"u8"],[1,"slice"],[10,"AsRef",549],[5,"Formatter",550],[5,"Error",550],[6,"Result",551],[6,"HexOrBase32ParseError",6],[8,"Result",550],[6,"FromHexError",552],[1,"str"],[1,"array"],[5,"Vec",553],[10,"Error",554],[6,"Option",555],[5,"TypeId",556],[5,"Hash",67],[6,"BlobFormat",67],[5,"HashAndFormat",67],[6,"Ordering",557],[10,"Deserializer",558],[1,"char"],[10,"FromIterator",559],[1,"usize"],[5,"Hash",560],[10,"Hasher",561],[10,"Serializer",562],[5,"TypeName",563],[5,"PublicKey",165],[5,"Signature",165,564],[5,"SecretKey",165],[5,"SharedSecret",165,565],[6,"KeyParsingError",165],[5,"InternalSignature",566],[5,"VerifyingKey",567],[8,"SignatureError",568],[5,"SigningKey",569],[5,"Error",570],[10,"CryptoRngCore",571],[10,"Sized",572],[10,"Buffer",573],[8,"Result",574],[5,"Zeroizing",575],[8,"Result",576],[5,"Signature",577],[6,"Error",576],[5,"NodeAddr",296],[6,"AddrInfoOptions",296],[5,"AddrInfo",296],[5,"RelayUrl",296,578],[17,"Item"],[6,"SocketAddr",579],[10,"Iterator",580],[1,"tuple"],[8,"NodeId",165],[5,"NodeTicket",470,581],[5,"Url",582],[10,"IntoIterator",559],[5,"RelayMap",397],[5,"RelayNode",397],[5,"QuicConfig",397],[1,"u16"],[5,"Arc",583],[10,"Into",549],[5,"BlobTicket",470,584],[10,"Ticket",470],[6,"Error",470],[6,"Error",585],[15,"Kind",546]],"r":[[7,547],[8,547],[170,586],[173,565],[174,564],[303,578],[402,578],[470,584],[475,581]],"b":[[28,"impl-Debug-for-DecodeKind"],[29,"impl-Display-for-DecodeKind"],[30,"impl-Debug-for-DecodeError"],[31,"impl-Display-for-DecodeError"],[32,"impl-Display-for-HexOrBase32ParseError"],[33,"impl-Debug-for-HexOrBase32ParseError"],[38,"impl-From%3CFromHexError%3E-for-HexOrBase32ParseError"],[39,"impl-From%3CDecodeError%3E-for-HexOrBase32ParseError"],[73,"impl-Value-for-Hash"],[74,"impl-Hash"],[77,"impl-Borrow%3C%5Bu8;+32%5D%3E-for-Hash"],[78,"impl-Borrow%3C%5Bu8%5D%3E-for-Hash"],[106,"impl-Display-for-Hash"],[107,"impl-Debug-for-Hash"],[108,"impl-Display-for-BlobFormat"],[109,"impl-Debug-for-BlobFormat"],[110,"impl-Display-for-HashAndFormat"],[111,"impl-Debug-for-HashAndFormat"],[114,"impl-From%3C%26%5Bu8;+32%5D%3E-for-Hash"],[115,"impl-From%3CHash%3E-for-Hash"],[116,"impl-From%3C%5Bu8;+32%5D%3E-for-Hash"],[120,"impl-Value-for-Hash"],[121,"impl-Hash"],[202,"impl-Debug-for-Signature"],[203,"impl-LowerHex-for-Signature"],[204,"impl-UpperHex-for-Signature"],[205,"impl-Display-for-Signature"],[206,"impl-Display-for-PublicKey"],[207,"impl-Debug-for-PublicKey"],[208,"impl-Debug-for-KeyParsingError"],[209,"impl-Display-for-KeyParsingError"],[210,"impl-Debug-for-SecretKey"],[211,"impl-Display-for-SecretKey"],[215,"impl-From%3C%5Bu8;+ed25519::::SignatureBytes::%7Bconstant%230%7D%5D%3E-for-Signature"],[216,"impl-From%3C%26%5Bu8;+ed25519::::SignatureBytes::%7Bconstant%230%7D%5D%3E-for-Signature"],[217,"impl-From%3CInternalSignature%3E-for-Signature"],[220,"impl-From%3CHexOrBase32ParseError%3E-for-KeyParsingError"],[222,"impl-From%3CError%3E-for-KeyParsingError"],[224,"impl-From%3C%5Bu8;+32%5D%3E-for-SecretKey"],[225,"impl-From%3CSigningKey%3E-for-SecretKey"],[256,"impl-Signature"],[257,"impl-SignatureEncoding-for-Signature"],[269,"impl-TryFrom%3CSignature%3E-for-Signature"],[270,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-Signature"],[272,"impl-TryFrom%3C%26Signature%3E-for-Signature"],[273,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey"],[274,"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey"],[340,"impl-Debug-for-AddrInfoOptions"],[341,"impl-Display-for-AddrInfoOptions"],[342,"impl-Debug-for-RelayUrl"],[343,"impl-Display-for-RelayUrl"],[345,"impl-From%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[346,"impl-From%3CPublicKey%3E-for-NodeAddr"],[347,"impl-From%3CNodeTicket%3E-for-NodeAddr"],[426,"impl-Debug-for-RelayMap"],[427,"impl-Display-for-RelayMap"],[428,"impl-Display-for-RelayNode"],[429,"impl-Debug-for-RelayNode"],[494,"impl-Debug-for-BlobTicket"],[495,"impl-Display-for-BlobTicket"],[496,"impl-Debug-for-NodeTicket"],[497,"impl-Display-for-NodeTicket"],[498,"impl-Debug-for-Error"],[499,"impl-Display-for-Error"],[504,"impl-From%3CError%3E-for-Error"],[505,"impl-From%3CDecodeError%3E-for-Error"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAG8BMgABAAAABgAAABAACwAdAAUAJwABADIAEQBKAAAATAAkAHMAAgB5AAAAewAFAIoAAgCOAAIAkgATALEAIwDYAAIA3AABAN8AAADhAAEA6AACAO0AAAD0AAAA+QACAAABAAACAQAABQEGAA0BCgAZAQkAJAEEADMBGQBPAQkAWgEBAGABAABiAQIAbQECAHIBGQCUAQ0AowEAAKUBAQCoAQcAvAECAMABAQDEAQ0A1AECAOABCQDrAQkA+QEBAP0BAwAMAgIAEAITAA=="}],\ +["iroh_dns_server",{"t":"FNNNNNCCNNNNCNNNCNNNCCNNNNNNGFPPFFFNOONNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNOONNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNOFFFFNNNNONNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNOOOOONNNNNNNNNNNNNNNNNNNNNNNNGPFFFPPGPPPNNNNOONNNNNNNNNNONNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFNNNNNNOOOOOONNNOOOOHNNNOOOOOONNNNNFNNNNNHNNNNNNFNNNNNONNNONNNNN","n":["ZoneStore","__clone_box","borrow","borrow_mut","clone","clone_into","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","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","data_dir","default","default","default","default","deserialize","deserialize","deserialize","deserialize","deserialize","disabled","disabled","dns","enabled","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from_ref","http","https","into","into","into","into","into","load","mainline","metrics","pkarr_put_rate_limit","serialize","serialize","serialize","serialize","serialize","signed_packet_store_path","to_owned","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","zone_store","DnsConfig","DnsHandler","DnsServer","Handle","__clone_box","__clone_box","__clone_box","answer_request","bind_addr","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","default_soa","default_ttl","deserialize","fmt","fmt","fmt","from","from","from","from","from_ref","from_ref","from_ref","handle_request","into","into","into","into","local_addr","new","origins","port","rr_a","rr_aaaa","rr_ns","run_until_done","send_response","serialize","shutdown","spawn","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","CertMode","Disabled","HttpConfig","HttpServer","HttpsConfig","LetsEncrypt","Manual","RateLimitConfig","SelfSigned","Simple","Smart","__clone_box","__clone_box","__clone_box","__clone_box","bind_addr","bind_addr","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","cert_mode","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","default","default","deserialize","deserialize","deserialize","deserialize","domains","eq","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from_ref","from_ref","from_ref","from_ref","http_addr","https_addr","into","into","into","into","into","letsencrypt_contact","letsencrypt_prod","port","port","run_until_done","serialize","serialize","serialize","serialize","shutdown","spawn","to_owned","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","Metrics","__clone_box","borrow","borrow_mut","clone","clone_into","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","dns_handler","from","from_ref","into","store","to_owned","try_from","try_into","type_id","vzip"],"q":[[0,"iroh_dns_server"],[28,"iroh_dns_server::config"],[114,"iroh_dns_server::dns"],[186,"iroh_dns_server::http"],[290,"iroh_dns_server::metrics"],[325,"iroh_dns_server::server"],[338,"iroh_dns_server::state"],[354,"dyn_clone::sealed"],[355,"iroh_dns_server::store"],[356,"core::fmt"],[357,"pkarr::signed_packet"],[358,"core::option"],[359,"anyhow"],[360,"std::path"],[361,"core::convert"],[362,"hickory_proto::rr::domain::name"],[363,"hickory_proto::rr::record_type"],[364,"hickory_proto::rr::rr_set"],[365,"alloc::sync"],[366,"core::result"],[367,"core::any"],[368,"serde::de"],[369,"serde::ser"],[370,"hickory_server::server::request_handler"],[371,"bytes::bytes"],[372,"core::future::future"],[373,"alloc::boxed"],[374,"core::pin"],[375,"hickory_server::server::response_handler"],[376,"core::net::socket_addr"],[377,"hickory_server::authority::message_response"],[378,"hickory_proto::rr::resource"],[379,"core::iter::traits::iterator"],[380,"core::marker"],[381,"iroh_dns_server::http::rate_limiting"],[382,"iroh_dns_server::http::tls"],[383,"alloc::string"],[384,"alloc::vec::into_iter"]],"i":[0,3,3,3,3,3,0,0,3,3,3,3,0,3,3,3,0,3,3,3,0,0,3,3,3,3,3,3,0,0,18,18,0,0,0,19,24,22,21,19,24,22,18,21,19,24,22,18,19,19,21,21,19,22,18,21,19,24,22,18,24,24,21,22,21,19,24,22,18,21,19,24,22,18,19,21,21,21,19,24,22,18,21,21,21,21,21,19,24,22,18,21,19,21,19,24,22,18,21,19,24,22,18,21,19,24,22,18,21,19,24,22,18,21,0,0,0,0,29,26,30,26,29,35,29,26,30,35,29,26,30,29,26,30,29,26,30,29,29,29,29,26,30,35,29,26,30,29,26,30,26,35,29,26,30,35,26,29,29,29,29,29,35,30,29,35,35,29,26,30,35,29,26,30,35,29,26,30,35,29,26,30,35,29,26,30,0,42,0,0,0,43,43,0,43,42,42,42,43,44,45,44,45,47,42,43,44,45,47,42,43,44,45,45,42,43,44,45,42,43,44,45,42,42,42,43,44,45,45,43,43,43,43,42,43,43,44,45,47,42,43,44,45,42,43,44,45,47,47,47,42,43,44,45,45,45,44,45,47,42,43,44,45,47,47,42,43,44,45,43,47,42,43,44,45,47,42,43,44,45,47,42,43,44,45,47,42,43,44,45,0,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,50,50,50,50,0,55,55,55,55,55,0,55,55,55,55,55,55,0,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48],"f":"`{{cb}d{}}{ce{}{}}0{ff}{{ce}d{}{}}``{{fh}j}{cc{}}0````4``````4{c{{B`{e}}}{}{}}0{cBb{}}6{{fBd}f}```````8``7777777777{BfBf}6{{}{{A`{Bh}}}}{{}Bj}{{}Bf}{{}Bl}{{}Bd}{c{{B`{Bj}}}Bn}{c{{B`{Bf}}}Bn}{c{{B`{C`}}}Bn}{c{{B`{Bl}}}Bn}{c{{B`{Bd}}}Bn}{{}C`}```{{Bjh}j}{{Bfh}j}{{C`h}j}{{Blh}j}{{Bdh}j}{cc{}}00000``{ce{}{}}0000{c{{A`{Bj}}}{{Af{Ad}}}}```{{Bjc}B`Cb}{{Bfc}B`Cb}{{C`c}B`Cb}{{Blc}B`Cb}{{Bdc}B`Cb}{{}{{A`{Bh}}}}7{c{{B`{e}}}{}{}}000000000{cBb{}}000099999`````{{cb}d{}}00{{CdCf}{{A`{Ch}}}}`;;;;;;;;{CjCj}{CdCd}{ClCl}{{ce}d{}{}}00``{c{{B`{Cj}}}Bn}{{Cjh}j}{{Cdh}j}{{Clh}j}{cc{}}000000{{CdCfc}{{Db{{D`{Cn}}}}}Dd}{ce{}{}}000{DfDh}{{fCj}{{A`{Cd}}}}`````{Df{{A`{d}}}}{{Cl{Dj{cegi}}}{{Db{{D`{Cn}}}}}{{E`{}{{Dl{Dn}}}}Eb}{{E`{}{{Dl{Dn}}}}Eb}{{E`{}{{Dl{Dn}}}}Eb}{{E`{}{{Dl{Dn}}}}Eb}}{{Cjc}B`Cb}2{{CjCd}{{A`{Df}}}}666{c{{B`{e}}}{}{}}0000000{cBb{}}0008888```````````{{cb}d{}}000``9999999999`{EdEd}{EfEf}{EhEh}{EjEj}{{ce}d{}{}}000{{}Ed}0{c{{B`{Ed}}}Bn}{c{{B`{Ef}}}Bn}{c{{B`{Eh}}}Bn}{c{{B`{Ej}}}Bn}`{{EfEf}Ab}{{ce}Ab{}{}}00{{Edh}j}{{Efh}{{B`{dEl}}}}{{Efh}j}{{Ehh}j}{{Ejh}j}{cc{}}00000000{En{{n{Dh}}}}0{ce{}{}}0000````{En{{A`{d}}}}{{Edc}B`Cb}{{Efc}B`Cb}{{Ehc}B`Cb}{{Ejc}B`Cb}4{{{n{Eh}}{n{Ej}}EdF`}{{A`{En}}}}6666{cFb{}}{c{{B`{e}}}{}{}}000000000{cBb{}}000099999`{{cb}d{}}::{FdFd}{{ce}d{}{}}{{}Fd}``````{{Fdh}j}{cc{}}0````{{}d}{ce{}{}}{Fd{{Fl{{Fj{FfFh}}}}}}{{}Ff}``````2;;:2`2242{Fn{{A`{d}}}}{Bj{{A`{d}}}}1{{Bjf}{{A`{Fn}}}}>>=5`<55{F`F`};`886`6??>6","D":"Oj","p":[[5,"Private",354],[1,"unit"],[5,"ZoneStore",0,355],[5,"Formatter",356],[8,"Result",356],[5,"SignedPacket",357],[6,"Option",358],[8,"Result",359],[1,"bool"],[5,"Path",360],[10,"AsRef",361],[5,"Name",362],[6,"RecordType",363],[5,"RecordSet",364],[5,"Arc",365],[6,"Result",366],[5,"TypeId",367],[6,"BootstrapOption",28],[5,"StoreConfig",28],[5,"PathBuf",360],[5,"Config",28],[5,"MainlineConfig",28],[10,"Deserializer",368],[5,"MetricsConfig",28],[10,"Serializer",369],[5,"DnsHandler",114],[5,"Request",370],[5,"Bytes",371],[5,"DnsConfig",114],[5,"Handle",114],[10,"Future",372],[5,"Box",373],[5,"Pin",374],[10,"ResponseHandler",375],[5,"DnsServer",114],[6,"SocketAddr",376],[5,"MessageResponse",377],[17,"Item"],[5,"Record",378],[10,"Iterator",379],[10,"Send",380],[6,"RateLimitConfig",186,381],[6,"CertMode",186,382],[5,"HttpConfig",186],[5,"HttpsConfig",186],[5,"Error",356],[5,"HttpServer",186],[5,"AppState",338],[5,"String",383],[5,"Metrics",290],[1,"str"],[10,"Any",367],[1,"tuple"],[5,"IntoIter",384],[5,"Server",325]],"r":[[0,355],[186,382],[193,381]],"b":[[222,"impl-Default-for-RateLimitConfig"],[223,"impl-Default-for-%26RateLimitConfig"],[234,"impl-Display-for-CertMode"],[235,"impl-Debug-for-CertMode"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAOUAIAACAAQACQAAAAsAAAAXAAQAJAAAACcACwA0AAgAQQAEAEsAAABXAAQAXQAUAHcAAgB8AA0AjAADAJQAAwCkAAEAqAASAMYAAwDMAAkA1wANAOYACAD0AAMABAEDAAoBGAAkAQwAMgEEADkBDABHAQEATwEDAFQBBABbAQAAXgEEAA=="}],\ ["iroh_net_bench",{"t":"FGGGPPPFPPPPNNNNNNNNNNNNNNNNHONNNNNNNNNNHNONNNNNNNNNNNNNNNONNNNNCOONCOHCCNOONNNNNNNNNNNNNNNNNNNNNONNNNNOSHHHHHHSHHHHHHFNNNNNNNNNNNNNNNNNNNNNNNFFFONNNNNNOOOONNOONNNNNNNNNNNONOOOHOOONNNNNNOONNNNNN","n":["ClientStats","Commands","ConnectionSelector","EndpointSelector","Iroh","Iroh","Iroh","Opt","Quinn","Quinn","Quinn","S2n","__clone_box","__clone_box","augment_args","augment_args_for_update","augment_subcommands","augment_subcommands_for_update","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","client_handler","clients","clone","clone","clone_into","clone_into","close","close","command","command","command_for_update","command_for_update","configure_tracing_subscriber","default","download_size","fmt","fmt","from","from","from","from","from","from_arg_matches","from_arg_matches","from_arg_matches_mut","from_arg_matches_mut","from_ref","from_ref","group_id","has_subcommand","initial_mtu","into","into","into","into","into","iroh","max_streams","metrics","print","quinn","read_unordered","rt","s2n","stats","stats","stats","streams","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","update_from_arg_matches","update_from_arg_matches","update_from_arg_matches_mut","update_from_arg_matches_mut","upload_size","vzip","vzip","vzip","vzip","vzip","with_relay","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","command","command_for_update","fmt","from","from_arg_matches","from_arg_matches_mut","from_ref","group_id","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","borrow","borrow_mut","borrow_mut","borrow_mut","chunk_size","chunk_time","chunks","chunks","default","default","duration","duration_hist","fmt","fmt","fmt","from","from","from","into","into","into","new","print","size","stream_finished","stream_stats","streams","throughput","throughput_bps","throughput_hist","total_duration","total_size","try_from","try_from","try_from","try_into","try_into","try_into","ttfb","ttfb_hist","type_id","type_id","type_id","vzip","vzip","vzip"],"q":[[0,"iroh_net_bench"],[104,"iroh_net_bench::iroh"],[111,"iroh_net_bench::quinn"],[118,"iroh_net_bench::s2n"],[142,"iroh_net_bench::stats"],[194,"dyn_clone::sealed"],[195,"clap_builder::builder::command"],[196,"anyhow"],[197,"core::fmt"],[198,"clap_builder::parser::matches::arg_matches"],[199,"clap_builder"],[200,"core::result"],[201,"clap_builder::util::id"],[202,"core::option"],[203,"tokio::runtime::runtime"],[204,"core::any"],[205,"iroh_base::node_addr"],[206,"iroh_base::relay_url"],[207,"iroh::endpoint"],[208,"iroh_quinn::connection"],[209,"iroh_quinn_proto::config"],[210,"core::net::socket_addr"],[211,"iroh_quinn::endpoint"],[212,"core::time"]],"i":[0,0,0,0,4,5,9,0,4,5,9,9,9,6,6,6,9,9,4,5,9,6,7,4,5,9,6,7,0,6,9,6,9,6,4,5,9,6,9,6,0,7,6,9,6,4,5,9,6,7,9,6,9,6,9,6,6,9,6,4,5,9,6,7,0,6,6,7,0,6,0,0,0,5,6,6,9,6,4,5,9,6,7,4,5,9,6,7,4,5,9,6,7,9,6,9,6,6,4,5,9,6,7,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,0,0,0,31,37,38,31,37,38,31,38,38,38,31,37,38,31,38,37,38,31,37,38,31,37,38,31,31,37,31,37,37,37,31,0,38,37,37,37,38,31,37,38,31,31,38,37,38,31,37,38,31],"f":"````````````{{cb}d{}}0{ff}000{ce{}{}}000000000{{hjl}{{A`{n}}}}`{AbAb}{ll}{{ce}d{}{}}0{h{{A`{d}}}}{{jAd{Ah{Af}}}d}{{}f}000{{}d}{{}n}`{{AbAj}Al}{{lAj}Al}{cc{}}0000{An{{Bb{AbB`}}}}{An{{Bb{lB`}}}}1022{{}{{Bf{Bd}}}}{BhBj}`{ce{}{}}0000```{{nBl}d}``{{}Bn}``{jd}``33{c{{Bb{e}}}{}{}}000000000{cC`{}}0000{{AbAn}{{Bb{dB`}}}}{{lAn}{{Bb{dB`}}}}10`77777``{{Cb{Bf{Cd}}l}{{A`{n}}}}{{Cb{Bf{Cd}}l}{{A`{{Cj{CfCh}}}}}}{{ChClBj}{{A`{{Cj{CnCn}}}}}}{{Cfl}{{A`{d}}}}{{Bn{Bf{Cd}}l}{{Cj{CbCf}}}}{{BlD`}Db}`{{Ddl}{{A`{n}}}}{{Ddl}{{A`{{Cj{DfCh}}}}}}5{{Dfl}{{A`{d}}}}{{Bnl}{{Cj{DdDf}}}}4`{{cb}d{}}{ff}0{ce{}{}}0{DhDh}{{ce}d{}{}}{{}f}0{{DhAj}Al}{cc{}}{An{{Bb{DhB`}}}}01{{}{{Bf{Bd}}}}77{c{{Bb{e}}}{}{}}0{cC`{}}{{DhAn}{{Bb{dB`}}}}0:````::::::````{{}Dj}{{}Dl}``{{DjAj}Al}{{DlAj}Al}{{CnAj}Al}:::???{{DnClDnCl}Cn}{{DjBh}d}`{{DjCn}d}```{{DnCl}E`}```;;;;;;``:::{ce{}{}}00","D":"Dj","p":[[5,"Private",194],[1,"unit"],[5,"Command",195],[6,"EndpointSelector",0],[6,"ConnectionSelector",0],[5,"Opt",0],[5,"ClientStats",0],[8,"Result",196],[6,"Commands",0],[1,"u32"],[1,"u8"],[1,"slice"],[5,"Formatter",197],[8,"Result",197],[5,"ArgMatches",198],[8,"Error",199],[6,"Result",200],[5,"Id",201],[6,"Option",202],[1,"str"],[1,"bool"],[1,"usize"],[5,"Runtime",203],[5,"TypeId",204],[5,"NodeAddr",205],[5,"RelayUrl",206],[5,"Endpoint",207],[5,"Connection",208],[1,"tuple"],[1,"u64"],[5,"TransferResult",142],[1,"u16"],[5,"TransportConfig",209],[6,"SocketAddr",210],[5,"Endpoint",211],[5,"Opt",118],[5,"Stats",142],[5,"StreamStats",142],[5,"Duration",212],[1,"f64"]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAJ0AEQAAABwAHwALACwAAQAzAAcAQQAAAEQAAQBHAAMATQAUAGMABABpAAAAbAAAAG8AAQBzAAAAdgALAIMAAwCIABsAqgAYAA=="}],\ ["iroh_net_report",{"t":"FFFFFNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOONNNNNOOOONNOONNHOOONOOOOOOOOOONNNNNNNNNNNNNNNNNNNNONNNNN","n":["Addr","Client","Metrics","RelayLatencies","Report","addr","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","captive_portal","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","default","default","default","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","get_report","get_report_channel","global_v4","global_v6","hair_pinning","icmpv4","icmpv6","into","into","into","into","into","ipv4","ipv4_can_send","ipv6","ipv6_can_send","iter","iter","mapping_varies_by_dest_ip","mapping_varies_by_dest_ipv6","name","new","os_has_ipv6","os_has_ipv6","portmap_probe","preferred_relay","receive_stun_packet","relay_latency","relay_v4_latency","relay_v6_latency","reports","reports_full","stun_packets_dropped","stun_packets_recv_ipv4","stun_packets_recv_ipv6","stun_packets_sent_ipv4","stun_packets_sent_ipv6","to_owned","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","udp","vzip","vzip","vzip","vzip","vzip"],"q":[[0,"iroh_net_report"],[110,"iroh_net_report::metrics"],[111,"core::fmt"],[112,"iroh_base::relay_map"],[113,"netwatch::udp"],[114,"alloc::sync"],[115,"core::option"],[116,"anyhow"],[117,"tokio::sync::oneshot"],[118,"core::any"],[119,"alloc::vec::into_iter"],[120,"iroh_base::relay_url"],[121,"core::time"],[122,"core::iter::traits::iterator"],[123,"portmapper"],[124,"hickory_resolver::async_resolver"],[125,"bytes::bytes"],[126,"core::net::socket_addr"],[127,"alloc::string"],[128,"core::result"]],"i":[0,0,0,0,0,1,3,4,5,1,2,3,4,5,1,2,4,3,4,5,2,3,4,5,2,3,4,5,4,5,4,4,4,5,5,5,3,4,4,5,1,2,3,4,5,1,2,1,1,4,4,4,4,4,3,4,5,1,2,4,4,4,4,3,5,4,4,3,1,0,4,4,4,2,4,4,4,3,3,3,3,3,3,3,3,4,5,2,4,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,4,3,4,5,1,2],"f":"`````{bd}{ce{}{}}000000000`{ff}{hh}{jj}{dd}{{ce}l{}{}}000{{}f}{{}h}{{}j}{{hh}n}{{jj}n}{{ce}n{}{}}00000{{fA`}Ab}{{hA`}Ab}0{{jA`}Ab}{{bA`}Ab}{{dA`}Ab}{cc{}}0000{{bAd{Aj{{Ah{Af}}}}{Aj{{Ah{Af}}}}}{{Al{{Ah{h}}}}}}{{bAd{Aj{{Ah{Af}}}}{Aj{{Ah{Af}}}}}{{Al{{An{{Al{{Ah{h}}}}}}}}}}`````{ce{}{}}0000````{f{{Bf{{Bd{B`Bb}}}}}}{j{{`{{Bn{}{{Bh{{Bd{BjBl}}}}}}}}}}``{{}B`}{{{Aj{C`}}Cb}{{Al{b}}}}{{}n}```{{dCdCf}l}``````````6666{cCh{}}{c{{Cj{e}}}{}{}}000000000{cCl{}}0000`99999","D":"Ed","p":[[5,"Client",0],[5,"Addr",0],[5,"Metrics",0,110],[5,"Report",0],[5,"RelayLatencies",0],[1,"unit"],[1,"bool"],[5,"Formatter",111],[8,"Result",111],[5,"RelayMap",112],[5,"UdpSocket",113],[5,"Arc",114],[6,"Option",115],[8,"Result",116],[5,"Receiver",117],[1,"str"],[10,"Any",118],[1,"tuple"],[5,"IntoIter",119],[17,"Item"],[5,"RelayUrl",120],[5,"Duration",121],[10,"Iterator",122],[5,"Client",123],[8,"TokioAsyncResolver",124],[5,"Bytes",125],[6,"SocketAddr",126],[5,"String",127],[6,"Result",128],[5,"TypeId",118]],"r":[[2,110]],"b":[[37,"impl-Debug-for-Report"],[38,"impl-Display-for-Report"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAEQABgAHAAkAEgAYAEAAAABEAAAATgAaAGoABAA="}],\ -["iroh_relay",{"t":"PEEEEPEPPPGPFFPNNNNNNCNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNCNNNNNNNCCNNNNCNNNNNNNNNNNNNNNNOOOOOPPFFGFPPPPPPPPPPPPPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNSSSSSGSSPPNNNNNNNNNNNNNNNNNNCCCSHSPGPPPPPPPPGFPPPPPPPPPPPGFPFPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNNNNNNNNNCHHNHHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNSSSSSSFNNNNNNNNNNNGFPFPGFPFFFFFFPFOOOOOONNNNNNNNNNNNNNNNNNNNNNNNOOOONONNNNNNONNNNOOOOOONNNNNNNNNNNNONNNNNNNNNNNNONONNONNNNNNNNNNNNNOONNOOONNOOONNNNNONOOOOOOOOONNONNCONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNOOOHHHHHH","n":["Health","HttpClient","HttpClientBuilder","HttpClientError","HttpClientReceiver","KeepAlive","MAX_PACKET_SIZE","NodeGone","Ping","Pong","ReceivedMessage","ReceivedPacket","RelayConn","RelayUrl","ServerRestarting","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","client","clone","clone","clone","clone_into","clone_into","clone_into","close","cmp","compare","defaults","deref","deserialize","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","from","from","from_str","hash","http","into","into","into","is_closed","local_addr","note_preferred","partial_cmp","protos","quic","send","send_ping","send_pong","serialize","server","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","data","problem","reconnect_in","remote_node_id","try_for","ActorGone","Build","Client","ClientBuilder","ClientError","ClientReceiver","Closed","ConnectTimeout","DialIO","Dns","Http","Hyper","IPDisabled","InvalidUrl","NoLocalAddr","PingAborted","PingTimeout","Proxy","Receive","Send","UnexpectedStatusCode","Upgrade","WebsocketError","address_family_selector","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","clone","clone_into","close","close_for_reconnect","connect","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","insecure_skip_cert_verify","into","into","into","into","is_connected","is_preferred","is_prober","local_addr","new","note_preferred","ping","protocol","proxy_url","public_key","recv","send","send_pong","server_public_key","server_url","source","to_owned","to_string","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","DEFAULT_HTTPS_PORT","DEFAULT_HTTP_PORT","DEFAULT_METRICS_PORT","DEFAULT_RELAY_QUIC_PORT","DEFAULT_STUN_PORT","Protocol","RELAY_PATH","RELAY_PROBE_PATH","Relay","Websocket","borrow","borrow_mut","clone","clone_into","eq","equivalent","equivalent","equivalent","fmt","from","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","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","cmp","compare","decode","default","default","deref","encode_hex","encode_hex_upper","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","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","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","get_context","hash","into","into","into","into","into","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_owned","to_owned","to_owned","to_string","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","BINDING","RESERVED","SHARED_SECRET","ALPN_QUIC_ADDR_DISC","QUIC_ADDR_DISC_CLOSE_CODE","QUIC_ADDR_DISC_CLOSE_REASON","QuicClient","borrow","borrow_mut","fmt","from","get_addr_and_latency","into","new","try_from","try_into","type_id","vzip","CertConfig","ClientConnRateLimit","LetsEncrypt","Limits","Manual","MaybeTlsStreamServer","Metrics","Plain","QuicConfig","RelayConfig","Server","ServerConfig","StunConfig","StunMetrics","Tls","TlsConfig","accept_conn_burst","accept_conn_limit","accepts","bad_requests","bind_addr","bind_addr","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","bytes_per_second","bytes_recv","bytes_sent","cert","certificates","client_rx","clone","clone","clone","clone_into","clone_into","clone_into","conns_rx_ratelimited_total","default","default","default","default","derp_accepts","disco_packets_dropped","disco_packets_recv","disco_packets_sent","disconnects","failures","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","frames_rx_ratelimited_total","from","from","from","from","from","from","from","from","from","from","from","from","got_ping","http_addr","http_bind_addr","http_url","https_addr","https_bind_addr","https_url","into","into","into","into","into","into","into","into","into","into","into","into","ipv4_success","ipv6_success","iter","iter","limits","max_burst_bytes","metrics_addr","name","name","other_packets_dropped","other_packets_recv","other_packets_sent","poll_flush","poll_read","poll_shutdown","poll_write","poll_write_vectored","quic","quic_addr","quic_bind_addr","relay","requests","send_packets_dropped","send_packets_recv","send_packets_sent","sent_pong","server_config","server_config","shutdown","spawn","stun","stun_addr","task_handle","testing","tls","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","unique_client_keys","unknown_frames","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","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"],[83,"iroh_relay::ReceivedMessage"],[88,"iroh_relay::client"],[178,"iroh_relay::defaults"],[183,"iroh_relay::http"],[206,"iroh_relay::protos"],[209,"iroh_relay::protos::disco"],[211,"iroh_relay::protos::relay"],[212,"iroh_relay::protos::stun"],[411,"iroh_relay::protos::stun::methods"],[414,"iroh_relay::quic"],[429,"iroh_relay::server"],[631,"iroh_relay::server::CertConfig"],[633,"iroh_relay::server::testing"],[639,"iroh_base::relay_url"],[640,"iroh_relay::client::conn"],[641,"core::cmp"],[642,"core::result"],[643,"serde::de"],[644,"core::fmt"],[645,"url"],[646,"core::hash"],[647,"core::net::socket_addr"],[648,"core::option"],[649,"anyhow"],[650,"iroh_base::key"],[651,"bytes::bytes"],[652,"serde::ser"],[653,"alloc::string"],[654,"core::any"],[655,"futures_lite::future"],[656,"core::ops::function"],[657,"core::marker"],[658,"hickory_resolver::async_resolver"],[659,"hyper::error"],[660,"std::io::error"],[661,"http::error"],[662,"tokio_tungstenite_wasm::error"],[663,"core::convert"],[664,"core::time"],[665,"core::error"],[666,"http::header::value"],[667,"stun_rs::attributes"],[668,"stun_rs::attributes::stun::alternate_server"],[669,"stun_rs::error"],[670,"stun_rs::types"],[671,"stun_rs::attributes::stun::error_code"],[672,"stun_rs::attributes::stun::fingerprint"],[673,"stun_rs::attributes::stun::mapped_address"],[674,"stun_rs::attributes::stun::message_integrity"],[675,"stun_rs::attributes::stun::message_integrity_sha256"],[676,"stun_rs::attributes::stun::nonce"],[677,"stun_rs::attributes::stun::password_algorithm"],[678,"stun_rs::attributes::stun::password_algorithms"],[679,"stun_rs::attributes::stun::realm"],[680,"stun_rs::attributes::stun::software"],[681,"stun_rs::attributes::unknown"],[682,"stun_rs::attributes::stun::unknown_attributes"],[683,"stun_rs::attributes::stun::user_hash"],[684,"stun_rs::attributes::stun::user_name"],[685,"stun_rs::attributes::stun::xor_mapped_address"],[686,"stun_rs::context"],[687,"stun_rs::message"],[688,"core::iter::traits::collect"],[689,"alloc::vec"],[690,"iroh_quinn::endpoint"],[691,"rustls::client::client_conn"],[692,"rustls_pki_types"],[693,"iroh_relay::server::metrics"],[694,"core::default"],[695,"alloc::vec::into_iter"],[696,"core::pin"],[697,"core::task::wake"],[698,"core::task::poll"],[699,"tokio::io::read_buf"],[700,"std::io"],[701,"tokio_util::task::abort_on_drop"],[702,"rustls::server::server_conn"],[703,"iroh_base::relay_map"],[704,"stun_rs"],[705,"stun_rs::methods"]],"i":[3,0,0,0,0,3,0,3,3,3,0,3,0,0,3,1,2,3,1,2,3,0,1,2,3,1,2,3,2,1,1,0,1,1,1,2,1,1,1,2,2,2,1,1,2,3,1,1,2,3,1,1,0,1,2,3,2,2,2,1,0,0,2,2,2,1,0,1,2,3,1,1,2,3,1,2,3,1,2,3,1,2,3,106,107,108,106,108,36,36,0,0,0,0,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,25,36,33,34,25,36,33,34,25,25,33,33,33,33,33,36,36,33,34,25,36,36,36,36,36,33,34,25,25,36,33,34,25,33,25,25,33,25,33,33,25,25,33,34,33,33,25,25,36,33,36,36,33,34,25,36,33,34,25,36,33,34,25,36,33,34,25,0,0,0,0,0,0,0,0,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,0,0,0,0,0,0,48,0,48,69,48,69,75,75,75,48,0,0,48,48,75,48,75,75,48,48,48,69,48,0,0,69,0,48,48,48,48,48,48,51,48,48,48,48,48,48,48,48,48,51,48,48,48,48,48,48,48,68,69,51,48,75,72,68,69,51,48,75,72,68,69,51,48,68,69,51,48,51,51,68,68,51,51,51,51,69,51,69,69,69,51,51,51,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,68,69,51,51,48,75,75,72,72,68,69,51,51,51,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,75,72,68,51,68,69,51,48,75,72,0,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,0,0,0,51,0,0,68,69,51,48,51,75,72,68,69,69,51,48,75,72,68,69,51,48,75,72,68,69,51,48,75,72,68,69,51,48,75,72,0,0,0,0,0,0,0,78,78,78,78,78,78,78,78,78,78,78,0,0,95,0,95,0,0,90,0,0,0,0,0,0,90,0,89,89,83,84,92,93,83,84,90,86,91,92,93,94,89,85,95,81,83,84,90,86,91,92,93,94,89,85,95,81,85,83,83,94,81,89,83,84,85,83,84,85,83,83,84,86,89,83,83,83,83,83,84,83,84,90,86,91,92,93,94,89,85,95,81,83,83,84,90,86,91,92,93,94,89,85,95,81,83,81,91,81,81,94,81,83,84,90,86,91,92,93,94,89,85,95,81,84,84,83,84,91,85,86,83,84,83,83,83,90,90,90,90,90,86,81,94,86,84,83,83,83,83,93,94,81,81,86,81,81,0,91,83,84,85,83,84,90,86,91,92,93,94,89,85,95,81,83,84,90,86,91,92,93,94,89,85,95,81,83,84,90,86,91,92,93,94,89,85,95,81,83,83,83,84,90,86,91,92,93,94,89,85,95,81,83,109,110,0,0,0,0,0,0],"f":"```````````````{ce{}{}}00000`{bb}{dd}{ff}{{ce}h{}{}}00{dh}{{bb}j}{{ce}j{}{}}`{b}{c{{l{b}}}n}{{bb}A`}{{dd}A`}{{ce}A`{}{}}00000{{bAb}{{l{hAd}}}}0{{dAb}Af}{{fAb}Af}{cc{}}{Ahb}11{Aj{{l{b}}}}{{bc}hAl}`{ce{}{}}00{dA`}{d{{B`{An}}}}{{dA`}{{Bb{h}}}}{{bb}{{B`{j}}}}``{{dBdBf}{{Bb{h}}}}{{d{Bj{Bh}}}{{Bb{h}}}}0{{bc}lBl}`777{cBn{}}{c{{l{e}}}{}{}}00000{cC`{}}00:::````````````````````````````{{Cbc}Cb{{Ch{}{{Cd{{Cf{A`}}}}}}CjCl}};;;;;;;;{{CbCnD`}{{Df{DbDd}}}}{DbDb}{{ce}h{}{}}{Db{{l{hDh}}}}0{Db{{l{dDh}}}}{{DhAb}Af}0{{DbAb}Af}{{DdAb}Af}{{CbAb}Af}{DjDh}{DlDh}{cc{}}{DnDh}{E`Dh}222{{CbA`}Cb}{ce{}{}}000{Db{{l{A`Dh}}}}22{Db{{B`{An}}}}{cCb{{Eb{b}}}}{{DbA`}h}{Db{{l{EdDh}}}}{{CbEf}Cb}{{CbAh}Cb}{DbEh}{Dd{{B`{{l{fDh}}}}}}{{DbEhBf}{{l{hDh}}}}{{Db{Bj{Bh}}}{{l{hDh}}}}{{CbEh}Cb}{{Cbc}Cb{{Eb{b}}}}{Dh{{B`{Ej}}}}>{cBn{}}{c{{l{e}}}{}{}}0000000{cC`{}}000{ce{}{}}000``````````00{EfEf}{{ce}h{}{}}{{EfEf}A`}{{ce}A`{}{}}00{{EfAb}Af}{cc{}}6{El{{B`{Ef}}}}7998{EfAj}8````{{{En{Bh}}}A`}`````````````````````````````````{F`{{l{FbFd}}}}{Ff{{Bj{Bh}}}}{F`{{l{FhFd}}}}{F`{{l{FjFd}}}}{F`{{l{FlFd}}}}{F`{{l{FnFd}}}}{F`{{l{G`Fd}}}}{F`{{l{GbFd}}}}{F`{{l{GdFd}}}}{F`{{l{GfFd}}}}{F`{{l{GhFd}}}}{Ff{{En{Bh}}}}{F`{{l{GjFd}}}}{F`{{l{GlFd}}}}{F`{{l{GnFd}}}}{F`{{l{H`Fd}}}}{F`{{l{HbFd}}}}{F`{{l{HdFd}}}}{F`Hf}{ce{}{}}00000000000{HhHh}{HjHj}{FfFf}{F`F`}{{ce}h{}{}}000{{FfFf}j}{{ce}j{}{}}{{Hh{En{Bh}}}{{l{{Df{HlHn}}I`}}}}{{}Hh}{{}Ff}{Ff{{En{Bh}}}}{ce{}{{Id{Ib}}}}0{{HjHj}A`}{{FfFf}A`}{{ce}A`{}{}}00000{F`Fb}{F`Fh}{F`Fj}{F`Fl}{F`Fn}{F`G`}{F`Gb}{F`Gd}{F`Gf}{F`Gh}{F`Gj}{F`Gl}{F`Gn}{F`H`}{F`Hb}{F`Hd}{{HhAb}{{l{hAd}}}}{{HjAb}{{l{hAd}}}}{{FfAb}{{l{hAd}}}}0{{F`Ab}{{l{hAd}}}}{{IfAb}Af}0{{I`Ab}{{l{hAd}}}}0{cc{}}0{{{Bj{Bh}}}Ff}01{G`F`}{FbF`}{HbF`}{FjF`}{GfF`}{GhF`}{HdF`}{GnF`}{FnF`}{GlF`}{GjF`}{FhF`}{FlF`}{GbF`}{GdF`}{cc{}}{H`F`}11{Hh{{B`{Ih}}}}{{Ffc}hAl}{ce{}{}}00000{{{En{Bh}}}A`}{F`A`}000000000000000`{{{En{Bh}}}{{l{FfIf}}}}{{{En{Bh}}}{{l{{Df{FfAn}}If}}}}{{FfFf}{{B`{j}}}}{Ff{{Ij{Bh}}}}{{FfAn}{{Ij{Bh}}}}7777{cBn{}}00{c{{l{e}}}{}{}}0{Bh{{l{Hj}}}}1111111111{cC`{}}00000;;;;;;```````;;{{IlAb}Af}{cc{}}{{IlAnAj}{{Bb{{Df{AnEd}}}}}}>{{InJ`}{{Bb{Il}}}}664?``````````````````````????????????????????????````{Jb{{B`{{Ij{Jd}}}}}}`{JfJf}{JhJh}{JjJj}{{ce}h{}{}}00`{{}Jf}{{}Jh}{{}{{Jl{ce}}}{JnK`}{JnK`}}{{}Kb}``````{{JfAb}Af}{{JhAb}Af}{{KdAb}Af}{{{Jl{ce}}Ab}AfK`K`}{{{Kf{ce}}Ab}AfK`K`}{{KhAb}Af}{{KjAb}Af}{{{Kl{ce}}Ab}AfK`K`}{{KbAb}Af}{{JjAb}Af}{{{Kn{ce}}Ab}AfK`K`}{{JbAb}Af}`{cc{}}00000000000`{Jb{{B`{An}}}}`{Jb{{B`{b}}}}1`0{ce{}{}}00000000000``{Jf{{Lb{{Df{AjL`}}}}}}{Jh{{Lb{{Df{AjL`}}}}}}```{{}Aj}0```{{{Ld{Kd}}Lf}{{Lh{{l{hDl}}}}}}{{{Ld{Kd}}LfLj}{{Lh{{Ll{h}}}}}}1{{{Ld{Kd}}Lf{En{Bh}}}{{Lh{{l{HnDl}}}}}}{{{Ld{Kd}}Lf{En{Ln}}}{{Lh{{l{HnDl}}}}}}`9`````````{Jb{{Bb{h}}}}{{{Jl{ce}}}{{Bb{Jb}}}K`K`}`;{Jb{{M`{{Bb{h}}}}}}``:::{c{{l{e}}}{}{}}00000000000000000000000{cC`{}}00000000000``<<<<<<<<<<<<```{{}Kj}{{}{{Kf{h}}}}{{}{{Df{{Ij{Jd}}Mb}}}}{{}{{Jl{h}}}}{{}Kh}{{}{{Kl{h}}}}","D":"BHj","p":[[5,"RelayUrl",0,639],[5,"RelayConn",0],[6,"ReceivedMessage",0,640],[1,"unit"],[6,"Ordering",641],[6,"Result",642],[10,"Deserializer",643],[1,"bool"],[5,"Formatter",644],[5,"Error",644],[8,"Result",644],[5,"Url",645],[1,"str"],[10,"Hasher",646],[6,"SocketAddr",647],[6,"Option",648],[8,"Result",649],[8,"NodeId",650],[5,"Bytes",651],[1,"u8"],[1,"array"],[10,"Serializer",652],[5,"String",653],[5,"TypeId",654],[5,"ClientBuilder",88],[17,"Output"],[8,"Boxed",655],[10,"Fn",656],[10,"Send",657],[10,"Sync",657],[5,"SecretKey",650],[8,"TokioAsyncResolver",658],[5,"Client",88],[5,"ClientReceiver",88],[1,"tuple"],[6,"ClientError",88],[5,"Error",659],[5,"Error",660],[5,"Error",661],[6,"Error",662],[10,"Into",663],[5,"Duration",664],[6,"Protocol",183],[5,"PublicKey",650],[10,"Error",665],[5,"HeaderValue",666],[1,"slice"],[6,"StunAttribute",212,667],[5,"AlternateServer",668],[5,"StunError",669],[5,"TransactionId",212,670],[5,"ErrorCode",671],[6,"Fingerprint",672],[5,"MappedAddress",673],[6,"MessageIntegrity",674],[6,"MessageIntegritySha256",675],[5,"Nonce",676],[5,"PasswordAlgorithm",677],[5,"PasswordAlgorithms",678],[5,"Realm",679],[5,"Software",680],[5,"Unknown",681],[5,"UnknownAttributes",682],[5,"UserHash",683],[5,"UserName",684],[5,"XorMappedAddress",685],[5,"AttributeType",667],[5,"MessageDecoder",212,686],[6,"MessageClass",212,687],[5,"StunMessage",687],[1,"usize"],[5,"StunDecodeError",212,669],[1,"char"],[10,"FromIterator",688],[6,"Error",212],[5,"DecoderContext",686],[5,"Vec",689],[5,"QuicClient",414],[5,"Endpoint",690],[5,"ClientConfig",691],[5,"Server",429],[5,"CertificateDer",692],[5,"Metrics",429,693],[5,"StunMetrics",429,693],[5,"ClientConnRateLimit",429],[5,"ServerConfig",429],[10,"Default",694],[10,"Debug",644],[5,"Limits",429],[6,"MaybeTlsStreamServer",429],[5,"RelayConfig",429],[5,"StunConfig",429],[5,"QuicConfig",429],[5,"TlsConfig",429],[6,"CertConfig",429],[10,"Any",654],[5,"IntoIter",695],[5,"Pin",696],[5,"Context",697],[6,"Poll",698],[5,"ReadBuf",699],[8,"Result",660],[5,"IoSlice",700],[5,"AbortOnDropHandle",701],[5,"ServerConfig",702],[15,"ReceivedPacket",83],[15,"Health",83],[15,"ServerRestarting",83],[15,"Manual",631],[15,"LetsEncrypt",631]],"r":[[6,211],[10,640],[13,639],[181,703],[182,703],[222,687],[223,686],[235,667],[236,669],[238,670],[373,704],[411,705],[412,705],[413,705],[435,693],[442,693]],"b":[[42,"impl-Display-for-RelayUrl"],[43,"impl-Debug-for-RelayUrl"],[126,"impl-Display-for-ClientError"],[127,"impl-Debug-for-ClientError"],[131,"impl-From%3CError%3E-for-ClientError"],[132,"impl-From%3CError%3E-for-ClientError"],[134,"impl-From%3CError%3E-for-ClientError"],[135,"impl-From%3CError%3E-for-ClientError"],[317,"impl-Debug-for-TransactionId"],[318,"impl-Display-for-TransactionId"],[320,"impl-Debug-for-Error"],[321,"impl-Display-for-Error"],[322,"impl-Display-for-StunDecodeError"],[323,"impl-Debug-for-StunDecodeError"],[326,"impl-From%3C%5Bu8;+stun_rs::::types::%7Bimpl%2314%7D::%7Bconstant%230%7D%5D%3E-for-TransactionId"],[327,"impl-From%3C%26%5Bu8;+stun_rs::::types::%7Bimpl%2313%7D::%7Bconstant%230%7D%5D%3E-for-TransactionId"],[329,"impl-From%3CMessageIntegritySha256%3E-for-StunAttribute"],[330,"impl-From%3CAlternateServer%3E-for-StunAttribute"],[331,"impl-From%3CUserName%3E-for-StunAttribute"],[332,"impl-From%3CFingerprint%3E-for-StunAttribute"],[333,"impl-From%3CPasswordAlgorithms%3E-for-StunAttribute"],[334,"impl-From%3CRealm%3E-for-StunAttribute"],[335,"impl-From%3CXorMappedAddress%3E-for-StunAttribute"],[336,"impl-From%3CUnknownAttributes%3E-for-StunAttribute"],[337,"impl-From%3CMessageIntegrity%3E-for-StunAttribute"],[338,"impl-From%3CUnknown%3E-for-StunAttribute"],[339,"impl-From%3CSoftware%3E-for-StunAttribute"],[340,"impl-From%3CErrorCode%3E-for-StunAttribute"],[341,"impl-From%3CMappedAddress%3E-for-StunAttribute"],[342,"impl-From%3CNonce%3E-for-StunAttribute"],[343,"impl-From%3CPasswordAlgorithm%3E-for-StunAttribute"],[345,"impl-From%3CUserHash%3E-for-StunAttribute"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAADoBKQACAAMABwAAABAABQAXAAUAHgABACEADQAwAAAAMwABADwAAABCAAAARAAPAHEABwB6AAEAfwAGAIcAAQCgABIAvQAIAMkAAwDOAAAAAAEAAAgBFQAfAQAAIQEKADwBCABHAQEASgEOAFoBAABeAQAAeQEAAHwBHwCjAQIAqgEDAMQBFwDiAQUA6QEDAPMBCwAhAgEAJgIBACsCBABCAiYAawILAA=="}],\ +["iroh_relay",{"t":"PEEEEPEPPPGPFFPNNNNNNCNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNCNNNNNNNCCNNNNCNNNNNNNNNNNNNNNNOOOOOPPFFGFPPPPPPPPPPPPPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNSSSSSGSSPPNNNNNNNNNNNNNNNNNNCCCSHSPGPPPPPPPPGFPPPPPPPPPPPGFPFPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNNNNNNNNNCHHNHHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNSSSSSSFNNNNNNNNNNNGFPFPGFPFFFFFFPFOOOOOONNNNNNNNNNNNNNNNNNNNNNNNOOOONONNNNNNONNNNOOOOOONNNNNNNNNNNNONNNNNNNNNNNNONONNONNNNNNNNNNNNNOONNOOONNOOONNNNNONOOOOOOOOONNONNCONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNOOOHHHHHH","n":["Health","HttpClient","HttpClientBuilder","HttpClientError","HttpClientReceiver","KeepAlive","MAX_PACKET_SIZE","NodeGone","Ping","Pong","ReceivedMessage","ReceivedPacket","RelayConn","RelayUrl","ServerRestarting","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","client","clone","clone","clone","clone_into","clone_into","clone_into","close","cmp","compare","defaults","deref","deserialize","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","from","from","from_str","hash","http","into","into","into","is_closed","local_addr","note_preferred","partial_cmp","protos","quic","send","send_ping","send_pong","serialize","server","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","data","problem","reconnect_in","remote_node_id","try_for","ActorGone","Build","Client","ClientBuilder","ClientError","ClientReceiver","Closed","ConnectTimeout","DialIO","Dns","Http","Hyper","IPDisabled","InvalidUrl","NoLocalAddr","PingAborted","PingTimeout","Proxy","Receive","Send","UnexpectedStatusCode","Upgrade","WebsocketError","address_family_selector","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","clone","clone_into","close","close_for_reconnect","connect","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","insecure_skip_cert_verify","into","into","into","into","is_connected","is_preferred","is_prober","local_addr","new","note_preferred","ping","protocol","proxy_url","public_key","recv","send","send_pong","server_public_key","server_url","source","to_owned","to_string","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","DEFAULT_HTTPS_PORT","DEFAULT_HTTP_PORT","DEFAULT_METRICS_PORT","DEFAULT_RELAY_QUIC_PORT","DEFAULT_STUN_PORT","Protocol","RELAY_PATH","RELAY_PROBE_PATH","Relay","Websocket","borrow","borrow_mut","clone","clone_into","eq","equivalent","equivalent","equivalent","fmt","from","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","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","cmp","compare","decode","default","default","deref","encode_hex","encode_hex_upper","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","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","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","get_context","hash","into","into","into","into","into","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_owned","to_owned","to_owned","to_string","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","BINDING","RESERVED","SHARED_SECRET","ALPN_QUIC_ADDR_DISC","QUIC_ADDR_DISC_CLOSE_CODE","QUIC_ADDR_DISC_CLOSE_REASON","QuicClient","borrow","borrow_mut","fmt","from","get_addr_and_latency","into","new","try_from","try_into","type_id","vzip","CertConfig","ClientConnRateLimit","LetsEncrypt","Limits","Manual","MaybeTlsStreamServer","Metrics","Plain","QuicConfig","RelayConfig","Server","ServerConfig","StunConfig","StunMetrics","Tls","TlsConfig","accept_conn_burst","accept_conn_limit","accepts","bad_requests","bind_addr","bind_addr","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","bytes_per_second","bytes_recv","bytes_sent","cert","certificates","client_rx","clone","clone","clone","clone_into","clone_into","clone_into","conns_rx_ratelimited_total","default","default","default","default","derp_accepts","disco_packets_dropped","disco_packets_recv","disco_packets_sent","disconnects","failures","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","frames_rx_ratelimited_total","from","from","from","from","from","from","from","from","from","from","from","from","got_ping","http_addr","http_bind_addr","http_url","https_addr","https_bind_addr","https_url","into","into","into","into","into","into","into","into","into","into","into","into","ipv4_success","ipv6_success","iter","iter","limits","max_burst_bytes","metrics_addr","name","name","other_packets_dropped","other_packets_recv","other_packets_sent","poll_flush","poll_read","poll_shutdown","poll_write","poll_write_vectored","quic","quic_addr","quic_bind_addr","relay","requests","send_packets_dropped","send_packets_recv","send_packets_sent","sent_pong","server_config","server_config","shutdown","spawn","stun","stun_addr","task_handle","testing","tls","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","unique_client_keys","unknown_frames","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","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"],[83,"iroh_relay::ReceivedMessage"],[88,"iroh_relay::client"],[178,"iroh_relay::defaults"],[183,"iroh_relay::http"],[206,"iroh_relay::protos"],[209,"iroh_relay::protos::disco"],[211,"iroh_relay::protos::relay"],[212,"iroh_relay::protos::stun"],[411,"iroh_relay::protos::stun::methods"],[414,"iroh_relay::quic"],[429,"iroh_relay::server"],[631,"iroh_relay::server::CertConfig"],[633,"iroh_relay::server::testing"],[639,"iroh_base::relay_url"],[640,"iroh_relay::client::conn"],[641,"core::cmp"],[642,"core::result"],[643,"serde::de"],[644,"core::fmt"],[645,"url"],[646,"core::hash"],[647,"core::net::socket_addr"],[648,"core::option"],[649,"anyhow"],[650,"iroh_base::key"],[651,"bytes::bytes"],[652,"serde::ser"],[653,"alloc::string"],[654,"core::any"],[655,"futures_lite::future"],[656,"core::ops::function"],[657,"core::marker"],[658,"hickory_resolver::async_resolver"],[659,"tokio_tungstenite_wasm::error"],[660,"http::error"],[661,"std::io::error"],[662,"hyper::error"],[663,"core::convert"],[664,"core::time"],[665,"core::error"],[666,"http::header::value"],[667,"stun_rs::attributes"],[668,"stun_rs::attributes::stun::alternate_server"],[669,"stun_rs::error"],[670,"stun_rs::types"],[671,"stun_rs::attributes::stun::error_code"],[672,"stun_rs::attributes::stun::fingerprint"],[673,"stun_rs::attributes::stun::mapped_address"],[674,"stun_rs::attributes::stun::message_integrity"],[675,"stun_rs::attributes::stun::message_integrity_sha256"],[676,"stun_rs::attributes::stun::nonce"],[677,"stun_rs::attributes::stun::password_algorithm"],[678,"stun_rs::attributes::stun::password_algorithms"],[679,"stun_rs::attributes::stun::realm"],[680,"stun_rs::attributes::stun::software"],[681,"stun_rs::attributes::unknown"],[682,"stun_rs::attributes::stun::unknown_attributes"],[683,"stun_rs::attributes::stun::user_hash"],[684,"stun_rs::attributes::stun::user_name"],[685,"stun_rs::attributes::stun::xor_mapped_address"],[686,"stun_rs::context"],[687,"stun_rs::message"],[688,"core::iter::traits::collect"],[689,"alloc::vec"],[690,"iroh_quinn::endpoint"],[691,"rustls::client::client_conn"],[692,"rustls_pki_types"],[693,"iroh_relay::server::metrics"],[694,"core::default"],[695,"alloc::vec::into_iter"],[696,"core::pin"],[697,"core::task::wake"],[698,"core::task::poll"],[699,"tokio::io::read_buf"],[700,"std::io"],[701,"tokio_util::task::abort_on_drop"],[702,"rustls::server::server_conn"],[703,"iroh_base::relay_map"],[704,"stun_rs"],[705,"stun_rs::methods"]],"i":[3,0,0,0,0,3,0,3,3,3,0,3,0,0,3,1,2,3,1,2,3,0,1,2,3,1,2,3,2,1,1,0,1,1,1,2,1,1,1,2,2,2,1,1,2,3,1,1,2,3,1,1,0,1,2,3,2,2,2,1,0,0,2,2,2,1,0,1,2,3,1,1,2,3,1,2,3,1,2,3,1,2,3,106,107,108,106,108,36,36,0,0,0,0,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,25,36,33,34,25,36,33,34,25,25,33,33,33,33,33,36,36,33,34,25,36,36,36,36,36,33,34,25,25,36,33,34,25,33,25,25,33,25,33,33,25,25,33,34,33,33,25,25,36,33,36,36,33,34,25,36,33,34,25,36,33,34,25,36,33,34,25,0,0,0,0,0,0,0,0,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,0,0,0,0,0,0,48,0,48,69,48,69,75,75,75,48,0,0,48,48,75,48,75,75,48,48,48,69,48,0,0,69,0,48,48,48,48,48,48,51,48,48,48,48,48,48,48,48,48,51,48,48,48,48,48,48,48,68,69,51,48,75,72,68,69,51,48,75,72,68,69,51,48,68,69,51,48,51,51,68,68,51,51,51,51,69,51,69,69,69,51,51,51,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,68,69,51,51,48,75,75,72,72,68,69,51,51,51,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,75,72,68,51,68,69,51,48,75,72,0,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,0,0,0,51,0,0,68,69,51,48,51,75,72,68,69,69,51,48,75,72,68,69,51,48,75,72,68,69,51,48,75,72,68,69,51,48,75,72,0,0,0,0,0,0,0,78,78,78,78,78,78,78,78,78,78,78,0,0,95,0,95,0,0,90,0,0,0,0,0,0,90,0,89,89,83,84,92,93,83,84,90,86,91,92,93,94,89,85,95,81,83,84,90,86,91,92,93,94,89,85,95,81,85,83,83,94,81,89,83,84,85,83,84,85,83,83,84,86,89,83,83,83,83,83,84,83,84,90,86,91,92,93,94,89,85,95,81,83,83,84,90,86,91,92,93,94,89,85,95,81,83,81,91,81,81,94,81,83,84,90,86,91,92,93,94,89,85,95,81,84,84,83,84,91,85,86,83,84,83,83,83,90,90,90,90,90,86,81,94,86,84,83,83,83,83,93,94,81,81,86,81,81,0,91,83,84,85,83,84,90,86,91,92,93,94,89,85,95,81,83,84,90,86,91,92,93,94,89,85,95,81,83,84,90,86,91,92,93,94,89,85,95,81,83,83,83,84,90,86,91,92,93,94,89,85,95,81,83,109,110,0,0,0,0,0,0],"f":"```````````````{ce{}{}}00000`{bb}{dd}{ff}{{ce}h{}{}}00{dh}{{bb}j}{{ce}j{}{}}`{b}{c{{l{b}}}n}{{bb}A`}{{dd}A`}{{ce}A`{}{}}00000{{bAb}{{l{hAd}}}}0{{dAb}Af}{{fAb}Af}{cc{}}{Ahb}11{Aj{{l{b}}}}{{bc}hAl}`{ce{}{}}00{dA`}{d{{B`{An}}}}{{dA`}{{Bb{h}}}}{{bb}{{B`{j}}}}``{{dBdBf}{{Bb{h}}}}{{d{Bj{Bh}}}{{Bb{h}}}}0{{bc}lBl}`777{cBn{}}{c{{l{e}}}{}{}}00000{cC`{}}00:::````````````````````````````{{Cbc}Cb{{Ch{}{{Cd{{Cf{A`}}}}}}CjCl}};;;;;;;;{{CbCnD`}{{Df{DbDd}}}}{DbDb}{{ce}h{}{}}{Db{{l{hDh}}}}0{Db{{l{dDh}}}}{{DhAb}Af}0{{DbAb}Af}{{DdAb}Af}{{CbAb}Af}{DjDh}{DlDh}{DnDh}{E`Dh}{cc{}}000{{CbA`}Cb}{ce{}{}}000{Db{{l{A`Dh}}}}22{Db{{B`{An}}}}{cCb{{Eb{b}}}}{{DbA`}h}{Db{{l{EdDh}}}}{{CbEf}Cb}{{CbAh}Cb}{DbEh}{Dd{{B`{{l{fDh}}}}}}{{DbEhBf}{{l{hDh}}}}{{Db{Bj{Bh}}}{{l{hDh}}}}{{CbEh}Cb}{{Cbc}Cb{{Eb{b}}}}{Dh{{B`{Ej}}}}>{cBn{}}{c{{l{e}}}{}{}}0000000{cC`{}}000{ce{}{}}000``````````00{EfEf}{{ce}h{}{}}{{EfEf}A`}{{ce}A`{}{}}00{{EfAb}Af}{cc{}}6{El{{B`{Ef}}}}7998{EfAj}8````{{{En{Bh}}}A`}`````````````````````````````````{F`{{l{FbFd}}}}{Ff{{Bj{Bh}}}}{F`{{l{FhFd}}}}{F`{{l{FjFd}}}}{F`{{l{FlFd}}}}{F`{{l{FnFd}}}}{F`{{l{G`Fd}}}}{F`{{l{GbFd}}}}{F`{{l{GdFd}}}}{F`{{l{GfFd}}}}{F`{{l{GhFd}}}}{Ff{{En{Bh}}}}{F`{{l{GjFd}}}}{F`{{l{GlFd}}}}{F`{{l{GnFd}}}}{F`{{l{H`Fd}}}}{F`{{l{HbFd}}}}{F`{{l{HdFd}}}}{F`Hf}{ce{}{}}00000000000{HhHh}{HjHj}{FfFf}{F`F`}{{ce}h{}{}}000{{FfFf}j}{{ce}j{}{}}{{Hh{En{Bh}}}{{l{{Df{HlHn}}I`}}}}{{}Hh}{{}Ff}{Ff{{En{Bh}}}}{ce{}{{Id{Ib}}}}0{{HjHj}A`}{{FfFf}A`}{{ce}A`{}{}}00000{F`Fb}{F`Fh}{F`Fj}{F`Fl}{F`Fn}{F`G`}{F`Gb}{F`Gd}{F`Gf}{F`Gh}{F`Gj}{F`Gl}{F`Gn}{F`H`}{F`Hb}{F`Hd}{{HhAb}{{l{hAd}}}}{{HjAb}{{l{hAd}}}}{{FfAb}{{l{hAd}}}}0{{F`Ab}{{l{hAd}}}}{{IfAb}Af}0{{I`Ab}{{l{hAd}}}}0{cc{}}0{{{Bj{Bh}}}Ff}01{GbF`}{HbF`}{GfF`}{FbF`}{GlF`}{G`F`}{HdF`}{GdF`}{H`F`}{GhF`}{GnF`}{FjF`}{GjF`}{FlF`}?{FnF`}{FhF`}{cc{}}0{Hh{{B`{Ih}}}}{{Ffc}hAl}{ce{}{}}00000{{{En{Bh}}}A`}{F`A`}000000000000000`{{{En{Bh}}}{{l{FfIf}}}}{{{En{Bh}}}{{l{{Df{FfAn}}If}}}}{{FfFf}{{B`{j}}}}{Ff{{Ij{Bh}}}}{{FfAn}{{Ij{Bh}}}}7777{cBn{}}00{c{{l{e}}}{}{}}0{Bh{{l{Hj}}}}1111111111{cC`{}}00000;;;;;;```````;;{{IlAb}Af}?{{IlAnAj}{{Bb{{Df{AnEd}}}}}}={{InJ`}{{Bb{Il}}}}553>``````````````````````>>>>>>>>>>>>>>>>>>>>>>>>````{Jb{{B`{{Ij{Jd}}}}}}`{JfJf}{JhJh}{JjJj}{{ce}h{}{}}00`{{}Jf}{{}Jh}{{}{{Jl{ce}}}{JnK`}{JnK`}}{{}Kb}``````{{JfAb}Af}{{JhAb}Af}{{KdAb}Af}{{{Jl{ce}}Ab}AfK`K`}{{{Kf{ce}}Ab}AfK`K`}{{KhAb}Af}{{KjAb}Af}{{{Kl{ce}}Ab}AfK`K`}{{KbAb}Af}{{JjAb}Af}{{{Kn{ce}}Ab}AfK`K`}{{JbAb}Af}`{cc{}}00000000000`{Jb{{B`{An}}}}`{Jb{{B`{b}}}}1`0{ce{}{}}00000000000``{Jf{{Lb{{Df{AjL`}}}}}}{Jh{{Lb{{Df{AjL`}}}}}}```{{}Aj}0```{{{Ld{Kd}}Lf}{{Lh{{l{hDn}}}}}}{{{Ld{Kd}}LfLj}{{Lh{{Ll{h}}}}}}1{{{Ld{Kd}}Lf{En{Bh}}}{{Lh{{l{HnDn}}}}}}{{{Ld{Kd}}Lf{En{Ln}}}{{Lh{{l{HnDn}}}}}}`9`````````{Jb{{Bb{h}}}}{{{Jl{ce}}}{{Bb{Jb}}}K`K`}`;{Jb{{M`{{Bb{h}}}}}}``:::{c{{l{e}}}{}{}}00000000000000000000000{cC`{}}00000000000``<<<<<<<<<<<<```{{}Kj}{{}{{Kf{h}}}}{{}{{Df{{Ij{Jd}}Mb}}}}{{}{{Jl{h}}}}{{}Kh}{{}{{Kl{h}}}}","D":"BHj","p":[[5,"RelayUrl",0,639],[5,"RelayConn",0],[6,"ReceivedMessage",0,640],[1,"unit"],[6,"Ordering",641],[6,"Result",642],[10,"Deserializer",643],[1,"bool"],[5,"Formatter",644],[5,"Error",644],[8,"Result",644],[5,"Url",645],[1,"str"],[10,"Hasher",646],[6,"SocketAddr",647],[6,"Option",648],[8,"Result",649],[8,"NodeId",650],[5,"Bytes",651],[1,"u8"],[1,"array"],[10,"Serializer",652],[5,"String",653],[5,"TypeId",654],[5,"ClientBuilder",88],[17,"Output"],[8,"Boxed",655],[10,"Fn",656],[10,"Send",657],[10,"Sync",657],[5,"SecretKey",650],[8,"TokioAsyncResolver",658],[5,"Client",88],[5,"ClientReceiver",88],[1,"tuple"],[6,"ClientError",88],[6,"Error",659],[5,"Error",660],[5,"Error",661],[5,"Error",662],[10,"Into",663],[5,"Duration",664],[6,"Protocol",183],[5,"PublicKey",650],[10,"Error",665],[5,"HeaderValue",666],[1,"slice"],[6,"StunAttribute",212,667],[5,"AlternateServer",668],[5,"StunError",669],[5,"TransactionId",212,670],[5,"ErrorCode",671],[6,"Fingerprint",672],[5,"MappedAddress",673],[6,"MessageIntegrity",674],[6,"MessageIntegritySha256",675],[5,"Nonce",676],[5,"PasswordAlgorithm",677],[5,"PasswordAlgorithms",678],[5,"Realm",679],[5,"Software",680],[5,"Unknown",681],[5,"UnknownAttributes",682],[5,"UserHash",683],[5,"UserName",684],[5,"XorMappedAddress",685],[5,"AttributeType",667],[5,"MessageDecoder",212,686],[6,"MessageClass",212,687],[5,"StunMessage",687],[1,"usize"],[5,"StunDecodeError",212,669],[1,"char"],[10,"FromIterator",688],[6,"Error",212],[5,"DecoderContext",686],[5,"Vec",689],[5,"QuicClient",414],[5,"Endpoint",690],[5,"ClientConfig",691],[5,"Server",429],[5,"CertificateDer",692],[5,"Metrics",429,693],[5,"StunMetrics",429,693],[5,"ClientConnRateLimit",429],[5,"ServerConfig",429],[10,"Default",694],[10,"Debug",644],[5,"Limits",429],[6,"MaybeTlsStreamServer",429],[5,"RelayConfig",429],[5,"StunConfig",429],[5,"QuicConfig",429],[5,"TlsConfig",429],[6,"CertConfig",429],[10,"Any",654],[5,"IntoIter",695],[5,"Pin",696],[5,"Context",697],[6,"Poll",698],[5,"ReadBuf",699],[8,"Result",661],[5,"IoSlice",700],[5,"AbortOnDropHandle",701],[5,"ServerConfig",702],[15,"ReceivedPacket",83],[15,"Health",83],[15,"ServerRestarting",83],[15,"Manual",631],[15,"LetsEncrypt",631]],"r":[[6,211],[10,640],[13,639],[181,703],[182,703],[222,687],[223,686],[235,667],[236,669],[238,670],[373,704],[411,705],[412,705],[413,705],[435,693],[442,693]],"b":[[42,"impl-Debug-for-RelayUrl"],[43,"impl-Display-for-RelayUrl"],[126,"impl-Display-for-ClientError"],[127,"impl-Debug-for-ClientError"],[131,"impl-From%3CError%3E-for-ClientError"],[132,"impl-From%3CError%3E-for-ClientError"],[133,"impl-From%3CError%3E-for-ClientError"],[134,"impl-From%3CError%3E-for-ClientError"],[317,"impl-Debug-for-TransactionId"],[318,"impl-Display-for-TransactionId"],[320,"impl-Display-for-Error"],[321,"impl-Debug-for-Error"],[322,"impl-Debug-for-StunDecodeError"],[323,"impl-Display-for-StunDecodeError"],[326,"impl-From%3C%26%5Bu8;+stun_rs::::types::%7Bimpl%2313%7D::%7Bconstant%230%7D%5D%3E-for-TransactionId"],[327,"impl-From%3C%5Bu8;+stun_rs::::types::%7Bimpl%2314%7D::%7Bconstant%230%7D%5D%3E-for-TransactionId"],[329,"impl-From%3CNonce%3E-for-StunAttribute"],[330,"impl-From%3CUserName%3E-for-StunAttribute"],[331,"impl-From%3CPasswordAlgorithms%3E-for-StunAttribute"],[332,"impl-From%3CAlternateServer%3E-for-StunAttribute"],[333,"impl-From%3CUnknown%3E-for-StunAttribute"],[334,"impl-From%3CMessageIntegritySha256%3E-for-StunAttribute"],[335,"impl-From%3CXorMappedAddress%3E-for-StunAttribute"],[336,"impl-From%3CPasswordAlgorithm%3E-for-StunAttribute"],[337,"impl-From%3CUserHash%3E-for-StunAttribute"],[338,"impl-From%3CRealm%3E-for-StunAttribute"],[339,"impl-From%3CUnknownAttributes%3E-for-StunAttribute"],[340,"impl-From%3CFingerprint%3E-for-StunAttribute"],[341,"impl-From%3CSoftware%3E-for-StunAttribute"],[342,"impl-From%3CMappedAddress%3E-for-StunAttribute"],[344,"impl-From%3CMessageIntegrity%3E-for-StunAttribute"],[345,"impl-From%3CErrorCode%3E-for-StunAttribute"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAADoBKAACAAMABwAAABAABQAXAAUAHgABACEADQAwAAAAMwABADwAAABCAAAARAAPAHEABwB6AAEAfwAIAKAAEgC9AAgAyQADAM4AAAAAAQAACAEVAB8BAAAhAQoAPAEIAEcBAQBKAQ0AWQEBAF4BAAB5AQAAfAEfAKMBAgCqAQMAxAEXAOIBBQDpAQMA8wELACECAQAmAgEAKwIEAEICJgBrAgsA"}],\ ["iroh_test",{"t":"FQNNNNCNCNNNNHHHHH","n":["CallOnDrop","assert_eq_hex","borrow","borrow_mut","drop","from","hexdump","into","logging","new","try_from","try_into","type_id","parse_hexdump","print_hexdump","setup","setup_multithreaded","testing_subscriber"],"q":[[0,"iroh_test"],[13,"iroh_test::hexdump"],[15,"iroh_test::logging"],[18,"core::ops::function"],[19,"core::result"],[20,"core::any"],[21,"alloc::vec"],[22,"anyhow"],[23,"alloc::string"],[24,"core::convert"],[25,"tracing_core::dispatcher"],[26,"tracing_core::subscriber"]],"i":[0,0,1,1,1,1,0,1,0,1,1,1,1,0,0,0,0,0],"f":"``{ce{}{}}0{bd}{cc{}}`2`{cbf}{c{{h{e}}}{}{}}0{cj{}}{l{{Ab{{A`{n}}}}}}{{ce}Ad{{Ah{{Af{n}}}}}{{Ah{{Af{Aj}}}}}}{{}Al}{{}d}{{}{{`{An}}}}","D":"Ad","p":[[5,"CallOnDrop",0],[1,"unit"],[10,"FnOnce",18],[6,"Result",19],[5,"TypeId",20],[1,"str"],[1,"u8"],[5,"Vec",21],[8,"Result",22],[5,"String",23],[1,"slice"],[10,"AsRef",24],[1,"usize"],[5,"DefaultGuard",25],[10,"Subscriber",26]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAAgABAABAAAAAwACAAcAAAAKAAMA"}]\ ]')); if (typeof exports !== 'undefined') exports.searchIndex = searchIndex; diff --git a/pr/2937/docs/search.desc/iroh/iroh-desc-0-.js b/pr/2937/docs/search.desc/iroh/iroh-desc-0-.js index 255dedc192..b16b89787a 100644 --- a/pr/2937/docs/search.desc/iroh/iroh-desc-0-.js +++ b/pr/2937/docs/search.desc/iroh/iroh-desc-0-.js @@ -1 +1 @@ -searchState.loadedDescShard("iroh", 0, "Peer-to-peer QUIC connections.\nNetwork paths to contact an iroh node.\nOptions to configure what is included in a NodeAddr and …\nIncludes the Node ID and the direct addresses.\nOnly the Node ID is added.\nNetwork-level addressing information for an iroh node.\nThe identifier for a node in the (iroh) network.\nIncludes the Node ID and the relay URL.\nIncludes the Node ID and both the relay URL, and the …\nConfiguration of all the relay servers that can be used.\nInformation on a specific relay server.\nA URL identifying a relay server.\nApplies the options to self.\nApplies the options to self.\nIs this a known node?\nCreates a new RelayMap with a single relay server …\nDefault values used in iroh\nA dialer to conveniently dial many nodes.\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 …\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.\nConstructs the RelayMap from an iterator of RelayNodes.\nCreates a new NodeAddr from its parts.\nReturns a RelayMap from a RelayUrl.\nGet the given node.\nThe blake3 hash used in Iroh.\nAddressing information to connect to Self::node_id.\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 whether this addressing information is empty.\nAre there any nodes in this map?\nCryptographic key handling for iroh.\nHow many nodes are known?\nCo-locating all of the iroh metrics structs\nCreates a new NodeAddr with empty AddrInfo.\nThe node’s identifier.\nReturns an Iterator over all known nodes.\nTools for spawning an accept loop that routes incoming …\nConfiguration to speak to the QUIC endpoint on the relay …\nReturns the relay url of this peer.\nThe node’s home relay url.\nWhether this relay server should only be used for STUN …\nThe stun port of the relay server.\nInternal utilities to support testing.\nTLS configuration for iroh.\nThe RelayUrl where this relay server can be dialed.\nReturns the sorted relay URLs.\nAdds the given direct addresses to the peer’s AddrInfo.\nAdds a relay url to the node’s AddrInfo.\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.\nDials nodes and maintains a queue of pending dials.\nAborts a pending dial.\nReturns a reference to the endpoint used in this dialer.\nReturns the argument unchanged.\nCalls U::from(self).\nChecks if a node is currently being dialed.\nCreate a new dialer for a Endpoint\nWaits for the next dial operation to complete.\nNumber of pending connections to be opened.\nStarts to dial a node by NodeId.\nA discovery service that combines multiple discovery …\nNode discovery for super::Endpoint.\nThe results returned from Discovery::resolve.\nAdds a Discovery service.\nThe address info for the node being resolved.\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 AddrInfo to the discovery mechanism.\nResolves the AddrInfo for the given NodeId.\nA static discovery implementation that allows adding info …\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 AddrInfo about this node to a pkarr relay.\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 discovery implementation that allows providing …\nAdd node info for the given node id, combining it with any …\nReturns the argument unchanged.\nCreates a static discovery instance from something that …\nGet node info for the given node id.\nCalls U::from(self).\nCreate a new static discovery instance.\nRemove node info for the given node id.\nAdd node info 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 set of DNS records.\nParses a set of DNS resource records.\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_proto::rr::Record DNS record.\nConverts to a list of hickory_proto::rr::Record resource …\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 …\nNetwork paths to contact an iroh node.\nOptions to configure what is included in a NodeAddr and …\nIncludes the Node ID and the direct addresses.\nA key for sealing data with AEAD-based algorithms\nApplication layer added the address directly.\nReason given by an application for closing the connection\nThe peer closed the connection\nBuilder for Endpoint.\nA cheaply cloneable and sliceable chunk of contiguous …\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.\nStream returning ConnectionTypes\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.\nStream returning local endpoints as they change.\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\nOnly the Node ID is added.\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 …\nNetwork-level addressing information for an iroh 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 …\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\nIncludes the Node ID and the relay URL.\nRelay connection over relay\nA node communicated with us first via relay.\nIncludes the Node ID and both the relay URL, and the …\nConfiguration of the relay servers for an Endpoint.\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\nAccept 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 …\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\nClears the buffer, removing all data.\nRemoves all discovery services from the builder.\nDuplicate the controller’s state\nClose the connection immediately.\nCloses the QUIC endpoint and the magic socket.\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 …\nThe type of connection we have to the node, either direct …\nReturns a stream that reports connection type changes for …\nConnects to a remote Endpoint.\nCreates Bytes instance from slice, by copying it.\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 the direct addresses of this Endpoint.\nSocket addresses where the peer might be reached directly.\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\nDerive keying material from this connection’s TLS …\nNotify the peer that no more data will ever be written to …\nReturns true if the use of staging relays is forced.\nFrame type that triggered the error\nStatistics about frames received on a connection\nStatistics about frames transmitted on a connection\nType of frame that caused the close\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreates a new Bytes from a static slice.\nConstruct a VarInt infallibly\nSucceeds iff x < 2^62\nCreate a VarInt without ensuring it’s in range\nExtract the PublicKey from the peer’s TLS certificate.\nParameters negotiated during the handshake\nParameters negotiated during the handshake\nWhether there is a possible known network path to the …\nReturns the RelayUrl of the Relay server used as home …\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 …\nAddressing information to connect to Self::node_id.\nCreate the initial set of keys given the client’s …\nThe initial value to be used as the maximum UDP payload …\nThe RTT used before an RTT sample is taken\nInitial congestion window\nWhich side of a connection initiated the stream\nSkip verification of SSL certificates from relay servers\nSpecifies the time to wait after completing MTU discovery …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\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.\nReturns true if the Bytes has a length of 0.\nReturns true if this is the only reference to the data.\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 number of bytes contained in this Bytes.\nThe local IP address which was used when the peer …\nReturns the local IP address which was used when the peer …\nThe 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 …\nCompute 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.\nCreates a new empty Bytes.\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 node’s identifier.\nThe globally unique identifier for this node.\nTrack changed on our external address as reported by the …\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\nInitiate a new outgoing bidirectional stream.\nInitiate a new outgoing unidirectional stream.\nMaximum reordering in packet number space before FACK …\nStatistics related to the current transmission path\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\nReceive 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 …\nThe node’s home relay url.\nRelay server information, if available.\nThe peer’s UDP address\nReturns the peer’s UDP address.\nThe 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 …\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 stateless retry token was issued for …\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.\nTransmit data as an unreliable, unordered application …\nTransmit data as an unreliable, unordered application …\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.\nModify the number of remotely initiated bidirectional …\nModify the number of remotely initiated unidirectional …\nSet the priority of the send stream\nSee proto::TransportConfig::receive_window()\nReturns a slice of self for the provided range.\nReturns a slice of self that is equivalent to the given …\nReturns a deduplicated list of Sources merged from all …\nA HashMap of Sources to Durations.\nSplits the bytes into two at the given index.\nSplits the bytes into two at the given index.\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 …\nMaximum reordering in time space before time based loss …\nUse TLS Raw Public Keys\nUse libp2p based self signed certificates for TLS.\nPrivate key used to authenticate data included in …\nTransport configuration to use for incoming connections\nSets a custom quinn::TransportConfig for this endpoint.\nSet a custom TransportConfig\nShortens the buffer, keeping the first len bytes and …\nSucceeds iff x < 2^62\nSucceeds iff x < 2^62\nSucceeds iff x < 2^62\nTry to convert self into BytesMut.\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 …\nWatches for changes to the home relay.\nReturns a weak reference to the inner connection struct.\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\nA format identifier\nThe hash for the empty byte range (b"").\nHash type used throughout.\nA hash and format pair\nA sequence of BLAKE3 hashes\nRaw blob\nBytes of the hash.\nConvert to a base32 string limited to the first 10 bytes …\nThe format\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreate a Hash from its raw bytes representation.\nThe hash\nCreate a new hash and format pair, using the collection …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nIs hash seq format\nIs raw format\nCalculate the hash of the provided bytes.\nCreate a new hash and format pair.\nCreate a new hash and format pair, using the default (raw) …\nConvert the hash to a hex string.\nSize of an encoded Ed25519 signature in bytes.\nError when decoding the base32.\nError when decoding the public key.\nError when deserialising a PublicKey or a SecretKey.\nThe identifier for a node in the (iroh) network.\nThe length of an ed25519 PublicKey, in bytes.\nA public key.\nA secret key.\nShared Secret.\nEd25519 signature.\nGet this public key as a byte array.\nConvert to a base32 string limited to the first 10 bytes …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nParse an Ed25519 signature from a byte slice.\nConstruct a PublicKey from a slice of bytes.\nCreate a secret key from its byte representation.\nParse an Ed25519 signature from its R and s components.\nParse an Ed25519 signature from a byte slice.\nGenerate a new SecretKey with the default randomness …\nGenerate a new SecretKey with a randomness generator.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nOpens the ciphertext, which must have been created using …\nThe public key of this SecretKey.\nBytes for the R component of a signature.\nBytes for the s component of a signature.\nSeals the provided cleartext.\nSerializes the public key as PEM\nSerializes the secret key as PEM\nReturns the shared key for communication between this key …\nSign the given message and return a digital signature\nReturn the inner byte array.\nConvert this to the bytes representing the secret part. …\nSerialise this key to OpenSSH format.\nConvert this signature into a byte vector.\nDeserialise this key from OpenSSH format.\nVerify a signature on a message with this secret key’s …\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 …\nNumber of accepted ‘iroh derp http’ connection upgrades\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\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 …\nA token containing everything to get a file from the …\nThis looks like a ticket, but base32 decoding failed.\nAn error deserializing an iroh ticket.\nString prefix describing the kind of iroh ticket.\nFound a ticket of with the wrong prefix, indicating the …\nA token containing information for establishing a …\nThis looks like a ticket, but postcard deserialization …\nA ticket is a serializable object combining information …\nVerification of the deserialized bytes failed.\nDeserialize from a string.\nThe BlobFormat for this ticket.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreates a ticket from given addressing info.\nReturns the argument unchanged.\nDeserialize from the base32 string representation bytes.\nThe hash of the item this ticket can retrieve.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nGet the contents of the ticket, consuming it.\nCreates a new ticket.\nCreates a new ticket.\nThe NodeAddr of the provider for this ticket.\nThe NodeAddr of the provider for this ticket.\nTrue if the ticket is for a collection and should retrieve …\nSerialize to string.\nSerialize to bytes used in the base32 string …\nTLS Authentication mechanism\nError generating the certificate.\nError creating QUIC config.\nError for generating TLS configs.\nRFC 7250 TLS extension: Raw Public Keys.\nRustls configuration error\nSelf signed certificates, based on libp2p-tls\nX.509 certificate handling.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCreate a TLS client configuration.\nCreate a TLS server configuration.\nAn error that occurs during certificate generation.\nAn X.509 certificate with a libp2p-specific extension is …\nThe contents of the specific libp2p extension, containing …\nAn error that occurs during certificate parsing.\nAn error that occurs during signature verification.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nGenerates a self-signed TLS certificate that includes a …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nAttempts to parse the provided bytes as a P2pCertificate.\nThe PublicKey of the remote peer.\nVerify the signature of the message signed by the secret …") \ No newline at end of file +searchState.loadedDescShard("iroh", 0, "Peer-to-peer QUIC connections.\nNetwork paths to contact an iroh node.\nOptions to configure what is included in a NodeAddr and …\nIncludes the Node ID and the direct addresses.\nOnly the Node ID is added.\nNetwork-level addressing information for an iroh node.\nThe identifier for a node in the (iroh) network.\nIncludes the Node ID and the relay URL.\nIncludes the Node ID and both the relay URL, and the …\nConfiguration of all the relay servers that can be used.\nInformation on a specific relay server.\nA URL identifying a relay server.\nApplies the options to self.\nApplies the options to self.\nIs this a known node?\nCreates a new RelayMap with a single relay server …\nDefault values used in iroh\nA dialer to conveniently dial many nodes.\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 …\nReturns the addressing info from given ticket.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstructs the RelayMap from an iterator of RelayNodes.\nCreates a new NodeAddr from its parts.\nReturns a RelayMap from a RelayUrl.\nGet the given node.\nThe blake3 hash used in Iroh.\nAddressing information to connect to Self::node_id.\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 whether this addressing information is empty.\nAre there any nodes in this map?\nCryptographic key handling for iroh.\nHow many nodes are known?\nCo-locating all of the iroh metrics structs\nCreates a new NodeAddr with empty AddrInfo.\nThe node’s identifier.\nReturns an Iterator over all known nodes.\nTools for spawning an accept loop that routes incoming …\nConfiguration to speak to the QUIC endpoint on the relay …\nReturns the relay url of this peer.\nThe node’s home relay url.\nWhether this relay server should only be used for STUN …\nThe stun port of the relay server.\nInternal utilities to support testing.\nTLS configuration for iroh.\nThe RelayUrl where this relay server can be dialed.\nReturns the sorted relay URLs.\nAdds the given direct addresses to the peer’s AddrInfo.\nAdds a relay url to the node’s AddrInfo.\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.\nDials nodes and maintains a queue of pending dials.\nAborts a pending dial.\nReturns a reference to the endpoint used in this dialer.\nReturns the argument unchanged.\nCalls U::from(self).\nChecks if a node is currently being dialed.\nCreate a new dialer for a Endpoint\nWaits for the next dial operation to complete.\nNumber of pending connections to be opened.\nStarts to dial a node by NodeId.\nA discovery service that combines multiple discovery …\nNode discovery for super::Endpoint.\nThe results returned from Discovery::resolve.\nAdds a Discovery service.\nThe address info for the node being resolved.\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 AddrInfo to the discovery mechanism.\nResolves the AddrInfo for the given NodeId.\nA static discovery implementation that allows adding info …\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 AddrInfo about this node to a pkarr relay.\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 discovery implementation that allows providing …\nAdd node info for the given node id, combining it with any …\nReturns the argument unchanged.\nCreates a static discovery instance from something that …\nGet node info for the given node id.\nCalls U::from(self).\nCreate a new static discovery instance.\nRemove node info for the given node id.\nAdd node info 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 set of DNS records.\nParses a set of DNS resource records.\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_proto::rr::Record DNS record.\nConverts to a list of hickory_proto::rr::Record resource …\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 …\nNetwork paths to contact an iroh node.\nOptions to configure what is included in a NodeAddr and …\nIncludes the Node ID and the direct addresses.\nA key for sealing data with AEAD-based algorithms\nApplication layer added the address directly.\nReason given by an application for closing the connection\nThe peer closed the connection\nBuilder for Endpoint.\nA cheaply cloneable and sliceable chunk of contiguous …\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.\nStream returning ConnectionTypes\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.\nStream returning local endpoints as they change.\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\nOnly the Node ID is added.\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 …\nNetwork-level addressing information for an iroh 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 …\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\nIncludes the Node ID and the relay URL.\nRelay connection over relay\nA node communicated with us first via relay.\nIncludes the Node ID and both the relay URL, and the …\nConfiguration of the relay servers for an Endpoint.\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\nAccept 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 …\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\nClears the buffer, removing all data.\nRemoves all discovery services from the builder.\nDuplicate the controller’s state\nClose the connection immediately.\nCloses the QUIC endpoint and the magic socket.\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 …\nThe type of connection we have to the node, either direct …\nReturns a stream that reports connection type changes for …\nConnects to a remote Endpoint.\nCreates Bytes instance from slice, by copying it.\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 the direct addresses of this Endpoint.\nSocket addresses where the peer might be reached directly.\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\nDerive keying material from this connection’s TLS …\nNotify the peer that no more data will ever be written to …\nReturns true if the use of staging relays is forced.\nFrame type that triggered the error\nStatistics about frames received on a connection\nStatistics about frames transmitted on a connection\nType of frame that caused the close\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreate Bytes with a buffer whose lifetime is controlled …\nCreates a new Bytes from a static slice.\nConstruct a VarInt infallibly\nSucceeds iff x < 2^62\nCreate a VarInt without ensuring it’s in range\nExtract the PublicKey from the peer’s TLS certificate.\nParameters negotiated during the handshake\nParameters negotiated during the handshake\nWhether there is a possible known network path to the …\nReturns the RelayUrl of the Relay server used as home …\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 …\nAddressing information to connect to Self::node_id.\nCreate the initial set of keys given the client’s …\nThe initial value to be used as the maximum UDP payload …\nThe RTT used before an RTT sample is taken\nInitial congestion window\nWhich side of a connection initiated the stream\nSkip verification of SSL certificates from relay servers\nSpecifies the time to wait after completing MTU discovery …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\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.\nReturns true if the Bytes has a length of 0.\nReturns true if this is the only reference to the data and …\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 number of bytes contained in this Bytes.\nThe local IP address which was used when the peer …\nReturns the local IP address which was used when the peer …\nThe 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 …\nCompute 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.\nCreates a new empty Bytes.\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 node’s identifier.\nThe globally unique identifier for this node.\nTrack changed on our external address as reported by the …\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\nInitiate a new outgoing bidirectional stream.\nInitiate a new outgoing unidirectional stream.\nMaximum reordering in packet number space before FACK …\nStatistics related to the current transmission path\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\nReceive 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 …\nThe node’s home relay url.\nRelay server information, if available.\nThe peer’s UDP address\nReturns the peer’s UDP address.\nThe 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 …\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 stateless retry token was issued for …\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.\nTransmit data as an unreliable, unordered application …\nTransmit data as an unreliable, unordered application …\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.\nModify the number of remotely initiated bidirectional …\nModify the number of remotely initiated unidirectional …\nSet the priority of the send stream\nSee proto::TransportConfig::receive_window()\nReturns a slice of self for the provided range.\nReturns a slice of self that is equivalent to the given …\nReturns a deduplicated list of Sources merged from all …\nA HashMap of Sources to Durations.\nSplits the bytes into two at the given index.\nSplits the bytes into two at the given index.\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 …\nMaximum reordering in time space before time based loss …\nUse TLS Raw Public Keys\nUse libp2p based self signed certificates for TLS.\nPrivate key used to authenticate data included in …\nTransport configuration to use for incoming connections\nSets a custom quinn::TransportConfig for this endpoint.\nSet a custom TransportConfig\nShortens the buffer, keeping the first len bytes and …\nSucceeds iff x < 2^62\nSucceeds iff x < 2^62\nSucceeds iff x < 2^62\nTry to convert self into BytesMut.\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 …\nWatches for changes to the home relay.\nReturns a weak reference to the inner connection struct.\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\nA format identifier\nThe hash for the empty byte range (b"").\nHash type used throughout.\nA hash and format pair\nA sequence of BLAKE3 hashes\nRaw blob\nBytes of the hash.\nConvert to a base32 string limited to the first 10 bytes …\nThe format\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreate a Hash from its raw bytes representation.\nThe hash\nCreate a new hash and format pair, using the collection …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nIs hash seq format\nIs raw format\nCalculate the hash of the provided bytes.\nCreate a new hash and format pair.\nCreate a new hash and format pair, using the default (raw) …\nConvert the hash to a hex string.\nSize of an encoded Ed25519 signature in bytes.\nError when decoding the base32.\nError when decoding the public key.\nError when deserialising a PublicKey or a SecretKey.\nThe identifier for a node in the (iroh) network.\nThe length of an ed25519 PublicKey, in bytes.\nA public key.\nA secret key.\nShared Secret.\nEd25519 signature.\nGet this public key as a byte array.\nConvert to a base32 string limited to the first 10 bytes …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nParse an Ed25519 signature from a byte slice.\nConstruct a PublicKey from a slice of bytes.\nCreate a secret key from its byte representation.\nParse an Ed25519 signature from its R and s components.\nParse an Ed25519 signature from a byte slice.\nGenerate a new SecretKey with the default randomness …\nGenerate a new SecretKey with a randomness generator.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nOpens the ciphertext, which must have been created using …\nThe public key of this SecretKey.\nBytes for the R component of a signature.\nBytes for the s component of a signature.\nSeals the provided cleartext.\nSerializes the public key as PEM\nSerializes the secret key as PEM\nReturns the shared key for communication between this key …\nSign the given message and return a digital signature\nReturn the inner byte array.\nConvert this to the bytes representing the secret part. …\nSerialise this key to OpenSSH format.\nConvert this signature into a byte vector.\nDeserialise this key from OpenSSH format.\nVerify a signature on a message with this secret key’s …\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 …\nNumber of accepted ‘iroh derp http’ connection upgrades\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\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 …\nA token containing everything to get a file from the …\nThis looks like a ticket, but base32 decoding failed.\nAn error deserializing an iroh ticket.\nString prefix describing the kind of iroh ticket.\nFound a ticket of with the wrong prefix, indicating the …\nA token containing information for establishing a …\nThis looks like a ticket, but postcard deserialization …\nA ticket is a serializable object combining information …\nVerification of the deserialized bytes failed.\nDeserialize from a string.\nThe BlobFormat for this ticket.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreates a ticket from given addressing info.\nReturns the argument unchanged.\nDeserialize from the base32 string representation bytes.\nThe hash of the item this ticket can retrieve.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nGet the contents of the ticket, consuming it.\nCreates a new ticket.\nCreates a new ticket.\nThe NodeAddr of the provider for this ticket.\nThe NodeAddr of the provider for this ticket.\nTrue if the ticket is for a collection and should retrieve …\nSerialize to string.\nSerialize to bytes used in the base32 string …\nTLS Authentication mechanism\nError generating the certificate.\nError creating QUIC config.\nError for generating TLS configs.\nRFC 7250 TLS extension: Raw Public Keys.\nRustls configuration error\nSelf signed certificates, based on libp2p-tls\nX.509 certificate handling.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCreate a TLS client configuration.\nCreate a TLS server configuration.\nAn error that occurs during certificate generation.\nAn X.509 certificate with a libp2p-specific extension is …\nThe contents of the specific libp2p extension, containing …\nAn error that occurs during certificate parsing.\nAn error that occurs during signature verification.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nGenerates a self-signed TLS certificate that includes a …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nAttempts to parse the provided bytes as a P2pCertificate.\nThe PublicKey of the remote peer.\nVerify the signature of the message signed by the secret …") \ No newline at end of file diff --git a/pr/2937/docs/search.desc/iroh_base/iroh_base-desc-0-.js b/pr/2937/docs/search.desc/iroh_base/iroh_base-desc-0-.js index 6007235c2d..db35775ace 100644 --- a/pr/2937/docs/search.desc/iroh_base/iroh_base-desc-0-.js +++ b/pr/2937/docs/search.desc/iroh_base/iroh_base-desc-0-.js @@ -1 +1 @@ -searchState.loadedDescShard("iroh_base", 0, "Base types and utilities for Iroh\nThe blake3 hash used in Iroh.\nCryptographic key handling for iroh.\nAddressing for iroh nodes.\nbased on tailscale/tailcfg/derpmap.go\nError when decoding the base32.\nDecoding error\nDecoding error kind\nError when decoding the public key.\nError when parsing a hex or base32 string.\nInvalid length\nInvalid padding length\nInvalid symbol\nNon-zero trailing bits\nConvert to a base32 string\nConvert to a base32 string and append out out\nConvert to a base32 string limited to the first 10 bytes\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nError kind\nParse from a base32 string into a byte array\nParse a fixed length hex or base32 string into a byte array\nDecode form a base32 string to a vector of bytes\nError position\nA format identifier\nThe hash for the empty byte range (b"").\nHash type used throughout.\nA hash and format pair\nA sequence of BLAKE3 hashes\nRaw blob\nBytes of the hash.\nConvert to a base32 string limited to the first 10 bytes …\nThe format\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreate a Hash from its raw bytes representation.\nThe hash\nCreate a new hash and format pair, using the collection …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nIs hash seq format\nIs raw format\nCalculate the hash of the provided bytes.\nCreate a new hash and format pair.\nCreate a new hash and format pair, using the default (raw) …\nConvert the hash to a hex string.\nSize of an encoded Ed25519 signature in bytes.\nError when decoding the base32.\nError when decoding the public key.\nError when deserialising a PublicKey or a SecretKey.\nThe identifier for a node in the (iroh) network.\nThe length of an ed25519 PublicKey, in bytes.\nA public key.\nA secret key.\nShared Secret.\nEd25519 signature.\nGet this public key as a byte array.\nConvert to a base32 string limited to the first 10 bytes …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nParse an Ed25519 signature from a byte slice.\nConstruct a PublicKey from a slice of bytes.\nCreate a secret key from its byte representation.\nParse an Ed25519 signature from its R and s components.\nParse an Ed25519 signature from a byte slice.\nGenerate a new SecretKey with the default randomness …\nGenerate a new SecretKey with a randomness generator.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nOpens the ciphertext, which must have been created using …\nThe public key of this SecretKey.\nBytes for the R component of a signature.\nBytes for the s component of a signature.\nSeals the provided cleartext.\nSerializes the public key as PEM\nSerializes the secret key as PEM\nReturns the shared key for communication between this key …\nSign the given message and return a digital signature\nReturn the inner byte array.\nConvert this to the bytes representing the secret part. …\nSerialise this key to OpenSSH format.\nConvert this signature into a byte vector.\nDeserialise this key from OpenSSH format.\nVerify a signature on a message with this secret key’s …\nNetwork paths to contact an iroh node.\nOptions to configure what is included in a NodeAddr and …\nIncludes the Node ID and the direct addresses.\nOnly the Node ID is added.\nNetwork-level addressing information for an iroh node.\nIncludes the Node ID and the relay URL.\nIncludes the Node ID and both the relay URL, and the …\nA URL identifying a relay server.\nApplies the options to self.\nApplies the options to self.\nReturns the direct addresses of this peer.\nSocket addresses where the peer might be reached directly.\nReturns the argument unchanged.\nReturns the addressing info from given ticket.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreates a new NodeAddr from its parts.\nAddressing information to connect to Self::node_id.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nReturns whether this addressing information is empty.\nCreates a new NodeAddr with empty AddrInfo.\nThe node’s identifier.\nReturns the relay url of this peer.\nThe node’s home relay url.\nAdds the given direct addresses to the peer’s AddrInfo.\nAdds a relay url to the node’s AddrInfo.\nThe default QUIC port used by the Relay server to accept …\nThe default STUN port used by the Relay server.\nConfiguration for speaking to the QUIC endpoint on the …\nConfiguration of all the relay servers that can be used.\nInformation on a specific relay server.\nA URL identifying a relay server.\nIs this a known node?\nCreates a new RelayMap with a single relay server …\nCreate an empty relay map.\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.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nAre there any nodes in this map?\nHow many nodes are known?\nReturns an Iterator over all known nodes.\nConfiguration to speak to the QUIC endpoint on the relay …\nWhether this relay server should only be used for STUN …\nThe stun port of the relay server.\nThe RelayUrl where this relay server can be dialed.\nReturns the sorted relay URLs.\nA token containing everything to get a file from the …\nThis looks like a ticket, but base32 decoding failed.\nAn error deserializing an iroh ticket.\nString prefix describing the kind of iroh ticket.\nFound a ticket of with the wrong prefix, indicating the …\nA token containing information for establishing a …\nThis looks like a ticket, but postcard deserialization …\nA ticket is a serializable object combining information …\nVerification of the deserialized bytes failed.\nDeserialize from a string.\nThe BlobFormat for this ticket.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreates a ticket from given addressing info.\nReturns the argument unchanged.\nDeserialize from the base32 string representation bytes.\nThe hash of the item this ticket can retrieve.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nGet the contents of the ticket, consuming it.\nCreates a new ticket.\nCreates a new ticket.\nThe NodeAddr of the provider for this ticket.\nThe NodeAddr of the provider for this ticket.\nTrue if the ticket is for a collection and should retrieve …\nSerialize to string.\nSerialize to bytes used in the base32 string …") \ No newline at end of file +searchState.loadedDescShard("iroh_base", 0, "Base types and utilities for Iroh\nThe blake3 hash used in Iroh.\nCryptographic key handling for iroh.\nAddressing for iroh nodes.\nbased on tailscale/tailcfg/derpmap.go\nError when decoding the base32.\nDecoding error\nDecoding error kind\nError when decoding the public key.\nError when parsing a hex or base32 string.\nInvalid length\nInvalid padding length\nInvalid symbol\nNon-zero trailing bits\nConvert to a base32 string\nConvert to a base32 string and append out out\nConvert to a base32 string limited to the first 10 bytes\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nError kind\nParse from a base32 string into a byte array\nParse a fixed length hex or base32 string into a byte array\nDecode form a base32 string to a vector of bytes\nError position\nA format identifier\nThe hash for the empty byte range (b"").\nHash type used throughout.\nA hash and format pair\nA sequence of BLAKE3 hashes\nRaw blob\nBytes of the hash.\nConvert to a base32 string limited to the first 10 bytes …\nThe format\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreate a Hash from its raw bytes representation.\nThe hash\nCreate a new hash and format pair, using the collection …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nIs hash seq format\nIs raw format\nCalculate the hash of the provided bytes.\nCreate a new hash and format pair.\nCreate a new hash and format pair, using the default (raw) …\nConvert the hash to a hex string.\nSize of an encoded Ed25519 signature in bytes.\nError when decoding the base32.\nError when decoding the public key.\nError when deserialising a PublicKey or a SecretKey.\nThe identifier for a node in the (iroh) network.\nThe length of an ed25519 PublicKey, in bytes.\nA public key.\nA secret key.\nShared Secret.\nEd25519 signature.\nGet this public key as a byte array.\nConvert to a base32 string limited to the first 10 bytes …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nParse an Ed25519 signature from a byte slice.\nConstruct a PublicKey from a slice of bytes.\nCreate a secret key from its byte representation.\nParse an Ed25519 signature from its R and s components.\nParse an Ed25519 signature from a byte slice.\nGenerate a new SecretKey with the default randomness …\nGenerate a new SecretKey with a randomness generator.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nOpens the ciphertext, which must have been created using …\nThe public key of this SecretKey.\nBytes for the R component of a signature.\nBytes for the s component of a signature.\nSeals the provided cleartext.\nSerializes the public key as PEM\nSerializes the secret key as PEM\nReturns the shared key for communication between this key …\nSign the given message and return a digital signature\nReturn the inner byte array.\nConvert this to the bytes representing the secret part. …\nSerialise this key to OpenSSH format.\nConvert this signature into a byte vector.\nDeserialise this key from OpenSSH format.\nVerify a signature on a message with this secret key’s …\nNetwork paths to contact an iroh node.\nOptions to configure what is included in a NodeAddr and …\nIncludes the Node ID and the direct addresses.\nOnly the Node ID is added.\nNetwork-level addressing information for an iroh node.\nIncludes the Node ID and the relay URL.\nIncludes the Node ID and both the relay URL, and the …\nA URL identifying a relay server.\nApplies the options to self.\nApplies the options to self.\nReturns the direct addresses of this peer.\nSocket addresses where the peer might be reached directly.\nReturns the argument unchanged.\nReturns the addressing info from given ticket.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreates a new NodeAddr from its parts.\nAddressing information to connect to Self::node_id.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nReturns whether this addressing information is empty.\nCreates a new NodeAddr with empty AddrInfo.\nThe node’s identifier.\nReturns the relay url of this peer.\nThe node’s home relay url.\nAdds the given direct addresses to the peer’s AddrInfo.\nAdds a relay url to the node’s AddrInfo.\nThe default QUIC port used by the Relay server to accept …\nThe default STUN port used by the Relay server.\nConfiguration for speaking to the QUIC endpoint on the …\nConfiguration of all the relay servers that can be used.\nInformation on a specific relay server.\nA URL identifying a relay server.\nIs this a known node?\nCreates a new RelayMap with a single relay server …\nCreate an empty relay map.\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.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nAre there any nodes in this map?\nHow many nodes are known?\nReturns an Iterator over all known nodes.\nConfiguration to speak to the QUIC endpoint on the relay …\nWhether this relay server should only be used for STUN …\nThe stun port of the relay server.\nThe RelayUrl where this relay server can be dialed.\nReturns the sorted relay URLs.\nA token containing everything to get a file from the …\nThis looks like a ticket, but base32 decoding failed.\nAn error deserializing an iroh ticket.\nString prefix describing the kind of iroh ticket.\nFound a ticket of with the wrong prefix, indicating the …\nA token containing information for establishing a …\nThis looks like a ticket, but postcard deserialization …\nA ticket is a serializable object combining information …\nVerification of the deserialized bytes failed.\nDeserialize from a string.\nThe BlobFormat for this ticket.\nReturns the argument unchanged.\nCreates a ticket from given addressing info.\nReturns the argument unchanged.\nReturns the argument unchanged.\nDeserialize from the base32 string representation bytes.\nThe hash of the item this ticket can retrieve.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nGet the contents of the ticket, consuming it.\nCreates a new ticket.\nCreates a new ticket.\nThe NodeAddr of the provider for this ticket.\nThe NodeAddr of the provider for this ticket.\nTrue if the ticket is for a collection and should retrieve …\nSerialize to string.\nSerialize to bytes used in the base32 string …") \ No newline at end of file diff --git a/pr/2937/docs/trait.impl/core/convert/trait.From.js b/pr/2937/docs/trait.impl/core/convert/trait.From.js index 4a90c1b0b4..f70c90b6f4 100644 --- a/pr/2937/docs/trait.impl/core/convert/trait.From.js +++ b/pr/2937/docs/trait.impl/core/convert/trait.From.js @@ -1,5 +1,5 @@ (function() {var implementors = { "iroh":[["impl From<&NodeInfo> for TxtAttrs<IrohAttr>"],["impl From<&TxtAttrs<IrohAttr>> for NodeInfo"],["impl From<NodeInfo> for AddrInfo"],["impl From<NodeInfo> for NodeAddr"],["impl From<TxtAttrs<IrohAttr>> for NodeInfo"],["impl From<RemoteInfo> for NodeAddr"],["impl From<GenError> for CreateConfigError"],["impl From<ParseError> for Error"],["impl From<VerificationError> for Error"],["impl From<Error> for CreateConfigError"],["impl From<Error> for GenError"],["impl From<Error> for ParseError"],["impl From<Error> for VerificationError"],["impl From<NoInitialCipherSuite> for CreateConfigError"],["impl<T> From<T> for ConcurrentDiscovery
    where\n T: IntoIterator<Item = Box<dyn Discovery>>,
    "]], -"iroh_base":[["impl From<&[u8; 32]> for Hash"],["impl From<(PublicKey, Option<RelayUrl>, &[SocketAddr])> for NodeAddr"],["impl From<FromHexError> for HexOrBase32ParseError"],["impl From<HexOrBase32ParseError> for KeyParsingError"],["impl From<BlobFormat> for u64"],["impl From<Url> for RelayUrl"],["impl From<DecodeError> for HexOrBase32ParseError"],["impl From<DecodeError> for Error"],["impl From<Hash> for Hash"],["impl From<Hash> for [u8; 32]"],["impl From<PublicKey> for NodeAddr"],["impl From<NodeAddr> for NodeTicket"],["impl From<RelayUrl> for Url"],["impl From<NodeTicket> for NodeAddr"],["impl From<Error> for KeyParsingError"],["impl From<Error> for Error"],["impl From<Hash> for Hash"],["impl From<SigningKey> for SecretKey"],["impl From<VerifyingKey> for PublicKey"],["impl From<[u8; 32]> for Hash"],["impl From<[u8; 32]> for SecretKey"]], +"iroh_base":[["impl From<&[u8; 32]> for Hash"],["impl From<(PublicKey, Option<RelayUrl>, &[SocketAddr])> for NodeAddr"],["impl From<FromHexError> for HexOrBase32ParseError"],["impl From<HexOrBase32ParseError> for KeyParsingError"],["impl From<BlobFormat> for u64"],["impl From<Url> for RelayUrl"],["impl From<DecodeError> for HexOrBase32ParseError"],["impl From<DecodeError> for Error"],["impl From<Hash> for Hash"],["impl From<Hash> for [u8; 32]"],["impl From<PublicKey> for NodeAddr"],["impl From<NodeAddr> for NodeTicket"],["impl From<RelayUrl> for Url"],["impl From<NodeTicket> for NodeAddr"],["impl From<Error> for KeyParsingError"],["impl From<Error> for Error"],["impl From<Hash> for Hash"],["impl From<SigningKey> for SecretKey"],["impl From<VerifyingKey> for PublicKey"],["impl From<[u8; 32]> for Hash"],["impl From<[u8; 32]> for SecretKey"]], "iroh_relay":[["impl From<Error> for ClientError"],["impl From<Error> for ClientError"],["impl From<Error> for ClientError"],["impl From<Error> for ClientError"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/pr/2937/docs/trait.impl/serde/de/trait.Deserialize.js b/pr/2937/docs/trait.impl/serde/de/trait.Deserialize.js index 3f322a21f9..8d0942db4e 100644 --- a/pr/2937/docs/trait.impl/serde/de/trait.Deserialize.js +++ b/pr/2937/docs/trait.impl/serde/de/trait.Deserialize.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"iroh":[["impl<'de> Deserialize<'de> for ConnectionType"],["impl<'de> Deserialize<'de> for ControlMsg"],["impl<'de> Deserialize<'de> for Source"],["impl<'de> Deserialize<'de> for DirectAddrInfo"],["impl<'de> Deserialize<'de> for RemoteInfo"]], -"iroh_base":[["impl<'de> Deserialize<'de> for BlobFormat"],["impl<'de> Deserialize<'de> for AddrInfoOptions"],["impl<'de> Deserialize<'de> for Hash"],["impl<'de> Deserialize<'de> for HashAndFormat"],["impl<'de> Deserialize<'de> for PublicKey"],["impl<'de> Deserialize<'de> for SecretKey"],["impl<'de> Deserialize<'de> for AddrInfo"],["impl<'de> Deserialize<'de> for NodeAddr"],["impl<'de> Deserialize<'de> for RelayUrl"],["impl<'de> Deserialize<'de> for QuicConfig"],["impl<'de> Deserialize<'de> for RelayNode"],["impl<'de> Deserialize<'de> for BlobTicket"],["impl<'de> Deserialize<'de> for NodeTicket"]], -"iroh_dns_server":[["impl<'de> Deserialize<'de> for BootstrapOption"],["impl<'de> Deserialize<'de> for CertMode"],["impl<'de> Deserialize<'de> for RateLimitConfig"],["impl<'de> Deserialize<'de> for Config"],["impl<'de> Deserialize<'de> for MainlineConfig"],["impl<'de> Deserialize<'de> for MetricsConfig"],["impl<'de> Deserialize<'de> for StoreConfig"],["impl<'de> Deserialize<'de> for DnsConfig"],["impl<'de> Deserialize<'de> for HttpConfig"],["impl<'de> Deserialize<'de> for HttpsConfig"]] +"iroh":[["impl<'de> Deserialize<'de> for ConnectionType"],["impl<'de> Deserialize<'de> for ControlMsg"],["impl<'de> Deserialize<'de> for Source"],["impl<'de> Deserialize<'de> for DirectAddrInfo"],["impl<'de> Deserialize<'de> for RemoteInfo"]], +"iroh_base":[["impl<'de> Deserialize<'de> for BlobFormat"],["impl<'de> Deserialize<'de> for AddrInfoOptions"],["impl<'de> Deserialize<'de> for Hash"],["impl<'de> Deserialize<'de> for HashAndFormat"],["impl<'de> Deserialize<'de> for PublicKey"],["impl<'de> Deserialize<'de> for SecretKey"],["impl<'de> Deserialize<'de> for AddrInfo"],["impl<'de> Deserialize<'de> for NodeAddr"],["impl<'de> Deserialize<'de> for RelayUrl"],["impl<'de> Deserialize<'de> for QuicConfig"],["impl<'de> Deserialize<'de> for RelayNode"],["impl<'de> Deserialize<'de> for BlobTicket"],["impl<'de> Deserialize<'de> for NodeTicket"]], +"iroh_dns_server":[["impl<'de> Deserialize<'de> for BootstrapOption"],["impl<'de> Deserialize<'de> for CertMode"],["impl<'de> Deserialize<'de> for RateLimitConfig"],["impl<'de> Deserialize<'de> for Config"],["impl<'de> Deserialize<'de> for MainlineConfig"],["impl<'de> Deserialize<'de> for MetricsConfig"],["impl<'de> Deserialize<'de> for StoreConfig"],["impl<'de> Deserialize<'de> for DnsConfig"],["impl<'de> Deserialize<'de> for HttpConfig"],["impl<'de> Deserialize<'de> for HttpsConfig"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/pr/2937/docs/trait.impl/serde/ser/trait.Serialize.js b/pr/2937/docs/trait.impl/serde/ser/trait.Serialize.js index 20451f53a7..0013019353 100644 --- a/pr/2937/docs/trait.impl/serde/ser/trait.Serialize.js +++ b/pr/2937/docs/trait.impl/serde/ser/trait.Serialize.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"iroh":[["impl Serialize for ConnectionType"],["impl Serialize for ControlMsg"],["impl Serialize for Source"],["impl Serialize for DirectAddrInfo"],["impl Serialize for RemoteInfo"]], -"iroh_base":[["impl Serialize for BlobFormat"],["impl Serialize for AddrInfoOptions"],["impl Serialize for Hash"],["impl Serialize for HashAndFormat"],["impl Serialize for PublicKey"],["impl Serialize for SecretKey"],["impl Serialize for AddrInfo"],["impl Serialize for NodeAddr"],["impl Serialize for RelayUrl"],["impl Serialize for QuicConfig"],["impl Serialize for RelayNode"],["impl Serialize for BlobTicket"],["impl Serialize for NodeTicket"]], -"iroh_dns_server":[["impl Serialize for BootstrapOption"],["impl Serialize for CertMode"],["impl Serialize for RateLimitConfig"],["impl Serialize for Config"],["impl Serialize for MainlineConfig"],["impl Serialize for MetricsConfig"],["impl Serialize for StoreConfig"],["impl Serialize for DnsConfig"],["impl Serialize for HttpConfig"],["impl Serialize for HttpsConfig"]] +"iroh":[["impl Serialize for ConnectionType"],["impl Serialize for ControlMsg"],["impl Serialize for Source"],["impl Serialize for DirectAddrInfo"],["impl Serialize for RemoteInfo"]], +"iroh_base":[["impl Serialize for BlobFormat"],["impl Serialize for AddrInfoOptions"],["impl Serialize for Hash"],["impl Serialize for HashAndFormat"],["impl Serialize for PublicKey"],["impl Serialize for SecretKey"],["impl Serialize for AddrInfo"],["impl Serialize for NodeAddr"],["impl Serialize for RelayUrl"],["impl Serialize for QuicConfig"],["impl Serialize for RelayNode"],["impl Serialize for BlobTicket"],["impl Serialize for NodeTicket"]], +"iroh_dns_server":[["impl Serialize for BootstrapOption"],["impl Serialize for CertMode"],["impl Serialize for RateLimitConfig"],["impl Serialize for Config"],["impl Serialize for MainlineConfig"],["impl Serialize for MetricsConfig"],["impl Serialize for StoreConfig"],["impl Serialize for DnsConfig"],["impl Serialize for HttpConfig"],["impl Serialize for HttpsConfig"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/pr/2937/docs/type.impl/iroh/key/struct.PublicKey.js b/pr/2937/docs/type.impl/iroh/key/struct.PublicKey.js index 515d95ef33..1e2aa17571 100644 --- a/pr/2937/docs/type.impl/iroh/key/struct.PublicKey.js +++ b/pr/2937/docs/type.impl/iroh/key/struct.PublicKey.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"iroh":[["
    §

    impl AsRef<[u8]> for PublicKey

    §

    fn as_ref(&self) -> &[u8] ⓘ

    Converts this type into a shared reference of the (usually inferred) input type.
    ","AsRef<[u8]>","iroh::NodeId"],["
    §

    impl Clone for PublicKey

    §

    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"],["
    §

    impl Debug for PublicKey

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    ","Debug","iroh::NodeId"],["
    §

    impl<'de> Deserialize<'de> for PublicKey

    §

    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"],["
    §

    impl Display for PublicKey

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    ","Display","iroh::NodeId"],["
    §

    impl From<VerifyingKey> for PublicKey

    §

    fn from(verifying_key: VerifyingKey) -> PublicKey

    Converts to this type from the input type.
    ","From","iroh::NodeId"],["
    §

    impl FromStr for PublicKey

    Deserialises the PublicKey from it’s base32 encoding.

    \n

    Display is capable of serialising this format.

    \n
    §

    type Err = KeyParsingError

    The associated error which can be returned from parsing.
    §

    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"],["
    §

    impl Hash for PublicKey

    §

    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 Ord for PublicKey

    §

    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 + PartialOrd,

    Restrict a value to a certain interval. Read more
    ","Ord","iroh::NodeId"],["
    §

    impl PartialEq for PublicKey

    §

    fn eq(&self, other: &PublicKey) -> bool

    This method tests for self and other values to be equal, and is used\nby ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
    ","PartialEq","iroh::NodeId"],["
    §

    impl PartialOrd for PublicKey

    §

    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

    This method 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

    This method tests less than or equal to (for self and other) and is used by the <=\noperator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method 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

    This method tests greater than or equal to (for self and other) and is used by the >=\noperator. Read more
    ","PartialOrd","iroh::NodeId"],["
    §

    impl PublicKey

    pub fn as_bytes(&self) -> &[u8; 32]

    Get this public key as a byte array.

    \n

    pub fn serialize_public_pem(&self) -> String

    Serializes the public key as PEM

    \n

    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

    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

    pub fn fmt_short(&self) -> String

    Convert to a base32 string limited to the first 10 bytes for a friendly string\nrepresentation of the key.

    \n
    ",0,"iroh::NodeId"],["
    §

    impl Serialize for PublicKey

    §

    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"],["
    §

    impl TryFrom<&[u8]> for PublicKey

    §

    type Error = Error

    The type returned in the event of a conversion error.
    §

    fn try_from(\n bytes: &[u8]\n) -> Result<PublicKey, <PublicKey as TryFrom<&[u8]>>::Error>

    Performs the conversion.
    ","TryFrom<&[u8]>","iroh::NodeId"],["
    §

    impl TryFrom<&[u8; 32]> for PublicKey

    §

    type Error = Error

    The type returned in the event of a conversion error.
    §

    fn try_from(\n bytes: &[u8; 32]\n) -> Result<PublicKey, <PublicKey as TryFrom<&[u8; 32]>>::Error>

    Performs the conversion.
    ","TryFrom<&[u8; 32]>","iroh::NodeId"],["
    §

    impl Copy for PublicKey

    ","Copy","iroh::NodeId"],["
    §

    impl Eq for PublicKey

    ","Eq","iroh::NodeId"],["
    §

    impl StructuralPartialEq for PublicKey

    ","StructuralPartialEq","iroh::NodeId"]] +"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 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
    §

    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 + PartialOrd,

    Restrict a value to a certain interval. Read more
    ","Ord","iroh::NodeId"],["
    source§

    impl PartialEq for PublicKey

    source§

    fn eq(&self, other: &PublicKey) -> bool

    This method tests for self and other values to be equal, and is used\nby ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always\nsufficient, and 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

    This method 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

    This method tests less than or equal to (for self and other) and is used by the <=\noperator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method 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

    This method tests greater than or equal to (for self and other) and is used by the >=\noperator. Read more
    ","PartialOrd","iroh::NodeId"],["
    source§

    impl PublicKey

    source

    pub fn as_bytes(&self) -> &[u8; 32]

    Get this public key as a byte array.

    \n
    source

    pub fn serialize_public_pem(&self) -> String

    Serializes the public key as PEM

    \n
    source

    pub fn from_bytes(bytes: &[u8; 32]) -> Result<PublicKey, Error>

    Construct a PublicKey from a slice of bytes.

    \n
    §Warning
    \n

    This will return a [SignatureError] if the bytes passed into this method do not represent\na valid ed25519_dalek curve point. Will never fail for bytes return from Self::as_bytes.\nSee [VerifyingKey::from_bytes] for details.

    \n
    source

    pub fn verify(&self, message: &[u8], signature: &Signature) -> Result<(), Error>

    Verify a signature on a message with this secret key’s public key.

    \n
    §Return
    \n

    Returns Ok(()) if the signature is valid, and Err otherwise.

    \n
    source

    pub fn fmt_short(&self) -> String

    Convert to a base32 string limited to the first 10 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

    §

    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

    §

    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;}})() \ No newline at end of file diff --git a/pr/2937/docs/type.impl/iroh_base/key/struct.PublicKey.js b/pr/2937/docs/type.impl/iroh_base/key/struct.PublicKey.js index 873c4246cf..60af543d92 100644 --- a/pr/2937/docs/type.impl/iroh_base/key/struct.PublicKey.js +++ b/pr/2937/docs/type.impl/iroh_base/key/struct.PublicKey.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"iroh_base":[["
    source§

    impl AsRef<[u8]> for PublicKey

    source§

    fn as_ref(&self) -> &[u8] ⓘ

    Converts this type into a shared reference of the (usually inferred) input type.
    ","AsRef<[u8]>","iroh_base::key::NodeId"],["
    source§

    impl Clone for PublicKey

    source§

    fn clone(&self) -> PublicKey

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    ","Clone","iroh_base::key::NodeId"],["
    source§

    impl Debug for PublicKey

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    ","Debug","iroh_base::key::NodeId"],["
    source§

    impl<'de> Deserialize<'de> for PublicKey

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where\n D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    ","Deserialize<'de>","iroh_base::key::NodeId"],["
    source§

    impl Display for PublicKey

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    ","Display","iroh_base::key::NodeId"],["
    source§

    impl From<VerifyingKey> for PublicKey

    source§

    fn from(verifying_key: VerifyingKey) -> Self

    Converts to this type from the input type.
    ","From","iroh_base::key::NodeId"],["
    source§

    impl FromStr for PublicKey

    Deserialises the PublicKey from it’s base32 encoding.

    \n

    Display is capable of serialising this format.

    \n
    §

    type Err = KeyParsingError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    ","FromStr","iroh_base::key::NodeId"],["
    source§

    impl Hash for PublicKey

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where\n H: Hasher,\n Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    ","Hash","iroh_base::key::NodeId"],["
    source§

    impl Ord for PublicKey

    source§

    fn cmp(&self, other: &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 + PartialOrd,

    Restrict a value to a certain interval. Read more
    ","Ord","iroh_base::key::NodeId"],["
    source§

    impl PartialEq for PublicKey

    source§

    fn eq(&self, other: &PublicKey) -> bool

    This method tests for self and other values to be equal, and is used\nby ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
    ","PartialEq","iroh_base::key::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

    This method 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

    This method tests less than or equal to (for self and other) and is used by the <=\noperator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method 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

    This method tests greater than or equal to (for self and other) and is used by the >=\noperator. Read more
    ","PartialOrd","iroh_base::key::NodeId"],["
    source§

    impl PublicKey

    source

    pub fn as_bytes(&self) -> &[u8; 32]

    Get this public key as a byte array.

    \n
    source

    pub fn serialize_public_pem(&self) -> String

    Serializes the public key as PEM

    \n
    source

    pub fn from_bytes(bytes: &[u8; 32]) -> Result<Self, SignatureError>

    Construct a PublicKey from a slice of bytes.

    \n
    §Warning
    \n

    This will return a [SignatureError] if the bytes passed into this method do not represent\na valid ed25519_dalek curve point. Will never fail for bytes return from Self::as_bytes.\nSee [VerifyingKey::from_bytes] for details.

    \n
    source

    pub fn verify(\n &self,\n message: &[u8],\n signature: &Signature\n) -> Result<(), SignatureError>

    Verify a signature on a message with this secret key’s public key.

    \n
    §Return
    \n

    Returns Ok(()) if the signature is valid, and Err otherwise.

    \n
    source

    pub fn fmt_short(&self) -> String

    Convert to a base32 string limited to the first 10 bytes for a friendly string\nrepresentation of the key.

    \n
    ",0,"iroh_base::key::NodeId"],["
    source§

    impl Serialize for PublicKey

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where\n S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    ","Serialize","iroh_base::key::NodeId"],["
    source§

    impl TryFrom<&[u8]> for PublicKey

    §

    type Error = Error

    The type returned in the event of a conversion error.
    source§

    fn try_from(bytes: &[u8]) -> Result<Self, Self::Error>

    Performs the conversion.
    ","TryFrom<&[u8]>","iroh_base::key::NodeId"],["
    source§

    impl TryFrom<&[u8; 32]> for PublicKey

    §

    type Error = Error

    The type returned in the event of a conversion error.
    source§

    fn try_from(bytes: &[u8; 32]) -> Result<Self, Self::Error>

    Performs the conversion.
    ","TryFrom<&[u8; 32]>","iroh_base::key::NodeId"],["
    source§

    impl Copy for PublicKey

    ","Copy","iroh_base::key::NodeId"],["
    source§

    impl Eq for PublicKey

    ","Eq","iroh_base::key::NodeId"],["
    source§

    impl StructuralPartialEq for PublicKey

    ","StructuralPartialEq","iroh_base::key::NodeId"]] +"iroh_base":[["
    source§

    impl AsRef<[u8]> for PublicKey

    source§

    fn as_ref(&self) -> &[u8] ⓘ

    Converts this type into a shared reference of the (usually inferred) input type.
    ","AsRef<[u8]>","iroh_base::key::NodeId"],["
    source§

    impl Clone for PublicKey

    source§

    fn clone(&self) -> PublicKey

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    ","Clone","iroh_base::key::NodeId"],["
    source§

    impl Debug for PublicKey

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    ","Debug","iroh_base::key::NodeId"],["
    source§

    impl<'de> Deserialize<'de> for PublicKey

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where\n D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    ","Deserialize<'de>","iroh_base::key::NodeId"],["
    source§

    impl Display for PublicKey

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    ","Display","iroh_base::key::NodeId"],["
    source§

    impl From<VerifyingKey> for PublicKey

    source§

    fn from(verifying_key: VerifyingKey) -> Self

    Converts to this type from the input type.
    ","From","iroh_base::key::NodeId"],["
    source§

    impl FromStr for PublicKey

    Deserialises the PublicKey from it’s base32 encoding.

    \n

    Display is capable of serialising this format.

    \n
    §

    type Err = KeyParsingError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    ","FromStr","iroh_base::key::NodeId"],["
    source§

    impl Hash for PublicKey

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where\n H: Hasher,\n Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    ","Hash","iroh_base::key::NodeId"],["
    source§

    impl Ord for PublicKey

    source§

    fn cmp(&self, other: &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 + PartialOrd,

    Restrict a value to a certain interval. Read more
    ","Ord","iroh_base::key::NodeId"],["
    source§

    impl PartialEq for PublicKey

    source§

    fn eq(&self, other: &PublicKey) -> bool

    This method tests for self and other values to be equal, and is used\nby ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
    ","PartialEq","iroh_base::key::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

    This method 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

    This method tests less than or equal to (for self and other) and is used by the <=\noperator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method 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

    This method tests greater than or equal to (for self and other) and is used by the >=\noperator. Read more
    ","PartialOrd","iroh_base::key::NodeId"],["
    source§

    impl PublicKey

    source

    pub fn as_bytes(&self) -> &[u8; 32]

    Get this public key as a byte array.

    \n
    source

    pub fn serialize_public_pem(&self) -> String

    Serializes the public key as PEM

    \n
    source

    pub fn from_bytes(bytes: &[u8; 32]) -> Result<Self, SignatureError>

    Construct a PublicKey from a slice of bytes.

    \n
    §Warning
    \n

    This will return a [SignatureError] if the bytes passed into this method do not represent\na valid ed25519_dalek curve point. Will never fail for bytes return from Self::as_bytes.\nSee [VerifyingKey::from_bytes] for details.

    \n
    source

    pub fn verify(\n &self,\n message: &[u8],\n signature: &Signature\n) -> Result<(), SignatureError>

    Verify a signature on a message with this secret key’s public key.

    \n
    §Return
    \n

    Returns Ok(()) if the signature is valid, and Err otherwise.

    \n
    source

    pub fn fmt_short(&self) -> String

    Convert to a base32 string limited to the first 10 bytes for a friendly string\nrepresentation of the key.

    \n
    ",0,"iroh_base::key::NodeId"],["
    source§

    impl Serialize for PublicKey

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where\n S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    ","Serialize","iroh_base::key::NodeId"],["
    source§

    impl TryFrom<&[u8]> for PublicKey

    §

    type Error = Error

    The type returned in the event of a conversion error.
    source§

    fn try_from(bytes: &[u8]) -> Result<Self, Self::Error>

    Performs the conversion.
    ","TryFrom<&[u8]>","iroh_base::key::NodeId"],["
    source§

    impl TryFrom<&[u8; 32]> for PublicKey

    §

    type Error = Error

    The type returned in the event of a conversion error.
    source§

    fn try_from(bytes: &[u8; 32]) -> Result<Self, Self::Error>

    Performs the conversion.
    ","TryFrom<&[u8; 32]>","iroh_base::key::NodeId"],["
    source§

    impl Copy for PublicKey

    ","Copy","iroh_base::key::NodeId"],["
    source§

    impl Eq for PublicKey

    ","Eq","iroh_base::key::NodeId"],["
    source§

    impl StructuralPartialEq for PublicKey

    ","StructuralPartialEq","iroh_base::key::NodeId"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file