From cbb8024be3393ed8cb00d10fdc4abd8266cdefa5 Mon Sep 17 00:00:00 2001 From: dignifiedquire Date: Mon, 6 Oct 2025 10:20:37 +0000 Subject: [PATCH] deploy: 61908ea731e3cd6524f0eef4f914c477c08ec470 --- .../constant.ENV_FORCE_STAGING_RELAYS.html | 2 +- .../iroh/endpoint/enum.AddNodeAddrError.html | 2 +- .../docs/iroh/endpoint/enum.AlpnError.html | 8 +- .../docs/iroh/endpoint/enum.BindError.html | 6 +- .../docs/iroh/endpoint/enum.ConnectError.html | 8 +- .../endpoint/enum.ConnectWithOptsError.html | 8 +- .../iroh/endpoint/enum.ConnectionError.html | 2 +- .../endpoint/enum.GetMappingAddressError.html | 6 +- .../iroh/endpoint/enum.PathSelection.html | 6 +- .../docs/iroh/endpoint/enum.RelayMode.html | 8 +- .../iroh/endpoint/fn.default_relay_mode.html | 2 +- .../iroh/endpoint/fn.force_staging_infra.html | 2 +- pr/3465/docs/iroh/endpoint/index.html | 2 +- pr/3465/docs/iroh/endpoint/struct.Accept.html | 6 +- .../docs/iroh/endpoint/struct.Builder.html | 46 +- .../iroh/endpoint/struct.ConnectOptions.html | 10 +- .../docs/iroh/endpoint/struct.Connecting.html | 12 +- .../docs/iroh/endpoint/struct.Connection.html | 50 +- .../docs/iroh/endpoint/struct.Endpoint.html | 131 +- .../docs/iroh/endpoint/struct.Incoming.html | 20 +- .../iroh/endpoint/struct.IncomingFuture.html | 6 +- .../endpoint/struct.RemoteNodeIdError.html | 4 +- .../iroh/endpoint/struct.ZeroRttAccepted.html | 4 +- pr/3465/docs/search-index.js | 4 +- pr/3465/docs/search.desc/iroh/iroh-desc-0-.js | 2 +- pr/3465/docs/src/iroh/discovery.rs.html | 12 +- pr/3465/docs/src/iroh/endpoint.rs.html | 6247 +++++++++-------- pr/3465/docs/src/iroh/magicsock.rs.html | 18 +- pr/3465/docs/src/iroh/protocol.rs.html | 4 +- pr/3465/docs/src/iroh_bench/iroh.rs.html | 6 +- pr/3465/docs/src/iroh_relay/node_info.rs.html | 2 +- 31 files changed, 3342 insertions(+), 3304 deletions(-) diff --git a/pr/3465/docs/iroh/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html b/pr/3465/docs/iroh/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html index 05f73b3abf..475659f8fd 100644 --- a/pr/3465/docs/iroh/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html +++ b/pr/3465/docs/iroh/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html @@ -1,2 +1,2 @@ -ENV_FORCE_STAGING_RELAYS in iroh::endpoint - Rust

Constant ENV_FORCE_STAGING_RELAYS

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

Environment variable to force the use of staging relays.

+ENV_FORCE_STAGING_RELAYS in iroh::endpoint - Rust

Constant ENV_FORCE_STAGING_RELAYS

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

Environment variable to force the use of staging relays.

\ No newline at end of file diff --git a/pr/3465/docs/iroh/endpoint/enum.AddNodeAddrError.html b/pr/3465/docs/iroh/endpoint/enum.AddNodeAddrError.html index e2b558246c..78f6beeffd 100644 --- a/pr/3465/docs/iroh/endpoint/enum.AddNodeAddrError.html +++ b/pr/3465/docs/iroh/endpoint/enum.AddNodeAddrError.html @@ -16,7 +16,7 @@ Self: Debug + Display,
Source§

fn description(&self) -> &str

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

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

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

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

Returns the lower-level source of this error, if any. Read more
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 ErrorCompat for AddNodeAddrError

Source§

fn backtrace(&self) -> Option<&Backtrace>

Returns a [Backtrace][] that may be printed.
§

fn iter_chain(&self) -> ChainCompat<'_, '_>
where Self: AsErrorSource,

Returns an iterator for traversing the chain of errors, starting with the current error -and continuing with recursive calls to Error::source. Read more
Source§

impl From<AddNodeAddrError> for ConnectWithOptsError

Source§

fn from(error: AddNodeAddrError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +and continuing with recursive calls to Error::source. Read more

Source§

impl From<AddNodeAddrError> for ConnectWithOptsError

Source§

fn from(error: AddNodeAddrError) -> 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<T> AsErrorSource for T
where T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method to benefit from Rust’s automatic dereferencing of method diff --git a/pr/3465/docs/iroh/endpoint/enum.AlpnError.html b/pr/3465/docs/iroh/endpoint/enum.AlpnError.html index 2d70c56bb6..6b2c2376fe 100644 --- a/pr/3465/docs/iroh/endpoint/enum.AlpnError.html +++ b/pr/3465/docs/iroh/endpoint/enum.AlpnError.html @@ -1,4 +1,4 @@ -AlpnError in iroh::endpoint - Rust

Enum AlpnError

Source
#[non_exhaustive]
pub enum AlpnError { +AlpnError in iroh::endpoint - Rust

Enum AlpnError

Source
#[non_exhaustive]
pub enum AlpnError { ConnectionError { source: ConnectionError, backtrace: Option<Backtrace>, @@ -12,11 +12,11 @@ backtrace: Option<Backtrace>, span_trace: SpanTrace, }, -}

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

ConnectionError

Fields

§backtrace: Option<Backtrace>
§span_trace: SpanTrace
§

Unavailable

Fields

§backtrace: Option<Backtrace>
§span_trace: SpanTrace
§

UnknownHandshake

Fields

§backtrace: Option<Backtrace>
§span_trace: SpanTrace

Trait Implementations§

Source§

impl Debug for AlpnError

Source§

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

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

impl Display for AlpnError

Source§

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

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

impl Error for AlpnError
where - Self: Debug + Display,

Source§

fn description(&self) -> &str

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

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

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

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

Returns the lower-level source of this error, if any. Read more
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 ErrorCompat for AlpnError

Source§

fn backtrace(&self) -> Option<&Backtrace>

Returns a [Backtrace][] that may be printed.
§

fn iter_chain(&self) -> ChainCompat<'_, '_>
where +}

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

ConnectionError

Fields

§backtrace: Option<Backtrace>
§span_trace: SpanTrace
§

Unavailable

Fields

§backtrace: Option<Backtrace>
§span_trace: SpanTrace
§

UnknownHandshake

Fields

§backtrace: Option<Backtrace>
§span_trace: SpanTrace

Trait Implementations§

Source§

impl Debug for AlpnError

Source§

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

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

impl Display for AlpnError

Source§

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

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

impl Error for AlpnError
where + Self: Debug + Display,

Source§

fn description(&self) -> &str

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

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

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

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

Returns the lower-level source of this error, if any. Read more
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 ErrorCompat for AlpnError

Source§

fn backtrace(&self) -> Option<&Backtrace>

Returns a [Backtrace][] that may be printed.
§

fn iter_chain(&self) -> ChainCompat<'_, '_>
where Self: AsErrorSource,

Returns an iterator for traversing the chain of errors, starting with the current error -and continuing with recursive calls to Error::source. Read more
Source§

impl From<ConnectionError> for AlpnError

Source§

fn from(error: ConnectionError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +and continuing with recursive calls to Error::source. Read more

Source§

impl From<ConnectionError> for AlpnError

Source§

fn from(error: ConnectionError) -> 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<T> AsErrorSource for T
where T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method to benefit from Rust’s automatic dereferencing of method diff --git a/pr/3465/docs/iroh/endpoint/enum.BindError.html b/pr/3465/docs/iroh/endpoint/enum.BindError.html index c75de3736b..ca765cde83 100644 --- a/pr/3465/docs/iroh/endpoint/enum.BindError.html +++ b/pr/3465/docs/iroh/endpoint/enum.BindError.html @@ -1,11 +1,11 @@ -BindError in iroh::endpoint - Rust

Enum BindError

Source
#[non_exhaustive]
pub enum BindError { +BindError in iroh::endpoint - Rust

Enum BindError

Source
#[non_exhaustive]
pub enum BindError { MagicSpawn { source: CreateHandleError, backtrace: Option<Backtrace>, span_trace: SpanTrace, }, -}

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

MagicSpawn

Fields

§source: CreateHandleError
§backtrace: Option<Backtrace>
§span_trace: SpanTrace

Trait Implementations§

Source§

impl Debug for BindError

Source§

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

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

impl Display for BindError

Source§

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

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

impl Error for BindError
where - Self: Debug + Display,

Source§

fn description(&self) -> &str

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

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

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

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

Returns the lower-level source of this error, if any. Read more
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 ErrorCompat for BindError

Source§

fn backtrace(&self) -> Option<&Backtrace>

Returns a [Backtrace][] that may be printed.
§

fn iter_chain(&self) -> ChainCompat<'_, '_>
where +}

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

MagicSpawn

Fields

§source: CreateHandleError
§backtrace: Option<Backtrace>
§span_trace: SpanTrace

Trait Implementations§

Source§

impl Debug for BindError

Source§

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

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

impl Display for BindError

Source§

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

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

impl Error for BindError
where + Self: Debug + Display,

Source§

fn description(&self) -> &str

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

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

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

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

Returns the lower-level source of this error, if any. Read more
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 ErrorCompat for BindError

Source§

fn backtrace(&self) -> Option<&Backtrace>

Returns a [Backtrace][] that may be printed.
§

fn iter_chain(&self) -> ChainCompat<'_, '_>
where Self: AsErrorSource,

Returns an iterator for traversing the chain of errors, starting with the current error and continuing with recursive calls to Error::source. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where diff --git a/pr/3465/docs/iroh/endpoint/enum.ConnectError.html b/pr/3465/docs/iroh/endpoint/enum.ConnectError.html index 3a5be3c749..9e9352ebea 100644 --- a/pr/3465/docs/iroh/endpoint/enum.ConnectError.html +++ b/pr/3465/docs/iroh/endpoint/enum.ConnectError.html @@ -1,4 +1,4 @@ -ConnectError in iroh::endpoint - Rust

Enum ConnectError

Source
#[non_exhaustive]
pub enum ConnectError { +ConnectError in iroh::endpoint - Rust

Enum ConnectError

Source
#[non_exhaustive]
pub enum ConnectError { Connect { source: Box<ConnectWithOptsError>, backtrace: Option<Backtrace>, @@ -9,11 +9,11 @@ backtrace: Option<Backtrace>, span_trace: SpanTrace, }, -}

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

Connect

Fields

§backtrace: Option<Backtrace>
§span_trace: SpanTrace
§

Connection

Fields

§backtrace: Option<Backtrace>
§span_trace: SpanTrace

Trait Implementations§

Source§

impl Debug for ConnectError

Source§

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

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

impl Display for ConnectError

Source§

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

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

impl Error for ConnectError
where - Self: Debug + Display,

Source§

fn description(&self) -> &str

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

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

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

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

Returns the lower-level source of this error, if any. Read more
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 ErrorCompat for ConnectError

Source§

fn backtrace(&self) -> Option<&Backtrace>

Returns a [Backtrace][] that may be printed.
§

fn iter_chain(&self) -> ChainCompat<'_, '_>
where +}

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

Connect

Fields

§backtrace: Option<Backtrace>
§span_trace: SpanTrace
§

Connection

Fields

§backtrace: Option<Backtrace>
§span_trace: SpanTrace

Trait Implementations§

Source§

impl Debug for ConnectError

Source§

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

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

impl Display for ConnectError

Source§

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

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

impl Error for ConnectError
where + Self: Debug + Display,

Source§

fn description(&self) -> &str

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

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

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

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

Returns the lower-level source of this error, if any. Read more
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 ErrorCompat for ConnectError

Source§

fn backtrace(&self) -> Option<&Backtrace>

Returns a [Backtrace][] that may be printed.
§

fn iter_chain(&self) -> ChainCompat<'_, '_>
where Self: AsErrorSource,

Returns an iterator for traversing the chain of errors, starting with the current error -and continuing with recursive calls to Error::source. Read more
Source§

impl From<ConnectWithOptsError> for ConnectError

Source§

fn from(error: ConnectWithOptsError) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectionError> for ConnectError

Source§

fn from(error: ConnectionError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +and continuing with recursive calls to Error::source. Read more

Source§

impl From<ConnectWithOptsError> for ConnectError

Source§

fn from(error: ConnectWithOptsError) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectionError> for ConnectError

Source§

fn from(error: ConnectionError) -> 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<T> AsErrorSource for T
where T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method to benefit from Rust’s automatic dereferencing of method diff --git a/pr/3465/docs/iroh/endpoint/enum.ConnectWithOptsError.html b/pr/3465/docs/iroh/endpoint/enum.ConnectWithOptsError.html index 6e6c9b18df..cce5f844fc 100644 --- a/pr/3465/docs/iroh/endpoint/enum.ConnectWithOptsError.html +++ b/pr/3465/docs/iroh/endpoint/enum.ConnectWithOptsError.html @@ -1,4 +1,4 @@ -ConnectWithOptsError in iroh::endpoint - Rust

Enum ConnectWithOptsError

Source
#[non_exhaustive]
pub enum ConnectWithOptsError { +ConnectWithOptsError in iroh::endpoint - Rust

Enum ConnectWithOptsError

Source
#[non_exhaustive]
pub enum ConnectWithOptsError { AddNodeAddr { source: AddNodeAddrError, backtrace: Option<Backtrace>, @@ -18,11 +18,11 @@ backtrace: Option<Backtrace>, span_trace: SpanTrace, }, -}

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

AddNodeAddr

Fields

§backtrace: Option<Backtrace>
§span_trace: SpanTrace
§

SelfConnect

Fields

§backtrace: Option<Backtrace>
§span_trace: SpanTrace
§

NoAddress

Fields

§backtrace: Option<Backtrace>
§span_trace: SpanTrace
§

Quinn

Fields

§source: ConnectError
§backtrace: Option<Backtrace>
§span_trace: SpanTrace

Trait Implementations§

Source§

impl Debug for ConnectWithOptsError

Source§

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

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

impl Display for ConnectWithOptsError

Source§

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

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

impl Error for ConnectWithOptsError
where - Self: Debug + Display,

Source§

fn description(&self) -> &str

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

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

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

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

Returns the lower-level source of this error, if any. Read more
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 ErrorCompat for ConnectWithOptsError

Source§

fn backtrace(&self) -> Option<&Backtrace>

Returns a [Backtrace][] that may be printed.
§

fn iter_chain(&self) -> ChainCompat<'_, '_>
where +}

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

AddNodeAddr

Fields

§backtrace: Option<Backtrace>
§span_trace: SpanTrace
§

SelfConnect

Fields

§backtrace: Option<Backtrace>
§span_trace: SpanTrace
§

NoAddress

Fields

§backtrace: Option<Backtrace>
§span_trace: SpanTrace
§

Quinn

Fields

§source: ConnectError
§backtrace: Option<Backtrace>
§span_trace: SpanTrace

Trait Implementations§

Source§

impl Debug for ConnectWithOptsError

Source§

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

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

impl Display for ConnectWithOptsError

Source§

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

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

impl Error for ConnectWithOptsError
where + Self: Debug + Display,

Source§

fn description(&self) -> &str

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

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

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

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

Returns the lower-level source of this error, if any. Read more
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 ErrorCompat for ConnectWithOptsError

Source§

fn backtrace(&self) -> Option<&Backtrace>

Returns a [Backtrace][] that may be printed.
§

fn iter_chain(&self) -> ChainCompat<'_, '_>
where Self: AsErrorSource,

Returns an iterator for traversing the chain of errors, starting with the current error -and continuing with recursive calls to Error::source. Read more
Source§

impl From<AddNodeAddrError> for ConnectWithOptsError

Source§

fn from(error: AddNodeAddrError) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectWithOptsError> for ConnectError

Source§

fn from(error: ConnectWithOptsError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +and continuing with recursive calls to Error::source. Read more

Source§

impl From<AddNodeAddrError> for ConnectWithOptsError

Source§

fn from(error: AddNodeAddrError) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectWithOptsError> for ConnectError

Source§

fn from(error: ConnectWithOptsError) -> 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<T> AsErrorSource for T
where T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method to benefit from Rust’s automatic dereferencing of method diff --git a/pr/3465/docs/iroh/endpoint/enum.ConnectionError.html b/pr/3465/docs/iroh/endpoint/enum.ConnectionError.html index b4a7d9b353..b3355a311d 100644 --- a/pr/3465/docs/iroh/endpoint/enum.ConnectionError.html +++ b/pr/3465/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)>

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

fn description(&self) -> &str

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

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

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

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

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

impl From<Close> for ConnectionError

§

fn from(x: Close) -> ConnectionError

Converts to this type from the input type.
Source§

impl From<ConnectionError> for AcceptError

Source§

fn from(error: ConnectionError) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectionError> for AlpnError

Source§

fn from(error: ConnectionError) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectionError> for ConnectError

Source§

fn from(error: ConnectionError) -> Self

Converts to this type from the input type.
§

impl From<ConnectionError> for ReadError

§

fn from(source: ConnectionError) -> ReadError

Converts to this type from the input type.
§

impl From<ConnectionError> for ResetError

§

fn from(source: ConnectionError) -> ResetError

Converts to this type from the input type.
§

impl From<ConnectionError> for SendDatagramError

§

fn from(source: ConnectionError) -> SendDatagramError

Converts to this type from the input type.
§

impl From<ConnectionError> for StoppedError

§

fn from(source: ConnectionError) -> StoppedError

Converts to this type from the input type.
§

impl From<ConnectionError> for WriteError

§

fn from(source: ConnectionError) -> WriteError

Converts to this type from the input type.
§

impl From<Error> for ConnectionError

§

fn from(source: Error) -> ConnectionError

Converts to this type from the input type.
§

impl PartialEq for ConnectionError

§

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

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

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

Tests for !=. The default implementation is almost always sufficient, +

Trait Implementations§

§

impl Clone for ConnectionError

§

fn clone(&self) -> ConnectionError

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

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

Performs copy-assignment from source. Read more
§

impl Debug for ConnectionError

§

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

Formats the value using the given formatter. Read more
§

impl Display for ConnectionError

§

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

Formats the value using the given formatter. Read more
§

impl Error for ConnectionError

§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<Close> for ConnectionError

§

fn from(x: Close) -> ConnectionError

Converts to this type from the input type.
Source§

impl From<ConnectionError> for AcceptError

Source§

fn from(error: ConnectionError) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectionError> for AlpnError

Source§

fn from(error: ConnectionError) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectionError> for ConnectError

Source§

fn from(error: ConnectionError) -> Self

Converts to this type from the input type.
§

impl From<ConnectionError> for ReadError

§

fn from(source: ConnectionError) -> ReadError

Converts to this type from the input type.
§

impl From<ConnectionError> for ResetError

§

fn from(source: ConnectionError) -> ResetError

Converts to this type from the input type.
§

impl From<ConnectionError> for SendDatagramError

§

fn from(source: ConnectionError) -> SendDatagramError

Converts to this type from the input type.
§

impl From<ConnectionError> for StoppedError

§

fn from(source: ConnectionError) -> StoppedError

Converts to this type from the input type.
§

impl From<ConnectionError> for WriteError

§

fn from(source: ConnectionError) -> WriteError

Converts to this type from the input type.
§

impl From<Error> for ConnectionError

§

fn from(source: Error) -> ConnectionError

Converts to this type from the input type.
§

impl PartialEq for ConnectionError

§

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

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

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

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

impl Eq for ConnectionError

§

impl StructuralPartialEq for ConnectionError

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> AsErrorSource for T
where T: Error + 'static,

§

fn as_error_source(&self) -> &(dyn Error + 'static)

For maximum effectiveness, this needs to be called as a method diff --git a/pr/3465/docs/iroh/endpoint/enum.GetMappingAddressError.html b/pr/3465/docs/iroh/endpoint/enum.GetMappingAddressError.html index c2f85ccb9e..9f098a904e 100644 --- a/pr/3465/docs/iroh/endpoint/enum.GetMappingAddressError.html +++ b/pr/3465/docs/iroh/endpoint/enum.GetMappingAddressError.html @@ -1,4 +1,4 @@ -GetMappingAddressError in iroh::endpoint - Rust

Enum GetMappingAddressError

Source
#[non_exhaustive]
pub enum GetMappingAddressError { +GetMappingAddressError in iroh::endpoint - Rust

Enum GetMappingAddressError

Source
#[non_exhaustive]
pub enum GetMappingAddressError { DiscoveryStart { source: DiscoveryError, backtrace: Option<Backtrace>, @@ -13,8 +13,8 @@ backtrace: Option<Backtrace>, span_trace: SpanTrace, }, -}

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

DiscoveryStart

Fields

§backtrace: Option<Backtrace>
§span_trace: SpanTrace
§

Discover

Fields

§backtrace: Option<Backtrace>
§span_trace: SpanTrace
§

NoAddress

Fields

§backtrace: Option<Backtrace>
§span_trace: SpanTrace

Trait Implementations§

Source§

impl Debug for GetMappingAddressError

Source§

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

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

impl Display for GetMappingAddressError

Source§

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

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

impl Error for GetMappingAddressError
where - Self: Debug + Display,

Source§

fn description(&self) -> &str

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

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

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

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

Returns the lower-level source of this error, if any. Read more
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 ErrorCompat for GetMappingAddressError

Source§

fn backtrace(&self) -> Option<&Backtrace>

Returns a [Backtrace][] that may be printed.
§

fn iter_chain(&self) -> ChainCompat<'_, '_>
where +}

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

DiscoveryStart

Fields

§backtrace: Option<Backtrace>
§span_trace: SpanTrace
§

Discover

Fields

§backtrace: Option<Backtrace>
§span_trace: SpanTrace
§

NoAddress

Fields

§backtrace: Option<Backtrace>
§span_trace: SpanTrace

Trait Implementations§

Source§

impl Debug for GetMappingAddressError

Source§

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

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

impl Display for GetMappingAddressError

Source§

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

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

impl Error for GetMappingAddressError
where + Self: Debug + Display,

Source§

fn description(&self) -> &str

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

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

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

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

Returns the lower-level source of this error, if any. Read more
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 ErrorCompat for GetMappingAddressError

Source§

fn backtrace(&self) -> Option<&Backtrace>

Returns a [Backtrace][] that may be printed.
§

fn iter_chain(&self) -> ChainCompat<'_, '_>
where Self: AsErrorSource,

Returns an iterator for traversing the chain of errors, starting with the current error and continuing with recursive calls to Error::source. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where diff --git a/pr/3465/docs/iroh/endpoint/enum.PathSelection.html b/pr/3465/docs/iroh/endpoint/enum.PathSelection.html index 17f1e8c1b6..c17a780fd3 100644 --- a/pr/3465/docs/iroh/endpoint/enum.PathSelection.html +++ b/pr/3465/docs/iroh/endpoint/enum.PathSelection.html @@ -1,12 +1,12 @@ -PathSelection in iroh::endpoint - Rust

Enum PathSelection

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

Enum PathSelection

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

Defines the mode of path selection for all traffic flowing through the endpoint.

Variants§

§

All

Uses all available paths

§

RelayOnly

Forces all traffic to go exclusively through relays

-

Trait Implementations§

Source§

impl Clone for PathSelection

Source§

fn clone(&self) -> PathSelection

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

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

Performs copy-assignment from source. Read more
Source§

impl Debug for PathSelection

Source§

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

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

impl Default for PathSelection

Source§

fn default() -> PathSelection

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

impl PartialEq for PathSelection

Source§

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

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

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

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

impl Copy for PathSelection

Source§

impl Eq for PathSelection

Source§

impl StructuralPartialEq for PathSelection

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Clone for PathSelection

Source§

fn clone(&self) -> PathSelection

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

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

Performs copy-assignment from source. Read more
Source§

impl Debug for PathSelection

Source§

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

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

impl Default for PathSelection

Source§

fn default() -> PathSelection

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

impl PartialEq for PathSelection

Source§

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

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

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

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

impl Copy for PathSelection

Source§

impl Eq for PathSelection

Source§

impl StructuralPartialEq for PathSelection

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( diff --git a/pr/3465/docs/iroh/endpoint/enum.RelayMode.html b/pr/3465/docs/iroh/endpoint/enum.RelayMode.html index 24d8a7f570..5c50e85b2a 100644 --- a/pr/3465/docs/iroh/endpoint/enum.RelayMode.html +++ b/pr/3465/docs/iroh/endpoint/enum.RelayMode.html @@ -1,4 +1,4 @@ -RelayMode in iroh::endpoint - Rust

Enum RelayMode

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

Enum RelayMode

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

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

§

Staging

Use the staging relay servers from n0.

§

Custom(RelayMap)

Use a custom relay map.

-

Implementations§

Source§

impl RelayMode

Source

pub fn relay_map(&self) -> RelayMap

Returns the relay map for this mode.

-

Trait Implementations§

Source§

impl Clone for RelayMode

Source§

fn clone(&self) -> RelayMode

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

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

Performs copy-assignment from source. Read more
Source§

impl Debug for RelayMode

Source§

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

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

impl PartialEq for RelayMode

Source§

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

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

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

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

impl Eq for RelayMode

Source§

impl StructuralPartialEq for RelayMode

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Implementations§

Source§

impl RelayMode

Source

pub fn relay_map(&self) -> RelayMap

Returns the relay map for this mode.

+

Trait Implementations§

Source§

impl Clone for RelayMode

Source§

fn clone(&self) -> RelayMode

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

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

Performs copy-assignment from source. Read more
Source§

impl Debug for RelayMode

Source§

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

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

impl PartialEq for RelayMode

Source§

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

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

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

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

impl Eq for RelayMode

Source§

impl StructuralPartialEq for RelayMode

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( diff --git a/pr/3465/docs/iroh/endpoint/fn.default_relay_mode.html b/pr/3465/docs/iroh/endpoint/fn.default_relay_mode.html index 9e0e719fc0..c4267257d4 100644 --- a/pr/3465/docs/iroh/endpoint/fn.default_relay_mode.html +++ b/pr/3465/docs/iroh/endpoint/fn.default_relay_mode.html @@ -1,4 +1,4 @@ -default_relay_mode in iroh::endpoint - Rust

Function default_relay_mode

Source
pub fn default_relay_mode() -> RelayMode
Expand description

Returns the default relay mode.

+default_relay_mode in iroh::endpoint - Rust

Function default_relay_mode

Source
pub fn default_relay_mode() -> RelayMode
Expand description

Returns the default relay mode.

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

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

Function force_staging_infra

Source
pub fn force_staging_infra() -> bool
Expand description

Returns true if the use of staging relays is forced.

+force_staging_infra in iroh::endpoint - Rust

Function force_staging_infra

Source
pub fn force_staging_infra() -> bool
Expand description

Returns true if the use of staging relays is forced.

\ No newline at end of file diff --git a/pr/3465/docs/iroh/endpoint/index.html b/pr/3465/docs/iroh/endpoint/index.html index f880cc1560..16b3e48240 100644 --- a/pr/3465/docs/iroh/endpoint/index.html +++ b/pr/3465/docs/iroh/endpoint/index.html @@ -1,4 +1,4 @@ -iroh::endpoint - Rust

Module endpoint

Source
Expand description

The Endpoint allows establishing connections to other iroh nodes.

+iroh::endpoint - Rust

Module endpoint

Source
Expand description

The Endpoint allows establishing connections to other iroh nodes.

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

diff --git a/pr/3465/docs/iroh/endpoint/struct.Accept.html b/pr/3465/docs/iroh/endpoint/struct.Accept.html index 9759984190..9d022982b7 100644 --- a/pr/3465/docs/iroh/endpoint/struct.Accept.html +++ b/pr/3465/docs/iroh/endpoint/struct.Accept.html @@ -1,6 +1,6 @@ -Accept in iroh::endpoint - Rust

Struct Accept

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

Future produced by Endpoint::accept.

-

Trait Implementations§

Source§

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

Source§

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

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

impl Future for Accept<'_>

Source§

type Output = Option<Incoming>

The type of value produced on completion.
Source§

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

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

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

Struct Accept

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

Future produced by Endpoint::accept.

+

Trait Implementations§

Source§

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

Source§

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

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

impl Future for Accept<'_>

Source§

type Output = Option<Incoming>

The type of value produced on completion.
Source§

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

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

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where diff --git a/pr/3465/docs/iroh/endpoint/struct.Builder.html b/pr/3465/docs/iroh/endpoint/struct.Builder.html index 8f35264f35..4420d4b47a 100644 --- a/pr/3465/docs/iroh/endpoint/struct.Builder.html +++ b/pr/3465/docs/iroh/endpoint/struct.Builder.html @@ -1,24 +1,24 @@ -Builder in iroh::endpoint - Rust

Struct Builder

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

Builder for Endpoint.

+Builder in iroh::endpoint - Rust

Struct Builder

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

Builder for Endpoint.

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

To create the Endpoint call Builder::bind.

-

Implementations§

Source§

impl Builder

Source

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

Binds the magic endpoint.

-
Source

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

Sets the IPv4 bind address.

+

Implementations§

Source§

impl Builder

Source

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

Binds the magic endpoint.

+
Source

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

Sets the IPv4 bind address.

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

By default will use 0.0.0.0:0 to bind to.

-
Source

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

Sets the IPv6 bind address.

+
Source

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

Sets the IPv6 bind address.

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

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

-
Source

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

Sets a secret key to authenticate with other peers.

+
Source

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

Sets a secret key to authenticate with other peers.

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

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

-
Source

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

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

+
Source

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

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

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

-
Source

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

Sets the relay servers to assist in establishing connectivity.

+
Source

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

Sets the relay servers to assist in establishing connectivity.

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

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

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

-
Source

pub fn clear_discovery(self) -> Self

Removes all discovery services from the builder.

-
Source

pub fn discovery(self, discovery: impl IntoDiscovery) -> Self

Optionally sets a discovery mechanism for this endpoint.

+
Source

pub fn clear_discovery(self) -> Self

Removes all discovery services from the builder.

+
Source

pub fn discovery(self, discovery: impl IntoDiscovery) -> Self

Optionally sets a discovery mechanism for this endpoint.

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

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

See the documentation of the crate::discovery::Discovery trait for details.

-
Source

pub fn add_discovery(self, discovery: impl IntoDiscovery) -> Self

Adds a discovery mechanism for this endpoint.

+
Source

pub fn add_discovery(self, discovery: impl IntoDiscovery) -> Self

Adds a discovery mechanism for this endpoint.

The function discovery will be called on endpoint creation with the configured secret key of the endpoint. Discovery services that need to publish information need @@ -45,7 +45,7 @@ to use this secret key to sign the information.

direct addresses or relay URLs will fail.

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

See the documentation of the crate::discovery::Discovery trait for details.

-
Source

pub fn discovery_n0(self) -> Self

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

+
Source

pub fn discovery_n0(self) -> Self

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

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

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

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

-
Source

pub fn discovery_dht(self) -> Self

Available on crate feature discovery-pkarr-dht only.

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

+
Source

pub fn discovery_dht(self) -> Self

Available on crate feature discovery-pkarr-dht only.

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

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

-
Source

pub fn discovery_local_network(self) -> Self

Available on crate feature discovery-local-network only.

Configures the endpoint to also use local network discovery.

+
Source

pub fn discovery_local_network(self) -> Self

Available on crate feature discovery-local-network only.

Configures the endpoint to also use local network discovery.

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

-
Source

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

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

+
Source

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

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

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

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

-
Source

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

Sets a custom quinn::TransportConfig for this endpoint.

+
Source

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

Sets a custom quinn::TransportConfig for this endpoint.

The transport config contains parameters governing the QUIC state machine.

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

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

-
Source

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

Available on non-wasm_browser only.

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

+
Source

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

Available on non-wasm_browser only.

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

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

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

-
Source

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

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

-
Source

pub fn proxy_from_env(self) -> Self

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

+
Source

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

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

+
Source

pub fn proxy_from_env(self) -> Self

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

  • HTTP_PROXY
  • http_proxy
  • HTTPS_PROXY
  • https_proxy
-
Source

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

Enables saving the TLS pre-master key for connections.

+
Source

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

Enables saving the TLS pre-master key for connections.

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

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

-
Source

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

Available on crate feature test-utils only.

Skip verification of SSL certificates from relay servers

+
Source

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

Available on crate feature test-utils only.

Skip verification of SSL certificates from relay servers

May only be used in tests.

-
Source

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

Available on crate feature test-utils only.

This implies we only use the relay to communicate +

Source

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

Available on crate feature test-utils only.

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

-
Source

pub fn max_tls_tickets(self, n: usize) -> Self

Set the maximum number of TLS tickets to cache.

+
Source

pub fn max_tls_tickets(self, n: usize) -> Self

Set the maximum number of TLS tickets to cache.

Set this to a larger value if you want to do 0rtt connections to a large number of clients.

The default is 256, taking about 150 KiB in memory.

-

Trait Implementations§

Source§

impl Debug for Builder

Source§

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

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

impl Default for Builder

Source§

fn default() -> Self

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

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Debug for Builder

Source§

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

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

impl Default for Builder

Source§

fn default() -> Self

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

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( diff --git a/pr/3465/docs/iroh/endpoint/struct.ConnectOptions.html b/pr/3465/docs/iroh/endpoint/struct.ConnectOptions.html index b401f87cbc..1e450aa106 100644 --- a/pr/3465/docs/iroh/endpoint/struct.ConnectOptions.html +++ b/pr/3465/docs/iroh/endpoint/struct.ConnectOptions.html @@ -1,12 +1,12 @@ -ConnectOptions in iroh::endpoint - Rust

Struct ConnectOptions

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

Options for the Endpoint::connect_with_opts function.

-

Implementations§

Source§

impl ConnectOptions

Source

pub fn new() -> Self

Initializes new connection options.

+ConnectOptions in iroh::endpoint - Rust

Struct ConnectOptions

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

Options for the Endpoint::connect_with_opts function.

+

Implementations§

Source§

impl ConnectOptions

Source

pub fn new() -> Self

Initializes new connection options.

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

-
Source

pub fn with_transport_config( +

Source

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

Sets the QUIC transport config options for this connection.

-
Source

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

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

Source

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

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

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

-

Trait Implementations§

Source§

impl Clone for ConnectOptions

Source§

fn clone(&self) -> ConnectOptions

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

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

Performs copy-assignment from source. Read more
Source§

impl Debug for ConnectOptions

Source§

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

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

impl Default for ConnectOptions

Source§

fn default() -> ConnectOptions

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

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Clone for ConnectOptions

Source§

fn clone(&self) -> ConnectOptions

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

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

Performs copy-assignment from source. Read more
Source§

impl Debug for ConnectOptions

Source§

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

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

impl Default for ConnectOptions

Source§

fn default() -> ConnectOptions

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

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( diff --git a/pr/3465/docs/iroh/endpoint/struct.Connecting.html b/pr/3465/docs/iroh/endpoint/struct.Connecting.html index 46a849630b..500af2d42a 100644 --- a/pr/3465/docs/iroh/endpoint/struct.Connecting.html +++ b/pr/3465/docs/iroh/endpoint/struct.Connecting.html @@ -1,5 +1,5 @@ -Connecting in iroh::endpoint - Rust

Struct Connecting

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

In-progress connection attempt future

-

Implementations§

Source§

impl Connecting

Source

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

Converts this Connecting into a 0-RTT or 0.5-RTT connection at the cost of weakened +Connecting in iroh::endpoint - Rust

Struct Connecting

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

In-progress connection attempt future

+

Implementations§

Source§

impl Connecting

Source

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

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

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

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

-
Source

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

Parameters negotiated during the handshake

-
Source

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

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

-

Trait Implementations§

Source§

impl Debug for Connecting

Source§

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

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

impl Future for Connecting

Source§

type Output = Result<Connection, ConnectionError>

The type of value produced on completion.
Source§

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

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

impl<'pin> Unpin for Connecting
where +

Source

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

Parameters negotiated during the handshake

+
Source

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

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

+

Trait Implementations§

Source§

impl Debug for Connecting

Source§

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

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

impl Future for Connecting

Source§

type Output = Result<Connection, ConnectionError>

The type of value produced on completion.
Source§

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

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

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

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where diff --git a/pr/3465/docs/iroh/endpoint/struct.Connection.html b/pr/3465/docs/iroh/endpoint/struct.Connection.html index 77e76f1cba..bef94026ad 100644 --- a/pr/3465/docs/iroh/endpoint/struct.Connection.html +++ b/pr/3465/docs/iroh/endpoint/struct.Connection.html @@ -1,4 +1,4 @@ -Connection in iroh::endpoint - Rust

Struct Connection

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

A QUIC connection.

+Connection in iroh::endpoint - Rust

Struct Connection

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

A QUIC connection.

If all references to a connection (including every clone of the Connection handle, streams of incoming streams, and the various stream types) have been dropped, then the connection will be automatically closed with an error_code of 0 and an empty reason. You @@ -8,29 +8,29 @@ receiving CONNECTION_CLOSE the peer may drop any stream data not yet delivered t application. Connection::close describes in more detail how to gracefully close a connection without losing application data.

May be cloned to obtain another handle to the same connection.

-

Implementations§

Source§

impl Connection

Source

pub fn open_uni(&self) -> OpenUni<'_> ⓘ

Initiates a new outgoing unidirectional stream.

+

Implementations§

Source§

impl Connection

Source

pub fn open_uni(&self) -> OpenUni<'_> ⓘ

Initiates a new outgoing unidirectional stream.

Streams are cheap and instantaneous to open unless blocked by flow control. As a consequence, the peer won’t be notified that a stream has been opened until the stream is actually used.

-
Source

pub fn open_bi(&self) -> OpenBi<'_> ⓘ

Initiates a new outgoing bidirectional stream.

+
Source

pub fn open_bi(&self) -> OpenBi<'_> ⓘ

Initiates a new outgoing bidirectional stream.

Streams are cheap and instantaneous to open unless blocked by flow control. As a consequence, the peer won’t be notified that a stream has been opened until the stream is actually used. Calling open_bi then waiting on the RecvStream without writing anything to SendStream will never succeed.

-
Source

pub fn accept_uni(&self) -> AcceptUni<'_> ⓘ

Accepts the next incoming uni-directional stream.

-
Source

pub fn accept_bi(&self) -> AcceptBi<'_> ⓘ

Accept the next incoming bidirectional stream.

+
Source

pub fn accept_uni(&self) -> AcceptUni<'_> ⓘ

Accepts the next incoming uni-directional stream.

+
Source

pub fn accept_bi(&self) -> AcceptBi<'_> ⓘ

Accept the next incoming bidirectional stream.

Important Note: The peer that calls open_bi must write to its SendStream before the peer Connection is able to accept the stream using accept_bi(). Calling open_bi then waiting on the RecvStream without writing anything to the connected SendStream will never succeed.

-
Source

pub fn read_datagram(&self) -> ReadDatagram<'_> ⓘ

Receives an application datagram.

-
Source

pub async fn closed(&self) -> ConnectionError

Wait for the connection to be closed for any reason.

+
Source

pub fn read_datagram(&self) -> ReadDatagram<'_> ⓘ

Receives an application datagram.

+
Source

pub async fn closed(&self) -> ConnectionError

Wait for the connection to be closed for any reason.

Despite the return type’s name, closed connections are often not an error condition at the application layer. Cases that might be routine include ConnectionError::LocallyClosed and ConnectionError::ApplicationClosed.

-
Source

pub fn close_reason(&self) -> Option<ConnectionError>

If the connection is closed, the reason why.

+
Source

pub fn close_reason(&self) -> Option<ConnectionError>

If the connection is closed, the reason why.

Returns None if the connection is still open.

-
Source

pub fn close(&self, error_code: VarInt, reason: &[u8])

Closes the connection immediately.

+
Source

pub fn close(&self, error_code: VarInt, reason: &[u8])

Closes the connection immediately.

Pending operations will fail immediately with ConnectionError::LocallyClosed. No more data is sent to the peer and the peer may drop buffered data upon receiving the CONNECTION_CLOSE frame.

@@ -51,41 +51,41 @@ endpoint. Once the local side sends a CONNECTION_CLOSE frame in response to call close the remote endpoint may drop any data it received but is as yet undelivered to the application, including data that was acknowledged as received to the local endpoint.

-
Source

pub fn send_datagram(&self, data: Bytes) -> Result<(), SendDatagramError>

Transmits data as an unreliable, unordered application datagram.

+
Source

pub fn send_datagram(&self, data: Bytes) -> Result<(), SendDatagramError>

Transmits data as an unreliable, unordered application datagram.

Application datagrams are a low-level primitive. They may be lost or delivered out of order, and data must both fit inside a single QUIC packet and be smaller than the maximum dictated by the peer.

-
Source

pub fn max_datagram_size(&self) -> Option<usize>

Computes the maximum size of datagrams that may be passed to send_datagram.

+
Source

pub fn max_datagram_size(&self) -> Option<usize>

Computes the maximum size of datagrams that may be passed to send_datagram.

Returns None if datagrams are unsupported by the peer or disabled locally.

This may change over the lifetime of a connection according to variation in the path MTU estimate. The peer can also enforce an arbitrarily small fixed limit, but if the peer’s limit is large this is guaranteed to be a little over a kilobyte at minimum.

Not necessarily the maximum size of received datagrams.

-
Source

pub fn datagram_send_buffer_space(&self) -> usize

Bytes available in the outgoing datagram buffer.

+
Source

pub fn datagram_send_buffer_space(&self) -> usize

Bytes available in the outgoing datagram buffer.

When greater than zero, calling send_datagram with a datagram of at most this size is guaranteed not to cause older datagrams to be dropped.

-
Source

pub fn rtt(&self) -> Duration

Current best estimate of this connection’s latency (round-trip-time).

-
Source

pub fn stats(&self) -> ConnectionStats

Returns connection statistics.

-
Source

pub fn congestion_state(&self) -> Box<dyn Controller>

Current state of the congestion control algorithm, for debugging purposes.

-
Source

pub fn handshake_data(&self) -> Option<Box<dyn Any>>

Parameters negotiated during the handshake.

+
Source

pub fn rtt(&self) -> Duration

Current best estimate of this connection’s latency (round-trip-time).

+
Source

pub fn stats(&self) -> ConnectionStats

Returns connection statistics.

+
Source

pub fn congestion_state(&self) -> Box<dyn Controller>

Current state of the congestion control algorithm, for debugging purposes.

+
Source

pub fn handshake_data(&self) -> Option<Box<dyn Any>>

Parameters negotiated during the handshake.

Guaranteed to return Some on fully established connections or after Connecting::handshake_data() succeeds. See that method’s documentations for details on the returned value.

-
Source

pub fn alpn(&self) -> Option<Vec<u8>>

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

-
Source

pub fn peer_identity(&self) -> Option<Box<dyn Any>>

Cryptographic identity of the peer.

+
Source

pub fn alpn(&self) -> Option<Vec<u8>>

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

+
Source

pub fn peer_identity(&self) -> Option<Box<dyn Any>>

Cryptographic identity of the peer.

The dynamic type returned is determined by the configured Session. For the default rustls session, the return value can be downcast to a Vec<[rustls::pki_types::CertificateDer]>

-
Source

pub fn remote_node_id(&self) -> Result<NodeId, RemoteNodeIdError>

Returns the NodeId from the peer’s TLS certificate.

+
Source

pub fn remote_node_id(&self) -> Result<NodeId, RemoteNodeIdError>

Returns the NodeId from the peer’s TLS certificate.

The PublicKey of a node is also known as a NodeId. This PublicKey is included in the TLS certificate presented during the handshake when connecting. This function allows you to get the NodeId of the remote node of this connection.

-
Source

pub fn stable_id(&self) -> usize

A stable identifier for this connection.

+
Source

pub fn stable_id(&self) -> usize

A stable identifier for this connection.

Peer addresses and connection IDs can change, but this value will remain fixed for the lifetime of the connection.

-
Source

pub fn export_keying_material( +

Source

pub fn export_keying_material( &self, output: &mut [u8], label: &[u8], @@ -96,14 +96,14 @@ arguments and output buffers of equal length, they will get the same sequence of bytes in output. These bytes are cryptographically strong and pseudorandom, and are suitable for use as keying material.

See RFC5705 for more information.

-

Source

pub fn set_max_concurrent_uni_streams(&self, count: VarInt)

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

+
Source

pub fn set_max_concurrent_uni_streams(&self, count: VarInt)

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

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

-
Source

pub fn set_receive_window(&self, receive_window: VarInt)

Source

pub fn set_max_concurrent_bi_streams(&self, count: VarInt)

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

+
Source

pub fn set_receive_window(&self, receive_window: VarInt)

Source

pub fn set_max_concurrent_bi_streams(&self, count: VarInt)

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

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

-

Trait Implementations§

Source§

impl Clone for Connection

Source§

fn clone(&self) -> Connection

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

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Connection

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Clone for Connection

Source§

fn clone(&self) -> Connection

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

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Connection

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( diff --git a/pr/3465/docs/iroh/endpoint/struct.Endpoint.html b/pr/3465/docs/iroh/endpoint/struct.Endpoint.html index 83f41ce7ec..5723d10256 100644 --- a/pr/3465/docs/iroh/endpoint/struct.Endpoint.html +++ b/pr/3465/docs/iroh/endpoint/struct.Endpoint.html @@ -1,4 +1,4 @@ -Endpoint in iroh::endpoint - Rust

Struct Endpoint

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

Controls an iroh node, establishing connections with other nodes.

+Endpoint in iroh::endpoint - Rust

Struct Endpoint

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

Controls an iroh node, establishing connections with other nodes.

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

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

-

Implementations§

Source§

impl Endpoint

Source

pub fn builder() -> Builder

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

-
Source

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

Sets the list of accepted ALPN protocols.

+

Implementations§

Source§

impl Endpoint

Source

pub fn builder() -> Builder

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

+
Source

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

Sets the list of accepted ALPN protocols.

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

-
Source

pub async fn connect( +

Source

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

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

-

Source

pub async fn connect_with_opts( +

Source

pub async fn connect_with_opts( &self, node_addr: impl Into<NodeAddr>, alpn: &[u8], @@ -60,19 +60,51 @@ security concerns. establishing and maintaining direct connections. Carefully test settings you use and consider this currently as still rather experimental. -

Source

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

Accepts an incoming connection on the endpoint.

+
Source

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

Accepts an incoming connection on the endpoint.

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

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

-
Source

pub fn secret_key(&self) -> &SecretKey

Returns the secret_key of this endpoint.

-
Source

pub fn node_id(&self) -> NodeId

Returns the node id of this endpoint.

+
Source

pub fn add_node_addr_with_source( + &self, + node_addr: NodeAddr, + source: &'static str, +) -> Result<(), AddNodeAddrError>

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 +address that matches this node’s direct addresses will be silently ignored. The source is +used for logging exclusively and will not be stored.

+
§Using node discovery instead
+

It is strongly advised to use node discovery using the StaticProvider instead. +This provides more flexibility and future proofing.

+
§Errors
+

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

+
Source

pub fn secret_key(&self) -> &SecretKey

Returns the secret_key of this endpoint.

+
Source

pub fn node_id(&self) -> NodeId

Returns the node id of this endpoint.

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 fn node_addr(&self) -> impl Watcher<Value = Option<NodeAddr>> + use<>

Available on non-wasm_browser only.

Returns a Watcher for the current NodeAddr for this endpoint.

-

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

+
Source

pub fn node_addr(&self) -> NodeAddr

Returns the current NodeAddr.

+

If this is called right after the Endpoint has been created, there is +a good chance these fields will be empty.

+

Use the Endpoint::online method to ensure that the endpoint is considered +“online” (has contacted a relay server and has at least one local addresses) +before calling this method, if you want to ensure that the NodeAddr will +contain enough information to allow this endpoint to be dialable by +a remote endpoint.

+

Or, use the Endpoint::watch_node_addr method to get updates when the +NodeAddr changes.

+

The NodeAddr will change as:

+
    +
  • network conditions change
  • +
  • the endpoint connects to a relay server
  • +
  • the endpoint changes its preferred relay server
  • +
  • more addresses are discovered for this endpoint
  • +
+
Source

pub fn watch_node_addr(&self) -> impl Watcher<Value = Option<NodeAddr>> + use<>

Available on non-wasm_browser only.

Returns a Watcher for the current NodeAddr for this endpoint.

+

The observed NodeAddr will have the current RelayUrl and direct addresses.

Use Watcher::initialized to wait for a NodeAddr that is ready to be connected to:

use iroh::{Endpoint, Watcher};
@@ -81,48 +113,27 @@ as they would be returned by vec![b"my-alpn".to_vec()])
     .bind()
     .await?;
-let node_addr = endpoint.node_addr().initialized().await;
-
Source

pub fn home_relay(&self) -> impl Watcher<Value = Vec<RelayUrl>> + use<>

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

-

Every endpoint has a home Relay server which it chooses as the server with the -lowest latency out of the configured servers provided by Builder::relay_mode. -This is the server other iroh nodes can use to reliably establish a connection -to this node.

-

The watcher stores None if we are not connected to any Relay server.

-

Note that this will store None right after the Endpoint is created since it takes -some time to connect to find and connect to the home relay server.

-
§Examples
-

To wait for a home relay connection to be established, use Watcher::initialized:

- -
use iroh::{Endpoint, Watcher};
-
-let mep = Endpoint::builder().bind().await.unwrap();
-let _relay_url = mep.home_relay().initialized().await;
-
Source

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

Returns a Watcher for the direct addresses of this Endpoint.

-

The direct addresses of the Endpoint are those that could be used by other -iroh nodes to establish direct connectivity, depending on the network -situation. The yielded lists of direct addresses contain both the locally-bound -addresses and the Endpoint’s publicly reachable addresses discovered through -mechanisms such as QAD and port mapping. Hence usually only a subset of these -will be applicable to a certain remote iroh node.

-

The Endpoint continuously monitors the direct addresses for changes as its own -location in the network might change. Whenever changes are detected this stream -will yield a new list of direct addresses.

-

When issuing the first call to this method the first direct address discovery might -still be underway, in this case the Watcher might not be initialized with Some -value yet. Once the first set of local direct addresses are discovered the Watcher -will always return Some set of direct addresses immediately, which are the most -recently discovered direct addresses.

-
§Examples
-

To get the first set of direct addresses use Watcher::initialized:

- -
use iroh::{Endpoint, Watcher as _};
-
-let ep = Endpoint::builder().bind().await.unwrap();
-let _addrs = ep.direct_addresses().initialized().await;
-
Source

pub fn bound_sockets(&self) -> Vec<SocketAddr>

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

+let node_addr = endpoint.watch_node_addr().initialized().await;

+

The Endpoint::online method can be used as a convenience method to +understand if the endpoint has ever been considered “online”. But after +that initial call to Endpoint::online, to understand if your +endpoint is no longer able to be connected to by endpoints outside +of the private or local network, watch for changes in it’s NodeAddr. +If the relay_url is None or if there are no direct_addresses in +the NodeAddr, you may not be dialable by other endpoints on the internet.

+

Source

pub async fn online(&self)

Available on non-wasm_browser only.

A convenience method that waits for the endpoint to be considered “online”.

+

This currently means at least one relay server was connected, +and at least one local IP address is available. +Event if no relays are configured, this will still wait for a relay connection.

+

Once this has been resolved once, this will always immediately resolve.

+

This has no timeout, so if that is needed, you need to wrap it in a timeout.

+

To understand if the endpoint has gone back “offline”, +you must use the Endpoint::watch_node_addr method, to +get information on the current relay and direct address information.

+
Source

pub fn bound_sockets(&self) -> Vec<SocketAddr>

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

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

-
Source

pub fn conn_type(&self, node_id: NodeId) -> Option<Direct<ConnectionType>>

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

Source

pub fn conn_type(&self, node_id: NodeId) -> Option<Direct<ConnectionType>>

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

This watcher allows observing a stream of ConnectionType items by calling Watcher::stream(). If the underlying connection to a remote node changes, it will @@ -140,13 +151,13 @@ or

Source

pub fn latency(&self, node_id: NodeId) -> Option<Duration>

Returns the currently lowest latency for this node.

+
Source

pub fn latency(&self, node_id: NodeId) -> Option<Duration>

Returns the currently lowest latency for this node.

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

-
Source

pub fn dns_resolver(&self) -> &DnsResolver

Available on non-wasm_browser only.

Returns the DNS resolver used in this Endpoint.

+
Source

pub fn dns_resolver(&self) -> &DnsResolver

Available on non-wasm_browser only.

Returns the DNS resolver used in this Endpoint.

See Builder::dns_resolver.

-
Source

pub fn discovery(&self) -> &ConcurrentDiscovery

Returns the discovery mechanism, if configured.

+
Source

pub fn discovery(&self) -> &ConcurrentDiscovery

Returns the discovery mechanism, if configured.

See Builder::discovery.

-
Source

pub fn metrics(&self) -> &EndpointMetrics

Available on crate feature metrics only.

Returns metrics collected for this endpoint.

+
Source

pub fn metrics(&self) -> &EndpointMetrics

Available on crate feature metrics only.

Returns metrics collected for this endpoint.

The endpoint internally collects various metrics about its operation. The returned EndpointMetrics struct contains all of these metrics.

You can access individual metrics directly by using the public fields:

@@ -217,7 +228,7 @@ registry.write().unwrap().register_all(endpoint.metrics()); assert!(res.contains(r#"TYPE magicsock_recv_datagrams counter"#)); assert!(res.contains(r#"magicsock_recv_datagrams_total 0"#));
-
Source

pub async fn network_change(&self)

Notifies the system of potential network changes.

+
Source

pub async fn network_change(&self)

Notifies the system of potential network changes.

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

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

-
Source

pub fn set_user_data_for_discovery(&self, user_data: Option<UserData>)

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

+
Source

pub fn set_user_data_for_discovery(&self, user_data: Option<UserData>)

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

If the user-defined data passed to this function is different to the previous one, the endpoint will republish its node info to the configured discovery services.

See also Builder::user_data_for_discovery for setting an initial value when building the endpoint.

-
Source

pub async fn close(&self)

Closes the QUIC endpoint and the magic socket.

+
Source

pub async fn close(&self)

Closes the QUIC endpoint and the magic socket.

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

@@ -256,8 +267,8 @@ while TCP sockets usually get closed and drained by the operating system in the kernel during the “Time-Wait” period of the TCP socket.

Be aware however that the underlying UDP sockets are only closed once all clones of the the respective Endpoint are dropped.

-
Source

pub fn is_closed(&self) -> bool

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

-

Trait Implementations§

Source§

impl Clone for Endpoint

Source§

fn clone(&self) -> Endpoint

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

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Endpoint

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Source

pub fn is_closed(&self) -> bool

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

+

Trait Implementations§

Source§

impl Clone for Endpoint

Source§

fn clone(&self) -> Endpoint

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

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Endpoint

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( diff --git a/pr/3465/docs/iroh/endpoint/struct.Incoming.html b/pr/3465/docs/iroh/endpoint/struct.Incoming.html index d8ceb76251..e650e2c186 100644 --- a/pr/3465/docs/iroh/endpoint/struct.Incoming.html +++ b/pr/3465/docs/iroh/endpoint/struct.Incoming.html @@ -1,29 +1,29 @@ -Incoming in iroh::endpoint - Rust

Struct Incoming

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

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

Struct Incoming

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

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

-

Implementations§

Source§

impl Incoming

Source

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

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

+

Implementations§

Source§

impl Incoming

Source

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

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

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

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

-
Source

pub fn accept_with( +

Source

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

Accepts this incoming connection using a custom configuration.

See accept() for more details.

-
Source

pub fn refuse(self)

Rejects this incoming connection attempt.

-
Source

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

Responds with a retry packet.

+
Source

pub fn refuse(self)

Rejects this incoming connection attempt.

+
Source

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

Responds with a retry packet.

This requires the client to retry with address validation.

Errors if remote_address_validated() is true.

-
Source

pub fn ignore(self)

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

-
Source

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

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

Source

pub fn ignore(self)

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

+
Source

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

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

-
Source

pub fn remote_address(&self) -> SocketAddr

Returns the peer’s UDP address.

-
Source

pub fn remote_address_validated(&self) -> bool

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

+
Source

pub fn remote_address(&self) -> SocketAddr

Returns the peer’s UDP address.

+
Source

pub fn remote_address_validated(&self) -> bool

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

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

-

Trait Implementations§

Source§

impl Debug for Incoming

Source§

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

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

impl IntoFuture for Incoming

Source§

type Output = Result<Connection, ConnectionError>

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

type IntoFuture = IncomingFuture

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

fn into_future(self) -> Self::IntoFuture

Creates a future from a value. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Debug for Incoming

Source§

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

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

impl IntoFuture for Incoming

Source§

type Output = Result<Connection, ConnectionError>

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

type IntoFuture = IncomingFuture

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

fn into_future(self) -> Self::IntoFuture

Creates a future from a value. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( diff --git a/pr/3465/docs/iroh/endpoint/struct.IncomingFuture.html b/pr/3465/docs/iroh/endpoint/struct.IncomingFuture.html index db6843f20d..b67804fa2a 100644 --- a/pr/3465/docs/iroh/endpoint/struct.IncomingFuture.html +++ b/pr/3465/docs/iroh/endpoint/struct.IncomingFuture.html @@ -1,6 +1,6 @@ -IncomingFuture in iroh::endpoint - Rust

Struct IncomingFuture

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

Adaptor to let Incoming be awaited like a Connecting.

-

Trait Implementations§

Source§

impl Debug for IncomingFuture

Source§

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

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

impl Future for IncomingFuture

Source§

type Output = Result<Connection, ConnectionError>

The type of value produced on completion.
Source§

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

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

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

Struct IncomingFuture

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

Adaptor to let Incoming be awaited like a Connecting.

+

Trait Implementations§

Source§

impl Debug for IncomingFuture

Source§

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

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

impl Future for IncomingFuture

Source§

type Output = Result<Connection, ConnectionError>

The type of value produced on completion.
Source§

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

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

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

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where diff --git a/pr/3465/docs/iroh/endpoint/struct.RemoteNodeIdError.html b/pr/3465/docs/iroh/endpoint/struct.RemoteNodeIdError.html index 1d1cb27a20..68c38ceb53 100644 --- a/pr/3465/docs/iroh/endpoint/struct.RemoteNodeIdError.html +++ b/pr/3465/docs/iroh/endpoint/struct.RemoteNodeIdError.html @@ -1,5 +1,5 @@ -RemoteNodeIdError in iroh::endpoint - Rust

Struct RemoteNodeIdError

Source
pub struct RemoteNodeIdError { /* private fields */ }

Trait Implementations§

Source§

impl Debug for RemoteNodeIdError

Source§

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

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

impl Display for RemoteNodeIdError

Source§

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

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

impl Error for RemoteNodeIdError
where - Self: Debug + Display,

Source§

fn description(&self) -> &str

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

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

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

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

Returns the lower-level source of this error, if any. Read more
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 ErrorCompat for RemoteNodeIdError

Source§

fn backtrace(&self) -> Option<&Backtrace>

Returns a [Backtrace][] that may be printed.
§

fn iter_chain(&self) -> ChainCompat<'_, '_>
where +RemoteNodeIdError in iroh::endpoint - Rust

Struct RemoteNodeIdError

Source
pub struct RemoteNodeIdError { /* private fields */ }

Trait Implementations§

Source§

impl Debug for RemoteNodeIdError

Source§

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

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

impl Display for RemoteNodeIdError

Source§

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

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

impl Error for RemoteNodeIdError
where + Self: Debug + Display,

Source§

fn description(&self) -> &str

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

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

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

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

Returns the lower-level source of this error, if any. Read more
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 ErrorCompat for RemoteNodeIdError

Source§

fn backtrace(&self) -> Option<&Backtrace>

Returns a [Backtrace][] that may be printed.
§

fn iter_chain(&self) -> ChainCompat<'_, '_>
where Self: AsErrorSource,

Returns an iterator for traversing the chain of errors, starting with the current error and continuing with recursive calls to Error::source. Read more
Source§

impl From<RemoteNodeIdError> for AcceptError

Source§

fn from(error: RemoteNodeIdError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where diff --git a/pr/3465/docs/iroh/endpoint/struct.ZeroRttAccepted.html b/pr/3465/docs/iroh/endpoint/struct.ZeroRttAccepted.html index 31874f1329..03421a768c 100644 --- a/pr/3465/docs/iroh/endpoint/struct.ZeroRttAccepted.html +++ b/pr/3465/docs/iroh/endpoint/struct.ZeroRttAccepted.html @@ -1,7 +1,7 @@ -ZeroRttAccepted in iroh::endpoint - Rust

Struct ZeroRttAccepted

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

Future that completes when a connection is fully established.

+ZeroRttAccepted in iroh::endpoint - Rust

Struct ZeroRttAccepted

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

Future that completes when a connection is fully established.

For clients, the resulting value indicates if 0-RTT was accepted. For servers, the resulting value is meaningless.

-

Trait Implementations§

Source§

impl Debug for ZeroRttAccepted

Source§

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

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

impl Future for ZeroRttAccepted

Source§

type Output = bool

The type of value produced on completion.
Source§

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

Attempts to resolve the future to a final value, registering +

Trait Implementations§

Source§

impl Debug for ZeroRttAccepted

Source§

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

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

impl Future for ZeroRttAccepted

Source§

type Output = bool

The type of value produced on completion.
Source§

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

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

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where diff --git a/pr/3465/docs/search-index.js b/pr/3465/docs/search-index.js index 4e1e4608e1..78a1cd7c3f 100644 --- a/pr/3465/docs/search-index.js +++ b/pr/3465/docs/search-index.js @@ -1,4 +1,4 @@ -var searchIndex = new Map(JSON.parse('[["bulk",{"t":"HHHHH","n":["collect_and_print","main","run_iroh","run_quinn","run_s2n"],"q":[[0,"bulk"],[5,"iroh_metrics::base"],[6,"iroh_bench"],[7,"n0_snafu::error"],[8,"iroh_bench::s2n"]],"i":"`````","f":"{{{d{b}}{d{f}}}h}{{}h}{j{{l{h}}}}0{n{{l{h}}}}","D":"`","p":[[1,"str"],[1,"reference",null,null,1],[10,"MetricsGroup",5],[1,"unit"],[5,"Opt",6],[8,"Result",7],[5,"Opt",8]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAAUAAQAAAAUA","P":[]}],["iroh",{"t":"PPEPGTFIFFEFFFFRKNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNOCCNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNNNNMNNNNCCNOCNNNNNNNNNNNNNNMCNNONONNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNOOOOOOOOSSSSCCSSSHHHHSSHHHPFPKFGF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NNNNNNNOOOOOOONNNNPFFGPPFFFNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNOONNOONNNNNNNNONOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNPGPGPSPPPPFFKFPPGPFPNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNONNNNNNNNNMNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOGFPKPPKFFPNNMMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNONHHNNNNNNNNN","n":["Decode","DecodeInvalidLength","Endpoint","Key","KeyParsingError","LENGTH","NodeAddr","NodeId","PublicKey","RelayMap","RelayMode","RelayNode","RelayUrl","RelayUrlParseError","SecretKey","Value","Watcher","__clone_box","","","","","","and","","","","","","","","as_bytes","as_error_source","","as_ref","backtrace","","borrow","","","","","","","","","borrow_mut","","","","","","","","cause","","clone","","","","","","clone_into","","","","","","clone_to_uninit","","","","","","cmp","","","","compare","","","","compat","","","","","","","","compat_mut","","","","","","","","compat_ref","","","","","","","","contains_node","defaults","deref","","","","","","","","","","deref_mut","","","","","","","","description","","deserialize","","","","","direct_addresses","","discovery","dns","drop","","","","","","","","empty","endpoint","eq","","","","","equivalent","","","","","","","","","","","","","","","","","","","","fmt","","","","","","","","","","","","","","fmt_short","from","","","","","","","","","","","","","","","","","","","","","from_bytes","","from_iter","","from_parts","from_ref","","","","","","from_str","","","from_z32","generate","get","get_node","hash","","","in_current_span","","init","","","","","","","","initialized","into","","","","","","","","is_connected","is_empty","","len","map","metrics","net_report","new","node_id","node_info","nodes","or","","","","","","","","","partial_cmp","","","","poll_updated","protocol","public","","quic","relay_url","","secret","serialize","","","","","sign","source","","stream","stream_updates_only","test_utils","to_bytes","to_owned","","","","","","to_string","","","","","","to_z32","try_from","","","","","","","","","","","try_into","","","","","","","","try_to_string","","","","","","type_id","","","","","","","","updated","url","urls","verify","vzip","","","","","","","","with_direct_addresses","with_relay_url","backtrace","","","source","","span_trace","","","DEFAULT_HTTPS_PORT","DEFAULT_HTTP_PORT","DEFAULT_METRICS_PORT","DEFAULT_RELAY_QUIC_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","AttrFromString","ConcurrentDiscovery","DecodingError","Discovery","DiscoveryContext","DiscoveryError","DiscoveryItem","IntoDiscovery","IntoDiscoveryError","MAX_LENGTH","NoResults","NoServiceConfigured","NodeData","NodeInfo","NotAnIrohRecord","NumLabels","ParseError","UnexpectedFormat","User","","UserData","Utf8","__clone_box","","","","","add","add_direct_addresses","and","","","","","","","","","as_error_source","","","as_ref","backtrace","","","borrow","","","","","","","","","borrow_mut","","","","","","","","","cause","","","clear_direct_addresses","clone","","","","","clone_into","","","","","clone_to_uninit","","","","","cmp","compare","compat","","","","","","","","","compat_mut","","","","","","","","","compat_ref","","","","","","","","","data","default","","deref","","","","","","","","","","","deref_mut","","","","","","","","","","description","","","direct_addresses","dns","dns_resolver","drop","","","","","","","","","empty","eq","","","","equivalent","","","","","","","","","","","","","","","","fmt","","","","","","","","","","","","","from","","","","","","","","","","","","","","","","","from_err","","from_err_box","","from_parts","from_pkarr_signed_packet","from_ref","","","","","from_services","from_str","from_txt_lookup","hash","in_current_span","","","init","","","","","","","","","into","","","","","","","","","into_discovery","","into_node_addr","","is_empty","last_updated","len","mdns","new","","","node_id","","","node_info","or","","","","","","","","","partial_cmp","pkarr","provenance","publish","","relay_url","resolve","","secret_key","set_relay_url","set_user_data","source","","","static_provider","to_node_addr","","to_owned","","","","","to_pkarr_signed_packet","to_string","","","","to_txt_strings","try_from","","","","","","","","","","try_into","","","","","","","","","try_to_string","","","","type_id","","","","","","","","","user_data","","vzip","","","","","","","","","with_direct_addresses","","with_relay_url","","with_user_data","","backtrace","","","node_id","provenance","source","span_trace","","","backtrace","provenance","source","span_trace","backtrace","","","","","","key","label","num_labels","s","source","","span_trace","","","","","","DnsDiscovery","DnsDiscoveryBuilder","N0_DNS_NODE_ORIGIN_PROD","N0_DNS_NODE_ORIGIN_STAGING","and","","borrow","","borrow_mut","","build","builder","compat","","compat_mut","","compat_ref","","deref","","deref_mut","","dns_resolver","drop","","fmt","","from","","init","","into","","into_discovery","","n0_dns","or","","resolve","try_from","","try_into","","type_id","","vzip","","Discovered","DiscoveryEvent","Expired","MdnsDiscovery","MdnsDiscoveryBuilder","NAME","__clone_box","","advertise","and","","","borrow","","","borrow_mut","","","build","builder","clone","","clone_into","","clone_to_uninit","","compat","","","compat_mut","","","compat_ref","","","default","deref","","","deref_mut","","","drop","","","eq","equivalent","","","","fmt","","","from","","","from_ref","","init","","","into","","","into_discovery","","or","","","publish","resolve","service_name","subscribe","to_owned","","try_from","","","try_into","","","type_id","","","vzip","","","last_updated","node_id","node_info","DEFAULT_PKARR_TTL","DEFAULT_REPUBLISH_INTERVAL","Encoding","HttpPayload","HttpRequest","HttpSend","InvalidRelayUrl","N0_DNS_PKARR_RELAY_PROD","N0_DNS_PKARR_RELAY_STAGING","PkarrError","PkarrPublisher","PkarrPublisherBuilder","PkarrRelayClient","PkarrResolver","PkarrResolverBuilder","PublicKey","Verify","__clone_box","","","and","","","","","","as_error_source","backtrace","borrow","","","","","","borrow_mut","","","","","","build","","builder","","cause","clone","","","clone_into","","","clone_to_uninit","","","compat","","","","","","compat_mut","","","","","","compat_ref","","","","","","deref","","","","","","deref_mut","","","","","","description","dht","dns_resolver","","drop","","","","","","fmt","","","","","","","from","","","","","","from_ref","","","in_current_span","init","","","","","","into","","","","","","into_discovery","","","","n0_dns","","new","or","","","","","","publish","","republish_interval","resolve","","source","to_owned","","","to_string","try_from","","","","","","try_into","","","","","","try_to_string","ttl","type_id","","","","","","update_node_data","vzip","","","","","","with_dns_resolver","source","","","","","status","url","Builder","DhtDiscovery","__clone_box","and","","borrow","","borrow_mut","","build","builder","client","clone","clone_into","clone_to_uninit","compat","","compat_mut","","compat_ref","","default","","deref","","deref_mut","","dht","drop","","fmt","","from","","from_ref","include_direct_addresses","init","","into","","into_discovery","","n0_dns_pkarr_relay","no_publish","or","","pkarr_relay","publish","republish_delay","resolve","secret_key","to_owned","try_from","","try_into","","ttl","type_id","","vzip","","PROVENANCE","StaticProvider","__clone_box","add_node_info","and","borrow","borrow_mut","clone","clone_into","clone_to_uninit","compat","compat_mut","compat_ref","default","deref","deref_mut","drop","fmt","from","from_node_info","from_ref","get_node_info","init","into","into_discovery","new","or","publish","remove_node_info","resolve","set_node_info","to_owned","try_from","try_into","type_id","vzip","DnsResolver","N0_DNS_NODE_ORIGIN_PROD","N0_DNS_NODE_ORIGIN_STAGING","__clone_box","and","borrow","borrow_mut","builder","clear_cache","clone","clone_into","clone_to_uninit","compat","compat_mut","compat_ref","custom","default","deref","deref_mut","drop","fmt","from","from_ref","init","into","lookup_ipv4","lookup_ipv4_ipv6","lookup_ipv4_ipv6_staggered","lookup_ipv4_staggered","lookup_ipv6","lookup_ipv6_staggered","lookup_node_by_domain_name","lookup_node_by_domain_name_staggered","lookup_node_by_id","lookup_node_by_id_staggered","lookup_txt","new","or","reset","resolve","resolve_host","to_owned","try_from","try_into","type_id","vzip","with_nameserver","AEAD_LIMIT_REACHED","APPLICATION_ERROR","Accept","AcceptBi","AcceptUni","AckFrequencyConfig","AddNodeAddr","AddNodeAddrError","AeadKey","All","AlpnError","App","ApplicationClose","ApplicationClosed","BindError","Builder","CONNECTION_ID_LIMIT_ERROR","CONNECTION_REFUSED","CRYPTO_BUFFER_EXCEEDED","CallMeMaybe","Chunk","CidsExhausted","ClosedStream","","","Connect","ConnectError","ConnectOptions","ConnectWithOptsError","Connecting","Connection","","ConnectionClose","ConnectionClosed","ConnectionError","","ConnectionLost","","","","","ConnectionStats","ConnectionType","ControlMsg","Controller","ControllerFactory","CryptoError","CryptoServerConfig","Custom","Default","Direct","DirectAddr","DirectAddrInfo","DirectAddrType","Disabled","","Discover","Discovery","DiscoveryStart","ENV_FORCE_STAGING_RELAYS","Empty","EmptyPruned","Endpoint","ExportKeyingMaterialError","FINAL_SIZE_ERROR","FLOW_CONTROL_ERROR","FRAME_ENCODING_ERROR","FinishedEarly","FrameStats","GetMappingAddressError","HandshakeTokenKey","INTERNAL_ERROR","INVALID_TOKEN","IllegalOrderedRead","Incoming","IncomingFuture","KEY_UPDATE_ERROR","Local","LocallyClosed","MAX","MAX_SIZE","MagicSpawn","Mixed","MtuDiscoveryConfig","NO_ERROR","NO_VIABLE_PATH","NamedApp","NoAddress","","None","OpenBi","OpenUni","OwnAddress","PROTOCOL_VIOLATION","PathSelection","PathStats","Ping","Pong","Portmapped","Qad","Qad4LocalPort","Quinn","Read","ReadDatagram","ReadError","","ReadExactError","ReadToEndError","RecvStream","Relay","","RelayMode","RelayOnly","RemoteNodeIdError","Reset","","ResetError","RetryError","STREAM_LIMIT_ERROR","STREAM_STATE_ERROR","Saved","SelfConnect","SendDatagramError","SendStream","ServerConfig","Source","Staging","Stopped","StoppedError","StreamId","TRANSPORT_PARAMETER_ERROR","TimedOut","TooLarge","TooLong","TransportConfig","TransportError","","TransportErrorCode","Udp","UdpStats","Unavailable","Unknown","UnknownHandshake","UnsupportedByPeer","UnsupportedVersion","VarInt","VersionMismatch","WeakConnectionHandle","WriteError","Written","ZeroRttAccepted","ZeroRttRejected","","","","__clone_box","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","accept","","accept_bi","accept_uni","accept_with","ack_eliciting_threshold","ack_frequency","ack_frequency_config","acks","add_discovery","addr","","aead_from_hkdf","allow_spin","alpn","","alpns","and","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","as_error_source","","","","","","","","","","","","","","","","","","backtrace","","","","","","","bind","bind_addr_v4","bind_addr_v6","black_hole_cooldown","black_holes_detected","borrow","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bound_sockets","build","builder","bytes","","","cause","","","","","","","chunks","clear_discovery","clone","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_box","clone_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_to_uninit","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","close","","close_reason","closed","cmp","","","","code","compare","","","","compat","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","compat_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","compat_ref","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","congestion_controller_factory","congestion_events","congestion_state","conn_type","connect","connect_with_opts","connection_close","crypto","","","crypto_buffer_size","current_mtu","cwnd","data_blocked","datagram","datagram_receive_buffer_size","datagram_send_buffer_size","datagram_send_buffer_space","datagrams","decode","","","default","","","","","","","","","","","","","","default_relay_mode","deref","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","deref_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","description","","","","","","","deserialize","","","","dir","direct_addresses","discovery","","discovery_dht","discovery_local_network","discovery_n0","dns_resolver","","drop","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","enable_segmentation_offload","encode","","","eq","","","","","","","","","","","","","","","","","","","","","","","","","","equivalent","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","error_code","","export_keying_material","finish","fmt","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","force_staging_infra","frame","frame_rx","frame_tx","frame_type","from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","from_ref","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","from_u32","from_u64","from_u64_unchecked","handshake_data","","handshake_done","hash","","","","","home_relay","id","","ignore","immediate_ack","in_current_span","","","","","","","","","","","","","","","","","","incoming_buffer_size","incoming_buffer_size_total","index","init","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","initial_keys","initial_mtu","initial_rtt","initial_window","initiator","insecure_skip_relay_cert_verify","interval","into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","into_0rtt","into_any","into_future","","","","","","","","","","into_incoming","into_inner","ios","is_0rtt","is_alive","is_closed","keep_alive_interval","keylog","last_alive","last_control","last_payload","latency","","local_ip","lost_bytes","lost_packets","lost_plpmtud_probes","max_ack_delay","max_concurrent_bidi_streams","max_concurrent_uni_streams","max_data","max_datagram_size","max_idle_timeout","max_incoming","max_stream_data","max_streams_bidi","max_streams_uni","max_tls_tickets","metrics","migration","min_mtu","minimum_change","mtu_discovery_config","network_change","network_path_changed","new","","","new_connection_id","new_token","node_addr","node_id","observed_addr","offset","on_ack","on_congestion_event","on_end_acks","on_mtu_update","on_sent","open","open_bi","open_uni","or","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","packet_threshold","partial_cmp","","","","path","path_challenge","path_response","path_selection","peer_identity","persistent_congestion_threshold","ping","poll","","","","","","","","","poll_flush","poll_read","","poll_shutdown","poll_write","","preferred_address_v4","preferred_address_v6","priority","proxy_from_env","proxy_url","read","read_chunk","read_chunks","read_datagram","read_exact","read_to_end","reason","","","receive_observed_address_reports","receive_window","received_reset","refuse","relay_map","relay_mode","remote_address","remote_address_validated","remote_node_id","reordering_threshold","reset","reset_stream","retire_connection_id","retry","retry_tag","retry_token_lifetime","rtt","","saturating_add","seal","secret_key","","send_datagram","send_fairness","send_observed_address_reports","send_window","sent_packets","sent_plpmtud_probes","serialize","","","","set_alpns","set_max_concurrent_bi_streams","set_max_concurrent_uni_streams","set_priority","set_receive_window","set_user_data_for_discovery","source","","","","","","","","","","","","","","","sources","stable_id","start_session","stats","stop","stop_sending","stopped","stream","stream_data_blocked","stream_receive_window","streams_blocked_bidi","streams_blocked_uni","time_source","time_threshold","to_owned","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","to_string","","","","","","","","","","","","","","","","","","","","","","","","","","","token_key","transport","transport_config","","try_from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_poll","","","","","","","try_to_string","","","","","","","","","","","","","","","","","","","","","","","","","","","typ","type_id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","udp_rx","udp_tx","upper_bound","user_data_for_discovery","validation_token","validation_token_config","vzip","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","window","with_additional_alpns","with_crypto","with_single_cert","with_transport_config","write","write_all","write_all_chunks","write_chunk","write_chunks","backtrace","","","pruned","span_trace","","","backtrace","","","source","span_trace","","","backtrace","source","span_trace","backtrace","","source","","span_trace","","backtrace","","","","source","","","span_trace","","","","backtrace","","","source","","span_trace","","","name","","EndpointMetrics","MagicsockMetrics","NetReportMetrics","PortmapMetrics","RelayMetrics","__clone_box","accepts","actor_link_change","actor_tick_direct_addr_heartbeat","actor_tick_main","actor_tick_msg","actor_tick_other","actor_tick_portmap_changed","actor_tick_re_stun","and","","","","as_iterable","","","borrow","","","","borrow_mut","","","","bytes_recv","bytes_rx_ratelimited_total","bytes_sent","clone","clone_into","clone_to_uninit","compat","","","","compat_mut","","","","compat_ref","","","","connection_became_direct","connection_handshake_success","conns_rx_ratelimited_total","default","","","","deref","","","","deref_mut","","","","deserialize","","","disco_packets_dropped","disco_packets_recv","disco_packets_sent","disconnects","drop","","","","external_address_updated","field_count","","","field_ref","","","fmt","","","","from","","","","from_ref","got_ping","groups","groups_cloned","init","","","","into","","","","local_port_updates","magicsock","mapping_attempts","mapping_failures","name","","","","net_report","nodes_contacted","nodes_contacted_directly","num_direct_conns_added","num_direct_conns_removed","num_relay_conns_added","num_relay_conns_removed","or","","","","other_packets_dropped","other_packets_recv","other_packets_sent","pcp_available","pcp_probes","portmapper","probes_started","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","send_data","send_data_network_down","send_disco_relay","send_disco_udp","send_ipv4","send_ipv6","send_packets_dropped","send_packets_recv","send_packets_sent","send_relay","send_relay_error","sent_disco_call_me_maybe","sent_disco_ping","sent_disco_pong","sent_disco_relay","sent_disco_udp","sent_pong","serialize","","","to_owned","try_from","","","","try_into","","","","type_id","","","","unique_client_keys","unknown_frames","update_direct_addrs","upnp_available","upnp_gateway_updated","upnp_probes","upnp_probes_failed","vzip","","","","Https","Metrics","Options","Probe","QadIpv4","QadIpv6","QuicConfig","RelayLatencies","Report","__clone_box","","","","","and","","","","","","as_iterable","as_protocols","borrow","","","","","","borrow_mut","","","","","","captive_portal","client_config","clone","","","","","clone_into","","","","","clone_to_uninit","","","","","cmp","compare","compat","","","","","","compat_mut","","","","","","compat_ref","","","","","","default","","","","deref","","","","","","deref_mut","","","","","","deserialize","","","disabled","drop","","","","","","ep","eq","","","equivalent","","","","","","","","","","","","field_count","field_ref","fmt","","","","","","","","from","","","","","","from_ref","","","","","global_v4","global_v6","has_udp","https","init","","","","","","insecure_skip_relay_cert_verify","into","","","","","","ipv4","ipv6","iter","mapping_varies_by_dest","mapping_varies_by_dest_ipv4","mapping_varies_by_dest_ipv6","name","or","","","","","","partial_cmp","preferred_relay","quic_config","relay_latency","reports","reports_full","serialize","","","to_owned","","","","","to_string","","try_from","","","","","","try_into","","","","","","try_to_string","","type_id","","","","","","udp_v4","udp_v6","vzip","","","","","","AttrFromString","DecodingError","","EncodingError","FailedBuildingPacket","IROH_TXT_NAME","InvalidEncodingZ32","InvalidLength","InvalidSignature","InvalidTxtEntry","MaxLengthExceededError","NodeData","NodeIdExt","NodeInfo","NotAnIrohRecord","NumLabels","ParseError","UnexpectedFormat","UserData","Utf8","and","","","as_error_source","","","backtrace","","","borrow","","","borrow_mut","","","cause","","","compat","","","compat_mut","","","compat_ref","","","data","deref","","","deref_mut","","","description","","","drop","","","fmt","","","","","","from","","","","from_z32","in_current_span","","","init","","","into","","","node_id","or","","","source","","","to_string","","","to_z32","try_from","","","try_into","","","try_to_string","","","type_id","","","vzip","","","backtrace","","","len","source","","span_trace","","","backtrace","","source","","span_trace","","backtrace","","","","","","key","label","num_labels","s","source","","span_trace","","","","","","AcceptError","AccessLimit","Connection","DynProtocolHandler","MissingRemoteNodeId","NotAllowed","ProtocolHandler","Router","RouterBuilder","User","__clone_box","","accept","","","","","and","","","","as_error_source","backtrace","borrow","","","","borrow_mut","","","","builder","cause","clone","","clone_into","","clone_to_uninit","","compat","","","","compat_mut","","","","compat_ref","","","","deref","","","","deref_mut","","","","description","drop","","","","endpoint","","fmt","","","","","from","","","","","","","","","from_err","from_ref","","in_current_span","init","","","","into","","","","is_shutdown","new","","on_connecting","","","","or","","","","shutdown","","","","","source","spawn","to_owned","","to_string","try_from","","","","try_into","","","","try_to_string","type_id","","","","vzip","","","","backtrace","source","","","span_trace","CleanupDropGuard","DnsPkarrServer","and","","borrow","","borrow_mut","","compat","","compat_mut","","compat_ref","","deref","","deref_mut","","discovery","dns_resolver","drop","","fmt","","from","","init","","into","","nameserver","node_origin","on_node","or","","pkarr_url","run","run_relay_server","run_relay_server_with","run_with_origin","try_from","","try_into","","type_id","","vzip",""],"q":[[0,"iroh"],[352,"iroh::KeyParsingError"],[360,"iroh::defaults"],[366,"iroh::defaults::prod"],[373,"iroh::defaults::staging"],[378,"iroh::discovery"],[716,"iroh::discovery::DiscoveryError"],[725,"iroh::discovery::IntoDiscoveryError"],[729,"iroh::discovery::ParseError"],[747,"iroh::discovery::dns"],[794,"iroh::discovery::mdns"],[881,"iroh::discovery::mdns::DiscoveryEvent"],[884,"iroh::discovery::pkarr"],[1058,"iroh::discovery::pkarr::PkarrError"],[1065,"iroh::discovery::pkarr::dht"],[1126,"iroh::discovery::static_provider"],[1162,"iroh::dns"],[1209,"iroh::endpoint"],[3295,"iroh::endpoint::AddNodeAddrError"],[3302,"iroh::endpoint::AlpnError"],[3309,"iroh::endpoint::BindError"],[3312,"iroh::endpoint::ConnectError"],[3318,"iroh::endpoint::ConnectWithOptsError"],[3329,"iroh::endpoint::GetMappingAddressError"],[3337,"iroh::endpoint::Source"],[3339,"iroh::metrics"],[3523,"iroh::net_report"],[3731,"iroh::discovery"],[3732,"iroh::node_info"],[3733,"iroh::discovery"],[3734,"iroh::node_info"],[3745,"iroh::discovery"],[3747,"iroh::node_info"],[3748,"iroh::discovery"],[3749,"iroh::node_info"],[3750,"iroh::discovery"],[3751,"iroh::node_info"],[3778,"iroh::discovery"],[3779,"iroh::node_info"],[3811,"iroh::discovery"],[3812,"iroh::node_info"],[3837,"iroh::node_info::DecodingError"],[3846,"iroh::node_info::EncodingError"],[3852,"iroh::discovery::ParseError"],[3870,"iroh::protocol"],[4000,"iroh::protocol::AcceptError"],[4005,"iroh::test_utils"],[4053,"dyn_clone::sealed"],[4054,"tower_http::follow_redirect::policy::and"],[4055,"tower_http::follow_redirect::policy"],[4056,"iroh_base::key"],[4057,"core::error"],[4058,"backtrace::capture"],[4059,"core::option"],[4060,"iroh_base::relay_url"],[4061,"iroh_base::node_addr"],[4062,"iroh_relay::relay_map"],[4063,"core::cmp"],[4064,"async_compat"],[4065,"core::result"],[4066,"serde_core::de"],[4067,"core::net::socket_addr"],[4068,"core::iter::traits::iterator"],[4069,"alloc::collections::btree::set"],[4070,"core::fmt"],[4071,"ed25519_dalek::verifying"],[4072,"data_encoding"],[4073,"signature::error"],[4074,"ed25519_dalek::signing"],[4075,"iroh_relay::node_info"],[4076,"iroh_base::ticket::node"],[4077,"url"],[4078,"core::iter::traits::collect"],[4079,"rand_core"],[4080,"core::marker"],[4081,"n0_watcher"],[4082,"core::clone"],[4083,"alloc::sync"],[4084,"core::hash"],[4085,"core::ops::function"],[4086,"tower_http::follow_redirect::policy::or"],[4087,"core::task::wake"],[4088,"core::task::poll"],[4089,"serde_core::ser"],[4090,"ed25519"],[4091,"alloc::string"],[4092,"alloc::collections"],[4093,"core::any"],[4094,"n0_snafu::spantrace"],[4095,"iroh_relay::dns"],[4096,"alloc::boxed"],[4097,"pkarr::signed_packet"],[4098,"alloc::vec"],[4099,"futures_lite::stream"],[4100,"core::str::error"],[4101,"core::convert"],[4102,"futures_core::stream"],[4103,"core::time"],[4104,"pkarr::keys"],[4105,"reqwest::error"],[4106,"http::status"],[4107,"pkarr::client"],[4108,"core::net::ip_addr"],[4109,"reqwest::dns::resolve"],[4110,"core::future::future"],[4111,"core::pin"],[4112,"iroh_quinn_proto::connection"],[4113,"iroh_quinn::connection"],[4114,"iroh_quinn_proto::config"],[4115,"iroh_quinn_proto::config::transport"],[4116,"iroh_quinn_proto::varint"],[4117,"iroh_quinn_proto::connection::stats"],[4118,"iroh::magicsock::node_map::node_state"],[4119,"iroh::magicsock"],[4120,"iroh_quinn_proto::crypto"],[4121,"iroh_quinn_proto::congestion"],[4122,"std::time"],[4123,"iroh_quinn_proto::connection::assembler"],[4124,"bytes::bytes"],[4125,"iroh_quinn_proto::connection::streams::send"],[4126,"iroh_quinn::recv_stream"],[4127,"iroh_quinn::send_stream"],[4128,"iroh_quinn_proto::connection::streams"],[4129,"iroh::magicsock::node_map"],[4130,"iroh_quinn_proto::frame"],[4131,"iroh_quinn_proto"],[4132,"iroh_quinn_proto::coding"],[4133,"bytes::buf::buf_impl"],[4134,"bytes::buf::buf_mut"],[4135,"iroh_quinn::incoming"],[4136,"iroh_quinn_proto::connection::streams::recv"],[4137,"iroh_relay::protos::common"],[4138,"ring::error::unspecified"],[4139,"iroh_quinn_proto::transport_parameters"],[4140,"iroh_quinn_proto::shared"],[4141,"iroh_quinn_proto::connection::paths"],[4142,"std::io::error"],[4143,"tokio::io::read_buf"],[4144,"std::collections::hash::map"],[4145,"rustls_pki_types"],[4146,"rustls::error"],[4147,"iroh_quinn_proto::endpoint"],[4148,"iroh_metrics::metrics"],[4149,"iroh_metrics::iterable"],[4150,"iroh_metrics::base"],[4151,"iroh::net_report::options::imp"],[4152,"iroh::net_report::probes"],[4153,"iroh::net_report::report"],[4154,"iroh::net_report::reportgen"],[4155,"rustls::client::client_conn"],[4156,"iroh::net_report::metrics"],[4157,"iroh_quinn::endpoint"],[4158,"z32"],[4159,"simple_dns::simple_dns_error"],[4160,"tokio::runtime::task::error"],[4161,"iroh::test_utils::dns_and_pkarr_servers"],[4162,"iroh_relay::server"],[4163,"iroh_relay"],[4164,"iroh_relay::defaults"]],"i":"Af0`0`l`````````F``1B`BbBdBfBh67432Al217807807785430217854302180754321754321754321743174317854302178543021785430212`778543302178543021807543144``785430212`7432177774444333322221111778854330022117778885554444433022211752247543217537562743807854302167854302164226``44`267854302174316`7514457543158066`5754321783021777785543021785430217830217854302161277854302144HnI`Ib21210``````````````````J``0``````InJd0``22`2Jb1`3Il3DnJfIh033627Jh562185678564738056214738056218564473214732147321774738056214738056214738056213414733805622147338056218564`0473805621147324444777733332222477388055662144733333880566211565633473211737856473805621473805621Kl243232`54313435849167328`3Ij3603266:78`546954359:7856995:27843695:278439:78695:2784364695:27843656565LhLjLl100210Ln000M`MbMdMfMhMj413520543210````N`Mn10100110101010100101010101010110110101010Nf`0```Nd1Nb102102102011212121021021020102102102222221021021210210210102110112102102102102NnO`1``Kb0000````````00OfOjOl3Od3Oh3255514032514032104354324324325140325140325140325140325140325`1051403255140325140324325514032514032140343251403242132543255140325140325151403245140322OnA@bA@fA@jA@lA@nAAb``AAf0AAd10100101111010101010100101010101010100010010101101001010AAj`0000000000000000000000000000000000```Jj0000000000000000000000000000000000000000000AIf0````AEh``AIl`AHn`ACh``444AHh`1`AGlAHbAEj`````0`4`AEdAGh4AGn4AHd```````AJ`0AHj```41AEn<0`AEf0``AIf00AH````11<``1AIj?ADd0AEl7`44AHnAEh89``76``AHh05551AGj``7```;3`AIl`AGlACh``;;65````?AHb``<1AGh5``2`8`AEd<01``3````4AGn3AHd3861?40=AGdADfAFhAHfAGf>ADlAHjAHlAHn>ADbAFfAD`AI`AIbAIdAIfAIhADnAIjAIlAC`AInACjAJ`3ACd220?ADfADh1ADjADl;AE`3ACf83AN`AMnACnAClANbAKbAGhAKdAJjAGjAGlAGnAH`AJlAHbAHdADhADdAG`AGdADfAFhAHfAGfAHhADlAHjAHlAHnAChADbAFfAD`AK`AKfAKhAI`AIbAEfAIdAIfAIhADnAIjAIlADjAC`AEhAEjAElAEnAInACbACdAKjACfAEdAKlACjAF`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lADjAC`AEhAEjAElAEnAInACbACdAKjACfAEdAKlACjAF`AJ`AN`AMnACnAClANbAKbAGhAKdAJjAGjAGlAGnAH`AJlAHbAHdADhADdAG`AGdADfAFhAHfAGfAHhADlAHjAHlAHnAChADbAFfAD`AK`AKfAKhAI`AIbAEfAIdAIfAIhADnAIjAIlADjAC`AEhAEjAElAEnAInACbACdAKjACfAEdAKlACjAF`AJ`ADhAFh4AC`00ADfAIf1AD`54422558AGdADd3AIh81257AHfAGfAHjAHlADbAFfAIlADjAIn`AN`AMnACnAClANbAKbAGhAKdAJjAGjAGlAGnAH`AJlAHbAHdADhADdAG`AGdADfAFhAHfAGfAHhADlAHjAHlAHnAChADbAFfAD`AK`AKfAKhAI`AIbAEfAIdAIfAIhADnAIjAIlADjAC`AEhAEjAElAEnAInACbACdAKjACfAEdAKlACjAF`AJ`AN`AMnACnAClANbAKbAGhAKdAJjAGjAGlAGnAH`AJlAHbAHdADhADdAG`AGdADfAFhAHfAGfAHhADlAHjAHlAHnAChADbAFfAD`AK`AKfAKhAI`AIbAEfAIdAIfAIhADnAIjAIlADjAC`AEhAEjAElAEnAInACbACdAKjACfAEdAKlACjAF`AJ`AEf>=<;52AHhADlAHjAHnAIhAC`ADj100001AN`AMnACnAClANbAKbAGhAKdAJj0AGjAGlAGnAH`AJl0AHbAHdADhADdAG`AGdADfAFhAHfAGfAHhADlAHjAHlAHnAChADbAFfAD`AK`AKfAKhAI`AIbAEfAIdAIfAIhADnAIjAIlADjAC`AEhAEjAElAEnAInACbACdAKjACfAEdAKlACjAF`AJ`ADhADdAIfAIhAGhAGjAGlAGnAH`AHbAHd9AG`AGfAHhADlAHjAHlAHnAChAK`AI`AIbAIdAIfAIhADnAIjAIlAJ`AGh000AGj000AGl000AGn000AH`000AHb000AHd000ADd000AG`000AGf000AHh000ADl000AHj000AHl000AHn000ACh000AK`000AI`000AIb000AId000AIf000AIh000ADn000AIj000AIl000AJ`00087ACjAJlAKbAGh0AKd0AJjAGj0AGl0AGn0AH`08AHb0AHd0ADhADd0AG`AGdADfAFhAHfAGfAHh0ADlAHj0AHl0AHn0ACh0ADbAFfAD`AK`AKfAKhAI`0AIb0AEf0AId0AIf0AIh0ADnAIj0AIlADjAC`AEh0AEj0AEl0AEn0AInACbACdAKjACfAEd0AKlACjAF`0AJ``AIdAHf0AI`AN`AMnACnAClANbAKbAGh0AKdAJjAGj0AGl000AGn0AH`0AJlAHb000AHd0ADhADd00000AG`AGdADfAFhAHfAGfAHhADlAHjAHlAHnACh00ADbAFfAD`AK`AKf0AKhAI`0AIbAEfAId000AIfAIh0ADnAIjAIlADjAC`AEh0AEj00AElAEnAInACbACdAKjACfAEd0AKlACjAF`AJ`AGhAGjAGlAGnAH`AHbAHdADdAGdADfAFhAHfAGfAHhADlAHjAHlAHnAChADbAFfAD`AI`AIbAIdAIfAIhADnAIjAIlAC`AInACjAJ`ADd00ACf3ADf2AHn;:97AJjAJlACd4AGhAKdAGjAGlAGnAH`AHbAHdAHlAChAEfAIdAEhAEjAElAEnAEdAF`AD`0AIhAN`AMnACnAClANbAKbAGhAKdAJjAGjAGlAGnAH`AJlAHbAHdADhADdAG`AGdADfAFhAHfAGfAHhADlAHjAHlAHnAChADbAFfAD`AK`AKfAKhAI`AIbAEfAIdAIfAIhADnAIjAIlADjAC`AEhAEjAElAEnAInACbACdAKjACfAEdAKlACjAF`AJ`ALnADh0AFnAIhADjAFfAN`AMnACnAClANbAKbAGhAKdAJjAGjAGlAGnAH`AJlAHbAHdADhADdAG`AGdADfAFhAHfAGfAHhADlAHjAHlAHnAChADbAFfAD`AK`AKfAKhAI`AIbAEfAIdAIfAIhADnAIjAIlADjAC`AEhAEjAElAEnAInACbACdAKjACfAEdAKlACjAF`AJ`5AFnAN`AMnACnAClANb>=<;9AKdADdAGdAJjAKbAC`ADhADjADl0030ACdAFh00ADb55ADfACj7AD`2227908AFf9:;1AIhAIn55<<5AG`AFn0000AEb77AN`AMnACnAClANbAKbAGhAKdAJjAGjAGlAGnAH`A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Cd{c}}}{}}000000000000000000000000000000000000000000000000000000000000{{{ABn{{b{Anc}}}}{b{AnGl}}}Gn{}}000000{b{{Cd{HfHh}}}}00000000000000000000000000{ADnAIj}{bHj}000000000000000000000000000000000000000000000000000000000000{AHfAGd}0{{{b{AnAFf}}If}{{b{AnAFf}}}}{{ADjIn}ADj}{AD`AOf}{{{b{AnAD`}}AOf}{{b{AnAD`}}}}{{}c{}}000000000000000000000000000000000000000000000000000000000000{{{b{AFn}}}Kn}{{AIn{Kh{{Kh{n}}}}}AIn}{{{Ff{ALn}}}AD`}{{{Kh{AOh}}AOj}{{Cd{AD`AOl}}}}{{AIn{Ff{ADh}}}AIn}{{{b{AnAJl}}{b{{Ad{n}}}}}{{Cd{C`AHb}}}}{{{b{AnAJl}}{b{{Ad{n}}}}}{{Cd{fAHb}}}}{{{b{AnAJl}}{b{An{Ad{AGb}}}}}{{Cd{fAHb}}}}{{{b{AnAJl}}AGb}{{Cd{fAHb}}}}{{{b{AnAJl}}{b{An{Ad{AGb}}}}}{{Cd{AGfAHb}}}}{AOnAj}{B@`Aj}{B@bAj}{B@`C`}{AOnId}{B@`Id}{B@bId}{B@dAj}{B@fAj}{B@hAj}{B@dACh}{B@dId}{B@fId}{B@hId}{B@jAj}`{B@jId}{B@lAj}{B@nAj}{B@lKd}{B@nKd}{B@lId}{B@nId}{BA`Aj}{BAbAj}{BAdAj}{BAfAj}{BA`AEf}{BAdAEn}{BAfBAh}{BA`Id}{BAbId}{BAdId}{BAfId}{BAjAj}{BAlAj}{BAnAj}{BAjJd}{BAlJd}{BAjId}{BAlId}{BAnId}{BB`Hf}{BBbHf}`````{{bd}f}{BBdBBf}{BBhBBf}000000{g{{h{ig}}}{}{}{{j{ce}}}{{j{ce}}}}000{b{{b{BBj}}}}00{b{{b{c}}}{}}000{{{b{An}}}{{b{Anc}}}{}}000555{{{b{AMj}}}AMj}{{b{b{Anc}}}f{}}{{bn}f}{{}{{Bl{c}}}{}}000{{{b{An}}}{{Bl{{b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,"Option",4059,null,1],[5,"RelayUrlParseError",0,4060],[0,"mut"],[5,"SecretKey",0,4056],[5,"NodeAddr",0,4061],[5,"RelayUrl",0,4060],[5,"RelayMap",0,4062],[5,"RelayNode",0,4062],[6,"Ordering",4063],[5,"Compat",4064],[1,"bool"],[1,"usize"],[1,"str"],[6,"Result",4065,null,1],[10,"Deserializer",4066],[17,"Item"],[6,"SocketAddr",4067],[10,"Iterator",4068],[5,"BTreeSet",4069],[5,"Formatter",4070],[5,"Error",4070],[10,"Display",4070],[5,"VerifyingKey",4071],[5,"DecodeError",4072],[5,"Error",4073],[5,"SigningKey",4074],[5,"NodeInfo",3811,4075],[1,"tuple",null,null,1],[5,"NodeTicket",4076],[5,"Url",4077],[10,"IntoIterator",4078],[6,"DecodingError",3812,4075],[10,"CryptoRng",4079],[10,"Sized",4080],[17,"Value"],[10,"Watcher",0,4081],[10,"Clone",4082],[10,"Eq",4063],[5,"Arc",4083,null,1],[10,"Hasher",4084],[5,"InitializedFut",4081],[10,"Nullable",4081],[5,"Map",4081],[5,"Disconnected",4081],[17,"Output"],[10,"Fn",4085],[10,"Send",4080],[10,"Sync",4080],[5,"Or",4086],[5,"Context",4087],[6,"Poll",4088],[10,"Serializer",4089],[5,"Signature",4090],[5,"Stream",4081],[5,"String",4091],[5,"TryReserveError",4092],[5,"TypeId",4093],[5,"NextFut",4081],[15,"Decode",352],[15,"Key",352],[15,"DecodeInvalidLength",352],[5,"SpanTrace",4094],[1,"u16"],[5,"ConcurrentDiscovery",3811],[10,"Discovery",3811],[5,"NodeData",3811,4075],[5,"UserData",3811,4075],[6,"ParseError",3811,4075],[6,"IntoDiscoveryError",3811],[6,"DiscoveryError",3811],[5,"DiscoveryItem",3811],[5,"DiscoveryContext",3811],[5,"DnsResolver",1162,4095],[8,"Result",4070],[6,"IrohAttr",4075],[5,"TxtAttrs",4075],[6,"PkarrError",884],[5,"Box",4096,null,1],[5,"SignedPacket",4097],[5,"Vec",4098],[5,"TxtRecordData",4095],[10,"IntoDiscovery",3811],[1,"u64"],[8,"NodeId",0,4056],[8,"Boxed",4099],[1,"u32"],[6,"EncodingError",3812,4075],[15,"NoServiceConfigured",716],[15,"NoResults",716],[15,"User",716],[15,"User",725],[15,"UnexpectedFormat",3852],[15,"AttrFromString",3852],[15,"NumLabels",3852],[15,"Utf8",3852],[15,"NotAnIrohRecord",3852],[15,"DecodingError",3852],[5,"Utf8Error",4100],[5,"DnsDiscoveryBuilder",747],[5,"DnsDiscovery",747],[5,"MdnsDiscoveryBuilder",794],[5,"MdnsDiscovery",794],[6,"DiscoveryEvent",794],[10,"Into",4101,null,1],[10,"Stream",4102],[10,"Unpin",4080],[15,"Discovered",881],[15,"Expired",881],[5,"Duration",4103],[5,"PkarrPublisherBuilder",884],[5,"PkarrPublisher",884],[5,"PkarrResolverBuilder",884],[5,"PkarrResolver",884],[5,"PkarrRelayClient",884],[15,"PublicKey",1058],[6,"PublicKeyError",4104],[15,"Verify",1058],[6,"SignedPacketVerifyError",4097],[15,"HttpSend",1058],[5,"Error",4105],[15,"HttpPayload",1058],[15,"Encoding",1058],[15,"HttpRequest",1058],[5,"StatusCode",4106],[15,"InvalidRelayUrl",1058],[5,"Builder",1065],[5,"DhtDiscovery",1065],[5,"Client",4107],[5,"StaticProvider",1126],[5,"Builder",4095],[10,"Resolver",4095],[6,"IpAddr",4108],[6,"DnsError",4095],[10,"ToString",4091],[5,"StaggeredError",4095],[6,"LookupError",4095],[5,"Name",4109],[10,"Future",4110,null,1],[5,"Pin",4111],[5,"Endpoint",1209],[5,"Accept",1209],[5,"Incoming",1209],[5,"Connecting",1209],[6,"ConnectionError",1209,4112],[5,"Connection",1209],[5,"AcceptBi",1209,4113],[5,"AcceptUni",1209,4113],[5,"ServerConfig",1209,4114],[5,"AckFrequencyConfig",1209,4115],[5,"VarInt",1209,4116],[5,"FrameStats",1209,4117],[5,"TransportConfig",1209,4115],[5,"Builder",1209],[5,"DirectAddrInfo",1209,4118],[5,"DirectAddr",1209,4119],[10,"HandshakeTokenKey",1209,4120],[10,"AeadKey",1209,4120],[6,"AlpnError",1209],[6,"AddNodeAddrError",1209,4119],[6,"ConnectWithOptsError",1209],[6,"ConnectError",1209],[6,"BindError",1209],[6,"GetMappingAddressError",1209],[5,"RemoteNodeIdError",1209],[5,"SocketAddrV4",4067],[5,"SocketAddrV6",4067],[5,"MtuDiscoveryConfig",1209,4115],[5,"PathStats",1209,4117],[10,"ControllerFactory",1209,4121],[5,"Instant",4122],[10,"Controller",1209,4121],[5,"Chunk",1209,4123],[5,"Bytes",4124],[5,"UdpStats",1209,4117],[5,"Written",1209,4125],[6,"SendDatagramError",1209,4113],[6,"ReadToEndError",1209,4126],[6,"ReadError",1209,4126],[6,"ResetError",1209,4126],[6,"ReadExactError",1209,4126],[6,"WriteError",1209,4127],[6,"StoppedError",1209,4127],[5,"ConnectionStats",1209,4117],[6,"ControlMsg",1209,4118],[6,"ConnectionType",1209,4118],[5,"ClosedStream",1209,4128],[6,"Source",1209,4129],[5,"ConnectionClose",1209,4130],[5,"ApplicationClose",1209,4130],[5,"TransportError",1209],[5,"TransportErrorCode",1209],[5,"StreamId",1209,4131],[6,"DirectAddrType",1209,4119],[6,"PathSelection",1209],[5,"ConnectOptions",1209],[6,"RelayMode",1209],[5,"Direct",4081],[5,"UnexpectedEnd",4132],[10,"Buf",4133],[6,"Dir",4131],[5,"RecvStream",1209,4126],[5,"SendStream",1209,4127],[10,"BufMut",4134],[5,"ExportKeyingMaterialError",1209,4120],[5,"WeakConnectionHandle",1209,4113],[5,"RetryError",1209,4135],[5,"CryptoError",1209,4120],[5,"UnsupportedVersion",1209,4120],[5,"IncomingFuture",1209],[5,"ZeroRttAccepted",1209],[6,"ReadableError",4136],[6,"FrameType",4137],[6,"Close",4130],[5,"Unspecified",4138],[5,"InvalidFrame",4130],[6,"Error",4139],[5,"VarIntBoundsExceeded",4116],[10,"Any",4093],[10,"CryptoServerConfig",1209],[5,"ConnectionId",4140],[5,"Keys",4120],[6,"Side",4131],[5,"Incoming",4135],[5,"IdleTimeout",4115],[5,"EndpointMetrics",3339],[5,"RttEstimator",4141],[5,"OpenBi",1209,4113],[5,"OpenUni",1209,4113],[5,"ReadDatagram",1209,4113],[5,"Error",4142],[5,"ReadBuf",4143],[1,"i32"],[5,"HashMap",4144],[5,"TransportParameters",4139],[10,"Session",4120],[10,"TimeSource",4114],[1,"f32"],[1,"u128"],[5,"ValidationTokenConfig",4114],[5,"CertificateDer",4145],[6,"PrivateKeyDer",4145],[6,"Error",4146],[15,"Empty",3295],[15,"EmptyPruned",3295],[15,"OwnAddress",3295],[15,"ConnectionError",3302],[15,"Unavailable",3302],[15,"UnknownHandshake",3302],[15,"MagicSpawn",3309],[15,"Connect",3312],[15,"Connection",3312],[15,"AddNodeAddr",3318],[15,"SelfConnect",3318],[15,"NoAddress",3318],[15,"Quinn",3318],[6,"ConnectError",4147],[15,"DiscoveryStart",3329],[15,"Discover",3329],[15,"NoAddress",3329],[15,"Discovery",3337],[15,"NamedApp",3337],[5,"RelayMetrics",3339],[5,"Counter",4148],[5,"MagicsockMetrics",3339],[10,"Iterable",4149],[5,"PortmapMetrics",3339],[5,"MetricItem",4150],[10,"MetricsGroup",4150],[5,"Options",3523,4151],[6,"Probe",3523,4152],[5,"Report",3523,4153],[5,"QuicConfig",3523,4154],[5,"ClientConfig",4155],[5,"RelayLatencies",3523,4153],[5,"Metrics",3523,4156],[5,"Endpoint",4157],[5,"MaxLengthExceededError",3812,4075],[6,"SignedPacketBuildError",4097],[10,"NodeIdExt",3812,4075],[15,"InvalidEncodingZ32",3837],[15,"InvalidLength",3837],[15,"InvalidSignature",3837],[6,"Z32Error",4158],[15,"FailedBuildingPacket",3846],[15,"InvalidTxtEntry",3846],[6,"SimpleDnsError",4159],[10,"ProtocolHandler",3870],[6,"AcceptError",3870],[10,"DynProtocolHandler",3870],[5,"RouterBuilder",3870],[10,"AsRef",4101],[5,"AccessLimit",3870],[5,"Router",3870],[10,"Debug",4070],[5,"JoinError",4160],[15,"Connection",4000],[15,"MissingRemoteNodeId",4000],[15,"User",4000],[5,"DnsPkarrServer",4005,4161],[5,"CleanupDropGuard",4005],[8,"Result",4142],[5,"Server",4162],[6,"SpawnError",4162]],"r":[[0,4056],[1,4056],[2,1209],[3,4056],[4,4056],[5,4056],[6,4061],[7,4056],[8,4056],[9,4062],[10,1209],[11,4062],[12,4060],[13,4060],[14,4056],[15,4081],[16,4081],[17,4056],[18,4056],[19,4061],[20,4060],[21,4062],[22,4062],[23,4056],[24,4056],[25,4056],[26,4061],[27,4060],[28,4060],[29,4062],[30,4062],[31,4056],[32,4056],[33,4060],[34,4056],[35,4056],[36,4060],[37,4056],[38,4056],[39,4056],[40,4056],[41,4061],[42,4060],[43,4060],[44,4062],[45,4062],[46,4056],[47,4056],[48,4056],[49,4061],[50,4060],[51,4060],[52,4062],[53,4062],[54,4056],[55,4060],[56,4056],[57,4056],[58,4061],[59,4060],[60,4062],[61,4062],[62,4056],[63,4056],[64,4061],[65,4060],[66,4062],[67,4062],[68,4056],[69,4056],[70,4061],[71,4060],[72,4062],[73,4062],[74,4056],[75,4061],[76,4060],[77,4062],[78,4056],[79,4061],[80,4060],[81,4062],[82,4056],[83,4056],[84,4056],[85,4061],[86,4060],[87,4060],[88,4062],[89,4062],[90,4056],[91,4056],[92,4056],[93,4061],[94,4060],[95,4060],[96,4062],[97,4062],[98,4056],[99,4056],[100,4056],[101,4061],[102,4060],[103,4060],[104,4062],[105,4062],[106,4062],[108,4056],[109,4056],[110,4056],[111,4056],[112,4061],[113,4060],[114,4060],[115,4060],[116,4062],[117,4062],[118,4056],[119,4056],[120,4056],[121,4061],[122,4060],[123,4060],[124,4062],[125,4062],[126,4056],[127,4060],[128,4056],[129,4056],[130,4061],[131,4060],[132,4062],[133,4061],[134,4061],[137,4056],[138,4056],[139,4056],[140,4061],[141,4060],[142,4060],[143,4062],[144,4062],[145,4062],[147,4056],[148,4061],[149,4060],[150,4062],[151,4062],[152,4056],[153,4056],[154,4056],[155,4056],[156,4061],[157,4061],[158,4061],[159,4061],[160,4060],[161,4060],[162,4060],[163,4060],[164,4062],[165,4062],[166,4062],[167,4062],[168,4062],[169,4062],[170,4062],[171,4062],[172,4056],[173,4056],[174,4056],[175,4056],[176,4056],[177,4061],[178,4060],[179,4060],[180,4060],[181,4060],[182,4062],[183,4062],[184,4062],[185,4062],[186,4056],[187,4056],[188,4056],[189,4056],[190,4056],[191,4056],[192,4056],[193,4056],[194,4056],[195,4061],[196,4061],[197,4061],[198,4061],[199,4061],[200,4060],[201,4060],[202,4060],[203,4062],[204,4062],[205,4062],[206,4062],[207,4062],[208,4056],[209,4056],[210,4062],[211,4062],[212,4061],[213,4056],[214,4056],[215,4061],[216,4060],[217,4062],[218,4062],[219,4056],[220,4056],[221,4060],[222,4056],[223,4056],[224,4081],[225,4062],[226,4056],[227,4061],[228,4060],[229,4056],[230,4060],[231,4056],[232,4056],[233,4056],[234,4061],[235,4060],[236,4060],[237,4062],[238,4062],[239,4081],[240,4056],[241,4056],[242,4056],[243,4061],[244,4060],[245,4060],[246,4062],[247,4062],[248,4081],[249,4061],[250,4062],[251,4062],[252,4081],[255,4061],[256,4061],[257,4163],[258,4062],[259,4081],[260,4056],[261,4056],[262,4056],[263,4061],[264,4060],[265,4060],[266,4062],[267,4062],[268,4056],[269,4061],[270,4060],[271,4062],[272,4081],[274,4056],[275,4056],[276,4062],[277,4061],[278,4061],[279,4056],[280,4056],[281,4056],[282,4061],[283,4060],[284,4062],[285,4056],[286,4056],[287,4060],[288,4081],[289,4081],[291,4056],[292,4056],[293,4056],[294,4061],[295,4060],[296,4062],[297,4062],[298,4056],[299,4056],[300,4060],[301,4060],[302,4062],[303,4062],[304,4056],[305,4056],[306,4056],[307,4056],[308,4056],[309,4056],[310,4056],[311,4061],[312,4060],[313,4060],[314,4062],[315,4062],[316,4056],[317,4056],[318,4056],[319,4061],[320,4060],[321,4060],[322,4062],[323,4062],[324,4056],[325,4056],[326,4060],[327,4060],[328,4062],[329,4062],[330,4056],[331,4056],[332,4056],[333,4061],[334,4060],[335,4060],[336,4062],[337,4062],[338,4081],[339,4062],[340,4062],[341,4056],[342,4056],[343,4056],[344,4056],[345,4061],[346,4060],[347,4060],[348,4062],[349,4062],[350,4061],[351,4061],[363,4164],[378,4075],[380,4075],[387,4075],[390,4075],[391,4075],[392,4075],[393,4075],[394,4075],[395,4075],[398,4075],[399,4075],[400,4075],[401,4075],[402,4075],[406,4075],[407,4075],[408,4075],[409,4075],[410,4075],[416,4075],[419,4075],[420,4075],[423,4075],[424,4075],[425,4075],[426,4075],[432,4075],[433,4075],[434,4075],[435,4075],[441,4075],[444,4075],[445,4075],[446,4075],[447,4075],[450,4075],[451,4075],[452,4075],[455,4075],[456,4075],[457,4075],[460,4075],[461,4075],[462,4075],[463,4075],[464,4075],[465,4075],[471,4075],[472,4075],[473,4075],[474,4075],[480,4075],[481,4075],[482,4075],[483,4075],[489,4075],[490,4075],[492,4075],[493,4075],[494,4075],[495,4075],[496,4075],[503,4075],[504,4075],[505,4075],[506,4075],[507,4075],[513,4075],[516,4075],[519,4075],[520,4075],[521,4075],[522,4075],[529,4075],[530,4075],[531,4075],[533,4075],[534,4075],[535,4075],[536,4075],[537,4075],[538,4075],[539,4075],[540,4075],[541,4075],[542,4075],[543,4075],[544,4075],[549,4075],[550,4075],[551,4075],[552,4075],[553,4075],[554,4075],[562,4075],[563,4075],[564,4075],[565,4075],[566,4075],[567,4075],[568,4075],[569,4075],[570,4075],[571,4075],[583,4075],[584,4075],[585,4075],[586,4075],[587,4075],[591,4075],[592,4075],[593,4075],[594,4075],[597,4075],[598,4075],[599,4075],[600,4075],[606,4075],[607,4075],[608,4075],[609,4075],[617,4075],[623,4075],[624,4075],[628,4075],[630,4075],[631,4075],[632,4075],[633,4075],[639,4075],[644,4075],[648,4075],[649,4075],[650,4075],[654,4075],[656,4075],[657,4075],[658,4075],[661,4075],[662,4075],[663,4075],[666,4075],[667,4075],[668,4075],[669,4075],[670,4075],[671,4075],[677,4075],[678,4075],[679,4075],[680,4075],[686,4075],[687,4075],[690,4075],[691,4075],[692,4075],[693,4075],[699,4075],[701,4075],[702,4075],[703,4075],[704,4075],[710,4075],[711,4075],[712,4075],[713,4075],[714,4075],[715,4075],[749,4095],[750,4095],[1162,4095],[1163,4095],[1164,4095],[1165,4095],[1166,4095],[1167,4095],[1168,4095],[1169,4095],[1170,4095],[1171,4095],[1172,4095],[1173,4095],[1174,4095],[1175,4095],[1176,4095],[1177,4095],[1178,4095],[1179,4095],[1180,4095],[1181,4095],[1182,4095],[1183,4095],[1184,4095],[1185,4095],[1186,4095],[1187,4095],[1188,4095],[1189,4095],[1190,4095],[1191,4095],[1192,4095],[1193,4095],[1194,4095],[1195,4095],[1196,4095],[1197,4095],[1198,4095],[1199,4095],[1200,4095],[1201,4095],[1202,4095],[1203,4095],[1204,4095],[1205,4095],[1206,4095],[1207,4095],[1208,4095],[1212,4113],[1213,4113],[1214,4115],[1216,4119],[1217,4120],[1220,4129],[1221,4130],[1222,4112],[1228,4118],[1229,4123],[1230,4112],[1231,4128],[1232,4126],[1233,4127],[1241,4130],[1242,4112],[1243,4112],[1245,4113],[1246,4126],[1247,4126],[1248,4127],[1249,4127],[1250,4117],[1251,4118],[1252,4118],[1253,4121],[1254,4121],[1255,4120],[1259,4118],[1260,4119],[1261,4118],[1262,4119],[1263,4113],[1266,4129],[1269,4119],[1270,4119],[1272,4120],[1276,4126],[1277,4117],[1279,4120],[1282,4126],[1286,4119],[1287,4112],[1288,4116],[1289,4116],[1291,4118],[1292,4115],[1295,4129],[1298,4118],[1299,4113],[1300,4113],[1301,4119],[1304,4117],[1305,4118],[1306,4118],[1307,4119],[1308,4119],[1309,4119],[1311,4126],[1312,4113],[1313,4126],[1314,4126],[1315,4126],[1316,4126],[1317,4126],[1318,4118],[1319,4129],[1323,4126],[1324,4112],[1325,4126],[1326,4135],[1329,4129],[1331,4113],[1332,4127],[1333,4114],[1334,4129],[1336,4127],[1337,4127],[1338,4131],[1340,4112],[1341,4113],[1342,4126],[1343,4115],[1345,4112],[1347,4129],[1348,4117],[1350,4119],[1352,4113],[1353,4120],[1354,4116],[1355,4112],[1356,4113],[1357,4127],[1358,4125],[1360,4126],[1361,4126],[1362,4127],[1363,4127],[1364,4113],[1365,4126],[1366,4126],[1367,4126],[1368,4126],[1369,4127],[1370,4127],[1371,4116],[1372,4117],[1373,4117],[1374,4117],[1375,4117],[1376,4125],[1377,4118],[1378,4118],[1379,4118],[1380,4128],[1381,4129],[1382,4112],[1383,4115],[1384,4115],[1385,4114],[1386,4130],[1387,4130],[1390,4131],[1391,4119],[1392,4119],[1403,4115],[1404,4117],[1405,4115],[1406,4117],[1408,4118],[1409,4119],[1410,4120],[1411,4115],[1415,4113],[1416,4113],[1417,4113],[1418,4113],[1419,4113],[1420,4113],[1421,4113],[1422,4135],[1423,4126],[1424,4126],[1425,4126],[1426,4126],[1427,4126],[1428,4127],[1429,4127],[1430,4127],[1431,4115],[1432,4116],[1433,4123],[1434,4117],[1435,4117],[1436,4117],[1437,4117],[1438,4125],[1439,4118],[1440,4118],[1441,4118],[1442,4128],[1443,4129],[1444,4112],[1445,4115],[1446,4115],[1447,4114],[1448,4120],[1449,4120],[1450,4120],[1451,4130],[1452,4130],[1453,4119],[1456,4131],[1457,4119],[1458,4119],[1476,4113],[1477,4135],[1478,4126],[1479,4126],[1480,4126],[1481,4126],[1482,4127],[1483,4127],[1484,4128],[1485,4112],[1486,4119],[1494,4119],[1504,4115],[1505,4117],[1506,4113],[1507,4113],[1508,4113],[1509,4113],[1510,4113],[1511,4113],[1512,4113],[1513,4135],[1514,4126],[1515,4126],[1516,4126],[1517,4126],[1518,4126],[1519,4127],[1520,4127],[1521,4127],[1522,4115],[1523,4116],[1524,4123],[1525,4117],[1526,4117],[1527,4117],[1528,4117],[1529,4125],[1530,4118],[1531,4118],[1532,4118],[1533,4128],[1534,4129],[1535,4112],[1536,4115],[1537,4115],[1538,4114],[1539,4120],[1540,4120],[1541,4120],[1542,4130],[1543,4130],[1544,4119],[1547,4131],[1548,4119],[1549,4119],[1567,4113],[1568,4113],[1569,4113],[1570,4113],[1571,4113],[1572,4113],[1573,4113],[1574,4135],[1575,4126],[1576,4126],[1577,4126],[1578,4126],[1579,4126],[1580,4127],[1581,4127],[1582,4127],[1583,4115],[1584,4116],[1585,4123],[1586,4117],[1587,4117],[1588,4117],[1589,4117],[1590,4125],[1591,4118],[1592,4118],[1593,4118],[1594,4128],[1595,4129],[1596,4112],[1597,4115],[1598,4115],[1599,4114],[1600,4120],[1601,4120],[1602,4120],[1603,4130],[1604,4130],[1605,4119],[1608,4131],[1609,4119],[1610,4119],[1629,4121],[1631,4123],[1632,4117],[1633,4125],[1634,4119],[1641,4125],[1643,4113],[1644,4126],[1645,4126],[1646,4126],[1647,4126],[1648,4127],[1649,4127],[1650,4116],[1651,4117],[1652,4117],[1653,4117],[1654,4117],[1655,4125],[1656,4118],[1657,4118],[1658,4118],[1659,4128],[1660,4129],[1661,4112],[1662,4115],[1663,4115],[1664,4114],[1665,4130],[1666,4130],[1669,4131],[1670,4119],[1671,4119],[1677,4121],[1678,4113],[1679,4126],[1680,4126],[1681,4126],[1682,4126],[1683,4127],[1684,4127],[1685,4116],[1686,4117],[1687,4117],[1688,4117],[1689,4117],[1690,4125],[1691,4118],[1692,4118],[1693,4118],[1694,4128],[1695,4129],[1696,4112],[1697,4115],[1698,4115],[1699,4114],[1700,4130],[1701,4130],[1704,4131],[1705,4119],[1706,4119],[1712,4113],[1713,4126],[1714,4126],[1715,4126],[1716,4126],[1717,4127],[1718,4127],[1719,4116],[1720,4117],[1721,4117],[1722,4117],[1723,4117],[1724,4125],[1725,4118],[1726,4118],[1727,4118],[1728,4128],[1729,4129],[1730,4112],[1731,4115],[1732,4115],[1733,4114],[1734,4130],[1735,4130],[1738,4131],[1739,4119],[1740,4119],[1750,4116],[1751,4131],[1752,4119],[1753,4119],[1755,4116],[1756,4131],[1757,4119],[1758,4119],[1759,4113],[1760,4113],[1761,4113],[1762,4113],[1763,4113],[1764,4113],[1765,4113],[1766,4135],[1767,4126],[1768,4126],[1769,4126],[1770,4126],[1771,4126],[1772,4127],[1773,4127],[1774,4127],[1775,4115],[1776,4116],[1777,4123],[1778,4117],[1779,4117],[1780,4117],[1781,4117],[1782,4125],[1783,4118],[1784,4118],[1785,4118],[1786,4128],[1787,4129],[1788,4112],[1789,4115],[1790,4115],[1791,4114],[1792,4120],[1793,4120],[1794,4120],[1795,4130],[1796,4130],[1797,4119],[1800,4131],[1801,4119],[1802,4119],[1820,4113],[1821,4113],[1822,4113],[1823,4113],[1824,4113],[1825,4113],[1826,4113],[1827,4135],[1828,4126],[1829,4126],[1830,4126],[1831,4126],[1832,4126],[1833,4127],[1834,4127],[1835,4127],[1836,4115],[1837,4116],[1838,4123],[1839,4117],[1840,4117],[1841,4117],[1842,4117],[1843,4125],[1844,4118],[1845,4118],[1846,4118],[1847,4128],[1848,4129],[1849,4112],[1850,4115],[1851,4115],[1852,4114],[1853,4120],[1854,4120],[1855,4120],[1856,4130],[1857,4130],[1858,4119],[1861,4131],[1862,4119],[1863,4119],[1881,4113],[1882,4113],[1883,4113],[1884,4113],[1885,4113],[1886,4113],[1887,4113],[1888,4135],[1889,4126],[1890,4126],[1891,4126],[1892,4126],[1893,4126],[1894,4127],[1895,4127],[1896,4127],[1897,4115],[1898,4116],[1899,4123],[1900,4117],[1901,4117],[1902,4117],[1903,4117],[1904,4125],[1905,4118],[1906,4118],[1907,4118],[1908,4128],[1909,4129],[1910,4112],[1911,4115],[1912,4115],[1913,4114],[1914,4120],[1915,4120],[1916,4120],[1917,4130],[1918,4130],[1919,4119],[1922,4131],[1923,4119],[1924,4119],[1942,4115],[1943,4117],[1948,4117],[1950,4117],[1951,4114],[1952,4115],[1953,4117],[1954,4117],[1955,4117],[1956,4117],[1957,4115],[1958,4115],[1960,4117],[1961,4116],[1963,4131],[1964,4115],[1965,4116],[1966,4117],[1967,4117],[1968,4117],[1969,4117],[1970,4125],[1971,4118],[1972,4128],[1973,4115],[1974,4115],[1979,4113],[1980,4113],[1981,4113],[1982,4113],[1983,4113],[1984,4113],[1985,4113],[1986,4135],[1987,4126],[1988,4126],[1989,4126],[1990,4126],[1991,4126],[1992,4127],[1993,4127],[1994,4127],[1995,4115],[1996,4116],[1997,4123],[1998,4117],[1999,4117],[2000,4117],[2001,4117],[2002,4125],[2003,4118],[2004,4118],[2005,4118],[2006,4128],[2007,4129],[2008,4112],[2009,4115],[2010,4115],[2011,4114],[2012,4120],[2013,4120],[2014,4120],[2015,4130],[2016,4130],[2017,4119],[2020,4131],[2021,4119],[2022,4119],[2040,4113],[2041,4113],[2042,4113],[2043,4113],[2044,4113],[2045,4113],[2046,4113],[2047,4135],[2048,4126],[2049,4126],[2050,4126],[2051,4126],[2052,4126],[2053,4127],[2054,4127],[2055,4127],[2056,4115],[2057,4116],[2058,4123],[2059,4117],[2060,4117],[2061,4117],[2062,4117],[2063,4125],[2064,4118],[2065,4118],[2066,4118],[2067,4128],[2068,4129],[2069,4112],[2070,4115],[2071,4115],[2072,4114],[2073,4120],[2074,4120],[2075,4120],[2076,4130],[2077,4130],[2078,4119],[2081,4131],[2082,4119],[2083,4119],[2101,4119],[2108,4118],[2109,4118],[2110,4118],[2111,4129],[2112,4131],[2121,4113],[2122,4113],[2123,4113],[2124,4113],[2125,4113],[2126,4113],[2127,4113],[2128,4135],[2129,4126],[2130,4126],[2131,4126],[2132,4126],[2133,4126],[2134,4126],[2135,4127],[2136,4127],[2137,4127],[2138,4127],[2139,4115],[2140,4116],[2141,4123],[2142,4117],[2143,4117],[2144,4117],[2145,4117],[2146,4125],[2147,4118],[2148,4118],[2149,4118],[2150,4128],[2151,4129],[2152,4112],[2153,4115],[2154,4115],[2155,4114],[2156,4120],[2157,4120],[2158,4120],[2159,4130],[2160,4130],[2161,4119],[2164,4131],[2165,4119],[2166,4119],[2184,4115],[2185,4116],[2187,4131],[2188,4113],[2189,4126],[2190,4126],[2191,4126],[2192,4126],[2193,4127],[2194,4127],[2195,4116],[2196,4123],[2197,4125],[2198,4118],[2199,4118],[2200,4118],[2201,4128],[2202,4129],[2203,4112],[2204,4120],[2205,4130],[2206,4130],[2209,4131],[2210,4119],[2211,4119],[2214,4113],[2215,4113],[2216,4113],[2217,4113],[2218,4126],[2219,4126],[2220,4126],[2221,4126],[2222,4126],[2223,4126],[2224,4126],[2225,4126],[2226,4126],[2227,4126],[2228,4126],[2229,4126],[2230,4126],[2231,4126],[2232,4126],[2233,4126],[2234,4127],[2235,4127],[2236,4127],[2237,4127],[2238,4127],[2239,4127],[2240,4127],[2241,4127],[2242,4116],[2243,4116],[2244,4116],[2245,4116],[2246,4123],[2247,4123],[2248,4123],[2249,4123],[2250,4125],[2251,4125],[2252,4125],[2253,4125],[2254,4118],[2255,4118],[2256,4118],[2257,4118],[2258,4118],[2259,4118],[2260,4118],[2261,4118],[2262,4118],[2263,4118],[2264,4118],[2265,4118],[2266,4128],[2267,4128],[2268,4128],[2269,4128],[2270,4129],[2271,4129],[2272,4129],[2273,4129],[2274,4112],[2275,4112],[2276,4112],[2277,4112],[2278,4120],[2279,4120],[2280,4120],[2281,4120],[2282,4130],[2283,4130],[2284,4130],[2285,4130],[2286,4130],[2287,4130],[2288,4130],[2289,4130],[2298,4131],[2299,4131],[2300,4131],[2301,4131],[2302,4119],[2303,4119],[2304,4119],[2305,4119],[2306,4119],[2307,4119],[2308,4119],[2309,4119],[2318,4130],[2319,4130],[2321,4127],[2322,4113],[2323,4113],[2324,4113],[2325,4135],[2326,4135],[2327,4126],[2328,4126],[2329,4126],[2330,4126],[2331,4126],[2332,4126],[2333,4126],[2334,4126],[2335,4126],[2336,4127],[2337,4127],[2338,4127],[2339,4127],[2340,4127],[2341,4115],[2342,4116],[2343,4116],[2344,4123],[2345,4117],[2346,4117],[2347,4117],[2348,4117],[2349,4125],[2350,4118],[2351,4118],[2352,4118],[2353,4118],[2354,4118],[2355,4128],[2356,4128],[2357,4129],[2358,4129],[2359,4112],[2360,4112],[2361,4115],[2362,4115],[2363,4114],[2364,4120],[2365,4120],[2366,4120],[2367,4130],[2368,4130],[2369,4130],[2370,4130],[2371,4119],[2372,4119],[2377,4131],[2378,4131],[2379,4119],[2380,4119],[2381,4119],[2407,4117],[2408,4117],[2409,4130],[2410,4113],[2411,4113],[2412,4113],[2413,4113],[2414,4113],[2415,4113],[2416,4113],[2417,4113],[2418,4135],[2419,4126],[2420,4126],[2421,4126],[2422,4126],[2423,4126],[2424,4126],[2425,4126],[2426,4126],[2427,4126],[2428,4126],[2429,4126],[2430,4127],[2431,4127],[2432,4127],[2433,4127],[2434,4127],[2435,4127],[2436,4127],[2437,4115],[2438,4116],[2439,4116],[2440,4116],[2441,4116],[2442,4116],[2443,4116],[2444,4123],[2445,4117],[2446,4117],[2447,4117],[2448,4117],[2449,4125],[2450,4118],[2451,4118],[2452,4118],[2453,4128],[2454,4129],[2455,4112],[2456,4112],[2457,4112],[2458,4115],[2459,4115],[2460,4114],[2461,4120],[2462,4120],[2463,4120],[2464,4120],[2465,4130],[2466,4130],[2467,4130],[2468,4119],[2474,4131],[2475,4131],[2476,4119],[2477,4119],[2499,4113],[2500,4126],[2501,4126],[2502,4126],[2503,4126],[2504,4127],[2505,4127],[2506,4116],[2507,4117],[2508,4117],[2509,4117],[2510,4117],[2511,4125],[2512,4118],[2513,4118],[2514,4118],[2515,4128],[2516,4129],[2517,4112],[2518,4115],[2519,4115],[2520,4114],[2521,4130],[2522,4130],[2525,4131],[2526,4119],[2527,4119],[2533,4116],[2534,4116],[2535,4116],[2538,4117],[2539,4116],[2540,4129],[2541,4131],[2542,4119],[2543,4119],[2545,4126],[2546,4127],[2548,4117],[2549,4113],[2550,4135],[2551,4126],[2552,4126],[2553,4126],[2554,4126],[2555,4127],[2556,4127],[2557,4128],[2558,4112],[2559,4119],[2567,4114],[2568,4114],[2569,4131],[2570,4113],[2571,4113],[2572,4113],[2573,4113],[2574,4113],[2575,4113],[2576,4113],[2577,4135],[2578,4126],[2579,4126],[2580,4126],[2581,4126],[2582,4126],[2583,4127],[2584,4127],[2585,4127],[2586,4115],[2587,4116],[2588,4123],[2589,4117],[2590,4117],[2591,4117],[2592,4117],[2593,4125],[2594,4118],[2595,4118],[2596,4118],[2597,4128],[2598,4129],[2599,4112],[2600,4115],[2601,4115],[2602,4114],[2603,4120],[2604,4120],[2605,4120],[2606,4130],[2607,4130],[2608,4119],[2611,4131],[2612,4119],[2613,4119],[2632,4115],[2633,4115],[2634,4121],[2635,4131],[2637,4115],[2638,4113],[2639,4113],[2640,4113],[2641,4113],[2642,4113],[2643,4113],[2644,4113],[2645,4135],[2646,4126],[2647,4126],[2648,4126],[2649,4126],[2650,4126],[2651,4127],[2652,4127],[2653,4127],[2654,4115],[2655,4116],[2656,4123],[2657,4117],[2658,4117],[2659,4117],[2660,4117],[2661,4125],[2662,4118],[2663,4118],[2664,4118],[2665,4128],[2666,4129],[2667,4112],[2668,4115],[2669,4115],[2670,4114],[2671,4120],[2672,4120],[2673,4120],[2674,4130],[2675,4130],[2676,4119],[2679,4131],[2680,4119],[2681,4119],[2700,4121],[2701,4113],[2702,4113],[2703,4113],[2704,4113],[2705,4113],[2711,4135],[2712,4116],[2713,4117],[2714,4126],[2715,4113],[2717,4115],[2719,4118],[2720,4118],[2721,4118],[2723,4118],[2725,4117],[2726,4117],[2727,4117],[2728,4115],[2729,4115],[2730,4115],[2731,4117],[2733,4115],[2734,4114],[2735,4117],[2736,4117],[2737,4117],[2740,4114],[2741,4115],[2742,4115],[2743,4115],[2745,4113],[2746,4114],[2747,4131],[2749,4117],[2750,4117],[2753,4117],[2754,4123],[2755,4121],[2756,4121],[2757,4121],[2758,4121],[2759,4121],[2760,4120],[2763,4113],[2764,4113],[2765,4113],[2766,4113],[2767,4113],[2768,4113],[2769,4113],[2770,4135],[2771,4126],[2772,4126],[2773,4126],[2774,4126],[2775,4126],[2776,4127],[2777,4127],[2778,4127],[2779,4115],[2780,4116],[2781,4123],[2782,4117],[2783,4117],[2784,4117],[2785,4117],[2786,4125],[2787,4118],[2788,4118],[2789,4118],[2790,4128],[2791,4129],[2792,4112],[2793,4115],[2794,4115],[2795,4114],[2796,4120],[2797,4120],[2798,4120],[2799,4130],[2800,4130],[2801,4119],[2804,4131],[2805,4119],[2806,4119],[2824,4115],[2825,4116],[2826,4131],[2827,4119],[2828,4119],[2829,4117],[2830,4117],[2831,4117],[2834,4115],[2835,4117],[2836,4113],[2837,4113],[2838,4113],[2839,4113],[2840,4113],[2845,4127],[2846,4126],[2847,4126],[2848,4127],[2849,4127],[2850,4127],[2851,4114],[2852,4114],[2853,4127],[2856,4126],[2857,4126],[2858,4126],[2860,4126],[2861,4126],[2862,4130],[2863,4130],[2865,4115],[2866,4115],[2867,4126],[2874,4115],[2875,4127],[2876,4117],[2877,4117],[2880,4114],[2882,4117],[2883,4116],[2884,4120],[2888,4115],[2889,4115],[2890,4115],[2891,4117],[2892,4117],[2893,4118],[2894,4118],[2895,4118],[2896,4129],[2900,4127],[2903,4113],[2904,4126],[2905,4126],[2906,4126],[2907,4126],[2908,4127],[2909,4127],[2910,4112],[2911,4119],[2918,4118],[2922,4126],[2923,4117],[2924,4127],[2925,4117],[2926,4117],[2927,4115],[2928,4117],[2929,4117],[2930,4114],[2931,4115],[2932,4113],[2933,4126],[2934,4126],[2935,4126],[2936,4126],[2937,4127],[2938,4127],[2939,4116],[2940,4117],[2941,4117],[2942,4117],[2943,4117],[2944,4125],[2945,4118],[2946,4118],[2947,4118],[2948,4128],[2949,4129],[2950,4112],[2951,4115],[2952,4115],[2953,4114],[2954,4130],[2955,4130],[2958,4131],[2959,4119],[2960,4119],[2966,4113],[2967,4135],[2968,4126],[2969,4126],[2970,4126],[2971,4126],[2972,4127],[2973,4127],[2974,4116],[2975,4118],[2976,4118],[2977,4128],[2978,4129],[2979,4112],[2980,4130],[2981,4130],[2982,4119],[2985,4131],[2986,4119],[2993,4114],[2994,4114],[2995,4114],[2997,4113],[2998,4113],[2999,4113],[3000,4113],[3001,4113],[3002,4113],[3003,4113],[3004,4135],[3005,4126],[3006,4126],[3007,4126],[3008,4126],[3009,4126],[3010,4127],[3011,4127],[3012,4127],[3013,4115],[3014,4116],[3015,4116],[3016,4116],[3017,4116],[3018,4123],[3019,4117],[3020,4117],[3021,4117],[3022,4117],[3023,4125],[3024,4118],[3025,4118],[3026,4118],[3027,4128],[3028,4129],[3029,4112],[3030,4115],[3031,4115],[3032,4114],[3033,4120],[3034,4120],[3035,4120],[3036,4130],[3037,4130],[3038,4119],[3041,4131],[3042,4119],[3043,4119],[3061,4113],[3062,4113],[3063,4113],[3064,4113],[3065,4113],[3066,4113],[3067,4113],[3068,4135],[3069,4126],[3070,4126],[3071,4126],[3072,4126],[3073,4126],[3074,4127],[3075,4127],[3076,4127],[3077,4115],[3078,4116],[3079,4123],[3080,4117],[3081,4117],[3082,4117],[3083,4117],[3084,4125],[3085,4118],[3086,4118],[3087,4118],[3088,4128],[3089,4129],[3090,4112],[3091,4115],[3092,4115],[3093,4114],[3094,4120],[3095,4120],[3096,4120],[3097,4130],[3098,4130],[3099,4119],[3102,4131],[3103,4119],[3104,4119],[3122,4113],[3123,4113],[3124,4113],[3125,4113],[3126,4113],[3129,4113],[3130,4135],[3131,4126],[3132,4126],[3133,4126],[3134,4126],[3135,4127],[3136,4127],[3137,4116],[3138,4118],[3139,4118],[3140,4128],[3141,4129],[3142,4112],[3143,4130],[3144,4130],[3145,4119],[3148,4131],[3149,4119],[3156,4119],[3157,4113],[3158,4113],[3159,4113],[3160,4113],[3161,4113],[3162,4113],[3163,4113],[3164,4135],[3165,4126],[3166,4126],[3167,4126],[3168,4126],[3169,4126],[3170,4127],[3171,4127],[3172,4127],[3173,4115],[3174,4116],[3175,4123],[3176,4117],[3177,4117],[3178,4117],[3179,4117],[3180,4125],[3181,4118],[3182,4118],[3183,4118],[3184,4128],[3185,4129],[3186,4112],[3187,4115],[3188,4115],[3189,4114],[3190,4120],[3191,4120],[3192,4120],[3193,4130],[3194,4130],[3195,4119],[3198,4131],[3199,4119],[3200,4119],[3218,4117],[3219,4117],[3220,4115],[3222,4114],[3223,4114],[3224,4113],[3225,4113],[3226,4113],[3227,4113],[3228,4113],[3229,4113],[3230,4113],[3231,4135],[3232,4126],[3233,4126],[3234,4126],[3235,4126],[3236,4126],[3237,4127],[3238,4127],[3239,4127],[3240,4115],[3241,4116],[3242,4123],[3243,4117],[3244,4117],[3245,4117],[3246,4117],[3247,4125],[3248,4118],[3249,4118],[3250,4118],[3251,4128],[3252,4129],[3253,4112],[3254,4115],[3255,4115],[3256,4114],[3257,4120],[3258,4120],[3259,4120],[3260,4130],[3261,4130],[3262,4119],[3265,4131],[3266,4119],[3267,4119],[3285,4121],[3287,4114],[3288,4114],[3290,4127],[3291,4127],[3292,4127],[3293,4127],[3294,4127],[3523,4152],[3524,4156],[3525,4151],[3526,4152],[3527,4152],[3528,4152],[3529,4154],[3530,4153],[3531,4153],[3532,4152],[3533,4153],[3534,4153],[3535,4154],[3536,4151],[3537,4156],[3538,4152],[3539,4153],[3540,4153],[3541,4154],[3542,4151],[3543,4156],[3544,4151],[3545,4156],[3546,4152],[3547,4153],[3548,4153],[3549,4154],[3550,4151],[3551,4156],[3552,4152],[3553,4153],[3554,4153],[3555,4154],[3556,4151],[3557,4153],[3558,4154],[3559,4152],[3560,4153],[3561,4153],[3562,4154],[3563,4151],[3564,4152],[3565,4153],[3566,4153],[3567,4154],[3568,4151],[3569,4152],[3570,4153],[3571,4153],[3572,4154],[3573,4151],[3574,4152],[3575,4152],[3576,4156],[3577,4152],[3578,4153],[3579,4153],[3580,4154],[3581,4151],[3582,4156],[3583,4152],[3584,4153],[3585,4153],[3586,4154],[3587,4151],[3588,4156],[3589,4152],[3590,4153],[3591,4153],[3592,4154],[3593,4151],[3594,4156],[3595,4153],[3596,4153],[3597,4151],[3598,4156],[3599,4152],[3600,4153],[3601,4153],[3602,4154],[3603,4151],[3604,4156],[3605,4152],[3606,4153],[3607,4153],[3608,4154],[3609,4151],[3610,4156],[3611,4153],[3612,4153],[3613,4151],[3614,4156],[3615,4152],[3616,4153],[3617,4153],[3618,4154],[3619,4151],[3620,4154],[3621,4152],[3622,4153],[3623,4153],[3624,4152],[3625,4152],[3626,4152],[3627,4152],[3628,4153],[3629,4153],[3630,4153],[3631,4153],[3632,4153],[3633,4153],[3634,4153],[3635,4153],[3636,4156],[3637,4156],[3638,4156],[3639,4152],[3640,4152],[3641,4153],[3642,4153],[3643,4153],[3644,4154],[3645,4151],[3646,4156],[3647,4152],[3648,4153],[3649,4153],[3650,4154],[3651,4151],[3652,4152],[3653,4153],[3654,4153],[3655,4154],[3656,4151],[3657,4153],[3658,4153],[3659,4153],[3660,4151],[3661,4156],[3662,4152],[3663,4153],[3664,4153],[3665,4154],[3666,4151],[3667,4151],[3668,4156],[3669,4152],[3670,4153],[3671,4153],[3672,4154],[3673,4151],[3674,4154],[3675,4154],[3676,4153],[3677,4153],[3678,4153],[3679,4153],[3680,4156],[3681,4156],[3682,4152],[3683,4153],[3684,4153],[3685,4154],[3686,4151],[3687,4152],[3688,4153],[3689,4151],[3690,4153],[3691,4156],[3692,4156],[3693,4156],[3694,4153],[3695,4153],[3696,4152],[3697,4153],[3698,4153],[3699,4154],[3700,4151],[3701,4152],[3702,4153],[3703,4156],[3704,4152],[3705,4153],[3706,4153],[3707,4154],[3708,4151],[3709,4156],[3710,4152],[3711,4153],[3712,4153],[3713,4154],[3714,4151],[3715,4152],[3716,4153],[3717,4156],[3718,4152],[3719,4153],[3720,4153],[3721,4154],[3722,4151],[3723,4153],[3724,4153],[3725,4156],[3726,4152],[3727,4153],[3728,4153],[3729,4154],[3730,4151],[3731,4075],[3732,4075],[3733,4075],[3734,4075],[3735,4075],[3736,4075],[3737,4075],[3738,4075],[3739,4075],[3740,4075],[3741,4075],[3742,4075],[3743,4075],[3744,4075],[3745,4075],[3746,4075],[3747,4075],[3748,4075],[3749,4075],[3750,4075],[3751,4075],[3752,4075],[3753,4075],[3754,4075],[3755,4075],[3756,4075],[3757,4075],[3758,4075],[3759,4075],[3760,4075],[3761,4075],[3762,4075],[3763,4075],[3764,4075],[3765,4075],[3766,4075],[3767,4075],[3768,4075],[3769,4075],[3770,4075],[3771,4075],[3772,4075],[3773,4075],[3774,4075],[3775,4075],[3776,4075],[3777,4075],[3778,4075],[3779,4075],[3780,4075],[3781,4075],[3782,4075],[3783,4075],[3784,4075],[3785,4075],[3786,4075],[3787,4075],[3788,4075],[3789,4075],[3790,4075],[3791,4075],[3792,4075],[3793,4075],[3794,4075],[3795,4075],[3796,4075],[3797,4075],[3798,4075],[3799,4075],[3800,4075],[3801,4075],[3802,4075],[3803,4075],[3804,4075],[3805,4075],[3806,4075],[3807,4075],[3808,4075],[3809,4075],[3810,4075],[3811,4075],[3812,4075],[3813,4075],[3814,4075],[3815,4075],[3816,4075],[3817,4075],[3818,4075],[3819,4075],[3820,4075],[3821,4075],[3822,4075],[3823,4075],[3824,4075],[3825,4075],[3826,4075],[3827,4075],[3828,4075],[3829,4075],[3830,4075],[3831,4075],[3832,4075],[3833,4075],[3834,4075],[3835,4075],[3836,4075],[4006,4161],[4008,4161],[4010,4161],[4012,4161],[4014,4161],[4016,4161],[4018,4161],[4020,4161],[4022,4161],[4023,4161],[4024,4161],[4026,4161],[4028,4161],[4030,4161],[4032,4161],[4034,4161],[4035,4161],[4036,4161],[4037,4161],[4039,4161],[4040,4161],[4041,4161],[4044,4161],[4046,4161],[4048,4161],[4050,4161],[4052,4161]],"b":[[172,"impl-Debug-for-PublicKey"],[173,"impl-Display-for-PublicKey"],[174,"impl-Debug-for-KeyParsingError"],[175,"impl-Display-for-KeyParsingError"],[178,"impl-Display-for-RelayUrl"],[179,"impl-Debug-for-RelayUrl"],[180,"impl-Display-for-RelayUrlParseError"],[181,"impl-Debug-for-RelayUrlParseError"],[182,"impl-Debug-for-RelayMap"],[183,"impl-Display-for-RelayMap"],[184,"impl-Display-for-RelayNode"],[185,"impl-Debug-for-RelayNode"],[190,"impl-From%3CDecodeError%3E-for-KeyParsingError"],[191,"impl-From%3CError%3E-for-KeyParsingError"],[193,"impl-From%3CSigningKey%3E-for-SecretKey"],[194,"impl-From%3C%5Bu8;+32%5D%3E-for-SecretKey"],[195,"impl-From%3CPublicKey%3E-for-NodeAddr"],[196,"impl-From%3CNodeInfo%3E-for-NodeAddr"],[197,"impl-From%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[198,"impl-From%3CNodeTicket%3E-for-NodeAddr"],[203,"impl-From%3CRelayNode%3E-for-RelayMap"],[204,"impl-From%3CRelayUrl%3E-for-RelayMap"],[210,"impl-FromIterator%3CRelayUrl%3E-for-RelayMap"],[211,"impl-FromIterator%3CRelayNode%3E-for-RelayMap"],[306,"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey"],[307,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey"],[550,"impl-Display-for-UserData"],[551,"impl-Debug-for-UserData"],[553,"impl-Debug-for-ParseError"],[554,"impl-Display-for-ParseError"],[556,"impl-Display-for-IntoDiscoveryError"],[557,"impl-Debug-for-IntoDiscoveryError"],[558,"impl-Display-for-DiscoveryError"],[559,"impl-Debug-for-DiscoveryError"],[565,"impl-From%3CTxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[566,"impl-From%3CDiscoveryItem%3E-for-NodeInfo"],[568,"impl-From%3CNodeAddr%3E-for-NodeInfo"],[569,"impl-From%3C%26TxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[978,"impl-Debug-for-PkarrError"],[979,"impl-Display-for-PkarrError"],[2323,"impl-Debug-for-SendDatagramError"],[2324,"impl-Display-for-SendDatagramError"],[2325,"impl-Display-for-RetryError"],[2326,"impl-Debug-for-RetryError"],[2328,"impl-Display-for-ReadToEndError"],[2329,"impl-Debug-for-ReadToEndError"],[2330,"impl-Display-for-ReadError"],[2331,"impl-Debug-for-ReadError"],[2332,"impl-Display-for-ResetError"],[2333,"impl-Debug-for-ResetError"],[2334,"impl-Debug-for-ReadExactError"],[2335,"impl-Display-for-ReadExactError"],[2337,"impl-Display-for-WriteError"],[2338,"impl-Debug-for-WriteError"],[2339,"impl-Display-for-StoppedError"],[2340,"impl-Debug-for-StoppedError"],[2342,"impl-Display-for-VarInt"],[2343,"impl-Debug-for-VarInt"],[2350,"impl-Debug-for-ControlMsg"],[2351,"impl-Display-for-ControlMsg"],[2353,"impl-Debug-for-ConnectionType"],[2354,"impl-Display-for-ConnectionType"],[2355,"impl-Debug-for-ClosedStream"],[2356,"impl-Display-for-ClosedStream"],[2357,"impl-Display-for-Source"],[2358,"impl-Debug-for-Source"],[2359,"impl-Display-for-ConnectionError"],[2360,"impl-Debug-for-ConnectionError"],[2367,"impl-Display-for-ConnectionClose"],[2368,"impl-Debug-for-ConnectionClose"],[2369,"impl-Debug-for-ApplicationClose"],[2370,"impl-Display-for-ApplicationClose"],[2371,"impl-Display-for-AddNodeAddrError"],[2372,"impl-Debug-for-AddNodeAddrError"],[2373,"impl-Debug-for-TransportError"],[2374,"impl-Display-for-TransportError"],[2375,"impl-Display-for-TransportErrorCode"],[2376,"impl-Debug-for-TransportErrorCode"],[2377,"impl-Debug-for-StreamId"],[2378,"impl-Display-for-StreamId"],[2380,"impl-Debug-for-DirectAddrType"],[2381,"impl-Display-for-DirectAddrType"],[2385,"impl-Display-for-ConnectWithOptsError"],[2386,"impl-Debug-for-ConnectWithOptsError"],[2387,"impl-Display-for-ConnectError"],[2388,"impl-Debug-for-ConnectError"],[2389,"impl-Debug-for-BindError"],[2390,"impl-Display-for-BindError"],[2391,"impl-Display-for-GetMappingAddressError"],[2392,"impl-Debug-for-GetMappingAddressError"],[2398,"impl-Debug-for-AlpnError"],[2399,"impl-Display-for-AlpnError"],[2402,"impl-Debug-for-RemoteNodeIdError"],[2403,"impl-Display-for-RemoteNodeIdError"],[2422,"impl-From%3CResetError%3E-for-ReadError"],[2423,"impl-From%3CReadableError%3E-for-ReadError"],[2424,"impl-From%3CConnectionError%3E-for-ReadError"],[2431,"impl-From%3CStoppedError%3E-for-WriteError"],[2433,"impl-From%3CClosedStream%3E-for-WriteError"],[2434,"impl-From%3CConnectionError%3E-for-WriteError"],[2438,"impl-From%3Cu32%3E-for-VarInt"],[2440,"impl-From%3Cu16%3E-for-VarInt"],[2441,"impl-From%3CFrameType%3E-for-VarInt"],[2442,"impl-From%3CStreamId%3E-for-VarInt"],[2443,"impl-From%3Cu8%3E-for-VarInt"],[2455,"impl-From%3CClose%3E-for-ConnectionError"],[2457,"impl-From%3CTransportError%3E-for-ConnectionError"],[2469,"impl-From%3CInvalidFrame%3E-for-TransportError"],[2471,"impl-From%3CError%3E-for-TransportError"],[2472,"impl-From%3CTransportErrorCode%3E-for-TransportError"],[2483,"impl-From%3CConnectionError%3E-for-ConnectError"],[2484,"impl-From%3CConnectWithOptsError%3E-for-ConnectError"],[2846,"impl-RecvStream"],[2847,"impl-AsyncRead-for-RecvStream"],[2849,"impl-SendStream"],[2850,"impl-AsyncWrite-for-SendStream"],[3014,"impl-TryFrom%3Cu128%3E-for-VarInt"],[3016,"impl-TryFrom%3Cusize%3E-for-VarInt"],[3017,"impl-TryFrom%3Cu64%3E-for-VarInt"],[3639,"impl-Display-for-Probe"],[3640,"impl-Debug-for-Probe"],[3641,"impl-Display-for-Report"],[3642,"impl-Debug-for-Report"],[3791,"impl-Display-for-EncodingError"],[3792,"impl-Debug-for-EncodingError"],[3793,"impl-Display-for-DecodingError"],[3794,"impl-Debug-for-DecodingError"],[3795,"impl-Display-for-MaxLengthExceededError"],[3796,"impl-Debug-for-MaxLengthExceededError"],[3938,"impl-Debug-for-AcceptError"],[3939,"impl-Display-for-AcceptError"],[3943,"impl-From%3CError%3E-for-AcceptError"],[3944,"impl-From%3CConnectionError%3E-for-AcceptError"],[3945,"impl-From%3CBox%3Cdyn+Error+%2B+Send+%2B+Sync%3E%3E-for-AcceptError"],[3946,"impl-From%3CRemoteNodeIdError%3E-for-AcceptError"],[3948,"impl-From%3CClosedStream%3E-for-AcceptError"]],"c":"OjAAAAAA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GAKENBgCpDQ8Auw0AAMANAwDNDQsA2g0LAOgNNQAfDgUAJg4YAEUOBABODgUAYQ4HAG4OFQCGDgUAjg4KAJoOAwCiDgMApw4bAMQOEQDXDgAA2w4FAOUOCADvDgUA+A4nACEPAAAjDwEAKA8CAC4PDwA/Dx8AYQ8EAGgPAwBtDwAAcA8GAIAPBQCJDwIAjQ8KAJkPDACoDw8Aug8DAMAPAQDHDwEAzg8HAA==","P":[[23,"B,E,P,T"],[31,""],[37,"T"],[38,""],[39,"T"],[54,""],[62,"T"],[68,""],[78,"K"],[82,"T"],[106,""],[109,"T"],[114,""],[115,"T"],[126,""],[128,"D"],[130,"__D"],[133,""],[152,"K"],[172,""],[188,"T"],[190,""],[192,"T"],[193,""],[199,"T"],[200,""],[201,"T"],[203,""],[205,"T"],[207,""],[210,"T"],[212,""],[213,"T"],[219,""],[223,"R"],[224,"Watcher::Value"],[225,""],[226,"H"],[227,"__H"],[229,""],[239,"Watcher::Value,T,W"],[240,"U"],[248,"Watcher::Value"],[249,""],[252,"Watcher::Value,T,"],[255,""],[259,"Watcher::Value,W"],[260,"B,E,P,T"],[268,""],[272,"Watcher::Value"],[274,""],[280,"S"],[282,"__S"],[285,""],[288,"Watcher::Value"],[291,""],[292,"T"],[298,""],[305,"U,T"],[306,""],[308,"U,T"],[310,""],[311,"U,T"],[316,"U"],[324,""],[338,"Watcher::Value"],[339,""],[342,"V"],[350,""],[351,""],[405,""],[407,"B,E,P,T"],[416,""],[423,"T"],[441,""],[450,"T"],[455,""],[461,"K"],[462,"T"],[489,""],[492,"T"],[495,""],[496,"T"],[500,"Deref::Target"],[501,"T"],[505,""],[506,"T"],[513,""],[533,"K"],[549,""],[562,"T"],[563,""],[564,"T"],[565,""],[567,"T"],[568,""],[571,"T"],[574,""],[575,"T"],[581,""],[585,"T"],[590,""],[592,""],[593,"__H"],[594,""],[606,"U"],[615,""],[630,"B,E,P,T"],[639,""],[656,"T"],[661,""],[667,"U,T"],[668,""],[669,"U,T"],[677,"U"],[686,""],[701,"V"],[710,""],[751,"B,E,P,T"],[753,"T"],[757,""],[759,"T"],[769,""],[774,"T"],[776,""],[778,"U"],[780,""],[783,"B,E,P,T"],[785,""],[786,"U,T"],[788,"U"],[790,""],[792,"V"],[799,""],[803,"B,E,P,T"],[806,"T"],[812,""],[816,"T"],[818,""],[820,"T"],[829,""],[830,"T"],[836,""],[840,"K"],[844,""],[847,"T"],[852,""],[855,"U"],[858,""],[860,"B,E,P,T"],[863,""],[865,""],[866,""],[867,"T"],[869,"U,T"],[872,"U"],[875,""],[878,"V"],[881,""],[904,"B,E,P,T"],[910,""],[912,"T"],[924,""],[932,"T"],[935,""],[938,"T"],[968,""],[985,"T"],[994,""],[1001,"U"],[1007,""],[1014,"B,E,P,T"],[1020,""],[1026,"T"],[1029,""],[1030,"U,T"],[1036,"U"],[1042,""],[1051,"V"],[1057,""],[1068,"B,E,P,T"],[1070,"T"],[1074,""],[1078,"T"],[1079,""],[1080,"T"],[1086,""],[1088,"T"],[1092,""],[1097,"T"],[1100,""],[1103,"U"],[1105,""],[1109,"B,E,P,T"],[1111,""],[1116,"T"],[1117,"U,T"],[1119,"U"],[1121,""],[1124,"V"],[1128,""],[1129,""],[1130,"B,E,P,T"],[1131,"T"],[1133,""],[1134,"T"],[1135,""],[1136,"T"],[1139,""],[1140,"T"],[1142,""],[1144,"T"],[1145,","],[1146,"T"],[1147,""],[1149,"U"],[1150,""],[1152,"B,E,P,T"],[1153,""],[1156,""],[1157,"T"],[1158,"U,T"],[1159,"U"],[1160,""],[1161,"V"],[1163,""],[1166,"B,E,P,T"],[1167,"T"],[1169,""],[1172,"T"],[1173,""],[1174,"T"],[1177,""],[1178,""],[1179,"T"],[1181,""],[1183,"T"],[1185,""],[1186,"U"],[1187,"T"],[1189,""],[1191,"T"],[1192,""],[1193,""],[1197,"T"],[1198,""],[1199,"B,E,P,T"],[1200,""],[1203,"T"],[1204,"U,T"],[1205,"U"],[1206,""],[1207,"V"],[1208,""],[1407,""],[1408,""],[1415,"B,E,P,T"],[1476,""],[1506,"T"],[1628,""],[1678,"T"],[1712,""],[1755,"K"],[1759,"T"],[1942,""],[1946,""],[1948,""],[1961,"B"],[1964,""],[1979,"T"],[2101,""],[2108,"__D"],[2112,""],[2114,""],[2115,""],[2185,"B"],[2188,""],[2214,"K"],[2318,""],[2410,"T"],[2417,""],[2418,"T"],[2421,""],[2425,"T"],[2427,""],[2428,"T"],[2429,""],[2430,"T"],[2431,""],[2432,"T"],[2433,""],[2435,"T"],[2436,""],[2437,"T"],[2438,""],[2439,"T"],[2440,""],[2444,"T"],[2455,""],[2456,"T"],[2457,""],[2458,"T"],[2462,""],[2463,"T"],[2465,""],[2466,"T"],[2469,""],[2470,"T"],[2471,""],[2473,"T"],[2475,""],[2476,"T"],[2482,""],[2485,"T"],[2493,""],[2494,"T"],[2533,""],[2539,"__H"],[2544,""],[2638,"U"],[2699,""],[2707,"IntoFuture::IntoFuture"],[2708,""],[2763,"B,E,P,T"],[2824,""],[2841,"Future::Output"],[2845,""],[2883,""],[2884,""],[2893,"__S"],[2897,""],[2932,"T"],[2966,""],[2997,"U,T"],[3014,""],[3015,"U,T"],[3016,""],[3018,"U,T"],[3061,"U"],[3122,"F"],[3129,""],[3224,"V"],[3285,""],[3353,"B,E,P,T"],[3357,""],[3360,"T"],[3368,""],[3372,"T"],[3373,""],[3374,"T"],[3386,""],[3393,"T"],[3401,"__D"],[3404,""],[3423,"T"],[3428,""],[3435,"U"],[3439,""],[3454,"B,E,P,T"],[3458,""],[3496,"__S"],[3499,"T"],[3500,"U,T"],[3504,"U"],[3508,""],[3519,"V"],[3532,""],[3537,"B,E,P,T"],[3543,""],[3545,"T"],[3557,""],[3564,"T"],[3569,""],[3575,"K"],[3576,"T"],[3594,""],[3598,"T"],[3610,"__D"],[3613,""],[3624,"K"],[3636,""],[3646,"T"],[3657,""],[3668,"U"],[3674,""],[3681,"B,E,P,T"],[3687,""],[3693,"__S"],[3696,"T"],[3701,""],[3703,"U,T"],[3709,"U"],[3715,""],[3725,"V"],[3736,""],[3751,"B,E,P,T"],[3754,""],[3760,"T"],[3766,""],[3769,"T"],[3778,""],[3779,"T"],[3785,""],[3797,"T"],[3798,""],[3799,"T"],[3801,""],[3808,"U"],[3811,""],[3812,"B,E,P,T"],[3815,""],[3822,"U,T"],[3825,"U"],[3828,""],[3834,"V"],[3837,""],[3884,","],[3885,"P"],[3886,""],[3887,"B,E,P,T"],[3891,""],[3893,"T"],[3901,""],[3904,"P"],[3905,"T"],[3907,""],[3909,"T"],[3929,""],[3940,"P"],[3941,"T"],[3943,""],[3947,"T"],[3948,""],[3949,"T"],[3953,""],[3958,"U"],[3962,""],[3964,"P,F"],[3965,""],[3967,"P"],[3968,""],[3969,"B,E,P,T"],[3973,""],[3976,"P"],[3977,""],[3980,"T"],[3982,""],[3983,"U,T"],[3987,"U"],[3991,""],[3996,"V"],[4000,""],[4007,"B,E,P,T"],[4009,"T"],[4023,""],[4029,"T"],[4031,""],[4033,"U"],[4035,""],[4038,"B,E,P,T"],[4040,""],[4045,"U,T"],[4047,"U"],[4049,""],[4051,"V"]]}],["iroh_base",{"t":"TPPPGTFIFFFFFINNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNONNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOPTPFGPKPNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNMNNNNNNNNNNNNOOOOOOOOOOOO","n":["BYTE_SIZE","Decode","DecodeInvalidLength","Key","KeyParsingError","LENGTH","NodeAddr","NodeId","PublicKey","RelayUrl","RelayUrlParseError","SecretKey","Signature","SignatureError","algorithm_identifier","as_bytes","as_error_source","","as_ref","backtrace","","borrow","","","","","","","","borrow_mut","","","","","","","cause","","clone","","","","","clone_into","","","","","clone_to_uninit","","","","","cmp","","","deref","","description","","deserialize","","","","","direct_addresses","","eq","","","","fmt","","","","","","","","","","","","","","fmt_short","from","","","","","","","","","","","","","","","","","","","from_bytes","","","from_components","from_parts","from_slice","from_str","","","","generate","hash","","","in_current_span","","into","","","","","","","is_empty","new","node_id","partial_cmp","","","public","","r_bytes","relay_url","","s_bytes","secret","serialize","","","","","sign","source","","ticket","to_bitstring","to_bytes","","","to_owned","","","","","to_string","","","","","to_vec","try_from","","","","","","","","","","","try_into","","","","","","","type_id","","","","","","","verify","with_direct_addresses","with_relay_url","backtrace","","","source","","span_trace","","","Encoding","KIND","Kind","NodeTicket","ParseError","Postcard","Ticket","Verify","as_error_source","backtrace","borrow","","borrow_mut","","cause","clone","clone_into","clone_to_uninit","description","deserialize","","eq","fmt","","","","from","","","","","from_bytes","","from_str","in_current_span","into","","new","node_addr","serialize","","source","to_bytes","","to_owned","to_string","","try_from","","try_into","","type_id","","verification_failed","wrong_prefix","backtrace","","","","expected","message","source","","span_trace","","",""],"q":[[0,"iroh_base"],[193,"iroh_base::KeyParsingError"],[201,"iroh_base::ticket"],[256,"iroh_base::ticket::ParseError"],[268,"der::asn1::any::allocating"],[269,"spki::algorithm"],[270,"spki::error"],[271,"core::result"],[272,"iroh_base::key"],[273,"core::error"],[274,"backtrace::capture"],[275,"core::option"],[276,"iroh_base::relay_url"],[277,"ed25519"],[278,"iroh_base::node_addr"],[279,"core::cmp"],[280,"serde_core::de"],[281,"core::net::socket_addr"],[282,"core::iter::traits::iterator"],[283,"alloc::collections::btree::set"],[284,"core::fmt"],[285,"ed25519_dalek::signature"],[286,"ed25519_dalek::verifying"],[287,"ed25519_dalek::errors"],[288,"data_encoding"],[289,"ed25519_dalek::signing"],[290,"iroh_base::ticket::node"],[291,"url"],[292,"core::iter::traits::collect"],[293,"signature::error"],[294,"rand_core"],[295,"core::marker"],[296,"core::hash"],[297,"serde_core::ser"],[298,"der::asn1::bit_string::allocating"],[299,"der::error"],[300,"alloc::string"],[301,"alloc::vec"],[302,"core::any"],[303,"n0_snafu::spantrace"],[304,"postcard::error"]],"i":"B`Af00`l````````201Al1203112BbBdBf3645210353642106421064210410405364210116410666644552100334666644555222111100364261664202410536452103111410426116264210253`6662642106450366644452210364521036452103411FjFlFn21210GbGd1``1`111Dn20220002100002200222100202001021000202020222GhGjGlGn30213210","f":"``````````````{b{{j{{f{d}}h}}}}{{{b{l}}}{{b{{A`{n}}}}}}{b{{b{Ab}}}}0{{{b{l}}}{{b{{Ad{n}}}}}}{{{b{Af}}}{{Aj{{b{Ah}}}}}}{{{b{Al}}}{{Aj{{b{Ah}}}}}}{b{{b{c}}}{}}5000000{{{b{An}}}{{b{Anc}}}{}}000000{{{b{Af}}}{{Aj{{b{Ab}}}}}}{{{b{Al}}}{{Aj{{b{Ab}}}}}}{{{b{B`}}}B`}{{{b{l}}}l}{{{b{Bb}}}Bb}{{{b{Bd}}}Bd}{{{b{Bf}}}Bf}{{b{b{Anc}}}Bh{}}0000{{bn}Bh}0000{{{b{l}}{b{l}}}Bj}{{{b{Bd}}{b{Bd}}}Bj}{{{b{Bf}}{b{Bf}}}Bj}{{{b{l}}}{{b{c}}}{}}{{{b{Bf}}}{{b{c}}}{}}{{{b{Af}}}{{b{Bl}}}}{{{b{Al}}}{{b{Bl}}}}{c{{j{B`}}}Bn}{c{{j{l}}}Bn}{c{{j{Bb}}}Bn}{c{{j{Bd}}}Bn}{c{{j{Bf}}}Bn}{{{b{Bd}}}{{`{{Cd{}{{C`{{b{Cb}}}}}}}}}}{BdCf}{{{b{B`}}{b{B`}}}Ch}{{{b{l}}{b{l}}}Ch}{{{b{Bd}}{b{Bd}}}Ch}{{{b{Bf}}{b{Bf}}}Ch}{{{b{B`}}{b{AnCj}}}{{j{BhCl}}}}000{{{b{l}}{b{AnCj}}}Cn}0{{{b{Af}}{b{AnCj}}}Cn}0{{{b{Bb}}{b{AnCj}}}Cn}{{{b{Bd}}{b{AnCj}}}Cn}{{{b{Bf}}{b{AnCj}}}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PublicKey",0,272],[1,"u8"],[1,"array"],[10,"Error",273],[1,"slice"],[6,"KeyParsingError",0,272],[5,"Backtrace",274],[6,"Option",275,null,1],[5,"RelayUrlParseError",0,276],[0,"mut"],[5,"Signature",0,277],[5,"SecretKey",0,272],[5,"NodeAddr",0,278],[5,"RelayUrl",0,276],[1,"unit"],[6,"Ordering",279],[1,"str"],[10,"Deserializer",280],[17,"Item"],[6,"SocketAddr",281],[10,"Iterator",282],[5,"BTreeSet",283],[1,"bool"],[5,"Formatter",284],[5,"Error",284],[8,"Result",284],[10,"Display",284],[5,"InternalSignature",285],[5,"VerifyingKey",286],[8,"SignatureError",0,287],[5,"DecodeError",288],[5,"SigningKey",289],[1,"tuple",null,null,1],[5,"NodeTicket",201,290],[8,"NodeId",0,272],[5,"Url",291],[10,"IntoIterator",292],[5,"Error",293],[10,"CryptoRng",294],[10,"Sized",295],[10,"Hasher",296],[10,"Serializer",297],[5,"BitString",298],[5,"Error",299],[5,"String",300],[5,"Vec",301],[5,"TypeId",302],[15,"Decode",193],[15,"Key",193],[15,"DecodeInvalidLength",193],[5,"SpanTrace",303],[6,"ParseError",201],[10,"Ticket",201],[6,"Error",304],[15,"Kind",256],[15,"Postcard",256],[15,"Encoding",256],[15,"Verify",256]],"r":[[0,277],[1,272],[2,272],[3,272],[4,272],[5,272],[6,278],[7,272],[8,272],[9,276],[10,276],[11,272],[12,277],[13,287],[14,277],[15,272],[16,272],[17,276],[18,272],[19,272],[20,276],[21,277],[22,272],[23,272],[24,272],[25,272],[26,278],[27,276],[28,276],[29,277],[30,272],[31,272],[32,272],[33,278],[34,276],[35,276],[36,272],[37,276],[38,277],[39,272],[40,272],[41,278],[42,276],[43,277],[44,272],[45,272],[46,278],[47,276],[48,277],[49,272],[50,272],[51,278],[52,276],[53,272],[54,278],[55,276],[56,272],[57,276],[58,272],[59,276],[60,277],[61,272],[62,272],[63,278],[64,276],[65,278],[66,278],[67,277],[68,272],[69,278],[70,276],[71,277],[72,277],[73,277],[74,277],[75,272],[76,272],[77,272],[78,272],[79,272],[80,278],[81,276],[82,276],[83,276],[84,276],[85,272],[86,277],[87,277],[88,277],[89,277],[90,272],[91,272],[92,272],[93,272],[94,272],[95,272],[96,272],[97,272],[98,278],[99,278],[100,278],[101,278],[102,276],[103,276],[104,276],[105,277],[106,272],[107,272],[108,277],[109,278],[110,277],[111,277],[112,272],[113,272],[114,276],[115,272],[116,272],[117,278],[118,276],[119,272],[120,276],[121,277],[122,272],[123,272],[124,272],[125,278],[126,276],[127,276],[128,278],[129,278],[130,278],[131,272],[132,278],[133,276],[134,272],[135,272],[136,277],[137,278],[138,278],[139,277],[140,272],[141,277],[142,272],[143,272],[144,278],[145,276],[146,272],[147,272],[148,276],[150,277],[151,277],[152,277],[153,272],[154,277],[155,272],[156,272],[157,278],[158,276],[159,277],[160,272],[161,272],[162,276],[163,276],[164,277],[165,277],[166,277],[167,272],[168,272],[169,272],[170,272],[171,272],[172,272],[173,278],[174,276],[175,276],[176,277],[177,272],[178,272],[179,272],[180,278],[181,276],[182,276],[183,277],[184,272],[185,272],[186,272],[187,278],[188,276],[189,276],[190,272],[191,278],[192,278],[204,290],[211,290],[213,290],[216,290],[217,290],[218,290],[221,290],[222,290],[223,290],[224,290],[227,290],[228,290],[233,290],[234,290],[236,290],[238,290],[239,290],[241,290],[244,290],[245,290],[246,290],[248,290],[250,290],[252,290]],"b":[[71,"impl-UpperHex-for-Signature"],[72,"impl-Debug-for-Signature"],[73,"impl-Display-for-Signature"],[74,"impl-LowerHex-for-Signature"],[75,"impl-Display-for-PublicKey"],[76,"impl-Debug-for-PublicKey"],[77,"impl-Debug-for-KeyParsingError"],[78,"impl-Display-for-KeyParsingError"],[81,"impl-Debug-for-RelayUrl"],[82,"impl-Display-for-RelayUrl"],[83,"impl-Display-for-RelayUrlParseError"],[84,"impl-Debug-for-RelayUrlParseError"],[86,"impl-From%3C%26%5Bu8;+ed25519::::SignatureBytes::%7Bconstant%230%7D%5D%3E-for-Signature"],[87,"impl-From%3C%5Bu8;+ed25519::::SignatureBytes::%7Bconstant%230%7D%5D%3E-for-Signature"],[88,"impl-From%3CInternalSignature%3E-for-Signature"],[93,"impl-From%3CError%3E-for-KeyParsingError"],[94,"impl-From%3CDecodeError%3E-for-KeyParsingError"],[95,"impl-From%3C%5Bu8;+32%5D%3E-for-SecretKey"],[97,"impl-From%3CSigningKey%3E-for-SecretKey"],[98,"impl-From%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[99,"impl-From%3CNodeTicket%3E-for-NodeAddr"],[100,"impl-From%3CPublicKey%3E-for-NodeAddr"],[151,"impl-Signature"],[152,"impl-SignatureEncoding-for-Signature"],[168,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey"],[169,"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey"],[223,"impl-Debug-for-NodeTicket"],[224,"impl-Display-for-NodeTicket"],[225,"impl-Debug-for-ParseError"],[226,"impl-Display-for-ParseError"],[229,"impl-From%3CDecodeError%3E-for-ParseError"],[231,"impl-From%3CError%3E-for-ParseError"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAALsAHAAPAAAAEQAwAEQAEQBXAAIAWwAAAF4AAgBiAAEAZQAAAGcAAABwAAMAdQAEAIQAAgCOAAQAlAABAJcAAACZAAAAmwAJAKYAGADCAAcA0gAKAN4ABQDmAAAA6AAAAOoAAgDyAAEA9QAJAAEBAwAGAQYA","P":[[21,"T"],[22,""],[23,"T"],[36,""],[43,"T"],[48,""],[56,"Deref::Target"],[58,""],[60,"D"],[63,"__D"],[65,""],[89,"T"],[90,""],[91,"T"],[93,""],[96,"T"],[97,""],[101,"T"],[102,""],[103,"T"],[105,""],[109,""],[110,""],[112,"FromStr::Err"],[115,"R"],[116,"H"],[117,"__H"],[119,""],[121,"U"],[128,""],[141,"S"],[144,"__S"],[146,""],[154,"T"],[159,""],[165,"U,T"],[166,""],[167,"U,T"],[168,"TryFrom::Error"],[170,"U,T"],[171,"TryFrom::Error"],[172,"U,T"],[176,"U"],[183,""],[191,""],[192,""],[211,"T"],[215,""],[217,"T"],[218,""],[221,"D"],[222,""],[228,"T"],[229,""],[230,"T"],[231,""],[234,"FromStr::Err"],[235,""],[236,"U"],[238,""],[241,"S"],[242,""],[245,"T"],[246,""],[248,"U,T"],[250,"U"],[252,""]]}],["iroh_bench",{"t":"FGGGPPPFPPPPNNNNNNNNNNNNNNNNNNNNNHONNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNONNNNNCOOONNNNNNCOHCCNOONNNNNNNNNNNNNNNNNNNNNONNNNNSHHHHHHSHHHHHHFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFNNNONNNNNNOOOONNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNONOOOHOOONNNNNNOONNNNNN","n":["ClientStats","Commands","ConnectionSelector","EndpointSelector","Iroh","","","Opt","Quinn","","","S2n","__clone_box","","and","","","","","augment_args","augment_args_for_update","augment_subcommands","augment_subcommands_for_update","borrow","","","","","borrow_mut","","","","","client_handler","clients","clone","","clone_into","","clone_to_uninit","","close","","command","","command_for_update","","compat","","","","","compat_mut","","","","","compat_ref","","","","","configure_tracing_subscriber","default","deref","","","","","deref_mut","","","","","download_size","drop","","","","","fmt","","from","","","","","from_arg_matches","","from_arg_matches_mut","","from_ref","","group_id","has_subcommand","init","","","","","initial_mtu","into","","","","","iroh","max_streams","metrics","only_relay","or","","","","","print","quinn","read_unordered","rt","s2n","stats","","","streams","to_owned","","try_from","","","","","try_into","","","","","type_id","","","","","update_from_arg_matches","","update_from_arg_matches_mut","","upload_size","vzip","","","","","ALPN","client","connect_client","handle_client_stream","server","server_endpoint","transport_config","ALPN","client","connect_client","handle_client_stream","server","server_endpoint","transport_config","Opt","__clone_box","and","augment_args","augment_args_for_update","borrow","borrow_mut","clone","clone_into","clone_to_uninit","command","command_for_update","compat","compat_mut","compat_ref","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","from_ref","group_id","init","into","or","to_owned","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","Stats","StreamStats","TransferResult","and","","","avg_chunk_size","borrow","","","borrow_mut","","","chunk_size","chunk_time","chunks","","compat","","","compat_mut","","","compat_ref","","","default","","deref","","","deref_mut","","","drop","","","duration","duration_hist","fmt","","","from","","","init","","","into","","","new","or","","","print","size","stream_finished","stream_stats","streams","throughput","throughput_bps","throughput_hist","total_duration","total_size","try_from","","","try_into","","","ttfb","ttfb_hist","type_id","","","vzip","",""],"q":[[0,"iroh_bench"],[151,"iroh_bench::iroh"],[158,"iroh_bench::quinn"],[165,"iroh_bench::s2n"],[199,"iroh_bench::stats"],[278,"dyn_clone::sealed"],[279,"tower_http::follow_redirect::policy::and"],[280,"tower_http::follow_redirect::policy"],[281,"clap_builder::builder::command"],[282,"n0_snafu::error"],[283,"async_compat"],[284,"core::fmt"],[285,"clap_builder::parser::matches::arg_matches"],[286,"clap_builder"],[287,"core::result"],[288,"clap_builder::util::id"],[289,"core::option"],[290,"tower_http::follow_redirect::policy::or"],[291,"tokio::runtime::runtime"],[292,"core::any"],[293,"iroh_base::node_addr"],[294,"iroh_base::relay_url"],[295,"iroh::endpoint"],[296,"iroh_quinn_proto::config::transport"],[297,"core::net::socket_addr"],[298,"rustls_pki_types"],[299,"iroh_quinn::endpoint"],[300,"iroh_quinn::connection"],[301,"hdrhistogram"],[302,"core::time"]],"i":"````A`AbAl`21000Ad3210Af11224321043210`1212121432121432104321043210`0432104321014321021432102121211243210143210`111432100`1```311214321043210432102121143210```````````````Ej00000000000000000000000000000000```F`ElDl0210210111021021021021210210210012102102102100210202220`12221021001210210","f":"````````````{{bd}f}0{g{{h{ig}}}{}{}{{j{ce}}}{{j{ce}}}}0000{ll}000{b{{b{c}}}{}}0000{{{b{n}}}{{b{nc}}}{}}0000{{A`AbAd}{{Ah{Af}}}}{AdAj}{{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"Dj","p":[[1,"reference",null,null,1],[5,"Private",278],[1,"unit"],[5,"And",279],[10,"Policy",280],[5,"Command",281],[0,"mut"],[6,"EndpointSelector",0],[6,"ConnectionSelector",0],[5,"Opt",0],[5,"ClientStats",0],[8,"Result",282],[1,"usize"],[6,"Commands",0],[1,"u8"],[1,"u32"],[1,"slice"],[5,"Compat",283],[1,"u64"],[5,"Formatter",284],[8,"Result",284],[5,"ArgMatches",285],[8,"Error",286],[6,"Result",287,null,1],[5,"Id",288],[6,"Option",289,null,1],[1,"str"],[1,"bool"],[1,"u16"],[5,"Or",290],[5,"Runtime",291],[5,"TypeId",292],[5,"NodeAddr",293],[5,"RelayUrl",294],[5,"Endpoint",295],[5,"Connection",295],[1,"tuple",null,null,1],[5,"TransferResult",199],[5,"TransportConfig",296],[6,"SocketAddr",297],[5,"CertificateDer",298],[5,"Endpoint",299],[5,"Connection",300],[6,"PrivateKeyDer",298],[5,"Opt",165],[5,"StreamStats",199],[5,"Histogram",301],[5,"Stats",199],[5,"Duration",302],[1,"f64"]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAPEAEQAAACEAJAAmAEwABgBYAAwAawAAAG8ABgB3AAMAfQAUAJMABQCbAAAAngABAKIAAAClABMAugAEAMAAMQD1AAIA+wAbAA==","P":[[14,"B,E,P,T"],[19,""],[23,"T"],[33,""],[37,"T"],[39,""],[47,"T"],[62,""],[64,"T"],[74,""],[82,"T"],[87,""],[91,"T"],[93,""],[101,"U"],[107,""],[110,"B,E,P,T"],[115,""],[124,"T"],[126,"U,T"],[131,"U"],[136,""],[146,"V"],[151,""],[167,"B,E,P,T"],[168,""],[170,"T"],[172,""],[173,"T"],[174,""],[177,"T"],[182,""],[184,"T"],[185,""],[187,"T"],[188,""],[190,"U"],[191,"B,E,P,T"],[192,"T"],[193,"U,T"],[194,"U"],[195,""],[198,"V"],[202,"B,E,P,T"],[205,""],[206,"T"],[212,""],[216,"T"],[225,""],[227,"T"],[233,""],[241,"T"],[244,""],[247,"U"],[250,""],[251,"B,E,P,T"],[254,""],[264,"U,T"],[267,"U"],[270,""],[275,"V"]]}],["iroh_dns_server",{"t":"FNNNNNNNNNNCCNNNNCNNNCNNNNCCNNNNNNGFPPFFFNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNOONNNNNNOONNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNOFFFFNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNOOOOONNNNNNNNNNNNNNNNNNNNNNNNGPFFFPPGPPPNNNNNNNNNOONNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFNNNNNNNNOOOOOONNNNOOOONNNOOOOOONNNNFNNNNNNNNNNHNNNNNNFNNNNNNNNNNONNNONONNNNN","n":["ZoneStore","__clone_box","and","borrow","borrow_mut","clone","clone_into","clone_to_uninit","compat","compat_mut","compat_ref","config","dns","fmt","from","from_ref","get_signed_packet","http","in_memory","insert","into","metrics","new","or","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","and","","","","","bind_addr","bootstrap","borrow","","","","","borrow_mut","","","","","clone","clone_into","clone_to_uninit","compat","","","","","compat_mut","","","","","compat_ref","","","","","data_dir","default","","","","deserialize","","","","","disabled","","dns","enabled","fmt","","","","","from","","","","","from_ref","http","https","into","","","","","load","mainline","metrics","or","","","","","pkarr_put_rate_limit","serialize","","","","","signed_packet_store_path","to_owned","try_from","","","","","try_into","","","","","type_id","","","","","vzip","","","","","zone_store","DnsConfig","DnsHandler","DnsServer","Handle","__clone_box","","","and","","","","answer_request","bind_addr","borrow","","","","borrow_mut","","","","clone","","","clone_into","","","clone_to_uninit","","","compat","","","","compat_mut","","","","compat_ref","","","","default_soa","default_ttl","deserialize","fmt","","","from","","","","from_ref","","","handle_request","into","","","","local_addr","new","or","","","","origins","port","rr_a","rr_aaaa","rr_ns","run_until_done","send_response","serialize","shutdown","spawn","to_owned","","","try_from","","","","try_into","","","","type_id","","","","vzip","","","","CertMode","Disabled","HttpConfig","HttpServer","HttpsConfig","LetsEncrypt","Manual","RateLimitConfig","SelfSigned","Simple","Smart","__clone_box","","","","and","","","","","bind_addr","","borrow","","","","","borrow_mut","","","","","cert_mode","clone","","","","clone_into","","","","clone_to_uninit","","","","compat","","","","","compat_mut","","","","","compat_ref","","","","","default","","deserialize","","","","domains","eq","equivalent","","","","fmt","","","","","from","","","","","from_ref","","","","http_addr","https_addr","into","","","","","letsencrypt_contact","letsencrypt_prod","or","","","","","port","","run_until_done","serialize","","","","shutdown","spawn","to_owned","","","","to_string","try_from","","","","","try_into","","","","","try_to_string","type_id","","","","","vzip","","","","","Metrics","and","as_iterable","borrow","borrow_mut","compat","compat_mut","compat_ref","default","dns_lookup_error","dns_lookup_notfound","dns_lookup_success","dns_requests","dns_requests_https","dns_requests_udp","field_count","field_ref","fmt","from","http_requests","http_requests_duration_ms","http_requests_error","http_requests_success","into","name","or","pkarr_publish_noop","pkarr_publish_update","store_packets_expired","store_packets_inserted","store_packets_removed","store_packets_updated","try_from","try_into","type_id","vzip","Server","and","borrow","borrow_mut","compat","compat_mut","compat_ref","from","into","or","run_until_error","run_with_config_until_ctrl_c","shutdown","spawn","try_from","try_into","type_id","vzip","AppState","__clone_box","and","borrow","borrow_mut","clone","clone_into","clone_to_uninit","compat","compat_mut","compat_ref","dns_handler","from","from_ref","into","metrics","or","store","to_owned","try_from","try_into","type_id","vzip"],"q":[[0,"iroh_dns_server"],[34,"iroh_dns_server::config"],[146,"iroh_dns_server::dns"],[241,"iroh_dns_server::http"],[376,"iroh_dns_server::metrics"],[412,"iroh_dns_server::server"],[430,"iroh_dns_server::state"],[453,"dyn_clone::sealed"],[454,"tower_http::follow_redirect::policy::and"],[455,"tower_http::follow_redirect::policy"],[456,"iroh_dns_server::store"],[457,"async_compat"],[458,"core::fmt"],[459,"pkarr::signed_packet"],[460,"core::option"],[461,"n0_snafu::error"],[462,"alloc::sync"],[463,"tower_http::follow_redirect::policy::or"],[464,"std::path"],[465,"core::convert"],[466,"hickory_proto::rr::domain::name"],[467,"hickory_proto::rr::record_type"],[468,"hickory_proto::rr::rr_set"],[469,"core::result"],[470,"core::any"],[471,"serde_core::de"],[472,"iroh_dns_server::http::rate_limiting"],[473,"serde_core::ser"],[474,"hickory_server::server::request_handler"],[475,"bytes::bytes"],[476,"alloc::string"],[477,"core::future::future"],[478,"alloc::boxed"],[479,"core::pin"],[480,"hickory_server::server::response_handler"],[481,"core::net::socket_addr"],[482,"alloc::vec"],[483,"hickory_server::authority::message_response"],[484,"hickory_proto::rr::resource"],[485,"core::iter::traits::iterator"],[486,"core::marker"],[487,"iroh_dns_server::http::tls"],[488,"alloc::collections"],[489,"iroh_metrics::iterable"],[490,"iroh_metrics::metrics"],[491,"iroh_metrics::base"]],"i":"`n000000000``0000`000`0000``000000``Cd0```CjCn1CfCh4102310423104333231042310423104223042310411202310423104322231042222310422310423231042310423104231042````DbDhDnEl321230321032132132132103210321032133332103213212032102032133333013003210321032103210321`Dd```Gb0`01110FnG`Gf43212104321043211432143214321043210432104321444321133333433210432143210004321110432121043210043213043210432130432104321`An0000000000000000000000000000000000`Hf000000000`000000`Gh000000000000000000000","f":"`{{bd}f}{g{{h{ig}}}{}{}{{j{ce}}}{{j{ce}}}}{b{{b{c}}}{}}{{{b{l}}}{{b{lc}}}{}}{{{b{n}}}n}{{b{b{lc}}}f{}}{{bA`}f}{{}{{Ab{c}}}{}}{{{b{l}}}{{Ab{{b{lc}}}}}{}}{b{{Ab{{b{c}}}}}{}}``{{{b{n}}{b{lAd}}}Af}{cc{}}{{{b{c}}}c{}}{{{b{n}}{b{`}}}{{Al{{Aj{Ah}}}}}}```{{}c{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g{{Bd{ig}}}{}{}{{j{ce}}}{{j{ce}}}}{Ghn}{bc{}}{c{{C`{e}}}{}{}}{{}{{C`{c}}}{}}{bCb}{{}c{}}","D":"AAl","p":[[1,"reference",null,null,1],[5,"Private",453],[1,"unit"],[5,"And",454],[10,"Policy",455],[0,"mut"],[5,"ZoneStore",0,456],[1,"u8"],[5,"Compat",457],[5,"Formatter",458],[8,"Result",458],[5,"SignedPacket",459],[6,"Option",460,null,1],[8,"Result",461],[5,"Metrics",376],[5,"Arc",462,null,1],[1,"bool"],[5,"Or",463],[5,"Path",464],[10,"AsRef",465],[5,"Name",466],[6,"RecordType",467],[5,"RecordSet",468],[6,"Result",469,null,1],[5,"TypeId",470],[6,"BootstrapOption",34],[5,"MetricsConfig",34],[5,"MainlineConfig",34],[5,"StoreConfig",34],[5,"PathBuf",464],[5,"Config",34],[10,"Deserializer",471],[5,"DnsConfig",146],[6,"RateLimitConfig",241,472],[10,"Serializer",473],[5,"DnsHandler",146],[5,"Request",474],[5,"Bytes",475],[5,"Handle",146],[5,"String",476],[1,"u32"],[10,"Future",477,null,1],[5,"Box",478,null,1],[5,"Pin",479],[10,"ResponseHandler",480],[5,"DnsServer",146],[6,"SocketAddr",481],[5,"Vec",482],[1,"u16"],[5,"MessageResponse",483],[17,"Item"],[5,"Record",484],[10,"Iterator",485],[10,"Send",486],[5,"HttpConfig",241],[5,"HttpsConfig",241],[6,"CertMode",241,487],[5,"Error",458],[5,"HttpServer",241],[5,"AppState",430],[5,"TryReserveError",488],[10,"Iterable",489],[5,"Counter",490],[1,"usize"],[5,"MetricItem",491],[1,"str"],[5,"Server",412]],"r":[[0,456],[1,456],[2,456],[3,456],[4,456],[5,456],[6,456],[7,456],[8,456],[9,456],[10,456],[13,456],[14,456],[15,456],[16,456],[18,456],[19,456],[20,456],[22,456],[23,456],[24,456],[25,456],[28,456],[29,456],[30,456],[31,456],[32,456],[33,456],[241,487],[242,472],[246,487],[247,487],[248,472],[249,487],[250,472],[251,472],[252,472],[253,487],[257,472],[258,487],[264,472],[265,487],[269,472],[270,487],[274,472],[275,487],[278,472],[279,487],[282,472],[283,487],[287,472],[288,487],[292,472],[293,487],[297,472],[298,487],[301,472],[302,472],[303,472],[304,487],[308,487],[309,487],[310,487],[311,487],[312,487],[313,472],[314,487],[315,487],[319,472],[320,487],[323,472],[324,487],[330,472],[331,487],[337,472],[338,487],[344,472],[345,487],[350,472],[351,487],[354,487],[356,472],[357,487],[361,472],[362,487],[365,487],[367,472],[368,487],[372,472],[373,487]],"b":[[301,"impl-Default-for-%26RateLimitConfig"],[302,"impl-Default-for-RateLimitConfig"],[314,"impl-Debug-for-CertMode"],[315,"impl-Display-for-CertMode"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAADcBKAACAAkADgAAABAAAAAYAAAAHQAEACoABQAyABsATwAIAFwABABmAAAAcQAEAHcABAB9ABQAlwAGAKAAHAC/AAMAxwADANEAAwDbAAEA3wASAP0ACAAIAQkAEwEgADUBCQBEAQMAUQEEAFkBAwBfAQ4AbwEJAHoBBwCIAQIAkQEBAJkBAwCeAQUApgEAAKsBAwCwAQkAvAEAAL8BAADBAQQA","P":[[2,"B,E,P,T"],[3,"T"],[5,""],[6,"T"],[7,""],[8,"T"],[13,""],[14,"T"],[16,""],[20,"U"],[22,""],[23,"B,E,P,T"],[24,""],[25,""],[28,"T"],[29,"U,T"],[30,"U"],[31,""],[32,"V"],[33,""],[42,"B,E,P,T"],[47,""],[49,"T"],[59,""],[60,"T"],[61,""],[62,"T"],[77,""],[82,"__D"],[87,""],[96,"T"],[102,""],[104,"U"],[109,""],[110,""],[112,"B,E,P,T"],[117,""],[118,"__S"],[123,""],[124,"T"],[125,"U,T"],[130,"U"],[135,""],[140,"V"],[145,""],[153,"B,E,P,T"],[157,""],[159,"T"],[167,""],[170,"T"],[173,""],[176,"T"],[188,""],[190,"__D"],[191,""],[194,"T"],[201,"R"],[202,"U"],[206,""],[208,"B,E,P,T"],[212,""],[218,",,,"],[219,"__S"],[220,""],[222,"T"],[225,"U,T"],[229,"U"],[233,""],[237,"V"],[252,""],[256,"B,E,P,T"],[261,""],[263,"T"],[273,""],[278,"T"],[282,""],[286,"T"],[301,""],[303,"__D"],[307,""],[309,"K"],[313,""],[318,"T"],[327,""],[329,"U"],[334,""],[336,"B,E,P,T"],[341,""],[344,"__S"],[348,""],[350,"T"],[354,""],[355,"U,T"],[360,"U"],[365,""],[371,"V"],[377,"B,E,P,T"],[378,""],[379,"T"],[384,""],[394,"T"],[395,""],[399,"U"],[400,""],[401,"B,E,P,T"],[402,""],[408,"U,T"],[409,"U"],[410,""],[411,"V"],[413,"B,E,P,T"],[414,"T"],[420,"U"],[421,"B,E,P,T"],[422,""],[426,"U,T"],[427,"U"],[428,""],[429,"V"],[431,""],[432,"B,E,P,T"],[433,"T"],[435,""],[436,"T"],[437,""],[438,"T"],[441,""],[442,"T"],[444,"U"],[445,""],[446,"B,E,P,T"],[447,""],[448,"T"],[449,"U,T"],[450,"U"],[451,""],[452,"V"]]}],["iroh_relay",{"t":"EFFFFNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNCNNNNNNNNOCCONNCNNNNNNNNNNNNNNNNNNNNONNNNNFFFFGPGPPPPPPPPPPPPPPPPPGGPPPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOSSSSSIFGGFPPGPPSSPPPPKFP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NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNONNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONONNNNNNNNNNNNNNNNNOOOONOONNOOOOOOONNNNNNCONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOHHHHH","n":["MAX_PACKET_SIZE","PingTracker","RelayMap","RelayNode","RelayQuicConfig","__clone_box","","","and","","","","borrow","","","","borrow_mut","","","","client","clone","","","clone_into","","","clone_to_uninit","","","cmp","","compare","","compat","","","","compat_mut","","","","compat_ref","","","","contains_node","default","","default_timeout","defaults","deref","","","","deref_mut","","","","deserialize","","dns","drop","","","","empty","eq","","","equivalent","","","","","","","","","","","","fmt","","","","","","from","","","","","","","from_iter","","get_node","http","init","","","","into","","","","is_empty","len","new","new_ping","node_info","nodes","or","","","","partial_cmp","","pong_received","port","protos","quic","","serialize","","server","timeout","to_owned","","","to_string","","try_from","","","","try_into","","","","try_to_string","","type_id","","","","url","urls","vzip","","","","Client","ClientBuilder","ClientSink","ClientStream","ConnectError","Dial","DialError","Dns","EmptyPacket","ExceedsMaxPacketSize","Handshake","InvalidRelayUrl","InvalidTargetPort","InvalidTlsServername","InvalidUrl","InvalidWebsocketUrl","Io","NoLocalAddr","Protocol","ProxyConnect","ProxyConnectInvalidStatus","ProxyInvalidTargetPort","ProxyInvalidTlsServername","ProxyInvalidUrl","RecvError","SendError","StreamError","","Timeout","Tls","UnexpectedUpgradeStatus","Upgrade","Websocket","__clone_box","address_family_selector","and","","","","","","","","as_error_source","","","","backtrace","","","","borrow","","","","","","","","borrow_mut","","","","","","","","cause","","","","clone","clone_into","clone_to_uninit","compat","","","","","","","","compat_mut","","","","","","","","compat_ref","","","","","","","","connect","deref","","","","","","","","deref_mut","","","","","","","","description","","","","drop","","","","","","","","fmt","","","","","","","","","","","","from","","","","","","","","","","","","","","","","","in_current_span","","","","init","","","","","","","","insecure_skip_cert_verify","into","","","","","","","","key_cache_capacity","local_addr","make_dangerous_client_config","new","or","","","","","","","","poll_close","","poll_flush","","poll_next","","poll_ready","","proxy_url","source","","","","split","start_send","","to_owned","to_string","","","","try_from","","","","","","","","try_into","","","","","","","","try_poll_next","","try_to_string","","","","type_id","","","","","","","","vzip","","","","","","","","backtrace","","","","","","","","","","code","source","","","","","span_trace","","","","","","","","","","url","","backtrace","","","","","","","","","","proxy_hostname","proxy_url","source","","","","span_trace","","","","","","","","","","status","url","backtrace","","source","","span_trace","","backtrace","","","size","source","span_trace","","","DEFAULT_HTTPS_PORT","DEFAULT_HTTP_PORT","DEFAULT_KEY_CACHE_CAPACITY","DEFAULT_METRICS_PORT","DEFAULT_RELAY_QUIC_PORT","BoxIter","Builder","DnsError","DnsProtocol","DnsResolver","Https","InvalidResponse","LookupError","LookupFailed","MissingHost","N0_DNS_NODE_ORIGIN_PROD","N0_DNS_NODE_ORIGIN_STAGING","NoResponse","ParseError","Resolve","ResolveBoth","Resolver","StaggeredError","Tcp","Timeout","Tls","TxtRecordData","Udp","__clone_box","","","","and","","","","","","","as_error_source","","","backtrace","","","borrow","","","","","","","borrow_mut","","","","","","","build","builder","cause","","","clear_cache","","clone","","","","clone_into","","","","clone_to_uninit","","","","compat","","","","","","","compat_mut","","","","","","","compat_ref","","","","","","","custom","default","","","deref","","","","","","","deref_mut","","","","","","","description","","","drop","","","","","","","eq","equivalent","","","","fmt","","","","","","","","","","","from","","","","","","","","","","from_iter","in_current_span","","","init","","","","","","","into","","","","","","","iter","lookup_ipv4","","lookup_ipv4_ipv6","lookup_ipv4_ipv6_staggered","lookup_ipv4_staggered","lookup_ipv6","","lookup_ipv6_staggered","lookup_node_by_domain_name","lookup_node_by_domain_name_staggered","lookup_node_by_id","lookup_node_by_id_staggered","lookup_txt","","new","or","","","","","","","reset","","resolve","resolve_host","source","","","to_owned","","","","to_string","","","","try_from","","","","","","","try_into","","","","","","","try_to_string","","","","type_id","","","","","","","vzip","","","","","","","with_nameserver","","with_nameservers","with_system_defaults","backtrace","","","","","","ipv4","ipv6","source","","span_trace","","","","","","backtrace","","source","","span_trace","","CLIENT_AUTH_HEADER","RELAY_PATH","RELAY_PROBE_PATH","RELAY_PROTOCOL_VERSION","AttrFromString","DecodingError","","EncodingError","FailedBuildingPacket","IROH_TXT_NAME","InvalidEncodingZ32","InvalidLength","InvalidSignature","InvalidTxtEntry","MAX_LENGTH","MaxLengthExceededError","NodeData","NodeIdExt","NodeInfo","NotAnIrohRecord","NumLabels","ParseError","UnexpectedFormat","UserData","Utf8","__clone_box","","","add_direct_addresses","and","","","","","","","as_error_source","","","","as_ref","backtrace","","","","borrow","","","","","","","borrow_mut","","","","","","","cause","","","","clear_direct_addresses","clone","","","clone_into","","","clone_to_uninit","","","cmp","compare","compat","","","","","","","compat_mut","","","","","","","compat_ref","","","","","","","data","default","deref","","","","","","","","deref_mut","","","","","","","","description","","","","direct_addresses","drop","","","","","","","eq","","","equivalent","","","","","","","","","","","","fmt","","","","","","","","","","","","from","","","","","","","","","","","from_parts","from_pkarr_signed_packet","from_str","from_txt_lookup","from_z32","hash","in_current_span","","","","init","","","","","","","into","","","","","","","into_node_addr","new","","node_id","or","","","","","","","partial_cmp","relay_url","set_relay_url","set_user_data","source","","","","to_node_addr","to_owned","","","to_pkarr_signed_packet","to_string","","","","","to_txt_strings","to_z32","try_from","","","","","","","","try_into","","","","","","","try_to_string","","","","","type_id","","","","","","","user_data","vzip","","","","","","","with_direct_addresses","","with_relay_url","","with_user_data","","backtrace","","","len","source","","span_trace","","","backtrace","","source","","span_trace","","backtrace","","","","","","key","label","num_labels","s","source","","span_trace","","","","","","common","disco","handshake","relay","streams","ClientAuth","ClientToRelayDatagram","ClientToRelayDatagramBatch","FrameType","FrameTypeError","Health","NodeGone","Ping","Pong","RelayToClientDatagram","RelayToClientDatagramBatch","Restarting","ServerChallenge","ServerConfirmsAuth","ServerDeniesAuth","UnexpectedEnd","UnknownFrameType","__clone_box","and","","as_error_source","backtrace","borrow","","borrow_mut","","cause","clone","clone_into","clone_to_uninit","compat","","compat_mut","","compat_ref","","deref","","deref_mut","","description","drop","","eq","equivalent","","","","fmt","","","from","","in_current_span","init","","into","","or","","source","to_owned","to_string","try_from","","","try_from_primitive","try_into","","try_to_string","type_id","","vzip","","backtrace","","span_trace","","tag","MAGIC","looks_like_disco_wrapper","ClientAuthHeaderInvalid","DeserializationError","Error","FrameTypeError","ServerDeniedAuth","UnexpectedEnd","UnexpectedFrameType","Websocket","and","as_error_source","backtrace","borrow","borrow_mut","cause","compat","compat_mut","compat_ref","deref","deref_mut","description","drop","fmt","","from","","","in_current_span","init","into","or","source","to_string","try_from","try_into","try_to_string","type_id","vzip","backtrace","","","","","","","expected_types","frame_type","","reason","source","","","span_trace","","","","","","","value","ClientToRelayMsg","Datagrams","","","Error","FrameTooLarge","FrameTypeError","Health","InvalidFrame","InvalidFrameType","InvalidProtocolMessageEncoding","InvalidPublicKey","MAX_PACKET_SIZE","NodeGone","Ping","","Pong","","RelayToClientMsg","Restarting","SerDe","TooSmall","UnexpectedFrame","__clone_box","","","and","","","","as_error_source","backtrace","borrow","","","","borrow_mut","","","","cause","clone","","","clone_into","","","clone_to_uninit","","","compat","","","","compat_mut","","","","compat_ref","","","","contents","deref","","","","deref_mut","","","","description","drop","","","","ecn","eq","","","equivalent","","","","","","","","","","","","fmt","","","","","from","","","","","","","in_current_span","init","","","","into","","","","or","","","","segment_size","source","take_segments","to_owned","","","to_string","try_from","","","","try_into","","","","try_to_string","typ","type_id","","","","vzip","","","","datagrams","dst_node_id","backtrace","","","","","","","","","expected","frame_len","frame_type","got","source","","","","span_trace","","","","","","","","","datagrams","problem","reconnect_in","remote_node_id","try_for","ALPN_QUIC_ADDR_DISC","Connect","Connection","Error","QUIC_ADDR_DISC_CLOSE_CODE","QUIC_ADDR_DISC_CLOSE_REASON","QuicClient","WatchRecv","__clone_box","and","","as_error_source","backtrace","borrow","","borrow_mut","","cause","clone","clone_into","clone_to_uninit","compat","","compat_mut","","compat_ref","","create_conn","deref","","deref_mut","","description","drop","","fmt","","","from","","","","","in_current_span","init","","into","","new","or","","source","to_owned","to_string","try_from","","try_into","","try_to_string","type_id","","vzip","","backtrace","","","source","","","span_trace","","","Access","AccessConfig","AcmeEventStreamFinished","Allow","BindTcpListener","BindTlsListener","CertConfig","ClientRateLimit","DEFAULT_CERT_RELOAD_INTERVAL","Deny","Everyone","JoinError","LetsEncrypt","Limits","LocalAddr","Manual","Metrics","","NoLocalAddr","NoRelayServicesEnabled","QuicConfig","QuicSpawn","RelayConfig","RelayMetrics","Reloading","ReloadingResolver","Restricted","Server","ServerConfig","SpawnError","SupervisorError","TaskCancelled","TlsConfig","TlsHeaderParse","__clone_box","","","accept_conn_burst","accept_conn_limit","accepts","access","and","","","","","","","","","","","","","","","as_error_source","","as_iterable","backtrace","","bind_addr","borrow","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","bytes_per_second","bytes_recv","bytes_rx_ratelimited_total","bytes_sent","cause","","cert","certificates","client_rx","clone","","","clone_into","","","clone_to_uninit","","","compat","","","","","","","","","","","","","","","compat_mut","","","","","","","","","","","","","","","compat_ref","","","","","","","","","","","","","","","conns_rx_ratelimited_total","default","","","","deref","","","","","","","","","","","","","","","","deref_mut","","","","","","","","","","","","","","","description","","disco_packets_dropped","disco_packets_recv","disco_packets_sent","disconnects","drop","","","","","","","","","","","","","","","eq","equivalent","","","","field_count","field_ref","fmt","","","","","","","","","","","","","","","","","from","","","","","","","","","","","","","","","","got_ping","groups","groups_cloned","http_addr","http_bind_addr","http_url","https_addr","https_bind_addr","https_url","in_current_span","","init","","","","","","","","","","","","","","","","into","","","","","","","","","","","","","","","is_allowed","key_cache_capacity","limits","max_burst_bytes","metrics","metrics_addr","name","","or","","","","","","","","","","","","","","","other_packets_dropped","other_packets_recv","other_packets_sent","quic","quic_addr","quic_bind_addr","relay","reload","resolve","send_packets_dropped","send_packets_recv","send_packets_sent","sent_pong","server","server_config","","shutdown","","source","","spawn","task_handle","testing","tls","to_owned","","","to_string","","try_from","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","try_to_string","","type_id","","","","","","","","","","","","","","","unique_client_keys","unknown_frames","vzip","","","","","","","","","","","","","","","certs","state","addr","backtrace","","","","","","source","","","","","span_trace","","","","","","backtrace","","","","","source","","span_trace","","","","","quic_config","relay_config","self_signed_tls_certs_and_config","server_config","tls_config"],"q":[[0,"iroh_relay"],[153,"iroh_relay::client"],[401,"iroh_relay::client::ConnectError"],[429,"iroh_relay::client::DialError"],[457,"iroh_relay::client::RecvError"],[463,"iroh_relay::client::SendError"],[471,"iroh_relay::defaults"],[476,"iroh_relay::dns"],[716,"iroh_relay::dns::DnsError"],[732,"iroh_relay::dns::LookupError"],[738,"iroh_relay::http"],[742,"iroh_relay::node_info"],[998,"iroh_relay::node_info::DecodingError"],[1007,"iroh_relay::node_info::EncodingError"],[1013,"iroh_relay::node_info::ParseError"],[1031,"iroh_relay::protos"],[1036,"iroh_relay::protos::common"],[1110,"iroh_relay::protos::common::FrameTypeError"],[1115,"iroh_relay::protos::disco"],[1117,"iroh_relay::protos::handshake"],[1154,"iroh_relay::protos::handshake::Error"],[1176,"iroh_relay::protos::relay"],[1318,"iroh_relay::protos::relay::ClientToRelayMsg"],[1320,"iroh_relay::protos::relay::Error"],[1346,"iroh_relay::protos::relay::RelayToClientMsg"],[1351,"iroh_relay::quic"],[1414,"iroh_relay::quic::Error"],[1423,"iroh_relay::server"],[1833,"iroh_relay::server::CertConfig"],[1835,"iroh_relay::server::SpawnError"],[1853,"iroh_relay::server::SupervisorError"],[1865,"iroh_relay::server::testing"],[1870,"dyn_clone::sealed"],[1871,"tower_http::follow_redirect::policy::and"],[1872,"tower_http::follow_redirect::policy"],[1873,"iroh_relay::relay_map"],[1874,"core::cmp"],[1875,"async_compat"],[1876,"iroh_base::relay_url"],[1877,"iroh_relay::ping_tracker"],[1878,"core::time"],[1879,"core::result"],[1880,"serde_core::de"],[1881,"core::fmt"],[1882,"core::iter::traits::collect"],[1883,"alloc::sync"],[1884,"core::option"],[1885,"core::iter::traits::iterator"],[1886,"tower_http::follow_redirect::policy::or"],[1887,"serde_core::ser"],[1888,"alloc::string"],[1889,"alloc::collections"],[1890,"core::any"],[1891,"core::ops::function"],[1892,"core::marker"],[1893,"core::error"],[1894,"iroh_relay::client::conn"],[1895,"backtrace::capture"],[1896,"tokio_websockets::error"],[1897,"std::io::error"],[1898,"tokio::time::error"],[1899,"core::net::socket_addr"],[1900,"rustls::client::client_conn"],[1901,"iroh_base::key"],[1902,"core::convert"],[1903,"core::pin"],[1904,"core::task::wake"],[1905,"core::task::poll"],[1906,"url"],[1907,"http::status"],[1908,"hyper::error"],[1909,"n0_snafu::spantrace"],[1910,"hickory_resolver::error"],[1911,"alloc::boxed"],[1912,"alloc::vec"],[1913,"core::net::ip_addr"],[1914,"futures_lite::future"],[1915,"reqwest::dns::resolve"],[1916,"http::header::name"],[1917,"alloc::collections::btree::set"],[1918,"pkarr::signed_packet"],[1919,"iroh_base::node_addr"],[1920,"core::hash"],[1921,"z32"],[1922,"ed25519_dalek::errors"],[1923,"simple_dns::simple_dns_error"],[1924,"core::str::error"],[1925,"num_enum"],[1926,"iroh_quinn_proto::varint"],[1927,"postcard::error"],[1928,"http::header::value"],[1929,"bytes::bytes"],[1930,"iroh_quinn::connection"],[1931,"tokio::sync::watch::error"],[1932,"iroh_quinn_proto::endpoint"],[1933,"iroh_quinn_proto::connection"],[1934,"iroh_quinn::endpoint"],[1935,"iroh_relay::server::metrics"],[1936,"iroh_metrics::metrics"],[1937,"iroh_metrics::iterable"],[1938,"core::num::nonzero"],[1939,"rustls_pki_types"],[1940,"core::default"],[1941,"iroh_relay::server::resolver"],[1942,"iroh_metrics::base"],[1943,"tokio::runtime::task::error"],[1944,"rustls::crypto::signer"],[1945,"reloadable_core"],[1946,"rustls::server::server_conn"],[1947,"tokio_util::task::abort_on_drop"],[1948,"tokio_rustls_acme::state"]],"i":"`````nA`AbAn32103210321`32132132121210321032103213010`0321032121`032133213333222211110332210333221333`032103213300`303212101``221`03213203210321320321230321`````Ef`EhE`022121212Ed22222``1023333Dd021430EjEnF`5476547654763210547632105476333547632105476321054763210354763210547632105476547632105544776632105544477776666321054765476321035476321030`35476321021212021354762213547654763210547632102054765476321054763210HdHfHhHjHlHnI`IbIdIf476530987654321098InJ`JbJdJfJhJjJlJnK`138762987654321045KbKd1010KfKhKj12210``````````LhFj`Kl1``1011``212`2Ld3GdLj43Kn36215405405403621540362132540Lf347324732473265147326514732651473234736514732651473265165147327777766551147322666514732226516514732651473220333303333330336514732033365147326512651473265147326512651473265147324344NjNlNnO`ObOd3351543210OfOh1010````A@f`0`A@``A@b001On````33`3`3Ol1Nb14312A@d16540635406542301654230165406223123123133542301654230165423016125423011654230116540625423016231222233331111554423300166554223011661131AAd4651765341276534127232265341274333651723422654172065344127653412765417653412736534127323232AAfAAhAAj120210AB`ABb1010ABfABhABjABlABnAC`413520543210`````ACf00``0000000000ACd0110001010011110101010100101111110010010101001011011001010ACjACl100``Ff0`0000000000000000000000000000000000AD`ADbADdADfADhADjADl110253065432106``AEbHb`Fd020000`22121`200021AEd13201113201320132032032013201320132001320132011320032033332222000011320111320011320132013200103201132013201313201320AEj0AElAEnAF`AFbAFdAFfAFhAFjAFl87286541876543210AFnAG`AGb20`AGd0````0AGf101110101000101010010101101101111011010010101101011010AHbAHdAHf210210``AIfAJhAId0```1AI`3AJ``20`424`2``0`1````4`2AJf4AIjAHh0AHjAHn14AJnAJj28:AIhAIn679AJb<><>6<>269435;=2178:0<>69435;=2178:0<>8666<>1079=89=89=869435;=2178:0<>69435;=2178:0<>69435;=2178:0<>66937694435;=2178:0<>69435;=2178:0<><>666669435;=2178:0<>=====6669435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Bd{fAIf}}}}}}}}`{AHnCb}{bc{}}00{bCn}0{c{{Bd{e}}}{}{}}00000000000000{{}{{Bd{c}}}{}}00000000000000{b{{Bd{CnD`}}}}0{bDb}00000000000000{AHjAHl}0{{}c{}}00000000000000{ALbMb}{ALdALf}{ALhFn}{ALjCb}{ALlCb}{ALnCb}{AM`Cb}{AMbCb}{ALhCb}{ALjFh}`{ALnAMd}{AM`Fh}{AMbFh}{ALjIl}{ALlIl}{ALnIl}{AM`Il}{AMbIl}{ALhIl}{AMfCb}{AMhCb}{AMjCb}{AMlCb}{AMnCb}{AMfFh}{AMjAKb}{AMfIl}{AMhIl}{AMjIl}{AMlIl}{AMnIl}{{}AIh}{{}{{AHn{f}}}}{{}{{H`{{Mb{AJd}}AKn}}}}{{}{{AJj{f}}}}{{}{{AIn{f}}}}","D":"C@n","p":[[1,"reference",null,null,1],[5,"Private",1870],[1,"unit"],[5,"And",1871],[10,"Policy",1872],[0,"mut"],[5,"RelayMap",0,1873],[5,"RelayNode",0,1873],[5,"RelayQuicConfig",0,1873],[1,"u8"],[6,"Ordering",1874],[5,"Compat",1875],[5,"RelayUrl",1876],[1,"bool"],[5,"PingTracker",0,1877],[5,"Duration",1878],[1,"usize"],[6,"Result",1879,null,1],[10,"Deserializer",1880],[5,"Formatter",1881],[8,"Result",1881],[17,"Item"],[10,"IntoIterator",1882],[5,"Arc",1883,null,1],[6,"Option",1884,null,1],[1,"array"],[10,"Iterator",1885],[5,"Or",1886],[1,"u16"],[10,"Serializer",1887],[5,"String",1888],[5,"TryReserveError",1889],[5,"TypeId",1890],[5,"ClientBuilder",153],[17,"Output"],[10,"Fn",1891],[10,"Send",1892],[10,"Sync",1892],[10,"Error",1893],[6,"SendError",153,1894],[5,"Backtrace",1895],[6,"RecvError",153,1894],[6,"ConnectError",153],[6,"DialError",153],[5,"Client",153],[1,"str"],[5,"ClientSink",153],[5,"ClientStream",153],[6,"Error",1896],[6,"Error",1176],[6,"Error",1117],[5,"Error",1897],[6,"DnsError",476],[5,"Elapsed",1898],[6,"SocketAddr",1899],[5,"ClientConfig",1900],[5,"SecretKey",1901],[5,"DnsResolver",476],[10,"Into",1902,null,1],[5,"Pin",1903],[5,"Context",1904],[6,"Poll",1905],[5,"Url",1906],[1,"tuple",null,null,1],[6,"ClientToRelayMsg",1176],[15,"InvalidWebsocketUrl",401],[15,"InvalidRelayUrl",401],[15,"Websocket",401],[15,"Handshake",401],[15,"Dial",401],[15,"UnexpectedUpgradeStatus",401],[15,"Upgrade",401],[15,"InvalidTlsServername",401],[15,"NoLocalAddr",401],[15,"Tls",401],[5,"StatusCode",1907],[5,"Error",1908],[5,"SpanTrace",1909],[15,"InvalidTargetPort",429],[15,"Dns",429],[15,"Timeout",429],[15,"Io",429],[15,"InvalidUrl",429],[15,"ProxyConnectInvalidStatus",429],[15,"ProxyInvalidUrl",429],[15,"ProxyConnect",429],[15,"ProxyInvalidTlsServername",429],[15,"ProxyInvalidTargetPort",429],[15,"Protocol",457],[15,"StreamError",457],[15,"StreamError",463],[15,"ExceedsMaxPacketSize",463],[15,"EmptyPacket",463],[6,"LookupError",476],[5,"StaggeredError",476],[10,"Debug",1881],[10,"Display",1881],[5,"Builder",476],[10,"Resolver",476],[6,"DnsProtocol",476],[5,"TxtRecordData",476],[5,"ResolveError",1910],[1,"slice"],[5,"Box",1911,null,1],[5,"Vec",1912],[5,"Ipv4Addr",1913],[8,"BoxIter",476],[8,"Boxed",1914],[6,"IpAddr",1913],[10,"ToString",1888],[1,"u64"],[5,"Ipv6Addr",1913],[5,"NodeInfo",742],[8,"NodeId",1901],[5,"Name",1915],[8,"Resolving",1915],[15,"Timeout",716],[15,"NoResponse",716],[15,"ResolveBoth",716],[15,"MissingHost",716],[15,"Resolve",716],[15,"InvalidResponse",716],[15,"ParseError",732],[15,"LookupFailed",732],[5,"HeaderName",1916],[5,"NodeData",742],[5,"UserData",742],[6,"EncodingError",742],[6,"DecodingError",742],[5,"MaxLengthExceededError",742],[6,"ParseError",742],[5,"BTreeSet",1917],[6,"SignedPacketBuildError",1918],[5,"NodeAddr",1919],[5,"SignedPacket",1918],[10,"Hasher",1920],[1,"u32"],[10,"NodeIdExt",742],[15,"InvalidEncodingZ32",998],[15,"InvalidLength",998],[15,"InvalidSignature",998],[6,"Z32Error",1921],[8,"SignatureError",1922],[15,"FailedBuildingPacket",1007],[15,"InvalidTxtEntry",1007],[6,"SimpleDnsError",1923],[15,"UnexpectedFormat",1013],[15,"AttrFromString",1013],[15,"NumLabels",1013],[15,"Utf8",1013],[15,"NotAnIrohRecord",1013],[15,"DecodingError",1013],[5,"Utf8Error",1924],[6,"FrameTypeError",1036],[6,"FrameType",1036],[5,"TryFromPrimitiveError",1925],[15,"UnexpectedEnd",1110],[15,"UnknownFrameType",1110],[5,"VarInt",1926],[15,"ClientAuthHeaderInvalid",1154],[15,"Websocket",1154],[15,"UnexpectedEnd",1154],[15,"FrameTypeError",1154],[15,"ServerDeniedAuth",1154],[15,"UnexpectedFrameType",1154],[15,"DeserializationError",1154],[6,"Error",1927],[5,"HeaderValue",1928],[6,"RelayToClientMsg",1176],[5,"Datagrams",1176],[5,"Bytes",1929],[10,"AsRef",1902],[15,"Datagrams",1318],[15,"UnexpectedFrame",1320],[15,"FrameTooLarge",1320],[15,"SerDe",1320],[15,"FrameTypeError",1320],[15,"InvalidPublicKey",1320],[15,"InvalidFrame",1320],[15,"InvalidFrameType",1320],[15,"InvalidProtocolMessageEncoding",1320],[15,"TooSmall",1320],[15,"Datagrams",1346],[15,"Health",1346],[15,"Restarting",1346],[6,"Error",1351],[5,"QuicClient",1351],[5,"Connection",1930],[5,"RecvError",1931],[6,"ConnectError",1932],[6,"ConnectionError",1933],[5,"Endpoint",1934],[15,"Connect",1414],[15,"Connection",1414],[15,"WatchRecv",1414],[5,"Limits",1423],[5,"Metrics",1423,1935],[5,"Counter",1936],[5,"RelayConfig",1423],[6,"AccessConfig",1423],[10,"Iterable",1937],[6,"SpawnError",1423],[6,"SupervisorError",1423],[5,"QuicConfig",1423],[5,"ClientRateLimit",1423],[8,"NonZeroU32",1938],[5,"TlsConfig",1423],[6,"CertConfig",1423],[5,"Server",1423],[5,"CertificateDer",1939],[5,"RelayMetrics",1423,1935],[6,"Access",1423],[5,"ServerConfig",1423],[10,"Default",1940],[5,"ReloadingResolver",1423,1941],[5,"MetricItem",1942],[5,"JoinError",1943],[10,"MetricsGroup",1942],[17,"Value"],[5,"CertifiedKey",1944],[10,"Loader",1945],[5,"ClientHello",1946],[5,"ServerConfig",1946],[5,"AbortOnDropHandle",1947],[15,"Manual",1833],[15,"LetsEncrypt",1833],[5,"AcmeState",1948],[15,"BindTcpListener",1835],[15,"LocalAddr",1835],[15,"QuicSpawn",1835],[15,"TlsHeaderParse",1835],[15,"BindTlsListener",1835],[15,"NoLocalAddr",1835],[5,"InvalidHeaderValue",1928],[15,"Metrics",1853],[15,"AcmeEventStreamFinished",1853],[15,"JoinError",1853],[15,"NoRelayServicesEnabled",1853],[15,"TaskCancelled",1853]],"r":[[0,1176],[1,1877],[2,1873],[3,1873],[4,1873],[5,1873],[6,1873],[7,1873],[8,1877],[9,1873],[10,1873],[11,1873],[12,1877],[13,1873],[14,1873],[15,1873],[16,1877],[17,1873],[18,1873],[19,1873],[21,1873],[22,1873],[23,1873],[24,1873],[25,1873],[26,1873],[27,1873],[28,1873],[29,1873],[30,1873],[31,1873],[32,1873],[33,1873],[34,1877],[35,1873],[36,1873],[37,1873],[38,1877],[39,1873],[40,1873],[41,1873],[42,1877],[43,1873],[44,1873],[45,1873],[46,1873],[47,1877],[48,1873],[49,1877],[51,1877],[52,1873],[53,1873],[54,1873],[55,1877],[56,1873],[57,1873],[58,1873],[59,1873],[60,1873],[62,1877],[63,1873],[64,1873],[65,1873],[66,1873],[67,1873],[68,1873],[69,1873],[70,1873],[71,1873],[72,1873],[73,1873],[74,1873],[75,1873],[76,1873],[77,1873],[78,1873],[79,1873],[80,1873],[81,1873],[82,1877],[83,1873],[84,1873],[85,1873],[86,1873],[87,1873],[88,1877],[89,1873],[90,1873],[91,1873],[92,1873],[93,1873],[94,1873],[95,1873],[96,1873],[97,1873],[99,1877],[100,1873],[101,1873],[102,1873],[103,1877],[104,1873],[105,1873],[106,1873],[107,1873],[108,1873],[109,1877],[110,1877],[112,1873],[113,1877],[114,1873],[115,1873],[116,1873],[117,1873],[118,1873],[119,1877],[120,1873],[123,1873],[124,1873],[125,1873],[127,1877],[128,1873],[129,1873],[130,1873],[131,1873],[132,1873],[133,1877],[134,1873],[135,1873],[136,1873],[137,1877],[138,1873],[139,1873],[140,1873],[141,1873],[142,1873],[143,1877],[144,1873],[145,1873],[146,1873],[147,1873],[148,1873],[149,1877],[150,1873],[151,1873],[152,1873],[161,1894],[162,1894],[171,1894],[177,1894],[178,1894],[179,1894],[180,1894],[188,1894],[189,1894],[196,1894],[197,1894],[200,1894],[201,1894],[204,1894],[205,1894],[212,1894],[213,1894],[220,1894],[221,1894],[227,1894],[228,1894],[235,1894],[236,1894],[243,1894],[244,1894],[252,1894],[253,1894],[260,1894],[261,1894],[268,1894],[269,1894],[272,1894],[273,1894],[280,1894],[281,1894],[282,1894],[283,1894],[292,1894],[293,1894],[294,1894],[295,1894],[296,1894],[309,1894],[310,1894],[313,1894],[314,1894],[322,1894],[323,1894],[334,1894],[335,1894],[351,1894],[352,1894],[359,1894],[360,1894],[363,1894],[364,1894],[371,1894],[372,1894],[381,1894],[382,1894],[385,1894],[386,1894],[393,1894],[394,1894],[1431,1941],[1439,1935],[1446,1935],[1448,1941],[1457,1935],[1462,1935],[1464,1935],[1465,1935],[1466,1941],[1481,1935],[1485,1935],[1486,1935],[1487,1941],[1500,1935],[1501,1935],[1502,1941],[1516,1935],[1517,1935],[1518,1935],[1524,1935],[1527,1935],[1530,1935],[1533,1935],[1534,1935],[1535,1941],[1548,1935],[1549,1935],[1550,1941],[1563,1935],[1564,1935],[1565,1941],[1578,1935],[1579,1935],[1580,1935],[1583,1935],[1584,1935],[1585,1941],[1586,1941],[1599,1935],[1600,1935],[1601,1941],[1616,1935],[1617,1935],[1618,1935],[1619,1935],[1620,1935],[1621,1935],[1622,1941],[1640,1935],[1641,1935],[1642,1935],[1643,1935],[1644,1941],[1659,1935],[1660,1935],[1661,1941],[1675,1935],[1676,1935],[1677,1935],[1686,1935],[1687,1935],[1688,1941],[1689,1941],[1702,1935],[1703,1935],[1704,1941],[1723,1935],[1724,1935],[1725,1935],[1726,1935],[1727,1941],[1740,1935],[1741,1935],[1742,1935],[1747,1941],[1748,1941],[1749,1935],[1750,1935],[1751,1935],[1752,1935],[1753,1935],[1756,1941],[1764,1935],[1769,1935],[1770,1935],[1771,1941],[1784,1935],[1785,1935],[1786,1941],[1801,1935],[1802,1935],[1803,1941],[1816,1935],[1817,1935],[1818,1935],[1819,1935],[1820,1941]],"b":[[83,"impl-Display-for-RelayMap"],[84,"impl-Debug-for-RelayMap"],[85,"impl-Display-for-RelayNode"],[86,"impl-Debug-for-RelayNode"],[89,"impl-From%3CRelayUrl%3E-for-RelayMap"],[90,"impl-From%3CRelayNode%3E-for-RelayMap"],[95,"impl-FromIterator%3CRelayNode%3E-for-RelayMap"],[96,"impl-FromIterator%3CRelayUrl%3E-for-RelayMap"],[280,"impl-Debug-for-SendError"],[281,"impl-Display-for-SendError"],[282,"impl-Display-for-RecvError"],[283,"impl-Debug-for-RecvError"],[284,"impl-Debug-for-ConnectError"],[285,"impl-Display-for-ConnectError"],[286,"impl-Debug-for-DialError"],[287,"impl-Display-for-DialError"],[295,"impl-From%3CError%3E-for-RecvError"],[296,"impl-From%3CError%3E-for-RecvError"],[297,"impl-From%3CDialError%3E-for-ConnectError"],[298,"impl-From%3CError%3E-for-ConnectError"],[299,"impl-From%3CError%3E-for-ConnectError"],[301,"impl-From%3CError%3E-for-DialError"],[303,"impl-From%3CDnsError%3E-for-DialError"],[304,"impl-From%3CElapsed%3E-for-DialError"],[603,"impl-Display-for-DnsError"],[604,"impl-Debug-for-DnsError"],[605,"impl-Debug-for-LookupError"],[606,"impl-Display-for-LookupError"],[607,"impl-Debug-for-StaggeredError%3CE%3E"],[608,"impl-Display-for-StaggeredError%3CE%3E"],[612,"impl-Debug-for-TxtRecordData"],[613,"impl-Display-for-TxtRecordData"],[614,"impl-From%3CElapsed%3E-for-DnsError"],[616,"impl-From%3CResolveError%3E-for-DnsError"],[879,"impl-Debug-for-EncodingError"],[880,"impl-Display-for-EncodingError"],[881,"impl-Debug-for-DecodingError"],[882,"impl-Display-for-DecodingError"],[884,"impl-Display-for-UserData"],[885,"impl-Debug-for-UserData"],[886,"impl-Display-for-MaxLengthExceededError"],[887,"impl-Debug-for-MaxLengthExceededError"],[889,"impl-Debug-for-ParseError"],[890,"impl-Display-for-ParseError"],[1085,"impl-Debug-for-FrameTypeError"],[1086,"impl-Display-for-FrameTypeError"],[1138,"impl-Debug-for-Error"],[1139,"impl-Display-for-Error"],[1140,"impl-From%3CError%3E-for-Error"],[1141,"impl-From%3CFrameTypeError%3E-for-Error"],[1268,"impl-Debug-for-Error"],[1269,"impl-Display-for-Error"],[1273,"impl-From%3CError%3E-for-Error"],[1274,"impl-From%3CFrameTypeError%3E-for-Error"],[1386,"impl-Display-for-Error"],[1387,"impl-Debug-for-Error"],[1390,"impl-From%3CRecvError%3E-for-Error"],[1391,"impl-From%3CConnectError%3E-for-Error"],[1392,"impl-From%3CConnectionError%3E-for-Error"],[1655,"impl-Display-for-SpawnError"],[1656,"impl-Debug-for-SpawnError"],[1657,"impl-Display-for-SupervisorError"],[1658,"impl-Debug-for-SupervisorError"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAMcFdQABAAAABgAOABYAGAAwAAEANAAJAD8AAwBEABQAWwAAAF0AAABgAAAAZAADAHIABQB9AAEAgQAMAJAAAwCWAAMAnwAAAKEAEAC0AAcAvQA+AP0AKAAoAQQALgEAADABAQA2AQsATwEPAGABAwBlARgAggFVAOMBAwDpAQMA8AEAAPQBHgAVAgIAGgIgADwCKwBpAgAAcAILAJMCBgCcAgAAngIYALsCDQDNAhUA5wIEAO0CAwD2AgMA+wIDAAADIQAjAx8ARAMUAFoDIgB/AwAAhAMAAIYDAACJAwAAjAMLAKMDBwCuAwMAswMCALcDBAC+Aw4A0gMGANoDBgDnAyAAEQQAABwEIwBCBAIARwQKAFMECABfBBcAeAQBAHsEBACBBBcAngQBAKEEAwCtBCkA2AQMAOYEFQD/BAAAAQUEAAoFAwAPBQAAEQULAB8FBwApBRkASQUBAE8FEwBkBQkAbwUCAHMFAgB5BQgAgwUMAJIFAACUBQEAmwUAAJ4FAAChBQIApQUAAK8FAACxBQMAuQUTAM4FHQDwBQEA9QU1ACwGJABVBiYAiwYAAI0GAQCVBgMAmgYMALwGEADVBgAA3wYBAOUGIgAKBw4AGwcOACwHHQA=","P":[[8,"B,E,P,T"],[12,"T"],[21,""],[24,"T"],[27,""],[32,"K"],[34,"T"],[46,""],[51,"T"],[59,"__D"],[62,""],[70,"K"],[82,""],[88,"T"],[89,""],[91,"T"],[92,""],[93,"T"],[97,""],[103,"U"],[107,""],[113,"B,E,P,T"],[117,""],[124,"__S"],[127,""],[128,"T"],[131,""],[133,"U,T"],[137,"U"],[141,""],[149,"V"],[186,""],[187,"S"],[188,"B,E,P,T"],[196,""],[204,"T"],[220,""],[225,"T"],[226,""],[227,"T"],[251,""],[252,"T"],[268,""],[293,"T"],[295,""],[300,"T"],[301,""],[302,"T"],[303,""],[305,"T"],[309,""],[322,"U"],[330,""],[333,""],[334,"B,E,P,T"],[342,"Sink::Error"],[346,"Stream::Item"],[348,"Sink::Error"],[350,""],[356,"Sink::Error"],[358,"T"],[359,""],[363,"U,T"],[371,"U"],[379,"S"],[381,""],[393,"V"],[401,""],[503,"B,E,P,T"],[510,""],[515,"E"],[516,"T"],[530,""],[534,"E"],[535,""],[541,"T"],[545,""],[549,"T"],[570,""],[571,""],[574,"T"],[588,""],[590,"E"],[591,""],[599,"K"],[603,""],[607,"E"],[609,""],[615,"T"],[616,""],[617,"T"],[623,""],[624,"T"],[625,""],[635,"U"],[642,""],[644,"T"],[646,""],[648,""],[649,"T"],[650,""],[651,""],[656,"T"],[657,""],[658,"B,E,P,T"],[665,""],[671,"E"],[672,"T"],[676,""],[680,"U,T"],[687,"U"],[694,""],[705,"V"],[712,""],[714,""],[715,""],[766,""],[767,"B,E,P,T"],[774,""],[783,"T"],[797,""],[805,"T"],[808,""],[812,"K"],[813,"T"],[834,""],[836,"T"],[841,"Deref::Target"],[842,"T"],[850,"Deref::Target"],[851,"T"],[852,""],[867,"K"],[879,""],[892,"T"],[894,""],[895,"T"],[899,""],[900,"T"],[901,""],[904,"FromStr::Err"],[905,""],[906,""],[907,"__H"],[908,""],[919,"U"],[926,""],[930,"B,E,P,T"],[937,""],[946,"T"],[949,""],[957,"U,T"],[960,"TryFrom::Error"],[961,"U,T"],[965,"U"],[972,""],[985,"V"],[992,""],[1054,"B,E,P,T"],[1056,""],[1058,"T"],[1062,""],[1064,"T"],[1065,""],[1066,"T"],[1076,""],[1080,"K"],[1084,""],[1087,"T"],[1089,""],[1092,"U"],[1094,"B,E,P,T"],[1096,""],[1097,"T"],[1098,""],[1100,"U,T"],[1102,"TryFromPrimitive::Primitive"],[1103,"U"],[1105,""],[1108,"V"],[1110,""],[1125,"B,E,P,T"],[1126,""],[1128,"T"],[1130,""],[1131,"T"],[1136,""],[1142,"T"],[1143,""],[1145,"U"],[1146,"B,E,P,T"],[1147,""],[1149,"U,T"],[1150,"U"],[1151,""],[1153,"V"],[1154,""],[1202,"B,E,P,T"],[1206,""],[1208,"T"],[1216,""],[1220,"T"],[1223,""],[1226,"T"],[1238,""],[1239,"T"],[1247,""],[1256,"K"],[1268,""],[1275,"T"],[1280,""],[1285,"U"],[1289,"B,E,P,T"],[1293,""],[1296,"T"],[1299,""],[1300,"U,T"],[1304,"U"],[1308,""],[1314,"V"],[1318,""],[1360,"B,E,P,T"],[1362,""],[1364,"T"],[1368,""],[1370,"T"],[1371,""],[1372,"T"],[1378,""],[1379,"T"],[1383,""],[1389,"T"],[1390,""],[1393,"T"],[1394,""],[1397,"U"],[1399,""],[1400,"B,E,P,T"],[1402,""],[1403,"T"],[1404,""],[1405,"U,T"],[1407,"U"],[1409,""],[1412,"V"],[1414,""],[1464,"B,E,P,T"],[1479,""],[1485,"T"],[1515,""],[1527,"T"],[1530,""],[1533,"T"],[1578,""],[1581,"EC,EA"],[1582,""],[1583,"T"],[1586,"Loader,Deref::Target"],[1587,"T"],[1614,""],[1636,"K"],[1640,""],[1644,"Loader"],[1645,"EC,EA"],[1647,""],[1650,"EC,EA"],[1651,""],[1653,"EC,EA"],[1654,""],[1659,"T"],[1674,""],[1688,"Loader"],[1689,""],[1702,"U"],[1717,""],[1725,"B,E,P,T"],[1740,""],[1747,"Loader"],[1749,""],[1756,"Loader"],[1757,""],[1760,"EC,EA"],[1761,""],[1764,"T"],[1767,""],[1769,"U,T"],[1784,"U"],[1799,""],[1818,"V"],[1833,""]]}]]')); +var searchIndex = new Map(JSON.parse('[["bulk",{"t":"HHHHH","n":["collect_and_print","main","run_iroh","run_quinn","run_s2n"],"q":[[0,"bulk"],[5,"iroh_metrics::base"],[6,"iroh_bench"],[7,"n0_snafu::error"],[8,"iroh_bench::s2n"]],"i":"`````","f":"{{{d{b}}{d{f}}}h}{{}h}{j{{l{h}}}}0{n{{l{h}}}}","D":"`","p":[[1,"str"],[1,"reference",null,null,1],[10,"MetricsGroup",5],[1,"unit"],[5,"Opt",6],[8,"Result",7],[5,"Opt",8]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAAUAAQAAAAUA","P":[]}],["iroh",{"t":"PPEPGTFIFFEFFFFRKNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNOCCNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNN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FNOOOOOOOONNNNNNNNNNNNNNNOOONNNNNNNNNNNNNNNOOONNNNNNNNNNNNNNNOOOONNNNONNNNNNNNNNNNNNNONNNNNNNNNNOOOONNNNOOOOOOONNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNOOOOOOONNNNPFFGPPFFFNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNOONNOONNNNNNNNONOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNPGPGPSPPPPFFKFPPGPFPNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNONNNNNNNNNMNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOGFPKPPKFFPNNMMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNONHHNNNNNNNNN","n":["Decode","DecodeInvalidLength","Endpoint","Key","KeyParsingError","LENGTH","NodeAddr","NodeId","PublicKey","RelayMap","RelayMode","RelayNode","RelayUrl","RelayUrlParseError","SecretKey","Value","Watcher","__clone_box","","","","","","and","","","","","","","","as_bytes","as_error_source","","as_ref","backtrace","","borrow","","","","","","","","","borrow_mut","","","","","","","","cause","","clone","","","","","","clone_into","","","","","","clone_to_uninit","","","","","","cmp","","","","compare","","","","compat","","","","","","","","compat_mut","","","","","","","","compat_ref","","","","","","","","contains_node","defaults","deref","","","","","","","","","","deref_mut","","","","","","","","description","","deserialize","","","","","direct_addresses","","discovery","dns","drop","","","","","","","","empty","endpoint","eq","","","","","equivalent","","","","","","","","","","","","","","","","","","","","fmt","","","","","","","","","","","","","","fmt_short","from","","","","","","","","","","","","","","","","","","","","","from_bytes","","from_iter","","from_parts","from_ref","","","","","","from_str","","","from_z32","generate","get","get_node","hash","","","in_current_span","","init","","","","","","","","initialized","into","","","","","","","","is_connected","is_empty","","len","map","metrics","net_report","new","node_id","node_info","nodes","or","","","","","","","","","partial_cmp","","","","poll_updated","protocol","public","","quic","relay_url","","secret","serialize","","","","","sign","source","","stream","stream_updates_only","test_utils","to_bytes","to_owned","","","","","","to_string","","","","","","to_z32","try_from","","","","","","","","","","","try_into","","","","","","","","try_to_string","","","","","","type_id","","","","","","","","updated","url","urls","verify","vzip","","","","","","","","with_direct_addresses","with_relay_url","backtrace","","","source","","span_trace","","","DEFAULT_HTTPS_PORT","DEFAULT_HTTP_PORT","DEFAULT_METRICS_PORT","DEFAULT_RELAY_QUIC_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","AttrFromString","ConcurrentDiscovery","DecodingError","Discovery","DiscoveryContext","DiscoveryError","DiscoveryItem","IntoDiscovery","IntoDiscoveryError","MAX_LENGTH","NoResults","NoServiceConfigured","NodeData","NodeInfo","NotAnIrohRecord","NumLabels","ParseError","UnexpectedFormat","User","","UserData","Utf8","__clone_box","","","","","add","add_direct_addresses","and","","","","","","","","","as_error_source","","","as_ref","backtrace","","","borrow","","","","","","","","","borrow_mut","","","","","","","","","cause","","","clear_direct_addresses","clone","","","","","clone_into","","","","","clone_to_uninit","","","","","cmp","compare","compat","","","","","","","","","compat_mut","","","","","","","","","compat_ref","","","","","","","","","data","default","","deref","","","","","","","","","","","deref_mut","","","","","","","","","","description","","","direct_addresses","dns","dns_resolver","drop","","","","","","","","","empty","eq","","","","equivalent","","","","","","","","","","","","","","","","fmt","","","","","","","","","","","","","from","","","","","","","","","","","","","","","","","from_err","","from_err_box","","from_parts","from_pkarr_signed_packet","from_ref","","","","","from_services","from_str","from_txt_lookup","hash","in_current_span","","","init","","","","","","","","","into","","","","","","","","","into_discovery","","into_node_addr","","is_empty","last_updated","len","mdns","new","","","node_id","","","node_info","or","","","","","","","","","partial_cmp","pkarr","provenance","publish","","relay_url","resolve","","secret_key","set_relay_url","set_user_data","source","","","static_provider","to_node_addr","","to_owned","","","","","to_pkarr_signed_packet","to_string","","","","to_txt_strings","try_from","","","","","","","","","","try_into","","","","","","","","","try_to_string","","","","type_id","","","","","","","","","user_data","","vzip","","","","","","","","","with_direct_addresses","","with_relay_url","","with_user_data","","backtrace","","","node_id","provenance","source","span_trace","","","backtrace","provenance","source","span_trace","backtrace","","","","","","key","label","num_labels","s","source","","span_trace","","","","","","DnsDiscovery","DnsDiscoveryBuilder","N0_DNS_NODE_ORIGIN_PROD","N0_DNS_NODE_ORIGIN_STAGING","and","","borrow","","borrow_mut","","build","builder","compat","","compat_mut","","compat_ref","","deref","","deref_mut","","dns_resolver","drop","","fmt","","from","","init","","into","","into_discovery","","n0_dns","or","","resolve","try_from","","try_into","","type_id","","vzip","","Discovered","DiscoveryEvent","Expired","MdnsDiscovery","MdnsDiscoveryBuilder","NAME","__clone_box","","advertise","and","","","borrow","","","borrow_mut","","","build","builder","clone","","clone_into","","clone_to_uninit","","compat","","","compat_mut","","","compat_ref","","","default","deref","","","deref_mut","","","drop","","","eq","equivalent","","","","fmt","","","from","","","from_ref","","init","","","into","","","into_discovery","","or","","","publish","resolve","service_name","subscribe","to_owned","","try_from","","","try_into","","","type_id","","","vzip","","","last_updated","node_id","node_info","DEFAULT_PKARR_TTL","DEFAULT_REPUBLISH_INTERVAL","Encoding","HttpPayload","HttpRequest","HttpSend","InvalidRelayUrl","N0_DNS_PKARR_RELAY_PROD","N0_DNS_PKARR_RELAY_STAGING","PkarrError","PkarrPublisher","PkarrPublisherBuilder","PkarrRelayClient","PkarrResolver","PkarrResolverBuilder","PublicKey","Verify","__clone_box","","","and","","","","","","as_error_source","backtrace","borrow","","","","","","borrow_mut","","","","","","build","","builder","","cause","clone","","","clone_into","","","clone_to_uninit","","","compat","","","","","","compat_mut","","","","","","compat_ref","","","","","","deref","","","","","","deref_mut","","","","","","description","dht","dns_resolver","","drop","","","","","","fmt","","","","","","","from","","","","","","from_ref","","","in_current_span","init","","","","","","into","","","","","","into_discovery","","","","n0_dns","","new","or","","","","","","publish","","republish_interval","resolve","","source","to_owned","","","to_string","try_from","","","","","","try_into","","","","","","try_to_string","ttl","type_id","","","","","","update_node_data","vzip","","","","","","with_dns_resolver","source","","","","","status","url","Builder","DhtDiscovery","__clone_box","and","","borrow","","borrow_mut","","build","builder","client","clone","clone_into","clone_to_uninit","compat","","compat_mut","","compat_ref","","default","","deref","","deref_mut","","dht","drop","","fmt","","from","","from_ref","include_direct_addresses","init","","into","","into_discovery","","n0_dns_pkarr_relay","no_publish","or","","pkarr_relay","publish","republish_delay","resolve","secret_key","to_owned","try_from","","try_into","","ttl","type_id","","vzip","","PROVENANCE","StaticProvider","__clone_box","add_node_info","and","borrow","borrow_mut","clone","clone_into","clone_to_uninit","compat","compat_mut","compat_ref","default","deref","deref_mut","drop","fmt","from","from_node_info","from_ref","get_node_info","init","into","into_discovery","new","or","publish","remove_node_info","resolve","set_node_info","to_owned","try_from","try_into","type_id","vzip","DnsResolver","N0_DNS_NODE_ORIGIN_PROD","N0_DNS_NODE_ORIGIN_STAGING","__clone_box","and","borrow","borrow_mut","builder","clear_cache","clone","clone_into","clone_to_uninit","compat","compat_mut","compat_ref","custom","default","deref","deref_mut","drop","fmt","from","from_ref","init","into","lookup_ipv4","lookup_ipv4_ipv6","lookup_ipv4_ipv6_staggered","lookup_ipv4_staggered","lookup_ipv6","lookup_ipv6_staggered","lookup_node_by_domain_name","lookup_node_by_domain_name_staggered","lookup_node_by_id","lookup_node_by_id_staggered","lookup_txt","new","or","reset","resolve","resolve_host","to_owned","try_from","try_into","type_id","vzip","with_nameserver","AEAD_LIMIT_REACHED","APPLICATION_ERROR","Accept","AcceptBi","AcceptUni","AckFrequencyConfig","AddNodeAddr","AddNodeAddrError","AeadKey","All","AlpnError","App","ApplicationClose","ApplicationClosed","BindError","Builder","CONNECTION_ID_LIMIT_ERROR","CONNECTION_REFUSED","CRYPTO_BUFFER_EXCEEDED","CallMeMaybe","Chunk","CidsExhausted","ClosedStream","","","Connect","ConnectError","ConnectOptions","ConnectWithOptsError","Connecting","Connection","","ConnectionClose","ConnectionClosed","ConnectionError","","ConnectionLost","","","","","ConnectionStats","ConnectionType","ControlMsg","Controller","ControllerFactory","CryptoError","CryptoServerConfig","Custom","Default","Direct","DirectAddr","DirectAddrInfo","DirectAddrType","Disabled","","Discover","Discovery","DiscoveryStart","ENV_FORCE_STAGING_RELAYS","Empty","EmptyPruned","Endpoint","ExportKeyingMaterialError","FINAL_SIZE_ERROR","FLOW_CONTROL_ERROR","FRAME_ENCODING_ERROR","FinishedEarly","FrameStats","GetMappingAddressError","HandshakeTokenKey","INTERNAL_ERROR","INVALID_TOKEN","IllegalOrderedRead","Incoming","IncomingFuture","KEY_UPDATE_ERROR","Local","LocallyClosed","MAX","MAX_SIZE","MagicSpawn","Mixed","MtuDiscoveryConfig","NO_ERROR","NO_VIABLE_PATH","NamedApp","NoAddress","","None","OpenBi","OpenUni","OwnAddress","PROTOCOL_VIOLATION","PathSelection","PathStats","Ping","Pong","Portmapped","Qad","Qad4LocalPort","Quinn","Read","ReadDatagram","ReadError","","ReadExactError","ReadToEndError","RecvStream","Relay","","RelayMode","RelayOnly","RemoteNodeIdError","Reset","","ResetError","RetryError","STREAM_LIMIT_ERROR","STREAM_STATE_ERROR","Saved","SelfConnect","SendDatagramError","SendStream","ServerConfig","Source","Staging","Stopped","StoppedError","StreamId","TRANSPORT_PARAMETER_ERROR","TimedOut","TooLarge","TooLong","TransportConfig","TransportError","","TransportErrorCode","Udp","UdpStats","Unavailable","Unknown","UnknownHandshake","UnsupportedByPeer","UnsupportedVersion","VarInt","VersionMismatch","WeakConnectionHandle","WriteError","Written","ZeroRttAccepted","ZeroRttRejected","","","","__clone_box","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","accept","","accept_bi","accept_uni","accept_with","ack_eliciting_threshold","ack_frequency","ack_frequency_config","acks","add_discovery","add_node_addr_with_source","addr","","aead_from_hkdf","allow_spin","alpn","","alpns","and","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","as_error_source","","","","","","","","","","","","","","","","","","backtrace","","","","","","","bind","bind_addr_v4","bind_addr_v6","black_hole_cooldown","black_holes_detected","borrow","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bound_sockets","build","builder","bytes","","","cause","","","","","","","chunks","clear_discovery","clone","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_box","clone_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_to_uninit","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","close","","close_reason","closed","cmp","","","","code","compare","","","","compat","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","compat_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","compat_ref","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","congestion_controller_factory","congestion_events","congestion_state","conn_type","connect","connect_with_opts","connection_close","crypto","","","crypto_buffer_size","current_mtu","cwnd","data_blocked","datagram","datagram_receive_buffer_size","datagram_send_buffer_size","datagram_send_buffer_space","datagrams","decode","","","default","","","","","","","","","","","","","","default_relay_mode","deref","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","deref_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","description","","","","","","","deserialize","","","","dir","discovery","","discovery_dht","discovery_local_network","discovery_n0","dns_resolver","","drop","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","enable_segmentation_offload","encode","","","eq","","","","","","","","","","","","","","","","","","","","","","","","","","equivalent","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","error_code","","export_keying_material","finish","fmt","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","force_staging_infra","frame","frame_rx","frame_tx","frame_type","from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","from_ref","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","from_u32","from_u64","from_u64_unchecked","handshake_data","","handshake_done","hash","","","","","id","","ignore","immediate_ack","in_current_span","","","","","","","","","","","","","","","","","","incoming_buffer_size","incoming_buffer_size_total","index","init","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","initial_keys","initial_mtu","initial_rtt","initial_window","initiator","insecure_skip_relay_cert_verify","interval","into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","into_0rtt","into_any","into_future","","","","","","","","","","into_incoming","into_inner","ios","is_0rtt","is_alive","is_closed","keep_alive_interval","keylog","last_alive","last_control","last_payload","latency","","local_ip","lost_bytes","lost_packets","lost_plpmtud_probes","max_ack_delay","max_concurrent_bidi_streams","max_concurrent_uni_streams","max_data","max_datagram_size","max_idle_timeout","max_incoming","max_stream_data","max_streams_bidi","max_streams_uni","max_tls_tickets","metrics","migration","min_mtu","minimum_change","mtu_discovery_config","network_change","network_path_changed","new","","","new_connection_id","new_token","node_addr","node_id","observed_addr","offset","on_ack","on_congestion_event","on_end_acks","on_mtu_update","on_sent","online","open","open_bi","open_uni","or","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","packet_threshold","partial_cmp","","","","path","path_challenge","path_response","path_selection","peer_identity","persistent_congestion_threshold","ping","poll","","","","","","","","","poll_flush","poll_read","","poll_shutdown","poll_write","","preferred_address_v4","preferred_address_v6","priority","proxy_from_env","proxy_url","read","read_chunk","read_chunks","read_datagram","read_exact","read_to_end","reason","","","receive_observed_address_reports","receive_window","received_reset","refuse","relay_map","relay_mode","remote_address","remote_address_validated","remote_node_id","reordering_threshold","reset","reset_stream","retire_connection_id","retry","retry_tag","retry_token_lifetime","rtt","","saturating_add","seal","secret_key","","send_datagram","send_fairness","send_observed_address_reports","send_window","sent_packets","sent_plpmtud_probes","serialize","","","","set_alpns","set_max_concurrent_bi_streams","set_max_concurrent_uni_streams","set_priority","set_receive_window","set_user_data_for_discovery","source","","","","","","","","","","","","","","","sources","stable_id","start_session","stats","stop","stop_sending","stopped","stream","stream_data_blocked","stream_receive_window","streams_blocked_bidi","streams_blocked_uni","time_source","time_threshold","to_owned","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","to_string","","","","","","","","","","","","","","","","","","","","","","","","","","","token_key","transport","transport_config","","try_from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_poll","","","","","","","try_to_string","","","","","","","","","","","","","","","","","","","","","","","","","","","typ","type_id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","udp_rx","udp_tx","upper_bound","user_data_for_discovery","validation_token","validation_token_config","vzip","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","watch_node_addr","window","with_additional_alpns","with_crypto","with_single_cert","with_transport_config","write","write_all","write_all_chunks","write_chunk","write_chunks","backtrace","","","pruned","span_trace","","","backtrace","","","source","span_trace","","","backtrace","source","span_trace","backtrace","","source","","span_trace","","backtrace","","","","source","","","span_trace","","","","backtrace","","","source","","span_trace","","","name","","EndpointMetrics","MagicsockMetrics","NetReportMetrics","PortmapMetrics","RelayMetrics","__clone_box","accepts","actor_link_change","actor_tick_direct_addr_heartbeat","actor_tick_main","actor_tick_msg","actor_tick_other","actor_tick_portmap_changed","actor_tick_re_stun","and","","","","as_iterable","","","borrow","","","","borrow_mut","","","","bytes_recv","bytes_rx_ratelimited_total","bytes_sent","clone","clone_into","clone_to_uninit","compat","","","","compat_mut","","","","compat_ref","","","","connection_became_direct","connection_handshake_success","conns_rx_ratelimited_total","default","","","","deref","","","","deref_mut","","","","deserialize","","","disco_packets_dropped","disco_packets_recv","disco_packets_sent","disconnects","drop","","","","external_address_updated","field_count","","","field_ref","","","fmt","","","","from","","","","from_ref","got_ping","groups","groups_cloned","init","","","","into","","","","local_port_updates","magicsock","mapping_attempts","mapping_failures","name","","","","net_report","nodes_contacted","nodes_contacted_directly","num_direct_conns_added","num_direct_conns_removed","num_relay_conns_added","num_relay_conns_removed","or","","","","other_packets_dropped","other_packets_recv","other_packets_sent","pcp_available","pcp_probes","portmapper","probes_started","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","send_data","send_data_network_down","send_disco_relay","send_disco_udp","send_ipv4","send_ipv6","send_packets_dropped","send_packets_recv","send_packets_sent","send_relay","send_relay_error","sent_disco_call_me_maybe","sent_disco_ping","sent_disco_pong","sent_disco_relay","sent_disco_udp","sent_pong","serialize","","","to_owned","try_from","","","","try_into","","","","type_id","","","","unique_client_keys","unknown_frames","update_direct_addrs","upnp_available","upnp_gateway_updated","upnp_probes","upnp_probes_failed","vzip","","","","Https","Metrics","Options","Probe","QadIpv4","QadIpv6","QuicConfig","RelayLatencies","Report","__clone_box","","","","","and","","","","","","as_iterable","as_protocols","borrow","","","","","","borrow_mut","","","","","","captive_portal","client_config","clone","","","","","clone_into","","","","","clone_to_uninit","","","","","cmp","compare","compat","","","","","","compat_mut","","","","","","compat_ref","","","","","","default","","","","deref","","","","","","deref_mut","","","","","","deserialize","","","disabled","drop","","","","","","ep","eq","","","equivalent","","","","","","","","","","","","field_count","field_ref","fmt","","","","","","","","from","","","","","","from_ref","","","","","global_v4","global_v6","has_udp","https","init","","","","","","insecure_skip_relay_cert_verify","into","","","","","","ipv4","ipv6","iter","mapping_varies_by_dest","mapping_varies_by_dest_ipv4","mapping_varies_by_dest_ipv6","name","or","","","","","","partial_cmp","preferred_relay","quic_config","relay_latency","reports","reports_full","serialize","","","to_owned","","","","","to_string","","try_from","","","","","","try_into","","","","","","try_to_string","","type_id","","","","","","udp_v4","udp_v6","vzip","","","","","","AttrFromString","DecodingError","","EncodingError","FailedBuildingPacket","IROH_TXT_NAME","InvalidEncodingZ32","InvalidLength","InvalidSignature","InvalidTxtEntry","MaxLengthExceededError","NodeData","NodeIdExt","NodeInfo","NotAnIrohRecord","NumLabels","ParseError","UnexpectedFormat","UserData","Utf8","and","","","as_error_source","","","backtrace","","","borrow","","","borrow_mut","","","cause","","","compat","","","compat_mut","","","compat_ref","","","data","deref","","","deref_mut","","","description","","","drop","","","fmt","","","","","","from","","","","from_z32","in_current_span","","","init","","","into","","","node_id","or","","","source","","","to_string","","","to_z32","try_from","","","try_into","","","try_to_string","","","type_id","","","vzip","","","backtrace","","","len","source","","span_trace","","","backtrace","","source","","span_trace","","backtrace","","","","","","key","label","num_labels","s","source","","span_trace","","","","","","AcceptError","AccessLimit","Connection","DynProtocolHandler","MissingRemoteNodeId","NotAllowed","ProtocolHandler","Router","RouterBuilder","User","__clone_box","","accept","","","","","and","","","","as_error_source","backtrace","borrow","","","","borrow_mut","","","","builder","cause","clone","","clone_into","","clone_to_uninit","","compat","","","","compat_mut","","","","compat_ref","","","","deref","","","","deref_mut","","","","description","drop","","","","endpoint","","fmt","","","","","from","","","","","","","","","from_err","from_ref","","in_current_span","init","","","","into","","","","is_shutdown","new","","on_connecting","","","","or","","","","shutdown","","","","","source","spawn","to_owned","","to_string","try_from","","","","try_into","","","","try_to_string","type_id","","","","vzip","","","","backtrace","source","","","span_trace","CleanupDropGuard","DnsPkarrServer","and","","borrow","","borrow_mut","","compat","","compat_mut","","compat_ref","","deref","","deref_mut","","discovery","dns_resolver","drop","","fmt","","from","","init","","into","","nameserver","node_origin","on_node","or","","pkarr_url","run","run_relay_server","run_relay_server_with","run_with_origin","try_from","","try_into","","type_id","","vzip",""],"q":[[0,"iroh"],[352,"iroh::KeyParsingError"],[360,"iroh::defaults"],[366,"iroh::defaults::prod"],[373,"iroh::defaults::staging"],[378,"iroh::discovery"],[716,"iroh::discovery::DiscoveryError"],[725,"iroh::discovery::IntoDiscoveryError"],[729,"iroh::discovery::ParseError"],[747,"iroh::discovery::dns"],[794,"iroh::discovery::mdns"],[881,"iroh::discovery::mdns::DiscoveryEvent"],[884,"iroh::discovery::pkarr"],[1058,"iroh::discovery::pkarr::PkarrError"],[1065,"iroh::discovery::pkarr::dht"],[1126,"iroh::discovery::static_provider"],[1162,"iroh::dns"],[1209,"iroh::endpoint"],[3296,"iroh::endpoint::AddNodeAddrError"],[3303,"iroh::endpoint::AlpnError"],[3310,"iroh::endpoint::BindError"],[3313,"iroh::endpoint::ConnectError"],[3319,"iroh::endpoint::ConnectWithOptsError"],[3330,"iroh::endpoint::GetMappingAddressError"],[3338,"iroh::endpoint::Source"],[3340,"iroh::metrics"],[3524,"iroh::net_report"],[3732,"iroh::discovery"],[3733,"iroh::node_info"],[3734,"iroh::discovery"],[3735,"iroh::node_info"],[3746,"iroh::discovery"],[3748,"iroh::node_info"],[3749,"iroh::discovery"],[3750,"iroh::node_info"],[3751,"iroh::discovery"],[3752,"iroh::node_info"],[3779,"iroh::discovery"],[3780,"iroh::node_info"],[3812,"iroh::discovery"],[3813,"iroh::node_info"],[3838,"iroh::node_info::DecodingError"],[3847,"iroh::node_info::EncodingError"],[3853,"iroh::discovery::ParseError"],[3871,"iroh::protocol"],[4001,"iroh::protocol::AcceptError"],[4006,"iroh::test_utils"],[4054,"dyn_clone::sealed"],[4055,"tower_http::follow_redirect::policy::and"],[4056,"tower_http::follow_redirect::policy"],[4057,"iroh_base::key"],[4058,"core::error"],[4059,"backtrace::capture"],[4060,"core::option"],[4061,"iroh_base::relay_url"],[4062,"iroh_base::node_addr"],[4063,"iroh_relay::relay_map"],[4064,"core::cmp"],[4065,"async_compat"],[4066,"core::result"],[4067,"serde_core::de"],[4068,"core::net::socket_addr"],[4069,"core::iter::traits::iterator"],[4070,"alloc::collections::btree::set"],[4071,"core::fmt"],[4072,"ed25519_dalek::verifying"],[4073,"data_encoding"],[4074,"signature::error"],[4075,"ed25519_dalek::signing"],[4076,"iroh_base::ticket::node"],[4077,"iroh_relay::node_info"],[4078,"url"],[4079,"core::iter::traits::collect"],[4080,"rand_core"],[4081,"core::marker"],[4082,"n0_watcher"],[4083,"core::clone"],[4084,"alloc::sync"],[4085,"core::hash"],[4086,"core::ops::function"],[4087,"tower_http::follow_redirect::policy::or"],[4088,"core::task::wake"],[4089,"core::task::poll"],[4090,"serde_core::ser"],[4091,"ed25519"],[4092,"alloc::string"],[4093,"alloc::collections"],[4094,"core::any"],[4095,"n0_snafu::spantrace"],[4096,"iroh_relay::dns"],[4097,"alloc::boxed"],[4098,"pkarr::signed_packet"],[4099,"alloc::vec"],[4100,"futures_lite::stream"],[4101,"core::str::error"],[4102,"core::convert"],[4103,"futures_core::stream"],[4104,"core::time"],[4105,"pkarr::keys"],[4106,"reqwest::error"],[4107,"http::status"],[4108,"pkarr::client"],[4109,"core::net::ip_addr"],[4110,"reqwest::dns::resolve"],[4111,"core::future::future"],[4112,"core::pin"],[4113,"iroh_quinn_proto::connection"],[4114,"iroh_quinn::connection"],[4115,"iroh_quinn_proto::config"],[4116,"iroh_quinn_proto::config::transport"],[4117,"iroh_quinn_proto::varint"],[4118,"iroh_quinn_proto::connection::stats"],[4119,"iroh::magicsock"],[4120,"iroh::magicsock::node_map::node_state"],[4121,"iroh_quinn_proto::crypto"],[4122,"iroh_quinn_proto::congestion"],[4123,"std::time"],[4124,"iroh_quinn_proto::connection::assembler"],[4125,"bytes::bytes"],[4126,"iroh_quinn_proto::connection::streams::send"],[4127,"iroh_quinn::recv_stream"],[4128,"iroh_quinn::send_stream"],[4129,"iroh_quinn_proto::connection::streams"],[4130,"iroh::magicsock::node_map"],[4131,"iroh_quinn_proto::frame"],[4132,"iroh_quinn_proto"],[4133,"iroh_quinn_proto::coding"],[4134,"bytes::buf::buf_impl"],[4135,"bytes::buf::buf_mut"],[4136,"iroh_quinn::incoming"],[4137,"iroh_quinn_proto::connection::streams::recv"],[4138,"iroh_relay::protos::common"],[4139,"ring::error::unspecified"],[4140,"iroh_quinn_proto::transport_parameters"],[4141,"iroh_quinn_proto::shared"],[4142,"iroh_quinn_proto::connection::paths"],[4143,"std::io::error"],[4144,"tokio::io::read_buf"],[4145,"std::collections::hash::map"],[4146,"rustls_pki_types"],[4147,"rustls::error"],[4148,"iroh_quinn_proto::endpoint"],[4149,"iroh_metrics::metrics"],[4150,"iroh_metrics::iterable"],[4151,"iroh_metrics::base"],[4152,"iroh::net_report::options::imp"],[4153,"iroh::net_report::probes"],[4154,"iroh::net_report::report"],[4155,"iroh::net_report::reportgen"],[4156,"rustls::client::client_conn"],[4157,"iroh::net_report::metrics"],[4158,"iroh_quinn::endpoint"],[4159,"z32"],[4160,"simple_dns::simple_dns_error"],[4161,"tokio::runtime::task::error"],[4162,"iroh::test_utils::dns_and_pkarr_servers"],[4163,"iroh_relay::server"],[4164,"iroh_relay"],[4165,"iroh_relay::defaults"]],"i":"Af0`0`l`````````F``1B`BbBdBfBh67432Al217807807785430217854302180754321754321754321743174317854302178543021785430212`778543302178543021807543144``785430212`7432177774444333322221111778854330022117778885554444433022211752247543217537562743807854302167854302164226``44`267854302174316`7514457543158066`5754321783021777785543021785430217830217854302161277854302144HnI`Ib21210``````````````````J``0``````InJd0``22`2Jb1`3Il3E`JfIh033627Jh562185678564738056214738056218564473214732147321774738056214738056214738056213414733805622147338056218564`0473805621147324444777733332222477388055662144733333880566211565633473211737856473805621473805621Kl243232`54313435849167328`3Ij3603266:78`546954359:7856995:27843695:278439:78695:2784364695:27843656565LhLjLl100210Ln000M`MbMdMfMhMj413520543210````N`Mn10100110101010100101010101010110110101010Nf`0```Nd1Nb102102102011212121021021020102102102222221021021210210210102110112102102102102NnO`1``Kb0000````````00OfOjOl3Od3Oh3255514032514032104354324324325140325140325140325140325140325`1051403255140325140324325514032514032140343251403242132543255140325140325151403245140322OnA@bA@fA@jA@lA@nAAb``AAf0AAd10100101111010101010100101010101010100010010101101001010AAj`0000000000000000000000000000000000```Jj0000000000000000000000000000000000000000000AIf0````AEh``AIl`AHn`ACh``444AHh`1`AGlAHbAEj`````0`4`AEfAGh4AGn4AHd```````AJ`0AHj```41AEn<0`ADl0``AIf00AH````11<``1AIj?ADd0AEl7`44AHnAEh89``76``AHh05551AGj``7```;3`AIl`AGlACh``;;65````?AHb``<1AGh5``2`8`AEf<01``3````4AGn3AHd3861?40=AGdADfAFhAHfAGf>ADnAHjAHlAHn>ADbAFfAD`AI`AIbAIdAIfAIhAE`AIjAIlAC`AInACjAJ`3ACd220?ADfADh1ADj7ADn;AEb3AC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ADjAC`AEhAEjAElAEnAInACbACdAKjACfAEfAKlACjAF`AJ`AN`AMnACnAClANbAKbAGhAKdAJjAGjAGlAGnAH`AJlAHbAHdADhADdAG`AGdADfAFhAHfAGfAHhADnAHjAHlAHnAChADbAFfAD`AK`AKfAKhAI`AIbADlAIdAIfAIhAE`AIjAIlADjAC`AEhAEjAElAEnAInACbACdAKjACfAEfAKlACjAF`AJ`AN`AMnACnAClANbAKbAGhAKdAJjAGjAGlAGnAH`AJlAHbAHdADhADdAG`AGdADfAFhAHfAGfAHhADnAHjAHlAHnAChADbAFfAD`AK`AKfAKhAI`AIbADlAIdAIfAIhAE`AIjAIlADjAC`AEhAEjAElAEnAInACbACdAKjACfAEfAKlACjAF`AJ`ADhAFh4AC`00ADfAIf1AD`54422558AGdADd3AIh81257AHfAGfAHjAHlADbAFfAIlADjAIn`AN`AMnACnAClANbAKbAGhAKdAJjAGjAGlAGnAH`AJlAHbAHdADhADdAG`AGdADfAFhAHfAGfAHhADnAHjAHlAHnAChADbAFfAD`AK`AKfAKhAI`AIbADlAIdAIfAIhAE`AIjAIlADjAC`AEhAEjAElAEnAInACbACdAKjACfAEfAKlACjAF`AJ`AN`AMnACnAClANbAKbAGhAKdAJjAGjAGlAGnAH`AJlAHbAHdADhADdAG`AGdADfAFhAHfAGfAHhADnAHjAHlAHnAChADbAFfAD`AK`AKfAKhAI`AIbADlAIdAIfAIhAE`AIjAIlADjAC`AEhAEjAElAEnAInACbACdAKjACfAEfAKlACjAF`AJ`ADl>=<;52AHhADnAHjAHnAIhADjAC`11110AN`AMnACnAClANbAKbAGhAKdAJj0AGjAGlAGnAH`AJl0AHbAHdADhADdAG`AGdADfAFhAHfAGfAHhADnAHjAHlAHnAChADbAFfAD`AK`AKfAKhAI`AIbADlAIdAIfAIhAE`AIjAIlADjAC`AEhAEjAElAEnAInACbACdAKjACfAEfAKlACjAF`AJ`ADhADdAIfAIhAGhAGjAGlAGnAH`AHbAHd9AG`AGfAHhADnAHjAHlAHnAChAK`AI`AIbAIdAIfAIhAE`AIjAIlAJ`AGh000AGj000AGl000AGn000AH`000AHb000AHd000ADd000AG`000AGf000AHh000ADn000AHj000AHl000AHn000ACh000AK`000AI`000AIb000AId000AIf000AIh000AE`000AIj000AIl000AJ`00087ACjAJlAKbAGh0AKd0AJjAGj0AGl0AGn0AH`08AHb0AHd0ADhADd0AG`AGdADfAFhAHfAGfAHh0ADnAHj0AHl0AHn0ACh0ADbAFfAD`AK`AKfAKhAI`0AIb0ADl0AId0AIf0AIh0AE`AIj0AIlADjAC`AEh0AEj0AEl0AEn0AInACbACdAKjACfAEf0AKlACjAF`0AJ``AIdAHf0AI`AN`AMnACnAClANbAKbAGh0AKdAJjAGj0AGl000AGn0AH`0AJlAHb000AHd0ADhADd00000AG`AGdADfAFhAHfAGfAHhADnAHjAHlAHnACh00ADbAFfAD`AK`AKf0AKhAI`0AIbADlAId000AIfAIh0AE`AIjAIlADjAC`AEh0AEj00AElAEnAInACbACdAKjACfAEf0AKlACjAF`AJ`AGhAGjAGlAGnAH`AHbAHdADdAGdADfAFhAHfAGfAHhADnAHjAHlAHnAChADbAFfAD`AI`AIbAIdAIfAIhAE`AIjAIlAC`AInACjAJ`ADd00ACf3ADf2AHn;:9AJjAJlACd4AGhAKdAGjAGlAGnAH`AHbAHdAHlAChADlAIdAEhAEjAElAEnAEfAF`AD`0AIhAN`AMnACnAClANbAKbAGhAKdAJjAGjAGlAGnAH`AJlAHbAHdADhADdAG`AGdADfAFhAHfAGfAHhADnAHjAHlAHnAChADbAFfAD`AK`AKfAKhAI`AIbADlAIdAIfAIhAE`AIjAIlADjAC`AEhAEjAElAEnAInACbACdAKjACfAEfAKlACjAF`AJ`ALnADh0AFnAIhADjAFfAN`AMnACnAClANbAKbAGhAKdAJjAGjAGlAGnAH`AJlAHbAHdADhADdAG`AGdADfAFhAHfAGfAHhADnAHjAHlAHnAChADbAFfAD`AK`AKfAKhAI`AIbADlAIdAIfAIhAE`AIjAIlADjAC`AEhAEjAElAEnAInACbACdAKjACfAEfAKlACjAF`AJ`5AFnAN`AMnACnAClANb>=<;9AKdADdAGdAJjAKbAC`ADhADjADn0030ACdAFh00ADb55ADfACj7AD`2227908AFf9:;1AIhAIn55<<5AG`AFn0000>AEd77AN`AMnACnAClANbAKbAGhAKdAJjAGjAGlAGnAH`AJlAHbAHdADhADdAG`AGdADfAFhAHfAGfAHhADnAHjAHlAHnAChADbAFfAD`AK`AKfAKhAI`AIbADlAIdAIfAIhAE`AIjAIlADjAC`AEhAEjAElAEnAInACbACdAKjACfAEfAKlACjAF`AJ`ADhADdAIhAE`AIjAHfADf0ADj:71AN`AMnACnAClANbACbAKjACfAKlAJlAJj0111AD`02<<111ACj22AI`AIbAIdADh06ACdAJ`ADj227ADb;ADf04ALn;:AFhADdAEd6AC`>:::33AHhADnAHjAHn4ACj0AJl16AGhAGjAGlAGnAH`AHbAHdAChADlAEhAEjAElAEnAEfAF`ADnACjALn1AJjADfAJl11ADh22AD`1AGhAGjAGlAGnAH`AHbAHdADdAGdAFn:AD`0;AJl0000AOnB@`B@b1210B@dB@fB@h2210B@j00B@lB@n1010BA`BAbBAdBAf3103210BAjBAlBAn21210BB`BBb`````AMjBBdBBh000000BBl1230120123012322233301230123012311201230123012301322220123001201201230123323301230123030001233111111012322200301111111111111111111122211111112013301230123012322100000123BCd```00```0BCfBClBChBCbBCn5432101054321054321425432154321543215505432105432105432104310543210543210431054321254355554444333300055443210543215432144410543211054321223444005432154140004354321540543210543215405432144054321J``0`Lf`Eh001````22`2`210BDb210210210210210210210210E`3213213213213322113321BDf43243243214324324320432432432432432BDhBDjBDl120210BE`BEb1010M`MbMdMfMhMj413520543210``BEh`00```0BFbBF`BEfBEjBEl3340535540534053454343434053405340534053405354053404055340555555354354053405340321334053214335043540534053540534053BFh0BFjBFl2``BG`BFn101010101010100010101010100001000``010101010","f":"`````````````````{{bd}f}00000{g{{h{ig}}}{}{}{{j{ce}}}{{j{ce}}}}0000000{{{b{l}}}{{b{{A`{n}}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````````````````````````{{bd}f}000000000000000000000000000000000{{{b{AC`}}}ACb}{ACd{{Cd{ACfACh}}}}{{{b{ACj}}}ACl}{{{b{ACj}}}ACn}{{ACd{Ff{AD`}}}{{Cd{ACfACh}}}}{{{b{AnADb}}ADd}{{b{AnADb}}}}{ADfKn}{{{b{AnADh}}{Aj{ADb}}}{{b{AnADh}}}}1{{ADjc}ADjKl}{{{b{AC`}}Bb{b{Cb}}}{{Cd{fADl}}}}{ADnCj}{AE`Cj}{{{b{AEb}}{b{{Ad{n}}}}}{{Kd{AEd}}}}{{{b{AnADh}}Bn}{{b{AnADh}}}}{{{b{AnACf}}}{{Cd{{Kh{n}}AEf}}}}{{{b{ACj}}}{{Aj{{Kh{n}}}}}}{{ADj{Kh{{Kh{n}}}}}ADj}{g{{h{ig}}}{}{}{{j{ce}}}{{j{ce}}}}000000000000000000000000000000000000000000000000000000000000{b{{b{Ab}}}}00000000000000000{{{b{ADl}}}{{Aj{{b{Ah}}}}}}{{{b{AEh}}}{{Aj{{b{Ah}}}}}}{{{b{AEj}}}{{Aj{{b{Ah}}}}}}{{{b{AEl}}}{{Aj{{b{Ah}}}}}}{{{b{AEn}}}{{Aj{{b{Ah}}}}}}{{{b{AEf}}}{{Aj{{b{Ah}}}}}}{{{b{AF`}}}{{Aj{{b{Ah}}}}}}{ADj{{Cd{AC`AEl}}}}{{ADjAFb}ADj}{{ADjAFd}ADj}{{{b{AnAFf}}Ob}{{b{AnAFf}}}}{AFhKn}{b{{b{c}}}{}}000000000000000000000000000000000000000000000000000000000000{{{b{An}}}{{b{Anc}}}{}}000000000000000000000000000000000000000000000000000000000000{{{b{AC`}}}{{Kh{Cj}}}}{{{Ff{AFj}}AFlIf}{{Kd{AFn}}}}{{}ADj}{AG`AGb}{AGdKn}{AGfC`}{{{b{ADl}}}{{Aj{{b{Ab}}}}}}{{{b{AEh}}}{{Aj{{b{Ab}}}}}}{{{b{AEj}}}{{Aj{{b{Ab}}}}}}{{{b{AEl}}}{{Aj{{b{Ab}}}}}}{{{b{AEn}}}{{Aj{{b{Ab}}}}}}{{{b{AEf}}}{{Aj{{b{Ab}}}}}}{{{b{AF`}}}{{Aj{{b{Ab}}}}}}7{ADjADj}{{{b{AGh}}}AGh}{{{b{AGj}}}AGj}{{{b{AGl}}}AGl}{{{b{AGn}}}AGn}{{{b{AH`}}}AH`}{{{b{AHb}}}AHb}{{{b{AHd}}}AHd}{{{b{ADd}}}ADd}{{{b{AGd}}}AGd}{{{b{ADf}}}ADf}{{{b{AFh}}}AFh}{{{b{AHf}}}AHf}{{{b{AGf}}}AGf}{{{b{AHh}}}AHh}{{{b{ADn}}}ADn}{{{b{AHj}}}AHj}{{{b{AHl}}}AHl}{{{b{AHn}}}AHn}{{{b{ACh}}}ACh}{{{b{ADb}}}ADb}{{{b{AFf}}}AFf}{{{b{AD`}}}AD`}{{{b{AI`}}}AI`}{{{b{AIb}}}AIb}{{{b{AId}}}AId}{{{b{AIf}}}AIf}{{{b{AIh}}}AIh}{{{b{AE`}}}AE`}{{{b{AIj}}}AIj}{{{b{AIl}}}AIl}{{{b{AC`}}}AC`}{{{b{AIn}}}AIn}{{{b{ACj}}}ACj}{{{b{AJ`}}}AJ`}{{{b{AFn}}}{{Kd{AFn}}}}{{b{b{Anc}}}f{}}000000000000000000000000000000000{{bn}f}000000000000000000000000000000000{{{b{AC`}}}f}{{{b{ACj}}ADd{b{{Ad{n}}}}}f}{{{b{ACj}}}{{Aj{ACh}}}}{{{b{ACj}}}ACh}{{{b{ADd}}{b{ADd}}}Bj}{{{b{AIh}}{b{AIh}}}Bj}{{{b{AE`}}{b{AE`}}}Bj}{{{b{AIj}}{b{AIj}}}Bj}{AIdAIf}{{b{b{c}}}Bj{}}000{{}{{Bl{c}}}{}}000000000000000000000000000000000000000000000000000000000000{{{b{An}}}{{Bl{{b{Anc}}}}}{}}000000000000000000000000000000000000000000000000000000000000{b{{Bl{{b{c}}}}}{}}000000000000000000000000000000000000000000000000000000000000{{{b{AnADh}}{Ff{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}}f}{{{b{AGh}}}{{Aj{{b{Ab}}}}}}{{{b{AGj}}}{{Aj{{b{Ab}}}}}}{{{b{AGl}}}{{Aj{{b{Ab}}}}}}{{{b{AGn}}}{{Aj{{b{Ab}}}}}}{{{b{AH`}}}{{Aj{{b{Ab}}}}}}{{{b{AHb}}}{{Aj{{b{Ab}}}}}}{{{b{AHd}}}{{Aj{{b{Ab}}}}}}{{{b{ACh}}}{{Aj{{b{Ab}}}}}}{{{b{ADl}}}{{Aj{{b{Ab}}}}}}{{{b{AEh}}}{{Aj{{b{Ab}}}}}}{{{b{AEj}}}{{Aj{{b{Ab}}}}}}{{{b{AEl}}}{{Aj{{b{Ab}}}}}}{{{b{AEn}}}{{Aj{{b{Ab}}}}}}{{{b{AEf}}}{{Aj{{b{Ab}}}}}}{{{b{AF`}}}{{Aj{{b{Ab}}}}}}{ADnANj}{{{b{ACj}}}C`}{{{Ff{ALn}}Ld{b{ANl}}}{{Kd{ANn}}}}{{{b{ACj}}}AHf}{{{b{AnAJj}}ADd}{{Cd{fAHl}}}}{ADfKn}{{{b{AnAJl}}}{{Cd{{Aj{ADd}}AHd}}}}11{{{b{AnADh}}ADd}{{b{AnADh}}}}22{{{b{AnAD`}}{Ff{AO`}}}{{b{AnAD`}}}}{{{b{AnADh}}AOb}{{b{AnADh}}}}{bc{}}000000000000000000000000000000000{bHf}00000000000000000000000000{{{b{AnAD`}}{Ff{AEb}}}{{b{AnAD`}}}}{AD`Ff}{{{b{AnAD`}}{Ff{ADh}}}{{b{AnAD`}}}}{{ADjADh}ADj}{c{{Cd{e}}}{}{}}0000000000000000{Kn{{Cd{ADdALj}}}}{C`{{Cd{ADdALj}}}}2{AOd{{Cd{ADdALj}}}}3333333333333333333333333333333333333333333{{}{{Cd{c}}}{}}000000000000000000000000000000000000000000000000000000000000{{{ABn{{b{Anc}}}}{b{AnGl}}}Gn{}}000000{b{{Cd{HfHh}}}}00000000000000000000000000{AE`AIj}{bHj}000000000000000000000000000000000000000000000000000000000000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}}}}Gf}}}}{{{b{BEj}}}{{ABn{{Kd{ABl}}}}}}{{{b{BFb}}}{{Cd{fBFf}}}}{b{{ABn{{Kd{ABl}}}}}}{{{b{{BF`{c}}}}}{{`{{ABl{}{{Gb{f}}}}Gf}}}{BEfFb}}{{{b{BEh}}}{{Aj{{b{Ab}}}}}}{BElBFb}{bc{}}0{bHf}{c{{Cd{e}}}{}{}}000{{}{{Cd{c}}}{}}000{b{{Cd{HfHh}}}}{bHj}000{{}c{}}000{BFhAj}{BFhACh}{BFjAF`}{BFlKd}{BFhId}``{g{{h{ig}}}{}{}{{j{ce}}}{{j{ce}}}}0{b{{b{c}}}{}}0{{{b{An}}}{{b{Anc}}}{}}0{{}{{Bl{c}}}{}}0{{{b{An}}}{{Bl{{b{Anc}}}}}{}}0{b{{Bl{{b{c}}}}}{}}0{C`{{b{c}}}{}}0{C`{{b{Anc}}}{}}0{{{b{BFn}}B`}Ih}{{{b{BFn}}}Jj}{C`f}0{{{b{BG`}}{b{AnD`}}}Jl}{{{b{BFn}}{b{AnD`}}}Jl}{cc{}}0{{}C`}0{{}c{}}0{BFnCj}{BFnHf}{{{b{BFn}}{b{L`}}Ob}{{BGb{f}}}}{g{{Gj{ig}}}{}{}{{j{ce}}}{{j{ce}}}}0{BFnEd}{{}{{BGb{BFn}}}}{{}{{Cd{{Eb{BfBdBGd}}BGf}}}}{Bn{{Cd{{Eb{BfBdBGd}}BGf}}}}{Hf{{BGb{BFn}}}}{c{{Cd{e}}}{}{}}0{{}{{Cd{c}}}{}}0{bHj}0{{}c{}}0","D":"GJl","p":[[1,"reference",null,null,1],[5,"Private",4054],[1,"unit"],[5,"And",4055],[10,"Policy",4056],[5,"PublicKey",0,4057],[1,"u8"],[1,"array"],[10,"Error",4058],[1,"slice"],[6,"KeyParsingError",0,4057],[5,"Backtrace",4059],[6,"Option",4060,null,1],[5,"RelayUrlParseError",0,4061],[0,"mut"],[5,"SecretKey",0,4057],[5,"NodeAddr",0,4062],[5,"RelayUrl",0,4061],[5,"RelayMap",0,4063],[5,"RelayNode",0,4063],[6,"Ordering",4064],[5,"Compat",4065],[1,"bool"],[1,"usize"],[1,"str"],[6,"Result",4066,null,1],[10,"Deserializer",4067],[17,"Item"],[6,"SocketAddr",4068],[10,"Iterator",4069],[5,"BTreeSet",4070],[5,"Formatter",4071],[5,"Error",4071],[10,"Display",4071],[5,"VerifyingKey",4072],[5,"DecodeError",4073],[5,"Error",4074],[5,"SigningKey",4075],[5,"NodeTicket",4076],[5,"NodeInfo",3812,4077],[1,"tuple",null,null,1],[5,"Url",4078],[10,"IntoIterator",4079],[6,"DecodingError",3813,4077],[10,"CryptoRng",4080],[10,"Sized",4081],[17,"Value"],[10,"Watcher",0,4082],[10,"Clone",4083],[10,"Eq",4064],[5,"Arc",4084,null,1],[10,"Hasher",4085],[5,"InitializedFut",4082],[10,"Nullable",4082],[5,"Map",4082],[5,"Disconnected",4082],[17,"Output"],[10,"Fn",4086],[10,"Send",4081],[10,"Sync",4081],[5,"Or",4087],[5,"Context",4088],[6,"Poll",4089],[10,"Serializer",4090],[5,"Signature",4091],[5,"Stream",4082],[5,"String",4092],[5,"TryReserveError",4093],[5,"TypeId",4094],[5,"NextFut",4082],[15,"Decode",352],[15,"Key",352],[15,"DecodeInvalidLength",352],[5,"SpanTrace",4095],[1,"u16"],[5,"ConcurrentDiscovery",3812],[10,"Discovery",3812],[5,"NodeData",3812,4077],[5,"UserData",3812,4077],[6,"ParseError",3812,4077],[6,"IntoDiscoveryError",3812],[6,"DiscoveryError",3812],[5,"DiscoveryItem",3812],[5,"DiscoveryContext",3812],[5,"DnsResolver",1162,4096],[8,"Result",4071],[6,"IrohAttr",4077],[5,"TxtAttrs",4077],[6,"PkarrError",884],[5,"Box",4097,null,1],[5,"SignedPacket",4098],[5,"Vec",4099],[5,"TxtRecordData",4096],[10,"IntoDiscovery",3812],[1,"u64"],[8,"NodeId",0,4057],[8,"Boxed",4100],[1,"u32"],[6,"EncodingError",3813,4077],[15,"NoServiceConfigured",716],[15,"NoResults",716],[15,"User",716],[15,"User",725],[15,"UnexpectedFormat",3853],[15,"AttrFromString",3853],[15,"NumLabels",3853],[15,"Utf8",3853],[15,"NotAnIrohRecord",3853],[15,"DecodingError",3853],[5,"Utf8Error",4101],[5,"DnsDiscoveryBuilder",747],[5,"DnsDiscovery",747],[5,"MdnsDiscoveryBuilder",794],[5,"MdnsDiscovery",794],[6,"DiscoveryEvent",794],[10,"Into",4102,null,1],[10,"Stream",4103],[10,"Unpin",4081],[15,"Discovered",881],[15,"Expired",881],[5,"Duration",4104],[5,"PkarrPublisherBuilder",884],[5,"PkarrPublisher",884],[5,"PkarrResolverBuilder",884],[5,"PkarrResolver",884],[5,"PkarrRelayClient",884],[15,"PublicKey",1058],[6,"PublicKeyError",4105],[15,"Verify",1058],[6,"SignedPacketVerifyError",4098],[15,"HttpSend",1058],[5,"Error",4106],[15,"HttpPayload",1058],[15,"Encoding",1058],[15,"HttpRequest",1058],[5,"StatusCode",4107],[15,"InvalidRelayUrl",1058],[5,"Builder",1065],[5,"DhtDiscovery",1065],[5,"Client",4108],[5,"StaticProvider",1126],[5,"Builder",4096],[10,"Resolver",4096],[6,"IpAddr",4109],[6,"DnsError",4096],[10,"ToString",4092],[5,"StaggeredError",4096],[6,"LookupError",4096],[5,"Name",4110],[10,"Future",4111,null,1],[5,"Pin",4112],[5,"Endpoint",1209],[5,"Accept",1209],[5,"Incoming",1209],[5,"Connecting",1209],[6,"ConnectionError",1209,4113],[5,"Connection",1209],[5,"AcceptBi",1209,4114],[5,"AcceptUni",1209,4114],[5,"ServerConfig",1209,4115],[5,"AckFrequencyConfig",1209,4116],[5,"VarInt",1209,4117],[5,"FrameStats",1209,4118],[5,"TransportConfig",1209,4116],[5,"Builder",1209],[6,"AddNodeAddrError",1209,4119],[5,"DirectAddrInfo",1209,4120],[5,"DirectAddr",1209,4119],[10,"HandshakeTokenKey",1209,4121],[10,"AeadKey",1209,4121],[6,"AlpnError",1209],[6,"ConnectWithOptsError",1209],[6,"ConnectError",1209],[6,"BindError",1209],[6,"GetMappingAddressError",1209],[5,"RemoteNodeIdError",1209],[5,"SocketAddrV4",4068],[5,"SocketAddrV6",4068],[5,"MtuDiscoveryConfig",1209,4116],[5,"PathStats",1209,4118],[10,"ControllerFactory",1209,4122],[5,"Instant",4123],[10,"Controller",1209,4122],[5,"Chunk",1209,4124],[5,"Bytes",4125],[5,"UdpStats",1209,4118],[5,"Written",1209,4126],[6,"SendDatagramError",1209,4114],[6,"ReadToEndError",1209,4127],[6,"ReadError",1209,4127],[6,"ResetError",1209,4127],[6,"ReadExactError",1209,4127],[6,"WriteError",1209,4128],[6,"StoppedError",1209,4128],[5,"ConnectionStats",1209,4118],[6,"ControlMsg",1209,4120],[6,"ConnectionType",1209,4120],[5,"ClosedStream",1209,4129],[6,"Source",1209,4130],[5,"ConnectionClose",1209,4131],[5,"ApplicationClose",1209,4131],[5,"TransportError",1209],[5,"TransportErrorCode",1209],[5,"StreamId",1209,4132],[6,"DirectAddrType",1209,4119],[6,"PathSelection",1209],[5,"ConnectOptions",1209],[6,"RelayMode",1209],[5,"Direct",4082],[5,"UnexpectedEnd",4133],[10,"Buf",4134],[6,"Dir",4132],[5,"RecvStream",1209,4127],[5,"SendStream",1209,4128],[10,"BufMut",4135],[5,"ExportKeyingMaterialError",1209,4121],[5,"WeakConnectionHandle",1209,4114],[5,"RetryError",1209,4136],[5,"CryptoError",1209,4121],[5,"UnsupportedVersion",1209,4121],[5,"IncomingFuture",1209],[5,"ZeroRttAccepted",1209],[6,"ReadableError",4137],[6,"FrameType",4138],[6,"Close",4131],[5,"Unspecified",4139],[5,"InvalidFrame",4131],[6,"Error",4140],[5,"VarIntBoundsExceeded",4117],[10,"Any",4094],[10,"CryptoServerConfig",1209],[5,"ConnectionId",4141],[5,"Keys",4121],[6,"Side",4132],[5,"Incoming",4136],[5,"IdleTimeout",4116],[5,"EndpointMetrics",3340],[5,"RttEstimator",4142],[5,"OpenBi",1209,4114],[5,"OpenUni",1209,4114],[5,"ReadDatagram",1209,4114],[5,"Error",4143],[5,"ReadBuf",4144],[1,"i32"],[5,"HashMap",4145],[5,"TransportParameters",4140],[10,"Session",4121],[10,"TimeSource",4115],[1,"f32"],[1,"u128"],[5,"ValidationTokenConfig",4115],[5,"CertificateDer",4146],[6,"PrivateKeyDer",4146],[6,"Error",4147],[15,"Empty",3296],[15,"EmptyPruned",3296],[15,"OwnAddress",3296],[15,"ConnectionError",3303],[15,"Unavailable",3303],[15,"UnknownHandshake",3303],[15,"MagicSpawn",3310],[15,"Connect",3313],[15,"Connection",3313],[15,"AddNodeAddr",3319],[15,"SelfConnect",3319],[15,"NoAddress",3319],[15,"Quinn",3319],[6,"ConnectError",4148],[15,"DiscoveryStart",3330],[15,"Discover",3330],[15,"NoAddress",3330],[15,"Discovery",3338],[15,"NamedApp",3338],[5,"RelayMetrics",3340],[5,"Counter",4149],[5,"MagicsockMetrics",3340],[10,"Iterable",4150],[5,"PortmapMetrics",3340],[5,"MetricItem",4151],[10,"MetricsGroup",4151],[5,"Options",3524,4152],[6,"Probe",3524,4153],[5,"Report",3524,4154],[5,"QuicConfig",3524,4155],[5,"ClientConfig",4156],[5,"RelayLatencies",3524,4154],[5,"Metrics",3524,4157],[5,"Endpoint",4158],[5,"MaxLengthExceededError",3813,4077],[6,"SignedPacketBuildError",4098],[10,"NodeIdExt",3813,4077],[15,"InvalidEncodingZ32",3838],[15,"InvalidLength",3838],[15,"InvalidSignature",3838],[6,"Z32Error",4159],[15,"FailedBuildingPacket",3847],[15,"InvalidTxtEntry",3847],[6,"SimpleDnsError",4160],[10,"ProtocolHandler",3871],[6,"AcceptError",3871],[10,"DynProtocolHandler",3871],[5,"RouterBuilder",3871],[10,"AsRef",4102],[5,"AccessLimit",3871],[5,"Router",3871],[10,"Debug",4071],[5,"JoinError",4161],[15,"Connection",4001],[15,"MissingRemoteNodeId",4001],[15,"User",4001],[5,"DnsPkarrServer",4006,4162],[5,"CleanupDropGuard",4006],[8,"Result",4143],[5,"Server",4163],[6,"SpawnError",4163]],"r":[[0,4057],[1,4057],[2,1209],[3,4057],[4,4057],[5,4057],[6,4062],[7,4057],[8,4057],[9,4063],[10,1209],[11,4063],[12,4061],[13,4061],[14,4057],[15,4082],[16,4082],[17,4057],[18,4057],[19,4062],[20,4061],[21,4063],[22,4063],[23,4057],[24,4057],[25,4057],[26,4062],[27,4061],[28,4061],[29,4063],[30,4063],[31,4057],[32,4057],[33,4061],[34,4057],[35,4057],[36,4061],[37,4057],[38,4057],[39,4057],[40,4057],[41,4062],[42,4061],[43,4061],[44,4063],[45,4063],[46,4057],[47,4057],[48,4057],[49,4062],[50,4061],[51,4061],[52,4063],[53,4063],[54,4057],[55,4061],[56,4057],[57,4057],[58,4062],[59,4061],[60,4063],[61,4063],[62,4057],[63,4057],[64,4062],[65,4061],[66,4063],[67,4063],[68,4057],[69,4057],[70,4062],[71,4061],[72,4063],[73,4063],[74,4057],[75,4062],[76,4061],[77,4063],[78,4057],[79,4062],[80,4061],[81,4063],[82,4057],[83,4057],[84,4057],[85,4062],[86,4061],[87,4061],[88,4063],[89,4063],[90,4057],[91,4057],[92,4057],[93,4062],[94,4061],[95,4061],[96,4063],[97,4063],[98,4057],[99,4057],[100,4057],[101,4062],[102,4061],[103,4061],[104,4063],[105,4063],[106,4063],[108,4057],[109,4057],[110,4057],[111,4057],[112,4062],[113,4061],[114,4061],[115,4061],[116,4063],[117,4063],[118,4057],[119,4057],[120,4057],[121,4062],[122,4061],[123,4061],[124,4063],[125,4063],[126,4057],[127,4061],[128,4057],[129,4057],[130,4062],[131,4061],[132,4063],[133,4062],[134,4062],[137,4057],[138,4057],[139,4057],[140,4062],[141,4061],[142,4061],[143,4063],[144,4063],[145,4063],[147,4057],[148,4062],[149,4061],[150,4063],[151,4063],[152,4057],[153,4057],[154,4057],[155,4057],[156,4062],[157,4062],[158,4062],[159,4062],[160,4061],[161,4061],[162,4061],[163,4061],[164,4063],[165,4063],[166,4063],[167,4063],[168,4063],[169,4063],[170,4063],[171,4063],[172,4057],[173,4057],[174,4057],[175,4057],[176,4057],[177,4062],[178,4061],[179,4061],[180,4061],[181,4061],[182,4063],[183,4063],[184,4063],[185,4063],[186,4057],[187,4057],[188,4057],[189,4057],[190,4057],[191,4057],[192,4057],[193,4057],[194,4057],[195,4062],[196,4062],[197,4062],[198,4062],[199,4062],[200,4061],[201,4061],[202,4061],[203,4063],[204,4063],[205,4063],[206,4063],[207,4063],[208,4057],[209,4057],[210,4063],[211,4063],[212,4062],[213,4057],[214,4057],[215,4062],[216,4061],[217,4063],[218,4063],[219,4057],[220,4057],[221,4061],[222,4057],[223,4057],[224,4082],[225,4063],[226,4057],[227,4062],[228,4061],[229,4057],[230,4061],[231,4057],[232,4057],[233,4057],[234,4062],[235,4061],[236,4061],[237,4063],[238,4063],[239,4082],[240,4057],[241,4057],[242,4057],[243,4062],[244,4061],[245,4061],[246,4063],[247,4063],[248,4082],[249,4062],[250,4063],[251,4063],[252,4082],[255,4062],[256,4062],[257,4164],[258,4063],[259,4082],[260,4057],[261,4057],[262,4057],[263,4062],[264,4061],[265,4061],[266,4063],[267,4063],[268,4057],[269,4062],[270,4061],[271,4063],[272,4082],[274,4057],[275,4057],[276,4063],[277,4062],[278,4062],[279,4057],[280,4057],[281,4057],[282,4062],[283,4061],[284,4063],[285,4057],[286,4057],[287,4061],[288,4082],[289,4082],[291,4057],[292,4057],[293,4057],[294,4062],[295,4061],[296,4063],[297,4063],[298,4057],[299,4057],[300,4061],[301,4061],[302,4063],[303,4063],[304,4057],[305,4057],[306,4057],[307,4057],[308,4057],[309,4057],[310,4057],[311,4062],[312,4061],[313,4061],[314,4063],[315,4063],[316,4057],[317,4057],[318,4057],[319,4062],[320,4061],[321,4061],[322,4063],[323,4063],[324,4057],[325,4057],[326,4061],[327,4061],[328,4063],[329,4063],[330,4057],[331,4057],[332,4057],[333,4062],[334,4061],[335,4061],[336,4063],[337,4063],[338,4082],[339,4063],[340,4063],[341,4057],[342,4057],[343,4057],[344,4057],[345,4062],[346,4061],[347,4061],[348,4063],[349,4063],[350,4062],[351,4062],[363,4165],[378,4077],[380,4077],[387,4077],[390,4077],[391,4077],[392,4077],[393,4077],[394,4077],[395,4077],[398,4077],[399,4077],[400,4077],[401,4077],[402,4077],[406,4077],[407,4077],[408,4077],[409,4077],[410,4077],[416,4077],[419,4077],[420,4077],[423,4077],[424,4077],[425,4077],[426,4077],[432,4077],[433,4077],[434,4077],[435,4077],[441,4077],[444,4077],[445,4077],[446,4077],[447,4077],[450,4077],[451,4077],[452,4077],[455,4077],[456,4077],[457,4077],[460,4077],[461,4077],[462,4077],[463,4077],[464,4077],[465,4077],[471,4077],[472,4077],[473,4077],[474,4077],[480,4077],[481,4077],[482,4077],[483,4077],[489,4077],[490,4077],[492,4077],[493,4077],[494,4077],[495,4077],[496,4077],[503,4077],[504,4077],[505,4077],[506,4077],[507,4077],[513,4077],[516,4077],[519,4077],[520,4077],[521,4077],[522,4077],[529,4077],[530,4077],[531,4077],[533,4077],[534,4077],[535,4077],[536,4077],[537,4077],[538,4077],[539,4077],[540,4077],[541,4077],[542,4077],[543,4077],[544,4077],[549,4077],[550,4077],[551,4077],[552,4077],[553,4077],[554,4077],[562,4077],[563,4077],[564,4077],[565,4077],[566,4077],[567,4077],[568,4077],[569,4077],[570,4077],[571,4077],[583,4077],[584,4077],[585,4077],[586,4077],[587,4077],[591,4077],[592,4077],[593,4077],[594,4077],[597,4077],[598,4077],[599,4077],[600,4077],[606,4077],[607,4077],[608,4077],[609,4077],[617,4077],[623,4077],[624,4077],[628,4077],[630,4077],[631,4077],[632,4077],[633,4077],[639,4077],[644,4077],[648,4077],[649,4077],[650,4077],[654,4077],[656,4077],[657,4077],[658,4077],[661,4077],[662,4077],[663,4077],[666,4077],[667,4077],[668,4077],[669,4077],[670,4077],[671,4077],[677,4077],[678,4077],[679,4077],[680,4077],[686,4077],[687,4077],[690,4077],[691,4077],[692,4077],[693,4077],[699,4077],[701,4077],[702,4077],[703,4077],[704,4077],[710,4077],[711,4077],[712,4077],[713,4077],[714,4077],[715,4077],[749,4096],[750,4096],[1162,4096],[1163,4096],[1164,4096],[1165,4096],[1166,4096],[1167,4096],[1168,4096],[1169,4096],[1170,4096],[1171,4096],[1172,4096],[1173,4096],[1174,4096],[1175,4096],[1176,4096],[1177,4096],[1178,4096],[1179,4096],[1180,4096],[1181,4096],[1182,4096],[1183,4096],[1184,4096],[1185,4096],[1186,4096],[1187,4096],[1188,4096],[1189,4096],[1190,4096],[1191,4096],[1192,4096],[1193,4096],[1194,4096],[1195,4096],[1196,4096],[1197,4096],[1198,4096],[1199,4096],[1200,4096],[1201,4096],[1202,4096],[1203,4096],[1204,4096],[1205,4096],[1206,4096],[1207,4096],[1208,4096],[1212,4114],[1213,4114],[1214,4116],[1216,4119],[1217,4121],[1220,4130],[1221,4131],[1222,4113],[1228,4120],[1229,4124],[1230,4113],[1231,4129],[1232,4127],[1233,4128],[1241,4131],[1242,4113],[1243,4113],[1245,4114],[1246,4127],[1247,4127],[1248,4128],[1249,4128],[1250,4118],[1251,4120],[1252,4120],[1253,4122],[1254,4122],[1255,4121],[1259,4120],[1260,4119],[1261,4120],[1262,4119],[1263,4114],[1266,4130],[1269,4119],[1270,4119],[1272,4121],[1276,4127],[1277,4118],[1279,4121],[1282,4127],[1286,4119],[1287,4113],[1288,4117],[1289,4117],[1291,4120],[1292,4116],[1295,4130],[1298,4120],[1299,4114],[1300,4114],[1301,4119],[1304,4118],[1305,4120],[1306,4120],[1307,4119],[1308,4119],[1309,4119],[1311,4127],[1312,4114],[1313,4127],[1314,4127],[1315,4127],[1316,4127],[1317,4127],[1318,4120],[1319,4130],[1323,4127],[1324,4113],[1325,4127],[1326,4136],[1329,4130],[1331,4114],[1332,4128],[1333,4115],[1334,4130],[1336,4128],[1337,4128],[1338,4132],[1340,4113],[1341,4114],[1342,4127],[1343,4116],[1345,4113],[1347,4130],[1348,4118],[1350,4119],[1352,4114],[1353,4121],[1354,4117],[1355,4113],[1356,4114],[1357,4128],[1358,4126],[1360,4127],[1361,4127],[1362,4128],[1363,4128],[1364,4114],[1365,4127],[1366,4127],[1367,4127],[1368,4127],[1369,4128],[1370,4128],[1371,4117],[1372,4118],[1373,4118],[1374,4118],[1375,4118],[1376,4126],[1377,4120],[1378,4120],[1379,4120],[1380,4129],[1381,4130],[1382,4113],[1383,4116],[1384,4116],[1385,4115],[1386,4131],[1387,4131],[1390,4132],[1391,4119],[1392,4119],[1403,4116],[1404,4118],[1405,4116],[1406,4118],[1409,4120],[1410,4119],[1411,4121],[1412,4116],[1416,4114],[1417,4114],[1418,4114],[1419,4114],[1420,4114],[1421,4114],[1422,4114],[1423,4136],[1424,4127],[1425,4127],[1426,4127],[1427,4127],[1428,4127],[1429,4128],[1430,4128],[1431,4128],[1432,4116],[1433,4117],[1434,4124],[1435,4118],[1436,4118],[1437,4118],[1438,4118],[1439,4126],[1440,4120],[1441,4120],[1442,4120],[1443,4129],[1444,4130],[1445,4113],[1446,4116],[1447,4116],[1448,4115],[1449,4121],[1450,4121],[1451,4121],[1452,4131],[1453,4131],[1454,4119],[1457,4132],[1458,4119],[1459,4119],[1477,4114],[1478,4136],[1479,4127],[1480,4127],[1481,4127],[1482,4127],[1483,4128],[1484,4128],[1485,4129],[1486,4113],[1487,4119],[1495,4119],[1505,4116],[1506,4118],[1507,4114],[1508,4114],[1509,4114],[1510,4114],[1511,4114],[1512,4114],[1513,4114],[1514,4136],[1515,4127],[1516,4127],[1517,4127],[1518,4127],[1519,4127],[1520,4128],[1521,4128],[1522,4128],[1523,4116],[1524,4117],[1525,4124],[1526,4118],[1527,4118],[1528,4118],[1529,4118],[1530,4126],[1531,4120],[1532,4120],[1533,4120],[1534,4129],[1535,4130],[1536,4113],[1537,4116],[1538,4116],[1539,4115],[1540,4121],[1541,4121],[1542,4121],[1543,4131],[1544,4131],[1545,4119],[1548,4132],[1549,4119],[1550,4119],[1568,4114],[1569,4114],[1570,4114],[1571,4114],[1572,4114],[1573,4114],[1574,4114],[1575,4136],[1576,4127],[1577,4127],[1578,4127],[1579,4127],[1580,4127],[1581,4128],[1582,4128],[1583,4128],[1584,4116],[1585,4117],[1586,4124],[1587,4118],[1588,4118],[1589,4118],[1590,4118],[1591,4126],[1592,4120],[1593,4120],[1594,4120],[1595,4129],[1596,4130],[1597,4113],[1598,4116],[1599,4116],[1600,4115],[1601,4121],[1602,4121],[1603,4121],[1604,4131],[1605,4131],[1606,4119],[1609,4132],[1610,4119],[1611,4119],[1630,4122],[1632,4124],[1633,4118],[1634,4126],[1635,4119],[1642,4126],[1644,4114],[1645,4127],[1646,4127],[1647,4127],[1648,4127],[1649,4128],[1650,4128],[1651,4117],[1652,4118],[1653,4118],[1654,4118],[1655,4118],[1656,4126],[1657,4120],[1658,4120],[1659,4120],[1660,4129],[1661,4130],[1662,4113],[1663,4116],[1664,4116],[1665,4115],[1666,4131],[1667,4131],[1670,4132],[1671,4119],[1672,4119],[1678,4122],[1679,4114],[1680,4127],[1681,4127],[1682,4127],[1683,4127],[1684,4128],[1685,4128],[1686,4117],[1687,4118],[1688,4118],[1689,4118],[1690,4118],[1691,4126],[1692,4120],[1693,4120],[1694,4120],[1695,4129],[1696,4130],[1697,4113],[1698,4116],[1699,4116],[1700,4115],[1701,4131],[1702,4131],[1705,4132],[1706,4119],[1707,4119],[1713,4114],[1714,4127],[1715,4127],[1716,4127],[1717,4127],[1718,4128],[1719,4128],[1720,4117],[1721,4118],[1722,4118],[1723,4118],[1724,4118],[1725,4126],[1726,4120],[1727,4120],[1728,4120],[1729,4129],[1730,4130],[1731,4113],[1732,4116],[1733,4116],[1734,4115],[1735,4131],[1736,4131],[1739,4132],[1740,4119],[1741,4119],[1751,4117],[1752,4132],[1753,4119],[1754,4119],[1756,4117],[1757,4132],[1758,4119],[1759,4119],[1760,4114],[1761,4114],[1762,4114],[1763,4114],[1764,4114],[1765,4114],[1766,4114],[1767,4136],[1768,4127],[1769,4127],[1770,4127],[1771,4127],[1772,4127],[1773,4128],[1774,4128],[1775,4128],[1776,4116],[1777,4117],[1778,4124],[1779,4118],[1780,4118],[1781,4118],[1782,4118],[1783,4126],[1784,4120],[1785,4120],[1786,4120],[1787,4129],[1788,4130],[1789,4113],[1790,4116],[1791,4116],[1792,4115],[1793,4121],[1794,4121],[1795,4121],[1796,4131],[1797,4131],[1798,4119],[1801,4132],[1802,4119],[1803,4119],[1821,4114],[1822,4114],[1823,4114],[1824,4114],[1825,4114],[1826,4114],[1827,4114],[1828,4136],[1829,4127],[1830,4127],[1831,4127],[1832,4127],[1833,4127],[1834,4128],[1835,4128],[1836,4128],[1837,4116],[1838,4117],[1839,4124],[1840,4118],[1841,4118],[1842,4118],[1843,4118],[1844,4126],[1845,4120],[1846,4120],[1847,4120],[1848,4129],[1849,4130],[1850,4113],[1851,4116],[1852,4116],[1853,4115],[1854,4121],[1855,4121],[1856,4121],[1857,4131],[1858,4131],[1859,4119],[1862,4132],[1863,4119],[1864,4119],[1882,4114],[1883,4114],[1884,4114],[1885,4114],[1886,4114],[1887,4114],[1888,4114],[1889,4136],[1890,4127],[1891,4127],[1892,4127],[1893,4127],[1894,4127],[1895,4128],[1896,4128],[1897,4128],[1898,4116],[1899,4117],[1900,4124],[1901,4118],[1902,4118],[1903,4118],[1904,4118],[1905,4126],[1906,4120],[1907,4120],[1908,4120],[1909,4129],[1910,4130],[1911,4113],[1912,4116],[1913,4116],[1914,4115],[1915,4121],[1916,4121],[1917,4121],[1918,4131],[1919,4131],[1920,4119],[1923,4132],[1924,4119],[1925,4119],[1943,4116],[1944,4118],[1949,4118],[1951,4118],[1952,4115],[1953,4116],[1954,4118],[1955,4118],[1956,4118],[1957,4118],[1958,4116],[1959,4116],[1961,4118],[1962,4117],[1964,4132],[1965,4116],[1966,4117],[1967,4118],[1968,4118],[1969,4118],[1970,4118],[1971,4126],[1972,4120],[1973,4129],[1974,4116],[1975,4116],[1980,4114],[1981,4114],[1982,4114],[1983,4114],[1984,4114],[1985,4114],[1986,4114],[1987,4136],[1988,4127],[1989,4127],[1990,4127],[1991,4127],[1992,4127],[1993,4128],[1994,4128],[1995,4128],[1996,4116],[1997,4117],[1998,4124],[1999,4118],[2000,4118],[2001,4118],[2002,4118],[2003,4126],[2004,4120],[2005,4120],[2006,4120],[2007,4129],[2008,4130],[2009,4113],[2010,4116],[2011,4116],[2012,4115],[2013,4121],[2014,4121],[2015,4121],[2016,4131],[2017,4131],[2018,4119],[2021,4132],[2022,4119],[2023,4119],[2041,4114],[2042,4114],[2043,4114],[2044,4114],[2045,4114],[2046,4114],[2047,4114],[2048,4136],[2049,4127],[2050,4127],[2051,4127],[2052,4127],[2053,4127],[2054,4128],[2055,4128],[2056,4128],[2057,4116],[2058,4117],[2059,4124],[2060,4118],[2061,4118],[2062,4118],[2063,4118],[2064,4126],[2065,4120],[2066,4120],[2067,4120],[2068,4129],[2069,4130],[2070,4113],[2071,4116],[2072,4116],[2073,4115],[2074,4121],[2075,4121],[2076,4121],[2077,4131],[2078,4131],[2079,4119],[2082,4132],[2083,4119],[2084,4119],[2102,4119],[2109,4120],[2110,4120],[2111,4120],[2112,4130],[2113,4132],[2121,4114],[2122,4114],[2123,4114],[2124,4114],[2125,4114],[2126,4114],[2127,4114],[2128,4136],[2129,4127],[2130,4127],[2131,4127],[2132,4127],[2133,4127],[2134,4127],[2135,4128],[2136,4128],[2137,4128],[2138,4128],[2139,4116],[2140,4117],[2141,4124],[2142,4118],[2143,4118],[2144,4118],[2145,4118],[2146,4126],[2147,4120],[2148,4120],[2149,4120],[2150,4129],[2151,4130],[2152,4113],[2153,4116],[2154,4116],[2155,4115],[2156,4121],[2157,4121],[2158,4121],[2159,4131],[2160,4131],[2161,4119],[2164,4132],[2165,4119],[2166,4119],[2184,4116],[2185,4117],[2187,4132],[2188,4114],[2189,4127],[2190,4127],[2191,4127],[2192,4127],[2193,4128],[2194,4128],[2195,4117],[2196,4124],[2197,4126],[2198,4120],[2199,4120],[2200,4120],[2201,4129],[2202,4130],[2203,4113],[2204,4121],[2205,4131],[2206,4131],[2209,4132],[2210,4119],[2211,4119],[2214,4114],[2215,4114],[2216,4114],[2217,4114],[2218,4127],[2219,4127],[2220,4127],[2221,4127],[2222,4127],[2223,4127],[2224,4127],[2225,4127],[2226,4127],[2227,4127],[2228,4127],[2229,4127],[2230,4127],[2231,4127],[2232,4127],[2233,4127],[2234,4128],[2235,4128],[2236,4128],[2237,4128],[2238,4128],[2239,4128],[2240,4128],[2241,4128],[2242,4117],[2243,4117],[2244,4117],[2245,4117],[2246,4124],[2247,4124],[2248,4124],[2249,4124],[2250,4126],[2251,4126],[2252,4126],[2253,4126],[2254,4120],[2255,4120],[2256,4120],[2257,4120],[2258,4120],[2259,4120],[2260,4120],[2261,4120],[2262,4120],[2263,4120],[2264,4120],[2265,4120],[2266,4129],[2267,4129],[2268,4129],[2269,4129],[2270,4130],[2271,4130],[2272,4130],[2273,4130],[2274,4113],[2275,4113],[2276,4113],[2277,4113],[2278,4121],[2279,4121],[2280,4121],[2281,4121],[2282,4131],[2283,4131],[2284,4131],[2285,4131],[2286,4131],[2287,4131],[2288,4131],[2289,4131],[2298,4132],[2299,4132],[2300,4132],[2301,4132],[2302,4119],[2303,4119],[2304,4119],[2305,4119],[2306,4119],[2307,4119],[2308,4119],[2309,4119],[2318,4131],[2319,4131],[2321,4128],[2322,4114],[2323,4114],[2324,4114],[2325,4136],[2326,4136],[2327,4127],[2328,4127],[2329,4127],[2330,4127],[2331,4127],[2332,4127],[2333,4127],[2334,4127],[2335,4127],[2336,4128],[2337,4128],[2338,4128],[2339,4128],[2340,4128],[2341,4116],[2342,4117],[2343,4117],[2344,4124],[2345,4118],[2346,4118],[2347,4118],[2348,4118],[2349,4126],[2350,4120],[2351,4120],[2352,4120],[2353,4120],[2354,4120],[2355,4129],[2356,4129],[2357,4130],[2358,4130],[2359,4113],[2360,4113],[2361,4116],[2362,4116],[2363,4115],[2364,4121],[2365,4121],[2366,4121],[2367,4131],[2368,4131],[2369,4131],[2370,4131],[2371,4119],[2372,4119],[2377,4132],[2378,4132],[2379,4119],[2380,4119],[2381,4119],[2407,4118],[2408,4118],[2409,4131],[2410,4114],[2411,4114],[2412,4114],[2413,4114],[2414,4114],[2415,4114],[2416,4114],[2417,4114],[2418,4136],[2419,4127],[2420,4127],[2421,4127],[2422,4127],[2423,4127],[2424,4127],[2425,4127],[2426,4127],[2427,4127],[2428,4127],[2429,4127],[2430,4128],[2431,4128],[2432,4128],[2433,4128],[2434,4128],[2435,4128],[2436,4128],[2437,4116],[2438,4117],[2439,4117],[2440,4117],[2441,4117],[2442,4117],[2443,4117],[2444,4124],[2445,4118],[2446,4118],[2447,4118],[2448,4118],[2449,4126],[2450,4120],[2451,4120],[2452,4120],[2453,4129],[2454,4130],[2455,4113],[2456,4113],[2457,4113],[2458,4116],[2459,4116],[2460,4115],[2461,4121],[2462,4121],[2463,4121],[2464,4121],[2465,4131],[2466,4131],[2467,4131],[2468,4119],[2474,4132],[2475,4132],[2476,4119],[2477,4119],[2499,4114],[2500,4127],[2501,4127],[2502,4127],[2503,4127],[2504,4128],[2505,4128],[2506,4117],[2507,4118],[2508,4118],[2509,4118],[2510,4118],[2511,4126],[2512,4120],[2513,4120],[2514,4120],[2515,4129],[2516,4130],[2517,4113],[2518,4116],[2519,4116],[2520,4115],[2521,4131],[2522,4131],[2525,4132],[2526,4119],[2527,4119],[2533,4117],[2534,4117],[2535,4117],[2538,4118],[2539,4117],[2540,4130],[2541,4132],[2542,4119],[2543,4119],[2544,4127],[2545,4128],[2547,4118],[2548,4114],[2549,4136],[2550,4127],[2551,4127],[2552,4127],[2553,4127],[2554,4128],[2555,4128],[2556,4129],[2557,4113],[2558,4119],[2566,4115],[2567,4115],[2568,4132],[2569,4114],[2570,4114],[2571,4114],[2572,4114],[2573,4114],[2574,4114],[2575,4114],[2576,4136],[2577,4127],[2578,4127],[2579,4127],[2580,4127],[2581,4127],[2582,4128],[2583,4128],[2584,4128],[2585,4116],[2586,4117],[2587,4124],[2588,4118],[2589,4118],[2590,4118],[2591,4118],[2592,4126],[2593,4120],[2594,4120],[2595,4120],[2596,4129],[2597,4130],[2598,4113],[2599,4116],[2600,4116],[2601,4115],[2602,4121],[2603,4121],[2604,4121],[2605,4131],[2606,4131],[2607,4119],[2610,4132],[2611,4119],[2612,4119],[2631,4116],[2632,4116],[2633,4122],[2634,4132],[2636,4116],[2637,4114],[2638,4114],[2639,4114],[2640,4114],[2641,4114],[2642,4114],[2643,4114],[2644,4136],[2645,4127],[2646,4127],[2647,4127],[2648,4127],[2649,4127],[2650,4128],[2651,4128],[2652,4128],[2653,4116],[2654,4117],[2655,4124],[2656,4118],[2657,4118],[2658,4118],[2659,4118],[2660,4126],[2661,4120],[2662,4120],[2663,4120],[2664,4129],[2665,4130],[2666,4113],[2667,4116],[2668,4116],[2669,4115],[2670,4121],[2671,4121],[2672,4121],[2673,4131],[2674,4131],[2675,4119],[2678,4132],[2679,4119],[2680,4119],[2699,4122],[2700,4114],[2701,4114],[2702,4114],[2703,4114],[2704,4114],[2710,4136],[2711,4117],[2712,4118],[2713,4127],[2714,4114],[2716,4116],[2718,4120],[2719,4120],[2720,4120],[2722,4120],[2724,4118],[2725,4118],[2726,4118],[2727,4116],[2728,4116],[2729,4116],[2730,4118],[2732,4116],[2733,4115],[2734,4118],[2735,4118],[2736,4118],[2739,4115],[2740,4116],[2741,4116],[2742,4116],[2744,4114],[2745,4115],[2746,4132],[2748,4118],[2749,4118],[2752,4118],[2753,4124],[2754,4122],[2755,4122],[2756,4122],[2757,4122],[2758,4122],[2760,4121],[2763,4114],[2764,4114],[2765,4114],[2766,4114],[2767,4114],[2768,4114],[2769,4114],[2770,4136],[2771,4127],[2772,4127],[2773,4127],[2774,4127],[2775,4127],[2776,4128],[2777,4128],[2778,4128],[2779,4116],[2780,4117],[2781,4124],[2782,4118],[2783,4118],[2784,4118],[2785,4118],[2786,4126],[2787,4120],[2788,4120],[2789,4120],[2790,4129],[2791,4130],[2792,4113],[2793,4116],[2794,4116],[2795,4115],[2796,4121],[2797,4121],[2798,4121],[2799,4131],[2800,4131],[2801,4119],[2804,4132],[2805,4119],[2806,4119],[2824,4116],[2825,4117],[2826,4132],[2827,4119],[2828,4119],[2829,4118],[2830,4118],[2831,4118],[2834,4116],[2835,4118],[2836,4114],[2837,4114],[2838,4114],[2839,4114],[2840,4114],[2845,4128],[2846,4127],[2847,4127],[2848,4128],[2849,4128],[2850,4128],[2851,4115],[2852,4115],[2853,4128],[2856,4127],[2857,4127],[2858,4127],[2860,4127],[2861,4127],[2862,4131],[2863,4131],[2865,4116],[2866,4116],[2867,4127],[2874,4116],[2875,4128],[2876,4118],[2877,4118],[2880,4115],[2882,4118],[2883,4117],[2884,4121],[2888,4116],[2889,4116],[2890,4116],[2891,4118],[2892,4118],[2893,4120],[2894,4120],[2895,4120],[2896,4130],[2900,4128],[2903,4114],[2904,4127],[2905,4127],[2906,4127],[2907,4127],[2908,4128],[2909,4128],[2910,4113],[2911,4119],[2918,4120],[2922,4127],[2923,4118],[2924,4128],[2925,4118],[2926,4118],[2927,4116],[2928,4118],[2929,4118],[2930,4115],[2931,4116],[2932,4114],[2933,4127],[2934,4127],[2935,4127],[2936,4127],[2937,4128],[2938,4128],[2939,4117],[2940,4118],[2941,4118],[2942,4118],[2943,4118],[2944,4126],[2945,4120],[2946,4120],[2947,4120],[2948,4129],[2949,4130],[2950,4113],[2951,4116],[2952,4116],[2953,4115],[2954,4131],[2955,4131],[2958,4132],[2959,4119],[2960,4119],[2966,4114],[2967,4136],[2968,4127],[2969,4127],[2970,4127],[2971,4127],[2972,4128],[2973,4128],[2974,4117],[2975,4120],[2976,4120],[2977,4129],[2978,4130],[2979,4113],[2980,4131],[2981,4131],[2982,4119],[2985,4132],[2986,4119],[2993,4115],[2994,4115],[2995,4115],[2997,4114],[2998,4114],[2999,4114],[3000,4114],[3001,4114],[3002,4114],[3003,4114],[3004,4136],[3005,4127],[3006,4127],[3007,4127],[3008,4127],[3009,4127],[3010,4128],[3011,4128],[3012,4128],[3013,4116],[3014,4117],[3015,4117],[3016,4117],[3017,4117],[3018,4124],[3019,4118],[3020,4118],[3021,4118],[3022,4118],[3023,4126],[3024,4120],[3025,4120],[3026,4120],[3027,4129],[3028,4130],[3029,4113],[3030,4116],[3031,4116],[3032,4115],[3033,4121],[3034,4121],[3035,4121],[3036,4131],[3037,4131],[3038,4119],[3041,4132],[3042,4119],[3043,4119],[3061,4114],[3062,4114],[3063,4114],[3064,4114],[3065,4114],[3066,4114],[3067,4114],[3068,4136],[3069,4127],[3070,4127],[3071,4127],[3072,4127],[3073,4127],[3074,4128],[3075,4128],[3076,4128],[3077,4116],[3078,4117],[3079,4124],[3080,4118],[3081,4118],[3082,4118],[3083,4118],[3084,4126],[3085,4120],[3086,4120],[3087,4120],[3088,4129],[3089,4130],[3090,4113],[3091,4116],[3092,4116],[3093,4115],[3094,4121],[3095,4121],[3096,4121],[3097,4131],[3098,4131],[3099,4119],[3102,4132],[3103,4119],[3104,4119],[3122,4114],[3123,4114],[3124,4114],[3125,4114],[3126,4114],[3129,4114],[3130,4136],[3131,4127],[3132,4127],[3133,4127],[3134,4127],[3135,4128],[3136,4128],[3137,4117],[3138,4120],[3139,4120],[3140,4129],[3141,4130],[3142,4113],[3143,4131],[3144,4131],[3145,4119],[3148,4132],[3149,4119],[3156,4119],[3157,4114],[3158,4114],[3159,4114],[3160,4114],[3161,4114],[3162,4114],[3163,4114],[3164,4136],[3165,4127],[3166,4127],[3167,4127],[3168,4127],[3169,4127],[3170,4128],[3171,4128],[3172,4128],[3173,4116],[3174,4117],[3175,4124],[3176,4118],[3177,4118],[3178,4118],[3179,4118],[3180,4126],[3181,4120],[3182,4120],[3183,4120],[3184,4129],[3185,4130],[3186,4113],[3187,4116],[3188,4116],[3189,4115],[3190,4121],[3191,4121],[3192,4121],[3193,4131],[3194,4131],[3195,4119],[3198,4132],[3199,4119],[3200,4119],[3218,4118],[3219,4118],[3220,4116],[3222,4115],[3223,4115],[3224,4114],[3225,4114],[3226,4114],[3227,4114],[3228,4114],[3229,4114],[3230,4114],[3231,4136],[3232,4127],[3233,4127],[3234,4127],[3235,4127],[3236,4127],[3237,4128],[3238,4128],[3239,4128],[3240,4116],[3241,4117],[3242,4124],[3243,4118],[3244,4118],[3245,4118],[3246,4118],[3247,4126],[3248,4120],[3249,4120],[3250,4120],[3251,4129],[3252,4130],[3253,4113],[3254,4116],[3255,4116],[3256,4115],[3257,4121],[3258,4121],[3259,4121],[3260,4131],[3261,4131],[3262,4119],[3265,4132],[3266,4119],[3267,4119],[3286,4122],[3288,4115],[3289,4115],[3291,4128],[3292,4128],[3293,4128],[3294,4128],[3295,4128],[3524,4153],[3525,4157],[3526,4152],[3527,4153],[3528,4153],[3529,4153],[3530,4155],[3531,4154],[3532,4154],[3533,4153],[3534,4154],[3535,4154],[3536,4155],[3537,4152],[3538,4157],[3539,4153],[3540,4154],[3541,4154],[3542,4155],[3543,4152],[3544,4157],[3545,4152],[3546,4157],[3547,4153],[3548,4154],[3549,4154],[3550,4155],[3551,4152],[3552,4157],[3553,4153],[3554,4154],[3555,4154],[3556,4155],[3557,4152],[3558,4154],[3559,4155],[3560,4153],[3561,4154],[3562,4154],[3563,4155],[3564,4152],[3565,4153],[3566,4154],[3567,4154],[3568,4155],[3569,4152],[3570,4153],[3571,4154],[3572,4154],[3573,4155],[3574,4152],[3575,4153],[3576,4153],[3577,4157],[3578,4153],[3579,4154],[3580,4154],[3581,4155],[3582,4152],[3583,4157],[3584,4153],[3585,4154],[3586,4154],[3587,4155],[3588,4152],[3589,4157],[3590,4153],[3591,4154],[3592,4154],[3593,4155],[3594,4152],[3595,4157],[3596,4154],[3597,4154],[3598,4152],[3599,4157],[3600,4153],[3601,4154],[3602,4154],[3603,4155],[3604,4152],[3605,4157],[3606,4153],[3607,4154],[3608,4154],[3609,4155],[3610,4152],[3611,4157],[3612,4154],[3613,4154],[3614,4152],[3615,4157],[3616,4153],[3617,4154],[3618,4154],[3619,4155],[3620,4152],[3621,4155],[3622,4153],[3623,4154],[3624,4154],[3625,4153],[3626,4153],[3627,4153],[3628,4153],[3629,4154],[3630,4154],[3631,4154],[3632,4154],[3633,4154],[3634,4154],[3635,4154],[3636,4154],[3637,4157],[3638,4157],[3639,4157],[3640,4153],[3641,4153],[3642,4154],[3643,4154],[3644,4154],[3645,4155],[3646,4152],[3647,4157],[3648,4153],[3649,4154],[3650,4154],[3651,4155],[3652,4152],[3653,4153],[3654,4154],[3655,4154],[3656,4155],[3657,4152],[3658,4154],[3659,4154],[3660,4154],[3661,4152],[3662,4157],[3663,4153],[3664,4154],[3665,4154],[3666,4155],[3667,4152],[3668,4152],[3669,4157],[3670,4153],[3671,4154],[3672,4154],[3673,4155],[3674,4152],[3675,4155],[3676,4155],[3677,4154],[3678,4154],[3679,4154],[3680,4154],[3681,4157],[3682,4157],[3683,4153],[3684,4154],[3685,4154],[3686,4155],[3687,4152],[3688,4153],[3689,4154],[3690,4152],[3691,4154],[3692,4157],[3693,4157],[3694,4157],[3695,4154],[3696,4154],[3697,4153],[3698,4154],[3699,4154],[3700,4155],[3701,4152],[3702,4153],[3703,4154],[3704,4157],[3705,4153],[3706,4154],[3707,4154],[3708,4155],[3709,4152],[3710,4157],[3711,4153],[3712,4154],[3713,4154],[3714,4155],[3715,4152],[3716,4153],[3717,4154],[3718,4157],[3719,4153],[3720,4154],[3721,4154],[3722,4155],[3723,4152],[3724,4154],[3725,4154],[3726,4157],[3727,4153],[3728,4154],[3729,4154],[3730,4155],[3731,4152],[3732,4077],[3733,4077],[3734,4077],[3735,4077],[3736,4077],[3737,4077],[3738,4077],[3739,4077],[3740,4077],[3741,4077],[3742,4077],[3743,4077],[3744,4077],[3745,4077],[3746,4077],[3747,4077],[3748,4077],[3749,4077],[3750,4077],[3751,4077],[3752,4077],[3753,4077],[3754,4077],[3755,4077],[3756,4077],[3757,4077],[3758,4077],[3759,4077],[3760,4077],[3761,4077],[3762,4077],[3763,4077],[3764,4077],[3765,4077],[3766,4077],[3767,4077],[3768,4077],[3769,4077],[3770,4077],[3771,4077],[3772,4077],[3773,4077],[3774,4077],[3775,4077],[3776,4077],[3777,4077],[3778,4077],[3779,4077],[3780,4077],[3781,4077],[3782,4077],[3783,4077],[3784,4077],[3785,4077],[3786,4077],[3787,4077],[3788,4077],[3789,4077],[3790,4077],[3791,4077],[3792,4077],[3793,4077],[3794,4077],[3795,4077],[3796,4077],[3797,4077],[3798,4077],[3799,4077],[3800,4077],[3801,4077],[3802,4077],[3803,4077],[3804,4077],[3805,4077],[3806,4077],[3807,4077],[3808,4077],[3809,4077],[3810,4077],[3811,4077],[3812,4077],[3813,4077],[3814,4077],[3815,4077],[3816,4077],[3817,4077],[3818,4077],[3819,4077],[3820,4077],[3821,4077],[3822,4077],[3823,4077],[3824,4077],[3825,4077],[3826,4077],[3827,4077],[3828,4077],[3829,4077],[3830,4077],[3831,4077],[3832,4077],[3833,4077],[3834,4077],[3835,4077],[3836,4077],[3837,4077],[4007,4162],[4009,4162],[4011,4162],[4013,4162],[4015,4162],[4017,4162],[4019,4162],[4021,4162],[4023,4162],[4024,4162],[4025,4162],[4027,4162],[4029,4162],[4031,4162],[4033,4162],[4035,4162],[4036,4162],[4037,4162],[4038,4162],[4040,4162],[4041,4162],[4042,4162],[4045,4162],[4047,4162],[4049,4162],[4051,4162],[4053,4162]],"b":[[172,"impl-Debug-for-PublicKey"],[173,"impl-Display-for-PublicKey"],[174,"impl-Debug-for-KeyParsingError"],[175,"impl-Display-for-KeyParsingError"],[178,"impl-Debug-for-RelayUrl"],[179,"impl-Display-for-RelayUrl"],[180,"impl-Display-for-RelayUrlParseError"],[181,"impl-Debug-for-RelayUrlParseError"],[182,"impl-Display-for-RelayMap"],[183,"impl-Debug-for-RelayMap"],[184,"impl-Debug-for-RelayNode"],[185,"impl-Display-for-RelayNode"],[189,"impl-From%3CDecodeError%3E-for-KeyParsingError"],[190,"impl-From%3CError%3E-for-KeyParsingError"],[192,"impl-From%3CSigningKey%3E-for-SecretKey"],[194,"impl-From%3C%5Bu8;+32%5D%3E-for-SecretKey"],[195,"impl-From%3CNodeTicket%3E-for-NodeAddr"],[196,"impl-From%3CPublicKey%3E-for-NodeAddr"],[198,"impl-From%3CNodeInfo%3E-for-NodeAddr"],[199,"impl-From%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[203,"impl-From%3CRelayNode%3E-for-RelayMap"],[204,"impl-From%3CRelayUrl%3E-for-RelayMap"],[210,"impl-FromIterator%3CRelayNode%3E-for-RelayMap"],[211,"impl-FromIterator%3CRelayUrl%3E-for-RelayMap"],[306,"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey"],[307,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey"],[550,"impl-Display-for-UserData"],[551,"impl-Debug-for-UserData"],[553,"impl-Debug-for-ParseError"],[554,"impl-Display-for-ParseError"],[556,"impl-Display-for-IntoDiscoveryError"],[557,"impl-Debug-for-IntoDiscoveryError"],[558,"impl-Display-for-DiscoveryError"],[559,"impl-Debug-for-DiscoveryError"],[565,"impl-From%3CNodeAddr%3E-for-NodeInfo"],[566,"impl-From%3CDiscoveryItem%3E-for-NodeInfo"],[568,"impl-From%3C%26TxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[569,"impl-From%3CTxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[978,"impl-Debug-for-PkarrError"],[979,"impl-Display-for-PkarrError"],[2323,"impl-Debug-for-SendDatagramError"],[2324,"impl-Display-for-SendDatagramError"],[2325,"impl-Debug-for-RetryError"],[2326,"impl-Display-for-RetryError"],[2328,"impl-Display-for-ReadToEndError"],[2329,"impl-Debug-for-ReadToEndError"],[2330,"impl-Display-for-ReadError"],[2331,"impl-Debug-for-ReadError"],[2332,"impl-Debug-for-ResetError"],[2333,"impl-Display-for-ResetError"],[2334,"impl-Display-for-ReadExactError"],[2335,"impl-Debug-for-ReadExactError"],[2337,"impl-Display-for-WriteError"],[2338,"impl-Debug-for-WriteError"],[2339,"impl-Display-for-StoppedError"],[2340,"impl-Debug-for-StoppedError"],[2342,"impl-Display-for-VarInt"],[2343,"impl-Debug-for-VarInt"],[2350,"impl-Debug-for-ControlMsg"],[2351,"impl-Display-for-ControlMsg"],[2353,"impl-Debug-for-ConnectionType"],[2354,"impl-Display-for-ConnectionType"],[2355,"impl-Debug-for-ClosedStream"],[2356,"impl-Display-for-ClosedStream"],[2357,"impl-Debug-for-Source"],[2358,"impl-Display-for-Source"],[2359,"impl-Display-for-ConnectionError"],[2360,"impl-Debug-for-ConnectionError"],[2367,"impl-Debug-for-ConnectionClose"],[2368,"impl-Display-for-ConnectionClose"],[2369,"impl-Display-for-ApplicationClose"],[2370,"impl-Debug-for-ApplicationClose"],[2371,"impl-Debug-for-AddNodeAddrError"],[2372,"impl-Display-for-AddNodeAddrError"],[2373,"impl-Display-for-TransportError"],[2374,"impl-Debug-for-TransportError"],[2375,"impl-Display-for-TransportErrorCode"],[2376,"impl-Debug-for-TransportErrorCode"],[2377,"impl-Display-for-StreamId"],[2378,"impl-Debug-for-StreamId"],[2380,"impl-Debug-for-DirectAddrType"],[2381,"impl-Display-for-DirectAddrType"],[2385,"impl-Debug-for-ConnectWithOptsError"],[2386,"impl-Display-for-ConnectWithOptsError"],[2387,"impl-Display-for-ConnectError"],[2388,"impl-Debug-for-ConnectError"],[2389,"impl-Debug-for-BindError"],[2390,"impl-Display-for-BindError"],[2391,"impl-Debug-for-GetMappingAddressError"],[2392,"impl-Display-for-GetMappingAddressError"],[2398,"impl-Debug-for-AlpnError"],[2399,"impl-Display-for-AlpnError"],[2402,"impl-Display-for-RemoteNodeIdError"],[2403,"impl-Debug-for-RemoteNodeIdError"],[2422,"impl-From%3CResetError%3E-for-ReadError"],[2423,"impl-From%3CReadableError%3E-for-ReadError"],[2424,"impl-From%3CConnectionError%3E-for-ReadError"],[2431,"impl-From%3CStoppedError%3E-for-WriteError"],[2433,"impl-From%3CConnectionError%3E-for-WriteError"],[2434,"impl-From%3CClosedStream%3E-for-WriteError"],[2438,"impl-From%3Cu8%3E-for-VarInt"],[2439,"impl-From%3CFrameType%3E-for-VarInt"],[2440,"impl-From%3CStreamId%3E-for-VarInt"],[2442,"impl-From%3Cu32%3E-for-VarInt"],[2443,"impl-From%3Cu16%3E-for-VarInt"],[2455,"impl-From%3CTransportError%3E-for-ConnectionError"],[2456,"impl-From%3CClose%3E-for-ConnectionError"],[2469,"impl-From%3CTransportErrorCode%3E-for-TransportError"],[2470,"impl-From%3CInvalidFrame%3E-for-TransportError"],[2471,"impl-From%3CError%3E-for-TransportError"],[2483,"impl-From%3CConnectWithOptsError%3E-for-ConnectError"],[2484,"impl-From%3CConnectionError%3E-for-ConnectError"],[2846,"impl-RecvStream"],[2847,"impl-AsyncRead-for-RecvStream"],[2849,"impl-SendStream"],[2850,"impl-AsyncWrite-for-SendStream"],[3014,"impl-TryFrom%3Cu64%3E-for-VarInt"],[3015,"impl-TryFrom%3Cusize%3E-for-VarInt"],[3017,"impl-TryFrom%3Cu128%3E-for-VarInt"],[3640,"impl-Debug-for-Probe"],[3641,"impl-Display-for-Probe"],[3642,"impl-Debug-for-Report"],[3643,"impl-Display-for-Report"],[3792,"impl-Debug-for-EncodingError"],[3793,"impl-Display-for-EncodingError"],[3794,"impl-Display-for-DecodingError"],[3795,"impl-Debug-for-DecodingError"],[3796,"impl-Display-for-MaxLengthExceededError"],[3797,"impl-Debug-for-MaxLengthExceededError"],[3939,"impl-Display-for-AcceptError"],[3940,"impl-Debug-for-AcceptError"],[3944,"impl-From%3CConnectionError%3E-for-AcceptError"],[3945,"impl-From%3CClosedStream%3E-for-AcceptError"],[3947,"impl-From%3CBox%3Cdyn+Error+%2B+Send+%2B+Sync%3E%3E-for-AcceptError"],[3948,"impl-From%3CRemoteNodeIdError%3E-for-AcceptError"],[3949,"impl-From%3CError%3E-for-AcceptError"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAAAM7wADAAAACwAAABIADQAhAEkAbQAYAIoABwCUACYAvQACAMEAAADDAAAAxQAAAMcAAgDM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OGwDFDhIA3A4FAOYOCADwDgUA+Q4nACIPAAAkDwEAKQ8CAC8PDwBADx8AYg8EAGkPAQBsDwIAcQ8GAIEPBQCKDwIAjg8KAJoPDACpDw8Auw8DAMEPAQDIDwEAzw8HAA==","P":[[23,"B,E,P,T"],[31,""],[37,"T"],[38,""],[39,"T"],[54,""],[62,"T"],[68,""],[78,"K"],[82,"T"],[106,""],[108,"T"],[109,""],[110,"T"],[114,""],[115,"T"],[126,""],[128,"D"],[130,"__D"],[133,""],[152,"K"],[172,""],[187,"T"],[188,""],[191,"T"],[192,""],[193,"T"],[194,""],[197,"T"],[198,""],[201,"T"],[203,""],[205,"T"],[207,""],[210,"T"],[212,""],[213,"T"],[219,""],[223,"R"],[224,"Watcher::Value"],[225,""],[226,"H"],[227,"__H"],[229,""],[239,"Watcher::Value,T,W"],[240,"U"],[248,"Watcher::Value"],[249,""],[252,"Watcher::Value,T,"],[255,""],[259,"Watcher::Value,W"],[260,"B,E,P,T"],[268,""],[272,"Watcher::Value"],[274,""],[280,"S"],[282,"__S"],[285,""],[288,"Watcher::Value"],[291,""],[292,"T"],[298,""],[305,"U,T"],[306,""],[308,"U,T"],[309,""],[310,"U,T"],[316,"U"],[324,""],[338,"Watcher::Value"],[339,""],[342,"V"],[350,""],[351,""],[405,""],[407,"B,E,P,T"],[416,""],[423,"T"],[441,""],[450,"T"],[455,""],[461,"K"],[462,"T"],[489,""],[492,"T"],[494,""],[495,"T"],[501,"Deref::Target"],[502,"T"],[505,""],[506,"T"],[513,""],[533,"K"],[549,""],[563,"T"],[565,""],[567,"T"],[568,""],[571,"T"],[575,""],[576,"T"],[581,""],[585,"T"],[590,""],[592,""],[593,"__H"],[594,""],[606,"U"],[615,""],[630,"B,E,P,T"],[639,""],[656,"T"],[661,""],[667,"U,T"],[668,""],[669,"U,T"],[677,"U"],[686,""],[701,"V"],[710,""],[751,"B,E,P,T"],[753,"T"],[757,""],[759,"T"],[769,""],[774,"T"],[776,""],[778,"U"],[780,""],[783,"B,E,P,T"],[785,""],[786,"U,T"],[788,"U"],[790,""],[792,"V"],[799,""],[803,"B,E,P,T"],[806,"T"],[812,""],[816,"T"],[818,""],[820,"T"],[829,""],[830,"T"],[836,""],[840,"K"],[844,""],[847,"T"],[852,""],[855,"U"],[858,""],[860,"B,E,P,T"],[863,""],[865,""],[866,""],[867,"T"],[869,"U,T"],[872,"U"],[875,""],[878,"V"],[881,""],[904,"B,E,P,T"],[910,""],[912,"T"],[924,""],[932,"T"],[935,""],[938,"T"],[968,""],[985,"T"],[994,""],[1001,"U"],[1007,""],[1014,"B,E,P,T"],[1020,""],[1026,"T"],[1029,""],[1030,"U,T"],[1036,"U"],[1042,""],[1051,"V"],[1057,""],[1068,"B,E,P,T"],[1070,"T"],[1074,""],[1078,"T"],[1079,""],[1080,"T"],[1086,""],[1088,"T"],[1092,""],[1097,"T"],[1100,""],[1103,"U"],[1105,""],[1109,"B,E,P,T"],[1111,""],[1116,"T"],[1117,"U,T"],[1119,"U"],[1121,""],[1124,"V"],[1128,""],[1129,""],[1130,"B,E,P,T"],[1131,"T"],[1133,""],[1134,"T"],[1135,""],[1136,"T"],[1139,""],[1140,"T"],[1142,""],[1144,"T"],[1145,","],[1146,"T"],[1147,""],[1149,"U"],[1150,""],[1152,"B,E,P,T"],[1153,""],[1156,""],[1157,"T"],[1158,"U,T"],[1159,"U"],[1160,""],[1161,"V"],[1163,""],[1166,"B,E,P,T"],[1167,"T"],[1169,""],[1172,"T"],[1173,""],[1174,"T"],[1177,""],[1178,""],[1179,"T"],[1181,""],[1183,"T"],[1185,""],[1186,"U"],[1187,"T"],[1189,""],[1191,"T"],[1192,""],[1193,""],[1197,"T"],[1198,""],[1199,"B,E,P,T"],[1200,""],[1203,"T"],[1204,"U,T"],[1205,"U"],[1206,""],[1207,"V"],[1208,""],[1407,""],[1408,""],[1416,"B,E,P,T"],[1477,""],[1507,"T"],[1629,""],[1679,"T"],[1713,""],[1756,"K"],[1760,"T"],[1943,""],[1947,""],[1949,""],[1962,"B"],[1965,""],[1980,"T"],[2102,""],[2109,"__D"],[2113,""],[2114,""],[2115,""],[2185,"B"],[2188,""],[2214,"K"],[2318,""],[2410,"T"],[2417,""],[2418,"T"],[2420,""],[2421,"T"],[2422,""],[2425,"T"],[2427,""],[2429,"T"],[2431,""],[2432,"T"],[2433,""],[2436,"T"],[2438,""],[2441,"T"],[2442,""],[2444,"T"],[2455,""],[2457,"T"],[2462,""],[2463,"T"],[2465,""],[2466,"T"],[2469,""],[2472,"T"],[2475,""],[2476,"T"],[2481,""],[2482,"T"],[2483,""],[2485,"T"],[2494,""],[2495,"T"],[2533,""],[2539,"__H"],[2544,""],[2637,"U"],[2698,""],[2706,"IntoFuture::IntoFuture"],[2707,""],[2763,"B,E,P,T"],[2824,""],[2841,"Future::Output"],[2845,""],[2883,""],[2884,""],[2893,"__S"],[2897,""],[2932,"T"],[2966,""],[2997,"U,T"],[3014,""],[3016,"U,T"],[3017,""],[3018,"U,T"],[3061,"U"],[3122,"F"],[3129,""],[3224,"V"],[3285,""],[3354,"B,E,P,T"],[3358,""],[3361,"T"],[3369,""],[3373,"T"],[3374,""],[3375,"T"],[3387,""],[3394,"T"],[3402,"__D"],[3405,""],[3424,"T"],[3429,""],[3436,"U"],[3440,""],[3455,"B,E,P,T"],[3459,""],[3497,"__S"],[3500,"T"],[3501,"U,T"],[3505,"U"],[3509,""],[3520,"V"],[3533,""],[3538,"B,E,P,T"],[3544,""],[3546,"T"],[3558,""],[3565,"T"],[3570,""],[3576,"K"],[3577,"T"],[3595,""],[3599,"T"],[3611,"__D"],[3614,""],[3625,"K"],[3637,""],[3647,"T"],[3658,""],[3669,"U"],[3675,""],[3682,"B,E,P,T"],[3688,""],[3694,"__S"],[3697,"T"],[3702,""],[3704,"U,T"],[3710,"U"],[3716,""],[3726,"V"],[3737,""],[3752,"B,E,P,T"],[3755,""],[3761,"T"],[3767,""],[3770,"T"],[3779,""],[3780,"T"],[3786,""],[3799,"T"],[3802,""],[3809,"U"],[3812,""],[3813,"B,E,P,T"],[3816,""],[3823,"U,T"],[3826,"U"],[3829,""],[3835,"V"],[3838,""],[3885,","],[3886,"P"],[3887,""],[3888,"B,E,P,T"],[3892,""],[3894,"T"],[3902,""],[3905,"P"],[3906,"T"],[3908,""],[3910,"T"],[3930,""],[3941,"P"],[3942,"T"],[3944,""],[3946,"T"],[3947,""],[3950,"T"],[3954,""],[3959,"U"],[3963,""],[3965,"P,F"],[3966,""],[3969,"P"],[3970,"B,E,P,T"],[3974,""],[3978,"P"],[3979,""],[3981,"T"],[3983,""],[3984,"U,T"],[3988,"U"],[3992,""],[3997,"V"],[4001,""],[4008,"B,E,P,T"],[4010,"T"],[4024,""],[4030,"T"],[4032,""],[4034,"U"],[4036,""],[4039,"B,E,P,T"],[4041,""],[4046,"U,T"],[4048,"U"],[4050,""],[4052,"V"]]}],["iroh_base",{"t":"TPPPGTFIFFFFFINNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNONNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOPTPFGPKPNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNMNNNNNNNNNNNNOOOOOOOOOOOO","n":["BYTE_SIZE","Decode","DecodeInvalidLength","Key","KeyParsingError","LENGTH","NodeAddr","NodeId","PublicKey","RelayUrl","RelayUrlParseError","SecretKey","Signature","SignatureError","algorithm_identifier","as_bytes","as_error_source","","as_ref","backtrace","","borrow","","","","","","","","borrow_mut","","","","","","","cause","","clone","","","","","clone_into","","","","","clone_to_uninit","","","","","cmp","","","deref","","description","","deserialize","","","","","direct_addresses","","eq","","","","fmt","","","","","","","","","","","","","","fmt_short","from","","","","","","","","","","","","","","","","","","","from_bytes","","","from_components","from_parts","from_slice","from_str","","","","generate","hash","","","in_current_span","","into","","","","","","","is_empty","new","node_id","partial_cmp","","","public","","r_bytes","relay_url","","s_bytes","secret","serialize","","","","","sign","source","","ticket","to_bitstring","to_bytes","","","to_owned","","","","","to_string","","","","","to_vec","try_from","","","","","","","","","","","try_into","","","","","","","type_id","","","","","","","verify","with_direct_addresses","with_relay_url","backtrace","","","source","","span_trace","","","Encoding","KIND","Kind","NodeTicket","ParseError","Postcard","Ticket","Verify","as_error_source","backtrace","borrow","","borrow_mut","","cause","clone","clone_into","clone_to_uninit","description","deserialize","","eq","fmt","","","","from","","","","","from_bytes","","from_str","in_current_span","into","","new","node_addr","serialize","","source","to_bytes","","to_owned","to_string","","try_from","","try_into","","type_id","","verification_failed","wrong_prefix","backtrace","","","","expected","message","source","","span_trace","","",""],"q":[[0,"iroh_base"],[193,"iroh_base::KeyParsingError"],[201,"iroh_base::ticket"],[256,"iroh_base::ticket::ParseError"],[268,"der::asn1::any::allocating"],[269,"spki::algorithm"],[270,"spki::error"],[271,"core::result"],[272,"iroh_base::key"],[273,"core::error"],[274,"backtrace::capture"],[275,"core::option"],[276,"iroh_base::relay_url"],[277,"ed25519"],[278,"iroh_base::node_addr"],[279,"core::cmp"],[280,"serde_core::de"],[281,"core::net::socket_addr"],[282,"core::iter::traits::iterator"],[283,"alloc::collections::btree::set"],[284,"core::fmt"],[285,"ed25519_dalek::signature"],[286,"ed25519_dalek::verifying"],[287,"ed25519_dalek::errors"],[288,"data_encoding"],[289,"ed25519_dalek::signing"],[290,"iroh_base::ticket::node"],[291,"url"],[292,"core::iter::traits::collect"],[293,"signature::error"],[294,"rand_core"],[295,"core::marker"],[296,"core::hash"],[297,"serde_core::ser"],[298,"der::asn1::bit_string::allocating"],[299,"der::error"],[300,"alloc::string"],[301,"alloc::vec"],[302,"core::any"],[303,"n0_snafu::spantrace"],[304,"postcard::error"]],"i":"B`Af00`l````````201Al1203112BbBdBf3645210353642106421064210410405364210116410666644552100334666644555222111100364261664202410536452103111410426116264210253`6662642106450366644452210364521036452103411FjF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}}}{}}000000{bFh}000000{{{b{l}}{b{{Ad{n}}}}{b{B`}}}{{j{BhDf}}}}{{Bdc}Bd{{Ed{}{{C`{Cb}}}}}}{{BdBf}Bd}{FjAj}{FlAj}{FnAj}{FjDh}{FlDf}{FjG`}{FlG`}{FnG`}````````{b{{b{Ab}}}}{{{b{Gb}}}{{Aj{{b{Ah}}}}}}{b{{b{c}}}{}}0{{{b{An}}}{{b{Anc}}}{}}0{{{b{Gb}}}{{Aj{{b{Ab}}}}}}{{{b{Dn}}}Dn}{{b{b{Anc}}}Bh{}}{{bn}Bh}{{{b{Gb}}}{{b{Bl}}}}{{{b{Bl}}}{{j{GdGb}}}}{c{{j{Dn}}}Bn}{{{b{Dn}}{b{Dn}}}Ch}{{{b{Dn}}{b{AnCj}}}Cn}0{{{b{Gb}}{b{AnCj}}}Cn}0{BdDn}{cc{}}{DhGb}1{GfGb}{{{b{{Ad{n}}}}}{{j{GdGb}}}}{{{b{{Ad{n}}}}}{{j{DnGb}}}}{{{b{Bl}}}{{j{Dnc}}}{}}{{}}{{}c{}}08{{{b{Dn}}}{{b{Bd}}}}{{{b{Gd}}}Fd}{{{b{Dn}}c}jEn}{{{b{Gb}}}{{Aj{{b{Ab}}}}}}{{{b{Gd}}}{{Ff{n}}}}{{{b{Dn}}}{{Ff{n}}}}{bc{}}{bFd}0{c{{j{e}}}{}{}}0{{}{{j{c}}}{}}0{bFh}0{{{b{Bl}}}Gb}0{GhAj}{GjAj}{GlAj}{GnAj}{Ghb}{Gnb}{GjGf}{GlDh}{GhG`}{GjG`}{GlG`}{GnG`}","D":"Jb","p":[[1,"reference",null,null,1],[5,"Any",268],[5,"AlgorithmIdentifier",269],[6,"Error",270],[6,"Result",271,null,1],[5,"PublicKey",0,272],[1,"u8"],[1,"array"],[10,"Error",273],[1,"slice"],[6,"KeyParsingError",0,272],[5,"Backtrace",274],[6,"Option",275,null,1],[5,"RelayUrlParseError",0,276],[0,"mut"],[5,"Signature",0,277],[5,"SecretKey",0,272],[5,"NodeAddr",0,278],[5,"RelayUrl",0,276],[1,"unit"],[6,"Ordering",279],[1,"str"],[10,"Deserializer",280],[17,"Item"],[6,"SocketAddr",281],[10,"Iterator",282],[5,"BTreeSet",283],[1,"bool"],[5,"Formatter",284],[5,"Error",284],[8,"Result",284],[10,"Display",284],[5,"InternalSignature",285],[5,"VerifyingKey",286],[8,"SignatureError",0,287],[5,"DecodeError",288],[5,"SigningKey",289],[1,"tuple",null,null,1],[5,"NodeTicket",201,290],[8,"NodeId",0,272],[5,"Url",291],[10,"IntoIterator",292],[5,"Error",293],[10,"CryptoRng",294],[10,"Sized",295],[10,"Hasher",296],[10,"Serializer",297],[5,"BitString",298],[5,"Error",299],[5,"String",300],[5,"Vec",301],[5,"TypeId",302],[15,"Decode",193],[15,"Key",193],[15,"DecodeInvalidLength",193],[5,"SpanTrace",303],[6,"ParseError",201],[10,"Ticket",201],[6,"Error",304],[15,"Kind",256],[15,"Postcard",256],[15,"Encoding",256],[15,"Verify",256]],"r":[[0,277],[1,272],[2,272],[3,272],[4,272],[5,272],[6,278],[7,272],[8,272],[9,276],[10,276],[11,272],[12,277],[13,287],[14,277],[15,272],[16,272],[17,276],[18,272],[19,272],[20,276],[21,277],[22,272],[23,272],[24,272],[25,272],[26,278],[27,276],[28,276],[29,277],[30,272],[31,272],[32,272],[33,278],[34,276],[35,276],[36,272],[37,276],[38,277],[39,272],[40,272],[41,278],[42,276],[43,277],[44,272],[45,272],[46,278],[47,276],[48,277],[49,272],[50,272],[51,278],[52,276],[53,272],[54,278],[55,276],[56,272],[57,276],[58,272],[59,276],[60,277],[61,272],[62,272],[63,278],[64,276],[65,278],[66,278],[67,277],[68,272],[69,278],[70,276],[71,277],[72,277],[73,277],[74,277],[75,272],[76,272],[77,272],[78,272],[79,272],[80,278],[81,276],[82,276],[83,276],[84,276],[85,272],[86,277],[87,277],[88,277],[89,277],[90,272],[91,272],[92,272],[93,272],[94,272],[95,272],[96,272],[97,272],[98,278],[99,278],[100,278],[101,278],[102,276],[103,276],[104,276],[105,277],[106,272],[107,272],[108,277],[109,278],[110,277],[111,277],[112,272],[113,272],[114,276],[115,272],[116,272],[117,278],[118,276],[119,272],[120,276],[121,277],[122,272],[123,272],[124,272],[125,278],[126,276],[127,276],[128,278],[129,278],[130,278],[131,272],[132,278],[133,276],[134,272],[135,272],[136,277],[137,278],[138,278],[139,277],[140,272],[141,277],[142,272],[143,272],[144,278],[145,276],[146,272],[147,272],[148,276],[150,277],[151,277],[152,277],[153,272],[154,277],[155,272],[156,272],[157,278],[158,276],[159,277],[160,272],[161,272],[162,276],[163,276],[164,277],[165,277],[166,277],[167,272],[168,272],[169,272],[170,272],[171,272],[172,272],[173,278],[174,276],[175,276],[176,277],[177,272],[178,272],[179,272],[180,278],[181,276],[182,276],[183,277],[184,272],[185,272],[186,272],[187,278],[188,276],[189,276],[190,272],[191,278],[192,278],[204,290],[211,290],[213,290],[216,290],[217,290],[218,290],[221,290],[222,290],[223,290],[224,290],[227,290],[228,290],[233,290],[234,290],[236,290],[238,290],[239,290],[241,290],[244,290],[245,290],[246,290],[248,290],[250,290],[252,290]],"b":[[71,"impl-UpperHex-for-Signature"],[72,"impl-Debug-for-Signature"],[73,"impl-Display-for-Signature"],[74,"impl-LowerHex-for-Signature"],[75,"impl-Display-for-PublicKey"],[76,"impl-Debug-for-PublicKey"],[77,"impl-Debug-for-KeyParsingError"],[78,"impl-Display-for-KeyParsingError"],[81,"impl-Debug-for-RelayUrl"],[82,"impl-Display-for-RelayUrl"],[83,"impl-Display-for-RelayUrlParseError"],[84,"impl-Debug-for-RelayUrlParseError"],[86,"impl-From%3C%26%5Bu8;+ed25519::::SignatureBytes::%7Bconstant%230%7D%5D%3E-for-Signature"],[87,"impl-From%3C%5Bu8;+ed25519::::SignatureBytes::%7Bconstant%230%7D%5D%3E-for-Signature"],[88,"impl-From%3CInternalSignature%3E-for-Signature"],[93,"impl-From%3CError%3E-for-KeyParsingError"],[94,"impl-From%3CDecodeError%3E-for-KeyParsingError"],[95,"impl-From%3C%5Bu8;+32%5D%3E-for-SecretKey"],[97,"impl-From%3CSigningKey%3E-for-SecretKey"],[98,"impl-From%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[99,"impl-From%3CNodeTicket%3E-for-NodeAddr"],[100,"impl-From%3CPublicKey%3E-for-NodeAddr"],[151,"impl-Signature"],[152,"impl-SignatureEncoding-for-Signature"],[168,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey"],[169,"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey"],[223,"impl-Debug-for-NodeTicket"],[224,"impl-Display-for-NodeTicket"],[225,"impl-Debug-for-ParseError"],[226,"impl-Display-for-ParseError"],[229,"impl-From%3CDecodeError%3E-for-ParseError"],[231,"impl-From%3CError%3E-for-ParseError"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAALsAHAAPAAAAEQAwAEQAEQBXAAIAWwAAAF4AAgBiAAEAZQAAAGcAAABwAAMAdQAEAIQAAgCOAAQAlAABAJcAAACZAAAAmwAJAKYAGADCAAcA0gAKAN4ABQDmAAAA6AAAAOoAAgDyAAEA9QAJAAEBAwAGAQYA","P":[[21,"T"],[22,""],[23,"T"],[36,""],[43,"T"],[48,""],[56,"Deref::Target"],[58,""],[60,"D"],[63,"__D"],[65,""],[89,"T"],[90,""],[91,"T"],[93,""],[96,"T"],[97,""],[101,"T"],[102,""],[103,"T"],[105,""],[109,""],[110,""],[112,"FromStr::Err"],[115,"R"],[116,"H"],[117,"__H"],[119,""],[121,"U"],[128,""],[141,"S"],[144,"__S"],[146,""],[154,"T"],[159,""],[165,"U,T"],[166,""],[167,"U,T"],[168,"TryFrom::Error"],[170,"U,T"],[171,"TryFrom::Error"],[172,"U,T"],[176,"U"],[183,""],[191,""],[192,""],[211,"T"],[215,""],[217,"T"],[218,""],[221,"D"],[222,""],[228,"T"],[229,""],[230,"T"],[231,""],[234,"FromStr::Err"],[235,""],[236,"U"],[238,""],[241,"S"],[242,""],[245,"T"],[246,""],[248,"U,T"],[250,"U"],[252,""]]}],["iroh_bench",{"t":"FGGGPPPFPPPPNNNNNNNNNNNNNNNNNNNNNHONNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNONNNNNCOOONNNNNNCOHCCNOONNNNNNNNNNNNNNNNNNNNNONNNNNSHHHHHHSHHHHHHFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFNNNONNNNNNOOOONNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNONOOOHOOONNNNNNOONNNNNN","n":["ClientStats","Commands","ConnectionSelector","EndpointSelector","Iroh","","","Opt","Quinn","","","S2n","__clone_box","","and","","","","","augment_args","augment_args_for_update","augment_subcommands","augment_subcommands_for_update","borrow","","","","","borrow_mut","","","","","client_handler","clients","clone","","clone_into","","clone_to_uninit","","close","","command","","command_for_update","","compat","","","","","compat_mut","","","","","compat_ref","","","","","configure_tracing_subscriber","default","deref","","","","","deref_mut","","","","","download_size","drop","","","","","fmt","","from","","","","","from_arg_matches","","from_arg_matches_mut","","from_ref","","group_id","has_subcommand","init","","","","","initial_mtu","into","","","","","iroh","max_streams","metrics","only_relay","or","","","","","print","quinn","read_unordered","rt","s2n","stats","","","streams","to_owned","","try_from","","","","","try_into","","","","","type_id","","","","","update_from_arg_matches","","update_from_arg_matches_mut","","upload_size","vzip","","","","","ALPN","client","connect_client","handle_client_stream","server","server_endpoint","transport_config","ALPN","client","connect_client","handle_client_stream","server","server_endpoint","transport_config","Opt","__clone_box","and","augment_args","augment_args_for_update","borrow","borrow_mut","clone","clone_into","clone_to_uninit","command","command_for_update","compat","compat_mut","compat_ref","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","from_ref","group_id","init","into","or","to_owned","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","Stats","StreamStats","TransferResult","and","","","avg_chunk_size","borrow","","","borrow_mut","","","chunk_size","chunk_time","chunks","","compat","","","compat_mut","","","compat_ref","","","default","","deref","","","deref_mut","","","drop","","","duration","duration_hist","fmt","","","from","","","init","","","into","","","new","or","","","print","size","stream_finished","stream_stats","streams","throughput","throughput_bps","throughput_hist","total_duration","total_size","try_from","","","try_into","","","ttfb","ttfb_hist","type_id","","","vzip","",""],"q":[[0,"iroh_bench"],[151,"iroh_bench::iroh"],[158,"iroh_bench::quinn"],[165,"iroh_bench::s2n"],[199,"iroh_bench::stats"],[278,"dyn_clone::sealed"],[279,"tower_http::follow_redirect::policy::and"],[280,"tower_http::follow_redirect::policy"],[281,"clap_builder::builder::command"],[282,"n0_snafu::error"],[283,"async_compat"],[284,"core::fmt"],[285,"clap_builder::parser::matches::arg_matches"],[286,"clap_builder"],[287,"core::result"],[288,"clap_builder::util::id"],[289,"core::option"],[290,"tower_http::follow_redirect::policy::or"],[291,"tokio::runtime::runtime"],[292,"core::any"],[293,"iroh_base::node_addr"],[294,"iroh_base::relay_url"],[295,"iroh::endpoint"],[296,"iroh_quinn_proto::config::transport"],[297,"core::net::socket_addr"],[298,"rustls_pki_types"],[299,"iroh_quinn::endpoint"],[300,"iroh_quinn::connection"],[301,"hdrhistogram"],[302,"core::time"]],"i":"````A`AbAl`21000Ad3210Af11224321043210`1212121432121432104321043210`0432104321014321021432102121211243210143210`111432100`1```311214321043210432102121143210```````````````Ej00000000000000000000000000000000```F`ElDl0210210111021021021021210210210012102102102100210202220`12221021001210210","f":"````````````{{bd}f}0{g{{h{ig}}}{}{}{{j{ce}}}{{j{ce}}}}0000{ll}000{b{{b{c}}}{}}0000{{{b{n}}}{{b{nc}}}{}}0000{{A`AbAd}{{Ah{Af}}}}{AdAj}{{{b{Al}}}Al}{{{b{Ad}}}Ad}{{b{b{nc}}}f{}}0{{bAn}f}0{A`f}{{{b{Ab}}B`{b{{Bb{An}}}}}f}{{}l}000{{}{{Bd{c}}}{}}0000{{{b{n}}}{{Bd{{b{nc}}}}}{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1,"usize"],[6,"Commands",0],[1,"u8"],[1,"u32"],[1,"slice"],[5,"Compat",283],[1,"u64"],[5,"Formatter",284],[8,"Result",284],[5,"ArgMatches",285],[8,"Error",286],[6,"Result",287,null,1],[5,"Id",288],[6,"Option",289,null,1],[1,"str"],[1,"bool"],[1,"u16"],[5,"Or",290],[5,"Runtime",291],[5,"TypeId",292],[5,"NodeAddr",293],[5,"RelayUrl",294],[5,"Endpoint",295],[5,"Connection",295],[1,"tuple",null,null,1],[5,"TransferResult",199],[5,"TransportConfig",296],[6,"SocketAddr",297],[5,"CertificateDer",298],[5,"Endpoint",299],[5,"Connection",300],[6,"PrivateKeyDer",298],[5,"Opt",165],[5,"StreamStats",199],[5,"Histogram",301],[5,"Stats",199],[5,"Duration",302],[1,"f64"]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAPEAEQAAACEAJAAmAEwABgBYAAwAawAAAG8ABgB3AAMAfQAUAJMABQCbAAAAngABAKIAAAClABMAugAEAMAAMQD1AAIA+wAbAA==","P":[[14,"B,E,P,T"],[19,""],[23,"T"],[33,""],[37,"T"],[39,""],[47,"T"],[62,""],[64,"T"],[74,""],[82,"T"],[87,""],[91,"T"],[93,""],[101,"U"],[107,""],[110,"B,E,P,T"],[115,""],[124,"T"],[126,"U,T"],[131,"U"],[136,""],[146,"V"],[151,""],[167,"B,E,P,T"],[168,""],[170,"T"],[172,""],[173,"T"],[174,""],[177,"T"],[182,""],[184,"T"],[185,""],[187,"T"],[188,""],[190,"U"],[191,"B,E,P,T"],[192,"T"],[193,"U,T"],[194,"U"],[195,""],[198,"V"],[202,"B,E,P,T"],[205,""],[206,"T"],[212,""],[216,"T"],[225,""],[227,"T"],[233,""],[241,"T"],[244,""],[247,"U"],[250,""],[251,"B,E,P,T"],[254,""],[264,"U,T"],[267,"U"],[270,""],[275,"V"]]}],["iroh_dns_server",{"t":"FNNNNNNNNNNCCNNNNCNNNCNNNNCCNNNNNNGFPPFFFNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNOONNNNNNOONNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNOFFFFNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNOOOOONNNNNNNNNNNNNNNNNNNNNNNNGPFFFPPGPPPNNNNNNNNNOONNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFNNNNNNNNOOOOOONNNNOOOONNNOOOOOONNNNFNNNNNNNNNNHNNNNNNFNNNNNNNNNNONNNONONNNNN","n":["ZoneStore","__clone_box","and","borrow","borrow_mut","clone","clone_into","clone_to_uninit","compat","compat_mut","compat_ref","config","dns","fmt","from","from_ref","get_signed_packet","http","in_memory","insert","into","metrics","new","or","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","and","","","","","bind_addr","bootstrap","borrow","","","","","borrow_mut","","","","","clone","clone_into","clone_to_uninit","compat","","","","","compat_mut","","","","","compat_ref","","","","","data_dir","default","","","","deserialize","","","","","disabled","","dns","enabled","fmt","","","","","from","","","","","from_ref","http","https","into","","","","","load","mainline","metrics","or","","","","","pkarr_put_rate_limit","serialize","","","","","signed_packet_store_path","to_owned","try_from","","","","","try_into","","","","","type_id","","","","","vzip","","","","","zone_store","DnsConfig","DnsHandler","DnsServer","Handle","__clone_box","","","and","","","","answer_request","bind_addr","borrow","","","","borrow_mut","","","","clone","","","clone_into","","","clone_to_uninit","","","compat","","","","compat_mut","","","","compat_ref","","","","default_soa","default_ttl","deserialize","fmt","","","from","","","","from_ref","","","handle_request","into","","","","local_addr","new","or","","","","origins","port","rr_a","rr_aaaa","rr_ns","run_until_done","send_response","serialize","shutdown","spawn","to_owned","","","try_from","","","","try_into","","","","type_id","","","","vzip","","","","CertMode","Disabled","HttpConfig","HttpServer","HttpsConfig","LetsEncrypt","Manual","RateLimitConfig","SelfSigned","Simple","Smart","__clone_box","","","","and","","","","","bind_addr","","borrow","","","","","borrow_mut","","","","","cert_mode","clone","","","","clone_into","","","","clone_to_uninit","","","","compat","","","","","compat_mut","","","","","compat_ref","","","","","default","","deserialize","","","","domains","eq","equivalent","","","","fmt","","","","","from","","","","","from_ref","","","","http_addr","https_addr","into","","","","","letsencrypt_contact","letsencrypt_prod","or","","","","","port","","run_until_done","serialize","","","","shutdown","spawn","to_owned","","","","to_string","try_from","","","","","try_into","","","","","try_to_string","type_id","","","","","vzip","","","","","Metrics","and","as_iterable","borrow","borrow_mut","compat","compat_mut","compat_ref","default","dns_lookup_error","dns_lookup_notfound","dns_lookup_success","dns_requests","dns_requests_https","dns_requests_udp","field_count","field_ref","fmt","from","http_requests","http_requests_duration_ms","http_requests_error","http_requests_success","into","name","or","pkarr_publish_noop","pkarr_publish_update","store_packets_expired","store_packets_inserted","store_packets_removed","store_packets_updated","try_from","try_into","type_id","vzip","Server","and","borrow","borrow_mut","compat","compat_mut","compat_ref","from","into","or","run_until_error","run_with_config_until_ctrl_c","shutdown","spawn","try_from","try_into","type_id","vzip","AppState","__clone_box","and","borrow","borrow_mut","clone","clone_into","clone_to_uninit","compat","compat_mut","compat_ref","dns_handler","from","from_ref","into","metrics","or","store","to_owned","try_from","try_into","type_id","vzip"],"q":[[0,"iroh_dns_server"],[34,"iroh_dns_server::config"],[146,"iroh_dns_server::dns"],[241,"iroh_dns_server::http"],[376,"iroh_dns_server::metrics"],[412,"iroh_dns_server::server"],[430,"iroh_dns_server::state"],[453,"dyn_clone::sealed"],[454,"tower_http::follow_redirect::policy::and"],[455,"tower_http::follow_redirect::policy"],[456,"iroh_dns_server::store"],[457,"async_compat"],[458,"core::fmt"],[459,"pkarr::signed_packet"],[460,"core::option"],[461,"n0_snafu::error"],[462,"alloc::sync"],[463,"tower_http::follow_redirect::policy::or"],[464,"std::path"],[465,"core::convert"],[466,"hickory_proto::rr::domain::name"],[467,"hickory_proto::rr::record_type"],[468,"hickory_proto::rr::rr_set"],[469,"core::result"],[470,"core::any"],[471,"serde_core::de"],[472,"iroh_dns_server::http::rate_limiting"],[473,"serde_core::ser"],[474,"hickory_server::server::request_handler"],[475,"bytes::bytes"],[476,"alloc::string"],[477,"core::future::future"],[478,"alloc::boxed"],[479,"core::pin"],[480,"hickory_server::server::response_handler"],[481,"core::net::socket_addr"],[482,"alloc::vec"],[483,"hickory_server::authority::message_response"],[484,"hickory_proto::rr::resource"],[485,"core::iter::traits::iterator"],[486,"core::marker"],[487,"iroh_dns_server::http::tls"],[488,"alloc::collections"],[489,"iroh_metrics::iterable"],[490,"iroh_metrics::metrics"],[491,"iroh_metrics::base"]],"i":"`n000000000``0000`000`0000``000000``Cd0```CjCn1CfCh4102310423104333231042310423104223042310411202310423104322231042222310422310423231042310423104231042````DbDhDnEl321230321032132132132103210321032133332103213212032102032133333013003210321032103210321`Dd```Gb0`01110FnG`Gf43212104321043211432143214321043210432104321444321133333433210432143210004321110432121043210043213043210432130432104321`An0000000000000000000000000000000000`Hf000000000`000000`Gh000000000000000000000","f":"`{{bd}f}{g{{h{ig}}}{}{}{{j{ce}}}{{j{ce}}}}{b{{b{c}}}{}}{{{b{l}}}{{b{lc}}}{}}{{{b{n}}}n}{{b{b{lc}}}f{}}{{bA`}f}{{}{{Ab{c}}}{}}{{{b{l}}}{{Ab{{b{lc}}}}}{}}{b{{Ab{{b{c}}}}}{}}``{{{b{n}}{b{lAd}}}Af}{cc{}}{{{b{c}}}c{}}{{{b{n}}{b{`}}}{{Al{{Aj{Ah}}}}}}```{{}c{}}``{g{{Bd{ig}}}{}{}{{j{ce}}}{{j{ce}}}}`{{{b{n}}{b{`}}{b{Bj}}Bl}{{Al{{Aj{{B`{Bn}}}}}}}}``{bc{}}{c{{C`{e}}}{}{}}{{}{{C`{c}}}{}}{bCb}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"And",454],[10,"Policy",455],[0,"mut"],[5,"ZoneStore",0,456],[1,"u8"],[5,"Compat",457],[5,"Formatter",458],[8,"Result",458],[5,"SignedPacket",459],[6,"Option",460,null,1],[8,"Result",461],[5,"Metrics",376],[5,"Arc",462,null,1],[1,"bool"],[5,"Or",463],[5,"Path",464],[10,"AsRef",465],[5,"Name",466],[6,"RecordType",467],[5,"RecordSet",468],[6,"Result",469,null,1],[5,"TypeId",470],[6,"BootstrapOption",34],[5,"MetricsConfig",34],[5,"MainlineConfig",34],[5,"StoreConfig",34],[5,"PathBuf",464],[5,"Config",34],[10,"Deserializer",471],[5,"DnsConfig",146],[6,"RateLimitConfig",241,472],[10,"Serializer",473],[5,"DnsHandler",146],[5,"Request",474],[5,"Bytes",475],[5,"Handle",146],[5,"String",476],[1,"u32"],[10,"Future",477,null,1],[5,"Box",478,null,1],[5,"Pin",479],[10,"ResponseHandler",480],[5,"DnsServer",146],[6,"SocketAddr",481],[5,"Vec",482],[1,"u16"],[5,"MessageResponse",483],[17,"Item"],[5,"Record",484],[10,"Iterator",485],[10,"Send",486],[5,"HttpConfig",241],[5,"HttpsConfig",241],[6,"CertMode",241,487],[5,"Error",458],[5,"HttpServer",241],[5,"AppState",430],[5,"TryReserveError",488],[10,"Iterable",489],[5,"Counter",490],[1,"usize"],[5,"MetricItem",491],[1,"str"],[5,"Server",412]],"r":[[0,456],[1,456],[2,456],[3,456],[4,456],[5,456],[6,456],[7,456],[8,456],[9,456],[10,456],[13,456],[14,456],[15,456],[16,456],[18,456],[19,456],[20,456],[22,456],[23,456],[24,456],[25,456],[28,456],[29,456],[30,456],[31,456],[32,456],[33,456],[241,487],[242,472],[246,487],[247,487],[248,472],[249,487],[250,472],[251,472],[252,472],[253,487],[257,472],[258,487],[264,472],[265,487],[269,472],[270,487],[274,472],[275,487],[278,472],[279,487],[282,472],[283,487],[287,472],[288,487],[292,472],[293,487],[297,472],[298,487],[301,472],[302,472],[303,472],[304,487],[308,487],[309,487],[310,487],[311,487],[312,487],[313,472],[314,487],[315,487],[319,472],[320,487],[323,472],[324,487],[330,472],[331,487],[337,472],[338,487],[344,472],[345,487],[350,472],[351,487],[354,487],[356,472],[357,487],[361,472],[362,487],[365,487],[367,472],[368,487],[372,472],[373,487]],"b":[[301,"impl-Default-for-%26RateLimitConfig"],[302,"impl-Default-for-RateLimitConfig"],[314,"impl-Debug-for-CertMode"],[315,"impl-Display-for-CertMode"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAADcBKAACAAkADgAAABAAAAAYAAAAHQAEACoABQAyABsATwAIAFwABABmAAAAcQAEAHcABAB9ABQAlwAGAKAAHAC/AAMAxwADANEAAwDbAAEA3wASAP0ACAAIAQkAEwEgADUBCQBEAQMAUQEEAFkBAwBfAQ4AbwEJAHoBBwCIAQIAkQEBAJkBAwCeAQUApgEAAKsBAwCwAQkAvAEAAL8BAADBAQQA","P":[[2,"B,E,P,T"],[3,"T"],[5,""],[6,"T"],[7,""],[8,"T"],[13,""],[14,"T"],[16,""],[20,"U"],[22,""],[23,"B,E,P,T"],[24,""],[25,""],[28,"T"],[29,"U,T"],[30,"U"],[31,""],[32,"V"],[33,""],[42,"B,E,P,T"],[47,""],[49,"T"],[59,""],[60,"T"],[61,""],[62,"T"],[77,""],[82,"__D"],[87,""],[96,"T"],[102,""],[104,"U"],[109,""],[110,""],[112,"B,E,P,T"],[117,""],[118,"__S"],[123,""],[124,"T"],[125,"U,T"],[130,"U"],[135,""],[140,"V"],[145,""],[153,"B,E,P,T"],[157,""],[159,"T"],[167,""],[170,"T"],[173,""],[176,"T"],[188,""],[190,"__D"],[191,""],[194,"T"],[201,"R"],[202,"U"],[206,""],[208,"B,E,P,T"],[212,""],[218,",,,"],[219,"__S"],[220,""],[222,"T"],[225,"U,T"],[229,"U"],[233,""],[237,"V"],[252,""],[256,"B,E,P,T"],[261,""],[263,"T"],[273,""],[278,"T"],[282,""],[286,"T"],[301,""],[303,"__D"],[307,""],[309,"K"],[313,""],[318,"T"],[327,""],[329,"U"],[334,""],[336,"B,E,P,T"],[341,""],[344,"__S"],[348,""],[350,"T"],[354,""],[355,"U,T"],[360,"U"],[365,""],[371,"V"],[377,"B,E,P,T"],[378,""],[379,"T"],[384,""],[394,"T"],[395,""],[399,"U"],[400,""],[401,"B,E,P,T"],[402,""],[408,"U,T"],[409,"U"],[410,""],[411,"V"],[413,"B,E,P,T"],[414,"T"],[420,"U"],[421,"B,E,P,T"],[422,""],[426,"U,T"],[427,"U"],[428,""],[429,"V"],[431,""],[432,"B,E,P,T"],[433,"T"],[435,""],[436,"T"],[437,""],[438,"T"],[441,""],[442,"T"],[444,"U"],[445,""],[446,"B,E,P,T"],[447,""],[448,"T"],[449,"U,T"],[450,"U"],[451,""],[452,"V"]]}],["iroh_relay",{"t":"EFFFFNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNCNNNNNNNNOCCONNCNNNNNNNNNNNNNNNNNNNNONNNNNFFFFGPGPPPPPPPPPPPPPPPPPGGPPPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOSSSSSIFGGFPPGPPSSPPPPKFPPPFPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN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NNNNNNNNNNONNNONNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONONNNNNNNNNNNNNNNNNOOOONOONNOOOOOOONNNNNNCONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOHHHHH","n":["MAX_PACKET_SIZE","PingTracker","RelayMap","RelayNode","RelayQuicConfig","__clone_box","","","and","","","","borrow","","","","borrow_mut","","","","client","clone","","","clone_into","","","clone_to_uninit","","","cmp","","compare","","compat","","","","compat_mut","","","","compat_ref","","","","contains_node","default","","default_timeout","defaults","deref","","","","deref_mut","","","","deserialize","","dns","drop","","","","empty","eq","","","equivalent","","","","","","","","","","","","fmt","","","","","","from","","","","","","","from_iter","","get_node","http","init","","","","into","","","","is_empty","len","new","new_ping","node_info","nodes","or","","","","partial_cmp","","pong_received","port","protos","quic","","serialize","","server","timeout","to_owned","","","to_string","","try_from","","","","try_into","","","","try_to_string","","type_id","","","","url","urls","vzip","","","","Client","ClientBuilder","ClientSink","ClientStream","ConnectError","Dial","DialError","Dns","EmptyPacket","ExceedsMaxPacketSize","Handshake","InvalidRelayUrl","InvalidTargetPort","InvalidTlsServername","InvalidUrl","InvalidWebsocketUrl","Io","NoLocalAddr","Protocol","ProxyConnect","ProxyConnectInvalidStatus","ProxyInvalidTargetPort","ProxyInvalidTlsServername","ProxyInvalidUrl","RecvError","SendError","StreamError","","Timeout","Tls","UnexpectedUpgradeStatus","Upgrade","Websocket","__clone_box","address_family_selector","and","","","","","","","","as_error_source","","","","backtrace","","","","borrow","","","","","","","","borrow_mut","","","","","","","","cause","","","","clone","clone_into","clone_to_uninit","compat","","","","","","","","compat_mut","","","","","","","","compat_ref","","","","","","","","connect","deref","","","","","","","","deref_mut","","","","","","","","description","","","","drop","","","","","","","","fmt","","","","","","","","","","","","from","","","","","","","","","","","","","","","","","in_current_span","","","","init","","","","","","","","insecure_skip_cert_verify","into","","","","","","","","key_cache_capacity","local_addr","make_dangerous_client_config","new","or","","","","","","","","poll_close","","poll_flush","","poll_next","","poll_ready","","proxy_url","source","","","","split","start_send","","to_owned","to_string","","","","try_from","","","","","","","","try_into","","","","","","","","try_poll_next","","try_to_string","","","","type_id","","","","","","","","vzip","","","","","","","","backtrace","","","","","","","","","","code","source","","","","","span_trace","","","","","","","","","","url","","backtrace","","","","","","","","","","proxy_hostname","proxy_url","source","","","","span_trace","","","","","","","","","","status","url","backtrace","","source","","span_trace","","backtrace","","","size","source","span_trace","","","DEFAULT_HTTPS_PORT","DEFAULT_HTTP_PORT","DEFAULT_KEY_CACHE_CAPACITY","DEFAULT_METRICS_PORT","DEFAULT_RELAY_QUIC_PORT","BoxIter","Builder","DnsError","DnsProtocol","DnsResolver","Https","InvalidResponse","LookupError","LookupFailed","MissingHost","N0_DNS_NODE_ORIGIN_PROD","N0_DNS_NODE_ORIGIN_STAGING","NoResponse","ParseError","Resolve","ResolveBoth","Resolver","StaggeredError","Tcp","Timeout","Tls","TxtRecordData","Udp","__clone_box","","","","and","","","","","","","as_error_source","","","backtrace","","","borrow","","","","","","","borrow_mut","","","","","","","build","builder","cause","","","clear_cache","","clone","","","","clone_into","","","","clone_to_uninit","","","","compat","","","","","","","compat_mut","","","","","","","compat_ref","","","","","","","custom","default","","","deref","","","","","","","deref_mut","","","","","","","description","","","drop","","","","","","","eq","equivalent","","","","fmt","","","","","","","","","","","from","","","","","","","","","","from_iter","in_current_span","","","init","","","","","","","into","","","","","","","iter","lookup_ipv4","","lookup_ipv4_ipv6","lookup_ipv4_ipv6_staggered","lookup_ipv4_staggered","lookup_ipv6","","lookup_ipv6_staggered","lookup_node_by_domain_name","lookup_node_by_domain_name_staggered","lookup_node_by_id","lookup_node_by_id_staggered","lookup_txt","","new","or","","","","","","","reset","","resolve","resolve_host","source","","","to_owned","","","","to_string","","","","try_from","","","","","","","try_into","","","","","","","try_to_string","","","","type_id","","","","","","","vzip","","","","","","","with_nameserver","","with_nameservers","with_system_defaults","backtrace","","","","","","ipv4","ipv6","source","","span_trace","","","","","","backtrace","","source","","span_trace","","CLIENT_AUTH_HEADER","RELAY_PATH","RELAY_PROBE_PATH","RELAY_PROTOCOL_VERSION","AttrFromString","DecodingError","","EncodingError","FailedBuildingPacket","IROH_TXT_NAME","InvalidEncodingZ32","InvalidLength","InvalidSignature","InvalidTxtEntry","MAX_LENGTH","MaxLengthExceededError","NodeData","NodeIdExt","NodeInfo","NotAnIrohRecord","NumLabels","ParseError","UnexpectedFormat","UserData","Utf8","__clone_box","","","add_direct_addresses","and","","","","","","","as_error_source","","","","as_ref","backtrace","","","","borrow","","","","","","","borrow_mut","","","","","","","cause","","","","clear_direct_addresses","clone","","","clone_into","","","clone_to_uninit","","","cmp","compare","compat","","","","","","","compat_mut","","","","","","","compat_ref","","","","","","","data","default","deref","","","","","","","","deref_mut","","","","","","","","description","","","","direct_addresses","drop","","","","","","","eq","","","equivalent","","","","","","","","","","","","fmt","","","","","","","","","","","","from","","","","","","","","","","","from_parts","from_pkarr_signed_packet","from_str","from_txt_lookup","from_z32","hash","in_current_span","","","","init","","","","","","","into","","","","","","","into_node_addr","new","","node_id","or","","","","","","","partial_cmp","relay_url","set_relay_url","set_user_data","source","","","","to_node_addr","to_owned","","","to_pkarr_signed_packet","to_string","","","","","to_txt_strings","to_z32","try_from","","","","","","","","try_into","","","","","","","try_to_string","","","","","type_id","","","","","","","user_data","vzip","","","","","","","with_direct_addresses","","with_relay_url","","with_user_data","","backtrace","","","len","source","","span_trace","","","backtrace","","source","","span_trace","","backtrace","","","","","","key","label","num_labels","s","source","","span_trace","","","","","","common","disco","handshake","relay","streams","ClientAuth","ClientToRelayDatagram","ClientToRelayDatagramBatch","FrameType","FrameTypeError","Health","NodeGone","Ping","Pong","RelayToClientDatagram","RelayToClientDatagramBatch","Restarting","ServerChallenge","ServerConfirmsAuth","ServerDeniesAuth","UnexpectedEnd","UnknownFrameType","__clone_box","and","","as_error_source","backtrace","borrow","","borrow_mut","","cause","clone","clone_into","clone_to_uninit","compat","","compat_mut","","compat_ref","","deref","","deref_mut","","description","drop","","eq","equivalent","","","","fmt","","","from","","in_current_span","init","","into","","or","","source","to_owned","to_string","try_from","","","try_from_primitive","try_into","","try_to_string","type_id","","vzip","","backtrace","","span_trace","","tag","MAGIC","looks_like_disco_wrapper","ClientAuthHeaderInvalid","DeserializationError","Error","FrameTypeError","ServerDeniedAuth","UnexpectedEnd","UnexpectedFrameType","Websocket","and","as_error_source","backtrace","borrow","borrow_mut","cause","compat","compat_mut","compat_ref","deref","deref_mut","description","drop","fmt","","from","","","in_current_span","init","into","or","source","to_string","try_from","try_into","try_to_string","type_id","vzip","backtrace","","","","","","","expected_types","frame_type","","reason","source","","","span_trace","","","","","","","value","ClientToRelayMsg","Datagrams","","","Error","FrameTooLarge","FrameTypeError","Health","InvalidFrame","InvalidFrameType","InvalidProtocolMessageEncoding","InvalidPublicKey","MAX_PACKET_SIZE","NodeGone","Ping","","Pong","","RelayToClientMsg","Restarting","SerDe","TooSmall","UnexpectedFrame","__clone_box","","","and","","","","as_error_source","backtrace","borrow","","","","borrow_mut","","","","cause","clone","","","clone_into","","","clone_to_uninit","","","compat","","","","compat_mut","","","","compat_ref","","","","contents","deref","","","","deref_mut","","","","description","drop","","","","ecn","eq","","","equivalent","","","","","","","","","","","","fmt","","","","","from","","","","","","","in_current_span","init","","","","into","","","","or","","","","segment_size","source","take_segments","to_owned","","","to_string","try_from","","","","try_into","","","","try_to_string","typ","type_id","","","","vzip","","","","datagrams","dst_node_id","backtrace","","","","","","","","","expected","frame_len","frame_type","got","source","","","","span_trace","","","","","","","","","datagrams","problem","reconnect_in","remote_node_id","try_for","ALPN_QUIC_ADDR_DISC","Connect","Connection","Error","QUIC_ADDR_DISC_CLOSE_CODE","QUIC_ADDR_DISC_CLOSE_REASON","QuicClient","WatchRecv","__clone_box","and","","as_error_source","backtrace","borrow","","borrow_mut","","cause","clone","clone_into","clone_to_uninit","compat","","compat_mut","","compat_ref","","create_conn","deref","","deref_mut","","description","drop","","fmt","","","from","","","","","in_current_span","init","","into","","new","or","","source","to_owned","to_string","try_from","","try_into","","try_to_string","type_id","","vzip","","backtrace","","","source","","","span_trace","","","Access","AccessConfig","AcmeEventStreamFinished","Allow","BindTcpListener","BindTlsListener","CertConfig","ClientRateLimit","DEFAULT_CERT_RELOAD_INTERVAL","Deny","Everyone","JoinError","LetsEncrypt","Limits","LocalAddr","Manual","Metrics","","NoLocalAddr","NoRelayServicesEnabled","QuicConfig","QuicSpawn","RelayConfig","RelayMetrics","Reloading","ReloadingResolver","Restricted","Server","ServerConfig","SpawnError","SupervisorError","TaskCancelled","TlsConfig","TlsHeaderParse","__clone_box","","","accept_conn_burst","accept_conn_limit","accepts","access","and","","","","","","","","","","","","","","","as_error_source","","as_iterable","backtrace","","bind_addr","borrow","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","bytes_per_second","bytes_recv","bytes_rx_ratelimited_total","bytes_sent","cause","","cert","certificates","client_rx","clone","","","clone_into","","","clone_to_uninit","","","compat","","","","","","","","","","","","","","","compat_mut","","","","","","","","","","","","","","","compat_ref","","","","","","","","","","","","","","","conns_rx_ratelimited_total","default","","","","deref","","","","","","","","","","","","","","","","deref_mut","","","","","","","","","","","","","","","description","","disco_packets_dropped","disco_packets_recv","disco_packets_sent","disconnects","drop","","","","","","","","","","","","","","","eq","equivalent","","","","field_count","field_ref","fmt","","","","","","","","","","","","","","","","","from","","","","","","","","","","","","","","","","got_ping","groups","groups_cloned","http_addr","http_bind_addr","http_url","https_addr","https_bind_addr","https_url","in_current_span","","init","","","","","","","","","","","","","","","","into","","","","","","","","","","","","","","","is_allowed","key_cache_capacity","limits","max_burst_bytes","metrics","metrics_addr","name","","or","","","","","","","","","","","","","","","other_packets_dropped","other_packets_recv","other_packets_sent","quic","quic_addr","quic_bind_addr","relay","reload","resolve","send_packets_dropped","send_packets_recv","send_packets_sent","sent_pong","server","server_config","","shutdown","","source","","spawn","task_handle","testing","tls","to_owned","","","to_string","","try_from","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","try_to_string","","type_id","","","","","","","","","","","","","","","unique_client_keys","unknown_frames","vzip","","","","","","","","","","","","","","","certs","state","addr","backtrace","","","","","","source","","","","","span_trace","","","","","","backtrace","","","","","source","","span_trace","","","","","quic_config","relay_config","self_signed_tls_certs_and_config","server_config","tls_config"],"q":[[0,"iroh_relay"],[153,"iroh_relay::client"],[401,"iroh_relay::client::ConnectError"],[429,"iroh_relay::client::DialError"],[457,"iroh_relay::client::RecvError"],[463,"iroh_relay::client::SendError"],[471,"iroh_relay::defaults"],[476,"iroh_relay::dns"],[716,"iroh_relay::dns::DnsError"],[732,"iroh_relay::dns::LookupError"],[738,"iroh_relay::http"],[742,"iroh_relay::node_info"],[998,"iroh_relay::node_info::DecodingError"],[1007,"iroh_relay::node_info::EncodingError"],[1013,"iroh_relay::node_info::ParseError"],[1031,"iroh_relay::protos"],[1036,"iroh_relay::protos::common"],[1110,"iroh_relay::protos::common::FrameTypeError"],[1115,"iroh_relay::protos::disco"],[1117,"iroh_relay::protos::handshake"],[1154,"iroh_relay::protos::handshake::Error"],[1176,"iroh_relay::protos::relay"],[1318,"iroh_relay::protos::relay::ClientToRelayMsg"],[1320,"iroh_relay::protos::relay::Error"],[1346,"iroh_relay::protos::relay::RelayToClientMsg"],[1351,"iroh_relay::quic"],[1414,"iroh_relay::quic::Error"],[1423,"iroh_relay::server"],[1833,"iroh_relay::server::CertConfig"],[1835,"iroh_relay::server::SpawnError"],[1853,"iroh_relay::server::SupervisorError"],[1865,"iroh_relay::server::testing"],[1870,"dyn_clone::sealed"],[1871,"tower_http::follow_redirect::policy::and"],[1872,"tower_http::follow_redirect::policy"],[1873,"iroh_relay::relay_map"],[1874,"core::cmp"],[1875,"async_compat"],[1876,"iroh_base::relay_url"],[1877,"iroh_relay::ping_tracker"],[1878,"core::time"],[1879,"core::result"],[1880,"serde_core::de"],[1881,"core::fmt"],[1882,"core::iter::traits::collect"],[1883,"alloc::sync"],[1884,"core::option"],[1885,"core::iter::traits::iterator"],[1886,"tower_http::follow_redirect::policy::or"],[1887,"serde_core::ser"],[1888,"alloc::string"],[1889,"alloc::collections"],[1890,"core::any"],[1891,"core::ops::function"],[1892,"core::marker"],[1893,"core::error"],[1894,"iroh_relay::client::conn"],[1895,"backtrace::capture"],[1896,"tokio_websockets::error"],[1897,"std::io::error"],[1898,"tokio::time::error"],[1899,"core::net::socket_addr"],[1900,"rustls::client::client_conn"],[1901,"iroh_base::key"],[1902,"core::convert"],[1903,"core::pin"],[1904,"core::task::wake"],[1905,"core::task::poll"],[1906,"url"],[1907,"http::status"],[1908,"hyper::error"],[1909,"n0_snafu::spantrace"],[1910,"hickory_resolver::error"],[1911,"alloc::boxed"],[1912,"alloc::vec"],[1913,"core::net::ip_addr"],[1914,"futures_lite::future"],[1915,"reqwest::dns::resolve"],[1916,"http::header::name"],[1917,"alloc::collections::btree::set"],[1918,"pkarr::signed_packet"],[1919,"iroh_base::node_addr"],[1920,"core::hash"],[1921,"z32"],[1922,"ed25519_dalek::errors"],[1923,"simple_dns::simple_dns_error"],[1924,"core::str::error"],[1925,"num_enum"],[1926,"iroh_quinn_proto::varint"],[1927,"postcard::error"],[1928,"http::header::value"],[1929,"bytes::bytes"],[1930,"iroh_quinn::connection"],[1931,"tokio::sync::watch::error"],[1932,"iroh_quinn_proto::endpoint"],[1933,"iroh_quinn_proto::connection"],[1934,"iroh_quinn::endpoint"],[1935,"iroh_relay::server::metrics"],[1936,"iroh_metrics::metrics"],[1937,"iroh_metrics::iterable"],[1938,"core::num::nonzero"],[1939,"rustls_pki_types"],[1940,"core::default"],[1941,"iroh_relay::server::resolver"],[1942,"iroh_metrics::base"],[1943,"tokio::runtime::task::error"],[1944,"rustls::crypto::signer"],[1945,"reloadable_core"],[1946,"rustls::server::server_conn"],[1947,"tokio_util::task::abort_on_drop"],[1948,"tokio_rustls_acme::state"]],"i":"`````nA`AbAn32103210321`32132132121210321032103213010`0321032121`032133213333222211110332210333221333`032103213300`303212101``221`03213203210321320321230321`````Ef`EhE`022121212Ed22222``1023333Dd021430EjEnF`5476547654763210547632105476333547632105476321054763210354763210547632105476547632105544776632105544477776666321054765476321035476321030`35476321021212021354762213547654763210547632102054765476321054763210HdHfHhHjHlHnI`IbIdIf476530987654321098InJ`JbJdJfJhJjJlJnK`138762987654321045KbKd1010KfKhKj12210``````````LhFj`Kl1``1011``212`2Ld3GdLj43Kn36215405405403621540362132540Lf347324732473265147326514732651473234736514732651473265165147327777766551147322666514732226516514732651473220333303333330336514732033365147326512651473265147326512651473265147324344NjNlNnO`ObOd3351543210OfOh1010````A@f`0`A@``A@b001On````33`3`3Ol1Nb14312A@d16540635406542301654230165406223123123133542301654230165423016125423011654230116540625423016231222233331111554423300166554223011661131AAd4651765341276534127232265341274333651723422654172065344127653412765417653412736534127323232AAfAAhAAj120210AB`ABb1010ABfABhABjABlABnAC`413520543210`````ACf00``0000000000ACd0110001010011110101010100101111110010010101001011011001010ACjACl100``Ff0`0000000000000000000000000000000000AD`ADbADdADfADhADjADl110253065432106``AEbHb`Fd020000`22121`200021AEd13201113201320132032032013201320132001320132011320032033332222000011320111320011320132013200103201132013201313201320AEj0AElAEnAF`AFbAFdAFfAFhAFjAFl87286541876543210AFnAG`AGb20`AGd0````0AGf101110101000101010010101101101111011010010101101011010AHbAHdAHf210210``AIfAJhAId0```1AI`3AJ``20`424`2``0`1````4`2AJf4AIjAHh0AHjAHn14AJnAJj28:AIhAIn679AJb<><>6<>269435;=2178:0<>69435;=2178:0<>8666<>1079=89=89=869435;=2178:0<>69435;=2178:0<>69435;=2178:0<>66937694435;=2178:0<>69435;=2178:0<><>666669435;=2178:0<>=====6669435;=2178:0<<>>69435;=2178:0<>>699050010<>694435;=2178:0<>69435;=2178:0<>;558036969435;=2178:0<>666301344666692140<>00`59=8<>69435;=2178:0<>69435;=2178:0<><>69435;=2178:0<>6669435;=2178:0<>ALbALdALhALjALlALnAM`AM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}{ALdALf}{ALhFn}{ALjCb}{ALlCb}{ALnCb}{AM`Cb}{AMbCb}{ALhCb}{ALjFh}`{ALnAMd}{AM`Fh}{AMbFh}{ALjIl}{ALlIl}{ALnIl}{AM`Il}{AMbIl}{ALhIl}{AMfCb}{AMhCb}{AMjCb}{AMlCb}{AMnCb}{AMfFh}{AMjAKb}{AMfIl}{AMhIl}{AMjIl}{AMlIl}{AMnIl}{{}AIh}{{}{{AHn{f}}}}{{}{{H`{{Mb{AJd}}AKn}}}}{{}{{AJj{f}}}}{{}{{AIn{f}}}}","D":"C@n","p":[[1,"reference",null,null,1],[5,"Private",1870],[1,"unit"],[5,"And",1871],[10,"Policy",1872],[0,"mut"],[5,"RelayMap",0,1873],[5,"RelayNode",0,1873],[5,"RelayQuicConfig",0,1873],[1,"u8"],[6,"Ordering",1874],[5,"Compat",1875],[5,"RelayUrl",1876],[1,"bool"],[5,"PingTracker",0,1877],[5,"Duration",1878],[1,"usize"],[6,"Result",1879,null,1],[10,"Deserializer",1880],[5,"Formatter",1881],[8,"Result",1881],[17,"Item"],[10,"IntoIterator",1882],[5,"Arc",1883,null,1],[6,"Option",1884,null,1],[1,"array"],[10,"Iterator",1885],[5,"Or",1886],[1,"u16"],[10,"Serializer",1887],[5,"String",1888],[5,"TryReserveError",1889],[5,"TypeId",1890],[5,"ClientBuilder",153],[17,"Output"],[10,"Fn",1891],[10,"Send",1892],[10,"Sync",1892],[10,"Error",1893],[6,"SendError",153,1894],[5,"Backtrace",1895],[6,"RecvError",153,1894],[6,"ConnectError",153],[6,"DialError",153],[5,"Client",153],[1,"str"],[5,"ClientSink",153],[5,"ClientStream",153],[6,"Error",1896],[6,"Error",1176],[6,"Error",1117],[5,"Error",1897],[6,"DnsError",476],[5,"Elapsed",1898],[6,"SocketAddr",1899],[5,"ClientConfig",1900],[5,"SecretKey",1901],[5,"DnsResolver",476],[10,"Into",1902,null,1],[5,"Pin",1903],[5,"Context",1904],[6,"Poll",1905],[5,"Url",1906],[1,"tuple",null,null,1],[6,"ClientToRelayMsg",1176],[15,"InvalidWebsocketUrl",401],[15,"InvalidRelayUrl",401],[15,"Websocket",401],[15,"Handshake",401],[15,"Dial",401],[15,"UnexpectedUpgradeStatus",401],[15,"Upgrade",401],[15,"InvalidTlsServername",401],[15,"NoLocalAddr",401],[15,"Tls",401],[5,"StatusCode",1907],[5,"Error",1908],[5,"SpanTrace",1909],[15,"InvalidTargetPort",429],[15,"Dns",429],[15,"Timeout",429],[15,"Io",429],[15,"InvalidUrl",429],[15,"ProxyConnectInvalidStatus",429],[15,"ProxyInvalidUrl",429],[15,"ProxyConnect",429],[15,"ProxyInvalidTlsServername",429],[15,"ProxyInvalidTargetPort",429],[15,"Protocol",457],[15,"StreamError",457],[15,"StreamError",463],[15,"ExceedsMaxPacketSize",463],[15,"EmptyPacket",463],[6,"LookupError",476],[5,"StaggeredError",476],[10,"Debug",1881],[10,"Display",1881],[5,"Builder",476],[10,"Resolver",476],[6,"DnsProtocol",476],[5,"TxtRecordData",476],[5,"ResolveError",1910],[1,"slice"],[5,"Box",1911,null,1],[5,"Vec",1912],[5,"Ipv4Addr",1913],[8,"BoxIter",476],[8,"Boxed",1914],[6,"IpAddr",1913],[10,"ToString",1888],[1,"u64"],[5,"Ipv6Addr",1913],[5,"NodeInfo",742],[8,"NodeId",1901],[5,"Name",1915],[8,"Resolving",1915],[15,"Timeout",716],[15,"NoResponse",716],[15,"ResolveBoth",716],[15,"MissingHost",716],[15,"Resolve",716],[15,"InvalidResponse",716],[15,"ParseError",732],[15,"LookupFailed",732],[5,"HeaderName",1916],[5,"NodeData",742],[5,"UserData",742],[6,"EncodingError",742],[6,"DecodingError",742],[5,"MaxLengthExceededError",742],[6,"ParseError",742],[5,"BTreeSet",1917],[6,"SignedPacketBuildError",1918],[5,"NodeAddr",1919],[5,"SignedPacket",1918],[10,"Hasher",1920],[1,"u32"],[10,"NodeIdExt",742],[15,"InvalidEncodingZ32",998],[15,"InvalidLength",998],[15,"InvalidSignature",998],[6,"Z32Error",1921],[8,"SignatureError",1922],[15,"FailedBuildingPacket",1007],[15,"InvalidTxtEntry",1007],[6,"SimpleDnsError",1923],[15,"UnexpectedFormat",1013],[15,"AttrFromString",1013],[15,"NumLabels",1013],[15,"Utf8",1013],[15,"NotAnIrohRecord",1013],[15,"DecodingError",1013],[5,"Utf8Error",1924],[6,"FrameTypeError",1036],[6,"FrameType",1036],[5,"TryFromPrimitiveError",1925],[15,"UnexpectedEnd",1110],[15,"UnknownFrameType",1110],[5,"VarInt",1926],[15,"ClientAuthHeaderInvalid",1154],[15,"Websocket",1154],[15,"UnexpectedEnd",1154],[15,"FrameTypeError",1154],[15,"ServerDeniedAuth",1154],[15,"UnexpectedFrameType",1154],[15,"DeserializationError",1154],[6,"Error",1927],[5,"HeaderValue",1928],[6,"RelayToClientMsg",1176],[5,"Datagrams",1176],[5,"Bytes",1929],[10,"AsRef",1902],[15,"Datagrams",1318],[15,"UnexpectedFrame",1320],[15,"FrameTooLarge",1320],[15,"SerDe",1320],[15,"FrameTypeError",1320],[15,"InvalidPublicKey",1320],[15,"InvalidFrame",1320],[15,"InvalidFrameType",1320],[15,"InvalidProtocolMessageEncoding",1320],[15,"TooSmall",1320],[15,"Datagrams",1346],[15,"Health",1346],[15,"Restarting",1346],[6,"Error",1351],[5,"QuicClient",1351],[5,"Connection",1930],[5,"RecvError",1931],[6,"ConnectError",1932],[6,"ConnectionError",1933],[5,"Endpoint",1934],[15,"Connect",1414],[15,"Connection",1414],[15,"WatchRecv",1414],[5,"Limits",1423],[5,"Metrics",1423,1935],[5,"Counter",1936],[5,"RelayConfig",1423],[6,"AccessConfig",1423],[10,"Iterable",1937],[6,"SpawnError",1423],[6,"SupervisorError",1423],[5,"QuicConfig",1423],[5,"ClientRateLimit",1423],[8,"NonZeroU32",1938],[5,"TlsConfig",1423],[6,"CertConfig",1423],[5,"Server",1423],[5,"CertificateDer",1939],[5,"RelayMetrics",1423,1935],[6,"Access",1423],[5,"ServerConfig",1423],[10,"Default",1940],[5,"ReloadingResolver",1423,1941],[5,"MetricItem",1942],[5,"JoinError",1943],[10,"MetricsGroup",1942],[17,"Value"],[5,"CertifiedKey",1944],[10,"Loader",1945],[5,"ClientHello",1946],[5,"ServerConfig",1946],[5,"AbortOnDropHandle",1947],[15,"Manual",1833],[15,"LetsEncrypt",1833],[5,"AcmeState",1948],[15,"BindTcpListener",1835],[15,"LocalAddr",1835],[15,"QuicSpawn",1835],[15,"TlsHeaderParse",1835],[15,"BindTlsListener",1835],[15,"NoLocalAddr",1835],[5,"InvalidHeaderValue",1928],[15,"Metrics",1853],[15,"AcmeEventStreamFinished",1853],[15,"JoinError",1853],[15,"NoRelayServicesEnabled",1853],[15,"TaskCancelled",1853]],"r":[[0,1176],[1,1877],[2,1873],[3,1873],[4,1873],[5,1873],[6,1873],[7,1873],[8,1877],[9,1873],[10,1873],[11,1873],[12,1877],[13,1873],[14,1873],[15,1873],[16,1877],[17,1873],[18,1873],[19,1873],[21,1873],[22,1873],[23,1873],[24,1873],[25,1873],[26,1873],[27,1873],[28,1873],[29,1873],[30,1873],[31,1873],[32,1873],[33,1873],[34,1877],[35,1873],[36,1873],[37,1873],[38,1877],[39,1873],[40,1873],[41,1873],[42,1877],[43,1873],[44,1873],[45,1873],[46,1873],[47,1877],[48,1873],[49,1877],[51,1877],[52,1873],[53,1873],[54,1873],[55,1877],[56,1873],[57,1873],[58,1873],[59,1873],[60,1873],[62,1877],[63,1873],[64,1873],[65,1873],[66,1873],[67,1873],[68,1873],[69,1873],[70,1873],[71,1873],[72,1873],[73,1873],[74,1873],[75,1873],[76,1873],[77,1873],[78,1873],[79,1873],[80,1873],[81,1873],[82,1877],[83,1873],[84,1873],[85,1873],[86,1873],[87,1873],[88,1877],[89,1873],[90,1873],[91,1873],[92,1873],[93,1873],[94,1873],[95,1873],[96,1873],[97,1873],[99,1877],[100,1873],[101,1873],[102,1873],[103,1877],[104,1873],[105,1873],[106,1873],[107,1873],[108,1873],[109,1877],[110,1877],[112,1873],[113,1877],[114,1873],[115,1873],[116,1873],[117,1873],[118,1873],[119,1877],[120,1873],[123,1873],[124,1873],[125,1873],[127,1877],[128,1873],[129,1873],[130,1873],[131,1873],[132,1873],[133,1877],[134,1873],[135,1873],[136,1873],[137,1877],[138,1873],[139,1873],[140,1873],[141,1873],[142,1873],[143,1877],[144,1873],[145,1873],[146,1873],[147,1873],[148,1873],[149,1877],[150,1873],[151,1873],[152,1873],[161,1894],[162,1894],[171,1894],[177,1894],[178,1894],[179,1894],[180,1894],[188,1894],[189,1894],[196,1894],[197,1894],[200,1894],[201,1894],[204,1894],[205,1894],[212,1894],[213,1894],[220,1894],[221,1894],[227,1894],[228,1894],[235,1894],[236,1894],[243,1894],[244,1894],[252,1894],[253,1894],[260,1894],[261,1894],[268,1894],[269,1894],[272,1894],[273,1894],[280,1894],[281,1894],[282,1894],[283,1894],[292,1894],[293,1894],[294,1894],[295,1894],[296,1894],[309,1894],[310,1894],[313,1894],[314,1894],[322,1894],[323,1894],[334,1894],[335,1894],[351,1894],[352,1894],[359,1894],[360,1894],[363,1894],[364,1894],[371,1894],[372,1894],[381,1894],[382,1894],[385,1894],[386,1894],[393,1894],[394,1894],[1431,1941],[1439,1935],[1446,1935],[1448,1941],[1457,1935],[1462,1935],[1464,1935],[1465,1935],[1466,1941],[1481,1935],[1485,1935],[1486,1935],[1487,1941],[1500,1935],[1501,1935],[1502,1941],[1516,1935],[1517,1935],[1518,1935],[1524,1935],[1527,1935],[1530,1935],[1533,1935],[1534,1935],[1535,1941],[1548,1935],[1549,1935],[1550,1941],[1563,1935],[1564,1935],[1565,1941],[1578,1935],[1579,1935],[1580,1935],[1583,1935],[1584,1935],[1585,1941],[1586,1941],[1599,1935],[1600,1935],[1601,1941],[1616,1935],[1617,1935],[1618,1935],[1619,1935],[1620,1935],[1621,1935],[1622,1941],[1640,1935],[1641,1935],[1642,1935],[1643,1935],[1644,1941],[1659,1935],[1660,1935],[1661,1941],[1675,1935],[1676,1935],[1677,1935],[1686,1935],[1687,1935],[1688,1941],[1689,1941],[1702,1935],[1703,1935],[1704,1941],[1723,1935],[1724,1935],[1725,1935],[1726,1935],[1727,1941],[1740,1935],[1741,1935],[1742,1935],[1747,1941],[1748,1941],[1749,1935],[1750,1935],[1751,1935],[1752,1935],[1753,1935],[1756,1941],[1764,1935],[1769,1935],[1770,1935],[1771,1941],[1784,1935],[1785,1935],[1786,1941],[1801,1935],[1802,1935],[1803,1941],[1816,1935],[1817,1935],[1818,1935],[1819,1935],[1820,1941]],"b":[[83,"impl-Display-for-RelayMap"],[84,"impl-Debug-for-RelayMap"],[85,"impl-Display-for-RelayNode"],[86,"impl-Debug-for-RelayNode"],[89,"impl-From%3CRelayUrl%3E-for-RelayMap"],[90,"impl-From%3CRelayNode%3E-for-RelayMap"],[95,"impl-FromIterator%3CRelayNode%3E-for-RelayMap"],[96,"impl-FromIterator%3CRelayUrl%3E-for-RelayMap"],[280,"impl-Debug-for-SendError"],[281,"impl-Display-for-SendError"],[282,"impl-Display-for-RecvError"],[283,"impl-Debug-for-RecvError"],[284,"impl-Debug-for-ConnectError"],[285,"impl-Display-for-ConnectError"],[286,"impl-Debug-for-DialError"],[287,"impl-Display-for-DialError"],[295,"impl-From%3CError%3E-for-RecvError"],[296,"impl-From%3CError%3E-for-RecvError"],[297,"impl-From%3CDialError%3E-for-ConnectError"],[298,"impl-From%3CError%3E-for-ConnectError"],[299,"impl-From%3CError%3E-for-ConnectError"],[301,"impl-From%3CError%3E-for-DialError"],[303,"impl-From%3CDnsError%3E-for-DialError"],[304,"impl-From%3CElapsed%3E-for-DialError"],[603,"impl-Display-for-DnsError"],[604,"impl-Debug-for-DnsError"],[605,"impl-Debug-for-LookupError"],[606,"impl-Display-for-LookupError"],[607,"impl-Debug-for-StaggeredError%3CE%3E"],[608,"impl-Display-for-StaggeredError%3CE%3E"],[612,"impl-Debug-for-TxtRecordData"],[613,"impl-Display-for-TxtRecordData"],[614,"impl-From%3CElapsed%3E-for-DnsError"],[616,"impl-From%3CResolveError%3E-for-DnsError"],[879,"impl-Debug-for-EncodingError"],[880,"impl-Display-for-EncodingError"],[881,"impl-Debug-for-DecodingError"],[882,"impl-Display-for-DecodingError"],[884,"impl-Display-for-UserData"],[885,"impl-Debug-for-UserData"],[886,"impl-Display-for-MaxLengthExceededError"],[887,"impl-Debug-for-MaxLengthExceededError"],[889,"impl-Debug-for-ParseError"],[890,"impl-Display-for-ParseError"],[1085,"impl-Debug-for-FrameTypeError"],[1086,"impl-Display-for-FrameTypeError"],[1138,"impl-Debug-for-Error"],[1139,"impl-Display-for-Error"],[1140,"impl-From%3CError%3E-for-Error"],[1141,"impl-From%3CFrameTypeError%3E-for-Error"],[1268,"impl-Debug-for-Error"],[1269,"impl-Display-for-Error"],[1273,"impl-From%3CError%3E-for-Error"],[1274,"impl-From%3CFrameTypeError%3E-for-Error"],[1386,"impl-Display-for-Error"],[1387,"impl-Debug-for-Error"],[1390,"impl-From%3CRecvError%3E-for-Error"],[1391,"impl-From%3CConnectError%3E-for-Error"],[1392,"impl-From%3CConnectionError%3E-for-Error"],[1655,"impl-Display-for-SpawnError"],[1656,"impl-Debug-for-SpawnError"],[1657,"impl-Display-for-SupervisorError"],[1658,"impl-Debug-for-SupervisorError"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAMcFdQABAAAABgAOABYAGAAwAAEANAAJAD8AAwBEABQAWwAAAF0AAABgAAAAZAADAHIABQB9AAEAgQAMAJAAAwCWAAMAnwAAAKEAEAC0AAcAvQA+AP0AKAAoAQQALgEAADABAQA2AQsATwEPAGABAwBlARgAggFVAOMBAwDpAQMA8AEAAPQBHgAVAgIAGgIgADwCKwBpAgAAcAILAJMCBgCcAgAAngIYALsCDQDNAhUA5wIEAO0CAwD2AgMA+wIDAAADIQAjAx8ARAMUAFoDIgB/AwAAhAMAAIYDAACJAwAAjAMLAKMDBwCuAwMAswMCALcDBAC+Aw4A0gMGANoDBgDnAyAAEQQAABwEIwBCBAIARwQKAFMECABfBBcAeAQBAHsEBACBBBcAngQBAKEEAwCtBCkA2AQMAOYEFQD/BAAAAQUEAAoFAwAPBQAAEQULAB8FBwApBRkASQUBAE8FEwBkBQkAbwUCAHMFAgB5BQgAgwUMAJIFAACUBQEAmwUAAJ4FAAChBQIApQUAAK8FAACxBQMAuQUTAM4FHQDwBQEA9QU1ACwGJABVBiYAiwYAAI0GAQCVBgMAmgYMALwGEADVBgAA3wYBAOUGIgAKBw4AGwcOACwHHQA=","P":[[8,"B,E,P,T"],[12,"T"],[21,""],[24,"T"],[27,""],[32,"K"],[34,"T"],[46,""],[51,"T"],[59,"__D"],[62,""],[70,"K"],[82,""],[88,"T"],[89,""],[91,"T"],[92,""],[93,"T"],[97,""],[103,"U"],[107,""],[113,"B,E,P,T"],[117,""],[124,"__S"],[127,""],[128,"T"],[131,""],[133,"U,T"],[137,"U"],[141,""],[149,"V"],[186,""],[187,"S"],[188,"B,E,P,T"],[196,""],[204,"T"],[220,""],[225,"T"],[226,""],[227,"T"],[251,""],[252,"T"],[268,""],[293,"T"],[295,""],[300,"T"],[301,""],[302,"T"],[303,""],[305,"T"],[309,""],[322,"U"],[330,""],[333,""],[334,"B,E,P,T"],[342,"Sink::Error"],[346,"Stream::Item"],[348,"Sink::Error"],[350,""],[356,"Sink::Error"],[358,"T"],[359,""],[363,"U,T"],[371,"U"],[379,"S"],[381,""],[393,"V"],[401,""],[503,"B,E,P,T"],[510,""],[515,"E"],[516,"T"],[530,""],[534,"E"],[535,""],[541,"T"],[545,""],[549,"T"],[570,""],[571,""],[574,"T"],[588,""],[590,"E"],[591,""],[599,"K"],[603,""],[607,"E"],[609,""],[615,"T"],[616,""],[617,"T"],[623,""],[624,"T"],[625,""],[635,"U"],[642,""],[644,"T"],[646,""],[648,""],[649,"T"],[650,""],[651,""],[656,"T"],[657,""],[658,"B,E,P,T"],[665,""],[671,"E"],[672,"T"],[676,""],[680,"U,T"],[687,"U"],[694,""],[705,"V"],[712,""],[714,""],[715,""],[766,""],[767,"B,E,P,T"],[774,""],[783,"T"],[797,""],[805,"T"],[808,""],[812,"K"],[813,"T"],[834,""],[836,"T"],[841,"Deref::Target"],[842,"T"],[850,"Deref::Target"],[851,"T"],[852,""],[867,"K"],[879,""],[892,"T"],[894,""],[895,"T"],[899,""],[900,"T"],[901,""],[904,"FromStr::Err"],[905,""],[906,""],[907,"__H"],[908,""],[919,"U"],[926,""],[930,"B,E,P,T"],[937,""],[946,"T"],[949,""],[957,"U,T"],[960,"TryFrom::Error"],[961,"U,T"],[965,"U"],[972,""],[985,"V"],[992,""],[1054,"B,E,P,T"],[1056,""],[1058,"T"],[1062,""],[1064,"T"],[1065,""],[1066,"T"],[1076,""],[1080,"K"],[1084,""],[1087,"T"],[1089,""],[1092,"U"],[1094,"B,E,P,T"],[1096,""],[1097,"T"],[1098,""],[1100,"U,T"],[1102,"TryFromPrimitive::Primitive"],[1103,"U"],[1105,""],[1108,"V"],[1110,""],[1125,"B,E,P,T"],[1126,""],[1128,"T"],[1130,""],[1131,"T"],[1136,""],[1142,"T"],[1143,""],[1145,"U"],[1146,"B,E,P,T"],[1147,""],[1149,"U,T"],[1150,"U"],[1151,""],[1153,"V"],[1154,""],[1202,"B,E,P,T"],[1206,""],[1208,"T"],[1216,""],[1220,"T"],[1223,""],[1226,"T"],[1238,""],[1239,"T"],[1247,""],[1256,"K"],[1268,""],[1275,"T"],[1280,""],[1285,"U"],[1289,"B,E,P,T"],[1293,""],[1296,"T"],[1299,""],[1300,"U,T"],[1304,"U"],[1308,""],[1314,"V"],[1318,""],[1360,"B,E,P,T"],[1362,""],[1364,"T"],[1368,""],[1370,"T"],[1371,""],[1372,"T"],[1378,""],[1379,"T"],[1383,""],[1389,"T"],[1390,""],[1393,"T"],[1394,""],[1397,"U"],[1399,""],[1400,"B,E,P,T"],[1402,""],[1403,"T"],[1404,""],[1405,"U,T"],[1407,"U"],[1409,""],[1412,"V"],[1414,""],[1464,"B,E,P,T"],[1479,""],[1485,"T"],[1515,""],[1527,"T"],[1530,""],[1533,"T"],[1578,""],[1581,"EC,EA"],[1582,""],[1583,"T"],[1586,"Loader,Deref::Target"],[1587,"T"],[1614,""],[1636,"K"],[1640,""],[1644,"Loader"],[1645,"EC,EA"],[1647,""],[1650,"EC,EA"],[1651,""],[1653,"EC,EA"],[1654,""],[1659,"T"],[1674,""],[1688,"Loader"],[1689,""],[1702,"U"],[1717,""],[1725,"B,E,P,T"],[1740,""],[1747,"Loader"],[1749,""],[1756,"Loader"],[1757,""],[1760,"EC,EA"],[1761,""],[1764,"T"],[1767,""],[1769,"U,T"],[1784,"U"],[1799,""],[1818,"V"],[1833,""]]}]]')); if (typeof exports !== 'undefined') exports.searchIndex = searchIndex; else if (window.initSearch) window.initSearch(searchIndex); -//{"start":39,"fragment_lengths":[446,115979,11771,7548,13194,47595]} \ No newline at end of file +//{"start":39,"fragment_lengths":[446,115899,11771,7548,13194,47595]} \ No newline at end of file diff --git a/pr/3465/docs/search.desc/iroh/iroh-desc-0-.js b/pr/3465/docs/search.desc/iroh/iroh-desc-0-.js index 8d677fe652..7e77747fc8 100644 --- a/pr/3465/docs/search.desc/iroh/iroh-desc-0-.js +++ b/pr/3465/docs/search.desc/iroh/iroh-desc-0-.js @@ -1 +1 @@ -searchState.loadedDescShard("iroh", 0, "Peer-to-peer QUIC connections.\nError when decoding.\nThe encoded information had the wrong length.\nError when decoding the public key.\nError when deserialising a PublicKey or a SecretKey.\nThe length of an ed25519 PublicKey, in bytes.\nNetwork-level addressing information for an iroh node.\nThe identifier for a node in the (iroh) network.\nA public key.\nConfiguration of all the relay servers that can be used.\nInformation on a specific relay server.\nA URL identifying a relay server.\nCan occur when parsing a string into a RelayUrl.\nA secret key.\nThe type of value that can change.\nA handle to a value that’s represented by one or more …\nGet this public key as a byte array.\nIs this a known node?\nDefault values used in iroh\nReturns the direct addresses of this peer.\nSocket addresses where the peer might be reached directly.\nNode address discovery.\nThis module exports a DNS resolver, which is also the …\nCreate an empty relay map.\nThe Endpoint allows establishing connections to other iroh …\nConvert to a hex string limited to the first 5 bytes for a …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the addressing info from given ticket.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreates a RelayMap from a RelayUrl.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstruct a PublicKey from a slice of bytes.\nCreate a secret key from its byte representation.\nCreates a RelayMap from an iterator of RelayUrl.\nCreates a new NodeAddr from its parts.\nGenerate a new SecretKey with a randomness generator.\nReturns the current state of the underlying value.\nGet the given node.\nReturns a future completing once the value is set to Some …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nWhether this watcher is still connected to all of its …\nReturns true, if only a NodeId is present.\nAre there any nodes in this map?\nHow many nodes are known?\nMaps this watcher with a function that transforms the …\nCo-locating all of the iroh metrics structs\nChecks the network conditions from the current host.\nCreates a new NodeAddr with no relay_url and no …\nThe node’s identifier.\nSupport for handling DNS resource records for dialing by …\nReturns an Iterator over all known nodes.\nReturns a watcher that updates every time this or the …\nPolls for the next value, or returns Disconnected if one …\nTools for spawning an accept loop that routes incoming …\nReturns the VerifyingKey for this PublicKey.\nThe public key of this SecretKey.\nConfiguration to speak to the QUIC endpoint on the relay …\nReturns the relay url of this peer.\nThe node’s home relay url.\nReturns the SigningKey for this SecretKey.\nSign the given message and return a digital signature\nReturns a stream which will yield the most recent values …\nReturns a stream which will yield the most recent values …\nInternal utilities to support testing.\nConvert this to the bytes representing the secret part. …\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nReturns a future completing with Ok(value) once a new …\nThe RelayUrl where this relay server can be dialed.\nReturns the sorted relay URLs.\nVerify a signature on a message with this secret key’s …\nAdds the given direct addresses.\nAdds a relay url.\nThe default HTTPS port used by the Relay server.\nThe default HTTP port used by the Relay server.\nThe default metrics port used by the Relay server.\nThe default QUIC port used by the Relay server to accept …\nProduction configuration.\nStaging configuration.\nHostname of the default Asia-Pacific relay.\nHostname of the default EU relay.\nHostname of the default NA relay.\nGet the default RelayNode for Asia-Pacific\nGet the default RelayNode for EU.\nGet the default RelayNode for NA.\nGet the default RelayMap.\nHostname of the default EU relay.\nHostname of the default NA relay.\nGet the default RelayNode for EU.\nGet the default RelayNode for NA.\nGet the default RelayMap.\nA discovery service that combines multiple discovery …\nNode discovery for super::Endpoint.\nContext about the Endpoint for discovery services.\nDiscovery errors\nNode discovery results from Discovery services.\nTrait for structs that can be converted into Discovery.\nIntoDiscovery errors\nThe max byte length allowed for user-defined data.\nData about a node that may be published to and resolved …\nInformation about a node that may be published to and …\nUnder the hood this is a UTF-8 String is no longer than …\nAdds a Discovery service.\nAdds direct addresses to the node data.\nRemoves all direct addresses from the node data.\nThe information published about the node.\nReturns the direct addresses of the node.\nDNS node discovery for iroh\nReturns the DnsResolver used by the endpoint.\nCreates an empty ConcurrentDiscovery.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\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 user error from an arbitrary error type.\nCreates a new user error from an arbitrary error type.\nCreates a new user error from an arbitrary boxed error …\nCreates a new user error from an arbitrary boxed error …\nCreates a new NodeInfo from its parts.\nParses a NodeInfo from a pkarr::SignedPacket.\nCreates a new ConcurrentDiscovery.\nParses a NodeInfo from DNS TXT lookup.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nTurns this discovery builder into a ready-to-use discovery …\nConverts into a NodeAddr without cloning.\nConverts into a NodeAddr without cloning.\nIs there any services configured?\nReturns the optional timestamp when this node info was …\nHow many services are configured\nA discovery service that uses an mdns-like service to …\nCreates a new NodeData with a relay URL and a set of …\nCreates a new NodeInfo with an empty NodeData.\nCreates a new DiscoveryItem from a NodeInfo.\nReturns the NodeId of the endpoint.\nReturns the node id of the discovered node.\nThe NodeId of the node this is about.\nReturns the NodeInfo for the discovered node.\nA discovery service which publishes and resolves node …\nReturns the provenance of this discovery item.\nPublishes the given NodeData to the discovery mechanism.\nReturns the relay URL of the node.\nResolves the DiscoveryItem for the given NodeId.\nReturns the SecretKey of the endpoint.\nSets the relay URL of the node data.\nSets the user-defined data of the node data.\nA static node discovery to manually add node addressing …\nConverts into a NodeAddr by cloning the needed fields.\nConverts into a NodeAddr by cloning the needed fields.\nCreates a pkarr::SignedPacket.\nConverts into a list of {key}={value} strings.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nReturns the optional user-defined data of the node.\nReturns any user-defined data.\nSets the direct addresses and returns the updated node …\nSets the direct addresses and returns the updated node …\nSets the relay URL and returns the updated node data.\nSets the relay URL and returns the updated node info.\nSets the user-defined data and returns the updated node …\nSets the user-defined data and returns the updated node …\nDNS node discovery\nBuilder for DnsDiscovery.\nThe n0 testing DNS node origin, for production.\nThe n0 testing DNS node origin, for testing.\nBuilds a DnsDiscovery with the passed DnsResolver.\nCreates a DnsDiscoveryBuilder that implements IntoDiscovery…\nSets the DNS resolver to use.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCreates a new DNS discovery using the iroh.link domain.\nA peer was discovered or it’s information was updated.\nAn event emitted from the MdnsDiscovery service.\nA peer was expired due to being inactive, unreachable, or …\nDiscovery using swarm-discovery, a variation on mdns\nBuilder for MdnsDiscovery.\nName of this discovery service.\nSets whether this node should advertise its presence.\nBuilds an MdnsDiscovery instance with the configured …\nReturns a MdnsDiscoveryBuilder that implements …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nSets a custom service name.\nSubscribe to discovered nodes\nOptional timestamp when this node address info was last …\nThe id of the node that expired.\nThe node info for the node, as discovered.\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.\nBuilder for PkarrPublisher.\nA pkarr client to publish pkarr::SignedPackets to a pkarr …\nResolver of node discovery information from a pkarr relay.\nBuilder for PkarrResolver.\nBuilds the PkarrPublisher with the passed secret key for …\nCreates a PkarrResolver from this builder.\nReturns a PkarrPublisherBuilder that publishes node info …\nCreates a new resolver builder using the pkarr relay …\nPkarr based node discovery for iroh, supporting both relay …\nSets the DNS resolver to use for resolving the pkarr relay …\nSets the DNS resolver to use for resolving the pkarr relay …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCreates a pkarr publisher which uses the number 0 pkarr …\nCreates a pkarr resolver builder which uses the number 0 …\nCreates a new client.\nPublishes a SignedPacket.\nSets the interval after which packets are republished even …\nResolves a SignedPacket for the given NodeId.\nToString::to_string, but without panic on OOM.\nSets the TTL (time-to-live) for published packets.\nPublishes the addressing information about this node to a …\nCreates a new client while passing a DNS resolver to use.\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 …\nCalls U::from(self).\nCalls U::from(self).\nUses the default number 0 pkarr relay URL.\nDisables publishing even if a secret key is set.\nSets the pkarr relay URL to use.\nSets the republish delay for the DHT.\nSets the secret key to use for signing the DNS packets.\nSets the time-to-live value for the DNS packets.\nThe provenance string for this discovery implementation.\nA static node discovery to manually add node addressing …\nAugments node addressing information for the given node ID.\nReturns the argument unchanged.\nCreates a static discovery instance from node addresses.\nReturns node addressing information for the given node ID.\nCalls U::from(self).\nCreates a new static discovery instance.\nRemoves all node addressing information for the given node …\nSets node addressing information for the given node ID.\nThe DNS resolver used throughout iroh.\nThe n0 testing DNS node origin, for production.\nThe n0 testing DNS node origin, for testing.\nCreates a builder to construct a DNS resolver with custom …\nRemoves all entries from the cache.\nCreates a new DnsResolver from a struct that implements …\nReturns the argument unchanged.\nCalls U::from(self).\nPerforms an IPv4 lookup with a timeout.\nResolves IPv4 and IPv6 in parallel with a timeout.\nRaces an IPv4 and IPv6 lookup with a timeout in a …\nPerforms an IPv4 lookup with a timeout in a staggered …\nPerforms an IPv6 lookup with a timeout.\nPerforms an IPv6 lookup with a timeout in a staggered …\nLooks up node info by DNS name.\nLooks up node info by DNS name in a staggered fashion.\nLooks up node info by NodeId and origin domain name.\nLooks up node info by NodeId and origin domain name.\nLooks up a TXT record.\nCreates a new DNS resolver with sensible cross-platform …\nRecreates the inner resolver.\nResolves a hostname from a URL to an IP address.\nCreates a new DNS resolver configured with a single UDP …\nthe endpoint has reached the confidentiality or integrity …\nthe application or application protocol caused the …\nFuture produced by Endpoint::accept.\nFuture produced by Connection::accept_bi\nFuture produced by Connection::accept_uni\nParameters for controlling the peer’s acknowledgement …\nA key for sealing data with AEAD-based algorithms\nUses all available paths\nApplication layer added the address directly.\nReason given by an application for closing the connection\nThe peer closed the connection\nBuilder for Endpoint.\nthe number of connection IDs provided by the peer exceeds …\nthe server refused to accept a new connection\nreceived more data in CRYPTO frames than can be buffered\nWe received a CallMeMaybe.\nA chunk of data from the receive stream\nThe connection could not be created because not enough of …\nError indicating that a stream has not been opened or has …\nThe stream has already been stopped, finished, or reset\nThe stream has already been finished or reset\nOptions for the Endpoint::connect_with_opts function.\nIn-progress connection attempt future\nA QUIC connection.\nReason given by the transport for closing the connection\nThe peer’s QUIC stack aborted the connection …\nReasons why a connection might be lost\nThe connection was lost\nThe connection was lost\nThe connection was lost\nThe connection was lost\nThe connection was lost\nConnection statistics\nThe type of connection we have to the endpoint.\nThe type of control message we have received.\nCommon interface for different congestion controllers\nConstructs controllers on demand\nGeneric crypto errors\nServer-side configuration for the crypto protocol\nUse a custom relay map.\nUse the default relay map, with production relay servers …\nDirect UDP connection\nA direct address on which an iroh-node might be …\nInformation about a direct address.\nThe type of direct address.\nDatagram support is disabled locally\nDisable relay servers completely.\nThe address was discovered by a discovery service.\nEnvironment variable to force the use of staging relays.\nControls an iroh node, establishing connections with other …\nError returned by Session::export_keying_material.\nreceived a STREAM frame or a RESET_STREAM frame containing …\nreceived more data than permitted in advertised data limits\nreceived a frame that was badly formatted\nThe stream finished before all bytes were read\nNumber of frames transmitted of each frame type\nA pseudo random key for HKDF\nthe endpoint encountered an internal error and cannot …\nreceived an invalid Retry Token in a client Initial\nAttempted an ordered read following an unordered read\nAn incoming connection for which the server has not yet …\nAdaptor to let Incoming be awaited like a Connecting.\nkey update error\nA locally bound socket address.\nThe local application closed the connection\nThe largest representable value\nThe largest encoded value length\nBoth a UDP and a relay connection are used.\nParameters governing MTU discovery.\nthe connection is being closed abruptly in the absence of …\nno viable network path exists\nApplication layer with a specific name added the node …\nWe have no verified connection to this PublicKey\nFuture produced by Connection::open_bi\nFuture produced by Connection::open_uni\ndetected an error with protocol compliance that was not …\nDefines the mode of path selection for all traffic flowing …\nStatistics related to a transmission path\nWe received a Ping from the node.\nWe received a Pong from the node.\nAn address assigned by the router using port mapping.\nPublic internet address discovered via QAD.\nHard NAT: QAD’ed IPv4 address + local fixed port.\nAn error occurred during reading\nFuture produced by Connection::read_datagram\nErrors that arise from reading from a stream.\nA read error occurred\nErrors that arise from reading from a stream.\nErrors from RecvStream::read_to_end\nA stream that can only be used to receive data\nRelay connection over relay\nA node communicated with us first via relay.\nConfiguration of the relay servers for an Endpoint.\nForces all traffic to go exclusively through relays\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\nreceived transport parameters that were badly formatted, …\nCommunication with the peer has lapsed for longer than the …\nThe datagram is larger than the connection can currently …\nThe stream is larger than the user-supplied limit\nParameters governing the core QUIC state machine\nTransport-level errors occur when a peer violates the …\nThe peer violated the QUIC specification as understood by …\nTransport-level error code\nA node communicated with us first via UDP.\nStatistics about UDP datagrams transmitted or received on …\nNot yet determined..\nThe peer does not support receiving datagram frames\nError indicating that the specified QUIC version is not …\nAn integer less than 2^62\nThe peer doesn’t implement any supported version\nA handle to some connection internals, use with care.\nErrors that arise from writing to a stream\nIndicates how many bytes and chunks had been transferred …\nFuture that completes when a connection is fully …\nThis was a 0-RTT stream and the server rejected it\nThis was a 0-RTT stream and the server rejected it\nThis was a 0-RTT stream and the server rejected it\nThis was a 0-RTT stream and the server rejected it\nAccepts an incoming connection on the endpoint.\nAttempts to accept this incoming connection (an error may …\nAccept the next incoming bidirectional stream.\nAccepts the next incoming uni-directional stream.\nAccepts this incoming connection using a custom …\nThe ack-eliciting threshold we will request the peer to use\nSpecifies the ACK frequency config (see AckFrequencyConfig …\nAdds a discovery mechanism for this endpoint.\nThe UDP address reported by the remote node.\nThe address.\nDerive AEAD using hkdf\nWhether the implementation is permitted to set the spin …\nExtracts the ALPN protocol from the peer’s handshake …\nExtracts the ALPN protocol from the peer’s handshake …\nSets the ALPN protocols that this endpoint will accept on …\nBinds the magic endpoint.\nSets the IPv4 bind address.\nSets the IPv6 bind address.\nSpecifies the amount of time that MTU discovery should …\nThe number of times a black hole was detected in the path\nReturns the local socket addresses on which the underlying …\nConstruct a fresh Controller\nReturns the builder for an Endpoint, with a production …\nThe contents of the chunk\nThe total amount of bytes which have been transferred …\nThe amount of bytes which had been written\nThe amount of full chunks which had been written\nRemoves all discovery services from the builder.\nDuplicate the controller’s state\nCloses the QUIC endpoint and the magic socket.\nCloses the connection immediately.\nIf the connection is closed, the reason why.\nWait for the connection to be closed for any reason.\nType of error\nHow to construct new congestion::Controllers\nCongestion events on the connection\nCurrent state of the congestion control algorithm, for …\nReturns a Watcher that reports the current connection type …\nConnects to a remote Endpoint.\nStarts a connection attempt with a remote Endpoint.\nCreate QUIC error code from TLS alert code\nTLS configuration used for incoming connections\nMaximum quantity of out-of-order crypto layer data to …\nLargest UDP payload size the path currently supports\nCurrent congestion window of the connection\nMaximum number of incoming application datagram bytes to …\nMaximum number of outgoing application datagram bytes to …\nBytes available in the outgoing datagram buffer.\nThe amount of UDP datagrams observed\nReturns the default relay mode.\nWhich directions data flows in\nReturns a Watcher for the direct addresses of this Endpoint…\nOptionally sets a discovery mechanism for this endpoint.\nReturns the discovery mechanism, if configured.\nConfigures the endpoint to also use the mainline DHT with …\nConfigures the endpoint to also use local network …\nConfigures the endpoint to use the default n0 DNS …\nOptionally sets a custom DNS resolver to use for this …\nReturns the DNS resolver used in this Endpoint.\nWhether to use “Generic Segmentation Offload” to …\nClass of error as encoded in the specification\nApplication-specific reason code\nDerives keying material from this connection’s TLS …\nNotify the peer that no more data will ever be written to …\nReturns true if the use of staging relays is forced.\nFrame type that triggered the error\nStatistics about frames received on a connection\nStatistics about frames transmitted on a connection\nType of frame that caused the close\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstruct a VarInt infallibly\nSucceeds iff x < 2^62\nCreate a VarInt without ensuring it’s in range\nParameters negotiated during the handshake\nParameters negotiated during the handshake.\nReturns a Watcher for the RelayUrl of the Relay server …\nGet the identity of this stream\nGet the identity of this stream\nIgnores this incoming connection attempt, not sending any …\nMaximum number of received bytes to buffer for each …\nMaximum number of received bytes to buffer for all Incoming\nDistinguishes streams of the same initiator and …\nCreate the initial set of keys given the client’s …\nThe initial value to be used as the maximum UDP payload …\nThe RTT used before an RTT sample is taken\nInitial congestion window\nWhich side of a connection initiated the stream\nSkip verification of SSL certificates from relay servers\nSpecifies the time to wait after completing MTU discovery …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nConverts this Connecting into a 0-RTT or 0.5-RTT …\nReturns Self for use in down-casting to extract …\nGet the Incoming\nExtract the integer value\nThe amount of I/O operations executed\nCheck if this stream has been opened during 0-RTT.\nReturns true if the Connection associated with this handle …\nCheck if this endpoint is still alive, or already closed.\nPeriod of inactivity before sending a keep-alive packet\nEnables saving the TLS pre-master key for connections.\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 …\nReturns the currently lowest latency for this node.\nThe latency to the remote node over this network path.\nReturns the local IP address which was used when the peer …\nThe amount of bytes lost on this path\nThe amount of packets lost on this path\nThe amount of PLPMTUD probe packets lost on this path …\nThe max_ack_delay we will request the peer to use\nMaximum number of incoming bidirectional streams that may …\nVariant of max_concurrent_bidi_streams affecting …\nComputes the maximum size of datagrams that may be passed …\nMaximum duration of inactivity to accept before timing out …\nMaximum number of Incoming to allow to exist at a time\nSet the maximum number of TLS tickets to cache.\nReturns metrics collected for this endpoint.\nWhether to allow clients to migrate to new addresses\nThe maximum UDP payload size guaranteed to be supported by …\nSpecifies the minimum MTU change to stop the MTU discovery …\nSpecifies the MTU discovery config (see MtuDiscoveryConfig …\nNotifies the system of potential network changes.\nResets path-specific state.\nCreate a default config with a particular handshake token …\nCreate a new StreamId\nInitializes new connection options.\nReturns a Watcher for the current NodeAddr for this …\nReturns the node id of this endpoint.\nThe offset in the stream\nPacket deliveries were confirmed\nPackets were deemed lost or marked congested\nPackets are acked in batches, all with the same now …\nThe known MTU for the current network path has been updated\nOne or more packets were just sent\nMethod for opening a sealed message data\nInitiates a new outgoing bidirectional stream.\nInitiates a new outgoing unidirectional stream.\nMaximum reordering in packet number space before FACK …\nStatistics related to the current transmission path\nThis implies we only use the relay to communicate and do …\nCryptographic identity of the peer.\nNumber of consecutive PTOs after which network is …\nAttempts to read from the stream into buf.\nAttempt to write bytes from buf into the stream.\nThe preferred IPv4 address that will be communicated to …\nThe preferred IPv6 address that will be communicated to …\nGet the priority of the send stream\nSets the proxy url from the environment, in this order:\nSets an explicit proxy url to proxy all HTTP(S) traffic …\nRead data contiguously from the stream.\nRead the next segment of data\nRead the next segments of data\nReceives an application datagram.\nRead an exact number of bytes contiguously from the stream.\nConvenience method to read all remaining data into a buffer\nHuman-readable reason for the close\nHuman-readable reason for the close\nHuman-readable explanation of the reason\nWhether to receive observed address reports from other …\nMaximum number of bytes the peer may transmit across all …\nCompletes when the stream has been reset by the peer or …\nRejects this incoming connection attempt.\nReturns the relay map for this mode.\nSets the relay servers to assist in establishing …\nReturns the peer’s UDP address.\nWhether the socket address that is initiating this …\nReturns the NodeId from the peer’s TLS certificate.\nThe reordering threshold we will request the peer to use\nClose the send stream immediately.\nResponds with a retry packet.\nGenerate the integrity tag for a retry packet\nDuration after a retry token was issued for which it’s …\nCurrent best estimate of this connection’s latency …\nCurrent best estimate of this connection’s latency …\nSaturating integer addition. Computes self + rhs, …\nMethod for sealing message data\nSets a secret key to authenticate with other peers.\nReturns the secret_key of this endpoint.\nTransmits data as an unreliable, unordered application …\nWhether to implement fair queuing for send streams having …\nWhether to send observed address reports to peers.\nMaximum number of bytes to transmit to a peer without …\nThe amount of packets sent on this path\nThe amount of PLPMTUD probe packets sent on this path …\nSets the list of accepted ALPN protocols.\nModifies the number of bidirectional streams that may be …\nModifies the number of unidirectional streams that may be …\nSet the priority of the send stream\nSee quinn_proto::TransportConfig::receive_window.\nSets the initial user-defined data to be published in …\nA HashMap of Sources to Durations.\nA stable identifier for this connection.\nStart a server session with this configuration\nReturns connection statistics.\nStop accepting data\nCompletes when the peer stops the stream or reads the …\nMaximum number of bytes the peer may transmit without …\nObject to get current SystemTime\nMaximum reordering in time space before time based loss …\nPrivate key used to authenticate data included in …\nTransport configuration to use for incoming connections\nSet a custom TransportConfig\nSets a custom quinn::TransportConfig for this endpoint.\nSucceeds iff x < 2^62\nSucceeds iff x < 2^62\nSucceeds iff x < 2^62\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nThe origin of this direct address.\nStatistics about UDP datagrams received on a connection\nStatistics about UDP datagrams transmitted on a connection\nSpecifies the upper bound to the max UDP payload size that …\nSets the initial user-defined data to be published in …\nConfiguration for sending and handling validation tokens\nSet a custom ValidationTokenConfig\nNumber of ack-eliciting bytes that may be in flight\nSets ALPN identifiers that should be signaled as supported …\nCreate a server config with the given crypto::ServerConfig\nCreate a server config with the given certificate chain to …\nSets the QUIC transport config options for this connection.\nWrite bytes to the stream\nConvenience method to write an entire buffer to the stream\nConvenience method to write an entire list of chunks to …\nConvenience method to write a single chunk in its entirety …\nWrite chunks to the stream\nThe name of the discovery service that discovered the …\nThe name of the application that added the node\nMetrics collected by an crate::endpoint::Endpoint.\nEnum of metrics for the module\nEnum of metrics for the module\nMetrics tracked for the relay server\nNumber of times this server has accepted a connection.\nBytes received from a FrameType::SendPacket\nNumber of bytes received from client connection which have …\nBytes sent from a FrameType::SendPacket\nNumber of connections with a successful handshake that …\nNumber of connections with a successful handshake.\nNumber of client connections which have had any frames …\nFrameType::SendPacket dropped that are disco messages\nFrameType::SendPacket received that are disco messages\nFrameType::SendPacket sent that are disco messages\nNumber of connections we have removed because of an error\nNumber of times the external address obtained via port …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nNumber of FrameType::Pings received\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nNumber of updates to the local port.\nMetrics collected by the endpoint’s socket.\nNumber of mapping tasks started.\nNumber of failed mapping tasks.\nMetrics collected by net reports.\nNumber of nodes we have attempted to contact.\nNumber of nodes we have managed to contact directly.\nThe number of direct connections we have made to peers.\nThe number of direct connections we have lost to peers.\nThe number of connections to peers we have added over …\nThe number of connections to peers we have removed over …\nPackets of other FrameTypes dropped\nPackets of other FrameTypes received\nPackets of other FrameTypes sent\nNumber of PCP probes that found it available.\nNumber of PCP probes executed.\nMetrics collected by the portmapper service.\nNumber of probing tasks started.\nNumber of QUIC datagrams received.\nNumber of datagrams received using GRO\nFrameType::SendPacket dropped, that are not disco messages\nFrameType::SendPacket received, that are not disco messages\nFrameType::SendPacket sent, that are not disco messages\nNumber of FrameType::Pongs sent\nNumber of unique client keys per day\nNumber of FrameType::Unknown received\nNumber of UPnP probes that found it available.\nNumber of UPnP probes that resulted in a gateway different …\nNumber of UPnP probes executed.\nNumber of failed Upnp probes.\nHTTPS\nEnum of metrics for the module\nOptions for running probes\nThe protocol used to time a node’s latency.\nQUIC Address Discovery Ipv4\nQUIC Address Discovery Ipv6\nPieces needed to do QUIC address discovery.\nLatencies per relay node.\nA net_report report.\nTurn the options into set of valid protocols\nCaptivePortal is set when we think there’s a captive …\nA client config.\nCreate an Options that disables all probes\nA QUIC Endpoint\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nip:port of global IPv4\n[ip]:port of global IPv6\nDo we have any indication that UDP is working?\nEnable or disable https probe\nSkip cert verification\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nEnable ipv4 QUIC address discovery probes\nEnable ipv6 QUIC address discovery probes\nReturns an iterator over all the relays and their …\nWhether the reported public address differs when probing …\nWhether the reported public address differs when probing …\nWhether the reported public address differs when probing …\nProbe indicating the presence of port mapping protocols on …\nEnable quic probes\nkeyed by relay Url\nNumber of reports executed by net_report, including full …\nNumber of full reports executed by net_report\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nA QAD IPv4 round trip completed.\nA QAD IPv6 round trip completed.\nThe DNS name for the iroh TXT record.\nError returned when an input value is too long for UserData…\nData about a node that may be published to and resolved …\nExtension methods for NodeId to encode to and decode from …\nInformation about a node that may be published to and …\nUnder the hood this is a UTF-8 String is no longer than …\nThe information published about the node.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nParses a NodeId from [z-base-32] encoding.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nThe NodeId of the node this is about.\nEncodes a NodeId in [z-base-32] encoding.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nWraps an existing protocol, limiting its access, based on …\nA dyn-compatible version of ProtocolHandler that returns …\nHandler for incoming connections.\nThe built router.\nBuilder for creating a Router for accepting protocols.\nHandle an incoming connection.\nSee ProtocolHandler::accept.\nConfigures the router to accept the ProtocolHandler when …\nCreates a new Router using given Endpoint.\nReturns the Endpoint stored in this router.\nReturns the Endpoint of the node.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreates a new user error from an arbitrary error type.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nChecks if the router is already shutdown.\nCreates a new router builder using given Endpoint.\nCreate a new AccessLimit.\nOptional interception point to handle the Connecting state.\nSee ProtocolHandler::on_connecting.\nCalled when the router shuts down.\nSee ProtocolHandler::shutdown.\nShuts down the accept loop cleanly.\nSpawns an accept loop and returns a handle to it …\nToString::to_string, but without panic on OOM.\nA drop guard to clean up test infrastructure.\nHandle and drop guard for test DNS and Pkarr servers.\nCreate a ConcurrentDiscovery with DnsDiscovery and …\nCreate a DnsResolver configured to use the test DNS server.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nThe socket address of the DNS server.\nThe node origin domain.\nWait until a Pkarr announce for a node is published to the …\nThe HTTP URL of the Pkarr server.\nRun DNS and Pkarr servers on localhost.\nRuns a relay server with QUIC enabled suitable for tests.\nRuns a relay server.\nRun DNS and Pkarr servers on localhost with the specified …") \ No newline at end of file +searchState.loadedDescShard("iroh", 0, "Peer-to-peer QUIC connections.\nError when decoding.\nThe encoded information had the wrong length.\nError when decoding the public key.\nError when deserialising a PublicKey or a SecretKey.\nThe length of an ed25519 PublicKey, in bytes.\nNetwork-level addressing information for an iroh node.\nThe identifier for a node in the (iroh) network.\nA public key.\nConfiguration of all the relay servers that can be used.\nInformation on a specific relay server.\nA URL identifying a relay server.\nCan occur when parsing a string into a RelayUrl.\nA secret key.\nThe type of value that can change.\nA handle to a value that’s represented by one or more …\nGet this public key as a byte array.\nIs this a known node?\nDefault values used in iroh\nReturns the direct addresses of this peer.\nSocket addresses where the peer might be reached directly.\nNode address discovery.\nThis module exports a DNS resolver, which is also the …\nCreate an empty relay map.\nThe Endpoint allows establishing connections to other iroh …\nConvert to a hex string limited to the first 5 bytes for a …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the addressing info from given ticket.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreates a RelayMap from a RelayUrl.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstruct a PublicKey from a slice of bytes.\nCreate a secret key from its byte representation.\nCreates a RelayMap from an iterator of RelayUrl.\nCreates a new NodeAddr from its parts.\nGenerate a new SecretKey with a randomness generator.\nReturns the current state of the underlying value.\nGet the given node.\nReturns a future completing once the value is set to Some …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nWhether this watcher is still connected to all of its …\nReturns true, if only a NodeId is present.\nAre there any nodes in this map?\nHow many nodes are known?\nMaps this watcher with a function that transforms the …\nCo-locating all of the iroh metrics structs\nChecks the network conditions from the current host.\nCreates a new NodeAddr with no relay_url and no …\nThe node’s identifier.\nSupport for handling DNS resource records for dialing by …\nReturns an Iterator over all known nodes.\nReturns a watcher that updates every time this or the …\nPolls for the next value, or returns Disconnected if one …\nTools for spawning an accept loop that routes incoming …\nReturns the VerifyingKey for this PublicKey.\nThe public key of this SecretKey.\nConfiguration to speak to the QUIC endpoint on the relay …\nReturns the relay url of this peer.\nThe node’s home relay url.\nReturns the SigningKey for this SecretKey.\nSign the given message and return a digital signature\nReturns a stream which will yield the most recent values …\nReturns a stream which will yield the most recent values …\nInternal utilities to support testing.\nConvert this to the bytes representing the secret part. …\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nReturns a future completing with Ok(value) once a new …\nThe RelayUrl where this relay server can be dialed.\nReturns the sorted relay URLs.\nVerify a signature on a message with this secret key’s …\nAdds the given direct addresses.\nAdds a relay url.\nThe default HTTPS port used by the Relay server.\nThe default HTTP port used by the Relay server.\nThe default metrics port used by the Relay server.\nThe default QUIC port used by the Relay server to accept …\nProduction configuration.\nStaging configuration.\nHostname of the default Asia-Pacific relay.\nHostname of the default EU relay.\nHostname of the default NA relay.\nGet the default RelayNode for Asia-Pacific\nGet the default RelayNode for EU.\nGet the default RelayNode for NA.\nGet the default RelayMap.\nHostname of the default EU relay.\nHostname of the default NA relay.\nGet the default RelayNode for EU.\nGet the default RelayNode for NA.\nGet the default RelayMap.\nA discovery service that combines multiple discovery …\nNode discovery for super::Endpoint.\nContext about the Endpoint for discovery services.\nDiscovery errors\nNode discovery results from Discovery services.\nTrait for structs that can be converted into Discovery.\nIntoDiscovery errors\nThe max byte length allowed for user-defined data.\nData about a node that may be published to and resolved …\nInformation about a node that may be published to and …\nUnder the hood this is a UTF-8 String is no longer than …\nAdds a Discovery service.\nAdds direct addresses to the node data.\nRemoves all direct addresses from the node data.\nThe information published about the node.\nReturns the direct addresses of the node.\nDNS node discovery for iroh\nReturns the DnsResolver used by the endpoint.\nCreates an empty ConcurrentDiscovery.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\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 user error from an arbitrary error type.\nCreates a new user error from an arbitrary error type.\nCreates a new user error from an arbitrary boxed error …\nCreates a new user error from an arbitrary boxed error …\nCreates a new NodeInfo from its parts.\nParses a NodeInfo from a pkarr::SignedPacket.\nCreates a new ConcurrentDiscovery.\nParses a NodeInfo from DNS TXT lookup.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nTurns this discovery builder into a ready-to-use discovery …\nConverts into a NodeAddr without cloning.\nConverts into a NodeAddr without cloning.\nIs there any services configured?\nReturns the optional timestamp when this node info was …\nHow many services are configured\nA discovery service that uses an mdns-like service to …\nCreates a new NodeData with a relay URL and a set of …\nCreates a new NodeInfo with an empty NodeData.\nCreates a new DiscoveryItem from a NodeInfo.\nReturns the NodeId of the endpoint.\nReturns the node id of the discovered node.\nThe NodeId of the node this is about.\nReturns the NodeInfo for the discovered node.\nA discovery service which publishes and resolves node …\nReturns the provenance of this discovery item.\nPublishes the given NodeData to the discovery mechanism.\nReturns the relay URL of the node.\nResolves the DiscoveryItem for the given NodeId.\nReturns the SecretKey of the endpoint.\nSets the relay URL of the node data.\nSets the user-defined data of the node data.\nA static node discovery to manually add node addressing …\nConverts into a NodeAddr by cloning the needed fields.\nConverts into a NodeAddr by cloning the needed fields.\nCreates a pkarr::SignedPacket.\nConverts into a list of {key}={value} strings.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nReturns the optional user-defined data of the node.\nReturns any user-defined data.\nSets the direct addresses and returns the updated node …\nSets the direct addresses and returns the updated node …\nSets the relay URL and returns the updated node data.\nSets the relay URL and returns the updated node info.\nSets the user-defined data and returns the updated node …\nSets the user-defined data and returns the updated node …\nDNS node discovery\nBuilder for DnsDiscovery.\nThe n0 testing DNS node origin, for production.\nThe n0 testing DNS node origin, for testing.\nBuilds a DnsDiscovery with the passed DnsResolver.\nCreates a DnsDiscoveryBuilder that implements IntoDiscovery…\nSets the DNS resolver to use.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCreates a new DNS discovery using the iroh.link domain.\nA peer was discovered or it’s information was updated.\nAn event emitted from the MdnsDiscovery service.\nA peer was expired due to being inactive, unreachable, or …\nDiscovery using swarm-discovery, a variation on mdns\nBuilder for MdnsDiscovery.\nName of this discovery service.\nSets whether this node should advertise its presence.\nBuilds an MdnsDiscovery instance with the configured …\nReturns a MdnsDiscoveryBuilder that implements …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nSets a custom service name.\nSubscribe to discovered nodes\nOptional timestamp when this node address info was last …\nThe id of the node that expired.\nThe node info for the node, as discovered.\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.\nBuilder for PkarrPublisher.\nA pkarr client to publish pkarr::SignedPackets to a pkarr …\nResolver of node discovery information from a pkarr relay.\nBuilder for PkarrResolver.\nBuilds the PkarrPublisher with the passed secret key for …\nCreates a PkarrResolver from this builder.\nReturns a PkarrPublisherBuilder that publishes node info …\nCreates a new resolver builder using the pkarr relay …\nPkarr based node discovery for iroh, supporting both relay …\nSets the DNS resolver to use for resolving the pkarr relay …\nSets the DNS resolver to use for resolving the pkarr relay …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCreates a pkarr publisher which uses the number 0 pkarr …\nCreates a pkarr resolver builder which uses the number 0 …\nCreates a new client.\nPublishes a SignedPacket.\nSets the interval after which packets are republished even …\nResolves a SignedPacket for the given NodeId.\nToString::to_string, but without panic on OOM.\nSets the TTL (time-to-live) for published packets.\nPublishes the addressing information about this node to a …\nCreates a new client while passing a DNS resolver to use.\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 …\nCalls U::from(self).\nCalls U::from(self).\nUses the default number 0 pkarr relay URL.\nDisables publishing even if a secret key is set.\nSets the pkarr relay URL to use.\nSets the republish delay for the DHT.\nSets the secret key to use for signing the DNS packets.\nSets the time-to-live value for the DNS packets.\nThe provenance string for this discovery implementation.\nA static node discovery to manually add node addressing …\nAugments node addressing information for the given node ID.\nReturns the argument unchanged.\nCreates a static discovery instance from node addresses.\nReturns node addressing information for the given node ID.\nCalls U::from(self).\nCreates a new static discovery instance.\nRemoves all node addressing information for the given node …\nSets node addressing information for the given node ID.\nThe DNS resolver used throughout iroh.\nThe n0 testing DNS node origin, for production.\nThe n0 testing DNS node origin, for testing.\nCreates a builder to construct a DNS resolver with custom …\nRemoves all entries from the cache.\nCreates a new DnsResolver from a struct that implements …\nReturns the argument unchanged.\nCalls U::from(self).\nPerforms an IPv4 lookup with a timeout.\nResolves IPv4 and IPv6 in parallel with a timeout.\nRaces an IPv4 and IPv6 lookup with a timeout in a …\nPerforms an IPv4 lookup with a timeout in a staggered …\nPerforms an IPv6 lookup with a timeout.\nPerforms an IPv6 lookup with a timeout in a staggered …\nLooks up node info by DNS name.\nLooks up node info by DNS name in a staggered fashion.\nLooks up node info by NodeId and origin domain name.\nLooks up node info by NodeId and origin domain name.\nLooks up a TXT record.\nCreates a new DNS resolver with sensible cross-platform …\nRecreates the inner resolver.\nResolves a hostname from a URL to an IP address.\nCreates a new DNS resolver configured with a single UDP …\nthe endpoint has reached the confidentiality or integrity …\nthe application or application protocol caused the …\nFuture produced by Endpoint::accept.\nFuture produced by Connection::accept_bi\nFuture produced by Connection::accept_uni\nParameters for controlling the peer’s acknowledgement …\nA key for sealing data with AEAD-based algorithms\nUses all available paths\nApplication layer added the address directly.\nReason given by an application for closing the connection\nThe peer closed the connection\nBuilder for Endpoint.\nthe number of connection IDs provided by the peer exceeds …\nthe server refused to accept a new connection\nreceived more data in CRYPTO frames than can be buffered\nWe received a CallMeMaybe.\nA chunk of data from the receive stream\nThe connection could not be created because not enough of …\nError indicating that a stream has not been opened or has …\nThe stream has already been stopped, finished, or reset\nThe stream has already been finished or reset\nOptions for the Endpoint::connect_with_opts function.\nIn-progress connection attempt future\nA QUIC connection.\nReason given by the transport for closing the connection\nThe peer’s QUIC stack aborted the connection …\nReasons why a connection might be lost\nThe connection was lost\nThe connection was lost\nThe connection was lost\nThe connection was lost\nThe connection was lost\nConnection statistics\nThe type of connection we have to the endpoint.\nThe type of control message we have received.\nCommon interface for different congestion controllers\nConstructs controllers on demand\nGeneric crypto errors\nServer-side configuration for the crypto protocol\nUse a custom relay map.\nUse the default relay map, with production relay servers …\nDirect UDP connection\nA direct address on which an iroh-node might be …\nInformation about a direct address.\nThe type of direct address.\nDatagram support is disabled locally\nDisable relay servers completely.\nThe address was discovered by a discovery service.\nEnvironment variable to force the use of staging relays.\nControls an iroh node, establishing connections with other …\nError returned by Session::export_keying_material.\nreceived a STREAM frame or a RESET_STREAM frame containing …\nreceived more data than permitted in advertised data limits\nreceived a frame that was badly formatted\nThe stream finished before all bytes were read\nNumber of frames transmitted of each frame type\nA pseudo random key for HKDF\nthe endpoint encountered an internal error and cannot …\nreceived an invalid Retry Token in a client Initial\nAttempted an ordered read following an unordered read\nAn incoming connection for which the server has not yet …\nAdaptor to let Incoming be awaited like a Connecting.\nkey update error\nA locally bound socket address.\nThe local application closed the connection\nThe largest representable value\nThe largest encoded value length\nBoth a UDP and a relay connection are used.\nParameters governing MTU discovery.\nthe connection is being closed abruptly in the absence of …\nno viable network path exists\nApplication layer with a specific name added the node …\nWe have no verified connection to this PublicKey\nFuture produced by Connection::open_bi\nFuture produced by Connection::open_uni\ndetected an error with protocol compliance that was not …\nDefines the mode of path selection for all traffic flowing …\nStatistics related to a transmission path\nWe received a Ping from the node.\nWe received a Pong from the node.\nAn address assigned by the router using port mapping.\nPublic internet address discovered via QAD.\nHard NAT: QAD’ed IPv4 address + local fixed port.\nAn error occurred during reading\nFuture produced by Connection::read_datagram\nErrors that arise from reading from a stream.\nA read error occurred\nErrors that arise from reading from a stream.\nErrors from RecvStream::read_to_end\nA stream that can only be used to receive data\nRelay connection over relay\nA node communicated with us first via relay.\nConfiguration of the relay servers for an Endpoint.\nForces all traffic to go exclusively through relays\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\nreceived transport parameters that were badly formatted, …\nCommunication with the peer has lapsed for longer than the …\nThe datagram is larger than the connection can currently …\nThe stream is larger than the user-supplied limit\nParameters governing the core QUIC state machine\nTransport-level errors occur when a peer violates the …\nThe peer violated the QUIC specification as understood by …\nTransport-level error code\nA node communicated with us first via UDP.\nStatistics about UDP datagrams transmitted or received on …\nNot yet determined..\nThe peer does not support receiving datagram frames\nError indicating that the specified QUIC version is not …\nAn integer less than 2^62\nThe peer doesn’t implement any supported version\nA handle to some connection internals, use with care.\nErrors that arise from writing to a stream\nIndicates how many bytes and chunks had been transferred …\nFuture that completes when a connection is fully …\nThis was a 0-RTT stream and the server rejected it\nThis was a 0-RTT stream and the server rejected it\nThis was a 0-RTT stream and the server rejected it\nThis was a 0-RTT stream and the server rejected it\nAccepts an incoming connection on the endpoint.\nAttempts to accept this incoming connection (an error may …\nAccept the next incoming bidirectional stream.\nAccepts the next incoming uni-directional stream.\nAccepts this incoming connection using a custom …\nThe ack-eliciting threshold we will request the peer to use\nSpecifies the ACK frequency config (see AckFrequencyConfig …\nAdds a discovery mechanism for this endpoint.\nInforms this Endpoint about addresses of the iroh node, …\nThe UDP address reported by the remote node.\nThe address.\nDerive AEAD using hkdf\nWhether the implementation is permitted to set the spin …\nExtracts the ALPN protocol from the peer’s handshake …\nExtracts the ALPN protocol from the peer’s handshake …\nSets the ALPN protocols that this endpoint will accept on …\nBinds the magic endpoint.\nSets the IPv4 bind address.\nSets the IPv6 bind address.\nSpecifies the amount of time that MTU discovery should …\nThe number of times a black hole was detected in the path\nReturns the local socket addresses on which the underlying …\nConstruct a fresh Controller\nReturns the builder for an Endpoint, with a production …\nThe contents of the chunk\nThe total amount of bytes which have been transferred …\nThe amount of bytes which had been written\nThe amount of full chunks which had been written\nRemoves all discovery services from the builder.\nDuplicate the controller’s state\nCloses the QUIC endpoint and the magic socket.\nCloses the connection immediately.\nIf the connection is closed, the reason why.\nWait for the connection to be closed for any reason.\nType of error\nHow to construct new congestion::Controllers\nCongestion events on the connection\nCurrent state of the congestion control algorithm, for …\nReturns a Watcher that reports the current connection type …\nConnects to a remote Endpoint.\nStarts a connection attempt with a remote Endpoint.\nCreate QUIC error code from TLS alert code\nTLS configuration used for incoming connections\nMaximum quantity of out-of-order crypto layer data to …\nLargest UDP payload size the path currently supports\nCurrent congestion window of the connection\nMaximum number of incoming application datagram bytes to …\nMaximum number of outgoing application datagram bytes to …\nBytes available in the outgoing datagram buffer.\nThe amount of UDP datagrams observed\nReturns the default relay mode.\nWhich directions data flows in\nOptionally sets a discovery mechanism for this endpoint.\nReturns the discovery mechanism, if configured.\nConfigures the endpoint to also use the mainline DHT with …\nConfigures the endpoint to also use local network …\nConfigures the endpoint to use the default n0 DNS …\nOptionally sets a custom DNS resolver to use for this …\nReturns the DNS resolver used in this Endpoint.\nWhether to use “Generic Segmentation Offload” to …\nClass of error as encoded in the specification\nApplication-specific reason code\nDerives keying material from this connection’s TLS …\nNotify the peer that no more data will ever be written to …\nReturns true if the use of staging relays is forced.\nFrame type that triggered the error\nStatistics about frames received on a connection\nStatistics about frames transmitted on a connection\nType of frame that caused the close\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstruct a VarInt infallibly\nSucceeds iff x < 2^62\nCreate a VarInt without ensuring it’s in range\nParameters negotiated during the handshake\nParameters negotiated during the handshake.\nGet the identity of this stream\nGet the identity of this stream\nIgnores this incoming connection attempt, not sending any …\nMaximum number of received bytes to buffer for each …\nMaximum number of received bytes to buffer for all Incoming\nDistinguishes streams of the same initiator and …\nCreate the initial set of keys given the client’s …\nThe initial value to be used as the maximum UDP payload …\nThe RTT used before an RTT sample is taken\nInitial congestion window\nWhich side of a connection initiated the stream\nSkip verification of SSL certificates from relay servers\nSpecifies the time to wait after completing MTU discovery …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nConverts this Connecting into a 0-RTT or 0.5-RTT …\nReturns Self for use in down-casting to extract …\nGet the Incoming\nExtract the integer value\nThe amount of I/O operations executed\nCheck if this stream has been opened during 0-RTT.\nReturns true if the Connection associated with this handle …\nCheck if this endpoint is still alive, or already closed.\nPeriod of inactivity before sending a keep-alive packet\nEnables saving the TLS pre-master key for connections.\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 …\nReturns the currently lowest latency for this node.\nThe latency to the remote node over this network path.\nReturns the local IP address which was used when the peer …\nThe amount of bytes lost on this path\nThe amount of packets lost on this path\nThe amount of PLPMTUD probe packets lost on this path …\nThe max_ack_delay we will request the peer to use\nMaximum number of incoming bidirectional streams that may …\nVariant of max_concurrent_bidi_streams affecting …\nComputes the maximum size of datagrams that may be passed …\nMaximum duration of inactivity to accept before timing out …\nMaximum number of Incoming to allow to exist at a time\nSet the maximum number of TLS tickets to cache.\nReturns metrics collected for this endpoint.\nWhether to allow clients to migrate to new addresses\nThe maximum UDP payload size guaranteed to be supported by …\nSpecifies the minimum MTU change to stop the MTU discovery …\nSpecifies the MTU discovery config (see MtuDiscoveryConfig …\nNotifies the system of potential network changes.\nResets path-specific state.\nCreate a default config with a particular handshake token …\nCreate a new StreamId\nInitializes new connection options.\nReturns the current NodeAddr.\nReturns the node id of this endpoint.\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\nA convenience method that waits for the endpoint to be …\nMethod for opening a sealed message data\nInitiates a new outgoing bidirectional stream.\nInitiates a new outgoing unidirectional stream.\nMaximum reordering in packet number space before FACK …\nStatistics related to the current transmission path\nThis implies we only use the relay to communicate and do …\nCryptographic identity of the peer.\nNumber of consecutive PTOs after which network is …\nAttempts to read from the stream into buf.\nAttempt to write bytes from buf into the stream.\nThe preferred IPv4 address that will be communicated to …\nThe preferred IPv6 address that will be communicated to …\nGet the priority of the send stream\nSets the proxy url from the environment, in this order:\nSets an explicit proxy url to proxy all HTTP(S) traffic …\nRead data contiguously from the stream.\nRead the next segment of data\nRead the next segments of data\nReceives an application datagram.\nRead an exact number of bytes contiguously from the stream.\nConvenience method to read all remaining data into a buffer\nHuman-readable reason for the close\nHuman-readable reason for the close\nHuman-readable explanation of the reason\nWhether to receive observed address reports from other …\nMaximum number of bytes the peer may transmit across all …\nCompletes when the stream has been reset by the peer or …\nRejects this incoming connection attempt.\nReturns the relay map for this mode.\nSets the relay servers to assist in establishing …\nReturns the peer’s UDP address.\nWhether the socket address that is initiating this …\nReturns the NodeId from the peer’s TLS certificate.\nThe reordering threshold we will request the peer to use\nClose the send stream immediately.\nResponds with a retry packet.\nGenerate the integrity tag for a retry packet\nDuration after a retry token was issued for which it’s …\nCurrent best estimate of this connection’s latency …\nCurrent best estimate of this connection’s latency …\nSaturating integer addition. Computes self + rhs, …\nMethod for sealing message data\nSets a secret key to authenticate with other peers.\nReturns the secret_key of this endpoint.\nTransmits data as an unreliable, unordered application …\nWhether to implement fair queuing for send streams having …\nWhether to send observed address reports to peers.\nMaximum number of bytes to transmit to a peer without …\nThe amount of packets sent on this path\nThe amount of PLPMTUD probe packets sent on this path …\nSets the list of accepted ALPN protocols.\nModifies the number of bidirectional streams that may be …\nModifies the number of unidirectional streams that may be …\nSet the priority of the send stream\nSee quinn_proto::TransportConfig::receive_window.\nSets the initial user-defined data to be published in …\nA HashMap of Sources to Durations.\nA stable identifier for this connection.\nStart a server session with this configuration\nReturns connection statistics.\nStop accepting data\nCompletes when the peer stops the stream or reads the …\nMaximum number of bytes the peer may transmit without …\nObject to get current SystemTime\nMaximum reordering in time space before time based loss …\nPrivate key used to authenticate data included in …\nTransport configuration to use for incoming connections\nSet a custom TransportConfig\nSets a custom quinn::TransportConfig for this endpoint.\nSucceeds iff x < 2^62\nSucceeds iff x < 2^62\nSucceeds iff x < 2^62\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nThe origin of this direct address.\nStatistics about UDP datagrams received on a connection\nStatistics about UDP datagrams transmitted on a connection\nSpecifies the upper bound to the max UDP payload size that …\nSets the initial user-defined data to be published in …\nConfiguration for sending and handling validation tokens\nSet a custom ValidationTokenConfig\nReturns a Watcher for the current NodeAddr for this …\nNumber of ack-eliciting bytes that may be in flight\nSets ALPN identifiers that should be signaled as supported …\nCreate a server config with the given crypto::ServerConfig\nCreate a server config with the given certificate chain to …\nSets the QUIC transport config options for this connection.\nWrite bytes to the stream\nConvenience method to write an entire buffer to the stream\nConvenience method to write an entire list of chunks to …\nConvenience method to write a single chunk in its entirety …\nWrite chunks to the stream\nThe name of the discovery service that discovered the …\nThe name of the application that added the node\nMetrics collected by an crate::endpoint::Endpoint.\nEnum of metrics for the module\nEnum of metrics for the module\nMetrics tracked for the relay server\nNumber of times this server has accepted a connection.\nBytes received from a FrameType::SendPacket\nNumber of bytes received from client connection which have …\nBytes sent from a FrameType::SendPacket\nNumber of connections with a successful handshake that …\nNumber of connections with a successful handshake.\nNumber of client connections which have had any frames …\nFrameType::SendPacket dropped that are disco messages\nFrameType::SendPacket received that are disco messages\nFrameType::SendPacket sent that are disco messages\nNumber of connections we have removed because of an error\nNumber of times the external address obtained via port …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nNumber of FrameType::Pings received\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nNumber of updates to the local port.\nMetrics collected by the endpoint’s socket.\nNumber of mapping tasks started.\nNumber of failed mapping tasks.\nMetrics collected by net reports.\nNumber of nodes we have attempted to contact.\nNumber of nodes we have managed to contact directly.\nThe number of direct connections we have made to peers.\nThe number of direct connections we have lost to peers.\nThe number of connections to peers we have added over …\nThe number of connections to peers we have removed over …\nPackets of other FrameTypes dropped\nPackets of other FrameTypes received\nPackets of other FrameTypes sent\nNumber of PCP probes that found it available.\nNumber of PCP probes executed.\nMetrics collected by the portmapper service.\nNumber of probing tasks started.\nNumber of QUIC datagrams received.\nNumber of datagrams received using GRO\nFrameType::SendPacket dropped, that are not disco messages\nFrameType::SendPacket received, that are not disco messages\nFrameType::SendPacket sent, that are not disco messages\nNumber of FrameType::Pongs sent\nNumber of unique client keys per day\nNumber of FrameType::Unknown received\nNumber of UPnP probes that found it available.\nNumber of UPnP probes that resulted in a gateway different …\nNumber of UPnP probes executed.\nNumber of failed Upnp probes.\nHTTPS\nEnum of metrics for the module\nOptions for running probes\nThe protocol used to time a node’s latency.\nQUIC Address Discovery Ipv4\nQUIC Address Discovery Ipv6\nPieces needed to do QUIC address discovery.\nLatencies per relay node.\nA net_report report.\nTurn the options into set of valid protocols\nCaptivePortal is set when we think there’s a captive …\nA client config.\nCreate an Options that disables all probes\nA QUIC Endpoint\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nip:port of global IPv4\n[ip]:port of global IPv6\nDo we have any indication that UDP is working?\nEnable or disable https probe\nSkip cert verification\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nEnable ipv4 QUIC address discovery probes\nEnable ipv6 QUIC address discovery probes\nReturns an iterator over all the relays and their …\nWhether the reported public address differs when probing …\nWhether the reported public address differs when probing …\nWhether the reported public address differs when probing …\nProbe indicating the presence of port mapping protocols on …\nEnable quic probes\nkeyed by relay Url\nNumber of reports executed by net_report, including full …\nNumber of full reports executed by net_report\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nA QAD IPv4 round trip completed.\nA QAD IPv6 round trip completed.\nThe DNS name for the iroh TXT record.\nError returned when an input value is too long for UserData…\nData about a node that may be published to and resolved …\nExtension methods for NodeId to encode to and decode from …\nInformation about a node that may be published to and …\nUnder the hood this is a UTF-8 String is no longer than …\nThe information published about the node.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nParses a NodeId from [z-base-32] encoding.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nThe NodeId of the node this is about.\nEncodes a NodeId in [z-base-32] encoding.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nToString::to_string, but without panic on OOM.\nWraps an existing protocol, limiting its access, based on …\nA dyn-compatible version of ProtocolHandler that returns …\nHandler for incoming connections.\nThe built router.\nBuilder for creating a Router for accepting protocols.\nHandle an incoming connection.\nSee ProtocolHandler::accept.\nConfigures the router to accept the ProtocolHandler when …\nCreates a new Router using given Endpoint.\nReturns the Endpoint stored in this router.\nReturns the Endpoint of the node.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreates a new user error from an arbitrary error type.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nChecks if the router is already shutdown.\nCreates a new router builder using given Endpoint.\nCreate a new AccessLimit.\nOptional interception point to handle the Connecting state.\nSee ProtocolHandler::on_connecting.\nCalled when the router shuts down.\nSee ProtocolHandler::shutdown.\nShuts down the accept loop cleanly.\nSpawns an accept loop and returns a handle to it …\nToString::to_string, but without panic on OOM.\nA drop guard to clean up test infrastructure.\nHandle and drop guard for test DNS and Pkarr servers.\nCreate a ConcurrentDiscovery with DnsDiscovery and …\nCreate a DnsResolver configured to use the test DNS server.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nThe socket address of the DNS server.\nThe node origin domain.\nWait until a Pkarr announce for a node is published to the …\nThe HTTP URL of the Pkarr server.\nRun DNS and Pkarr servers on localhost.\nRuns a relay server with QUIC enabled suitable for tests.\nRuns a relay server.\nRun DNS and Pkarr servers on localhost with the specified …") \ No newline at end of file diff --git a/pr/3465/docs/src/iroh/discovery.rs.html b/pr/3465/docs/src/iroh/discovery.rs.html index 1f0735e551..ea170d9d62 100644 --- a/pr/3465/docs/src/iroh/discovery.rs.html +++ b/pr/3465/docs/src/iroh/discovery.rs.html @@ -771,7 +771,7 @@ 771 }; 772 let ep1_addr = NodeAddr::new(ep1.node_id()); 773 // wait for our address to be updated and thus published at least once -774 ep1.node_addr().initialized().await; +774 ep1.watch_node_addr().initialized().await; 775 let _conn = ep2.connect(ep1_addr, TEST_ALPN).await?; 776 Ok(()) 777 } @@ -797,7 +797,7 @@ 797 }; 798 let ep1_addr = NodeAddr::new(ep1.node_id()); 799 // wait for our address to be updated and thus published at least once -800 ep1.node_addr().initialized().await; +800 ep1.watch_node_addr().initialized().await; 801 let _conn = ep2.connect(ep1_addr, TEST_ALPN).await?; 802 Ok(()) 803 } @@ -824,7 +824,7 @@ 824 }; 825 let ep1_addr = NodeAddr::new(ep1.node_id()); 826 // wait for out address to be updated and thus published at least once -827 ep1.node_addr().initialized().await; +827 ep1.watch_node_addr().initialized().await; 828 let _conn = ep2 829 .connect(ep1_addr, TEST_ALPN) 830 .await @@ -857,7 +857,7 @@ 857 new_endpoint(secret, disco).await 858 }; 859 // wait for out address to be updated and thus published at least once -860 ep1.node_addr().initialized().await; +860 ep1.watch_node_addr().initialized().await; 861 let _conn = ep2.connect(ep1.node_id(), TEST_ALPN).await?; 862 Ok(()) 863 } @@ -881,7 +881,7 @@ 881 new_endpoint(secret, disco).await 882 }; 883 // wait for out address to be updated and thus published at least once -884 ep1.node_addr().initialized().await; +884 ep1.watch_node_addr().initialized().await; 885 886 // 10x faster test via a 3s idle timeout instead of the 30s default 887 let mut config = TransportConfig::default(); @@ -916,7 +916,7 @@ 916 new_endpoint(secret, disco).await 917 }; 918 // wait for out address to be updated and thus published at least once -919 ep1.node_addr().initialized().await; +919 ep1.watch_node_addr().initialized().await; 920 let ep1_wrong_addr = NodeAddr { 921 node_id: ep1.node_id(), 922 relay_url: None, diff --git a/pr/3465/docs/src/iroh/endpoint.rs.html b/pr/3465/docs/src/iroh/endpoint.rs.html index 781a652da4..882cdd6607 100644 --- a/pr/3465/docs/src/iroh/endpoint.rs.html +++ b/pr/3465/docs/src/iroh/endpoint.rs.html @@ -13,3144 +13,3171 @@ 13 14use std::{ 15 any::Any, -16 collections::BTreeSet, -17 future::{Future, IntoFuture}, -18 net::{IpAddr, SocketAddr, SocketAddrV4, SocketAddrV6}, -19 pin::Pin, -20 sync::Arc, -21 task::Poll, -22}; -23 -24use ed25519_dalek::{VerifyingKey, pkcs8::DecodePublicKey}; -25use iroh_base::{NodeAddr, NodeId, RelayUrl, SecretKey}; -26use iroh_relay::RelayMap; -27use n0_future::time::Duration; -28use n0_watcher::Watcher; -29use nested_enum_utils::common_fields; -30use pin_project::pin_project; -31use snafu::{ResultExt, Snafu, ensure}; -32use tracing::{debug, instrument, trace, warn}; -33use url::Url; -34 -35#[cfg(wasm_browser)] -36use crate::discovery::pkarr::PkarrResolver; -37#[cfg(not(wasm_browser))] -38use crate::{discovery::dns::DnsDiscovery, dns::DnsResolver}; -39use crate::{ -40 discovery::{ -41 ConcurrentDiscovery, DiscoveryError, DiscoveryTask, DynIntoDiscovery, IntoDiscovery, -42 UserData, pkarr::PkarrPublisher, -43 }, -44 magicsock::{self, Handle, NodeIdMappedAddr, OwnAddressSnafu}, -45 metrics::EndpointMetrics, -46 net_report::Report, -47 tls::{self, DEFAULT_MAX_TLS_TICKETS}, -48}; -49 -50mod rtt_actor; -51 -52// Missing still: SendDatagram and ConnectionClose::frame_type's Type. -53pub use quinn::{ -54 AcceptBi, AcceptUni, AckFrequencyConfig, ApplicationClose, Chunk, ClosedStream, -55 ConnectionClose, ConnectionError, ConnectionStats, MtuDiscoveryConfig, OpenBi, OpenUni, -56 ReadDatagram, ReadError, ReadExactError, ReadToEndError, RecvStream, ResetError, RetryError, -57 SendDatagramError, SendStream, ServerConfig, StoppedError, StreamId, TransportConfig, VarInt, -58 WeakConnectionHandle, WriteError, -59}; -60pub use quinn_proto::{ -61 FrameStats, PathStats, TransportError, TransportErrorCode, UdpStats, Written, -62 congestion::{Controller, ControllerFactory}, -63 crypto::{ -64 AeadKey, CryptoError, ExportKeyingMaterialError, HandshakeTokenKey, -65 ServerConfig as CryptoServerConfig, UnsupportedVersion, -66 }, -67}; -68 -69use self::rtt_actor::RttMessage; -70pub use super::magicsock::{ -71 AddNodeAddrError, ConnectionType, ControlMsg, DirectAddr, DirectAddrInfo, DirectAddrType, -72 Source, -73}; -74 -75/// The delay to fall back to discovery when direct addresses fail. -76/// -77/// When a connection is attempted with a [`NodeAddr`] containing direct addresses the -78/// [`Endpoint`] assumes one of those addresses probably works. If after this delay there -79/// is still no connection the configured [`crate::discovery::Discovery`] will be used however. -80const DISCOVERY_WAIT_PERIOD: Duration = Duration::from_millis(500); -81 -82/// Defines the mode of path selection for all traffic flowing through -83/// the endpoint. -84#[cfg(any(test, feature = "test-utils"))] -85#[derive(Debug, Default, Copy, Clone, PartialEq, Eq)] -86pub enum PathSelection { -87 /// Uses all available paths -88 #[default] -89 All, -90 /// Forces all traffic to go exclusively through relays -91 RelayOnly, -92} -93 -94/// Builder for [`Endpoint`]. -95/// -96/// By default the endpoint will generate a new random [`SecretKey`], which will result in a -97/// new [`NodeId`]. -98/// -99/// To create the [`Endpoint`] call [`Builder::bind`]. -100#[derive(Debug)] -101pub struct Builder { -102 secret_key: Option<SecretKey>, -103 relay_mode: RelayMode, -104 alpn_protocols: Vec<Vec<u8>>, -105 transport_config: quinn::TransportConfig, -106 keylog: bool, -107 discovery: Vec<Box<dyn DynIntoDiscovery>>, -108 discovery_user_data: Option<UserData>, -109 proxy_url: Option<Url>, -110 #[cfg(not(wasm_browser))] -111 dns_resolver: Option<DnsResolver>, -112 #[cfg(any(test, feature = "test-utils"))] -113 insecure_skip_relay_cert_verify: bool, -114 addr_v4: Option<SocketAddrV4>, -115 addr_v6: Option<SocketAddrV6>, -116 #[cfg(any(test, feature = "test-utils"))] -117 path_selection: PathSelection, -118 max_tls_tickets: usize, -119} -120 -121impl Default for Builder { -122 fn default() -> Self { -123 let mut transport_config = quinn::TransportConfig::default(); -124 transport_config.keep_alive_interval(Some(Duration::from_secs(1))); -125 Self { -126 secret_key: Default::default(), -127 relay_mode: default_relay_mode(), -128 alpn_protocols: Default::default(), -129 transport_config, -130 keylog: Default::default(), -131 discovery: Default::default(), -132 discovery_user_data: Default::default(), -133 proxy_url: None, -134 #[cfg(not(wasm_browser))] -135 dns_resolver: None, -136 #[cfg(any(test, feature = "test-utils"))] -137 insecure_skip_relay_cert_verify: false, -138 addr_v4: None, -139 addr_v6: None, -140 #[cfg(any(test, feature = "test-utils"))] -141 path_selection: PathSelection::default(), -142 max_tls_tickets: DEFAULT_MAX_TLS_TICKETS, -143 } -144 } -145} -146 -147impl Builder { -148 // The ordering of public methods is reflected directly in the documentation. This is -149 // roughly ordered by what is most commonly needed by users. -150 -151 // # The final constructor that everyone needs. -152 -153 /// Binds the magic endpoint. -154 pub async fn bind(self) -> Result<Endpoint, BindError> { -155 let mut rng = rand::rng(); -156 let relay_map = self.relay_mode.relay_map(); -157 let secret_key = self -158 .secret_key -159 .unwrap_or_else(move || SecretKey::generate(&mut rng)); -160 let static_config = StaticConfig { -161 transport_config: Arc::new(self.transport_config), -162 tls_config: tls::TlsConfig::new(secret_key.clone(), self.max_tls_tickets), -163 keylog: self.keylog, -164 }; -165 let server_config = static_config.create_server_config(self.alpn_protocols); -166 -167 #[cfg(not(wasm_browser))] -168 let dns_resolver = self.dns_resolver.unwrap_or_default(); -169 -170 let metrics = EndpointMetrics::default(); -171 -172 let msock_opts = magicsock::Options { -173 addr_v4: self.addr_v4, -174 addr_v6: self.addr_v6, -175 secret_key, -176 relay_map, -177 discovery: self.discovery, -178 discovery_user_data: self.discovery_user_data, -179 proxy_url: self.proxy_url, -180 #[cfg(not(wasm_browser))] -181 dns_resolver, -182 server_config, -183 #[cfg(any(test, feature = "test-utils"))] -184 insecure_skip_relay_cert_verify: self.insecure_skip_relay_cert_verify, -185 #[cfg(any(test, feature = "test-utils"))] -186 path_selection: self.path_selection, -187 metrics, -188 }; -189 -190 Endpoint::bind(static_config, msock_opts).await -191 } -192 -193 // # The very common methods everyone basically needs. -194 -195 /// Sets the IPv4 bind address. -196 /// -197 /// Setting the port to `0` will use a random port. -198 /// If the port specified is already in use, it will fallback to choosing a random port. -199 /// -200 /// By default will use `0.0.0.0:0` to bind to. -201 pub fn bind_addr_v4(mut self, addr: SocketAddrV4) -> Self { -202 self.addr_v4.replace(addr); -203 self -204 } -205 -206 /// Sets the IPv6 bind address. -207 /// -208 /// Setting the port to `0` will use a random port. -209 /// If the port specified is already in use, it will fallback to choosing a random port. -210 /// -211 /// By default will use `[::]:0` to bind to. -212 pub fn bind_addr_v6(mut self, addr: SocketAddrV6) -> Self { -213 self.addr_v6.replace(addr); -214 self -215 } -216 -217 /// Sets a secret key to authenticate with other peers. -218 /// -219 /// This secret key's public key will be the [`PublicKey`] of this endpoint and thus -220 /// also its [`NodeId`] -221 /// -222 /// If not set, a new secret key will be generated. -223 /// -224 /// [`PublicKey`]: iroh_base::PublicKey -225 pub fn secret_key(mut self, secret_key: SecretKey) -> Self { -226 self.secret_key = Some(secret_key); -227 self -228 } -229 -230 /// Sets the [ALPN] protocols that this endpoint will accept on incoming connections. -231 /// -232 /// Not setting this will still allow creating connections, but to accept incoming -233 /// connections at least one [ALPN] must be set. -234 /// -235 /// [ALPN]: https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation -236 pub fn alpns(mut self, alpn_protocols: Vec<Vec<u8>>) -> Self { -237 self.alpn_protocols = alpn_protocols; -238 self -239 } -240 -241 // # Methods for common customisation items. -242 -243 /// Sets the relay servers to assist in establishing connectivity. -244 /// -245 /// Relay servers are used to establish initial connection with another iroh node. -246 /// They also perform various functions related to hole punching, see the [crate docs] -247 /// for more details. -248 /// -249 /// By default the [number 0] relay servers are used, see [`RelayMode::Default`]. -250 /// -251 /// When using [RelayMode::Custom], the provided `relay_map` must contain at least one -252 /// configured relay node. If an invalid RelayMap is provided [`bind`] -253 /// will result in an error. -254 /// -255 /// [`bind`]: Builder::bind -256 /// [crate docs]: crate -257 /// [number 0]: https://n0.computer -258 pub fn relay_mode(mut self, relay_mode: RelayMode) -> Self { -259 self.relay_mode = relay_mode; -260 self -261 } -262 -263 /// Removes all discovery services from the builder. -264 pub fn clear_discovery(mut self) -> Self { -265 self.discovery.clear(); -266 self -267 } -268 -269 /// Optionally sets a discovery mechanism for this endpoint. -270 /// -271 /// If you want to combine multiple discovery services, you can use -272 /// [`Builder::add_discovery`] instead. This will internally create a -273 /// [`crate::discovery::ConcurrentDiscovery`]. -274 /// -275 /// If no discovery service is set, connecting to a node without providing its -276 /// direct addresses or relay URLs will fail. -277 /// -278 /// See the documentation of the [`crate::discovery::Discovery`] trait for details. -279 pub fn discovery(mut self, discovery: impl IntoDiscovery) -> Self { -280 self.discovery.clear(); -281 self.discovery.push(Box::new(discovery)); -282 self -283 } -284 -285 /// Adds a discovery mechanism for this endpoint. -286 /// -287 /// The function `discovery` -288 /// will be called on endpoint creation with the configured secret key of -289 /// the endpoint. Discovery services that need to publish information need -290 /// to use this secret key to sign the information. -291 /// -292 /// If you add multiple discovery services, they will be combined using a -293 /// [`crate::discovery::ConcurrentDiscovery`]. -294 /// -295 /// If no discovery service is set, connecting to a node without providing its -296 /// direct addresses or relay URLs will fail. -297 /// -298 /// To clear all discovery services, use [`Builder::clear_discovery`]. -299 /// -300 /// See the documentation of the [`crate::discovery::Discovery`] trait for details. -301 pub fn add_discovery(mut self, discovery: impl IntoDiscovery) -> Self { -302 self.discovery.push(Box::new(discovery)); -303 self -304 } -305 -306 /// Configures the endpoint to use the default n0 DNS discovery service. -307 /// -308 /// The default discovery service publishes to and resolves from the -309 /// n0.computer dns server `iroh.link`. -310 /// -311 /// This is equivalent to adding both a [`crate::discovery::pkarr::PkarrPublisher`] -312 /// and a [`crate::discovery::dns::DnsDiscovery`], both configured to use the -313 /// n0.computer dns server. -314 /// -315 /// This will by default use [`N0_DNS_PKARR_RELAY_PROD`]. -316 /// When in tests, or when the `test-utils` feature is enabled, this will use the -317 /// [`N0_DNS_PKARR_RELAY_STAGING`]. -318 /// -319 /// [`N0_DNS_PKARR_RELAY_PROD`]: crate::discovery::pkarr::N0_DNS_PKARR_RELAY_PROD -320 /// [`N0_DNS_PKARR_RELAY_STAGING`]: crate::discovery::pkarr::N0_DNS_PKARR_RELAY_STAGING -321 pub fn discovery_n0(mut self) -> Self { -322 self = self.add_discovery(PkarrPublisher::n0_dns()); -323 // Resolve using HTTPS requests to our DNS server's /pkarr path in browsers -324 #[cfg(wasm_browser)] -325 { -326 self = self.add_discovery(PkarrResolver::n0_dns()); -327 } -328 // Resolve using DNS queries outside browsers. -329 #[cfg(not(wasm_browser))] -330 { -331 self = self.add_discovery(DnsDiscovery::n0_dns()); -332 } -333 self -334 } -335 -336 #[cfg(feature = "discovery-pkarr-dht")] -337 /// Configures the endpoint to also use the mainline DHT with default settings. -338 /// -339 /// This is equivalent to adding a [`crate::discovery::pkarr::dht::DhtDiscovery`] -340 /// with default settings. Note that DhtDiscovery has various more advanced -341 /// configuration options. If you need any of those, you should manually -342 /// create a DhtDiscovery and add it with [`Builder::add_discovery`]. -343 pub fn discovery_dht(mut self) -> Self { -344 self = self.add_discovery(crate::discovery::pkarr::dht::DhtDiscovery::builder()); -345 self -346 } -347 -348 #[cfg(feature = "discovery-local-network")] -349 /// Configures the endpoint to also use local network discovery. -350 /// -351 /// This is equivalent to adding a [`crate::discovery::mdns::MdnsDiscovery`] -352 /// with default settings. Note that MdnsDiscovery has various more advanced -353 /// configuration options. If you need any of those, you should manually -354 /// create a MdnsDiscovery and add it with [`Builder::add_discovery`]. -355 pub fn discovery_local_network(mut self) -> Self { -356 self = self.add_discovery(crate::discovery::mdns::MdnsDiscovery::builder()); -357 self -358 } -359 -360 /// Sets the initial user-defined data to be published in discovery services for this node. -361 /// -362 /// When using discovery services, this string of [`UserData`] will be published together -363 /// with the node's addresses and relay URL. When other nodes discover this node, -364 /// they retrieve the [`UserData`] in addition to the addressing info. -365 /// -366 /// Iroh itself does not interpret the user-defined data in any way, it is purely left -367 /// for applications to parse and use. -368 pub fn user_data_for_discovery(mut self, user_data: UserData) -> Self { -369 self.discovery_user_data = Some(user_data); -370 self -371 } -372 -373 // # Methods for more specialist customisation. -374 -375 /// Sets a custom [`quinn::TransportConfig`] for this endpoint. -376 /// -377 /// The transport config contains parameters governing the QUIC state machine. -378 /// -379 /// If unset, the default config is used. Default values should be suitable for most -380 /// internet applications. Applications protocols which forbid remotely-initiated -381 /// streams should set `max_concurrent_bidi_streams` and `max_concurrent_uni_streams` to -382 /// zero. -383 /// -384 /// Please be aware that changing some settings may have adverse effects on establishing -385 /// and maintaining direct connections. -386 pub fn transport_config(mut self, transport_config: quinn::TransportConfig) -> Self { -387 self.transport_config = transport_config; -388 self -389 } -390 -391 /// Optionally sets a custom DNS resolver to use for this endpoint. -392 /// -393 /// The DNS resolver is used to resolve relay hostnames, and node addresses if -394 /// [`crate::discovery::dns::DnsDiscovery`] is configured. -395 /// -396 /// By default, a new DNS resolver is created which is configured to use the -397 /// host system's DNS configuration. You can pass a custom instance of [`DnsResolver`] -398 /// here to use a differently configured DNS resolver for this endpoint, or to share -399 /// a [`DnsResolver`] between multiple endpoints. -400 #[cfg(not(wasm_browser))] -401 pub fn dns_resolver(mut self, dns_resolver: DnsResolver) -> Self { -402 self.dns_resolver = Some(dns_resolver); -403 self -404 } -405 -406 /// Sets an explicit proxy url to proxy all HTTP(S) traffic through. -407 pub fn proxy_url(mut self, url: Url) -> Self { -408 self.proxy_url.replace(url); -409 self -410 } -411 -412 /// Sets the proxy url from the environment, in this order: -413 /// -414 /// - `HTTP_PROXY` -415 /// - `http_proxy` -416 /// - `HTTPS_PROXY` -417 /// - `https_proxy` -418 pub fn proxy_from_env(mut self) -> Self { -419 self.proxy_url = proxy_url_from_env(); -420 self -421 } -422 -423 /// Enables saving the TLS pre-master key for connections. -424 /// -425 /// This key should normally remain secret but can be useful to debug networking issues -426 /// by decrypting captured traffic. -427 /// -428 /// If *keylog* is `true` then setting the `SSLKEYLOGFILE` environment variable to a -429 /// filename will result in this file being used to log the TLS pre-master keys. -430 pub fn keylog(mut self, keylog: bool) -> Self { -431 self.keylog = keylog; -432 self -433 } -434 -435 /// Skip verification of SSL certificates from relay servers -436 /// -437 /// May only be used in tests. -438 #[cfg(any(test, feature = "test-utils"))] -439 pub fn insecure_skip_relay_cert_verify(mut self, skip_verify: bool) -> Self { -440 self.insecure_skip_relay_cert_verify = skip_verify; -441 self -442 } -443 -444 /// This implies we only use the relay to communicate -445 /// and do not attempt to do any hole punching. -446 #[cfg(any(test, feature = "test-utils"))] -447 pub fn path_selection(mut self, path_selection: PathSelection) -> Self { -448 self.path_selection = path_selection; -449 self -450 } -451 -452 /// Set the maximum number of TLS tickets to cache. -453 /// -454 /// Set this to a larger value if you want to do 0rtt connections to a large -455 /// number of clients. -456 /// -457 /// The default is 256, taking about 150 KiB in memory. -458 pub fn max_tls_tickets(mut self, n: usize) -> Self { -459 self.max_tls_tickets = n; -460 self -461 } -462} -463 -464/// Configuration for a [`quinn::Endpoint`] that cannot be changed at runtime. -465#[derive(Debug)] -466struct StaticConfig { -467 tls_config: tls::TlsConfig, -468 transport_config: Arc<quinn::TransportConfig>, -469 keylog: bool, -470} -471 -472impl StaticConfig { -473 /// Create a [`quinn::ServerConfig`] with the specified ALPN protocols. -474 fn create_server_config(&self, alpn_protocols: Vec<Vec<u8>>) -> ServerConfig { -475 let quic_server_config = self -476 .tls_config -477 .make_server_config(alpn_protocols, self.keylog); -478 let mut server_config = ServerConfig::with_crypto(Arc::new(quic_server_config)); -479 server_config.transport_config(self.transport_config.clone()); -480 -481 server_config -482 } -483} -484 -485/// Controls an iroh node, establishing connections with other nodes. -486/// -487/// This is the main API interface to create connections to, and accept connections from -488/// other iroh nodes. The connections are peer-to-peer and encrypted, a Relay server is -489/// used to make the connections reliable. See the [crate docs] for a more detailed -490/// overview of iroh. -491/// -492/// It is recommended to only create a single instance per application. This ensures all -493/// the connections made share the same peer-to-peer connections to other iroh nodes, -494/// while still remaining independent connections. This will result in more optimal network -495/// behaviour. -496/// -497/// The endpoint is created using the [`Builder`], which can be created using -498/// [`Endpoint::builder`]. -499/// -500/// Once an endpoint exists, new connections are typically created using the -501/// [`Endpoint::connect`] and [`Endpoint::accept`] methods. Once established, the -502/// [`Connection`] gives access to most [QUIC] features. Individual streams to send data to -503/// the peer are created using the [`Connection::open_bi`], [`Connection::accept_bi`], -504/// [`Connection::open_uni`] and [`Connection::open_bi`] functions. -505/// -506/// Note that due to the light-weight properties of streams a stream will only be accepted -507/// once the initiating peer has sent some data on it. -508/// -509/// [QUIC]: https://quicwg.org -510#[derive(Clone, Debug)] -511pub struct Endpoint { -512 /// Handle to the magicsocket/actor -513 msock: Handle, -514 /// Handle to the actor that resets the quinn RTT estimator -515 rtt_actor: Arc<rtt_actor::RttHandle>, -516 /// Configuration structs for quinn, holds the transport config, certificate setup, secret key etc. -517 static_config: Arc<StaticConfig>, -518} -519 -520#[allow(missing_docs)] -521#[common_fields({ -522 backtrace: Option<snafu::Backtrace>, -523 #[snafu(implicit)] -524 span_trace: n0_snafu::SpanTrace, -525})] -526#[derive(Debug, Snafu)] -527#[non_exhaustive] -528pub enum ConnectWithOptsError { -529 #[snafu(transparent)] -530 AddNodeAddr { source: AddNodeAddrError }, -531 #[snafu(display("Connecting to ourself is not supported"))] -532 SelfConnect {}, -533 #[snafu(display("No addressing information available"))] -534 NoAddress { source: GetMappingAddressError }, -535 #[snafu(display("Unable to connect to remote"))] -536 Quinn { source: quinn::ConnectError }, -537} -538 -539#[allow(missing_docs)] -540#[common_fields({ -541 backtrace: Option<snafu::Backtrace>, -542 #[snafu(implicit)] -543 span_trace: n0_snafu::SpanTrace, -544})] -545#[derive(Debug, Snafu)] -546#[non_exhaustive] -547pub enum ConnectError { -548 #[snafu(transparent)] -549 Connect { -550 #[snafu(source(from(ConnectWithOptsError, Box::new)))] -551 source: Box<ConnectWithOptsError>, -552 }, -553 #[snafu(transparent)] -554 Connection { -555 #[snafu(source(from(ConnectionError, Box::new)))] -556 source: Box<ConnectionError>, -557 }, -558} -559 -560#[allow(missing_docs)] -561#[common_fields({ -562 backtrace: Option<snafu::Backtrace>, -563 #[snafu(implicit)] -564 span_trace: n0_snafu::SpanTrace, -565})] -566#[derive(Debug, Snafu)] -567#[non_exhaustive] -568pub enum BindError { -569 #[snafu(transparent)] -570 MagicSpawn { -571 source: magicsock::CreateHandleError, -572 }, -573} -574 -575#[allow(missing_docs)] -576#[common_fields({ -577 backtrace: Option<snafu::Backtrace>, -578 #[snafu(implicit)] -579 span_trace: n0_snafu::SpanTrace, -580})] -581#[derive(Debug, Snafu)] -582#[snafu(module)] -583#[non_exhaustive] -584pub enum GetMappingAddressError { -585 #[snafu(display("Discovery service required due to missing addressing information"))] -586 DiscoveryStart { source: DiscoveryError }, -587 #[snafu(display("Discovery service failed"))] -588 Discover { source: DiscoveryError }, -589 #[snafu(display("No addressing information found"))] -590 NoAddress {}, -591} -592 -593impl Endpoint { -594 // The ordering of public methods is reflected directly in the documentation. This is -595 // roughly ordered by what is most commonly needed by users, but grouped in similar -596 // items. -597 -598 // # Methods relating to construction. -599 -600 /// Returns the builder for an [`Endpoint`], with a production configuration. -601 pub fn builder() -> Builder { -602 Builder::default() -603 } -604 -605 /// Creates a quinn endpoint backed by a magicsock. -606 /// -607 /// This is for internal use, the public interface is the [`Builder`] obtained from -608 /// [Self::builder]. See the methods on the builder for documentation of the parameters. -609 #[instrument("ep", skip_all, fields(me = %static_config.tls_config.secret_key.public().fmt_short()))] -610 async fn bind( -611 static_config: StaticConfig, -612 msock_opts: magicsock::Options, -613 ) -> Result<Self, BindError> { -614 let msock = magicsock::MagicSock::spawn(msock_opts).await?; -615 trace!("created magicsock"); -616 debug!(version = env!("CARGO_PKG_VERSION"), "iroh Endpoint created"); -617 -618 let metrics = msock.metrics.magicsock.clone(); -619 let ep = Self { -620 msock, -621 rtt_actor: Arc::new(rtt_actor::RttHandle::new(metrics)), -622 static_config: Arc::new(static_config), -623 }; -624 Ok(ep) -625 } -626 -627 /// Sets the list of accepted ALPN protocols. -628 /// -629 /// This will only affect new incoming connections. -630 /// Note that this *overrides* the current list of ALPNs. -631 pub fn set_alpns(&self, alpns: Vec<Vec<u8>>) { -632 let server_config = self.static_config.create_server_config(alpns); -633 self.msock.endpoint().set_server_config(Some(server_config)); -634 } -635 -636 // # Methods for establishing connectivity. -637 -638 /// Connects to a remote [`Endpoint`]. -639 /// -640 /// A value that can be converted into a [`NodeAddr`] is required. This can be either a -641 /// [`NodeAddr`], a [`NodeId`] or a [`iroh_base::ticket::NodeTicket`]. -642 /// -643 /// The [`NodeAddr`] must contain the [`NodeId`] to dial and may also contain a [`RelayUrl`] -644 /// and direct addresses. If direct addresses are provided, they will be used to try and -645 /// establish a direct connection without involving a relay server. -646 /// -647 /// If neither a [`RelayUrl`] or direct addresses are configured in the [`NodeAddr`] it -648 /// may still be possible a connection can be established. This depends on which, if any, -649 /// [`crate::discovery::Discovery`] services were configured using [`Builder::discovery`]. The discovery -650 /// service will also be used if the remote node is not reachable on the provided direct -651 /// addresses and there is no [`RelayUrl`]. -652 /// -653 /// If addresses or relay servers are neither provided nor can be discovered, the -654 /// connection attempt will fail with an error. -655 /// -656 /// The `alpn`, or application-level protocol identifier, is also required. The remote -657 /// endpoint must support this `alpn`, otherwise the connection attempt will fail with -658 /// an error. -659 pub async fn connect( -660 &self, -661 node_addr: impl Into<NodeAddr>, -662 alpn: &[u8], -663 ) -> Result<Connection, ConnectError> { -664 let node_addr = node_addr.into(); -665 let remote = node_addr.node_id; -666 let connecting = self -667 .connect_with_opts(node_addr, alpn, Default::default()) -668 .await?; -669 let conn = connecting.await?; -670 -671 debug!( -672 me = %self.node_id().fmt_short(), -673 remote = %remote.fmt_short(), -674 alpn = %String::from_utf8_lossy(alpn), -675 "Connection established." -676 ); -677 Ok(conn) -678 } -679 -680 /// Starts a connection attempt with a remote [`Endpoint`]. -681 /// -682 /// Like [`Endpoint::connect`] (see also its docs for general details), but allows for a more -683 /// advanced connection setup with more customization in two aspects: -684 /// 1. The returned future resolves to a [`Connecting`], which can be further processed into -685 /// a [`Connection`] by awaiting, or alternatively allows connecting with 0RTT via -686 /// [`Connecting::into_0rtt`]. -687 /// **Note:** Please read the documentation for `into_0rtt` carefully to assess -688 /// security concerns. -689 /// 2. The [`TransportConfig`] for the connection can be modified via the provided -690 /// [`ConnectOptions`]. -691 /// **Note:** Please be aware that changing transport config settings may have adverse effects on -692 /// establishing and maintaining direct connections. Carefully test settings you use and -693 /// consider this currently as still rather experimental. -694 #[instrument(name = "connect", skip_all, fields( -695 me = %self.node_id().fmt_short(), -696 remote = tracing::field::Empty, -697 alpn = String::from_utf8_lossy(alpn).to_string(), -698 ))] -699 pub async fn connect_with_opts( -700 &self, -701 node_addr: impl Into<NodeAddr>, -702 alpn: &[u8], -703 options: ConnectOptions, -704 ) -> Result<Connecting, ConnectWithOptsError> { -705 let node_addr: NodeAddr = node_addr.into(); -706 tracing::Span::current().record( -707 "remote", -708 tracing::field::display(node_addr.node_id.fmt_short()), -709 ); -710 -711 // Connecting to ourselves is not supported. -712 ensure!(node_addr.node_id != self.node_id(), SelfConnectSnafu); -713 -714 if !node_addr.is_empty() { -715 self.add_node_addr(node_addr.clone())?; -716 } -717 let node_id = node_addr.node_id; -718 let direct_addresses = node_addr.direct_addresses.clone(); -719 let relay_url = node_addr.relay_url.clone(); -720 -721 // Get the mapped IPv6 address from the magic socket. Quinn will connect to this -722 // address. Start discovery for this node if it's enabled and we have no valid or -723 // verified address information for this node. Dropping the discovery cancels any -724 // still running task. -725 let (mapped_addr, _discovery_drop_guard) = self -726 .get_mapping_addr_and_maybe_start_discovery(node_addr) -727 .await -728 .context(NoAddressSnafu)?; -729 -730 let transport_config = options -731 .transport_config -732 .unwrap_or(self.static_config.transport_config.clone()); -733 -734 // Start connecting via quinn. This will time out after 10 seconds if no reachable -735 // address is available. -736 -737 debug!( -738 ?mapped_addr, -739 ?direct_addresses, -740 ?relay_url, -741 "Attempting connection..." -742 ); -743 let client_config = { -744 let mut alpn_protocols = vec![alpn.to_vec()]; -745 alpn_protocols.extend(options.additional_alpns); -746 let quic_client_config = self -747 .static_config -748 .tls_config -749 .make_client_config(alpn_protocols, self.static_config.keylog); -750 let mut client_config = quinn::ClientConfig::new(Arc::new(quic_client_config)); -751 client_config.transport_config(transport_config); -752 client_config -753 }; -754 -755 let server_name = &tls::name::encode(node_id); -756 let connect = self -757 .msock -758 .endpoint() -759 .connect_with( -760 client_config, -761 mapped_addr.private_socket_addr(), -762 server_name, -763 ) -764 .context(QuinnSnafu)?; -765 -766 Ok(Connecting { -767 inner: connect, -768 ep: self.clone(), -769 remote_node_id: Some(node_id), -770 _discovery_drop_guard, -771 }) -772 } -773 -774 /// Accepts an incoming connection on the endpoint. -775 /// -776 /// Only connections with the ALPNs configured in [`Builder::alpns`] will be accepted. -777 /// If multiple ALPNs have been configured the ALPN can be inspected before accepting -778 /// the connection using [`Connecting::alpn`]. -779 /// -780 /// The returned future will yield `None` if the endpoint is closed by calling -781 /// [`Endpoint::close`]. -782 pub fn accept(&self) -> Accept<'_> { -783 Accept { -784 inner: self.msock.endpoint().accept(), -785 ep: self.clone(), -786 } -787 } -788 -789 // # Methods for manipulating the internal state about other nodes. -790 -791 /// Informs this [`Endpoint`] about addresses of the iroh node. -792 /// -793 /// This updates the local state for the remote node. If the provided [`NodeAddr`] -794 /// contains a [`RelayUrl`] this will be used as the new relay server for this node. If -795 /// it contains any new IP endpoints they will also be stored and tried when next -796 /// connecting to this node. Any address that matches this node's direct addresses will be -797 /// silently ignored. -798 /// -799 /// See also [`Endpoint::add_node_addr_with_source`]. -800 /// -801 /// # Using node discovery instead -802 /// -803 /// It is strongly advised to use node discovery using the [`StaticProvider`] instead. -804 /// This provides more flexibility and future proofing. -805 /// -806 /// # Errors -807 /// -808 /// Will return an error if we attempt to add our own [`NodeId`] to the node map or -809 /// if the direct addresses are a subset of ours. -810 /// -811 /// [`StaticProvider`]: crate::discovery::static_provider::StaticProvider -812 fn add_node_addr(&self, node_addr: NodeAddr) -> Result<(), AddNodeAddrError> { -813 self.add_node_addr_inner(node_addr, magicsock::Source::App) -814 } -815 -816 /// Informs this [`Endpoint`] about addresses of the iroh node, noting the source. -817 /// -818 /// This updates the local state for the remote node. If the provided [`NodeAddr`] contains a -819 /// [`RelayUrl`] this will be used as the new relay server for this node. If it contains any -820 /// new IP endpoints they will also be stored and tried when next connecting to this node. Any -821 /// address that matches this node's direct addresses will be silently ignored. The *source* is -822 /// used for logging exclusively and will not be stored. -823 /// -824 /// # Using node discovery instead +16 future::{Future, IntoFuture}, +17 net::{IpAddr, SocketAddr, SocketAddrV4, SocketAddrV6}, +18 pin::Pin, +19 sync::Arc, +20 task::Poll, +21}; +22 +23use ed25519_dalek::{VerifyingKey, pkcs8::DecodePublicKey}; +24use iroh_base::{NodeAddr, NodeId, SecretKey}; +25use iroh_relay::RelayMap; +26use n0_future::time::Duration; +27use n0_watcher::Watcher; +28use nested_enum_utils::common_fields; +29use pin_project::pin_project; +30use snafu::{ResultExt, Snafu, ensure}; +31use tracing::{debug, instrument, trace, warn}; +32use url::Url; +33 +34#[cfg(wasm_browser)] +35use crate::discovery::pkarr::PkarrResolver; +36#[cfg(not(wasm_browser))] +37use crate::{discovery::dns::DnsDiscovery, dns::DnsResolver}; +38use crate::{ +39 discovery::{ +40 ConcurrentDiscovery, DiscoveryError, DiscoveryTask, DynIntoDiscovery, IntoDiscovery, +41 UserData, pkarr::PkarrPublisher, +42 }, +43 magicsock::{self, Handle, NodeIdMappedAddr, OwnAddressSnafu}, +44 metrics::EndpointMetrics, +45 net_report::Report, +46 tls::{self, DEFAULT_MAX_TLS_TICKETS}, +47}; +48 +49mod rtt_actor; +50 +51// Missing still: SendDatagram and ConnectionClose::frame_type's Type. +52pub use quinn::{ +53 AcceptBi, AcceptUni, AckFrequencyConfig, ApplicationClose, Chunk, ClosedStream, +54 ConnectionClose, ConnectionError, ConnectionStats, MtuDiscoveryConfig, OpenBi, OpenUni, +55 ReadDatagram, ReadError, ReadExactError, ReadToEndError, RecvStream, ResetError, RetryError, +56 SendDatagramError, SendStream, ServerConfig, StoppedError, StreamId, TransportConfig, VarInt, +57 WeakConnectionHandle, WriteError, +58}; +59pub use quinn_proto::{ +60 FrameStats, PathStats, TransportError, TransportErrorCode, UdpStats, Written, +61 congestion::{Controller, ControllerFactory}, +62 crypto::{ +63 AeadKey, CryptoError, ExportKeyingMaterialError, HandshakeTokenKey, +64 ServerConfig as CryptoServerConfig, UnsupportedVersion, +65 }, +66}; +67 +68use self::rtt_actor::RttMessage; +69pub use super::magicsock::{ +70 AddNodeAddrError, ConnectionType, ControlMsg, DirectAddr, DirectAddrInfo, DirectAddrType, +71 Source, +72}; +73 +74/// The delay to fall back to discovery when direct addresses fail. +75/// +76/// When a connection is attempted with a [`NodeAddr`] containing direct addresses the +77/// [`Endpoint`] assumes one of those addresses probably works. If after this delay there +78/// is still no connection the configured [`crate::discovery::Discovery`] will be used however. +79const DISCOVERY_WAIT_PERIOD: Duration = Duration::from_millis(500); +80 +81/// Defines the mode of path selection for all traffic flowing through +82/// the endpoint. +83#[cfg(any(test, feature = "test-utils"))] +84#[derive(Debug, Default, Copy, Clone, PartialEq, Eq)] +85pub enum PathSelection { +86 /// Uses all available paths +87 #[default] +88 All, +89 /// Forces all traffic to go exclusively through relays +90 RelayOnly, +91} +92 +93/// Builder for [`Endpoint`]. +94/// +95/// By default the endpoint will generate a new random [`SecretKey`], which will result in a +96/// new [`NodeId`]. +97/// +98/// To create the [`Endpoint`] call [`Builder::bind`]. +99#[derive(Debug)] +100pub struct Builder { +101 secret_key: Option<SecretKey>, +102 relay_mode: RelayMode, +103 alpn_protocols: Vec<Vec<u8>>, +104 transport_config: quinn::TransportConfig, +105 keylog: bool, +106 discovery: Vec<Box<dyn DynIntoDiscovery>>, +107 discovery_user_data: Option<UserData>, +108 proxy_url: Option<Url>, +109 #[cfg(not(wasm_browser))] +110 dns_resolver: Option<DnsResolver>, +111 #[cfg(any(test, feature = "test-utils"))] +112 insecure_skip_relay_cert_verify: bool, +113 addr_v4: Option<SocketAddrV4>, +114 addr_v6: Option<SocketAddrV6>, +115 #[cfg(any(test, feature = "test-utils"))] +116 path_selection: PathSelection, +117 max_tls_tickets: usize, +118} +119 +120impl Default for Builder { +121 fn default() -> Self { +122 let mut transport_config = quinn::TransportConfig::default(); +123 transport_config.keep_alive_interval(Some(Duration::from_secs(1))); +124 Self { +125 secret_key: Default::default(), +126 relay_mode: default_relay_mode(), +127 alpn_protocols: Default::default(), +128 transport_config, +129 keylog: Default::default(), +130 discovery: Default::default(), +131 discovery_user_data: Default::default(), +132 proxy_url: None, +133 #[cfg(not(wasm_browser))] +134 dns_resolver: None, +135 #[cfg(any(test, feature = "test-utils"))] +136 insecure_skip_relay_cert_verify: false, +137 addr_v4: None, +138 addr_v6: None, +139 #[cfg(any(test, feature = "test-utils"))] +140 path_selection: PathSelection::default(), +141 max_tls_tickets: DEFAULT_MAX_TLS_TICKETS, +142 } +143 } +144} +145 +146impl Builder { +147 // The ordering of public methods is reflected directly in the documentation. This is +148 // roughly ordered by what is most commonly needed by users. +149 +150 // # The final constructor that everyone needs. +151 +152 /// Binds the magic endpoint. +153 pub async fn bind(self) -> Result<Endpoint, BindError> { +154 let mut rng = rand::rng(); +155 let relay_map = self.relay_mode.relay_map(); +156 let secret_key = self +157 .secret_key +158 .unwrap_or_else(move || SecretKey::generate(&mut rng)); +159 let static_config = StaticConfig { +160 transport_config: Arc::new(self.transport_config), +161 tls_config: tls::TlsConfig::new(secret_key.clone(), self.max_tls_tickets), +162 keylog: self.keylog, +163 }; +164 let server_config = static_config.create_server_config(self.alpn_protocols); +165 +166 #[cfg(not(wasm_browser))] +167 let dns_resolver = self.dns_resolver.unwrap_or_default(); +168 +169 let metrics = EndpointMetrics::default(); +170 +171 let msock_opts = magicsock::Options { +172 addr_v4: self.addr_v4, +173 addr_v6: self.addr_v6, +174 secret_key, +175 relay_map, +176 discovery: self.discovery, +177 discovery_user_data: self.discovery_user_data, +178 proxy_url: self.proxy_url, +179 #[cfg(not(wasm_browser))] +180 dns_resolver, +181 server_config, +182 #[cfg(any(test, feature = "test-utils"))] +183 insecure_skip_relay_cert_verify: self.insecure_skip_relay_cert_verify, +184 #[cfg(any(test, feature = "test-utils"))] +185 path_selection: self.path_selection, +186 metrics, +187 }; +188 +189 Endpoint::bind(static_config, msock_opts).await +190 } +191 +192 // # The very common methods everyone basically needs. +193 +194 /// Sets the IPv4 bind address. +195 /// +196 /// Setting the port to `0` will use a random port. +197 /// If the port specified is already in use, it will fallback to choosing a random port. +198 /// +199 /// By default will use `0.0.0.0:0` to bind to. +200 pub fn bind_addr_v4(mut self, addr: SocketAddrV4) -> Self { +201 self.addr_v4.replace(addr); +202 self +203 } +204 +205 /// Sets the IPv6 bind address. +206 /// +207 /// Setting the port to `0` will use a random port. +208 /// If the port specified is already in use, it will fallback to choosing a random port. +209 /// +210 /// By default will use `[::]:0` to bind to. +211 pub fn bind_addr_v6(mut self, addr: SocketAddrV6) -> Self { +212 self.addr_v6.replace(addr); +213 self +214 } +215 +216 /// Sets a secret key to authenticate with other peers. +217 /// +218 /// This secret key's public key will be the [`PublicKey`] of this endpoint and thus +219 /// also its [`NodeId`] +220 /// +221 /// If not set, a new secret key will be generated. +222 /// +223 /// [`PublicKey`]: iroh_base::PublicKey +224 pub fn secret_key(mut self, secret_key: SecretKey) -> Self { +225 self.secret_key = Some(secret_key); +226 self +227 } +228 +229 /// Sets the [ALPN] protocols that this endpoint will accept on incoming connections. +230 /// +231 /// Not setting this will still allow creating connections, but to accept incoming +232 /// connections at least one [ALPN] must be set. +233 /// +234 /// [ALPN]: https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation +235 pub fn alpns(mut self, alpn_protocols: Vec<Vec<u8>>) -> Self { +236 self.alpn_protocols = alpn_protocols; +237 self +238 } +239 +240 // # Methods for common customisation items. +241 +242 /// Sets the relay servers to assist in establishing connectivity. +243 /// +244 /// Relay servers are used to establish initial connection with another iroh node. +245 /// They also perform various functions related to hole punching, see the [crate docs] +246 /// for more details. +247 /// +248 /// By default the [number 0] relay servers are used, see [`RelayMode::Default`]. +249 /// +250 /// When using [RelayMode::Custom], the provided `relay_map` must contain at least one +251 /// configured relay node. If an invalid RelayMap is provided [`bind`] +252 /// will result in an error. +253 /// +254 /// [`bind`]: Builder::bind +255 /// [crate docs]: crate +256 /// [number 0]: https://n0.computer +257 pub fn relay_mode(mut self, relay_mode: RelayMode) -> Self { +258 self.relay_mode = relay_mode; +259 self +260 } +261 +262 /// Removes all discovery services from the builder. +263 pub fn clear_discovery(mut self) -> Self { +264 self.discovery.clear(); +265 self +266 } +267 +268 /// Optionally sets a discovery mechanism for this endpoint. +269 /// +270 /// If you want to combine multiple discovery services, you can use +271 /// [`Builder::add_discovery`] instead. This will internally create a +272 /// [`crate::discovery::ConcurrentDiscovery`]. +273 /// +274 /// If no discovery service is set, connecting to a node without providing its +275 /// direct addresses or relay URLs will fail. +276 /// +277 /// See the documentation of the [`crate::discovery::Discovery`] trait for details. +278 pub fn discovery(mut self, discovery: impl IntoDiscovery) -> Self { +279 self.discovery.clear(); +280 self.discovery.push(Box::new(discovery)); +281 self +282 } +283 +284 /// Adds a discovery mechanism for this endpoint. +285 /// +286 /// The function `discovery` +287 /// will be called on endpoint creation with the configured secret key of +288 /// the endpoint. Discovery services that need to publish information need +289 /// to use this secret key to sign the information. +290 /// +291 /// If you add multiple discovery services, they will be combined using a +292 /// [`crate::discovery::ConcurrentDiscovery`]. +293 /// +294 /// If no discovery service is set, connecting to a node without providing its +295 /// direct addresses or relay URLs will fail. +296 /// +297 /// To clear all discovery services, use [`Builder::clear_discovery`]. +298 /// +299 /// See the documentation of the [`crate::discovery::Discovery`] trait for details. +300 pub fn add_discovery(mut self, discovery: impl IntoDiscovery) -> Self { +301 self.discovery.push(Box::new(discovery)); +302 self +303 } +304 +305 /// Configures the endpoint to use the default n0 DNS discovery service. +306 /// +307 /// The default discovery service publishes to and resolves from the +308 /// n0.computer dns server `iroh.link`. +309 /// +310 /// This is equivalent to adding both a [`crate::discovery::pkarr::PkarrPublisher`] +311 /// and a [`crate::discovery::dns::DnsDiscovery`], both configured to use the +312 /// n0.computer dns server. +313 /// +314 /// This will by default use [`N0_DNS_PKARR_RELAY_PROD`]. +315 /// When in tests, or when the `test-utils` feature is enabled, this will use the +316 /// [`N0_DNS_PKARR_RELAY_STAGING`]. +317 /// +318 /// [`N0_DNS_PKARR_RELAY_PROD`]: crate::discovery::pkarr::N0_DNS_PKARR_RELAY_PROD +319 /// [`N0_DNS_PKARR_RELAY_STAGING`]: crate::discovery::pkarr::N0_DNS_PKARR_RELAY_STAGING +320 pub fn discovery_n0(mut self) -> Self { +321 self = self.add_discovery(PkarrPublisher::n0_dns()); +322 // Resolve using HTTPS requests to our DNS server's /pkarr path in browsers +323 #[cfg(wasm_browser)] +324 { +325 self = self.add_discovery(PkarrResolver::n0_dns()); +326 } +327 // Resolve using DNS queries outside browsers. +328 #[cfg(not(wasm_browser))] +329 { +330 self = self.add_discovery(DnsDiscovery::n0_dns()); +331 } +332 self +333 } +334 +335 #[cfg(feature = "discovery-pkarr-dht")] +336 /// Configures the endpoint to also use the mainline DHT with default settings. +337 /// +338 /// This is equivalent to adding a [`crate::discovery::pkarr::dht::DhtDiscovery`] +339 /// with default settings. Note that DhtDiscovery has various more advanced +340 /// configuration options. If you need any of those, you should manually +341 /// create a DhtDiscovery and add it with [`Builder::add_discovery`]. +342 pub fn discovery_dht(mut self) -> Self { +343 self = self.add_discovery(crate::discovery::pkarr::dht::DhtDiscovery::builder()); +344 self +345 } +346 +347 #[cfg(feature = "discovery-local-network")] +348 /// Configures the endpoint to also use local network discovery. +349 /// +350 /// This is equivalent to adding a [`crate::discovery::mdns::MdnsDiscovery`] +351 /// with default settings. Note that MdnsDiscovery has various more advanced +352 /// configuration options. If you need any of those, you should manually +353 /// create a MdnsDiscovery and add it with [`Builder::add_discovery`]. +354 pub fn discovery_local_network(mut self) -> Self { +355 self = self.add_discovery(crate::discovery::mdns::MdnsDiscovery::builder()); +356 self +357 } +358 +359 /// Sets the initial user-defined data to be published in discovery services for this node. +360 /// +361 /// When using discovery services, this string of [`UserData`] will be published together +362 /// with the node's addresses and relay URL. When other nodes discover this node, +363 /// they retrieve the [`UserData`] in addition to the addressing info. +364 /// +365 /// Iroh itself does not interpret the user-defined data in any way, it is purely left +366 /// for applications to parse and use. +367 pub fn user_data_for_discovery(mut self, user_data: UserData) -> Self { +368 self.discovery_user_data = Some(user_data); +369 self +370 } +371 +372 // # Methods for more specialist customisation. +373 +374 /// Sets a custom [`quinn::TransportConfig`] for this endpoint. +375 /// +376 /// The transport config contains parameters governing the QUIC state machine. +377 /// +378 /// If unset, the default config is used. Default values should be suitable for most +379 /// internet applications. Applications protocols which forbid remotely-initiated +380 /// streams should set `max_concurrent_bidi_streams` and `max_concurrent_uni_streams` to +381 /// zero. +382 /// +383 /// Please be aware that changing some settings may have adverse effects on establishing +384 /// and maintaining direct connections. +385 pub fn transport_config(mut self, transport_config: quinn::TransportConfig) -> Self { +386 self.transport_config = transport_config; +387 self +388 } +389 +390 /// Optionally sets a custom DNS resolver to use for this endpoint. +391 /// +392 /// The DNS resolver is used to resolve relay hostnames, and node addresses if +393 /// [`crate::discovery::dns::DnsDiscovery`] is configured. +394 /// +395 /// By default, a new DNS resolver is created which is configured to use the +396 /// host system's DNS configuration. You can pass a custom instance of [`DnsResolver`] +397 /// here to use a differently configured DNS resolver for this endpoint, or to share +398 /// a [`DnsResolver`] between multiple endpoints. +399 #[cfg(not(wasm_browser))] +400 pub fn dns_resolver(mut self, dns_resolver: DnsResolver) -> Self { +401 self.dns_resolver = Some(dns_resolver); +402 self +403 } +404 +405 /// Sets an explicit proxy url to proxy all HTTP(S) traffic through. +406 pub fn proxy_url(mut self, url: Url) -> Self { +407 self.proxy_url.replace(url); +408 self +409 } +410 +411 /// Sets the proxy url from the environment, in this order: +412 /// +413 /// - `HTTP_PROXY` +414 /// - `http_proxy` +415 /// - `HTTPS_PROXY` +416 /// - `https_proxy` +417 pub fn proxy_from_env(mut self) -> Self { +418 self.proxy_url = proxy_url_from_env(); +419 self +420 } +421 +422 /// Enables saving the TLS pre-master key for connections. +423 /// +424 /// This key should normally remain secret but can be useful to debug networking issues +425 /// by decrypting captured traffic. +426 /// +427 /// If *keylog* is `true` then setting the `SSLKEYLOGFILE` environment variable to a +428 /// filename will result in this file being used to log the TLS pre-master keys. +429 pub fn keylog(mut self, keylog: bool) -> Self { +430 self.keylog = keylog; +431 self +432 } +433 +434 /// Skip verification of SSL certificates from relay servers +435 /// +436 /// May only be used in tests. +437 #[cfg(any(test, feature = "test-utils"))] +438 pub fn insecure_skip_relay_cert_verify(mut self, skip_verify: bool) -> Self { +439 self.insecure_skip_relay_cert_verify = skip_verify; +440 self +441 } +442 +443 /// This implies we only use the relay to communicate +444 /// and do not attempt to do any hole punching. +445 #[cfg(any(test, feature = "test-utils"))] +446 pub fn path_selection(mut self, path_selection: PathSelection) -> Self { +447 self.path_selection = path_selection; +448 self +449 } +450 +451 /// Set the maximum number of TLS tickets to cache. +452 /// +453 /// Set this to a larger value if you want to do 0rtt connections to a large +454 /// number of clients. +455 /// +456 /// The default is 256, taking about 150 KiB in memory. +457 pub fn max_tls_tickets(mut self, n: usize) -> Self { +458 self.max_tls_tickets = n; +459 self +460 } +461} +462 +463/// Configuration for a [`quinn::Endpoint`] that cannot be changed at runtime. +464#[derive(Debug)] +465struct StaticConfig { +466 tls_config: tls::TlsConfig, +467 transport_config: Arc<quinn::TransportConfig>, +468 keylog: bool, +469} +470 +471impl StaticConfig { +472 /// Create a [`quinn::ServerConfig`] with the specified ALPN protocols. +473 fn create_server_config(&self, alpn_protocols: Vec<Vec<u8>>) -> ServerConfig { +474 let quic_server_config = self +475 .tls_config +476 .make_server_config(alpn_protocols, self.keylog); +477 let mut server_config = ServerConfig::with_crypto(Arc::new(quic_server_config)); +478 server_config.transport_config(self.transport_config.clone()); +479 +480 server_config +481 } +482} +483 +484/// Controls an iroh node, establishing connections with other nodes. +485/// +486/// This is the main API interface to create connections to, and accept connections from +487/// other iroh nodes. The connections are peer-to-peer and encrypted, a Relay server is +488/// used to make the connections reliable. See the [crate docs] for a more detailed +489/// overview of iroh. +490/// +491/// It is recommended to only create a single instance per application. This ensures all +492/// the connections made share the same peer-to-peer connections to other iroh nodes, +493/// while still remaining independent connections. This will result in more optimal network +494/// behaviour. +495/// +496/// The endpoint is created using the [`Builder`], which can be created using +497/// [`Endpoint::builder`]. +498/// +499/// Once an endpoint exists, new connections are typically created using the +500/// [`Endpoint::connect`] and [`Endpoint::accept`] methods. Once established, the +501/// [`Connection`] gives access to most [QUIC] features. Individual streams to send data to +502/// the peer are created using the [`Connection::open_bi`], [`Connection::accept_bi`], +503/// [`Connection::open_uni`] and [`Connection::open_bi`] functions. +504/// +505/// Note that due to the light-weight properties of streams a stream will only be accepted +506/// once the initiating peer has sent some data on it. +507/// +508/// [QUIC]: https://quicwg.org +509#[derive(Clone, Debug)] +510pub struct Endpoint { +511 /// Handle to the magicsocket/actor +512 msock: Handle, +513 /// Handle to the actor that resets the quinn RTT estimator +514 rtt_actor: Arc<rtt_actor::RttHandle>, +515 /// Configuration structs for quinn, holds the transport config, certificate setup, secret key etc. +516 static_config: Arc<StaticConfig>, +517} +518 +519#[allow(missing_docs)] +520#[common_fields({ +521 backtrace: Option<snafu::Backtrace>, +522 #[snafu(implicit)] +523 span_trace: n0_snafu::SpanTrace, +524})] +525#[derive(Debug, Snafu)] +526#[non_exhaustive] +527pub enum ConnectWithOptsError { +528 #[snafu(transparent)] +529 AddNodeAddr { source: AddNodeAddrError }, +530 #[snafu(display("Connecting to ourself is not supported"))] +531 SelfConnect {}, +532 #[snafu(display("No addressing information available"))] +533 NoAddress { source: GetMappingAddressError }, +534 #[snafu(display("Unable to connect to remote"))] +535 Quinn { source: quinn::ConnectError }, +536} +537 +538#[allow(missing_docs)] +539#[common_fields({ +540 backtrace: Option<snafu::Backtrace>, +541 #[snafu(implicit)] +542 span_trace: n0_snafu::SpanTrace, +543})] +544#[derive(Debug, Snafu)] +545#[non_exhaustive] +546pub enum ConnectError { +547 #[snafu(transparent)] +548 Connect { +549 #[snafu(source(from(ConnectWithOptsError, Box::new)))] +550 source: Box<ConnectWithOptsError>, +551 }, +552 #[snafu(transparent)] +553 Connection { +554 #[snafu(source(from(ConnectionError, Box::new)))] +555 source: Box<ConnectionError>, +556 }, +557} +558 +559#[allow(missing_docs)] +560#[common_fields({ +561 backtrace: Option<snafu::Backtrace>, +562 #[snafu(implicit)] +563 span_trace: n0_snafu::SpanTrace, +564})] +565#[derive(Debug, Snafu)] +566#[non_exhaustive] +567pub enum BindError { +568 #[snafu(transparent)] +569 MagicSpawn { +570 source: magicsock::CreateHandleError, +571 }, +572} +573 +574#[allow(missing_docs)] +575#[common_fields({ +576 backtrace: Option<snafu::Backtrace>, +577 #[snafu(implicit)] +578 span_trace: n0_snafu::SpanTrace, +579})] +580#[derive(Debug, Snafu)] +581#[snafu(module)] +582#[non_exhaustive] +583pub enum GetMappingAddressError { +584 #[snafu(display("Discovery service required due to missing addressing information"))] +585 DiscoveryStart { source: DiscoveryError }, +586 #[snafu(display("Discovery service failed"))] +587 Discover { source: DiscoveryError }, +588 #[snafu(display("No addressing information found"))] +589 NoAddress {}, +590} +591 +592impl Endpoint { +593 // The ordering of public methods is reflected directly in the documentation. This is +594 // roughly ordered by what is most commonly needed by users, but grouped in similar +595 // items. +596 +597 // # Methods relating to construction. +598 +599 /// Returns the builder for an [`Endpoint`], with a production configuration. +600 pub fn builder() -> Builder { +601 Builder::default() +602 } +603 +604 /// Creates a quinn endpoint backed by a magicsock. +605 /// +606 /// This is for internal use, the public interface is the [`Builder`] obtained from +607 /// [Self::builder]. See the methods on the builder for documentation of the parameters. +608 #[instrument("ep", skip_all, fields(me = %static_config.tls_config.secret_key.public().fmt_short()))] +609 async fn bind( +610 static_config: StaticConfig, +611 msock_opts: magicsock::Options, +612 ) -> Result<Self, BindError> { +613 let msock = magicsock::MagicSock::spawn(msock_opts).await?; +614 trace!("created magicsock"); +615 debug!(version = env!("CARGO_PKG_VERSION"), "iroh Endpoint created"); +616 +617 let metrics = msock.metrics.magicsock.clone(); +618 let ep = Self { +619 msock, +620 rtt_actor: Arc::new(rtt_actor::RttHandle::new(metrics)), +621 static_config: Arc::new(static_config), +622 }; +623 Ok(ep) +624 } +625 +626 /// Sets the list of accepted ALPN protocols. +627 /// +628 /// This will only affect new incoming connections. +629 /// Note that this *overrides* the current list of ALPNs. +630 pub fn set_alpns(&self, alpns: Vec<Vec<u8>>) { +631 let server_config = self.static_config.create_server_config(alpns); +632 self.msock.endpoint().set_server_config(Some(server_config)); +633 } +634 +635 // # Methods for establishing connectivity. +636 +637 /// Connects to a remote [`Endpoint`]. +638 /// +639 /// A value that can be converted into a [`NodeAddr`] is required. This can be either a +640 /// [`NodeAddr`], a [`NodeId`] or a [`iroh_base::ticket::NodeTicket`]. +641 /// +642 /// The [`NodeAddr`] must contain the [`NodeId`] to dial and may also contain a [`RelayUrl`] +643 /// and direct addresses. If direct addresses are provided, they will be used to try and +644 /// establish a direct connection without involving a relay server. +645 /// +646 /// If neither a [`RelayUrl`] or direct addresses are configured in the [`NodeAddr`] it +647 /// may still be possible a connection can be established. This depends on which, if any, +648 /// [`crate::discovery::Discovery`] services were configured using [`Builder::discovery`]. The discovery +649 /// service will also be used if the remote node is not reachable on the provided direct +650 /// addresses and there is no [`RelayUrl`]. +651 /// +652 /// If addresses or relay servers are neither provided nor can be discovered, the +653 /// connection attempt will fail with an error. +654 /// +655 /// The `alpn`, or application-level protocol identifier, is also required. The remote +656 /// endpoint must support this `alpn`, otherwise the connection attempt will fail with +657 /// an error. +658 /// +659 /// [`RelayUrl`]: crate::RelayUrl +660 pub async fn connect( +661 &self, +662 node_addr: impl Into<NodeAddr>, +663 alpn: &[u8], +664 ) -> Result<Connection, ConnectError> { +665 let node_addr = node_addr.into(); +666 let remote = node_addr.node_id; +667 let connecting = self +668 .connect_with_opts(node_addr, alpn, Default::default()) +669 .await?; +670 let conn = connecting.await?; +671 +672 debug!( +673 me = %self.node_id().fmt_short(), +674 remote = %remote.fmt_short(), +675 alpn = %String::from_utf8_lossy(alpn), +676 "Connection established." +677 ); +678 Ok(conn) +679 } +680 +681 /// Starts a connection attempt with a remote [`Endpoint`]. +682 /// +683 /// Like [`Endpoint::connect`] (see also its docs for general details), but allows for a more +684 /// advanced connection setup with more customization in two aspects: +685 /// 1. The returned future resolves to a [`Connecting`], which can be further processed into +686 /// a [`Connection`] by awaiting, or alternatively allows connecting with 0RTT via +687 /// [`Connecting::into_0rtt`]. +688 /// **Note:** Please read the documentation for `into_0rtt` carefully to assess +689 /// security concerns. +690 /// 2. The [`TransportConfig`] for the connection can be modified via the provided +691 /// [`ConnectOptions`]. +692 /// **Note:** Please be aware that changing transport config settings may have adverse effects on +693 /// establishing and maintaining direct connections. Carefully test settings you use and +694 /// consider this currently as still rather experimental. +695 #[instrument(name = "connect", skip_all, fields( +696 me = %self.node_id().fmt_short(), +697 remote = tracing::field::Empty, +698 alpn = String::from_utf8_lossy(alpn).to_string(), +699 ))] +700 pub async fn connect_with_opts( +701 &self, +702 node_addr: impl Into<NodeAddr>, +703 alpn: &[u8], +704 options: ConnectOptions, +705 ) -> Result<Connecting, ConnectWithOptsError> { +706 let node_addr: NodeAddr = node_addr.into(); +707 tracing::Span::current().record( +708 "remote", +709 tracing::field::display(node_addr.node_id.fmt_short()), +710 ); +711 +712 // Connecting to ourselves is not supported. +713 ensure!(node_addr.node_id != self.node_id(), SelfConnectSnafu); +714 +715 if !node_addr.is_empty() { +716 self.add_node_addr(node_addr.clone())?; +717 } +718 let node_id = node_addr.node_id; +719 let direct_addresses = node_addr.direct_addresses.clone(); +720 let relay_url = node_addr.relay_url.clone(); +721 +722 // Get the mapped IPv6 address from the magic socket. Quinn will connect to this +723 // address. Start discovery for this node if it's enabled and we have no valid or +724 // verified address information for this node. Dropping the discovery cancels any +725 // still running task. +726 let (mapped_addr, _discovery_drop_guard) = self +727 .get_mapping_addr_and_maybe_start_discovery(node_addr) +728 .await +729 .context(NoAddressSnafu)?; +730 +731 let transport_config = options +732 .transport_config +733 .unwrap_or(self.static_config.transport_config.clone()); +734 +735 // Start connecting via quinn. This will time out after 10 seconds if no reachable +736 // address is available. +737 +738 debug!( +739 ?mapped_addr, +740 ?direct_addresses, +741 ?relay_url, +742 "Attempting connection..." +743 ); +744 let client_config = { +745 let mut alpn_protocols = vec![alpn.to_vec()]; +746 alpn_protocols.extend(options.additional_alpns); +747 let quic_client_config = self +748 .static_config +749 .tls_config +750 .make_client_config(alpn_protocols, self.static_config.keylog); +751 let mut client_config = quinn::ClientConfig::new(Arc::new(quic_client_config)); +752 client_config.transport_config(transport_config); +753 client_config +754 }; +755 +756 let server_name = &tls::name::encode(node_id); +757 let connect = self +758 .msock +759 .endpoint() +760 .connect_with( +761 client_config, +762 mapped_addr.private_socket_addr(), +763 server_name, +764 ) +765 .context(QuinnSnafu)?; +766 +767 Ok(Connecting { +768 inner: connect, +769 ep: self.clone(), +770 remote_node_id: Some(node_id), +771 _discovery_drop_guard, +772 }) +773 } +774 +775 /// Accepts an incoming connection on the endpoint. +776 /// +777 /// Only connections with the ALPNs configured in [`Builder::alpns`] will be accepted. +778 /// If multiple ALPNs have been configured the ALPN can be inspected before accepting +779 /// the connection using [`Connecting::alpn`]. +780 /// +781 /// The returned future will yield `None` if the endpoint is closed by calling +782 /// [`Endpoint::close`]. +783 pub fn accept(&self) -> Accept<'_> { +784 Accept { +785 inner: self.msock.endpoint().accept(), +786 ep: self.clone(), +787 } +788 } +789 +790 // # Methods for manipulating the internal state about other nodes. +791 +792 /// Informs this [`Endpoint`] about addresses of the iroh node. +793 /// +794 /// This updates the local state for the remote node. If the provided [`NodeAddr`] +795 /// contains a [`RelayUrl`] this will be used as the new relay server for this node. If +796 /// it contains any new IP endpoints they will also be stored and tried when next +797 /// connecting to this node. Any address that matches this node's direct addresses will be +798 /// silently ignored. +799 /// +800 /// See also [`Endpoint::add_node_addr_with_source`]. +801 /// +802 /// # Using node discovery instead +803 /// +804 /// It is strongly advised to use node discovery using the [`StaticProvider`] instead. +805 /// This provides more flexibility and future proofing. +806 /// +807 /// # Errors +808 /// +809 /// Will return an error if we attempt to add our own [`NodeId`] to the node map or +810 /// if the direct addresses are a subset of ours. +811 /// +812 /// [`StaticProvider`]: crate::discovery::static_provider::StaticProvider +813 /// [`RelayUrl`]: crate::RelayUrl +814 fn add_node_addr(&self, node_addr: NodeAddr) -> Result<(), AddNodeAddrError> { +815 self.add_node_addr_inner(node_addr, magicsock::Source::App) +816 } +817 +818 /// Informs this [`Endpoint`] about addresses of the iroh node, noting the source. +819 /// +820 /// This updates the local state for the remote node. If the provided [`NodeAddr`] contains a +821 /// [`RelayUrl`] this will be used as the new relay server for this node. If it contains any +822 /// new IP endpoints they will also be stored and tried when next connecting to this node. Any +823 /// address that matches this node's direct addresses will be silently ignored. The *source* is +824 /// used for logging exclusively and will not be stored. 825 /// -826 /// It is strongly advised to use node discovery using the [`StaticProvider`] instead. -827 /// This provides more flexibility and future proofing. -828 /// -829 /// # Errors +826 /// # Using node discovery instead +827 /// +828 /// It is strongly advised to use node discovery using the [`StaticProvider`] instead. +829 /// This provides more flexibility and future proofing. 830 /// -831 /// Will return an error if we attempt to add our own [`NodeId`] to the node map or -832 /// if the direct addresses are a subset of ours. -833 /// -834 /// [`StaticProvider`]: crate::discovery::static_provider::StaticProvider -835 pub(crate) fn add_node_addr_with_source( -836 &self, -837 node_addr: NodeAddr, -838 source: &'static str, -839 ) -> Result<(), AddNodeAddrError> { -840 self.add_node_addr_inner( -841 node_addr, -842 magicsock::Source::NamedApp { -843 name: source.into(), -844 }, -845 ) -846 } -847 -848 fn add_node_addr_inner( -849 &self, -850 node_addr: NodeAddr, -851 source: magicsock::Source, -852 ) -> Result<(), AddNodeAddrError> { -853 // Connecting to ourselves is not supported. -854 snafu::ensure!(node_addr.node_id != self.node_id(), OwnAddressSnafu); -855 self.msock.add_node_addr(node_addr, source) -856 } -857 -858 // # Getter methods for properties of this Endpoint itself. -859 -860 /// Returns the secret_key of this endpoint. -861 pub fn secret_key(&self) -> &SecretKey { -862 &self.static_config.tls_config.secret_key -863 } -864 -865 /// Returns the node id of this endpoint. -866 /// -867 /// This ID is the unique addressing information of this node and other peers must know -868 /// it to be able to connect to this node. -869 pub fn node_id(&self) -> NodeId { -870 self.static_config.tls_config.secret_key.public() -871 } -872 -873 /// Returns a [`Watcher`] for the current [`NodeAddr`] for this endpoint. -874 /// -875 /// The observed [`NodeAddr`] will have the current [`RelayUrl`] and direct addresses -876 /// as they would be returned by [`Endpoint::home_relay`] and [`Endpoint::direct_addresses`]. -877 /// -878 /// Use [`Watcher::initialized`] to wait for a [`NodeAddr`] that is ready to be connected to: -879 /// -880 /// ```no_run -881 /// # async fn wrapper() -> n0_snafu::Result { -882 /// use iroh::{Endpoint, Watcher}; -883 /// -884 /// let endpoint = Endpoint::builder() -885 /// .alpns(vec![b"my-alpn".to_vec()]) -886 /// .bind() -887 /// .await?; -888 /// let node_addr = endpoint.node_addr().initialized().await; -889 /// # let _ = node_addr; -890 /// # Ok(()) -891 /// # } -892 /// ``` -893 #[cfg(not(wasm_browser))] -894 pub fn node_addr(&self) -> impl n0_watcher::Watcher<Value = Option<NodeAddr>> + use<> { -895 let watch_addrs = self.direct_addresses(); -896 let watch_relay = self.home_relay(); +831 /// # Errors +832 /// +833 /// Will return an error if we attempt to add our own [`NodeId`] to the node map or +834 /// if the direct addresses are a subset of ours. +835 /// +836 /// [`StaticProvider`]: crate::discovery::static_provider::StaticProvider +837 /// +838 /// [`RelayUrl`]: crate::RelayUrl +839 pub fn add_node_addr_with_source( +840 &self, +841 node_addr: NodeAddr, +842 source: &'static str, +843 ) -> Result<(), AddNodeAddrError> { +844 self.add_node_addr_inner( +845 node_addr, +846 magicsock::Source::NamedApp { +847 name: source.into(), +848 }, +849 ) +850 } +851 +852 fn add_node_addr_inner( +853 &self, +854 node_addr: NodeAddr, +855 source: magicsock::Source, +856 ) -> Result<(), AddNodeAddrError> { +857 // Connecting to ourselves is not supported. +858 snafu::ensure!(node_addr.node_id != self.node_id(), OwnAddressSnafu); +859 self.msock.add_node_addr(node_addr, source) +860 } +861 +862 // # Getter methods for properties of this Endpoint itself. +863 +864 /// Returns the secret_key of this endpoint. +865 pub fn secret_key(&self) -> &SecretKey { +866 &self.static_config.tls_config.secret_key +867 } +868 +869 /// Returns the node id of this endpoint. +870 /// +871 /// This ID is the unique addressing information of this node and other peers must know +872 /// it to be able to connect to this node. +873 pub fn node_id(&self) -> NodeId { +874 self.static_config.tls_config.secret_key.public() +875 } +876 +877 /// Returns the current [`NodeAddr`]. +878 /// +879 /// If this is called right after the [`Endpoint`] has been created, there is +880 /// a good chance these fields will be empty. +881 /// +882 /// Use the [`Endpoint::online`] method to ensure that the endpoint is considered +883 /// "online" (has contacted a relay server and has at least one local addresses) +884 /// before calling this method, if you want to ensure that the `NodeAddr` will +885 /// contain enough information to allow this endpoint to be dialable by +886 /// a remote endpoint. +887 /// +888 /// Or, use the [`Endpoint::watch_node_addr`] method to get updates when the +889 /// `NodeAddr` changes. +890 /// +891 /// The `NodeAddr` will change as: +892 /// - network conditions change +893 /// - the endpoint connects to a relay server +894 /// - the endpoint changes its preferred relay server +895 /// - more addresses are discovered for this endpoint +896 pub fn node_addr(&self) -> NodeAddr { 897 let node_id = self.node_id(); -898 -899 watch_addrs -900 .or(watch_relay) -901 .map(move |(addrs, mut relays)| match addrs { -902 Some(addrs) => Some(NodeAddr::from_parts( -903 node_id, -904 relays.pop(), -905 addrs.into_iter().map(|x| x.addr), -906 )), -907 None => relays.pop().map(|relay_url| { -908 NodeAddr::from_parts(node_id, Some(relay_url), std::iter::empty()) -909 }), -910 }) -911 .expect("watchable is alive - cannot be disconnected yet") -912 } -913 -914 /// Returns a [`Watcher`] for the current [`NodeAddr`] for this endpoint. -915 /// -916 /// When compiled to Wasm, this function returns a watcher that initializes -917 /// with a [`NodeAddr`] that only contains a relay URL, but no direct addresses, -918 /// as there are no APIs for directly using sockets in browsers. -919 #[cfg(wasm_browser)] -920 pub fn node_addr(&self) -> impl n0_watcher::Watcher<Value = Option<NodeAddr>> + use<> { -921 // In browsers, there will never be any direct addresses, so we wait -922 // for the home relay instead. This makes the `NodeAddr` have *some* way -923 // of connecting to us. -924 let watch_relay = self.home_relay(); -925 let node_id = self.node_id(); -926 watch_relay -927 .map(move |mut relays| { -928 relays.pop().map(|relay_url| { -929 NodeAddr::from_parts(node_id, Some(relay_url), std::iter::empty()) -930 }) -931 }) -932 .expect("watchable is alive - cannot be disconnected yet") -933 } -934 -935 /// Returns a [`Watcher`] for the [`RelayUrl`] of the Relay server used as home relay. -936 /// -937 /// Every endpoint has a home Relay server which it chooses as the server with the -938 /// lowest latency out of the configured servers provided by [`Builder::relay_mode`]. -939 /// This is the server other iroh nodes can use to reliably establish a connection -940 /// to this node. -941 /// -942 /// The watcher stores `None` if we are not connected to any Relay server. -943 /// -944 /// Note that this will store `None` right after the [`Endpoint`] is created since it takes -945 /// some time to connect to find and connect to the home relay server. -946 /// -947 /// # Examples -948 /// -949 /// To wait for a home relay connection to be established, use [`Watcher::initialized`]: -950 /// ```no_run -951 /// use iroh::{Endpoint, Watcher}; -952 /// -953 /// # let rt = tokio::runtime::Builder::new_current_thread().enable_all().build().unwrap(); -954 /// # rt.block_on(async move { -955 /// let mep = Endpoint::builder().bind().await.unwrap(); -956 /// let _relay_url = mep.home_relay().initialized().await; -957 /// # }); -958 /// ``` -959 pub fn home_relay(&self) -> impl n0_watcher::Watcher<Value = Vec<RelayUrl>> + use<> { -960 self.msock.home_relay() -961 } -962 -963 /// Returns a [`Watcher`] for the direct addresses of this [`Endpoint`]. -964 /// -965 /// The direct addresses of the [`Endpoint`] are those that could be used by other -966 /// iroh nodes to establish direct connectivity, depending on the network -967 /// situation. The yielded lists of direct addresses contain both the locally-bound -968 /// addresses and the [`Endpoint`]'s publicly reachable addresses discovered through -969 /// mechanisms such as [QAD] and port mapping. Hence usually only a subset of these -970 /// will be applicable to a certain remote iroh node. -971 /// -972 /// The [`Endpoint`] continuously monitors the direct addresses for changes as its own -973 /// location in the network might change. Whenever changes are detected this stream -974 /// will yield a new list of direct addresses. -975 /// -976 /// When issuing the first call to this method the first direct address discovery might -977 /// still be underway, in this case the [`Watcher`] might not be initialized with [`Some`] -978 /// value yet. Once the first set of local direct addresses are discovered the [`Watcher`] -979 /// will always return [`Some`] set of direct addresses immediately, which are the most -980 /// recently discovered direct addresses. -981 /// -982 /// # Examples -983 /// -984 /// To get the first set of direct addresses use [`Watcher::initialized`]: -985 /// ```no_run -986 /// use iroh::{Endpoint, Watcher as _}; +898 let relay_url = self.msock.home_relay().get().first().cloned(); +899 let direct_addresses = self +900 .msock +901 .direct_addresses() +902 .get() +903 .unwrap_or_default() +904 .into_iter() +905 .map(|addr| addr.addr) +906 .collect(); +907 +908 NodeAddr { +909 node_id, +910 relay_url, +911 direct_addresses, +912 } +913 } +914 +915 /// Returns a [`Watcher`] for the current [`NodeAddr`] for this endpoint. +916 /// +917 /// The observed [`NodeAddr`] will have the current [`RelayUrl`] and direct addresses. +918 /// +919 /// Use [`Watcher::initialized`] to wait for a [`NodeAddr`] that is ready to be connected to: +920 /// +921 /// ```no_run +922 /// # async fn wrapper() -> n0_snafu::Result { +923 /// use iroh::{Endpoint, Watcher}; +924 /// +925 /// let endpoint = Endpoint::builder() +926 /// .alpns(vec![b"my-alpn".to_vec()]) +927 /// .bind() +928 /// .await?; +929 /// let node_addr = endpoint.watch_node_addr().initialized().await; +930 /// # let _ = node_addr; +931 /// # Ok(()) +932 /// # } +933 /// ``` +934 /// +935 /// The [`Endpoint::online`] method can be used as a convenience method to +936 /// understand if the endpoint has ever been considered "online". But after +937 /// that initial call to [`Endpoint::online`], to understand if your +938 /// endpoint is no longer able to be connected to by endpoints outside +939 /// of the private or local network, watch for changes in it's [`NodeAddr`]. +940 /// If the `relay_url` is `None` or if there are no `direct_addresses` in +941 /// the [`NodeAddr`], you may not be dialable by other endpoints on the internet. +942 /// +943 /// [`RelayUrl`]: crate::RelayUrl +944 #[cfg(not(wasm_browser))] +945 pub fn watch_node_addr(&self) -> impl n0_watcher::Watcher<Value = Option<NodeAddr>> + use<> { +946 let watch_addrs = self.msock.direct_addresses(); +947 let watch_relay = self.msock.home_relay(); +948 let node_id = self.node_id(); +949 +950 watch_addrs +951 .or(watch_relay) +952 .map(move |(addrs, mut relays)| match addrs { +953 Some(addrs) => Some(NodeAddr::from_parts( +954 node_id, +955 relays.pop(), +956 addrs.into_iter().map(|x| x.addr), +957 )), +958 None => relays.pop().map(|relay_url| { +959 NodeAddr::from_parts(node_id, Some(relay_url), std::iter::empty()) +960 }), +961 }) +962 .expect("watchable is alive - cannot be disconnected yet") +963 } +964 +965 /// Returns a [`Watcher`] for the current [`NodeAddr`] for this endpoint. +966 /// +967 /// When compiled to Wasm, this function returns a watcher that initializes +968 /// with a [`NodeAddr`] that only contains a relay URL, but no direct addresses, +969 /// as there are no APIs for directly using sockets in browsers. +970 #[cfg(wasm_browser)] +971 pub fn watch_node_addr(&self) -> impl n0_watcher::Watcher<Value = Option<NodeAddr>> + use<> { +972 // In browsers, there will never be any direct addresses, so we wait +973 // for the home relay instead. This makes the `NodeAddr` have *some* way +974 // of connecting to us. +975 let watch_relay = self.msock.home_relay(); +976 let node_id = self.node_id(); +977 watch_relay +978 .map(move |mut relays| { +979 relays.pop().map(|relay_url| { +980 NodeAddr::from_parts(node_id, Some(relay_url), std::iter::empty()) +981 }) +982 }) +983 .expect("watchable is alive - cannot be disconnected yet") +984 } +985 +986 /// A convenience method that waits for the endpoint to be considered "online". 987 /// -988 /// # let rt = tokio::runtime::Builder::new_current_thread().enable_all().build().unwrap(); -989 /// # rt.block_on(async move { -990 /// let ep = Endpoint::builder().bind().await.unwrap(); -991 /// let _addrs = ep.direct_addresses().initialized().await; -992 /// # }); -993 /// ``` -994 /// -995 /// [QAD]: https://www.ietf.org/archive/id/draft-ietf-quic-address-discovery-00.html -996 pub fn direct_addresses(&self) -> n0_watcher::Direct<Option<BTreeSet<DirectAddr>>> { -997 self.msock.direct_addresses() -998 } -999 -1000 /// Returns a [`Watcher`] for any net-reports run from this [`Endpoint`]. -1001 /// -1002 /// A `net-report` checks the network conditions of the [`Endpoint`], such as -1003 /// whether it is connected to the internet via Ipv4 and/or Ipv6, its NAT -1004 /// status, its latency to the relay servers, and its public addresses. -1005 /// -1006 /// The [`Endpoint`] continuously runs `net-reports` to monitor if network -1007 /// conditions have changed. This [`Watcher`] will return the latest result -1008 /// of the `net-report`. -1009 /// -1010 /// When issuing the first call to this method the first report might -1011 /// still be underway, in this case the [`Watcher`] might not be initialized -1012 /// with [`Some`] value yet. Once the net-report has been successfully -1013 /// run, the [`Watcher`] will always return [`Some`] report immediately, which -1014 /// is the most recently run `net-report`. -1015 /// -1016 /// # Examples -1017 /// -1018 /// To get the first report use [`Watcher::initialized`]: -1019 /// ```no_run -1020 /// use iroh::{Endpoint, Watcher as _}; -1021 /// -1022 /// # let rt = tokio::runtime::Builder::new_current_thread().enable_all().build().unwrap(); -1023 /// # rt.block_on(async move { -1024 /// let ep = Endpoint::builder().bind().await.unwrap(); -1025 /// let _report = ep.net_report().initialized().await; -1026 /// # }); -1027 /// ``` -1028 #[doc(hidden)] -1029 pub fn net_report(&self) -> impl Watcher<Value = Option<Report>> + use<> { -1030 self.msock.net_report() -1031 } -1032 -1033 /// Returns the local socket addresses on which the underlying sockets are bound. -1034 /// -1035 /// The [`Endpoint`] always binds on an IPv4 address and also tries to bind on an IPv6 -1036 /// address if available. -1037 pub fn bound_sockets(&self) -> Vec<SocketAddr> { -1038 self.msock -1039 .local_addr() -1040 .into_iter() -1041 .filter_map(|addr| addr.into_socket_addr()) -1042 .collect() -1043 } -1044 -1045 // # Methods for less common getters. -1046 // -1047 // Partially they return things passed into the builder. -1048 -1049 /// Returns a [`Watcher`] that reports the current connection type and any changes for -1050 /// given remote node. -1051 /// -1052 /// This watcher allows observing a stream of [`ConnectionType`] items by calling -1053 /// [`Watcher::stream()`]. If the underlying connection to a remote node changes, it will -1054 /// yield a new item. These connection changes are when the connection switches between -1055 /// using the Relay server and a direct connection. -1056 /// -1057 /// Note that this does not guarantee each connection change is yielded in the stream. -1058 /// If the connection type changes several times before this stream is polled, only the -1059 /// last recorded state is returned. This can be observed e.g. right at the start of a -1060 /// connection when the switch from a relayed to a direct connection can be so fast that -1061 /// the relayed state is never exposed. -1062 /// -1063 /// If there is currently a connection with the remote node, then using [`Watcher::get`] -1064 /// will immediately return either [`ConnectionType::Relay`], [`ConnectionType::Direct`] -1065 /// or [`ConnectionType::Mixed`]. -1066 /// -1067 /// It is possible for the connection type to be [`ConnectionType::None`] if you've -1068 /// recently connected to this node id but previous methods of reaching the node have -1069 /// become inaccessible. -1070 /// -1071 /// Will return `None` if we do not have any address information for the given `node_id`. -1072 pub fn conn_type(&self, node_id: NodeId) -> Option<n0_watcher::Direct<ConnectionType>> { -1073 self.msock.conn_type(node_id) -1074 } -1075 -1076 /// Returns the currently lowest latency for this node. -1077 /// -1078 /// Will return `None` if we do not have any address information for the given `node_id`. -1079 pub fn latency(&self, node_id: NodeId) -> Option<Duration> { -1080 self.msock.latency(node_id) -1081 } -1082 -1083 /// Returns the DNS resolver used in this [`Endpoint`]. -1084 /// -1085 /// See [`Builder::dns_resolver`]. -1086 #[cfg(not(wasm_browser))] -1087 pub fn dns_resolver(&self) -> &DnsResolver { -1088 self.msock.dns_resolver() -1089 } -1090 -1091 /// Returns the discovery mechanism, if configured. -1092 /// -1093 /// See [`Builder::discovery`]. -1094 pub fn discovery(&self) -> &ConcurrentDiscovery { -1095 self.msock.discovery() -1096 } -1097 -1098 /// Returns metrics collected for this endpoint. -1099 /// -1100 /// The endpoint internally collects various metrics about its operation. -1101 /// The returned [`EndpointMetrics`] struct contains all of these metrics. -1102 /// -1103 /// You can access individual metrics directly by using the public fields: -1104 /// ```rust -1105 /// # use std::collections::BTreeMap; -1106 /// # use iroh::endpoint::Endpoint; -1107 /// # async fn wrapper() -> n0_snafu::Result { -1108 /// let endpoint = Endpoint::builder().bind().await?; -1109 /// assert_eq!(endpoint.metrics().magicsock.recv_datagrams.get(), 0); -1110 /// # Ok(()) -1111 /// # } -1112 /// ``` -1113 /// -1114 /// [`EndpointMetrics`] implements [`MetricsGroupSet`], and each field -1115 /// implements [`MetricsGroup`]. These traits provide methods to iterate over -1116 /// the groups in the set, and over the individual metrics in each group, without having -1117 /// to access each field manually. With these methods, it is straightforward to collect -1118 /// all metrics into a map or push their values to a metrics collector. -1119 /// -1120 /// For example, the following snippet collects all metrics into a map: -1121 /// ```rust -1122 /// # use std::collections::BTreeMap; -1123 /// # use iroh_metrics::{Metric, MetricsGroup, MetricValue, MetricsGroupSet}; -1124 /// # use iroh::endpoint::Endpoint; -1125 /// # async fn wrapper() -> n0_snafu::Result { -1126 /// let endpoint = Endpoint::builder().bind().await?; -1127 /// let metrics: BTreeMap<String, MetricValue> = endpoint -1128 /// .metrics() -1129 /// .iter() -1130 /// .map(|(group, metric)| { -1131 /// let name = [group, metric.name()].join(":"); -1132 /// (name, metric.value()) -1133 /// }) -1134 /// .collect(); -1135 /// -1136 /// assert_eq!(metrics["magicsock:recv_datagrams"], MetricValue::Counter(0)); -1137 /// # Ok(()) -1138 /// # } -1139 /// ``` -1140 /// -1141 /// The metrics can also be encoded into the OpenMetrics text format, as used by Prometheus. -1142 /// To do so, use the [`iroh_metrics::Registry`], add the endpoint metrics to the -1143 /// registry with [`Registry::register_all`], and encode the metrics to a string with -1144 /// [`encode_openmetrics_to_string`]: -1145 /// ```rust -1146 /// # use iroh_metrics::{Registry, MetricsSource}; +988 /// This currently means at least one relay server was connected, +989 /// and at least one local IP address is available. +990 /// Event if no relays are configured, this will still wait for a relay connection. +991 /// +992 /// Once this has been resolved once, this will always immediately resolve. +993 /// +994 /// This has no timeout, so if that is needed, you need to wrap it in a timeout. +995 /// +996 /// To understand if the endpoint has gone back "offline", +997 /// you must use the [`Endpoint::watch_node_addr`] method, to +998 /// get information on the current relay and direct address information. +999 #[cfg(not(wasm_browser))] +1000 pub async fn online(&self) { +1001 let mut watch1 = self.msock.home_relay(); +1002 let mut watch2 = self.msock.direct_addresses(); +1003 tokio::join!(watch1.initialized(), watch2.initialized()); +1004 } +1005 +1006 /// A convenience method that waits for the endpoint to be considered "online". +1007 /// +1008 /// This currently means at least one relay server was connected. +1009 /// Event if no relays are configured, this will still wait for a relay connection. +1010 /// +1011 /// Once this has been resolved once, this will always immediately resolve. +1012 /// +1013 /// This has no timeout, so if that is needed, you need to wrap it in a timeout. +1014 /// +1015 /// To understand if the endpoint has gone back "offline", +1016 /// you must use the [`Endpoint::watch_node_addr`] method, to +1017 /// get information on the current relay and direct address information. +1018 #[cfg(wasm_browser)] +1019 pub async fn online(&self) { +1020 self.msock.home_relay().initialized().await; +1021 } +1022 +1023 /// Returns a [`Watcher`] for any net-reports run from this [`Endpoint`]. +1024 /// +1025 /// A `net-report` checks the network conditions of the [`Endpoint`], such as +1026 /// whether it is connected to the internet via Ipv4 and/or Ipv6, its NAT +1027 /// status, its latency to the relay servers, and its public addresses. +1028 /// +1029 /// The [`Endpoint`] continuously runs `net-reports` to monitor if network +1030 /// conditions have changed. This [`Watcher`] will return the latest result +1031 /// of the `net-report`. +1032 /// +1033 /// When issuing the first call to this method the first report might +1034 /// still be underway, in this case the [`Watcher`] might not be initialized +1035 /// with [`Some`] value yet. Once the net-report has been successfully +1036 /// run, the [`Watcher`] will always return [`Some`] report immediately, which +1037 /// is the most recently run `net-report`. +1038 /// +1039 /// # Examples +1040 /// +1041 /// To get the first report use [`Watcher::initialized`]: +1042 /// ```no_run +1043 /// use iroh::{Endpoint, Watcher as _}; +1044 /// +1045 /// # let rt = tokio::runtime::Builder::new_current_thread().enable_all().build().unwrap(); +1046 /// # rt.block_on(async move { +1047 /// let ep = Endpoint::builder().bind().await.unwrap(); +1048 /// let _report = ep.net_report().initialized().await; +1049 /// # }); +1050 /// ``` +1051 #[doc(hidden)] +1052 pub fn net_report(&self) -> impl Watcher<Value = Option<Report>> + use<> { +1053 self.msock.net_report() +1054 } +1055 +1056 /// Returns the local socket addresses on which the underlying sockets are bound. +1057 /// +1058 /// The [`Endpoint`] always binds on an IPv4 address and also tries to bind on an IPv6 +1059 /// address if available. +1060 pub fn bound_sockets(&self) -> Vec<SocketAddr> { +1061 self.msock +1062 .local_addr() +1063 .into_iter() +1064 .filter_map(|addr| addr.into_socket_addr()) +1065 .collect() +1066 } +1067 +1068 // # Methods for less common getters. +1069 // +1070 // Partially they return things passed into the builder. +1071 +1072 /// Returns a [`Watcher`] that reports the current connection type and any changes for +1073 /// given remote node. +1074 /// +1075 /// This watcher allows observing a stream of [`ConnectionType`] items by calling +1076 /// [`Watcher::stream()`]. If the underlying connection to a remote node changes, it will +1077 /// yield a new item. These connection changes are when the connection switches between +1078 /// using the Relay server and a direct connection. +1079 /// +1080 /// Note that this does not guarantee each connection change is yielded in the stream. +1081 /// If the connection type changes several times before this stream is polled, only the +1082 /// last recorded state is returned. This can be observed e.g. right at the start of a +1083 /// connection when the switch from a relayed to a direct connection can be so fast that +1084 /// the relayed state is never exposed. +1085 /// +1086 /// If there is currently a connection with the remote node, then using [`Watcher::get`] +1087 /// will immediately return either [`ConnectionType::Relay`], [`ConnectionType::Direct`] +1088 /// or [`ConnectionType::Mixed`]. +1089 /// +1090 /// It is possible for the connection type to be [`ConnectionType::None`] if you've +1091 /// recently connected to this node id but previous methods of reaching the node have +1092 /// become inaccessible. +1093 /// +1094 /// Will return `None` if we do not have any address information for the given `node_id`. +1095 pub fn conn_type(&self, node_id: NodeId) -> Option<n0_watcher::Direct<ConnectionType>> { +1096 self.msock.conn_type(node_id) +1097 } +1098 +1099 /// Returns the currently lowest latency for this node. +1100 /// +1101 /// Will return `None` if we do not have any address information for the given `node_id`. +1102 pub fn latency(&self, node_id: NodeId) -> Option<Duration> { +1103 self.msock.latency(node_id) +1104 } +1105 +1106 /// Returns the DNS resolver used in this [`Endpoint`]. +1107 /// +1108 /// See [`Builder::dns_resolver`]. +1109 #[cfg(not(wasm_browser))] +1110 pub fn dns_resolver(&self) -> &DnsResolver { +1111 self.msock.dns_resolver() +1112 } +1113 +1114 /// Returns the discovery mechanism, if configured. +1115 /// +1116 /// See [`Builder::discovery`]. +1117 pub fn discovery(&self) -> &ConcurrentDiscovery { +1118 self.msock.discovery() +1119 } +1120 +1121 /// Returns metrics collected for this endpoint. +1122 /// +1123 /// The endpoint internally collects various metrics about its operation. +1124 /// The returned [`EndpointMetrics`] struct contains all of these metrics. +1125 /// +1126 /// You can access individual metrics directly by using the public fields: +1127 /// ```rust +1128 /// # use std::collections::BTreeMap; +1129 /// # use iroh::endpoint::Endpoint; +1130 /// # async fn wrapper() -> n0_snafu::Result { +1131 /// let endpoint = Endpoint::builder().bind().await?; +1132 /// assert_eq!(endpoint.metrics().magicsock.recv_datagrams.get(), 0); +1133 /// # Ok(()) +1134 /// # } +1135 /// ``` +1136 /// +1137 /// [`EndpointMetrics`] implements [`MetricsGroupSet`], and each field +1138 /// implements [`MetricsGroup`]. These traits provide methods to iterate over +1139 /// the groups in the set, and over the individual metrics in each group, without having +1140 /// to access each field manually. With these methods, it is straightforward to collect +1141 /// all metrics into a map or push their values to a metrics collector. +1142 /// +1143 /// For example, the following snippet collects all metrics into a map: +1144 /// ```rust +1145 /// # use std::collections::BTreeMap; +1146 /// # use iroh_metrics::{Metric, MetricsGroup, MetricValue, MetricsGroupSet}; 1147 /// # use iroh::endpoint::Endpoint; 1148 /// # async fn wrapper() -> n0_snafu::Result { 1149 /// let endpoint = Endpoint::builder().bind().await?; -1150 /// let mut registry = Registry::default(); -1151 /// registry.register_all(endpoint.metrics()); -1152 /// let s = registry.encode_openmetrics_to_string()?; -1153 /// assert!(s.contains(r#"TYPE magicsock_recv_datagrams counter"#)); -1154 /// assert!(s.contains(r#"magicsock_recv_datagrams_total 0"#)); -1155 /// # Ok(()) -1156 /// # } -1157 /// ``` +1150 /// let metrics: BTreeMap<String, MetricValue> = endpoint +1151 /// .metrics() +1152 /// .iter() +1153 /// .map(|(group, metric)| { +1154 /// let name = [group, metric.name()].join(":"); +1155 /// (name, metric.value()) +1156 /// }) +1157 /// .collect(); 1158 /// -1159 /// Through a registry, you can also add labels or prefixes to metrics with -1160 /// [`Registry::sub_registry_with_label`] or [`Registry::sub_registry_with_prefix`]. -1161 /// Furthermore, [`iroh_metrics::service`] provides functions to easily start services -1162 /// to serve the metrics with a HTTP server, dump them to a file, or push them -1163 /// to a Prometheus gateway. -1164 /// -1165 /// For example, the following snippet launches an HTTP server that serves the metrics in the -1166 /// OpenMetrics text format: -1167 /// ```no_run -1168 /// # use std::{sync::{Arc, RwLock}, time::Duration}; +1159 /// assert_eq!(metrics["magicsock:recv_datagrams"], MetricValue::Counter(0)); +1160 /// # Ok(()) +1161 /// # } +1162 /// ``` +1163 /// +1164 /// The metrics can also be encoded into the OpenMetrics text format, as used by Prometheus. +1165 /// To do so, use the [`iroh_metrics::Registry`], add the endpoint metrics to the +1166 /// registry with [`Registry::register_all`], and encode the metrics to a string with +1167 /// [`encode_openmetrics_to_string`]: +1168 /// ```rust 1169 /// # use iroh_metrics::{Registry, MetricsSource}; 1170 /// # use iroh::endpoint::Endpoint; -1171 /// # use n0_snafu::ResultExt; -1172 /// # async fn wrapper() -> n0_snafu::Result { -1173 /// // Create a registry, wrapped in a read-write lock so that we can register and serve -1174 /// // the metrics independently. -1175 /// let registry = Arc::new(RwLock::new(Registry::default())); -1176 /// // Spawn a task to serve the metrics on an OpenMetrics HTTP endpoint. -1177 /// let metrics_task = tokio::task::spawn({ -1178 /// let registry = registry.clone(); -1179 /// async move { -1180 /// let addr = "0.0.0.0:9100".parse().unwrap(); -1181 /// iroh_metrics::service::start_metrics_server(addr, registry).await -1182 /// } -1183 /// }); -1184 /// -1185 /// // Spawn an endpoint and add the metrics to the registry. -1186 /// let endpoint = Endpoint::builder().bind().await?; -1187 /// registry.write().unwrap().register_all(endpoint.metrics()); -1188 /// -1189 /// // Wait for the metrics server to bind, then fetch the metrics via HTTP. -1190 /// tokio::time::sleep(Duration::from_millis(500)); -1191 /// let res = reqwest::get("http://localhost:9100/metrics") -1192 /// .await -1193 /// .context("get")? -1194 /// .text() -1195 /// .await -1196 /// .context("text")?; -1197 /// -1198 /// assert!(res.contains(r#"TYPE magicsock_recv_datagrams counter"#)); -1199 /// assert!(res.contains(r#"magicsock_recv_datagrams_total 0"#)); -1200 /// # metrics_task.abort(); -1201 /// # Ok(()) -1202 /// # } -1203 /// ``` -1204 /// -1205 /// [`Registry`]: iroh_metrics::Registry -1206 /// [`Registry::register_all`]: iroh_metrics::Registry::register_all -1207 /// [`Registry::sub_registry_with_label`]: iroh_metrics::Registry::sub_registry_with_label -1208 /// [`Registry::sub_registry_with_prefix`]: iroh_metrics::Registry::sub_registry_with_prefix -1209 /// [`encode_openmetrics_to_string`]: iroh_metrics::MetricsSource::encode_openmetrics_to_string -1210 /// [`MetricsGroup`]: iroh_metrics::MetricsGroup -1211 /// [`MetricsGroupSet`]: iroh_metrics::MetricsGroupSet -1212 #[cfg(feature = "metrics")] -1213 pub fn metrics(&self) -> &EndpointMetrics { -1214 &self.msock.metrics -1215 } -1216 -1217 // # Methods for less common state updates. -1218 -1219 /// Notifies the system of potential network changes. +1171 /// # async fn wrapper() -> n0_snafu::Result { +1172 /// let endpoint = Endpoint::builder().bind().await?; +1173 /// let mut registry = Registry::default(); +1174 /// registry.register_all(endpoint.metrics()); +1175 /// let s = registry.encode_openmetrics_to_string()?; +1176 /// assert!(s.contains(r#"TYPE magicsock_recv_datagrams counter"#)); +1177 /// assert!(s.contains(r#"magicsock_recv_datagrams_total 0"#)); +1178 /// # Ok(()) +1179 /// # } +1180 /// ``` +1181 /// +1182 /// Through a registry, you can also add labels or prefixes to metrics with +1183 /// [`Registry::sub_registry_with_label`] or [`Registry::sub_registry_with_prefix`]. +1184 /// Furthermore, [`iroh_metrics::service`] provides functions to easily start services +1185 /// to serve the metrics with a HTTP server, dump them to a file, or push them +1186 /// to a Prometheus gateway. +1187 /// +1188 /// For example, the following snippet launches an HTTP server that serves the metrics in the +1189 /// OpenMetrics text format: +1190 /// ```no_run +1191 /// # use std::{sync::{Arc, RwLock}, time::Duration}; +1192 /// # use iroh_metrics::{Registry, MetricsSource}; +1193 /// # use iroh::endpoint::Endpoint; +1194 /// # use n0_snafu::ResultExt; +1195 /// # async fn wrapper() -> n0_snafu::Result { +1196 /// // Create a registry, wrapped in a read-write lock so that we can register and serve +1197 /// // the metrics independently. +1198 /// let registry = Arc::new(RwLock::new(Registry::default())); +1199 /// // Spawn a task to serve the metrics on an OpenMetrics HTTP endpoint. +1200 /// let metrics_task = tokio::task::spawn({ +1201 /// let registry = registry.clone(); +1202 /// async move { +1203 /// let addr = "0.0.0.0:9100".parse().unwrap(); +1204 /// iroh_metrics::service::start_metrics_server(addr, registry).await +1205 /// } +1206 /// }); +1207 /// +1208 /// // Spawn an endpoint and add the metrics to the registry. +1209 /// let endpoint = Endpoint::builder().bind().await?; +1210 /// registry.write().unwrap().register_all(endpoint.metrics()); +1211 /// +1212 /// // Wait for the metrics server to bind, then fetch the metrics via HTTP. +1213 /// tokio::time::sleep(Duration::from_millis(500)); +1214 /// let res = reqwest::get("http://localhost:9100/metrics") +1215 /// .await +1216 /// .context("get")? +1217 /// .text() +1218 /// .await +1219 /// .context("text")?; 1220 /// -1221 /// On many systems iroh is able to detect network changes by itself, however -1222 /// some systems like android do not expose this functionality to native code. -1223 /// Android does however provide this functionality to Java code. This -1224 /// function allows for notifying iroh of any potential network changes like -1225 /// this. -1226 /// -1227 /// Even when the network did not change, or iroh was already able to detect -1228 /// the network change itself, there is no harm in calling this function. -1229 pub async fn network_change(&self) { -1230 self.msock.network_change().await; -1231 } -1232 -1233 // # Methods to update internal state. -1234 -1235 /// Sets the initial user-defined data to be published in discovery services for this node. -1236 /// -1237 /// If the user-defined data passed to this function is different to the previous one, -1238 /// the endpoint will republish its node info to the configured discovery services. -1239 /// -1240 /// See also [`Builder::user_data_for_discovery`] for setting an initial value when -1241 /// building the endpoint. -1242 pub fn set_user_data_for_discovery(&self, user_data: Option<UserData>) { -1243 self.msock.set_user_data_for_discovery(user_data); -1244 } -1245 -1246 // # Methods for terminating the endpoint. -1247 -1248 /// Closes the QUIC endpoint and the magic socket. +1221 /// assert!(res.contains(r#"TYPE magicsock_recv_datagrams counter"#)); +1222 /// assert!(res.contains(r#"magicsock_recv_datagrams_total 0"#)); +1223 /// # metrics_task.abort(); +1224 /// # Ok(()) +1225 /// # } +1226 /// ``` +1227 /// +1228 /// [`Registry`]: iroh_metrics::Registry +1229 /// [`Registry::register_all`]: iroh_metrics::Registry::register_all +1230 /// [`Registry::sub_registry_with_label`]: iroh_metrics::Registry::sub_registry_with_label +1231 /// [`Registry::sub_registry_with_prefix`]: iroh_metrics::Registry::sub_registry_with_prefix +1232 /// [`encode_openmetrics_to_string`]: iroh_metrics::MetricsSource::encode_openmetrics_to_string +1233 /// [`MetricsGroup`]: iroh_metrics::MetricsGroup +1234 /// [`MetricsGroupSet`]: iroh_metrics::MetricsGroupSet +1235 #[cfg(feature = "metrics")] +1236 pub fn metrics(&self) -> &EndpointMetrics { +1237 &self.msock.metrics +1238 } +1239 +1240 // # Methods for less common state updates. +1241 +1242 /// Notifies the system of potential network changes. +1243 /// +1244 /// On many systems iroh is able to detect network changes by itself, however +1245 /// some systems like android do not expose this functionality to native code. +1246 /// Android does however provide this functionality to Java code. This +1247 /// function allows for notifying iroh of any potential network changes like +1248 /// this. 1249 /// -1250 /// This will close any remaining open [`Connection`]s with an error code -1251 /// of `0` and an empty reason. Though it is best practice to close those -1252 /// explicitly before with a custom error code and reason. -1253 /// -1254 /// It will then make a best effort to wait for all close notifications to be -1255 /// acknowledged by the peers, re-transmitting them if needed. This ensures the -1256 /// peers are aware of the closed connections instead of having to wait for a timeout -1257 /// on the connection. Once all connections are closed or timed out, the future -1258 /// finishes. +1250 /// Even when the network did not change, or iroh was already able to detect +1251 /// the network change itself, there is no harm in calling this function. +1252 pub async fn network_change(&self) { +1253 self.msock.network_change().await; +1254 } +1255 +1256 // # Methods to update internal state. +1257 +1258 /// Sets the initial user-defined data to be published in discovery services for this node. 1259 /// -1260 /// The maximum time-out that this future will wait for depends on QUIC transport -1261 /// configurations of non-drained connections at the time of calling, and their current -1262 /// estimates of round trip time. With default parameters and a conservative estimate -1263 /// of round trip time, this call's future should take 3 seconds to resolve in cases of -1264 /// bad connectivity or failed connections. In the usual case, this call's future should -1265 /// return much more quickly. -1266 /// -1267 /// It is highly recommended you *do* wait for this close call to finish, if possible. -1268 /// Not doing so will make connections that were still open while closing the endpoint -1269 /// time out on the remote end. Thus remote ends will assume connections to have failed -1270 /// even if all application data was transmitted successfully. -1271 /// -1272 /// Note: Someone used to closing TCP sockets might wonder why it is necessary to wait -1273 /// for timeouts when closing QUIC endpoints, while they don't have to do this for TCP -1274 /// sockets. This is due to QUIC and its acknowledgments being implemented in user-land, -1275 /// while TCP sockets usually get closed and drained by the operating system in the -1276 /// kernel during the "Time-Wait" period of the TCP socket. -1277 /// -1278 /// Be aware however that the underlying UDP sockets are only closed once all clones of -1279 /// the the respective [`Endpoint`] are dropped. -1280 pub async fn close(&self) { -1281 if self.is_closed() { -1282 return; -1283 } -1284 -1285 tracing::debug!("Connections closed"); -1286 self.msock.close().await; -1287 } -1288 -1289 /// Check if this endpoint is still alive, or already closed. -1290 pub fn is_closed(&self) -> bool { -1291 self.msock.is_closed() -1292 } -1293 -1294 // # Remaining private methods -1295 -1296 /// Checks if the given `NodeId` needs discovery. -1297 pub(crate) fn needs_discovery(&self, node_id: NodeId, max_age: Duration) -> bool { -1298 match self.msock.remote_info(node_id) { -1299 // No info means no path to node -> start discovery. -1300 None => true, -1301 Some(info) => { -1302 match ( -1303 info.last_received(), -1304 info.relay_url.as_ref().and_then(|r| r.last_alive), -1305 ) { -1306 // No path to node -> start discovery. -1307 (None, None) => true, -1308 // If we haven't received on direct addresses or the relay for MAX_AGE, -1309 // start discovery. -1310 (Some(elapsed), Some(elapsed_relay)) => { -1311 elapsed > max_age && elapsed_relay > max_age -1312 } -1313 (Some(elapsed), _) | (_, Some(elapsed)) => elapsed > max_age, -1314 } -1315 } -1316 } -1317 } +1260 /// If the user-defined data passed to this function is different to the previous one, +1261 /// the endpoint will republish its node info to the configured discovery services. +1262 /// +1263 /// See also [`Builder::user_data_for_discovery`] for setting an initial value when +1264 /// building the endpoint. +1265 pub fn set_user_data_for_discovery(&self, user_data: Option<UserData>) { +1266 self.msock.set_user_data_for_discovery(user_data); +1267 } +1268 +1269 // # Methods for terminating the endpoint. +1270 +1271 /// Closes the QUIC endpoint and the magic socket. +1272 /// +1273 /// This will close any remaining open [`Connection`]s with an error code +1274 /// of `0` and an empty reason. Though it is best practice to close those +1275 /// explicitly before with a custom error code and reason. +1276 /// +1277 /// It will then make a best effort to wait for all close notifications to be +1278 /// acknowledged by the peers, re-transmitting them if needed. This ensures the +1279 /// peers are aware of the closed connections instead of having to wait for a timeout +1280 /// on the connection. Once all connections are closed or timed out, the future +1281 /// finishes. +1282 /// +1283 /// The maximum time-out that this future will wait for depends on QUIC transport +1284 /// configurations of non-drained connections at the time of calling, and their current +1285 /// estimates of round trip time. With default parameters and a conservative estimate +1286 /// of round trip time, this call's future should take 3 seconds to resolve in cases of +1287 /// bad connectivity or failed connections. In the usual case, this call's future should +1288 /// return much more quickly. +1289 /// +1290 /// It is highly recommended you *do* wait for this close call to finish, if possible. +1291 /// Not doing so will make connections that were still open while closing the endpoint +1292 /// time out on the remote end. Thus remote ends will assume connections to have failed +1293 /// even if all application data was transmitted successfully. +1294 /// +1295 /// Note: Someone used to closing TCP sockets might wonder why it is necessary to wait +1296 /// for timeouts when closing QUIC endpoints, while they don't have to do this for TCP +1297 /// sockets. This is due to QUIC and its acknowledgments being implemented in user-land, +1298 /// while TCP sockets usually get closed and drained by the operating system in the +1299 /// kernel during the "Time-Wait" period of the TCP socket. +1300 /// +1301 /// Be aware however that the underlying UDP sockets are only closed once all clones of +1302 /// the the respective [`Endpoint`] are dropped. +1303 pub async fn close(&self) { +1304 if self.is_closed() { +1305 return; +1306 } +1307 +1308 tracing::debug!("Connections closed"); +1309 self.msock.close().await; +1310 } +1311 +1312 /// Check if this endpoint is still alive, or already closed. +1313 pub fn is_closed(&self) -> bool { +1314 self.msock.is_closed() +1315 } +1316 +1317 // # Remaining private methods 1318 -1319 /// Return the quic mapped address for this `node_id` and possibly start discovery -1320 /// services if discovery is enabled on this magic endpoint. -1321 /// -1322 /// This will launch discovery in all cases except if: -1323 /// 1) we do not have discovery enabled -1324 /// 2) we have discovery enabled, but already have at least one verified, unexpired -1325 /// addresses for this `node_id` -1326 /// -1327 /// # Errors -1328 /// -1329 /// This method may fail if we have no way of dialing the node. This can occur if -1330 /// we were given no dialing information in the [`NodeAddr`] and no discovery -1331 /// services were configured or if discovery failed to fetch any dialing information. -1332 async fn get_mapping_addr_and_maybe_start_discovery( -1333 &self, -1334 node_addr: NodeAddr, -1335 ) -> Result<(NodeIdMappedAddr, Option<DiscoveryTask>), GetMappingAddressError> { -1336 let node_id = node_addr.node_id; -1337 -1338 // Only return a mapped addr if we have some way of dialing this node, in other -1339 // words, we have either a relay URL or at least one direct address. -1340 let addr = if self.msock.has_send_address(node_id) { -1341 self.msock.get_mapping_addr(node_id) -1342 } else { -1343 None -1344 }; -1345 match addr { -1346 Some(addr) => { -1347 // We have some way of dialing this node, but that doesn't actually mean -1348 // we can actually connect to any of these addresses. -1349 // Therefore, we will invoke the discovery service if we haven't received from the -1350 // endpoint on any of the existing paths recently. -1351 // If the user provided addresses in this connect call, we will add a delay -1352 // followed by a recheck before starting the discovery, to give the magicsocket a -1353 // chance to test the newly provided addresses. -1354 let delay = (!node_addr.is_empty()).then_some(DISCOVERY_WAIT_PERIOD); -1355 let discovery = DiscoveryTask::maybe_start_after_delay(self, node_id, delay) -1356 .ok() -1357 .flatten(); -1358 Ok((addr, discovery)) -1359 } +1319 /// Checks if the given `NodeId` needs discovery. +1320 pub(crate) fn needs_discovery(&self, node_id: NodeId, max_age: Duration) -> bool { +1321 match self.msock.remote_info(node_id) { +1322 // No info means no path to node -> start discovery. +1323 None => true, +1324 Some(info) => { +1325 match ( +1326 info.last_received(), +1327 info.relay_url.as_ref().and_then(|r| r.last_alive), +1328 ) { +1329 // No path to node -> start discovery. +1330 (None, None) => true, +1331 // If we haven't received on direct addresses or the relay for MAX_AGE, +1332 // start discovery. +1333 (Some(elapsed), Some(elapsed_relay)) => { +1334 elapsed > max_age && elapsed_relay > max_age +1335 } +1336 (Some(elapsed), _) | (_, Some(elapsed)) => elapsed > max_age, +1337 } +1338 } +1339 } +1340 } +1341 +1342 /// Return the quic mapped address for this `node_id` and possibly start discovery +1343 /// services if discovery is enabled on this magic endpoint. +1344 /// +1345 /// This will launch discovery in all cases except if: +1346 /// 1) we do not have discovery enabled +1347 /// 2) we have discovery enabled, but already have at least one verified, unexpired +1348 /// addresses for this `node_id` +1349 /// +1350 /// # Errors +1351 /// +1352 /// This method may fail if we have no way of dialing the node. This can occur if +1353 /// we were given no dialing information in the [`NodeAddr`] and no discovery +1354 /// services were configured or if discovery failed to fetch any dialing information. +1355 async fn get_mapping_addr_and_maybe_start_discovery( +1356 &self, +1357 node_addr: NodeAddr, +1358 ) -> Result<(NodeIdMappedAddr, Option<DiscoveryTask>), GetMappingAddressError> { +1359 let node_id = node_addr.node_id; 1360 -1361 None => { -1362 // We have no known addresses or relay URLs for this node. -1363 // So, we start a discovery task and wait for the first result to arrive, and -1364 // only then continue, because otherwise we wouldn't have any -1365 // path to the remote endpoint. -1366 let res = DiscoveryTask::start(self.clone(), node_id); -1367 let mut discovery = res.context(get_mapping_address_error::DiscoveryStartSnafu)?; -1368 discovery -1369 .first_arrived() -1370 .await -1371 .context(get_mapping_address_error::DiscoverSnafu)?; -1372 if let Some(addr) = self.msock.get_mapping_addr(node_id) { -1373 Ok((addr, Some(discovery))) -1374 } else { -1375 Err(get_mapping_address_error::NoAddressSnafu.build()) -1376 } -1377 } -1378 } -1379 } -1380 -1381 #[cfg(test)] -1382 pub(crate) fn magic_sock(&self) -> Handle { -1383 self.msock.clone() -1384 } -1385 #[cfg(test)] -1386 pub(crate) fn endpoint(&self) -> &quinn::Endpoint { -1387 self.msock.endpoint() -1388 } -1389} -1390 -1391/// Options for the [`Endpoint::connect_with_opts`] function. -1392#[derive(Default, Debug, Clone)] -1393pub struct ConnectOptions { -1394 transport_config: Option<Arc<TransportConfig>>, -1395 additional_alpns: Vec<Vec<u8>>, -1396} -1397 -1398impl ConnectOptions { -1399 /// Initializes new connection options. -1400 /// -1401 /// By default, the connection will use the same options -1402 /// as [`Endpoint::connect`], e.g. a default [`TransportConfig`]. -1403 pub fn new() -> Self { -1404 Self::default() -1405 } -1406 -1407 /// Sets the QUIC transport config options for this connection. -1408 pub fn with_transport_config(mut self, transport_config: Arc<TransportConfig>) -> Self { -1409 self.transport_config = Some(transport_config); -1410 self -1411 } -1412 -1413 /// Sets [ALPN] identifiers that should be signaled as supported on connection, *in -1414 /// addition* to the main [ALPN] identifier used in [`Endpoint::connect_with_opts`]. -1415 /// -1416 /// This allows connecting to servers that may only support older versions of your -1417 /// protocol. In this case, you would add the older [ALPN] identifiers with this -1418 /// function. -1419 /// -1420 /// You'll know the final negotiated [ALPN] identifier once your connection was -1421 /// established using [`Connection::alpn`], or even slightly earlier in the -1422 /// handshake by using [`Connecting::alpn`]. -1423 /// The negotiated [ALPN] identifier may be any of the [ALPN] identifiers in this -1424 /// list or the main [ALPN] used in [`Endpoint::connect_with_opts`]. -1425 /// -1426 /// The [ALPN] identifier order on the connect side doesn't matter, since it's the -1427 /// accept side that determines the protocol. -1428 /// -1429 /// For setting the supported [ALPN] identifiers on the accept side, see the endpoint -1430 /// builder's [`Builder::alpns`] function. -1431 /// -1432 /// [ALPN]: https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation -1433 pub fn with_additional_alpns(mut self, alpns: Vec<Vec<u8>>) -> Self { -1434 self.additional_alpns = alpns; -1435 self -1436 } -1437} -1438 -1439/// Future produced by [`Endpoint::accept`]. -1440#[derive(derive_more::Debug)] -1441#[pin_project] -1442pub struct Accept<'a> { -1443 #[pin] -1444 #[debug("quinn::Accept")] -1445 inner: quinn::Accept<'a>, -1446 ep: Endpoint, -1447} -1448 -1449impl Future for Accept<'_> { -1450 type Output = Option<Incoming>; -1451 -1452 fn poll(self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll<Self::Output> { -1453 let this = self.project(); -1454 match this.inner.poll(cx) { -1455 Poll::Pending => Poll::Pending, -1456 Poll::Ready(None) => Poll::Ready(None), -1457 Poll::Ready(Some(inner)) => Poll::Ready(Some(Incoming { -1458 inner, -1459 ep: this.ep.clone(), -1460 })), -1461 } -1462 } -1463} -1464 -1465/// An incoming connection for which the server has not yet begun its parts of the -1466/// handshake. -1467#[derive(Debug)] -1468pub struct Incoming { -1469 inner: quinn::Incoming, -1470 ep: Endpoint, -1471} -1472 -1473impl Incoming { -1474 /// Attempts to accept this incoming connection (an error may still occur). -1475 /// -1476 /// Errors occurring here are likely not caused by the application or remote. The QUIC -1477 /// connection listens on a normal UDP socket and any reachable network endpoint can -1478 /// send datagrams to it, solicited or not. Even if the first few bytes look like a -1479 /// QUIC packet, it might not even be a QUIC packet that is being received. -1480 /// -1481 /// Thus it is common to simply log the errors here and accept them as something which -1482 /// can happen. -1483 pub fn accept(self) -> Result<Connecting, ConnectionError> { -1484 self.inner.accept().map(|conn| Connecting { -1485 inner: conn, -1486 ep: self.ep, -1487 remote_node_id: None, -1488 _discovery_drop_guard: None, -1489 }) -1490 } -1491 -1492 /// Accepts this incoming connection using a custom configuration. -1493 /// -1494 /// See [`accept()`] for more details. -1495 /// -1496 /// [`accept()`]: Incoming::accept -1497 pub fn accept_with( -1498 self, -1499 server_config: Arc<ServerConfig>, -1500 ) -> Result<Connecting, ConnectionError> { -1501 self.inner -1502 .accept_with(server_config) -1503 .map(|conn| Connecting { -1504 inner: conn, -1505 ep: self.ep, -1506 remote_node_id: None, -1507 _discovery_drop_guard: None, -1508 }) -1509 } -1510 -1511 /// Rejects this incoming connection attempt. -1512 pub fn refuse(self) { -1513 self.inner.refuse() -1514 } -1515 -1516 /// Responds with a retry packet. -1517 /// -1518 /// This requires the client to retry with address validation. -1519 /// -1520 /// Errors if `remote_address_validated()` is true. -1521 #[allow(clippy::result_large_err)] -1522 pub fn retry(self) -> Result<(), RetryError> { -1523 self.inner.retry() -1524 } -1525 -1526 /// Ignores this incoming connection attempt, not sending any packet in response. -1527 pub fn ignore(self) { -1528 self.inner.ignore() -1529 } -1530 -1531 /// Returns the local IP address which was used when the peer established the -1532 /// connection. -1533 pub fn local_ip(&self) -> Option<IpAddr> { -1534 self.inner.local_ip() -1535 } -1536 -1537 /// Returns the peer's UDP address. -1538 pub fn remote_address(&self) -> SocketAddr { -1539 self.inner.remote_address() -1540 } -1541 -1542 /// Whether the socket address that is initiating this connection has been validated. -1543 /// -1544 /// This means that the sender of the initial packet has proved that they can receive -1545 /// traffic sent to `self.remote_address()`. -1546 pub fn remote_address_validated(&self) -> bool { -1547 self.inner.remote_address_validated() -1548 } -1549} -1550 -1551impl IntoFuture for Incoming { -1552 type Output = Result<Connection, ConnectionError>; -1553 type IntoFuture = IncomingFuture; -1554 -1555 fn into_future(self) -> Self::IntoFuture { -1556 IncomingFuture { -1557 inner: self.inner.into_future(), -1558 ep: self.ep, -1559 } -1560 } -1561} -1562 -1563/// Adaptor to let [`Incoming`] be `await`ed like a [`Connecting`]. -1564#[derive(Debug)] -1565#[pin_project] -1566pub struct IncomingFuture { -1567 #[pin] -1568 inner: quinn::IncomingFuture, -1569 ep: Endpoint, -1570} -1571 -1572impl Future for IncomingFuture { -1573 type Output = Result<Connection, ConnectionError>; -1574 -1575 fn poll(self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll<Self::Output> { -1576 let this = self.project(); -1577 match this.inner.poll(cx) { -1578 Poll::Pending => Poll::Pending, -1579 Poll::Ready(Err(err)) => Poll::Ready(Err(err)), -1580 Poll::Ready(Ok(inner)) => { -1581 let conn = Connection { inner }; -1582 try_send_rtt_msg(&conn, this.ep, None); -1583 Poll::Ready(Ok(conn)) -1584 } -1585 } -1586 } -1587} -1588 -1589/// In-progress connection attempt future -1590#[derive(derive_more::Debug)] -1591#[pin_project] -1592pub struct Connecting { -1593 #[pin] -1594 inner: quinn::Connecting, -1595 ep: Endpoint, -1596 remote_node_id: Option<NodeId>, -1597 /// We run discovery as long as we haven't established a connection yet. -1598 #[debug("Option<DiscoveryTask>")] -1599 _discovery_drop_guard: Option<DiscoveryTask>, -1600} -1601 -1602#[allow(missing_docs)] -1603#[common_fields({ -1604 backtrace: Option<snafu::Backtrace>, -1605 #[snafu(implicit)] -1606 span_trace: n0_snafu::SpanTrace, -1607})] -1608#[derive(Debug, Snafu)] -1609#[non_exhaustive] -1610pub enum AlpnError { -1611 #[snafu(transparent)] -1612 ConnectionError { source: ConnectionError }, -1613 #[snafu(display("No ALPN available"))] -1614 Unavailable {}, -1615 #[snafu(display("Unknown handshake type"))] -1616 UnknownHandshake {}, -1617} -1618 -1619impl Connecting { -1620 /// Converts this [`Connecting`] into a 0-RTT or 0.5-RTT connection at the cost of weakened -1621 /// security. -1622 /// -1623 /// Returns `Ok` immediately if the local endpoint is able to attempt sending 0/0.5-RTT data. -1624 /// If so, the returned [`Connection`] can be used to send application data without waiting for -1625 /// the rest of the handshake to complete, at the cost of weakened cryptographic security -1626 /// guarantees. The returned [`ZeroRttAccepted`] future resolves when the handshake does -1627 /// complete, at which point subsequently opened streams and written data will have full -1628 /// cryptographic protection. -1629 /// -1630 /// Once the [`ZeroRttAccepted`] future completed, a full handshake has been carried through -1631 /// and any data sent and any streams opened on the [`Connection`] will operate with the same -1632 /// security as on normal 1-RTT connections. -1633 /// -1634 /// ## Outgoing -1635 /// -1636 /// For outgoing connections, the initial attempt to convert to a [`Connection`] which sends -1637 /// 0-RTT data will attempt to resume a previous TLS session. However, **the remote endpoint -1638 /// may not actually _accept_ the 0-RTT data**--yet still accept the connection attempt in -1639 /// general. This possibility is conveyed through the [`ZeroRttAccepted`] future--when the -1640 /// handshake completes, it resolves to true if the 0-RTT data was accepted and false if it was -1641 /// rejected. If it was rejected, the existence of streams opened and other application data -1642 /// sent prior to the handshake completing will not be conveyed to the remote application, and -1643 /// local operations on them will return `ZeroRttRejected` errors. -1644 /// -1645 /// A server may reject 0-RTT data at its discretion, but accepting 0-RTT data requires the -1646 /// relevant resumption state to be stored in the server, which servers may limit or lose for -1647 /// various reasons including not persisting resumption state across server restarts. -1648 /// -1649 /// ## Incoming -1650 /// -1651 /// For incoming connections, conversion to 0.5-RTT will always fully succeed. `into_0rtt` will -1652 /// always return `Ok` and the [`ZeroRttAccepted`] will always resolve to true. -1653 /// -1654 /// ## Security -1655 /// -1656 /// On outgoing connections, this enables transmission of 0-RTT data, which is vulnerable to -1657 /// replay attacks, and should therefore never invoke non-idempotent operations. +1361 // Only return a mapped addr if we have some way of dialing this node, in other +1362 // words, we have either a relay URL or at least one direct address. +1363 let addr = if self.msock.has_send_address(node_id) { +1364 self.msock.get_mapping_addr(node_id) +1365 } else { +1366 None +1367 }; +1368 match addr { +1369 Some(addr) => { +1370 // We have some way of dialing this node, but that doesn't actually mean +1371 // we can actually connect to any of these addresses. +1372 // Therefore, we will invoke the discovery service if we haven't received from the +1373 // endpoint on any of the existing paths recently. +1374 // If the user provided addresses in this connect call, we will add a delay +1375 // followed by a recheck before starting the discovery, to give the magicsocket a +1376 // chance to test the newly provided addresses. +1377 let delay = (!node_addr.is_empty()).then_some(DISCOVERY_WAIT_PERIOD); +1378 let discovery = DiscoveryTask::maybe_start_after_delay(self, node_id, delay) +1379 .ok() +1380 .flatten(); +1381 Ok((addr, discovery)) +1382 } +1383 +1384 None => { +1385 // We have no known addresses or relay URLs for this node. +1386 // So, we start a discovery task and wait for the first result to arrive, and +1387 // only then continue, because otherwise we wouldn't have any +1388 // path to the remote endpoint. +1389 let res = DiscoveryTask::start(self.clone(), node_id); +1390 let mut discovery = res.context(get_mapping_address_error::DiscoveryStartSnafu)?; +1391 discovery +1392 .first_arrived() +1393 .await +1394 .context(get_mapping_address_error::DiscoverSnafu)?; +1395 if let Some(addr) = self.msock.get_mapping_addr(node_id) { +1396 Ok((addr, Some(discovery))) +1397 } else { +1398 Err(get_mapping_address_error::NoAddressSnafu.build()) +1399 } +1400 } +1401 } +1402 } +1403 +1404 #[cfg(test)] +1405 pub(crate) fn magic_sock(&self) -> Handle { +1406 self.msock.clone() +1407 } +1408 #[cfg(test)] +1409 pub(crate) fn endpoint(&self) -> &quinn::Endpoint { +1410 self.msock.endpoint() +1411 } +1412} +1413 +1414/// Options for the [`Endpoint::connect_with_opts`] function. +1415#[derive(Default, Debug, Clone)] +1416pub struct ConnectOptions { +1417 transport_config: Option<Arc<TransportConfig>>, +1418 additional_alpns: Vec<Vec<u8>>, +1419} +1420 +1421impl ConnectOptions { +1422 /// Initializes new connection options. +1423 /// +1424 /// By default, the connection will use the same options +1425 /// as [`Endpoint::connect`], e.g. a default [`TransportConfig`]. +1426 pub fn new() -> Self { +1427 Self::default() +1428 } +1429 +1430 /// Sets the QUIC transport config options for this connection. +1431 pub fn with_transport_config(mut self, transport_config: Arc<TransportConfig>) -> Self { +1432 self.transport_config = Some(transport_config); +1433 self +1434 } +1435 +1436 /// Sets [ALPN] identifiers that should be signaled as supported on connection, *in +1437 /// addition* to the main [ALPN] identifier used in [`Endpoint::connect_with_opts`]. +1438 /// +1439 /// This allows connecting to servers that may only support older versions of your +1440 /// protocol. In this case, you would add the older [ALPN] identifiers with this +1441 /// function. +1442 /// +1443 /// You'll know the final negotiated [ALPN] identifier once your connection was +1444 /// established using [`Connection::alpn`], or even slightly earlier in the +1445 /// handshake by using [`Connecting::alpn`]. +1446 /// The negotiated [ALPN] identifier may be any of the [ALPN] identifiers in this +1447 /// list or the main [ALPN] used in [`Endpoint::connect_with_opts`]. +1448 /// +1449 /// The [ALPN] identifier order on the connect side doesn't matter, since it's the +1450 /// accept side that determines the protocol. +1451 /// +1452 /// For setting the supported [ALPN] identifiers on the accept side, see the endpoint +1453 /// builder's [`Builder::alpns`] function. +1454 /// +1455 /// [ALPN]: https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation +1456 pub fn with_additional_alpns(mut self, alpns: Vec<Vec<u8>>) -> Self { +1457 self.additional_alpns = alpns; +1458 self +1459 } +1460} +1461 +1462/// Future produced by [`Endpoint::accept`]. +1463#[derive(derive_more::Debug)] +1464#[pin_project] +1465pub struct Accept<'a> { +1466 #[pin] +1467 #[debug("quinn::Accept")] +1468 inner: quinn::Accept<'a>, +1469 ep: Endpoint, +1470} +1471 +1472impl Future for Accept<'_> { +1473 type Output = Option<Incoming>; +1474 +1475 fn poll(self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll<Self::Output> { +1476 let this = self.project(); +1477 match this.inner.poll(cx) { +1478 Poll::Pending => Poll::Pending, +1479 Poll::Ready(None) => Poll::Ready(None), +1480 Poll::Ready(Some(inner)) => Poll::Ready(Some(Incoming { +1481 inner, +1482 ep: this.ep.clone(), +1483 })), +1484 } +1485 } +1486} +1487 +1488/// An incoming connection for which the server has not yet begun its parts of the +1489/// handshake. +1490#[derive(Debug)] +1491pub struct Incoming { +1492 inner: quinn::Incoming, +1493 ep: Endpoint, +1494} +1495 +1496impl Incoming { +1497 /// Attempts to accept this incoming connection (an error may still occur). +1498 /// +1499 /// Errors occurring here are likely not caused by the application or remote. The QUIC +1500 /// connection listens on a normal UDP socket and any reachable network endpoint can +1501 /// send datagrams to it, solicited or not. Even if the first few bytes look like a +1502 /// QUIC packet, it might not even be a QUIC packet that is being received. +1503 /// +1504 /// Thus it is common to simply log the errors here and accept them as something which +1505 /// can happen. +1506 pub fn accept(self) -> Result<Connecting, ConnectionError> { +1507 self.inner.accept().map(|conn| Connecting { +1508 inner: conn, +1509 ep: self.ep, +1510 remote_node_id: None, +1511 _discovery_drop_guard: None, +1512 }) +1513 } +1514 +1515 /// Accepts this incoming connection using a custom configuration. +1516 /// +1517 /// See [`accept()`] for more details. +1518 /// +1519 /// [`accept()`]: Incoming::accept +1520 pub fn accept_with( +1521 self, +1522 server_config: Arc<ServerConfig>, +1523 ) -> Result<Connecting, ConnectionError> { +1524 self.inner +1525 .accept_with(server_config) +1526 .map(|conn| Connecting { +1527 inner: conn, +1528 ep: self.ep, +1529 remote_node_id: None, +1530 _discovery_drop_guard: None, +1531 }) +1532 } +1533 +1534 /// Rejects this incoming connection attempt. +1535 pub fn refuse(self) { +1536 self.inner.refuse() +1537 } +1538 +1539 /// Responds with a retry packet. +1540 /// +1541 /// This requires the client to retry with address validation. +1542 /// +1543 /// Errors if `remote_address_validated()` is true. +1544 #[allow(clippy::result_large_err)] +1545 pub fn retry(self) -> Result<(), RetryError> { +1546 self.inner.retry() +1547 } +1548 +1549 /// Ignores this incoming connection attempt, not sending any packet in response. +1550 pub fn ignore(self) { +1551 self.inner.ignore() +1552 } +1553 +1554 /// Returns the local IP address which was used when the peer established the +1555 /// connection. +1556 pub fn local_ip(&self) -> Option<IpAddr> { +1557 self.inner.local_ip() +1558 } +1559 +1560 /// Returns the peer's UDP address. +1561 pub fn remote_address(&self) -> SocketAddr { +1562 self.inner.remote_address() +1563 } +1564 +1565 /// Whether the socket address that is initiating this connection has been validated. +1566 /// +1567 /// This means that the sender of the initial packet has proved that they can receive +1568 /// traffic sent to `self.remote_address()`. +1569 pub fn remote_address_validated(&self) -> bool { +1570 self.inner.remote_address_validated() +1571 } +1572} +1573 +1574impl IntoFuture for Incoming { +1575 type Output = Result<Connection, ConnectionError>; +1576 type IntoFuture = IncomingFuture; +1577 +1578 fn into_future(self) -> Self::IntoFuture { +1579 IncomingFuture { +1580 inner: self.inner.into_future(), +1581 ep: self.ep, +1582 } +1583 } +1584} +1585 +1586/// Adaptor to let [`Incoming`] be `await`ed like a [`Connecting`]. +1587#[derive(Debug)] +1588#[pin_project] +1589pub struct IncomingFuture { +1590 #[pin] +1591 inner: quinn::IncomingFuture, +1592 ep: Endpoint, +1593} +1594 +1595impl Future for IncomingFuture { +1596 type Output = Result<Connection, ConnectionError>; +1597 +1598 fn poll(self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll<Self::Output> { +1599 let this = self.project(); +1600 match this.inner.poll(cx) { +1601 Poll::Pending => Poll::Pending, +1602 Poll::Ready(Err(err)) => Poll::Ready(Err(err)), +1603 Poll::Ready(Ok(inner)) => { +1604 let conn = Connection { inner }; +1605 try_send_rtt_msg(&conn, this.ep, None); +1606 Poll::Ready(Ok(conn)) +1607 } +1608 } +1609 } +1610} +1611 +1612/// In-progress connection attempt future +1613#[derive(derive_more::Debug)] +1614#[pin_project] +1615pub struct Connecting { +1616 #[pin] +1617 inner: quinn::Connecting, +1618 ep: Endpoint, +1619 remote_node_id: Option<NodeId>, +1620 /// We run discovery as long as we haven't established a connection yet. +1621 #[debug("Option<DiscoveryTask>")] +1622 _discovery_drop_guard: Option<DiscoveryTask>, +1623} +1624 +1625#[allow(missing_docs)] +1626#[common_fields({ +1627 backtrace: Option<snafu::Backtrace>, +1628 #[snafu(implicit)] +1629 span_trace: n0_snafu::SpanTrace, +1630})] +1631#[derive(Debug, Snafu)] +1632#[non_exhaustive] +1633pub enum AlpnError { +1634 #[snafu(transparent)] +1635 ConnectionError { source: ConnectionError }, +1636 #[snafu(display("No ALPN available"))] +1637 Unavailable {}, +1638 #[snafu(display("Unknown handshake type"))] +1639 UnknownHandshake {}, +1640} +1641 +1642impl Connecting { +1643 /// Converts this [`Connecting`] into a 0-RTT or 0.5-RTT connection at the cost of weakened +1644 /// security. +1645 /// +1646 /// Returns `Ok` immediately if the local endpoint is able to attempt sending 0/0.5-RTT data. +1647 /// If so, the returned [`Connection`] can be used to send application data without waiting for +1648 /// the rest of the handshake to complete, at the cost of weakened cryptographic security +1649 /// guarantees. The returned [`ZeroRttAccepted`] future resolves when the handshake does +1650 /// complete, at which point subsequently opened streams and written data will have full +1651 /// cryptographic protection. +1652 /// +1653 /// Once the [`ZeroRttAccepted`] future completed, a full handshake has been carried through +1654 /// and any data sent and any streams opened on the [`Connection`] will operate with the same +1655 /// security as on normal 1-RTT connections. +1656 /// +1657 /// ## Outgoing 1658 /// -1659 /// On incoming connections, this enables transmission of 0.5-RTT data, which may be sent -1660 /// before TLS client authentication has occurred, and should therefore not be used to send -1661 /// data for which client authentication is being used. -1662 /// -1663 /// You can use [`RecvStream::is_0rtt`] to check whether a stream has been opened in 0-RTT -1664 /// and thus whether parts of the stream are operating under this reduced security level. -1665 #[allow(clippy::result_large_err)] -1666 pub fn into_0rtt(self) -> Result<(Connection, ZeroRttAccepted), Self> { -1667 match self.inner.into_0rtt() { -1668 Ok((inner, zrtt_accepted)) => { -1669 let conn = Connection { inner }; -1670 let zrtt_accepted = ZeroRttAccepted { -1671 inner: zrtt_accepted, -1672 _discovery_drop_guard: self._discovery_drop_guard, -1673 }; -1674 // This call is why `self.remote_node_id` was introduced. -1675 // When we `Connecting::into_0rtt`, then we don't yet have `handshake_data` -1676 // in our `Connection`, thus `try_send_rtt_msg` won't be able to pick up -1677 // `Connection::remote_node_id`. -1678 // Instead, we provide `self.remote_node_id` here - we know it in advance, -1679 // after all. -1680 try_send_rtt_msg(&conn, &self.ep, self.remote_node_id); -1681 Ok((conn, zrtt_accepted)) -1682 } -1683 Err(inner) => Err(Self { -1684 inner, -1685 ep: self.ep, -1686 remote_node_id: self.remote_node_id, -1687 _discovery_drop_guard: self._discovery_drop_guard, -1688 }), -1689 } -1690 } -1691 -1692 /// Parameters negotiated during the handshake -1693 pub async fn handshake_data(&mut self) -> Result<Box<dyn Any>, ConnectionError> { -1694 self.inner.handshake_data().await -1695 } -1696 -1697 /// Extracts the ALPN protocol from the peer's handshake data. -1698 pub async fn alpn(&mut self) -> Result<Vec<u8>, AlpnError> { -1699 let data = self.handshake_data().await?; -1700 match data.downcast::<quinn::crypto::rustls::HandshakeData>() { -1701 Ok(data) => match data.protocol { -1702 Some(protocol) => Ok(protocol), -1703 None => Err(UnavailableSnafu.build()), -1704 }, -1705 Err(_) => Err(UnknownHandshakeSnafu.build()), -1706 } -1707 } -1708} -1709 -1710impl Future for Connecting { -1711 type Output = Result<Connection, ConnectionError>; -1712 -1713 fn poll(self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll<Self::Output> { -1714 let this = self.project(); -1715 match this.inner.poll(cx) { -1716 Poll::Pending => Poll::Pending, -1717 Poll::Ready(Err(err)) => Poll::Ready(Err(err)), -1718 Poll::Ready(Ok(inner)) => { -1719 let conn = Connection { inner }; -1720 try_send_rtt_msg(&conn, this.ep, *this.remote_node_id); -1721 Poll::Ready(Ok(conn)) -1722 } -1723 } -1724 } -1725} -1726 -1727/// Future that completes when a connection is fully established. -1728/// -1729/// For clients, the resulting value indicates if 0-RTT was accepted. For servers, the resulting -1730/// value is meaningless. -1731#[derive(derive_more::Debug)] -1732#[debug("ZeroRttAccepted")] -1733pub struct ZeroRttAccepted { -1734 inner: quinn::ZeroRttAccepted, -1735 /// When we call `Connecting::into_0rtt`, we don't want to stop discovery, so we transfer the task -1736 /// to this future. -1737 /// When `quinn::ZeroRttAccepted` resolves, we've successfully received data from the remote. -1738 /// Thus, that's the right time to drop discovery to preserve the behaviour similar to -1739 /// `Connecting` -> `Connection` without 0-RTT. -1740 /// Should we eventually decide to keep the discovery task alive for the duration of the whole -1741 /// `Connection`, then this task should be transferred to the `Connection` instead of here. -1742 _discovery_drop_guard: Option<DiscoveryTask>, -1743} -1744 -1745impl Future for ZeroRttAccepted { -1746 type Output = bool; -1747 fn poll(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll<Self::Output> { -1748 Pin::new(&mut self.inner).poll(cx) -1749 } -1750} -1751 -1752/// A QUIC connection. -1753/// -1754/// If all references to a connection (including every clone of the Connection handle, -1755/// streams of incoming streams, and the various stream types) have been dropped, then the -1756/// connection will be automatically closed with an error_code of 0 and an empty reason. You -1757/// can also close the connection explicitly by calling [`Connection::close`]. -1758/// -1759/// Closing the connection immediately abandons efforts to deliver data to the peer. Upon -1760/// receiving CONNECTION_CLOSE the peer may drop any stream data not yet delivered to the -1761/// application. [`Connection::close`] describes in more detail how to gracefully close a -1762/// connection without losing application data. -1763/// -1764/// May be cloned to obtain another handle to the same connection. -1765#[derive(Debug, Clone)] -1766pub struct Connection { -1767 inner: quinn::Connection, -1768} -1769 -1770#[allow(missing_docs)] -1771#[derive(Debug, Snafu)] -1772#[snafu(display("Protocol error: no remote id available"))] -1773pub struct RemoteNodeIdError { -1774 backtrace: Option<snafu::Backtrace>, -1775} -1776 -1777impl Connection { -1778 /// Initiates a new outgoing unidirectional stream. -1779 /// -1780 /// Streams are cheap and instantaneous to open unless blocked by flow control. As a -1781 /// consequence, the peer won’t be notified that a stream has been opened until the -1782 /// stream is actually used. -1783 #[inline] -1784 pub fn open_uni(&self) -> OpenUni<'_> { -1785 self.inner.open_uni() -1786 } -1787 -1788 /// Initiates a new outgoing bidirectional stream. -1789 /// -1790 /// Streams are cheap and instantaneous to open unless blocked by flow control. As a -1791 /// consequence, the peer won't be notified that a stream has been opened until the -1792 /// stream is actually used. Calling [`open_bi`] then waiting on the [`RecvStream`] -1793 /// without writing anything to [`SendStream`] will never succeed. -1794 /// -1795 /// [`open_bi`]: Connection::open_bi -1796 #[inline] -1797 pub fn open_bi(&self) -> OpenBi<'_> { -1798 self.inner.open_bi() -1799 } -1800 -1801 /// Accepts the next incoming uni-directional stream. -1802 #[inline] -1803 pub fn accept_uni(&self) -> AcceptUni<'_> { -1804 self.inner.accept_uni() -1805 } -1806 -1807 /// Accept the next incoming bidirectional stream. -1808 /// -1809 /// **Important Note**: The peer that calls [`open_bi`] must write to its [`SendStream`] -1810 /// before the peer `Connection` is able to accept the stream using -1811 /// `accept_bi()`. Calling [`open_bi`] then waiting on the [`RecvStream`] without -1812 /// writing anything to the connected [`SendStream`] will never succeed. -1813 /// -1814 /// [`open_bi`]: Connection::open_bi -1815 #[inline] -1816 pub fn accept_bi(&self) -> AcceptBi<'_> { -1817 self.inner.accept_bi() -1818 } -1819 -1820 /// Receives an application datagram. -1821 #[inline] -1822 pub fn read_datagram(&self) -> ReadDatagram<'_> { -1823 self.inner.read_datagram() -1824 } -1825 -1826 /// Wait for the connection to be closed for any reason. -1827 /// -1828 /// Despite the return type's name, closed connections are often not an error condition -1829 /// at the application layer. Cases that might be routine include -1830 /// [`ConnectionError::LocallyClosed`] and [`ConnectionError::ApplicationClosed`]. -1831 #[inline] -1832 pub async fn closed(&self) -> ConnectionError { -1833 self.inner.closed().await -1834 } -1835 -1836 /// If the connection is closed, the reason why. -1837 /// -1838 /// Returns `None` if the connection is still open. -1839 #[inline] -1840 pub fn close_reason(&self) -> Option<ConnectionError> { -1841 self.inner.close_reason() -1842 } -1843 -1844 /// Closes the connection immediately. -1845 /// -1846 /// Pending operations will fail immediately with [`ConnectionError::LocallyClosed`]. No -1847 /// more data is sent to the peer and the peer may drop buffered data upon receiving the -1848 /// CONNECTION_CLOSE frame. -1849 /// -1850 /// `error_code` and `reason` are not interpreted, and are provided directly to the -1851 /// peer. -1852 /// -1853 /// `reason` will be truncated to fit in a single packet with overhead; to improve odds -1854 /// that it is preserved in full, it should be kept under 1KiB. -1855 /// -1856 /// # Gracefully closing a connection -1857 /// -1858 /// Only the peer last receiving application data can be certain that all data is -1859 /// delivered. The only reliable action it can then take is to close the connection, -1860 /// potentially with a custom error code. The delivery of the final CONNECTION_CLOSE -1861 /// frame is very likely if both endpoints stay online long enough, calling -1862 /// [`Endpoint::close`] will wait to provide sufficient time. Otherwise, the remote peer -1863 /// will time out the connection, provided that the idle timeout is not disabled. -1864 /// -1865 /// The sending side can not guarantee all stream data is delivered to the remote -1866 /// application. It only knows the data is delivered to the QUIC stack of the remote -1867 /// endpoint. Once the local side sends a CONNECTION_CLOSE frame in response to calling -1868 /// [`close`] the remote endpoint may drop any data it received but is as yet -1869 /// undelivered to the application, including data that was acknowledged as received to -1870 /// the local endpoint. -1871 /// -1872 /// [`close`]: Connection::close -1873 #[inline] -1874 pub fn close(&self, error_code: VarInt, reason: &[u8]) { -1875 self.inner.close(error_code, reason) -1876 } -1877 -1878 /// Transmits `data` as an unreliable, unordered application datagram. -1879 /// -1880 /// Application datagrams are a low-level primitive. They may be lost or delivered out -1881 /// of order, and `data` must both fit inside a single QUIC packet and be smaller than -1882 /// the maximum dictated by the peer. -1883 #[inline] -1884 pub fn send_datagram(&self, data: bytes::Bytes) -> Result<(), SendDatagramError> { -1885 self.inner.send_datagram(data) -1886 } -1887 -1888 // TODO: It seems `SendDatagram` is not yet exposed by quinn. This has been fixed -1889 // upstream and will be in the next release. -1890 // /// Transmits `data` as an unreliable, unordered application datagram -1891 // /// -1892 // /// Unlike [`send_datagram()`], this method will wait for buffer space during congestion -1893 // /// conditions, which effectively prioritizes old datagrams over new datagrams. -1894 // /// -1895 // /// See [`send_datagram()`] for details. -1896 // /// -1897 // /// [`send_datagram()`]: Connection::send_datagram -1898 // #[inline] -1899 // pub fn send_datagram_wait(&self, data: bytes::Bytes) -> SendDatagram<'_> { -1900 // self.inner.send_datagram_wait(data) -1901 // } -1902 -1903 /// Computes the maximum size of datagrams that may be passed to [`send_datagram`]. -1904 /// -1905 /// Returns `None` if datagrams are unsupported by the peer or disabled locally. -1906 /// -1907 /// This may change over the lifetime of a connection according to variation in the path -1908 /// MTU estimate. The peer can also enforce an arbitrarily small fixed limit, but if the -1909 /// peer's limit is large this is guaranteed to be a little over a kilobyte at minimum. -1910 /// -1911 /// Not necessarily the maximum size of received datagrams. -1912 /// -1913 /// [`send_datagram`]: Self::send_datagram -1914 #[inline] -1915 pub fn max_datagram_size(&self) -> Option<usize> { -1916 self.inner.max_datagram_size() -1917 } -1918 -1919 /// Bytes available in the outgoing datagram buffer. -1920 /// -1921 /// When greater than zero, calling [`send_datagram`] with a -1922 /// datagram of at most this size is guaranteed not to cause older datagrams to be -1923 /// dropped. -1924 /// -1925 /// [`send_datagram`]: Self::send_datagram -1926 #[inline] -1927 pub fn datagram_send_buffer_space(&self) -> usize { -1928 self.inner.datagram_send_buffer_space() -1929 } -1930 -1931 /// Current best estimate of this connection's latency (round-trip-time). -1932 #[inline] -1933 pub fn rtt(&self) -> Duration { -1934 self.inner.rtt() -1935 } -1936 -1937 /// Returns connection statistics. -1938 #[inline] -1939 pub fn stats(&self) -> ConnectionStats { -1940 self.inner.stats() -1941 } -1942 -1943 /// Current state of the congestion control algorithm, for debugging purposes. -1944 #[inline] -1945 pub fn congestion_state(&self) -> Box<dyn quinn_proto::congestion::Controller> { -1946 self.inner.congestion_state() -1947 } -1948 -1949 /// Parameters negotiated during the handshake. -1950 /// -1951 /// Guaranteed to return `Some` on fully established connections or after -1952 /// [`Connecting::handshake_data()`] succeeds. See that method's documentations for -1953 /// details on the returned value. -1954 /// -1955 /// [`Connection::handshake_data()`]: crate::endpoint::Connecting::handshake_data -1956 #[inline] -1957 pub fn handshake_data(&self) -> Option<Box<dyn Any>> { -1958 self.inner.handshake_data() -1959 } -1960 -1961 /// Extracts the ALPN protocol from the peer's handshake data. -1962 pub fn alpn(&self) -> Option<Vec<u8>> { -1963 let data = self.handshake_data()?; -1964 match data.downcast::<quinn::crypto::rustls::HandshakeData>() { -1965 Ok(data) => data.protocol, -1966 Err(_) => None, -1967 } -1968 } -1969 -1970 /// Cryptographic identity of the peer. -1971 /// -1972 /// The dynamic type returned is determined by the configured [`Session`]. For the -1973 /// default `rustls` session, the return value can be [`downcast`] to a -1974 /// <code>Vec<[rustls::pki_types::CertificateDer]></code> -1975 /// -1976 /// [`Session`]: quinn_proto::crypto::Session -1977 /// [`downcast`]: Box::downcast -1978 #[inline] -1979 pub fn peer_identity(&self) -> Option<Box<dyn Any>> { -1980 self.inner.peer_identity() -1981 } -1982 -1983 /// Returns the [`NodeId`] from the peer's TLS certificate. -1984 /// -1985 /// The [`PublicKey`] of a node is also known as a [`NodeId`]. This [`PublicKey`] is -1986 /// included in the TLS certificate presented during the handshake when connecting. -1987 /// This function allows you to get the [`NodeId`] of the remote node of this -1988 /// connection. -1989 /// -1990 /// [`PublicKey`]: iroh_base::PublicKey -1991 // TODO: Would be nice if this could be infallible. -1992 pub fn remote_node_id(&self) -> Result<NodeId, RemoteNodeIdError> { -1993 let data = self.peer_identity(); -1994 match data { -1995 None => { -1996 warn!("no peer certificate found"); -1997 Err(RemoteNodeIdSnafu.build()) -1998 } -1999 Some(data) => match data.downcast::<Vec<rustls::pki_types::CertificateDer>>() { -2000 Ok(certs) => { -2001 if certs.len() != 1 { -2002 warn!( -2003 "expected a single peer certificate, but {} found", -2004 certs.len() -2005 ); -2006 return Err(RemoteNodeIdSnafu.build()); -2007 } -2008 -2009 let peer_id = VerifyingKey::from_public_key_der(&certs[0]) -2010 .map_err(|_| RemoteNodeIdSnafu.build())? -2011 .into(); -2012 Ok(peer_id) -2013 } -2014 Err(err) => { -2015 warn!("invalid peer certificate: {:?}", err); -2016 Err(RemoteNodeIdSnafu.build()) -2017 } -2018 }, -2019 } -2020 } -2021 -2022 /// A stable identifier for this connection. -2023 /// -2024 /// Peer addresses and connection IDs can change, but this value will remain fixed for -2025 /// the lifetime of the connection. -2026 #[inline] -2027 pub fn stable_id(&self) -> usize { -2028 self.inner.stable_id() -2029 } -2030 -2031 /// Derives keying material from this connection's TLS session secrets. -2032 /// -2033 /// When both peers call this method with the same `label` and `context` -2034 /// arguments and `output` buffers of equal length, they will get the -2035 /// same sequence of bytes in `output`. These bytes are cryptographically -2036 /// strong and pseudorandom, and are suitable for use as keying material. -2037 /// -2038 /// See [RFC5705](https://tools.ietf.org/html/rfc5705) for more information. -2039 #[inline] -2040 pub fn export_keying_material( -2041 &self, -2042 output: &mut [u8], -2043 label: &[u8], -2044 context: &[u8], -2045 ) -> Result<(), quinn_proto::crypto::ExportKeyingMaterialError> { -2046 self.inner.export_keying_material(output, label, context) -2047 } -2048 -2049 /// Modifies the number of unidirectional streams that may be concurrently opened. -2050 /// -2051 /// No streams may be opened by the peer unless fewer than `count` are already -2052 /// open. Large `count`s increase both minimum and worst-case memory consumption. -2053 #[inline] -2054 pub fn set_max_concurrent_uni_streams(&self, count: VarInt) { -2055 self.inner.set_max_concurrent_uni_streams(count) -2056 } -2057 -2058 /// See [`quinn_proto::TransportConfig::receive_window`]. -2059 #[inline] -2060 pub fn set_receive_window(&self, receive_window: VarInt) { -2061 self.inner.set_receive_window(receive_window) -2062 } -2063 -2064 /// Modifies the number of bidirectional streams that may be concurrently opened. -2065 /// -2066 /// No streams may be opened by the peer unless fewer than `count` are already -2067 /// open. Large `count`s increase both minimum and worst-case memory consumption. -2068 #[inline] -2069 pub fn set_max_concurrent_bi_streams(&self, count: VarInt) { -2070 self.inner.set_max_concurrent_bi_streams(count) -2071 } -2072} -2073 -2074/// Try send a message to the rtt-actor. -2075/// -2076/// If we can't notify the actor that will impact performance a little, but we can still -2077/// function. -2078fn try_send_rtt_msg(conn: &Connection, magic_ep: &Endpoint, remote_node_id: Option<NodeId>) { -2079 // If we can't notify the rtt-actor that's not great but not critical. -2080 let Some(node_id) = remote_node_id.or_else(|| conn.remote_node_id().ok()) else { -2081 warn!(?conn, "failed to get remote node id"); -2082 return; -2083 }; -2084 let Some(conn_type_changes) = magic_ep.conn_type(node_id) else { -2085 warn!(?conn, "failed to create conn_type stream"); -2086 return; -2087 }; -2088 let rtt_msg = RttMessage::NewConnection { -2089 connection: conn.inner.weak_handle(), -2090 conn_type_changes: conn_type_changes.stream(), -2091 node_id, -2092 }; -2093 if let Err(err) = magic_ep.rtt_actor.msg_tx.try_send(rtt_msg) { -2094 warn!(?conn, "rtt-actor not reachable: {err:#}"); -2095 } -2096} -2097 -2098/// Read a proxy url from the environment, in this order -2099/// -2100/// - `HTTP_PROXY` -2101/// - `http_proxy` -2102/// - `HTTPS_PROXY` -2103/// - `https_proxy` -2104fn proxy_url_from_env() -> Option<Url> { -2105 if let Some(url) = std::env::var("HTTP_PROXY") -2106 .ok() -2107 .and_then(|s| s.parse::<Url>().ok()) -2108 { -2109 if is_cgi() { -2110 warn!("HTTP_PROXY environment variable ignored in CGI"); -2111 } else { -2112 return Some(url); -2113 } -2114 } -2115 if let Some(url) = std::env::var("http_proxy") -2116 .ok() -2117 .and_then(|s| s.parse::<Url>().ok()) -2118 { -2119 return Some(url); -2120 } -2121 if let Some(url) = std::env::var("HTTPS_PROXY") -2122 .ok() -2123 .and_then(|s| s.parse::<Url>().ok()) -2124 { -2125 return Some(url); -2126 } -2127 if let Some(url) = std::env::var("https_proxy") -2128 .ok() -2129 .and_then(|s| s.parse::<Url>().ok()) -2130 { -2131 return Some(url); -2132 } -2133 -2134 None -2135} -2136 -2137/// Configuration of the relay servers for an [`Endpoint`]. -2138#[derive(Debug, Clone, PartialEq, Eq)] -2139pub enum RelayMode { -2140 /// Disable relay servers completely. -2141 Disabled, -2142 /// Use the default relay map, with production relay servers from n0. -2143 /// -2144 /// See [`crate::defaults::prod`] for the severs used. -2145 Default, -2146 /// Use the staging relay servers from n0. -2147 Staging, -2148 /// Use a custom relay map. -2149 Custom(RelayMap), -2150} -2151 -2152impl RelayMode { -2153 /// Returns the relay map for this mode. -2154 pub fn relay_map(&self) -> RelayMap { -2155 match self { -2156 RelayMode::Disabled => RelayMap::empty(), -2157 RelayMode::Default => crate::defaults::prod::default_relay_map(), -2158 RelayMode::Staging => crate::defaults::staging::default_relay_map(), -2159 RelayMode::Custom(relay_map) => relay_map.clone(), -2160 } -2161 } -2162} -2163 -2164/// Environment variable to force the use of staging relays. -2165pub const ENV_FORCE_STAGING_RELAYS: &str = "IROH_FORCE_STAGING_RELAYS"; -2166 -2167/// Returns `true` if the use of staging relays is forced. -2168pub fn force_staging_infra() -> bool { -2169 matches!(std::env::var(ENV_FORCE_STAGING_RELAYS), Ok(value) if !value.is_empty()) -2170} -2171 -2172/// Returns the default relay mode. -2173/// -2174/// If the `IROH_FORCE_STAGING_RELAYS` environment variable is non empty, it will return `RelayMode::Staging`. -2175/// Otherwise, it will return `RelayMode::Default`. -2176pub fn default_relay_mode() -> RelayMode { -2177 // Use staging in testing -2178 match force_staging_infra() { -2179 true => RelayMode::Staging, -2180 false => RelayMode::Default, -2181 } -2182} -2183 -2184/// Check if we are being executed in a CGI context. -2185/// -2186/// If so, a malicious client can send the `Proxy:` header, and it will -2187/// be in the `HTTP_PROXY` env var. So we don't use it :) -2188fn is_cgi() -> bool { -2189 std::env::var_os("REQUEST_METHOD").is_some() -2190} -2191 -2192// TODO: These tests could still be flaky, lets fix that: -2193// https://github.com/n0-computer/iroh/issues/1183 -2194#[cfg(test)] -2195mod tests { -2196 use std::time::{Duration, Instant}; -2197 -2198 use iroh_base::{NodeAddr, NodeId, SecretKey}; -2199 use n0_future::{BufferedStreamExt, StreamExt, stream, task::AbortOnDropHandle}; -2200 use n0_snafu::{Error, Result, ResultExt}; -2201 use n0_watcher::Watcher; -2202 use quinn::ConnectionError; -2203 use rand::SeedableRng; -2204 use tracing::{Instrument, error_span, info, info_span}; -2205 use tracing_test::traced_test; +1659 /// For outgoing connections, the initial attempt to convert to a [`Connection`] which sends +1660 /// 0-RTT data will attempt to resume a previous TLS session. However, **the remote endpoint +1661 /// may not actually _accept_ the 0-RTT data**--yet still accept the connection attempt in +1662 /// general. This possibility is conveyed through the [`ZeroRttAccepted`] future--when the +1663 /// handshake completes, it resolves to true if the 0-RTT data was accepted and false if it was +1664 /// rejected. If it was rejected, the existence of streams opened and other application data +1665 /// sent prior to the handshake completing will not be conveyed to the remote application, and +1666 /// local operations on them will return `ZeroRttRejected` errors. +1667 /// +1668 /// A server may reject 0-RTT data at its discretion, but accepting 0-RTT data requires the +1669 /// relevant resumption state to be stored in the server, which servers may limit or lose for +1670 /// various reasons including not persisting resumption state across server restarts. +1671 /// +1672 /// ## Incoming +1673 /// +1674 /// For incoming connections, conversion to 0.5-RTT will always fully succeed. `into_0rtt` will +1675 /// always return `Ok` and the [`ZeroRttAccepted`] will always resolve to true. +1676 /// +1677 /// ## Security +1678 /// +1679 /// On outgoing connections, this enables transmission of 0-RTT data, which is vulnerable to +1680 /// replay attacks, and should therefore never invoke non-idempotent operations. +1681 /// +1682 /// On incoming connections, this enables transmission of 0.5-RTT data, which may be sent +1683 /// before TLS client authentication has occurred, and should therefore not be used to send +1684 /// data for which client authentication is being used. +1685 /// +1686 /// You can use [`RecvStream::is_0rtt`] to check whether a stream has been opened in 0-RTT +1687 /// and thus whether parts of the stream are operating under this reduced security level. +1688 #[allow(clippy::result_large_err)] +1689 pub fn into_0rtt(self) -> Result<(Connection, ZeroRttAccepted), Self> { +1690 match self.inner.into_0rtt() { +1691 Ok((inner, zrtt_accepted)) => { +1692 let conn = Connection { inner }; +1693 let zrtt_accepted = ZeroRttAccepted { +1694 inner: zrtt_accepted, +1695 _discovery_drop_guard: self._discovery_drop_guard, +1696 }; +1697 // This call is why `self.remote_node_id` was introduced. +1698 // When we `Connecting::into_0rtt`, then we don't yet have `handshake_data` +1699 // in our `Connection`, thus `try_send_rtt_msg` won't be able to pick up +1700 // `Connection::remote_node_id`. +1701 // Instead, we provide `self.remote_node_id` here - we know it in advance, +1702 // after all. +1703 try_send_rtt_msg(&conn, &self.ep, self.remote_node_id); +1704 Ok((conn, zrtt_accepted)) +1705 } +1706 Err(inner) => Err(Self { +1707 inner, +1708 ep: self.ep, +1709 remote_node_id: self.remote_node_id, +1710 _discovery_drop_guard: self._discovery_drop_guard, +1711 }), +1712 } +1713 } +1714 +1715 /// Parameters negotiated during the handshake +1716 pub async fn handshake_data(&mut self) -> Result<Box<dyn Any>, ConnectionError> { +1717 self.inner.handshake_data().await +1718 } +1719 +1720 /// Extracts the ALPN protocol from the peer's handshake data. +1721 pub async fn alpn(&mut self) -> Result<Vec<u8>, AlpnError> { +1722 let data = self.handshake_data().await?; +1723 match data.downcast::<quinn::crypto::rustls::HandshakeData>() { +1724 Ok(data) => match data.protocol { +1725 Some(protocol) => Ok(protocol), +1726 None => Err(UnavailableSnafu.build()), +1727 }, +1728 Err(_) => Err(UnknownHandshakeSnafu.build()), +1729 } +1730 } +1731} +1732 +1733impl Future for Connecting { +1734 type Output = Result<Connection, ConnectionError>; +1735 +1736 fn poll(self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll<Self::Output> { +1737 let this = self.project(); +1738 match this.inner.poll(cx) { +1739 Poll::Pending => Poll::Pending, +1740 Poll::Ready(Err(err)) => Poll::Ready(Err(err)), +1741 Poll::Ready(Ok(inner)) => { +1742 let conn = Connection { inner }; +1743 try_send_rtt_msg(&conn, this.ep, *this.remote_node_id); +1744 Poll::Ready(Ok(conn)) +1745 } +1746 } +1747 } +1748} +1749 +1750/// Future that completes when a connection is fully established. +1751/// +1752/// For clients, the resulting value indicates if 0-RTT was accepted. For servers, the resulting +1753/// value is meaningless. +1754#[derive(derive_more::Debug)] +1755#[debug("ZeroRttAccepted")] +1756pub struct ZeroRttAccepted { +1757 inner: quinn::ZeroRttAccepted, +1758 /// When we call `Connecting::into_0rtt`, we don't want to stop discovery, so we transfer the task +1759 /// to this future. +1760 /// When `quinn::ZeroRttAccepted` resolves, we've successfully received data from the remote. +1761 /// Thus, that's the right time to drop discovery to preserve the behaviour similar to +1762 /// `Connecting` -> `Connection` without 0-RTT. +1763 /// Should we eventually decide to keep the discovery task alive for the duration of the whole +1764 /// `Connection`, then this task should be transferred to the `Connection` instead of here. +1765 _discovery_drop_guard: Option<DiscoveryTask>, +1766} +1767 +1768impl Future for ZeroRttAccepted { +1769 type Output = bool; +1770 fn poll(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll<Self::Output> { +1771 Pin::new(&mut self.inner).poll(cx) +1772 } +1773} +1774 +1775/// A QUIC connection. +1776/// +1777/// If all references to a connection (including every clone of the Connection handle, +1778/// streams of incoming streams, and the various stream types) have been dropped, then the +1779/// connection will be automatically closed with an error_code of 0 and an empty reason. You +1780/// can also close the connection explicitly by calling [`Connection::close`]. +1781/// +1782/// Closing the connection immediately abandons efforts to deliver data to the peer. Upon +1783/// receiving CONNECTION_CLOSE the peer may drop any stream data not yet delivered to the +1784/// application. [`Connection::close`] describes in more detail how to gracefully close a +1785/// connection without losing application data. +1786/// +1787/// May be cloned to obtain another handle to the same connection. +1788#[derive(Debug, Clone)] +1789pub struct Connection { +1790 inner: quinn::Connection, +1791} +1792 +1793#[allow(missing_docs)] +1794#[derive(Debug, Snafu)] +1795#[snafu(display("Protocol error: no remote id available"))] +1796pub struct RemoteNodeIdError { +1797 backtrace: Option<snafu::Backtrace>, +1798} +1799 +1800impl Connection { +1801 /// Initiates a new outgoing unidirectional stream. +1802 /// +1803 /// Streams are cheap and instantaneous to open unless blocked by flow control. As a +1804 /// consequence, the peer won’t be notified that a stream has been opened until the +1805 /// stream is actually used. +1806 #[inline] +1807 pub fn open_uni(&self) -> OpenUni<'_> { +1808 self.inner.open_uni() +1809 } +1810 +1811 /// Initiates a new outgoing bidirectional stream. +1812 /// +1813 /// Streams are cheap and instantaneous to open unless blocked by flow control. As a +1814 /// consequence, the peer won't be notified that a stream has been opened until the +1815 /// stream is actually used. Calling [`open_bi`] then waiting on the [`RecvStream`] +1816 /// without writing anything to [`SendStream`] will never succeed. +1817 /// +1818 /// [`open_bi`]: Connection::open_bi +1819 #[inline] +1820 pub fn open_bi(&self) -> OpenBi<'_> { +1821 self.inner.open_bi() +1822 } +1823 +1824 /// Accepts the next incoming uni-directional stream. +1825 #[inline] +1826 pub fn accept_uni(&self) -> AcceptUni<'_> { +1827 self.inner.accept_uni() +1828 } +1829 +1830 /// Accept the next incoming bidirectional stream. +1831 /// +1832 /// **Important Note**: The peer that calls [`open_bi`] must write to its [`SendStream`] +1833 /// before the peer `Connection` is able to accept the stream using +1834 /// `accept_bi()`. Calling [`open_bi`] then waiting on the [`RecvStream`] without +1835 /// writing anything to the connected [`SendStream`] will never succeed. +1836 /// +1837 /// [`open_bi`]: Connection::open_bi +1838 #[inline] +1839 pub fn accept_bi(&self) -> AcceptBi<'_> { +1840 self.inner.accept_bi() +1841 } +1842 +1843 /// Receives an application datagram. +1844 #[inline] +1845 pub fn read_datagram(&self) -> ReadDatagram<'_> { +1846 self.inner.read_datagram() +1847 } +1848 +1849 /// Wait for the connection to be closed for any reason. +1850 /// +1851 /// Despite the return type's name, closed connections are often not an error condition +1852 /// at the application layer. Cases that might be routine include +1853 /// [`ConnectionError::LocallyClosed`] and [`ConnectionError::ApplicationClosed`]. +1854 #[inline] +1855 pub async fn closed(&self) -> ConnectionError { +1856 self.inner.closed().await +1857 } +1858 +1859 /// If the connection is closed, the reason why. +1860 /// +1861 /// Returns `None` if the connection is still open. +1862 #[inline] +1863 pub fn close_reason(&self) -> Option<ConnectionError> { +1864 self.inner.close_reason() +1865 } +1866 +1867 /// Closes the connection immediately. +1868 /// +1869 /// Pending operations will fail immediately with [`ConnectionError::LocallyClosed`]. No +1870 /// more data is sent to the peer and the peer may drop buffered data upon receiving the +1871 /// CONNECTION_CLOSE frame. +1872 /// +1873 /// `error_code` and `reason` are not interpreted, and are provided directly to the +1874 /// peer. +1875 /// +1876 /// `reason` will be truncated to fit in a single packet with overhead; to improve odds +1877 /// that it is preserved in full, it should be kept under 1KiB. +1878 /// +1879 /// # Gracefully closing a connection +1880 /// +1881 /// Only the peer last receiving application data can be certain that all data is +1882 /// delivered. The only reliable action it can then take is to close the connection, +1883 /// potentially with a custom error code. The delivery of the final CONNECTION_CLOSE +1884 /// frame is very likely if both endpoints stay online long enough, calling +1885 /// [`Endpoint::close`] will wait to provide sufficient time. Otherwise, the remote peer +1886 /// will time out the connection, provided that the idle timeout is not disabled. +1887 /// +1888 /// The sending side can not guarantee all stream data is delivered to the remote +1889 /// application. It only knows the data is delivered to the QUIC stack of the remote +1890 /// endpoint. Once the local side sends a CONNECTION_CLOSE frame in response to calling +1891 /// [`close`] the remote endpoint may drop any data it received but is as yet +1892 /// undelivered to the application, including data that was acknowledged as received to +1893 /// the local endpoint. +1894 /// +1895 /// [`close`]: Connection::close +1896 #[inline] +1897 pub fn close(&self, error_code: VarInt, reason: &[u8]) { +1898 self.inner.close(error_code, reason) +1899 } +1900 +1901 /// Transmits `data` as an unreliable, unordered application datagram. +1902 /// +1903 /// Application datagrams are a low-level primitive. They may be lost or delivered out +1904 /// of order, and `data` must both fit inside a single QUIC packet and be smaller than +1905 /// the maximum dictated by the peer. +1906 #[inline] +1907 pub fn send_datagram(&self, data: bytes::Bytes) -> Result<(), SendDatagramError> { +1908 self.inner.send_datagram(data) +1909 } +1910 +1911 // TODO: It seems `SendDatagram` is not yet exposed by quinn. This has been fixed +1912 // upstream and will be in the next release. +1913 // /// Transmits `data` as an unreliable, unordered application datagram +1914 // /// +1915 // /// Unlike [`send_datagram()`], this method will wait for buffer space during congestion +1916 // /// conditions, which effectively prioritizes old datagrams over new datagrams. +1917 // /// +1918 // /// See [`send_datagram()`] for details. +1919 // /// +1920 // /// [`send_datagram()`]: Connection::send_datagram +1921 // #[inline] +1922 // pub fn send_datagram_wait(&self, data: bytes::Bytes) -> SendDatagram<'_> { +1923 // self.inner.send_datagram_wait(data) +1924 // } +1925 +1926 /// Computes the maximum size of datagrams that may be passed to [`send_datagram`]. +1927 /// +1928 /// Returns `None` if datagrams are unsupported by the peer or disabled locally. +1929 /// +1930 /// This may change over the lifetime of a connection according to variation in the path +1931 /// MTU estimate. The peer can also enforce an arbitrarily small fixed limit, but if the +1932 /// peer's limit is large this is guaranteed to be a little over a kilobyte at minimum. +1933 /// +1934 /// Not necessarily the maximum size of received datagrams. +1935 /// +1936 /// [`send_datagram`]: Self::send_datagram +1937 #[inline] +1938 pub fn max_datagram_size(&self) -> Option<usize> { +1939 self.inner.max_datagram_size() +1940 } +1941 +1942 /// Bytes available in the outgoing datagram buffer. +1943 /// +1944 /// When greater than zero, calling [`send_datagram`] with a +1945 /// datagram of at most this size is guaranteed not to cause older datagrams to be +1946 /// dropped. +1947 /// +1948 /// [`send_datagram`]: Self::send_datagram +1949 #[inline] +1950 pub fn datagram_send_buffer_space(&self) -> usize { +1951 self.inner.datagram_send_buffer_space() +1952 } +1953 +1954 /// Current best estimate of this connection's latency (round-trip-time). +1955 #[inline] +1956 pub fn rtt(&self) -> Duration { +1957 self.inner.rtt() +1958 } +1959 +1960 /// Returns connection statistics. +1961 #[inline] +1962 pub fn stats(&self) -> ConnectionStats { +1963 self.inner.stats() +1964 } +1965 +1966 /// Current state of the congestion control algorithm, for debugging purposes. +1967 #[inline] +1968 pub fn congestion_state(&self) -> Box<dyn quinn_proto::congestion::Controller> { +1969 self.inner.congestion_state() +1970 } +1971 +1972 /// Parameters negotiated during the handshake. +1973 /// +1974 /// Guaranteed to return `Some` on fully established connections or after +1975 /// [`Connecting::handshake_data()`] succeeds. See that method's documentations for +1976 /// details on the returned value. +1977 /// +1978 /// [`Connection::handshake_data()`]: crate::endpoint::Connecting::handshake_data +1979 #[inline] +1980 pub fn handshake_data(&self) -> Option<Box<dyn Any>> { +1981 self.inner.handshake_data() +1982 } +1983 +1984 /// Extracts the ALPN protocol from the peer's handshake data. +1985 pub fn alpn(&self) -> Option<Vec<u8>> { +1986 let data = self.handshake_data()?; +1987 match data.downcast::<quinn::crypto::rustls::HandshakeData>() { +1988 Ok(data) => data.protocol, +1989 Err(_) => None, +1990 } +1991 } +1992 +1993 /// Cryptographic identity of the peer. +1994 /// +1995 /// The dynamic type returned is determined by the configured [`Session`]. For the +1996 /// default `rustls` session, the return value can be [`downcast`] to a +1997 /// <code>Vec<[rustls::pki_types::CertificateDer]></code> +1998 /// +1999 /// [`Session`]: quinn_proto::crypto::Session +2000 /// [`downcast`]: Box::downcast +2001 #[inline] +2002 pub fn peer_identity(&self) -> Option<Box<dyn Any>> { +2003 self.inner.peer_identity() +2004 } +2005 +2006 /// Returns the [`NodeId`] from the peer's TLS certificate. +2007 /// +2008 /// The [`PublicKey`] of a node is also known as a [`NodeId`]. This [`PublicKey`] is +2009 /// included in the TLS certificate presented during the handshake when connecting. +2010 /// This function allows you to get the [`NodeId`] of the remote node of this +2011 /// connection. +2012 /// +2013 /// [`PublicKey`]: iroh_base::PublicKey +2014 // TODO: Would be nice if this could be infallible. +2015 pub fn remote_node_id(&self) -> Result<NodeId, RemoteNodeIdError> { +2016 let data = self.peer_identity(); +2017 match data { +2018 None => { +2019 warn!("no peer certificate found"); +2020 Err(RemoteNodeIdSnafu.build()) +2021 } +2022 Some(data) => match data.downcast::<Vec<rustls::pki_types::CertificateDer>>() { +2023 Ok(certs) => { +2024 if certs.len() != 1 { +2025 warn!( +2026 "expected a single peer certificate, but {} found", +2027 certs.len() +2028 ); +2029 return Err(RemoteNodeIdSnafu.build()); +2030 } +2031 +2032 let peer_id = VerifyingKey::from_public_key_der(&certs[0]) +2033 .map_err(|_| RemoteNodeIdSnafu.build())? +2034 .into(); +2035 Ok(peer_id) +2036 } +2037 Err(err) => { +2038 warn!("invalid peer certificate: {:?}", err); +2039 Err(RemoteNodeIdSnafu.build()) +2040 } +2041 }, +2042 } +2043 } +2044 +2045 /// A stable identifier for this connection. +2046 /// +2047 /// Peer addresses and connection IDs can change, but this value will remain fixed for +2048 /// the lifetime of the connection. +2049 #[inline] +2050 pub fn stable_id(&self) -> usize { +2051 self.inner.stable_id() +2052 } +2053 +2054 /// Derives keying material from this connection's TLS session secrets. +2055 /// +2056 /// When both peers call this method with the same `label` and `context` +2057 /// arguments and `output` buffers of equal length, they will get the +2058 /// same sequence of bytes in `output`. These bytes are cryptographically +2059 /// strong and pseudorandom, and are suitable for use as keying material. +2060 /// +2061 /// See [RFC5705](https://tools.ietf.org/html/rfc5705) for more information. +2062 #[inline] +2063 pub fn export_keying_material( +2064 &self, +2065 output: &mut [u8], +2066 label: &[u8], +2067 context: &[u8], +2068 ) -> Result<(), quinn_proto::crypto::ExportKeyingMaterialError> { +2069 self.inner.export_keying_material(output, label, context) +2070 } +2071 +2072 /// Modifies the number of unidirectional streams that may be concurrently opened. +2073 /// +2074 /// No streams may be opened by the peer unless fewer than `count` are already +2075 /// open. Large `count`s increase both minimum and worst-case memory consumption. +2076 #[inline] +2077 pub fn set_max_concurrent_uni_streams(&self, count: VarInt) { +2078 self.inner.set_max_concurrent_uni_streams(count) +2079 } +2080 +2081 /// See [`quinn_proto::TransportConfig::receive_window`]. +2082 #[inline] +2083 pub fn set_receive_window(&self, receive_window: VarInt) { +2084 self.inner.set_receive_window(receive_window) +2085 } +2086 +2087 /// Modifies the number of bidirectional streams that may be concurrently opened. +2088 /// +2089 /// No streams may be opened by the peer unless fewer than `count` are already +2090 /// open. Large `count`s increase both minimum and worst-case memory consumption. +2091 #[inline] +2092 pub fn set_max_concurrent_bi_streams(&self, count: VarInt) { +2093 self.inner.set_max_concurrent_bi_streams(count) +2094 } +2095} +2096 +2097/// Try send a message to the rtt-actor. +2098/// +2099/// If we can't notify the actor that will impact performance a little, but we can still +2100/// function. +2101fn try_send_rtt_msg(conn: &Connection, magic_ep: &Endpoint, remote_node_id: Option<NodeId>) { +2102 // If we can't notify the rtt-actor that's not great but not critical. +2103 let Some(node_id) = remote_node_id.or_else(|| conn.remote_node_id().ok()) else { +2104 warn!(?conn, "failed to get remote node id"); +2105 return; +2106 }; +2107 let Some(conn_type_changes) = magic_ep.conn_type(node_id) else { +2108 warn!(?conn, "failed to create conn_type stream"); +2109 return; +2110 }; +2111 let rtt_msg = RttMessage::NewConnection { +2112 connection: conn.inner.weak_handle(), +2113 conn_type_changes: conn_type_changes.stream(), +2114 node_id, +2115 }; +2116 if let Err(err) = magic_ep.rtt_actor.msg_tx.try_send(rtt_msg) { +2117 warn!(?conn, "rtt-actor not reachable: {err:#}"); +2118 } +2119} +2120 +2121/// Read a proxy url from the environment, in this order +2122/// +2123/// - `HTTP_PROXY` +2124/// - `http_proxy` +2125/// - `HTTPS_PROXY` +2126/// - `https_proxy` +2127fn proxy_url_from_env() -> Option<Url> { +2128 if let Some(url) = std::env::var("HTTP_PROXY") +2129 .ok() +2130 .and_then(|s| s.parse::<Url>().ok()) +2131 { +2132 if is_cgi() { +2133 warn!("HTTP_PROXY environment variable ignored in CGI"); +2134 } else { +2135 return Some(url); +2136 } +2137 } +2138 if let Some(url) = std::env::var("http_proxy") +2139 .ok() +2140 .and_then(|s| s.parse::<Url>().ok()) +2141 { +2142 return Some(url); +2143 } +2144 if let Some(url) = std::env::var("HTTPS_PROXY") +2145 .ok() +2146 .and_then(|s| s.parse::<Url>().ok()) +2147 { +2148 return Some(url); +2149 } +2150 if let Some(url) = std::env::var("https_proxy") +2151 .ok() +2152 .and_then(|s| s.parse::<Url>().ok()) +2153 { +2154 return Some(url); +2155 } +2156 +2157 None +2158} +2159 +2160/// Configuration of the relay servers for an [`Endpoint`]. +2161#[derive(Debug, Clone, PartialEq, Eq)] +2162pub enum RelayMode { +2163 /// Disable relay servers completely. +2164 Disabled, +2165 /// Use the default relay map, with production relay servers from n0. +2166 /// +2167 /// See [`crate::defaults::prod`] for the severs used. +2168 Default, +2169 /// Use the staging relay servers from n0. +2170 Staging, +2171 /// Use a custom relay map. +2172 Custom(RelayMap), +2173} +2174 +2175impl RelayMode { +2176 /// Returns the relay map for this mode. +2177 pub fn relay_map(&self) -> RelayMap { +2178 match self { +2179 RelayMode::Disabled => RelayMap::empty(), +2180 RelayMode::Default => crate::defaults::prod::default_relay_map(), +2181 RelayMode::Staging => crate::defaults::staging::default_relay_map(), +2182 RelayMode::Custom(relay_map) => relay_map.clone(), +2183 } +2184 } +2185} +2186 +2187/// Environment variable to force the use of staging relays. +2188pub const ENV_FORCE_STAGING_RELAYS: &str = "IROH_FORCE_STAGING_RELAYS"; +2189 +2190/// Returns `true` if the use of staging relays is forced. +2191pub fn force_staging_infra() -> bool { +2192 matches!(std::env::var(ENV_FORCE_STAGING_RELAYS), Ok(value) if !value.is_empty()) +2193} +2194 +2195/// Returns the default relay mode. +2196/// +2197/// If the `IROH_FORCE_STAGING_RELAYS` environment variable is non empty, it will return `RelayMode::Staging`. +2198/// Otherwise, it will return `RelayMode::Default`. +2199pub fn default_relay_mode() -> RelayMode { +2200 // Use staging in testing +2201 match force_staging_infra() { +2202 true => RelayMode::Staging, +2203 false => RelayMode::Default, +2204 } +2205} 2206 -2207 use super::Endpoint; -2208 use crate::{ -2209 RelayMode, -2210 discovery::static_provider::StaticProvider, -2211 endpoint::{ConnectOptions, Connection, ConnectionType}, -2212 protocol::{AcceptError, ProtocolHandler, Router}, -2213 test_utils::{run_relay_server, run_relay_server_with}, -2214 }; -2215 -2216 const TEST_ALPN: &[u8] = b"n0/iroh/test"; -2217 -2218 #[tokio::test] -2219 #[traced_test] -2220 async fn test_connect_self() -> Result { -2221 let ep = Endpoint::builder() -2222 .alpns(vec![TEST_ALPN.to_vec()]) -2223 .bind() -2224 .await -2225 .unwrap(); -2226 let my_addr = ep.node_addr().initialized().await; -2227 let res = ep.connect(my_addr.clone(), TEST_ALPN).await; -2228 assert!(res.is_err()); -2229 let err = res.err().unwrap(); -2230 assert!(err.to_string().starts_with("Connecting to ourself")); -2231 -2232 let res = ep.add_node_addr(my_addr); -2233 assert!(res.is_err()); -2234 let err = res.err().unwrap(); -2235 assert!(err.to_string().starts_with("Adding our own address")); -2236 Ok(()) -2237 } +2207/// Check if we are being executed in a CGI context. +2208/// +2209/// If so, a malicious client can send the `Proxy:` header, and it will +2210/// be in the `HTTP_PROXY` env var. So we don't use it :) +2211fn is_cgi() -> bool { +2212 std::env::var_os("REQUEST_METHOD").is_some() +2213} +2214 +2215// TODO: These tests could still be flaky, lets fix that: +2216// https://github.com/n0-computer/iroh/issues/1183 +2217#[cfg(test)] +2218mod tests { +2219 use std::time::{Duration, Instant}; +2220 +2221 use iroh_base::{NodeAddr, NodeId, SecretKey}; +2222 use n0_future::{BufferedStreamExt, StreamExt, stream, task::AbortOnDropHandle}; +2223 use n0_snafu::{Error, Result, ResultExt}; +2224 use n0_watcher::Watcher; +2225 use quinn::ConnectionError; +2226 use rand::SeedableRng; +2227 use tracing::{Instrument, error_span, info, info_span}; +2228 use tracing_test::traced_test; +2229 +2230 use super::Endpoint; +2231 use crate::{ +2232 RelayMode, +2233 discovery::static_provider::StaticProvider, +2234 endpoint::{ConnectOptions, Connection, ConnectionType}, +2235 protocol::{AcceptError, ProtocolHandler, Router}, +2236 test_utils::{run_relay_server, run_relay_server_with}, +2237 }; 2238 -2239 #[tokio::test] -2240 #[traced_test] -2241 async fn endpoint_connect_close() -> Result { -2242 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); -2243 let (relay_map, relay_url, _guard) = run_relay_server().await?; -2244 let server_secret_key = SecretKey::generate(&mut rng); -2245 let server_peer_id = server_secret_key.public(); -2246 -2247 // Wait for the endpoint to be started to make sure it's up before clients try to connect -2248 let ep = Endpoint::builder() -2249 .secret_key(server_secret_key) -2250 .alpns(vec![TEST_ALPN.to_vec()]) -2251 .relay_mode(RelayMode::Custom(relay_map.clone())) -2252 .insecure_skip_relay_cert_verify(true) -2253 .bind() -2254 .await?; -2255 // Wait for the endpoint to be reachable via relay -2256 ep.home_relay().initialized().await; -2257 -2258 let server = tokio::spawn( -2259 async move { -2260 info!("accepting connection"); -2261 let incoming = ep.accept().await.e()?; -2262 let conn = incoming.await.e()?; -2263 let mut stream = conn.accept_uni().await.e()?; -2264 let mut buf = [0u8; 5]; -2265 stream.read_exact(&mut buf).await.e()?; -2266 info!("Accepted 1 stream, received {buf:?}. Closing now."); -2267 // close the connection -2268 conn.close(7u8.into(), b"bye"); +2239 const TEST_ALPN: &[u8] = b"n0/iroh/test"; +2240 +2241 #[tokio::test] +2242 #[traced_test] +2243 async fn test_connect_self() -> Result { +2244 let ep = Endpoint::builder() +2245 .alpns(vec![TEST_ALPN.to_vec()]) +2246 .bind() +2247 .await +2248 .unwrap(); +2249 let my_addr = ep.watch_node_addr().initialized().await; +2250 let res = ep.connect(my_addr.clone(), TEST_ALPN).await; +2251 assert!(res.is_err()); +2252 let err = res.err().unwrap(); +2253 assert!(err.to_string().starts_with("Connecting to ourself")); +2254 +2255 let res = ep.add_node_addr(my_addr); +2256 assert!(res.is_err()); +2257 let err = res.err().unwrap(); +2258 assert!(err.to_string().starts_with("Adding our own address")); +2259 Ok(()) +2260 } +2261 +2262 #[tokio::test] +2263 #[traced_test] +2264 async fn endpoint_connect_close() -> Result { +2265 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); +2266 let (relay_map, relay_url, _guard) = run_relay_server().await?; +2267 let server_secret_key = SecretKey::generate(&mut rng); +2268 let server_peer_id = server_secret_key.public(); 2269 -2270 let res = conn.accept_uni().await; -2271 assert_eq!(res.unwrap_err(), quinn::ConnectionError::LocallyClosed); -2272 -2273 let res = stream.read_to_end(10).await; -2274 assert_eq!( -2275 res.unwrap_err(), -2276 quinn::ReadToEndError::Read(quinn::ReadError::ConnectionLost( -2277 quinn::ConnectionError::LocallyClosed -2278 )) -2279 ); -2280 info!("server test completed"); -2281 Ok::<_, Error>(()) -2282 } -2283 .instrument(info_span!("test-server")), -2284 ); -2285 -2286 let client = tokio::spawn( -2287 async move { -2288 let ep = Endpoint::builder() -2289 .alpns(vec![TEST_ALPN.to_vec()]) -2290 .relay_mode(RelayMode::Custom(relay_map)) -2291 .insecure_skip_relay_cert_verify(true) -2292 .bind() -2293 .await?; -2294 info!("client connecting"); -2295 let node_addr = NodeAddr::new(server_peer_id).with_relay_url(relay_url); -2296 let conn = ep.connect(node_addr, TEST_ALPN).await?; -2297 let mut stream = conn.open_uni().await.e()?; -2298 -2299 // First write is accepted by server. We need this bit of synchronisation -2300 // because if the server closes after simply accepting the connection we can -2301 // not be sure our .open_uni() call would succeed as it may already receive -2302 // the error. -2303 stream.write_all(b"hello").await.e()?; -2304 -2305 info!("waiting for closed"); -2306 // Remote now closes the connection, we should see an error sometime soon. -2307 let err = conn.closed().await; -2308 let expected_err = -2309 quinn::ConnectionError::ApplicationClosed(quinn::ApplicationClose { -2310 error_code: 7u8.into(), -2311 reason: b"bye".to_vec().into(), -2312 }); -2313 assert_eq!(err, expected_err); -2314 -2315 info!("opening new - expect it to fail"); -2316 let res = conn.open_uni().await; -2317 assert_eq!(res.unwrap_err(), expected_err); -2318 info!("client test completed"); -2319 Ok::<_, Error>(()) -2320 } -2321 .instrument(info_span!("test-client")), -2322 ); -2323 -2324 let (server, client) = tokio::time::timeout( -2325 Duration::from_secs(30), -2326 n0_future::future::zip(server, client), -2327 ) -2328 .await -2329 .e()?; -2330 server.e()??; -2331 client.e()??; -2332 Ok(()) -2333 } -2334 -2335 #[tokio::test] -2336 #[traced_test] -2337 async fn endpoint_relay_connect_loop() -> Result { -2338 let test_start = Instant::now(); -2339 let n_clients = 5; -2340 let n_chunks_per_client = 2; -2341 let chunk_size = 10; -2342 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(42); -2343 let (relay_map, relay_url, _relay_guard) = run_relay_server().await.unwrap(); -2344 let server_secret_key = SecretKey::generate(&mut rng); -2345 let server_node_id = server_secret_key.public(); +2270 // Wait for the endpoint to be started to make sure it's up before clients try to connect +2271 let ep = Endpoint::builder() +2272 .secret_key(server_secret_key) +2273 .alpns(vec![TEST_ALPN.to_vec()]) +2274 .relay_mode(RelayMode::Custom(relay_map.clone())) +2275 .insecure_skip_relay_cert_verify(true) +2276 .bind() +2277 .await?; +2278 // Wait for the endpoint to be reachable via relay +2279 ep.online().await; +2280 +2281 let server = tokio::spawn( +2282 async move { +2283 info!("accepting connection"); +2284 let incoming = ep.accept().await.e()?; +2285 let conn = incoming.await.e()?; +2286 let mut stream = conn.accept_uni().await.e()?; +2287 let mut buf = [0u8; 5]; +2288 stream.read_exact(&mut buf).await.e()?; +2289 info!("Accepted 1 stream, received {buf:?}. Closing now."); +2290 // close the connection +2291 conn.close(7u8.into(), b"bye"); +2292 +2293 let res = conn.accept_uni().await; +2294 assert_eq!(res.unwrap_err(), quinn::ConnectionError::LocallyClosed); +2295 +2296 let res = stream.read_to_end(10).await; +2297 assert_eq!( +2298 res.unwrap_err(), +2299 quinn::ReadToEndError::Read(quinn::ReadError::ConnectionLost( +2300 quinn::ConnectionError::LocallyClosed +2301 )) +2302 ); +2303 info!("server test completed"); +2304 Ok::<_, Error>(()) +2305 } +2306 .instrument(info_span!("test-server")), +2307 ); +2308 +2309 let client = tokio::spawn( +2310 async move { +2311 let ep = Endpoint::builder() +2312 .alpns(vec![TEST_ALPN.to_vec()]) +2313 .relay_mode(RelayMode::Custom(relay_map)) +2314 .insecure_skip_relay_cert_verify(true) +2315 .bind() +2316 .await?; +2317 info!("client connecting"); +2318 let node_addr = NodeAddr::new(server_peer_id).with_relay_url(relay_url); +2319 let conn = ep.connect(node_addr, TEST_ALPN).await?; +2320 let mut stream = conn.open_uni().await.e()?; +2321 +2322 // First write is accepted by server. We need this bit of synchronisation +2323 // because if the server closes after simply accepting the connection we can +2324 // not be sure our .open_uni() call would succeed as it may already receive +2325 // the error. +2326 stream.write_all(b"hello").await.e()?; +2327 +2328 info!("waiting for closed"); +2329 // Remote now closes the connection, we should see an error sometime soon. +2330 let err = conn.closed().await; +2331 let expected_err = +2332 quinn::ConnectionError::ApplicationClosed(quinn::ApplicationClose { +2333 error_code: 7u8.into(), +2334 reason: b"bye".to_vec().into(), +2335 }); +2336 assert_eq!(err, expected_err); +2337 +2338 info!("opening new - expect it to fail"); +2339 let res = conn.open_uni().await; +2340 assert_eq!(res.unwrap_err(), expected_err); +2341 info!("client test completed"); +2342 Ok::<_, Error>(()) +2343 } +2344 .instrument(info_span!("test-client")), +2345 ); 2346 -2347 // Make sure the server is bound before having clients connect to it: -2348 let ep = Endpoint::builder() -2349 .insecure_skip_relay_cert_verify(true) -2350 .secret_key(server_secret_key) -2351 .alpns(vec![TEST_ALPN.to_vec()]) -2352 .relay_mode(RelayMode::Custom(relay_map.clone())) -2353 .bind() -2354 .await?; -2355 // Also make sure the server has a working relay connection -2356 ep.home_relay().initialized().await; +2347 let (server, client) = tokio::time::timeout( +2348 Duration::from_secs(30), +2349 n0_future::future::zip(server, client), +2350 ) +2351 .await +2352 .e()?; +2353 server.e()??; +2354 client.e()??; +2355 Ok(()) +2356 } 2357 -2358 info!(time = ?test_start.elapsed(), "test setup done"); -2359 -2360 // The server accepts the connections of the clients sequentially. -2361 let server = tokio::spawn( -2362 async move { -2363 let eps = ep.bound_sockets(); -2364 -2365 info!(me = %ep.node_id().fmt_short(), eps = ?eps, "server listening on"); -2366 for i in 0..n_clients { -2367 let round_start = Instant::now(); -2368 info!("[server] round {i}"); -2369 let incoming = ep.accept().await.e()?; -2370 let conn = incoming.await.e()?; -2371 let node_id = conn.remote_node_id()?; -2372 info!(%i, peer = %node_id.fmt_short(), "accepted connection"); -2373 let (mut send, mut recv) = conn.accept_bi().await.e()?; -2374 let mut buf = vec![0u8; chunk_size]; -2375 for _i in 0..n_chunks_per_client { -2376 recv.read_exact(&mut buf).await.e()?; -2377 send.write_all(&buf).await.e()?; -2378 } -2379 send.finish().e()?; -2380 conn.closed().await; // we're the last to send data, so we wait for the other side to close -2381 info!(%i, peer = %node_id.fmt_short(), "finished"); -2382 info!("[server] round {i} done in {:?}", round_start.elapsed()); -2383 } -2384 Ok::<_, Error>(()) -2385 } -2386 .instrument(error_span!("server")), -2387 ); -2388 -2389 let start = Instant::now(); -2390 -2391 for i in 0..n_clients { -2392 let round_start = Instant::now(); -2393 info!("[client] round {i}"); -2394 let client_secret_key = SecretKey::generate(&mut rng); -2395 async { -2396 info!("client binding"); -2397 let ep = Endpoint::builder() -2398 .alpns(vec![TEST_ALPN.to_vec()]) -2399 .insecure_skip_relay_cert_verify(true) -2400 .relay_mode(RelayMode::Custom(relay_map.clone())) -2401 .secret_key(client_secret_key) -2402 .bind() -2403 .await?; -2404 let eps = ep.bound_sockets(); -2405 -2406 info!(me = %ep.node_id().fmt_short(), eps=?eps, "client bound"); -2407 let node_addr = NodeAddr::new(server_node_id).with_relay_url(relay_url.clone()); -2408 info!(to = ?node_addr, "client connecting"); -2409 let conn = ep.connect(node_addr, TEST_ALPN).await.e()?; -2410 info!("client connected"); -2411 let (mut send, mut recv) = conn.open_bi().await.e()?; -2412 -2413 for i in 0..n_chunks_per_client { -2414 let mut buf = vec![i; chunk_size]; -2415 send.write_all(&buf).await.e()?; -2416 recv.read_exact(&mut buf).await.e()?; -2417 assert_eq!(buf, vec![i; chunk_size]); -2418 } -2419 // we're the last to receive data, so we close -2420 conn.close(0u32.into(), b"bye!"); -2421 info!("client finished"); -2422 ep.close().await; -2423 info!("client closed"); -2424 Ok::<_, Error>(()) -2425 } -2426 .instrument(error_span!("client", %i)) -2427 .await?; -2428 info!("[client] round {i} done in {:?}", round_start.elapsed()); -2429 } -2430 -2431 server.await.e()??; -2432 -2433 // We appear to have seen this being very slow at times. So ensure we fail if this -2434 // test is too slow. We're only making two connections transferring very little -2435 // data, this really shouldn't take long. -2436 if start.elapsed() > Duration::from_secs(15) { -2437 panic!("Test too slow, something went wrong"); -2438 } -2439 -2440 Ok(()) -2441 } -2442 -2443 #[tokio::test] -2444 #[traced_test] -2445 async fn endpoint_send_relay() -> Result { -2446 let (relay_map, _relay_url, _guard) = run_relay_server().await?; -2447 let client = Endpoint::builder() -2448 .insecure_skip_relay_cert_verify(true) -2449 .relay_mode(RelayMode::Custom(relay_map.clone())) -2450 .bind() -2451 .await?; -2452 let server = Endpoint::builder() -2453 .insecure_skip_relay_cert_verify(true) -2454 .relay_mode(RelayMode::Custom(relay_map)) -2455 .alpns(vec![TEST_ALPN.to_vec()]) -2456 .bind() -2457 .await?; -2458 -2459 let task = tokio::spawn({ -2460 let server = server.clone(); -2461 async move { -2462 let Some(conn) = server.accept().await else { -2463 snafu::whatever!("Expected an incoming connection"); -2464 }; -2465 let conn = conn.await.e()?; -2466 let (mut send, mut recv) = conn.accept_bi().await.e()?; -2467 let data = recv.read_to_end(1000).await.e()?; -2468 send.write_all(&data).await.e()?; -2469 send.finish().e()?; -2470 conn.closed().await; -2471 -2472 Ok::<_, Error>(()) -2473 } -2474 }); -2475 -2476 let addr = server.node_addr().initialized().await; -2477 let conn = client.connect(addr, TEST_ALPN).await?; -2478 let (mut send, mut recv) = conn.open_bi().await.e()?; -2479 send.write_all(b"Hello, world!").await.e()?; -2480 send.finish().e()?; -2481 let data = recv.read_to_end(1000).await.e()?; -2482 conn.close(0u32.into(), b"bye!"); -2483 -2484 task.await.e()??; -2485 -2486 client.close().await; -2487 server.close().await; -2488 -2489 assert_eq!(&data, b"Hello, world!"); -2490 -2491 Ok(()) -2492 } -2493 -2494 #[tokio::test] -2495 #[traced_test] -2496 async fn endpoint_bidi_send_recv() -> Result { -2497 let ep1 = Endpoint::builder() -2498 .alpns(vec![TEST_ALPN.to_vec()]) -2499 .relay_mode(RelayMode::Disabled); -2500 -2501 let ep1 = ep1.bind().await?; -2502 let ep2 = Endpoint::builder() -2503 .alpns(vec![TEST_ALPN.to_vec()]) -2504 .relay_mode(RelayMode::Disabled); -2505 -2506 let ep2 = ep2.bind().await?; -2507 -2508 let ep1_nodeaddr = ep1.node_addr().initialized().await; -2509 let ep2_nodeaddr = ep2.node_addr().initialized().await; -2510 ep1.add_node_addr(ep2_nodeaddr.clone())?; -2511 ep2.add_node_addr(ep1_nodeaddr.clone())?; -2512 let ep1_nodeid = ep1.node_id(); -2513 let ep2_nodeid = ep2.node_id(); -2514 eprintln!("node id 1 {ep1_nodeid}"); -2515 eprintln!("node id 2 {ep2_nodeid}"); +2358 #[tokio::test] +2359 #[traced_test] +2360 async fn endpoint_relay_connect_loop() -> Result { +2361 let test_start = Instant::now(); +2362 let n_clients = 5; +2363 let n_chunks_per_client = 2; +2364 let chunk_size = 10; +2365 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(42); +2366 let (relay_map, relay_url, _relay_guard) = run_relay_server().await.unwrap(); +2367 let server_secret_key = SecretKey::generate(&mut rng); +2368 let server_node_id = server_secret_key.public(); +2369 +2370 // Make sure the server is bound before having clients connect to it: +2371 let ep = Endpoint::builder() +2372 .insecure_skip_relay_cert_verify(true) +2373 .secret_key(server_secret_key) +2374 .alpns(vec![TEST_ALPN.to_vec()]) +2375 .relay_mode(RelayMode::Custom(relay_map.clone())) +2376 .bind() +2377 .await?; +2378 // Also make sure the server has a working relay connection +2379 ep.online().await; +2380 +2381 info!(time = ?test_start.elapsed(), "test setup done"); +2382 +2383 // The server accepts the connections of the clients sequentially. +2384 let server = tokio::spawn( +2385 async move { +2386 let eps = ep.bound_sockets(); +2387 +2388 info!(me = %ep.node_id().fmt_short(), eps = ?eps, "server listening on"); +2389 for i in 0..n_clients { +2390 let round_start = Instant::now(); +2391 info!("[server] round {i}"); +2392 let incoming = ep.accept().await.e()?; +2393 let conn = incoming.await.e()?; +2394 let node_id = conn.remote_node_id()?; +2395 info!(%i, peer = %node_id.fmt_short(), "accepted connection"); +2396 let (mut send, mut recv) = conn.accept_bi().await.e()?; +2397 let mut buf = vec![0u8; chunk_size]; +2398 for _i in 0..n_chunks_per_client { +2399 recv.read_exact(&mut buf).await.e()?; +2400 send.write_all(&buf).await.e()?; +2401 } +2402 send.finish().e()?; +2403 conn.closed().await; // we're the last to send data, so we wait for the other side to close +2404 info!(%i, peer = %node_id.fmt_short(), "finished"); +2405 info!("[server] round {i} done in {:?}", round_start.elapsed()); +2406 } +2407 Ok::<_, Error>(()) +2408 } +2409 .instrument(error_span!("server")), +2410 ); +2411 +2412 let start = Instant::now(); +2413 +2414 for i in 0..n_clients { +2415 let round_start = Instant::now(); +2416 info!("[client] round {i}"); +2417 let client_secret_key = SecretKey::generate(&mut rng); +2418 async { +2419 info!("client binding"); +2420 let ep = Endpoint::builder() +2421 .alpns(vec![TEST_ALPN.to_vec()]) +2422 .insecure_skip_relay_cert_verify(true) +2423 .relay_mode(RelayMode::Custom(relay_map.clone())) +2424 .secret_key(client_secret_key) +2425 .bind() +2426 .await?; +2427 let eps = ep.bound_sockets(); +2428 +2429 info!(me = %ep.node_id().fmt_short(), eps=?eps, "client bound"); +2430 let node_addr = NodeAddr::new(server_node_id).with_relay_url(relay_url.clone()); +2431 info!(to = ?node_addr, "client connecting"); +2432 let conn = ep.connect(node_addr, TEST_ALPN).await.e()?; +2433 info!("client connected"); +2434 let (mut send, mut recv) = conn.open_bi().await.e()?; +2435 +2436 for i in 0..n_chunks_per_client { +2437 let mut buf = vec![i; chunk_size]; +2438 send.write_all(&buf).await.e()?; +2439 recv.read_exact(&mut buf).await.e()?; +2440 assert_eq!(buf, vec![i; chunk_size]); +2441 } +2442 // we're the last to receive data, so we close +2443 conn.close(0u32.into(), b"bye!"); +2444 info!("client finished"); +2445 ep.close().await; +2446 info!("client closed"); +2447 Ok::<_, Error>(()) +2448 } +2449 .instrument(error_span!("client", %i)) +2450 .await?; +2451 info!("[client] round {i} done in {:?}", round_start.elapsed()); +2452 } +2453 +2454 server.await.e()??; +2455 +2456 // We appear to have seen this being very slow at times. So ensure we fail if this +2457 // test is too slow. We're only making two connections transferring very little +2458 // data, this really shouldn't take long. +2459 if start.elapsed() > Duration::from_secs(15) { +2460 panic!("Test too slow, something went wrong"); +2461 } +2462 +2463 Ok(()) +2464 } +2465 +2466 #[tokio::test] +2467 #[traced_test] +2468 async fn endpoint_send_relay() -> Result { +2469 let (relay_map, _relay_url, _guard) = run_relay_server().await?; +2470 let client = Endpoint::builder() +2471 .insecure_skip_relay_cert_verify(true) +2472 .relay_mode(RelayMode::Custom(relay_map.clone())) +2473 .bind() +2474 .await?; +2475 let server = Endpoint::builder() +2476 .insecure_skip_relay_cert_verify(true) +2477 .relay_mode(RelayMode::Custom(relay_map)) +2478 .alpns(vec![TEST_ALPN.to_vec()]) +2479 .bind() +2480 .await?; +2481 +2482 let task = tokio::spawn({ +2483 let server = server.clone(); +2484 async move { +2485 let Some(conn) = server.accept().await else { +2486 snafu::whatever!("Expected an incoming connection"); +2487 }; +2488 let conn = conn.await.e()?; +2489 let (mut send, mut recv) = conn.accept_bi().await.e()?; +2490 let data = recv.read_to_end(1000).await.e()?; +2491 send.write_all(&data).await.e()?; +2492 send.finish().e()?; +2493 conn.closed().await; +2494 +2495 Ok::<_, Error>(()) +2496 } +2497 }); +2498 +2499 let addr = server.watch_node_addr().initialized().await; +2500 let conn = client.connect(addr, TEST_ALPN).await?; +2501 let (mut send, mut recv) = conn.open_bi().await.e()?; +2502 send.write_all(b"Hello, world!").await.e()?; +2503 send.finish().e()?; +2504 let data = recv.read_to_end(1000).await.e()?; +2505 conn.close(0u32.into(), b"bye!"); +2506 +2507 task.await.e()??; +2508 +2509 client.close().await; +2510 server.close().await; +2511 +2512 assert_eq!(&data, b"Hello, world!"); +2513 +2514 Ok(()) +2515 } 2516 -2517 async fn connect_hello(ep: Endpoint, dst: NodeAddr) -> Result { -2518 let conn = ep.connect(dst, TEST_ALPN).await?; -2519 let (mut send, mut recv) = conn.open_bi().await.e()?; -2520 info!("sending hello"); -2521 send.write_all(b"hello").await.e()?; -2522 send.finish().e()?; -2523 info!("receiving world"); -2524 let m = recv.read_to_end(100).await.e()?; -2525 assert_eq!(m, b"world"); -2526 conn.close(1u8.into(), b"done"); -2527 Ok(()) -2528 } -2529 -2530 async fn accept_world(ep: Endpoint, src: NodeId) -> Result { -2531 let incoming = ep.accept().await.e()?; -2532 let mut iconn = incoming.accept().e()?; -2533 let alpn = iconn.alpn().await?; -2534 let conn = iconn.await.e()?; -2535 let node_id = conn.remote_node_id()?; -2536 assert_eq!(node_id, src); -2537 assert_eq!(alpn, TEST_ALPN); -2538 let (mut send, mut recv) = conn.accept_bi().await.e()?; -2539 info!("receiving hello"); -2540 let m = recv.read_to_end(100).await.e()?; -2541 assert_eq!(m, b"hello"); -2542 info!("sending hello"); -2543 send.write_all(b"world").await.e()?; -2544 send.finish().e()?; -2545 match conn.closed().await { -2546 ConnectionError::ApplicationClosed(closed) => { -2547 assert_eq!(closed.error_code, 1u8.into()); -2548 Ok(()) -2549 } -2550 _ => panic!("wrong close error"), -2551 } -2552 } -2553 -2554 let p1_accept = tokio::spawn(accept_world(ep1.clone(), ep2_nodeid).instrument(info_span!( -2555 "p1_accept", -2556 ep1 = %ep1.node_id().fmt_short(), -2557 dst = %ep2_nodeid.fmt_short(), -2558 ))); -2559 let p2_accept = tokio::spawn(accept_world(ep2.clone(), ep1_nodeid).instrument(info_span!( -2560 "p2_accept", -2561 ep2 = %ep2.node_id().fmt_short(), -2562 dst = %ep1_nodeid.fmt_short(), -2563 ))); -2564 let p1_connect = tokio::spawn(connect_hello(ep1.clone(), ep2_nodeaddr).instrument( -2565 info_span!( -2566 "p1_connect", -2567 ep1 = %ep1.node_id().fmt_short(), -2568 dst = %ep2_nodeid.fmt_short(), -2569 ), -2570 )); -2571 let p2_connect = tokio::spawn(connect_hello(ep2.clone(), ep1_nodeaddr).instrument( -2572 info_span!( -2573 "p2_connect", -2574 ep2 = %ep2.node_id().fmt_short(), -2575 dst = %ep1_nodeid.fmt_short(), -2576 ), -2577 )); -2578 -2579 p1_accept.await.e()??; -2580 p2_accept.await.e()??; -2581 p1_connect.await.e()??; -2582 p2_connect.await.e()??; -2583 -2584 Ok(()) -2585 } -2586 -2587 #[tokio::test] -2588 #[traced_test] -2589 async fn endpoint_conn_type_becomes_direct() -> Result { -2590 const TIMEOUT: Duration = std::time::Duration::from_secs(15); -2591 let (relay_map, _relay_url, _relay_guard) = run_relay_server().await?; -2592 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(42); -2593 let ep1_secret_key = SecretKey::generate(&mut rng); -2594 let ep2_secret_key = SecretKey::generate(&mut rng); -2595 let ep1 = Endpoint::builder() -2596 .secret_key(ep1_secret_key) -2597 .insecure_skip_relay_cert_verify(true) -2598 .alpns(vec![TEST_ALPN.to_vec()]) -2599 .relay_mode(RelayMode::Custom(relay_map.clone())) -2600 .bind() -2601 .await?; -2602 let ep2 = Endpoint::builder() -2603 .secret_key(ep2_secret_key) -2604 .insecure_skip_relay_cert_verify(true) -2605 .alpns(vec![TEST_ALPN.to_vec()]) -2606 .relay_mode(RelayMode::Custom(relay_map)) -2607 .bind() -2608 .await?; +2517 #[tokio::test] +2518 #[traced_test] +2519 async fn endpoint_bidi_send_recv() -> Result { +2520 let ep1 = Endpoint::builder() +2521 .alpns(vec![TEST_ALPN.to_vec()]) +2522 .relay_mode(RelayMode::Disabled); +2523 +2524 let ep1 = ep1.bind().await?; +2525 let ep2 = Endpoint::builder() +2526 .alpns(vec![TEST_ALPN.to_vec()]) +2527 .relay_mode(RelayMode::Disabled); +2528 +2529 let ep2 = ep2.bind().await?; +2530 +2531 let ep1_nodeaddr = ep1.watch_node_addr().initialized().await; +2532 let ep2_nodeaddr = ep2.watch_node_addr().initialized().await; +2533 ep1.add_node_addr(ep2_nodeaddr.clone())?; +2534 ep2.add_node_addr(ep1_nodeaddr.clone())?; +2535 let ep1_nodeid = ep1.node_id(); +2536 let ep2_nodeid = ep2.node_id(); +2537 eprintln!("node id 1 {ep1_nodeid}"); +2538 eprintln!("node id 2 {ep2_nodeid}"); +2539 +2540 async fn connect_hello(ep: Endpoint, dst: NodeAddr) -> Result { +2541 let conn = ep.connect(dst, TEST_ALPN).await?; +2542 let (mut send, mut recv) = conn.open_bi().await.e()?; +2543 info!("sending hello"); +2544 send.write_all(b"hello").await.e()?; +2545 send.finish().e()?; +2546 info!("receiving world"); +2547 let m = recv.read_to_end(100).await.e()?; +2548 assert_eq!(m, b"world"); +2549 conn.close(1u8.into(), b"done"); +2550 Ok(()) +2551 } +2552 +2553 async fn accept_world(ep: Endpoint, src: NodeId) -> Result { +2554 let incoming = ep.accept().await.e()?; +2555 let mut iconn = incoming.accept().e()?; +2556 let alpn = iconn.alpn().await?; +2557 let conn = iconn.await.e()?; +2558 let node_id = conn.remote_node_id()?; +2559 assert_eq!(node_id, src); +2560 assert_eq!(alpn, TEST_ALPN); +2561 let (mut send, mut recv) = conn.accept_bi().await.e()?; +2562 info!("receiving hello"); +2563 let m = recv.read_to_end(100).await.e()?; +2564 assert_eq!(m, b"hello"); +2565 info!("sending hello"); +2566 send.write_all(b"world").await.e()?; +2567 send.finish().e()?; +2568 match conn.closed().await { +2569 ConnectionError::ApplicationClosed(closed) => { +2570 assert_eq!(closed.error_code, 1u8.into()); +2571 Ok(()) +2572 } +2573 _ => panic!("wrong close error"), +2574 } +2575 } +2576 +2577 let p1_accept = tokio::spawn(accept_world(ep1.clone(), ep2_nodeid).instrument(info_span!( +2578 "p1_accept", +2579 ep1 = %ep1.node_id().fmt_short(), +2580 dst = %ep2_nodeid.fmt_short(), +2581 ))); +2582 let p2_accept = tokio::spawn(accept_world(ep2.clone(), ep1_nodeid).instrument(info_span!( +2583 "p2_accept", +2584 ep2 = %ep2.node_id().fmt_short(), +2585 dst = %ep1_nodeid.fmt_short(), +2586 ))); +2587 let p1_connect = tokio::spawn(connect_hello(ep1.clone(), ep2_nodeaddr).instrument( +2588 info_span!( +2589 "p1_connect", +2590 ep1 = %ep1.node_id().fmt_short(), +2591 dst = %ep2_nodeid.fmt_short(), +2592 ), +2593 )); +2594 let p2_connect = tokio::spawn(connect_hello(ep2.clone(), ep1_nodeaddr).instrument( +2595 info_span!( +2596 "p2_connect", +2597 ep2 = %ep2.node_id().fmt_short(), +2598 dst = %ep1_nodeid.fmt_short(), +2599 ), +2600 )); +2601 +2602 p1_accept.await.e()??; +2603 p2_accept.await.e()??; +2604 p1_connect.await.e()??; +2605 p2_connect.await.e()??; +2606 +2607 Ok(()) +2608 } 2609 -2610 async fn wait_for_conn_type_direct(ep: &Endpoint, node_id: NodeId) -> Result { -2611 let mut stream = ep.conn_type(node_id).expect("connection exists").stream(); -2612 let src = ep.node_id().fmt_short(); -2613 let dst = node_id.fmt_short(); -2614 while let Some(conn_type) = stream.next().await { -2615 tracing::info!(me = %src, dst = %dst, conn_type = ?conn_type); -2616 if matches!(conn_type, ConnectionType::Direct(_)) { -2617 return Ok(()); -2618 } -2619 } -2620 snafu::whatever!("conn_type stream ended before `ConnectionType::Direct`"); -2621 } -2622 -2623 async fn accept(ep: &Endpoint) -> Result<Connection> { -2624 let incoming = ep.accept().await.expect("ep closed"); -2625 let conn = incoming.await.e()?; -2626 let node_id = conn.remote_node_id()?; -2627 tracing::info!(node_id=%node_id.fmt_short(), "accepted connection"); -2628 Ok(conn) -2629 } -2630 -2631 let ep1_nodeid = ep1.node_id(); -2632 let ep2_nodeid = ep2.node_id(); -2633 -2634 let ep1_nodeaddr = ep1.node_addr().initialized().await; -2635 tracing::info!( -2636 "node id 1 {ep1_nodeid}, relay URL {:?}", -2637 ep1_nodeaddr.relay_url() -2638 ); -2639 tracing::info!("node id 2 {ep2_nodeid}"); -2640 -2641 let ep1_side = tokio::time::timeout(TIMEOUT, async move { -2642 let conn = accept(&ep1).await?; -2643 let mut send = conn.open_uni().await.e()?; -2644 wait_for_conn_type_direct(&ep1, ep2_nodeid).await?; -2645 send.write_all(b"Conn is direct").await.e()?; -2646 send.finish().e()?; -2647 conn.closed().await; -2648 Ok::<(), Error>(()) -2649 }); -2650 -2651 let ep2_side = tokio::time::timeout(TIMEOUT, async move { -2652 let conn = ep2.connect(ep1_nodeaddr, TEST_ALPN).await?; -2653 let mut recv = conn.accept_uni().await.e()?; -2654 wait_for_conn_type_direct(&ep2, ep1_nodeid).await?; -2655 let read = recv.read_to_end(100).await.e()?; -2656 assert_eq!(read, b"Conn is direct".to_vec()); -2657 conn.close(0u32.into(), b"done"); -2658 conn.closed().await; -2659 Ok::<(), Error>(()) -2660 }); -2661 -2662 let res_ep1 = AbortOnDropHandle::new(tokio::spawn(ep1_side)); -2663 let res_ep2 = AbortOnDropHandle::new(tokio::spawn(ep2_side)); -2664 -2665 let (r1, r2) = tokio::try_join!(res_ep1, res_ep2).e()?; -2666 r1.e()??; -2667 r2.e()??; -2668 -2669 Ok(()) -2670 } -2671 -2672 #[tokio::test] -2673 #[traced_test] -2674 async fn test_direct_addresses_no_qad_relay() -> Result { -2675 let (relay_map, _, _guard) = run_relay_server_with(false).await.unwrap(); -2676 -2677 let ep = Endpoint::builder() -2678 .alpns(vec![TEST_ALPN.to_vec()]) -2679 .relay_mode(RelayMode::Custom(relay_map)) -2680 .insecure_skip_relay_cert_verify(true) -2681 .bind() -2682 .await?; -2683 -2684 tokio::time::timeout(Duration::from_secs(10), ep.direct_addresses().initialized()) -2685 .await -2686 .e()?; -2687 Ok(()) -2688 } -2689 -2690 async fn spawn_0rtt_server(secret_key: SecretKey, log_span: tracing::Span) -> Result<Endpoint> { -2691 let server = Endpoint::builder() -2692 .secret_key(secret_key) -2693 .alpns(vec![TEST_ALPN.to_vec()]) -2694 .relay_mode(RelayMode::Disabled) -2695 .bind() -2696 .await?; -2697 -2698 // Gets aborted via the endpoint closing causing an `Err` -2699 // a simple echo server -2700 tokio::spawn({ -2701 let server = server.clone(); -2702 async move { -2703 while let Some(incoming) = server.accept().await { -2704 let connecting = incoming.accept().e()?; -2705 let conn = match connecting.into_0rtt() { -2706 Ok((conn, _)) => { -2707 info!("0rtt accepted"); -2708 conn -2709 } -2710 Err(connecting) => { -2711 info!("0rtt denied"); -2712 connecting.await.e()? -2713 } -2714 }; -2715 let (mut send, mut recv) = conn.accept_bi().await.e()?; -2716 let data = recv.read_to_end(10_000_000).await.e()?; -2717 send.write_all(&data).await.e()?; -2718 send.finish().e()?; -2719 -2720 // Stay alive until the other side closes the connection. -2721 conn.closed().await; -2722 } -2723 Ok::<_, Error>(()) -2724 } -2725 .instrument(log_span) -2726 }); -2727 -2728 Ok(server) -2729 } -2730 -2731 async fn connect_client_0rtt_expect_err(client: &Endpoint, server_addr: NodeAddr) -> Result { -2732 let conn = client -2733 .connect_with_opts(server_addr, TEST_ALPN, ConnectOptions::new()) -2734 .await? -2735 .into_0rtt() -2736 .expect_err("expected 0rtt to fail") -2737 .await -2738 .e()?; -2739 -2740 let (mut send, mut recv) = conn.open_bi().await.e()?; -2741 send.write_all(b"hello").await.e()?; -2742 send.finish().e()?; -2743 let received = recv.read_to_end(1_000).await.e()?; -2744 assert_eq!(&received, b"hello"); -2745 conn.close(0u32.into(), b"thx"); -2746 Ok(()) -2747 } -2748 -2749 async fn connect_client_0rtt_expect_ok( -2750 client: &Endpoint, -2751 server_addr: NodeAddr, -2752 expect_server_accepts: bool, -2753 ) -> Result { -2754 let (conn, accepted_0rtt) = client -2755 .connect_with_opts(server_addr, TEST_ALPN, ConnectOptions::new()) -2756 .await? -2757 .into_0rtt() -2758 .ok() -2759 .e()?; -2760 -2761 // This is how we send data in 0-RTT: -2762 let (mut send, recv) = conn.open_bi().await.e()?; -2763 send.write_all(b"hello").await.e()?; -2764 send.finish().e()?; -2765 // When this resolves, we've gotten a response from the server about whether the 0-RTT data above was accepted: -2766 let accepted = accepted_0rtt.await; -2767 assert_eq!(accepted, expect_server_accepts); -2768 let mut recv = if accepted { -2769 recv -2770 } else { -2771 // in this case we need to re-send data by re-creating the connection. -2772 let (mut send, recv) = conn.open_bi().await.e()?; -2773 send.write_all(b"hello").await.e()?; -2774 send.finish().e()?; -2775 recv -2776 }; -2777 let received = recv.read_to_end(1_000).await.e()?; -2778 assert_eq!(&received, b"hello"); -2779 conn.close(0u32.into(), b"thx"); -2780 Ok(()) -2781 } -2782 -2783 #[tokio::test] -2784 #[traced_test] -2785 async fn test_0rtt() -> Result { -2786 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(42); -2787 let client = Endpoint::builder() -2788 .relay_mode(RelayMode::Disabled) -2789 .bind() -2790 .await?; -2791 let server = spawn_0rtt_server(SecretKey::generate(&mut rng), info_span!("server")).await?; -2792 -2793 connect_client_0rtt_expect_err(&client, server.node_addr().initialized().await).await?; -2794 // The second 0rtt attempt should work -2795 connect_client_0rtt_expect_ok(&client, server.node_addr().initialized().await, true) -2796 .await?; -2797 -2798 client.close().await; -2799 server.close().await; -2800 -2801 Ok(()) -2802 } -2803 -2804 // We have this test, as this would've failed at some point. -2805 // This effectively tests that we correctly categorize the TLS session tickets we -2806 // receive into the respective "bucket" for the recipient. -2807 #[tokio::test] -2808 #[traced_test] -2809 async fn test_0rtt_non_consecutive() -> Result { -2810 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(42); -2811 let client = Endpoint::builder() -2812 .relay_mode(RelayMode::Disabled) -2813 .bind() -2814 .await?; -2815 let server = spawn_0rtt_server(SecretKey::generate(&mut rng), info_span!("server")).await?; -2816 -2817 connect_client_0rtt_expect_err(&client, server.node_addr().initialized().await).await?; -2818 -2819 // connecting with another endpoint should not interfere with our -2820 // TLS session ticket cache for the first endpoint: -2821 let another = -2822 spawn_0rtt_server(SecretKey::generate(&mut rng), info_span!("another")).await?; -2823 connect_client_0rtt_expect_err(&client, another.node_addr().initialized().await).await?; -2824 another.close().await; -2825 -2826 connect_client_0rtt_expect_ok(&client, server.node_addr().initialized().await, true) -2827 .await?; -2828 -2829 client.close().await; -2830 server.close().await; -2831 -2832 Ok(()) -2833 } -2834 -2835 // Test whether 0-RTT is possible after a restart: -2836 #[tokio::test] -2837 #[traced_test] -2838 async fn test_0rtt_after_server_restart() -> Result { -2839 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(42); -2840 let client = Endpoint::builder() -2841 .relay_mode(RelayMode::Disabled) -2842 .bind() -2843 .await?; -2844 let server_key = SecretKey::generate(&mut rng); -2845 let server = spawn_0rtt_server(server_key.clone(), info_span!("server-initial")).await?; -2846 -2847 connect_client_0rtt_expect_err(&client, server.node_addr().initialized().await).await?; -2848 connect_client_0rtt_expect_ok(&client, server.node_addr().initialized().await, true) +2610 #[tokio::test] +2611 #[traced_test] +2612 async fn endpoint_conn_type_becomes_direct() -> Result { +2613 const TIMEOUT: Duration = std::time::Duration::from_secs(15); +2614 let (relay_map, _relay_url, _relay_guard) = run_relay_server().await?; +2615 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(42); +2616 let ep1_secret_key = SecretKey::generate(&mut rng); +2617 let ep2_secret_key = SecretKey::generate(&mut rng); +2618 let ep1 = Endpoint::builder() +2619 .secret_key(ep1_secret_key) +2620 .insecure_skip_relay_cert_verify(true) +2621 .alpns(vec![TEST_ALPN.to_vec()]) +2622 .relay_mode(RelayMode::Custom(relay_map.clone())) +2623 .bind() +2624 .await?; +2625 let ep2 = Endpoint::builder() +2626 .secret_key(ep2_secret_key) +2627 .insecure_skip_relay_cert_verify(true) +2628 .alpns(vec![TEST_ALPN.to_vec()]) +2629 .relay_mode(RelayMode::Custom(relay_map)) +2630 .bind() +2631 .await?; +2632 +2633 async fn wait_for_conn_type_direct(ep: &Endpoint, node_id: NodeId) -> Result { +2634 let mut stream = ep.conn_type(node_id).expect("connection exists").stream(); +2635 let src = ep.node_id().fmt_short(); +2636 let dst = node_id.fmt_short(); +2637 while let Some(conn_type) = stream.next().await { +2638 tracing::info!(me = %src, dst = %dst, conn_type = ?conn_type); +2639 if matches!(conn_type, ConnectionType::Direct(_)) { +2640 return Ok(()); +2641 } +2642 } +2643 snafu::whatever!("conn_type stream ended before `ConnectionType::Direct`"); +2644 } +2645 +2646 async fn accept(ep: &Endpoint) -> Result<Connection> { +2647 let incoming = ep.accept().await.expect("ep closed"); +2648 let conn = incoming.await.e()?; +2649 let node_id = conn.remote_node_id()?; +2650 tracing::info!(node_id=%node_id.fmt_short(), "accepted connection"); +2651 Ok(conn) +2652 } +2653 +2654 let ep1_nodeid = ep1.node_id(); +2655 let ep2_nodeid = ep2.node_id(); +2656 +2657 let ep1_nodeaddr = ep1.watch_node_addr().initialized().await; +2658 tracing::info!( +2659 "node id 1 {ep1_nodeid}, relay URL {:?}", +2660 ep1_nodeaddr.relay_url() +2661 ); +2662 tracing::info!("node id 2 {ep2_nodeid}"); +2663 +2664 let ep1_side = tokio::time::timeout(TIMEOUT, async move { +2665 let conn = accept(&ep1).await?; +2666 let mut send = conn.open_uni().await.e()?; +2667 wait_for_conn_type_direct(&ep1, ep2_nodeid).await?; +2668 send.write_all(b"Conn is direct").await.e()?; +2669 send.finish().e()?; +2670 conn.closed().await; +2671 Ok::<(), Error>(()) +2672 }); +2673 +2674 let ep2_side = tokio::time::timeout(TIMEOUT, async move { +2675 let conn = ep2.connect(ep1_nodeaddr, TEST_ALPN).await?; +2676 let mut recv = conn.accept_uni().await.e()?; +2677 wait_for_conn_type_direct(&ep2, ep1_nodeid).await?; +2678 let read = recv.read_to_end(100).await.e()?; +2679 assert_eq!(read, b"Conn is direct".to_vec()); +2680 conn.close(0u32.into(), b"done"); +2681 conn.closed().await; +2682 Ok::<(), Error>(()) +2683 }); +2684 +2685 let res_ep1 = AbortOnDropHandle::new(tokio::spawn(ep1_side)); +2686 let res_ep2 = AbortOnDropHandle::new(tokio::spawn(ep2_side)); +2687 +2688 let (r1, r2) = tokio::try_join!(res_ep1, res_ep2).e()?; +2689 r1.e()??; +2690 r2.e()??; +2691 +2692 Ok(()) +2693 } +2694 +2695 #[tokio::test] +2696 #[traced_test] +2697 async fn test_direct_addresses_no_qad_relay() -> Result { +2698 let (relay_map, _, _guard) = run_relay_server_with(false).await.unwrap(); +2699 +2700 let ep = Endpoint::builder() +2701 .alpns(vec![TEST_ALPN.to_vec()]) +2702 .relay_mode(RelayMode::Custom(relay_map)) +2703 .insecure_skip_relay_cert_verify(true) +2704 .bind() +2705 .await?; +2706 +2707 tokio::time::timeout(Duration::from_secs(10), ep.watch_node_addr().initialized()) +2708 .await +2709 .e()?; +2710 Ok(()) +2711 } +2712 +2713 async fn spawn_0rtt_server(secret_key: SecretKey, log_span: tracing::Span) -> Result<Endpoint> { +2714 let server = Endpoint::builder() +2715 .secret_key(secret_key) +2716 .alpns(vec![TEST_ALPN.to_vec()]) +2717 .relay_mode(RelayMode::Disabled) +2718 .bind() +2719 .await?; +2720 +2721 // Gets aborted via the endpoint closing causing an `Err` +2722 // a simple echo server +2723 tokio::spawn({ +2724 let server = server.clone(); +2725 async move { +2726 while let Some(incoming) = server.accept().await { +2727 let connecting = incoming.accept().e()?; +2728 let conn = match connecting.into_0rtt() { +2729 Ok((conn, _)) => { +2730 info!("0rtt accepted"); +2731 conn +2732 } +2733 Err(connecting) => { +2734 info!("0rtt denied"); +2735 connecting.await.e()? +2736 } +2737 }; +2738 let (mut send, mut recv) = conn.accept_bi().await.e()?; +2739 let data = recv.read_to_end(10_000_000).await.e()?; +2740 send.write_all(&data).await.e()?; +2741 send.finish().e()?; +2742 +2743 // Stay alive until the other side closes the connection. +2744 conn.closed().await; +2745 } +2746 Ok::<_, Error>(()) +2747 } +2748 .instrument(log_span) +2749 }); +2750 +2751 Ok(server) +2752 } +2753 +2754 async fn connect_client_0rtt_expect_err(client: &Endpoint, server_addr: NodeAddr) -> Result { +2755 let conn = client +2756 .connect_with_opts(server_addr, TEST_ALPN, ConnectOptions::new()) +2757 .await? +2758 .into_0rtt() +2759 .expect_err("expected 0rtt to fail") +2760 .await +2761 .e()?; +2762 +2763 let (mut send, mut recv) = conn.open_bi().await.e()?; +2764 send.write_all(b"hello").await.e()?; +2765 send.finish().e()?; +2766 let received = recv.read_to_end(1_000).await.e()?; +2767 assert_eq!(&received, b"hello"); +2768 conn.close(0u32.into(), b"thx"); +2769 Ok(()) +2770 } +2771 +2772 async fn connect_client_0rtt_expect_ok( +2773 client: &Endpoint, +2774 server_addr: NodeAddr, +2775 expect_server_accepts: bool, +2776 ) -> Result { +2777 let (conn, accepted_0rtt) = client +2778 .connect_with_opts(server_addr, TEST_ALPN, ConnectOptions::new()) +2779 .await? +2780 .into_0rtt() +2781 .ok() +2782 .e()?; +2783 +2784 // This is how we send data in 0-RTT: +2785 let (mut send, recv) = conn.open_bi().await.e()?; +2786 send.write_all(b"hello").await.e()?; +2787 send.finish().e()?; +2788 // When this resolves, we've gotten a response from the server about whether the 0-RTT data above was accepted: +2789 let accepted = accepted_0rtt.await; +2790 assert_eq!(accepted, expect_server_accepts); +2791 let mut recv = if accepted { +2792 recv +2793 } else { +2794 // in this case we need to re-send data by re-creating the connection. +2795 let (mut send, recv) = conn.open_bi().await.e()?; +2796 send.write_all(b"hello").await.e()?; +2797 send.finish().e()?; +2798 recv +2799 }; +2800 let received = recv.read_to_end(1_000).await.e()?; +2801 assert_eq!(&received, b"hello"); +2802 conn.close(0u32.into(), b"thx"); +2803 Ok(()) +2804 } +2805 +2806 #[tokio::test] +2807 #[traced_test] +2808 async fn test_0rtt() -> Result { +2809 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(42); +2810 let client = Endpoint::builder() +2811 .relay_mode(RelayMode::Disabled) +2812 .bind() +2813 .await?; +2814 let server = spawn_0rtt_server(SecretKey::generate(&mut rng), info_span!("server")).await?; +2815 +2816 connect_client_0rtt_expect_err(&client, server.watch_node_addr().initialized().await) +2817 .await?; +2818 // The second 0rtt attempt should work +2819 connect_client_0rtt_expect_ok(&client, server.watch_node_addr().initialized().await, true) +2820 .await?; +2821 +2822 client.close().await; +2823 server.close().await; +2824 +2825 Ok(()) +2826 } +2827 +2828 // We have this test, as this would've failed at some point. +2829 // This effectively tests that we correctly categorize the TLS session tickets we +2830 // receive into the respective "bucket" for the recipient. +2831 #[tokio::test] +2832 #[traced_test] +2833 async fn test_0rtt_non_consecutive() -> Result { +2834 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(42); +2835 let client = Endpoint::builder() +2836 .relay_mode(RelayMode::Disabled) +2837 .bind() +2838 .await?; +2839 let server = spawn_0rtt_server(SecretKey::generate(&mut rng), info_span!("server")).await?; +2840 +2841 connect_client_0rtt_expect_err(&client, server.watch_node_addr().initialized().await) +2842 .await?; +2843 +2844 // connecting with another endpoint should not interfere with our +2845 // TLS session ticket cache for the first endpoint: +2846 let another = +2847 spawn_0rtt_server(SecretKey::generate(&mut rng), info_span!("another")).await?; +2848 connect_client_0rtt_expect_err(&client, another.watch_node_addr().initialized().await) 2849 .await?; -2850 -2851 server.close().await; -2852 -2853 let server = spawn_0rtt_server(server_key, info_span!("server-restart")).await?; +2850 another.close().await; +2851 +2852 connect_client_0rtt_expect_ok(&client, server.watch_node_addr().initialized().await, true) +2853 .await?; 2854 -2855 // we expect the client to *believe* it can 0-RTT connect to the server (hence expect_ok), -2856 // but the server will reject the early data because it discarded necessary state -2857 // to decrypt it when restarting. -2858 connect_client_0rtt_expect_ok(&client, server.node_addr().initialized().await, false) -2859 .await?; +2855 client.close().await; +2856 server.close().await; +2857 +2858 Ok(()) +2859 } 2860 -2861 client.close().await; -2862 -2863 Ok(()) -2864 } -2865 -2866 #[cfg_attr(target_os = "windows", ignore = "flaky")] -2867 #[tokio::test] -2868 #[traced_test] -2869 async fn graceful_close() -> Result { -2870 let client = Endpoint::builder().bind().await?; -2871 let server = Endpoint::builder() -2872 .alpns(vec![TEST_ALPN.to_vec()]) -2873 .bind() +2861 // Test whether 0-RTT is possible after a restart: +2862 #[tokio::test] +2863 #[traced_test] +2864 async fn test_0rtt_after_server_restart() -> Result { +2865 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(42); +2866 let client = Endpoint::builder() +2867 .relay_mode(RelayMode::Disabled) +2868 .bind() +2869 .await?; +2870 let server_key = SecretKey::generate(&mut rng); +2871 let server = spawn_0rtt_server(server_key.clone(), info_span!("server-initial")).await?; +2872 +2873 connect_client_0rtt_expect_err(&client, server.watch_node_addr().initialized().await) 2874 .await?; -2875 let server_addr = server.node_addr().initialized().await; -2876 let server_task = tokio::spawn(async move { -2877 let incoming = server.accept().await.e()?; -2878 let conn = incoming.await.e()?; -2879 let (mut send, mut recv) = conn.accept_bi().await.e()?; -2880 let msg = recv.read_to_end(1_000).await.e()?; -2881 send.write_all(&msg).await.e()?; -2882 send.finish().e()?; -2883 let close_reason = conn.closed().await; -2884 Ok::<_, Error>(close_reason) -2885 }); -2886 -2887 let conn = client.connect(server_addr, TEST_ALPN).await?; -2888 let (mut send, mut recv) = conn.open_bi().await.e()?; -2889 send.write_all(b"Hello, world!").await.e()?; -2890 send.finish().e()?; -2891 recv.read_to_end(1_000).await.e()?; -2892 conn.close(42u32.into(), b"thanks, bye!"); -2893 client.close().await; -2894 -2895 let close_err = server_task.await.e()??; -2896 let ConnectionError::ApplicationClosed(app_close) = close_err else { -2897 panic!("Unexpected close reason: {close_err:?}"); -2898 }; -2899 -2900 assert_eq!(app_close.error_code, 42u32.into()); -2901 assert_eq!(app_close.reason.as_ref(), b"thanks, bye!"); -2902 -2903 Ok(()) -2904 } -2905 -2906 #[cfg(feature = "metrics")] -2907 #[tokio::test] -2908 #[traced_test] -2909 async fn metrics_smoke() -> Result { -2910 use iroh_metrics::{MetricsSource, Registry}; -2911 -2912 let secret_key = SecretKey::from_bytes(&[0u8; 32]); -2913 let client = Endpoint::builder() -2914 .secret_key(secret_key) -2915 .relay_mode(RelayMode::Disabled) -2916 .bind() -2917 .await?; -2918 let secret_key = SecretKey::from_bytes(&[1u8; 32]); -2919 let server = Endpoint::builder() -2920 .secret_key(secret_key) -2921 .relay_mode(RelayMode::Disabled) -2922 .alpns(vec![TEST_ALPN.to_vec()]) -2923 .bind() -2924 .await?; -2925 let server_addr = server.node_addr().initialized().await; -2926 let server_task = tokio::task::spawn(async move { -2927 let conn = server.accept().await.e()?.accept().e()?.await.e()?; -2928 let mut uni = conn.accept_uni().await.e()?; -2929 uni.read_to_end(10).await.e()?; -2930 drop(conn); -2931 Ok::<_, Error>(server) -2932 }); -2933 let conn = client.connect(server_addr, TEST_ALPN).await?; -2934 let mut uni = conn.open_uni().await.e()?; -2935 uni.write_all(b"helloworld").await.e()?; -2936 uni.finish().e()?; -2937 conn.closed().await; -2938 drop(conn); -2939 let server = server_task.await.e()??; -2940 -2941 let m = client.metrics(); -2942 assert_eq!(m.magicsock.num_direct_conns_added.get(), 1); -2943 assert_eq!(m.magicsock.connection_became_direct.get(), 1); -2944 assert_eq!(m.magicsock.connection_handshake_success.get(), 1); -2945 assert_eq!(m.magicsock.nodes_contacted_directly.get(), 1); -2946 assert!(m.magicsock.recv_datagrams.get() > 0); -2947 -2948 let m = server.metrics(); -2949 assert_eq!(m.magicsock.num_direct_conns_added.get(), 1); -2950 assert_eq!(m.magicsock.connection_became_direct.get(), 1); -2951 assert_eq!(m.magicsock.nodes_contacted_directly.get(), 1); -2952 assert_eq!(m.magicsock.connection_handshake_success.get(), 1); -2953 assert!(m.magicsock.recv_datagrams.get() > 0); -2954 -2955 // test openmetrics encoding with labeled subregistries per endpoint -2956 fn register_endpoint(registry: &mut Registry, endpoint: &Endpoint) { -2957 let id = endpoint.node_id().fmt_short(); -2958 let sub_registry = registry.sub_registry_with_label("id", id.to_string()); -2959 sub_registry.register_all(endpoint.metrics()); -2960 } -2961 let mut registry = Registry::default(); -2962 register_endpoint(&mut registry, &client); -2963 register_endpoint(&mut registry, &server); -2964 let s = registry.encode_openmetrics_to_string()?; -2965 assert!(s.contains(r#"magicsock_nodes_contacted_directly_total{id="3b6a27bcce"} 1"#)); -2966 assert!(s.contains(r#"magicsock_nodes_contacted_directly_total{id="8a88e3dd74"} 1"#)); -2967 Ok(()) -2968 } -2969 -2970 /// Configures the accept side to take `accept_alpns` ALPNs, then connects to it with `primary_connect_alpn` -2971 /// with `secondary_connect_alpns` set, and finally returns the negotiated ALPN. -2972 async fn alpn_connection_test( -2973 accept_alpns: Vec<Vec<u8>>, -2974 primary_connect_alpn: &[u8], -2975 secondary_connect_alpns: Vec<Vec<u8>>, -2976 ) -> Result<Option<Vec<u8>>> { -2977 let client = Endpoint::builder() -2978 .relay_mode(RelayMode::Disabled) -2979 .bind() -2980 .await?; -2981 let server = Endpoint::builder() -2982 .relay_mode(RelayMode::Disabled) -2983 .alpns(accept_alpns) -2984 .bind() -2985 .await?; -2986 let server_addr = server.node_addr().initialized().await; -2987 let server_task = tokio::spawn({ -2988 let server = server.clone(); -2989 async move { -2990 let incoming = server.accept().await.e()?; -2991 let conn = incoming.await.e()?; -2992 conn.close(0u32.into(), b"bye!"); -2993 Ok::<_, n0_snafu::Error>(conn.alpn()) -2994 } -2995 }); +2875 connect_client_0rtt_expect_ok(&client, server.watch_node_addr().initialized().await, true) +2876 .await?; +2877 +2878 server.close().await; +2879 +2880 let server = spawn_0rtt_server(server_key, info_span!("server-restart")).await?; +2881 +2882 // we expect the client to *believe* it can 0-RTT connect to the server (hence expect_ok), +2883 // but the server will reject the early data because it discarded necessary state +2884 // to decrypt it when restarting. +2885 connect_client_0rtt_expect_ok(&client, server.watch_node_addr().initialized().await, false) +2886 .await?; +2887 +2888 client.close().await; +2889 +2890 Ok(()) +2891 } +2892 +2893 #[cfg_attr(target_os = "windows", ignore = "flaky")] +2894 #[tokio::test] +2895 #[traced_test] +2896 async fn graceful_close() -> Result { +2897 let client = Endpoint::builder().bind().await?; +2898 let server = Endpoint::builder() +2899 .alpns(vec![TEST_ALPN.to_vec()]) +2900 .bind() +2901 .await?; +2902 let server_addr = server.watch_node_addr().initialized().await; +2903 let server_task = tokio::spawn(async move { +2904 let incoming = server.accept().await.e()?; +2905 let conn = incoming.await.e()?; +2906 let (mut send, mut recv) = conn.accept_bi().await.e()?; +2907 let msg = recv.read_to_end(1_000).await.e()?; +2908 send.write_all(&msg).await.e()?; +2909 send.finish().e()?; +2910 let close_reason = conn.closed().await; +2911 Ok::<_, Error>(close_reason) +2912 }); +2913 +2914 let conn = client.connect(server_addr, TEST_ALPN).await?; +2915 let (mut send, mut recv) = conn.open_bi().await.e()?; +2916 send.write_all(b"Hello, world!").await.e()?; +2917 send.finish().e()?; +2918 recv.read_to_end(1_000).await.e()?; +2919 conn.close(42u32.into(), b"thanks, bye!"); +2920 client.close().await; +2921 +2922 let close_err = server_task.await.e()??; +2923 let ConnectionError::ApplicationClosed(app_close) = close_err else { +2924 panic!("Unexpected close reason: {close_err:?}"); +2925 }; +2926 +2927 assert_eq!(app_close.error_code, 42u32.into()); +2928 assert_eq!(app_close.reason.as_ref(), b"thanks, bye!"); +2929 +2930 Ok(()) +2931 } +2932 +2933 #[cfg(feature = "metrics")] +2934 #[tokio::test] +2935 #[traced_test] +2936 async fn metrics_smoke() -> Result { +2937 use iroh_metrics::{MetricsSource, Registry}; +2938 +2939 let secret_key = SecretKey::from_bytes(&[0u8; 32]); +2940 let client = Endpoint::builder() +2941 .secret_key(secret_key) +2942 .relay_mode(RelayMode::Disabled) +2943 .bind() +2944 .await?; +2945 let secret_key = SecretKey::from_bytes(&[1u8; 32]); +2946 let server = Endpoint::builder() +2947 .secret_key(secret_key) +2948 .relay_mode(RelayMode::Disabled) +2949 .alpns(vec![TEST_ALPN.to_vec()]) +2950 .bind() +2951 .await?; +2952 let server_addr = server.watch_node_addr().initialized().await; +2953 let server_task = tokio::task::spawn(async move { +2954 let conn = server.accept().await.e()?.accept().e()?.await.e()?; +2955 let mut uni = conn.accept_uni().await.e()?; +2956 uni.read_to_end(10).await.e()?; +2957 drop(conn); +2958 Ok::<_, Error>(server) +2959 }); +2960 let conn = client.connect(server_addr, TEST_ALPN).await?; +2961 let mut uni = conn.open_uni().await.e()?; +2962 uni.write_all(b"helloworld").await.e()?; +2963 uni.finish().e()?; +2964 conn.closed().await; +2965 drop(conn); +2966 let server = server_task.await.e()??; +2967 +2968 let m = client.metrics(); +2969 assert_eq!(m.magicsock.num_direct_conns_added.get(), 1); +2970 assert_eq!(m.magicsock.connection_became_direct.get(), 1); +2971 assert_eq!(m.magicsock.connection_handshake_success.get(), 1); +2972 assert_eq!(m.magicsock.nodes_contacted_directly.get(), 1); +2973 assert!(m.magicsock.recv_datagrams.get() > 0); +2974 +2975 let m = server.metrics(); +2976 assert_eq!(m.magicsock.num_direct_conns_added.get(), 1); +2977 assert_eq!(m.magicsock.connection_became_direct.get(), 1); +2978 assert_eq!(m.magicsock.nodes_contacted_directly.get(), 1); +2979 assert_eq!(m.magicsock.connection_handshake_success.get(), 1); +2980 assert!(m.magicsock.recv_datagrams.get() > 0); +2981 +2982 // test openmetrics encoding with labeled subregistries per endpoint +2983 fn register_endpoint(registry: &mut Registry, endpoint: &Endpoint) { +2984 let id = endpoint.node_id().fmt_short(); +2985 let sub_registry = registry.sub_registry_with_label("id", id.to_string()); +2986 sub_registry.register_all(endpoint.metrics()); +2987 } +2988 let mut registry = Registry::default(); +2989 register_endpoint(&mut registry, &client); +2990 register_endpoint(&mut registry, &server); +2991 let s = registry.encode_openmetrics_to_string()?; +2992 assert!(s.contains(r#"magicsock_nodes_contacted_directly_total{id="3b6a27bcce"} 1"#)); +2993 assert!(s.contains(r#"magicsock_nodes_contacted_directly_total{id="8a88e3dd74"} 1"#)); +2994 Ok(()) +2995 } 2996 -2997 let conn = client -2998 .connect_with_opts( -2999 server_addr, -3000 primary_connect_alpn, -3001 ConnectOptions::new().with_additional_alpns(secondary_connect_alpns), -3002 ) -3003 .await?; -3004 let conn = conn.await.e()?; -3005 let client_alpn = conn.alpn(); -3006 conn.closed().await; -3007 client.close().await; -3008 server.close().await; -3009 -3010 let server_alpn = server_task.await.e()??; -3011 -3012 assert_eq!(client_alpn, server_alpn); -3013 -3014 Ok(server_alpn) -3015 } -3016 -3017 #[tokio::test] -3018 #[traced_test] -3019 async fn connect_multiple_alpn_negotiated() -> Result { -3020 const ALPN_ONE: &[u8] = b"alpn/1"; -3021 const ALPN_TWO: &[u8] = b"alpn/2"; -3022 -3023 assert_eq!( -3024 alpn_connection_test( -3025 // Prefer version 2 over version 1 on the accept side -3026 vec![ALPN_TWO.to_vec(), ALPN_ONE.to_vec()], -3027 ALPN_TWO, -3028 vec![ALPN_ONE.to_vec()], +2997 /// Configures the accept side to take `accept_alpns` ALPNs, then connects to it with `primary_connect_alpn` +2998 /// with `secondary_connect_alpns` set, and finally returns the negotiated ALPN. +2999 async fn alpn_connection_test( +3000 accept_alpns: Vec<Vec<u8>>, +3001 primary_connect_alpn: &[u8], +3002 secondary_connect_alpns: Vec<Vec<u8>>, +3003 ) -> Result<Option<Vec<u8>>> { +3004 let client = Endpoint::builder() +3005 .relay_mode(RelayMode::Disabled) +3006 .bind() +3007 .await?; +3008 let server = Endpoint::builder() +3009 .relay_mode(RelayMode::Disabled) +3010 .alpns(accept_alpns) +3011 .bind() +3012 .await?; +3013 let server_addr = server.watch_node_addr().initialized().await; +3014 let server_task = tokio::spawn({ +3015 let server = server.clone(); +3016 async move { +3017 let incoming = server.accept().await.e()?; +3018 let conn = incoming.await.e()?; +3019 conn.close(0u32.into(), b"bye!"); +3020 Ok::<_, n0_snafu::Error>(conn.alpn()) +3021 } +3022 }); +3023 +3024 let conn = client +3025 .connect_with_opts( +3026 server_addr, +3027 primary_connect_alpn, +3028 ConnectOptions::new().with_additional_alpns(secondary_connect_alpns), 3029 ) -3030 .await?, -3031 Some(ALPN_TWO.to_vec()), -3032 "accept side prefers version 2 over 1" -3033 ); -3034 -3035 assert_eq!( -3036 alpn_connection_test( -3037 // Only support the old version -3038 vec![ALPN_ONE.to_vec()], -3039 ALPN_TWO, -3040 vec![ALPN_ONE.to_vec()], -3041 ) -3042 .await?, -3043 Some(ALPN_ONE.to_vec()), -3044 "accept side only supports the old version" -3045 ); -3046 -3047 assert_eq!( -3048 alpn_connection_test( -3049 vec![ALPN_TWO.to_vec(), ALPN_ONE.to_vec()], -3050 ALPN_ONE, -3051 vec![ALPN_TWO.to_vec()], -3052 ) -3053 .await?, -3054 Some(ALPN_TWO.to_vec()), -3055 "connect side ALPN order doesn't matter" -3056 ); -3057 -3058 assert_eq!( -3059 alpn_connection_test(vec![ALPN_TWO.to_vec(), ALPN_ONE.to_vec()], ALPN_ONE, vec![],) -3060 .await?, -3061 Some(ALPN_ONE.to_vec()), -3062 "connect side only supports the old version" -3063 ); -3064 -3065 Ok(()) -3066 } -3067 -3068 #[tokio::test] -3069 #[traced_test] -3070 async fn watch_net_report() -> Result { -3071 let endpoint = Endpoint::builder() -3072 .relay_mode(RelayMode::Staging) -3073 .bind() -3074 .await?; -3075 -3076 // can get a first report -3077 endpoint.net_report().updated().await?; -3078 -3079 Ok(()) -3080 } -3081 -3082 /// Tests that initial connection establishment isn't extremely slow compared -3083 /// to subsequent connections. -3084 /// -3085 /// This is a time based test, but uses a very large ratio to reduce flakiness. -3086 /// It also does a number of connections to average out any anomalies. -3087 #[tokio::test] -3088 #[traced_test] -3089 async fn connect_multi_time() -> Result { -3090 let n = 32; +3030 .await?; +3031 let conn = conn.await.e()?; +3032 let client_alpn = conn.alpn(); +3033 conn.closed().await; +3034 client.close().await; +3035 server.close().await; +3036 +3037 let server_alpn = server_task.await.e()??; +3038 +3039 assert_eq!(client_alpn, server_alpn); +3040 +3041 Ok(server_alpn) +3042 } +3043 +3044 #[tokio::test] +3045 #[traced_test] +3046 async fn connect_multiple_alpn_negotiated() -> Result { +3047 const ALPN_ONE: &[u8] = b"alpn/1"; +3048 const ALPN_TWO: &[u8] = b"alpn/2"; +3049 +3050 assert_eq!( +3051 alpn_connection_test( +3052 // Prefer version 2 over version 1 on the accept side +3053 vec![ALPN_TWO.to_vec(), ALPN_ONE.to_vec()], +3054 ALPN_TWO, +3055 vec![ALPN_ONE.to_vec()], +3056 ) +3057 .await?, +3058 Some(ALPN_TWO.to_vec()), +3059 "accept side prefers version 2 over 1" +3060 ); +3061 +3062 assert_eq!( +3063 alpn_connection_test( +3064 // Only support the old version +3065 vec![ALPN_ONE.to_vec()], +3066 ALPN_TWO, +3067 vec![ALPN_ONE.to_vec()], +3068 ) +3069 .await?, +3070 Some(ALPN_ONE.to_vec()), +3071 "accept side only supports the old version" +3072 ); +3073 +3074 assert_eq!( +3075 alpn_connection_test( +3076 vec![ALPN_TWO.to_vec(), ALPN_ONE.to_vec()], +3077 ALPN_ONE, +3078 vec![ALPN_TWO.to_vec()], +3079 ) +3080 .await?, +3081 Some(ALPN_TWO.to_vec()), +3082 "connect side ALPN order doesn't matter" +3083 ); +3084 +3085 assert_eq!( +3086 alpn_connection_test(vec![ALPN_TWO.to_vec(), ALPN_ONE.to_vec()], ALPN_ONE, vec![],) +3087 .await?, +3088 Some(ALPN_ONE.to_vec()), +3089 "connect side only supports the old version" +3090 ); 3091 -3092 const NOOP_ALPN: &[u8] = b"noop"; -3093 -3094 #[derive(Debug, Clone)] -3095 struct Noop; -3096 -3097 impl ProtocolHandler for Noop { -3098 async fn accept(&self, connection: Connection) -> Result<(), AcceptError> { -3099 connection.closed().await; -3100 Ok(()) -3101 } -3102 } -3103 -3104 async fn noop_server() -> Result<(Router, NodeAddr)> { -3105 let endpoint = Endpoint::builder() -3106 .relay_mode(RelayMode::Disabled) -3107 .bind() -3108 .await -3109 .e()?; -3110 let addr = endpoint.node_addr().initialized().await; -3111 let router = Router::builder(endpoint).accept(NOOP_ALPN, Noop).spawn(); -3112 Ok((router, addr)) -3113 } -3114 -3115 let routers = stream::iter(0..n) -3116 .map(|_| noop_server()) -3117 .buffered_unordered(32) -3118 .collect::<Vec<_>>() -3119 .await -3120 .into_iter() -3121 .collect::<Result<Vec<_>, _>>() -3122 .e()?; +3092 Ok(()) +3093 } +3094 +3095 #[tokio::test] +3096 #[traced_test] +3097 async fn watch_net_report() -> Result { +3098 let endpoint = Endpoint::builder() +3099 .relay_mode(RelayMode::Staging) +3100 .bind() +3101 .await?; +3102 +3103 // can get a first report +3104 endpoint.net_report().updated().await?; +3105 +3106 Ok(()) +3107 } +3108 +3109 /// Tests that initial connection establishment isn't extremely slow compared +3110 /// to subsequent connections. +3111 /// +3112 /// This is a time based test, but uses a very large ratio to reduce flakiness. +3113 /// It also does a number of connections to average out any anomalies. +3114 #[tokio::test] +3115 #[traced_test] +3116 async fn connect_multi_time() -> Result { +3117 let n = 32; +3118 +3119 const NOOP_ALPN: &[u8] = b"noop"; +3120 +3121 #[derive(Debug, Clone)] +3122 struct Noop; 3123 -3124 let addrs = routers -3125 .iter() -3126 .map(|(_, addr)| addr.clone()) -3127 .collect::<Vec<_>>(); -3128 let ids = addrs.iter().map(|addr| addr.node_id).collect::<Vec<_>>(); -3129 let discovery = StaticProvider::from_node_info(addrs); -3130 let endpoint = Endpoint::builder() -3131 .relay_mode(RelayMode::Disabled) -3132 .discovery(discovery) -3133 .bind() -3134 .await -3135 .e()?; -3136 // wait for the endpoint to be initialized. This should not be needed, -3137 // but we don't want to measure endpoint init time but connection time -3138 // from a fully initialized endpoint. -3139 endpoint.node_addr().initialized().await; -3140 let t0 = Instant::now(); -3141 for id in &ids { -3142 let conn = endpoint.connect(*id, NOOP_ALPN).await?; -3143 conn.close(0u32.into(), b"done"); -3144 } -3145 let dt0 = t0.elapsed().as_secs_f64(); -3146 let t1 = Instant::now(); -3147 for id in &ids { -3148 let conn = endpoint.connect(*id, NOOP_ALPN).await?; -3149 conn.close(0u32.into(), b"done"); -3150 } -3151 let dt1 = t1.elapsed().as_secs_f64(); -3152 -3153 assert!(dt0 / dt1 < 20.0, "First round: {dt0}s, second round {dt1}s"); -3154 Ok(()) -3155 } -3156}

\ No newline at end of file +3124 impl ProtocolHandler for Noop { +3125 async fn accept(&self, connection: Connection) -> Result<(), AcceptError> { +3126 connection.closed().await; +3127 Ok(()) +3128 } +3129 } +3130 +3131 async fn noop_server() -> Result<(Router, NodeAddr)> { +3132 let endpoint = Endpoint::builder() +3133 .relay_mode(RelayMode::Disabled) +3134 .bind() +3135 .await +3136 .e()?; +3137 let addr = endpoint.watch_node_addr().initialized().await; +3138 let router = Router::builder(endpoint).accept(NOOP_ALPN, Noop).spawn(); +3139 Ok((router, addr)) +3140 } +3141 +3142 let routers = stream::iter(0..n) +3143 .map(|_| noop_server()) +3144 .buffered_unordered(32) +3145 .collect::<Vec<_>>() +3146 .await +3147 .into_iter() +3148 .collect::<Result<Vec<_>, _>>() +3149 .e()?; +3150 +3151 let addrs = routers +3152 .iter() +3153 .map(|(_, addr)| addr.clone()) +3154 .collect::<Vec<_>>(); +3155 let ids = addrs.iter().map(|addr| addr.node_id).collect::<Vec<_>>(); +3156 let discovery = StaticProvider::from_node_info(addrs); +3157 let endpoint = Endpoint::builder() +3158 .relay_mode(RelayMode::Disabled) +3159 .discovery(discovery) +3160 .bind() +3161 .await +3162 .e()?; +3163 // wait for the endpoint to be initialized. This should not be needed, +3164 // but we don't want to measure endpoint init time but connection time +3165 // from a fully initialized endpoint. +3166 endpoint.watch_node_addr().initialized().await; +3167 let t0 = Instant::now(); +3168 for id in &ids { +3169 let conn = endpoint.connect(*id, NOOP_ALPN).await?; +3170 conn.close(0u32.into(), b"done"); +3171 } +3172 let dt0 = t0.elapsed().as_secs_f64(); +3173 let t1 = Instant::now(); +3174 for id in &ids { +3175 let conn = endpoint.connect(*id, NOOP_ALPN).await?; +3176 conn.close(0u32.into(), b"done"); +3177 } +3178 let dt1 = t1.elapsed().as_secs_f64(); +3179 +3180 assert!(dt0 / dt1 < 20.0, "First round: {dt0}s, second round {dt1}s"); +3181 Ok(()) +3182 } +3183}
\ No newline at end of file diff --git a/pr/3465/docs/src/iroh/magicsock.rs.html b/pr/3465/docs/src/iroh/magicsock.rs.html index f763e7a069..29cae2d710 100644 --- a/pr/3465/docs/src/iroh/magicsock.rs.html +++ b/pr/3465/docs/src/iroh/magicsock.rs.html @@ -2512,7 +2512,7 @@ 2512 2513#[cfg(test)] 2514mod tests { -2515 use std::{collections::BTreeSet, sync::Arc, time::Duration}; +2515 use std::{collections::BTreeSet, net::SocketAddr, sync::Arc, time::Duration}; 2516 2517 use data_encoding::HEXLOWER; 2518 use iroh_base::{NodeAddr, NodeId, PublicKey}; @@ -2530,7 +2530,7 @@ 2530 use crate::{ 2531 Endpoint, RelayMap, RelayMode, SecretKey, 2532 dns::DnsResolver, -2533 endpoint::{DirectAddr, PathSelection, Source}, +2533 endpoint::{PathSelection, Source}, 2534 magicsock::{Handle, MagicSock, node_map}, 2535 tls::{self, DEFAULT_MAX_TLS_TICKETS}, 2536 }; @@ -2638,7 +2638,7 @@ 2638 fn update_direct_addrs( 2639 stacks: &[MagicStack], 2640 my_idx: usize, -2641 new_addrs: BTreeSet<DirectAddr>, +2641 new_addrs: BTreeSet<SocketAddr>, 2642 ) { 2643 let me = &stacks[my_idx]; 2644 for (i, m) in stacks.iter().enumerate() { @@ -2649,7 +2649,7 @@ 2649 let addr = NodeAddr { 2650 node_id: me.public(), 2651 relay_url: None, -2652 direct_addresses: new_addrs.iter().map(|ep| ep.addr).collect(), +2652 direct_addresses: new_addrs.clone(), 2653 }; 2654 m.endpoint.magic_sock().add_test_addr(addr); 2655 } @@ -2663,10 +2663,10 @@ 2663 let stacks = stacks.clone(); 2664 tasks.spawn(async move { 2665 let me = m.endpoint.node_id().fmt_short(); -2666 let mut stream = m.endpoint.direct_addresses().stream().filter_map(|i| i); -2667 while let Some(new_eps) = stream.next().await { -2668 info!(%me, "conn{} endpoints update: {:?}", my_idx + 1, new_eps); -2669 update_direct_addrs(&stacks, my_idx, new_eps); +2666 let mut stream = m.endpoint.watch_node_addr().stream().filter_map(|i| i); +2667 while let Some(addr) = stream.next().await { +2668 info!(%me, "conn{} endpoints update: {:?}", my_idx + 1, addr.direct_addresses); +2669 update_direct_addrs(&stacks, my_idx, addr.direct_addresses); 2670 } 2671 }); 2672 } @@ -2901,7 +2901,7 @@ 2901 println!("first conn!"); 2902 let conn = m1 2903 .endpoint -2904 .connect(m2.endpoint.node_addr().initialized().await, ALPN) +2904 .connect(m2.endpoint.watch_node_addr().initialized().await, ALPN) 2905 .await?; 2906 println!("Closing first conn"); 2907 conn.close(0u32.into(), b"bye lolz"); diff --git a/pr/3465/docs/src/iroh/protocol.rs.html b/pr/3465/docs/src/iroh/protocol.rs.html index 6a92268a0c..f4c8896a26 100644 --- a/pr/3465/docs/src/iroh/protocol.rs.html +++ b/pr/3465/docs/src/iroh/protocol.rs.html @@ -629,7 +629,7 @@ 629 let proto = AccessLimit::new(Echo, |_node_id| false); 630 let r1 = Router::builder(e1.clone()).accept(ECHO_ALPN, proto).spawn(); 631 -632 let addr1 = r1.endpoint().node_addr().initialized().await; +632 let addr1 = r1.endpoint().watch_node_addr().initialized().await; 633 dbg!(&addr1); 634 let e2 = Endpoint::builder() 635 .relay_mode(RelayMode::Disabled) @@ -682,7 +682,7 @@ 682 .accept(TEST_ALPN, TestProtocol::default()) 683 .spawn(); 684 eprintln!("waiting for node addr"); -685 let addr = router.endpoint().node_addr().initialized().await; +685 let addr = router.endpoint().watch_node_addr().initialized().await; 686 687 eprintln!("creating ep2"); 688 let endpoint2 = Endpoint::builder() diff --git a/pr/3465/docs/src/iroh_bench/iroh.rs.html b/pr/3465/docs/src/iroh_bench/iroh.rs.html index 2514c0406c..83f944a526 100644 --- a/pr/3465/docs/src/iroh_bench/iroh.rs.html +++ b/pr/3465/docs/src/iroh_bench/iroh.rs.html @@ -5,7 +5,7 @@ 5 6use bytes::Bytes; 7use iroh::{ -8 Endpoint, NodeAddr, RelayMode, RelayUrl, Watcher as _, +8 Endpoint, NodeAddr, RelayMode, RelayUrl, 9 endpoint::{Connection, ConnectionError, RecvStream, SendStream, TransportConfig}, 10}; 11use n0_snafu::{Result, ResultExt}; @@ -49,7 +49,7 @@ 49 .unwrap(); 50 51 if relay_url.is_some() { -52 ep.home_relay().initialized().await; +52 ep.online().await; 53 } 54 55 let addr = ep.bound_sockets(); @@ -110,7 +110,7 @@ 110 .unwrap(); 111 112 if relay_url.is_some() { -113 endpoint.home_relay().initialized().await; +113 endpoint.online().await; 114 } 115 116 // TODO: We don't support passing client transport config currently diff --git a/pr/3465/docs/src/iroh_relay/node_info.rs.html b/pr/3465/docs/src/iroh_relay/node_info.rs.html index 1ef137c913..38e8361b1d 100644 --- a/pr/3465/docs/src/iroh_relay/node_info.rs.html +++ b/pr/3465/docs/src/iroh_relay/node_info.rs.html @@ -624,7 +624,7 @@ 624 if parts.next() == Some(IROH_TXT_NAME) { 625 name 626 } else { -627 format!("{}.{}", IROH_TXT_NAME, name) +627 format!("{IROH_TXT_NAME}.{name}") 628 } 629} 630