diff --git a/pr/3360/docs/iroh/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html b/pr/3360/docs/iroh/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html index a64ca49ba2..8921cb8e71 100644 --- a/pr/3360/docs/iroh/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html +++ b/pr/3360/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/3360/docs/iroh/endpoint/enum.AddNodeAddrError.html b/pr/3360/docs/iroh/endpoint/enum.AddNodeAddrError.html index b39378e7eb..bd47f46cf0 100644 --- a/pr/3360/docs/iroh/endpoint/enum.AddNodeAddrError.html +++ b/pr/3360/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§

§

impl Freeze for AddNodeAddrError

§

impl !RefUnwindSafe for AddNodeAddrError

§

impl Send for AddNodeAddrError

§

impl Sync for AddNodeAddrError

§

impl Unpin for AddNodeAddrError

§

impl !UnwindSafe for AddNodeAddrError

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§

§

impl Freeze for AddNodeAddrError

§

impl !RefUnwindSafe for AddNodeAddrError

§

impl Send for AddNodeAddrError

§

impl Sync for AddNodeAddrError

§

impl Unpin for AddNodeAddrError

§

impl !UnwindSafe for AddNodeAddrError

Blanket 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/3360/docs/iroh/endpoint/enum.AlpnError.html b/pr/3360/docs/iroh/endpoint/enum.AlpnError.html index 2661a2c140..bca1a7a6bb 100644 --- a/pr/3360/docs/iroh/endpoint/enum.AlpnError.html +++ b/pr/3360/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/3360/docs/iroh/endpoint/enum.BindError.html b/pr/3360/docs/iroh/endpoint/enum.BindError.html index c2b295e228..455b4cc963 100644 --- a/pr/3360/docs/iroh/endpoint/enum.BindError.html +++ b/pr/3360/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/3360/docs/iroh/endpoint/enum.ConnectError.html b/pr/3360/docs/iroh/endpoint/enum.ConnectError.html index 811f97920c..29c69a0899 100644 --- a/pr/3360/docs/iroh/endpoint/enum.ConnectError.html +++ b/pr/3360/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/3360/docs/iroh/endpoint/enum.ConnectWithOptsError.html b/pr/3360/docs/iroh/endpoint/enum.ConnectWithOptsError.html index eae7ae25a1..0f87af330b 100644 --- a/pr/3360/docs/iroh/endpoint/enum.ConnectWithOptsError.html +++ b/pr/3360/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/3360/docs/iroh/endpoint/enum.ConnectionError.html b/pr/3360/docs/iroh/endpoint/enum.ConnectionError.html index 9021e5f9ee..d7a168cd5f 100644 --- a/pr/3360/docs/iroh/endpoint/enum.ConnectionError.html +++ b/pr/3360/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/3360/docs/iroh/endpoint/enum.GetMappingAddressError.html b/pr/3360/docs/iroh/endpoint/enum.GetMappingAddressError.html index 0687e1d835..ab596f999f 100644 --- a/pr/3360/docs/iroh/endpoint/enum.GetMappingAddressError.html +++ b/pr/3360/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/3360/docs/iroh/endpoint/enum.PathSelection.html b/pr/3360/docs/iroh/endpoint/enum.PathSelection.html index bf56583068..bdf18a4192 100644 --- a/pr/3360/docs/iroh/endpoint/enum.PathSelection.html +++ b/pr/3360/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/3360/docs/iroh/endpoint/enum.RelayMode.html b/pr/3360/docs/iroh/endpoint/enum.RelayMode.html index b2c9b1cb66..19feaea51b 100644 --- a/pr/3360/docs/iroh/endpoint/enum.RelayMode.html +++ b/pr/3360/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/3360/docs/iroh/endpoint/fn.default_relay_mode.html b/pr/3360/docs/iroh/endpoint/fn.default_relay_mode.html index ed95c7d85a..a097aef75d 100644 --- a/pr/3360/docs/iroh/endpoint/fn.default_relay_mode.html +++ b/pr/3360/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/3360/docs/iroh/endpoint/fn.force_staging_infra.html b/pr/3360/docs/iroh/endpoint/fn.force_staging_infra.html index 9e1c7b6826..e921eb6c0c 100644 --- a/pr/3360/docs/iroh/endpoint/fn.force_staging_infra.html +++ b/pr/3360/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/3360/docs/iroh/endpoint/index.html b/pr/3360/docs/iroh/endpoint/index.html index b81b0b41de..b043ab3d1b 100644 --- a/pr/3360/docs/iroh/endpoint/index.html +++ b/pr/3360/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/3360/docs/iroh/endpoint/struct.Accept.html b/pr/3360/docs/iroh/endpoint/struct.Accept.html index 921814d403..9e555f1092 100644 --- a/pr/3360/docs/iroh/endpoint/struct.Accept.html +++ b/pr/3360/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/3360/docs/iroh/endpoint/struct.Builder.html b/pr/3360/docs/iroh/endpoint/struct.Builder.html index e94fd9550f..0404978993 100644 --- a/pr/3360/docs/iroh/endpoint/struct.Builder.html +++ b/pr/3360/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/3360/docs/iroh/endpoint/struct.ConnectOptions.html b/pr/3360/docs/iroh/endpoint/struct.ConnectOptions.html index 9163a187f6..4112c3df58 100644 --- a/pr/3360/docs/iroh/endpoint/struct.ConnectOptions.html +++ b/pr/3360/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/3360/docs/iroh/endpoint/struct.Connecting.html b/pr/3360/docs/iroh/endpoint/struct.Connecting.html index c02415c07d..3097fe553f 100644 --- a/pr/3360/docs/iroh/endpoint/struct.Connecting.html +++ b/pr/3360/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/3360/docs/iroh/endpoint/struct.Connection.html b/pr/3360/docs/iroh/endpoint/struct.Connection.html index a9f22bc119..3f22239f6f 100644 --- a/pr/3360/docs/iroh/endpoint/struct.Connection.html +++ b/pr/3360/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/3360/docs/iroh/endpoint/struct.Endpoint.html b/pr/3360/docs/iroh/endpoint/struct.Endpoint.html index c7900251d2..c69313b9a3 100644 --- a/pr/3360/docs/iroh/endpoint/struct.Endpoint.html +++ b/pr/3360/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/3360/docs/iroh/endpoint/struct.Incoming.html b/pr/3360/docs/iroh/endpoint/struct.Incoming.html index 5f66055cd6..40c441e57d 100644 --- a/pr/3360/docs/iroh/endpoint/struct.Incoming.html +++ b/pr/3360/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/3360/docs/iroh/endpoint/struct.IncomingFuture.html b/pr/3360/docs/iroh/endpoint/struct.IncomingFuture.html index cce6184802..dea0b41ade 100644 --- a/pr/3360/docs/iroh/endpoint/struct.IncomingFuture.html +++ b/pr/3360/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/3360/docs/iroh/endpoint/struct.RemoteNodeIdError.html b/pr/3360/docs/iroh/endpoint/struct.RemoteNodeIdError.html index 8e4befe2eb..9bc3008b7f 100644 --- a/pr/3360/docs/iroh/endpoint/struct.RemoteNodeIdError.html +++ b/pr/3360/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/3360/docs/iroh/endpoint/struct.ZeroRttAccepted.html b/pr/3360/docs/iroh/endpoint/struct.ZeroRttAccepted.html index d9d3562d49..5ec6d1dddf 100644 --- a/pr/3360/docs/iroh/endpoint/struct.ZeroRttAccepted.html +++ b/pr/3360/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/3360/docs/search-index.js b/pr/3360/docs/search-index.js index 4babeead01..fd154b94d0 100644 --- a/pr/3360/docs/search-index.js +++ b/pr/3360/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":"PPEPGTFIFFEFFFFRKNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNOCCNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN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EFFNOOOOOOOONNNNNNNNNNNNNNNOOONNNNNNNNNNNNNNNOOONNNNNNNNNNNNNNNOOOONNNNONNNNNNNNNNNNNNNONNNNNNNNNNOOOONNNNOOOOOOONNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNOOOOOOONNNNPFFGPPFFFNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNOONNOONNNNNNNNONOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNPGPGPSPPPPFFKFPPGPFPNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNONNNNNNNNNMNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOGFPKPPKFFPNNMMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNONHHNNNNNNNNN","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"],[347,"iroh::KeyParsingError"],[355,"iroh::defaults"],[361,"iroh::defaults::prod"],[368,"iroh::defaults::staging"],[373,"iroh::discovery"],[707,"iroh::discovery::DiscoveryError"],[716,"iroh::discovery::IntoDiscoveryError"],[720,"iroh::discovery::ParseError"],[738,"iroh::discovery::dns"],[785,"iroh::discovery::mdns"],[871,"iroh::discovery::mdns::DiscoveryEvent"],[874,"iroh::discovery::pkarr"],[1048,"iroh::discovery::pkarr::PkarrError"],[1055,"iroh::discovery::pkarr::dht"],[1116,"iroh::discovery::static_provider"],[1152,"iroh::dns"],[1199,"iroh::endpoint"],[3259,"iroh::endpoint::AddNodeAddrError"],[3266,"iroh::endpoint::AlpnError"],[3273,"iroh::endpoint::BindError"],[3276,"iroh::endpoint::ConnectError"],[3282,"iroh::endpoint::ConnectWithOptsError"],[3293,"iroh::endpoint::GetMappingAddressError"],[3301,"iroh::endpoint::Source"],[3303,"iroh::metrics"],[3487,"iroh::net_report"],[3692,"iroh::discovery"],[3693,"iroh::node_info"],[3694,"iroh::discovery"],[3695,"iroh::node_info"],[3706,"iroh::discovery"],[3708,"iroh::node_info"],[3709,"iroh::discovery"],[3710,"iroh::node_info"],[3711,"iroh::discovery"],[3712,"iroh::node_info"],[3739,"iroh::discovery"],[3740,"iroh::node_info"],[3772,"iroh::discovery"],[3773,"iroh::node_info"],[3798,"iroh::node_info::DecodingError"],[3807,"iroh::node_info::EncodingError"],[3813,"iroh::discovery::ParseError"],[3831,"iroh::protocol"],[3961,"iroh::protocol::AcceptError"],[3966,"iroh::test_utils"],[4014,"dyn_clone::sealed"],[4015,"tower_http::follow_redirect::policy::and"],[4016,"tower_http::follow_redirect::policy"],[4017,"iroh_base::key"],[4018,"core::error"],[4019,"backtrace::capture"],[4020,"core::option"],[4021,"iroh_base::relay_url"],[4022,"iroh_base::node_addr"],[4023,"iroh_relay::relay_map"],[4024,"core::cmp"],[4025,"async_compat"],[4026,"core::result"],[4027,"serde::de"],[4028,"core::net::socket_addr"],[4029,"core::iter::traits::iterator"],[4030,"alloc::collections::btree::set"],[4031,"core::fmt"],[4032,"ed25519_dalek::verifying"],[4033,"data_encoding"],[4034,"signature::error"],[4035,"ed25519_dalek::signing"],[4036,"iroh_relay::node_info"],[4037,"iroh_base::ticket::node"],[4038,"url"],[4039,"core::iter::traits::collect"],[4040,"rand_core"],[4041,"n0_watcher"],[4042,"core::clone"],[4043,"alloc::sync"],[4044,"core::hash"],[4045,"core::ops::function"],[4046,"core::marker"],[4047,"tower_http::follow_redirect::policy::or"],[4048,"core::task::wake"],[4049,"core::task::poll"],[4050,"serde::ser"],[4051,"ed25519"],[4052,"alloc::string"],[4053,"alloc::collections"],[4054,"core::any"],[4055,"n0_snafu::spantrace"],[4056,"iroh_relay::dns"],[4057,"alloc::boxed"],[4058,"pkarr::signed_packet"],[4059,"alloc::vec"],[4060,"futures_lite::stream"],[4061,"core::str::error"],[4062,"core::convert"],[4063,"futures_core::stream"],[4064,"core::time"],[4065,"pkarr::keys"],[4066,"reqwest::error"],[4067,"http::status"],[4068,"pkarr::client"],[4069,"core::net::ip_addr"],[4070,"reqwest::dns::resolve"],[4071,"core::future::future"],[4072,"core::pin"],[4073,"iroh_quinn_proto::connection"],[4074,"iroh_quinn::connection"],[4075,"iroh_quinn_proto::config"],[4076,"iroh_quinn_proto::config::transport"],[4077,"iroh_quinn_proto::varint"],[4078,"iroh_quinn_proto::connection::stats"],[4079,"iroh::magicsock::node_map::node_state"],[4080,"iroh::magicsock"],[4081,"iroh_quinn_proto::crypto"],[4082,"iroh_quinn_proto::congestion"],[4083,"std::time"],[4084,"iroh_quinn_proto::connection::assembler"],[4085,"bytes::bytes"],[4086,"iroh_quinn_proto::connection::streams::send"],[4087,"iroh_quinn::recv_stream"],[4088,"iroh_quinn::send_stream"],[4089,"iroh_quinn_proto::connection::streams"],[4090,"iroh::magicsock::node_map"],[4091,"iroh_quinn_proto::frame"],[4092,"iroh_quinn_proto"],[4093,"iroh_quinn_proto::coding"],[4094,"bytes::buf::buf_impl"],[4095,"bytes::buf::buf_mut"],[4096,"iroh_quinn::incoming"],[4097,"iroh_quinn_proto::connection::streams::recv"],[4098,"iroh_relay::protos::common"],[4099,"ring::error::unspecified"],[4100,"iroh_quinn_proto::transport_parameters"],[4101,"iroh_quinn_proto::shared"],[4102,"iroh_quinn_proto::connection::paths"],[4103,"std::io::error"],[4104,"tokio::io::read_buf"],[4105,"std::collections::hash::map"],[4106,"rustls_pki_types"],[4107,"rustls::error"],[4108,"iroh_quinn_proto::endpoint"],[4109,"iroh_metrics::metrics"],[4110,"iroh_metrics::iterable"],[4111,"iroh_metrics::base"],[4112,"iroh::net_report::options::imp"],[4113,"iroh::net_report::probes"],[4114,"iroh::net_report::report"],[4115,"iroh::net_report::reportgen"],[4116,"rustls::client::client_conn"],[4117,"iroh::net_report::metrics"],[4118,"iroh_quinn::endpoint"],[4119,"z32"],[4120,"simple_dns::simple_dns_error"],[4121,"tokio::runtime::task::error"],[4122,"iroh::test_utils::dns_and_pkarr_servers"],[4123,"iroh_relay::server"],[4124,"iroh_relay"],[4125,"iroh_relay::defaults"]],"i":"Af0`0`l`````````En`1B`BbBdBfBh67432Al217807807785430217854302180754321754321754321743174317854302178543021785430212`778543302178543021807543144``785430212`74321777444333222111778854330022117778885554444433022211752247543217537562743807854302167854302164226``44`267854302174316`7514457543158066`5754321783021777785543021785430217830217854302161277854302144HlHnI`21210``````````````````In`0``````IlJb0``22`2J`1`3Ij3DnJdIf033627Jf562185678564738056214738056218564473214732147321774738056214738056214738056213414733805622147338056218564`047380562114732444777333222477388055662144733333880566211565633473211737856473805621473805621Kj243232`54313435849167328`3Ih3603266:78`546954359:7856995:27843695:278439:78695:2784364695:27843656565LfLhLj100210Ll000LnM`MbMdMfMh413520543210````MnMl10100110101010100101010101010110110101010Nd`0```Nb1N`10210210201121212102102102010210210222221021021210210210102110112102102102102NlNn1``K`0000````````00OdOhOj3Ob3Of3255514032514032104354324324325140325140325140325140325140325`1051403255140325140324325514032514032140343251403242132543255140325140325151403245140322OlA@`A@dA@hA@jA@lAA```AAd0AAb10100101111010101010100101010101010100010010101101001010AAh`0000000000000000000000000000000000```Jh0000000000000000000000000000000000000000000AId0````AEf``AIj`AHl`ACf``444AHf`1`AGjAH`AEh`````0`4`AEbAGf4AGl4AHb```````AIn0AHh```41AEl<0`AEd0``AId00AGn```11<``1AIh?ADb0AEj7`44AHlAEf89``76``AHf05551AGh``7```;3`AIj`AGjACf``;;65````?AH```<1AGf5``2`8`AEb<01``3````4AGl3AHb3861?40=AGbADdAFfAHdAGd>ADjAHhAHjAHl>AD`AFdACnAHnAI`AIbAIdAIfADlAIhAIjABnAIlAChAIn3ACb220?ADdADf1ADhADj;ADn3ACd83AMnAMlAClACjAN`AK`AGfAKbAJhAGhAGjAGlAGnAJjAH`AHbADfADbAFnAGbADdAFfAHdAGd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hAGjAGlAGnAJjAH`AHbADfADbAFnAGbADdAFfAHdAGdAHfADjAHhAHjAHlACfAD`AFdACnAJnAKdAKfAHnAI`AEdAIbAIdAIfADlAIhAIjADhABnAEfAEhAEjAElAIlAC`ACbAKhACdAEbAKjAChAEnAInAMnAMlAClACjAN`AK`AGfAKbAJhAGhAGjAGlAGnAJjAH`AHbADfADbAFnAGbADdAFfAHdAGdAHfADjAHhAHjAHlACfAD`AFdACnAJnAKdAKfAHnAI`AEdAIbAIdAIfADlAIhAIjADhABnAEfAEhAEjAElAIlAC`ACbAKhACdAEbAKjAChAEnAInADfAFf4ABn00ADdAId1ACn54422558AGbADb3AIf81257AHdAGdAHhAHjAD`AFdAIjADhAIl`AMnAMlAClACjAN`AK`AGfAKbAJhAGhAGjAGlAGnAJjAH`AHbADfADbAFnAGbADdAFfAHdAGdAHfADjAHhAHjAHlACfAD`AFdACnAJnAKdAKfAHnAI`AEdAIbAIdAIfADlAIhAIjADhABnAEfAEhAEjAElAIlAC`ACbAKhACdAEbAKjAChAEnAInAMnAMlAClACjAN`AK`AGfAKbAJhAGhAGjAGlAGnAJjAH`AHbADfADbAFnAGbADdAFfAHdAGdAHfADjAHhAHjAHlACfAD`AFdACnAJnAKdAKfAHnAI`AEdAIbAIdAIfADlAIhAIjADhABnAEfAEhAEjAElAIlAC`ACbAKhACdAEbAKjAChAEnAInAEd>=<;52AHfADjAHhAHlAIfABnADh100001AMnAMlAClACjAN`AK`AGfAKbAJh0AGhAGjAGlAGnAJj0AH`AHbADfADbAFnAGbADdAFfAHdAGdAHfADjAHhAHjAHlACfAD`AFdACnAJnAKdAKfAHnAI`AEdAIbAIdAIfADlAIhAIjADhABnAEfAEhAEjAElAIlAC`ACbAKhACdAEbAKjAChAEnAInADfADbAIdAIfAGfAGhAGjAGlAGnAH`AHb9AFnAGdAHfADjAHhAHjAHlACfAJnAHnAI`AIbAIdAIfADlAIhAIjAInAGf00AGh00AGj00AGl00AGn00AH`00AHb00ADb00AFn00AGd00AHf00ADj00AHh00AHj00AHl00ACf00AJn00AHn00AI`00AIb00AId00AIf00ADl00AIh00AIj00AIn0087AChAJjAK`AGf0AKb0AJhAGh0AGj0AGl0AGn08AH`0AHb0ADfADb0AFnAGbADdAFfAHdAGdAHf0ADjAHh0AHj0AHl0ACf0AD`AFdACnAJnAKdAKfAHn0AI`0AEd0AIb0AId0AIf0ADlAIh0AIjADhABnAEf0AEh0AEj0AEl0AIlAC`ACbAKhACdAEb0AKjAChAEn0AIn`AIbAHd0AHnAMnAMlAClACjAN`AK`AGf0AKbAJhAGh0AGj000AGl0AGn0AJjAH`000AHb0ADfADb00000AFnAGbADdAFfAHdAGdAHfADjAHhAHjAHlACf00AD`AFdACnAJnAKd0AKfAHn0AI`AEdAIb000AIdAIf0ADlAIhAIjADhABnAEf0AEh00AEjAElAIlAC`ACbAKhACdAEb0AKjAChAEnAInAGfAGhAGjAGlAGnAH`AHbADbAGbADdAFfAHdAGdAHfADjAHhAHjAHlACfAD`AFdACnAHnAI`AIbAIdAIfADlAIhAIjABnAIlAChAInADb00ACd3ADd2AHl;:97AJhAJjACb4AGfAKbAGhAGjAGlAGnAH`AHbAHjACfAEdAIbAEfAEhAEjAElAEbAEnACn0AIfAMnAMlAClACjAN`AK`AGfAKbAJhAGhAGjAGlAGnAJjAH`AHbADfADbAFnAGbADdAFfAHdAGdAHfADjAHhAHjAHlACfAD`AFdACnAJnAKdAKfAHnAI`AEdAIbAIdAIfADlAIhAIjADhABnAEfAEhAEjAElAIlAC`ACbAKhACdAEbAKjAChAEnAInALlADf0AFlAIfADhAFdAMnAMlAClACjAN`AK`AGfAKbAJhAGhAGjAGlAGnAJjAH`AHbADfADbAFnAGbADdAFfAHdAGdAHfADjAHhAHjAHlACfAD`AFdACnAJnAKdAKfAHnAI`AEdAIbAIdAIfADlAIhAIjADhABnAEfAEhAEjAElAIlAC`ACbAKhACdAEbAKjAChAEnAIn5AFlAMnAMlAClACjAN`>=<;9AKbADbAGbAJhAK`ABnADfAD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000{AOb{{Cd{ADbALh}}}}{Kl{{Cd{ADbALh}}}}{C`{{Cd{ADbALh}}}}33333333333333333333333333333333333333333333{{}{{Cd{c}}}{}}000000000000000000000000000000000000000000000000000000000000{{{ABl{{b{Anc}}}}{b{AnGj}}}Gl{}}000000{b{{Cd{HdHf}}}}00000000000000000000000000{ADlAIh}{bHh}000000000000000000000000000000000000000000000000000000000000{AHdAGb}0{{{b{AnAFd}}Id}{{b{AnAFd}}}}{{ADhIl}ADh}{ACnAOd}{{{b{AnACn}}AOd}{{b{AnACn}}}}{{}c{}}000000000000000000000000000000000000000000000000000000000000{{{b{AFl}}}Kl}{{AIl{Kf{{Kf{n}}}}}AIl}{{{Fd{ALl}}}ACn}{{{Kf{AOf}}AOh}{{Cd{ACnAOj}}}}{{AIl{Fd{ADf}}}AIl}{{{b{AnAJj}}{b{{Ad{n}}}}}{{Cd{C`AH`}}}}{{{b{AnAJj}}{b{{Ad{n}}}}}{{Cd{fAH`}}}}{{{b{AnAJj}}{b{An{Ad{AG`}}}}}{{Cd{fAH`}}}}{{{b{AnAJj}}AG`}{{Cd{fAH`}}}}{{{b{AnAJj}}{b{An{Ad{AG`}}}}}{{Cd{AGdAH`}}}}{AOlAj}{AOnAj}{B@`Aj}{AOnC`}{AOlIb}{AOnIb}{B@`Ib}{B@bAj}{B@dAj}{B@fAj}{B@bACf}{B@bIb}{B@dIb}{B@fIb}{B@hAj}`{B@hIb}{B@jAj}{B@lAj}{B@jKb}{B@lKb}{B@jIb}{B@lIb}{B@nAj}{BA`Aj}{BAbAj}{BAdAj}{B@nAEd}{BAbAEl}{BAdBAf}{B@nIb}{BA`Ib}{BAbIb}{BAdIb}{BAhAj}{BAjAj}{BAlAj}{BAhJb}{BAjJb}{BAhIb}{BAjIb}{BAlIb}{BAnHd}{BB`Hd}`````{{bd}f}{BBbBBd}{BBfBBd}000000{g{{h{ig}}}{}{}{{j{ce}}}{{j{ce}}}}000{b{{b{BBh}}}}00{b{{b{c}}}{}}000{{{b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,"And",4015],[10,"Policy",4016],[5,"PublicKey",0,4017],[1,"u8"],[1,"array"],[10,"Error",4018],[1,"slice"],[6,"KeyParsingError",0,4017],[5,"Backtrace",4019],[6,"Option",4020,null,1],[5,"RelayUrlParseError",0,4021],[0,"mut"],[5,"SecretKey",0,4017],[5,"NodeAddr",0,4022],[5,"RelayUrl",0,4021],[5,"RelayMap",0,4023],[5,"RelayNode",0,4023],[6,"Ordering",4024],[5,"Compat",4025],[1,"bool"],[1,"usize"],[1,"str"],[6,"Result",4026,null,1],[10,"Deserializer",4027],[17,"Item"],[6,"SocketAddr",4028],[10,"Iterator",4029],[5,"BTreeSet",4030],[5,"Formatter",4031],[5,"Error",4031],[10,"Display",4031],[5,"VerifyingKey",4032],[5,"DecodeError",4033],[5,"Error",4034],[5,"SigningKey",4035],[5,"NodeInfo",3772,4036],[1,"tuple",null,null,1],[5,"NodeTicket",4037],[5,"Url",4038],[10,"IntoIterator",4039],[6,"DecodingError",3773,4036],[10,"CryptoRngCore",4040],[17,"Value"],[10,"Watcher",0,4041],[10,"Clone",4042],[10,"Eq",4024],[5,"Arc",4043,null,1],[10,"Hasher",4044],[5,"InitializedFut",4041],[10,"Nullable",4041],[5,"Map",4041],[5,"Disconnected",4041],[17,"Output"],[10,"Fn",4045],[10,"Send",4046],[10,"Sync",4046],[5,"Or",4047],[5,"Context",4048],[6,"Poll",4049],[10,"Serializer",4050],[5,"Signature",4051],[5,"Stream",4041],[5,"String",4052],[5,"TryReserveError",4053],[5,"TypeId",4054],[5,"NextFut",4041],[15,"Decode",347],[15,"Key",347],[15,"DecodeInvalidLength",347],[5,"SpanTrace",4055],[1,"u16"],[5,"ConcurrentDiscovery",3772],[10,"Discovery",3772],[5,"NodeData",3772,4036],[5,"UserData",3772,4036],[6,"ParseError",3772,4036],[6,"IntoDiscoveryError",3772],[6,"DiscoveryError",3772],[5,"DiscoveryItem",3772],[5,"DiscoveryContext",3772],[5,"DnsResolver",1152,4056],[8,"Result",4031],[6,"IrohAttr",4036],[5,"TxtAttrs",4036],[6,"PkarrError",874],[5,"Box",4057,null,1],[5,"SignedPacket",4058],[5,"Vec",4059],[5,"TxtRecordData",4056],[10,"IntoDiscovery",3772],[1,"u64"],[8,"NodeId",0,4017],[8,"Boxed",4060],[1,"u32"],[6,"EncodingError",3773,4036],[15,"NoServiceConfigured",707],[15,"NoResults",707],[15,"User",707],[15,"User",716],[15,"UnexpectedFormat",3813],[15,"AttrFromString",3813],[15,"NumLabels",3813],[15,"Utf8",3813],[15,"NotAnIrohRecord",3813],[15,"DecodingError",3813],[5,"Utf8Error",4061],[5,"DnsDiscoveryBuilder",738],[5,"DnsDiscovery",738],[5,"MdnsDiscoveryBuilder",785],[5,"MdnsDiscovery",785],[6,"DiscoveryEvent",785],[10,"Into",4062,null,1],[10,"Stream",4063],[10,"Unpin",4046],[15,"Discovered",871],[15,"Expired",871],[5,"Duration",4064],[5,"PkarrPublisherBuilder",874],[5,"PkarrPublisher",874],[5,"PkarrResolverBuilder",874],[5,"PkarrResolver",874],[5,"PkarrRelayClient",874],[15,"PublicKey",1048],[6,"PublicKeyError",4065],[15,"Verify",1048],[6,"SignedPacketVerifyError",4058],[15,"HttpSend",1048],[5,"Error",4066],[15,"HttpPayload",1048],[15,"Encoding",1048],[15,"HttpRequest",1048],[5,"StatusCode",4067],[15,"InvalidRelayUrl",1048],[5,"Builder",1055],[5,"DhtDiscovery",1055],[5,"Client",4068],[5,"StaticProvider",1116],[5,"Builder",4056],[10,"Resolver",4056],[6,"IpAddr",4069],[6,"DnsError",4056],[10,"ToString",4052],[5,"StaggeredError",4056],[6,"LookupError",4056],[5,"Name",4070],[10,"Future",4071,null,1],[5,"Pin",4072],[5,"Endpoint",1199],[5,"Accept",1199],[5,"Incoming",1199],[5,"Connecting",1199],[6,"ConnectionError",1199,4073],[5,"Connection",1199],[5,"AcceptBi",1199,4074],[5,"AcceptUni",1199,4074],[5,"ServerConfig",1199,4075],[5,"AckFrequencyConfig",1199,4076],[5,"VarInt",1199,4077],[5,"FrameStats",1199,4078],[5,"TransportConfig",1199,4076],[5,"Builder",1199],[5,"DirectAddrInfo",1199,4079],[5,"DirectAddr",1199,4080],[10,"HandshakeTokenKey",1199,4081],[10,"AeadKey",1199,4081],[6,"AlpnError",1199],[6,"AddNodeAddrError",1199,4080],[6,"ConnectWithOptsError",1199],[6,"ConnectError",1199],[6,"BindError",1199],[6,"GetMappingAddressError",1199],[5,"RemoteNodeIdError",1199],[5,"SocketAddrV4",4028],[5,"SocketAddrV6",4028],[5,"MtuDiscoveryConfig",1199,4076],[5,"PathStats",1199,4078],[10,"ControllerFactory",1199,4082],[5,"Instant",4083],[10,"Controller",1199,4082],[5,"Chunk",1199,4084],[5,"Bytes",4085],[5,"UdpStats",1199,4078],[5,"Written",1199,4086],[6,"SendDatagramError",1199,4074],[6,"ReadToEndError",1199,4087],[6,"ReadError",1199,4087],[6,"ResetError",1199,4087],[6,"ReadExactError",1199,4087],[6,"WriteError",1199,4088],[6,"StoppedError",1199,4088],[5,"ConnectionStats",1199,4078],[6,"ControlMsg",1199,4079],[6,"ConnectionType",1199,4079],[5,"ClosedStream",1199,4089],[6,"Source",1199,4090],[5,"ConnectionClose",1199,4091],[5,"ApplicationClose",1199,4091],[5,"TransportError",1199],[5,"TransportErrorCode",1199],[5,"StreamId",1199,4092],[6,"DirectAddrType",1199,4080],[6,"PathSelection",1199],[5,"ConnectOptions",1199],[6,"RelayMode",1199],[5,"Direct",4041],[5,"UnexpectedEnd",4093],[10,"Buf",4094],[6,"Dir",4092],[5,"RecvStream",1199,4087],[5,"SendStream",1199,4088],[10,"BufMut",4095],[5,"ExportKeyingMaterialError",1199,4081],[5,"WeakConnectionHandle",1199,4074],[5,"RetryError",1199,4096],[5,"CryptoError",1199,4081],[5,"UnsupportedVersion",1199,4081],[5,"IncomingFuture",1199],[5,"ZeroRttAccepted",1199],[6,"ReadableError",4097],[6,"FrameType",4098],[6,"Close",4091],[5,"Unspecified",4099],[6,"Error",4100],[5,"InvalidFrame",4091],[5,"VarIntBoundsExceeded",4077],[10,"Any",4054],[10,"CryptoServerConfig",1199],[5,"ConnectionId",4101],[5,"Keys",4081],[6,"Side",4092],[5,"Incoming",4096],[5,"IdleTimeout",4076],[5,"EndpointMetrics",3303],[5,"RttEstimator",4102],[5,"OpenBi",1199,4074],[5,"OpenUni",1199,4074],[5,"ReadDatagram",1199,4074],[5,"Error",4103],[5,"ReadBuf",4104],[1,"i32"],[5,"HashMap",4105],[5,"TransportParameters",4100],[10,"Session",4081],[10,"TimeSource",4075],[1,"f32"],[1,"u128"],[5,"ValidationTokenConfig",4075],[5,"CertificateDer",4106],[6,"PrivateKeyDer",4106],[6,"Error",4107],[15,"Empty",3259],[15,"EmptyPruned",3259],[15,"OwnAddress",3259],[15,"ConnectionError",3266],[15,"Unavailable",3266],[15,"UnknownHandshake",3266],[15,"MagicSpawn",3273],[15,"Connect",3276],[15,"Connection",3276],[15,"AddNodeAddr",3282],[15,"SelfConnect",3282],[15,"NoAddress",3282],[15,"Quinn",3282],[6,"ConnectError",4108],[15,"DiscoveryStart",3293],[15,"Discover",3293],[15,"NoAddress",3293],[15,"Discovery",3301],[15,"NamedApp",3301],[5,"RelayMetrics",3303],[5,"Counter",4109],[5,"MagicsockMetrics",3303],[10,"Iterable",4110],[5,"PortmapMetrics",3303],[5,"MetricItem",4111],[10,"MetricsGroup",4111],[5,"Options",3487,4112],[6,"Probe",3487,4113],[5,"Report",3487,4114],[5,"QuicConfig",3487,4115],[5,"ClientConfig",4116],[5,"RelayLatencies",3487,4114],[5,"Metrics",3487,4117],[5,"Endpoint",4118],[5,"MaxLengthExceededError",3773,4036],[6,"SignedPacketBuildError",4058],[10,"NodeIdExt",3773,4036],[15,"InvalidEncodingZ32",3798],[15,"InvalidLength",3798],[15,"InvalidSignature",3798],[6,"Z32Error",4119],[15,"FailedBuildingPacket",3807],[15,"InvalidTxtEntry",3807],[6,"SimpleDnsError",4120],[10,"ProtocolHandler",3831],[6,"AcceptError",3831],[10,"DynProtocolHandler",3831],[5,"RouterBuilder",3831],[10,"AsRef",4062],[5,"AccessLimit",3831],[5,"Router",3831],[10,"Debug",4031],[5,"JoinError",4121],[15,"Connection",3961],[15,"MissingRemoteNodeId",3961],[15,"User",3961],[5,"DnsPkarrServer",3966,4122],[5,"CleanupDropGuard",3966],[8,"Result",4103],[5,"Server",4123],[6,"SpawnError",4123]],"r":[[0,4017],[1,4017],[2,1199],[3,4017],[4,4017],[5,4017],[6,4022],[7,4017],[8,4017],[9,4023],[10,1199],[11,4023],[12,4021],[13,4021],[14,4017],[15,4041],[16,4041],[17,4017],[18,4017],[19,4022],[20,4021],[21,4023],[22,4023],[23,4017],[24,4017],[25,4017],[26,4022],[27,4021],[28,4021],[29,4023],[30,4023],[31,4017],[32,4017],[33,4021],[34,4017],[35,4017],[36,4021],[37,4017],[38,4017],[39,4017],[40,4017],[41,4022],[42,4021],[43,4021],[44,4023],[45,4023],[46,4017],[47,4017],[48,4017],[49,4022],[50,4021],[51,4021],[52,4023],[53,4023],[54,4017],[55,4021],[56,4017],[57,4017],[58,4022],[59,4021],[60,4023],[61,4023],[62,4017],[63,4017],[64,4022],[65,4021],[66,4023],[67,4023],[68,4017],[69,4017],[70,4022],[71,4021],[72,4023],[73,4023],[74,4017],[75,4022],[76,4021],[77,4023],[78,4017],[79,4022],[80,4021],[81,4023],[82,4017],[83,4017],[84,4017],[85,4022],[86,4021],[87,4021],[88,4023],[89,4023],[90,4017],[91,4017],[92,4017],[93,4022],[94,4021],[95,4021],[96,4023],[97,4023],[98,4017],[99,4017],[100,4017],[101,4022],[102,4021],[103,4021],[104,4023],[105,4023],[106,4023],[108,4017],[109,4017],[110,4017],[111,4017],[112,4022],[113,4021],[114,4021],[115,4021],[116,4023],[117,4023],[118,4017],[119,4017],[120,4017],[121,4022],[122,4021],[123,4021],[124,4023],[125,4023],[126,4017],[127,4021],[128,4017],[129,4017],[130,4022],[131,4021],[132,4023],[133,4022],[134,4022],[137,4017],[138,4017],[139,4017],[140,4022],[141,4021],[142,4021],[143,4023],[144,4023],[145,4023],[147,4017],[148,4022],[149,4021],[150,4023],[151,4023],[152,4017],[153,4017],[154,4017],[155,4022],[156,4022],[157,4022],[158,4021],[159,4021],[160,4021],[161,4023],[162,4023],[163,4023],[164,4023],[165,4023],[166,4023],[167,4017],[168,4017],[169,4017],[170,4017],[171,4017],[172,4022],[173,4021],[174,4021],[175,4021],[176,4021],[177,4023],[178,4023],[179,4023],[180,4023],[181,4017],[182,4017],[183,4017],[184,4017],[185,4017],[186,4017],[187,4017],[188,4017],[189,4017],[190,4022],[191,4022],[192,4022],[193,4022],[194,4022],[195,4021],[196,4021],[197,4021],[198,4023],[199,4023],[200,4023],[201,4023],[202,4023],[203,4017],[204,4017],[205,4023],[206,4023],[207,4022],[208,4017],[209,4017],[210,4022],[211,4021],[212,4023],[213,4023],[214,4017],[215,4017],[216,4021],[217,4017],[218,4017],[219,4041],[220,4023],[221,4017],[222,4022],[223,4021],[224,4017],[225,4021],[226,4017],[227,4017],[228,4017],[229,4022],[230,4021],[231,4021],[232,4023],[233,4023],[234,4041],[235,4017],[236,4017],[237,4017],[238,4022],[239,4021],[240,4021],[241,4023],[242,4023],[243,4041],[244,4022],[245,4023],[246,4023],[247,4041],[250,4022],[251,4022],[252,4124],[253,4023],[254,4041],[255,4017],[256,4017],[257,4017],[258,4022],[259,4021],[260,4021],[261,4023],[262,4023],[263,4017],[264,4022],[265,4021],[266,4023],[267,4041],[269,4017],[270,4017],[271,4023],[272,4022],[273,4022],[274,4017],[275,4017],[276,4017],[277,4022],[278,4021],[279,4023],[280,4017],[281,4017],[282,4021],[283,4041],[284,4041],[286,4017],[287,4017],[288,4017],[289,4022],[290,4021],[291,4023],[292,4023],[293,4017],[294,4017],[295,4021],[296,4021],[297,4023],[298,4023],[299,4017],[300,4017],[301,4017],[302,4017],[303,4017],[304,4017],[305,4017],[306,4022],[307,4021],[308,4021],[309,4023],[310,4023],[311,4017],[312,4017],[313,4017],[314,4022],[315,4021],[316,4021],[317,4023],[318,4023],[319,4017],[320,4017],[321,4021],[322,4021],[323,4023],[324,4023],[325,4017],[326,4017],[327,4017],[328,4022],[329,4021],[330,4021],[331,4023],[332,4023],[333,4041],[334,4023],[335,4023],[336,4017],[337,4017],[338,4017],[339,4017],[340,4022],[341,4021],[342,4021],[343,4023],[344,4023],[345,4022],[346,4022],[358,4125],[373,4036],[375,4036],[382,4036],[385,4036],[386,4036],[387,4036],[388,4036],[389,4036],[390,4036],[393,4036],[394,4036],[395,4036],[396,4036],[397,4036],[401,4036],[402,4036],[403,4036],[404,4036],[405,4036],[411,4036],[414,4036],[415,4036],[418,4036],[419,4036],[420,4036],[421,4036],[427,4036],[428,4036],[429,4036],[430,4036],[436,4036],[439,4036],[440,4036],[441,4036],[442,4036],[445,4036],[446,4036],[447,4036],[450,4036],[451,4036],[452,4036],[455,4036],[456,4036],[457,4036],[458,4036],[459,4036],[460,4036],[466,4036],[467,4036],[468,4036],[469,4036],[475,4036],[476,4036],[477,4036],[478,4036],[484,4036],[485,4036],[487,4036],[488,4036],[489,4036],[490,4036],[491,4036],[498,4036],[499,4036],[500,4036],[501,4036],[502,4036],[508,4036],[511,4036],[514,4036],[515,4036],[516,4036],[517,4036],[524,4036],[525,4036],[526,4036],[528,4036],[529,4036],[530,4036],[531,4036],[532,4036],[533,4036],[534,4036],[535,4036],[536,4036],[540,4036],[541,4036],[542,4036],[543,4036],[544,4036],[545,4036],[553,4036],[554,4036],[555,4036],[556,4036],[557,4036],[558,4036],[559,4036],[560,4036],[561,4036],[562,4036],[574,4036],[575,4036],[576,4036],[577,4036],[578,4036],[582,4036],[583,4036],[584,4036],[585,4036],[588,4036],[589,4036],[590,4036],[591,4036],[597,4036],[598,4036],[599,4036],[600,4036],[608,4036],[614,4036],[615,4036],[619,4036],[621,4036],[622,4036],[623,4036],[624,4036],[630,4036],[635,4036],[639,4036],[640,4036],[641,4036],[645,4036],[647,4036],[648,4036],[649,4036],[652,4036],[653,4036],[654,4036],[657,4036],[658,4036],[659,4036],[660,4036],[661,4036],[662,4036],[668,4036],[669,4036],[670,4036],[671,4036],[677,4036],[678,4036],[681,4036],[682,4036],[683,4036],[684,4036],[690,4036],[692,4036],[693,4036],[694,4036],[695,4036],[701,4036],[702,4036],[703,4036],[704,4036],[705,4036],[706,4036],[740,4056],[741,4056],[1152,4056],[1153,4056],[1154,4056],[1155,4056],[1156,4056],[1157,4056],[1158,4056],[1159,4056],[1160,4056],[1161,4056],[1162,4056],[1163,4056],[1164,4056],[1165,4056],[1166,4056],[1167,4056],[1168,4056],[1169,4056],[1170,4056],[1171,4056],[1172,4056],[1173,4056],[1174,4056],[1175,4056],[1176,4056],[1177,4056],[1178,4056],[1179,4056],[1180,4056],[1181,4056],[1182,4056],[1183,4056],[1184,4056],[1185,4056],[1186,4056],[1187,4056],[1188,4056],[1189,4056],[1190,4056],[1191,4056],[1192,4056],[1193,4056],[1194,4056],[1195,4056],[1196,4056],[1197,4056],[1198,4056],[1202,4074],[1203,4074],[1204,4076],[1206,4080],[1207,4081],[1210,4090],[1211,4091],[1212,4073],[1218,4079],[1219,4084],[1220,4073],[1221,4089],[1222,4087],[1223,4088],[1231,4091],[1232,4073],[1233,4073],[1235,4074],[1236,4087],[1237,4087],[1238,4088],[1239,4088],[1240,4078],[1241,4079],[1242,4079],[1243,4082],[1244,4082],[1245,4081],[1249,4079],[1250,4080],[1251,4079],[1252,4080],[1253,4074],[1256,4090],[1259,4080],[1260,4080],[1262,4081],[1266,4087],[1267,4078],[1269,4081],[1272,4087],[1276,4080],[1277,4073],[1278,4077],[1279,4077],[1281,4079],[1282,4076],[1285,4090],[1288,4079],[1289,4074],[1290,4074],[1291,4080],[1294,4078],[1295,4079],[1296,4079],[1297,4080],[1298,4080],[1299,4080],[1301,4087],[1302,4074],[1303,4087],[1304,4087],[1305,4087],[1306,4087],[1307,4087],[1308,4079],[1309,4090],[1313,4087],[1314,4073],[1315,4087],[1316,4096],[1319,4090],[1321,4074],[1322,4088],[1323,4075],[1324,4090],[1326,4088],[1327,4088],[1328,4092],[1330,4073],[1331,4074],[1332,4087],[1333,4076],[1335,4073],[1337,4090],[1338,4078],[1340,4080],[1342,4074],[1343,4081],[1344,4077],[1345,4073],[1346,4074],[1347,4088],[1348,4086],[1350,4087],[1351,4087],[1352,4088],[1353,4088],[1354,4074],[1355,4087],[1356,4087],[1357,4087],[1358,4087],[1359,4088],[1360,4088],[1361,4077],[1362,4078],[1363,4078],[1364,4078],[1365,4078],[1366,4086],[1367,4079],[1368,4079],[1369,4079],[1370,4089],[1371,4090],[1372,4073],[1373,4076],[1374,4076],[1375,4075],[1376,4091],[1377,4091],[1380,4092],[1381,4080],[1382,4080],[1393,4076],[1394,4078],[1395,4076],[1396,4078],[1398,4079],[1399,4080],[1400,4081],[1401,4076],[1405,4074],[1406,4074],[1407,4074],[1408,4074],[1409,4074],[1410,4074],[1411,4074],[1412,4096],[1413,4087],[1414,4087],[1415,4087],[1416,4087],[1417,4087],[1418,4088],[1419,4088],[1420,4088],[1421,4076],[1422,4077],[1423,4084],[1424,4078],[1425,4078],[1426,4078],[1427,4078],[1428,4086],[1429,4079],[1430,4079],[1431,4079],[1432,4089],[1433,4090],[1434,4073],[1435,4076],[1436,4076],[1437,4075],[1438,4081],[1439,4081],[1440,4081],[1441,4091],[1442,4091],[1443,4080],[1446,4092],[1447,4080],[1448,4080],[1466,4074],[1467,4096],[1468,4087],[1469,4087],[1470,4087],[1471,4087],[1472,4088],[1473,4088],[1474,4089],[1475,4073],[1476,4080],[1484,4080],[1494,4076],[1495,4078],[1496,4074],[1497,4074],[1498,4074],[1499,4074],[1500,4074],[1501,4074],[1502,4074],[1503,4096],[1504,4087],[1505,4087],[1506,4087],[1507,4087],[1508,4087],[1509,4088],[1510,4088],[1511,4088],[1512,4076],[1513,4077],[1514,4084],[1515,4078],[1516,4078],[1517,4078],[1518,4078],[1519,4086],[1520,4079],[1521,4079],[1522,4079],[1523,4089],[1524,4090],[1525,4073],[1526,4076],[1527,4076],[1528,4075],[1529,4081],[1530,4081],[1531,4081],[1532,4091],[1533,4091],[1534,4080],[1537,4092],[1538,4080],[1539,4080],[1557,4074],[1558,4074],[1559,4074],[1560,4074],[1561,4074],[1562,4074],[1563,4074],[1564,4096],[1565,4087],[1566,4087],[1567,4087],[1568,4087],[1569,4087],[1570,4088],[1571,4088],[1572,4088],[1573,4076],[1574,4077],[1575,4084],[1576,4078],[1577,4078],[1578,4078],[1579,4078],[1580,4086],[1581,4079],[1582,4079],[1583,4079],[1584,4089],[1585,4090],[1586,4073],[1587,4076],[1588,4076],[1589,4075],[1590,4081],[1591,4081],[1592,4081],[1593,4091],[1594,4091],[1595,4080],[1598,4092],[1599,4080],[1600,4080],[1619,4082],[1621,4084],[1622,4078],[1623,4086],[1624,4080],[1631,4086],[1633,4074],[1634,4087],[1635,4087],[1636,4087],[1637,4087],[1638,4088],[1639,4088],[1640,4077],[1641,4078],[1642,4078],[1643,4078],[1644,4078],[1645,4086],[1646,4079],[1647,4079],[1648,4079],[1649,4089],[1650,4090],[1651,4073],[1652,4076],[1653,4076],[1654,4075],[1655,4091],[1656,4091],[1659,4092],[1660,4080],[1661,4080],[1667,4082],[1668,4074],[1669,4087],[1670,4087],[1671,4087],[1672,4087],[1673,4088],[1674,4088],[1675,4077],[1676,4078],[1677,4078],[1678,4078],[1679,4078],[1680,4086],[1681,4079],[1682,4079],[1683,4079],[1684,4089],[1685,4090],[1686,4073],[1687,4076],[1688,4076],[1689,4075],[1690,4091],[1691,4091],[1694,4092],[1695,4080],[1696,4080],[1702,4074],[1703,4087],[1704,4087],[1705,4087],[1706,4087],[1707,4088],[1708,4088],[1709,4077],[1710,4078],[1711,4078],[1712,4078],[1713,4078],[1714,4086],[1715,4079],[1716,4079],[1717,4079],[1718,4089],[1719,4090],[1720,4073],[1721,4076],[1722,4076],[1723,4075],[1724,4091],[1725,4091],[1728,4092],[1729,4080],[1730,4080],[1740,4077],[1741,4092],[1742,4080],[1743,4080],[1745,4077],[1746,4092],[1747,4080],[1748,4080],[1749,4074],[1750,4074],[1751,4074],[1752,4074],[1753,4074],[1754,4074],[1755,4074],[1756,4096],[1757,4087],[1758,4087],[1759,4087],[1760,4087],[1761,4087],[1762,4088],[1763,4088],[1764,4088],[1765,4076],[1766,4077],[1767,4084],[1768,4078],[1769,4078],[1770,4078],[1771,4078],[1772,4086],[1773,4079],[1774,4079],[1775,4079],[1776,4089],[1777,4090],[1778,4073],[1779,4076],[1780,4076],[1781,4075],[1782,4081],[1783,4081],[1784,4081],[1785,4091],[1786,4091],[1787,4080],[1790,4092],[1791,4080],[1792,4080],[1810,4074],[1811,4074],[1812,4074],[1813,4074],[1814,4074],[1815,4074],[1816,4074],[1817,4096],[1818,4087],[1819,4087],[1820,4087],[1821,4087],[1822,4087],[1823,4088],[1824,4088],[1825,4088],[1826,4076],[1827,4077],[1828,4084],[1829,4078],[1830,4078],[1831,4078],[1832,4078],[1833,4086],[1834,4079],[1835,4079],[1836,4079],[1837,4089],[1838,4090],[1839,4073],[1840,4076],[1841,4076],[1842,4075],[1843,4081],[1844,4081],[1845,4081],[1846,4091],[1847,4091],[1848,4080],[1851,4092],[1852,4080],[1853,4080],[1871,4074],[1872,4074],[1873,4074],[1874,4074],[1875,4074],[1876,4074],[1877,4074],[1878,4096],[1879,4087],[1880,4087],[1881,4087],[1882,4087],[1883,4087],[1884,4088],[1885,4088],[1886,4088],[1887,4076],[1888,4077],[1889,4084],[1890,4078],[1891,4078],[1892,4078],[1893,4078],[1894,4086],[1895,4079],[1896,4079],[1897,4079],[1898,4089],[1899,4090],[1900,4073],[1901,4076],[1902,4076],[1903,4075],[1904,4081],[1905,4081],[1906,4081],[1907,4091],[1908,4091],[1909,4080],[1912,4092],[1913,4080],[1914,4080],[1932,4076],[1933,4078],[1938,4078],[1940,4078],[1941,4075],[1942,4076],[1943,4078],[1944,4078],[1945,4078],[1946,4078],[1947,4076],[1948,4076],[1950,4078],[1951,4077],[1953,4092],[1954,4076],[1955,4077],[1956,4078],[1957,4078],[1958,4078],[1959,4078],[1960,4086],[1961,4079],[1962,4089],[1963,4076],[1964,4076],[1969,4074],[1970,4074],[1971,4074],[1972,4074],[1973,4074],[1974,4074],[1975,4074],[1976,4096],[1977,4087],[1978,4087],[1979,4087],[1980,4087],[1981,4087],[1982,4088],[1983,4088],[1984,4088],[1985,4076],[1986,4077],[1987,4084],[1988,4078],[1989,4078],[1990,4078],[1991,4078],[1992,4086],[1993,4079],[1994,4079],[1995,4079],[1996,4089],[1997,4090],[1998,4073],[1999,4076],[2000,4076],[2001,4075],[2002,4081],[2003,4081],[2004,4081],[2005,4091],[2006,4091],[2007,4080],[2010,4092],[2011,4080],[2012,4080],[2030,4074],[2031,4074],[2032,4074],[2033,4074],[2034,4074],[2035,4074],[2036,4074],[2037,4096],[2038,4087],[2039,4087],[2040,4087],[2041,4087],[2042,4087],[2043,4088],[2044,4088],[2045,4088],[2046,4076],[2047,4077],[2048,4084],[2049,4078],[2050,4078],[2051,4078],[2052,4078],[2053,4086],[2054,4079],[2055,4079],[2056,4079],[2057,4089],[2058,4090],[2059,4073],[2060,4076],[2061,4076],[2062,4075],[2063,4081],[2064,4081],[2065,4081],[2066,4091],[2067,4091],[2068,4080],[2071,4092],[2072,4080],[2073,4080],[2091,4080],[2098,4079],[2099,4079],[2100,4079],[2101,4090],[2102,4092],[2111,4074],[2112,4074],[2113,4074],[2114,4074],[2115,4074],[2116,4074],[2117,4074],[2118,4096],[2119,4087],[2120,4087],[2121,4087],[2122,4087],[2123,4087],[2124,4087],[2125,4088],[2126,4088],[2127,4088],[2128,4088],[2129,4076],[2130,4077],[2131,4084],[2132,4078],[2133,4078],[2134,4078],[2135,4078],[2136,4086],[2137,4079],[2138,4079],[2139,4079],[2140,4089],[2141,4090],[2142,4073],[2143,4076],[2144,4076],[2145,4075],[2146,4081],[2147,4081],[2148,4081],[2149,4091],[2150,4091],[2151,4080],[2154,4092],[2155,4080],[2156,4080],[2174,4076],[2175,4077],[2177,4092],[2178,4074],[2179,4087],[2180,4087],[2181,4087],[2182,4087],[2183,4088],[2184,4088],[2185,4077],[2186,4084],[2187,4086],[2188,4079],[2189,4079],[2190,4079],[2191,4089],[2192,4090],[2193,4073],[2194,4081],[2195,4091],[2196,4091],[2199,4092],[2200,4080],[2201,4080],[2204,4074],[2205,4074],[2206,4074],[2207,4087],[2208,4087],[2209,4087],[2210,4087],[2211,4087],[2212,4087],[2213,4087],[2214,4087],[2215,4087],[2216,4087],[2217,4087],[2218,4087],[2219,4088],[2220,4088],[2221,4088],[2222,4088],[2223,4088],[2224,4088],[2225,4077],[2226,4077],[2227,4077],[2228,4084],[2229,4084],[2230,4084],[2231,4086],[2232,4086],[2233,4086],[2234,4079],[2235,4079],[2236,4079],[2237,4079],[2238,4079],[2239,4079],[2240,4079],[2241,4079],[2242,4079],[2243,4089],[2244,4089],[2245,4089],[2246,4090],[2247,4090],[2248,4090],[2249,4073],[2250,4073],[2251,4073],[2252,4081],[2253,4081],[2254,4081],[2255,4091],[2256,4091],[2257,4091],[2258,4091],[2259,4091],[2260,4091],[2267,4092],[2268,4092],[2269,4092],[2270,4080],[2271,4080],[2272,4080],[2273,4080],[2274,4080],[2275,4080],[2282,4091],[2283,4091],[2285,4088],[2286,4074],[2287,4074],[2288,4074],[2289,4096],[2290,4096],[2291,4087],[2292,4087],[2293,4087],[2294,4087],[2295,4087],[2296,4087],[2297,4087],[2298,4087],[2299,4087],[2300,4088],[2301,4088],[2302,4088],[2303,4088],[2304,4088],[2305,4076],[2306,4077],[2307,4077],[2308,4084],[2309,4078],[2310,4078],[2311,4078],[2312,4078],[2313,4086],[2314,4079],[2315,4079],[2316,4079],[2317,4079],[2318,4079],[2319,4089],[2320,4089],[2321,4090],[2322,4090],[2323,4073],[2324,4073],[2325,4076],[2326,4076],[2327,4075],[2328,4081],[2329,4081],[2330,4081],[2331,4091],[2332,4091],[2333,4091],[2334,4091],[2335,4080],[2336,4080],[2341,4092],[2342,4092],[2343,4080],[2344,4080],[2345,4080],[2371,4078],[2372,4078],[2373,4091],[2374,4074],[2375,4074],[2376,4074],[2377,4074],[2378,4074],[2379,4074],[2380,4074],[2381,4074],[2382,4096],[2383,4087],[2384,4087],[2385,4087],[2386,4087],[2387,4087],[2388,4087],[2389,4087],[2390,4087],[2391,4087],[2392,4087],[2393,4087],[2394,4088],[2395,4088],[2396,4088],[2397,4088],[2398,4088],[2399,4088],[2400,4088],[2401,4076],[2402,4077],[2403,4077],[2404,4077],[2405,4077],[2406,4077],[2407,4077],[2408,4084],[2409,4078],[2410,4078],[2411,4078],[2412,4078],[2413,4086],[2414,4079],[2415,4079],[2416,4079],[2417,4089],[2418,4090],[2419,4073],[2420,4073],[2421,4073],[2422,4076],[2423,4076],[2424,4075],[2425,4081],[2426,4081],[2427,4081],[2428,4081],[2429,4091],[2430,4091],[2431,4091],[2432,4080],[2438,4092],[2439,4092],[2440,4080],[2441,4080],[2463,4074],[2464,4087],[2465,4087],[2466,4087],[2467,4087],[2468,4088],[2469,4088],[2470,4077],[2471,4078],[2472,4078],[2473,4078],[2474,4078],[2475,4086],[2476,4079],[2477,4079],[2478,4079],[2479,4089],[2480,4090],[2481,4073],[2482,4076],[2483,4076],[2484,4075],[2485,4091],[2486,4091],[2489,4092],[2490,4080],[2491,4080],[2497,4077],[2498,4077],[2499,4077],[2502,4078],[2503,4077],[2504,4090],[2505,4092],[2506,4080],[2507,4080],[2509,4087],[2510,4088],[2512,4078],[2513,4074],[2514,4096],[2515,4087],[2516,4087],[2517,4087],[2518,4087],[2519,4088],[2520,4088],[2521,4089],[2522,4073],[2523,4080],[2531,4075],[2532,4075],[2533,4092],[2534,4074],[2535,4074],[2536,4074],[2537,4074],[2538,4074],[2539,4074],[2540,4074],[2541,4096],[2542,4087],[2543,4087],[2544,4087],[2545,4087],[2546,4087],[2547,4088],[2548,4088],[2549,4088],[2550,4076],[2551,4077],[2552,4084],[2553,4078],[2554,4078],[2555,4078],[2556,4078],[2557,4086],[2558,4079],[2559,4079],[2560,4079],[2561,4089],[2562,4090],[2563,4073],[2564,4076],[2565,4076],[2566,4075],[2567,4081],[2568,4081],[2569,4081],[2570,4091],[2571,4091],[2572,4080],[2575,4092],[2576,4080],[2577,4080],[2596,4076],[2597,4076],[2598,4082],[2599,4092],[2601,4076],[2602,4074],[2603,4074],[2604,4074],[2605,4074],[2606,4074],[2607,4074],[2608,4074],[2609,4096],[2610,4087],[2611,4087],[2612,4087],[2613,4087],[2614,4087],[2615,4088],[2616,4088],[2617,4088],[2618,4076],[2619,4077],[2620,4084],[2621,4078],[2622,4078],[2623,4078],[2624,4078],[2625,4086],[2626,4079],[2627,4079],[2628,4079],[2629,4089],[2630,4090],[2631,4073],[2632,4076],[2633,4076],[2634,4075],[2635,4081],[2636,4081],[2637,4081],[2638,4091],[2639,4091],[2640,4080],[2643,4092],[2644,4080],[2645,4080],[2664,4082],[2665,4074],[2666,4074],[2667,4074],[2668,4074],[2669,4074],[2675,4096],[2676,4077],[2677,4078],[2678,4087],[2679,4074],[2681,4076],[2683,4079],[2684,4079],[2685,4079],[2687,4079],[2689,4078],[2690,4078],[2691,4078],[2692,4076],[2693,4076],[2694,4076],[2695,4078],[2697,4076],[2698,4075],[2699,4078],[2700,4078],[2701,4078],[2704,4075],[2705,4076],[2706,4076],[2707,4076],[2709,4074],[2710,4075],[2711,4092],[2713,4078],[2714,4078],[2717,4078],[2718,4084],[2719,4082],[2720,4082],[2721,4082],[2722,4082],[2723,4082],[2724,4081],[2727,4074],[2728,4074],[2729,4074],[2730,4074],[2731,4074],[2732,4074],[2733,4074],[2734,4096],[2735,4087],[2736,4087],[2737,4087],[2738,4087],[2739,4087],[2740,4088],[2741,4088],[2742,4088],[2743,4076],[2744,4077],[2745,4084],[2746,4078],[2747,4078],[2748,4078],[2749,4078],[2750,4086],[2751,4079],[2752,4079],[2753,4079],[2754,4089],[2755,4090],[2756,4073],[2757,4076],[2758,4076],[2759,4075],[2760,4081],[2761,4081],[2762,4081],[2763,4091],[2764,4091],[2765,4080],[2768,4092],[2769,4080],[2770,4080],[2788,4076],[2789,4077],[2790,4092],[2791,4080],[2792,4080],[2793,4078],[2794,4078],[2795,4078],[2798,4076],[2799,4078],[2800,4074],[2801,4074],[2802,4074],[2803,4074],[2804,4074],[2809,4088],[2810,4087],[2811,4087],[2812,4088],[2813,4088],[2814,4088],[2815,4075],[2816,4075],[2817,4088],[2820,4087],[2821,4087],[2822,4087],[2824,4087],[2825,4087],[2826,4091],[2827,4091],[2829,4076],[2830,4076],[2831,4087],[2838,4076],[2839,4088],[2840,4078],[2841,4078],[2844,4075],[2846,4078],[2847,4077],[2848,4081],[2852,4076],[2853,4076],[2854,4076],[2855,4078],[2856,4078],[2857,4079],[2858,4079],[2859,4079],[2860,4090],[2864,4088],[2867,4074],[2868,4087],[2869,4087],[2870,4087],[2871,4087],[2872,4088],[2873,4088],[2874,4073],[2875,4080],[2882,4079],[2886,4087],[2887,4078],[2888,4088],[2889,4078],[2890,4078],[2891,4076],[2892,4078],[2893,4078],[2894,4075],[2895,4076],[2896,4074],[2897,4087],[2898,4087],[2899,4087],[2900,4087],[2901,4088],[2902,4088],[2903,4077],[2904,4078],[2905,4078],[2906,4078],[2907,4078],[2908,4086],[2909,4079],[2910,4079],[2911,4079],[2912,4089],[2913,4090],[2914,4073],[2915,4076],[2916,4076],[2917,4075],[2918,4091],[2919,4091],[2922,4092],[2923,4080],[2924,4080],[2930,4074],[2931,4096],[2932,4087],[2933,4087],[2934,4087],[2935,4087],[2936,4088],[2937,4088],[2938,4077],[2939,4079],[2940,4079],[2941,4089],[2942,4090],[2943,4073],[2944,4091],[2945,4091],[2946,4080],[2949,4092],[2950,4080],[2957,4075],[2958,4075],[2959,4075],[2961,4074],[2962,4074],[2963,4074],[2964,4074],[2965,4074],[2966,4074],[2967,4074],[2968,4096],[2969,4087],[2970,4087],[2971,4087],[2972,4087],[2973,4087],[2974,4088],[2975,4088],[2976,4088],[2977,4076],[2978,4077],[2979,4077],[2980,4077],[2981,4077],[2982,4084],[2983,4078],[2984,4078],[2985,4078],[2986,4078],[2987,4086],[2988,4079],[2989,4079],[2990,4079],[2991,4089],[2992,4090],[2993,4073],[2994,4076],[2995,4076],[2996,4075],[2997,4081],[2998,4081],[2999,4081],[3000,4091],[3001,4091],[3002,4080],[3005,4092],[3006,4080],[3007,4080],[3025,4074],[3026,4074],[3027,4074],[3028,4074],[3029,4074],[3030,4074],[3031,4074],[3032,4096],[3033,4087],[3034,4087],[3035,4087],[3036,4087],[3037,4087],[3038,4088],[3039,4088],[3040,4088],[3041,4076],[3042,4077],[3043,4084],[3044,4078],[3045,4078],[3046,4078],[3047,4078],[3048,4086],[3049,4079],[3050,4079],[3051,4079],[3052,4089],[3053,4090],[3054,4073],[3055,4076],[3056,4076],[3057,4075],[3058,4081],[3059,4081],[3060,4081],[3061,4091],[3062,4091],[3063,4080],[3066,4092],[3067,4080],[3068,4080],[3086,4074],[3087,4074],[3088,4074],[3089,4074],[3090,4074],[3093,4074],[3094,4096],[3095,4087],[3096,4087],[3097,4087],[3098,4087],[3099,4088],[3100,4088],[3101,4077],[3102,4079],[3103,4079],[3104,4089],[3105,4090],[3106,4073],[3107,4091],[3108,4091],[3109,4080],[3112,4092],[3113,4080],[3120,4080],[3121,4074],[3122,4074],[3123,4074],[3124,4074],[3125,4074],[3126,4074],[3127,4074],[3128,4096],[3129,4087],[3130,4087],[3131,4087],[3132,4087],[3133,4087],[3134,4088],[3135,4088],[3136,4088],[3137,4076],[3138,4077],[3139,4084],[3140,4078],[3141,4078],[3142,4078],[3143,4078],[3144,4086],[3145,4079],[3146,4079],[3147,4079],[3148,4089],[3149,4090],[3150,4073],[3151,4076],[3152,4076],[3153,4075],[3154,4081],[3155,4081],[3156,4081],[3157,4091],[3158,4091],[3159,4080],[3162,4092],[3163,4080],[3164,4080],[3182,4078],[3183,4078],[3184,4076],[3186,4075],[3187,4075],[3188,4074],[3189,4074],[3190,4074],[3191,4074],[3192,4074],[3193,4074],[3194,4074],[3195,4096],[3196,4087],[3197,4087],[3198,4087],[3199,4087],[3200,4087],[3201,4088],[3202,4088],[3203,4088],[3204,4076],[3205,4077],[3206,4084],[3207,4078],[3208,4078],[3209,4078],[3210,4078],[3211,4086],[3212,4079],[3213,4079],[3214,4079],[3215,4089],[3216,4090],[3217,4073],[3218,4076],[3219,4076],[3220,4075],[3221,4081],[3222,4081],[3223,4081],[3224,4091],[3225,4091],[3226,4080],[3229,4092],[3230,4080],[3231,4080],[3249,4082],[3251,4075],[3252,4075],[3254,4088],[3255,4088],[3256,4088],[3257,4088],[3258,4088],[3487,4113],[3488,4117],[3489,4112],[3490,4113],[3491,4113],[3492,4113],[3493,4115],[3494,4114],[3495,4114],[3496,4113],[3497,4114],[3498,4114],[3499,4115],[3500,4112],[3501,4117],[3502,4113],[3503,4114],[3504,4114],[3505,4115],[3506,4112],[3507,4117],[3508,4112],[3509,4117],[3510,4113],[3511,4114],[3512,4114],[3513,4115],[3514,4112],[3515,4117],[3516,4113],[3517,4114],[3518,4114],[3519,4115],[3520,4112],[3521,4114],[3522,4115],[3523,4113],[3524,4114],[3525,4114],[3526,4115],[3527,4112],[3528,4113],[3529,4114],[3530,4114],[3531,4115],[3532,4112],[3533,4113],[3534,4114],[3535,4114],[3536,4115],[3537,4112],[3538,4113],[3539,4113],[3540,4117],[3541,4113],[3542,4114],[3543,4114],[3544,4115],[3545,4112],[3546,4117],[3547,4113],[3548,4114],[3549,4114],[3550,4115],[3551,4112],[3552,4117],[3553,4113],[3554,4114],[3555,4114],[3556,4115],[3557,4112],[3558,4117],[3559,4114],[3560,4114],[3561,4112],[3562,4117],[3563,4113],[3564,4114],[3565,4114],[3566,4115],[3567,4112],[3568,4117],[3569,4113],[3570,4114],[3571,4114],[3572,4115],[3573,4112],[3574,4117],[3575,4114],[3576,4114],[3577,4112],[3578,4117],[3579,4113],[3580,4114],[3581,4114],[3582,4115],[3583,4112],[3584,4115],[3585,4113],[3586,4114],[3587,4114],[3588,4113],[3589,4113],[3590,4113],[3591,4114],[3592,4114],[3593,4114],[3594,4114],[3595,4114],[3596,4114],[3597,4117],[3598,4117],[3599,4117],[3600,4113],[3601,4113],[3602,4114],[3603,4114],[3604,4114],[3605,4115],[3606,4112],[3607,4117],[3608,4113],[3609,4114],[3610,4114],[3611,4115],[3612,4112],[3613,4113],[3614,4114],[3615,4114],[3616,4115],[3617,4112],[3618,4114],[3619,4114],[3620,4114],[3621,4112],[3622,4117],[3623,4113],[3624,4114],[3625,4114],[3626,4115],[3627,4112],[3628,4112],[3629,4117],[3630,4113],[3631,4114],[3632,4114],[3633,4115],[3634,4112],[3635,4115],[3636,4115],[3637,4114],[3638,4114],[3639,4114],[3640,4114],[3641,4117],[3642,4117],[3643,4113],[3644,4114],[3645,4114],[3646,4115],[3647,4112],[3648,4113],[3649,4114],[3650,4112],[3651,4114],[3652,4117],[3653,4117],[3654,4117],[3655,4114],[3656,4114],[3657,4113],[3658,4114],[3659,4114],[3660,4115],[3661,4112],[3662,4113],[3663,4114],[3664,4117],[3665,4113],[3666,4114],[3667,4114],[3668,4115],[3669,4112],[3670,4117],[3671,4113],[3672,4114],[3673,4114],[3674,4115],[3675,4112],[3676,4113],[3677,4114],[3678,4117],[3679,4113],[3680,4114],[3681,4114],[3682,4115],[3683,4112],[3684,4114],[3685,4114],[3686,4117],[3687,4113],[3688,4114],[3689,4114],[3690,4115],[3691,4112],[3692,4036],[3693,4036],[3694,4036],[3695,4036],[3696,4036],[3697,4036],[3698,4036],[3699,4036],[3700,4036],[3701,4036],[3702,4036],[3703,4036],[3704,4036],[3705,4036],[3706,4036],[3707,4036],[3708,4036],[3709,4036],[3710,4036],[3711,4036],[3712,4036],[3713,4036],[3714,4036],[3715,4036],[3716,4036],[3717,4036],[3718,4036],[3719,4036],[3720,4036],[3721,4036],[3722,4036],[3723,4036],[3724,4036],[3725,4036],[3726,4036],[3727,4036],[3728,4036],[3729,4036],[3730,4036],[3731,4036],[3732,4036],[3733,4036],[3734,4036],[3735,4036],[3736,4036],[3737,4036],[3738,4036],[3739,4036],[3740,4036],[3741,4036],[3742,4036],[3743,4036],[3744,4036],[3745,4036],[3746,4036],[3747,4036],[3748,4036],[3749,4036],[3750,4036],[3751,4036],[3752,4036],[3753,4036],[3754,4036],[3755,4036],[3756,4036],[3757,4036],[3758,4036],[3759,4036],[3760,4036],[3761,4036],[3762,4036],[3763,4036],[3764,4036],[3765,4036],[3766,4036],[3767,4036],[3768,4036],[3769,4036],[3770,4036],[3771,4036],[3772,4036],[3773,4036],[3774,4036],[3775,4036],[3776,4036],[3777,4036],[3778,4036],[3779,4036],[3780,4036],[3781,4036],[3782,4036],[3783,4036],[3784,4036],[3785,4036],[3786,4036],[3787,4036],[3788,4036],[3789,4036],[3790,4036],[3791,4036],[3792,4036],[3793,4036],[3794,4036],[3795,4036],[3796,4036],[3797,4036],[3967,4122],[3969,4122],[3971,4122],[3973,4122],[3975,4122],[3977,4122],[3979,4122],[3981,4122],[3983,4122],[3984,4122],[3985,4122],[3987,4122],[3989,4122],[3991,4122],[3993,4122],[3995,4122],[3996,4122],[3997,4122],[3998,4122],[4000,4122],[4001,4122],[4002,4122],[4005,4122],[4007,4122],[4009,4122],[4011,4122],[4013,4122]],"b":[[167,"impl-Debug-for-PublicKey"],[168,"impl-Display-for-PublicKey"],[169,"impl-Debug-for-KeyParsingError"],[170,"impl-Display-for-KeyParsingError"],[173,"impl-Debug-for-RelayUrl"],[174,"impl-Display-for-RelayUrl"],[175,"impl-Display-for-RelayUrlParseError"],[176,"impl-Debug-for-RelayUrlParseError"],[177,"impl-Display-for-RelayMap"],[178,"impl-Debug-for-RelayMap"],[179,"impl-Display-for-RelayNode"],[180,"impl-Debug-for-RelayNode"],[184,"impl-From%3CDecodeError%3E-for-KeyParsingError"],[185,"impl-From%3CError%3E-for-KeyParsingError"],[187,"impl-From%3CSigningKey%3E-for-SecretKey"],[189,"impl-From%3C%5Bu8;+32%5D%3E-for-SecretKey"],[191,"impl-From%3CNodeInfo%3E-for-NodeAddr"],[192,"impl-From%3CPublicKey%3E-for-NodeAddr"],[193,"impl-From%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[194,"impl-From%3CNodeTicket%3E-for-NodeAddr"],[198,"impl-From%3CRelayNode%3E-for-RelayMap"],[199,"impl-From%3CRelayUrl%3E-for-RelayMap"],[205,"impl-FromIterator%3CRelayNode%3E-for-RelayMap"],[206,"impl-FromIterator%3CRelayUrl%3E-for-RelayMap"],[301,"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey"],[302,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey"],[541,"impl-Debug-for-UserData"],[542,"impl-Display-for-UserData"],[544,"impl-Display-for-ParseError"],[545,"impl-Debug-for-ParseError"],[547,"impl-Debug-for-IntoDiscoveryError"],[548,"impl-Display-for-IntoDiscoveryError"],[549,"impl-Debug-for-DiscoveryError"],[550,"impl-Display-for-DiscoveryError"],[556,"impl-From%3CNodeAddr%3E-for-NodeInfo"],[557,"impl-From%3C%26TxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[558,"impl-From%3CDiscoveryItem%3E-for-NodeInfo"],[560,"impl-From%3CTxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[968,"impl-Debug-for-PkarrError"],[969,"impl-Display-for-PkarrError"],[2287,"impl-Display-for-SendDatagramError"],[2288,"impl-Debug-for-SendDatagramError"],[2289,"impl-Debug-for-RetryError"],[2290,"impl-Display-for-RetryError"],[2292,"impl-Display-for-ReadToEndError"],[2293,"impl-Debug-for-ReadToEndError"],[2294,"impl-Debug-for-ReadError"],[2295,"impl-Display-for-ReadError"],[2296,"impl-Debug-for-ResetError"],[2297,"impl-Display-for-ResetError"],[2298,"impl-Debug-for-ReadExactError"],[2299,"impl-Display-for-ReadExactError"],[2301,"impl-Debug-for-WriteError"],[2302,"impl-Display-for-WriteError"],[2303,"impl-Debug-for-StoppedError"],[2304,"impl-Display-for-StoppedError"],[2306,"impl-Debug-for-VarInt"],[2307,"impl-Display-for-VarInt"],[2314,"impl-Debug-for-ControlMsg"],[2315,"impl-Display-for-ControlMsg"],[2317,"impl-Debug-for-ConnectionType"],[2318,"impl-Display-for-ConnectionType"],[2319,"impl-Debug-for-ClosedStream"],[2320,"impl-Display-for-ClosedStream"],[2321,"impl-Display-for-Source"],[2322,"impl-Debug-for-Source"],[2323,"impl-Display-for-ConnectionError"],[2324,"impl-Debug-for-ConnectionError"],[2331,"impl-Debug-for-ConnectionClose"],[2332,"impl-Display-for-ConnectionClose"],[2333,"impl-Debug-for-ApplicationClose"],[2334,"impl-Display-for-ApplicationClose"],[2335,"impl-Display-for-AddNodeAddrError"],[2336,"impl-Debug-for-AddNodeAddrError"],[2337,"impl-Display-for-TransportError"],[2338,"impl-Debug-for-TransportError"],[2339,"impl-Debug-for-TransportErrorCode"],[2340,"impl-Display-for-TransportErrorCode"],[2341,"impl-Display-for-StreamId"],[2342,"impl-Debug-for-StreamId"],[2344,"impl-Debug-for-DirectAddrType"],[2345,"impl-Display-for-DirectAddrType"],[2349,"impl-Display-for-ConnectWithOptsError"],[2350,"impl-Debug-for-ConnectWithOptsError"],[2351,"impl-Display-for-ConnectError"],[2352,"impl-Debug-for-ConnectError"],[2353,"impl-Debug-for-BindError"],[2354,"impl-Display-for-BindError"],[2355,"impl-Display-for-GetMappingAddressError"],[2356,"impl-Debug-for-GetMappingAddressError"],[2362,"impl-Display-for-AlpnError"],[2363,"impl-Debug-for-AlpnError"],[2366,"impl-Debug-for-RemoteNodeIdError"],[2367,"impl-Display-for-RemoteNodeIdError"],[2386,"impl-From%3CConnectionError%3E-for-ReadError"],[2387,"impl-From%3CReadableError%3E-for-ReadError"],[2389,"impl-From%3CResetError%3E-for-ReadError"],[2395,"impl-From%3CConnectionError%3E-for-WriteError"],[2396,"impl-From%3CClosedStream%3E-for-WriteError"],[2397,"impl-From%3CStoppedError%3E-for-WriteError"],[2402,"impl-From%3Cu8%3E-for-VarInt"],[2403,"impl-From%3CStreamId%3E-for-VarInt"],[2404,"impl-From%3CFrameType%3E-for-VarInt"],[2405,"impl-From%3Cu32%3E-for-VarInt"],[2406,"impl-From%3Cu16%3E-for-VarInt"],[2420,"impl-From%3CTransportError%3E-for-ConnectionError"],[2421,"impl-From%3CClose%3E-for-ConnectionError"],[2433,"impl-From%3CError%3E-for-TransportError"],[2434,"impl-From%3CTransportErrorCode%3E-for-TransportError"],[2436,"impl-From%3CInvalidFrame%3E-for-TransportError"],[2447,"impl-From%3CConnectionError%3E-for-ConnectError"],[2448,"impl-From%3CConnectWithOptsError%3E-for-ConnectError"],[2810,"impl-AsyncRead-for-RecvStream"],[2811,"impl-RecvStream"],[2813,"impl-SendStream"],[2814,"impl-AsyncWrite-for-SendStream"],[2978,"impl-TryFrom%3Cu128%3E-for-VarInt"],[2979,"impl-TryFrom%3Cu64%3E-for-VarInt"],[2980,"impl-TryFrom%3Cusize%3E-for-VarInt"],[3600,"impl-Debug-for-Probe"],[3601,"impl-Display-for-Probe"],[3602,"impl-Display-for-Report"],[3603,"impl-Debug-for-Report"],[3752,"impl-Display-for-EncodingError"],[3753,"impl-Debug-for-EncodingError"],[3754,"impl-Display-for-DecodingError"],[3755,"impl-Debug-for-DecodingError"],[3756,"impl-Display-for-MaxLengthExceededError"],[3757,"impl-Debug-for-MaxLengthExceededError"],[3899,"impl-Debug-for-AcceptError"],[3900,"impl-Display-for-AcceptError"],[3905,"impl-From%3CBox%3Cdyn+Error+%2B+Send+%2B+Sync%3E%3E-for-AcceptError"],[3906,"impl-From%3CConnectionError%3E-for-AcceptError"],[3907,"impl-From%3CRemoteNodeIdError%3E-for-AcceptError"],[3908,"impl-From%3CClosedStream%3E-for-AcceptError"],[3909,"impl-From%3CError%3E-for-AcceptError"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAANkL7wADAAAACwAAABIADQAhAEkAbQAYAIoABwCUACEAuAACALwAAAC+AAAAwAACAMQAAADHAAAAywAAAM4AAADRAAkA3gAMAAABCwAUAQQAGgEBACABHwBGAQcAUgEHAFwBBw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fADoPBABCDwQASQ8GAFkPBQBiDwIAZg8KAHIPDACBDw8Akw8DAJkPAQCgDwEApw8HAA==","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"],[167,""],[182,"T"],[183,""],[186,"T"],[187,""],[188,"T"],[189,""],[190,"T"],[191,""],[196,"T"],[198,""],[200,"T"],[202,""],[205,"T"],[207,""],[208,"T"],[214,""],[218,"R"],[219,"Watcher::Value"],[220,""],[221,"H"],[222,"__H"],[224,""],[234,"Watcher::Value,T,W"],[235,"U"],[243,"Watcher::Value"],[244,""],[247,"Watcher::Value,T,"],[250,""],[254,"Watcher::Value,W"],[255,"B,E,P,T"],[263,""],[267,"Watcher::Value"],[269,""],[275,"S"],[277,"__S"],[280,""],[283,"Watcher::Value"],[286,""],[287,"T"],[293,""],[300,"U,T"],[301,""],[303,"U,T"],[305,""],[306,"U,T"],[311,"U"],[319,""],[333,"Watcher::Value"],[334,""],[337,"V"],[345,""],[346,""],[400,""],[402,"B,E,P,T"],[411,""],[418,"T"],[436,""],[445,"T"],[450,""],[456,"K"],[457,"T"],[484,""],[487,"T"],[489,""],[490,"T"],[495,"Deref::Target"],[496,"T"],[501,""],[502,"T"],[508,""],[528,"K"],[540,""],[554,"T"],[556,""],[559,"T"],[560,""],[562,"T"],[565,""],[566,"T"],[572,""],[576,"T"],[581,""],[583,""],[584,"__H"],[585,""],[597,"U"],[606,""],[621,"B,E,P,T"],[630,""],[647,"T"],[652,""],[658,"U,T"],[659,""],[660,"U,T"],[668,"U"],[677,""],[692,"V"],[701,""],[742,"B,E,P,T"],[744,"T"],[748,""],[750,"T"],[760,""],[765,"T"],[767,""],[769,"U"],[771,""],[774,"B,E,P,T"],[776,""],[777,"U,T"],[779,"U"],[781,""],[783,"V"],[790,""],[794,"B,E,P,T"],[797,"T"],[803,""],[807,"T"],[809,""],[811,"T"],[820,""],[821,"T"],[827,""],[831,"K"],[834,""],[837,"T"],[842,""],[845,"U"],[848,""],[850,"B,E,P,T"],[853,""],[855,""],[856,""],[857,"T"],[859,"U,T"],[862,"U"],[865,""],[868,"V"],[871,""],[894,"B,E,P,T"],[900,""],[902,"T"],[914,""],[922,"T"],[925,""],[928,"T"],[958,""],[975,"T"],[984,""],[991,"U"],[997,""],[1004,"B,E,P,T"],[1010,""],[1016,"T"],[1019,""],[1020,"U,T"],[1026,"U"],[1032,""],[1041,"V"],[1047,""],[1058,"B,E,P,T"],[1060,"T"],[1064,""],[1068,"T"],[1069,""],[1070,"T"],[1076,""],[1078,"T"],[1082,""],[1087,"T"],[1090,""],[1093,"U"],[1095,""],[1099,"B,E,P,T"],[1101,""],[1106,"T"],[1107,"U,T"],[1109,"U"],[1111,""],[1114,"V"],[1118,""],[1119,""],[1120,"B,E,P,T"],[1121,"T"],[1123,""],[1124,"T"],[1125,""],[1126,"T"],[1129,""],[1130,"T"],[1132,""],[1134,"T"],[1135,","],[1136,"T"],[1137,""],[1139,"U"],[1140,""],[1142,"B,E,P,T"],[1143,""],[1146,""],[1147,"T"],[1148,"U,T"],[1149,"U"],[1150,""],[1151,"V"],[1153,""],[1156,"B,E,P,T"],[1157,"T"],[1159,""],[1162,"T"],[1163,""],[1164,"T"],[1167,""],[1168,""],[1169,"T"],[1171,""],[1173,"T"],[1175,""],[1176,"U"],[1177,"T"],[1179,""],[1181,"T"],[1182,""],[1183,""],[1187,"T"],[1188,""],[1189,"B,E,P,T"],[1190,""],[1193,"T"],[1194,"U,T"],[1195,"U"],[1196,""],[1197,"V"],[1198,""],[1397,""],[1398,""],[1405,"B,E,P,T"],[1466,""],[1496,"T"],[1618,""],[1668,"T"],[1702,""],[1745,"K"],[1749,"T"],[1932,""],[1936,""],[1938,""],[1951,"B"],[1954,""],[1969,"T"],[2091,""],[2098,"__D"],[2102,""],[2104,""],[2105,""],[2175,"B"],[2178,""],[2204,"K"],[2282,""],[2374,"T"],[2380,""],[2381,"T"],[2384,""],[2385,"T"],[2386,""],[2388,"T"],[2389,""],[2391,"T"],[2392,""],[2393,"T"],[2395,""],[2398,"T"],[2399,""],[2400,"T"],[2402,""],[2407,"T"],[2420,""],[2422,"T"],[2426,""],[2427,"T"],[2430,""],[2431,"T"],[2433,""],[2435,"T"],[2436,""],[2437,"T"],[2438,""],[2439,"T"],[2445,""],[2446,"T"],[2447,""],[2449,"T"],[2458,""],[2459,"T"],[2497,""],[2503,"__H"],[2508,""],[2602,"U"],[2663,""],[2671,"IntoFuture::IntoFuture"],[2672,""],[2727,"B,E,P,T"],[2788,""],[2805,"Future::Output"],[2809,""],[2847,""],[2848,""],[2857,"__S"],[2861,""],[2896,"T"],[2930,""],[2961,"U,T"],[2978,""],[2981,"U,T"],[3025,"U"],[3086,"F"],[3093,""],[3188,"V"],[3249,""],[3317,"B,E,P,T"],[3321,""],[3324,"T"],[3332,""],[3336,"T"],[3337,""],[3338,"T"],[3350,""],[3357,"T"],[3365,"__D"],[3368,""],[3387,"T"],[3392,""],[3399,"U"],[3403,""],[3418,"B,E,P,T"],[3422,""],[3460,"__S"],[3463,"T"],[3464,"U,T"],[3468,"U"],[3472,""],[3483,"V"],[3496,""],[3501,"B,E,P,T"],[3507,""],[3509,"T"],[3521,""],[3528,"T"],[3533,""],[3539,"K"],[3540,"T"],[3558,""],[3562,"T"],[3574,"__D"],[3577,""],[3588,"K"],[3597,""],[3607,"T"],[3618,""],[3629,"U"],[3635,""],[3642,"B,E,P,T"],[3648,""],[3654,"__S"],[3657,"T"],[3662,""],[3664,"U,T"],[3670,"U"],[3676,""],[3686,"V"],[3697,""],[3712,"B,E,P,T"],[3715,""],[3721,"T"],[3727,""],[3730,"T"],[3739,""],[3740,"T"],[3746,""],[3758,"T"],[3759,""],[3760,"T"],[3762,""],[3769,"U"],[3772,""],[3773,"B,E,P,T"],[3776,""],[3783,"U,T"],[3786,"U"],[3789,""],[3795,"V"],[3798,""],[3845,","],[3846,""],[3847,"P"],[3848,"B,E,P,T"],[3852,""],[3854,"T"],[3862,""],[3865,"P"],[3866,"T"],[3868,""],[3870,"T"],[3890,""],[3901,"P"],[3902,"T"],[3905,""],[3910,"T"],[3914,""],[3919,"U"],[3923,""],[3925,"P,F"],[3926,""],[3928,"P"],[3929,""],[3930,"B,E,P,T"],[3934,""],[3938,"P"],[3939,""],[3941,"T"],[3943,""],[3944,"U,T"],[3948,"U"],[3952,""],[3957,"V"],[3961,""],[3968,"B,E,P,T"],[3970,"T"],[3984,""],[3990,"T"],[3992,""],[3994,"U"],[3996,""],[3999,"B,E,P,T"],[4001,""],[4006,"U,T"],[4008,"U"],[4010,""],[4012,"V"]]}],["iroh_base",{"t":"TPPPGTFIFFFFFINNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNONNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOPTPFGPKPNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNMNNNNNNNNNNNNOOOOOOOOOOOO","n":["BYTE_SIZE","Decode","DecodeInvalidLength","Key","KeyParsingError","LENGTH","NodeAddr","NodeId","PublicKey","RelayUrl","RelayUrlParseError","SecretKey","Signature","SignatureError","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_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"],[191,"iroh_base::KeyParsingError"],[199,"iroh_base::ticket"],[254,"iroh_base::ticket::ParseError"],[266,"iroh_base::key"],[267,"core::error"],[268,"backtrace::capture"],[269,"core::option"],[270,"iroh_base::relay_url"],[271,"ed25519"],[272,"iroh_base::node_addr"],[273,"core::cmp"],[274,"core::result"],[275,"serde::de"],[276,"core::net::socket_addr"],[277,"core::iter::traits::iterator"],[278,"alloc::collections::btree::set"],[279,"core::fmt"],[280,"ed25519_dalek::signature"],[281,"ed25519_dalek::verifying"],[282,"ed25519_dalek::errors"],[283,"data_encoding"],[284,"ed25519_dalek::signing"],[285,"iroh_base::ticket::node"],[286,"url"],[287,"core::iter::traits::collect"],[288,"signature::error"],[289,"rand_core"],[290,"core::hash"],[291,"serde::ser"],[292,"alloc::string"],[293,"alloc::vec"],[294,"core::any"],[295,"n0_snafu::spantrace"],[296,"postcard::error"]],"i":"Ahn00`b````````01Ad1203112AjAlAn3645210353642106421064210410405364210116410666644552100334666644555222111100364261664202410536452103111410426116264210253`662642106450366644452210364521036452103411EnF`Fb21210FfFh1``1`111Df20220002100002200222100202001021000202020222FlFnG`Gb30213210","f":"``````````````{{{d{b}}}{{d{{h{f}}}}}}{d{{d{j}}}}0{{{d{b}}}{{d{{l{f}}}}}}{{{d{n}}}{{Ab{{d{A`}}}}}}{{{d{Ad}}}{{Ab{{d{A`}}}}}}{d{{d{c}}}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}}}Df}{{d{d{Afc}}}B`{}}{{df}B`}{{{d{Ff}}}{{d{Bd}}}}{{{d{Bd}}}{{Bf{FhFf}}}}{c{{Bf{Df}}}Bh}{{{d{Df}}{d{Df}}}Cb}{{{d{Df}}{d{AfCd}}}Ch}0{{{d{Ff}}{d{AfCd}}}Ch}0{AlDf}{cc{}}{DbFf}{FjFf}2{{{d{{l{f}}}}}{{Bf{FhFf}}}}{{{d{{l{f}}}}}{{Bf{DfFf}}}}{{{d{Bd}}}{{Bf{Dfc}}}{}}{{}}{{}c{}}08{{{d{Df}}}{{d{Al}}}}{{{d{Fh}}}Eh}{{{d{Df}}c}BfEf}{{{d{Ff}}}{{Ab{{d{j}}}}}}{{{d{Fh}}}{{Ej{f}}}}{{{d{Df}}}{{Ej{f}}}}{dc{}}{dEh}0{c{{Bf{e}}}{}{}}0{{}{{Bf{c}}}{}}0{dEl}0{{{d{Bd}}}Ff}0{FlAb}{FnAb}{G`Ab}{GbAb}{Fld}{Gbd}{FnFj}{G`Db}{FlFd}{FnFd}{G`Fd}{GbFd}","D":"Jb","p":[[5,"PublicKey",0,266],[1,"reference",null,null,1],[1,"u8"],[1,"array"],[10,"Error",267],[1,"slice"],[6,"KeyParsingError",0,266],[5,"Backtrace",268],[6,"Option",269,null,1],[5,"RelayUrlParseError",0,270],[0,"mut"],[5,"Signature",0,271],[5,"SecretKey",0,266],[5,"NodeAddr",0,272],[5,"RelayUrl",0,270],[1,"unit"],[6,"Ordering",273],[1,"str"],[6,"Result",274,null,1],[10,"Deserializer",275],[17,"Item"],[6,"SocketAddr",276],[10,"Iterator",277],[5,"BTreeSet",278],[1,"bool"],[5,"Formatter",279],[5,"Error",279],[8,"Result",279],[10,"Display",279],[5,"InternalSignature",280],[5,"VerifyingKey",281],[8,"SignatureError",0,282],[5,"DecodeError",283],[5,"SigningKey",284],[5,"NodeTicket",199,285],[8,"NodeId",0,266],[1,"tuple",null,null,1],[5,"Url",286],[10,"IntoIterator",287],[5,"Error",288],[10,"CryptoRngCore",289],[10,"Hasher",290],[10,"Serializer",291],[5,"String",292],[5,"Vec",293],[5,"TypeId",294],[15,"Decode",191],[15,"Key",191],[15,"DecodeInvalidLength",191],[5,"SpanTrace",295],[6,"ParseError",199],[10,"Ticket",199],[6,"Error",296],[15,"Kind",254],[15,"Postcard",254],[15,"Encoding",254],[15,"Verify",254]],"r":[[0,271],[1,266],[2,266],[3,266],[4,266],[5,266],[6,272],[7,266],[8,266],[9,270],[10,270],[11,266],[12,271],[13,282],[14,266],[15,266],[16,270],[17,266],[18,266],[19,270],[20,271],[21,266],[22,266],[23,266],[24,266],[25,272],[26,270],[27,270],[28,271],[29,266],[30,266],[31,266],[32,272],[33,270],[34,270],[35,266],[36,270],[37,271],[38,266],[39,266],[40,272],[41,270],[42,271],[43,266],[44,266],[45,272],[46,270],[47,271],[48,266],[49,266],[50,272],[51,270],[52,266],[53,272],[54,270],[55,266],[56,270],[57,266],[58,270],[59,271],[60,266],[61,266],[62,272],[63,270],[64,272],[65,272],[66,271],[67,266],[68,272],[69,270],[70,271],[71,271],[72,271],[73,271],[74,266],[75,266],[76,266],[77,266],[78,266],[79,272],[80,270],[81,270],[82,270],[83,270],[84,266],[85,271],[86,271],[87,271],[88,271],[89,266],[90,266],[91,266],[92,266],[93,266],[94,266],[95,266],[96,266],[97,272],[98,272],[99,272],[100,272],[101,270],[102,270],[103,270],[104,271],[105,266],[106,266],[107,271],[108,272],[109,271],[110,271],[111,266],[112,266],[113,270],[114,266],[115,266],[116,272],[117,270],[118,266],[119,270],[120,271],[121,266],[122,266],[123,266],[124,272],[125,270],[126,270],[127,272],[128,272],[129,272],[130,266],[131,272],[132,270],[133,266],[134,266],[135,271],[136,272],[137,272],[138,271],[139,266],[140,271],[141,266],[142,266],[143,272],[144,270],[145,266],[146,266],[147,270],[149,271],[150,271],[151,266],[152,271],[153,266],[154,266],[155,272],[156,270],[157,271],[158,266],[159,266],[160,270],[161,270],[162,271],[163,271],[164,271],[165,266],[166,266],[167,266],[168,266],[169,266],[170,266],[171,272],[172,270],[173,270],[174,271],[175,266],[176,266],[177,266],[178,272],[179,270],[180,270],[181,271],[182,266],[183,266],[184,266],[185,272],[186,270],[187,270],[188,266],[189,272],[190,272],[202,285],[209,285],[211,285],[214,285],[215,285],[216,285],[219,285],[220,285],[221,285],[222,285],[225,285],[226,285],[231,285],[232,285],[234,285],[236,285],[237,285],[239,285],[242,285],[243,285],[244,285],[246,285],[248,285],[250,285]],"b":[[70,"impl-UpperHex-for-Signature"],[71,"impl-LowerHex-for-Signature"],[72,"impl-Display-for-Signature"],[73,"impl-Debug-for-Signature"],[74,"impl-Debug-for-PublicKey"],[75,"impl-Display-for-PublicKey"],[76,"impl-Display-for-KeyParsingError"],[77,"impl-Debug-for-KeyParsingError"],[80,"impl-Display-for-RelayUrl"],[81,"impl-Debug-for-RelayUrl"],[82,"impl-Display-for-RelayUrlParseError"],[83,"impl-Debug-for-RelayUrlParseError"],[85,"impl-From%3CInternalSignature%3E-for-Signature"],[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"],[91,"impl-From%3CError%3E-for-KeyParsingError"],[92,"impl-From%3CDecodeError%3E-for-KeyParsingError"],[94,"impl-From%3CSigningKey%3E-for-SecretKey"],[95,"impl-From%3C%5Bu8;+32%5D%3E-for-SecretKey"],[98,"impl-From%3CNodeTicket%3E-for-NodeAddr"],[99,"impl-From%3CPublicKey%3E-for-NodeAddr"],[100,"impl-From%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[149,"impl-Signature"],[150,"impl-SignatureEncoding-for-Signature"],[165,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey"],[166,"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey"],[221,"impl-Debug-for-NodeTicket"],[222,"impl-Display-for-NodeTicket"],[223,"impl-Display-for-ParseError"],[224,"impl-Debug-for-ParseError"],[227,"impl-From%3CDecodeError%3E-for-ParseError"],[228,"impl-From%3CError%3E-for-ParseError"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAALkAGAAQADAAQwARAFYAAgBbAAIAXwABAGQAAQBnAAAAbwADAHQABACDAAIAjQAEAJMAAQCXAAAAmQAJAKQAGADAAAcA0AAKANwABQDkAAEA6AACAPAAAQDzAAkA/wADAAQBBgA=","P":[[20,"T"],[21,""],[22,"T"],[35,""],[42,"T"],[47,""],[55,"Deref::Target"],[57,""],[59,"D"],[62,"__D"],[64,""],[88,"T"],[90,""],[93,"T"],[94,""],[96,"T"],[98,""],[101,"T"],[102,""],[103,"T"],[104,""],[108,""],[109,""],[111,"FromStr::Err"],[114,"R"],[115,"H"],[116,"__H"],[118,""],[120,"U"],[127,""],[140,"S"],[143,"__S"],[145,""],[152,"T"],[157,""],[164,"U,T"],[165,"TryFrom::Error"],[167,"U,T"],[169,"TryFrom::Error"],[170,"U,T"],[174,"U"],[181,""],[189,""],[190,""],[209,"T"],[213,""],[215,"T"],[216,""],[219,"D"],[220,""],[226,"T"],[227,""],[229,"T"],[230,""],[232,"FromStr::Err"],[233,""],[234,"U"],[236,""],[239,"S"],[240,""],[243,"T"],[244,""],[246,"U,T"],[248,"U"],[250,""]]}],["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}}}}}{}}0000{b{{Bd{{b{c}}}}}{}}0000{{}f}{{}Af}{Aj{{b{c}}}{}}0000{Aj{{b{nc}}}{}}0000{AdBf}{Ajf}0000{{{b{Al}}{b{nBh}}}Bj}{{{b{Ad}}{b{nBh}}}Bj}{cc{}}0000{{{b{Bl}}}{{C`{AlBn}}}}{{{b{Bl}}}{{C`{AdBn}}}}{{{b{nBl}}}{{C`{AlBn}}}}{{{b{nBl}}}{{C`{AdBn}}}}{{{b{c}}}c{}}0{{}{{Cd{Cb}}}}{{{b{Cf}}}Ch}{{}Aj}0000{AdCj}{{}c{}}0000`{AdAj}{AdCh}0{g{{Cl{ig}}}{}{}{{j{ce}}}{{j{ce}}}}0000{{{b{Af}}Aj}f}`2{{}Cn}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c{}}```{g{{h{ig}}}{}{}{{j{ce}}}{{j{ce}}}}00{DlBf}{b{{b{c}}}{}}00{{{b{n}}}{{b{nc}}}{}}00{ElEn}0{ElBf}4{{}{{Bd{c}}}{}}00{{{b{n}}}{{Bd{{b{nc}}}}}{}}00{b{{Bd{{b{c}}}}}{}}00{{}F`}{{}El}{Aj{{b{c}}}{}}00{Aj{{b{nc}}}{}}00{Ajf}00{DlFb}:{{{b{F`}}{b{nBh}}}Bj}{{{b{El}}{b{nBh}}}Bj}{{{b{Dl}}{b{nBh}}}Bj}{cc{}}00{{}Aj}00{{}c{}}00{{FbBfFbBf}Dl}{g{{Cl{ig}}}{}{}{{j{ce}}}{{j{ce}}}}00{{{b{F`}}{b{Cf}}}f}{DlBf}{{{b{nF`}}Dl}f}{F`El}{F`Aj}{DlFd}{{FbBf}Fd}{ElEn}{F`Fb}{F`Bf}{c{{C`{e}}}{}{}}00{{}{{C`{c}}}{}}00{DlFb}5{bD`}00{{}c{}}00","D":"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":"FNNNNNNNNNNCCNNNNCNNNCNNNNCCNNNNNNGFPPFFFNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNOONNNNNNOONNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNOFFFFNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNOOOOONNNNNNNNNNNNNNNNNNNNNNNNGPFFFPPGPPPNNNNNNNNNOONNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFNNNNNNNNOOOOOONNNNOOOONNNOOOOOONNNNFNNNNNNNNNNHNNNNNNFNNNNNNNNNNONNNONONNNNN","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"],[375,"iroh_dns_server::metrics"],[411,"iroh_dns_server::server"],[429,"iroh_dns_server::state"],[452,"dyn_clone::sealed"],[453,"tower_http::follow_redirect::policy::and"],[454,"tower_http::follow_redirect::policy"],[455,"iroh_dns_server::store"],[456,"async_compat"],[457,"core::fmt"],[458,"pkarr::signed_packet"],[459,"core::option"],[460,"n0_snafu::error"],[461,"alloc::sync"],[462,"tower_http::follow_redirect::policy::or"],[463,"std::path"],[464,"core::convert"],[465,"hickory_proto::rr::domain::name"],[466,"hickory_proto::rr::record_type"],[467,"hickory_proto::rr::rr_set"],[468,"core::result"],[469,"core::any"],[470,"serde::de"],[471,"iroh_dns_server::http::rate_limiting"],[472,"serde::ser"],[473,"hickory_server::server::request_handler"],[474,"bytes::bytes"],[475,"alloc::string"],[476,"core::future::future"],[477,"alloc::boxed"],[478,"core::pin"],[479,"hickory_server::server::response_handler"],[480,"core::net::socket_addr"],[481,"alloc::vec"],[482,"hickory_server::authority::message_response"],[483,"hickory_proto::rr::resource"],[484,"core::iter::traits::iterator"],[485,"core::marker"],[486,"iroh_dns_server::http::tls"],[487,"alloc::collections"],[488,"iroh_metrics::iterable"],[489,"iroh_metrics::metrics"],[490,"iroh_metrics::base"]],"i":"`n000000000``0000`000`0000``000000``Cd0```CjCn1CfCh4102310423104333231042310423104223042310411202310423104322231042222310422310423231042310423104231042````DbDhDnEl321230321032132132132103210321032133332103213212032102032133333013003210321032103210321`Dd```Gb0`01110FnG`Gf4321210432104321143214321432104321043210432144432113333433210432143210004321110432121043210043213043210432130432104321`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}{{}c{}}{{nCd}n}```````{{bd}f}{g{{h{ig}}}{}{}{{j{ce}}}{{j{ce}}}}0000{CfAj}{ChAj}{b{{b{c}}}{}}0000{{{b{l}}}{{b{lc}}}{}}0000{{{b{Cj}}}Cj}{{b{b{lc}}}f{}}{{bA`}f}{{}{{Ab{c}}}{}}0000{{{b{l}}}{{Ab{{b{lc}}}}}{}}0000{b{{Ab{{b{c}}}}}{}}0000{{}{{Al{Cl}}}}{{}Cn}{{}Cj}{{}Ch}{{}Cd}{c{{C`{Cn}}}D`}{c{{C`{Cj}}}D`}{c{{C`{Cf}}}D`}{c{{C`{Ch}}}D`}{c{{C`{Cd}}}D`}{{}Cf}{CfBb}{CnDb}{ChBb}{{{b{Cn}}{b{lAd}}}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Ab{{b{lc}}}}}{}}{b{{Ab{{b{c}}}}}{}}{{}An}{AnGn}00000{{{b{An}}}H`}{{{b{An}}H`}{{Aj{Hb}}}}{{{b{An}}{b{lAd}}}Af}{cc{}}4444{{}c{}}{{{b{An}}}{{b{Hd}}}}{g{{Bd{ig}}}{}{}{{j{ce}}}{{j{ce}}}}777777{c{{C`{e}}}{}{}}{{}{{C`{c}}}{}}{bCb}{{}c{}}`{g{{h{ig}}}{}{}{{j{ce}}}{{j{ce}}}}{b{{b{c}}}{}}{{{b{l}}}{{b{lc}}}{}}{{}{{Ab{c}}}{}}{{{b{l}}}{{Ab{{b{lc}}}}}{}}{b{{Ab{{b{c}}}}}{}}=<:{Hf{{Al{f}}}}{Cn{{Al{f}}}}1{{Cnn{B`{An}}}{{Al{Hf}}}}<;:9`{{bd}f}987{{{b{Gh}}}Gh}{{b{b{lc}}}f{}}{{bA`}f}987{GhDh}{cc{}}{{{b{c}}}c{}}{{}c{}}{GhB`}{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",452],[1,"unit"],[5,"And",453],[10,"Policy",454],[0,"mut"],[5,"ZoneStore",0,455],[1,"u8"],[5,"Compat",456],[5,"Formatter",457],[8,"Result",457],[5,"SignedPacket",458],[6,"Option",459,null,1],[8,"Result",460],[5,"Metrics",375],[5,"Arc",461,null,1],[1,"bool"],[5,"Or",462],[5,"Path",463],[10,"AsRef",464],[5,"Name",465],[6,"RecordType",466],[5,"RecordSet",467],[6,"Result",468,null,1],[5,"TypeId",469],[6,"BootstrapOption",34],[5,"MetricsConfig",34],[5,"MainlineConfig",34],[5,"StoreConfig",34],[5,"PathBuf",463],[5,"Config",34],[10,"Deserializer",470],[5,"DnsConfig",146],[6,"RateLimitConfig",241,471],[10,"Serializer",472],[5,"DnsHandler",146],[5,"Request",473],[5,"Bytes",474],[5,"Handle",146],[5,"String",475],[1,"u32"],[10,"Future",476,null,1],[5,"Box",477,null,1],[5,"Pin",478],[10,"ResponseHandler",479],[5,"DnsServer",146],[6,"SocketAddr",480],[5,"Vec",481],[1,"u16"],[5,"MessageResponse",482],[17,"Item"],[5,"Record",483],[10,"Iterator",484],[10,"Send",485],[5,"HttpConfig",241],[5,"HttpsConfig",241],[6,"CertMode",241,486],[5,"Error",457],[5,"HttpServer",241],[5,"AppState",429],[5,"TryReserveError",487],[10,"Iterable",488],[5,"Counter",489],[1,"usize"],[5,"MetricItem",490],[1,"str"],[5,"Server",411]],"r":[[0,455],[1,455],[2,455],[3,455],[4,455],[5,455],[6,455],[7,455],[8,455],[9,455],[10,455],[13,455],[14,455],[15,455],[16,455],[18,455],[19,455],[20,455],[22,455],[23,455],[24,455],[25,455],[28,455],[29,455],[30,455],[31,455],[32,455],[33,455],[241,486],[242,471],[246,486],[247,486],[248,471],[249,486],[250,471],[251,471],[252,471],[253,486],[257,471],[258,486],[264,471],[265,486],[269,471],[270,486],[274,471],[275,486],[278,471],[279,486],[282,471],[283,486],[287,471],[288,486],[292,471],[293,486],[297,471],[298,486],[301,471],[302,471],[303,471],[304,486],[308,486],[309,486],[310,486],[311,486],[312,471],[313,486],[314,486],[318,471],[319,486],[322,471],[323,486],[329,471],[330,486],[336,471],[337,486],[343,471],[344,486],[349,471],[350,486],[353,486],[355,471],[356,486],[360,471],[361,486],[364,486],[366,471],[367,486],[371,471],[372,486]],"b":[[301,"impl-Default-for-%26RateLimitConfig"],[302,"impl-Default-for-RateLimitConfig"],[313,"impl-Debug-for-CertMode"],[314,"impl-Display-for-CertMode"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAADYBKAACAAkADgAAABAAAAAYAAAAHQAEACoABQAyABsATwAIAFwABABmAAAAcQAEAHcABAB9ABQAlwAGAKAAHAC/AAMAxwADANEAAwDbAAEA3wASAP0ACAAIAQkAEwEgADUBCABDAQMAUAEEAFgBAwBeAQ4AbgEJAHkBBwCHAQIAkAEBAJgBAwCdAQUApQEAAKoBAwCvAQkAuwEAAL4BAADAAQQA","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"],[312,""],[317,"T"],[326,""],[328,"U"],[333,""],[335,"B,E,P,T"],[340,""],[343,"__S"],[347,""],[349,"T"],[353,""],[354,"U,T"],[359,"U"],[364,""],[370,"V"],[376,"B,E,P,T"],[377,""],[378,"T"],[383,""],[393,"T"],[394,""],[398,"U"],[399,""],[400,"B,E,P,T"],[401,""],[407,"U,T"],[408,"U"],[409,""],[410,"V"],[412,"B,E,P,T"],[413,"T"],[419,"U"],[420,"B,E,P,T"],[421,""],[425,"U,T"],[426,"U"],[427,""],[428,"V"],[430,""],[431,"B,E,P,T"],[432,"T"],[434,""],[435,"T"],[436,""],[437,"T"],[440,""],[441,"T"],[443,"U"],[444,""],[445,"B,E,P,T"],[446,""],[447,"T"],[448,"U,T"],[449,"U"],[450,""],[451,"V"]]}],["iroh_relay",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OCCCCCPPPGGPPPPPPPPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOSHPPGPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOGFPPGPPPPPPPSPPPPPGPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOSPPGSSFPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOGGPPPPGFSPPPPFPPFPPPFPFFPFPFFGGPFPNNNOOOONNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNONONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNONNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONONNNNNNNNNNNNNNNNNOOOONOONNOOOOOOONNNNNNCONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOHHHHH","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"],[150,"iroh_relay::client"],[398,"iroh_relay::client::ConnectError"],[426,"iroh_relay::client::DialError"],[454,"iroh_relay::client::RecvError"],[460,"iroh_relay::client::SendError"],[468,"iroh_relay::defaults"],[473,"iroh_relay::dns"],[712,"iroh_relay::dns::DnsError"],[728,"iroh_relay::dns::LookupError"],[734,"iroh_relay::http"],[738,"iroh_relay::node_info"],[991,"iroh_relay::node_info::DecodingError"],[1000,"iroh_relay::node_info::EncodingError"],[1006,"iroh_relay::node_info::ParseError"],[1024,"iroh_relay::protos"],[1029,"iroh_relay::protos::common"],[1102,"iroh_relay::protos::common::FrameTypeError"],[1107,"iroh_relay::protos::disco"],[1109,"iroh_relay::protos::handshake"],[1146,"iroh_relay::protos::handshake::Error"],[1168,"iroh_relay::protos::relay"],[1307,"iroh_relay::protos::relay::ClientToRelayMsg"],[1309,"iroh_relay::protos::relay::Error"],[1335,"iroh_relay::protos::relay::RelayToClientMsg"],[1340,"iroh_relay::quic"],[1403,"iroh_relay::quic::Error"],[1412,"iroh_relay::server"],[1821,"iroh_relay::server::CertConfig"],[1823,"iroh_relay::server::SpawnError"],[1841,"iroh_relay::server::SupervisorError"],[1853,"iroh_relay::server::testing"],[1858,"dyn_clone::sealed"],[1859,"tower_http::follow_redirect::policy::and"],[1860,"tower_http::follow_redirect::policy"],[1861,"iroh_relay::relay_map"],[1862,"core::cmp"],[1863,"async_compat"],[1864,"iroh_base::relay_url"],[1865,"iroh_relay::ping_tracker"],[1866,"core::time"],[1867,"core::result"],[1868,"serde::de"],[1869,"core::fmt"],[1870,"core::iter::traits::collect"],[1871,"alloc::sync"],[1872,"core::option"],[1873,"core::iter::traits::iterator"],[1874,"tower_http::follow_redirect::policy::or"],[1875,"serde::ser"],[1876,"alloc::string"],[1877,"alloc::collections"],[1878,"core::any"],[1879,"core::ops::function"],[1880,"core::marker"],[1881,"core::error"],[1882,"iroh_relay::client::conn"],[1883,"backtrace::capture"],[1884,"tokio_websockets::error"],[1885,"std::io::error"],[1886,"tokio::time::error"],[1887,"core::net::socket_addr"],[1888,"rustls::client::client_conn"],[1889,"iroh_base::key"],[1890,"core::convert"],[1891,"core::pin"],[1892,"core::task::wake"],[1893,"core::task::poll"],[1894,"url"],[1895,"http::status"],[1896,"hyper::error"],[1897,"n0_snafu::spantrace"],[1898,"hickory_resolver::error"],[1899,"alloc::boxed"],[1900,"alloc::vec"],[1901,"core::net::ip_addr"],[1902,"futures_lite::future"],[1903,"reqwest::dns::resolve"],[1904,"http::header::name"],[1905,"alloc::collections::btree::set"],[1906,"pkarr::signed_packet"],[1907,"iroh_base::node_addr"],[1908,"core::hash"],[1909,"z32"],[1910,"ed25519_dalek::errors"],[1911,"simple_dns::simple_dns_error"],[1912,"core::str::error"],[1913,"num_enum"],[1914,"iroh_quinn_proto::varint"],[1915,"postcard::error"],[1916,"http::header::value"],[1917,"bytes::bytes"],[1918,"iroh_quinn::connection"],[1919,"tokio::sync::watch::error"],[1920,"iroh_quinn_proto::connection"],[1921,"iroh_quinn_proto::endpoint"],[1922,"iroh_quinn::endpoint"],[1923,"iroh_relay::server::metrics"],[1924,"iroh_metrics::metrics"],[1925,"iroh_metrics::iterable"],[1926,"core::num::nonzero"],[1927,"rustls_pki_types"],[1928,"core::default"],[1929,"iroh_relay::server::resolver"],[1930,"iroh_metrics::base"],[1931,"tokio::runtime::task::error"],[1932,"rustls::crypto::signer"],[1933,"reloadable_core"],[1934,"rustls::server::server_conn"],[1935,"tokio_util::task::abort_on_drop"],[1936,"tokio_rustls_acme::state"]],"i":"`````nA`AbAn32103210321`32132132121210321032103213010`0321032121`032133213332221110332210333221333`032103213300`303212101``221`03213203210321320321230321`````Ef`EhE`022121212Ed22222``1023333Dd021430EjEnF`5476547654763210547632105476333547632105476321054763210354763210547632105476547632105544776632105544477776666321054765476321035476321030`35476321021212021354762213547654763210547632102054765476321054763210HdHfHhHjHlHnI`IbIdIf476530987654321098InJ`JbJdJfJhJjJlJnK`138762987654321045KbKd1010KfKhKj12210``````````LhFj`Kl1``1011``212`2Ld3GdLj43Kn36215405405403621540362132540Lf34732473247326514732651473265147323473651473265147326516514732777766551147322666514732226516514732651473220333303333330336514732033365147326512651473265147326512651473265147324344NjNlNnO`ObOd3351543210OfOh1010````A@f`0`A@``A@b001On````33`3`3Ol1Nb14312A@d16540635406542301654230165406223123123133542301654230165423016125423011654230116540625423016231222333111554423300166554223011661131AAd4651765341276534127232265341274333651723422654172065344127653412765417653412736534127323232AAfAAhAAj120210AB`ABb1010ABfABhABjABlABnAC`413520543210`````ACf00``0000000000ACd011000101001111010101010010111110010010101001011011001010ACjACl100``Ff0`0000000000000000000000000000000000AD`ADbADdADfADhADjADl110253065432106``AEbHb`Fd020000`22121`200021AEd13201113201320132032032013201320132001320132011320032033322200011320111320011320132013200103201132013201313201320AEj0AElAEnAF`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`AMb543210432105AMfAMhAMjAMlAMn4243210`````","f":"`````{{bd}f}00{g{{h{ig}}}{}{}{{j{ce}}}{{j{ce}}}}000{b{{b{c}}}{}}000{{{b{l}}}{{b{lc}}}{}}000`{{{b{n}}}n}{{{b{A`}}}A`}{{{b{Ab}}}Ab}{{b{b{lc}}}f{}}00{{bAd}f}00{{{b{A`}}{b{A`}}}Af}{{{b{Ab}}{b{Ab}}}Af}{{b{b{c}}}Af{}}0{{}{{Ah{c}}}{}}000{{{b{l}}}{{Ah{{b{lc}}}}}{}}000{b{{Ah{{b{c}}}}}{}}000{{{b{n}}{b{Aj}}}Al}{{}An}{{}Ab}{{{b{An}}}B`}`{Bb{{b{c}}}{}}000{Bb{{b{lc}}}{}}000{c{{Bd{A`}}}Bf}{c{{Bd{Ab}}}Bf}`{Bbf}000{{}n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HnCb}{AHnAHh}{AIjCb}{{{b{AJb}}}{{b{AJf}}}}{AJjCb}{{{b{AHj}}}{{b{El}}}}{{{b{AJf}}}{{b{El}}}}{g{{Ch{ig}}}{}{}{{j{ce}}}{{j{ce}}}}00000000000000{AHjAHl}004{{{b{AJb}}}{{Cb{Fn}}}}?5{{{b{{AJn{c}}}}}f{Dj{AKj{}{{AKf{AKh}}}}}}{{{b{{AJn{c}}}}AKl}{{Cb{{C`{AKh}}}}}{{AKj{}{{AKf{AKh}}}}DjL`}}3333{AJfC`}{AIhAKn}{AInAKn}{{{AJn{c}}}f{Dj{AKj{}{{AKf{AKh}}}}}}{AJb{{Bd{fAIf}}}}{{{b{AId}}}{{Cb{{b{Dn}}}}}}{{{b{AIf}}}{{Cb{{b{Dn}}}}}}{{{AJj{ce}}}{{Bd{AJbAId}}}L`L`}{{{b{lAJb}}}{{b{l{AL`{{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",1858],[1,"unit"],[5,"And",1859],[10,"Policy",1860],[0,"mut"],[5,"RelayMap",0,1861],[5,"RelayNode",0,1861],[5,"RelayQuicConfig",0,1861],[1,"u8"],[6,"Ordering",1862],[5,"Compat",1863],[5,"RelayUrl",1864],[1,"bool"],[5,"PingTracker",0,1865],[5,"Duration",1866],[1,"usize"],[6,"Result",1867,null,1],[10,"Deserializer",1868],[5,"Formatter",1869],[8,"Result",1869],[17,"Item"],[10,"IntoIterator",1870],[5,"Arc",1871,null,1],[6,"Option",1872,null,1],[1,"array"],[10,"Iterator",1873],[5,"Or",1874],[1,"u16"],[10,"Serializer",1875],[5,"String",1876],[5,"TryReserveError",1877],[5,"TypeId",1878],[5,"ClientBuilder",150],[17,"Output"],[10,"Fn",1879],[10,"Send",1880],[10,"Sync",1880],[10,"Error",1881],[6,"SendError",150,1882],[5,"Backtrace",1883],[6,"RecvError",150,1882],[6,"ConnectError",150],[6,"DialError",150],[5,"Client",150],[1,"str"],[5,"ClientSink",150],[5,"ClientStream",150],[6,"Error",1884],[6,"Error",1168],[6,"Error",1109],[5,"Error",1885],[6,"DnsError",473],[5,"Elapsed",1886],[6,"SocketAddr",1887],[5,"ClientConfig",1888],[5,"SecretKey",1889],[5,"DnsResolver",473],[10,"Into",1890,null,1],[5,"Pin",1891],[5,"Context",1892],[6,"Poll",1893],[5,"Url",1894],[1,"tuple",null,null,1],[6,"ClientToRelayMsg",1168],[15,"InvalidWebsocketUrl",398],[15,"InvalidRelayUrl",398],[15,"Websocket",398],[15,"Handshake",398],[15,"Dial",398],[15,"UnexpectedUpgradeStatus",398],[15,"Upgrade",398],[15,"InvalidTlsServername",398],[15,"NoLocalAddr",398],[15,"Tls",398],[5,"StatusCode",1895],[5,"Error",1896],[5,"SpanTrace",1897],[15,"InvalidTargetPort",426],[15,"Dns",426],[15,"Timeout",426],[15,"Io",426],[15,"InvalidUrl",426],[15,"ProxyConnectInvalidStatus",426],[15,"ProxyInvalidUrl",426],[15,"ProxyConnect",426],[15,"ProxyInvalidTlsServername",426],[15,"ProxyInvalidTargetPort",426],[15,"Protocol",454],[15,"StreamError",454],[15,"StreamError",460],[15,"ExceedsMaxPacketSize",460],[15,"EmptyPacket",460],[6,"LookupError",473],[5,"StaggeredError",473],[10,"Debug",1869],[10,"Display",1869],[5,"Builder",473],[10,"Resolver",473],[6,"DnsProtocol",473],[5,"TxtRecordData",473],[5,"ResolveError",1898],[1,"slice"],[5,"Box",1899,null,1],[5,"Vec",1900],[5,"Ipv4Addr",1901],[8,"BoxIter",473],[8,"Boxed",1902],[6,"IpAddr",1901],[10,"ToString",1876],[1,"u64"],[5,"Ipv6Addr",1901],[5,"NodeInfo",738],[8,"NodeId",1889],[5,"Name",1903],[8,"Resolving",1903],[15,"Timeout",712],[15,"NoResponse",712],[15,"ResolveBoth",712],[15,"MissingHost",712],[15,"Resolve",712],[15,"InvalidResponse",712],[15,"ParseError",728],[15,"LookupFailed",728],[5,"HeaderName",1904],[5,"NodeData",738],[5,"UserData",738],[6,"EncodingError",738],[6,"DecodingError",738],[5,"MaxLengthExceededError",738],[6,"ParseError",738],[5,"BTreeSet",1905],[6,"SignedPacketBuildError",1906],[5,"NodeAddr",1907],[5,"SignedPacket",1906],[10,"Hasher",1908],[1,"u32"],[10,"NodeIdExt",738],[15,"InvalidEncodingZ32",991],[15,"InvalidLength",991],[15,"InvalidSignature",991],[6,"Z32Error",1909],[8,"SignatureError",1910],[15,"FailedBuildingPacket",1000],[15,"InvalidTxtEntry",1000],[6,"SimpleDnsError",1911],[15,"UnexpectedFormat",1006],[15,"AttrFromString",1006],[15,"NumLabels",1006],[15,"Utf8",1006],[15,"NotAnIrohRecord",1006],[15,"DecodingError",1006],[5,"Utf8Error",1912],[6,"FrameTypeError",1029],[6,"FrameType",1029],[5,"TryFromPrimitiveError",1913],[15,"UnexpectedEnd",1102],[15,"UnknownFrameType",1102],[5,"VarInt",1914],[15,"ClientAuthHeaderInvalid",1146],[15,"Websocket",1146],[15,"UnexpectedEnd",1146],[15,"FrameTypeError",1146],[15,"ServerDeniedAuth",1146],[15,"UnexpectedFrameType",1146],[15,"DeserializationError",1146],[6,"Error",1915],[5,"HeaderValue",1916],[6,"RelayToClientMsg",1168],[5,"Datagrams",1168],[5,"Bytes",1917],[10,"AsRef",1890],[15,"Datagrams",1307],[15,"UnexpectedFrame",1309],[15,"FrameTooLarge",1309],[15,"SerDe",1309],[15,"FrameTypeError",1309],[15,"InvalidPublicKey",1309],[15,"InvalidFrame",1309],[15,"InvalidFrameType",1309],[15,"InvalidProtocolMessageEncoding",1309],[15,"TooSmall",1309],[15,"Datagrams",1335],[15,"Health",1335],[15,"Restarting",1335],[6,"Error",1340],[5,"QuicClient",1340],[5,"Connection",1918],[5,"RecvError",1919],[6,"ConnectionError",1920],[6,"ConnectError",1921],[5,"Endpoint",1922],[15,"Connect",1403],[15,"Connection",1403],[15,"WatchRecv",1403],[5,"Limits",1412],[5,"Metrics",1412,1923],[5,"Counter",1924],[5,"RelayConfig",1412],[6,"AccessConfig",1412],[10,"Iterable",1925],[6,"SpawnError",1412],[6,"SupervisorError",1412],[5,"QuicConfig",1412],[5,"ClientRateLimit",1412],[8,"NonZeroU32",1926],[5,"TlsConfig",1412],[6,"CertConfig",1412],[5,"Server",1412],[5,"CertificateDer",1927],[5,"RelayMetrics",1412,1923],[6,"Access",1412],[5,"ServerConfig",1412],[10,"Default",1928],[5,"ReloadingResolver",1412,1929],[5,"MetricItem",1930],[5,"JoinError",1931],[10,"MetricsGroup",1930],[17,"Value"],[5,"CertifiedKey",1932],[10,"Loader",1933],[5,"ClientHello",1934],[5,"ServerConfig",1934],[5,"AbortOnDropHandle",1935],[15,"Manual",1821],[15,"LetsEncrypt",1821],[5,"AcmeState",1936],[15,"BindTcpListener",1823],[15,"LocalAddr",1823],[15,"QuicSpawn",1823],[15,"TlsHeaderParse",1823],[15,"BindTlsListener",1823],[15,"NoLocalAddr",1823],[5,"InvalidHeaderValue",1916],[15,"Metrics",1841],[15,"AcmeEventStreamFinished",1841],[15,"JoinError",1841],[15,"NoRelayServicesEnabled",1841],[15,"TaskCancelled",1841]],"r":[[0,1168],[1,1865],[2,1861],[3,1861],[4,1861],[5,1861],[6,1861],[7,1861],[8,1865],[9,1861],[10,1861],[11,1861],[12,1865],[13,1861],[14,1861],[15,1861],[16,1865],[17,1861],[18,1861],[19,1861],[21,1861],[22,1861],[23,1861],[24,1861],[25,1861],[26,1861],[27,1861],[28,1861],[29,1861],[30,1861],[31,1861],[32,1861],[33,1861],[34,1865],[35,1861],[36,1861],[37,1861],[38,1865],[39,1861],[40,1861],[41,1861],[42,1865],[43,1861],[44,1861],[45,1861],[46,1861],[47,1865],[48,1861],[49,1865],[51,1865],[52,1861],[53,1861],[54,1861],[55,1865],[56,1861],[57,1861],[58,1861],[59,1861],[60,1861],[62,1865],[63,1861],[64,1861],[65,1861],[66,1861],[67,1861],[68,1861],[69,1861],[70,1861],[71,1861],[72,1861],[73,1861],[74,1861],[75,1861],[76,1861],[77,1861],[78,1861],[79,1865],[80,1861],[81,1861],[82,1861],[83,1861],[84,1861],[85,1865],[86,1861],[87,1861],[88,1861],[89,1861],[90,1861],[91,1861],[92,1861],[93,1861],[94,1861],[96,1865],[97,1861],[98,1861],[99,1861],[100,1865],[101,1861],[102,1861],[103,1861],[104,1861],[105,1861],[106,1865],[107,1865],[109,1861],[110,1865],[111,1861],[112,1861],[113,1861],[114,1861],[115,1861],[116,1865],[117,1861],[120,1861],[121,1861],[122,1861],[124,1865],[125,1861],[126,1861],[127,1861],[128,1861],[129,1861],[130,1865],[131,1861],[132,1861],[133,1861],[134,1865],[135,1861],[136,1861],[137,1861],[138,1861],[139,1861],[140,1865],[141,1861],[142,1861],[143,1861],[144,1861],[145,1861],[146,1865],[147,1861],[148,1861],[149,1861],[158,1882],[159,1882],[168,1882],[174,1882],[175,1882],[176,1882],[177,1882],[185,1882],[186,1882],[193,1882],[194,1882],[197,1882],[198,1882],[201,1882],[202,1882],[209,1882],[210,1882],[217,1882],[218,1882],[224,1882],[225,1882],[232,1882],[233,1882],[240,1882],[241,1882],[249,1882],[250,1882],[257,1882],[258,1882],[265,1882],[266,1882],[269,1882],[270,1882],[277,1882],[278,1882],[279,1882],[280,1882],[289,1882],[290,1882],[291,1882],[292,1882],[293,1882],[306,1882],[307,1882],[310,1882],[311,1882],[319,1882],[320,1882],[331,1882],[332,1882],[348,1882],[349,1882],[356,1882],[357,1882],[360,1882],[361,1882],[368,1882],[369,1882],[378,1882],[379,1882],[382,1882],[383,1882],[390,1882],[391,1882],[1420,1929],[1428,1923],[1435,1923],[1437,1929],[1446,1923],[1451,1923],[1453,1923],[1454,1923],[1455,1929],[1470,1923],[1474,1923],[1475,1923],[1476,1929],[1489,1923],[1490,1923],[1491,1929],[1505,1923],[1506,1923],[1507,1923],[1513,1923],[1516,1923],[1519,1923],[1522,1923],[1523,1923],[1524,1929],[1537,1923],[1538,1923],[1539,1929],[1552,1923],[1553,1923],[1554,1929],[1567,1923],[1568,1923],[1569,1923],[1572,1923],[1573,1923],[1574,1929],[1575,1929],[1588,1923],[1589,1923],[1590,1929],[1605,1923],[1606,1923],[1607,1923],[1608,1923],[1609,1923],[1610,1923],[1611,1929],[1628,1923],[1629,1923],[1630,1923],[1631,1923],[1632,1929],[1647,1923],[1648,1923],[1649,1929],[1663,1923],[1664,1923],[1665,1923],[1674,1923],[1675,1923],[1676,1929],[1677,1929],[1690,1923],[1691,1923],[1692,1929],[1711,1923],[1712,1923],[1713,1923],[1714,1923],[1715,1929],[1728,1923],[1729,1923],[1730,1923],[1735,1929],[1736,1929],[1737,1923],[1738,1923],[1739,1923],[1740,1923],[1741,1923],[1744,1929],[1752,1923],[1757,1923],[1758,1923],[1759,1929],[1772,1923],[1773,1923],[1774,1929],[1789,1923],[1790,1923],[1791,1929],[1804,1923],[1805,1923],[1806,1923],[1807,1923],[1808,1929]],"b":[[80,"impl-Display-for-RelayMap"],[81,"impl-Debug-for-RelayMap"],[82,"impl-Display-for-RelayNode"],[83,"impl-Debug-for-RelayNode"],[86,"impl-From%3CRelayNode%3E-for-RelayMap"],[87,"impl-From%3CRelayUrl%3E-for-RelayMap"],[92,"impl-FromIterator%3CRelayUrl%3E-for-RelayMap"],[93,"impl-FromIterator%3CRelayNode%3E-for-RelayMap"],[277,"impl-Debug-for-SendError"],[278,"impl-Display-for-SendError"],[279,"impl-Debug-for-RecvError"],[280,"impl-Display-for-RecvError"],[281,"impl-Display-for-ConnectError"],[282,"impl-Debug-for-ConnectError"],[283,"impl-Debug-for-DialError"],[284,"impl-Display-for-DialError"],[291,"impl-From%3CError%3E-for-RecvError"],[293,"impl-From%3CError%3E-for-RecvError"],[294,"impl-From%3CDialError%3E-for-ConnectError"],[296,"impl-From%3CError%3E-for-ConnectError"],[297,"impl-From%3CError%3E-for-ConnectError"],[298,"impl-From%3CError%3E-for-DialError"],[299,"impl-From%3CDnsError%3E-for-DialError"],[300,"impl-From%3CElapsed%3E-for-DialError"],[599,"impl-Display-for-DnsError"],[600,"impl-Debug-for-DnsError"],[601,"impl-Display-for-LookupError"],[602,"impl-Debug-for-LookupError"],[603,"impl-Display-for-StaggeredError%3CE%3E"],[604,"impl-Debug-for-StaggeredError%3CE%3E"],[608,"impl-Debug-for-TxtRecordData"],[609,"impl-Display-for-TxtRecordData"],[610,"impl-From%3CElapsed%3E-for-DnsError"],[611,"impl-From%3CResolveError%3E-for-DnsError"],[872,"impl-Debug-for-EncodingError"],[873,"impl-Display-for-EncodingError"],[874,"impl-Debug-for-DecodingError"],[875,"impl-Display-for-DecodingError"],[877,"impl-Debug-for-UserData"],[878,"impl-Display-for-UserData"],[879,"impl-Display-for-MaxLengthExceededError"],[880,"impl-Debug-for-MaxLengthExceededError"],[882,"impl-Debug-for-ParseError"],[883,"impl-Display-for-ParseError"],[1077,"impl-Debug-for-FrameTypeError"],[1078,"impl-Display-for-FrameTypeError"],[1130,"impl-Display-for-Error"],[1131,"impl-Debug-for-Error"],[1132,"impl-From%3CFrameTypeError%3E-for-Error"],[1134,"impl-From%3CError%3E-for-Error"],[1257,"impl-Display-for-Error"],[1258,"impl-Debug-for-Error"],[1263,"impl-From%3CFrameTypeError%3E-for-Error"],[1264,"impl-From%3CError%3E-for-Error"],[1375,"impl-Display-for-Error"],[1376,"impl-Debug-for-Error"],[1379,"impl-From%3CRecvError%3E-for-Error"],[1380,"impl-From%3CConnectionError%3E-for-Error"],[1381,"impl-From%3CConnectError%3E-for-Error"],[1643,"impl-Debug-for-SpawnError"],[1644,"impl-Display-for-SpawnError"],[1645,"impl-Debug-for-SupervisorError"],[1646,"impl-Display-for-SupervisorError"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAALsFdgABAAAABgAOABYAGAAwAAEANAAJAD8AAwBEABEAVwAAAFsAAABeAAAAYQADAG8ABQB6AAEAfgAMAI0AAwCTAAMAnAAAAJ4AEACxAAcAugA+APoAKAAkAQAAJgEBACkBBAAzAQsATAEPAF0BAwBiARgAfwFVAOABAwDmAQMA7QEAAPEBHgASAgIAFwIgADkCKwBrAgAAbQIKAI8CBgCYAgAAmgIYALcCDQDJAhUA4wIEAOkCAwDyAgMA9wIDAPwCIQAfAx8AQAMUAFYDHgB2AwAAeQMAAHwDAAB+AwAAggMAAIUDCwCcAwcApwMDAKwDAgCwAwQAtwMOAMsDBgDTAwYA4AMgAAoEAAAVBCIAOgQCAD8ECgBLBAgAVwQWAG8EAgBzBAQAeQQXAJYEAQCZBAMApQQpANAEDADeBBAA8AQBAPUEBQD/BAMABAUAAAYFCwAUBQcAHgUZAD4FAQBEBRMAWQUJAGQFAgBoBQIAbgUIAHgFDACHBQAAiQUBAJAFAACTBQAAlgUCAJoFAACkBQAApgUDAK4FEwDDBR0A5QUBAOoFNQAhBiQASgYlAH4GAACBBgEAiQYEAI8GCwCwBhAAyQYAANMGAQDZBiIA/gYOAA8HDgAgBx0A","P":[[8,"B,E,P,T"],[12,"T"],[21,""],[24,"T"],[27,""],[32,"K"],[34,"T"],[46,""],[51,"T"],[59,"__D"],[62,""],[70,"K"],[79,""],[85,"T"],[86,""],[88,"T"],[90,""],[91,"T"],[94,""],[100,"U"],[104,""],[110,"B,E,P,T"],[114,""],[121,"__S"],[124,""],[125,"T"],[128,""],[130,"U,T"],[134,"U"],[138,""],[146,"V"],[183,""],[184,"S"],[185,"B,E,P,T"],[193,""],[201,"T"],[217,""],[222,"T"],[223,""],[224,"T"],[248,""],[249,"T"],[265,""],[290,"T"],[291,""],[292,"T"],[293,""],[295,"T"],[296,""],[301,"T"],[306,""],[319,"U"],[327,""],[330,""],[331,"B,E,P,T"],[339,"Sink::Error"],[343,"Stream::Item"],[345,"Sink::Error"],[347,""],[353,"Sink::Error"],[355,"T"],[356,""],[360,"U,T"],[368,"U"],[376,"S"],[378,""],[390,"V"],[398,""],[500,"B,E,P,T"],[507,""],[512,"E"],[513,"T"],[527,""],[531,"E"],[532,""],[538,"T"],[542,""],[546,"T"],[567,""],[568,""],[571,"T"],[585,""],[587,"E"],[588,""],[596,"K"],[599,""],[603,"E"],[605,""],[612,"T"],[618,""],[619,"T"],[621,""],[631,"U"],[638,""],[640,"T"],[642,""],[644,""],[645,"T"],[646,""],[647,""],[652,"T"],[653,""],[654,"B,E,P,T"],[661,""],[667,"E"],[668,"T"],[672,""],[676,"U,T"],[683,"U"],[690,""],[701,"V"],[708,""],[710,""],[711,""],[762,""],[763,"B,E,P,T"],[770,""],[779,"T"],[793,""],[801,"T"],[804,""],[808,"K"],[809,"T"],[830,""],[832,"T"],[838,"Deref::Target"],[839,"T"],[845,"Deref::Target"],[846,"T"],[848,""],[863,"K"],[872,""],[884,"T"],[885,""],[886,"T"],[888,""],[889,"T"],[891,""],[892,"T"],[893,""],[894,"T"],[895,""],[897,"FromStr::Err"],[898,""],[899,""],[900,"__H"],[901,""],[912,"U"],[919,""],[923,"B,E,P,T"],[930,""],[939,"T"],[942,""],[950,"U,T"],[954,"TryFrom::Error"],[955,"U,T"],[958,"U"],[965,""],[978,"V"],[985,""],[1047,"B,E,P,T"],[1049,""],[1051,"T"],[1055,""],[1057,"T"],[1058,""],[1059,"T"],[1069,""],[1073,"K"],[1076,""],[1079,"T"],[1081,""],[1084,"U"],[1086,"B,E,P,T"],[1088,""],[1089,"T"],[1090,""],[1091,"U,T"],[1092,""],[1093,"U,T"],[1094,"TryFromPrimitive::Primitive"],[1095,"U"],[1097,""],[1100,"V"],[1102,""],[1117,"B,E,P,T"],[1118,""],[1120,"T"],[1122,""],[1123,"T"],[1128,""],[1133,"T"],[1134,""],[1137,"U"],[1138,"B,E,P,T"],[1139,""],[1141,"U,T"],[1142,"U"],[1143,""],[1145,"V"],[1146,""],[1194,"B,E,P,T"],[1198,""],[1200,"T"],[1208,""],[1212,"T"],[1215,""],[1218,"T"],[1230,""],[1231,"T"],[1239,""],[1248,"K"],[1257,""],[1262,"T"],[1263,""],[1265,"T"],[1269,""],[1274,"U"],[1278,"B,E,P,T"],[1282,""],[1285,"T"],[1288,""],[1289,"U,T"],[1293,"U"],[1297,""],[1303,"V"],[1307,""],[1349,"B,E,P,T"],[1351,""],[1353,"T"],[1357,""],[1359,"T"],[1360,""],[1361,"T"],[1367,""],[1368,"T"],[1372,""],[1378,"T"],[1379,""],[1382,"T"],[1383,""],[1386,"U"],[1388,""],[1389,"B,E,P,T"],[1391,""],[1392,"T"],[1393,""],[1394,"U,T"],[1396,"U"],[1398,""],[1401,"V"],[1403,""],[1453,"B,E,P,T"],[1468,""],[1474,"T"],[1504,""],[1516,"T"],[1519,""],[1522,"T"],[1567,""],[1570,"EC,EA"],[1571,""],[1572,"T"],[1575,"Loader,Deref::Target"],[1576,"T"],[1603,""],[1625,"K"],[1628,""],[1632,"Loader"],[1633,"EC,EA"],[1635,""],[1638,"EC,EA"],[1639,""],[1641,"EC,EA"],[1642,""],[1647,"T"],[1661,""],[1662,"T"],[1663,""],[1677,"Loader"],[1678,""],[1690,"U"],[1705,""],[1713,"B,E,P,T"],[1728,""],[1735,"Loader"],[1737,""],[1744,"Loader"],[1745,""],[1748,"EC,EA"],[1749,""],[1752,"T"],[1755,""],[1757,"U,T"],[1772,"U"],[1787,""],[1806,"V"],[1821,""]]}]]')); +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":"PPEPGTFIFFEFFFFRKNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNOCCNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNNNNMNNNNCCNOCNNNNNNNNNNNNNNMCNNONONNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNOOOOOOOOSSSSCCSSSHHHHSSHHHPFPKFGFKGTPPFFPPGPPPFPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNCNNNNNONNNNNNNNNNNCNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOFFSSNNNNNN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NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNONHHNNNNNNNNN","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"],[347,"iroh::KeyParsingError"],[355,"iroh::defaults"],[361,"iroh::defaults::prod"],[368,"iroh::defaults::staging"],[373,"iroh::discovery"],[707,"iroh::discovery::DiscoveryError"],[716,"iroh::discovery::IntoDiscoveryError"],[720,"iroh::discovery::ParseError"],[738,"iroh::discovery::dns"],[785,"iroh::discovery::mdns"],[871,"iroh::discovery::mdns::DiscoveryEvent"],[874,"iroh::discovery::pkarr"],[1048,"iroh::discovery::pkarr::PkarrError"],[1055,"iroh::discovery::pkarr::dht"],[1116,"iroh::discovery::static_provider"],[1152,"iroh::dns"],[1199,"iroh::endpoint"],[3260,"iroh::endpoint::AddNodeAddrError"],[3267,"iroh::endpoint::AlpnError"],[3274,"iroh::endpoint::BindError"],[3277,"iroh::endpoint::ConnectError"],[3283,"iroh::endpoint::ConnectWithOptsError"],[3294,"iroh::endpoint::GetMappingAddressError"],[3302,"iroh::endpoint::Source"],[3304,"iroh::metrics"],[3488,"iroh::net_report"],[3693,"iroh::discovery"],[3694,"iroh::node_info"],[3695,"iroh::discovery"],[3696,"iroh::node_info"],[3707,"iroh::discovery"],[3709,"iroh::node_info"],[3710,"iroh::discovery"],[3711,"iroh::node_info"],[3712,"iroh::discovery"],[3713,"iroh::node_info"],[3740,"iroh::discovery"],[3741,"iroh::node_info"],[3773,"iroh::discovery"],[3774,"iroh::node_info"],[3799,"iroh::node_info::DecodingError"],[3808,"iroh::node_info::EncodingError"],[3814,"iroh::discovery::ParseError"],[3832,"iroh::protocol"],[3962,"iroh::protocol::AcceptError"],[3967,"iroh::test_utils"],[4015,"dyn_clone::sealed"],[4016,"tower_http::follow_redirect::policy::and"],[4017,"tower_http::follow_redirect::policy"],[4018,"iroh_base::key"],[4019,"core::error"],[4020,"backtrace::capture"],[4021,"core::option"],[4022,"iroh_base::relay_url"],[4023,"iroh_base::node_addr"],[4024,"iroh_relay::relay_map"],[4025,"core::cmp"],[4026,"async_compat"],[4027,"core::result"],[4028,"serde::de"],[4029,"core::net::socket_addr"],[4030,"core::iter::traits::iterator"],[4031,"alloc::collections::btree::set"],[4032,"core::fmt"],[4033,"ed25519_dalek::verifying"],[4034,"signature::error"],[4035,"data_encoding"],[4036,"ed25519_dalek::signing"],[4037,"iroh_base::ticket::node"],[4038,"iroh_relay::node_info"],[4039,"url"],[4040,"core::iter::traits::collect"],[4041,"rand_core"],[4042,"n0_watcher"],[4043,"core::clone"],[4044,"alloc::sync"],[4045,"core::hash"],[4046,"core::ops::function"],[4047,"core::marker"],[4048,"tower_http::follow_redirect::policy::or"],[4049,"core::task::wake"],[4050,"core::task::poll"],[4051,"serde::ser"],[4052,"ed25519"],[4053,"alloc::string"],[4054,"alloc::collections"],[4055,"core::any"],[4056,"n0_snafu::spantrace"],[4057,"iroh_relay::dns"],[4058,"alloc::boxed"],[4059,"pkarr::signed_packet"],[4060,"alloc::vec"],[4061,"futures_lite::stream"],[4062,"core::str::error"],[4063,"core::convert"],[4064,"futures_core::stream"],[4065,"core::time"],[4066,"pkarr::keys"],[4067,"reqwest::error"],[4068,"http::status"],[4069,"pkarr::client"],[4070,"core::net::ip_addr"],[4071,"reqwest::dns::resolve"],[4072,"core::future::future"],[4073,"core::pin"],[4074,"iroh_quinn_proto::connection"],[4075,"iroh_quinn::connection"],[4076,"iroh_quinn_proto::config"],[4077,"iroh_quinn_proto::config::transport"],[4078,"iroh_quinn_proto::varint"],[4079,"iroh_quinn_proto::connection::stats"],[4080,"iroh::magicsock"],[4081,"iroh::magicsock::node_map::node_state"],[4082,"iroh_quinn_proto::crypto"],[4083,"iroh_quinn_proto::congestion"],[4084,"std::time"],[4085,"iroh_quinn_proto::connection::assembler"],[4086,"bytes::bytes"],[4087,"iroh_quinn_proto::connection::streams::send"],[4088,"iroh_quinn::recv_stream"],[4089,"iroh_quinn::send_stream"],[4090,"iroh_quinn_proto::connection::streams"],[4091,"iroh::magicsock::node_map"],[4092,"iroh_quinn_proto::frame"],[4093,"iroh_quinn_proto"],[4094,"iroh_quinn_proto::coding"],[4095,"bytes::buf::buf_impl"],[4096,"bytes::buf::buf_mut"],[4097,"iroh_quinn::incoming"],[4098,"iroh_quinn_proto::connection::streams::recv"],[4099,"iroh_relay::protos::common"],[4100,"ring::error::unspecified"],[4101,"iroh_quinn_proto::transport_parameters"],[4102,"iroh_quinn_proto::shared"],[4103,"iroh_quinn_proto::connection::paths"],[4104,"std::io::error"],[4105,"tokio::io::read_buf"],[4106,"std::collections::hash::map"],[4107,"rustls_pki_types"],[4108,"rustls::error"],[4109,"iroh_quinn_proto::endpoint"],[4110,"iroh_metrics::metrics"],[4111,"iroh_metrics::iterable"],[4112,"iroh_metrics::base"],[4113,"iroh::net_report::options::imp"],[4114,"iroh::net_report::probes"],[4115,"iroh::net_report::report"],[4116,"iroh::net_report::reportgen"],[4117,"rustls::client::client_conn"],[4118,"iroh::net_report::metrics"],[4119,"iroh_quinn::endpoint"],[4120,"z32"],[4121,"simple_dns::simple_dns_error"],[4122,"tokio::runtime::task::error"],[4123,"iroh::test_utils::dns_and_pkarr_servers"],[4124,"iroh_relay::server"],[4125,"iroh_relay"],[4126,"iroh_relay::defaults"]],"i":"Af0`0`l`````````En`1B`BbBdBfBh67432Al217807807785430217854302180754321754321754321743174317854302178543021785430212`778543302178543021807543144``785430212`74321777444333222111778854330022117778885554444433022211752247543217537562743807854302167854302164226``44`267854302174316`7514457543158066`5754321783021777785543021785430217830217854302161277854302144HlHnI`21210``````````````````In`0``````IlJb0``22`2J`1`3Ij3EbJdIf033627Jf562185678564738056214738056218564473214732147321774738056214738056214738056213414733805622147338056218564`047380562114732444777333222477388055662144733333880566211565633473211737856473805621473805621Kj243232`54313435849167328`3Ih3603266:78`546954359:7856995:27843695:278439:78695:2784364695:27843656565LfLhLj100210Ll000LnM`MbMdMfMh413520543210````MnMl10100110101010100101010101010110110101010Nd`0```Nb1N`10210210201121212102102102010210210222221021021210210210102110112102102102102NlNn1``K`0000````````00OdOhOj3Ob3Of3255514032514032104354324324325140325140325140325140325140325`1051403255140325140324325514032514032140343251403242132543255140325140325151403245140322OlA@`A@dA@hA@jA@lAA```AAd0AAb10100101111010101010100101010101010100010010101101001010AAh`0000000000000000000000000000000000```Jh0000000000000000000000000000000000000000000AId0````AEf``AIj`AHl`ACf``444AHf`1`AGjAH`AEh`````0`4`AEdAGf4AGl4AHb```````AIn0AHh```41AEl<0`ADj0``AId00AGn```11<``1AIh?ADb0AEj7`44AHlAEf89``76``AHf05551AGh``7```;3`AIj`AGjACf``;;65````?AH```<1AGf5``2`8`AEd<01``3````4AGl3AHb3861?40=AGbADdAFfAHdAGd>ADlAHhAHjAHl>AD`AFdACnAHnAI`AIbAIdAIfADnAIhAIjABnAIlAChAIn3ACb220?ADdADf1ADh7ADl;AE`3ACd83AMnAMlAClACjAN`AK`AGfAKbAJhAGhAGjAGlAGnAJjAH`AHbADfADbAFnAGbADdAFfAHdAGdAHfADlAHhAHjAHlACfAD`AFdACnAJnAKdAKfAHnAI`ADjAIbAIdAIfADnAIhAIjADhABnAEfAEhAEjAElAIlAC`ACbAKhACdAEdAKjAChAEnAInAGfAKbAGhAGjAGlAGnAH`AHbAHjACfADjAIbAEfAEhAEjAElAEdAEn7543210ADh00AFdAFfAMnAMlAClACjAN`AK`AGfAKbAJhAGhAGjAGlAGnAJjAH`AHbADfADbAFnAGbADdAFfAHdAGdAHfADlAHhAHjAHlACfAD`AFdACnAJnAKdAKfAHnAI`ADjAIbAIdAIfADnAIhAIjADhABnAEfAEhAEjAElAIlAC`ACbAKhACdAEdAKjAChAEnAInAMnAMlAClACjAN`AK`AGfAKbAJhAGhAGjAGlAGnAJjAH`AHbADfADbAFnAGbADdAFfAHdAGdAHfADlAHhAHjAHlACfAD`AFdACnAJnAKdAKfAHnAI`ADjAIbAIdAIfADnAIhAIjADhABnAEfAEhAEjAElAIlAC`ACbAKhACdAEdAKjAChAEnAIn>AFh?AFnAGbAGdADjAEfAEhAEjAEl=:5ADhAGfAGhAGjAGlAGnAH`AHbADb?ADdAFfAHdAGdAHfADlAHhAHjAHlACfAD`AFdACnAHnAI`AIbAIdAIfADnAIhAIjABnAIlAChAInAFlAGfAGhAGjAGlAGnAH`AHbADbAGbADdAFfAHdAGdAHfADlAHhAHjAHlACfAD`AFdACnAHnAI`AIbAIdAIfADnAIhAIjABnAIlAChAInAGfAGhAGjAGlAGnAH`AHbADbAGbADdAFfAHdAGdAHfADlAHhAHjAHlACfAD`AFdACnAHnAI`AIbAIdAIfADnAIhAIjABnAIlAChAIn3111ADb876:0876AMnAMlAClACjAN`AK`AGfAKbAJhAGhAGjAGlAGnAJjAH`AHbADfADbAFnAGbADdAFfAHdAGdAHfADlAHhAHjAHlACfAD`AFdACnAJnAKdAKfAHnAI`ADjAIbAIdAIfADnAIhAIjADhABnAEfAEhAEjAElAIlAC`ACbAKhACdAEdAKjAChAEnAInAMnAMlAClACjAN`AK`AGfAKbAJhAGhAGjAGlAGnAJjAH`AHbADfADbAFnAGbADdAFfAHdAGdAHfADlAHhAHjAHlACfAD`AFdACnAJnAKdAKfAHnAI`ADjAIbAIdAIfADnAIhAIjADhABnAEfAEhAEjAElAIlAC`ACbAKhACdAEdAKjAChAEnAInAMnAMlAClACjAN`AK`AGfAKbAJhAGhAGjAGlAGnAJjAH`AHbADfADbAFnAGbADdAFfAHdAGdAHfADlAHhAHjAHlACfAD`AFdACnAJnAKdAKfAHnAI`ADjAIbAIdAIfADnAIhAIjADhABnAEfAEhAEjAElAIlAC`ACbAKhACdAEdAKjAChAEnAInADfAFf4ABn00ADdAId1ACn54422558AGbADb3AIf81257AHdAGdAHhAHjAD`AFdAIjADhAIl`AMnAMlAClACjAN`AK`AGfAKbAJhAGhAGjAGlAGnAJjAH`AHbADfADbAFnAGbADdAFfAHdAGdAHfADlAHhAHjAHlACfAD`AFdACnAJnAKdAKfAHnAI`ADjAIbAIdAIfADnAIhAIjADhABnAEfAEhAEjAElAIlAC`ACbAKhACdAEdAKjAChAEnAInAMnAMlAClACjAN`AK`AGfAKbAJhAGhAGjAGlAGnAJjAH`AHbADfADbAFnAGbADdAFfAHdAGdAHfADlAHhAHjAHlACfAD`AFdACnAJnAKdAKfAHnAI`ADjAIbAIdAIfADnAIhAIjADhABnAEfAEhAEjAElAIlAC`ACbAKhACdAEdAKjAChAEnAInADj>=<;52AHfADlAHhAHlAIfADhABn11110AMnAMlAClACjAN`AK`AGfAKbAJh0AGhAGjAGlAGnAJj0AH`AHbADfADbAFnAGbADdAFfAHdAGdAHfADlAHhAHjAHlACfAD`AFdACnAJnAKdAKfAHnAI`ADjAIbAIdAIfADnAIhAIjADhABnAEfAEhAEjAElAIlAC`ACbAKhACdAEdAKjAChAEnAInADfADbAIdAIfAGfAGhAGjAGlAGnAH`AHb9AFnAGdAHfADlAHhAHjAHlACfAJnAHnAI`AIbAIdAIfADnAIhAIjAInAGf00AGh00AGj00AGl00AGn00AH`00AHb00ADb00AFn00AGd00AHf00ADl00AHh00AHj00AHl00ACf00AJn00AHn00AI`00AIb00AId00AIf00ADn00AIh00AIj00AIn0087AChAJjAK`AGf0AKb0AJhAGh0AGj0AGl0AGn08AH`0AHb0ADfADb0AFnAGbADdAFfAHdAGdAHf0ADlAHh0AHj0AHl0ACf0AD`AFdACnAJnAKdAKfAHn0AI`0ADj0AIb0AId0AIf0ADnAIh0AIjADhABnAEf0AEh0AEj0AEl0AIlAC`ACbAKhACdAEd0AKjAChAEn0AIn`AIbAHd0AHnAMnAMlAClACjAN`AK`AGf0AKbAJhAGh0AGj000AGl0AGn0AJjAH`000AHb0ADfADb00000AFnAGbADdAFfAHdAGdAHfADlAHhAHjAHlACf00AD`AFdACnAJnAKd0AKfAHn0AI`ADjAIb000AIdAIf0ADnAIhAIjADhABnAEf0AEh00AEjAElAIlAC`ACbAKhACdAEd0AKjAChAEnAInAGfAGhAGjAGlAGnAH`AHbADbAGbADdAFfAHdAGdAHfADlAHhAHjAHlACfAD`AFdACnAHnAI`AIbAIdAIfADnAIhAIjABnAIlAChAInADb00ACd3ADd2AHl;:9AJhAJjACb4AGfAKbAGhAGjAGlAGnAH`AHbAHjACfADjAIbAEfAEhAEjAElAEdAEnACn0AIfAMnAMlAClACjAN`AK`AGfAKbAJhAGhAGjAGlAGnAJjAH`AHbADfADbAFnAGbADdAFfAHdAGdAHfADlAHhAHjAHlACfAD`AFdACnAJnAKdAKfAHnAI`ADjAIbAIdAIfADnAIhAIjADhABnAEfAEhAEjAElAIlAC`ACbAKhACdAEdAKjAChAEnAInALlADf0AFlAIfADhAFdAMnAMlAClACjAN`AK`AGfAKbAJhAGhAGjAGlAGnAJjAH`AHbADfADbAFnAGbADdAFfAHdAGdAHfADlAHhAHjAHlACfAD`AFdACnAJnAKdAKfAHnAI`ADjAIbAIdAIfADnAIhAIjADhABnAEfAEhAEjAElAIlAC`ACbAKhACdAEdAKjAChAEnAIn5AFlAMnAMlAClACjAN`>=<;9AKbADbAGbAJhAK`ABnADfADhADl0030ACbAFf00AD`55ADdACh7ACn2227908AFd9:;1AIfAIl55<<5AFnAFl0000>AEb77AMnAMlAClACjAN`AK`AGfAKbAJhAGhAGjAGlAGnAJjAH`AHbADfADbAFnAGbADdAFfAHdAGdAHfADlAHhAHjAHlACfAD`AFdACnAJnAKdAKfAHnAI`ADjAIbAIdAIfADnAIhAIjADhABnAEfAEhAEjAElAIlAC`ACbAKhACdAEdAKjAChAEnAInADfADbAIfADnAIhAHdADd0ADh:71AMnAMlAClACjAN`AC`AKhACdAKjAJjAJh0111ACn02<<111ACh22AHnAI`AIbADf06ACbAInADh227AD`;ADd04ALl;:AFfADbAEb6ABn>:::33AHfADlAHhAHl4ACh0AJj16AGfAGhAGjAGlAGnAH`AHbACfADjAEfAEhAEjAElAEdAEnADlAChALl1AJhADdAJj11ADf22ACn1AGfAGhAGjAGlAGnAH`AHbADbAGbAFl:ACn0;AJj0000AOlAOnB@`1210B@bB@dB@f2210B@h00B@jB@l1010B@nBA`BAbBAd3103210BAhBAjBAl21210BAnBB``````AMhBBbBBf000000BBj1230120123012322233301230123012311201230123012301322220123001201201230123323301230123030001233111111012322200301111111111111111111122211111112013301230123012322100000123BCb```00```0BCdBCjBCfBC`BCl5432101054321054321425432154321543215505432105432105432104310543210543210431054321254355544433300055443210543215432144410543211054321223444005432154140004354321540543210543215405432144054321In`0`Ld`Eh001````22`2`210BD`210210210210210210210210Eb3213213213213322113321BDd43243243214324324320432432432432432BDfBDhBDj120210BDnBE`1010LnM`MbMdMfMh413520543210``BEf`00```0BF`BEnBEdBEhBEj3340535540534053454343434053405340534053405354053404055340555555354354053405340321334053214335043540534053540534053BFf0BFhBFj2``BFnBFl101010101010100010101010100001000``010101010","f":"`````````````````{{bd}f}00000{g{{h{ig}}}{}{}{{j{ce}}}{{j{ce}}}}0000000{{{b{l}}}{{b{{A`{n}}}}}}{b{{b{Ab}}}}0{{{b{l}}}{{b{{Ad{n}}}}}}{{{b{Af}}}{{Aj{{b{Ah}}}}}}{{{b{Al}}}{{Aj{{b{Ah}}}}}}4{b{{b{c}}}{}}0000000{{{b{An}}}{{b{Anc}}}{}}0000000{{{b{Af}}}{{Aj{{b{Ab}}}}}}{{{b{Al}}}{{Aj{{b{Ab}}}}}}{{{b{l}}}l}{{{b{B`}}}B`}{{{b{Bb}}}Bb}{{{b{Bd}}}Bd}{{{b{Bf}}}Bf}{{{b{Bh}}}Bh}{{b{b{Anc}}}f{}}00000{{bn}f}00000{{{b{l}}{b{l}}}Bj}{{{b{Bb}}{b{Bb}}}Bj}{{{b{Bd}}{b{Bd}}}Bj}{{{b{Bh}}{b{Bh}}}Bj}{{b{b{c}}}Bj{}}000{{}{{Bl{c}}}{}}0000000{{{b{An}}}{{Bl{{b{Anc}}}}}{}}0000000{b{{Bl{{b{c}}}}}{}}0000000{{{b{Bf}}{b{Bd}}}Bn}`{C`{{b{c}}}{}}{{{b{l}}}b}1111{{{b{Bd}}}b}222{C`{{b{Anc}}}{}}0000000{{{b{Af}}}{{b{Cb}}}}{{{b{Al}}}{{b{Cb}}}}{c{{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}}{b{{Ad{Kl}}}}}{{Cd{Eb{ABd{ABf}}}}}}{{{b{Jh}}{b{l}}{b{Cb}}}{{Cd{EbABf}}}}{{{b{Jh}}{b{l}}{b{Cb}}{b{{Ad{Kl}}}}}{{Cd{Eb{ABd{ABf}}}}}}{{{b{Jh}}cO`}{{Cd{{`{{Cl{}{{Ch{Kh}}}}}}AB`}}}ABb}?{g{{Gh{ig}}}{}{}{{j{ce}}}{{j{ce}}}}{{{b{Jh}}}f}{{{b{Jh}}ABh}{{ABl{{Kb{ABj}}}}}}{{{b{Jh}}{b{Ed}}BnO`}{{Cd{AAnAB`}}}}{bc{}}{c{{Cd{e}}}{}{}}{{}{{Cd{c}}}{}}{bHh}{{}c{}}{CjJh}```````````````````````````````````````````````````````````{{}b}```````````````````````````````````````````````````````````````````````````````````````````````{{bd}f}000000000000000000000000000000000{{{b{ABn}}}AC`}{ACb{{Cd{ACdACf}}}}{{{b{ACh}}}ACj}{{{b{ACh}}}ACl}{{ACb{Fd{ACn}}}{{Cd{ACdACf}}}}{{{b{AnAD`}}ADb}{{b{AnAD`}}}}{ADdKl}{{{b{AnADf}}{Aj{AD`}}}{{b{AnADf}}}}1{{ADhc}ADhKj}{{{b{ABn}}Bb{b{Cb}}}{{Cd{fADj}}}}{ADlCj}{ADnCj}{{{b{AE`}}{b{{Ad{n}}}}}{{Kb{AEb}}}}{{{b{AnADf}}Bn}{{b{AnADf}}}}{{{b{AnACd}}}{{Cd{{Kf{n}}AEd}}}}{{{b{ACh}}}{{Aj{{Kf{n}}}}}}{{ADh{Kf{{Kf{n}}}}}ADh}{g{{h{ig}}}{}{}{{j{ce}}}{{j{ce}}}}000000000000000000000000000000000000000000000000000000000000{b{{b{Ab}}}}00000000000000000{{{b{ADj}}}{{Aj{{b{Ah}}}}}}{{{b{AEf}}}{{Aj{{b{Ah}}}}}}{{{b{AEh}}}{{Aj{{b{Ah}}}}}}{{{b{AEj}}}{{Aj{{b{Ah}}}}}}{{{b{AEl}}}{{Aj{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AIn}{{{b{AFl}}}{{Kb{AFl}}}}{{b{b{Anc}}}f{}}000000000000000000000000000000000{{bn}f}000000000000000000000000000000000{{{b{ABn}}}f}{{{b{ACh}}ADb{b{{Ad{n}}}}}f}{{{b{ACh}}}{{Aj{ACf}}}}{{{b{ACh}}}ACf}{{{b{ADb}}{b{ADb}}}Bj}{{{b{AIf}}{b{AIf}}}Bj}{{{b{ADn}}{b{ADn}}}Bj}{{{b{AIh}}{b{AIh}}}Bj}{AIbAId}{{b{b{c}}}Bj{}}000{{}{{Bl{c}}}{}}000000000000000000000000000000000000000000000000000000000000{{{b{An}}}{{Bl{{b{Anc}}}}}{}}000000000000000000000000000000000000000000000000000000000000{b{{Bl{{b{c}}}}}{}}000000000000000000000000000000000000000000000000000000000000{{{b{AnADf}}{Fd{AFh}}}{{b{AnADf}}}}{AFfKl}{{{b{ACh}}}{{Kb{AFl}}}}{{{b{ABn}}Kn}{{Aj{{AJ`{AHh}}}}}}{{{b{ABn}}c{b{{Ad{n}}}}}{{Cd{AChAEh}}}{{Nf{Bb}}}}{{{b{ABn}}c{b{{Ad{n}}}}AIl}{{Cd{ACdAEf}}}{{Nf{Bb}}}}{ADdKl}{nAId}1{ACnFd}{{{b{AnADf}}C`}{{b{AnADf}}}}{AFfId}944{{{b{AnADf}}{Aj{C`}}}{{b{AnADf}}}}2{{{b{ACh}}}C`}{AGbKl}{{{b{Anc}}}{{Cd{ADbAJb}}}AJd}{{{b{Anc}}}{{Cd{AIdAJb}}}AJd}{{{b{Anc}}}{{Cd{AIfAJb}}}AJd}{{}ADf}{{}ADb}{{}AGb}{{}ADd}{{}AFf}{{}AHd}{{}AGd}{{}AHh}{{}AHj}{{}AD`}{{}AFd}{{}AIj}{{}ADh}{{}AIl}{{}AIn}{C`{{b{c}}}{}}000000000000000000000000000000000000000000000000000000000000{C`{{b{Anc}}}{}}000000000000000000000000000000000000000000000000000000000000{{{b{ADj}}}{{b{Cb}}}}{{{b{AEf}}}{{b{Cb}}}}{{{b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}{AIdAIb}777{ADbAIf}888888{ADjAEf}9{ACfAEh}{AEfAEh};;;;;;;;{ACfAEd}<<<<{{{b{c}}}c{}}000000000000000000000000000000000{LbADb}{Kl{{Cd{ADbALh}}}}{KlADb}{{{b{AnACd}}}{{Cd{{Kb{ALj}}ACf}}}}{{{b{ACh}}}{{Aj{{Kb{ALj}}}}}}{ADdn}{{{b{ADb}}{b{Anc}}}fFf}{{{b{AHl}}{b{Anc}}}fFf}{{{b{AIf}}{b{Anc}}}fFf}{{{b{ADn}}{b{Anc}}}fFf}{{{b{AIh}}{b{Anc}}}fFf}{{{b{AJh}}}AIf}{{{b{AJj}}}AIf}{ACbf}{ADdKl}{{}}00000000000000000{{{b{AnACn}}Kl}{{b{AnACn}}}}0{AIfKl}{{}C`}000000000000000000000000000000000000000000000000000000000000{{{b{ALl}}Lb{b{ALn}}}{{Cd{AM`AKf}}}}{{{b{AnADf}}Id}{{b{AnADf}}}}{{{b{AnADf}}O`}{{b{AnADf}}}}{{{b{AFl}}}Kl}{AIfAMb}{{ADhBn}ADh}{{{b{AnAFd}}O`}{{b{AnAFd}}}}{{}c{}}000000000000000000000000000000000000000000000000000000000000{ACd{{Cd{{E`{AChAKj}}ACd}}}}{{{Kb{AFl}}}{{Kb{ALj}}}}======{ACbc{}}>>>{AKbAMd}{ADbKl}{AGbKl}{{{b{AJh}}}Bn}{{{b{AK`}}}Bn}{{{b{ABn}}}Bn}{{{b{AnADf}}{Aj{O`}}}{{b{AnADf}}}}<{ADlAj}00{{{b{ABn}}Kn}{{Aj{O`}}}}1{{{b{ACb}}}{{Aj{AAn}}}}{AFfKl}00{{{b{AnAD`}}{Aj{O`}}}{{b{AnAD`}}}}{{{b{AnADf}}ADb}{{b{AnADf}}}}0{ADdKl}{{{b{ACh}}}{{Aj{C`}}}}{{{b{AnADf}}{Aj{AMf}}}{{b{AnADf}}}}{{{b{AnACn}}C`}{{b{AnACn}}}}333{{ADhC`}ADh}{{{b{ABn}}}{{b{AMh}}}}{{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ANn}}}{{b{AnACn}}}}{{{b{AnADf}}AO`}{{b{AnADf}}}}{bc{}}000000000000000000000000000000000{bHd}00000000000000000000000000{{{b{AnACn}}{Fd{AE`}}}{{b{AnACn}}}}{ACnFd}{{{b{AnACn}}{Fd{ADf}}}{{b{AnACn}}}}{{ADhADf}ADh}{c{{Cd{e}}}{}{}}00000000000000000{AOb{{Cd{ADbALh}}}}{C`{{Cd{ADbALh}}}}{Kl{{Cd{ADbALh}}}}3333333333333333333333333333333333333333333{{}{{Cd{c}}}{}}000000000000000000000000000000000000000000000000000000000000{{{ABl{{b{Anc}}}}{b{AnGj}}}Gl{}}000000{b{{Cd{HdHf}}}}00000000000000000000000000{ADnAIh}{bHh}000000000000000000000000000000000000000000000000000000000000{AHdAGb}0{{{b{AnAFd}}Id}{{b{AnAFd}}}}{{ADhIl}ADh}{ACnAOd}{{{b{AnACn}}AOd}{{b{AnACn}}}}{{}c{}}000000000000000000000000000000000000000000000000000000000000{{{b{ABn}}}{{`{{En{}{{El{{Aj{Bb}}}}}}}}}}{{{b{AFl}}}Kl}{{AIl{Kf{{Kf{n}}}}}AIl}{{{Fd{ALl}}}ACn}{{{Kf{AOf}}AOh}{{Cd{ACnAOj}}}}{{AIl{Fd{ADf}}}AIl}{{{b{AnAJj}}{b{{Ad{n}}}}}{{Cd{C`AH`}}}}{{{b{AnAJj}}{b{{Ad{n}}}}}{{Cd{fAH`}}}}{{{b{AnAJj}}{b{An{Ad{AG`}}}}}{{Cd{fAH`}}}}{{{b{AnAJj}}AG`}{{Cd{fAH`}}}}{{{b{AnAJj}}{b{An{Ad{AG`}}}}}{{Cd{AGdAH`}}}}{AOlAj}{AOnAj}{B@`Aj}{AOnC`}{AOlIb}{AOnIb}{B@`Ib}{B@bAj}{B@dAj}{B@fAj}{B@bACf}{B@bIb}{B@dIb}{B@fIb}{B@hAj}`{B@hIb}{B@jAj}{B@lAj}{B@jKb}{B@lKb}{B@jIb}{B@lIb}{B@nAj}{BA`Aj}{BAbAj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Gh{ig}}}{}{}{{j{ce}}}{{j{ce}}}}0{BFlEd}{{}{{BG`{BFl}}}}{{}{{Cd{{E`{BfBdBGb}}BGd}}}}{Bn{{Cd{{E`{BfBdBGb}}BGd}}}}{Hd{{BG`{BFl}}}}{c{{Cd{e}}}{}{}}0{{}{{Cd{c}}}{}}0{bHh}0{{}c{}}0","D":"GJl","p":[[1,"reference",null,null,1],[5,"Private",4015],[1,"unit"],[5,"And",4016],[10,"Policy",4017],[5,"PublicKey",0,4018],[1,"u8"],[1,"array"],[10,"Error",4019],[1,"slice"],[6,"KeyParsingError",0,4018],[5,"Backtrace",4020],[6,"Option",4021,null,1],[5,"RelayUrlParseError",0,4022],[0,"mut"],[5,"SecretKey",0,4018],[5,"NodeAddr",0,4023],[5,"RelayUrl",0,4022],[5,"RelayMap",0,4024],[5,"RelayNode",0,4024],[6,"Ordering",4025],[5,"Compat",4026],[1,"bool"],[1,"usize"],[1,"str"],[6,"Result",4027,null,1],[10,"Deserializer",4028],[17,"Item"],[6,"SocketAddr",4029],[10,"Iterator",4030],[5,"BTreeSet",4031],[5,"Formatter",4032],[5,"Error",4032],[10,"Display",4032],[5,"VerifyingKey",4033],[5,"Error",4034],[5,"DecodeError",4035],[5,"SigningKey",4036],[5,"NodeTicket",4037],[1,"tuple",null,null,1],[5,"NodeInfo",3773,4038],[5,"Url",4039],[10,"IntoIterator",4040],[6,"DecodingError",3774,4038],[10,"CryptoRngCore",4041],[17,"Value"],[10,"Watcher",0,4042],[10,"Clone",4043],[10,"Eq",4025],[5,"Arc",4044,null,1],[10,"Hasher",4045],[5,"InitializedFut",4042],[10,"Nullable",4042],[5,"Map",4042],[5,"Disconnected",4042],[17,"Output"],[10,"Fn",4046],[10,"Send",4047],[10,"Sync",4047],[5,"Or",4048],[5,"Context",4049],[6,"Poll",4050],[10,"Serializer",4051],[5,"Signature",4052],[5,"Stream",4042],[5,"String",4053],[5,"TryReserveError",4054],[5,"TypeId",4055],[5,"NextFut",4042],[15,"Decode",347],[15,"Key",347],[15,"DecodeInvalidLength",347],[5,"SpanTrace",4056],[1,"u16"],[5,"ConcurrentDiscovery",3773],[10,"Discovery",3773],[5,"NodeData",3773,4038],[5,"UserData",3773,4038],[6,"ParseError",3773,4038],[6,"IntoDiscoveryError",3773],[6,"DiscoveryError",3773],[5,"DiscoveryItem",3773],[5,"DiscoveryContext",3773],[5,"DnsResolver",1152,4057],[8,"Result",4032],[6,"IrohAttr",4038],[5,"TxtAttrs",4038],[6,"PkarrError",874],[5,"Box",4058,null,1],[5,"SignedPacket",4059],[5,"Vec",4060],[5,"TxtRecordData",4057],[10,"IntoDiscovery",3773],[1,"u64"],[8,"NodeId",0,4018],[8,"Boxed",4061],[1,"u32"],[6,"EncodingError",3774,4038],[15,"NoServiceConfigured",707],[15,"NoResults",707],[15,"User",707],[15,"User",716],[15,"UnexpectedFormat",3814],[15,"AttrFromString",3814],[15,"NumLabels",3814],[15,"Utf8",3814],[15,"NotAnIrohRecord",3814],[15,"DecodingError",3814],[5,"Utf8Error",4062],[5,"DnsDiscoveryBuilder",738],[5,"DnsDiscovery",738],[5,"MdnsDiscoveryBuilder",785],[5,"MdnsDiscovery",785],[6,"DiscoveryEvent",785],[10,"Into",4063,null,1],[10,"Stream",4064],[10,"Unpin",4047],[15,"Discovered",871],[15,"Expired",871],[5,"Duration",4065],[5,"PkarrPublisherBuilder",874],[5,"PkarrPublisher",874],[5,"PkarrResolverBuilder",874],[5,"PkarrResolver",874],[5,"PkarrRelayClient",874],[15,"PublicKey",1048],[6,"PublicKeyError",4066],[15,"Verify",1048],[6,"SignedPacketVerifyError",4059],[15,"HttpSend",1048],[5,"Error",4067],[15,"HttpPayload",1048],[15,"Encoding",1048],[15,"HttpRequest",1048],[5,"StatusCode",4068],[15,"InvalidRelayUrl",1048],[5,"Builder",1055],[5,"DhtDiscovery",1055],[5,"Client",4069],[5,"StaticProvider",1116],[5,"Builder",4057],[10,"Resolver",4057],[6,"IpAddr",4070],[6,"DnsError",4057],[10,"ToString",4053],[5,"StaggeredError",4057],[6,"LookupError",4057],[5,"Name",4071],[10,"Future",4072,null,1],[5,"Pin",4073],[5,"Endpoint",1199],[5,"Accept",1199],[5,"Incoming",1199],[5,"Connecting",1199],[6,"ConnectionError",1199,4074],[5,"Connection",1199],[5,"AcceptBi",1199,4075],[5,"AcceptUni",1199,4075],[5,"ServerConfig",1199,4076],[5,"AckFrequencyConfig",1199,4077],[5,"VarInt",1199,4078],[5,"FrameStats",1199,4079],[5,"TransportConfig",1199,4077],[5,"Builder",1199],[6,"AddNodeAddrError",1199,4080],[5,"DirectAddrInfo",1199,4081],[5,"DirectAddr",1199,4080],[10,"HandshakeTokenKey",1199,4082],[10,"AeadKey",1199,4082],[6,"AlpnError",1199],[6,"ConnectWithOptsError",1199],[6,"ConnectError",1199],[6,"BindError",1199],[6,"GetMappingAddressError",1199],[5,"RemoteNodeIdError",1199],[5,"SocketAddrV4",4029],[5,"SocketAddrV6",4029],[5,"MtuDiscoveryConfig",1199,4077],[5,"PathStats",1199,4079],[10,"ControllerFactory",1199,4083],[5,"Instant",4084],[10,"Controller",1199,4083],[5,"Chunk",1199,4085],[5,"Bytes",4086],[5,"UdpStats",1199,4079],[5,"Written",1199,4087],[6,"SendDatagramError",1199,4075],[6,"ReadToEndError",1199,4088],[6,"ReadError",1199,4088],[6,"ResetError",1199,4088],[6,"ReadExactError",1199,4088],[6,"WriteError",1199,4089],[6,"StoppedError",1199,4089],[5,"ConnectionStats",1199,4079],[6,"ControlMsg",1199,4081],[6,"ConnectionType",1199,4081],[5,"ClosedStream",1199,4090],[6,"Source",1199,4091],[5,"ConnectionClose",1199,4092],[5,"ApplicationClose",1199,4092],[5,"TransportError",1199],[5,"TransportErrorCode",1199],[5,"StreamId",1199,4093],[6,"DirectAddrType",1199,4080],[6,"PathSelection",1199],[5,"ConnectOptions",1199],[6,"RelayMode",1199],[5,"Direct",4042],[5,"UnexpectedEnd",4094],[10,"Buf",4095],[6,"Dir",4093],[5,"RecvStream",1199,4088],[5,"SendStream",1199,4089],[10,"BufMut",4096],[5,"ExportKeyingMaterialError",1199,4082],[5,"WeakConnectionHandle",1199,4075],[5,"RetryError",1199,4097],[5,"CryptoError",1199,4082],[5,"UnsupportedVersion",1199,4082],[5,"IncomingFuture",1199],[5,"ZeroRttAccepted",1199],[6,"ReadableError",4098],[6,"FrameType",4099],[6,"Close",4092],[5,"Unspecified",4100],[6,"Error",4101],[5,"InvalidFrame",4092],[5,"VarIntBoundsExceeded",4078],[10,"Any",4055],[10,"CryptoServerConfig",1199],[5,"ConnectionId",4102],[5,"Keys",4082],[6,"Side",4093],[5,"Incoming",4097],[5,"IdleTimeout",4077],[5,"EndpointMetrics",3304],[5,"RttEstimator",4103],[5,"OpenBi",1199,4075],[5,"OpenUni",1199,4075],[5,"ReadDatagram",1199,4075],[5,"Error",4104],[5,"ReadBuf",4105],[1,"i32"],[5,"HashMap",4106],[5,"TransportParameters",4101],[10,"Session",4082],[10,"TimeSource",4076],[1,"f32"],[1,"u128"],[5,"ValidationTokenConfig",4076],[5,"CertificateDer",4107],[6,"PrivateKeyDer",4107],[6,"Error",4108],[15,"Empty",3260],[15,"EmptyPruned",3260],[15,"OwnAddress",3260],[15,"ConnectionError",3267],[15,"Unavailable",3267],[15,"UnknownHandshake",3267],[15,"MagicSpawn",3274],[15,"Connect",3277],[15,"Connection",3277],[15,"AddNodeAddr",3283],[15,"SelfConnect",3283],[15,"NoAddress",3283],[15,"Quinn",3283],[6,"ConnectError",4109],[15,"DiscoveryStart",3294],[15,"Discover",3294],[15,"NoAddress",3294],[15,"Discovery",3302],[15,"NamedApp",3302],[5,"RelayMetrics",3304],[5,"Counter",4110],[5,"MagicsockMetrics",3304],[10,"Iterable",4111],[5,"PortmapMetrics",3304],[5,"MetricItem",4112],[10,"MetricsGroup",4112],[5,"Options",3488,4113],[6,"Probe",3488,4114],[5,"Report",3488,4115],[5,"QuicConfig",3488,4116],[5,"ClientConfig",4117],[5,"RelayLatencies",3488,4115],[5,"Metrics",3488,4118],[5,"Endpoint",4119],[5,"MaxLengthExceededError",3774,4038],[6,"SignedPacketBuildError",4059],[10,"NodeIdExt",3774,4038],[15,"InvalidEncodingZ32",3799],[15,"InvalidLength",3799],[15,"InvalidSignature",3799],[6,"Z32Error",4120],[15,"FailedBuildingPacket",3808],[15,"InvalidTxtEntry",3808],[6,"SimpleDnsError",4121],[10,"ProtocolHandler",3832],[6,"AcceptError",3832],[10,"DynProtocolHandler",3832],[5,"RouterBuilder",3832],[10,"AsRef",4063],[5,"AccessLimit",3832],[5,"Router",3832],[10,"Debug",4032],[5,"JoinError",4122],[15,"Connection",3962],[15,"MissingRemoteNodeId",3962],[15,"User",3962],[5,"DnsPkarrServer",3967,4123],[5,"CleanupDropGuard",3967],[8,"Result",4104],[5,"Server",4124],[6,"SpawnError",4124]],"r":[[0,4018],[1,4018],[2,1199],[3,4018],[4,4018],[5,4018],[6,4023],[7,4018],[8,4018],[9,4024],[10,1199],[11,4024],[12,4022],[13,4022],[14,4018],[15,4042],[16,4042],[17,4018],[18,4018],[19,4023],[20,4022],[21,4024],[22,4024],[23,4018],[24,4018],[25,4018],[26,4023],[27,4022],[28,4022],[29,4024],[30,4024],[31,4018],[32,4018],[33,4022],[34,4018],[35,4018],[36,4022],[37,4018],[38,4018],[39,4018],[40,4018],[41,4023],[42,4022],[43,4022],[44,4024],[45,4024],[46,4018],[47,4018],[48,4018],[49,4023],[50,4022],[51,4022],[52,4024],[53,4024],[54,4018],[55,4022],[56,4018],[57,4018],[58,4023],[59,4022],[60,4024],[61,4024],[62,4018],[63,4018],[64,4023],[65,4022],[66,4024],[67,4024],[68,4018],[69,4018],[70,4023],[71,4022],[72,4024],[73,4024],[74,4018],[75,4023],[76,4022],[77,4024],[78,4018],[79,4023],[80,4022],[81,4024],[82,4018],[83,4018],[84,4018],[85,4023],[86,4022],[87,4022],[88,4024],[89,4024],[90,4018],[91,4018],[92,4018],[93,4023],[94,4022],[95,4022],[96,4024],[97,4024],[98,4018],[99,4018],[100,4018],[101,4023],[102,4022],[103,4022],[104,4024],[105,4024],[106,4024],[108,4018],[109,4018],[110,4018],[111,4018],[112,4023],[113,4022],[114,4022],[115,4022],[116,4024],[117,4024],[118,4018],[119,4018],[120,4018],[121,4023],[122,4022],[123,4022],[124,4024],[125,4024],[126,4018],[127,4022],[128,4018],[129,4018],[130,4023],[131,4022],[132,4024],[133,4023],[134,4023],[137,4018],[138,4018],[139,4018],[140,4023],[141,4022],[142,4022],[143,4024],[144,4024],[145,4024],[147,4018],[148,4023],[149,4022],[150,4024],[151,4024],[152,4018],[153,4018],[154,4018],[155,4023],[156,4023],[157,4023],[158,4022],[159,4022],[160,4022],[161,4024],[162,4024],[163,4024],[164,4024],[165,4024],[166,4024],[167,4018],[168,4018],[169,4018],[170,4018],[171,4018],[172,4023],[173,4022],[174,4022],[175,4022],[176,4022],[177,4024],[178,4024],[179,4024],[180,4024],[181,4018],[182,4018],[183,4018],[184,4018],[185,4018],[186,4018],[187,4018],[188,4018],[189,4018],[190,4023],[191,4023],[192,4023],[193,4023],[194,4023],[195,4022],[196,4022],[197,4022],[198,4024],[199,4024],[200,4024],[201,4024],[202,4024],[203,4018],[204,4018],[205,4024],[206,4024],[207,4023],[208,4018],[209,4018],[210,4023],[211,4022],[212,4024],[213,4024],[214,4018],[215,4018],[216,4022],[217,4018],[218,4018],[219,4042],[220,4024],[221,4018],[222,4023],[223,4022],[224,4018],[225,4022],[226,4018],[227,4018],[228,4018],[229,4023],[230,4022],[231,4022],[232,4024],[233,4024],[234,4042],[235,4018],[236,4018],[237,4018],[238,4023],[239,4022],[240,4022],[241,4024],[242,4024],[243,4042],[244,4023],[245,4024],[246,4024],[247,4042],[250,4023],[251,4023],[252,4125],[253,4024],[254,4042],[255,4018],[256,4018],[257,4018],[258,4023],[259,4022],[260,4022],[261,4024],[262,4024],[263,4018],[264,4023],[265,4022],[266,4024],[267,4042],[269,4018],[270,4018],[271,4024],[272,4023],[273,4023],[274,4018],[275,4018],[276,4018],[277,4023],[278,4022],[279,4024],[280,4018],[281,4018],[282,4022],[283,4042],[284,4042],[286,4018],[287,4018],[288,4018],[289,4023],[290,4022],[291,4024],[292,4024],[293,4018],[294,4018],[295,4022],[296,4022],[297,4024],[298,4024],[299,4018],[300,4018],[301,4018],[302,4018],[303,4018],[304,4018],[305,4018],[306,4023],[307,4022],[308,4022],[309,4024],[310,4024],[311,4018],[312,4018],[313,4018],[314,4023],[315,4022],[316,4022],[317,4024],[318,4024],[319,4018],[320,4018],[321,4022],[322,4022],[323,4024],[324,4024],[325,4018],[326,4018],[327,4018],[328,4023],[329,4022],[330,4022],[331,4024],[332,4024],[333,4042],[334,4024],[335,4024],[336,4018],[337,4018],[338,4018],[339,4018],[340,4023],[341,4022],[342,4022],[343,4024],[344,4024],[345,4023],[346,4023],[358,4126],[373,4038],[375,4038],[382,4038],[385,4038],[386,4038],[387,4038],[388,4038],[389,4038],[390,4038],[393,4038],[394,4038],[395,4038],[396,4038],[397,4038],[401,4038],[402,4038],[403,4038],[404,4038],[405,4038],[411,4038],[414,4038],[415,4038],[418,4038],[419,4038],[420,4038],[421,4038],[427,4038],[428,4038],[429,4038],[430,4038],[436,4038],[439,4038],[440,4038],[441,4038],[442,4038],[445,4038],[446,4038],[447,4038],[450,4038],[451,4038],[452,4038],[455,4038],[456,4038],[457,4038],[458,4038],[459,4038],[460,4038],[466,4038],[467,4038],[468,4038],[469,4038],[475,4038],[476,4038],[477,4038],[478,4038],[484,4038],[485,4038],[487,4038],[488,4038],[489,4038],[490,4038],[491,4038],[498,4038],[499,4038],[500,4038],[501,4038],[502,4038],[508,4038],[511,4038],[514,4038],[515,4038],[516,4038],[517,4038],[524,4038],[525,4038],[526,4038],[528,4038],[529,4038],[530,4038],[531,4038],[532,4038],[533,4038],[534,4038],[535,4038],[536,4038],[540,4038],[541,4038],[542,4038],[543,4038],[544,4038],[545,4038],[553,4038],[554,4038],[555,4038],[556,4038],[557,4038],[558,4038],[559,4038],[560,4038],[561,4038],[562,4038],[574,4038],[575,4038],[576,4038],[577,4038],[578,4038],[582,4038],[583,4038],[584,4038],[585,4038],[588,4038],[589,4038],[590,4038],[591,4038],[597,4038],[598,4038],[599,4038],[600,4038],[608,4038],[614,4038],[615,4038],[619,4038],[621,4038],[622,4038],[623,4038],[624,4038],[630,4038],[635,4038],[639,4038],[640,4038],[641,4038],[645,4038],[647,4038],[648,4038],[649,4038],[652,4038],[653,4038],[654,4038],[657,4038],[658,4038],[659,4038],[660,4038],[661,4038],[662,4038],[668,4038],[669,4038],[670,4038],[671,4038],[677,4038],[678,4038],[681,4038],[682,4038],[683,4038],[684,4038],[690,4038],[692,4038],[693,4038],[694,4038],[695,4038],[701,4038],[702,4038],[703,4038],[704,4038],[705,4038],[706,4038],[740,4057],[741,4057],[1152,4057],[1153,4057],[1154,4057],[1155,4057],[1156,4057],[1157,4057],[1158,4057],[1159,4057],[1160,4057],[1161,4057],[1162,4057],[1163,4057],[1164,4057],[1165,4057],[1166,4057],[1167,4057],[1168,4057],[1169,4057],[1170,4057],[1171,4057],[1172,4057],[1173,4057],[1174,4057],[1175,4057],[1176,4057],[1177,4057],[1178,4057],[1179,4057],[1180,4057],[1181,4057],[1182,4057],[1183,4057],[1184,4057],[1185,4057],[1186,4057],[1187,4057],[1188,4057],[1189,4057],[1190,4057],[1191,4057],[1192,4057],[1193,4057],[1194,4057],[1195,4057],[1196,4057],[1197,4057],[1198,4057],[1202,4075],[1203,4075],[1204,4077],[1206,4080],[1207,4082],[1210,4091],[1211,4092],[1212,4074],[1218,4081],[1219,4085],[1220,4074],[1221,4090],[1222,4088],[1223,4089],[1231,4092],[1232,4074],[1233,4074],[1235,4075],[1236,4088],[1237,4088],[1238,4089],[1239,4089],[1240,4079],[1241,4081],[1242,4081],[1243,4083],[1244,4083],[1245,4082],[1249,4081],[1250,4080],[1251,4081],[1252,4080],[1253,4075],[1256,4091],[1259,4080],[1260,4080],[1262,4082],[1266,4088],[1267,4079],[1269,4082],[1272,4088],[1276,4080],[1277,4074],[1278,4078],[1279,4078],[1281,4081],[1282,4077],[1285,4091],[1288,4081],[1289,4075],[1290,4075],[1291,4080],[1294,4079],[1295,4081],[1296,4081],[1297,4080],[1298,4080],[1299,4080],[1301,4088],[1302,4075],[1303,4088],[1304,4088],[1305,4088],[1306,4088],[1307,4088],[1308,4081],[1309,4091],[1313,4088],[1314,4074],[1315,4088],[1316,4097],[1319,4091],[1321,4075],[1322,4089],[1323,4076],[1324,4091],[1326,4089],[1327,4089],[1328,4093],[1330,4074],[1331,4075],[1332,4088],[1333,4077],[1335,4074],[1337,4091],[1338,4079],[1340,4080],[1342,4075],[1343,4082],[1344,4078],[1345,4074],[1346,4075],[1347,4089],[1348,4087],[1350,4088],[1351,4088],[1352,4089],[1353,4089],[1354,4075],[1355,4088],[1356,4088],[1357,4088],[1358,4088],[1359,4089],[1360,4089],[1361,4078],[1362,4079],[1363,4079],[1364,4079],[1365,4079],[1366,4087],[1367,4081],[1368,4081],[1369,4081],[1370,4090],[1371,4091],[1372,4074],[1373,4077],[1374,4077],[1375,4076],[1376,4092],[1377,4092],[1380,4093],[1381,4080],[1382,4080],[1393,4077],[1394,4079],[1395,4077],[1396,4079],[1399,4081],[1400,4080],[1401,4082],[1402,4077],[1406,4075],[1407,4075],[1408,4075],[1409,4075],[1410,4075],[1411,4075],[1412,4075],[1413,4097],[1414,4088],[1415,4088],[1416,4088],[1417,4088],[1418,4088],[1419,4089],[1420,4089],[1421,4089],[1422,4077],[1423,4078],[1424,4085],[1425,4079],[1426,4079],[1427,4079],[1428,4079],[1429,4087],[1430,4081],[1431,4081],[1432,4081],[1433,4090],[1434,4091],[1435,4074],[1436,4077],[1437,4077],[1438,4076],[1439,4082],[1440,4082],[1441,4082],[1442,4092],[1443,4092],[1444,4080],[1447,4093],[1448,4080],[1449,4080],[1467,4075],[1468,4097],[1469,4088],[1470,4088],[1471,4088],[1472,4088],[1473,4089],[1474,4089],[1475,4090],[1476,4074],[1477,4080],[1485,4080],[1495,4077],[1496,4079],[1497,4075],[1498,4075],[1499,4075],[1500,4075],[1501,4075],[1502,4075],[1503,4075],[1504,4097],[1505,4088],[1506,4088],[1507,4088],[1508,4088],[1509,4088],[1510,4089],[1511,4089],[1512,4089],[1513,4077],[1514,4078],[1515,4085],[1516,4079],[1517,4079],[1518,4079],[1519,4079],[1520,4087],[1521,4081],[1522,4081],[1523,4081],[1524,4090],[1525,4091],[1526,4074],[1527,4077],[1528,4077],[1529,4076],[1530,4082],[1531,4082],[1532,4082],[1533,4092],[1534,4092],[1535,4080],[1538,4093],[1539,4080],[1540,4080],[1558,4075],[1559,4075],[1560,4075],[1561,4075],[1562,4075],[1563,4075],[1564,4075],[1565,4097],[1566,4088],[1567,4088],[1568,4088],[1569,4088],[1570,4088],[1571,4089],[1572,4089],[1573,4089],[1574,4077],[1575,4078],[1576,4085],[1577,4079],[1578,4079],[1579,4079],[1580,4079],[1581,4087],[1582,4081],[1583,4081],[1584,4081],[1585,4090],[1586,4091],[1587,4074],[1588,4077],[1589,4077],[1590,4076],[1591,4082],[1592,4082],[1593,4082],[1594,4092],[1595,4092],[1596,4080],[1599,4093],[1600,4080],[1601,4080],[1620,4083],[1622,4085],[1623,4079],[1624,4087],[1625,4080],[1632,4087],[1634,4075],[1635,4088],[1636,4088],[1637,4088],[1638,4088],[1639,4089],[1640,4089],[1641,4078],[1642,4079],[1643,4079],[1644,4079],[1645,4079],[1646,4087],[1647,4081],[1648,4081],[1649,4081],[1650,4090],[1651,4091],[1652,4074],[1653,4077],[1654,4077],[1655,4076],[1656,4092],[1657,4092],[1660,4093],[1661,4080],[1662,4080],[1668,4083],[1669,4075],[1670,4088],[1671,4088],[1672,4088],[1673,4088],[1674,4089],[1675,4089],[1676,4078],[1677,4079],[1678,4079],[1679,4079],[1680,4079],[1681,4087],[1682,4081],[1683,4081],[1684,4081],[1685,4090],[1686,4091],[1687,4074],[1688,4077],[1689,4077],[1690,4076],[1691,4092],[1692,4092],[1695,4093],[1696,4080],[1697,4080],[1703,4075],[1704,4088],[1705,4088],[1706,4088],[1707,4088],[1708,4089],[1709,4089],[1710,4078],[1711,4079],[1712,4079],[1713,4079],[1714,4079],[1715,4087],[1716,4081],[1717,4081],[1718,4081],[1719,4090],[1720,4091],[1721,4074],[1722,4077],[1723,4077],[1724,4076],[1725,4092],[1726,4092],[1729,4093],[1730,4080],[1731,4080],[1741,4078],[1742,4093],[1743,4080],[1744,4080],[1746,4078],[1747,4093],[1748,4080],[1749,4080],[1750,4075],[1751,4075],[1752,4075],[1753,4075],[1754,4075],[1755,4075],[1756,4075],[1757,4097],[1758,4088],[1759,4088],[1760,4088],[1761,4088],[1762,4088],[1763,4089],[1764,4089],[1765,4089],[1766,4077],[1767,4078],[1768,4085],[1769,4079],[1770,4079],[1771,4079],[1772,4079],[1773,4087],[1774,4081],[1775,4081],[1776,4081],[1777,4090],[1778,4091],[1779,4074],[1780,4077],[1781,4077],[1782,4076],[1783,4082],[1784,4082],[1785,4082],[1786,4092],[1787,4092],[1788,4080],[1791,4093],[1792,4080],[1793,4080],[1811,4075],[1812,4075],[1813,4075],[1814,4075],[1815,4075],[1816,4075],[1817,4075],[1818,4097],[1819,4088],[1820,4088],[1821,4088],[1822,4088],[1823,4088],[1824,4089],[1825,4089],[1826,4089],[1827,4077],[1828,4078],[1829,4085],[1830,4079],[1831,4079],[1832,4079],[1833,4079],[1834,4087],[1835,4081],[1836,4081],[1837,4081],[1838,4090],[1839,4091],[1840,4074],[1841,4077],[1842,4077],[1843,4076],[1844,4082],[1845,4082],[1846,4082],[1847,4092],[1848,4092],[1849,4080],[1852,4093],[1853,4080],[1854,4080],[1872,4075],[1873,4075],[1874,4075],[1875,4075],[1876,4075],[1877,4075],[1878,4075],[1879,4097],[1880,4088],[1881,4088],[1882,4088],[1883,4088],[1884,4088],[1885,4089],[1886,4089],[1887,4089],[1888,4077],[1889,4078],[1890,4085],[1891,4079],[1892,4079],[1893,4079],[1894,4079],[1895,4087],[1896,4081],[1897,4081],[1898,4081],[1899,4090],[1900,4091],[1901,4074],[1902,4077],[1903,4077],[1904,4076],[1905,4082],[1906,4082],[1907,4082],[1908,4092],[1909,4092],[1910,4080],[1913,4093],[1914,4080],[1915,4080],[1933,4077],[1934,4079],[1939,4079],[1941,4079],[1942,4076],[1943,4077],[1944,4079],[1945,4079],[1946,4079],[1947,4079],[1948,4077],[1949,4077],[1951,4079],[1952,4078],[1954,4093],[1955,4077],[1956,4078],[1957,4079],[1958,4079],[1959,4079],[1960,4079],[1961,4087],[1962,4081],[1963,4090],[1964,4077],[1965,4077],[1970,4075],[1971,4075],[1972,4075],[1973,4075],[1974,4075],[1975,4075],[1976,4075],[1977,4097],[1978,4088],[1979,4088],[1980,4088],[1981,4088],[1982,4088],[1983,4089],[1984,4089],[1985,4089],[1986,4077],[1987,4078],[1988,4085],[1989,4079],[1990,4079],[1991,4079],[1992,4079],[1993,4087],[1994,4081],[1995,4081],[1996,4081],[1997,4090],[1998,4091],[1999,4074],[2000,4077],[2001,4077],[2002,4076],[2003,4082],[2004,4082],[2005,4082],[2006,4092],[2007,4092],[2008,4080],[2011,4093],[2012,4080],[2013,4080],[2031,4075],[2032,4075],[2033,4075],[2034,4075],[2035,4075],[2036,4075],[2037,4075],[2038,4097],[2039,4088],[2040,4088],[2041,4088],[2042,4088],[2043,4088],[2044,4089],[2045,4089],[2046,4089],[2047,4077],[2048,4078],[2049,4085],[2050,4079],[2051,4079],[2052,4079],[2053,4079],[2054,4087],[2055,4081],[2056,4081],[2057,4081],[2058,4090],[2059,4091],[2060,4074],[2061,4077],[2062,4077],[2063,4076],[2064,4082],[2065,4082],[2066,4082],[2067,4092],[2068,4092],[2069,4080],[2072,4093],[2073,4080],[2074,4080],[2092,4080],[2099,4081],[2100,4081],[2101,4081],[2102,4091],[2103,4093],[2111,4075],[2112,4075],[2113,4075],[2114,4075],[2115,4075],[2116,4075],[2117,4075],[2118,4097],[2119,4088],[2120,4088],[2121,4088],[2122,4088],[2123,4088],[2124,4088],[2125,4089],[2126,4089],[2127,4089],[2128,4089],[2129,4077],[2130,4078],[2131,4085],[2132,4079],[2133,4079],[2134,4079],[2135,4079],[2136,4087],[2137,4081],[2138,4081],[2139,4081],[2140,4090],[2141,4091],[2142,4074],[2143,4077],[2144,4077],[2145,4076],[2146,4082],[2147,4082],[2148,4082],[2149,4092],[2150,4092],[2151,4080],[2154,4093],[2155,4080],[2156,4080],[2174,4077],[2175,4078],[2177,4093],[2178,4075],[2179,4088],[2180,4088],[2181,4088],[2182,4088],[2183,4089],[2184,4089],[2185,4078],[2186,4085],[2187,4087],[2188,4081],[2189,4081],[2190,4081],[2191,4090],[2192,4091],[2193,4074],[2194,4082],[2195,4092],[2196,4092],[2199,4093],[2200,4080],[2201,4080],[2204,4075],[2205,4075],[2206,4075],[2207,4088],[2208,4088],[2209,4088],[2210,4088],[2211,4088],[2212,4088],[2213,4088],[2214,4088],[2215,4088],[2216,4088],[2217,4088],[2218,4088],[2219,4089],[2220,4089],[2221,4089],[2222,4089],[2223,4089],[2224,4089],[2225,4078],[2226,4078],[2227,4078],[2228,4085],[2229,4085],[2230,4085],[2231,4087],[2232,4087],[2233,4087],[2234,4081],[2235,4081],[2236,4081],[2237,4081],[2238,4081],[2239,4081],[2240,4081],[2241,4081],[2242,4081],[2243,4090],[2244,4090],[2245,4090],[2246,4091],[2247,4091],[2248,4091],[2249,4074],[2250,4074],[2251,4074],[2252,4082],[2253,4082],[2254,4082],[2255,4092],[2256,4092],[2257,4092],[2258,4092],[2259,4092],[2260,4092],[2267,4093],[2268,4093],[2269,4093],[2270,4080],[2271,4080],[2272,4080],[2273,4080],[2274,4080],[2275,4080],[2282,4092],[2283,4092],[2285,4089],[2286,4075],[2287,4075],[2288,4075],[2289,4097],[2290,4097],[2291,4088],[2292,4088],[2293,4088],[2294,4088],[2295,4088],[2296,4088],[2297,4088],[2298,4088],[2299,4088],[2300,4089],[2301,4089],[2302,4089],[2303,4089],[2304,4089],[2305,4077],[2306,4078],[2307,4078],[2308,4085],[2309,4079],[2310,4079],[2311,4079],[2312,4079],[2313,4087],[2314,4081],[2315,4081],[2316,4081],[2317,4081],[2318,4081],[2319,4090],[2320,4090],[2321,4091],[2322,4091],[2323,4074],[2324,4074],[2325,4077],[2326,4077],[2327,4076],[2328,4082],[2329,4082],[2330,4082],[2331,4092],[2332,4092],[2333,4092],[2334,4092],[2335,4080],[2336,4080],[2341,4093],[2342,4093],[2343,4080],[2344,4080],[2345,4080],[2371,4079],[2372,4079],[2373,4092],[2374,4075],[2375,4075],[2376,4075],[2377,4075],[2378,4075],[2379,4075],[2380,4075],[2381,4075],[2382,4097],[2383,4088],[2384,4088],[2385,4088],[2386,4088],[2387,4088],[2388,4088],[2389,4088],[2390,4088],[2391,4088],[2392,4088],[2393,4088],[2394,4089],[2395,4089],[2396,4089],[2397,4089],[2398,4089],[2399,4089],[2400,4089],[2401,4077],[2402,4078],[2403,4078],[2404,4078],[2405,4078],[2406,4078],[2407,4078],[2408,4085],[2409,4079],[2410,4079],[2411,4079],[2412,4079],[2413,4087],[2414,4081],[2415,4081],[2416,4081],[2417,4090],[2418,4091],[2419,4074],[2420,4074],[2421,4074],[2422,4077],[2423,4077],[2424,4076],[2425,4082],[2426,4082],[2427,4082],[2428,4082],[2429,4092],[2430,4092],[2431,4092],[2432,4080],[2438,4093],[2439,4093],[2440,4080],[2441,4080],[2463,4075],[2464,4088],[2465,4088],[2466,4088],[2467,4088],[2468,4089],[2469,4089],[2470,4078],[2471,4079],[2472,4079],[2473,4079],[2474,4079],[2475,4087],[2476,4081],[2477,4081],[2478,4081],[2479,4090],[2480,4091],[2481,4074],[2482,4077],[2483,4077],[2484,4076],[2485,4092],[2486,4092],[2489,4093],[2490,4080],[2491,4080],[2497,4078],[2498,4078],[2499,4078],[2502,4079],[2503,4078],[2504,4091],[2505,4093],[2506,4080],[2507,4080],[2508,4088],[2509,4089],[2511,4079],[2512,4075],[2513,4097],[2514,4088],[2515,4088],[2516,4088],[2517,4088],[2518,4089],[2519,4089],[2520,4090],[2521,4074],[2522,4080],[2530,4076],[2531,4076],[2532,4093],[2533,4075],[2534,4075],[2535,4075],[2536,4075],[2537,4075],[2538,4075],[2539,4075],[2540,4097],[2541,4088],[2542,4088],[2543,4088],[2544,4088],[2545,4088],[2546,4089],[2547,4089],[2548,4089],[2549,4077],[2550,4078],[2551,4085],[2552,4079],[2553,4079],[2554,4079],[2555,4079],[2556,4087],[2557,4081],[2558,4081],[2559,4081],[2560,4090],[2561,4091],[2562,4074],[2563,4077],[2564,4077],[2565,4076],[2566,4082],[2567,4082],[2568,4082],[2569,4092],[2570,4092],[2571,4080],[2574,4093],[2575,4080],[2576,4080],[2595,4077],[2596,4077],[2597,4083],[2598,4093],[2600,4077],[2601,4075],[2602,4075],[2603,4075],[2604,4075],[2605,4075],[2606,4075],[2607,4075],[2608,4097],[2609,4088],[2610,4088],[2611,4088],[2612,4088],[2613,4088],[2614,4089],[2615,4089],[2616,4089],[2617,4077],[2618,4078],[2619,4085],[2620,4079],[2621,4079],[2622,4079],[2623,4079],[2624,4087],[2625,4081],[2626,4081],[2627,4081],[2628,4090],[2629,4091],[2630,4074],[2631,4077],[2632,4077],[2633,4076],[2634,4082],[2635,4082],[2636,4082],[2637,4092],[2638,4092],[2639,4080],[2642,4093],[2643,4080],[2644,4080],[2663,4083],[2664,4075],[2665,4075],[2666,4075],[2667,4075],[2668,4075],[2674,4097],[2675,4078],[2676,4079],[2677,4088],[2678,4075],[2680,4077],[2682,4081],[2683,4081],[2684,4081],[2686,4081],[2688,4079],[2689,4079],[2690,4079],[2691,4077],[2692,4077],[2693,4077],[2694,4079],[2696,4077],[2697,4076],[2698,4079],[2699,4079],[2700,4079],[2703,4076],[2704,4077],[2705,4077],[2706,4077],[2708,4075],[2709,4076],[2710,4093],[2712,4079],[2713,4079],[2716,4079],[2717,4085],[2718,4083],[2719,4083],[2720,4083],[2721,4083],[2722,4083],[2724,4082],[2727,4075],[2728,4075],[2729,4075],[2730,4075],[2731,4075],[2732,4075],[2733,4075],[2734,4097],[2735,4088],[2736,4088],[2737,4088],[2738,4088],[2739,4088],[2740,4089],[2741,4089],[2742,4089],[2743,4077],[2744,4078],[2745,4085],[2746,4079],[2747,4079],[2748,4079],[2749,4079],[2750,4087],[2751,4081],[2752,4081],[2753,4081],[2754,4090],[2755,4091],[2756,4074],[2757,4077],[2758,4077],[2759,4076],[2760,4082],[2761,4082],[2762,4082],[2763,4092],[2764,4092],[2765,4080],[2768,4093],[2769,4080],[2770,4080],[2788,4077],[2789,4078],[2790,4093],[2791,4080],[2792,4080],[2793,4079],[2794,4079],[2795,4079],[2798,4077],[2799,4079],[2800,4075],[2801,4075],[2802,4075],[2803,4075],[2804,4075],[2809,4089],[2810,4088],[2811,4088],[2812,4089],[2813,4089],[2814,4089],[2815,4076],[2816,4076],[2817,4089],[2820,4088],[2821,4088],[2822,4088],[2824,4088],[2825,4088],[2826,4092],[2827,4092],[2829,4077],[2830,4077],[2831,4088],[2838,4077],[2839,4089],[2840,4079],[2841,4079],[2844,4076],[2846,4079],[2847,4078],[2848,4082],[2852,4077],[2853,4077],[2854,4077],[2855,4079],[2856,4079],[2857,4081],[2858,4081],[2859,4081],[2860,4091],[2864,4089],[2867,4075],[2868,4088],[2869,4088],[2870,4088],[2871,4088],[2872,4089],[2873,4089],[2874,4074],[2875,4080],[2882,4081],[2886,4088],[2887,4079],[2888,4089],[2889,4079],[2890,4079],[2891,4077],[2892,4079],[2893,4079],[2894,4076],[2895,4077],[2896,4075],[2897,4088],[2898,4088],[2899,4088],[2900,4088],[2901,4089],[2902,4089],[2903,4078],[2904,4079],[2905,4079],[2906,4079],[2907,4079],[2908,4087],[2909,4081],[2910,4081],[2911,4081],[2912,4090],[2913,4091],[2914,4074],[2915,4077],[2916,4077],[2917,4076],[2918,4092],[2919,4092],[2922,4093],[2923,4080],[2924,4080],[2930,4075],[2931,4097],[2932,4088],[2933,4088],[2934,4088],[2935,4088],[2936,4089],[2937,4089],[2938,4078],[2939,4081],[2940,4081],[2941,4090],[2942,4091],[2943,4074],[2944,4092],[2945,4092],[2946,4080],[2949,4093],[2950,4080],[2957,4076],[2958,4076],[2959,4076],[2961,4075],[2962,4075],[2963,4075],[2964,4075],[2965,4075],[2966,4075],[2967,4075],[2968,4097],[2969,4088],[2970,4088],[2971,4088],[2972,4088],[2973,4088],[2974,4089],[2975,4089],[2976,4089],[2977,4077],[2978,4078],[2979,4078],[2980,4078],[2981,4078],[2982,4085],[2983,4079],[2984,4079],[2985,4079],[2986,4079],[2987,4087],[2988,4081],[2989,4081],[2990,4081],[2991,4090],[2992,4091],[2993,4074],[2994,4077],[2995,4077],[2996,4076],[2997,4082],[2998,4082],[2999,4082],[3000,4092],[3001,4092],[3002,4080],[3005,4093],[3006,4080],[3007,4080],[3025,4075],[3026,4075],[3027,4075],[3028,4075],[3029,4075],[3030,4075],[3031,4075],[3032,4097],[3033,4088],[3034,4088],[3035,4088],[3036,4088],[3037,4088],[3038,4089],[3039,4089],[3040,4089],[3041,4077],[3042,4078],[3043,4085],[3044,4079],[3045,4079],[3046,4079],[3047,4079],[3048,4087],[3049,4081],[3050,4081],[3051,4081],[3052,4090],[3053,4091],[3054,4074],[3055,4077],[3056,4077],[3057,4076],[3058,4082],[3059,4082],[3060,4082],[3061,4092],[3062,4092],[3063,4080],[3066,4093],[3067,4080],[3068,4080],[3086,4075],[3087,4075],[3088,4075],[3089,4075],[3090,4075],[3093,4075],[3094,4097],[3095,4088],[3096,4088],[3097,4088],[3098,4088],[3099,4089],[3100,4089],[3101,4078],[3102,4081],[3103,4081],[3104,4090],[3105,4091],[3106,4074],[3107,4092],[3108,4092],[3109,4080],[3112,4093],[3113,4080],[3120,4080],[3121,4075],[3122,4075],[3123,4075],[3124,4075],[3125,4075],[3126,4075],[3127,4075],[3128,4097],[3129,4088],[3130,4088],[3131,4088],[3132,4088],[3133,4088],[3134,4089],[3135,4089],[3136,4089],[3137,4077],[3138,4078],[3139,4085],[3140,4079],[3141,4079],[3142,4079],[3143,4079],[3144,4087],[3145,4081],[3146,4081],[3147,4081],[3148,4090],[3149,4091],[3150,4074],[3151,4077],[3152,4077],[3153,4076],[3154,4082],[3155,4082],[3156,4082],[3157,4092],[3158,4092],[3159,4080],[3162,4093],[3163,4080],[3164,4080],[3182,4079],[3183,4079],[3184,4077],[3186,4076],[3187,4076],[3188,4075],[3189,4075],[3190,4075],[3191,4075],[3192,4075],[3193,4075],[3194,4075],[3195,4097],[3196,4088],[3197,4088],[3198,4088],[3199,4088],[3200,4088],[3201,4089],[3202,4089],[3203,4089],[3204,4077],[3205,4078],[3206,4085],[3207,4079],[3208,4079],[3209,4079],[3210,4079],[3211,4087],[3212,4081],[3213,4081],[3214,4081],[3215,4090],[3216,4091],[3217,4074],[3218,4077],[3219,4077],[3220,4076],[3221,4082],[3222,4082],[3223,4082],[3224,4092],[3225,4092],[3226,4080],[3229,4093],[3230,4080],[3231,4080],[3250,4083],[3252,4076],[3253,4076],[3255,4089],[3256,4089],[3257,4089],[3258,4089],[3259,4089],[3488,4114],[3489,4118],[3490,4113],[3491,4114],[3492,4114],[3493,4114],[3494,4116],[3495,4115],[3496,4115],[3497,4114],[3498,4115],[3499,4115],[3500,4116],[3501,4113],[3502,4118],[3503,4114],[3504,4115],[3505,4115],[3506,4116],[3507,4113],[3508,4118],[3509,4113],[3510,4118],[3511,4114],[3512,4115],[3513,4115],[3514,4116],[3515,4113],[3516,4118],[3517,4114],[3518,4115],[3519,4115],[3520,4116],[3521,4113],[3522,4115],[3523,4116],[3524,4114],[3525,4115],[3526,4115],[3527,4116],[3528,4113],[3529,4114],[3530,4115],[3531,4115],[3532,4116],[3533,4113],[3534,4114],[3535,4115],[3536,4115],[3537,4116],[3538,4113],[3539,4114],[3540,4114],[3541,4118],[3542,4114],[3543,4115],[3544,4115],[3545,4116],[3546,4113],[3547,4118],[3548,4114],[3549,4115],[3550,4115],[3551,4116],[3552,4113],[3553,4118],[3554,4114],[3555,4115],[3556,4115],[3557,4116],[3558,4113],[3559,4118],[3560,4115],[3561,4115],[3562,4113],[3563,4118],[3564,4114],[3565,4115],[3566,4115],[3567,4116],[3568,4113],[3569,4118],[3570,4114],[3571,4115],[3572,4115],[3573,4116],[3574,4113],[3575,4118],[3576,4115],[3577,4115],[3578,4113],[3579,4118],[3580,4114],[3581,4115],[3582,4115],[3583,4116],[3584,4113],[3585,4116],[3586,4114],[3587,4115],[3588,4115],[3589,4114],[3590,4114],[3591,4114],[3592,4115],[3593,4115],[3594,4115],[3595,4115],[3596,4115],[3597,4115],[3598,4118],[3599,4118],[3600,4118],[3601,4114],[3602,4114],[3603,4115],[3604,4115],[3605,4115],[3606,4116],[3607,4113],[3608,4118],[3609,4114],[3610,4115],[3611,4115],[3612,4116],[3613,4113],[3614,4114],[3615,4115],[3616,4115],[3617,4116],[3618,4113],[3619,4115],[3620,4115],[3621,4115],[3622,4113],[3623,4118],[3624,4114],[3625,4115],[3626,4115],[3627,4116],[3628,4113],[3629,4113],[3630,4118],[3631,4114],[3632,4115],[3633,4115],[3634,4116],[3635,4113],[3636,4116],[3637,4116],[3638,4115],[3639,4115],[3640,4115],[3641,4115],[3642,4118],[3643,4118],[3644,4114],[3645,4115],[3646,4115],[3647,4116],[3648,4113],[3649,4114],[3650,4115],[3651,4113],[3652,4115],[3653,4118],[3654,4118],[3655,4118],[3656,4115],[3657,4115],[3658,4114],[3659,4115],[3660,4115],[3661,4116],[3662,4113],[3663,4114],[3664,4115],[3665,4118],[3666,4114],[3667,4115],[3668,4115],[3669,4116],[3670,4113],[3671,4118],[3672,4114],[3673,4115],[3674,4115],[3675,4116],[3676,4113],[3677,4114],[3678,4115],[3679,4118],[3680,4114],[3681,4115],[3682,4115],[3683,4116],[3684,4113],[3685,4115],[3686,4115],[3687,4118],[3688,4114],[3689,4115],[3690,4115],[3691,4116],[3692,4113],[3693,4038],[3694,4038],[3695,4038],[3696,4038],[3697,4038],[3698,4038],[3699,4038],[3700,4038],[3701,4038],[3702,4038],[3703,4038],[3704,4038],[3705,4038],[3706,4038],[3707,4038],[3708,4038],[3709,4038],[3710,4038],[3711,4038],[3712,4038],[3713,4038],[3714,4038],[3715,4038],[3716,4038],[3717,4038],[3718,4038],[3719,4038],[3720,4038],[3721,4038],[3722,4038],[3723,4038],[3724,4038],[3725,4038],[3726,4038],[3727,4038],[3728,4038],[3729,4038],[3730,4038],[3731,4038],[3732,4038],[3733,4038],[3734,4038],[3735,4038],[3736,4038],[3737,4038],[3738,4038],[3739,4038],[3740,4038],[3741,4038],[3742,4038],[3743,4038],[3744,4038],[3745,4038],[3746,4038],[3747,4038],[3748,4038],[3749,4038],[3750,4038],[3751,4038],[3752,4038],[3753,4038],[3754,4038],[3755,4038],[3756,4038],[3757,4038],[3758,4038],[3759,4038],[3760,4038],[3761,4038],[3762,4038],[3763,4038],[3764,4038],[3765,4038],[3766,4038],[3767,4038],[3768,4038],[3769,4038],[3770,4038],[3771,4038],[3772,4038],[3773,4038],[3774,4038],[3775,4038],[3776,4038],[3777,4038],[3778,4038],[3779,4038],[3780,4038],[3781,4038],[3782,4038],[3783,4038],[3784,4038],[3785,4038],[3786,4038],[3787,4038],[3788,4038],[3789,4038],[3790,4038],[3791,4038],[3792,4038],[3793,4038],[3794,4038],[3795,4038],[3796,4038],[3797,4038],[3798,4038],[3968,4123],[3970,4123],[3972,4123],[3974,4123],[3976,4123],[3978,4123],[3980,4123],[3982,4123],[3984,4123],[3985,4123],[3986,4123],[3988,4123],[3990,4123],[3992,4123],[3994,4123],[3996,4123],[3997,4123],[3998,4123],[3999,4123],[4001,4123],[4002,4123],[4003,4123],[4006,4123],[4008,4123],[4010,4123],[4012,4123],[4014,4123]],"b":[[167,"impl-Display-for-PublicKey"],[168,"impl-Debug-for-PublicKey"],[169,"impl-Debug-for-KeyParsingError"],[170,"impl-Display-for-KeyParsingError"],[173,"impl-Display-for-RelayUrl"],[174,"impl-Debug-for-RelayUrl"],[175,"impl-Display-for-RelayUrlParseError"],[176,"impl-Debug-for-RelayUrlParseError"],[177,"impl-Display-for-RelayMap"],[178,"impl-Debug-for-RelayMap"],[179,"impl-Debug-for-RelayNode"],[180,"impl-Display-for-RelayNode"],[185,"impl-From%3CError%3E-for-KeyParsingError"],[186,"impl-From%3CDecodeError%3E-for-KeyParsingError"],[187,"impl-From%3CSigningKey%3E-for-SecretKey"],[189,"impl-From%3C%5Bu8;+32%5D%3E-for-SecretKey"],[191,"impl-From%3CNodeTicket%3E-for-NodeAddr"],[192,"impl-From%3CPublicKey%3E-for-NodeAddr"],[193,"impl-From%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[194,"impl-From%3CNodeInfo%3E-for-NodeAddr"],[198,"impl-From%3CRelayUrl%3E-for-RelayMap"],[200,"impl-From%3CRelayNode%3E-for-RelayMap"],[205,"impl-FromIterator%3CRelayUrl%3E-for-RelayMap"],[206,"impl-FromIterator%3CRelayNode%3E-for-RelayMap"],[301,"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey"],[302,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey"],[541,"impl-Display-for-UserData"],[542,"impl-Debug-for-UserData"],[544,"impl-Display-for-ParseError"],[545,"impl-Debug-for-ParseError"],[547,"impl-Display-for-IntoDiscoveryError"],[548,"impl-Debug-for-IntoDiscoveryError"],[549,"impl-Display-for-DiscoveryError"],[550,"impl-Debug-for-DiscoveryError"],[557,"impl-From%3C%26TxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[558,"impl-From%3CNodeAddr%3E-for-NodeInfo"],[559,"impl-From%3CDiscoveryItem%3E-for-NodeInfo"],[560,"impl-From%3CTxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[968,"impl-Display-for-PkarrError"],[969,"impl-Debug-for-PkarrError"],[2287,"impl-Debug-for-SendDatagramError"],[2288,"impl-Display-for-SendDatagramError"],[2289,"impl-Display-for-RetryError"],[2290,"impl-Debug-for-RetryError"],[2292,"impl-Display-for-ReadToEndError"],[2293,"impl-Debug-for-ReadToEndError"],[2294,"impl-Debug-for-ReadError"],[2295,"impl-Display-for-ReadError"],[2296,"impl-Display-for-ResetError"],[2297,"impl-Debug-for-ResetError"],[2298,"impl-Debug-for-ReadExactError"],[2299,"impl-Display-for-ReadExactError"],[2301,"impl-Debug-for-WriteError"],[2302,"impl-Display-for-WriteError"],[2303,"impl-Display-for-StoppedError"],[2304,"impl-Debug-for-StoppedError"],[2306,"impl-Debug-for-VarInt"],[2307,"impl-Display-for-VarInt"],[2314,"impl-Debug-for-ControlMsg"],[2315,"impl-Display-for-ControlMsg"],[2317,"impl-Debug-for-ConnectionType"],[2318,"impl-Display-for-ConnectionType"],[2319,"impl-Debug-for-ClosedStream"],[2320,"impl-Display-for-ClosedStream"],[2321,"impl-Debug-for-Source"],[2322,"impl-Display-for-Source"],[2323,"impl-Debug-for-ConnectionError"],[2324,"impl-Display-for-ConnectionError"],[2331,"impl-Debug-for-ConnectionClose"],[2332,"impl-Display-for-ConnectionClose"],[2333,"impl-Display-for-ApplicationClose"],[2334,"impl-Debug-for-ApplicationClose"],[2335,"impl-Debug-for-AddNodeAddrError"],[2336,"impl-Display-for-AddNodeAddrError"],[2337,"impl-Display-for-TransportError"],[2338,"impl-Debug-for-TransportError"],[2339,"impl-Display-for-TransportErrorCode"],[2340,"impl-Debug-for-TransportErrorCode"],[2341,"impl-Display-for-StreamId"],[2342,"impl-Debug-for-StreamId"],[2344,"impl-Debug-for-DirectAddrType"],[2345,"impl-Display-for-DirectAddrType"],[2349,"impl-Debug-for-ConnectWithOptsError"],[2350,"impl-Display-for-ConnectWithOptsError"],[2351,"impl-Debug-for-ConnectError"],[2352,"impl-Display-for-ConnectError"],[2353,"impl-Debug-for-BindError"],[2354,"impl-Display-for-BindError"],[2355,"impl-Debug-for-GetMappingAddressError"],[2356,"impl-Display-for-GetMappingAddressError"],[2362,"impl-Debug-for-AlpnError"],[2363,"impl-Display-for-AlpnError"],[2366,"impl-Debug-for-RemoteNodeIdError"],[2367,"impl-Display-for-RemoteNodeIdError"],[2387,"impl-From%3CResetError%3E-for-ReadError"],[2388,"impl-From%3CReadableError%3E-for-ReadError"],[2389,"impl-From%3CConnectionError%3E-for-ReadError"],[2395,"impl-From%3CConnectionError%3E-for-WriteError"],[2396,"impl-From%3CClosedStream%3E-for-WriteError"],[2397,"impl-From%3CStoppedError%3E-for-WriteError"],[2402,"impl-From%3Cu32%3E-for-VarInt"],[2403,"impl-From%3Cu16%3E-for-VarInt"],[2404,"impl-From%3Cu8%3E-for-VarInt"],[2406,"impl-From%3CStreamId%3E-for-VarInt"],[2407,"impl-From%3CFrameType%3E-for-VarInt"],[2419,"impl-From%3CTransportError%3E-for-ConnectionError"],[2420,"impl-From%3CClose%3E-for-ConnectionError"],[2433,"impl-From%3CError%3E-for-TransportError"],[2434,"impl-From%3CInvalidFrame%3E-for-TransportError"],[2435,"impl-From%3CTransportErrorCode%3E-for-TransportError"],[2448,"impl-From%3CConnectionError%3E-for-ConnectError"],[2449,"impl-From%3CConnectWithOptsError%3E-for-ConnectError"],[2810,"impl-RecvStream"],[2811,"impl-AsyncRead-for-RecvStream"],[2813,"impl-AsyncWrite-for-SendStream"],[2814,"impl-SendStream"],[2979,"impl-TryFrom%3Cu128%3E-for-VarInt"],[2980,"impl-TryFrom%3Cusize%3E-for-VarInt"],[2981,"impl-TryFrom%3Cu64%3E-for-VarInt"],[3601,"impl-Debug-for-Probe"],[3602,"impl-Display-for-Probe"],[3603,"impl-Display-for-Report"],[3604,"impl-Debug-for-Report"],[3753,"impl-Display-for-EncodingError"],[3754,"impl-Debug-for-EncodingError"],[3755,"impl-Display-for-DecodingError"],[3756,"impl-Debug-for-DecodingError"],[3757,"impl-Debug-for-MaxLengthExceededError"],[3758,"impl-Display-for-MaxLengthExceededError"],[3900,"impl-Display-for-AcceptError"],[3901,"impl-Debug-for-AcceptError"],[3906,"impl-From%3CBox%3Cdyn+Error+%2B+Send+%2B+Sync%3E%3E-for-AcceptError"],[3907,"impl-From%3CError%3E-for-AcceptError"],[3908,"impl-From%3CRemoteNodeIdError%3E-for-AcceptError"],[3909,"impl-From%3CConnectionError%3E-for-AcceptError"],[3910,"impl-From%3CClosedStream%3E-for-AcceptError"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAANkL6gADAAAACwAAABIADQAhAEkAbQAYAIoABwCUACEAuAAAALoAAgC+AAAAwQADAMkAAQDPAAAA0QAJAN4ADAAAAQsAFAEEABoBAQAgAR8ARgEHAFIBBwBcAQcAdgEAAHgBAACAAQEAhAEFAIsBBQCTASQAuQErAOYBGQADAggADQIcACsCAAAuAgQANgIAADkCAABBAgQARwIAAEkCDABgAgAAbgIJAHsCAAB+AgAAggICAIgCBACOAgMAkwISAKoCCAC1AggAxAIeAOcCBQDvAgkA+gIDAAADAQAEAwEABwMKABgDAQAbAwgAJgMfAEkDBABRAwYAWgMNAG0DBAB0AwAAegMYAJcDKADDAwwA1gMJAOYDAwDtAwYA9gMAAPgDEAALBAUAEgQFABkEBgAiBAYALAQOADwEAwBCBAAARAQBAEgEAQBMBAEATwQAAFEEAABTBAQAWQQDAF8EAABhBA0AcQQAAHMEAAB1BAAAdwQBAHoEAAB8BAQAhAQDAIoEBQCRBAQAlwQBAKYEAACoBAAAqgQEALYEAQC6BAAAvgQAAMkEAQDMBAAAzwQAANMEAADoBAAA6gQAAOwEAQD1BAAAAQUAAAcFAQAMBQAAFQUAACEFAAApBQAAPAUAAD4FAABLBSEAcwUAAHUFAAB/BVUA2gV5AFoGBgBjBiEAhgZDAM4GAwDTBroAlAcAAJYHAACbBwEAoQcQALMHhABACD4AgAhqAO8IUgBOCQAAUQkAAFQJAwBZCQAAXAkCAGEJAABjCQIAZwkBAHQJAQB7CQAAfgkAAIIJAgCICQAAjwkAAJEJAQCbCQAAoAkhAMcJBQDQCRIA5gk8AGkKCQCHCgAAiwoCAJkKAQCdCgAAqAo8AOYKAwDrCgEA8AoKAPwKAgAZCwEAKgsDADQLDgBICwAASgsBAE0LAQBRCzwAkgsRAKcLbgAyDDwAdQw8AL0MKQDrDAAA7gwAAPAMFQAJDQ4AGw0OAC4NAwAzDQkAQQ0AAEMNBQBRDQMAXA0DAGcNAgBrDQcAdA0GAH4NBgCGDQ8AmA0AAJ0NAwCqDQsAtw0LAMUNNQD8DQUAAw4VAB8OBAAoDgUAOw4HAEgOFQBgDgUAaA4KAHQOAwB8DgMAgQ4bAJ4OEgC1DgUAvw4IAMkOBQDSDicA+w4AAP0OAQACDwIACA8PABkPHwA7DwQAQw8EAEoPBgBaDwUAYw8CAGcPCgBzDwwAgg8PAJQPAwCaDwEAoQ8BAKgPBwA=","P":[[23,"B,E,P,T"],[31,""],[38,"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"],[167,""],[182,"T"],[183,""],[184,"T"],[185,""],[188,"T"],[189,""],[190,"T"],[191,""],[196,"T"],[198,""],[199,"T"],[200,""],[202,"T"],[203,""],[205,"T"],[207,""],[208,"T"],[214,""],[218,"R"],[219,"Watcher::Value"],[220,""],[221,"H"],[222,"__H"],[224,""],[234,"Watcher::Value,T,W"],[235,"U"],[243,"Watcher::Value"],[244,""],[247,"Watcher::Value,T,"],[250,""],[254,"Watcher::Value,W"],[255,"B,E,P,T"],[263,""],[267,"Watcher::Value"],[269,""],[275,"S"],[277,"__S"],[280,""],[283,"Watcher::Value"],[286,""],[287,"T"],[293,""],[300,"U,T"],[301,""],[303,"U,T"],[304,""],[305,"U,T"],[311,"U"],[319,""],[333,"Watcher::Value"],[334,""],[337,"V"],[345,""],[346,""],[400,""],[402,"B,E,P,T"],[411,""],[418,"T"],[436,""],[445,"T"],[450,""],[456,"K"],[457,"T"],[484,""],[487,"T"],[489,""],[490,"T"],[496,"Deref::Target"],[497,"T"],[500,""],[501,"T"],[508,""],[528,"K"],[540,""],[553,"T"],[554,""],[555,"T"],[557,""],[562,"T"],[565,""],[566,"T"],[572,""],[576,"T"],[581,""],[583,""],[584,"__H"],[585,""],[597,"U"],[606,""],[621,"B,E,P,T"],[630,""],[647,"T"],[652,""],[658,"U,T"],[659,""],[660,"U,T"],[668,"U"],[677,""],[692,"V"],[701,""],[742,"B,E,P,T"],[744,"T"],[748,""],[750,"T"],[760,""],[765,"T"],[767,""],[769,"U"],[771,""],[774,"B,E,P,T"],[776,""],[777,"U,T"],[779,"U"],[781,""],[783,"V"],[790,""],[794,"B,E,P,T"],[797,"T"],[803,""],[807,"T"],[809,""],[811,"T"],[820,""],[821,"T"],[827,""],[831,"K"],[834,""],[837,"T"],[842,""],[845,"U"],[848,""],[850,"B,E,P,T"],[853,""],[855,""],[856,""],[857,"T"],[859,"U,T"],[862,"U"],[865,""],[868,"V"],[871,""],[894,"B,E,P,T"],[900,""],[902,"T"],[914,""],[922,"T"],[925,""],[928,"T"],[958,""],[975,"T"],[984,""],[991,"U"],[997,""],[1004,"B,E,P,T"],[1010,""],[1016,"T"],[1019,""],[1020,"U,T"],[1026,"U"],[1032,""],[1041,"V"],[1047,""],[1058,"B,E,P,T"],[1060,"T"],[1064,""],[1068,"T"],[1069,""],[1070,"T"],[1076,""],[1078,"T"],[1082,""],[1087,"T"],[1090,""],[1093,"U"],[1095,""],[1099,"B,E,P,T"],[1101,""],[1106,"T"],[1107,"U,T"],[1109,"U"],[1111,""],[1114,"V"],[1118,""],[1119,""],[1120,"B,E,P,T"],[1121,"T"],[1123,""],[1124,"T"],[1125,""],[1126,"T"],[1129,""],[1130,"T"],[1132,""],[1134,"T"],[1135,","],[1136,"T"],[1137,""],[1139,"U"],[1140,""],[1142,"B,E,P,T"],[1143,""],[1146,""],[1147,"T"],[1148,"U,T"],[1149,"U"],[1150,""],[1151,"V"],[1153,""],[1156,"B,E,P,T"],[1157,"T"],[1159,""],[1162,"T"],[1163,""],[1164,"T"],[1167,""],[1168,""],[1169,"T"],[1171,""],[1173,"T"],[1175,""],[1176,"U"],[1177,"T"],[1179,""],[1181,"T"],[1182,""],[1183,""],[1187,"T"],[1188,""],[1189,"B,E,P,T"],[1190,""],[1193,"T"],[1194,"U,T"],[1195,"U"],[1196,""],[1197,"V"],[1198,""],[1397,""],[1398,""],[1406,"B,E,P,T"],[1467,""],[1497,"T"],[1619,""],[1669,"T"],[1703,""],[1746,"K"],[1750,"T"],[1933,""],[1937,""],[1939,""],[1952,"B"],[1955,""],[1970,"T"],[2092,""],[2099,"__D"],[2103,""],[2104,""],[2105,""],[2175,"B"],[2178,""],[2204,"K"],[2282,""],[2374,"T"],[2381,""],[2382,"T"],[2384,""],[2385,"T"],[2387,""],[2391,"T"],[2392,""],[2393,"T"],[2395,""],[2398,"T"],[2400,""],[2401,"T"],[2402,""],[2405,"T"],[2406,""],[2408,"T"],[2419,""],[2421,"T"],[2426,""],[2427,"T"],[2429,""],[2430,"T"],[2433,""],[2436,"T"],[2439,""],[2440,"T"],[2446,""],[2447,"T"],[2448,""],[2450,"T"],[2458,""],[2459,"T"],[2497,""],[2503,"__H"],[2508,""],[2601,"U"],[2662,""],[2670,"IntoFuture::IntoFuture"],[2671,""],[2727,"B,E,P,T"],[2788,""],[2805,"Future::Output"],[2809,""],[2847,""],[2848,""],[2857,"__S"],[2861,""],[2896,"T"],[2930,""],[2961,"U,T"],[2979,""],[2982,"U,T"],[3025,"U"],[3086,"F"],[3093,""],[3188,"V"],[3249,""],[3318,"B,E,P,T"],[3322,""],[3325,"T"],[3333,""],[3337,"T"],[3338,""],[3339,"T"],[3351,""],[3358,"T"],[3366,"__D"],[3369,""],[3388,"T"],[3393,""],[3400,"U"],[3404,""],[3419,"B,E,P,T"],[3423,""],[3461,"__S"],[3464,"T"],[3465,"U,T"],[3469,"U"],[3473,""],[3484,"V"],[3497,""],[3502,"B,E,P,T"],[3508,""],[3510,"T"],[3522,""],[3529,"T"],[3534,""],[3540,"K"],[3541,"T"],[3559,""],[3563,"T"],[3575,"__D"],[3578,""],[3589,"K"],[3598,""],[3608,"T"],[3619,""],[3630,"U"],[3636,""],[3643,"B,E,P,T"],[3649,""],[3655,"__S"],[3658,"T"],[3663,""],[3665,"U,T"],[3671,"U"],[3677,""],[3687,"V"],[3698,""],[3713,"B,E,P,T"],[3716,""],[3722,"T"],[3728,""],[3731,"T"],[3740,""],[3741,"T"],[3747,""],[3760,"T"],[3763,""],[3770,"U"],[3773,""],[3774,"B,E,P,T"],[3777,""],[3784,"U,T"],[3787,"U"],[3790,""],[3796,"V"],[3799,""],[3846,","],[3847,""],[3848,"P"],[3849,"B,E,P,T"],[3853,""],[3855,"T"],[3863,""],[3866,"P"],[3867,"T"],[3869,""],[3871,"T"],[3891,""],[3902,"P"],[3903,"T"],[3906,""],[3911,"T"],[3915,""],[3920,"U"],[3924,""],[3926,"P,F"],[3927,""],[3929,"P"],[3930,""],[3931,"B,E,P,T"],[3935,""],[3939,"P"],[3940,""],[3942,"T"],[3944,""],[3945,"U,T"],[3949,"U"],[3953,""],[3958,"V"],[3962,""],[3969,"B,E,P,T"],[3971,"T"],[3985,""],[3991,"T"],[3993,""],[3995,"U"],[3997,""],[4000,"B,E,P,T"],[4002,""],[4007,"U,T"],[4009,"U"],[4011,""],[4013,"V"]]}],["iroh_base",{"t":"TPPPGTFIFFFFFINNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNONNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOPTPFGPKPNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNMNNNNNNNNNNNNOOOOOOOOOOOO","n":["BYTE_SIZE","Decode","DecodeInvalidLength","Key","KeyParsingError","LENGTH","NodeAddr","NodeId","PublicKey","RelayUrl","RelayUrlParseError","SecretKey","Signature","SignatureError","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_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"],[191,"iroh_base::KeyParsingError"],[199,"iroh_base::ticket"],[254,"iroh_base::ticket::ParseError"],[266,"iroh_base::key"],[267,"core::error"],[268,"backtrace::capture"],[269,"core::option"],[270,"iroh_base::relay_url"],[271,"ed25519"],[272,"iroh_base::node_addr"],[273,"core::cmp"],[274,"core::result"],[275,"serde::de"],[276,"core::net::socket_addr"],[277,"core::iter::traits::iterator"],[278,"alloc::collections::btree::set"],[279,"core::fmt"],[280,"ed25519_dalek::signature"],[281,"ed25519_dalek::verifying"],[282,"ed25519_dalek::errors"],[283,"data_encoding"],[284,"ed25519_dalek::signing"],[285,"iroh_base::ticket::node"],[286,"url"],[287,"core::iter::traits::collect"],[288,"signature::error"],[289,"rand_core"],[290,"core::hash"],[291,"serde::ser"],[292,"alloc::string"],[293,"alloc::vec"],[294,"core::any"],[295,"n0_snafu::spantrace"],[296,"postcard::error"]],"i":"Ahn00`b````````01Ad1203112AjAlAn3645210353642106421064210410405364210116410666644552100334666644555222111100364261664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}{{Alc}Al{{Dn{}{{Bj{Bl}}}}}}{{AlAn}Al}{EnAb}{F`Ab}{FbAb}{EnDb}{F`D`}{EnFd}{F`Fd}{FbFd}````````{d{{d{j}}}}{{{d{Ff}}}{{Ab{{d{A`}}}}}}{d{{d{c}}}{}}0{{{d{Af}}}{{d{Afc}}}{}}0{{{d{Ff}}}{{Ab{{d{j}}}}}}{{{d{Df}}}Df}{{d{d{Afc}}}B`{}}{{df}B`}{{{d{Ff}}}{{d{Bd}}}}{{{d{Bd}}}{{Bf{FhFf}}}}{c{{Bf{Df}}}Bh}{{{d{Df}}{d{Df}}}Cb}{{{d{Df}}{d{AfCd}}}Ch}0{{{d{Ff}}{d{AfCd}}}Ch}0{AlDf}{cc{}}{DbFf}{FjFf}2{{{d{{l{f}}}}}{{Bf{FhFf}}}}{{{d{{l{f}}}}}{{Bf{DfFf}}}}{{{d{Bd}}}{{Bf{Dfc}}}{}}{{}}{{}c{}}08{{{d{Df}}}{{d{Al}}}}{{{d{Fh}}}Eh}{{{d{Df}}c}BfEf}{{{d{Ff}}}{{Ab{{d{j}}}}}}{{{d{Fh}}}{{Ej{f}}}}{{{d{Df}}}{{Ej{f}}}}{dc{}}{dEh}0{c{{Bf{e}}}{}{}}0{{}{{Bf{c}}}{}}0{dEl}0{{{d{Bd}}}Ff}0{FlAb}{FnAb}{G`Ab}{GbAb}{Fld}{Gbd}{FnFj}{G`Db}{FlFd}{FnFd}{G`Fd}{GbFd}","D":"Jb","p":[[5,"PublicKey",0,266],[1,"reference",null,null,1],[1,"u8"],[1,"array"],[10,"Error",267],[1,"slice"],[6,"KeyParsingError",0,266],[5,"Backtrace",268],[6,"Option",269,null,1],[5,"RelayUrlParseError",0,270],[0,"mut"],[5,"Signature",0,271],[5,"SecretKey",0,266],[5,"NodeAddr",0,272],[5,"RelayUrl",0,270],[1,"unit"],[6,"Ordering",273],[1,"str"],[6,"Result",274,null,1],[10,"Deserializer",275],[17,"Item"],[6,"SocketAddr",276],[10,"Iterator",277],[5,"BTreeSet",278],[1,"bool"],[5,"Formatter",279],[5,"Error",279],[8,"Result",279],[10,"Display",279],[5,"InternalSignature",280],[5,"VerifyingKey",281],[8,"SignatureError",0,282],[5,"DecodeError",283],[5,"SigningKey",284],[5,"NodeTicket",199,285],[8,"NodeId",0,266],[1,"tuple",null,null,1],[5,"Url",286],[10,"IntoIterator",287],[5,"Error",288],[10,"CryptoRngCore",289],[10,"Hasher",290],[10,"Serializer",291],[5,"String",292],[5,"Vec",293],[5,"TypeId",294],[15,"Decode",191],[15,"Key",191],[15,"DecodeInvalidLength",191],[5,"SpanTrace",295],[6,"ParseError",199],[10,"Ticket",199],[6,"Error",296],[15,"Kind",254],[15,"Postcard",254],[15,"Encoding",254],[15,"Verify",254]],"r":[[0,271],[1,266],[2,266],[3,266],[4,266],[5,266],[6,272],[7,266],[8,266],[9,270],[10,270],[11,266],[12,271],[13,282],[14,266],[15,266],[16,270],[17,266],[18,266],[19,270],[20,271],[21,266],[22,266],[23,266],[24,266],[25,272],[26,270],[27,270],[28,271],[29,266],[30,266],[31,266],[32,272],[33,270],[34,270],[35,266],[36,270],[37,271],[38,266],[39,266],[40,272],[41,270],[42,271],[43,266],[44,266],[45,272],[46,270],[47,271],[48,266],[49,266],[50,272],[51,270],[52,266],[53,272],[54,270],[55,266],[56,270],[57,266],[58,270],[59,271],[60,266],[61,266],[62,272],[63,270],[64,272],[65,272],[66,271],[67,266],[68,272],[69,270],[70,271],[71,271],[72,271],[73,271],[74,266],[75,266],[76,266],[77,266],[78,266],[79,272],[80,270],[81,270],[82,270],[83,270],[84,266],[85,271],[86,271],[87,271],[88,271],[89,266],[90,266],[91,266],[92,266],[93,266],[94,266],[95,266],[96,266],[97,272],[98,272],[99,272],[100,272],[101,270],[102,270],[103,270],[104,271],[105,266],[106,266],[107,271],[108,272],[109,271],[110,271],[111,266],[112,266],[113,270],[114,266],[115,266],[116,272],[117,270],[118,266],[119,270],[120,271],[121,266],[122,266],[123,266],[124,272],[125,270],[126,270],[127,272],[128,272],[129,272],[130,266],[131,272],[132,270],[133,266],[134,266],[135,271],[136,272],[137,272],[138,271],[139,266],[140,271],[141,266],[142,266],[143,272],[144,270],[145,266],[146,266],[147,270],[149,271],[150,271],[151,266],[152,271],[153,266],[154,266],[155,272],[156,270],[157,271],[158,266],[159,266],[160,270],[161,270],[162,271],[163,271],[164,271],[165,266],[166,266],[167,266],[168,266],[169,266],[170,266],[171,272],[172,270],[173,270],[174,271],[175,266],[176,266],[177,266],[178,272],[179,270],[180,270],[181,271],[182,266],[183,266],[184,266],[185,272],[186,270],[187,270],[188,266],[189,272],[190,272],[202,285],[209,285],[211,285],[214,285],[215,285],[216,285],[219,285],[220,285],[221,285],[222,285],[225,285],[226,285],[231,285],[232,285],[234,285],[236,285],[237,285],[239,285],[242,285],[243,285],[244,285],[246,285],[248,285],[250,285]],"b":[[70,"impl-UpperHex-for-Signature"],[71,"impl-LowerHex-for-Signature"],[72,"impl-Display-for-Signature"],[73,"impl-Debug-for-Signature"],[74,"impl-Debug-for-PublicKey"],[75,"impl-Display-for-PublicKey"],[76,"impl-Display-for-KeyParsingError"],[77,"impl-Debug-for-KeyParsingError"],[80,"impl-Display-for-RelayUrl"],[81,"impl-Debug-for-RelayUrl"],[82,"impl-Display-for-RelayUrlParseError"],[83,"impl-Debug-for-RelayUrlParseError"],[85,"impl-From%3CInternalSignature%3E-for-Signature"],[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"],[91,"impl-From%3CError%3E-for-KeyParsingError"],[92,"impl-From%3CDecodeError%3E-for-KeyParsingError"],[94,"impl-From%3CSigningKey%3E-for-SecretKey"],[95,"impl-From%3C%5Bu8;+32%5D%3E-for-SecretKey"],[98,"impl-From%3CNodeTicket%3E-for-NodeAddr"],[99,"impl-From%3CPublicKey%3E-for-NodeAddr"],[100,"impl-From%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[149,"impl-Signature"],[150,"impl-SignatureEncoding-for-Signature"],[165,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey"],[166,"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey"],[221,"impl-Debug-for-NodeTicket"],[222,"impl-Display-for-NodeTicket"],[223,"impl-Display-for-ParseError"],[224,"impl-Debug-for-ParseError"],[227,"impl-From%3CDecodeError%3E-for-ParseError"],[228,"impl-From%3CError%3E-for-ParseError"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAALkAGAAQADAAQwARAFYAAgBbAAIAXwABAGQAAQBnAAAAbwADAHQABACDAAIAjQAEAJMAAQCXAAAAmQAJAKQAGADAAAcA0AAKANwABQDkAAEA6AACAPAAAQDzAAkA/wADAAQBBgA=","P":[[20,"T"],[21,""],[22,"T"],[35,""],[42,"T"],[47,""],[55,"Deref::Target"],[57,""],[59,"D"],[62,"__D"],[64,""],[88,"T"],[90,""],[93,"T"],[94,""],[96,"T"],[98,""],[101,"T"],[102,""],[103,"T"],[104,""],[108,""],[109,""],[111,"FromStr::Err"],[114,"R"],[115,"H"],[116,"__H"],[118,""],[120,"U"],[127,""],[140,"S"],[143,"__S"],[145,""],[152,"T"],[157,""],[164,"U,T"],[165,"TryFrom::Error"],[167,"U,T"],[169,"TryFrom::Error"],[170,"U,T"],[174,"U"],[181,""],[189,""],[190,""],[209,"T"],[213,""],[215,"T"],[216,""],[219,"D"],[220,""],[226,"T"],[227,""],[229,"T"],[230,""],[232,"FromStr::Err"],[233,""],[234,"U"],[236,""],[239,"S"],[240,""],[243,"T"],[244,""],[246,"U,T"],[248,"U"],[250,""]]}],["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}}}}}{}}0000{b{{Bd{{b{c}}}}}{}}0000{{}f}{{}Af}{Aj{{b{c}}}{}}0000{Aj{{b{nc}}}{}}0000{AdBf}{Ajf}0000{{{b{Al}}{b{nBh}}}Bj}{{{b{Ad}}{b{nBh}}}Bj}{cc{}}0000{{{b{Bl}}}{{C`{AlBn}}}}{{{b{Bl}}}{{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Bl}}}{{C`{EjBn}}}}{{{b{c}}}c{}}{{}{{Cd{Cb}}}}{{}Aj}{{}c{}}{g{{Cl{ig}}}{}{}{{j{ce}}}{{j{ce}}}}{bc{}}{c{{C`{e}}}{}{}}{{}{{C`{c}}}{}}{bD`}{{{b{nEj}}{b{Bl}}}{{C`{fBn}}}}{{{b{nEj}}{b{nBl}}}{{C`{fBn}}}}{{}c{}}```{g{{h{ig}}}{}{}{{j{ce}}}{{j{ce}}}}00{DlBf}{b{{b{c}}}{}}00{{{b{n}}}{{b{nc}}}{}}00{ElEn}0{ElBf}4{{}{{Bd{c}}}{}}00{{{b{n}}}{{Bd{{b{nc}}}}}{}}00{b{{Bd{{b{c}}}}}{}}00{{}F`}{{}El}{Aj{{b{c}}}{}}00{Aj{{b{nc}}}{}}00{Ajf}00{DlFb}:{{{b{F`}}{b{nBh}}}Bj}{{{b{El}}{b{nBh}}}Bj}{{{b{Dl}}{b{nBh}}}Bj}{cc{}}00{{}Aj}00{{}c{}}00{{FbBfFbBf}Dl}{g{{Cl{ig}}}{}{}{{j{ce}}}{{j{ce}}}}00{{{b{F`}}{b{Cf}}}f}{DlBf}{{{b{nF`}}Dl}f}{F`El}{F`Aj}{DlFd}{{FbBf}Fd}{ElEn}{F`Fb}{F`Bf}{c{{C`{e}}}{}{}}00{{}{{C`{c}}}{}}00{DlFb}5{bD`}00{{}c{}}00","D":"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":"FNNNNNNNNNNCCNNNNCNNNCNNNNCCNNNNNNGFPPFFFNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNOONNNNNNOONNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNOFFFFNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNOOOOONNNNNNNNNNNNNNNNNNNNNNNNGPFFFPPGPPPNNNNNNNNNOONNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFNNNNNNNNOOOOOONNNNOOOONNNOOOOOONNNNFNNNNNNNNNNHNNNNNNFNNNNNNNNNNONNNONONNNNN","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"],[375,"iroh_dns_server::metrics"],[411,"iroh_dns_server::server"],[429,"iroh_dns_server::state"],[452,"dyn_clone::sealed"],[453,"tower_http::follow_redirect::policy::and"],[454,"tower_http::follow_redirect::policy"],[455,"iroh_dns_server::store"],[456,"async_compat"],[457,"core::fmt"],[458,"pkarr::signed_packet"],[459,"core::option"],[460,"n0_snafu::error"],[461,"alloc::sync"],[462,"tower_http::follow_redirect::policy::or"],[463,"std::path"],[464,"core::convert"],[465,"hickory_proto::rr::domain::name"],[466,"hickory_proto::rr::record_type"],[467,"hickory_proto::rr::rr_set"],[468,"core::result"],[469,"core::any"],[470,"serde::de"],[471,"iroh_dns_server::http::rate_limiting"],[472,"serde::ser"],[473,"hickory_server::server::request_handler"],[474,"bytes::bytes"],[475,"alloc::string"],[476,"core::future::future"],[477,"alloc::boxed"],[478,"core::pin"],[479,"hickory_server::server::response_handler"],[480,"core::net::socket_addr"],[481,"alloc::vec"],[482,"hickory_server::authority::message_response"],[483,"hickory_proto::rr::resource"],[484,"core::iter::traits::iterator"],[485,"core::marker"],[486,"iroh_dns_server::http::tls"],[487,"alloc::collections"],[488,"iroh_metrics::iterable"],[489,"iroh_metrics::metrics"],[490,"iroh_metrics::base"]],"i":"`n000000000``0000`000`0000``000000``Cd0```CjCn1CfCh4102310423104333231042310423104223042310411202310423104322231042222310422310423231042310423104231042````DbDhDnEl321230321032132132132103210321032133332103213212032102032133333013003210321032103210321`Dd```Gb0`01110FnG`Gf4321210432104321143214321432104321043210432144432113333433210432143210004321110432121043210043213043210432130432104321`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}{{}c{}}{{nCd}n}```````{{bd}f}{g{{h{ig}}}{}{}{{j{ce}}}{{j{ce}}}}0000{CfAj}{ChAj}{b{{b{c}}}{}}0000{{{b{l}}}{{b{lc}}}{}}0000{{{b{Cj}}}Cj}{{b{b{lc}}}f{}}{{bA`}f}{{}{{Ab{c}}}{}}0000{{{b{l}}}{{Ab{{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dGh}{{Al{Gf}}}}{bc{}}000{bE`}{c{{C`{e}}}{}{}}0000{{}{{C`{c}}}{}}0000{b{{C`{E`Gj}}}}{bCb}0000{{}c{}}0000`{g{{h{ig}}}{}{}{{j{ce}}}{{j{ce}}}}{b{{b{Gl}}}}{b{{b{c}}}{}}{{{b{l}}}{{b{lc}}}{}}{{}{{Ab{c}}}{}}{{{b{l}}}{{Ab{{b{lc}}}}}{}}{b{{Ab{{b{c}}}}}{}}{{}An}{AnGn}00000{{{b{An}}}H`}{{{b{An}}H`}{{Aj{Hb}}}}{{{b{An}}{b{lAd}}}Af}{cc{}}4444{{}c{}}{{{b{An}}}{{b{Hd}}}}{g{{Bd{ig}}}{}{}{{j{ce}}}{{j{ce}}}}777777{c{{C`{e}}}{}{}}{{}{{C`{c}}}{}}{bCb}{{}c{}}`{g{{h{ig}}}{}{}{{j{ce}}}{{j{ce}}}}{b{{b{c}}}{}}{{{b{l}}}{{b{lc}}}{}}{{}{{Ab{c}}}{}}{{{b{l}}}{{Ab{{b{lc}}}}}{}}{b{{Ab{{b{c}}}}}{}}=<:{Hf{{Al{f}}}}{Cn{{Al{f}}}}1{{Cnn{B`{An}}}{{Al{Hf}}}}<;:9`{{bd}f}987{{{b{Gh}}}Gh}{{b{b{lc}}}f{}}{{bA`}f}987{GhDh}{cc{}}{{{b{c}}}c{}}{{}c{}}{GhB`}{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",452],[1,"unit"],[5,"And",453],[10,"Policy",454],[0,"mut"],[5,"ZoneStore",0,455],[1,"u8"],[5,"Compat",456],[5,"Formatter",457],[8,"Result",457],[5,"SignedPacket",458],[6,"Option",459,null,1],[8,"Result",460],[5,"Metrics",375],[5,"Arc",461,null,1],[1,"bool"],[5,"Or",462],[5,"Path",463],[10,"AsRef",464],[5,"Name",465],[6,"RecordType",466],[5,"RecordSet",467],[6,"Result",468,null,1],[5,"TypeId",469],[6,"BootstrapOption",34],[5,"MetricsConfig",34],[5,"MainlineConfig",34],[5,"StoreConfig",34],[5,"PathBuf",463],[5,"Config",34],[10,"Deserializer",470],[5,"DnsConfig",146],[6,"RateLimitConfig",241,471],[10,"Serializer",472],[5,"DnsHandler",146],[5,"Request",473],[5,"Bytes",474],[5,"Handle",146],[5,"String",475],[1,"u32"],[10,"Future",476,null,1],[5,"Box",477,null,1],[5,"Pin",478],[10,"ResponseHandler",479],[5,"DnsServer",146],[6,"SocketAddr",480],[5,"Vec",481],[1,"u16"],[5,"MessageResponse",482],[17,"Item"],[5,"Record",483],[10,"Iterator",484],[10,"Send",485],[5,"HttpConfig",241],[5,"HttpsConfig",241],[6,"CertMode",241,486],[5,"Error",457],[5,"HttpServer",241],[5,"AppState",429],[5,"TryReserveError",487],[10,"Iterable",488],[5,"Counter",489],[1,"usize"],[5,"MetricItem",490],[1,"str"],[5,"Server",411]],"r":[[0,455],[1,455],[2,455],[3,455],[4,455],[5,455],[6,455],[7,455],[8,455],[9,455],[10,455],[13,455],[14,455],[15,455],[16,455],[18,455],[19,455],[20,455],[22,455],[23,455],[24,455],[25,455],[28,455],[29,455],[30,455],[31,455],[32,455],[33,455],[241,486],[242,471],[246,486],[247,486],[248,471],[249,486],[250,471],[251,471],[252,471],[253,486],[257,471],[258,486],[264,471],[265,486],[269,471],[270,486],[274,471],[275,486],[278,471],[279,486],[282,471],[283,486],[287,471],[288,486],[292,471],[293,486],[297,471],[298,486],[301,471],[302,471],[303,471],[304,486],[308,486],[309,486],[310,486],[311,486],[312,471],[313,486],[314,486],[318,471],[319,486],[322,471],[323,486],[329,471],[330,486],[336,471],[337,486],[343,471],[344,486],[349,471],[350,486],[353,486],[355,471],[356,486],[360,471],[361,486],[364,486],[366,471],[367,486],[371,471],[372,486]],"b":[[301,"impl-Default-for-%26RateLimitConfig"],[302,"impl-Default-for-RateLimitConfig"],[313,"impl-Debug-for-CertMode"],[314,"impl-Display-for-CertMode"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAADYBKAACAAkADgAAABAAAAAYAAAAHQAEACoABQAyABsATwAIAFwABABmAAAAcQAEAHcABAB9ABQAlwAGAKAAHAC/AAMAxwADANEAAwDbAAEA3wASAP0ACAAIAQkAEwEgADUBCABDAQMAUAEEAFgBAwBeAQ4AbgEJAHkBBwCHAQIAkAEBAJgBAwCdAQUApQEAAKoBAwCvAQkAuwEAAL4BAADAAQQA","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"],[312,""],[317,"T"],[326,""],[328,"U"],[333,""],[335,"B,E,P,T"],[340,""],[343,"__S"],[347,""],[349,"T"],[353,""],[354,"U,T"],[359,"U"],[364,""],[370,"V"],[376,"B,E,P,T"],[377,""],[378,"T"],[383,""],[393,"T"],[394,""],[398,"U"],[399,""],[400,"B,E,P,T"],[401,""],[407,"U,T"],[408,"U"],[409,""],[410,"V"],[412,"B,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AX_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"],[150,"iroh_relay::client"],[398,"iroh_relay::client::ConnectError"],[426,"iroh_relay::client::DialError"],[454,"iroh_relay::client::RecvError"],[460,"iroh_relay::client::SendError"],[468,"iroh_relay::defaults"],[473,"iroh_relay::dns"],[712,"iroh_relay::dns::DnsError"],[728,"iroh_relay::dns::LookupError"],[734,"iroh_relay::http"],[738,"iroh_relay::node_info"],[991,"iroh_relay::node_info::DecodingError"],[1000,"iroh_relay::node_info::EncodingError"],[1006,"iroh_relay::node_info::ParseError"],[1024,"iroh_relay::protos"],[1029,"iroh_relay::protos::common"],[1102,"iroh_relay::protos::common::FrameTypeError"],[1107,"iroh_relay::protos::disco"],[1109,"iroh_relay::protos::handshake"],[1146,"iroh_relay::protos::handshake::Error"],[1168,"iroh_relay::protos::relay"],[1307,"iroh_relay::protos::relay::ClientToRelayMsg"],[1309,"iroh_relay::protos::relay::Error"],[1335,"iroh_relay::protos::relay::RelayToClientMsg"],[1340,"iroh_relay::quic"],[1403,"iroh_relay::quic::Error"],[1412,"iroh_relay::server"],[1821,"iroh_relay::server::CertConfig"],[1823,"iroh_relay::server::SpawnError"],[1841,"iroh_relay::server::SupervisorError"],[1853,"iroh_relay::server::testing"],[1858,"dyn_clone::sealed"],[1859,"tower_http::follow_redirect::policy::and"],[1860,"tower_http::follow_redirect::policy"],[1861,"iroh_relay::relay_map"],[1862,"core::cmp"],[1863,"async_compat"],[1864,"iroh_base::relay_url"],[1865,"iroh_relay::ping_tracker"],[1866,"core::time"],[1867,"core::result"],[1868,"serde::de"],[1869,"core::fmt"],[1870,"core::iter::traits::collect"],[1871,"alloc::sync"],[1872,"core::option"],[1873,"core::iter::traits::iterator"],[1874,"tower_http::follow_redirect::policy::or"],[1875,"serde::ser"],[1876,"alloc::string"],[1877,"alloc::collections"],[1878,"core::any"],[1879,"core::ops::function"],[1880,"core::marker"],[1881,"core::error"],[1882,"iroh_relay::client::conn"],[1883,"backtrace::capture"],[1884,"tokio_websockets::error"],[1885,"std::io::error"],[1886,"tokio::time::error"],[1887,"core::net::socket_addr"],[1888,"rustls::client::client_conn"],[1889,"iroh_base::key"],[1890,"core::convert"],[1891,"core::pin"],[1892,"core::task::wake"],[1893,"core::task::poll"],[1894,"url"],[1895,"http::status"],[1896,"hyper::error"],[1897,"n0_snafu::spantrace"],[1898,"hickory_resolver::error"],[1899,"alloc::boxed"],[1900,"alloc::vec"],[1901,"core::net::ip_addr"],[1902,"futures_lite::future"],[1903,"reqwest::dns::resolve"],[1904,"http::header::name"],[1905,"alloc::collections::btree::set"],[1906,"pkarr::signed_packet"],[1907,"iroh_base::node_addr"],[1908,"core::hash"],[1909,"z32"],[1910,"ed25519_dalek::errors"],[1911,"simple_dns::simple_dns_error"],[1912,"core::str::error"],[1913,"num_enum"],[1914,"iroh_quinn_proto::varint"],[1915,"postcard::error"],[1916,"http::header::value"],[1917,"bytes::bytes"],[1918,"iroh_quinn::connection"],[1919,"tokio::sync::watch::error"],[1920,"iroh_quinn_proto::connection"],[1921,"iroh_quinn_proto::endpoint"],[1922,"iroh_quinn::endpoint"],[1923,"iroh_relay::server::metrics"],[1924,"iroh_metrics::metrics"],[1925,"iroh_metrics::iterable"],[1926,"core::num::nonzero"],[1927,"rustls_pki_types"],[1928,"core::default"],[1929,"iroh_relay::server::resolver"],[1930,"iroh_metrics::base"],[1931,"tokio::runtime::task::error"],[1932,"rustls::crypto::signer"],[1933,"reloadable_core"],[1934,"rustls::server::server_conn"],[1935,"tokio_util::task::abort_on_drop"],[1936,"tokio_rustls_acme::state"]],"i":"`````nA`AbAn32103210321`32132132121210321032103213010`0321032121`032133213332221110332210333221333`032103213300`303212101``221`03213203210321320321230321`````Ef`EhE`022121212Ed22222``1023333Dd021430EjEnF`5476547654763210547632105476333547632105476321054763210354763210547632105476547632105544776632105544477776666321054765476321035476321030`35476321021212021354762213547654763210547632102054765476321054763210HdHfHhHjHlHnI`IbIdIf476530987654321098InJ`JbJdJfJhJjJlJnK`138762987654321045KbKd1010KfKhKj12210``````````LhFj`Kl1``1011``212`2Ld3GdLj43Kn36215405405403621540362132540Lf34732473247326514732651473265147323473651473265147326516514732777766551147322666514732226516514732651473220333303333330336514732033365147326512651473265147326512651473265147324344NjNlNnO`ObOd3351543210OfOh1010````A@f`0`A@``A@b001On````33`3`3Ol1Nb14312A@d16540635406542301654230165406223123123133542301654230165423016125423011654230116540625423016231222333111554423300166554223011661131AAd4651765341276534127232265341274333651723422654172065344127653412765417653412736534127323232AAfAAhAAj120210AB`ABb1010ABfABhABjABlABnAC`413520543210`````ACf00``0000000000ACd011000101001111010101010010111110010010101001011011001010ACjACl100``Ff0`0000000000000000000000000000000000AD`ADbADdADfADhADjADl110253065432106``AEbHb`Fd020000`22121`200021AEd13201113201320132032032013201320132001320132011320032033322200011320111320011320132013200103201132013201313201320AEj0AElAEnAF`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`AMb543210432105AMfAMhAMjAMlAMn4243210`````","f":"`````{{bd}f}00{g{{h{ig}}}{}{}{{j{ce}}}{{j{ce}}}}000{b{{b{c}}}{}}000{{{b{l}}}{{b{lc}}}{}}000`{{{b{n}}}n}{{{b{A`}}}A`}{{{b{Ab}}}Ab}{{b{b{lc}}}f{}}00{{bAd}f}00{{{b{A`}}{b{A`}}}Af}{{{b{Ab}}{b{Ab}}}Af}{{b{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{{AHn{f}}}}{{}{{H`{{Mb{AJd}}AKn}}}}{{}{{AJj{f}}}}{{}{{AIn{f}}}}","D":"C@n","p":[[1,"reference",null,null,1],[5,"Private",1858],[1,"unit"],[5,"And",1859],[10,"Policy",1860],[0,"mut"],[5,"RelayMap",0,1861],[5,"RelayNode",0,1861],[5,"RelayQuicConfig",0,1861],[1,"u8"],[6,"Ordering",1862],[5,"Compat",1863],[5,"RelayUrl",1864],[1,"bool"],[5,"PingTracker",0,1865],[5,"Duration",1866],[1,"usize"],[6,"Result",1867,null,1],[10,"Deserializer",1868],[5,"Formatter",1869],[8,"Result",1869],[17,"Item"],[10,"IntoIterator",1870],[5,"Arc",1871,null,1],[6,"Option",1872,null,1],[1,"array"],[10,"Iterator",1873],[5,"Or",1874],[1,"u16"],[10,"Serializer",1875],[5,"String",1876],[5,"TryReserveError",1877],[5,"TypeId",1878],[5,"ClientBuilder",150],[17,"Output"],[10,"Fn",1879],[10,"Send",1880],[10,"Sync",1880],[10,"Error",1881],[6,"SendError",150,1882],[5,"Backtrace",1883],[6,"RecvError",150,1882],[6,"ConnectError",150],[6,"DialError",150],[5,"Client",150],[1,"str"],[5,"ClientSink",150],[5,"ClientStream",150],[6,"Error",1884],[6,"Error",1168],[6,"Error",1109],[5,"Error",1885],[6,"DnsError",473],[5,"Elapsed",1886],[6,"SocketAddr",1887],[5,"ClientConfig",1888],[5,"SecretKey",1889],[5,"DnsResolver",473],[10,"Into",1890,null,1],[5,"Pin",1891],[5,"Context",1892],[6,"Poll",1893],[5,"Url",1894],[1,"tuple",null,null,1],[6,"ClientToRelayMsg",1168],[15,"InvalidWebsocketUrl",398],[15,"InvalidRelayUrl",398],[15,"Websocket",398],[15,"Handshake",398],[15,"Dial",398],[15,"UnexpectedUpgradeStatus",398],[15,"Upgrade",398],[15,"InvalidTlsServername",398],[15,"NoLocalAddr",398],[15,"Tls",398],[5,"StatusCode",1895],[5,"Error",1896],[5,"SpanTrace",1897],[15,"InvalidTargetPort",426],[15,"Dns",426],[15,"Timeout",426],[15,"Io",426],[15,"InvalidUrl",426],[15,"ProxyConnectInvalidStatus",426],[15,"ProxyInvalidUrl",426],[15,"ProxyConnect",426],[15,"ProxyInvalidTlsServername",426],[15,"ProxyInvalidTargetPort",426],[15,"Protocol",454],[15,"StreamError",454],[15,"StreamError",460],[15,"ExceedsMaxPacketSize",460],[15,"EmptyPacket",460],[6,"LookupError",473],[5,"StaggeredError",473],[10,"Debug",1869],[10,"Display",1869],[5,"Builder",473],[10,"Resolver",473],[6,"DnsProtocol",473],[5,"TxtRecordData",473],[5,"ResolveError",1898],[1,"slice"],[5,"Box",1899,null,1],[5,"Vec",1900],[5,"Ipv4Addr",1901],[8,"BoxIter",473],[8,"Boxed",1902],[6,"IpAddr",1901],[10,"ToString",1876],[1,"u64"],[5,"Ipv6Addr",1901],[5,"NodeInfo",738],[8,"NodeId",1889],[5,"Name",1903],[8,"Resolving",1903],[15,"Timeout",712],[15,"NoResponse",712],[15,"ResolveBoth",712],[15,"MissingHost",712],[15,"Resolve",712],[15,"InvalidResponse",712],[15,"ParseError",728],[15,"LookupFailed",728],[5,"HeaderName",1904],[5,"NodeData",738],[5,"UserData",738],[6,"EncodingError",738],[6,"DecodingError",738],[5,"MaxLengthExceededError",738],[6,"ParseError",738],[5,"BTreeSet",1905],[6,"SignedPacketBuildError",1906],[5,"NodeAddr",1907],[5,"SignedPacket",1906],[10,"Hasher",1908],[1,"u32"],[10,"NodeIdExt",738],[15,"InvalidEncodingZ32",991],[15,"InvalidLength",991],[15,"InvalidSignature",991],[6,"Z32Error",1909],[8,"SignatureError",1910],[15,"FailedBuildingPacket",1000],[15,"InvalidTxtEntry",1000],[6,"SimpleDnsError",1911],[15,"UnexpectedFormat",1006],[15,"AttrFromString",1006],[15,"NumLabels",1006],[15,"Utf8",1006],[15,"NotAnIrohRecord",1006],[15,"DecodingError",1006],[5,"Utf8Error",1912],[6,"FrameTypeError",1029],[6,"FrameType",1029],[5,"TryFromPrimitiveError",1913],[15,"UnexpectedEnd",1102],[15,"UnknownFrameType",1102],[5,"VarInt",1914],[15,"ClientAuthHeaderInvalid",1146],[15,"Websocket",1146],[15,"UnexpectedEnd",1146],[15,"FrameTypeError",1146],[15,"ServerDeniedAuth",1146],[15,"UnexpectedFrameType",1146],[15,"DeserializationError",1146],[6,"Error",1915],[5,"HeaderValue",1916],[6,"RelayToClientMsg",1168],[5,"Datagrams",1168],[5,"Bytes",1917],[10,"AsRef",1890],[15,"Datagrams",1307],[15,"UnexpectedFrame",1309],[15,"FrameTooLarge",1309],[15,"SerDe",1309],[15,"FrameTypeError",1309],[15,"InvalidPublicKey",1309],[15,"InvalidFrame",1309],[15,"InvalidFrameType",1309],[15,"InvalidProtocolMessageEncoding",1309],[15,"TooSmall",1309],[15,"Datagrams",1335],[15,"Health",1335],[15,"Restarting",1335],[6,"Error",1340],[5,"QuicClient",1340],[5,"Connection",1918],[5,"RecvError",1919],[6,"ConnectionError",1920],[6,"ConnectError",1921],[5,"Endpoint",1922],[15,"Connect",1403],[15,"Connection",1403],[15,"WatchRecv",1403],[5,"Limits",1412],[5,"Metrics",1412,1923],[5,"Counter",1924],[5,"RelayConfig",1412],[6,"AccessConfig",1412],[10,"Iterable",1925],[6,"SpawnError",1412],[6,"SupervisorError",1412],[5,"QuicConfig",1412],[5,"ClientRateLimit",1412],[8,"NonZeroU32",1926],[5,"TlsConfig",1412],[6,"CertConfig",1412],[5,"Server",1412],[5,"CertificateDer",1927],[5,"RelayMetrics",1412,1923],[6,"Access",1412],[5,"ServerConfig",1412],[10,"Default",1928],[5,"ReloadingResolver",1412,1929],[5,"MetricItem",1930],[5,"JoinError",1931],[10,"MetricsGroup",1930],[17,"Value"],[5,"CertifiedKey",1932],[10,"Loader",1933],[5,"ClientHello",1934],[5,"ServerConfig",1934],[5,"AbortOnDropHandle",1935],[15,"Manual",1821],[15,"LetsEncrypt",1821],[5,"AcmeState",1936],[15,"BindTcpListener",1823],[15,"LocalAddr",1823],[15,"QuicSpawn",1823],[15,"TlsHeaderParse",1823],[15,"BindTlsListener",1823],[15,"NoLocalAddr",1823],[5,"InvalidHeaderValue",1916],[15,"Metrics",1841],[15,"AcmeEventStreamFinished",1841],[15,"JoinError",1841],[15,"NoRelayServicesEnabled",1841],[15,"TaskCancelled",1841]],"r":[[0,1168],[1,1865],[2,1861],[3,1861],[4,1861],[5,1861],[6,1861],[7,1861],[8,1865],[9,1861],[10,1861],[11,1861],[12,1865],[13,1861],[14,1861],[15,1861],[16,1865],[17,1861],[18,1861],[19,1861],[21,1861],[22,1861],[23,1861],[24,1861],[25,1861],[26,1861],[27,1861],[28,1861],[29,1861],[30,1861],[31,1861],[32,1861],[33,1861],[34,1865],[35,1861],[36,1861],[37,1861],[38,1865],[39,1861],[40,1861],[41,1861],[42,1865],[43,1861],[44,1861],[45,1861],[46,1861],[47,1865],[48,1861],[49,1865],[51,1865],[52,1861],[53,1861],[54,1861],[55,1865],[56,1861],[57,1861],[58,1861],[59,1861],[60,1861],[62,1865],[63,1861],[64,1861],[65,1861],[66,1861],[67,1861],[68,1861],[69,1861],[70,1861],[71,1861],[72,1861],[73,1861],[74,1861],[75,1861],[76,1861],[77,1861],[78,1861],[79,1865],[80,1861],[81,1861],[82,1861],[83,1861],[84,1861],[85,1865],[86,1861],[87,1861],[88,1861],[89,1861],[90,1861],[91,1861],[92,1861],[93,1861],[94,1861],[96,1865],[97,1861],[98,1861],[99,1861],[100,1865],[101,1861],[102,1861],[103,1861],[104,1861],[105,1861],[106,1865],[107,1865],[109,1861],[110,1865],[111,1861],[112,1861],[113,1861],[114,1861],[115,1861],[116,1865],[117,1861],[120,1861],[121,1861],[122,1861],[124,1865],[125,1861],[126,1861],[127,1861],[128,1861],[129,1861],[130,1865],[131,1861],[132,1861],[133,1861],[134,1865],[135,1861],[136,1861],[137,1861],[138,1861],[139,1861],[140,1865],[141,1861],[142,1861],[143,1861],[144,1861],[145,1861],[146,1865],[147,1861],[148,1861],[149,1861],[158,1882],[159,1882],[168,1882],[174,1882],[175,1882],[176,1882],[177,1882],[185,1882],[186,1882],[193,1882],[194,1882],[197,1882],[198,1882],[201,1882],[202,1882],[209,1882],[210,1882],[217,1882],[218,1882],[224,1882],[225,1882],[232,1882],[233,1882],[240,1882],[241,1882],[249,1882],[250,1882],[257,1882],[258,1882],[265,1882],[266,1882],[269,1882],[270,1882],[277,1882],[278,1882],[279,1882],[280,1882],[289,1882],[290,1882],[291,1882],[292,1882],[293,1882],[306,1882],[307,1882],[310,1882],[311,1882],[319,1882],[320,1882],[331,1882],[332,1882],[348,1882],[349,1882],[356,1882],[357,1882],[360,1882],[361,1882],[368,1882],[369,1882],[378,1882],[379,1882],[382,1882],[383,1882],[390,1882],[391,1882],[1420,1929],[1428,1923],[1435,1923],[1437,1929],[1446,1923],[1451,1923],[1453,1923],[1454,1923],[1455,1929],[1470,1923],[1474,1923],[1475,1923],[1476,1929],[1489,1923],[1490,1923],[1491,1929],[1505,1923],[1506,1923],[1507,1923],[1513,1923],[1516,1923],[1519,1923],[1522,1923],[1523,1923],[1524,1929],[1537,1923],[1538,1923],[1539,1929],[1552,1923],[1553,1923],[1554,1929],[1567,1923],[1568,1923],[1569,1923],[1572,1923],[1573,1923],[1574,1929],[1575,1929],[1588,1923],[1589,1923],[1590,1929],[1605,1923],[1606,1923],[1607,1923],[1608,1923],[1609,1923],[1610,1923],[1611,1929],[1628,1923],[1629,1923],[1630,1923],[1631,1923],[1632,1929],[1647,1923],[1648,1923],[1649,1929],[1663,1923],[1664,1923],[1665,1923],[1674,1923],[1675,1923],[1676,1929],[1677,1929],[1690,1923],[1691,1923],[1692,1929],[1711,1923],[1712,1923],[1713,1923],[1714,1923],[1715,1929],[1728,1923],[1729,1923],[1730,1923],[1735,1929],[1736,1929],[1737,1923],[1738,1923],[1739,1923],[1740,1923],[1741,1923],[1744,1929],[1752,1923],[1757,1923],[1758,1923],[1759,1929],[1772,1923],[1773,1923],[1774,1929],[1789,1923],[1790,1923],[1791,1929],[1804,1923],[1805,1923],[1806,1923],[1807,1923],[1808,1929]],"b":[[80,"impl-Display-for-RelayMap"],[81,"impl-Debug-for-RelayMap"],[82,"impl-Display-for-RelayNode"],[83,"impl-Debug-for-RelayNode"],[86,"impl-From%3CRelayNode%3E-for-RelayMap"],[87,"impl-From%3CRelayUrl%3E-for-RelayMap"],[92,"impl-FromIterator%3CRelayUrl%3E-for-RelayMap"],[93,"impl-FromIterator%3CRelayNode%3E-for-RelayMap"],[277,"impl-Debug-for-SendError"],[278,"impl-Display-for-SendError"],[279,"impl-Debug-for-RecvError"],[280,"impl-Display-for-RecvError"],[281,"impl-Display-for-ConnectError"],[282,"impl-Debug-for-ConnectError"],[283,"impl-Debug-for-DialError"],[284,"impl-Display-for-DialError"],[291,"impl-From%3CError%3E-for-RecvError"],[293,"impl-From%3CError%3E-for-RecvError"],[294,"impl-From%3CDialError%3E-for-ConnectError"],[296,"impl-From%3CError%3E-for-ConnectError"],[297,"impl-From%3CError%3E-for-ConnectError"],[298,"impl-From%3CError%3E-for-DialError"],[299,"impl-From%3CDnsError%3E-for-DialError"],[300,"impl-From%3CElapsed%3E-for-DialError"],[599,"impl-Display-for-DnsError"],[600,"impl-Debug-for-DnsError"],[601,"impl-Display-for-LookupError"],[602,"impl-Debug-for-LookupError"],[603,"impl-Display-for-StaggeredError%3CE%3E"],[604,"impl-Debug-for-StaggeredError%3CE%3E"],[608,"impl-Debug-for-TxtRecordData"],[609,"impl-Display-for-TxtRecordData"],[610,"impl-From%3CElapsed%3E-for-DnsError"],[611,"impl-From%3CResolveError%3E-for-DnsError"],[872,"impl-Debug-for-EncodingError"],[873,"impl-Display-for-EncodingError"],[874,"impl-Debug-for-DecodingError"],[875,"impl-Display-for-DecodingError"],[877,"impl-Debug-for-UserData"],[878,"impl-Display-for-UserData"],[879,"impl-Display-for-MaxLengthExceededError"],[880,"impl-Debug-for-MaxLengthExceededError"],[882,"impl-Debug-for-ParseError"],[883,"impl-Display-for-ParseError"],[1077,"impl-Debug-for-FrameTypeError"],[1078,"impl-Display-for-FrameTypeError"],[1130,"impl-Display-for-Error"],[1131,"impl-Debug-for-Error"],[1132,"impl-From%3CFrameTypeError%3E-for-Error"],[1134,"impl-From%3CError%3E-for-Error"],[1257,"impl-Display-for-Error"],[1258,"impl-Debug-for-Error"],[1263,"impl-From%3CFrameTypeError%3E-for-Error"],[1264,"impl-From%3CError%3E-for-Error"],[1375,"impl-Display-for-Error"],[1376,"impl-Debug-for-Error"],[1379,"impl-From%3CRecvError%3E-for-Error"],[1380,"impl-From%3CConnectionError%3E-for-Error"],[1381,"impl-From%3CConnectError%3E-for-Error"],[1643,"impl-Debug-for-SpawnError"],[1644,"impl-Display-for-SpawnError"],[1645,"impl-Debug-for-SupervisorError"],[1646,"impl-Display-for-SupervisorError"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAALsFdgABAAAABgAOABYAGAAwAAEANAAJAD8AAwBEABEAVwAAAFsAAABeAAAAYQADAG8ABQB6AAEAfgAMAI0AAwCTAAMAnAAAAJ4AEACxAAcAugA+APoAKAAkAQAAJgEBACkBBAAzAQsATAEPAF0BAwBiARgAfwFVAOABAwDmAQMA7QEAAPEBHgASAgIAFwIgADkCKwBrAgAAbQIKAI8CBgCYAgAAmgIYALcCDQDJAhUA4wIEAOkCAwDyAgMA9wIDAPwCIQAfAx8AQAMUAFYDHgB2AwAAeQMAAHwDAAB+AwAAggMAAIUDCwCcAwcApwMDAKwDAgCwAwQAtwMOAMsDBgDTAwYA4AMgAAoEAAAVBCIAOgQCAD8ECgBLBAgAVwQWAG8EAgBzBAQAeQQXAJYEAQCZBAMApQQpANAEDADeBBAA8AQBAPUEBQD/BAMABAUAAAYFCwAUBQcAHgUZAD4FAQBEBRMAWQUJAGQFAgBoBQIAbgUIAHgFDACHBQAAiQUBAJAFAACTBQAAlgUCAJoFAACkBQAApgUDAK4FEwDDBR0A5QUBAOoFNQAhBiQASgYlAH4GAACBBgEAiQYEAI8GCwCwBhAAyQYAANMGAQDZBiIA/gYOAA8HDgAgBx0A","P":[[8,"B,E,P,T"],[12,"T"],[21,""],[24,"T"],[27,""],[32,"K"],[34,"T"],[46,""],[51,"T"],[59,"__D"],[62,""],[70,"K"],[79,""],[85,"T"],[86,""],[88,"T"],[90,""],[91,"T"],[94,""],[100,"U"],[104,""],[110,"B,E,P,T"],[114,""],[121,"__S"],[124,""],[125,"T"],[128,""],[130,"U,T"],[134,"U"],[138,""],[146,"V"],[183,""],[184,"S"],[185,"B,E,P,T"],[193,""],[201,"T"],[217,""],[222,"T"],[223,""],[224,"T"],[248,""],[249,"T"],[265,""],[290,"T"],[291,""],[292,"T"],[293,""],[295,"T"],[296,""],[301,"T"],[306,""],[319,"U"],[327,""],[330,""],[331,"B,E,P,T"],[339,"Sink::Error"],[343,"Stream::Item"],[345,"Sink::Error"],[347,""],[353,"Sink::Error"],[355,"T"],[356,""],[360,"U,T"],[368,"U"],[376,"S"],[378,""],[390,"V"],[398,""],[500,"B,E,P,T"],[507,""],[512,"E"],[513,"T"],[527,""],[531,"E"],[532,""],[538,"T"],[542,""],[546,"T"],[567,""],[568,""],[571,"T"],[585,""],[587,"E"],[588,""],[596,"K"],[599,""],[603,"E"],[605,""],[612,"T"],[618,""],[619,"T"],[621,""],[631,"U"],[638,""],[640,"T"],[642,""],[644,""],[645,"T"],[646,""],[647,""],[652,"T"],[653,""],[654,"B,E,P,T"],[661,""],[667,"E"],[668,"T"],[672,""],[676,"U,T"],[683,"U"],[690,""],[701,"V"],[708,""],[710,""],[711,""],[762,""],[763,"B,E,P,T"],[770,""],[779,"T"],[793,""],[801,"T"],[804,""],[808,"K"],[809,"T"],[830,""],[832,"T"],[838,"Deref::Target"],[839,"T"],[845,"Deref::Target"],[846,"T"],[848,""],[863,"K"],[872,""],[884,"T"],[885,""],[886,"T"],[888,""],[889,"T"],[891,""],[892,"T"],[893,""],[894,"T"],[895,""],[897,"FromStr::Err"],[898,""],[899,""],[900,"__H"],[901,""],[912,"U"],[919,""],[923,"B,E,P,T"],[930,""],[939,"T"],[942,""],[950,"U,T"],[954,"TryFrom::Error"],[955,"U,T"],[958,"U"],[965,""],[978,"V"],[985,""],[1047,"B,E,P,T"],[1049,""],[1051,"T"],[1055,""],[1057,"T"],[1058,""],[1059,"T"],[1069,""],[1073,"K"],[1076,""],[1079,"T"],[1081,""],[1084,"U"],[1086,"B,E,P,T"],[1088,""],[1089,"T"],[1090,""],[1091,"U,T"],[1092,""],[1093,"U,T"],[1094,"TryFromPrimitive::Primitive"],[1095,"U"],[1097,""],[1100,"V"],[1102,""],[1117,"B,E,P,T"],[1118,""],[1120,"T"],[1122,""],[1123,"T"],[1128,""],[1133,"T"],[1134,""],[1137,"U"],[1138,"B,E,P,T"],[1139,""],[1141,"U,T"],[1142,"U"],[1143,""],[1145,"V"],[1146,""],[1194,"B,E,P,T"],[1198,""],[1200,"T"],[1208,""],[1212,"T"],[1215,""],[1218,"T"],[1230,""],[1231,"T"],[1239,""],[1248,"K"],[1257,""],[1262,"T"],[1263,""],[1265,"T"],[1269,""],[1274,"U"],[1278,"B,E,P,T"],[1282,""],[1285,"T"],[1288,""],[1289,"U,T"],[1293,"U"],[1297,""],[1303,"V"],[1307,""],[1349,"B,E,P,T"],[1351,""],[1353,"T"],[1357,""],[1359,"T"],[1360,""],[1361,"T"],[1367,""],[1368,"T"],[1372,""],[1378,"T"],[1379,""],[1382,"T"],[1383,""],[1386,"U"],[1388,""],[1389,"B,E,P,T"],[1391,""],[1392,"T"],[1393,""],[1394,"U,T"],[1396,"U"],[1398,""],[1401,"V"],[1403,""],[1453,"B,E,P,T"],[1468,""],[1474,"T"],[1504,""],[1516,"T"],[1519,""],[1522,"T"],[1567,""],[1570,"EC,EA"],[1571,""],[1572,"T"],[1575,"Loader,Deref::Target"],[1576,"T"],[1603,""],[1625,"K"],[1628,""],[1632,"Loader"],[1633,"EC,EA"],[1635,""],[1638,"EC,EA"],[1639,""],[1641,"EC,EA"],[1642,""],[1647,"T"],[1661,""],[1662,"T"],[1663,""],[1677,"Loader"],[1678,""],[1690,"U"],[1705,""],[1713,"B,E,P,T"],[1728,""],[1735,"Loader"],[1737,""],[1744,"Loader"],[1745,""],[1748,"EC,EA"],[1749,""],[1752,"T"],[1755,""],[1757,"U,T"],[1772,"U"],[1787,""],[1806,"V"],[1821,""]]}]]')); if (typeof exports !== 'undefined') exports.searchIndex = searchIndex; else if (window.initSearch) window.initSearch(searchIndex); -//{"start":39,"fragment_lengths":[446,115230,11330,7548,13168,47568]} \ No newline at end of file +//{"start":39,"fragment_lengths":[446,115183,11330,7548,13168,47568]} \ No newline at end of file diff --git a/pr/3360/docs/search.desc/iroh/iroh-desc-0-.js b/pr/3360/docs/search.desc/iroh/iroh-desc-0-.js index 78c276d5b8..93be31bcf1 100644 --- a/pr/3360/docs/search.desc/iroh/iroh-desc-0-.js +++ b/pr/3360/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 argument unchanged.\nReturns the addressing info from given ticket.\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 argument unchanged.\nReturns the addressing info from given ticket.\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/3360/docs/src/iroh/discovery.rs.html b/pr/3360/docs/src/iroh/discovery.rs.html index 70384bb36a..7f8a77bdf3 100644 --- a/pr/3360/docs/src/iroh/discovery.rs.html +++ b/pr/3360/docs/src/iroh/discovery.rs.html @@ -769,7 +769,7 @@ 769 }; 770 let ep1_addr = NodeAddr::new(ep1.node_id()); 771 // wait for our address to be updated and thus published at least once -772 ep1.node_addr().initialized().await; +772 ep1.watch_node_addr().initialized().await; 773 let _conn = ep2.connect(ep1_addr, TEST_ALPN).await?; 774 Ok(()) 775 } @@ -794,7 +794,7 @@ 794 }; 795 let ep1_addr = NodeAddr::new(ep1.node_id()); 796 // wait for our address to be updated and thus published at least once -797 ep1.node_addr().initialized().await; +797 ep1.watch_node_addr().initialized().await; 798 let _conn = ep2.connect(ep1_addr, TEST_ALPN).await?; 799 Ok(()) 800 } @@ -820,7 +820,7 @@ 820 }; 821 let ep1_addr = NodeAddr::new(ep1.node_id()); 822 // wait for out address to be updated and thus published at least once -823 ep1.node_addr().initialized().await; +823 ep1.watch_node_addr().initialized().await; 824 let _conn = ep2 825 .connect(ep1_addr, TEST_ALPN) 826 .await @@ -852,7 +852,7 @@ 852 new_endpoint(secret, disco).await 853 }; 854 // wait for out address to be updated and thus published at least once -855 ep1.node_addr().initialized().await; +855 ep1.watch_node_addr().initialized().await; 856 let _conn = ep2.connect(ep1.node_id(), TEST_ALPN).await?; 857 Ok(()) 858 } @@ -874,7 +874,7 @@ 874 new_endpoint(secret, disco).await 875 }; 876 // wait for out address to be updated and thus published at least once -877 ep1.node_addr().initialized().await; +877 ep1.watch_node_addr().initialized().await; 878 879 // 10x faster test via a 3s idle timeout instead of the 30s default 880 let mut config = TransportConfig::default(); @@ -907,7 +907,7 @@ 907 new_endpoint(secret, disco).await 908 }; 909 // wait for out address to be updated and thus published at least once -910 ep1.node_addr().initialized().await; +910 ep1.watch_node_addr().initialized().await; 911 let ep1_wrong_addr = NodeAddr { 912 node_id: ep1.node_id(), 913 relay_url: None, diff --git a/pr/3360/docs/src/iroh/endpoint.rs.html b/pr/3360/docs/src/iroh/endpoint.rs.html index 519535a24f..4ebfc139fd 100644 --- a/pr/3360/docs/src/iroh/endpoint.rs.html +++ b/pr/3360/docs/src/iroh/endpoint.rs.html @@ -13,3150 +13,3184 @@ 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 relay_map = self.relay_mode.relay_map(); -156 let secret_key = self -157 .secret_key -158 .unwrap_or_else(|| SecretKey::generate(rand::rngs::OsRng)); -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 pub async fn connect( -659 &self, -660 node_addr: impl Into<NodeAddr>, -661 alpn: &[u8], -662 ) -> Result<Connection, ConnectError> { -663 let node_addr = node_addr.into(); -664 let remote = node_addr.node_id; -665 let connecting = self -666 .connect_with_opts(node_addr, alpn, Default::default()) -667 .await?; -668 let conn = connecting.await?; -669 -670 debug!( -671 me = %self.node_id().fmt_short(), -672 remote = %remote.fmt_short(), -673 alpn = %String::from_utf8_lossy(alpn), -674 "Connection established." -675 ); -676 Ok(conn) -677 } -678 -679 /// Starts a connection attempt with a remote [`Endpoint`]. -680 /// -681 /// Like [`Endpoint::connect`] (see also its docs for general details), but allows for a more -682 /// advanced connection setup with more customization in two aspects: -683 /// 1. The returned future resolves to a [`Connecting`], which can be further processed into -684 /// a [`Connection`] by awaiting, or alternatively allows connecting with 0RTT via -685 /// [`Connecting::into_0rtt`]. -686 /// **Note:** Please read the documentation for `into_0rtt` carefully to assess -687 /// security concerns. -688 /// 2. The [`TransportConfig`] for the connection can be modified via the provided -689 /// [`ConnectOptions`]. -690 /// **Note:** Please be aware that changing transport config settings may have adverse effects on -691 /// establishing and maintaining direct connections. Carefully test settings you use and -692 /// consider this currently as still rather experimental. -693 #[instrument(name = "connect", skip_all, fields( -694 me = %self.node_id().fmt_short(), -695 remote = tracing::field::Empty, -696 alpn = String::from_utf8_lossy(alpn).to_string(), -697 ))] -698 pub async fn connect_with_opts( -699 &self, -700 node_addr: impl Into<NodeAddr>, -701 alpn: &[u8], -702 options: ConnectOptions, -703 ) -> Result<Connecting, ConnectWithOptsError> { -704 let node_addr: NodeAddr = node_addr.into(); -705 tracing::Span::current().record( -706 "remote", -707 tracing::field::display(node_addr.node_id.fmt_short()), -708 ); -709 -710 // Connecting to ourselves is not supported. -711 ensure!(node_addr.node_id != self.node_id(), SelfConnectSnafu); -712 -713 if !node_addr.is_empty() { -714 self.add_node_addr(node_addr.clone())?; -715 } -716 let node_id = node_addr.node_id; -717 let direct_addresses = node_addr.direct_addresses.clone(); -718 let relay_url = node_addr.relay_url.clone(); -719 -720 // Get the mapped IPv6 address from the magic socket. Quinn will connect to this -721 // address. Start discovery for this node if it's enabled and we have no valid or -722 // verified address information for this node. Dropping the discovery cancels any -723 // still running task. -724 let (mapped_addr, _discovery_drop_guard) = self -725 .get_mapping_addr_and_maybe_start_discovery(node_addr) -726 .await -727 .context(NoAddressSnafu)?; -728 -729 let transport_config = options -730 .transport_config -731 .unwrap_or(self.static_config.transport_config.clone()); -732 -733 // Start connecting via quinn. This will time out after 10 seconds if no reachable -734 // address is available. -735 -736 debug!( -737 ?mapped_addr, -738 ?direct_addresses, -739 ?relay_url, -740 "Attempting connection..." -741 ); -742 let client_config = { -743 let mut alpn_protocols = vec![alpn.to_vec()]; -744 alpn_protocols.extend(options.additional_alpns); -745 let quic_client_config = self -746 .static_config -747 .tls_config -748 .make_client_config(alpn_protocols, self.static_config.keylog); -749 let mut client_config = quinn::ClientConfig::new(Arc::new(quic_client_config)); -750 client_config.transport_config(transport_config); -751 client_config -752 }; -753 -754 let server_name = &tls::name::encode(node_id); -755 let connect = self -756 .msock -757 .endpoint() -758 .connect_with( -759 client_config, -760 mapped_addr.private_socket_addr(), -761 server_name, -762 ) -763 .context(QuinnSnafu)?; -764 -765 Ok(Connecting { -766 inner: connect, -767 ep: self.clone(), -768 remote_node_id: Some(node_id), -769 _discovery_drop_guard, -770 }) -771 } -772 -773 /// Accepts an incoming connection on the endpoint. -774 /// -775 /// Only connections with the ALPNs configured in [`Builder::alpns`] will be accepted. -776 /// If multiple ALPNs have been configured the ALPN can be inspected before accepting -777 /// the connection using [`Connecting::alpn`]. -778 /// -779 /// The returned future will yield `None` if the endpoint is closed by calling -780 /// [`Endpoint::close`]. -781 pub fn accept(&self) -> Accept<'_> { -782 Accept { -783 inner: self.msock.endpoint().accept(), -784 ep: self.clone(), -785 } -786 } -787 -788 // # Methods for manipulating the internal state about other nodes. -789 -790 /// Informs this [`Endpoint`] about addresses of the iroh node. -791 /// -792 /// This updates the local state for the remote node. If the provided [`NodeAddr`] -793 /// contains a [`RelayUrl`] this will be used as the new relay server for this node. If -794 /// it contains any new IP endpoints they will also be stored and tried when next -795 /// connecting to this node. Any address that matches this node's direct addresses will be -796 /// silently ignored. -797 /// -798 /// See also [`Endpoint::add_node_addr_with_source`]. -799 /// -800 /// # Using node discovery instead -801 /// -802 /// It is strongly advised to use node discovery using the [`StaticProvider`] instead. -803 /// This provides more flexibility and future proofing. -804 /// -805 /// # Errors -806 /// -807 /// Will return an error if we attempt to add our own [`NodeId`] to the node map or -808 /// if the direct addresses are a subset of ours. -809 /// -810 /// [`StaticProvider`]: crate::discovery::static_provider::StaticProvider -811 fn add_node_addr(&self, node_addr: NodeAddr) -> Result<(), AddNodeAddrError> { -812 self.add_node_addr_inner(node_addr, magicsock::Source::App) -813 } -814 -815 /// Informs this [`Endpoint`] about addresses of the iroh node, noting the source. -816 /// -817 /// This updates the local state for the remote node. If the provided [`NodeAddr`] contains a -818 /// [`RelayUrl`] this will be used as the new relay server for this node. If it contains any -819 /// new IP endpoints they will also be stored and tried when next connecting to this node. Any -820 /// address that matches this node's direct addresses will be silently ignored. The *source* is -821 /// used for logging exclusively and will not be stored. -822 /// -823 /// # 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 relay_map = self.relay_mode.relay_map(); +155 let secret_key = self +156 .secret_key +157 .unwrap_or_else(|| SecretKey::generate(rand::rngs::OsRng)); +158 let static_config = StaticConfig { +159 transport_config: Arc::new(self.transport_config), +160 tls_config: tls::TlsConfig::new(secret_key.clone(), self.max_tls_tickets), +161 keylog: self.keylog, +162 }; +163 let server_config = static_config.create_server_config(self.alpn_protocols); +164 +165 #[cfg(not(wasm_browser))] +166 let dns_resolver = self.dns_resolver.unwrap_or_default(); +167 +168 let metrics = EndpointMetrics::default(); +169 +170 let msock_opts = magicsock::Options { +171 addr_v4: self.addr_v4, +172 addr_v6: self.addr_v6, +173 secret_key, +174 relay_map, +175 discovery: self.discovery, +176 discovery_user_data: self.discovery_user_data, +177 proxy_url: self.proxy_url, +178 #[cfg(not(wasm_browser))] +179 dns_resolver, +180 server_config, +181 #[cfg(any(test, feature = "test-utils"))] +182 insecure_skip_relay_cert_verify: self.insecure_skip_relay_cert_verify, +183 #[cfg(any(test, feature = "test-utils"))] +184 path_selection: self.path_selection, +185 metrics, +186 }; +187 +188 Endpoint::bind(static_config, msock_opts).await +189 } +190 +191 // # The very common methods everyone basically needs. +192 +193 /// Sets the IPv4 bind address. +194 /// +195 /// Setting the port to `0` will use a random port. +196 /// If the port specified is already in use, it will fallback to choosing a random port. +197 /// +198 /// By default will use `0.0.0.0:0` to bind to. +199 pub fn bind_addr_v4(mut self, addr: SocketAddrV4) -> Self { +200 self.addr_v4.replace(addr); +201 self +202 } +203 +204 /// Sets the IPv6 bind address. +205 /// +206 /// Setting the port to `0` will use a random port. +207 /// If the port specified is already in use, it will fallback to choosing a random port. +208 /// +209 /// By default will use `[::]:0` to bind to. +210 pub fn bind_addr_v6(mut self, addr: SocketAddrV6) -> Self { +211 self.addr_v6.replace(addr); +212 self +213 } +214 +215 /// Sets a secret key to authenticate with other peers. +216 /// +217 /// This secret key's public key will be the [`PublicKey`] of this endpoint and thus +218 /// also its [`NodeId`] +219 /// +220 /// If not set, a new secret key will be generated. +221 /// +222 /// [`PublicKey`]: iroh_base::PublicKey +223 pub fn secret_key(mut self, secret_key: SecretKey) -> Self { +224 self.secret_key = Some(secret_key); +225 self +226 } +227 +228 /// Sets the [ALPN] protocols that this endpoint will accept on incoming connections. +229 /// +230 /// Not setting this will still allow creating connections, but to accept incoming +231 /// connections at least one [ALPN] must be set. +232 /// +233 /// [ALPN]: https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation +234 pub fn alpns(mut self, alpn_protocols: Vec<Vec<u8>>) -> Self { +235 self.alpn_protocols = alpn_protocols; +236 self +237 } +238 +239 // # Methods for common customisation items. +240 +241 /// Sets the relay servers to assist in establishing connectivity. +242 /// +243 /// Relay servers are used to establish initial connection with another iroh node. +244 /// They also perform various functions related to hole punching, see the [crate docs] +245 /// for more details. +246 /// +247 /// By default the [number 0] relay servers are used, see [`RelayMode::Default`]. +248 /// +249 /// When using [RelayMode::Custom], the provided `relay_map` must contain at least one +250 /// configured relay node. If an invalid RelayMap is provided [`bind`] +251 /// will result in an error. +252 /// +253 /// [`bind`]: Builder::bind +254 /// [crate docs]: crate +255 /// [number 0]: https://n0.computer +256 pub fn relay_mode(mut self, relay_mode: RelayMode) -> Self { +257 self.relay_mode = relay_mode; +258 self +259 } +260 +261 /// Removes all discovery services from the builder. +262 pub fn clear_discovery(mut self) -> Self { +263 self.discovery.clear(); +264 self +265 } +266 +267 /// Optionally sets a discovery mechanism for this endpoint. +268 /// +269 /// If you want to combine multiple discovery services, you can use +270 /// [`Builder::add_discovery`] instead. This will internally create a +271 /// [`crate::discovery::ConcurrentDiscovery`]. +272 /// +273 /// If no discovery service is set, connecting to a node without providing its +274 /// direct addresses or relay URLs will fail. +275 /// +276 /// See the documentation of the [`crate::discovery::Discovery`] trait for details. +277 pub fn discovery(mut self, discovery: impl IntoDiscovery) -> Self { +278 self.discovery.clear(); +279 self.discovery.push(Box::new(discovery)); +280 self +281 } +282 +283 /// Adds a discovery mechanism for this endpoint. +284 /// +285 /// The function `discovery` +286 /// will be called on endpoint creation with the configured secret key of +287 /// the endpoint. Discovery services that need to publish information need +288 /// to use this secret key to sign the information. +289 /// +290 /// If you add multiple discovery services, they will be combined using a +291 /// [`crate::discovery::ConcurrentDiscovery`]. +292 /// +293 /// If no discovery service is set, connecting to a node without providing its +294 /// direct addresses or relay URLs will fail. +295 /// +296 /// To clear all discovery services, use [`Builder::clear_discovery`]. +297 /// +298 /// See the documentation of the [`crate::discovery::Discovery`] trait for details. +299 pub fn add_discovery(mut self, discovery: impl IntoDiscovery) -> Self { +300 self.discovery.push(Box::new(discovery)); +301 self +302 } +303 +304 /// Configures the endpoint to use the default n0 DNS discovery service. +305 /// +306 /// The default discovery service publishes to and resolves from the +307 /// n0.computer dns server `iroh.link`. +308 /// +309 /// This is equivalent to adding both a [`crate::discovery::pkarr::PkarrPublisher`] +310 /// and a [`crate::discovery::dns::DnsDiscovery`], both configured to use the +311 /// n0.computer dns server. +312 /// +313 /// This will by default use [`N0_DNS_PKARR_RELAY_PROD`]. +314 /// When in tests, or when the `test-utils` feature is enabled, this will use the +315 /// [`N0_DNS_PKARR_RELAY_STAGING`]. +316 /// +317 /// [`N0_DNS_PKARR_RELAY_PROD`]: crate::discovery::pkarr::N0_DNS_PKARR_RELAY_PROD +318 /// [`N0_DNS_PKARR_RELAY_STAGING`]: crate::discovery::pkarr::N0_DNS_PKARR_RELAY_STAGING +319 pub fn discovery_n0(mut self) -> Self { +320 self = self.add_discovery(PkarrPublisher::n0_dns()); +321 // Resolve using HTTPS requests to our DNS server's /pkarr path in browsers +322 #[cfg(wasm_browser)] +323 { +324 self = self.add_discovery(PkarrResolver::n0_dns()); +325 } +326 // Resolve using DNS queries outside browsers. +327 #[cfg(not(wasm_browser))] +328 { +329 self = self.add_discovery(DnsDiscovery::n0_dns()); +330 } +331 self +332 } +333 +334 #[cfg(feature = "discovery-pkarr-dht")] +335 /// Configures the endpoint to also use the mainline DHT with default settings. +336 /// +337 /// This is equivalent to adding a [`crate::discovery::pkarr::dht::DhtDiscovery`] +338 /// with default settings. Note that DhtDiscovery has various more advanced +339 /// configuration options. If you need any of those, you should manually +340 /// create a DhtDiscovery and add it with [`Builder::add_discovery`]. +341 pub fn discovery_dht(mut self) -> Self { +342 self = self.add_discovery(crate::discovery::pkarr::dht::DhtDiscovery::builder()); +343 self +344 } +345 +346 #[cfg(feature = "discovery-local-network")] +347 /// Configures the endpoint to also use local network discovery. +348 /// +349 /// This is equivalent to adding a [`crate::discovery::mdns::MdnsDiscovery`] +350 /// with default settings. Note that MdnsDiscovery has various more advanced +351 /// configuration options. If you need any of those, you should manually +352 /// create a MdnsDiscovery and add it with [`Builder::add_discovery`]. +353 pub fn discovery_local_network(mut self) -> Self { +354 self = self.add_discovery(crate::discovery::mdns::MdnsDiscovery::builder()); +355 self +356 } +357 +358 /// Sets the initial user-defined data to be published in discovery services for this node. +359 /// +360 /// When using discovery services, this string of [`UserData`] will be published together +361 /// with the node's addresses and relay URL. When other nodes discover this node, +362 /// they retrieve the [`UserData`] in addition to the addressing info. +363 /// +364 /// Iroh itself does not interpret the user-defined data in any way, it is purely left +365 /// for applications to parse and use. +366 pub fn user_data_for_discovery(mut self, user_data: UserData) -> Self { +367 self.discovery_user_data = Some(user_data); +368 self +369 } +370 +371 // # Methods for more specialist customisation. +372 +373 /// Sets a custom [`quinn::TransportConfig`] for this endpoint. +374 /// +375 /// The transport config contains parameters governing the QUIC state machine. +376 /// +377 /// If unset, the default config is used. Default values should be suitable for most +378 /// internet applications. Applications protocols which forbid remotely-initiated +379 /// streams should set `max_concurrent_bidi_streams` and `max_concurrent_uni_streams` to +380 /// zero. +381 /// +382 /// Please be aware that changing some settings may have adverse effects on establishing +383 /// and maintaining direct connections. +384 pub fn transport_config(mut self, transport_config: quinn::TransportConfig) -> Self { +385 self.transport_config = transport_config; +386 self +387 } +388 +389 /// Optionally sets a custom DNS resolver to use for this endpoint. +390 /// +391 /// The DNS resolver is used to resolve relay hostnames, and node addresses if +392 /// [`crate::discovery::dns::DnsDiscovery`] is configured. +393 /// +394 /// By default, a new DNS resolver is created which is configured to use the +395 /// host system's DNS configuration. You can pass a custom instance of [`DnsResolver`] +396 /// here to use a differently configured DNS resolver for this endpoint, or to share +397 /// a [`DnsResolver`] between multiple endpoints. +398 #[cfg(not(wasm_browser))] +399 pub fn dns_resolver(mut self, dns_resolver: DnsResolver) -> Self { +400 self.dns_resolver = Some(dns_resolver); +401 self +402 } +403 +404 /// Sets an explicit proxy url to proxy all HTTP(S) traffic through. +405 pub fn proxy_url(mut self, url: Url) -> Self { +406 self.proxy_url.replace(url); +407 self +408 } +409 +410 /// Sets the proxy url from the environment, in this order: +411 /// +412 /// - `HTTP_PROXY` +413 /// - `http_proxy` +414 /// - `HTTPS_PROXY` +415 /// - `https_proxy` +416 pub fn proxy_from_env(mut self) -> Self { +417 self.proxy_url = proxy_url_from_env(); +418 self +419 } +420 +421 /// Enables saving the TLS pre-master key for connections. +422 /// +423 /// This key should normally remain secret but can be useful to debug networking issues +424 /// by decrypting captured traffic. +425 /// +426 /// If *keylog* is `true` then setting the `SSLKEYLOGFILE` environment variable to a +427 /// filename will result in this file being used to log the TLS pre-master keys. +428 pub fn keylog(mut self, keylog: bool) -> Self { +429 self.keylog = keylog; +430 self +431 } +432 +433 /// Skip verification of SSL certificates from relay servers +434 /// +435 /// May only be used in tests. +436 #[cfg(any(test, feature = "test-utils"))] +437 pub fn insecure_skip_relay_cert_verify(mut self, skip_verify: bool) -> Self { +438 self.insecure_skip_relay_cert_verify = skip_verify; +439 self +440 } +441 +442 /// This implies we only use the relay to communicate +443 /// and do not attempt to do any hole punching. +444 #[cfg(any(test, feature = "test-utils"))] +445 pub fn path_selection(mut self, path_selection: PathSelection) -> Self { +446 self.path_selection = path_selection; +447 self +448 } +449 +450 /// Set the maximum number of TLS tickets to cache. +451 /// +452 /// Set this to a larger value if you want to do 0rtt connections to a large +453 /// number of clients. +454 /// +455 /// The default is 256, taking about 150 KiB in memory. +456 pub fn max_tls_tickets(mut self, n: usize) -> Self { +457 self.max_tls_tickets = n; +458 self +459 } +460} +461 +462/// Configuration for a [`quinn::Endpoint`] that cannot be changed at runtime. +463#[derive(Debug)] +464struct StaticConfig { +465 tls_config: tls::TlsConfig, +466 transport_config: Arc<quinn::TransportConfig>, +467 keylog: bool, +468} +469 +470impl StaticConfig { +471 /// Create a [`quinn::ServerConfig`] with the specified ALPN protocols. +472 fn create_server_config(&self, alpn_protocols: Vec<Vec<u8>>) -> ServerConfig { +473 let quic_server_config = self +474 .tls_config +475 .make_server_config(alpn_protocols, self.keylog); +476 let mut server_config = ServerConfig::with_crypto(Arc::new(quic_server_config)); +477 server_config.transport_config(self.transport_config.clone()); +478 +479 server_config +480 } +481} +482 +483/// Controls an iroh node, establishing connections with other nodes. +484/// +485/// This is the main API interface to create connections to, and accept connections from +486/// other iroh nodes. The connections are peer-to-peer and encrypted, a Relay server is +487/// used to make the connections reliable. See the [crate docs] for a more detailed +488/// overview of iroh. +489/// +490/// It is recommended to only create a single instance per application. This ensures all +491/// the connections made share the same peer-to-peer connections to other iroh nodes, +492/// while still remaining independent connections. This will result in more optimal network +493/// behaviour. +494/// +495/// The endpoint is created using the [`Builder`], which can be created using +496/// [`Endpoint::builder`]. +497/// +498/// Once an endpoint exists, new connections are typically created using the +499/// [`Endpoint::connect`] and [`Endpoint::accept`] methods. Once established, the +500/// [`Connection`] gives access to most [QUIC] features. Individual streams to send data to +501/// the peer are created using the [`Connection::open_bi`], [`Connection::accept_bi`], +502/// [`Connection::open_uni`] and [`Connection::open_bi`] functions. +503/// +504/// Note that due to the light-weight properties of streams a stream will only be accepted +505/// once the initiating peer has sent some data on it. +506/// +507/// [QUIC]: https://quicwg.org +508#[derive(Clone, Debug)] +509pub struct Endpoint { +510 /// Handle to the magicsocket/actor +511 msock: Handle, +512 /// Handle to the actor that resets the quinn RTT estimator +513 rtt_actor: Arc<rtt_actor::RttHandle>, +514 /// Configuration structs for quinn, holds the transport config, certificate setup, secret key etc. +515 static_config: Arc<StaticConfig>, +516} +517 +518#[allow(missing_docs)] +519#[common_fields({ +520 backtrace: Option<snafu::Backtrace>, +521 #[snafu(implicit)] +522 span_trace: n0_snafu::SpanTrace, +523})] +524#[derive(Debug, Snafu)] +525#[non_exhaustive] +526pub enum ConnectWithOptsError { +527 #[snafu(transparent)] +528 AddNodeAddr { source: AddNodeAddrError }, +529 #[snafu(display("Connecting to ourself is not supported"))] +530 SelfConnect {}, +531 #[snafu(display("No addressing information available"))] +532 NoAddress { source: GetMappingAddressError }, +533 #[snafu(display("Unable to connect to remote"))] +534 Quinn { source: quinn::ConnectError }, +535} +536 +537#[allow(missing_docs)] +538#[common_fields({ +539 backtrace: Option<snafu::Backtrace>, +540 #[snafu(implicit)] +541 span_trace: n0_snafu::SpanTrace, +542})] +543#[derive(Debug, Snafu)] +544#[non_exhaustive] +545pub enum ConnectError { +546 #[snafu(transparent)] +547 Connect { +548 #[snafu(source(from(ConnectWithOptsError, Box::new)))] +549 source: Box<ConnectWithOptsError>, +550 }, +551 #[snafu(transparent)] +552 Connection { +553 #[snafu(source(from(ConnectionError, Box::new)))] +554 source: Box<ConnectionError>, +555 }, +556} +557 +558#[allow(missing_docs)] +559#[common_fields({ +560 backtrace: Option<snafu::Backtrace>, +561 #[snafu(implicit)] +562 span_trace: n0_snafu::SpanTrace, +563})] +564#[derive(Debug, Snafu)] +565#[non_exhaustive] +566pub enum BindError { +567 #[snafu(transparent)] +568 MagicSpawn { +569 source: magicsock::CreateHandleError, +570 }, +571} +572 +573#[allow(missing_docs)] +574#[common_fields({ +575 backtrace: Option<snafu::Backtrace>, +576 #[snafu(implicit)] +577 span_trace: n0_snafu::SpanTrace, +578})] +579#[derive(Debug, Snafu)] +580#[snafu(module)] +581#[non_exhaustive] +582pub enum GetMappingAddressError { +583 #[snafu(display("Discovery service required due to missing addressing information"))] +584 DiscoveryStart { source: DiscoveryError }, +585 #[snafu(display("Discovery service failed"))] +586 Discover { source: DiscoveryError }, +587 #[snafu(display("No addressing information found"))] +588 NoAddress {}, +589} +590 +591impl Endpoint { +592 // The ordering of public methods is reflected directly in the documentation. This is +593 // roughly ordered by what is most commonly needed by users, but grouped in similar +594 // items. +595 +596 // # Methods relating to construction. +597 +598 /// Returns the builder for an [`Endpoint`], with a production configuration. +599 pub fn builder() -> Builder { +600 Builder::default() +601 } +602 +603 /// Creates a quinn endpoint backed by a magicsock. +604 /// +605 /// This is for internal use, the public interface is the [`Builder`] obtained from +606 /// [Self::builder]. See the methods on the builder for documentation of the parameters. +607 #[instrument("ep", skip_all, fields(me = %static_config.tls_config.secret_key.public().fmt_short()))] +608 async fn bind( +609 static_config: StaticConfig, +610 msock_opts: magicsock::Options, +611 ) -> Result<Self, BindError> { +612 let msock = magicsock::MagicSock::spawn(msock_opts).await?; +613 trace!("created magicsock"); +614 debug!(version = env!("CARGO_PKG_VERSION"), "iroh Endpoint created"); +615 +616 let metrics = msock.metrics.magicsock.clone(); +617 let ep = Self { +618 msock, +619 rtt_actor: Arc::new(rtt_actor::RttHandle::new(metrics)), +620 static_config: Arc::new(static_config), +621 }; +622 Ok(ep) +623 } +624 +625 /// Sets the list of accepted ALPN protocols. +626 /// +627 /// This will only affect new incoming connections. +628 /// Note that this *overrides* the current list of ALPNs. +629 pub fn set_alpns(&self, alpns: Vec<Vec<u8>>) { +630 let server_config = self.static_config.create_server_config(alpns); +631 self.msock.endpoint().set_server_config(Some(server_config)); +632 } +633 +634 // # Methods for establishing connectivity. +635 +636 /// Connects to a remote [`Endpoint`]. +637 /// +638 /// A value that can be converted into a [`NodeAddr`] is required. This can be either a +639 /// [`NodeAddr`], a [`NodeId`] or a [`iroh_base::ticket::NodeTicket`]. +640 /// +641 /// The [`NodeAddr`] must contain the [`NodeId`] to dial and may also contain a [`RelayUrl`] +642 /// and direct addresses. If direct addresses are provided, they will be used to try and +643 /// establish a direct connection without involving a relay server. +644 /// +645 /// If neither a [`RelayUrl`] or direct addresses are configured in the [`NodeAddr`] it +646 /// may still be possible a connection can be established. This depends on which, if any, +647 /// [`crate::discovery::Discovery`] services were configured using [`Builder::discovery`]. The discovery +648 /// service will also be used if the remote node is not reachable on the provided direct +649 /// addresses and there is no [`RelayUrl`]. +650 /// +651 /// If addresses or relay servers are neither provided nor can be discovered, the +652 /// connection attempt will fail with an error. +653 /// +654 /// The `alpn`, or application-level protocol identifier, is also required. The remote +655 /// endpoint must support this `alpn`, otherwise the connection attempt will fail with +656 /// an error. +657 /// +658 /// [`RelayUrl`]: crate::RelayUrl +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 /// [`RelayUrl`]: crate::RelayUrl +813 fn add_node_addr(&self, node_addr: NodeAddr) -> Result<(), AddNodeAddrError> { +814 self.add_node_addr_inner(node_addr, magicsock::Source::App) +815 } +816 +817 /// Informs this [`Endpoint`] about addresses of the iroh node, noting the source. +818 /// +819 /// This updates the local state for the remote node. If the provided [`NodeAddr`] contains a +820 /// [`RelayUrl`] this will be used as the new relay server for this node. If it contains any +821 /// new IP endpoints they will also be stored and tried when next connecting to this node. Any +822 /// address that matches this node's direct addresses will be silently ignored. The *source* is +823 /// used for logging exclusively and will not be stored. 824 /// -825 /// It is strongly advised to use node discovery using the [`StaticProvider`] instead. -826 /// This provides more flexibility and future proofing. -827 /// -828 /// # Errors +825 /// # Using node discovery instead +826 /// +827 /// It is strongly advised to use node discovery using the [`StaticProvider`] instead. +828 /// This provides more flexibility and future proofing. 829 /// -830 /// Will return an error if we attempt to add our own [`NodeId`] to the node map or -831 /// if the direct addresses are a subset of ours. -832 /// -833 /// [`StaticProvider`]: crate::discovery::static_provider::StaticProvider -834 pub(crate) fn add_node_addr_with_source( -835 &self, -836 node_addr: NodeAddr, -837 source: &'static str, -838 ) -> Result<(), AddNodeAddrError> { -839 self.add_node_addr_inner( -840 node_addr, -841 magicsock::Source::NamedApp { -842 name: source.into(), -843 }, -844 ) -845 } -846 -847 fn add_node_addr_inner( -848 &self, -849 node_addr: NodeAddr, -850 source: magicsock::Source, -851 ) -> Result<(), AddNodeAddrError> { -852 // Connecting to ourselves is not supported. -853 snafu::ensure!(node_addr.node_id != self.node_id(), OwnAddressSnafu); -854 self.msock.add_node_addr(node_addr, source) -855 } -856 -857 // # Getter methods for properties of this Endpoint itself. -858 -859 /// Returns the secret_key of this endpoint. -860 pub fn secret_key(&self) -> &SecretKey { -861 &self.static_config.tls_config.secret_key -862 } -863 -864 /// Returns the node id of this endpoint. -865 /// -866 /// This ID is the unique addressing information of this node and other peers must know -867 /// it to be able to connect to this node. -868 pub fn node_id(&self) -> NodeId { -869 self.static_config.tls_config.secret_key.public() -870 } -871 -872 /// Returns a [`Watcher`] for the current [`NodeAddr`] for this endpoint. -873 /// -874 /// The observed [`NodeAddr`] will have the current [`RelayUrl`] and direct addresses -875 /// as they would be returned by [`Endpoint::home_relay`] and [`Endpoint::direct_addresses`]. -876 /// -877 /// Use [`Watcher::initialized`] to wait for a [`NodeAddr`] that is ready to be connected to: -878 /// -879 /// ```no_run -880 /// # async fn wrapper() -> n0_snafu::Result { -881 /// use iroh::{Endpoint, Watcher}; -882 /// -883 /// let endpoint = Endpoint::builder() -884 /// .alpns(vec![b"my-alpn".to_vec()]) -885 /// .bind() -886 /// .await?; -887 /// let node_addr = endpoint.node_addr().initialized().await; -888 /// # let _ = node_addr; -889 /// # Ok(()) -890 /// # } -891 /// ``` -892 #[cfg(not(wasm_browser))] -893 pub fn node_addr(&self) -> impl n0_watcher::Watcher<Value = Option<NodeAddr>> + use<> { -894 let watch_addrs = self.direct_addresses(); -895 let watch_relay = self.home_relay(); +830 /// # Errors +831 /// +832 /// Will return an error if we attempt to add our own [`NodeId`] to the node map or +833 /// if the direct addresses are a subset of ours. +834 /// +835 /// [`StaticProvider`]: crate::discovery::static_provider::StaticProvider +836 /// +837 /// [`RelayUrl`]: crate::RelayUrl +838 pub fn add_node_addr_with_source( +839 &self, +840 node_addr: NodeAddr, +841 source: &'static str, +842 ) -> Result<(), AddNodeAddrError> { +843 self.add_node_addr_inner( +844 node_addr, +845 magicsock::Source::NamedApp { +846 name: source.into(), +847 }, +848 ) +849 } +850 +851 fn add_node_addr_inner( +852 &self, +853 node_addr: NodeAddr, +854 source: magicsock::Source, +855 ) -> Result<(), AddNodeAddrError> { +856 // Connecting to ourselves is not supported. +857 snafu::ensure!(node_addr.node_id != self.node_id(), OwnAddressSnafu); +858 self.msock.add_node_addr(node_addr, source) +859 } +860 +861 // # Getter methods for properties of this Endpoint itself. +862 +863 /// Returns the secret_key of this endpoint. +864 pub fn secret_key(&self) -> &SecretKey { +865 &self.static_config.tls_config.secret_key +866 } +867 +868 /// Returns the node id of this endpoint. +869 /// +870 /// This ID is the unique addressing information of this node and other peers must know +871 /// it to be able to connect to this node. +872 pub fn node_id(&self) -> NodeId { +873 self.static_config.tls_config.secret_key.public() +874 } +875 +876 /// Returns the current [`NodeAddr`]. +877 /// +878 /// If this is called right after the [`Endpoint`] has been created, there is +879 /// a good chance these fields will be empty. +880 /// +881 /// Use the [`Endpoint::online`] method to ensure that the endpoint is considered +882 /// "online" (has contacted a relay server and has at least one local addresses) +883 /// before calling this method, if you want to ensure that the `NodeAddr` will +884 /// contain enough information to allow this endpoint to be dialable by +885 /// a remote endpoint. +886 /// +887 /// Or, use the [`Endpoint::watch_node_addr`] method to get updates when the +888 /// `NodeAddr` changes. +889 /// +890 /// The `NodeAddr` will change as: +891 /// - network conditions change +892 /// - the endpoint connects to a relay server +893 /// - the endpoint changes its preferred relay server +894 /// - more addresses are discovered for this endpoint +895 pub fn node_addr(&self) -> NodeAddr { 896 let node_id = self.node_id(); -897 -898 watch_addrs -899 .or(watch_relay) -900 .map(move |(addrs, mut relays)| match addrs { -901 Some(addrs) => Some(NodeAddr::from_parts( -902 node_id, -903 relays.pop(), -904 addrs.into_iter().map(|x| x.addr), -905 )), -906 None => relays.pop().map(|relay_url| { -907 NodeAddr::from_parts(node_id, Some(relay_url), std::iter::empty()) -908 }), -909 }) -910 .expect("watchable is alive - cannot be disconnected yet") -911 } -912 -913 /// Returns a [`Watcher`] for the current [`NodeAddr`] for this endpoint. -914 /// -915 /// When compiled to Wasm, this function returns a watcher that initializes -916 /// with a [`NodeAddr`] that only contains a relay URL, but no direct addresses, -917 /// as there are no APIs for directly using sockets in browsers. -918 #[cfg(wasm_browser)] -919 pub fn node_addr(&self) -> impl n0_watcher::Watcher<Value = Option<NodeAddr>> + use<> { -920 // In browsers, there will never be any direct addresses, so we wait -921 // for the home relay instead. This makes the `NodeAddr` have *some* way -922 // of connecting to us. -923 let watch_relay = self.home_relay(); -924 let node_id = self.node_id(); -925 watch_relay -926 .map(move |mut relays| { -927 relays.pop().map(|relay_url| { -928 NodeAddr::from_parts(node_id, Some(relay_url), std::iter::empty()) -929 }) -930 }) -931 .expect("watchable is alive - cannot be disconnected yet") -932 } -933 -934 /// Returns a [`Watcher`] for the [`RelayUrl`] of the Relay server used as home relay. -935 /// -936 /// Every endpoint has a home Relay server which it chooses as the server with the -937 /// lowest latency out of the configured servers provided by [`Builder::relay_mode`]. -938 /// This is the server other iroh nodes can use to reliably establish a connection -939 /// to this node. -940 /// -941 /// The watcher stores `None` if we are not connected to any Relay server. -942 /// -943 /// Note that this will store `None` right after the [`Endpoint`] is created since it takes -944 /// some time to connect to find and connect to the home relay server. -945 /// -946 /// # Examples -947 /// -948 /// To wait for a home relay connection to be established, use [`Watcher::initialized`]: -949 /// ```no_run -950 /// use iroh::{Endpoint, Watcher}; -951 /// -952 /// # let rt = tokio::runtime::Builder::new_current_thread().enable_all().build().unwrap(); -953 /// # rt.block_on(async move { -954 /// let mep = Endpoint::builder().bind().await.unwrap(); -955 /// let _relay_url = mep.home_relay().initialized().await; -956 /// # }); -957 /// ``` -958 pub fn home_relay(&self) -> impl n0_watcher::Watcher<Value = Vec<RelayUrl>> + use<> { -959 self.msock.home_relay() -960 } -961 -962 /// Returns a [`Watcher`] for the direct addresses of this [`Endpoint`]. -963 /// -964 /// The direct addresses of the [`Endpoint`] are those that could be used by other -965 /// iroh nodes to establish direct connectivity, depending on the network -966 /// situation. The yielded lists of direct addresses contain both the locally-bound -967 /// addresses and the [`Endpoint`]'s publicly reachable addresses discovered through -968 /// mechanisms such as [QAD] and port mapping. Hence usually only a subset of these -969 /// will be applicable to a certain remote iroh node. -970 /// -971 /// The [`Endpoint`] continuously monitors the direct addresses for changes as its own -972 /// location in the network might change. Whenever changes are detected this stream -973 /// will yield a new list of direct addresses. -974 /// -975 /// When issuing the first call to this method the first direct address discovery might -976 /// still be underway, in this case the [`Watcher`] might not be initialized with [`Some`] -977 /// value yet. Once the first set of local direct addresses are discovered the [`Watcher`] -978 /// will always return [`Some`] set of direct addresses immediately, which are the most -979 /// recently discovered direct addresses. -980 /// -981 /// # Examples -982 /// -983 /// To get the first set of direct addresses use [`Watcher::initialized`]: -984 /// ```no_run -985 /// use iroh::{Endpoint, Watcher as _}; +897 let relay_url = self.msock.home_relay().get().first().cloned(); +898 let direct_addresses = self +899 .msock +900 .direct_addresses() +901 .get() +902 .unwrap_or_default() +903 .into_iter() +904 .map(|addr| addr.addr) +905 .collect(); +906 +907 NodeAddr { +908 node_id, +909 relay_url, +910 direct_addresses, +911 } +912 } +913 +914 /// Returns a [`Watcher`] for the current [`NodeAddr`] for this endpoint. +915 /// +916 /// The observed [`NodeAddr`] will have the current [`RelayUrl`] and direct addresses. +917 /// +918 /// Use [`Watcher::initialized`] to wait for a [`NodeAddr`] that is ready to be connected to: +919 /// +920 /// ```no_run +921 /// # async fn wrapper() -> n0_snafu::Result { +922 /// use iroh::{Endpoint, Watcher}; +923 /// +924 /// let endpoint = Endpoint::builder() +925 /// .alpns(vec![b"my-alpn".to_vec()]) +926 /// .bind() +927 /// .await?; +928 /// let node_addr = endpoint.watch_node_addr().initialized().await; +929 /// # let _ = node_addr; +930 /// # Ok(()) +931 /// # } +932 /// ``` +933 /// +934 /// The [`Endpoint::online`] method can be used as a convenience method to +935 /// understand if the endpoint has ever been considered "online". But after +936 /// that initial call to [`Endpoint::online`], to understand if your +937 /// endpoint is no longer able to be connected to by endpoints outside +938 /// of the private or local network, watch for changes in it's [`NodeAddr`]. +939 /// If the `relay_url` is `None` or if there are no `direct_addresses` in +940 /// the [`NodeAddr`], you may not be dialable by other endpoints on the internet. +941 /// +942 /// [`RelayUrl`]: crate::RelayUrl +943 #[cfg(not(wasm_browser))] +944 pub fn watch_node_addr(&self) -> impl n0_watcher::Watcher<Value = Option<NodeAddr>> + use<> { +945 let watch_addrs = self.msock.direct_addresses(); +946 let watch_relay = self.msock.home_relay(); +947 let node_id = self.node_id(); +948 +949 watch_addrs +950 .or(watch_relay) +951 .map(move |(addrs, mut relays)| match addrs { +952 Some(addrs) => Some(NodeAddr::from_parts( +953 node_id, +954 relays.pop(), +955 addrs.into_iter().map(|x| x.addr), +956 )), +957 None => relays.pop().map(|relay_url| { +958 NodeAddr::from_parts(node_id, Some(relay_url), std::iter::empty()) +959 }), +960 }) +961 .expect("watchable is alive - cannot be disconnected yet") +962 } +963 +964 /// Returns a [`Watcher`] for the current [`NodeAddr`] for this endpoint. +965 /// +966 /// When compiled to Wasm, this function returns a watcher that initializes +967 /// with a [`NodeAddr`] that only contains a relay URL, but no direct addresses, +968 /// as there are no APIs for directly using sockets in browsers. +969 #[cfg(wasm_browser)] +970 pub fn watch_node_addr(&self) -> impl n0_watcher::Watcher<Value = Option<NodeAddr>> + use<> { +971 // In browsers, there will never be any direct addresses, so we wait +972 // for the home relay instead. This makes the `NodeAddr` have *some* way +973 // of connecting to us. +974 let watch_relay = self.msock.home_relay(); +975 let node_id = self.node_id(); +976 watch_relay +977 .map(move |mut relays| { +978 relays.pop().map(|relay_url| { +979 NodeAddr::from_parts(node_id, Some(relay_url), std::iter::empty()) +980 }) +981 }) +982 .expect("watchable is alive - cannot be disconnected yet") +983 } +984 +985 /// A convenience method that waits for the endpoint to be considered "online". 986 /// -987 /// # let rt = tokio::runtime::Builder::new_current_thread().enable_all().build().unwrap(); -988 /// # rt.block_on(async move { -989 /// let ep = Endpoint::builder().bind().await.unwrap(); -990 /// let _addrs = ep.direct_addresses().initialized().await; -991 /// # }); -992 /// ``` -993 /// -994 /// [QAD]: https://www.ietf.org/archive/id/draft-ietf-quic-address-discovery-00.html -995 pub fn direct_addresses(&self) -> n0_watcher::Direct<Option<BTreeSet<DirectAddr>>> { -996 self.msock.direct_addresses() -997 } -998 -999 /// Returns a [`Watcher`] for any net-reports run from this [`Endpoint`]. -1000 /// -1001 /// A `net-report` checks the network conditions of the [`Endpoint`], such as -1002 /// whether it is connected to the internet via Ipv4 and/or Ipv6, its NAT -1003 /// status, its latency to the relay servers, and its public addresses. -1004 /// -1005 /// The [`Endpoint`] continuously runs `net-reports` to monitor if network -1006 /// conditions have changed. This [`Watcher`] will return the latest result -1007 /// of the `net-report`. -1008 /// -1009 /// When issuing the first call to this method the first report might -1010 /// still be underway, in this case the [`Watcher`] might not be initialized -1011 /// with [`Some`] value yet. Once the net-report has been successfully -1012 /// run, the [`Watcher`] will always return [`Some`] report immediately, which -1013 /// is the most recently run `net-report`. -1014 /// -1015 /// # Examples -1016 /// -1017 /// To get the first report use [`Watcher::initialized`]: -1018 /// ```no_run -1019 /// use iroh::{Endpoint, Watcher as _}; -1020 /// -1021 /// # let rt = tokio::runtime::Builder::new_current_thread().enable_all().build().unwrap(); -1022 /// # rt.block_on(async move { -1023 /// let ep = Endpoint::builder().bind().await.unwrap(); -1024 /// let _report = ep.net_report().initialized().await; -1025 /// # }); -1026 /// ``` -1027 #[doc(hidden)] -1028 pub fn net_report(&self) -> impl Watcher<Value = Option<Report>> + use<> { -1029 self.msock.net_report() -1030 } -1031 -1032 /// Returns the local socket addresses on which the underlying sockets are bound. -1033 /// -1034 /// The [`Endpoint`] always binds on an IPv4 address and also tries to bind on an IPv6 -1035 /// address if available. -1036 pub fn bound_sockets(&self) -> Vec<SocketAddr> { -1037 self.msock -1038 .local_addr() -1039 .into_iter() -1040 .filter_map(|addr| addr.into_socket_addr()) -1041 .collect() -1042 } -1043 -1044 // # Methods for less common getters. -1045 // -1046 // Partially they return things passed into the builder. -1047 -1048 /// Returns a [`Watcher`] that reports the current connection type and any changes for -1049 /// given remote node. -1050 /// -1051 /// This watcher allows observing a stream of [`ConnectionType`] items by calling -1052 /// [`Watcher::stream()`]. If the underlying connection to a remote node changes, it will -1053 /// yield a new item. These connection changes are when the connection switches between -1054 /// using the Relay server and a direct connection. -1055 /// -1056 /// Note that this does not guarantee each connection change is yielded in the stream. -1057 /// If the connection type changes several times before this stream is polled, only the -1058 /// last recorded state is returned. This can be observed e.g. right at the start of a -1059 /// connection when the switch from a relayed to a direct connection can be so fast that -1060 /// the relayed state is never exposed. -1061 /// -1062 /// If there is currently a connection with the remote node, then using [`Watcher::get`] -1063 /// will immediately return either [`ConnectionType::Relay`], [`ConnectionType::Direct`] -1064 /// or [`ConnectionType::Mixed`]. -1065 /// -1066 /// It is possible for the connection type to be [`ConnectionType::None`] if you've -1067 /// recently connected to this node id but previous methods of reaching the node have -1068 /// become inaccessible. -1069 /// -1070 /// Will return `None` if we do not have any address information for the given `node_id`. -1071 pub fn conn_type(&self, node_id: NodeId) -> Option<n0_watcher::Direct<ConnectionType>> { -1072 self.msock.conn_type(node_id) -1073 } -1074 -1075 /// Returns the currently lowest latency for this node. -1076 /// -1077 /// Will return `None` if we do not have any address information for the given `node_id`. -1078 pub fn latency(&self, node_id: NodeId) -> Option<Duration> { -1079 self.msock.latency(node_id) -1080 } -1081 -1082 /// Returns the DNS resolver used in this [`Endpoint`]. -1083 /// -1084 /// See [`Builder::dns_resolver`]. -1085 #[cfg(not(wasm_browser))] -1086 pub fn dns_resolver(&self) -> &DnsResolver { -1087 self.msock.dns_resolver() -1088 } -1089 -1090 /// Returns the discovery mechanism, if configured. -1091 /// -1092 /// See [`Builder::discovery`]. -1093 pub fn discovery(&self) -> &ConcurrentDiscovery { -1094 self.msock.discovery() -1095 } -1096 -1097 /// Returns metrics collected for this endpoint. -1098 /// -1099 /// The endpoint internally collects various metrics about its operation. -1100 /// The returned [`EndpointMetrics`] struct contains all of these metrics. -1101 /// -1102 /// You can access individual metrics directly by using the public fields: -1103 /// ```rust -1104 /// # use std::collections::BTreeMap; -1105 /// # use iroh::endpoint::Endpoint; -1106 /// # async fn wrapper() -> n0_snafu::Result { -1107 /// let endpoint = Endpoint::builder().bind().await?; -1108 /// assert_eq!(endpoint.metrics().magicsock.recv_datagrams.get(), 0); -1109 /// # Ok(()) -1110 /// # } -1111 /// ``` -1112 /// -1113 /// [`EndpointMetrics`] implements [`MetricsGroupSet`], and each field -1114 /// implements [`MetricsGroup`]. These traits provide methods to iterate over -1115 /// the groups in the set, and over the individual metrics in each group, without having -1116 /// to access each field manually. With these methods, it is straightforward to collect -1117 /// all metrics into a map or push their values to a metrics collector. -1118 /// -1119 /// For example, the following snippet collects all metrics into a map: -1120 /// ```rust -1121 /// # use std::collections::BTreeMap; -1122 /// # use iroh_metrics::{Metric, MetricsGroup, MetricValue, MetricsGroupSet}; -1123 /// # use iroh::endpoint::Endpoint; -1124 /// # async fn wrapper() -> n0_snafu::Result { -1125 /// let endpoint = Endpoint::builder().bind().await?; -1126 /// let metrics: BTreeMap<String, MetricValue> = endpoint -1127 /// .metrics() -1128 /// .iter() -1129 /// .map(|(group, metric)| { -1130 /// let name = [group, metric.name()].join(":"); -1131 /// (name, metric.value()) -1132 /// }) -1133 /// .collect(); -1134 /// -1135 /// assert_eq!(metrics["magicsock:recv_datagrams"], MetricValue::Counter(0)); -1136 /// # Ok(()) -1137 /// # } -1138 /// ``` -1139 /// -1140 /// The metrics can also be encoded into the OpenMetrics text format, as used by Prometheus. -1141 /// To do so, use the [`iroh_metrics::Registry`], add the endpoint metrics to the -1142 /// registry with [`Registry::register_all`], and encode the metrics to a string with -1143 /// [`encode_openmetrics_to_string`]: -1144 /// ```rust -1145 /// # use iroh_metrics::{Registry, MetricsSource}; +987 /// This currently means at least one relay server was connected, +988 /// and at least one local IP address is available. +989 /// Event if no relays are configured, this will still wait for a relay connection. +990 /// +991 /// Once this has been resolved once, this will always immediately resolve. +992 /// +993 /// This has no timeout, so if that is needed, you need to wrap it in a timeout. +994 /// +995 /// To understand if the endpoint has gone back "offline", +996 /// you must use the [`Endpoint::watch_node_addr`] method, to +997 /// get information on the current relay and direct address information. +998 #[cfg(not(wasm_browser))] +999 pub async fn online(&self) { +1000 let mut watch1 = self.msock.home_relay(); +1001 let mut watch2 = self.msock.direct_addresses(); +1002 tokio::join!(watch1.initialized(), watch2.initialized()); +1003 } +1004 +1005 /// A convenience method that waits for the endpoint to be considered "online". +1006 /// +1007 /// This currently means at least one relay server was connected. +1008 /// Event if no relays are configured, this will still wait for a relay connection. +1009 /// +1010 /// Once this has been resolved once, this will always immediately resolve. +1011 /// +1012 /// This has no timeout, so if that is needed, you need to wrap it in a timeout. +1013 /// +1014 /// To understand if the endpoint has gone back "offline", +1015 /// you must use the [`Endpoint::watch_node_addr`] method, to +1016 /// get information on the current relay and direct address information. +1017 #[cfg(wasm_browser)] +1018 pub async fn online(&self) { +1019 self.msock.home_relay().initialized().await; +1020 } +1021 +1022 /// Returns a [`Watcher`] for any net-reports run from this [`Endpoint`]. +1023 /// +1024 /// A `net-report` checks the network conditions of the [`Endpoint`], such as +1025 /// whether it is connected to the internet via Ipv4 and/or Ipv6, its NAT +1026 /// status, its latency to the relay servers, and its public addresses. +1027 /// +1028 /// The [`Endpoint`] continuously runs `net-reports` to monitor if network +1029 /// conditions have changed. This [`Watcher`] will return the latest result +1030 /// of the `net-report`. +1031 /// +1032 /// When issuing the first call to this method the first report might +1033 /// still be underway, in this case the [`Watcher`] might not be initialized +1034 /// with [`Some`] value yet. Once the net-report has been successfully +1035 /// run, the [`Watcher`] will always return [`Some`] report immediately, which +1036 /// is the most recently run `net-report`. +1037 /// +1038 /// # Examples +1039 /// +1040 /// To get the first report use [`Watcher::initialized`]: +1041 /// ```no_run +1042 /// use iroh::{Endpoint, Watcher as _}; +1043 /// +1044 /// # let rt = tokio::runtime::Builder::new_current_thread().enable_all().build().unwrap(); +1045 /// # rt.block_on(async move { +1046 /// let ep = Endpoint::builder().bind().await.unwrap(); +1047 /// let _report = ep.net_report().initialized().await; +1048 /// # }); +1049 /// ``` +1050 #[doc(hidden)] +1051 pub fn net_report(&self) -> impl Watcher<Value = Option<Report>> + use<> { +1052 self.msock.net_report() +1053 } +1054 +1055 /// Returns the local socket addresses on which the underlying sockets are bound. +1056 /// +1057 /// The [`Endpoint`] always binds on an IPv4 address and also tries to bind on an IPv6 +1058 /// address if available. +1059 pub fn bound_sockets(&self) -> Vec<SocketAddr> { +1060 self.msock +1061 .local_addr() +1062 .into_iter() +1063 .filter_map(|addr| addr.into_socket_addr()) +1064 .collect() +1065 } +1066 +1067 // # Methods for less common getters. +1068 // +1069 // Partially they return things passed into the builder. +1070 +1071 /// Returns a [`Watcher`] that reports the current connection type and any changes for +1072 /// given remote node. +1073 /// +1074 /// This watcher allows observing a stream of [`ConnectionType`] items by calling +1075 /// [`Watcher::stream()`]. If the underlying connection to a remote node changes, it will +1076 /// yield a new item. These connection changes are when the connection switches between +1077 /// using the Relay server and a direct connection. +1078 /// +1079 /// Note that this does not guarantee each connection change is yielded in the stream. +1080 /// If the connection type changes several times before this stream is polled, only the +1081 /// last recorded state is returned. This can be observed e.g. right at the start of a +1082 /// connection when the switch from a relayed to a direct connection can be so fast that +1083 /// the relayed state is never exposed. +1084 /// +1085 /// If there is currently a connection with the remote node, then using [`Watcher::get`] +1086 /// will immediately return either [`ConnectionType::Relay`], [`ConnectionType::Direct`] +1087 /// or [`ConnectionType::Mixed`]. +1088 /// +1089 /// It is possible for the connection type to be [`ConnectionType::None`] if you've +1090 /// recently connected to this node id but previous methods of reaching the node have +1091 /// become inaccessible. +1092 /// +1093 /// Will return `None` if we do not have any address information for the given `node_id`. +1094 pub fn conn_type(&self, node_id: NodeId) -> Option<n0_watcher::Direct<ConnectionType>> { +1095 self.msock.conn_type(node_id) +1096 } +1097 +1098 /// Returns the currently lowest latency for this node. +1099 /// +1100 /// Will return `None` if we do not have any address information for the given `node_id`. +1101 pub fn latency(&self, node_id: NodeId) -> Option<Duration> { +1102 self.msock.latency(node_id) +1103 } +1104 +1105 /// Returns the DNS resolver used in this [`Endpoint`]. +1106 /// +1107 /// See [`Builder::dns_resolver`]. +1108 #[cfg(not(wasm_browser))] +1109 pub fn dns_resolver(&self) -> &DnsResolver { +1110 self.msock.dns_resolver() +1111 } +1112 +1113 /// Returns the discovery mechanism, if configured. +1114 /// +1115 /// See [`Builder::discovery`]. +1116 pub fn discovery(&self) -> &ConcurrentDiscovery { +1117 self.msock.discovery() +1118 } +1119 +1120 /// Returns metrics collected for this endpoint. +1121 /// +1122 /// The endpoint internally collects various metrics about its operation. +1123 /// The returned [`EndpointMetrics`] struct contains all of these metrics. +1124 /// +1125 /// You can access individual metrics directly by using the public fields: +1126 /// ```rust +1127 /// # use std::collections::BTreeMap; +1128 /// # use iroh::endpoint::Endpoint; +1129 /// # async fn wrapper() -> n0_snafu::Result { +1130 /// let endpoint = Endpoint::builder().bind().await?; +1131 /// assert_eq!(endpoint.metrics().magicsock.recv_datagrams.get(), 0); +1132 /// # Ok(()) +1133 /// # } +1134 /// ``` +1135 /// +1136 /// [`EndpointMetrics`] implements [`MetricsGroupSet`], and each field +1137 /// implements [`MetricsGroup`]. These traits provide methods to iterate over +1138 /// the groups in the set, and over the individual metrics in each group, without having +1139 /// to access each field manually. With these methods, it is straightforward to collect +1140 /// all metrics into a map or push their values to a metrics collector. +1141 /// +1142 /// For example, the following snippet collects all metrics into a map: +1143 /// ```rust +1144 /// # use std::collections::BTreeMap; +1145 /// # use iroh_metrics::{Metric, MetricsGroup, MetricValue, MetricsGroupSet}; 1146 /// # use iroh::endpoint::Endpoint; 1147 /// # async fn wrapper() -> n0_snafu::Result { 1148 /// let endpoint = Endpoint::builder().bind().await?; -1149 /// let mut registry = Registry::default(); -1150 /// registry.register_all(endpoint.metrics()); -1151 /// let s = registry.encode_openmetrics_to_string()?; -1152 /// assert!(s.contains(r#"TYPE magicsock_recv_datagrams counter"#)); -1153 /// assert!(s.contains(r#"magicsock_recv_datagrams_total 0"#)); -1154 /// # Ok(()) -1155 /// # } -1156 /// ``` +1149 /// let metrics: BTreeMap<String, MetricValue> = endpoint +1150 /// .metrics() +1151 /// .iter() +1152 /// .map(|(group, metric)| { +1153 /// let name = [group, metric.name()].join(":"); +1154 /// (name, metric.value()) +1155 /// }) +1156 /// .collect(); 1157 /// -1158 /// Through a registry, you can also add labels or prefixes to metrics with -1159 /// [`Registry::sub_registry_with_label`] or [`Registry::sub_registry_with_prefix`]. -1160 /// Furthermore, [`iroh_metrics::service`] provides functions to easily start services -1161 /// to serve the metrics with a HTTP server, dump them to a file, or push them -1162 /// to a Prometheus gateway. -1163 /// -1164 /// For example, the following snippet launches an HTTP server that serves the metrics in the -1165 /// OpenMetrics text format: -1166 /// ```no_run -1167 /// # use std::{sync::{Arc, RwLock}, time::Duration}; +1158 /// assert_eq!(metrics["magicsock:recv_datagrams"], MetricValue::Counter(0)); +1159 /// # Ok(()) +1160 /// # } +1161 /// ``` +1162 /// +1163 /// The metrics can also be encoded into the OpenMetrics text format, as used by Prometheus. +1164 /// To do so, use the [`iroh_metrics::Registry`], add the endpoint metrics to the +1165 /// registry with [`Registry::register_all`], and encode the metrics to a string with +1166 /// [`encode_openmetrics_to_string`]: +1167 /// ```rust 1168 /// # use iroh_metrics::{Registry, MetricsSource}; 1169 /// # use iroh::endpoint::Endpoint; -1170 /// # use n0_snafu::ResultExt; -1171 /// # async fn wrapper() -> n0_snafu::Result { -1172 /// // Create a registry, wrapped in a read-write lock so that we can register and serve -1173 /// // the metrics independently. -1174 /// let registry = Arc::new(RwLock::new(Registry::default())); -1175 /// // Spawn a task to serve the metrics on an OpenMetrics HTTP endpoint. -1176 /// let metrics_task = tokio::task::spawn({ -1177 /// let registry = registry.clone(); -1178 /// async move { -1179 /// let addr = "0.0.0.0:9100".parse().unwrap(); -1180 /// iroh_metrics::service::start_metrics_server(addr, registry).await -1181 /// } -1182 /// }); -1183 /// -1184 /// // Spawn an endpoint and add the metrics to the registry. -1185 /// let endpoint = Endpoint::builder().bind().await?; -1186 /// registry.write().unwrap().register_all(endpoint.metrics()); -1187 /// -1188 /// // Wait for the metrics server to bind, then fetch the metrics via HTTP. -1189 /// tokio::time::sleep(Duration::from_millis(500)); -1190 /// let res = reqwest::get("http://localhost:9100/metrics") -1191 /// .await -1192 /// .context("get")? -1193 /// .text() -1194 /// .await -1195 /// .context("text")?; -1196 /// -1197 /// assert!(res.contains(r#"TYPE magicsock_recv_datagrams counter"#)); -1198 /// assert!(res.contains(r#"magicsock_recv_datagrams_total 0"#)); -1199 /// # metrics_task.abort(); -1200 /// # Ok(()) -1201 /// # } -1202 /// ``` -1203 /// -1204 /// [`Registry`]: iroh_metrics::Registry -1205 /// [`Registry::register_all`]: iroh_metrics::Registry::register_all -1206 /// [`Registry::sub_registry_with_label`]: iroh_metrics::Registry::sub_registry_with_label -1207 /// [`Registry::sub_registry_with_prefix`]: iroh_metrics::Registry::sub_registry_with_prefix -1208 /// [`encode_openmetrics_to_string`]: iroh_metrics::MetricsSource::encode_openmetrics_to_string -1209 /// [`MetricsGroup`]: iroh_metrics::MetricsGroup -1210 /// [`MetricsGroupSet`]: iroh_metrics::MetricsGroupSet -1211 #[cfg(feature = "metrics")] -1212 pub fn metrics(&self) -> &EndpointMetrics { -1213 &self.msock.metrics -1214 } -1215 -1216 // # Methods for less common state updates. -1217 -1218 /// Notifies the system of potential network changes. +1170 /// # async fn wrapper() -> n0_snafu::Result { +1171 /// let endpoint = Endpoint::builder().bind().await?; +1172 /// let mut registry = Registry::default(); +1173 /// registry.register_all(endpoint.metrics()); +1174 /// let s = registry.encode_openmetrics_to_string()?; +1175 /// assert!(s.contains(r#"TYPE magicsock_recv_datagrams counter"#)); +1176 /// assert!(s.contains(r#"magicsock_recv_datagrams_total 0"#)); +1177 /// # Ok(()) +1178 /// # } +1179 /// ``` +1180 /// +1181 /// Through a registry, you can also add labels or prefixes to metrics with +1182 /// [`Registry::sub_registry_with_label`] or [`Registry::sub_registry_with_prefix`]. +1183 /// Furthermore, [`iroh_metrics::service`] provides functions to easily start services +1184 /// to serve the metrics with a HTTP server, dump them to a file, or push them +1185 /// to a Prometheus gateway. +1186 /// +1187 /// For example, the following snippet launches an HTTP server that serves the metrics in the +1188 /// OpenMetrics text format: +1189 /// ```no_run +1190 /// # use std::{sync::{Arc, RwLock}, time::Duration}; +1191 /// # use iroh_metrics::{Registry, MetricsSource}; +1192 /// # use iroh::endpoint::Endpoint; +1193 /// # use n0_snafu::ResultExt; +1194 /// # async fn wrapper() -> n0_snafu::Result { +1195 /// // Create a registry, wrapped in a read-write lock so that we can register and serve +1196 /// // the metrics independently. +1197 /// let registry = Arc::new(RwLock::new(Registry::default())); +1198 /// // Spawn a task to serve the metrics on an OpenMetrics HTTP endpoint. +1199 /// let metrics_task = tokio::task::spawn({ +1200 /// let registry = registry.clone(); +1201 /// async move { +1202 /// let addr = "0.0.0.0:9100".parse().unwrap(); +1203 /// iroh_metrics::service::start_metrics_server(addr, registry).await +1204 /// } +1205 /// }); +1206 /// +1207 /// // Spawn an endpoint and add the metrics to the registry. +1208 /// let endpoint = Endpoint::builder().bind().await?; +1209 /// registry.write().unwrap().register_all(endpoint.metrics()); +1210 /// +1211 /// // Wait for the metrics server to bind, then fetch the metrics via HTTP. +1212 /// tokio::time::sleep(Duration::from_millis(500)); +1213 /// let res = reqwest::get("http://localhost:9100/metrics") +1214 /// .await +1215 /// .context("get")? +1216 /// .text() +1217 /// .await +1218 /// .context("text")?; 1219 /// -1220 /// On many systems iroh is able to detect network changes by itself, however -1221 /// some systems like android do not expose this functionality to native code. -1222 /// Android does however provide this functionality to Java code. This -1223 /// function allows for notifying iroh of any potential network changes like -1224 /// this. -1225 /// -1226 /// Even when the network did not change, or iroh was already able to detect -1227 /// the network change itself, there is no harm in calling this function. -1228 pub async fn network_change(&self) { -1229 self.msock.network_change().await; -1230 } -1231 -1232 // # Methods to update internal state. -1233 -1234 /// Sets the initial user-defined data to be published in discovery services for this node. -1235 /// -1236 /// If the user-defined data passed to this function is different to the previous one, -1237 /// the endpoint will republish its node info to the configured discovery services. -1238 /// -1239 /// See also [`Builder::user_data_for_discovery`] for setting an initial value when -1240 /// building the endpoint. -1241 pub fn set_user_data_for_discovery(&self, user_data: Option<UserData>) { -1242 self.msock.set_user_data_for_discovery(user_data); -1243 } -1244 -1245 // # Methods for terminating the endpoint. -1246 -1247 /// Closes the QUIC endpoint and the magic socket. +1220 /// assert!(res.contains(r#"TYPE magicsock_recv_datagrams counter"#)); +1221 /// assert!(res.contains(r#"magicsock_recv_datagrams_total 0"#)); +1222 /// # metrics_task.abort(); +1223 /// # Ok(()) +1224 /// # } +1225 /// ``` +1226 /// +1227 /// [`Registry`]: iroh_metrics::Registry +1228 /// [`Registry::register_all`]: iroh_metrics::Registry::register_all +1229 /// [`Registry::sub_registry_with_label`]: iroh_metrics::Registry::sub_registry_with_label +1230 /// [`Registry::sub_registry_with_prefix`]: iroh_metrics::Registry::sub_registry_with_prefix +1231 /// [`encode_openmetrics_to_string`]: iroh_metrics::MetricsSource::encode_openmetrics_to_string +1232 /// [`MetricsGroup`]: iroh_metrics::MetricsGroup +1233 /// [`MetricsGroupSet`]: iroh_metrics::MetricsGroupSet +1234 #[cfg(feature = "metrics")] +1235 pub fn metrics(&self) -> &EndpointMetrics { +1236 &self.msock.metrics +1237 } +1238 +1239 // # Methods for less common state updates. +1240 +1241 /// Notifies the system of potential network changes. +1242 /// +1243 /// On many systems iroh is able to detect network changes by itself, however +1244 /// some systems like android do not expose this functionality to native code. +1245 /// Android does however provide this functionality to Java code. This +1246 /// function allows for notifying iroh of any potential network changes like +1247 /// this. 1248 /// -1249 /// This will close any remaining open [`Connection`]s with an error code -1250 /// of `0` and an empty reason. Though it is best practice to close those -1251 /// explicitly before with a custom error code and reason. -1252 /// -1253 /// It will then make a best effort to wait for all close notifications to be -1254 /// acknowledged by the peers, re-transmitting them if needed. This ensures the -1255 /// peers are aware of the closed connections instead of having to wait for a timeout -1256 /// on the connection. Once all connections are closed or timed out, the future -1257 /// finishes. +1249 /// Even when the network did not change, or iroh was already able to detect +1250 /// the network change itself, there is no harm in calling this function. +1251 pub async fn network_change(&self) { +1252 self.msock.network_change().await; +1253 } +1254 +1255 // # Methods to update internal state. +1256 +1257 /// Sets the initial user-defined data to be published in discovery services for this node. 1258 /// -1259 /// The maximum time-out that this future will wait for depends on QUIC transport -1260 /// configurations of non-drained connections at the time of calling, and their current -1261 /// estimates of round trip time. With default parameters and a conservative estimate -1262 /// of round trip time, this call's future should take 3 seconds to resolve in cases of -1263 /// bad connectivity or failed connections. In the usual case, this call's future should -1264 /// return much more quickly. -1265 /// -1266 /// It is highly recommended you *do* wait for this close call to finish, if possible. -1267 /// Not doing so will make connections that were still open while closing the endpoint -1268 /// time out on the remote end. Thus remote ends will assume connections to have failed -1269 /// even if all application data was transmitted successfully. -1270 /// -1271 /// Note: Someone used to closing TCP sockets might wonder why it is necessary to wait -1272 /// for timeouts when closing QUIC endpoints, while they don't have to do this for TCP -1273 /// sockets. This is due to QUIC and its acknowledgments being implemented in user-land, -1274 /// while TCP sockets usually get closed and drained by the operating system in the -1275 /// kernel during the "Time-Wait" period of the TCP socket. -1276 /// -1277 /// Be aware however that the underlying UDP sockets are only closed once all clones of -1278 /// the the respective [`Endpoint`] are dropped. -1279 pub async fn close(&self) { -1280 if self.is_closed() { -1281 return; -1282 } -1283 -1284 tracing::debug!("Connections closed"); -1285 self.msock.close().await; -1286 } -1287 -1288 /// Check if this endpoint is still alive, or already closed. -1289 pub fn is_closed(&self) -> bool { -1290 self.msock.is_closed() -1291 } -1292 -1293 // # Remaining private methods -1294 -1295 /// Checks if the given `NodeId` needs discovery. -1296 pub(crate) fn needs_discovery(&self, node_id: NodeId, max_age: Duration) -> bool { -1297 match self.msock.remote_info(node_id) { -1298 // No info means no path to node -> start discovery. -1299 None => true, -1300 Some(info) => { -1301 match ( -1302 info.last_received(), -1303 info.relay_url.as_ref().and_then(|r| r.last_alive), -1304 ) { -1305 // No path to node -> start discovery. -1306 (None, None) => true, -1307 // If we haven't received on direct addresses or the relay for MAX_AGE, -1308 // start discovery. -1309 (Some(elapsed), Some(elapsed_relay)) => { -1310 elapsed > max_age && elapsed_relay > max_age -1311 } -1312 (Some(elapsed), _) | (_, Some(elapsed)) => elapsed > max_age, -1313 } -1314 } -1315 } -1316 } +1259 /// If the user-defined data passed to this function is different to the previous one, +1260 /// the endpoint will republish its node info to the configured discovery services. +1261 /// +1262 /// See also [`Builder::user_data_for_discovery`] for setting an initial value when +1263 /// building the endpoint. +1264 pub fn set_user_data_for_discovery(&self, user_data: Option<UserData>) { +1265 self.msock.set_user_data_for_discovery(user_data); +1266 } +1267 +1268 // # Methods for terminating the endpoint. +1269 +1270 /// Closes the QUIC endpoint and the magic socket. +1271 /// +1272 /// This will close any remaining open [`Connection`]s with an error code +1273 /// of `0` and an empty reason. Though it is best practice to close those +1274 /// explicitly before with a custom error code and reason. +1275 /// +1276 /// It will then make a best effort to wait for all close notifications to be +1277 /// acknowledged by the peers, re-transmitting them if needed. This ensures the +1278 /// peers are aware of the closed connections instead of having to wait for a timeout +1279 /// on the connection. Once all connections are closed or timed out, the future +1280 /// finishes. +1281 /// +1282 /// The maximum time-out that this future will wait for depends on QUIC transport +1283 /// configurations of non-drained connections at the time of calling, and their current +1284 /// estimates of round trip time. With default parameters and a conservative estimate +1285 /// of round trip time, this call's future should take 3 seconds to resolve in cases of +1286 /// bad connectivity or failed connections. In the usual case, this call's future should +1287 /// return much more quickly. +1288 /// +1289 /// It is highly recommended you *do* wait for this close call to finish, if possible. +1290 /// Not doing so will make connections that were still open while closing the endpoint +1291 /// time out on the remote end. Thus remote ends will assume connections to have failed +1292 /// even if all application data was transmitted successfully. +1293 /// +1294 /// Note: Someone used to closing TCP sockets might wonder why it is necessary to wait +1295 /// for timeouts when closing QUIC endpoints, while they don't have to do this for TCP +1296 /// sockets. This is due to QUIC and its acknowledgments being implemented in user-land, +1297 /// while TCP sockets usually get closed and drained by the operating system in the +1298 /// kernel during the "Time-Wait" period of the TCP socket. +1299 /// +1300 /// Be aware however that the underlying UDP sockets are only closed once all clones of +1301 /// the the respective [`Endpoint`] are dropped. +1302 pub async fn close(&self) { +1303 if self.is_closed() { +1304 return; +1305 } +1306 +1307 tracing::debug!("Connections closed"); +1308 self.msock.close().await; +1309 } +1310 +1311 /// Check if this endpoint is still alive, or already closed. +1312 pub fn is_closed(&self) -> bool { +1313 self.msock.is_closed() +1314 } +1315 +1316 // # Remaining private methods 1317 -1318 /// Return the quic mapped address for this `node_id` and possibly start discovery -1319 /// services if discovery is enabled on this magic endpoint. -1320 /// -1321 /// This will launch discovery in all cases except if: -1322 /// 1) we do not have discovery enabled -1323 /// 2) we have discovery enabled, but already have at least one verified, unexpired -1324 /// addresses for this `node_id` -1325 /// -1326 /// # Errors -1327 /// -1328 /// This method may fail if we have no way of dialing the node. This can occur if -1329 /// we were given no dialing information in the [`NodeAddr`] and no discovery -1330 /// services were configured or if discovery failed to fetch any dialing information. -1331 async fn get_mapping_addr_and_maybe_start_discovery( -1332 &self, -1333 node_addr: NodeAddr, -1334 ) -> Result<(NodeIdMappedAddr, Option<DiscoveryTask>), GetMappingAddressError> { -1335 let node_id = node_addr.node_id; -1336 -1337 // Only return a mapped addr if we have some way of dialing this node, in other -1338 // words, we have either a relay URL or at least one direct address. -1339 let addr = if self.msock.has_send_address(node_id) { -1340 self.msock.get_mapping_addr(node_id) -1341 } else { -1342 None -1343 }; -1344 match addr { -1345 Some(addr) => { -1346 // We have some way of dialing this node, but that doesn't actually mean -1347 // we can actually connect to any of these addresses. -1348 // Therefore, we will invoke the discovery service if we haven't received from the -1349 // endpoint on any of the existing paths recently. -1350 // If the user provided addresses in this connect call, we will add a delay -1351 // followed by a recheck before starting the discovery, to give the magicsocket a -1352 // chance to test the newly provided addresses. -1353 let delay = (!node_addr.is_empty()).then_some(DISCOVERY_WAIT_PERIOD); -1354 let discovery = DiscoveryTask::maybe_start_after_delay(self, node_id, delay) -1355 .ok() -1356 .flatten(); -1357 Ok((addr, discovery)) -1358 } +1318 /// Checks if the given `NodeId` needs discovery. +1319 pub(crate) fn needs_discovery(&self, node_id: NodeId, max_age: Duration) -> bool { +1320 match self.msock.remote_info(node_id) { +1321 // No info means no path to node -> start discovery. +1322 None => true, +1323 Some(info) => { +1324 match ( +1325 info.last_received(), +1326 info.relay_url.as_ref().and_then(|r| r.last_alive), +1327 ) { +1328 // No path to node -> start discovery. +1329 (None, None) => true, +1330 // If we haven't received on direct addresses or the relay for MAX_AGE, +1331 // start discovery. +1332 (Some(elapsed), Some(elapsed_relay)) => { +1333 elapsed > max_age && elapsed_relay > max_age +1334 } +1335 (Some(elapsed), _) | (_, Some(elapsed)) => elapsed > max_age, +1336 } +1337 } +1338 } +1339 } +1340 +1341 /// Return the quic mapped address for this `node_id` and possibly start discovery +1342 /// services if discovery is enabled on this magic endpoint. +1343 /// +1344 /// This will launch discovery in all cases except if: +1345 /// 1) we do not have discovery enabled +1346 /// 2) we have discovery enabled, but already have at least one verified, unexpired +1347 /// addresses for this `node_id` +1348 /// +1349 /// # Errors +1350 /// +1351 /// This method may fail if we have no way of dialing the node. This can occur if +1352 /// we were given no dialing information in the [`NodeAddr`] and no discovery +1353 /// services were configured or if discovery failed to fetch any dialing information. +1354 async fn get_mapping_addr_and_maybe_start_discovery( +1355 &self, +1356 node_addr: NodeAddr, +1357 ) -> Result<(NodeIdMappedAddr, Option<DiscoveryTask>), GetMappingAddressError> { +1358 let node_id = node_addr.node_id; 1359 -1360 None => { -1361 // We have no known addresses or relay URLs for this node. -1362 // So, we start a discovery task and wait for the first result to arrive, and -1363 // only then continue, because otherwise we wouldn't have any -1364 // path to the remote endpoint. -1365 let res = DiscoveryTask::start(self.clone(), node_id); -1366 let mut discovery = res.context(get_mapping_address_error::DiscoveryStartSnafu)?; -1367 discovery -1368 .first_arrived() -1369 .await -1370 .context(get_mapping_address_error::DiscoverSnafu)?; -1371 if let Some(addr) = self.msock.get_mapping_addr(node_id) { -1372 Ok((addr, Some(discovery))) -1373 } else { -1374 Err(get_mapping_address_error::NoAddressSnafu.build()) -1375 } -1376 } -1377 } -1378 } -1379 -1380 #[cfg(test)] -1381 pub(crate) fn magic_sock(&self) -> Handle { -1382 self.msock.clone() -1383 } -1384 #[cfg(test)] -1385 pub(crate) fn endpoint(&self) -> &quinn::Endpoint { -1386 self.msock.endpoint() -1387 } -1388} -1389 -1390/// Options for the [`Endpoint::connect_with_opts`] function. -1391#[derive(Default, Debug, Clone)] -1392pub struct ConnectOptions { -1393 transport_config: Option<Arc<TransportConfig>>, -1394 additional_alpns: Vec<Vec<u8>>, -1395} -1396 -1397impl ConnectOptions { -1398 /// Initializes new connection options. -1399 /// -1400 /// By default, the connection will use the same options -1401 /// as [`Endpoint::connect`], e.g. a default [`TransportConfig`]. -1402 pub fn new() -> Self { -1403 Self::default() -1404 } -1405 -1406 /// Sets the QUIC transport config options for this connection. -1407 pub fn with_transport_config(mut self, transport_config: Arc<TransportConfig>) -> Self { -1408 self.transport_config = Some(transport_config); -1409 self -1410 } -1411 -1412 /// Sets [ALPN] identifiers that should be signaled as supported on connection, *in -1413 /// addition* to the main [ALPN] identifier used in [`Endpoint::connect_with_opts`]. -1414 /// -1415 /// This allows connecting to servers that may only support older versions of your -1416 /// protocol. In this case, you would add the older [ALPN] identifiers with this -1417 /// function. -1418 /// -1419 /// You'll know the final negotiated [ALPN] identifier once your connection was -1420 /// established using [`Connection::alpn`], or even slightly earlier in the -1421 /// handshake by using [`Connecting::alpn`]. -1422 /// The negotiated [ALPN] identifier may be any of the [ALPN] identifiers in this -1423 /// list or the main [ALPN] used in [`Endpoint::connect_with_opts`]. -1424 /// -1425 /// The [ALPN] identifier order on the connect side doesn't matter, since it's the -1426 /// accept side that determines the protocol. -1427 /// -1428 /// For setting the supported [ALPN] identifiers on the accept side, see the endpoint -1429 /// builder's [`Builder::alpns`] function. -1430 /// -1431 /// [ALPN]: https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation -1432 pub fn with_additional_alpns(mut self, alpns: Vec<Vec<u8>>) -> Self { -1433 self.additional_alpns = alpns; -1434 self -1435 } -1436} -1437 -1438/// Future produced by [`Endpoint::accept`]. -1439#[derive(derive_more::Debug)] -1440#[pin_project] -1441pub struct Accept<'a> { -1442 #[pin] -1443 #[debug("quinn::Accept")] -1444 inner: quinn::Accept<'a>, -1445 ep: Endpoint, -1446} -1447 -1448impl Future for Accept<'_> { -1449 type Output = Option<Incoming>; -1450 -1451 fn poll(self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll<Self::Output> { -1452 let this = self.project(); -1453 match this.inner.poll(cx) { -1454 Poll::Pending => Poll::Pending, -1455 Poll::Ready(None) => Poll::Ready(None), -1456 Poll::Ready(Some(inner)) => Poll::Ready(Some(Incoming { -1457 inner, -1458 ep: this.ep.clone(), -1459 })), -1460 } -1461 } -1462} -1463 -1464/// An incoming connection for which the server has not yet begun its parts of the -1465/// handshake. -1466#[derive(Debug)] -1467pub struct Incoming { -1468 inner: quinn::Incoming, -1469 ep: Endpoint, -1470} -1471 -1472impl Incoming { -1473 /// Attempts to accept this incoming connection (an error may still occur). -1474 /// -1475 /// Errors occurring here are likely not caused by the application or remote. The QUIC -1476 /// connection listens on a normal UDP socket and any reachable network endpoint can -1477 /// send datagrams to it, solicited or not. Even if the first few bytes look like a -1478 /// QUIC packet, it might not even be a QUIC packet that is being received. -1479 /// -1480 /// Thus it is common to simply log the errors here and accept them as something which -1481 /// can happen. -1482 pub fn accept(self) -> Result<Connecting, ConnectionError> { -1483 self.inner.accept().map(|conn| Connecting { -1484 inner: conn, -1485 ep: self.ep, -1486 remote_node_id: None, -1487 _discovery_drop_guard: None, -1488 }) -1489 } -1490 -1491 /// Accepts this incoming connection using a custom configuration. -1492 /// -1493 /// See [`accept()`] for more details. -1494 /// -1495 /// [`accept()`]: Incoming::accept -1496 pub fn accept_with( -1497 self, -1498 server_config: Arc<ServerConfig>, -1499 ) -> Result<Connecting, ConnectionError> { -1500 self.inner -1501 .accept_with(server_config) -1502 .map(|conn| Connecting { -1503 inner: conn, -1504 ep: self.ep, -1505 remote_node_id: None, -1506 _discovery_drop_guard: None, -1507 }) -1508 } -1509 -1510 /// Rejects this incoming connection attempt. -1511 pub fn refuse(self) { -1512 self.inner.refuse() -1513 } -1514 -1515 /// Responds with a retry packet. -1516 /// -1517 /// This requires the client to retry with address validation. -1518 /// -1519 /// Errors if `remote_address_validated()` is true. -1520 #[allow(clippy::result_large_err)] -1521 pub fn retry(self) -> Result<(), RetryError> { -1522 self.inner.retry() -1523 } -1524 -1525 /// Ignores this incoming connection attempt, not sending any packet in response. -1526 pub fn ignore(self) { -1527 self.inner.ignore() -1528 } -1529 -1530 /// Returns the local IP address which was used when the peer established the -1531 /// connection. -1532 pub fn local_ip(&self) -> Option<IpAddr> { -1533 self.inner.local_ip() -1534 } -1535 -1536 /// Returns the peer's UDP address. -1537 pub fn remote_address(&self) -> SocketAddr { -1538 self.inner.remote_address() -1539 } -1540 -1541 /// Whether the socket address that is initiating this connection has been validated. -1542 /// -1543 /// This means that the sender of the initial packet has proved that they can receive -1544 /// traffic sent to `self.remote_address()`. -1545 pub fn remote_address_validated(&self) -> bool { -1546 self.inner.remote_address_validated() -1547 } -1548} -1549 -1550impl IntoFuture for Incoming { -1551 type Output = Result<Connection, ConnectionError>; -1552 type IntoFuture = IncomingFuture; -1553 -1554 fn into_future(self) -> Self::IntoFuture { -1555 IncomingFuture { -1556 inner: self.inner.into_future(), -1557 ep: self.ep, -1558 } -1559 } -1560} -1561 -1562/// Adaptor to let [`Incoming`] be `await`ed like a [`Connecting`]. -1563#[derive(Debug)] -1564#[pin_project] -1565pub struct IncomingFuture { -1566 #[pin] -1567 inner: quinn::IncomingFuture, -1568 ep: Endpoint, -1569} -1570 -1571impl Future for IncomingFuture { -1572 type Output = Result<Connection, ConnectionError>; -1573 -1574 fn poll(self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll<Self::Output> { -1575 let this = self.project(); -1576 match this.inner.poll(cx) { -1577 Poll::Pending => Poll::Pending, -1578 Poll::Ready(Err(err)) => Poll::Ready(Err(err)), -1579 Poll::Ready(Ok(inner)) => { -1580 let conn = Connection { inner }; -1581 try_send_rtt_msg(&conn, this.ep, None); -1582 Poll::Ready(Ok(conn)) -1583 } -1584 } -1585 } -1586} -1587 -1588/// In-progress connection attempt future -1589#[derive(derive_more::Debug)] -1590#[pin_project] -1591pub struct Connecting { -1592 #[pin] -1593 inner: quinn::Connecting, -1594 ep: Endpoint, -1595 remote_node_id: Option<NodeId>, -1596 /// We run discovery as long as we haven't established a connection yet. -1597 #[debug("Option<DiscoveryTask>")] -1598 _discovery_drop_guard: Option<DiscoveryTask>, -1599} -1600 -1601#[allow(missing_docs)] -1602#[common_fields({ -1603 backtrace: Option<snafu::Backtrace>, -1604 #[snafu(implicit)] -1605 span_trace: n0_snafu::SpanTrace, -1606})] -1607#[derive(Debug, Snafu)] -1608#[non_exhaustive] -1609pub enum AlpnError { -1610 #[snafu(transparent)] -1611 ConnectionError { source: ConnectionError }, -1612 #[snafu(display("No ALPN available"))] -1613 Unavailable {}, -1614 #[snafu(display("Unknown handshake type"))] -1615 UnknownHandshake {}, -1616} -1617 -1618impl Connecting { -1619 /// Converts this [`Connecting`] into a 0-RTT or 0.5-RTT connection at the cost of weakened -1620 /// security. -1621 /// -1622 /// Returns `Ok` immediately if the local endpoint is able to attempt sending 0/0.5-RTT data. -1623 /// If so, the returned [`Connection`] can be used to send application data without waiting for -1624 /// the rest of the handshake to complete, at the cost of weakened cryptographic security -1625 /// guarantees. The returned [`ZeroRttAccepted`] future resolves when the handshake does -1626 /// complete, at which point subsequently opened streams and written data will have full -1627 /// cryptographic protection. -1628 /// -1629 /// Once the [`ZeroRttAccepted`] future completed, a full handshake has been carried through -1630 /// and any data sent and any streams opened on the [`Connection`] will operate with the same -1631 /// security as on normal 1-RTT connections. -1632 /// -1633 /// ## Outgoing -1634 /// -1635 /// For outgoing connections, the initial attempt to convert to a [`Connection`] which sends -1636 /// 0-RTT data will attempt to resume a previous TLS session. However, **the remote endpoint -1637 /// may not actually _accept_ the 0-RTT data**--yet still accept the connection attempt in -1638 /// general. This possibility is conveyed through the [`ZeroRttAccepted`] future--when the -1639 /// handshake completes, it resolves to true if the 0-RTT data was accepted and false if it was -1640 /// rejected. If it was rejected, the existence of streams opened and other application data -1641 /// sent prior to the handshake completing will not be conveyed to the remote application, and -1642 /// local operations on them will return `ZeroRttRejected` errors. -1643 /// -1644 /// A server may reject 0-RTT data at its discretion, but accepting 0-RTT data requires the -1645 /// relevant resumption state to be stored in the server, which servers may limit or lose for -1646 /// various reasons including not persisting resumption state across server restarts. -1647 /// -1648 /// ## Incoming -1649 /// -1650 /// For incoming connections, conversion to 0.5-RTT will always fully succeed. `into_0rtt` will -1651 /// always return `Ok` and the [`ZeroRttAccepted`] will always resolve to true. -1652 /// -1653 /// ## Security -1654 /// -1655 /// On outgoing connections, this enables transmission of 0-RTT data, which is vulnerable to -1656 /// replay attacks, and should therefore never invoke non-idempotent operations. +1360 // Only return a mapped addr if we have some way of dialing this node, in other +1361 // words, we have either a relay URL or at least one direct address. +1362 let addr = if self.msock.has_send_address(node_id) { +1363 self.msock.get_mapping_addr(node_id) +1364 } else { +1365 None +1366 }; +1367 match addr { +1368 Some(addr) => { +1369 // We have some way of dialing this node, but that doesn't actually mean +1370 // we can actually connect to any of these addresses. +1371 // Therefore, we will invoke the discovery service if we haven't received from the +1372 // endpoint on any of the existing paths recently. +1373 // If the user provided addresses in this connect call, we will add a delay +1374 // followed by a recheck before starting the discovery, to give the magicsocket a +1375 // chance to test the newly provided addresses. +1376 let delay = (!node_addr.is_empty()).then_some(DISCOVERY_WAIT_PERIOD); +1377 let discovery = DiscoveryTask::maybe_start_after_delay(self, node_id, delay) +1378 .ok() +1379 .flatten(); +1380 Ok((addr, discovery)) +1381 } +1382 +1383 None => { +1384 // We have no known addresses or relay URLs for this node. +1385 // So, we start a discovery task and wait for the first result to arrive, and +1386 // only then continue, because otherwise we wouldn't have any +1387 // path to the remote endpoint. +1388 let res = DiscoveryTask::start(self.clone(), node_id); +1389 let mut discovery = res.context(get_mapping_address_error::DiscoveryStartSnafu)?; +1390 discovery +1391 .first_arrived() +1392 .await +1393 .context(get_mapping_address_error::DiscoverSnafu)?; +1394 if let Some(addr) = self.msock.get_mapping_addr(node_id) { +1395 Ok((addr, Some(discovery))) +1396 } else { +1397 Err(get_mapping_address_error::NoAddressSnafu.build()) +1398 } +1399 } +1400 } +1401 } +1402 +1403 #[cfg(test)] +1404 pub(crate) fn magic_sock(&self) -> Handle { +1405 self.msock.clone() +1406 } +1407 #[cfg(test)] +1408 pub(crate) fn endpoint(&self) -> &quinn::Endpoint { +1409 self.msock.endpoint() +1410 } +1411} +1412 +1413/// Options for the [`Endpoint::connect_with_opts`] function. +1414#[derive(Default, Debug, Clone)] +1415pub struct ConnectOptions { +1416 transport_config: Option<Arc<TransportConfig>>, +1417 additional_alpns: Vec<Vec<u8>>, +1418} +1419 +1420impl ConnectOptions { +1421 /// Initializes new connection options. +1422 /// +1423 /// By default, the connection will use the same options +1424 /// as [`Endpoint::connect`], e.g. a default [`TransportConfig`]. +1425 pub fn new() -> Self { +1426 Self::default() +1427 } +1428 +1429 /// Sets the QUIC transport config options for this connection. +1430 pub fn with_transport_config(mut self, transport_config: Arc<TransportConfig>) -> Self { +1431 self.transport_config = Some(transport_config); +1432 self +1433 } +1434 +1435 /// Sets [ALPN] identifiers that should be signaled as supported on connection, *in +1436 /// addition* to the main [ALPN] identifier used in [`Endpoint::connect_with_opts`]. +1437 /// +1438 /// This allows connecting to servers that may only support older versions of your +1439 /// protocol. In this case, you would add the older [ALPN] identifiers with this +1440 /// function. +1441 /// +1442 /// You'll know the final negotiated [ALPN] identifier once your connection was +1443 /// established using [`Connection::alpn`], or even slightly earlier in the +1444 /// handshake by using [`Connecting::alpn`]. +1445 /// The negotiated [ALPN] identifier may be any of the [ALPN] identifiers in this +1446 /// list or the main [ALPN] used in [`Endpoint::connect_with_opts`]. +1447 /// +1448 /// The [ALPN] identifier order on the connect side doesn't matter, since it's the +1449 /// accept side that determines the protocol. +1450 /// +1451 /// For setting the supported [ALPN] identifiers on the accept side, see the endpoint +1452 /// builder's [`Builder::alpns`] function. +1453 /// +1454 /// [ALPN]: https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation +1455 pub fn with_additional_alpns(mut self, alpns: Vec<Vec<u8>>) -> Self { +1456 self.additional_alpns = alpns; +1457 self +1458 } +1459} +1460 +1461/// Future produced by [`Endpoint::accept`]. +1462#[derive(derive_more::Debug)] +1463#[pin_project] +1464pub struct Accept<'a> { +1465 #[pin] +1466 #[debug("quinn::Accept")] +1467 inner: quinn::Accept<'a>, +1468 ep: Endpoint, +1469} +1470 +1471impl Future for Accept<'_> { +1472 type Output = Option<Incoming>; +1473 +1474 fn poll(self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll<Self::Output> { +1475 let this = self.project(); +1476 match this.inner.poll(cx) { +1477 Poll::Pending => Poll::Pending, +1478 Poll::Ready(None) => Poll::Ready(None), +1479 Poll::Ready(Some(inner)) => Poll::Ready(Some(Incoming { +1480 inner, +1481 ep: this.ep.clone(), +1482 })), +1483 } +1484 } +1485} +1486 +1487/// An incoming connection for which the server has not yet begun its parts of the +1488/// handshake. +1489#[derive(Debug)] +1490pub struct Incoming { +1491 inner: quinn::Incoming, +1492 ep: Endpoint, +1493} +1494 +1495impl Incoming { +1496 /// Attempts to accept this incoming connection (an error may still occur). +1497 /// +1498 /// Errors occurring here are likely not caused by the application or remote. The QUIC +1499 /// connection listens on a normal UDP socket and any reachable network endpoint can +1500 /// send datagrams to it, solicited or not. Even if the first few bytes look like a +1501 /// QUIC packet, it might not even be a QUIC packet that is being received. +1502 /// +1503 /// Thus it is common to simply log the errors here and accept them as something which +1504 /// can happen. +1505 pub fn accept(self) -> Result<Connecting, ConnectionError> { +1506 self.inner.accept().map(|conn| Connecting { +1507 inner: conn, +1508 ep: self.ep, +1509 remote_node_id: None, +1510 _discovery_drop_guard: None, +1511 }) +1512 } +1513 +1514 /// Accepts this incoming connection using a custom configuration. +1515 /// +1516 /// See [`accept()`] for more details. +1517 /// +1518 /// [`accept()`]: Incoming::accept +1519 pub fn accept_with( +1520 self, +1521 server_config: Arc<ServerConfig>, +1522 ) -> Result<Connecting, ConnectionError> { +1523 self.inner +1524 .accept_with(server_config) +1525 .map(|conn| Connecting { +1526 inner: conn, +1527 ep: self.ep, +1528 remote_node_id: None, +1529 _discovery_drop_guard: None, +1530 }) +1531 } +1532 +1533 /// Rejects this incoming connection attempt. +1534 pub fn refuse(self) { +1535 self.inner.refuse() +1536 } +1537 +1538 /// Responds with a retry packet. +1539 /// +1540 /// This requires the client to retry with address validation. +1541 /// +1542 /// Errors if `remote_address_validated()` is true. +1543 #[allow(clippy::result_large_err)] +1544 pub fn retry(self) -> Result<(), RetryError> { +1545 self.inner.retry() +1546 } +1547 +1548 /// Ignores this incoming connection attempt, not sending any packet in response. +1549 pub fn ignore(self) { +1550 self.inner.ignore() +1551 } +1552 +1553 /// Returns the local IP address which was used when the peer established the +1554 /// connection. +1555 pub fn local_ip(&self) -> Option<IpAddr> { +1556 self.inner.local_ip() +1557 } +1558 +1559 /// Returns the peer's UDP address. +1560 pub fn remote_address(&self) -> SocketAddr { +1561 self.inner.remote_address() +1562 } +1563 +1564 /// Whether the socket address that is initiating this connection has been validated. +1565 /// +1566 /// This means that the sender of the initial packet has proved that they can receive +1567 /// traffic sent to `self.remote_address()`. +1568 pub fn remote_address_validated(&self) -> bool { +1569 self.inner.remote_address_validated() +1570 } +1571} +1572 +1573impl IntoFuture for Incoming { +1574 type Output = Result<Connection, ConnectionError>; +1575 type IntoFuture = IncomingFuture; +1576 +1577 fn into_future(self) -> Self::IntoFuture { +1578 IncomingFuture { +1579 inner: self.inner.into_future(), +1580 ep: self.ep, +1581 } +1582 } +1583} +1584 +1585/// Adaptor to let [`Incoming`] be `await`ed like a [`Connecting`]. +1586#[derive(Debug)] +1587#[pin_project] +1588pub struct IncomingFuture { +1589 #[pin] +1590 inner: quinn::IncomingFuture, +1591 ep: Endpoint, +1592} +1593 +1594impl Future for IncomingFuture { +1595 type Output = Result<Connection, ConnectionError>; +1596 +1597 fn poll(self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll<Self::Output> { +1598 let this = self.project(); +1599 match this.inner.poll(cx) { +1600 Poll::Pending => Poll::Pending, +1601 Poll::Ready(Err(err)) => Poll::Ready(Err(err)), +1602 Poll::Ready(Ok(inner)) => { +1603 let conn = Connection { inner }; +1604 try_send_rtt_msg(&conn, this.ep, None); +1605 Poll::Ready(Ok(conn)) +1606 } +1607 } +1608 } +1609} +1610 +1611/// In-progress connection attempt future +1612#[derive(derive_more::Debug)] +1613#[pin_project] +1614pub struct Connecting { +1615 #[pin] +1616 inner: quinn::Connecting, +1617 ep: Endpoint, +1618 remote_node_id: Option<NodeId>, +1619 /// We run discovery as long as we haven't established a connection yet. +1620 #[debug("Option<DiscoveryTask>")] +1621 _discovery_drop_guard: Option<DiscoveryTask>, +1622} +1623 +1624#[allow(missing_docs)] +1625#[common_fields({ +1626 backtrace: Option<snafu::Backtrace>, +1627 #[snafu(implicit)] +1628 span_trace: n0_snafu::SpanTrace, +1629})] +1630#[derive(Debug, Snafu)] +1631#[non_exhaustive] +1632pub enum AlpnError { +1633 #[snafu(transparent)] +1634 ConnectionError { source: ConnectionError }, +1635 #[snafu(display("No ALPN available"))] +1636 Unavailable {}, +1637 #[snafu(display("Unknown handshake type"))] +1638 UnknownHandshake {}, +1639} +1640 +1641impl Connecting { +1642 /// Converts this [`Connecting`] into a 0-RTT or 0.5-RTT connection at the cost of weakened +1643 /// security. +1644 /// +1645 /// Returns `Ok` immediately if the local endpoint is able to attempt sending 0/0.5-RTT data. +1646 /// If so, the returned [`Connection`] can be used to send application data without waiting for +1647 /// the rest of the handshake to complete, at the cost of weakened cryptographic security +1648 /// guarantees. The returned [`ZeroRttAccepted`] future resolves when the handshake does +1649 /// complete, at which point subsequently opened streams and written data will have full +1650 /// cryptographic protection. +1651 /// +1652 /// Once the [`ZeroRttAccepted`] future completed, a full handshake has been carried through +1653 /// and any data sent and any streams opened on the [`Connection`] will operate with the same +1654 /// security as on normal 1-RTT connections. +1655 /// +1656 /// ## Outgoing 1657 /// -1658 /// On incoming connections, this enables transmission of 0.5-RTT data, which may be sent -1659 /// before TLS client authentication has occurred, and should therefore not be used to send -1660 /// data for which client authentication is being used. -1661 /// -1662 /// You can use [`RecvStream::is_0rtt`] to check whether a stream has been opened in 0-RTT -1663 /// and thus whether parts of the stream are operating under this reduced security level. -1664 #[allow(clippy::result_large_err)] -1665 pub fn into_0rtt(self) -> Result<(Connection, ZeroRttAccepted), Self> { -1666 match self.inner.into_0rtt() { -1667 Ok((inner, zrtt_accepted)) => { -1668 let conn = Connection { inner }; -1669 let zrtt_accepted = ZeroRttAccepted { -1670 inner: zrtt_accepted, -1671 _discovery_drop_guard: self._discovery_drop_guard, -1672 }; -1673 // This call is why `self.remote_node_id` was introduced. -1674 // When we `Connecting::into_0rtt`, then we don't yet have `handshake_data` -1675 // in our `Connection`, thus `try_send_rtt_msg` won't be able to pick up -1676 // `Connection::remote_node_id`. -1677 // Instead, we provide `self.remote_node_id` here - we know it in advance, -1678 // after all. -1679 try_send_rtt_msg(&conn, &self.ep, self.remote_node_id); -1680 Ok((conn, zrtt_accepted)) -1681 } -1682 Err(inner) => Err(Self { -1683 inner, -1684 ep: self.ep, -1685 remote_node_id: self.remote_node_id, -1686 _discovery_drop_guard: self._discovery_drop_guard, -1687 }), -1688 } -1689 } -1690 -1691 /// Parameters negotiated during the handshake -1692 pub async fn handshake_data(&mut self) -> Result<Box<dyn Any>, ConnectionError> { -1693 self.inner.handshake_data().await -1694 } -1695 -1696 /// Extracts the ALPN protocol from the peer's handshake data. -1697 pub async fn alpn(&mut self) -> Result<Vec<u8>, AlpnError> { -1698 let data = self.handshake_data().await?; -1699 match data.downcast::<quinn::crypto::rustls::HandshakeData>() { -1700 Ok(data) => match data.protocol { -1701 Some(protocol) => Ok(protocol), -1702 None => Err(UnavailableSnafu.build()), -1703 }, -1704 Err(_) => Err(UnknownHandshakeSnafu.build()), -1705 } -1706 } -1707} -1708 -1709impl Future for Connecting { -1710 type Output = Result<Connection, ConnectionError>; -1711 -1712 fn poll(self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll<Self::Output> { -1713 let this = self.project(); -1714 match this.inner.poll(cx) { -1715 Poll::Pending => Poll::Pending, -1716 Poll::Ready(Err(err)) => Poll::Ready(Err(err)), -1717 Poll::Ready(Ok(inner)) => { -1718 let conn = Connection { inner }; -1719 try_send_rtt_msg(&conn, this.ep, *this.remote_node_id); -1720 Poll::Ready(Ok(conn)) -1721 } -1722 } -1723 } -1724} -1725 -1726/// Future that completes when a connection is fully established. -1727/// -1728/// For clients, the resulting value indicates if 0-RTT was accepted. For servers, the resulting -1729/// value is meaningless. -1730#[derive(derive_more::Debug)] -1731#[debug("ZeroRttAccepted")] -1732pub struct ZeroRttAccepted { -1733 inner: quinn::ZeroRttAccepted, -1734 /// When we call `Connecting::into_0rtt`, we don't want to stop discovery, so we transfer the task -1735 /// to this future. -1736 /// When `quinn::ZeroRttAccepted` resolves, we've successfully received data from the remote. -1737 /// Thus, that's the right time to drop discovery to preserve the behaviour similar to -1738 /// `Connecting` -> `Connection` without 0-RTT. -1739 /// Should we eventually decide to keep the discovery task alive for the duration of the whole -1740 /// `Connection`, then this task should be transferred to the `Connection` instead of here. -1741 _discovery_drop_guard: Option<DiscoveryTask>, -1742} -1743 -1744impl Future for ZeroRttAccepted { -1745 type Output = bool; -1746 fn poll(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll<Self::Output> { -1747 Pin::new(&mut self.inner).poll(cx) -1748 } -1749} -1750 -1751/// A QUIC connection. -1752/// -1753/// If all references to a connection (including every clone of the Connection handle, -1754/// streams of incoming streams, and the various stream types) have been dropped, then the -1755/// connection will be automatically closed with an error_code of 0 and an empty reason. You -1756/// can also close the connection explicitly by calling [`Connection::close`]. -1757/// -1758/// Closing the connection immediately abandons efforts to deliver data to the peer. Upon -1759/// receiving CONNECTION_CLOSE the peer may drop any stream data not yet delivered to the -1760/// application. [`Connection::close`] describes in more detail how to gracefully close a -1761/// connection without losing application data. -1762/// -1763/// May be cloned to obtain another handle to the same connection. -1764#[derive(Debug, Clone)] -1765pub struct Connection { -1766 inner: quinn::Connection, -1767} -1768 -1769#[allow(missing_docs)] -1770#[derive(Debug, Snafu)] -1771#[snafu(display("Protocol error: no remote id available"))] -1772pub struct RemoteNodeIdError { -1773 backtrace: Option<snafu::Backtrace>, -1774} -1775 -1776impl Connection { -1777 /// Initiates a new outgoing unidirectional stream. -1778 /// -1779 /// Streams are cheap and instantaneous to open unless blocked by flow control. As a -1780 /// consequence, the peer won’t be notified that a stream has been opened until the -1781 /// stream is actually used. -1782 #[inline] -1783 pub fn open_uni(&self) -> OpenUni<'_> { -1784 self.inner.open_uni() -1785 } -1786 -1787 /// Initiates a new outgoing bidirectional stream. -1788 /// -1789 /// Streams are cheap and instantaneous to open unless blocked by flow control. As a -1790 /// consequence, the peer won't be notified that a stream has been opened until the -1791 /// stream is actually used. Calling [`open_bi`] then waiting on the [`RecvStream`] -1792 /// without writing anything to [`SendStream`] will never succeed. -1793 /// -1794 /// [`open_bi`]: Connection::open_bi -1795 #[inline] -1796 pub fn open_bi(&self) -> OpenBi<'_> { -1797 self.inner.open_bi() -1798 } -1799 -1800 /// Accepts the next incoming uni-directional stream. -1801 #[inline] -1802 pub fn accept_uni(&self) -> AcceptUni<'_> { -1803 self.inner.accept_uni() -1804 } -1805 -1806 /// Accept the next incoming bidirectional stream. -1807 /// -1808 /// **Important Note**: The peer that calls [`open_bi`] must write to its [`SendStream`] -1809 /// before the peer `Connection` is able to accept the stream using -1810 /// `accept_bi()`. Calling [`open_bi`] then waiting on the [`RecvStream`] without -1811 /// writing anything to the connected [`SendStream`] will never succeed. -1812 /// -1813 /// [`open_bi`]: Connection::open_bi -1814 #[inline] -1815 pub fn accept_bi(&self) -> AcceptBi<'_> { -1816 self.inner.accept_bi() -1817 } -1818 -1819 /// Receives an application datagram. -1820 #[inline] -1821 pub fn read_datagram(&self) -> ReadDatagram<'_> { -1822 self.inner.read_datagram() -1823 } -1824 -1825 /// Wait for the connection to be closed for any reason. -1826 /// -1827 /// Despite the return type's name, closed connections are often not an error condition -1828 /// at the application layer. Cases that might be routine include -1829 /// [`ConnectionError::LocallyClosed`] and [`ConnectionError::ApplicationClosed`]. -1830 #[inline] -1831 pub async fn closed(&self) -> ConnectionError { -1832 self.inner.closed().await -1833 } -1834 -1835 /// If the connection is closed, the reason why. -1836 /// -1837 /// Returns `None` if the connection is still open. -1838 #[inline] -1839 pub fn close_reason(&self) -> Option<ConnectionError> { -1840 self.inner.close_reason() -1841 } -1842 -1843 /// Closes the connection immediately. -1844 /// -1845 /// Pending operations will fail immediately with [`ConnectionError::LocallyClosed`]. No -1846 /// more data is sent to the peer and the peer may drop buffered data upon receiving the -1847 /// CONNECTION_CLOSE frame. -1848 /// -1849 /// `error_code` and `reason` are not interpreted, and are provided directly to the -1850 /// peer. -1851 /// -1852 /// `reason` will be truncated to fit in a single packet with overhead; to improve odds -1853 /// that it is preserved in full, it should be kept under 1KiB. -1854 /// -1855 /// # Gracefully closing a connection -1856 /// -1857 /// Only the peer last receiving application data can be certain that all data is -1858 /// delivered. The only reliable action it can then take is to close the connection, -1859 /// potentially with a custom error code. The delivery of the final CONNECTION_CLOSE -1860 /// frame is very likely if both endpoints stay online long enough, calling -1861 /// [`Endpoint::close`] will wait to provide sufficient time. Otherwise, the remote peer -1862 /// will time out the connection, provided that the idle timeout is not disabled. -1863 /// -1864 /// The sending side can not guarantee all stream data is delivered to the remote -1865 /// application. It only knows the data is delivered to the QUIC stack of the remote -1866 /// endpoint. Once the local side sends a CONNECTION_CLOSE frame in response to calling -1867 /// [`close`] the remote endpoint may drop any data it received but is as yet -1868 /// undelivered to the application, including data that was acknowledged as received to -1869 /// the local endpoint. -1870 /// -1871 /// [`close`]: Connection::close -1872 #[inline] -1873 pub fn close(&self, error_code: VarInt, reason: &[u8]) { -1874 self.inner.close(error_code, reason) -1875 } -1876 -1877 /// Transmits `data` as an unreliable, unordered application datagram. -1878 /// -1879 /// Application datagrams are a low-level primitive. They may be lost or delivered out -1880 /// of order, and `data` must both fit inside a single QUIC packet and be smaller than -1881 /// the maximum dictated by the peer. -1882 #[inline] -1883 pub fn send_datagram(&self, data: bytes::Bytes) -> Result<(), SendDatagramError> { -1884 self.inner.send_datagram(data) -1885 } -1886 -1887 // TODO: It seems `SendDatagram` is not yet exposed by quinn. This has been fixed -1888 // upstream and will be in the next release. -1889 // /// Transmits `data` as an unreliable, unordered application datagram -1890 // /// -1891 // /// Unlike [`send_datagram()`], this method will wait for buffer space during congestion -1892 // /// conditions, which effectively prioritizes old datagrams over new datagrams. -1893 // /// -1894 // /// See [`send_datagram()`] for details. -1895 // /// -1896 // /// [`send_datagram()`]: Connection::send_datagram -1897 // #[inline] -1898 // pub fn send_datagram_wait(&self, data: bytes::Bytes) -> SendDatagram<'_> { -1899 // self.inner.send_datagram_wait(data) -1900 // } -1901 -1902 /// Computes the maximum size of datagrams that may be passed to [`send_datagram`]. -1903 /// -1904 /// Returns `None` if datagrams are unsupported by the peer or disabled locally. -1905 /// -1906 /// This may change over the lifetime of a connection according to variation in the path -1907 /// MTU estimate. The peer can also enforce an arbitrarily small fixed limit, but if the -1908 /// peer's limit is large this is guaranteed to be a little over a kilobyte at minimum. -1909 /// -1910 /// Not necessarily the maximum size of received datagrams. -1911 /// -1912 /// [`send_datagram`]: Self::send_datagram -1913 #[inline] -1914 pub fn max_datagram_size(&self) -> Option<usize> { -1915 self.inner.max_datagram_size() -1916 } -1917 -1918 /// Bytes available in the outgoing datagram buffer. -1919 /// -1920 /// When greater than zero, calling [`send_datagram`] with a -1921 /// datagram of at most this size is guaranteed not to cause older datagrams to be -1922 /// dropped. -1923 /// -1924 /// [`send_datagram`]: Self::send_datagram -1925 #[inline] -1926 pub fn datagram_send_buffer_space(&self) -> usize { -1927 self.inner.datagram_send_buffer_space() -1928 } -1929 -1930 /// Current best estimate of this connection's latency (round-trip-time). -1931 #[inline] -1932 pub fn rtt(&self) -> Duration { -1933 self.inner.rtt() -1934 } -1935 -1936 /// Returns connection statistics. -1937 #[inline] -1938 pub fn stats(&self) -> ConnectionStats { -1939 self.inner.stats() -1940 } -1941 -1942 /// Current state of the congestion control algorithm, for debugging purposes. -1943 #[inline] -1944 pub fn congestion_state(&self) -> Box<dyn quinn_proto::congestion::Controller> { -1945 self.inner.congestion_state() -1946 } -1947 -1948 /// Parameters negotiated during the handshake. -1949 /// -1950 /// Guaranteed to return `Some` on fully established connections or after -1951 /// [`Connecting::handshake_data()`] succeeds. See that method's documentations for -1952 /// details on the returned value. -1953 /// -1954 /// [`Connection::handshake_data()`]: crate::endpoint::Connecting::handshake_data -1955 #[inline] -1956 pub fn handshake_data(&self) -> Option<Box<dyn Any>> { -1957 self.inner.handshake_data() -1958 } -1959 -1960 /// Extracts the ALPN protocol from the peer's handshake data. -1961 pub fn alpn(&self) -> Option<Vec<u8>> { -1962 let data = self.handshake_data()?; -1963 match data.downcast::<quinn::crypto::rustls::HandshakeData>() { -1964 Ok(data) => data.protocol, -1965 Err(_) => None, -1966 } -1967 } -1968 -1969 /// Cryptographic identity of the peer. -1970 /// -1971 /// The dynamic type returned is determined by the configured [`Session`]. For the -1972 /// default `rustls` session, the return value can be [`downcast`] to a -1973 /// <code>Vec<[rustls::pki_types::CertificateDer]></code> -1974 /// -1975 /// [`Session`]: quinn_proto::crypto::Session -1976 /// [`downcast`]: Box::downcast -1977 #[inline] -1978 pub fn peer_identity(&self) -> Option<Box<dyn Any>> { -1979 self.inner.peer_identity() -1980 } -1981 -1982 /// Returns the [`NodeId`] from the peer's TLS certificate. -1983 /// -1984 /// The [`PublicKey`] of a node is also known as a [`NodeId`]. This [`PublicKey`] is -1985 /// included in the TLS certificate presented during the handshake when connecting. -1986 /// This function allows you to get the [`NodeId`] of the remote node of this -1987 /// connection. -1988 /// -1989 /// [`PublicKey`]: iroh_base::PublicKey -1990 // TODO: Would be nice if this could be infallible. -1991 pub fn remote_node_id(&self) -> Result<NodeId, RemoteNodeIdError> { -1992 let data = self.peer_identity(); -1993 match data { -1994 None => { -1995 warn!("no peer certificate found"); -1996 Err(RemoteNodeIdSnafu.build()) -1997 } -1998 Some(data) => match data.downcast::<Vec<rustls::pki_types::CertificateDer>>() { -1999 Ok(certs) => { -2000 if certs.len() != 1 { -2001 warn!( -2002 "expected a single peer certificate, but {} found", -2003 certs.len() -2004 ); -2005 return Err(RemoteNodeIdSnafu.build()); -2006 } -2007 -2008 let peer_id = VerifyingKey::from_public_key_der(&certs[0]) -2009 .map_err(|_| RemoteNodeIdSnafu.build())? -2010 .into(); -2011 Ok(peer_id) -2012 } -2013 Err(err) => { -2014 warn!("invalid peer certificate: {:?}", err); -2015 Err(RemoteNodeIdSnafu.build()) -2016 } -2017 }, -2018 } -2019 } -2020 -2021 /// A stable identifier for this connection. -2022 /// -2023 /// Peer addresses and connection IDs can change, but this value will remain fixed for -2024 /// the lifetime of the connection. -2025 #[inline] -2026 pub fn stable_id(&self) -> usize { -2027 self.inner.stable_id() -2028 } -2029 -2030 /// Derives keying material from this connection's TLS session secrets. -2031 /// -2032 /// When both peers call this method with the same `label` and `context` -2033 /// arguments and `output` buffers of equal length, they will get the -2034 /// same sequence of bytes in `output`. These bytes are cryptographically -2035 /// strong and pseudorandom, and are suitable for use as keying material. -2036 /// -2037 /// See [RFC5705](https://tools.ietf.org/html/rfc5705) for more information. -2038 #[inline] -2039 pub fn export_keying_material( -2040 &self, -2041 output: &mut [u8], -2042 label: &[u8], -2043 context: &[u8], -2044 ) -> Result<(), quinn_proto::crypto::ExportKeyingMaterialError> { -2045 self.inner.export_keying_material(output, label, context) -2046 } -2047 -2048 /// Modifies the number of unidirectional streams that may be concurrently opened. -2049 /// -2050 /// No streams may be opened by the peer unless fewer than `count` are already -2051 /// open. Large `count`s increase both minimum and worst-case memory consumption. -2052 #[inline] -2053 pub fn set_max_concurrent_uni_streams(&self, count: VarInt) { -2054 self.inner.set_max_concurrent_uni_streams(count) -2055 } -2056 -2057 /// See [`quinn_proto::TransportConfig::receive_window`]. -2058 #[inline] -2059 pub fn set_receive_window(&self, receive_window: VarInt) { -2060 self.inner.set_receive_window(receive_window) -2061 } -2062 -2063 /// Modifies the number of bidirectional streams that may be concurrently opened. -2064 /// -2065 /// No streams may be opened by the peer unless fewer than `count` are already -2066 /// open. Large `count`s increase both minimum and worst-case memory consumption. -2067 #[inline] -2068 pub fn set_max_concurrent_bi_streams(&self, count: VarInt) { -2069 self.inner.set_max_concurrent_bi_streams(count) -2070 } -2071} -2072 -2073/// Try send a message to the rtt-actor. -2074/// -2075/// If we can't notify the actor that will impact performance a little, but we can still -2076/// function. -2077fn try_send_rtt_msg(conn: &Connection, magic_ep: &Endpoint, remote_node_id: Option<NodeId>) { -2078 // If we can't notify the rtt-actor that's not great but not critical. -2079 let Some(node_id) = remote_node_id.or_else(|| conn.remote_node_id().ok()) else { -2080 warn!(?conn, "failed to get remote node id"); -2081 return; -2082 }; -2083 let Some(conn_type_changes) = magic_ep.conn_type(node_id) else { -2084 warn!(?conn, "failed to create conn_type stream"); -2085 return; -2086 }; -2087 let rtt_msg = RttMessage::NewConnection { -2088 connection: conn.inner.weak_handle(), -2089 conn_type_changes: conn_type_changes.stream(), -2090 node_id, -2091 }; -2092 if let Err(err) = magic_ep.rtt_actor.msg_tx.try_send(rtt_msg) { -2093 warn!(?conn, "rtt-actor not reachable: {err:#}"); -2094 } -2095} -2096 -2097/// Read a proxy url from the environment, in this order -2098/// -2099/// - `HTTP_PROXY` -2100/// - `http_proxy` -2101/// - `HTTPS_PROXY` -2102/// - `https_proxy` -2103fn proxy_url_from_env() -> Option<Url> { -2104 if let Some(url) = std::env::var("HTTP_PROXY") -2105 .ok() -2106 .and_then(|s| s.parse::<Url>().ok()) -2107 { -2108 if is_cgi() { -2109 warn!("HTTP_PROXY environment variable ignored in CGI"); -2110 } else { -2111 return Some(url); -2112 } -2113 } -2114 if let Some(url) = std::env::var("http_proxy") -2115 .ok() -2116 .and_then(|s| s.parse::<Url>().ok()) -2117 { -2118 return Some(url); -2119 } -2120 if let Some(url) = std::env::var("HTTPS_PROXY") -2121 .ok() -2122 .and_then(|s| s.parse::<Url>().ok()) -2123 { -2124 return Some(url); -2125 } -2126 if let Some(url) = std::env::var("https_proxy") -2127 .ok() -2128 .and_then(|s| s.parse::<Url>().ok()) -2129 { -2130 return Some(url); -2131 } -2132 -2133 None -2134} -2135 -2136/// Configuration of the relay servers for an [`Endpoint`]. -2137#[derive(Debug, Clone, PartialEq, Eq)] -2138pub enum RelayMode { -2139 /// Disable relay servers completely. -2140 Disabled, -2141 /// Use the default relay map, with production relay servers from n0. -2142 /// -2143 /// See [`crate::defaults::prod`] for the severs used. -2144 Default, -2145 /// Use the staging relay servers from n0. -2146 Staging, -2147 /// Use a custom relay map. -2148 Custom(RelayMap), -2149} -2150 -2151impl RelayMode { -2152 /// Returns the relay map for this mode. -2153 pub fn relay_map(&self) -> RelayMap { -2154 match self { -2155 RelayMode::Disabled => RelayMap::empty(), -2156 RelayMode::Default => crate::defaults::prod::default_relay_map(), -2157 RelayMode::Staging => crate::defaults::staging::default_relay_map(), -2158 RelayMode::Custom(relay_map) => relay_map.clone(), -2159 } -2160 } -2161} -2162 -2163/// Environment variable to force the use of staging relays. -2164pub const ENV_FORCE_STAGING_RELAYS: &str = "IROH_FORCE_STAGING_RELAYS"; -2165 -2166/// Returns `true` if the use of staging relays is forced. -2167pub fn force_staging_infra() -> bool { -2168 matches!(std::env::var(ENV_FORCE_STAGING_RELAYS), Ok(value) if !value.is_empty()) -2169} -2170 -2171/// Returns the default relay mode. -2172/// -2173/// If the `IROH_FORCE_STAGING_RELAYS` environment variable is non empty, it will return `RelayMode::Staging`. -2174/// Otherwise, it will return `RelayMode::Default`. -2175pub fn default_relay_mode() -> RelayMode { -2176 // Use staging in testing -2177 match force_staging_infra() { -2178 true => RelayMode::Staging, -2179 false => RelayMode::Default, -2180 } -2181} -2182 -2183/// Check if we are being executed in a CGI context. -2184/// -2185/// If so, a malicious client can send the `Proxy:` header, and it will -2186/// be in the `HTTP_PROXY` env var. So we don't use it :) -2187fn is_cgi() -> bool { -2188 std::env::var_os("REQUEST_METHOD").is_some() -2189} -2190 -2191// TODO: These tests could still be flaky, lets fix that: -2192// https://github.com/n0-computer/iroh/issues/1183 -2193#[cfg(test)] -2194mod tests { -2195 use std::time::{Duration, Instant}; -2196 -2197 use iroh_base::{NodeAddr, NodeId, SecretKey}; -2198 use n0_future::{BufferedStreamExt, StreamExt, stream, task::AbortOnDropHandle}; -2199 use n0_snafu::{Error, Result, ResultExt}; -2200 use n0_watcher::Watcher; -2201 use quinn::ConnectionError; -2202 use rand::SeedableRng; -2203 use tracing::{Instrument, error_span, info, info_span}; -2204 use tracing_test::traced_test; +1658 /// For outgoing connections, the initial attempt to convert to a [`Connection`] which sends +1659 /// 0-RTT data will attempt to resume a previous TLS session. However, **the remote endpoint +1660 /// may not actually _accept_ the 0-RTT data**--yet still accept the connection attempt in +1661 /// general. This possibility is conveyed through the [`ZeroRttAccepted`] future--when the +1662 /// handshake completes, it resolves to true if the 0-RTT data was accepted and false if it was +1663 /// rejected. If it was rejected, the existence of streams opened and other application data +1664 /// sent prior to the handshake completing will not be conveyed to the remote application, and +1665 /// local operations on them will return `ZeroRttRejected` errors. +1666 /// +1667 /// A server may reject 0-RTT data at its discretion, but accepting 0-RTT data requires the +1668 /// relevant resumption state to be stored in the server, which servers may limit or lose for +1669 /// various reasons including not persisting resumption state across server restarts. +1670 /// +1671 /// ## Incoming +1672 /// +1673 /// For incoming connections, conversion to 0.5-RTT will always fully succeed. `into_0rtt` will +1674 /// always return `Ok` and the [`ZeroRttAccepted`] will always resolve to true. +1675 /// +1676 /// ## Security +1677 /// +1678 /// On outgoing connections, this enables transmission of 0-RTT data, which is vulnerable to +1679 /// replay attacks, and should therefore never invoke non-idempotent operations. +1680 /// +1681 /// On incoming connections, this enables transmission of 0.5-RTT data, which may be sent +1682 /// before TLS client authentication has occurred, and should therefore not be used to send +1683 /// data for which client authentication is being used. +1684 /// +1685 /// You can use [`RecvStream::is_0rtt`] to check whether a stream has been opened in 0-RTT +1686 /// and thus whether parts of the stream are operating under this reduced security level. +1687 #[allow(clippy::result_large_err)] +1688 pub fn into_0rtt(self) -> Result<(Connection, ZeroRttAccepted), Self> { +1689 match self.inner.into_0rtt() { +1690 Ok((inner, zrtt_accepted)) => { +1691 let conn = Connection { inner }; +1692 let zrtt_accepted = ZeroRttAccepted { +1693 inner: zrtt_accepted, +1694 _discovery_drop_guard: self._discovery_drop_guard, +1695 }; +1696 // This call is why `self.remote_node_id` was introduced. +1697 // When we `Connecting::into_0rtt`, then we don't yet have `handshake_data` +1698 // in our `Connection`, thus `try_send_rtt_msg` won't be able to pick up +1699 // `Connection::remote_node_id`. +1700 // Instead, we provide `self.remote_node_id` here - we know it in advance, +1701 // after all. +1702 try_send_rtt_msg(&conn, &self.ep, self.remote_node_id); +1703 Ok((conn, zrtt_accepted)) +1704 } +1705 Err(inner) => Err(Self { +1706 inner, +1707 ep: self.ep, +1708 remote_node_id: self.remote_node_id, +1709 _discovery_drop_guard: self._discovery_drop_guard, +1710 }), +1711 } +1712 } +1713 +1714 /// Parameters negotiated during the handshake +1715 pub async fn handshake_data(&mut self) -> Result<Box<dyn Any>, ConnectionError> { +1716 self.inner.handshake_data().await +1717 } +1718 +1719 /// Extracts the ALPN protocol from the peer's handshake data. +1720 pub async fn alpn(&mut self) -> Result<Vec<u8>, AlpnError> { +1721 let data = self.handshake_data().await?; +1722 match data.downcast::<quinn::crypto::rustls::HandshakeData>() { +1723 Ok(data) => match data.protocol { +1724 Some(protocol) => Ok(protocol), +1725 None => Err(UnavailableSnafu.build()), +1726 }, +1727 Err(_) => Err(UnknownHandshakeSnafu.build()), +1728 } +1729 } +1730} +1731 +1732impl Future for Connecting { +1733 type Output = Result<Connection, ConnectionError>; +1734 +1735 fn poll(self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll<Self::Output> { +1736 let this = self.project(); +1737 match this.inner.poll(cx) { +1738 Poll::Pending => Poll::Pending, +1739 Poll::Ready(Err(err)) => Poll::Ready(Err(err)), +1740 Poll::Ready(Ok(inner)) => { +1741 let conn = Connection { inner }; +1742 try_send_rtt_msg(&conn, this.ep, *this.remote_node_id); +1743 Poll::Ready(Ok(conn)) +1744 } +1745 } +1746 } +1747} +1748 +1749/// Future that completes when a connection is fully established. +1750/// +1751/// For clients, the resulting value indicates if 0-RTT was accepted. For servers, the resulting +1752/// value is meaningless. +1753#[derive(derive_more::Debug)] +1754#[debug("ZeroRttAccepted")] +1755pub struct ZeroRttAccepted { +1756 inner: quinn::ZeroRttAccepted, +1757 /// When we call `Connecting::into_0rtt`, we don't want to stop discovery, so we transfer the task +1758 /// to this future. +1759 /// When `quinn::ZeroRttAccepted` resolves, we've successfully received data from the remote. +1760 /// Thus, that's the right time to drop discovery to preserve the behaviour similar to +1761 /// `Connecting` -> `Connection` without 0-RTT. +1762 /// Should we eventually decide to keep the discovery task alive for the duration of the whole +1763 /// `Connection`, then this task should be transferred to the `Connection` instead of here. +1764 _discovery_drop_guard: Option<DiscoveryTask>, +1765} +1766 +1767impl Future for ZeroRttAccepted { +1768 type Output = bool; +1769 fn poll(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll<Self::Output> { +1770 Pin::new(&mut self.inner).poll(cx) +1771 } +1772} +1773 +1774/// A QUIC connection. +1775/// +1776/// If all references to a connection (including every clone of the Connection handle, +1777/// streams of incoming streams, and the various stream types) have been dropped, then the +1778/// connection will be automatically closed with an error_code of 0 and an empty reason. You +1779/// can also close the connection explicitly by calling [`Connection::close`]. +1780/// +1781/// Closing the connection immediately abandons efforts to deliver data to the peer. Upon +1782/// receiving CONNECTION_CLOSE the peer may drop any stream data not yet delivered to the +1783/// application. [`Connection::close`] describes in more detail how to gracefully close a +1784/// connection without losing application data. +1785/// +1786/// May be cloned to obtain another handle to the same connection. +1787#[derive(Debug, Clone)] +1788pub struct Connection { +1789 inner: quinn::Connection, +1790} +1791 +1792#[allow(missing_docs)] +1793#[derive(Debug, Snafu)] +1794#[snafu(display("Protocol error: no remote id available"))] +1795pub struct RemoteNodeIdError { +1796 backtrace: Option<snafu::Backtrace>, +1797} +1798 +1799impl Connection { +1800 /// Initiates a new outgoing unidirectional stream. +1801 /// +1802 /// Streams are cheap and instantaneous to open unless blocked by flow control. As a +1803 /// consequence, the peer won’t be notified that a stream has been opened until the +1804 /// stream is actually used. +1805 #[inline] +1806 pub fn open_uni(&self) -> OpenUni<'_> { +1807 self.inner.open_uni() +1808 } +1809 +1810 /// Initiates a new outgoing bidirectional stream. +1811 /// +1812 /// Streams are cheap and instantaneous to open unless blocked by flow control. As a +1813 /// consequence, the peer won't be notified that a stream has been opened until the +1814 /// stream is actually used. Calling [`open_bi`] then waiting on the [`RecvStream`] +1815 /// without writing anything to [`SendStream`] will never succeed. +1816 /// +1817 /// [`open_bi`]: Connection::open_bi +1818 #[inline] +1819 pub fn open_bi(&self) -> OpenBi<'_> { +1820 self.inner.open_bi() +1821 } +1822 +1823 /// Accepts the next incoming uni-directional stream. +1824 #[inline] +1825 pub fn accept_uni(&self) -> AcceptUni<'_> { +1826 self.inner.accept_uni() +1827 } +1828 +1829 /// Accept the next incoming bidirectional stream. +1830 /// +1831 /// **Important Note**: The peer that calls [`open_bi`] must write to its [`SendStream`] +1832 /// before the peer `Connection` is able to accept the stream using +1833 /// `accept_bi()`. Calling [`open_bi`] then waiting on the [`RecvStream`] without +1834 /// writing anything to the connected [`SendStream`] will never succeed. +1835 /// +1836 /// [`open_bi`]: Connection::open_bi +1837 #[inline] +1838 pub fn accept_bi(&self) -> AcceptBi<'_> { +1839 self.inner.accept_bi() +1840 } +1841 +1842 /// Receives an application datagram. +1843 #[inline] +1844 pub fn read_datagram(&self) -> ReadDatagram<'_> { +1845 self.inner.read_datagram() +1846 } +1847 +1848 /// Wait for the connection to be closed for any reason. +1849 /// +1850 /// Despite the return type's name, closed connections are often not an error condition +1851 /// at the application layer. Cases that might be routine include +1852 /// [`ConnectionError::LocallyClosed`] and [`ConnectionError::ApplicationClosed`]. +1853 #[inline] +1854 pub async fn closed(&self) -> ConnectionError { +1855 self.inner.closed().await +1856 } +1857 +1858 /// If the connection is closed, the reason why. +1859 /// +1860 /// Returns `None` if the connection is still open. +1861 #[inline] +1862 pub fn close_reason(&self) -> Option<ConnectionError> { +1863 self.inner.close_reason() +1864 } +1865 +1866 /// Closes the connection immediately. +1867 /// +1868 /// Pending operations will fail immediately with [`ConnectionError::LocallyClosed`]. No +1869 /// more data is sent to the peer and the peer may drop buffered data upon receiving the +1870 /// CONNECTION_CLOSE frame. +1871 /// +1872 /// `error_code` and `reason` are not interpreted, and are provided directly to the +1873 /// peer. +1874 /// +1875 /// `reason` will be truncated to fit in a single packet with overhead; to improve odds +1876 /// that it is preserved in full, it should be kept under 1KiB. +1877 /// +1878 /// # Gracefully closing a connection +1879 /// +1880 /// Only the peer last receiving application data can be certain that all data is +1881 /// delivered. The only reliable action it can then take is to close the connection, +1882 /// potentially with a custom error code. The delivery of the final CONNECTION_CLOSE +1883 /// frame is very likely if both endpoints stay online long enough, calling +1884 /// [`Endpoint::close`] will wait to provide sufficient time. Otherwise, the remote peer +1885 /// will time out the connection, provided that the idle timeout is not disabled. +1886 /// +1887 /// The sending side can not guarantee all stream data is delivered to the remote +1888 /// application. It only knows the data is delivered to the QUIC stack of the remote +1889 /// endpoint. Once the local side sends a CONNECTION_CLOSE frame in response to calling +1890 /// [`close`] the remote endpoint may drop any data it received but is as yet +1891 /// undelivered to the application, including data that was acknowledged as received to +1892 /// the local endpoint. +1893 /// +1894 /// [`close`]: Connection::close +1895 #[inline] +1896 pub fn close(&self, error_code: VarInt, reason: &[u8]) { +1897 self.inner.close(error_code, reason) +1898 } +1899 +1900 /// Transmits `data` as an unreliable, unordered application datagram. +1901 /// +1902 /// Application datagrams are a low-level primitive. They may be lost or delivered out +1903 /// of order, and `data` must both fit inside a single QUIC packet and be smaller than +1904 /// the maximum dictated by the peer. +1905 #[inline] +1906 pub fn send_datagram(&self, data: bytes::Bytes) -> Result<(), SendDatagramError> { +1907 self.inner.send_datagram(data) +1908 } +1909 +1910 // TODO: It seems `SendDatagram` is not yet exposed by quinn. This has been fixed +1911 // upstream and will be in the next release. +1912 // /// Transmits `data` as an unreliable, unordered application datagram +1913 // /// +1914 // /// Unlike [`send_datagram()`], this method will wait for buffer space during congestion +1915 // /// conditions, which effectively prioritizes old datagrams over new datagrams. +1916 // /// +1917 // /// See [`send_datagram()`] for details. +1918 // /// +1919 // /// [`send_datagram()`]: Connection::send_datagram +1920 // #[inline] +1921 // pub fn send_datagram_wait(&self, data: bytes::Bytes) -> SendDatagram<'_> { +1922 // self.inner.send_datagram_wait(data) +1923 // } +1924 +1925 /// Computes the maximum size of datagrams that may be passed to [`send_datagram`]. +1926 /// +1927 /// Returns `None` if datagrams are unsupported by the peer or disabled locally. +1928 /// +1929 /// This may change over the lifetime of a connection according to variation in the path +1930 /// MTU estimate. The peer can also enforce an arbitrarily small fixed limit, but if the +1931 /// peer's limit is large this is guaranteed to be a little over a kilobyte at minimum. +1932 /// +1933 /// Not necessarily the maximum size of received datagrams. +1934 /// +1935 /// [`send_datagram`]: Self::send_datagram +1936 #[inline] +1937 pub fn max_datagram_size(&self) -> Option<usize> { +1938 self.inner.max_datagram_size() +1939 } +1940 +1941 /// Bytes available in the outgoing datagram buffer. +1942 /// +1943 /// When greater than zero, calling [`send_datagram`] with a +1944 /// datagram of at most this size is guaranteed not to cause older datagrams to be +1945 /// dropped. +1946 /// +1947 /// [`send_datagram`]: Self::send_datagram +1948 #[inline] +1949 pub fn datagram_send_buffer_space(&self) -> usize { +1950 self.inner.datagram_send_buffer_space() +1951 } +1952 +1953 /// Current best estimate of this connection's latency (round-trip-time). +1954 #[inline] +1955 pub fn rtt(&self) -> Duration { +1956 self.inner.rtt() +1957 } +1958 +1959 /// Returns connection statistics. +1960 #[inline] +1961 pub fn stats(&self) -> ConnectionStats { +1962 self.inner.stats() +1963 } +1964 +1965 /// Current state of the congestion control algorithm, for debugging purposes. +1966 #[inline] +1967 pub fn congestion_state(&self) -> Box<dyn quinn_proto::congestion::Controller> { +1968 self.inner.congestion_state() +1969 } +1970 +1971 /// Parameters negotiated during the handshake. +1972 /// +1973 /// Guaranteed to return `Some` on fully established connections or after +1974 /// [`Connecting::handshake_data()`] succeeds. See that method's documentations for +1975 /// details on the returned value. +1976 /// +1977 /// [`Connection::handshake_data()`]: crate::endpoint::Connecting::handshake_data +1978 #[inline] +1979 pub fn handshake_data(&self) -> Option<Box<dyn Any>> { +1980 self.inner.handshake_data() +1981 } +1982 +1983 /// Extracts the ALPN protocol from the peer's handshake data. +1984 pub fn alpn(&self) -> Option<Vec<u8>> { +1985 let data = self.handshake_data()?; +1986 match data.downcast::<quinn::crypto::rustls::HandshakeData>() { +1987 Ok(data) => data.protocol, +1988 Err(_) => None, +1989 } +1990 } +1991 +1992 /// Cryptographic identity of the peer. +1993 /// +1994 /// The dynamic type returned is determined by the configured [`Session`]. For the +1995 /// default `rustls` session, the return value can be [`downcast`] to a +1996 /// <code>Vec<[rustls::pki_types::CertificateDer]></code> +1997 /// +1998 /// [`Session`]: quinn_proto::crypto::Session +1999 /// [`downcast`]: Box::downcast +2000 #[inline] +2001 pub fn peer_identity(&self) -> Option<Box<dyn Any>> { +2002 self.inner.peer_identity() +2003 } +2004 +2005 /// Returns the [`NodeId`] from the peer's TLS certificate. +2006 /// +2007 /// The [`PublicKey`] of a node is also known as a [`NodeId`]. This [`PublicKey`] is +2008 /// included in the TLS certificate presented during the handshake when connecting. +2009 /// This function allows you to get the [`NodeId`] of the remote node of this +2010 /// connection. +2011 /// +2012 /// [`PublicKey`]: iroh_base::PublicKey +2013 // TODO: Would be nice if this could be infallible. +2014 pub fn remote_node_id(&self) -> Result<NodeId, RemoteNodeIdError> { +2015 let data = self.peer_identity(); +2016 match data { +2017 None => { +2018 warn!("no peer certificate found"); +2019 Err(RemoteNodeIdSnafu.build()) +2020 } +2021 Some(data) => match data.downcast::<Vec<rustls::pki_types::CertificateDer>>() { +2022 Ok(certs) => { +2023 if certs.len() != 1 { +2024 warn!( +2025 "expected a single peer certificate, but {} found", +2026 certs.len() +2027 ); +2028 return Err(RemoteNodeIdSnafu.build()); +2029 } +2030 +2031 let peer_id = VerifyingKey::from_public_key_der(&certs[0]) +2032 .map_err(|_| RemoteNodeIdSnafu.build())? +2033 .into(); +2034 Ok(peer_id) +2035 } +2036 Err(err) => { +2037 warn!("invalid peer certificate: {:?}", err); +2038 Err(RemoteNodeIdSnafu.build()) +2039 } +2040 }, +2041 } +2042 } +2043 +2044 /// A stable identifier for this connection. +2045 /// +2046 /// Peer addresses and connection IDs can change, but this value will remain fixed for +2047 /// the lifetime of the connection. +2048 #[inline] +2049 pub fn stable_id(&self) -> usize { +2050 self.inner.stable_id() +2051 } +2052 +2053 /// Derives keying material from this connection's TLS session secrets. +2054 /// +2055 /// When both peers call this method with the same `label` and `context` +2056 /// arguments and `output` buffers of equal length, they will get the +2057 /// same sequence of bytes in `output`. These bytes are cryptographically +2058 /// strong and pseudorandom, and are suitable for use as keying material. +2059 /// +2060 /// See [RFC5705](https://tools.ietf.org/html/rfc5705) for more information. +2061 #[inline] +2062 pub fn export_keying_material( +2063 &self, +2064 output: &mut [u8], +2065 label: &[u8], +2066 context: &[u8], +2067 ) -> Result<(), quinn_proto::crypto::ExportKeyingMaterialError> { +2068 self.inner.export_keying_material(output, label, context) +2069 } +2070 +2071 /// Modifies the number of unidirectional streams that may be concurrently opened. +2072 /// +2073 /// No streams may be opened by the peer unless fewer than `count` are already +2074 /// open. Large `count`s increase both minimum and worst-case memory consumption. +2075 #[inline] +2076 pub fn set_max_concurrent_uni_streams(&self, count: VarInt) { +2077 self.inner.set_max_concurrent_uni_streams(count) +2078 } +2079 +2080 /// See [`quinn_proto::TransportConfig::receive_window`]. +2081 #[inline] +2082 pub fn set_receive_window(&self, receive_window: VarInt) { +2083 self.inner.set_receive_window(receive_window) +2084 } +2085 +2086 /// Modifies the number of bidirectional streams that may be concurrently opened. +2087 /// +2088 /// No streams may be opened by the peer unless fewer than `count` are already +2089 /// open. Large `count`s increase both minimum and worst-case memory consumption. +2090 #[inline] +2091 pub fn set_max_concurrent_bi_streams(&self, count: VarInt) { +2092 self.inner.set_max_concurrent_bi_streams(count) +2093 } +2094} +2095 +2096/// Try send a message to the rtt-actor. +2097/// +2098/// If we can't notify the actor that will impact performance a little, but we can still +2099/// function. +2100fn try_send_rtt_msg(conn: &Connection, magic_ep: &Endpoint, remote_node_id: Option<NodeId>) { +2101 // If we can't notify the rtt-actor that's not great but not critical. +2102 let Some(node_id) = remote_node_id.or_else(|| conn.remote_node_id().ok()) else { +2103 warn!(?conn, "failed to get remote node id"); +2104 return; +2105 }; +2106 let Some(conn_type_changes) = magic_ep.conn_type(node_id) else { +2107 warn!(?conn, "failed to create conn_type stream"); +2108 return; +2109 }; +2110 let rtt_msg = RttMessage::NewConnection { +2111 connection: conn.inner.weak_handle(), +2112 conn_type_changes: conn_type_changes.stream(), +2113 node_id, +2114 }; +2115 if let Err(err) = magic_ep.rtt_actor.msg_tx.try_send(rtt_msg) { +2116 warn!(?conn, "rtt-actor not reachable: {err:#}"); +2117 } +2118} +2119 +2120/// Read a proxy url from the environment, in this order +2121/// +2122/// - `HTTP_PROXY` +2123/// - `http_proxy` +2124/// - `HTTPS_PROXY` +2125/// - `https_proxy` +2126fn proxy_url_from_env() -> Option<Url> { +2127 if let Some(url) = std::env::var("HTTP_PROXY") +2128 .ok() +2129 .and_then(|s| s.parse::<Url>().ok()) +2130 { +2131 if is_cgi() { +2132 warn!("HTTP_PROXY environment variable ignored in CGI"); +2133 } else { +2134 return Some(url); +2135 } +2136 } +2137 if let Some(url) = std::env::var("http_proxy") +2138 .ok() +2139 .and_then(|s| s.parse::<Url>().ok()) +2140 { +2141 return Some(url); +2142 } +2143 if let Some(url) = std::env::var("HTTPS_PROXY") +2144 .ok() +2145 .and_then(|s| s.parse::<Url>().ok()) +2146 { +2147 return Some(url); +2148 } +2149 if let Some(url) = std::env::var("https_proxy") +2150 .ok() +2151 .and_then(|s| s.parse::<Url>().ok()) +2152 { +2153 return Some(url); +2154 } +2155 +2156 None +2157} +2158 +2159/// Configuration of the relay servers for an [`Endpoint`]. +2160#[derive(Debug, Clone, PartialEq, Eq)] +2161pub enum RelayMode { +2162 /// Disable relay servers completely. +2163 Disabled, +2164 /// Use the default relay map, with production relay servers from n0. +2165 /// +2166 /// See [`crate::defaults::prod`] for the severs used. +2167 Default, +2168 /// Use the staging relay servers from n0. +2169 Staging, +2170 /// Use a custom relay map. +2171 Custom(RelayMap), +2172} +2173 +2174impl RelayMode { +2175 /// Returns the relay map for this mode. +2176 pub fn relay_map(&self) -> RelayMap { +2177 match self { +2178 RelayMode::Disabled => RelayMap::empty(), +2179 RelayMode::Default => crate::defaults::prod::default_relay_map(), +2180 RelayMode::Staging => crate::defaults::staging::default_relay_map(), +2181 RelayMode::Custom(relay_map) => relay_map.clone(), +2182 } +2183 } +2184} +2185 +2186/// Environment variable to force the use of staging relays. +2187pub const ENV_FORCE_STAGING_RELAYS: &str = "IROH_FORCE_STAGING_RELAYS"; +2188 +2189/// Returns `true` if the use of staging relays is forced. +2190pub fn force_staging_infra() -> bool { +2191 matches!(std::env::var(ENV_FORCE_STAGING_RELAYS), Ok(value) if !value.is_empty()) +2192} +2193 +2194/// Returns the default relay mode. +2195/// +2196/// If the `IROH_FORCE_STAGING_RELAYS` environment variable is non empty, it will return `RelayMode::Staging`. +2197/// Otherwise, it will return `RelayMode::Default`. +2198pub fn default_relay_mode() -> RelayMode { +2199 // Use staging in testing +2200 match force_staging_infra() { +2201 true => RelayMode::Staging, +2202 false => RelayMode::Default, +2203 } +2204} 2205 -2206 use super::Endpoint; -2207 use crate::{ -2208 RelayMode, -2209 discovery::static_provider::StaticProvider, -2210 endpoint::{ConnectOptions, Connection, ConnectionType}, -2211 protocol::{AcceptError, ProtocolHandler, Router}, -2212 test_utils::{run_relay_server, run_relay_server_with}, -2213 }; -2214 -2215 const TEST_ALPN: &[u8] = b"n0/iroh/test"; -2216 -2217 #[tokio::test] -2218 #[traced_test] -2219 async fn test_connect_self() -> Result { -2220 let ep = Endpoint::builder() -2221 .alpns(vec![TEST_ALPN.to_vec()]) -2222 .bind() -2223 .await -2224 .unwrap(); -2225 let my_addr = ep.node_addr().initialized().await; -2226 let res = ep.connect(my_addr.clone(), TEST_ALPN).await; -2227 assert!(res.is_err()); -2228 let err = res.err().unwrap(); -2229 assert!(err.to_string().starts_with("Connecting to ourself")); -2230 -2231 let res = ep.add_node_addr(my_addr); -2232 assert!(res.is_err()); -2233 let err = res.err().unwrap(); -2234 assert!(err.to_string().starts_with("Adding our own address")); -2235 Ok(()) -2236 } +2206/// Check if we are being executed in a CGI context. +2207/// +2208/// If so, a malicious client can send the `Proxy:` header, and it will +2209/// be in the `HTTP_PROXY` env var. So we don't use it :) +2210fn is_cgi() -> bool { +2211 std::env::var_os("REQUEST_METHOD").is_some() +2212} +2213 +2214// TODO: These tests could still be flaky, lets fix that: +2215// https://github.com/n0-computer/iroh/issues/1183 +2216#[cfg(test)] +2217mod tests { +2218 use std::time::{Duration, Instant}; +2219 +2220 use iroh_base::{NodeAddr, NodeId, SecretKey}; +2221 use n0_future::{BufferedStreamExt, StreamExt, stream, task::AbortOnDropHandle}; +2222 use n0_snafu::{Error, Result, ResultExt}; +2223 use n0_watcher::Watcher; +2224 use quinn::ConnectionError; +2225 use rand::SeedableRng; +2226 use tracing::{Instrument, error_span, info, info_span}; +2227 use tracing_test::traced_test; +2228 +2229 use super::Endpoint; +2230 use crate::{ +2231 RelayMode, +2232 discovery::static_provider::StaticProvider, +2233 endpoint::{ConnectOptions, Connection, ConnectionType}, +2234 protocol::{AcceptError, ProtocolHandler, Router}, +2235 test_utils::{run_relay_server, run_relay_server_with}, +2236 }; 2237 -2238 #[tokio::test] -2239 #[traced_test] -2240 async fn endpoint_connect_close() -> Result { -2241 let (relay_map, relay_url, _guard) = run_relay_server().await?; -2242 let server_secret_key = SecretKey::generate(rand::thread_rng()); -2243 let server_peer_id = server_secret_key.public(); -2244 -2245 // Wait for the endpoint to be started to make sure it's up before clients try to connect -2246 let ep = Endpoint::builder() -2247 .secret_key(server_secret_key) -2248 .alpns(vec![TEST_ALPN.to_vec()]) -2249 .relay_mode(RelayMode::Custom(relay_map.clone())) -2250 .insecure_skip_relay_cert_verify(true) -2251 .bind() -2252 .await?; -2253 // Wait for the endpoint to be reachable via relay -2254 ep.home_relay().initialized().await; -2255 -2256 let server = tokio::spawn( -2257 async move { -2258 info!("accepting connection"); -2259 let incoming = ep.accept().await.e()?; -2260 let conn = incoming.await.e()?; -2261 let mut stream = conn.accept_uni().await.e()?; -2262 let mut buf = [0u8; 5]; -2263 stream.read_exact(&mut buf).await.e()?; -2264 info!("Accepted 1 stream, received {buf:?}. Closing now."); -2265 // close the connection -2266 conn.close(7u8.into(), b"bye"); +2238 const TEST_ALPN: &[u8] = b"n0/iroh/test"; +2239 +2240 #[tokio::test] +2241 #[traced_test] +2242 async fn test_connect_self() -> Result { +2243 let ep = Endpoint::builder() +2244 .alpns(vec![TEST_ALPN.to_vec()]) +2245 .bind() +2246 .await +2247 .unwrap(); +2248 let my_addr = ep.watch_node_addr().initialized().await; +2249 let res = ep.connect(my_addr.clone(), TEST_ALPN).await; +2250 assert!(res.is_err()); +2251 let err = res.err().unwrap(); +2252 assert!(err.to_string().starts_with("Connecting to ourself")); +2253 +2254 let res = ep.add_node_addr(my_addr); +2255 assert!(res.is_err()); +2256 let err = res.err().unwrap(); +2257 assert!(err.to_string().starts_with("Adding our own address")); +2258 Ok(()) +2259 } +2260 +2261 #[tokio::test] +2262 #[traced_test] +2263 async fn endpoint_connect_close() -> Result { +2264 let (relay_map, relay_url, _guard) = run_relay_server().await?; +2265 let server_secret_key = SecretKey::generate(rand::thread_rng()); +2266 let server_peer_id = server_secret_key.public(); 2267 -2268 let res = conn.accept_uni().await; -2269 assert_eq!(res.unwrap_err(), quinn::ConnectionError::LocallyClosed); -2270 -2271 let res = stream.read_to_end(10).await; -2272 assert_eq!( -2273 res.unwrap_err(), -2274 quinn::ReadToEndError::Read(quinn::ReadError::ConnectionLost( -2275 quinn::ConnectionError::LocallyClosed -2276 )) -2277 ); -2278 info!("server test completed"); -2279 Ok::<_, Error>(()) -2280 } -2281 .instrument(info_span!("test-server")), -2282 ); -2283 -2284 let client = tokio::spawn( -2285 async move { -2286 let ep = Endpoint::builder() -2287 .alpns(vec![TEST_ALPN.to_vec()]) -2288 .relay_mode(RelayMode::Custom(relay_map)) -2289 .insecure_skip_relay_cert_verify(true) -2290 .bind() -2291 .await?; -2292 info!("client connecting"); -2293 let node_addr = NodeAddr::new(server_peer_id).with_relay_url(relay_url); -2294 let conn = ep.connect(node_addr, TEST_ALPN).await?; -2295 let mut stream = conn.open_uni().await.e()?; -2296 -2297 // First write is accepted by server. We need this bit of synchronisation -2298 // because if the server closes after simply accepting the connection we can -2299 // not be sure our .open_uni() call would succeed as it may already receive -2300 // the error. -2301 stream.write_all(b"hello").await.e()?; -2302 -2303 info!("waiting for closed"); -2304 // Remote now closes the connection, we should see an error sometime soon. -2305 let err = conn.closed().await; -2306 let expected_err = -2307 quinn::ConnectionError::ApplicationClosed(quinn::ApplicationClose { -2308 error_code: 7u8.into(), -2309 reason: b"bye".to_vec().into(), -2310 }); -2311 assert_eq!(err, expected_err); -2312 -2313 info!("opening new - expect it to fail"); -2314 let res = conn.open_uni().await; -2315 assert_eq!(res.unwrap_err(), expected_err); -2316 info!("client test completed"); -2317 Ok::<_, Error>(()) -2318 } -2319 .instrument(info_span!("test-client")), -2320 ); -2321 -2322 let (server, client) = tokio::time::timeout( -2323 Duration::from_secs(30), -2324 n0_future::future::zip(server, client), -2325 ) -2326 .await -2327 .e()?; -2328 server.e()??; -2329 client.e()??; -2330 Ok(()) -2331 } -2332 -2333 #[tokio::test] -2334 #[traced_test] -2335 async fn endpoint_relay_connect_loop() -> Result { -2336 let test_start = Instant::now(); -2337 let n_clients = 5; -2338 let n_chunks_per_client = 2; -2339 let chunk_size = 10; -2340 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(42); -2341 let (relay_map, relay_url, _relay_guard) = run_relay_server().await.unwrap(); -2342 let server_secret_key = SecretKey::generate(&mut rng); -2343 let server_node_id = server_secret_key.public(); +2268 // Wait for the endpoint to be started to make sure it's up before clients try to connect +2269 let ep = Endpoint::builder() +2270 .secret_key(server_secret_key) +2271 .alpns(vec![TEST_ALPN.to_vec()]) +2272 .relay_mode(RelayMode::Custom(relay_map.clone())) +2273 .insecure_skip_relay_cert_verify(true) +2274 .bind() +2275 .await?; +2276 // Wait for the endpoint to be reachable via relay +2277 ep.online().await; +2278 +2279 let server = tokio::spawn( +2280 async move { +2281 info!("accepting connection"); +2282 let incoming = ep.accept().await.e()?; +2283 let conn = incoming.await.e()?; +2284 let mut stream = conn.accept_uni().await.e()?; +2285 let mut buf = [0u8; 5]; +2286 stream.read_exact(&mut buf).await.e()?; +2287 info!("Accepted 1 stream, received {buf:?}. Closing now."); +2288 // close the connection +2289 conn.close(7u8.into(), b"bye"); +2290 +2291 let res = conn.accept_uni().await; +2292 assert_eq!(res.unwrap_err(), quinn::ConnectionError::LocallyClosed); +2293 +2294 let res = stream.read_to_end(10).await; +2295 assert_eq!( +2296 res.unwrap_err(), +2297 quinn::ReadToEndError::Read(quinn::ReadError::ConnectionLost( +2298 quinn::ConnectionError::LocallyClosed +2299 )) +2300 ); +2301 info!("server test completed"); +2302 Ok::<_, Error>(()) +2303 } +2304 .instrument(info_span!("test-server")), +2305 ); +2306 +2307 let client = tokio::spawn( +2308 async move { +2309 let ep = Endpoint::builder() +2310 .alpns(vec![TEST_ALPN.to_vec()]) +2311 .relay_mode(RelayMode::Custom(relay_map)) +2312 .insecure_skip_relay_cert_verify(true) +2313 .bind() +2314 .await?; +2315 info!("client connecting"); +2316 let node_addr = NodeAddr::new(server_peer_id).with_relay_url(relay_url); +2317 let conn = ep.connect(node_addr, TEST_ALPN).await?; +2318 let mut stream = conn.open_uni().await.e()?; +2319 +2320 // First write is accepted by server. We need this bit of synchronisation +2321 // because if the server closes after simply accepting the connection we can +2322 // not be sure our .open_uni() call would succeed as it may already receive +2323 // the error. +2324 stream.write_all(b"hello").await.e()?; +2325 +2326 info!("waiting for closed"); +2327 // Remote now closes the connection, we should see an error sometime soon. +2328 let err = conn.closed().await; +2329 let expected_err = +2330 quinn::ConnectionError::ApplicationClosed(quinn::ApplicationClose { +2331 error_code: 7u8.into(), +2332 reason: b"bye".to_vec().into(), +2333 }); +2334 assert_eq!(err, expected_err); +2335 +2336 info!("opening new - expect it to fail"); +2337 let res = conn.open_uni().await; +2338 assert_eq!(res.unwrap_err(), expected_err); +2339 info!("client test completed"); +2340 Ok::<_, Error>(()) +2341 } +2342 .instrument(info_span!("test-client")), +2343 ); 2344 -2345 // Make sure the server is bound before having clients connect to it: -2346 let ep = Endpoint::builder() -2347 .insecure_skip_relay_cert_verify(true) -2348 .secret_key(server_secret_key) -2349 .alpns(vec![TEST_ALPN.to_vec()]) -2350 .relay_mode(RelayMode::Custom(relay_map.clone())) -2351 .bind() -2352 .await?; -2353 // Also make sure the server has a working relay connection -2354 ep.home_relay().initialized().await; +2345 let (server, client) = tokio::time::timeout( +2346 Duration::from_secs(30), +2347 n0_future::future::zip(server, client), +2348 ) +2349 .await +2350 .e()?; +2351 server.e()??; +2352 client.e()??; +2353 Ok(()) +2354 } 2355 -2356 info!(time = ?test_start.elapsed(), "test setup done"); -2357 -2358 // The server accepts the connections of the clients sequentially. -2359 let server = tokio::spawn( -2360 async move { -2361 let eps = ep.bound_sockets(); -2362 -2363 info!(me = %ep.node_id().fmt_short(), eps = ?eps, "server listening on"); -2364 for i in 0..n_clients { -2365 let round_start = Instant::now(); -2366 info!("[server] round {i}"); -2367 let incoming = ep.accept().await.e()?; -2368 let conn = incoming.await.e()?; -2369 let node_id = conn.remote_node_id()?; -2370 info!(%i, peer = %node_id.fmt_short(), "accepted connection"); -2371 let (mut send, mut recv) = conn.accept_bi().await.e()?; -2372 let mut buf = vec![0u8; chunk_size]; -2373 for _i in 0..n_chunks_per_client { -2374 recv.read_exact(&mut buf).await.e()?; -2375 send.write_all(&buf).await.e()?; -2376 } -2377 send.finish().e()?; -2378 conn.closed().await; // we're the last to send data, so we wait for the other side to close -2379 info!(%i, peer = %node_id.fmt_short(), "finished"); -2380 info!("[server] round {i} done in {:?}", round_start.elapsed()); -2381 } -2382 Ok::<_, Error>(()) -2383 } -2384 .instrument(error_span!("server")), -2385 ); +2356 #[tokio::test] +2357 #[traced_test] +2358 async fn endpoint_relay_connect_loop() -> Result { +2359 let test_start = Instant::now(); +2360 let n_clients = 5; +2361 let n_chunks_per_client = 2; +2362 let chunk_size = 10; +2363 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(42); +2364 let (relay_map, relay_url, _relay_guard) = run_relay_server().await.unwrap(); +2365 let server_secret_key = SecretKey::generate(&mut rng); +2366 let server_node_id = server_secret_key.public(); +2367 +2368 // Make sure the server is bound before having clients connect to it: +2369 let ep = Endpoint::builder() +2370 .insecure_skip_relay_cert_verify(true) +2371 .secret_key(server_secret_key) +2372 .alpns(vec![TEST_ALPN.to_vec()]) +2373 .relay_mode(RelayMode::Custom(relay_map.clone())) +2374 .bind() +2375 .await?; +2376 // Also make sure the server has a working relay connection +2377 +2378 ep.online().await; +2379 +2380 info!(time = ?test_start.elapsed(), "test setup done"); +2381 +2382 // The server accepts the connections of the clients sequentially. +2383 let server = tokio::spawn( +2384 async move { +2385 let eps = ep.bound_sockets(); 2386 -2387 let start = Instant::now(); -2388 -2389 for i in 0..n_clients { -2390 let round_start = Instant::now(); -2391 info!("[client] round {i}"); -2392 let client_secret_key = SecretKey::generate(&mut rng); -2393 async { -2394 info!("client binding"); -2395 let ep = Endpoint::builder() -2396 .alpns(vec![TEST_ALPN.to_vec()]) -2397 .insecure_skip_relay_cert_verify(true) -2398 .relay_mode(RelayMode::Custom(relay_map.clone())) -2399 .secret_key(client_secret_key) -2400 .bind() -2401 .await?; -2402 let eps = ep.bound_sockets(); -2403 -2404 info!(me = %ep.node_id().fmt_short(), eps=?eps, "client bound"); -2405 let node_addr = NodeAddr::new(server_node_id).with_relay_url(relay_url.clone()); -2406 info!(to = ?node_addr, "client connecting"); -2407 let conn = ep.connect(node_addr, TEST_ALPN).await.e()?; -2408 info!("client connected"); -2409 let (mut send, mut recv) = conn.open_bi().await.e()?; +2387 info!(me = %ep.node_id().fmt_short(), eps = ?eps, "server listening on"); +2388 for i in 0..n_clients { +2389 let round_start = Instant::now(); +2390 info!("[server] round {i}"); +2391 let incoming = ep.accept().await.e()?; +2392 let conn = incoming.await.e()?; +2393 let node_id = conn.remote_node_id()?; +2394 info!(%i, peer = %node_id.fmt_short(), "accepted connection"); +2395 let (mut send, mut recv) = conn.accept_bi().await.e()?; +2396 let mut buf = vec![0u8; chunk_size]; +2397 for _i in 0..n_chunks_per_client { +2398 recv.read_exact(&mut buf).await.e()?; +2399 send.write_all(&buf).await.e()?; +2400 } +2401 send.finish().e()?; +2402 conn.closed().await; // we're the last to send data, so we wait for the other side to close +2403 info!(%i, peer = %node_id.fmt_short(), "finished"); +2404 info!("[server] round {i} done in {:?}", round_start.elapsed()); +2405 } +2406 Ok::<_, Error>(()) +2407 } +2408 .instrument(error_span!("server")), +2409 ); 2410 -2411 for i in 0..n_chunks_per_client { -2412 let mut buf = vec![i; chunk_size]; -2413 send.write_all(&buf).await.e()?; -2414 recv.read_exact(&mut buf).await.e()?; -2415 assert_eq!(buf, vec![i; chunk_size]); -2416 } -2417 // we're the last to receive data, so we close -2418 conn.close(0u32.into(), b"bye!"); -2419 info!("client finished"); -2420 ep.close().await; -2421 info!("client closed"); -2422 Ok::<_, Error>(()) -2423 } -2424 .instrument(error_span!("client", %i)) -2425 .await?; -2426 info!("[client] round {i} done in {:?}", round_start.elapsed()); -2427 } -2428 -2429 server.await.e()??; -2430 -2431 // We appear to have seen this being very slow at times. So ensure we fail if this -2432 // test is too slow. We're only making two connections transferring very little -2433 // data, this really shouldn't take long. -2434 if start.elapsed() > Duration::from_secs(15) { -2435 panic!("Test too slow, something went wrong"); -2436 } -2437 -2438 Ok(()) -2439 } -2440 -2441 #[tokio::test] -2442 #[traced_test] -2443 async fn endpoint_send_relay() -> Result { -2444 let (relay_map, _relay_url, _guard) = run_relay_server().await?; -2445 let client = Endpoint::builder() -2446 .insecure_skip_relay_cert_verify(true) -2447 .relay_mode(RelayMode::Custom(relay_map.clone())) -2448 .bind() +2411 let start = Instant::now(); +2412 +2413 for i in 0..n_clients { +2414 let round_start = Instant::now(); +2415 info!("[client] round {i}"); +2416 let client_secret_key = SecretKey::generate(&mut rng); +2417 async { +2418 info!("client binding"); +2419 let ep = Endpoint::builder() +2420 .alpns(vec![TEST_ALPN.to_vec()]) +2421 .insecure_skip_relay_cert_verify(true) +2422 .relay_mode(RelayMode::Custom(relay_map.clone())) +2423 .secret_key(client_secret_key) +2424 .bind() +2425 .await?; +2426 let eps = ep.bound_sockets(); +2427 +2428 info!(me = %ep.node_id().fmt_short(), eps=?eps, "client bound"); +2429 let node_addr = NodeAddr::new(server_node_id).with_relay_url(relay_url.clone()); +2430 info!(to = ?node_addr, "client connecting"); +2431 let conn = ep.connect(node_addr, TEST_ALPN).await.e()?; +2432 info!("client connected"); +2433 let (mut send, mut recv) = conn.open_bi().await.e()?; +2434 +2435 for i in 0..n_chunks_per_client { +2436 let mut buf = vec![i; chunk_size]; +2437 send.write_all(&buf).await.e()?; +2438 recv.read_exact(&mut buf).await.e()?; +2439 assert_eq!(buf, vec![i; chunk_size]); +2440 } +2441 // we're the last to receive data, so we close +2442 conn.close(0u32.into(), b"bye!"); +2443 info!("client finished"); +2444 ep.close().await; +2445 info!("client closed"); +2446 Ok::<_, Error>(()) +2447 } +2448 .instrument(error_span!("client", %i)) 2449 .await?; -2450 let server = Endpoint::builder() -2451 .insecure_skip_relay_cert_verify(true) -2452 .relay_mode(RelayMode::Custom(relay_map)) -2453 .alpns(vec![TEST_ALPN.to_vec()]) -2454 .bind() -2455 .await?; -2456 -2457 let task = tokio::spawn({ -2458 let server = server.clone(); -2459 async move { -2460 let Some(conn) = server.accept().await else { -2461 snafu::whatever!("Expected an incoming connection"); -2462 }; -2463 let conn = conn.await.e()?; -2464 let (mut send, mut recv) = conn.accept_bi().await.e()?; -2465 let data = recv.read_to_end(1000).await.e()?; -2466 send.write_all(&data).await.e()?; -2467 send.finish().e()?; -2468 conn.closed().await; -2469 -2470 Ok::<_, Error>(()) -2471 } -2472 }); -2473 -2474 let addr = server.node_addr().initialized().await; -2475 let conn = client.connect(addr, TEST_ALPN).await?; -2476 let (mut send, mut recv) = conn.open_bi().await.e()?; -2477 send.write_all(b"Hello, world!").await.e()?; -2478 send.finish().e()?; -2479 let data = recv.read_to_end(1000).await.e()?; -2480 conn.close(0u32.into(), b"bye!"); -2481 -2482 task.await.e()??; -2483 -2484 client.close().await; -2485 server.close().await; -2486 -2487 assert_eq!(&data, b"Hello, world!"); -2488 -2489 Ok(()) -2490 } -2491 -2492 #[tokio::test] -2493 #[traced_test] -2494 async fn endpoint_bidi_send_recv() -> Result { -2495 let ep1 = Endpoint::builder() -2496 .alpns(vec![TEST_ALPN.to_vec()]) -2497 .relay_mode(RelayMode::Disabled); -2498 -2499 let ep1 = ep1.bind().await?; -2500 let ep2 = Endpoint::builder() -2501 .alpns(vec![TEST_ALPN.to_vec()]) -2502 .relay_mode(RelayMode::Disabled); -2503 -2504 let ep2 = ep2.bind().await?; +2450 info!("[client] round {i} done in {:?}", round_start.elapsed()); +2451 } +2452 +2453 server.await.e()??; +2454 +2455 // We appear to have seen this being very slow at times. So ensure we fail if this +2456 // test is too slow. We're only making two connections transferring very little +2457 // data, this really shouldn't take long. +2458 if start.elapsed() > Duration::from_secs(15) { +2459 panic!("Test too slow, something went wrong"); +2460 } +2461 +2462 Ok(()) +2463 } +2464 +2465 #[tokio::test] +2466 #[traced_test] +2467 async fn endpoint_send_relay() -> Result { +2468 let (relay_map, _relay_url, _guard) = run_relay_server().await?; +2469 let client = Endpoint::builder() +2470 .insecure_skip_relay_cert_verify(true) +2471 .relay_mode(RelayMode::Custom(relay_map.clone())) +2472 .bind() +2473 .await?; +2474 let server = Endpoint::builder() +2475 .insecure_skip_relay_cert_verify(true) +2476 .relay_mode(RelayMode::Custom(relay_map)) +2477 .alpns(vec![TEST_ALPN.to_vec()]) +2478 .bind() +2479 .await?; +2480 +2481 let task = tokio::spawn({ +2482 let server = server.clone(); +2483 async move { +2484 let Some(conn) = server.accept().await else { +2485 snafu::whatever!("Expected an incoming connection"); +2486 }; +2487 let conn = conn.await.e()?; +2488 let (mut send, mut recv) = conn.accept_bi().await.e()?; +2489 let data = recv.read_to_end(1000).await.e()?; +2490 send.write_all(&data).await.e()?; +2491 send.finish().e()?; +2492 conn.closed().await; +2493 +2494 Ok::<_, Error>(()) +2495 } +2496 }); +2497 +2498 let addr = server.watch_node_addr().initialized().await; +2499 let conn = client.connect(addr, TEST_ALPN).await?; +2500 let (mut send, mut recv) = conn.open_bi().await.e()?; +2501 send.write_all(b"Hello, world!").await.e()?; +2502 send.finish().e()?; +2503 let data = recv.read_to_end(1000).await.e()?; +2504 conn.close(0u32.into(), b"bye!"); 2505 -2506 let ep1_nodeaddr = ep1.node_addr().initialized().await; -2507 let ep2_nodeaddr = ep2.node_addr().initialized().await; -2508 ep1.add_node_addr(ep2_nodeaddr.clone())?; -2509 ep2.add_node_addr(ep1_nodeaddr.clone())?; -2510 let ep1_nodeid = ep1.node_id(); -2511 let ep2_nodeid = ep2.node_id(); -2512 eprintln!("node id 1 {ep1_nodeid}"); -2513 eprintln!("node id 2 {ep2_nodeid}"); -2514 -2515 async fn connect_hello(ep: Endpoint, dst: NodeAddr) -> Result { -2516 let conn = ep.connect(dst, TEST_ALPN).await?; -2517 let (mut send, mut recv) = conn.open_bi().await.e()?; -2518 info!("sending hello"); -2519 send.write_all(b"hello").await.e()?; -2520 send.finish().e()?; -2521 info!("receiving world"); -2522 let m = recv.read_to_end(100).await.e()?; -2523 assert_eq!(m, b"world"); -2524 conn.close(1u8.into(), b"done"); -2525 Ok(()) -2526 } +2506 task.await.e()??; +2507 +2508 client.close().await; +2509 server.close().await; +2510 +2511 assert_eq!(&data, b"Hello, world!"); +2512 +2513 Ok(()) +2514 } +2515 +2516 #[tokio::test] +2517 #[traced_test] +2518 async fn endpoint_bidi_send_recv() -> Result { +2519 let ep1 = Endpoint::builder() +2520 .alpns(vec![TEST_ALPN.to_vec()]) +2521 .relay_mode(RelayMode::Disabled); +2522 +2523 let ep1 = ep1.bind().await?; +2524 let ep2 = Endpoint::builder() +2525 .alpns(vec![TEST_ALPN.to_vec()]) +2526 .relay_mode(RelayMode::Disabled); 2527 -2528 async fn accept_world(ep: Endpoint, src: NodeId) -> Result { -2529 let incoming = ep.accept().await.e()?; -2530 let mut iconn = incoming.accept().e()?; -2531 let alpn = iconn.alpn().await?; -2532 let conn = iconn.await.e()?; -2533 let node_id = conn.remote_node_id()?; -2534 assert_eq!(node_id, src); -2535 assert_eq!(alpn, TEST_ALPN); -2536 let (mut send, mut recv) = conn.accept_bi().await.e()?; -2537 info!("receiving hello"); -2538 let m = recv.read_to_end(100).await.e()?; -2539 assert_eq!(m, b"hello"); -2540 info!("sending hello"); -2541 send.write_all(b"world").await.e()?; -2542 send.finish().e()?; -2543 match conn.closed().await { -2544 ConnectionError::ApplicationClosed(closed) => { -2545 assert_eq!(closed.error_code, 1u8.into()); -2546 Ok(()) -2547 } -2548 _ => panic!("wrong close error"), -2549 } +2528 let ep2 = ep2.bind().await?; +2529 +2530 let ep1_nodeaddr = ep1.watch_node_addr().initialized().await; +2531 let ep2_nodeaddr = ep2.watch_node_addr().initialized().await; +2532 ep1.add_node_addr(ep2_nodeaddr.clone())?; +2533 ep2.add_node_addr(ep1_nodeaddr.clone())?; +2534 let ep1_nodeid = ep1.node_id(); +2535 let ep2_nodeid = ep2.node_id(); +2536 eprintln!("node id 1 {ep1_nodeid}"); +2537 eprintln!("node id 2 {ep2_nodeid}"); +2538 +2539 async fn connect_hello(ep: Endpoint, dst: NodeAddr) -> Result { +2540 let conn = ep.connect(dst, TEST_ALPN).await?; +2541 let (mut send, mut recv) = conn.open_bi().await.e()?; +2542 info!("sending hello"); +2543 send.write_all(b"hello").await.e()?; +2544 send.finish().e()?; +2545 info!("receiving world"); +2546 let m = recv.read_to_end(100).await.e()?; +2547 assert_eq!(m, b"world"); +2548 conn.close(1u8.into(), b"done"); +2549 Ok(()) 2550 } 2551 -2552 let p1_accept = tokio::spawn(accept_world(ep1.clone(), ep2_nodeid).instrument(info_span!( -2553 "p1_accept", -2554 ep1 = %ep1.node_id().fmt_short(), -2555 dst = %ep2_nodeid.fmt_short(), -2556 ))); -2557 let p2_accept = tokio::spawn(accept_world(ep2.clone(), ep1_nodeid).instrument(info_span!( -2558 "p2_accept", -2559 ep2 = %ep2.node_id().fmt_short(), -2560 dst = %ep1_nodeid.fmt_short(), -2561 ))); -2562 let p1_connect = tokio::spawn(connect_hello(ep1.clone(), ep2_nodeaddr).instrument( -2563 info_span!( -2564 "p1_connect", -2565 ep1 = %ep1.node_id().fmt_short(), -2566 dst = %ep2_nodeid.fmt_short(), -2567 ), -2568 )); -2569 let p2_connect = tokio::spawn(connect_hello(ep2.clone(), ep1_nodeaddr).instrument( -2570 info_span!( -2571 "p2_connect", -2572 ep2 = %ep2.node_id().fmt_short(), -2573 dst = %ep1_nodeid.fmt_short(), -2574 ), -2575 )); -2576 -2577 p1_accept.await.e()??; -2578 p2_accept.await.e()??; -2579 p1_connect.await.e()??; -2580 p2_connect.await.e()??; -2581 -2582 Ok(()) -2583 } -2584 -2585 #[tokio::test] -2586 #[traced_test] -2587 async fn endpoint_conn_type_becomes_direct() -> Result { -2588 const TIMEOUT: Duration = std::time::Duration::from_secs(15); -2589 let (relay_map, _relay_url, _relay_guard) = run_relay_server().await?; -2590 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(42); -2591 let ep1_secret_key = SecretKey::generate(&mut rng); -2592 let ep2_secret_key = SecretKey::generate(&mut rng); -2593 let ep1 = Endpoint::builder() -2594 .secret_key(ep1_secret_key) -2595 .insecure_skip_relay_cert_verify(true) -2596 .alpns(vec![TEST_ALPN.to_vec()]) -2597 .relay_mode(RelayMode::Custom(relay_map.clone())) -2598 .bind() -2599 .await?; -2600 let ep2 = Endpoint::builder() -2601 .secret_key(ep2_secret_key) -2602 .insecure_skip_relay_cert_verify(true) -2603 .alpns(vec![TEST_ALPN.to_vec()]) -2604 .relay_mode(RelayMode::Custom(relay_map)) -2605 .bind() -2606 .await?; -2607 -2608 async fn wait_for_conn_type_direct(ep: &Endpoint, node_id: NodeId) -> Result { -2609 let mut stream = ep.conn_type(node_id).expect("connection exists").stream(); -2610 let src = ep.node_id().fmt_short(); -2611 let dst = node_id.fmt_short(); -2612 while let Some(conn_type) = stream.next().await { -2613 tracing::info!(me = %src, dst = %dst, conn_type = ?conn_type); -2614 if matches!(conn_type, ConnectionType::Direct(_)) { -2615 return Ok(()); -2616 } -2617 } -2618 snafu::whatever!("conn_type stream ended before `ConnectionType::Direct`"); -2619 } -2620 -2621 async fn accept(ep: &Endpoint) -> Result<Connection> { -2622 let incoming = ep.accept().await.expect("ep closed"); -2623 let conn = incoming.await.e()?; -2624 let node_id = conn.remote_node_id()?; -2625 tracing::info!(node_id=%node_id.fmt_short(), "accepted connection"); -2626 Ok(conn) -2627 } -2628 -2629 let ep1_nodeid = ep1.node_id(); -2630 let ep2_nodeid = ep2.node_id(); +2552 async fn accept_world(ep: Endpoint, src: NodeId) -> Result { +2553 let incoming = ep.accept().await.e()?; +2554 let mut iconn = incoming.accept().e()?; +2555 let alpn = iconn.alpn().await?; +2556 let conn = iconn.await.e()?; +2557 let node_id = conn.remote_node_id()?; +2558 assert_eq!(node_id, src); +2559 assert_eq!(alpn, TEST_ALPN); +2560 let (mut send, mut recv) = conn.accept_bi().await.e()?; +2561 info!("receiving hello"); +2562 let m = recv.read_to_end(100).await.e()?; +2563 assert_eq!(m, b"hello"); +2564 info!("sending hello"); +2565 send.write_all(b"world").await.e()?; +2566 send.finish().e()?; +2567 match conn.closed().await { +2568 ConnectionError::ApplicationClosed(closed) => { +2569 assert_eq!(closed.error_code, 1u8.into()); +2570 Ok(()) +2571 } +2572 _ => panic!("wrong close error"), +2573 } +2574 } +2575 +2576 let p1_accept = tokio::spawn(accept_world(ep1.clone(), ep2_nodeid).instrument(info_span!( +2577 "p1_accept", +2578 ep1 = %ep1.node_id().fmt_short(), +2579 dst = %ep2_nodeid.fmt_short(), +2580 ))); +2581 let p2_accept = tokio::spawn(accept_world(ep2.clone(), ep1_nodeid).instrument(info_span!( +2582 "p2_accept", +2583 ep2 = %ep2.node_id().fmt_short(), +2584 dst = %ep1_nodeid.fmt_short(), +2585 ))); +2586 let p1_connect = tokio::spawn(connect_hello(ep1.clone(), ep2_nodeaddr).instrument( +2587 info_span!( +2588 "p1_connect", +2589 ep1 = %ep1.node_id().fmt_short(), +2590 dst = %ep2_nodeid.fmt_short(), +2591 ), +2592 )); +2593 let p2_connect = tokio::spawn(connect_hello(ep2.clone(), ep1_nodeaddr).instrument( +2594 info_span!( +2595 "p2_connect", +2596 ep2 = %ep2.node_id().fmt_short(), +2597 dst = %ep1_nodeid.fmt_short(), +2598 ), +2599 )); +2600 +2601 p1_accept.await.e()??; +2602 p2_accept.await.e()??; +2603 p1_connect.await.e()??; +2604 p2_connect.await.e()??; +2605 +2606 Ok(()) +2607 } +2608 +2609 #[tokio::test] +2610 #[traced_test] +2611 async fn endpoint_conn_type_becomes_direct() -> Result { +2612 const TIMEOUT: Duration = std::time::Duration::from_secs(15); +2613 let (relay_map, _relay_url, _relay_guard) = run_relay_server().await?; +2614 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(42); +2615 let ep1_secret_key = SecretKey::generate(&mut rng); +2616 let ep2_secret_key = SecretKey::generate(&mut rng); +2617 let ep1 = Endpoint::builder() +2618 .secret_key(ep1_secret_key) +2619 .insecure_skip_relay_cert_verify(true) +2620 .alpns(vec![TEST_ALPN.to_vec()]) +2621 .relay_mode(RelayMode::Custom(relay_map.clone())) +2622 .bind() +2623 .await?; +2624 let ep2 = Endpoint::builder() +2625 .secret_key(ep2_secret_key) +2626 .insecure_skip_relay_cert_verify(true) +2627 .alpns(vec![TEST_ALPN.to_vec()]) +2628 .relay_mode(RelayMode::Custom(relay_map)) +2629 .bind() +2630 .await?; 2631 -2632 let ep1_nodeaddr = ep1.node_addr().initialized().await; -2633 tracing::info!( -2634 "node id 1 {ep1_nodeid}, relay URL {:?}", -2635 ep1_nodeaddr.relay_url() -2636 ); -2637 tracing::info!("node id 2 {ep2_nodeid}"); -2638 -2639 let ep1_side = tokio::time::timeout(TIMEOUT, async move { -2640 let conn = accept(&ep1).await?; -2641 let mut send = conn.open_uni().await.e()?; -2642 wait_for_conn_type_direct(&ep1, ep2_nodeid).await?; -2643 send.write_all(b"Conn is direct").await.e()?; -2644 send.finish().e()?; -2645 conn.closed().await; -2646 Ok::<(), Error>(()) -2647 }); -2648 -2649 let ep2_side = tokio::time::timeout(TIMEOUT, async move { -2650 let conn = ep2.connect(ep1_nodeaddr, TEST_ALPN).await?; -2651 let mut recv = conn.accept_uni().await.e()?; -2652 wait_for_conn_type_direct(&ep2, ep1_nodeid).await?; -2653 let read = recv.read_to_end(100).await.e()?; -2654 assert_eq!(read, b"Conn is direct".to_vec()); -2655 conn.close(0u32.into(), b"done"); -2656 conn.closed().await; -2657 Ok::<(), Error>(()) -2658 }); -2659 -2660 let res_ep1 = AbortOnDropHandle::new(tokio::spawn(ep1_side)); -2661 let res_ep2 = AbortOnDropHandle::new(tokio::spawn(ep2_side)); +2632 async fn wait_for_conn_type_direct(ep: &Endpoint, node_id: NodeId) -> Result { +2633 let mut stream = ep.conn_type(node_id).expect("connection exists").stream(); +2634 let src = ep.node_id().fmt_short(); +2635 let dst = node_id.fmt_short(); +2636 while let Some(conn_type) = stream.next().await { +2637 tracing::info!(me = %src, dst = %dst, conn_type = ?conn_type); +2638 if matches!(conn_type, ConnectionType::Direct(_)) { +2639 return Ok(()); +2640 } +2641 } +2642 snafu::whatever!("conn_type stream ended before `ConnectionType::Direct`"); +2643 } +2644 +2645 async fn accept(ep: &Endpoint) -> Result<Connection> { +2646 let incoming = ep.accept().await.expect("ep closed"); +2647 let conn = incoming.await.e()?; +2648 let node_id = conn.remote_node_id()?; +2649 tracing::info!(node_id=%node_id.fmt_short(), "accepted connection"); +2650 Ok(conn) +2651 } +2652 +2653 let ep1_nodeid = ep1.node_id(); +2654 let ep2_nodeid = ep2.node_id(); +2655 +2656 let ep1_nodeaddr = ep1.watch_node_addr().initialized().await; +2657 tracing::info!( +2658 "node id 1 {ep1_nodeid}, relay URL {:?}", +2659 ep1_nodeaddr.relay_url() +2660 ); +2661 tracing::info!("node id 2 {ep2_nodeid}"); 2662 -2663 let (r1, r2) = tokio::try_join!(res_ep1, res_ep2).e()?; -2664 r1.e()??; -2665 r2.e()??; -2666 -2667 Ok(()) -2668 } -2669 -2670 #[tokio::test] -2671 #[traced_test] -2672 async fn test_direct_addresses_no_qad_relay() -> Result { -2673 let (relay_map, _, _guard) = run_relay_server_with(false).await.unwrap(); -2674 -2675 let ep = Endpoint::builder() -2676 .alpns(vec![TEST_ALPN.to_vec()]) -2677 .relay_mode(RelayMode::Custom(relay_map)) -2678 .insecure_skip_relay_cert_verify(true) -2679 .bind() -2680 .await?; -2681 -2682 tokio::time::timeout(Duration::from_secs(10), ep.direct_addresses().initialized()) -2683 .await -2684 .e()?; -2685 Ok(()) -2686 } -2687 -2688 async fn spawn_0rtt_server(secret_key: SecretKey, log_span: tracing::Span) -> Result<Endpoint> { -2689 let server = Endpoint::builder() -2690 .secret_key(secret_key) -2691 .alpns(vec![TEST_ALPN.to_vec()]) -2692 .relay_mode(RelayMode::Disabled) -2693 .bind() -2694 .await?; -2695 -2696 // Gets aborted via the endpoint closing causing an `Err` -2697 // a simple echo server -2698 tokio::spawn({ -2699 let server = server.clone(); -2700 async move { -2701 while let Some(incoming) = server.accept().await { -2702 let connecting = incoming.accept().e()?; -2703 let conn = match connecting.into_0rtt() { -2704 Ok((conn, _)) => { -2705 info!("0rtt accepted"); -2706 conn -2707 } -2708 Err(connecting) => { -2709 info!("0rtt denied"); -2710 connecting.await.e()? -2711 } -2712 }; -2713 let (mut send, mut recv) = conn.accept_bi().await.e()?; -2714 let data = recv.read_to_end(10_000_000).await.e()?; -2715 send.write_all(&data).await.e()?; -2716 send.finish().e()?; +2663 let ep1_side = tokio::time::timeout(TIMEOUT, async move { +2664 let conn = accept(&ep1).await?; +2665 let mut send = conn.open_uni().await.e()?; +2666 wait_for_conn_type_direct(&ep1, ep2_nodeid).await?; +2667 send.write_all(b"Conn is direct").await.e()?; +2668 send.finish().e()?; +2669 conn.closed().await; +2670 Ok::<(), Error>(()) +2671 }); +2672 +2673 let ep2_side = tokio::time::timeout(TIMEOUT, async move { +2674 let conn = ep2.connect(ep1_nodeaddr, TEST_ALPN).await?; +2675 let mut recv = conn.accept_uni().await.e()?; +2676 wait_for_conn_type_direct(&ep2, ep1_nodeid).await?; +2677 let read = recv.read_to_end(100).await.e()?; +2678 assert_eq!(read, b"Conn is direct".to_vec()); +2679 conn.close(0u32.into(), b"done"); +2680 conn.closed().await; +2681 Ok::<(), Error>(()) +2682 }); +2683 +2684 let res_ep1 = AbortOnDropHandle::new(tokio::spawn(ep1_side)); +2685 let res_ep2 = AbortOnDropHandle::new(tokio::spawn(ep2_side)); +2686 +2687 let (r1, r2) = tokio::try_join!(res_ep1, res_ep2).e()?; +2688 r1.e()??; +2689 r2.e()??; +2690 +2691 Ok(()) +2692 } +2693 +2694 #[tokio::test] +2695 #[traced_test] +2696 async fn test_direct_addresses_no_qad_relay() -> Result { +2697 let (relay_map, _, _guard) = run_relay_server_with(false).await.unwrap(); +2698 +2699 let ep = Endpoint::builder() +2700 .alpns(vec![TEST_ALPN.to_vec()]) +2701 .relay_mode(RelayMode::Custom(relay_map)) +2702 .insecure_skip_relay_cert_verify(true) +2703 .bind() +2704 .await?; +2705 +2706 tokio::time::timeout( +2707 Duration::from_secs(10), +2708 ep.watch_node_addr() +2709 .map(|addr| addr.map(|addr| addr.direct_addresses)) +2710 .unwrap() +2711 .initialized(), +2712 ) +2713 .await +2714 .e()?; +2715 Ok(()) +2716 } 2717 -2718 // Stay alive until the other side closes the connection. -2719 conn.closed().await; -2720 } -2721 Ok::<_, Error>(()) -2722 } -2723 .instrument(log_span) -2724 }); +2718 async fn spawn_0rtt_server(secret_key: SecretKey, log_span: tracing::Span) -> Result<Endpoint> { +2719 let server = Endpoint::builder() +2720 .secret_key(secret_key) +2721 .alpns(vec![TEST_ALPN.to_vec()]) +2722 .relay_mode(RelayMode::Disabled) +2723 .bind() +2724 .await?; 2725 -2726 Ok(server) -2727 } -2728 -2729 async fn connect_client_0rtt_expect_err(client: &Endpoint, server_addr: NodeAddr) -> Result { -2730 let conn = client -2731 .connect_with_opts(server_addr, TEST_ALPN, ConnectOptions::new()) -2732 .await? -2733 .into_0rtt() -2734 .expect_err("expected 0rtt to fail") -2735 .await -2736 .e()?; -2737 -2738 let (mut send, mut recv) = conn.open_bi().await.e()?; -2739 send.write_all(b"hello").await.e()?; -2740 send.finish().e()?; -2741 let received = recv.read_to_end(1_000).await.e()?; -2742 assert_eq!(&received, b"hello"); -2743 conn.close(0u32.into(), b"thx"); -2744 Ok(()) -2745 } -2746 -2747 async fn connect_client_0rtt_expect_ok( -2748 client: &Endpoint, -2749 server_addr: NodeAddr, -2750 expect_server_accepts: bool, -2751 ) -> Result { -2752 let (conn, accepted_0rtt) = client -2753 .connect_with_opts(server_addr, TEST_ALPN, ConnectOptions::new()) -2754 .await? -2755 .into_0rtt() -2756 .ok() -2757 .e()?; +2726 // Gets aborted via the endpoint closing causing an `Err` +2727 // a simple echo server +2728 tokio::spawn({ +2729 let server = server.clone(); +2730 async move { +2731 while let Some(incoming) = server.accept().await { +2732 let connecting = incoming.accept().e()?; +2733 let conn = match connecting.into_0rtt() { +2734 Ok((conn, _)) => { +2735 info!("0rtt accepted"); +2736 conn +2737 } +2738 Err(connecting) => { +2739 info!("0rtt denied"); +2740 connecting.await.e()? +2741 } +2742 }; +2743 let (mut send, mut recv) = conn.accept_bi().await.e()?; +2744 let data = recv.read_to_end(10_000_000).await.e()?; +2745 send.write_all(&data).await.e()?; +2746 send.finish().e()?; +2747 +2748 // Stay alive until the other side closes the connection. +2749 conn.closed().await; +2750 } +2751 Ok::<_, Error>(()) +2752 } +2753 .instrument(log_span) +2754 }); +2755 +2756 Ok(server) +2757 } 2758 -2759 // This is how we send data in 0-RTT: -2760 let (mut send, recv) = conn.open_bi().await.e()?; -2761 send.write_all(b"hello").await.e()?; -2762 send.finish().e()?; -2763 // When this resolves, we've gotten a response from the server about whether the 0-RTT data above was accepted: -2764 let accepted = accepted_0rtt.await; -2765 assert_eq!(accepted, expect_server_accepts); -2766 let mut recv = if accepted { -2767 recv -2768 } else { -2769 // in this case we need to re-send data by re-creating the connection. -2770 let (mut send, recv) = conn.open_bi().await.e()?; -2771 send.write_all(b"hello").await.e()?; -2772 send.finish().e()?; -2773 recv -2774 }; -2775 let received = recv.read_to_end(1_000).await.e()?; -2776 assert_eq!(&received, b"hello"); -2777 conn.close(0u32.into(), b"thx"); -2778 Ok(()) -2779 } -2780 -2781 #[tokio::test] -2782 #[traced_test] -2783 async fn test_0rtt() -> Result { -2784 let client = Endpoint::builder() -2785 .relay_mode(RelayMode::Disabled) -2786 .bind() -2787 .await?; -2788 let server = spawn_0rtt_server( -2789 SecretKey::generate(rand::thread_rng()), -2790 info_span!("server"), -2791 ) -2792 .await?; -2793 -2794 connect_client_0rtt_expect_err(&client, server.node_addr().initialized().await).await?; -2795 // The second 0rtt attempt should work -2796 connect_client_0rtt_expect_ok(&client, server.node_addr().initialized().await, true) -2797 .await?; -2798 -2799 client.close().await; -2800 server.close().await; -2801 -2802 Ok(()) -2803 } -2804 -2805 // We have this test, as this would've failed at some point. -2806 // This effectively tests that we correctly categorize the TLS session tickets we -2807 // receive into the respective "bucket" for the recipient. -2808 #[tokio::test] -2809 #[traced_test] -2810 async fn test_0rtt_non_consecutive() -> Result { -2811 let client = Endpoint::builder() -2812 .relay_mode(RelayMode::Disabled) -2813 .bind() -2814 .await?; -2815 let server = spawn_0rtt_server( -2816 SecretKey::generate(rand::thread_rng()), -2817 info_span!("server"), -2818 ) -2819 .await?; -2820 -2821 connect_client_0rtt_expect_err(&client, server.node_addr().initialized().await).await?; -2822 -2823 // connecting with another endpoint should not interfere with our -2824 // TLS session ticket cache for the first endpoint: -2825 let another = spawn_0rtt_server( -2826 SecretKey::generate(rand::thread_rng()), -2827 info_span!("another"), -2828 ) -2829 .await?; -2830 connect_client_0rtt_expect_err(&client, another.node_addr().initialized().await).await?; -2831 another.close().await; +2759 async fn connect_client_0rtt_expect_err(client: &Endpoint, server_addr: NodeAddr) -> Result { +2760 let conn = client +2761 .connect_with_opts(server_addr, TEST_ALPN, ConnectOptions::new()) +2762 .await? +2763 .into_0rtt() +2764 .expect_err("expected 0rtt to fail") +2765 .await +2766 .e()?; +2767 +2768 let (mut send, mut recv) = conn.open_bi().await.e()?; +2769 send.write_all(b"hello").await.e()?; +2770 send.finish().e()?; +2771 let received = recv.read_to_end(1_000).await.e()?; +2772 assert_eq!(&received, b"hello"); +2773 conn.close(0u32.into(), b"thx"); +2774 Ok(()) +2775 } +2776 +2777 async fn connect_client_0rtt_expect_ok( +2778 client: &Endpoint, +2779 server_addr: NodeAddr, +2780 expect_server_accepts: bool, +2781 ) -> Result { +2782 let (conn, accepted_0rtt) = client +2783 .connect_with_opts(server_addr, TEST_ALPN, ConnectOptions::new()) +2784 .await? +2785 .into_0rtt() +2786 .ok() +2787 .e()?; +2788 +2789 // This is how we send data in 0-RTT: +2790 let (mut send, recv) = conn.open_bi().await.e()?; +2791 send.write_all(b"hello").await.e()?; +2792 send.finish().e()?; +2793 // When this resolves, we've gotten a response from the server about whether the 0-RTT data above was accepted: +2794 let accepted = accepted_0rtt.await; +2795 assert_eq!(accepted, expect_server_accepts); +2796 let mut recv = if accepted { +2797 recv +2798 } else { +2799 // in this case we need to re-send data by re-creating the connection. +2800 let (mut send, recv) = conn.open_bi().await.e()?; +2801 send.write_all(b"hello").await.e()?; +2802 send.finish().e()?; +2803 recv +2804 }; +2805 let received = recv.read_to_end(1_000).await.e()?; +2806 assert_eq!(&received, b"hello"); +2807 conn.close(0u32.into(), b"thx"); +2808 Ok(()) +2809 } +2810 +2811 #[tokio::test] +2812 #[traced_test] +2813 async fn test_0rtt() -> Result { +2814 let client = Endpoint::builder() +2815 .relay_mode(RelayMode::Disabled) +2816 .bind() +2817 .await?; +2818 let server = spawn_0rtt_server( +2819 SecretKey::generate(rand::thread_rng()), +2820 info_span!("server"), +2821 ) +2822 .await?; +2823 +2824 connect_client_0rtt_expect_err(&client, server.watch_node_addr().initialized().await) +2825 .await?; +2826 // The second 0rtt attempt should work +2827 connect_client_0rtt_expect_ok(&client, server.watch_node_addr().initialized().await, true) +2828 .await?; +2829 +2830 client.close().await; +2831 server.close().await; 2832 -2833 connect_client_0rtt_expect_ok(&client, server.node_addr().initialized().await, true) -2834 .await?; +2833 Ok(()) +2834 } 2835 -2836 client.close().await; -2837 server.close().await; -2838 -2839 Ok(()) -2840 } -2841 -2842 // Test whether 0-RTT is possible after a restart: -2843 #[tokio::test] -2844 #[traced_test] -2845 async fn test_0rtt_after_server_restart() -> Result { -2846 let client = Endpoint::builder() -2847 .relay_mode(RelayMode::Disabled) -2848 .bind() -2849 .await?; -2850 let server_key = SecretKey::generate(rand::thread_rng()); -2851 let server = spawn_0rtt_server(server_key.clone(), info_span!("server-initial")).await?; -2852 -2853 connect_client_0rtt_expect_err(&client, server.node_addr().initialized().await).await?; -2854 connect_client_0rtt_expect_ok(&client, server.node_addr().initialized().await, true) -2855 .await?; -2856 -2857 server.close().await; -2858 -2859 let server = spawn_0rtt_server(server_key, info_span!("server-restart")).await?; -2860 -2861 // we expect the client to *believe* it can 0-RTT connect to the server (hence expect_ok), -2862 // but the server will reject the early data because it discarded necessary state -2863 // to decrypt it when restarting. -2864 connect_client_0rtt_expect_ok(&client, server.node_addr().initialized().await, false) -2865 .await?; -2866 -2867 client.close().await; +2836 // We have this test, as this would've failed at some point. +2837 // This effectively tests that we correctly categorize the TLS session tickets we +2838 // receive into the respective "bucket" for the recipient. +2839 #[tokio::test] +2840 #[traced_test] +2841 async fn test_0rtt_non_consecutive() -> Result { +2842 let client = Endpoint::builder() +2843 .relay_mode(RelayMode::Disabled) +2844 .bind() +2845 .await?; +2846 let server = spawn_0rtt_server( +2847 SecretKey::generate(rand::thread_rng()), +2848 info_span!("server"), +2849 ) +2850 .await?; +2851 +2852 connect_client_0rtt_expect_err(&client, server.watch_node_addr().initialized().await) +2853 .await?; +2854 +2855 // connecting with another endpoint should not interfere with our +2856 // TLS session ticket cache for the first endpoint: +2857 let another = spawn_0rtt_server( +2858 SecretKey::generate(rand::thread_rng()), +2859 info_span!("another"), +2860 ) +2861 .await?; +2862 connect_client_0rtt_expect_err(&client, another.watch_node_addr().initialized().await) +2863 .await?; +2864 another.close().await; +2865 +2866 connect_client_0rtt_expect_ok(&client, server.watch_node_addr().initialized().await, true) +2867 .await?; 2868 -2869 Ok(()) -2870 } +2869 client.close().await; +2870 server.close().await; 2871 -2872 #[cfg_attr(target_os = "windows", ignore = "flaky")] -2873 #[tokio::test] -2874 #[traced_test] -2875 async fn graceful_close() -> Result { -2876 let client = Endpoint::builder().bind().await?; -2877 let server = Endpoint::builder() -2878 .alpns(vec![TEST_ALPN.to_vec()]) -2879 .bind() -2880 .await?; -2881 let server_addr = server.node_addr().initialized().await; -2882 let server_task = tokio::spawn(async move { -2883 let incoming = server.accept().await.e()?; -2884 let conn = incoming.await.e()?; -2885 let (mut send, mut recv) = conn.accept_bi().await.e()?; -2886 let msg = recv.read_to_end(1_000).await.e()?; -2887 send.write_all(&msg).await.e()?; -2888 send.finish().e()?; -2889 let close_reason = conn.closed().await; -2890 Ok::<_, Error>(close_reason) -2891 }); +2872 Ok(()) +2873 } +2874 +2875 // Test whether 0-RTT is possible after a restart: +2876 #[tokio::test] +2877 #[traced_test] +2878 async fn test_0rtt_after_server_restart() -> Result { +2879 let client = Endpoint::builder() +2880 .relay_mode(RelayMode::Disabled) +2881 .bind() +2882 .await?; +2883 let server_key = SecretKey::generate(rand::thread_rng()); +2884 let server = spawn_0rtt_server(server_key.clone(), info_span!("server-initial")).await?; +2885 +2886 connect_client_0rtt_expect_err(&client, server.watch_node_addr().initialized().await) +2887 .await?; +2888 connect_client_0rtt_expect_ok(&client, server.watch_node_addr().initialized().await, true) +2889 .await?; +2890 +2891 server.close().await; 2892 -2893 let conn = client.connect(server_addr, TEST_ALPN).await?; -2894 let (mut send, mut recv) = conn.open_bi().await.e()?; -2895 send.write_all(b"Hello, world!").await.e()?; -2896 send.finish().e()?; -2897 recv.read_to_end(1_000).await.e()?; -2898 conn.close(42u32.into(), b"thanks, bye!"); -2899 client.close().await; +2893 let server = spawn_0rtt_server(server_key, info_span!("server-restart")).await?; +2894 +2895 // we expect the client to *believe* it can 0-RTT connect to the server (hence expect_ok), +2896 // but the server will reject the early data because it discarded necessary state +2897 // to decrypt it when restarting. +2898 connect_client_0rtt_expect_ok(&client, server.watch_node_addr().initialized().await, false) +2899 .await?; 2900 -2901 let close_err = server_task.await.e()??; -2902 let ConnectionError::ApplicationClosed(app_close) = close_err else { -2903 panic!("Unexpected close reason: {close_err:?}"); -2904 }; +2901 client.close().await; +2902 +2903 Ok(()) +2904 } 2905 -2906 assert_eq!(app_close.error_code, 42u32.into()); -2907 assert_eq!(app_close.reason.as_ref(), b"thanks, bye!"); -2908 -2909 Ok(()) -2910 } -2911 -2912 #[cfg(feature = "metrics")] -2913 #[tokio::test] -2914 #[traced_test] -2915 async fn metrics_smoke() -> Result { -2916 use iroh_metrics::{MetricsSource, Registry}; -2917 -2918 let secret_key = SecretKey::from_bytes(&[0u8; 32]); -2919 let client = Endpoint::builder() -2920 .secret_key(secret_key) -2921 .relay_mode(RelayMode::Disabled) -2922 .bind() -2923 .await?; -2924 let secret_key = SecretKey::from_bytes(&[1u8; 32]); -2925 let server = Endpoint::builder() -2926 .secret_key(secret_key) -2927 .relay_mode(RelayMode::Disabled) -2928 .alpns(vec![TEST_ALPN.to_vec()]) -2929 .bind() -2930 .await?; -2931 let server_addr = server.node_addr().initialized().await; -2932 let server_task = tokio::task::spawn(async move { -2933 let conn = server.accept().await.e()?.accept().e()?.await.e()?; -2934 let mut uni = conn.accept_uni().await.e()?; -2935 uni.read_to_end(10).await.e()?; -2936 drop(conn); -2937 Ok::<_, Error>(server) -2938 }); -2939 let conn = client.connect(server_addr, TEST_ALPN).await?; -2940 let mut uni = conn.open_uni().await.e()?; -2941 uni.write_all(b"helloworld").await.e()?; -2942 uni.finish().e()?; -2943 conn.closed().await; -2944 drop(conn); -2945 let server = server_task.await.e()??; -2946 -2947 let m = client.metrics(); -2948 assert_eq!(m.magicsock.num_direct_conns_added.get(), 1); -2949 assert_eq!(m.magicsock.connection_became_direct.get(), 1); -2950 assert_eq!(m.magicsock.connection_handshake_success.get(), 1); -2951 assert_eq!(m.magicsock.nodes_contacted_directly.get(), 1); -2952 assert!(m.magicsock.recv_datagrams.get() > 0); -2953 -2954 let m = server.metrics(); -2955 assert_eq!(m.magicsock.num_direct_conns_added.get(), 1); -2956 assert_eq!(m.magicsock.connection_became_direct.get(), 1); -2957 assert_eq!(m.magicsock.nodes_contacted_directly.get(), 1); -2958 assert_eq!(m.magicsock.connection_handshake_success.get(), 1); -2959 assert!(m.magicsock.recv_datagrams.get() > 0); -2960 -2961 // test openmetrics encoding with labeled subregistries per endpoint -2962 fn register_endpoint(registry: &mut Registry, endpoint: &Endpoint) { -2963 let id = endpoint.node_id().fmt_short(); -2964 let sub_registry = registry.sub_registry_with_label("id", id.to_string()); -2965 sub_registry.register_all(endpoint.metrics()); -2966 } -2967 let mut registry = Registry::default(); -2968 register_endpoint(&mut registry, &client); -2969 register_endpoint(&mut registry, &server); -2970 let s = registry.encode_openmetrics_to_string()?; -2971 assert!(s.contains(r#"magicsock_nodes_contacted_directly_total{id="3b6a27bcce"} 1"#)); -2972 assert!(s.contains(r#"magicsock_nodes_contacted_directly_total{id="8a88e3dd74"} 1"#)); -2973 Ok(()) -2974 } -2975 -2976 /// Configures the accept side to take `accept_alpns` ALPNs, then connects to it with `primary_connect_alpn` -2977 /// with `secondary_connect_alpns` set, and finally returns the negotiated ALPN. -2978 async fn alpn_connection_test( -2979 accept_alpns: Vec<Vec<u8>>, -2980 primary_connect_alpn: &[u8], -2981 secondary_connect_alpns: Vec<Vec<u8>>, -2982 ) -> Result<Option<Vec<u8>>> { -2983 let client = Endpoint::builder() -2984 .relay_mode(RelayMode::Disabled) -2985 .bind() -2986 .await?; -2987 let server = Endpoint::builder() -2988 .relay_mode(RelayMode::Disabled) -2989 .alpns(accept_alpns) -2990 .bind() -2991 .await?; -2992 let server_addr = server.node_addr().initialized().await; -2993 let server_task = tokio::spawn({ -2994 let server = server.clone(); -2995 async move { -2996 let incoming = server.accept().await.e()?; -2997 let conn = incoming.await.e()?; -2998 conn.close(0u32.into(), b"bye!"); -2999 Ok::<_, n0_snafu::Error>(conn.alpn()) -3000 } -3001 }); -3002 -3003 let conn = client -3004 .connect_with_opts( -3005 server_addr, -3006 primary_connect_alpn, -3007 ConnectOptions::new().with_additional_alpns(secondary_connect_alpns), -3008 ) -3009 .await?; -3010 let conn = conn.await.e()?; -3011 let client_alpn = conn.alpn(); -3012 conn.closed().await; -3013 client.close().await; -3014 server.close().await; -3015 -3016 let server_alpn = server_task.await.e()??; -3017 -3018 assert_eq!(client_alpn, server_alpn); -3019 -3020 Ok(server_alpn) -3021 } -3022 -3023 #[tokio::test] -3024 #[traced_test] -3025 async fn connect_multiple_alpn_negotiated() -> Result { -3026 const ALPN_ONE: &[u8] = b"alpn/1"; -3027 const ALPN_TWO: &[u8] = b"alpn/2"; -3028 -3029 assert_eq!( -3030 alpn_connection_test( -3031 // Prefer version 2 over version 1 on the accept side -3032 vec![ALPN_TWO.to_vec(), ALPN_ONE.to_vec()], -3033 ALPN_TWO, -3034 vec![ALPN_ONE.to_vec()], -3035 ) -3036 .await?, -3037 Some(ALPN_TWO.to_vec()), -3038 "accept side prefers version 2 over 1" -3039 ); -3040 -3041 assert_eq!( -3042 alpn_connection_test( -3043 // Only support the old version -3044 vec![ALPN_ONE.to_vec()], -3045 ALPN_TWO, -3046 vec![ALPN_ONE.to_vec()], -3047 ) -3048 .await?, -3049 Some(ALPN_ONE.to_vec()), -3050 "accept side only supports the old version" -3051 ); -3052 -3053 assert_eq!( -3054 alpn_connection_test( -3055 vec![ALPN_TWO.to_vec(), ALPN_ONE.to_vec()], -3056 ALPN_ONE, -3057 vec![ALPN_TWO.to_vec()], -3058 ) -3059 .await?, -3060 Some(ALPN_TWO.to_vec()), -3061 "connect side ALPN order doesn't matter" -3062 ); -3063 -3064 assert_eq!( -3065 alpn_connection_test(vec![ALPN_TWO.to_vec(), ALPN_ONE.to_vec()], ALPN_ONE, vec![],) -3066 .await?, -3067 Some(ALPN_ONE.to_vec()), -3068 "connect side only supports the old version" -3069 ); -3070 -3071 Ok(()) -3072 } -3073 -3074 #[tokio::test] -3075 #[traced_test] -3076 async fn watch_net_report() -> Result { -3077 let endpoint = Endpoint::builder() -3078 .relay_mode(RelayMode::Staging) -3079 .bind() -3080 .await?; -3081 -3082 // can get a first report -3083 endpoint.net_report().updated().await?; -3084 -3085 Ok(()) -3086 } -3087 -3088 /// Tests that initial connection establishment isn't extremely slow compared -3089 /// to subsequent connections. -3090 /// -3091 /// This is a time based test, but uses a very large ratio to reduce flakiness. -3092 /// It also does a number of connections to average out any anomalies. -3093 #[tokio::test] -3094 #[traced_test] -3095 async fn connect_multi_time() -> Result { -3096 let n = 32; +2906 #[cfg_attr(target_os = "windows", ignore = "flaky")] +2907 #[tokio::test] +2908 #[traced_test] +2909 async fn graceful_close() -> Result { +2910 let client = Endpoint::builder().bind().await?; +2911 let server = Endpoint::builder() +2912 .alpns(vec![TEST_ALPN.to_vec()]) +2913 .bind() +2914 .await?; +2915 let server_addr = server.watch_node_addr().initialized().await; +2916 let server_task = tokio::spawn(async move { +2917 let incoming = server.accept().await.e()?; +2918 let conn = incoming.await.e()?; +2919 let (mut send, mut recv) = conn.accept_bi().await.e()?; +2920 let msg = recv.read_to_end(1_000).await.e()?; +2921 send.write_all(&msg).await.e()?; +2922 send.finish().e()?; +2923 let close_reason = conn.closed().await; +2924 Ok::<_, Error>(close_reason) +2925 }); +2926 +2927 let conn = client.connect(server_addr, TEST_ALPN).await?; +2928 let (mut send, mut recv) = conn.open_bi().await.e()?; +2929 send.write_all(b"Hello, world!").await.e()?; +2930 send.finish().e()?; +2931 recv.read_to_end(1_000).await.e()?; +2932 conn.close(42u32.into(), b"thanks, bye!"); +2933 client.close().await; +2934 +2935 let close_err = server_task.await.e()??; +2936 let ConnectionError::ApplicationClosed(app_close) = close_err else { +2937 panic!("Unexpected close reason: {close_err:?}"); +2938 }; +2939 +2940 assert_eq!(app_close.error_code, 42u32.into()); +2941 assert_eq!(app_close.reason.as_ref(), b"thanks, bye!"); +2942 +2943 Ok(()) +2944 } +2945 +2946 #[cfg(feature = "metrics")] +2947 #[tokio::test] +2948 #[traced_test] +2949 async fn metrics_smoke() -> Result { +2950 use iroh_metrics::{MetricsSource, Registry}; +2951 +2952 let secret_key = SecretKey::from_bytes(&[0u8; 32]); +2953 let client = Endpoint::builder() +2954 .secret_key(secret_key) +2955 .relay_mode(RelayMode::Disabled) +2956 .bind() +2957 .await?; +2958 let secret_key = SecretKey::from_bytes(&[1u8; 32]); +2959 let server = Endpoint::builder() +2960 .secret_key(secret_key) +2961 .relay_mode(RelayMode::Disabled) +2962 .alpns(vec![TEST_ALPN.to_vec()]) +2963 .bind() +2964 .await?; +2965 let server_addr = server.watch_node_addr().initialized().await; +2966 let server_task = tokio::task::spawn(async move { +2967 let conn = server.accept().await.e()?.accept().e()?.await.e()?; +2968 let mut uni = conn.accept_uni().await.e()?; +2969 uni.read_to_end(10).await.e()?; +2970 drop(conn); +2971 Ok::<_, Error>(server) +2972 }); +2973 let conn = client.connect(server_addr, TEST_ALPN).await?; +2974 let mut uni = conn.open_uni().await.e()?; +2975 uni.write_all(b"helloworld").await.e()?; +2976 uni.finish().e()?; +2977 conn.closed().await; +2978 drop(conn); +2979 let server = server_task.await.e()??; +2980 +2981 let m = client.metrics(); +2982 assert_eq!(m.magicsock.num_direct_conns_added.get(), 1); +2983 assert_eq!(m.magicsock.connection_became_direct.get(), 1); +2984 assert_eq!(m.magicsock.connection_handshake_success.get(), 1); +2985 assert_eq!(m.magicsock.nodes_contacted_directly.get(), 1); +2986 assert!(m.magicsock.recv_datagrams.get() > 0); +2987 +2988 let m = server.metrics(); +2989 assert_eq!(m.magicsock.num_direct_conns_added.get(), 1); +2990 assert_eq!(m.magicsock.connection_became_direct.get(), 1); +2991 assert_eq!(m.magicsock.nodes_contacted_directly.get(), 1); +2992 assert_eq!(m.magicsock.connection_handshake_success.get(), 1); +2993 assert!(m.magicsock.recv_datagrams.get() > 0); +2994 +2995 // test openmetrics encoding with labeled subregistries per endpoint +2996 fn register_endpoint(registry: &mut Registry, endpoint: &Endpoint) { +2997 let id = endpoint.node_id().fmt_short(); +2998 let sub_registry = registry.sub_registry_with_label("id", id.to_string()); +2999 sub_registry.register_all(endpoint.metrics()); +3000 } +3001 let mut registry = Registry::default(); +3002 register_endpoint(&mut registry, &client); +3003 register_endpoint(&mut registry, &server); +3004 let s = registry.encode_openmetrics_to_string()?; +3005 assert!(s.contains(r#"magicsock_nodes_contacted_directly_total{id="3b6a27bcce"} 1"#)); +3006 assert!(s.contains(r#"magicsock_nodes_contacted_directly_total{id="8a88e3dd74"} 1"#)); +3007 Ok(()) +3008 } +3009 +3010 /// Configures the accept side to take `accept_alpns` ALPNs, then connects to it with `primary_connect_alpn` +3011 /// with `secondary_connect_alpns` set, and finally returns the negotiated ALPN. +3012 async fn alpn_connection_test( +3013 accept_alpns: Vec<Vec<u8>>, +3014 primary_connect_alpn: &[u8], +3015 secondary_connect_alpns: Vec<Vec<u8>>, +3016 ) -> Result<Option<Vec<u8>>> { +3017 let client = Endpoint::builder() +3018 .relay_mode(RelayMode::Disabled) +3019 .bind() +3020 .await?; +3021 let server = Endpoint::builder() +3022 .relay_mode(RelayMode::Disabled) +3023 .alpns(accept_alpns) +3024 .bind() +3025 .await?; +3026 let server_addr = server.watch_node_addr().initialized().await; +3027 let server_task = tokio::spawn({ +3028 let server = server.clone(); +3029 async move { +3030 let incoming = server.accept().await.e()?; +3031 let conn = incoming.await.e()?; +3032 conn.close(0u32.into(), b"bye!"); +3033 Ok::<_, n0_snafu::Error>(conn.alpn()) +3034 } +3035 }); +3036 +3037 let conn = client +3038 .connect_with_opts( +3039 server_addr, +3040 primary_connect_alpn, +3041 ConnectOptions::new().with_additional_alpns(secondary_connect_alpns), +3042 ) +3043 .await?; +3044 let conn = conn.await.e()?; +3045 let client_alpn = conn.alpn(); +3046 conn.closed().await; +3047 client.close().await; +3048 server.close().await; +3049 +3050 let server_alpn = server_task.await.e()??; +3051 +3052 assert_eq!(client_alpn, server_alpn); +3053 +3054 Ok(server_alpn) +3055 } +3056 +3057 #[tokio::test] +3058 #[traced_test] +3059 async fn connect_multiple_alpn_negotiated() -> Result { +3060 const ALPN_ONE: &[u8] = b"alpn/1"; +3061 const ALPN_TWO: &[u8] = b"alpn/2"; +3062 +3063 assert_eq!( +3064 alpn_connection_test( +3065 // Prefer version 2 over version 1 on the accept side +3066 vec![ALPN_TWO.to_vec(), ALPN_ONE.to_vec()], +3067 ALPN_TWO, +3068 vec![ALPN_ONE.to_vec()], +3069 ) +3070 .await?, +3071 Some(ALPN_TWO.to_vec()), +3072 "accept side prefers version 2 over 1" +3073 ); +3074 +3075 assert_eq!( +3076 alpn_connection_test( +3077 // Only support the old version +3078 vec![ALPN_ONE.to_vec()], +3079 ALPN_TWO, +3080 vec![ALPN_ONE.to_vec()], +3081 ) +3082 .await?, +3083 Some(ALPN_ONE.to_vec()), +3084 "accept side only supports the old version" +3085 ); +3086 +3087 assert_eq!( +3088 alpn_connection_test( +3089 vec![ALPN_TWO.to_vec(), ALPN_ONE.to_vec()], +3090 ALPN_ONE, +3091 vec![ALPN_TWO.to_vec()], +3092 ) +3093 .await?, +3094 Some(ALPN_TWO.to_vec()), +3095 "connect side ALPN order doesn't matter" +3096 ); 3097 -3098 const NOOP_ALPN: &[u8] = b"noop"; -3099 -3100 #[derive(Debug, Clone)] -3101 struct Noop; -3102 -3103 impl ProtocolHandler for Noop { -3104 async fn accept(&self, connection: Connection) -> Result<(), AcceptError> { -3105 connection.closed().await; -3106 Ok(()) -3107 } -3108 } -3109 -3110 async fn noop_server() -> Result<(Router, NodeAddr)> { -3111 let endpoint = Endpoint::builder() -3112 .relay_mode(RelayMode::Disabled) -3113 .bind() -3114 .await -3115 .e()?; -3116 let addr = endpoint.node_addr().initialized().await; -3117 let router = Router::builder(endpoint).accept(NOOP_ALPN, Noop).spawn(); -3118 Ok((router, addr)) -3119 } -3120 -3121 let routers = stream::iter(0..n) -3122 .map(|_| noop_server()) -3123 .buffered_unordered(32) -3124 .collect::<Vec<_>>() -3125 .await -3126 .into_iter() -3127 .collect::<Result<Vec<_>, _>>() -3128 .e()?; -3129 -3130 let addrs = routers -3131 .iter() -3132 .map(|(_, addr)| addr.clone()) -3133 .collect::<Vec<_>>(); -3134 let ids = addrs.iter().map(|addr| addr.node_id).collect::<Vec<_>>(); -3135 let discovery = StaticProvider::from_node_info(addrs); -3136 let endpoint = Endpoint::builder() -3137 .relay_mode(RelayMode::Disabled) -3138 .discovery(discovery) -3139 .bind() -3140 .await -3141 .e()?; -3142 // wait for the endpoint to be initialized. This should not be needed, -3143 // but we don't want to measure endpoint init time but connection time -3144 // from a fully initialized endpoint. -3145 endpoint.node_addr().initialized().await; -3146 let t0 = 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 dt0 = t0.elapsed().as_secs_f64(); -3152 let t1 = Instant::now(); -3153 for id in &ids { -3154 let conn = endpoint.connect(*id, NOOP_ALPN).await?; -3155 conn.close(0u32.into(), b"done"); -3156 } -3157 let dt1 = t1.elapsed().as_secs_f64(); -3158 -3159 assert!(dt0 / dt1 < 20.0, "First round: {dt0}s, second round {dt1}s"); -3160 Ok(()) -3161 } -3162}

\ No newline at end of file +3098 assert_eq!( +3099 alpn_connection_test(vec![ALPN_TWO.to_vec(), ALPN_ONE.to_vec()], ALPN_ONE, vec![],) +3100 .await?, +3101 Some(ALPN_ONE.to_vec()), +3102 "connect side only supports the old version" +3103 ); +3104 +3105 Ok(()) +3106 } +3107 +3108 #[tokio::test] +3109 #[traced_test] +3110 async fn watch_net_report() -> Result { +3111 let endpoint = Endpoint::builder() +3112 .relay_mode(RelayMode::Staging) +3113 .bind() +3114 .await?; +3115 +3116 // can get a first report +3117 endpoint.net_report().updated().await?; +3118 +3119 Ok(()) +3120 } +3121 +3122 /// Tests that initial connection establishment isn't extremely slow compared +3123 /// to subsequent connections. +3124 /// +3125 /// This is a time based test, but uses a very large ratio to reduce flakiness. +3126 /// It also does a number of connections to average out any anomalies. +3127 #[tokio::test] +3128 #[traced_test] +3129 async fn connect_multi_time() -> Result { +3130 let n = 32; +3131 +3132 const NOOP_ALPN: &[u8] = b"noop"; +3133 +3134 #[derive(Debug, Clone)] +3135 struct Noop; +3136 +3137 impl ProtocolHandler for Noop { +3138 async fn accept(&self, connection: Connection) -> Result<(), AcceptError> { +3139 connection.closed().await; +3140 Ok(()) +3141 } +3142 } +3143 +3144 async fn noop_server() -> Result<(Router, NodeAddr)> { +3145 let endpoint = Endpoint::builder() +3146 .relay_mode(RelayMode::Disabled) +3147 .bind() +3148 .await +3149 .e()?; +3150 let addr = endpoint.watch_node_addr().initialized().await; +3151 let router = Router::builder(endpoint).accept(NOOP_ALPN, Noop).spawn(); +3152 Ok((router, addr)) +3153 } +3154 +3155 let routers = stream::iter(0..n) +3156 .map(|_| noop_server()) +3157 .buffered_unordered(32) +3158 .collect::<Vec<_>>() +3159 .await +3160 .into_iter() +3161 .collect::<Result<Vec<_>, _>>() +3162 .e()?; +3163 +3164 let addrs = routers +3165 .iter() +3166 .map(|(_, addr)| addr.clone()) +3167 .collect::<Vec<_>>(); +3168 let ids = addrs.iter().map(|addr| addr.node_id).collect::<Vec<_>>(); +3169 let discovery = StaticProvider::from_node_info(addrs); +3170 let endpoint = Endpoint::builder() +3171 .relay_mode(RelayMode::Disabled) +3172 .discovery(discovery) +3173 .bind() +3174 .await +3175 .e()?; +3176 // wait for the endpoint to be initialized. This should not be needed, +3177 // but we don't want to measure endpoint init time but connection time +3178 // from a fully initialized endpoint. +3179 endpoint.watch_node_addr().initialized().await; +3180 let t0 = Instant::now(); +3181 for id in &ids { +3182 let conn = endpoint.connect(*id, NOOP_ALPN).await?; +3183 conn.close(0u32.into(), b"done"); +3184 } +3185 let dt0 = t0.elapsed().as_secs_f64(); +3186 let t1 = Instant::now(); +3187 for id in &ids { +3188 let conn = endpoint.connect(*id, NOOP_ALPN).await?; +3189 conn.close(0u32.into(), b"done"); +3190 } +3191 let dt1 = t1.elapsed().as_secs_f64(); +3192 +3193 assert!(dt0 / dt1 < 20.0, "First round: {dt0}s, second round {dt1}s"); +3194 Ok(()) +3195 } +3196}
\ No newline at end of file diff --git a/pr/3360/docs/src/iroh/magicsock.rs.html b/pr/3360/docs/src/iroh/magicsock.rs.html index 07ab51454f..edc1be4640 100644 --- a/pr/3360/docs/src/iroh/magicsock.rs.html +++ b/pr/3360/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 }; @@ -2640,7 +2640,7 @@ 2640 fn update_direct_addrs( 2641 stacks: &[MagicStack], 2642 my_idx: usize, -2643 new_addrs: BTreeSet<DirectAddr>, +2643 new_addrs: BTreeSet<SocketAddr>, 2644 ) { 2645 let me = &stacks[my_idx]; 2646 for (i, m) in stacks.iter().enumerate() { @@ -2651,7 +2651,7 @@ 2651 let addr = NodeAddr { 2652 node_id: me.public(), 2653 relay_url: None, -2654 direct_addresses: new_addrs.iter().map(|ep| ep.addr).collect(), +2654 direct_addresses: new_addrs.clone(), 2655 }; 2656 m.endpoint.magic_sock().add_test_addr(addr); 2657 } @@ -2665,10 +2665,10 @@ 2665 let stacks = stacks.clone(); 2666 tasks.spawn(async move { 2667 let me = m.endpoint.node_id().fmt_short(); -2668 let mut stream = m.endpoint.direct_addresses().stream().filter_map(|i| i); -2669 while let Some(new_eps) = stream.next().await { -2670 info!(%me, "conn{} endpoints update: {:?}", my_idx + 1, new_eps); -2671 update_direct_addrs(&stacks, my_idx, new_eps); +2668 let mut stream = m.endpoint.watch_node_addr().stream().filter_map(|i| i); +2669 while let Some(addr) = stream.next().await { +2670 info!(%me, "conn{} endpoints update: {:?}", my_idx + 1, addr.direct_addresses); +2671 update_direct_addrs(&stacks, my_idx, addr.direct_addresses); 2672 } 2673 }); 2674 } @@ -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/3360/docs/src/iroh/protocol.rs.html b/pr/3360/docs/src/iroh/protocol.rs.html index 6a92268a0c..f4c8896a26 100644 --- a/pr/3360/docs/src/iroh/protocol.rs.html +++ b/pr/3360/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/3360/docs/src/iroh_bench/iroh.rs.html b/pr/3360/docs/src/iroh_bench/iroh.rs.html index 2514c0406c..83f944a526 100644 --- a/pr/3360/docs/src/iroh_bench/iroh.rs.html +++ b/pr/3360/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/3360/docs/src/iroh_relay/node_info.rs.html b/pr/3360/docs/src/iroh_relay/node_info.rs.html index 1ef137c913..38e8361b1d 100644 --- a/pr/3360/docs/src/iroh_relay/node_info.rs.html +++ b/pr/3360/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