diff --git a/pr/3734/docs/help.html b/pr/3734/docs/help.html index f35afe481b..063ad7103c 100644 --- a/pr/3734/docs/help.html +++ b/pr/3734/docs/help.html @@ -1 +1 @@ -Help

All

Rustdoc help

Back
\ No newline at end of file +Help

All

Rustdoc help

Back
\ No newline at end of file diff --git a/pr/3734/docs/iroh/all.html b/pr/3734/docs/iroh/all.html index c5c8ffedaf..3c3848c87f 100644 --- a/pr/3734/docs/iroh/all.html +++ b/pr/3734/docs/iroh/all.html @@ -1 +1 @@ -List of all items in this crate

All

List of all items

Structs

Enums

Traits

Functions

Type Aliases

Constants

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

All

List of all items

Structs

Enums

Traits

Functions

Type Aliases

Constants

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

NET_REPORT_TIMEOUT

Constant NET_REPORT_TIMEOUT 

Source
pub const NET_REPORT_TIMEOUT: u64 = 5;
Expand description

The maximum amount of time, in seconds, the net_report will spend gathering a single report.

+
\ No newline at end of file diff --git a/pr/3734/docs/iroh/discovery/dns/struct.DnsDiscovery.html b/pr/3734/docs/iroh/discovery/dns/struct.DnsDiscovery.html index 4a8f26f0df..d05a7a6085 100644 --- a/pr/3734/docs/iroh/discovery/dns/struct.DnsDiscovery.html +++ b/pr/3734/docs/iroh/discovery/dns/struct.DnsDiscovery.html @@ -58,5 +58,5 @@ service for testing purposes.

U: TryFrom<T>,
Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/discovery/dns/struct.DnsDiscoveryBuilder.html b/pr/3734/docs/iroh/discovery/dns/struct.DnsDiscoveryBuilder.html index f522be5b33..04a9358c8a 100644 --- a/pr/3734/docs/iroh/discovery/dns/struct.DnsDiscoveryBuilder.html +++ b/pr/3734/docs/iroh/discovery/dns/struct.DnsDiscoveryBuilder.html @@ -34,5 +34,5 @@ U: TryFrom<T>,
Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/discovery/enum.DiscoveryError.html b/pr/3734/docs/iroh/discovery/enum.DiscoveryError.html index 8f0be17c4f..05b592e60a 100644 --- a/pr/3734/docs/iroh/discovery/enum.DiscoveryError.html +++ b/pr/3734/docs/iroh/discovery/enum.DiscoveryError.html @@ -26,7 +26,7 @@ provenance: &'static str, source: impl Into<AnyError>, ) -> Self

Creates a new user error from an arbitrary error type that can be converted into [AnyError].

-

Trait Implementations§

Source§

impl Clone for DiscoveryError

Source§

fn clone(&self) -> DiscoveryError

Returns a duplicate 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 DiscoveryError

Source§

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

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

impl Display for DiscoveryError

Source§

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

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

impl Error for DiscoveryError

Source§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<DiscoveryError> for AnyError

Source§

fn from(value: DiscoveryError) -> AnyError

Converts to this type from the input type.
Source§

impl From<DiscoveryError> for ConnectWithOptsError

Source§

fn from(source: DiscoveryError) -> Self

Converts to this type from the input type.
Source§

impl From<PkarrError> for DiscoveryError

Source§

fn from(err: PkarrError) -> Self

Converts to this type from the input type.
Source§

impl StackError for DiscoveryError

Source§

fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)

Returns this error as a std error reference.
Source§

fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>

Returns this error as a std error.
Source§

fn as_dyn(&self) -> &dyn StackError

Returns this error as a dyn StackError.
Source§

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

Returns the next source in the chain, if any.
Source§

fn meta(&self) -> Option<&Meta>

Returns metadata captured at creation time, if available.
Source§

fn source(&self) -> Option<ErrorRef<'_>>

Returns the next source in the chain, if any.
Source§

fn is_transparent(&self) -> bool

Returns whether this error is transparent and should be skipped in reports.
§

fn as_ref(&self) -> ErrorRef<'_>

Returns this error as an [ErrorRef]. Read more
§

fn stack(&self) -> Chain<'_>

Returns an iterator over this error followed by its sources.
§

fn sources(&self) -> Chain<'_>

Returns an iterator over sources of this error (skipping self).
§

fn report(&self) -> Report<'_>

Returns a [Report] to output the error with configurable formatting.

Auto Trait Implementations§

§

impl Freeze for DiscoveryError

§

impl !RefUnwindSafe for DiscoveryError

§

impl Send for DiscoveryError

§

impl Sync for DiscoveryError

§

impl Unpin for DiscoveryError

§

impl !UnwindSafe for DiscoveryError

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Clone for DiscoveryError

Source§

fn clone(&self) -> DiscoveryError

Returns a duplicate 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 DiscoveryError

Source§

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

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

impl Display for DiscoveryError

Source§

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

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

impl Error for DiscoveryError

Source§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<DiscoveryError> for AnyError

Source§

fn from(value: DiscoveryError) -> AnyError

Converts to this type from the input type.
Source§

impl From<DiscoveryError> for ConnectWithOptsError

Source§

fn from(source: DiscoveryError) -> Self

Converts to this type from the input type.
Source§

impl From<PkarrError> for DiscoveryError

Source§

fn from(err: PkarrError) -> Self

Converts to this type from the input type.
Source§

impl StackError for DiscoveryError

Source§

fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)

Returns this error as a std error reference.
Source§

fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>

Returns this error as a std error.
Source§

fn as_dyn(&self) -> &dyn StackError

Returns this error as a dyn StackError.
Source§

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

Returns the next source in the chain, if any.
Source§

fn meta(&self) -> Option<&Meta>

Returns metadata captured at creation time, if available.
Source§

fn source(&self) -> Option<ErrorRef<'_>>

Returns the next source in the chain, if any.
Source§

fn is_transparent(&self) -> bool

Returns whether this error is transparent and should be skipped in reports.
§

fn as_ref(&self) -> ErrorRef<'_>

Returns this error as an [ErrorRef]. Read more
§

fn stack(&self) -> Chain<'_>

Returns an iterator over this error followed by its sources.
§

fn sources(&self) -> Chain<'_>

Returns an iterator over sources of this error (skipping self).
§

fn report(&self) -> Report<'_>

Returns a [Report] to output the error with configurable formatting.

Auto Trait Implementations§

§

impl Freeze for DiscoveryError

§

impl !RefUnwindSafe for DiscoveryError

§

impl Send for DiscoveryError

§

impl Sync for DiscoveryError

§

impl Unpin for DiscoveryError

§

impl !UnwindSafe for DiscoveryError

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( @@ -63,5 +63,5 @@ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/discovery/enum.IntoDiscoveryError.html b/pr/3734/docs/iroh/discovery/enum.IntoDiscoveryError.html index b3ff028946..9270e9a29a 100644 --- a/pr/3734/docs/iroh/discovery/enum.IntoDiscoveryError.html +++ b/pr/3734/docs/iroh/discovery/enum.IntoDiscoveryError.html @@ -14,7 +14,7 @@ provenance: &'static str, source: Box<dyn Error + Send + Sync + 'static>, ) -> Self

Creates a new user error from an arbitrary boxed error type.

-

Trait Implementations§

Source§

impl Debug for IntoDiscoveryError

Source§

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

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

impl Display for IntoDiscoveryError

Source§

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

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

impl Error for IntoDiscoveryError

Source§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<IntoDiscoveryError> for AnyError

Source§

fn from(value: IntoDiscoveryError) -> AnyError

Converts to this type from the input type.
Source§

impl From<IntoDiscoveryError> for BindError

Source§

fn from(source: IntoDiscoveryError) -> Self

Converts to this type from the input type.
Source§

impl StackError for IntoDiscoveryError

Source§

fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)

Returns this error as a std error reference.
Source§

fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>

Returns this error as a std error.
Source§

fn as_dyn(&self) -> &dyn StackError

Returns this error as a dyn StackError.
Source§

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

Returns the next source in the chain, if any.
Source§

fn meta(&self) -> Option<&Meta>

Returns metadata captured at creation time, if available.
Source§

fn source(&self) -> Option<ErrorRef<'_>>

Returns the next source in the chain, if any.
Source§

fn is_transparent(&self) -> bool

Returns whether this error is transparent and should be skipped in reports.
§

fn as_ref(&self) -> ErrorRef<'_>

Returns this error as an [ErrorRef]. Read more
§

fn stack(&self) -> Chain<'_>

Returns an iterator over this error followed by its sources.
§

fn sources(&self) -> Chain<'_>

Returns an iterator over sources of this error (skipping self).
§

fn report(&self) -> Report<'_>

Returns a [Report] to output the error with configurable formatting.

Auto Trait Implementations§

§

impl Freeze for IntoDiscoveryError

§

impl !RefUnwindSafe for IntoDiscoveryError

§

impl Send for IntoDiscoveryError

§

impl Sync for IntoDiscoveryError

§

impl Unpin for IntoDiscoveryError

§

impl !UnwindSafe for IntoDiscoveryError

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Debug for IntoDiscoveryError

Source§

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

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

impl Display for IntoDiscoveryError

Source§

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

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

impl Error for IntoDiscoveryError

Source§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<IntoDiscoveryError> for AnyError

Source§

fn from(value: IntoDiscoveryError) -> AnyError

Converts to this type from the input type.
Source§

impl From<IntoDiscoveryError> for BindError

Source§

fn from(source: IntoDiscoveryError) -> Self

Converts to this type from the input type.
Source§

impl StackError for IntoDiscoveryError

Source§

fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)

Returns this error as a std error reference.
Source§

fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>

Returns this error as a std error.
Source§

fn as_dyn(&self) -> &dyn StackError

Returns this error as a dyn StackError.
Source§

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

Returns the next source in the chain, if any.
Source§

fn meta(&self) -> Option<&Meta>

Returns metadata captured at creation time, if available.
Source§

fn source(&self) -> Option<ErrorRef<'_>>

Returns the next source in the chain, if any.
Source§

fn is_transparent(&self) -> bool

Returns whether this error is transparent and should be skipped in reports.
§

fn as_ref(&self) -> ErrorRef<'_>

Returns this error as an [ErrorRef]. Read more
§

fn stack(&self) -> Chain<'_>

Returns an iterator over this error followed by its sources.
§

fn sources(&self) -> Chain<'_>

Returns an iterator over sources of this error (skipping self).
§

fn report(&self) -> Report<'_>

Returns a [Report] to output the error with configurable formatting.

Auto Trait Implementations§

§

impl Freeze for IntoDiscoveryError

§

impl !RefUnwindSafe for IntoDiscoveryError

§

impl Send for IntoDiscoveryError

§

impl Sync for IntoDiscoveryError

§

impl Unpin for IntoDiscoveryError

§

impl !UnwindSafe for IntoDiscoveryError

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( @@ -47,5 +47,5 @@ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/discovery/enum.ParseError.html b/pr/3734/docs/iroh/discovery/enum.ParseError.html index dc247d1011..9d399b1521 100644 --- a/pr/3734/docs/iroh/discovery/enum.ParseError.html +++ b/pr/3734/docs/iroh/discovery/enum.ParseError.html @@ -62,5 +62,5 @@ U: TryFrom<T>,
Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/discovery/index.html b/pr/3734/docs/iroh/discovery/index.html index d2c841f780..fc70509831 100644 --- a/pr/3734/docs/iroh/discovery/index.html +++ b/pr/3734/docs/iroh/discovery/index.html @@ -1,4 +1,4 @@ -iroh::discovery - Rust

Module discovery

Module discovery 

Source
Expand description

Endpoint address discovery.

+iroh::discovery - Rust

Module discovery

Module discovery 

Source
Expand description

Endpoint address discovery.

To connect to an iroh endpoint a EndpointAddr is needed, which may contain a RelayUrl or one or more direct addresses in addition to the EndpointId.

Since there is a conversion from EndpointId to EndpointAddr, you can also use diff --git a/pr/3734/docs/iroh/discovery/mdns/enum.DiscoveryEvent.html b/pr/3734/docs/iroh/discovery/mdns/enum.DiscoveryEvent.html index 4625eec081..dcce21a35f 100644 --- a/pr/3734/docs/iroh/discovery/mdns/enum.DiscoveryEvent.html +++ b/pr/3734/docs/iroh/discovery/mdns/enum.DiscoveryEvent.html @@ -51,5 +51,5 @@ and should not be overridden without very good reason.

TryFrom<T>,
Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/discovery/mdns/struct.MdnsDiscovery.html b/pr/3734/docs/iroh/discovery/mdns/struct.MdnsDiscovery.html index 12e1ab780f..2a950f6d0e 100644 --- a/pr/3734/docs/iroh/discovery/mdns/struct.MdnsDiscovery.html +++ b/pr/3734/docs/iroh/discovery/mdns/struct.MdnsDiscovery.html @@ -43,5 +43,5 @@ U: TryFrom<T>,
Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/discovery/mdns/struct.MdnsDiscoveryBuilder.html b/pr/3734/docs/iroh/discovery/mdns/struct.MdnsDiscoveryBuilder.html index aff14b38ab..8df91a2b19 100644 --- a/pr/3734/docs/iroh/discovery/mdns/struct.MdnsDiscoveryBuilder.html +++ b/pr/3734/docs/iroh/discovery/mdns/struct.MdnsDiscoveryBuilder.html @@ -47,5 +47,5 @@ following form, for example: U: TryFrom<T>,
Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/discovery/pkarr/dht/struct.Builder.html b/pr/3734/docs/iroh/discovery/pkarr/dht/struct.Builder.html index 3b0f8be093..47384a1317 100644 --- a/pr/3734/docs/iroh/discovery/pkarr/dht/struct.Builder.html +++ b/pr/3734/docs/iroh/discovery/pkarr/dht/struct.Builder.html @@ -43,5 +43,5 @@ U: TryFrom<T>,
Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/discovery/pkarr/dht/struct.DhtDiscovery.html b/pr/3734/docs/iroh/discovery/pkarr/dht/struct.DhtDiscovery.html index 058b277aed..ab169ec199 100644 --- a/pr/3734/docs/iroh/discovery/pkarr/dht/struct.DhtDiscovery.html +++ b/pr/3734/docs/iroh/discovery/pkarr/dht/struct.DhtDiscovery.html @@ -45,5 +45,5 @@ a background task that periodically publishes the endpoint address.

U: TryFrom<T>,
Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/discovery/pkarr/enum.PkarrError.html b/pr/3734/docs/iroh/discovery/pkarr/enum.PkarrError.html index 974c2556cb..8f5a6cb716 100644 --- a/pr/3734/docs/iroh/discovery/pkarr/enum.PkarrError.html +++ b/pr/3734/docs/iroh/discovery/pkarr/enum.PkarrError.html @@ -67,5 +67,5 @@ U: TryFrom<T>,
Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/discovery/pkarr/struct.PkarrPublisher.html b/pr/3734/docs/iroh/discovery/pkarr/struct.PkarrPublisher.html index a2d6005e70..3cbcb0ecbe 100644 --- a/pr/3734/docs/iroh/discovery/pkarr/struct.PkarrPublisher.html +++ b/pr/3734/docs/iroh/discovery/pkarr/struct.PkarrPublisher.html @@ -59,5 +59,5 @@ server is used instead.

U: TryFrom<T>,
Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/discovery/pkarr/struct.PkarrPublisherBuilder.html b/pr/3734/docs/iroh/discovery/pkarr/struct.PkarrPublisherBuilder.html index e0bbf50686..97ebb9889c 100644 --- a/pr/3734/docs/iroh/discovery/pkarr/struct.PkarrPublisherBuilder.html +++ b/pr/3734/docs/iroh/discovery/pkarr/struct.PkarrPublisherBuilder.html @@ -39,5 +39,5 @@ U: TryFrom<T>,
Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/discovery/pkarr/struct.PkarrRelayClient.html b/pr/3734/docs/iroh/discovery/pkarr/struct.PkarrRelayClient.html index 469d3bbaa1..f11e527011 100644 --- a/pr/3734/docs/iroh/discovery/pkarr/struct.PkarrRelayClient.html +++ b/pr/3734/docs/iroh/discovery/pkarr/struct.PkarrRelayClient.html @@ -45,5 +45,5 @@ U: TryFrom<T>,
Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/discovery/pkarr/struct.PkarrResolver.html b/pr/3734/docs/iroh/discovery/pkarr/struct.PkarrResolver.html index 6d216c410f..24aafcccac 100644 --- a/pr/3734/docs/iroh/discovery/pkarr/struct.PkarrResolver.html +++ b/pr/3734/docs/iroh/discovery/pkarr/struct.PkarrResolver.html @@ -52,5 +52,5 @@ server is used instead.

U: TryFrom<T>,
Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/discovery/pkarr/struct.PkarrResolverBuilder.html b/pr/3734/docs/iroh/discovery/pkarr/struct.PkarrResolverBuilder.html index 7bf48b6055..26d2de4738 100644 --- a/pr/3734/docs/iroh/discovery/pkarr/struct.PkarrResolverBuilder.html +++ b/pr/3734/docs/iroh/discovery/pkarr/struct.PkarrResolverBuilder.html @@ -34,5 +34,5 @@ U: TryFrom<T>,
Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/discovery/static_provider/index.html b/pr/3734/docs/iroh/discovery/static_provider/index.html index 5bf0bd805d..03f564cc63 100644 --- a/pr/3734/docs/iroh/discovery/static_provider/index.html +++ b/pr/3734/docs/iroh/discovery/static_provider/index.html @@ -1,6 +1,6 @@ iroh::discovery::static_provider - Rust

Module static_provider

Module static_provider 

Source
Expand description

A static endpoint discovery to manually add endpoint addressing information.

Often an application might get endpoint addressing information out-of-band in an -application-specific way. EndpointTicket’s are one common way used to achieve this. +application-specific way. EndpointTicket’s are one common way used to achieve this. This “static” addressing information is often only usable for a limited time so needs to be able to be removed again once know it is no longer useful.

This is where the StaticProvider is useful: it allows applications to add and diff --git a/pr/3734/docs/iroh/discovery/static_provider/struct.StaticProvider.html b/pr/3734/docs/iroh/discovery/static_provider/struct.StaticProvider.html index 42f1cbd67a..0e4e7ff4e6 100644 --- a/pr/3734/docs/iroh/discovery/static_provider/struct.StaticProvider.html +++ b/pr/3734/docs/iroh/discovery/static_provider/struct.StaticProvider.html @@ -1,6 +1,6 @@ StaticProvider in iroh::discovery::static_provider - Rust

StaticProvider

Struct StaticProvider 

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

A static endpoint discovery to manually add endpoint addressing information.

Often an application might get endpoint addressing information out-of-band in an -application-specific way. EndpointTicket’s are one common way used to achieve this. +application-specific way. EndpointTicket’s are one common way used to achieve this. This “static” addressing information is often only usable for a limited time so needs to be able to be removed again once know it is no longer useful.

This is where the StaticProvider is useful: it allows applications to add and @@ -105,5 +105,5 @@ relay URL is overwritten.

U: TryFrom<T>,
Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/discovery/struct.ConcurrentDiscovery.html b/pr/3734/docs/iroh/discovery/struct.ConcurrentDiscovery.html index 0c592cc230..d45214e587 100644 --- a/pr/3734/docs/iroh/discovery/struct.ConcurrentDiscovery.html +++ b/pr/3734/docs/iroh/discovery/struct.ConcurrentDiscovery.html @@ -49,5 +49,5 @@ U: TryFrom<T>,
Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/discovery/struct.DiscoveryItem.html b/pr/3734/docs/iroh/discovery/struct.DiscoveryItem.html index a1528ae9e1..e5e49fc503 100644 --- a/pr/3734/docs/iroh/discovery/struct.DiscoveryItem.html +++ b/pr/3734/docs/iroh/discovery/struct.DiscoveryItem.html @@ -64,5 +64,5 @@ and should not be overridden without very good reason.TryFrom<T>,
Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/discovery/struct.EndpointData.html b/pr/3734/docs/iroh/discovery/struct.EndpointData.html index 3ca7e35a9d..9203dc49fd 100644 --- a/pr/3734/docs/iroh/discovery/struct.EndpointData.html +++ b/pr/3734/docs/iroh/discovery/struct.EndpointData.html @@ -55,5 +55,5 @@ and should not be overridden without very good reason.TryFrom<T>,
Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/discovery/struct.EndpointInfo.html b/pr/3734/docs/iroh/discovery/struct.EndpointInfo.html index 73f4fc85eb..ad6b383e63 100644 --- a/pr/3734/docs/iroh/discovery/struct.EndpointInfo.html +++ b/pr/3734/docs/iroh/discovery/struct.EndpointInfo.html @@ -75,5 +75,5 @@ and should not be overridden without very good reason.TryFrom<T>,
Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/discovery/struct.UserData.html b/pr/3734/docs/iroh/discovery/struct.UserData.html index 576f3ec4f9..855c317358 100644 --- a/pr/3734/docs/iroh/discovery/struct.UserData.html +++ b/pr/3734/docs/iroh/discovery/struct.UserData.html @@ -60,5 +60,5 @@ the >= operator. TryFrom<T>,
Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/dns/struct.DnsResolver.html b/pr/3734/docs/iroh/dns/struct.DnsResolver.html index 024863aeb3..4f5cf9359b 100644 --- a/pr/3734/docs/iroh/dns/struct.DnsResolver.html +++ b/pr/3734/docs/iroh/dns/struct.DnsResolver.html @@ -142,5 +142,5 @@ The return type is a future containing an iterator of SocketAddr. < U: TryFrom<T>,
Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/quic/struct.RetryError.html b/pr/3734/docs/iroh/endpoint/connection/struct.RetryError.html similarity index 100% rename from pr/3734/docs/iroh/endpoint/quic/struct.RetryError.html rename to pr/3734/docs/iroh/endpoint/connection/struct.RetryError.html diff --git a/pr/3734/docs/iroh/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html b/pr/3734/docs/iroh/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html index 5674ef8b7a..e5e95e8762 100644 --- a/pr/3734/docs/iroh/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html +++ b/pr/3734/docs/iroh/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html @@ -1,2 +1,2 @@ -ENV_FORCE_STAGING_RELAYS in iroh::endpoint - Rust

ENV_FORCE_STAGING_RELAYS

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

ENV_FORCE_STAGING_RELAYS

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/3734/docs/iroh/endpoint/enum.AfterHandshakeOutcome.html b/pr/3734/docs/iroh/endpoint/enum.AfterHandshakeOutcome.html index 1d5552eba7..17a37c392a 100644 --- a/pr/3734/docs/iroh/endpoint/enum.AfterHandshakeOutcome.html +++ b/pr/3734/docs/iroh/endpoint/enum.AfterHandshakeOutcome.html @@ -1,4 +1,4 @@ -AfterHandshakeOutcome in iroh::endpoint - Rust

AfterHandshakeOutcome

Enum AfterHandshakeOutcome 

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

AfterHandshakeOutcome

Enum AfterHandshakeOutcome 

Source
pub enum AfterHandshakeOutcome {
     Accept,
     Reject {
         error_code: VarInt,
@@ -10,9 +10,9 @@
 

See Connection::close for details on error_code and reason.

Fields

§error_code: VarInt

Error code to send with the connection close frame.

§reason: Vec<u8>

Close reason to send with the connection close frame.

-

Implementations§

Source§

impl AfterHandshakeOutcome

Source

pub fn accept() -> Self

Returns Self::Accept.

-
Source

pub fn reject(&self, error_code: VarInt, reason: &[u8]) -> Self

Returns Self::Reject.

-

Trait Implementations§

Source§

impl Debug for AfterHandshakeOutcome

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 +

Implementations§

Source§

impl AfterHandshakeOutcome

Source

pub fn accept() -> Self

Returns Self::Accept.

+
Source

pub fn reject(&self, error_code: VarInt, reason: &[u8]) -> Self

Returns Self::Reject.

+

Trait Implementations§

Source§

impl Debug for AfterHandshakeOutcome

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Freeze for AfterHandshakeOutcome

§

impl RefUnwindSafe for AfterHandshakeOutcome

§

impl Send for AfterHandshakeOutcome

§

impl Sync for AfterHandshakeOutcome

§

impl Unpin for AfterHandshakeOutcome

§

impl UnwindSafe for AfterHandshakeOutcome

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( @@ -41,5 +41,5 @@ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/enum.AlpnError.html b/pr/3734/docs/iroh/endpoint/enum.AlpnError.html index 166ec1d0a1..b210f465ec 100644 --- a/pr/3734/docs/iroh/endpoint/enum.AlpnError.html +++ b/pr/3734/docs/iroh/endpoint/enum.AlpnError.html @@ -1,4 +1,4 @@ -AlpnError in iroh::endpoint - Rust

AlpnError

Enum AlpnError 

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

AlpnError

Enum AlpnError 

Source
#[non_exhaustive]
pub enum AlpnError { ConnectionError { source: ConnectionError, meta: Meta, @@ -12,7 +12,7 @@ }

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

§meta: Meta

Captured call-site metadata

§

Unavailable

Fields

§meta: Meta

Captured call-site metadata

§

UnknownHandshake

Fields

§meta: Meta

Captured call-site metadata

-

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, f: &mut Formatter<'_>) -> Result

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

impl Error for AlpnError

Source§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<AlpnError> for AnyError

Source§

fn from(value: AlpnError) -> AnyError

Converts to this type from the input type.
Source§

impl From<ConnectionError> for AlpnError

Source§

fn from(source: ConnectionError) -> Self

Converts to this type from the input type.
Source§

impl StackError for AlpnError

Source§

fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)

Returns this error as a std error reference.
Source§

fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>

Returns this error as a std error.
Source§

fn as_dyn(&self) -> &dyn StackError

Returns this error as a dyn StackError.
Source§

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

Returns the next source in the chain, if any.
Source§

fn meta(&self) -> Option<&Meta>

Returns metadata captured at creation time, if available.
Source§

fn source(&self) -> Option<ErrorRef<'_>>

Returns the next source in the chain, if any.
Source§

fn is_transparent(&self) -> bool

Returns whether this error is transparent and should be skipped in reports.
§

fn as_ref(&self) -> ErrorRef<'_>

Returns this error as an [ErrorRef]. Read more
§

fn stack(&self) -> Chain<'_>

Returns an iterator over this error followed by its sources.
§

fn sources(&self) -> Chain<'_>

Returns an iterator over sources of this error (skipping self).
§

fn report(&self) -> Report<'_>

Returns a [Report] to output the error with configurable formatting.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

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, f: &mut Formatter<'_>) -> Result

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

impl Error for AlpnError

Source§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<AlpnError> for AnyError

Source§

fn from(value: AlpnError) -> AnyError

Converts to this type from the input type.
Source§

impl From<ConnectionError> for AlpnError

Source§

fn from(source: ConnectionError) -> Self

Converts to this type from the input type.
Source§

impl StackError for AlpnError

Source§

fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)

Returns this error as a std error reference.
Source§

fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>

Returns this error as a std error.
Source§

fn as_dyn(&self) -> &dyn StackError

Returns this error as a dyn StackError.
Source§

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

Returns the next source in the chain, if any.
Source§

fn meta(&self) -> Option<&Meta>

Returns metadata captured at creation time, if available.
Source§

fn source(&self) -> Option<ErrorRef<'_>>

Returns the next source in the chain, if any.
Source§

fn is_transparent(&self) -> bool

Returns whether this error is transparent and should be skipped in reports.
§

fn as_ref(&self) -> ErrorRef<'_>

Returns this error as an [ErrorRef]. Read more
§

fn stack(&self) -> Chain<'_>

Returns an iterator over this error followed by its sources.
§

fn sources(&self) -> Chain<'_>

Returns an iterator over sources of this error (skipping self).
§

fn report(&self) -> Report<'_>

Returns a [Report] to output the error with configurable formatting.

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( @@ -45,5 +45,5 @@ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/enum.AuthenticationError.html b/pr/3734/docs/iroh/endpoint/enum.AuthenticationError.html index b03f34d7c2..9f9da8a0df 100644 --- a/pr/3734/docs/iroh/endpoint/enum.AuthenticationError.html +++ b/pr/3734/docs/iroh/endpoint/enum.AuthenticationError.html @@ -1,4 +1,4 @@ -AuthenticationError in iroh::endpoint - Rust

AuthenticationError

Enum AuthenticationError 

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

AuthenticationError

Enum AuthenticationError 

Source
#[non_exhaustive]
pub enum AuthenticationError { RemoteId { source: RemoteEndpointIdError, meta: Meta, @@ -8,7 +8,7 @@ }, }

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

RemoteId

Fields

§meta: Meta

Captured call-site metadata

§

NoAlpn

Fields

§meta: Meta

Captured call-site metadata

-

Trait Implementations§

Source§

impl Clone for AuthenticationError

Source§

fn clone(&self) -> AuthenticationError

Returns a duplicate 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 AuthenticationError

Source§

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

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

impl Display for AuthenticationError

Source§

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

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

impl Error for AuthenticationError

Source§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<AuthenticationError> for AnyError

Source§

fn from(value: AuthenticationError) -> AnyError

Converts to this type from the input type.
Source§

impl From<AuthenticationError> for ConnectingError

Source§

fn from(source: AuthenticationError) -> Self

Converts to this type from the input type.
Source§

impl From<RemoteEndpointIdError> for AuthenticationError

Source§

fn from(source: RemoteEndpointIdError) -> Self

Converts to this type from the input type.
Source§

impl StackError for AuthenticationError

Source§

fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)

Returns this error as a std error reference.
Source§

fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>

Returns this error as a std error.
Source§

fn as_dyn(&self) -> &dyn StackError

Returns this error as a dyn StackError.
Source§

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

Returns the next source in the chain, if any.
Source§

fn meta(&self) -> Option<&Meta>

Returns metadata captured at creation time, if available.
Source§

fn source(&self) -> Option<ErrorRef<'_>>

Returns the next source in the chain, if any.
Source§

fn is_transparent(&self) -> bool

Returns whether this error is transparent and should be skipped in reports.
§

fn as_ref(&self) -> ErrorRef<'_>

Returns this error as an [ErrorRef]. Read more
§

fn stack(&self) -> Chain<'_>

Returns an iterator over this error followed by its sources.
§

fn sources(&self) -> Chain<'_>

Returns an iterator over sources of this error (skipping self).
§

fn report(&self) -> Report<'_>

Returns a [Report] to output the error with configurable formatting.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Clone for AuthenticationError

Source§

fn clone(&self) -> AuthenticationError

Returns a duplicate 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 AuthenticationError

Source§

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

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

impl Display for AuthenticationError

Source§

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

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

impl Error for AuthenticationError

Source§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<AuthenticationError> for AnyError

Source§

fn from(value: AuthenticationError) -> AnyError

Converts to this type from the input type.
Source§

impl From<AuthenticationError> for ConnectingError

Source§

fn from(source: AuthenticationError) -> Self

Converts to this type from the input type.
Source§

impl From<RemoteEndpointIdError> for AuthenticationError

Source§

fn from(source: RemoteEndpointIdError) -> Self

Converts to this type from the input type.
Source§

impl StackError for AuthenticationError

Source§

fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)

Returns this error as a std error reference.
Source§

fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>

Returns this error as a std error.
Source§

fn as_dyn(&self) -> &dyn StackError

Returns this error as a dyn StackError.
Source§

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

Returns the next source in the chain, if any.
Source§

fn meta(&self) -> Option<&Meta>

Returns metadata captured at creation time, if available.
Source§

fn source(&self) -> Option<ErrorRef<'_>>

Returns the next source in the chain, if any.
Source§

fn is_transparent(&self) -> bool

Returns whether this error is transparent and should be skipped in reports.
§

fn as_ref(&self) -> ErrorRef<'_>

Returns this error as an [ErrorRef]. Read more
§

fn stack(&self) -> Chain<'_>

Returns an iterator over this error followed by its sources.
§

fn sources(&self) -> Chain<'_>

Returns an iterator over sources of this error (skipping self).
§

fn report(&self) -> Report<'_>

Returns a [Report] to output the error with configurable formatting.

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( @@ -45,5 +45,5 @@ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/enum.BeforeConnectOutcome.html b/pr/3734/docs/iroh/endpoint/enum.BeforeConnectOutcome.html index 2b4feb90d7..a96b954880 100644 --- a/pr/3734/docs/iroh/endpoint/enum.BeforeConnectOutcome.html +++ b/pr/3734/docs/iroh/endpoint/enum.BeforeConnectOutcome.html @@ -1,10 +1,10 @@ -BeforeConnectOutcome in iroh::endpoint - Rust

BeforeConnectOutcome

Enum BeforeConnectOutcome 

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

BeforeConnectOutcome

Enum BeforeConnectOutcome 

Source
pub enum BeforeConnectOutcome {
     Accept,
     Reject,
 }
Expand description

Variants§

§

Accept

Accept the connect attempt.

§

Reject

Reject the connect attempt.

-

Trait Implementations§

Source§

impl Debug for BeforeConnectOutcome

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Debug for BeforeConnectOutcome

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( @@ -33,5 +33,5 @@ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/enum.BindError.html b/pr/3734/docs/iroh/endpoint/enum.BindError.html index 9df4958ed0..aa61597b10 100644 --- a/pr/3734/docs/iroh/endpoint/enum.BindError.html +++ b/pr/3734/docs/iroh/endpoint/enum.BindError.html @@ -1,4 +1,4 @@ -BindError in iroh::endpoint - Rust

BindError

Enum BindError 

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

BindError

Enum BindError 

Source
#[non_exhaustive]
pub enum BindError { MagicSpawn { source: CreateHandleError, meta: Meta, @@ -9,7 +9,7 @@ }, }

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
§meta: Meta

Captured call-site metadata

§

Discovery

Fields

§meta: Meta

Captured call-site metadata

-

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, f: &mut Formatter<'_>) -> Result

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

impl Error for BindError

Source§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<BindError> for AnyError

Source§

fn from(value: BindError) -> AnyError

Converts to this type from the input type.
Source§

impl From<IntoDiscoveryError> for BindError

Source§

fn from(source: IntoDiscoveryError) -> Self

Converts to this type from the input type.
Source§

impl StackError for BindError

Source§

fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)

Returns this error as a std error reference.
Source§

fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>

Returns this error as a std error.
Source§

fn as_dyn(&self) -> &dyn StackError

Returns this error as a dyn StackError.
Source§

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

Returns the next source in the chain, if any.
Source§

fn meta(&self) -> Option<&Meta>

Returns metadata captured at creation time, if available.
Source§

fn source(&self) -> Option<ErrorRef<'_>>

Returns the next source in the chain, if any.
Source§

fn is_transparent(&self) -> bool

Returns whether this error is transparent and should be skipped in reports.
§

fn as_ref(&self) -> ErrorRef<'_>

Returns this error as an [ErrorRef]. Read more
§

fn stack(&self) -> Chain<'_>

Returns an iterator over this error followed by its sources.
§

fn sources(&self) -> Chain<'_>

Returns an iterator over sources of this error (skipping self).
§

fn report(&self) -> Report<'_>

Returns a [Report] to output the error with configurable formatting.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

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, f: &mut Formatter<'_>) -> Result

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

impl Error for BindError

Source§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<BindError> for AnyError

Source§

fn from(value: BindError) -> AnyError

Converts to this type from the input type.
Source§

impl From<IntoDiscoveryError> for BindError

Source§

fn from(source: IntoDiscoveryError) -> Self

Converts to this type from the input type.
Source§

impl StackError for BindError

Source§

fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)

Returns this error as a std error reference.
Source§

fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>

Returns this error as a std error.
Source§

fn as_dyn(&self) -> &dyn StackError

Returns this error as a dyn StackError.
Source§

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

Returns the next source in the chain, if any.
Source§

fn meta(&self) -> Option<&Meta>

Returns metadata captured at creation time, if available.
Source§

fn source(&self) -> Option<ErrorRef<'_>>

Returns the next source in the chain, if any.
Source§

fn is_transparent(&self) -> bool

Returns whether this error is transparent and should be skipped in reports.
§

fn as_ref(&self) -> ErrorRef<'_>

Returns this error as an [ErrorRef]. Read more
§

fn stack(&self) -> Chain<'_>

Returns an iterator over this error followed by its sources.
§

fn sources(&self) -> Chain<'_>

Returns an iterator over sources of this error (skipping self).
§

fn report(&self) -> Report<'_>

Returns a [Report] to output the error with configurable formatting.

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( @@ -42,5 +42,5 @@ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/enum.ConnectError.html b/pr/3734/docs/iroh/endpoint/enum.ConnectError.html index 5125cc9b67..2e658058ae 100644 --- a/pr/3734/docs/iroh/endpoint/enum.ConnectError.html +++ b/pr/3734/docs/iroh/endpoint/enum.ConnectError.html @@ -1,4 +1,4 @@ -ConnectError in iroh::endpoint - Rust

ConnectError

Enum ConnectError 

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

ConnectError

Enum ConnectError 

Source
#[non_exhaustive]
pub enum ConnectError { Connect { source: ConnectWithOptsError, meta: Meta, @@ -14,7 +14,7 @@ }

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

§meta: Meta

Captured call-site metadata

§

Connecting

Fields

§meta: Meta

Captured call-site metadata

§

Connection

Fields

§meta: Meta

Captured call-site metadata

-

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, f: &mut Formatter<'_>) -> Result

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

impl Error for ConnectError

Source§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<ConnectError> for AnyError

Source§

fn from(value: ConnectError) -> AnyError

Converts to this type from the input type.
Source§

impl From<ConnectWithOptsError> for ConnectError

Source§

fn from(source: ConnectWithOptsError) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectingError> for ConnectError

Source§

fn from(source: ConnectingError) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectionError> for ConnectError

Source§

fn from(source: ConnectionError) -> Self

Converts to this type from the input type.
Source§

impl StackError for ConnectError

Source§

fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)

Returns this error as a std error reference.
Source§

fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>

Returns this error as a std error.
Source§

fn as_dyn(&self) -> &dyn StackError

Returns this error as a dyn StackError.
Source§

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

Returns the next source in the chain, if any.
Source§

fn meta(&self) -> Option<&Meta>

Returns metadata captured at creation time, if available.
Source§

fn source(&self) -> Option<ErrorRef<'_>>

Returns the next source in the chain, if any.
Source§

fn is_transparent(&self) -> bool

Returns whether this error is transparent and should be skipped in reports.
§

fn as_ref(&self) -> ErrorRef<'_>

Returns this error as an [ErrorRef]. Read more
§

fn stack(&self) -> Chain<'_>

Returns an iterator over this error followed by its sources.
§

fn sources(&self) -> Chain<'_>

Returns an iterator over sources of this error (skipping self).
§

fn report(&self) -> Report<'_>

Returns a [Report] to output the error with configurable formatting.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

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, f: &mut Formatter<'_>) -> Result

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

impl Error for ConnectError

Source§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<ConnectError> for AnyError

Source§

fn from(value: ConnectError) -> AnyError

Converts to this type from the input type.
Source§

impl From<ConnectWithOptsError> for ConnectError

Source§

fn from(source: ConnectWithOptsError) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectingError> for ConnectError

Source§

fn from(source: ConnectingError) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectionError> for ConnectError

Source§

fn from(source: ConnectionError) -> Self

Converts to this type from the input type.
Source§

impl StackError for ConnectError

Source§

fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)

Returns this error as a std error reference.
Source§

fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>

Returns this error as a std error.
Source§

fn as_dyn(&self) -> &dyn StackError

Returns this error as a dyn StackError.
Source§

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

Returns the next source in the chain, if any.
Source§

fn meta(&self) -> Option<&Meta>

Returns metadata captured at creation time, if available.
Source§

fn source(&self) -> Option<ErrorRef<'_>>

Returns the next source in the chain, if any.
Source§

fn is_transparent(&self) -> bool

Returns whether this error is transparent and should be skipped in reports.
§

fn as_ref(&self) -> ErrorRef<'_>

Returns this error as an [ErrorRef]. Read more
§

fn stack(&self) -> Chain<'_>

Returns an iterator over this error followed by its sources.
§

fn sources(&self) -> Chain<'_>

Returns an iterator over sources of this error (skipping self).
§

fn report(&self) -> Report<'_>

Returns a [Report] to output the error with configurable formatting.

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( @@ -47,5 +47,5 @@ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/enum.ConnectWithOptsError.html b/pr/3734/docs/iroh/endpoint/enum.ConnectWithOptsError.html index d27d8bb5e6..be5c5de03c 100644 --- a/pr/3734/docs/iroh/endpoint/enum.ConnectWithOptsError.html +++ b/pr/3734/docs/iroh/endpoint/enum.ConnectWithOptsError.html @@ -1,4 +1,4 @@ -ConnectWithOptsError in iroh::endpoint - Rust

ConnectWithOptsError

Enum ConnectWithOptsError 

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

ConnectWithOptsError

Enum ConnectWithOptsError 

Source
#[non_exhaustive]
pub enum ConnectWithOptsError { SelfConnect { meta: Meta, }, @@ -7,7 +7,7 @@ meta: Meta, }, Quinn { - source: ConnectError, + source: QuicConnectError, meta: Meta, }, InternalConsistencyError { @@ -19,11 +19,11 @@ }, }

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

SelfConnect

Fields

§meta: Meta

Captured call-site metadata

§

NoAddress

Fields

§meta: Meta

Captured call-site metadata

-
§

Quinn

Fields

§source: ConnectError
§meta: Meta

Captured call-site metadata

+
§

Quinn

Fields

§meta: Meta

Captured call-site metadata

§

InternalConsistencyError

Fields

§source: RemoteStateActorStoppedError

Private source type, cannot be created publicly.

§meta: Meta

Captured call-site metadata

§

LocallyRejected

Fields

§meta: Meta

Captured call-site metadata

-

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, f: &mut Formatter<'_>) -> Result

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

impl Error for ConnectWithOptsError

Source§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<ConnectError> for ConnectWithOptsError

Source§

fn from(source: ConnectError) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectWithOptsError> for AnyError

Source§

fn from(value: ConnectWithOptsError) -> AnyError

Converts to this type from the input type.
Source§

impl From<ConnectWithOptsError> for ConnectError

Source§

fn from(source: ConnectWithOptsError) -> Self

Converts to this type from the input type.
Source§

impl From<DiscoveryError> for ConnectWithOptsError

Source§

fn from(source: DiscoveryError) -> Self

Converts to this type from the input type.
Source§

impl StackError for ConnectWithOptsError

Source§

fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)

Returns this error as a std error reference.
Source§

fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>

Returns this error as a std error.
Source§

fn as_dyn(&self) -> &dyn StackError

Returns this error as a dyn StackError.
Source§

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

Returns the next source in the chain, if any.
Source§

fn meta(&self) -> Option<&Meta>

Returns metadata captured at creation time, if available.
Source§

fn source(&self) -> Option<ErrorRef<'_>>

Returns the next source in the chain, if any.
Source§

fn is_transparent(&self) -> bool

Returns whether this error is transparent and should be skipped in reports.
§

fn as_ref(&self) -> ErrorRef<'_>

Returns this error as an [ErrorRef]. Read more
§

fn stack(&self) -> Chain<'_>

Returns an iterator over this error followed by its sources.
§

fn sources(&self) -> Chain<'_>

Returns an iterator over sources of this error (skipping self).
§

fn report(&self) -> Report<'_>

Returns a [Report] to output the error with configurable formatting.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

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, f: &mut Formatter<'_>) -> Result

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

impl Error for ConnectWithOptsError

Source§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<ConnectError> for ConnectWithOptsError

Source§

fn from(source: QuicConnectError) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectWithOptsError> for AnyError

Source§

fn from(value: ConnectWithOptsError) -> AnyError

Converts to this type from the input type.
Source§

impl From<ConnectWithOptsError> for ConnectError

Source§

fn from(source: ConnectWithOptsError) -> Self

Converts to this type from the input type.
Source§

impl From<DiscoveryError> for ConnectWithOptsError

Source§

fn from(source: DiscoveryError) -> Self

Converts to this type from the input type.
Source§

impl StackError for ConnectWithOptsError

Source§

fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)

Returns this error as a std error reference.
Source§

fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>

Returns this error as a std error.
Source§

fn as_dyn(&self) -> &dyn StackError

Returns this error as a dyn StackError.
Source§

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

Returns the next source in the chain, if any.
Source§

fn meta(&self) -> Option<&Meta>

Returns metadata captured at creation time, if available.
Source§

fn source(&self) -> Option<ErrorRef<'_>>

Returns the next source in the chain, if any.
Source§

fn is_transparent(&self) -> bool

Returns whether this error is transparent and should be skipped in reports.
§

fn as_ref(&self) -> ErrorRef<'_>

Returns this error as an [ErrorRef]. Read more
§

fn stack(&self) -> Chain<'_>

Returns an iterator over this error followed by its sources.
§

fn sources(&self) -> Chain<'_>

Returns an iterator over sources of this error (skipping self).
§

fn report(&self) -> Report<'_>

Returns a [Report] to output the error with configurable formatting.

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( @@ -56,5 +56,5 @@ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/enum.ConnectingError.html b/pr/3734/docs/iroh/endpoint/enum.ConnectingError.html index 31237c9eb4..2b3759a150 100644 --- a/pr/3734/docs/iroh/endpoint/enum.ConnectingError.html +++ b/pr/3734/docs/iroh/endpoint/enum.ConnectingError.html @@ -1,4 +1,4 @@ -ConnectingError in iroh::endpoint - Rust

ConnectingError

Enum ConnectingError 

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

ConnectingError

Enum ConnectingError 

Source
#[non_exhaustive]
pub enum ConnectingError { ConnectionError { source: ConnectionError, meta: Meta, @@ -19,7 +19,7 @@
§

InternalConsistencyError

Fields

§source: RemoteStateActorStoppedError

Private source type, cannot be created publicly.

§meta: Meta

Captured call-site metadata

§

LocallyRejected

Fields

§meta: Meta

Captured call-site metadata

-

Trait Implementations§

Source§

impl Clone for ConnectingError

Source§

fn clone(&self) -> ConnectingError

Returns a duplicate 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 ConnectingError

Source§

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

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

impl Display for ConnectingError

Source§

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

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

impl Error for ConnectingError

Source§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<AuthenticationError> for ConnectingError

Source§

fn from(source: AuthenticationError) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectingError> for AcceptError

Source§

fn from(source: ConnectingError) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectingError> for AnyError

Source§

fn from(value: ConnectingError) -> AnyError

Converts to this type from the input type.
Source§

impl From<ConnectingError> for ConnectError

Source§

fn from(source: ConnectingError) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectionError> for ConnectingError

Source§

fn from(source: ConnectionError) -> Self

Converts to this type from the input type.
Source§

impl StackError for ConnectingError

Source§

fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)

Returns this error as a std error reference.
Source§

fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>

Returns this error as a std error.
Source§

fn as_dyn(&self) -> &dyn StackError

Returns this error as a dyn StackError.
Source§

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

Returns the next source in the chain, if any.
Source§

fn meta(&self) -> Option<&Meta>

Returns metadata captured at creation time, if available.
Source§

fn source(&self) -> Option<ErrorRef<'_>>

Returns the next source in the chain, if any.
Source§

fn is_transparent(&self) -> bool

Returns whether this error is transparent and should be skipped in reports.
§

fn as_ref(&self) -> ErrorRef<'_>

Returns this error as an [ErrorRef]. Read more
§

fn stack(&self) -> Chain<'_>

Returns an iterator over this error followed by its sources.
§

fn sources(&self) -> Chain<'_>

Returns an iterator over sources of this error (skipping self).
§

fn report(&self) -> Report<'_>

Returns a [Report] to output the error with configurable formatting.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Clone for ConnectingError

Source§

fn clone(&self) -> ConnectingError

Returns a duplicate 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 ConnectingError

Source§

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

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

impl Display for ConnectingError

Source§

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

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

impl Error for ConnectingError

Source§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<AuthenticationError> for ConnectingError

Source§

fn from(source: AuthenticationError) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectingError> for AcceptError

Source§

fn from(source: ConnectingError) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectingError> for AnyError

Source§

fn from(value: ConnectingError) -> AnyError

Converts to this type from the input type.
Source§

impl From<ConnectingError> for ConnectError

Source§

fn from(source: ConnectingError) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectionError> for ConnectingError

Source§

fn from(source: ConnectionError) -> Self

Converts to this type from the input type.
Source§

impl StackError for ConnectingError

Source§

fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)

Returns this error as a std error reference.
Source§

fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>

Returns this error as a std error.
Source§

fn as_dyn(&self) -> &dyn StackError

Returns this error as a dyn StackError.
Source§

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

Returns the next source in the chain, if any.
Source§

fn meta(&self) -> Option<&Meta>

Returns metadata captured at creation time, if available.
Source§

fn source(&self) -> Option<ErrorRef<'_>>

Returns the next source in the chain, if any.
Source§

fn is_transparent(&self) -> bool

Returns whether this error is transparent and should be skipped in reports.
§

fn as_ref(&self) -> ErrorRef<'_>

Returns this error as an [ErrorRef]. Read more
§

fn stack(&self) -> Chain<'_>

Returns an iterator over this error followed by its sources.
§

fn sources(&self) -> Chain<'_>

Returns an iterator over sources of this error (skipping self).
§

fn report(&self) -> Report<'_>

Returns a [Report] to output the error with configurable formatting.

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( @@ -56,5 +56,5 @@ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/enum.ConnectionError.html b/pr/3734/docs/iroh/endpoint/enum.ConnectionError.html index 5006f992ba..a1ebb635d3 100644 --- a/pr/3734/docs/iroh/endpoint/enum.ConnectionError.html +++ b/pr/3734/docs/iroh/endpoint/enum.ConnectionError.html @@ -1,4 +1,4 @@ -ConnectionError in iroh::endpoint - Rust

ConnectionError

Enum ConnectionError 

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

ConnectionError

Enum ConnectionError 

pub enum ConnectionError {
     VersionMismatch,
     TransportError(Error),
     ConnectionClosed(ConnectionClose),
@@ -7,7 +7,8 @@
     TimedOut,
     LocallyClosed,
     CidsExhausted,
-}
Expand description

Reasons why a connection might be lost

+}
Expand description

quinn types that are used in the public iroh API. +Reasons why a connection might be lost

Variants§

§

VersionMismatch

The peer doesn’t implement any supported version

§

TransportError(Error)

The peer violated the QUIC specification as understood by this implementation

§

ConnectionClosed(ConnectionClose)

The peer’s QUIC stack aborted the connection automatically

@@ -20,7 +21,7 @@ and [TransportConfig::keep_alive_interval()].

§

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 duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
§

impl Debug for ConnectionError

§

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

Formats the value using the given formatter. Read more
§

impl Display for ConnectionError

§

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

Formats the value using the given formatter. Read more
§

impl Error for ConnectionError

§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<Close> for ConnectionError

§

fn from(x: Close) -> ConnectionError

Converts to this type from the input type.
§

impl From<CloseReason> for ConnectionError

§

fn from(value: CloseReason) -> ConnectionError

Converts to this type from the input type.
Source§

impl From<ConnectionError> for AcceptError

Source§

fn from(source: ConnectionError) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectionError> for AlpnError

Source§

fn from(source: ConnectionError) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectionError> for ConnectError

Source§

fn from(source: ConnectionError) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectionError> for ConnectingError

Source§

fn from(source: 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 duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
§

impl Debug for ConnectionError

§

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

Formats the value using the given formatter. Read more
§

impl Display for ConnectionError

§

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

Formats the value using the given formatter. Read more
§

impl Error for ConnectionError

§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<Close> for ConnectionError

§

fn from(x: Close) -> ConnectionError

Converts to this type from the input type.
§

impl From<CloseReason> for ConnectionError

§

fn from(value: CloseReason) -> ConnectionError

Converts to this type from the input type.
Source§

impl From<ConnectionError> for AcceptError

Source§

fn from(source: ConnectionError) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectionError> for AlpnError

Source§

fn from(source: ConnectionError) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectionError> for ConnectError

Source§

fn from(source: ConnectionError) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectionError> for ConnectingError

Source§

fn from(source: 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<'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 @@ -61,5 +62,5 @@ and should not be overridden without very good reason.

TryFrom<T>,
Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/net_report/enum.Probe.html b/pr/3734/docs/iroh/endpoint/enum.Dir.html similarity index 70% rename from pr/3734/docs/iroh/net_report/enum.Probe.html rename to pr/3734/docs/iroh/endpoint/enum.Dir.html index 44410c7a8b..2debb9d8b9 100644 --- a/pr/3734/docs/iroh/net_report/enum.Probe.html +++ b/pr/3734/docs/iroh/endpoint/enum.Dir.html @@ -1,19 +1,21 @@ -Probe in iroh::net_report - Rust

Probe

Enum Probe 

Source
#[repr(u8)]
pub enum Probe { - Https = 0, - QadIpv4 = 1, - QadIpv6 = 2, -}
Expand description

The protocol used to time an endpoint’s latency.

-

Variants§

§

Https = 0

HTTPS

-
§

QadIpv4 = 1

Available on non-wasm_browser only.

QUIC Address Discovery Ipv4

-
§

QadIpv6 = 2

Available on non-wasm_browser only.

QUIC Address Discovery Ipv6

-

Trait Implementations§

Source§

impl Clone for Probe

Source§

fn clone(&self) -> Probe

Returns a duplicate 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 Probe

Source§

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

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

impl Display for Probe

Source§

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

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

impl Ord for Probe

Source§

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

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

fn max(self, other: Self) -> Self
where +Dir in iroh::endpoint - Rust

Dir

Enum Dir 

pub enum Dir {
+    Bi = 0,
+    Uni = 1,
+}
Expand description

quinn types that are used in the public iroh API. +Whether a stream communicates data in both directions or only from the initiator

+

Variants§

§

Bi = 0

Data flows in both directions

+
§

Uni = 1

Data flows only from the stream’s initiator

+

Trait Implementations§

§

impl Clone for Dir

§

fn clone(&self) -> Dir

Returns a duplicate 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 Dir

§

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

Formats the value using the given formatter. Read more
§

impl Display for Dir

§

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

Formats the value using the given formatter. Read more
§

impl Hash for Dir

§

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

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

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

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

impl Ord for Dir

§

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

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

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

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

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

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

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

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

impl PartialEq for Probe

Source§

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

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

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

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

impl PartialOrd for Probe

Source§

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

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

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

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

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

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

Restrict a value to a certain interval. Read more
§

impl PartialEq for Dir

§

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

§

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

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

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

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

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

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

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

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

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

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

impl Copy for Probe

Source§

impl Eq for Probe

Source§

impl StructuralPartialEq for Probe

Auto Trait Implementations§

§

impl Freeze for Probe

§

impl RefUnwindSafe for Probe

§

impl Send for Probe

§

impl Sync for Probe

§

impl Unpin for Probe

§

impl UnwindSafe for Probe

Blanket Implementations§

Source§

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

§

impl Copy for Dir

§

impl Eq for Dir

§

impl StructuralPartialEq for Dir

Auto Trait Implementations§

§

impl Freeze for Dir

§

impl RefUnwindSafe for Dir

§

impl Send for Dir

§

impl Sync for Dir

§

impl Unpin for Dir

§

impl UnwindSafe for Dir

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( @@ -55,5 +57,5 @@ the >= operator. TryFrom<T>,

Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/enum.DirectAddrType.html b/pr/3734/docs/iroh/endpoint/enum.DirectAddrType.html index 79918383df..642ae1a11f 100644 --- a/pr/3734/docs/iroh/endpoint/enum.DirectAddrType.html +++ b/pr/3734/docs/iroh/endpoint/enum.DirectAddrType.html @@ -1,4 +1,4 @@ -DirectAddrType in iroh::endpoint - Rust

DirectAddrType

Enum DirectAddrType 

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

DirectAddrType

Enum DirectAddrType 

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

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

-

Trait Implementations§

Source§

impl Clone for DirectAddrType

Source§

fn clone(&self) -> DirectAddrType

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

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

Performs copy-assignment from source. Read more
Source§

impl Debug for DirectAddrType

Source§

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

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

impl Display for DirectAddrType

Source§

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

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

impl Hash for DirectAddrType

Source§

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

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

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

Trait Implementations§

Source§

impl Clone for DirectAddrType

Source§

fn clone(&self) -> DirectAddrType

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

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

Performs copy-assignment from source. Read more
Source§

impl Debug for DirectAddrType

Source§

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

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

impl Display for DirectAddrType

Source§

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

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

impl Hash for DirectAddrType

Source§

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

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

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

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

impl Ord for DirectAddrType

Source§

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

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

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

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

impl Ord for DirectAddrType

Source§

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

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

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

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

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

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

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

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

impl PartialEq for DirectAddrType

Source§

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

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

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

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

impl PartialOrd for DirectAddrType

Source§

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

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

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

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

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

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

impl PartialEq for DirectAddrType

Source§

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

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

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

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

impl PartialOrd for DirectAddrType

Source§

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

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

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

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

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

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

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

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

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

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

impl Copy for DirectAddrType

Source§

impl Eq for DirectAddrType

Source§

impl StructuralPartialEq for DirectAddrType

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

impl Copy for DirectAddrType

Source§

impl Eq for DirectAddrType

Source§

impl StructuralPartialEq for DirectAddrType

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( @@ -71,5 +71,5 @@ the >= operator. TryFrom<T>,

Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/enum.FrameType.html b/pr/3734/docs/iroh/endpoint/enum.FrameType.html new file mode 100644 index 0000000000..80614ee896 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/enum.FrameType.html @@ -0,0 +1,92 @@ +FrameType in iroh::endpoint - Rust

FrameType

Enum FrameType 

pub enum FrameType {
+
Show 44 variants Padding, + Ping, + Ack, + AckEcn, + ResetStream, + StopSending, + Crypto, + NewToken, + Stream(StreamInfo), + MaxData, + MaxStreamData, + MaxStreamsBidi, + MaxStreamsUni, + DataBlocked, + StreamDataBlocked, + StreamsBlockedBidi, + StreamsBlockedUni, + NewConnectionId, + RetireConnectionId, + PathChallenge, + PathResponse, + ConnectionClose, + ApplicationClose, + HandshakeDone, + AckFrequency, + ImmediateAck, + Datagram(DatagramInfo), + ObservedIpv4Addr, + ObservedIpv6Addr, + PathAck, + PathAckEcn, + PathAbandon, + PathStatusBackup, + PathStatusAvailable, + PathNewConnectionId, + PathRetireConnectionId, + MaxPathId, + PathsBlocked, + PathCidsBlocked, + AddIpv4Address, + AddIpv6Address, + ReachOutAtIpv4, + ReachOutAtIpv6, + RemoveAddress, +
}
Expand description

quinn_proto types that are used in the public iroh API. +A QUIC frame type

+

Variants§

§

Padding

§

Ping

§

Ack

§

AckEcn

§

ResetStream

§

StopSending

§

Crypto

§

NewToken

§

Stream(StreamInfo)

§

MaxData

§

MaxStreamData

§

MaxStreamsBidi

§

MaxStreamsUni

§

DataBlocked

§

StreamDataBlocked

§

StreamsBlockedBidi

§

StreamsBlockedUni

§

NewConnectionId

§

RetireConnectionId

§

PathChallenge

§

PathResponse

§

ConnectionClose

§

ApplicationClose

§

HandshakeDone

§

AckFrequency

§

ImmediateAck

§

Datagram(DatagramInfo)

§

ObservedIpv4Addr

§

ObservedIpv6Addr

§

PathAck

§

PathAckEcn

§

PathAbandon

§

PathStatusBackup

§

PathStatusAvailable

§

PathNewConnectionId

§

PathRetireConnectionId

§

MaxPathId

§

PathsBlocked

§

PathCidsBlocked

§

AddIpv4Address

§

AddIpv6Address

§

ReachOutAtIpv4

§

ReachOutAtIpv6

§

RemoveAddress

Trait Implementations§

§

impl Clone for FrameType

§

fn clone(&self) -> FrameType

Returns a duplicate 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 FrameType

§

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

Formats the value using the given formatter. Read more
§

impl Decodable for FrameType

§

fn decode<B>(buf: &mut B) -> Result<FrameType, UnexpectedEnd>
where + B: Buf,

Decode a Self from the provided buffer, if the buffer is large enough
§

impl Display for FrameType

§

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

Formats the value using the given formatter. Read more
§

impl Encodable for FrameType

§

fn encode<B>(&self, buf: &mut B)
where + B: BufMut,

Append the encoding of self to the provided buffer.
§

impl PartialEq for FrameType

§

fn eq(&self, other: &FrameType) -> 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 TryFrom<u64> for FrameType

§

type Error = InvalidFrameId

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

fn try_from(value: u64) -> Result<FrameType, <FrameType as TryFrom<u64>>::Error>

Performs the conversion.
§

impl Copy for FrameType

§

impl Eq for FrameType

§

impl StructuralPartialEq for FrameType

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

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

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

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

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. Read more
Source§

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

Source§

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

§

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

§

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

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

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

§

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

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

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

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

§

fn from_ref(input: &T) -> T

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

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

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

Source§

fn into(self) -> U

Calls U::from(self).

+

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

+
§

impl<T> Pointable for T

§

const ALIGN: usize

The alignment of pointer.
§

type Init = T

The type for initializers.
§

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

Initializes a with the given initializer. Read more
§

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

Dereferences the given pointer. Read more
§

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

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

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

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

§

fn and<P, B, E>(self, other: P) -> And<T, P>
where + T: Policy<B, E>, + P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] only if self and other return +Action::Follow. Read more
§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where + T: Policy<B, E>, + P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] if either self or other returns +Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

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

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

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

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<T> ToStringFallible for T
where + T: Display,

§

fn try_to_string(&self) -> Result<String, TryReserveError>

ToString::to_string, but without panic on OOM.

+
Source§

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

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

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

Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/enum.QuicConnectError.html b/pr/3734/docs/iroh/endpoint/enum.QuicConnectError.html new file mode 100644 index 0000000000..94c7692e2b --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/enum.QuicConnectError.html @@ -0,0 +1,63 @@ +QuicConnectError in iroh::endpoint - Rust

QuicConnectError

Enum QuicConnectError 

pub enum QuicConnectError {
+    EndpointStopping,
+    CidsExhausted,
+    InvalidServerName(String),
+    InvalidRemoteAddress(SocketAddr),
+    NoDefaultClientConfig,
+    UnsupportedVersion,
+}
Expand description

quinn_proto types that are used in the public iroh API. +Errors in the parameters being used to create a new connection

+

These arise before any I/O has been performed.

+

Variants§

§

EndpointStopping

The endpoint can no longer create new connections

+

Indicates that a necessary component of the endpoint has been dropped or otherwise disabled.

+
§

CidsExhausted

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

+

Try using longer connection IDs

+
§

InvalidServerName(String)

The given server name was malformed

+
§

InvalidRemoteAddress(SocketAddr)

The remote SocketAddr supplied was malformed

+

Examples include attempting to connect to port 0, or using an inappropriate address family.

+
§

NoDefaultClientConfig

No default client configuration was set up

+

Use Endpoint::connect_with to specify a client configuration.

+
§

UnsupportedVersion

The local endpoint does not support the QUIC version specified in the client configuration

+

Trait Implementations§

§

impl Clone for ConnectError

§

fn clone(&self) -> ConnectError

Returns a duplicate 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 ConnectError

§

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

Formats the value using the given formatter. Read more
§

impl Display for ConnectError

§

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

Formats the value using the given formatter. Read more
§

impl Error for ConnectError

1.30.0 · Source§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<ConnectError> for ConnectWithOptsError

Source§

fn from(source: QuicConnectError) -> Self

Converts to this type from the input type.
§

impl From<UnsupportedVersion> for ConnectError

§

fn from(_: UnsupportedVersion) -> ConnectError

Converts to this type from the input type.
§

impl PartialEq for ConnectError

§

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

§

impl StructuralPartialEq for ConnectError

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

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

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

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

impl<T> CompatExt for T

§

fn compat(self) -> Compat<T>

Applies the [Compat] adapter by value. Read more
§

fn compat_ref(&self) -> Compat<&T>

Applies the [Compat] adapter by shared reference. Read more
§

fn compat_mut(&mut self) -> Compat<&mut T>

Applies the [Compat] adapter by mutable reference. Read more
Source§

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

Source§

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

§

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

§

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

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

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

§

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

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

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§

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

§

fn from_ref(input: &T) -> T

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

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

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

Source§

fn into(self) -> U

Calls U::from(self).

+

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

+
§

impl<T> Pointable for T

§

const ALIGN: usize

The alignment of pointer.
§

type Init = T

The type for initializers.
§

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

Initializes a with the given initializer. Read more
§

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

Dereferences the given pointer. Read more
§

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

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

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

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

§

fn and<P, B, E>(self, other: P) -> And<T, P>
where + T: Policy<B, E>, + P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] only if self and other return +Action::Follow. Read more
§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where + T: Policy<B, E>, + P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] if either self or other returns +Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

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

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

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

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<T> ToStringFallible for T
where + T: Display,

§

fn try_to_string(&self) -> Result<String, TryReserveError>

ToString::to_string, but without panic on OOM.

+
Source§

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

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

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

Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/enum.ReadError.html b/pr/3734/docs/iroh/endpoint/enum.ReadError.html index 0c4d7a00e9..d98f363f9b 100644 --- a/pr/3734/docs/iroh/endpoint/enum.ReadError.html +++ b/pr/3734/docs/iroh/endpoint/enum.ReadError.html @@ -1,21 +1,18 @@ -ReadError in iroh::endpoint - Rust

ReadError

Enum ReadError 

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

ReadError

Enum ReadError 

pub enum ReadError {
     Reset(VarInt),
     ConnectionLost(ConnectionError),
     ClosedStream,
-    IllegalOrderedRead,
     ZeroRttRejected,
-}
Expand description

Errors that arise from reading from a stream.

+}
Expand description

quinn types that are used in the public iroh API. +Errors that arise from reading from a stream.

Variants§

§

Reset(VarInt)

The peer abandoned transmitting data on this stream

Carries an application-defined error code.

§

ConnectionLost(ConnectionError)

The connection was lost

§

ClosedStream

The stream has already been stopped, finished, or reset

-
§

IllegalOrderedRead

Attempted an ordered read following an unordered read

-

Performing an unordered read allows discontinuities to arise in the receive buffer of a -stream which cannot be recovered, making further ordered reads impossible.

§

ZeroRttRejected

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

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

-

Trait Implementations§

§

impl Clone for ReadError

§

fn clone(&self) -> ReadError

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

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

Performs copy-assignment from source. Read more
§

impl Debug for ReadError

§

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

Formats the value using the given formatter. Read more
§

impl Display for ReadError

§

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

Formats the value using the given formatter. Read more
§

impl Error for ReadError

§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<ConnectionError> for ReadError

§

fn from(source: ConnectionError) -> ReadError

Converts to this type from the input type.
§

impl From<ReadError> for ReadExactError

§

fn from(source: ReadError) -> ReadExactError

Converts to this type from the input type.
§

impl From<ReadError> for ReadToEndError

§

fn from(source: ReadError) -> ReadToEndError

Converts to this type from the input type.
§

impl From<ReadableError> for ReadError

§

fn from(e: ReadableError) -> ReadError

Converts to this type from the input type.
§

impl From<ResetError> for ReadError

§

fn from(e: ResetError) -> ReadError

Converts to this type from the input type.
§

impl PartialEq for ReadError

§

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

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

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

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

Trait Implementations§

§

impl Clone for ReadError

§

fn clone(&self) -> ReadError

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

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

Performs copy-assignment from source. Read more
§

impl Debug for ReadError

§

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

Formats the value using the given formatter. Read more
§

impl Display for ReadError

§

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

Formats the value using the given formatter. Read more
§

impl Error for ReadError

§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<ConnectionError> for ReadError

§

fn from(source: ConnectionError) -> ReadError

Converts to this type from the input type.
§

impl From<ReadError> for ReadExactError

§

fn from(source: ReadError) -> ReadExactError

Converts to this type from the input type.
§

impl From<ReadError> for ReadToEndError

§

fn from(source: ReadError) -> ReadToEndError

Converts to this type from the input type.
§

impl From<ResetError> for ReadError

§

fn from(e: ResetError) -> ReadError

Converts to this type from the input type.
§

impl PartialEq for ReadError

§

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

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

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

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

impl Eq for ReadError

§

impl StructuralPartialEq for ReadError

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where @@ -32,7 +29,7 @@ and should not be overridden without very good reason.

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

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

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

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

§

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

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

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

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

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

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

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

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

§

fn from_ref(input: &T) -> T

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

impl<T> Instrument for T

§

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

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

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an @@ -56,5 +53,5 @@ and should not be overridden without very good reason.
TryFrom<T>,
Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/enum.ReadExactError.html b/pr/3734/docs/iroh/endpoint/enum.ReadExactError.html index 11c75f9985..ccdcb0fc2e 100644 --- a/pr/3734/docs/iroh/endpoint/enum.ReadExactError.html +++ b/pr/3734/docs/iroh/endpoint/enum.ReadExactError.html @@ -1,7 +1,8 @@ -ReadExactError in iroh::endpoint - Rust

ReadExactError

Enum ReadExactError 

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

ReadExactError

Enum ReadExactError 

pub enum ReadExactError {
     FinishedEarly(usize),
     ReadError(ReadError),
-}
Expand description

Errors that arise from reading from a stream.

+}
Expand description

quinn types that are used in the public iroh API. +Errors that arise from reading from a stream.

Variants§

§

FinishedEarly(usize)

The stream finished before all bytes were read

§

ReadError(ReadError)

A read error occurred

Trait Implementations§

§

impl Clone for ReadExactError

§

fn clone(&self) -> ReadExactError

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

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

Performs copy-assignment from source. Read more
§

impl Debug for ReadExactError

§

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

Formats the value using the given formatter. Read more
§

impl Display for ReadExactError

§

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

Formats the value using the given formatter. Read more
§

impl Error for ReadExactError

§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<ReadError> for ReadExactError

§

fn from(source: ReadError) -> ReadExactError

Converts to this type from the input type.
§

impl PartialEq for ReadExactError

§

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

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

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

Tests for !=. The default implementation is almost always sufficient, @@ -45,5 +46,5 @@ and should not be overridden without very good reason.
TryFrom<T>,
Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/enum.ReadToEndError.html b/pr/3734/docs/iroh/endpoint/enum.ReadToEndError.html index 8cd3d9ec84..1d26886b68 100644 --- a/pr/3734/docs/iroh/endpoint/enum.ReadToEndError.html +++ b/pr/3734/docs/iroh/endpoint/enum.ReadToEndError.html @@ -1,7 +1,8 @@ -ReadToEndError in iroh::endpoint - Rust

ReadToEndError

Enum ReadToEndError 

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

ReadToEndError

Enum ReadToEndError 

pub enum ReadToEndError {
     Read(ReadError),
     TooLong,
-}
Expand description
Expand description

quinn types that are used in the public iroh API. +Errors from RecvStream::read_to_end

Variants§

§

Read(ReadError)

An error occurred during reading

§

TooLong

The stream is larger than the user-supplied limit

Trait Implementations§

§

impl Clone for ReadToEndError

§

fn clone(&self) -> ReadToEndError

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

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

Performs copy-assignment from source. Read more
§

impl Debug for ReadToEndError

§

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

Formats the value using the given formatter. Read more
§

impl Display for ReadToEndError

§

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

Formats the value using the given formatter. Read more
§

impl Error for ReadToEndError

§

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

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

fn description(&self) -> &str

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

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

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

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

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

impl From<ReadError> for ReadToEndError

§

fn from(source: ReadError) -> ReadToEndError

Converts to this type from the input type.
§

impl PartialEq for ReadToEndError

§

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

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

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

Tests for !=. The default implementation is almost always sufficient, @@ -45,5 +46,5 @@ and should not be overridden without very good reason.
TryFrom<T>,
Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/enum.RelayMode.html b/pr/3734/docs/iroh/endpoint/enum.RelayMode.html index b256ed65a2..82ce605cd3 100644 --- a/pr/3734/docs/iroh/endpoint/enum.RelayMode.html +++ b/pr/3734/docs/iroh/endpoint/enum.RelayMode.html @@ -1,4 +1,4 @@ -RelayMode in iroh::endpoint - Rust

RelayMode

Enum RelayMode 

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

RelayMode

Enum RelayMode 

Source
pub enum RelayMode {
     Disabled,
     Default,
     Staging,
@@ -10,14 +10,14 @@ This means that neither listening nor dialing relays will be available.

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.

-
Source

pub fn custom(map: impl IntoIterator<Item = RelayUrl>) -> Self

Create a custom relay mode from a list of RelayUrls.

+

Implementations§

Source§

impl RelayMode

Source

pub fn relay_map(&self) -> RelayMap

Returns the relay map for this mode.

+
Source

pub fn custom(map: impl IntoIterator<Item = RelayUrl>) -> Self

Create a custom relay mode from a list of RelayUrls.

§Example
RelayMode::custom([
     "https://use1-1.relay.n0.iroh-canary.iroh.link.".parse()?,
     "https://euw-1.relay.n0.iroh-canary.iroh.link.".parse()?,
-]);

Trait Implementations§

Source§

impl Clone for RelayMode

Source§

fn clone(&self) -> RelayMode

Returns a duplicate 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 From<RelayMode> for Option<TransportConfig>

Source§

fn from(mode: RelayMode) -> Self

Converts to this type from the input type.
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 +]);

Trait Implementations§

Source§

impl Clone for RelayMode

Source§

fn clone(&self) -> RelayMode

Returns a duplicate 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 From<RelayMode> for Option<TransportConfig>

Source§

fn from(mode: RelayMode) -> Self

Converts to this type from the input type.
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( @@ -54,5 +54,5 @@ and should not be overridden without very good reason.

TryFrom<T>,
Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/enum.ResetError.html b/pr/3734/docs/iroh/endpoint/enum.ResetError.html index 96944e4c00..83c9114c1d 100644 --- a/pr/3734/docs/iroh/endpoint/enum.ResetError.html +++ b/pr/3734/docs/iroh/endpoint/enum.ResetError.html @@ -1,7 +1,8 @@ -ResetError in iroh::endpoint - Rust

ResetError

Enum ResetError 

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

ResetError

Enum ResetError 

pub enum ResetError {
     ConnectionLost(ConnectionError),
     ZeroRttRejected,
-}
Expand description

Errors that arise while waiting for a stream to be reset

+}
Expand description

quinn types that are used in the public iroh API. +Errors that arise while waiting for a stream to be reset

Variants§

§

ConnectionLost(ConnectionError)

The connection was lost

§

ZeroRttRejected

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

Can only occur on clients for 0-RTT streams, which can be opened using @@ -47,5 +48,5 @@ and should not be overridden without very good reason.

TryFrom<T>,
Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/enum.SendDatagramError.html b/pr/3734/docs/iroh/endpoint/enum.SendDatagramError.html index df82394065..be93cc3cd8 100644 --- a/pr/3734/docs/iroh/endpoint/enum.SendDatagramError.html +++ b/pr/3734/docs/iroh/endpoint/enum.SendDatagramError.html @@ -1,9 +1,10 @@ -SendDatagramError in iroh::endpoint - Rust

SendDatagramError

Enum SendDatagramError 

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

SendDatagramError

Enum SendDatagramError 

pub enum SendDatagramError {
     UnsupportedByPeer,
     Disabled,
     TooLarge,
     ConnectionLost(ConnectionError),
-}
Expand description

Errors that can arise when sending a datagram

+}
Expand description

quinn types that are used in the public iroh API. +Errors that can arise when sending a datagram

Variants§

§

UnsupportedByPeer

The peer does not support receiving datagram frames

§

Disabled

Datagram support is disabled locally

§

TooLarge

The datagram is larger than the connection can currently accommodate

@@ -51,5 +52,5 @@ and should not be overridden without very good reason.
TryFrom<T>,
Source§

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

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

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

Performs the conversion.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/enum.Side.html b/pr/3734/docs/iroh/endpoint/enum.Side.html index fa20a0ef4e..36023d0bce 100644 --- a/pr/3734/docs/iroh/endpoint/enum.Side.html +++ b/pr/3734/docs/iroh/endpoint/enum.Side.html @@ -1,7 +1,8 @@ -Side in iroh::endpoint - Rust

Side

Enum Side 

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

Side

Enum Side 

pub enum Side {
     Client = 0,
     Server = 1,
-}
Expand description

Whether an endpoint was the initiator of a connection

+}
Expand description

quinn types that are used in the public iroh API. +Whether an endpoint was the initiator of a connection

Variants§

§

Client = 0

The initiator of a connection

§

Server = 1

The acceptor of a connection

Implementations§

§

impl Side

pub fn is_client(self) -> bool

Shorthand for self == Side::Client

@@ -55,5 +56,5 @@ the >= operator. TryFrom<T>,
Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/enum.Source.html b/pr/3734/docs/iroh/endpoint/enum.Source.html index e27bf980b3..10317ed690 100644 --- a/pr/3734/docs/iroh/endpoint/enum.Source.html +++ b/pr/3734/docs/iroh/endpoint/enum.Source.html @@ -1,4 +1,4 @@ -Source in iroh::endpoint - Rust

Source

Enum Source 

Source
pub enum Source {
+Source in iroh::endpoint - Rust

Source

Enum Source 

Source
pub enum Source {
     Udp,
     Relay,
     App,
@@ -37,12 +37,12 @@ address through multiple means.

Fields

§_0: Private

private marker

§

Connection

We established a connection on this address.

Fields

§_0: Private

private marker

-

Trait Implementations§

Source§

impl Clone for Source

Source§

fn clone(&self) -> Source

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Source

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Source

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for Source

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Hash for Source

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where +

Trait Implementations§

Source§

impl Clone for Source

Source§

fn clone(&self) -> Source

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Source

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Source

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for Source

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Hash for Source

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for Source

Source§

fn eq(&self, other: &Source) -> bool

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 Serialize for Source

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for Source

Source§

impl StructuralPartialEq for Source

Auto Trait Implementations§

§

impl Freeze for Source

§

impl RefUnwindSafe for Source

§

impl Send for Source

§

impl Sync for Source

§

impl Unpin for Source

§

impl UnwindSafe for Source

Blanket Implementations§

Source§

impl<T> Any for T
where + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for Source

Source§

fn eq(&self, other: &Source) -> bool

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 Serialize for Source

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for Source

Source§

impl StructuralPartialEq for Source

Auto Trait Implementations§

§

impl Freeze for Source

§

impl RefUnwindSafe for Source

§

impl Send for Source

§

impl Sync for Source

§

impl Unpin for Source

§

impl UnwindSafe for Source

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( @@ -82,6 +82,6 @@ and should not be overridden without very good reason.

TryFrom<T>,
Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/enum.StoppedError.html b/pr/3734/docs/iroh/endpoint/enum.StoppedError.html index e68b94619f..de0a325a76 100644 --- a/pr/3734/docs/iroh/endpoint/enum.StoppedError.html +++ b/pr/3734/docs/iroh/endpoint/enum.StoppedError.html @@ -1,7 +1,8 @@ -StoppedError in iroh::endpoint - Rust

StoppedError

Enum StoppedError 

pub enum StoppedError {
+StoppedError in iroh::endpoint - Rust

StoppedError

Enum StoppedError 

pub enum StoppedError {
     ConnectionLost(ConnectionError),
     ZeroRttRejected,
-}
Expand description

Errors that arise while monitoring for a send stream stop from the peer

+}
Expand description

quinn types that are used in the public iroh API. +Errors that arise while monitoring for a send stream stop from the peer

Variants§

§

ConnectionLost(ConnectionError)

The connection was lost

§

ZeroRttRejected

This was a 0-RTT stream and the server rejected it

Can only occur on clients for 0-RTT streams, which can be opened using @@ -47,5 +48,5 @@ and should not be overridden without very good reason.

TryFrom<T>,
Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/net_report/struct.QuicConfig.html b/pr/3734/docs/iroh/endpoint/enum.TransportAddrUsage.html similarity index 67% rename from pr/3734/docs/iroh/net_report/struct.QuicConfig.html rename to pr/3734/docs/iroh/endpoint/enum.TransportAddrUsage.html index 6e43ad1676..76905c8524 100644 --- a/pr/3734/docs/iroh/net_report/struct.QuicConfig.html +++ b/pr/3734/docs/iroh/endpoint/enum.TransportAddrUsage.html @@ -1,14 +1,10 @@ -QuicConfig in iroh::net_report - Rust

QuicConfig

Struct QuicConfig 

Source
pub struct QuicConfig {
-    pub ep: Endpoint,
-    pub client_config: ClientConfig,
-    pub ipv4: bool,
-    pub ipv6: bool,
-}
Expand description

Pieces needed to do QUIC address discovery.

-

Fields§

§ep: Endpoint

A QUIC Endpoint

-
§client_config: ClientConfig

A client config.

-
§ipv4: bool

Enable ipv4 QUIC address discovery probes

-
§ipv6: bool

Enable ipv6 QUIC address discovery probes

-

Trait Implementations§

Source§

impl Clone for QuicConfig

Source§

fn clone(&self) -> QuicConfig

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for QuicConfig

Source§

fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +TransportAddrUsage in iroh::endpoint - Rust

TransportAddrUsage

Enum TransportAddrUsage 

Source
#[non_exhaustive]
pub enum TransportAddrUsage { + Active, + Inactive, +}
Expand description

Information how a transport address is used.

+

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.
§

Active

The address is in active use.

+
§

Inactive

The address is not currently used.

+

Trait Implementations§

Source§

impl Clone for TransportAddrUsage

Source§

fn clone(&self) -> TransportAddrUsage

Returns a duplicate 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 TransportAddrUsage

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for TransportAddrUsage

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( @@ -41,5 +37,5 @@ U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/enum.TransportConfig.html b/pr/3734/docs/iroh/endpoint/enum.TransportConfig.html index 87486acc0e..3b73952516 100644 --- a/pr/3734/docs/iroh/endpoint/enum.TransportConfig.html +++ b/pr/3734/docs/iroh/endpoint/enum.TransportConfig.html @@ -1,4 +1,4 @@ -TransportConfig in iroh::endpoint - Rust

TransportConfig

Enum TransportConfig 

Source
#[non_exhaustive]
pub enum TransportConfig { +TransportConfig in iroh::endpoint - Rust

TransportConfig

Enum TransportConfig 

Source
#[non_exhaustive]
pub enum TransportConfig { Ip { bind_addr: SocketAddr, }, @@ -10,9 +10,9 @@

Fields

§bind_addr: SocketAddr

The address this transport will bind on.

§

Relay

Relay transport

Fields

§relay_map: RelayMap

The RelayMap used for this relay.

-

Implementations§

Source§

impl TransportConfig

Source

pub fn default_ipv4() -> Self

Available on non-wasm_browser only.

Configures a default IPv4 transport, listening on 0.0.0.0:0.

-
Source

pub fn default_ipv6() -> Self

Available on non-wasm_browser only.

Configures a default IPv6 transport, listening on [::]:0.

-

Trait Implementations§

Source§

impl Clone for TransportConfig

Source§

fn clone(&self) -> TransportConfig

Returns a duplicate 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 TransportConfig

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 +

Implementations§

Source§

impl TransportConfig

Source

pub fn default_ipv4() -> Self

Available on non-wasm_browser only.

Configures a default IPv4 transport, listening on 0.0.0.0:0.

+
Source

pub fn default_ipv6() -> Self

Available on non-wasm_browser only.

Configures a default IPv6 transport, listening on [::]:0.

+

Trait Implementations§

Source§

impl Clone for TransportConfig

Source§

fn clone(&self) -> TransportConfig

Returns a duplicate 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 TransportConfig

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( @@ -45,5 +45,5 @@ U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/enum.WriteError.html b/pr/3734/docs/iroh/endpoint/enum.WriteError.html index 629b329200..d63e8cadff 100644 --- a/pr/3734/docs/iroh/endpoint/enum.WriteError.html +++ b/pr/3734/docs/iroh/endpoint/enum.WriteError.html @@ -1,9 +1,10 @@ -WriteError in iroh::endpoint - Rust

WriteError

Enum WriteError 

pub enum WriteError {
+WriteError in iroh::endpoint - Rust

WriteError

Enum WriteError 

pub enum WriteError {
     Stopped(VarInt),
     ConnectionLost(ConnectionError),
     ClosedStream,
     ZeroRttRejected,
-}
Expand description

Errors that arise from writing to a stream

+}
Expand description

quinn types that are used in the public iroh API. +Errors that arise from writing to a stream

Variants§

§

Stopped(VarInt)

The peer is no longer accepting data on this stream

Carries an application-defined error code.

§

ConnectionLost(ConnectionError)

The connection was lost

@@ -52,5 +53,5 @@ and should not be overridden without very good reason.
TryFrom<T>,
Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/enum.ZeroRttStatus.html b/pr/3734/docs/iroh/endpoint/enum.ZeroRttStatus.html index de62474810..9fa4388955 100644 --- a/pr/3734/docs/iroh/endpoint/enum.ZeroRttStatus.html +++ b/pr/3734/docs/iroh/endpoint/enum.ZeroRttStatus.html @@ -1,4 +1,4 @@ -ZeroRttStatus in iroh::endpoint - Rust

ZeroRttStatus

Enum ZeroRttStatus 

Source
pub enum ZeroRttStatus {
+ZeroRttStatus in iroh::endpoint - Rust

ZeroRttStatus

Enum ZeroRttStatus 

Source
pub enum ZeroRttStatus {
     Accepted(Connection),
     Rejected(Connection),
 }
Expand description

Returned from OutgoingZeroRttConnection::handshake_completed.

@@ -7,7 +7,7 @@ that were created before the handshake was completed.

§

Rejected(Connection)

If the 0-RTT data was rejected, any streams that were created before the handshake was completed will error and any data that was previously sent on those streams will need to be resent.

-

Trait Implementations§

Source§

impl Clone for ZeroRttStatus

Source§

fn clone(&self) -> ZeroRttStatus

Returns a duplicate 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 ZeroRttStatus

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 ZeroRttStatus

Source§

fn clone(&self) -> ZeroRttStatus

Returns a duplicate 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 ZeroRttStatus

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( @@ -40,5 +40,5 @@ previously sent on those streams will need to be resent.

U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/fn.default_relay_mode.html b/pr/3734/docs/iroh/endpoint/fn.default_relay_mode.html index bdf0ad7dca..4d42f1f85c 100644 --- a/pr/3734/docs/iroh/endpoint/fn.default_relay_mode.html +++ b/pr/3734/docs/iroh/endpoint/fn.default_relay_mode.html @@ -1,4 +1,4 @@ -default_relay_mode in iroh::endpoint - Rust

default_relay_mode

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

default_relay_mode

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/3734/docs/iroh/endpoint/fn.force_staging_infra.html b/pr/3734/docs/iroh/endpoint/fn.force_staging_infra.html index 4a6a3dcbfd..c8579435bd 100644 --- a/pr/3734/docs/iroh/endpoint/fn.force_staging_infra.html +++ b/pr/3734/docs/iroh/endpoint/fn.force_staging_infra.html @@ -1,2 +1,2 @@ -force_staging_infra in iroh::endpoint - Rust

force_staging_infra

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

force_staging_infra

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/3734/docs/iroh/endpoint/index.html b/pr/3734/docs/iroh/endpoint/index.html index 004ce3c179..2c7d373840 100644 --- a/pr/3734/docs/iroh/endpoint/index.html +++ b/pr/3734/docs/iroh/endpoint/index.html @@ -1,4 +1,4 @@ -iroh::endpoint - Rust

Module endpoint

Module endpoint 

Source
Expand description

The Endpoint allows establishing connections to other iroh endpoints.

+iroh::endpoint - Rust

Module endpoint

Module endpoint 

Source
Expand description

The Endpoint allows establishing connections to other iroh endpoints.

The Endpoint is the main API interface to manage a local iroh endpoint. It allows connecting to and accepting connections from other endpoints. See the module docs for more details on how iroh connections work.

@@ -7,6 +7,62 @@ more details on how iroh connections work.

  • Endpoint to establish iroh connections with other endpoints.
  • Builder to create an Endpoint.
  • -

    Modules§

    presets
    Presets allow configuring an endpoint quickly with a chosen set of defaults.

    Structs§

    Accept
    Future produced by Endpoint::accept.
    AcceptBi
    Future produced by [Connection::accept_bi]
    AcceptUni
    Future produced by [Connection::accept_uni]
    Accepting
    In-progress connection attempt future
    AckFrequencyConfig
    Parameters for controlling the peer’s acknowledgement frequency
    ApplicationClose
    Reason given by an application for closing the connection
    Builder
    Builder for Endpoint.
    Chunk
    A chunk of data from the receive stream
    ClosedStream
    Error indicating that a stream has not been opened or has already been finished or reset
    ConnectOptions
    Options for the Endpoint::connect_with_opts function.
    Connecting
    An outgoing connection in progress.
    Connection
    A QUIC connection.
    ConnectionClose
    Reason given by the transport for closing the connection
    ConnectionInfo
    Information about a connection.
    ConnectionStats
    Connection statistics
    CryptoError
    Generic crypto errors
    DirectAddr
    A direct address on which an iroh-endpoint might be contactable.
    Endpoint
    Controls an iroh endpoint, establishing connections with other endpoints.
    ExportKeyingMaterialError
    Error returned by [Session::export_keying_material].
    FrameStats
    Number of frames transmitted or received of each frame type
    HandshakeCompleted
    Marker type for a connection that has completed the handshake.
    IdleTimeout
    Maximum duration of inactivity to accept before timing out the connection
    Incoming
    An incoming connection for which the server has not yet begun its parts of the -handshake.
    IncomingZeroRtt
    Marker type for a connection that is in the incoming 0-RTT state.
    MtuDiscoveryConfig
    Parameters governing MTU discovery.
    OpenBi
    Future produced by [Connection::open_bi]
    OpenUni
    Future produced by [Connection::open_uni]
    OutgoingZeroRtt
    Marker type for a connection that is in the outgoing 0-RTT state.
    PathInfo
    Information about a network path used by a Connection.
    PathInfoList
    List of PathInfo for the network paths of a Connection.
    PathStats
    Statistics related to a transmission path
    QuicTransportConfig
    Parameters governing the core QUIC state machine
    ReadDatagram
    Future produced by [Connection::read_datagram]
    RecvStream
    A stream that can only be used to receive data
    RemoteEndpointIdError
    RetryError
    Error for attempting to retry an [Incoming] which already bears a token from a previous retry
    SendStream
    A stream that can only be used to send data
    ServerConfig
    Parameters governing incoming connections
    StreamId
    Identifier for a stream within a particular connection
    TransportError
    Transport-level errors occur when a peer violates the protocol specification
    TransportErrorCode
    Transport-level error code
    UdpStats
    Statistics about UDP datagrams transmitted or received on a connection
    UnsupportedVersion
    Error indicating that the specified QUIC version is not supported
    VarInt
    An integer less than 2^62
    VarIntBoundsExceeded
    Error returned when constructing a VarInt from a value >= 2^62
    WeakConnectionHandle
    A handle to some connection internals, use with care.
    Written
    Indicates how many bytes and chunks had been transferred in a write operation

    Enums§

    AfterHandshakeOutcome
    Outcome of EndpointHooks::after_handshake
    AlpnError
    AuthenticationError
    BeforeConnectOutcome
    Outcome of EndpointHooks::before_connect
    BindError
    ConnectError
    ConnectWithOptsError
    ConnectingError
    ConnectionError
    Reasons why a connection might be lost
    DirectAddrType
    The type of direct address.
    ReadError
    Errors that arise from reading from a stream.
    ReadExactError
    Errors that arise from reading from a stream.
    ReadToEndError
    Errors from RecvStream::read_to_end
    RelayMode
    Configuration of the relay servers for an Endpoint.
    ResetError
    Errors that arise while waiting for a stream to be reset
    SendDatagramError
    Errors that can arise when sending a datagram
    Side
    Whether an endpoint was the initiator of a connection
    Source
    The origin or source through which an address associated with a remote endpoint -was discovered.
    StoppedError
    Errors that arise while monitoring for a send stream stop from the peer
    TransportConfig
    Available transport configurations.
    WriteError
    Errors that arise from writing to a stream
    ZeroRttStatus
    Returned from OutgoingZeroRttConnection::handshake_completed.

    Constants§

    ENV_FORCE_STAGING_RELAYS
    Environment variable to force the use of staging relays.

    Traits§

    AeadKey
    A key for sealing data with AEAD-based algorithms
    ConnectionState
    Trait to track the state of a Connection at compile time.
    Controller
    Common interface for different congestion controllers
    ControllerFactory
    Constructs controllers on demand
    CryptoServerConfig
    Server-side configuration for the crypto protocol
    EndpointHooks
    EndpointHooks intercept the connection establishment process of an Endpoint.
    HandshakeTokenKey
    A pseudo random key for HKDF

    Functions§

    default_relay_mode
    Returns the default relay mode.
    force_staging_infra
    Returns true if the use of staging relays is forced.

    Type Aliases§

    IncomingZeroRttConnection
    A QUIC connection on the server-side that can possibly accept 0-RTT data.
    OutgoingZeroRttConnection
    The client side of a 0-RTT connection.
    \ No newline at end of file +

    Modules§

    presets
    Presets allow configuring an endpoint quickly with a chosen set of defaults.

    Structs§

    Accept
    Future produced by Endpoint::accept.
    AcceptBi
    quinn types that are used in the public iroh API. +Future produced by [Connection::accept_bi]
    AcceptUni
    quinn types that are used in the public iroh API. +Future produced by [Connection::accept_uni]
    Accepting
    In-progress connection attempt future
    AckFrequencyConfig
    quinn types that are used in the public iroh API. +Parameters for controlling the peer’s acknowledgement frequency
    ApplicationClose
    quinn_proto types that are used in the public iroh API. +Reason given by an application for closing the connection
    Builder
    Builder for Endpoint.
    Chunk
    quinn_proto types that are used in the public iroh API. +A chunk of data from the receive stream
    ClosedStream
    quinn types that are used in the public iroh API. +Error indicating that a stream has not been opened or has already been finished or reset
    ConnectOptions
    Options for the Endpoint::connect_with_opts function.
    Connecting
    An outgoing connection in progress.
    Connection
    A QUIC connection.
    ConnectionClose
    quinn_proto types that are used in the public iroh API. +Reason given by the transport for closing the connection
    ConnectionInfo
    Information about a connection.
    ConnectionStats
    quinn types that are used in the public iroh API. +Connection statistics
    ControllerMetrics
    quinn_proto types that are used in the public iroh API. +Common congestion controller metrics
    CryptoError
    quinn_proto types that are used in the public iroh API. +Generic crypto errors
    DirectAddr
    A direct address on which an iroh-endpoint might be contactable.
    Endpoint
    Controls an iroh endpoint, establishing connections with other endpoints.
    ExportKeyingMaterialError
    quinn_proto types that are used in the public iroh API. +Error returned by [Session::export_keying_material].
    FrameStats
    quinn_proto types that are used in the public iroh API. +Number of frames transmitted or received of each frame type
    HandshakeCompleted
    Marker type for a connection that has completed the handshake.
    IdleTimeout
    quinn types that are used in the public iroh API. +Maximum duration of inactivity to accept before timing out the connection
    Incoming
    An incoming connection for which the server has not yet begun its parts of the +handshake.
    IncomingZeroRtt
    Marker type for a connection that is in the incoming 0-RTT state.
    Keys
    quinn_proto types that are used in the public iroh API. +A complete set of keys for a certain packet space
    MtuDiscoveryConfig
    quinn types that are used in the public iroh API. +Parameters governing MTU discovery.
    OpenBi
    quinn types that are used in the public iroh API. +Future produced by [Connection::open_bi]
    OpenUni
    quinn types that are used in the public iroh API. +Future produced by [Connection::open_uni]
    OutgoingZeroRtt
    Marker type for a connection that is in the outgoing 0-RTT state.
    PathId
    quinn_proto types that are used in the public iroh API. +Id representing different paths when using multipath extension
    PathInfo
    Information about a network path used by a Connection.
    PathInfoList
    List of PathInfo for the network paths of a Connection.
    PathStats
    quinn types that are used in the public iroh API. +Statistics related to a transmission path
    QlogConfigqlog
    Configuration for qlog trace logging.
    QlogFileFactoryqlog
    Enables writing qlog traces to a directory.
    QuicTransportConfig
    Parameters governing the core QUIC state machine
    QuicTransportConfigBuilder
    Builder for a QuicTransportConfig.
    ReadDatagram
    quinn types that are used in the public iroh API. +Future produced by [Connection::read_datagram]
    RecvStream
    quinn types that are used in the public iroh API. +A stream that can only be used to receive data
    RemoteEndpointIdError
    RemoteInfo
    Information about a remote endpoint.
    RetryError
    Error for attempting to retry an Incoming which already bears a token from a previous retry
    RttEstimator
    quinn_proto types that are used in the public iroh API. +RTT estimation for a particular network path
    SendDatagram
    quinn types that are used in the public iroh API. +Future produced by [Connection::send_datagram_wait]
    SendStream
    quinn types that are used in the public iroh API. +A stream that can only be used to send data
    ServerConfig
    Parameters governing incoming connections
    ServerConfigBuilder
    A builder for a ServerConfig.
    StreamId
    quinn types that are used in the public iroh API. +Identifier for a stream within a particular connection
    TokenReuseError
    quinn_proto types that are used in the public iroh API. +Error for when a validation token may have been reused
    TransportAddrInfo
    Address of a remote with some metadata
    TransportError
    quinn_proto types that are used in the public iroh API. +Transport-level errors occur when a peer violates the protocol specification
    TransportErrorCode
    quinn_proto types that are used in the public iroh API. +Transport-level error code
    TransportParameters
    quinn_proto types that are used in the public iroh API. +Transport parameters used to negotiate connection-level preferences between peers
    UdpStats
    quinn_proto types that are used in the public iroh API. +Statistics about UDP datagrams transmitted or received on a connection
    UnorderedRecvStream
    quinn types that are used in the public iroh API. +A stream that can be used to receive data out-of-order.
    UnsupportedVersion
    quinn_proto types that are used in the public iroh API. +Error indicating that the specified QUIC version is not supported
    ValidationTokenConfig
    quinn_proto types that are used in the public iroh API. +Configuration for sending and handling validation tokens in incoming connections
    VarInt
    quinn types that are used in the public iroh API. +An integer less than 2^62
    VarIntBoundsExceeded
    quinn types that are used in the public iroh API. +Error returned when constructing a VarInt from a value >= 2^62
    Written
    quinn types that are used in the public iroh API. +Indicates how many bytes and chunks had been transferred in a write operation

    Enums§

    AfterHandshakeOutcome
    Outcome of EndpointHooks::after_handshake
    AlpnError
    AuthenticationError
    BeforeConnectOutcome
    Outcome of EndpointHooks::before_connect
    BindError
    ConnectError
    ConnectWithOptsError
    ConnectingError
    ConnectionError
    quinn types that are used in the public iroh API. +Reasons why a connection might be lost
    Dir
    quinn types that are used in the public iroh API. +Whether a stream communicates data in both directions or only from the initiator
    DirectAddrType
    The type of direct address.
    FrameType
    quinn_proto types that are used in the public iroh API. +A QUIC frame type
    QuicConnectError
    quinn_proto types that are used in the public iroh API. +Errors in the parameters being used to create a new connection
    ReadError
    quinn types that are used in the public iroh API. +Errors that arise from reading from a stream.
    ReadExactError
    quinn types that are used in the public iroh API. +Errors that arise from reading from a stream.
    ReadToEndError
    quinn types that are used in the public iroh API. +Errors from RecvStream::read_to_end
    RelayMode
    Configuration of the relay servers for an Endpoint.
    ResetError
    quinn types that are used in the public iroh API. +Errors that arise while waiting for a stream to be reset
    SendDatagramError
    quinn types that are used in the public iroh API. +Errors that can arise when sending a datagram
    Side
    quinn types that are used in the public iroh API. +Whether an endpoint was the initiator of a connection
    Source
    The origin or source through which an address associated with a remote endpoint +was discovered.
    StoppedError
    quinn types that are used in the public iroh API. +Errors that arise while monitoring for a send stream stop from the peer
    TransportAddrUsage
    Information how a transport address is used.
    TransportConfig
    Available transport configurations.
    WriteError
    quinn types that are used in the public iroh API. +Errors that arise from writing to a stream
    ZeroRttStatus
    Returned from OutgoingZeroRttConnection::handshake_completed.

    Constants§

    ENV_FORCE_STAGING_RELAYS
    Environment variable to force the use of staging relays.

    Traits§

    AeadKey
    quinn_proto types that are used in the public iroh API. +A key for sealing data with AEAD-based algorithms
    ConnectionState
    Trait to track the state of a Connection at compile time.
    Controller
    quinn_proto types that are used in the public iroh API. +Common interface for different congestion controllers
    ControllerFactory
    quinn_proto types that are used in the public iroh API. +Constructs controllers on demand
    EndpointHooks
    EndpointHooks intercept the connection establishment process of an Endpoint.
    HandshakeTokenKey
    quinn_proto types that are used in the public iroh API. +A pseudo random key for HKDF
    HeaderKey
    quinn_proto types that are used in the public iroh API. +Keys used to protect packet headers
    PacketKey
    quinn_proto types that are used in the public iroh API. +Keys used to protect packet payloads
    QlogFactoryqlog
    Constructs a QlogConfig for individual connections.
    TimeSource
    quinn_proto types that are used in the public iroh API. +Object to get current SystemTime
    TokenLog
    quinn_proto types that are used in the public iroh API. +Responsible for limiting clients’ ability to reuse validation tokens

    Functions§

    default_relay_mode
    Returns the default relay mode.
    force_staging_infra
    Returns true if the use of staging relays is forced.

    Type Aliases§

    IncomingZeroRttConnection
    A QUIC connection on the server-side that can possibly accept 0-RTT data.
    OutgoingZeroRttConnection
    The client side of a 0-RTT connection.
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/presets/struct.N0.html b/pr/3734/docs/iroh/endpoint/presets/struct.N0.html index 778fd3806a..4040ea2929 100644 --- a/pr/3734/docs/iroh/endpoint/presets/struct.N0.html +++ b/pr/3734/docs/iroh/endpoint/presets/struct.N0.html @@ -45,5 +45,5 @@ When in tests, or when the test-utils feature is enabled, this will U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/quic/enum.Dir.html b/pr/3734/docs/iroh/endpoint/quic/enum.Dir.html new file mode 100644 index 0000000000..24272cf1d6 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/quic/enum.Dir.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../../iroh/endpoint/enum.Dir.html...

    + + + \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/quic/enum.FrameType.html b/pr/3734/docs/iroh/endpoint/quic/enum.FrameType.html new file mode 100644 index 0000000000..1d85e90743 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/quic/enum.FrameType.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../../iroh/endpoint/enum.FrameType.html...

    + + + \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/quic/enum.QuicConnectError.html b/pr/3734/docs/iroh/endpoint/quic/enum.QuicConnectError.html new file mode 100644 index 0000000000..e74d48f3e6 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/quic/enum.QuicConnectError.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../../iroh/endpoint/enum.QuicConnectError.html...

    + + + \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/quic/struct.ControllerMetrics.html b/pr/3734/docs/iroh/endpoint/quic/struct.ControllerMetrics.html new file mode 100644 index 0000000000..1f603451b0 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/quic/struct.ControllerMetrics.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../../iroh/endpoint/struct.ControllerMetrics.html...

    + + + \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/quic/struct.Keys.html b/pr/3734/docs/iroh/endpoint/quic/struct.Keys.html new file mode 100644 index 0000000000..5393d7302f --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/quic/struct.Keys.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../../iroh/endpoint/struct.Keys.html...

    + + + \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/quic/struct.PathId.html b/pr/3734/docs/iroh/endpoint/quic/struct.PathId.html new file mode 100644 index 0000000000..02974ae4b0 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/quic/struct.PathId.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../../iroh/endpoint/struct.PathId.html...

    + + + \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/quic/struct.QlogConfig.html b/pr/3734/docs/iroh/endpoint/quic/struct.QlogConfig.html new file mode 100644 index 0000000000..91ec74df59 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/quic/struct.QlogConfig.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../../iroh/endpoint/struct.QlogConfig.html...

    + + + \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/quic/struct.QlogFileFactory.html b/pr/3734/docs/iroh/endpoint/quic/struct.QlogFileFactory.html new file mode 100644 index 0000000000..a73db72584 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/quic/struct.QlogFileFactory.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../../iroh/endpoint/struct.QlogFileFactory.html...

    + + + \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/quic/struct.QuicTransportConfigBuilder.html b/pr/3734/docs/iroh/endpoint/quic/struct.QuicTransportConfigBuilder.html new file mode 100644 index 0000000000..a49ce1061d --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/quic/struct.QuicTransportConfigBuilder.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../../iroh/endpoint/struct.QuicTransportConfigBuilder.html...

    + + + \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/quic/struct.RttEstimator.html b/pr/3734/docs/iroh/endpoint/quic/struct.RttEstimator.html new file mode 100644 index 0000000000..4edd1683c3 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/quic/struct.RttEstimator.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../../iroh/endpoint/struct.RttEstimator.html...

    + + + \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/quic/struct.SendDatagram.html b/pr/3734/docs/iroh/endpoint/quic/struct.SendDatagram.html new file mode 100644 index 0000000000..e69b4b0d92 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/quic/struct.SendDatagram.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../../iroh/endpoint/struct.SendDatagram.html...

    + + + \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/quic/struct.ServerConfigBuilder.html b/pr/3734/docs/iroh/endpoint/quic/struct.ServerConfigBuilder.html new file mode 100644 index 0000000000..638ccfb030 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/quic/struct.ServerConfigBuilder.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../../iroh/endpoint/struct.ServerConfigBuilder.html...

    + + + \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/quic/struct.TokenReuseError.html b/pr/3734/docs/iroh/endpoint/quic/struct.TokenReuseError.html new file mode 100644 index 0000000000..248648c5b2 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/quic/struct.TokenReuseError.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../../iroh/endpoint/struct.TokenReuseError.html...

    + + + \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/quic/struct.TransportParameters.html b/pr/3734/docs/iroh/endpoint/quic/struct.TransportParameters.html new file mode 100644 index 0000000000..1931212fbc --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/quic/struct.TransportParameters.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../../iroh/endpoint/struct.TransportParameters.html...

    + + + \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/quic/struct.UnorderedRecvStream.html b/pr/3734/docs/iroh/endpoint/quic/struct.UnorderedRecvStream.html new file mode 100644 index 0000000000..f7cb08801d --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/quic/struct.UnorderedRecvStream.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../../iroh/endpoint/struct.UnorderedRecvStream.html...

    + + + \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/quic/struct.ValidationTokenConfig.html b/pr/3734/docs/iroh/endpoint/quic/struct.ValidationTokenConfig.html new file mode 100644 index 0000000000..d2a8eeb937 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/quic/struct.ValidationTokenConfig.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../../iroh/endpoint/struct.ValidationTokenConfig.html...

    + + + \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/quic/struct.WeakConnectionHandle.html b/pr/3734/docs/iroh/endpoint/quic/struct.WeakConnectionHandle.html deleted file mode 100644 index 164e4d638f..0000000000 --- a/pr/3734/docs/iroh/endpoint/quic/struct.WeakConnectionHandle.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Redirection - - -

    Redirecting to ../../../iroh/endpoint/struct.WeakConnectionHandle.html...

    - - - \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/quic/trait.CryptoServerConfig.html b/pr/3734/docs/iroh/endpoint/quic/trait.CryptoServerConfig.html deleted file mode 100644 index f8a01e39f0..0000000000 --- a/pr/3734/docs/iroh/endpoint/quic/trait.CryptoServerConfig.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Redirection - - -

    Redirecting to ../../../iroh/endpoint/trait.CryptoServerConfig.html...

    - - - \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/quic/trait.HeaderKey.html b/pr/3734/docs/iroh/endpoint/quic/trait.HeaderKey.html new file mode 100644 index 0000000000..f761db7a10 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/quic/trait.HeaderKey.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../../iroh/endpoint/trait.HeaderKey.html...

    + + + \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/quic/trait.PacketKey.html b/pr/3734/docs/iroh/endpoint/quic/trait.PacketKey.html new file mode 100644 index 0000000000..05f8d42eba --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/quic/trait.PacketKey.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../../iroh/endpoint/trait.PacketKey.html...

    + + + \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/quic/trait.QlogFactory.html b/pr/3734/docs/iroh/endpoint/quic/trait.QlogFactory.html new file mode 100644 index 0000000000..a3a487b875 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/quic/trait.QlogFactory.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../../iroh/endpoint/trait.QlogFactory.html...

    + + + \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/quic/trait.TimeSource.html b/pr/3734/docs/iroh/endpoint/quic/trait.TimeSource.html new file mode 100644 index 0000000000..11a7bc2af9 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/quic/trait.TimeSource.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../../iroh/endpoint/trait.TimeSource.html...

    + + + \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/quic/trait.TokenLog.html b/pr/3734/docs/iroh/endpoint/quic/trait.TokenLog.html new file mode 100644 index 0000000000..249cfd5ada --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/quic/trait.TokenLog.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../../iroh/endpoint/trait.TokenLog.html...

    + + + \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/sidebar-items.js b/pr/3734/docs/iroh/endpoint/sidebar-items.js index e31eb5216d..f75c83c0f1 100644 --- a/pr/3734/docs/iroh/endpoint/sidebar-items.js +++ b/pr/3734/docs/iroh/endpoint/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"constant":["ENV_FORCE_STAGING_RELAYS"],"enum":["AfterHandshakeOutcome","AlpnError","AuthenticationError","BeforeConnectOutcome","BindError","ConnectError","ConnectWithOptsError","ConnectingError","ConnectionError","DirectAddrType","ReadError","ReadExactError","ReadToEndError","RelayMode","ResetError","SendDatagramError","Side","Source","StoppedError","TransportConfig","WriteError","ZeroRttStatus"],"fn":["default_relay_mode","force_staging_infra"],"mod":["presets"],"struct":["Accept","AcceptBi","AcceptUni","Accepting","AckFrequencyConfig","ApplicationClose","Builder","Chunk","ClosedStream","ConnectOptions","Connecting","Connection","ConnectionClose","ConnectionInfo","ConnectionStats","CryptoError","DirectAddr","Endpoint","ExportKeyingMaterialError","FrameStats","HandshakeCompleted","IdleTimeout","Incoming","IncomingZeroRtt","MtuDiscoveryConfig","OpenBi","OpenUni","OutgoingZeroRtt","PathInfo","PathInfoList","PathStats","QuicTransportConfig","ReadDatagram","RecvStream","RemoteEndpointIdError","RetryError","SendStream","ServerConfig","StreamId","TransportError","TransportErrorCode","UdpStats","UnsupportedVersion","VarInt","VarIntBoundsExceeded","WeakConnectionHandle","Written"],"trait":["AeadKey","ConnectionState","Controller","ControllerFactory","CryptoServerConfig","EndpointHooks","HandshakeTokenKey"],"type":["IncomingZeroRttConnection","OutgoingZeroRttConnection"]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"constant":["ENV_FORCE_STAGING_RELAYS"],"enum":["AfterHandshakeOutcome","AlpnError","AuthenticationError","BeforeConnectOutcome","BindError","ConnectError","ConnectWithOptsError","ConnectingError","ConnectionError","Dir","DirectAddrType","FrameType","QuicConnectError","ReadError","ReadExactError","ReadToEndError","RelayMode","ResetError","SendDatagramError","Side","Source","StoppedError","TransportAddrUsage","TransportConfig","WriteError","ZeroRttStatus"],"fn":["default_relay_mode","force_staging_infra"],"mod":["presets"],"struct":["Accept","AcceptBi","AcceptUni","Accepting","AckFrequencyConfig","ApplicationClose","Builder","Chunk","ClosedStream","ConnectOptions","Connecting","Connection","ConnectionClose","ConnectionInfo","ConnectionStats","ControllerMetrics","CryptoError","DirectAddr","Endpoint","ExportKeyingMaterialError","FrameStats","HandshakeCompleted","IdleTimeout","Incoming","IncomingZeroRtt","Keys","MtuDiscoveryConfig","OpenBi","OpenUni","OutgoingZeroRtt","PathId","PathInfo","PathInfoList","PathStats","QlogConfig","QlogFileFactory","QuicTransportConfig","QuicTransportConfigBuilder","ReadDatagram","RecvStream","RemoteEndpointIdError","RemoteInfo","RetryError","RttEstimator","SendDatagram","SendStream","ServerConfig","ServerConfigBuilder","StreamId","TokenReuseError","TransportAddrInfo","TransportError","TransportErrorCode","TransportParameters","UdpStats","UnorderedRecvStream","UnsupportedVersion","ValidationTokenConfig","VarInt","VarIntBoundsExceeded","Written"],"trait":["AeadKey","ConnectionState","Controller","ControllerFactory","EndpointHooks","HandshakeTokenKey","HeaderKey","PacketKey","QlogFactory","TimeSource","TokenLog"],"type":["IncomingZeroRttConnection","OutgoingZeroRttConnection"]}; \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.Accept.html b/pr/3734/docs/iroh/endpoint/struct.Accept.html index cc147574cd..8a8f799a1f 100644 --- a/pr/3734/docs/iroh/endpoint/struct.Accept.html +++ b/pr/3734/docs/iroh/endpoint/struct.Accept.html @@ -1,6 +1,6 @@ -Accept in iroh::endpoint - Rust

    Accept

    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

    Accept

    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 @@ -95,5 +95,5 @@ the future is ready after the first call to Future::poll. Read m U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.AcceptBi.html b/pr/3734/docs/iroh/endpoint/struct.AcceptBi.html index 3b405cfaa2..800fe7e9c1 100644 --- a/pr/3734/docs/iroh/endpoint/struct.AcceptBi.html +++ b/pr/3734/docs/iroh/endpoint/struct.AcceptBi.html @@ -1,4 +1,5 @@ -AcceptBi in iroh::endpoint - Rust

    AcceptBi

    Struct AcceptBi 

    pub struct AcceptBi<'a> { /* private fields */ }
    Expand description

    Future produced by [Connection::accept_bi]

    +AcceptBi in iroh::endpoint - Rust

    AcceptBi

    Struct AcceptBi 

    pub struct AcceptBi<'a> { /* private fields */ }
    Expand description

    quinn types that are used in the public iroh API. +Future produced by [Connection::accept_bi]

    Trait Implementations§

    §

    impl Future for AcceptBi<'_>

    §

    type Output = Result<(SendStream, RecvStream), ConnectionError>

    The type of value produced on completion.
    §

    fn poll( self: Pin<&mut AcceptBi<'_>>, ctx: &mut Context<'_>, @@ -149,5 +150,5 @@ future types.

    TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.AcceptUni.html b/pr/3734/docs/iroh/endpoint/struct.AcceptUni.html index fa9b626052..8b1b9a8e67 100644 --- a/pr/3734/docs/iroh/endpoint/struct.AcceptUni.html +++ b/pr/3734/docs/iroh/endpoint/struct.AcceptUni.html @@ -1,4 +1,5 @@ -AcceptUni in iroh::endpoint - Rust

    AcceptUni

    Struct AcceptUni 

    pub struct AcceptUni<'a> { /* private fields */ }
    Expand description

    Future produced by [Connection::accept_uni]

    +AcceptUni in iroh::endpoint - Rust

    AcceptUni

    Struct AcceptUni 

    pub struct AcceptUni<'a> { /* private fields */ }
    Expand description

    quinn types that are used in the public iroh API. +Future produced by [Connection::accept_uni]

    Trait Implementations§

    §

    impl Future for AcceptUni<'_>

    §

    type Output = Result<RecvStream, ConnectionError>

    The type of value produced on completion.
    §

    fn poll( self: Pin<&mut AcceptUni<'_>>, ctx: &mut Context<'_>, @@ -149,5 +150,5 @@ future types.

    TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.Accepting.html b/pr/3734/docs/iroh/endpoint/struct.Accepting.html index 4c5ec60ea4..051b06c989 100644 --- a/pr/3734/docs/iroh/endpoint/struct.Accepting.html +++ b/pr/3734/docs/iroh/endpoint/struct.Accepting.html @@ -1,5 +1,5 @@ -Accepting in iroh::endpoint - Rust

    Accepting

    Struct Accepting 

    Source
    pub struct Accepting { /* private fields */ }
    Expand description

    In-progress connection attempt future

    -

    Implementations§

    Source§

    impl Accepting

    Source

    pub fn into_0rtt(self) -> IncomingZeroRttConnection

    Converts this Accepting into a 0-RTT or 0.5-RTT connection at the cost of weakened +Accepting in iroh::endpoint - Rust

    Accepting

    Struct Accepting 

    Source
    pub struct Accepting { /* private fields */ }
    Expand description

    In-progress connection attempt future

    +

    Implementations§

    Source§

    impl Accepting

    Source

    pub fn into_0rtt(self) -> IncomingZeroRttConnection

    Converts this Accepting into a 0-RTT or 0.5-RTT connection at the cost of weakened security.

    Returns a IncomingZeroRttConnection, which represents an incoming 0-RTT or 0.5-RTT connection.

    If the connection was initiated with 0-RTT by the remote endpoint, the local endpoint @@ -16,9 +16,9 @@ authentication is required.

    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.

    See also documentation for Connecting::into_0rtt.

    -
    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 Accepting

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Future for Accepting

    Source§

    type Output = Result<Connection, ConnectingError>

    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 +
    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 Accepting

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Future for Accepting

    Source§

    type Output = Result<Connection, ConnectingError>

    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 @@ -164,5 +164,5 @@ future types.

    TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.AckFrequencyConfig.html b/pr/3734/docs/iroh/endpoint/struct.AckFrequencyConfig.html index 70b91e7c2b..2d94883963 100644 --- a/pr/3734/docs/iroh/endpoint/struct.AckFrequencyConfig.html +++ b/pr/3734/docs/iroh/endpoint/struct.AckFrequencyConfig.html @@ -1,4 +1,5 @@ -AckFrequencyConfig in iroh::endpoint - Rust

    AckFrequencyConfig

    Struct AckFrequencyConfig 

    pub struct AckFrequencyConfig { /* private fields */ }
    Expand description

    Parameters for controlling the peer’s acknowledgement frequency

    +AckFrequencyConfig in iroh::endpoint - Rust

    AckFrequencyConfig

    Struct AckFrequencyConfig 

    pub struct AckFrequencyConfig { /* private fields */ }
    Expand description

    quinn types that are used in the public iroh API. +Parameters for controlling the peer’s acknowledgement frequency

    The parameters provided in this config will be sent to the peer at the beginning of the connection, so it can take them into account when sending acknowledgements (see each parameter’s description for details on how it influences acknowledgement frequency).

    @@ -70,5 +71,5 @@ to 2.

    U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.ApplicationClose.html b/pr/3734/docs/iroh/endpoint/struct.ApplicationClose.html index ac7cb13019..8376476515 100644 --- a/pr/3734/docs/iroh/endpoint/struct.ApplicationClose.html +++ b/pr/3734/docs/iroh/endpoint/struct.ApplicationClose.html @@ -1,7 +1,8 @@ -ApplicationClose in iroh::endpoint - Rust

    ApplicationClose

    Struct ApplicationClose 

    pub struct ApplicationClose {
    +ApplicationClose in iroh::endpoint - Rust

    ApplicationClose

    Struct ApplicationClose 

    pub struct ApplicationClose {
         pub error_code: VarInt,
         pub reason: Bytes,
    -}
    Expand description

    Reason given by an application for closing the connection

    +}
    Expand description

    quinn_proto types that are used in the public iroh API. +Reason given by an application for closing the connection

    Fields§

    §error_code: VarInt

    Application-specific reason code

    §reason: Bytes

    Human-readable reason for the close

    Trait Implementations§

    §

    impl Clone for ApplicationClose

    §

    fn clone(&self) -> ApplicationClose

    Returns a duplicate 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 ApplicationClose

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for ApplicationClose

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for ApplicationClose

    §

    fn eq(&self, other: &ApplicationClose) -> 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, @@ -45,5 +46,5 @@ and should not be overridden without very good reason.
    TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.Builder.html b/pr/3734/docs/iroh/endpoint/struct.Builder.html index 4fe55983db..0baf8177b4 100644 --- a/pr/3734/docs/iroh/endpoint/struct.Builder.html +++ b/pr/3734/docs/iroh/endpoint/struct.Builder.html @@ -1,30 +1,30 @@ -Builder in iroh::endpoint - Rust

    Builder

    Struct Builder 

    Source
    pub struct Builder { /* private fields */ }
    Expand description

    Builder for Endpoint.

    +Builder in iroh::endpoint - Rust

    Builder

    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 EndpointId.

    To create the Endpoint call Builder::bind.

    -

    Implementations§

    Source§

    impl Builder

    Source

    pub fn new<P: Preset>(preset: P) -> Self

    Creates a new Builder using the given Preset.

    +

    Implementations§

    Source§

    impl Builder

    Source

    pub fn new<P: Preset>(preset: P) -> Self

    Creates a new Builder using the given Preset.

    See presets for more.

    -
    Source

    pub fn preset<P: Preset>(self, preset: P) -> Self

    Applies the given Preset.

    -
    Source

    pub fn empty(relay_mode: RelayMode) -> Self

    Creates an empty builder with no discovery services.

    -
    Source

    pub async fn bind(self) -> Result<Endpoint, BindError>

    Binds the magic endpoint.

    -
    Source

    pub fn bind_addr_v4(self, bind_addr: SocketAddrV4) -> Self

    Available on non-wasm_browser only.

    Adds an IP transport, binding to the provided IPv4 address.

    +
    Source

    pub fn preset<P: Preset>(self, preset: P) -> Self

    Applies the given Preset.

    +
    Source

    pub fn empty(relay_mode: RelayMode) -> Self

    Creates an empty builder with no discovery services.

    +
    Source

    pub async fn bind(self) -> Result<Endpoint, BindError>

    Binds the magic endpoint.

    +
    Source

    pub fn bind_addr_v4(self, bind_addr: SocketAddrV4) -> Self

    Available on non-wasm_browser only.

    Adds an IP transport, binding to the provided IPv4 address.

    If you want to remove the default transports, make sure to call clear_ip first.

    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.

    -
    Source

    pub fn bind_addr_v6(self, bind_addr: SocketAddrV6) -> Self

    Available on non-wasm_browser only.

    Adds an IP transport, binding to the provided IPv6 address.

    +
    Source

    pub fn bind_addr_v6(self, bind_addr: SocketAddrV6) -> Self

    Available on non-wasm_browser only.

    Adds an IP transport, binding to the provided IPv6 address.

    If you want to remove the default transports, make sure to call clear_ip first.

    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.

    -
    Source

    pub fn clear_ip_transports(self) -> Self

    Available on non-wasm_browser only.

    Removes all IP based transports

    -
    Source

    pub fn clear_relay_transports(self) -> Self

    Removes all relay based transports

    -
    Source

    pub fn secret_key(self, secret_key: SecretKey) -> Self

    Sets a secret key to authenticate with other peers.

    +
    Source

    pub fn clear_ip_transports(self) -> Self

    Available on non-wasm_browser only.

    Removes all IP based transports

    +
    Source

    pub fn clear_relay_transports(self) -> Self

    Removes all relay based transports

    +
    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 EndpointId

    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 endpoint. They also perform various functions related to hole punching, see the crate docs for more details.

    @@ -32,28 +32,28 @@ for more details.

    When using RelayMode::Custom, the provided relay_map must contain at least one configured relay endpoint. 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 clear_discovery(self) -> Self

    Removes all discovery services from the builder.

    If no discovery service is set, connecting to an endpoint without providing its direct addresses or relay URLs will fail.

    See the documentation of the crate::discovery::Discovery trait for details.

    -
    Source

    pub fn 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 -to use this secret key to sign the information.

    -

    If you add multiple discovery services, they will be combined using a -crate::discovery::ConcurrentDiscovery.

    +
    Source

    pub fn discovery(self, discovery: impl IntoDiscovery) -> Self

    Adds an additional discovery mechanism for this endpoint.

    +

    Once the endpoint is created the provided IntoDiscovery::into_discovery will be +called. This allows discovery services to finalize their configuration by e.g. using +the secret key from the endpoint which can be needed to sign published information.

    +

    This method can be called multiple times and all the discovery services passed in +will be combined using an internal instance of the +crate::discovery::ConcurrentDiscovery. To clear all discovery services, use +Self::clear_discovery.

    If no discovery service is set, connecting to an endpoint without providing its 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 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 endpoint’s addresses and relay URL. When other endpoints discover this endpoint, 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: QuicTransportConfig) -> Self

    Sets a custom QuicTransportConfig for this endpoint.

    +
    Source

    pub fn transport_config(self, transport_config: QuicTransportConfig) -> Self

    Sets a custom QuicTransportConfig 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 @@ -61,40 +61,40 @@ 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 endpoint 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 features 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 features test-utils only.

    Skip verification of SSL certificates from relay servers

    May only be used in tests.

    -
    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.

    -
    Source

    pub fn hooks(self, hooks: impl EndpointHooks + 'static) -> Self

    Install hooks onto the endpoint.

    +
    Source

    pub fn hooks(self, hooks: impl EndpointHooks + 'static) -> Self

    Install hooks onto the endpoint.

    Endpoint hooks intercept the connection establishment process of an Endpoint.

    You can install multiple EndpointHooks by calling this function multiple times. Order matters: hooks are invoked in the order they were installed onto the endpoint builder. Once a hook returns reject, further processing is aborted and other hooks won’t be invoked.

    See EndpointHooks for details on the possible interception points in the connection lifecycle.

    -

    Trait Implementations§

    Source§

    impl Debug for Builder

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl Debug for Builder

    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( @@ -123,5 +123,5 @@ is aborted and other hooks won’t be invoked.

    U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.Chunk.html b/pr/3734/docs/iroh/endpoint/struct.Chunk.html index 6344095e37..5bc57a3fbe 100644 --- a/pr/3734/docs/iroh/endpoint/struct.Chunk.html +++ b/pr/3734/docs/iroh/endpoint/struct.Chunk.html @@ -1,7 +1,8 @@ -Chunk in iroh::endpoint - Rust

    Chunk

    Struct Chunk 

    pub struct Chunk {
    +Chunk in iroh::endpoint - Rust

    Chunk

    Struct Chunk 

    pub struct Chunk {
         pub offset: u64,
         pub bytes: Bytes,
    -}
    Expand description

    A chunk of data from the receive stream

    +}
    Expand description

    quinn_proto types that are used in the public iroh API. +A chunk of data from the receive stream

    Fields§

    §offset: u64

    The offset in the stream

    §bytes: Bytes

    The contents of the chunk

    Trait Implementations§

    §

    impl Debug for Chunk

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Chunk

    §

    fn eq(&self, other: &Chunk) -> 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, @@ -38,5 +39,5 @@ and should not be overridden without very good reason.
    TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.ClosedStream.html b/pr/3734/docs/iroh/endpoint/struct.ClosedStream.html index da7bcd60be..c7eb48ee65 100644 --- a/pr/3734/docs/iroh/endpoint/struct.ClosedStream.html +++ b/pr/3734/docs/iroh/endpoint/struct.ClosedStream.html @@ -1,4 +1,5 @@ -ClosedStream in iroh::endpoint - Rust

    ClosedStream

    Struct ClosedStream 

    pub struct ClosedStream { /* private fields */ }
    Expand description

    Error indicating that a stream has not been opened or has already been finished or reset

    +ClosedStream in iroh::endpoint - Rust

    ClosedStream

    Struct ClosedStream 

    pub struct ClosedStream { /* private fields */ }
    Expand description

    quinn types that are used in the public iroh API. +Error indicating that a stream has not been opened or has already been finished or reset

    Trait Implementations§

    §

    impl Clone for ClosedStream

    §

    fn clone(&self) -> ClosedStream

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for ClosedStream

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for ClosedStream

    §

    fn default() -> ClosedStream

    Returns the “default value” for a type. Read more
    §

    impl Display for ClosedStream

    §

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for ClosedStream

    1.30.0 · Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    Source§

    impl From<ClosedStream> for AcceptError

    Source§

    fn from(err: ClosedStream) -> Self

    Converts to this type from the input type.
    §

    impl From<ClosedStream> for WriteError

    §

    fn from(_: ClosedStream) -> WriteError

    Converts to this type from the input type.
    §

    impl PartialEq for ClosedStream

    §

    fn eq(&self, other: &ClosedStream) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    §

    impl Eq for ClosedStream

    §

    impl StructuralPartialEq for ClosedStream

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where @@ -40,5 +41,5 @@ and should not be overridden without very good reason.

    TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.ConnectOptions.html b/pr/3734/docs/iroh/endpoint/struct.ConnectOptions.html index b1adb189b8..51da5dc454 100644 --- a/pr/3734/docs/iroh/endpoint/struct.ConnectOptions.html +++ b/pr/3734/docs/iroh/endpoint/struct.ConnectOptions.html @@ -1,12 +1,12 @@ -ConnectOptions in iroh::endpoint - Rust

    ConnectOptions

    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

    ConnectOptions

    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: QuicTransportConfig, ) -> 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 duplicate 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 duplicate 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( @@ -53,5 +53,5 @@ builder’s TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.Connecting.html b/pr/3734/docs/iroh/endpoint/struct.Connecting.html index 9f7e6cf14d..87222378ff 100644 --- a/pr/3734/docs/iroh/endpoint/struct.Connecting.html +++ b/pr/3734/docs/iroh/endpoint/struct.Connecting.html @@ -1,6 +1,6 @@ -Connecting in iroh::endpoint - Rust

    Connecting

    Struct Connecting 

    Source
    pub struct Connecting { /* private fields */ }
    Expand description

    An outgoing connection in progress.

    +Connecting in iroh::endpoint - Rust

    Connecting

    Struct Connecting 

    Source
    pub struct Connecting { /* private fields */ }
    Expand description

    An outgoing connection in progress.

    This future resolves to a Connection once the handshake completes.

    -

    Implementations§

    Source§

    impl Connecting

    Source

    pub fn into_0rtt(self) -> Result<OutgoingZeroRttConnection, Connecting>

    Converts this Connecting into a 0-RTT connection at the cost of weakened security.

    +

    Implementations§

    Source§

    impl Connecting

    Source

    pub fn into_0rtt(self) -> Result<OutgoingZeroRttConnection, Connecting>

    Converts this Connecting into a 0-RTT connection at the cost of weakened security.

    If 0-RTT can be attempted, returns a OutgoingZeroRttConnection, which represents outgoing 0-RTT connection.

    If the 0-RTT cannot even be attempted, returns back the same Connecting without @@ -24,10 +24,10 @@ should therefore never invoke non-idempotent operations.

    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.

    See also documentation for Accepting::into_0rtt.

    -
    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.

    -
    Source

    pub fn remote_id(&self) -> EndpointId

    Returns the EndpointId of the endpoint that this connection attempt tries to connect to.

    -

    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, ConnectingError>

    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 +
    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.

    +
    Source

    pub fn remote_id(&self) -> EndpointId

    Returns the EndpointId of the endpoint that this connection attempt tries to connect to.

    +

    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, ConnectingError>

    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 @@ -173,5 +173,5 @@ future types.

    TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.Connection.html b/pr/3734/docs/iroh/endpoint/struct.Connection.html index e39cbde0bd..518269dba9 100644 --- a/pr/3734/docs/iroh/endpoint/struct.Connection.html +++ b/pr/3734/docs/iroh/endpoint/struct.Connection.html @@ -1,4 +1,4 @@ -Connection in iroh::endpoint - Rust

    Connection

    Struct Connection 

    Source
    pub struct Connection<State: ConnectionState = HandshakeCompleted> { /* private fields */ }
    Expand description

    A QUIC connection.

    +Connection in iroh::endpoint - Rust

    Connection

    Struct Connection 

    Source
    pub struct Connection<State: ConnectionState = HandshakeCompleted> { /* 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<T: ConnectionState> Connection<T>

    Source

    pub fn open_uni(&self) -> OpenUni<'_> ⓘ

    Initiates a new outgoing unidirectional stream.

    +

    Implementations§

    Source§

    impl<T: ConnectionState> Connection<T>

    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,35 +51,39 @@ 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 send_datagram_wait(&self, data: Bytes) -> SendDatagram<'_> ⓘ

    Transmits data as an unreliable, unordered application datagram

    +

    Unlike send_datagram(), this method will wait for buffer space during congestion +conditions, which effectively prioritizes old datagrams over new datagrams.

    +

    See send_datagram() for details.

    +
    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, path_id: PathId) -> Option<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, path_id: PathId) -> Option<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 peer_identity(&self) -> Option<Box<dyn Any>>

    Cryptographic identity of the peer.

    +
    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 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], @@ -90,20 +94,20 @@ 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)

    See [quinn_proto::TransportConfig::receive_window].

    -
    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)

    See [quinn_proto::TransportConfig::receive_window].

    +
    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.

    -
    Source§

    impl Connection<HandshakeCompleted>

    Source

    pub fn alpn(&self) -> &[u8] ⓘ

    Extracts the ALPN protocol from the peer’s handshake data.

    -
    Source

    pub fn remote_id(&self) -> EndpointId

    Returns the EndpointId from the peer’s TLS certificate.

    +
    Source§

    impl Connection<HandshakeCompleted>

    Source

    pub fn alpn(&self) -> &[u8] ⓘ

    Extracts the ALPN protocol from the peer’s handshake data.

    +
    Source

    pub fn remote_id(&self) -> EndpointId

    Returns the EndpointId from the peer’s TLS certificate.

    The PublicKey of an endpoint is also known as an EndpointId. This PublicKey is included in the TLS certificate presented during the handshake when connecting. This function allows you to get the EndpointId of the remote endpoint of this connection.

    -
    Source

    pub fn paths( +

    Source

    pub fn paths( &self, ) -> impl Watcher<Value = PathInfoList> + Unpin + Send + Sync + 'static

    Returns a Watcher for the network paths of this connection.

    A connection can have several network paths to the remote endpoint, commonly there @@ -112,12 +116,12 @@ will be a path via the relay server and a holepunched path.

    for transmission changes (see PathInfo::is_selected).

    The PathInfoList returned from the watcher contains a PathInfo for each transmission path.

    -
    Source

    pub fn side(&self) -> Side

    Returns the side of the connection (client or server).

    -
    Source

    pub fn to_info(&self) -> ConnectionInfo

    Returns a connection info struct.

    +
    Source

    pub fn side(&self) -> Side

    Returns the side of the connection (client or server).

    +
    Source

    pub fn to_info(&self) -> ConnectionInfo

    Returns a connection info struct.

    A ConnectionInfo is a weak handle to the connection that does not keep the connection alive, but does allow to access some information about the connection and to wait for the connection to be closed.

    -
    Source§

    impl Connection<IncomingZeroRtt>

    Source

    pub fn alpn(&self) -> Option<Vec<u8>>

    Extracts the ALPN protocol from the peer’s handshake data.

    -
    Source

    pub async fn handshake_completed(&self) -> Result<Connection, ConnectingError>

    Waits until the full handshake occurs and then returns a Connection.

    +
    Source§

    impl Connection<IncomingZeroRtt>

    Source

    pub fn alpn(&self) -> Option<Vec<u8>>

    Extracts the ALPN protocol from the peer’s handshake data.

    +
    Source

    pub async fn handshake_completed(&self) -> Result<Connection, ConnectingError>

    Waits until the full handshake occurs and then returns a Connection.

    This may fail with ConnectingError::ConnectionError, if there was some general failure with the connection, such as a network timeout since we accepted the connection.

    @@ -126,8 +130,8 @@ doesn’t use the right TLS authentication, which usually every iroh endpoint uses and requires.

    Thus, those errors should only occur if someone connects to you with a modified iroh endpoint or with a plain QUIC client.

    -
    Source§

    impl Connection<OutgoingZeroRtt>

    Source

    pub fn alpn(&self) -> Option<Vec<u8>>

    Extracts the ALPN protocol from the peer’s handshake data.

    -
    Source

    pub async fn handshake_completed( +

    Source§

    impl Connection<OutgoingZeroRtt>

    Source

    pub fn alpn(&self) -> Option<Vec<u8>>

    Extracts the ALPN protocol from the peer’s handshake data.

    +
    Source

    pub async fn handshake_completed( &self, ) -> Result<ZeroRttStatus, ConnectingError>

    Waits until the full handshake occurs and returns a ZeroRttStatus.

    If ZeroRttStatus::Accepted is returned, than any streams created before @@ -143,9 +147,9 @@ doesn’t use the right TLS authentication, which usually every iroh endpoint uses and requires.

    Thus, those errors should only occur if someone connects to you with a modified iroh endpoint or with a plain QUIC client.

    -

    Trait Implementations§

    Source§

    impl<State: Clone + ConnectionState> Clone for Connection<State>
    where - State::Data: Clone,

    Source§

    fn clone(&self) -> Connection<State>

    Returns a duplicate 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<State: Debug + ConnectionState> Debug for Connection<State>
    where - State::Data: Debug,

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<State> Freeze for Connection<State>
    where +

    Trait Implementations§

    Source§

    impl<State: Clone + ConnectionState> Clone for Connection<State>
    where + State::Data: Clone,

    Source§

    fn clone(&self) -> Connection<State>

    Returns a duplicate 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<State: Debug + ConnectionState> Debug for Connection<State>
    where + State::Data: Debug,

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<State> Freeze for Connection<State>
    where <State as ConnectionState>::Data: Freeze,

    §

    impl<State> RefUnwindSafe for Connection<State>
    where <State as ConnectionState>::Data: RefUnwindSafe,

    §

    impl<State> Send for Connection<State>
    where <State as ConnectionState>::Data: Send,

    §

    impl<State> Sync for Connection<State>
    where @@ -184,5 +188,5 @@ modified iroh endpoint or with a plain QUIC client.

    U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    \ No newline at end of file +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.ConnectionClose.html b/pr/3734/docs/iroh/endpoint/struct.ConnectionClose.html index 0ed17a30c9..7062ca2a60 100644 --- a/pr/3734/docs/iroh/endpoint/struct.ConnectionClose.html +++ b/pr/3734/docs/iroh/endpoint/struct.ConnectionClose.html @@ -1,10 +1,11 @@ -ConnectionClose in iroh::endpoint - Rust

    ConnectionClose

    Struct ConnectionClose 

    pub struct ConnectionClose {
    +ConnectionClose in iroh::endpoint - Rust

    ConnectionClose

    Struct ConnectionClose 

    pub struct ConnectionClose {
         pub error_code: Code,
    -    pub frame_type: Option<FrameType>,
    +    pub frame_type: MaybeFrame,
         pub reason: Bytes,
    -}
    Expand description

    Reason given by the transport for closing the connection

    +}
    Expand description

    quinn_proto types that are used in the public iroh API. +Reason given by the transport for closing the connection

    Fields§

    §error_code: Code

    Class of error as encoded in the specification

    -
    §frame_type: Option<FrameType>

    Type of frame that caused the close

    +
    §frame_type: MaybeFrame

    Type of frame that caused the close

    §reason: Bytes

    Human-readable reason for the close

    Trait Implementations§

    §

    impl Clone for ConnectionClose

    §

    fn clone(&self) -> ConnectionClose

    Returns a duplicate 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 ConnectionClose

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for ConnectionClose

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl From<Error> for ConnectionClose

    §

    fn from(x: Error) -> ConnectionClose

    Converts to this type from the input type.
    §

    impl PartialEq for ConnectionClose

    §

    fn eq(&self, other: &ConnectionClose) -> 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 ConnectionClose

    §

    impl StructuralPartialEq for ConnectionClose

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where @@ -47,5 +48,5 @@ and should not be overridden without very good reason.

    TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.ConnectionInfo.html b/pr/3734/docs/iroh/endpoint/struct.ConnectionInfo.html index 79a69d7272..f9df40723a 100644 --- a/pr/3734/docs/iroh/endpoint/struct.ConnectionInfo.html +++ b/pr/3734/docs/iroh/endpoint/struct.ConnectionInfo.html @@ -1,7 +1,7 @@ -ConnectionInfo in iroh::endpoint - Rust

    ConnectionInfo

    Struct ConnectionInfo 

    Source
    pub struct ConnectionInfo { /* private fields */ }
    Expand description

    Information about a connection.

    +ConnectionInfo in iroh::endpoint - Rust

    ConnectionInfo

    Struct ConnectionInfo 

    Source
    pub struct ConnectionInfo { /* private fields */ }
    Expand description

    Information about a connection.

    A ConnectionInfo is a weak handle to a connection that exposes some information about the connection, but does not keep the connection alive.

    -

    Implementations§

    Source§

    impl ConnectionInfo

    Source

    pub fn alpn(&self) -> &[u8] ⓘ

    Source

    pub fn remote_id(&self) -> EndpointId

    Source

    pub fn is_alive(&self) -> bool

    Source

    pub fn paths( +

    Implementations§

    Source§

    impl ConnectionInfo

    Source

    pub fn alpn(&self) -> &[u8] ⓘ

    Source

    pub fn remote_id(&self) -> EndpointId

    Source

    pub fn is_alive(&self) -> bool

    Source

    pub fn paths( &self, ) -> impl Watcher<Value = PathInfoList> + Unpin + Send + Sync + 'static

    Returns a Watcher for the network paths of this connection.

    A connection can have several network paths to the remote endpoint, commonly there @@ -10,12 +10,12 @@ will be a path via the relay server and a holepunched path.

    for transmission changes (see PathInfo::is_selected).

    The PathInfoList returned from the watcher contains a PathInfo for each transmission path.

    -
    Source

    pub fn stats(&self) -> Option<ConnectionStats>

    Returns connection statistics.

    +
    Source

    pub fn stats(&self) -> Option<ConnectionStats>

    Returns connection statistics.

    Returns None if the connection has been dropped.

    -
    Source

    pub fn side(&self) -> Side

    Returns the side of the connection (client or server).

    -
    Source

    pub async fn closed(&self) -> Option<(ConnectionError, ConnectionStats)>

    Waits for the connection to be closed, and returns the close reason and final connection stats.

    +
    Source

    pub fn side(&self) -> Side

    Returns the side of the connection (client or server).

    +
    Source

    pub async fn closed(&self) -> Option<(ConnectionError, ConnectionStats)>

    Waits for the connection to be closed, and returns the close reason and final connection stats.

    Returns None if the connection has been dropped already before this call.

    -

    Trait Implementations§

    Source§

    impl Clone for ConnectionInfo

    Source§

    fn clone(&self) -> ConnectionInfo

    Returns a duplicate 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 ConnectionInfo

    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 ConnectionInfo

    Source§

    fn clone(&self) -> ConnectionInfo

    Returns a duplicate 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 ConnectionInfo

    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( @@ -48,5 +48,5 @@ transmission path.

    U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.ConnectionStats.html b/pr/3734/docs/iroh/endpoint/struct.ConnectionStats.html index d1431c9477..b266860228 100644 --- a/pr/3734/docs/iroh/endpoint/struct.ConnectionStats.html +++ b/pr/3734/docs/iroh/endpoint/struct.ConnectionStats.html @@ -1,9 +1,10 @@ -ConnectionStats in iroh::endpoint - Rust

    ConnectionStats

    Struct ConnectionStats 

    #[non_exhaustive]
    pub struct ConnectionStats { +ConnectionStats in iroh::endpoint - Rust

    ConnectionStats

    Struct ConnectionStats 

    #[non_exhaustive]
    pub struct ConnectionStats { pub udp_tx: UdpStats, pub udp_rx: UdpStats, pub frame_tx: FrameStats, pub frame_rx: FrameStats, -}
    Expand description

    Connection statistics

    +}
    Expand description

    quinn types that are used in the public iroh API. +Connection statistics

    Fields (Non-exhaustive)§

    This struct is marked as non-exhaustive
    Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
    §udp_tx: UdpStats

    Statistics about UDP datagrams transmitted on a connection

    §udp_rx: UdpStats

    Statistics about UDP datagrams received on a connection

    §frame_tx: FrameStats

    Statistics about frames transmitted on a connection

    @@ -41,5 +42,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.ControllerMetrics.html b/pr/3734/docs/iroh/endpoint/struct.ControllerMetrics.html new file mode 100644 index 0000000000..9605e9790d --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/struct.ControllerMetrics.html @@ -0,0 +1,40 @@ +ControllerMetrics in iroh::endpoint - Rust

    ControllerMetrics

    Struct ControllerMetrics 

    #[non_exhaustive]
    pub struct ControllerMetrics { + pub congestion_window: u64, + pub ssthresh: Option<u64>, + pub pacing_rate: Option<u64>, +}
    Expand description

    quinn_proto types that are used in the public iroh API. +Common congestion controller metrics

    +

    Fields (Non-exhaustive)§

    This struct is marked as non-exhaustive
    Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
    §congestion_window: u64

    Congestion window (bytes)

    +
    §ssthresh: Option<u64>

    Slow start threshold (bytes)

    +
    §pacing_rate: Option<u64>

    Pacing rate (bits/s)

    +

    Trait Implementations§

    §

    impl Debug for ControllerMetrics

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for ControllerMetrics

    §

    fn default() -> ControllerMetrics

    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( + self, + class: Class, + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CompatExt for T

    §

    fn compat(self) -> Compat<T>

    Applies the [Compat] adapter by value. Read more
    §

    fn compat_ref(&self) -> Compat<&T>

    Applies the [Compat] adapter by shared reference. Read more
    §

    fn compat_mut(&mut self) -> Compat<&mut T>

    Applies the [Compat] adapter by mutable reference. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +

    That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

    +
    §

    impl<T> Pointable for T

    §

    const ALIGN: usize

    The alignment of pointer.
    §

    type Init = T

    The type for initializers.
    §

    unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more
    §

    unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more
    §

    unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more
    §

    unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more
    §

    impl<T> PolicyExt for T
    where + T: ?Sized,

    §

    fn and<P, B, E>(self, other: P) -> And<T, P>
    where + T: Policy<B, E>, + P: Policy<B, E>,

    Create a new Policy that returns [Action::Follow] only if self and other return +Action::Follow. Read more
    §

    fn or<P, B, E>(self, other: P) -> Or<T, P>
    where + T: Policy<B, E>, + P: Policy<B, E>,

    Create a new Policy that returns [Action::Follow] if either self or other returns +Action::Follow. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.CryptoError.html b/pr/3734/docs/iroh/endpoint/struct.CryptoError.html index 9156f338c4..3c496f5eae 100644 --- a/pr/3734/docs/iroh/endpoint/struct.CryptoError.html +++ b/pr/3734/docs/iroh/endpoint/struct.CryptoError.html @@ -1,4 +1,5 @@ -CryptoError in iroh::endpoint - Rust

    CryptoError

    Struct CryptoError 

    pub struct CryptoError;
    Expand description

    Generic crypto errors

    +CryptoError in iroh::endpoint - Rust

    CryptoError

    Struct CryptoError 

    pub struct CryptoError;
    Expand description

    quinn_proto types that are used in the public iroh API. +Generic crypto errors

    Trait Implementations§

    §

    impl Debug for CryptoError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl From<Unspecified> for CryptoError

    §

    fn from(_: Unspecified) -> CryptoError

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where @@ -28,5 +29,5 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.DirectAddr.html b/pr/3734/docs/iroh/endpoint/struct.DirectAddr.html index 6c8c21fd7c..8a51eacd82 100644 --- a/pr/3734/docs/iroh/endpoint/struct.DirectAddr.html +++ b/pr/3734/docs/iroh/endpoint/struct.DirectAddr.html @@ -1,4 +1,4 @@ -DirectAddr in iroh::endpoint - Rust

    DirectAddr

    Struct DirectAddr 

    Source
    pub struct DirectAddr {
    +DirectAddr in iroh::endpoint - Rust

    DirectAddr

    Struct DirectAddr 

    Source
    pub struct DirectAddr {
         pub addr: SocketAddr,
         pub typ: DirectAddrType,
     }
    Expand description

    A direct address on which an iroh-endpoint might be contactable.

    @@ -9,16 +9,16 @@ iroh endpoint, see Fields§§addr: SocketAddr

    The address.

    §typ: DirectAddrType

    The origin of this direct address.

    -

    Trait Implementations§

    Source§

    impl Clone for DirectAddr

    Source§

    fn clone(&self) -> DirectAddr

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for DirectAddr

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for DirectAddr

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    Trait Implementations§

    Source§

    impl Clone for DirectAddr

    Source§

    fn clone(&self) -> DirectAddr

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for DirectAddr

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for DirectAddr

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Ord for DirectAddr

    Source§

    fn cmp(&self, other: &DirectAddr) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Ord for DirectAddr

    Source§

    fn cmp(&self, other: &DirectAddr) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · Source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · Source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    Source§

    impl PartialEq for DirectAddr

    Source§

    fn eq(&self, other: &DirectAddr) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl PartialOrd for DirectAddr

    Source§

    fn partial_cmp(&self, other: &DirectAddr) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · Source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · Source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,
    Restrict a value to a certain interval. Read more
    Source§

    impl PartialEq for DirectAddr

    Source§

    fn eq(&self, other: &DirectAddr) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl PartialOrd for DirectAddr

    Source§

    fn partial_cmp(&self, other: &DirectAddr) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · Source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · Source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · Source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · Source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    Source§

    impl Eq for DirectAddr

    Source§

    impl StructuralPartialEq for DirectAddr

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +the >= operator. Read more

    Source§

    impl Eq for DirectAddr

    Source§

    impl StructuralPartialEq for DirectAddr

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -57,5 +57,5 @@ the >= operator. TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.Endpoint.html b/pr/3734/docs/iroh/endpoint/struct.Endpoint.html index 5b65d7cce2..6f6ea0133b 100644 --- a/pr/3734/docs/iroh/endpoint/struct.Endpoint.html +++ b/pr/3734/docs/iroh/endpoint/struct.Endpoint.html @@ -1,4 +1,4 @@ -Endpoint in iroh::endpoint - Rust

    Endpoint

    Struct Endpoint 

    Source
    pub struct Endpoint { /* private fields */ }
    Expand description

    Controls an iroh endpoint, establishing connections with other endpoints.

    +Endpoint in iroh::endpoint - Rust

    Endpoint

    Struct Endpoint 

    Source
    pub struct Endpoint { /* private fields */ }
    Expand description

    Controls an iroh endpoint, establishing connections with other endpoints.

    This is the main API interface to create connections to, and accept connections from other iroh endpoints. 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,24 +16,24 @@ the peer are created using the Connection::open_uni and Connection::open_bi functions.

    Note that due to the light-weight properties of streams a stream will only be accepted once the initiating peer has sent some data on it.

    -

    Implementations§

    Source§

    impl Endpoint

    Source

    pub fn builder() -> Builder

    Returns the builder for an Endpoint, with a production configuration.

    +

    Implementations§

    Source§

    impl Endpoint

    Source

    pub fn builder() -> Builder

    Returns the builder for an Endpoint, with a production configuration.

    This uses the presets::N0 as the configuration.

    -
    Source

    pub fn empty_builder(relay_mode: RelayMode) -> Builder

    Returns the builder for an Endpoint, with an empty configuration.

    +
    Source

    pub fn empty_builder(relay_mode: RelayMode) -> Builder

    Returns the builder for an Endpoint, with an empty configuration.

    See Builder::empty for details.

    -
    Source

    pub async fn bind() -> Result<Self, BindError>

    Constructs a default Endpoint and binds it immediately.

    +
    Source

    pub async fn bind() -> Result<Self, BindError>

    Constructs a default Endpoint and binds it immediately.

    Uses the presets::N0 as configuration.

    -
    Source

    pub fn set_alpns(&self, alpns: Vec<Vec<u8>>)

    Sets the list of accepted ALPN protocols.

    +
    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 insert_relay( +

    Source

    pub async fn insert_relay( &self, relay: RelayUrl, config: Arc<RelayConfig>, ) -> Option<Arc<RelayConfig>>

    Adds the provided configuration to the RelayMap.

    Replacing and returning any existing configuration for RelayUrl.

    -
    Source

    pub async fn remove_relay(&self, relay: &RelayUrl) -> Option<Arc<RelayConfig>>

    Removes the configuration from the RelayMap for the provided RelayUrl.

    +
    Source

    pub async fn remove_relay(&self, relay: &RelayUrl) -> Option<Arc<RelayConfig>>

    Removes the configuration from the RelayMap for the provided RelayUrl.

    Returns any existing configuration.

    -
    Source

    pub async fn connect( +

    Source

    pub async fn connect( &self, endpoint_addr: impl Into<EndpointAddr>, alpn: &[u8], @@ -53,7 +53,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, endpoint_addr: impl Into<EndpointAddr>, alpn: &[u8], @@ -73,17 +73,17 @@ 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 id(&self) -> EndpointId

    Returns the endpoint id of this endpoint.

    +
    Source

    pub fn secret_key(&self) -> &SecretKey

    Returns the secret_key of this endpoint.

    +
    Source

    pub fn id(&self) -> EndpointId

    Returns the endpoint id of this endpoint.

    This ID is the unique addressing information of this endpoint and other peers must know it to be able to connect to this endpoint.

    -
    Source

    pub fn addr(&self) -> EndpointAddr

    Returns the current EndpointAddr. +

    Source

    pub fn addr(&self) -> EndpointAddr

    Returns the current EndpointAddr. As long as the endpoint was able to bind to a network interface, some local addresses will be available.

    The state of other fields depends on the state of networking and connectivity. @@ -93,7 +93,7 @@ to ensure that the EndpointAddr will contain enough information to to be dialable by a remote endpoint over the internet.

    You can use the Endpoint::watch_addr method to get updates when the EndpointAddr changes.

    -
    Source

    pub fn watch_addr(&self) -> impl Watcher<Value = EndpointAddr> + use<>

    Available on non-wasm_browser only.

    Returns a Watcher for the current EndpointAddr for this endpoint.

    +
    Source

    pub fn watch_addr(&self) -> impl Watcher<Value = EndpointAddr> + use<>

    Available on non-wasm_browser only.

    Returns a Watcher for the current EndpointAddr for this endpoint.

    The observed EndpointAddr will have the current RelayUrl and direct addresses.

    use iroh::{Endpoint, Watcher};
    @@ -117,26 +117,26 @@ on the internet.

  • the endpoint changes its preferred relay server
  • more addresses are discovered for this endpoint
  • -
    Source

    pub async fn online(&self)

    A convenience method that waits for the endpoint to be considered “online”.

    +
    Source

    pub async fn online(&self)

    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. We recommend using a timeout close to -crate::net_report::TIMEOUT, so you can be sure that at least one -crate::net_report::Report has been attempted.

    +crate::NET_REPORT_TIMEOUTs, so you can be sure that at least one +crate::NetReport has been attempted.

    To understand if the endpoint has gone back “offline”, you must use the Endpoint::watch_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.

    +
    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 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:

    @@ -206,7 +206,13 @@ registry.write().unwrap().register_all(endpoint.metrics()); .std_context("text")?; 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.

    +assert!(res.contains(r#"magicsock_recv_datagrams_total 0"#));
    Source

    pub async fn remote_info(&self, endpoint_id: EndpointId) -> Option<RemoteInfo>

    Returns addressing information about a recently used remote endpoint.

    +

    The returned RemoteInfo contains a list of all transport addresses for the remote +that we know about. This is a snapshot in time and not a watcher.

    +

    Returns None if the endpoint doesn’t have information about the remote. +When remote endpoints are no longer used, our endpoint will keep information around +for a little while, and then drop it. Afterwards, this will return None.

    +
    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 @@ -214,12 +220,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 endpoint.

    +
    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 endpoint.

    If the user-defined data passed to this function is different to the previous one, the endpoint will republish its endpoint 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.

    @@ -245,8 +251,14 @@ 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 duplicate 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.

    +
    Source

    pub fn create_server_config_builder( + &self, + alpns: Vec<Vec<u8>>, +) -> ServerConfigBuilder

    Create a ServerConfigBuilder for this endpoint that includes the given alpns.

    +

    Use the ServerConfigBuilder to customize the ServerConfig connection configuration +for a connection accepted using the Incoming::accept_with method.

    +

    Trait Implementations§

    Source§

    impl Clone for Endpoint

    Source§

    fn clone(&self) -> Endpoint

    Returns a duplicate 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( @@ -279,5 +291,5 @@ the the respective TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.ExportKeyingMaterialError.html b/pr/3734/docs/iroh/endpoint/struct.ExportKeyingMaterialError.html index 5419bf2f8d..6293a2330a 100644 --- a/pr/3734/docs/iroh/endpoint/struct.ExportKeyingMaterialError.html +++ b/pr/3734/docs/iroh/endpoint/struct.ExportKeyingMaterialError.html @@ -1,4 +1,5 @@ -ExportKeyingMaterialError in iroh::endpoint - Rust

    ExportKeyingMaterialError

    Struct ExportKeyingMaterialError 

    pub struct ExportKeyingMaterialError;
    Expand description

    Error returned by [Session::export_keying_material].

    +ExportKeyingMaterialError in iroh::endpoint - Rust

    ExportKeyingMaterialError

    Struct ExportKeyingMaterialError 

    pub struct ExportKeyingMaterialError;
    Expand description

    quinn_proto types that are used in the public iroh API. +Error returned by [Session::export_keying_material].

    This error occurs if the requested output length is too large.

    Trait Implementations§

    §

    impl Debug for ExportKeyingMaterialError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for ExportKeyingMaterialError

    §

    fn eq(&self, other: &ExportKeyingMaterialError) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    §

    impl Eq for ExportKeyingMaterialError

    §

    impl StructuralPartialEq for ExportKeyingMaterialError

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where @@ -34,5 +35,5 @@ and should not be overridden without very good reason.

    TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.FrameStats.html b/pr/3734/docs/iroh/endpoint/struct.FrameStats.html index 7e7c383410..5955b1d8d3 100644 --- a/pr/3734/docs/iroh/endpoint/struct.FrameStats.html +++ b/pr/3734/docs/iroh/endpoint/struct.FrameStats.html @@ -1,4 +1,4 @@ -FrameStats in iroh::endpoint - Rust

    FrameStats

    Struct FrameStats 

    #[non_exhaustive]
    pub struct FrameStats {
    Show 37 fields +FrameStats in iroh::endpoint - Rust

    FrameStats

    Struct FrameStats 

    #[non_exhaustive]
    pub struct FrameStats {
    Show 37 fields pub acks: u64, pub path_acks: u64, pub ack_frequency: u64, @@ -28,16 +28,17 @@ pub stream: u64, pub observed_addr: u64, pub path_abandon: u64, - pub path_available: u64, - pub path_backup: u64, + pub path_status_available: u64, + pub path_status_backup: u64, pub max_path_id: u64, pub paths_blocked: u64, pub path_cids_blocked: u64, pub add_address: u64, pub reach_out: u64, pub remove_address: u64, -
    }
    Expand description

    Number of frames transmitted or received of each frame type

    -

    Fields (Non-exhaustive)§

    This struct is marked as non-exhaustive
    Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
    §acks: u64§path_acks: u64§ack_frequency: u64§crypto: u64§connection_close: u64§data_blocked: u64§datagram: u64§handshake_done: u8§immediate_ack: u64§max_data: u64§max_stream_data: u64§max_streams_bidi: u64§max_streams_uni: u64§new_connection_id: u64§path_new_connection_id: u64§new_token: u64§path_challenge: u64§path_response: u64§ping: u64§reset_stream: u64§retire_connection_id: u64§path_retire_connection_id: u64§stream_data_blocked: u64§streams_blocked_bidi: u64§streams_blocked_uni: u64§stop_sending: u64§stream: u64§observed_addr: u64§path_abandon: u64§path_available: u64§path_backup: u64§max_path_id: u64§paths_blocked: u64§path_cids_blocked: u64§add_address: u64§reach_out: u64§remove_address: u64

    Trait Implementations§

    §

    impl Clone for FrameStats

    §

    fn clone(&self) -> FrameStats

    Returns a duplicate 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 FrameStats

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for FrameStats

    §

    fn default() -> FrameStats

    Returns the “default value” for a type. Read more
    §

    impl Copy for FrameStats

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    }
    Expand description

    quinn_proto types that are used in the public iroh API. +Number of frames transmitted or received of each frame type

    +

    Fields (Non-exhaustive)§

    This struct is marked as non-exhaustive
    Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
    §acks: u64§path_acks: u64§ack_frequency: u64§crypto: u64§connection_close: u64§data_blocked: u64§datagram: u64§handshake_done: u8§immediate_ack: u64§max_data: u64§max_stream_data: u64§max_streams_bidi: u64§max_streams_uni: u64§new_connection_id: u64§path_new_connection_id: u64§new_token: u64§path_challenge: u64§path_response: u64§ping: u64§reset_stream: u64§retire_connection_id: u64§path_retire_connection_id: u64§stream_data_blocked: u64§streams_blocked_bidi: u64§streams_blocked_uni: u64§stop_sending: u64§stream: u64§observed_addr: u64§path_abandon: u64§path_status_available: u64§path_status_backup: u64§max_path_id: u64§paths_blocked: u64§path_cids_blocked: u64§add_address: u64§reach_out: u64§remove_address: u64

    Trait Implementations§

    §

    impl Clone for FrameStats

    §

    fn clone(&self) -> FrameStats

    Returns a duplicate 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 FrameStats

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for FrameStats

    §

    fn default() -> FrameStats

    Returns the “default value” for a type. Read more
    §

    impl Copy for FrameStats

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -70,5 +71,5 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.HandshakeCompleted.html b/pr/3734/docs/iroh/endpoint/struct.HandshakeCompleted.html index 31a4113a96..6adeb23fcd 100644 --- a/pr/3734/docs/iroh/endpoint/struct.HandshakeCompleted.html +++ b/pr/3734/docs/iroh/endpoint/struct.HandshakeCompleted.html @@ -1,5 +1,5 @@ -HandshakeCompleted in iroh::endpoint - Rust

    HandshakeCompleted

    Struct HandshakeCompleted 

    Source
    pub struct HandshakeCompleted;
    Expand description

    Marker type for a connection that has completed the handshake.

    -

    Trait Implementations§

    Source§

    impl Clone for HandshakeCompleted

    Source§

    fn clone(&self) -> HandshakeCompleted

    Returns a duplicate 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 ConnectionState for HandshakeCompleted

    Source§

    type Data = HandshakeCompletedData

    State-specific data stored in the Connection.
    Source§

    impl Debug for HandshakeCompleted

    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 +HandshakeCompleted in iroh::endpoint - Rust

    HandshakeCompleted

    Struct HandshakeCompleted 

    Source
    pub struct HandshakeCompleted;
    Expand description

    Marker type for a connection that has completed the handshake.

    +

    Trait Implementations§

    Source§

    impl Clone for HandshakeCompleted

    Source§

    fn clone(&self) -> HandshakeCompleted

    Returns a duplicate 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 ConnectionState for HandshakeCompleted

    Source§

    type Data = HandshakeCompletedData

    State-specific data stored in the Connection.
    Source§

    impl Debug for HandshakeCompleted

    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( @@ -32,5 +32,5 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.IdleTimeout.html b/pr/3734/docs/iroh/endpoint/struct.IdleTimeout.html index ae4d6f91b3..4eb8cdddc1 100644 --- a/pr/3734/docs/iroh/endpoint/struct.IdleTimeout.html +++ b/pr/3734/docs/iroh/endpoint/struct.IdleTimeout.html @@ -1,4 +1,5 @@ -IdleTimeout in iroh::endpoint - Rust

    IdleTimeout

    Struct IdleTimeout 

    pub struct IdleTimeout(/* private fields */);
    Expand description

    Maximum duration of inactivity to accept before timing out the connection

    +IdleTimeout in iroh::endpoint - Rust

    IdleTimeout

    Struct IdleTimeout 

    pub struct IdleTimeout(/* private fields */);
    Expand description

    quinn types that are used in the public iroh API. +Maximum duration of inactivity to accept before timing out the connection

    This wraps an underlying VarInt, representing the duration in milliseconds. Values can be constructed by converting directly from VarInt, or using TryFrom<Duration>.

    @@ -57,5 +58,5 @@ the >= operator. TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.Incoming.html b/pr/3734/docs/iroh/endpoint/struct.Incoming.html index 1c5b734ac7..87bc9f2f27 100644 --- a/pr/3734/docs/iroh/endpoint/struct.Incoming.html +++ b/pr/3734/docs/iroh/endpoint/struct.Incoming.html @@ -1,29 +1,31 @@ -Incoming in iroh::endpoint - Rust

    Incoming

    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

    Incoming

    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<Accepting, ConnectionError>

    Attempts to accept this incoming connection (an error may still occur).

    +

    Implementations§

    Source§

    impl Incoming

    Source

    pub fn accept(self) -> Result<Accepting, 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<Accepting, ConnectionError>

    Accepts this incoming connection using a custom configuration.

    +

    Use the Endpoint::create_server_config_builder method to create a ServerConfigBuilder +to customize a ServerConfig.

    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, ConnectingError>

    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, ConnectingError>

    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( @@ -52,5 +54,5 @@ traffic sent to self.remote_address().

    U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.IncomingZeroRtt.html b/pr/3734/docs/iroh/endpoint/struct.IncomingZeroRtt.html index a0c8e1203f..2f09e86abe 100644 --- a/pr/3734/docs/iroh/endpoint/struct.IncomingZeroRtt.html +++ b/pr/3734/docs/iroh/endpoint/struct.IncomingZeroRtt.html @@ -1,5 +1,5 @@ -IncomingZeroRtt in iroh::endpoint - Rust

    IncomingZeroRtt

    Struct IncomingZeroRtt 

    Source
    pub struct IncomingZeroRtt;
    Expand description

    Marker type for a connection that is in the incoming 0-RTT state.

    -

    Trait Implementations§

    Source§

    impl Clone for IncomingZeroRtt

    Source§

    fn clone(&self) -> IncomingZeroRtt

    Returns a duplicate 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 ConnectionState for IncomingZeroRtt

    Source§

    type Data = IncomingZeroRttData

    State-specific data stored in the Connection.
    Source§

    impl Debug for IncomingZeroRtt

    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 +IncomingZeroRtt in iroh::endpoint - Rust

    IncomingZeroRtt

    Struct IncomingZeroRtt 

    Source
    pub struct IncomingZeroRtt;
    Expand description

    Marker type for a connection that is in the incoming 0-RTT state.

    +

    Trait Implementations§

    Source§

    impl Clone for IncomingZeroRtt

    Source§

    fn clone(&self) -> IncomingZeroRtt

    Returns a duplicate 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 ConnectionState for IncomingZeroRtt

    Source§

    type Data = IncomingZeroRttData

    State-specific data stored in the Connection.
    Source§

    impl Debug for IncomingZeroRtt

    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( @@ -32,5 +32,5 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.Keys.html b/pr/3734/docs/iroh/endpoint/struct.Keys.html new file mode 100644 index 0000000000..4c9ab02572 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/struct.Keys.html @@ -0,0 +1,38 @@ +Keys in iroh::endpoint - Rust

    Keys

    Struct Keys 

    pub struct Keys {
    +    pub header: KeyPair<Box<dyn HeaderKey>>,
    +    pub packet: KeyPair<Box<dyn PacketKey>>,
    +}
    Expand description

    quinn_proto types that are used in the public iroh API. +A complete set of keys for a certain packet space

    +

    Fields§

    §header: KeyPair<Box<dyn HeaderKey>>

    Header protection keys

    +
    §packet: KeyPair<Box<dyn PacketKey>>

    Packet protection keys

    +

    Auto Trait Implementations§

    §

    impl Freeze for Keys

    §

    impl !RefUnwindSafe for Keys

    §

    impl Send for Keys

    §

    impl Sync for Keys

    §

    impl Unpin for Keys

    §

    impl !UnwindSafe for Keys

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn implicit( + self, + class: Class, + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CompatExt for T

    §

    fn compat(self) -> Compat<T>

    Applies the [Compat] adapter by value. Read more
    §

    fn compat_ref(&self) -> Compat<&T>

    Applies the [Compat] adapter by shared reference. Read more
    §

    fn compat_mut(&mut self) -> Compat<&mut T>

    Applies the [Compat] adapter by mutable reference. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +

    That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

    +
    §

    impl<T> Pointable for T

    §

    const ALIGN: usize

    The alignment of pointer.
    §

    type Init = T

    The type for initializers.
    §

    unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more
    §

    unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more
    §

    unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more
    §

    unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more
    §

    impl<T> PolicyExt for T
    where + T: ?Sized,

    §

    fn and<P, B, E>(self, other: P) -> And<T, P>
    where + T: Policy<B, E>, + P: Policy<B, E>,

    Create a new Policy that returns [Action::Follow] only if self and other return +Action::Follow. Read more
    §

    fn or<P, B, E>(self, other: P) -> Or<T, P>
    where + T: Policy<B, E>, + P: Policy<B, E>,

    Create a new Policy that returns [Action::Follow] if either self or other returns +Action::Follow. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.MtuDiscoveryConfig.html b/pr/3734/docs/iroh/endpoint/struct.MtuDiscoveryConfig.html index 3083f77888..8a12188f0d 100644 --- a/pr/3734/docs/iroh/endpoint/struct.MtuDiscoveryConfig.html +++ b/pr/3734/docs/iroh/endpoint/struct.MtuDiscoveryConfig.html @@ -1,4 +1,5 @@ -MtuDiscoveryConfig in iroh::endpoint - Rust

    MtuDiscoveryConfig

    Struct MtuDiscoveryConfig 

    pub struct MtuDiscoveryConfig { /* private fields */ }
    Expand description

    Parameters governing MTU discovery.

    +MtuDiscoveryConfig in iroh::endpoint - Rust

    MtuDiscoveryConfig

    Struct MtuDiscoveryConfig 

    pub struct MtuDiscoveryConfig { /* private fields */ }
    Expand description

    quinn types that are used in the public iroh API. +Parameters governing MTU discovery.

    §The why of MTU discovery

    By design, QUIC ensures during the handshake that the network path between the client and the server is able to transmit unfragmented UDP packets with a body of 1200 bytes. In other words, @@ -93,5 +94,5 @@ Defaults to 20.

    U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.OpenBi.html b/pr/3734/docs/iroh/endpoint/struct.OpenBi.html index 2b18284b9c..3e0f3be7fd 100644 --- a/pr/3734/docs/iroh/endpoint/struct.OpenBi.html +++ b/pr/3734/docs/iroh/endpoint/struct.OpenBi.html @@ -1,4 +1,5 @@ -OpenBi in iroh::endpoint - Rust

    OpenBi

    Struct OpenBi 

    pub struct OpenBi<'a> { /* private fields */ }
    Expand description

    Future produced by [Connection::open_bi]

    +OpenBi in iroh::endpoint - Rust

    OpenBi

    Struct OpenBi 

    pub struct OpenBi<'a> { /* private fields */ }
    Expand description

    quinn types that are used in the public iroh API. +Future produced by [Connection::open_bi]

    Trait Implementations§

    §

    impl Future for OpenBi<'_>

    §

    type Output = Result<(SendStream, RecvStream), ConnectionError>

    The type of value produced on completion.
    §

    fn poll( self: Pin<&mut OpenBi<'_>>, ctx: &mut Context<'_>, @@ -149,5 +150,5 @@ future types.

    TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.OpenUni.html b/pr/3734/docs/iroh/endpoint/struct.OpenUni.html index f64990d2ee..d9a3074024 100644 --- a/pr/3734/docs/iroh/endpoint/struct.OpenUni.html +++ b/pr/3734/docs/iroh/endpoint/struct.OpenUni.html @@ -1,4 +1,5 @@ -OpenUni in iroh::endpoint - Rust

    OpenUni

    Struct OpenUni 

    pub struct OpenUni<'a> { /* private fields */ }
    Expand description

    Future produced by [Connection::open_uni]

    +OpenUni in iroh::endpoint - Rust

    OpenUni

    Struct OpenUni 

    pub struct OpenUni<'a> { /* private fields */ }
    Expand description

    quinn types that are used in the public iroh API. +Future produced by [Connection::open_uni]

    Trait Implementations§

    §

    impl Future for OpenUni<'_>

    §

    type Output = Result<SendStream, ConnectionError>

    The type of value produced on completion.
    §

    fn poll( self: Pin<&mut OpenUni<'_>>, ctx: &mut Context<'_>, @@ -149,5 +150,5 @@ future types.

    TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.OutgoingZeroRtt.html b/pr/3734/docs/iroh/endpoint/struct.OutgoingZeroRtt.html index 65284ed462..1aa4e18f32 100644 --- a/pr/3734/docs/iroh/endpoint/struct.OutgoingZeroRtt.html +++ b/pr/3734/docs/iroh/endpoint/struct.OutgoingZeroRtt.html @@ -1,5 +1,5 @@ -OutgoingZeroRtt in iroh::endpoint - Rust

    OutgoingZeroRtt

    Struct OutgoingZeroRtt 

    Source
    pub struct OutgoingZeroRtt;
    Expand description

    Marker type for a connection that is in the outgoing 0-RTT state.

    -

    Trait Implementations§

    Source§

    impl Clone for OutgoingZeroRtt

    Source§

    fn clone(&self) -> OutgoingZeroRtt

    Returns a duplicate 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 ConnectionState for OutgoingZeroRtt

    Source§

    type Data = OutgoingZeroRttData

    State-specific data stored in the Connection.
    Source§

    impl Debug for OutgoingZeroRtt

    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 +OutgoingZeroRtt in iroh::endpoint - Rust

    OutgoingZeroRtt

    Struct OutgoingZeroRtt 

    Source
    pub struct OutgoingZeroRtt;
    Expand description

    Marker type for a connection that is in the outgoing 0-RTT state.

    +

    Trait Implementations§

    Source§

    impl Clone for OutgoingZeroRtt

    Source§

    fn clone(&self) -> OutgoingZeroRtt

    Returns a duplicate 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 ConnectionState for OutgoingZeroRtt

    Source§

    type Data = OutgoingZeroRttData

    State-specific data stored in the Connection.
    Source§

    impl Debug for OutgoingZeroRtt

    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( @@ -32,5 +32,5 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.PathId.html b/pr/3734/docs/iroh/endpoint/struct.PathId.html new file mode 100644 index 0000000000..cd549d507f --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/struct.PathId.html @@ -0,0 +1,65 @@ +PathId in iroh::endpoint - Rust

    PathId

    Struct PathId 

    pub struct PathId(/* private fields */);
    Expand description

    quinn_proto types that are used in the public iroh API. +Id representing different paths when using multipath extension

    +

    Implementations§

    §

    impl PathId

    pub const MAX: PathId

    The maximum path ID allowed.

    +

    pub const ZERO: PathId

    The 0 path id.

    +

    pub fn saturating_add(self, rhs: impl Into<PathId>) -> PathId

    Saturating integer addition. Computes self + rhs, saturating at the numeric bounds instead +of overflowing.

    +

    pub fn saturating_sub(self, rhs: impl Into<PathId>) -> PathId

    Saturating integer subtraction. Computes self - rhs, saturating at the numeric bounds +instead of overflowing.

    +

    Trait Implementations§

    §

    impl Clone for PathId

    §

    fn clone(&self) -> PathId

    Returns a duplicate 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 PathId

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Decodable for PathId

    §

    fn decode<B>(r: &mut B) -> Result<PathId, UnexpectedEnd>
    where + B: Buf,

    Decode a Self from the provided buffer, if the buffer is large enough
    §

    impl Default for PathId

    §

    fn default() -> PathId

    Returns the “default value” for a type. Read more
    §

    impl Display for PathId

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Encodable for PathId

    §

    fn encode<B>(&self, w: &mut B)
    where + B: BufMut,

    Append the encoding of self to the provided buffer.
    §

    impl<T> From<T> for PathId
    where + T: Into<u32>,

    §

    fn from(source: T) -> PathId

    Converts to this type from the input type.
    §

    impl Hash for PathId

    §

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl Ord for PathId

    §

    fn cmp(&self, other: &PathId) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · Source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · Source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized,

    Restrict a value to a certain interval. Read more
    §

    impl PartialEq for PathId

    §

    fn eq(&self, other: &PathId) -> 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 PartialOrd for PathId

    §

    fn partial_cmp(&self, other: &PathId) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · Source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · Source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
    1.0.0 · Source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > +operator. Read more
    1.0.0 · Source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
    §

    impl Copy for PathId

    §

    impl Eq for PathId

    §

    impl IdentityHashable for PathId

    §

    impl StructuralPartialEq for PathId

    Auto Trait Implementations§

    §

    impl Freeze for PathId

    §

    impl RefUnwindSafe for PathId

    §

    impl Send for PathId

    §

    impl Sync for PathId

    §

    impl Unpin for PathId

    §

    impl UnwindSafe for PathId

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn implicit( + self, + class: Class, + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dest: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dest. Read more
    §

    impl<Q, K> Comparable<K> for Q
    where + Q: Ord + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn compare(&self, key: &K) -> Ordering

    Compare self to key and return their ordering.
    §

    impl<T> CompatExt for T

    §

    fn compat(self) -> Compat<T>

    Applies the [Compat] adapter by value. Read more
    §

    fn compat_ref(&self) -> Compat<&T>

    Applies the [Compat] adapter by shared reference. Read more
    §

    fn compat_mut(&mut self) -> Compat<&mut T>

    Applies the [Compat] adapter by mutable reference. Read more
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Q
    where + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §

    impl<T> FromRef<T> for T
    where + T: Clone,

    §

    fn from_ref(input: &T) -> T

    Converts to this type from a reference to the input type.
    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +

    That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

    +
    §

    impl<T> Pointable for T

    §

    const ALIGN: usize

    The alignment of pointer.
    §

    type Init = T

    The type for initializers.
    §

    unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more
    §

    unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more
    §

    unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more
    §

    unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more
    §

    impl<T> PolicyExt for T
    where + T: ?Sized,

    §

    fn and<P, B, E>(self, other: P) -> And<T, P>
    where + T: Policy<B, E>, + P: Policy<B, E>,

    Create a new Policy that returns [Action::Follow] only if self and other return +Action::Follow. Read more
    §

    fn or<P, B, E>(self, other: P) -> Or<T, P>
    where + T: Policy<B, E>, + P: Policy<B, E>,

    Create a new Policy that returns [Action::Follow] if either self or other returns +Action::Follow. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    fn to_string(&self) -> String

    Converts the given value to a String. Read more
    §

    impl<T> ToStringFallible for T
    where + T: Display,

    §

    fn try_to_string(&self) -> Result<String, TryReserveError>

    ToString::to_string, but without panic on OOM.

    +
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.PathInfo.html b/pr/3734/docs/iroh/endpoint/struct.PathInfo.html index 5584d8fc43..89e79b4759 100644 --- a/pr/3734/docs/iroh/endpoint/struct.PathInfo.html +++ b/pr/3734/docs/iroh/endpoint/struct.PathInfo.html @@ -1,12 +1,12 @@ -PathInfo in iroh::endpoint - Rust

    PathInfo

    Struct PathInfo 

    Source
    pub struct PathInfo { /* private fields */ }
    Expand description

    Information about a network path used by a Connection.

    -

    Implementations§

    Source§

    impl PathInfo

    Source

    pub fn remote_addr(&self) -> &TransportAddr

    The remote transport address used by this network path.

    -
    Source

    pub fn is_selected(&self) -> bool

    Returns true if this path is currently the main transmission path for this Connection.

    -
    Source

    pub fn is_ip(&self) -> bool

    Whether this is an IP transport address.

    -
    Source

    pub fn is_relay(&self) -> bool

    Whether this is a transport address via a relay server.

    -
    Source

    pub fn stats(&self) -> PathStats

    Returns stats for this transmission path.

    -
    Source

    pub fn rtt(&self) -> Duration

    Current best estimate of this paths’s latency (round-trip-time)

    -

    Trait Implementations§

    Source§

    impl Clone for PathInfo

    Source§

    fn clone(&self) -> PathInfo

    Returns a duplicate 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 PathInfo

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl PartialEq for PathInfo

    Source§

    fn eq(&self, other: &Self) -> 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 PathInfo

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +PathInfo in iroh::endpoint - Rust

    PathInfo

    Struct PathInfo 

    Source
    pub struct PathInfo { /* private fields */ }
    Expand description

    Information about a network path used by a Connection.

    +

    Implementations§

    Source§

    impl PathInfo

    Source

    pub fn remote_addr(&self) -> &TransportAddr

    The remote transport address used by this network path.

    +
    Source

    pub fn is_selected(&self) -> bool

    Returns true if this path is currently the main transmission path for this Connection.

    +
    Source

    pub fn is_ip(&self) -> bool

    Whether this is an IP transport address.

    +
    Source

    pub fn is_relay(&self) -> bool

    Whether this is a transport address via a relay server.

    +
    Source

    pub fn stats(&self) -> PathStats

    Returns stats for this transmission path.

    +
    Source

    pub fn rtt(&self) -> Duration

    Current best estimate of this paths’s latency (round-trip-time)

    +

    Trait Implementations§

    Source§

    impl Clone for PathInfo

    Source§

    fn clone(&self) -> PathInfo

    Returns a duplicate 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 PathInfo

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl PartialEq for PathInfo

    Source§

    fn eq(&self, other: &Self) -> 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 PathInfo

    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( @@ -43,5 +43,5 @@ and should not be overridden without very good reason.

    TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.PathInfoList.html b/pr/3734/docs/iroh/endpoint/struct.PathInfoList.html index f4124d2a00..e3c5892c72 100644 --- a/pr/3734/docs/iroh/endpoint/struct.PathInfoList.html +++ b/pr/3734/docs/iroh/endpoint/struct.PathInfoList.html @@ -1,11 +1,11 @@ -PathInfoList in iroh::endpoint - Rust

    PathInfoList

    Struct PathInfoList 

    Source
    pub struct PathInfoList(/* private fields */);
    Expand description

    List of PathInfo for the network paths of a Connection.

    +PathInfoList in iroh::endpoint - Rust

    PathInfoList

    Struct PathInfoList 

    Source
    pub struct PathInfoList(/* private fields */);
    Expand description

    List of PathInfo for the network paths of a Connection.

    This struct implements IntoIterator.

    -

    Implementations§

    Source§

    impl PathInfoList

    Source

    pub fn iter(&self) -> impl Iterator<Item = &PathInfo>

    Returns an iterator over the path infos.

    -
    Source

    pub fn is_empty(&self) -> bool

    Returns true if the list is empty.

    -
    Source

    pub fn len(&self) -> usize

    Returns the number of paths.

    -

    Trait Implementations§

    Source§

    impl Clone for PathInfoList

    Source§

    fn clone(&self) -> PathInfoList

    Returns a duplicate 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 PathInfoList

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl IntoIterator for PathInfoList
    where - SmallVec<[PathInfo; 4]>: IntoIterator,

    Source§

    type Item = <SmallVec<[PathInfo; 4]> as IntoIterator>::Item

    The type of the elements being iterated over.
    Source§

    type IntoIter = <SmallVec<[PathInfo; 4]> as IntoIterator>::IntoIter

    Which kind of iterator are we turning this into?
    Source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    Source§

    impl PartialEq for PathInfoList

    Source§

    fn eq(&self, other: &PathInfoList) -> 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 PathInfoList

    Source§

    impl StructuralPartialEq for PathInfoList

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Implementations§

    Source§

    impl PathInfoList

    Source

    pub fn iter(&self) -> impl Iterator<Item = &PathInfo>

    Returns an iterator over the path infos.

    +
    Source

    pub fn is_empty(&self) -> bool

    Returns true if the list is empty.

    +
    Source

    pub fn len(&self) -> usize

    Returns the number of paths.

    +

    Trait Implementations§

    Source§

    impl Clone for PathInfoList

    Source§

    fn clone(&self) -> PathInfoList

    Returns a duplicate 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 PathInfoList

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl IntoIterator for PathInfoList
    where + SmallVec<[PathInfo; 4]>: IntoIterator,

    Source§

    type Item = <SmallVec<[PathInfo; 4]> as IntoIterator>::Item

    The type of the elements being iterated over.
    Source§

    type IntoIter = <SmallVec<[PathInfo; 4]> as IntoIterator>::IntoIter

    Which kind of iterator are we turning this into?
    Source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    Source§

    impl PartialEq for PathInfoList

    Source§

    fn eq(&self, other: &PathInfoList) -> 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 PathInfoList

    Source§

    impl StructuralPartialEq for PathInfoList

    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( @@ -59,5 +59,5 @@ and should not be overridden without very good reason.

    TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.PathStats.html b/pr/3734/docs/iroh/endpoint/struct.PathStats.html index 60ea15cb9b..71464bd992 100644 --- a/pr/3734/docs/iroh/endpoint/struct.PathStats.html +++ b/pr/3734/docs/iroh/endpoint/struct.PathStats.html @@ -1,4 +1,4 @@ -PathStats in iroh::endpoint - Rust

    PathStats

    Struct PathStats 

    #[non_exhaustive]
    pub struct PathStats { +PathStats in iroh::endpoint - Rust

    PathStats

    Struct PathStats 

    #[non_exhaustive]
    pub struct PathStats { pub rtt: Duration, pub cwnd: u64, pub congestion_events: u64, @@ -9,7 +9,8 @@ pub lost_plpmtud_probes: u64, pub black_holes_detected: u64, pub current_mtu: u16, -}
    Expand description

    Statistics related to a transmission path

    +}
    Expand description

    quinn types that are used in the public iroh API. +Statistics related to a transmission path

    Fields (Non-exhaustive)§

    This struct is marked as non-exhaustive
    Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
    §rtt: Duration

    Current best estimate of this connection’s latency (round-trip-time)

    §cwnd: u64

    Current congestion window of the connection

    §congestion_events: u64

    Congestion events on the connection

    @@ -59,5 +60,5 @@ and should not be overridden without very good reason.
    TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.QlogConfig.html b/pr/3734/docs/iroh/endpoint/struct.QlogConfig.html new file mode 100644 index 0000000000..cc44ab8081 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/struct.QlogConfig.html @@ -0,0 +1,41 @@ +QlogConfig in iroh::endpoint - Rust

    QlogConfig

    Struct QlogConfig 

    pub struct QlogConfig { /* private fields */ }
    Available on crate feature qlog only.
    Expand description

    Configuration for qlog trace logging.

    +

    This struct is returned from QlogFactory::for_connection if qlog logging should +be enabled for a connection. It allows to set metadata for the qlog trace.

    +

    The trace will be written to the provided writer in the [JSON-SEQ format] defined in the qlog spec.

    +

    JSON-SEQ format

    +

    Implementations§

    §

    impl QlogConfig

    pub fn new(writer: Box<dyn Write + Send + Sync>) -> QlogConfig

    Creates a new QlogConfig that writes a qlog trace to the specified writer.

    +

    pub fn title(&mut self, title: Option<String>) -> &mut QlogConfig

    Title to record in the qlog capture

    +

    pub fn description(&mut self, description: Option<String>) -> &mut QlogConfig

    Description to record in the qlog capture

    +

    pub fn start_time(&mut self, start_time: Instant) -> &mut QlogConfig

    Epoch qlog event times are recorded relative to

    +

    If unset, the start of the connection is used.

    +

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn implicit( + self, + class: Class, + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CompatExt for T

    §

    fn compat(self) -> Compat<T>

    Applies the [Compat] adapter by value. Read more
    §

    fn compat_ref(&self) -> Compat<&T>

    Applies the [Compat] adapter by shared reference. Read more
    §

    fn compat_mut(&mut self) -> Compat<&mut T>

    Applies the [Compat] adapter by mutable reference. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +

    That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

    +
    §

    impl<T> Pointable for T

    §

    const ALIGN: usize

    The alignment of pointer.
    §

    type Init = T

    The type for initializers.
    §

    unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more
    §

    unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more
    §

    unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more
    §

    unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more
    §

    impl<T> PolicyExt for T
    where + T: ?Sized,

    §

    fn and<P, B, E>(self, other: P) -> And<T, P>
    where + T: Policy<B, E>, + P: Policy<B, E>,

    Create a new Policy that returns [Action::Follow] only if self and other return +Action::Follow. Read more
    §

    fn or<P, B, E>(self, other: P) -> Or<T, P>
    where + T: Policy<B, E>, + P: Policy<B, E>,

    Create a new Policy that returns [Action::Follow] if either self or other returns +Action::Follow. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.QlogFileFactory.html b/pr/3734/docs/iroh/endpoint/struct.QlogFileFactory.html new file mode 100644 index 0000000000..b33f9f6604 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/struct.QlogFileFactory.html @@ -0,0 +1,46 @@ +QlogFileFactory in iroh::endpoint - Rust

    QlogFileFactory

    Struct QlogFileFactory 

    pub struct QlogFileFactory { /* private fields */ }
    Available on crate feature qlog only.
    Expand description

    Enables writing qlog traces to a directory.

    +

    Implementations§

    §

    impl QlogFileFactory

    pub fn new(dir: PathBuf) -> QlogFileFactory

    Creates a new qlog factory that writes files into the specified directory.

    +

    pub fn from_env() -> QlogFileFactory

    Creates a new qlog factory that writes files into QLOGDIR, if set.

    +

    If the environment variable QLOGDIR is set, qlog traces for all connections handled +by this endpoint will be written into that directory. +If the directory doesn’t exist it will be created.

    +

    pub fn with_prefix(self, prefix: impl ToString) -> QlogFileFactory

    Sets a prefix to the filename of the generated files.

    +

    pub fn with_start_instant(self, start: Instant) -> QlogFileFactory

    Override the instant relative to which all events are recorded.

    +

    If not set, events will be recorded relative to the start of the connection.

    +

    Trait Implementations§

    §

    impl Debug for QlogFileFactory

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl QlogFactory for QlogFileFactory

    §

    fn for_connection( + &self, + side: Side, + _remote: SocketAddr, + initial_dst_cid: ConnectionId, + now: Instant, +) -> Option<QlogConfig>

    Returns a QlogConfig for a connection, if logging should be enabled. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn implicit( + self, + class: Class, + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CompatExt for T

    §

    fn compat(self) -> Compat<T>

    Applies the [Compat] adapter by value. Read more
    §

    fn compat_ref(&self) -> Compat<&T>

    Applies the [Compat] adapter by shared reference. Read more
    §

    fn compat_mut(&mut self) -> Compat<&mut T>

    Applies the [Compat] adapter by mutable reference. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +

    That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

    +
    §

    impl<T> Pointable for T

    §

    const ALIGN: usize

    The alignment of pointer.
    §

    type Init = T

    The type for initializers.
    §

    unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more
    §

    unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more
    §

    unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more
    §

    unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more
    §

    impl<T> PolicyExt for T
    where + T: ?Sized,

    §

    fn and<P, B, E>(self, other: P) -> And<T, P>
    where + T: Policy<B, E>, + P: Policy<B, E>,

    Create a new Policy that returns [Action::Follow] only if self and other return +Action::Follow. Read more
    §

    fn or<P, B, E>(self, other: P) -> Or<T, P>
    where + T: Policy<B, E>, + P: Policy<B, E>,

    Create a new Policy that returns [Action::Follow] if either self or other returns +Action::Follow. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.QuicTransportConfig.html b/pr/3734/docs/iroh/endpoint/struct.QuicTransportConfig.html index d9c6aaa479..7c46faaf02 100644 --- a/pr/3734/docs/iroh/endpoint/struct.QuicTransportConfig.html +++ b/pr/3734/docs/iroh/endpoint/struct.QuicTransportConfig.html @@ -1,4 +1,4 @@ -QuicTransportConfig in iroh::endpoint - Rust

    QuicTransportConfig

    Struct QuicTransportConfig 

    Source
    pub struct QuicTransportConfig(/* private fields */);
    Expand description

    Parameters governing the core QUIC state machine

    +QuicTransportConfig in iroh::endpoint - Rust

    QuicTransportConfig

    Struct QuicTransportConfig 

    Source
    pub struct QuicTransportConfig(/* private fields */);
    Expand description

    Parameters governing the core QUIC state machine

    Default values should be suitable for most internet applications. Applications protocols which forbid remotely-initiated streams should set max_concurrent_bidi_streams and max_concurrent_uni_streams to zero.

    @@ -8,183 +8,26 @@ tuned for a particular expected round trip time, link capacity, and memory avail for higher bandwidths and latencies increases worst-case memory consumption, but does not impair performance at lower bandwidths and latencies. The default configuration is tuned for a 100Mbps link with a 100ms round trip time.

    +

    Use the QuicTransportConfigBuilder to customize these tunable fields.

    In iroh, the config has some specific default values that make iroh’s holepunching work well with QUIC multipath. Adjusting those settings may cause suboptimal usage.

    Look at the following methods for more details:

    -

    Implementations§

    Source§

    impl QuicTransportConfig

    Source

    pub fn max_concurrent_bidi_streams(&mut self, value: VarInt) -> &mut Self

    Maximum number of incoming bidirectional streams that may be open concurrently

    -

    Must be nonzero for the peer to open any bidirectional streams.

    -

    Worst-case memory use is directly proportional to max_concurrent_bidi_streams * stream_receive_window, with an upper bound proportional to receive_window.

    -
    Source

    pub fn max_concurrent_uni_streams(&mut self, value: VarInt) -> &mut Self

    Variant of max_concurrent_bidi_streams affecting unidirectional streams

    -
    Source

    pub fn max_idle_timeout(&mut self, value: Option<IdleTimeout>) -> &mut Self

    Maximum duration of inactivity to accept before timing out the connection.

    -

    The true idle timeout is the minimum of this and the peer’s own max idle timeout. None -represents an infinite timeout. Defaults to 30 seconds.

    -

    WARNING: If a peer or its network path malfunctions or acts maliciously, an infinite -idle timeout can result in permanently hung futures!

    +

    §Examples

    +
    use std::time::Duration;
     
    -
    let mut config = QuicTransportConfig::default();
    +use iroh::endpoint::QuicTransportConfig;
     
    -// Set the idle timeout as `VarInt`-encoded milliseconds
    -config.max_idle_timeout(Some(VarInt::from_u32(10_000).into()));
    -
    -// Set the idle timeout as a `Duration`
    -config.max_idle_timeout(Some(Duration::from_secs(10).try_into()?));
    Source

    pub fn stream_receive_window(&mut self, value: VarInt) -> &mut Self

    Maximum number of bytes the peer may transmit without acknowledgement on any one stream -before becoming blocked.

    -

    This should be set to at least the expected connection latency multiplied by the maximum -desired throughput. Setting this smaller than receive_window helps ensure that a single -stream doesn’t monopolize receive buffers, which may otherwise occur if the application -chooses not to read from a large stream for a time while still requiring data on other -streams.

    -
    Source

    pub fn receive_window(&mut self, value: VarInt) -> &mut Self

    Maximum number of bytes the peer may transmit across all streams of a connection before -becoming blocked.

    -

    This should be set to at least the expected connection latency multiplied by the maximum -desired throughput. Larger values can be useful to allow maximum throughput within a -stream while another is blocked.

    -
    Source

    pub fn send_window(&mut self, value: u64) -> &mut Self

    Maximum number of bytes to transmit to a peer without acknowledgment

    -

    Provides an upper bound on memory when communicating with peers that issue large amounts of -flow control credit. Endpoints that wish to handle large numbers of connections robustly -should take care to set this low enough to guarantee memory exhaustion does not occur if -every connection uses the entire window.

    -
    Source

    pub fn send_fairness(&mut self, value: bool) -> &mut Self

    Whether to implement fair queuing for send streams having the same priority.

    -

    When enabled, connections schedule data from outgoing streams having the same priority in a -round-robin fashion. When disabled, streams are scheduled in the order they are written to.

    -

    Note that this only affects streams with the same priority. Higher priority streams always -take precedence over lower priority streams.

    -

    Disabling fairness can reduce fragmentation and protocol overhead for workloads that use -many small streams.

    -
    Source

    pub fn packet_threshold(&mut self, value: u32) -> &mut Self

    Maximum reordering in packet number space before FACK style loss detection considers a -packet lost. Should not be less than 3, per RFC5681.

    -
    Source

    pub fn time_threshold(&mut self, value: f32) -> &mut Self

    Maximum reordering in time space before time based loss detection considers a packet lost, -as a factor of RTT

    -
    Source

    pub fn initial_rtt(&mut self, value: Duration) -> &mut Self

    The RTT used before an RTT sample is taken

    -
    Source

    pub fn initial_mtu(&mut self, value: u16) -> &mut Self

    The initial value to be used as the maximum UDP payload size before running MTU discovery -(see QuicTransportConfig::mtu_discovery_config).

    -

    Must be at least 1200, which is the default, and known to be safe for typical internet -applications. Larger values are more efficient, but increase the risk of packet loss due to -exceeding the network path’s IP MTU. If the provided value is higher than what the network -path actually supports, packet loss will eventually trigger black hole detection and bring -it down to QuicTransportConfig::min_mtu.

    -
    Source

    pub fn min_mtu(&mut self, value: u16) -> &mut Self

    The maximum UDP payload size guaranteed to be supported by the network.

    -

    Must be at least 1200, which is the default, and lower than or equal to -QuicTransportConfig::initial_mtu.

    -

    Real-world MTUs can vary according to ISP, VPN, and properties of intermediate network links -outside of either endpoint’s control. Extreme care should be used when raising this value -outside of private networks where these factors are fully controlled. If the provided value -is higher than what the network path actually supports, the result will be unpredictable and -catastrophic packet loss, without a possibility of repair. Prefer -QuicTransportConfig::initial_mtu together with -QuicTransportConfig::mtu_discovery_config to set a maximum UDP payload size that robustly -adapts to the network.

    -
    Source

    pub fn mtu_discovery_config( - &mut self, - value: Option<MtuDiscoveryConfig>, -) -> &mut Self

    Specifies the MTU discovery config (see MtuDiscoveryConfig for details).

    -

    Enabled by default.

    -
    Source

    pub fn pad_to_mtu(&mut self, value: bool) -> &mut Self

    Pad UDP datagrams carrying application data to current maximum UDP payload size

    -

    Disabled by default. UDP datagrams containing loss probes are exempt from padding.

    -

    Enabling this helps mitigate traffic analysis by network observers, but it increases -bandwidth usage. Without this mitigation precise plain text size of application datagrams as -well as the total size of stream write bursts can be inferred by observers under certain -conditions. This analysis requires either an uncongested connection or application datagrams -too large to be coalesced.

    -
    Source

    pub fn ack_frequency_config( - &mut self, - value: Option<AckFrequencyConfig>, -) -> &mut Self

    Specifies the ACK frequency config (see AckFrequencyConfig for details)

    -

    The provided configuration will be ignored if the peer does not support the acknowledgement -frequency QUIC extension.

    -

    Defaults to None, which disables controlling the peer’s acknowledgement frequency. Even -if set to None, the local side still supports the acknowledgement frequency QUIC -extension and may use it in other ways.

    -
    Source

    pub fn persistent_congestion_threshold(&mut self, value: u32) -> &mut Self

    Number of consecutive PTOs after which network is considered to be experiencing persistent congestion.

    -
    Source

    pub fn keep_alive_interval(&mut self, value: Duration) -> &mut Self

    Period of inactivity before sending a keep-alive packet

    -

    Keep-alive packets prevent an inactive but otherwise healthy connection from timing out.

    -

    None to disable, which is the default. Only one side of any given connection needs keep-alive -enabled for the connection to be preserved. Must be set lower than the idle_timeout of both -peers to be effective.

    -
    Source

    pub fn crypto_buffer_size(&mut self, value: usize) -> &mut Self

    Maximum quantity of out-of-order crypto layer data to buffer

    -
    Source

    pub fn allow_spin(&mut self, value: bool) -> &mut Self

    Whether the implementation is permitted to set the spin bit on this connection

    -

    This allows passive observers to easily judge the round trip time of a connection, which can -be useful for network administration but sacrifices a small amount of privacy.

    -
    Source

    pub fn datagram_receive_buffer_size( - &mut self, - value: Option<usize>, -) -> &mut Self

    Maximum number of incoming application datagram bytes to buffer, or None to disable -incoming datagrams

    -

    The peer is forbidden to send single datagrams larger than this size. If the aggregate size -of all datagrams that have been received from the peer but not consumed by the application -exceeds this value, old datagrams are dropped until it is no longer exceeded.

    -
    Source

    pub fn datagram_send_buffer_size(&mut self, value: usize) -> &mut Self

    Maximum number of outgoing application datagram bytes to buffer

    -

    While datagrams are sent ASAP, it is possible for an application to generate data faster -than the link, or even the underlying hardware, can transmit them. This limits the amount of -memory that may be consumed in that case. When the send buffer is full and a new datagram is -sent, older datagrams are dropped until sufficient space is available.

    -
    Source

    pub fn congestion_controller_factory( - &mut self, - factory: Arc<dyn ControllerFactory + Send + Sync + 'static>, -) -> &mut Self

    How to construct new congestion::Controllers

    -

    Typically the refcounted configuration of a congestion::Controller, -e.g. a congestion::NewRenoConfig.

    -
    §Example
    -
    let mut config = QuicTransportConfig::default();
    -config.congestion_controller_factory(Arc::new(congestion::NewRenoConfig::default()));
    Source

    pub fn enable_segmentation_offload(&mut self, enabled: bool) -> &mut Self

    Whether to use “Generic Segmentation Offload” to accelerate transmits, when supported by the -environment

    -

    Defaults to true.

    -

    GSO dramatically reduces CPU consumption when sending large numbers of packets with the same -headers, such as when transmitting bulk data on a connection. However, it is not supported -by all network interface drivers or packet inspection tools. quinn-udp will attempt to -disable GSO automatically when unavailable, but this can lead to spurious packet loss at -startup, temporarily degrading performance.

    -
    Source

    pub fn send_observed_address_reports(&mut self, enabled: bool) -> &mut Self

    Whether to send observed address reports to peers.

    -

    This will aid peers in inferring their reachable address, which in most NATd networks -will not be easily available to them.

    -
    Source

    pub fn receive_observed_address_reports(&mut self, enabled: bool) -> &mut Self

    Whether to receive observed address reports from other peers.

    -

    Peers with the address discovery extension enabled that are willing to provide observed -address reports will do so if this transport parameter is set. In general, observed address -reports cannot be trusted. This, however, can aid the current endpoint in inferring its -reachable address, which in most NATd networks will not be easily available.

    -
    Source

    pub fn max_concurrent_multipath_paths( - &mut self, - max_concurrent: u32, -) -> &mut Self

    Enables the Multipath Extension for QUIC.

    -

    Setting this to any nonzero value will enable the Multipath Extension for QUIC, -https://datatracker.ietf.org/doc/draft-ietf-quic-multipath/.

    -

    The value provided specifies the number maximum number of paths this endpoint may open -concurrently when multipath is negotiated. For any path to be opened, the remote must -enable multipath as well.

    -

    Note: this method will ignore values less than the recommended 13 and will log a warning.

    -
    Source

    pub fn default_path_max_idle_timeout(&mut self, timeout: Duration) -> &mut Self

    Sets a default per-path maximum idle timeout

    -

    If the path is idle for this long the path will be abandoned. Bear in mind this will -interact with the QuicTransportConfig::max_idle_timeout, if the last path is -abandoned the entire connection will be closed.

    -

    Note: this method will ignore values higher than the recommended 6500 ms and will log a warning.

    -
    Source

    pub fn default_path_keep_alive_interval( - &mut self, - interval: Duration, -) -> &mut Self

    Sets a default per-path keep alive interval

    -

    Note that this does not interact with the connection-wide -QuicTransportConfig::keep_alive_interval. This setting will keep this path active, -QuicTransportConfig::keep_alive_interval will keep the connection active, with no -control over which path is used for this.

    -

    Note: this method will ignore values higher than the recommended 5 seconds and will log a warning.

    -
    Source

    pub fn set_max_remote_nat_traversal_addresses( - &mut self, - max_addresses: u8, -) -> &mut Self

    Sets the maximum number of nat traversal addresses this endpoint allows the remote to -advertise

    -

    Setting this to any nonzero value will enable Iroh’s holepunching, loosely based in the Nat -Traversal Extension for QUIC, see -https://www.ietf.org/archive/id/draft-seemann-quic-nat-traversal-02.html

    -

    This implementation expects the multipath extension to be enabled as well. If not yet -enabled via Self::max_concurrent_multipath_paths, a default value of -12 will be used.

    -

    Note: this method will ignore values less than the recommended 12 and will log a warning.

    -

    Trait Implementations§

    Source§

    impl Clone for QuicTransportConfig

    Source§

    fn clone(&self) -> QuicTransportConfig

    Returns a duplicate 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 QuicTransportConfig

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for QuicTransportConfig

    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 +let _cfg = QuicTransportConfig::builder() + .send_observed_address_reports(true) + .build();

    Implementations§

    Trait Implementations§

    Source§

    impl Clone for QuicTransportConfig

    Source§

    fn clone(&self) -> QuicTransportConfig

    Returns a duplicate 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 QuicTransportConfig

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for QuicTransportConfig

    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( @@ -217,5 +60,5 @@ enabled via TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.QuicTransportConfigBuilder.html b/pr/3734/docs/iroh/endpoint/struct.QuicTransportConfigBuilder.html new file mode 100644 index 0000000000..d7aa13e9c1 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/struct.QuicTransportConfigBuilder.html @@ -0,0 +1,201 @@ +QuicTransportConfigBuilder in iroh::endpoint - Rust

    QuicTransportConfigBuilder

    Struct QuicTransportConfigBuilder 

    Source
    pub struct QuicTransportConfigBuilder(/* private fields */);
    Expand description

    Builder for a QuicTransportConfig.

    +

    Implementations§

    Source§

    impl QuicTransportConfigBuilder

    Source

    pub fn build(self) -> QuicTransportConfig

    Build a QuicTransportConfig from the builder.

    +
    Source

    pub fn max_concurrent_bidi_streams(self, value: VarInt) -> Self

    Maximum number of incoming bidirectional streams that may be open concurrently.

    +

    Must be nonzero for the peer to open any bidirectional streams.

    +

    Worst-case memory use is directly proportional to max_concurrent_bidi_streams * stream_receive_window, with an upper bound proportional to receive_window.

    +
    Source

    pub fn max_concurrent_uni_streams(self, value: VarInt) -> Self

    Variant of max_concurrent_bidi_streams affecting unidirectional streams.

    +
    Source

    pub fn max_idle_timeout(self, value: Option<IdleTimeout>) -> Self

    Maximum duration of inactivity to accept before timing out the connection.

    +

    The true idle timeout is the minimum of this and the peer’s own max idle timeout. None +represents an infinite timeout. Defaults to 30 seconds.

    +

    WARNING: If a peer or its network path malfunctions or acts maliciously, an infinite +idle timeout can result in permanently hung futures!

    + +
    let mut builder = QuicTransportConfig::builder()
    +    // Set the idle timeout as `VarInt`-encoded milliseconds
    +    .max_idle_timeout(Some(VarInt::from_u32(10_000).into()));
    +
    +// Set the idle timeout as a `Duration`
    +builder = builder.max_idle_timeout(Some(Duration::from_secs(10).try_into()?));
    +
    +let _cfg = builder.build();
    +
    Source

    pub fn stream_receive_window(self, value: VarInt) -> Self

    Maximum number of bytes the peer may transmit without acknowledgement on any one stream +before becoming blocked.

    +

    This should be set to at least the expected connection latency multiplied by the maximum +desired throughput. Setting this smaller than receive_window helps ensure that a single +stream doesn’t monopolize receive buffers, which may otherwise occur if the application +chooses not to read from a large stream for a time while still requiring data on other +streams.

    +
    Source

    pub fn receive_window(self, value: VarInt) -> Self

    Maximum number of bytes the peer may transmit across all streams of a connection before +becoming blocked.

    +

    This should be set to at least the expected connection latency multiplied by the maximum +desired throughput. Larger values can be useful to allow maximum throughput within a +stream while another is blocked.

    +
    Source

    pub fn send_window(self, value: u64) -> Self

    Maximum number of bytes to transmit to a peer without acknowledgment.

    +

    Provides an upper bound on memory when communicating with peers that issue large amounts of +flow control credit. Endpoints that wish to handle large numbers of connections robustly +should take care to set this low enough to guarantee memory exhaustion does not occur if +every connection uses the entire window.

    +
    Source

    pub fn send_fairness(self, value: bool) -> Self

    Whether to implement fair queuing for send streams having the same priority.

    +

    When enabled, connections schedule data from outgoing streams having the same priority in a +round-robin fashion. When disabled, streams are scheduled in the order they are written to.

    +

    Note that this only affects streams with the same priority. Higher priority streams always +take precedence over lower priority streams.

    +

    Disabling fairness can reduce fragmentation and protocol overhead for workloads that use +many small streams.

    +
    Source

    pub fn packet_threshold(self, value: u32) -> Self

    Maximum reordering in packet number space before FACK style loss detection considers a +packet lost. Should not be less than 3, per RFC5681.

    +
    Source

    pub fn time_threshold(self, value: f32) -> Self

    Maximum reordering in time space before time based loss detection considers a packet lost, +as a factor of RTT.

    +
    Source

    pub fn initial_rtt(self, value: Duration) -> Self

    The RTT used before an RTT sample is taken.

    +
    Source

    pub fn initial_mtu(self, value: u16) -> Self

    The initial value to be used as the maximum UDP payload size before running MTU discovery +(see QuicTransportConfigBuilder::mtu_discovery_config).

    +

    Must be at least 1200, which is the default, and known to be safe for typical internet +applications. Larger values are more efficient, but increase the risk of packet loss due to +exceeding the network path’s IP MTU. If the provided value is higher than what the network +path actually supports, packet loss will eventually trigger black hole detection and bring +it down to QuicTransportConfigBuilder::min_mtu.

    +
    Source

    pub fn min_mtu(self, value: u16) -> Self

    The maximum UDP payload size guaranteed to be supported by the network.

    +

    Must be at least 1200, which is the default, and lower than or equal to +QuicTransportConfigBuilder::initial_mtu.

    +

    Real-world MTUs can vary according to ISP, VPN, and properties of intermediate network links +outside of either endpoint’s control. Extreme care should be used when raising this value +outside of private networks where these factors are fully controlled. If the provided value +is higher than what the network path actually supports, the result will be unpredictable and +catastrophic packet loss, without a possibility of repair. Prefer +QuicTransportConfigBuilder::initial_mtu together with +QuicTransportConfigBuilder::mtu_discovery_config to set a maximum UDP payload size that robustly +adapts to the network.

    +
    Source

    pub fn mtu_discovery_config(self, value: Option<MtuDiscoveryConfig>) -> Self

    Specifies the MTU discovery config (see MtuDiscoveryConfig for details).

    +

    Enabled by default.

    +
    Source

    pub fn pad_to_mtu(self, value: bool) -> Self

    Pad UDP datagrams carrying application data to current maximum UDP payload size.

    +

    Disabled by default. UDP datagrams containing loss probes are exempt from padding.

    +

    Enabling this helps mitigate traffic analysis by network observers, but it increases +bandwidth usage. Without this mitigation precise plain text size of application datagrams as +well as the total size of stream write bursts can be inferred by observers under certain +conditions. This analysis requires either an uncongested connection or application datagrams +too large to be coalesced.

    +
    Source

    pub fn ack_frequency_config(self, value: Option<AckFrequencyConfig>) -> Self

    Specifies the ACK frequency config (see AckFrequencyConfig for details).

    +

    The provided configuration will be ignored if the peer does not support the acknowledgement +frequency QUIC extension.

    +

    Defaults to None, which disables controlling the peer’s acknowledgement frequency. Even +if set to None, the local side still supports the acknowledgement frequency QUIC +extension and may use it in other ways.

    +
    Source

    pub fn persistent_congestion_threshold(self, value: u32) -> Self

    Number of consecutive PTOs after which network is considered to be experiencing persistent congestion.

    +
    Source

    pub fn keep_alive_interval(self, value: Duration) -> Self

    Period of inactivity before sending a keep-alive packet.

    +

    Keep-alive packets prevent an inactive but otherwise healthy connection from timing out.

    +

    None to disable, which is the default. Only one side of any given connection needs keep-alive +enabled for the connection to be preserved. Must be set lower than the idle_timeout of both +peers to be effective.

    +
    Source

    pub fn crypto_buffer_size(self, value: usize) -> Self

    Maximum quantity of out-of-order crypto layer data to buffer.

    +
    Source

    pub fn allow_spin(self, value: bool) -> Self

    Whether the implementation is permitted to set the spin bit on this connection.

    +

    This allows passive observers to easily judge the round trip time of a connection, which can +be useful for network administration but sacrifices a small amount of privacy.

    +
    Source

    pub fn datagram_receive_buffer_size(self, value: Option<usize>) -> Self

    Maximum number of incoming application datagram bytes to buffer, or None to disable +incoming datagrams.

    +

    The peer is forbidden to send single datagrams larger than this size. If the aggregate size +of all datagrams that have been received from the peer but not consumed by the application +exceeds this value, old datagrams are dropped until it is no longer exceeded.

    +
    Source

    pub fn datagram_send_buffer_size(self, value: usize) -> Self

    Maximum number of outgoing application datagram bytes to buffer.

    +

    While datagrams are sent ASAP, it is possible for an application to generate data faster +than the link, or even the underlying hardware, can transmit them. This limits the amount of +memory that may be consumed in that case. When the send buffer is full and a new datagram is +sent, older datagrams are dropped until sufficient space is available.

    +
    Source

    pub fn congestion_controller_factory( + self, + factory: Arc<dyn ControllerFactory + Send + Sync + 'static>, +) -> Self

    How to construct new congestion::Controllers.

    +

    Typically the refcounted configuration of a congestion::Controller, +e.g. a congestion::NewRenoConfig.

    +
    §Example
    +
    let config = QuicTransportConfig::builder()
    +    .congestion_controller_factory(Arc::new(congestion::NewRenoConfig::default()))
    +    .build();
    Source

    pub fn enable_segmentation_offload(self, enabled: bool) -> Self

    Whether to use “Generic Segmentation Offload” to accelerate transmits, when supported by the +environment.

    +

    Defaults to true.

    +

    GSO dramatically reduces CPU consumption when sending large numbers of packets with the same +headers, such as when transmitting bulk data on a connection. However, it is not supported +by all network interface drivers or packet inspection tools. quinn-udp will attempt to +disable GSO automatically when unavailable, but this can lead to spurious packet loss at +startup, temporarily degrading performance.

    +
    Source

    pub fn send_observed_address_reports(self, enabled: bool) -> Self

    Whether to send observed address reports to peers.

    +

    This will aid peers in inferring their reachable address, which in most NATd networks +will not be easily available to them.

    +
    Source

    pub fn receive_observed_address_reports(self, enabled: bool) -> Self

    Whether to receive observed address reports from other peers.

    +

    Peers with the address discovery extension enabled that are willing to provide observed +address reports will do so if this transport parameter is set. In general, observed address +reports cannot be trusted. This, however, can aid the current endpoint in inferring its +reachable address, which in most NATd networks will not be easily available.

    +
    Source

    pub fn max_concurrent_multipath_paths(self, max_concurrent: u32) -> Self

    Enables the Multipath Extension for QUIC.

    +

    Setting this to any nonzero value will enable the Multipath Extension for QUIC, +https://datatracker.ietf.org/doc/draft-ietf-quic-multipath/.

    +

    The value provided specifies the number maximum number of paths this endpoint may open +concurrently when multipath is negotiated. For any path to be opened, the remote must +enable multipath as well.

    +

    Note: this method will ignore values less than the recommended 13 and will log a warning.

    +
    Source

    pub fn default_path_max_idle_timeout(self, timeout: Duration) -> Self

    Sets a default per-path maximum idle timeout.

    +

    If the path is idle for this long the path will be abandoned. Bear in mind this will +interact with the QuicTransportConfigBuilder::max_idle_timeout, if the last path is +abandoned the entire connection will be closed.

    +

    Note: this method will ignore values higher than the recommended 6500 ms and will log a warning.

    +
    Source

    pub fn default_path_keep_alive_interval(self, interval: Duration) -> Self

    Sets a default per-path keep alive interval.

    +

    Note that this does not interact with the connection-wide +QuicTransportConfigBuilder::keep_alive_interval. This setting will keep this path active, +QuicTransportConfigBuilder::keep_alive_interval will keep the connection active, with no +control over which path is used for this.

    +

    Note: this method will ignore values higher than the recommended 5 seconds and will log a warning.

    +
    Source

    pub fn set_max_remote_nat_traversal_addresses(self, max_addresses: u8) -> Self

    Sets the maximum number of nat traversal addresses this endpoint allows the remote to +advertise.

    +

    Setting this to any nonzero value will enable Iroh’s holepunching, loosely based in the Nat +Traversal Extension for QUIC, see +https://www.ietf.org/archive/id/draft-seemann-quic-nat-traversal-02.html

    +

    This implementation expects the multipath extension to be enabled as well. If not yet +enabled via Self::max_concurrent_multipath_paths, a default value of +12 will be used.

    +

    Note: this method will ignore values less than the recommended 12 and will log a warning.

    +
    Source

    pub fn qlog_factory(self, factory: Arc<dyn QlogFactory>) -> Self

    Available on crate feature qlog only.

    Configures qlog capturing by setting a QlogFactory.

    +

    This assigns a QlogFactory that produces qlog capture configurations for +individual connections.

    +
    Source

    pub fn qlog_from_env(self, prefix: &str) -> Self

    Available on crate feature qlog only.

    Configures qlog capturing through the QLOGDIR environment variable.

    +

    This uses QlogFileFactory::from_env to create a factory to write qlog traces +into the directory set through the QLOGDIR environment variable.

    +

    If QLOGDIR is not set, no traces will be written. If QLOGDIR is set to a path +that does not exist, it will be created.

    +

    The files will be prefixed with prefix.

    +
    Source

    pub fn qlog_from_path(self, path: impl AsRef<Path>, prefix: &str) -> Self

    Available on crate feature qlog only.

    Configures qlog capturing into a directory.

    +

    This uses QlogFileFactory to create a factory to write qlog traces into +the specified directory. The files will be prefixed with prefix.

    +

    Trait Implementations§

    Source§

    impl Clone for QuicTransportConfigBuilder

    Source§

    fn clone(&self) -> QuicTransportConfigBuilder

    Returns a duplicate 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 QuicTransportConfigBuilder

    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( + self, + class: Class, + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dest: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dest. Read more
    §

    impl<T> CompatExt for T

    §

    fn compat(self) -> Compat<T>

    Applies the [Compat] adapter by value. Read more
    §

    fn compat_ref(&self) -> Compat<&T>

    Applies the [Compat] adapter by shared reference. Read more
    §

    fn compat_mut(&mut self) -> Compat<&mut T>

    Applies the [Compat] adapter by mutable reference. Read more
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §

    impl<T> FromRef<T> for T
    where + T: Clone,

    §

    fn from_ref(input: &T) -> T

    Converts to this type from a reference to the input type.
    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +

    That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

    +
    §

    impl<T> Pointable for T

    §

    const ALIGN: usize

    The alignment of pointer.
    §

    type Init = T

    The type for initializers.
    §

    unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more
    §

    unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more
    §

    unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more
    §

    unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more
    §

    impl<T> PolicyExt for T
    where + T: ?Sized,

    §

    fn and<P, B, E>(self, other: P) -> And<T, P>
    where + T: Policy<B, E>, + P: Policy<B, E>,

    Create a new Policy that returns [Action::Follow] only if self and other return +Action::Follow. Read more
    §

    fn or<P, B, E>(self, other: P) -> Or<T, P>
    where + T: Policy<B, E>, + P: Policy<B, E>,

    Create a new Policy that returns [Action::Follow] if either self or other returns +Action::Follow. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.ReadDatagram.html b/pr/3734/docs/iroh/endpoint/struct.ReadDatagram.html index 1c2c7048ec..d4e3714f8f 100644 --- a/pr/3734/docs/iroh/endpoint/struct.ReadDatagram.html +++ b/pr/3734/docs/iroh/endpoint/struct.ReadDatagram.html @@ -1,4 +1,5 @@ -ReadDatagram in iroh::endpoint - Rust

    ReadDatagram

    Struct ReadDatagram 

    pub struct ReadDatagram<'a> { /* private fields */ }
    Expand description

    Future produced by [Connection::read_datagram]

    +ReadDatagram in iroh::endpoint - Rust

    ReadDatagram

    Struct ReadDatagram 

    pub struct ReadDatagram<'a> { /* private fields */ }
    Expand description

    quinn types that are used in the public iroh API. +Future produced by [Connection::read_datagram]

    Trait Implementations§

    §

    impl Future for ReadDatagram<'_>

    §

    type Output = Result<Bytes, ConnectionError>

    The type of value produced on completion.
    §

    fn poll( self: Pin<&mut ReadDatagram<'_>>, ctx: &mut Context<'_>, @@ -149,5 +150,5 @@ future types.

    TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.RecvStream.html b/pr/3734/docs/iroh/endpoint/struct.RecvStream.html index 1690ae3224..44d2676104 100644 --- a/pr/3734/docs/iroh/endpoint/struct.RecvStream.html +++ b/pr/3734/docs/iroh/endpoint/struct.RecvStream.html @@ -1,4 +1,5 @@ -RecvStream in iroh::endpoint - Rust

    RecvStream

    Struct RecvStream 

    pub struct RecvStream { /* private fields */ }
    Expand description

    A stream that can only be used to receive data

    +RecvStream in iroh::endpoint - Rust

    RecvStream

    Struct RecvStream 

    pub struct RecvStream { /* private fields */ }
    Expand description

    quinn types that are used in the public iroh API. +A stream that can only be used to receive data

    stop(0) is implicitly called on drop unless:

    • A variant of ReadError has been yielded by a read call
    • @@ -51,15 +52,12 @@ closed.

    pub async fn read_chunk( &mut self, max_length: usize, - ordered: bool, ) -> Result<Option<Chunk>, ReadError>

    Read the next segment of data

    Yields None if the stream was finished. Otherwise, yields a segment of data and its -offset in the stream. If ordered is true, the chunk’s offset will be immediately after -the last data yielded by read() or read_chunk(). If ordered is false, segments may -be received in any order, and the Chunk’s offset field can be used to determine -ordering in the caller. Unordered reads are less prone to head-of-line blocking within a -stream, but require the application to manage reassembling the original data.

    -

    Slightly more efficient than read due to not copying. Chunk boundaries do not correspond +offset in the stream. The chunk’s offset will be immediately after +the last data yielded by RecvStream::read or RecvStream::read_chunk.

    +

    For unordered reads, convert the stream into an unordered stream using Self::into_unordered.

    +

    Slightly more efficient than RecvStream::read due to not copying. Chunk boundaries do not correspond to peer writes, and hence cannot be used as framing.

    This operation is cancel-safe.

    pub async fn read_chunks( @@ -95,6 +93,7 @@ when the stream was previously finish()ed by the peer and all data has been received, after which it is no longer meaningful for the stream to be reset.

    This operation is cancel-safe.

    +

    pub fn into_unordered(self) -> UnorderedRecvStream

    Converts this stream into an unordered stream.

    Trait Implementations§

    §

    impl AsyncRead for RecvStream

    §

    fn poll_read( self: Pin<&mut RecvStream>, cx: &mut Context<'_>, @@ -186,5 +185,5 @@ underlying reader. Read more

    TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.RemoteEndpointIdError.html b/pr/3734/docs/iroh/endpoint/struct.RemoteEndpointIdError.html index 9cdac717fc..503015318b 100644 --- a/pr/3734/docs/iroh/endpoint/struct.RemoteEndpointIdError.html +++ b/pr/3734/docs/iroh/endpoint/struct.RemoteEndpointIdError.html @@ -1,5 +1,5 @@ -RemoteEndpointIdError in iroh::endpoint - Rust

    RemoteEndpointIdError

    Struct RemoteEndpointIdError 

    Source
    pub struct RemoteEndpointIdError { /* private fields */ }

    Implementations§

    Source§

    impl RemoteEndpointIdError

    Source

    pub fn new() -> Self

    Creates a new RemoteEndpointIdError error.

    -

    Trait Implementations§

    Source§

    impl Clone for RemoteEndpointIdError

    Source§

    fn clone(&self) -> RemoteEndpointIdError

    Returns a duplicate 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 RemoteEndpointIdError

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for RemoteEndpointIdError

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Error for RemoteEndpointIdError

    Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    Source§

    impl From<RemoteEndpointIdError> for AcceptError

    Source§

    fn from(source: RemoteEndpointIdError) -> Self

    Converts to this type from the input type.
    Source§

    impl From<RemoteEndpointIdError> for AnyError

    Source§

    fn from(value: RemoteEndpointIdError) -> AnyError

    Converts to this type from the input type.
    Source§

    impl From<RemoteEndpointIdError> for AuthenticationError

    Source§

    fn from(source: RemoteEndpointIdError) -> Self

    Converts to this type from the input type.
    Source§

    impl StackError for RemoteEndpointIdError

    Source§

    fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)

    Returns this error as a std error reference.
    Source§

    fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>

    Returns this error as a std error.
    Source§

    fn as_dyn(&self) -> &dyn StackError

    Returns this error as a dyn StackError.
    Source§

    fn meta(&self) -> Option<&Meta>

    Returns metadata captured at creation time, if available.
    Source§

    fn source(&self) -> Option<ErrorRef<'_>>

    Returns the next source in the chain, if any.
    Source§

    fn is_transparent(&self) -> bool

    Returns whether this error is transparent and should be skipped in reports.
    Source§

    fn fmt_message(&self, f: &mut Formatter<'_>) -> Result

    Returns the next source in the chain, if any.
    §

    fn as_ref(&self) -> ErrorRef<'_>

    Returns this error as an [ErrorRef]. Read more
    §

    fn stack(&self) -> Chain<'_>

    Returns an iterator over this error followed by its sources.
    §

    fn sources(&self) -> Chain<'_>

    Returns an iterator over sources of this error (skipping self).
    §

    fn report(&self) -> Report<'_>

    Returns a [Report] to output the error with configurable formatting.

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +RemoteEndpointIdError in iroh::endpoint - Rust

    RemoteEndpointIdError

    Struct RemoteEndpointIdError 

    Source
    pub struct RemoteEndpointIdError { /* private fields */ }

    Implementations§

    Source§

    impl RemoteEndpointIdError

    Source

    pub fn new() -> Self

    Creates a new RemoteEndpointIdError error.

    +

    Trait Implementations§

    Source§

    impl Clone for RemoteEndpointIdError

    Source§

    fn clone(&self) -> RemoteEndpointIdError

    Returns a duplicate 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 RemoteEndpointIdError

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for RemoteEndpointIdError

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Error for RemoteEndpointIdError

    Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    Source§

    impl From<RemoteEndpointIdError> for AcceptError

    Source§

    fn from(source: RemoteEndpointIdError) -> Self

    Converts to this type from the input type.
    Source§

    impl From<RemoteEndpointIdError> for AnyError

    Source§

    fn from(value: RemoteEndpointIdError) -> AnyError

    Converts to this type from the input type.
    Source§

    impl From<RemoteEndpointIdError> for AuthenticationError

    Source§

    fn from(source: RemoteEndpointIdError) -> Self

    Converts to this type from the input type.
    Source§

    impl StackError for RemoteEndpointIdError

    Source§

    fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)

    Returns this error as a std error reference.
    Source§

    fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>

    Returns this error as a std error.
    Source§

    fn as_dyn(&self) -> &dyn StackError

    Returns this error as a dyn StackError.
    Source§

    fn meta(&self) -> Option<&Meta>

    Returns metadata captured at creation time, if available.
    Source§

    fn source(&self) -> Option<ErrorRef<'_>>

    Returns the next source in the chain, if any.
    Source§

    fn is_transparent(&self) -> bool

    Returns whether this error is transparent and should be skipped in reports.
    Source§

    fn fmt_message(&self, f: &mut Formatter<'_>) -> Result

    Returns the next source in the chain, if any.
    §

    fn as_ref(&self) -> ErrorRef<'_>

    Returns this error as an [ErrorRef]. Read more
    §

    fn stack(&self) -> Chain<'_>

    Returns an iterator over this error followed by its sources.
    §

    fn sources(&self) -> Chain<'_>

    Returns an iterator over sources of this error (skipping self).
    §

    fn report(&self) -> Report<'_>

    Returns a [Report] to output the error with configurable formatting.

    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( @@ -36,5 +36,5 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.RemoteInfo.html b/pr/3734/docs/iroh/endpoint/struct.RemoteInfo.html new file mode 100644 index 0000000000..fc307cdf24 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/struct.RemoteInfo.html @@ -0,0 +1,48 @@ +RemoteInfo in iroh::endpoint - Rust

    RemoteInfo

    Struct RemoteInfo 

    Source
    pub struct RemoteInfo { /* private fields */ }
    Expand description

    Information about a remote endpoint.

    +

    This information is a snapshot in time, i.e. it is not updating and may +already be outdated by the time you are reading this. Updated information +can only be retrieved by calling Endpoint::remote_info again.

    +

    Implementations§

    Source§

    impl RemoteInfo

    Source

    pub fn id(&self) -> EndpointId

    Returns the remote’s endpoint id.

    +
    Source

    pub fn addrs(&self) -> impl Iterator<Item = &TransportAddrInfo>

    Returns an iterator over known all addresses for this remote.

    +

    Note that this may include outdated or unusable addresses.

    +
    Source

    pub fn into_addrs(self) -> impl Iterator<Item = TransportAddrInfo>

    Converts into an iterator over known all addresses for this remote.

    +

    Note that this may include outdated or unusable addresses. You can use TransportAddrInfo::usage +to filter for addresses that are actively used.

    +

    You can use this to construct an EndpointAddr for this remote:

    + +
    let info = endpoint.remote_info(remote_id).await.unwrap();
    +let addr = EndpointAddr::from_parts(info.id(), info.into_addrs().map(|addr| addr.into_addr()));

    Trait Implementations§

    Source§

    impl Clone for RemoteInfo

    Source§

    fn clone(&self) -> RemoteInfo

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for RemoteInfo

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn implicit( + self, + class: Class, + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dest: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dest. Read more
    §

    impl<T> CompatExt for T

    §

    fn compat(self) -> Compat<T>

    Applies the [Compat] adapter by value. Read more
    §

    fn compat_ref(&self) -> Compat<&T>

    Applies the [Compat] adapter by shared reference. Read more
    §

    fn compat_mut(&mut self) -> Compat<&mut T>

    Applies the [Compat] adapter by mutable reference. Read more
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §

    impl<T> FromRef<T> for T
    where + T: Clone,

    §

    fn from_ref(input: &T) -> T

    Converts to this type from a reference to the input type.
    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +

    That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

    +
    §

    impl<T> Pointable for T

    §

    const ALIGN: usize

    The alignment of pointer.
    §

    type Init = T

    The type for initializers.
    §

    unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more
    §

    unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more
    §

    unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more
    §

    unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more
    §

    impl<T> PolicyExt for T
    where + T: ?Sized,

    §

    fn and<P, B, E>(self, other: P) -> And<T, P>
    where + T: Policy<B, E>, + P: Policy<B, E>,

    Create a new Policy that returns [Action::Follow] only if self and other return +Action::Follow. Read more
    §

    fn or<P, B, E>(self, other: P) -> Or<T, P>
    where + T: Policy<B, E>, + P: Policy<B, E>,

    Create a new Policy that returns [Action::Follow] if either self or other returns +Action::Follow. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.RetryError.html b/pr/3734/docs/iroh/endpoint/struct.RetryError.html index 9331e6c753..9c1ff22e60 100644 --- a/pr/3734/docs/iroh/endpoint/struct.RetryError.html +++ b/pr/3734/docs/iroh/endpoint/struct.RetryError.html @@ -1,6 +1,7 @@ -RetryError in iroh::endpoint - Rust

    RetryError

    Struct RetryError 

    pub struct RetryError(/* private fields */);
    Expand description

    Error for attempting to retry an [Incoming] which already bears a token from a previous retry

    -

    Implementations§

    §

    impl RetryError

    pub fn into_incoming(self) -> Incoming

    Get the [Incoming]

    -

    Trait Implementations§

    §

    impl Debug for RetryError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for RetryError

    §

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for RetryError

    1.30.0 · Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +RetryError in iroh::endpoint - Rust

    RetryError

    Struct RetryError 

    Source
    pub struct RetryError { /* private fields */ }
    Expand description

    Error for attempting to retry an Incoming which already bears a token from a previous retry

    +

    Implementations§

    Source§

    impl RetryError

    Source

    pub fn new(err: RetryError, ep: Endpoint) -> Self

    Creates a new RetryError error.

    +
    Source§

    impl RetryError

    Source

    pub fn into_incoming(self) -> Incoming

    Get the Incoming

    +

    Trait Implementations§

    Source§

    impl Debug for RetryError

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for RetryError

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Error for RetryError

    Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    Source§

    impl From<RetryError> for AnyError

    Source§

    fn from(value: RetryError) -> AnyError

    Converts to this type from the input type.
    Source§

    impl StackError for RetryError

    Source§

    fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)

    Returns this error as a std error reference.
    Source§

    fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>

    Returns this error as a std error.
    Source§

    fn as_dyn(&self) -> &dyn StackError

    Returns this error as a dyn StackError.
    Source§

    fn meta(&self) -> Option<&Meta>

    Returns metadata captured at creation time, if available.
    Source§

    fn source(&self) -> Option<ErrorRef<'_>>

    Returns the next source in the chain, if any.
    Source§

    fn is_transparent(&self) -> bool

    Returns whether this error is transparent and should be skipped in reports.
    Source§

    fn fmt_message(&self, f: &mut Formatter<'_>) -> Result

    Returns the next source in the chain, if any.
    §

    fn as_ref(&self) -> ErrorRef<'_>

    Returns this error as an [ErrorRef]. Read more
    §

    fn stack(&self) -> Chain<'_>

    Returns an iterator over this error followed by its sources.
    §

    fn sources(&self) -> Chain<'_>

    Returns an iterator over sources of this error (skipping self).
    §

    fn report(&self) -> Report<'_>

    Returns a [Report] to output the error with configurable formatting.

    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( @@ -10,7 +11,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CompatExt for T

    §

    fn compat(self) -> Compat<T>

    Applies the [Compat] adapter by value. Read more
    §

    fn compat_ref(&self) -> Compat<&T>

    Applies the [Compat] adapter by shared reference. Read more
    §

    fn compat_mut(&mut self) -> Compat<&mut T>

    Applies the [Compat] adapter by mutable reference. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CompatExt for T

    §

    fn compat(self) -> Compat<T>

    Applies the [Compat] adapter by value. Read more
    §

    fn compat_ref(&self) -> Compat<&T>

    Applies the [Compat] adapter by shared reference. Read more
    §

    fn compat_mut(&mut self) -> Compat<&mut T>

    Applies the [Compat] adapter by mutable reference. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where @@ -24,7 +25,8 @@ Action::Follow. Read more

    §

    fn or<P, B, E>(self, other: P) -> Or<T, P>
    where T: Policy<B, E>, P: Policy<B, E>,

    Create a new Policy that returns [Action::Follow] if either self or other returns -Action::Follow. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToString for T
    where +Action::Follow. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    §

    impl<T> StackErrorExt for T
    where + T: StackError + 'static,

    §

    fn into_any(self) -> AnyError

    Converts the error into [AnyError]. Read more
    §

    fn context(self, context: impl Display) -> AnyError

    Converts the error into [AnyError], and adds additional error context.
    Source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    Source§

    fn to_string(&self) -> String

    Converts the given value to a String. Read more
    §

    impl<T> ToStringFallible for T
    where T: Display,

    §

    fn try_to_string(&self) -> Result<String, TryReserveError>

    ToString::to_string, but without panic on OOM.

    Source§

    impl<T, U> TryFrom<U> for T
    where @@ -32,5 +34,5 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.WeakConnectionHandle.html b/pr/3734/docs/iroh/endpoint/struct.RttEstimator.html similarity index 68% rename from pr/3734/docs/iroh/endpoint/struct.WeakConnectionHandle.html rename to pr/3734/docs/iroh/endpoint/struct.RttEstimator.html index e0ca9eefa7..0959bf4cee 100644 --- a/pr/3734/docs/iroh/endpoint/struct.WeakConnectionHandle.html +++ b/pr/3734/docs/iroh/endpoint/struct.RttEstimator.html @@ -1,21 +1,11 @@ -WeakConnectionHandle in iroh::endpoint - Rust

    WeakConnectionHandle

    Struct WeakConnectionHandle 

    pub struct WeakConnectionHandle(/* private fields */);
    Expand description

    A handle to some connection internals, use with care.

    -

    This contains a weak reference to the connection so will not itself keep the connection -alive.

    -

    Implementations§

    §

    impl WeakConnectionHandle

    pub fn is_alive(&self) -> bool

    Returns true if the [Connection] associated with this handle is still alive.

    -

    pub fn upgrade(&self) -> Option<Connection>

    Upgrade the handle to a full Connection

    -

    pub fn network_path_changed(&self) -> bool

    Resets path-specific state.

    -

    This resets several subsystems keeping state for a specific network path. It is -useful if it is known that the underlying network path changed substantially.

    -

    Currently resets:

    -
      -
    • RTT Estimator
    • -
    • Congestion Controller
    • -
    • MTU Discovery
    • -
    -
    §Returns
    -

    true if the connection still existed and the congestion controller state was -reset. false otherwise.

    -

    Trait Implementations§

    §

    impl Clone for WeakConnectionHandle

    §

    fn clone(&self) -> WeakConnectionHandle

    Returns a duplicate 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 WeakConnectionHandle

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +RttEstimator in iroh::endpoint - Rust

    RttEstimator

    Struct RttEstimator 

    pub struct RttEstimator { /* private fields */ }
    Expand description

    quinn_proto types that are used in the public iroh API. +RTT estimation for a particular network path

    +

    Implementations§

    §

    impl RttEstimator

    pub fn get(&self) -> Duration

    The current best RTT estimation.

    +

    pub fn conservative(&self) -> Duration

    Conservative estimate of RTT

    +

    Takes the maximum of smoothed and latest RTT, as recommended +in 6.1.2 of the recovery spec (draft 29).

    +

    pub fn min(&self) -> Duration

    Minimum RTT registered so far for this estimator.

    +

    Trait Implementations§

    §

    impl Clone for RttEstimator

    §

    fn clone(&self) -> RttEstimator

    Returns a duplicate 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 RttEstimator

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Copy for RttEstimator

    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( @@ -48,5 +38,5 @@ reset. false otherwise.

    U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.SendDatagram.html b/pr/3734/docs/iroh/endpoint/struct.SendDatagram.html new file mode 100644 index 0000000000..1a3a248549 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/struct.SendDatagram.html @@ -0,0 +1,154 @@ +SendDatagram in iroh::endpoint - Rust

    SendDatagram

    Struct SendDatagram 

    pub struct SendDatagram<'a> { /* private fields */ }
    Expand description

    quinn types that are used in the public iroh API. +Future produced by [Connection::send_datagram_wait]

    +

    Trait Implementations§

    §

    impl Future for SendDatagram<'_>

    §

    type Output = Result<(), SendDatagramError>

    The type of value produced on completion.
    §

    fn poll( + self: Pin<&mut SendDatagram<'_>>, + ctx: &mut Context<'_>, +) -> Poll<<SendDatagram<'_> as Future>::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
    §

    impl<'__pin, 'a> Unpin for SendDatagram<'a>
    where + <PinnedFieldsOfHelperStruct<__Origin<'__pin, 'a>> as PinnedFieldsOfHelperTrait>::Actual: Unpin,

    Auto Trait Implementations§

    §

    impl<'a> !Freeze for SendDatagram<'a>

    §

    impl<'a> !RefUnwindSafe for SendDatagram<'a>

    §

    impl<'a> Send for SendDatagram<'a>

    §

    impl<'a> Sync for SendDatagram<'a>

    §

    impl<'a> !UnwindSafe for SendDatagram<'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 + T: 'a,

    §

    fn implicit( + self, + class: Class, + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CompatExt for T

    §

    fn compat(self) -> Compat<T>

    Applies the [Compat] adapter by value. Read more
    §

    fn compat_ref(&self) -> Compat<&T>

    Applies the [Compat] adapter by shared reference. Read more
    §

    fn compat_mut(&mut self) -> Compat<&mut T>

    Applies the [Compat] adapter by mutable reference. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §

    impl<F> FutureExt for F
    where + F: Future + ?Sized,

    §

    fn poll(&mut self, cx: &mut Context<'_>) -> Poll<Self::Output>
    where + Self: Unpin,

    A convenience for calling Future::poll() on !Unpin types.
    §

    fn or<F>(self, other: F) -> Or<Self, F>
    where + Self: Sized, + F: Future<Output = Self::Output>,

    Returns the result of self or other future, preferring self if both are ready. Read more
    §

    fn race<F>(self, other: F) -> Race<Self, F>
    where + Self: Sized, + F: Future<Output = Self::Output>,

    Returns the result of self or other future, with no preference if both are ready. Read more
    §

    fn catch_unwind(self) -> CatchUnwind<Self>
    where + Self: Sized + UnwindSafe,

    Catches panics while polling the future. Read more
    §

    fn boxed<'a>(self) -> Pin<Box<dyn Future<Output = Self::Output> + Send + 'a>>
    where + Self: Sized + Send + 'a,

    Boxes the future and changes its type to dyn Future + Send + 'a. Read more
    §

    fn boxed_local<'a>(self) -> Pin<Box<dyn Future<Output = Self::Output> + 'a>>
    where + Self: Sized + 'a,

    Boxes the future and changes its type to dyn Future + 'a. Read more
    §

    impl<T> FutureExt for T
    where + T: Future + ?Sized,

    §

    fn with_cancellation_token( + self, + cancellation_token: &CancellationToken, +) -> WithCancellationTokenFuture<'_, Self>
    where + Self: Sized,

    Similar to [CancellationToken::run_until_cancelled], +but with the advantage that it is easier to write fluent call chains. Read more
    §

    fn with_cancellation_token_owned( + self, + cancellation_token: CancellationToken, +) -> WithCancellationTokenFutureOwned<Self>
    where + Self: Sized,

    Similar to [CancellationToken::run_until_cancelled_owned], +but with the advantage that it is easier to write fluent call chains. Read more
    §

    impl<T> FutureExt for T
    where + T: Future + ?Sized,

    §

    fn map<U, F>(self, f: F) -> Map<Self, F>
    where + F: FnOnce(Self::Output) -> U, + Self: Sized,

    Map this future’s output to a different type, returning a new future of +the resulting type. Read more
    §

    fn map_into<U>(self) -> MapInto<Self, U>
    where + Self::Output: Into<U>, + Self: Sized,

    Map this future’s output to a different type, returning a new future of +the resulting type. Read more
    §

    fn then<Fut, F>(self, f: F) -> Then<Self, Fut, F>
    where + F: FnOnce(Self::Output) -> Fut, + Fut: Future, + Self: Sized,

    Chain on a computation for when a future finished, passing the result of +the future to the provided closure f. Read more
    §

    fn left_future<B>(self) -> Either<Self, B> ⓘ
    where + B: Future<Output = Self::Output>, + Self: Sized,

    Wrap this future in an Either future, making it the left-hand variant +of that Either. Read more
    §

    fn right_future<A>(self) -> Either<A, Self> ⓘ
    where + A: Future<Output = Self::Output>, + Self: Sized,

    Wrap this future in an Either future, making it the right-hand variant +of that Either. Read more
    §

    fn into_stream(self) -> IntoStream<Self>
    where + Self: Sized,

    Convert this future into a single element stream. Read more
    §

    fn flatten(self) -> Flatten<Self>
    where + Self::Output: Future, + Self: Sized,

    Flatten the execution of this future when the output of this +future is itself another future. Read more
    §

    fn flatten_stream(self) -> FlattenStream<Self>
    where + Self::Output: Stream, + Self: Sized,

    Flatten the execution of this future when the successful result of this +future is a stream. Read more
    §

    fn fuse(self) -> Fuse<Self>
    where + Self: Sized,

    Fuse a future such that poll will never again be called once it has +completed. This method can be used to turn any Future into a +FusedFuture. Read more
    §

    fn inspect<F>(self, f: F) -> Inspect<Self, F>
    where + F: FnOnce(&Self::Output), + Self: Sized,

    Do something with the output of a future before passing it on. Read more
    §

    fn catch_unwind(self) -> CatchUnwind<Self>
    where + Self: Sized + UnwindSafe,

    Catches unwinding panics while polling the future. Read more
    §

    fn shared(self) -> Shared<Self>
    where + Self: Sized, + Self::Output: Clone,

    Create a cloneable handle to this future where all handles will resolve +to the same result. Read more
    §

    fn remote_handle(self) -> (Remote<Self>, RemoteHandle<Self::Output>)
    where + Self: Sized,

    Turn this future into a future that yields () on completion and sends +its output to another future on a separate task. Read more
    §

    fn boxed<'a>(self) -> Pin<Box<dyn Future<Output = Self::Output> + Send + 'a>>
    where + Self: Sized + Send + 'a,

    Wrap the future in a Box, pinning it. Read more
    §

    fn boxed_local<'a>(self) -> Pin<Box<dyn Future<Output = Self::Output> + 'a>>
    where + Self: Sized + 'a,

    Wrap the future in a Box, pinning it. Read more
    §

    fn unit_error(self) -> UnitError<Self>
    where + Self: Sized,

    §

    fn never_error(self) -> NeverError<Self>
    where + Self: Sized,

    §

    fn poll_unpin(&mut self, cx: &mut Context<'_>) -> Poll<Self::Output>
    where + Self: Unpin,

    A convenience for calling Future::poll on Unpin future types.
    §

    fn now_or_never(self) -> Option<Self::Output>
    where + Self: Sized,

    Evaluates and consumes the future, returning the resulting output if +the future is ready after the first call to Future::poll. Read more
    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +

    That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

    +
    Source§

    impl<F> IntoFuture for F
    where + F: Future,

    Source§

    type Output = <F as Future>::Output

    The output that the future will produce on completion.
    Source§

    type IntoFuture = F

    Which kind of future are we turning this into?
    Source§

    fn into_future(self) -> <F as IntoFuture>::IntoFuture

    Creates a future from a value. Read more
    §

    impl<T> Pointable for T

    §

    const ALIGN: usize

    The alignment of pointer.
    §

    type Init = T

    The type for initializers.
    §

    unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more
    §

    unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more
    §

    unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more
    §

    unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more
    §

    impl<T> PolicyExt for T
    where + T: ?Sized,

    §

    fn and<P, B, E>(self, other: P) -> And<T, P>
    where + T: Policy<B, E>, + P: Policy<B, E>,

    Create a new Policy that returns [Action::Follow] only if self and other return +Action::Follow. Read more
    §

    fn or<P, B, E>(self, other: P) -> Or<T, P>
    where + T: Policy<B, E>, + P: Policy<B, E>,

    Create a new Policy that returns [Action::Follow] if either self or other returns +Action::Follow. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    §

    impl<F, T, E> TryFuture for F
    where + F: Future<Output = Result<T, E>> + ?Sized,

    §

    type Ok = T

    The type of successful values yielded by this future
    §

    type Error = E

    The type of failures yielded by this future
    §

    fn try_poll( + self: Pin<&mut F>, + cx: &mut Context<'_>, +) -> Poll<<F as Future>::Output>

    Poll this TryFuture as if it were a Future. Read more
    §

    impl<T, E, F> TryFuture for F
    where + F: Future<Output = Result<T, E>> + ?Sized,

    §

    type Ok = T

    §

    type Err = E

    §

    impl<Fut> TryFutureExt for Fut
    where + Fut: TryFuture + ?Sized,

    §

    fn flatten_sink<Item>(self) -> FlattenSink<Self, Self::Ok>
    where + Self::Ok: Sink<Item, Error = Self::Error>, + Self: Sized,

    Flattens the execution of this future when the successful result of this +future is a [Sink]. Read more
    §

    fn map_ok<T, F>(self, f: F) -> MapOk<Self, F>
    where + F: FnOnce(Self::Ok) -> T, + Self: Sized,

    Maps this future’s success value to a different value. Read more
    §

    fn map_ok_or_else<T, E, F>(self, e: E, f: F) -> MapOkOrElse<Self, F, E>
    where + F: FnOnce(Self::Ok) -> T, + E: FnOnce(Self::Error) -> T, + Self: Sized,

    Maps this future’s success value to a different value, and permits for error handling resulting in the same type. Read more
    §

    fn map_err<E, F>(self, f: F) -> MapErr<Self, F>
    where + F: FnOnce(Self::Error) -> E, + Self: Sized,

    Maps this future’s error value to a different value. Read more
    §

    fn err_into<E>(self) -> ErrInto<Self, E>
    where + Self: Sized, + Self::Error: Into<E>,

    Maps this future’s Error to a new error type +using the Into trait. Read more
    §

    fn ok_into<U>(self) -> OkInto<Self, U>
    where + Self: Sized, + Self::Ok: Into<U>,

    Maps this future’s Ok to a new type +using the Into trait.
    §

    fn and_then<Fut, F>(self, f: F) -> AndThen<Self, Fut, F>
    where + F: FnOnce(Self::Ok) -> Fut, + Fut: TryFuture<Error = Self::Error>, + Self: Sized,

    Executes another future after this one resolves successfully. The +success value is passed to a closure to create this subsequent future. Read more
    §

    fn or_else<Fut, F>(self, f: F) -> OrElse<Self, Fut, F>
    where + F: FnOnce(Self::Error) -> Fut, + Fut: TryFuture<Ok = Self::Ok>, + Self: Sized,

    Executes another future if this one resolves to an error. The +error value is passed to a closure to create this subsequent future. Read more
    §

    fn inspect_ok<F>(self, f: F) -> InspectOk<Self, F>
    where + F: FnOnce(&Self::Ok), + Self: Sized,

    Do something with the success value of a future before passing it on. Read more
    §

    fn inspect_err<F>(self, f: F) -> InspectErr<Self, F>
    where + F: FnOnce(&Self::Error), + Self: Sized,

    Do something with the error value of a future before passing it on. Read more
    §

    fn try_flatten(self) -> TryFlatten<Self, Self::Ok>
    where + Self::Ok: TryFuture<Error = Self::Error>, + Self: Sized,

    Flatten the execution of this future when the successful result of this +future is another future. Read more
    §

    fn try_flatten_stream(self) -> TryFlattenStream<Self>
    where + Self::Ok: TryStream<Error = Self::Error>, + Self: Sized,

    Flatten the execution of this future when the successful result of this +future is a stream. Read more
    §

    fn unwrap_or_else<F>(self, f: F) -> UnwrapOrElse<Self, F>
    where + Self: Sized, + F: FnOnce(Self::Error) -> Self::Ok,

    Unwraps this future’s output, producing a future with this future’s +Ok type as its +Output type. Read more
    §

    fn into_future(self) -> IntoFuture<Self>
    where + Self: Sized,

    Wraps a [TryFuture] into a type that implements +Future. Read more
    §

    fn try_poll_unpin( + &mut self, + cx: &mut Context<'_>, +) -> Poll<Result<Self::Ok, Self::Error>>
    where + Self: Unpin,

    A convenience method for calling [TryFuture::try_poll] on Unpin +future types.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.SendStream.html b/pr/3734/docs/iroh/endpoint/struct.SendStream.html index d6d0bc22f2..5a87824476 100644 --- a/pr/3734/docs/iroh/endpoint/struct.SendStream.html +++ b/pr/3734/docs/iroh/endpoint/struct.SendStream.html @@ -1,4 +1,5 @@ -SendStream in iroh::endpoint - Rust

    SendStream

    Struct SendStream 

    pub struct SendStream { /* private fields */ }
    Expand description

    A stream that can only be used to send data

    +SendStream in iroh::endpoint - Rust

    SendStream

    Struct SendStream 

    pub struct SendStream { /* private fields */ }
    Expand description

    quinn types that are used in the public iroh API. +A stream that can only be used to send data

    If dropped, streams that haven’t been explicitly reset() will be implicitly finish()ed, continuing to (re)transmit previously written data until it has been fully acknowledged or the connection is closed.

    @@ -208,5 +209,5 @@ cleanly. Read more
    TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.ServerConfig.html b/pr/3734/docs/iroh/endpoint/struct.ServerConfig.html index 7dd4d3541f..c7c881b958 100644 --- a/pr/3734/docs/iroh/endpoint/struct.ServerConfig.html +++ b/pr/3734/docs/iroh/endpoint/struct.ServerConfig.html @@ -1,92 +1,8 @@ -ServerConfig in iroh::endpoint - Rust

    ServerConfig

    Struct ServerConfig 

    pub struct ServerConfig {
    -    pub transport: Arc<TransportConfig>,
    -    pub crypto: Arc<dyn ServerConfig>,
    -    pub validation_token: ValidationTokenConfig,
    -    /* private fields */
    -}
    Expand description

    Parameters governing incoming connections

    +ServerConfig in iroh::endpoint - Rust

    ServerConfig

    Struct ServerConfig 

    Source
    pub struct ServerConfig(/* private fields */);
    Expand description

    Parameters governing incoming connections

    Default values should be suitable for most internet applications.

    -

    Fields§

    §transport: Arc<TransportConfig>

    Transport configuration to use for incoming connections

    -
    §crypto: Arc<dyn ServerConfig>

    TLS configuration used for incoming connections

    -

    Must be set to use TLS 1.3 only.

    -
    §validation_token: ValidationTokenConfig

    Configuration for sending and handling validation tokens

    -

    Implementations§

    §

    impl ServerConfig

    pub fn new( - crypto: Arc<dyn ServerConfig>, - token_key: Arc<dyn HandshakeTokenKey>, -) -> ServerConfig

    Create a default config with a particular handshake token key

    -

    pub fn transport_config( - &mut self, - transport: Arc<TransportConfig>, -) -> &mut ServerConfig

    Set a custom [TransportConfig]

    -

    pub fn validation_token_config( - &mut self, - validation_token: ValidationTokenConfig, -) -> &mut ServerConfig

    Set a custom [ValidationTokenConfig]

    -

    pub fn token_key( - &mut self, - value: Arc<dyn HandshakeTokenKey>, -) -> &mut ServerConfig

    Private key used to authenticate data included in handshake tokens

    -

    pub fn retry_token_lifetime(&mut self, value: Duration) -> &mut ServerConfig

    Duration after a retry token was issued for which it’s considered valid

    -

    Defaults to 15 seconds.

    -

    pub fn migration(&mut self, value: bool) -> &mut ServerConfig

    Whether to allow clients to migrate to new addresses

    -

    Improves behavior for clients that move between different internet connections or suffer NAT -rebinding. Enabled by default.

    -

    pub fn preferred_address_v4( - &mut self, - address: Option<SocketAddrV4>, -) -> &mut ServerConfig

    The preferred IPv4 address that will be communicated to clients during handshaking

    -

    If the client is able to reach this address, it will switch to it.

    -

    pub fn preferred_address_v6( - &mut self, - address: Option<SocketAddrV6>, -) -> &mut ServerConfig

    The preferred IPv6 address that will be communicated to clients during handshaking

    -

    If the client is able to reach this address, it will switch to it.

    -

    pub fn max_incoming(&mut self, max_incoming: usize) -> &mut ServerConfig

    Maximum number of [Incoming][crate::Incoming] to allow to exist at a time

    -

    An [Incoming][crate::Incoming] comes into existence when an incoming connection attempt -is received and stops existing when the application either accepts it or otherwise disposes -of it. While this limit is reached, new incoming connection attempts are immediately -refused. Larger values have greater worst-case memory consumption, but accommodate greater -application latency in handling incoming connection attempts.

    -

    The default value is set to 65536. With a typical Ethernet MTU of 1500 bytes, this limits -memory consumption from this to under 100 MiB–a generous amount that still prevents memory -exhaustion in most contexts.

    -

    pub fn incoming_buffer_size( - &mut self, - incoming_buffer_size: u64, -) -> &mut ServerConfig

    Maximum number of received bytes to buffer for each [Incoming][crate::Incoming]

    -

    An [Incoming][crate::Incoming] comes into existence when an incoming connection attempt -is received and stops existing when the application either accepts it or otherwise disposes -of it. This limit governs only packets received within that period, and does not include -the first packet. Packets received in excess of this limit are dropped, which may cause -0-RTT or handshake data to have to be retransmitted.

    -

    The default value is set to 10 MiB–an amount such that in most situations a client would -not transmit that much 0-RTT data faster than the server handles the corresponding -[Incoming][crate::Incoming].

    -

    pub fn incoming_buffer_size_total( - &mut self, - incoming_buffer_size_total: u64, -) -> &mut ServerConfig

    Maximum number of received bytes to buffer for all [Incoming][crate::Incoming] -collectively

    -

    An [Incoming][crate::Incoming] comes into existence when an incoming connection attempt -is received and stops existing when the application either accepts it or otherwise disposes -of it. This limit governs only packets received within that period, and does not include -the first packet. Packets received in excess of this limit are dropped, which may cause -0-RTT or handshake data to have to be retransmitted.

    -

    The default value is set to 100 MiB–a generous amount that still prevents memory -exhaustion in most contexts.

    -

    pub fn time_source( - &mut self, - time_source: Arc<dyn TimeSource>, -) -> &mut ServerConfig

    Object to get current SystemTime

    -

    This exists to allow system time to be mocked in tests, or wherever else desired.

    -

    Defaults to [StdSystemTime], which simply calls SystemTime::now().

    -
    §

    impl ServerConfig

    pub fn with_single_cert( - cert_chain: Vec<CertificateDer<'static>>, - key: PrivateKeyDer<'static>, -) -> Result<ServerConfig, Error>

    Create a server config with the given certificate chain to be presented to clients

    -

    Uses a randomized handshake token key.

    -
    §

    impl ServerConfig

    pub fn with_crypto(crypto: Arc<dyn ServerConfig>) -> ServerConfig

    Create a server config with the given crypto::ServerConfig

    -

    Uses a randomized handshake token key.

    -

    Trait Implementations§

    §

    impl Clone for ServerConfig

    §

    fn clone(&self) -> ServerConfig

    Returns a duplicate 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 ServerConfig

    §

    fn fmt(&self, fmt: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Use a ServerConfigBuilder to adjust the default values.

    +

    To create a ServerConfig compatible with your Endpoint identity, use the Endpoint::create_server_config_builder method.

    +

    Trait Implementations§

    Source§

    impl Clone for ServerConfig

    Source§

    fn clone(&self) -> ServerConfig

    Returns a duplicate 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 ServerConfig

    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( @@ -119,5 +35,5 @@ exhaustion in most contexts.

    U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.ServerConfigBuilder.html b/pr/3734/docs/iroh/endpoint/struct.ServerConfigBuilder.html new file mode 100644 index 0000000000..8152f8d326 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/struct.ServerConfigBuilder.html @@ -0,0 +1,78 @@ +ServerConfigBuilder in iroh::endpoint - Rust

    ServerConfigBuilder

    Struct ServerConfigBuilder 

    Source
    pub struct ServerConfigBuilder { /* private fields */ }
    Expand description

    A builder for a ServerConfig.

    +

    Implementations§

    Source§

    impl ServerConfigBuilder

    Source

    pub fn build(self) -> ServerConfig

    Source

    pub fn set_transport_config(self, transport: QuicTransportConfig) -> Self

    Sets a custom QuicTransportConfig.

    +
    Source

    pub fn set_validation_token_config( + self, + validation_token: ValidationTokenConfig, +) -> Self

    Sets a custom ValidationTokenConfig.

    +
    Source

    pub fn set_token_key(self, value: Arc<dyn HandshakeTokenKey>) -> Self

    Private key used to authenticate data included in handshake tokens

    +
    Source

    pub fn set_retry_token_lifetime(self, value: Duration) -> Self

    Duration after a retry token was issued for which it’s considered valid

    +

    Defaults to 15 seconds.

    +
    Source

    pub fn set_max_incoming(self, max_incoming: usize) -> Self

    Maximum number of Incoming to allow to exist at a time.

    +

    An Incoming comes into existence when an incoming connection attempt +is received and stops existing when the application either accepts it or otherwise disposes +of it. While this limit is reached, new incoming connection attempts are immediately +refused. Larger values have greater worst-case memory consumption, but accommodate greater +application latency in handling incoming connection attempts.

    +

    The default value is set to 65536. With a typical Ethernet MTU of 1500 bytes, this limits +memory consumption from this to under 100 MiB–a generous amount that still prevents memory +exhaustion in most contexts.

    +
    Source

    pub fn set_incoming_buffer_size(self, incoming_buffer_size: u64) -> Self

    Maximum number of received bytes to buffer for each Incoming.

    +

    An Incoming comes into existence when an incoming connection attempt +is received and stops existing when the application either accepts it or otherwise disposes +of it. This limit governs only packets received within that period, and does not include +the first packet. Packets received in excess of this limit are dropped, which may cause +0-RTT or handshake data to have to be retransmitted.

    +

    The default value is set to 10 MiB–an amount such that in most situations a client would +not transmit that much 0-RTT data faster than the server handles the corresponding +Incoming.

    +
    Source

    pub fn set_incoming_buffer_size_total( + self, + incoming_buffer_size_total: u64, +) -> Self

    Maximum number of received bytes to buffer for all Incoming +collectively.

    +

    An Incoming comes into existence when an incoming connection attempt +is received and stops existing when the application either accepts it or otherwise disposes +of it. This limit governs only packets received within that period, and does not include +the first packet. Packets received in excess of this limit are dropped, which may cause +0-RTT or handshake data to have to be retransmitted.

    +

    The default value is set to 100 MiB–a generous amount that still prevents memory +exhaustion in most contexts.

    +
    Source

    pub fn set_time_source(self, time_source: Arc<dyn TimeSource>) -> Self

    Object to get current SystemTime.

    +

    This exists to allow system time to be mocked in tests, or wherever else desired.

    +

    Defaults to [quinn::StdSystemTime], which simply calls SystemTime::now().

    +

    Trait Implementations§

    Source§

    impl Clone for ServerConfigBuilder

    Source§

    fn clone(&self) -> ServerConfigBuilder

    Returns a duplicate 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 ServerConfigBuilder

    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( + self, + class: Class, + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dest: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dest. Read more
    §

    impl<T> CompatExt for T

    §

    fn compat(self) -> Compat<T>

    Applies the [Compat] adapter by value. Read more
    §

    fn compat_ref(&self) -> Compat<&T>

    Applies the [Compat] adapter by shared reference. Read more
    §

    fn compat_mut(&mut self) -> Compat<&mut T>

    Applies the [Compat] adapter by mutable reference. Read more
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §

    impl<T> FromRef<T> for T
    where + T: Clone,

    §

    fn from_ref(input: &T) -> T

    Converts to this type from a reference to the input type.
    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +

    That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

    +
    §

    impl<T> Pointable for T

    §

    const ALIGN: usize

    The alignment of pointer.
    §

    type Init = T

    The type for initializers.
    §

    unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more
    §

    unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more
    §

    unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more
    §

    unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more
    §

    impl<T> PolicyExt for T
    where + T: ?Sized,

    §

    fn and<P, B, E>(self, other: P) -> And<T, P>
    where + T: Policy<B, E>, + P: Policy<B, E>,

    Create a new Policy that returns [Action::Follow] only if self and other return +Action::Follow. Read more
    §

    fn or<P, B, E>(self, other: P) -> Or<T, P>
    where + T: Policy<B, E>, + P: Policy<B, E>,

    Create a new Policy that returns [Action::Follow] if either self or other returns +Action::Follow. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.StreamId.html b/pr/3734/docs/iroh/endpoint/struct.StreamId.html index 05cef31b21..dde1088bf3 100644 --- a/pr/3734/docs/iroh/endpoint/struct.StreamId.html +++ b/pr/3734/docs/iroh/endpoint/struct.StreamId.html @@ -1,11 +1,12 @@ -StreamId in iroh::endpoint - Rust

    StreamId

    Struct StreamId 

    pub struct StreamId(/* private fields */);
    Expand description

    Identifier for a stream within a particular connection

    -

    Implementations§

    §

    impl StreamId

    pub fn new(initiator: Side, dir: Dir, index: u64) -> StreamId

    Create a new StreamId

    +StreamId in iroh::endpoint - Rust

    StreamId

    Struct StreamId 

    pub struct StreamId(/* private fields */);
    Expand description

    quinn types that are used in the public iroh API. +Identifier for a stream within a particular connection

    +

    Implementations§

    §

    impl StreamId

    pub fn new(initiator: Side, dir: Dir, index: u64) -> StreamId

    Create a new StreamId

    pub fn initiator(self) -> Side

    Which side of a connection initiated the stream

    -

    pub fn dir(self) -> Dir

    Which directions data flows in

    +

    pub fn dir(self) -> Dir

    Which directions data flows in

    pub fn index(self) -> u64

    Distinguishes streams of the same initiator and directionality

    -

    Trait Implementations§

    §

    impl Clone for StreamId

    §

    fn clone(&self) -> StreamId

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Codec for StreamId

    §

    fn decode<B>(buf: &mut B) -> Result<StreamId, UnexpectedEnd>
    where - B: Buf,

    Decode a Self from the provided buffer, if the buffer is large enough
    §

    fn encode<B>(&self, buf: &mut B)
    where - B: BufMut,

    Append the encoding of self to the provided buffer
    §

    impl Debug for StreamId

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for StreamId

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl From<StreamId> for VarInt

    §

    fn from(x: StreamId) -> VarInt

    Converts to this type from the input type.
    §

    impl From<VarInt> for StreamId

    §

    fn from(v: VarInt) -> StreamId

    Converts to this type from the input type.
    §

    impl Hash for StreamId

    §

    fn hash<__H>(&self, state: &mut __H)
    where +

    Trait Implementations§

    §

    impl Clone for StreamId

    §

    fn clone(&self) -> StreamId

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for StreamId

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Decodable for StreamId

    §

    fn decode<B>(buf: &mut B) -> Result<StreamId, UnexpectedEnd>
    where + B: Buf,

    Decode a Self from the provided buffer, if the buffer is large enough
    §

    impl Display for StreamId

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Encodable for StreamId

    §

    fn encode<B>(&self, buf: &mut B)
    where + B: BufMut,

    Append the encoding of self to the provided buffer.
    §

    impl From<StreamId> for VarInt

    §

    fn from(x: StreamId) -> VarInt

    Converts to this type from the input type.
    §

    impl From<VarInt> for StreamId

    §

    fn from(v: VarInt) -> StreamId

    Converts to this type from the input type.
    §

    impl Hash for StreamId

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl Ord for StreamId

    §

    fn cmp(&self, other: &StreamId) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where @@ -57,5 +58,5 @@ the >= operator. TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.TokenReuseError.html b/pr/3734/docs/iroh/endpoint/struct.TokenReuseError.html new file mode 100644 index 0000000000..9ecb052bdb --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/struct.TokenReuseError.html @@ -0,0 +1,33 @@ +TokenReuseError in iroh::endpoint - Rust

    TokenReuseError

    Struct TokenReuseError 

    pub struct TokenReuseError;
    Expand description

    quinn_proto types that are used in the public iroh API. +Error for when a validation token may have been reused

    +

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn implicit( + self, + class: Class, + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CompatExt for T

    §

    fn compat(self) -> Compat<T>

    Applies the [Compat] adapter by value. Read more
    §

    fn compat_ref(&self) -> Compat<&T>

    Applies the [Compat] adapter by shared reference. Read more
    §

    fn compat_mut(&mut self) -> Compat<&mut T>

    Applies the [Compat] adapter by mutable reference. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +

    That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

    +
    §

    impl<T> Pointable for T

    §

    const ALIGN: usize

    The alignment of pointer.
    §

    type Init = T

    The type for initializers.
    §

    unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more
    §

    unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more
    §

    unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more
    §

    unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more
    §

    impl<T> PolicyExt for T
    where + T: ?Sized,

    §

    fn and<P, B, E>(self, other: P) -> And<T, P>
    where + T: Policy<B, E>, + P: Policy<B, E>,

    Create a new Policy that returns [Action::Follow] only if self and other return +Action::Follow. Read more
    §

    fn or<P, B, E>(self, other: P) -> Or<T, P>
    where + T: Policy<B, E>, + P: Policy<B, E>,

    Create a new Policy that returns [Action::Follow] if either self or other returns +Action::Follow. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.TransportAddrInfo.html b/pr/3734/docs/iroh/endpoint/struct.TransportAddrInfo.html new file mode 100644 index 0000000000..aeb89e2d48 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/struct.TransportAddrInfo.html @@ -0,0 +1,39 @@ +TransportAddrInfo in iroh::endpoint - Rust

    TransportAddrInfo

    Struct TransportAddrInfo 

    Source
    pub struct TransportAddrInfo { /* private fields */ }
    Expand description

    Address of a remote with some metadata

    +

    Implementations§

    Source§

    impl TransportAddrInfo

    Source

    pub fn addr(&self) -> &TransportAddr

    Returns the TransportAddr.

    +
    Source

    pub fn into_addr(self) -> TransportAddr

    Converts into TransportAddr.

    +
    Source

    pub fn usage(&self) -> TransportAddrUsage

    Returns information how this address is used.

    +

    Trait Implementations§

    Source§

    impl Clone for TransportAddrInfo

    Source§

    fn clone(&self) -> TransportAddrInfo

    Returns a duplicate 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 TransportAddrInfo

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<TransportAddrInfo> for TransportAddr

    Source§

    fn from(value: TransportAddrInfo) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn implicit( + self, + class: Class, + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dest: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dest. Read more
    §

    impl<T> CompatExt for T

    §

    fn compat(self) -> Compat<T>

    Applies the [Compat] adapter by value. Read more
    §

    fn compat_ref(&self) -> Compat<&T>

    Applies the [Compat] adapter by shared reference. Read more
    §

    fn compat_mut(&mut self) -> Compat<&mut T>

    Applies the [Compat] adapter by mutable reference. Read more
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §

    impl<T> FromRef<T> for T
    where + T: Clone,

    §

    fn from_ref(input: &T) -> T

    Converts to this type from a reference to the input type.
    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +

    That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

    +
    §

    impl<T> Pointable for T

    §

    const ALIGN: usize

    The alignment of pointer.
    §

    type Init = T

    The type for initializers.
    §

    unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more
    §

    unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more
    §

    unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more
    §

    unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more
    §

    impl<T> PolicyExt for T
    where + T: ?Sized,

    §

    fn and<P, B, E>(self, other: P) -> And<T, P>
    where + T: Policy<B, E>, + P: Policy<B, E>,

    Create a new Policy that returns [Action::Follow] only if self and other return +Action::Follow. Read more
    §

    fn or<P, B, E>(self, other: P) -> Or<T, P>
    where + T: Policy<B, E>, + P: Policy<B, E>,

    Create a new Policy that returns [Action::Follow] if either self or other returns +Action::Follow. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.TransportError.html b/pr/3734/docs/iroh/endpoint/struct.TransportError.html index 4c1fb08a2c..15e6c1afe5 100644 --- a/pr/3734/docs/iroh/endpoint/struct.TransportError.html +++ b/pr/3734/docs/iroh/endpoint/struct.TransportError.html @@ -1,17 +1,18 @@ -TransportError in iroh::endpoint - Rust

    TransportError

    Struct TransportError 

    #[non_exhaustive]
    pub struct TransportError { +TransportError in iroh::endpoint - Rust

    TransportError

    Struct TransportError 

    #[non_exhaustive]
    pub struct TransportError { pub code: Code, - pub frame: Option<FrameType>, + pub frame: MaybeFrame, pub reason: String, pub crypto: Option<Arc<dyn Error + Send + Sync>>, -}
    Expand description

    Transport-level errors occur when a peer violates the protocol specification

    +}
    Expand description

    quinn_proto types that are used in the public iroh API. +Transport-level errors occur when a peer violates the protocol specification

    §Note

    The PartialEq implementation for this type performs comparison on the code field only

    Fields (Non-exhaustive)§

    This struct is marked as non-exhaustive
    Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
    §code: Code

    Type of error

    -
    §frame: Option<FrameType>

    Frame type that triggered the error

    +
    §frame: MaybeFrame

    Frame type that triggered the error

    §reason: String

    Human-readable explanation of the reason

    §crypto: Option<Arc<dyn Error + Send + Sync>>

    An underlying crypto (e.g. TLS) layer error

    Implementations§

    §

    impl Error

    pub fn new(code: Code, reason: String) -> Error

    Construct an error with a code and a reason

    -

    Trait Implementations§

    §

    impl Clone for Error

    §

    fn clone(&self) -> Error

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Error

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for Error

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for Error

    1.30.0 · Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    §

    impl From<Error> for Error

    §

    fn from(e: Error) -> Error

    Converts to this type from the input type.
    §

    impl From<InvalidFrame> for Error

    §

    fn from(err: InvalidFrame) -> Error

    Converts to this type from the input type.
    §

    impl From<Error> for ConnectionClose

    §

    fn from(x: Error) -> ConnectionClose

    Converts to this type from the input type.
    §

    impl From<Error> for ConnectionError

    §

    fn from(source: Error) -> ConnectionError

    Converts to this type from the input type.
    §

    impl From<Code> for Error

    §

    fn from(x: Code) -> Error

    Converts to this type from the input type.
    §

    impl PartialEq for Error

    §

    fn eq(&self, other: &Error) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +

    Trait Implementations§

    §

    impl Clone for Error

    §

    fn clone(&self) -> Error

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Error

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for Error

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for Error

    1.30.0 · Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    §

    impl From<Error> for Error

    §

    fn from(e: Error) -> Error

    Converts to this type from the input type.
    §

    impl From<InvalidFrame> for Error

    §

    fn from(err: InvalidFrame) -> Error

    Converts to this type from the input type.
    §

    impl From<Error> for ConnectionClose

    §

    fn from(x: Error) -> ConnectionClose

    Converts to this type from the input type.
    §

    impl From<Error> for ConnectionError

    §

    fn from(source: Error) -> ConnectionError

    Converts to this type from the input type.
    §

    impl PartialEq for Error

    §

    fn eq(&self, other: &Error) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    §

    impl Eq for Error

    Auto Trait Implementations§

    §

    impl Freeze for Error

    §

    impl !RefUnwindSafe for Error

    §

    impl Send for Error

    §

    impl Sync for Error

    §

    impl Unpin for Error

    §

    impl !UnwindSafe for Error

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where @@ -28,7 +29,7 @@ and should not be overridden without very good reason.

    Eq + ?Sized, K: Borrow<Q> + ?Sized,
    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Q
    where Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + K: Borrow<Q> + ?Sized,
    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> FromRef<T> for T
    where T: Clone,

    §

    fn from_ref(input: &T) -> T

    Converts to this type from a reference to the input type.
    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an @@ -52,5 +53,5 @@ and should not be overridden without very good reason.
    TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.TransportErrorCode.html b/pr/3734/docs/iroh/endpoint/struct.TransportErrorCode.html index ccda383fb5..6af329d561 100644 --- a/pr/3734/docs/iroh/endpoint/struct.TransportErrorCode.html +++ b/pr/3734/docs/iroh/endpoint/struct.TransportErrorCode.html @@ -1,4 +1,5 @@ -TransportErrorCode in iroh::endpoint - Rust

    TransportErrorCode

    Struct TransportErrorCode 

    pub struct TransportErrorCode(/* private fields */);
    Expand description

    Transport-level error code

    +TransportErrorCode in iroh::endpoint - Rust

    TransportErrorCode

    Struct TransportErrorCode 

    pub struct TransportErrorCode(/* private fields */);
    Expand description

    quinn_proto types that are used in the public iroh API. +Transport-level error code

    Implementations§

    §

    impl Code

    pub fn crypto(code: u8) -> Code

    Create QUIC error code from TLS alert code

    §

    impl Code

    pub const NO_ERROR: Code

    the connection is being closed abruptly in the absence of any error

    pub const INTERNAL_ERROR: Code

    the endpoint encountered an internal error and cannot continue with the connection

    @@ -17,13 +18,13 @@

    pub const KEY_UPDATE_ERROR: Code

    key update error

    pub const AEAD_LIMIT_REACHED: Code

    the endpoint has reached the confidentiality or integrity limit for the AEAD algorithm

    pub const NO_VIABLE_PATH: Code

    no viable network path exists

    -

    pub const APPLICATION_ABANDON: Code

    Path abandoned at the application’s request

    -

    pub const RESOURCE_LIMIT_REACHED: Code

    Path abandoned due to resource limitations in the transport

    -

    pub const UNSTABLE_INTERFACE: Code

    Path abandoned due to unstable interfaces

    -

    pub const NO_CID_AVAILABLE: Code

    Path abandoned due to no available connection IDs for the path

    -

    Trait Implementations§

    §

    impl Clone for Code

    §

    fn clone(&self) -> Code

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Codec for Code

    §

    fn decode<B>(buf: &mut B) -> Result<Code, UnexpectedEnd>
    where - B: Buf,

    Decode a Self from the provided buffer, if the buffer is large enough
    §

    fn encode<B>(&self, buf: &mut B)
    where - B: BufMut,

    Append the encoding of self to the provided buffer
    §

    impl Debug for Code

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for Code

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl From<Code> for Error

    §

    fn from(x: Code) -> Error

    Converts to this type from the input type.
    §

    impl From<Code> for VarInt

    §

    fn from(value: Code) -> VarInt

    Converts to this type from the input type.
    §

    impl From<VarInt> for Code

    §

    fn from(value: VarInt) -> Code

    Converts to this type from the input type.
    §

    impl PartialEq for Code

    §

    fn eq(&self, other: &Code) -> 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, +

    pub const APPLICATION_ABANDON_PATH: Code

    Path abandoned at the application’s request

    +

    pub const PATH_RESOURCE_LIMIT_REACHED: Code

    Path abandoned due to resource limitations in the transport

    +

    pub const PATH_UNSTABLE_OR_POOR: Code

    Path abandoned due to unstable interfaces

    +

    pub const NO_CID_AVAILABLE_FOR_PATH: Code

    Path abandoned due to no available connection IDs for the path

    +

    Trait Implementations§

    §

    impl Clone for Code

    §

    fn clone(&self) -> Code

    Returns a duplicate 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 Code

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Decodable for Code

    §

    fn decode<B>(buf: &mut B) -> Result<Code, UnexpectedEnd>
    where + B: Buf,

    Decode a Self from the provided buffer, if the buffer is large enough
    §

    impl Display for Code

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Encodable for Code

    §

    fn encode<B>(&self, buf: &mut B)
    where + B: BufMut,

    Append the encoding of self to the provided buffer.
    §

    impl From<Code> for VarInt

    §

    fn from(value: Code) -> VarInt

    Converts to this type from the input type.
    §

    impl From<VarInt> for Code

    §

    fn from(value: VarInt) -> Code

    Converts to this type from the input type.
    §

    impl PartialEq for Code

    §

    fn eq(&self, other: &Code) -> 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 Copy for Code

    §

    impl Eq for Code

    §

    impl StructuralPartialEq for Code

    Auto Trait Implementations§

    §

    impl Freeze for Code

    §

    impl RefUnwindSafe for Code

    §

    impl Send for Code

    §

    impl Sync for Code

    §

    impl Unpin for Code

    §

    impl UnwindSafe for Code

    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 @@ -40,7 +41,7 @@ and should not be overridden without very good reason.

    Eq + ?Sized, K: Borrow<Q> + ?Sized,
    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Q
    where Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + K: Borrow<Q> + ?Sized,
    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> FromRef<T> for T
    where T: Clone,

    §

    fn from_ref(input: &T) -> T

    Converts to this type from a reference to the input type.
    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an @@ -64,5 +65,5 @@ and should not be overridden without very good reason.
    TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/net_report/struct.RelayLatencies.html b/pr/3734/docs/iroh/endpoint/struct.TransportParameters.html similarity index 57% rename from pr/3734/docs/iroh/net_report/struct.RelayLatencies.html rename to pr/3734/docs/iroh/endpoint/struct.TransportParameters.html index 1f302809b8..4b75b1c4d1 100644 --- a/pr/3734/docs/iroh/net_report/struct.RelayLatencies.html +++ b/pr/3734/docs/iroh/endpoint/struct.TransportParameters.html @@ -1,9 +1,15 @@ -RelayLatencies in iroh::net_report - Rust

    RelayLatencies

    Struct RelayLatencies 

    Source
    pub struct RelayLatencies { /* private fields */ }
    Expand description

    Latencies per relay endpoint.

    -

    Implementations§

    Source§

    impl RelayLatencies

    Source

    pub fn iter(&self) -> impl Iterator<Item = (Probe, &RelayUrl, Duration)> + '_

    Available on non-wasm_browser only.

    Returns an iterator over all the relays and their latencies.

    -

    Trait Implementations§

    Source§

    impl Clone for RelayLatencies

    Source§

    fn clone(&self) -> RelayLatencies

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for RelayLatencies

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for RelayLatencies

    Source§

    fn default() -> RelayLatencies

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for RelayLatencies

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl PartialEq for RelayLatencies

    Source§

    fn eq(&self, other: &RelayLatencies) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl Serialize for RelayLatencies

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl Eq for RelayLatencies

    Source§

    impl StructuralPartialEq for RelayLatencies

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +TransportParameters in iroh::endpoint - Rust

    TransportParameters

    Struct TransportParameters 

    pub struct TransportParameters {
    +    pub max_remote_nat_traversal_addresses: Option<NonZero<u8>>,
    +    /* private fields */
    +}
    Expand description

    quinn_proto types that are used in the public iroh API. +Transport parameters used to negotiate connection-level preferences between peers

    +

    Fields§

    §max_remote_nat_traversal_addresses: Option<NonZero<u8>>

    Nat traversal draft

    +

    Implementations§

    §

    impl TransportParameters

    pub fn write<W>(&self, w: &mut W)
    where + W: BufMut,

    Encode TransportParameters into buffer

    +

    pub fn read<R>(side: Side, r: &mut R) -> Result<TransportParameters, Error>
    where + R: Buf,

    Decode TransportParameters from buffer

    +

    Trait Implementations§

    §

    impl Clone for TransportParameters

    §

    fn clone(&self) -> TransportParameters

    Returns a duplicate 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 TransportParameters

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for TransportParameters

    §

    fn eq(&self, other: &TransportParameters) -> 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 Copy for TransportParameters

    §

    impl Eq for TransportParameters

    §

    impl StructuralPartialEq for TransportParameters

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -40,6 +46,5 @@ and should not be overridden without very good reason.

    TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where - T: for<'de> Deserialize<'de>,

    \ No newline at end of file +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.UdpStats.html b/pr/3734/docs/iroh/endpoint/struct.UdpStats.html index e5125e17c3..b1d5e3c04e 100644 --- a/pr/3734/docs/iroh/endpoint/struct.UdpStats.html +++ b/pr/3734/docs/iroh/endpoint/struct.UdpStats.html @@ -1,8 +1,9 @@ -UdpStats in iroh::endpoint - Rust

    UdpStats

    Struct UdpStats 

    #[non_exhaustive]
    pub struct UdpStats { +UdpStats in iroh::endpoint - Rust

    UdpStats

    Struct UdpStats 

    #[non_exhaustive]
    pub struct UdpStats { pub datagrams: u64, pub bytes: u64, pub ios: u64, -}
    Expand description

    Statistics about UDP datagrams transmitted or received on a connection

    +}
    Expand description

    quinn_proto types that are used in the public iroh API. +Statistics about UDP datagrams transmitted or received on a connection

    All QUIC packets are carried by UDP datagrams. Hence, these statistics cover all traffic on a connection.

    Fields (Non-exhaustive)§

    This struct is marked as non-exhaustive
    Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
    §datagrams: u64

    The amount of UDP datagrams observed

    §bytes: u64

    The total amount of bytes which have been transferred inside UDP datagrams

    @@ -41,5 +42,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.UnorderedRecvStream.html b/pr/3734/docs/iroh/endpoint/struct.UnorderedRecvStream.html new file mode 100644 index 0000000000..47852618db --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/struct.UnorderedRecvStream.html @@ -0,0 +1,62 @@ +UnorderedRecvStream in iroh::endpoint - Rust

    UnorderedRecvStream

    Struct UnorderedRecvStream 

    pub struct UnorderedRecvStream { /* private fields */ }
    Expand description

    quinn types that are used in the public iroh API. +A stream that can be used to receive data out-of-order.

    +

    Obtained by converting a RecvStream via RecvStream::into_unordered.

    +

    This variant of RecvStream allows reading chunks of data exclusively +out of order. Once you have done an unordered read, ordered reads are no +longer possible since data may have been consumed out of order.

    +

    The stream state related fns like Self::id, Self::is_0rtt, Self::stop, and +Self::received_reset behave exactly as on RecvStream.

    +

    Implementations§

    §

    impl UnorderedRecvStream

    pub async fn read_chunk( + &mut self, + max_length: usize, +) -> Result<Option<Chunk>, ReadError>

    Reads the next segment of data.

    +

    Yields None if the stream was finished. Otherwise, yields a segment of data and its +offset in the stream. Segments may be received in any order, and the Chunk’s offset +field can be used to determine ordering in the caller. Unordered reads are less prone +to head-of-line blocking within a stream, but require the application to manage +reassembling the original data.

    +

    This operation is cancel-safe.

    +

    pub fn id(&self) -> StreamId

    Get the identity of this stream

    +

    pub fn is_0rtt(&self) -> bool

    Check if this stream has been opened during 0-RTT.

    +

    In which case any non-idempotent request should be considered dangerous at the application +level. Because read data is subject to replay attacks.

    +

    pub fn stop(&mut self, error_code: VarInt) -> Result<(), ClosedStream>

    Stop accepting data

    +

    Discards unread data and notifies the peer to stop transmitting. Once stopped, further +attempts to operate on a stream will yield ClosedStream errors.

    +

    pub async fn received_reset(&mut self) -> Result<Option<VarInt>, ResetError>

    Completes when the stream has been reset by the peer or otherwise closed

    +

    Yields Some with the reset error code when the stream is reset by the peer. Yields None +when the stream was previously stop()ed, or when the stream was +finish()ed by the peer and all data has been received, after +which it is no longer meaningful for the stream to be reset.

    +

    This operation is cancel-safe.

    +

    Trait Implementations§

    §

    impl Debug for UnorderedRecvStream

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where + T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where + T: 'a,

    §

    fn implicit( + self, + class: Class, + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CompatExt for T

    §

    fn compat(self) -> Compat<T>

    Applies the [Compat] adapter by value. Read more
    §

    fn compat_ref(&self) -> Compat<&T>

    Applies the [Compat] adapter by shared reference. Read more
    §

    fn compat_mut(&mut self) -> Compat<&mut T>

    Applies the [Compat] adapter by mutable reference. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +

    That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

    +
    §

    impl<T> Pointable for T

    §

    const ALIGN: usize

    The alignment of pointer.
    §

    type Init = T

    The type for initializers.
    §

    unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more
    §

    unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more
    §

    unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more
    §

    unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more
    §

    impl<T> PolicyExt for T
    where + T: ?Sized,

    §

    fn and<P, B, E>(self, other: P) -> And<T, P>
    where + T: Policy<B, E>, + P: Policy<B, E>,

    Create a new Policy that returns [Action::Follow] only if self and other return +Action::Follow. Read more
    §

    fn or<P, B, E>(self, other: P) -> Or<T, P>
    where + T: Policy<B, E>, + P: Policy<B, E>,

    Create a new Policy that returns [Action::Follow] if either self or other returns +Action::Follow. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.UnsupportedVersion.html b/pr/3734/docs/iroh/endpoint/struct.UnsupportedVersion.html index 04f742545b..18b78e1450 100644 --- a/pr/3734/docs/iroh/endpoint/struct.UnsupportedVersion.html +++ b/pr/3734/docs/iroh/endpoint/struct.UnsupportedVersion.html @@ -1,5 +1,6 @@ -UnsupportedVersion in iroh::endpoint - Rust

    UnsupportedVersion

    Struct UnsupportedVersion 

    pub struct UnsupportedVersion;
    Expand description

    Error indicating that the specified QUIC version is not supported

    -

    Trait Implementations§

    §

    impl Debug for UnsupportedVersion

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +UnsupportedVersion in iroh::endpoint - Rust

    UnsupportedVersion

    Struct UnsupportedVersion 

    pub struct UnsupportedVersion;
    Expand description

    quinn_proto types that are used in the public iroh API. +Error indicating that the specified QUIC version is not supported

    +

    Trait Implementations§

    §

    impl Debug for UnsupportedVersion

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl From<UnsupportedVersion> for ConnectError

    §

    fn from(_: UnsupportedVersion) -> ConnectError

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -9,7 +10,7 @@ tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CompatExt for T

    §

    fn compat(self) -> Compat<T>

    Applies the [Compat] adapter by value. Read more
    §

    fn compat_ref(&self) -> Compat<&T>

    Applies the [Compat] adapter by shared reference. Read more
    §

    fn compat_mut(&mut self) -> Compat<&mut T>

    Applies the [Compat] adapter by mutable reference. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CompatExt for T

    §

    fn compat(self) -> Compat<T>

    Applies the [Compat] adapter by value. Read more
    §

    fn compat_ref(&self) -> Compat<&T>

    Applies the [Compat] adapter by shared reference. Read more
    §

    fn compat_mut(&mut self) -> Compat<&mut T>

    Applies the [Compat] adapter by mutable reference. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where @@ -28,5 +29,5 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.ValidationTokenConfig.html b/pr/3734/docs/iroh/endpoint/struct.ValidationTokenConfig.html new file mode 100644 index 0000000000..67e3b22845 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/struct.ValidationTokenConfig.html @@ -0,0 +1,84 @@ +ValidationTokenConfig in iroh::endpoint - Rust

    ValidationTokenConfig

    Struct ValidationTokenConfig 

    pub struct ValidationTokenConfig { /* private fields */ }
    Expand description

    quinn_proto types that are used in the public iroh API. +Configuration for sending and handling validation tokens in incoming connections

    +

    Default values should be suitable for most internet applications.

    +

    §QUIC Tokens

    +

    The QUIC protocol defines a concept of “address validation”. Essentially, one side of a +QUIC connection may appear to be receiving QUIC packets from a particular remote UDP address, +but it will only consider that remote address “validated” once it has convincing evidence that +the address is not being spoofed.

    +

    Validation is important primarily because of QUIC’s “anti-amplification limit.” This limit +prevents a QUIC server from sending a client more than three times the number of bytes it has +received from the client on a given address until that address is validated. This is designed +to mitigate the ability of attackers to use QUIC-based servers as reflectors in amplification +attacks.

    +

    A path may become validated in several ways. The server is always considered validated by the +client. The client usually begins in an unvalidated state upon first connecting or migrating, +but then becomes validated through various mechanisms that usually take one network round trip. +However, in some cases, a client which has previously attempted to connect to a server may have +been given a one-time use cryptographically secured “token” that it can send in a subsequent +connection attempt to be validated immediately.

    +

    There are two ways these tokens can originate:

    +
      +
    • If the server responds to an incoming connection with retry, a “retry token” is minted and +sent to the client, which the client immediately uses to attempt to connect again. Retry +tokens operate on short timescales, such as 15 seconds.
    • +
    • If a client’s path within an active connection is validated, the server may send the client +one or more “validation tokens,” which the client may store for use in later connections to +the same server. Validation tokens may be valid for much longer lifetimes than retry token.
    • +
    +

    The usage of validation tokens is most impactful in situations where 0-RTT data is also being +used–in particular, in situations where the server sends the client more than three times more +0.5-RTT data than it has received 0-RTT data. Since the successful completion of a connection +handshake implicitly causes the client’s address to be validated, transmission of 0.5-RTT data +is the main situation where a server might be sending application data to an address that could +be validated by token usage earlier than it would become validated without token usage.

    +

    These tokens should not be confused with “stateless reset tokens,” which are similarly named +but entirely unrelated.

    +

    Implementations§

    §

    impl ValidationTokenConfig

    pub fn lifetime(&mut self, value: Duration) -> &mut ValidationTokenConfig

    Duration after an address validation token was issued for which it’s considered valid

    +

    This refers only to tokens sent in NEW_TOKEN frames, in contrast to retry tokens.

    +

    Defaults to 2 weeks.

    +

    pub fn log(&mut self, log: Arc<dyn TokenLog>) -> &mut ValidationTokenConfig

    Set a custom TokenLog

    +

    If the bloom feature is enabled (which it is by default), defaults to a default +[BloomTokenLog][crate::BloomTokenLog], which is suitable for most internet applications.

    +

    If the bloom feature is disabled, defaults to [NoneTokenLog][crate::NoneTokenLog], +which makes the server ignore all address validation tokens (that is, tokens originating +from NEW_TOKEN frames–retry tokens are not affected).

    +

    pub fn sent(&mut self, value: u32) -> &mut ValidationTokenConfig

    Number of address validation tokens sent to a client when its path is validated

    +

    This refers only to tokens sent in NEW_TOKEN frames, in contrast to retry tokens.

    +

    If the bloom feature is enabled (which it is by default), defaults to 2. Otherwise, +defaults to 0.

    +

    Trait Implementations§

    §

    impl Clone for ValidationTokenConfig

    §

    fn clone(&self) -> ValidationTokenConfig

    Returns a duplicate 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 ValidationTokenConfig

    §

    fn fmt(&self, fmt: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for ValidationTokenConfig

    §

    fn default() -> ValidationTokenConfig

    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( + self, + class: Class, + constructed: bool, + tag: u32, +) -> TaggedParser<'a, Implicit, Self, E>

    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dest: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dest. Read more
    §

    impl<T> CompatExt for T

    §

    fn compat(self) -> Compat<T>

    Applies the [Compat] adapter by value. Read more
    §

    fn compat_ref(&self) -> Compat<&T>

    Applies the [Compat] adapter by shared reference. Read more
    §

    fn compat_mut(&mut self) -> Compat<&mut T>

    Applies the [Compat] adapter by mutable reference. Read more
    Source§

    impl<T> DynClone for T
    where + T: Clone,

    Source§

    fn __clone_box(&self, _: Private) -> *mut ()

    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §

    impl<T> FromRef<T> for T
    where + T: Clone,

    §

    fn from_ref(input: &T) -> T

    Converts to this type from a reference to the input type.
    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an +Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +

    That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

    +
    §

    impl<T> Pointable for T

    §

    const ALIGN: usize

    The alignment of pointer.
    §

    type Init = T

    The type for initializers.
    §

    unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more
    §

    unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more
    §

    unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more
    §

    unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more
    §

    impl<T> PolicyExt for T
    where + T: ?Sized,

    §

    fn and<P, B, E>(self, other: P) -> And<T, P>
    where + T: Policy<B, E>, + P: Policy<B, E>,

    Create a new Policy that returns [Action::Follow] only if self and other return +Action::Follow. Read more
    §

    fn or<P, B, E>(self, other: P) -> Or<T, P>
    where + T: Policy<B, E>, + P: Policy<B, E>,

    Create a new Policy that returns [Action::Follow] if either self or other returns +Action::Follow. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where + V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.VarInt.html b/pr/3734/docs/iroh/endpoint/struct.VarInt.html index 31c6409ba7..dd3651ff00 100644 --- a/pr/3734/docs/iroh/endpoint/struct.VarInt.html +++ b/pr/3734/docs/iroh/endpoint/struct.VarInt.html @@ -1,4 +1,5 @@ -VarInt in iroh::endpoint - Rust

    VarInt

    Struct VarInt 

    pub struct VarInt(/* private fields */);
    Expand description

    An integer less than 2^62

    +VarInt in iroh::endpoint - Rust

    VarInt

    Struct VarInt 

    pub struct VarInt(/* private fields */);
    Expand description

    quinn types that are used in the public iroh API. +An integer less than 2^62

    Values of this type are suitable for encoding as QUIC variable-length integer.

    Implementations§

    §

    impl VarInt

    pub const MAX: VarInt

    The largest representable value

    pub const MAX_SIZE: usize = 8usize

    The largest encoded value length

    @@ -10,9 +11,9 @@

    pub const fn into_inner(self) -> u64

    Extract the integer value

    pub fn saturating_add(self, rhs: impl Into<VarInt>) -> VarInt

    Saturating integer addition. Computes self + rhs, saturating at the numeric bounds instead of overflowing.

    -

    Trait Implementations§

    §

    impl Clone for VarInt

    §

    fn clone(&self) -> VarInt

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Codec for VarInt

    §

    fn decode<B>(r: &mut B) -> Result<VarInt, UnexpectedEnd>
    where - B: Buf,

    Decode a Self from the provided buffer, if the buffer is large enough
    §

    fn encode<B>(&self, w: &mut B)
    where - B: BufMut,

    Append the encoding of self to the provided buffer
    §

    impl Debug for VarInt

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for VarInt

    §

    fn default() -> VarInt

    Returns the “default value” for a type. Read more
    §

    impl Display for VarInt

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl From<FrameType> for VarInt

    Source§

    fn from(value: FrameType) -> VarInt

    Converts to this type from the input type.
    §

    impl From<StreamId> for VarInt

    §

    fn from(x: StreamId) -> VarInt

    Converts to this type from the input type.
    §

    impl From<Code> for VarInt

    §

    fn from(value: Code) -> VarInt

    Converts to this type from the input type.
    §

    impl From<VarInt> for IdleTimeout

    §

    fn from(inner: VarInt) -> IdleTimeout

    Converts to this type from the input type.
    §

    impl From<VarInt> for StreamId

    §

    fn from(v: VarInt) -> StreamId

    Converts to this type from the input type.
    §

    impl From<VarInt> for Code

    §

    fn from(value: VarInt) -> Code

    Converts to this type from the input type.
    §

    impl From<u16> for VarInt

    §

    fn from(x: u16) -> VarInt

    Converts to this type from the input type.
    §

    impl From<u32> for VarInt

    §

    fn from(x: u32) -> VarInt

    Converts to this type from the input type.
    §

    impl From<u8> for VarInt

    §

    fn from(x: u8) -> VarInt

    Converts to this type from the input type.
    §

    impl Hash for VarInt

    §

    fn hash<__H>(&self, state: &mut __H)
    where +

    Trait Implementations§

    §

    impl Clone for VarInt

    §

    fn clone(&self) -> VarInt

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for VarInt

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Decodable for VarInt

    §

    fn decode<B>(r: &mut B) -> Result<VarInt, UnexpectedEnd>
    where + B: Buf,

    Decode a Self from the provided buffer, if the buffer is large enough
    §

    impl Default for VarInt

    §

    fn default() -> VarInt

    Returns the “default value” for a type. Read more
    §

    impl Display for VarInt

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Encodable for VarInt

    §

    fn encode<B>(&self, w: &mut B)
    where + B: BufMut,

    Append the encoding of self to the provided buffer.
    Source§

    impl From<FrameType> for VarInt

    Source§

    fn from(value: FrameType) -> VarInt

    Converts to this type from the input type.
    §

    impl From<StreamId> for VarInt

    §

    fn from(x: StreamId) -> VarInt

    Converts to this type from the input type.
    §

    impl From<Code> for VarInt

    §

    fn from(value: Code) -> VarInt

    Converts to this type from the input type.
    §

    impl From<VarInt> for IdleTimeout

    §

    fn from(inner: VarInt) -> IdleTimeout

    Converts to this type from the input type.
    §

    impl From<VarInt> for StreamId

    §

    fn from(v: VarInt) -> StreamId

    Converts to this type from the input type.
    §

    impl From<VarInt> for Code

    §

    fn from(value: VarInt) -> Code

    Converts to this type from the input type.
    §

    impl From<u16> for VarInt

    §

    fn from(x: u16) -> VarInt

    Converts to this type from the input type.
    §

    impl From<u32> for VarInt

    §

    fn from(x: u32) -> VarInt

    Converts to this type from the input type.
    §

    impl From<u8> for VarInt

    §

    fn from(x: u8) -> VarInt

    Converts to this type from the input type.
    §

    impl Hash for VarInt

    §

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl Ord for VarInt

    §

    fn cmp(&self, other: &VarInt) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where @@ -67,5 +68,5 @@ the >= operator. TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.VarIntBoundsExceeded.html b/pr/3734/docs/iroh/endpoint/struct.VarIntBoundsExceeded.html index ec1a6a7e90..1c7bece93f 100644 --- a/pr/3734/docs/iroh/endpoint/struct.VarIntBoundsExceeded.html +++ b/pr/3734/docs/iroh/endpoint/struct.VarIntBoundsExceeded.html @@ -1,4 +1,5 @@ -VarIntBoundsExceeded in iroh::endpoint - Rust

    VarIntBoundsExceeded

    Struct VarIntBoundsExceeded 

    pub struct VarIntBoundsExceeded;
    Expand description

    Error returned when constructing a VarInt from a value >= 2^62

    +VarIntBoundsExceeded in iroh::endpoint - Rust

    VarIntBoundsExceeded

    Struct VarIntBoundsExceeded 

    pub struct VarIntBoundsExceeded;
    Expand description

    quinn types that are used in the public iroh API. +Error returned when constructing a VarInt from a value >= 2^62

    Trait Implementations§

    §

    impl Clone for VarIntBoundsExceeded

    §

    fn clone(&self) -> VarIntBoundsExceeded

    Returns a duplicate 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 VarIntBoundsExceeded

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for VarIntBoundsExceeded

    §

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for VarIntBoundsExceeded

    1.30.0 · Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    §

    impl PartialEq for VarIntBoundsExceeded

    §

    fn eq(&self, other: &VarIntBoundsExceeded) -> 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 Copy for VarIntBoundsExceeded

    §

    impl Eq for VarIntBoundsExceeded

    §

    impl StructuralPartialEq for VarIntBoundsExceeded

    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 @@ -40,5 +41,5 @@ and should not be overridden without very good reason.

    TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/struct.Written.html b/pr/3734/docs/iroh/endpoint/struct.Written.html index fe46d6b7c7..fd2c597004 100644 --- a/pr/3734/docs/iroh/endpoint/struct.Written.html +++ b/pr/3734/docs/iroh/endpoint/struct.Written.html @@ -1,7 +1,8 @@ -Written in iroh::endpoint - Rust

    Written

    Struct Written 

    pub struct Written {
    +Written in iroh::endpoint - Rust

    Written

    Struct Written 

    pub struct Written {
         pub bytes: usize,
         pub chunks: usize,
    -}
    Expand description

    Indicates how many bytes and chunks had been transferred in a write operation

    +}
    Expand description

    quinn types that are used in the public iroh API. +Indicates how many bytes and chunks had been transferred in a write operation

    Fields§

    §bytes: usize

    The amount of bytes which had been written

    §chunks: usize

    The amount of full chunks which had been written

    If a chunk was only partially written, it will not be counted by this field.

    @@ -43,5 +44,5 @@ and should not be overridden without very good reason.
    TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/trait.AeadKey.html b/pr/3734/docs/iroh/endpoint/trait.AeadKey.html index 73b583fec9..2d6df3522b 100644 --- a/pr/3734/docs/iroh/endpoint/trait.AeadKey.html +++ b/pr/3734/docs/iroh/endpoint/trait.AeadKey.html @@ -1,4 +1,4 @@ -AeadKey in iroh::endpoint - Rust

    AeadKey

    Trait AeadKey 

    pub trait AeadKey {
    +AeadKey in iroh::endpoint - Rust

    AeadKey

    Trait AeadKey 

    pub trait AeadKey {
         // Required methods
         fn seal(
             &self,
    @@ -10,7 +10,8 @@
             data: &'a mut [u8],
             additional_data: &[u8],
         ) -> Result<&'a mut [u8], CryptoError>;
    -}
    Expand description

    A key for sealing data with AEAD-based algorithms

    +}
    Expand description

    quinn_proto types that are used in the public iroh API. +A key for sealing data with AEAD-based algorithms

    Required Methods§

    fn seal( &self, data: &mut Vec<u8>, diff --git a/pr/3734/docs/iroh/endpoint/trait.ConnectionState.html b/pr/3734/docs/iroh/endpoint/trait.ConnectionState.html index d557e5a88a..00bef27411 100644 --- a/pr/3734/docs/iroh/endpoint/trait.ConnectionState.html +++ b/pr/3734/docs/iroh/endpoint/trait.ConnectionState.html @@ -1,5 +1,5 @@ -ConnectionState in iroh::endpoint - Rust

    ConnectionState

    Trait ConnectionState 

    Source
    pub trait ConnectionState: Sealed {
    +ConnectionState in iroh::endpoint - Rust

    ConnectionState

    Trait ConnectionState 

    Source
    pub trait ConnectionState: Sealed {
         type Data: Debug + Clone;
     }
    Expand description

    Trait to track the state of a Connection at compile time.

    -

    Required Associated Types§

    Source

    type Data: Debug + Clone

    State-specific data stored in the Connection.

    -

    Implementors§

    Source§

    impl ConnectionState for HandshakeCompleted

    Source§

    type Data = HandshakeCompletedData

    Source§

    impl ConnectionState for IncomingZeroRtt

    Source§

    type Data = IncomingZeroRttData

    Source§

    impl ConnectionState for OutgoingZeroRtt

    Source§

    type Data = OutgoingZeroRttData

    \ No newline at end of file +

    Required Associated Types§

    Source

    type Data: Debug + Clone

    State-specific data stored in the Connection.

    +

    Implementors§

    Source§

    impl ConnectionState for HandshakeCompleted

    Source§

    type Data = HandshakeCompletedData

    Source§

    impl ConnectionState for IncomingZeroRtt

    Source§

    type Data = IncomingZeroRttData

    Source§

    impl ConnectionState for OutgoingZeroRtt

    Source§

    type Data = OutgoingZeroRttData

    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/trait.Controller.html b/pr/3734/docs/iroh/endpoint/trait.Controller.html index 6a790f8af8..c6a0cd19a7 100644 --- a/pr/3734/docs/iroh/endpoint/trait.Controller.html +++ b/pr/3734/docs/iroh/endpoint/trait.Controller.html @@ -1,4 +1,7 @@ -Controller in iroh::endpoint - Rust

    Controller

    Trait Controller 

    pub trait Controller: Send + Sync {
    +Controller in iroh::endpoint - Rust

    Controller

    Trait Controller 

    pub trait Controller:
    +    Send
    +    + Sync
    +    + Debug {
         // Required methods
         fn on_congestion_event(
             &mut self,
    @@ -22,7 +25,7 @@
             sent: Instant,
             bytes: u64,
             app_limited: bool,
    -        rtt: &RttEstimator,
    +        rtt: &RttEstimator,
         ) { ... }
         fn on_end_acks(
             &mut self,
    @@ -32,8 +35,9 @@
             largest_packet_num_acked: Option<u64>,
         ) { ... }
         fn on_spurious_congestion_event(&mut self) { ... }
    -    fn metrics(&self) -> ControllerMetrics { ... }
    -}
    Expand description

    Common interface for different congestion controllers

    + fn metrics(&self) -> ControllerMetrics { ... } +}
    Expand description

    quinn_proto types that are used in the public iroh API. +Common interface for different congestion controllers

    Required Methods§

    fn on_congestion_event( &mut self, now: Instant, @@ -58,7 +62,7 @@ lost. sent: Instant, bytes: u64, app_limited: bool, - rtt: &RttEstimator, + rtt: &RttEstimator, )

    Packet deliveries were confirmed

    app_limited indicates whether the connection was blocked on outgoing application data prior to receiving these acknowledgements.

    @@ -72,5 +76,5 @@ application data prior to receiving these acknowledgements.

    fn on_spurious_congestion_event(&mut self)

    Packets were incorrectly deemed lost

    This function is called when all packets that were deemed lost (for instance because of packet reordering) are acknowledged after the congestion event was raised.

    -

    fn metrics(&self) -> ControllerMetrics

    Retrieve implementation-specific metrics used to populate qlog traces when they are enabled

    +

    fn metrics(&self) -> ControllerMetrics

    Retrieve implementation-specific metrics used to populate qlog traces when they are enabled

    Implementors§

    §

    impl Controller for Bbr

    §

    impl Controller for Cubic

    §

    impl Controller for NewReno

    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/trait.ControllerFactory.html b/pr/3734/docs/iroh/endpoint/trait.ControllerFactory.html index 430e852b90..b0096b896c 100644 --- a/pr/3734/docs/iroh/endpoint/trait.ControllerFactory.html +++ b/pr/3734/docs/iroh/endpoint/trait.ControllerFactory.html @@ -1,10 +1,11 @@ -ControllerFactory in iroh::endpoint - Rust

    ControllerFactory

    Trait ControllerFactory 

    pub trait ControllerFactory {
    +ControllerFactory in iroh::endpoint - Rust

    ControllerFactory

    Trait ControllerFactory 

    pub trait ControllerFactory {
         // Required method
         fn build(
             self: Arc<Self>,
             now: Instant,
             current_mtu: u16,
         ) -> Box<dyn Controller>;
    -}
    Expand description

    Constructs controllers on demand

    +}
    Expand description

    quinn_proto types that are used in the public iroh API. +Constructs controllers on demand

    Required Methods§

    fn build(self: Arc<Self>, now: Instant, current_mtu: u16) -> Box<dyn Controller>

    Construct a fresh Controller

    Implementors§

    §

    impl ControllerFactory for BbrConfig

    §

    impl ControllerFactory for CubicConfig

    §

    impl ControllerFactory for NewRenoConfig

    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/trait.CryptoServerConfig.html b/pr/3734/docs/iroh/endpoint/trait.CryptoServerConfig.html deleted file mode 100644 index 709cfe7498..0000000000 --- a/pr/3734/docs/iroh/endpoint/trait.CryptoServerConfig.html +++ /dev/null @@ -1,38 +0,0 @@ -CryptoServerConfig in iroh::endpoint - Rust

    CryptoServerConfig

    Trait CryptoServerConfig 

    pub trait CryptoServerConfig: Send + Sync {
    -    // Required methods
    -    fn initial_keys(
    -        &self,
    -        version: u32,
    -        dst_cid: ConnectionId,
    -    ) -> Result<Keys, UnsupportedVersion>;
    -    fn retry_tag(
    -        &self,
    -        version: u32,
    -        orig_dst_cid: ConnectionId,
    -        packet: &[u8],
    -    ) -> [u8; 16];
    -    fn start_session(
    -        self: Arc<Self>,
    -        version: u32,
    -        params: &TransportParameters,
    -    ) -> Box<dyn Session>;
    -}
    Expand description

    Server-side configuration for the crypto protocol

    -

    Required Methods§

    fn initial_keys( - &self, - version: u32, - dst_cid: ConnectionId, -) -> Result<Keys, UnsupportedVersion>

    Create the initial set of keys given the client’s initial destination ConnectionId

    -

    fn retry_tag( - &self, - version: u32, - orig_dst_cid: ConnectionId, - packet: &[u8], -) -> [u8; 16]

    Generate the integrity tag for a retry packet

    -

    Never called if initial_keys rejected version.

    -

    fn start_session( - self: Arc<Self>, - version: u32, - params: &TransportParameters, -) -> Box<dyn Session>

    Start a server session with this configuration

    -

    Never called if initial_keys rejected version.

    -

    Implementors§

    §

    impl ServerConfig for QuicServerConfig

    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/trait.EndpointHooks.html b/pr/3734/docs/iroh/endpoint/trait.EndpointHooks.html index e5d859e436..4bab1d71e3 100644 --- a/pr/3734/docs/iroh/endpoint/trait.EndpointHooks.html +++ b/pr/3734/docs/iroh/endpoint/trait.EndpointHooks.html @@ -1,4 +1,4 @@ -EndpointHooks in iroh::endpoint - Rust

    EndpointHooks

    Trait EndpointHooks 

    Source
    pub trait EndpointHooks:
    +EndpointHooks in iroh::endpoint - Rust

    EndpointHooks

    Trait EndpointHooks 

    Source
    pub trait EndpointHooks:
         Debug
         + Send
         + Sync {
    @@ -22,7 +22,7 @@ are not invoked for this hook.

    As hooks are stored on the endpoint, you must make sure to never store an Endpoint on the hook struct itself, as this would create reference counting loop and cause the endpoint to never be dropped, leaking memory.

    -

    Provided Methods§

    Provided Methods§

    Source

    fn before_connect<'a>( &'a self, _remote_addr: &'a EndpointAddr, _alpn: &'a [u8], @@ -31,7 +31,7 @@ endpoint to never be dropped, leaking memory.

    or Endpoint::connect_with_opts.

    If any hook returns BeforeConnectOutcome::Reject, the connection attempt is aborted before any packets are sent to the remote.

    -

    Source

    fn after_handshake<'a>( +

    Source

    fn after_handshake<'a>( &'a self, _conn: &'a ConnectionInfo, ) -> impl Future<Output = AfterHandshakeOutcome> + Send + 'a

    Intercept both incoming and outgoing connections once the TLS handshake has completed.

    diff --git a/pr/3734/docs/iroh/endpoint/trait.HandshakeTokenKey.html b/pr/3734/docs/iroh/endpoint/trait.HandshakeTokenKey.html index 98330c28d9..501c13165e 100644 --- a/pr/3734/docs/iroh/endpoint/trait.HandshakeTokenKey.html +++ b/pr/3734/docs/iroh/endpoint/trait.HandshakeTokenKey.html @@ -1,6 +1,7 @@ -HandshakeTokenKey in iroh::endpoint - Rust

    HandshakeTokenKey

    Trait HandshakeTokenKey 

    pub trait HandshakeTokenKey: Send + Sync {
    +HandshakeTokenKey in iroh::endpoint - Rust

    HandshakeTokenKey

    Trait HandshakeTokenKey 

    pub trait HandshakeTokenKey: Send + Sync {
         // Required method
         fn aead_from_hkdf(&self, random_bytes: &[u8]) -> Box<dyn AeadKey>;
    -}
    Expand description

    A pseudo random key for HKDF

    +}
    Expand description

    quinn_proto types that are used in the public iroh API. +A pseudo random key for HKDF

    Required Methods§

    fn aead_from_hkdf(&self, random_bytes: &[u8]) -> Box<dyn AeadKey>

    Derive AEAD using hkdf

    Implementations on Foreign Types§

    §

    impl HandshakeTokenKey for Prk

    §

    fn aead_from_hkdf(&self, random_bytes: &[u8]) -> Box<dyn AeadKey>

    Implementors§

    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/trait.HeaderKey.html b/pr/3734/docs/iroh/endpoint/trait.HeaderKey.html new file mode 100644 index 0000000000..f941438e7d --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/trait.HeaderKey.html @@ -0,0 +1,11 @@ +HeaderKey in iroh::endpoint - Rust

    HeaderKey

    Trait HeaderKey 

    pub trait HeaderKey: Send + Sync {
    +    // Required methods
    +    fn decrypt(&self, pn_offset: usize, packet: &mut [u8]);
    +    fn encrypt(&self, pn_offset: usize, packet: &mut [u8]);
    +    fn sample_size(&self) -> usize;
    +}
    Expand description

    quinn_proto types that are used in the public iroh API. +Keys used to protect packet headers

    +

    Required Methods§

    fn decrypt(&self, pn_offset: usize, packet: &mut [u8])

    Decrypt the given packet’s header

    +

    fn encrypt(&self, pn_offset: usize, packet: &mut [u8])

    Encrypt the given packet’s header

    +

    fn sample_size(&self) -> usize

    The sample size used for this key’s algorithm

    +

    Implementations on Foreign Types§

    §

    impl HeaderKey for Box<dyn HeaderProtectionKey>

    §

    fn decrypt(&self, pn_offset: usize, packet: &mut [u8])

    §

    fn encrypt(&self, pn_offset: usize, packet: &mut [u8])

    §

    fn sample_size(&self) -> usize

    Implementors§

    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/trait.PacketKey.html b/pr/3734/docs/iroh/endpoint/trait.PacketKey.html new file mode 100644 index 0000000000..637b9d40d6 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/trait.PacketKey.html @@ -0,0 +1,52 @@ +PacketKey in iroh::endpoint - Rust

    PacketKey

    Trait PacketKey 

    pub trait PacketKey: Send + Sync {
    +    // Required methods
    +    fn encrypt(
    +        &self,
    +        path_id: PathId,
    +        packet: u64,
    +        buf: &mut [u8],
    +        header_len: usize,
    +    );
    +    fn decrypt(
    +        &self,
    +        path_id: PathId,
    +        packet: u64,
    +        header: &[u8],
    +        payload: &mut BytesMut,
    +    ) -> Result<(), CryptoError>;
    +    fn tag_len(&self) -> usize;
    +    fn confidentiality_limit(&self) -> u64;
    +    fn integrity_limit(&self) -> u64;
    +}
    Expand description

    quinn_proto types that are used in the public iroh API. +Keys used to protect packet payloads

    +

    Required Methods§

    fn encrypt( + &self, + path_id: PathId, + packet: u64, + buf: &mut [u8], + header_len: usize, +)

    Encrypt the packet payload with the given packet number

    +

    fn decrypt( + &self, + path_id: PathId, + packet: u64, + header: &[u8], + payload: &mut BytesMut, +) -> Result<(), CryptoError>

    Decrypt the packet payload with the given packet number

    +

    fn tag_len(&self) -> usize

    The length of the AEAD tag appended to packets on encryption

    +

    fn confidentiality_limit(&self) -> u64

    Maximum number of packets that may be sent using a single key

    +

    fn integrity_limit(&self) -> u64

    Maximum number of incoming packets that may fail decryption before the connection must be +abandoned

    +

    Implementations on Foreign Types§

    §

    impl PacketKey for Box<dyn PacketKey>

    §

    fn encrypt( + &self, + path_id: PathId, + packet: u64, + buf: &mut [u8], + header_len: usize, +)

    §

    fn decrypt( + &self, + path_id: PathId, + packet: u64, + header: &[u8], + payload: &mut BytesMut, +) -> Result<(), CryptoError>

    §

    fn tag_len(&self) -> usize

    §

    fn confidentiality_limit(&self) -> u64

    §

    fn integrity_limit(&self) -> u64

    Implementors§

    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/trait.QlogFactory.html b/pr/3734/docs/iroh/endpoint/trait.QlogFactory.html new file mode 100644 index 0000000000..35eae6b1b3 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/trait.QlogFactory.html @@ -0,0 +1,23 @@ +QlogFactory in iroh::endpoint - Rust

    QlogFactory

    Trait QlogFactory 

    pub trait QlogFactory:
    +    Send
    +    + Sync
    +    + 'static {
    +    // Required method
    +    fn for_connection(
    +        &self,
    +        side: Side,
    +        remote: SocketAddr,
    +        initial_dst_cid: ConnectionId,
    +        now: Instant,
    +    ) -> Option<QlogConfig>;
    +}
    Available on crate feature qlog only.
    Expand description

    Constructs a QlogConfig for individual connections.

    +

    This is set via TransportConfig::qlog_factory.

    +

    Required Methods§

    fn for_connection( + &self, + side: Side, + remote: SocketAddr, + initial_dst_cid: ConnectionId, + now: Instant, +) -> Option<QlogConfig>

    Returns a QlogConfig for a connection, if logging should be enabled.

    +

    If None is returned, qlog capture is disabled for the connection.

    +

    Implementors§

    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/trait.TimeSource.html b/pr/3734/docs/iroh/endpoint/trait.TimeSource.html new file mode 100644 index 0000000000..b3d5a11064 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/trait.TimeSource.html @@ -0,0 +1,8 @@ +TimeSource in iroh::endpoint - Rust

    TimeSource

    Trait TimeSource 

    pub trait TimeSource: Send + Sync {
    +    // Required method
    +    fn now(&self) -> SystemTime;
    +}
    Expand description

    quinn_proto types that are used in the public iroh API. +Object to get current SystemTime

    +

    This exists to allow system time to be mocked in tests, or wherever else desired.

    +

    Required Methods§

    fn now(&self) -> SystemTime

    Get SystemTime::now() or the mocked equivalent

    +

    Implementors§

    §

    impl TimeSource for StdSystemTime

    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/trait.TokenLog.html b/pr/3734/docs/iroh/endpoint/trait.TokenLog.html new file mode 100644 index 0000000000..3c14d167c8 --- /dev/null +++ b/pr/3734/docs/iroh/endpoint/trait.TokenLog.html @@ -0,0 +1,46 @@ +TokenLog in iroh::endpoint - Rust

    TokenLog

    Trait TokenLog 

    pub trait TokenLog: Send + Sync {
    +    // Required method
    +    fn check_and_insert(
    +        &self,
    +        nonce: u128,
    +        issued: SystemTime,
    +        lifetime: Duration,
    +    ) -> Result<(), TokenReuseError>;
    +}
    Expand description

    quinn_proto types that are used in the public iroh API. +Responsible for limiting clients’ ability to reuse validation tokens

    +

    RFC 9000 § 8.1.4:

    +
    +

    Attackers could replay tokens to use servers as amplifiers in DDoS attacks. To protect +against such attacks, servers MUST ensure that replay of tokens is prevented or limited. +Servers SHOULD ensure that tokens sent in Retry packets are only accepted for a short time, +as they are returned immediately by clients. Tokens that are provided in NEW_TOKEN frames +(Section 19.7) need to be valid for longer but SHOULD NOT be accepted multiple times. +Servers are encouraged to allow tokens to be used only once, if possible; tokens MAY include +additional information about clients to further narrow applicability or reuse.

    +
    +

    TokenLog pertains only to tokens provided in NEW_TOKEN frames.

    +

    Required Methods§

    fn check_and_insert( + &self, + nonce: u128, + issued: SystemTime, + lifetime: Duration, +) -> Result<(), TokenReuseError>

    Record that the token was used and, ideally, return a token reuse error if the token may +have been already used previously

    +

    False negatives and false positives are both permissible. Called when a client uses an +address validation token.

    +

    Parameters:

    +
      +
    • nonce: A server-generated random unique value for the token.
    • +
    • issued: The time the server issued the token.
    • +
    • lifetime: The expiration time of address validation tokens sent via NEW_TOKEN frames, +as configured by ServerValidationTokenConfig::lifetime.
    • +
    +
    §Security & Performance
    +

    To the extent that it is possible to repeatedly trigger false negatives (returning Ok for +a token which has been reused), an attacker could use the server to perform amplification +attacks. The QUIC specification requires that this be limited, if not prevented fully.

    +

    A false positive (returning Err for a token which has never been used) is not a security +vulnerability; it is permissible for a TokenLog to always return Err. A false positive +causes the token to be ignored, which may cause the transmission of some 0.5-RTT data to be +delayed until the handshake completes, if a sufficient amount of 0.5-RTT data it sent.

    +

    Implementors§

    §

    impl TokenLog for BloomTokenLog

    §

    impl TokenLog for NoneTokenLog

    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint/type.IncomingZeroRttConnection.html b/pr/3734/docs/iroh/endpoint/type.IncomingZeroRttConnection.html index a68bb6a0e0..eac89f688d 100644 --- a/pr/3734/docs/iroh/endpoint/type.IncomingZeroRttConnection.html +++ b/pr/3734/docs/iroh/endpoint/type.IncomingZeroRttConnection.html @@ -1,4 +1,4 @@ -IncomingZeroRttConnection in iroh::endpoint - Rust

    IncomingZeroRttConnection

    Type Alias IncomingZeroRttConnection 

    Source
    pub type IncomingZeroRttConnection = Connection<IncomingZeroRtt>;
    Expand description

    A QUIC connection on the server-side that can possibly accept 0-RTT data.

    +IncomingZeroRttConnection in iroh::endpoint - Rust

    IncomingZeroRttConnection

    Type Alias IncomingZeroRttConnection 

    Source
    pub type IncomingZeroRttConnection = Connection<IncomingZeroRtt>;
    Expand description

    A QUIC connection on the server-side that can possibly accept 0-RTT data.

    It is very similar to a Connection, but the IncomingZeroRttConnection::remote_id and IncomingZeroRttConnection::alpn may not be set yet, since the handshake has not necessarily occurred yet.

    diff --git a/pr/3734/docs/iroh/endpoint/type.OutgoingZeroRttConnection.html b/pr/3734/docs/iroh/endpoint/type.OutgoingZeroRttConnection.html index 8c94884ad8..79de9ebe1a 100644 --- a/pr/3734/docs/iroh/endpoint/type.OutgoingZeroRttConnection.html +++ b/pr/3734/docs/iroh/endpoint/type.OutgoingZeroRttConnection.html @@ -1,4 +1,4 @@ -OutgoingZeroRttConnection in iroh::endpoint - Rust

    OutgoingZeroRttConnection

    Type Alias OutgoingZeroRttConnection 

    Source
    pub type OutgoingZeroRttConnection = Connection<OutgoingZeroRtt>;
    Expand description

    The client side of a 0-RTT connection.

    +OutgoingZeroRttConnection in iroh::endpoint - Rust

    OutgoingZeroRttConnection

    Type Alias OutgoingZeroRttConnection 

    Source
    pub type OutgoingZeroRttConnection = Connection<OutgoingZeroRtt>;
    Expand description

    The client side of a 0-RTT connection.

    This is created using Connecting::into_0rtt.

    Creating a OutgoingZeroRttConnection means that the endpoint is capable of attempting a 0-RTT connection with the remote. The remote may still diff --git a/pr/3734/docs/iroh/endpoint_info/enum.DecodingError.html b/pr/3734/docs/iroh/endpoint_info/enum.DecodingError.html index 6d85928a4c..b4343cec40 100644 --- a/pr/3734/docs/iroh/endpoint_info/enum.DecodingError.html +++ b/pr/3734/docs/iroh/endpoint_info/enum.DecodingError.html @@ -47,5 +47,5 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint_info/enum.EncodingError.html b/pr/3734/docs/iroh/endpoint_info/enum.EncodingError.html index b3e634bf32..7ad1684dee 100644 --- a/pr/3734/docs/iroh/endpoint_info/enum.EncodingError.html +++ b/pr/3734/docs/iroh/endpoint_info/enum.EncodingError.html @@ -42,5 +42,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint_info/enum.ParseError.html b/pr/3734/docs/iroh/endpoint_info/enum.ParseError.html index ded19ea9d7..d8c30a3642 100644 --- a/pr/3734/docs/iroh/endpoint_info/enum.ParseError.html +++ b/pr/3734/docs/iroh/endpoint_info/enum.ParseError.html @@ -62,5 +62,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint_info/struct.EndpointData.html b/pr/3734/docs/iroh/endpoint_info/struct.EndpointData.html index 4895018f57..4a96443c35 100644 --- a/pr/3734/docs/iroh/endpoint_info/struct.EndpointData.html +++ b/pr/3734/docs/iroh/endpoint_info/struct.EndpointData.html @@ -55,5 +55,5 @@ and should not be overridden without very good reason.TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint_info/struct.EndpointInfo.html b/pr/3734/docs/iroh/endpoint_info/struct.EndpointInfo.html index b9f9bf8caf..c32536a6e2 100644 --- a/pr/3734/docs/iroh/endpoint_info/struct.EndpointInfo.html +++ b/pr/3734/docs/iroh/endpoint_info/struct.EndpointInfo.html @@ -75,5 +75,5 @@ and should not be overridden without very good reason.TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint_info/struct.MaxLengthExceededError.html b/pr/3734/docs/iroh/endpoint_info/struct.MaxLengthExceededError.html index de09fd00a7..88db3b6831 100644 --- a/pr/3734/docs/iroh/endpoint_info/struct.MaxLengthExceededError.html +++ b/pr/3734/docs/iroh/endpoint_info/struct.MaxLengthExceededError.html @@ -33,5 +33,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/endpoint_info/struct.UserData.html b/pr/3734/docs/iroh/endpoint_info/struct.UserData.html index 0bda5cd34a..f52c8ec34d 100644 --- a/pr/3734/docs/iroh/endpoint_info/struct.UserData.html +++ b/pr/3734/docs/iroh/endpoint_info/struct.UserData.html @@ -60,5 +60,5 @@ the >= operator. TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/enum.KeyParsingError.html b/pr/3734/docs/iroh/enum.KeyParsingError.html index b9da5b4e19..b89b4f0e0f 100644 --- a/pr/3734/docs/iroh/enum.KeyParsingError.html +++ b/pr/3734/docs/iroh/enum.KeyParsingError.html @@ -44,5 +44,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/enum.TransportAddr.html b/pr/3734/docs/iroh/enum.TransportAddr.html index 8f9d729f8d..21b2ef6c5b 100644 --- a/pr/3734/docs/iroh/enum.TransportAddr.html +++ b/pr/3734/docs/iroh/enum.TransportAddr.html @@ -1,4 +1,4 @@ -TransportAddr in iroh - Rust

    TransportAddr

    Enum TransportAddr 

    Source
    #[non_exhaustive]
    pub enum TransportAddr { +TransportAddr in iroh - Rust

    TransportAddr

    Enum TransportAddr 

    Source
    #[non_exhaustive]
    pub enum TransportAddr { Relay(RelayUrl), Ip(SocketAddr), }
    Expand description

    Available address types.

    @@ -9,7 +9,7 @@

    Trait Implementations§

    Source§

    impl Clone for TransportAddr

    Source§

    fn clone(&self) -> TransportAddr

    Returns a duplicate 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 TransportAddr

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for TransportAddr

    Source§

    fn deserialize<__D>( __deserializer: __D, ) -> Result<TransportAddr, <__D as Deserializer<'de>>::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Hash for TransportAddr

    Source§

    fn hash<__H>(&self, state: &mut __H)
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl From<TransportAddrInfo> for TransportAddr

    Source§

    fn from(value: TransportAddrInfo) -> Self

    Converts to this type from the input type.
    Source§

    impl Hash for TransportAddr

    Source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Ord for TransportAddr

    Source§

    fn cmp(&self, other: &TransportAddr) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where @@ -41,7 +41,7 @@ the >= operator. Eq + ?Sized, K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Q
    where Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + K: Borrow<Q> + ?Sized,
    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> FromRef<T> for T
    where T: Clone,

    §

    fn from_ref(input: &T) -> T

    Converts to this type from a reference to the input type.
    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an @@ -62,6 +62,6 @@ the >= operator. TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/pr/3734/docs/iroh/index.html b/pr/3734/docs/iroh/index.html index b1fa740f88..0068e3166d 100644 --- a/pr/3734/docs/iroh/index.html +++ b/pr/3734/docs/iroh/index.html @@ -1,4 +1,4 @@ -iroh - Rust

    Crate iroh

    Crate iroh 

    Source
    Expand description

    Peer-to-peer QUIC connections.

    +iroh - Rust

    Crate iroh

    Crate iroh 

    Source
    Expand description

    Peer-to-peer QUIC connections.

    iroh is a library to establish direct connectivity between peers. It exposes an interface to QUIC connections and streams to the user, while implementing direct connectivity using hole punching complemented by relay servers under the hood.

    @@ -180,4 +180,4 @@ connecting using only the Re-exports§
    pub use endpoint::Endpoint;
    pub use endpoint::RelayMode;

    Modules§

    defaults
    Default values used in iroh
    discovery
    Endpoint address discovery.
    dnsNon-wasm_browser
    This module exports a DNS resolver, which is also the default resolver used in the -crate::Endpoint if no custom resolver is configured.
    endpoint
    The Endpoint allows establishing connections to other iroh endpoints.
    endpoint_info
    Support for handling DNS resource records for dialing by EndpointId.
    metrics
    Co-locating all of the iroh metrics structs
    net_report
    Checks the network conditions from the current host.
    protocol
    Tools for spawning an accept loop that routes incoming requests to the right protocol.
    test_utilstest-utils
    Internal utilities to support testing.

    Structs§

    EndpointAddr
    Network-level addressing information for an iroh endpoint.
    PublicKey
    A public key.
    RelayConfig
    Information on a specific relay server.
    RelayMap
    List of relay server configurations to be used in an iroh endpoint.
    RelayUrl
    A URL identifying a relay server.
    RelayUrlParseError
    Can occur when parsing a string into a RelayUrl.
    SecretKey
    A secret key.
    Signature
    Ed25519 signature.
    SignatureError
    Verification of a signature failed.

    Enums§

    KeyParsingError
    Error when deserialising a PublicKey or a SecretKey.
    TransportAddr
    Available address types.

    Traits§

    Watcher
    A handle to a value that’s represented by one or more underlying [Watchable]s.

    Type Aliases§

    EndpointId
    The identifier for an endpoint in the (iroh) network.
    \ No newline at end of file +crate::Endpoint if no custom resolver is configured.
    endpoint
    The Endpoint allows establishing connections to other iroh endpoints.
    endpoint_info
    Support for handling DNS resource records for dialing by EndpointId.
    metrics
    Co-locating all of the iroh metrics structs
    protocol
    Tools for spawning an accept loop that routes incoming requests to the right protocol.
    test_utilstest-utils
    Internal utilities to support testing.

    Structs§

    EndpointAddr
    Network-level addressing information for an iroh endpoint.
    NetReport
    A net_report report.
    PublicKey
    A public key.
    RelayConfig
    Information on a specific relay server.
    RelayMap
    List of relay server configurations to be used in an iroh endpoint.
    RelayUrl
    A URL identifying a relay server.
    RelayUrlParseError
    Can occur when parsing a string into a RelayUrl.
    SecretKey
    A secret key.
    Signature
    Ed25519 signature.
    SignatureError
    Verification of a signature failed.

    Enums§

    KeyParsingError
    Error when deserialising a PublicKey or a SecretKey.
    TransportAddr
    Available address types.

    Constants§

    NET_REPORT_TIMEOUT
    The maximum amount of time, in seconds, the net_report will spend gathering a single report.

    Traits§

    Watcher
    A handle to a value that’s represented by one or more underlying [Watchable]s.

    Type Aliases§

    EndpointId
    The identifier for an endpoint in the (iroh) network.
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/magicsock/remote_map/remote_state/remote_info/enum.TransportAddrUsage.html b/pr/3734/docs/iroh/magicsock/remote_map/remote_state/remote_info/enum.TransportAddrUsage.html new file mode 100644 index 0000000000..073966a23e --- /dev/null +++ b/pr/3734/docs/iroh/magicsock/remote_map/remote_state/remote_info/enum.TransportAddrUsage.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../../../../iroh/endpoint/enum.TransportAddrUsage.html...

    + + + \ No newline at end of file diff --git a/pr/3734/docs/iroh/magicsock/remote_map/remote_state/remote_info/struct.RemoteInfo.html b/pr/3734/docs/iroh/magicsock/remote_map/remote_state/remote_info/struct.RemoteInfo.html new file mode 100644 index 0000000000..adef5ee5ea --- /dev/null +++ b/pr/3734/docs/iroh/magicsock/remote_map/remote_state/remote_info/struct.RemoteInfo.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../../../../iroh/endpoint/struct.RemoteInfo.html...

    + + + \ No newline at end of file diff --git a/pr/3734/docs/iroh/magicsock/remote_map/remote_state/remote_info/struct.TransportAddrInfo.html b/pr/3734/docs/iroh/magicsock/remote_map/remote_state/remote_info/struct.TransportAddrInfo.html new file mode 100644 index 0000000000..7532bfd99f --- /dev/null +++ b/pr/3734/docs/iroh/magicsock/remote_map/remote_state/remote_info/struct.TransportAddrInfo.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../../../../iroh/endpoint/struct.TransportAddrInfo.html...

    + + + \ No newline at end of file diff --git a/pr/3734/docs/iroh/metrics/index.html b/pr/3734/docs/iroh/metrics/index.html index 939e73ca16..be52602f23 100644 --- a/pr/3734/docs/iroh/metrics/index.html +++ b/pr/3734/docs/iroh/metrics/index.html @@ -1,2 +1,2 @@ -iroh::metrics - Rust

    Module metrics

    Module metrics 

    Source
    Expand description

    Co-locating all of the iroh metrics structs

    -

    Re-exports§

    pub use crate::net_report::Metrics as NetReportMetrics;

    Structs§

    EndpointMetrics
    Metrics collected by an crate::endpoint::Endpoint.
    MagicsockMetrics
    Enum of metrics for the module
    PortmapMetricsNon-wasm_browser
    Enum of metrics for the module
    RelayMetricstest-utils
    Metrics tracked for the relay server
    \ No newline at end of file +iroh::metrics - Rust

    Module metrics

    Module metrics 

    Source
    Expand description

    Co-locating all of the iroh metrics structs

    +

    Structs§

    EndpointMetrics
    Metrics collected by an crate::endpoint::Endpoint.
    MagicsockMetrics
    Enum of metrics for the module
    NetReportMetrics
    Enum of metrics for the module
    PortmapMetricsNon-wasm_browser
    Enum of metrics for the module
    RelayMetricstest-utils
    Metrics tracked for the relay server
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/metrics/sidebar-items.js b/pr/3734/docs/iroh/metrics/sidebar-items.js index 1c9f909f36..daa2068056 100644 --- a/pr/3734/docs/iroh/metrics/sidebar-items.js +++ b/pr/3734/docs/iroh/metrics/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"struct":["EndpointMetrics","MagicsockMetrics","PortmapMetrics","RelayMetrics"]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"struct":["EndpointMetrics","MagicsockMetrics","NetReportMetrics","PortmapMetrics","RelayMetrics"]}; \ No newline at end of file diff --git a/pr/3734/docs/iroh/metrics/struct.EndpointMetrics.html b/pr/3734/docs/iroh/metrics/struct.EndpointMetrics.html index 2cbc9a51ce..97a0a8dee1 100644 --- a/pr/3734/docs/iroh/metrics/struct.EndpointMetrics.html +++ b/pr/3734/docs/iroh/metrics/struct.EndpointMetrics.html @@ -1,11 +1,11 @@ EndpointMetrics in iroh::metrics - Rust

    EndpointMetrics

    Struct EndpointMetrics 

    Source
    #[non_exhaustive]
    pub struct EndpointMetrics { pub magicsock: Arc<MagicsockMetrics>, - pub net_report: Arc<NetReportMetrics>, + pub net_report: Arc<NetReportMetrics>, pub portmapper: Arc<PortmapMetrics>, }
    Expand description

    Metrics collected by an crate::endpoint::Endpoint.

    See crate::endpoint::Endpoint::metrics for details.

    Fields (Non-exhaustive)§

    This struct is marked as non-exhaustive
    Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
    §magicsock: Arc<MagicsockMetrics>

    Metrics collected by the endpoint’s socket.

    -
    §net_report: Arc<NetReportMetrics>

    Metrics collected by net reports.

    +
    §net_report: Arc<NetReportMetrics>

    Metrics collected by net reports.

    §portmapper: Arc<PortmapMetrics>
    Available on non-wasm_browser only.

    Metrics collected by the portmapper service.

    Trait Implementations§

    Source§

    impl Clone for EndpointMetrics

    Source§

    fn clone(&self) -> EndpointMetrics

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for EndpointMetrics

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for EndpointMetrics

    Source§

    fn default() -> EndpointMetrics

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for EndpointMetrics

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl MetricsGroupSet for EndpointMetrics

    Source§

    fn name(&self) -> &'static str

    Returns the name of this metrics group set.
    Source§

    fn groups_cloned(&self) -> impl Iterator<Item = Arc<dyn MetricsGroup>>

    Returns an iterator over owned clones of the [MetricsGroup] in this struct.
    Source§

    fn groups(&self) -> impl Iterator<Item = &dyn MetricsGroup>

    Returns an iterator over references to the [MetricsGroup] in this struct.
    §

    fn iter(&self) -> impl Iterator<Item = (&'static str, MetricItem<'_>)>

    Returns an iterator over all metrics in this metrics group set. Read more
    Source§

    impl Serialize for EndpointMetrics

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where @@ -42,6 +42,6 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/pr/3734/docs/iroh/metrics/struct.MagicsockMetrics.html b/pr/3734/docs/iroh/metrics/struct.MagicsockMetrics.html index bbd4f15465..abc177ecf3 100644 --- a/pr/3734/docs/iroh/metrics/struct.MagicsockMetrics.html +++ b/pr/3734/docs/iroh/metrics/struct.MagicsockMetrics.html @@ -1,11 +1,8 @@ -MagicsockMetrics in iroh::metrics - Rust

    MagicsockMetrics

    Struct MagicsockMetrics 

    Source
    #[non_exhaustive]
    pub struct MagicsockMetrics {
    Show 36 fields +MagicsockMetrics in iroh::metrics - Rust

    MagicsockMetrics

    Struct MagicsockMetrics 

    Source
    #[non_exhaustive]
    pub struct MagicsockMetrics {
    Show 24 fields pub update_direct_addrs: Counter, pub send_ipv4: Counter, pub send_ipv6: Counter, pub send_relay: Counter, - pub send_relay_error: Counter, - pub send_data: Counter, - pub send_data_network_down: Counter, pub recv_data_relay: Counter, pub recv_data_ipv4: Counter, pub recv_data_ipv6: Counter, @@ -13,10 +10,12 @@ pub recv_gro_datagrams: Counter, pub relay_home_change: Counter, pub nat_traversal: Counter, - pub num_direct_conns_added: Counter, - pub num_direct_conns_removed: Counter, - pub num_relay_conns_added: Counter, - pub num_relay_conns_removed: Counter, + pub num_conns_opened: Counter, + pub num_conns_closed: Counter, + pub transport_ip_paths_added: Counter, + pub transport_ip_paths_removed: Counter, + pub transport_relay_paths_added: Counter, + pub transport_relay_paths_removed: Counter, pub actor_tick_main: Counter, pub actor_tick_msg: Counter, pub actor_tick_re_stun: Counter, @@ -24,37 +23,17 @@ pub actor_tick_direct_addr_heartbeat: Counter, pub actor_link_change: Counter, pub actor_tick_other: Counter, - pub endpoints_contacted: Counter, - pub endpoints_contacted_directly: Counter, - pub connection_handshake_success: Counter, - pub connection_became_direct: Counter, - pub connection_latency_ms: Histogram, - pub path_marked_outdated: Counter, - pub path_ping_failures: Counter, - pub path_failure_resets: Counter, - pub path_packet_loss_rate: Histogram, - pub path_rtt_variance_ms: Histogram, - pub path_quality_score: Histogram,
    }
    Expand description

    Enum of metrics for the module

    -

    Fields (Non-exhaustive)§

    This struct is marked as non-exhaustive
    Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
    §update_direct_addrs: Counter§send_ipv4: Counter§send_ipv6: Counter§send_relay: Counter§send_relay_error: Counter§send_data: Counter§send_data_network_down: Counter§recv_data_relay: Counter§recv_data_ipv4: Counter§recv_data_ipv6: Counter§recv_datagrams: Counter

    Number of QUIC datagrams received.

    +

    Fields (Non-exhaustive)§

    This struct is marked as non-exhaustive
    Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
    §update_direct_addrs: Counter§send_ipv4: Counter§send_ipv6: Counter§send_relay: Counter§recv_data_relay: Counter§recv_data_ipv4: Counter§recv_data_ipv6: Counter§recv_datagrams: Counter

    Number of QUIC datagrams received.

    §recv_gro_datagrams: Counter

    Number of datagrams received using GRO

    §relay_home_change: Counter§nat_traversal: Counter

    The number of NAT traversal attempts initiated.

    -
    §num_direct_conns_added: Counter

    The number of direct connections we have made to peers.

    -
    §num_direct_conns_removed: Counter

    The number of direct connections we have lost to peers.

    -
    §num_relay_conns_added: Counter

    The number of connections to peers we have added over relay.

    -
    §num_relay_conns_removed: Counter

    The number of connections to peers we have removed over relay.

    -
    §actor_tick_main: Counter§actor_tick_msg: Counter§actor_tick_re_stun: Counter§actor_tick_portmap_changed: Counter§actor_tick_direct_addr_heartbeat: Counter§actor_link_change: Counter§actor_tick_other: Counter§endpoints_contacted: Counter

    Number of endpoints we have attempted to contact.

    -
    §endpoints_contacted_directly: Counter

    Number of endpoints we have managed to contact directly.

    -
    §connection_handshake_success: Counter

    Number of connections with a successful handshake.

    -
    §connection_became_direct: Counter

    Number of connections with a successful handshake that became direct.

    -
    §connection_latency_ms: Histogram

    Histogram of connection latency in milliseconds across all endpoint connections.

    -
    §path_marked_outdated: Counter

    Number of times a path was marked as outdated due to consecutive ping failures.

    -
    §path_ping_failures: Counter

    Number of ping failures recorded across all paths.

    -
    §path_failure_resets: Counter

    Number of consecutive failure resets (path recovered).

    -
    §path_packet_loss_rate: Histogram

    Histogram of packet loss rates (0.0-1.0) observed on UDP paths.

    -
    §path_rtt_variance_ms: Histogram

    Histogram of RTT variance (in milliseconds) as a congestion indicator.

    -
    §path_quality_score: Histogram

    Histogram of path quality scores (0.0-1.0).

    -

    Trait Implementations§

    Source§

    impl Debug for Metrics

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Metrics

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for Metrics

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where +
    §num_conns_opened: Counter

    Number of connections opened (only handshaked connections are counted).

    +
    §num_conns_closed: Counter

    Number of connections closed (only handshaked connections are counted).

    +
    §transport_ip_paths_added: Counter

    Number of IP transport paths opened.

    +
    §transport_ip_paths_removed: Counter

    Number of IP transport paths closed.

    +
    §transport_relay_paths_added: Counter

    Number of relay transport paths opened.

    +
    §transport_relay_paths_removed: Counter

    Number of relay transport paths closed.

    +
    §actor_tick_main: Counter§actor_tick_msg: Counter§actor_tick_re_stun: Counter§actor_tick_portmap_changed: Counter§actor_tick_direct_addr_heartbeat: Counter§actor_link_change: Counter§actor_tick_other: Counter

    Trait Implementations§

    Source§

    impl Debug for Metrics

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Metrics

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for Metrics

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Iterable for Metrics

    Source§

    fn field_count(&self) -> usize

    Returns the number of fields in the struct.
    Source§

    fn field_ref(&self, n: usize) -> Option<MetricItem<'_>>

    Returns the field name and dyn reference to the field.
    Source§

    impl MetricsGroup for Metrics

    Source§

    fn name(&self) -> &'static str

    Returns the name of this metrics group.
    §

    fn iter(&self) -> FieldIter<'_>

    Returns an iterator over all metric items with their values and helps.
    Source§

    impl Serialize for Metrics

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where @@ -86,6 +65,6 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/pr/3734/docs/iroh/net_report/struct.Metrics.html b/pr/3734/docs/iroh/metrics/struct.NetReportMetrics.html similarity index 63% rename from pr/3734/docs/iroh/net_report/struct.Metrics.html rename to pr/3734/docs/iroh/metrics/struct.NetReportMetrics.html index aecc1bef7e..a8695f147c 100644 --- a/pr/3734/docs/iroh/net_report/struct.Metrics.html +++ b/pr/3734/docs/iroh/metrics/struct.NetReportMetrics.html @@ -1,12 +1,12 @@ -Metrics in iroh::net_report - Rust

    Metrics

    Struct Metrics 

    Source
    #[non_exhaustive]
    pub struct Metrics { +NetReportMetrics in iroh::metrics - Rust

    NetReportMetrics

    Struct NetReportMetrics 

    Source
    #[non_exhaustive]
    pub struct NetReportMetrics { pub reports: Counter, pub reports_full: Counter, }
    Expand description

    Enum of metrics for the module

    Fields (Non-exhaustive)§

    This struct is marked as non-exhaustive
    Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
    §reports: Counter

    Number of reports executed by net_report, including full reports.

    §reports_full: Counter

    Number of full reports executed by net_report

    -

    Trait Implementations§

    Source§

    impl Debug for Metrics

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Metrics

    Source§

    fn default() -> Metrics

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for Metrics

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Iterable for Metrics

    Source§

    fn field_count(&self) -> usize

    Returns the number of fields in the struct.
    Source§

    fn field_ref(&self, n: usize) -> Option<MetricItem<'_>>

    Returns the field name and dyn reference to the field.
    Source§

    impl MetricsGroup for Metrics

    Source§

    fn name(&self) -> &'static str

    Returns the name of this metrics group.
    §

    fn iter(&self) -> FieldIter<'_>

    Returns an iterator over all metric items with their values and helps.
    Source§

    impl Serialize for Metrics

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl Debug for Metrics

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Metrics

    Source§

    fn default() -> Metrics

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for Metrics

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Iterable for Metrics

    Source§

    fn field_count(&self) -> usize

    Returns the number of fields in the struct.
    Source§

    fn field_ref(&self, n: usize) -> Option<MetricItem<'_>>

    Returns the field name and dyn reference to the field.
    Source§

    impl MetricsGroup for Metrics

    Source§

    fn name(&self) -> &'static str

    Returns the name of this metrics group.
    §

    fn iter(&self) -> FieldIter<'_>

    Returns an iterator over all metric items with their values and helps.
    Source§

    impl Serialize for Metrics

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -36,6 +36,6 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/pr/3734/docs/iroh/metrics/struct.PortmapMetrics.html b/pr/3734/docs/iroh/metrics/struct.PortmapMetrics.html index 84857720be..d0a39ca307 100644 --- a/pr/3734/docs/iroh/metrics/struct.PortmapMetrics.html +++ b/pr/3734/docs/iroh/metrics/struct.PortmapMetrics.html @@ -59,6 +59,6 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/pr/3734/docs/iroh/metrics/struct.RelayMetrics.html b/pr/3734/docs/iroh/metrics/struct.RelayMetrics.html index 351c7b78d3..a03250c645 100644 --- a/pr/3734/docs/iroh/metrics/struct.RelayMetrics.html +++ b/pr/3734/docs/iroh/metrics/struct.RelayMetrics.html @@ -1,12 +1,9 @@ -RelayMetrics in iroh::metrics - Rust

    RelayMetrics

    Struct RelayMetrics 

    Source
    pub struct RelayMetrics {
    Show 19 fields +RelayMetrics in iroh::metrics - Rust

    RelayMetrics

    Struct RelayMetrics 

    Source
    pub struct RelayMetrics {
    Show 16 fields pub bytes_sent: Counter, pub bytes_recv: Counter, pub send_packets_sent: Counter, pub send_packets_recv: Counter, pub send_packets_dropped: Counter, - pub disco_packets_sent: Counter, - pub disco_packets_recv: Counter, - pub disco_packets_dropped: Counter, pub other_packets_sent: Counter, pub other_packets_recv: Counter, pub other_packets_dropped: Counter, @@ -21,12 +18,9 @@
    }
    Available on crate feature test-utils only.
    Expand description

    Metrics tracked for the relay server

    Fields§

    §bytes_sent: Counter

    Bytes sent from a FrameType::SendPacket

    §bytes_recv: Counter

    Bytes received from a FrameType::SendPacket

    -
    §send_packets_sent: Counter

    FrameType::SendPacket sent, that are not disco messages

    -
    §send_packets_recv: Counter

    FrameType::SendPacket received, that are not disco messages

    -
    §send_packets_dropped: Counter

    FrameType::SendPacket dropped, that are not disco messages

    -
    §disco_packets_sent: Counter

    FrameType::SendPacket sent that are disco messages

    -
    §disco_packets_recv: Counter

    FrameType::SendPacket received that are disco messages

    -
    §disco_packets_dropped: Counter

    FrameType::SendPacket dropped that are disco messages

    +
    §send_packets_sent: Counter

    FrameType::SendPacket sent

    +
    §send_packets_recv: Counter

    FrameType::SendPacket received

    +
    §send_packets_dropped: Counter

    FrameType::SendPacket dropped

    §other_packets_sent: Counter

    Packets of other FrameTypes sent

    §other_packets_recv: Counter

    Packets of other FrameTypes received

    §other_packets_dropped: Counter

    Packets of other FrameTypes dropped

    @@ -68,5 +62,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/net_report/constant.TIMEOUT.html b/pr/3734/docs/iroh/net_report/constant.TIMEOUT.html deleted file mode 100644 index 7fec632cc9..0000000000 --- a/pr/3734/docs/iroh/net_report/constant.TIMEOUT.html +++ /dev/null @@ -1,2 +0,0 @@ -TIMEOUT in iroh::net_report - Rust

    TIMEOUT

    Constant TIMEOUT 

    Source
    pub const TIMEOUT: u64 = 5;
    Expand description

    The maximum amount of time, in seconds, the net_report will spend gathering a single report.

    -
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/net_report/defaults/timeouts/constant.TIMEOUT.html b/pr/3734/docs/iroh/net_report/defaults/timeouts/constant.TIMEOUT.html index 4f16df1a29..1f1ca54602 100644 --- a/pr/3734/docs/iroh/net_report/defaults/timeouts/constant.TIMEOUT.html +++ b/pr/3734/docs/iroh/net_report/defaults/timeouts/constant.TIMEOUT.html @@ -1,11 +1,11 @@ - + Redirection -

    Redirecting to ../../../../iroh/net_report/constant.TIMEOUT.html...

    - +

    Redirecting to ../../../../iroh/constant.NET_REPORT_TIMEOUT.html...

    + \ No newline at end of file diff --git a/pr/3734/docs/iroh/net_report/index.html b/pr/3734/docs/iroh/net_report/index.html deleted file mode 100644 index 522b1782ca..0000000000 --- a/pr/3734/docs/iroh/net_report/index.html +++ /dev/null @@ -1,5 +0,0 @@ -iroh::net_report - Rust

    Module net_report

    Module net_report 

    Source
    Expand description

    Checks the network conditions from the current host.

    -

    NetReport is responsible for finding out the network conditions of the current host, like -whether it is connected to the internet via IPv4 and/or IPv6, what the NAT situation is -etc and reachability to the configured relays.

    -

    Structs§

    Metrics
    Enum of metrics for the module
    Options
    Options for running probes
    QuicConfig
    Pieces needed to do QUIC address discovery.
    RelayLatencies
    Latencies per relay endpoint.
    Report
    A net_report report.

    Enums§

    Probe
    The protocol used to time an endpoint’s latency.

    Constants§

    TIMEOUT
    The maximum amount of time, in seconds, the net_report will spend gathering a single report.
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/net_report/metrics/struct.Metrics.html b/pr/3734/docs/iroh/net_report/metrics/struct.Metrics.html index 506d0c8bcb..b0bf72a04e 100644 --- a/pr/3734/docs/iroh/net_report/metrics/struct.Metrics.html +++ b/pr/3734/docs/iroh/net_report/metrics/struct.Metrics.html @@ -1,11 +1,11 @@ - + Redirection -

    Redirecting to ../../../iroh/net_report/struct.Metrics.html...

    - +

    Redirecting to ../../../iroh/metrics/struct.NetReportMetrics.html...

    + \ No newline at end of file diff --git a/pr/3734/docs/iroh/net_report/options/imp/struct.Options.html b/pr/3734/docs/iroh/net_report/options/imp/struct.Options.html deleted file mode 100644 index 6b4152c512..0000000000 --- a/pr/3734/docs/iroh/net_report/options/imp/struct.Options.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Redirection - - -

    Redirecting to ../../../../iroh/net_report/struct.Options.html...

    - - - \ No newline at end of file diff --git a/pr/3734/docs/iroh/net_report/probes/enum.Probe.html b/pr/3734/docs/iroh/net_report/probes/enum.Probe.html deleted file mode 100644 index b7a81ffd3a..0000000000 --- a/pr/3734/docs/iroh/net_report/probes/enum.Probe.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Redirection - - -

    Redirecting to ../../../iroh/net_report/enum.Probe.html...

    - - - \ No newline at end of file diff --git a/pr/3734/docs/iroh/net_report/report/struct.RelayLatencies.html b/pr/3734/docs/iroh/net_report/report/struct.RelayLatencies.html deleted file mode 100644 index 27ecce2108..0000000000 --- a/pr/3734/docs/iroh/net_report/report/struct.RelayLatencies.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Redirection - - -

    Redirecting to ../../../iroh/net_report/struct.RelayLatencies.html...

    - - - \ No newline at end of file diff --git a/pr/3734/docs/iroh/net_report/report/struct.Report.html b/pr/3734/docs/iroh/net_report/report/struct.Report.html index f50cd0f4f8..b4c1ac86c0 100644 --- a/pr/3734/docs/iroh/net_report/report/struct.Report.html +++ b/pr/3734/docs/iroh/net_report/report/struct.Report.html @@ -1,11 +1,11 @@ - + Redirection -

    Redirecting to ../../../iroh/net_report/struct.Report.html...

    - +

    Redirecting to ../../../iroh/struct.NetReport.html...

    + \ No newline at end of file diff --git a/pr/3734/docs/iroh/net_report/reportgen/struct.QuicConfig.html b/pr/3734/docs/iroh/net_report/reportgen/struct.QuicConfig.html deleted file mode 100644 index 825b66808e..0000000000 --- a/pr/3734/docs/iroh/net_report/reportgen/struct.QuicConfig.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Redirection - - -

    Redirecting to ../../../iroh/net_report/struct.QuicConfig.html...

    - - - \ No newline at end of file diff --git a/pr/3734/docs/iroh/net_report/sidebar-items.js b/pr/3734/docs/iroh/net_report/sidebar-items.js deleted file mode 100644 index 06ce48a416..0000000000 --- a/pr/3734/docs/iroh/net_report/sidebar-items.js +++ /dev/null @@ -1 +0,0 @@ -window.SIDEBAR_ITEMS = {"constant":["TIMEOUT"],"enum":["Probe"],"struct":["Metrics","Options","QuicConfig","RelayLatencies","Report"]}; \ No newline at end of file diff --git a/pr/3734/docs/iroh/protocol/enum.AcceptError.html b/pr/3734/docs/iroh/protocol/enum.AcceptError.html index 1bd8644232..463b0c7e3c 100644 --- a/pr/3734/docs/iroh/protocol/enum.AcceptError.html +++ b/pr/3734/docs/iroh/protocol/enum.AcceptError.html @@ -58,5 +58,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/protocol/struct.AccessLimit.html b/pr/3734/docs/iroh/protocol/struct.AccessLimit.html index 640bb4284e..9b45727b92 100644 --- a/pr/3734/docs/iroh/protocol/struct.AccessLimit.html +++ b/pr/3734/docs/iroh/protocol/struct.AccessLimit.html @@ -1,15 +1,15 @@ -AccessLimit in iroh::protocol - Rust

    AccessLimit

    Struct AccessLimit 

    Source
    pub struct AccessLimit<P: ProtocolHandler + Clone> { /* private fields */ }
    Expand description

    Wraps an existing protocol, limiting its access, +AccessLimit in iroh::protocol - Rust

    AccessLimit

    Struct AccessLimit 

    Source
    pub struct AccessLimit<P: ProtocolHandler + Clone> { /* private fields */ }
    Expand description

    Wraps an existing protocol, limiting its access, based on the provided function.

    Any refused connection will be closed with an error code of 0 and reason not allowed.

    -

    Implementations§

    Source§

    impl<P: ProtocolHandler + Clone> AccessLimit<P>

    Source

    pub fn new<F>(proto: P, limiter: F) -> Self
    where +

    Implementations§

    Source§

    impl<P: ProtocolHandler + Clone> AccessLimit<P>

    Source

    pub fn new<F>(proto: P, limiter: F) -> Self
    where F: Fn(EndpointId) -> bool + Send + Sync + 'static,

    Create a new AccessLimit.

    The function should return true for endpoints that are allowed to connect, and false otherwise.

    -

    Trait Implementations§

    Source§

    impl<P: Clone + ProtocolHandler + Clone> Clone for AccessLimit<P>

    Source§

    fn clone(&self) -> AccessLimit<P>

    Returns a duplicate 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<P> Debug for AccessLimit<P>
    where - P: Debug + ProtocolHandler + Clone,

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<P: ProtocolHandler + Clone> ProtocolHandler for AccessLimit<P>

    Trait Implementations§

    Source§

    impl<P: Clone + ProtocolHandler + Clone> Clone for AccessLimit<P>

    Source§

    fn clone(&self) -> AccessLimit<P>

    Returns a duplicate 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<P> Debug for AccessLimit<P>
    where + P: Debug + ProtocolHandler + Clone,

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<P: ProtocolHandler + Clone> ProtocolHandler for AccessLimit<P>

    Source§

    fn on_accepting( &self, accepting: Accepting, -) -> impl Future<Output = Result<Connection, AcceptError>> + Send

    Optional interception point to handle the Accepting state. Read more
    Source§

    async fn accept(&self, conn: Connection) -> Result<(), AcceptError>

    Handle an incoming connection. Read more
    Source§

    fn shutdown(&self) -> impl Future<Output = ()> + Send

    Called when the router shuts down. Read more

    Auto Trait Implementations§

    §

    impl<P> Freeze for AccessLimit<P>
    where +) -> impl Future<Output = Result<Connection, AcceptError>> + Send

    Optional interception point to handle the Accepting state. Read more
    Source§

    async fn accept(&self, conn: Connection) -> Result<(), AcceptError>

    Handle an incoming connection. Read more
    Source§

    fn shutdown(&self) -> impl Future<Output = ()> + Send

    Called when the router shuts down. Read more

    Auto Trait Implementations§

    §

    impl<P> Freeze for AccessLimit<P>
    where P: Freeze,

    §

    impl<P> !RefUnwindSafe for AccessLimit<P>

    §

    impl<P> Send for AccessLimit<P>

    §

    impl<P> Sync for AccessLimit<P>

    §

    impl<P> Unpin for AccessLimit<P>
    where P: Unpin,

    §

    impl<P> !UnwindSafe for AccessLimit<P>

    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 @@ -51,5 +51,5 @@ connect, and false otherwise.

    U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/protocol/struct.Router.html b/pr/3734/docs/iroh/protocol/struct.Router.html index 5c29fd8eeb..90e2ed8905 100644 --- a/pr/3734/docs/iroh/protocol/struct.Router.html +++ b/pr/3734/docs/iroh/protocol/struct.Router.html @@ -56,5 +56,5 @@ that panic into the result here.

    U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/protocol/struct.RouterBuilder.html b/pr/3734/docs/iroh/protocol/struct.RouterBuilder.html index 840db2ce9c..c65bd56717 100644 --- a/pr/3734/docs/iroh/protocol/struct.RouterBuilder.html +++ b/pr/3734/docs/iroh/protocol/struct.RouterBuilder.html @@ -1,5 +1,5 @@ RouterBuilder in iroh::protocol - Rust

    RouterBuilder

    Struct RouterBuilder 

    Source
    pub struct RouterBuilder { /* private fields */ }
    Expand description

    Builder for creating a Router for accepting protocols.

    -

    Implementations§

    Source§

    impl RouterBuilder

    Source

    pub fn new(endpoint: Endpoint) -> Self

    Creates a new router builder using given Endpoint.

    +

    Implementations§

    Source§

    impl RouterBuilder

    Source

    pub fn new(endpoint: Endpoint) -> Self

    Creates a new router builder using given Endpoint.

    Source

    pub fn accept( self, alpn: impl AsRef<[u8]>, @@ -9,7 +9,7 @@ with this alpn.

    handler can either be a type that implements ProtocolHandler or a Box<dyn DynProtocolHandler>.

    Source

    pub fn endpoint(&self) -> &Endpoint

    Returns the Endpoint of the endpoint.

    -
    Source

    pub fn spawn(self) -> Router

    Spawns an accept loop and returns a handle to it encapsulated as the Router.

    +
    Source

    pub fn spawn(self) -> Router

    Spawns an accept loop and returns a handle to it encapsulated as the Router.

    Trait Implementations§

    Source§

    impl Debug for RouterBuilder

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where @@ -39,5 +39,5 @@ with this alpn.

    U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/protocol/trait.ProtocolHandler.html b/pr/3734/docs/iroh/protocol/trait.ProtocolHandler.html index 54b42a4834..471047fc09 100644 --- a/pr/3734/docs/iroh/protocol/trait.ProtocolHandler.html +++ b/pr/3734/docs/iroh/protocol/trait.ProtocolHandler.html @@ -63,4 +63,4 @@ the router closes the endpoint.

    ) -> Result<Connection, AcceptError>
    Source§

    async fn accept(&self, conn: Connection) -> Result<(), AcceptError>

    Source§

    async fn shutdown(&self)

    Source§

    impl<T: ProtocolHandler> ProtocolHandler for Arc<T>

    Source§

    async fn on_accepting( &self, accepting: Accepting, -) -> Result<Connection, AcceptError>

    Source§

    async fn accept(&self, conn: Connection) -> Result<(), AcceptError>

    Source§

    async fn shutdown(&self)

    Implementors§

    \ No newline at end of file +) -> Result<Connection, AcceptError>
    Source§

    async fn accept(&self, conn: Connection) -> Result<(), AcceptError>

    Source§

    async fn shutdown(&self)

    Implementors§

    \ No newline at end of file diff --git a/pr/3734/docs/iroh/sidebar-items.js b/pr/3734/docs/iroh/sidebar-items.js index f42092cdff..1ff522a9cb 100644 --- a/pr/3734/docs/iroh/sidebar-items.js +++ b/pr/3734/docs/iroh/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"enum":["KeyParsingError","TransportAddr"],"mod":["defaults","discovery","dns","endpoint","endpoint_info","metrics","net_report","protocol","test_utils"],"struct":["EndpointAddr","PublicKey","RelayConfig","RelayMap","RelayUrl","RelayUrlParseError","SecretKey","Signature","SignatureError"],"trait":["Watcher"],"type":["EndpointId"]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"constant":["NET_REPORT_TIMEOUT"],"enum":["KeyParsingError","TransportAddr"],"mod":["defaults","discovery","dns","endpoint","endpoint_info","metrics","protocol","test_utils"],"struct":["EndpointAddr","NetReport","PublicKey","RelayConfig","RelayMap","RelayUrl","RelayUrlParseError","SecretKey","Signature","SignatureError"],"trait":["Watcher"],"type":["EndpointId"]}; \ No newline at end of file diff --git a/pr/3734/docs/iroh/struct.EndpointAddr.html b/pr/3734/docs/iroh/struct.EndpointAddr.html index 9b2cd01e35..c3d05dddb1 100644 --- a/pr/3734/docs/iroh/struct.EndpointAddr.html +++ b/pr/3734/docs/iroh/struct.EndpointAddr.html @@ -98,6 +98,6 @@ the >= operator. TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/pr/3734/docs/iroh/net_report/struct.Report.html b/pr/3734/docs/iroh/struct.NetReport.html similarity index 64% rename from pr/3734/docs/iroh/net_report/struct.Report.html rename to pr/3734/docs/iroh/struct.NetReport.html index 63975d5840..6e3e49a609 100644 --- a/pr/3734/docs/iroh/net_report/struct.Report.html +++ b/pr/3734/docs/iroh/struct.NetReport.html @@ -1,10 +1,10 @@ -Report in iroh::net_report - Rust

    Report

    Struct Report 

    Source
    pub struct Report {
    +NetReport in iroh - Rust

    NetReport

    Struct NetReport 

    Source
    pub struct NetReport {
         pub udp_v4: bool,
         pub udp_v6: bool,
         pub mapping_varies_by_dest_ipv4: Option<bool>,
         pub mapping_varies_by_dest_ipv6: Option<bool>,
    -    pub preferred_relay: Option<RelayUrl>,
    -    pub relay_latency: RelayLatencies,
    +    pub preferred_relay: Option<RelayUrl>,
    +    pub relay_latency: RelayLatencies,
         pub global_v4: Option<SocketAddrV4>,
         pub global_v6: Option<SocketAddrV6>,
         pub captive_portal: Option<bool>,
    @@ -13,19 +13,19 @@
     
    §udp_v6: bool

    A QAD IPv6 round trip completed.

    §mapping_varies_by_dest_ipv4: Option<bool>

    Whether the reported public address differs when probing different servers (on IPv4).

    §mapping_varies_by_dest_ipv6: Option<bool>

    Whether the reported public address differs when probing different servers (on IPv6).

    -
    §preferred_relay: Option<RelayUrl>

    Probe indicating the presence of port mapping protocols on the LAN. +

    §preferred_relay: Option<RelayUrl>

    Probe indicating the presence of port mapping protocols on the LAN. None for unknown

    -
    §relay_latency: RelayLatencies

    keyed by relay Url

    +
    §relay_latency: RelayLatencies

    keyed by relay Url

    §global_v4: Option<SocketAddrV4>

    ip:port of global IPv4

    §global_v6: Option<SocketAddrV6>

    [ip]:port of global IPv6

    §captive_portal: Option<bool>

    CaptivePortal is set when we think there’s a captive portal that is intercepting HTTP traffic.

    -

    Implementations§

    Source§

    impl Report

    Source

    pub fn has_udp(&self) -> bool

    Do we have any indication that UDP is working?

    -
    Source

    pub fn mapping_varies_by_dest(&self) -> Option<bool>

    Whether the reported public address differs when probing different servers.

    -

    Trait Implementations§

    Source§

    impl Clone for Report

    Source§

    fn clone(&self) -> Report

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Report

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Report

    Source§

    fn default() -> Report

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for Report

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for Report

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl PartialEq for Report

    Source§

    fn eq(&self, other: &Report) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl Serialize for Report

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl Eq for Report

    Source§

    impl StructuralPartialEq for Report

    Auto Trait Implementations§

    §

    impl Freeze for Report

    §

    impl RefUnwindSafe for Report

    §

    impl Send for Report

    §

    impl Sync for Report

    §

    impl Unpin for Report

    §

    impl UnwindSafe for Report

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Implementations§

    Source§

    impl Report

    Source

    pub fn has_udp(&self) -> bool

    Do we have any indication that UDP is working?

    +
    Source

    pub fn mapping_varies_by_dest(&self) -> Option<bool>

    Whether the reported public address differs when probing different servers.

    +

    Trait Implementations§

    Source§

    impl Clone for Report

    Source§

    fn clone(&self) -> Report

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Report

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Report

    Source§

    fn default() -> Report

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for Report

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for Report

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl PartialEq for Report

    Source§

    fn eq(&self, other: &Report) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Serialize for Report

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl Eq for Report

    Source§

    impl StructuralPartialEq for Report

    Auto Trait Implementations§

    §

    impl Freeze for Report

    §

    impl RefUnwindSafe for Report

    §

    impl Send for Report

    §

    impl Sync for Report

    §

    impl Unpin for Report

    §

    impl UnwindSafe for Report

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -65,6 +65,6 @@ and should not be overridden without very good reason.

    TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/pr/3734/docs/iroh/struct.PublicKey.html b/pr/3734/docs/iroh/struct.PublicKey.html index 7541cfcd4e..3075769641 100644 --- a/pr/3734/docs/iroh/struct.PublicKey.html +++ b/pr/3734/docs/iroh/struct.PublicKey.html @@ -84,6 +84,6 @@ the >= operator. TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/pr/3734/docs/iroh/struct.RelayConfig.html b/pr/3734/docs/iroh/struct.RelayConfig.html index 12ce1c656b..590c5316fc 100644 --- a/pr/3734/docs/iroh/struct.RelayConfig.html +++ b/pr/3734/docs/iroh/struct.RelayConfig.html @@ -64,6 +64,6 @@ the >= operator. TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/pr/3734/docs/iroh/struct.RelayMap.html b/pr/3734/docs/iroh/struct.RelayMap.html index 7807bbd740..4494700d4c 100644 --- a/pr/3734/docs/iroh/struct.RelayMap.html +++ b/pr/3734/docs/iroh/struct.RelayMap.html @@ -82,5 +82,5 @@ and should not be overridden without very good reason.TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/struct.RelayUrl.html b/pr/3734/docs/iroh/struct.RelayUrl.html index 872502088b..196076ceb6 100644 --- a/pr/3734/docs/iroh/struct.RelayUrl.html +++ b/pr/3734/docs/iroh/struct.RelayUrl.html @@ -501,6 +501,6 @@ the >= operator. TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/pr/3734/docs/iroh/struct.RelayUrlParseError.html b/pr/3734/docs/iroh/struct.RelayUrlParseError.html index ad462cc5d9..6e3e8222d2 100644 --- a/pr/3734/docs/iroh/struct.RelayUrlParseError.html +++ b/pr/3734/docs/iroh/struct.RelayUrlParseError.html @@ -33,5 +33,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/struct.SecretKey.html b/pr/3734/docs/iroh/struct.SecretKey.html index 8bb3d25249..d3f28e76ba 100644 --- a/pr/3734/docs/iroh/struct.SecretKey.html +++ b/pr/3734/docs/iroh/struct.SecretKey.html @@ -50,6 +50,6 @@ The public part can always be recovered.

    U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/pr/3734/docs/iroh/struct.Signature.html b/pr/3734/docs/iroh/struct.Signature.html index a9e18b9ae3..68f7f26d8e 100644 --- a/pr/3734/docs/iroh/struct.Signature.html +++ b/pr/3734/docs/iroh/struct.Signature.html @@ -50,6 +50,6 @@ and should not be overridden without very good reason.TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/pr/3734/docs/iroh/struct.SignatureError.html b/pr/3734/docs/iroh/struct.SignatureError.html index 5a5ad9bdc4..193a833f88 100644 --- a/pr/3734/docs/iroh/struct.SignatureError.html +++ b/pr/3734/docs/iroh/struct.SignatureError.html @@ -33,5 +33,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/test_utils/fn.run_relay_server.html b/pr/3734/docs/iroh/test_utils/fn.run_relay_server.html index 01425662b2..623f0bf6db 100644 --- a/pr/3734/docs/iroh/test_utils/fn.run_relay_server.html +++ b/pr/3734/docs/iroh/test_utils/fn.run_relay_server.html @@ -1,4 +1,4 @@ -run_relay_server in iroh::test_utils - Rust

    run_relay_server

    Function run_relay_server 

    Source
    pub async fn run_relay_server() -> Result<(RelayMap, RelayUrl, Server), SpawnError>
    Available on crate features test-utils only.
    Expand description

    Runs a relay server with QUIC enabled suitable for tests.

    +run_relay_server in iroh::test_utils - Rust

    run_relay_server

    Function run_relay_server 

    Source
    pub async fn run_relay_server() -> Result<(RelayMap, RelayUrl, Server), SpawnError>
    Available on crate features test-utils only.
    Expand description

    Runs a relay server with QUIC enabled suitable for tests.

    The returned Url is the url of the relay server in the returned RelayMap. When dropped, the returned Server does will stop running.

    \ No newline at end of file diff --git a/pr/3734/docs/iroh/test_utils/fn.run_relay_server_with.html b/pr/3734/docs/iroh/test_utils/fn.run_relay_server_with.html index ec3c7e141e..d3e10c9e5d 100644 --- a/pr/3734/docs/iroh/test_utils/fn.run_relay_server_with.html +++ b/pr/3734/docs/iroh/test_utils/fn.run_relay_server_with.html @@ -1,4 +1,4 @@ -run_relay_server_with in iroh::test_utils - Rust

    run_relay_server_with

    Function run_relay_server_with 

    Source
    pub async fn run_relay_server_with(
    +run_relay_server_with in iroh::test_utils - Rust

    run_relay_server_with

    Function run_relay_server_with 

    Source
    pub async fn run_relay_server_with(
         quic: bool,
     ) -> Result<(RelayMap, RelayUrl, Server), SpawnError>
    Available on crate features test-utils only.
    Expand description

    Runs a relay server.

    If quic is set to true, it will make the appropriate QuicConfig from the generated tls certificates and run the quic server at a random free port.

    diff --git a/pr/3734/docs/iroh/test_utils/index.html b/pr/3734/docs/iroh/test_utils/index.html index 060c425c98..712df4b10b 100644 --- a/pr/3734/docs/iroh/test_utils/index.html +++ b/pr/3734/docs/iroh/test_utils/index.html @@ -1,2 +1,2 @@ -iroh::test_utils - Rust

    Module test_utils

    Module test_utils 

    Source
    Available on crate features test-utils only.
    Expand description

    Internal utilities to support testing.

    -

    Structs§

    CleanupDropGuard
    A drop guard to clean up test infrastructure.
    DnsPkarrServer
    Handle and drop guard for test DNS and Pkarr servers.

    Functions§

    run_relay_server
    Runs a relay server with QUIC enabled suitable for tests.
    run_relay_server_with
    Runs a relay server.
    \ No newline at end of file +iroh::test_utils - Rust

    Module test_utils

    Module test_utils 

    Source
    Available on crate features test-utils only.
    Expand description

    Internal utilities to support testing.

    +

    Structs§

    CleanupDropGuard
    A drop guard to clean up test infrastructure.
    DnsPkarrServer
    Handle and drop guard for test DNS and Pkarr servers.
    QlogFileGroup
    Builder to create one or more related qlog configs.

    Functions§

    run_relay_server
    Runs a relay server with QUIC enabled suitable for tests.
    run_relay_server_with
    Runs a relay server.
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/test_utils/qlog/struct.QlogFileGroup.html b/pr/3734/docs/iroh/test_utils/qlog/struct.QlogFileGroup.html new file mode 100644 index 0000000000..0bbbe8ae9e --- /dev/null +++ b/pr/3734/docs/iroh/test_utils/qlog/struct.QlogFileGroup.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../../iroh/test_utils/struct.QlogFileGroup.html...

    + + + \ No newline at end of file diff --git a/pr/3734/docs/iroh/test_utils/sidebar-items.js b/pr/3734/docs/iroh/test_utils/sidebar-items.js index 791d7ce5d6..24f5808154 100644 --- a/pr/3734/docs/iroh/test_utils/sidebar-items.js +++ b/pr/3734/docs/iroh/test_utils/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"fn":["run_relay_server","run_relay_server_with"],"struct":["CleanupDropGuard","DnsPkarrServer"]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"fn":["run_relay_server","run_relay_server_with"],"struct":["CleanupDropGuard","DnsPkarrServer","QlogFileGroup"]}; \ No newline at end of file diff --git a/pr/3734/docs/iroh/test_utils/struct.CleanupDropGuard.html b/pr/3734/docs/iroh/test_utils/struct.CleanupDropGuard.html index c65a1447c6..b86bd53869 100644 --- a/pr/3734/docs/iroh/test_utils/struct.CleanupDropGuard.html +++ b/pr/3734/docs/iroh/test_utils/struct.CleanupDropGuard.html @@ -1,7 +1,7 @@ -CleanupDropGuard in iroh::test_utils - Rust

    CleanupDropGuard

    Struct CleanupDropGuard 

    Source
    pub struct CleanupDropGuard(/* private fields */);
    Available on crate features test-utils only.
    Expand description

    A drop guard to clean up test infrastructure.

    +CleanupDropGuard in iroh::test_utils - Rust

    CleanupDropGuard

    Struct CleanupDropGuard 

    Source
    pub struct CleanupDropGuard(/* private fields */);
    Available on crate features test-utils only.
    Expand description

    A drop guard to clean up test infrastructure.

    After dropping the test infrastructure will asynchronously shutdown and release its resources.

    -

    Trait Implementations§

    Source§

    impl Debug for CleanupDropGuard

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl Debug for CleanupDropGuard

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -30,5 +30,5 @@ resources.

    U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/test_utils/struct.DnsPkarrServer.html b/pr/3734/docs/iroh/test_utils/struct.DnsPkarrServer.html index e5b66e23e1..9bc624482f 100644 --- a/pr/3734/docs/iroh/test_utils/struct.DnsPkarrServer.html +++ b/pr/3734/docs/iroh/test_utils/struct.DnsPkarrServer.html @@ -1,4 +1,4 @@ -DnsPkarrServer in iroh::test_utils - Rust

    DnsPkarrServer

    Struct DnsPkarrServer 

    Source
    pub struct DnsPkarrServer {
    +DnsPkarrServer in iroh::test_utils - Rust

    DnsPkarrServer

    Struct DnsPkarrServer 

    Source
    pub struct DnsPkarrServer {
         pub endpoint_origin: String,
         pub nameserver: SocketAddr,
         pub pkarr_url: Url,
    @@ -8,18 +8,18 @@
     

    Fields§

    §endpoint_origin: String

    The endpoint origin domain.

    §nameserver: SocketAddr

    The socket address of the DNS server.

    §pkarr_url: Url

    The HTTP URL of the Pkarr server.

    -

    Implementations§

    Source§

    impl DnsPkarrServer

    Source

    pub async fn run() -> Result<Self>

    Run DNS and Pkarr servers on localhost.

    -
    Source

    pub async fn run_with_origin(endpoint_origin: String) -> Result<Self>

    Run DNS and Pkarr servers on localhost with the specified endpoint_origin domain.

    -
    Source

    pub fn discovery(&self, secret_key: SecretKey) -> ConcurrentDiscovery

    Implementations§

    Source§

    impl DnsPkarrServer

    Source

    pub async fn run() -> Result<Self>

    Run DNS and Pkarr servers on localhost.

    +
    Source

    pub async fn run_with_origin(endpoint_origin: String) -> Result<Self>

    Run DNS and Pkarr servers on localhost with the specified endpoint_origin domain.

    +
    Source

    pub fn discovery(&self, secret_key: SecretKey) -> ConcurrentDiscovery

    Create a ConcurrentDiscovery with DnsDiscovery and PkarrPublisher configured to use the test servers.

    -
    Source

    pub fn dns_resolver(&self) -> DnsResolver

    Create a DnsResolver configured to use the test DNS server.

    -
    Source

    pub async fn on_endpoint( +

    Source

    pub fn dns_resolver(&self) -> DnsResolver

    Create a DnsResolver configured to use the test DNS server.

    +
    Source

    pub async fn on_endpoint( &self, endpoint_id: &EndpointId, timeout: Duration, ) -> Result<()>

    Wait until a Pkarr announce for an endpoint is published to the server.

    If timeout elapses an error is returned.

    -

    Trait Implementations§

    Source§

    impl Debug for DnsPkarrServer

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl Debug for DnsPkarrServer

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -48,5 +48,5 @@ configured to use the test servers.

    U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh/net_report/struct.Options.html b/pr/3734/docs/iroh/test_utils/struct.QlogFileGroup.html similarity index 62% rename from pr/3734/docs/iroh/net_report/struct.Options.html rename to pr/3734/docs/iroh/test_utils/struct.QlogFileGroup.html index 24a1892d94..145a09c4c3 100644 --- a/pr/3734/docs/iroh/net_report/struct.Options.html +++ b/pr/3734/docs/iroh/test_utils/struct.QlogFileGroup.html @@ -1,12 +1,18 @@ -Options in iroh::net_report - Rust

    Options

    Struct Options 

    Source
    pub struct Options { /* private fields */ }
    Expand description

    Options for running probes

    -

    By default, will run Https probes.

    -

    Use Options::quic_config to enable QUIC address discovery.

    -

    Implementations§

    Source§

    impl Options

    Source

    pub fn disabled() -> Self

    Available on non-wasm_browser only.

    Create an Options that disables all probes

    -
    Source

    pub fn quic_config(self, quic_config: Option<QuicConfig>) -> Self

    Available on non-wasm_browser only.

    Enable quic probes

    -
    Source

    pub fn https(self, enable: bool) -> Self

    Available on non-wasm_browser only.

    Enable or disable https probe

    -
    Source

    pub fn insecure_skip_relay_cert_verify(self, skip: bool) -> Self

    Available on non-wasm_browser and (crate features test-utils) only.

    Skip cert verification

    -
    Source

    pub fn as_protocols(&self) -> BTreeSet<Probe>

    Available on non-wasm_browser only.

    Turn the options into set of valid protocols

    -

    Trait Implementations§

    Source§

    impl Clone for Options

    Available on non-wasm_browser only.
    Source§

    fn clone(&self) -> Options

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Options

    Available on non-wasm_browser only.
    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Options

    Available on non-wasm_browser only.
    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 +QlogFileGroup in iroh::test_utils - Rust

    QlogFileGroup

    Struct QlogFileGroup 

    Source
    pub struct QlogFileGroup { /* private fields */ }
    Available on crate features test-utils only.
    Expand description

    Builder to create one or more related qlog configs.

    +

    This struct is available independently of feature flags, but if the “qlog” feature is not enabled +it does not do anything.

    +

    Implementations§

    Source§

    impl QlogFileGroup

    Source

    pub fn from_env(title: impl ToString) -> Self

    Creates a new QlogFileGroup that is only enabled if feature flags and environment variables match.

    +

    The qlog files will be written to CARGO_MANIFEST_DIR/qlog.

    +

    The QlogFileGroup can be used independent of feature flags, but it will only emit qlog files +if the “qlog” feature is enabled and the environment variable IROH_TEST_QLOG is set to 1.

    +
    Source

    pub fn new(directory: impl AsRef<Path>, title: impl ToString) -> Self

    Creates a new QlogFileGroup that writes qlog files to the specified directory.

    +

    The QlogFileGroup can be used independent of feature flags, but it will only emit qlog files +if the “qlog” feature is enabled and the environment variable IROH_TEST_QLOG is set to 1.

    +
    Source

    pub fn create(&self, name: impl ToString) -> Result<QuicTransportConfig>

    Creates a QuicTransportConfig that emits qlog files, if enabled.

    +

    If the “qlog” feature is enabled, and the environment variable IROH_TEST_QLOG is set, +this returns a transport config that writes qlog configs to the configured output directory. +Otherwise, a default transport config is returned.

    +

    Trait Implementations§

    Source§

    impl Clone for QlogFileGroup

    Source§

    fn clone(&self) -> QlogFileGroup

    Returns a duplicate 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 QlogFileGroup

    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( @@ -39,5 +45,5 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_bench/enum.Commands.html b/pr/3734/docs/iroh_bench/enum.Commands.html index 5a0ad0e189..f39d017eae 100644 --- a/pr/3734/docs/iroh_bench/enum.Commands.html +++ b/pr/3734/docs/iroh_bench/enum.Commands.html @@ -53,5 +53,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_bench/enum.ConnectionSelector.html b/pr/3734/docs/iroh_bench/enum.ConnectionSelector.html index 48cad6eacb..0ecb86399c 100644 --- a/pr/3734/docs/iroh_bench/enum.ConnectionSelector.html +++ b/pr/3734/docs/iroh_bench/enum.ConnectionSelector.html @@ -1,7 +1,7 @@ ConnectionSelector in iroh_bench - Rust

    ConnectionSelector

    Enum ConnectionSelector 

    Source
    pub enum ConnectionSelector {
    -    Iroh(Connection),
    +    Iroh(Connection),
         Quinn(Connection),
    -}

    Variants§

    §

    Iroh(Connection)

    §

    Quinn(Connection)

    Implementations§

    Source§

    impl ConnectionSelector

    Source

    pub fn stats(&self)

    Source

    pub fn close(&self, error_code: u32, reason: &[u8])

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +}

    Variants§

    §

    Iroh(Connection)

    §

    Quinn(Connection)

    Implementations§

    Source§

    impl ConnectionSelector

    Source

    pub fn stats(&self)

    Source

    pub fn close(&self, error_code: u32, reason: &[u8])

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -30,5 +30,5 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_bench/enum.EndpointSelector.html b/pr/3734/docs/iroh_bench/enum.EndpointSelector.html index a5ce196b89..3d3d60ccbb 100644 --- a/pr/3734/docs/iroh_bench/enum.EndpointSelector.html +++ b/pr/3734/docs/iroh_bench/enum.EndpointSelector.html @@ -1,7 +1,7 @@ EndpointSelector in iroh_bench - Rust

    EndpointSelector

    Enum EndpointSelector 

    Source
    pub enum EndpointSelector {
    -    Iroh(Endpoint),
    +    Iroh(Endpoint),
         Quinn(Endpoint),
    -}

    Variants§

    §

    Iroh(Endpoint)

    §

    Quinn(Endpoint)

    Implementations§

    Source§

    impl EndpointSelector

    Source

    pub async fn close(self)

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +}

    Variants§

    §

    Iroh(Endpoint)

    §

    Quinn(Endpoint)

    Implementations§

    Source§

    impl EndpointSelector

    Source

    pub async fn close(self)

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -30,5 +30,5 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_bench/iroh/fn.client.html b/pr/3734/docs/iroh_bench/iroh/fn.client.html index b5b191902f..d89696de78 100644 --- a/pr/3734/docs/iroh_bench/iroh/fn.client.html +++ b/pr/3734/docs/iroh_bench/iroh/fn.client.html @@ -1,6 +1,6 @@ client in iroh_bench::iroh - Rust

    client

    Function client 

    Source
    pub async fn client(
    -    server_addr: EndpointAddr,
    -    relay_url: Option<RelayUrl>,
    +    server_addr: EndpointAddr,
    +    relay_url: Option<RelayUrl>,
         opt: Opt,
     ) -> Result<ClientStats>
    Expand description

    Create and run a client

    \ No newline at end of file diff --git a/pr/3734/docs/iroh_bench/iroh/fn.connect_client.html b/pr/3734/docs/iroh_bench/iroh/fn.connect_client.html index 26c0259b86..7f623cc44c 100644 --- a/pr/3734/docs/iroh_bench/iroh/fn.connect_client.html +++ b/pr/3734/docs/iroh_bench/iroh/fn.connect_client.html @@ -1,6 +1,6 @@ connect_client in iroh_bench::iroh - Rust

    connect_client

    Function connect_client 

    Source
    pub async fn connect_client(
    -    server_addr: EndpointAddr,
    -    relay_url: Option<RelayUrl>,
    +    server_addr: EndpointAddr,
    +    relay_url: Option<RelayUrl>,
         opt: Opt,
    -) -> Result<(Endpoint, Connection)>
    Expand description

    Create a client endpoint and client connection

    +) -> Result<(Endpoint, Connection)>
    Expand description

    Create a client endpoint and client connection

    \ No newline at end of file diff --git a/pr/3734/docs/iroh_bench/iroh/fn.handle_client_stream.html b/pr/3734/docs/iroh_bench/iroh/fn.handle_client_stream.html index e1752fe7cb..8e2b2c853a 100644 --- a/pr/3734/docs/iroh_bench/iroh/fn.handle_client_stream.html +++ b/pr/3734/docs/iroh_bench/iroh/fn.handle_client_stream.html @@ -1,5 +1,5 @@ -handle_client_stream in iroh_bench::iroh - Rust

    handle_client_stream

    Function handle_client_stream 

    Source
    pub async fn handle_client_stream(
    -    connection: &Connection,
    +handle_client_stream in iroh_bench::iroh - Rust

    handle_client_stream

    Function handle_client_stream 

    Source
    pub async fn handle_client_stream(
    +    connection: &Connection,
         upload_size: u64,
         read_unordered: bool,
     ) -> Result<(TransferResult, TransferResult)>
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_bench/iroh/fn.server.html b/pr/3734/docs/iroh_bench/iroh/fn.server.html index 76b41beefd..4e617357f3 100644 --- a/pr/3734/docs/iroh_bench/iroh/fn.server.html +++ b/pr/3734/docs/iroh_bench/iroh/fn.server.html @@ -1,2 +1,2 @@ -server in iroh_bench::iroh - Rust

    server

    Function server 

    Source
    pub async fn server(endpoint: Endpoint, opt: Opt) -> Result<()>
    Expand description

    Take the provided endpoint and run the server

    +server in iroh_bench::iroh - Rust

    server

    Function server 

    Source
    pub async fn server(endpoint: Endpoint, opt: Opt) -> Result<()>
    Expand description

    Take the provided endpoint and run the server

    \ No newline at end of file diff --git a/pr/3734/docs/iroh_bench/iroh/fn.server_endpoint.html b/pr/3734/docs/iroh_bench/iroh/fn.server_endpoint.html index 98146a6e84..991746f30f 100644 --- a/pr/3734/docs/iroh_bench/iroh/fn.server_endpoint.html +++ b/pr/3734/docs/iroh_bench/iroh/fn.server_endpoint.html @@ -1,6 +1,6 @@ server_endpoint in iroh_bench::iroh - Rust

    server_endpoint

    Function server_endpoint 

    Source
    pub fn server_endpoint(
         rt: &Runtime,
    -    relay_url: &Option<RelayUrl>,
    +    relay_url: &Option<RelayUrl>,
         opt: &Opt,
    -) -> (EndpointAddr, Endpoint)
    Expand description

    Creates a server endpoint which runs on the given runtime

    +) -> (EndpointAddr, Endpoint)
    Expand description

    Creates a server endpoint which runs on the given runtime

    \ No newline at end of file diff --git a/pr/3734/docs/iroh_bench/iroh/fn.transport_config.html b/pr/3734/docs/iroh_bench/iroh/fn.transport_config.html index 07f4fb554e..0c4d10c6b4 100644 --- a/pr/3734/docs/iroh_bench/iroh/fn.transport_config.html +++ b/pr/3734/docs/iroh_bench/iroh/fn.transport_config.html @@ -1,4 +1,4 @@ -transport_config in iroh_bench::iroh - Rust

    transport_config

    Function transport_config 

    Source
    pub fn transport_config(
    +transport_config in iroh_bench::iroh - Rust

    transport_config

    Function transport_config 

    Source
    pub fn transport_config(
         max_streams: usize,
         initial_mtu: u16,
    -) -> QuicTransportConfig
    \ No newline at end of file +) -> QuicTransportConfig
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_bench/iroh/index.html b/pr/3734/docs/iroh_bench/iroh/index.html index 61d95bd559..8eadd61567 100644 --- a/pr/3734/docs/iroh_bench/iroh/index.html +++ b/pr/3734/docs/iroh_bench/iroh/index.html @@ -1 +1 @@ -iroh_bench::iroh - Rust

    Module iroh

    Module iroh 

    Source

    Constants§

    ALPN

    Functions§

    client
    Create and run a client
    connect_client
    Create a client endpoint and client connection
    handle_client_stream
    server
    Take the provided endpoint and run the server
    server_endpoint
    Creates a server endpoint which runs on the given runtime
    transport_config
    \ No newline at end of file +iroh_bench::iroh - Rust

    Module iroh

    Module iroh 

    Source

    Constants§

    ALPN

    Functions§

    client
    Create and run a client
    connect_client
    Create a client endpoint and client connection
    handle_client_stream
    server
    Take the provided endpoint and run the server
    server_endpoint
    Creates a server endpoint which runs on the given runtime
    transport_config
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_bench/quinn/fn.handle_client_stream.html b/pr/3734/docs/iroh_bench/quinn/fn.handle_client_stream.html index a78e11f256..ef36c2c8d9 100644 --- a/pr/3734/docs/iroh_bench/quinn/fn.handle_client_stream.html +++ b/pr/3734/docs/iroh_bench/quinn/fn.handle_client_stream.html @@ -1,4 +1,4 @@ -handle_client_stream in iroh_bench::quinn - Rust

    handle_client_stream

    Function handle_client_stream 

    Source
    pub async fn handle_client_stream(
    +handle_client_stream in iroh_bench::quinn - Rust

    handle_client_stream

    Function handle_client_stream 

    Source
    pub async fn handle_client_stream(
         connection: &Connection,
         upload_size: u64,
         read_unordered: bool,
    diff --git a/pr/3734/docs/iroh_bench/quinn/fn.server.html b/pr/3734/docs/iroh_bench/quinn/fn.server.html
    index f1efff11a9..04d4892e4f 100644
    --- a/pr/3734/docs/iroh_bench/quinn/fn.server.html
    +++ b/pr/3734/docs/iroh_bench/quinn/fn.server.html
    @@ -1,2 +1,2 @@
    -server in iroh_bench::quinn - Rust

    server

    Function server 

    Source
    pub async fn server(endpoint: Endpoint, opt: Opt) -> Result<()>
    Expand description

    Take the provided endpoint and run the server

    +server in iroh_bench::quinn - Rust

    server

    Function server 

    Source
    pub async fn server(endpoint: Endpoint, opt: Opt) -> Result<()>
    Expand description

    Take the provided endpoint and run the server

    \ No newline at end of file diff --git a/pr/3734/docs/iroh_bench/quinn/fn.transport_config.html b/pr/3734/docs/iroh_bench/quinn/fn.transport_config.html index c2944fcc3e..e6ca862d8b 100644 --- a/pr/3734/docs/iroh_bench/quinn/fn.transport_config.html +++ b/pr/3734/docs/iroh_bench/quinn/fn.transport_config.html @@ -1 +1 @@ -transport_config in iroh_bench::quinn - Rust

    transport_config

    Function transport_config 

    Source
    pub fn transport_config(max_streams: usize, initial_mtu: u16) -> TransportConfig
    \ No newline at end of file +transport_config in iroh_bench::quinn - Rust

    transport_config

    Function transport_config 

    Source
    pub fn transport_config(max_streams: usize, initial_mtu: u16) -> TransportConfig
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_bench/quinn/index.html b/pr/3734/docs/iroh_bench/quinn/index.html index a673058c18..b85e2bc99b 100644 --- a/pr/3734/docs/iroh_bench/quinn/index.html +++ b/pr/3734/docs/iroh_bench/quinn/index.html @@ -1 +1 @@ -iroh_bench::quinn - Rust

    Module quinn

    Module quinn 

    Source

    Constants§

    ALPN

    Functions§

    client
    Create and run a client
    connect_client
    Create a client endpoint and client connection
    handle_client_stream
    server
    Take the provided endpoint and run the server
    server_endpoint
    Creates a server endpoint which runs on the given runtime
    transport_config
    \ No newline at end of file +iroh_bench::quinn - Rust

    Module quinn

    Module quinn 

    Source

    Constants§

    ALPN

    Functions§

    client
    Create and run a client
    connect_client
    Create a client endpoint and client connection
    handle_client_stream
    server
    Take the provided endpoint and run the server
    server_endpoint
    Creates a server endpoint which runs on the given runtime
    transport_config
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_bench/s2n/struct.Opt.html b/pr/3734/docs/iroh_bench/s2n/struct.Opt.html index e4e1e44369..e9fdeac501 100644 --- a/pr/3734/docs/iroh_bench/s2n/struct.Opt.html +++ b/pr/3734/docs/iroh_bench/s2n/struct.Opt.html @@ -49,5 +49,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_bench/stats/struct.Stats.html b/pr/3734/docs/iroh_bench/stats/struct.Stats.html index 3e3afcd1f9..d3d7e4a76c 100644 --- a/pr/3734/docs/iroh_bench/stats/struct.Stats.html +++ b/pr/3734/docs/iroh_bench/stats/struct.Stats.html @@ -32,5 +32,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_bench/stats/struct.StreamStats.html b/pr/3734/docs/iroh_bench/stats/struct.StreamStats.html index ce781e0e66..1a82db759a 100644 --- a/pr/3734/docs/iroh_bench/stats/struct.StreamStats.html +++ b/pr/3734/docs/iroh_bench/stats/struct.StreamStats.html @@ -34,5 +34,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_bench/stats/struct.TransferResult.html b/pr/3734/docs/iroh_bench/stats/struct.TransferResult.html index a437f383cc..ded5a5044e 100644 --- a/pr/3734/docs/iroh_bench/stats/struct.TransferResult.html +++ b/pr/3734/docs/iroh_bench/stats/struct.TransferResult.html @@ -34,5 +34,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_bench/struct.ClientStats.html b/pr/3734/docs/iroh_bench/struct.ClientStats.html index 8817940c2d..d9291f8ef8 100644 --- a/pr/3734/docs/iroh_bench/struct.ClientStats.html +++ b/pr/3734/docs/iroh_bench/struct.ClientStats.html @@ -27,5 +27,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_bench/struct.Opt.html b/pr/3734/docs/iroh_bench/struct.Opt.html index aeb14b674f..14d45d7536 100644 --- a/pr/3734/docs/iroh_bench/struct.Opt.html +++ b/pr/3734/docs/iroh_bench/struct.Opt.html @@ -79,5 +79,5 @@ throughput for relay-only traffic.

    U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_dns_server/config/enum.BootstrapOption.html b/pr/3734/docs/iroh_dns_server/config/enum.BootstrapOption.html index 61a87946a3..09bfce015e 100644 --- a/pr/3734/docs/iroh_dns_server/config/enum.BootstrapOption.html +++ b/pr/3734/docs/iroh_dns_server/config/enum.BootstrapOption.html @@ -1,11 +1,11 @@ -BootstrapOption in iroh_dns_server::config - Rust

    BootstrapOption

    Enum BootstrapOption 

    Source
    pub enum BootstrapOption {
    +BootstrapOption in iroh_dns_server::config - Rust

    BootstrapOption

    Enum BootstrapOption 

    Source
    pub enum BootstrapOption {
         Default,
         Custom(Vec<String>),
     }
    Expand description

    Configure the bootstrap servers for mainline DHT resolution.

    Variants§

    §

    Default

    Use the default bootstrap servers.

    §

    Custom(Vec<String>)

    Use custom bootstrap servers.

    -

    Trait Implementations§

    Source§

    impl Debug for BootstrapOption

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for BootstrapOption

    Source§

    fn default() -> BootstrapOption

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for BootstrapOption

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for BootstrapOption

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where +

    Trait Implementations§

    Source§

    impl Debug for BootstrapOption

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for BootstrapOption

    Source§

    fn default() -> BootstrapOption

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for BootstrapOption

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for BootstrapOption

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where @@ -35,6 +35,6 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/pr/3734/docs/iroh_dns_server/config/index.html b/pr/3734/docs/iroh_dns_server/config/index.html index 071676f6ea..2a3bb38c89 100644 --- a/pr/3734/docs/iroh_dns_server/config/index.html +++ b/pr/3734/docs/iroh_dns_server/config/index.html @@ -1,2 +1,2 @@ -iroh_dns_server::config - Rust

    Module config

    Module config 

    Source
    Expand description

    Configuration for the server

    +iroh_dns_server::config - Rust

    Module config

    Module config 

    Source
    Expand description

    Configuration for the server

    Structs§

    Config
    Server configuration
    MainlineConfig
    The config for the metrics server.
    MetricsConfig
    The config for the metrics server.
    StoreConfig
    The config for the store.

    Enums§

    BootstrapOption
    Configure the bootstrap servers for mainline DHT resolution.
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_dns_server/config/struct.Config.html b/pr/3734/docs/iroh_dns_server/config/struct.Config.html index 0354ceca6e..2b3ef6405d 100644 --- a/pr/3734/docs/iroh_dns_server/config/struct.Config.html +++ b/pr/3734/docs/iroh_dns_server/config/struct.Config.html @@ -1,4 +1,4 @@ -Config in iroh_dns_server::config - Rust

    Config

    Struct Config 

    Source
    pub struct Config {
    +Config in iroh_dns_server::config - Rust

    Config

    Struct Config 

    Source
    pub struct Config {
         pub http: Option<HttpConfig>,
         pub https: Option<HttpsConfig>,
         pub dns: DnsConfig,
    @@ -6,6 +6,7 @@
         pub mainline: Option<MainlineConfig>,
         pub zone_store: Option<StoreConfig>,
         pub pkarr_put_rate_limit: RateLimitConfig,
    +    pub data_dir: Option<PathBuf>,
     }
    Expand description

    Server configuration

    The config is usually loaded from a file with Self::load.

    The struct also implements Default which creates a config suitable for local development @@ -21,10 +22,13 @@ and testing.

    §mainline: Option<MainlineConfig>

    Config for the mainline lookup.

    §zone_store: Option<StoreConfig>

    Config for the zone store.

    §pkarr_put_rate_limit: RateLimitConfig

    Config for pkarr rate limit

    -

    Implementations§

    Source§

    impl Config

    Source

    pub async fn load(path: impl AsRef<Path>) -> Result<Config>

    Load the config from a file.

    -
    Source

    pub fn data_dir() -> Result<PathBuf>

    Get the data directory.

    -
    Source

    pub fn signed_packet_store_path() -> Result<PathBuf>

    Get the path to the store database file.

    -

    Trait Implementations§

    Source§

    impl Debug for Config

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Config

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for Config

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where +
    §data_dir: Option<PathBuf>

    Location where all data of iroh-dns-server is stored.

    +

    If unset, will use IROH_DNS_DATA_DIR environment variable if set, +and otherwise a iroh-dns directory in the host system’s data directory.

    +

    Implementations§

    Source§

    impl Config

    Source

    pub async fn load(path: impl AsRef<Path>) -> Result<Config>

    Load the config from a file.

    +
    Source

    pub fn data_dir(&self) -> Result<PathBuf>

    Get the data directory.

    +
    Source

    pub fn signed_packet_store_path(&self) -> Result<PathBuf>

    Get the path to the store database file.

    +

    Trait Implementations§

    Source§

    impl Debug for Config

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Config

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for Config

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for Config

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Config

    §

    impl RefUnwindSafe for Config

    §

    impl Send for Config

    §

    impl Sync for Config

    §

    impl Unpin for Config

    §

    impl UnwindSafe for Config

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where @@ -55,6 +59,6 @@ and testing.

    U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/pr/3734/docs/iroh_dns_server/config/struct.MainlineConfig.html b/pr/3734/docs/iroh_dns_server/config/struct.MainlineConfig.html index 1e07d04fdd..41632b45a5 100644 --- a/pr/3734/docs/iroh_dns_server/config/struct.MainlineConfig.html +++ b/pr/3734/docs/iroh_dns_server/config/struct.MainlineConfig.html @@ -1,4 +1,4 @@ -MainlineConfig in iroh_dns_server::config - Rust

    MainlineConfig

    Struct MainlineConfig 

    Source
    pub struct MainlineConfig {
    +MainlineConfig in iroh_dns_server::config - Rust

    MainlineConfig

    Struct MainlineConfig 

    Source
    pub struct MainlineConfig {
         pub enabled: bool,
         pub bootstrap: Option<Vec<String>>,
     }
    Expand description

    The config for the metrics server.

    @@ -6,8 +6,8 @@
    §bootstrap: Option<Vec<String>>

    Set custom bootstrap nodes.

    Addresses can either be domain:port or ipv4:port.

    If empty this will use the default bittorrent mainline bootstrap nodes as defined by pkarr.

    -

    Trait Implementations§

    Source§

    impl Debug for MainlineConfig

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for MainlineConfig

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for MainlineConfig

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for MainlineConfig

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where +

    Trait Implementations§

    Source§

    impl Debug for MainlineConfig

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for MainlineConfig

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for MainlineConfig

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for MainlineConfig

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where @@ -37,6 +37,6 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/pr/3734/docs/iroh_dns_server/config/struct.MetricsConfig.html b/pr/3734/docs/iroh_dns_server/config/struct.MetricsConfig.html index ca14b10591..145f24d941 100644 --- a/pr/3734/docs/iroh_dns_server/config/struct.MetricsConfig.html +++ b/pr/3734/docs/iroh_dns_server/config/struct.MetricsConfig.html @@ -1,12 +1,12 @@ -MetricsConfig in iroh_dns_server::config - Rust

    MetricsConfig

    Struct MetricsConfig 

    Source
    pub struct MetricsConfig {
    +MetricsConfig in iroh_dns_server::config - Rust

    MetricsConfig

    Struct MetricsConfig 

    Source
    pub struct MetricsConfig {
         pub disabled: bool,
         pub bind_addr: Option<SocketAddr>,
     }
    Expand description

    The config for the metrics server.

    Fields§

    §disabled: bool

    Set to true to disable the metrics server.

    §bind_addr: Option<SocketAddr>

    Optionally set a custom address to bind to.

    -

    Implementations§

    Source§

    impl MetricsConfig

    Source

    pub fn disabled() -> Self

    Disable the metrics server.

    -

    Trait Implementations§

    Source§

    impl Debug for MetricsConfig

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for MetricsConfig

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for MetricsConfig

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where +

    Implementations§

    Source§

    impl MetricsConfig

    Source

    pub fn disabled() -> Self

    Disable the metrics server.

    +

    Trait Implementations§

    Source§

    impl Debug for MetricsConfig

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for MetricsConfig

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for MetricsConfig

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where @@ -36,6 +36,6 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/pr/3734/docs/iroh_dns_server/config/struct.StoreConfig.html b/pr/3734/docs/iroh_dns_server/config/struct.StoreConfig.html index e750f3bef0..a647d70751 100644 --- a/pr/3734/docs/iroh_dns_server/config/struct.StoreConfig.html +++ b/pr/3734/docs/iroh_dns_server/config/struct.StoreConfig.html @@ -1,6 +1,6 @@ -StoreConfig in iroh_dns_server::config - Rust

    StoreConfig

    Struct StoreConfig 

    Source
    pub struct StoreConfig { /* private fields */ }
    Expand description

    The config for the store.

    -

    Trait Implementations§

    Source§

    impl Clone for StoreConfig

    Source§

    fn clone(&self) -> StoreConfig

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for StoreConfig

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for StoreConfig

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for StoreConfig

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for StoreConfig

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where +StoreConfig in iroh_dns_server::config - Rust

    StoreConfig

    Struct StoreConfig 

    Source
    pub struct StoreConfig { /* private fields */ }
    Expand description

    The config for the store.

    +

    Trait Implementations§

    Source§

    impl Clone for StoreConfig

    Source§

    fn clone(&self) -> StoreConfig

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for StoreConfig

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for StoreConfig

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for StoreConfig

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for StoreConfig

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where @@ -34,6 +34,6 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/pr/3734/docs/iroh_dns_server/dns/struct.DnsConfig.html b/pr/3734/docs/iroh_dns_server/dns/struct.DnsConfig.html index 310bc0557f..bcec3d2b7f 100644 --- a/pr/3734/docs/iroh_dns_server/dns/struct.DnsConfig.html +++ b/pr/3734/docs/iroh_dns_server/dns/struct.DnsConfig.html @@ -52,6 +52,6 @@ Uses 0.0.0.0 if unspecified.

    U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/pr/3734/docs/iroh_dns_server/dns/struct.DnsHandler.html b/pr/3734/docs/iroh_dns_server/dns/struct.DnsHandler.html index 09bcda1ad6..acc3e92991 100644 --- a/pr/3734/docs/iroh_dns_server/dns/struct.DnsHandler.html +++ b/pr/3734/docs/iroh_dns_server/dns/struct.DnsHandler.html @@ -47,5 +47,5 @@ and the server DID to serve under _did.<origin>.

    U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_dns_server/dns/struct.DnsServer.html b/pr/3734/docs/iroh_dns_server/dns/struct.DnsServer.html index e873cdf172..5b10ffd2f0 100644 --- a/pr/3734/docs/iroh_dns_server/dns/struct.DnsServer.html +++ b/pr/3734/docs/iroh_dns_server/dns/struct.DnsServer.html @@ -33,5 +33,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_dns_server/dns/struct.Handle.html b/pr/3734/docs/iroh_dns_server/dns/struct.Handle.html index a1e61aaffa..a12fe70b41 100644 --- a/pr/3734/docs/iroh_dns_server/dns/struct.Handle.html +++ b/pr/3734/docs/iroh_dns_server/dns/struct.Handle.html @@ -39,5 +39,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_dns_server/http/enum.CertMode.html b/pr/3734/docs/iroh_dns_server/http/enum.CertMode.html index 6e8218af21..5427ecd829 100644 --- a/pr/3734/docs/iroh_dns_server/http/enum.CertMode.html +++ b/pr/3734/docs/iroh_dns_server/http/enum.CertMode.html @@ -49,6 +49,6 @@ and should not be overridden without very good reason.TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/pr/3734/docs/iroh_dns_server/http/enum.RateLimitConfig.html b/pr/3734/docs/iroh_dns_server/http/enum.RateLimitConfig.html index 1f082fd787..b30487c70e 100644 --- a/pr/3734/docs/iroh_dns_server/http/enum.RateLimitConfig.html +++ b/pr/3734/docs/iroh_dns_server/http/enum.RateLimitConfig.html @@ -45,6 +45,6 @@ falling back to the connection’s peer IP address. U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/pr/3734/docs/iroh_dns_server/http/index.html b/pr/3734/docs/iroh_dns_server/http/index.html index 56adfb2f9d..8875687bfe 100644 --- a/pr/3734/docs/iroh_dns_server/http/index.html +++ b/pr/3734/docs/iroh_dns_server/http/index.html @@ -1,2 +1,2 @@ -iroh_dns_server::http - Rust

    Module http

    Module http 

    Source
    Expand description

    HTTP server part of iroh-dns-server

    +iroh_dns_server::http - Rust

    Module http

    Module http 

    Source
    Expand description

    HTTP server part of iroh-dns-server

    Structs§

    HttpConfig
    Config for the HTTP server
    HttpServer
    The HTTP(S) server part of iroh-dns-server
    HttpsConfig
    Config for the HTTPS server

    Enums§

    CertMode
    The mode how SSL certificates should be created.
    RateLimitConfig
    Config for http server rate limit.
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_dns_server/http/struct.HttpConfig.html b/pr/3734/docs/iroh_dns_server/http/struct.HttpConfig.html index 7deb7c9b71..4f241acdf7 100644 --- a/pr/3734/docs/iroh_dns_server/http/struct.HttpConfig.html +++ b/pr/3734/docs/iroh_dns_server/http/struct.HttpConfig.html @@ -1,11 +1,11 @@ -HttpConfig in iroh_dns_server::http - Rust

    HttpConfig

    Struct HttpConfig 

    Source
    pub struct HttpConfig {
    +HttpConfig in iroh_dns_server::http - Rust

    HttpConfig

    Struct HttpConfig 

    Source
    pub struct HttpConfig {
         pub port: u16,
         pub bind_addr: Option<IpAddr>,
     }
    Expand description

    Config for the HTTP server

    Fields§

    §port: u16

    Port to bind to

    §bind_addr: Option<IpAddr>

    Optionally set a custom bind address (will use 0.0.0.0 if unset)

    -

    Trait Implementations§

    Source§

    impl Clone for HttpConfig

    Source§

    fn clone(&self) -> HttpConfig

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for HttpConfig

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for HttpConfig

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for HttpConfig

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where +

    Trait Implementations§

    Source§

    impl Clone for HttpConfig

    Source§

    fn clone(&self) -> HttpConfig

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for HttpConfig

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for HttpConfig

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for HttpConfig

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where @@ -39,6 +39,6 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/pr/3734/docs/iroh_dns_server/http/struct.HttpServer.html b/pr/3734/docs/iroh_dns_server/http/struct.HttpServer.html index c4484b3610..3c3d6ca63b 100644 --- a/pr/3734/docs/iroh_dns_server/http/struct.HttpServer.html +++ b/pr/3734/docs/iroh_dns_server/http/struct.HttpServer.html @@ -1,14 +1,15 @@ -HttpServer in iroh_dns_server::http - Rust

    HttpServer

    Struct HttpServer 

    Source
    pub struct HttpServer { /* private fields */ }
    Expand description

    The HTTP(S) server part of iroh-dns-server

    -

    Implementations§

    Source§

    impl HttpServer

    Source

    pub async fn spawn( +HttpServer in iroh_dns_server::http - Rust

    HttpServer

    Struct HttpServer 

    Source
    pub struct HttpServer { /* private fields */ }
    Expand description

    The HTTP(S) server part of iroh-dns-server

    +

    Implementations§

    Source§

    impl HttpServer

    Source

    pub async fn spawn( http_config: Option<HttpConfig>, https_config: Option<HttpsConfig>, rate_limit_config: RateLimitConfig, state: AppState, + cert_cache_dir: PathBuf, ) -> Result<HttpServer>

    Spawn the server

    -
    Source

    pub fn http_addr(&self) -> Option<SocketAddr>

    Get the bound address of the HTTP socket.

    -
    Source

    pub fn https_addr(&self) -> Option<SocketAddr>

    Get the bound address of the HTTPS socket.

    -
    Source

    pub async fn shutdown(self) -> Result<()>

    Shutdown the server and wait for all tasks to complete.

    -
    Source

    pub async fn run_until_done(self) -> Result<()>

    Wait for all tasks to complete.

    +
    Source

    pub fn http_addr(&self) -> Option<SocketAddr>

    Get the bound address of the HTTP socket.

    +
    Source

    pub fn https_addr(&self) -> Option<SocketAddr>

    Get the bound address of the HTTPS socket.

    +
    Source

    pub async fn shutdown(self) -> Result<()>

    Shutdown the server and wait for all tasks to complete.

    +
    Source

    pub async fn run_until_done(self) -> Result<()>

    Wait for all tasks to complete.

    Runs forever unless tasks fail.

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where @@ -39,5 +40,5 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_dns_server/http/struct.HttpsConfig.html b/pr/3734/docs/iroh_dns_server/http/struct.HttpsConfig.html index d086998299..aa18a08f6e 100644 --- a/pr/3734/docs/iroh_dns_server/http/struct.HttpsConfig.html +++ b/pr/3734/docs/iroh_dns_server/http/struct.HttpsConfig.html @@ -1,4 +1,4 @@ -HttpsConfig in iroh_dns_server::http - Rust

    HttpsConfig

    Struct HttpsConfig 

    Source
    pub struct HttpsConfig {
    +HttpsConfig in iroh_dns_server::http - Rust

    HttpsConfig

    Struct HttpsConfig 

    Source
    pub struct HttpsConfig {
         pub port: u16,
         pub bind_addr: Option<IpAddr>,
         pub domains: Vec<String>,
    @@ -12,8 +12,8 @@
     
    §cert_mode: CertMode

    The mode of SSL certificate creation

    §letsencrypt_contact: Option<String>

    Letsencrypt contact email address (required if using CertMode::LetsEncrypt)

    §letsencrypt_prod: Option<bool>

    Whether to use the letsenrypt production servers (only applies to CertMode::LetsEncrypt)

    -

    Trait Implementations§

    Source§

    impl Clone for HttpsConfig

    Source§

    fn clone(&self) -> HttpsConfig

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for HttpsConfig

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for HttpsConfig

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for HttpsConfig

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where +

    Trait Implementations§

    Source§

    impl Clone for HttpsConfig

    Source§

    fn clone(&self) -> HttpsConfig

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for HttpsConfig

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for HttpsConfig

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for HttpsConfig

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where @@ -47,6 +47,6 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/pr/3734/docs/iroh_dns_server/index.html b/pr/3734/docs/iroh_dns_server/index.html index 8eebae0675..dcc09b393b 100644 --- a/pr/3734/docs/iroh_dns_server/index.html +++ b/pr/3734/docs/iroh_dns_server/index.html @@ -1,2 +1,2 @@ -iroh_dns_server - Rust

    Crate iroh_dns_server

    Crate iroh_dns_server 

    Source
    Expand description

    A DNS server and pkarr relay

    +iroh_dns_server - Rust

    Crate iroh_dns_server

    Crate iroh_dns_server 

    Source
    Expand description

    A DNS server and pkarr relay

    Modules§

    config
    Configuration for the server
    dns
    Implementation of a DNS name server for iroh endpoint announces
    http
    HTTP server part of iroh-dns-server
    metrics
    Metrics support for the server
    server
    The main server which combines the DNS and HTTP(S) servers.
    state
    Shared state and store for the iroh-dns-server

    Structs§

    ZoneStore
    A store for pkarr signed packets.
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_dns_server/metrics/struct.Metrics.html b/pr/3734/docs/iroh_dns_server/metrics/struct.Metrics.html index 6bbbcc7e7c..bb59df2200 100644 --- a/pr/3734/docs/iroh_dns_server/metrics/struct.Metrics.html +++ b/pr/3734/docs/iroh_dns_server/metrics/struct.Metrics.html @@ -62,5 +62,5 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_dns_server/server/fn.run_with_config_until_ctrl_c.html b/pr/3734/docs/iroh_dns_server/server/fn.run_with_config_until_ctrl_c.html index 81fdd92a5d..335c9fa1fa 100644 --- a/pr/3734/docs/iroh_dns_server/server/fn.run_with_config_until_ctrl_c.html +++ b/pr/3734/docs/iroh_dns_server/server/fn.run_with_config_until_ctrl_c.html @@ -1,2 +1,2 @@ -run_with_config_until_ctrl_c in iroh_dns_server::server - Rust

    run_with_config_until_ctrl_c

    Function run_with_config_until_ctrl_c 

    Source
    pub async fn run_with_config_until_ctrl_c(config: Config) -> Result<()>
    Expand description

    Spawn the server and run until the Ctrl-C signal is received, then shutdown.

    +run_with_config_until_ctrl_c in iroh_dns_server::server - Rust

    run_with_config_until_ctrl_c

    Function run_with_config_until_ctrl_c 

    Source
    pub async fn run_with_config_until_ctrl_c(config: Config) -> Result<()>
    Expand description

    Spawn the server and run until the Ctrl-C signal is received, then shutdown.

    \ No newline at end of file diff --git a/pr/3734/docs/iroh_dns_server/server/index.html b/pr/3734/docs/iroh_dns_server/server/index.html index a1e2c0f9c3..cc92272f11 100644 --- a/pr/3734/docs/iroh_dns_server/server/index.html +++ b/pr/3734/docs/iroh_dns_server/server/index.html @@ -1,2 +1,2 @@ -iroh_dns_server::server - Rust

    Module server

    Module server 

    Source
    Expand description

    The main server which combines the DNS and HTTP(S) servers.

    +iroh_dns_server::server - Rust

    Module server

    Module server 

    Source
    Expand description

    The main server which combines the DNS and HTTP(S) servers.

    Structs§

    Server
    The iroh-dns server.

    Functions§

    run_with_config_until_ctrl_c
    Spawn the server and run until the Ctrl-C signal is received, then shutdown.
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_dns_server/server/struct.Server.html b/pr/3734/docs/iroh_dns_server/server/struct.Server.html index bbf7080bb8..4bec699594 100644 --- a/pr/3734/docs/iroh_dns_server/server/struct.Server.html +++ b/pr/3734/docs/iroh_dns_server/server/struct.Server.html @@ -1,5 +1,5 @@ -Server in iroh_dns_server::server - Rust

    Server

    Struct Server 

    Source
    pub struct Server { /* private fields */ }
    Expand description

    The iroh-dns server.

    -

    Implementations§

    Source§

    impl Server

    Source

    pub async fn spawn( +Server in iroh_dns_server::server - Rust

    Server

    Struct Server 

    Source
    pub struct Server { /* private fields */ }
    Expand description

    The iroh-dns server.

    +

    Implementations§

    Source§

    impl Server

    Source

    pub async fn spawn( config: Config, store: ZoneStore, metrics: Arc<Metrics>, @@ -10,8 +10,8 @@
  • A HTTP server task, if config.http is not empty
  • A HTTPS server task, if config.https is not empty
  • -

    Source

    pub async fn shutdown(self) -> Result<()>

    Cancel the server tasks and wait for all tasks to complete.

    -
    Source

    pub async fn run_until_error(self) -> Result<()>

    Wait for all tasks to complete.

    +
    Source

    pub async fn shutdown(self) -> Result<()>

    Cancel the server tasks and wait for all tasks to complete.

    +
    Source

    pub async fn run_until_error(self) -> Result<()>

    Wait for all tasks to complete.

    This will run forever unless all tasks close with an error, or Self::cancel is called.

    Auto Trait Implementations§

    §

    impl Freeze for Server

    §

    impl !RefUnwindSafe for Server

    §

    impl Send for Server

    §

    impl Sync for Server

    §

    impl Unpin for Server

    §

    impl !UnwindSafe for Server

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where @@ -42,5 +42,5 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_dns_server/state/struct.AppState.html b/pr/3734/docs/iroh_dns_server/state/struct.AppState.html index 8723acd32b..c533ee82f6 100644 --- a/pr/3734/docs/iroh_dns_server/state/struct.AppState.html +++ b/pr/3734/docs/iroh_dns_server/state/struct.AppState.html @@ -39,5 +39,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_dns_server/struct.ZoneStore.html b/pr/3734/docs/iroh_dns_server/struct.ZoneStore.html index 6204f5a7a8..b74f9ed710 100644 --- a/pr/3734/docs/iroh_dns_server/struct.ZoneStore.html +++ b/pr/3734/docs/iroh_dns_server/struct.ZoneStore.html @@ -65,5 +65,5 @@ pubkey.

    U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/all.html b/pr/3734/docs/iroh_relay/all.html index 02f8f3c3dd..5babdb1679 100644 --- a/pr/3734/docs/iroh_relay/all.html +++ b/pr/3734/docs/iroh_relay/all.html @@ -1 +1 @@ -List of all items in this crate

    All

    List of all items

    Structs

    Enums

    Traits

    Functions

    Type Aliases

    Constants

    \ No newline at end of file +List of all items in this crate

    All

    List of all items

    Structs

    Enums

    Traits

    Functions

    Type Aliases

    Constants

    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/client/enum.ConnectError.html b/pr/3734/docs/iroh_relay/client/enum.ConnectError.html index b87d5eb757..5b6afd873d 100644 --- a/pr/3734/docs/iroh_relay/client/enum.ConnectError.html +++ b/pr/3734/docs/iroh_relay/client/enum.ConnectError.html @@ -83,5 +83,5 @@ relay, as well as errors that occur while creating or maintaining a connection.< U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/client/enum.DialError.html b/pr/3734/docs/iroh_relay/client/enum.DialError.html index ba796e4d19..d75f72fa65 100644 --- a/pr/3734/docs/iroh_relay/client/enum.DialError.html +++ b/pr/3734/docs/iroh_relay/client/enum.DialError.html @@ -81,5 +81,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/client/enum.RecvError.html b/pr/3734/docs/iroh_relay/client/enum.RecvError.html index 3b4d6ff9fc..86fa4df6bd 100644 --- a/pr/3734/docs/iroh_relay/client/enum.RecvError.html +++ b/pr/3734/docs/iroh_relay/client/enum.RecvError.html @@ -43,5 +43,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/client/enum.SendError.html b/pr/3734/docs/iroh_relay/client/enum.SendError.html index 8d720d6976..34122d4263 100644 --- a/pr/3734/docs/iroh_relay/client/enum.SendError.html +++ b/pr/3734/docs/iroh_relay/client/enum.SendError.html @@ -47,5 +47,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/client/struct.Client.html b/pr/3734/docs/iroh_relay/client/struct.Client.html index a5cc94523c..2822dca274 100644 --- a/pr/3734/docs/iroh_relay/client/struct.Client.html +++ b/pr/3734/docs/iroh_relay/client/struct.Client.html @@ -489,5 +489,5 @@ satisfy the predicate. Exits early if an Err is encountered or if a that satisfies the predicate. Read more
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/client/struct.ClientBuilder.html b/pr/3734/docs/iroh_relay/client/struct.ClientBuilder.html index 822f6eb175..97e2aed038 100644 --- a/pr/3734/docs/iroh_relay/client/struct.ClientBuilder.html +++ b/pr/3734/docs/iroh_relay/client/struct.ClientBuilder.html @@ -1,7 +1,7 @@ ClientBuilder in iroh_relay::client - Rust

    ClientBuilder

    Struct ClientBuilder 

    Source
    pub struct ClientBuilder { /* private fields */ }
    Expand description

    Build a Client.

    Implementations§

    Source§

    impl ClientBuilder

    Source

    pub fn new( - url: impl Into<RelayUrl>, - secret_key: SecretKey, + url: impl Into<RelayUrl>, + secret_key: SecretKey, dns_resolver: DnsResolver, ) -> Self

    Create a new ClientBuilder

    Source

    pub fn address_family_selector<S>(self, selector: S) -> Self
    where @@ -48,5 +48,5 @@ work anyway, so we don’t artificially delay the connection speed.

    U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/client/struct.ClientSink.html b/pr/3734/docs/iroh_relay/client/struct.ClientSink.html index d80329c4d0..5302658ec1 100644 --- a/pr/3734/docs/iroh_relay/client/struct.ClientSink.html +++ b/pr/3734/docs/iroh_relay/client/struct.ClientSink.html @@ -90,5 +90,5 @@ sink types.
    TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/client/struct.ClientStream.html b/pr/3734/docs/iroh_relay/client/struct.ClientStream.html index 7b00fff260..723f5a6075 100644 --- a/pr/3734/docs/iroh_relay/client/struct.ClientStream.html +++ b/pr/3734/docs/iroh_relay/client/struct.ClientStream.html @@ -427,5 +427,5 @@ satisfy the predicate. Exits early if an Err is encountered or if a that satisfies the predicate. Read more
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/dns/enum.DnsError.html b/pr/3734/docs/iroh_relay/dns/enum.DnsError.html index 9703eb58ee..46252a5d14 100644 --- a/pr/3734/docs/iroh_relay/dns/enum.DnsError.html +++ b/pr/3734/docs/iroh_relay/dns/enum.DnsError.html @@ -61,5 +61,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/dns/enum.DnsProtocol.html b/pr/3734/docs/iroh_relay/dns/enum.DnsProtocol.html index 2f35f2681d..18feea7bf6 100644 --- a/pr/3734/docs/iroh_relay/dns/enum.DnsProtocol.html +++ b/pr/3734/docs/iroh_relay/dns/enum.DnsProtocol.html @@ -49,5 +49,5 @@ and should not be overridden without very good reason.TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/dns/enum.LookupError.html b/pr/3734/docs/iroh_relay/dns/enum.LookupError.html index c4da28267e..9bf2f550b9 100644 --- a/pr/3734/docs/iroh_relay/dns/enum.LookupError.html +++ b/pr/3734/docs/iroh_relay/dns/enum.LookupError.html @@ -42,5 +42,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/dns/struct.Builder.html b/pr/3734/docs/iroh_relay/dns/struct.Builder.html index 88651478c9..67baba04e6 100644 --- a/pr/3734/docs/iroh_relay/dns/struct.Builder.html +++ b/pr/3734/docs/iroh_relay/dns/struct.Builder.html @@ -41,5 +41,5 @@ to a default config which uses Google’s 8.8.8.8 or 8.8.4.4< U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/dns/struct.DnsResolver.html b/pr/3734/docs/iroh_relay/dns/struct.DnsResolver.html index 919979e1b3..28a871687d 100644 --- a/pr/3734/docs/iroh_relay/dns/struct.DnsResolver.html +++ b/pr/3734/docs/iroh_relay/dns/struct.DnsResolver.html @@ -73,9 +73,9 @@ at T+0ms, T+200ms and T+300ms. The timeout is applied as stated in summary of all errors otherwise.

    Source

    pub async fn lookup_endpoint_by_id( &self, - endpoint_id: &EndpointId, + endpoint_id: &EndpointId, origin: &str, -) -> Result<EndpointInfo, LookupError>

    Looks up endpoint info by [EndpointId] and origin domain name.

    +) -> Result<EndpointInfo, LookupError>

    Looks up endpoint info by EndpointId and origin domain name.

    To lookup endpoints that published their endpoint info to the DNS servers run by n0, pass N0_DNS_ENDPOINT_ORIGIN_PROD as origin.

    Source

    pub async fn lookup_endpoint_by_domain_name( @@ -93,10 +93,10 @@ at T+0ms, T+200ms and T+300ms. The result of the first successful call is return summary of all errors otherwise.

    Source

    pub async fn lookup_endpoint_by_id_staggered( &self, - endpoint_id: &EndpointId, + endpoint_id: &EndpointId, origin: &str, delays_ms: &[u64], -) -> Result<EndpointInfo, StaggeredError<LookupError>>

    Looks up endpoint info by [EndpointId] and origin domain name.

    +) -> Result<EndpointInfo, StaggeredError<LookupError>>

    Looks up endpoint info by EndpointId and origin domain name.

    From the moment this function is called, each lookup is scheduled after the delays in delays_ms with the first call being done immediately. [200ms, 300ms] results in calls at T+0ms, T+200ms and T+300ms. The result of the first successful call is returned, or a @@ -134,5 +134,5 @@ The return type is a future containing an iterator of SocketAddr. < U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/dns/struct.StaggeredError.html b/pr/3734/docs/iroh_relay/dns/struct.StaggeredError.html index a46e1950c5..8e79a0cb9b 100644 --- a/pr/3734/docs/iroh_relay/dns/struct.StaggeredError.html +++ b/pr/3734/docs/iroh_relay/dns/struct.StaggeredError.html @@ -37,5 +37,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/dns/struct.TxtRecordData.html b/pr/3734/docs/iroh_relay/dns/struct.TxtRecordData.html index 4974f2b244..e32d45721b 100644 --- a/pr/3734/docs/iroh_relay/dns/struct.TxtRecordData.html +++ b/pr/3734/docs/iroh_relay/dns/struct.TxtRecordData.html @@ -40,5 +40,5 @@ convert the record data into a string. This will parse each character string wit U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/endpoint_info/enum.DecodingError.html b/pr/3734/docs/iroh_relay/endpoint_info/enum.DecodingError.html index 86d2c6a6b7..2e8891302b 100644 --- a/pr/3734/docs/iroh_relay/endpoint_info/enum.DecodingError.html +++ b/pr/3734/docs/iroh_relay/endpoint_info/enum.DecodingError.html @@ -8,12 +8,12 @@ meta: Meta, }, InvalidKey { - source: KeyParsingError, + source: KeyParsingError, meta: Meta, }, }

    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.
    §

    InvalidEncodingZ32

    Fields

    §source: Z32Error
    §meta: Meta

    Captured call-site metadata

    §

    InvalidLength

    Fields

    §len: usize
    §meta: Meta

    Captured call-site metadata

    -
    §

    InvalidKey

    Fields

    §source: KeyParsingError
    §meta: Meta

    Captured call-site metadata

    +
    §

    InvalidKey

    Fields

    §meta: Meta

    Captured call-site metadata

    Trait Implementations§

    Source§

    impl Debug for DecodingError

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for DecodingError

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Error for DecodingError

    Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    Source§

    impl From<DecodingError> for AnyError

    Source§

    fn from(value: DecodingError) -> AnyError

    Converts to this type from the input type.
    Source§

    impl From<DecodingError> for ParseError

    Source§

    fn from(source: DecodingError) -> Self

    Converts to this type from the input type.
    Source§

    impl StackError for DecodingError

    Source§

    fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)

    Returns this error as a std error reference.
    Source§

    fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>

    Returns this error as a std error.
    Source§

    fn as_dyn(&self) -> &dyn StackError

    Returns this error as a dyn StackError.
    Source§

    fn fmt_message(&self, f: &mut Formatter<'_>) -> Result

    Returns the next source in the chain, if any.
    Source§

    fn meta(&self) -> Option<&Meta>

    Returns metadata captured at creation time, if available.
    Source§

    fn source(&self) -> Option<ErrorRef<'_>>

    Returns the next source in the chain, if any.
    Source§

    fn is_transparent(&self) -> bool

    Returns whether this error is transparent and should be skipped in reports.
    §

    fn as_ref(&self) -> ErrorRef<'_>

    Returns this error as an [ErrorRef]. Read more
    §

    fn stack(&self) -> Chain<'_>

    Returns an iterator over this error followed by its sources.
    §

    fn sources(&self) -> Chain<'_>

    Returns an iterator over sources of this error (skipping self).
    §

    fn report(&self) -> Report<'_>

    Returns a [Report] to output the error with configurable formatting.

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where @@ -47,5 +47,5 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/endpoint_info/enum.EncodingError.html b/pr/3734/docs/iroh_relay/endpoint_info/enum.EncodingError.html index 82989b7093..556536c81b 100644 --- a/pr/3734/docs/iroh_relay/endpoint_info/enum.EncodingError.html +++ b/pr/3734/docs/iroh_relay/endpoint_info/enum.EncodingError.html @@ -42,5 +42,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/endpoint_info/enum.ParseError.html b/pr/3734/docs/iroh_relay/endpoint_info/enum.ParseError.html index a06a25c04f..ec375b4e21 100644 --- a/pr/3734/docs/iroh_relay/endpoint_info/enum.ParseError.html +++ b/pr/3734/docs/iroh_relay/endpoint_info/enum.ParseError.html @@ -62,5 +62,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/endpoint_info/index.html b/pr/3734/docs/iroh_relay/endpoint_info/index.html index 4a43824b7c..9de61c4142 100644 --- a/pr/3734/docs/iroh_relay/endpoint_info/index.html +++ b/pr/3734/docs/iroh_relay/endpoint_info/index.html @@ -1,5 +1,5 @@ -iroh_relay::endpoint_info - Rust

    Module endpoint_info

    Module endpoint_info 

    Source
    Expand description

    Support for handling DNS resource records for dialing by [EndpointId].

    -

    Dialing by [EndpointId] is supported by iroh endpoints publishing Pkarr records to DNS +iroh_relay::endpoint_info - Rust

    Module endpoint_info

    Module endpoint_info 

    Source
    Expand description

    Support for handling DNS resource records for dialing by EndpointId.

    +

    Dialing by EndpointId is supported by iroh endpoints publishing Pkarr records to DNS servers or the Mainline DHT. This module supports creating and parsing these records.

    DNS records are published under the following names:

    _iroh.<z32-endpoint-id>.<origin-domain> TXT

    @@ -8,7 +8,7 @@ servers or the Mainline DHT. This module supports creating and parsing these re

    _iroh is the record name as defined by IROH_TXT_NAME.

  • -

    <z32-endpoint-id> is the z-base-32 encoding of the [EndpointId].

    +

    <z32-endpoint-id> is the z-base-32 encoding of the EndpointId.

  • <origin-domain> is the domain name of the publishing DNS server, @@ -23,12 +23,12 @@ servers or the Mainline DHT. This module supports creating and parsing these re in RFC1464. The following attributes are defined:

    • -

      relay=<url>: The home RelayUrl of this endpoint.

      +

      relay=<url>: The home RelayUrl of this endpoint.

    • addr=<addr> <addr>: A space-separated list of sockets addresses for this iroh endpoint. Each address is an IPv4 or IPv6 address with a port.

    -
  • Structs§

    EndpointData
    Data about an endpoint that may be published to and resolved from discovery services.
    EndpointInfo
    Information about an endpoint that may be published to and resolved from discovery services.
    MaxLengthExceededError
    Error returned when an input value is too long for UserData.
    UserData
    Under the hood this is a UTF-8 String is no longer than UserData::MAX_LENGTH bytes.

    Enums§

    DecodingError
    EncodingError
    ParseError

    Constants§

    IROH_TXT_NAME
    The DNS name for the iroh TXT record.

    Traits§

    EndpointIdExt
    Extension methods for [EndpointId] to encode to and decode from [z32], +

    Structs§

    EndpointData
    Data about an endpoint that may be published to and resolved from discovery services.
    EndpointInfo
    Information about an endpoint that may be published to and resolved from discovery services.
    MaxLengthExceededError
    Error returned when an input value is too long for UserData.
    UserData
    Under the hood this is a UTF-8 String is no longer than UserData::MAX_LENGTH bytes.

    Enums§

    DecodingError
    EncodingError
    ParseError

    Constants§

    IROH_TXT_NAME
    The DNS name for the iroh TXT record.

    Traits§

    EndpointIdExt
    Extension methods for EndpointId to encode to and decode from [z32], which is the encoding used in [pkarr] domain names.
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/endpoint_info/struct.EndpointData.html b/pr/3734/docs/iroh_relay/endpoint_info/struct.EndpointData.html index 2d50b3f754..14e56d0930 100644 --- a/pr/3734/docs/iroh_relay/endpoint_info/struct.EndpointData.html +++ b/pr/3734/docs/iroh_relay/endpoint_info/struct.EndpointData.html @@ -1,23 +1,23 @@ EndpointData in iroh_relay::endpoint_info - Rust

    EndpointData

    Struct EndpointData 

    Source
    pub struct EndpointData { /* private fields */ }
    Expand description

    Data about an endpoint that may be published to and resolved from discovery services.

    -

    This includes an optional [RelayUrl], a set of direct addresses, and the optional +

    This includes an optional RelayUrl, a set of direct addresses, and the optional UserData, a string that can be set by applications and is not parsed or used by iroh itself.

    -

    This struct does not include the endpoint’s [EndpointId], only the data about a certain -endpoint. See EndpointInfo for a struct that contains a [EndpointId] with associated EndpointData.

    -

    Implementations§

    Source§

    impl EndpointData

    Source

    pub fn new(addrs: impl IntoIterator<Item = TransportAddr>) -> Self

    Creates a new EndpointData with a relay URL and a set of direct addresses.

    -
    Source

    pub fn with_relay_url(self, relay_url: Option<RelayUrl>) -> Self

    Sets the relay URL and returns the updated endpoint data.

    +

    This struct does not include the endpoint’s EndpointId, only the data about a certain +endpoint. See EndpointInfo for a struct that contains a EndpointId with associated EndpointData.

    +

    Implementations§

    Source§

    impl EndpointData

    Source

    pub fn new(addrs: impl IntoIterator<Item = TransportAddr>) -> Self

    Creates a new EndpointData with a relay URL and a set of direct addresses.

    +
    Source

    pub fn with_relay_url(self, relay_url: Option<RelayUrl>) -> Self

    Sets the relay URL and returns the updated endpoint data.

    Source

    pub fn with_ip_addrs(self, addresses: BTreeSet<SocketAddr>) -> Self

    Sets the direct addresses and returns the updated endpoint data.

    Source

    pub fn with_user_data(self, user_data: Option<UserData>) -> Self

    Sets the user-defined data and returns the updated endpoint data.

    -
    Source

    pub fn relay_urls(&self) -> impl Iterator<Item = &RelayUrl>

    Returns the relay URL of the endpoint.

    +
    Source

    pub fn relay_urls(&self) -> impl Iterator<Item = &RelayUrl>

    Returns the relay URL of the endpoint.

    Source

    pub fn user_data(&self) -> Option<&UserData>

    Returns the optional user-defined data of the endpoint.

    Source

    pub fn ip_addrs(&self) -> impl Iterator<Item = &SocketAddr>

    Returns the direct addresses of the endpoint.

    Source

    pub fn clear_ip_addrs(&mut self)

    Removes all direct addresses from the endpoint data.

    Source

    pub fn clear_relay_urls(&mut self)

    Removes all direct addresses from the endpoint data.

    -
    Source

    pub fn add_addrs(&mut self, addrs: impl IntoIterator<Item = TransportAddr>)

    Add addresses to the endpoint data.

    +
    Source

    pub fn add_addrs(&mut self, addrs: impl IntoIterator<Item = TransportAddr>)

    Add addresses to the endpoint data.

    Source

    pub fn set_user_data(&mut self, user_data: Option<UserData>)

    Sets the user-defined data of the endpoint data.

    -
    Source

    pub fn addrs(&self) -> impl Iterator<Item = &TransportAddr>

    Returns the full list of all known addresses

    +
    Source

    pub fn addrs(&self) -> impl Iterator<Item = &TransportAddr>

    Returns the full list of all known addresses

    Source

    pub fn has_addrs(&self) -> bool

    Does this have any addresses?

    -

    Trait Implementations§

    Source§

    impl Clone for EndpointData

    Source§

    fn clone(&self) -> EndpointData

    Returns a duplicate 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 EndpointData

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for EndpointData

    Source§

    fn default() -> EndpointData

    Returns the “default value” for a type. Read more
    Source§

    impl From<EndpointAddr> for EndpointData

    Source§

    fn from(endpoint_addr: EndpointAddr) -> Self

    Converts to this type from the input type.
    Source§

    impl PartialEq for EndpointData

    Source§

    fn eq(&self, other: &EndpointData) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +

    Trait Implementations§

    Source§

    impl Clone for EndpointData

    Source§

    fn clone(&self) -> EndpointData

    Returns a duplicate 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 EndpointData

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for EndpointData

    Source§

    fn default() -> EndpointData

    Returns the “default value” for a type. Read more
    Source§

    impl From<EndpointAddr> for EndpointData

    Source§

    fn from(endpoint_addr: EndpointAddr) -> Self

    Converts to this type from the input type.
    Source§

    impl PartialEq for EndpointData

    Source§

    fn eq(&self, other: &EndpointData) -> 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 EndpointData

    Source§

    impl StructuralPartialEq for EndpointData

    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 @@ -54,5 +54,5 @@ and should not be overridden without very good reason.

    TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/endpoint_info/struct.EndpointInfo.html b/pr/3734/docs/iroh_relay/endpoint_info/struct.EndpointInfo.html index 7bdb2a8793..45881b1946 100644 --- a/pr/3734/docs/iroh_relay/endpoint_info/struct.EndpointInfo.html +++ b/pr/3734/docs/iroh_relay/endpoint_info/struct.EndpointInfo.html @@ -1,17 +1,17 @@ EndpointInfo in iroh_relay::endpoint_info - Rust

    EndpointInfo

    Struct EndpointInfo 

    Source
    pub struct EndpointInfo {
    -    pub endpoint_id: EndpointId,
    +    pub endpoint_id: EndpointId,
         pub data: EndpointData,
     }
    Expand description

    Information about an endpoint that may be published to and resolved from discovery services.

    -

    This struct couples a [EndpointId] with its associated EndpointData.

    -

    Fields§

    §endpoint_id: EndpointId

    The [EndpointId] of the endpoint this is about.

    +

    This struct couples a EndpointId with its associated EndpointData.

    +

    Fields§

    §endpoint_id: EndpointId

    The EndpointId of the endpoint this is about.

    §data: EndpointData

    The information published about the endpoint.

    -

    Implementations§

    Source§

    impl EndpointInfo

    Source

    pub fn new(endpoint_id: EndpointId) -> Self

    Creates a new EndpointInfo with an empty EndpointData.

    -
    Source

    pub fn from_parts(endpoint_id: EndpointId, data: EndpointData) -> Self

    Creates a new EndpointInfo from its parts.

    -
    Source

    pub fn with_relay_url(self, relay_url: Option<RelayUrl>) -> Self

    Sets the relay URL and returns the updated endpoint info.

    +

    Implementations§

    Source§

    impl EndpointInfo

    Source

    pub fn new(endpoint_id: EndpointId) -> Self

    Creates a new EndpointInfo with an empty EndpointData.

    +
    Source

    pub fn from_parts(endpoint_id: EndpointId, data: EndpointData) -> Self

    Creates a new EndpointInfo from its parts.

    +
    Source

    pub fn with_relay_url(self, relay_url: Option<RelayUrl>) -> Self

    Sets the relay URL and returns the updated endpoint info.

    Source

    pub fn with_ip_addrs(self, addrs: BTreeSet<SocketAddr>) -> Self

    Sets the IP based addresses and returns the updated endpoint info.

    Source

    pub fn with_user_data(self, user_data: Option<UserData>) -> Self

    Sets the user-defined data and returns the updated endpoint info.

    -
    Source

    pub fn to_endpoint_addr(&self) -> EndpointAddr

    Converts into a [EndpointAddr] by cloning the needed fields.

    -
    Source

    pub fn into_endpoint_addr(self) -> EndpointAddr

    Converts into a [EndpointAddr] without cloning.

    +
    Source

    pub fn to_endpoint_addr(&self) -> EndpointAddr

    Converts into a EndpointAddr by cloning the needed fields.

    +
    Source

    pub fn into_endpoint_addr(self) -> EndpointAddr

    Converts into a EndpointAddr without cloning.

    Source

    pub fn from_txt_lookup( domain_name: String, lookup: impl Iterator<Item = TxtRecordData>, @@ -21,21 +21,21 @@ ) -> Result<Self, ParseError>

    Parses a EndpointInfo from a [pkarr::SignedPacket].

    Source

    pub fn to_pkarr_signed_packet( &self, - secret_key: &SecretKey, + secret_key: &SecretKey, ttl: u32, ) -> Result<SignedPacket, EncodingError>

    Creates a [pkarr::SignedPacket].

    -

    This constructs a DNS packet and signs it with a [SecretKey].

    +

    This constructs a DNS packet and signs it with a SecretKey.

    Source

    pub fn to_txt_strings(&self) -> Vec<String>

    Converts into a list of {key}={value} strings.

    -

    Methods from Deref<Target = EndpointData>§

    Source

    pub fn relay_urls(&self) -> impl Iterator<Item = &RelayUrl>

    Returns the relay URL of the endpoint.

    +

    Methods from Deref<Target = EndpointData>§

    Source

    pub fn relay_urls(&self) -> impl Iterator<Item = &RelayUrl>

    Returns the relay URL of the endpoint.

    Source

    pub fn user_data(&self) -> Option<&UserData>

    Returns the optional user-defined data of the endpoint.

    Source

    pub fn ip_addrs(&self) -> impl Iterator<Item = &SocketAddr>

    Returns the direct addresses of the endpoint.

    Source

    pub fn clear_ip_addrs(&mut self)

    Removes all direct addresses from the endpoint data.

    Source

    pub fn clear_relay_urls(&mut self)

    Removes all direct addresses from the endpoint data.

    -
    Source

    pub fn add_addrs(&mut self, addrs: impl IntoIterator<Item = TransportAddr>)

    Add addresses to the endpoint data.

    +
    Source

    pub fn add_addrs(&mut self, addrs: impl IntoIterator<Item = TransportAddr>)

    Add addresses to the endpoint data.

    Source

    pub fn set_user_data(&mut self, user_data: Option<UserData>)

    Sets the user-defined data of the endpoint data.

    -
    Source

    pub fn addrs(&self) -> impl Iterator<Item = &TransportAddr>

    Returns the full list of all known addresses

    +
    Source

    pub fn addrs(&self) -> impl Iterator<Item = &TransportAddr>

    Returns the full list of all known addresses

    Source

    pub fn has_addrs(&self) -> bool

    Does this have any addresses?

    -

    Trait Implementations§

    Source§

    impl Clone for EndpointInfo

    Source§

    fn clone(&self) -> EndpointInfo

    Returns a duplicate 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 EndpointInfo

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Deref for EndpointInfo

    Source§

    type Target = EndpointData

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    Source§

    impl DerefMut for EndpointInfo

    Source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    Source§

    impl From<EndpointAddr> for EndpointInfo

    Source§

    fn from(addr: EndpointAddr) -> Self

    Converts to this type from the input type.
    Source§

    impl From<EndpointInfo> for EndpointAddr

    Source§

    fn from(value: EndpointInfo) -> Self

    Converts to this type from the input type.
    Source§

    impl PartialEq for EndpointInfo

    Source§

    fn eq(&self, other: &EndpointInfo) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +

    Trait Implementations§

    Source§

    impl Clone for EndpointInfo

    Source§

    fn clone(&self) -> EndpointInfo

    Returns a duplicate 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 EndpointInfo

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Deref for EndpointInfo

    Source§

    type Target = EndpointData

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    Source§

    impl DerefMut for EndpointInfo

    Source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    Source§

    impl From<EndpointAddr> for EndpointInfo

    Source§

    fn from(addr: EndpointAddr) -> Self

    Converts to this type from the input type.
    Source§

    impl From<EndpointInfo> for EndpointAddr

    Source§

    fn from(value: EndpointInfo) -> Self

    Converts to this type from the input type.
    Source§

    impl PartialEq for EndpointInfo

    Source§

    fn eq(&self, other: &EndpointInfo) -> 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 EndpointInfo

    Source§

    impl StructuralPartialEq for EndpointInfo

    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 @@ -74,5 +74,5 @@ and should not be overridden without very good reason.

    TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/endpoint_info/struct.MaxLengthExceededError.html b/pr/3734/docs/iroh_relay/endpoint_info/struct.MaxLengthExceededError.html index ccead6528b..543cb38675 100644 --- a/pr/3734/docs/iroh_relay/endpoint_info/struct.MaxLengthExceededError.html +++ b/pr/3734/docs/iroh_relay/endpoint_info/struct.MaxLengthExceededError.html @@ -33,5 +33,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/endpoint_info/struct.UserData.html b/pr/3734/docs/iroh_relay/endpoint_info/struct.UserData.html index 4098e27ae8..735ce67eea 100644 --- a/pr/3734/docs/iroh_relay/endpoint_info/struct.UserData.html +++ b/pr/3734/docs/iroh_relay/endpoint_info/struct.UserData.html @@ -56,5 +56,5 @@ the >= operator. TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/endpoint_info/trait.EndpointIdExt.html b/pr/3734/docs/iroh_relay/endpoint_info/trait.EndpointIdExt.html index 2cfafe8d14..103efb1882 100644 --- a/pr/3734/docs/iroh_relay/endpoint_info/trait.EndpointIdExt.html +++ b/pr/3734/docs/iroh_relay/endpoint_info/trait.EndpointIdExt.html @@ -1,9 +1,9 @@ EndpointIdExt in iroh_relay::endpoint_info - Rust

    EndpointIdExt

    Trait EndpointIdExt 

    Source
    pub trait EndpointIdExt {
         // Required methods
         fn to_z32(&self) -> String;
    -    fn from_z32(s: &str) -> Result<EndpointId, DecodingError>;
    -}
    Expand description

    Extension methods for [EndpointId] to encode to and decode from [z32], + fn from_z32(s: &str) -> Result<EndpointId, DecodingError>; +}

    Expand description

    Extension methods for EndpointId to encode to and decode from [z32], which is the encoding used in [pkarr] domain names.

    -

    Required Methods§

    Source

    fn to_z32(&self) -> String

    Encodes a [EndpointId] in z-base-32 encoding.

    -
    Source

    fn from_z32(s: &str) -> Result<EndpointId, DecodingError>

    Parses a [EndpointId] from z-base-32 encoding.

    -

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementations on Foreign Types§

    Source§

    impl EndpointIdExt for EndpointId

    Source§

    fn to_z32(&self) -> String

    Source§

    fn from_z32(s: &str) -> Result<EndpointId, DecodingError>

    Implementors§

    \ No newline at end of file +

    Required Methods§

    Source

    fn to_z32(&self) -> String

    Encodes a EndpointId in z-base-32 encoding.

    +
    Source

    fn from_z32(s: &str) -> Result<EndpointId, DecodingError>

    Parses a EndpointId from z-base-32 encoding.

    +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementations on Foreign Types§

    Source§

    impl EndpointIdExt for EndpointId

    Implementors§

    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/index.html b/pr/3734/docs/iroh_relay/index.html index 9fd890b801..d16544ab4a 100644 --- a/pr/3734/docs/iroh_relay/index.html +++ b/pr/3734/docs/iroh_relay/index.html @@ -25,6 +25,6 @@ Tailscale.

    QAD support and expose metrics.

    -

    Re-exports§

    pub use protos::relay::MAX_PACKET_SIZE;

    Modules§

    client
    Exposes Client, which allows to establish connections to a relay server.
    defaults
    Default values used in the relay.
    dnsNon-wasm_browser
    DNS resolver
    endpoint_info
    Support for handling DNS resource records for dialing by [EndpointId].
    http
    HTTP-specific constants for the relay server and client.
    protos
    Protocols used by the iroh-relay
    quic
    Create a QUIC server that accepts connections +

    Re-exports§

    pub use protos::relay::MAX_PACKET_SIZE;

    Modules§

    client
    Exposes Client, which allows to establish connections to a relay server.
    defaults
    Default values used in the relay.
    dnsNon-wasm_browser
    DNS resolver
    endpoint_info
    Support for handling DNS resource records for dialing by EndpointId.
    http
    HTTP-specific constants for the relay server and client.
    protos
    Protocols used by the iroh-relay
    quic
    Create a QUIC server that accepts connections for QUIC address discovery.
    serverserver
    A fully-fledged iroh-relay server over HTTP or HTTPS.

    Structs§

    PingTracker
    Tracks pings on a single relay connection.
    RelayConfig
    Information on a specific relay server.
    RelayMap
    List of relay server configurations to be used in an iroh endpoint.
    RelayQuicConfig
    Configuration for speaking to the QUIC endpoint on the relay server to do QUIC address discovery.
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/protos/common/enum.FrameType.html b/pr/3734/docs/iroh_relay/protos/common/enum.FrameType.html index 3f4738e902..b63a8d3466 100644 --- a/pr/3734/docs/iroh_relay/protos/common/enum.FrameType.html +++ b/pr/3734/docs/iroh_relay/protos/common/enum.FrameType.html @@ -72,5 +72,5 @@ and should not be overridden without very good reason.TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/protos/common/enum.FrameTypeError.html b/pr/3734/docs/iroh_relay/protos/common/enum.FrameTypeError.html index b3cfaf1155..d490f86bd8 100644 --- a/pr/3734/docs/iroh_relay/protos/common/enum.FrameTypeError.html +++ b/pr/3734/docs/iroh_relay/protos/common/enum.FrameTypeError.html @@ -42,5 +42,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/protos/disco/constant.MAGIC.html b/pr/3734/docs/iroh_relay/protos/disco/constant.MAGIC.html deleted file mode 100644 index 4e0eba2ca1..0000000000 --- a/pr/3734/docs/iroh_relay/protos/disco/constant.MAGIC.html +++ /dev/null @@ -1,2 +0,0 @@ -MAGIC in iroh_relay::protos::disco - Rust

    MAGIC

    Constant MAGIC 

    Source
    pub const MAGIC: &str = "TS💬";
    Expand description

    The 6 byte header of all discovery messages.

    -
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/protos/disco/fn.looks_like_disco_wrapper.html b/pr/3734/docs/iroh_relay/protos/disco/fn.looks_like_disco_wrapper.html deleted file mode 100644 index 41b1dd11af..0000000000 --- a/pr/3734/docs/iroh_relay/protos/disco/fn.looks_like_disco_wrapper.html +++ /dev/null @@ -1,2 +0,0 @@ -looks_like_disco_wrapper in iroh_relay::protos::disco - Rust

    looks_like_disco_wrapper

    Function looks_like_disco_wrapper 

    Source
    pub fn looks_like_disco_wrapper(p: &[u8]) -> bool
    Expand description

    Reports whether p looks like it’s a packet containing an encrypted disco message.

    -
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/protos/disco/index.html b/pr/3734/docs/iroh_relay/protos/disco/index.html deleted file mode 100644 index 90b72c6466..0000000000 --- a/pr/3734/docs/iroh_relay/protos/disco/index.html +++ /dev/null @@ -1,5 +0,0 @@ -iroh_relay::protos::disco - Rust

    Module disco

    Module disco 

    Source
    Expand description

    This module exports looks_like_disco_wrapper as the only disco-related relay -functionality.

    -

    Despite the relay not being able to read disco messages by design, it does attempt to -identify this traffic to ensure hole-punching messages are not lost do to congestion.

    -

    Constants§

    MAGIC
    The 6 byte header of all discovery messages.

    Functions§

    looks_like_disco_wrapper
    Reports whether p looks like it’s a packet containing an encrypted disco message.
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/protos/disco/sidebar-items.js b/pr/3734/docs/iroh_relay/protos/disco/sidebar-items.js deleted file mode 100644 index 76f050d88e..0000000000 --- a/pr/3734/docs/iroh_relay/protos/disco/sidebar-items.js +++ /dev/null @@ -1 +0,0 @@ -window.SIDEBAR_ITEMS = {"constant":["MAGIC"],"fn":["looks_like_disco_wrapper"]}; \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/protos/handshake/enum.Error.html b/pr/3734/docs/iroh_relay/protos/handshake/enum.Error.html index 903097b9d6..f044cc5fab 100644 --- a/pr/3734/docs/iroh_relay/protos/handshake/enum.Error.html +++ b/pr/3734/docs/iroh_relay/protos/handshake/enum.Error.html @@ -69,5 +69,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/protos/index.html b/pr/3734/docs/iroh_relay/protos/index.html index e247fdada2..d5af80aedd 100644 --- a/pr/3734/docs/iroh_relay/protos/index.html +++ b/pr/3734/docs/iroh_relay/protos/index.html @@ -1,4 +1,3 @@ -iroh_relay::protos - Rust

    Module protos

    Module protos 

    Source
    Expand description

    Protocols used by the iroh-relay

    -

    Modules§

    common
    Common types between the super::handshake and super::relay protocols.
    disco
    This module exports looks_like_disco_wrapper as the only disco-related relay -functionality.
    handshake
    Implements the handshake protocol that authenticates and authorizes clients connecting to the relays.
    relay
    This module implements the send/recv relaying protocol.
    streams
    Implements logic for abstracting over a websocket stream that allows sending only [Bytes]-based +iroh_relay::protos - Rust

    Module protos

    Module protos 

    Source
    Expand description

    Protocols used by the iroh-relay

    +

    Modules§

    common
    Common types between the super::handshake and super::relay protocols.
    handshake
    Implements the handshake protocol that authenticates and authorizes clients connecting to the relays.
    relay
    This module implements the send/recv relaying protocol.
    streams
    Implements logic for abstracting over a websocket stream that allows sending only [Bytes]-based messages.
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/protos/relay/enum.ClientToRelayMsg.html b/pr/3734/docs/iroh_relay/protos/relay/enum.ClientToRelayMsg.html index c1f432fee0..00e0233652 100644 --- a/pr/3734/docs/iroh_relay/protos/relay/enum.ClientToRelayMsg.html +++ b/pr/3734/docs/iroh_relay/protos/relay/enum.ClientToRelayMsg.html @@ -2,7 +2,7 @@ Ping([u8; 8]), Pong([u8; 8]), Datagrams { - dst_endpoint_id: EndpointId, + dst_endpoint_id: EndpointId, datagrams: Datagrams, }, }
    Expand description

    Messages that clients send to relays.

    @@ -11,7 +11,7 @@ other side with a §

    Pong([u8; 8])

    Reply to a RelayToClientMsg::Ping from a server with the payload sent previously in the ping.

    §

    Datagrams

    Request from the client to relay datagrams to given remote endpoint.

    -

    Fields

    §dst_endpoint_id: EndpointId

    The remote endpoint to relay to.

    +

    Fields

    §dst_endpoint_id: EndpointId

    The remote endpoint to relay to.

    §datagrams: Datagrams

    The datagrams and related metadata to relay.

    Trait Implementations§

    Source§

    impl Clone for ClientToRelayMsg

    Source§

    fn clone(&self) -> ClientToRelayMsg

    Returns a duplicate 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 ClientToRelayMsg

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl PartialEq for ClientToRelayMsg

    Source§

    fn eq(&self, other: &ClientToRelayMsg) -> 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 Sink<ClientToRelayMsg> for Client

    Source§

    type Error = SendError

    The type of value produced by the sink when an error occurs.
    Source§

    fn poll_ready( @@ -78,5 +78,5 @@ Each call to this function must be preceded by a successful call to U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/protos/relay/enum.Error.html b/pr/3734/docs/iroh_relay/protos/relay/enum.Error.html index 9412db9658..9473ded461 100644 --- a/pr/3734/docs/iroh_relay/protos/relay/enum.Error.html +++ b/pr/3734/docs/iroh_relay/protos/relay/enum.Error.html @@ -17,7 +17,7 @@ meta: Meta, }, InvalidPublicKey { - source: KeyParsingError, + source: KeyParsingError, meta: Meta, }, InvalidFrame { @@ -39,12 +39,12 @@
    §

    FrameTooLarge

    Fields

    §frame_len: usize
    §meta: Meta

    Captured call-site metadata

    §

    SerDe

    Fields

    §source: Error
    §meta: Meta

    Captured call-site metadata

    §

    FrameTypeError

    Fields

    §meta: Meta

    Captured call-site metadata

    -
    §

    InvalidPublicKey

    Fields

    §source: KeyParsingError
    §meta: Meta

    Captured call-site metadata

    +
    §

    InvalidPublicKey

    Fields

    §meta: Meta

    Captured call-site metadata

    §

    InvalidFrame

    Fields

    §meta: Meta

    Captured call-site metadata

    §

    InvalidFrameType

    Fields

    §frame_type: FrameType
    §meta: Meta

    Captured call-site metadata

    §

    InvalidProtocolMessageEncoding

    Fields

    §source: Utf8Error
    §meta: Meta

    Captured call-site metadata

    §

    TooSmall

    Fields

    §meta: Meta

    Captured call-site metadata

    -

    Trait Implementations§

    Source§

    impl Debug for Error

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for Error

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Error for Error

    Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    Source§

    impl From<Error> for AnyError

    Source§

    fn from(value: Error) -> AnyError

    Converts to this type from the input type.
    Source§

    impl From<Error> for Error

    Source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.
    Source§

    impl From<Error> for RecvError

    Source§

    fn from(source: ProtoError) -> Self

    Converts to this type from the input type.
    Source§

    impl From<FrameTypeError> for Error

    Source§

    fn from(source: FrameTypeError) -> Self

    Converts to this type from the input type.
    Source§

    impl From<KeyParsingError> for Error

    Source§

    fn from(source: KeyParsingError) -> Self

    Converts to this type from the input type.
    Source§

    impl From<Utf8Error> for Error

    Source§

    fn from(source: Utf8Error) -> Self

    Converts to this type from the input type.
    Source§

    impl StackError for Error

    Source§

    fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)

    Returns this error as a std error reference.
    Source§

    fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>

    Returns this error as a std error.
    Source§

    fn as_dyn(&self) -> &dyn StackError

    Returns this error as a dyn StackError.
    Source§

    fn fmt_message(&self, f: &mut Formatter<'_>) -> Result

    Returns the next source in the chain, if any.
    Source§

    fn meta(&self) -> Option<&Meta>

    Returns metadata captured at creation time, if available.
    Source§

    fn source(&self) -> Option<ErrorRef<'_>>

    Returns the next source in the chain, if any.
    Source§

    fn is_transparent(&self) -> bool

    Returns whether this error is transparent and should be skipped in reports.
    §

    fn as_ref(&self) -> ErrorRef<'_>

    Returns this error as an [ErrorRef]. Read more
    §

    fn stack(&self) -> Chain<'_>

    Returns an iterator over this error followed by its sources.
    §

    fn sources(&self) -> Chain<'_>

    Returns an iterator over sources of this error (skipping self).
    §

    fn report(&self) -> Report<'_>

    Returns a [Report] to output the error with configurable formatting.

    Auto Trait Implementations§

    §

    impl Freeze for Error

    §

    impl !RefUnwindSafe for Error

    §

    impl Send for Error

    §

    impl Sync for Error

    §

    impl Unpin for Error

    §

    impl !UnwindSafe for Error

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl Debug for Error

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for Error

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Error for Error

    Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    Source§

    impl From<Error> for AnyError

    Source§

    fn from(value: Error) -> AnyError

    Converts to this type from the input type.
    Source§

    impl From<Error> for Error

    Source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.
    Source§

    impl From<Error> for RecvError

    Source§

    fn from(source: ProtoError) -> Self

    Converts to this type from the input type.
    Source§

    impl From<FrameTypeError> for Error

    Source§

    fn from(source: FrameTypeError) -> Self

    Converts to this type from the input type.
    Source§

    impl From<KeyParsingError> for Error

    Source§

    fn from(source: KeyParsingError) -> Self

    Converts to this type from the input type.
    Source§

    impl From<Utf8Error> for Error

    Source§

    fn from(source: Utf8Error) -> Self

    Converts to this type from the input type.
    Source§

    impl StackError for Error

    Source§

    fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)

    Returns this error as a std error reference.
    Source§

    fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>

    Returns this error as a std error.
    Source§

    fn as_dyn(&self) -> &dyn StackError

    Returns this error as a dyn StackError.
    Source§

    fn fmt_message(&self, f: &mut Formatter<'_>) -> Result

    Returns the next source in the chain, if any.
    Source§

    fn meta(&self) -> Option<&Meta>

    Returns metadata captured at creation time, if available.
    Source§

    fn source(&self) -> Option<ErrorRef<'_>>

    Returns the next source in the chain, if any.
    Source§

    fn is_transparent(&self) -> bool

    Returns whether this error is transparent and should be skipped in reports.
    §

    fn as_ref(&self) -> ErrorRef<'_>

    Returns this error as an [ErrorRef]. Read more
    §

    fn stack(&self) -> Chain<'_>

    Returns an iterator over this error followed by its sources.
    §

    fn sources(&self) -> Chain<'_>

    Returns an iterator over sources of this error (skipping self).
    §

    fn report(&self) -> Report<'_>

    Returns a [Report] to output the error with configurable formatting.

    Auto Trait Implementations§

    §

    impl Freeze for Error

    §

    impl !RefUnwindSafe for Error

    §

    impl Send for Error

    §

    impl Sync for Error

    §

    impl Unpin for Error

    §

    impl !UnwindSafe for Error

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -77,5 +77,5 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/protos/relay/enum.RelayToClientMsg.html b/pr/3734/docs/iroh_relay/protos/relay/enum.RelayToClientMsg.html index d3ffa9e17e..dcd6337d55 100644 --- a/pr/3734/docs/iroh_relay/protos/relay/enum.RelayToClientMsg.html +++ b/pr/3734/docs/iroh_relay/protos/relay/enum.RelayToClientMsg.html @@ -1,9 +1,9 @@ RelayToClientMsg in iroh_relay::protos::relay - Rust

    RelayToClientMsg

    Enum RelayToClientMsg 

    Source
    pub enum RelayToClientMsg {
         Datagrams {
    -        remote_endpoint_id: EndpointId,
    +        remote_endpoint_id: EndpointId,
             datagrams: Datagrams,
         },
    -    EndpointGone(EndpointId),
    +    EndpointGone(EndpointId),
         Health {
             problem: String,
         },
    @@ -15,9 +15,9 @@
         Pong([u8; 8]),
     }
    Expand description

    The messages that a relay sends to clients or the clients receive from the relay.

    Variants§

    §

    Datagrams

    Represents datagrams sent from relays (originally sent to them by another client).

    -

    Fields

    §remote_endpoint_id: EndpointId

    The [EndpointId] of the original sender.

    +

    Fields

    §remote_endpoint_id: EndpointId

    The EndpointId of the original sender.

    §datagrams: Datagrams

    The datagrams and related metadata.

    -
    §

    EndpointGone(EndpointId)

    Indicates that the client identified by the underlying public key had previously sent you a +

    §

    EndpointGone(EndpointId)

    Indicates that the client identified by the underlying public key had previously sent you a packet but has now disconnected from the relay.

    §

    Health

    A one-way message from relay to client, declaring the connection health state.

    Fields

    §problem: String

    If set, is a description of why the connection is unhealthy.

    @@ -73,5 +73,5 @@ and should not be overridden without very good reason.
    TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/protos/relay/struct.Datagrams.html b/pr/3734/docs/iroh_relay/protos/relay/struct.Datagrams.html index c028b169ab..5f539a870d 100644 --- a/pr/3734/docs/iroh_relay/protos/relay/struct.Datagrams.html +++ b/pr/3734/docs/iroh_relay/protos/relay/struct.Datagrams.html @@ -55,5 +55,5 @@ and should not be overridden without very good reason.TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/protos/sidebar-items.js b/pr/3734/docs/iroh_relay/protos/sidebar-items.js index 92cb22588a..006c9200e0 100644 --- a/pr/3734/docs/iroh_relay/protos/sidebar-items.js +++ b/pr/3734/docs/iroh_relay/protos/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"mod":["common","disco","handshake","relay","streams"]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"mod":["common","handshake","relay","streams"]}; \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/quic/enum.Error.html b/pr/3734/docs/iroh_relay/quic/enum.Error.html index 8c5b3f7852..c691abcd3e 100644 --- a/pr/3734/docs/iroh_relay/quic/enum.Error.html +++ b/pr/3734/docs/iroh_relay/quic/enum.Error.html @@ -48,5 +48,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/quic/index.html b/pr/3734/docs/iroh_relay/quic/index.html index 728ccaa6af..7765f6573a 100644 --- a/pr/3734/docs/iroh_relay/quic/index.html +++ b/pr/3734/docs/iroh_relay/quic/index.html @@ -1,3 +1,3 @@ -iroh_relay::quic - Rust

    Module quic

    Module quic 

    Source
    Expand description

    Create a QUIC server that accepts connections +iroh_relay::quic - Rust

    Module quic

    Module quic 

    Source
    Expand description

    Create a QUIC server that accepts connections for QUIC address discovery.

    Structs§

    QuicClient
    Handles the client side of QUIC address discovery.

    Enums§

    Error
    Quic client related errors.

    Constants§

    ALPN_QUIC_ADDR_DISC
    ALPN for our quic addr discovery
    QUIC_ADDR_DISC_CLOSE_CODE
    Endpoint close error code
    QUIC_ADDR_DISC_CLOSE_REASON
    Endpoint close reason
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/quic/struct.QuicClient.html b/pr/3734/docs/iroh_relay/quic/struct.QuicClient.html index 19d7e4353f..f43a61f0a7 100644 --- a/pr/3734/docs/iroh_relay/quic/struct.QuicClient.html +++ b/pr/3734/docs/iroh_relay/quic/struct.QuicClient.html @@ -1,7 +1,7 @@ QuicClient in iroh_relay::quic - Rust

    QuicClient

    Struct QuicClient 

    Source
    pub struct QuicClient { /* private fields */ }
    Expand description

    Handles the client side of QUIC address discovery.

    -

    Implementations§

    Source§

    impl QuicClient

    Source

    pub fn new(ep: Endpoint, client_config: ClientConfig) -> Self

    Create a new QuicClient to handle the client side of QUIC +

    Implementations§

    Source§

    impl QuicClient

    Source

    pub fn new(ep: Endpoint, client_config: ClientConfig) -> Self

    Create a new QuicClient to handle the client side of QUIC address discovery.

    -
    Source

    pub async fn create_conn( +

    Source

    pub async fn create_conn( &self, server_addr: SocketAddr, host: &str, @@ -38,5 +38,5 @@ address discovery.

    U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/server/enum.Access.html b/pr/3734/docs/iroh_relay/server/enum.Access.html index 6c03837134..2f12442255 100644 --- a/pr/3734/docs/iroh_relay/server/enum.Access.html +++ b/pr/3734/docs/iroh_relay/server/enum.Access.html @@ -1,11 +1,11 @@ -Access in iroh_relay::server - Rust

    Access

    Enum Access 

    Source
    pub enum Access {
    +Access in iroh_relay::server - Rust

    Access

    Enum Access 

    Source
    pub enum Access {
         Allow,
         Deny,
     }
    Available on crate feature server only.
    Expand description

    Access restriction for an endpoint.

    Variants§

    §

    Allow

    Access is allowed.

    §

    Deny

    Access is denied.

    -

    Trait Implementations§

    Source§

    impl Clone for Access

    Source§

    fn clone(&self) -> Access

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Access

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl PartialEq for Access

    Source§

    fn eq(&self, other: &Access) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl Copy for Access

    Source§

    impl Eq for Access

    Source§

    impl StructuralPartialEq for Access

    Auto Trait Implementations§

    §

    impl Freeze for Access

    §

    impl RefUnwindSafe for Access

    §

    impl Send for Access

    §

    impl Sync for Access

    §

    impl Unpin for Access

    §

    impl UnwindSafe for Access

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl Clone for Access

    Source§

    fn clone(&self) -> Access

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Access

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl PartialEq for Access

    Source§

    fn eq(&self, other: &Access) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Copy for Access

    Source§

    impl Eq for Access

    Source§

    impl StructuralPartialEq for Access

    Auto Trait Implementations§

    §

    impl Freeze for Access

    §

    impl RefUnwindSafe for Access

    §

    impl Send for Access

    §

    impl Sync for Access

    §

    impl Unpin for Access

    §

    impl UnwindSafe for Access

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -41,5 +41,5 @@ and should not be overridden without very good reason.

    TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/server/enum.AccessConfig.html b/pr/3734/docs/iroh_relay/server/enum.AccessConfig.html index 0c86262eed..3dae2f176d 100644 --- a/pr/3734/docs/iroh_relay/server/enum.AccessConfig.html +++ b/pr/3734/docs/iroh_relay/server/enum.AccessConfig.html @@ -1,11 +1,11 @@ -AccessConfig in iroh_relay::server - Rust

    AccessConfig

    Enum AccessConfig 

    Source
    pub enum AccessConfig {
    +AccessConfig in iroh_relay::server - Rust

    AccessConfig

    Enum AccessConfig 

    Source
    pub enum AccessConfig {
         Everyone,
    -    Restricted(Box<dyn Fn(EndpointId) -> Boxed<Access> + Send + Sync + 'static>),
    +    Restricted(Box<dyn Fn(EndpointId) -> Boxed<Access> + Send + Sync + 'static>),
     }
    Available on crate feature server only.
    Expand description

    Controls which endpoints are allowed to use the relay.

    Variants§

    §

    Everyone

    Everyone

    -
    §

    Restricted(Box<dyn Fn(EndpointId) -> Boxed<Access> + Send + Sync + 'static>)

    Only endpoints for which the function returns Access::Allow.

    -

    Implementations§

    Source§

    impl AccessConfig

    Source

    pub async fn is_allowed(&self, endpoint: EndpointId) -> bool

    Is this endpoint allowed?

    -

    Trait Implementations§

    Source§

    impl Debug for AccessConfig

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +
    §

    Restricted(Box<dyn Fn(EndpointId) -> Boxed<Access> + Send + Sync + 'static>)

    Only endpoints for which the function returns Access::Allow.

    +

    Implementations§

    Source§

    impl AccessConfig

    Source

    pub async fn is_allowed(&self, endpoint: EndpointId) -> bool

    Is this endpoint allowed?

    +

    Trait Implementations§

    Source§

    impl Debug for AccessConfig

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -34,5 +34,5 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/server/enum.CertConfig.html b/pr/3734/docs/iroh_relay/server/enum.CertConfig.html index 44b2e7f1e6..6f77fa3367 100644 --- a/pr/3734/docs/iroh_relay/server/enum.CertConfig.html +++ b/pr/3734/docs/iroh_relay/server/enum.CertConfig.html @@ -1,4 +1,4 @@ -CertConfig in iroh_relay::server - Rust

    CertConfig

    Enum CertConfig 

    Source
    pub enum CertConfig<EC: Debug, EA: Debug = EC> {
    +CertConfig in iroh_relay::server - Rust

    CertConfig

    Enum CertConfig 

    Source
    pub enum CertConfig<EC: Debug, EA: Debug = EC> {
         LetsEncrypt {
             state: AcmeState<EC, EA>,
         },
    @@ -12,7 +12,7 @@
     
    §

    Manual

    Use a static TLS key and certificate chain.

    Fields

    §certs: Vec<CertificateDer<'static>>

    The TLS certificate chain.

    §

    Reloading

    Use a TLS key and certificate chain that can be reloaded.

    -

    Trait Implementations§

    Source§

    impl<EC: Debug, EA: Debug> Debug for CertConfig<EC, EA>

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<EC, EA> Freeze for CertConfig<EC, EA>

    §

    impl<EC, EA = EC> !RefUnwindSafe for CertConfig<EC, EA>

    §

    impl<EC, EA> Send for CertConfig<EC, EA>

    §

    impl<EC, EA = EC> !Sync for CertConfig<EC, EA>

    §

    impl<EC, EA> Unpin for CertConfig<EC, EA>

    §

    impl<EC, EA = EC> !UnwindSafe for CertConfig<EC, EA>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl<EC: Debug, EA: Debug> Debug for CertConfig<EC, EA>

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<EC, EA> Freeze for CertConfig<EC, EA>

    §

    impl<EC, EA = EC> !RefUnwindSafe for CertConfig<EC, EA>

    §

    impl<EC, EA> Send for CertConfig<EC, EA>

    §

    impl<EC, EA = EC> !Sync for CertConfig<EC, EA>

    §

    impl<EC, EA> Unpin for CertConfig<EC, EA>

    §

    impl<EC, EA = EC> !UnwindSafe for CertConfig<EC, EA>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -41,5 +41,5 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/server/enum.SpawnError.html b/pr/3734/docs/iroh_relay/server/enum.SpawnError.html index d2a2d8ab50..d994a45fdc 100644 --- a/pr/3734/docs/iroh_relay/server/enum.SpawnError.html +++ b/pr/3734/docs/iroh_relay/server/enum.SpawnError.html @@ -1,4 +1,4 @@ -SpawnError in iroh_relay::server - Rust

    SpawnError

    Enum SpawnError 

    Source
    #[non_exhaustive]
    pub enum SpawnError { +SpawnError in iroh_relay::server - Rust

    SpawnError

    Enum SpawnError 

    Source
    #[non_exhaustive]
    pub enum SpawnError { LocalAddr { source: Error, meta: Meta, @@ -31,7 +31,7 @@
    §

    BindTlsListener

    Fields

    §source: Error
    §meta: Meta

    Captured call-site metadata

    §

    NoLocalAddr

    Fields

    §source: Error
    §meta: Meta

    Captured call-site metadata

    §

    BindTcpListener

    Fields

    §source: Error
    §meta: Meta

    Captured call-site metadata

    -

    Trait Implementations§

    Source§

    impl Debug for SpawnError

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for SpawnError

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Error for SpawnError

    Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    Source§

    impl From<SpawnError> for AnyError

    Source§

    fn from(value: SpawnError) -> AnyError

    Converts to this type from the input type.
    Source§

    impl StackError for SpawnError

    Source§

    fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)

    Returns this error as a std error reference.
    Source§

    fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>

    Returns this error as a std error.
    Source§

    fn as_dyn(&self) -> &dyn StackError

    Returns this error as a dyn StackError.
    Source§

    fn fmt_message(&self, f: &mut Formatter<'_>) -> Result

    Returns the next source in the chain, if any.
    Source§

    fn meta(&self) -> Option<&Meta>

    Returns metadata captured at creation time, if available.
    Source§

    fn source(&self) -> Option<ErrorRef<'_>>

    Returns the next source in the chain, if any.
    Source§

    fn is_transparent(&self) -> bool

    Returns whether this error is transparent and should be skipped in reports.
    §

    fn as_ref(&self) -> ErrorRef<'_>

    Returns this error as an [ErrorRef]. Read more
    §

    fn stack(&self) -> Chain<'_>

    Returns an iterator over this error followed by its sources.
    §

    fn sources(&self) -> Chain<'_>

    Returns an iterator over sources of this error (skipping self).
    §

    fn report(&self) -> Report<'_>

    Returns a [Report] to output the error with configurable formatting.

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl Debug for SpawnError

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for SpawnError

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Error for SpawnError

    Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    Source§

    impl From<SpawnError> for AnyError

    Source§

    fn from(value: SpawnError) -> AnyError

    Converts to this type from the input type.
    Source§

    impl StackError for SpawnError

    Source§

    fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)

    Returns this error as a std error reference.
    Source§

    fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>

    Returns this error as a std error.
    Source§

    fn as_dyn(&self) -> &dyn StackError

    Returns this error as a dyn StackError.
    Source§

    fn fmt_message(&self, f: &mut Formatter<'_>) -> Result

    Returns the next source in the chain, if any.
    Source§

    fn meta(&self) -> Option<&Meta>

    Returns metadata captured at creation time, if available.
    Source§

    fn source(&self) -> Option<ErrorRef<'_>>

    Returns the next source in the chain, if any.
    Source§

    fn is_transparent(&self) -> bool

    Returns whether this error is transparent and should be skipped in reports.
    §

    fn as_ref(&self) -> ErrorRef<'_>

    Returns this error as an [ErrorRef]. Read more
    §

    fn stack(&self) -> Chain<'_>

    Returns an iterator over this error followed by its sources.
    §

    fn sources(&self) -> Chain<'_>

    Returns an iterator over sources of this error (skipping self).
    §

    fn report(&self) -> Report<'_>

    Returns a [Report] to output the error with configurable formatting.

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -64,5 +64,5 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/server/enum.SupervisorError.html b/pr/3734/docs/iroh_relay/server/enum.SupervisorError.html index 8dd147dafe..f5cf6fcf8f 100644 --- a/pr/3734/docs/iroh_relay/server/enum.SupervisorError.html +++ b/pr/3734/docs/iroh_relay/server/enum.SupervisorError.html @@ -1,4 +1,4 @@ -SupervisorError in iroh_relay::server - Rust

    SupervisorError

    Enum SupervisorError 

    Source
    #[non_exhaustive]
    pub enum SupervisorError { +SupervisorError in iroh_relay::server - Rust

    SupervisorError

    Enum SupervisorError 

    Source
    #[non_exhaustive]
    pub enum SupervisorError { Metrics { source: Error, meta: Meta, @@ -22,7 +22,7 @@
    §

    JoinError

    Fields

    §source: JoinError
    §meta: Meta

    Captured call-site metadata

    §

    NoRelayServicesEnabled

    Fields

    §meta: Meta

    Captured call-site metadata

    §

    TaskCancelled

    Fields

    §meta: Meta

    Captured call-site metadata

    -

    Trait Implementations§

    Source§

    impl Debug for SupervisorError

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for SupervisorError

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Error for SupervisorError

    Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    Source§

    impl From<JoinError> for SupervisorError

    Source§

    fn from(source: JoinError) -> Self

    Converts to this type from the input type.
    Source§

    impl From<SupervisorError> for AnyError

    Source§

    fn from(value: SupervisorError) -> AnyError

    Converts to this type from the input type.
    Source§

    impl StackError for SupervisorError

    Source§

    fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)

    Returns this error as a std error reference.
    Source§

    fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>

    Returns this error as a std error.
    Source§

    fn as_dyn(&self) -> &dyn StackError

    Returns this error as a dyn StackError.
    Source§

    fn fmt_message(&self, f: &mut Formatter<'_>) -> Result

    Returns the next source in the chain, if any.
    Source§

    fn meta(&self) -> Option<&Meta>

    Returns metadata captured at creation time, if available.
    Source§

    fn source(&self) -> Option<ErrorRef<'_>>

    Returns the next source in the chain, if any.
    Source§

    fn is_transparent(&self) -> bool

    Returns whether this error is transparent and should be skipped in reports.
    §

    fn as_ref(&self) -> ErrorRef<'_>

    Returns this error as an [ErrorRef]. Read more
    §

    fn stack(&self) -> Chain<'_>

    Returns an iterator over this error followed by its sources.
    §

    fn sources(&self) -> Chain<'_>

    Returns an iterator over sources of this error (skipping self).
    §

    fn report(&self) -> Report<'_>

    Returns a [Report] to output the error with configurable formatting.

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl Debug for SupervisorError

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for SupervisorError

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Error for SupervisorError

    Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    Source§

    impl From<JoinError> for SupervisorError

    Source§

    fn from(source: JoinError) -> Self

    Converts to this type from the input type.
    Source§

    impl From<SupervisorError> for AnyError

    Source§

    fn from(value: SupervisorError) -> AnyError

    Converts to this type from the input type.
    Source§

    impl StackError for SupervisorError

    Source§

    fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)

    Returns this error as a std error reference.
    Source§

    fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>

    Returns this error as a std error.
    Source§

    fn as_dyn(&self) -> &dyn StackError

    Returns this error as a dyn StackError.
    Source§

    fn fmt_message(&self, f: &mut Formatter<'_>) -> Result

    Returns the next source in the chain, if any.
    Source§

    fn meta(&self) -> Option<&Meta>

    Returns metadata captured at creation time, if available.
    Source§

    fn source(&self) -> Option<ErrorRef<'_>>

    Returns the next source in the chain, if any.
    Source§

    fn is_transparent(&self) -> bool

    Returns whether this error is transparent and should be skipped in reports.
    §

    fn as_ref(&self) -> ErrorRef<'_>

    Returns this error as an [ErrorRef]. Read more
    §

    fn stack(&self) -> Chain<'_>

    Returns an iterator over this error followed by its sources.
    §

    fn sources(&self) -> Chain<'_>

    Returns an iterator over sources of this error (skipping self).
    §

    fn report(&self) -> Report<'_>

    Returns a [Report] to output the error with configurable formatting.

    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( @@ -55,5 +55,5 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/server/index.html b/pr/3734/docs/iroh_relay/server/index.html index 69b1263074..9ba8a7a430 100644 --- a/pr/3734/docs/iroh_relay/server/index.html +++ b/pr/3734/docs/iroh_relay/server/index.html @@ -1,4 +1,4 @@ -iroh_relay::server - Rust

    Module server

    Module server 

    Source
    Available on crate feature server only.
    Expand description

    A fully-fledged iroh-relay server over HTTP or HTTPS.

    +iroh_relay::server - Rust

    Module server

    Module server 

    Source
    Available on crate feature server only.
    Expand description

    A fully-fledged iroh-relay server over HTTP or HTTPS.

    This module provides an API to run a full fledged iroh-relay server. It is primarily used by the iroh-relay binary in this crate. It can be used to run a relay server in other locations however.

    diff --git a/pr/3734/docs/iroh_relay/server/struct.ClientRateLimit.html b/pr/3734/docs/iroh_relay/server/struct.ClientRateLimit.html index 554e98bdbb..d2b597e3e4 100644 --- a/pr/3734/docs/iroh_relay/server/struct.ClientRateLimit.html +++ b/pr/3734/docs/iroh_relay/server/struct.ClientRateLimit.html @@ -1,10 +1,10 @@ -ClientRateLimit in iroh_relay::server - Rust

    ClientRateLimit

    Struct ClientRateLimit 

    Source
    pub struct ClientRateLimit {
    +ClientRateLimit in iroh_relay::server - Rust

    ClientRateLimit

    Struct ClientRateLimit 

    Source
    pub struct ClientRateLimit {
         pub bytes_per_second: NonZeroU32,
         pub max_burst_bytes: Option<NonZeroU32>,
     }
    Available on crate feature server only.
    Expand description

    Per-client rate limit configuration.

    Fields§

    §bytes_per_second: NonZeroU32

    Max number of bytes per second to read from the client connection.

    §max_burst_bytes: Option<NonZeroU32>

    Max number of bytes to read in a single burst.

    -

    Trait Implementations§

    Source§

    impl Clone for ClientRateLimit

    Source§

    fn clone(&self) -> ClientRateLimit

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for ClientRateLimit

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Copy for ClientRateLimit

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl Clone for ClientRateLimit

    Source§

    fn clone(&self) -> ClientRateLimit

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for ClientRateLimit

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Copy for ClientRateLimit

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -36,5 +36,5 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/server/struct.Limits.html b/pr/3734/docs/iroh_relay/server/struct.Limits.html index 9596ddfd6f..2c65173792 100644 --- a/pr/3734/docs/iroh_relay/server/struct.Limits.html +++ b/pr/3734/docs/iroh_relay/server/struct.Limits.html @@ -1,4 +1,4 @@ -Limits in iroh_relay::server - Rust

    Limits

    Struct Limits 

    Source
    pub struct Limits {
    +Limits in iroh_relay::server - Rust

    Limits

    Struct Limits 

    Source
    pub struct Limits {
         pub accept_conn_limit: Option<f64>,
         pub accept_conn_burst: Option<usize>,
         pub client_rx: Option<ClientRateLimit>,
    @@ -6,7 +6,7 @@
     

    Fields§

    §accept_conn_limit: Option<f64>

    Rate limit for accepting new connection. Unlimited if not set.

    §accept_conn_burst: Option<usize>

    Burst limit for accepting new connection. Unlimited if not set.

    §client_rx: Option<ClientRateLimit>

    Rate limits for incoming traffic from a client connection.

    -

    Trait Implementations§

    Source§

    impl Debug for Limits

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Limits

    Source§

    fn default() -> Limits

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Limits

    §

    impl RefUnwindSafe for Limits

    §

    impl Send for Limits

    §

    impl Sync for Limits

    §

    impl Unpin for Limits

    §

    impl UnwindSafe for Limits

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl Debug for Limits

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Limits

    Source§

    fn default() -> Limits

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Limits

    §

    impl RefUnwindSafe for Limits

    §

    impl Send for Limits

    §

    impl Sync for Limits

    §

    impl Unpin for Limits

    §

    impl UnwindSafe for Limits

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -35,5 +35,5 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/server/struct.Metrics.html b/pr/3734/docs/iroh_relay/server/struct.Metrics.html index e063bbc2f1..d7e73e2a5f 100644 --- a/pr/3734/docs/iroh_relay/server/struct.Metrics.html +++ b/pr/3734/docs/iroh_relay/server/struct.Metrics.html @@ -1,12 +1,9 @@ -Metrics in iroh_relay::server - Rust

    Metrics

    Struct Metrics 

    Source
    pub struct Metrics {
    Show 19 fields +Metrics in iroh_relay::server - Rust

    Metrics

    Struct Metrics 

    Source
    pub struct Metrics {
    Show 16 fields pub bytes_sent: Counter, pub bytes_recv: Counter, pub send_packets_sent: Counter, pub send_packets_recv: Counter, pub send_packets_dropped: Counter, - pub disco_packets_sent: Counter, - pub disco_packets_recv: Counter, - pub disco_packets_dropped: Counter, pub other_packets_sent: Counter, pub other_packets_recv: Counter, pub other_packets_dropped: Counter, @@ -21,12 +18,9 @@
    }
    Available on crate feature server only.
    Expand description

    Metrics tracked for the relay server

    Fields§

    §bytes_sent: Counter

    Bytes sent from a FrameType::SendPacket

    §bytes_recv: Counter

    Bytes received from a FrameType::SendPacket

    -
    §send_packets_sent: Counter

    FrameType::SendPacket sent, that are not disco messages

    -
    §send_packets_recv: Counter

    FrameType::SendPacket received, that are not disco messages

    -
    §send_packets_dropped: Counter

    FrameType::SendPacket dropped, that are not disco messages

    -
    §disco_packets_sent: Counter

    FrameType::SendPacket sent that are disco messages

    -
    §disco_packets_recv: Counter

    FrameType::SendPacket received that are disco messages

    -
    §disco_packets_dropped: Counter

    FrameType::SendPacket dropped that are disco messages

    +
    §send_packets_sent: Counter

    FrameType::SendPacket sent

    +
    §send_packets_recv: Counter

    FrameType::SendPacket received

    +
    §send_packets_dropped: Counter

    FrameType::SendPacket dropped

    §other_packets_sent: Counter

    Packets of other FrameTypes sent

    §other_packets_recv: Counter

    Packets of other FrameTypes received

    §other_packets_dropped: Counter

    Packets of other FrameTypes dropped

    @@ -68,5 +62,5 @@ U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/server/struct.QuicConfig.html b/pr/3734/docs/iroh_relay/server/struct.QuicConfig.html index 064462f342..29cad0d79f 100644 --- a/pr/3734/docs/iroh_relay/server/struct.QuicConfig.html +++ b/pr/3734/docs/iroh_relay/server/struct.QuicConfig.html @@ -1,4 +1,4 @@ -QuicConfig in iroh_relay::server - Rust

    QuicConfig

    Struct QuicConfig 

    Source
    pub struct QuicConfig {
    +QuicConfig in iroh_relay::server - Rust

    QuicConfig

    Struct QuicConfig 

    Source
    pub struct QuicConfig {
         pub bind_addr: SocketAddr,
         pub server_config: ServerConfig,
     }
    Available on crate feature server only.
    Expand description

    Configuration for the QUIC server.

    @@ -7,7 +7,7 @@
    §server_config: ServerConfig

    The TLS server configuration for the QUIC server.

    If this [rustls::ServerConfig] does not support TLS 1.3, the QUIC server will fail to spawn.

    -

    Trait Implementations§

    Source§

    impl Debug for QuicConfig

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl Debug for QuicConfig

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -36,5 +36,5 @@ to spawn.

    U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/server/struct.RelayConfig.html b/pr/3734/docs/iroh_relay/server/struct.RelayConfig.html index ed098d47ad..549591da51 100644 --- a/pr/3734/docs/iroh_relay/server/struct.RelayConfig.html +++ b/pr/3734/docs/iroh_relay/server/struct.RelayConfig.html @@ -1,4 +1,4 @@ -RelayConfig in iroh_relay::server - Rust

    RelayConfig

    Struct RelayConfig 

    Source
    pub struct RelayConfig<EC: Debug, EA: Debug = EC> {
    +RelayConfig in iroh_relay::server - Rust

    RelayConfig

    Struct RelayConfig 

    Source
    pub struct RelayConfig<EC: Debug, EA: Debug = EC> {
         pub http_bind_addr: SocketAddr,
         pub tls: Option<TlsConfig<EC, EA>>,
         pub limits: Limits,
    @@ -18,8 +18,8 @@ TLS.

    §limits: Limits

    Rate limits.

    §key_cache_capacity: Option<usize>

    Key cache capacity.

    §access: AccessConfig

    Access configuration.

    -

    Trait Implementations§

    Source§

    impl<EC: Debug, EA: Debug> Debug for RelayConfig<EC, EA>
    where - Option<TlsConfig<EC, EA>>: Debug,

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<EC, EA> Freeze for RelayConfig<EC, EA>

    §

    impl<EC, EA = EC> !RefUnwindSafe for RelayConfig<EC, EA>

    §

    impl<EC, EA> Send for RelayConfig<EC, EA>

    §

    impl<EC, EA = EC> !Sync for RelayConfig<EC, EA>

    §

    impl<EC, EA> Unpin for RelayConfig<EC, EA>

    §

    impl<EC, EA = EC> !UnwindSafe for RelayConfig<EC, EA>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl<EC: Debug, EA: Debug> Debug for RelayConfig<EC, EA>
    where + Option<TlsConfig<EC, EA>>: Debug,

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<EC, EA> Freeze for RelayConfig<EC, EA>

    §

    impl<EC, EA = EC> !RefUnwindSafe for RelayConfig<EC, EA>

    §

    impl<EC, EA> Send for RelayConfig<EC, EA>

    §

    impl<EC, EA = EC> !Sync for RelayConfig<EC, EA>

    §

    impl<EC, EA> Unpin for RelayConfig<EC, EA>

    §

    impl<EC, EA = EC> !UnwindSafe for RelayConfig<EC, EA>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -48,5 +48,5 @@ TLS.

    U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/server/struct.RelayMetrics.html b/pr/3734/docs/iroh_relay/server/struct.RelayMetrics.html index 47cb633dea..7f35b0ef61 100644 --- a/pr/3734/docs/iroh_relay/server/struct.RelayMetrics.html +++ b/pr/3734/docs/iroh_relay/server/struct.RelayMetrics.html @@ -1,8 +1,8 @@ -RelayMetrics in iroh_relay::server - Rust

    RelayMetrics

    Struct RelayMetrics 

    Source
    pub struct RelayMetrics {
    +RelayMetrics in iroh_relay::server - Rust

    RelayMetrics

    Struct RelayMetrics 

    Source
    pub struct RelayMetrics {
         pub server: Arc<Metrics>,
     }
    Available on crate feature server only.
    Expand description

    All metrics tracked in the relay server.

    Fields§

    §server: Arc<Metrics>

    Metrics tracked for the relay server.

    -

    Trait Implementations§

    Source§

    impl Clone for RelayMetrics

    Source§

    fn clone(&self) -> RelayMetrics

    Returns a duplicate 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 RelayMetrics

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for RelayMetrics

    Source§

    fn default() -> RelayMetrics

    Returns the “default value” for a type. Read more
    Source§

    impl MetricsGroupSet for RelayMetrics

    Source§

    fn name(&self) -> &'static str

    Returns the name of this metrics group set.
    Source§

    fn groups_cloned(&self) -> impl Iterator<Item = Arc<dyn MetricsGroup>>

    Returns an iterator over owned clones of the [MetricsGroup] in this struct.
    Source§

    fn groups(&self) -> impl Iterator<Item = &dyn MetricsGroup>

    Returns an iterator over references to the [MetricsGroup] in this struct.
    §

    fn iter(&self) -> impl Iterator<Item = (&'static str, MetricItem<'_>)>

    Returns an iterator over all metrics in this metrics group set. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl Clone for RelayMetrics

    Source§

    fn clone(&self) -> RelayMetrics

    Returns a duplicate 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 RelayMetrics

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for RelayMetrics

    Source§

    fn default() -> RelayMetrics

    Returns the “default value” for a type. Read more
    Source§

    impl MetricsGroupSet for RelayMetrics

    Source§

    fn name(&self) -> &'static str

    Returns the name of this metrics group set.
    Source§

    fn groups_cloned(&self) -> impl Iterator<Item = Arc<dyn MetricsGroup>>

    Returns an iterator over owned clones of the [MetricsGroup] in this struct.
    Source§

    fn groups(&self) -> impl Iterator<Item = &dyn MetricsGroup>

    Returns an iterator over references to the [MetricsGroup] in this struct.
    §

    fn iter(&self) -> impl Iterator<Item = (&'static str, MetricItem<'_>)>

    Returns an iterator over all metrics in this metrics group set. Read more

    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( @@ -34,5 +34,5 @@ U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/server/struct.ReloadingResolver.html b/pr/3734/docs/iroh_relay/server/struct.ReloadingResolver.html index 621dbf453c..86beb65d8c 100644 --- a/pr/3734/docs/iroh_relay/server/struct.ReloadingResolver.html +++ b/pr/3734/docs/iroh_relay/server/struct.ReloadingResolver.html @@ -43,5 +43,5 @@ ClientHello information. Read more
    TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/server/struct.Server.html b/pr/3734/docs/iroh_relay/server/struct.Server.html index 735121f652..968395d931 100644 --- a/pr/3734/docs/iroh_relay/server/struct.Server.html +++ b/pr/3734/docs/iroh_relay/server/struct.Server.html @@ -1,28 +1,28 @@ -Server in iroh_relay::server - Rust

    Server

    Struct Server 

    Source
    pub struct Server { /* private fields */ }
    Available on crate feature server only.
    Expand description

    A running Relay + QAD server.

    +Server in iroh_relay::server - Rust

    Server

    Struct Server 

    Source
    pub struct Server { /* private fields */ }
    Available on crate feature server only.
    Expand description

    A running Relay + QAD server.

    This is a full Relay server, including QAD, Relay and various associated HTTP services.

    Dropping this will stop the server.

    -

    Implementations§

    Source§

    impl Server

    Source

    pub async fn spawn<EC, EA>( +

    Implementations§

    Source§

    impl Server

    Source

    pub async fn spawn<EC, EA>( config: ServerConfig<EC, EA>, ) -> Result<Self, SpawnError>
    where EC: Debug + 'static, EA: Debug + 'static,

    Starts the server.

    -
    Source

    pub async fn shutdown(self) -> Result<(), SupervisorError>

    Requests graceful shutdown.

    +
    Source

    pub async fn shutdown(self) -> Result<(), SupervisorError>

    Requests graceful shutdown.

    Returns once all server tasks have stopped.

    -
    Source

    pub fn task_handle( +

    Source

    pub fn task_handle( &mut self, ) -> &mut AbortOnDropHandle<Result<(), SupervisorError>>

    Returns the handle for the task.

    This allows waiting for the server’s supervisor task to finish. Can be useful in case there is an error in the server before it is shut down.

    -
    Source

    pub fn https_addr(&self) -> Option<SocketAddr>

    The socket address the HTTPS server is listening on.

    -
    Source

    pub fn http_addr(&self) -> Option<SocketAddr>

    The socket address the HTTP server is listening on.

    -
    Source

    pub fn quic_addr(&self) -> Option<SocketAddr>

    The socket address the QUIC server is listening on.

    -
    Source

    pub fn certificates(&self) -> Option<Vec<CertificateDer<'static>>>

    The certificates chain if configured with manual TLS certificates.

    -
    Source

    pub fn https_url(&self) -> Option<RelayUrl>

    Available on crate feature test-utils only.

    Get the server’s https [RelayUrl].

    +
    Source

    pub fn https_addr(&self) -> Option<SocketAddr>

    The socket address the HTTPS server is listening on.

    +
    Source

    pub fn http_addr(&self) -> Option<SocketAddr>

    The socket address the HTTP server is listening on.

    +
    Source

    pub fn quic_addr(&self) -> Option<SocketAddr>

    The socket address the QUIC server is listening on.

    +
    Source

    pub fn certificates(&self) -> Option<Vec<CertificateDer<'static>>>

    The certificates chain if configured with manual TLS certificates.

    +
    Source

    pub fn https_url(&self) -> Option<RelayUrl>

    Available on crate feature test-utils only.

    Get the server’s https RelayUrl.

    This uses Self::https_addr so it’s mostly useful for local development.

    -
    Source

    pub fn http_url(&self) -> Option<RelayUrl>

    Available on crate feature test-utils only.

    Get the server’s http [RelayUrl].

    +
    Source

    pub fn http_url(&self) -> Option<RelayUrl>

    Available on crate feature test-utils only.

    Get the server’s http RelayUrl.

    This uses Self::http_addr so it’s mostly useful for local development.

    -
    Source

    pub fn metrics(&self) -> &RelayMetrics

    Returns the metrics collected in the relay server.

    -

    Trait Implementations§

    Source§

    impl Debug for Server

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Server

    §

    impl RefUnwindSafe for Server

    §

    impl Send for Server

    §

    impl Sync for Server

    §

    impl Unpin for Server

    §

    impl UnwindSafe for Server

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Source

    pub fn metrics(&self) -> &RelayMetrics

    Returns the metrics collected in the relay server.

    +

    Trait Implementations§

    Source§

    impl Debug for Server

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Server

    §

    impl RefUnwindSafe for Server

    §

    impl Send for Server

    §

    impl Sync for Server

    §

    impl Unpin for Server

    §

    impl UnwindSafe for Server

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -51,5 +51,5 @@ case there is an error in the server before it is shut down.

    U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/server/struct.ServerConfig.html b/pr/3734/docs/iroh_relay/server/struct.ServerConfig.html index 44e71e4453..9e1d68ecfe 100644 --- a/pr/3734/docs/iroh_relay/server/struct.ServerConfig.html +++ b/pr/3734/docs/iroh_relay/server/struct.ServerConfig.html @@ -1,4 +1,4 @@ -ServerConfig in iroh_relay::server - Rust

    ServerConfig

    Struct ServerConfig 

    Source
    pub struct ServerConfig<EC: Debug, EA: Debug = EC> {
    +ServerConfig in iroh_relay::server - Rust

    ServerConfig

    Struct ServerConfig 

    Source
    pub struct ServerConfig<EC: Debug, EA: Debug = EC> {
         pub relay: Option<RelayConfig<EC, EA>>,
         pub quic: Option<QuicConfig>,
         pub metrics_addr: Option<SocketAddr>,
    @@ -8,8 +8,8 @@ If not used dummy ones need to be provided, e.g. ServerConfig::<(), ()&
     

    Fields§

    §relay: Option<RelayConfig<EC, EA>>

    Configuration for the Relay server, disabled if None.

    §quic: Option<QuicConfig>

    Configuration for the QUIC server, disabled if None.

    §metrics_addr: Option<SocketAddr>
    Available on crate feature metrics only.

    Socket to serve metrics on.

    -

    Trait Implementations§

    Source§

    impl<EC: Debug, EA: Debug> Debug for ServerConfig<EC, EA>
    where - Option<RelayConfig<EC, EA>>: Debug,

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<EC: Default + Debug, EA: Default + Debug> Default for ServerConfig<EC, EA>

    Source§

    fn default() -> ServerConfig<EC, EA>

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    §

    impl<EC, EA> Freeze for ServerConfig<EC, EA>

    §

    impl<EC, EA = EC> !RefUnwindSafe for ServerConfig<EC, EA>

    §

    impl<EC, EA> Send for ServerConfig<EC, EA>

    §

    impl<EC, EA = EC> !Sync for ServerConfig<EC, EA>

    §

    impl<EC, EA> Unpin for ServerConfig<EC, EA>

    §

    impl<EC, EA = EC> !UnwindSafe for ServerConfig<EC, EA>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl<EC: Debug, EA: Debug> Debug for ServerConfig<EC, EA>
    where + Option<RelayConfig<EC, EA>>: Debug,

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<EC: Default + Debug, EA: Default + Debug> Default for ServerConfig<EC, EA>

    Source§

    fn default() -> ServerConfig<EC, EA>

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    §

    impl<EC, EA> Freeze for ServerConfig<EC, EA>

    §

    impl<EC, EA = EC> !RefUnwindSafe for ServerConfig<EC, EA>

    §

    impl<EC, EA> Send for ServerConfig<EC, EA>

    §

    impl<EC, EA = EC> !Sync for ServerConfig<EC, EA>

    §

    impl<EC, EA> Unpin for ServerConfig<EC, EA>

    §

    impl<EC, EA = EC> !UnwindSafe for ServerConfig<EC, EA>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -38,5 +38,5 @@ If not used dummy ones need to be provided, e.g. ServerConfig::<(), ()& U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/server/struct.TlsConfig.html b/pr/3734/docs/iroh_relay/server/struct.TlsConfig.html index 8b74688e54..a3722d4ad3 100644 --- a/pr/3734/docs/iroh_relay/server/struct.TlsConfig.html +++ b/pr/3734/docs/iroh_relay/server/struct.TlsConfig.html @@ -1,4 +1,4 @@ -TlsConfig in iroh_relay::server - Rust

    TlsConfig

    Struct TlsConfig 

    Source
    pub struct TlsConfig<EC: Debug, EA: Debug = EC> {
    +TlsConfig in iroh_relay::server - Rust

    TlsConfig

    Struct TlsConfig 

    Source
    pub struct TlsConfig<EC: Debug, EA: Debug = EC> {
         pub https_bind_addr: SocketAddr,
         pub quic_bind_addr: SocketAddr,
         pub cert: CertConfig<EC, EA>,
    @@ -13,8 +13,8 @@ this is served on the §quic_bind_addr: SocketAddr

    The socket address on which to server the QUIC server is QUIC is enabled.

    §cert: CertConfig<EC, EA>

    Mode for getting a cert.

    §server_config: ServerConfig

    The server configuration.

    -

    Trait Implementations§

    Source§

    impl<EC: Debug, EA: Debug> Debug for TlsConfig<EC, EA>
    where - CertConfig<EC, EA>: Debug,

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<EC, EA> Freeze for TlsConfig<EC, EA>

    §

    impl<EC, EA = EC> !RefUnwindSafe for TlsConfig<EC, EA>

    §

    impl<EC, EA> Send for TlsConfig<EC, EA>

    §

    impl<EC, EA = EC> !Sync for TlsConfig<EC, EA>

    §

    impl<EC, EA> Unpin for TlsConfig<EC, EA>

    §

    impl<EC, EA = EC> !UnwindSafe for TlsConfig<EC, EA>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +

    Trait Implementations§

    Source§

    impl<EC: Debug, EA: Debug> Debug for TlsConfig<EC, EA>
    where + CertConfig<EC, EA>: Debug,

    Source§

    fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<EC, EA> Freeze for TlsConfig<EC, EA>

    §

    impl<EC, EA = EC> !RefUnwindSafe for TlsConfig<EC, EA>

    §

    impl<EC, EA> Send for TlsConfig<EC, EA>

    §

    impl<EC, EA = EC> !Sync for TlsConfig<EC, EA>

    §

    impl<EC, EA> Unpin for TlsConfig<EC, EA>

    §

    impl<EC, EA = EC> !UnwindSafe for TlsConfig<EC, EA>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<'a, T, E> AsTaggedExplicit<'a, E> for T
    where T: 'a,

    §

    fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

    §

    impl<'a, T, E> AsTaggedImplicit<'a, E> for T
    where T: 'a,

    §

    fn implicit( @@ -43,5 +43,5 @@ this is served on the TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/struct.PingTracker.html b/pr/3734/docs/iroh_relay/struct.PingTracker.html index ceb97613ff..ecc04a1584 100644 --- a/pr/3734/docs/iroh_relay/struct.PingTracker.html +++ b/pr/3734/docs/iroh_relay/struct.PingTracker.html @@ -37,5 +37,5 @@ any pong however.

    U: TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/struct.RelayConfig.html b/pr/3734/docs/iroh_relay/struct.RelayConfig.html index a7bfe8c136..2458bb0c68 100644 --- a/pr/3734/docs/iroh_relay/struct.RelayConfig.html +++ b/pr/3734/docs/iroh_relay/struct.RelayConfig.html @@ -1,14 +1,14 @@ RelayConfig in iroh_relay - Rust

    RelayConfig

    Struct RelayConfig 

    Source
    pub struct RelayConfig {
    -    pub url: RelayUrl,
    +    pub url: RelayUrl,
         pub quic: Option<RelayQuicConfig>,
     }
    Expand description

    Information on a specific relay server.

    Includes the Url where it can be dialed.

    -

    Fields§

    §url: RelayUrl

    The [RelayUrl] where this relay server can be dialed.

    +

    Fields§

    §url: RelayUrl

    The RelayUrl where this relay server can be dialed.

    §quic: Option<RelayQuicConfig>

    Configuration to speak to the QUIC endpoint on the relay server.

    When None, we will not attempt to do QUIC address discovery with this relay server.

    Trait Implementations§

    Source§

    impl Clone for RelayConfig

    Source§

    fn clone(&self) -> RelayConfig

    Returns a duplicate 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 RelayConfig

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for RelayConfig

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for RelayConfig

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<RelayConfig> for RelayMap

    Source§

    fn from(value: RelayConfig) -> Self

    Converts to this type from the input type.
    Source§

    impl From<RelayUrl> for RelayConfig

    Source§

    fn from(value: RelayUrl) -> Self

    Converts to this type from the input type.
    Source§

    impl FromIterator<RelayConfig> for RelayMap

    Source§

    fn from_iter<T: IntoIterator<Item = RelayConfig>>(iter: T) -> Self

    Creates a value from an iterator. Read more
    Source§

    impl Ord for RelayConfig

    Source§

    fn cmp(&self, other: &RelayConfig) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for RelayConfig

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<RelayConfig> for RelayMap

    Source§

    fn from(value: RelayConfig) -> Self

    Converts to this type from the input type.
    Source§

    impl From<RelayUrl> for RelayConfig

    Source§

    fn from(value: RelayUrl) -> Self

    Converts to this type from the input type.
    Source§

    impl FromIterator<RelayConfig> for RelayMap

    Source§

    fn from_iter<T: IntoIterator<Item = RelayConfig>>(iter: T) -> Self

    Creates a value from an iterator. Read more
    Source§

    impl Ord for RelayConfig

    Source§

    fn cmp(&self, other: &RelayConfig) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · Source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · Source§

    fn clamp(self, min: Self, max: Self) -> Self
    where Self: Sized,

    Restrict a value to a certain interval. Read more
    Source§

    impl PartialEq for RelayConfig

    Source§

    fn eq(&self, other: &RelayConfig) -> 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, @@ -57,6 +57,6 @@ the >= operator. TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/struct.RelayMap.html b/pr/3734/docs/iroh_relay/struct.RelayMap.html index 74c3b04a20..fe984f565e 100644 --- a/pr/3734/docs/iroh_relay/struct.RelayMap.html +++ b/pr/3734/docs/iroh_relay/struct.RelayMap.html @@ -9,34 +9,34 @@ or by creating an empty relay map with let map = RelayMap::from_iter(vec![relay1, relay2]);

    Implementations§

    Source§

    impl RelayMap

    Source

    pub fn empty() -> Self

    Creates an empty relay map.

    Source

    pub fn try_from_iter<'a, T: IntoIterator<Item = &'a str>>( urls: T, -) -> Result<Self, RelayUrlParseError>

    Creates a RelayMap from an iterator.

    +) -> Result<Self, RelayUrlParseError>

    Creates a RelayMap from an iterator.

    The conversion from a URL to a RelayConfig is done the same as when parsing it directly, which means it is assumed to run QUIC on default settings as defined in RelayQuicConfig::default.

    §Example
    let map =
         RelayMap::try_from_iter(["https://relay_0.cool.com", "https://relay_1.cool.com"]).unwrap();
    Source

    pub fn urls<T>(&self) -> T
    where - T: FromIterator<RelayUrl>,

    Returns the URLs of all servers in this relay map.

    + T: FromIterator<RelayUrl>,

    Returns the URLs of all servers in this relay map.

    This function is generic over the container to collect into. If you simply want a list of URLs, call this with map.urls::<Vec<_>>() to get a Vec<RelayUrl>.

    Source

    pub fn relays<T>(&self) -> T

    Returns a list with the RelayConfig for each relay in this relay map.

    This function is generic over the container to collect into. If you simply want a list of URLs, call this with map.relays::<Vec<_>>() to get a Vec<RelayConfig>.

    -
    Source

    pub fn contains(&self, url: &RelayUrl) -> bool

    Returns true if a relay with url is contained in this this relay map.

    -
    Source

    pub fn get(&self, url: &RelayUrl) -> Option<Arc<RelayConfig>>

    Returns the config for a relay.

    +
    Source

    pub fn contains(&self, url: &RelayUrl) -> bool

    Returns true if a relay with url is contained in this this relay map.

    +
    Source

    pub fn get(&self, url: &RelayUrl) -> Option<Arc<RelayConfig>>

    Returns the config for a relay.

    Source

    pub fn len(&self) -> usize

    Returns the number of relays in this relay map.

    Source

    pub fn is_empty(&self) -> bool

    Returns true if this relay map is empty.

    Source

    pub fn insert( &self, - url: RelayUrl, + url: RelayUrl, endpoint: Arc<RelayConfig>, ) -> Option<Arc<RelayConfig>>

    Inserts a new relay into the relay map.

    -
    Source

    pub fn remove(&self, url: &RelayUrl) -> Option<Arc<RelayConfig>>

    Removes an existing relay by its URL.

    +
    Source

    pub fn remove(&self, url: &RelayUrl) -> Option<Arc<RelayConfig>>

    Removes an existing relay by its URL.

    Source

    pub fn extend(&self, other: &RelayMap)

    Extends this RelayMap with another one.

    -

    Trait Implementations§

    Source§

    impl Clone for RelayMap

    Source§

    fn clone(&self) -> RelayMap

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for RelayMap

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for RelayMap

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<RelayConfig> for RelayMap

    Source§

    fn from(value: RelayConfig) -> Self

    Converts to this type from the input type.
    Source§

    impl From<RelayUrl> for RelayMap

    Source§

    fn from(value: RelayUrl) -> Self

    Creates a RelayMap from a [RelayUrl].

    +

    Trait Implementations§

    Source§

    impl Clone for RelayMap

    Source§

    fn clone(&self) -> RelayMap

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for RelayMap

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for RelayMap

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<RelayConfig> for RelayMap

    Source§

    fn from(value: RelayConfig) -> Self

    Converts to this type from the input type.
    Source§

    impl From<RelayUrl> for RelayMap

    Source§

    fn from(value: RelayUrl) -> Self

    Creates a RelayMap from a RelayUrl.

    The RelayConfigs in the RelayMap will have the default QUIC address discovery ports.

    -
    Source§

    impl FromIterator<Arc<RelayConfig>> for RelayMap

    Source§

    fn from_iter<T: IntoIterator<Item = Arc<RelayConfig>>>(iter: T) -> Self

    Creates a value from an iterator. Read more
    Source§

    impl FromIterator<RelayConfig> for RelayMap

    Source§

    fn from_iter<T: IntoIterator<Item = RelayConfig>>(iter: T) -> Self

    Creates a value from an iterator. Read more
    Source§

    impl FromIterator<RelayUrl> for RelayMap

    Source§

    fn from_iter<T: IntoIterator<Item = RelayUrl>>(iter: T) -> Self

    Creates a RelayMap from an iterator of [RelayUrl].

    +
    Source§

    impl FromIterator<Arc<RelayConfig>> for RelayMap

    Source§

    fn from_iter<T: IntoIterator<Item = Arc<RelayConfig>>>(iter: T) -> Self

    Creates a value from an iterator. Read more
    Source§

    impl FromIterator<RelayConfig> for RelayMap

    Source§

    fn from_iter<T: IntoIterator<Item = RelayConfig>>(iter: T) -> Self

    Creates a value from an iterator. Read more
    Source§

    impl FromIterator<RelayUrl> for RelayMap

    Source§

    fn from_iter<T: IntoIterator<Item = RelayUrl>>(iter: T) -> Self

    Creates a RelayMap from an iterator of RelayUrl.

    The RelayConfigs in the RelayMap will have the default QUIC address discovery ports.

    Source§

    impl PartialEq for RelayMap

    Source§

    fn eq(&self, other: &Self) -> 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, @@ -79,5 +79,5 @@ and should not be overridden without very good reason.
    TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/pr/3734/docs/iroh_relay/struct.RelayQuicConfig.html b/pr/3734/docs/iroh_relay/struct.RelayQuicConfig.html index 53705d0ca7..3c655e4b8a 100644 --- a/pr/3734/docs/iroh_relay/struct.RelayQuicConfig.html +++ b/pr/3734/docs/iroh_relay/struct.RelayQuicConfig.html @@ -51,6 +51,6 @@ the >= operator. TryFrom<T>,
    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a +[WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/pr/3734/docs/search.index/00062a8f525f.js b/pr/3734/docs/search.index/00062a8f525f.js deleted file mode 100644 index a2f3ff9137..0000000000 --- a/pr/3734/docs/search.index/00062a8f525f.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIAOzAAAAEAAAsAAwCIEAkA3xkAAMcaAAABAwGgQAAAHghiAZwdAADzAAFn9CQaAAABAAEAbwMTgQKgEAAAHYhhZVMAA7BwGh4DKmFpbzswAAABAABLAAIAMgslAEkQJQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/004d9195acc3.js b/pr/3734/docs/search.index/004d9195acc3.js deleted file mode 100644 index ab39cdfac6..0000000000 --- a/pr/3734/docs/search.index/004d9195acc3.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQYCoCAAAButoDAAAByPYmgBxhgAAAEDAPWuGwAAHwHCAE0AXgATgAKgQAAAGsJocAECADswAAABAAAFAAEAtRsFAPMCAXUBlBgAAAECAPXpGwAAAQABAAEAAQATgAKwABMOAAFvdnOAhKDwAAAeAwQIBjOAA6CwAAAdiWVvdA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/006df75fdeee.js b/pr/3734/docs/search.index/006df75fdeee.js deleted file mode 100644 index 039f933eeb..0000000000 --- a/pr/3734/docs/search.index/006df75fdeee.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIBoEAAAB4PdPQkHQAAYQB7ACIAE4ACoDAAAB4OaXAjggKgcAAAHbllcxMAAqAgAAAKxmZt9CcBAADhDAQAugw=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/007c575f2500.js b/pr/3734/docs/search.index/007c575f2500.js deleted file mode 100644 index fbc76a09d6..0000000000 --- a/pr/3734/docs/search.index/007c575f2500.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQoA9M0dAAABAB8AAQABBAGgAAAAHaZzATQbAADzgAJlaQEFAaBgAAAde2IBmhoAAAECA6BQAAAcpaAwAAAd2KBgAAAeB2Nwc/IAGgAANAPzgQJscwEBAaBgAAAdm2IBQBsAABOEA6AwAAAdO6BQAAAdimVudROBAqCQAAAdi2J05wAAAIawQBTcAAGgIAAAHOOgIAAAFAwQgA/ymwoAAAEA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/00add43536a8.js b/pr/3734/docs/search.index/00add43536a8.js new file mode 100644 index 0000000000..d8db68ddda --- /dev/null +++ b/pr/3734/docs/search.index/00add43536a8.js @@ -0,0 +1 @@ +rn_("AQIBoAAAABzycwETFgAAAQYA9HQdAAABAAEAAQABAgD0tx8AAAEAAQABAAECAaBAAAAc2WUBhRsAAJOAhKAgAAAcGKAgAAAaFhAUBAEJAPQtHwAAAQB6AAEAQ4EDoNAAAB/usHAdXAABY2xzAQgA9JceAAABANgAAQDXAwCAhrCQHVoAAQVIYA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/00aeae00a65f.js b/pr/3734/docs/search.index/00aeae00a65f.js new file mode 100644 index 0000000000..26ba7896fe --- /dev/null +++ b/pr/3734/docs/search.index/00aeae00a65f.js @@ -0,0 +1 @@ +rn_("AQCFoJAAAB+toEAAAB8UoEAAAB7doGAAAB9WoCAAAB5xmAAK8tYbAABxACMBAqBgAAAc2mhz9d8OAAB1CwEAkwINAAECAbBQHrYAfGPylBsAAKQAY4ADsJAe8wABY25z") \ No newline at end of file diff --git a/pr/3734/docs/search.index/01281c571cc7.js b/pr/3734/docs/search.index/01281c571cc7.js new file mode 100644 index 0000000000..6e1201beaf --- /dev/null +++ b/pr/3734/docs/search.index/01281c571cc7.js @@ -0,0 +1 @@ +rn_("AQIA81saAAABABQEE4ACsJAdlQABcnYBAQGwgB/oAAFz8lcfAAABAAEJAbCAH/EAAXPy4h8AAAEA84gCZGnzgAJucg==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0147fdfa2ba4.js b/pr/3734/docs/search.index/0147fdfa2ba4.js new file mode 100644 index 0000000000..12d254112f --- /dev/null +++ b/pr/3734/docs/search.index/0147fdfa2ba4.js @@ -0,0 +1 @@ +rn_("AQUA9KEfAAABAAIAAQAjgAOgQAAAHp+gQAAAHqBiZWwBAgGgYAAAH7RiOjAAAAEAAAAAAA8AEAAAAMoVyxWWG5EdmB2ZHZodhR6GHoceBh8HH0EfSh9mH9MfU4CEoPAAAB/qoDAAAB8WYCAEAQEA8x4fAAApAAEA84ACbW4=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/014df7290358.js b/pr/3734/docs/search.index/014df7290358.js new file mode 100644 index 0000000000..481e4905d2 --- /dev/null +++ b/pr/3734/docs/search.index/014df7290358.js @@ -0,0 +1 @@ +rn_("AYICoFAAAB7PsAAadAGHZXMBhQKwMB7RAHGwIB6cAIBidSOAArAgHNEBq2lsMwADsCAcIgIKYnR1OjAAAAEAAAAAAAgAEAAAAH4Pfw+AD4EPaBu+H8gf2h/mHwEHAPM4HgAARAEBAAEEAPRwGgAAAQABAAEAAQMBsGAemwB/YvIhHAAACgJ3BAAAiKAQAAAQnaCQAAAezqDAAAAfZKCgAAAfGzgJCzowAAABAAAAAAASABAAAACiC6MLpAutDq4OLhQUFh4WaRqGG4sblxuYG5kbmhvzGwwfNx84Hw==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0168c1dcb49c.js b/pr/3734/docs/search.index/0168c1dcb49c.js new file mode 100644 index 0000000000..e5b77965db --- /dev/null +++ b/pr/3734/docs/search.index/0168c1dcb49c.js @@ -0,0 +1 @@ +rn_("AQcBsEAfHwABZQGmHgAAAQwBoGAAAB+0YvIGHwAAAQATgAKgEAAAH9ZhbAEAAPZlGgAAiAHMANcA/gBJAQGAAqAgAAAdo6AQAAAc5mFzJwAAg4WhIAAAH+ugQAAAHmag0AAAH7agUAAAHtYI0AFjAAOgkAAAHqFsdHnzRB4AAHUA0AAjgAOgUAAAHLqgUAAAHx5wcnUBggKgAAAAHWqgAAAAHWtlcyOAAqBgAAAeuWV0AQMA9bwcAAABAAEAAQABAAEAAaCQAAAfn2w6MAAAAQAAAAAACAAQAAAAoBuFHawezR4EHz4fbx93H68fE4ACoCAAABy7ZG4BBAA7MAAAAQAABQABAGQdBQABBAGgAAAAHkNk82IdAAABAAkB9wIAAYagYAAAHrgUCQM7MAAAAQAAEwAFANQVCgA7GQIA8xwBAKEfAQCkHwEAAQABsEAdYAABZfXPFQAAAQABAAEAAQATAAKwoB+mAAFndgHuGwAAM4ADsBALbgUVbm92AQMAOzAAAAEAAAYAAwCbGwQA2BwAAFQeAAABAwGwMB8KAAF08pwdAAABAAEEAPVdHgAAAQABAAEAAQDzgAJvcgECAPUyHAAAAQABAAEAAQAzAISgQAAAHPKwwB+GAAEwAAw6MAAAAQAAAAAADgAQAAAAlBC8EBoWXxujG+EbfR1+HX8dgB2fHaAdoR2iHTMf84ACZHIBAoSgQAAAH5mggAAAH+ugAAAAHx2gMAAAHMGQAAYB4BUAABOAAqBgAAAeo2Ru1wsAAIiwUBzwAAGwABscAAEVQRM6MAAAAQAAAAAAEQAQAAAAlAuVC5YL/w3CDsMOxA7FDhQPFQ8oGmwabRq9G74b6hzrHBYf") \ No newline at end of file diff --git a/pr/3734/docs/search.index/01a7315011cc.js b/pr/3734/docs/search.index/01a7315011cc.js deleted file mode 100644 index 95908973d4..0000000000 --- a/pr/3734/docs/search.index/01a7315011cc.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIAOzAAAAEAAAUAAQDlEwUAAYACsBAbqgABoBAAAB1YbncBCAD0dB0AAAEAAQABAAEBAaAgAAAdxXI7MAAAAQAAEgAIAOwNAgAlDggAeRoAAJ4aAACwGgAATR0AAHodAQCbHQAAAQQAOzAAAAEAAAUAAQClGQUA9wEAAIagYAAAG7EUQQk6MAAAAQAAAAAACwAQAAAARglHCUgJSQlKCUsJTAmuG80cjx3cHToe") \ No newline at end of file diff --git a/pr/3734/docs/search.index/01c6abccf875.js b/pr/3734/docs/search.index/01c6abccf875.js new file mode 100644 index 0000000000..532daf80d8 --- /dev/null +++ b/pr/3734/docs/search.index/01c6abccf875.js @@ -0,0 +1 @@ +rn_("AYACoBAAABr5oMAAAB/kdHUBgQKggAAAH8igYAAAH9pkc1MAhKCAAAAe+rCQH74AKAoQCDswAAABAAAmAAEACx0mAEOAA6AQAAAVR7BQHjMAAWNkdA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/01fd1d2ea47c.js b/pr/3734/docs/search.index/01fd1d2ea47c.js deleted file mode 100644 index f7b489ceec..0000000000 --- a/pr/3734/docs/search.index/01fd1d2ea47c.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACoBAAABMBoGAAAB0Vbm8BAAKgYAAAHXugMAAAHcNiczowAAABAAAAAAAMABAAAACzD4YQ2hjbGE8aUBpRGlIaUxpUGpoa6RwAHYcAAACFsDAY9AABoEAAABo7sDAabQABoKAAAB0ZkgADOzAAAAEAAA4AAgAODgIAlg4LAPOAAmVpAQYA9OwYAAABAAEAAQATgAKgEAAADhtjbgEDAqAgAAAaxrAAGK4AAWJ58g8UAAABAAEDAPQNFAAAAQDKBgEAAQQA86sYAAABAAEAAQACsGAc3wFJoGAAABzgZm0BsRQAACOAAqCQAAAc8GNy5wEAAIiwQBipAAGgcAAAGsegYAAAGmawQBiwAAE0IBs7MAAAAQAADwADAJ4DAAAcCAcAuRIGAAEBAaAgAAAS8WUB5QoAABOAAqAQAAAaNWNzAYADoHAAAB1YoDAAAB0KoIAAAB1/Y3JzAQABoCAAAB1Yb/WuGwAAHwHCAE0AXgABAgDztw8AANYKAQATgAKgMAAAHRVydHcrAADKsGAb7wEasOAeLAABoAAAABpEQGYWCfa/AwAA6gsBANoAAQBUCA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/026c61a2749c.js b/pr/3734/docs/search.index/026c61a2749c.js new file mode 100644 index 0000000000..bb5a99560f --- /dev/null +++ b/pr/3734/docs/search.index/026c61a2749c.js @@ -0,0 +1 @@ +rn_("AYICoAAAAB0+oAAAAB0/NDYBiQKgIAAAH6ygMAAAH7tpcBMAAqAgAAAeq2VpOzAAAAEAAAkABADoEwQARxQCAEAdAADtHgAAhwAAA4WwQB+wAAWgQAAAHpqhAAAAH9KgMAAAHvASABM6MAAAAQAAAAAABwAQAAAAcRCxEL8bxBtXHFkcSR9NHwEGAPRJGgAAigHIAn8AlwEAAIawIBCvAAGwsB+PADqgQAAAHi9qAQE6MAAAAQAAAAAAGwAQAAAAwgMEBAUEBgTTDqYQpxCoEHQRxBXFFcYVqBupG6obIRwxHGAcYRz2HPcc+BxWHVcdWB1ZHSseRB8=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/02bf949777f7.js b/pr/3734/docs/search.index/02bf949777f7.js deleted file mode 100644 index 1a21a9dc90..0000000000 --- a/pr/3734/docs/search.index/02bf949777f7.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIAOzAAAAEAAAUAAgCAHQIAHB4CAPMAAW06MAAAAQAAAAAABwAQAAAAmhQ7G8IcwxzEHOEd4h3jHQEGAPMxHQAAAQDTABOAAqAgAAAdLWFrkwCEsAAdAQDDsAAOIQp7DAAD83YZAAABAAEA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/02c3cd057cdb.js b/pr/3734/docs/search.index/02c3cd057cdb.js new file mode 100644 index 0000000000..bf1d526852 --- /dev/null +++ b/pr/3734/docs/search.index/02c3cd057cdb.js @@ -0,0 +1 @@ +rn_("AQIA8+AcAABWAQEAI4ACoHAAABzSYWQBAwD0whwAAAEA/AEBABOAArAwHMQAAXJ2QwCEsGAe/wAwsFAexgBzoDAAABwMFgEAOzAAAAEAAB4ACwDwEwQAERUEAKIbAACkGwAAGxwAACMcAAD9HAwAph0AAPoeAACPHwAAyR8AAAGAArAAFeEAAaAgAAAb8WRs84ACZXkBBAD1ARYAACIEAQABABgEhwEAAIWwYBwqARiAH2IF0BygsAAAHzwZIAHyAw4AAAEA84ACZWk=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/030f748041e1.js b/pr/3734/docs/search.index/030f748041e1.js new file mode 100644 index 0000000000..421b276e01 --- /dev/null +++ b/pr/3734/docs/search.index/030f748041e1.js @@ -0,0 +1 @@ +rn_("AQABoCAAABQTZQGRCwAAAQ0BoGAAAB+0YvIGHwAAAQAjgAKgEAAAFhplcgECAPQYFAAAAQDfAQEAE4ACsCAfIQABYW8BAgGgYAAAHk5t8jkVAAABAAEEAaAgAAAdhHMBuRsAAMcBAACFoDAAABvloFAAABwkRcAAOzAAAAEAABYABwDUDgMAUA8LAMAbAQDUHAAAbB0AAE4eAQCPHgAAAQYA8+AcAABWAQEAI4ACsCAfgAABb3IBgAKgIAAAHaOgEAAAHOZhcwEAAaBAAAAc1WU7MAAAAQAABQACABQUAwBLHgEAI4ACoBAAAB4tdHlnAACAhqEgAAAf66BAAAAeZqDQAAAftqBQAAAe1hjQAQGBAqAQAAAV+6CwAAAfiGVpAQABsGAfbQABZQFEHAAAQwADsJAfAgABoDAAABv4Y25zAU0LAAABAgDzERYAAHIFDwITgQKggAAAHlRmbiOAAqBAAAAWEGxvAQQA84oeAABuAAEAAQQBoAAAAB6NZPI+HgAAAQBjggOgoAAAH5BhY2UBgAKgIAAAHLigAAAAG9Bkc/OAAmVpAYQCoDAAAB+qoFAAAB/EY3LzAwFjAfceAADzAgFkAUUVAADzgAJkdNc/AACKoHAAAB05F4VGOzAAAAEAAAcAAgCoCAUA9w0BAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/034d88f07241.js b/pr/3734/docs/search.index/034d88f07241.js new file mode 100644 index 0000000000..b51094ad86 --- /dev/null +++ b/pr/3734/docs/search.index/034d88f07241.js @@ -0,0 +1 @@ +rn_("AQIA9d4TAAAICAEAAQABAAGAAqAAAAAQarAwGkAAAWRyAYMCoEAAAB6foEAAAB6gYmznAAABh7AQEGkDzrAADvMAAbAgE90CTKAwAAAa7RYBGjswAAABAAAKAAIAaQsCAKsLBwA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/037095003d6f.js b/pr/3734/docs/search.index/037095003d6f.js deleted file mode 100644 index cc3cbb1fe9..0000000000 --- a/pr/3734/docs/search.index/037095003d6f.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQEBoGAAAB2bYgFAGwAAJwAAAYWgQAAAHIewcB0+AMigMAAAHTugUAAAHYoYIQg7MAAAAQAABwACAI4OBgChGAAAAQIBoEAAABtCZTswAAABAAAFAAIA8hIDAJ8cAQDzAAFr8iYNAAABAPOAAmNz") \ No newline at end of file diff --git a/pr/3734/docs/search.index/039a167d6ae8.js b/pr/3734/docs/search.index/039a167d6ae8.js new file mode 100644 index 0000000000..ddc5ce9fc9 --- /dev/null +++ b/pr/3734/docs/search.index/039a167d6ae8.js @@ -0,0 +1 @@ +rn_("AYQCoJAAAB90sDAeaQABdHUBgQKwQBztAAGgkAAAHw9hdAEEAPP1GgAAAQABANOAhKCAAAAdpgwBASOAAqCwAAAeQG5y") \ No newline at end of file diff --git a/pr/3734/docs/search.index/03acdda67213.js b/pr/3734/docs/search.index/03acdda67213.js deleted file mode 100644 index 2ecba38e32..0000000000 --- a/pr/3734/docs/search.index/03acdda67213.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIA9A8dAAABAAEAAQABBQD0dB0AAAEAAQABAAEEADswAAABAAANAAMAexoIAIUaAwBzHQAAswCEoHAAABzpEICB9pIPAAABAG0Dcwe5AwEAE4ACoFAAAB4fZ3Q=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/03c06cefeaa2.js b/pr/3734/docs/search.index/03c06cefeaa2.js new file mode 100644 index 0000000000..66deae2bf8 --- /dev/null +++ b/pr/3734/docs/search.index/03c06cefeaa2.js @@ -0,0 +1 @@ +rn_("AQYBsEAevwABZTswAAABAAANAAIAGxwAAP0cDAABAgD0wR4AAAEAAQABAAEEADswAAABAAANAAMAAxwIAA0cAwAnHwAA8wECZXr0ehAAAAEAYQ8BAPOAAm5zAQwA9PseAAABAAEAAQBDAAOgQAAAGkqhAAAAH0plZmk7MAAAAQAAGQAMAAAEAQB5CwEA1g0JAG8QAAAgFAEARBQAACQWAADvGQIAKRoAANMeAADbHgAAqh8AAAGAArAgE+0ACqBgAAAe7WJ08wADYWVp96QIAAABANEVDgE8AAEAAQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/041531a07a18.js b/pr/3734/docs/search.index/041531a07a18.js deleted file mode 100644 index 484de1e658..0000000000 --- a/pr/3734/docs/search.index/041531a07a18.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQGEoGAAABupgB20AsARoLAAAB2OoEAAABpqGQAB8jINAAABAAEBAPWxDwAAAQBpBAEAAQABCQGgQAAAHZ1l8z0dAACZAAEAAQIBoIAAAB3ydgGoGwAA8wMBZQEGGgAAdwAAgYagIAAAGL2hQAAAHj+gQAAAGmkRMQIBAQD2iA8AAHYDAQAjAJYFbQSXAQCAxbAADDUAAaAQAAAT/gACiAo=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0459ef144c6a.js b/pr/3734/docs/search.index/0459ef144c6a.js deleted file mode 100644 index ccefcbc79b..0000000000 --- a/pr/3734/docs/search.index/0459ef144c6a.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIA9SEbAAABAAEAAQABAPMAAWk7MAAAAQAACAACAP4NAAAyEAcAAYECoFAAAB0bsAAY/QF3ZXPzgAJhcgEAAPVSGwAARAEBABAAAQABiAKgIAAAHgCgMAAAHg5pcBOAAqBQAAAauG5yAYUCoDAAAB2UoCAAAB1oYnUjgAKgIAAAHMxpbOcCAACHoDAAAB0coCAAABz3oCAAAByDUwEMOjAAAAEAAAAAABUAEAAAAKcOqA6pDqoOzBLNEs4SzxLQEiUTJhMnE+cZpxs8HYkdoB0BHhIeGh4rHjUe") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0496bdc2548a.js b/pr/3734/docs/search.index/0496bdc2548a.js new file mode 100644 index 0000000000..42f452a227 --- /dev/null +++ b/pr/3734/docs/search.index/0496bdc2548a.js @@ -0,0 +1 @@ +rn_("AQAA9PADAABMES0GAQABgAOgIAAAHaOgUAAAHk6gEAAAHOZhZXMBgwKgcAAAHw6ggAAAHzNjcwEIAbBQHrYAfGPylBsAAKQAAQABoEAAABzVZTswAAABAAAFAAIAFBQDAEseAQABAwD0sR4AAAEANwABAAEBAPSvHgAAAQA3AAEAE4ECoEAAAB9iY20BAQD0gR0AAAEAowEBACOAAqBgAAAfeG56AQYA9D8fAAABAB0AAQDXAQAAh6BgAAAfYaBwAAAfnaBgAAAfYxgBD/TkGwAAEwBCAPQBAYACoAAAABvJoAAAABvKNDbzAwF2ASAWAACXAAAAx6CQAAAfc6AgAAAUD6CAAAAef7AgHwAAAaCgAAAfhcAAAQ87MAAAAQAAEAAIAPMNAAAyFAMATxoBAMgbAACqHgAAKB8DAHkfAQCXHwEAAQABoCAAABYjcvJkGgAAhwEBAAKwMB7RAHGwIB6cAIBidTowAAABAAAAAAAIABAAAABJGrwb0xtPHIwdmx6tHt8eGh+nAwCAhrAQC20KnqEAAAAfiAwIRQGAAqAwAAAcSqEQAAAf62Vp5yMAAIuggAAAHmigQAAAHmag0AAAH7agUAAAHtawEB5SAJm50As6MAAAAQAAAAAACAAQAAAANgHwDfEN2w45FToVsRtIHHsf") \ No newline at end of file diff --git a/pr/3734/docs/search.index/04e9540c12d7.js b/pr/3734/docs/search.index/04e9540c12d7.js new file mode 100644 index 0000000000..0a2cf47823 --- /dev/null +++ b/pr/3734/docs/search.index/04e9540c12d7.js @@ -0,0 +1 @@ +rn_("ARAA9LcfAAABAAEAAQABBQA7MAAAAQAACAADAE0aAQDXGwUAtB4AAAEFAqBAAAAe3aAgAAAecWh1AdYbAAABBADzYh8AAF0AHAABAgDzbhEAAAEAAQABAAD1mQkAAEICAQABAAEAAQEA9gsXAAABAKMHAQA3AAEA9wYAgMewQB/ZABQACWYB84ACZXg=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0562a10f764e.js b/pr/3734/docs/search.index/0562a10f764e.js deleted file mode 100644 index 6fa3eb7063..0000000000 --- a/pr/3734/docs/search.index/0562a10f764e.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACsAAaQQAGsAAaQgAGNDYBAAA7MAAAAQAAFAAIAD4JAwBvEAMAFhMBAPkTAQDLGAEAHRsDAFkbAQBpHQAAAYADoAAAAB2MoAAAAB2NoHAAAB3yNDZhBwEAAsWwEB3vAFCg0AAAHd2wYB4qABOgYAAAHewADIAM9eUSAAABAIkGOQIBAAGEAqAwAAAd/qBQAAAeFmNy8wMBYwFEHQAAtwIAAMaggAAAHjugMAAAGy8AJgALOjAAAAEAAAAAADAAEAAAALQDtQO2A9YKnQ+eD+MS5BIbExwTHRMeEx8TIBP7E/wTFBSyFO4UkBiRGJYYlxjKGOwY7RjuGO8YBhohGiIaIxpfGnUadhqhGqIaoxqxGsAaZRuhG38c0BzRHNIcLh0vHTAdAYACoFAAAB4joKAAAB23cnQBgAKwAB2uABugoAAAHO9kbgEDAaBAAAAc6mXzOBoAAJIAAgATAQKgoAAAHctnbvIhFAAAgwYBggKgIAAAGW+wABMWAAFlc/OAAmR01wEAAIWgQAAAExgTAQHyPgEAAG4a") \ No newline at end of file diff --git a/pr/3734/docs/search.index/05876259fdb5.js b/pr/3734/docs/search.index/05876259fdb5.js deleted file mode 100644 index 2cba4fc18b..0000000000 --- a/pr/3734/docs/search.index/05876259fdb5.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIA9PYSAAABANMBAQATgAKwIB1tAAFhbwECAaBgAAAcom3yBxQAAAEAAQQBoCAAABvocwE0GgAAxwEAAIWgMAAAGl+gUAAAGplFwAA7MAAAAQAAGAAIAAAOBAB4DgwAORoBAEEbAADQGwAAohwAAKQcAADgHAAA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/059a5a5cc1dc.js b/pr/3734/docs/search.index/059a5a5cc1dc.js deleted file mode 100644 index 52e9b78626..0000000000 --- a/pr/3734/docs/search.index/059a5a5cc1dc.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQEBoEAAAB2eZfKtHAAAkwAjgAKgEAAAGsludgEFAPQKHgAAAQABAAEAE4ACsDAdGgDaZHJnAAABhaBQAAAb8rBgHQEAw7AACtsCPxQBA/TQGAAA9AIpAZ4A") \ No newline at end of file diff --git a/pr/3734/docs/search.index/05bb300010c2.js b/pr/3734/docs/search.index/05bb300010c2.js new file mode 100644 index 0000000000..df7a92eaab --- /dev/null +++ b/pr/3734/docs/search.index/05bb300010c2.js @@ -0,0 +1 @@ +rn_("AQABoDAAAB8bbwHlHgAAAQIA88wfAAABAAEA8w0BbfOMHwAAAQABAAGAAqCgAAAfRKAwAAAeTW5yAQABoJAAAB8dafdoEAAAegsBAAkAWQMeADMA8wKEOAACOjAAAAEAAAAAAAgAEAAAALYOTRzXHtge2R46H4ofix/hHxOAAqBwAAAeQGFy") \ No newline at end of file diff --git a/pr/3734/docs/search.index/05d44d37bb70.js b/pr/3734/docs/search.index/05d44d37bb70.js new file mode 100644 index 0000000000..16ba36fefd --- /dev/null +++ b/pr/3734/docs/search.index/05d44d37bb70.js @@ -0,0 +1 @@ +rn_("AQIA9u4TAAABAN8IYwGMAOMAgwCEoFAAABz1sGAejgFJoGAAAB6PMBABOjAAAAEAAAAAAAgAEAAAADwU3xXjFR4b2hzvHI0dkx28Hg==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0607160d9805.js b/pr/3734/docs/search.index/0607160d9805.js new file mode 100644 index 0000000000..e46562aed6 --- /dev/null +++ b/pr/3734/docs/search.index/0607160d9805.js @@ -0,0 +1 @@ +rn_("AQ0A9CgfAAABAAEAAQATAAKgYAAAHN5ibjowAAABAAAAAAAMABAAAABKD3MQdBB1ELYQtxC3G7gbLBwtHPUebR9uHw==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/06b1a8d47234.js b/pr/3734/docs/search.index/06b1a8d47234.js deleted file mode 100644 index c94e171186..0000000000 --- a/pr/3734/docs/search.index/06b1a8d47234.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYECsAAdUAABoQAAAB4gZHQjgAKggAAAHiducvMAAXU6MAAAAQAAAAAAMwAQAAAAywr/DAANAQ3YEgoTnBSdFL8U4BThFMcY4xjxGPIY8xj4GAEaAhoQGhIaPRo+Gj8aaBqZGq0azxrQGtEaPhvyG/Mb+Bv5G/ob0xzUHNUc1hwCHQYdFB1SHVMdfh2GHZ8duB3lHSQePh4=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/07270a6b1d45.js b/pr/3734/docs/search.index/07270a6b1d45.js new file mode 100644 index 0000000000..fe8a04f368 --- /dev/null +++ b/pr/3734/docs/search.index/07270a6b1d45.js @@ -0,0 +1 @@ +rn_("AYACoBAAABVHsFAeMwABY2QBAgA7MAAAAQAAxwACAHIQAABKFMYA8wABbTswAAABAADNAAIAoQkAAF8KzAABAAKgQAAAHN+gkAAAHwxlcjowAAABAAAAAAANABAAAADhFeIVCh06HVkfWh9bH1wfvB+9H+gf6R/xH/IfAQMA80caAACKAfMDdwEAgMmgIAAAG/GgQAAAHPWgMAAAH6ugUAAAHYOgYAAAH2dACsoh") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0735c478ea81.js b/pr/3734/docs/search.index/0735c478ea81.js deleted file mode 100644 index 6a598d710b..0000000000 --- a/pr/3734/docs/search.index/0735c478ea81.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACoFAAAB3DoHAAAB0VZWmDAgSwYBvvARqw4B4sAAGgAAAAGkRobXN29akPAAABANoAAQBUCBMBArAADSQAAWNzAcUcAAA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/077a9ad45fc6.js b/pr/3734/docs/search.index/077a9ad45fc6.js deleted file mode 100644 index c50d000963..0000000000 --- a/pr/3734/docs/search.index/077a9ad45fc6.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQDFoJAAAB3FoHAAAB2xOqkvO9vToIAAABzNoKAAAB3ZgAACCzowAAABAAAAAAALABAAAADcGN0YQBr2HHQddR12HXcdzR3OHe0d7h0=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/079bcec19311.js b/pr/3734/docs/search.index/079bcec19311.js new file mode 100644 index 0000000000..d01710fb2f --- /dev/null +++ b/pr/3734/docs/search.index/079bcec19311.js @@ -0,0 +1 @@ +rn_("AYUCoEAAAB+eoGAAAB+/YXIBgAKAFhcAEAGgQAAAHvZncwGDAqAgAAAcuKAAAAAb0GRzE4ECoEAAABuVY2UBgAKgIAAAHaOgEAAAHOZhcycAAIGFoSAAAB/roEAAAB5moNAAAB+2oFAAAB7WCNABAQIAOzAAAAEAABQAAQBtGxQAE4EDoBAAABQQoCAAABYKY2Vv9wEAgIagEAAAFDsloAI=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/07c4d1f0b7b7.js b/pr/3734/docs/search.index/07c4d1f0b7b7.js deleted file mode 100644 index 5c6520af28..0000000000 --- a/pr/3734/docs/search.index/07c4d1f0b7b7.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIA9MYUAAABACkHAQABBgD02BsAAAEAAQABAAELAPR4HQAAAQCDAAEAAQgA9OccAAABANkAAQCzgISgMAAAGo8BSCABBQD00hsAAAEAAQABABOBArBQG9YAAWxzAYACsVAeLAABsHAcnwABcnUBBQA7MAAAAQAABwACAJMaAwBJHQMAAQIA9MIUAAABAAEAAQABBAGwMBydAAF08y8aAAABAAEAAQoA9A8dAAABAAEAAQABBwGwUB2fAEZjAdccAAAjgQKgEAAAHfJlaXdvAACMoKAAAB0TsFAd+gABsLAdTgABsYwf8tIdAAABAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/07d0d299068b.js b/pr/3734/docs/search.index/07d0d299068b.js new file mode 100644 index 0000000000..24f58dbcbd --- /dev/null +++ b/pr/3734/docs/search.index/07d0d299068b.js @@ -0,0 +1 @@ +rn_("AQAAOjAAAAEAAAAAAAcAEAAAAEoPcxB0EHUQthC3EG0fbh8XAAAAiKBgAAAfo6AQAAAVdKAAAAAPZKBQAAAfS6AwAAAc0qAAAAAUPKEgAAAfxSjRAzowAAABAAAAAAATABAAAACIEI8Q7RP3ExIUzhV1GnYa7xrwGvEa8hrzGvQashtQHE8dWx4FH18f") \ No newline at end of file diff --git a/pr/3734/docs/search.index/07ddebe2276d.js b/pr/3734/docs/search.index/07ddebe2276d.js new file mode 100644 index 0000000000..c6f95c2503 --- /dev/null +++ b/pr/3734/docs/search.index/07ddebe2276d.js @@ -0,0 +1 @@ +rn_("AQIA80IVAAABAAEAAYACsIAfcAABsLAfqAABYWwThgKwIB2OAAF0dQEGAbDAH6YAAWnyvRsAAAEAlwEAgIWgYAAAHTagcAAAHTekAQgBgAKwQB4lAAGgcAAAHi1vcwECAPR0HQAAAQABAAEAI4ACsAAN4AABZHQTgAKhEAAAH5ZucqcAAACHoEAAABCkoCAAAA7YsDAcGQABoJAAABwxsGAdSgABMSgDOjAAAAEAAAAAAAsAEAAAAMYO5hMTFD4VPxUKGgsaDBoSHBMcZRxmHAEAArAwHNEBq7AgHCICCmJ1AWgbAAAjhAKwMBwhAgpkcyOAAqAgAAAQiml0AQ4A9LcfAAABAAEAAQATgAKxkB/vAAFhZQEQAaBAAAAfoGUBdR8AAAEDAPPNDgAAAQCTEAEDAbAwHwoAAXTynB0AAAEAAQQA9V0eAAABAAEAAQABAPOAAm9yAQIA9TIcAAABAAEAAQABADMEhKBAAAAc8rDAH4YAATAADAG8EAAAAQcA9IEdAAABAKMBAQATgAKwMBQEB2NjdPOAhBFBAAEFAbDAH2gAAWXy9hUAAAEAAYADsJAeewFdoGAAAB6BsCAOvAABZG50AQEA9JoJAAABAJ8KvAUBAwGgcAAAHqtn8tMOAAChAgGBAqCAAAAfyKBgAAAf2mRzE4gDoNAAAB/ksJAfvgAoYm11AQEBsEAfaAABZfIxHwAANgATggKw0B8lAAFlc/OAAmVvAQABoEAAABzYZQEoGgAAI4ECoFAAABxKa3TX/QEAjaCQAAAeKrBgG/8AAZ+JRzswAAABAACBAAkAOwEAAEIBAQA1CwAAsg4BAL0QAQBFFAEAeBp0AJEbAADeGwEA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/08334cd9f2c9.js b/pr/3734/docs/search.index/08334cd9f2c9.js deleted file mode 100644 index fe18942f21..0000000000 --- a/pr/3734/docs/search.index/08334cd9f2c9.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQUA8wIeAAA0AAEAAQABoIAAAB4+YQFQCQAAAYICoBAAABpZoKAAAB4fYW8BgwKgIAAAGyagAAAAGklkcxOBAqBAAAAaEWNlE4ACoBAAABMZZnNHBwAAx7BQFJwAAaAQAAAdzLAwD4gDmgBFhAn2wQMAAFUJAQABAMEPQAA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/085e85ba7f61.js b/pr/3734/docs/search.index/085e85ba7f61.js deleted file mode 100644 index e4c9850cd3..0000000000 --- a/pr/3734/docs/search.index/085e85ba7f61.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIA8xEUAAABAAEAAYACsIAdwQABsLAd/AABYWwThgKwIBvwAAF0dQEGAbDAHfoAAWnyNhoAAAEAlwEAgIWgYAAAG5+gcAAAG6CkAQgBgAKwQBx9AAGgcAAAHIRvcwECAPTYGwAAAQABAAEAI4ACsAANEAABZHQTgAKhEAAAHexucqcAAACHoEAAAA+6oCAAAA4FsDAakAABoJAAABqksGAbrwABMSgDOjAAAAEAAAAAAAsAEAAAAPQNyhLxEg0UDhSYGJkYmhiKGosa2BrZGgEAAqAwAAAczKAgAAAcg2J1AecZAAAjhAKgMAAAHIJkcyOAAqAgAAAPoml0AQ4A9AoeAAABAAEAAQATgAKhkAAAHj9hZQEQAaBAAAAd9WUBxx0AAAEDAPP7DQAAAQC3DwEDAbAwHVUAAXTy/BsAAAEAAQQA9a4cAAABAAEAAQABAPOAAm9yAQIA9aUaAAABAAEAAQABADMEhKBAAAAbXrDAHdoAATAADAHSDwAAAQcA9OUbAAABAIsBAQATgAKgMAAAGeZjdPOAhBFBAAEFAbDAHboAAWXyyBQAAAEAAYADsJAcywFeoGAAABpesCAN6gABZG50AQEA9AoJAAABAA0KbQUBAwGgcAAAHPdnAYAQAAABgQKggAAAHhqgYAAAHitkcxOIA6DQAAAeNLCQHhIAI2JtdQEBAbBAHboAAWXyfB0AAD0AE4ICsNAdcQABZXPzgAJlbwEAAaBAAAAbQ2UBtxgAACOBAqBQAAAavmt01/0BAI2gkAAAHIGgYAAAGnifiUc7MAAAAQAAdwAIACYBAAAtAQAAkgoAAOANAQDTDwEAIxMBAAEZbABWGgEA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/088b2aa2f93d.js b/pr/3734/docs/search.index/088b2aa2f93d.js deleted file mode 100644 index 528aacd6e9..0000000000 --- a/pr/3734/docs/search.index/088b2aa2f93d.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYQCoEAAAB3JoGAAAB3xYXIBA4SgQAAAHe+ggAAAHjugAAAAHWmgMAAAGy+QAAYBshQAADMAA6AQAAAeI2FjbAHrHQAA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/08b160609443.js b/pr/3734/docs/search.index/08b160609443.js new file mode 100644 index 0000000000..c1687b9db3 --- /dev/null +++ b/pr/3734/docs/search.index/08b160609443.js @@ -0,0 +1 @@ +rn_("AQABoEAAAB+FZfapCwAAAQAOAwEA9RA5AAEBAaAgAAAblWsBdxoAAAGDAqAgAAAcuKAAAAAb0GRz84ACY2VjgAOwQBFxDitlaXk=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/08e80a8566c9.js b/pr/3734/docs/search.index/08e80a8566c9.js deleted file mode 100644 index 3cbf664c78..0000000000 --- a/pr/3734/docs/search.index/08e80a8566c9.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQQA9OcdAAABAAEAAQAjAAOwUB0CAHygEAAAHaBjZW3yqxoAACAAAYECoIAAAB4aoGAAAB4rZHMThYSggAAAHUig0AAAHjSwkB4SACMKEAgBAgKgYAAAHWGgMAAAHMZjcPPlGAAAAQABACOAAqAgAAASxmV5AYADsCAdnwBGoLAAAB1joNAAAB4oZmd0AQYBsJAd9gABYwHRGwAAAQkBoEAAAB4PdAGFHQAA8wMCYnr1mw8AAAEAqgAYCl8AAQIA9A8dAAABAAEAAQABBAD1hRoAAAEAAQABAOsC8wICZXr0kg8AAAEAmQ4BACOAAoANDQAQAWVp84ADZG1uAQEBsAAcmABGZPPHGwAAzQAoACOAAqAQAAAPkW5zE4ACoRAAAB3vb3UBAAGgQAAAHS1lAZMYAAABAAKwMBqfAAGgEAAAHYlsbfYWFAAAvADhAwEAAQDeA7cXAACJoCAAABtFoEAAABSbkElZAaYDAAA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/09197d00168b.js b/pr/3734/docs/search.index/09197d00168b.js deleted file mode 100644 index 8477fc811a..0000000000 --- a/pr/3734/docs/search.index/09197d00168b.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQgA9HQdAAABAAEAAQABAQGgIAAAHcVyOzAAAAEAABIACADsDQIAJQ4IAHkaAACeGgAAsBoAAE0dAAB6HQEAmx0AADMAA7AgG6oAAWVpbzswAAABAAAGAAEARgkGAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/091b9324a3df.js b/pr/3734/docs/search.index/091b9324a3df.js new file mode 100644 index 0000000000..1c63f98d5b --- /dev/null +++ b/pr/3734/docs/search.index/091b9324a3df.js @@ -0,0 +1 @@ +rn_("AQCFoJAAAB+toEAAAB8UoEAAAB7doGAAAB9WoCAAAB5xmAAK8tYbAABxACMBAqBgAAAc2mhz9d8OAAB1CwEAkwINAAECAbBQHrYAfGPylBsAAKQA84ACbnM=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/09bbfd6a07fe.js b/pr/3734/docs/search.index/09bbfd6a07fe.js new file mode 100644 index 0000000000..57b0ffc6b5 --- /dev/null +++ b/pr/3734/docs/search.index/09bbfd6a07fe.js @@ -0,0 +1 @@ +rn_("AQIA9bMcAAABAAEAAQABAPMAAWk7MAAAAQAACAACANAOAAAmEQcAAYECoFAAAB7PsAAadAGHZXPzgAJhcgEAAPXmHAAAWwEBABQAAQABiAKgIAAAH6ygMAAAH7tpcBOAAqBQAAAcRG5yAYUCsDAe0QBxsCAenACAYnUjgAKwIBzRAatpbOcCAACHoDAAAB7QoCAAAB6rsCAcIgIKUwEMOjAAAAEAAAAAABMAEAAAAH4Pfw+AD4EP6BPpE+oT6xPsE0cUSBRJFGgbQB3tHq0fvh/IH9of5h8=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/09f6b979c276.js b/pr/3734/docs/search.index/09f6b979c276.js deleted file mode 100644 index 1beae30c03..0000000000 --- a/pr/3734/docs/search.index/09f6b979c276.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIA9tESAAABAGoITAGCAOsAgwCEoFAAABtfsGAc3wFJoGAAABzgMBABOjAAAAEAAAAAAAgAEAAAABoTsRS1FJ8ZRhtbG+8b9BsJHQ==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0a42e15e08d5.js b/pr/3734/docs/search.index/0a42e15e08d5.js deleted file mode 100644 index df46b06a12..0000000000 --- a/pr/3734/docs/search.index/0a42e15e08d5.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQEA86sYAAABAAEAAQECoFAAAB1ksAAcygBvcnPymxwAAAEAAQAA9TwJAAABAIIBHw41BKcBAICFoQAAAB3voFAAABpmGIAD") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0a64dfb7539b.js b/pr/3734/docs/search.index/0a64dfb7539b.js new file mode 100644 index 0000000000..3808550355 --- /dev/null +++ b/pr/3734/docs/search.index/0a64dfb7539b.js @@ -0,0 +1 @@ +rn_("AQMA9C0fAAABAHoAAQAjAwKgMAAAHsxjbvP2EwAAQgHxCAEBAPYNFwAAAQCjBwEANwABAMcAAICFoFAAABtfoEAAABQ8gB+ZBWABADgD") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0a715a67baa4.js b/pr/3734/docs/search.index/0a715a67baa4.js new file mode 100644 index 0000000000..cd0ae1aa22 --- /dev/null +++ b/pr/3734/docs/search.index/0a715a67baa4.js @@ -0,0 +1 @@ +rn_("AQDFoJAAAB9zoCAAABQPeSvNUF26oIAAAB5/oKAAAB+FgAABCzowAAABAAAAAAAMABAAAADzDU8aUBrIG6oeKB8pHyofKx95H3oflx+YHw==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0a7398042fed.js b/pr/3734/docs/search.index/0a7398042fed.js new file mode 100644 index 0000000000..511bb3b71c --- /dev/null +++ b/pr/3734/docs/search.index/0a7398042fed.js @@ -0,0 +1 @@ +rn_("AYADoFAAAB59oFAAAB5+sRAfuQABY29yAQcBsEAfHwABZQGmHgAAAYACoFAAABy6oFAAAB8ecHUBggKgAAAAHWqgAAAAHWtlcyOAAqBgAAAeuWV0AQMA9bwcAAABAAEAAQABAAEAAaCQAAAfn2w6MAAAAQAAAAAACAAQAAAAoBuFHawezR4EHz4fbx93H68fE4ACoCAAABy7ZG4BBAA7MAAAAQAABQABAGQdBQABBAGgAAAAHkNk82IdAAABAAkB9wIAAYagYAAAHrgUCQM7MAAAAQAAEwAFANQVCgA7GQIA8xwBAKEfAQCkHwEAAQABsEAdYAABZfXPFQAAAQABAAEAAQATAAKwoB+mAAFndgHuGwAA84ACbm8BAwA7MAAAAQAABQACAJsbBABUHgAAI4ACsAAbowA+ZHLnAgABhrBQHPAAAbAAGxwAARRBEjswAAABAAALAAUAwg4DABQPAQBsGgEAvRsBAOocAQATgAKgAAAAGgRjcgECAbCAH/EAAXPy4h8AAAEAVwIAAIagQAAAHp+gQAAAHqCgQAAAHnUTiAI6MAAAAQAAAAAACQAQAAAAAgS0CbUJtgm3CbgJQwtEC08V+Bo=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0af8fce094e4.js b/pr/3734/docs/search.index/0af8fce094e4.js deleted file mode 100644 index 49667e6ba4..0000000000 --- a/pr/3734/docs/search.index/0af8fce094e4.js +++ /dev/null @@ -1 +0,0 @@ -rn_("ARAA9AoeAAABAAEAAQABBQA7MAAAAQAACAADANoYAQBPGgUAAB0AAAEFAqBAAAAdK6AgAAAcwWh1AU4aAAABBADztB0AACwAEQABAgDzexAAAAEAAQABAAD1CQkAACUCAQABAAEAAQEAOjAAAAEAAAAAAAcAEAAAAMkVyhX7HPwcJh0nHTUdNh33BgCAx7BAHioAEwAJZgFjgAOgIAAAHbFhZXg=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0afa5f0fd0f4.js b/pr/3734/docs/search.index/0afa5f0fd0f4.js deleted file mode 100644 index 63b40caf4e..0000000000 --- a/pr/3734/docs/search.index/0afa5f0fd0f4.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYQCsAAbsgABsDAcswABc3QBAAA7MAAAAQAAcwACABoOAACXEHIAE4ACsDAU7wABZHJnAAAAhaAAAAADxbCAHLUAAaBwAAAarrgIADswAAABAAAXAAkAqgoEAB4OAACIEAkA9hIBAMoUAQDfGQAAxxoAAFgdAADLHQAA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0b19848c3d2d.js b/pr/3734/docs/search.index/0b19848c3d2d.js deleted file mode 100644 index 5d90f57a40..0000000000 --- a/pr/3734/docs/search.index/0b19848c3d2d.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQAAOzAAAAEAAAYAAwA9GgIAzxoCAAYdAAATggKgYAAAHRxncgEBAPR+GAAAAQABAJ0E84ACZG4BhgKgQAAAHVygUAAAHeZpckMAA6CwAAAdxKAQAAAdGWxyczswAAABAACgAAQA9QoBADwNnAD0FAAAChoAAAEDAPN2GQAAAQABALMAhKBwAAAb9ZFAAAElAQAA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0bf4b5e58234.js b/pr/3734/docs/search.index/0bf4b5e58234.js new file mode 100644 index 0000000000..5786adbf5c --- /dev/null +++ b/pr/3734/docs/search.index/0bf4b5e58234.js @@ -0,0 +1 @@ +rn_("AQEA8xsaAAABAAEAAQEBoAAAAB56c/JHHgAAAQABAAD1xwkAAAEAngHrDnQEpwEAgIWhAAAAH5mgUAAAG+wYgAM=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0c3e4507ac49.js b/pr/3734/docs/search.index/0c3e4507ac49.js new file mode 100644 index 0000000000..b0918a54d9 --- /dev/null +++ b/pr/3734/docs/search.index/0c3e4507ac49.js @@ -0,0 +1 @@ +rn_("AQMBsIAfvAABc/J3HgAAAQABAwGgIAAAHLFl8oUQAADLDTMAA7CAH1kAAWFpczowAAABAAAAAAAMABAAAADVB7QOJhVQFWEbYhtjG8kbzhvUG9YcPh3GHw==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0c5dcc384802.js b/pr/3734/docs/search.index/0c5dcc384802.js new file mode 100644 index 0000000000..71962177fb --- /dev/null +++ b/pr/3734/docs/search.index/0c5dcc384802.js @@ -0,0 +1 @@ +rn_("AQECoEAAAB8RoFAAAB+RaXL35A4AAJcAAQA3ECsAAQABAAECAaBgAAAeTm3yORUAAAEAE4ECsDAV+AABb3DzgAJjbgEEAaBAAAAc32U7MAAAAQAACQAEAFkfAwC8HwEA6B8BAPEfAQABAAKwcB/cAAGgcAAAHYNlcjswAAABAAAoAAMAZAsAACobJgDSHgAAdwAAAIWgIAAAD4JRPanE6vdQCQEBrwMAAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0c6e2c2dc77a.js b/pr/3734/docs/search.index/0c6e2c2dc77a.js deleted file mode 100644 index 775faf884a..0000000000 --- a/pr/3734/docs/search.index/0c6e2c2dc77a.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQUDoJAAAB3FoIAAAB3zoKAAAB3ZYnN29kAaAAC2AtcAAQAfAAEAEwECoQAAAB4+cHQB6xQAAAEEAPNHGwAAAQABAPMEAWXyCBMAAAEAMwADoCAAAA0VYWVv8jYIAAABAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0c77ec08f5bd.js b/pr/3734/docs/search.index/0c77ec08f5bd.js new file mode 100644 index 0000000000..f709062db8 --- /dev/null +++ b/pr/3734/docs/search.index/0c77ec08f5bd.js @@ -0,0 +1 @@ +rn_("AQIA80IVAAABAAEAAYACsIAfcAABsLAfqAABYWwThgKwIB2OAAF0dQEGAbDAH6YAAWnyvRsAAAEAlwEAgYWgYAAAHTagcAAAHTekAQg=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0c961efb5969.js b/pr/3734/docs/search.index/0c961efb5969.js new file mode 100644 index 0000000000..c60acdd3d9 --- /dev/null +++ b/pr/3734/docs/search.index/0c961efb5969.js @@ -0,0 +1 @@ +rn_("AQIAOzAAAAEAABQABQADHAgADRwDAGAdAQB4HQQAJx8AAAEAAaBAAAAc32U7MAAAAQAACQAEAFkfAwC8HwEA6B8BAPEfAQATgAKgUAAAHYNkc1OAA6DgAAAf02Vvcg==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0cf36c56cebb.js b/pr/3734/docs/search.index/0cf36c56cebb.js deleted file mode 100644 index 9ddd1a5b1d..0000000000 --- a/pr/3734/docs/search.index/0cf36c56cebb.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYICoFAAAB0bsAAY/QF3ZXMBiQKgIAAAHgCgMAAAHg5pcAGFAqAwAAAdlKAgAAAdaGJ1I4ACoCAAABzMaWy3AAAAhaAgAAAc96AgAAAcgxIBDDowAAABAAAAAAASABAAAACnDqgOqQ6qDswSzRLOEs8S0BIlEyYTJxPnGacbPB0SHhoeKx41HgGGAqCQAAAeIqBQAAAdtmJ3AYACoAAAAA+0oJAAAB3dZGwBBwDzjhwAAEIBAQABBAA7MAAAAQAABQABADUbBQDzAgFlOzAAAAEAAAoABQDbEgAAgRgDAJ0cAQCzHAEAVR0BAAGBAqBAAAAd/6AAAAAdVGVzk4CEsGAajQABoAAAAA/UEEBgAYECsFAeQAABoBAAABS9Z3QBBAGgAAAAHNhz9J0YAADzAwEAAQDzAAJldPKyGwAAAQABAgD1+RgAAAEAAQABAO4DE4ACoAAAAA/TcngBgAKwIA+kAAGgQAAAHethaZcDAACGoMAAAB1zoCAAABPtGAgHOzAAAAEAACQADwCVAwIADwgJAIwKAQC+FAAALxoCAHEaAACQGgEAoBsAAPwbAQDcHAAA5BwBAHgdAQC8HQIA/B0BADIeAQABAwGgYAAAHWZiAYIcAADnDQAAibBAHgQABKCQAAAdGqCgAAAdZzoJCzowAAABAAAAAAAXABAAAAD3CvgK2w3cDcYP3hLfEgwT5BTsFAUaBxoTGhQaFRoWGjgabBrKGswagx2EHZodnB0=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0d0a8ea73635.js b/pr/3734/docs/search.index/0d0a8ea73635.js new file mode 100644 index 0000000000..a88f99ee04 --- /dev/null +++ b/pr/3734/docs/search.index/0d0a8ea73635.js @@ -0,0 +1 @@ +rn_("AQABoEAAABoVcgEbHwAAAQEA9bwcAAABAAEAAQABAEOAA6BQAAAcOqAAAAAQoGFncwEBAqBQAAAc0KBwAAAfe2Nm8vINAACBA0OAA6BQAAAfnKAgAAAeoGZtbvOAA2lveQ==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0d28d8f31f5b.js b/pr/3734/docs/search.index/0d28d8f31f5b.js deleted file mode 100644 index f54461b51e..0000000000 --- a/pr/3734/docs/search.index/0d28d8f31f5b.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQQBoGAAAB17YgGaGgAAE4ACoCAAABtPb3UBgAKgEAAAGXqgwAAAHjR0dQGBAqCAAAAeGqBgAAAeK2RzU4GEoIAAAB1IsJAeEgAjChAIAQKFoFAAAByloDAAAB3YoGAAAB4HoJAAAB3GsDAcuQABBIAO8gAaAAA0AwGHAqAAAAAdjKAAAAAdjTQ2E4ACoEAAAByFYXLXBACAx6AAAAAPl6BAAAAbVLAwFNwAAQAKygE=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0d354564eb13.js b/pr/3734/docs/search.index/0d354564eb13.js deleted file mode 100644 index 0b60c79007..0000000000 --- a/pr/3734/docs/search.index/0d354564eb13.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQABoCAAABs9ZvI3CQAAnRATAISgQAAAHJqwABTtBTCgQAAAHg8YAAU7MAAAAQAAVAAUADgIAQC+CgAAog8AAAcTAAAmFB8AzRUAAMgYAADYGAAAfRkfAAsaAABvGgAArhoAAFUbAADlGwEA9xwAACQdAABxHQEAhR0AAAAeAAAiHgAAI4ACsJAdbwABYWU=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0d5e13622f24.js b/pr/3734/docs/search.index/0d5e13622f24.js new file mode 100644 index 0000000000..ac53cba5ec --- /dev/null +++ b/pr/3734/docs/search.index/0d5e13622f24.js @@ -0,0 +1 @@ +rn_("AQQAOzAAAAEAAAUAAQDHHAUA8wIBZTswAAABAAALAAUA+RMBAPIZAwBJHgEAYh4BAAofAQABgAKhMAAAH8qgkAAAH4VhZQEGAaCwAAAfyWbyYBwAAAEAI4ACsBAfAAABcnMBgISgcAAAHn+ggAAAHjWgYAAAHF+g0AAAH0GAQQEBgAKgYAAAH52wMBppAYpvcgEDAPSxHgAAAQA3AAEAAQEA9K8eAAABADcAAQATgQKgQAAAH2JjbQEBAPSBHQAAAQCjAQEAQ4ADoJAAAB6qoGAAAB94Z256AQUCoGAAAB8WoDAAAB52Y3DzWBoAAAEAAQATgAKgUAAAH2FueAEGAPQ/HwAAAQAdAAEA9wMAAIegYAAAH2MYAQ/2Yg8AAAEAgQwTAEIA9AEBAAKwQBYbAAGgwAAAH5xldAFLCwAAAQQBoCAAAB2EcwG5GwAAQwCEoDAAABvloFAAABwksDAfIQABRYAAOzAAAAEAABYABwDUDgMAUA8LAMAbAQDUHAAAbB0AAE4eAQCPHgAAI4ECoDAAABX7aXMBAwKgYAAAHk+gYAAAHsdtdPIFFAAACwYjgAOgoAAAHvGg8AAAH5xjcHTjgISg4AAAH9ARAUABAgD0lx4AAAEA2AABABOAAqBgAAAb+W9yAQUAOzAAAAEAAHsAAgACHAAApx16AIOAhKBQAAAelbBQHBUAAaAgAAAf5QBEDAGJAqCAAAAf2qCQAAAf5mJ1E4IDoHAAAB6BoaAAAB/wY2lyAQIAOzAAAAEAAAYAAwAPFAAAJBQCAC8aAgABDQD0zR4AAHEAMQBAAAEQAaBAAAAf5XQBmx8AAAECAPNXGgAAJARdAfMBAW/ycREAACsO84ADbW5yAYADoEAAAB+roCAAABYWsAAfCQA6ZXJzg4CEoDAAAB8zgB6+BUABsKAeqQAKDCABAYACoAAAABvJoAAAABvKNDbzAgF2ASAWAAATAAKgMAAAFXNkbDswAAABAACpAAIAzwMAAOEHqABX/xMA0aCQAAAfc6BwAAAdSaCQAAAdM6AAAAAQvsBktX87MAAAAQAAIgARAG4DAwC+CQEARwsDAJILAADvDQAA8w0BAG0QAAAcFAAAMhQDAE8aAQDIGwAAPB0BAIQdAACqHgAAKB8DAHkfAQCXHwEA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0d5f8ddb654a.js b/pr/3734/docs/search.index/0d5f8ddb654a.js deleted file mode 100644 index a1edc7d9b1..0000000000 --- a/pr/3734/docs/search.index/0d5f8ddb654a.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQABoHAAABzpcgEAEwAAE4ECoFAAAB4fZ3RDAISwQBLlAAGgEAAACtywMBoLAKMYAQL1YwcAAM4FrgsBADcFEwADsCAK4AABoBAAABBIZGxuAXsZAAA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0d791e760538.js b/pr/3734/docs/search.index/0d791e760538.js new file mode 100644 index 0000000000..376a60fd67 --- /dev/null +++ b/pr/3734/docs/search.index/0d791e760538.js @@ -0,0 +1 @@ +rn_("AQAA880OAAABAJMQAQSEoEAAAB+ZoIAAAB/roAAAAB8doDAAABzBkAAGAeAVAAABCgD0zR4AAHEAMQBAAPOAAm9084ACY2Q=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0d9088ebad1c.js b/pr/3734/docs/search.index/0d9088ebad1c.js deleted file mode 100644 index 131dece451..0000000000 --- a/pr/3734/docs/search.index/0d9088ebad1c.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIA82AbAAABAAEAE4ACoCAAABtjYW8BCADzCx0AAFIAAQA3AAABhrBgHJsAAbBgHZgAAaBgAAAeIaBwAAAc5ixABjowAAABAAAAAAAHABAAAADcEt0S9xP4EwQcBRy1HLYc") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0daa7b7e069d.js b/pr/3734/docs/search.index/0daa7b7e069d.js new file mode 100644 index 0000000000..03fc116637 --- /dev/null +++ b/pr/3734/docs/search.index/0daa7b7e069d.js @@ -0,0 +1 @@ +rn_("AQABoDAAABu6bDowAAABAAAAAAAUABAAAACGD5EQFRaIG4kbrRuuG68bPhw/HEAcQRxCHEMcuxydHqIeqR6zHt4ePB8TgAKgEAAAHxFvcg==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0df224bee486.js b/pr/3734/docs/search.index/0df224bee486.js new file mode 100644 index 0000000000..d6eb425435 --- /dev/null +++ b/pr/3734/docs/search.index/0df224bee486.js @@ -0,0 +1 @@ +rn_("AQIBoCAAABzPZgFUGwAAI4ACoGAAAB9RdHoBAgA7MAAAAQAAFAABAG0bFABXAACAh6AQAAAUELAgG1EAAaAgAAAWCqAgAAAbU6BQAAAc/BRREROAAqAgAAAVMGx0") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0e07ebf58317.js b/pr/3734/docs/search.index/0e07ebf58317.js new file mode 100644 index 0000000000..cedfd30459 --- /dev/null +++ b/pr/3734/docs/search.index/0e07ebf58317.js @@ -0,0 +1 @@ +rn_("AQAAOzAAAAEAAAUAAgAqGgMAaR4BAAEJAPPJHgAAAQABAPMBAnBzOzAAAAEAAA0ABACXEAIASxUAAFAdBQBuHQMAI4ACoFAAAB9FcHIBBwGgQAAAH7ViAU0fAAAThgKwIB5WAAFkbROAAqCAAAAfdG9yAQEBoDAAAB9gdwGAHgAAE4ICsKAfbQABZWkTAAKgUAAAH7NldPMADgAAAQCQEQGDAqBQAAAdkrAwH4AAAWNwAYEDoFAAAB5VoAAAAB+EoLAAAB9yYmR0AYACoEAAAB/LoGAAAB/bYXLzAgFzARIWAADzgAJhcgECAPQgFAAAAQAIBrIEAQEAOzAAAAEAAAYAAwCVEAEASBUCAKceAQBTgISwUBvAAAGwEB5BAAERQAIBgAKgUAAAHFiwIBpSAAFhbwEFAPaLHgAACAABANYAAQABACOBAqBwAAAerm1zAQcBoEAAAB+wYgFJHwAAAQQA9GYaAAABAAEAhwFDgAOggAAAH+egQAAAHlNlbG8BAQGgQAAAFfpm8kMaAAABAPMAy4AjZgc6MAAAAQAAAAAAHAAQAAAAuQm6CbsJvAm9CdIJRQtGC8sObhFvEXARBhoVGjIaghvgG/EbShwuHi8eMB5tHm4ebx7mHlIfUx9UHw==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0e552733fe06.js b/pr/3734/docs/search.index/0e552733fe06.js new file mode 100644 index 0000000000..49561170c7 --- /dev/null +++ b/pr/3734/docs/search.index/0e552733fe06.js @@ -0,0 +1 @@ +rn_("AYICsEAeWAABoEAAAB5aZHPzAAFu8sAJAAABAAECAbCwH48AOmY7MAAAAQAACwAEAKYQAgDEFQIAYBwBAFYdAwDzgAJhZQ==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0e752fca72a9.js b/pr/3734/docs/search.index/0e752fca72a9.js new file mode 100644 index 0000000000..8050a9b441 --- /dev/null +++ b/pr/3734/docs/search.index/0e752fca72a9.js @@ -0,0 +1 @@ +rn_("AQkA9KEfAAABAAIAAQDzBQFj8m0dAAAeAAEBAPTBHgAAAQABAAEA84ACM2UBggKgAAAAH8agAAAAH8c0NvMLAWkBdh8AAAGAArBwHz0AS7BQGmQBh2hyAQEBoGAAAB/QcwFHHQAA8wABdfJKHQAAAQABgAOgMAAAH5Gw0B+CAAGgUAAAHplsbXMjgAKgIAAAG2xhZQEFAPQoHwAAAQABAAEAAQcBoEAAAB+gZQF1HwAAAYECoFAAAB56oFAAAB5baWwBBAA7MAAAAQAAFAAFAAMcCAANHAMAYB0BAHgdBAAnHwAAAQkBoEAAAB/ldAGbHwAAAYACsBAdRQABoGAAAB55ZHT3/AEAzbAwGl0AAaBAAAAfEcBspIs7MAAAAQAAxwAdANQDBQCWCAAApQsAANoOAADkDgAAew8BAIMPAQB6EAEAhBAAAJAQAACfEAAANREBAHURAADeEwAAIhQBAHYVSwDPFQQAFxYCAG4aAADmGwMA+hsAAEkcAABWHAAAZxxFALMcBABFHgAAgR4AALMfAADcHwQA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0f369bcf87d6.js b/pr/3734/docs/search.index/0f369bcf87d6.js new file mode 100644 index 0000000000..0665312e05 --- /dev/null +++ b/pr/3734/docs/search.index/0f369bcf87d6.js @@ -0,0 +1 @@ +rn_("AQABoIAAAB/uYQHfCQAAAYICoBAAABvgoKAAAB/PYW8BgwKgIAAAHLigAAAAG9BkcxOBAqBAAAAblWNlE4ACoBAAABQ7ZnNHAwAAx7BQFcoAAaAQAAAfeLAwEG8D1bBQH64AOQBFhAn2/wMAAOgJAQABAH8QZAA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0f4b4596b5c3.js b/pr/3734/docs/search.index/0f4b4596b5c3.js new file mode 100644 index 0000000000..71f610607a --- /dev/null +++ b/pr/3734/docs/search.index/0f4b4596b5c3.js @@ -0,0 +1 @@ +rn_("AQABsGAfCADJYjswAAABAAAFAAIAxRsCAFwcAgATgQKgYAAAHtBnchOAArBgHPMAAWZuAQEA9O8ZAAABAAEA4gTzgAJkbgGGAqBAAAAfEaBQAAAfkWlyQwADoLAAAB/DoBAAAB7MbHJzOzAAAAEAAKIABACgCwEADA6eACcWAAA1HgAAAQMA8/UaAAABAAEAswCEoHAAAB2UkUAAAToBAAA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0f776f7ae78b.js b/pr/3734/docs/search.index/0f776f7ae78b.js new file mode 100644 index 0000000000..37bb8cd327 --- /dev/null +++ b/pr/3734/docs/search.index/0f776f7ae78b.js @@ -0,0 +1 @@ +rn_("AQkA9KEfAAABAAIAAQDzBQFj8m0dAAAeAAEBAPTBHgAAAQABAAEA84ACM2UBggKgAAAAH8agAAAAH8c0NvMLAWkBdh8AAAEAArDAH2gAAbBgHz0AS2VyOzAAAAEAAA0ABACCCwMA9hUBABwcAwD7HgMAE4ACsFAaZAGHaHIBAQGgYAAAH9BzAUcdAADzAAF18kodAAABAAGAhKBQAAAcVKAwAAAfkbDQH4IAAaBQAAAemQQYAiOAAqAgAAAbbGFlAQUA9CgfAAABAAEAAQABBwGgQAAAH6BlAXUfAAABgQKgUAAAHnqgUAAAHltpbAEEAaAAAAAepHPzGB8AALwAAQAnAAAEhaEAAAAf16BAAAAea6CAAAAf6qBQAAAepRQAFgE6GQAAAQIAOzAAAAEAABQABQADHAgADRwDAGAdAQB4HQQAJx8AACOAAqDgAAAf029yYwADoAAAAB+2ZHJz9yUcAAANAQEAAQBgAA0BDQABCQGgQAAAH+V0AZsfAAABgAKwEB1FAAGgYAAAHnlkdPf8AQDNsDAaXQABoEAAAB8RwGykizswAAABAADOACEA1AMFANsDAgCWCAAApQsAANoOAADkDgAA6w4AAHsPAQCDDwEAehABAIQQAACQEAAAnxAAADURAQB1EQAA3hMAAOcTAAAiFAEAUhUBAHYVSwDPFQQAFxYCAG4aAADmGwMA+hsAAEkcAABWHAAAZxxFALMcBABFHgAAgR4AALMfAADcHwQA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/0ff5d8010662.js b/pr/3734/docs/search.index/0ff5d8010662.js deleted file mode 100644 index d40b9fec6b..0000000000 --- a/pr/3734/docs/search.index/0ff5d8010662.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQMBoCAAABs9ZgHUGQAAFwAAgIWgMAAAGliwIBnRAAGgIAAAGdOgUAAAG2YAFRETgQKgIAAAE/9sdPMAAWk7MAAAAQAAKwEEANAFtgA9CAAAehoAAAcccgABAQGgQAAAGoxl844cAABCAQEA8wABZQESDQAAE4ACsFAeEgAjaHQBBQD16RsAAAEAAQABAAEA8wIBcgGHEAAAAQEAOzAAAAEAAHMAAgB6GgAABxxyACOAAqAQAAAbKWZpAYACsEAcqQABoEAAAByrZHMBAAGgkAAAHfRs9RwaAADcApgAOgA5ALcOAADIoIAAABuasMAdQQABAAbMA/YGDgAAfAI/AjUCjQflAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1020d208c80a.js b/pr/3734/docs/search.index/1020d208c80a.js new file mode 100644 index 0000000000..7f2fd4ed89 --- /dev/null +++ b/pr/3734/docs/search.index/1020d208c80a.js @@ -0,0 +1 @@ +rn_("AQABsCAXDwXaafboDAAAAQABAJoOegCLAgGEArAAHU0AAbAwHmIAAXN0EwMCsIAeZAABZmgB7g4AAMcAAACFoFAAAB6hsBAcXwI2oDAAABcQFCAG9uEDAAC8BTAMWQQBAGsB") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1073189048c2.js b/pr/3734/docs/search.index/1073189048c2.js deleted file mode 100644 index 392d90e9ae..0000000000 --- a/pr/3734/docs/search.index/1073189048c2.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYADoAAAAB2MoAAAAB2NoHAAAB3yNDZhBwEAAMWwEB3vAFCg0AAAHd2wYB4qABOgYAAAHewADIAM9eUSAAABAIkGOQIBAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/10c4cf149a7b.js b/pr/3734/docs/search.index/10c4cf149a7b.js deleted file mode 100644 index e41cad29f7..0000000000 --- a/pr/3734/docs/search.index/10c4cf149a7b.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIBoAAAABCSczowAAABAAAAAAAJABAAAAAVDhYOFw4YDhkOrQ7kGHocyxwpHiMAhKAwAAAPtbBQFPQFFqCAAAAbrghABvMRDgAAvQfDBw==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/10c8e770a386.js b/pr/3734/docs/search.index/10c8e770a386.js new file mode 100644 index 0000000000..d4018658db --- /dev/null +++ b/pr/3734/docs/search.index/10c8e770a386.js @@ -0,0 +1 @@ +rn_("AYACoFAAAB9yoHAAAB7IZWlDAQOwYB2NAS+w4B/cAAFobXb1khAAAAEA5QABANMIAQcBoEAAAB+1YgFNHwAAE4QCsCAeVgABZG0BgAKgAAAAG8mgAAAAG8o0NvMDAXYBIBYAABMAA6AAAAAcObAgHwAAAWFzdfQyFAAAAQABAAEAAQACsDAe0QBxsCAenACAYnU6MAAAAQAAAAAABwAQAAAASRq8G9MbTxyMHZserR4aH/OAAmR0EwACoGAAAB5OZW3yORUAAAEAAQMBoGAAAB7ldQEoHAAAAQcA9H0dAAABAAEAAQAjgQKgUAAAHCBjcgEDADswAAABAAAHAAMAAhQBAAgaAQBfGgMA0wGEoBAAABFyAYkAAbMJAADXAQCAhaEQAAAfowFNAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/11343f5ba3ea.js b/pr/3734/docs/search.index/11343f5ba3ea.js new file mode 100644 index 0000000000..946c273280 --- /dev/null +++ b/pr/3734/docs/search.index/11343f5ba3ea.js @@ -0,0 +1 @@ +rn_("AQAAOzAAAAEAAAcAAwC/CAEAKhoDAGkeAQABCQDzyR4AAAEAAQDHAAAAhaAAAAAf1qCAAAAeoaAAAAAcFASBQjswAAABAAAgAA0AUwEAALkDBQCXEAIAOREAAC4VAAA9FQAAQhUCAEsVAAD0FQEAUB0FAG4dAwCOHQEAAB8BAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1172c0510054.js b/pr/3734/docs/search.index/1172c0510054.js new file mode 100644 index 0000000000..8348616aeb --- /dev/null +++ b/pr/3734/docs/search.index/1172c0510054.js @@ -0,0 +1 @@ +rn_("AQYCoCAAAB1IoDAAAB45YmgBOBoAAAECAPVJHQAANgG+AEsAYgDzAAFvAYYRAAATgAOhAAAAH8OwQBu7AJNob3ABAgA7MAAAAQAABQABAFAdBQDzAgF1AQYaAAABAgD1hh0AAAEAAQABAAEAE4ACsAAUMAABb3ZzgISw8B9vAEAECAbzgAJlbw==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/11a808a23fc1.js b/pr/3734/docs/search.index/11a808a23fc1.js new file mode 100644 index 0000000000..f04773a024 --- /dev/null +++ b/pr/3734/docs/search.index/11a808a23fc1.js @@ -0,0 +1 @@ +rn_("AYkCoEAAAB/LoGAAAB/bYXIBiAKgQAAAH6uwAB8JADplcwGGAqBAAAAfnqBgAAAfv2FyAQQBoDAAAB7TY/LkHAAAAQABBQGgYAAAH7RiOjAAAAEAAAAAAAkAEAAAAJgdmR2aHYUehh6HHgYfBx9BH2YfAQMCoDAAAB6doEAAAB7SaXXzLhwAAAEAAQD3AwABh4AaO01AZRWBA/XCFQAA+AgBAGYAAQABAgGgYAAAHZNoOjAAAAEAAAAAAAcAEAAAAPwV/RW7G04cWxxyHXMdgx3zgAJucg==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/11f2d055dc24.js b/pr/3734/docs/search.index/11f2d055dc24.js new file mode 100644 index 0000000000..cd31df1103 --- /dev/null +++ b/pr/3734/docs/search.index/11f2d055dc24.js @@ -0,0 +1 @@ +rn_("AQgBoIAAAB/hZgENHwAAE4ADoBAAAB5xoFAAAB9jYmRwAQIBsHAffAABZvVpGgAALgFcAEQDAQABAQGgUAAAHV5vAUMUAAAzgAOwMB1KAAFhZWkBgAKgQAAAHkWgUAAAH51wcgGBAqAAAAAaRqAQAAAcN3N184ADYW9yAQIA9LEeAAABADcAAQATgAKgUAAAH1ZldQEBAPSvHgAAAQA3AAEAE4ECoEAAAB9iY20BAQD19hsAAIsBAQCjAQEAAYACoAAAABXNoFAAAB94a3NjgAOgkAAAHqpnbnoBgAKwIBUcAAGgMAAAHt1vdAEDAPMUHwAACwABAAEEAqBgAAAfFqAwAAAedmNw81gaAAABAAEAE4ACsAAaMwABY2RjgISgUAAAHkSgUAAAH2EAKCEBBQD0Px8AAAEAHQABABOAAqCAAAAfrXJ1Z3sAAIuggAAAH+6gMAAAG/KgEAAAGvq5QQ86MAAAAQAAAAAANQAQAAAAxAnfCVcLWAtZC1oLWwtcC10LXguGC+sN8w70Dv8OYg9jD2wPpRCuELIQsxC0ELUQCBQJFBEU6xX9Gf4Z/xkAGjsaRhp0GhwbHRvWG+Qb9xv7GzkcRxxiHGsdLR55HqQeph4PH0YfdB/ZH+0f") \ No newline at end of file diff --git a/pr/3734/docs/search.index/122f0756abd2.js b/pr/3734/docs/search.index/122f0756abd2.js new file mode 100644 index 0000000000..af231a5502 --- /dev/null +++ b/pr/3734/docs/search.index/122f0756abd2.js @@ -0,0 +1 @@ +rn_("AYACoFAAAB9yoHAAAB7IZWlDAQOwYB2NAS+w4B/cAAFobXb1khAAAAEA5QABANMIAQcBoEAAAB+1YgFNHwAAE4QCsCAeVgABZG3zgAJsbw==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1264fe9aa096.js b/pr/3734/docs/search.index/1264fe9aa096.js deleted file mode 100644 index 50d2e3ef71..0000000000 --- a/pr/3734/docs/search.index/1264fe9aa096.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIA9kcQAAD3DCIApgAZAB0AAQIBoDAAAB0dYzowAAABAAAAAAAMABAAAADlFM4YzxgXGhgaGRoaGhsaQxtQG1EbGh30HQEPAPTnHQAAAQABAAEAI4IDoNAAAB3soEAAABs8YWNlAQIBoEAAAB31ZQHHHQAAAQgBsGAdmAABb/IEHAAAAQABAgDzoQ8AAIsKAgABAgA7MAAAAQAABwADAKAPAABwGQUALRoAAPOAAmJ0Fy8AAMqgYAAAGp6gQAAAHf+gMAAAHR6gAAAAHVTAbIgJOzAAAAEAABMACQBfBwMA8AoAAOoNAQD1DQAAig4AANoSAADuEwYAAhQAANYaAQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1284fef869bb.js b/pr/3734/docs/search.index/1284fef869bb.js new file mode 100644 index 0000000000..c79abee93a --- /dev/null +++ b/pr/3734/docs/search.index/1284fef869bb.js @@ -0,0 +1 @@ +rn_("AQIBoAAAAB56c/JHHgAAAQABDQD0KB8AAAEAAQABAPMAAWLztxsAAAEAPQMTgISgYAAAHZCgQAAAHCmgMAAAHjFoAAEBCAD0KB8AAAEAAQABAAEBAaAgAAAfc3I7MAAAAQAAFgALAL4OAgD1DgkAARwAACscAAA8HAAA/x4AAAgfAAAvHwEATB8AALQfAADRHwAAMwADsCAdQwABZWlvOzAAAAEAAAgAAQDTCQgAAQMBoGAAAB+jZvZ1GgAAAQDaAf8AtgFaANcCAICHoEAAAB/WsAAaNgABoIAAAB+JHQBK") \ No newline at end of file diff --git a/pr/3734/docs/search.index/132191450783.js b/pr/3734/docs/search.index/132191450783.js new file mode 100644 index 0000000000..778b34bfae --- /dev/null +++ b/pr/3734/docs/search.index/132191450783.js @@ -0,0 +1 @@ +rn_("AQQBoGAAAB8wYgEmHAAAE4ACoCAAABzjb3UBgAKgEAAAGvmgwAAAH+R0dQGBAqCAAAAfyKBgAAAf2mRzU4GEoIAAAB76sJAfvgAoChAIAQKFoFAAAB5ToDAAAB+EoGAAAB+zoJAAAB90sDAeaQABBIAO8oIbAABkA8cEAIDHoFAAAB4uoAAAABB/oEAAABzosDAWDAABAArKAQ==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/133622085dc6.js b/pr/3734/docs/search.index/133622085dc6.js deleted file mode 100644 index 96d615ab42..0000000000 --- a/pr/3734/docs/search.index/133622085dc6.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACsBAYwgABoEAAABrUbnMjAAOggAAAHj6gMAAAGmthZWY6MAAAAQAAAAAACgAQAAAAUAmVDowYjRiOGI8YyRhZHcYdKh49Hg==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/133b45c47482.js b/pr/3734/docs/search.index/133b45c47482.js deleted file mode 100644 index ab184b24ac..0000000000 --- a/pr/3734/docs/search.index/133b45c47482.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIAOzAAAAEAABEABwDEEgEA4BICAO8UAQDIGwUA2xwAAEYdAQBvHQEAIwACsCAQPwABYXL1khgAAC0DAQABAAEA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/13612458e99a.js b/pr/3734/docs/search.index/13612458e99a.js deleted file mode 100644 index 905e0417b7..0000000000 --- a/pr/3734/docs/search.index/13612458e99a.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACsEAbWQABoJAAAB1ZYXQBAQGg0AAAHXxi8/sKAAABAOkCAYICoAAAAB4YoAAAAB4ZNDbzBwFpAcgdAADjgISgUAAAHYkRoAA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/13bcf3dbe82d.js b/pr/3734/docs/search.index/13bcf3dbe82d.js deleted file mode 100644 index e447ef9010..0000000000 --- a/pr/3734/docs/search.index/13bcf3dbe82d.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACoBAAABl6oMAAAB40dHUBgQKggAAAHhqgYAAAHitkc1MAhKCAAAAdSLCQHhIAIwoQCDswAAABAAAlAAEAdBslAEOAA6AQAAAUFrBQHIoAAWNkdA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/13bf69fc38ac.js b/pr/3734/docs/search.index/13bf69fc38ac.js deleted file mode 100644 index 3f12d59157..0000000000 --- a/pr/3734/docs/search.index/13bf69fc38ac.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQABoGAAAB2bYgFAGwAAAQABoEAAABqMZfOOHAAAQgEBAPOAAmRyJwAAAIWgQAAAHIewcB0+AMigMAAAHTugUAAAHYoYIQg7MAAAAQAACAADABINAACODgYAoRgAAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1404123640e1.js b/pr/3734/docs/search.index/1404123640e1.js deleted file mode 100644 index 1fbf369b80..0000000000 --- a/pr/3734/docs/search.index/1404123640e1.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQkA9HgdAAABAIMAAQABAgGgQAAAHJplAcgYAAABgAKwkBtNAAGgUAAAGsdldQGAAqDAAAAePrBAEwoFvWVvdwEAAIawcBvBAAGgYAAAHISECQY7MAAAAQAAFwAJADcBAgB1AwEAPggBAOkSBACiGAIAuRgDAMQYAQBEGgAAuRwBAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/144de65b26ef.js b/pr/3734/docs/search.index/144de65b26ef.js deleted file mode 100644 index 680707f83c..0000000000 --- a/pr/3734/docs/search.index/144de65b26ef.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIA9cISAACeBwEAAQABAAGAAqAAAAAPhLAwGM4AAWRyAYMCoEAAABzsoEAAABztYmznAAAAh7AQD4MDkrAADiMAAbAgEsECNaAwAAAZbhYBGjswAAABAAAKAAIAwQoCAP8KBwA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1477061c4099.js b/pr/3734/docs/search.index/1477061c4099.js new file mode 100644 index 0000000000..1ac64af7c2 --- /dev/null +++ b/pr/3734/docs/search.index/1477061c4099.js @@ -0,0 +1 @@ +rn_("AYACoFAAAB4ioBAAABr7aXQBAAGgEAAAGvpv9bIQAAABAAEAAQCRDgGAArAQHqcAAaAgAAAe22FvE4ICsHAfgAABbXETgQKg4AAAH7JscAGCAqEAAAAf7KDQAAAf2GttE4ACoGAAAB6SYWsBgQKwgB9SAAGggAAAH1RldwGCAqAAAAAb1KAAAAAb1TQ2AYMCsDAekAABsEAeugABcHMBgAKhAAAAH8+goAAAH0plbKf5AACMoGAAAB5tsGAebgABoPAAAB+xsKAfIQABlbUHOzAAAAEAADMAAgDIDgIAGA8wAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/149dc3626958.js b/pr/3734/docs/search.index/149dc3626958.js deleted file mode 100644 index 11ed02c0bf..0000000000 --- a/pr/3734/docs/search.index/149dc3626958.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQkBoIAAAB4xZgFXHQAAIwACoCAAABpvaXUB1RoAAAECAbCAHd4AAWbyRRoAAAEAE4ACoKAAAB4XcnTzgAJhcyOAA6CQAAAdLKAAAAAbn2R0dg==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/150b8987e961.js b/pr/3734/docs/search.index/150b8987e961.js deleted file mode 100644 index c31958bd2c..0000000000 --- a/pr/3734/docs/search.index/150b8987e961.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQMBsDAdVQABdPL8GwAAAQABBAD1rhwAAAEAAQABAAEA84ACb3IBAgD1pRoAAAEAAQABAAEAM4UDsMAd2gABZWZ1") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1555c5cf6a77.js b/pr/3734/docs/search.index/1555c5cf6a77.js new file mode 100644 index 0000000000..9c96999dec --- /dev/null +++ b/pr/3734/docs/search.index/1555c5cf6a77.js @@ -0,0 +1 @@ +rn_("AQMA9LEeAAABADcAAQABAQD0rx4AAAEANwABABOBAqBAAAAfYmNtAQEA9IEdAAABAKMBAQAjgAKgYAAAH3huegEGAPQ/HwAAAQAdAAEA1wEAAIegYAAAH2GgcAAAH52gYAAAH2MYAQ/05BsAABMAQgD0AQGAAqAAAAAbyaAAAAAbyjQ28wMBdgEgFgAAFwEAAMigkAAAH3OgIAAAFA+gYAAAHpWggAAAHn+wIB8AAAGgoAAAH4XAABEPOzAAAAEAABAACADzDQAAMhQDAE8aAQDIGwAAqh4AACgfAwB5HwEAlx8BAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1582fb610944.js b/pr/3734/docs/search.index/1582fb610944.js deleted file mode 100644 index 03dc3aceb3..0000000000 --- a/pr/3734/docs/search.index/1582fb610944.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYkCoEAAAB2uoGAAAB3gYXIBBQA7MAAAAQAABwACAOkSBACiGAIAAYoCoEAAAB3JoGAAAB3xYXLjgISgUAAAG5oMCAE=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/15b3355433ed.js b/pr/3734/docs/search.index/15b3355433ed.js new file mode 100644 index 0000000000..4d97813d67 --- /dev/null +++ b/pr/3734/docs/search.index/15b3355433ed.js @@ -0,0 +1 @@ +rn_("AQQA8zsdAAC2AXMAAQsA9IUdAAAnAVgAcwBnAAAAhaCAAAAfRaAwAAARdbBAEI4ErQWBBDswAAABAAAiAAEAgwMiAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/15d16855f12a.js b/pr/3734/docs/search.index/15d16855f12a.js new file mode 100644 index 0000000000..d8ef04697a --- /dev/null +++ b/pr/3734/docs/search.index/15d16855f12a.js @@ -0,0 +1 @@ +rn_("AQABoIAAAB89dAGQEAAAE4ACsEAffgABZ3YBAQGgQAAAH4Vl9qkLAAABAA4DAQD1EDkAAQABsAAWHwWCcjswAAABAAA/AAQAKRQAAFQVHgBLGgAA/RoeACOBArCQHyMAAWFlIwECoEAAAB+gZWkBdR8AANOAhKBgAAAcUSkgAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/15fb41da9a34.js b/pr/3734/docs/search.index/15fb41da9a34.js deleted file mode 100644 index 12ebf2a724..0000000000 --- a/pr/3734/docs/search.index/15fb41da9a34.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYICoAAAAB4YoAAAAB4ZNDbzBQFpAcgdAAAjAAKgMAAAHKthYgFFGwAAAQcBoEAAAB4EYgGaHQAAE4YCsCAclgABZG0BAwDzExoAAHADAQAjgAKgIAAAGNRhciMAAqAgAAAUn2l0AS4OAAABgAKgcAAAG8SgAAAAEyNheAGAAqBQAAAbW6AwAAAY02FlAQcBoEAAAB4IYgGcHQAAAQUA8xIaAACbAHcDAQUBsGAd0gABaQEDHQAA8wMBaAGeFAAA1zkAAYqgYAAAGnmwMB1BAAGwIBynAAGPFAc7MAAAAQAADAAGAMcKAgAuDAQABBQAAN8UAABcGwEApRwAAAECADswAAABAAAFAAEA5RMFAAEEADswAAABAAAFAAEApRkFAPOBAmNyAQACsDAcqQABoCAAABoRYWsBABkAAPOAhAgoAg==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/164212a92816.js b/pr/3734/docs/search.index/164212a92816.js new file mode 100644 index 0000000000..fedcf22dcc --- /dev/null +++ b/pr/3734/docs/search.index/164212a92816.js @@ -0,0 +1 @@ +rn_("AQoBoIAAAB/hZgENHwAAAQMBsIAfigABZvLMGwAAAQDzgwJhcwEDAqAgAAAdSKAwAAAeOWJoATgaAADzAAJobQGgCQAA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/16a98f8d6736.js b/pr/3734/docs/search.index/16a98f8d6736.js new file mode 100644 index 0000000000..c795330172 --- /dev/null +++ b/pr/3734/docs/search.index/16a98f8d6736.js @@ -0,0 +1 @@ +rn_("AQcBoEAAAB+wYgFJHwAAE4YCsCAeQQABZG0BCQGggAAAH+FmAQ0fAAABAwGwcB98AAFm85cbAACgAwEAQ4ADoCAAABpGoFAAAB5FYW9yAYACoBAAABXNoBAAABv2bnrjAISgYAAAHkQQAQz0/w4AAK8BtAtCAgEAAPR0HQAAAQABAAEAAQICsGAejgFJoGAAAB6PZm0B3xUAACOBAqBAAAAevWVso4CEoHAAAB1foAAAABRFAUBgAYADoFAAABv3oLAAAB8ZsCAVUgABYWxvAQIAOzAAAAEAACYAAQA8ESYAAQYA894fAAABAAEAAQMA88AfAAABAAEA8wQCcHMBJB4AAAGAAqAgAAAbsqAgAAAbs2J08wIBYQE0FQAAAYACoFAAABxJoCAAABoEY27zgAJudAEFADswAAABAAAKAAIA7xUAAFUbCQABCwDz4B4AAAEAAQABCAGwQB6/AAFlOzAAAAEAAA0AAgAbHAAA/RwMAAECAaAAAAAaA3MBMxUAABOAAqAQAAARO2Ru5xsAAAqwMBUxAAGwgB9QAHqggAAAHQowYWRlZmlrcnN1OzAAAAEAADwCBQDJAwAA9QbfAO0OAAD0Et8AERd6AAGAhKBQAAAdbLAQHlYAAaAQAAAa+aDAAAAf5BAADgECADowAAABAAAAAAANABAAAACtG64brxs+HD8cQBxBHEIcQxyiHqkesx7eHjwfAYADoEAAAB/WsDAdQwABoEAAAB4xY2RlAYACoDAAAB9OsBAcEgABcnjzAAFlOzAAAAEAAA0ABQDkFQQAHxsEACMeAADuHgAAgh8BAMcCAICHoJAAAB9RsKAe+AABoBAAAA7joBAAABxRDTgEAYCEoFAAABzvoDAAABpFoDAAABwRoGAAAB/qEUABAQIA9joRAAC1DSYAnQAdAB0AAQ8A9JIfAAABAAEAAQATggKgQAAAHM5jZfMAAm528scOAACaAEOAhKCQAAAeKKAgAAAQrqAQAAAOxkAgIQEDAaBAAAAftWIBTR8AAPMCAWf0qBsAAAEAAQCaAxOAAqBwAAAe+mFpAQIA85YbAAC0A4kAE4ICoPAAAB/qZmcBAQGwgB/oAAFz8lcfAAABAAEJAbCAH/EAAXPy4h8AAAEA84ACZGkBgAKggAAAH8igYAAAH9pkc5OAhKDAAAAfMaBQAAAcAQBBSAEFAbBgH34AAWkBtx4AAPMCAWgBzBUAAAECAbCAH4oAAWbyzBsAAAEAAQIAOzAAAAEAAAkABAClGwIAPRwAAIIeAgDgHgIARwUAgIegIAAAFBKgEAAAHxawIBCsAAGgoAAAH8UOAQ337QcAkLAwG6sAAbAwHvMAAbCQH74AKN/VDzswAAABAAAMAR0AswgAAEELAQBxCwIApwsBAOsMBAC3DgAA0Q4AAF0PAQB8EAIAuRACADYVAADpFQEAEBYAAA0XAQA+GbAAGBoAACQbBQBrGwAAxBwBAPAcAQALHSYAMx4BAFMeAACjHgAAsR4BAOkeAQD2HgAAGB8AANQfAQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/17331cca231b.js b/pr/3734/docs/search.index/17331cca231b.js new file mode 100644 index 0000000000..585ce5c030 --- /dev/null +++ b/pr/3734/docs/search.index/17331cca231b.js @@ -0,0 +1 @@ +rn_("AQEBoAAAAB/QcgF1FQAAE4ECoEAAABr8YnABAwD0whwAAAEA/AEBABOAArAwHMQAAXJ2QwCEsGAe/wAwsFAexgBzoDAAABwMFgEAOzAAAAEAAB4ACwDwEwQAERUEAKIbAACkGwAAGxwAACMcAAD9HAwAph0AAPoeAACPHwAAyR8AACOCArAQFeEAAWV5AYMCsBAbowA+sAAbHAABZXMBAgD29RMAADcADQYdAD0BkQBTgAOwsB/UAAFmZ25jgAOgEAAAFiRkbnYBgAKwIBxFAAGwIBU3CUZucwEDAaBQAAAf02MBNhUAAPOAAmlvAYQCoDAAAB+qoFAAAB/EY3LXAQAAhaDAAAAf7hRIAQH3HgAA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/178a1a9950b9.js b/pr/3734/docs/search.index/178a1a9950b9.js new file mode 100644 index 0000000000..8205e85fc7 --- /dev/null +++ b/pr/3734/docs/search.index/178a1a9950b9.js @@ -0,0 +1 @@ +rn_("AQIA8/YcAAABAAEAE4ACsCAcFwDiYW8BCADzvh4AAFQAAQA3AAADhbBgHkcAAbBgH0cAAaBwAAAelSxABDowAAABAAAAAAAHABAAAAD7E/wTKBUpFaQdpR1kHmUe") \ No newline at end of file diff --git a/pr/3734/docs/search.index/17e7434c7576.js b/pr/3734/docs/search.index/17e7434c7576.js deleted file mode 100644 index 99bfa10840..0000000000 --- a/pr/3734/docs/search.index/17e7434c7576.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQMBsDAdVQABdPL8GwAAAQABBAD1rhwAAAEAAQABAAEA84ACb3IBAgD1pRoAAAEAAQABAAEAMwKEoEAAABtesMAd2gABMAAMAdIPAAAjgAKgQAAAGQBpdA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/18453d3aedf0.js b/pr/3734/docs/search.index/18453d3aedf0.js deleted file mode 100644 index c9f5f991a0..0000000000 --- a/pr/3734/docs/search.index/18453d3aedf0.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIAOzAAAAEAAAUAAgCAHQIAHB4CAPMAAW06MAAAAQAAAAAABwAQAAAAmhQ7G8IcwxzEHOEd4h3jHSOAArAADiEKe3JzIwADoDAAABjKsDATDgABYWVy8/4bAAAGAgQA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/18cac2ba2656.js b/pr/3734/docs/search.index/18cac2ba2656.js deleted file mode 100644 index 6a1d961a10..0000000000 --- a/pr/3734/docs/search.index/18cac2ba2656.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACoFAAABx6oBAAABl8aXQBAAGgEAAAGXtv9ccPAAABAAEAAQDNDQGAArAQHPMAAaAgAAAdJWFvE4ICsHAd1AABbXETgQKg4AAAHgZscAGCAqEAAAAePKDQAAAeKWttE4ACoGAAABzjYWsBgQKwgB2hAAGggAAAHaNldwGCAqAAAAAaTKAAAAAaTTQ2AYMCsDAc4QABsEAdBwABcHOH+QAAjKBgAAAcvaEQAAAeH7BgHL4AAaDwAAAeBbCgHW0AAZW1BzswAAABAAAyAAIA9g0CAEQOLwA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/190e66bb1f96.js b/pr/3734/docs/search.index/190e66bb1f96.js new file mode 100644 index 0000000000..e5503616a0 --- /dev/null +++ b/pr/3734/docs/search.index/190e66bb1f96.js @@ -0,0 +1 @@ +rn_("AQEA85kfAABWAAEAFwAAAMWg0AAAH4mwYB/ZABSgYAAAH5aggAAAH5oADIAMOjAAAAEAAAAAAAgAEAAAAAYUBxTuGiocsRyyHEEdQh0sHw==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/194dea839e81.js b/pr/3734/docs/search.index/194dea839e81.js new file mode 100644 index 0000000000..5c216b1a95 --- /dev/null +++ b/pr/3734/docs/search.index/194dea839e81.js @@ -0,0 +1 @@ +rn_("AQABsIAfWwABc/NkGwAAAQABAAEDAbCAH7wAAXPydx4AAAEAEwACsIAfWQABaXPzYRsAAAEAAQDzgQI0NiOAArAAETcAAWRw") \ No newline at end of file diff --git a/pr/3734/docs/search.index/199a3191f51a.js b/pr/3734/docs/search.index/199a3191f51a.js new file mode 100644 index 0000000000..79d9935b9c --- /dev/null +++ b/pr/3734/docs/search.index/199a3191f51a.js @@ -0,0 +1 @@ +rn_("AQAA9EsBAABhAgEAzQtDAAOgAAAACL2gQAAAEKk4ZW46MAAAAQAAAAAADgAQAAAAUAJzA7cDrw6wDrEOLhEwETERMhH+FcEewh7DHsQe") \ No newline at end of file diff --git a/pr/3734/docs/search.index/19ba7e31c0fb.js b/pr/3734/docs/search.index/19ba7e31c0fb.js new file mode 100644 index 0000000000..c071161e9c --- /dev/null +++ b/pr/3734/docs/search.index/19ba7e31c0fb.js @@ -0,0 +1 @@ +rn_("AQQAOzAAAAEAAAsAAwB8EQkAYBsAAFMcAAABBgD0Vh0AAAEAAQABAAEAAbAgFw8F2mn26AwAAAEAAQCaDnoAiwITAAKgMAAAFxBzdPSdCQAAiRABAGsBE4ACoLAAAB9La3PTgISgQAAAHzoAoAY=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1a2b3f3a01e7.js b/pr/3734/docs/search.index/1a2b3f3a01e7.js new file mode 100644 index 0000000000..1cf065ae77 --- /dev/null +++ b/pr/3734/docs/search.index/1a2b3f3a01e7.js @@ -0,0 +1 @@ +rn_("AQIAOzAAAAEAAAUAAQAWFQUAAYACsBAdQwABoBAAAB8ObncBCAD0KB8AAAEAAQABAAEBAaAgAAAfc3I7MAAAAQAAFgALAL4OAgD1DgkAARwAACscAAA8HAAA/x4AAAgfAAAvHwEATB8AALQfAADRHwAAAQQAOzAAAAEAAAUAAQAkGwUA9wEAAIagYAAAHUwUQQk7MAAAAQAADQAGANMJCABJHQAAfx4AAD0fAACIHwAA6h8AAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1a38dd55f4c5.js b/pr/3734/docs/search.index/1a38dd55f4c5.js deleted file mode 100644 index 3304ce23b6..0000000000 --- a/pr/3734/docs/search.index/1a38dd55f4c5.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQcBoEAAAB4EYgGaHQAAE4YCsCAclgABZG0BCQGggAAAHjFmAVcdAAABAwGwcB3QAAFm8xMaAABwAwEAI4ACoCAAABjUYXIBgAKgEAAAFJ+gEAAAGm9uegEIAaBwAAAeI2QBWx0AANcBAACFoGAAAByZFAEM9C4OAACWARELHAIBAAD02BsAAAEAAQABAAECArBgHN8BSaBgAAAc4GZtAbEUAAAjgQKgQAAAHQplbKOAhKBwAAAbxKAAAAATIwFAYAGAA6BQAAAacKCwAAAdZbAgFCQAAWFsbwECADswAAABAAAlAAEASRAlAAEGAPMuHgAAAQABAAEDAPMTHgAAAQABAPMEAnBzAXwcAAABAgGwUB2fAEZjAdccAAABgAKgIAAAGi2gIAAAGi5idPMCAWEBAhQAAAGAAqBQAAAavaAgAAAYkmNu84ACbnQBBQA7MAAAAQAACQACAMEUAADVGQgAAQsA8y4dAAABAAEAAQgBsEAdDQABZTswAAABAAANAAIAkhoAAGcbDADHHwAACbAwFAAAAaAgAAAQSDBhZGVmaWtyczswAAABAAAWAgUAjgMAAIcG0AAdDgAA6BHQAM8VcgABgISgUAAAG9CwEBynAAGgEAAAGXqgwAAAHjQQAA4BAgA6MAAAAQAAAAAADQAQAAAAKRoqGisashqzGrQatRq2Grca7xz1HP8cLB2OHQGAA6BAAAAeJ7AwG6oAAaBAAAAciGNkZQGAAqAwAAAdnbAQGooAAXJ48wABZTswAAABAAANAAUAthQEAKAZBAB7HAAAPR0AANYdAQBnAQCAhrCgHUYAAaAQAAAOEaAQAAAaxQw4BAGAhKBQAAAbW6AwAAAY06AwAAAaiaBgAAAeOhFAAQECAPZHEAAA9wwiAKYAGQAdAAEPAPTnHQAAAQABAAEAE4ICoEAAABs8Y2VjAAOgMAAAHR5mbnby9Q0AAJUAI4ADoCAAAA/EoBAAAA30bnJ4AQMBoEAAAB4IYgGcHQAA8wIBZ/QkGgAAAQABAG8DE4ACoHAAAB1IYWkBAgDzEhoAAJsAdwMTggKg8AAAHjpmZwEBAbCAHjgAAXPyqB0AAAEAAQkBsIAeQAABc/IyHgAAAQDzgAJkaQGAAqCAAAAeGqBgAAAeK2Rzk4CEoMAAAB18oFAAABp5AEFIAQUBsGAd0gABaQEDHQAA8wIBaAGeFAAAAQIBsIAd3gABZvJFGgAAAQABAgA7MAAAAQAACQAEACEaAgCxGgAA0BwCAC4dAgABAQGgcAAAHiNkAVsdAADzAQFlAWEdAABnBQCAh6AgAAAS8LAgD8IAAaCgAAAeFw4BDfftBwCQsDAaJwABsDAdQQABsJAeEgAj39UPOzAAAAEAAAIBHACdCgEAxwoCAPsKAQAuDAQA5Q0AAP8NAACGDgEAlA8CAM8PAgAEFAAAuxQBAN8UAADLFQEA1henAKgYAAClGQUA6hkAADIbAQBcGwEAdBslAIocAQClHAAA8BwAAP0cAQAoHQEANx0BAGMdAAAlHgEA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1a7812627ca8.js b/pr/3734/docs/search.index/1a7812627ca8.js new file mode 100644 index 0000000000..d42483b8f8 --- /dev/null +++ b/pr/3734/docs/search.index/1a7812627ca8.js @@ -0,0 +1 @@ +rn_("AQABoIAAAB/hZvJwEAAAnQ4BBwDz1x4AAAEAAQAjgAKgUAAAHLlhb/MCAmZz9sEOAAA/AAEAAQAjB9UGE4ADsIAbsQCXsBAM8gABYWVv") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1b4f0650b9f8.js b/pr/3734/docs/search.index/1b4f0650b9f8.js deleted file mode 100644 index d35bd4a78a..0000000000 --- a/pr/3734/docs/search.index/1b4f0650b9f8.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQcA9LsbAAABAAEAAQABgAKggAAAHNmgwAAAHZdpeQEHADswAAABAAAFAAEAtRsFAAECAbBAHWsAAWUB8hwAABOAAqBAAAAciXByAQkBoAAAABzYc/OQHAAAAQABAAEAAPQdGwAAAQABAAEA8wUBc/J1GgAAAQABgAKg4AAAHiegQAAAGg5vcgGCAqCwAAAdt7AQGMsAAWlyt7YAAIygoAAAHQCg8AAAHc+gkAAAHJOg4AAAHbgN8Q/ybhkAAEQE") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1bbfd3862bf4.js b/pr/3734/docs/search.index/1bbfd3862bf4.js new file mode 100644 index 0000000000..b2da10b358 --- /dev/null +++ b/pr/3734/docs/search.index/1bbfd3862bf4.js @@ -0,0 +1 @@ +rn_("AYkCoEAAAB/LoGAAAB/bYXIBiAKgQAAAH6uwAB8JADplcwGGAqBAAAAfnqBgAAAfv2FyAQQBoDAAAB7TY/LkHAAAAQABBQGgYAAAH7RiOjAAAAEAAAAAAAkAEAAAAJgdmR2aHYUehh6HHgYfBx9BH2YfAQMCoDAAAB6doEAAAB7SaXXzLhwAAAEAAQD3AwACh4AaO01AZRWBAwHCFQAAAQQAOzAAAAEAACYAAQALHSYA84ACYW8=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1bebf5318d5d.js b/pr/3734/docs/search.index/1bebf5318d5d.js deleted file mode 100644 index 8bd822bd61..0000000000 --- a/pr/3734/docs/search.index/1bebf5318d5d.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQABoDAAABo1bDowAAABAAAAAAAQABAAAACuDqgPKRoqGisashqzGrQatRq2GrcaKRvvHPUc/xwsHY4dE4ACoBAAAB1cb3I=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1c4cc1d9c04a.js b/pr/3734/docs/search.index/1c4cc1d9c04a.js deleted file mode 100644 index 3d9ad26e93..0000000000 --- a/pr/3734/docs/search.index/1c4cc1d9c04a.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACsFAd4AARsQAeDAABZXgjgAKwQB2uABthcgEHAbBAHWsAAWUB8hwAAAGAAqBQAAAbKKBQAAAdanB1AYICoAAAABvOoAAAABvPZXMjgAKgYAAAHQVldAECAPUqGwAAAQABAAEAAQAjgAKgcAAAHaBhbwEAAaCQAAAd9Gz1HBoAANwCmAA6ADkAE4ACoCAAABspZG4BgwKgEAAAHX2gsAAAHiFscwEEADswAAABAAAFAAEAyBsFAAEEAaAAAAAcmGTyxxsAAPUA5wsAAYigsAAAHeugYAAAHQSWCQM7MAAAAQAAEQADAKYUCgDTFwIA9h0DAAEAAbBAG8UAAWX1oRQAAAEAAQABAAEAEwACsKAd+gABZ3YBZxoAAPOAAm5vAQMA9RcaAAABAAEAAQABACOAArAAGh8AO2Ry5wIAAYawUBtcAAGwABmdAAEUQRI7MAAAAQAACwAFAPANAwBCDgEA9hgBADYaAQBWGwEAE4ACoAAAABiSY3IBAgGwgB5AAAFz8jIeAAABAFcCAACGoEAAABzsoEAAABztoEAAABzFE4gCOjAAAAEAAAAAAAkAEAAAAMQDKQkqCSsJLAktCZ8KoAogFHkZ") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1c559d272bbd.js b/pr/3734/docs/search.index/1c559d272bbd.js new file mode 100644 index 0000000000..d873a94908 --- /dev/null +++ b/pr/3734/docs/search.index/1c559d272bbd.js @@ -0,0 +1 @@ +rn_("AQIA9MEeAAABAAEAAQABBQD0KB8AAAEAAQABAAEEADswAAABAAANAAMAAxwIAA0cAwAnHwAAswCEoHAAAB6ZEICBOjAAAAEAAAAAAAcAEAAAANoOehB7ECIUbhr6G9wf3R8TgAOgMAAAHmigUAAAH89nc3Q=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1c60d02e784a.js b/pr/3734/docs/search.index/1c60d02e784a.js deleted file mode 100644 index 888ee05521..0000000000 --- a/pr/3734/docs/search.index/1c60d02e784a.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIA85gYAAABAAEAAQABsIAdrAABc/PjGQAAAQABAAEDAbCAHhAAAXPyxxwAAAEAEwACsIAdqgABaXPz4BkAAAEAAQDzggI0NgEDAPPoGAAAAQDXAwEBAbCAHjgAAXPyqB0AAAEAAQkBsIAeQAABc/IyHgAAAQDziAJkafOAAm5yVwIAAIawUBoyAAGgcAAAHVqgYAAAHSowIQbz/xkAAH4CAQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1cd4fe9b1848.js b/pr/3734/docs/search.index/1cd4fe9b1848.js deleted file mode 100644 index d95518321c..0000000000 --- a/pr/3734/docs/search.index/1cd4fe9b1848.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQEBoGAAAB2bYgFAGwAAE4QDoDAAAB07oFAAAB2KZW51E4ACoJAAAB2LYnQBhAOwYB2vAAGwMB01AAGwMB03AAFkcnMTgAKwIBtNAAFjcvOAAmF1") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1d61345642de.js b/pr/3734/docs/search.index/1d61345642de.js new file mode 100644 index 0000000000..22419e5366 --- /dev/null +++ b/pr/3734/docs/search.index/1d61345642de.js @@ -0,0 +1 @@ +rn_("AQABoCAAAB9OcvPgHAAAVgEBAAGBAqCQAAAfUaAQAAAcUWF0AQgA9MEeAAABAAEAAQDzgAJjdDMAA7AQHBIAAW5yePPgAwAA1AQBAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1d9b70ae6928.js b/pr/3734/docs/search.index/1d9b70ae6928.js deleted file mode 100644 index 09843f994d..0000000000 --- a/pr/3734/docs/search.index/1d9b70ae6928.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYkCoCAAAB4AoDAAAB4OaXATAAKgIAAAHPdlaTswAAABAAAJAAQAzBIEACUTAgCnGwAAPB0AAIMAhLBAHgQABKBAAAAc6qEAAAAeIhIAAzowAAABAAAAAAAHABAAAADGD94S3xI4GsoazBqaHZwdAQEBsFAd2gABc/MfDgAAAQBiATOAA6AwAAAUCWRtdA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1e60d23e6de0.js b/pr/3734/docs/search.index/1e60d23e6de0.js deleted file mode 100644 index 2ac037dd73..0000000000 --- a/pr/3734/docs/search.index/1e60d23e6de0.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQMBsFAdnwBGYwHXHAAAI4ACoHAAAB46aG8BggKwABvOAO2gAAAAG89lcyMAAqBgAAAdBWV08gcOAAAhDQGAAqBgAAAb/qAAAAAeAWlzAQIA9SobAAABAAEAAQABACOAAqBwAAAdoGFvAQABoJAAAB30bPUcGgAA3AKYADoAOQATgAKgIAAAGylkbgGCAqAQAAAdfaCwAAAeIWxzE4ACoCAAABqvYWkBAwGgAAAAHPFz82MdAADCAAEAAQMAOzAAAAEAAAoABADIGwUA2xwAAEYdAQBvHQEA84ACcnYBAwGwAByYAEZk88cbAADNACgAE4ACoPAAAB4obG8BgAKgUAAAHUWgUAAAHbdibNfPAACMoLAAAB3roGAAAB4XoGAAAB0El1kHOzAAAAEAAB0ADgDjCgAAEg4AAJAPAADODwAACRQAAKYUCgDSFwMA1BoAALEbAADDGwAAFR0AAB8dAADDHQAA9h0DAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1e61548c93ac.js b/pr/3734/docs/search.index/1e61548c93ac.js new file mode 100644 index 0000000000..b98f76ab27 --- /dev/null +++ b/pr/3734/docs/search.index/1e61548c93ac.js @@ -0,0 +1 @@ +rn_("AQIA8+AcAABWAQEAAQABsGAfbQABZQFEHAAAQ4EDsJAfAgABoDAAABv4Y25zZwAAgIagcAAAHNKgEAAAFCOgYAAAHsiwcB2VAAENYAI=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1e85c7890889.js b/pr/3734/docs/search.index/1e85c7890889.js new file mode 100644 index 0000000000..f09a43eaed --- /dev/null +++ b/pr/3734/docs/search.index/1e85c7890889.js @@ -0,0 +1 @@ +rn_("AQkCoDAAAB+EoGAAAB+zcHMB5h4AAAEGAPPeHwAAAQABAAEDAPPAHwAAAQABAPONAnBz8wICZXDz7A0AAAEAAQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1ee9b59327c9.js b/pr/3734/docs/search.index/1ee9b59327c9.js new file mode 100644 index 0000000000..70572fab37 --- /dev/null +++ b/pr/3734/docs/search.index/1ee9b59327c9.js @@ -0,0 +1 @@ +rn_("AQACoDAAABr4oSAAAB/RY3MBzg0AAPMAAWUB6x8AAAEFAbBwH2oAAWjyUh8AAAEAAQEAOjAAAAEAAAAAAAcAEAAAAPkN+g37DfwN/Q1HGtEbxB/zgAJvdAGEAqCQAAAfdLAwHmkAAXR1AYECsEAc7QABoJAAAB8PYXQBBADz9RoAAAEAAQBXAQCAhqCAAAAdpqAQAAAcFKBAAAAf6wwJBQEBAPN+CwAAAQABAAEAAaBQAAAeiWMBxxUAAPMAAmx0AbEIAAABBAGgQAAAHNllAYUbAAABAwGgQAAAHNhlASgaAAABAMawYB9+AAGgIAAAE/2gMAAAFeywQBzhAAGwIBQaAAGwQBpRBHQAQKkI8uUNAADSEPOAAnJ4AQIBoIAAAB+advQqHAAAFwEBAOoB8wABZQGHGwAAI4ACsGAbvwCYYXIBBAGgAAAAG4Rz8iYaAAABAOcIAACKsCAO3g10oHAAABznoCAAAA67oLAAAB61oIAAAB06sAAaHgABPgxM9t4DAADQBAEAMwteAQEAAYQCoAAAABzWoAAAABzXNDbzAgFhAUYVAAAjgAKwEB61AQ5lbxOAArAAG7EAl2hrdw4AgIgBTfcpA1igsAAAHkAMOAc=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1f5aa03f2bb7.js b/pr/3734/docs/search.index/1f5aa03f2bb7.js deleted file mode 100644 index 63e0146589..0000000000 --- a/pr/3734/docs/search.index/1f5aa03f2bb7.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQEA8+YUAAABAAEAAYMCoCAAABsmoAAAABpJZHMTgQKgQAAAGhFjZQGAAqAgAAAcA6AQAAAbUmFzJwAAgYWhIAAAHjugQAAAHLeg0AAAHgmgUAAAHSAI0AEBAgA7MAAAAQAAEwABAOsZEwATgQOgEAAAEu6gIAAAFNtjZW/3AACAhaAQAAATGSUgAg==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1f6b9ee5a232.js b/pr/3734/docs/search.index/1f6b9ee5a232.js deleted file mode 100644 index 9cbcdcc68c..0000000000 --- a/pr/3734/docs/search.index/1f6b9ee5a232.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQMBoHAAABysZjswAAABAACMAAMAtg8AAEkUSADaGkIAAYACoFAAABpdoLAAAB1iYWwBAwD3oBsAADwBCAABANcAAQABAAEAADswAAABAAAlAAEASRAlAOcBAACFoEAAABibCqABOzAAAAEAAAgAAwDqGAEAbRoBACobBAABgAKgcAAAHQawwB1QAAFlaQEEAPPVGAAAdQHMA/OAAmV2AQUA8xQaAAABAAEA8wABc/YzDAAAAQDRB5IGAQJGAGMAA6AwAAAd/mNkcjowAAABAAAAAAAJABAAAAAPCcQJxQnGCccJqRiqGMcblBy8HJMAhLAwD7gAAaBAAAAdsRAQBvM/AwAA5QkBAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1f7272bf0cfb.js b/pr/3734/docs/search.index/1f7272bf0cfb.js deleted file mode 100644 index 26bc175272..0000000000 --- a/pr/3734/docs/search.index/1f7272bf0cfb.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQUBoFAAAB1DZgEMGgAAQ4ADoIAAABu0oNAAAB2WYWdwRwAAAMWwQBLEAAGgYAAAHVqgsAAAHUSACUKwSXEABHABOzAAAAEAAAkAAwCEAwEAtwMFAOAKAQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1feb8e194a44.js b/pr/3734/docs/search.index/1feb8e194a44.js new file mode 100644 index 0000000000..d14ad64aa2 --- /dev/null +++ b/pr/3734/docs/search.index/1feb8e194a44.js @@ -0,0 +1 @@ +rn_("AQcBsEAfHwABZQGmHgAAAYACoFAAABy6oFAAAB8ecHUBggKgAAAAHWqgAAAAHWtlcyOAAqBgAAAeuWV0AQMA9bwcAAABAAEAAQABAAEAAaCQAAAfn2w6MAAAAQAAAAAACAAQAAAAoBuFHawezR4EHz4fbx93H68fE4ACoCAAABy7ZG4BBAA7MAAAAQAABQABAGQdBQABBAGgAAAAHkNk82IdAAABAAkB9wIAAYagYAAAHrgUCQM7MAAAAQAAEwAFANQVCgA7GQIA8xwBAKEfAQCkHwEAAQABsEAdYAABZfXPFQAAAQABAAEAAQATAAKwoB+mAAFndgHuGwAA84ACbm8BAwA7MAAAAQAABQACAJsbBABUHgAAI4ACsAAbowA+ZHLnAgAAhrBQHPAAAbAAGxwAARRBEjswAAABAAALAAUAwg4DABQPAQBsGgEAvRsBAOocAQAjgAKgQAAAHNBvdA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/1fecfe1405fa.js b/pr/3734/docs/search.index/1fecfe1405fa.js deleted file mode 100644 index 471f846eff..0000000000 --- a/pr/3734/docs/search.index/1fecfe1405fa.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQQA9eAUAAABACAFAQDxAQGCAqAwAAAd/qBQAAAeFmNyI4ACoDAAABTfaW8BAQKgUAAAGhCgQAAAGNBjbPXECgAAQwAjEn0AegABAgD1whIAAJ4HAQABAAEAAYACoAAAAA+EsDAYzgABZHIBgwKgQAAAHOygQAAAHO1ibOcAAAGHsBAPgwOSsAAOIwABsCASwQI1oDAAABluFgEaOzAAAAEAAAoAAgDBCgIA/woHAPOAAnBz84ADZWxv") \ No newline at end of file diff --git a/pr/3734/docs/search.index/2000395816c0.js b/pr/3734/docs/search.index/2000395816c0.js deleted file mode 100644 index e05a8a7bd1..0000000000 --- a/pr/3734/docs/search.index/2000395816c0.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIBoAAAABtecwHjFAAAAQYA9NgbAAABAAEAAQABAgD0Ch4AAAEAAQABAAECAaBAAAAbRGUBBBoAAJOAhKAgAAAaj6AgAAAYphAUBAEJAPR4HQAAAQCDAAEAQ4EDoNAAAB4+sHAbwQABY2xzAQgA9OccAAABANkAAQDXAwCAhrCQG78AAQVIYA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/2045fe46a6a9.js b/pr/3734/docs/search.index/2045fe46a6a9.js deleted file mode 100644 index 1a6f43401c..0000000000 --- a/pr/3734/docs/search.index/2045fe46a6a9.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQAA9JMDAADFFukCAQABCwD13BsAAAEAAQABAAEAAQoBoEAAAB31ZQHHHQAAAQwA8zEdAAABANMAlwYAAIigIAAAGpugQAAAG0KgIAAADRmgoAAAHKEciQo7MAAAAQAAGQALACsBAQBAAwMA6Q0AAPISAwACEwIAkhQAAMIUAwC+GAIAERoAAJ8cAQDmHAAA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/2046bb28a248.js b/pr/3734/docs/search.index/2046bb28a248.js new file mode 100644 index 0000000000..69ced80f5b --- /dev/null +++ b/pr/3734/docs/search.index/2046bb28a248.js @@ -0,0 +1 @@ +rn_("AYECoAAAAB/GoAAAAB/HNDYBBAGgAAAAHqRz8xgfAAC8AAEAJwAAAYWhAAAAH9egQAAAHmuggAAAH+qgUAAAHqUUABYBOhkAAIcBAICFoEAAAB4toEAAABvDsBAPgwABBPAA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/205eb61611bd.js b/pr/3734/docs/search.index/205eb61611bd.js new file mode 100644 index 0000000000..00ddbc13f2 --- /dev/null +++ b/pr/3734/docs/search.index/205eb61611bd.js @@ -0,0 +1 @@ +rn_("AYACsEAV/AABsDAUCAABcHUBhISgYAAAH2GgcAAAH3igYAAAH2KgYAAAH2MQAQkTgQKgEAAAH51jdAEHAaBAAAAfsGIBSR8AABOCA7AgHkEAAbDgH20AAWRtcwEDAaBgAAAfHm/y6hwAAAEAI4ICoCAAABpvZm53AQAAhbAwHZUAAQSIA/VfCwAAAQCGAlAGCQY=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/2072fbb7abd0.js b/pr/3734/docs/search.index/2072fbb7abd0.js new file mode 100644 index 0000000000..dd727b5941 --- /dev/null +++ b/pr/3734/docs/search.index/2072fbb7abd0.js @@ -0,0 +1 @@ +rn_("AQIAOzAAAAEAABEABwDgEwEA/xMCACEWAQBkHQUAih4AAPgeAQAjHwEAIwACsCARMwABYXL1BBoAAFYDAQABAAEA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/210e92c7d80a.js b/pr/3734/docs/search.index/210e92c7d80a.js new file mode 100644 index 0000000000..5370e23729 --- /dev/null +++ b/pr/3734/docs/search.index/210e92c7d80a.js @@ -0,0 +1 @@ +rn_("AQEBoJAAAB68YwF1HgAAI4ECgB/AABABZHQBBQGgUAAAHvVmAY8bAAABgAKgEAAAH5CgcAAAHU90dpcBAICFoNAAAB9FoBAAAAnGQYEB") \ No newline at end of file diff --git a/pr/3734/docs/search.index/21140f320d7e.js b/pr/3734/docs/search.index/21140f320d7e.js new file mode 100644 index 0000000000..3aa81263f6 --- /dev/null +++ b/pr/3734/docs/search.index/21140f320d7e.js @@ -0,0 +1 @@ +rn_("AQEDoDAAABwxoCAAABQcoDAAABYTZHN0OzAAAAEAAAUAAgCTCwAAhh0EAAEDAPTNHgAAcQAxAEAAI4ACoAAAABvubm8TAgKgYAAAHx5pb/LqHAAAAQDzAAFlAfgaAAABAgGwMB8CAAF18m8aAABhAmOAA6AAAAAeZ2RmbgEGAPO+HgAAVAABAAEHADswAAABAAAIAAEAAxwIAAEMAPT7HgAAAQABAAEAIwACoEAAABpKZWk7MAAAAQAABwADAHkLAQDWDQQAqh8AAGOAA6AwAAAT7WFlaXcBAICFoFAAAB8OCHAB") \ No newline at end of file diff --git a/pr/3734/docs/search.index/212345b59a64.js b/pr/3734/docs/search.index/212345b59a64.js new file mode 100644 index 0000000000..870f415f53 --- /dev/null +++ b/pr/3734/docs/search.index/212345b59a64.js @@ -0,0 +1 @@ +rn_("AYECsAAfAgABoQAAAB/QZHQjgAKggAAAH9ZucgEGAPMIHwAArAAdAPMAAmJ1OjAAAAEAAAAAADEAEAAAAHULyw3MDc0N9RMsFMoVyxXtFQ8WERY5GlYaZhpnGmgabxqDG5MblhvFG8YbxxvvGyQcXBxdHF4c0ByRHZIdmB2ZHZodhR6GHoceth7GHgYfBx8yHzkfQR9KH1AfZh/KH9Mf7h8jgAOg4AAAH1GgYAAAHtBkZ3I=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/21bb658fa41e.js b/pr/3734/docs/search.index/21bb658fa41e.js deleted file mode 100644 index 61ffde3159..0000000000 --- a/pr/3734/docs/search.index/21bb658fa41e.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQABsIAdrAABc/PjGQAAAQABAAEDAbCAHhAAAXPyxxwAAAEAEwACsIAdqgABaXPz4BkAAAEAAQDzgQI0NiOAArAAEEMAAWRw") \ No newline at end of file diff --git a/pr/3734/docs/search.index/21c021adc3b5.js b/pr/3734/docs/search.index/21c021adc3b5.js deleted file mode 100644 index 978eb1bb91..0000000000 --- a/pr/3734/docs/search.index/21c021adc3b5.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQABsGAdvwABZQG4GgAAQ4EDsJAdUAABoDAAABpxY25zE4ACsHAb9gABY3MBAwD0eB0AAAEAgwABAAGEArBAHKkAAaBAAAAcq2RzAQAAOzAAAAEAAAYAAwA9GgIAzxoCAAYdAAATgwKgYAAAHRxnckOAA6AgAAAdGaBwAAAb9WVob7cAAACGsHAcigABsAAc2ADOoDAAAB2yHCASOjAAAAEAAAAAABMAEAAAAPEK8grzCjUNNg03DTgNOQ06DTsN2RIGFMAUnRg0G4AckByRHJIczhwBBAGwkB4qABNlAcAaAABTgAOgQAAAG/tkZXIBAQGwEBjeBDV19kcQAAD3DCIApgAZAB0AxwEAgMWwABpBAAawABpCAAZoRAAA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/21ee4d96ccce.js b/pr/3734/docs/search.index/21ee4d96ccce.js new file mode 100644 index 0000000000..da0b03e4cd --- /dev/null +++ b/pr/3734/docs/search.index/21ee4d96ccce.js @@ -0,0 +1 @@ +rn_("AQMA9FodAAABAAEAAQDzAAFlAbobAAABAQGgYAAAH0xiAdMcAAAnAAAAhaBAAAAeMLBwHu8Aw6AwAAAe7KBQAAAfOhghCDswAAABAAAHAAIAZQ8GABEaAADzgAJodA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/222223b94474.js b/pr/3734/docs/search.index/222223b94474.js new file mode 100644 index 0000000000..8dfe539b7e --- /dev/null +++ b/pr/3734/docs/search.index/222223b94474.js @@ -0,0 +1 @@ +rn_("AQMBoFAAABwnawHdDgAAAQABoEAAAB4obPJ3EQAAggoBBAGgAAAAG/5zAZIbAAABAgGgUAAAHoljAccVAAAzAAOgQAAAFihhY2X2yQkAAJ4BAQBhClcEAQBTgAOgIAAADvJldHkBgAKgIAAAGvyggAAAHw9pciOAArBAHO0AAWF0AYACsDARdwqCsQAf1AABcnUBAAGg0AAAHzFi9kELAAABAGUAAQAPA+wPAQADoHAAAB5bsAAdSgABoIAAAB89ZnN0OzAAAAEAAJkABgClCwAAkBAAAJ8QAAB2FUsAZxxFALMcBABjgASgEAAAHp2wQB9+AAFmZ3R2AQUBoEAAAB9PZfJcHgAAlgABBQDz3h8AAAEAAQDzAAF0AWAPAAABAwDzwB8AAAEAAQDzAgJwc/IkHgAADgABAQGgQAAAH4Vl9qkLAAABAA4DAQD1EDkAAYICoAAAAB/GoAAAAB/HNDbzBwFpAXYfAAABBAGgIAAAHYRzAbkbAABDAISgMAAAG+WgUAAAHCSwMB8hAAFFgAA7MAAAAQAAFgAHANQOAwBQDwsAwBsBANQcAABsHQAATh4BAI8eAAAjgAOgMAAAFfugIAAAFhppc3QBAQGgAAAAH9ByAXUVAAABAAGwABYfBYJyOzAAAAEAAD8ABAApFAAAVBUeAEsaAAD9Gh4AI4ECsJAfIwABYWUjAQKgQAAAH6BlaQF1HwAAd/8BgM2gYAAAHFHAHzwK") \ No newline at end of file diff --git a/pr/3734/docs/search.index/22f341a9aaf6.js b/pr/3734/docs/search.index/22f341a9aaf6.js new file mode 100644 index 0000000000..c43943ad27 --- /dev/null +++ b/pr/3734/docs/search.index/22f341a9aaf6.js @@ -0,0 +1 @@ +rn_("AQgA9FsfAAABAGAAAQABAwGgIAAAHLJl8oYQAADLDQEAAaCAAAAe33XzUQIAAGcBdw3zAAM0YXM6MAAAAQAAAAAAEAAQAAAAtgPWB7UO3BMnFVEVZBtlG2YbyhvPG9Ub1xw/HXceeB7HHw==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/22f94242591f.js b/pr/3734/docs/search.index/22f94242591f.js deleted file mode 100644 index 584a79fd1d..0000000000 --- a/pr/3734/docs/search.index/22f94242591f.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIBoGAAAB0zdQGcGgAAAQADsEASxAABoLAAAB1EgAlCsElxZXFzOzAAAAEAAAkAAwCEAwEAtwMFAOAKAQABCADzFh0AAAEAAQDTgISwkB1iAAMBcAA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/235f7610e1a4.js b/pr/3734/docs/search.index/235f7610e1a4.js new file mode 100644 index 0000000000..2d047f43fc --- /dev/null +++ b/pr/3734/docs/search.index/235f7610e1a4.js @@ -0,0 +1 @@ +rn_("AYkCoEAAAB/LoGAAAB/bYXIBiAKgQAAAH6uwAB8JADplcwGGAqBAAAAfnqBgAAAfv2FyAQQBoDAAAB7TY/LkHAAAAQABBQGgYAAAH7RiOjAAAAEAAAAAAAkAEAAAAJgdmR2aHYUehh6HHgYfBx9BH2YfAQMCoDAAAB6doEAAAB7SaXXzLhwAAAEAAQD3AwACh4AaO01AZRWBAwHCFQAAAQQAOzAAAAEAACYAAQALHSYA84ACYW8jgAKggAAAHONmcBOAAqAAAAAb3XN5") \ No newline at end of file diff --git a/pr/3734/docs/search.index/23aa92d7f262.js b/pr/3734/docs/search.index/23aa92d7f262.js new file mode 100644 index 0000000000..2974dcca9f --- /dev/null +++ b/pr/3734/docs/search.index/23aa92d7f262.js @@ -0,0 +1 @@ +rn_("AYQCsAAdTQABsDAeYgABc3QBAAA7MAAAAQAAewACAOoOAACLEXoAE4ACsDAWIQABZHJnAAAAhaAAAAAEA7CAHmQAAaBwAAAcOrgIADswAAABAAAWAAgATgsEAO4OAAB8EQkAGBQBAPgVAQBgGwAAUxwAAA4fAAA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/23e52ac863ad.js b/pr/3734/docs/search.index/23e52ac863ad.js new file mode 100644 index 0000000000..ff98769442 --- /dev/null +++ b/pr/3734/docs/search.index/23e52ac863ad.js @@ -0,0 +1 @@ +rn_("AQQBoAAAAB6kc/MYHwAAvAABACcAAAWFoQAAAB/XoEAAAB5roIAAAB/qoFAAAB6lFAAWAToZAAATAAKgcAAAHFRlcvbbAwAAAQABAA4LZwYBAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/24137cc4f165.js b/pr/3734/docs/search.index/24137cc4f165.js deleted file mode 100644 index cc0f62ea81..0000000000 --- a/pr/3734/docs/search.index/24137cc4f165.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQCFoJAAAB4BoEAAAB1foEAAAB0roGAAAB2noCAAABzBmAAK8k4aAABtACMBAqBgAAAbRmhz9Q0OAADUCgEAcgILAAECAbBQHQIAfGMBqxoAAGMAA7CQHUEAAWNuc/U8CQAAAQCCAR8ONQQ=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/24928711e272.js b/pr/3734/docs/search.index/24928711e272.js new file mode 100644 index 0000000000..832430e921 --- /dev/null +++ b/pr/3734/docs/search.index/24928711e272.js @@ -0,0 +1 @@ +rn_("AQEBsDAfRwABYzowAAABAAAAAAAJABAAAADmDucO6A7pDoUPVxoiHnsexx7YHwGAAqDgAAAfPaAwAAAfS2RwY4ADoUAAAB/tYnJ1") \ No newline at end of file diff --git a/pr/3734/docs/search.index/25756a683b52.js b/pr/3734/docs/search.index/25756a683b52.js deleted file mode 100644 index 271f580578..0000000000 --- a/pr/3734/docs/search.index/25756a683b52.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIA80wbAABAAQEAI4ACoHAAABs/YWQBAwD0MBsAAAEA3AEBABOAArAwGzIAAXJ2QwCEsGAdTQAtsFAdFAByoDAAABqEFgEAOzAAAAEAAB4ACwDTEgQA4BMEAB4aAAAgGgAAkhoAAJgaAABnGwwABhwAAEgdAADkHQAAGx4AAAGAArAAFLMAAaAgAAAaamRs84ACZXkBBAD10hQAAOEDAQABAN4DhwEAAIWgYAAAG6mAHbQCwBGgsAAAHY4ZIAHyMg0AAAEA84ACZWk=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/2577de78b299.js b/pr/3734/docs/search.index/2577de78b299.js deleted file mode 100644 index 7ac8c417ff..0000000000 --- a/pr/3734/docs/search.index/2577de78b299.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQoBoIAAAB4xZgFXHQAAAQMBsIAd3gABZvJFGgAAAQDzgwJhcwEDAqAgAAAbraAwAAAcj2JoAcYYAADzAAJobQERCQAA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/25913518ede6.js b/pr/3734/docs/search.index/25913518ede6.js deleted file mode 100644 index 886bad98e8..0000000000 --- a/pr/3734/docs/search.index/25913518ede6.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQEA9NgbAAABAAEAAQAjAAOhIAAAHjqgAAAAD8RjcnMBqBgAAAEBAPS/GwAAAQABAAEAAYUCoAAAABx7sCAc9QAKZG7zAAFw8hANAAABAAEEAPTnHQAAAQABAAEAEwACoBAAAB2gZW0ByxoAACOAAqAgAAAbRWl55wEAAIWhMAAAHj8dAAQBIg4AAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/25aea2646133.js b/pr/3734/docs/search.index/25aea2646133.js new file mode 100644 index 0000000000..719d632d69 --- /dev/null +++ b/pr/3734/docs/search.index/25aea2646133.js @@ -0,0 +1 @@ +rn_("AQEDsIAfBQBasFAeUgCZoDAAABYkYWJj96sOAAABAIsNTwMBAB8AAQABAAA6MAAAAQAAAAAADwAQAAAAxAlXC1gLWQtaC1sLXAtdC14LpRARFOsVRhp0Gvsbax0BgQKgAAAAHNagAAAAHNc0NgEIAPPgHAAAVgEBAFOAA6CAAAAfxWNvcAEAAaBAAAAez2U6MAAAAQAAAAAABwAQAAAAVAtVC1YLbBDfE/Abah1rHncBAICFoCAAABCkEAEO") \ No newline at end of file diff --git a/pr/3734/docs/search.index/26421a3dc350.js b/pr/3734/docs/search.index/26421a3dc350.js new file mode 100644 index 0000000000..603a409fa7 --- /dev/null +++ b/pr/3734/docs/search.index/26421a3dc350.js @@ -0,0 +1 @@ +rn_("AYICoAAAAB/GoAAAAB/HNDbzBQFpAXYfAAAjgAKgMAAAHlphYgEHAaBAAAAfsGIBSR8AABOGArAgHkEAAWRtAQMA85cbAACgAwEAI4ACoCAAABpGYXIjAAKgIAAAFc1pdAH/DgAAAYACoHAAAB1foAAAABRFYXgBgAKgUAAAHO+gMAAAGkVhZQEHAaBAAAAftWIBTR8AAAEFAPOWGwAAtAOJAAEFAbBgH34AAWkBtx4AAPMDAWgBzBUAANc5AAGKoGAAABwBsDAe8wABsCAeVgABjxQHOzAAAAEAAAwABgBxCwIA6wwEADYVAAAQFgAA8BwBAFMeAAABAgA7MAAAAQAABQABABYVBQABBAA7MAAAAQAABQABACQbBQDzgQJjcgEAArAwHlgAAaAgAAAblWFrAXcaAADzgIQIKAI=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/265fd90b92dd.js b/pr/3734/docs/search.index/265fd90b92dd.js deleted file mode 100644 index 8592e71ac2..0000000000 --- a/pr/3734/docs/search.index/265fd90b92dd.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQAAOzAAAAEAAAUAAgC5GAMAuRwBAAEJAPMWHQAAAQABAPMCAnBzOzAAAAEAAA0ABACuDwIAGhQAALUbBQDSGwMAAQcBoEAAAB4IYgGcHQAAE4YCsCAcpwABZG0TgAKggAAAHcZvcgEBAaAwAAAdsncBzhwAABOCArCgHb8AAWVpEwACoFAAAB4HZXTzLw0AAAEAthABgwKgUAAAG/OwMB3UAAFjcAGBA6BQAAAcpqAAAAAd2KCwAAAdw2JkdCOAAqAgAAAU4mFyAQIA9P4SAAABALkFbQQBAQA7MAAAAQAABgADAKwPAQAXFAIA8xwBAFOAhLBQGjkAAbAQHJYAARFAAgGFAqAgAAAbRaAAAAAay2l5AQUA9twcAAAIAAEA1wABAAEAI4ECoHAAABz6bXMBBwGgQAAAHgRiAZodAAABgQKgQAAAHa6gYAAAHeBhcgECAPTxGAAAAQABAHUB84ECZm5DgAOwgB42AAGgQAAAHKVlbG+3fwAAy6BAAAAczwAnZgc6MAAAAQAAAAAAGgAQAAAALgkvCTAJMQkyCaEKogp7EHwQfRCUGKUYwRgAGlkaahq+GoUchhyHHL0cvhy/HDQdoR2iHaMd") \ No newline at end of file diff --git a/pr/3734/docs/search.index/2667f04f519e.js b/pr/3734/docs/search.index/2667f04f519e.js deleted file mode 100644 index b755733603..0000000000 --- a/pr/3734/docs/search.index/2667f04f519e.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQABoBAAAA31ZTswAAABAAAFAAEApRkFAAEDADswAAABAABzAAIAehoAAAcccgABgAKgcAAAHXygUAAAGqxlb/MAAXPyDRoAAE0D84ADZGl0") \ No newline at end of file diff --git a/pr/3734/docs/search.index/26c1587459a5.js b/pr/3734/docs/search.index/26c1587459a5.js deleted file mode 100644 index 909208fecd..0000000000 --- a/pr/3734/docs/search.index/26c1587459a5.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACoBAAABMBoGAAAB0Vbm8BAAKgYAAAHXugMAAAHcNiczowAAABAAAAAAAMABAAAACzD4YQ2hjbGE8aUBpRGlIaUxpUGpoa6RwAHYcAAACFsDAY9AABoEAAABo7sDAabQABoKAAAB0ZkgADOzAAAAEAAA4AAgAODgIAlg4LAMOABKAAAAAT9aAAAAAT9jQ2ZWk=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/26ddebd141bf.js b/pr/3734/docs/search.index/26ddebd141bf.js new file mode 100644 index 0000000000..d04f389a58 --- /dev/null +++ b/pr/3734/docs/search.index/26ddebd141bf.js @@ -0,0 +1 @@ +rn_("AQADsIAfBQBasFAeUgCZoDAAABYkYWJj96sOAAABAIsNTwMBAB8AAQABBADz2xwAAAEAAQDzAAFl8ioUAAABAAGEArAgHUUAAaAgAAAdR2Fz84ACYWXzgAJycw==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/26ee88b6fc02.js b/pr/3734/docs/search.index/26ee88b6fc02.js deleted file mode 100644 index d4f4337b1e..0000000000 --- a/pr/3734/docs/search.index/26ee88b6fc02.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQAAOzAAAAEAAAUAAgC5GAMAuRwBAAEJAPMWHQAAAQABAPMCAnBzOzAAAAEAAA0ABACuDwIAGhQAALUbBQDSGwMAAQcBoEAAAB4IYgGcHQAAE4YCsCAcpwABZG0TgAKggAAAHcZvcgEBAaAwAAAdsncBzhwAABOCArCgHb8AAWVpEwACoFAAAB4HZXTzLw0AAAEAthABgwKgUAAAG/OwMB3UAAFjcAGBA6BQAAAcpqAAAAAd2KCwAAAdw2JkdCOAAqAgAAAU4mFyAQIA9P4SAAABALkFbQQBAQA7MAAAAQAABgADAKwPAQAXFAIA8xwBAFOAhLBQGjkAAbAQHJYAARFAAgGFAqAgAAAbRaAAAAAay2l5AQUA9twcAAAIAAEA1wABAAEAI4ECoHAAABz6bXMBBwGgQAAAHgRiAZodAAABgQKgQAAAHa6gYAAAHeBhcgECAPTxGAAAAQABAHUB84ECZm5DgAOwgB42AAGgQAAAHKVlbG+3fwAAy6BAAAAczwAnZgc6MAAAAQAAAAAAGwAQAAAALgkvCTAJMQkyCaEKogr5DXsQfBB9EJQYpRjBGAAaWRpqGr4ahRyGHIccvRy+HL8cNB2hHaIdox0=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/26faf6deea92.js b/pr/3734/docs/search.index/26faf6deea92.js deleted file mode 100644 index 8dde32cfdb..0000000000 --- a/pr/3734/docs/search.index/26faf6deea92.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIBoGAAABykbfOeGAAAAQABABOAAqDQAAAeBm91AYACsBAc8wABoCAAAB0lYW8BBwDzvB0AAAEAAQAzAQOwcB3UAAFobXH0WRoAAEgDAQABABOAAqCgAAAeH2FvAQUA9P8bAAABAAEAAQABAAA7MAAAAQAAxwABAAoXxwABgAKgkAAAHT+gYAAAGqRlbwGCAqBQAAAdG7AAGP0Bd2VzAYUCoDAAAB2UoCAAAB1oYnUjgAKgIAAAHMxpbDMAA6AgAAAcg2J0dTowAAABAAAAAAAIABAAAACnDqgOqQ6qDucZEh4aHiseNR4BBwDzjhwAAEIBAQABBAD0+RgAAAEAAQABAAEDAaBgAAAdZmIBghwAAHcEAACIoBAAAA+0oJAAAB0aoMAAAB22oKAAAB1nOAkLOjAAAAEAAAAAAA8AEAAAAPcK+ArbDdwNDBPkFOwUBRoHGhMaFBoVGhYabBqDHYQdI4ACsDAdAQDDY223BwCAh6AwAAAPhzWKAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/2740cfbf2786.js b/pr/3734/docs/search.index/2740cfbf2786.js new file mode 100644 index 0000000000..7e628d58c7 --- /dev/null +++ b/pr/3734/docs/search.index/2740cfbf2786.js @@ -0,0 +1 @@ +rn_("AQUBoFAAAB71ZgGPGwAAQ4ADoIAAAB1PoNAAAB9FYWdwRwAAAMWwQBPgAAGgYAAAHxCgsAAAHveACc+6SfIABHABOzAAAAEAAAkAAwC/AwEA9QMFAIsLAQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/274a5445baa0.js b/pr/3734/docs/search.index/274a5445baa0.js deleted file mode 100644 index f1cc5aacab..0000000000 --- a/pr/3734/docs/search.index/274a5445baa0.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQQA884aAAAIAQEAI4ADoBAAABukEHMYkEjCZXBzAQIA9NIbAAABAAEAAQAjAgKgQAAAHM9ldfLBGAAAxAMBAAA7MAAAAQAABQABAOUTBQDjgISgEAAAHQwhCAI=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/277fe45d3fa3.js b/pr/3734/docs/search.index/277fe45d3fa3.js deleted file mode 100644 index 7aa0310c59..0000000000 --- a/pr/3734/docs/search.index/277fe45d3fa3.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYECsAAdUAABoQAAAB4gZHQjgAKggAAAHiducvMAAXU6MAAAAQAAAAAAMwAQAAAAywr/DAANAQ3YEgoTnBSdFL8U4BThFMcY4xjxGPIY8xj4GAEaAhoQGhIaPRo+Gj8aaBqZGq0azxrQGtEaPhvyG/Mb+Bv5G/ob0xzUHNUc1hwCHQYdFB1SHVMdfh2GHZ8duB3lHSQePh4TgAKgYAAAHRxncg==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/27cfe4aacca8.js b/pr/3734/docs/search.index/27cfe4aacca8.js deleted file mode 100644 index c331d7e3d8..0000000000 --- a/pr/3734/docs/search.index/27cfe4aacca8.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACoCAAABotoCAAABouYnTzAgFhAQIUAAABCAGgcAAAHiNkAVsdAAATgAKgYAAAHJljZQEGAPMuHgAAAQABAAEDAPMTHgAAAQABAPMFAnBzAXwcAAABAwD0JBoAAAEAAQBvAwEBAbCAHjgAAXPyqB0AAAEAAQkBsIAeQAABc/IyHgAAAQDzgQJkaQECADswAAABAAAJAAQAIRoCALEaAADQHAIALh0CACOAAqAgAAAS8GJkdzAAAIqgEAAADoqwMBonAAGgQAAAGolDhbDttbegYAAAG9DbUQI7MAAAAQAACAAEAJQPAgDPDwIA6hkAAIocAQABBwGwkB34AAFjAe4bAAABBADz4BIAAAEAAQCnAgCAhqBQAAAavaAQAAAOrqAgAAAYknQgBPOAAm50") \ No newline at end of file diff --git a/pr/3734/docs/search.index/2804b448e464.js b/pr/3734/docs/search.index/2804b448e464.js deleted file mode 100644 index 2eeccc0be3..0000000000 --- a/pr/3734/docs/search.index/2804b448e464.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQEBsIAeOAABc/KoHQAAAQABCQGwgB5AAAFz8jIeAAABADOAA7AgGJsD5mRpdAEFAaAgAAAdxXIBeRoAAAEAAqCAAAAeGqBgAAAeK2Rz8oMPAACSAycDAICGoCAAAB47oMAAAB18oBAAAButEMFI") \ No newline at end of file diff --git a/pr/3734/docs/search.index/283a33bccfe1.js b/pr/3734/docs/search.index/283a33bccfe1.js deleted file mode 100644 index d6526cf40e..0000000000 --- a/pr/3734/docs/search.index/283a33bccfe1.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQMA9L8bAAABAAEAAQDzAAFlATUaAAABAQGgYAAAHZtiAUAbAAAnAAAAhaBAAAAch7BwHT4AyKAwAAAdO6BQAAAdihghCDswAAABAAAHAAIAjg4GAKEYAADzgAJodA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/28abe2213d84.js b/pr/3734/docs/search.index/28abe2213d84.js deleted file mode 100644 index ee840059d6..0000000000 --- a/pr/3734/docs/search.index/28abe2213d84.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACoGAAABrVoFAAAB4hZXUBAQDzYBsAAAEAAQAjgAKhIAAAHiRudBOAAqAgAAAbY2FvAQgA8wsdAABSAAEANwEAAIawYBybAAGwYB2YAAGgcAAAHOYsQAY6MAAAAQAAAAAABwAQAAAA3BLdEvcT+BMEHAUctRy2HCOAAqDwAAAdfWNl") \ No newline at end of file diff --git a/pr/3734/docs/search.index/28c1f48e566c.js b/pr/3734/docs/search.index/28c1f48e566c.js deleted file mode 100644 index 5832b6a7bc..0000000000 --- a/pr/3734/docs/search.index/28c1f48e566c.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQkA9PYdAAABAAEAAQDzBQFj8tEbAAAdAAEBAPQPHQAAAQABAAEA84ACM2UBggKgAAAAHhigAAAAHhk0NvMLAWkByB0AAAGAArBwHY8ATbBQGPABdWhyAQABoIAAAB4gdfKvGwAAAQABgQOgMAAAHeaw0B3WAAGgUAAAHOlsbXMBBQD0dB0AAAEAAQABAAEHAaBAAAAd9WUBxx0AAAGBArBQHMoAb6BQAAAcrGlsAQQAOzAAAAEAABQABQB7GggAhRoDAMUbAQDcGwQAcx0AAAEJAaBAAAAeD3QBhR0AAAGAAqAQAAAbrKBgAAAcyWR09/gDAM6wMBjqAAGgQAAAHVygUAAAHNnAbKaLOzAAAAEAAL8AGwCZAwQAGwgAAPkKAAATDgAApA4BAKsOAQCSDwEAmw8BAKcPAAC2DwAAQRABAEYQAACBEAAAwhIAAAATAQBJFEgAoRQEAOYUAgBeGgAAYBoDAHMaAAC9GgAAyRoAANoaQgAhGwQABx4AACweBAA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/29b22a3cc81d.js b/pr/3734/docs/search.index/29b22a3cc81d.js deleted file mode 100644 index d85f43d87f..0000000000 --- a/pr/3734/docs/search.index/29b22a3cc81d.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIA82AbAAABAAEAE4ACoCAAABtjYW8BCADzCx0AAFIAAQA3AAABhrBgHJsAAbBgHZgAAaBgAAAeIaBwAAAc5ixABjowAAABAAAAAAAHABAAAADcEt0S9xP4EwQcBRy1HLYcE4ACsEAUtQTqa24=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/29b9b10f73a1.js b/pr/3734/docs/search.index/29b9b10f73a1.js deleted file mode 100644 index b549f06ed7..0000000000 --- a/pr/3734/docs/search.index/29b9b10f73a1.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIA80wbAABAAQEAAQABsGAdvwABZQG4GgAAQ4EDsJAdUAABoDAAABpxY25zZwAAgIagcAAAGz+gEAAAEwGgYAAAHRWwcBv2AAENYAI=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/2a5150158490.js b/pr/3734/docs/search.index/2a5150158490.js deleted file mode 100644 index a62ad5a83c..0000000000 --- a/pr/3734/docs/search.index/2a5150158490.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACoBAAABBFoAAAAArkcnQBgAKwEA+ZAAGgMAAAFMBucocAAACGsDAYkAABoHAAABx/oFAAABjjsDAdBwABoCAAABP9F4AI9SQJAAABAGsBAQCaEgEAA6CQAAAeAaBAAAAdX6BgAAAdp2RlcwG7GgAA8wUBc/LhGAAAAQATgAOgUAAAGnKgEAAAHMZlaW8BgAKwUBjfAAGwIBzhAAFhbwEBAPTnHAAAAQDZAAEAI4ACsBAUJAABbnIBgQKhAAAAHjyg0AAAHilrbQGGAqBAAAAd/6AAAAAdVGVzw4CEsEAaXQATsCAT+wABDAAFF3wAAIugcAAAG2WgUAAAFL+wIBBBAAGgYAAAHOOwsB1iAAMHzQv1ywUAAAEAAQABAAEA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/2a54aabdf2c4.js b/pr/3734/docs/search.index/2a54aabdf2c4.js deleted file mode 100644 index c92f120389..0000000000 --- a/pr/3734/docs/search.index/2a54aabdf2c4.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQECoHAAAByssAAbrwABZnM7MAAAAQAAkgAFAPkKAAC2DwAASRRIANoaQgAhGwQAAQQBoCAAABvocwE0GgAAQwCEoDAAABpfoFAAABqZsDAdbQABRYAAOzAAAAEAABgACAAADgQAeA4MADkaAQBBGwAA0BsAAKIcAACkHAAA4BwAACOAA6AwAAAUzKAgAAAU6WlzdPOAAmNu") \ No newline at end of file diff --git a/pr/3734/docs/search.index/2a8ce3bdfd2e.js b/pr/3734/docs/search.index/2a8ce3bdfd2e.js new file mode 100644 index 0000000000..da8b5fe086 --- /dev/null +++ b/pr/3734/docs/search.index/2a8ce3bdfd2e.js @@ -0,0 +1 @@ +rn_("AQICoGAAAB5PoGAAAB7HbXTyBRQAAAsGE4ACoNAAAB+yb3UBhAKgQAAAH8ugYAAAH9thcgGAArAQHqcAAaAgAAAe22FvAQcA82ofAAABAAEAcwEEsHAfgAABaG1wcfTgGwAAcgMBAAEAE4ACoKAAAB/PYW8BBQD0nx0AAAEAAQABAAEAADswAAABAADWAAEAYxjWAAGAAqCQAAAe8aBgAAAcMWVvAYICoFAAAB7PsAAadAGHZXMBhQKwMB7RAHGwIB6cAIBidSOAArAgHNEBq2lsMwADsCAcIgIKYnR1OjAAAAEAAAAAAAgAEAAAAH4Pfw+AD4EPaBu+H8gf2h/mHwEHAPM4HgAARAEBAAEEAPRwGgAAAQABAAEAAQMBsGAemwB/YvIhHAAACgJ3BAAAiKAQAAAQnaCQAAAezqDAAAAfZKCgAAAfGzgJCzowAAABAAAAAAASABAAAACiC6MLpAutDq4OLhQUFh4WaRqGG4sblxuYG5kbmhvzGwwfNx84HyOAArAwHrUBDmNttwcAgIigMAAAEG2g8AAAH5w1igQ=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/2af26570c742.js b/pr/3734/docs/search.index/2af26570c742.js deleted file mode 100644 index d4ce59754d..0000000000 --- a/pr/3734/docs/search.index/2af26570c742.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYICsEAcqQABoEAAAByrZHPzAAFu8jUJAAABAAECAbCwHeQAN2Y7MAAAAQAACwAEALwPAgCWFAIA0hoBALsbAwDzgAJhZQ==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/2b094b90ce98.js b/pr/3734/docs/search.index/2b094b90ce98.js deleted file mode 100644 index 16dd0a1eea..0000000000 --- a/pr/3734/docs/search.index/2b094b90ce98.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQEA9bEPAAABAGkEAQABAAEJAaBAAAAdnWXzPR0AAJkAAQABAgGggAAAHfJ2AagbAADzAwFlAQYaAAB3AACAhqAgAAAYvaFAAAAeP6BAAAAaaRExAg==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/2be5afee0c85.js b/pr/3734/docs/search.index/2be5afee0c85.js deleted file mode 100644 index f731ebec1b..0000000000 --- a/pr/3734/docs/search.index/2be5afee0c85.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQEBoEAAAB2eZfKtHAAAkwABAQGggAAAHdx0AckaAAABAwGgIAAAGz1mAdQZAAAXAACAhaAwAAAaWLAgGdEAAaAgAAAZ06BQAAAbZgAVEROAAqAgAAAT/2x0s4AEoIAAAB23YW5vdg==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/2c11a27c33ff.js b/pr/3734/docs/search.index/2c11a27c33ff.js new file mode 100644 index 0000000000..49500746c0 --- /dev/null +++ b/pr/3734/docs/search.index/2c11a27c33ff.js @@ -0,0 +1 @@ +rn_("AQAA9mUaAACIAcwA1wD+AEkBAYACoCAAAB2joBAAABzmYXMnAACDhaEgAAAf66BAAAAeZqDQAAAftqBQAAAe1gjQAQEGAPPeHwAAAQABAAEDAPPAHwAAAQABAPMDAnBzASQeAAABhISgYAAAH2GgcAAAH3igYAAAH2KgYAAAH2MQAQkTgQKgEAAAH51jdAEHAaBAAAAfsGIBSR8AABOCArAgHkEAAWRtYwADoFAAABpvY2xw9F8LAAABANYICQY3AwAAhqCQAAAeoaAQAAAT5xApRDowAAABAAAAAAAHABAAAACJEDAVsBuzG8MbRB65Hokf") \ No newline at end of file diff --git a/pr/3734/docs/search.index/2c7a176bfa5d.js b/pr/3734/docs/search.index/2c7a176bfa5d.js deleted file mode 100644 index 584edb6a59..0000000000 --- a/pr/3734/docs/search.index/2c7a176bfa5d.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYICoAAAABuloAAAABumNDYBiQKgIAAAHgCgMAAAHg5pcBMAAqAgAAAc92VpOzAAAAEAAAkABADMEgQAJRMCAKcbAAA8HQAAgwOEsEAeBAAEoEAAABzqoQAAAB4iEgAD9sYPAAByCpIAAgDOAgIAhwEAAIewYBpLAxugIAAAD8WwsB3kADegoAAAHcugQAAAHIZqIQE7MAAAAQAAGgANAIcDAADGAwIAvA8CAIAQAAAhFAAAlhQCACQaAgCkGgAA0hoBAGAbAgC7GwMAghwAAJUdAAA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/2c89cbbe8b1f.js b/pr/3734/docs/search.index/2c89cbbe8b1f.js deleted file mode 100644 index c35e74b9c8..0000000000 --- a/pr/3734/docs/search.index/2c89cbbe8b1f.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQCFoJAAAB4BoEAAAB1foEAAAB0roGAAAB2noCAAABzBmAAK8k4aAABtACMBAqBgAAAbRmhz9Q0OAADUCgEAcgILAAECAbBQHQIAfGMBqxoAAGOAA7CQHUEAAWNucw==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/2cd1f592eb79.js b/pr/3734/docs/search.index/2cd1f592eb79.js deleted file mode 100644 index c970034572..0000000000 --- a/pr/3734/docs/search.index/2cd1f592eb79.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACoAAAABpHoAAAABpINDYBgAKgAAAAHYygAAAAHY00NiMCArBgHioAE3J2AW8ZAABTAgOwABMWAAFlc3Y6MAAAAQAAAAAACQAQAAAAGxMcEx0THhMfEyATwBplG6Ebfxw=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/2d68d5327c9f.js b/pr/3734/docs/search.index/2d68d5327c9f.js new file mode 100644 index 0000000000..33d2cfe71a --- /dev/null +++ b/pr/3734/docs/search.index/2d68d5327c9f.js @@ -0,0 +1 @@ +rn_("AYACsEAc7QABoJAAAB8PYXQBAQGg0AAAHzFi86cLAAABAA8DAYICoAAAAB/GoAAAAB/HNDbzBwFpAXYfAADzgANlbnA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/2daaa40b9f63.js b/pr/3734/docs/search.index/2daaa40b9f63.js new file mode 100644 index 0000000000..2cf02673ea --- /dev/null +++ b/pr/3734/docs/search.index/2daaa40b9f63.js @@ -0,0 +1 @@ +rn_("AQABoCAAABzPZgFUGwAAEwACsAAWHwWCZHI7MAAAAQAAPwAEACkUAABUFR4ASxoAAP0aHgAjgAKwkB8jAAFhZQEBAbBwHxUA12kBZxEAAIcBAIDFLqdmwlsvoAAAABFyoGAAAB9RAAIgig==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/2e10f80a899a.js b/pr/3734/docs/search.index/2e10f80a899a.js new file mode 100644 index 0000000000..d6d34071c3 --- /dev/null +++ b/pr/3734/docs/search.index/2e10f80a899a.js @@ -0,0 +1 @@ +rn_("AQEBsIAf6AABc/JXHwAAAQABCQGwgB/xAAFz8uIfAAABADOAA7AgGg0EHWRpdAEFAaAgAAAfc3IBARwAAAEAAqCAAAAfyKBgAAAf2mRz8mkQAADOAycDAICGoCAAAB/roMAAAB8xoBAAAB1IEMFI") \ No newline at end of file diff --git a/pr/3734/docs/search.index/2e38b672884f.js b/pr/3734/docs/search.index/2e38b672884f.js deleted file mode 100644 index 9a01a0a66c..0000000000 --- a/pr/3734/docs/search.index/2e38b672884f.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQMBoCAAABs9ZgHUGQAAAQIAOzAAAAEAABMAAQDrGRMAVwAAgIigEAAAEu6gMAAAGliwIBnRAAGgIAAAFNugIAAAGdOgUAAAG2YUVRETgAKgIAAAE/9sdA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/2ea766c25b2f.js b/pr/3734/docs/search.index/2ea766c25b2f.js new file mode 100644 index 0000000000..8cc89f4a86 --- /dev/null +++ b/pr/3734/docs/search.index/2ea766c25b2f.js @@ -0,0 +1 @@ +rn_("AQIA9PQVAAABAJkHAQABBgD0dB0AAAEAAQABAAELAPQtHwAAAQB6AAEAAQgA9JceAAABANgAAQCzgISgMAAAHBgBSCABgAKggAAAHpawQB+mAAFldAEFAPRuHQAAAQABAAEAE4EDoKAAAB8ssFAdcgABbG1zAYACsVAf3AABsHAeSwABcnUBBQA7MAAAAQAABwACABwcAwD7HgMAAQIA9PAVAAABAAEAAQABBAGwMB5JAAF087QbAAABAAEAAQoA9MEeAAABAAEAAQABgQKgEAAAH5qw0B9QAHplaXd/AACMoKAAAB7FsLAfAAABsYwf8n4fAAABAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/2eda6b6dcb9a.js b/pr/3734/docs/search.index/2eda6b6dcb9a.js deleted file mode 100644 index c987c6a263..0000000000 --- a/pr/3734/docs/search.index/2eda6b6dcb9a.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQUDoJAAAB3FoIAAAB3zoKAAAB3ZYnN29kAaAAC2AtcAAQAfAAEAEwACoQAAAB4+cHQ7MAAAAQAAdgAEABoOAACXEHIA6xQAALkaAQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/2f7a2b78c007.js b/pr/3734/docs/search.index/2f7a2b78c007.js deleted file mode 100644 index 72ae06701a..0000000000 --- a/pr/3734/docs/search.index/2f7a2b78c007.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYECoBAAAB0MoCAAAByFYWwBhwKgAAAAHYygAAAAHY00NlMAA6BAAAAbS2FlcjowAAABAAAAAAARABAAAAD7DfwNsxS0FKIbUB1RHaodqx2sHa0dsx0QHhEeOB45HkAeQR4=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/2f7f021adcfa.js b/pr/3734/docs/search.index/2f7f021adcfa.js new file mode 100644 index 0000000000..63c7a3e8c8 --- /dev/null +++ b/pr/3734/docs/search.index/2f7f021adcfa.js @@ -0,0 +1 @@ +rn_("AQQA9EkaAACKAcgCfwABAAA6MAAAAQAAAAAABwAQAAAASg9zEHQQdRC2ELcQbR9uHxcAAACGoGAAAB+joBAAABV0oFAAAB9LoDAAABzSoSAAAB/FKMECOjAAAAEAAAAAABIAEAAAAIgQjxDtE/cTEhTOFXUadhrvGvAa8RryGvMa9BqyG1AcTx0FH18f84ACZW8=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/301319fa8292.js b/pr/3734/docs/search.index/301319fa8292.js new file mode 100644 index 0000000000..a76f711403 --- /dev/null +++ b/pr/3734/docs/search.index/301319fa8292.js @@ -0,0 +1 @@ +rn_("AQIBoEAAAB/ldPTaHgAAwQARACYAE4ACoDAAAB+7aXABgQKgUAAAHi6gMAAAHONkcwGAAqAgAAAVR6BgAAAfZ25484ADZXJzE4ACsDARcQ4rcnQ=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/304ed7c3490e.js b/pr/3734/docs/search.index/304ed7c3490e.js deleted file mode 100644 index 6528678dc4..0000000000 --- a/pr/3734/docs/search.index/304ed7c3490e.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIA8+gYAAABANcDE4ACsJAb9gABcnYBAQGwgB44AAFz8qgdAAABAAEJAbCAHkAAAXPyMh4AAAEA84gCZGnzgAJucg==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/306cb67ab3ef.js b/pr/3734/docs/search.index/306cb67ab3ef.js new file mode 100644 index 0000000000..cead9136c0 --- /dev/null +++ b/pr/3734/docs/search.index/306cb67ab3ef.js @@ -0,0 +1 @@ +rn_("AQUA894fAAABAAEA8wABdAFgDwAAAQMA88AfAAABAAEAAQACoEAAAB8RoFAAAB+RaXL35A4AAJcAAQA3ECsAAQABAOMAhKAgAAAfEWCAAvIkHgAADgABAgGgYAAAHk5t8jkVAAABABOBArAwFfgAAW9w84ACY24=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/30eba84038cb.js b/pr/3734/docs/search.index/30eba84038cb.js deleted file mode 100644 index ade5efbb41..0000000000 --- a/pr/3734/docs/search.index/30eba84038cb.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIA8zwQAAABAAEAAQEBoIAAAB0tdQE7EAAAI4ACoBAAABA6MzYBgAKgAAAAGKawcBx9AAF1eAECAPUhGwAAAQABAAEAAQDzAQFpOzAAAAEAAAgAAgD+DQAAMhAHACOAAqBgAAAauGV0AQIAOzAAAAEAAFoAAgD9DQAA2A9ZAAEHAaBAAAAdnmXyrRwAAJMAAQQA8wsdAABSAAEAAQIAOzAAAAEAAMcAAQAKF8cAAQIAOzAAAAEAAMcAAQBCFscAYwADoCAAABLKZW1yOzAAAAEAAMgAAgDKCgAANwzHAAEBAPSMGAAAAQABAAEAAQAAOzAAAAEAAA8AAQAyDg8AY4ADoDAAABSgYWV084ACcnTTgISw8B3tAAEBDAEBAAGggAAAHjFm8okPAADODQEHAPMhHQAAAQABACOAAqBQAAAbJ2Fv8wICZnP27w0AAEAAAQABAMIGcQYTgAKwEAw1AAFhbwECAaAwAAAaLGE7MAAAAQAACAACAO4TBgDWGgEAAQYBsJAd9gABYwHRGwAAAQkBoEAAAB4PdAGFHQAA8wECYnr1mw8AAAEAqgAYCl8A84ACbnQBAQKgIAAAGlWwIBpWAAFhYvPVDwAAAQABAAGAAqCQAAAdLKAAAAAbn2R2YwADoFAAABz6Y25y82odAAAuAAEAAQMAOzAAAAEAAAUAAQCGGAUAI4ACoDAAABiFb3kBAgA7MAAAAQAABQACAIAdAgAcHgIA8wgBbTswAAABAAAGAAMAOxsAAMIcAgDhHQIAAQMBsIAeQAABc/IyHgAAAQATgQKgAAAADnRuc/OAAmlyd/8AAIygMAAAG1OTkY87MAAAAQAAGwIGAIwDAACDBDYBzAoBAAcNAgAcDgAAChHdAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/318469cf90d1.js b/pr/3734/docs/search.index/318469cf90d1.js new file mode 100644 index 0000000000..25b90f6e39 --- /dev/null +++ b/pr/3734/docs/search.index/318469cf90d1.js @@ -0,0 +1 @@ +rn_("AQUAOzAAAAEAALIAAgDpFQEAPhmwAAEBAaBAAAAedXA7MAAAAQAABwADALQJBABDCwEATxUAAAEIAPQoHwAAAQABAAEAAQEBoCAAAB9zcjswAAABAAAWAAsAvg4CAPUOCQABHAAAKxwAADwcAAD/HgAACB8AAC8fAQBMHwAAtB8AANEfAADzAQJlaTswAAABAAAIAAEA0wkIAAEOAaBgAAAftGLyBh8AAAEAAQIA8xEWAAByBQ8CE4ECoIAAAB5UZm4jgAKgQAAAFhBsbwGEAqAwAAAfqqBQAAAfxGNy8wMBYwH3HgAA8wMBZAFFFQAAVwIAAIagcAAAHTmwMB+AAAGwQBQYAAEHgAY7MAAAAQAABQABAKgIBQDzgARjbG52") \ No newline at end of file diff --git a/pr/3734/docs/search.index/31d1fc092dad.js b/pr/3734/docs/search.index/31d1fc092dad.js deleted file mode 100644 index fd72be2556..0000000000 --- a/pr/3734/docs/search.index/31d1fc092dad.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIAOzAAAAEAAAUAAgCAHQIAHB4CAPMHAW07MAAAAQAABgADADsbAADCHAIA4R0CABOAA6CgAAAdiKAAAAAJOGdrdA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/320ed03e4a44.js b/pr/3734/docs/search.index/320ed03e4a44.js new file mode 100644 index 0000000000..215be33238 --- /dev/null +++ b/pr/3734/docs/search.index/320ed03e4a44.js @@ -0,0 +1 @@ +rn_("AQMA9MIcAAABAPwBAQATgAKwMBzEAAFydkMAhLBgHv8AMLBQHsYAc6AwAAAcDBYBADswAAABAAAeAAsA8BMEABEVBACiGwAApBsAABscAAAjHAAA/RwMAKYdAAD6HgAAjx8AAMkfAAAjgAKwEBXhAAFleQ==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/332d1bd6b14a.js b/pr/3734/docs/search.index/332d1bd6b14a.js new file mode 100644 index 0000000000..b7d8faa4b7 --- /dev/null +++ b/pr/3734/docs/search.index/332d1bd6b14a.js @@ -0,0 +1 @@ +rn_("AQCEsCAdRQABsEAdYAABoCAAAB1HoIAAAB+IEQAGOzAAAAEAAA8ABgCDDwEA3hMAAM8VBAAXFgIA5hsDAFYcAAABAQA6MAAAAQAAAAAADQAQAAAArRuuG68bPhw/HEAcQRxCHEMcoh6pHrMe3h48HwEPAaBAAAAf5XQBmx8AAHcAAADFoEAAAB72sKAfpgABABkACQHuGwAA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/33ab16598592.js b/pr/3734/docs/search.index/33ab16598592.js new file mode 100644 index 0000000000..a521b26fb4 --- /dev/null +++ b/pr/3734/docs/search.index/33ab16598592.js @@ -0,0 +1 @@ +rn_("AQACsDAc0QGrsCAcIgIKYnUBaBsAACOEArAwHCECCmRzI4ACoCAAABCKaXQBBwD0gR0AAAEAowEBABOBArAwFAQHY2N0AQUBsMAfaAABZfL2FQAAAQABgAKwkB57AV2gYAAAHoFkbgEDAaBwAAAeq2fy0w4AAKECAYECoIAAAB/IoGAAAB/aZHMTiQOg0AAAH+SwkB++AChibXXHFwAAiqBwAAAcSqCQAAAeKrGgH+8AAaCQAAAeLQ+JB/JCAQAAAQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/342f71d7e8a5.js b/pr/3734/docs/search.index/342f71d7e8a5.js new file mode 100644 index 0000000000..7ba46d1436 --- /dev/null +++ b/pr/3734/docs/search.index/342f71d7e8a5.js @@ -0,0 +1 @@ +rn_("AYICoAAAAB/GoAAAAB/HNDbzAwFpAXYfAAATgAKwIBCqAAFkdAEFArAwHtEAcbAgHpwAgGJ19LwbAACTAD0BIQEBgAKwEBzRAaugUAAAHidkbuOAhLBAHlIAmQEJQA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3455f9ca6447.js b/pr/3734/docs/search.index/3455f9ca6447.js new file mode 100644 index 0000000000..a7d8db4785 --- /dev/null +++ b/pr/3734/docs/search.index/3455f9ca6447.js @@ -0,0 +1 @@ +rn_("AYICoJAAAB+uoOAAAB/nY3LzAAFrAXoeAAABAgGwcB6TAAFo8m4eAAABAAEEAPPbHAAAAQABAOcAAACFsAAfAgABoQAAAB/QGAgGOzAAAAEAABAABgB7CwAAKhQBAC0UAADvFQAAVRsJAEceAQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/34c3148fc8bb.js b/pr/3734/docs/search.index/34c3148fc8bb.js deleted file mode 100644 index a6d8f70901..0000000000 --- a/pr/3734/docs/search.index/34c3148fc8bb.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACoAAAABRHoHAAAB0eZG4BAAA7MAAAAQAACAAEAHUOAACLDwIAyw8CAL8dAQBXAAAAhaBAAAAanaAwAAAbP6EgAAAeFxiBAjowAAABAAAAAAAQABAAAACgD6YP8BKgFP4Y/xhwGXEZchlzGXQZdRktGsQanBu0G6McE4ACsEAaSwMbZW8=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/34edb53825e7.js b/pr/3734/docs/search.index/34edb53825e7.js deleted file mode 100644 index 5c42279b61..0000000000 --- a/pr/3734/docs/search.index/34edb53825e7.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYQCsAAbsgABsDAcswABc3QBAQA7MAAAAQAAcwACABoOAACXEHIAMwCEsIActQABoHAAABqusAgAOzAAAAEAAA4ABgAeDgAAiBAJAN8ZAADHGgAAWB0AAMsdAAABAgA7MAAAAQAA0QACAMkSAAD4FNAAAQEA89AUAAABAMQD5wAAAIagsAAAHQqgUAAAHfCgMAAAFPcUMAM7MAAAAQAA2gAJAAgJAADFCgAAWAvSAOgNAAAIGgAAZhsAAKMbAAA/HQAAth0AAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/35056c6a3870.js b/pr/3734/docs/search.index/35056c6a3870.js new file mode 100644 index 0000000000..37ed300667 --- /dev/null +++ b/pr/3734/docs/search.index/35056c6a3870.js @@ -0,0 +1 @@ +rn_("AQABsGAfbQABZQFEHAAAQ4EDsJAfAgABoDAAABv4Y25zE4ACsHAdlQABY3MBAwD1lh4AAJcAAQB6AAEAAYQCsEAeWAABoEAAAB5aZHMBAAGwYB8IAMliOzAAAAEAAAUAAgDFGwIAXBwCABODAqBgAAAe0GdyQ4ADoCAAAB7MoHAAAB2UZWhvtwAAAIawcB4zAAGwAB6IAM2gMAAAH2AcIBI6MAAAAQAAAAAAEwAQAAAAnAudC54LBQ4GDgcOCA4JDgoOCw72EzgV7hUPGsYcKR46HjsePB6AHgGCAqBAAAAeUKBAAAAeUTQ2AQMBsJAf2QAUZQFMHAAA84ACYWlTgAOgQAAAHZtkZXIBAAGwEBpRBHR19joRAAC1DSYAnQAdAB0AE4ACoDAAABvSbHTzgANhZWk=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/35735c0cb7d3.js b/pr/3734/docs/search.index/35735c0cb7d3.js deleted file mode 100644 index 064d12ee0e..0000000000 --- a/pr/3734/docs/search.index/35735c0cb7d3.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQcA80wbAABAAQEAAYACoCAAABwDoBAAABtSYXNHAACAhqEgAAAeO6AgAAAchKBAAAAct6DQAAAeCaBQAAAdIBjQAWOAA7CQHUYAAWFrcA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/359491871b06.js b/pr/3734/docs/search.index/359491871b06.js new file mode 100644 index 0000000000..989cf851de --- /dev/null +++ b/pr/3734/docs/search.index/359491871b06.js @@ -0,0 +1 @@ +rn_("AQMBoHAAAB5bZjswAAABAACSAAMAnxAAAHYVSwBnHEUAAYACoFAAABvkoLAAAB8XYWwBAwD3Nx0AAFQBCAABANYAAQABAAEAADswAAABAAAmAAEAPBEmAOcBAACFoEAAABoNCqABOzAAAAEAAAgAAwBdGgEA9BsBALwcBAABBADzRxoAAIoB8wMTgAKw0B8CAAFldgEFAPOYGwAAAQABAPMAAXP38AwAAAEARgjpBiMCOgAQAGMAA6AwAAAfqmNkcjowAAABAAAAAAALABAAAACfCVsKXApdCl4KGRoaGmIdYx0+Hj8ebB5TAAOwMBCiAAFlbXTzdAMAAIEKAQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/363e014d6f65.js b/pr/3734/docs/search.index/363e014d6f65.js deleted file mode 100644 index 873722ce4d..0000000000 --- a/pr/3734/docs/search.index/363e014d6f65.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQgA9KwdAAABAGMAAQABAAGggAAAHS118yoCAABTAb4MUwADoDAAAA+eNGFzOjAAAAEAAAAAABIAEAAAAHsDWgdbB+MNCw7AEvYTIxTjGeQZ5RlCGkgaTRqmG8ccyByNHRke") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3641bdbefa6f.js b/pr/3734/docs/search.index/3641bdbefa6f.js deleted file mode 100644 index 5dd708f4b7..0000000000 --- a/pr/3734/docs/search.index/3641bdbefa6f.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIBoEAAAB4PdPQkHQAAYQB7ACIAE4ACoDAAAB4OaXABhwKgAAAAHYygAAAAHY00NhOAAqBAAAAchWFyE4ECoDAAABtPZHMBgAKgIAAAFBagYAAAHbluePOAA2VycxOAAqAwAAAdkXJ0") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3683d9112b70.js b/pr/3734/docs/search.index/3683d9112b70.js deleted file mode 100644 index 78b2d78508..0000000000 --- a/pr/3734/docs/search.index/3683d9112b70.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACoDAAABq8oBAAABP/ZW8BAAGgIAAAGz1mAdQZAAATAAKwABTtBTBkcjswAAABAABBAAQABxMAACYUHwDYGAAAfRkfACOBArCQHW8AAWFlAQMA89ESAAABACMLI4ACoAAAABLucXIBAgA7MAAAAQAAEwABAOsZEwB3AAAAiKAwAAAaWLAgGdEAAaAgAAAU26AgAAAZ06BQAAAbZhRVEfOJAwAAAQA9GqOAhKBgAAAbP6BAAAAdiQIoBA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/36ff546997a8.js b/pr/3734/docs/search.index/36ff546997a8.js new file mode 100644 index 0000000000..149b6e4c7d --- /dev/null +++ b/pr/3734/docs/search.index/36ff546997a8.js @@ -0,0 +1 @@ +rn_("AQICsGAejgFJoGAAAB6PZm0B3xUAACOCAqBAAAAevWVsAYACoCAAABCuoBAAAA7GbngBgAKgEAAAHxawIBCsAAFjaTcBAICFoHAAAB/qsJAfUAB6kUAB") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3703248be7d5.js b/pr/3734/docs/search.index/3703248be7d5.js new file mode 100644 index 0000000000..ae8b9445cf --- /dev/null +++ b/pr/3734/docs/search.index/3703248be7d5.js @@ -0,0 +1 @@ +rn_("AQIA80IVAAABAAEAAYACsIAfcAABsLAfqAABYWwThgKwIB2OAAF0dQEGAbDAH6YAAWnyvRsAAAEAlwEAgIWgYAAAHTagcAAAHTekAQgBAQD0mgkAAAEAnwq8BVMAA7AwDrwAAWVpeTswAAABAAB4AAQAOwEAAEYUAAB4GnQA3hsBAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/373e62720dec.js b/pr/3734/docs/search.index/373e62720dec.js deleted file mode 100644 index e25cc33d21..0000000000 --- a/pr/3734/docs/search.index/373e62720dec.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACsJAbvwABsJAbwQABY2wBAgDzYBsAAAEAAQATgAKgIAAAG2NhbwEIAPMLHQAAUgABADcAAAOGsGAcmwABsGAdmAABoGAAAB4hoHAAABzmLEAGOjAAAAEAAAAAAAcAEAAAANwS3RL3E/gTBBwFHLUcthxHAAAAhaBwAAAdfKCAAAAeMaBQAAAarLBAFOwFG7BABPKJDwAAzg0BAgGgQAAAHM9lAcEYAAATgAKgUAAAGs5scxOAAqBwAAAc3WVvAQgBoHAAAB4jZAFbHQAAE4ACoGAAAByZY2UBBgDzLh4AAAEAAQABAwDzEx4AAAEAAQDzBQJwcwF8HAAAAQMA9CQaAAABAAEAbwMBAQGwgB44AAFz8qgdAAABAAEJAbCAHkAAAXPyMh4AAAEA84ECZGkBAwA7MAAAAQAACQAEACEaAgCxGgAA0BwCAC4dAgB3GAADibAwGicAAaBAAAAaiUOFsO21t6BgAAAb0MtRAjswAAABAAAIAAQAlA8CAM8PAgDqGQAAihwBAAGFA7BgHZIAAbAwHPsAAbAwHP0AAWRyc1OAhKCgAAAdpqAwAAAc8AFEAQEAAPboDQAAIAxeAT0AnAF3AEOAA6FAAAAeKrAAGmQC4WJudwEAAaBQAAAbX2X3tRQAAOoEpwEVAJQABQAVASMBArCwHYMAAWNy9NEKAAA4D9QCoAABgQKgAAAAFCKgAAAAFCM0NiOAAqAQAAAac25wAQcA8yEdAAABAAEAAYACoEAAABsnoFAAABrNY2nzgAJhbwEDAPXHEgAAAQA9AAEAPggTgAKgAAAACpJyeAEDAaBAAAAc6mUBzBoAABMDAqCgAAAdy2duASEUAAABhgKgIAAAHgCgMAAAHg5pcAGAAqAAAAAaR6AAAAAaSDQ28wIBdjswAAABAAAIAAQAGxMFAGUbAAChGwAAfxwAACOAArAgGegAAWNkt/8BAI6gUAAAHj6gUAAAGgg/yRc7MAAAAQAA4gASACIBAAA/AccAowMAAL0DAQDFAwAAMwgAABANAQDvDQAALw4CAJkPAQDzFAAAwhgBAAQaAAANGgAApRoEAGQbAAC4HAAAWh0AAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/374173a0d746.js b/pr/3734/docs/search.index/374173a0d746.js deleted file mode 100644 index f8a610f180..0000000000 --- a/pr/3734/docs/search.index/374173a0d746.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQECoEAAAB1coFAAAB3maXL3Ew4AAJEAAQBiDycAAQABAAECAaBgAAAcom3yBxQAAAEAE4ACsDAUygABb3DzAAFzAScJAADzgAJjbgEEAaBAAAAbS2U7MAAAAQAACQAEAKodAwAQHgEAOB4BAEAeAQABAAKwcB4sAAGgcAAAG+dlcjswAAABAAAlAAEAqxklAHMAhH+VX5gxAVABAfJ0AwAAqxA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/375e78463a0b.js b/pr/3734/docs/search.index/375e78463a0b.js new file mode 100644 index 0000000000..541e0d65fd --- /dev/null +++ b/pr/3734/docs/search.index/375e78463a0b.js @@ -0,0 +1 @@ +rn_("AQIA8zARAAABAAEAAQEBoIAAAB7fdQEvEQAAI4ACoBAAABEuMzYBAgD1sxwAAAEAAQABAAEA8wEBaTswAAABAAAIAAIA0A4AACYRBwAjgAKgYAAAHERldAECADswAAABAABiAAIAzw4AAMQQYQABBwGgQAAAH09l8lweAACWAAECAPT9GQAAAQABAAEAE4ACoBAAAB04cnRTgAOw8B+XAAFha3IBAwGgMAAAG7BhOzAAAAEAAAgAAgAfFQYAYxwBAAEBAqAgAAAb3bAgG94AAWFi88EQAAABAAEAAQAA9L8QAAABAJUL4QAjgAKgkAAAHt5kdvOAAm5yAQMAOzAAAAEAAAUAAQD3GQUAI4ACoDAAABn2b3kBAgA7MAAAAQAABQACADQfAgDMHwIA8wkBbTswAAABAAAGAAMAzRwAAHIeAgCMHwIAd28AAIugMAAAHOewgB4lAAGTgY87MAAAAQAANgIEAMcDAADQBEYB7A4AAAYS7QA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/37824dda9efb.js b/pr/3734/docs/search.index/37824dda9efb.js deleted file mode 100644 index d71f76d6b7..0000000000 --- a/pr/3734/docs/search.index/37824dda9efb.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACoFAAAB3DoHAAAB0VZWmDAQSwYBvvARqw4B4sAAGgAAAAGkRobXN29akPAAABANoAAQBUCAEHAaBAAAAeCGIBnB0AABOEArAgHKcAAWRtAYACoAAAABpBoAAAABpCNDbzAwF2Ae4UAAATAAOgAAAAGqywIB1OAAFhc3X0EBMAAAEAAQABAAEAAqAwAAAdlKAgAAAdaGJ19EsaAAB4ADYCbQDzgAJkdBMAAqBgAAAcomVt8gcUAAABAAEDAaBgAAAdM3UBnBoAAAEHAPThGwAAAQABAAEAI4ECoFAAABqXY3IBAwA7MAAAAQAABwADAOMSAQCWGAEA7BgDANMBhKAQAAAQfgGJAAEmCQAA1wEAgIWgoAAAHKMBTQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/37c2f5402632.js b/pr/3734/docs/search.index/37c2f5402632.js new file mode 100644 index 0000000000..9607631d01 --- /dev/null +++ b/pr/3734/docs/search.index/37c2f5402632.js @@ -0,0 +1 @@ +rn_("AQIAOzAAAAEAAOAAAgDlEwAAKxbfAPMAAW07MAAAAQAA4gACAG8LAAAGDOEAAQMA9O8ZAAABAAEA4gQTAAKgIAAAEH9jcjswAAABAACcAEAAogkPAGsQAAB2EAEAixAAAKkQAADgEwEA4xMBAO4TAQD/EwIAGhQBAB0UAgAnFAEALxQAAAIWBwAMFgEAFhYAABsWAQAhFgIAKBYAAEAaAQBIGgAAShoAAFsaAQBwGgMAmxsEAMIbAADLGwAAAxwIAA0cAwDCHAEAxxwFAM4cAADVHAAA2BwBANscBADkHAEAYB0BAGQdBQB4HQQAlR0CAJsdAAAxHgAARh4AAE0eAABUHgAAcB4AAIoeAACaHgAAvR4AAL8eAQDJHgIAzh4BAPgeAQAUHwAAHx8BACMfAQAnHwAATh8BAGgfAQBzHwAAhR8AAJIfAwCfHwEAqx8AAPOAAnJ3") \ No newline at end of file diff --git a/pr/3734/docs/search.index/37df53b26a75.js b/pr/3734/docs/search.index/37df53b26a75.js new file mode 100644 index 0000000000..efa0a80e48 --- /dev/null +++ b/pr/3734/docs/search.index/37df53b26a75.js @@ -0,0 +1 @@ +rn_("AQIAOzAAAAEAAAUAAgA0HwIAzB8CAPMAAW06MAAAAQAAAAAABwAQAAAAyBXNHHIecx50HowfjR+OHyOAArAADvELHXJzIwADoDAAABo8sDAUMAABYWVy854dAAASAgUA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/381f73b6ba68.js b/pr/3734/docs/search.index/381f73b6ba68.js new file mode 100644 index 0000000000..71d47f899b --- /dev/null +++ b/pr/3734/docs/search.index/381f73b6ba68.js @@ -0,0 +1 @@ +rn_("AYUCoEAAAB4wsHAe7wDDZGkBAgD13hMAAAgIAQABAAEAAYACoAAAABBqsDAaQAABZHIBgwKgQAAAHp+gQAAAHqBibOcAAACHsBAQaQPOsAAO8wABsCAT3QJMoDAAABrtFgEaOzAAAAEAAAoAAgBpCwIAqwsHAAEAAaAwAAAb8mbzbA8AAG0QFABDAoSgEAAAHOygYAAAHk+gYAAAHscBEAbyBRQAAAsGAQEA89IcAACDAUgBAYSEoGAAAB9hoHAAAB94oGAAAB9ioGAAAB9jEAEJU4ADsLAfFQDXY2x084CEAUAM") \ No newline at end of file diff --git a/pr/3734/docs/search.index/38940dbe8167.js b/pr/3734/docs/search.index/38940dbe8167.js new file mode 100644 index 0000000000..491f564097 --- /dev/null +++ b/pr/3734/docs/search.index/38940dbe8167.js @@ -0,0 +1 @@ +rn_("AQABoCAAABQTZQGRCwAAAQIBoEAAABzVZTswAAABAAAFAAIAFBQDAEseAQABBAGgAAAAHo1k8j4eAAABACOEA6CgAAAfkKBAAAAeimFjZZcBAACFoAAAAAtNoNAAAB+IEQVA8vcNAAABAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/38c74ae362eb.js b/pr/3734/docs/search.index/38c74ae362eb.js deleted file mode 100644 index ade8523230..0000000000 --- a/pr/3734/docs/search.index/38c74ae362eb.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQACoGAAABqwsFAY3AABYnA7MAAAAQAACQACAIgKAwB1EAUAI4ACoAAAABzJc3kBBwGgQAAAHZ5l8q0cAACTAAECAPMLHQAAUgABACMBAqBwAAAbSmR0AfQKAAABAgA7MAAAAQAAxwABAAoXxwABAgA7MAAAAQAAxwABAEIWxwBjAAOgIAAAEsplbXI7MAAAAQAAyAACAMoKAAA3DMcAAQEA9IwYAAABAAEAAQABAAA7MAAAAQAADwABADIODwBjgAOgMAAAFKBhZXTzgAJydNcBAACFsPAd7QABAQwFOzAAAAEAACgAAwAHAhMAPgMAAOsZEwA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/38f80dc0bbd2.js b/pr/3734/docs/search.index/38f80dc0bbd2.js new file mode 100644 index 0000000000..3c4151fa5b --- /dev/null +++ b/pr/3734/docs/search.index/38f80dc0bbd2.js @@ -0,0 +1 @@ +rn_("AYICoFAAAB7PsAAadAGHZXMBiQKgIAAAH6ygMAAAH7tpcAGFArAwHtEAcbAgHpwAgGJ1I4ACsCAc0QGraWy3AAAAhaAgAAAeq7AgHCICChIBDDowAAABAAAAAAASABAAAAB+D38PgA+BD+gT6RPqE+sT7BNHFEgUSRRoG0Ad7R6+H8gf2h/mHwGGAqCQAAAf0qBQAAAfZGJ3AYACoAAAABCdoJAAAB+JZGwBBwDzOB4AAEQBAQABBAA7MAAAAQAABQABAMccBQDzAgFlOzAAAAEAAAsABQD5EwEA8hkDAEkeAQBiHgEACh8BAAGBAqBAAAAfq7AAHwkAOmVzk4CEsGAcFQABoAAAABC+EEBgAYECsFAf8QABoBAAABXrZ3QBBAGgAAAAHohz9A8aAAArBAEAAQDzAAJldPJNHQAAAQABAgD1cBoAAAEAAQABACcEE4ACoAAAABC9cniHAwAAhrAwEIwAAaDAAAAfJ6AgAAAVHhgIBzswAAABAAAmABEA0AMCAIoICQAwCwEA7BUAAPoVAAC0GwIA+BsAABkcAQA3HQAAnB0BAIseAACTHgEAlh4AAC0fAQBqHwIAqB8BAOIfAQABAwGwYB6bAH9i8iEcAAAKAucZAACLsEAfsAAFoJAAAB7OoGAAABuKoKAAAB8boDAAAB7wOokbOjAAAAEAAAAAABsAEAAAAKILowukC60Org5xELEQ/hMuFBQWHhZpGoYbixuXG5gbmRuaG78bxBvzG1ccWRwMHzcfOB9JH00f") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3916f44c87c5.js b/pr/3734/docs/search.index/3916f44c87c5.js deleted file mode 100644 index ca220ac57c..0000000000 --- a/pr/3734/docs/search.index/3916f44c87c5.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQABoCAAABLxZQHlCgAAAYACoBAAABTpsNAdUgABZXIBAgD09hIAAAEA0wEBABOAArAgHW0AAWFvAQIBoGAAAByibfIHFAAAAQABBAGgIAAAG+hzATQaAADHAQAAhaAwAAAaX6BQAAAamUXAADswAAABAAAYAAgAAA4EAHgODAA5GgEAQRsAANAbAACiHAAApBwAAOAcAAABBgDzTBsAAEABAQAjgAKwIB3UAAFvcgGAAqAgAAAcA6AQAAAbUmFzAQABoEAAABtCZTswAAABAAAFAAIA8hIDAJ8cAQAjgAKgEAAAHIR0eWcAAICGoSAAAB47oEAAABy3oNAAAB4JoFAAAB0gGNABAYECoBAAABTMoLAAAB3cZWkBAAGwYB2/AAFlAbgaAABDAAOwkB1QAAGgMAAAGnFjbnMBqQoAAAEEAPXgFAAAAQAgBQEA8QEjgAKgQAAAFN9sbwEEAPPbHAAAawABAAEEAaAAAAAc3mQBlBwAAGOCA6BgAAAdRWFjZQGAAqAgAAAbJqAAAAAaSWRz84ACZWkBhAKgMAAAHf6gUAAAHhZjcvMDAWMBRB0AAPMCAWQBFBQAAPOAAmR01z8AAIqgcAAAG6EXhUY7MAAAAQAACAADACoIBQAnCQAAJg0BAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/39ad2842f2c1.js b/pr/3734/docs/search.index/39ad2842f2c1.js new file mode 100644 index 0000000000..d421c047b3 --- /dev/null +++ b/pr/3734/docs/search.index/39ad2842f2c1.js @@ -0,0 +1 @@ +rn_("AQUA80caAACKAfMDAQUA85gbAAABAAEA8wABc/fwDAAAAQBGCOkGIwI6ABAAYwADoDAAAB+qY2RyOjAAAAEAAAAAAAsAEAAAAJ8JWwpcCl0KXgoZGhoaYh1jHT4ePx5sHg==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3a2d09574fb5.js b/pr/3734/docs/search.index/3a2d09574fb5.js deleted file mode 100644 index 13796e1d4f..0000000000 --- a/pr/3734/docs/search.index/3a2d09574fb5.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQgBoIAAAB4xZgFXHQAAE4ADoBAAABzBoFAAAB21YmRwAQIBsHAd0AABZvQTGgAAWQAXAwEAAQEBoFAAABvDbwEhEwAAM4ADsDAbrwABYWVpAYECoAAAABjUoBAAABqqc3VTgAOgYAAAHfNhb3IBAgD2/RwAAAEAKgABAA4AAQATgAKgUAAAHadldQEBAPb7HAAAAQAqAAEADgABABOBAqBAAAAdtGNtAQEA9W8aAAB2AQEAiwEBAAGAAqAAAAAUn6BQAAAdzGtzY4ADoJAAABz2Z256AYACsCAT6wABoDAAAB0rb3QBAwDzXx0AAAwAAQABBAKgYAAAHWGgMAAAHMZjcPPlGAAAAQABABOAArAAGMIAAWNkZwAAgIWgUAAAHJmgQAAAGtSgUAAAHbMAKCMBBQD2kh0AAAEAEQABAAoAAQATgAKggAAAHgFydQEIAaBwAAAeI2QBWx0AAOf2AACMoIAAAB4+oDAAABproBAAABl7vUEPOjAAAAEAAAAAADcAEAAAADkJUAmzCrQKtQq2CrcKuAq5CroK2woaDSMOJA4uDosOjA6VDrsPxA/HD8gPyQ/KD5IQ5xLoEu8SvRSMGI0YjhiPGMkY1Bj9GJ0ZnhlOGl0acBp0GqwauxrVGs8bhBzJHPEc8hxZHWQdlx3GHSoePR4=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3a779f87b834.js b/pr/3734/docs/search.index/3a779f87b834.js new file mode 100644 index 0000000000..eb7457a812 --- /dev/null +++ b/pr/3734/docs/search.index/3a779f87b834.js @@ -0,0 +1 @@ +rn_("AQEAOzAAAAEAACYAAQC0CyYAAQUA9D8fAAABAB0AAQABBwGwYB7/ADBi8qQbAAB/AGcBAICFoGAAAB8zoIAAAB+tEAFJ") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3aa472a16494.js b/pr/3734/docs/search.index/3aa472a16494.js new file mode 100644 index 0000000000..b4d137c876 --- /dev/null +++ b/pr/3734/docs/search.index/3aa472a16494.js @@ -0,0 +1 @@ +rn_("AQACoGAAABw8sFAaTwABYnA7MAAAAQAACQACACwLAwBoEQUAI4ACoAAAAB55c3kBBwGgQAAAH09l8lweAACWAAECAPO+HgAAVAABAEMBA6BwAAAc3qAwAAAbimRzdAGfCwAAAQIAOzAAAAEAANYAAQBjGNYAAQIAOzAAAAEAANYAAQCMF9YAwwCEoCAAABPmoAAAAB04kBABOzAAAAEAANcAAgB0CwAA9AzWAAEBAPT9GQAAAQABAAEAAQAAOzAAAAEAABAAAQADDxAAY4ADoDAAABXOYWV084ACcnTXAQAAhbDwH5cAAQEMBTswAAABAAApAAIALQIUAG0bFAA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3aa92f3bdbd3.js b/pr/3734/docs/search.index/3aa92f3bdbd3.js deleted file mode 100644 index 79565beffe..0000000000 --- a/pr/3734/docs/search.index/3aa92f3bdbd3.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQMA9v0cAAABACoAAQAOAAEAAQEA9vscAAABACoAAQAOAAEAE4ECoEAAAB20Y20BAQD05RsAAAEAiwEBACOAAqBgAAAdzG56AQYA9pIdAAABABEAAQAKAAEA1wEAAIegYAAAHbOgcAAAHfOgYAAAHbUYAQ/yXRoAABMA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3ab7ca6c204a.js b/pr/3734/docs/search.index/3ab7ca6c204a.js new file mode 100644 index 0000000000..f3639a2833 --- /dev/null +++ b/pr/3734/docs/search.index/3ab7ca6c204a.js @@ -0,0 +1 @@ +rn_("AQCFoJAAAB+toEAAAB8UoEAAAB7doGAAAB9WoCAAAB5xmAAK8tYbAABxACMBAqBgAAAc2mhz9d8OAAB1CwEAkwINAAECAbBQHrYAfGPylBsAAKQAYwADsJAe8wABY25z9ccJAAABAJ4B6w50BA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3b202991d395.js b/pr/3734/docs/search.index/3b202991d395.js deleted file mode 100644 index 1453d04d94..0000000000 --- a/pr/3734/docs/search.index/3b202991d395.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQABoDAAAB1nbwEzHQAAAQIA8xweAAABAAEA8w0BbfPhHQAAAQABAAGAAqCgAAAdlaAwAAAcoW5yAQABoJAAAB1pafeBDwAA2goBAAoAMAMfADcA8wKEOAACOjAAAAEAAAAAAAgAEAAAAOQNwRohHSIdIx2KHd4d3x0xHhOAAqBwAAAclWFy") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3baec3ca774d.js b/pr/3734/docs/search.index/3baec3ca774d.js deleted file mode 100644 index 3a5415c1db..0000000000 --- a/pr/3734/docs/search.index/3baec3ca774d.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACoFAAAB3DoHAAAB0VZWmDAQSwYBvvARqw4B4sAAGgAAAAGkRobXN29akPAAABANoAAQBUCAEHAaBAAAAeCGIBnB0AABOEArAgHKcAAWRt84ACbG8=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3bfde52f9861.js b/pr/3734/docs/search.index/3bfde52f9861.js new file mode 100644 index 0000000000..f4c7462218 --- /dev/null +++ b/pr/3734/docs/search.index/3bfde52f9861.js @@ -0,0 +1 @@ +rn_("AQQBoAAAAB6NZPI+HgAAAQAjhQOgoAAAH5CgQAAAHophY2UTgAOwUB1aAAGgAAAAC1Njc3QBAgDzvh4AAFQAAQBDAAOgcAAAHN6gMAAAG4pkc3TzxQkAAJ4BPABnAACAhqAQAAAOy6BgAAAbjrCgHxcAArAACdAAARHBQA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3c007a50e824.js b/pr/3734/docs/search.index/3c007a50e824.js deleted file mode 100644 index b51e1c611f..0000000000 --- a/pr/3734/docs/search.index/3c007a50e824.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACoBAAABTPoMAAAB4kM3MBBwD0/xsAAAEAAQABAAEJAPT2HQAAAQABAAEAMwIDoFAAABqqY3Jz8tEbAAAdAPOAAnJ1") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3c270e7cd0bf.js b/pr/3734/docs/search.index/3c270e7cd0bf.js deleted file mode 100644 index b082503761..0000000000 --- a/pr/3734/docs/search.index/3c270e7cd0bf.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYADoAAAAB2MoAAAAB2NoHAAAB3yNDZhAYADoHAAABtkoEAAAB2noFAAAB3sYmNwAQAAOzAAAAEAACUAAQAyCyUAI4ACoEAAABueYWQBgAKgIAAAHbGwUB4qABNhZQGBArAwGOoAAbDwHdYAAWhyE4ACsBAOEgzCbm8BAwD0eB0AAAEAgwABACMDAqAwAAAdGWNu89kSAAAtAXoIAQEAOjAAAAEAAAAAAAcAEAAAAMsVzBX9HP4cKB0pHTcdOB3HAACAhaBQAAAZ3qBAAAATGrAAHe8AUAA4AwECArBwHiwAAaBwAAAb52VyOzAAAAEAACUAAQCrGSUAV3oAAMugUAAAGhCg0AAAHd2gYAAAGd+gQAAAGNBAbYIOOjAAAAEAAAAAAAoAEAAAAMQKBwvlEuYSbxnNGqgbqRsqHacdIR4=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3c47aadbb480.js b/pr/3734/docs/search.index/3c47aadbb480.js new file mode 100644 index 0000000000..2bf30ba1a7 --- /dev/null +++ b/pr/3734/docs/search.index/3c47aadbb480.js @@ -0,0 +1 @@ +rn_("AYECsAAdTQABsDAeYgABc3TzAQFtAREfAAABAAGgMAAAG7psOjAAAAEAAAAAABQAEAAAAIYPkRAVFogbiRutG64brxs+HD8cQBxBHEIcQxy7HJ0eoh6pHrMe3h48H2OAAyEjRbWaZGlvcg==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3c4c78e0879c.js b/pr/3734/docs/search.index/3c4c78e0879c.js deleted file mode 100644 index f8dd394596..0000000000 --- a/pr/3734/docs/search.index/3c4c78e0879c.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQEBoDAAABTyY/fZDQAAAQDQDDADAQAfAAEAAQAAOjAAAAEAAAAAAA8AEAAAADkJswq0CrUKtgq3CrgKuQq6CrsP7xK9FNQY/Rh0Gs8bAQgA80wbAABAAQEAE4ACoIAAAB4XY28BAAGgQAAAHRtlOjAAAAEAAAAAAAcAEAAAALAKsQqyCoYPwxJpGs4buxx3AQCAhaAgAAAPuhABDg==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3c54ff98bcc9.js b/pr/3734/docs/search.index/3c54ff98bcc9.js new file mode 100644 index 0000000000..8681059b26 --- /dev/null +++ b/pr/3734/docs/search.index/3c54ff98bcc9.js @@ -0,0 +1 @@ +rn_("AQABsGAfbQABZQFEHAAAQ4EDsJAfAgABoDAAABv4Y25zE4ACsHAdlQABY3MBAwD1lh4AAJcAAQB6AAEAAYQCsEAeWAABoEAAAB5aZHMBAAGwYB8IAMliOzAAAAEAAAUAAgDFGwIAXBwCABODAqBgAAAe0GdyQ4ADoCAAAB7MoHAAAB2UZWhvtwAAAIawcB4zAAGwAB6IAM2gMAAAH2AcIBI6MAAAAQAAAAAAEwAQAAAAnAudC54LBQ4GDgcOCA4JDgoOCw72EzgV7hUPGsYcKR46HjsePB6AHgGCAqBAAAAeUKBAAAAeUTQ2AQMBsJAf2QAUZQFMHAAA84ACYWlTgAOgQAAAHZtkZXIBAAGwEBpRBHR19joRAAC1DSYAnQAdAB0AE4ACoDAAABvSbHTHAQCAxbAAG8kABbAAG8oABWhEAAA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3c67b33df947.js b/pr/3734/docs/search.index/3c67b33df947.js deleted file mode 100644 index f28747f0e5..0000000000 --- a/pr/3734/docs/search.index/3c67b33df947.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYECsAAbsgABsDAcswABc3TzAQFtAVwdAAABAAGgMAAAGjVsOjAAAAEAAAAAABAAEAAAAK4OqA8pGioaKxqyGrMatBq1GrYatxopG+8c9Rz/HCwdjh1jgAMnf+RdP6Npb3I=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3ca18b4b7c87.js b/pr/3734/docs/search.index/3ca18b4b7c87.js deleted file mode 100644 index f662742c90..0000000000 --- a/pr/3734/docs/search.index/3ca18b4b7c87.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACoEAAAB3JoGAAAB3xYXIBBQD09h0AAAEAAQABAKOAhKBAAAAc7KBAAAAc7RIIAgECADowAAABAAAAAAAPABAAAACcFJ0UEhqtGvIb+Bv5G/ob0xzUHNUc1hxSHVMduB0kHlOAhKDwAAAeOqAwAAAdYWAgBAEBAPNqHQAALgABAPOAAm1u") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3cacf6227adc.js b/pr/3734/docs/search.index/3cacf6227adc.js deleted file mode 100644 index 691ae35356..0000000000 --- a/pr/3734/docs/search.index/3cacf6227adc.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQACoDAAABzMoCAAAByDYnUB5xkAACOEAqAwAAAcgmRzI4ACoCAAAA+iaXQBBwD05RsAAAEAiwEBABOBAqAwAAAZ5mN0AQUBsMAdugABZfLIFAAAAQABgAKwkBzLAV6gYAAAGl5kbgEDAaBwAAAc92cBgBAAAAGBAqCAAAAeGqBgAAAeK2RzE4kDoNAAAB40sJAeEgAjYm11xxcAAIqgcAAAGr6gkAAAHIGhoAAAHj+gkAAAHIQPiQcBLQEAAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3cd36f08c6ff.js b/pr/3734/docs/search.index/3cd36f08c6ff.js deleted file mode 100644 index b5d7e2e0c7..0000000000 --- a/pr/3734/docs/search.index/3cd36f08c6ff.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQcAOzAAAAEAAHMAAgB6GgAABxxyAAEDADswAAABAAByAAEAzxVyAAECADswAAABAABtAAIAJBMAAAEZbADTAISwABq5AAEKAQQ7MAAAAQAAdAADAA4JAABRCXIAkQ8AABOAAqAAAAAOG2Vn") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3ce7f197d590.js b/pr/3734/docs/search.index/3ce7f197d590.js deleted file mode 100644 index 12d2a91eeb..0000000000 --- a/pr/3734/docs/search.index/3ce7f197d590.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQsA9HQdAAABAAEAAQABgwKgIAAAHgCgMAAAHg5pcPMAAWbyDA4AALoM84ACZmlDgISgIAAAHZSgMAAAExigQAAAHOsAQUg=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3d26df2bfa55.js b/pr/3734/docs/search.index/3d26df2bfa55.js new file mode 100644 index 0000000000..3ba7f2e180 --- /dev/null +++ b/pr/3734/docs/search.index/3d26df2bfa55.js @@ -0,0 +1 @@ +rn_("AYACoBAAABQjoGAAAB7Ibm8BAAKgYAAAHzCgMAAAH3JiczowAAABAAAAAAAMABAAAACcEHoRTRpOGtcb2BvZG9ob2xvcGyYcmR60HocAAACFsDAaagABoEAAABvCsDAb9AABoKAAAB7MkgADOzAAAAEAAA4AAgDgDgIAbQ8LAMOABKAAAAAVJqAAAAAVJzQ2ZWk=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3d71dbc7789c.js b/pr/3734/docs/search.index/3d71dbc7789c.js deleted file mode 100644 index d7638c027f..0000000000 --- a/pr/3734/docs/search.index/3d71dbc7789c.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQMA9v0cAAABACoAAQAOAAEAAQEA9vscAAABACoAAQAOAAEAE4ECoEAAAB20Y20BAQD05RsAAAEAiwEBACOAAqBgAAAdzG56AQYA9pIdAAABABEAAQAKAAEA1wEAAIegYAAAHbOgcAAAHfOgYAAAHbUYAQ/0XRoAABMAPADYAQGAAqAAAAAaQaAAAAAaQjQ28wMBdgHuFAAAFwEAAMigkAAAHcWgcAAAHbGgYAAAHOaggAAAHM2wIB1OAAGgoAAAHdnAABIPOzAAAAEAAA8ABwAQEwMA3BgBAEAaAAD2HAAAdB0DAM0dAQDtHQEA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3d75b2aebc8f.js b/pr/3734/docs/search.index/3d75b2aebc8f.js new file mode 100644 index 0000000000..ecf831ae79 --- /dev/null +++ b/pr/3734/docs/search.index/3d75b2aebc8f.js @@ -0,0 +1 @@ +rn_("AQIAOzAAAAEAAAsAAwB8EQkAYBsAAFMcAAABAwGgQAAAH7ViAU0fAADzAgFn9KgbAAABAAEAmgNTAAOwcBuiA1hhaW87MAAAAQAATQACAN8LJgA8ESYA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3dbf7303011b.js b/pr/3734/docs/search.index/3dbf7303011b.js deleted file mode 100644 index a2b9d65506..0000000000 --- a/pr/3734/docs/search.index/3dbf7303011b.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQABoDAAABTyY/fZDQAAAQDQDDADAQAfAAEAAQQA80cbAAABAAEA8wABZfIIEwAAAQAjgAKgcAAAG6xhZfOAAnJz") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3e0765110c79.js b/pr/3734/docs/search.index/3e0765110c79.js new file mode 100644 index 0000000000..90181a99b7 --- /dev/null +++ b/pr/3734/docs/search.index/3e0765110c79.js @@ -0,0 +1 @@ +rn_("AQIA9PQVAAABAJkHAQABBgD0dB0AAAEAAQABAAELAPQtHwAAAQB6AAEAAQgA9JceAAABANgAAQCzgISgMAAAHBgBSCABgAKggAAAHpawQB+mAAFldAEFAPRuHQAAAQABAAEAE4EDoKAAAB8ssFAdcgABbG1zAYACsVAf3AABsHAeSwABcnUBBQA7MAAAAQAABwACABwcAwD7HgMAAQIA9PAVAAABAAEAAQABBAGwMB5JAAF087QbAAABAAEAAQoA9MEeAAABAAEAAQC3PwADi6CgAAAexbCwHwAAAbCMH/J+HwAAAQATAAKhEAAAH5FhZvS/EAAAAQCVC+EA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3e57ae812a91.js b/pr/3734/docs/search.index/3e57ae812a91.js new file mode 100644 index 0000000000..b58cb3cabb --- /dev/null +++ b/pr/3734/docs/search.index/3e57ae812a91.js @@ -0,0 +1 @@ +rn_("AQEA9HQdAAABAAEAAQAjAAOhIAAAH+qgAAAAEK5jcnMBGBoAAAEBAPRaHQAAAQABAAEAAYUCoAAAAB4jsCAeqQAKZG7zAAFw8uANAAABAAEEAPSSHwAAAQABAAEA8wEBZQFYHAAA5wEAAIWxMB/vAAEdAAQB8g4AAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3e789c5583f6.js b/pr/3734/docs/search.index/3e789c5583f6.js new file mode 100644 index 0000000000..bc1752c891 --- /dev/null +++ b/pr/3734/docs/search.index/3e789c5583f6.js @@ -0,0 +1 @@ +rn_("AQcBsEAfHwABZQGmHgAAAYADoFAAABy6gB5EB1DQoFAAAB8ecHJ1AYICoAAAAB1qoAAAAB1rZXMjgAKgYAAAHrlldAEDAPW8HAAAAQABAAEAAQABAAGgkAAAH59sOjAAAAEAAAAAAAgAEAAAAKAbhR2sHs0eBB8+H28fdx+vHxOAAqAgAAAcu2RuAQQAOzAAAAEAAAUAAQBkHQUAAQQBoAAAAB5DZPNiHQAAAQAJAfcCAAGGoGAAAB64FAkDOzAAAAEAABMABQDUFQoAOxkCAPMcAQChHwEApB8BAAEAAbBAHWAAAWX1zxUAAAEAAQABAAEAEwACsKAfpgABZ3YB7hsAAPOAAm5vAQMAOzAAAAEAAAUAAgCbGwQAVB4AAAEDAbAwHwoAAXTynB0AAAEAAQQA9V0eAAABAAEAAQABAPOAAm9yAQIA9TIcAAABAAEAAQABADMAhKBAAAAc8rDAH4YAATAADDowAAABAAAAAAANABAAAACUELwQXxujG+EbfR1+HX8dgB2fHaAdoR2iHTMf84ACZHIBAoSgQAAAH5mggAAAH+ugAAAAHx2gMAAAHMGQAAYB4BUAABOAAqBgAAAeo2Ru1wUAAIewUBzwAAGwABscAAEVQRI7MAAAAQAADwAHAJQLAgD/DQAAwg4DABQPAQBsGgEAvRsBAOocAQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3e9244f66620.js b/pr/3734/docs/search.index/3e9244f66620.js deleted file mode 100644 index 1aad3da329..0000000000 --- a/pr/3734/docs/search.index/3e9244f66620.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQABoIAAAB2PdAGnDwAAE4ACsEAd0gABZ3YBAQGgQAAAHdll9/0KAAABAOgCAQAbEDQAAQABAAGwABTtBTByOzAAAAEAAEEABAAHEwAAJhQfANgYAAB9GR8AI4ECsJAdbwABYWUjAQKgQAAAHfVlaQHHHQAA04CEoGAAABrFKSAA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3e9396607b2f.js b/pr/3734/docs/search.index/3e9396607b2f.js deleted file mode 100644 index 2b88e4b98e..0000000000 --- a/pr/3734/docs/search.index/3e9396607b2f.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQABsIAd3gABZvOGAwAAvxYBAAECADswAAABAAAFAAIAgB0CABweAgDzBgFtOjAAAAEAAAAAAAcAEAAAAJoUOxvCHMMcxBzhHeId4x0BBAD05xwAAAEA2QABAPMAAXTztw8AANYKAQDzgANlbXM=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3ef786b3d82b.js b/pr/3734/docs/search.index/3ef786b3d82b.js deleted file mode 100644 index 11da8bbd8e..0000000000 --- a/pr/3734/docs/search.index/3ef786b3d82b.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQEAOzAAAAEAACUAAQAICyUAAQUA9pIdAAABABEAAQAKAAEAAQcBsGAdTQAtYvIgGgAAeABnAQCAhaBgAAAdf6CAAAAeARABSQ==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3f32c1797ecf.js b/pr/3734/docs/search.index/3f32c1797ecf.js deleted file mode 100644 index 7e4c08bf51..0000000000 --- a/pr/3734/docs/search.index/3f32c1797ecf.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQYBsEAdDQABZTswAAABAAANAAIAkhoAAGcbDAABAgD0Dx0AAAEAAQABAAEEADswAAABAAANAAMAexoIAIUaAwBzHQAA8wECZXr0kg8AAAEAmQ4BAPOAAm5zAQwA9EkdAAABAAEAAQBDAAOgAAAACRCgQAAAGNdjZWk6MAAAAQAAAAAAFQAQAAAAwgPDA84KzwoKDQsNDA0NDQ4NDw2ID/4S/xIiE/IUfhh/GIAYuBgdHSUd/h1jAAOgcAAAHTxhZWn3KAgAAAEAnRQSATsAAQABAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3f353e8b5a66.js b/pr/3734/docs/search.index/3f353e8b5a66.js deleted file mode 100644 index a21b9b3ea6..0000000000 --- a/pr/3734/docs/search.index/3f353e8b5a66.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACsFAd4AARsQAeDAABZXgjgAKwQB2uABthcgEHAbBAHWsAAWUB8hwAAAGAAqBQAAAbKKBQAAAdanB1AYICoAAAABvOoAAAABvPZXMjgAKgYAAAHQVldAECAPUqGwAAAQABAAEAAQAjgAKgcAAAHaBhbwEAAaCQAAAd9Gz1HBoAANwCmAA6ADkAE4ACoCAAABspZG4BgwKgEAAAHX2gsAAAHiFscwEEADswAAABAAAFAAEAyBsFAAEEAaAAAAAcmGTyxxsAAPUA5wsAAYigsAAAHeugYAAAHQSWCQM7MAAAAQAAEQADAKYUCgDTFwIA9h0DAAEAAbBAG8UAAWX1oRQAAAEAAQABAAEAEwACsKAd+gABZ3YBZxoAAPOAAm5vAQMA9RcaAAABAAEAAQABACOAArAAGh8AO2Ry5wIAAoawUBtcAAGwABmdAAEUQRI7MAAAAQAACwAFAPANAwBCDgEA9hgBADYaAQBWGwEAowCEoEAAABzsoEAAABztEggC8sQDAAC1FQ==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3f550e3a057b.js b/pr/3734/docs/search.index/3f550e3a057b.js new file mode 100644 index 0000000000..889fa24840 --- /dev/null +++ b/pr/3734/docs/search.index/3f550e3a057b.js @@ -0,0 +1 @@ +rn_("AQEBsIAf6AABc/JXHwAAAQABCQGwgB/xAAFz8uIfAAABAPOHAmRpIwCEsBALjQPSoBAAAB5+sCAO2QKdGgAIAZQIAAA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3f9ccb8cf2fe.js b/pr/3734/docs/search.index/3f9ccb8cf2fe.js deleted file mode 100644 index 494f321dc1..0000000000 --- a/pr/3734/docs/search.index/3f9ccb8cf2fe.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYcCoFAAABzroGAAAB0fYnYBgAKwABvOAO2gAAAAG89lcwEDAPMuHgAAAQABAKOBhKCwAAAdHqAQAAAN/0IgBAEFADswAAABAAAIAAMA2hgBAE8aBQAAHQAAAQUCoEAAAB0roCAAABzBaHUBThoAAGOAA7BAHeAAEW1xcxOAArEAHgwAAWV4AYgCoEAAAB3/oAAAAB1UZXMBBAGgMAAAHR1j8lAbAAABAAEFADswAAABAAAJAAQA+BsCANMcAwBSHQEAuB0AAAEDAPOhGgAAAQABAPcAAAKFgBjJSQBtFYAC8pMUAAABAAEEAqAwAAAd2KBgAAAeB3BzATQdAAATgwKgUAAAGzRycwEEADswAAABAAAlAAEAdBslANcAAICGoGAAABkAoGAAABjZsUAeJQABEUQJAYUDoEAAABzAoHAAAB1aoGAAAB0qZW5zAQsA9OcdAAABAAEAAQABAAKgEAAAHcygQAAAGlllcvMWDQAAAQABAAECAPOODwAAAQC7C/OAAnJ0AQYA8y4eAAABAAEAAQMA8xMeAAABAAEA84sCcHMTgAKwAA6GAAFkdAGHAqCQAAAeArDgHjYAAWNylwEAAIWgYAAAG/SgUAAAHQWEKAH3zRQAAAEA9AUMAAgBAQAQAAEIAbBgHU0ALWLyIBoAAHgAAYACsDAdrgAboNAAAB2mZG6neQMAz6AQAAAOo6BQAAAS2KCAAAAbT7BgFLUE6rBQEtkJp6CQAAAbVEJvohc6MAAAAQAAAAAAGQAQAAAAKQEqAR8CIAIhAiICIwIkAiUCJgInAmUHZgdCCagKGw0cDR0NBw50DokOwg/DD0YUKBu3HQ==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/3fb94dc38174.js b/pr/3734/docs/search.index/3fb94dc38174.js new file mode 100644 index 0000000000..c9183c2796 --- /dev/null +++ b/pr/3734/docs/search.index/3fb94dc38174.js @@ -0,0 +1 @@ +rn_("AQIA8woaAAABAAEAAQABsIAfWwABc/NkGwAAAQABAAEDAbCAH7wAAXPydx4AAAEAEwACsIAfWQABaXPzYRsAAAEAAQDzggI0NgEDAPNbGgAAAQAUBAEBAbCAH+gAAXPyVx8AAAEAAQkBsIAf8QABc/LiHwAAAQDziAJkafOAAm5yVwIAAYawUBu3AAGgcAAAHxCgYAAAHtwwIQbyJR4AAAEAAQAA8zILAAABAN4QAYACoGAAAB+coBAAABCgaW9DAYSwUB9QAHqwIBxfAjagkAAAHZcEDAH0YgsAACwFrQTdBvOAA2VzdQ==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4097b65a3c66.js b/pr/3734/docs/search.index/4097b65a3c66.js deleted file mode 100644 index ee6163ac2c..0000000000 --- a/pr/3734/docs/search.index/4097b65a3c66.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQABoCAAABs9ZgHUGQAAEwACsAAU7QUwZHI7MAAAAQAAQQAEAAcTAAAmFB8A2BgAAH0ZHwAjgAKwkB1vAAFhZQEBAbBwHWAA3GnycxAAAAEAhwEAgMUHxNHwt7egAAAAEH6gYAAAHToAAiCK") \ No newline at end of file diff --git a/pr/3734/docs/search.index/40e6f69e6d98.js b/pr/3734/docs/search.index/40e6f69e6d98.js deleted file mode 100644 index 0234501d8d..0000000000 --- a/pr/3734/docs/search.index/40e6f69e6d98.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACsBAPmQABoDAAABTAbnKHAAAAhrAwGJAAAaBwAAAcf6BQAAAY47AwHQcAAaAgAAAT/ReACPUkCQAAAQBrAQEAmhIBAAOgkAAAHgGgQAAAHV+gYAAAHadkZXMBuxoAAPMGAXPy4RgAAAEAAYACsFAY3wABsCAc4QABYW+HAwAAh7AwE/sAAaBwAAAbZaBQAAAUv6AgAAAQRQeAC/XLBQAAAQABAAEAAQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/412947b028b8.js b/pr/3734/docs/search.index/412947b028b8.js new file mode 100644 index 0000000000..499e8bfd61 --- /dev/null +++ b/pr/3734/docs/search.index/412947b028b8.js @@ -0,0 +1 @@ +rn_("AQAAOzAAAAEAAAUAAgAqGgMAaR4BAAEJAPPJHgAAAQABAPMCAnBzOzAAAAEAAA0ABACXEAIASxUAAFAdBQBuHQMAAQcBoEAAAB+1YgFNHwAAE4YCsCAeVgABZG0TgAKggAAAH3RvcgEBAaAwAAAfYHcBgB4AABOCArCgH20AAWVpEwACoFAAAB+zZXTzAA4AAAEAkBEBgwKgUAAAHZKwMB+AAAFjcAGBA6BQAAAeVaAAAAAfhKCwAAAfcmJkdAGAAqBAAAAfy6BgAAAf22Fy8wIBcwESFgAA84ACYXIBAgD0IBQAAAEACAayBAEBADswAAABAAAGAAMAlRABAEgVAgCnHgEAU4CEsFAbwAABsBAeQQABEUACAQUA9oseAAAIAAEA1gABAAEAI4ECoHAAAB6ubXMBBwGgQAAAH7BiAUkfAAABBAD0ZhoAAAEAAQCHAUOAA6CAAAAf56BAAAAeU2Vsb3c/AADKoGAAABxYACNmBzowAAABAAAAAAAaABAAAAC5CboJuwm8Cb0JRQtGC24RbxFwEQYaFRoyGoIb4BvxG0ocLh4vHjAebR5uHm8e5h5SH1MfVB8=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/412e1d98c561.js b/pr/3734/docs/search.index/412e1d98c561.js deleted file mode 100644 index 573dc85219..0000000000 --- a/pr/3734/docs/search.index/412e1d98c561.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQICsGAc3wFJoGAAABzgZm0BsRQAACOCAqBAAAAdCmVsAQMBsFAdnwBGYwHXHAAAAYACoCAAAA/EoBAAAA30bngBAQGgcAAAHiNkAVsdAADzAQFlAWEdAAATgAKwIA/CAAFjabcBAICFoHAAAB46kUAB") \ No newline at end of file diff --git a/pr/3734/docs/search.index/41f5a8533fff.js b/pr/3734/docs/search.index/41f5a8533fff.js new file mode 100644 index 0000000000..a0a74e6fb2 --- /dev/null +++ b/pr/3734/docs/search.index/41f5a8533fff.js @@ -0,0 +1 @@ +rn_("AQABoBAAAA7HZTswAAABAAAFAAEAJBsFAAEDADswAAABAAB7AAIAAhwAAKcdegABgAKgcAAAHzGgUAAAHDllb/MAAXPykBsAAIADs4CEoGAAAB0KCEEE") \ No newline at end of file diff --git a/pr/3734/docs/search.index/421700c5b664.js b/pr/3734/docs/search.index/421700c5b664.js deleted file mode 100644 index f5e283ffdd..0000000000 --- a/pr/3734/docs/search.index/421700c5b664.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQABoDAAAB1nb/JJGgAA6gIBAwGgQAAAHfVlAccdAAABAAGgEAAAHaBtAcsaAAAjgQKgIAAAG0VpeQEGAPQKHgAAAQABAAEAIwQDoFAAABvyoCAAABrJY2Vp8sQbAADHAQECAPMcHgAAAQABAPMNAW3z4R0AAAEAAQABgAKgoAAAHZWwMByhAHpucgEAAqAQAAAbJqCQAAAdaWVpOjAAAAEAAAAAAAgAEAAAAIEPWxpcGmYaiB2WHbUd7B3yHcc9AACMoCAAABq8oDAAABl5oFAAABqboJAAAB2WoBAAABLKPSwzOjAAAAEAAAAAABQAEAAAALAKsQqyCuQNCQ6GDz8QQBDDEmkawRrOG7scIR0iHSMdih2xHd4d3x0xHg==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/421ce168f44f.js b/pr/3734/docs/search.index/421ce168f44f.js deleted file mode 100644 index 47a8129a2e..0000000000 --- a/pr/3734/docs/search.index/421ce168f44f.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQQAOzAAAAEAAAsAAwCIEAkA3xkAAMcaAAABBgD0uxsAAAEAAQABAAEAAbAgFc0FiGn2KwwAAAEAAQDWDXQAYwITAQKgMAAAFc5zdPMNCQAAqQ9ZAdOAhKBAAAAdigCgBg==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/421fa55aa0f2.js b/pr/3734/docs/search.index/421fa55aa0f2.js deleted file mode 100644 index 2ccd71f78f..0000000000 --- a/pr/3734/docs/search.index/421fa55aa0f2.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIA82AbAAABAAEAE4ACoCAAABtjYW8BCADzCx0AAFIAAQA3AAADhrBgHJsAAbBgHZgAAaBgAAAeIaBwAAAc5ixABjowAAABAAAAAAAHABAAAADcEt0S9xP4EwQcBRy1HLYc") \ No newline at end of file diff --git a/pr/3734/docs/search.index/424f85cb116e.js b/pr/3734/docs/search.index/424f85cb116e.js deleted file mode 100644 index 448e2429c0..0000000000 --- a/pr/3734/docs/search.index/424f85cb116e.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYECsBAYwgABoEAAABrUbnMBAgDz5hQAAAEAAQBjgAOgEAAAG55laXMBAAGwgB3eAAFm8kUaAAABAAEFAPTnHAAAAQDZAAEA84ACZXNjgAOgMAAAHIZlZ3Q=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/427e09c84185.js b/pr/3734/docs/search.index/427e09c84185.js deleted file mode 100644 index de493cc67f..0000000000 --- a/pr/3734/docs/search.index/427e09c84185.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQQBoFAAAB1DZvKnGAAAZQEBgQKgUAAAHOugYAAAHR9idvMCAWXy4RwAAAEAAQQBoAAAABzeZAGUHAAAI4YDoGAAAB1FoEAAABzbYWNlE4ACsAAJQwABaXkBggKgAAAAHhigAAAAHhk0NvMLAWkByB0AAEOCA6BwAAAcyaBwAAAcymFmdgEAAaBAAAAaDWLyshgAAD4FAQABoEAAABpDZTowAAABAAAAAAAIABAAAAAUDqYO3hSSHZMdpB2lHa8dsB3zgAJkcucDAACHsFAY3wABoEAAAA+GEUkD8yQBAACADgEA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/42b13ee8bb0b.js b/pr/3734/docs/search.index/42b13ee8bb0b.js deleted file mode 100644 index 2667270e0a..0000000000 --- a/pr/3734/docs/search.index/42b13ee8bb0b.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACoBAAABtjoGAAAB2IbnUBAQDzYBsAAAEAAQAjgAKhIAAAHiRudJcAAACFoDAAAB2UoKAAAB3woCAAAB1oA0EI9UsaAAB4ADYCNAA5AA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/42c6e028afc2.js b/pr/3734/docs/search.index/42c6e028afc2.js new file mode 100644 index 0000000000..442147b84c --- /dev/null +++ b/pr/3734/docs/search.index/42c6e028afc2.js @@ -0,0 +1 @@ +rn_("AYECgBYXABABoEAAAB72Z3MjgISgEAAAHTWwMBozAAGgMAAAGjUQAQYBAAGwgB+KAAFm8swbAAABAAEFAPSXHgAAAQDYAAEA84ACZXNjgAOgMAAAHi9lZ3Q=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/42fce698f4ca.js b/pr/3734/docs/search.index/42fce698f4ca.js new file mode 100644 index 0000000000..86a11e5b21 --- /dev/null +++ b/pr/3734/docs/search.index/42fce698f4ca.js @@ -0,0 +1 @@ +rn_("AQACoGAAABw8sFAaTwABYnA7MAAAAQAACQACACwLAwBoEQUAAQABgBoKABABdAGzDgAAAQABsEAfHwABZfTzDgAAAQCFDy0AAYUCoHAAAB9noDAAAB7aZXMTAAOgQAAAGkigIAAAE+diZXL1dgsAAFkCAQABAAEAAQEBoAAAABy6c/OOCwAAbg9iAgEBAPXeEwAACAgBAAEAAQAzgAOgcAAAHOxub3YBgAKgAAAAEGqwMBpAAAFkcgGAAqBAAAAen6BAAAAeoGJsE4ICoDAAAB8WbnTnyQAAjLAQEGkDzqAwAAAedqCAAAAfD7AgE90CTKAwAAAa7RbBezswAAABAAATAAYARgEBAGkLAgCrCwcAFg8BAEsPAQBYGgIA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4385b0edb5b7.js b/pr/3734/docs/search.index/4385b0edb5b7.js deleted file mode 100644 index 49ad711885..0000000000 --- a/pr/3734/docs/search.index/4385b0edb5b7.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIAOjAAAAEAAAAAAA0AEAAAACkaKhorGrIasxq0GrUathq3Gu8c9Rz/HCwdjh0BgAKgMAAAHZ2wEBqKAAFyePMAAWU7MAAAAQAADQAFALYUBACgGQQAexwAAD0dAADWHQEA84ACZG4=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/43bbc3ef3bba.js b/pr/3734/docs/search.index/43bbc3ef3bba.js new file mode 100644 index 0000000000..3bef6253dd --- /dev/null +++ b/pr/3734/docs/search.index/43bbc3ef3bba.js @@ -0,0 +1 @@ +rn_("AYACoHAAAB/SoAAAAAmgZmcBBQGwIB8AAAF19DIUAAABAAEAAQABAAA7MAAAAQAAdQACAEYUAAB4GnQAI4ACsBAaagABdHjzgANvc3U=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/43d39ea3fb88.js b/pr/3734/docs/search.index/43d39ea3fb88.js deleted file mode 100644 index e7a633d3f9..0000000000 --- a/pr/3734/docs/search.index/43d39ea3fb88.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQMBoEAAABtDZQG3GAAAAQDFsGAd0gABoDAAABS+sEAbTQABsCAS+AABsEAY3gQ1AECoCPLcCgAAJxJTAAOwUB3aAAFyc3jzHw4AAAEAYgE=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/444628f33178.js b/pr/3734/docs/search.index/444628f33178.js deleted file mode 100644 index e28ee0e2f4..0000000000 --- a/pr/3734/docs/search.index/444628f33178.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYQCoJAAAB3GsDAcuQABdHUBgQKwQBtZAAGgkAAAHVlhdAEEAPN2GQAAAQABANOAhKCAAAAcBgwBASOAAqCwAAAclW5y") \ No newline at end of file diff --git a/pr/3734/docs/search.index/44d2a33b1fc4.js b/pr/3734/docs/search.index/44d2a33b1fc4.js new file mode 100644 index 0000000000..98fc527a16 --- /dev/null +++ b/pr/3734/docs/search.index/44d2a33b1fc4.js @@ -0,0 +1 @@ +rn_("AQMBsDAfCgABdPKcHQAAAQABBAD1XR4AAAEAAQABAAEA84ACb3IBAgD1MhwAAAEAAQABAAEAMwKEoEAAABzysMAfhgABMAAMAbwQAAAjgAKgQAAAGndpdA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/450e5a38cff1.js b/pr/3734/docs/search.index/450e5a38cff1.js new file mode 100644 index 0000000000..4aca47d4bb --- /dev/null +++ b/pr/3734/docs/search.index/450e5a38cff1.js @@ -0,0 +1 @@ +rn_("AYICoCAAABxVoDAAAB04ZXABggKgYAAAHZCgQAAAHClmZ2OAA7BQGmUBiGFpciMAA6BQAAAWD6AgAAAT/mNmcvV/AwAAJwUBAEMFtgI=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/461b9d8620c2.js b/pr/3734/docs/search.index/461b9d8620c2.js deleted file mode 100644 index a175951b0a..0000000000 --- a/pr/3734/docs/search.index/461b9d8620c2.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQcA9P8bAAABAAEAAQABCQD09h0AAAEAAQABADMAA6BQAAAaqmNyc/LRGwAAHQABAAGgMAAAGmtm9pUOAAA0CpAEbQBkABMAAYgCoEAAAB3/oAAAAB1UZXMBgQKgAAAAFN6gAAAAGLJkckOBA6BgAAAeCaBgAAAbQWNtcBOAAqBQAAAcpGFlAQ0BoEAAAB31ZQHHHQAAAYACoCAAABwDoBAAABtSYXMnAACChaEgAAAeO6BAAAAct6DQAAAeCaBQAAAdIAjQAQEDAaAwAAAdHWPyUBsAAAEAAYACoFAAABzroGAAAB0fYnbzgAJkcgEFADswAAABAAAJAAQA+BsCANMcAwBSHQEAuB0AAAECAPOhGgAAAQABABOAAqAAAAAbWGRsd3cAAIygIAAAFB6gsAAAHN2gYAAAHTNV1Q46MAAAAQAAAAAAGQAQAAAAJAglCCYIJwjrCjQN6xPsE5MUlBSeGJ8YoBicGuEc4hznHOgcBx0IHW0dbh3BHcId1B3VHQ==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4632faf779cf.js b/pr/3734/docs/search.index/4632faf779cf.js deleted file mode 100644 index d92f5ebf49..0000000000 --- a/pr/3734/docs/search.index/4632faf779cf.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQACoGAAABqwsFAY3AABYnA7MAAAAQAACQACAIgKAwB1EAUAAQABgBiYABABdAHhDQAAAQABsEAdawABZfQjDgAAAQClDikAAYUCoHAAAB25oDAAAB0kZXMTAISgQAAAGNagIAAAEsugsAAAHQYSAAM7MAAAAQAABQACAAINBAAOGgAAAQEBsAAOBw0hc/LjCgAA4BABAQD1whIAAJ4HAQABAAEAM4ADoHAAABtYbm92AYACoAAAAA+EsDAYzgABZHIBgAKgQAAAHOygQAAAHO1ibBOCAqAwAAAdYW5058kAAIywEA+DA5KgMAAAHMaggAAAHVmwIBLBAjWgMAAAGW4WwXs7MAAAAQAADwAEADABAQDBCgIA/woHAOUYAgA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/46b65fb77d7c.js b/pr/3734/docs/search.index/46b65fb77d7c.js new file mode 100644 index 0000000000..6003eee1e2 --- /dev/null +++ b/pr/3734/docs/search.index/46b65fb77d7c.js @@ -0,0 +1 @@ +rn_("AQIAOzAAAAEAABwADQACFgcAKBYAAEoaAADCGwAAxxwFANscAgCXHQAAmx0AAEYeAABNHgAAyR4CAM8eAABPHwAAIwACoHAAABxRaXIBnh4AAAEAAaBAAAAfTmXz7h4AAJQAAQATgAKgIAAAHzxkbiOFAqAwAAAfRGRpAQUBoEAAAB8nZfLcHwAAAQDzgAJjZAEBAbBAH2gAAWXyMR8AADYAE4ACsNAfJQABZXNXAQCAx6AAAAAIlbDQHxUA16AgAAAQbbEQH3wAAQACqQk=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4716502d84cd.js b/pr/3734/docs/search.index/4716502d84cd.js deleted file mode 100644 index d8ab1901fe..0000000000 --- a/pr/3734/docs/search.index/4716502d84cd.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQcBsEAdawABZQHyHAAAAYACoFAAABsooFAAAB1qcHUBggKgAAAAG86gAAAAG89lcyOAAqBgAAAdBWV0AQIA9SobAAABAAEAAQABACOAAqBwAAAdoGFvAQABoJAAAB30bPUcGgAA3AKYADoAOQATgAKgIAAAGylkbgGDAqAQAAAdfaCwAAAeIWxzAQQAOzAAAAEAAAUAAQDIGwUAAQQBoAAAAByYZPLHGwAA9QDnCwABiKCwAAAd66BgAAAdBJYJAzswAAABAAARAAMAphQKANMXAgD2HQMAAQABsEAbxQABZfWhFAAAAQABAAEAAQATAAKwoB36AAFndgFnGgAA84ACbm8BAwD1FxoAAAEAAQABAAEAI4ACsAAaHwA7ZHLnAgAAhrBQG1wAAbAAGZ0AARRBEjswAAABAAALAAUA8A0DAEIOAQD2GAEANhoBAFYbAQAjgAKgQAAAGz5vdA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4718950e7dee.js b/pr/3734/docs/search.index/4718950e7dee.js deleted file mode 100644 index 203519596f..0000000000 --- a/pr/3734/docs/search.index/4718950e7dee.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQUAOzAAAAEAAKkAAgC7FAEA1henAAEBAaBAAAAcxXA7MAAAAQAABwADACkJBACfCgEAIBQAAAEIAPR0HQAAAQABAAEAAQEBoCAAAB3FcjswAAABAAASAAgA7A0CACUOCAB5GgAAnhoAALAaAABNHQAAeh0BAJsdAADzAQJlaTswAAABAAAGAAEARgkGAAEEAPXgFAAAAQAgBQEA8QEjgAKgQAAAFN9sbwGEAqAwAAAd/qBQAAAeFmNy8wMBYwFEHQAA8wMBZAEUFAAAVwAAAIagcAAAG6GwMB3UAAGwQBL2AAGw4B1SAAEHgAY7MAAAAQAABQABACoIBQDzgARjbG52") \ No newline at end of file diff --git a/pr/3734/docs/search.index/473f2209f583.js b/pr/3734/docs/search.index/473f2209f583.js new file mode 100644 index 0000000000..a2651d62ed --- /dev/null +++ b/pr/3734/docs/search.index/473f2209f583.js @@ -0,0 +1 @@ +rn_("AQUDoJAAAB9zoIAAAB+doKAAAB+FYnN29sgbAADiAs8AAQAdAAEAEwECoQAAAB/ucHQBHRYAAAEEAPPbHAAAAQABAPMEAWXyKhQAAAEAMwADoCAAAA3mYWVv8rYIAAABAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/475b2edc00f5.js b/pr/3734/docs/search.index/475b2edc00f5.js new file mode 100644 index 0000000000..989ea0631d --- /dev/null +++ b/pr/3734/docs/search.index/475b2edc00f5.js @@ -0,0 +1 @@ +rn_("AQIA9joRAAC1DSYAnQAdAB0AAQIBoDAAAB7TYzowAAABAAAAAAANABAAAAAWFkAaQRqbG5wbnRueG58b2BzkHOUcVB7OHp8fAQ8A9JIfAAABAAEAAQAjggOg0AAAH5agQAAAHM5hY2UBAgGgQAAAH6BlAXUfAAABCAGwYB9HAAFv8qQdAAABAAECAPOJEAAAJwsDAAECADswAAABAAAHAAMAiBAAAO8aBQCyGwAA84ACYnSXFwAAyaBgAAAcK6BAAAAfq7AAHwkAOsBkiAk7MAAAAQAAEgAJANoHAgCbCwAAvA4BAMcOAABhDwAA+BMAAB8VBgA0FQAAYxwBAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/479423d71228.js b/pr/3734/docs/search.index/479423d71228.js new file mode 100644 index 0000000000..b0c7eab86d --- /dev/null +++ b/pr/3734/docs/search.index/479423d71228.js @@ -0,0 +1 @@ +rn_("AQEBoGAAAB9MYgHTHAAAE4QDoDAAAB7soFAAAB86ZW51E4ACoJAAAB87YnQBhAOwYB9dAAGwMB7nAAGwMB7pAAFkcnMTgAOwIBzhAAGgEAAAH6NjcnRTgAOgIAAAH0thb3U=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/488586359f78.js b/pr/3734/docs/search.index/488586359f78.js deleted file mode 100644 index bf68e823ae..0000000000 --- a/pr/3734/docs/search.index/488586359f78.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQAAOzAAAAEAAAUAAgC5GAMAuRwBAAEJAPMWHQAAAQABAPMBAnBzOzAAAAEAABAABQCuDwIAERQCABoUAAC1GwUA0hsDAAGEAqAAAAAdlqBAAAAcoWRl84ACcHIBBQA7MAAAAQAAQgABANoaQgABBwGgQAAAHghiAZwdAAAThQKwIBynAAFkbVOAA6CgAAAdkWNrcwGAArAgFckAAbEAHgoAAWV4IwEDoIAAABy4sDAVywABcHJzOzAAAAEAABEABwAMCQAATQkCAMAPAQCTEAMAhhgFAJsYAACBHAAAY4CEoBAAABQfoIAAAB3GEUABAYADoEAAAB4HoJAAAB2XoDAAABMMYWVyAQEBoDAAAB2ydwHOHAAAE4ECsKAdvwABZWkjgAKgUAAAHd1scmMAA6AwAAAdOmNldPeTAwAAnAkBACgN6QIBAKQAAQUA9OEbAAABAAEAAQATgQOgIAAAGKWgkAAAG/tqbHMBgwKgUAAAG/OwMB3UAAFjcAGFAqBwAAAduaAwAAAdJGVzEwCEoEAAABjWoCAAABLLoLAAAB0GEgADOzAAAAEAAAUAAgACDQQADhoAACMAA6BgAAAdYaAwAAAcxmNvcPPlGAAAAQABAAGBA6BQAAAcpqAAAAAd2KCwAAAdw2JkdAECAbAwGtgAAW47MAAAAQAABgABALkSBgABAQA7MAAAAQAA0QACAPoKAACwDtAAAQIAOzAAAAEAAAUAAQA1GwUA8wEBcgHrHAAAMwADoAAAABteZWlzOjAAAAEAAAAAAAwAEAAAANsS4xSBGIIYgxiEGC8bnRyeHLMctBxVHVYdAQkA9dwbAAABAAEAAQABACOAA7AwGNwAAaAQAAAU4mNydPMAhRFABfJ5AwAAAQABAAOgMAAAD5GgMAAAEsagQAAAFJtscncBpgMAABMAAqDgAAAdCWNwOzAAAAEAACUAAQAICyUAAQABsAAclgABZwGgHQAAAQIA9P4SAAABALkFbQQBAQA7MAAAAQAABgADAKwPAQAXFAIA8xwBANOAhLBQGjkAARFAAgGAArAQGN8AAaAAAAANGWFnAYQCoCAAABtFoAAAABrLaXnzgAJhbwGAArCAHcEAAbCwHfwAAWFsE4QCsCAb8AABdHUBAQA7MAAAAQAA0QACAB0OAADoEdAAAQgBoEAAAB31ZQHHHQAA84ADZ3R2AQABsIAeOAABc/KoHQAAAQAzgAOgIAAAGoRkbnQBBQD3oBsAADwBCAABANcAAQABACOBAqBwAAAc+m1zAQgBoEAAAB2eZfKtHAAAkwBDAgOgIAAAG5+wMBrWAAFlaXA7MAAAAQAA3gACABwOAAAKEd0AI4ADoBAAAA6voEAAABMLb3J1AQMAOjAAAAEAAAAAAAwAEAAAAIUP6hQwGzEbQhvPHA0dDh3ZHecd6B3pHeodE4ADsDAbMgABoBAAABLxcnZ4AQgBsIAeQAABc/IyHgAAAQABggKgAAAAHhigAAAAHhk0NvMBAWkByB0AACOAAqAAAAAam3JzAQYBoEAAAB4EYgGaHQAA84ADYWVvAYACoEAAAB2uoGAAAB3gYXIBAgGwwB36AAFp8jYaAAABAPOAAmVzAQIAOjAAAAEAAAAAAAcAEAAAAPEY8hjzGGgaAh0UHX4dhh3zgQJmbgGAAqAwAAAcpaAwAAAal2lvAQsA8zEdAAABANMA04CEsIAeNgABEUgAAQUA87AaAACdAi0AI4ACsAAY0QABZXX3vx8A0aAgAAAPmIBv/gc7MAAAAQAAgwBAACMBAAArAQEAQAMDAIgDAAAuCQQAQwkCAIgKAwChCgEApwoAAOUKAAD9CgEA5g0BAOkNAAD5DQAASBAAAHUQCACDEAAA0xIEAPISAwACEwIA4BMEAP4TAACSFAAAwhQDAJQYAAClGAAArhgBAL4YAwAAGgAAERoAAB4aAAAgGgAAVRoAAFkaAABqGgAAchoAAIwaAACSGgAAmBoAAKsaAAC+GgAAxRoAAMsaAAAnGwAAZxsMANgbAwAGHAAAhRwCAJ8cAQC9HAIA3xwAAOYcAAAxHQEANB0AAEgdAABnHQAAoR0CAOQdAAACHgAABR4AABseAAAjHgAAKB4AADYeAQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/48dfe94765b8.js b/pr/3734/docs/search.index/48dfe94765b8.js new file mode 100644 index 0000000000..61ed24f6fc --- /dev/null +++ b/pr/3734/docs/search.index/48dfe94765b8.js @@ -0,0 +1 @@ +rn_("AYACoAAAABvOoAAAABvPNDYBAgGwYB/ZABRyAe4aAABTAgOwABQ4AAFlc3Y6MAAAAQAAAAAACQAQAAAAPRQ+FD8UQBRBFEIUTBz7HDkdJx4=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/48e1dd0d5b11.js b/pr/3734/docs/search.index/48e1dd0d5b11.js new file mode 100644 index 0000000000..55c595dca1 --- /dev/null +++ b/pr/3734/docs/search.index/48e1dd0d5b11.js @@ -0,0 +1 @@ +rn_("AYACoBAAABQjoGAAAB7Ibm8BAAKgYAAAHzCgMAAAH3JiczowAAABAAAAAAAMABAAAACcEHoRTRpOGtcb2BvZG9ob2xvcGyYcmR60HocAAACFsDAaagABoEAAABvCsDAb9AABoKAAAB7MkgADOzAAAAEAAA4AAgDgDgIAbQ8LAPOAAmVpAQYA9F8aAAABAAEAAQATgAKgEAAADutjbgEDAqAgAAAcUrAAGh4AAWJ58kAVAAABAAEDAPQ+FQAAAQAmBwEAAQQA8xsaAAABAAEAAQACsGAejgFJoGAAAB6PZm0B3xUAACOAAqCQAAAeo2Ny5wEAAIiwQBoZAAGgcAAAHFOgYAAAG+ywQBogAAE0IBs7MAAAAQAAEQADANoDAACXCAgA1BMHAAEBAaAgAAAUE2UBkQsAABOAAqAQAAAbumNzAYADoHAAAB8OoDAAAB69oIAAAB8zY3JzAQABoCAAAB8Ob/VJHQAANgG+AEsAYgABAgDzoRAAAHQLAQATgAKgMAAAHshydHcbAADJsGAdjQEvsOAf3AABQGYWCPb9AwAAlQwBAOUAAQDTCA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/48ef1fd077ec.js b/pr/3734/docs/search.index/48ef1fd077ec.js new file mode 100644 index 0000000000..3803210a72 --- /dev/null +++ b/pr/3734/docs/search.index/48ef1fd077ec.js @@ -0,0 +1 @@ +rn_("AQECoHAAAB5bsAAdSgABZnM7MAAAAQAAmAAFAKULAACfEAAAdhVLAGccRQCzHAQAAQQBoCAAAB2EcwG5GwAAQwCEoDAAABvloFAAABwksDAfIQABRYAAOzAAAAEAABYABwDUDgMAUA8LAMAbAQDUHAAAbB0AAE4eAQCPHgAAI4ADoDAAABX7oCAAABYaaXN084ACY24=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/49411c4643ac.js b/pr/3734/docs/search.index/49411c4643ac.js new file mode 100644 index 0000000000..f5ecadcef1 --- /dev/null +++ b/pr/3734/docs/search.index/49411c4643ac.js @@ -0,0 +1 @@ +rn_("AQUA8zsdAAC2AXMAAQABsEAdPAABcgFUHAAAJwQAAIegkAAAH9KgQAAAH0+wcB8VANehUAAAH+2gUAAAHOwawRD2bgsAABUF5ABrCooClgABAQGgUAAAHCdrAd0OAAABAwA7MAAAAQAAsgACAOkVAQA+GbAA84ACbHTzgAJhZQ==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/49a8e5ac4fb0.js b/pr/3734/docs/search.index/49a8e5ac4fb0.js new file mode 100644 index 0000000000..3fe0bbac87 --- /dev/null +++ b/pr/3734/docs/search.index/49a8e5ac4fb0.js @@ -0,0 +1 @@ +rn_("AYkCoCAAAB+soDAAAB+7aXATAAKgIAAAHqtlaTswAAABAAAJAAQA6BMEAEcUAgBAHQAA7R4AAIcAAACFsEAfsAAFoEAAAB6aoQAAAB/SoDAAAB7wEgATOjAAAAEAAAAAAAgAEAAAAHEQsRD+E78bxBtXHFkcSR9NHwEBAbBQH4YAAXPy7w4AAAEAM4ADoBAAABtsZG10") \ No newline at end of file diff --git a/pr/3734/docs/search.index/49d413bee44a.js b/pr/3734/docs/search.index/49d413bee44a.js new file mode 100644 index 0000000000..c834f2e675 --- /dev/null +++ b/pr/3734/docs/search.index/49d413bee44a.js @@ -0,0 +1 @@ +rn_("AQQA9JIfAAABAAEAAQAjAAKwUB62AHxjZfOUGwAApAAgAAGBAqCAAAAfyKBgAAAf2mRzE4WEoIAAAB76oNAAAB/ksJAfvgAoChAIAQICoGAAAB8WoDAAAB52Y3D1Sw8AAAEADAsBAAEAI4ACoCAAABPiZXkBgAOwIB9QAHqgsAAAHxig0AAAH9dmZ3QBBgGwkB+hAAFjAW0dAAABCQGgQAAAH+V0AZsfAADzAwJievOEEAAAxQs4AgECAPTBHgAAAQABAAEAAQQA9Q0cAAABAAEAAQAXA/MCAmV69HoQAAABAGEPAQABAAD12w0AAAEAAQABAAEAY4ADoDAAABP3YWVp84ADZG1uAQEBsAAeQwBKZPViHQAAAQDbAAEALQAjgAKgEAAAEHlucxOAAqEQAAAfmW91AQABoEAAAB7fZQEFGgAAAQABsDAcLAABbPZHFQAAugAiBAEAAQAYBPcLAACIoEAAABXJkEhZAeIDAAA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4a1879e1b4f1.js b/pr/3734/docs/search.index/4a1879e1b4f1.js new file mode 100644 index 0000000000..77b0bf748c --- /dev/null +++ b/pr/3734/docs/search.index/4a1879e1b4f1.js @@ -0,0 +1 @@ +rn_("AYECsAAfAgABoQAAAB/QZHQjgAKggAAAH9ZucgEGAPMIHwAArAAdAPMAAmJ1OjAAAAEAAAAAADEAEAAAAHULyw3MDc0N9RMsFMoVyxXtFQ8WERY5GlYaZhpnGmgabxqDG5MblhvFG8YbxxvvGyQcXBxdHF4c0ByRHZIdmB2ZHZodhR6GHoceth7GHgYfBx8yHzkfQR9KH1AfZh/KH9Mf7h8=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4a293b6d7679.js b/pr/3734/docs/search.index/4a293b6d7679.js new file mode 100644 index 0000000000..d1c9d42342 --- /dev/null +++ b/pr/3734/docs/search.index/4a293b6d7679.js @@ -0,0 +1 @@ +rn_("AYkCoCAAAB+soDAAAB+7aXATAAKgIAAAHqtlaTswAAABAAAJAAQA6BMEAEcUAgBAHQAA7R4AAAEEADswAAABAAAFAAEAxxwFAPMCAWU7MAAAAQAACwAFAPkTAQDyGQMASR4BAGIeAQAKHwEAAYECoEAAAB+rsAAfCQA6ZXOTgISwYBwVAAGgAAAAEL4QQGABAAGgMAAAFet08k0dAAABAAGAAqAgAAAemqAAAAAQvXJ4xwEAAIWgwAAAHyegIAAAFR4QCAc6MAAAAQAAAAAABwAQAAAAMAsxC/oVtBu1G7YbnB2dHacAAACFsEAfsAAFoQAAAB/SoDAAAB7wEgATOjAAAAEAAAAAAAgAEAAAAHEQsRD+E78bxBtXHFkcSR9NHw==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4a29dbfea5e1.js b/pr/3734/docs/search.index/4a29dbfea5e1.js new file mode 100644 index 0000000000..4d56a2157e --- /dev/null +++ b/pr/3734/docs/search.index/4a29dbfea5e1.js @@ -0,0 +1 @@ +rn_("AQABoHAAAB6ZcgEiFAAAE4ECoFAAAB/PZ3QBAQKwIBQGAAGgAAAAGgNlcwEzFQAAUwCEoBAAAAuHsDAbjgCsGAEC9d0HAAAlBlAMAQByBRMAA7AgC4sAAaAQAAARO2RsbgH6GgAA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4a3dbc83d599.js b/pr/3734/docs/search.index/4a3dbc83d599.js new file mode 100644 index 0000000000..fcd0137e7b --- /dev/null +++ b/pr/3734/docs/search.index/4a3dbc83d599.js @@ -0,0 +1 @@ +rn_("AQEBoEAAAB9PZfJcHgAAlgAjgAKgEAAAHFZudgEAAqAwAAAbsLAgHs4A0WFyOzAAAAEAAAgAAgAfFQYAYxwBAAEFAPS3HwAAAQABAAEA84ACZHJnAAAAhaBQAAAdkbBgHrUBDrAAC4YCZRQBA/ZCGgAAHQPJAHgAmwAWAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4a41127fffa8.js b/pr/3734/docs/search.index/4a41127fffa8.js new file mode 100644 index 0000000000..93816f1d7e --- /dev/null +++ b/pr/3734/docs/search.index/4a41127fffa8.js @@ -0,0 +1 @@ +rn_("AQMA9LcfAAABAAEAAQATgAKgMAAAHPJveQEDAbAwHwoAAXTynB0AAAEAAQQA9V0eAAABAAEAAQABAPOAAm9yAQEA9TIcAAABAAEAAQABABOAAqAAAAAcuG5yZwEAAMegUAAAHp6gkAAAHx2wwB+GAAGwYB7UAAGATAAOOjAAAAEAAAAAAB4AEAAAAGgQahCUELwQGhZfG6Mb4RviG+Mb7Bv/GwAcNR19HX4dfx2AHZ8doB2hHaIdvh4SHxMfMx9FH2MfeB+WH5of") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4a42e2f1834a.js b/pr/3734/docs/search.index/4a42e2f1834a.js new file mode 100644 index 0000000000..4cbac6c85b --- /dev/null +++ b/pr/3734/docs/search.index/4a42e2f1834a.js @@ -0,0 +1 @@ +rn_("AQIA8xUWAABzBQEAAQAA9ZoQAAABALEEAQABAPOAAmRuAQkBoEAAAB9OZfPuHgAAlAABAAECAaCAAAAfmnbyQR0AAOsB8wMBZQGHGwAAdwAAgIagIAAAGi6xQB/vAAGgQAAAG/ARMQI=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4ab5e98ed440.js b/pr/3734/docs/search.index/4ab5e98ed440.js deleted file mode 100644 index 6a52eb8660..0000000000 --- a/pr/3734/docs/search.index/4ab5e98ed440.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQUA89UYAAB1AcwDAQUA8xQaAAABAAEA8wABc/YzDAAAAQDRB5IGAQJGAGMAA6AwAAAd/mNkcjowAAABAAAAAAAJABAAAAAPCcQJxQnGCccJqRiqGMcblBy8HA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4ab93fec5883.js b/pr/3734/docs/search.index/4ab93fec5883.js deleted file mode 100644 index cd5b67ba16..0000000000 --- a/pr/3734/docs/search.index/4ab93fec5883.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQQBoAAAABzxc/NjHQAAwgABACMFhKEAAAAeKKBAAAAcu6CAAAAeOhQABgHSFwAAEwACoHAAABrIZXL2nwMAAAEAAQB6CgkGAQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4ac4349601a1.js b/pr/3734/docs/search.index/4ac4349601a1.js deleted file mode 100644 index 663fa60b4c..0000000000 --- a/pr/3734/docs/search.index/4ac4349601a1.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYgCoEAAAB3/oAAAAB1UZXMBBAGgMAAAHR1j8lAbAAABAAEFADswAAABAAAJAAQA+BsCANMcAwBSHQEAuB0AAAEDAPOhGgAAAQABAPcAAAKFgBjJSQBtFYAC8pMUAAABAAEEADswAAABAAAlAAEAdBslAPOAAmFvI4ACoIAAABtPZnATgAKgAAAAGlVzeQ==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4ad4959bd294.js b/pr/3734/docs/search.index/4ad4959bd294.js deleted file mode 100644 index 12ac7b599d..0000000000 --- a/pr/3734/docs/search.index/4ad4959bd294.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQMBsIAeEAABc/LHHAAAAQAjAAOgMAAAD52wgB2qAAFhaXM6MAAAAQAAAAAADgAQAAAAWAdZB+INCg71EyIU4BnhGeIZQRpHGkwapRuMHRge") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4af84f929815.js b/pr/3734/docs/search.index/4af84f929815.js new file mode 100644 index 0000000000..ccc4970375 --- /dev/null +++ b/pr/3734/docs/search.index/4af84f929815.js @@ -0,0 +1 @@ +rn_("AQQA89scAAABAAEA8wABZTswAAABAAAOAAUAewsAACoUAQAtFAAA7xUAAFUbCQABhAKwIB1FAAGgIAAAHUdhczOAA7AAHwAAAWFlbA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4cc66a59cdd4.js b/pr/3734/docs/search.index/4cc66a59cdd4.js new file mode 100644 index 0000000000..c3513c791e --- /dev/null +++ b/pr/3734/docs/search.index/4cc66a59cdd4.js @@ -0,0 +1 @@ +rn_("AQAA884DAAAlGwEAAQkA9XgdAAABAAEAAQABACOBAqAQAAAO0mlyAQoBoEAAAB+gZQF1HwAAAQwA8+MeAAABAM0AlwYAAIigIAAAHCegQAAAHNWgIAAADeqgoAAAHk0ciQo7MAAAAQAAGwANAEABAQB1AwMAuw4AAP0TAAAPFAAAFBQDACQUAgDwFQMALxoCAJUbAABfHAAASx4BAJUeAAA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4ce3f88c1196.js b/pr/3734/docs/search.index/4ce3f88c1196.js new file mode 100644 index 0000000000..6d426e5024 --- /dev/null +++ b/pr/3734/docs/search.index/4ce3f88c1196.js @@ -0,0 +1 @@ +rn_("AQEBoEAAAB9PZfJcHgAAlgABAQGggAAAH4h0AVYcAAABAwGgIAAAHM9mAVQbAAATgISwIBtRAAGgIAAAG1OgUAAAHPwAERETgAKgIAAAFTBsdLOABKCAAAAfZWFub3Y=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4ce8e291cf63.js b/pr/3734/docs/search.index/4ce8e291cf63.js deleted file mode 100644 index d7187c00c7..0000000000 --- a/pr/3734/docs/search.index/4ce8e291cf63.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACoCAAAB1koEAAABvnZXABgAKgEAAAFBawUByKAAFjZAECADswAAABAAC4AAIAig8AACgTtwDzAAFtOzAAAAEAAL4AAgASCQAAyAm9AAEAAqBAAAAbS6AwAAAdDGVyOzAAAAEAAAwABgCzFAEAohsAAKodAwAQHgEAOB4BAEAeAQABAwDz1RgAAHUBzAN3CQCAyaAgAAAaaqBAAAAbX6AwAAAd/6BgAAAduUAKyiE=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4d013df877c1.js b/pr/3734/docs/search.index/4d013df877c1.js deleted file mode 100644 index ef80a9a71d..0000000000 --- a/pr/3734/docs/search.index/4d013df877c1.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACoHAAAB4ioAAAAAkRZmcBBQGwIB1OAAF19BATAAABAAEAAQABAAA7MAAAAQAAbQACACQTAAABGWwAI4ACsBAY9AABdHjzgANvc3U=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4d53252b5c66.js b/pr/3734/docs/search.index/4d53252b5c66.js deleted file mode 100644 index 6edbfa9844..0000000000 --- a/pr/3734/docs/search.index/4d53252b5c66.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQEA9b4UAAC6CAEAgwABAAEPAPTnHQAAAQABAAEAI4ADoNAAAB3soEAAABs8YWNl84ACbG0TgISgIAAAGs2gAAAAEsugAAAACqhRAAI=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4df1e90e66a5.js b/pr/3734/docs/search.index/4df1e90e66a5.js deleted file mode 100644 index 9923357d7c..0000000000 --- a/pr/3734/docs/search.index/4df1e90e66a5.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQMBoFAAABqbawEJDgAAAQQBoAAAABp3cwEPGgAAAQIBoFAAABzaYwGZFAAAMwADoEAAABT1YWNl9MAKAADbCRUEAQATgAOgIAAADiKwABCDCe9ldHkBgAKwQBtZAAGgkAAAHVlhdAGAArAwEIMJ77EAHiUAAXJ1AQABoNAAAB18YvadCgAAAQBdAAEA6QILDwEAA6BwAAAcrLAAG68AAaCAAAAdj2ZzdDswAAABAACTAAYA+QoAAKcPAAC2DwAASRRIANoaQgAhGwQAM4ADsEAd0gABZ3R2AQUBoEAAAB2eZfKtHAAAkwABBQDzLh4AAAEAAQDzAAF0AYkOAAABAwDzEx4AAAEAAQDzAgJwc/J8HAAADQABAQGgQAAAHdll9/0KAAABAOgCAQAbEDQAAQABggKgAAAAHhigAAAAHhk0NvMHAWkByB0AAAEEAaAgAAAb6HMBNBoAAEMAhKAwAAAaX6BQAAAambAwHW0AAUWAADswAAABAAAYAAgAAA4EAHgODAA5GgEAQRsAANAbAACiHAAApBwAAOAcAAAjgAOgMAAAFMygIAAAFOlpc3QBAQGgAAAAHiByAUgUAAABAAGwABTtBTByOzAAAAEAAEEABAAHEwAAJhQfANgYAAB9GR8AI4ECsJAdbwABYWUjAAKgQAAAHfVlaQHHHQAAE4ACoEAAAB2JbG53/wGAzaBgAAAaxcAfPAo=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4e48c05568c4.js b/pr/3734/docs/search.index/4e48c05568c4.js new file mode 100644 index 0000000000..75672e552b --- /dev/null +++ b/pr/3734/docs/search.index/4e48c05568c4.js @@ -0,0 +1 @@ +rn_("AQMBoCAAABzPZgFUGwAAE4CEsCAbUQABoCAAABtToFAAABz8ABERE4ECoCAAABUwbHTzAAFpOzAAAAEAAEIBBAAvBsUAvggAAAIcAACnHXoAAQEBoEAAABwUZfM4HgAARAEBAPMAAWUB4g0AABOAArBQH74AKGh0AQUA9YYdAAABAAEAAQABAPMCAXIBexEAAAEBADswAAABAAB7AAIAAhwAAKcdegAjgAKgEAAAHLtmaQGAArBAHlgAAaBAAAAeWmRzAQABoJAAAB+fbDowAAABAAAAAAAIABAAAACgG4UdrB7NHgQfPh9vH3cfrx+3DgAAyKCAAAAdMrDAHvMAAQAGzAM6MAAAAQAAAAAACAAQAAAAUgHZDnYR3RMpFiIcLB6cHhwf") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4e771ad3abeb.js b/pr/3734/docs/search.index/4e771ad3abeb.js new file mode 100644 index 0000000000..048e320df2 --- /dev/null +++ b/pr/3734/docs/search.index/4e771ad3abeb.js @@ -0,0 +1 @@ +rn_("AYACoAAAAA60oAAAAA61NDYBgAKwIB8XAAKxMB/cAAFidCOAA6AgAAAeo6AAAAAOsmlveAGAAqBgAAAeRKBgAAAeRWV0AQYA894fAAABAAEAAQMA88AfAAABAAEA8wUCcHMBJB4AAAEDAPSoGwAAAQABAJoDAQEBsIAf6AABc/JXHwAAAQABCQGwgB/xAAFz8uIfAAABAPOBAmRpAQMAOzAAAAEAAAkABAClGwIAPRwAAIIeAgDgHgIAdxgAA4mwMBurAAGgQAAAHBFdx44uqCWgYAAAHWzLUQI7MAAAAQAACAAEAHwQAgC5EAIAaxsAADMeAQABgISwYB8/AAGwMB6vAAGwMB6xAAGgcAAAH50IAAcjBAOgkAAAH3OgoAAAH4Vic3b2yBsAAOICzwABAB0AAQDXCAAAyKCgAAAfVaBAAAAQpaAQAAAOs7BwHksAAUAAkQ/0UAEAAAEA/A0kDw==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4ea3595b4088.js b/pr/3734/docs/search.index/4ea3595b4088.js deleted file mode 100644 index 1b5ba9d76c..0000000000 --- a/pr/3734/docs/search.index/4ea3595b4088.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYMCoEAAAB30oGAAAB0BZXIBBgDz5BgAAOcDXgEBAAGgUAAAG19l97UUAADqBKcBFQCUAAUAFQEBAwA7MAAAAQAABwACAJMaAwBJHQMA4wCEsLAdgwABBCAF9NEKAAA4D9QCoADzgAJlaQ==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4ed853f8a381.js b/pr/3734/docs/search.index/4ed853f8a381.js deleted file mode 100644 index ea11d2a9b4..0000000000 --- a/pr/3734/docs/search.index/4ed853f8a381.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQkBoIAAAB4xZgFXHQAAIwACoCAAABpvaXUB1RoAAAECAbCAHd4AAWbyRRoAAAEAE4ACoKAAAB4XcnTzggJhcwEEAaBAAAAd9WUBxx0AAAECADswAAABAAAFAAIAgB0CABweAgDzAwFtOjAAAAEAAAAAAAcAEAAAAJoUOxvCHMMcxBzhHeId4x3zgQJjZfOAAmFl") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4ee9c844a304.js b/pr/3734/docs/search.index/4ee9c844a304.js new file mode 100644 index 0000000000..aaa9cc0919 --- /dev/null +++ b/pr/3734/docs/search.index/4ee9c844a304.js @@ -0,0 +1 @@ +rn_("AQIBoAAAAB64ZAH+DQAAAQIA88wfAAABAAEA8wsBbfOMHwAAAQABACOAAqAgAAAV+mFvAQcBoGAAAB8eb/LqHAAAAQATgQKgMAAAH6NlcAECADswAAABAADHAAIAchAAAEoUxgABgQKgMAAAFUegcAAAHi5lcgGAAqBQAAAeIqAQAAAa+2l0AQABoBAAABr6b/WyEAAAAQABAAEAkQ4BgAKwEB6nAAGgIAAAHtthbxOCArBwH4AAAW1xE4ECoOAAAB+ybHABggKhAAAAH+yg0AAAH9hrbROAAqBgAAAekmFrAYECsIAfUgABoIAAAB9UZXcBggKgAAAAG9SgAAAAG9U0NgGDArAwHpAAAbBAHroAAXBzAYACoQAAAB/PoKAAAB9KZWyn+QACjKBgAAAebbBgHm4AAaDwAAAfsbCgHyEAAZW1BzswAAABAAAzAAIAyA4CABgPMACDgISgQAAAHZCwQB5HAAGgUAAAH3sECQi3BwAAh6AQAAAbkRFRCTswAAABAAATAgkAmQkAAKEJAABfCswA2wsDAM8OAAB/EAAAxBBhABYVBQBjGNYA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4f410da533cd.js b/pr/3734/docs/search.index/4f410da533cd.js new file mode 100644 index 0000000000..d9c076a063 --- /dev/null +++ b/pr/3734/docs/search.index/4f410da533cd.js @@ -0,0 +1 @@ +rn_("AYACsJAdWgABsJAdXAABY2wBAgDz9hwAAAEAAQATgAKwIBwXAOJhbwEIAPO+HgAAVAABADcAAAOFsGAeRwABsGAfRwABoHAAAB6VLEAEOjAAAAEAAAAAAAcAEAAAAPsT/BMoFSkVpB2lHWQeZR5HAAAAhaBwAAAfMaCAAAAf4aBQAAAcObBAFh4FbbBABPJwEAAAnQ4BgAKgIAAAGjKgUAAAHFtscxOAAqBwAAAejGVvAYACoGAAAB5EoGAAAB5FZXQBBgDz3h8AAAEAAQABAwDzwB8AAAEAAQDzBQJwcwEkHgAAAQMA9KgbAAABAAEAmgMBAQGwgB/oAAFz8lcfAAABAAEJAbCAH/EAAXPy4h8AAAEA84ECZGkBAwA7MAAAAQAACQAEAKUbAgA9HAAAgh4CAOAeAgB3GAADibAwG6sAAaBAAAAcEV3Hji6oJaBgAAAdbMtRAjswAAABAAAIAAQAfBACALkQAgBrGwAAMx4BAAGFA7BgHz8AAbAwHq8AAbAwHrEAAWRyc1OAhKCgAAAfVaAwAAAeowFEAQEAAPe6DgAA0gxwAT8AagFMAHMAAQABoDAAAB+QcPJjGgAAhwFjgAOhQAAAH9libncBAAGgUAAAHPVl9+MVAAA7BbwBFQCeAAYAKQEjAQKwsB83AAFjcvN8CwAAERD/AgGBAqAAAAAVUKAAAAAVUTQ2AYACsAAabgGMoDAAAB5oZ3PzgAJucAEHAPPXHgAAAQABAAGAAqBAAAAcuaBQAAAcWmNp84ACYW8BAwD14xMAAAEAQwABALEIE4ACoAAAAAs1cngBBwKgQAAAHpqgMAAAHvBld/LEGwAAlQABhgKgIAAAH6ygMAAAH7tpcAGAAqAAAAAbzqAAAAAbzzQ28wIBdjswAAABAAAIAAQAPRQFAPscAAA5HQAAJx4AACOAArAgG2kAAWNkt/8BAI6gUAAAH+6gUAAAG4w/yRc7MAAAAQAA8QASADcBAABWAdYA3wMAAPsDAQADBAAAsggAAOANAQDBDgAAAA8CAIEQAQAlFgAAMxoBAIUbAACQGwAAMhwEAPocAABnHgAAEB8AAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4f4864e77afa.js b/pr/3734/docs/search.index/4f4864e77afa.js deleted file mode 100644 index ae266c5ce6..0000000000 --- a/pr/3734/docs/search.index/4f4864e77afa.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQABoSAAAB46YwGoGAAAAQEA9L8bAAABAAEAAQABBgD05x0AAAEAAQABANOAhKBwAAAcexwABEOAA6AAAAAaeKCAAAAdl2Rtbg==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4fa29376e676.js b/pr/3734/docs/search.index/4fa29376e676.js deleted file mode 100644 index 76680e465f..0000000000 --- a/pr/3734/docs/search.index/4fa29376e676.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQMBsFAdnwBGYwHXHAAAI4ACoHAAAB46aG8BggKwABvOAO2gAAAAG89lcyMAAqBgAAAdBWV08gcOAAAhDQECAPUqGwAAAQABAAEAAQAjgAKgcAAAHaBhbwEAAaCQAAAd9Gz1HBoAANwCmAA6ADkAE4ACoCAAABspZG4BggKgEAAAHX2gsAAAHiFscxOAAqAgAAAar2FpAQMBoAAAABzxc/NjHQAAwgABAAEDADswAAABAAAKAAQAyBsFANscAABGHQEAbx0BAPOAAnJ2AQMBsAAcmABGZPPHGwAAzQAoABOAAqDwAAAeKGxvAYACoFAAAB1FoFAAAB23YmzXxwAAjKCwAAAd66AQAAAeAaBgAAAeF6BgAAAdBJdZBzswAAABAAAZAAoA4woAAJAPAADODwAACRQAAKYUCgDSFwMAsRsAAMMbAAAVHQAA9h0DAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/4fc1922f7950.js b/pr/3734/docs/search.index/4fc1922f7950.js new file mode 100644 index 0000000000..e0e752ac95 --- /dev/null +++ b/pr/3734/docs/search.index/4fc1922f7950.js @@ -0,0 +1 @@ +rn_("AQUAOzAAAAEAAEUAAQBnHEUAI4ECoKAAAB+ca3MBhQKgcAAAH2egMAAAHtplcxMAA6BAAAAaSKAgAAAT52JlcvV2CwAAWQIBAAEAAQAjAAOgYAAAHxagMAAAHnZjb3A7MAAAAQAABgADABYPAQBLDwEAWBoCAAECAbAwHGUAAW47MAAAAQAABwABANQTBwDzgAJvdAECADswAAABAADgAAIA7Q4AAPQS3wATgAKgIAAAHAxudAEIAaBAAAAfT2XyXB4AAJYAIwICsDAcYwABaXA7MAAAAQAA7gACAOwOAAAGEu0AI4ADoBAAAA+HoEAAABQtb3J1AQMA9hsWAAABAKYGAQD8AQEAE4ACsDAcxAABcnbHJQAAirBgHv8AMLBQHsYAc6AgAAAQgKCwAAAdm6BQAAAULjbBBzswAAABAAAqABQASwsAAPATBAARFQQALxUAAGUaAACiGwAApBsAAO0bAAAbHAAAIxwAALkcAAD9HAwAdB0DAJAdAACmHQAAjh4AAPoeAACPHwAAyR8AANcfAAA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/50413a61386c.js b/pr/3734/docs/search.index/50413a61386c.js deleted file mode 100644 index d93d2b7070..0000000000 --- a/pr/3734/docs/search.index/50413a61386c.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQcBsEAdawABZQHyHAAAAYADoFAAABsogByZBsDYoFAAAB1qcHJ1AYICoAAAABvOoAAAABvPZXMjgAKgYAAAHQVldAECAPUqGwAAAQABAAEAAQAjgAKgcAAAHaBhbwEAAaCQAAAd9Gz1HBoAANwCmAA6ADkAE4ACoCAAABspZG4BgwKgEAAAHX2gsAAAHiFscwEEADswAAABAAAFAAEAyBsFAAEEAaAAAAAcmGTyxxsAAPUA5wsAAYigsAAAHeugYAAAHQSWCQM7MAAAAQAAEQADAKYUCgDTFwIA9h0DAAEAAbBAG8UAAWX1oRQAAAEAAQABAAEAEwACsKAd+gABZ3YBZxoAAPOAAm5vAQMA9RcaAAABAAEAAQABAAEDAbAwHVUAAXTy/BsAAAEAAQQA9a4cAAABAAEAAQABAPOAAm9yAQIA9aUaAAABAAEAAQABADMAhKBAAAAbXrDAHdoAATAADDowAAABAAAAAAANABAAAACrD9IP3hkfGloa4RviG+Mb5Bv/GwAcARwCHH8d84ACZHIBgwKgQAAAHcmgYAAAHfFhciOAArBAG1wAAWxvAQKEoEAAAB3voIAAAB47oAAAAB1poDAAABsvkAAGAbIUAAATgAKgYAAAHPBkbvcKAACIoBAAAB4jsAAZnQABFUkSOzAAAAEAABAACADoCgIALg0AAPANAwBCDgEA9hgBADYaAQBWGwEA6x0AAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/50428f58c670.js b/pr/3734/docs/search.index/50428f58c670.js new file mode 100644 index 0000000000..bded3db746 --- /dev/null +++ b/pr/3734/docs/search.index/50428f58c670.js @@ -0,0 +1 @@ +rn_("AYACoAAAABvJoAAAABvKNDYHBAABx6BAAAAfmaCAAAAf66AwAAAenaAAAAAfHaAwAAAcwaBAAAAe0gBkAA87MAAAAQAADgAHAOAVAAAgFgAApRsCAC4cAgA9HAAAgh4CAOAeAgATgAKwEBCvAAFkaQ==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/505ae1694b21.js b/pr/3734/docs/search.index/505ae1694b21.js deleted file mode 100644 index 6773f49cde..0000000000 --- a/pr/3734/docs/search.index/505ae1694b21.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQgA9KwdAAABAGMAAQAjAAKgMAAAD55hczowAAABAAAAAAANABAAAABaB1sH4w0LDsASIxTjGeQZ5RlNGqYbxxzIHBkeAQMBsIAeEAABc/LHHAAAAQAjAAOgMAAAD52wgB2qAAFhaXM6MAAAAQAAAAAACgAQAAAAWAdZB+INCg4iFOAZ4RniGUwapRsYHvOAAjQ2") \ No newline at end of file diff --git a/pr/3734/docs/search.index/50955c5d8217.js b/pr/3734/docs/search.index/50955c5d8217.js deleted file mode 100644 index f149ae9e87..0000000000 --- a/pr/3734/docs/search.index/50955c5d8217.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQkCoDAAAB3YoGAAAB4HcHMBNB0AAAEGAPMuHgAAAQABAAEDAPMTHgAAAQABAPONAnBz8wICZXDzGw0AAAEAAQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/509bbf32e3f1.js b/pr/3734/docs/search.index/509bbf32e3f1.js deleted file mode 100644 index 60e852e501..0000000000 --- a/pr/3734/docs/search.index/509bbf32e3f1.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIA9MYUAAABACkHAQABBgD02BsAAAEAAQABAAELAPR4HQAAAQCDAAEAAQgA9OccAAABANkAAQCzgISgMAAAGo8BSCABBQD00hsAAAEAAQABABOBArBQG9YAAWxzAYACsVAeLAABsHAcnwABcnUBBQA7MAAAAQAABwACAJMaAwBJHQMAAQIA9MIUAAABAAEAAQABBAGwMBydAAF08y8aAAABAAEAAQoA9A8dAAABAAEAAQC3NwADi6CgAAAdE7BQHfoAAbCwHU4AAbCMH/LSHQAAAQATAAKhEAAAHeZhZgGfGwAA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/50d0cc263a5a.js b/pr/3734/docs/search.index/50d0cc263a5a.js new file mode 100644 index 0000000000..dac8d5c7a6 --- /dev/null +++ b/pr/3734/docs/search.index/50d0cc263a5a.js @@ -0,0 +1 @@ +rn_("AQMBoDAAAB+QcPJjGgAAhwEBgQKgAAAAFSagAAAAFSc0NgEBAbAQHlIAmXUBex8AAHcAAICFoBAAABU1sCAfsAAFBCgG") \ No newline at end of file diff --git a/pr/3734/docs/search.index/5135cf89a8f5.js b/pr/3734/docs/search.index/5135cf89a8f5.js new file mode 100644 index 0000000000..9babdf1b75 --- /dev/null +++ b/pr/3734/docs/search.index/5135cf89a8f5.js @@ -0,0 +1 @@ +rn_("AQQA81scAAAXAQEAI4ADsBAdPAABGQ5mux+WZXBzAQIA9G4dAAABAAEAAQDzAgF18jIaAAD8AwEAADswAAABAAAFAAEAFhUFAGcBAICFoHAAAB8MoKAAAB8sJBgC") \ No newline at end of file diff --git a/pr/3734/docs/search.index/513ba76b75e7.js b/pr/3734/docs/search.index/513ba76b75e7.js new file mode 100644 index 0000000000..95935c2ed8 --- /dev/null +++ b/pr/3734/docs/search.index/513ba76b75e7.js @@ -0,0 +1 @@ +rn_("AYACsBAQgQABoDAAABXubnKHAAAAhrAwGgEAAaBwAAAeJ6BQAAAaVrAwHroAAaAgAAAVLheACPOyCQAAggGpEwEAA6CQAAAfraBAAAAfFKBgAAAfVmRlcwFHHAAA8wYBc/JUGgAAAQABgAKwUBpSAAGwIB6QAAFhb4cDAACHsDAVLAABoHAAABz7oFAAABXtoCAAABE5B4AL9SoGAAABAAEAAQABAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/513da9c4eaf7.js b/pr/3734/docs/search.index/513da9c4eaf7.js new file mode 100644 index 0000000000..60005ee6c5 --- /dev/null +++ b/pr/3734/docs/search.index/513da9c4eaf7.js @@ -0,0 +1 @@ +rn_("AYkCoCAAAB+soDAAAB+7aXATAAKgIAAAHqtlaTswAAABAAAJAAQA6BMEAEcUAgBAHQAA7R4AAIcAAAKFsEAfsAAFoEAAAB6aoQAAAB/SoDAAAB7wEgATOjAAAAEAAAAAAAcAEAAAAHEQsRC/G8QbVxxZHEkfTR8=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/51678d81a193.js b/pr/3734/docs/search.index/51678d81a193.js deleted file mode 100644 index b2452bbd0b..0000000000 --- a/pr/3734/docs/search.index/51678d81a193.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQQBsFAdnwBGYwHXHAAAAQQA9dscAABrAAEAKAABAAEEAaAAAAAc3mQBlBwAAGcEAAGHoGAAAB1FoDAAABqvoBAAAB4BoGAAAB4XlVAE9ZAPAAA+ADsEqAdkAQEIAPNMGwAAQAEBAFOAA6BAAAAbrGNubw==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/5207defd92d4.js b/pr/3734/docs/search.index/5207defd92d4.js new file mode 100644 index 0000000000..ee56aefd87 --- /dev/null +++ b/pr/3734/docs/search.index/5207defd92d4.js @@ -0,0 +1 @@ +rn_("AQEA8/YcAAABAAEAI4ACoSAAAB/TbnQTAISwMB7RAHGwIBwXAOKwIB6cAIADQAg6MAAAAQAAAAAACAAQAAAASRq8G9MbTxyMHZserR7fHhof") \ No newline at end of file diff --git a/pr/3734/docs/search.index/52c12f0f8957.js b/pr/3734/docs/search.index/52c12f0f8957.js new file mode 100644 index 0000000000..6207770711 --- /dev/null +++ b/pr/3734/docs/search.index/52c12f0f8957.js @@ -0,0 +1 @@ +rn_("AQABoDAAAB8bbwHlHgAAAQIA88wfAAABAAEA8w0BbfOMHwAAAQABAAGAAqCgAAAfRKAwAAAeTW5yAQABoJAAAB8daTowAAABAAAAAAAHABAAAABoEOIb4xvsG0UfYx+WH5of8wCEOAACOjAAAAEAAAAAAAgAEAAAALYOTRzXHtge2R46H4ofix/hHw==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/52e1a995a504.js b/pr/3734/docs/search.index/52e1a995a504.js deleted file mode 100644 index d05d64d51b..0000000000 --- a/pr/3734/docs/search.index/52e1a995a504.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACoFAAABx6oBAAABl8aXQBAAGgEAAAGXtvOzAAAAEAAAYAAwDHDwMA5xIBAJcdAAABgAKwEBzzAAGgIAAAHSVhbxOCArBwHdQAAW1xE4ECoOAAAB4GbHABggKhAAAAHjyg0AAAHilrbROAAqBgAAAc42FrAYECsIAdoQABoIAAAB2jZXcBgAKgAAAAGkygAAAAGk00NiOBAqBwAAAeNGF2AYMCsDAc4QABsEAdBwABcHOH+QAAjKBgAAAcvaEQAAAeH7BgHL4AAaDwAAAeBbCgHW0AAZW1BzswAAABAAA3AAQA7AoDAPYNAgBEDi8ATxsAAAEAAaAwAAAPpmEBaxoAAGOAA6AAAAADwGtsdA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/52e6a707e745.js b/pr/3734/docs/search.index/52e6a707e745.js new file mode 100644 index 0000000000..2f569ca7b5 --- /dev/null +++ b/pr/3734/docs/search.index/52e6a707e745.js @@ -0,0 +1 @@ +rn_("AQABoSAAAB/qYwEYGgAAAQEA9FodAAABAAEAAQABBgD0kh8AAAEAAQABANOAhKBwAAAeIxwABAGAAqBwAAAfRqAwAAAWJmR0Y4ADsAAb/wABZG1u") \ No newline at end of file diff --git a/pr/3734/docs/search.index/531cdcd2a859.js b/pr/3734/docs/search.index/531cdcd2a859.js new file mode 100644 index 0000000000..756b546b49 --- /dev/null +++ b/pr/3734/docs/search.index/531cdcd2a859.js @@ -0,0 +1 @@ +rn_("AYACoBAAABE5oAAAAAuPcnQBgAKwEBCBAAGgMAAAFe5ucocAAACGsDAaAQABoHAAAB4noFAAABpWsDAeugABoCAAABUuF4AI87IJAACCAakTAQADoJAAAB+toEAAAB8UoGAAAB9WZGVzAUccAADzBQFz8lQaAAABABOAA6BQAAAb+aAQAAAedmVpbwGAArBQGlIAAbAgHpAAAWFvAQEA9JceAAABANgAAQAjgAKwEBVSAAFucgGBAqEAAAAf7KDQAAAf2GttAYYCoEAAAB+rsAAfCQA6ZXPDgISwQBvkABOwIBUsAAEMAAUXfAAAi6BwAAAc+6BQAAAV7bAgETUAAaBgAAAekrCwHxcAAgfNC/UqBgAAAQABAAEAAQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/532ca4f28855.js b/pr/3734/docs/search.index/532ca4f28855.js new file mode 100644 index 0000000000..e65d555654 --- /dev/null +++ b/pr/3734/docs/search.index/532ca4f28855.js @@ -0,0 +1 @@ +rn_("AQkBoIAAAB/hZgENHwAAIwACoCAAABv2aXUBYhwAAAECAbCAH4oAAWbyzBsAAAEAE4ACoKAAAB/FcnTzggJhcwEEAaBAAAAfoGUBdR8AAAECADswAAABAAAFAAIANB8CAMwfAgDzAwFtOjAAAAEAAAAAAAcAEAAAAMgVzRxyHnMedB6MH40fjh/zgQJjZfOAAmFl") \ No newline at end of file diff --git a/pr/3734/docs/search.index/533b46eb255d.js b/pr/3734/docs/search.index/533b46eb255d.js new file mode 100644 index 0000000000..8cb0e0505f --- /dev/null +++ b/pr/3734/docs/search.index/533b46eb255d.js @@ -0,0 +1 @@ +rn_("AYQCsAAdTQABsDAeYgABc3QBAQA7MAAAAQAAewACAOoOAACLEXoAMwCEsIAeZAABoHAAABw6sAgAOzAAAAEAAA0ABQDuDgAAfBEJAGAbAABTHAAADh8AAAECADswAAABAADgAAIA5RMAACsW3wABAQDz/xUAAAEABwTnAAAAhaCwAAAevaAwAAAWKhQwAjswAAABAADrAAsApwMAAJgJAABvCwAABgzhALoOAACMGwAA/BwAADsdAAClHgAA8R4AAGQfAAA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/53464777d1ed.js b/pr/3734/docs/search.index/53464777d1ed.js new file mode 100644 index 0000000000..d7165197c6 --- /dev/null +++ b/pr/3734/docs/search.index/53464777d1ed.js @@ -0,0 +1 @@ +rn_("AQcAOzAAAAEAAHsAAgACHAAApx16AAEDADswAAABAAB6AAEAERd6AAECADswAAABAAB1AAIARhQAAHgadADTAISwABxFAAEKAQQ7MAAAAQAAfAADAJ4JAADgCXoAeRAAABOAAqAAAAAO62Vn") \ No newline at end of file diff --git a/pr/3734/docs/search.index/536403e2942f.js b/pr/3734/docs/search.index/536403e2942f.js new file mode 100644 index 0000000000..e7c062c2c9 --- /dev/null +++ b/pr/3734/docs/search.index/536403e2942f.js @@ -0,0 +1 @@ +rn_("AYACsBAenACAsLAfhgABbnABAwD0tx8AAAEAAQABACOAA6DwAAAf7qAwAAAc8mxveQEEAPOYGwAAAQABACOAArDAHyUAAW10AYEDoHAAAB8MoCAAAB4usCAdPAABY2xzAQUDoJAAAB9zoIAAAB+doKAAAB+FYnN29sgbAADiAs8AAQAdAAEAAYACsBAcFwDioBAAABCebnUBhwKgQAAAH5mgAAAAHx1lcwGBAqBAAAAeUKBAAAAeUTQ2Y4ADsFAbsQCXYXByAQMBsDAfCgABdPKcHQAAAQABBAD1XR4AAAEAAQABAAEAM4ADoBAAABzPb3J1AQIA9MsbAAAUAYkCAQDzAAFyAbgcAAABAQD1MhwAAAEAAQABAAEAAQABsEAfaAABZfIxHwAANgDjgISgMAAAHBQJIAEBDAD0KB8AAAEAAQABACOAA7AgHtEAcaBAAAAenml1eQEBAPP2HAAAAQABAAECAbCQH9kAFGUBTBwAAJcAAICFoSAAAB/TsBAQjAABsCAeWAABCKAM9/kBAM6gIAAAG5WgYAAAHN6wYB7UAAHATLkPOzAAAAEAAO8AUQCaCQEAwgkAAPAMAQDMDgIA5Q4AAOoOAABKDwAAfQ8AAGgQAABqEAAAcxACAJQQAAC2EAEAvBAAAIsRegA6FAAANxUAAOEVAQD/FQEADhYAABoWAAAdFgAA9hkAAAcaAABJGgAAdxoAAFQbAABfGwAAoxsAALcbAQC8GwAA0xsAAOEbAgDsGwAA/xsBACAcAAAsHAEARRwBAE8cAABUHAAACh0AADUdAAA6HQAAfR0DAIwdAACfHQMAOB4AAEMeAAB9HgEAjR4AAJseAACtHgAAtR4AALgeAAC+HgAA3x4AAPUeAAACHwEAEh8BABofAAAxHwAAMx8AAD8fAQBFHwAAWR8FAGEfAgBnHwAAbR8BAHgfAAB8HwEAlh8AAJofAACeHwAAth8AALwfAQC/HwAAwx8AAMsfAADbHwAA6B8BAPEfAQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/543a36a2aadb.js b/pr/3734/docs/search.index/543a36a2aadb.js deleted file mode 100644 index e2094dc99a..0000000000 --- a/pr/3734/docs/search.index/543a36a2aadb.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQQA8wYcAADeATcAAYQCoDAAAB3+oFAAAB4WY3LzAgJjbwFEHQAAAQIBoIAAAB2PdAGnDwAAAQEBoDAAAB0McgGiGwAA84ACZWkBggKwQBypAAGgQAAAHKtkc/MAAm5y8jUJAAABAAECAbCwHeQAN2Y7MAAAAQAACwAEALwPAgCWFAIA0hoBALsbAwDXAAAAhqAwAAAapKAgAAAS+qAwAAAU4xkBBjowAAABAAAAAAAIABAAAAAyAecK2xTpG+ob6xvsG+0blRw=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/54bbfc9b1674.js b/pr/3734/docs/search.index/54bbfc9b1674.js new file mode 100644 index 0000000000..ed5a106389 --- /dev/null +++ b/pr/3734/docs/search.index/54bbfc9b1674.js @@ -0,0 +1 @@ +rn_("AQIA9BgUAAABAN8BAQATgAKwIB8hAAFhbwECAaBgAAAeTm3yORUAAAEAAQQBoCAAAB2EcwG5GwAAxwEAAIWgMAAAG+WgUAAAHCRFwAA7MAAAAQAAFgAHANQOAwBQDwsAwBsBANQcAABsHQAATh4BAI8eAAA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/551fa489c0df.js b/pr/3734/docs/search.index/551fa489c0df.js new file mode 100644 index 0000000000..41918b2c86 --- /dev/null +++ b/pr/3734/docs/search.index/551fa489c0df.js @@ -0,0 +1 @@ +rn_("AQIBoEAAAB/ldPTaHgAAwQARACYAE4ACoDAAAB+7aXAjggKgcAAAH2dlcxMAAqAgAAALcGZt9DwBAACgDQIAdA0=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/5543f446f6ad.js b/pr/3734/docs/search.index/5543f446f6ad.js new file mode 100644 index 0000000000..72def16b03 --- /dev/null +++ b/pr/3734/docs/search.index/5543f446f6ad.js @@ -0,0 +1 @@ +rn_("AQABoDAAABxabgHSDgAAAYECoAAAAB0+oAAAAB0/NDYBAwGwgB/xAAFz8uIfAAABAAEDAqBQAAAc0KBwAAAfe2NmAXMRAAAzAAOAD0kWMAFsbnPy3gcAAMUVAQIBoAAAAB56c/JHHgAAAQABDQD0KB8AAAEAAQABAPMBAWLztxsAAAEAPQMBAwGgYAAAH6Nm9nUaAAABANoB/wC2AVoA84ADYWV19wAAgIWgAAAAHvAAqAU=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/555d06074c0f.js b/pr/3734/docs/search.index/555d06074c0f.js new file mode 100644 index 0000000000..80e6dd9003 --- /dev/null +++ b/pr/3734/docs/search.index/555d06074c0f.js @@ -0,0 +1 @@ +rn_("AQABoGAAAB8wYjowAAABAAAAAAAMABAAAACcEHoRTRpOGtcb2BvZG9ob2xvcGyYcmR60HocAAACFsDAaagABoEAAABvCsDAb9AABoKAAAB7MkgADOzAAAAEAAA4AAgDgDgIAbQ8LABOAAqAgAAAUI2Vp") \ No newline at end of file diff --git a/pr/3734/docs/search.index/559ad2590574.js b/pr/3734/docs/search.index/559ad2590574.js new file mode 100644 index 0000000000..a0d446e9ff --- /dev/null +++ b/pr/3734/docs/search.index/559ad2590574.js @@ -0,0 +1 @@ +rn_("AQkA9C0fAAABAHoAAQABAgGgQAAAHkZlAToaAAABgAKwkBzhAAGgUAAAHFNldQGAAqDAAAAf7rBAFCwGDWVvdwEAAIawcB1cAAGgYAAAHi2ECQY7MAAAAQAAFgAIAE0BAgCwAwEAvwgBAAoUBAASGgIAKhoDADYaAQBpHgEA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/55af80d7d938.js b/pr/3734/docs/search.index/55af80d7d938.js new file mode 100644 index 0000000000..ccfe6bdb37 --- /dev/null +++ b/pr/3734/docs/search.index/55af80d7d938.js @@ -0,0 +1 @@ +rn_("AQUBoAAAAB/QcgF1FQAAAQEBoGAAAB9MYgHTHAAAJwAAAYWgQAAAHjCwcB7vAMOgMAAAHuygUAAAHzoYIQg7MAAAAQAABwACAGUPBgARGgAAAQIBoEAAABzVZTswAAABAAAFAAIAFBQDAEseAQDzAAFr8vcNAAABAPOBAmNzAQABoIAAAB/hZgENHwAA8wYBc/IlFgAA1QbzAANjbHMBRx0AAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/56882d245668.js b/pr/3734/docs/search.index/56882d245668.js deleted file mode 100644 index 515e34ace5..0000000000 --- a/pr/3734/docs/search.index/56882d245668.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQMBoAAAAB4gcgFIFAAAAQMA9DAbAAABANwBAQATgAKwMBsyAAFydkMAhLBgHU0ALbBQHRQAcqAwAAAahBYBADswAAABAAAeAAsA0xIEAOATBAAeGgAAIBoAAJIaAACYGgAAZxsMAAYcAABIHQAA5B0AABseAAAjggKwEBSzAAFleQGGA7BgHaQAAbAwHSYAAbAwHSgAAWRycwEFAaBwAAAeI2QBWx0AAAGDArAQGh8AO7AAGZ0AAWVzAQIA9tgSAAAyAL0FHAAtAYkA04CEsLAeJQABYCAEZwEAAMagEAAAFPKgEAAAHTqgYAAAHfAAAqgY8oYKAAABAAGAArAgGrkAAaAgAAAUBW5zAQMBoFAAAB4kYwEEFAAA84ACaW8BhAKgMAAAHf6gUAAAHhZjctcBAACFoMAAAB4+FEgBAUQdAAA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/56ac00641d8a.js b/pr/3734/docs/search.index/56ac00641d8a.js deleted file mode 100644 index 0f0ef1683a..0000000000 --- a/pr/3734/docs/search.index/56ac00641d8a.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQgA9KwdAAABAGMAAQAjAAKgMAAAD55hczowAAABAAAAAAARABAAAABaB1sH4w0LDsAS9hMjFOMZ5BnlGUIaSBpNGqYbxxzIHI0dGR4=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/571424dea007.js b/pr/3734/docs/search.index/571424dea007.js new file mode 100644 index 0000000000..4c5dd0d3c7 --- /dev/null +++ b/pr/3734/docs/search.index/571424dea007.js @@ -0,0 +1 @@ +rn_("AYMCoEAAAB+foGAAAB61ZXIBBgDzVxoAACQEXQEBAAGgUAAAHPVl9+MVAAA7BbwBFQCeAAYAKQEBAwA7MAAAAQAABwACABwcAwD7HgMA4wCEsLAfNwABBCAF83wLAAAREP8C84ACZWk=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/573bd86f93b5.js b/pr/3734/docs/search.index/573bd86f93b5.js deleted file mode 100644 index 80e0ff2c08..0000000000 --- a/pr/3734/docs/search.index/573bd86f93b5.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQABoEAAAByBYgHsHAAAAQEBoEAAAB4PdPQkHQAAYQB7ACIAAQQBoSAAAB46YwGoGAAAAQEBoHAAABv+bfIfHQAApAABBgD13BsAAAEAAQABAAEAAQkA9M0dAAABAB8AAQDzgIVAYIIBAwGgAAAAHaZzATQbAAABBAA7MAAAAQAACgACANMUBwAWHQIAYwADoDAAABy4Y2Vy8k0bAAABAAEBAaCAAAAeP2EBvxoAAHcBAACFoDAAAB4OEYEEOzAAAAEAABgADAA+CQMAug8AAG8QAwAWEwEA+RMBAMsYAQAdGwMAWRsBANgcAABUHQAAaR0AAKYdAAA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/5740175b3ff7.js b/pr/3734/docs/search.index/5740175b3ff7.js deleted file mode 100644 index 21aad08e20..0000000000 --- a/pr/3734/docs/search.index/5740175b3ff7.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQABoEAAABilcgFnHQAAAQEA9SobAAABAAEAAQABACOAAqBQAAAarmFzAQECoFAAABs+oHAAAB3PY2byIQ0AAF4DQ4ADoFAAAB2RoCAAABztZm1u44CEoHAAAB2gAUFA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/57f8cf1b0f02.js b/pr/3734/docs/search.index/57f8cf1b0f02.js new file mode 100644 index 0000000000..475007ec44 --- /dev/null +++ b/pr/3734/docs/search.index/57f8cf1b0f02.js @@ -0,0 +1 @@ +rn_("AQAAOzAAAAEAAAUAAgAqGgMAaR4BAAEJAPPJHgAAAQABAPMCAnBzOzAAAAEAAA0ABACXEAIASxUAAFAdBQBuHQMAAQcBoEAAAB+1YgFNHwAAE4YCsCAeVgABZG0TgAKggAAAH3RvcgEBAaAwAAAfYHcBgB4AABOCArCgH20AAWVpEwACoFAAAB+zZXTzAA4AAAEAkBEBgwKgUAAAHZKwMB+AAAFjcAGBA6BQAAAeVaAAAAAfhKCwAAAfcmJkdAGAAqBAAAAfy6BgAAAf22Fy8wIBcwESFgAA84ACYXIBAgD0IBQAAAEACAayBAEBADswAAABAAAGAAMAlRABAEgVAgCnHgEAU4CEsFAbwAABsBAeQQABEUACAQUA9oseAAAIAAEA1gABAAEAI4ECoHAAAB6ubXMBBwGgQAAAH7BiAUkfAAABBAD0ZhoAAAEAAQCHAUOAA6CAAAAf56BAAAAeU2Vsb3c/AADKoGAAABxYACNmBzowAAABAAAAAAAbABAAAAC5CboJuwm8Cb0JRQtGC8sObhFvEXARBhoVGjIaghvgG/EbShwuHi8eMB5tHm4ebx7mHlIfUx9UHw==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/5857c8b34f5a.js b/pr/3734/docs/search.index/5857c8b34f5a.js deleted file mode 100644 index 77f707a1cc..0000000000 --- a/pr/3734/docs/search.index/5857c8b34f5a.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIA8xEUAAABAAEAAYACsIAdwQABsLAd/AABYWwThgKwIBvwAAF0dQEGAbDAHfoAAWnyNhoAAAEAlwEAgYWgYAAAG5+gcAAAG6CkAQg=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/5862b41fdbe4.js b/pr/3734/docs/search.index/5862b41fdbe4.js deleted file mode 100644 index e2cc9fe6a5..0000000000 --- a/pr/3734/docs/search.index/5862b41fdbe4.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQEBsAAS5wABc/XsCgAAAQABAAEAYBAjgAKgQAAAHiFjbAGAAqAAAAAdILAwGMQAAW50AQCFoJAAAB4BoEAAAB1foEAAAB0roGAAAB2noCAAABzBmAAK8k4aAABtAAEDAaBwAAAdvmgBox0AABOAAqBAAAAU6WVpAYECoAAAAB4YoAAAAB4ZNDYBBAGgAAAAHPFz82MdAADCAAEAIwGEoQAAAB4ooEAAABy7oIAAAB46FAAGAdIXAADDgISgQAAAGjywEA6rAAEA8AABgAOwABLDB6agAAAAFL2wEB3aAAFlc3UBBADz5hQAAAEAAQABggKgQAAAHVygUAAAHeZpciOAArBAHkAAAWdp84ADZ3J0VwcAAIegYAAAG0awIBMUBbmBQQv2DQ4AANQKAQByAgsAaQIBgAOgAAAAHYygAAAAHY2gcAAAHfI0NmEBgAOwEBXLAAGgcAAAHRmwAB3vAFBucnMBAgKwcB4sAAGgcAAAG+dlcjswAAABAAAlAAEAqxklAFcgAADKoFAAABoQoNAAAB3dsCAOEgzCoEAAABjQsGAeKgAToFAAABueoGAAAB3sQE2CDjowAAABAAAAAAAKABAAAADECgcL5RLmEm8ZzRqoG6kbKh2nHSEeAYACsCAVyQABsQAeCgABZXgBAwGgYAAAG/Ro980UAAABAPQFDAAIAQEAEAAjgAKgcAAAHLhlbwEDAaCwAAAdxGzy9BQAABYFAQABoGAAAB17YjowAAABAAAAAAAMABAAAACzD4YQ2hjbGE8aUBpRGlIaUxpUGpoa6RwAHYcAAACFsDAY9AABoEAAABo7sDAabQABoKAAAB0ZkgADOzAAAAEAAA4AAgAODgIAlg4LABOBAqAgAAATAWVpU4ADoCAAAB1nbG51AQIAOzAAAAEAAAUAAgCAHQIAHB4CAAGCAqCQAAAeArDgHjYAAWNyAQMA9a4bAAAfAcIATQBeAAEAAaBAAAAabHTziw4AAAEA2A4jAAKgQAAAFOVlczowAAABAAAAAAAJABAAAAAzCTQJowqkCqUKpgrmCiINhw+kGwEAAaAAAAAc2HP0nRgAAPMDAQABACOBAqBAAAAb+2VyAQABoAAAABodcjswAAABAAAgAAIA2BgAAH0ZHwAjhAKwkB1vAAFhZfOAAml2AYQCoLAAAB4XoAAAABrVYXPTgISwUB2/AAFAIAUBggKgAAAAHhigAAAAHhk0NvMFAWkByB0AAKf+AwCOoDAAAByroHAAAB1/oFAAAB1Du9QPOjAAAAEAAAAAACkAEAAAAAwJTQlOCU8JIw3AD8EPkxCUEJUQlhCaFIYYhxiIGIkYihiLGJsYpxgMGkkauBo7G0UbXhuyG7MbgRzCHMMcxBzKHDMdOR1iHWUd4R3iHeMd7x0/Hg==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/58871f51a775.js b/pr/3734/docs/search.index/58871f51a775.js deleted file mode 100644 index 23334c29cd..0000000000 --- a/pr/3734/docs/search.index/58871f51a775.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQMBsIAeEAABc/LHHAAAAQAnAAAAhaAwAAAPnaCAAAAanLCAHaoAAaCAAAAdLQEJCjowAAABAAAAAAARABAAAAAqAn0DWAdZB+INCg47EPUTIhTgGeEZ4hlBGkcaTBqlG4wdGB4=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/598dc30d968d.js b/pr/3734/docs/search.index/598dc30d968d.js deleted file mode 100644 index e10c6f8c17..0000000000 --- a/pr/3734/docs/search.index/598dc30d968d.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQABsCAVzQWIafYrDAAAAQABANYNdABjAgGEArAAG7IAAbAwHLMAAXN0EwMCsIActQABZmgBHg4AAMcAAACFoFAAABzusBAUkghUoDAAABXOFCAG9aUDAABoBZILFwRZAQ==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/5acc303680e5.js b/pr/3734/docs/search.index/5acc303680e5.js deleted file mode 100644 index 37181b6d83..0000000000 --- a/pr/3734/docs/search.index/5acc303680e5.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIBoAAAAB0EZAEtDQAAAQIA8xweAAABAAEA8wwBbfPhHQAAAQABAAEJAaBgAAAdam/yVhsAAAEAAQIAOzAAAAEAALgAAgCKDwAAKBO3AAGHAqAAAAAdjKAAAAAdjTQ2E4ICoEAAAByFYXIjgQKgMAAAFBZlcgGAAqBQAAAceqAQAAAZfGl0AQABoBAAABl7b/XHDwAAAQABAAEAzQ0BgAKwEBzzAAGgIAAAHSVhbxOCArBwHdQAAW1xE4ECoOAAAB4GbHABggKhAAAAHjyg0AAAHilrbROAAqBgAAAc42FrAYECsIAdoQABoIAAAB2jZXcBggKgAAAAGkygAAAAGk00NgGDArAwHOEAAbBAHQcAAXBzh/kAAoygYAAAHL2hEAAAHh+wYBy+AAGg8AAAHgWwoB1tAAGVtQc7MAAAAQAAMgACAPYNAgBEDi8AQ4ADsEAcmwABoFAAAB3PaWx18wCGEVAJOzAAAAEAAO0BCQAJCQAAEgkAAMgJvQAuCwMA/Q0AAJcPAADYD1kA5RMFAAoXxwA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/5ad231ee2787.js b/pr/3734/docs/search.index/5ad231ee2787.js deleted file mode 100644 index dd23213fd2..0000000000 --- a/pr/3734/docs/search.index/5ad231ee2787.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIA8xEUAAABAAEAAYACsIAdwQABsLAd/AABYWwThgKwIBvwAAF0dQEGAbDAHfoAAWnyNhoAAAEAlwEAgIWgYAAAG5+gcAAAG6CkAQgBAQD0CgkAAAEADQptBVMAA7AwDeoAAWVpeTswAAABAABwAAQAJgEAACQTAAABGWwAVhoBAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/5aef8cc750f5.js b/pr/3734/docs/search.index/5aef8cc750f5.js new file mode 100644 index 0000000000..d5a074ab1f --- /dev/null +++ b/pr/3734/docs/search.index/5aef8cc750f5.js @@ -0,0 +1 @@ +rn_("AYACoHAAAB/qsJAfUAB6aG8BggKwAB1qAQGgAAAAHWtlcyMAAqBgAAAeuWV0AbocAAABAwD1vBwAAAEAAQABAAEAAQABoJAAAB+fbDowAAABAAAAAAAIABAAAACgG4UdrB7NHgQfPh9vH3cfrx8TgAKgIAAAHLtkbgEDAaAAAAAepHPzGB8AALwAAQABAwA7MAAAAQAACgAEAGQdBQCKHgAA+B4BACMfAQDzgAJydgEDAbAAHkMASmT1Yh0AAAEA2wABAC0AE4ACoPAAAB/XbG8BgAKgkAAAH5CgUAAAH2VibHdjAACMoDAAABw7oBAAAB+toGAAAB/FoGAAAB64oFAAAB6llVkXOzAAAAEAABsADACOCwAAeBAAALgQAADUFQoAOhkDAPwaAADzHAEATB0AAF4dAADIHgAAoR8BAKQfAQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/5bbfa7cd66c8.js b/pr/3734/docs/search.index/5bbfa7cd66c8.js new file mode 100644 index 0000000000..bea4756cc7 --- /dev/null +++ b/pr/3734/docs/search.index/5bbfa7cd66c8.js @@ -0,0 +1 @@ +rn_("AQABoGAAAB9MYgHTHAAAAQABoEAAABwUZfM4HgAARAEBAPOAAmRyJwAAAIWgQAAAHjCwcB7vAMOgMAAAHuygUAAAHzoYIQg7MAAAAQAACAADAOINAABlDwYAERoAAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/5bf95c9773e7.js b/pr/3734/docs/search.index/5bf95c9773e7.js deleted file mode 100644 index b6c349b9bc..0000000000 --- a/pr/3734/docs/search.index/5bf95c9773e7.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQADoCAAABussEAbxQABoIAAAB3cYWV0OzAAAAEAAA8ABgCrDgEAwhIAAKEUBADmFAIAYBoDAMkaAAABAQA6MAAAAQAAAAAADQAQAAAAKRoqGisashqzGrQatRq2Grca7xz1HP8cLB2OHTMAA7CgHfoAAWZndgFnGgAA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/5c16db8e1ebd.js b/pr/3734/docs/search.index/5c16db8e1ebd.js new file mode 100644 index 0000000000..822228c8c6 --- /dev/null +++ b/pr/3734/docs/search.index/5c16db8e1ebd.js @@ -0,0 +1 @@ +rn_("AQcA9J8dAAABAAEAAQABCQD0oR8AAAEAAgABAFMAhKBQAAAex6BQAAAcNwQBA/JtHQAAHgABAAGgMAAAG/Jm9mwPAADPCtQEZQBlABQAAYkCoEAAAB/LoGAAAB/bYXIBiAKgQAAAH6uwAB8JADplcwGBAqAAAAAWDqAAAAAaImRyQ4EDoGAAAB+2oGAAABzUY21wE4ACoFAAAB5PYWUBDQGgQAAAH6BlAXUfAAABhQKgQAAAH56gYAAAH79hcgGAAqAgAAAdo6AQAAAc5mFzJwAAgYWhIAAAH+ugQAAAHmag0AAAH7agUAAAHtYI0AHzgAJjcAEDAaAwAAAe02Py5BwAAAEAAYACoFAAAB6esGAe1AABYnbzgAJkcgEFAaBgAAAftGI6MAAAAQAAAAAACQAQAAAAmB2ZHZodhR6GHoceBh8HH0EfZh8BAgKgMAAAHp2gQAAAHtJpdfMuHAAAAQABABOAAqAAAAAc7GRs93sAAIygsAAAHoygYAAAHuUV1Q86MAAAAQAAAAAAFQAQAAAAoAihCKIIowgFFBwVHRXCFRAaKByQHpEelx6YHroeux4hHyIfcB9xH4AfgR8=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/5c5df20648ae.js b/pr/3734/docs/search.index/5c5df20648ae.js new file mode 100644 index 0000000000..2fa94d9dfd --- /dev/null +++ b/pr/3734/docs/search.index/5c5df20648ae.js @@ -0,0 +1 @@ +rn_("AQUA8xQWAAByBYYDAQQA8x0UAAABAAEAAYICoAAAAB0+oAAAAB0/NDYjgwOgQAAAHUCgQAAAHi9naXKzAISgsAAAHu1YAAI6MAAAAQAAAAAABwAQAAAAMBQxFAsXDBevHrAe5x7oHg==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/5d1a12f4867d.js b/pr/3734/docs/search.index/5d1a12f4867d.js new file mode 100644 index 0000000000..3e5a8f7239 --- /dev/null +++ b/pr/3734/docs/search.index/5d1a12f4867d.js @@ -0,0 +1 @@ +rn_("AQQBsCAfAAABdfQyFAAAAQABAAEAAYICoEAAAB5QoEAAAB5RNDYBAwGwkB/ZABRlAUwcAADzhAJhaQEEAaAAAAAf0HIBdRUAAPOAA2Nlbw==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/5d323922b46d.js b/pr/3734/docs/search.index/5d323922b46d.js new file mode 100644 index 0000000000..bc8f914f1e --- /dev/null +++ b/pr/3734/docs/search.index/5d323922b46d.js @@ -0,0 +1 @@ +rn_("AYECsIAfBQBasFAeUgCZYWIjgAKgAAAAFBFzdSOBAqCAAAAe9nJ0hwAAAIWwQB+eAC2wYBu8AJOwYB+/ABygwAAAH0YDAEX0PAsAAAEAAQCmFA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/5d84d0adfa5d.js b/pr/3734/docs/search.index/5d84d0adfa5d.js deleted file mode 100644 index 3a39a46762..0000000000 --- a/pr/3734/docs/search.index/5d84d0adfa5d.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQABoIAAAB4xZvKJDwAAzg0BBwDzIR0AAAEAAQAjgAKgUAAAGydhb/MCAmZz9u8NAABAAAEAAQDCBnEGE4ADoIAAABq8sBAMNQABYWVv") \ No newline at end of file diff --git a/pr/3734/docs/search.index/5da830516780.js b/pr/3734/docs/search.index/5da830516780.js new file mode 100644 index 0000000000..a269cb8fe7 --- /dev/null +++ b/pr/3734/docs/search.index/5da830516780.js @@ -0,0 +1 @@ +rn_("AYACoCAAABuyoCAAABuzYnTzAgFhATQVAAABgAKgYAAAHkSgYAAAHkVldAEGAPPeHwAAAQABAAEDAPPAHwAAAQABAPMFAnBzASQeAAABAwD0qBsAAAEAAQCaAwEBAbCAH+gAAXPyVx8AAAEAAQkBsIAf8QABc/LiHwAAAQDzgQJkaQECADswAAABAAAJAAQApRsCAD0cAACCHgIA4B4CACOAAqAgAAAUEmJkdzAAAIqgEAAAD2GwMBurAAGgQAAAHBFdx44uqCWgYAAAHWzbUQI7MAAAAQAACAAEAHwQAgC5EAIAaxsAADMeAQABBwGwkB+kAAFjAYsdAAABBADz/xMAAAEAAQCnAgCAhqBQAAAcSaAQAAAPhqAgAAAaBHQgBPOAAm50") \ No newline at end of file diff --git a/pr/3734/docs/search.index/5dc78e2ea825.js b/pr/3734/docs/search.index/5dc78e2ea825.js new file mode 100644 index 0000000000..df8d02863d --- /dev/null +++ b/pr/3734/docs/search.index/5dc78e2ea825.js @@ -0,0 +1 @@ +rn_("AQIAOjAAAAEAAAAAAA0AEAAAAK0brhuvGz4cPxxAHEEcQhxDHKIeqR6zHt4ePB8BgAKgMAAAH06wEBwSAAFyePMAAWU7MAAAAQAADQAFAOQVBAAfGwQAIx4AAO4eAACCHwEA84ACZG4=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/5e3984413595.js b/pr/3734/docs/search.index/5e3984413595.js new file mode 100644 index 0000000000..270b880b29 --- /dev/null +++ b/pr/3734/docs/search.index/5e3984413595.js @@ -0,0 +1 @@ +rn_("AYcCoFAAAB6esGAe1AABYnYBgAKwAB1qAQGgAAAAHWtlcwEDAPPeHwAAAQABAKOBhKCAAAAfS7AQDtEQJUIgBAEFADswAAABAAAIAAMATRoBANcbBQC0HgAAAQUCoEAAAB7doCAAAB5xaHUB1hsAAPOAAnFzE4ACsQAfuQABZXgBiQKgQAAAH8ugYAAAH9thcgGIAqBAAAAfq7AAHwkAOmVzAYYCoEAAAB+eoGAAAB+/YXIBBAGgMAAAHtNj8uQcAAABAAEFAaBgAAAftGI6MAAAAQAAAAAACQAQAAAAmB2ZHZodhR6GHoceBh8HH0EfZh8BAwKgMAAAHp2gQAAAHtJpdfMuHAAAAQABAPcDAAKHgBo7TUBlFYEDAcIVAAABBAKgMAAAH4SgYAAAH7NwcwHmHgAAE4MCoFAAABzGcnMBBAA7MAAAAQAAJgABAAsdJgDXAACAhqBgAAAad6BgAAAaTLFAH9QAARFECQGFA6BAAAAecKBwAAAfEKBgAAAe3GVucwELAPSSHwAAAQABAAEAAQACoBAAAB94oEAAABvgZXL05w0AAAEAAQB/EAECAPN2EAAAAQBnDDOAA6BQAAAb0nJ0dgEGAPPeHwAAAQABAAEDAPPAHwAAAQABAPOLAnBzE4ACsAAPXQABZHQBhwKgkAAAH66g4AAAH+djcpcBAACFoGAAAB2ToFAAAB65hCgBOjAAAAEAAAAAAAcAEAAAAPwV/RW7G04cWxxyHXMdgx0BCAGwYB7/ADBi8qQbAAB/AAGAAqBAAAAefaBAAAAT9Wxvx9kGANCgEAAAD3qg4AAAH1WggAAAHOOwYBXjBTugUAAAHn6wUBP2CjOgkAAAHOhCb7IXOzAAAAEAABgADAA+AQEARgIIAN8HAQDPCQAATAsAAOwNAgBJDwAAYA8AAKwQAQBzFQAAuhwAAGUfAAA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/5e4fe4acf713.js b/pr/3734/docs/search.index/5e4fe4acf713.js new file mode 100644 index 0000000000..d2de75b1bf --- /dev/null +++ b/pr/3734/docs/search.index/5e4fe4acf713.js @@ -0,0 +1 @@ +rn_("AQcBoEAAAB+wYgFJHwAAE4YCsCAeQQABZG0BAwDzlxsAAKADAQAjgAKgIAAAGkZhciMAAqAgAAAVzWl0Af8OAAABgAKgcAAAHV+gAAAAFEVheAGAAqBQAAAc76AwAAAaRWFlAQcBoEAAAB+1YgFNHwAAAQUA85YbAAC0A4kAAQUBsGAffgABaQG3HgAA8wMBaAHMFQAA1zkAAIqgYAAAHAGwMB7zAAGwIB5WAAGPFAc7MAAAAQAADAAGAHELAgDrDAQANhUAABAWAADwHAEAUx4AAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/5ecd38658869.js b/pr/3734/docs/search.index/5ecd38658869.js new file mode 100644 index 0000000000..d41d43c076 --- /dev/null +++ b/pr/3734/docs/search.index/5ecd38658869.js @@ -0,0 +1 @@ +rn_("AQGEsGAcKgEYgB9iBdAcoLAAAB88oEAAABvxGQAB8gMOAAABAAECAPMVFgAAcwUBAAEAAPWaEAAAAQCxBAEAAQDzgAJkbgEJAaBAAAAfTmXz7h4AAJQAAQABAgGggAAAH5p28kEdAADrAfMDAWUBhxsAAHcAAIGGoCAAABousUAf7wABoEAAABvwETECAQEA9m8QAACxAwEAIwDlBbIElwEAgMWwAAzyAAGgEAAAFS8AAogK") \ No newline at end of file diff --git a/pr/3734/docs/search.index/5f01e7a435d7.js b/pr/3734/docs/search.index/5f01e7a435d7.js deleted file mode 100644 index c60d7844ba..0000000000 --- a/pr/3734/docs/search.index/5f01e7a435d7.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACsBAYwgABoEAAABrUbnPzAAFl9IwYAAABAAEAAQABAQDz5hQAAAEAAQABAgA7MAAAAQAAEwABAOsZEwATgQOgEAAAEu6gIAAAFNtjZW/zgAJhbsMAhKAwAAAeO6AQAAAbnhIBAgE4CQAA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/5f0432f549e4.js b/pr/3734/docs/search.index/5f0432f549e4.js deleted file mode 100644 index b41ea6b7d4..0000000000 --- a/pr/3734/docs/search.index/5f0432f549e4.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQEDoDAAABqkoCAAABL6oDAAABTjZHN0OzAAAAEAAAUAAgDnCgAA6RsEAAGAAqAAAAAaZ7AwHZAAc25vEwICoGAAAB1qaW/yVhsAAAEA8wABZQF5GQAAAQIBsDAdUAABdfL4GAAARgJjgAOgAAAAHLhkZm4BBgDzCx0AAFIAAQABBwA7MAAAAQAACAABAHsaCAABDAD0SR0AAAEAAQABACMAAqBAAAAY12Vp9s4KAAABADsCAQABAPIQ84ACZWl3AQCAhaBQAAAdWAhwAQ==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/600cc660f086.js b/pr/3734/docs/search.index/600cc660f086.js deleted file mode 100644 index 1b687c3b85..0000000000 --- a/pr/3734/docs/search.index/600cc660f086.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQEBoEAAAB4PdPQkHQAAYQB7ACIAAQQBoSAAAB46YwGoGAAAAQEBoHAAABv+bfIfHQAApADzgANvc3oBAQGggAAAHj9hAb8aAABTAISgQAAAHLigMAAAHg4RgQDz2BwAAHwAUgA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/601580e631e0.js b/pr/3734/docs/search.index/601580e631e0.js new file mode 100644 index 0000000000..4cfb58c678 --- /dev/null +++ b/pr/3734/docs/search.index/601580e631e0.js @@ -0,0 +1 @@ +rn_("AQoA9HkfAAABAB0AAQABBAGgAAAAH1VzAcYcAADzgAJlaQEFAaBgAAAfMGIBJhwAAAECA6BQAAAeU6AwAAAfhKBgAAAfs2Nwc/KCGwAAZAPzgQJscwEBAaBgAAAfTGIB0xwAABOEA6AwAAAe7KBQAAAfOmVudROBAqCQAAAfO2J05wAAAYawQBYMAAGgIAAAHpKgIAAAFT0QgA/yPwsAAAEAI4ACoHAAAB5obnI=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/607db6738444.js b/pr/3734/docs/search.index/607db6738444.js deleted file mode 100644 index 9298cd5b70..0000000000 --- a/pr/3734/docs/search.index/607db6738444.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYICoAAAAB4YoAAAAB4ZNDbzAwFpAcgdAAATgAKwIA/AAAFkdAEFAqAwAAAdlKAgAAAdaGJ18sMaAAA2AgGAAqAQAAAczKBQAAAcf2Ru84ADaWx5") \ No newline at end of file diff --git a/pr/3734/docs/search.index/6122364c9e97.js b/pr/3734/docs/search.index/6122364c9e97.js new file mode 100644 index 0000000000..af69348e10 --- /dev/null +++ b/pr/3734/docs/search.index/6122364c9e97.js @@ -0,0 +1 @@ +rn_("AYACoBAAABX+oMAAAB/TM3MBBwD0nx0AAAEAAQABAAEJAPShHwAAAQACAAEAMwIDoFAAABw3Y3Jz8m0dAAAeAPMAAnJ1Ae8DAAA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/615509e1107d.js b/pr/3734/docs/search.index/615509e1107d.js new file mode 100644 index 0000000000..6e2306b53f --- /dev/null +++ b/pr/3734/docs/search.index/615509e1107d.js @@ -0,0 +1 @@ +rn_("AYACsDAbsQCXoBAAABUwZW8BAAGgIAAAHM9mAVQbAAATAAKwABYfBYJkcjswAAABAAA/AAQAKRQAAFQVHgBLGgAA/RoeACOAArCQHyMAAWFlI4ACoGAAAB9RdHoBAwDz7hMAAAEAsQsjgAKgAAAAFBBxcgECADswAAABAAAUAAEAbRsUAHcAAACHsCAbUQABoCAAABYKoCAAABtToFAAABz8FFER88QDAAABALAbY4ADoGAAABzSYmx0") \ No newline at end of file diff --git a/pr/3734/docs/search.index/616744b8f955.js b/pr/3734/docs/search.index/616744b8f955.js new file mode 100644 index 0000000000..bbf4e8f664 --- /dev/null +++ b/pr/3734/docs/search.index/616744b8f955.js @@ -0,0 +1 @@ +rn_("AYECoHAAAB8MoCAAAB4uY2wjAAKgQAAAHN9lcjowAAABAAAAAAASABAAAADNDs4O4RXiFQodOh0CHwMfWR9aH1sfXB9hH7wfvR/oH+kf8R/yHw==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/61b87b2edf10.js b/pr/3734/docs/search.index/61b87b2edf10.js new file mode 100644 index 0000000000..1e2230ffe6 --- /dev/null +++ b/pr/3734/docs/search.index/61b87b2edf10.js @@ -0,0 +1 @@ +rn_("AQIA8zARAAABAAEAAQEBoIAAAB7fdQEvEQAAI4ACoBAAABEuMzYBgAKgAAAAGhawcB4lAAF1eAECAPWzHAAAAQABAAEAAQDzAQFpOzAAAAEAAAgAAgDQDgAAJhEHACOAAqBgAAAcRGV0AQIAOzAAAAEAAGIAAgDPDgAAxBBhAAEHAaBAAAAfT2XyXB4AAJYAAQQA874eAABUAAEAAQIAOzAAAAEAANYAAQBjGNYAAQIAOzAAAAEAANYAAQCMF9YAwwCEoCAAABPmoAAAAB04kBABOzAAAAEAANcAAgB0CwAA9AzWAAEBAPT9GQAAAQABAAEAAQAAOzAAAAEAABAAAQADDxAAY4ADoDAAABXOYWV084ACcnTTgISw8B+XAAEBDAEBAAGggAAAH+Fm8nAQAACdDgEHAPPXHgAAAQABACOAAqBQAAAcuWFv8wICZnP2wQ4AAD8AAQABACMH1QYTgAKwEAzyAAFhbwECAaAwAAAbsGE7MAAAAQAACAACAB8VBgBjHAEAAQYBsJAfoQABYwFtHQAAAQkBoEAAAB/ldAGbHwAA8wECYnrzhBAAAMULOALzgAJudAEBAqAgAAAb3bAgG94AAWFi88EQAAABAAEAAQAA9L8QAAABAJUL4QAjgAKgkAAAHt5kdmMAA6BQAAAermNucvMeHwAAKQABAAEDADswAAABAAAFAAEA9xkFACOAAqAwAAAZ9m95AQIAOzAAAAEAAAUAAgA0HwIAzB8CAPMIAW07MAAAAQAABgADAM0cAAByHgIAjB8CAAEDAbCAH/EAAXPy4h8AAAEAE4ECoAAAAA9JbnPzgAJpcnf/AACMoDAAABznk5GPOzAAAAEAADsCBgDHAwAA0ARGAXcLAQDTDQIA7A4AAAYS7QA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/61ba31cb2213.js b/pr/3734/docs/search.index/61ba31cb2213.js new file mode 100644 index 0000000000..3c44d9b6ef --- /dev/null +++ b/pr/3734/docs/search.index/61ba31cb2213.js @@ -0,0 +1 @@ +rn_("AQgA9FsfAAABAGAAAQABAwGgIAAAHLJl8oYQAADLDfMAAmFzOjAAAAEAAAAAAA8AEAAAANYHtQ7cEycVURVkG2UbZhvKG88b1RvXHD8ddx54Hscf") \ No newline at end of file diff --git a/pr/3734/docs/search.index/61dcfdcad99e.js b/pr/3734/docs/search.index/61dcfdcad99e.js new file mode 100644 index 0000000000..1ac8746ace --- /dev/null +++ b/pr/3734/docs/search.index/61dcfdcad99e.js @@ -0,0 +1 @@ +rn_("AYACsAAbyQAFsAAbygAFNDYBAAA7MAAAAQAAFgAJAMoJBABjEQMAOBQBACoVAQADGgAAPRoBAK0cAwDtHAEAHR8AAAEBAPOZHwAAVgABABcAAALFoNAAAB+JsGAf2QAUoGAAAB+WoIAAAB+aAAyADDowAAABAAAAAAAIABAAAAAGFAcU7hoqHLEcshxBHUIdLB8BhAKgMAAAH6qgUAAAH8RjcvMDAWMB9x4AADcJAADIoIAAAB/roDAAAB6doDAAABzBoEAAAB7SAGYADzowAAABAAAAAAA0ABAAAADxA/ID8wP0A4ELhRCGEAIUAxQ9FD4UPxRAFEEUQhQsFS0VMxVFFeAVIBYBGgIaCBoJGjwaXxpgGmEaYhqHG6UbphunG+Ub/Bv9Gy4cLxwwHD0cTBz7HDkdJx5QHlEegh6DHoQe4B7hHuIeAYECoHAAAByxoHAAAByyNDYjgAOgEAAADtqgoAAAH2VucHQBgAKwAB+eAC2goAAAHqJkbgEDAqBAAAAemqAwAAAe8GV39L8bAAAFAJMAAgDzAQFnATEcAAABggKgIAAAGu6wABQ4AAFlc/OAAmR01wEAAIWgQAAAFDoTAQHzVQEAAPAbAQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/6205a890543c.js b/pr/3734/docs/search.index/6205a890543c.js new file mode 100644 index 0000000000..60856a62a5 --- /dev/null +++ b/pr/3734/docs/search.index/6205a890543c.js @@ -0,0 +1 @@ +rn_("AQIA8xEWAAByBQ8CE4ECoIAAAB5UZm4BggKgMAAAH6qgUAAAH8RjciOAAqAwAAAWEGlvAQECoFAAABuToEAAABpCY2z0bAsAAEcAKRN6AAECAPXeEwAACAgBAAEAAQABgAKgAAAAEGqwMBpAAAFkcgGDAqBAAAAen6BAAAAeoGJs5wAAAYewEBBpA86wAA7zAAGwIBPdAkygMAAAGu0WARo7MAAAAQAACgACAGkLAgCrCwcA84ACcHPzgANlbG8=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/62a077c2d239.js b/pr/3734/docs/search.index/62a077c2d239.js new file mode 100644 index 0000000000..68fd34b253 --- /dev/null +++ b/pr/3734/docs/search.index/62a077c2d239.js @@ -0,0 +1 @@ +rn_("AQIA8woaAAABAAEAAQABsIAfWwABc/NkGwAAAQABAAEDAbCAH7wAAXPydx4AAAEAEwACsIAfWQABaXPzYRsAAAEAAQDzggI0NgEDAPNbGgAAAQAUBAEBAbCAH+gAAXPyVx8AAAEAAQkBsIAf8QABc/LiHwAAAQDziAJkafOAAm5yVwIAAIawUBu3AAGgcAAAHxCgYAAAHtwwIQb0JR4AAAEALACZAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/62ef8fdf492f.js b/pr/3734/docs/search.index/62ef8fdf492f.js new file mode 100644 index 0000000000..78dec31bdd --- /dev/null +++ b/pr/3734/docs/search.index/62ef8fdf492f.js @@ -0,0 +1 @@ +rn_("AYACoEAAAB7coBAAABUuY3IBggKgAAAAEGygAAAAEKVlcwEBAbAgGm4BjGnygRAAAAEAI4CEoAAAAA7MoDAAABXuoAAAAB2ECCAFAYACsEAcRQABoEAAABpWbG/HBgAAh7AwGgEAAaBwAAAeJ7AwHroAAReADPayCQAAggGvAgEAZA+VAQ==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/6303b2e9e6c4.js b/pr/3734/docs/search.index/6303b2e9e6c4.js deleted file mode 100644 index 88b3846901..0000000000 --- a/pr/3734/docs/search.index/6303b2e9e6c4.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIAOzAAAAEAABwADQDTFAcA9RQAANcYAAA7GgAAnRoAADUbBQBHGwIA+xsAAJocAAChHAAAFh0CABsdAACeHQAAIwACoHAAABrFaXIB6xwAAAEAAaBAAAAdnWXzPR0AAJkAAQATgAKgIAAAHY5kbiOFAqAwAAAdlWRpAQUBoEAAAB1zZfIsHgAAAQDzgAJjZAEBAbBAHboAAWXyfB0AAD0AE4ACsNAdcQABZXNXAQCAx6AAAAAIGrDQHWAA3KAgAAAPh7EQHdAAAQACqQk=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/63184489def6.js b/pr/3734/docs/search.index/63184489def6.js new file mode 100644 index 0000000000..24c14df773 --- /dev/null +++ b/pr/3734/docs/search.index/63184489def6.js @@ -0,0 +1 @@ +rn_("AQcBoEAAAB+wYgFJHwAAE4YCsCAeQQABZG0BCQGggAAAH+FmAQ0fAAABAwGwcB98AAFm85cbAACgAwEAI4ACoCAAABpGYXIBgAKgEAAAFc2gEAAAG/ZuevMAA2l0dfT/DgAArwG0C0ICAQAA9HQdAAABAAEAAQBDgAOgcAAAHV+gAAAAFEVheHkBgAOgUAAAG/egsAAAHxmwIBVSAAFhbG8BgAOwEB5WAAGgEAAAGvmgwAAAH+RzdHUBgAOgkAAAH1GwoB74AAGgEAAAHFFhY3QBgAKgUAAAHO+gMAAAGkVhZQEGAaBAAAAftWIBTR8AABOAAqBwAAAe+mFpAQIA85YbAAC0A4kAE4ICoPAAAB/qZmcBgAKggAAAH8igYAAAH9pkcxOAAqBQAAAcAWl1AQUBsGAffgABaQG3HgAA8wIBaAHMFQAAAQIBsIAfigABZvLMGwAAAQBTgAOgoAAAH8VydHX3+wAAjbAwHvMAAbCQH74AKI+VDzswAAABAAD1ABIAswgAAHELAgDrDAQAXQ8BADYVAADpFQEAEBYAAA0XAQA+GbAAGBoAAMQcAQDwHAEACx0mAFMeAACxHgEA6R4BABgfAADUHwEA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/631aa04fa8da.js b/pr/3734/docs/search.index/631aa04fa8da.js new file mode 100644 index 0000000000..e4fa35874c --- /dev/null +++ b/pr/3734/docs/search.index/631aa04fa8da.js @@ -0,0 +1 @@ +rn_("AQEBoGAAAB9MYgHTHAAAJwAAAYWgQAAAHjCwcB7vAMOgMAAAHuygUAAAHzoYIQg7MAAAAQAABwACAGUPBgARGgAAAQIBoEAAABzVZTswAAABAAAFAAIAFBQDAEseAQDzAAFr8vcNAAABAPOAAmNz") \ No newline at end of file diff --git a/pr/3734/docs/search.index/632334815eec.js b/pr/3734/docs/search.index/632334815eec.js deleted file mode 100644 index 4d478829e8..0000000000 --- a/pr/3734/docs/search.index/632334815eec.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQABoCAAABLxZQHlCgAAAQIBoEAAABtCZTswAAABAAAFAAIA8hIDAJ8cAQABBAGgAAAAHN5kAZQcAAAjhAOgYAAAHUWgQAAAHNthY2WXAQAAhaAAAAAKqaDQAAAd3BEFQPImDQAAAQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/63a2e92d5916.js b/pr/3734/docs/search.index/63a2e92d5916.js new file mode 100644 index 0000000000..8cda4d7c41 --- /dev/null +++ b/pr/3734/docs/search.index/63a2e92d5916.js @@ -0,0 +1 @@ +rn_("AQABsIAfigABZvPBAwAACxgBAAECADswAAABAAAFAAIANB8CAMwfAgDzBgFtOjAAAAEAAAAAAAcAEAAAAMgVzRxyHnMedB6MH40fjh8BBAD0lx4AAAEA2AABAPMAAXTzoRAAAHQLAQDzgANlbXM=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/63aca4d77e7e.js b/pr/3734/docs/search.index/63aca4d77e7e.js deleted file mode 100644 index 95da359f2f..0000000000 --- a/pr/3734/docs/search.index/63aca4d77e7e.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQUAOzAAAAEAAEIAAQDaGkIAI4ACoKAAAB2Ra3MjgAKgEAAAFB9hbwGFAqBwAAAduaAwAAAdJGVzEwCEoEAAABjWoCAAABLLoLAAAB0GEgADOzAAAAEAAAUAAgACDQQADhoAACMAA6BgAAAdYaAwAAAcxmNvcPPlGAAAAQABAAECAbAwGtgAAW47MAAAAQAABgABALkSBgDzgAJvdAECADswAAABAADRAAIAHQ4AAOgR0AATgAKgIAAAGoRudAEIAaBAAAAdnmXyrRwAAJMAIwICsDAa1gABaXA7MAAAAQAA3gACABwOAAAKEd0AI4ADoBAAAA6voEAAABMLb3J1AQMA9eoUAABGBgEA3AEBABOAArAwGzIAAXJ2xyUAAIqwYB1NAC2wUB0UAHKgIAAAD5igsAAAG/ugUAAAEww2wQc7MAAAAQAAJwARAKcKAADTEgQA4BMEAP4TAAAeGgAAIBoAAJIaAACYGgAAJxsAAGcbDADYGwMABhwAAN8cAABIHQAA5B0AABseAAAoHgAA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/63ba6d46cff8.js b/pr/3734/docs/search.index/63ba6d46cff8.js deleted file mode 100644 index 5062abfa6f..0000000000 --- a/pr/3734/docs/search.index/63ba6d46cff8.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYICoJAAAB4CsOAeNgABY3LzAAFr8socAABvAAECAbBwHOQAAWjyvhwAAAEAAQQA80cbAAABAAEAZwEAAIawAB1QAAGgUAAAHWShAAAAHiAYCAc7MAAAAQAADwAGANAKAAAIEwEACxMAAMEUAADVGQgAmxwBAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/63e086b0636e.js b/pr/3734/docs/search.index/63e086b0636e.js new file mode 100644 index 0000000000..4a46cb5cf9 --- /dev/null +++ b/pr/3734/docs/search.index/63e086b0636e.js @@ -0,0 +1 @@ +rn_("AQIA9UkdAAA2Ab4ASwBiAPMAAW8BhhEAABOAA6EAAAAfw7BAG7sAk2hvcAEFADswAAABAAAFAAEAUB0FADOAA7DwH28AQGxzdA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/65440584dc3c.js b/pr/3734/docs/search.index/65440584dc3c.js new file mode 100644 index 0000000000..f9f3ace220 --- /dev/null +++ b/pr/3734/docs/search.index/65440584dc3c.js @@ -0,0 +1 @@ +rn_("AQAA9L8QAAABAJUL4QABCQGggAAAH+FmAQ0fAAAjAAKgIAAAG/ZpdQFiHAAAAQIBsIAfigABZvLMGwAAAQATgAKgoAAAH8VydPOAAmFzY4ADoJAAAB7eZHR2") \ No newline at end of file diff --git a/pr/3734/docs/search.index/654ac27b991e.js b/pr/3734/docs/search.index/654ac27b991e.js deleted file mode 100644 index 6963cd97ec..0000000000 --- a/pr/3734/docs/search.index/654ac27b991e.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQUA86MbAACcAXcAAQABoEAAABukcgHIGgAAJwQAAIegkAAAHiKgQAAAHZ6wcB1gANyhUAAAHj2gUAAAG1gawRD0cxAAAAEAOQyTAAEBAaBQAAAam2sBCQ4AAAEDADswAAABAACpAAIAuxQBANYXpwDzgAJsdPOAAmFl") \ No newline at end of file diff --git a/pr/3734/docs/search.index/65a546411d68.js b/pr/3734/docs/search.index/65a546411d68.js new file mode 100644 index 0000000000..3f209ef04e --- /dev/null +++ b/pr/3734/docs/search.index/65a546411d68.js @@ -0,0 +1 @@ +rn_("AQIAOjAAAAEAAAAAAAkAEAAAAOYO5w7oDukOhQ9XGiIeex7HHtgfIwCEoDAAABCesFAWJwgOoIAAAB1JCEAG9uMOAACOArUE6gAlA2cF") \ No newline at end of file diff --git a/pr/3734/docs/search.index/65a5b91e5028.js b/pr/3734/docs/search.index/65a5b91e5028.js new file mode 100644 index 0000000000..180ba120d2 --- /dev/null +++ b/pr/3734/docs/search.index/65a5b91e5028.js @@ -0,0 +1 @@ +rn_("AQQA86YdAADpAToAAYQCoDAAAB+qoFAAAB/EY3LzAgJjbwH3HgAAAQIBoIAAAB89dAGQEAAAAQEBoJAAAB8McvIKHQAAMADzgAJlaQGCArBAHlgAAaBAAAAeWmRz8wACbnLywAkAAAEAAQIBsLAfjwA6ZjswAAABAAALAAQAphACAMQVAgBgHAEAVh0DANcAAACGoDAAABwxoCAAABQcoDAAABYTGQEGOjAAAAEAAAAAAAgAEAAAAEgBkwsKFoYdhx2IHYkdih1AHg==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/65de58bb98e9.js b/pr/3734/docs/search.index/65de58bb98e9.js new file mode 100644 index 0000000000..7fe4998973 --- /dev/null +++ b/pr/3734/docs/search.index/65de58bb98e9.js @@ -0,0 +1 @@ +rn_("AQgA9FsfAAABAGAAAQABAwGgIAAAHLJl8oYQAADLDfMAAmFzOjAAAAEAAAAAAAwAEAAAANYHtQ7cE1EVZBtlG2Yb1RvXHD8ddx54HscfAQMBsIAfvAABc/J3HgAAAQABAwGgIAAAHLFl8oUQAADLDTMAA7CAH1kAAWFpczowAAABAAAAAAAJABAAAADVB7QOUBVhG2IbYxvUG9YcPh3GH/OAAjQ2") \ No newline at end of file diff --git a/pr/3734/docs/search.index/66303893accc.js b/pr/3734/docs/search.index/66303893accc.js new file mode 100644 index 0000000000..46ba8515f0 --- /dev/null +++ b/pr/3734/docs/search.index/66303893accc.js @@ -0,0 +1 @@ +rn_("AYECsIAfBQBasFAeUgCZYWIjggKgAAAAFBFzdYMAhLBAH54ALbBgG7wAk7BgH78AHAMABfQ8CwAAAQABAKYUAYACoQAAAB/DsEAbuwCTb3ATgQKw8B9vAEBzdAECAaAwAAAbumwBkRAAACOAAoALkIdHY2RuAYACsHAcJQEPsJAdjAEhaGkBAQKgIAAAFgugAAAAFTxlcwHbDgAAI4ACsFAaYwGHYmPXMAAAi6AgAAAO3KEAAAAf7KDQAAAf2LDgHwQAc6BAAAAf5KDQAAAfSwe1CzowAAABAAAAAAAHABAAAADTAxIW0hw4HVUekB+dH6Mf") \ No newline at end of file diff --git a/pr/3734/docs/search.index/6721e4388a92.js b/pr/3734/docs/search.index/6721e4388a92.js deleted file mode 100644 index c3924fcca3..0000000000 --- a/pr/3734/docs/search.index/6721e4388a92.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQcBoEAAAB4EYgGaHQAAE4YCsCAclgABZG0BCQGggAAAHjFmAVcdAAABAwGwcB3QAAFm8xMaAABwAwEAI4ACoCAAABjUYXIBgAKgEAAAFJ+gEAAAGm9uevMAA2l0dfQuDgAAlgERCxwCAQAA9NgbAAABAAEAAQBDgAOgcAAAG8SgAAAAEyNheHkBgAOgUAAAGnCgsAAAHWWwIBQkAAFhbG8BgAOwEBynAAGgEAAAGXqgwAAAHjRzdHUBgAKwoB1GAAGgEAAAGsVjdAGAAqBQAAAbW6AwAAAY02FlAQYBoEAAAB4IYgGcHQAAE4ACoHAAAB1IYWkBAgDzEhoAAJsAdwMTggKg8AAAHjpmZwGAAqCAAAAeGqBgAAAeK2RzE4ACoFAAABp5aXUBBQGwYB3SAAFpAQMdAADzAgFoAZ4UAAABAgGwgB3eAAFm8kUaAAABAFOAA6CgAAAeF3J0dff7AACNsDAdQQABsJAeEgAjj5UPOzAAAAEAAOwAEgDHCgIALgwEAIYOAQAEFAAAuxQBAN8UAADLFQEA1henAKgYAAAyGwEAXBsBAHQbJQClHAAA/RwBACgdAQA3HQEAYx0AACUeAQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/677439cde450.js b/pr/3734/docs/search.index/677439cde450.js deleted file mode 100644 index 3cce33ae21..0000000000 --- a/pr/3734/docs/search.index/677439cde450.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACoFAAABx6oBAAABl8aXQBAAGgEAAAGXtvOzAAAAEAAAYAAwDHDwMA5xIBAJcdAAABgAKwEBzzAAGgIAAAHSVhbxOCArBwHdQAAW1xE4ECoOAAAB4GbHABggKhAAAAHjyg0AAAHilrbROAAqBgAAAc42FrAYECsIAdoQABoIAAAB2jZXcBgAKgAAAAGkygAAAAGk00NiOBAqBwAAAeNGF2AYICsDAc4QABsEAdBwABcHPzAAF089MKAAABAAEAh/kAAIygYAAAHL2hEAAAHh+wYBy+AAGg8AAAHgWwoB1tAAGVtQc7MAAAAQAANwAEAOwKAwD2DQIARA4vAE8bAAA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/67c09928e09d.js b/pr/3734/docs/search.index/67c09928e09d.js new file mode 100644 index 0000000000..7fb36016d4 --- /dev/null +++ b/pr/3734/docs/search.index/67c09928e09d.js @@ -0,0 +1 @@ +rn_("AQUDoJAAAB9zoIAAAB+doKAAAB+FYnN29sgbAADiAs8AAQAdAAEAEwACoQAAAB/ucHQ7MAAAAQAAfwAFAOoOAACLEXoAHRYAAEUcAQB+HgAA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/683907e27532.js b/pr/3734/docs/search.index/683907e27532.js deleted file mode 100644 index 0033238813..0000000000 --- a/pr/3734/docs/search.index/683907e27532.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIAOzAAAAEAANEAAgDJEgAA+BTQAPMAAW07MAAAAQAA0wACAMUKAABYC9IAAQMA9H4YAAABAAEAnQQTAAKgIAAAD5djcjswAAABAACcAD8AEwkQAIUPAACODwEAow8AAL8PAADEEgEAxxIBANESAQDgEgIA+BIBAPsSAgAFEwEADRMAANMUBwDcFAEA5RQAAOoUAADvFAIA9RQAAM4YAQDWGAEA6BgBAPkYAwAXGgQAOxoAAEMaAAB7GggAhRoDAJ0aAAAwGwEANRsFADwbAABCGwIARxsEAFAbAQDFGwEAyBsFANwbBAD2GwEA+xsAAIgcAACaHAAAoRwAAMAcAADPHAAA2xwAAOocAAAKHQAADR0BABYdAgAaHQEARh0BAF8dAABrHQEAbx0BAHMdAACdHQEAuh0BAMUdAADZHQAA5x0DAPQdAQD/HQAA84ACcnc=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/689c9d4c6a13.js b/pr/3734/docs/search.index/689c9d4c6a13.js new file mode 100644 index 0000000000..56e20acc0b --- /dev/null +++ b/pr/3734/docs/search.index/689c9d4c6a13.js @@ -0,0 +1 @@ +rn_("AQQBoEAAAB+gZQF1HwAAAQIAOzAAAAEAAAUAAgA0HwIAzB8CAPMBAW06MAAAAQAAAAAABwAQAAAAyBXNHHIecx50HowfjR+OH/MBAWUBnh0AADMAhKAQAAAbw6AgAAAT+BRABPVdHgAAAQABAAEAAQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/68b9e66636d0.js b/pr/3734/docs/search.index/68b9e66636d0.js new file mode 100644 index 0000000000..19e50e4ac5 --- /dev/null +++ b/pr/3734/docs/search.index/68b9e66636d0.js @@ -0,0 +1 @@ +rn_("AQGEsGAcKgEYgB9iBdAcoLAAAB88oEAAABvxGQAB8gMOAAABAAECAPMVFgAAcwUBAAEAAPWaEAAAAQCxBAEAAQDzgAJkbgEJAaBAAAAfTmXz7h4AAJQAAQABAgGggAAAH5p28kEdAADrAfMDAWUBhxsAAHcAAIGGoCAAABousUAf7wABoEAAABvwETECY4ADoBAAABUvcnR2") \ No newline at end of file diff --git a/pr/3734/docs/search.index/693c815420ed.js b/pr/3734/docs/search.index/693c815420ed.js new file mode 100644 index 0000000000..c4f2d1709d --- /dev/null +++ b/pr/3734/docs/search.index/693c815420ed.js @@ -0,0 +1 @@ +rn_("AYECoAAAABzWoAAAABzXNDYBBAD1ih4AAG4AAQAqAAEAAQQBoAAAAB6NZPI+HgAAAQBnAAABh6CgAAAfkKAwAAAcO6AQAAAfraBgAAAfxbCgH1AAepVQBPR4EAAAQACUDHwBAYECsCAdRQABoCAAAB1HYXMBCADz4BwAAFYBAQD3AACAxaAQAAAb0gABOAg=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/694bdd5fc970.js b/pr/3734/docs/search.index/694bdd5fc970.js deleted file mode 100644 index 84c7315374..0000000000 --- a/pr/3734/docs/search.index/694bdd5fc970.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQABoCAAAB2dcvNMGwAAQAEBAAEIAPQPHQAAAQABAAEAE4ACoDAAABrFY3QzAAOwEBqKAAFucnjzpAMAAJAEAQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/69a0e0a67313.js b/pr/3734/docs/search.index/69a0e0a67313.js deleted file mode 100644 index ab9d2f727a..0000000000 --- a/pr/3734/docs/search.index/69a0e0a67313.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYECoAAAAB4YoAAAAB4ZNDYBBAGgAAAAHPFz82MdAADCAAEAIwGEoQAAAB4ooEAAABy7oIAAAB46FAAGAdIXAACHAQCAhaBAAAAchKBAAAAaPLAQDqsAAQTwAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/69a88fed9475.js b/pr/3734/docs/search.index/69a88fed9475.js new file mode 100644 index 0000000000..eae03ee8de --- /dev/null +++ b/pr/3734/docs/search.index/69a88fed9475.js @@ -0,0 +1 @@ +rn_("AQIA8/YcAAABAAEAE4ACsCAcFwDiYW8BCADzvh4AAFQAAQA3AAABhbBgHkcAAbBgH0cAAaBwAAAelSxABDowAAABAAAAAAAHABAAAAD7E/wTKBUpFaQdpR1kHmUeE4ACsEAV4wU7a24=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/69e499aa955e.js b/pr/3734/docs/search.index/69e499aa955e.js deleted file mode 100644 index 9bf6abac7a..0000000000 --- a/pr/3734/docs/search.index/69e499aa955e.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQcBoEAAAB4EYgGaHQAAE4YCsCAclgABZG0BAwDzExoAAHADAQAjgAKgIAAAGNRhciMAAqAgAAAUn2l0AS4OAAABgAKgcAAAG8SgAAAAEyNheAGAAqBQAAAbW6AwAAAY02FlAQcBoEAAAB4IYgGcHQAAAQUA8xIaAACbAHcDAQUBsGAd0gABaQEDHQAA8wMBaAGeFAAA1zkAAIqgYAAAGnmwMB1BAAGwIBynAAGPFAc7MAAAAQAADAAGAMcKAgAuDAQABBQAAN8UAABcGwEApRwAAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/69fcf351bff0.js b/pr/3734/docs/search.index/69fcf351bff0.js deleted file mode 100644 index 7d0ae3c5f0..0000000000 --- a/pr/3734/docs/search.index/69fcf351bff0.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQEBoEAAAB2eZfKtHAAAkwAjgAKgEAAAGsludgEAAqAwAAAaLLAgHRoA2mFyOzAAAAEAAAgAAgDuEwYA1hoBAAEFAPQKHgAAAQABAAEA84ACZHJnAAAAhaBQAAAb8rBgHQEAw7AACtsCPxQBA/TQGAAA9AIpAZ4A") \ No newline at end of file diff --git a/pr/3734/docs/search.index/6a1132bbbc7c.js b/pr/3734/docs/search.index/6a1132bbbc7c.js new file mode 100644 index 0000000000..a1405bad82 --- /dev/null +++ b/pr/3734/docs/search.index/6a1132bbbc7c.js @@ -0,0 +1 @@ +rn_("AQAAOzAAAAEAAAUAAgAqGgMAaR4BAAEJAPPJHgAAAQABAPMBAnBzOzAAAAEAABAABQCXEAIAQhUCAEsVAABQHQUAbh0DAAGEAqAAAAAfRaBAAAAeTWRl84ACcHIBBQA7MAAAAQAARQABAGccRQABBwGgQAAAH7ViAU0fAAAThQKwIB5WAAFkbVOAA6CgAAAfnGNrcwGAArAgFwsAAbEAH7cAAWV4QwGEoCAAABBuoIAAAB5nsDAXDQABAJADOzAAAAEAABEABwCcCQAA3AkCAKoQAQCHEQMA9xkFAA0aAAAqHgAAM4ADoIAAAB90ZW9yAYECoHAAAB9GoDAAABYmZHQjgAOgQAAAH7OgMAAAFC5hZXIBAQGgMAAAH2B3AYAeAAATgQKwoB9tAAFlaSOAAqBQAAAfiWxy8wACZXT2zgMAADIKAQDyEAEAnQABBQD0fR0AAAEAAQABABOBA6AgAAAaFaCQAAAdm2pscwGDAqBQAAAdkrAwH4AAAWNwAYUCoHAAAB9noDAAAB7aZXMTAAOgQAAAGkigIAAAE+diZXL1dgsAAFkCAQABAAEAIwADoGAAAB8WoDAAAB52Y29wOzAAAAEAAAYAAwAWDwEASw8BAFgaAgABgQOgUAAAHlWgAAAAH4SgsAAAH3JiZHQBAgGwMBxlAAFuOzAAAAEAAAcAAQDUEwcAAQEAOzAAAAEAAOAAAgCmCwAAiA/fAAECADswAAABAAAFAAEAxxwFAPMBAXIBnh4AADMAA6AAAAAc8mVpczowAAABAAAAAAANABAAAAD5E/oTExbyGfMZ9Bn1GcEcSR5KHmIeYx4KHwsfAYACoEAAAB/LoGAAAB/bYXLzAQFzARIWAAABCQD1eB0AAAEAAQABAAEAw4CEsDAaTwABoBAAAA7SBAEF8wCFEUAF8rQDAAABAAEAA6AwAAAQeaAwAAAT4qBAAAAVyWxydwHiAwAAEwACoOAAAB68Y3A7MAAAAQAAJgABALQLJgABAgD0IBQAAAEACAayBAEBADswAAABAAAGAAMAlRABAEgVAgCnHgEAU4CEsFAbwAABsBAeQQABEUACAYACsBAaUgABoAAAAA3qYWdDgAOgUAAAHFiwMB4oASlhaW8BgAKwgB9wAAGwsB+oAAFhbBOEArAgHY4AAXR1AQEAOzAAAAEAAOAAAgDtDgAA9BLfAAEIAaBAAAAfoGUBdR8AAPOAA2d0dgEAAbCAH+gAAXPyVx8AAAEAM4ADoCAAABwMZG50AQUA9zcdAABUAQgAAQDWAAEAAQAjgQKgcAAAHq5tcwEIAaBAAAAfT2XyXB4AAJYAQwIDoCAAAB02sDAcYwABZWlwOzAAAAEAAO4AAgDsDgAABhLtACOAA6AQAAAPh6BAAAAULW9ydQEDADowAAABAAAAAAAMABAAAABrEBsWHBbCHMMc1Ry/HsAehR+SH5MflB+VHxOAA7AwHMQAAaAQAAAUE3J2eAEIAbCAH/EAAXPy4h8AAAEAAYICoAAAAB/GoAAAAB/HNDbzAQFpAXYfAAAjgAKgAAAAHCdycwEGAaBAAAAfsGIBSR8AAPOAA2FlbwEDAbDAH6YAAWnyvRsAAAEAAQIAOjAAAAEAAAAAAAcAEAAAAGYaZxpoGu8bth7GHjIfOR/zgQJmbgGAAqAwAAAeU6AwAAAcIGlvAQsA8+MeAAABAM0A04CEoIAAAB/nEUgAAQUA8zwcAADDAjAAAQABoEAAABX6ZvJDGgAAAQDzgAJldfe/HwDRoCAAABCAgG/+BzowAAABAAAAAACHABAAAAA4AUABQQF1A3YDdwN4A8MDuQm6CbsJvAm9CdAJ0QnSCSwLLQsuCy8LRQtGC0sLkQupC6oLuA65DrsOyw47EWgRaRFqEWsRbBFtEW4RbxFwEXcR8BPxE/IT8xP0E/0TDxQUFBUUFhQXFCQUJRQmFBEVEhUTFRQVFRUvFfAV8RXyFfMVBhoVGh4aHxovGjAaMRoyGmUaghuUG5UbohukG90b4BvtG/Eb+RsUHBscIxw4HEocURxYHF8cuRz9HP4c/xwAHQEdAh0DHQQdBR0GHQcdCB0JHXQddR12HXcdkB2mHS4eLx4wHkseTB5tHm4ebx6OHpUe4x7kHuYe+h4bH1IfUx9UH48frh+xH8kf1x/nHw==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/6a885b439d75.js b/pr/3734/docs/search.index/6a885b439d75.js deleted file mode 100644 index 1232c1623f..0000000000 --- a/pr/3734/docs/search.index/6a885b439d75.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACoAAAABpBoAAAABpCNDYHAQABxaBAAAAd76CAAAAeO6AAAAAdaaAwAAAbLwAkAAs7MAAAAQAADgAHALIUAADuFAAAIRoCAKEaAgCxGgAA0BwCAC4dAgATgAKgEAAAD8VkaQ==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/6a98f9957609.js b/pr/3734/docs/search.index/6a98f9957609.js new file mode 100644 index 0000000000..991a4702ca --- /dev/null +++ b/pr/3734/docs/search.index/6a98f9957609.js @@ -0,0 +1 @@ +rn_("AQsA9CgfAAABAAEAAQABgwKgIAAAH6ygMAAAH7tpcPMAAWby3g4AAHQN84ACZmlDgISwIB7RAHGgMAAAFDqgQAAAHp4AQUg=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/6adca02d4c54.js b/pr/3734/docs/search.index/6adca02d4c54.js deleted file mode 100644 index 039696eadd..0000000000 --- a/pr/3734/docs/search.index/6adca02d4c54.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQcA9P8bAAABAAEAAQABCQD09h0AAAEAAQABADMBA6BQAAAaqmNyc/LRGwAAHQABAwD0fhgAAAEAAQCdBFMAA6AgAAAPl2NydDswAAABAACcAD8AEwkQAIUPAACODwEAow8AAL8PAADEEgEAxxIBANESAQDgEgIA+BIBAPsSAgAFEwEADRMAANMUBwDcFAEA5RQAAOoUAADvFAIA9RQAAM4YAQDWGAEA6BgBAPkYAwAXGgQAOxoAAEMaAAB7GggAhRoDAJ0aAAAwGwEANRsFADwbAABCGwIARxsEAFAbAQDFGwEAyBsFANwbBAD2GwEA+xsAAIgcAACaHAAAoRwAAMAcAADPHAAA2xwAAOocAAAKHQAADR0BABYdAgAaHQEARh0BAF8dAABrHQEAbx0BAHMdAACdHQEAuh0BAMUdAADZHQAA5x0DAPQdAQD/HQAA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/6b292674b28b.js b/pr/3734/docs/search.index/6b292674b28b.js new file mode 100644 index 0000000000..db71c87b87 --- /dev/null +++ b/pr/3734/docs/search.index/6b292674b28b.js @@ -0,0 +1 @@ +rn_("AQABsCAaMwABZfT9GQAAAQABAAEAAYACgBYXABABoEAAAB72Z3MBAgA7MAAAAQAAFAABAG0bFAATgQOgEAAAFBCgIAAAFgpjZW/zgAJhbscAAACFoDAAAB/roBAAAB01oDAAABo1EgEGAcMJAAA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/6b4a010b2c37.js b/pr/3734/docs/search.index/6b4a010b2c37.js deleted file mode 100644 index d5c853bd5c..0000000000 --- a/pr/3734/docs/search.index/6b4a010b2c37.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQMA9DAbAAABANwBAQATgAKwMBsyAAFydkMAhLBgHU0ALbBQHRQAcqAwAAAahBYBADswAAABAAAeAAsA0xIEAOATBAAeGgAAIBoAAJIaAACYGgAAZxsMAAYcAABIHQAA5B0AABseAAAjgAKwEBSzAAFleQ==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/6ba1293c8ba1.js b/pr/3734/docs/search.index/6ba1293c8ba1.js new file mode 100644 index 0000000000..4fd43af17a --- /dev/null +++ b/pr/3734/docs/search.index/6ba1293c8ba1.js @@ -0,0 +1 @@ +rn_("AQABoEAAAB4qYgGfHgAAAQEBoEAAAB/ldPTaHgAAwQARACYAAQQBoSAAAB/qYwEYGgAAAQEBoHAAAB2ebfPUHgAAAQCdAAEGAPV4HQAAAQABAAEAAQABCQD0eR8AAAEAHQABAPOAhUBgggEDAaAAAAAfVXMBxhwAAAEEADswAAABAAAKAAIAAhYHAMkeAgBjAAOgMAAAHmdjZXLy4RwAAAEAAQEBsIAf7wABYQFLHAAAdwEAAIWgMAAAH7sRgQQ6MAAAAQAAAAAAGwAQAAAAygnLCcwJzQnOCaQQYxFkEWURZhE4FDkUKhUrFQMaPRo+Gq0crhyvHLAc7RzuHIgeCR8dH0MfVR8=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/6ba307d83b63.js b/pr/3734/docs/search.index/6ba307d83b63.js new file mode 100644 index 0000000000..dc3da70cf7 --- /dev/null +++ b/pr/3734/docs/search.index/6ba307d83b63.js @@ -0,0 +1 @@ +rn_("AQMA9YYdAAABAAEAAQABABOBAqAgAAAaBmNsAYACoCAAABU1oDAAABoFYWUnAQAAxqAwAAAQh6CAAAAeKaCQAAAedbBgHBkAAcACwAI7MAAAAQAABgADAMoDAgDXBwIAexEAAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/6bda6a25a822.js b/pr/3734/docs/search.index/6bda6a25a822.js deleted file mode 100644 index e299b11af9..0000000000 --- a/pr/3734/docs/search.index/6bda6a25a822.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQUA86MbAACcAXcAAQABoEAAABukcgHIGgAAo4GEoJAAAB4ioVAAAB49CkAQAQoA9EkdAAABAAEAAQABAAA7MAAAAQAAcgABAM8VcgABgQKgMAAAHR6wIB1gANxmdvOAAmVv84ACdHYBAAA7MAAAAQAA1wAFAPoKAACwDtAAsQ8BABsUAgBHFAAAs4AEoCAAABLAZG5wdg==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/6bf53bd5442e.js b/pr/3734/docs/search.index/6bf53bd5442e.js deleted file mode 100644 index b9113f859d..0000000000 --- a/pr/3734/docs/search.index/6bf53bd5442e.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQcA9OEbAAABAAEAAQAjgAKgUAAAGpdjcgEDAqAgAAAaxrAAGK4AAWJ58g8UAAABAAEBAPPQFAAAAQDEAxMAAqAwAAAU92VzAQgJAADzAAF3AdMYAAABAwD0DRQAAAEAygYBAAEEAPOrGAAAAQABAAEAArBgHN8BSaBgAAAc4GZtAbEUAAAHAQCAhaCQAAAc8LAAGp8AAaDQAAAdDLAgG50AWEwgAQGAAqBAAAAc2rAwGKkAAWhsxzkCAI6gMAAAD6agMAAAHc+gMAAAHKywYBjRAAGgcAAAGsegYAAAGmawQBiwAAE3cVs7MAAAAQAAEwAGAJ4DAAAcCAcAuA8BALkSBgCZFAAAaxoAAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/6c385c82fc12.js b/pr/3734/docs/search.index/6c385c82fc12.js deleted file mode 100644 index 2b36eadad1..0000000000 --- a/pr/3734/docs/search.index/6c385c82fc12.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIA8zwQAAABAAEAAQEBoIAAAB0tdQE7EAAAI4ACoBAAABA6MzYBAgD1IRsAAAEAAQABAAEA8wEBaTswAAABAAAIAAIA/g0AADIQBwAjgAKgYAAAGrhldAECADswAAABAABaAAIA/Q0AANgPWQABBwGgQAAAHZ5l8q0cAACTAAEDAPSMGAAAAQABAAEAU4ADsPAd7QABYWtyAQMBoDAAABosYTswAAABAAAIAAIA7hMGANYaAQABAQKgIAAAGlWwIBpWAAFhYvPVDwAAAQABAAGAAqCQAAAdLKAAAAAbn2R284ACbnIBAwA7MAAAAQAABQABAIYYBQAjgAKgMAAAGIVveQECADswAAABAAAFAAIAgB0CABweAgDzCQFtOzAAAAEAAAYAAwA7GwAAwhwCAOEdAgB3bwAAi6AwAAAbU7CAHH0AAZOBjzswAAABAAAWAgQAjAMAAIMENgEcDgAAChHdAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/6e05e8105863.js b/pr/3734/docs/search.index/6e05e8105863.js deleted file mode 100644 index bfce907770..0000000000 --- a/pr/3734/docs/search.index/6e05e8105863.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQEBoJAAAB0JYwHFHAAAI4ECgB4TABABZHQBBQGgUAAAHUNmAQwaAACHAQCAhaCAAAAbtKDQAAAdlqAQAAAJO0GBAQ==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/6eabd50d77cc.js b/pr/3734/docs/search.index/6eabd50d77cc.js deleted file mode 100644 index ecd93b253d..0000000000 --- a/pr/3734/docs/search.index/6eabd50d77cc.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACoAAAABRHoHAAAB0eZG4BAAA7MAAAAQAACAAEAHUOAACLDwIAyw8CAL8dAQBXAAAAh6BAAAAanaAAAAAOjaAwAAAbP6AAAAATGqEgAAAeFxiRAzowAAABAAAAAAARABAAAACgD6YP8BKgFP4Y/xhwGXEZchlzGXQZdRktGsQanBu0G6McrBw=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/6eb4da814d93.js b/pr/3734/docs/search.index/6eb4da814d93.js new file mode 100644 index 0000000000..bd03c45ffa --- /dev/null +++ b/pr/3734/docs/search.index/6eb4da814d93.js @@ -0,0 +1 @@ +rn_("AQIBsAAUCAABc/WXCwAAAQABAAEASREBgAKgAAAAHtawMBo2AAFudAEAhaCQAAAfraBAAAAfFKBAAAAe3aBgAAAfVqAgAAAecZgACvLWGwAAcQABAwGgcAAAH2xoAVQfAAATgAKgQAAAFhplaQGBAqAAAAAfxqAAAAAfxzQ2AQQBoAAAAB6kc/MYHwAAvAABACcAAAGFoQAAAB/XoEAAAB5roIAAAB/qoFAAAB6lFAAWAToZAADDgISgQAAAG8OwEA+DAAEA8AABgAOwABPfCBGgAAAAFeuwEB+GAAFlc3UBBADzFxYAAAEAAQABggKgQAAAHxGgUAAAH5FpciOAArBAH/EAAWdp84ADZ3J0VwcAAIegYAAAHNqwIBQ2BgmBQQv23w4AAHULAQCTAg0AgQIBgAOwEBcNAAGgcAAAHsyAH5kFYAFucnMBAgKwcB/cAAGgcAAAHYNlcjswAAABAAAmAAEAKhsmAFcAAADJoFAAABuToNAAAB+JoEAAABpCsGAf2QAUoFAAAB01oGAAAB+WoIAAAB+aQA2CDjowAAABAAAAAAANABAAAABsC7MLBhQHFO4aKhxaHLEcshxBHUId3B4sH1YfAYACsCAXCwABsQAftwABZXgBAwGgYAAAHZNoOjAAAAEAAAAAAAcAEAAAAPwV/RW7G04cWxxyHXMdgx0jgAKgcAAAHmdlbwEDAaCwAAAfw2zyJxYAAA4IAQABoGAAAB8wYjowAAABAAAAAAAMABAAAACcEHoRTRpOGtcb2BvZG9ob2xvcGyYcmR60HocAAACFsDAaagABoEAAABvCsDAb9AABoKAAAB7MkgADOzAAAAEAAA4AAgDgDgIAbQ8LABOBAqAgAAAUI2VpU4ADoCAAAB8bbG51AQIAOzAAAAEAAAYAAwBuEAAANB8CAMwfAgABggKgkAAAH66g4AAAH+djcgECAPVJHQAANgG+AEsAYgDzAAFvAYYRAAABAAGwQBppAYp08mIPAAABACMAAqBAAAAWFmVzOjAAAAEAAAAAAAoAEAAAAL4JvwlHC0gLSQtKC5IL9A1tEDwdPR0BAAKgwAAAH9GgAAAAHohjc/QPGgAAKwQBAAEAI4ECoEAAAB2bZXIBAAGgAAAAG6FyOzAAAAEAAB8AAgBLGgAA/RoeACOEArCQHyMAAWFl84ACaXYBhAKgsAAAH8WgAAAAHGJhc9OAhLBQH20AAUAgBQGCAqAAAAAfxqAAAAAfxzQ28wUBaQF2HwAAJ/UPAJCgMAAAHlqgcAAAGvygcAAAHzOgUAAAHvWgIAAAG4q/1Q86MAAAAQAAAAAAJwAQAAAAnAncCd0J3gmqEKsQhxGIEYkRihHIFfcZ+Bn5GfoZ+xn8GQ0aFxqPG9AbRBzNHPIcTR1OHSoech5zHnQeeh7lHhcfGR+MH40fjh+ZH+8f8B8=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/6ec3e8af8d1f.js b/pr/3734/docs/search.index/6ec3e8af8d1f.js new file mode 100644 index 0000000000..0c412a2bfb --- /dev/null +++ b/pr/3734/docs/search.index/6ec3e8af8d1f.js @@ -0,0 +1 @@ +rn_("AQIA8/YcAAABAAEAE4ACsCAcFwDiYW8BCADzvh4AAFQAAQA3AAABhbBgHkcAAbBgH0cAAaBwAAAelSxABDowAAABAAAAAAAHABAAAAD7E/wTKBUpFaQdpR1kHmUe") \ No newline at end of file diff --git a/pr/3734/docs/search.index/6f05c0f790f0.js b/pr/3734/docs/search.index/6f05c0f790f0.js new file mode 100644 index 0000000000..62d848ac84 --- /dev/null +++ b/pr/3734/docs/search.index/6f05c0f790f0.js @@ -0,0 +1 @@ +rn_("AQcA8+AcAABWAQEAAYACoCAAAB2joBAAABzmYXNHAACAhqEgAAAf66AgAAAeLaBAAAAeZqDQAAAftqBQAAAe1hjQAWOAA7CQHvgAAWFrcA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/6f3e7801ba05.js b/pr/3734/docs/search.index/6f3e7801ba05.js deleted file mode 100644 index fe6802d4f8..0000000000 --- a/pr/3734/docs/search.index/6f3e7801ba05.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQUA8y4eAAABAAEA8wABdAGJDgAAAQMA8xMeAAABAAEAAQACoEAAAB1coFAAAB3maXL3Ew4AAJEAAQBiDycAAQABAOMAhKAgAAAdXGCAAvJ8HAAADQABAgGgYAAAHKJt8gcUAAABABOAArAwFMoAAW9w8wABcwEnCQAA84ACY24=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/6f414d00e3a0.js b/pr/3734/docs/search.index/6f414d00e3a0.js new file mode 100644 index 0000000000..330e8bfac3 --- /dev/null +++ b/pr/3734/docs/search.index/6f414d00e3a0.js @@ -0,0 +1 @@ +rn_("AQcA9FYdAAABAAEAAQABgAKgoAAAHvagwAAAH0Z0eQEHADswAAABAAAFAAEAUB0FAAGBAqAwAAAbkaBwAAAePWVvAQIBsEAfHwABZQGmHgAAE4ACoEAAAB4ycHIBCQGgAAAAHohz8zoeAAABAAEAAQAA9K0cAAABAAEAAQDzBQFz8vwbAAABAAGCAqCwAAAfZbAQGj0AAWlyl74AAIyg8AAAH9agoAAAHrSg8AAAH3ug4AAAH2YN8Q/y7RoAAHME") \ No newline at end of file diff --git a/pr/3734/docs/search.index/70191b19b0ee.js b/pr/3734/docs/search.index/70191b19b0ee.js new file mode 100644 index 0000000000..c7fc323551 --- /dev/null +++ b/pr/3734/docs/search.index/70191b19b0ee.js @@ -0,0 +1 @@ +rn_("AQkA9bMcAAABAAEAAQABAAEGAPSfHQAAAQABAAEAAQUBsIAf7wABYQFLHAAAI4ACoLAAAB9BbnZzAISgAAAAEKQxAAIBhxAAAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7052bc2e88a4.js b/pr/3734/docs/search.index/7052bc2e88a4.js deleted file mode 100644 index ffea3829e4..0000000000 --- a/pr/3734/docs/search.index/7052bc2e88a4.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQAAOzAAAAEAAAUAAgC5GAMAuRwBAAEJAPMWHQAAAQABAPMBAnBzOzAAAAEAAA0ABACuDwIAGhQAALUbBQDSGwMAI4ACoFAAAB2WcHIBBwGgQAAAHghiAZwdAAAThgKwIBynAAFkbROAAqCAAAAdxm9yAQEBoDAAAB2ydwHOHAAAE4ICsKAdvwABZWkTAAKgUAAAHgdldPMvDQAAAQC2EAGDAqBQAAAb87AwHdQAAWNwAYEDoFAAABymoAAAAB3YoLAAAB3DYmR0I4ACoCAAABTiYXIBAgD0/hIAAAEAuQVtBAEBADswAAABAAAGAAMArA8BABcUAgDzHAEAU4CEsFAaOQABsBAclgABEUACAYQCoCAAABtFoAAAABrLaXkTgAKwIBjfAAFhbwEFAPbcHAAACAABANcAAQABACOBAqBwAAAc+m1zAQcBoEAAAB4EYgGaHQAAAYECoEAAAB2uoGAAAB3gYXIBAgD08RgAAAEAAQB1AfOBAmZuQ4ADsIAeNgABoEAAABylZWxvZ/8AAMywEBjRAAGgQAAAHM+AJ2YHOjAAAAEAAAAAABwAEAAAAC4JLwkwCTEJMglFCaEKogr5DXsQfBB9EJQYpRjBGAAaWRpqGr4ahRyGHIccvRy+HL8cNB2hHaIdox0=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7081a976a308.js b/pr/3734/docs/search.index/7081a976a308.js deleted file mode 100644 index 025e1edf01..0000000000 --- a/pr/3734/docs/search.index/7081a976a308.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQABoGAAAB17YjowAAABAAAAAAAMABAAAACzD4YQ2hjbGE8aUBpRGlIaUxpUGpoa6RwAHYcAAACFsDAY9AABoEAAABo7sDAabQABoKAAAB0ZkgADOzAAAAEAAA4AAgAODgIAlg4LABOAAqAgAAATAWVp") \ No newline at end of file diff --git a/pr/3734/docs/search.index/709bf8afcfe1.js b/pr/3734/docs/search.index/709bf8afcfe1.js deleted file mode 100644 index 9cb644750f..0000000000 --- a/pr/3734/docs/search.index/709bf8afcfe1.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACsEAUzQABsDAS5wABcHUBhISgYAAAHbOgcAAAHcygYAAAHbSgYAAAHbUQAQkTgQKgEAAAHfNjdAEHAaBAAAAeBGIBmh0AABOCA7AgHJYAAbDgHb8AAWRtcwEDAaBgAAAdam/yVhsAAAEAI4ICoCAAABj4Zm53AQAAhbAwG/YAAQSIA/a7CgAAAQBZAv8FuQVtBA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/710ab3b482b1.js b/pr/3734/docs/search.index/710ab3b482b1.js deleted file mode 100644 index 8a8747e257..0000000000 --- a/pr/3734/docs/search.index/710ab3b482b1.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQMA9DAbAAABANwBAQATgAKwMBsyAAFydkcAAACFsGAdTQAtsFAdFAByoDAAABqEoCAAAA+YFkEAOzAAAAEAAB4ACwDTEgQA4BMEAB4aAAAgGgAAkhoAAJgaAABnGwwABhwAAEgdAADkHQAAGx4AAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/71417c280465.js b/pr/3734/docs/search.index/71417c280465.js deleted file mode 100644 index 94802475ad..0000000000 --- a/pr/3734/docs/search.index/71417c280465.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQQBoEAAAB31ZQHHHQAAAQIAOzAAAAEAAAUAAgCAHQIAHB4CAPMBAW06MAAAAQAAAAAABwAQAAAAmhQ7G8IcwxzEHOEd4h3jHfMBAWUB/hsAADMAhKAQAAAaPKAgAAAS2hRABPWuHAAAAQABAAEAAQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/71852a5ddeff.js b/pr/3734/docs/search.index/71852a5ddeff.js deleted file mode 100644 index 8e316cd38a..0000000000 --- a/pr/3734/docs/search.index/71852a5ddeff.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACoEAAAB0qoBAAABP9Y3IBggKgAAAAD4agAAAAD7tlcwEBAaAgAAAac2nymQ8AAAEAI4CEoAAAAA36oDAAABTAoAAAABvoCCAFAYACsEAauQABoEAAABjjbG/HBgAAh7AwGJAAAaBwAAAcf7AwHQcAAReADDowAAABAAAAAAAHABAAAAAkCSUJkAqRChMNFA2tGysd") \ No newline at end of file diff --git a/pr/3734/docs/search.index/718dcad981ac.js b/pr/3734/docs/search.index/718dcad981ac.js new file mode 100644 index 0000000000..493276e47a --- /dev/null +++ b/pr/3734/docs/search.index/718dcad981ac.js @@ -0,0 +1 @@ +rn_("AQMAOzAAAAEAAHsAAgDqDgAAixF6AAEFAaBQAAAdXm8BQxQAAAEDAPOhEAAAdAsBABMAA6AwAAAfDqAgAAAO62FkbwH9AwAAAQIA8woaAAABAAEAAQABsIAfWwABc/NkGwAAAQABAAEDAbCAH7wAAXPydx4AAAEAEwACsIAfWQABaXPzYRsAAAEAAQDzggI0NgEDAPNbGgAAAQAUBAEBAbCAH+gAAXPyVx8AAAEAAQkBsIAf8QABc/LiHwAAAQDziAJkafOAAm5yVwIAAYawUBu3AAGgcAAAHxCgYAAAHtwwIQbyJR4AAAEAAQAA8zILAAABAN4Q84ACc3U3BgCAh6AAAAAe7KAAAAAfS7BAEKIAAQCMFw==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/71fd54f1c664.js b/pr/3734/docs/search.index/71fd54f1c664.js new file mode 100644 index 0000000000..e4a7ad9114 --- /dev/null +++ b/pr/3734/docs/search.index/71fd54f1c664.js @@ -0,0 +1 @@ +rn_("AQEA8/YcAAABAAEAI4ACoSAAAB/TbnQTgAKwIBwXAOJhbwEIAPO+HgAAVAABADcAAAGGsGAeRwABsGAfRwABoHAAABxioHAAAB6VLEAGOjAAAAEAAAAAAAcAEAAAAPsT/BMoFSkVpB2lHWQeZR4=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/721e5b935ee7.js b/pr/3734/docs/search.index/721e5b935ee7.js deleted file mode 100644 index 190cd912ae..0000000000 --- a/pr/3734/docs/search.index/721e5b935ee7.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYECoAAAABuloAAAABumNDYBAwGwgB5AAAFz8jIeAAABAAEDAqBQAAAbPqBwAAAdz2NmAX8QAAAzAAOADnQU4AFsbnPyZAcAAJ8UAQICoFAAAB1ksAAcygBvcnPymxwAAAEAAQ0A9HQdAAABAAEAAQDzAQFi8zIaAAABABADAQMA9v4YAAABAMUB2AAYAO8A84ADYWV1c4CEoEAAABrNAKgB") \ No newline at end of file diff --git a/pr/3734/docs/search.index/72892558810e.js b/pr/3734/docs/search.index/72892558810e.js new file mode 100644 index 0000000000..e34cb5e38d --- /dev/null +++ b/pr/3734/docs/search.index/72892558810e.js @@ -0,0 +1 @@ +rn_("AQUA8zsdAAC2AXMAAQABsEAdPAABcgFUHAAAo4GEoJAAAB/SoVAAAB/tCkAQAQoA9PseAAABAAEAAQABAAA7MAAAAQAAegABABEXegAjgAKwQB8VANdlbwEBAPMVFgAAcwUBAPOAA2Z0dgEAADswAAABAADmAAUApgsAAIgP3wCaEAEATBUCAHQVAACzgASgIAAAE9xkbnB2") \ No newline at end of file diff --git a/pr/3734/docs/search.index/73a374e0ec78.js b/pr/3734/docs/search.index/73a374e0ec78.js deleted file mode 100644 index 1ca0f45521..0000000000 --- a/pr/3734/docs/search.index/73a374e0ec78.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACoCAAABwDoBAAABtSYXMnAACDhaEgAAAeO6BAAAAct6DQAAAeCaBQAAAdIAjQAQEGAPMuHgAAAQABAAEDAPMTHgAAAQABAPMDAnBzAXwcAAABhISgYAAAHbOgcAAAHcygYAAAHbSgYAAAHbUQAQkTgQKgEAAAHfNjdAEHAaBAAAAeBGIBmh0AABOCArAgHJYAAWRtYwADoFAAABj4Y2xw9LsKAAABAFgIuQU3AQAAhqCQAAAc7qAQAAASy4AbJxuBSRApRDowAAABAAAAAAAHABAAAAChD/8TLBouGjwamRwFHd0d") \ No newline at end of file diff --git a/pr/3734/docs/search.index/73ec5f54e0d8.js b/pr/3734/docs/search.index/73ec5f54e0d8.js new file mode 100644 index 0000000000..f0066a9173 --- /dev/null +++ b/pr/3734/docs/search.index/73ec5f54e0d8.js @@ -0,0 +1 @@ +rn_("AQEA9uwVAACqCJcAAQB6AAEAAQ8A9JIfAAABAAEAAQAjgAOg0AAAH5agQAAAHM5hY2XzgAJsbROAhKAgAAAcWqAAAAAT56AAAAALTFEAAg==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7431386dc257.js b/pr/3734/docs/search.index/7431386dc257.js deleted file mode 100644 index 27df2b0499..0000000000 --- a/pr/3734/docs/search.index/7431386dc257.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQABsGAdvwABZQG4GgAAQ4EDsJAdUAABoDAAABpxY25zE4ACsHAb9gABY3MBAwD0eB0AAAEAgwABAAGEArBAHKkAAaBAAAAcq2RzAQAAOzAAAAEAAAYAAwA9GgIAzxoCAAYdAAATgwKgYAAAHRxnckOAA6AgAAAdGaBwAAAb9WVob7cAAACGsHAcigABsAAc2ADOoDAAAB2yHCASOjAAAAEAAAAAABMAEAAAAPEK8grzCjUNNg03DTgNOQ06DTsN2RIGFMAUnRg0G4AckByRHJIczhwBBAGwkB4qABNlAcAaAABTgAOgQAAAG/tkZXIBAQGwEBjeBDV19kcQAAD3DCIApgAZAB0A84ADYWVp") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7472f62ee1a6.js b/pr/3734/docs/search.index/7472f62ee1a6.js new file mode 100644 index 0000000000..5be9906e98 --- /dev/null +++ b/pr/3734/docs/search.index/7472f62ee1a6.js @@ -0,0 +1 @@ +rn_("AQEBoEAAAB9PZfJcHgAAlgAjgAKgEAAAHFZudgEFAPS3HwAAAQABAAEAE4ACsDAezgDRZHJnAAABhaBQAAAdkbBgHrUBDrAAC4YCZRQBA/ZCGgAAHQPJAHgAmwAWAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/755df1057db9.js b/pr/3734/docs/search.index/755df1057db9.js deleted file mode 100644 index 43cdadd667..0000000000 --- a/pr/3734/docs/search.index/755df1057db9.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYgCoEAAAB3/oAAAAB1UZXMBBAGgMAAAHR1j8lAbAAABAAEFADswAAABAAAJAAQA+BsCANMcAwBSHQEAuB0AAAEDAPOhGgAAAQABAPcAAAGFgBjJSQBtFYAC9pMUAAABAHMIAQBlAAEAAQIBoGAAABv0aPfNFAAAAQD0BQwACAEBABAA84ACbnI=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/75746f12e57c.js b/pr/3734/docs/search.index/75746f12e57c.js new file mode 100644 index 0000000000..b332593755 --- /dev/null +++ b/pr/3734/docs/search.index/75746f12e57c.js @@ -0,0 +1 @@ +rn_("AQEBoEAAAB/ldPTaHgAAwQARACYAAQQBoSAAAB/qYwEYGgAAAQEBoHAAAB2ebfPUHgAAAQCdAPOAA29zegEBAbCAH+8AAWEBSxwAAFMAhKBAAAAeZ6AwAAAfuxGBAPSIHgAAgQA6ABIA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/75a717ca582f.js b/pr/3734/docs/search.index/75a717ca582f.js deleted file mode 100644 index 8a53d66ff5..0000000000 --- a/pr/3734/docs/search.index/75a717ca582f.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQQA80cbAAABAAEA8wABZTswAAABAAANAAUA0AoAAAgTAQALEwAAwRQAANUZCAAjgAOgcAAAG6ywAB1OAAFhZWw=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/75b595432da2.js b/pr/3734/docs/search.index/75b595432da2.js deleted file mode 100644 index 2a133b15f3..0000000000 --- a/pr/3734/docs/search.index/75b595432da2.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACoFAAAB3DoHAAAB0VZWmDAgSwYBvvARqw4B4sAAGgAAAAGkRobXN29akPAAABANoAAQBUCBMAArAADSQAAWNzAcUcAAA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/75da1a15bf62.js b/pr/3734/docs/search.index/75da1a15bf62.js deleted file mode 100644 index e0155b7860..0000000000 --- a/pr/3734/docs/search.index/75da1a15bf62.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACoBAAAB1osLAd2gABbnABAwD0Ch4AAAEAAQABACOAA6DwAAAePqAwAAAbXmxveQEEAPMUGgAAAQABACOAArDAHXEAAW10AYEDoBAAAB0MoCAAAByFoCAAABukYWxzAQUDoJAAAB3FoIAAAB3zoKAAAB3ZYnN29kAaAAC2AtcAAQAfAAEAAQEBoEAAAB2IZAG1DwAAI4ACoBAAABtjbnUBgwKgQAAAHe+gAAAAHWllc/MDAWEB6x0AACOAA6BQAAAavKCQAAAd8GFycwEDAbAwHVUAAXTy/BsAAAEAAQQA9a4cAAABAAEAAQABADOAA6AQAAAbPW9ydQECAPRDGgAACAFvAgEA8wABcgEmGwAAAQEA9aUaAAABAAEAAQABAAEAAbBAHboAAWXyfB0AAD0A44CEoDAAABqMCSABAQwA9HQdAAABAAEAAQAjgAOgIAAAHZSgQAAAHOtpdXkBAQDzYBsAAAEAAQABgAKgAAAAHYygAAAAHY00NiOCArBgHioAE3J28wIBZQHAGgAAlwAAgIWhIAAAHiSwEA+kAAGwIBypAAEIoAy38wMAz6BwAAAeI6AgAAAaEaBgAAAbSqBgAAAdH8BOuQ87MAAAAQAA5QBMAAoJAQA3CQAAMwwBAPoNAgAUDgAAGg4AAHUOAACmDgAAgQ8AAIQPAACLDwIAqw8AAMsPAgDSDwAAlxByABgTAAAFFAAAsxQBANAUAQDeFAAA6RQAAOsUAACFGAAAlRgAAAAZAADUGQAA3hkAAB8aAAAyGgEASxoAAFoaAgBmGgAAeBoAAJcaAACfGgEAuRoBAMMaAADIGgAAnhsAAKIbAADhGwMA/xsDAI4cAACYHAAA3hwAAPkcAAABHQAABB0AAAsdAAAtHQAAQx0AAFAdAQBbHQAAXR0BAGYdAAB8HQAAfx0AAIcdAQCSHQEAlh0AAKQdAQCqHQYAsx0CALkdAAC/HQEAxB0AAMkdAADMHQAA0B0BAOAdAADsHQAA8R0BAAkeAAAQHgEAOB4BAEAeAQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/763133acdb41.js b/pr/3734/docs/search.index/763133acdb41.js deleted file mode 100644 index 26af78cb4e..0000000000 --- a/pr/3734/docs/search.index/763133acdb41.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQAAOzAAAAEAAAcAAwA+CAEAuRgDALkcAQABCQDzFh0AAAEAAQDHAAAAhaAAAAAeJ6CAAAAc7qAAAAAajASBQjswAAABAAAgAA0APAEAAH4DBQCuDwIARRAAAP0TAAAMFAAAERQCABoUAADGFAEAtRsFANIbAwDwGwEATh0BAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/763cbd4f9806.js b/pr/3734/docs/search.index/763cbd4f9806.js deleted file mode 100644 index 3d9c599d9f..0000000000 --- a/pr/3734/docs/search.index/763cbd4f9806.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQcBsEAdawABZQHyHAAAAYACsMAdUgABoBAAAB4nYWwBgAKgIAAAHAOgEAAAG1JhcycAAIOFoSAAAB47oEAAABy3oNAAAB4JoFAAAB0gCNABIwADoJAAABzugBsnG4FJbHR585kcAABsANgAI4ADoFAAABsooFAAAB1qcHJ1AYICoAAAABvOoAAAABvPZXMjgAKgYAAAHQVldAECAPUqGwAAAQABAAEAAQAjgAKgcAAAHaBhbwEAAaCQAAAd9Gz1HBoAANwCmAA6ADkAE4ACoCAAABspZG4BgwKgEAAAHX2gsAAAHiFscwEEADswAAABAAAFAAEAyBsFAAEEAaAAAAAcmGTyxxsAAPUA5wsAAYigsAAAHeugYAAAHQSWCQM7MAAAAQAAEQADAKYUCgDTFwIA9h0DAAEAAbBAG8UAAWX1oRQAAAEAAQABAAEAEwACsKAd+gABZ3YBZxoAAPOAAm5vAQMAOzAAAAEAAAUAAgAXGgQAQxsAAAEDAbAwHVUAAXTy/BsAAAEAAQQA9a4cAAABAAEAAQABAPOAAm9yAQIA9aUaAAABAAEAAQABAGcAAACFoHAAAB4joEAAABtesMAd2gABOAAMOjAAAAEAAAAAAA8AEAAAAKsP0g/pFN4ZHxpaGuEb4hvjG+Qb/xsAHAEcAhxbHX8d84ACZHIBgwKgQAAAHcmgYAAAHfFhciOAArBAG1wAAWxvAQKEoEAAAB3voIAAAB47oAAAAB1poDAAABsvkAAGAbIUAAATgAKgYAAAHPBkbvcWAACJoBAAAB4jsAAZnQABFUkTOjAAAAEAAAAAABIAEAAAAOgK6QrqCi4N8A3xDfIN8w1CDkMOtxj2GPcYNho3GlYbVxthHesd") \ No newline at end of file diff --git a/pr/3734/docs/search.index/765ad19acabf.js b/pr/3734/docs/search.index/765ad19acabf.js new file mode 100644 index 0000000000..6e45eeccda --- /dev/null +++ b/pr/3734/docs/search.index/765ad19acabf.js @@ -0,0 +1 @@ +rn_("AQACoRAAAB/RoDAAAB8bZW/y0BsAABUDAQMBoEAAAB+gZQF1HwAAAQYA9LcfAAABAAEAAQAjBAOgUAAAHZGgIAAAHFZjZWnyXx0AANwBAQIA88wfAAABAAEA8w0BbfOMHwAAAQABAAGAAqCgAAAfRLAwHk0Agm5yAQACoBAAABy4oJAAAB8dZWk6MAAAAQAAAAAABwAQAAAAaBDiG+Mb7BtFH2Mflh+aH8c1AACMsCAbsQCXoDAAABr4oFAAABwnoCAAABxYoJAAAB9FoBAAABPmPSwzOjAAAAEAAAAAABUAEAAAAFQLVQtWC84Ntg7dDmwQMxE0Ed8TbBvwG00cah1rHtce2B7ZHjofih+LH+Ef") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7686365e536a.js b/pr/3734/docs/search.index/7686365e536a.js deleted file mode 100644 index 59e74a018c..0000000000 --- a/pr/3734/docs/search.index/7686365e536a.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYICoFAAAB0bsAAY/QF3ZXMBhQKgMAAAHZSgIAAAHWhidSOAAqAgAAAczGlsMwADoCAAAByDYnR1OjAAAAEAAAAAAAgAEAAAAKcOqA6pDqoO5xkSHhoeKx41HgEHAPOOHAAAQgEBAAEEAPT5GAAAAQABAAEAAQMBoGAAAB1mYgGCHAAAdwQAAIigEAAAD7SgkAAAHRqgwAAAHbagoAAAHWc4CQs6MAAAAQAAAAAADwAQAAAA9wr4CtsN3A0ME+QU7BQFGgcaExoUGhUaFhpsGoMdhB0=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/76c5042a149c.js b/pr/3734/docs/search.index/76c5042a149c.js new file mode 100644 index 0000000000..3a76368d93 --- /dev/null +++ b/pr/3734/docs/search.index/76c5042a149c.js @@ -0,0 +1 @@ +rn_("AQMBsIAfvAABc/J3HgAAAQABAwGgIAAAHLFl8oUQAADLDTcAAACFoIAAABwosIAfWQABoIAAAB7fAQkKOjAAAAEAAAAAAA8AEAAAAFECuAPVB7QOLxEmFVAVYRtiG2MbyRvOG9Qb1hw+HcYf") \ No newline at end of file diff --git a/pr/3734/docs/search.index/773ed60b5c8b.js b/pr/3734/docs/search.index/773ed60b5c8b.js deleted file mode 100644 index 4356c0997b..0000000000 --- a/pr/3734/docs/search.index/773ed60b5c8b.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQMAOzAAAAEAAHMAAgAaDgAAlxByAAEFAaBQAAAbw28BIRMAAAEDAPO3DwAA1goBABMAA6AwAAAdWKAgAAAOG2FkbwG/AwAAAQIA85gYAAABAAEAAQABsIAdrAABc/PjGQAAAQABAAEDAbCAHhAAAXPyxxwAAAEAEwACsIAdqgABaXPz4BkAAAEAAQDzggI0NgEDAPPoGAAAAQDXAwEBAbCAHjgAAXPyqB0AAAEAAQkBsIAeQAABc/IyHgAAAQDziAJkafOAAm5yVwIAAYawUBoyAAGgcAAAHVqgYAAAHSowIQbyfRwAAAEAAQABoPAAAB3wbPOOCgAAAQD6D/OAAnN1NwMAgIagAAAAHTuwQA+4AAEAjBY=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/774309ea6cd3.js b/pr/3734/docs/search.index/774309ea6cd3.js new file mode 100644 index 0000000000..793a5246ff --- /dev/null +++ b/pr/3734/docs/search.index/774309ea6cd3.js @@ -0,0 +1 @@ +rn_("AQIBoGAAAB7ldQEoHAAAAQADsEAT4AABoLAAAB73gAnPuknyZXFzOzAAAAEAAAkAAwC/AwEA9QMFAIsLAQABCADzyR4AAAEAAQDTgISwkB8XAAIBcAA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7787814c5f0f.js b/pr/3734/docs/search.index/7787814c5f0f.js new file mode 100644 index 0000000000..28e57d13a1 --- /dev/null +++ b/pr/3734/docs/search.index/7787814c5f0f.js @@ -0,0 +1 @@ +rn_("AQcA9J8dAAABAAEAAQABCQD0oR8AAAEAAgABADMBA6BQAAAcN2Nyc/JtHQAAHgABAwD07xkAAAEAAQDiBFMAA6AgAAAQf2NydDswAAABAACcAEAAogkPAGsQAAB2EAEAixAAAKkQAADgEwEA4xMBAO4TAQD/EwIAGhQBAB0UAgAnFAEALxQAAAIWBwAMFgEAFhYAABsWAQAhFgIAKBYAAEAaAQBIGgAAShoAAFsaAQBwGgMAmxsEAMIbAADLGwAAAxwIAA0cAwDCHAEAxxwFAM4cAADVHAAA2BwBANscBADkHAEAYB0BAGQdBQB4HQQAlR0CAJsdAAAxHgAARh4AAE0eAABUHgAAcB4AAIoeAACaHgAAvR4AAL8eAQDJHgIAzh4BAPgeAQAUHwAAHx8BACMfAQAnHwAATh8BAGgfAQBzHwAAhR8AAJIfAwCfHwEAqx8AAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/778be67f11d8.js b/pr/3734/docs/search.index/778be67f11d8.js deleted file mode 100644 index 3a4cc250fb..0000000000 --- a/pr/3734/docs/search.index/778be67f11d8.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQECsDAdmAABoAAAABCSY3M6MAAAAQAAAAAACQAQAAAAFQ4WDhcOGA4ZDq0O5Bh6HMscKR5DgAOhQAAAHj2g8AAAHY9icnU=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/77904509341f.js b/pr/3734/docs/search.index/77904509341f.js deleted file mode 100644 index 7cc362fbed..0000000000 --- a/pr/3734/docs/search.index/77904509341f.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYgCoEAAAB3/oAAAAB1UZXMBBAGgMAAAHR1j8lAbAAABAAEFADswAAABAAAJAAQA+BsCANMcAwBSHQEAuB0AAAEDAPOhGgAAAQABAPcAAAKFgBjJSQBtFYAC8pMUAAABAAEEADswAAABAAAlAAEAdBslAPOAAmFv") \ No newline at end of file diff --git a/pr/3734/docs/search.index/77bc5621bf62.js b/pr/3734/docs/search.index/77bc5621bf62.js deleted file mode 100644 index 9b8423e102..0000000000 --- a/pr/3734/docs/search.index/77bc5621bf62.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQQA8/sSAAABAAEAAYICoAAAABuloAAAABumNDYjgwOgQAAAG6egQAAAHIZnaXIzAISgsAAAHTywUBTkBSFYAAI6MAAAAQAAAAAACQAQAAAADhMPE8kVyhX7HPwcJh0nHTUdNh0=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/77e2394e54d0.js b/pr/3734/docs/search.index/77e2394e54d0.js deleted file mode 100644 index 2f364e4a77..0000000000 --- a/pr/3734/docs/search.index/77e2394e54d0.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQABoEAAAB3ZZff9CgAAAQDoAgEAGxA0AAEAAQEBoCAAABoRawEAGQAAAYMCoCAAABsmoAAAABpJZHPzgAJjZWOAA6BAAAAdkWVpeQ==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/783c95f34809.js b/pr/3734/docs/search.index/783c95f34809.js deleted file mode 100644 index dbeb472cbb..0000000000 --- a/pr/3734/docs/search.index/783c95f34809.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQ0A9HQdAAABAAEAAQATAAKgYAAAG0pibjowAAABAAAAAAANABAAAAB1DosPjA+ND8sPzA/NDzIaMxqfGqAaQx2/HcAd") \ No newline at end of file diff --git a/pr/3734/docs/search.index/78774c02df7b.js b/pr/3734/docs/search.index/78774c02df7b.js deleted file mode 100644 index 4036d131d4..0000000000 --- a/pr/3734/docs/search.index/78774c02df7b.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYkCoCAAAB4AoDAAAB4OaXATAAKgIAAAHPdlaTswAAABAAAJAAQAzBIEACUTAgCnGwAAPB0AAAEEADswAAABAAAFAAEANRsFAPMCAWU7MAAAAQAACgAFANsSAACBGAMAnRwBALMcAQBVHQEAAYECoEAAAB3/oAAAAB1UZXOTgISwYBqNAAGgAAAAD9QQQGABAAGgMAAAFL108rIbAAABAAGAAqAgAAAc6qAAAAAP03J4xwEAAIWgwAAAHXOgIAAAE+0QCAc7MAAAAQAABgADAIwKAQAvGgIA/BsBAKMAhLBAHgQABKEAAAAeIhIAAzowAAABAAAAAAAHABAAAADGD94S3xI4GsoazBqaHZwd") \ No newline at end of file diff --git a/pr/3734/docs/search.index/78c3a5a08a9b.js b/pr/3734/docs/search.index/78c3a5a08a9b.js deleted file mode 100644 index 3c4c3682e7..0000000000 --- a/pr/3734/docs/search.index/78c3a5a08a9b.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQAAOzAAAAEAAMcAAQBCFscAI4ACoLAAAB40bHQBBAGwMB1tAAFw8tAbAADUAAEEADswAAABAAAlAAEAqxklAPOAAnN0AYkCoIAAAB4roJAAAB41YnUTgAKhoAAAHj9jcgGBAqAAAAAU3qAAAAAYsmRyQ4ADoGAAAB4JoGAAABtBY21w84ACcHg3AgCAhrAgD4gDmrAQHKcAAaAQAAAZehFADg==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/78e7d419fb9c.js b/pr/3734/docs/search.index/78e7d419fb9c.js new file mode 100644 index 0000000000..43a77931a7 --- /dev/null +++ b/pr/3734/docs/search.index/78e7d419fb9c.js @@ -0,0 +1 @@ +rn_("AQQBoFAAAB71ZvIXGgAAeAEBgQKgUAAAHp6wYB7UAAFidvMCAWXykB4AAAEAAQQBoAAAAB6NZPI+HgAAAQAjhgOgoAAAH5CgQAAAHophY2UTgAKwAAnQAAFpeQGCAqAAAAAfxqAAAAAfxzQ28wsBaQF2HwAAQwIDoHAAAB55oHAAAB56YWZ2AUUeAAABAAGgQAAAG5BiASIaAAABAAGgQAAAG8tl9+UOAACYAJEGMQkBAB0AAQDzgAJkcgGCAqBAAAAfnqBgAAAfv2FyE4ACsEAaUgABdHn3AwAAh6BAAAAQbBFJA/M5AQAAUw8BAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/78f3a15dcb24.js b/pr/3734/docs/search.index/78f3a15dcb24.js new file mode 100644 index 0000000000..ec36ee3413 --- /dev/null +++ b/pr/3734/docs/search.index/78f3a15dcb24.js @@ -0,0 +1 @@ +rn_("AYACoFAAAB4ioBAAABr7aXQBAAGgEAAAGvpvOzAAAAEAAAYAAwCyEAMACBQBAEYfAAABgAKwEB6nAAGgIAAAHtthbxOCArBwH4AAAW1xE4ECoOAAAB+ybHABggKhAAAAH+yg0AAAH9hrbROAAqBgAAAekmFrAYECsIAfUgABoIAAAB9UZXcBgAKgAAAAG9SgAAAAG9U0NiOBAqBwAAAf5GF2AYMCsDAekAABsEAeugABcHMBgAKhAAAAH8+goAAAH0plbKf5AACMoGAAAB5tsGAebgABoPAAAB+xsKAfIQABlbUHOzAAAAEAADgABACXCwMAyA4CABgPMADjHAAAAQABoDAAABCPYQHyGwAAY4ADoAAAAAP+a2x0") \ No newline at end of file diff --git a/pr/3734/docs/search.index/792bcd505dba.js b/pr/3734/docs/search.index/792bcd505dba.js new file mode 100644 index 0000000000..d69b10734a --- /dev/null +++ b/pr/3734/docs/search.index/792bcd505dba.js @@ -0,0 +1 @@ +rn_("AQMA9LEeAAABADcAAQABAQD0rx4AAAEANwABABOBAqBAAAAfYmNtAQEA9IEdAAABAKMBAQAjgAKgYAAAH3huegEGAPQ/HwAAAQAdAAEA1wEAAIegYAAAH2GgcAAAH52gYAAAH2MYAQ/y5BsAABMA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7945c421b48f.js b/pr/3734/docs/search.index/7945c421b48f.js deleted file mode 100644 index 2fa9672862..0000000000 --- a/pr/3734/docs/search.index/7945c421b48f.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQAA9DUBAAA8AgEAMQtDAAOgAAAACDygQAAAD784ZW46MAAAAQAAAAAADgAQAAAAKQI9A3wD3Q3eDd8NOhA8ED0QPhDPFA8dEB0RHRId") \ No newline at end of file diff --git a/pr/3734/docs/search.index/794d50c7aea5.js b/pr/3734/docs/search.index/794d50c7aea5.js new file mode 100644 index 0000000000..5cef35248f --- /dev/null +++ b/pr/3734/docs/search.index/794d50c7aea5.js @@ -0,0 +1 @@ +rn_("AQMBsDAfCgABdPKcHQAAAQABBAD1XR4AAAEAAQABAAEA84ACb3IBAgD1MhwAAAEAAQABAAEAM4UDsMAfhgABZWZ1") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7956023ddb39.js b/pr/3734/docs/search.index/7956023ddb39.js new file mode 100644 index 0000000000..83326a1889 --- /dev/null +++ b/pr/3734/docs/search.index/7956023ddb39.js @@ -0,0 +1 @@ +rn_("AQABoCAAABzPZvLCCQAAkhETAISgQAAAHkawABYfBYKgQAAAH+UYAAU7MAAAAQAAUwAVALgIAQBlCwAAihAAACkUAABUFR4ADxcAADoaAABLGgAA/RoeAIobAACOGwAA9hsAADocAADpHAAAgR0BAKseAADaHgAAJR8BAJsfAACsHwAA0h8AACOAArCQHyMAAWFl") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7990e4ed1bb7.js b/pr/3734/docs/search.index/7990e4ed1bb7.js new file mode 100644 index 0000000000..340add28d6 --- /dev/null +++ b/pr/3734/docs/search.index/7990e4ed1bb7.js @@ -0,0 +1 @@ +rn_("AYACoHAAAB/qsJAfUAB6aG8BggKwAB1qAQGgAAAAHWtlcyMAAqBgAAAeuWV0AbocAAABgAKgYAAAHZ6gAAAAH61pcwEDAPW8HAAAAQABAAEAAQABAAGgkAAAH59sOjAAAAEAAAAAAAgAEAAAAKAbhR2sHs0eBB8+H28fdx+vHxOAAqAgAAAcu2RuAQMBoAAAAB6kc/MYHwAAvAABAAEDADswAAABAAAKAAQAZB0FAIoeAAD4HgEAIx8BAPOAAnJ2AQMBsAAeQwBKZPViHQAAAQDbAAEALQATgAKg8AAAH9dsbwGAAqCQAAAfkKBQAAAfZWJsd2cAAIygMAAAHDugYAAAH8WgYAAAHrigUAAAHqWVWRc7MAAAAQAAHgAOAI4LAAB4EAAAuBAAANQVCgA6GQMA/BoAAPMcAQBMHQAAXh0AAMgeAADUHgEAch8AAKEfAQCkHwEA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/79a906d3b8aa.js b/pr/3734/docs/search.index/79a906d3b8aa.js deleted file mode 100644 index be98cbe405..0000000000 --- a/pr/3734/docs/search.index/79a906d3b8aa.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQABoEAAABl5ZQE7HgAAAQUBsHAdvAABaPKhHQAAAQABAQA6MAAAAQAAAAAABwAQAAAAKA0pDSoNKw0sDdUYShoWHvOAAm90AYQCoJAAAB3GsDAcuQABdHUBgQKwQBtZAAGgkAAAHVlhdAEEAPN2GQAAAQABAFcBAICGoIAAABwGoBAAABqMoEAAAB47DAkFAQEA89MKAAABAAEAAQABoFAAABzaYwGZFAAA8wACbHQBMggAAAEEAaBAAAAbRGUBBBoAAAEDAaBAAAAbQ2UBtxgAAAEAxbBgHdIAAaAwAAAUvrBAG00AAbAgEvgAAbBAGN4ENQBAqAgBAx0AAPOAAnJ4AQIBoIAAAB3ydvKoGwAAAQDzAAFlAQYaAAAjgAKwYBo4AJJhcgEEAaAAAAAaA3MBthgAAMcRAACLoIAAABqdsCAODAy6oHAAABtToCAAAA3poLAAAB0BoIAAABuisAAYrgABPwxM9qIDAACOBJYKSQEBAPwIAYACsBAdAQDDoCAAABQVZW8TgAKgAAAAGrxoa7ccAICJoQAAAB19doY2XlNqoLAAAByVDDwH") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7a35b6211160.js b/pr/3734/docs/search.index/7a35b6211160.js deleted file mode 100644 index 32b0e97573..0000000000 --- a/pr/3734/docs/search.index/7a35b6211160.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYACoAAAAA3ioAAAAA3jNDYBgAKwIB1iAAOxMB4sAAFidCOAA6AgAAAc8KAAAAAN4GlveAEIAaBwAAAeI2QBWx0AABOAAqBgAAAcmWNlAQYA8y4eAAABAAEAAQMA8xMeAAABAAEA8wUCcHMBfBwAAAEDAPQkGgAAAQABAG8DAQEBsIAeOAABc/KoHQAAAQABCQGwgB5AAAFz8jIeAAABAPOBAmRpAQMAOzAAAAEAAAkABAAhGgIAsRoAANAcAgAuHQIAdxgAA4mwMBonAAGgQAAAGolDhbDttbegYAAAG9DLUQI7MAAAAQAACAAEAJQPAgDPDwIA6hkAAIocAQABgISwYB2SAAGwMBz7AAGwMBz9AAGgcAAAHfMIAAcjBAOgkAAAHcWgoAAAHdlic3b2QBoAALYC1wABAB8AAQDXCAAAyKCgAAAdpqBAAAAPu6AQAAAN4bBwHJ8AAUAAkQ/0OgEAAAEAOw1LDg==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7a3891757c77.js b/pr/3734/docs/search.index/7a3891757c77.js new file mode 100644 index 0000000000..3393d78c44 --- /dev/null +++ b/pr/3734/docs/search.index/7a3891757c77.js @@ -0,0 +1 @@ +rn_("AQAAOzAAAAEAANYAAQCMF9YAI4ACoLAAAB/kbHQBBAGwMB8hAAFw8mwdAADjAAEEADswAAABAAAmAAEAKhsmAPOAAnN0AYkCoIAAAB/aoJAAAB/mYnUTgAOgcAAAHoGhoAAAH/BjaXIBgQKgAAAAFg6gAAAAGiJkckOAA6BgAAAftqBgAAAc1GNtcPOAAnB4NwIAgIawIBBvA9WwEB5WAAGgEAAAGvkRQA4=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7a4c1b3c12e5.js b/pr/3734/docs/search.index/7a4c1b3c12e5.js deleted file mode 100644 index 5bd450e080..0000000000 --- a/pr/3734/docs/search.index/7a4c1b3c12e5.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQACoGAAABrDoDAAABLvYnTzmQoAAAEAmhMBgAKgUAAAGsKg8AAAHgNzdBOAAqCwAAAdiWV0AYACoLAAAB2xoCAAAB40Y3QTgAKgoAAAHTlhaQGBAqCwAAAdiKCwAAAeKXJ4AQIBoDAAABo1bAGoDwAAI4ACoAAAABnmZG4BgQKgUAAAG52gMAAAHYdsbhOAAqCQAAAc+WhpAYACoEAAABn/oBAAAA4IYXUBgAOgUAAAGmSgIAAAFAugcAAAG5xiY3Z31QAAzKDAAAAdZKEAAAAePKDgAAAdyqCwAAAdOsBJ7QH1mAMAAEoRXQZnAU0B") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7a6415f99c88.js b/pr/3734/docs/search.index/7a6415f99c88.js deleted file mode 100644 index c43b6fdafe..0000000000 --- a/pr/3734/docs/search.index/7a6415f99c88.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQQBoAAAABzeZAGUHAAAI4UDoGAAAB1FoEAAABzbYWNlE4ADsFAbvwABoAAAAAqvY3N0AQIA8wsdAABSAAEAIwACoHAAABtKZHTzOgkAAIMBNwBnAACAhqAQAAAN+aBgAAAaC7CgHWIAA7AACUMAARHBQA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7a73031bd370.js b/pr/3734/docs/search.index/7a73031bd370.js new file mode 100644 index 0000000000..1a134a8e97 --- /dev/null +++ b/pr/3734/docs/search.index/7a73031bd370.js @@ -0,0 +1 @@ +rn_("AQcA9H0dAAABAAEAAQAjgAKgUAAAHCBjcgEDAqAgAAAcUrAAGh4AAWJ58kAVAAABAAEBAPP/FQAAAQAHBBMAAqAwAAAWKmVzAZgJAADzAAF3AUUaAAABAwD0PhUAAAEAJgcBAAEEAPMbGgAAAQABAAEAArBgHo4BSaBgAAAej2ZtAd8VAAABAgDzJRwAAA8BYADDgISgkAAAHqOwABwsAAEMIAEBgAKgQAAAHomwMBoZAAFobMc5AgCOoDAAABCPoDAAAB97oDAAAB5bsGAaQwABoHAAABxToGAAABvssEAaIAABN3FbOzAAAAEAABUABgDaAwAAlwgIAKIQAQDUEwcAxxUAAPIbAAA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7b5a60782541.js b/pr/3734/docs/search.index/7b5a60782541.js deleted file mode 100644 index b4a5340a90..0000000000 --- a/pr/3734/docs/search.index/7b5a60782541.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIA85gYAAABAAEAAQABsIAdrAABc/PjGQAAAQABAAEDAbCAHhAAAXPyxxwAAAEAEwACsIAdqgABaXPz4BkAAAEAAQDzggI0NgEDAPPoGAAAAQDXAwEBAbCAHjgAAXPyqB0AAAEAAQkBsIAeQAABc/IyHgAAAQDziAJkafOAAm5yVwIAAYawUBoyAAGgcAAAHVqgYAAAHSowIQbyfRwAAAEAAQABoPAAAB3wbPOOCgAAAQD6DwEBA7BQHZ8ARrAgFJIIVKBwAAAdkWNrbPMKFAAAhQZIAvOAA2VzdQ==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7b8750917acf.js b/pr/3734/docs/search.index/7b8750917acf.js new file mode 100644 index 0000000000..342609d960 --- /dev/null +++ b/pr/3734/docs/search.index/7b8750917acf.js @@ -0,0 +1 @@ +rn_("AQMA9EkeAAABAMAAAQDzAgF09bQbAAABAAEA5gEBABOAAqBQAAAc52FvAQUA89ceAAABAAEAAQIA9V0eAAABAAEAAQABAPOBAm11AYACoEAAABy5oFAAABxaY2lzAISgEAAAHM8BQAkB5xwAAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7b9a10af5d7a.js b/pr/3734/docs/search.index/7b9a10af5d7a.js new file mode 100644 index 0000000000..eca16b22f8 --- /dev/null +++ b/pr/3734/docs/search.index/7b9a10af5d7a.js @@ -0,0 +1 @@ +rn_("AQMBoEAAABzYZQEoGgAAAQDGsGAffgABoCAAABP9oDAAABXssEAc4QABsCAUGgABsEAaUQR0AECpCPOHCwAAXgLSEFMAA7BQH4YAAXJzePLvDgAAAQA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7bb28df50624.js b/pr/3734/docs/search.index/7bb28df50624.js deleted file mode 100644 index 05c49ea755..0000000000 --- a/pr/3734/docs/search.index/7bb28df50624.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQQAOzAAAAEAAAUAAQA1GwUA8wIBZTswAAABAAAKAAUA2xIAAIEYAwCdHAEAsxwBAFUdAQABgwOgUAAAG5ugMAAAHcugoAAAHYdjZHABBgGgsAAAHhtm8tIaAAABACOAArAQHU4AAXJzAYACoGAAAB3zoDAAABpsb3IBAwD2/RwAAAEAKgABAA4AAQABAQD2+xwAAAEAKgABAA4AAQATgQKgQAAAHbRjbQEBAPTlGwAAAQCLAQEAQ4ADoJAAABz2oGAAAB3MZ256AQUCoGAAAB1hoDAAABzGY3Dz5RgAAAEAAQATgAKgUAAAHbNueAEGAPaSHQAAAQARAAEACgABAPcDAACHoGAAAB21GAEP94sOAAABANELEwA8ANgB4AABgAKgEAAAFB+gsAAAHZFhbyMAAqBAAAAU6mV0AacKAAABBAGgIAAAG+hzATQaAABDAISgMAAAGl+gUAAAGpmwMB1tAAFFgAA7MAAAAQAAGAAIAAAOBAB4DgwAORoBAEEbAADQGwAAohwAAKQcAADgHAAAI4ECoDAAABTMaXMBAwGgYAAAHKRt854YAAABAAEAI4ACoKAAAB0/Y3DjgISg4AAAHiARAUABAgD05xwAAAEA2QABABOAAqBgAAAacm9yAQUAOzAAAAEAAHMAAgB6GgAABxxyAIOAhKBQAAAc5rBQGo0AAaAgAAAeDwBEDAGJAqCAAAAeK6CQAAAeNWJ1E4ICoaAAAB4/Y3IBAgA7MAAAAQAABQACAAITAgC+GAIAAQIA8+QYAADnA14B8wEBbwGRHQAAE4ACsNAdkABzbXIBgAOgQAAAHf+gIAAAFOWgAAAAHVRlcnODgISgMAAAHX+AHQsFIAGwoBz1AAoMIAEBgAKgAAAAGkGgAAAAGkI0NvMCAXYB7hQAABMAAqAwAAAURmRsOzAAAAEAAKgAAgCUAwAAZwenAFf7KgDSoJAAAB3FoHAAABuuoHAAAB2xoIAAABzNoKAAAB3ZoAAAAA/UwGS3fzowAAABAAAAAAAfABAAAAA5AzoDOwMzCTQJowqkCqUKpgrmCh4NIg2HD/oSEBMRExITExPcGN0YQBqkG+gb9hx0HXUddh13Hc0dzh3tHe4d") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7c33c77ce4c5.js b/pr/3734/docs/search.index/7c33c77ce4c5.js deleted file mode 100644 index fe73d28947..0000000000 --- a/pr/3734/docs/search.index/7c33c77ce4c5.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIAOzAAAAEAABQABQB7GggAhRoDAMUbAQDcGwQAcx0AAAEAAaBAAAAbS2U7MAAAAQAACQAEAKodAwAQHgEAOB4BAEAeAQATgAKgUAAAG+dkc1OAA6DgAAAeJGVvcg==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7c4c2565aca7.js b/pr/3734/docs/search.index/7c4c2565aca7.js new file mode 100644 index 0000000000..305caf79f8 --- /dev/null +++ b/pr/3734/docs/search.index/7c4c2565aca7.js @@ -0,0 +1 @@ +rn_("AYACoFAAAB4ioBAAABr7aXQBAAGgEAAAGvpvOzAAAAEAAAYAAwCyEAMACBQBAEYfAAABgAKwEB6nAAGgIAAAHtthbxOCArBwH4AAAW1xE4ECoOAAAB+ybHABggKhAAAAH+yg0AAAH9hrbROAAqBgAAAekmFrAYECsIAfUgABoIAAAB9UZXcBgAKgAAAAG9SgAAAAG9U0NiOBAqBwAAAf5GF2AYICsDAekAABsEAeugABcHPzAAF0834LAAABAAEAAYACoQAAAB/PoKAAAB9KZWyn+QAAjKBgAAAebbBgHm4AAaDwAAAfsbCgHyEAAZW1BzswAAABAAA4AAQAlwsDAMgOAgAYDzAA4xwAAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7c7d8fb6c701.js b/pr/3734/docs/search.index/7c7d8fb6c701.js deleted file mode 100644 index c5cd55200b..0000000000 --- a/pr/3734/docs/search.index/7c7d8fb6c701.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQMA9AoeAAABAAEAAQATgAKgMAAAG15veQEDAbAwHVUAAXTy/BsAAAEAAQQA9a4cAAABAAEAAQABAPOAAm9yAQEA9aUaAAABAAEAAQABABOAAqAAAAAbJm5yxwIAAMigUAAAHOugcAAAHiOgkAAAHWmwwB3aAAGgYAAAHR+ATgAOOjAAAAEAAAAAAB8AEAAAAIEPhA+rD9IP6RTeGR8aWhpbGlwaZhp4Gp4b4RviG+Mb5Bv/GwAcARwCHAsdWx1dHV4dfx2IHZYdtR3MHewd8h0=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7c8f7c2a6c41.js b/pr/3734/docs/search.index/7c8f7c2a6c41.js deleted file mode 100644 index 036f2e500c..0000000000 --- a/pr/3734/docs/search.index/7c8f7c2a6c41.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQABoDAAAB1nbwEzHQAAAQIA8xweAAABAAEA8w0BbfPhHQAAAQABAAGAAqCgAAAdlaAwAAAcoW5yAQABoJAAAB1paTowAAABAAAAAAAIABAAAACBD1saXBpmGogdlh21Hewd8h3zAIQ4AAI6MAAAAQAAAAAACAAQAAAA5A3BGiEdIh0jHYod3h3fHTEe") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7ca3cfa04b54.js b/pr/3734/docs/search.index/7ca3cfa04b54.js deleted file mode 100644 index 2649dbdcd1..0000000000 --- a/pr/3734/docs/search.index/7ca3cfa04b54.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQkA9PYdAAABAAEAAQDzBQFj8tEbAAAdAAEBAPQPHQAAAQABAAEA84ACM2UBggKgAAAAHhigAAAAHhk0NvMLAWkByB0AAAEAArDAHboAAbBgHY8ATWVyOzAAAAEAAA0ABADXCgMAyBQBAJMaAwBJHQMAE4ACsFAY8AF1aHIBAAGggAAAHiB18q8bAAABAAGBhKBQAAAayKAwAAAd5rDQHdYAAaBQAAAc6QQYAgEFAPR0HQAAAQABAAEAAQcBoEAAAB31ZQHHHQAAAYECsFAcygBvoFAAABysaWwBBAGgAAAAHPFz82MdAADCAAEAIwSEoQAAAB4ooEAAABy7oIAAAB46FAAGAdIXAAABAgA7MAAAAQAAFAAFAHsaCACFGgMAxRsBANwbBABzHQAAI4ACoOAAAB4kb3JjAAOwAB2HAIJkcnP2mhsAAAEAAgBYAPkADAABCQGgQAAAHg90AYUdAAABgAKgEAAAG6ygYAAAHMlkdPf4AwDOsDAY6gABoEAAAB1coFAAABzZwGymizswAAABAADGAB8AmQMEAJ8DAgAbCAAA+QoAABMOAAAbDgAApA4BAKsOAQCSDwEAmw8BAKcPAAC2DwAAQRABAEYQAACBEAAAwhIAAMsSAAAAEwEAJBQBAEkUSAChFAQA5hQCAF4aAABgGgMAcxoAAL0aAADJGgAA2hpCACEbBAAHHgAALB4EAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7cd383e63a51.js b/pr/3734/docs/search.index/7cd383e63a51.js new file mode 100644 index 0000000000..48d75c5cf1 --- /dev/null +++ b/pr/3734/docs/search.index/7cd383e63a51.js @@ -0,0 +1 @@ +rn_("AYADoFAAAB59oFAAAB5+sRAfuQABY29yAQcBsEAfHwABZQGmHgAAAYACoFAAABy6oFAAAB8ecHUBggKgAAAAHWqgAAAAHWtlcyOAAqBgAAAeuWV0AQMA9bwcAAABAAEAAQABAAEAAaCQAAAfn2w6MAAAAQAAAAAACAAQAAAAoBuFHawezR4EHz4fbx93H68fE4ACoCAAABy7ZG4BBAA7MAAAAQAABQABAGQdBQABBAGgAAAAHkNk82IdAAABAAkB9wIAAYagYAAAHrgUCQM7MAAAAQAAEwAFANQVCgA7GQIA8xwBAKEfAQCkHwEAAQABsEAdYAABZfXPFQAAAQABAAEAAQATAAKwoB+mAAFndgHuGwAA84ACbm8BAwA7MAAAAQAABQACAJsbBABUHgAAI4ACsAAbowA+ZHLnAgAChrBQHPAAAbAAGxwAARRBEjswAAABAAALAAUAwg4DABQPAQBsGgEAvRsBAOocAQCjAISgQAAAHp+gQAAAHqASCALyAgQAAPYW") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7d412a1e4e42.js b/pr/3734/docs/search.index/7d412a1e4e42.js deleted file mode 100644 index 579b44ce51..0000000000 --- a/pr/3734/docs/search.index/7d412a1e4e42.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQMA9J0cAAABALcAAQDzAgF09S8aAAABAAEAywEBABOAAqBQAAAbU2FvAQUA8yEdAAABAAEAAQIA9a4cAAABAAEAAQABAPOBAm11AYACoEAAABsnoFAAABrNY2lzAISgEAAAGz0BQAkBUxsAAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7d9ee2ebbf12.js b/pr/3734/docs/search.index/7d9ee2ebbf12.js deleted file mode 100644 index 0595b99c2c..0000000000 --- a/pr/3734/docs/search.index/7d9ee2ebbf12.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQAA9LMDAABYEN0FAQABgAOgIAAAHAOgUAAAHKKgEAAAG1JhZXMBgwKgcAAAHViggAAAHX9jcwEIAbBQHQIAfGMBqxoAAAEAAaBAAAAbQmU7MAAAAQAABQACAPISAwCfHAEAAQMA9v0cAAABACoAAQAOAAEAAQEA9vscAAABACoAAQAOAAEAE4ECoEAAAB20Y20BAQD05RsAAAEAiwEBACOAAqBgAAAdzG56AQYA9pIdAAABABEAAQAKAAEA1wEAAIegYAAAHbOgcAAAHfOgYAAAHbUYAQ/0XRoAABMAPADYAQGAAqAAAAAaQaAAAAAaQjQ28wMBdgHuFAAAlwAAAMegkAAAHcWgcAAAHbGggAAAHM2wIB1OAAGgoAAAHdnAAAIPOzAAAAEAAA8ABwAQEwMA3BgBAEAaAAD2HAAAdB0DAM0dAQDtHQEAAQABoCAAABTxcvLwGAAAdQEBAAKgMAAAHZSgIAAAHWhidfVLGgAAeAA2AjQAOQDXAQCAhaEAAAAd3AgIRQGAAqAwAAAavqEQAAAeO2Vp9xEAAIqgQAAAHLeg0AAAHgmgUAAAHSCgEAAAGf+40Av2Hw0AAAEA5wYBALQGEwM=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7e2161d888a1.js b/pr/3734/docs/search.index/7e2161d888a1.js deleted file mode 100644 index cb657e12d7..0000000000 --- a/pr/3734/docs/search.index/7e2161d888a1.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQMA9ekbAAABAAEAAQABABOBAqAgAAAYlGNsAYACoCAAABQDoDAAABiTYWUnAQAAxqAwAAAPn6CAAAAcgKCQAAAcxbBgGpAAAcACwAI7MAAAAQAABgADAI8DAgBcBwIAhxAAAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7e3bee3ae8c2.js b/pr/3734/docs/search.index/7e3bee3ae8c2.js deleted file mode 100644 index 50cca3e9c6..0000000000 --- a/pr/3734/docs/search.index/7e3bee3ae8c2.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQIA9cISAACeBwEAAQABAAGAAqAAAAAPhLAwGM4AAWRyAYMCoEAAABzsoEAAABztYmznAAABh7AQD4MDkrAADiMAAbAgEsECNaAwAAAZbhYBGjswAAABAAAKAAIAwQoCAP8KBwA=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7e3c46663689.js b/pr/3734/docs/search.index/7e3c46663689.js deleted file mode 100644 index 3c3819a744..0000000000 --- a/pr/3734/docs/search.index/7e3c46663689.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQCFoJAAAB4BoEAAAB1foEAAAB0roGAAAB2noCAAABzBmAAK8k4aAABtACMBAqBgAAAbRmhz9Q0OAADUCgEAcgILAAECAbBQHQIAfGMBqxoAAPOAAm5z") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7e7be72c5036.js b/pr/3734/docs/search.index/7e7be72c5036.js new file mode 100644 index 0000000000..91a6d390e3 --- /dev/null +++ b/pr/3734/docs/search.index/7e7be72c5036.js @@ -0,0 +1 @@ +rn_("AQMA9MIcAAABAPwBAQATgAKwMBzEAAFydkcAAACFsGAe/wAwsFAexgBzoDAAABwMoCAAABCAFkEAOzAAAAEAAB4ACwDwEwQAERUEAKIbAACkGwAAGxwAACMcAAD9HAwAph0AAPoeAACPHwAAyR8AAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7ef336501cc3.js b/pr/3734/docs/search.index/7ef336501cc3.js deleted file mode 100644 index 2eba8f4778..0000000000 --- a/pr/3734/docs/search.index/7ef336501cc3.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AQGEoGAAABupgB20AsARoLAAAB2OoEAAABpqGQAB8jINAAABAAEBAPWxDwAAAQBpBAEAAQABCQGgQAAAHZ1l8z0dAACZAAEAAQIBoIAAAB3ydgGoGwAA8wMBZQEGGgAAdwAAgYagIAAAGL2hQAAAHj+gQAAAGmkRMQJjgAOgEAAAE/5ydHY=") \ No newline at end of file diff --git a/pr/3734/docs/search.index/7f955f983101.js b/pr/3734/docs/search.index/7f955f983101.js deleted file mode 100644 index e2e5272718..0000000000 --- a/pr/3734/docs/search.index/7f955f983101.js +++ /dev/null @@ -1 +0,0 @@ -rn_("AYkCoCAAAB4AoDAAAB4OaXATAAKgIAAAHPdlaTswAAABAAAJAAQAzBIEACUTAgCnGwAAPB0AAIMChLBAHgQABKBAAAAc6qEAAAAeIhIAA/bGDwAAcgqSAAIAzgICAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/desc/3b49c0a87929.js b/pr/3734/docs/search.index/desc/3b49c0a87929.js deleted file mode 100644 index 5aefd48965..0000000000 --- a/pr/3734/docs/search.index/desc/3b49c0a87929.js +++ /dev/null @@ -1 +0,0 @@ -rd_("AbIP based addressesAbIP based transport1BnConfigures the endpoint to use the n0 defaultsnprivate marker00oA QUIC EndpointAlThe endpoint\xe2\x80\x99s identifier.AoGet the identity of this stream0BiReturns the endpoint id of this endpoint.2CiReturns a watcher that updates every time this or the \xe2\x80\xa6BmApplication layer added the address directly.BcError when decoding the public key.0AoThe largest representable valueBkPublic internet address discovered via QAD.lDNS over TCPlDNS over TLSBoAn endpoint communicated with us first via UDP.lDNS over UDPBfAdds a Discovery service.ClPkarr based endpoint discovery for iroh, supporting both \xe2\x80\xa6BlSets whether to publish to the Mainline DHT.AnWhich directions data flows inCiThis module exports a DNS resolver, which is also the \xe2\x80\xa6AoDNS endpoint discovery for irohCiImplementation of a DNS name server for iroh endpoint \xe2\x80\xa6AjConfig for the DNS server.lDNS resolverBeExplicit congestion notification bitsClUpdates the watcher to the latest value and returns that \xe2\x80\xa6AoReturns the config for a relay.0BeThe amount of I/O operations executedBoReturns the number of relays in this relay map.BjReturns the number of services configured.AlReturns the number of paths.2CiMaps this watcher with a function that transforms the \xe2\x80\xa6DhCreates a new EndpointAddr with no network level addresses.C`Creates a new SignatureError error.CdCreates a new RelayUrlParseError error.DiCreates a new EndpointData with a relay URL and a set of \xe2\x80\xa6E`Creates a new EndpointInfo with an empty EndpointData.DjCreates a new DiscoveryItem from a EndpointInfo.AeCreates a new client.BhCreates a new static discovery instance.CkCreates a new DNS resolver with sensible cross-platform \xe2\x80\xa6CgCreates a new RemoteEndpointIdError error.DgCreates a new Builder using the given Preset.CmCreate a default config with a particular handshake token \xe2\x80\xa6BcInitializes new connection options.BkConstruct an error with a code and a reasonAeCreate a new StreamIdCoCreates a new router builder using given Endpoint.BfCreate a new AccessLimit.ChCreates a new MaxLengthExceededError error.DhCreates a new EndpointAddr with no network level addresses.C`Creates a new SignatureError error.CdCreates a new RelayUrlParseError error.AhCreate a new zone store.ClCreate a DNS server given some settings, a connection to \xe2\x80\xa6ClCreates a new ping tracker, setting the ping timeout for \xe2\x80\xa6BgCreate a new ClientBuilderCmCreate a new QuicClient to handle the client side of QUIC \xe2\x80\xa6C`Creates a new StaggeredError error.CkCreates a new DNS resolver with sensible cross-platform \xe2\x80\xa6DiCreates a new EndpointData with a relay URL and a set of \xe2\x80\xa6;E`Creates a new EndpointInfo with an empty EndpointData.CcCurrent best estimate of this paths\xe2\x80\x99s latency \xe2\x80\xa6ChCurrent best estimate of this connection\xe2\x80\x99s latency \xe2\x80\xa60BgRun DNS and Pkarr servers on localhost.BgTLS configuration for the HTTPS server.CbSets the TTL (time-to-live) for published packets.C`Sets the time-to-live value for the DNS packets.BbThe origin of this direct address.C`Returns this frame\xe2\x80\x99s corresponding frame type.D`The RelayUrl where this relay server can be dialed.0CjState-specific data stored in the Connection.AaAccess is denied.AoName of this discovery service.AoWe received a ping on the path.CkMessages with these frames will be ignored. 8 byte ping \xe2\x80\xa6ClRequest from the relay to reply to the other side with a \xe2\x80\xa6CiRequest from the client to the server to reply to the \xe2\x80\xa6Ce8 byte payload, the contents of ping being replied toDiReply to a ClientToRelayMsg::Ping from a client with the \xe2\x80\xa6DiReply to a RelayToClientMsg::Ping from a server with the \xe2\x80\xa6B`An error occurred during readingCeWhether an endpoint was the initiator of a connectionDjReturns the current EndpointAddr. As long as the endpoint \xe2\x80\xa6lThe address.CjExtracts the ALPN protocol from the peer\xe2\x80\x99s handshake \xe2\x80\xa60000AiBinds the magic endpoint.DdConstructs a default Endpoint and binds it immediately.AhMode for getting a cert.mType of errorBkCurrent congestion window of the connectionBmThe information published about the endpoint.00AoReturns the argument unchanged.00000000CmCreates a RelayMap from a RelayUrl.111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111BcHTTP server part of iroh-dns-serverAjConfig for the HTTP serverChHTTP-specific constants for the relay server and client.BnPerform the initial load and construct the \xe2\x80\xa6BaCalls U::from(self).0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000BiEnable ipv4 QUIC address discovery probesBiEnable ipv6 QUIC address discovery probesAnPeer-to-peer QUIC connections.BhReturns an iterator over the path infos.CeReturns an iterator over all the relays and their \xe2\x80\xa6C`Returns an iterator over all encountered errors.ClReturns an iterator over the character strings contained \xe2\x80\xa6AlLoad the config from a file.CiA discovery service that uses an mdns-like service to \xe2\x80\xa6AkCaptured call-site metadata000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000CiThe name of the discovery service that discovered the \xe2\x80\xa6CcThe name of the application that added the endpointCeMethod for opening a sealed message dataClReturns a reference to the value currently stored in the \xe2\x80\xa6BkThe port to serve a local UDP DNS server atoPort to bind to0CdThe port on which the connection should be bound to.AiProduction configuration.ClConfiguration to speak to the QUIC endpoint on the relay \xe2\x80\xa6CjCreate a QUIC server that accepts connections for QUIC \xe2\x80\xa61DaConfiguration for the QUIC server, disabled if None.BgRead data contiguously from the stream.BlA record to set for all originsBlMethod for sealing message dataCfReturns the side of the connection (client or server).0CeSign the given message and return a digital signature0AcStop accepting dataCbReturns the URLs of all servers in this relay map.0AbAccess is allowed.BgA chunk of data from the receive streamAkQuic client related errors.AeProtocol send errors.eHTTPSnDNS over HTTPSAoA locally bound socket address.BlThe 6 byte header of all discovery messages.CbThe protocol used to time an endpoint\xe2\x80\x99s latency.fRelaysCaAn endpoint communicated with us first via relay.oRelay transport2CcThe peer abandoned transmitting data on this streamCnThe peer is unable to continue processing this connection, \xe2\x80\xa6CgEnable rate limit based on headers commonly used by \xe2\x80\xa6BbThe type of value that can change.AjThe endpoint\xe2\x80\x99s addressesBlReturns the full list of all known addresses10CmSets the ALPN protocols that this endpoint will accept on \xe2\x80\xa6D`Applies the configuration to the passed in Builder.DlBuilds a DnsDiscovery with the passed DnsResolver.DiBuilds the PkarrPublisher with the passed secret key for \xe2\x80\xa6CgCreates a PkarrResolver from this builder.AoBuilds the discovery mechanism.DeBuilds an MdnsDiscovery instance with the configured \xe2\x80\xa6BiConstruct a fresh ControllerAhBuilds the DNS resolver.AiThe contents of the chunkCiThe total amount of bytes which have been transferred \xe2\x80\xa6BjThe amount of bytes which had been writtenAjThe TLS certificate chain.BbCloses the connection immediately.BnCloses the QUIC endpoint and the magic socket.DiThis module exports looks_like_disco_wrapper as the only \xe2\x80\xa6AkCreates an empty relay map.CbCreates an empty ConcurrentDiscovery.CdCreates an empty builder with no discovery services.2BcFrame type that triggered the errorB`Install hooks onto the endpoint.AmEnable or disable https probeAkConfig for the HTTPS serverCcDistinguishes streams of the same initiator and \xe2\x80\xa6BhWhether this is an IP transport address.00DhReturns a Watcher for the network paths of this connection.0CmA discovery service which publishes and resolves endpoint \xe2\x80\xa6DbConfiguration for the Relay server, disabled if None.CgThis module implements the send/recv relaying protocol.AmRecreates the inner resolver.BbClose the send stream immediately.BcCompletely resets the DNS resolver.2AmResponds with a retry packet.BmNS record to set for all originsCdSpawns an accept loop and returns a handle to it \xe2\x80\xa6AaSpawn the server.A`Spawn the server1AbStarts the server.BkSplits the client into a sink and a stream.BnShared state and store for the iroh-dns-serverBgState for Let\xe2\x80\x99s Encrypt certificates.BiReturns stats for this transmission path.AnReturns connection statistics.0CeShow connection stats the at the end of the benchmarkAcThe pkarr DNS storeCmWrite a buffer into this stream, returning how many bytes \xe2\x80\xa6AkAccept the connect attempt.AfAccept the connection.CaFuture produced by Endpoint::accept.BcAccess restriction for an endpoint.AmThe initiator of a connectionoA relay client.AdServer configurationAgUse a custom relay map.AmUse custom bootstrap servers.AdError when decoding.0ClA handle to the channel over which the response to a DNS \xe2\x80\xa6CjSent from server to client to tell the client if their \xe2\x80\xa6CiA one-way message from relay to client, declaring the \xe2\x80\xa6CjThe length of an ed25519 PublicKey, in bytes.CjThe length of an ed25519 Signature, in bytes.10lRate limits.ChCerts are loaded from a the cert_cache pathBkUse a static TLS key and certificate chain.CcFuture produced by Connection::open_biA`Defines a presetAkReject the connect attempt.B`Reject and close the connection.AdA net_report report.AaThe built router.AlThe acceptor of a connectionAdThe iroh-dns server.AmA running Relay + QAD server.CiEnable rate limit based on the connection\xe2\x80\x99s peer IP \xe2\x80\xa6DeThe origin or source through which an address associated \xe2\x80\xa6AiAn integer less than 2^62CmAttempts to accept this incoming connection (an error may \xe2\x80\xa6BbReturns Self::Accept.BoAccepts an incoming connection on the endpoint.AnHandle an incoming connection.BiSee ProtocolHandler::accept.DiConfigures the router to accept the ProtocolHandler when \xe2\x80\xa6AeAccess configuration.C`The amount of full chunks which had been writtenBhExplicitly sets the pkarr client to use.AgCreate and run a client0DkExposes Client, which allows to establish connections to a \xe2\x80\xa6CdWait for the connection to be closed for any reason.CjWaits for the connection to be closed, and returns the \xe2\x80\xa6EhCommon types between the super::handshake and super::relay \xe2\x80\xa6AlConfiguration for the serverBjCreate QUIC error code from TLS alert codeBoTLS configuration used for incoming connectionsBkAn underlying crypto (e.g. TLS) layer errorDhCreates a new DnsResolver from a struct that implements \xe2\x80\xa6DaCreate a custom relay mode from a list of RelayUrls.1CdExtends this RelayMap with another one.0CmNotify the peer that no more data will ever be written to \xe2\x80\xa6CmIgnores this incoming connection attempt, not sending any \xe2\x80\xa6BgInserts a new relay into the relay map.CdInsert a signed packet into the cache and the store.1CfEnables saving the TLS pre-master key for connections.lRate limits.DdCreates a new DNS discovery using the iroh.link domain.CkCreates a pkarr publisher which uses the number 0 pkarr \xe2\x80\xa6ClCreates a pkarr resolver builder which uses the number 0 \xe2\x80\xa6AhThe offset in the streamB`Packet deliveries were confirmed0CjA convenience method that waits for the endpoint to be \xe2\x80\xa6BfApplies the given Preset.B`Protocols used by the iroh-relayBnThe public key of this SecretKey.0BcHuman-readable reason for the close0BhHuman-readable explanation of the reasonCeClose reason to send with the connection close frame.BiRejects this incoming connection attempt.BbReturns Self::Reject.DkReturns a list with the RelayConfig for each relay in this \xe2\x80\xa60AgReload the certificate.BeRemoves an existing relay by its URL.0BmTake the provided endpoint and run the server0CkThe main server which combines the DNS and HTTP(S) servers.CeA fully-fledged iroh-relay server over HTTP or HTTPS.BeMetrics tracked for the relay server.C`Private source type, cannot be created publicly.0ClReturns a stream which will yield the most recent values \xe2\x80\xa6DeEncodes a EndpointId in z-base-32 encoding.0CgStatistics about UDP datagrams received on a connectionCjStatistics about UDP datagrams transmitted on a connectionB`A QAD IPv4 round trip completed.B`A QAD IPv6 round trip completed.CgUpdates the watcher to the latest value and returns \xe2\x80\xa6ClVerify a signature on a message with this secret key\xe2\x80\x99s \xe2\x80\xa60CcNumber of ack-eliciting bytes that may be in flightCaA key for sealing data with AEAD-based algorithmsAeBoxed iterator alias.BbBuilder for Endpoint.BfBuilder for DhtDiscovery.BeBuilder for DnsResolver.ClUse the default relay map, with production relay servers \xe2\x80\xa6BbUse the default bootstrap servers.CmA peer was expired due to being inactive, unreachable, or \xe2\x80\xa6AnEnum of metrics for the moduleAkMetrics for iroh-dns-serverBdMetrics tracked for the relay serverCdFuture produced by Connection::open_uniAjOptions for running probesAkQUIC Address Discovery Ipv4AkQUIC Address Discovery Ipv6BfUse the staging relay servers from n0.CcThe peer is no longer accepting data on this streamCjThe maximum amount of time, in seconds, the net_report \xe2\x80\xa6CaThe stream is larger than the user-supplied limitAdNot yet determined..CkA handle to a value that\xe2\x80\x99s represented by one or more \xe2\x80\xa6ClIndicates how many bytes and chunks had been transferred \xe2\x80\xa6CfNumber of times this server has accepted a connection.0EhCreates a DnsDiscoveryBuilder that implements IntoDiscovery\xe2\x80\xa6DhReturns a PkarrPublisherBuilder that publishes endpoint \xe2\x80\xa6ChCreates a new resolver builder using the pkarr relay \xe2\x80\xa6CdCreates a new builder for DhtDiscovery.CoReturns a MdnsDiscoveryBuilder that implements \xe2\x80\xa6CmCreates a builder to construct a DNS resolver with custom \xe2\x80\xa6DgReturns the builder for an Endpoint, with a production \xe2\x80\xa6DdCreates a new Router using given Endpoint.2CcThe total number of clients which should be createdBkConnects to a remote Endpoint.CaEstablishes a new connection to the relay server.ClThe list of domains for which SSL certificates should be \xe2\x80\xa6BjSet to true to enable the mainline lookup.BnDo we have any indication that UDP is working?CbCheck if this stream has been opened during 0-RTT.BkCo-locating all of the iroh metrics structsCmRetrieve implementation-specific metrics used to populate \xe2\x80\xa60BlReturns metrics collected for this endpoint.CgShow iroh library counter metrics at the end of the \xe2\x80\xa6AnMetrics support for the serverAbMetrics collector.AnConfig for the metrics server.CbReturns the metrics collected in the relay server.CnThe maximum UDP payload size guaranteed to be supported by \xe2\x80\xa6BbOne or more packets were just sent0BnInitiates a new outgoing bidirectional stream.EdDomain used for serving the _iroh.<endpointid>.<origin> \xe2\x80\xa6ChPresets allow configuring an endpoint quickly with a \xe2\x80\xa6CeIf set, is a description of why the connection is \xe2\x80\xa6DbPublishes the given EndpointData to the discovery \xe2\x80\xa6BfPublishes a SignedPacket.ClNumber of reports executed by net_report, including full \xe2\x80\xa6DnResolves the DiscoveryItem for the given EndpointId.DkResolves a SignedPacket for the given EndpointId.AdResolve a DNS query.BoAAAA record to set for all originsAfStaging configuration.CiCompletes when the peer stops the stream or reads the \xe2\x80\xa6CcThe total number of streams which should be createdClImplements logic for abstracting over a websocket stream \xe2\x80\xa6ClExposes functions to quickly configure a server suitable \xe2\x80\xa6BgCancel-safe waiting for a ping timeout.BaReturns a connection info struct.CgAn advisory duration for how long the client should \xe2\x80\xa6DfReturns a future completing with Ok(value) once a new \xe2\x80\xa6CdUpgrade the handle to a full ConnectionCeFuture produced by Connection::accept_biCkIf the 0-RTT data was accepted, you can continue to use \xe2\x80\xa6AeThe shared app state.C`The mode how SSL certificates should be created.BdDatagram support is disabled locallyCmDisable relay servers completely. This means that neither \xe2\x80\xa6AcDisable rate limit.B`Potential errors related to dns.ClControls an iroh endpoint, establishing connections with \xe2\x80\xa6hEveryoneCkAn incoming connection for which the server has not yet \xe2\x80\xa6B`The largest encoded value lengthCmthe connection is being closed abruptly in the absence of \xe2\x80\xa6CmApplication layer with a specific name added the endpoint \xe2\x80\xa6DcInformation about a network path used by a Connection.CiIf the 0-RTT data was rejected, any streams that were \xe2\x80\xa6CmList of relay server configurations to be used in an iroh \xe2\x80\xa60BaA URL identifying a relay server.0BeTrait for DNS resolvers used in iroh.CfIdentifier for a stream within a particular connectionCnCommunication with the peer has lapsed for longer than the \xe2\x80\xa6ClThe datagram is larger than the connection can currently \xe2\x80\xa6CmStatistics about UDP datagrams transmitted or received on \xe2\x80\xa6CkUnder the hood this is a UTF-8 String is no longer than \xe2\x80\xa600BdGet this public key as a byte array.0EhReturns true if a relay with url is contained in this this \xe2\x80\xa60AoThe contents of the datagram(s)AgGet the data directory.BhDefault values used in irohBaDefault values used in the relay.CgCreate an Options that disables all probesAkDisable the metrics server.BjSet to true to disable the metrics server.ChReturns the Endpoint stored in this router.CbReturns the Endpoint of the endpoint.DkThe Endpoint allows establishing connections to other iroh \xe2\x80\xa6C`Statistics about frames received on a connectionCcStatistics about frames transmitted on a connectionCfCreates a new user error from an arbitrary error type.00BjConstruct a VarInt infalliblyBeSucceeds iff x < 2^62DfParses a EndpointId from z-base-32 encoding.0DbGenerate a new SecretKey with a randomness generator.0C`Number of FrameType::Pings received0BnGet the server\xe2\x80\x99s http RelayUrl.CmSpecifies the time to wait after completing MTU discovery \xe2\x80\xa6CcReturns Self for use in down-casting to extract \xe2\x80\xa6BlReturns a list of IP addresses of this peer.BmReturns the direct addresses of the endpoint.10EhReturns true if the Connection associated with this handle \xe2\x80\xa6CkReturns true, if only a EndpointId is present.CeReturns true if this relay map is empty.BaIs there any services configured?BoReturns true if the list is empty.32CgWhether this is a transport address via a relay server.00CmReturns the local IP address which was used when the peer \xe2\x80\xa6AoConfig for the mainline lookup.AbStarts a new ping.BoInitiates a new outgoing unidirectional stream.BcGet the priority of the send streamCjTools for spawning an accept loop that routes incoming \xe2\x80\xa6BbCalled when the router shuts down.BkSee ProtocolHandler::shutdown.BcShuts down the accept loop cleanly.CfShutdown the server an wait for all tasks to complete.CgShutdown the server and wait for all tasks to complete.CkCancel the server tasks and wait for all tasks to complete.AfShutdown the resolver.AkRequests graceful shutdown.CkConvert this to the bytes representing the secret part. \xe2\x80\xa6AlReturn the inner byte array.10BeSucceeds iff x < 2^6200CfFuture produced by Connection::accept_uniBeIn-progress connection attempt futureCmRepresents datagrams sent from relays (originally sent to \xe2\x80\xa6CnRequest from the client to relay datagrams to given remote \xe2\x80\xa6CjOne or multiple datagrams being transferred via the relay.CeErrors that can occur while dialing the relay server.CbThe address was discovered by a discovery service.CdEndpoint discovery for super::Endpoint.AcDNS server settingsBnA DNS server that serves pkarr signed packets.BgPossible frame types during handshakingBiStatistics related to a transmission pathmA public key.0AeA read error occurredBmErrors that arise from reading from a stream.CeErrors when receiving messages from the relay server.D`Configuration of the relay servers for an Endpoint.CiUse a TLS key and certificate chain that can be reloaded.mA secret key.0BoError for sending messages to the relay server.AbEd25519 signature.0BcTLS configuration for Relay server.BaA store for pkarr signed packets.BnAccept the next incoming bidirectional stream.BcAdd addresses to the endpoint data.0DbAdds an already Boxed Discovery service.CiSets whether this endpoint should advertise its presence.BhThe address this transport will bind on.BkOptionally set a custom address to bind to.CmThe IPv4 or IPv6 address to bind the UDP DNS server. Uses \xe2\x80\xa6CmOptionally set a custom bind address (will use 0.0.0.0 if \xe2\x80\xa60ChThe socket address on which the QUIC server should bind.AkSet custom bootstrap nodes.BdThe mode of SSL certificate creationCjRate limits for incoming traffic from a client connection.BbDuplicate the controller\xe2\x80\x99s stateBdThe amount of UDP datagrams observedBlThe datagrams and related metadata to relay.BcThe datagrams and related metadata.AkEndpoint address discovery.BmAdds a discovery mechanism for this endpoint.BoReturns the discovery mechanism, if configured.E`Create a ConcurrentDiscovery with DnsDiscovery and \xe2\x80\xa6CnConvert to a hex string limited to the first 5 bytes for a \xe2\x80\xa60DjCreates a RelayMap from an iterator of RelayUrl.0Afip:port of global IPv4Be[ip]:port of global IPv6ClImplements the handshake protocol that authenticates and \xe2\x80\xa6AmDoes this have any addresses?0BiGet the bound address of the HTTP socket.CcThe socket address the HTTP server is listening on.BoGet the server\xe2\x80\x99s https RelayUrl.AjCreate an in-memory store.BoWhich side of a connection initiated the streamDhConverts this Connecting into a 0-RTT connection at the \xe2\x80\xa6DkConverts this Accepting into a 0-RTT or 0.5-RTT connection \xe2\x80\xa6BaBase types and utilities for IrohBoShorthand for self == Side::ClientCiCheck if this endpoint is still alive, or already closed.BoShorthand for self == Side::ServerBmMetrics collected by the endpoint\xe2\x80\x99s socket.CdWhether to allow clients to migrate to new addressesBaThe HTTP URL of the Pkarr server.CiAttempts to read from the stream into the provided bufferCkSets an explicit proxy url to proxy all HTTP(S) traffic \xe2\x80\xa6CjSet an explicit proxy url to proxy all HTTP(S) traffic \xe2\x80\xa6CcThe socket address the QUIC server is listening on.BdReturns the relay map for this mode.BnThe RelayMap used for this relay.DaReturns the EndpointId of the endpoint that this \xe2\x80\xa6DfReturns the EndpointId from the peer\xe2\x80\x99s TLS certificate.BmGenerate the integrity tag for a retry packetBlNumber of FrameType::Pongs sent0BiSets the list of accepted ALPN protocols.BhA stable identifier for this connection.BaSubscribe to discovered endpointsCePrivate key used to authenticate data included in \xe2\x80\xa6CgTransport configuration to use for incoming connectionsCgReturns the optional user-defined data of the endpoint.AnReturns any user-defined data.1BoWrite a buffer into this stream in its entiretyAnTLS certificate configuration.CbThe client frame type for the authentication frameB`The send half of a relay client.BcAn outgoing connection in progress.BlWe established a connection on this address.AbA QUIC connection.CeCommon interface for different congestion controllersD`A direct address on which an iroh-endpoint might be \xe2\x80\xa6ChA peer was discovered or it\xe2\x80\x99s information was updated.AeState for serving DNSCeThe identifier for an endpoint in the (iroh) network.0CkNumber of frames transmitted or received of each frame typeAjConfig for the HTTP serverBjThe HTTP(S) server part of iroh-dns-serverCbThe max byte length allowed for user-defined data.0ChThe provenance string for this discovery implementation.CeAn address assigned by the router using port mapping.CbHandles the client side of QUIC address discovery.BkPieces needed to do QUIC address discovery.BbConfiguration for the QUIC server.ChThe HTTP path under which the relay accepts relaying \xe2\x80\xa6BnA stream that can only be used to receive dataChErrors that arise while waiting for a stream to be resetCmSent from server to client for the server to declare that \xe2\x80\xa6ClA one-way message from relay to client, advertising that \xe2\x80\xa6DkOnly endpoints for which the function returns Access::Allow\xe2\x80\xa6DhError for attempting to retry an Incoming which already \xe2\x80\xa6CiCreate self-signed certificates and store them in the \xe2\x80\xa6BkA stream that can only be used to send dataAcServer spawn errorsBjErrors that arise from writing to a streamCaAccepts the next incoming uni-directional stream.CkWhether the implementation is permitted to set the spin \xe2\x80\xa6ChBytes received from a FrameType::SendPacket0CdBytes sent from a FrameType::SendPacket0BnClass of error as encoded in the specificationB`Application-specific reason codeCcError code to send with the connection close frame.BcType of frame that caused the closeCgCreates a new user error from an arbitrary boxed error.CiConstruct a PublicKey from a slice of bytes.CaCreate a secret key from its byte representation.BmParse an Ed25519 signature from a byte slice.210CgCreates a new EndpointAddr from its parts.CgCreates a new EndpointInfo from its parts.10BjGet the bound address of the HTTPS socket.CdThe socket address the HTTPS server is listening on.AiExtract the integer valueCkIroh\xe2\x80\x99s relay is a feature within iroh, a peer-to-peer \xe2\x80\xa6AiIs this endpoint allowed?BlGet the local address of the UDP/TCP socket.BhReturns the local address of the client.AfLooks up a TXT record.AeLooks up TXT records.1BeThe amount of bytes lost on this pathBeThe socket address of the DNS server.CdChecks the network conditions from the current host.BaMetrics collected by net reports.C`Disables publishing even if a secret key is set.ChWhether to run a local relay and have the server and \xe2\x80\xa6CjPad UDP datagrams carrying application data to current \xe2\x80\xa6AnNumber of PCP probes executed.AiCreate a persistent storeC`Attempt to write bytes from buf into the stream.BlMetrics collected by the portmapper service.BnReturns the provenance of this discovery item.AmRead the next segment of dataCkRead an exact number of bytes contiguously from the stream.CdSets the relay servers to assist in establishing \xe2\x80\xa6BjReturns a list of relay urls of this peer.BfReturns the relay URL of the endpoint.10CgSets the secret key to use for signing the DNS packets.CcSets a secret key to authenticate with other peers.BhReturns the secret_key of this endpoint.BfInternal utilities to support testing.CfCreates a TlsConfig suitable for testing.EeReturns a Watcher for the current EndpointAddr for this \xe2\x80\xa6AiAdds a list of addresses.0AjConfig for the zone store.CmWraps an existing protocol, limiting its access, based on \xe2\x80\xa6CgThe address was advertised by a call-me-maybe DISCO \xe2\x80\xa6AeGeneric crypto errorsCaProtocols over which DNS records can be resolved.CcThe DNS resolver used throughout iroh.0AkConfig for the HTTPS serverCnMaximum duration of inactivity to accept before timing out \xe2\x80\xa6AmACME with LetsEncrypt serversAdUse Let\xe2\x80\x99s Encrypt.BjTracks pings on a single relay connection.BgInformation on a specific relay server.0CbConfiguration for the Relay HTTP and HTTPS server.AiThe config for the store.CcAccepts this incoming connection using a custom \xe2\x80\xa6BcRemoves all entries from the cache.AjClears the internal cache.1BbCreate a connection usable for qadCdLargest UDP payload size the path currently supportsCaSOA record data for any authoritative DNS recordsCmDefault time to live for returned DNS records (TXT & SOA)CiNumber of connections we have removed because of an error0AhHandler for DNS requestsCcReturns the endpoint id of the discovered endpoint.CjThe EndpointId of the endpoint this is about.BdThe id of the endpoint that expired.11CkThe initial value to be used as the maximum UDP payload \xe2\x80\xa6BkStarting guess for maximum UDP payload sizeBjThe RTT used before an RTT sample is takenDjReturns a future completing once the value is set to Some \xe2\x80\xa6D`Returns true if this path is currently the main \xe2\x80\xa6BiChecks if the router is already shutdown.BgPerforms an IPv4 lookup with a timeout.AiLooks up an IPv4 address.1BgPerforms an IPv6 lookup with a timeout.AiLooks up an IPv6 address.1CeThe amount of concurrent streams which should be usedDdPackets are acked in batches, all with the same now \xe2\x80\xa60ClWait until a Pkarr announce for an endpoint is published \xe2\x80\xa6B`Sets the pkarr relay URL to use.AbEnable quic probesCgCreates a QuicConfig suitable for testing.AnRead the next segments of dataCkConvenience method to read all remaining data into a bufferCgThe remote transport address used by this network path.CiMaximum number of bytes to transmit to a peer without \xe2\x80\xa6B`Returns the handle for the task.BmObject to get current SystemTimeCaNumber of bytes to transmit from client to serverAoNumber of UPnP probes executed.CnSpecifies the upper bound to the max UDP payload size that \xe2\x80\xa6DgCreate a server config with the given crypto::ServerConfigDbWrite a single Bytes into this stream in its entiretyCfControls which endpoints are allowed to use the relay.BcThe receive half of a relay client.CgThe stream has already been stopped, finished, or resetBmThe stream has already been finished or resetCmError indicating that a stream has not been opened or has \xe2\x80\xa6AbConnection errors.CgPkarr Mainline DHT and relay server endpoint discovery.AfDNS endpoint discoveryCjNetwork-level addressing information for an iroh endpoint.0CgData about an endpoint that may be published to and \xe2\x80\xa600ChSent from server to client to signal that a previous \xe2\x80\xa6CjIndicates that the client identified by the underlying \xe2\x80\xa6CnInformation about an endpoint that may be published to and \xe2\x80\xa600EaList of PathInfo for the network paths of a Connection.CiFuture produced by Connection::read_datagramBdMetrics tracked for the relay serverBhAll metrics tracked in the relay server.BiParameters governing incoming connectionsBaConfiguration for the full Relay.CmErrors that arise while monitoring for a send stream stop \xe2\x80\xa6BlTurn the options into set of valid protocolsCkAdds an IP transport, binding to the provided IPv4 address.CkAdds an IP transport, binding to the provided IPv6 address.ChThe certificates chain if configured with manual TLS \xe2\x80\xa6BlIf the connection is closed, the reason why.DkConfigures a default IPv4 transport, listening on 0.0.0.0:0\xe2\x80\xa6DfConfigures a default IPv6 transport, listening on [::]:0.AdDNS requests (total)AmSets the DNS resolver to use.CnSets the DNS resolver to use for resolving the pkarr relay \xe2\x80\xa60CiOptionally sets a custom DNS resolver to use for this \xe2\x80\xa6ClReturns the DNS resolver used in this Endpoint.DhCreate a DnsResolver configured to use the test DNS server.CnCreates a new user error from an arbitrary error type that \xe2\x80\xa6CjCreates a new user error from an arbitrary boxed error \xe2\x80\xa60CgCreate the initial set of keys given the client\xe2\x80\x99s \xe2\x80\xa6CmAdds the provided configuration to the RelayMap.CiWhether this watcher is still connected to all of its \xe2\x80\xa6CnReturns the optional timestamp when this endpoint info was \xe2\x80\xa6CjOptional timestamp when this endpoint address info was \xe2\x80\xa6BgThe amount of packets lost on this pathDcMaximum number of Incoming to allow to exist at a timeAkSocket to serve metrics on.DgOptional interception point to handle the Accepting state.BoSee ProtocolHandler::on_accepting.DiPolls for the next value, or returns Disconnected if one \xe2\x80\xa6CkAn advisory duration that the client should wait before \xe2\x80\xa6ChCreates a RelayConfig suitable for testing.DdRemoves the configuration from the RelayMap for the \xe2\x80\xa6BmNumber of full reports executed by net_reportC`Resolves a hostname from a URL to an IP address.0CkThe segment size if this transmission contains multiple \xe2\x80\xa6BgThe amount of packets sent on this pathAkSets a custom service name.BcSet the priority of the send streamAiAdds an IP based address.0DgWrite a slice of Bytes into this stream, returning how \xe2\x80\xa6CmThe connection could not be created because not enough of \xe2\x80\xa6oBuild a Client.D`Endpoint discovery results from Discovery services.ChEndpointHooks intercept the connection establishment \xe2\x80\xa6DiExtension methods for EndpointId to encode to and decode \xe2\x80\xa60BnThe stream finished before all bytes were readCcreceived an invalid Retry Token in a client InitialBeThe DNS name for the iroh TXT record.0DdTrait for structs that can be converted into Discovery.BkThe local application closed the connectionDaDiscovery using swarm-discovery, a variation on mdnsBbThe config for the metrics server.CkResolver of endpoint discovery information from a pkarr \xe2\x80\xa6CcHard NAT: QAD\xe2\x80\x99ed IPv4 address + local fixed port.DcBuilder for creating a Router for accepting protocols.AhAvailable address types.0AmRecord data for a TXT record.AaReturned from \xe2\x80\xa6CnReturns the local socket addresses on which the underlying \xe2\x80\xa6A`A client config.CaNumber of bytes to transmit from server to clientDcReturns the builder for an Endpoint, with an empty \xe2\x80\xa6ClSupport for handling DNS resource records for dialing by \xe2\x80\xa6DbReturns the EndpointInfo for the discovered endpoint.CbThe endpoint info for the endpoint, as discovered.2BoCreates a new ConcurrentDiscovery.AgNumber of HTTP requestsAmGet the IncomingCnThe max_ack_delay we will request the peer to useBoThe number of NAT traversal attempts initiated.CkThe known MTU for the current network path has been updatedBmNumber of PCP probes that found it available.BcCryptographic identity of the peer.CnAttempts to read from the stream into the provided buffer, \xe2\x80\xa6BnUpdates the ping tracker with a received pong.BaReceives an application datagram.Abkeyed by relay UrlDgTransmits data as an unreliable, unordered application \xe2\x80\xa6CmWhether to implement fair queuing for send streams having \xe2\x80\xa6CaThe TLS server configuration for the QUIC server.AiThe server configuration.CiCreates a ServerConfig suitable for testing.C`Sets the user-defined data of the endpoint data.0BnStart a server session with this configurationDiSplits the current datagram into at maximum num_segments \xe2\x80\xa6CaCreates a RelayMap from an iterator.0CkToString::to_string, but without panic on OOM.000000000000000000000000000000000000000000000000000000000000000000CnSets the direct addresses and returns the updated endpoint \xe2\x80\xa6CgSets the IP based addresses and returns the updated \xe2\x80\xa610DbOptions for the Endpoint::connect_with_opts function.AoInformation about a connection.AgThe connection was lost0000AkThe type of direct address.A`Discovery errorsCmAn event emitted from the MdnsDiscovery service.CeHandle and drop guard for test DNS and Pkarr servers.Cithe endpoint encountered an internal error and cannot \xe2\x80\xa6BbThe config for the metrics server.Amno viable network path existsCjPublisher of endpoint discovery information to a pkarr \xe2\x80\xa6AnEnum of metrics for the moduleBmErrors that arise from reading from a stream.C`Errors from RecvStream::read_to_endAmLatencies per relay endpoint.BcVerification of a signature failed.0BkError returned when a staggered call fails.ChA static endpoint discovery to manually add endpoint \xe2\x80\xa6CmThe peer violated the QUIC specification as understood by \xe2\x80\xa6CiTransport-level errors occur when a peer violates the \xe2\x80\xa6AfDerive AEAD using hkdfAdHandle a DNS requestCgIntercept outgoing connections before they are started.0CjCaptivePortal is set when we think there\xe2\x80\x99s a captive \xe2\x80\xa6CdRemoves all direct addresses from the endpoint data.0CgTake the provided endpoint and run the client benchmarkBnCreate a client endpoint and client connection0BjParameters negotiated during the handshake0BkParameters negotiated during the handshake.ClThe socket address on which the Relay HTTP server should \xe2\x80\xa6AiInitial congestion windowCnTurns this discovery builder into a ready-to-use discovery \xe2\x80\xa6CnSpecifies the minimum MTU change to stop the MTU discovery \xe2\x80\xa6CaNotifies the system of potential network changes.B`Number of probing tasks started.CgSets the proxy url from the environment, in this order:ClThe socket address on which to server the QUIC server is \xe2\x80\xa6BeWhether to use the unordered read APIClMaximum number of bytes the peer may transmit across all \xe2\x80\xa6CkCompletes when the stream has been reset by the peer or \xe2\x80\xa6BbNumber of QUIC datagrams received.BaReturns the peer\xe2\x80\x99s UDP address.AoWait for all tasks to complete.0CeSaturating integer addition. Computes self + rhs, \xe2\x80\xa6CkMaximum reordering in time space before time based loss \xe2\x80\xa6CkConverts into a list of {key}={value} strings.0CbNumber of FrameType::Unknown received0BnNumber of UPnP probes that found it available.BeAdds a RelayUrl address.CiSets the relay URL and returns the updated endpoint data.CiSets the relay URL and returns the updated endpoint info.210CfSets the user-defined data and returns the updated \xe2\x80\xa6000CdConfigure the bootstrap servers for mainline DHT \xe2\x80\xa6BdPer-client rate limit configuration.ChReason given by the transport for closing the connectionBfReasons why a connection might be lostDfTrait to track the state of a Connection at compile time.AeConnection statisticsCoMetrics collected by an crate::endpoint::Endpoint.CnMarker type for a connection that is in the incoming 0-RTT \xe2\x80\xa6DnError when deserialising a PublicKey or a SecretKey.0ClThe maximum size of a packet sent over relay. (This only \xe2\x80\xa6CnMarker type for a connection that is in the outgoing 0-RTT \xe2\x80\xa6BaHandler for incoming connections.BbConfig for http server rate limit.CjConfiguration for speaking to the QUIC endpoint on the \xe2\x80\xa6C`The server frame type for the challenge responseAbServer task errorsBcAvailable transport configurations.CbThe peer doesn\xe2\x80\x99t implement any supported versionCbThis was a 0-RTT stream and the server rejected it000CmIntercept both incoming and outgoing connections once the \xe2\x80\xa60C`Removes all discovery services from the builder.BjReturns the current timeout set for pings.B`The remote endpoint to relay to.AkThe endpoint origin domain.CgParses a EndpointInfo from DNS TXT lookup.0CfThe socket address on which to serve the HTTPS server.AlA DNS server and pkarr relayBnMax number of bytes to read in a single burst.BoSet the maximum number of TLS tickets to cache.CnProbe indicating the presence of port mapping protocols on \xe2\x80\xa6BeSets the republish delay for the DHT.AoWait for all tasks to complete.CmRun DNS and Pkarr servers on localhost with the specified \xe2\x80\xa6CiCreates a server endpoint which runs on the given runtime0ChA static endpoint discovery to manually add endpoint \xe2\x80\xa6CkCreates a new DNS resolver configured with a single UDP \xe2\x80\xa6AiAdds a single nameserver.1CmCreates a new static discovery instance with the provided \xe2\x80\xa6CiReason given by an application for closing the connectionBmA drop guard to clean up test infrastructure.BeMessages that clients send to relays.CbThe peer\xe2\x80\x99s QUIC stack aborted the connection \xe2\x80\xa6Cnreceived a STREAM frame or a RESET_STREAM frame containing \xe2\x80\xa6A`key update errorAnEnum of metrics for the moduleCmPath abandoned due to no available connection IDs for the \xe2\x80\xa6DjA pkarr client to publish pkarr::SignedPackets to a pkarr \xe2\x80\xa6ClThe HTTP path under which the relay allows doing latency \xe2\x80\xa6CmThe messages that a relay sends to clients or the clients \xe2\x80\xa6BoThe server frame type for authentication denialCjMax number of bytes per second to read from the client \xe2\x80\xa6CdRemoves all direct addresses from the endpoint data.0CjCurrent state of the congestion control algorithm, for \xe2\x80\xa6CiGet the default RelayConfig for Asia-PacificC`Get the default RelayConfig for EU.0BaDNS lookup responses which failedAdDNS requests via UDPCjWhether to use the letsenrypt production servers (only \xe2\x80\xa6CbResolves IPv4 and IPv6 in parallel with a timeout.0B`Number of mapping tasks started.AoNumber of failed mapping tasks.CnMaximum duration of inactivity to accept before timing out \xe2\x80\xa6CiMaximum reordering in packet number space before FACK \xe2\x80\xa6CiRuns a relay server with QUIC enabled suitable for tests.DgConverts into a EndpointAddr by cloning the needed fields.00DaSets a custom QuicTransportConfig for this endpoint.BiSet a custom TransportConfigChConfiguration for sending and handling validation tokensAkAdds a list of nameservers.CnCreate a server config with the given certificate chain to \xe2\x80\xa6DdWrite a slice of Bytes into this stream in its entiretyCfthe application or application protocol caused the \xe2\x80\xa6BkHostname of the default Asia-Pacific relay.AnThe peer closed the connectionB`Constructs controllers on demandBoThe default HTTP port used by the Relay server.0CgDefault TTL for the records in the pkarr signed packet.BaHostname of the default EU relay.0AlA pseudo random key for HKDFCmA Certificate resolver that reloads the certificate every \xe2\x80\xa6BmErrors that can arise when sending a datagramCcThe peer does not support receiving datagram framesCnBurst limit for accepting new connection. Unlimited if not \xe2\x80\xa6CmRate limit for accepting new connection. Unlimited if not \xe2\x80\xa6CjAugments endpoint addressing information for the given \xe2\x80\xa6BcCongestion events on the connectionD`Starts a connection attempt with a remote Endpoint.BfGet the default RelayMap.0CiReturns endpoint addressing information for the given \xe2\x80\xa6BjGet the latest signed packet for a pubkey.CmComputes the maximum size of datagrams that may be passed \xe2\x80\xa6DhFrameType::SendPacket received, that are not disco messages0DdFrameType::SendPacket sent, that are not disco messages0CfSets endpoint addressing information for the given \xe2\x80\xa6CiCreates a new client while passing a DNS resolver to use.Cmthe endpoint has reached the confidentiality or integrity \xe2\x80\xa6CkParameters for controlling the peer\xe2\x80\x99s acknowledgement \xe2\x80\xa6CdThe HTTP header name for relay client authenticationBmthe server refused to accept a new connectionCaServer-side configuration for the crypto protocolC`The default HTTPS port used by the Relay server.0DiA dyn-compatible version of ProtocolHandler that returns \xe2\x80\xa6Ckreceived more data than permitted in advertised data limitsCgMarker type for a connection that has completed the \xe2\x80\xa6CeAttempted an ordered read following an unordered readAdIntoDiscovery errorsBcParameters governing MTU discovery.Ckdetected an error with protocol compliance that was not \xe2\x80\xa6CmCan occur when parsing a string into a RelayUrl.0Cjreceived a frame for a stream identifier that exceeded \xe2\x80\xa6Cnreceived a frame for a stream that was not in a state that \xe2\x80\xa6CeThe server frame type for authentication confirmationAjTransport-level error codeBiPath abandoned due to unstable interfacesCkError indicating that the specified QUIC version is not \xe2\x80\xa6CiMaximum quantity of out-of-order crypto layer data to \xe2\x80\xa6AoReturns the default relay mode.DcFrameType::SendPacket received that are disco messages0CoFrameType::SendPacket sent that are disco messages0BmDNS lookup responses with at least one answerAlDNS requests via HTTPS (DoH)CeCreates a static discovery instance from endpoint \xe2\x80\xa6C`Create a VarInt without ensuring it\xe2\x80\x99s in rangeCjConverts into a EndpointAddr without cloning.00BnSet the capacity of the cache for public keys.AcKey cache capacity.BdNumber of updates to the local port.BjUses the default number 0 pkarr relay URL.CaPackets of other FrameTypes received0BmPackets of other FrameTypes sent0CbNumber of ping failures recorded across all paths.BkHistogram of path quality scores (0.0-1.0).ChNumber of pkarr relay puts that did not update the stateBfNumber of datagrams received using GROCcThe EndpointId of the original sender.CnSets the interval after which packets are republished even \xe2\x80\xa6CnSee quinn_proto::TransportConfig::receive_window.BdNumber of unique client keys per day0AmNumber of failed Upnp probes.B`ALPN for our quic addr discoveryBmPath abandoned at the application\xe2\x80\x99s requestChA discovery service that combines multiple discovery \xe2\x80\xa6BmThe encoded information had the wrong length.0BfBuilder for DnsDiscovery.C`Parameters governing the core QUIC state machineCjSpecifies the amount of time that MTU discovery should \xe2\x80\xa6AoRemoves all IP based transportsBdDNS lookup responses with no answersCaNumber of endpoints we have attempted to contact.DaReturns true if the use of staging relays is forced.ClWaits until the full handshake occurs and then returns a \xe2\x80\xa6CgWaits until the full handshake occurs and returns a \xe2\x80\xa6CbNumber of HTTP requests with a non-2xx status codeCgPeriod of inactivity before sending a keep-alive packetChLetsencrypt contact email address (required if using \xe2\x80\xa6CiThe amount of PLPMTUD probe packets lost on this path \xe2\x80\xa6BlPackets were deemed lost or marked congestedCfNumber of consecutive failure resets (path recovered).CiThe amount of PLPMTUD probe packets sent on this path \xe2\x80\xa6ClReturns a stream which will yield the most recent values \xe2\x80\xa6CeOutcome of EndpointHooks::before_connectCbThe default metrics port used by the Relay server.0Bireceived a frame that was badly formattedBgBuilder for MdnsDiscovery.BgBuilder for PkarrResolver.DmError returned when constructing a VarInt from a value >= \xe2\x80\xa6CeA handle to some connection internals, use with care.DkSpecifies the ACK frequency config (see AckFrequencyConfig \xe2\x80\xa6CiThe number of times a black hole was detected in the pathCgMaximum number of received bytes to buffer for each \xe2\x80\xa6DkSpecifies the MTU discovery config (see MtuDiscoveryConfig \xe2\x80\xa6AkResets path-specific state.ChNumber of times a path was marked as outdated due to \xe2\x80\xa6CdHistogram of RTT variance (in milliseconds) as a \xe2\x80\xa6CaNumber of pkarr relay puts that updated the stateAkConfig for pkarr rate limitCkThe preferred IPv4 address that will be communicated to \xe2\x80\xa6CkThe preferred IPv6 address that will be communicated to \xe2\x80\xa6CmRemoves all endpoint addressing information for the given \xe2\x80\xa6ChThe reordering threshold we will request the peer to useClDuration after a retry token was issued for which it\xe2\x80\x99s \xe2\x80\xa6DgFrameType::SendPacket dropped, that are not disco messages0ClPublishes the addressing information about this endpoint \xe2\x80\xa6CnNumber of UPnP probes that resulted in a gateway different \xe2\x80\xa6CeMakes the builder respect the host system\xe2\x80\x99s DNS \xe2\x80\xa6CfOutcome of EndpointHooks::after_handshakeCg32B dest pub key + ECN bytes + one datagram\xe2\x80\x99s contentBhBuilder for PkarrPublisher.Cf32B src pub key + ECN bytes + one datagram\xe2\x80\x99s contentCnHistogram of connection latency in milliseconds across all \xe2\x80\xa6CeGet the default RelayConfig for NA east.0CeGet the default RelayConfig for NA west.DbFrameType::SendPacket dropped that are disco messages0BnNumber of HTTP requests with a 2xx status codeDgLooks up endpoint info by EndpointId and origin domain \xe2\x80\xa60CiPerforms an IPv4 lookup with a timeout in a staggered \xe2\x80\xa60CiPerforms an IPv6 lookup with a timeout in a staggered \xe2\x80\xa60CiThe number of connections to peers we have added over \xe2\x80\xa6C`Packets of other FrameTypes dropped0ClHistogram of packet loss rates (0.0-1.0) observed on UDP \xe2\x80\xa6AdRuns a relay server.AiNumber of expired packetsBeSigned packets removed from the storeBeNumber of updates to existing packetsCiMaximum number of bytes the peer may transmit without \xe2\x80\xa6CnSets ALPN identifiers that should be signaled as supported \xe2\x80\xa6CkSets the QUIC transport config options for this connection.Chreceived more data in CRYPTO frames than can be bufferedDkError returned when an input value is too long for UserData\xe2\x80\xa60BaHostname of the default NA relay.BfHostname of the default NA east relay.BfHostname of the default NA west relay.ChThe websocket sub-protocol version that we currently \xe2\x80\xa6CkPath abandoned due to resource limitations in the transportBbRemoves all relay based transportsChDerives keying material from this connection\xe2\x80\x99s TLS \xe2\x80\xa6ClWhether the reported public address differs when probing \xe2\x80\xa6CgThe number of direct connections we have made to peers.BfSigned packets inserted into the storeBkCreates a pkarr::SignedPacket.0CkConfigure a pkarr client for resolution of packets from \xe2\x80\xa6BhFailed to deserialize client auth headerClThe default QUIC port used by the Relay server to accept \xe2\x80\xa60BkThe production pkarr relay run by number 0.CkThe ack-eliciting threshold we will request the peer to useCdReturns if we should prefer ipv6 it replaces the \xe2\x80\xa6CkThe number of connections to peers we have removed over \xe2\x80\xa6CiSets the initial user-defined data to be published in \xe2\x80\xa6BoSet a custom ValidationTokenConfigChEnvironment variable to force the use of staging relays.CjNumber of connections with a successful handshake that \xe2\x80\xa6CjNumber of times the external address obtained via port \xe2\x80\xa6DkParses a EndpointInfo from a pkarr::SignedPacket.0CkSets whether to include the direct addresses in the DNS \xe2\x80\xa6CnReports whether p looks like it\xe2\x80\x99s a packet containing an \xe2\x80\xa6CgThe number of direct connections we have lost to peers.CfWhether the socket address that is initiating this \xe2\x80\xa6BhGet the path to the store database file.Cmthe number of connection IDs provided by the peer exceeds \xe2\x80\xa6CbError returned by Session::export_keying_material.CjA QUIC connection on the server-side that can possibly \xe2\x80\xa6BfThe client side of a 0-RTT connection.AiEndpoint close error codeClreceived transport parameters that were badly formatted, \xe2\x80\xa6ClMaximum number of outgoing application datagram bytes to \xe2\x80\xa6BcTotal duration of all HTTP requestsCeSkip the verification of the relay server\xe2\x80\x99s SSL \xe2\x80\xa6Cn32B dest pub key + ECN byte + segment size u16 + datagrams \xe2\x80\xa6CkThe default capacity of the key cache for the relay server.ClInterval in which to republish the endpoint info even if \xe2\x80\xa6BhThe testing pkarr relay run by number 0.Cm32B src pub key + ECN byte + segment size u16 + datagrams \xe2\x80\xa6CnNumber of bytes received from client connection which have \xe2\x80\xa60CjNumber of client connections which have had any frames \xe2\x80\xa60C`Bytes available in the outgoing datagram buffer.DhMaximum number of received bytes to buffer for all IncomingCeRaces an IPv4 and IPv6 lookup with a timeout in a \xe2\x80\xa60DaVariant of max_concurrent_bidi_streams affecting \xe2\x80\xa6CcThe n0 testing DNS endpoint origin, for production.00AeEndpoint close reasonChWhether to use \xe2\x80\x9cGeneric Segmentation Offload\xe2\x80\x9d to \xe2\x80\xa6ClWhether the reported public address differs when probing \xe2\x80\xa60CmMaximum number of incoming bidirectional streams that may \xe2\x80\xa6CiSets the initial user-defined data to be published in \xe2\x80\xa6BhThe default certificate reload interval.CbNumber of connections with a successful handshake.ClMaximum number of incoming application datagram bytes to \xe2\x80\xa6ChNumber of endpoints we have managed to contact directly.CkCreates a client config that trusts any servers without \xe2\x80\xa6BdPackets were incorrectly deemed lost0DdSpawn the server and run until the Ctrl-C signal is \xe2\x80\xa6CiHow to construct new congestion::ControllersBlSets a default per-path maximum idle timeoutCbWhether to send observed address reports to peers.ClModifies the number of bidirectional streams that may be \xe2\x80\xa6C`The n0 testing DNS endpoint origin, for testing.00BcLooks up endpoint info by DNS name.0BiEnables the Multipath Extension for QUIC.CmModifies the number of unidirectional streams that may be \xe2\x80\xa6ChSkip verification of SSL certificates from relay serversAfSkip cert verificationDgLooks up endpoint info by EndpointId and origin domain \xe2\x80\xa60CeNumber of consecutive PTOs after which network is \xe2\x80\xa6BkSets a default per-path keep alive intervalCjWhether to receive observed address reports from other \xe2\x80\xa6DiCreates a rustls::ServerConfig and certificates suitable \xe2\x80\xa6CkSets the maximum number of nat traversal addresses this \xe2\x80\xa6CjLooks up endpoint info by DNS name in a staggered fashion.0") \ No newline at end of file diff --git a/pr/3734/docs/search.index/desc/eda2febda4f9.js b/pr/3734/docs/search.index/desc/eda2febda4f9.js new file mode 100644 index 0000000000..79a4bc1676 --- /dev/null +++ b/pr/3734/docs/search.index/desc/eda2febda4f9.js @@ -0,0 +1 @@ +rd_("AmData flows in both directionsAbIP based addressesAbIP based transport1BnConfigures the endpoint to use the n0 defaultsnprivate marker00AlThe endpoint\xe2\x80\x99s identifier.AoGet the identity of this stream00BcReturns the remote\xe2\x80\x99s endpoint id.BiReturns the endpoint id of this endpoint.3CiReturns a watcher that updates every time this or the \xe2\x80\xa6BmApplication layer added the address directly.Djquinn types that are used in the public iroh API. Whether \xe2\x80\xa6BcError when decoding the public key.0AoThe largest representable valueAlThe maximum path ID allowed.BkPublic internet address discovered via QAD.lDNS over TCPlDNS over TLSBoAn endpoint communicated with us first via UDP.lDNS over UDPBmData flows only from the stream\xe2\x80\x99s initiatorBfAdds a Discovery service.ClPkarr based endpoint discovery for iroh, supporting both \xe2\x80\xa6BlSets whether to publish to the Mainline DHT.AnWhich directions data flows inCiThis module exports a DNS resolver, which is also the \xe2\x80\xa6AoDNS endpoint discovery for irohCiImplementation of a DNS name server for iroh endpoint \xe2\x80\xa6AjConfig for the DNS server.lDNS resolverBeExplicit congestion notification bitsClUpdates the watcher to the latest value and returns that \xe2\x80\xa6AoReturns the config for a relay.B`The current best RTT estimation.1BeThe amount of I/O operations executedBoReturns the number of relays in this relay map.BjReturns the number of services configured.AlReturns the number of paths.2BbSet a custom TokenLogCiMaps this watcher with a function that transforms the \xe2\x80\xa6CaMinimum RTT registered so far for this estimator.DhCreates a new EndpointAddr with no network level addresses.C`Creates a new SignatureError error.CdCreates a new RelayUrlParseError error.DiCreates a new EndpointData with a relay URL and a set of \xe2\x80\xa6E`Creates a new EndpointInfo with an empty EndpointData.DjCreates a new DiscoveryItem from a EndpointInfo.AeCreates a new client.BhCreates a new static discovery instance.CkCreates a new DNS resolver with sensible cross-platform \xe2\x80\xa6DiCreates a new QlogConfig that writes a qlog trace to the \xe2\x80\xa6BlCreates a new RetryError error.CgCreates a new RemoteEndpointIdError error.DgCreates a new Builder using the given Preset.BcInitializes new connection options.CiCreates a new qlog factory that writes files into the \xe2\x80\xa6BkConstruct an error with a code and a reasonAeCreate a new StreamIdCoCreates a new router builder using given Endpoint.BfCreate a new AccessLimit.ChCreates a new MaxLengthExceededError error.DjCreates a new QlogFileGroup that writes qlog files to the \xe2\x80\xa6DhCreates a new EndpointAddr with no network level addresses.C`Creates a new SignatureError error.CdCreates a new RelayUrlParseError error.AhCreate a new zone store.ClCreate a DNS server given some settings, a connection to \xe2\x80\xa6ClCreates a new ping tracker, setting the ping timeout for \xe2\x80\xa6BgCreate a new ClientBuilderCmCreate a new QuicClient to handle the client side of QUIC \xe2\x80\xa6C`Creates a new StaggeredError error.CkCreates a new DNS resolver with sensible cross-platform \xe2\x80\xa6DiCreates a new EndpointData with a relay URL and a set of \xe2\x80\xa6EndpointInfo
    with an empty EndpointData.CkGet SystemTime::now() or the mocked equivalentCcCurrent best estimate of this paths\xe2\x80\x99s latency \xe2\x80\xa6ChCurrent best estimate of this connection\xe2\x80\x99s latency \xe2\x80\xa60BgRun DNS and Pkarr servers on localhost.BgTLS configuration for the HTTPS server.CbSets the TTL (time-to-live) for published packets.C`Sets the time-to-live value for the DNS packets.BbThe origin of this direct address.C`Returns this frame\xe2\x80\x99s corresponding frame type.D`The RelayUrl where this relay server can be dialed.0CjState-specific data stored in the Connection.AaAccess is denied.Djquinn_proto types that are used in the public iroh API. A \xe2\x80\xa6AoName of this discovery service.AoWe received a ping on the path.CkMessages with these frames will be ignored. 8 byte ping \xe2\x80\xa6ClRequest from the relay to reply to the other side with a \xe2\x80\xa6CiRequest from the client to the server to reply to the \xe2\x80\xa6Ce8 byte payload, the contents of ping being replied toDiReply to a ClientToRelayMsg::Ping from a client with the \xe2\x80\xa6DiReply to a RelayToClientMsg::Ping from a server with the \xe2\x80\xa6B`An error occurred during readingDjquinn types that are used in the public iroh API. Whether \xe2\x80\xa6nThe 0 path id.BgReturns the TransportAddr.DjReturns the current EndpointAddr. As long as the endpoint \xe2\x80\xa6lThe address.CjExtracts the ALPN protocol from the peer\xe2\x80\x99s handshake \xe2\x80\xa60000AiBinds the magic endpoint.DdConstructs a default Endpoint and binds it immediately.AhMode for getting a cert.mType of errorBkCurrent congestion window of the connectionBmThe information published about the endpoint.00AoReturns the argument unchanged.000000000CmCreates a RelayMap from a RelayUrl.11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111BcHTTP server part of iroh-dns-serverAjConfig for the HTTP serverChHTTP-specific constants for the relay server and client.BnPerform the initial load and construct the \xe2\x80\xa6BaCalls U::from(self).0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000AnPeer-to-peer QUIC connections.BhReturns an iterator over the path infos.C`Returns an iterator over all encountered errors.ClReturns an iterator over the character strings contained \xe2\x80\xa6AlLoad the config from a file.CiA discovery service that uses an mdns-like service to \xe2\x80\xa6AkCaptured call-site metadata000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000CiThe name of the discovery service that discovered the \xe2\x80\xa6CcThe name of the application that added the endpointCeMethod for opening a sealed message dataClReturns a reference to the value currently stored in the \xe2\x80\xa6BkThe port to serve a local UDP DNS server atoPort to bind to0CdThe port on which the connection should be bound to.AiProduction configuration.ClConfiguration to speak to the QUIC endpoint on the relay \xe2\x80\xa6CjCreate a QUIC server that accepts connections for QUIC \xe2\x80\xa61DaConfiguration for the QUIC server, disabled if None.BgRead data contiguously from the stream.CcDecode TransportParameters from bufferBlA record to set for all originsBlMethod for sealing message dataCmNumber of address validation tokens sent to a client when \xe2\x80\xa6CfReturns the side of the connection (client or server).0CeSign the given message and return a digital signature0AcStop accepting data0CbReturns the URLs of all servers in this relay map.0AbAccess is allowed.Djquinn_proto types that are used in the public iroh API. A \xe2\x80\xa6AkQuic client related errors.AeProtocol send errors.nDNS over HTTPSAoA locally bound socket address.fRelaysCaAn endpoint communicated with us first via relay.oRelay transport2CcThe peer abandoned transmitting data on this streamCnThe peer is unable to continue processing this connection, \xe2\x80\xa6CgEnable rate limit based on headers commonly used by \xe2\x80\xa6BbThe type of value that can change.AjThe endpoint\xe2\x80\x99s addressesBlReturns the full list of all known addressesCiReturns an iterator over known all addresses for this \xe2\x80\xa621CmSets the ALPN protocols that this endpoint will accept on \xe2\x80\xa6D`Applies the configuration to the passed in Builder.DlBuilds a DnsDiscovery with the passed DnsResolver.DiBuilds the PkarrPublisher with the passed secret key for \xe2\x80\xa6CgCreates a PkarrResolver from this builder.AoBuilds the discovery mechanism.DeBuilds an MdnsDiscovery instance with the configured \xe2\x80\xa6BiConstruct a fresh ControllerCjBuild a QuicTransportConfig from the builder.DjBuild a ServerConfig from a ServerConfigBuilder.AhBuilds the DNS resolver.AiThe contents of the chunkCiThe total amount of bytes which have been transferred \xe2\x80\xa6BjThe amount of bytes which had been writtenAjThe TLS certificate chain.BbCloses the connection immediately.BnCloses the QUIC endpoint and the magic socket.AkCreates an empty relay map.CbCreates an empty ConcurrentDiscovery.CdCreates an empty builder with no discovery services.2BcFrame type that triggered the errorB`Install hooks onto the endpoint.AkConfig for the HTTPS serverCcDistinguishes streams of the same initiator and \xe2\x80\xa6BhWhether this is an IP transport address.00DhReturns a Watcher for the network paths of this connection.0CmA discovery service which publishes and resolves endpoint \xe2\x80\xa6DbConfiguration for the Relay server, disabled if None.CgThis module implements the send/recv relaying protocol.AmRecreates the inner resolver.BbClose the send stream immediately.BcCompletely resets the DNS resolver.2AmResponds with a retry packet.BmNS record to set for all originsCdSpawns an accept loop and returns a handle to it \xe2\x80\xa6AaSpawn the server.A`Spawn the server1AbStarts the server.BkSplits the client into a sink and a stream.BnShared state and store for the iroh-dns-serverBgState for Let\xe2\x80\x99s Encrypt certificates.BiReturns stats for this transmission path.AnReturns connection statistics.0CeShow connection stats the at the end of the benchmarkAcThe pkarr DNS storeBcTitle to record in the qlog captureBmReturns information how this address is used.CmWrite a buffer into this stream, returning how many bytes \xe2\x80\xa6CcEncode TransportParameters into bufferAkAccept the connect attempt.AfAccept the connection.CaFuture produced by Endpoint::accept.BcAccess restriction for an endpoint.AmThe address is in active use.AmThe initiator of a connectionoA relay client.AdServer configurationAgUse a custom relay map.AmUse custom bootstrap servers.AdError when decoding.0ClA handle to the channel over which the response to a DNS \xe2\x80\xa6CjSent from server to client to tell the client if their \xe2\x80\xa6CiA one-way message from relay to client, declaring the \xe2\x80\xa6CjThe length of an ed25519 PublicKey, in bytes.CjThe length of an ed25519 Signature, in bytes.10lRate limits.ChCerts are loaded from a the cert_cache pathBkUse a static TLS key and certificate chain.Diquinn types that are used in the public iroh API. Future \xe2\x80\xa6Dkquinn_proto types that are used in the public iroh API. Id \xe2\x80\xa6A`Defines a presetAkReject the connect attempt.B`Reject and close the connection.AaThe built router.AlThe acceptor of a connectionAdThe iroh-dns server.AmA running Relay + QAD server.CiEnable rate limit based on the connection\xe2\x80\x99s peer IP \xe2\x80\xa6DeThe origin or source through which an address associated \xe2\x80\xa6Dequinn types that are used in the public iroh API. An \xe2\x80\xa6CmAttempts to accept this incoming connection (an error may \xe2\x80\xa6BbReturns Self::Accept.BoAccepts an incoming connection on the endpoint.AnHandle an incoming connection.BiSee ProtocolHandler::accept.DiConfigures the router to accept the ProtocolHandler when \xe2\x80\xa6AeAccess configuration.C`The amount of full chunks which had been writtenBhExplicitly sets the pkarr client to use.AgCreate and run a client0DkExposes Client, which allows to establish connections to a \xe2\x80\xa6CdWait for the connection to be closed for any reason.CjWaits for the connection to be closed, and returns the \xe2\x80\xa6EhCommon types between the super::handshake and super::relay \xe2\x80\xa6AlConfiguration for the serverDhCreates a QuicTransportConfig that emits qlog files, if \xe2\x80\xa6BjCreate QUIC error code from TLS alert codeBkAn underlying crypto (e.g. TLS) layer errorDhCreates a new DnsResolver from a struct that implements \xe2\x80\xa6DaCreate a custom relay mode from a list of RelayUrls.1CdExtends this RelayMap with another one.0CmNotify the peer that no more data will ever be written to \xe2\x80\xa6AfHeader protection keysCmIgnores this incoming connection attempt, not sending any \xe2\x80\xa6BgInserts a new relay into the relay map.CdInsert a signed packet into the cache and the store.1CfEnables saving the TLS pre-master key for connections.lRate limits.DdCreates a new DNS discovery using the iroh.link domain.CkCreates a pkarr publisher which uses the number 0 pkarr \xe2\x80\xa6ClCreates a pkarr resolver builder which uses the number 0 \xe2\x80\xa6AhThe offset in the streamB`Packet deliveries were confirmed0CjA convenience method that waits for the endpoint to be \xe2\x80\xa6AfPacket protection keysBfApplies the given Preset.B`Protocols used by the iroh-relayBnThe public key of this SecretKey.0BcHuman-readable reason for the close0BhHuman-readable explanation of the reasonCeClose reason to send with the connection close frame.BiRejects this incoming connection attempt.BbReturns Self::Reject.DkReturns a list with the RelayConfig for each relay in this \xe2\x80\xa60AgReload the certificate.BeRemoves an existing relay by its URL.0BmTake the provided endpoint and run the server0CkThe main server which combines the DNS and HTTP(S) servers.CeA fully-fledged iroh-relay server over HTTP or HTTPS.BeMetrics tracked for the relay server.C`Private source type, cannot be created publicly.0ClReturns a stream which will yield the most recent values \xe2\x80\xa6DeEncodes a EndpointId in z-base-32 encoding.0CgStatistics about UDP datagrams received on a connectionCjStatistics about UDP datagrams transmitted on a connectionB`A QAD IPv4 round trip completed.B`A QAD IPv6 round trip completed.CgUpdates the watcher to the latest value and returns \xe2\x80\xa6ClVerify a signature on a message with this secret key\xe2\x80\x99s \xe2\x80\xa60CcNumber of ack-eliciting bytes that may be in flightDjquinn_proto types that are used in the public iroh API. A \xe2\x80\xa6AeBoxed iterator alias.BfBuilder for DhtDiscovery.BbBuilder for Endpoint.BeBuilder for DnsResolver.ClUse the default relay map, with production relay servers \xe2\x80\xa6BbUse the default bootstrap servers.CmA peer was expired due to being inactive, unreachable, or \xe2\x80\xa6AkMetrics for iroh-dns-serverBdMetrics tracked for the relay serverDiquinn types that are used in the public iroh API. Future \xe2\x80\xa6BfUse the staging relay servers from n0.CcThe peer is no longer accepting data on this streamCaThe stream is larger than the user-supplied limitAdNot yet determined..CkA handle to a value that\xe2\x80\x99s represented by one or more \xe2\x80\xa6Dbquinn types that are used in the public iroh API. \xe2\x80\xa6CfNumber of times this server has accepted a connection.0EhCreates a DnsDiscoveryBuilder that implements IntoDiscovery\xe2\x80\xa6DhReturns a PkarrPublisherBuilder that publishes endpoint \xe2\x80\xa6ChCreates a new resolver builder using the pkarr relay \xe2\x80\xa6CdCreates a new builder for DhtDiscovery.CoReturns a MdnsDiscoveryBuilder that implements \xe2\x80\xa6CmCreates a builder to construct a DNS resolver with custom \xe2\x80\xa6DiReturns a default QuicTransportConfigBuilder that allows \xe2\x80\xa6DgReturns the builder for an Endpoint, with a production \xe2\x80\xa6DdCreates a new Router using given Endpoint.3CcThe total number of clients which should be createdBkConnects to a remote Endpoint.CaEstablishes a new connection to the relay server.CgDecrypt the packet payload with the given packet numberBcDecrypt the given packet\xe2\x80\x99s headerClThe list of domains for which SSL certificates should be \xe2\x80\xa6BjSet to true to enable the mainline lookup.CgEncrypt the packet payload with the given packet numberBcEncrypt the given packet\xe2\x80\x99s headerBnDo we have any indication that UDP is working?CbCheck if this stream has been opened during 0-RTT.0BkCo-locating all of the iroh metrics structsCmRetrieve implementation-specific metrics used to populate \xe2\x80\xa60BlReturns metrics collected for this endpoint.CgShow iroh library counter metrics at the end of the \xe2\x80\xa6AnMetrics support for the serverAbMetrics collector.AnConfig for the metrics server.CbReturns the metrics collected in the relay server.CnThe maximum UDP payload size guaranteed to be supported by \xe2\x80\xa6BbOne or more packets were just sent0BnInitiates a new outgoing bidirectional stream.EdDomain used for serving the _iroh.<endpointid>.<origin> \xe2\x80\xa6ChPresets allow configuring an endpoint quickly with a \xe2\x80\xa6CeIf set, is a description of why the connection is \xe2\x80\xa6DbPublishes the given EndpointData to the discovery \xe2\x80\xa6BfPublishes a SignedPacket.ClNumber of reports executed by net_report, including full \xe2\x80\xa6DnResolves the DiscoveryItem for the given EndpointId.DkResolves a SignedPacket for the given EndpointId.AdResolve a DNS query.BoAAAA record to set for all originsAfStaging configuration.CiCompletes when the peer stops the stream or reads the \xe2\x80\xa6CcThe total number of streams which should be createdClImplements logic for abstracting over a websocket stream \xe2\x80\xa6CeThe length of the AEAD tag appended to packets on \xe2\x80\xa6ClExposes functions to quickly configure a server suitable \xe2\x80\xa6BgCancel-safe waiting for a ping timeout.BaReturns a connection info struct.CgAn advisory duration for how long the client should \xe2\x80\xa6DfReturns a future completing with Ok(value) once a new \xe2\x80\xa6Diquinn types that are used in the public iroh API. Future \xe2\x80\xa6CkIf the 0-RTT data was accepted, you can continue to use \xe2\x80\xa6AeThe shared app state.C`The mode how SSL certificates should be created.BdDatagram support is disabled locallyCmDisable relay servers completely. This means that neither \xe2\x80\xa6AcDisable rate limit.B`Potential errors related to dns.ClControls an iroh endpoint, establishing connections with \xe2\x80\xa6hEveryoneBbThe address is not currently used.CkAn incoming connection for which the server has not yet \xe2\x80\xa6B`The largest encoded value lengthCmthe connection is being closed abruptly in the absence of \xe2\x80\xa6CmApplication layer with a specific name added the endpoint \xe2\x80\xa6DcInformation about a network path used by a Connection.CiIf the 0-RTT data was rejected, any streams that were \xe2\x80\xa6CmList of relay server configurations to be used in an iroh \xe2\x80\xa60BaA URL identifying a relay server.0BeTrait for DNS resolvers used in iroh.Dbquinn types that are used in the public iroh API. \xe2\x80\xa6CnCommunication with the peer has lapsed for longer than the \xe2\x80\xa6Dhquinn_proto types that are used in the public iroh API. \xe2\x80\xa6ClThe datagram is larger than the connection can currently \xe2\x80\xa61CkUnder the hood this is a UTF-8 String is no longer than \xe2\x80\xa600BdGet this public key as a byte array.0EhReturns true if a relay with url is contained in this this \xe2\x80\xa60AoThe contents of the datagram(s)AgGet the data directory.CeLocation where all data of iroh-dns-server is stored.BhDefault values used in irohBaDefault values used in the relay.AkDisable the metrics server.BjSet to true to disable the metrics server.ChReturns the Endpoint stored in this router.CbReturns the Endpoint of the endpoint.DkThe Endpoint allows establishing connections to other iroh \xe2\x80\xa6C`Statistics about frames received on a connectionCcStatistics about frames transmitted on a connectionDkCreates a new qlog factory that writes files into QLOGDIR, \xe2\x80\xa6DdCreates a new QlogFileGroup that is only enabled if \xe2\x80\xa6CfCreates a new user error from an arbitrary error type.00BjConstruct a VarInt infalliblyBeSucceeds iff x < 2^62DfParses a EndpointId from z-base-32 encoding.0DbGenerate a new SecretKey with a randomness generator.0C`Number of FrameType::Pings received0BnGet the server\xe2\x80\x99s http RelayUrl.CmSpecifies the time to wait after completing MTU discovery \xe2\x80\xa6CcReturns Self for use in down-casting to extract \xe2\x80\xa6BlReturns a list of IP addresses of this peer.BmReturns the direct addresses of the endpoint.10CkReturns true, if only a EndpointId is present.CeReturns true if this relay map is empty.BaIs there any services configured?BoReturns true if the list is empty.32CgWhether this is a transport address via a relay server.00CmDuration after an address validation token was issued for \xe2\x80\xa6CmReturns the local IP address which was used when the peer \xe2\x80\xa6AoConfig for the mainline lookup.AbStarts a new ping.BoInitiates a new outgoing unidirectional stream.BcGet the priority of the send streamCjTools for spawning an accept loop that routes incoming \xe2\x80\xa6BbCalled when the router shuts down.BkSee ProtocolHandler::shutdown.BcShuts down the accept loop cleanly.CfShutdown the server an wait for all tasks to complete.CgShutdown the server and wait for all tasks to complete.CkCancel the server tasks and wait for all tasks to complete.AfShutdown the resolver.AkRequests graceful shutdown.AlSlow start threshold (bytes)CkConvert this to the bytes representing the secret part. \xe2\x80\xa6AlReturn the inner byte array.10BeSucceeds iff x < 2^6200Diquinn types that are used in the public iroh API. Future \xe2\x80\xa6BeIn-progress connection attempt futureCmRepresents datagrams sent from relays (originally sent to \xe2\x80\xa6CnRequest from the client to relay datagrams to given remote \xe2\x80\xa6CjOne or multiple datagrams being transferred via the relay.CeErrors that can occur while dialing the relay server.CbThe address was discovered by a discovery service.CdEndpoint discovery for super::Endpoint.AcDNS server settingsBnA DNS server that serves pkarr signed packets.Djquinn_proto types that are used in the public iroh API. A \xe2\x80\xa6BgPossible frame types during handshakingDhquinn_proto types that are used in the public iroh API. \xe2\x80\xa6AdA net_report report.1Dbquinn types that are used in the public iroh API. \xe2\x80\xa6mA public key.0AeA read error occurredDiquinn types that are used in the public iroh API. Errors \xe2\x80\xa6CeErrors when receiving messages from the relay server.D`Configuration of the relay servers for an Endpoint.CiUse a TLS key and certificate chain that can be reloaded.mA secret key.0BoError for sending messages to the relay server.AbEd25519 signature.0BcTLS configuration for Relay server.BaA store for pkarr signed packets.BnAccept the next incoming bidirectional stream.BcAdd addresses to the endpoint data.0DbAdds an already Boxed Discovery service.CiSets whether this endpoint should advertise its presence.BhThe address this transport will bind on.BkOptionally set a custom address to bind to.CmThe IPv4 or IPv6 address to bind the UDP DNS server. Uses \xe2\x80\xa6CmOptionally set a custom bind address (will use 0.0.0.0 if \xe2\x80\xa60ChThe socket address on which the QUIC server should bind.AkSet custom bootstrap nodes.BdThe mode of SSL certificate creationCjRate limits for incoming traffic from a client connection.BbDuplicate the controller\xe2\x80\x99s stateBdThe amount of UDP datagrams observedBlThe datagrams and related metadata to relay.BcThe datagrams and related metadata.AkEndpoint address discovery.CiAdds an additional discovery mechanism for this endpoint.BoReturns the discovery mechanism, if configured.E`Create a ConcurrentDiscovery with DnsDiscovery and \xe2\x80\xa6CnConvert to a hex string limited to the first 5 bytes for a \xe2\x80\xa60DjCreates a RelayMap from an iterator of RelayUrl.0Afip:port of global IPv4Be[ip]:port of global IPv6ClImplements the handshake protocol that authenticates and \xe2\x80\xa6AmDoes this have any addresses?0BiGet the bound address of the HTTP socket.CcThe socket address the HTTP server is listening on.BoGet the server\xe2\x80\x99s https RelayUrl.AjCreate an in-memory store.BoWhich side of a connection initiated the streamDhConverts this Connecting into a 0-RTT connection at the \xe2\x80\xa6DkConverts this Accepting into a 0-RTT or 0.5-RTT connection \xe2\x80\xa6BiConverts into TransportAddr.BaBase types and utilities for IrohBoShorthand for self == Side::ClientCiCheck if this endpoint is still alive, or already closed.BoShorthand for self == Side::ServerBmMetrics collected by the endpoint\xe2\x80\x99s socket.BaThe HTTP URL of the Pkarr server.CiAttempts to read from the stream into the provided bufferCkSets an explicit proxy url to proxy all HTTP(S) traffic \xe2\x80\xa6CjSet an explicit proxy url to proxy all HTTP(S) traffic \xe2\x80\xa6CcThe socket address the QUIC server is listening on.BdReturns the relay map for this mode.BnThe RelayMap used for this relay.DaReturns the EndpointId of the endpoint that this \xe2\x80\xa6DfReturns the EndpointId from the peer\xe2\x80\x99s TLS certificate.BlNumber of FrameType::Pongs sent0BiSets the list of accepted ALPN protocols.BhA stable identifier for this connection.BaSubscribe to discovered endpointsCgReturns the optional user-defined data of the endpoint.AnReturns any user-defined data.1BoWrite a buffer into this stream in its entiretyAnTLS certificate configuration.CbThe client frame type for the authentication frameB`The send half of a relay client.BcAn outgoing connection in progress.BlWe established a connection on this address.AbA QUIC connection.Dhquinn_proto types that are used in the public iroh API. \xe2\x80\xa6D`A direct address on which an iroh-endpoint might be \xe2\x80\xa6ChA peer was discovered or it\xe2\x80\x99s information was updated.AeState for serving DNSCeThe identifier for an endpoint in the (iroh) network.04AjConfig for the HTTP serverBjThe HTTP(S) server part of iroh-dns-serverCbThe max byte length allowed for user-defined data.0ChThe provenance string for this discovery implementation.CeAn address assigned by the router using port mapping.BeConfiguration for qlog trace logging.CbHandles the client side of QUIC address discovery.BbConfiguration for the QUIC server.ChThe HTTP path under which the relay accepts relaying \xe2\x80\xa6Dkquinn types that are used in the public iroh API. A stream \xe2\x80\xa6BdInformation about a remote endpoint.Diquinn types that are used in the public iroh API. Errors \xe2\x80\xa6CmSent from server to client for the server to declare that \xe2\x80\xa6ClA one-way message from relay to client, advertising that \xe2\x80\xa6DkOnly endpoints for which the function returns Access::Allow\xe2\x80\xa6DhError for attempting to retry an Incoming which already \xe2\x80\xa6CiCreate self-signed certificates and store them in the \xe2\x80\xa67AcServer spawn errorsDhquinn_proto types that are used in the public iroh API. \xe2\x80\xa67CaAccepts the next incoming uni-directional stream.CkWhether the implementation is permitted to set the spin \xe2\x80\xa6ChBytes received from a FrameType::SendPacket0CdBytes sent from a FrameType::SendPacket0BnClass of error as encoded in the specificationB`Application-specific reason codeCcError code to send with the connection close frame.BcType of frame that caused the closeCgCreates a new user error from an arbitrary boxed error.CiConstruct a PublicKey from a slice of bytes.CaCreate a secret key from its byte representation.BmParse an Ed25519 signature from a byte slice.210CgCreates a new EndpointAddr from its parts.CgCreates a new EndpointInfo from its parts.10BjGet the bound address of the HTTPS socket.CdThe socket address the HTTPS server is listening on.CjConverts into an iterator over known all addresses for \xe2\x80\xa6AiExtract the integer valueCkIroh\xe2\x80\x99s relay is a feature within iroh, a peer-to-peer \xe2\x80\xa6AiIs this endpoint allowed?BlGet the local address of the UDP/TCP socket.BhReturns the local address of the client.AfLooks up a TXT record.AeLooks up TXT records.1BeThe amount of bytes lost on this pathBeThe socket address of the DNS server.BaMetrics collected by net reports.C`Disables publishing even if a secret key is set.ChWhether to run a local relay and have the server and \xe2\x80\xa6CjPad UDP datagrams carrying application data to current \xe2\x80\xa6AnNumber of PCP probes executed.AiCreate a persistent storeC`Attempt to write bytes from buf into the stream.BlMetrics collected by the portmapper service.BnReturns the provenance of this discovery item.AmRead the next segment of dataAoReads the next segment of data.CkRead an exact number of bytes contiguously from the stream.CdSets the relay servers to assist in establishing \xe2\x80\xa6BjReturns a list of relay urls of this peer.BfReturns the relay URL of the endpoint.10CgSets the secret key to use for signing the DNS packets.CcSets a secret key to authenticate with other peers.BhReturns the secret_key of this endpoint.BoEpoch qlog event times are recorded relative toBfInternal utilities to support testing.CfCreates a TlsConfig suitable for testing.EeReturns a Watcher for the current EndpointAddr for this \xe2\x80\xa6AiAdds a list of addresses.0AjConfig for the zone store.CmWraps an existing protocol, limiting its access, based on \xe2\x80\xa6CgThe address was advertised by a call-me-maybe DISCO \xe2\x80\xa6Dhquinn_proto types that are used in the public iroh API. \xe2\x80\xa6CaProtocols over which DNS records can be resolved.CcThe DNS resolver used throughout iroh.0AkConfig for the HTTPS serverDjquinn types that are used in the public iroh API. Maximum \xe2\x80\xa6AmACME with LetsEncrypt serversAdUse Let\xe2\x80\x99s Encrypt.BjTracks pings on a single relay connection.D`Constructs a QlogConfig for individual connections.BgInformation on a specific relay server.0CbConfiguration for the Relay HTTP and HTTPS server.AiThe config for the store.CcAccepts this incoming connection using a custom \xe2\x80\xa6BcRemoves all entries from the cache.AjClears the internal cache.1BbCreate a connection usable for qadCdLargest UDP payload size the path currently supportsCaSOA record data for any authoritative DNS recordsCmDefault time to live for returned DNS records (TXT & SOA)BiDescription to record in the qlog captureCiNumber of connections we have removed because of an error0AhHandler for DNS requestsCcReturns the endpoint id of the discovered endpoint.CjThe EndpointId of the endpoint this is about.BdThe id of the endpoint that expired.11CkThe initial value to be used as the maximum UDP payload \xe2\x80\xa6BkStarting guess for maximum UDP payload sizeBkThe RTT used before an RTT sample is taken.DjReturns a future completing once the value is set to Some \xe2\x80\xa6D`Returns true if this path is currently the main \xe2\x80\xa6BiChecks if the router is already shutdown.BgPerforms an IPv4 lookup with a timeout.AiLooks up an IPv4 address.1BgPerforms an IPv6 lookup with a timeout.AiLooks up an IPv6 address.1CeThe amount of concurrent streams which should be usedDdPackets are acked in batches, all with the same now \xe2\x80\xa60ClWait until a Pkarr announce for an endpoint is published \xe2\x80\xa6AdPacing rate (bits/s)B`Sets the pkarr relay URL to use.CgCreates a QuicConfig suitable for testing.AnRead the next segments of dataCkConvenience method to read all remaining data into a bufferCgThe remote transport address used by this network path.ChReturns addressing information about a recently used \xe2\x80\xa6BoThe sample size used for this key\xe2\x80\x99s algorithmCiMaximum number of bytes to transmit to a peer without \xe2\x80\xa6B`Returns the handle for the task.CaNumber of bytes to transmit from client to serverAoNumber of UPnP probes executed.CnSpecifies the upper bound to the max UDP payload size that \xe2\x80\xa6CeSets a prefix to the filename of the generated files.DbWrite a single Bytes into this stream in its entiretyCfControls which endpoints are allowed to use the relay.BcThe receive half of a relay client.CgThe stream has already been stopped, finished, or resetBmThe stream has already been finished or resetDhquinn types that are used in the public iroh API. Error \xe2\x80\xa6AbConnection errors.CgPkarr Mainline DHT and relay server endpoint discovery.AfDNS endpoint discoveryCjNetwork-level addressing information for an iroh endpoint.0CgData about an endpoint that may be published to and \xe2\x80\xa600ChSent from server to client to signal that a previous \xe2\x80\xa6CjIndicates that the client identified by the underlying \xe2\x80\xa6CnInformation about an endpoint that may be published to and \xe2\x80\xa600EaList of PathInfo for the network paths of a Connection.Diquinn types that are used in the public iroh API. Future \xe2\x80\xa6BdMetrics tracked for the relay serverBhAll metrics tracked in the relay server.Dhquinn_proto types that are used in the public iroh API. \xe2\x80\xa63BiParameters governing incoming connectionsBaConfiguration for the full Relay.Diquinn types that are used in the public iroh API. Errors \xe2\x80\xa6CkAdds an IP transport, binding to the provided IPv4 address.CkAdds an IP transport, binding to the provided IPv6 address.ChThe certificates chain if configured with manual TLS \xe2\x80\xa6BlIf the connection is closed, the reason why.AlConservative estimate of RTTDkConfigures a default IPv4 transport, listening on 0.0.0.0:0\xe2\x80\xa6DfConfigures a default IPv6 transport, listening on [::]:0.AdDNS requests (total)AmSets the DNS resolver to use.CnSets the DNS resolver to use for resolving the pkarr relay \xe2\x80\xa60CiOptionally sets a custom DNS resolver to use for this \xe2\x80\xa6ClReturns the DNS resolver used in this Endpoint.DhCreate a DnsResolver configured to use the test DNS server.CnCreates a new user error from an arbitrary error type that \xe2\x80\xa6CjCreates a new user error from an arbitrary boxed error \xe2\x80\xa60CmAdds the provided configuration to the RelayMap.CiWhether this watcher is still connected to all of its \xe2\x80\xa6CnReturns the optional timestamp when this endpoint info was \xe2\x80\xa6CjOptional timestamp when this endpoint address info was \xe2\x80\xa6BgThe amount of packets lost on this pathAkSocket to serve metrics on.DgOptional interception point to handle the Accepting state.BoSee ProtocolHandler::on_accepting.DiPolls for the next value, or returns Disconnected if one \xe2\x80\xa6D`Configures qlog capturing by setting a QlogFactory.CkAn advisory duration that the client should wait before \xe2\x80\xa6ChCreates a RelayConfig suitable for testing.DdRemoves the configuration from the RelayMap for the \xe2\x80\xa6BmNumber of full reports executed by net_reportC`Resolves a hostname from a URL to an IP address.0CkThe segment size if this transmission contains multiple \xe2\x80\xa6BgThe amount of packets sent on this pathAkSets a custom service name.BcSet the priority of the send streamAiAdds an IP based address.0DgWrite a slice of Bytes into this stream, returning how \xe2\x80\xa6CmThe connection could not be created because not enough of \xe2\x80\xa60oBuild a Client.D`Endpoint discovery results from Discovery services.ChEndpointHooks intercept the connection establishment \xe2\x80\xa6DiExtension methods for EndpointId to encode to and decode \xe2\x80\xa60BnThe stream finished before all bytes were readCcreceived an invalid Retry Token in a client InitialBeThe DNS name for the iroh TXT record.0DdTrait for structs that can be converted into Discovery.BkThe local application closed the connectionDaDiscovery using swarm-discovery, a variation on mdnsBbThe config for the metrics server.CkResolver of endpoint discovery information from a pkarr \xe2\x80\xa6CcHard NAT: QAD\xe2\x80\x99ed IPv4 address + local fixed port.CcBuilder to create one or more related qlog configs.DcBuilder for creating a Router for accepting protocols.AhAvailable address types.0AmRecord data for a TXT record.AaReturned from \xe2\x80\xa6CnReturns the local socket addresses on which the underlying \xe2\x80\xa6CaNumber of bytes to transmit from server to clientDcReturns the builder for an Endpoint, with an empty \xe2\x80\xa6ClSupport for handling DNS resource records for dialing by \xe2\x80\xa6DbReturns the EndpointInfo for the discovered endpoint.CbThe endpoint info for the endpoint, as discovered.2BoCreates a new ConcurrentDiscovery.AgNumber of HTTP requestsAmGet the IncomingCnThe max_ack_delay we will request the peer to useBoThe number of NAT traversal attempts initiated.CkThe known MTU for the current network path has been updatedBmNumber of PCP probes that found it available.BcCryptographic identity of the peer.CnAttempts to read from the stream into the provided buffer, \xe2\x80\xa6BnUpdates the ping tracker with a received pong.DjConfigures qlog capturing through the QLOGDIR environment \xe2\x80\xa6BaReceives an application datagram.Abkeyed by relay UrlDgTransmits data as an unreliable, unordered application \xe2\x80\xa6CmWhether to implement fair queuing for send streams having \xe2\x80\xa6CaThe TLS server configuration for the QUIC server.AiThe server configuration.CiCreates a ServerConfig suitable for testing.CePrivate key used to authenticate data included in \xe2\x80\xa6C`Sets the user-defined data of the endpoint data.0DiSplits the current datagram into at maximum num_segments \xe2\x80\xa6CaCreates a RelayMap from an iterator.0CkToString::to_string, but without panic on OOM.000000000000000000000000000000000000000000000000000000000000000000000CnSets the direct addresses and returns the updated endpoint \xe2\x80\xa6CgSets the IP based addresses and returns the updated \xe2\x80\xa610DbOptions for the Endpoint::connect_with_opts function.AoInformation about a connection.AgThe connection was lost0000AkThe type of direct address.A`Discovery errorsCmAn event emitted from the MdnsDiscovery service.CeHandle and drop guard for test DNS and Pkarr servers.Cithe endpoint encountered an internal error and cannot \xe2\x80\xa6BbThe config for the metrics server.Amno viable network path existsCjPublisher of endpoint discovery information to a pkarr \xe2\x80\xa6AnEnum of metrics for the moduleDiquinn types that are used in the public iroh API. Errors \xe2\x80\xa60BcVerification of a signature failed.0BkError returned when a staggered call fails.ChA static endpoint discovery to manually add endpoint \xe2\x80\xa6CmThe peer violated the QUIC specification as understood by \xe2\x80\xa6Dhquinn_proto types that are used in the public iroh API. \xe2\x80\xa6AfDerive AEAD using hkdfAdHandle a DNS requestCgIntercept outgoing connections before they are started.0CjCaptivePortal is set when we think there\xe2\x80\x99s a captive \xe2\x80\xa6CdRemoves all direct addresses from the endpoint data.0CgTake the provided endpoint and run the client benchmarkBnCreate a client endpoint and client connection0DiReturns a QlogConfig for a connection, if logging should \xe2\x80\xa6BjParameters negotiated during the handshake0BkParameters negotiated during the handshake.ClThe socket address on which the Relay HTTP server should \xe2\x80\xa6AiInitial congestion windowCnTurns this discovery builder into a ready-to-use discovery \xe2\x80\xa6BnConverts this stream into an unordered stream.CnSpecifies the minimum MTU change to stop the MTU discovery \xe2\x80\xa6CaNotifies the system of potential network changes.B`Number of probing tasks started.CgSets the proxy url from the environment, in this order:BkConfigures qlog capturing into a directory.ClThe socket address on which to server the QUIC server is \xe2\x80\xa6BeWhether to use the unordered read APIClMaximum number of bytes the peer may transmit across all \xe2\x80\xa6CkCompletes when the stream has been reset by the peer or \xe2\x80\xa60BbNumber of QUIC datagrams received.BaReturns the peer\xe2\x80\x99s UDP address.AoWait for all tasks to complete.0CeSaturating integer addition. Computes self + rhs, \xe2\x80\xa60ChSaturating integer subtraction. Computes self - rhs, \xe2\x80\xa6CkMaximum reordering in time space before time based loss \xe2\x80\xa6CkConverts into a list of {key}={value} strings.0CbNumber of FrameType::Unknown received0BnNumber of UPnP probes that found it available.BeAdds a RelayUrl address.CiSets the relay URL and returns the updated endpoint data.CiSets the relay URL and returns the updated endpoint info.210CfSets the user-defined data and returns the updated \xe2\x80\xa6000CdConfigure the bootstrap servers for mainline DHT \xe2\x80\xa6BdPer-client rate limit configuration.Dhquinn_proto types that are used in the public iroh API. \xe2\x80\xa6Djquinn types that are used in the public iroh API. Reasons \xe2\x80\xa6DfTrait to track the state of a Connection at compile time.Dbquinn types that are used in the public iroh API. \xe2\x80\xa6CoMetrics collected by an crate::endpoint::Endpoint.CnMarker type for a connection that is in the incoming 0-RTT \xe2\x80\xa6DnError when deserialising a PublicKey or a SecretKey.0ClThe maximum size of a packet sent over relay. (This only \xe2\x80\xa6CnMarker type for a connection that is in the outgoing 0-RTT \xe2\x80\xa6BaHandler for incoming connections.BkEnables writing qlog traces to a directory.BbConfig for http server rate limit.CjConfiguration for speaking to the QUIC endpoint on the \xe2\x80\xa6C`The server frame type for the challenge responseAbServer task errors>BcAvailable transport configurations.CbThe peer doesn\xe2\x80\x99t implement any supported versionCbThis was a 0-RTT stream and the server rejected it000CmIntercept both incoming and outgoing connections once the \xe2\x80\xa60C`Removes all discovery services from the builder.BjReturns the current timeout set for pings.B`The remote endpoint to relay to.AkThe endpoint origin domain.CgParses a EndpointInfo from DNS TXT lookup.0CfThe socket address on which to serve the HTTPS server.CdMaximum number of incoming packets that may fail \xe2\x80\xa6AlA DNS server and pkarr relayBnMax number of bytes to read in a single burst.BoSet the maximum number of TLS tickets to cache.CnProbe indicating the presence of port mapping protocols on \xe2\x80\xa6BeSets the republish delay for the DHT.AoWait for all tasks to complete.CmRun DNS and Pkarr servers on localhost with the specified \xe2\x80\xa6CiCreates a server endpoint which runs on the given runtime0BnObject to get current SystemTime.ChA static endpoint discovery to manually add endpoint \xe2\x80\xa6CkCreates a new DNS resolver configured with a single UDP \xe2\x80\xa6AiAdds a single nameserver.1CmCreates a new static discovery instance with the provided \xe2\x80\xa6Dhquinn_proto types that are used in the public iroh API. \xe2\x80\xa6BmA drop guard to clean up test infrastructure.BeMessages that clients send to relays.CbThe peer\xe2\x80\x99s QUIC stack aborted the connection \xe2\x80\xa6CaThe endpoint can no longer create new connectionsCnreceived a STREAM frame or a RESET_STREAM frame containing \xe2\x80\xa6A`key update errorAnEnum of metrics for the module0DjA pkarr client to publish pkarr::SignedPackets to a pkarr \xe2\x80\xa68ClThe HTTP path under which the relay allows doing latency \xe2\x80\xa6CmThe messages that a relay sends to clients or the clients \xe2\x80\xa6BoThe server frame type for authentication denialCjMax number of bytes per second to read from the client \xe2\x80\xa6CiRecord that the token was used and, ideally, return a \xe2\x80\xa6CdRemoves all direct addresses from the endpoint data.0CjCurrent state of the congestion control algorithm, for \xe2\x80\xa6CiGet the default RelayConfig for Asia-PacificC`Get the default RelayConfig for EU.0BaDNS lookup responses which failedAdDNS requests via UDPCjWhether to use the letsenrypt production servers (only \xe2\x80\xa6CbResolves IPv4 and IPv6 in parallel with a timeout.0B`Number of mapping tasks started.AoNumber of failed mapping tasks.CnMaximum duration of inactivity to accept before timing out \xe2\x80\xa6CmNumber of connections closed (only handshaked connections \xe2\x80\xa6CmNumber of connections opened (only handshaked connections \xe2\x80\xa6CiMaximum reordering in packet number space before FACK \xe2\x80\xa6CiRuns a relay server with QUIC enabled suitable for tests.DdMaximum number of Incoming to allow to exist at a time.DgConverts into a EndpointAddr by cloning the needed fields.00DaSets a custom QuicTransportConfig for this endpoint.AkAdds a list of nameservers.DdWrite a slice of Bytes into this stream in its entiretyCfthe application or application protocol caused the \xe2\x80\xa6BkHostname of the default Asia-Pacific relay.AnThe peer closed the connectionDhquinn_proto types that are used in the public iroh API. \xe2\x80\xa60BoThe default HTTP port used by the Relay server.0CgDefault TTL for the records in the pkarr signed packet.BaHostname of the default EU relay.0Djquinn_proto types that are used in the public iroh API. A \xe2\x80\xa6BcThe given server name was malformedCmA Certificate resolver that reloads the certificate every \xe2\x80\xa6Diquinn types that are used in the public iroh API. Errors \xe2\x80\xa6BfAddress of a remote with some metadataCcThe peer does not support receiving datagram framesCnBurst limit for accepting new connection. Unlimited if not \xe2\x80\xa6CmRate limit for accepting new connection. Unlimited if not \xe2\x80\xa6CjAugments endpoint addressing information for the given \xe2\x80\xa6BcCongestion events on the connectionAiCongestion window (bytes)D`Starts a connection attempt with a remote Endpoint.BfGet the default RelayMap.0CiReturns endpoint addressing information for the given \xe2\x80\xa6BjGet the latest signed packet for a pubkey.CmComputes the maximum size of datagrams that may be passed \xe2\x80\xa6BkFrameType::SendPacket received0BgFrameType::SendPacket sent0CfSets endpoint addressing information for the given \xe2\x80\xa6CiCreates a new client while passing a DNS resolver to use.Cmthe endpoint has reached the confidentiality or integrity \xe2\x80\xa6Dbquinn types that are used in the public iroh API. \xe2\x80\xa6CdThe HTTP header name for relay client authenticationBmthe server refused to accept a new connectionC`The default HTTPS port used by the Relay server.0DiA dyn-compatible version of ProtocolHandler that returns \xe2\x80\xa6Ckreceived more data than permitted in advertised data limitsCgMarker type for a connection that has completed the \xe2\x80\xa6AdIntoDiscovery errors7CjThe maximum amount of time, in seconds, the net_report \xe2\x80\xa6Ckdetected an error with protocol compliance that was not \xe2\x80\xa6CmCan occur when parsing a string into a RelayUrl.0Cjreceived a frame for a stream identifier that exceeded \xe2\x80\xa6Cnreceived a frame for a stream that was not in a state that \xe2\x80\xa6CeThe server frame type for authentication confirmationBlInformation how a transport address is used.Dhquinn_proto types that are used in the public iroh API. \xe2\x80\xa6ChThe local endpoint does not support the QUIC version \xe2\x80\xa61CiMaximum quantity of out-of-order crypto layer data to \xe2\x80\xa6AoReturns the default relay mode.BmDNS lookup responses with at least one answerAlDNS requests via HTTPS (DoH)CeCreates a static discovery instance from endpoint \xe2\x80\xa6C`Create a VarInt without ensuring it\xe2\x80\x99s in rangeCjConverts into a EndpointAddr without cloning.00BnSet the capacity of the cache for public keys.AcKey cache capacity.BdNumber of updates to the local port.BjUses the default number 0 pkarr relay URL.CaPackets of other FrameTypes received0BmPackets of other FrameTypes sent0ChNumber of pkarr relay puts that did not update the stateBfNumber of datagrams received using GROCcThe EndpointId of the original sender.CnSets the interval after which packets are republished even \xe2\x80\xa6DgTransmits data as an unreliable, unordered application \xe2\x80\xa6CnSee quinn_proto::TransportConfig::receive_window.BdNumber of unique client keys per day0AmNumber of failed Upnp probes.CiOverride the instant relative to which all events are \xe2\x80\xa6B`ALPN for our quic addr discoveryChA discovery service that combines multiple discovery \xe2\x80\xa6BmThe encoded information had the wrong length.0BfBuilder for DnsDiscovery.C`Parameters governing the core QUIC state machineBjA builder for a ServerConfig.Dhquinn_proto types that are used in the public iroh API. \xe2\x80\xa6Dkquinn types that are used in the public iroh API. A stream \xe2\x80\xa6CjSpecifies the amount of time that MTU discovery should \xe2\x80\xa6AoRemoves all IP based transportsBdDNS lookup responses with no answersDaReturns true if the use of staging relays is forced.CgWaits until the full handshake occurs and returns a \xe2\x80\xa6ClWaits until the full handshake occurs and then returns a \xe2\x80\xa6CbNumber of HTTP requests with a non-2xx status codeChPeriod of inactivity before sending a keep-alive packet.ChLetsencrypt contact email address (required if using \xe2\x80\xa6CiThe amount of PLPMTUD probe packets lost on this path \xe2\x80\xa6BlPackets were deemed lost or marked congestedCiThe amount of PLPMTUD probe packets sent on this path \xe2\x80\xa6ClReturns a stream which will yield the most recent values \xe2\x80\xa6CeOutcome of EndpointHooks::before_connectCbThe default metrics port used by the Relay server.0Bireceived a frame that was badly formattedCiThe remote SocketAddr supplied was malformedBgBuilder for MdnsDiscovery.BgBuilder for PkarrResolver.Dhquinn types that are used in the public iroh API. Error \xe2\x80\xa6DkSpecifies the ACK frequency config (see AckFrequencyConfig \xe2\x80\xa6CiThe number of times a black hole was detected in the pathDkSpecifies the MTU discovery config (see MtuDiscoveryConfig \xe2\x80\xa6CaNumber of pkarr relay puts that updated the stateAkConfig for pkarr rate limitCmRemoves all endpoint addressing information for the given \xe2\x80\xa6ChThe reordering threshold we will request the peer to useBjFrameType::SendPacket dropped0BoSets a custom QuicTransportConfig.ClPublishes the addressing information about this endpoint \xe2\x80\xa6CnNumber of UPnP probes that resulted in a gateway different \xe2\x80\xa6CeMakes the builder respect the host system\xe2\x80\x99s DNS \xe2\x80\xa6CfOutcome of EndpointHooks::after_handshakeCg32B dest pub key + ECN bytes + one datagram\xe2\x80\x99s contentBjNo default client configuration was set upBiPath abandoned due to unstable interfacesBhBuilder for PkarrPublisher.Cf32B src pub key + ECN bytes + one datagram\xe2\x80\x99s contentDhquinn_proto types that are used in the public iroh API. \xe2\x80\xa6CmMaximum number of packets that may be sent using a single \xe2\x80\xa6CeGet the default RelayConfig for NA east.0CeGet the default RelayConfig for NA west.BnNumber of HTTP requests with a 2xx status codeDgLooks up endpoint info by EndpointId and origin domain \xe2\x80\xa60CiPerforms an IPv4 lookup with a timeout in a staggered \xe2\x80\xa60CiPerforms an IPv6 lookup with a timeout in a staggered \xe2\x80\xa60C`Packets of other FrameTypes dropped0AdRuns a relay server.AiNumber of expired packetsBeSigned packets removed from the storeBeNumber of updates to existing packetsCiMaximum number of bytes the peer may transmit without \xe2\x80\xa6CnSets ALPN identifiers that should be signaled as supported \xe2\x80\xa6CkSets the QUIC transport config options for this connection.Chreceived more data in CRYPTO frames than can be bufferedDkError returned when an input value is too long for UserData\xe2\x80\xa60BaHostname of the default NA relay.BfHostname of the default NA east relay.BfHostname of the default NA west relay.ChThe websocket sub-protocol version that we currently \xe2\x80\xa6BbRemoves all relay based transportsChDerives keying material from this connection\xe2\x80\x99s TLS \xe2\x80\xa6ClWhether the reported public address differs when probing \xe2\x80\xa6BfSigned packets inserted into the storeBkCreates a pkarr::SignedPacket.0CkConfigure a pkarr client for resolution of packets from \xe2\x80\xa6BhFailed to deserialize client auth headerClThe default QUIC port used by the Relay server to accept \xe2\x80\xa60BkThe production pkarr relay run by number 0.CkThe ack-eliciting threshold we will request the peer to useCdReturns if we should prefer ipv6 it replaces the \xe2\x80\xa6CiSets the initial user-defined data to be published in \xe2\x80\xa6BmPath abandoned at the application\xe2\x80\x99s requestChEnvironment variable to force the use of staging relays.CjNumber of times the external address obtained via port \xe2\x80\xa6DkParses a EndpointInfo from a pkarr::SignedPacket.0CkSets whether to include the direct addresses in the DNS \xe2\x80\xa6CfWhether the socket address that is initiating this \xe2\x80\xa6CgMaximum number of received bytes to buffer for each \xe2\x80\xa6ClDuration after a retry token was issued for which it\xe2\x80\x99s \xe2\x80\xa6BhGet the path to the store database file.BdNumber of IP transport paths opened.Cmthe number of connection IDs provided by the peer exceeds \xe2\x80\xa6Dhquinn_proto types that are used in the public iroh API. \xe2\x80\xa6CjA QUIC connection on the server-side that can possibly \xe2\x80\xa6CmPath abandoned due to no available connection IDs for the \xe2\x80\xa6BfThe client side of a 0-RTT connection.AiEndpoint close error codeClreceived transport parameters that were badly formatted, \xe2\x80\xa6ClMaximum number of outgoing application datagram bytes to \xe2\x80\xa6BcTotal duration of all HTTP requestsCeSkip the verification of the relay server\xe2\x80\x99s SSL \xe2\x80\xa6Cn32B dest pub key + ECN byte + segment size u16 + datagrams \xe2\x80\xa6CkThe default capacity of the key cache for the relay server.ClInterval in which to republish the endpoint info even if \xe2\x80\xa6BhThe testing pkarr relay run by number 0.BoBuilder for a QuicTransportConfig.Cm32B src pub key + ECN byte + segment size u16 + datagrams \xe2\x80\xa6CnNumber of bytes received from client connection which have \xe2\x80\xa60CjNumber of client connections which have had any frames \xe2\x80\xa60C`Bytes available in the outgoing datagram buffer.CeRaces an IPv4 and IPv6 lookup with a timeout in a \xe2\x80\xa60DaVariant of max_concurrent_bidi_streams affecting \xe2\x80\xa6BdNumber of IP transport paths closed.CcThe n0 testing DNS endpoint origin, for production.00CkPath abandoned due to resource limitations in the transportAeEndpoint close reasonChWhether to use \xe2\x80\x9cGeneric Segmentation Offload\xe2\x80\x9d to \xe2\x80\xa6ClWhether the reported public address differs when probing \xe2\x80\xa60CmMaximum number of incoming bidirectional streams that may \xe2\x80\xa6CiSets the initial user-defined data to be published in \xe2\x80\xa6CaSets a custom ValidationTokenConfig.BgNumber of relay transport paths opened.BhThe default certificate reload interval.DdCreate a ServerConfigBuilder for this endpoint that \xe2\x80\xa6ClMaximum number of incoming application datagram bytes to \xe2\x80\xa6CkCreates a client config that trusts any servers without \xe2\x80\xa6BdPackets were incorrectly deemed lost0DdSpawn the server and run until the Ctrl-C signal is \xe2\x80\xa6CjHow to construct new congestion::Controllers.BmSets a default per-path maximum idle timeout.CbWhether to send observed address reports to peers.ClModifies the number of bidirectional streams that may be \xe2\x80\xa6BgNumber of relay transport paths closed.C`The n0 testing DNS endpoint origin, for testing.00BcLooks up endpoint info by DNS name.0BiEnables the Multipath Extension for QUIC.DhMaximum number of received bytes to buffer for all IncomingCmModifies the number of unidirectional streams that may be \xe2\x80\xa6ChSkip verification of SSL certificates from relay serversDgLooks up endpoint info by EndpointId and origin domain \xe2\x80\xa60CeNumber of consecutive PTOs after which network is \xe2\x80\xa6BlSets a default per-path keep alive interval.CjWhether to receive observed address reports from other \xe2\x80\xa6DiCreates a rustls::ServerConfig and certificates suitable \xe2\x80\xa6AcNat traversal draftCkSets the maximum number of nat traversal addresses this \xe2\x80\xa6CjLooks up endpoint info by DNS name in a staggered fashion.0") \ No newline at end of file diff --git a/pr/3734/docs/search.index/entry/cc1fb6b4bad9.js b/pr/3734/docs/search.index/entry/cc1fb6b4bad9.js new file mode 100644 index 0000000000..275dfa4ca0 --- /dev/null +++ b/pr/3734/docs/search.index/entry/cc1fb6b4bad9.js @@ -0,0 +1 @@ +rd_("Ai[2008,14,5637,0,7775,0,0]0Ai[6662,14,5636,0,7774,0,0]Ah[2008,15,4284,0,318,0,0]Al[6662,15,3308,3308,5104,0,0]Ai[2008,15,2009,0,7216,0,0]Al[2008,15,4284,6716,7579,0,0]Al[5429,15,5430,7230,7217,0,0]Ae[2008,5,3939,0,0,0,0]Ai[2008,14,2977,0,6724,0,0]Ah[2008,14,2977,0,981,0,0]Ai[2008,14,2977,0,5591,0,0]Al[2008,13,2009,0,7079,5137,0]Al[2008,13,2009,0,7216,5137,0]Al[2008,13,2009,0,5143,5137,0]Al[2008,13,2009,0,5163,5137,0]Al[2008,13,2009,0,4249,5137,0]Al[2008,13,2009,0,4246,5137,0]Al[2008,13,2009,0,6759,5137,0]Al[2008,13,2009,0,5126,5137,0]Al[2008,13,5394,0,7082,5137,0]Al[2008,13,5394,0,4264,5137,0]Al[2008,13,5394,0,7087,5137,0]Ao[2008,13,5394,5394,7181,5137,0]Ao[2008,13,2016,2016,7366,5137,0]Al[2008,13,4284,0,7835,5137,0]Al[2008,13,4284,0,7386,5137,0]Al[2008,13,4284,0,5148,5137,0]Al[2008,13,4284,0,5655,5137,0]Al[2008,13,4284,0,7385,5137,0]Al[2008,13,4284,0,5673,5137,0]Al[2008,13,4284,0,7116,5137,0]Al[2008,13,4284,0,7946,5137,0]Al[2008,13,4284,0,2985,5137,0]Al[2008,13,4284,0,7986,5137,0]Al[2008,13,4284,0,2462,5137,0]Ao[2008,13,4284,7153,7099,5137,0]Ao[2008,13,4284,7153,4242,5137,0]Ao[2008,13,4284,6703,2978,5137,0]Al[2008,13,4284,0,2961,5137,0]Al[2008,13,4284,0,5138,5137,0]Al[2008,13,4284,0,3827,5137,0]Al[2008,13,4284,0,7067,5137,0]Ao[2008,13,4284,5434,5601,5137,0]Ao[2008,13,4284,5434,7362,5137,0]Al[2008,13,4284,0,7530,5137,0]Ao[2008,13,4284,4284,5154,5137,0]Al[2008,13,4284,0,6744,5137,0]Al[2008,13,4284,0,8097,5137,0]Al[2008,13,4284,0,5114,5137,0]Al[2008,13,4284,0,7524,5137,0]Al[2008,13,4284,0,7744,5137,0]Al[2008,13,4284,0,7765,5137,0]Al[2008,13,4284,0,7398,5137,0]Al[2008,13,4284,0,7892,5137,0]Ak[2008,13,4284,0,993,5137,0]Ak[2008,13,4284,0,318,5137,0]Al[2008,13,4284,0,4254,5137,0]Ao[5429,13,5430,7230,7080,5137,0]Ao[5429,13,5430,7230,7217,5137,0]An[5429,13,5430,886,5144,5137,0]An[5429,13,5430,886,5164,5137,0]Ao[5429,13,5430,5452,4250,5137,0]An[7721,13,1580,945,4208,5137,0]Ao[6662,13,6663,5449,4247,5137,0]Ao[6662,13,6663,5449,6760,5137,0]Ao[6662,13,6663,5449,7571,5137,0]Ao[6662,13,3590,3590,2925,5137,0]Ao[6662,13,3315,3315,5115,5137,0]Ao[6662,13,2887,2887,7768,5137,0]Ao[6662,13,2887,2887,7747,5137,0]Ao[6662,13,2887,2887,5101,5137,0]Am[6662,13,583,583,6733,5137,0]Ao[6662,13,7231,7231,7083,5137,0]Ao[6662,13,7231,7231,4265,5137,0]Ao[6662,13,7231,7231,7088,5137,0]Ai[2008,14,2009,0,7079,0,0]Ai[2008,13,4284,0,5653,0,0]Ai[2008,13,4284,0,7949,0,0]Ai[2008,13,4284,0,5663,0,0]Al[2008,13,4284,7049,5654,0,0]Al[2008,13,4284,4284,4223,0,0]Al[5429,14,5430,7230,7080,0,0]Ai[2008,13,2009,0,3826,0,0]Al[2008,13,2009,0,7079,5140,0]Al[2008,13,2009,0,7216,5140,0]Al[2008,13,2009,0,5143,5140,0]Al[2008,13,2009,0,7548,5140,0]Al[2008,13,2009,0,5158,5140,0]Al[2008,13,2009,0,5163,5140,0]Al[2008,13,2009,0,7389,5140,0]Al[2008,13,2009,0,4249,5140,0]Al[2008,13,2009,0,7883,5140,0]Al[2008,13,2009,0,4246,5140,0]Al[2008,13,2009,0,6759,5140,0]Al[2008,13,2009,0,5126,5140,0]Al[2008,13,3922,0,7381,5140,0]Al[2008,13,3922,0,7759,5140,0]Al[2008,13,3922,0,7105,5140,0]Ao[2008,13,3922,3922,7533,5140,0]Al[2008,13,3922,0,7760,5140,0]Al[2008,13,5394,0,7082,5140,0]Al[2008,13,5394,0,4264,5140,0]Al[2008,13,5394,0,7087,5140,0]Al[2008,13,5394,0,5640,5140,0]Ao[2008,13,5394,5394,7873,5140,0]Ao[2008,13,5394,5394,7364,5140,0]Ao[2008,13,5394,5394,7181,5140,0]Ao[2008,13,5394,5394,7931,5140,0]Am[2008,13,585,585,7077,5140,0]Am[2008,13,585,585,7936,5140,0]Ao[2008,13,2880,2880,5646,5140,0]Ao[2008,13,2880,2880,8013,5140,0]Ao[2008,13,2880,2880,7380,5140,0]Ao[2008,13,2880,2880,7985,5140,0]Ao[2008,13,2880,2880,7207,5140,0]Ao[2008,13,2880,2880,7764,5140,0]Am[2008,13,579,579,7075,5140,0]Am[2008,13,579,579,3775,5140,0]Ao[2008,13,7735,7735,7393,5140,0]Ao[2008,13,2016,2016,7204,5140,0]Ao[2008,13,2016,2016,7984,5140,0]Ao[2008,13,2016,2016,7366,5140,0]Ak[2008,13,584,0,6734,5140,0]Al[2008,13,4284,0,3802,5140,0]Al[2008,13,4284,0,2958,5140,0]Al[2008,13,4284,0,5086,5140,0]Al[2008,13,4284,0,4202,5140,0]Al[2008,13,4284,0,7104,5140,0]Al[2008,13,4284,0,7109,5140,0]Al[2008,13,4284,0,7835,5140,0]Al[2008,13,4284,0,5653,5140,0]Al[2008,13,4284,0,7949,5140,0]Al[2008,13,4284,0,7386,5140,0]Al[2008,13,4284,0,5148,5140,0]Al[2008,13,4284,0,5655,5140,0]Al[2008,13,4284,0,7385,5140,0]Al[2008,13,4284,0,5663,5140,0]Al[2008,13,4284,0,5673,5140,0]Al[2008,13,4284,0,7116,5140,0]Al[2008,13,4284,0,5648,5140,0]Ak[2008,13,4284,0,975,5140,0]Ao[2008,13,4284,7049,5654,5140,0]Ao[2008,13,4284,7049,7838,5140,0]Ao[2008,13,4284,7049,7891,5140,0]Al[2008,13,4284,0,7576,5140,0]Al[2008,13,4284,0,7946,5140,0]Al[2008,13,4284,0,2985,5140,0]Al[2008,13,4284,0,7986,5140,0]Al[2008,13,4284,0,2462,5140,0]Ao[2008,13,4284,7153,7099,5140,0]Ao[2008,13,4284,7153,4242,5140,0]Ao[2008,13,4284,6703,2978,5140,0]Al[2008,13,4284,0,2961,5140,0]Al[2008,13,4284,0,7108,5140,0]Al[2008,13,4284,0,4262,5140,0]Al[2008,13,4284,0,5612,5140,0]Al[2008,13,4284,0,5138,5140,0]Al[2008,13,4284,0,7532,5140,0]Al[2008,13,4284,0,3827,5140,0]Al[2008,13,4284,0,7067,5140,0]Ao[2008,13,4284,6716,7579,5140,0]Ao[2008,13,4284,5434,5601,5140,0]Ao[2008,13,4284,5434,7362,5140,0]Ao[2008,13,4284,6460,2924,5140,0]Ao[2008,13,4284,6460,4229,5140,0]Ao[2008,13,4284,6460,5661,5140,0]Ao[2008,13,4284,6460,7930,5140,0]Ao[2008,13,4284,6460,5588,5140,0]Ao[2008,13,4284,6460,5087,5140,0]Ao[2008,13,4284,6460,5090,5140,0]Ao[2008,13,4284,6460,7522,5140,0]Ao[2008,13,4284,6460,7224,5140,0]Ao[2008,13,4284,6460,5598,5140,0]Ao[2008,13,4284,6460,7871,5140,0]Ao[2008,13,4284,6460,7534,5140,0]Ao[2008,13,4284,6460,7564,5140,0]Ao[2008,13,4284,6460,8015,5140,0]Ao[2008,13,4284,6460,7356,5140,0]Ao[2008,13,4284,2867,7967,5140,0]Ao[2008,13,4284,2867,8009,5140,0]Ao[2008,13,4284,2218,8117,5140,0]Ao[2008,13,4284,2218,7944,5140,0]Ao[2008,13,4284,2218,7945,5140,0]Ao[2008,13,4284,2218,7111,5140,0]Ao[2008,13,4284,4284,3776,5140,0]Ao[2008,13,4284,4284,4223,5140,0]Ao[2008,13,4284,4284,7969,5140,0]Ao[2008,13,4284,4284,7071,5140,0]Ao[2008,13,4284,4284,5093,5140,0]Al[2008,13,4284,0,7530,5140,0]Ao[2008,13,4284,4284,7355,5140,0]Ao[2008,13,4284,4284,5154,5140,0]Al[2008,13,4284,0,7569,5140,0]Al[2008,13,4284,0,7863,5140,0]Al[2008,13,4284,0,7879,5140,0]Al[2008,13,4284,0,6744,5140,0]Al[2008,13,4284,0,8017,5140,0]Al[2008,13,4284,0,8097,5140,0]Al[2008,13,4284,0,6729,5140,0]Al[2008,13,4284,0,7894,5140,0]Al[2008,13,4284,0,5114,5140,0]Al[2008,13,4284,0,7524,5140,0]Al[2008,13,4284,0,7744,5140,0]Al[2008,13,4284,0,7765,5140,0]Al[2008,13,4284,0,7398,5140,0]Al[2008,13,4284,0,7892,5140,0]Al[2008,13,4284,0,7824,5140,0]Ak[2008,13,4284,0,993,5140,0]Ak[2008,13,4284,0,318,5140,0]Al[2008,13,4284,0,4254,5140,0]Am[2008,13,3939,3939,16,5140,0]Ao[2008,13,4473,4473,2972,5140,0]Ao[2008,13,4473,4473,7212,5140,0]Ao[2008,13,4473,4473,6722,5140,0]Ao[2008,13,4473,4473,6723,5140,0]Al[2008,13,7232,0,7184,5140,0]Al[2008,13,7232,0,7178,5140,0]Al[2008,13,7232,0,8041,5140,0]Ao[2008,13,6711,2215,7210,5140,0]Ao[2008,13,6711,6711,7745,5140,0]Ao[2008,13,6711,8022,7367,5140,0]Ao[6661,13,6662,6662,7749,5140,0]Ao[6661,13,6662,6662,7866,5140,0]Ao[6661,13,6662,6662,4209,5140,0]An[6661,13,6662,6662,327,5140,0]Ao[6661,13,6662,6662,6727,5140,0]Ao[6661,13,2905,2905,2501,5140,0]Ao[6661,13,2905,2905,6773,5140,0]Ao[6661,13,2905,2905,7396,5140,0]Al[6661,13,941,941,328,5140,0]Ao[7721,13,7722,2912,5175,5140,0]Ao[7721,13,2901,2901,4205,5140,0]Ao[7721,13,3533,3533,2934,5140,0]Ao[7721,13,3533,3533,6768,5140,0]Ao[7721,13,3533,3533,7205,5140,0]Ao[7721,13,3533,3533,7377,5140,0]Ao[7721,13,3533,3533,7519,5140,0]Am[7721,13,586,586,5111,5140,0]Am[7721,13,586,586,5110,5140,0]Am[7721,13,586,586,5604,5140,0]Am[7721,13,586,586,2941,5140,0]Ao[7721,13,1580,1580,5615,5140,0]Ao[7721,13,1580,7255,7570,5140,0]An[7721,13,1580,945,4208,5140,0]Ao[7721,13,1580,1580,5614,5140,0]Ao[7721,13,1580,1580,6743,5140,0]Ao[7721,13,3923,3923,3798,5140,0]Ao[7721,13,3591,3591,2974,5140,0]Ao[6662,13,6663,7148,6757,5140,0]Ao[6662,13,6663,5449,4247,5140,0]Ao[6662,13,6663,5449,6760,5140,0]Ao[6662,13,6663,5449,7571,5140,0]Ao[6662,13,3308,1027,5161,5140,0]Ao[6662,13,3308,1027,5152,5140,0]Ao[6662,13,3308,3308,7072,5140,0]Ao[6662,13,3308,3308,5104,5140,0]Ao[6662,13,3308,3308,7170,5140,0]Ao[6662,13,3308,3308,2932,5140,0]Ao[6662,13,3308,3308,5582,5140,0]Ao[6662,13,3308,3308,7064,5140,0]Ao[6662,13,3590,3921,3800,5140,0]Ao[6662,13,3590,3921,7106,5140,0]Ao[6662,13,3590,4475,7834,5140,0]Ao[6662,13,3590,3590,7112,5140,0]Ao[6662,13,3590,3590,6761,5140,0]Ao[6662,13,3590,3590,7060,5140,0]Ao[6662,13,3590,3590,2925,5140,0]Ao[6662,13,3590,3590,5650,5140,0]Ao[6662,13,3590,3590,5165,5140,0]Ao[6662,13,3590,3590,2951,5140,0]Ao[6662,13,3590,3590,7520,5140,0]Ao[6662,13,3590,3590,5580,5140,0]Ao[6662,13,3590,3590,2975,5140,0]Ao[6662,13,3590,3590,5667,5140,0]Ao[6662,13,3590,3590,7575,5140,0]Ao[6662,13,3315,3315,5115,5140,0]Ao[6662,13,3315,3315,7373,5140,0]Ao[6662,13,2887,2887,2481,5140,0]Ao[6662,13,2887,2887,7768,5140,0]Ao[6662,13,2887,2887,7747,5140,0]Ao[6662,13,2887,2887,5101,5140,0]Ao[6662,13,5417,5417,2482,5140,0]Ao[6662,13,2217,2217,2480,5140,0]Ao[6662,13,2217,2217,5649,5140,0]Am[6662,13,583,583,4216,5140,0]Am[6662,13,583,583,6749,5140,0]Am[6662,13,583,583,7392,5140,0]Am[6662,13,583,583,3777,5140,0]Am[6662,13,583,583,6733,5140,0]Am[6662,13,583,583,6735,5140,0]Am[6662,13,583,583,7218,5140,0]Ao[6662,13,7231,7231,7185,5140,0]Ao[6662,13,7231,7231,7180,5140,0]Ao[6662,13,7231,7231,7083,5140,0]Ao[6662,13,7231,7231,4265,5140,0]Ao[6662,13,7231,7231,8042,5140,0]Ao[6662,13,7231,7231,7088,5140,0]Ao[6662,13,7231,7231,5642,5140,0]Ae[6661,7,6662,0,0,0,0]Ai[2008,15,4284,0,5114,0,0]Al[2008,15,4284,6703,2978,0,0]Ah[2008,6,4284,7798,0,0,0]Al[6662,15,3308,3308,5104,0,0]Ai[2008,15,2009,0,7548,0,0]Ak[5429,15,5430,886,7549,0,0]Ai[2008,19,4284,0,2985,0,0]Ai[2008,19,4284,0,2961,0,0]Ae[6661,5,6662,0,0,0,0]Ad[6661,5,941,0,0,0,0]Al[2008,15,4284,5434,7362,0,0]Al[6661,15,6662,6662,4209,0,0]Aj[6662,15,583,583,6733,0,0]Al[6662,15,3308,3308,7072,0,0]1<1Ah[2008,15,4284,0,318,0,0]Al[2008,13,5394,5394,7931,0,0]Al[2008,13,2009,0,7079,5140,0]Al[2008,13,2009,0,7216,5140,0]Al[2008,13,2009,0,5143,5140,0]Al[2008,13,2009,0,7548,5140,0]Al[2008,13,2009,0,5158,5140,0]Al[2008,13,2009,0,5163,5140,0]Al[2008,13,2009,0,7389,5140,0]Al[2008,13,2009,0,4249,5140,0]Al[2008,13,2009,0,7883,5140,0]Al[2008,13,2009,0,4246,5140,0]Al[2008,13,2009,0,6759,5140,0]Al[2008,13,2009,0,5126,5140,0]Al[2008,13,3922,0,7381,5140,0]Al[2008,13,3922,0,7759,5140,0]Al[2008,13,3922,0,7105,5140,0]Ao[2008,13,3922,3922,7533,5140,0]Al[2008,13,3922,0,7760,5140,0]Al[2008,13,5394,0,7082,5140,0]Al[2008,13,5394,0,4264,5140,0]Al[2008,13,5394,0,7087,5140,0]Al[2008,13,5394,0,5640,5140,0]Ao[2008,13,5394,5394,7873,5140,0]Ao[2008,13,5394,5394,7364,5140,0]Ao[2008,13,5394,5394,7181,5140,0]Ao[2008,13,5394,5394,7931,5140,0]Am[2008,13,585,585,7077,5140,0]Am[2008,13,585,585,7936,5140,0]Ao[2008,13,2880,2880,5646,5140,0]Ao[2008,13,2880,2880,8013,5140,0]Ao[2008,13,2880,2880,7380,5140,0]Ao[2008,13,2880,2880,7985,5140,0]Ao[2008,13,2880,2880,7207,5140,0]Ao[2008,13,2880,2880,7764,5140,0]Am[2008,13,579,579,7075,5140,0]Am[2008,13,579,579,3775,5140,0]Ao[2008,13,7735,7735,7393,5140,0]Ao[2008,13,2016,2016,7204,5140,0]Ao[2008,13,2016,2016,7984,5140,0]Ao[2008,13,2016,2016,7366,5140,0]Ak[2008,13,584,0,6734,5140,0]Al[2008,13,4284,0,3802,5140,0]Al[2008,13,4284,0,2958,5140,0]Al[2008,13,4284,0,5086,5140,0]Al[2008,13,4284,0,4202,5140,0]Al[2008,13,4284,0,7104,5140,0]Al[2008,13,4284,0,7109,5140,0]Al[2008,13,4284,0,7835,5140,0]Al[2008,13,4284,0,5653,5140,0]Al[2008,13,4284,0,7949,5140,0]Al[2008,13,4284,0,7386,5140,0]Al[2008,13,4284,0,5148,5140,0]Al[2008,13,4284,0,5655,5140,0]Al[2008,13,4284,0,7385,5140,0]Al[2008,13,4284,0,5663,5140,0]Al[2008,13,4284,0,5673,5140,0]Al[2008,13,4284,0,7116,5140,0]Al[2008,13,4284,0,5648,5140,0]Ak[2008,13,4284,0,975,5140,0]Ao[2008,13,4284,7049,5654,5140,0]Ao[2008,13,4284,7049,7838,5140,0]Ao[2008,13,4284,7049,7891,5140,0]Al[2008,13,4284,0,7576,5140,0]Al[2008,13,4284,0,7946,5140,0]Al[2008,13,4284,0,2985,5140,0]Al[2008,13,4284,0,7986,5140,0]Al[2008,13,4284,0,2462,5140,0]Ao[2008,13,4284,7153,7099,5140,0]Ao[2008,13,4284,7153,4242,5140,0]Ao[2008,13,4284,6703,2978,5140,0]Al[2008,13,4284,0,2961,5140,0]Al[2008,13,4284,0,7108,5140,0]Al[2008,13,4284,0,4262,5140,0]Al[2008,13,4284,0,5612,5140,0]Al[2008,13,4284,0,5138,5140,0]Al[2008,13,4284,0,7532,5140,0]Al[2008,13,4284,0,3827,5140,0]Al[2008,13,4284,0,7067,5140,0]Ao[2008,13,4284,6716,7579,5140,0]Ao[2008,13,4284,5434,5601,5140,0]Ao[2008,13,4284,5434,7362,5140,0]Ao[2008,13,4284,6460,2924,5140,0]Ao[2008,13,4284,6460,4229,5140,0]Ao[2008,13,4284,6460,5661,5140,0]Ao[2008,13,4284,6460,7930,5140,0]Ao[2008,13,4284,6460,5588,5140,0]Ao[2008,13,4284,6460,5087,5140,0]Ao[2008,13,4284,6460,5090,5140,0]Ao[2008,13,4284,6460,7522,5140,0]Ao[2008,13,4284,6460,7224,5140,0]Ao[2008,13,4284,6460,5598,5140,0]Ao[2008,13,4284,6460,7871,5140,0]Ao[2008,13,4284,6460,7534,5140,0]Ao[2008,13,4284,6460,7564,5140,0]Ao[2008,13,4284,6460,8015,5140,0]Ao[2008,13,4284,6460,7356,5140,0]Ao[2008,13,4284,2867,7967,5140,0]Ao[2008,13,4284,2867,8009,5140,0]Ao[2008,13,4284,2218,8117,5140,0]Ao[2008,13,4284,2218,7944,5140,0]Ao[2008,13,4284,2218,7945,5140,0]Ao[2008,13,4284,2218,7111,5140,0]Ao[2008,13,4284,4284,3776,5140,0]Ao[2008,13,4284,4284,4223,5140,0]Ao[2008,13,4284,4284,7969,5140,0]Ao[2008,13,4284,4284,7071,5140,0]Ao[2008,13,4284,4284,5093,5140,0]Al[2008,13,4284,0,7530,5140,0]Ao[2008,13,4284,4284,7355,5140,0]Ao[2008,13,4284,4284,5154,5140,0]Al[2008,13,4284,0,7569,5140,0]Al[2008,13,4284,0,7863,5140,0]Al[2008,13,4284,0,7879,5140,0]Al[2008,13,4284,0,6744,5140,0]Al[2008,13,4284,0,8017,5140,0]Al[2008,13,4284,0,8097,5140,0]Al[2008,13,4284,0,6729,5140,0]Al[2008,13,4284,0,7894,5140,0]Al[2008,13,4284,0,5114,5140,0]Al[2008,13,4284,0,7524,5140,0]Al[2008,13,4284,0,7744,5140,0]Al[2008,13,4284,0,7765,5140,0]Al[2008,13,4284,0,7398,5140,0]Al[2008,13,4284,0,7892,5140,0]Al[2008,13,4284,0,7824,5140,0]Ak[2008,13,4284,0,993,5140,0]Ak[2008,13,4284,0,318,5140,0]Al[2008,13,4284,0,4254,5140,0]Am[2008,13,3939,3939,16,5140,0]Ao[2008,13,4473,4473,2972,5140,0]Ao[2008,13,4473,4473,7212,5140,0]Ao[2008,13,4473,4473,6722,5140,0]Ao[2008,13,4473,4473,6723,5140,0]Al[2008,13,7232,0,7184,5140,0]Al[2008,13,7232,0,7178,5140,0]Al[2008,13,7232,0,8041,5140,0]Ao[2008,13,6711,2215,7210,5140,0]Ao[2008,13,6711,6711,7745,5140,0]Ao[2008,13,6711,8022,7367,5140,0]Ao[6661,13,6662,6662,7749,5140,0]Ao[6661,13,6662,6662,7866,5140,0]Ao[6661,13,6662,6662,4209,5140,0]An[6661,13,6662,6662,327,5140,0]Ao[6661,13,6662,6662,6727,5140,0]Ao[6661,13,2905,2905,2501,5140,0]Ao[6661,13,2905,2905,6773,5140,0]Ao[6661,13,2905,2905,7396,5140,0]Al[6661,13,941,941,328,5140,0]Ao[7721,13,7722,2912,5175,5140,0]Ao[7721,13,2901,2901,4205,5140,0]Ao[7721,13,3533,3533,2934,5140,0]Ao[7721,13,3533,3533,6768,5140,0]Ao[7721,13,3533,3533,7205,5140,0]Ao[7721,13,3533,3533,7377,5140,0]Ao[7721,13,3533,3533,7519,5140,0]Am[7721,13,586,586,5111,5140,0]Am[7721,13,586,586,5110,5140,0]Am[7721,13,586,586,5604,5140,0]Am[7721,13,586,586,2941,5140,0]Ao[7721,13,1580,1580,5615,5140,0]Ao[7721,13,1580,7255,7570,5140,0]An[7721,13,1580,945,4208,5140,0]Ao[7721,13,1580,1580,5614,5140,0]Ao[7721,13,1580,1580,6743,5140,0]Ao[7721,13,3923,3923,3798,5140,0]Ao[7721,13,3591,3591,2974,5140,0]Ao[6662,13,6663,7148,6757,5140,0]Ao[6662,13,6663,5449,4247,5140,0]Ao[6662,13,6663,5449,6760,5140,0]Ao[6662,13,6663,5449,7571,5140,0]Ao[6662,13,3308,1027,5161,5140,0]Ao[6662,13,3308,1027,5152,5140,0]Ao[6662,13,3308,3308,7072,5140,0]Ao[6662,13,3308,3308,5104,5140,0]Ao[6662,13,3308,3308,7170,5140,0]Ao[6662,13,3308,3308,2932,5140,0]Ao[6662,13,3308,3308,5582,5140,0]Ao[6662,13,3308,3308,7064,5140,0]Ao[6662,13,3590,3921,3800,5140,0]Ao[6662,13,3590,3921,7106,5140,0]Ao[6662,13,3590,4475,7834,5140,0]Ao[6662,13,3590,3590,7112,5140,0]Ao[6662,13,3590,3590,6761,5140,0]Ao[6662,13,3590,3590,7060,5140,0]Ao[6662,13,3590,3590,2925,5140,0]Ao[6662,13,3590,3590,5650,5140,0]Ao[6662,13,3590,3590,5165,5140,0]Ao[6662,13,3590,3590,2951,5140,0]Ao[6662,13,3590,3590,7520,5140,0]Ao[6662,13,3590,3590,5580,5140,0]Ao[6662,13,3590,3590,2975,5140,0]Ao[6662,13,3590,3590,5667,5140,0]Ao[6662,13,3590,3590,7575,5140,0]Ao[6662,13,3315,3315,5115,5140,0]Ao[6662,13,3315,3315,7373,5140,0]Ao[6662,13,2887,2887,2481,5140,0]Ao[6662,13,2887,2887,7768,5140,0]Ao[6662,13,2887,2887,7747,5140,0]Ao[6662,13,2887,2887,5101,5140,0]Ao[6662,13,5417,5417,2482,5140,0]Ao[6662,13,2217,2217,2480,5140,0]Ao[6662,13,2217,2217,5649,5140,0]Am[6662,13,583,583,4216,5140,0]Am[6662,13,583,583,6749,5140,0]Am[6662,13,583,583,7392,5140,0]Am[6662,13,583,583,3777,5140,0]Am[6662,13,583,583,6733,5140,0]Am[6662,13,583,583,6735,5140,0]Am[6662,13,583,583,7218,5140,0]Ao[6662,13,7231,7231,7185,5140,0]Ao[6662,13,7231,7231,7180,5140,0]Ao[6662,13,7231,7231,7083,5140,0]Ao[6662,13,7231,7231,4265,5140,0]Ao[6662,13,7231,7231,8042,5140,0]Ao[6662,13,7231,7231,7088,5140,0]Ao[6662,13,7231,7231,5642,5140,0]Ak[2008,13,2009,0,7079,329,0]Ak[2008,13,2009,0,7216,329,0]Ak[2008,13,2009,0,5143,329,0]Ak[2008,13,2009,0,4249,329,0]Ak[2008,13,2009,0,6759,329,0]Ak[2008,13,5394,0,4264,329,0]Ak[2008,13,4284,0,2985,329,0]Ak[2008,13,4284,0,2961,329,0]An[2008,13,4284,5434,5601,329,0]An[2008,13,4284,5434,7362,329,0]Ak[2008,13,4284,0,6744,329,0]Aj[2008,13,4284,0,993,329,0]Aj[2008,13,4284,0,318,329,0]Ak[2008,13,4284,0,4254,329,0]An[5429,13,5430,7230,7080,329,0]An[5429,13,5430,7230,7217,329,0]Am[5429,13,5430,886,5144,329,0]An[5429,13,5430,5452,4250,329,0]An[6662,13,6663,5449,6760,329,0]An[6662,13,6663,5449,7571,329,0]An[6662,13,7231,7231,4265,329,0]Ae[2008,2,2880,0,0,0,0]Aj[2008,13,579,579,3775,0,0]Ai[2008,13,4284,0,4254,0,0]Ae[2008,2,2009,0,0,0,0]Ae[2008,2,5394,0,0,0,0]Ae[7721,2,7722,0,0,0,0]Al[7721,14,3533,3533,2934,0,0]Ae[6662,2,6663,0,0,0,0]Al[6662,14,2887,2887,5101,0,0]Al[2008,13,2009,0,7079,2465,0]Al[2008,13,2009,0,7216,2465,0]Cg[2008,13,2009,0,5143,2465,0,\"impl-Debug-for-PublicKey\"]Ci[2008,13,2009,0,5143,3788,0,\"impl-Display-for-PublicKey\"]Co[2008,13,2009,0,7548,3788,0,\"impl-Display-for-KeyParsingError\"]Cm[2008,13,2009,0,7548,2465,0,\"impl-Debug-for-KeyParsingError\"]Al[2008,13,2009,0,5158,2465,0]Cg[2008,13,2009,0,5163,2465,0,\"impl-Debug-for-Signature\"]Ci[2008,13,2009,0,5163,3788,0,\"impl-Display-for-Signature\"]Cn[2008,13,2009,0,7389,3788,0,\"impl-Display-for-SignatureError\"]Cl[2008,13,2009,0,7389,2465,0,\"impl-Debug-for-SignatureError\"]Ch[2008,13,2009,0,4249,3788,0,\"impl-Display-for-RelayUrl\"]Cf[2008,13,2009,0,4249,2465,0,\"impl-Debug-for-RelayUrl\"]Db[2008,13,2009,0,7883,3788,0,\"impl-Display-for-RelayUrlParseError\"]D`[2008,13,2009,0,7883,2465,0,\"impl-Debug-for-RelayUrlParseError\"]Ch[2008,13,2009,0,4246,3788,0,\"impl-Display-for-RelayMap\"]Cf[2008,13,2009,0,4246,2465,0,\"impl-Debug-for-RelayMap\"]Ck[2008,13,2009,0,6759,3788,0,\"impl-Display-for-RelayConfig\"]Ci[2008,13,2009,0,6759,2465,0,\"impl-Debug-for-RelayConfig\"]Cf[2008,13,2009,0,5126,3788,0,\"impl-Display-for-Report\"]Cd[2008,13,2009,0,5126,2465,0,\"impl-Debug-for-Report\"]Al[2008,13,3922,0,7381,2465,0]Al[2008,13,3922,0,7759,2465,0]Al[2008,13,3922,0,7105,2465,0]Ao[2008,13,3922,3922,7533,2465,0]Al[2008,13,3922,0,7760,2465,0]Al[2008,13,5394,0,7082,2465,0]Cf[2008,13,5394,0,4264,2465,0,\"impl-Debug-for-UserData\"]Ch[2008,13,5394,0,4264,3788,0,\"impl-Display-for-UserData\"]Al[2008,13,5394,0,7087,2465,0]Cj[2008,13,5394,0,5640,3788,0,\"impl-Display-for-ParseError\"]Ch[2008,13,5394,0,5640,2465,0,\"impl-Debug-for-ParseError\"]De[2008,13,5394,5394,7873,3788,0,\"impl-Display-for-IntoDiscoveryError\"]Dc[2008,13,5394,5394,7873,2465,0,\"impl-Debug-for-IntoDiscoveryError\"]Da[2008,13,5394,5394,7364,3788,0,\"impl-Display-for-DiscoveryError\"]Co[2008,13,5394,5394,7364,2465,0,\"impl-Debug-for-DiscoveryError\"]Ao[2008,13,5394,5394,7181,2465,0]Ao[2008,13,5394,5394,7931,2465,0]Am[2008,13,585,585,7077,2465,0]Am[2008,13,585,585,7936,2465,0]Cm[2008,13,2880,2880,5646,3788,0,\"impl-Display-for-PkarrError\"]Ck[2008,13,2880,2880,5646,2465,0,\"impl-Debug-for-PkarrError\"]Ao[2008,13,2880,2880,8013,2465,0]Ao[2008,13,2880,2880,7380,2465,0]Ao[2008,13,2880,2880,7985,2465,0]Ao[2008,13,2880,2880,7207,2465,0]Ao[2008,13,2880,2880,7764,2465,0]Am[2008,13,579,579,7075,2465,0]Am[2008,13,579,579,3775,2465,0]Ao[2008,13,7735,7735,7393,2465,0]Ao[2008,13,2016,2016,7204,2465,0]Ao[2008,13,2016,2016,7984,2465,0]Ao[2008,13,2016,2016,7366,2465,0]Ak[2008,13,584,0,6734,2465,0]Da[2008,13,4284,0,7835,3788,0,\"impl-Display-for-SendDatagramError\"]Co[2008,13,4284,0,7835,2465,0,\"impl-Debug-for-SendDatagramError\"]Al[2008,13,4284,0,5653,2465,0]Al[2008,13,4284,0,7949,2465,0]Cn[2008,13,4284,0,7386,3788,0,\"impl-Display-for-ReadToEndError\"]Cl[2008,13,4284,0,7386,2465,0,\"impl-Debug-for-ReadToEndError\"]Cg[2008,13,4284,0,5148,2465,0,\"impl-Debug-for-ReadError\"]Ci[2008,13,4284,0,5148,3788,0,\"impl-Display-for-ReadError\"]Cj[2008,13,4284,0,5655,3788,0,\"impl-Display-for-ResetError\"]Ch[2008,13,4284,0,5655,2465,0,\"impl-Debug-for-ResetError\"]Cl[2008,13,4284,0,7385,2465,0,\"impl-Debug-for-ReadExactError\"]Cn[2008,13,4284,0,7385,3788,0,\"impl-Display-for-ReadExactError\"]Al[2008,13,4284,0,5663,2465,0]Ch[2008,13,4284,0,5673,2465,0,\"impl-Debug-for-WriteError\"]Cj[2008,13,4284,0,5673,3788,0,\"impl-Display-for-WriteError\"]Cj[2008,13,4284,0,7116,2465,0,\"impl-Debug-for-StoppedError\"]Cl[2008,13,4284,0,7116,3788,0,\"impl-Display-for-StoppedError\"]Ao[2008,13,4284,7049,5654,2465,0]Ao[2008,13,4284,7049,7838,2465,0]Ao[2008,13,4284,7049,7891,2465,0]Al[2008,13,4284,0,7946,2465,0]Cd[2008,13,4284,0,2985,2465,0,\"impl-Debug-for-VarInt\"]Cf[2008,13,4284,0,2985,3788,0,\"impl-Display-for-VarInt\"]Dd[2008,13,4284,0,7986,3788,0,\"impl-Display-for-VarIntBoundsExceeded\"]Db[2008,13,4284,0,7986,2465,0,\"impl-Debug-for-VarIntBoundsExceeded\"]Al[2008,13,4284,0,2462,2465,0]Ao[2008,13,4284,7153,7099,2465,0]Ao[2008,13,4284,7153,4242,2465,0]Cg[2008,13,4284,6703,2978,2465,0,\"impl-Debug-for-Source\"]Ci[2008,13,4284,6703,2978,3788,0,\"impl-Display-for-Source\"]Cf[2008,13,4284,0,2961,3788,0,\"impl-Display-for-PathId\"]Cd[2008,13,4284,0,2961,2465,0,\"impl-Debug-for-PathId\"]Al[2008,13,4284,0,7108,2465,0]Al[2008,13,4284,0,4262,2465,0]Al[2008,13,4284,0,5612,2465,0]Al[2008,13,4284,0,5138,2465,0]Al[2008,13,4284,0,7532,2465,0]Al[2008,13,4284,0,3827,2465,0]Cl[2008,13,4284,0,7067,3788,0,\"impl-Display-for-ClosedStream\"]Cj[2008,13,4284,0,7067,2465,0,\"impl-Debug-for-ClosedStream\"]Ao[2008,13,4284,6716,7579,2465,0]Ao[2008,13,4284,5434,5601,2465,0]Co[2008,13,4284,5434,7362,2465,0,\"impl-Debug-for-DirectAddrType\"]Da[2008,13,4284,5434,7362,3788,0,\"impl-Display-for-DirectAddrType\"]Ao[2008,13,4284,6460,2924,2465,0]Ao[2008,13,4284,6460,4229,2465,0]Ck[2008,13,4284,6460,5661,2465,0,\"impl-Debug-for-RetryError\"]Cm[2008,13,4284,6460,5661,3788,0,\"impl-Display-for-RetryError\"]Dd[2008,13,4284,6460,7930,2465,0,\"impl-Debug-for-AuthenticationError\"]Df[2008,13,4284,6460,7930,3788,0,\"impl-Display-for-AuthenticationError\"]Ao[2008,13,4284,6460,5588,2465,0]Ao[2008,13,4284,6460,5087,2465,0]Cj[2008,13,4284,6460,5090,2465,0,\"impl-Debug-for-AlpnError\"]Cl[2008,13,4284,6460,5090,3788,0,\"impl-Display-for-AlpnError\"]Db[2008,13,4284,6460,7522,3788,0,\"impl-Display-for-ConnectingError\"]D`[2008,13,4284,6460,7522,2465,0,\"impl-Debug-for-ConnectingError\"]Ao[2008,13,4284,6460,7224,2465,0]Ao[2008,13,4284,6460,5598,2465,0]Ao[2008,13,4284,6460,7871,2465,0]Ao[2008,13,4284,6460,7534,2465,0]Ao[2008,13,4284,6460,7564,2465,0]Dh[2008,13,4284,6460,8015,3788,0,\"impl-Display-for-RemoteEndpointIdError\"]Df[2008,13,4284,6460,8015,2465,0,\"impl-Debug-for-RemoteEndpointIdError\"]Ao[2008,13,4284,6460,7356,2465,0]Ao[2008,13,4284,2867,7967,2465,0]Ao[2008,13,4284,2867,8009,2465,0]Ao[2008,13,4284,2218,8117,2465,0]Ao[2008,13,4284,2218,7944,2465,0]Ao[2008,13,4284,2218,7945,2465,0]Ao[2008,13,4284,2218,7111,2465,0]Ao[2008,13,4284,4284,3776,2465,0]Ao[2008,13,4284,4284,4223,2465,0]Dg[2008,13,4284,4284,7969,3788,0,\"impl-Display-for-ConnectWithOptsError\"]De[2008,13,4284,4284,7969,2465,0,\"impl-Debug-for-ConnectWithOptsError\"]Cm[2008,13,4284,4284,7071,2465,0,\"impl-Debug-for-ConnectError\"]Co[2008,13,4284,4284,7071,3788,0,\"impl-Display-for-ConnectError\"]Cj[2008,13,4284,4284,5093,2465,0,\"impl-Debug-for-BindError\"]Cl[2008,13,4284,4284,5093,3788,0,\"impl-Display-for-BindError\"]Cm[2008,13,4284,0,7530,2465,0,\"impl-Debug-for-ConnectionError\"]Co[2008,13,4284,0,7530,3788,0,\"impl-Display-for-ConnectionError\"]Ao[2008,13,4284,4284,7355,2465,0]Ao[2008,13,4284,4284,5154,2465,0]Al[2008,13,4284,0,7569,2465,0]Al[2008,13,4284,0,7863,2465,0]Al[2008,13,4284,0,7879,2465,0]Al[2008,13,4284,0,6744,2465,0]Al[2008,13,4284,0,8017,2465,0]Al[2008,13,4284,0,8097,2465,0]Al[2008,13,4284,0,6729,2465,0]Al[2008,13,4284,0,7894,2465,0]Cg[2008,13,4284,0,5114,2465,0,\"impl-Debug-for-FrameType\"]Ci[2008,13,4284,0,5114,3788,0,\"impl-Display-for-FrameType\"]Co[2008,13,4284,0,7524,3788,0,\"impl-Display-for-ConnectionClose\"]Cm[2008,13,4284,0,7524,2465,0,\"impl-Debug-for-ConnectionClose\"]Cn[2008,13,4284,0,7744,2465,0,\"impl-Debug-for-ApplicationClose\"]D`[2008,13,4284,0,7744,3788,0,\"impl-Display-for-ApplicationClose\"]Cj[2008,13,4284,0,7765,2465,0,\"impl-Debug-for-ConnectError\"]Cl[2008,13,4284,0,7765,3788,0,\"impl-Display-for-ConnectError\"]Cl[2008,13,4284,0,7398,2465,0,\"impl-Debug-for-TransportError\"]Cn[2008,13,4284,0,7398,3788,0,\"impl-Display-for-TransportError\"]Db[2008,13,4284,0,7892,3788,0,\"impl-Display-for-TransportErrorCode\"]D`[2008,13,4284,0,7892,2465,0,\"impl-Debug-for-TransportErrorCode\"]Al[2008,13,4284,0,7824,2465,0]Ak[2008,13,4284,0,993,2465,0]Cb[2008,13,4284,0,318,3788,0,\"impl-Display-for-Dir\"]C`[2008,13,4284,0,318,2465,0,\"impl-Debug-for-Dir\"]Ch[2008,13,4284,0,4254,3788,0,\"impl-Display-for-StreamId\"]Cf[2008,13,4284,0,4254,2465,0,\"impl-Debug-for-StreamId\"]Am[2008,13,3939,3939,16,2465,0]Ao[2008,13,4473,4473,2972,2465,0]Ao[2008,13,4473,4473,7212,2465,0]Cl[2008,13,4473,4473,6722,2465,0,\"impl-Debug-for-AcceptError\"]Cn[2008,13,4473,4473,6722,3788,0,\"impl-Display-for-AcceptError\"]Ao[2008,13,4473,4473,6723,2465,0]Cm[2008,13,7232,0,7184,3788,0,\"impl-Display-for-EncodingError\"]Ck[2008,13,7232,0,7184,2465,0,\"impl-Debug-for-EncodingError\"]Cm[2008,13,7232,0,7178,3788,0,\"impl-Display-for-DecodingError\"]Ck[2008,13,7232,0,7178,2465,0,\"impl-Debug-for-DecodingError\"]Df[2008,13,7232,0,8041,3788,0,\"impl-Display-for-MaxLengthExceededError\"]Dd[2008,13,7232,0,8041,2465,0,\"impl-Debug-for-MaxLengthExceededError\"]Ao[2008,13,6711,2215,7210,2465,0]Ao[2008,13,6711,6711,7745,2465,0]Ao[2008,13,6711,8022,7367,2465,0]Ao[5429,13,5430,7230,7080,2465,0]Ao[5429,13,5430,7230,7217,2465,0]Ck[5429,13,5430,886,5144,3788,0,\"impl-Display-for-PublicKey\"]Ci[5429,13,5430,886,5144,2465,0,\"impl-Debug-for-PublicKey\"]Da[5429,13,5430,886,7549,3788,0,\"impl-Display-for-KeyParsingError\"]Co[5429,13,5430,886,7549,2465,0,\"impl-Debug-for-KeyParsingError\"]An[5429,13,5430,886,5159,2465,0]Ck[5429,13,5430,886,5164,3788,0,\"impl-Display-for-Signature\"]Ci[5429,13,5430,886,5164,2465,0,\"impl-Debug-for-Signature\"]Cn[5429,13,5430,886,7390,2465,0,\"impl-Debug-for-SignatureError\"]D`[5429,13,5430,886,7390,3788,0,\"impl-Display-for-SignatureError\"]Ck[5429,13,5430,5452,4250,3788,0,\"impl-Display-for-RelayUrl\"]Ci[5429,13,5430,5452,4250,2465,0,\"impl-Debug-for-RelayUrl\"]Dc[5429,13,5430,5452,7884,2465,0,\"impl-Debug-for-RelayUrlParseError\"]De[5429,13,5430,5452,7884,3788,0,\"impl-Display-for-RelayUrlParseError\"]Ao[6661,13,6662,6662,4209,2465,0]An[6661,13,6662,6662,327,2465,0]Ao[6661,13,2905,2905,2501,2465,0]Ao[6661,13,2905,2905,6773,2465,0]Ao[6661,13,2905,2905,7396,2465,0]Al[6661,13,941,941,328,2465,0]Ao[7721,13,7722,2912,5175,2465,0]Ao[7721,13,3533,3533,2934,2465,0]Ao[7721,13,3533,3533,6768,2465,0]Ao[7721,13,3533,3533,7205,2465,0]Ao[7721,13,3533,3533,7377,2465,0]Ao[7721,13,3533,3533,7519,2465,0]Am[7721,13,586,586,5110,2465,0]Am[7721,13,586,586,5604,2465,0]Am[7721,13,586,586,2941,2465,0]Ao[7721,13,1580,7255,7570,2465,0]Ch[7721,13,1580,945,4208,2465,0,\"impl-Debug-for-CertMode\"]Cj[7721,13,1580,945,4208,3788,0,\"impl-Display-for-CertMode\"]Ao[7721,13,1580,1580,5614,2465,0]Ao[7721,13,1580,1580,6743,2465,0]Ao[7721,13,3923,3923,3798,2465,0]Ao[6662,13,6663,7148,6757,2465,0]Ci[6662,13,6663,5449,4247,2465,0,\"impl-Debug-for-RelayMap\"]Ck[6662,13,6663,5449,4247,3788,0,\"impl-Display-for-RelayMap\"]Cl[6662,13,6663,5449,6760,2465,0,\"impl-Debug-for-RelayConfig\"]Cn[6662,13,6663,5449,6760,3788,0,\"impl-Display-for-RelayConfig\"]Ao[6662,13,6663,5449,7571,2465,0]Cl[6662,13,3308,1027,5161,3788,0,\"impl-Display-for-SendError\"]Cj[6662,13,3308,1027,5161,2465,0,\"impl-Debug-for-SendError\"]Cj[6662,13,3308,1027,5152,2465,0,\"impl-Debug-for-RecvError\"]Cl[6662,13,3308,1027,5152,3788,0,\"impl-Display-for-RecvError\"]Co[6662,13,3308,3308,7072,3788,0,\"impl-Display-for-ConnectError\"]Cm[6662,13,3308,3308,7072,2465,0,\"impl-Debug-for-ConnectError\"]Cj[6662,13,3308,3308,5104,2465,0,\"impl-Debug-for-DialError\"]Cl[6662,13,3308,3308,5104,3788,0,\"impl-Display-for-DialError\"]Ao[6662,13,3308,3308,7170,2465,0]Ao[6662,13,3308,3308,2932,2465,0]Ao[6662,13,3308,3308,5582,2465,0]Ao[6662,13,3308,3308,7064,2465,0]Ao[6662,13,3590,3921,3800,2465,0]Ao[6662,13,3590,3921,7106,2465,0]Ao[6662,13,3590,4475,7834,2465,0]Ao[6662,13,3590,3590,7112,2465,0]Ao[6662,13,3590,3590,6761,2465,0]Ao[6662,13,3590,3590,7060,2465,0]Ao[6662,13,3590,3590,2925,2465,0]Ao[6662,13,3590,3590,5650,2465,0]Ao[6662,13,3590,3590,5165,2465,0]Ao[6662,13,3590,3590,2951,2465,0]Ao[6662,13,3590,3590,7520,2465,0]Ao[6662,13,3590,3590,5580,2465,0]Ao[6662,13,3590,3590,2975,2465,0]Ck[6662,13,3590,3590,5667,2465,0,\"impl-Debug-for-SpawnError\"]Cm[6662,13,3590,3590,5667,3788,0,\"impl-Display-for-SpawnError\"]D`[6662,13,3590,3590,7575,2465,0,\"impl-Debug-for-SupervisorError\"]Db[6662,13,3590,3590,7575,3788,0,\"impl-Display-for-SupervisorError\"]Ao[6662,13,3315,3315,5115,2465,0]Da[6662,13,3315,3315,7373,3788,0,\"impl-Display-for-FrameTypeError\"]Co[6662,13,3315,3315,7373,2465,0,\"impl-Debug-for-FrameTypeError\"]Cf[6662,13,2887,2887,2481,2465,0,\"impl-Debug-for-Error\"]Ch[6662,13,2887,2887,2481,3788,0,\"impl-Display-for-Error\"]Ao[6662,13,2887,2887,7768,2465,0]Ao[6662,13,2887,2887,7747,2465,0]Ao[6662,13,2887,2887,5101,2465,0]Ch[6662,13,5417,5417,2482,3788,0,\"impl-Display-for-Error\"]Cf[6662,13,5417,5417,2482,2465,0,\"impl-Debug-for-Error\"]Ch[6662,13,2217,2217,2480,3788,0,\"impl-Display-for-Error\"]Cf[6662,13,2217,2217,2480,2465,0,\"impl-Debug-for-Error\"]Ao[6662,13,2217,2217,5649,2465,0]Ci[6662,13,583,583,4216,3788,0,\"impl-Display-for-DnsError\"]Cg[6662,13,583,583,4216,2465,0,\"impl-Debug-for-DnsError\"]Cl[6662,13,583,583,6749,3788,0,\"impl-Display-for-LookupError\"]Cj[6662,13,583,583,6749,2465,0,\"impl-Debug-for-LookupError\"]Df[6662,13,583,583,7392,3788,0,\"impl-Display-for-StaggeredError%3CE%3E\"]Dd[6662,13,583,583,7392,2465,0,\"impl-Debug-for-StaggeredError%3CE%3E\"]Am[6662,13,583,583,3777,2465,0]Am[6662,13,583,583,6733,2465,0]Am[6662,13,583,583,6735,2465,0]Cn[6662,13,583,583,7218,3788,0,\"impl-Display-for-TxtRecordData\"]Cl[6662,13,583,583,7218,2465,0,\"impl-Debug-for-TxtRecordData\"]Cn[6662,13,7231,7231,7185,2465,0,\"impl-Debug-for-EncodingError\"]D`[6662,13,7231,7231,7185,3788,0,\"impl-Display-for-EncodingError\"]D`[6662,13,7231,7231,7180,3788,0,\"impl-Display-for-DecodingError\"]Cn[6662,13,7231,7231,7180,2465,0,\"impl-Debug-for-DecodingError\"]Ao[6662,13,7231,7231,7083,2465,0]Ck[6662,13,7231,7231,4265,3788,0,\"impl-Display-for-UserData\"]Ci[6662,13,7231,7231,4265,2465,0,\"impl-Debug-for-UserData\"]Dg[6662,13,7231,7231,8042,2465,0,\"impl-Debug-for-MaxLengthExceededError\"]Di[6662,13,7231,7231,8042,3788,0,\"impl-Display-for-MaxLengthExceededError\"]Ao[6662,13,7231,7231,7088,2465,0]Ck[6662,13,7231,7231,5642,2465,0,\"impl-Debug-for-ParseError\"]Cm[6662,13,7231,7231,5642,3788,0,\"impl-Display-for-ParseError\"]Ai[2008,13,2009,0,3826,0,0]Ai[2008,13,2009,0,4246,0,0]Ai[2008,13,4284,0,7108,0,0]Al[6662,13,6663,5449,4247,0,0]Ai[6662,14,2471,0,7581,0,0]Ai[2008,14,4284,0,4262,0,0]Ai[2008,14,5637,0,7349,0,0]0Ai[6662,14,5636,0,7348,0,0]6Al[2008,13,5394,5394,7931,0,0]Al[2008,13,4284,7153,7099,0,0]Ai[2008,14,7175,0,7198,0,0]7Ai[6662,14,7172,0,7197,0,0]Ai[2008,13,4284,0,8017,0,0]<:Ai[2008,13,2009,0,7079,0,0]Ai[2008,13,2009,0,7389,0,0]Ai[2008,13,2009,0,7883,0,0]Ai[2008,13,5394,0,7082,0,0]Ai[2008,13,5394,0,7087,0,0]Al[2008,13,5394,5394,7181,0,0]Al[2008,13,2880,2880,7764,0,0]Al[2008,13,7735,7735,7393,0,0]Ah[2008,13,584,0,6734,0,0]Ai[2008,13,4284,0,5648,0,0]Al[2008,13,4284,6460,5661,0,0]Al[2008,13,4284,6460,8015,0,0]Al[2008,13,4284,4284,3776,0,0]Al[2008,13,4284,4284,7355,0,0]Ai[2008,13,4284,0,7569,0,0]Ai[2008,13,4284,0,7398,0,0]Ai[2008,13,4284,0,4254,0,0]Al[2008,13,4473,4473,7212,0,0]Al[2008,13,4473,4473,6723,0,0]Ai[2008,13,7232,0,8041,0,0]Al[2008,13,6711,2215,7210,0,0]Al[5429,13,5430,7230,7080,0,0]Ak[5429,13,5430,886,7390,0,0]Al[5429,13,5430,5452,7884,0,0]Al[6661,13,2905,2905,7396,0,0]Al[7721,13,7722,2912,5175,0,0]Aj[7721,13,586,586,5604,0,0]Al[6662,13,6663,7148,6757,0,0]Al[6662,13,3308,3308,7170,0,0]Al[6662,13,2217,2217,5649,0,0]Aj[6662,13,583,583,7392,0,0]Aj[6662,13,583,583,6735,0,0]Al[6662,13,7231,7231,7083,0,0]Al[6662,13,7231,7231,8042,0,0]Al[6662,13,7231,7231,7088,0,0]Aj[2008,13,4284,0,993,326,0]Ai[2008,12,4284,0,5672,0,0]Al[2008,13,4284,7153,4242,0,0]Al[2008,13,4284,6460,5598,0,0]Ai[2008,14,4284,0,5138,0,0]Al[2008,13,6711,8022,7367,0,0]Ae[6661,2,6662,0,0,0,0]Ai[6662,14,7368,0,7779,0,0]Al[6662,14,3590,3590,6761,0,0]Al[2008,13,2880,2880,8013,0,0]Aj[2008,13,579,579,3775,0,0]Al[2008,14,4284,5434,5601,0,0]Al[6662,13,2887,2887,7768,0,0]Ai[2008,14,2009,0,6759,0,0]Ai[2008,14,5645,0,7536,0,0]Al[6662,14,6663,5449,6760,0,0]Ai[6662,14,7068,0,7937,0,0]Ai[6662,14,7068,0,7535,0,0]Ai[6662,14,5103,0,5621,0,0]Af[6661,18,2008,0,0,0,0]Af[6661,18,2884,0,0,0,0]Al[2008,17,4284,6460,7531,0,0]Al[6662,15,3590,3590,2925,0,0]Al[6662,15,3308,3308,7072,0,0]Al[6661,15,6662,6662,7749,0,0]Al[6661,15,6662,6662,7866,0,0]Al[6661,15,6662,6662,4209,0,0]Ah[2008,5,4284,3536,0,0,0]Af[2008,18,2016,0,0,0,0]Al[2008,15,4284,6703,2978,0,0]Ai[2008,15,4284,0,5114,0,0]Al[6662,15,3315,3315,5115,0,0]Al[6662,15,2887,2887,7768,0,0]Al[6662,15,2887,2887,7747,0,0]210Ai[2008,15,4284,0,7386,0,0]Ah[2008,6,4284,7798,0,0,0]Al[2008,15,5394,5394,7873,0,0]Al[2008,15,5394,5394,7364,0,0]Al[2008,15,4473,4473,6722,0,0]Ai[2008,15,5394,0,5640,0,0]0Al[6662,15,7231,7231,5642,0,0]Ai[2008,19,4284,0,2961,0,0]Ai[2008,14,4284,0,5612,0,0]Al[2008,13,4284,7049,7838,0,0]Al[2008,13,4284,4284,4223,0,0]Al[2008,14,4284,5434,5601,0,0]Ai[6662,14,5666,0,7515,0,0]Al[2008,13,4284,6460,5588,0,0]Al[2008,13,4284,6460,5087,0,0]Dc[2008,13,4284,6460,5598,0,0,\"impl-Connection%3COutgoingZeroRtt%3E\"]Dc[2008,13,4284,6460,5598,0,0,\"impl-Connection%3CIncomingZeroRtt%3E\"]Bn[2008,13,4284,6460,5598,0,0,\"impl-Connection\"]Al[2008,13,4284,6460,7356,0,0]Al[2008,13,4284,4284,3776,0,0]9Ab[1022,3,0,0,0,0,0]Al[6662,14,3590,3590,5165,0,0]Ai[2008,14,4284,0,7398,0,0]Ai[6662,14,7068,0,8071,0,0]Ai[2008,14,4284,0,5138,0,0]Ai[2008,14,5394,0,7087,0,0]0Al[6662,14,7231,7231,7088,0,0]Al[2008,13,2009,0,7079,5139,0]Al[2008,13,2009,0,7216,5139,0]Al[2008,13,2009,0,5143,5139,0]Al[2008,13,2009,0,7548,5139,0]Ak[2008,13,2009,0,5158,967,0]Al[2008,13,2009,0,5158,5139,0]Al[2008,13,2009,0,5163,5139,0]Al[2008,13,2009,0,7389,5139,0]Al[2008,13,2009,0,4249,5139,0]Al[2008,13,2009,0,7883,5139,0]Al[2008,13,2009,0,4246,5139,0]Al[2008,13,2009,0,6759,5139,0]Al[2008,13,2009,0,5126,5139,0]Al[2008,13,3922,0,7381,5139,0]Al[2008,13,3922,0,7759,5139,0]Al[2008,13,3922,0,7105,5139,0]Ao[2008,13,3922,3922,7533,5139,0]Al[2008,13,3922,0,7760,5139,0]Al[2008,13,5394,0,7082,5139,0]Al[2008,13,5394,0,4264,5139,0]Al[2008,13,5394,0,7087,5139,0]Al[2008,13,5394,0,5640,5139,0]Ao[2008,13,5394,5394,7873,5139,0]Ao[2008,13,5394,5394,7364,5139,0]Ao[2008,13,5394,5394,7181,5139,0]Ao[2008,13,5394,5394,7931,5139,0]Am[2008,13,585,585,7077,5139,0]Am[2008,13,585,585,7936,5139,0]Ao[2008,13,2880,2880,5646,5139,0]Ao[2008,13,2880,2880,8013,5139,0]Ao[2008,13,2880,2880,7380,5139,0]Ao[2008,13,2880,2880,7985,5139,0]Ao[2008,13,2880,2880,7207,5139,0]Ao[2008,13,2880,2880,7764,5139,0]Am[2008,13,579,579,7075,5139,0]Am[2008,13,579,579,3775,5139,0]Ao[2008,13,7735,7735,7393,5139,0]Ao[2008,13,2016,2016,7204,5139,0]Ao[2008,13,2016,2016,7984,5139,0]Ao[2008,13,2016,2016,7366,5139,0]Ak[2008,13,584,0,6734,5139,0]Al[2008,13,4284,0,3802,5139,0]Al[2008,13,4284,0,2958,5139,0]Al[2008,13,4284,0,5086,5139,0]Al[2008,13,4284,0,4202,5139,0]Al[2008,13,4284,0,7104,5139,0]Al[2008,13,4284,0,7109,5139,0]Al[2008,13,4284,0,7835,5139,0]Ak[2008,13,4284,0,5653,967,0]Al[2008,13,4284,0,5653,5139,0]Al[2008,13,4284,0,7949,5139,0]Al[2008,13,4284,0,7386,5139,0]Al[2008,13,4284,0,5148,5139,0]Al[2008,13,4284,0,5655,5139,0]Al[2008,13,4284,0,7385,5139,0]Al[2008,13,4284,0,5663,5139,0]Ak[2008,13,4284,0,5663,967,0]Al[2008,13,4284,0,5673,5139,0]Al[2008,13,4284,0,7116,5139,0]Al[2008,13,4284,0,5648,5139,0]Ak[2008,13,4284,0,975,5139,0]Ao[2008,13,4284,7049,5654,5139,0]Ao[2008,13,4284,7049,7838,5139,0]Ao[2008,13,4284,7049,7891,5139,0]Al[2008,13,4284,0,7576,5139,0]Al[2008,13,4284,0,7946,5139,0]Al[2008,13,4284,0,2985,5139,0]Al[2008,13,4284,0,7986,5139,0]Al[2008,13,4284,0,2462,5139,0]Ao[2008,13,4284,7153,7099,5139,0]Ao[2008,13,4284,7153,4242,5139,0]Ao[2008,13,4284,6703,2978,5139,0]Al[2008,13,4284,0,2961,5139,0]Al[2008,13,4284,0,7108,5139,0]Al[2008,13,4284,0,4262,5139,0]Al[2008,13,4284,0,5612,5139,0]Al[2008,13,4284,0,5138,5139,0]Al[2008,13,4284,0,7532,5139,0]Al[2008,13,4284,0,3827,5139,0]Al[2008,13,4284,0,7067,5139,0]Ao[2008,13,4284,6716,7579,5139,0]Ao[2008,13,4284,5434,5601,5139,0]Ao[2008,13,4284,5434,7362,5139,0]Ao[2008,13,4284,6460,2924,5139,0]Ao[2008,13,4284,6460,4229,5139,0]Ao[2008,13,4284,6460,5661,5139,0]Ao[2008,13,4284,6460,7930,5139,0]Ao[2008,13,4284,6460,5588,5139,0]Ao[2008,13,4284,6460,5087,5139,0]Ao[2008,13,4284,6460,5090,5139,0]Ao[2008,13,4284,6460,7522,5139,0]Ao[2008,13,4284,6460,7224,5139,0]Ao[2008,13,4284,6460,5598,5139,0]Ao[2008,13,4284,6460,7871,5139,0]Ao[2008,13,4284,6460,7534,5139,0]Ao[2008,13,4284,6460,7564,5139,0]Ao[2008,13,4284,6460,8015,5139,0]Ao[2008,13,4284,6460,7356,5139,0]Ao[2008,13,4284,2867,7967,5139,0]Ao[2008,13,4284,2867,8009,5139,0]Ao[2008,13,4284,2218,8117,5139,0]Ao[2008,13,4284,2218,7944,5139,0]Ao[2008,13,4284,2218,7945,5139,0]Ao[2008,13,4284,2218,7111,5139,0]Ao[2008,13,4284,4284,3776,5139,0]Ao[2008,13,4284,4284,4223,5139,0]Ao[2008,13,4284,4284,7969,5139,0]Ao[2008,13,4284,4284,7071,5139,0]Ao[2008,13,4284,4284,5093,5139,0]Al[2008,13,4284,0,7530,5139,0]Ao[2008,13,4284,4284,7355,5139,0]Ao[2008,13,4284,4284,5154,5139,0]Al[2008,13,4284,0,7569,5139,0]Al[2008,13,4284,0,7863,5139,0]Al[2008,13,4284,0,7879,5139,0]Al[2008,13,4284,0,6744,5139,0]Al[2008,13,4284,0,8017,5139,0]Al[2008,13,4284,0,8097,5139,0]Al[2008,13,4284,0,6729,5139,0]Al[2008,13,4284,0,7894,5139,0]Al[2008,13,4284,0,5114,5139,0]Al[2008,13,4284,0,7524,5139,0]Al[2008,13,4284,0,7744,5139,0]Al[2008,13,4284,0,7765,5139,0]Al[2008,13,4284,0,7398,5139,0]Al[2008,13,4284,0,7892,5139,0]Al[2008,13,4284,0,7824,5139,0]Ak[2008,13,4284,0,993,5139,0]Ak[2008,13,4284,0,318,5139,0]Al[2008,13,4284,0,4254,5139,0]Am[2008,13,3939,3939,16,5139,0]Ao[2008,13,4473,4473,2972,5139,0]Ao[2008,13,4473,4473,7212,5139,0]Ao[2008,13,4473,4473,6722,5139,0]Ao[2008,13,4473,4473,6723,5139,0]Al[2008,13,7232,0,7184,5139,0]Al[2008,13,7232,0,7178,5139,0]Al[2008,13,7232,0,8041,5139,0]Ao[2008,13,6711,2215,7210,5139,0]Ao[2008,13,6711,6711,7745,5139,0]Ao[2008,13,6711,8022,7367,5139,0]Am[5429,13,5430,886,5159,967,0]Ao[6661,13,6662,6662,7749,5139,0]Ao[6661,13,6662,6662,7866,5139,0]Ao[6661,13,6662,6662,4209,5139,0]An[6661,13,6662,6662,327,5139,0]Ao[6661,13,6662,6662,6727,5139,0]Ao[6661,13,2905,2905,2501,5139,0]Ao[6661,13,2905,2905,6773,5139,0]Ao[6661,13,2905,2905,7396,5139,0]Al[6661,13,941,941,328,5139,0]Ao[6662,13,6663,7148,6757,5139,0]Ao[6662,13,6663,5449,4247,5139,0]Ao[6662,13,6663,5449,6760,5139,0]Ao[6662,13,6663,5449,7571,5139,0]Ao[6662,13,3308,1027,5161,5139,0]Ao[6662,13,3308,1027,5152,5139,0]Ao[6662,13,3308,3308,7072,5139,0]Ao[6662,13,3308,3308,5104,5139,0]Ao[6662,13,3308,3308,7170,5139,0]Ao[6662,13,3308,3308,2932,5139,0]Ao[6662,13,3308,3308,5582,5139,0]Ao[6662,13,3308,3308,7064,5139,0]Ao[6662,13,3590,3921,3800,5139,0]Ao[6662,13,3590,3921,7106,5139,0]Ao[6662,13,3590,4475,7834,5139,0]Ao[6662,13,3590,3590,7112,5139,0]Ao[6662,13,3590,3590,6761,5139,0]Ao[6662,13,3590,3590,7060,5139,0]Ao[6662,13,3590,3590,2925,5139,0]Ao[6662,13,3590,3590,5650,5139,0]Ao[6662,13,3590,3590,5165,5139,0]Ao[6662,13,3590,3590,2951,5139,0]Ao[6662,13,3590,3590,7520,5139,0]Ao[6662,13,3590,3590,5580,5139,0]Ao[6662,13,3590,3590,2975,5139,0]Ao[6662,13,3590,3590,5667,5139,0]Ao[6662,13,3590,3590,7575,5139,0]Ao[6662,13,3315,3315,5115,5139,0]Ao[6662,13,3315,3315,7373,5139,0]Ao[6662,13,2887,2887,2481,5139,0]Ao[6662,13,2887,2887,7768,5139,0]Ao[6662,13,2887,2887,7747,5139,0]Ao[6662,13,2887,2887,5101,5139,0]Ao[6662,13,5417,5417,2482,5139,0]Ao[6662,13,2217,2217,2480,5139,0]Ao[6662,13,2217,2217,5649,5139,0]Am[6662,13,583,583,4216,5139,0]Am[6662,13,583,583,6749,5139,0]Am[6662,13,583,583,7392,5139,0]Am[6662,13,583,583,3777,5139,0]Am[6662,13,583,583,6733,5139,0]Am[6662,13,583,583,6735,5139,0]Am[6662,13,583,583,7218,5139,0]Ao[6662,13,7231,7231,7185,5139,0]Ao[6662,13,7231,7231,7180,5139,0]Ao[6662,13,7231,7231,7083,5139,0]Ao[6662,13,7231,7231,4265,5139,0]Ao[6662,13,7231,7231,8042,5139,0]Ao[6662,13,7231,7231,7088,5139,0]Ao[6662,13,7231,7231,5642,5139,0]Dj[2008,13,2009,0,7079,968,0,\"impl-From%3CEndpointInfo%3E-for-EndpointAddr\"]Ak[2008,13,2009,0,7079,968,0]Dg[2008,13,2009,0,7079,968,0,\"impl-From%3CPublicKey%3E-for-EndpointAddr\"]Ak[2008,13,2009,0,7216,968,0]0Ak[2008,13,2009,0,5143,968,0]Ak[2008,13,2009,0,7548,968,0]Df[2008,13,2009,0,7548,968,0,\"impl-From%3CError%3E-for-KeyParsingError\"]Dl[2008,13,2009,0,7548,968,0,\"impl-From%3CDecodeError%3E-for-KeyParsingError\"]Ak[2008,13,2009,0,5158,968,0]0Ak[2008,13,2009,0,5163,968,0]Ak[2008,13,2009,0,7389,968,0]Ak[2008,13,2009,0,4249,968,0]0Ak[2008,13,2009,0,7883,968,0]Ak[2008,13,2009,0,4246,968,0]Db[2008,13,2009,0,4246,968,0,\"impl-From%3CRelayUrl%3E-for-RelayMap\"]De[2008,13,2009,0,4246,968,0,\"impl-From%3CRelayConfig%3E-for-RelayMap\"]Ak[2008,13,2009,0,6759,968,0]0Ak[2008,13,2009,0,5126,968,0]Ak[2008,13,3922,0,7381,968,0]Ak[2008,13,3922,0,7759,968,0]Ak[2008,13,3922,0,7105,968,0]An[2008,13,3922,3922,7533,968,0]Ak[2008,13,3922,0,7760,968,0]Ak[2008,13,5394,0,7082,968,0]0Ak[2008,13,5394,0,4264,968,0]Eg[2008,13,5394,0,7087,968,0,\"impl-From%3C%26TxtAttrs%3CIrohAttr%3E%3E-for-EndpointInfo\"]Dj[2008,13,5394,0,7087,968,0,\"impl-From%3CEndpointAddr%3E-for-EndpointInfo\"]Ak[2008,13,5394,0,7087,968,0]Dk[2008,13,5394,0,7087,968,0,\"impl-From%3CDiscoveryItem%3E-for-EndpointInfo\"]Ed[2008,13,5394,0,7087,968,0,\"impl-From%3CTxtAttrs%3CIrohAttr%3E%3E-for-EndpointInfo\"]Ak[2008,13,5394,0,5640,968,0]Di[2008,13,5394,0,5640,968,0,\"impl-From%3CDecodingError%3E-for-ParseError\"]De[2008,13,5394,0,5640,968,0,\"impl-From%3CUtf8Error%3E-for-ParseError\"]An[2008,13,5394,5394,7873,968,0]An[2008,13,5394,5394,7364,968,0]0An[2008,13,5394,5394,7181,968,0]An[2008,13,5394,5394,7931,968,0]0Al[2008,13,585,585,7077,968,0]Al[2008,13,585,585,7936,968,0]An[2008,13,2880,2880,5646,968,0]An[2008,13,2880,2880,8013,968,0]An[2008,13,2880,2880,7380,968,0]An[2008,13,2880,2880,7985,968,0]An[2008,13,2880,2880,7207,968,0]An[2008,13,2880,2880,7764,968,0]Al[2008,13,579,579,7075,968,0]Al[2008,13,579,579,3775,968,0]An[2008,13,7735,7735,7393,968,0]An[2008,13,2016,2016,7204,968,0]An[2008,13,2016,2016,7984,968,0]An[2008,13,2016,2016,7366,968,0]Aj[2008,13,584,0,6734,968,0]Ak[2008,13,4284,0,3802,968,0]Ak[2008,13,4284,0,2958,968,0]Ak[2008,13,4284,0,5086,968,0]Ak[2008,13,4284,0,4202,968,0]Ak[2008,13,4284,0,7104,968,0]Ak[2008,13,4284,0,7109,968,0]Ak[2008,13,4284,0,7835,968,0]0Ak[2008,13,4284,0,5653,968,0]Ak[2008,13,4284,0,7949,968,0]Ak[2008,13,4284,0,7386,968,0]0De[2008,13,4284,0,5148,968,0,\"impl-From%3CResetError%3E-for-ReadError\"]Ak[2008,13,4284,0,5148,968,0]Dj[2008,13,4284,0,5148,968,0,\"impl-From%3CConnectionError%3E-for-ReadError\"]Ak[2008,13,4284,0,5655,968,0]0Ak[2008,13,4284,0,7385,968,0]0Ak[2008,13,4284,0,5663,968,0]Dk[2008,13,4284,0,5673,968,0,\"impl-From%3CConnectionError%3E-for-WriteError\"]Dh[2008,13,4284,0,5673,968,0,\"impl-From%3CStoppedError%3E-for-WriteError\"]Ak[2008,13,4284,0,5673,968,0]Dh[2008,13,4284,0,5673,968,0,\"impl-From%3CClosedStream%3E-for-WriteError\"]Ak[2008,13,4284,0,7116,968,0]0Ak[2008,13,4284,0,5648,968,0]Aj[2008,13,4284,0,975,968,0]An[2008,13,4284,7049,5654,968,0]An[2008,13,4284,7049,7838,968,0]An[2008,13,4284,7049,7891,968,0]Ak[2008,13,4284,0,7576,968,0]Ak[2008,13,4284,0,7946,968,0]Ck[2008,13,4284,0,2985,968,0,\"impl-From%3Cu16%3E-for-VarInt\"]Ck[2008,13,4284,0,2985,968,0,\"impl-From%3Cu32%3E-for-VarInt\"]Ak[2008,13,4284,0,2985,968,0]D`[2008,13,4284,0,2985,968,0,\"impl-From%3CStreamId%3E-for-VarInt\"]Dj[2008,13,4284,0,2985,968,0,\"impl-From%3CTransportErrorCode%3E-for-VarInt\"]Da[2008,13,4284,0,2985,968,0,\"impl-From%3CFrameType%3E-for-VarInt\"]Cj[2008,13,4284,0,2985,968,0,\"impl-From%3Cu8%3E-for-VarInt\"]Ak[2008,13,4284,0,7986,968,0]Ak[2008,13,4284,0,2462,968,0]An[2008,13,4284,7153,7099,968,0]An[2008,13,4284,7153,4242,968,0]An[2008,13,4284,6703,2978,968,0]Ak[2008,13,4284,0,2961,968,0]0Ak[2008,13,4284,0,7108,968,0]Ak[2008,13,4284,0,4262,968,0]Ak[2008,13,4284,0,5612,968,0]Ak[2008,13,4284,0,5138,968,0]Ak[2008,13,4284,0,7532,968,0]Ak[2008,13,4284,0,3827,968,0]Ak[2008,13,4284,0,7067,968,0]An[2008,13,4284,6716,7579,968,0]An[2008,13,4284,5434,5601,968,0]An[2008,13,4284,5434,7362,968,0]An[2008,13,4284,6460,2924,968,0]An[2008,13,4284,6460,4229,968,0]An[2008,13,4284,6460,5661,968,0]An[2008,13,4284,6460,7930,968,0]0An[2008,13,4284,6460,5588,968,0]An[2008,13,4284,6460,5087,968,0]An[2008,13,4284,6460,5090,968,0]0An[2008,13,4284,6460,7522,968,0]Eg[2008,13,4284,6460,7522,968,0,\"impl-From%3CAuthenticationError%3E-for-ConnectingError\"]Ec[2008,13,4284,6460,7522,968,0,\"impl-From%3CConnectionError%3E-for-ConnectingError\"]An[2008,13,4284,6460,7224,968,0]An[2008,13,4284,6460,5598,968,0]An[2008,13,4284,6460,7871,968,0]An[2008,13,4284,6460,7534,968,0]An[2008,13,4284,6460,7564,968,0]An[2008,13,4284,6460,8015,968,0]An[2008,13,4284,6460,7356,968,0]An[2008,13,4284,2867,7967,968,0]An[2008,13,4284,2867,8009,968,0]An[2008,13,4284,2218,8117,968,0]An[2008,13,4284,2218,7944,968,0]An[2008,13,4284,2218,7945,968,0]An[2008,13,4284,2218,7111,968,0]An[2008,13,4284,4284,3776,968,0]An[2008,13,4284,4284,4223,968,0]Ee[2008,13,4284,4284,7969,968,0,\"impl-From%3CConnectError%3E-for-ConnectWithOptsError\"]Eg[2008,13,4284,4284,7969,968,0,\"impl-From%3CDiscoveryError%3E-for-ConnectWithOptsError\"]An[2008,13,4284,4284,7969,968,0]An[2008,13,4284,4284,7071,968,0]Ee[2008,13,4284,4284,7071,968,0,\"impl-From%3CConnectWithOptsError%3E-for-ConnectError\"]E`[2008,13,4284,4284,7071,968,0,\"impl-From%3CConnectingError%3E-for-ConnectError\"]E`[2008,13,4284,4284,7071,968,0,\"impl-From%3CConnectionError%3E-for-ConnectError\"]An[2008,13,4284,4284,5093,968,0]0Dl[2008,13,4284,0,7530,968,0,\"impl-From%3CCloseReason%3E-for-ConnectionError\"]Do[2008,13,4284,0,7530,968,0,\"impl-From%3CTransportError%3E-for-ConnectionError\"]Df[2008,13,4284,0,7530,968,0,\"impl-From%3CClose%3E-for-ConnectionError\"]Ak[2008,13,4284,0,7530,968,0]An[2008,13,4284,4284,7355,968,0]An[2008,13,4284,4284,5154,968,0]Ak[2008,13,4284,0,7569,968,0]Ak[2008,13,4284,0,7863,968,0]Ak[2008,13,4284,0,7879,968,0]Ak[2008,13,4284,0,6744,968,0]0Ak[2008,13,4284,0,8017,968,0]Ak[2008,13,4284,0,8097,968,0]Ak[2008,13,4284,0,6729,968,0]0Ak[2008,13,4284,0,7894,968,0]Ak[2008,13,4284,0,5114,968,0]Ak[2008,13,4284,0,7524,968,0]0Ak[2008,13,4284,0,7744,968,0]Ak[2008,13,4284,0,7765,968,0]0De[2008,13,4284,0,7398,968,0,\"impl-From%3CError%3E-for-TransportError\"]Dl[2008,13,4284,0,7398,968,0,\"impl-From%3CInvalidFrame%3E-for-TransportError\"]Ak[2008,13,4284,0,7398,968,0]Ak[2008,13,4284,0,7892,968,0]0Ak[2008,13,4284,0,7824,968,0]Aj[2008,13,4284,0,993,968,0]Aj[2008,13,4284,0,318,968,0]Ak[2008,13,4284,0,4254,968,0]0Al[2008,13,3939,3939,16,968,0]An[2008,13,4473,4473,2972,968,0]An[2008,13,4473,4473,7212,968,0]Dl[2008,13,4473,4473,6722,968,0,\"impl-From%3CClosedStream%3E-for-AcceptError\"]Do[2008,13,4473,4473,6722,968,0,\"impl-From%3CConnectionError%3E-for-AcceptError\"]De[2008,13,4473,4473,6722,968,0,\"impl-From%3CError%3E-for-AcceptError\"]Dh[2008,13,4473,4473,6722,968,0,\"impl-From%3CAnyError%3E-for-AcceptError\"]Do[2008,13,4473,4473,6722,968,0,\"impl-From%3CConnectingError%3E-for-AcceptError\"]Ee[2008,13,4473,4473,6722,968,0,\"impl-From%3CRemoteEndpointIdError%3E-for-AcceptError\"]An[2008,13,4473,4473,6722,968,0]An[2008,13,4473,4473,6723,968,0]Ak[2008,13,7232,0,7184,968,0]Ak[2008,13,7232,0,7178,968,0]Ak[2008,13,7232,0,8041,968,0]An[2008,13,6711,2215,7210,968,0]An[2008,13,6711,6711,7745,968,0]An[2008,13,6711,8022,7367,968,0]An[5429,13,5430,7230,7080,968,0]0An[5429,13,5430,7230,7217,968,0]Am[5429,13,5430,886,5144,968,0]Dn[5429,13,5430,886,7549,968,0,\"impl-From%3CDecodeError%3E-for-KeyParsingError\"]Am[5429,13,5430,886,7549,968,0]Dh[5429,13,5430,886,7549,968,0,\"impl-From%3CError%3E-for-KeyParsingError\"]Am[5429,13,5430,886,5159,968,0]0Am[5429,13,5430,886,5164,968,0]Am[5429,13,5430,886,7390,968,0]An[5429,13,5430,5452,4250,968,0]0An[5429,13,5430,5452,7884,968,0]An[6661,13,6662,6662,7749,968,0]An[6661,13,6662,6662,7866,968,0]An[6661,13,6662,6662,4209,968,0]Am[6661,13,6662,6662,327,968,0]An[6661,13,6662,6662,6727,968,0]An[6661,13,2905,2905,2501,968,0]An[6661,13,2905,2905,6773,968,0]An[6661,13,2905,2905,7396,968,0]Ak[6661,13,941,941,328,968,0]An[7721,13,7722,2912,5175,968,0]An[7721,13,2901,2901,4205,968,0]An[7721,13,3533,3533,2934,968,0]An[7721,13,3533,3533,6768,968,0]An[7721,13,3533,3533,7205,968,0]An[7721,13,3533,3533,7377,968,0]An[7721,13,3533,3533,7519,968,0]Al[7721,13,586,586,5111,968,0]Al[7721,13,586,586,5110,968,0]Al[7721,13,586,586,5604,968,0]Al[7721,13,586,586,2941,968,0]An[7721,13,1580,1580,5615,968,0]An[7721,13,1580,7255,7570,968,0]Am[7721,13,1580,945,4208,968,0]An[7721,13,1580,1580,5614,968,0]An[7721,13,1580,1580,6743,968,0]An[7721,13,3923,3923,3798,968,0]An[7721,13,3591,3591,2974,968,0]An[6662,13,6663,7148,6757,968,0]Dh[6662,13,6663,5449,4247,968,0,\"impl-From%3CRelayConfig%3E-for-RelayMap\"]An[6662,13,6663,5449,4247,968,0]De[6662,13,6663,5449,4247,968,0,\"impl-From%3CRelayUrl%3E-for-RelayMap\"]An[6662,13,6663,5449,6760,968,0]0An[6662,13,6663,5449,7571,968,0]An[6662,13,3308,1027,5161,968,0]0Dc[6662,13,3308,1027,5152,968,0,\"impl-From%3CError%3E-for-RecvError\"]0An[6662,13,3308,1027,5152,968,0]Df[6662,13,3308,3308,7072,968,0,\"impl-From%3CError%3E-for-ConnectError\"]0An[6662,13,3308,3308,7072,968,0]1Dj[6662,13,3308,3308,7072,968,0,\"impl-From%3CDialError%3E-for-ConnectError\"]2Dc[6662,13,3308,3308,5104,968,0,\"impl-From%3CError%3E-for-DialError\"]0De[6662,13,3308,3308,5104,968,0,\"impl-From%3CElapsed%3E-for-DialError\"]Df[6662,13,3308,3308,5104,968,0,\"impl-From%3CDnsError%3E-for-DialError\"]An[6662,13,3308,3308,5104,968,0]An[6662,13,3308,3308,7170,968,0]An[6662,13,3308,3308,2932,968,0]An[6662,13,3308,3308,5582,968,0]An[6662,13,3308,3308,7064,968,0]An[6662,13,3590,3921,3800,968,0]An[6662,13,3590,3921,7106,968,0]An[6662,13,3590,4475,7834,968,0]An[6662,13,3590,3590,7112,968,0]An[6662,13,3590,3590,6761,968,0]An[6662,13,3590,3590,7060,968,0]An[6662,13,3590,3590,2925,968,0]An[6662,13,3590,3590,5650,968,0]An[6662,13,3590,3590,5165,968,0]An[6662,13,3590,3590,2951,968,0]An[6662,13,3590,3590,7520,968,0]An[6662,13,3590,3590,5580,968,0]An[6662,13,3590,3590,2975,968,0]An[6662,13,3590,3590,5667,968,0]An[6662,13,3590,3590,7575,968,0]0An[6662,13,3315,3315,5115,968,0]An[6662,13,3315,3315,7373,968,0]Dc[6662,13,2887,2887,2481,968,0,\"impl-From%3CUtf8Error%3E-for-Error\"]An[6662,13,2887,2887,2481,968,0]Di[6662,13,2887,2887,2481,968,0,\"impl-From%3CKeyParsingError%3E-for-Error\"]Dh[6662,13,2887,2887,2481,968,0,\"impl-From%3CFrameTypeError%3E-for-Error\"]Co[6662,13,2887,2887,2481,968,0,\"impl-From%3CError%3E-for-Error\"]An[6662,13,2887,2887,7768,968,0]An[6662,13,2887,2887,7747,968,0]An[6662,13,2887,2887,5101,968,0]0Co[6662,13,5417,5417,2482,968,0,\"impl-From%3CError%3E-for-Error\"]Dh[6662,13,5417,5417,2482,968,0,\"impl-From%3CFrameTypeError%3E-for-Error\"]An[6662,13,5417,5417,2482,968,0]Df[6662,13,2217,2217,2480,968,0,\"impl-From%3CConnectError%3E-for-Error\"]Di[6662,13,2217,2217,2480,968,0,\"impl-From%3CConnectionError%3E-for-Error\"]An[6662,13,2217,2217,2480,968,0]Dc[6662,13,2217,2217,2480,968,0,\"impl-From%3CRecvError%3E-for-Error\"]An[6662,13,2217,2217,5649,968,0]Al[6662,13,583,583,4216,968,0]Dg[6662,13,583,583,4216,968,0,\"impl-From%3CResolveError%3E-for-DnsError\"]Db[6662,13,583,583,4216,968,0,\"impl-From%3CElapsed%3E-for-DnsError\"]Al[6662,13,583,583,6749,968,0]Dh[6662,13,583,583,6749,968,0,\"impl-From%3CParseError%3E-for-LookupError\"]Df[6662,13,583,583,6749,968,0,\"impl-From%3CDnsError%3E-for-LookupError\"]Al[6662,13,583,583,7392,968,0]Al[6662,13,583,583,3777,968,0]Al[6662,13,583,583,6733,968,0]Al[6662,13,583,583,6735,968,0]Al[6662,13,583,583,7218,968,0]0An[6662,13,7231,7231,7185,968,0]An[6662,13,7231,7231,7180,968,0]An[6662,13,7231,7231,7083,968,0]0An[6662,13,7231,7231,4265,968,0]An[6662,13,7231,7231,8042,968,0]An[6662,13,7231,7231,7088,968,0]0Dl[6662,13,7231,7231,5642,968,0,\"impl-From%3CDecodingError%3E-for-ParseError\"]Dh[6662,13,7231,7231,5642,968,0,\"impl-From%3CUtf8Error%3E-for-ParseError\"]An[6662,13,7231,7231,5642,968,0]Ak[2008,13,2009,0,7079,969,0]Ak[2008,13,2009,0,7216,969,0]Ak[2008,13,2009,0,5143,969,0]Ak[2008,13,2009,0,4249,969,0]Ak[2008,13,5394,0,4264,969,0]Ak[2008,13,4284,0,2985,969,0]An[2008,13,4284,6703,2978,969,0]Ak[2008,13,4284,0,2961,969,0]An[2008,13,4284,5434,5601,969,0]An[2008,13,4284,5434,7362,969,0]Ak[2008,13,4284,0,6744,969,0]Aj[2008,13,4284,0,993,969,0]Aj[2008,13,4284,0,318,969,0]Ak[2008,13,4284,0,4254,969,0]An[5429,13,5430,7230,7080,969,0]An[5429,13,5430,7230,7217,969,0]Am[5429,13,5430,886,5144,969,0]An[5429,13,5430,5452,4250,969,0]An[6662,13,7231,7231,4265,969,0]Ae[7721,2,7722,0,0,0,0]Al[7721,14,3533,3533,2934,0,0]Ae[6662,2,6663,0,0,0,0]Al[2008,13,2009,0,7079,5139,0]Al[2008,13,2009,0,7216,5139,0]Al[2008,13,2009,0,5143,5139,0]Al[2008,13,2009,0,7548,5139,0]Al[2008,13,2009,0,5158,5139,0]Al[2008,13,2009,0,5163,5139,0]Al[2008,13,2009,0,7389,5139,0]Al[2008,13,2009,0,4249,5139,0]Al[2008,13,2009,0,7883,5139,0]Al[2008,13,2009,0,4246,5139,0]Al[2008,13,2009,0,6759,5139,0]Al[2008,13,2009,0,5126,5139,0]Al[2008,13,3922,0,7381,5139,0]Al[2008,13,3922,0,7759,5139,0]Al[2008,13,3922,0,7105,5139,0]Ao[2008,13,3922,3922,7533,5139,0]Al[2008,13,3922,0,7760,5139,0]Al[2008,13,5394,0,7082,5139,0]Al[2008,13,5394,0,4264,5139,0]Al[2008,13,5394,0,7087,5139,0]Al[2008,13,5394,0,5640,5139,0]Ao[2008,13,5394,5394,7873,5139,0]Ao[2008,13,5394,5394,7364,5139,0]Ao[2008,13,5394,5394,7181,5139,0]Ao[2008,13,5394,5394,7931,5139,0]Am[2008,13,585,585,7077,5139,0]Am[2008,13,585,585,7936,5139,0]Ao[2008,13,2880,2880,5646,5139,0]Ao[2008,13,2880,2880,8013,5139,0]Ao[2008,13,2880,2880,7380,5139,0]Ao[2008,13,2880,2880,7985,5139,0]Ao[2008,13,2880,2880,7207,5139,0]Ao[2008,13,2880,2880,7764,5139,0]Am[2008,13,579,579,7075,5139,0]Am[2008,13,579,579,3775,5139,0]Ao[2008,13,7735,7735,7393,5139,0]Ao[2008,13,2016,2016,7204,5139,0]Ao[2008,13,2016,2016,7984,5139,0]Ao[2008,13,2016,2016,7366,5139,0]Ak[2008,13,584,0,6734,5139,0]Al[2008,13,4284,0,3802,5139,0]Al[2008,13,4284,0,2958,5139,0]Al[2008,13,4284,0,5086,5139,0]Al[2008,13,4284,0,4202,5139,0]Al[2008,13,4284,0,7104,5139,0]Al[2008,13,4284,0,7109,5139,0]Al[2008,13,4284,0,7835,5139,0]Al[2008,13,4284,0,5653,5139,0]Al[2008,13,4284,0,7949,5139,0]Al[2008,13,4284,0,7386,5139,0]Al[2008,13,4284,0,5148,5139,0]Al[2008,13,4284,0,5655,5139,0]Al[2008,13,4284,0,7385,5139,0]Al[2008,13,4284,0,5663,5139,0]Al[2008,13,4284,0,5673,5139,0]Al[2008,13,4284,0,7116,5139,0]Al[2008,13,4284,0,5648,5139,0]Ak[2008,13,4284,0,975,5139,0]Ao[2008,13,4284,7049,5654,5139,0]Ao[2008,13,4284,7049,7838,5139,0]Ao[2008,13,4284,7049,7891,5139,0]Al[2008,13,4284,0,7576,5139,0]Al[2008,13,4284,0,7946,5139,0]Al[2008,13,4284,0,2985,5139,0]Al[2008,13,4284,0,7986,5139,0]Al[2008,13,4284,0,2462,5139,0]Ao[2008,13,4284,7153,7099,5139,0]Ao[2008,13,4284,7153,4242,5139,0]Ao[2008,13,4284,6703,2978,5139,0]Al[2008,13,4284,0,2961,5139,0]Al[2008,13,4284,0,7108,5139,0]Al[2008,13,4284,0,4262,5139,0]Al[2008,13,4284,0,5612,5139,0]Al[2008,13,4284,0,5138,5139,0]Al[2008,13,4284,0,7532,5139,0]Al[2008,13,4284,0,3827,5139,0]Al[2008,13,4284,0,7067,5139,0]Ao[2008,13,4284,6716,7579,5139,0]Ao[2008,13,4284,5434,5601,5139,0]Ao[2008,13,4284,5434,7362,5139,0]Ao[2008,13,4284,6460,2924,5139,0]Ao[2008,13,4284,6460,4229,5139,0]Ao[2008,13,4284,6460,5661,5139,0]Ao[2008,13,4284,6460,7930,5139,0]Ao[2008,13,4284,6460,5588,5139,0]Ao[2008,13,4284,6460,5087,5139,0]Ao[2008,13,4284,6460,5090,5139,0]Ao[2008,13,4284,6460,7522,5139,0]Ao[2008,13,4284,6460,7224,5139,0]Ao[2008,13,4284,6460,5598,5139,0]Ao[2008,13,4284,6460,7871,5139,0]Ao[2008,13,4284,6460,7534,5139,0]Ao[2008,13,4284,6460,7564,5139,0]Ao[2008,13,4284,6460,8015,5139,0]Ao[2008,13,4284,6460,7356,5139,0]Ao[2008,13,4284,2867,7967,5139,0]Ao[2008,13,4284,2867,8009,5139,0]Ao[2008,13,4284,2218,8117,5139,0]Ao[2008,13,4284,2218,7944,5139,0]Ao[2008,13,4284,2218,7945,5139,0]Ao[2008,13,4284,2218,7111,5139,0]Ao[2008,13,4284,4284,3776,5139,0]Ao[2008,13,4284,4284,4223,5139,0]Ao[2008,13,4284,4284,7969,5139,0]Ao[2008,13,4284,4284,7071,5139,0]Ao[2008,13,4284,4284,5093,5139,0]Al[2008,13,4284,0,7530,5139,0]Ao[2008,13,4284,4284,7355,5139,0]Ao[2008,13,4284,4284,5154,5139,0]Al[2008,13,4284,0,7569,5139,0]Al[2008,13,4284,0,7863,5139,0]Al[2008,13,4284,0,7879,5139,0]Al[2008,13,4284,0,6744,5139,0]Al[2008,13,4284,0,8017,5139,0]Al[2008,13,4284,0,8097,5139,0]Al[2008,13,4284,0,6729,5139,0]Al[2008,13,4284,0,7894,5139,0]Al[2008,13,4284,0,5114,5139,0]Al[2008,13,4284,0,7524,5139,0]Al[2008,13,4284,0,7744,5139,0]Al[2008,13,4284,0,7765,5139,0]Al[2008,13,4284,0,7398,5139,0]Al[2008,13,4284,0,7892,5139,0]Al[2008,13,4284,0,7824,5139,0]Ak[2008,13,4284,0,993,5139,0]Ak[2008,13,4284,0,318,5139,0]Al[2008,13,4284,0,4254,5139,0]Am[2008,13,3939,3939,16,5139,0]Ao[2008,13,4473,4473,2972,5139,0]Ao[2008,13,4473,4473,7212,5139,0]Ao[2008,13,4473,4473,6722,5139,0]Ao[2008,13,4473,4473,6723,5139,0]Al[2008,13,7232,0,7184,5139,0]Al[2008,13,7232,0,7178,5139,0]Al[2008,13,7232,0,8041,5139,0]Ao[2008,13,6711,2215,7210,5139,0]Ao[2008,13,6711,6711,7745,5139,0]Ao[2008,13,6711,8022,7367,5139,0]Ao[6661,13,6662,6662,7749,5139,0]Ao[6661,13,6662,6662,7866,5139,0]Ao[6661,13,6662,6662,4209,5139,0]An[6661,13,6662,6662,327,5139,0]Ao[6661,13,6662,6662,6727,5139,0]Ao[6661,13,2905,2905,2501,5139,0]Ao[6661,13,2905,2905,6773,5139,0]Ao[6661,13,2905,2905,7396,5139,0]Al[6661,13,941,941,328,5139,0]Ao[6662,13,6663,7148,6757,5139,0]Ao[6662,13,6663,5449,4247,5139,0]Ao[6662,13,6663,5449,6760,5139,0]Ao[6662,13,6663,5449,7571,5139,0]Ao[6662,13,3308,1027,5161,5139,0]Ao[6662,13,3308,1027,5152,5139,0]Ao[6662,13,3308,3308,7072,5139,0]Ao[6662,13,3308,3308,5104,5139,0]Ao[6662,13,3308,3308,7170,5139,0]Ao[6662,13,3308,3308,2932,5139,0]Ao[6662,13,3308,3308,5582,5139,0]Ao[6662,13,3308,3308,7064,5139,0]Ao[6662,13,3590,3921,3800,5139,0]Ao[6662,13,3590,3921,7106,5139,0]Al[6662,13,3590,4475,7834,0,0]Ao[6662,13,3590,4475,7834,5139,0]Ao[6662,13,3590,3590,7112,5139,0]Ao[6662,13,3590,3590,6761,5139,0]Ao[6662,13,3590,3590,7060,5139,0]Ao[6662,13,3590,3590,2925,5139,0]Ao[6662,13,3590,3590,5650,5139,0]Ao[6662,13,3590,3590,5165,5139,0]Ao[6662,13,3590,3590,2951,5139,0]Ao[6662,13,3590,3590,7520,5139,0]Ao[6662,13,3590,3590,5580,5139,0]Ao[6662,13,3590,3590,2975,5139,0]Ao[6662,13,3590,3590,5667,5139,0]Ao[6662,13,3590,3590,7575,5139,0]Ao[6662,13,3315,3315,5115,5139,0]Ao[6662,13,3315,3315,7373,5139,0]Ao[6662,13,2887,2887,2481,5139,0]Ao[6662,13,2887,2887,7768,5139,0]Ao[6662,13,2887,2887,7747,5139,0]Ao[6662,13,2887,2887,5101,5139,0]Ao[6662,13,5417,5417,2482,5139,0]Ao[6662,13,2217,2217,2480,5139,0]Ao[6662,13,2217,2217,5649,5139,0]Am[6662,13,583,583,4216,5139,0]Am[6662,13,583,583,6749,5139,0]Am[6662,13,583,583,7392,5139,0]Am[6662,13,583,583,3777,5139,0]Am[6662,13,583,583,6733,5139,0]Am[6662,13,583,583,6735,5139,0]Am[6662,13,583,583,7218,5139,0]Ao[6662,13,7231,7231,7185,5139,0]Ao[6662,13,7231,7231,7180,5139,0]Ao[6662,13,7231,7231,7083,5139,0]Ao[6662,13,7231,7231,4265,5139,0]Ao[6662,13,7231,7231,8042,5139,0]Ao[6662,13,7231,7231,7088,5139,0]Ao[6662,13,7231,7231,5642,5139,0]Ak[2008,13,2009,0,7079,970,0]Ak[2008,13,2009,0,7216,970,0]Ak[2008,13,2009,0,5143,970,0]Ak[2008,13,2009,0,7548,970,0]Ak[2008,13,2009,0,5158,970,0]Ak[2008,13,2009,0,5163,970,0]Ak[2008,13,2009,0,7389,970,0]Ak[2008,13,2009,0,4249,970,0]Ak[2008,13,2009,0,7883,970,0]Ak[2008,13,2009,0,4246,970,0]Ak[2008,13,2009,0,6759,970,0]Ak[2008,13,2009,0,5126,970,0]Ak[2008,13,3922,0,7381,970,0]Ak[2008,13,3922,0,7759,970,0]Ak[2008,13,3922,0,7105,970,0]An[2008,13,3922,3922,7533,970,0]Ak[2008,13,3922,0,7760,970,0]Ak[2008,13,5394,0,7082,970,0]Ak[2008,13,5394,0,4264,970,0]Ak[2008,13,5394,0,7087,970,0]Ak[2008,13,5394,0,5640,970,0]An[2008,13,5394,5394,7873,970,0]An[2008,13,5394,5394,7364,970,0]An[2008,13,5394,5394,7181,970,0]An[2008,13,5394,5394,7931,970,0]Al[2008,13,585,585,7077,970,0]Al[2008,13,585,585,7936,970,0]An[2008,13,2880,2880,5646,970,0]An[2008,13,2880,2880,8013,970,0]An[2008,13,2880,2880,7380,970,0]An[2008,13,2880,2880,7985,970,0]An[2008,13,2880,2880,7207,970,0]An[2008,13,2880,2880,7764,970,0]Al[2008,13,579,579,7075,970,0]Al[2008,13,579,579,3775,970,0]An[2008,13,7735,7735,7393,970,0]An[2008,13,2016,2016,7204,970,0]An[2008,13,2016,2016,7984,970,0]An[2008,13,2016,2016,7366,970,0]Aj[2008,13,584,0,6734,970,0]Ak[2008,13,4284,0,3802,970,0]Ak[2008,13,4284,0,2958,970,0]Ak[2008,13,4284,0,5086,970,0]Ak[2008,13,4284,0,4202,970,0]Ak[2008,13,4284,0,7104,970,0]Ak[2008,13,4284,0,7109,970,0]Ak[2008,13,4284,0,7835,970,0]Ak[2008,13,4284,0,5653,970,0]Ak[2008,13,4284,0,7949,970,0]Ak[2008,13,4284,0,7386,970,0]Ak[2008,13,4284,0,5148,970,0]Ak[2008,13,4284,0,5655,970,0]Ak[2008,13,4284,0,7385,970,0]Ak[2008,13,4284,0,5663,970,0]Ak[2008,13,4284,0,5673,970,0]Ak[2008,13,4284,0,7116,970,0]Ak[2008,13,4284,0,5648,970,0]Aj[2008,13,4284,0,975,970,0]An[2008,13,4284,7049,5654,970,0]An[2008,13,4284,7049,7838,970,0]An[2008,13,4284,7049,7891,970,0]Ak[2008,13,4284,0,7576,970,0]Ak[2008,13,4284,0,7946,970,0]Ak[2008,13,4284,0,2985,970,0]Ak[2008,13,4284,0,7986,970,0]Ak[2008,13,4284,0,2462,970,0]An[2008,13,4284,7153,7099,970,0]An[2008,13,4284,7153,4242,970,0]An[2008,13,4284,6703,2978,970,0]Ak[2008,13,4284,0,2961,970,0]Ak[2008,13,4284,0,7108,970,0]Ak[2008,13,4284,0,4262,970,0]Ak[2008,13,4284,0,5612,970,0]Ak[2008,13,4284,0,5138,970,0]Ak[2008,13,4284,0,7532,970,0]Ak[2008,13,4284,0,3827,970,0]Ak[2008,13,4284,0,7067,970,0]An[2008,13,4284,6716,7579,970,0]An[2008,13,4284,5434,5601,970,0]An[2008,13,4284,5434,7362,970,0]An[2008,13,4284,6460,2924,970,0]An[2008,13,4284,6460,4229,970,0]An[2008,13,4284,6460,5661,970,0]An[2008,13,4284,6460,7930,970,0]An[2008,13,4284,6460,5588,970,0]An[2008,13,4284,6460,5087,970,0]An[2008,13,4284,6460,5090,970,0]An[2008,13,4284,6460,7522,970,0]An[2008,13,4284,6460,7224,970,0]An[2008,13,4284,6460,5598,970,0]An[2008,13,4284,6460,7871,970,0]An[2008,13,4284,6460,7534,970,0]An[2008,13,4284,6460,7564,970,0]An[2008,13,4284,6460,8015,970,0]An[2008,13,4284,6460,7356,970,0]An[2008,13,4284,2867,7967,970,0]An[2008,13,4284,2867,8009,970,0]An[2008,13,4284,2218,8117,970,0]An[2008,13,4284,2218,7944,970,0]An[2008,13,4284,2218,7945,970,0]An[2008,13,4284,2218,7111,970,0]An[2008,13,4284,4284,3776,970,0]An[2008,13,4284,4284,4223,970,0]An[2008,13,4284,4284,7969,970,0]An[2008,13,4284,4284,7071,970,0]An[2008,13,4284,4284,5093,970,0]Ak[2008,13,4284,0,7530,970,0]An[2008,13,4284,4284,7355,970,0]An[2008,13,4284,4284,5154,970,0]Ak[2008,13,4284,0,7569,970,0]Ak[2008,13,4284,0,7863,970,0]Ak[2008,13,4284,0,7879,970,0]Ak[2008,13,4284,0,6744,970,0]Ak[2008,13,4284,0,8017,970,0]Ak[2008,13,4284,0,8097,970,0]Ak[2008,13,4284,0,6729,970,0]Ak[2008,13,4284,0,7894,970,0]Ak[2008,13,4284,0,5114,970,0]Ak[2008,13,4284,0,7524,970,0]Ak[2008,13,4284,0,7744,970,0]Ak[2008,13,4284,0,7765,970,0]Ak[2008,13,4284,0,7398,970,0]Ak[2008,13,4284,0,7892,970,0]Ak[2008,13,4284,0,7824,970,0]Aj[2008,13,4284,0,993,970,0]Aj[2008,13,4284,0,318,970,0]Ak[2008,13,4284,0,4254,970,0]Al[2008,13,3939,3939,16,970,0]An[2008,13,4473,4473,2972,970,0]An[2008,13,4473,4473,7212,970,0]An[2008,13,4473,4473,6722,970,0]An[2008,13,4473,4473,6723,970,0]Ak[2008,13,7232,0,7184,970,0]Ak[2008,13,7232,0,7178,970,0]Ak[2008,13,7232,0,8041,970,0]An[2008,13,6711,2215,7210,970,0]An[2008,13,6711,6711,7745,970,0]An[2008,13,6711,8022,7367,970,0]An[5429,13,5430,7230,7080,970,0]An[5429,13,5430,7230,7217,970,0]Am[5429,13,5430,886,5144,970,0]Am[5429,13,5430,886,7549,970,0]Am[5429,13,5430,886,5159,970,0]Am[5429,13,5430,886,5164,970,0]Am[5429,13,5430,886,7390,970,0]An[5429,13,5430,5452,4250,970,0]An[5429,13,5430,5452,7884,970,0]An[6661,13,6662,6662,7749,970,0]An[6661,13,6662,6662,7866,970,0]An[6661,13,6662,6662,4209,970,0]Am[6661,13,6662,6662,327,970,0]An[6661,13,6662,6662,6727,970,0]An[6661,13,2905,2905,2501,970,0]An[6661,13,2905,2905,6773,970,0]An[6661,13,2905,2905,7396,970,0]Ak[6661,13,941,941,328,970,0]An[7721,13,7722,2912,5175,970,0]An[7721,13,2901,2901,4205,970,0]An[7721,13,3533,3533,2934,970,0]An[7721,13,3533,3533,6768,970,0]An[7721,13,3533,3533,7205,970,0]An[7721,13,3533,3533,7377,970,0]An[7721,13,3533,3533,7519,970,0]Al[7721,13,586,586,5111,970,0]Al[7721,13,586,586,5110,970,0]Al[7721,13,586,586,5604,970,0]Al[7721,13,586,586,2941,970,0]An[7721,13,1580,1580,5615,970,0]An[7721,13,1580,7255,7570,970,0]Am[7721,13,1580,945,4208,970,0]An[7721,13,1580,1580,5614,970,0]An[7721,13,1580,1580,6743,970,0]An[7721,13,3923,3923,3798,970,0]An[7721,13,3591,3591,2974,970,0]An[6662,13,6663,7148,6757,970,0]An[6662,13,6663,5449,4247,970,0]An[6662,13,6663,5449,6760,970,0]An[6662,13,6663,5449,7571,970,0]An[6662,13,3308,1027,5161,970,0]An[6662,13,3308,1027,5152,970,0]An[6662,13,3308,3308,7072,970,0]An[6662,13,3308,3308,5104,970,0]An[6662,13,3308,3308,7170,970,0]An[6662,13,3308,3308,2932,970,0]An[6662,13,3308,3308,5582,970,0]An[6662,13,3308,3308,7064,970,0]An[6662,13,3590,3921,3800,970,0]An[6662,13,3590,3921,7106,970,0]An[6662,13,3590,4475,7834,970,0]An[6662,13,3590,3590,7112,970,0]An[6662,13,3590,3590,6761,970,0]An[6662,13,3590,3590,7060,970,0]An[6662,13,3590,3590,2925,970,0]An[6662,13,3590,3590,5650,970,0]An[6662,13,3590,3590,5165,970,0]An[6662,13,3590,3590,2951,970,0]An[6662,13,3590,3590,7520,970,0]An[6662,13,3590,3590,5580,970,0]An[6662,13,3590,3590,2975,970,0]An[6662,13,3590,3590,5667,970,0]An[6662,13,3590,3590,7575,970,0]An[6662,13,3315,3315,5115,970,0]An[6662,13,3315,3315,7373,970,0]An[6662,13,2887,2887,2481,970,0]An[6662,13,2887,2887,7768,970,0]An[6662,13,2887,2887,7747,970,0]An[6662,13,2887,2887,5101,970,0]An[6662,13,5417,5417,2482,970,0]An[6662,13,2217,2217,2480,970,0]An[6662,13,2217,2217,5649,970,0]Al[6662,13,583,583,4216,970,0]Al[6662,13,583,583,6749,970,0]Al[6662,13,583,583,7392,970,0]Al[6662,13,583,583,3777,970,0]Al[6662,13,583,583,6733,970,0]Al[6662,13,583,583,6735,970,0]Al[6662,13,583,583,7218,970,0]An[6662,13,7231,7231,7185,970,0]An[6662,13,7231,7231,7180,970,0]An[6662,13,7231,7231,7083,970,0]An[6662,13,7231,7231,4265,970,0]An[6662,13,7231,7231,8042,970,0]An[6662,13,7231,7231,7088,970,0]An[6662,13,7231,7231,5642,970,0]Ai[6662,14,4215,0,6763,0,0]0Ab[2008,3,0,0,0,0,0]Ae[6661,2,6662,0,0,0,0]Al[2008,13,4284,7153,7099,0,0]Aj[6662,13,583,583,7392,0,0]Aj[6662,13,583,583,7218,0,0]Al[7721,13,3533,3533,2934,0,0]Ae[1022,7,1023,0,0,0,0]Ae[2008,2,5394,0,0,0,0]Al[2008,13,2009,0,7548,5668,0]Al[2008,13,2009,0,7389,5668,0]Al[2008,13,2009,0,7883,5668,0]Al[2008,13,5394,0,5640,5668,0]Ao[2008,13,5394,5394,7873,5668,0]Ao[2008,13,5394,5394,7364,5668,0]Ao[2008,13,2880,2880,5646,5668,0]Ai[2008,14,5645,0,5141,0,0]Ai[2008,14,5645,0,2986,0,0]Ai[2008,14,5645,0,7536,0,0]Ai[2008,14,5645,0,4226,0,0]Ai[2008,14,5645,0,6741,0,0]Ai[2008,14,5645,0,6739,0,0]Ai[2008,14,5645,0,4219,0,0]Ai[2008,14,7363,0,7939,0,0]Ai[2008,14,7363,0,5129,0,0]Ah[2008,14,7363,0,996,0,0]Ai[2008,14,5637,0,7775,0,0]Ai[2008,14,5637,0,7349,0,0]Ai[2008,14,5637,0,5132,0,0]Ai[2008,14,5637,0,1003,0,0]Ai[2008,14,5637,0,7560,0,0]Ai[2008,14,5637,0,7174,0,0]Ah[2008,14,7872,0,997,0,0]Ao[2008,13,4284,6460,5661,5668,0]Ao[2008,13,4284,6460,7930,5668,0]Ao[2008,13,4284,6460,5090,5668,0]Ao[2008,13,4284,6460,7522,5668,0]Ao[2008,13,4284,6460,8015,5668,0]Ao[2008,13,4284,4284,7969,5668,0]Ao[2008,13,4284,4284,7071,5668,0]Ao[2008,13,4284,4284,5093,5668,0]Ai[2008,14,7069,0,3780,0,0]Ai[2008,14,7069,0,5584,0,0]Ai[2008,14,7069,0,5592,0,0]Ai[2008,14,5089,0,7525,0,0]Ai[2008,14,5089,0,6774,0,0]Ai[2008,14,5089,0,7781,0,0]Ai[2008,14,7929,0,4251,0,0]Ai[2008,14,7929,0,2956,0,0]Ai[2008,14,7521,0,7526,0,0]Ai[2008,14,7521,0,7752,0,0]Ai[2008,14,7521,0,8083,0,0]Ai[2008,14,7521,0,7550,0,0]Ai[2008,14,5092,0,5625,0,0]Ai[2008,14,5092,0,5106,0,0]Ai[2008,14,7968,0,6765,0,0]Ai[2008,14,7968,0,5127,0,0]Ai[2008,14,7968,0,2485,0,0]Ai[2008,14,7968,0,8084,0,0]Ai[2008,14,7968,0,7551,0,0]Ao[2008,13,4473,4473,6722,5668,0]Ai[2008,14,6721,0,5585,0,0]Ai[2008,14,6721,0,5593,0,0]Ai[2008,14,6721,0,8067,0,0]Ai[2008,14,6721,0,5632,0,0]Ah[2008,14,6721,0,998,0,0]Ai[2008,14,7547,0,7933,0,0]Al[2008,13,7232,0,7184,5668,0]Al[2008,13,7232,0,7178,5668,0]Al[2008,13,7232,0,8041,5668,0]Ai[2008,14,5637,0,7775,0,0]Ai[2008,14,5637,0,7349,0,0]Ai[2008,14,5637,0,5132,0,0]Ai[2008,14,5637,0,1003,0,0]Ai[2008,14,5637,0,7560,0,0]Ai[2008,14,5637,0,7174,0,0]Ai[2008,14,7183,0,7978,0,0]Ai[2008,14,7183,0,7542,0,0]Ai[2008,14,7175,0,7875,0,0]Ai[2008,14,7175,0,7198,0,0]Ai[2008,14,7175,0,5618,0,0]An[5429,13,5430,886,7549,5668,0]An[5429,13,5430,886,7390,5668,0]Ao[5429,13,5430,5452,7884,5668,0]Ai[5429,14,7545,0,7932,0,0]Ao[6662,13,3308,1027,5161,5668,0]Ao[6662,13,3308,1027,5152,5668,0]Ao[6662,13,3308,3308,7072,5668,0]Ao[6662,13,3308,3308,5104,5668,0]Ai[6662,14,5150,0,4243,0,0]Ai[6662,14,5150,0,6770,0,0]Ai[6662,14,5160,0,6769,0,0]Ai[6662,14,5160,0,7974,0,0]Ai[6662,14,5160,0,6736,0,0]Ai[6662,14,7068,0,7937,0,0]Ai[6662,14,7068,0,7535,0,0]Ai[6662,14,7068,0,5171,0,0]Ai[6662,14,7068,0,5116,0,0]Ah[6662,14,7068,0,965,0,0]Ai[6662,14,7068,0,8071,0,0]Ai[6662,14,7068,0,3824,0,0]Ai[6662,14,7068,0,7982,0,0]Ai[6662,14,7068,0,6752,0,0]Ah[6662,14,7068,0,334,0,0]Ai[6662,14,5103,0,7832,0,0]Ah[6662,14,5103,0,319,0,0]Ai[6662,14,5103,0,3815,0,0]Ag[6662,14,5103,0,10,0,0]Ai[6662,14,5103,0,5621,0,0]Ai[6662,14,5103,0,8103,0,0]Ai[6662,14,5103,0,7567,0,0]Ai[6662,14,5103,0,7102,0,0]Ai[6662,14,5103,0,8105,0,0]Ai[6662,14,5103,0,8049,0,0]Ao[6662,13,3590,3590,5667,5668,0]Ao[6662,13,3590,3590,7575,5668,0]Ai[6662,14,7574,0,3797,0,0]Ai[6662,14,7574,0,8061,0,0]Ai[6662,14,7574,0,5120,0,0]Ai[6662,14,7574,0,8046,0,0]Ai[6662,14,7574,0,7213,0,0]Ai[6662,14,5666,0,5123,0,0]Ai[6662,14,5666,0,5145,0,0]Ai[6662,14,5666,0,7394,0,0]Ai[6662,14,5666,0,7517,0,0]Ai[6662,14,5666,0,6753,0,0]Ai[6662,14,5666,0,7515,0,0]Ao[6662,13,3315,3315,7373,5668,0]Ai[6662,14,7368,0,7219,0,0]Ai[6662,14,7368,0,7779,0,0]Ao[6662,13,2887,2887,2481,5668,0]Ai[6662,14,2471,0,7581,0,0]Ai[6662,14,2471,0,7190,0,0]Ai[6662,14,2471,0,2497,0,0]Ai[6662,14,2471,0,7369,0,0]Ai[6662,14,2471,0,7756,0,0]Ai[6662,14,2471,0,7093,0,0]Ai[6662,14,2471,0,7754,0,0]Ai[6662,14,2471,0,8157,0,0]Ai[6662,14,2471,0,4259,0,0]Ao[6662,13,5417,5417,2482,5668,0]Ai[6662,14,2472,0,8063,0,0]Ai[6662,14,2472,0,5172,0,0]Ai[6662,14,2472,0,7220,0,0]Ai[6662,14,2472,0,7370,0,0]Ai[6662,14,2472,0,7769,0,0]Ai[6662,14,2472,0,7947,0,0]Ai[6662,14,2472,0,7972,0,0]Ao[6662,13,2217,2217,2480,5668,0]Ai[6662,14,2470,0,3779,0,0]Ai[6662,14,2470,0,5589,0,0]Ai[6662,14,2470,0,5169,0,0]Am[6662,13,583,583,4216,5668,0]Am[6662,13,583,583,6749,5668,0]Am[6662,13,583,583,7392,5668,0]Ai[6662,14,4215,0,3816,0,0]Ai[6662,14,4215,0,5629,0,0]Ai[6662,14,4215,0,6763,0,0]Ai[6662,14,4215,0,6750,0,0]Ai[6662,14,4215,0,3809,0,0]Ai[6662,14,4215,0,7539,0,0]Ai[6662,14,6748,0,5635,0,0]Ai[6662,14,6748,0,7096,0,0]Ao[6662,13,7231,7231,7185,5668,0]Ao[6662,13,7231,7231,7180,5668,0]Ao[6662,13,7231,7231,8042,5668,0]Ao[6662,13,7231,7231,5642,5668,0]Ai[6662,14,5636,0,7774,0,0]Ai[6662,14,5636,0,7348,0,0]Ai[6662,14,5636,0,5131,0,0]Ai[6662,14,5636,0,1002,0,0]Ai[6662,14,5636,0,7559,0,0]Ai[6662,14,5636,0,7173,0,0]Ai[6662,14,7182,0,7977,0,0]Ai[6662,14,7182,0,7541,0,0]Ai[6662,14,7172,0,7874,0,0]Ai[6662,14,7172,0,7197,0,0]Ai[6662,14,7172,0,5617,0,0]Al[2008,13,3922,0,7381,7098,0]Al[2008,13,3922,0,7759,7098,0]Al[2008,13,3922,0,7105,7098,0]Ao[2008,13,3922,3922,7533,7557,0]Al[2008,13,3922,0,7760,7098,0]Ai[2008,14,2977,0,5105,0,0]Ai[2008,14,2977,0,4237,0,0]Ao[7721,13,3923,3923,3798,7098,0]Ao[6662,13,3590,3921,3800,7098,0]Ao[6662,13,3590,3921,7106,7557,0]Ai[2008,12,4284,0,3772,0,0]Ai[2008,12,2009,0,3826,0,0]Ai[2008,14,4284,0,5612,0,0]Al[2008,13,4284,0,3802,2940,0]Al[2008,13,4284,0,2958,2940,0]Al[2008,13,4284,0,5086,2940,0]Al[2008,13,4284,0,4202,2940,0]Al[2008,13,4284,0,7104,2940,0]Al[2008,13,4284,0,7109,2940,0]Ao[2008,13,4284,6460,2924,2940,0]Ao[2008,13,4284,6460,5588,2940,0]Ao[2008,13,4284,6460,5087,2940,0]Aj[7721,14,586,586,5110,0,0]Al[7721,14,1580,1580,5614,0,0]Al[7721,14,1580,1580,6743,0,0]Al[6662,14,6663,5449,7571,0,0]Ae[2008,2,4276,0,0,0,0]Ai[2008,14,2009,0,6759,0,0]Ae[6662,2,6663,0,0,0,0]Al[6662,14,6663,5449,6760,0,0]Al[6662,14,3590,3590,7112,0,0]Ai[2008,13,4284,0,5653,0,0]Ai[2008,13,4284,0,7946,0,0]:Ai[2008,12,4284,0,3772,0,0]Ai[2008,13,4284,0,8017,0,0]Al[2008,13,4284,6460,5598,0,0]Al[2008,13,4284,6460,7356,0,0]Ai[2008,13,2009,0,5158,0,0]Ak[5429,13,5430,886,5159,0,0]Al[6661,14,2905,2905,7396,0,0]Ai[6662,14,5160,0,7974,0,0]9Ai[2008,13,4284,0,7949,0,0]2Ai[2008,13,2009,0,4246,0,0]Al[6662,13,6663,5449,4247,0,0]Al[2008,13,2009,0,7079,1007,0]Al[2008,13,2009,0,7216,1007,0]Al[2008,13,2009,0,5143,1007,0]Al[2008,13,2009,0,7548,1007,0]Al[2008,13,2009,0,5158,1007,0]Al[2008,13,2009,0,5163,1007,0]Al[2008,13,2009,0,7389,1007,0]Al[2008,13,2009,0,4249,1007,0]Al[2008,13,2009,0,7883,1007,0]Al[2008,13,2009,0,4246,1007,0]Al[2008,13,2009,0,6759,1007,0]Al[2008,13,2009,0,5126,1007,0]Al[2008,13,3922,0,7381,1007,0]Al[2008,13,3922,0,7759,1007,0]Al[2008,13,3922,0,7105,1007,0]Ao[2008,13,3922,3922,7533,1007,0]Al[2008,13,3922,0,7760,1007,0]Al[2008,13,5394,0,7082,1007,0]Al[2008,13,5394,0,4264,1007,0]Al[2008,13,5394,0,7087,1007,0]Al[2008,13,5394,0,5640,1007,0]Ao[2008,13,5394,5394,7873,1007,0]Ao[2008,13,5394,5394,7364,1007,0]Ao[2008,13,5394,5394,7181,1007,0]Ao[2008,13,5394,5394,7931,1007,0]Am[2008,13,585,585,7077,1007,0]Am[2008,13,585,585,7936,1007,0]Ao[2008,13,2880,2880,5646,1007,0]Ao[2008,13,2880,2880,8013,1007,0]Ao[2008,13,2880,2880,7380,1007,0]Ao[2008,13,2880,2880,7985,1007,0]Ao[2008,13,2880,2880,7207,1007,0]Ao[2008,13,2880,2880,7764,1007,0]Am[2008,13,579,579,7075,1007,0]Am[2008,13,579,579,3775,1007,0]Ao[2008,13,7735,7735,7393,1007,0]Ao[2008,13,2016,2016,7204,1007,0]Ao[2008,13,2016,2016,7984,1007,0]Ao[2008,13,2016,2016,7366,1007,0]Ak[2008,13,584,0,6734,1007,0]Al[2008,13,4284,0,3802,1007,0]Al[2008,13,4284,0,2958,1007,0]Al[2008,13,4284,0,5086,1007,0]Al[2008,13,4284,0,4202,1007,0]Al[2008,13,4284,0,7104,1007,0]Al[2008,13,4284,0,7109,1007,0]Al[2008,13,4284,0,7835,1007,0]Al[2008,13,4284,0,5653,1007,0]Al[2008,13,4284,0,7949,1007,0]Al[2008,13,4284,0,7386,1007,0]Al[2008,13,4284,0,5148,1007,0]Al[2008,13,4284,0,5655,1007,0]Al[2008,13,4284,0,7385,1007,0]Al[2008,13,4284,0,5663,1007,0]Al[2008,13,4284,0,5673,1007,0]Al[2008,13,4284,0,7116,1007,0]Al[2008,13,4284,0,5648,1007,0]Ak[2008,13,4284,0,975,1007,0]Ao[2008,13,4284,7049,5654,1007,0]Ao[2008,13,4284,7049,7838,1007,0]Ao[2008,13,4284,7049,7891,1007,0]Al[2008,13,4284,0,7576,1007,0]Al[2008,13,4284,0,7946,1007,0]Al[2008,13,4284,0,2985,1007,0]Al[2008,13,4284,0,7986,1007,0]Al[2008,13,4284,0,2462,1007,0]Ao[2008,13,4284,7153,7099,1007,0]Ao[2008,13,4284,7153,4242,1007,0]Ao[2008,13,4284,6703,2978,1007,0]Al[2008,13,4284,0,2961,1007,0]Al[2008,13,4284,0,7108,1007,0]Al[2008,13,4284,0,4262,1007,0]Al[2008,13,4284,0,5612,1007,0]Al[2008,13,4284,0,5138,1007,0]Al[2008,13,4284,0,7532,1007,0]Al[2008,13,4284,0,3827,1007,0]Al[2008,13,4284,0,7067,1007,0]Ao[2008,13,4284,6716,7579,1007,0]Ao[2008,13,4284,5434,5601,1007,0]Ao[2008,13,4284,5434,7362,1007,0]Ao[2008,13,4284,6460,2924,1007,0]Ao[2008,13,4284,6460,4229,1007,0]Ao[2008,13,4284,6460,5661,1007,0]Ao[2008,13,4284,6460,7930,1007,0]Ao[2008,13,4284,6460,5588,1007,0]Ao[2008,13,4284,6460,5087,1007,0]Ao[2008,13,4284,6460,5090,1007,0]Ao[2008,13,4284,6460,7522,1007,0]Ao[2008,13,4284,6460,7224,1007,0]Ao[2008,13,4284,6460,5598,1007,0]Ao[2008,13,4284,6460,7871,1007,0]Ao[2008,13,4284,6460,7534,1007,0]Ao[2008,13,4284,6460,7564,1007,0]Ao[2008,13,4284,6460,8015,1007,0]Ao[2008,13,4284,6460,7356,1007,0]Ao[2008,13,4284,2867,7967,1007,0]Ao[2008,13,4284,2867,8009,1007,0]Ao[2008,13,4284,2218,8117,1007,0]Ao[2008,13,4284,2218,7944,1007,0]Ao[2008,13,4284,2218,7945,1007,0]Ao[2008,13,4284,2218,7111,1007,0]Ao[2008,13,4284,4284,3776,1007,0]Ao[2008,13,4284,4284,4223,1007,0]Ao[2008,13,4284,4284,7969,1007,0]Ao[2008,13,4284,4284,7071,1007,0]Ao[2008,13,4284,4284,5093,1007,0]Al[2008,13,4284,0,7530,1007,0]Ao[2008,13,4284,4284,7355,1007,0]Ao[2008,13,4284,4284,5154,1007,0]Al[2008,13,4284,0,7569,1007,0]Al[2008,13,4284,0,7863,1007,0]Al[2008,13,4284,0,7879,1007,0]Al[2008,13,4284,0,6744,1007,0]Al[2008,13,4284,0,8017,1007,0]Al[2008,13,4284,0,8097,1007,0]Al[2008,13,4284,0,6729,1007,0]Al[2008,13,4284,0,7894,1007,0]Al[2008,13,4284,0,5114,1007,0]Al[2008,13,4284,0,7524,1007,0]Al[2008,13,4284,0,7744,1007,0]Al[2008,13,4284,0,7765,1007,0]Al[2008,13,4284,0,7398,1007,0]Al[2008,13,4284,0,7892,1007,0]Al[2008,13,4284,0,7824,1007,0]Ak[2008,13,4284,0,993,1007,0]Ak[2008,13,4284,0,318,1007,0]Al[2008,13,4284,0,4254,1007,0]Am[2008,13,3939,3939,16,1007,0]Ao[2008,13,4473,4473,2972,1007,0]Ao[2008,13,4473,4473,7212,1007,0]Ao[2008,13,4473,4473,6722,1007,0]Ao[2008,13,4473,4473,6723,1007,0]Al[2008,13,7232,0,7184,1007,0]Al[2008,13,7232,0,7178,1007,0]Al[2008,13,7232,0,8041,1007,0]Ao[2008,13,6711,2215,7210,1007,0]Ao[2008,13,6711,6711,7745,1007,0]Ao[2008,13,6711,8022,7367,1007,0]Ao[6661,13,6662,6662,7749,1007,0]Ao[6661,13,6662,6662,7866,1007,0]Ao[6661,13,6662,6662,4209,1007,0]An[6661,13,6662,6662,327,1007,0]Ao[6661,13,6662,6662,6727,1007,0]Ao[6661,13,2905,2905,2501,1007,0]Ao[6661,13,2905,2905,6773,1007,0]Ao[6661,13,2905,2905,7396,1007,0]Al[6661,13,941,941,328,1007,0]Ao[7721,13,7722,2912,5175,1007,0]Ao[7721,13,2901,2901,4205,1007,0]Ao[7721,13,3533,3533,2934,1007,0]Ao[7721,13,3533,3533,6768,1007,0]Ao[7721,13,3533,3533,7205,1007,0]Ao[7721,13,3533,3533,7377,1007,0]Ao[7721,13,3533,3533,7519,1007,0]Am[7721,13,586,586,5111,1007,0]Am[7721,13,586,586,5110,1007,0]Am[7721,13,586,586,5604,1007,0]Am[7721,13,586,586,2941,1007,0]Ao[7721,13,1580,1580,5615,1007,0]Ao[7721,13,1580,7255,7570,1007,0]An[7721,13,1580,945,4208,1007,0]Ao[7721,13,1580,1580,5614,1007,0]Ao[7721,13,1580,1580,6743,1007,0]Ao[7721,13,3923,3923,3798,1007,0]Ao[7721,13,3591,3591,2974,1007,0]Ao[6662,13,6663,7148,6757,1007,0]Ao[6662,13,6663,5449,4247,1007,0]Ao[6662,13,6663,5449,6760,1007,0]Ao[6662,13,6663,5449,7571,1007,0]Ao[6662,13,3308,1027,5161,1007,0]Ao[6662,13,3308,1027,5152,1007,0]Ao[6662,13,3308,3308,7072,1007,0]Ao[6662,13,3308,3308,5104,1007,0]Ao[6662,13,3308,3308,7170,1007,0]Ao[6662,13,3308,3308,2932,1007,0]Ao[6662,13,3308,3308,5582,1007,0]Ao[6662,13,3308,3308,7064,1007,0]Ao[6662,13,3590,3921,3800,1007,0]Ao[6662,13,3590,3921,7106,1007,0]Ao[6662,13,3590,4475,7834,1007,0]Ao[6662,13,3590,3590,7112,1007,0]Ao[6662,13,3590,3590,6761,1007,0]Ao[6662,13,3590,3590,7060,1007,0]Ao[6662,13,3590,3590,2925,1007,0]Ao[6662,13,3590,3590,5650,1007,0]Ao[6662,13,3590,3590,5165,1007,0]Ao[6662,13,3590,3590,2951,1007,0]Ao[6662,13,3590,3590,7520,1007,0]Ao[6662,13,3590,3590,5580,1007,0]Ao[6662,13,3590,3590,2975,1007,0]Ao[6662,13,3590,3590,5667,1007,0]Ao[6662,13,3590,3590,7575,1007,0]Ao[6662,13,3315,3315,5115,1007,0]Ao[6662,13,3315,3315,7373,1007,0]Ao[6662,13,2887,2887,2481,1007,0]Ao[6662,13,2887,2887,7768,1007,0]Ao[6662,13,2887,2887,7747,1007,0]Ao[6662,13,2887,2887,5101,1007,0]Ao[6662,13,5417,5417,2482,1007,0]Ao[6662,13,2217,2217,2480,1007,0]Ao[6662,13,2217,2217,5649,1007,0]Am[6662,13,583,583,4216,1007,0]Am[6662,13,583,583,6749,1007,0]Am[6662,13,583,583,7392,1007,0]Am[6662,13,583,583,3777,1007,0]Am[6662,13,583,583,6733,1007,0]Am[6662,13,583,583,6735,1007,0]Am[6662,13,583,583,7218,1007,0]Ao[6662,13,7231,7231,7185,1007,0]Ao[6662,13,7231,7231,7180,1007,0]Ao[6662,13,7231,7231,7083,1007,0]Ao[6662,13,7231,7231,4265,1007,0]Ao[6662,13,7231,7231,8042,1007,0]Ao[6662,13,7231,7231,7088,1007,0]Ao[6662,13,7231,7231,5642,1007,0]Al[6662,15,3590,3590,2925,0,0]Ah[2008,5,4284,5181,0,0,0]Ae[6662,6,2217,0,0,0,0]Ae[6662,6,2887,0,0,0,0]Ae[6662,6,5417,0,0,0,0]Aj[6662,15,583,583,6733,0,0]Al[2008,15,4284,5434,7362,0,0]Al[2008,15,4284,4284,7969,0,0]Al[6661,15,6662,6662,7749,0,0]Al[6661,15,6662,6662,7866,0,0]Al[6661,15,6662,6662,4209,0,0]Ai[2008,15,2009,0,7216,0,0]Al[2008,15,4284,6703,2978,0,0]Al[2008,15,4284,6716,7579,0,0]Al[5429,15,5430,7230,7217,0,0]Ai[2008,15,4284,0,5148,0,0]Ai[2008,15,4284,0,7530,0,0]Al[6662,15,2887,2887,2481,0,0]Al[7721,15,1580,7255,7570,0,0]Ae[6661,5,2905,0,0,0,0]Ai[2008,17,2009,0,3826,0,0]Ai[2008,14,2009,0,7079,0,0]Ai[2008,13,5394,0,7082,0,0]Al[2008,13,4284,7049,5654,0,0]Al[5429,14,5430,7230,7080,0,0]Al[6662,13,7231,7231,7083,0,0]Al[2008,13,4284,4284,3776,0,0]Al[2008,12,3939,3939,2963,0,0]Am[2008,13,3939,3939,16,2963,0]Aj[2008,13,585,585,7936,0,0]Al[2008,13,2880,2880,8013,0,0]Al[2008,13,2880,2880,7985,0,0]Aj[2008,13,579,579,3775,0,0]Al[2008,13,2016,2016,7984,0,0]Ai[2008,12,4284,0,7823,0,0]Al[2008,13,4284,2218,8117,0,0]Al[2008,13,4284,2218,7945,0,0]Aj[6662,13,583,583,3777,0,0]Ai[2008,14,4284,0,2462,0,0]Ai[2008,14,4284,0,4262,0,0]Ai[2008,14,4284,0,3827,0,0]Ai[6662,14,5579,0,2953,0,0]Al[2008,13,2009,0,7079,2463,0]Al[2008,13,2009,0,7216,2463,0]Al[2008,13,2009,0,5143,2463,0]Al[2008,13,2009,0,5158,2463,0]Al[2008,13,2009,0,5163,2463,0]Al[2008,13,2009,0,4249,2463,0]Al[2008,13,2009,0,4246,2463,0]Al[2008,13,2009,0,6759,2463,0]Al[2008,13,2009,0,5126,2463,0]Ao[2008,13,3922,3922,7533,2463,0]Al[2008,13,5394,0,7082,2463,0]Al[2008,13,5394,0,4264,2463,0]Al[2008,13,5394,0,7087,2463,0]Ao[2008,13,5394,5394,7364,2463,0]Ao[2008,13,5394,5394,7181,2463,0]Ao[2008,13,5394,5394,7931,2463,0]Ao[2008,13,2880,2880,7380,2463,0]Ao[2008,13,2880,2880,7207,2463,0]Ao[2008,13,2880,2880,7764,2463,0]Am[2008,13,579,579,7075,2463,0]Ao[2008,13,7735,7735,7393,2463,0]Ao[2008,13,2016,2016,7204,2463,0]Ao[2008,13,2016,2016,7366,2463,0]Ak[2008,13,584,0,6734,2463,0]Al[2008,13,4284,0,7835,2463,0]Al[2008,13,4284,0,7386,2463,0]Al[2008,13,4284,0,5148,2463,0]Al[2008,13,4284,0,5655,2463,0]Al[2008,13,4284,0,7385,2463,0]Al[2008,13,4284,0,5673,2463,0]Al[2008,13,4284,0,7116,2463,0]Ao[2008,13,4284,7049,5654,2463,0]Ao[2008,13,4284,7049,7838,2463,0]Ao[2008,13,4284,7049,7891,2463,0]Al[2008,13,4284,0,7946,2463,0]Al[2008,13,4284,0,2985,2463,0]Al[2008,13,4284,0,7986,2463,0]Ao[2008,13,4284,7153,7099,2463,0]Ao[2008,13,4284,7153,4242,2463,0]Ao[2008,13,4284,6703,2978,2463,0]Al[2008,13,4284,0,2961,2463,0]Al[2008,13,4284,0,7108,2463,0]Al[2008,13,4284,0,4262,2463,0]Al[2008,13,4284,0,5612,2463,0]Al[2008,13,4284,0,5138,2463,0]Al[2008,13,4284,0,7532,2463,0]Al[2008,13,4284,0,3827,2463,0]Al[2008,13,4284,0,7067,2463,0]Ao[2008,13,4284,6716,7579,2463,0]Ao[2008,13,4284,5434,5601,2463,0]Ao[2008,13,4284,5434,7362,2463,0]Ao[2008,13,4284,6460,7930,2463,0]Ao[2008,13,4284,6460,7522,2463,0]Ao[2008,13,4284,6460,7224,2463,0]Ao[2008,13,4284,6460,5598,2463,0]Ao[2008,13,4284,6460,7871,2463,0]Ao[2008,13,4284,6460,7534,2463,0]Ao[2008,13,4284,6460,7564,2463,0]Ao[2008,13,4284,6460,8015,2463,0]Ao[2008,13,4284,6460,7356,2463,0]Ao[2008,13,4284,2218,8117,2463,0]Ao[2008,13,4284,2218,7944,2463,0]Ao[2008,13,4284,2218,7945,2463,0]Ao[2008,13,4284,2218,7111,2463,0]Ao[2008,13,4284,4284,4223,2463,0]Al[2008,13,4284,0,7530,2463,0]Ao[2008,13,4284,4284,7355,2463,0]Ao[2008,13,4284,4284,5154,2463,0]Al[2008,13,4284,0,7863,2463,0]Al[2008,13,4284,0,7879,2463,0]Al[2008,13,4284,0,6744,2463,0]Al[2008,13,4284,0,8017,2463,0]Al[2008,13,4284,0,5114,2463,0]Al[2008,13,4284,0,7524,2463,0]Al[2008,13,4284,0,7744,2463,0]Al[2008,13,4284,0,7765,2463,0]Al[2008,13,4284,0,7398,2463,0]Al[2008,13,4284,0,7892,2463,0]Ak[2008,13,4284,0,993,2463,0]Ak[2008,13,4284,0,318,2463,0]Al[2008,13,4284,0,4254,2463,0]Am[2008,13,3939,3939,16,2463,0]Ao[2008,13,4473,4473,2972,2463,0]Ao[2008,13,4473,4473,6723,2463,0]Ao[2008,13,6711,2215,7210,2463,0]Ao[5429,13,5430,7230,7080,2463,0]Ao[5429,13,5430,7230,7217,2463,0]An[5429,13,5430,886,5144,2463,0]An[5429,13,5430,886,5159,2463,0]An[5429,13,5430,886,5164,2463,0]Ao[5429,13,5430,5452,4250,2463,0]Ao[6661,13,6662,6662,4209,2463,0]An[6661,13,6662,6662,327,2463,0]Al[6661,13,941,941,328,2463,0]Ao[7721,13,7722,2912,5175,2463,0]Ao[7721,13,2901,2901,4205,2463,0]Ao[7721,13,3533,3533,6768,2463,0]Am[7721,13,586,586,5110,2463,0]Am[7721,13,586,586,5604,2463,0]Am[7721,13,586,586,2941,2463,0]Ao[7721,13,1580,7255,7570,2463,0]An[7721,13,1580,945,4208,2463,0]Ao[7721,13,1580,1580,5614,2463,0]Ao[7721,13,1580,1580,6743,2463,0]Ao[6662,13,6663,5449,4247,2463,0]Ao[6662,13,6663,5449,6760,2463,0]Ao[6662,13,6663,5449,7571,2463,0]Ao[6662,13,3308,3308,7170,2463,0]Ao[6662,13,3590,3921,7106,2463,0]Ao[6662,13,3590,3590,2925,2463,0]Ao[6662,13,3590,3590,7520,2463,0]Ao[6662,13,3315,3315,5115,2463,0]Ao[6662,13,2887,2887,7768,2463,0]Ao[6662,13,2887,2887,7747,2463,0]Ao[6662,13,2887,2887,5101,2463,0]Ao[6662,13,2217,2217,5649,2463,0]Am[6662,13,583,583,3777,2463,0]Am[6662,13,583,583,6733,2463,0]Am[6662,13,583,583,6735,2463,0]Am[6662,13,583,583,7218,2463,0]Ao[6662,13,7231,7231,7083,2463,0]Ao[6662,13,7231,7231,4265,2463,0]Ao[6662,13,7231,7231,7088,2463,0]Al[2008,13,4284,6460,5598,0,0]Al[2008,13,4284,4284,4223,0,0]Al[6661,13,6662,6662,7749,0,0]Al[6661,13,6662,6662,7866,0,0]Al[2008,13,2009,0,7079,5139,0]Al[2008,13,2009,0,7216,5139,0]Al[2008,13,2009,0,5143,5139,0]Al[2008,13,2009,0,5143,2466,0]Al[2008,13,2009,0,7548,5139,0]Al[2008,13,2009,0,5158,5139,0]Al[2008,13,2009,0,5163,5139,0]Al[2008,13,2009,0,7389,5139,0]Al[2008,13,2009,0,4249,5139,0]Al[2008,13,2009,0,4249,2466,0]Al[2008,13,2009,0,7883,5139,0]Al[2008,13,2009,0,4246,5139,0]Al[2008,13,2009,0,6759,5139,0]Al[2008,13,2009,0,5126,5139,0]Al[2008,13,3922,0,7381,5139,0]Al[2008,13,3922,0,7759,5139,0]Al[2008,13,3922,0,7105,5139,0]Ao[2008,13,3922,3922,7533,5139,0]Al[2008,13,3922,0,7760,5139,0]Al[2008,13,5394,0,7082,5139,0]Al[2008,13,5394,0,4264,5139,0]Al[2008,13,5394,0,7087,5139,0]Al[2008,13,5394,0,7087,2466,0]Al[2008,13,5394,0,5640,5139,0]Ao[2008,13,5394,5394,7873,5139,0]Ao[2008,13,5394,5394,7364,5139,0]Ao[2008,13,5394,5394,7181,5139,0]Ao[2008,13,5394,5394,7181,2466,0]Ao[2008,13,5394,5394,7931,5139,0]Am[2008,13,585,585,7077,5139,0]Am[2008,13,585,585,7936,5139,0]Ao[2008,13,2880,2880,5646,5139,0]Ao[2008,13,2880,2880,8013,5139,0]Ao[2008,13,2880,2880,7380,5139,0]Ao[2008,13,2880,2880,7985,5139,0]Ao[2008,13,2880,2880,7207,5139,0]Ao[2008,13,2880,2880,7764,5139,0]Am[2008,13,579,579,7075,5139,0]Am[2008,13,579,579,3775,5139,0]Ao[2008,13,7735,7735,7393,5139,0]Ao[2008,13,2016,2016,7204,5139,0]Ao[2008,13,2016,2016,7984,5139,0]Ao[2008,13,2016,2016,7366,5139,0]Ak[2008,13,584,0,6734,5139,0]Al[2008,13,4284,0,3802,5139,0]Al[2008,13,4284,0,2958,5139,0]Al[2008,13,4284,0,5086,5139,0]Al[2008,13,4284,0,4202,5139,0]Al[2008,13,4284,0,7104,5139,0]Al[2008,13,4284,0,7109,5139,0]Al[2008,13,4284,0,7835,5139,0]Al[2008,13,4284,0,5653,5139,0]Al[2008,13,4284,0,7949,5139,0]Al[2008,13,4284,0,7386,5139,0]Al[2008,13,4284,0,5148,5139,0]Al[2008,13,4284,0,5655,5139,0]Al[2008,13,4284,0,7385,5139,0]Al[2008,13,4284,0,5663,5139,0]Al[2008,13,4284,0,5673,5139,0]Al[2008,13,4284,0,7116,5139,0]Al[2008,13,4284,0,5648,5139,0]Ak[2008,13,4284,0,975,5139,0]Ao[2008,13,4284,7049,5654,5139,0]Ao[2008,13,4284,7049,7838,5139,0]Ao[2008,13,4284,7049,7891,5139,0]Al[2008,13,4284,0,7576,5139,0]Al[2008,13,4284,0,7946,5139,0]Al[2008,13,4284,0,2985,5139,0]Al[2008,13,4284,0,7986,5139,0]Al[2008,13,4284,0,2462,5139,0]Ao[2008,13,4284,7153,7099,5139,0]Ao[2008,13,4284,7153,4242,5139,0]Ao[2008,13,4284,6703,2978,5139,0]Al[2008,13,4284,0,2961,5139,0]Al[2008,13,4284,0,7108,5139,0]Al[2008,13,4284,0,4262,5139,0]Al[2008,13,4284,0,5612,5139,0]Al[2008,13,4284,0,5138,5139,0]Al[2008,13,4284,0,7532,5139,0]Al[2008,13,4284,0,3827,5139,0]Al[2008,13,4284,0,7067,5139,0]Ao[2008,13,4284,6716,7579,5139,0]Ao[2008,13,4284,5434,5601,5139,0]Ao[2008,13,4284,5434,7362,5139,0]Ao[2008,13,4284,6460,2924,5139,0]Ao[2008,13,4284,6460,4229,5139,0]Ao[2008,13,4284,6460,5661,5139,0]Ao[2008,13,4284,6460,7930,5139,0]Ao[2008,13,4284,6460,5588,5139,0]Ao[2008,13,4284,6460,5087,5139,0]Ao[2008,13,4284,6460,5090,5139,0]Ao[2008,13,4284,6460,7522,5139,0]Ao[2008,13,4284,6460,7224,5139,0]Ao[2008,13,4284,6460,5598,5139,0]Ao[2008,13,4284,6460,7871,5139,0]Ao[2008,13,4284,6460,7534,5139,0]Ao[2008,13,4284,6460,7564,5139,0]Ao[2008,13,4284,6460,8015,5139,0]Ao[2008,13,4284,6460,7356,5139,0]Ao[2008,13,4284,2867,7967,5139,0]Ao[2008,13,4284,2867,8009,5139,0]Ao[2008,13,4284,2218,8117,5139,0]Ao[2008,13,4284,2218,7944,5139,0]Ao[2008,13,4284,2218,7945,5139,0]Ao[2008,13,4284,2218,7111,5139,0]Ao[2008,13,4284,4284,3776,5139,0]Ao[2008,13,4284,4284,4223,5139,0]Ao[2008,13,4284,4284,7969,5139,0]Ao[2008,13,4284,4284,7071,5139,0]Ao[2008,13,4284,4284,5093,5139,0]Al[2008,13,4284,0,7530,5139,0]Ao[2008,13,4284,4284,7355,5139,0]Ao[2008,13,4284,4284,5154,5139,0]Al[2008,13,4284,0,7569,5139,0]Al[2008,13,4284,0,7863,5139,0]Al[2008,13,4284,0,7879,5139,0]Al[2008,13,4284,0,6744,5139,0]Al[2008,13,4284,0,8017,5139,0]Al[2008,13,4284,0,8097,5139,0]Al[2008,13,4284,0,6729,5139,0]Al[2008,13,4284,0,7894,5139,0]Al[2008,13,4284,0,5114,5139,0]Al[2008,13,4284,0,7524,5139,0]Al[2008,13,4284,0,7744,5139,0]Al[2008,13,4284,0,7765,5139,0]Al[2008,13,4284,0,7398,5139,0]Al[2008,13,4284,0,7892,5139,0]Al[2008,13,4284,0,7824,5139,0]Ak[2008,13,4284,0,993,5139,0]Ak[2008,13,4284,0,318,5139,0]Al[2008,13,4284,0,4254,5139,0]Am[2008,13,3939,3939,16,5139,0]Ao[2008,13,4473,4473,2972,5139,0]Ao[2008,13,4473,4473,7212,5139,0]Ao[2008,13,4473,4473,6722,5139,0]Ao[2008,13,4473,4473,6723,5139,0]Al[2008,13,7232,0,7184,5139,0]Al[2008,13,7232,0,7178,5139,0]Al[2008,13,7232,0,8041,5139,0]Ao[2008,13,6711,2215,7210,5139,0]Ao[2008,13,6711,6711,7745,5139,0]Ao[2008,13,6711,8022,7367,5139,0]An[5429,13,5430,886,5144,2466,0]Ao[5429,13,5430,5452,4250,2466,0]Ao[6661,13,6662,6662,7749,5139,0]Ao[6661,13,6662,6662,7866,5139,0]Ao[6661,13,6662,6662,4209,5139,0]An[6661,13,6662,6662,327,5139,0]Ao[6661,13,6662,6662,6727,5139,0]Ao[6661,13,2905,2905,2501,5139,0]Ao[6661,13,2905,2905,6773,5139,0]Ao[6661,13,2905,2905,7396,5139,0]Al[6661,13,941,941,328,5139,0]Ao[6662,13,6663,7148,6757,5139,0]Ao[6662,13,6663,5449,4247,5139,0]Ao[6662,13,6663,5449,6760,5139,0]Ao[6662,13,6663,5449,7571,5139,0]Ao[6662,13,3308,1027,5161,5139,0]Ao[6662,13,3308,1027,5152,5139,0]Ao[6662,13,3308,3308,7072,5139,0]Ao[6662,13,3308,3308,5104,5139,0]Ao[6662,13,3308,3308,7170,5139,0]Ao[6662,13,3308,3308,2932,5139,0]Ao[6662,13,3308,3308,5582,5139,0]Ao[6662,13,3308,3308,7064,5139,0]Ao[6662,13,3590,3921,3800,5139,0]Ao[6662,13,3590,3921,7106,5139,0]Ao[6662,13,3590,4475,7834,5139,0]Ao[6662,13,3590,4475,7834,2466,0]Ao[6662,13,3590,3590,7112,5139,0]Ao[6662,13,3590,3590,6761,5139,0]Ao[6662,13,3590,3590,7060,5139,0]Ao[6662,13,3590,3590,2925,5139,0]Ao[6662,13,3590,3590,5650,5139,0]Ao[6662,13,3590,3590,5165,5139,0]Ao[6662,13,3590,3590,2951,5139,0]Ao[6662,13,3590,3590,7520,5139,0]Ao[6662,13,3590,3590,5580,5139,0]Ao[6662,13,3590,3590,2975,5139,0]Ao[6662,13,3590,3590,5667,5139,0]Ao[6662,13,3590,3590,7575,5139,0]Ao[6662,13,3315,3315,5115,5139,0]Ao[6662,13,3315,3315,7373,5139,0]Ao[6662,13,2887,2887,2481,5139,0]Ao[6662,13,2887,2887,7768,5139,0]Ao[6662,13,2887,2887,7747,5139,0]Ao[6662,13,2887,2887,5101,5139,0]Ao[6662,13,5417,5417,2482,5139,0]Ao[6662,13,2217,2217,2480,5139,0]Ao[6662,13,2217,2217,5649,5139,0]Am[6662,13,583,583,4216,5139,0]Am[6662,13,583,583,6749,5139,0]Am[6662,13,583,583,7392,5139,0]Am[6662,13,583,583,3777,5139,0]Am[6662,13,583,583,6733,5139,0]Am[6662,13,583,583,6735,5139,0]Am[6662,13,583,583,7218,5139,0]Ao[6662,13,7231,7231,7185,5139,0]Ao[6662,13,7231,7231,7180,5139,0]Ao[6662,13,7231,7231,7083,5139,0]Ao[6662,13,7231,7231,4265,5139,0]Ao[6662,13,7231,7231,8042,5139,0]Ao[6662,13,7231,7231,7088,2466,0]Ao[6662,13,7231,7231,7088,5139,0]Ao[6662,13,7231,7231,5642,5139,0]Ai[2008,13,2009,0,4246,0,0]Al[2008,13,5394,5394,7931,0,0]Al[2008,13,4284,4284,3776,0,0]Al[6662,13,6663,5449,4247,0,0]Ai[2008,14,4284,0,7398,0,0]2Al[7721,14,3533,3533,2934,0,0]Ai[2008,13,4284,0,4254,0,0]Ai[2008,13,2009,0,7216,0,0]Al[2008,13,4284,7153,4242,0,0]Al[5429,13,5430,7230,7217,0,0]Ai[2008,14,5637,0,7560,0,0]0Ai[6662,14,5636,0,7559,0,0]Al[2008,13,4284,6460,5598,0,0]Al[2008,13,4284,6460,7356,0,0]Ae[2008,2,5394,0,0,0,0]Al[6661,13,6662,6662,6727,0,0]Al[6661,13,2905,2905,2501,0,0]Ae[6661,2,6662,0,0,0,0]Al[6662,14,3590,3590,7112,0,0]Ae[6662,2,3574,0,0,0,0]Ah[2008,13,584,0,6734,0,0]Ai[2008,13,4284,0,5663,0,0]Aj[6662,12,583,583,4253,0,0]Aj[6662,13,583,583,6735,0,0]Al[2008,13,4284,6460,4229,0,0]Aj[7721,14,586,586,5110,0,0]Al[2008,13,4473,4473,7212,0,0]Aj[7721,13,586,586,5111,0,0]Al[7721,13,1580,1580,5615,0,0]Al[7721,13,3591,3591,2974,0,0]Al[6662,13,3590,3590,2975,0,0]Al[6662,13,3308,3308,2932,0,0]Ae[7721,2,7722,0,0,0,0]Ai[6662,14,5579,0,6745,0,0]Al[2008,13,4284,7153,4242,0,0]Al[2008,13,4284,6460,5598,0,0]Al[2008,13,4284,6460,7356,0,0]Ae[6661,2,6662,0,0,0,0]Al[6661,13,6662,6662,7866,0,0]Ak[6661,14,6662,6662,327,0,0]Al[7721,14,2901,2901,4205,0,0]Ai[2008,13,4284,0,5648,0,0]Al[2008,13,4284,7049,7838,0,0]Ai[6662,14,2472,0,8063,0,0]Ai[2008,13,4284,0,5663,0,0]Ai[2008,13,4284,0,7946,0,0]Al[2008,15,4284,2867,7967,0,0]Al[2008,15,4284,2867,8009,0,0]Ah[2008,5,4284,6460,0,0,0]Ae[6662,6,3590,0,0,0,0]Ai[2008,15,4284,0,5114,0,0]Al[2008,15,4284,7049,7891,0,0]Ah[2008,15,4284,0,993,0,0]Ae[6662,5,3308,0,0,0,0]Ae[7721,5,3533,0,0,0,0]4Al[2008,15,4284,4284,5154,0,0]Al[7721,15,3533,3533,7519,0,0]Ai[2008,15,2009,0,7548,0,0]Ak[5429,15,5430,886,7549,0,0]Ad[7721,5,586,0,0,0,0]Al[6662,15,3315,3315,5115,0,0]Al[6662,15,2887,2887,7768,0,0]Ai[2008,19,2009,0,5143,0,0]Ai[2008,19,2009,0,5163,0,0]Ak[5429,19,5430,886,5144,0,0]Ak[5429,19,5430,886,5164,0,0]Ae[6662,5,3590,0,0,0,0]Ak[7721,15,1580,945,4208,0,0]Al[6662,15,3590,3590,5580,0,0]Al[2008,15,4284,6460,7930,0,0]Ah[2008,5,4284,6462,0,0,0]Ah[2008,5,4284,2877,0,0,0]Af[2008,10,3939,0,0,0,0]Al[2008,15,4284,2867,7967,0,0]Al[2008,15,4284,2867,8009,0,0]Ae[2008,5,4473,0,0,0,0]Ah[2008,15,4284,0,993,0,0]Ae[7721,5,3591,0,0,0,0];Al[7721,15,1580,7255,7570,0,0]Ah[2008,6,4284,6703,0,0,0]Ai[2008,15,4284,0,5114,0,0]Ah[2008,5,4284,3768,0,0,0]Al[2008,15,2880,2880,5646,0,0]Al[2008,13,4284,6460,4229,0,0]Al[2008,13,4284,2867,8009,0,0]Al[2008,13,4284,4284,4223,0,0]Al[2008,12,4473,4473,7566,0,0]Al[2008,12,4473,4473,7869,0,0]Al[2008,13,4473,4473,7212,0,0]Ao[2008,13,4473,4473,6723,7566,0]Ao[2008,13,4473,4473,6723,7869,0]Al[6662,14,3590,3590,6761,0,0]Al[2008,13,2009,0,7548,5668,0]Al[2008,13,2009,0,7389,5668,0]Al[2008,13,2009,0,7883,5668,0]Al[2008,13,5394,0,5640,5668,0]Ao[2008,13,5394,5394,7873,5668,0]Ao[2008,13,5394,5394,7364,5668,0]Ao[2008,13,2880,2880,5646,5668,0]Ao[2008,13,4284,6460,5661,5668,0]Ao[2008,13,4284,6460,7930,5668,0]Ao[2008,13,4284,6460,5090,5668,0]Ao[2008,13,4284,6460,7522,5668,0]Ao[2008,13,4284,6460,8015,5668,0]Ao[2008,13,4284,4284,7969,5668,0]Ao[2008,13,4284,4284,7071,5668,0]Ao[2008,13,4284,4284,5093,5668,0]Ao[2008,13,4473,4473,6722,5668,0]Al[2008,13,7232,0,7184,5668,0]Al[2008,13,7232,0,7178,5668,0]Al[2008,13,7232,0,8041,5668,0]An[5429,13,5430,886,7549,5668,0]An[5429,13,5430,886,7390,5668,0]Ao[5429,13,5430,5452,7884,5668,0]Ao[6662,13,3308,1027,5161,5668,0]Ao[6662,13,3308,1027,5152,5668,0]Ao[6662,13,3308,3308,7072,5668,0]Ao[6662,13,3308,3308,5104,5668,0]Ao[6662,13,3590,3590,5667,5668,0]Ao[6662,13,3590,3590,7575,5668,0]Ao[6662,13,3315,3315,7373,5668,0]Ao[6662,13,2887,2887,2481,5668,0]Ao[6662,13,5417,5417,2482,5668,0]Ao[6662,13,2217,2217,2480,5668,0]Am[6662,13,583,583,4216,5668,0]Am[6662,13,583,583,6749,5668,0]Am[6662,13,583,583,7392,5668,0]Ao[6662,13,7231,7231,7185,5668,0]Ao[6662,13,7231,7231,7180,5668,0]Ao[6662,13,7231,7231,8042,5668,0]Ao[6662,13,7231,7231,5642,5668,0]Al[2008,13,2009,0,5143,2458,0]Al[2008,13,5394,0,4264,2458,0]An[5429,13,5430,886,5144,2458,0]Ao[6662,13,7231,7231,4265,2458,0]Al[2008,13,2009,0,7548,5668,0]Al[2008,13,2009,0,7389,5668,0]Al[2008,13,2009,0,7883,5668,0]Al[2008,13,5394,0,5640,5668,0]Ao[2008,13,5394,5394,7873,5668,0]Ao[2008,13,5394,5394,7364,5668,0]Ao[2008,13,2880,2880,5646,5668,0]Ao[2008,13,4284,6460,5661,5668,0]Ao[2008,13,4284,6460,7930,5668,0]Ao[2008,13,4284,6460,5090,5668,0]Ao[2008,13,4284,6460,7522,5668,0]Ao[2008,13,4284,6460,8015,5668,0]Ao[2008,13,4284,4284,7969,5668,0]Ao[2008,13,4284,4284,7071,5668,0]Ao[2008,13,4284,4284,5093,5668,0]Ao[2008,13,4473,4473,6722,5668,0]Al[2008,13,7232,0,7184,5668,0]Al[2008,13,7232,0,7178,5668,0]Al[2008,13,7232,0,8041,5668,0]An[5429,13,5430,886,7549,5668,0]An[5429,13,5430,886,7390,5668,0]Ao[5429,13,5430,5452,7884,5668,0]Ao[6662,13,3308,1027,5161,5668,0]Ao[6662,13,3308,1027,5152,5668,0]Ao[6662,13,3308,3308,7072,5668,0]Ao[6662,13,3308,3308,5104,5668,0]Ao[6662,13,3590,3590,5667,5668,0]Ao[6662,13,3590,3590,7575,5668,0]Ao[6662,13,3315,3315,7373,5668,0]Ao[6662,13,2887,2887,2481,5668,0]Ao[6662,13,5417,5417,2482,5668,0]Ao[6662,13,2217,2217,2480,5668,0]Am[6662,13,583,583,4216,5668,0]Am[6662,13,583,583,6749,5668,0]Am[6662,13,583,583,7392,5668,0]Ao[6662,13,7231,7231,7185,5668,0]Ao[6662,13,7231,7231,7180,5668,0]Ao[6662,13,7231,7231,8042,5668,0]Ao[6662,13,7231,7231,5642,5668,0]Al[2008,13,2009,0,7079,2928,0]Al[2008,13,2009,0,7216,2928,0]Al[2008,13,2009,0,5143,2928,0]0Al[2008,13,2009,0,7548,2928,0]Al[2008,13,2009,0,5158,2928,0]Al[2008,13,2009,0,5163,2928,0]Al[2008,13,2009,0,7389,2928,0]Al[2008,13,2009,0,4249,2928,0]Al[2008,13,2009,0,7883,2928,0]Al[2008,13,2009,0,4246,2928,0]Al[2008,13,2009,0,6759,2928,0]Al[2008,13,2009,0,5126,2928,0]Al[2008,13,3922,0,7381,2928,0]Al[2008,13,3922,0,7759,2928,0]Al[2008,13,3922,0,7105,2928,0]Ao[2008,13,3922,3922,7533,2928,0]Al[2008,13,3922,0,7760,2928,0]Al[2008,13,5394,0,7082,2928,0]Al[2008,13,5394,0,4264,2928,0]Al[2008,13,5394,0,7087,2928,0]Al[2008,13,5394,0,5640,2928,0]Ao[2008,13,5394,5394,7873,2928,0]Ao[2008,13,5394,5394,7364,2928,0]Ao[2008,13,5394,5394,7181,2928,0]Ao[2008,13,5394,5394,7931,2928,0]Am[2008,13,585,585,7077,2928,0]Am[2008,13,585,585,7936,2928,0]Ao[2008,13,2880,2880,5646,2928,0]Ao[2008,13,2880,2880,8013,2928,0]Ao[2008,13,2880,2880,7380,2928,0]Ao[2008,13,2880,2880,7985,2928,0]Ao[2008,13,2880,2880,7207,2928,0]Ao[2008,13,2880,2880,7764,2928,0]Am[2008,13,579,579,7075,2928,0]Am[2008,13,579,579,3775,2928,0]Ao[2008,13,7735,7735,7393,2928,0]Ao[2008,13,2016,2016,7204,2928,0]Ao[2008,13,2016,2016,7984,2928,0]Ao[2008,13,2016,2016,7366,2928,0]Ak[2008,13,584,0,6734,2928,0]Al[2008,13,4284,0,3802,2928,0]Al[2008,13,4284,0,2958,2928,0]Al[2008,13,4284,0,5086,2928,0]Al[2008,13,4284,0,4202,2928,0]Al[2008,13,4284,0,7104,2928,0]Al[2008,13,4284,0,7109,2928,0]Al[2008,13,4284,0,7835,2928,0]Al[2008,13,4284,0,5653,2928,0]Al[2008,13,4284,0,7949,2928,0]Al[2008,13,4284,0,7386,2928,0]Al[2008,13,4284,0,5148,2928,0]Al[2008,13,4284,0,5655,2928,0]Al[2008,13,4284,0,7385,2928,0]Al[2008,13,4284,0,5663,2928,0]Al[2008,13,4284,0,5673,2928,0]Al[2008,13,4284,0,7116,2928,0]Al[2008,13,4284,0,5648,2928,0]Ak[2008,13,4284,0,975,2928,0]Ao[2008,13,4284,7049,5654,2928,0]Ao[2008,13,4284,7049,7838,2928,0]Ao[2008,13,4284,7049,7891,2928,0]Al[2008,13,4284,0,7576,2928,0]Al[2008,13,4284,0,7946,2928,0]Al[2008,13,4284,0,2985,2928,0]Al[2008,13,4284,0,7986,2928,0]Al[2008,13,4284,0,2462,2928,0]Ao[2008,13,4284,7153,7099,2928,0]Ao[2008,13,4284,7153,4242,2928,0]Ao[2008,13,4284,6703,2978,2928,0]Al[2008,13,4284,0,2961,2928,0]Al[2008,13,4284,0,7108,2928,0]Al[2008,13,4284,0,4262,2928,0]Al[2008,13,4284,0,5612,2928,0]Al[2008,13,4284,0,5138,2928,0]Al[2008,13,4284,0,7532,2928,0]Al[2008,13,4284,0,3827,2928,0]Al[2008,13,4284,0,7067,2928,0]Ao[2008,13,4284,6716,7579,2928,0]Ao[2008,13,4284,5434,5601,2928,0]Ao[2008,13,4284,5434,7362,2928,0]Ao[2008,13,4284,6460,2924,2928,0]Ao[2008,13,4284,6460,4229,2928,0]Ao[2008,13,4284,6460,5661,2928,0]Ao[2008,13,4284,6460,7930,2928,0]Ao[2008,13,4284,6460,5588,2928,0]Ao[2008,13,4284,6460,5087,2928,0]Ao[2008,13,4284,6460,5090,2928,0]Ao[2008,13,4284,6460,7522,2928,0]Ao[2008,13,4284,6460,7224,2928,0]Ao[2008,13,4284,6460,5598,2928,0]Ao[2008,13,4284,6460,7871,2928,0]Ao[2008,13,4284,6460,7534,2928,0]Ao[2008,13,4284,6460,7564,2928,0]Ao[2008,13,4284,6460,8015,2928,0]Ao[2008,13,4284,6460,7356,2928,0]Ao[2008,13,4284,2867,7967,2928,0]Ao[2008,13,4284,2867,8009,2928,0]Ao[2008,13,4284,2218,8117,2928,0]Ao[2008,13,4284,2218,7944,2928,0]Ao[2008,13,4284,2218,7945,2928,0]Ao[2008,13,4284,2218,7111,2928,0]Ao[2008,13,4284,4284,3776,2928,0]Ao[2008,13,4284,4284,4223,2928,0]Ao[2008,13,4284,4284,7969,2928,0]Ao[2008,13,4284,4284,7071,2928,0]Ao[2008,13,4284,4284,5093,2928,0]Al[2008,13,4284,0,7530,2928,0]Ao[2008,13,4284,4284,7355,2928,0]Ao[2008,13,4284,4284,5154,2928,0]Al[2008,13,4284,0,7569,2928,0]Al[2008,13,4284,0,7863,2928,0]Al[2008,13,4284,0,7879,2928,0]Al[2008,13,4284,0,6744,2928,0]Al[2008,13,4284,0,8017,2928,0]Al[2008,13,4284,0,8097,2928,0]Al[2008,13,4284,0,6729,2928,0]Al[2008,13,4284,0,7894,2928,0]Al[2008,13,4284,0,5114,2928,0]Al[2008,13,4284,0,7524,2928,0]Al[2008,13,4284,0,7744,2928,0]Al[2008,13,4284,0,7765,2928,0]Al[2008,13,4284,0,7398,2928,0]Al[2008,13,4284,0,7892,2928,0]Al[2008,13,4284,0,7824,2928,0]Ak[2008,13,4284,0,993,2928,0]Ak[2008,13,4284,0,318,2928,0]Al[2008,13,4284,0,4254,2928,0]Am[2008,13,3939,3939,16,2928,0]Ao[2008,13,4473,4473,2972,2928,0]Ao[2008,13,4473,4473,7212,2928,0]Ao[2008,13,4473,4473,6722,2928,0]Ao[2008,13,4473,4473,6723,2928,0]Al[2008,13,7232,0,7184,2928,0]Al[2008,13,7232,0,7178,2928,0]Al[2008,13,7232,0,8041,2928,0]Ao[2008,13,6711,2215,7210,2928,0]Ao[2008,13,6711,6711,7745,2928,0]Ao[2008,13,6711,8022,7367,2928,0]Ao[5429,13,5430,7230,7080,2928,0]Ao[5429,13,5430,7230,7217,2928,0]An[5429,13,5430,886,5144,2928,0]0An[5429,13,5430,886,7549,2928,0]An[5429,13,5430,886,5159,2928,0]An[5429,13,5430,886,5164,2928,0]An[5429,13,5430,886,7390,2928,0]Ao[5429,13,5430,5452,4250,2928,0]Ao[5429,13,5430,5452,7884,2928,0]Ao[6661,13,6662,6662,7749,2928,0]Ao[6661,13,6662,6662,7866,2928,0]Ao[6661,13,6662,6662,4209,2928,0]An[6661,13,6662,6662,327,2928,0]Ao[6661,13,6662,6662,6727,2928,0]Ao[6661,13,2905,2905,2501,2928,0]Ao[6661,13,2905,2905,6773,2928,0]Ao[6661,13,2905,2905,7396,2928,0]Al[6661,13,941,941,328,2928,0]Ao[7721,13,7722,2912,5175,2928,0]Ao[7721,13,2901,2901,4205,2928,0]Ao[7721,13,3533,3533,2934,2928,0]Ao[7721,13,3533,3533,6768,2928,0]Ao[7721,13,3533,3533,7205,2928,0]Ao[7721,13,3533,3533,7377,2928,0]Ao[7721,13,3533,3533,7519,2928,0]Am[7721,13,586,586,5111,2928,0]Am[7721,13,586,586,5110,2928,0]Am[7721,13,586,586,5604,2928,0]Am[7721,13,586,586,2941,2928,0]Ao[7721,13,1580,1580,5615,2928,0]Ao[7721,13,1580,7255,7570,2928,0]An[7721,13,1580,945,4208,2928,0]Ao[7721,13,1580,1580,5614,2928,0]Ao[7721,13,1580,1580,6743,2928,0]Ao[7721,13,3923,3923,3798,2928,0]Ao[7721,13,3591,3591,2974,2928,0]Ao[6662,13,6663,7148,6757,2928,0]Ao[6662,13,6663,5449,4247,2928,0]Ao[6662,13,6663,5449,6760,2928,0]Ao[6662,13,6663,5449,7571,2928,0]Ao[6662,13,3308,1027,5161,2928,0]Ao[6662,13,3308,1027,5152,2928,0]Ao[6662,13,3308,3308,7072,2928,0]Ao[6662,13,3308,3308,5104,2928,0]Ao[6662,13,3308,3308,7170,2928,0]Ao[6662,13,3308,3308,2932,2928,0]Ao[6662,13,3308,3308,5582,2928,0]Ao[6662,13,3308,3308,7064,2928,0]Ao[6662,13,3590,3921,3800,2928,0]Ao[6662,13,3590,3921,7106,2928,0]Ao[6662,13,3590,4475,7834,2928,0]Ao[6662,13,3590,3590,7112,2928,0]Ao[6662,13,3590,3590,6761,2928,0]Ao[6662,13,3590,3590,7060,2928,0]Ao[6662,13,3590,3590,2925,2928,0]Ao[6662,13,3590,3590,5650,2928,0]Ao[6662,13,3590,3590,5165,2928,0]Ao[6662,13,3590,3590,2951,2928,0]Ao[6662,13,3590,3590,7520,2928,0]Ao[6662,13,3590,3590,5580,2928,0]Ao[6662,13,3590,3590,2975,2928,0]Ao[6662,13,3590,3590,5667,2928,0]Ao[6662,13,3590,3590,7575,2928,0]Ao[6662,13,3315,3315,5115,2928,0]Ao[6662,13,3315,3315,7373,2928,0]Ao[6662,13,2887,2887,2481,2928,0]Ao[6662,13,2887,2887,7768,2928,0]Ao[6662,13,2887,2887,7747,2928,0]Ao[6662,13,2887,2887,5101,2928,0]Ao[6662,13,5417,5417,2482,2928,0]Ao[6662,13,2217,2217,2480,2928,0]Ao[6662,13,2217,2217,5649,2928,0]Am[6662,13,583,583,4216,2928,0]Am[6662,13,583,583,6749,2928,0]Am[6662,13,583,583,7392,2928,0]Am[6662,13,583,583,3777,2928,0]Am[6662,13,583,583,6733,2928,0]Am[6662,13,583,583,6735,2928,0]Am[6662,13,583,583,7218,2928,0]Ao[6662,13,7231,7231,7185,2928,0]Ao[6662,13,7231,7231,7180,2928,0]Ao[6662,13,7231,7231,7083,2928,0]Ao[6662,13,7231,7231,4265,2928,0]Ao[6662,13,7231,7231,8042,2928,0]Ao[6662,13,7231,7231,7088,2928,0]Ao[6662,13,7231,7231,5642,2928,0]Ai[2008,14,4284,0,3827,0,0]Al[6661,14,2905,2905,6773,0,0]Al[6661,14,2905,2905,7396,0,0]Aj[2008,13,579,579,3775,0,0]Ae[6661,7,2008,0,0,0,0]Ae[6661,7,2884,0,0,0,0]Ae[6662,2,6663,0,0,0,0]Al[2008,13,4284,6460,5598,0,0]Al[2008,13,4284,6460,7356,0,0]Ae[6662,2,3574,0,0,0,0]Al[2008,13,2009,0,7079,5095,0]Al[2008,13,2009,0,7216,5095,0]Al[2008,13,2009,0,5143,5095,0]Al[2008,13,2009,0,7548,5095,0]Al[2008,13,2009,0,5158,5095,0]Al[2008,13,2009,0,5163,5095,0]Al[2008,13,2009,0,7389,5095,0]Al[2008,13,2009,0,4249,5095,0]Al[2008,13,2009,0,7883,5095,0]Al[2008,13,2009,0,4246,5095,0]Al[2008,13,2009,0,6759,5095,0]Al[2008,13,2009,0,5126,5095,0]Al[2008,13,3922,0,7381,5095,0]Al[2008,13,3922,0,7759,5095,0]Al[2008,13,3922,0,7105,5095,0]Ao[2008,13,3922,3922,7533,5095,0]Al[2008,13,3922,0,7760,5095,0]Al[2008,13,5394,0,7082,5095,0]Al[2008,13,5394,0,4264,5095,0]Al[2008,13,5394,0,7087,5095,0]Al[2008,13,5394,0,5640,5095,0]Ao[2008,13,5394,5394,7873,5095,0]Ao[2008,13,5394,5394,7364,5095,0]Ao[2008,13,5394,5394,7181,5095,0]Ao[2008,13,5394,5394,7931,5095,0]Am[2008,13,585,585,7077,5095,0]Am[2008,13,585,585,7936,5095,0]Ao[2008,13,2880,2880,5646,5095,0]Ao[2008,13,2880,2880,8013,5095,0]Ao[2008,13,2880,2880,7380,5095,0]Ao[2008,13,2880,2880,7985,5095,0]Ao[2008,13,2880,2880,7207,5095,0]Ao[2008,13,2880,2880,7764,5095,0]Am[2008,13,579,579,7075,5095,0]Am[2008,13,579,579,3775,5095,0]Ao[2008,13,7735,7735,7393,5095,0]Ao[2008,13,2016,2016,7204,5095,0]Ao[2008,13,2016,2016,7984,5095,0]Ao[2008,13,2016,2016,7366,5095,0]Ak[2008,13,584,0,6734,5095,0]Al[2008,13,4284,0,3802,5095,0]Al[2008,13,4284,0,2958,5095,0]Al[2008,13,4284,0,5086,5095,0]Al[2008,13,4284,0,4202,5095,0]Al[2008,13,4284,0,7104,5095,0]Al[2008,13,4284,0,7109,5095,0]Al[2008,13,4284,0,7835,5095,0]Al[2008,13,4284,0,5653,5095,0]Al[2008,13,4284,0,7949,5095,0]Al[2008,13,4284,0,7386,5095,0]Al[2008,13,4284,0,5148,5095,0]Al[2008,13,4284,0,5655,5095,0]Al[2008,13,4284,0,7385,5095,0]Al[2008,13,4284,0,5663,5095,0]Al[2008,13,4284,0,5673,5095,0]Al[2008,13,4284,0,7116,5095,0]Al[2008,13,4284,0,5648,5095,0]Ak[2008,13,4284,0,975,5095,0]Ao[2008,13,4284,7049,5654,5095,0]Ao[2008,13,4284,7049,7838,5095,0]Ao[2008,13,4284,7049,7891,5095,0]Al[2008,13,4284,0,7576,5095,0]Al[2008,13,4284,0,7946,5095,0]Al[2008,13,4284,0,2985,5095,0]Al[2008,13,4284,0,7986,5095,0]Al[2008,13,4284,0,2462,5095,0]Ao[2008,13,4284,7153,7099,5095,0]Ao[2008,13,4284,7153,4242,5095,0]Ao[2008,13,4284,6703,2978,5095,0]Al[2008,13,4284,0,2961,5095,0]Al[2008,13,4284,0,7108,5095,0]Al[2008,13,4284,0,4262,5095,0]Al[2008,13,4284,0,5612,5095,0]Al[2008,13,4284,0,5138,5095,0]Al[2008,13,4284,0,7532,5095,0]Al[2008,13,4284,0,3827,5095,0]Al[2008,13,4284,0,7067,5095,0]Ao[2008,13,4284,6716,7579,5095,0]Ao[2008,13,4284,5434,5601,5095,0]Ao[2008,13,4284,5434,7362,5095,0]Ao[2008,13,4284,6460,2924,5095,0]Ao[2008,13,4284,6460,4229,5095,0]Ao[2008,13,4284,6460,5661,5095,0]Ao[2008,13,4284,6460,7930,5095,0]Ao[2008,13,4284,6460,5588,5095,0]Ao[2008,13,4284,6460,5087,5095,0]Ao[2008,13,4284,6460,5090,5095,0]Ao[2008,13,4284,6460,7522,5095,0]Ao[2008,13,4284,6460,7224,5095,0]Ao[2008,13,4284,6460,5598,5095,0]Ao[2008,13,4284,6460,7871,5095,0]Ao[2008,13,4284,6460,7534,5095,0]Ao[2008,13,4284,6460,7564,5095,0]Ao[2008,13,4284,6460,8015,5095,0]Ao[2008,13,4284,6460,7356,5095,0]Ao[2008,13,4284,2867,7967,5095,0]Ao[2008,13,4284,2867,8009,5095,0]Ao[2008,13,4284,2218,8117,5095,0]Ao[2008,13,4284,2218,7944,5095,0]Ao[2008,13,4284,2218,7945,5095,0]Ao[2008,13,4284,2218,7111,5095,0]Ao[2008,13,4284,4284,3776,5095,0]Ao[2008,13,4284,4284,4223,5095,0]Ao[2008,13,4284,4284,7969,5095,0]Ao[2008,13,4284,4284,7071,5095,0]Ao[2008,13,4284,4284,5093,5095,0]Al[2008,13,4284,0,7530,5095,0]Ao[2008,13,4284,4284,7355,5095,0]Ao[2008,13,4284,4284,5154,5095,0]Al[2008,13,4284,0,7569,5095,0]Al[2008,13,4284,0,7863,5095,0]Al[2008,13,4284,0,7879,5095,0]Al[2008,13,4284,0,6744,5095,0]Al[2008,13,4284,0,8017,5095,0]Al[2008,13,4284,0,8097,5095,0]Al[2008,13,4284,0,6729,5095,0]Al[2008,13,4284,0,7894,5095,0]Al[2008,13,4284,0,5114,5095,0]Al[2008,13,4284,0,7524,5095,0]Al[2008,13,4284,0,7744,5095,0]Al[2008,13,4284,0,7765,5095,0]Al[2008,13,4284,0,7398,5095,0]Al[2008,13,4284,0,7892,5095,0]Al[2008,13,4284,0,7824,5095,0]Ak[2008,13,4284,0,993,5095,0]Ak[2008,13,4284,0,318,5095,0]Al[2008,13,4284,0,4254,5095,0]Am[2008,13,3939,3939,16,5095,0]Ao[2008,13,4473,4473,2972,5095,0]Ao[2008,13,4473,4473,7212,5095,0]Ao[2008,13,4473,4473,6722,5095,0]Ao[2008,13,4473,4473,6723,5095,0]Al[2008,13,7232,0,7184,5095,0]Al[2008,13,7232,0,7178,5095,0]Al[2008,13,7232,0,8041,5095,0]Ao[2008,13,6711,2215,7210,5095,0]Ao[2008,13,6711,6711,7745,5095,0]Ao[2008,13,6711,8022,7367,5095,0]Ao[6661,13,6662,6662,7749,5095,0]Ao[6661,13,6662,6662,7866,5095,0]Ao[6661,13,6662,6662,4209,5095,0]An[6661,13,6662,6662,327,5095,0]Ao[6661,13,6662,6662,6727,5095,0]Ao[6661,13,2905,2905,2501,5095,0]Ao[6661,13,2905,2905,6773,5095,0]Ao[6661,13,2905,2905,7396,5095,0]Al[6661,13,941,941,328,5095,0]Ao[7721,13,7722,2912,5175,5095,0]Ao[7721,13,2901,2901,4205,5095,0]Ao[7721,13,3533,3533,2934,5095,0]Ao[7721,13,3533,3533,6768,5095,0]Ao[7721,13,3533,3533,7205,5095,0]Ao[7721,13,3533,3533,7377,5095,0]Ao[7721,13,3533,3533,7519,5095,0]Am[7721,13,586,586,5111,5095,0]Am[7721,13,586,586,5110,5095,0]Am[7721,13,586,586,5604,5095,0]Am[7721,13,586,586,2941,5095,0]Ao[7721,13,1580,1580,5615,5095,0]Ao[7721,13,1580,7255,7570,5095,0]An[7721,13,1580,945,4208,5095,0]Ao[7721,13,1580,1580,5614,5095,0]Ao[7721,13,1580,1580,6743,5095,0]Ao[7721,13,3923,3923,3798,5095,0]Ao[7721,13,3591,3591,2974,5095,0]Ao[6662,13,6663,7148,6757,5095,0]Ao[6662,13,6663,5449,4247,5095,0]Ao[6662,13,6663,5449,6760,5095,0]Ao[6662,13,6663,5449,7571,5095,0]Ao[6662,13,3308,1027,5161,5095,0]Ao[6662,13,3308,1027,5152,5095,0]Ao[6662,13,3308,3308,7072,5095,0]Ao[6662,13,3308,3308,5104,5095,0]Ao[6662,13,3308,3308,7170,5095,0]Ao[6662,13,3308,3308,2932,5095,0]Ao[6662,13,3308,3308,5582,5095,0]Ao[6662,13,3308,3308,7064,5095,0]Ao[6662,13,3590,3921,3800,5095,0]Ao[6662,13,3590,3921,7106,5095,0]Ao[6662,13,3590,4475,7834,5095,0]Ao[6662,13,3590,3590,7112,5095,0]Ao[6662,13,3590,3590,6761,5095,0]Ao[6662,13,3590,3590,7060,5095,0]Ao[6662,13,3590,3590,2925,5095,0]Ao[6662,13,3590,3590,5650,5095,0]Ao[6662,13,3590,3590,5165,5095,0]Ao[6662,13,3590,3590,2951,5095,0]Ao[6662,13,3590,3590,7520,5095,0]Ao[6662,13,3590,3590,5580,5095,0]Ao[6662,13,3590,3590,2975,5095,0]Ao[6662,13,3590,3590,5667,5095,0]Ao[6662,13,3590,3590,7575,5095,0]Ao[6662,13,3315,3315,5115,5095,0]Ao[6662,13,3315,3315,7373,5095,0]Ao[6662,13,2887,2887,2481,5095,0]Ao[6662,13,2887,2887,7768,5095,0]Ao[6662,13,2887,2887,7747,5095,0]Ao[6662,13,2887,2887,5101,5095,0]Ao[6662,13,5417,5417,2482,5095,0]Ao[6662,13,2217,2217,2480,5095,0]Ao[6662,13,2217,2217,5649,5095,0]Am[6662,13,583,583,4216,5095,0]Am[6662,13,583,583,6749,5095,0]Am[6662,13,583,583,7392,5095,0]Am[6662,13,583,583,3777,5095,0]Am[6662,13,583,583,6733,5095,0]Am[6662,13,583,583,6735,5095,0]Am[6662,13,583,583,7218,5095,0]Ao[6662,13,7231,7231,7185,5095,0]Ao[6662,13,7231,7231,7180,5095,0]Ao[6662,13,7231,7231,7083,5095,0]Ao[6662,13,7231,7231,4265,5095,0]Ao[6662,13,7231,7231,8042,5095,0]Ao[6662,13,7231,7231,7088,5095,0]Ao[6662,13,7231,7231,5642,5095,0]Ae[7721,2,7722,0,0,0,0]Al[2008,13,6711,2215,7210,0,0]Ai[2008,13,4284,0,7892,0,0]Ai[2008,14,4284,0,5612,0,0]Ai[2008,14,4284,0,7398,0,0]Ah[2008,13,584,0,6734,0,0]Al[2008,13,4284,4284,5154,0,0]Aj[6662,13,583,583,6735,0,0]Al[2008,13,4284,0,2985,5102,0]Al[2008,13,4284,0,2961,5102,0]Al[2008,13,4284,0,5114,5102,0]Al[2008,13,4284,0,7892,5102,0]Al[2008,13,4284,0,4254,5102,0]Al[2008,13,4284,0,2985,5112,0]Al[2008,13,4284,0,2961,5112,0]Al[2008,13,4284,0,5114,5112,0]Al[2008,13,4284,0,7892,5112,0]Al[2008,13,4284,0,4254,5112,0]Ai[2008,13,2009,0,4246,0,0]Al[6662,13,6663,5449,4247,0,0]Ai[2008,13,4284,0,5663,0,0]Ao[2008,13,3922,3922,7533,7557,0]Ao[6662,13,3590,3921,7106,7557,0]Ah[2008,14,4284,0,975,0,0]Al[2008,13,4284,6460,4229,0,0]6Al[7721,13,7722,2912,5175,0,0]6Al[2008,13,4284,4284,3776,0,0]Al[6662,14,3590,3590,6761,0,0]Aj[2008,13,585,585,7077,0,0]Al[2008,13,2880,2880,7380,0,0]Al[2008,13,2880,2880,7207,0,0]Ai[2008,14,4284,0,2462,0,0]Ai[2008,13,4284,0,5600,0,0]0Al[2008,13,4284,4284,4223,0,0]:7Ae[6662,2,6663,0,0,0,0]Ai[2008,13,2009,0,5158,0,0]Ak[5429,13,5430,886,5159,0,0]Ai[2008,14,4284,0,7524,0,0]Ai[2008,14,4284,0,7744,0,0]Ai[2008,14,4284,0,7398,0,0]Ai[2008,14,8008,0,2965,0,0]Ai[6662,14,2472,0,7769,0,0]Al[2008,13,4284,6460,4229,0,0]Al[2008,13,4284,2867,8009,0,0]Ai[2008,13,2009,0,4246,0,0]Al[6662,13,6663,5449,4247,0,0]Al[6662,13,3590,4475,7834,0,0]21Ae[6661,7,2008,0,0,0,0]Ae[6661,7,2884,0,0,0,0]Ae[7721,2,7722,0,0,0,0]?Al[6662,14,3590,3921,7106,0,0]Db[2008,13,2009,0,7548,5668,0,\"impl-StackError-for-KeyParsingError\"]Cm[2008,13,2009,0,7548,2468,0,\"impl-Error-for-KeyParsingError\"]Cl[2008,13,2009,0,7389,2468,0,\"impl-Error-for-SignatureError\"]Da[2008,13,2009,0,7389,5668,0,\"impl-StackError-for-SignatureError\"]D`[2008,13,2009,0,7883,2468,0,\"impl-Error-for-RelayUrlParseError\"]De[2008,13,2009,0,7883,5668,0,\"impl-StackError-for-RelayUrlParseError\"]Cm[2008,13,5394,0,5640,5668,0,\"impl-StackError-for-ParseError\"]Ch[2008,13,5394,0,5640,2468,0,\"impl-Error-for-ParseError\"]Dc[2008,13,5394,5394,7873,2468,0,\"impl-Error-for-IntoDiscoveryError\"]Dh[2008,13,5394,5394,7873,5668,0,\"impl-StackError-for-IntoDiscoveryError\"]Co[2008,13,5394,5394,7364,2468,0,\"impl-Error-for-DiscoveryError\"]Dd[2008,13,5394,5394,7364,5668,0,\"impl-StackError-for-DiscoveryError\"]D`[2008,13,2880,2880,5646,5668,0,\"impl-StackError-for-PkarrError\"]Ck[2008,13,2880,2880,5646,2468,0,\"impl-Error-for-PkarrError\"]Ai[2008,14,5645,0,5141,0,0]Ai[2008,14,5645,0,2986,0,0]Ai[2008,14,5645,0,4226,0,0]Ai[2008,14,5645,0,6739,0,0]Ai[2008,14,5645,0,4219,0,0]Ah[2008,14,7363,0,996,0,0]Ai[2008,14,5637,0,1003,0,0]Ai[2008,14,5637,0,7174,0,0]Ah[2008,14,7872,0,997,0,0]Al[2008,13,4284,0,7835,2468,0]Al[2008,13,4284,0,7386,2468,0]Al[2008,13,4284,0,5148,2468,0]Al[2008,13,4284,0,5655,2468,0]Al[2008,13,4284,0,7385,2468,0]Al[2008,13,4284,0,5673,2468,0]Al[2008,13,4284,0,7116,2468,0]D`[2008,13,4284,6460,5661,5668,0,\"impl-StackError-for-RetryError\"]Ck[2008,13,4284,6460,5661,2468,0,\"impl-Error-for-RetryError\"]Di[2008,13,4284,6460,7930,5668,0,\"impl-StackError-for-AuthenticationError\"]Dd[2008,13,4284,6460,7930,2468,0,\"impl-Error-for-AuthenticationError\"]Co[2008,13,4284,6460,5090,5668,0,\"impl-StackError-for-AlpnError\"]Cj[2008,13,4284,6460,5090,2468,0,\"impl-Error-for-AlpnError\"]D`[2008,13,4284,6460,7522,2468,0,\"impl-Error-for-ConnectingError\"]De[2008,13,4284,6460,7522,5668,0,\"impl-StackError-for-ConnectingError\"]Dk[2008,13,4284,6460,8015,5668,0,\"impl-StackError-for-RemoteEndpointIdError\"]Df[2008,13,4284,6460,8015,2468,0,\"impl-Error-for-RemoteEndpointIdError\"]Dj[2008,13,4284,4284,7969,5668,0,\"impl-StackError-for-ConnectWithOptsError\"]De[2008,13,4284,4284,7969,2468,0,\"impl-Error-for-ConnectWithOptsError\"]Cm[2008,13,4284,4284,7071,2468,0,\"impl-Error-for-ConnectError\"]Db[2008,13,4284,4284,7071,5668,0,\"impl-StackError-for-ConnectError\"]Co[2008,13,4284,4284,5093,5668,0,\"impl-StackError-for-BindError\"]Cj[2008,13,4284,4284,5093,2468,0,\"impl-Error-for-BindError\"]Al[2008,13,4284,0,7530,2468,0]Ai[2008,14,7069,0,3780,0,0]Ai[2008,14,7069,0,5584,0,0]Ai[2008,14,7069,0,5592,0,0]Ai[2008,14,5089,0,7525,0,0]Ai[2008,14,7929,0,4251,0,0]Ai[2008,14,7521,0,7526,0,0]Ai[2008,14,7521,0,7752,0,0]Ai[2008,14,7521,0,8083,0,0]Ai[2008,14,5092,0,5625,0,0]Ai[2008,14,5092,0,5106,0,0]Ai[2008,14,7968,0,5127,0,0]Ai[2008,14,7968,0,2485,0,0]Ai[2008,14,7968,0,8084,0,0]Da[2008,13,4473,4473,6722,5668,0,\"impl-StackError-for-AcceptError\"]Cl[2008,13,4473,4473,6722,2468,0,\"impl-Error-for-AcceptError\"]Ai[2008,14,6721,0,5585,0,0]Ai[2008,14,6721,0,5593,0,0]Ai[2008,14,6721,0,8067,0,0]Ah[2008,14,6721,0,998,0,0]D`[2008,13,7232,0,7184,5668,0,\"impl-StackError-for-EncodingError\"]Ck[2008,13,7232,0,7184,2468,0,\"impl-Error-for-EncodingError\"]D`[2008,13,7232,0,7178,5668,0,\"impl-StackError-for-DecodingError\"]Ck[2008,13,7232,0,7178,2468,0,\"impl-Error-for-DecodingError\"]Dd[2008,13,7232,0,8041,2468,0,\"impl-Error-for-MaxLengthExceededError\"]Di[2008,13,7232,0,8041,5668,0,\"impl-StackError-for-MaxLengthExceededError\"]Ai[2008,14,5637,0,1003,0,0]Ai[2008,14,5637,0,7174,0,0]Ai[2008,14,7183,0,7978,0,0]Ai[2008,14,7183,0,7542,0,0]Ai[2008,14,7175,0,7875,0,0]Ai[2008,14,7175,0,5618,0,0]Dd[5429,13,5430,886,7549,5668,0,\"impl-StackError-for-KeyParsingError\"]Co[5429,13,5430,886,7549,2468,0,\"impl-Error-for-KeyParsingError\"]Cn[5429,13,5430,886,7390,2468,0,\"impl-Error-for-SignatureError\"]Dc[5429,13,5430,886,7390,5668,0,\"impl-StackError-for-SignatureError\"]Dc[5429,13,5430,5452,7884,2468,0,\"impl-Error-for-RelayUrlParseError\"]Dh[5429,13,5430,5452,7884,5668,0,\"impl-StackError-for-RelayUrlParseError\"]Co[6662,13,3308,1027,5161,5668,0,\"impl-StackError-for-SendError\"]Cj[6662,13,3308,1027,5161,2468,0,\"impl-Error-for-SendError\"]Cj[6662,13,3308,1027,5152,2468,0,\"impl-Error-for-RecvError\"]Co[6662,13,3308,1027,5152,5668,0,\"impl-StackError-for-RecvError\"]Db[6662,13,3308,3308,7072,5668,0,\"impl-StackError-for-ConnectError\"]Cm[6662,13,3308,3308,7072,2468,0,\"impl-Error-for-ConnectError\"]Co[6662,13,3308,3308,5104,5668,0,\"impl-StackError-for-DialError\"]Cj[6662,13,3308,3308,5104,2468,0,\"impl-Error-for-DialError\"]Ai[6662,14,5150,0,4243,0,0]Ai[6662,14,5150,0,6770,0,0]Ai[6662,14,5160,0,6769,0,0]Ai[6662,14,7068,0,5171,0,0]Ai[6662,14,7068,0,5116,0,0]Ah[6662,14,7068,0,965,0,0]Ai[6662,14,7068,0,3824,0,0]Ah[6662,14,7068,0,334,0,0]Ah[6662,14,5103,0,319,0,0]Ai[6662,14,5103,0,3815,0,0]Ag[6662,14,5103,0,10,0,0]Ai[6662,14,5103,0,7102,0,0]D`[6662,13,3590,3590,5667,5668,0,\"impl-StackError-for-SpawnError\"]Ck[6662,13,3590,3590,5667,2468,0,\"impl-Error-for-SpawnError\"]D`[6662,13,3590,3590,7575,2468,0,\"impl-Error-for-SupervisorError\"]De[6662,13,3590,3590,7575,5668,0,\"impl-StackError-for-SupervisorError\"]Ai[6662,14,7574,0,3797,0,0]Ai[6662,14,7574,0,5120,0,0]Ai[6662,14,5666,0,5123,0,0]Ai[6662,14,5666,0,5145,0,0]Ai[6662,14,5666,0,7394,0,0]Ai[6662,14,5666,0,7517,0,0]Ai[6662,14,5666,0,6753,0,0]Ai[6662,14,5666,0,7515,0,0]Dd[6662,13,3315,3315,7373,5668,0,\"impl-StackError-for-FrameTypeError\"]Co[6662,13,3315,3315,7373,2468,0,\"impl-Error-for-FrameTypeError\"]Ai[6662,14,7368,0,7219,0,0]Ck[6662,13,2887,2887,2481,5668,0,\"impl-StackError-for-Error\"]Cf[6662,13,2887,2887,2481,2468,0,\"impl-Error-for-Error\"]Ai[6662,14,2471,0,2497,0,0]Ai[6662,14,2471,0,7369,0,0]Ai[6662,14,2471,0,7756,0,0]Ai[6662,14,2471,0,8157,0,0]Cf[6662,13,5417,5417,2482,2468,0,\"impl-Error-for-Error\"]Ck[6662,13,5417,5417,2482,5668,0,\"impl-StackError-for-Error\"]Ai[6662,14,2472,0,5172,0,0]Ai[6662,14,2472,0,7370,0,0]Ai[6662,14,2472,0,7972,0,0]Cf[6662,13,2217,2217,2480,2468,0,\"impl-Error-for-Error\"]Ck[6662,13,2217,2217,2480,5668,0,\"impl-StackError-for-Error\"]Ai[6662,14,2470,0,3779,0,0]Ai[6662,14,2470,0,5589,0,0]Ai[6662,14,2470,0,5169,0,0]Cg[6662,13,583,583,4216,2468,0,\"impl-Error-for-DnsError\"]Cl[6662,13,583,583,4216,5668,0,\"impl-StackError-for-DnsError\"]Cj[6662,13,583,583,6749,2468,0,\"impl-Error-for-LookupError\"]Co[6662,13,583,583,6749,5668,0,\"impl-StackError-for-LookupError\"]Dd[6662,13,583,583,7392,2468,0,\"impl-Error-for-StaggeredError%3CE%3E\"]Di[6662,13,583,583,7392,5668,0,\"impl-StackError-for-StaggeredError%3CE%3E\"]Ai[6662,14,4215,0,3816,0,0]Ai[6662,14,4215,0,3809,0,0]Ai[6662,14,6748,0,5635,0,0]Ai[6662,14,6748,0,7096,0,0]Cn[6662,13,7231,7231,7185,2468,0,\"impl-Error-for-EncodingError\"]Dc[6662,13,7231,7231,7185,5668,0,\"impl-StackError-for-EncodingError\"]Dc[6662,13,7231,7231,7180,5668,0,\"impl-StackError-for-DecodingError\"]Cn[6662,13,7231,7231,7180,2468,0,\"impl-Error-for-DecodingError\"]Dg[6662,13,7231,7231,8042,2468,0,\"impl-Error-for-MaxLengthExceededError\"]Dl[6662,13,7231,7231,8042,5668,0,\"impl-StackError-for-MaxLengthExceededError\"]D`[6662,13,7231,7231,5642,5668,0,\"impl-StackError-for-ParseError\"]Ck[6662,13,7231,7231,5642,2468,0,\"impl-Error-for-ParseError\"]Ai[6662,14,5636,0,1002,0,0]Ai[6662,14,5636,0,7173,0,0]Ai[6662,14,7182,0,7977,0,0]Ai[6662,14,7182,0,7541,0,0]Ai[6662,14,7172,0,7874,0,0]Ai[6662,14,7172,0,5617,0,0]Ai[2008,14,5645,0,6741,0,0]Ai[6662,14,5103,0,8103,0,0]Ai[2008,13,2009,0,3826,0,0]Ai[2008,14,4284,0,5612,0,0]Al[2008,13,2009,0,5143,7187,0]Ai[2008,12,7232,0,7187,0,0]Al[6662,12,7231,7231,7188,0,0]Ai[2008,14,4284,0,7532,0,0]0Ai[2008,14,2009,0,5126,0,0]0Ai[2008,12,2009,0,3826,0,0]Ai[2008,13,2009,0,5143,0,0]Ak[5429,13,5430,886,5144,0,0]Ai[2008,12,4284,0,5600,0,0]Ai[2008,10,4284,3536,0,0,0]Ad[6662,8,583,0,0,0,0]Ad[2008,5,579,0,0,0,0]Ae[2008,5,4284,0,0,0,0]Ad[6662,5,583,0,0,0,0]Al[2008,15,4284,4284,7071,0,0]Al[6662,15,2217,2217,2480,0,0]Al[2008,15,4284,4284,5154,0,0]Al[7721,15,3533,3533,7519,0,0]Al[2008,15,2016,2016,7366,0,0]Ai[2008,15,4284,0,5114,0,0]Ae[7721,5,3923,0,0,0,0]Al[6662,15,3590,3590,7575,0,0]Ah[6662,5,3590,3921,0,0,0]Ah[2008,5,4284,6462,0,0,0]44Aj[6662,15,583,583,4216,0,0]8Ai[2008,15,4284,0,5673,0,0]Al[6662,15,3308,3308,5104,0,0]2Ai[2008,15,4284,0,7386,0,0]Al[2008,15,4284,5434,7362,0,0]Al[6662,15,3308,3308,7072,0,0]Ai[2008,10,2009,6671,0,0,0]Ah[2008,5,4284,2227,0,0,0]Ai[2008,14,3922,0,7105,0,0]Al[6662,14,3590,3921,3800,0,0]Aj[2008,13,585,585,7077,0,0]Al[2008,13,2880,2880,7380,0,0]Al[2008,13,2880,2880,7207,0,0]Aj[2008,13,579,579,7075,0,0]Al[2008,13,2016,2016,7204,0,0]Ah[2008,13,584,0,6734,0,0]Al[2008,13,4284,2218,7944,0,0]Al[2008,13,4284,4284,4223,0,0]Al[2008,13,4473,4473,2972,0,0]Aj[6662,13,583,583,6735,0,0]Ak[6661,14,6662,6662,327,0,0]Ao[6661,13,6662,6662,4209,7354,0]An[6661,13,6662,6662,327,7354,0]Al[6661,13,941,941,328,7354,0]Al[2008,13,2009,0,7079,5583,0]Al[2008,13,2009,0,7216,5583,0]Al[2008,13,2009,0,5143,5583,0]Al[2008,13,2009,0,4249,5583,0]Al[2008,13,2009,0,6759,5583,0]Al[2008,13,5394,0,4264,5583,0]Al[2008,13,4284,0,2985,5583,0]Al[2008,13,4284,0,2961,5583,0]Ao[2008,13,4284,5434,5601,5583,0]Ao[2008,13,4284,5434,7362,5583,0]Al[2008,13,4284,0,6744,5583,0]Ak[2008,13,4284,0,993,5583,0]Ak[2008,13,4284,0,318,5583,0]Al[2008,13,4284,0,4254,5583,0]Ao[6662,13,6663,5449,6760,5583,0]Ao[6662,13,6663,5449,7571,5583,0]Ao[6662,13,7231,7231,4265,5583,0]Al[2008,13,4284,4284,4223,0,0]Al[6662,13,3308,3308,7170,0,0]Ai[2008,12,4284,0,5136,0,0]Ai[2008,12,4284,0,5118,0,0]Al[2008,13,2009,0,5126,3785,0]Al[2008,13,3922,0,7381,3785,0]Al[2008,13,3922,0,7759,3785,0]Al[2008,13,3922,0,7105,3785,0]Ao[2008,13,3922,3922,7533,3785,0]Al[2008,13,3922,0,7760,3785,0]Al[2008,13,5394,0,7082,3785,0]Ao[2008,13,5394,5394,7931,3785,0]Am[2008,13,579,579,7075,3785,0]Am[2008,13,579,579,3775,3785,0]Ao[2008,13,7735,7735,7393,3785,0]Ao[2008,13,2016,2016,7984,3785,0]Ak[2008,13,584,0,6734,3785,0]Al[2008,13,4284,0,2985,3785,0]Al[2008,13,4284,0,2961,3785,0]Al[2008,13,4284,0,4262,3785,0]Al[2008,13,4284,0,5612,3785,0]Al[2008,13,4284,0,5138,3785,0]Al[2008,13,4284,0,7532,3785,0]Al[2008,13,4284,0,3827,3785,0]Al[2008,13,4284,0,7067,3785,0]Ao[2008,13,4284,2218,7944,3785,0]Ao[2008,13,4284,4284,7355,3785,0]Al[2008,13,4284,0,7863,3785,0]Al[2008,13,4284,0,7879,3785,0]Al[2008,13,4284,0,6744,3785,0]Al[2008,13,4284,0,8017,3785,0]Al[2008,13,4284,0,7824,3785,0]Am[2008,13,3939,3939,16,3785,0]Ao[6661,13,6662,6662,6727,3785,0]Ao[6661,13,2905,2905,2501,3785,0]Ao[6661,13,2905,2905,6773,3785,0]Ao[7721,13,3533,3533,2934,3785,0]Ao[7721,13,3533,3533,6768,3785,0]Ao[7721,13,3533,3533,7377,3785,0]Ao[7721,13,3533,3533,7519,3785,0]De[7721,13,1580,7255,7570,3785,0,\"impl-Default-for-%26RateLimitConfig\"]Db[7721,13,1580,7255,7570,3785,0,\"impl-Default-for-RateLimitConfig\"]Ao[7721,13,3923,3923,3798,3785,0]Ao[6662,13,6663,7148,6757,3785,0]Ao[6662,13,6663,5449,7571,3785,0]Ao[6662,13,3590,3921,3800,3785,0]Ao[6662,13,3590,3921,7106,3785,0]Ao[6662,13,3590,3590,7112,3785,0]Ao[6662,13,3590,3590,2951,3785,0]Am[6662,13,583,583,3777,3785,0]Am[6662,13,583,583,6733,3785,0]Am[6662,13,583,583,6735,3785,0]Ao[6662,13,7231,7231,7083,3785,0]Al[7721,14,1580,1580,6743,0,0]Al[7721,14,3533,3533,7377,0,0]Ai[2008,12,4284,0,5136,0,0]Ai[2008,12,4284,0,5118,0,0]Ai[2008,13,2009,0,5126,0,0]Ai[2008,13,4284,0,5653,0,0]Ai[2008,13,4284,0,7949,0,0]Ae[2008,2,2009,0,0,0,0]Ai[2008,13,4284,0,5600,0,0]0Al[2008,13,4284,4284,4223,0,0]Ak[6661,14,6662,6662,327,0,0]Ae[7721,2,7722,0,0,0,0]Al[7721,14,2901,2901,4205,0,0]Al[7721,14,3533,3533,2934,0,0]Al[6662,13,3590,3590,2975,0,0]Al[2008,13,4284,2218,8117,0,0]77Al[2008,13,4284,6460,5598,0,0]Aj[7721,14,586,586,5110,0,0]Ae[2008,2,4284,0,0,0,0]Ai[6662,14,7767,0,2943,0,0]Al[2008,13,5394,5394,5109,0,0]Ao[2008,13,5394,5394,7931,5109,0]Ao[2008,13,2880,2880,7380,5109,0]Al[2008,13,2880,2880,7764,0,0]Am[2008,13,579,579,7075,5109,0]Ao[2008,13,7735,7735,7393,5109,0]Ao[2008,13,2016,2016,7204,5109,0]Ai[2008,14,3922,0,7760,0,0]76Am[2008,13,585,585,7077,5109,0]Ao[2008,13,2880,2880,7207,5109,0]6543Ak[2008,13,584,0,6734,3810,0]Al[7721,13,7722,2912,5175,0,0]Ao[6662,13,3590,4475,7834,7885,0]Am[6662,13,583,583,6735,3810,0]Aj[7721,14,586,586,5110,0,0]Ae[1022,7,1023,0,0,0,0]Ae[2008,2,4276,0,0,0,0]Ai[2008,13,4284,0,5663,0,0]Ak[6661,14,6662,6662,327,0,0]Al[6661,14,2905,2905,2501,0,0]Ae[6662,2,3574,0,0,0,0]Ai[2008,12,4284,0,5136,0,0]Ae[6662,2,3590,0,0,0,0]Al[6662,13,6663,7148,6757,0,0]Al[2008,13,4284,6460,5598,0,0]Ai[6662,14,7767,0,5656,0,0]Ak[2008,13,2009,0,7079,313,0]Ak[2008,13,2009,0,7216,313,0]Ak[2008,13,2009,0,5143,313,0]Ak[2008,13,2009,0,7548,313,0]Ak[2008,13,2009,0,5158,313,0]Ak[2008,13,2009,0,5163,313,0]Ak[2008,13,2009,0,7389,313,0]Ak[2008,13,2009,0,4249,313,0]Ak[2008,13,2009,0,7883,313,0]Ak[2008,13,2009,0,4246,313,0]Ak[2008,13,2009,0,6759,313,0]Ak[2008,13,2009,0,5126,313,0]Ak[2008,13,3922,0,7381,313,0]Ak[2008,13,3922,0,7759,313,0]Ak[2008,13,3922,0,7105,313,0]An[2008,13,3922,3922,7533,313,0]Ak[2008,13,3922,0,7760,313,0]Ak[2008,13,5394,0,7082,313,0]Ak[2008,13,5394,0,4264,313,0]Ak[2008,13,5394,0,7087,313,0]Ak[2008,13,5394,0,5640,313,0]An[2008,13,5394,5394,7873,313,0]An[2008,13,5394,5394,7364,313,0]An[2008,13,5394,5394,7181,313,0]An[2008,13,5394,5394,7931,313,0]Al[2008,13,585,585,7077,313,0]Al[2008,13,585,585,7936,313,0]An[2008,13,2880,2880,5646,313,0]An[2008,13,2880,2880,8013,313,0]An[2008,13,2880,2880,7380,313,0]An[2008,13,2880,2880,7985,313,0]An[2008,13,2880,2880,7207,313,0]An[2008,13,2880,2880,7764,313,0]Al[2008,13,579,579,7075,313,0]Al[2008,13,579,579,3775,313,0]An[2008,13,7735,7735,7393,313,0]An[2008,13,2016,2016,7204,313,0]An[2008,13,2016,2016,7984,313,0]An[2008,13,2016,2016,7366,313,0]Aj[2008,13,584,0,6734,313,0]Ak[2008,13,4284,0,3802,313,0]Ak[2008,13,4284,0,2958,313,0]Ak[2008,13,4284,0,5086,313,0]Ak[2008,13,4284,0,4202,313,0]Ak[2008,13,4284,0,7104,313,0]Ak[2008,13,4284,0,7109,313,0]Ak[2008,13,4284,0,7835,313,0]Ak[2008,13,4284,0,5653,313,0]Ak[2008,13,4284,0,7949,313,0]Ak[2008,13,4284,0,7386,313,0]Ak[2008,13,4284,0,5148,313,0]Ak[2008,13,4284,0,5655,313,0]Ak[2008,13,4284,0,7385,313,0]Ak[2008,13,4284,0,5663,313,0]Ak[2008,13,4284,0,5673,313,0]Ak[2008,13,4284,0,7116,313,0]Ak[2008,13,4284,0,5648,313,0]Aj[2008,13,4284,0,975,313,0]An[2008,13,4284,7049,5654,313,0]An[2008,13,4284,7049,7838,313,0]An[2008,13,4284,7049,7891,313,0]Ak[2008,13,4284,0,7576,313,0]Ak[2008,13,4284,0,7946,313,0]Ak[2008,13,4284,0,2985,313,0]Ak[2008,13,4284,0,7986,313,0]Ak[2008,13,4284,0,2462,313,0]An[2008,13,4284,7153,7099,313,0]An[2008,13,4284,7153,4242,313,0]An[2008,13,4284,6703,2978,313,0]Ak[2008,13,4284,0,2961,313,0]Ak[2008,13,4284,0,7108,313,0]Ak[2008,13,4284,0,4262,313,0]Ak[2008,13,4284,0,5612,313,0]Ak[2008,13,4284,0,5138,313,0]Ak[2008,13,4284,0,7532,313,0]Ak[2008,13,4284,0,3827,313,0]Ak[2008,13,4284,0,7067,313,0]An[2008,13,4284,6716,7579,313,0]An[2008,13,4284,5434,5601,313,0]An[2008,13,4284,5434,7362,313,0]An[2008,13,4284,6460,2924,313,0]An[2008,13,4284,6460,4229,313,0]An[2008,13,4284,6460,5661,313,0]An[2008,13,4284,6460,7930,313,0]An[2008,13,4284,6460,5588,313,0]An[2008,13,4284,6460,5087,313,0]An[2008,13,4284,6460,5090,313,0]An[2008,13,4284,6460,7522,313,0]An[2008,13,4284,6460,7224,313,0]An[2008,13,4284,6460,5598,313,0]An[2008,13,4284,6460,7871,313,0]An[2008,13,4284,6460,7534,313,0]An[2008,13,4284,6460,7564,313,0]An[2008,13,4284,6460,8015,313,0]An[2008,13,4284,6460,7356,313,0]An[2008,13,4284,2867,7967,313,0]An[2008,13,4284,2867,8009,313,0]An[2008,13,4284,2218,8117,313,0]An[2008,13,4284,2218,7944,313,0]An[2008,13,4284,2218,7945,313,0]An[2008,13,4284,2218,7111,313,0]An[2008,13,4284,4284,3776,313,0]An[2008,13,4284,4284,4223,313,0]An[2008,13,4284,4284,7969,313,0]An[2008,13,4284,4284,7071,313,0]An[2008,13,4284,4284,5093,313,0]Ak[2008,13,4284,0,7530,313,0]An[2008,13,4284,4284,7355,313,0]An[2008,13,4284,4284,5154,313,0]Ak[2008,13,4284,0,7569,313,0]Ak[2008,13,4284,0,7863,313,0]Ak[2008,13,4284,0,7879,313,0]Ak[2008,13,4284,0,6744,313,0]Ak[2008,13,4284,0,8017,313,0]Ak[2008,13,4284,0,8097,313,0]Ak[2008,13,4284,0,6729,313,0]Ak[2008,13,4284,0,7894,313,0]Ak[2008,13,4284,0,5114,313,0]Ak[2008,13,4284,0,7524,313,0]Ak[2008,13,4284,0,7744,313,0]Ak[2008,13,4284,0,7765,313,0]Ak[2008,13,4284,0,7398,313,0]Ak[2008,13,4284,0,7892,313,0]Ak[2008,13,4284,0,7824,313,0]Aj[2008,13,4284,0,993,313,0]Aj[2008,13,4284,0,318,313,0]Ak[2008,13,4284,0,4254,313,0]Al[2008,13,3939,3939,16,313,0]An[2008,13,4473,4473,2972,313,0]An[2008,13,4473,4473,7212,313,0]An[2008,13,4473,4473,6722,313,0]An[2008,13,4473,4473,6723,313,0]Ak[2008,13,7232,0,7184,313,0]Ak[2008,13,7232,0,7178,313,0]Ak[2008,13,7232,0,8041,313,0]An[2008,13,6711,2215,7210,313,0]An[2008,13,6711,6711,7745,313,0]An[2008,13,6711,8022,7367,313,0]An[5429,13,5430,7230,7080,313,0]An[5429,13,5430,7230,7217,313,0]Am[5429,13,5430,886,5144,313,0]Am[5429,13,5430,886,7549,313,0]Am[5429,13,5430,886,5159,313,0]Am[5429,13,5430,886,5164,313,0]Am[5429,13,5430,886,7390,313,0]An[5429,13,5430,5452,4250,313,0]An[5429,13,5430,5452,7884,313,0]An[6661,13,6662,6662,7749,313,0]An[6661,13,6662,6662,7866,313,0]An[6661,13,6662,6662,4209,313,0]Am[6661,13,6662,6662,327,313,0]An[6661,13,6662,6662,6727,313,0]An[6661,13,2905,2905,2501,313,0]An[6661,13,2905,2905,6773,313,0]An[6661,13,2905,2905,7396,313,0]Ak[6661,13,941,941,328,313,0]An[7721,13,7722,2912,5175,313,0]An[7721,13,2901,2901,4205,313,0]An[7721,13,3533,3533,2934,313,0]An[7721,13,3533,3533,6768,313,0]An[7721,13,3533,3533,7205,313,0]An[7721,13,3533,3533,7377,313,0]An[7721,13,3533,3533,7519,313,0]Al[7721,13,586,586,5111,313,0]Al[7721,13,586,586,5110,313,0]Al[7721,13,586,586,5604,313,0]Al[7721,13,586,586,2941,313,0]An[7721,13,1580,1580,5615,313,0]An[7721,13,1580,7255,7570,313,0]Am[7721,13,1580,945,4208,313,0]An[7721,13,1580,1580,5614,313,0]An[7721,13,1580,1580,6743,313,0]An[7721,13,3923,3923,3798,313,0]An[7721,13,3591,3591,2974,313,0]An[6662,13,6663,7148,6757,313,0]An[6662,13,6663,5449,4247,313,0]An[6662,13,6663,5449,6760,313,0]An[6662,13,6663,5449,7571,313,0]An[6662,13,3308,1027,5161,313,0]An[6662,13,3308,1027,5152,313,0]An[6662,13,3308,3308,7072,313,0]An[6662,13,3308,3308,5104,313,0]An[6662,13,3308,3308,7170,313,0]An[6662,13,3308,3308,2932,313,0]An[6662,13,3308,3308,5582,313,0]An[6662,13,3308,3308,7064,313,0]An[6662,13,3590,3921,3800,313,0]An[6662,13,3590,3921,7106,313,0]An[6662,13,3590,4475,7834,313,0]An[6662,13,3590,3590,7112,313,0]An[6662,13,3590,3590,6761,313,0]An[6662,13,3590,3590,7060,313,0]An[6662,13,3590,3590,2925,313,0]An[6662,13,3590,3590,5650,313,0]An[6662,13,3590,3590,5165,313,0]An[6662,13,3590,3590,2951,313,0]An[6662,13,3590,3590,7520,313,0]An[6662,13,3590,3590,5580,313,0]An[6662,13,3590,3590,2975,313,0]An[6662,13,3590,3590,5667,313,0]An[6662,13,3590,3590,7575,313,0]An[6662,13,3315,3315,5115,313,0]An[6662,13,3315,3315,7373,313,0]An[6662,13,2887,2887,2481,313,0]An[6662,13,2887,2887,7768,313,0]An[6662,13,2887,2887,7747,313,0]An[6662,13,2887,2887,5101,313,0]An[6662,13,5417,5417,2482,313,0]An[6662,13,2217,2217,2480,313,0]An[6662,13,2217,2217,5649,313,0]Al[6662,13,583,583,4216,313,0]Al[6662,13,583,583,6749,313,0]Al[6662,13,583,583,7392,313,0]Al[6662,13,583,583,3777,313,0]Al[6662,13,583,583,6733,313,0]Al[6662,13,583,583,6735,313,0]Al[6662,13,583,583,7218,313,0]An[6662,13,7231,7231,7185,313,0]An[6662,13,7231,7231,7180,313,0]An[6662,13,7231,7231,7083,313,0]An[6662,13,7231,7231,4265,313,0]An[6662,13,7231,7231,8042,313,0]An[6662,13,7231,7231,7088,313,0]An[6662,13,7231,7231,5642,313,0]Ai[2008,13,2009,0,3826,0,0]Ah[2008,5,4284,6462,0,0,0]Al[2008,15,4284,6460,7224,0,0]Ae[7721,5,2901,0,0,0,0]Ag[7721,6,1580,945,0,0,0]Ae[6661,6,6662,0,0,0,0]Ai[2008,15,4284,0,5114,0,0]Ai[2008,15,4284,0,7835,0,0]Al[2008,15,4284,4284,5154,0,0]Al[7721,15,1580,7255,7570,0,0]Ad[6662,6,583,0,0,0,0]Al[2008,15,2880,2880,5646,0,0]Ah[2008,4,2009,4284,0,0,0]Ae[2008,5,4284,0,0,0,0]Al[6662,15,3590,3590,7060,0,0]3Al[2008,15,4284,7049,7891,0,0]Ah[2008,5,4284,6460,0,0,0]Ai[2008,19,4284,0,2985,0,0]Ai[2008,19,4284,0,7892,0,0]Al[2008,15,4284,6703,2978,0,0]=Ah[2008,5,4284,7153,0,0,0]Al[6662,15,3308,1027,5152,0,0]Al[2008,15,4284,6460,7224,0,0]Ah[2008,5,2009,5449,0,0,0]Ah[6662,5,6663,5449,0,0,0]Ah[2008,5,2009,5452,0,0,0]Ah[5429,5,5430,5452,0,0,0]Al[2008,15,4284,6460,7930,0,0]Ae[6662,10,583,0,0,0,0]Ah[2008,5,4284,7798,0,0,0]Ai[2008,15,4284,0,7530,0,0]Ai[2008,10,4284,2915,0,0,0]Ai[2008,15,4284,0,7835,0,0]Al[6662,15,2887,2887,2481,0,0]Ah[2008,5,4284,2904,0,0,0]Ah[2008,5,7232,7231,0,0,0]Ah[2008,5,5394,7231,0,0,0]Ae[6662,5,7231,0,0,0,0]Ai[2008,13,2009,0,5143,0,0]Ak[5429,13,5430,886,5144,0,0]Ai[2008,13,2009,0,4246,0,0]Al[6662,13,6663,5449,4247,0,0]Al[6662,14,2887,2887,5101,0,0]Al[7721,13,3533,3533,2934,0,0]Al[7721,14,3533,3533,2934,0,0]Ai[2008,14,4284,0,5612,0,0]Ae[2008,2,2009,0,0,0,0]Ae[6662,2,6663,0,0,0,0]Al[7721,13,3533,3533,7205,0,0]Al[7721,14,3533,3533,7205,0,0]Al[6661,14,2905,2905,7396,0,0]Al[2008,13,4473,4473,2972,0,0]Al[2008,13,4473,4473,7212,0,0]6Ai[6662,14,2471,0,7581,0,0]Ai[2008,14,4284,0,7532,0,0]0Ai[2008,13,4284,0,7569,0,0]Al[2008,13,6711,2215,7210,0,0]Al[2008,13,5394,5394,7873,0,0]Al[2008,13,5394,5394,7364,0,0]Al[2008,13,4473,4473,6722,0,0]Al[2008,13,2009,0,7079,3792,0]Al[2008,13,2009,0,7216,3792,0]Al[2008,13,2009,0,5143,3792,0]Al[2008,13,2009,0,5158,3792,0]Al[2008,13,2009,0,5163,3792,0]Al[2008,13,2009,0,4249,3792,0]Al[2008,13,2009,0,4246,3792,0]Al[2008,13,2009,0,6759,3792,0]Al[2008,13,2009,0,5126,3792,0]Ao[2008,13,3922,3922,7533,3792,0]Al[2008,13,5394,0,7082,3792,0]Al[2008,13,5394,0,4264,3792,0]Al[2008,13,5394,0,7087,3792,0]Ao[2008,13,5394,5394,7364,3792,0]Ao[2008,13,5394,5394,7181,3792,0]Ao[2008,13,5394,5394,7931,3792,0]Ao[2008,13,2880,2880,7380,3792,0]Ao[2008,13,2880,2880,7207,3792,0]Ao[2008,13,2880,2880,7764,3792,0]Am[2008,13,579,579,7075,3792,0]Ao[2008,13,7735,7735,7393,3792,0]Ao[2008,13,2016,2016,7204,3792,0]Ao[2008,13,2016,2016,7366,3792,0]Ak[2008,13,584,0,6734,3792,0]Al[2008,13,4284,0,7835,3792,0]Al[2008,13,4284,0,7386,3792,0]Al[2008,13,4284,0,5148,3792,0]Al[2008,13,4284,0,5655,3792,0]Al[2008,13,4284,0,7385,3792,0]Al[2008,13,4284,0,5673,3792,0]Al[2008,13,4284,0,7116,3792,0]Ao[2008,13,4284,7049,5654,3792,0]Ao[2008,13,4284,7049,7838,3792,0]Ao[2008,13,4284,7049,7891,3792,0]Al[2008,13,4284,0,7946,3792,0]Al[2008,13,4284,0,2985,3792,0]Al[2008,13,4284,0,7986,3792,0]Ao[2008,13,4284,7153,7099,3792,0]Ao[2008,13,4284,7153,4242,3792,0]Ao[2008,13,4284,6703,2978,3792,0]Al[2008,13,4284,0,2961,3792,0]Al[2008,13,4284,0,7108,3792,0]Al[2008,13,4284,0,4262,3792,0]Al[2008,13,4284,0,5612,3792,0]Al[2008,13,4284,0,5138,3792,0]Al[2008,13,4284,0,7532,3792,0]Al[2008,13,4284,0,3827,3792,0]Al[2008,13,4284,0,7067,3792,0]Ao[2008,13,4284,6716,7579,3792,0]Ao[2008,13,4284,5434,5601,3792,0]Ao[2008,13,4284,5434,7362,3792,0]Ao[2008,13,4284,6460,7930,3792,0]Ao[2008,13,4284,6460,7522,3792,0]Ao[2008,13,4284,6460,7224,3792,0]Ao[2008,13,4284,6460,5598,3792,0]Ao[2008,13,4284,6460,7871,3792,0]Ao[2008,13,4284,6460,7534,3792,0]Ao[2008,13,4284,6460,7564,3792,0]Ao[2008,13,4284,6460,8015,3792,0]Ao[2008,13,4284,6460,7356,3792,0]Ao[2008,13,4284,2218,8117,3792,0]Ao[2008,13,4284,2218,7944,3792,0]Ao[2008,13,4284,2218,7945,3792,0]Ao[2008,13,4284,2218,7111,3792,0]Ao[2008,13,4284,4284,4223,3792,0]Al[2008,13,4284,0,7530,3792,0]Ao[2008,13,4284,4284,7355,3792,0]Ao[2008,13,4284,4284,5154,3792,0]Al[2008,13,4284,0,7863,3792,0]Al[2008,13,4284,0,7879,3792,0]Al[2008,13,4284,0,6744,3792,0]Al[2008,13,4284,0,8017,3792,0]Al[2008,13,4284,0,5114,3792,0]Al[2008,13,4284,0,7524,3792,0]Al[2008,13,4284,0,7744,3792,0]Al[2008,13,4284,0,7765,3792,0]Al[2008,13,4284,0,7398,3792,0]Al[2008,13,4284,0,7892,3792,0]Ak[2008,13,4284,0,993,3792,0]Ak[2008,13,4284,0,318,3792,0]Al[2008,13,4284,0,4254,3792,0]Am[2008,13,3939,3939,16,3792,0]Ao[2008,13,4473,4473,2972,3792,0]Ao[2008,13,4473,4473,6723,3792,0]Ao[2008,13,6711,2215,7210,3792,0]Ao[6661,13,6662,6662,4209,3792,0]An[6661,13,6662,6662,327,3792,0]Al[6661,13,941,941,328,3792,0]Ao[7721,13,7722,2912,5175,3792,0]Ao[7721,13,2901,2901,4205,3792,0]Ao[7721,13,3533,3533,6768,3792,0]Am[7721,13,586,586,5110,3792,0]Am[7721,13,586,586,5604,3792,0]Am[7721,13,586,586,2941,3792,0]Ao[7721,13,1580,7255,7570,3792,0]An[7721,13,1580,945,4208,3792,0]Ao[7721,13,1580,1580,5614,3792,0]Ao[7721,13,1580,1580,6743,3792,0]Al[2008,13,2009,0,5143,3793,0]Al[2008,13,2009,0,5158,3793,0]Al[2008,13,2009,0,4249,3793,0]Al[2008,13,5394,0,4264,3793,0]An[5429,13,5430,886,5144,3793,0]An[5429,13,5430,886,5159,3793,0]Ao[5429,13,5430,5452,4250,3793,0]Ao[6662,13,7231,7231,4265,3793,0]Ai[2008,13,4284,0,2985,0,0]0Al[2008,13,2009,0,5143,7187,0]Ai[2008,12,7232,0,7187,0,0]Al[6662,12,7231,7231,7188,0,0]Ai[2008,13,2009,0,5158,0,0]Ak[5429,13,5430,886,5159,0,0]Ai[2008,14,3922,0,7105,0,0]Al[6662,14,3590,3921,3800,0,0]Am[6661,13,6662,6662,327,962,0]Ak[6661,13,941,941,328,962,0]Al[6662,13,3590,3590,2975,0,0]Ai[2008,13,4284,0,7879,0,0]Ai[2008,12,4284,0,5600,0,0]Al[2008,13,2009,0,7548,5668,0]Al[2008,13,2009,0,7389,5668,0]Al[2008,13,2009,0,7883,5668,0]Al[2008,13,5394,0,5640,5668,0]Ao[2008,13,5394,5394,7873,5668,0]Ao[2008,13,5394,5394,7364,5668,0]Ao[2008,13,2880,2880,5646,5668,0]Ao[2008,13,4284,6460,5661,5668,0]Ao[2008,13,4284,6460,7930,5668,0]Ao[2008,13,4284,6460,5090,5668,0]Ao[2008,13,4284,6460,7522,5668,0]Ao[2008,13,4284,6460,8015,5668,0]Ao[2008,13,4284,4284,7969,5668,0]Ao[2008,13,4284,4284,7071,5668,0]Ao[2008,13,4284,4284,5093,5668,0]Ao[2008,13,4473,4473,6722,5668,0]Al[2008,13,7232,0,7184,5668,0]Al[2008,13,7232,0,7178,5668,0]Al[2008,13,7232,0,8041,5668,0]An[5429,13,5430,886,7549,5668,0]An[5429,13,5430,886,7390,5668,0]Ao[5429,13,5430,5452,7884,5668,0]Ao[6662,13,3308,1027,5161,5668,0]Ao[6662,13,3308,1027,5152,5668,0]Ao[6662,13,3308,3308,7072,5668,0]Ao[6662,13,3308,3308,5104,5668,0]Ao[6662,13,3590,3590,5667,5668,0]Ao[6662,13,3590,3590,7575,5668,0]Ao[6662,13,3315,3315,7373,5668,0]Ao[6662,13,2887,2887,2481,5668,0]Ao[6662,13,5417,5417,2482,5668,0]Ao[6662,13,2217,2217,2480,5668,0]Am[6662,13,583,583,4216,5668,0]Am[6662,13,583,583,6749,5668,0]Am[6662,13,583,583,7392,5668,0]Ao[6662,13,7231,7231,7185,5668,0]Ao[6662,13,7231,7231,7180,5668,0]Ao[6662,13,7231,7231,8042,5668,0]Ao[6662,13,7231,7231,5642,5668,0]Ai[2008,13,2009,0,7079,0,0]Ai[2008,13,5394,0,7082,0,0]Al[5429,13,5430,7230,7080,0,0]Al[6662,13,7231,7231,7083,0,0]Al[2008,13,4284,6460,7356,0,0]4Ai[2008,13,2009,0,4246,0,0]Al[2008,13,5394,5394,7931,0,0]Al[2008,13,4284,7153,7099,0,0]5Al[6662,13,6663,5449,4247,0,0]Ai[2008,13,2009,0,7216,0,0]Al[2008,13,4284,7153,4242,0,0]Al[5429,13,5430,7230,7217,0,0]Ai[2008,13,4284,0,8017,0,0]Al[2008,13,4284,6460,4229,0,0]Al[7721,14,3533,3533,2934,0,0]Ai[2008,14,4284,0,5612,0,0]Al[6662,13,6663,7148,6757,0,0]Al[2008,13,4284,6460,5598,0,0]Ai[2008,13,4284,0,5663,0,0]Ae[2008,2,2009,0,0,0,0]Ae[1022,7,1023,0,0,0,0]Al[2008,13,4473,4473,7566,0,0]Al[2008,13,4473,4473,7869,0,0]Al[2008,13,4473,4473,2972,0,0]Ao[2008,13,4473,4473,6723,7566,0]Ao[2008,13,4473,4473,6723,7869,0]Aj[7721,13,586,586,5111,0,0]Al[7721,13,1580,1580,5615,0,0]Al[7721,13,3591,3591,2974,0,0]Al[6662,13,3590,4475,7834,0,0]Al[6662,13,3590,3590,2975,0,0]Ai[2008,14,4284,0,7824,0,0]Ai[2008,13,2009,0,5158,0,0]Ai[2008,13,2009,0,5163,0,0]Ak[5429,13,5430,886,5159,0,0]Ak[5429,13,5430,886,5164,0,0]Al[2008,13,2009,0,7079,3819,0]Al[2008,13,2009,0,7216,3819,0]Al[2008,13,2009,0,5143,3819,0]Al[2008,13,2009,0,5158,3819,0]Al[2008,13,2009,0,5163,3819,0]Al[2008,13,2009,0,4249,3819,0]Al[2008,13,2009,0,4246,3819,0]Al[2008,13,2009,0,6759,3819,0]Al[2008,13,2009,0,5126,3819,0]Ao[2008,13,3922,3922,7533,3819,0]Al[2008,13,5394,0,7082,3819,0]Al[2008,13,5394,0,4264,3819,0]Al[2008,13,5394,0,7087,3819,0]Ao[2008,13,5394,5394,7364,3819,0]Ao[2008,13,5394,5394,7181,3819,0]Ao[2008,13,5394,5394,7931,3819,0]Ao[2008,13,2880,2880,7380,3819,0]Ao[2008,13,2880,2880,7207,3819,0]Ao[2008,13,2880,2880,7764,3819,0]Am[2008,13,579,579,7075,3819,0]Ao[2008,13,7735,7735,7393,3819,0]Ao[2008,13,2016,2016,7204,3819,0]Ao[2008,13,2016,2016,7366,3819,0]Ak[2008,13,584,0,6734,3819,0]Al[2008,13,4284,0,7835,3819,0]Al[2008,13,4284,0,7386,3819,0]Al[2008,13,4284,0,5148,3819,0]Al[2008,13,4284,0,5655,3819,0]Al[2008,13,4284,0,7385,3819,0]Al[2008,13,4284,0,5673,3819,0]Al[2008,13,4284,0,7116,3819,0]Ao[2008,13,4284,7049,5654,3819,0]Ao[2008,13,4284,7049,7838,3819,0]Ao[2008,13,4284,7049,7891,3819,0]Al[2008,13,4284,0,7946,3819,0]Al[2008,13,4284,0,2985,3819,0]Al[2008,13,4284,0,7986,3819,0]Ao[2008,13,4284,7153,7099,3819,0]Ao[2008,13,4284,7153,4242,3819,0]Ao[2008,13,4284,6703,2978,3819,0]Al[2008,13,4284,0,2961,3819,0]Al[2008,13,4284,0,7108,3819,0]Al[2008,13,4284,0,4262,3819,0]Al[2008,13,4284,0,5612,3819,0]Al[2008,13,4284,0,5138,3819,0]Al[2008,13,4284,0,7532,3819,0]Al[2008,13,4284,0,3827,3819,0]Al[2008,13,4284,0,7067,3819,0]Ao[2008,13,4284,6716,7579,3819,0]Ao[2008,13,4284,5434,5601,3819,0]Ao[2008,13,4284,5434,7362,3819,0]Ao[2008,13,4284,6460,7930,3819,0]Ao[2008,13,4284,6460,7522,3819,0]Ao[2008,13,4284,6460,7224,3819,0]Ao[2008,13,4284,6460,5598,3819,0]Ao[2008,13,4284,6460,7871,3819,0]Ao[2008,13,4284,6460,7534,3819,0]Ao[2008,13,4284,6460,7564,3819,0]Ao[2008,13,4284,6460,8015,3819,0]Ao[2008,13,4284,6460,7356,3819,0]Ao[2008,13,4284,2218,8117,3819,0]Ao[2008,13,4284,2218,7944,3819,0]Ao[2008,13,4284,2218,7945,3819,0]Ao[2008,13,4284,2218,7111,3819,0]Ao[2008,13,4284,4284,4223,3819,0]Al[2008,13,4284,0,7530,3819,0]Ao[2008,13,4284,4284,7355,3819,0]Ao[2008,13,4284,4284,5154,3819,0]Al[2008,13,4284,0,7863,3819,0]Al[2008,13,4284,0,7879,3819,0]Al[2008,13,4284,0,6744,3819,0]Al[2008,13,4284,0,8017,3819,0]Al[2008,13,4284,0,5114,3819,0]Al[2008,13,4284,0,7524,3819,0]Al[2008,13,4284,0,7744,3819,0]Al[2008,13,4284,0,7765,3819,0]Al[2008,13,4284,0,7398,3819,0]Al[2008,13,4284,0,7892,3819,0]Ak[2008,13,4284,0,993,3819,0]Ak[2008,13,4284,0,318,3819,0]Al[2008,13,4284,0,4254,3819,0]Am[2008,13,3939,3939,16,3819,0]Ao[2008,13,4473,4473,2972,3819,0]Ao[2008,13,4473,4473,6723,3819,0]Ao[2008,13,6711,2215,7210,3819,0]Ao[5429,13,5430,7230,7080,3819,0]Ao[5429,13,5430,7230,7217,3819,0]An[5429,13,5430,886,5144,3819,0]An[5429,13,5430,886,5159,3819,0]An[5429,13,5430,886,5164,3819,0]Ao[5429,13,5430,5452,4250,3819,0]Ao[6661,13,6662,6662,4209,3819,0]An[6661,13,6662,6662,327,3819,0]Al[6661,13,941,941,328,3819,0]Ao[7721,13,7722,2912,5175,3819,0]Ao[7721,13,2901,2901,4205,3819,0]Ao[7721,13,3533,3533,6768,3819,0]Am[7721,13,586,586,5110,3819,0]Am[7721,13,586,586,5604,3819,0]Am[7721,13,586,586,2941,3819,0]Ao[7721,13,1580,7255,7570,3819,0]An[7721,13,1580,945,4208,3819,0]Ao[7721,13,1580,1580,5614,3819,0]Ao[7721,13,1580,1580,6743,3819,0]Ao[6662,13,6663,5449,4247,3819,0]Ao[6662,13,6663,5449,6760,3819,0]Ao[6662,13,6663,5449,7571,3819,0]Ao[6662,13,3308,3308,7170,3819,0]Ao[6662,13,3590,3921,7106,3819,0]Ao[6662,13,3590,3590,2925,3819,0]Ao[6662,13,3590,3590,7520,3819,0]Ao[6662,13,3315,3315,5115,3819,0]Ao[6662,13,2887,2887,7768,3819,0]Ao[6662,13,2887,2887,7747,3819,0]Ao[6662,13,2887,2887,5101,3819,0]Ao[6662,13,2217,2217,5649,3819,0]Am[6662,13,583,583,3777,3819,0]Am[6662,13,583,583,6733,3819,0]Am[6662,13,583,583,6735,3819,0]Am[6662,13,583,583,7218,3819,0]Ao[6662,13,7231,7231,7083,3819,0]Ao[6662,13,7231,7231,4265,3819,0]Ao[6662,13,7231,7231,7088,3819,0]Al[2008,13,2009,0,7079,3821,0]Al[2008,13,2009,0,7216,3821,0]Dn[2008,13,2009,0,5143,3821,0,\"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey\"]Al[2008,13,2009,0,5143,3821,0]Dj[2008,13,2009,0,5143,3821,0,\"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey\"]Al[2008,13,2009,0,7548,3821,0]Al[2008,13,2009,0,5158,3821,0]0Al[2008,13,2009,0,5163,3821,0]Al[2008,13,2009,0,7389,3821,0]Al[2008,13,2009,0,4249,3821,0]Al[2008,13,2009,0,7883,3821,0]Al[2008,13,2009,0,4246,3821,0]Al[2008,13,2009,0,6759,3821,0]Al[2008,13,2009,0,5126,3821,0]Al[2008,13,3922,0,7381,3821,0]Al[2008,13,3922,0,7759,3821,0]Al[2008,13,3922,0,7105,3821,0]Ao[2008,13,3922,3922,7533,3821,0]Al[2008,13,3922,0,7760,3821,0]Al[2008,13,5394,0,7082,3821,0]Al[2008,13,5394,0,4264,3821,0]0Al[2008,13,5394,0,7087,3821,0]Al[2008,13,5394,0,5640,3821,0]Ao[2008,13,5394,5394,7873,3821,0]Ao[2008,13,5394,5394,7364,3821,0]Ao[2008,13,5394,5394,7181,3821,0]Ao[2008,13,5394,5394,7931,3821,0]Am[2008,13,585,585,7077,3821,0]Am[2008,13,585,585,7936,3821,0]Ao[2008,13,2880,2880,5646,3821,0]Ao[2008,13,2880,2880,8013,3821,0]Ao[2008,13,2880,2880,7380,3821,0]Ao[2008,13,2880,2880,7985,3821,0]Ao[2008,13,2880,2880,7207,3821,0]Ao[2008,13,2880,2880,7764,3821,0]Am[2008,13,579,579,7075,3821,0]Am[2008,13,579,579,3775,3821,0]Ao[2008,13,7735,7735,7393,3821,0]Ao[2008,13,2016,2016,7204,3821,0]Ao[2008,13,2016,2016,7984,3821,0]Ao[2008,13,2016,2016,7366,3821,0]Ak[2008,13,584,0,6734,3821,0]Al[2008,13,4284,0,3802,3821,0]Al[2008,13,4284,0,2958,3821,0]Al[2008,13,4284,0,5086,3821,0]Al[2008,13,4284,0,4202,3821,0]Al[2008,13,4284,0,7104,3821,0]Al[2008,13,4284,0,7109,3821,0]Al[2008,13,4284,0,7835,3821,0]Al[2008,13,4284,0,5653,3821,0]Al[2008,13,4284,0,7949,3821,0]Al[2008,13,4284,0,7386,3821,0]Al[2008,13,4284,0,5148,3821,0]Al[2008,13,4284,0,5655,3821,0]Al[2008,13,4284,0,7385,3821,0]Al[2008,13,4284,0,5663,3821,0]Al[2008,13,4284,0,5673,3821,0]Al[2008,13,4284,0,7116,3821,0]Al[2008,13,4284,0,5648,3821,0]Ak[2008,13,4284,0,975,3821,0]Ao[2008,13,4284,7049,5654,3821,0]Ao[2008,13,4284,7049,7838,3821,0]Ao[2008,13,4284,7049,7891,3821,0]Al[2008,13,4284,0,7576,3821,0]Al[2008,13,4284,0,7946,3821,0]Da[2008,13,4284,0,2985,3821,0,\"impl-TryFrom%3Cusize%3E-for-VarInt\"]Al[2008,13,4284,0,2985,3821,0]Co[2008,13,4284,0,2985,3821,0,\"impl-TryFrom%3Cu64%3E-for-VarInt\"]D`[2008,13,4284,0,2985,3821,0,\"impl-TryFrom%3Cu128%3E-for-VarInt\"]Al[2008,13,4284,0,7986,3821,0]Al[2008,13,4284,0,2462,3821,0]Ao[2008,13,4284,7153,7099,3821,0]Ao[2008,13,4284,7153,4242,3821,0]Ao[2008,13,4284,6703,2978,3821,0]Al[2008,13,4284,0,2961,3821,0]Al[2008,13,4284,0,7108,3821,0]Al[2008,13,4284,0,4262,3821,0]Al[2008,13,4284,0,5612,3821,0]Al[2008,13,4284,0,5138,3821,0]Al[2008,13,4284,0,7532,3821,0]Al[2008,13,4284,0,3827,3821,0]Al[2008,13,4284,0,7067,3821,0]Ao[2008,13,4284,6716,7579,3821,0]Ao[2008,13,4284,5434,5601,3821,0]Ao[2008,13,4284,5434,7362,3821,0]Ao[2008,13,4284,6460,2924,3821,0]Ao[2008,13,4284,6460,4229,3821,0]Ao[2008,13,4284,6460,5661,3821,0]Ao[2008,13,4284,6460,7930,3821,0]Ao[2008,13,4284,6460,5588,3821,0]Ao[2008,13,4284,6460,5087,3821,0]Ao[2008,13,4284,6460,5090,3821,0]Ao[2008,13,4284,6460,7522,3821,0]Ao[2008,13,4284,6460,7224,3821,0]Ao[2008,13,4284,6460,5598,3821,0]Ao[2008,13,4284,6460,7871,3821,0]Ao[2008,13,4284,6460,7534,3821,0]Ao[2008,13,4284,6460,7564,3821,0]Ao[2008,13,4284,6460,8015,3821,0]Ao[2008,13,4284,6460,7356,3821,0]Ao[2008,13,4284,2867,7967,3821,0]Ao[2008,13,4284,2867,8009,3821,0]Ao[2008,13,4284,2218,8117,3821,0]Ao[2008,13,4284,2218,7944,3821,0]Ao[2008,13,4284,2218,7945,3821,0]Ao[2008,13,4284,2218,7111,3821,0]Ao[2008,13,4284,4284,3776,3821,0]Ao[2008,13,4284,4284,4223,3821,0]Ao[2008,13,4284,4284,7969,3821,0]Ao[2008,13,4284,4284,7071,3821,0]Ao[2008,13,4284,4284,5093,3821,0]Al[2008,13,4284,0,7530,3821,0]Ao[2008,13,4284,4284,7355,3821,0]Ao[2008,13,4284,4284,5154,3821,0]Al[2008,13,4284,0,7569,3821,0]Al[2008,13,4284,0,7863,3821,0]Al[2008,13,4284,0,7879,3821,0]Al[2008,13,4284,0,6744,3821,0]0Al[2008,13,4284,0,8017,3821,0]Al[2008,13,4284,0,8097,3821,0]Al[2008,13,4284,0,6729,3821,0]Al[2008,13,4284,0,7894,3821,0]Al[2008,13,4284,0,5114,3821,0]0Al[2008,13,4284,0,7524,3821,0]Al[2008,13,4284,0,7744,3821,0]Al[2008,13,4284,0,7765,3821,0]Al[2008,13,4284,0,7398,3821,0]Al[2008,13,4284,0,7892,3821,0]Al[2008,13,4284,0,7824,3821,0]Ak[2008,13,4284,0,993,3821,0]Ak[2008,13,4284,0,318,3821,0]Al[2008,13,4284,0,4254,3821,0]Am[2008,13,3939,3939,16,3821,0]Ao[2008,13,4473,4473,2972,3821,0]Ao[2008,13,4473,4473,7212,3821,0]Ao[2008,13,4473,4473,6722,3821,0]Ao[2008,13,4473,4473,6723,3821,0]Al[2008,13,7232,0,7184,3821,0]Al[2008,13,7232,0,7178,3821,0]Al[2008,13,7232,0,8041,3821,0]Ao[2008,13,6711,2215,7210,3821,0]Ao[2008,13,6711,6711,7745,3821,0]Ao[2008,13,6711,8022,7367,3821,0]Ao[5429,13,5430,7230,7080,3821,0]Ao[5429,13,5430,7230,7217,3821,0]Dl[5429,13,5430,886,5144,3821,0,\"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey\"]An[5429,13,5430,886,5144,3821,0]E`[5429,13,5430,886,5144,3821,0,\"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey\"]An[5429,13,5430,886,7549,3821,0]An[5429,13,5430,886,5159,3821,0]0An[5429,13,5430,886,5164,3821,0]An[5429,13,5430,886,7390,3821,0]Ao[5429,13,5430,5452,4250,3821,0]Ao[5429,13,5430,5452,7884,3821,0]Ao[6661,13,6662,6662,7749,3821,0]Ao[6661,13,6662,6662,7866,3821,0]Ao[6661,13,6662,6662,4209,3821,0]An[6661,13,6662,6662,327,3821,0]Ao[6661,13,6662,6662,6727,3821,0]Ao[6661,13,2905,2905,2501,3821,0]Ao[6661,13,2905,2905,6773,3821,0]Ao[6661,13,2905,2905,7396,3821,0]Al[6661,13,941,941,328,3821,0]Ao[7721,13,7722,2912,5175,3821,0]Ao[7721,13,2901,2901,4205,3821,0]Ao[7721,13,3533,3533,2934,3821,0]Ao[7721,13,3533,3533,6768,3821,0]Ao[7721,13,3533,3533,7205,3821,0]Ao[7721,13,3533,3533,7377,3821,0]Ao[7721,13,3533,3533,7519,3821,0]Am[7721,13,586,586,5111,3821,0]Am[7721,13,586,586,5110,3821,0]Am[7721,13,586,586,5604,3821,0]Am[7721,13,586,586,2941,3821,0]Ao[7721,13,1580,1580,5615,3821,0]Ao[7721,13,1580,7255,7570,3821,0]An[7721,13,1580,945,4208,3821,0]Ao[7721,13,1580,1580,5614,3821,0]Ao[7721,13,1580,1580,6743,3821,0]Ao[7721,13,3923,3923,3798,3821,0]Ao[7721,13,3591,3591,2974,3821,0]Ao[6662,13,6663,7148,6757,3821,0]Ao[6662,13,6663,5449,4247,3821,0]Ao[6662,13,6663,5449,6760,3821,0]Ao[6662,13,6663,5449,7571,3821,0]Ao[6662,13,3308,1027,5161,3821,0]Ao[6662,13,3308,1027,5152,3821,0]Ao[6662,13,3308,3308,7072,3821,0]Ao[6662,13,3308,3308,5104,3821,0]Ao[6662,13,3308,3308,7170,3821,0]Ao[6662,13,3308,3308,2932,3821,0]Ao[6662,13,3308,3308,5582,3821,0]Ao[6662,13,3308,3308,7064,3821,0]Ao[6662,13,3590,3921,3800,3821,0]Ao[6662,13,3590,3921,7106,3821,0]Ao[6662,13,3590,4475,7834,3821,0]Ao[6662,13,3590,3590,7112,3821,0]Ao[6662,13,3590,3590,6761,3821,0]Ao[6662,13,3590,3590,7060,3821,0]Ao[6662,13,3590,3590,2925,3821,0]Ao[6662,13,3590,3590,5650,3821,0]Ao[6662,13,3590,3590,5165,3821,0]Ao[6662,13,3590,3590,2951,3821,0]Ao[6662,13,3590,3590,7520,3821,0]Ao[6662,13,3590,3590,5580,3821,0]Ao[6662,13,3590,3590,2975,3821,0]Ao[6662,13,3590,3590,5667,3821,0]Ao[6662,13,3590,3590,7575,3821,0]Ao[6662,13,3315,3315,5115,3821,0]0Ao[6662,13,3315,3315,7373,3821,0]Ao[6662,13,2887,2887,2481,3821,0]Ao[6662,13,2887,2887,7768,3821,0]Ao[6662,13,2887,2887,7747,3821,0]Ao[6662,13,2887,2887,5101,3821,0]Ao[6662,13,5417,5417,2482,3821,0]Ao[6662,13,2217,2217,2480,3821,0]Ao[6662,13,2217,2217,5649,3821,0]Am[6662,13,583,583,4216,3821,0]Am[6662,13,583,583,6749,3821,0]Am[6662,13,583,583,7392,3821,0]Am[6662,13,583,583,3777,3821,0]Am[6662,13,583,583,6733,3821,0]Am[6662,13,583,583,6735,3821,0]Am[6662,13,583,583,7218,3821,0]Ao[6662,13,7231,7231,7185,3821,0]Ao[6662,13,7231,7231,7180,3821,0]Ao[6662,13,7231,7231,7083,3821,0]Ao[6662,13,7231,7231,4265,3821,0]0Ao[6662,13,7231,7231,8042,3821,0]Ao[6662,13,7231,7231,7088,3821,0]Ao[6662,13,7231,7231,5642,3821,0]Al[2008,13,2009,0,7079,3822,0]Al[2008,13,2009,0,7216,3822,0]Al[2008,13,2009,0,5143,3822,0]Al[2008,13,2009,0,7548,3822,0]Al[2008,13,2009,0,5158,3822,0]Al[2008,13,2009,0,5163,3822,0]Al[2008,13,2009,0,7389,3822,0]Al[2008,13,2009,0,4249,3822,0]Al[2008,13,2009,0,7883,3822,0]Al[2008,13,2009,0,4246,3822,0]Al[2008,13,2009,0,6759,3822,0]Al[2008,13,2009,0,5126,3822,0]Al[2008,13,3922,0,7381,3822,0]Al[2008,13,3922,0,7759,3822,0]Al[2008,13,3922,0,7105,3822,0]Ao[2008,13,3922,3922,7533,3822,0]Al[2008,13,3922,0,7760,3822,0]Al[2008,13,5394,0,7082,3822,0]Al[2008,13,5394,0,4264,3822,0]Al[2008,13,5394,0,7087,3822,0]Al[2008,13,5394,0,5640,3822,0]Ao[2008,13,5394,5394,7873,3822,0]Ao[2008,13,5394,5394,7364,3822,0]Ao[2008,13,5394,5394,7181,3822,0]Ao[2008,13,5394,5394,7931,3822,0]Am[2008,13,585,585,7077,3822,0]Am[2008,13,585,585,7936,3822,0]Ao[2008,13,2880,2880,5646,3822,0]Ao[2008,13,2880,2880,8013,3822,0]Ao[2008,13,2880,2880,7380,3822,0]Ao[2008,13,2880,2880,7985,3822,0]Ao[2008,13,2880,2880,7207,3822,0]Ao[2008,13,2880,2880,7764,3822,0]Am[2008,13,579,579,7075,3822,0]Am[2008,13,579,579,3775,3822,0]Ao[2008,13,7735,7735,7393,3822,0]Ao[2008,13,2016,2016,7204,3822,0]Ao[2008,13,2016,2016,7984,3822,0]Ao[2008,13,2016,2016,7366,3822,0]Ak[2008,13,584,0,6734,3822,0]Al[2008,13,4284,0,3802,3822,0]Al[2008,13,4284,0,2958,3822,0]Al[2008,13,4284,0,5086,3822,0]Al[2008,13,4284,0,4202,3822,0]Al[2008,13,4284,0,7104,3822,0]Al[2008,13,4284,0,7109,3822,0]Al[2008,13,4284,0,7835,3822,0]Al[2008,13,4284,0,5653,3822,0]Al[2008,13,4284,0,7949,3822,0]Al[2008,13,4284,0,7386,3822,0]Al[2008,13,4284,0,5148,3822,0]Al[2008,13,4284,0,5655,3822,0]Al[2008,13,4284,0,7385,3822,0]Al[2008,13,4284,0,5663,3822,0]Al[2008,13,4284,0,5673,3822,0]Al[2008,13,4284,0,7116,3822,0]Al[2008,13,4284,0,5648,3822,0]Ak[2008,13,4284,0,975,3822,0]Ao[2008,13,4284,7049,5654,3822,0]Ao[2008,13,4284,7049,7838,3822,0]Ao[2008,13,4284,7049,7891,3822,0]Al[2008,13,4284,0,7576,3822,0]Al[2008,13,4284,0,7946,3822,0]Al[2008,13,4284,0,2985,3822,0]Al[2008,13,4284,0,7986,3822,0]Al[2008,13,4284,0,2462,3822,0]Ao[2008,13,4284,7153,7099,3822,0]Ao[2008,13,4284,7153,4242,3822,0]Ao[2008,13,4284,6703,2978,3822,0]Al[2008,13,4284,0,2961,3822,0]Al[2008,13,4284,0,7108,3822,0]Al[2008,13,4284,0,4262,3822,0]Al[2008,13,4284,0,5612,3822,0]Al[2008,13,4284,0,5138,3822,0]Al[2008,13,4284,0,7532,3822,0]Al[2008,13,4284,0,3827,3822,0]Al[2008,13,4284,0,7067,3822,0]Ao[2008,13,4284,6716,7579,3822,0]Ao[2008,13,4284,5434,5601,3822,0]Ao[2008,13,4284,5434,7362,3822,0]Ao[2008,13,4284,6460,2924,3822,0]Ao[2008,13,4284,6460,4229,3822,0]Ao[2008,13,4284,6460,5661,3822,0]Ao[2008,13,4284,6460,7930,3822,0]Ao[2008,13,4284,6460,5588,3822,0]Ao[2008,13,4284,6460,5087,3822,0]Ao[2008,13,4284,6460,5090,3822,0]Ao[2008,13,4284,6460,7522,3822,0]Ao[2008,13,4284,6460,7224,3822,0]Ao[2008,13,4284,6460,5598,3822,0]Ao[2008,13,4284,6460,7871,3822,0]Ao[2008,13,4284,6460,7534,3822,0]Ao[2008,13,4284,6460,7564,3822,0]Ao[2008,13,4284,6460,8015,3822,0]Ao[2008,13,4284,6460,7356,3822,0]Ao[2008,13,4284,2867,7967,3822,0]Ao[2008,13,4284,2867,8009,3822,0]Ao[2008,13,4284,2218,8117,3822,0]Ao[2008,13,4284,2218,7944,3822,0]Ao[2008,13,4284,2218,7945,3822,0]Ao[2008,13,4284,2218,7111,3822,0]Ao[2008,13,4284,4284,3776,3822,0]Ao[2008,13,4284,4284,4223,3822,0]Ao[2008,13,4284,4284,7969,3822,0]Ao[2008,13,4284,4284,7071,3822,0]Ao[2008,13,4284,4284,5093,3822,0]Al[2008,13,4284,0,7530,3822,0]Ao[2008,13,4284,4284,7355,3822,0]Ao[2008,13,4284,4284,5154,3822,0]Al[2008,13,4284,0,7569,3822,0]Al[2008,13,4284,0,7863,3822,0]Al[2008,13,4284,0,7879,3822,0]Al[2008,13,4284,0,6744,3822,0]Al[2008,13,4284,0,8017,3822,0]Al[2008,13,4284,0,8097,3822,0]Al[2008,13,4284,0,6729,3822,0]Al[2008,13,4284,0,7894,3822,0]Al[2008,13,4284,0,5114,3822,0]Al[2008,13,4284,0,7524,3822,0]Al[2008,13,4284,0,7744,3822,0]Al[2008,13,4284,0,7765,3822,0]Al[2008,13,4284,0,7398,3822,0]Al[2008,13,4284,0,7892,3822,0]Al[2008,13,4284,0,7824,3822,0]Ak[2008,13,4284,0,993,3822,0]Ak[2008,13,4284,0,318,3822,0]Al[2008,13,4284,0,4254,3822,0]Am[2008,13,3939,3939,16,3822,0]Ao[2008,13,4473,4473,2972,3822,0]Ao[2008,13,4473,4473,7212,3822,0]Ao[2008,13,4473,4473,6722,3822,0]Ao[2008,13,4473,4473,6723,3822,0]Al[2008,13,7232,0,7184,3822,0]Al[2008,13,7232,0,7178,3822,0]Al[2008,13,7232,0,8041,3822,0]Ao[2008,13,6711,2215,7210,3822,0]Ao[2008,13,6711,6711,7745,3822,0]Ao[2008,13,6711,8022,7367,3822,0]Ao[5429,13,5430,7230,7080,3822,0]Ao[5429,13,5430,7230,7217,3822,0]An[5429,13,5430,886,5144,3822,0]An[5429,13,5430,886,7549,3822,0]An[5429,13,5430,886,5159,3822,0]An[5429,13,5430,886,5164,3822,0]An[5429,13,5430,886,7390,3822,0]Ao[5429,13,5430,5452,4250,3822,0]Ao[5429,13,5430,5452,7884,3822,0]Ao[6661,13,6662,6662,7749,3822,0]Ao[6661,13,6662,6662,7866,3822,0]Ao[6661,13,6662,6662,4209,3822,0]An[6661,13,6662,6662,327,3822,0]Ao[6661,13,6662,6662,6727,3822,0]Ao[6661,13,2905,2905,2501,3822,0]Ao[6661,13,2905,2905,6773,3822,0]Ao[6661,13,2905,2905,7396,3822,0]Al[6661,13,941,941,328,3822,0]Ao[7721,13,7722,2912,5175,3822,0]Ao[7721,13,2901,2901,4205,3822,0]Ao[7721,13,3533,3533,2934,3822,0]Ao[7721,13,3533,3533,6768,3822,0]Ao[7721,13,3533,3533,7205,3822,0]Ao[7721,13,3533,3533,7377,3822,0]Ao[7721,13,3533,3533,7519,3822,0]Am[7721,13,586,586,5111,3822,0]Am[7721,13,586,586,5110,3822,0]Am[7721,13,586,586,5604,3822,0]Am[7721,13,586,586,2941,3822,0]Ao[7721,13,1580,1580,5615,3822,0]Ao[7721,13,1580,7255,7570,3822,0]An[7721,13,1580,945,4208,3822,0]Ao[7721,13,1580,1580,5614,3822,0]Ao[7721,13,1580,1580,6743,3822,0]Ao[7721,13,3923,3923,3798,3822,0]Ao[7721,13,3591,3591,2974,3822,0]Ao[6662,13,6663,7148,6757,3822,0]Ao[6662,13,6663,5449,4247,3822,0]Ao[6662,13,6663,5449,6760,3822,0]Ao[6662,13,6663,5449,7571,3822,0]Ao[6662,13,3308,1027,5161,3822,0]Ao[6662,13,3308,1027,5152,3822,0]Ao[6662,13,3308,3308,7072,3822,0]Ao[6662,13,3308,3308,5104,3822,0]Ao[6662,13,3308,3308,7170,3822,0]Ao[6662,13,3308,3308,2932,3822,0]Ao[6662,13,3308,3308,5582,3822,0]Ao[6662,13,3308,3308,7064,3822,0]Ao[6662,13,3590,3921,3800,3822,0]Ao[6662,13,3590,3921,7106,3822,0]Ao[6662,13,3590,4475,7834,3822,0]Ao[6662,13,3590,3590,7112,3822,0]Ao[6662,13,3590,3590,6761,3822,0]Ao[6662,13,3590,3590,7060,3822,0]Ao[6662,13,3590,3590,2925,3822,0]Ao[6662,13,3590,3590,5650,3822,0]Ao[6662,13,3590,3590,5165,3822,0]Ao[6662,13,3590,3590,2951,3822,0]Ao[6662,13,3590,3590,7520,3822,0]Ao[6662,13,3590,3590,5580,3822,0]Ao[6662,13,3590,3590,2975,3822,0]Ao[6662,13,3590,3590,5667,3822,0]Ao[6662,13,3590,3590,7575,3822,0]Ao[6662,13,3315,3315,5115,3822,0]Ao[6662,13,3315,3315,7373,3822,0]Ao[6662,13,2887,2887,2481,3822,0]Ao[6662,13,2887,2887,7768,3822,0]Ao[6662,13,2887,2887,7747,3822,0]Ao[6662,13,2887,2887,5101,3822,0]Ao[6662,13,5417,5417,2482,3822,0]Ao[6662,13,2217,2217,2480,3822,0]Ao[6662,13,2217,2217,5649,3822,0]Am[6662,13,583,583,4216,3822,0]Am[6662,13,583,583,6749,3822,0]Am[6662,13,583,583,7392,3822,0]Am[6662,13,583,583,3777,3822,0]Am[6662,13,583,583,6733,3822,0]Am[6662,13,583,583,6735,3822,0]Am[6662,13,583,583,7218,3822,0]Ao[6662,13,7231,7231,7185,3822,0]Ao[6662,13,7231,7231,7180,3822,0]Ao[6662,13,7231,7231,7083,3822,0]Ao[6662,13,7231,7231,4265,3822,0]Ao[6662,13,7231,7231,8042,3822,0]Ao[6662,13,7231,7231,7088,3822,0]Ao[6662,13,7231,7231,5642,3822,0]Al[2008,13,4284,0,3802,5166,0]Al[2008,13,4284,0,2958,5166,0]Al[2008,13,4284,0,5086,5166,0]Al[2008,13,4284,0,4202,5166,0]Al[2008,13,4284,0,7104,5166,0]Al[2008,13,4284,0,7109,5166,0]Ao[2008,13,4284,6460,5588,5166,0]Ao[2008,13,4284,6460,5087,5166,0]Ak[6661,14,6662,6662,327,0,0]Ah[2008,5,4284,6462,0,0,0]Ah[2008,5,4284,6460,0,0,0]Ah[2008,6,4284,6460,0,0,0]Ae[2008,6,4284,0,0,0,0]Al[6662,15,2887,2887,7768,0,0]Al[6662,15,2887,2887,7747,0,0]Ae[6662,5,2887,0,0,0,0]Ae[6662,6,3308,0,0,0,0]Al[2008,15,4284,6703,2978,0,0]Al[2008,15,4284,4284,5093,0,0]Af[2008,10,5394,0,0,0,0]Ad[7721,5,586,0,0,0,0]0Ah[2008,6,4284,2865,0,0,0]Ae[6662,6,3315,0,0,0,0]Al[6662,15,3308,3308,7072,0,0]Ai[2008,10,4284,3536,0,0,0]Al[6662,15,3590,3590,7575,0,0]Al[6662,15,3590,3590,5667,0,0]Ai[2008,15,4284,0,5114,0,0]Ae[2008,5,2009,0,0,0,0]Al[2008,15,4284,4284,7969,0,0]Al[2008,15,5394,5394,7364,0,0]Ai[2008,15,5394,0,5640,0,0]0Al[6662,15,7231,7231,5642,0,0]8Ah[2008,5,4284,2904,0,0,0]Al[2008,15,2880,2880,5646,0,0]Ag[2008,5,2009,886,0,0,0]Ag[5429,5,5430,886,0,0,0]:Ai[2008,15,4284,0,7385,0,0]Ah[2008,6,4284,7047,0,0,0]Ah[6662,6,3308,1027,0,0,0]Ah[2008,4,2009,4284,0,0,0]Ae[2008,6,4284,0,0,0,0]Al[6662,15,3590,3590,5580,0,0]76376Ae[6662,5,3590,0,0,0,0]Al[6662,15,2217,2217,2480,0,0]Al[6662,15,3308,3308,7072,0,0]Al[6662,15,5417,5417,2482,0,0]Ah[7721,5,7722,2912,0,0,0]Al[2008,13,4284,6460,5598,0,0]Ai[2008,13,5394,0,7082,0,0]Al[6662,13,7231,7231,7083,0,0]Al[2008,13,5394,5394,7931,0,0]Al[2008,13,2016,2016,7984,0,0]Ag[2008,14,7577,0,12,0,0]Al[7721,14,3533,3533,7205,0,0]Aj[7721,14,586,586,5110,0,0]Al[7721,14,1580,1580,5614,0,0]Al[7721,14,1580,1580,6743,0,0]Al[6662,14,3590,3590,5650,0,0]Al[7721,14,3533,3533,7377,0,0]2Al[6662,14,3590,3590,2951,0,0]Ai[2008,12,4284,0,5600,0,0]Ai[2008,14,4284,0,4262,0,0]Ai[6662,14,7746,0,5097,0,0]Ai[6662,14,7767,0,5098,0,0]Al[2008,13,2009,0,7079,5139,0]Al[2008,13,2009,0,7216,5139,0]Al[2008,13,2009,0,5143,5139,0]Al[2008,13,2009,0,7548,5139,0]Al[2008,13,2009,0,5158,5139,0]Al[2008,13,2009,0,5163,5139,0]Al[2008,13,2009,0,7389,5139,0]Al[2008,13,2009,0,4249,5139,0]Al[2008,13,2009,0,7883,5139,0]Al[2008,13,2009,0,4246,5139,0]Al[2008,13,2009,0,6759,5139,0]Al[2008,13,2009,0,5126,5139,0]Al[2008,13,3922,0,7381,5139,0]Al[2008,13,3922,0,7759,5139,0]Al[2008,13,3922,0,7105,5139,0]Ao[2008,13,3922,3922,7533,5139,0]Al[2008,13,3922,0,7760,5139,0]Al[2008,13,5394,0,7082,5139,0]Al[2008,13,5394,0,4264,5139,0]Al[2008,13,5394,0,7087,5139,0]Al[2008,13,5394,0,7087,4211,0]Al[2008,13,5394,0,5640,5139,0]Ao[2008,13,5394,5394,7873,5139,0]Ao[2008,13,5394,5394,7364,5139,0]Ao[2008,13,5394,5394,7181,5139,0]Ao[2008,13,5394,5394,7931,5139,0]Am[2008,13,585,585,7077,5139,0]Am[2008,13,585,585,7936,5139,0]Ao[2008,13,2880,2880,5646,5139,0]Ao[2008,13,2880,2880,8013,5139,0]Ao[2008,13,2880,2880,7380,5139,0]Ao[2008,13,2880,2880,7985,5139,0]Ao[2008,13,2880,2880,7207,5139,0]Ao[2008,13,2880,2880,7764,5139,0]Am[2008,13,579,579,7075,5139,0]Am[2008,13,579,579,3775,5139,0]Ao[2008,13,7735,7735,7393,5139,0]Ao[2008,13,2016,2016,7204,5139,0]Ao[2008,13,2016,2016,7984,5139,0]Ao[2008,13,2016,2016,7366,5139,0]Ak[2008,13,584,0,6734,5139,0]Al[2008,13,4284,0,3802,5139,0]Al[2008,13,4284,0,2958,5139,0]Al[2008,13,4284,0,5086,5139,0]Al[2008,13,4284,0,4202,5139,0]Al[2008,13,4284,0,7104,5139,0]Al[2008,13,4284,0,7109,5139,0]Al[2008,13,4284,0,7835,5139,0]Al[2008,13,4284,0,5653,5139,0]Al[2008,13,4284,0,7949,5139,0]Al[2008,13,4284,0,7386,5139,0]Al[2008,13,4284,0,5148,5139,0]Al[2008,13,4284,0,5655,5139,0]Al[2008,13,4284,0,7385,5139,0]Al[2008,13,4284,0,5663,5139,0]Al[2008,13,4284,0,5673,5139,0]Al[2008,13,4284,0,7116,5139,0]Al[2008,13,4284,0,5648,5139,0]Ak[2008,13,4284,0,975,5139,0]Ao[2008,13,4284,7049,5654,5139,0]Ao[2008,13,4284,7049,7838,5139,0]Ao[2008,13,4284,7049,7891,5139,0]Al[2008,13,4284,0,7576,5139,0]Al[2008,13,4284,0,7946,5139,0]Al[2008,13,4284,0,2985,5139,0]Al[2008,13,4284,0,7986,5139,0]Al[2008,13,4284,0,2462,5139,0]Ao[2008,13,4284,7153,7099,5139,0]Ao[2008,13,4284,7153,4242,5139,0]Ao[2008,13,4284,6703,2978,5139,0]Al[2008,13,4284,0,2961,5139,0]Al[2008,13,4284,0,7108,5139,0]Al[2008,13,4284,0,4262,5139,0]Al[2008,13,4284,0,5612,5139,0]Al[2008,13,4284,0,5138,5139,0]Al[2008,13,4284,0,7532,5139,0]Al[2008,13,4284,0,3827,5139,0]Al[2008,13,4284,0,7067,5139,0]Ao[2008,13,4284,6716,7579,5139,0]Ao[2008,13,4284,5434,5601,5139,0]Ao[2008,13,4284,5434,7362,5139,0]Ao[2008,13,4284,6460,2924,5139,0]Ao[2008,13,4284,6460,4229,5139,0]Ao[2008,13,4284,6460,5661,5139,0]Ao[2008,13,4284,6460,7930,5139,0]Ao[2008,13,4284,6460,5588,5139,0]Ao[2008,13,4284,6460,5087,5139,0]Ao[2008,13,4284,6460,5090,5139,0]Ao[2008,13,4284,6460,7522,5139,0]Ao[2008,13,4284,6460,7224,5139,0]Ao[2008,13,4284,6460,5598,5139,0]Ao[2008,13,4284,6460,7871,5139,0]Ao[2008,13,4284,6460,7534,5139,0]Ao[2008,13,4284,6460,7564,5139,0]Ao[2008,13,4284,6460,8015,5139,0]Ao[2008,13,4284,6460,7356,5139,0]Ao[2008,13,4284,2867,7967,5139,0]Ao[2008,13,4284,2867,8009,5139,0]Ao[2008,13,4284,2218,8117,5139,0]Ao[2008,13,4284,2218,7944,5139,0]Ao[2008,13,4284,2218,7945,5139,0]Ao[2008,13,4284,2218,7111,5139,0]Ao[2008,13,4284,4284,3776,5139,0]Ao[2008,13,4284,4284,4223,5139,0]Ao[2008,13,4284,4284,7969,5139,0]Ao[2008,13,4284,4284,7071,5139,0]Ao[2008,13,4284,4284,5093,5139,0]Al[2008,13,4284,0,7530,5139,0]Ao[2008,13,4284,4284,7355,5139,0]Ao[2008,13,4284,4284,5154,5139,0]Al[2008,13,4284,0,7569,5139,0]Al[2008,13,4284,0,7863,5139,0]Al[2008,13,4284,0,7879,5139,0]Al[2008,13,4284,0,6744,5139,0]Al[2008,13,4284,0,8017,5139,0]Al[2008,13,4284,0,8097,5139,0]Al[2008,13,4284,0,6729,5139,0]Al[2008,13,4284,0,7894,5139,0]Al[2008,13,4284,0,5114,5139,0]Al[2008,13,4284,0,7524,5139,0]Al[2008,13,4284,0,7744,5139,0]Al[2008,13,4284,0,7765,5139,0]Al[2008,13,4284,0,7398,5139,0]Al[2008,13,4284,0,7892,5139,0]Al[2008,13,4284,0,7824,5139,0]Ak[2008,13,4284,0,993,5139,0]Ak[2008,13,4284,0,318,5139,0]Al[2008,13,4284,0,4254,5139,0]Am[2008,13,3939,3939,16,5139,0]Ao[2008,13,4473,4473,2972,5139,0]Ao[2008,13,4473,4473,7212,5139,0]Ao[2008,13,4473,4473,6722,5139,0]Ao[2008,13,4473,4473,6723,5139,0]Al[2008,13,7232,0,7184,5139,0]Al[2008,13,7232,0,7178,5139,0]Al[2008,13,7232,0,8041,5139,0]Ao[2008,13,6711,2215,7210,5139,0]Ao[2008,13,6711,6711,7745,5139,0]Ao[2008,13,6711,8022,7367,5139,0]Ao[6661,13,6662,6662,7749,5139,0]Ao[6661,13,6662,6662,7866,5139,0]Ao[6661,13,6662,6662,4209,5139,0]An[6661,13,6662,6662,327,5139,0]Ao[6661,13,6662,6662,6727,5139,0]Ao[6661,13,2905,2905,2501,5139,0]Ao[6661,13,2905,2905,6773,5139,0]Ao[6661,13,2905,2905,7396,5139,0]Al[6661,13,941,941,328,5139,0]Ao[6662,13,6663,7148,6757,5139,0]Ao[6662,13,6663,5449,4247,5139,0]Ao[6662,13,6663,5449,6760,5139,0]Ao[6662,13,6663,5449,7571,5139,0]Ao[6662,13,3308,1027,5161,5139,0]Ao[6662,13,3308,1027,5152,5139,0]Ao[6662,13,3308,3308,7072,5139,0]Ao[6662,13,3308,3308,5104,5139,0]Ao[6662,13,3308,3308,7170,5139,0]Ao[6662,13,3308,3308,2932,5139,0]Ao[6662,13,3308,3308,5582,5139,0]Ao[6662,13,3308,3308,7064,5139,0]Ao[6662,13,3590,3921,3800,5139,0]Ao[6662,13,3590,3921,7106,5139,0]Ao[6662,13,3590,4475,7834,5139,0]Ao[6662,13,3590,3590,7112,5139,0]Ao[6662,13,3590,3590,6761,5139,0]Ao[6662,13,3590,3590,7060,5139,0]Ao[6662,13,3590,3590,2925,5139,0]Ao[6662,13,3590,3590,5650,5139,0]Ao[6662,13,3590,3590,5165,5139,0]Ao[6662,13,3590,3590,2951,5139,0]Ao[6662,13,3590,3590,7520,5139,0]Ao[6662,13,3590,3590,5580,5139,0]Ao[6662,13,3590,3590,2975,5139,0]Ao[6662,13,3590,3590,5667,5139,0]Ao[6662,13,3590,3590,7575,5139,0]Ao[6662,13,3315,3315,5115,5139,0]Ao[6662,13,3315,3315,7373,5139,0]Ao[6662,13,2887,2887,2481,5139,0]Ao[6662,13,2887,2887,7768,5139,0]Ao[6662,13,2887,2887,7747,5139,0]Ao[6662,13,2887,2887,5101,5139,0]Ao[6662,13,5417,5417,2482,5139,0]Ao[6662,13,2217,2217,2480,5139,0]Ao[6662,13,2217,2217,5649,5139,0]Am[6662,13,583,583,4216,5139,0]Am[6662,13,583,583,6749,5139,0]Am[6662,13,583,583,7392,5139,0]Am[6662,13,583,583,3777,5139,0]Am[6662,13,583,583,6733,5139,0]Am[6662,13,583,583,6735,5139,0]Am[6662,13,583,583,7218,5139,0]Ao[6662,13,7231,7231,7185,5139,0]Ao[6662,13,7231,7231,7180,5139,0]Ao[6662,13,7231,7231,7083,5139,0]Ao[6662,13,7231,7231,4265,5139,0]Ao[6662,13,7231,7231,8042,5139,0]Ao[6662,13,7231,7231,7088,4211,0]Ao[6662,13,7231,7231,7088,5139,0]Ao[6662,13,7231,7231,5642,5139,0]Ae[2008,2,2009,0,0,0,0]Al[2008,13,4284,4284,3776,0,0]Al[2008,13,4284,4284,4223,0,0]Al[2008,13,6711,8022,7367,0,0]Al[2008,13,3922,0,7381,4233,0]Al[2008,13,3922,0,7759,4233,0]Al[2008,13,3922,0,7105,4233,0]Al[2008,13,3922,0,7760,4233,0]Ao[7721,13,3923,3923,3798,4233,0]Ao[6662,13,3590,3921,3800,4233,0]Ai[2008,13,2009,0,5143,0,0]Ak[5429,13,5430,886,5144,0,0]Ai[6662,14,2471,0,7190,0,0]Dk[2008,13,2009,0,4246,7089,0,\"impl-FromIterator%3CRelayUrl%3E-for-RelayMap\"]Eg[2008,13,2009,0,4246,7089,0,\"impl-FromIterator%3CArc%3CRelayConfig%3E%3E-for-RelayMap\"]Dn[2008,13,2009,0,4246,7089,0,\"impl-FromIterator%3CRelayConfig%3E-for-RelayMap\"]Ea[6662,13,6663,5449,4247,7089,0,\"impl-FromIterator%3CRelayConfig%3E-for-RelayMap\"]Ej[6662,13,6663,5449,4247,7089,0,\"impl-FromIterator%3CArc%3CRelayConfig%3E%3E-for-RelayMap\"]Dn[6662,13,6663,5449,4247,7089,0,\"impl-FromIterator%3CRelayUrl%3E-for-RelayMap\"]Am[6662,13,583,583,7218,7089,0]Ai[2008,14,2009,0,5126,0,0]0Ae[6662,2,3574,0,0,0,0]Ai[2008,13,5394,0,7082,0,0]Al[6662,13,7231,7231,7083,0,0]Al[7721,13,1580,1580,5615,0,0]Al[6662,13,3590,3590,2975,0,0]0Al[7721,13,7722,2912,5175,0,0]Ai[2008,13,4284,0,4254,0,0]Al[2008,13,4284,6460,5588,0,0]Al[2008,13,4284,6460,5087,0,0]Al[2008,13,4284,7049,7838,0,0]Ao[2008,13,4284,7153,7099,7092,0]Ab[5429,3,0,0,0,0,0]Ah[2008,13,4284,0,993,0,0]Al[2008,13,4284,4284,4223,0,0]1Al[2008,14,3922,3922,7533,0,0]Ai[2008,14,4284,0,5612,0,0]0Al[2008,14,6711,8022,7367,0,0]Ao[6662,13,3308,3308,2932,2980,0]Ao[6662,13,3308,3308,7064,2980,0]Bk[2008,13,4284,0,5653,0,0,\"impl-RecvStream\"]Cl[2008,13,4284,0,5653,5091,0,\"impl-AsyncRead-for-RecvStream\"]Al[2008,13,4284,4284,3776,0,0]Al[6662,13,3308,3308,7170,0,0]Ai[6662,14,5103,0,7567,0,0]Al[6662,13,3590,3590,2975,0,0]9Al[2008,13,4284,4284,5154,0,0]Ai[2008,14,7577,0,2490,0,0]Al[2008,13,4284,6460,5588,0,0]Al[2008,13,4284,6460,5598,0,0]Al[2008,13,4284,6460,7356,0,0]Ae[1022,7,1023,0,0,0,0]Ai[2008,14,3922,0,7759,0,0]0Ai[2008,14,3922,0,7105,0,0]Al[6662,14,3590,3921,3800,0,0]Al[2008,13,2009,0,7079,5162,0]Al[2008,13,2009,0,7216,5162,0]Al[2008,13,2009,0,5143,5162,0]Al[2008,13,2009,0,5158,5162,0]Al[2008,13,2009,0,5163,5162,0]Al[2008,13,2009,0,4249,5162,0]Al[2008,13,2009,0,6759,5162,0]Al[2008,13,2009,0,5126,5162,0]Al[2008,13,3922,0,7381,5162,0]Al[2008,13,3922,0,7759,5162,0]Ao[2008,13,3922,3922,7533,5162,0]Al[2008,13,3922,0,7760,5162,0]Ao[2008,13,4284,6703,2978,5162,0]Ao[5429,13,5430,7230,7080,5162,0]Ao[5429,13,5430,7230,7217,5162,0]An[5429,13,5430,886,5144,5162,0]An[5429,13,5430,886,5159,5162,0]An[5429,13,5430,886,5164,5162,0]Ao[5429,13,5430,5452,4250,5162,0]Ao[7721,13,3533,3533,2934,5162,0]Ao[7721,13,3533,3533,6768,5162,0]Ao[7721,13,3533,3533,7205,5162,0]Ao[7721,13,3533,3533,7377,5162,0]Ao[7721,13,3533,3533,7519,5162,0]Am[7721,13,586,586,5110,5162,0]Ao[7721,13,1580,7255,7570,5162,0]An[7721,13,1580,945,4208,5162,0]Ao[7721,13,1580,1580,5614,5162,0]Ao[7721,13,1580,1580,6743,5162,0]Ao[6662,13,6663,5449,6760,5162,0]Ao[6662,13,6663,5449,7571,5162,0]Al[2008,13,4284,4284,4223,0,0]Al[2008,13,4284,6460,5598,0,0]Al[2008,13,2016,2016,7204,0,0]Al[2008,13,2009,0,5143,4256,0]Al[2008,13,2009,0,7548,4256,0]Al[2008,13,2009,0,5163,4256,0]Al[2008,13,2009,0,7389,4256,0]Al[2008,13,2009,0,4249,4256,0]Al[2008,13,2009,0,7883,4256,0]Al[2008,13,2009,0,4246,4256,0]Al[2008,13,2009,0,6759,4256,0]Al[2008,13,2009,0,5126,4256,0]Al[2008,13,5394,0,4264,4256,0]Al[2008,13,5394,0,5640,4256,0]Ao[2008,13,5394,5394,7873,4256,0]Ao[2008,13,5394,5394,7364,4256,0]Ao[2008,13,2880,2880,5646,4256,0]Al[2008,13,4284,0,7835,4256,0]Al[2008,13,4284,0,7386,4256,0]Al[2008,13,4284,0,5148,4256,0]Al[2008,13,4284,0,5655,4256,0]Al[2008,13,4284,0,7385,4256,0]Al[2008,13,4284,0,5673,4256,0]Al[2008,13,4284,0,7116,4256,0]Al[2008,13,4284,0,2985,4256,0]Al[2008,13,4284,0,7986,4256,0]Ao[2008,13,4284,6703,2978,4256,0]Al[2008,13,4284,0,2961,4256,0]Al[2008,13,4284,0,7067,4256,0]Ao[2008,13,4284,5434,7362,4256,0]Ao[2008,13,4284,6460,5661,4256,0]Ao[2008,13,4284,6460,7930,4256,0]Ao[2008,13,4284,6460,5090,4256,0]Ao[2008,13,4284,6460,7522,4256,0]Ao[2008,13,4284,6460,8015,4256,0]Ao[2008,13,4284,4284,7969,4256,0]Ao[2008,13,4284,4284,7071,4256,0]Ao[2008,13,4284,4284,5093,4256,0]Al[2008,13,4284,0,7530,4256,0]Al[2008,13,4284,0,5114,4256,0]Al[2008,13,4284,0,7524,4256,0]Al[2008,13,4284,0,7744,4256,0]Al[2008,13,4284,0,7765,4256,0]Al[2008,13,4284,0,7398,4256,0]Al[2008,13,4284,0,7892,4256,0]Ak[2008,13,4284,0,318,4256,0]Al[2008,13,4284,0,4254,4256,0]Ao[2008,13,4473,4473,6722,4256,0]Al[2008,13,7232,0,7184,4256,0]Al[2008,13,7232,0,7178,4256,0]Al[2008,13,7232,0,8041,4256,0]An[5429,13,5430,886,5144,4256,0]An[5429,13,5430,886,7549,4256,0]An[5429,13,5430,886,5164,4256,0]An[5429,13,5430,886,7390,4256,0]Ao[5429,13,5430,5452,4250,4256,0]Ao[5429,13,5430,5452,7884,4256,0]An[7721,13,1580,945,4208,4256,0]Ao[6662,13,6663,5449,4247,4256,0]Ao[6662,13,6663,5449,6760,4256,0]Ao[6662,13,3308,1027,5161,4256,0]Ao[6662,13,3308,1027,5152,4256,0]Ao[6662,13,3308,3308,7072,4256,0]Ao[6662,13,3308,3308,5104,4256,0]Ao[6662,13,3590,3590,5667,4256,0]Ao[6662,13,3590,3590,7575,4256,0]Ao[6662,13,3315,3315,7373,4256,0]Ao[6662,13,2887,2887,2481,4256,0]Ao[6662,13,5417,5417,2482,4256,0]Ao[6662,13,2217,2217,2480,4256,0]Am[6662,13,583,583,4216,4256,0]Am[6662,13,583,583,6749,4256,0]Am[6662,13,583,583,7392,4256,0]Am[6662,13,583,583,7218,4256,0]Ao[6662,13,7231,7231,7185,4256,0]Ao[6662,13,7231,7231,7180,4256,0]Ao[6662,13,7231,7231,4265,4256,0]Ao[6662,13,7231,7231,8042,4256,0]Ao[6662,13,7231,7231,5642,4256,0]Al[6661,14,2905,2905,6773,0,0]Ai[2008,13,5394,0,7082,0,0]Al[2008,13,5394,5394,7181,0,0]Al[6662,13,7231,7231,7083,0,0]Ai[2008,13,4284,0,5663,0,0]Ae[6662,6,3590,0,0,0,0]Al[6662,15,3315,3315,5115,0,0]Ae[6662,5,3308,0,0,0,0]Al[2008,15,4284,4284,7071,0,0]Al[2008,15,4473,4473,6722,0,0]Ah[2008,5,4284,6460,0,0,0]Al[2008,15,4284,6703,2978,0,0]321Al[6662,15,2217,2217,2480,0,0]Ai[2008,10,4284,6459,0,0,0]Ah[2008,5,4284,5434,0,0,0]Al[2008,15,2016,2016,7366,0,0]Ad[7721,5,586,0,0,0,0]Ag[2008,8,2009,886,0,0,0]Ag[5429,8,5430,886,0,0,0]Ah[2008,5,4284,2904,0,0,0]Ae[7721,5,1580,0,0,0,0]0Ai[2008,15,7232,0,7178,0,0]Al[6662,15,7231,7231,7180,0,0]Al[6662,15,3308,3308,5104,0,0]Ai[2008,19,5394,0,4264,0,0]Al[6662,19,7231,7231,4265,0,0]Al[2008,15,4284,4284,5093,0,0]Aj[6662,15,583,583,4216,0,0]Al[2008,15,4473,4473,6722,0,0]Al[2008,19,7735,7735,7393,0,0]Ah[2008,6,7232,7231,0,0,0]Ah[2008,6,5394,7231,0,0,0]Aj[6662,15,583,583,6749,0,0]Ae[6662,6,7231,0,0,0,0]Ai[2008,15,4284,0,5114,0,0]Ae[2008,6,2880,0,0,0,0]Al[2008,15,4284,5434,7362,0,0]Ah[2008,5,4284,2216,0,0,0]Ae[6662,5,2217,0,0,0,0]Ae[6662,5,3590,0,0,0,0]Af[6662,18,1579,0,0,0,0]Ah[2008,5,4284,7047,0,0,0]Ah[2008,5,4284,7049,0,0,0]Ah[2008,6,4284,7047,0,0,0]Al[6662,15,3315,3315,5115,0,0]Al[6662,15,2887,2887,7768,0,0]Al[6662,15,3590,3590,7060,0,0]Ah[2008,5,4284,6460,0,0,0]Ak[7721,15,1580,945,4208,0,0]Ah[2008,5,4284,7052,0,0,0]Ae[6662,6,3590,0,0,0,0]Ai[2008,10,4284,3532,0,0,0]Ah[2008,6,4284,7052,0,0,0]Al[2008,13,4284,6460,5598,0,0]Al[2008,13,4284,2218,8117,0,0]Al[2008,13,2009,0,7079,5094,0]Al[2008,13,2009,0,7216,5094,0]Al[2008,13,2009,0,5143,5094,0]Al[2008,13,2009,0,7548,5094,0]Al[2008,13,2009,0,5158,5094,0]Al[2008,13,2009,0,5163,5094,0]Al[2008,13,2009,0,7389,5094,0]Al[2008,13,2009,0,4249,5094,0]Al[2008,13,2009,0,7883,5094,0]Al[2008,13,2009,0,4246,5094,0]Al[2008,13,2009,0,6759,5094,0]Al[2008,13,2009,0,5126,5094,0]Al[2008,13,3922,0,7381,5094,0]Al[2008,13,3922,0,7759,5094,0]Al[2008,13,3922,0,7105,5094,0]Ao[2008,13,3922,3922,7533,5094,0]Al[2008,13,3922,0,7760,5094,0]Al[2008,13,5394,0,7082,5094,0]Al[2008,13,5394,0,4264,5094,0]Al[2008,13,5394,0,7087,5094,0]Al[2008,13,5394,0,5640,5094,0]Ao[2008,13,5394,5394,7873,5094,0]Ao[2008,13,5394,5394,7364,5094,0]Ao[2008,13,5394,5394,7181,5094,0]Ao[2008,13,5394,5394,7931,5094,0]Am[2008,13,585,585,7077,5094,0]Am[2008,13,585,585,7936,5094,0]Ao[2008,13,2880,2880,5646,5094,0]Ao[2008,13,2880,2880,8013,5094,0]Ao[2008,13,2880,2880,7380,5094,0]Ao[2008,13,2880,2880,7985,5094,0]Ao[2008,13,2880,2880,7207,5094,0]Ao[2008,13,2880,2880,7764,5094,0]Am[2008,13,579,579,7075,5094,0]Am[2008,13,579,579,3775,5094,0]Ao[2008,13,7735,7735,7393,5094,0]Ao[2008,13,2016,2016,7204,5094,0]Ao[2008,13,2016,2016,7984,5094,0]Ao[2008,13,2016,2016,7366,5094,0]Ak[2008,13,584,0,6734,5094,0]Al[2008,13,4284,0,3802,5094,0]Al[2008,13,4284,0,2958,5094,0]Al[2008,13,4284,0,5086,5094,0]Al[2008,13,4284,0,4202,5094,0]Al[2008,13,4284,0,7104,5094,0]Al[2008,13,4284,0,7109,5094,0]Al[2008,13,4284,0,7835,5094,0]Al[2008,13,4284,0,5653,5094,0]Al[2008,13,4284,0,7949,5094,0]Al[2008,13,4284,0,7386,5094,0]Al[2008,13,4284,0,5148,5094,0]Al[2008,13,4284,0,5655,5094,0]Al[2008,13,4284,0,7385,5094,0]Al[2008,13,4284,0,5663,5094,0]Al[2008,13,4284,0,5673,5094,0]Al[2008,13,4284,0,7116,5094,0]Al[2008,13,4284,0,5648,5094,0]Ak[2008,13,4284,0,975,5094,0]Ao[2008,13,4284,7049,5654,5094,0]Ao[2008,13,4284,7049,7838,5094,0]Ao[2008,13,4284,7049,7891,5094,0]Al[2008,13,4284,0,7576,5094,0]Al[2008,13,4284,0,7946,5094,0]Al[2008,13,4284,0,2985,5094,0]Al[2008,13,4284,0,7986,5094,0]Al[2008,13,4284,0,2462,5094,0]Ao[2008,13,4284,7153,7099,5094,0]Ao[2008,13,4284,7153,4242,5094,0]Ao[2008,13,4284,6703,2978,5094,0]Al[2008,13,4284,0,2961,5094,0]Al[2008,13,4284,0,7108,5094,0]Al[2008,13,4284,0,4262,5094,0]Al[2008,13,4284,0,5612,5094,0]Al[2008,13,4284,0,5138,5094,0]Al[2008,13,4284,0,7532,5094,0]Al[2008,13,4284,0,3827,5094,0]Al[2008,13,4284,0,7067,5094,0]Ao[2008,13,4284,6716,7579,5094,0]Ao[2008,13,4284,5434,5601,5094,0]Ao[2008,13,4284,5434,7362,5094,0]Ao[2008,13,4284,6460,2924,5094,0]Ao[2008,13,4284,6460,4229,5094,0]Ao[2008,13,4284,6460,5661,5094,0]Ao[2008,13,4284,6460,7930,5094,0]Ao[2008,13,4284,6460,5588,5094,0]Ao[2008,13,4284,6460,5087,5094,0]Ao[2008,13,4284,6460,5090,5094,0]Ao[2008,13,4284,6460,7522,5094,0]Ao[2008,13,4284,6460,7224,5094,0]Ao[2008,13,4284,6460,5598,5094,0]Ao[2008,13,4284,6460,7871,5094,0]Ao[2008,13,4284,6460,7534,5094,0]Ao[2008,13,4284,6460,7564,5094,0]Ao[2008,13,4284,6460,8015,5094,0]Ao[2008,13,4284,6460,7356,5094,0]Ao[2008,13,4284,2867,7967,5094,0]Ao[2008,13,4284,2867,8009,5094,0]Ao[2008,13,4284,2218,8117,5094,0]Ao[2008,13,4284,2218,7944,5094,0]Ao[2008,13,4284,2218,7945,5094,0]Ao[2008,13,4284,2218,7111,5094,0]Ao[2008,13,4284,4284,3776,5094,0]Ao[2008,13,4284,4284,4223,5094,0]Ao[2008,13,4284,4284,7969,5094,0]Ao[2008,13,4284,4284,7071,5094,0]Ao[2008,13,4284,4284,5093,5094,0]Al[2008,13,4284,0,7530,5094,0]Ao[2008,13,4284,4284,7355,5094,0]Ao[2008,13,4284,4284,5154,5094,0]Al[2008,13,4284,0,7569,5094,0]Al[2008,13,4284,0,7863,5094,0]Al[2008,13,4284,0,7879,5094,0]Al[2008,13,4284,0,6744,5094,0]Al[2008,13,4284,0,8017,5094,0]Al[2008,13,4284,0,8097,5094,0]Al[2008,13,4284,0,6729,5094,0]Al[2008,13,4284,0,7894,5094,0]Al[2008,13,4284,0,5114,5094,0]Al[2008,13,4284,0,7524,5094,0]Al[2008,13,4284,0,7744,5094,0]Al[2008,13,4284,0,7765,5094,0]Al[2008,13,4284,0,7398,5094,0]Al[2008,13,4284,0,7892,5094,0]Al[2008,13,4284,0,7824,5094,0]Ak[2008,13,4284,0,993,5094,0]Ak[2008,13,4284,0,318,5094,0]Al[2008,13,4284,0,4254,5094,0]Am[2008,13,3939,3939,16,5094,0]Ao[2008,13,4473,4473,2972,5094,0]Ao[2008,13,4473,4473,7212,5094,0]Ao[2008,13,4473,4473,6722,5094,0]Ao[2008,13,4473,4473,6723,5094,0]Al[2008,13,7232,0,7184,5094,0]Al[2008,13,7232,0,7178,5094,0]Al[2008,13,7232,0,8041,5094,0]Ao[2008,13,6711,2215,7210,5094,0]Ao[2008,13,6711,6711,7745,5094,0]Ao[2008,13,6711,8022,7367,5094,0]Ao[5429,13,5430,7230,7080,5094,0]Ao[5429,13,5430,7230,7217,5094,0]An[5429,13,5430,886,5144,5094,0]An[5429,13,5430,886,7549,5094,0]An[5429,13,5430,886,5159,5094,0]An[5429,13,5430,886,5164,5094,0]An[5429,13,5430,886,7390,5094,0]Ao[5429,13,5430,5452,4250,5094,0]Ao[5429,13,5430,5452,7884,5094,0]Ao[6661,13,6662,6662,7749,5094,0]Ao[6661,13,6662,6662,7866,5094,0]Ao[6661,13,6662,6662,4209,5094,0]An[6661,13,6662,6662,327,5094,0]Ao[6661,13,6662,6662,6727,5094,0]Ao[6661,13,2905,2905,2501,5094,0]Ao[6661,13,2905,2905,6773,5094,0]Ao[6661,13,2905,2905,7396,5094,0]Al[6661,13,941,941,328,5094,0]Ao[7721,13,7722,2912,5175,5094,0]Ao[7721,13,2901,2901,4205,5094,0]Ao[7721,13,3533,3533,2934,5094,0]Ao[7721,13,3533,3533,6768,5094,0]Ao[7721,13,3533,3533,7205,5094,0]Ao[7721,13,3533,3533,7377,5094,0]Ao[7721,13,3533,3533,7519,5094,0]Am[7721,13,586,586,5111,5094,0]Am[7721,13,586,586,5110,5094,0]Am[7721,13,586,586,5604,5094,0]Am[7721,13,586,586,2941,5094,0]Ao[7721,13,1580,1580,5615,5094,0]Ao[7721,13,1580,7255,7570,5094,0]An[7721,13,1580,945,4208,5094,0]Ao[7721,13,1580,1580,5614,5094,0]Ao[7721,13,1580,1580,6743,5094,0]Ao[7721,13,3923,3923,3798,5094,0]Ao[7721,13,3591,3591,2974,5094,0]Ao[6662,13,6663,7148,6757,5094,0]Ao[6662,13,6663,5449,4247,5094,0]Ao[6662,13,6663,5449,6760,5094,0]Ao[6662,13,6663,5449,7571,5094,0]Ao[6662,13,3308,1027,5161,5094,0]Ao[6662,13,3308,1027,5152,5094,0]Ao[6662,13,3308,3308,7072,5094,0]Ao[6662,13,3308,3308,5104,5094,0]Ao[6662,13,3308,3308,7170,5094,0]Ao[6662,13,3308,3308,2932,5094,0]Ao[6662,13,3308,3308,5582,5094,0]Ao[6662,13,3308,3308,7064,5094,0]Ao[6662,13,3590,3921,3800,5094,0]Ao[6662,13,3590,3921,7106,5094,0]Ao[6662,13,3590,4475,7834,5094,0]Ao[6662,13,3590,3590,7112,5094,0]Ao[6662,13,3590,3590,6761,5094,0]Ao[6662,13,3590,3590,7060,5094,0]Ao[6662,13,3590,3590,2925,5094,0]Ao[6662,13,3590,3590,5650,5094,0]Ao[6662,13,3590,3590,5165,5094,0]Ao[6662,13,3590,3590,2951,5094,0]Ao[6662,13,3590,3590,7520,5094,0]Ao[6662,13,3590,3590,5580,5094,0]Ao[6662,13,3590,3590,2975,5094,0]Ao[6662,13,3590,3590,5667,5094,0]Ao[6662,13,3590,3590,7575,5094,0]Ao[6662,13,3315,3315,5115,5094,0]Ao[6662,13,3315,3315,7373,5094,0]Ao[6662,13,2887,2887,2481,5094,0]Ao[6662,13,2887,2887,7768,5094,0]Ao[6662,13,2887,2887,7747,5094,0]Ao[6662,13,2887,2887,5101,5094,0]Ao[6662,13,5417,5417,2482,5094,0]Ao[6662,13,2217,2217,2480,5094,0]Ao[6662,13,2217,2217,5649,5094,0]Am[6662,13,583,583,4216,5094,0]Am[6662,13,583,583,6749,5094,0]Am[6662,13,583,583,7392,5094,0]Am[6662,13,583,583,3777,5094,0]Am[6662,13,583,583,6733,5094,0]Am[6662,13,583,583,6735,5094,0]Am[6662,13,583,583,7218,5094,0]Ao[6662,13,7231,7231,7185,5094,0]Ao[6662,13,7231,7231,7180,5094,0]Ao[6662,13,7231,7231,7083,5094,0]Ao[6662,13,7231,7231,4265,5094,0]Ao[6662,13,7231,7231,8042,5094,0]Ao[6662,13,7231,7231,7088,5094,0]Ao[6662,13,7231,7231,5642,5094,0]Ai[2008,14,3922,0,7105,0,0]Al[6662,14,3590,3921,3800,0,0]10Al[6661,14,2905,2905,6773,0,0]0Al[2008,13,2009,0,7079,3819,0]Al[2008,13,2009,0,7216,3819,0]Al[2008,13,2009,0,5143,3819,0]Al[2008,13,2009,0,5158,3819,0]Al[2008,13,2009,0,5163,3819,0]Al[2008,13,2009,0,4249,3819,0]Al[2008,13,2009,0,4246,3819,0]Al[2008,13,2009,0,6759,3819,0]Al[2008,13,2009,0,5126,3819,0]Ao[2008,13,3922,3922,7533,3819,0]Al[2008,13,5394,0,7082,3819,0]Al[2008,13,5394,0,4264,3819,0]Al[2008,13,5394,0,7087,3819,0]Ao[2008,13,5394,5394,7364,3819,0]Ao[2008,13,5394,5394,7181,3819,0]Ao[2008,13,5394,5394,7931,3819,0]Ao[2008,13,2880,2880,7380,3819,0]Ao[2008,13,2880,2880,7207,3819,0]Ao[2008,13,2880,2880,7764,3819,0]Am[2008,13,579,579,7075,3819,0]Ao[2008,13,7735,7735,7393,3819,0]Ao[2008,13,2016,2016,7204,3819,0]Ao[2008,13,2016,2016,7366,3819,0]Ak[2008,13,584,0,6734,3819,0]Al[2008,13,4284,0,7835,3819,0]Al[2008,13,4284,0,7386,3819,0]Al[2008,13,4284,0,5148,3819,0]Al[2008,13,4284,0,5655,3819,0]Al[2008,13,4284,0,7385,3819,0]Al[2008,13,4284,0,5673,3819,0]Al[2008,13,4284,0,7116,3819,0]Ao[2008,13,4284,7049,5654,3819,0]Ao[2008,13,4284,7049,7838,3819,0]Ao[2008,13,4284,7049,7891,3819,0]Al[2008,13,4284,0,7946,3819,0]Al[2008,13,4284,0,2985,3819,0]Al[2008,13,4284,0,7986,3819,0]Ao[2008,13,4284,7153,7099,3819,0]Ao[2008,13,4284,7153,4242,3819,0]Ao[2008,13,4284,6703,2978,3819,0]Al[2008,13,4284,0,2961,3819,0]Al[2008,13,4284,0,7108,3819,0]Al[2008,13,4284,0,4262,3819,0]Al[2008,13,4284,0,5612,3819,0]Al[2008,13,4284,0,5138,3819,0]Al[2008,13,4284,0,7532,3819,0]Al[2008,13,4284,0,3827,3819,0]Al[2008,13,4284,0,7067,3819,0]Ao[2008,13,4284,6716,7579,3819,0]Ao[2008,13,4284,5434,5601,3819,0]Ao[2008,13,4284,5434,7362,3819,0]Ao[2008,13,4284,6460,7930,3819,0]Ao[2008,13,4284,6460,7522,3819,0]Ao[2008,13,4284,6460,7224,3819,0]Ao[2008,13,4284,6460,5598,3819,0]Ao[2008,13,4284,6460,7871,3819,0]Ao[2008,13,4284,6460,7534,3819,0]Ao[2008,13,4284,6460,7564,3819,0]Ao[2008,13,4284,6460,8015,3819,0]Ao[2008,13,4284,6460,7356,3819,0]Ao[2008,13,4284,2218,8117,3819,0]Ao[2008,13,4284,2218,7944,3819,0]Ao[2008,13,4284,2218,7945,3819,0]Ao[2008,13,4284,2218,7111,3819,0]Ao[2008,13,4284,4284,4223,3819,0]Al[2008,13,4284,0,7530,3819,0]Ao[2008,13,4284,4284,7355,3819,0]Ao[2008,13,4284,4284,5154,3819,0]Al[2008,13,4284,0,7863,3819,0]Al[2008,13,4284,0,7879,3819,0]Al[2008,13,4284,0,6744,3819,0]Al[2008,13,4284,0,8017,3819,0]Al[2008,13,4284,0,5114,3819,0]Al[2008,13,4284,0,7524,3819,0]Al[2008,13,4284,0,7744,3819,0]Al[2008,13,4284,0,7765,3819,0]Al[2008,13,4284,0,7398,3819,0]Al[2008,13,4284,0,7892,3819,0]Ak[2008,13,4284,0,993,3819,0]Ak[2008,13,4284,0,318,3819,0]Al[2008,13,4284,0,4254,3819,0]Am[2008,13,3939,3939,16,3819,0]Ao[2008,13,4473,4473,2972,3819,0]Ao[2008,13,4473,4473,6723,3819,0]Ao[2008,13,6711,2215,7210,3819,0]Ao[5429,13,5430,7230,7080,3819,0]Ao[5429,13,5430,7230,7217,3819,0]An[5429,13,5430,886,5144,3819,0]An[5429,13,5430,886,5159,3819,0]An[5429,13,5430,886,5164,3819,0]Ao[5429,13,5430,5452,4250,3819,0]Ao[6661,13,6662,6662,4209,3819,0]An[6661,13,6662,6662,327,3819,0]Al[6661,13,941,941,328,3819,0]Ao[7721,13,7722,2912,5175,3819,0]Ao[7721,13,2901,2901,4205,3819,0]Ao[7721,13,3533,3533,6768,3819,0]Am[7721,13,586,586,5110,3819,0]Am[7721,13,586,586,5604,3819,0]Am[7721,13,586,586,2941,3819,0]Ao[7721,13,1580,7255,7570,3819,0]An[7721,13,1580,945,4208,3819,0]Ao[7721,13,1580,1580,5614,3819,0]Ao[7721,13,1580,1580,6743,3819,0]Ao[6662,13,6663,5449,4247,3819,0]Ao[6662,13,6663,5449,6760,3819,0]Ao[6662,13,6663,5449,7571,3819,0]Ao[6662,13,3308,3308,7170,3819,0]Ao[6662,13,3590,3921,7106,3819,0]Ao[6662,13,3590,3590,2925,3819,0]Ao[6662,13,3590,3590,7520,3819,0]Ao[6662,13,3315,3315,5115,3819,0]Ao[6662,13,2887,2887,7768,3819,0]Ao[6662,13,2887,2887,7747,3819,0]Ao[6662,13,2887,2887,5101,3819,0]Ao[6662,13,2217,2217,5649,3819,0]Am[6662,13,583,583,3777,3819,0]Am[6662,13,583,583,6733,3819,0]Am[6662,13,583,583,6735,3819,0]Am[6662,13,583,583,7218,3819,0]Ao[6662,13,7231,7231,7083,3819,0]Ao[6662,13,7231,7231,4265,3819,0]Ao[6662,13,7231,7231,7088,3819,0]Al[2008,13,2009,0,7079,5095,0]Al[2008,13,2009,0,7216,5095,0]Al[2008,13,2009,0,5143,5095,0]Al[2008,13,2009,0,7548,5095,0]Al[2008,13,2009,0,5158,5095,0]Al[2008,13,2009,0,5163,5095,0]Al[2008,13,2009,0,7389,5095,0]Al[2008,13,2009,0,4249,5095,0]Al[2008,13,2009,0,7883,5095,0]Al[2008,13,2009,0,4246,5095,0]Al[2008,13,2009,0,6759,5095,0]Al[2008,13,2009,0,5126,5095,0]Al[2008,13,3922,0,7381,5095,0]Al[2008,13,3922,0,7759,5095,0]Al[2008,13,3922,0,7105,5095,0]Ao[2008,13,3922,3922,7533,5095,0]Al[2008,13,3922,0,7760,5095,0]Al[2008,13,5394,0,7082,5095,0]Al[2008,13,5394,0,4264,5095,0]Al[2008,13,5394,0,7087,5095,0]Al[2008,13,5394,0,5640,5095,0]Ao[2008,13,5394,5394,7873,5095,0]Ao[2008,13,5394,5394,7364,5095,0]Ao[2008,13,5394,5394,7181,5095,0]Ao[2008,13,5394,5394,7931,5095,0]Am[2008,13,585,585,7077,5095,0]Am[2008,13,585,585,7936,5095,0]Ao[2008,13,2880,2880,5646,5095,0]Ao[2008,13,2880,2880,8013,5095,0]Ao[2008,13,2880,2880,7380,5095,0]Ao[2008,13,2880,2880,7985,5095,0]Ao[2008,13,2880,2880,7207,5095,0]Ao[2008,13,2880,2880,7764,5095,0]Am[2008,13,579,579,7075,5095,0]Am[2008,13,579,579,3775,5095,0]Ao[2008,13,7735,7735,7393,5095,0]Ao[2008,13,2016,2016,7204,5095,0]Ao[2008,13,2016,2016,7984,5095,0]Ao[2008,13,2016,2016,7366,5095,0]Ak[2008,13,584,0,6734,5095,0]Al[2008,13,4284,0,3802,5095,0]Al[2008,13,4284,0,2958,5095,0]Al[2008,13,4284,0,5086,5095,0]Al[2008,13,4284,0,4202,5095,0]Al[2008,13,4284,0,7104,5095,0]Al[2008,13,4284,0,7109,5095,0]Al[2008,13,4284,0,7835,5095,0]Al[2008,13,4284,0,5653,5095,0]Al[2008,13,4284,0,7949,5095,0]Al[2008,13,4284,0,7386,5095,0]Al[2008,13,4284,0,5148,5095,0]Al[2008,13,4284,0,5655,5095,0]Al[2008,13,4284,0,7385,5095,0]Al[2008,13,4284,0,5663,5095,0]Al[2008,13,4284,0,5673,5095,0]Al[2008,13,4284,0,7116,5095,0]Al[2008,13,4284,0,5648,5095,0]Ak[2008,13,4284,0,975,5095,0]Ao[2008,13,4284,7049,5654,5095,0]Ao[2008,13,4284,7049,7838,5095,0]Ao[2008,13,4284,7049,7891,5095,0]Al[2008,13,4284,0,7576,5095,0]Al[2008,13,4284,0,7946,5095,0]Al[2008,13,4284,0,2985,5095,0]Al[2008,13,4284,0,7986,5095,0]Al[2008,13,4284,0,2462,5095,0]Ao[2008,13,4284,7153,7099,5095,0]Ao[2008,13,4284,7153,4242,5095,0]Ao[2008,13,4284,6703,2978,5095,0]Al[2008,13,4284,0,2961,5095,0]Al[2008,13,4284,0,7108,5095,0]Al[2008,13,4284,0,4262,5095,0]Al[2008,13,4284,0,5612,5095,0]Al[2008,13,4284,0,5138,5095,0]Al[2008,13,4284,0,7532,5095,0]Al[2008,13,4284,0,3827,5095,0]Al[2008,13,4284,0,7067,5095,0]Ao[2008,13,4284,6716,7579,5095,0]Ao[2008,13,4284,5434,5601,5095,0]Ao[2008,13,4284,5434,7362,5095,0]Ao[2008,13,4284,6460,2924,5095,0]Ao[2008,13,4284,6460,4229,5095,0]Ao[2008,13,4284,6460,5661,5095,0]Ao[2008,13,4284,6460,7930,5095,0]Ao[2008,13,4284,6460,5588,5095,0]Ao[2008,13,4284,6460,5087,5095,0]Ao[2008,13,4284,6460,5090,5095,0]Ao[2008,13,4284,6460,7522,5095,0]Ao[2008,13,4284,6460,7224,5095,0]Ao[2008,13,4284,6460,5598,5095,0]Ao[2008,13,4284,6460,7871,5095,0]Ao[2008,13,4284,6460,7534,5095,0]Ao[2008,13,4284,6460,7564,5095,0]Ao[2008,13,4284,6460,8015,5095,0]Ao[2008,13,4284,6460,7356,5095,0]Ao[2008,13,4284,2867,7967,5095,0]Ao[2008,13,4284,2867,8009,5095,0]Ao[2008,13,4284,2218,8117,5095,0]Ao[2008,13,4284,2218,7944,5095,0]Ao[2008,13,4284,2218,7945,5095,0]Ao[2008,13,4284,2218,7111,5095,0]Ao[2008,13,4284,4284,3776,5095,0]Ao[2008,13,4284,4284,4223,5095,0]Ao[2008,13,4284,4284,7969,5095,0]Ao[2008,13,4284,4284,7071,5095,0]Ao[2008,13,4284,4284,5093,5095,0]Al[2008,13,4284,0,7530,5095,0]Ao[2008,13,4284,4284,7355,5095,0]Ao[2008,13,4284,4284,5154,5095,0]Al[2008,13,4284,0,7569,5095,0]Al[2008,13,4284,0,7863,5095,0]Al[2008,13,4284,0,7879,5095,0]Al[2008,13,4284,0,6744,5095,0]Al[2008,13,4284,0,8017,5095,0]Al[2008,13,4284,0,8097,5095,0]Al[2008,13,4284,0,6729,5095,0]Al[2008,13,4284,0,7894,5095,0]Al[2008,13,4284,0,5114,5095,0]Al[2008,13,4284,0,7524,5095,0]Al[2008,13,4284,0,7744,5095,0]Al[2008,13,4284,0,7765,5095,0]Al[2008,13,4284,0,7398,5095,0]Al[2008,13,4284,0,7892,5095,0]Al[2008,13,4284,0,7824,5095,0]Ak[2008,13,4284,0,993,5095,0]Ak[2008,13,4284,0,318,5095,0]Al[2008,13,4284,0,4254,5095,0]Am[2008,13,3939,3939,16,5095,0]Ao[2008,13,4473,4473,2972,5095,0]Ao[2008,13,4473,4473,7212,5095,0]Ao[2008,13,4473,4473,6722,5095,0]Ao[2008,13,4473,4473,6723,5095,0]Al[2008,13,7232,0,7184,5095,0]Al[2008,13,7232,0,7178,5095,0]Al[2008,13,7232,0,8041,5095,0]Ao[2008,13,6711,2215,7210,5095,0]Ao[2008,13,6711,6711,7745,5095,0]Ao[2008,13,6711,8022,7367,5095,0]Ao[6661,13,6662,6662,7749,5095,0]Ao[6661,13,6662,6662,7866,5095,0]Ao[6661,13,6662,6662,4209,5095,0]An[6661,13,6662,6662,327,5095,0]Ao[6661,13,6662,6662,6727,5095,0]Ao[6661,13,2905,2905,2501,5095,0]Ao[6661,13,2905,2905,6773,5095,0]Ao[6661,13,2905,2905,7396,5095,0]Al[6661,13,941,941,328,5095,0]Ao[7721,13,7722,2912,5175,5095,0]Ao[7721,13,2901,2901,4205,5095,0]Ao[7721,13,3533,3533,2934,5095,0]Ao[7721,13,3533,3533,6768,5095,0]Ao[7721,13,3533,3533,7205,5095,0]Ao[7721,13,3533,3533,7377,5095,0]Ao[7721,13,3533,3533,7519,5095,0]Am[7721,13,586,586,5111,5095,0]Am[7721,13,586,586,5110,5095,0]Am[7721,13,586,586,5604,5095,0]Am[7721,13,586,586,2941,5095,0]Ao[7721,13,1580,1580,5615,5095,0]Ao[7721,13,1580,7255,7570,5095,0]An[7721,13,1580,945,4208,5095,0]Ao[7721,13,1580,1580,5614,5095,0]Ao[7721,13,1580,1580,6743,5095,0]Ao[7721,13,3923,3923,3798,5095,0]Ao[7721,13,3591,3591,2974,5095,0]Ao[6662,13,6663,7148,6757,5095,0]Ao[6662,13,6663,5449,4247,5095,0]Ao[6662,13,6663,5449,6760,5095,0]Ao[6662,13,6663,5449,7571,5095,0]Ao[6662,13,3308,1027,5161,5095,0]Ao[6662,13,3308,1027,5152,5095,0]Ao[6662,13,3308,3308,7072,5095,0]Ao[6662,13,3308,3308,5104,5095,0]Ao[6662,13,3308,3308,7170,5095,0]Ao[6662,13,3308,3308,2932,5095,0]Ao[6662,13,3308,3308,5582,5095,0]Ao[6662,13,3308,3308,7064,5095,0]Ao[6662,13,3590,3921,3800,5095,0]Ao[6662,13,3590,3921,7106,5095,0]Ao[6662,13,3590,4475,7834,5095,0]Ao[6662,13,3590,3590,7112,5095,0]Ao[6662,13,3590,3590,6761,5095,0]Ao[6662,13,3590,3590,7060,5095,0]Ao[6662,13,3590,3590,2925,5095,0]Ao[6662,13,3590,3590,5650,5095,0]Ao[6662,13,3590,3590,5165,5095,0]Ao[6662,13,3590,3590,2951,5095,0]Ao[6662,13,3590,3590,7520,5095,0]Ao[6662,13,3590,3590,5580,5095,0]Ao[6662,13,3590,3590,2975,5095,0]Ao[6662,13,3590,3590,5667,5095,0]Ao[6662,13,3590,3590,7575,5095,0]Ao[6662,13,3315,3315,5115,5095,0]Ao[6662,13,3315,3315,7373,5095,0]Ao[6662,13,2887,2887,2481,5095,0]Ao[6662,13,2887,2887,7768,5095,0]Ao[6662,13,2887,2887,7747,5095,0]Ao[6662,13,2887,2887,5101,5095,0]Ao[6662,13,5417,5417,2482,5095,0]Ao[6662,13,2217,2217,2480,5095,0]Ao[6662,13,2217,2217,5649,5095,0]Am[6662,13,583,583,4216,5095,0]Am[6662,13,583,583,6749,5095,0]Am[6662,13,583,583,7392,5095,0]Am[6662,13,583,583,3777,5095,0]Am[6662,13,583,583,6733,5095,0]Am[6662,13,583,583,6735,5095,0]Am[6662,13,583,583,7218,5095,0]Ao[6662,13,7231,7231,7185,5095,0]Ao[6662,13,7231,7231,7180,5095,0]Ao[6662,13,7231,7231,7083,5095,0]Ao[6662,13,7231,7231,4265,5095,0]Ao[6662,13,7231,7231,8042,5095,0]Ao[6662,13,7231,7231,7088,5095,0]Ao[6662,13,7231,7231,5642,5095,0]Al[2008,13,2009,0,7079,5095,0]Al[2008,13,2009,0,7216,5095,0]Al[2008,13,2009,0,5143,5095,0]Al[2008,13,2009,0,7548,5095,0]Al[2008,13,2009,0,5158,5095,0]Al[2008,13,2009,0,5163,5095,0]Al[2008,13,2009,0,7389,5095,0]Al[2008,13,2009,0,4249,5095,0]Al[2008,13,2009,0,7883,5095,0]Al[2008,13,2009,0,4246,5095,0]Al[2008,13,2009,0,6759,5095,0]Al[2008,13,2009,0,5126,5095,0]Al[2008,13,3922,0,7381,5095,0]Al[2008,13,3922,0,7759,5095,0]Al[2008,13,3922,0,7105,5095,0]Ao[2008,13,3922,3922,7533,5095,0]Al[2008,13,3922,0,7760,5095,0]Al[2008,13,5394,0,7082,5095,0]Al[2008,13,5394,0,4264,5095,0]Al[2008,13,5394,0,7087,5095,0]Al[2008,13,5394,0,5640,5095,0]Ao[2008,13,5394,5394,7873,5095,0]Ao[2008,13,5394,5394,7364,5095,0]Ao[2008,13,5394,5394,7181,5095,0]Ao[2008,13,5394,5394,7931,5095,0]Am[2008,13,585,585,7077,5095,0]Am[2008,13,585,585,7936,5095,0]Ao[2008,13,2880,2880,5646,5095,0]Ao[2008,13,2880,2880,8013,5095,0]Ao[2008,13,2880,2880,7380,5095,0]Ao[2008,13,2880,2880,7985,5095,0]Ao[2008,13,2880,2880,7207,5095,0]Ao[2008,13,2880,2880,7764,5095,0]Am[2008,13,579,579,7075,5095,0]Am[2008,13,579,579,3775,5095,0]Ao[2008,13,7735,7735,7393,5095,0]Ao[2008,13,2016,2016,7204,5095,0]Ao[2008,13,2016,2016,7984,5095,0]Ao[2008,13,2016,2016,7366,5095,0]Ak[2008,13,584,0,6734,5095,0]Al[2008,13,4284,0,3802,5095,0]Al[2008,13,4284,0,2958,5095,0]Al[2008,13,4284,0,5086,5095,0]Al[2008,13,4284,0,4202,5095,0]Al[2008,13,4284,0,7104,5095,0]Al[2008,13,4284,0,7109,5095,0]Al[2008,13,4284,0,7835,5095,0]Al[2008,13,4284,0,5653,5095,0]Al[2008,13,4284,0,7949,5095,0]Al[2008,13,4284,0,7386,5095,0]Al[2008,13,4284,0,5148,5095,0]Al[2008,13,4284,0,5655,5095,0]Al[2008,13,4284,0,7385,5095,0]Al[2008,13,4284,0,5663,5095,0]Al[2008,13,4284,0,5673,5095,0]Al[2008,13,4284,0,7116,5095,0]Al[2008,13,4284,0,5648,5095,0]Ak[2008,13,4284,0,975,5095,0]Ao[2008,13,4284,7049,5654,5095,0]Ao[2008,13,4284,7049,7838,5095,0]Ao[2008,13,4284,7049,7891,5095,0]Al[2008,13,4284,0,7576,5095,0]Al[2008,13,4284,0,7946,5095,0]Al[2008,13,4284,0,2985,5095,0]Al[2008,13,4284,0,7986,5095,0]Al[2008,13,4284,0,2462,5095,0]Ao[2008,13,4284,7153,7099,5095,0]Ao[2008,13,4284,7153,4242,5095,0]Ao[2008,13,4284,6703,2978,5095,0]Al[2008,13,4284,0,2961,5095,0]Al[2008,13,4284,0,7108,5095,0]Al[2008,13,4284,0,4262,5095,0]Al[2008,13,4284,0,5612,5095,0]Al[2008,13,4284,0,5138,5095,0]Al[2008,13,4284,0,7532,5095,0]Al[2008,13,4284,0,3827,5095,0]Al[2008,13,4284,0,7067,5095,0]Ao[2008,13,4284,6716,7579,5095,0]Ao[2008,13,4284,5434,5601,5095,0]Ao[2008,13,4284,5434,7362,5095,0]Ao[2008,13,4284,6460,2924,5095,0]Ao[2008,13,4284,6460,4229,5095,0]Ao[2008,13,4284,6460,5661,5095,0]Ao[2008,13,4284,6460,7930,5095,0]Ao[2008,13,4284,6460,5588,5095,0]Ao[2008,13,4284,6460,5087,5095,0]Ao[2008,13,4284,6460,5090,5095,0]Ao[2008,13,4284,6460,7522,5095,0]Ao[2008,13,4284,6460,7224,5095,0]Ao[2008,13,4284,6460,5598,5095,0]Ao[2008,13,4284,6460,7871,5095,0]Ao[2008,13,4284,6460,7534,5095,0]Ao[2008,13,4284,6460,7564,5095,0]Ao[2008,13,4284,6460,8015,5095,0]Ao[2008,13,4284,6460,7356,5095,0]Ao[2008,13,4284,2867,7967,5095,0]Ao[2008,13,4284,2867,8009,5095,0]Ao[2008,13,4284,2218,8117,5095,0]Ao[2008,13,4284,2218,7944,5095,0]Ao[2008,13,4284,2218,7945,5095,0]Ao[2008,13,4284,2218,7111,5095,0]Ao[2008,13,4284,4284,3776,5095,0]Ao[2008,13,4284,4284,4223,5095,0]Ao[2008,13,4284,4284,7969,5095,0]Ao[2008,13,4284,4284,7071,5095,0]Ao[2008,13,4284,4284,5093,5095,0]Al[2008,13,4284,0,7530,5095,0]Ao[2008,13,4284,4284,7355,5095,0]Ao[2008,13,4284,4284,5154,5095,0]Al[2008,13,4284,0,7569,5095,0]Al[2008,13,4284,0,7863,5095,0]Al[2008,13,4284,0,7879,5095,0]Al[2008,13,4284,0,6744,5095,0]Al[2008,13,4284,0,8017,5095,0]Al[2008,13,4284,0,8097,5095,0]Al[2008,13,4284,0,6729,5095,0]Al[2008,13,4284,0,7894,5095,0]Al[2008,13,4284,0,5114,5095,0]Al[2008,13,4284,0,7524,5095,0]Al[2008,13,4284,0,7744,5095,0]Al[2008,13,4284,0,7765,5095,0]Al[2008,13,4284,0,7398,5095,0]Al[2008,13,4284,0,7892,5095,0]Al[2008,13,4284,0,7824,5095,0]Ak[2008,13,4284,0,993,5095,0]Ak[2008,13,4284,0,318,5095,0]Al[2008,13,4284,0,4254,5095,0]Am[2008,13,3939,3939,16,5095,0]Ao[2008,13,4473,4473,2972,5095,0]Ao[2008,13,4473,4473,7212,5095,0]Ao[2008,13,4473,4473,6722,5095,0]Ao[2008,13,4473,4473,6723,5095,0]Al[2008,13,7232,0,7184,5095,0]Al[2008,13,7232,0,7178,5095,0]Al[2008,13,7232,0,8041,5095,0]Ao[2008,13,6711,2215,7210,5095,0]Ao[2008,13,6711,6711,7745,5095,0]Ao[2008,13,6711,8022,7367,5095,0]Ao[6661,13,6662,6662,7749,5095,0]Ao[6661,13,6662,6662,7866,5095,0]Ao[6661,13,6662,6662,4209,5095,0]An[6661,13,6662,6662,327,5095,0]Ao[6661,13,6662,6662,6727,5095,0]Ao[6661,13,2905,2905,2501,5095,0]Ao[6661,13,2905,2905,6773,5095,0]Ao[6661,13,2905,2905,7396,5095,0]Al[6661,13,941,941,328,5095,0]Ao[7721,13,7722,2912,5175,5095,0]Ao[7721,13,2901,2901,4205,5095,0]Ao[7721,13,3533,3533,2934,5095,0]Ao[7721,13,3533,3533,6768,5095,0]Ao[7721,13,3533,3533,7205,5095,0]Ao[7721,13,3533,3533,7377,5095,0]Ao[7721,13,3533,3533,7519,5095,0]Am[7721,13,586,586,5111,5095,0]Am[7721,13,586,586,5110,5095,0]Am[7721,13,586,586,5604,5095,0]Am[7721,13,586,586,2941,5095,0]Ao[7721,13,1580,1580,5615,5095,0]Ao[7721,13,1580,7255,7570,5095,0]An[7721,13,1580,945,4208,5095,0]Ao[7721,13,1580,1580,5614,5095,0]Ao[7721,13,1580,1580,6743,5095,0]Ao[7721,13,3923,3923,3798,5095,0]Ao[7721,13,3591,3591,2974,5095,0]Ao[6662,13,6663,7148,6757,5095,0]Ao[6662,13,6663,5449,4247,5095,0]Ao[6662,13,6663,5449,6760,5095,0]Ao[6662,13,6663,5449,7571,5095,0]Ao[6662,13,3308,1027,5161,5095,0]Ao[6662,13,3308,1027,5152,5095,0]Ao[6662,13,3308,3308,7072,5095,0]Ao[6662,13,3308,3308,5104,5095,0]Ao[6662,13,3308,3308,7170,5095,0]Ao[6662,13,3308,3308,2932,5095,0]Ao[6662,13,3308,3308,5582,5095,0]Ao[6662,13,3308,3308,7064,5095,0]Ao[6662,13,3590,3921,3800,5095,0]Ao[6662,13,3590,3921,7106,5095,0]Ao[6662,13,3590,4475,7834,5095,0]Ao[6662,13,3590,3590,7112,5095,0]Ao[6662,13,3590,3590,6761,5095,0]Ao[6662,13,3590,3590,7060,5095,0]Ao[6662,13,3590,3590,2925,5095,0]Ao[6662,13,3590,3590,5650,5095,0]Ao[6662,13,3590,3590,5165,5095,0]Ao[6662,13,3590,3590,2951,5095,0]Ao[6662,13,3590,3590,7520,5095,0]Ao[6662,13,3590,3590,5580,5095,0]Ao[6662,13,3590,3590,2975,5095,0]Ao[6662,13,3590,3590,5667,5095,0]Ao[6662,13,3590,3590,7575,5095,0]Ao[6662,13,3315,3315,5115,5095,0]Ao[6662,13,3315,3315,7373,5095,0]Ao[6662,13,2887,2887,2481,5095,0]Ao[6662,13,2887,2887,7768,5095,0]Ao[6662,13,2887,2887,7747,5095,0]Ao[6662,13,2887,2887,5101,5095,0]Ao[6662,13,5417,5417,2482,5095,0]Ao[6662,13,2217,2217,2480,5095,0]Ao[6662,13,2217,2217,5649,5095,0]Am[6662,13,583,583,4216,5095,0]Am[6662,13,583,583,6749,5095,0]Am[6662,13,583,583,7392,5095,0]Am[6662,13,583,583,3777,5095,0]Am[6662,13,583,583,6733,5095,0]Am[6662,13,583,583,6735,5095,0]Am[6662,13,583,583,7218,5095,0]Ao[6662,13,7231,7231,7185,5095,0]Ao[6662,13,7231,7231,7180,5095,0]Ao[6662,13,7231,7231,7083,5095,0]Ao[6662,13,7231,7231,4265,5095,0]Ao[6662,13,7231,7231,8042,5095,0]Ao[6662,13,7231,7231,7088,5095,0]Ao[6662,13,7231,7231,5642,5095,0]Al[2008,13,2009,0,7079,5610,0]Al[2008,13,2009,0,7079,5611,0]1Al[2008,13,2009,0,7216,5610,0]Al[2008,13,2009,0,7216,5611,0]1Al[2008,13,2009,0,5143,5611,0]Al[2008,13,2009,0,5143,5610,0]0Al[2008,13,2009,0,5163,5610,0]Al[2008,13,2009,0,5163,5611,0]1Al[2008,13,2009,0,4249,5610,0]0Al[2008,13,2009,0,4249,5611,0]Al[2008,13,2009,0,4246,5611,0]Al[2008,13,2009,0,4246,5610,0]0Al[2008,13,2009,0,6759,5611,0]Al[2008,13,2009,0,6759,5610,0]0Al[2008,13,2009,0,5126,5611,0]Al[2008,13,2009,0,5126,5610,0]0Al[2008,13,5394,0,7082,5611,0]Al[2008,13,5394,0,7082,5610,0]0Al[2008,13,5394,0,4264,5610,0]Al[2008,13,5394,0,4264,5611,0]1Al[2008,13,5394,0,7087,5610,0]0Al[2008,13,5394,0,7087,5611,0]Ao[2008,13,5394,5394,7181,5610,0]0Ao[2008,13,5394,5394,7181,5611,0]Ao[2008,13,2016,2016,7366,5610,0]Ao[2008,13,2016,2016,7366,5611,0]1Al[2008,13,4284,0,7835,5610,0]Al[2008,13,4284,0,7835,5611,0]1Al[2008,13,4284,0,7386,5610,0]Al[2008,13,4284,0,7386,5611,0]1Al[2008,13,4284,0,5148,5610,0]Al[2008,13,4284,0,5148,5611,0]1Al[2008,13,4284,0,5655,5610,0]Al[2008,13,4284,0,5655,5611,0]1Al[2008,13,4284,0,7385,5610,0]Al[2008,13,4284,0,7385,5611,0]1Al[2008,13,4284,0,5673,5610,0]0Al[2008,13,4284,0,5673,5611,0]Al[2008,13,4284,0,7116,5610,0]Al[2008,13,4284,0,7116,5611,0]1Al[2008,13,4284,0,7946,5610,0]0Al[2008,13,4284,0,7946,5611,0]Al[2008,13,4284,0,2985,5610,0]Al[2008,13,4284,0,2985,5611,0]1Al[2008,13,4284,0,7986,5611,0]Al[2008,13,4284,0,7986,5610,0]0Al[2008,13,4284,0,2462,5610,0]0Al[2008,13,4284,0,2462,5611,0]Ao[2008,13,4284,7153,7099,5611,0]Ao[2008,13,4284,7153,7099,5610,0]0Ao[2008,13,4284,7153,4242,5611,0]Ao[2008,13,4284,7153,4242,5610,0]0Ao[2008,13,4284,6703,2978,5610,0]Ao[2008,13,4284,6703,2978,5611,0]1Al[2008,13,4284,0,2961,5610,0]Al[2008,13,4284,0,2961,5611,0]1Al[2008,13,4284,0,5138,5610,0]Al[2008,13,4284,0,5138,5611,0]1Al[2008,13,4284,0,3827,5611,0]Al[2008,13,4284,0,3827,5610,0]0Al[2008,13,4284,0,7067,5610,0]Al[2008,13,4284,0,7067,5611,0]1Ao[2008,13,4284,5434,5601,5610,0]Ao[2008,13,4284,5434,5601,5611,0]1Ao[2008,13,4284,5434,7362,5610,0]0Ao[2008,13,4284,5434,7362,5611,0]Al[2008,13,4284,0,7530,5611,0]Al[2008,13,4284,0,7530,5610,0]0Ao[2008,13,4284,4284,5154,5610,0]Ao[2008,13,4284,4284,5154,5611,0]1Al[2008,13,4284,0,6744,5610,0]0Al[2008,13,4284,0,6744,5611,0]Al[2008,13,4284,0,8097,5610,0]Al[2008,13,4284,0,8097,5611,0]1Al[2008,13,4284,0,5114,5610,0]Al[2008,13,4284,0,5114,5611,0]1Al[2008,13,4284,0,7524,5610,0]0Al[2008,13,4284,0,7524,5611,0]Al[2008,13,4284,0,7744,5610,0]0Al[2008,13,4284,0,7744,5611,0]Al[2008,13,4284,0,7765,5610,0]Al[2008,13,4284,0,7765,5611,0]1Al[2008,13,4284,0,7398,5610,0]0Al[2008,13,4284,0,7398,5611,0]Al[2008,13,4284,0,7892,5611,0]Al[2008,13,4284,0,7892,5610,0]0Ak[2008,13,4284,0,993,5611,0]Ak[2008,13,4284,0,993,5610,0]0Ak[2008,13,4284,0,318,5611,0]Ak[2008,13,4284,0,318,5610,0]0Al[2008,13,4284,0,4254,5610,0]Al[2008,13,4284,0,4254,5611,0]1An[7721,13,1580,945,4208,5610,0]An[7721,13,1580,945,4208,5611,0]1Ao[6662,13,6663,5449,4247,5610,0]Ao[6662,13,6663,5449,4247,5611,0]1Ao[6662,13,6663,5449,6760,5610,0]0Ao[6662,13,6663,5449,6760,5611,0]Ao[6662,13,6663,5449,7571,5610,0]0Ao[6662,13,6663,5449,7571,5611,0]Ao[6662,13,3590,3590,2925,5610,0]Ao[6662,13,3590,3590,2925,5611,0]1Ao[6662,13,3315,3315,5115,5610,0]Ao[6662,13,3315,3315,5115,5611,0]1Ao[6662,13,2887,2887,7768,5611,0]Ao[6662,13,2887,2887,7768,5610,0]0Ao[6662,13,2887,2887,7747,5611,0]Ao[6662,13,2887,2887,7747,5610,0]0Ao[6662,13,2887,2887,5101,5610,0]Ao[6662,13,2887,2887,5101,5611,0]1Am[6662,13,583,583,6733,5611,0]Am[6662,13,583,583,6733,5610,0]0Ao[6662,13,7231,7231,7083,5610,0]0Ao[6662,13,7231,7231,7083,5611,0]Ao[6662,13,7231,7231,4265,5610,0]0Ao[6662,13,7231,7231,4265,5611,0]Ao[6662,13,7231,7231,7088,5610,0]Ao[6662,13,7231,7231,7088,5611,0]1Ai[2008,14,4284,0,7524,0,0]Ai[2008,14,4284,0,7744,0,0]Ai[2008,14,8008,0,2965,0,0]2Ai[6662,14,2471,0,7754,0,0]Ai[6662,14,2472,0,7947,0,0]Ai[6662,14,2472,0,7972,0,0]Al[2008,13,4473,4473,6722,0,0]Ai[2008,13,2009,0,5143,0,0]Ai[2008,13,2009,0,5158,0,0]Ai[2008,13,2009,0,5163,0,0]Ak[5429,13,5430,886,5144,0,0]Ak[5429,13,5430,886,5159,0,0]Ak[5429,13,5430,886,5164,0,0]Ai[2008,13,2009,0,7079,0,0]Ai[2008,13,5394,0,7087,0,0]Al[5429,13,5430,7230,7080,0,0]Al[6662,13,7231,7231,7088,0,0]Al[7721,13,1580,1580,5615,0,0]Al[6662,13,3590,3590,2975,0,0]Al[2008,13,4284,7049,5654,0,0]Ai[2008,13,4284,0,2985,0,0]Ab[6661,3,0,0,0,0,0]Ab[6662,3,0,0,0,0,0]Al[6662,13,3590,3590,7060,0,0]Aj[7721,13,586,586,5111,0,0]Al[6662,13,3308,3308,7064,0,0]Ah[2008,13,584,0,6734,0,0]Aj[6662,12,583,583,4253,0,0]Aj[6662,13,583,583,6735,0,0]Ai[2008,14,4284,0,5138,0,0]Al[2008,14,6711,8022,7367,0,0]Al[2008,14,3922,3922,7533,0,0]Aj[2008,13,579,579,3775,0,0]Ai[2008,14,5637,0,5132,0,0]0Ai[6662,14,5636,0,5131,0,0]Ak[6661,14,6662,6662,327,0,0]Al[2008,13,4284,2218,8117,0,0]Ai[2008,14,3922,0,7381,0,0]Al[7721,13,7722,2912,5175,0,0]An[6662,13,3308,3308,2932,994,0]An[6662,13,3308,3308,5582,994,0]Al[2008,13,4284,0,5663,5578,0]2121Cm[2008,13,4284,0,5663,5578,0,\"impl-AsyncWrite-for-SendStream\"]Bk[2008,13,4284,0,5663,0,0,\"impl-SendStream\"]Al[2008,13,2016,2016,7984,0,0]Ai[2008,13,4284,0,5663,0,0]:Al[6661,14,2905,2905,2501,0,0]Ai[2008,13,2009,0,7079,0,0]Al[5429,13,5430,7230,7080,0,0]3Ai[2008,15,4284,0,7530,0,0]Ai[2008,15,4284,0,7765,0,0]Ae[6662,5,3308,0,0,0,0]Ai[2008,15,5394,0,5640,0,0]0Ah[2008,6,7232,7231,0,0,0]Al[6662,15,7231,7231,5642,0,0]Ae[6662,6,7231,0,0,0,0]Ae[2008,5,5394,0,0,0,0]31Ai[2008,10,4284,2867,0,0,0]Ai[2008,10,7232,7231,0,0,0]Af[6662,10,7231,0,0,0,0]Ai[2008,15,4284,0,7385,0,0]Al[6662,15,2887,2887,2481,0,0]Ai[2008,15,4284,0,5114,0,0]Ai[2008,19,4284,0,7892,0,0]Ai[2008,18,7232,7231,0,0,0]Af[6662,18,7231,0,0,0,0]Af[2008,10,5394,0,0,0,0]Ai[2008,15,7232,0,7178,0,0]Al[6662,15,7231,7231,7180,0,0]Ai[2008,15,4284,0,7530,0,0]77Ae[2008,5,2016,0,0,0,0]Ae[7721,5,3533,0,0,0,0]9Ae[2008,5,2880,0,0,0,0]Al[2008,15,4284,5434,7362,0,0]Ah[2008,5,6711,2215,0,0,0]Ai[2008,12,4284,0,5600,0,0]??Ai[2008,14,3922,0,7381,0,0]Al[2008,13,4284,6460,5598,0,0]Ai[2008,13,4284,0,5653,0,0]Al[2008,13,4284,0,5663,5578,0]Al[6662,13,6663,7148,6757,0,0]Al[2008,13,4284,2218,8117,0,0]4Ai[2008,14,2009,0,5126,0,0]51Am[7721,13,586,586,2941,7572,0]Al[6662,14,3590,3590,5650,0,0]Al[6662,14,3590,3590,5165,0,0]Ae[6662,7,3972,0,0,0,0]Al[2008,13,4284,2218,7945,0,0]Ai[2008,13,5394,0,7082,0,0]Al[6662,13,7231,7231,7083,0,0]Al[6662,13,2887,2887,5101,0,0]Ai[2008,13,2009,0,4246,0,0]Al[6662,13,6663,5449,4247,0,0]Ao[6662,13,3308,3308,2932,5167,0]Ao[6662,13,3308,3308,7064,5167,0]Al[2008,13,2009,0,5143,7772,0]Al[2008,13,2009,0,7548,7772,0]Al[2008,13,2009,0,5163,7772,0]Al[2008,13,2009,0,7389,7772,0]Al[2008,13,2009,0,4249,7772,0]Al[2008,13,2009,0,7883,7772,0]Al[2008,13,2009,0,4246,7772,0]Al[2008,13,2009,0,6759,7772,0]Al[2008,13,2009,0,5126,7772,0]Al[2008,13,5394,0,4264,7772,0]Al[2008,13,5394,0,5640,7772,0]Ao[2008,13,5394,5394,7873,7772,0]Ao[2008,13,5394,5394,7364,7772,0]Ao[2008,13,2880,2880,5646,7772,0]Al[2008,13,4284,0,7835,7772,0]Al[2008,13,4284,0,7386,7772,0]Al[2008,13,4284,0,5148,7772,0]Al[2008,13,4284,0,5655,7772,0]Al[2008,13,4284,0,7385,7772,0]Al[2008,13,4284,0,5673,7772,0]Al[2008,13,4284,0,7116,7772,0]Al[2008,13,4284,0,2985,7772,0]Al[2008,13,4284,0,7986,7772,0]Ao[2008,13,4284,6703,2978,7772,0]Al[2008,13,4284,0,2961,7772,0]Al[2008,13,4284,0,7067,7772,0]Ao[2008,13,4284,5434,7362,7772,0]Ao[2008,13,4284,6460,5661,7772,0]Ao[2008,13,4284,6460,7930,7772,0]Ao[2008,13,4284,6460,5090,7772,0]Ao[2008,13,4284,6460,7522,7772,0]Ao[2008,13,4284,6460,8015,7772,0]Ao[2008,13,4284,4284,7969,7772,0]Ao[2008,13,4284,4284,7071,7772,0]Ao[2008,13,4284,4284,5093,7772,0]Al[2008,13,4284,0,7530,7772,0]Al[2008,13,4284,0,5114,7772,0]Al[2008,13,4284,0,7524,7772,0]Al[2008,13,4284,0,7744,7772,0]Al[2008,13,4284,0,7765,7772,0]Al[2008,13,4284,0,7398,7772,0]Al[2008,13,4284,0,7892,7772,0]Ak[2008,13,4284,0,318,7772,0]Al[2008,13,4284,0,4254,7772,0]Ao[2008,13,4473,4473,6722,7772,0]Al[2008,13,7232,0,7184,7772,0]Al[2008,13,7232,0,7178,7772,0]Al[2008,13,7232,0,8041,7772,0]An[7721,13,1580,945,4208,7772,0]Ao[6662,13,6663,5449,4247,7772,0]Ao[6662,13,6663,5449,6760,7772,0]Ao[6662,13,3308,1027,5161,7772,0]Ao[6662,13,3308,1027,5152,7772,0]Ao[6662,13,3308,3308,7072,7772,0]Ao[6662,13,3308,3308,5104,7772,0]Ao[6662,13,3590,3590,5667,7772,0]Ao[6662,13,3590,3590,7575,7772,0]Ao[6662,13,3315,3315,7373,7772,0]Ao[6662,13,2887,2887,2481,7772,0]Ao[6662,13,5417,5417,2482,7772,0]Ao[6662,13,2217,2217,2480,7772,0]Am[6662,13,583,583,4216,7772,0]Am[6662,13,583,583,6749,7772,0]Am[6662,13,583,583,7392,7772,0]Am[6662,13,583,583,7218,7772,0]Ao[6662,13,7231,7231,7185,7772,0]Ao[6662,13,7231,7231,7180,7772,0]Ao[6662,13,7231,7231,4265,7772,0]Ao[6662,13,7231,7231,8042,7772,0]Ao[6662,13,7231,7231,5642,7772,0]Ai[2008,13,5394,0,7082,0,0]Ai[2008,13,5394,0,7087,0,0]Al[6662,13,7231,7231,7083,0,0]Al[6662,13,7231,7231,7088,0,0]Ai[2008,15,4284,0,5114,0,0]0Ai[2008,15,5394,0,5640,0,0]0Al[6662,15,7231,7231,5642,0,0]Ae[2008,5,4284,0,0,0,0]Ah[2008,5,4284,6460,0,0,0]Ai[2008,15,4284,0,7835,0,0]Ai[2008,15,4284,0,5148,0,0]Ai[2008,15,4284,0,5655,0,0]Ai[2008,15,4284,0,5673,0,0]Ai[2008,15,4284,0,7116,0,0]Ah[2008,6,4284,5434,0,0,0]Ae[2008,6,5394,0,0,0,0]Ae[2008,6,2016,0,0,0,0]Ah[2008,5,6711,8022,0,0,0]Al[6662,15,2887,2887,2481,0,0]Al[6662,15,5417,5417,2482,0,0]Ae[6662,6,3315,0,0,0,0]Ai[2008,19,4284,0,7892,0,0]Ae[7721,5,3533,0,0,0,0]Ai[2008,15,4284,0,5114,0,0]2Ae[2008,5,2880,0,0,0,0]Ae[2008,5,3922,0,0,0,0]22Ah[2008,6,4284,7047,0,0,0]0Ag[2008,5,2009,886,0,0,0]Ag[5429,5,5430,886,0,0,0]Ad[6662,5,583,0,0,0,0]Ae[2008,5,7735,0,0,0,0]Al[6662,15,3590,3590,5667,0,0]Ae[6661,5,2905,0,0,0,0]Ai[2008,15,4284,0,7530,0,0]Ae[2008,5,4284,0,0,0,0]Ai[2008,14,3922,0,7759,0,0]Ai[2008,12,4284,0,7830,0,0]Aj[7721,13,586,586,5604,0,0]Al[6661,14,2905,2905,7396,0,0]Al[2008,13,4284,2867,7186,0,0]0Ai[2008,14,2009,0,5126,0,0]Ai[2008,13,5394,0,7082,0,0]Al[6662,13,7231,7231,7083,0,0]Ae[6661,7,6662,0,0,0,0]Ae[6661,7,2008,0,0,0,0]Ae[6661,7,2884,0,0,0,0]Ai[6662,14,2472,0,7947,0,0]Ai[2008,12,4284,0,6758,0,0]Al[2008,13,4284,0,7569,6758,0]Am[7721,13,586,586,5604,7387,0]Al[2008,13,4284,6460,5588,0,0]Al[2008,13,4284,6460,5087,0,0]Al[2008,13,4284,6460,5598,0,0]Ai[2008,14,4284,0,5612,0,0]Ao[6661,13,6662,6662,4209,5670,0]Al[6662,14,3590,3590,6761,0,0]Ai[2008,12,4284,0,5600,0,0]Al[2008,12,5394,5394,7196,0,0]Ao[2008,13,5394,5394,7931,7196,0]Am[2008,13,585,585,7077,7196,0]Am[2008,13,585,585,7936,7196,0]Ao[2008,13,2880,2880,8013,7196,0]Ao[2008,13,2880,2880,7380,7196,0]Ao[2008,13,2880,2880,7985,7196,0]Ao[2008,13,2880,2880,7207,7196,0]Am[2008,13,579,579,7075,7196,0]Am[2008,13,579,579,3775,7196,0]Ao[2008,13,7735,7735,7393,7196,0]Ao[2008,13,2016,2016,7204,7196,0]Ao[2008,13,2016,2016,7984,7196,0]Ai[2008,13,4284,0,5653,0,0]Al[2008,13,2009,0,7548,5668,0]Al[2008,13,2009,0,7389,5668,0]Al[2008,13,2009,0,7883,5668,0]Al[2008,13,5394,0,5640,5668,0]Ao[2008,13,5394,5394,7873,5668,0]Ao[2008,13,5394,5394,7364,5668,0]Ao[2008,13,2880,2880,5646,5668,0]Ao[2008,13,4284,6460,5661,5668,0]Ao[2008,13,4284,6460,7930,5668,0]Ao[2008,13,4284,6460,5090,5668,0]Ao[2008,13,4284,6460,7522,5668,0]Ao[2008,13,4284,6460,8015,5668,0]Ao[2008,13,4284,4284,7969,5668,0]Ao[2008,13,4284,4284,7071,5668,0]Ao[2008,13,4284,4284,5093,5668,0]Ao[2008,13,4473,4473,6722,5668,0]Al[2008,13,7232,0,7184,5668,0]Al[2008,13,7232,0,7178,5668,0]Al[2008,13,7232,0,8041,5668,0]An[5429,13,5430,886,7549,5668,0]An[5429,13,5430,886,7390,5668,0]Ao[5429,13,5430,5452,7884,5668,0]Ao[6662,13,3308,1027,5161,5668,0]Ao[6662,13,3308,1027,5152,5668,0]Ao[6662,13,3308,3308,7072,5668,0]Ao[6662,13,3308,3308,5104,5668,0]Ao[6662,13,3590,3590,5667,5668,0]Ao[6662,13,3590,3590,7575,5668,0]Ao[6662,13,3315,3315,7373,5668,0]Ao[6662,13,2887,2887,2481,5668,0]Ao[6662,13,5417,5417,2482,5668,0]Ao[6662,13,2217,2217,2480,5668,0]Am[6662,13,583,583,4216,5668,0]Am[6662,13,583,583,6749,5668,0]Am[6662,13,583,583,7392,5668,0]Ao[6662,13,7231,7231,7185,5668,0]Ao[6662,13,7231,7231,7180,5668,0]Ao[6662,13,7231,7231,8042,5668,0]Ao[6662,13,7231,7231,5642,5668,0]Ai[2008,13,4284,0,7879,0,0]Al[2008,13,4284,4284,4223,0,0]Ai[2008,14,4284,0,5612,0,0]Ai[2008,14,3922,0,7381,0,0]Al[2008,13,4284,4284,3776,0,0]Ai[6662,14,5103,0,8105,0,0]Al[2008,13,4284,2218,8117,0,0]Al[6662,14,3590,3590,5165,0,0]Ak[6661,14,6662,6662,327,0,0]2Ai[2008,13,4284,0,5653,0,0]Ai[2008,13,4284,0,7949,0,0]Ai[2008,14,3922,0,7759,0,0]00Al[2008,13,4284,6460,4229,0,0]:Aj[7721,13,586,586,5111,0,0]Al[7721,13,1580,1580,5615,0,0]Ai[2008,13,4284,0,2985,0,0]Ai[2008,13,4284,0,2961,0,0]0Ae[6661,7,2905,0,0,0,0];Ai[2008,13,5394,0,7087,0,0]Al[6662,13,7231,7231,7088,0,0]Al[6661,14,2905,2905,2501,0,0]Ai[2008,14,3922,0,7105,0,0]Al[6662,14,3590,3921,3800,0,0]Ai[2008,14,3922,0,7381,0,0]Ai[2008,13,2009,0,7079,0,0]Ai[2008,13,5394,0,7082,0,0]7Al[5429,13,5430,7230,7080,0,0]Al[6662,13,7231,7231,7083,0,0]82908Al[6662,15,3590,3590,5667,0,0]0Ae[7721,6,3533,0,0,0,0]Ae[6662,5,3590,0,0,0,0]Ah[2008,6,4284,6460,0,0,0]Ai[2008,15,4284,0,5114,0,0]Ah[2008,5,4284,2865,0,0,0]Al[2008,15,4284,6460,5090,0,0]Al[2008,15,4284,6460,7522,0,0]Ah[2008,6,4284,6461,0,0,0]Ai[2008,10,4284,6460,0,0,0]Ah[2008,5,4284,2904,0,0,0]Ae[2008,5,3922,0,0,0,0]Ah[2008,5,4284,6460,0,0,0]Al[2008,15,2880,2880,5646,0,0]Al[6662,15,3308,3308,7072,0,0]Aj[6662,15,583,583,4216,0,0]Ai[2008,15,7232,0,7184,0,0]Al[6662,15,7231,7231,7185,0,0]Ag[2008,6,2009,886,0,0,0]Ag[5429,6,5430,886,0,0,0]>Al[6662,15,3315,3315,5115,0,0]1Ah[2008,6,4284,7049,0,0,0]Ae[2008,5,4284,0,0,0,0]Ai[2008,15,4284,0,7765,0,0]Ah[2008,5,4284,3536,0,0,0]Ai[2008,14,3922,0,7759,0,0]Ao[6661,13,6662,6662,4209,7354,0]An[6661,13,6662,6662,327,7354,0]Al[6661,13,941,941,328,7354,0]Al[2008,13,4284,2218,8117,0,0]Ae[2008,7,4284,0,0,0,0]Al[7721,14,3923,3923,3798,0,0]0Al[2008,13,7735,7735,7393,0,0]Ai[2008,13,4284,0,2985,0,0]Ai[2008,13,5394,0,7087,0,0]Al[2008,13,5394,5394,7181,0,0]Al[6662,13,7231,7231,7088,0,0]Al[6662,13,3308,3308,7170,0,0]Al[6662,14,3590,3590,6761,0,0]Ai[2008,14,3922,0,7381,0,0]Aj[2008,13,579,579,3775,0,0]Ai[2008,14,3922,0,7105,0,0]Al[6662,14,3590,3921,3800,0,0]10Ai[2008,14,4284,0,5612,0,0]Al[7721,14,3923,3923,3798,0,0]Ai[2008,13,5394,0,7087,0,0]Al[6662,13,7231,7231,7088,0,0]Al[7721,13,7722,2912,5175,0,0]:Al[6662,15,5417,5417,2482,0,0]Ai[2008,18,4276,4275,0,0,0]Af[6662,18,4275,0,0,0,0]Al[2008,15,4473,4473,6722,0,0]Af[2008,18,2880,0,0,0,0]Al[6662,15,3308,3308,7072,0,0]Ai[2008,13,4284,0,7863,0,0]Al[6662,13,3308,3308,7170,0,0]Am[6661,13,6662,6662,327,962,0]Ak[6661,13,941,941,328,962,0]Ao[6661,13,6662,6662,4209,7374,0]An[6661,13,6662,6662,327,7374,0]Al[6661,13,941,941,328,7374,0]Al[2008,13,4284,4284,3776,0,0]Ai[2008,19,4284,0,7892,0,0]Af[2008,18,4284,0,0,0,0]Al[2008,15,4284,6460,7522,0,0]Al[2008,15,4284,4284,7969,0,0]Ai[2008,14,3922,0,7381,0,0]Ai[2008,13,5394,0,7087,0,0]Al[6662,13,7231,7231,7088,0,0]Aj[2008,13,579,579,3775,0,0]Al[2008,13,4284,6460,4229,0,0]Al[2008,13,4284,2218,7945,0,0]0Al[7721,13,3533,3533,2934,0,0]Ai[2008,14,3922,0,7759,0,0];Ah[2008,5,4284,3536,0,0,0]Ah[2008,8,4284,6460,0,0,0]=0Al[6662,15,3308,3308,5104,0,0]0Af[6662,18,2217,0,0,0,0]?Al[2008,13,4284,2218,8117,0,0]Al[7721,14,3923,3923,3798,0,0]Al[6662,13,3308,3308,7170,0,0]Ai[2008,14,4284,0,5612,0,0]Al[6662,15,3315,3315,5115,0,0]Af[6662,18,4275,0,0,0,0]Af[2008,18,2880,0,0,0,0]0Ah[2008,5,4284,2218,0,0,0]3Ak[6292,15,3119,965,4862,0,0]Ae[6291,5,2740,0,0,0,0]Al[1885,15,4050,6100,4806,0,0]Al[1885,13,1886,0,6691,3986,0]Al[1885,13,1886,0,6819,3986,0]Al[1885,13,1886,0,4853,3986,0]Al[1885,13,1886,0,4868,3986,0]Al[1885,13,1886,0,4873,3986,0]Al[1885,13,1886,0,4016,3986,0]Al[1885,13,1886,0,4013,3986,0]Al[1885,13,1886,0,6386,3986,0]Ao[1885,13,3705,3705,7121,3986,0]Al[1885,13,5089,0,6694,3986,0]Al[1885,13,5089,0,4030,3986,0]Al[1885,13,5089,0,6699,3986,0]Ao[1885,13,5089,5089,6962,3986,0]Ao[1885,13,5089,5089,6789,3986,0]Ao[1885,13,5089,5089,7497,3986,0]Ao[1885,13,2716,2716,6977,3986,0]Ao[1885,13,2716,2716,6811,3986,0]Ao[1885,13,2716,2716,7334,3986,0]Am[1885,13,540,540,6687,3986,0]Ao[1885,13,7309,7309,6989,3986,0]Ao[1885,13,1894,1894,6809,3986,0]Ao[1885,13,1894,1894,6964,3986,0]Ak[1885,13,544,0,6363,3986,0]Al[1885,13,4050,0,7550,3986,0]Al[1885,13,4050,0,7403,3986,0]Al[1885,13,4050,0,6981,3986,0]Al[1885,13,4050,0,4858,3986,0]Al[1885,13,4050,0,5350,3986,0]Al[1885,13,4050,0,6980,3986,0]Al[1885,13,4050,0,5366,3986,0]Al[1885,13,4050,0,6724,3986,0]Al[1885,13,4050,0,2813,3986,0]Al[1885,13,4050,0,7549,3986,0]Ao[1885,13,4050,6762,6710,3986,0]Ao[1885,13,4050,6762,4009,3986,0]Ao[1885,13,4050,6334,2807,3986,0]Al[1885,13,4050,0,4028,3986,0]Al[1885,13,4050,0,5310,3986,0]Al[1885,13,4050,0,4848,3986,0]Al[1885,13,4050,0,7120,3986,0]Al[1885,13,4050,0,3619,3986,0]Al[1885,13,4050,0,6679,3986,0]Ao[1885,13,4050,6346,7163,3986,0]Ao[1885,13,4050,5128,5299,3986,0]Ao[1885,13,4050,5128,6960,3986,0]Ao[1885,13,4050,6100,7496,3986,0]Ao[1885,13,4050,6100,7111,3986,0]Ao[1885,13,4050,6100,6827,3986,0]Ao[1885,13,4050,6100,5296,3986,0]Ao[1885,13,4050,6100,7436,3986,0]Ao[1885,13,4050,6100,7122,3986,0]Ao[1885,13,4050,6100,7151,3986,0]Ao[1885,13,4050,6100,7582,3986,0]Ao[1885,13,4050,6100,6954,3986,0]Ao[1885,13,4050,2091,7508,3986,0]Al[1885,13,4050,0,7118,3986,0]Ao[1885,13,4050,4050,3991,3986,0]Al[1885,13,4050,0,7427,3986,0]Al[1885,13,4050,0,7445,3986,0]Al[1885,13,4050,0,6373,3986,0]Al[1885,13,4050,0,6719,3986,0]Ao[1885,13,4050,4050,6953,3986,0]Ao[1885,13,4050,4050,4864,3986,0]Al[1885,13,4050,0,7112,3986,0]Al[1885,13,4050,0,7317,3986,0]Al[1885,13,4050,0,6994,3986,0]Al[1885,13,4050,0,7454,3986,0]Ak[1885,13,4050,0,933,3986,0]Al[1885,13,4050,0,4021,3986,0]Am[1885,13,3724,3724,15,3986,0]Ao[1885,13,6303,3364,2345,3986,0]Ao[1885,13,6303,3381,2796,3986,0]Ao[1885,13,6303,3381,6982,3986,0]Ao[1885,13,6303,5151,5345,3986,0]An[1885,13,6303,831,3592,3986,0]Ao[1885,13,4229,4229,2801,3986,0]Ao[1885,13,4229,4229,6353,3986,0]Ao[6291,13,6292,6292,3978,3986,0]An[6291,13,6292,6292,305,3986,0]Al[6291,13,882,882,306,3986,0]Ao[7296,13,7297,2748,4885,3986,0]Ao[7296,13,2737,2737,3975,3986,0]Ao[7296,13,3329,3329,6393,3986,0]Am[7296,13,547,547,4825,3986,0]Am[7296,13,547,547,5302,3986,0]Am[7296,13,547,547,2770,3986,0]Ao[7296,13,1485,6858,7155,3986,0]An[7296,13,1485,886,3977,3986,0]Ao[7296,13,1485,1485,5312,3986,0]Ao[7296,13,1485,1485,6372,3986,0]Ao[6292,13,6293,5144,4014,3986,0]Ao[6292,13,6293,5144,6387,3986,0]Ao[6292,13,6293,5144,7156,3986,0]Ao[6292,13,3119,3119,6778,3986,0]Ao[6292,13,3382,3707,6715,3986,0]Ao[6292,13,3382,3382,2757,3986,0]Ao[6292,13,3382,3382,7109,3986,0]Ao[6292,13,3126,3126,4828,3986,0]Ao[6292,13,2723,2723,7337,3986,0]Ao[6292,13,2723,2723,7320,3986,0]Ao[6292,13,2723,2723,4817,3986,0]Ao[6292,13,2092,2092,5344,3986,0]Am[6292,13,546,546,3567,3986,0]Am[6292,13,546,546,6362,3986,0]Am[6292,13,546,546,6364,3986,0]Am[6292,13,546,546,6821,3986,0]Ao[6292,13,6836,6836,6695,3986,0]Ao[6292,13,6836,6836,4031,3986,0]Ao[6292,13,6836,6836,6700,3986,0]Al[1885,13,4050,6100,3997,0,0]Ai[1885,14,4050,0,5310,0,0]Al[1885,13,3705,0,6978,6702,0]Al[1885,13,3705,0,7331,6702,0]Al[1885,13,3705,0,6714,6702,0]Ao[1885,13,6303,3706,3586,6702,0]Ao[7296,13,3708,3708,3587,6702,0]Ao[6292,13,3382,3707,3589,6702,0]Ah[1885,13,544,0,6363,0,0]Aj[6292,12,546,546,4020,0,0]Aj[6292,13,546,546,6364,0,0]Al[6292,13,2092,2092,5344,0,0]Ai[1885,14,4050,0,4848,0,0]Aj[7296,14,547,547,4825,0,0]0Al[1885,13,1886,0,6691,6361,0]Al[1885,13,1886,0,6819,6361,0]Al[1885,13,1886,0,4853,6361,0]Al[1885,13,1886,0,4868,6361,0]Al[1885,13,1886,0,4873,6361,0]Al[1885,13,1886,0,4016,6361,0]Al[1885,13,1886,0,6386,6361,0]Al[1885,13,3705,0,6978,6361,0]Al[1885,13,3705,0,7331,6361,0]Ao[1885,13,3705,3705,7121,6361,0]Ao[1885,13,4050,6334,2807,6361,0]Ao[1885,13,6303,3706,3586,6361,0]Ao[1885,13,6303,3381,2796,6361,0]Ao[1885,13,6303,3381,6982,6361,0]Ao[5123,13,5124,6834,6692,6361,0]Ao[5123,13,5124,6834,6820,6361,0]An[5123,13,5124,833,4854,6361,0]An[5123,13,5124,833,4869,6361,0]An[5123,13,5124,833,4874,6361,0]Ao[5123,13,5124,5147,4017,6361,0]Ao[7296,13,3329,3329,2764,6361,0]Ao[7296,13,3329,3329,6393,6361,0]Ao[7296,13,3329,3329,6810,6361,0]Ao[7296,13,3329,3329,6975,6361,0]Ao[7296,13,3329,3329,7108,6361,0]Am[7296,13,547,547,4825,6361,0]Ao[7296,13,1485,6858,7155,6361,0]An[7296,13,1485,886,3977,6361,0]Ao[7296,13,1485,1485,5312,6361,0]Ao[7296,13,1485,1485,6372,6361,0]Ao[6292,13,6293,5144,6387,6361,0]Ao[6292,13,6293,5144,7156,6361,0]Ai[1885,14,3705,0,6714,0,0]Al[6292,14,3382,3707,3589,0,0]Al[7296,14,2737,2737,3975,0,0]Al[1885,13,5089,5089,6789,0,0]Ai[1885,14,5089,0,6699,0,0]Ai[1885,14,6963,0,3580,0,0]1Al[6292,14,6836,6836,6700,0,0]Al[1885,13,3705,0,6978,4001,0]Al[1885,13,3705,0,7331,4001,0]Al[1885,13,3705,0,6714,4001,0]Ao[1885,13,6303,3706,3586,4001,0]Ao[7296,13,3708,3708,3587,4001,0]Ao[6292,13,3382,3707,3589,4001,0]Al[1885,13,1886,0,7136,5362,0]Al[1885,13,1886,0,6985,5362,0]Al[1885,13,1886,0,7448,5362,0]Al[1885,13,5089,0,5337,5362,0]Ao[1885,13,5089,5089,7439,5362,0]Ao[1885,13,5089,5089,6962,5362,0]Ao[1885,13,2716,2716,5342,5362,0]Ao[1885,13,4050,6100,7496,5362,0]Ao[1885,13,4050,6100,4806,5362,0]Ao[1885,13,4050,6100,7111,5362,0]Ao[1885,13,4050,6100,7582,5362,0]Ao[1885,13,4050,4050,7533,5362,0]Ao[1885,13,4050,4050,6683,5362,0]Ao[1885,13,4050,4050,4809,5362,0]Ao[1885,13,4229,4229,6352,5362,0]Al[1885,13,6835,0,6792,5362,0]Al[1885,13,6835,0,6786,5362,0]Al[1885,13,6835,0,7611,5362,0]An[5123,13,5124,833,7137,5362,0]An[5123,13,5124,833,6986,5362,0]Ao[5123,13,5124,5147,7449,5362,0]An[6292,13,3119,965,4871,5362,0]An[6292,13,3119,965,4862,5362,0]Ao[6292,13,3119,3119,6684,5362,0]Ao[6292,13,3119,3119,4819,5362,0]Ao[6292,13,3382,3382,5361,5362,0]Ao[6292,13,3382,3382,7160,5362,0]Ao[6292,13,3126,3126,6971,5362,0]Ao[6292,13,2723,2723,2340,5362,0]Ao[6292,13,5112,5112,2339,5362,0]Ao[6292,13,2092,2092,2338,5362,0]Am[6292,13,546,546,3984,5362,0]Am[6292,13,546,546,6378,5362,0]Am[6292,13,546,546,6988,5362,0]Ao[6292,13,6836,6836,6793,5362,0]Ao[6292,13,6836,6836,6788,5362,0]Ao[6292,13,6836,6836,7612,5362,0]Ao[6292,13,6836,6836,5339,5362,0]Al[1885,13,4050,2091,7508,0,0]Ak[6291,14,6292,6292,305,0,0]1Ai[1885,13,1886,0,3618,0,0]Al[1885,13,4050,0,3591,5314,0]Al[1885,13,4050,0,2787,5314,0]Al[1885,13,4050,0,4802,5314,0]Al[1885,13,4050,0,3972,5314,0]Al[1885,13,4050,0,6713,5314,0]Ao[1885,13,4050,6100,2756,5314,0]Ao[1885,13,4050,6100,3997,5314,0]Ao[1885,13,4050,6100,5286,5314,0]Ao[1885,13,4050,6100,4803,5314,0]Al[1885,13,4050,6762,4009,0,0]Al[1885,13,4229,4229,2801,0,0]Ah[1885,13,544,0,6363,0,0]Aj[6292,12,546,546,4020,0,0]Aj[6292,13,546,546,6364,0,0]210Ai[1885,14,4050,0,5310,0,0]Ak[6291,14,6292,6292,305,0,0]Ai[1885,13,4050,0,5298,0,0]0Al[1885,13,6341,7591,6965,0,0]Al[1885,13,1886,0,6691,5340,0]Al[1885,13,1886,0,6819,5340,0]Al[1885,13,1886,0,4853,5340,0]Al[1885,13,1886,0,4016,5340,0]Al[1885,13,1886,0,6386,5340,0]Al[1885,13,5089,0,4030,5340,0]Al[1885,13,4050,0,2813,5340,0]Ao[1885,13,4050,5128,5299,5340,0]Ao[1885,13,4050,5128,6960,5340,0]Al[1885,13,4050,0,6373,5340,0]Ak[1885,13,4050,0,933,5340,0]Al[1885,13,4050,0,4021,5340,0]Ao[1885,13,6303,3364,2345,5340,0]Ao[5123,13,5124,6834,6692,5340,0]Ao[5123,13,5124,6834,6820,5340,0]An[5123,13,5124,833,4854,5340,0]Ao[5123,13,5124,5147,4017,5340,0]Ao[6292,13,6293,5144,6387,5340,0]Ao[6292,13,6293,5144,7156,5340,0]Ao[6292,13,6836,6836,4031,5340,0]Ai[1885,14,4050,0,5310,0,0]Aj[1885,13,540,540,3566,0,0]Ak[1885,13,6303,831,3592,0,0]Ae[6292,7,3756,0,0,0,0]Ai[1885,13,4050,0,5349,0,0]0Al[1885,13,4050,6762,4009,0,0]Al[1885,13,4050,2091,7508,0,0]Al[6292,13,3382,3382,2804,0,0]Ai[1885,13,4050,0,6719,0,0]Ak[6291,14,6292,6292,305,0,0]Ai[1885,14,3705,0,6978,0,0]Ai[1885,13,4050,0,7445,0,0]3Ai[1885,13,4050,0,5357,0,0]Ae[6292,6,3382,0,0,0,0]Ae[6292,5,3119,0,0,0,0]Ai[1885,15,4050,0,4858,0,0]Ai[1885,15,4050,0,5366,0,0]Ah[1885,5,4050,3752,0,0,0]Ae[1885,6,4050,0,0,0,0]Ae[6292,6,3119,0,0,0,0]Ad[1885,5,540,0,0,0,0]Ad[1885,5,545,0,0,0,0]Ah[1885,5,1886,6834,0,0,0]Ah[5123,5,5124,6834,0,0,0]Ah[1885,5,6835,6836,0,0,0]Ah[1885,5,5089,6836,0,0,0]Ae[6292,5,6836,0,0,0,0]Al[6292,15,3126,3126,4828,0,0]Al[6292,15,2723,2723,7337,0,0]432Al[6292,15,2723,2723,2340,0,0]Aj[6292,15,546,546,6378,0,0]Ah[1885,5,4050,6762,0,0,0]Al[6292,15,3119,3119,4819,0,0]Ah[1885,5,4050,6102,0,0,0]Ae[1885,5,3705,0,0,0,0]Ah[6292,5,3382,3707,0,0,0]Ah[1885,5,4050,3328,0,0,0]Ae[6292,5,3382,0,0,0,0]Ah[1885,6,4050,6664,0,0,0]Ak[1885,13,6303,831,3592,0,0]Am[6291,13,6292,6292,305,903,0]Ak[6291,13,882,882,306,903,0]Al[1885,13,4050,4050,3565,0,0]0Al[6292,13,3382,3382,2804,0,0]Al[1885,13,4050,6100,5296,0,0]Ai[1885,14,4050,0,5310,0,0]Al[1885,13,4050,6346,7163,0,0]0Al[7296,14,3708,3708,3587,0,0]Aj[1885,13,545,545,7502,0,0]Al[1885,13,2716,2716,7580,0,0]Al[1885,13,2716,2716,7548,0,0]8Al[1885,13,4050,4050,3991,0,0]Al[1885,13,6341,7591,6965,0,0]Al[1885,13,5089,5089,6962,0,0]Al[1885,13,5089,5089,7439,0,0]1Ai[1885,12,4050,0,7431,0,0]4Ai[1885,12,1886,0,3618,0,0]Al[1885,13,5089,5089,6789,0,0]Ai[1885,14,6963,0,5300,0,0]Ai[1885,14,4050,0,4848,0,0]Ai[1885,13,4050,0,6719,0,0]Al[6292,14,3382,3382,6720,0,0]Al[1885,13,4229,4229,7152,0,0]Al[1885,13,4229,4229,7434,0,0]Ao[1885,13,4229,4229,6353,7434,0]Ao[1885,13,4229,4229,6353,7152,0]Ai[1885,14,4050,0,5310,0,0]:Ai[6292,14,7336,0,5351,0,0]Ae[6292,7,3756,0,0,0,0]Al[1885,13,4050,4050,3991,0,0]Al[1885,14,6303,3706,3586,0,0]4Ah[1885,13,544,0,6363,0,0]Aj[6292,13,546,546,6364,0,0]Al[6292,14,2723,2723,4817,0,0]>Al[1885,13,1894,1894,7547,0,0]Ai[1885,13,4050,0,5357,0,0]9Al[6291,14,2740,2740,2362,0,0]Ai[1885,13,1886,0,6691,0,0]Al[5123,13,5124,6834,6692,0,0]3Ai[1885,15,4050,0,7118,0,0]Ae[6292,5,3119,0,0,0,0]Ai[1885,15,5089,0,5337,0,0]0Ah[1885,6,6835,6836,0,0,0]Al[6292,15,6836,6836,5339,0,0]Ae[6292,6,6836,0,0,0,0]Ae[1885,5,5089,0,0,0,0]31Ai[1885,10,4050,2703,0,0,0]Ai[1885,10,6835,6836,0,0,0]Af[6292,10,6836,0,0,0,0]Ai[1885,15,4050,0,6980,0,0]Al[6292,15,2723,2723,2340,0,0]Ai[1885,19,4050,0,7454,0,0]Ai[1885,18,6835,6836,0,0,0]Af[6292,18,6836,0,0,0,0]Af[1885,10,5089,0,0,0,0]Ai[1885,15,6835,0,6786,0,0]Al[6292,15,6836,6836,6788,0,0]Ai[1885,15,4050,0,7118,0,0]Ae[1885,5,1894,0,0,0,0]Ae[7296,5,3329,0,0,0,0]Ae[1885,5,2716,0,0,0,0]Al[1885,15,4050,5128,6960,0,0]Ae[1885,5,4229,0,0,0,0]Al[6292,15,3382,3382,7160,0,0]Ah[1885,6,1886,6834,0,0,0]Ah[5123,6,5124,6834,0,0,0]Ad[6292,5,546,0,0,0,0]Al[6292,15,3126,3126,6971,0,0]Al[6292,15,5112,5112,2339,0,0]Ah[1885,6,4050,6100,0,0,0]Ai[1885,14,4050,0,5310,0,0]Al[1885,13,4050,4050,3991,0,0]Al[1885,14,6303,5151,5345,0,0]Ak[6291,14,6292,6292,305,0,0]Al[6291,14,2740,2740,6398,0,0]3Ah[1885,2,1886,6293,0,0,0]Al[1885,13,5089,5089,6789,0,0]Ai[1885,14,6963,0,5300,0,0]Ae[6292,2,6293,0,0,0,0]Al[1885,13,5089,5089,7497,0,0]Ao[1885,13,3705,3705,7121,7145,0]Ao[6292,13,3382,3707,6715,7145,0]Al[7296,14,3708,3708,3587,0,0]>Al[6292,15,3126,3126,4828,0,0]Ae[1885,5,4050,0,0,0,0]Ai[1885,19,4050,0,7454,0,0]Ah[1885,5,4050,3331,0,0,0]Ai[1885,14,3705,0,7331,0,0]Ao[6291,13,6292,6292,3978,6952,0]An[6291,13,6292,6292,305,6952,0]Al[6291,13,882,882,306,6952,0]Al[1885,13,4050,2091,7508,0,0]Ae[1885,7,4050,0,0,0,0]Ai[1885,14,3705,0,6714,0,0]Al[6292,14,3382,3707,3589,0,0]10Al[7296,14,3708,3708,3587,0,0]0Al[1885,13,7309,7309,6989,0,0]Ai[1885,13,4050,0,2813,0,0]Ai[1885,13,5089,0,6699,0,0]Al[1885,13,5089,5089,6789,0,0]Al[6292,13,6836,6836,6700,0,0]Al[6292,13,3119,3119,6778,0,0]Al[6292,14,3382,3382,6388,0,0]Ai[1885,14,3705,0,6978,0,0]Aj[1885,13,540,540,3566,0,0];:;:Ai[1885,14,3705,0,7331,0,0]0:0Ai[6292,14,7336,0,4814,0,0]Al[1885,13,2716,2716,7580,0,0]Al[1885,13,4050,6100,5296,0,0]Ao[6292,13,3126,3126,4828,7342,0]Ai[1885,14,3705,0,6714,0,0]Al[6292,14,3382,3707,3589,0,0]8Af[6292,18,2092,0,0,0,0]Ai[1885,19,4050,0,7454,0,0]Ah[1885,6,4050,6100,0,0,0]Ae[1885,5,5089,0,0,0,0]Ai[1885,15,1886,0,7136,0,0]Ak[5123,15,5124,833,7137,0,0]Ad[1885,5,545,0,0,0,0]Al[6292,15,3119,3119,6684,0,0]Al[1885,15,5089,5089,6962,0,0]Ah[1885,5,4050,2091,0,0,0]Al[6292,15,5112,5112,2339,0,0]Ao[6291,13,6292,6292,3978,5364,0]Ai[1885,13,4050,0,7445,0,0]Al[1885,13,4050,4050,3565,0,0]Al[7296,14,3708,3708,3587,0,0]Ai[1885,14,3705,0,7331,0,0]Ae[1885,7,4050,0,0,0,0]Dc[1885,13,4050,6100,5296,0,0,\"impl-Connection%3CIncomingZeroRtt%3E\"]Dc[1885,13,4050,6100,5296,0,0,\"impl-Connection%3COutgoingZeroRtt%3E\"]4Al[1885,13,4050,2091,7508,0,0]Al[7296,14,1485,1485,6372,0,0]Ai[1885,14,4050,0,4848,0,0]Ai[1885,12,4050,0,5298,0,0]71Ai[1885,14,4050,0,5310,0,0]Ai[1885,13,1886,0,3618,0,0]19Ah[1885,6,4050,2703,0,0,0]Ae[1885,6,4050,0,0,0,0]Af[1885,18,4040,0,0,0,0]Af[6292,18,4041,0,0,0,0]Al[6292,15,5112,5112,2339,0,0]Ak[6292,15,3119,965,4871,0,0]Ai[1885,19,4050,0,7454,0,0]Ai[1885,15,6835,0,6792,0,0]Al[6292,15,6836,6836,6793,0,0]Al[6292,15,3119,3119,6684,0,0]Ae[1885,5,1894,0,0,0,0]Ae[1885,5,2716,0,0,0,0]Ah[1885,5,4050,3558,0,0,0]Ah[1885,5,4050,6102,0,0,0]Al[1885,13,4050,2091,7508,0,0]Ai[1885,14,4050,0,4848,0,0]Ao[6291,13,6292,6292,3978,6972,0]An[6291,13,6292,6292,305,6972,0]Al[6291,13,882,882,306,6972,0]Ae[6291,7,1885,0,0,0,0]Ae[6291,7,2720,0,0,0,0]Ai[1885,13,4050,0,6719,0,0]7Ai[1885,13,4050,0,7550,0,0]Ai[1885,14,3705,0,7331,0,0]0Al[7296,14,3708,3708,3587,0,0]Al[7296,14,3329,3329,2764,0,0]44Al[1885,13,7309,7309,6989,0,0]Ai[1885,13,4050,0,7427,0,0]Ai[1885,14,4050,0,5310,0,0]7Ai[1885,14,3705,0,6714,0,0]Al[6292,14,3382,3707,3589,0,0]2Al[1885,13,2716,2716,6977,0,0]Ai[1885,14,3705,0,6978,0,0]Aj[6292,13,546,546,3567,0,0]Ah[1885,6,4050,2703,0,0,0]Al[6292,15,3126,3126,4828,0,0]Ae[1885,5,2716,0,0,0,0]1Ah[1885,5,4050,6100,0,0,0]>Ae[1885,7,3749,0,0,0,0]Ae[1885,7,2089,0,0,0,0]0:9?Ah[1885,13,544,0,6363,0,0]Aj[6292,13,546,546,6364,0,0]1010Ai[1885,14,3705,0,7331,0,0]=<0Ae[1885,7,6341,0,0,0,0]Al[7296,14,3708,3708,3587,0,0]00Al[1885,13,4050,2091,7508,0,0]Al[1885,13,4050,4050,6953,0,0]0Ai[1885,19,4050,0,7454,0,0]Ah[1885,5,6835,6836,0,0,0]Ae[6292,5,6836,0,0,0,0]Af[1885,18,3749,0,0,0,0]Af[1885,18,2089,0,0,0,0]0Al[6292,15,3382,3382,7160,0,0]Al[6292,15,3119,3119,4819,0,0]Af[6292,18,1484,0,0,0,0]7Al[1885,13,4050,4050,3565,0,0]Al[1885,13,4050,6100,5296,0,0]Al[1885,13,6303,3381,2796,0,0]?Ai[1885,14,4050,0,5310,0,0]Ai[1885,14,3705,0,7331,0,0]?Ai[1885,13,5089,0,6699,0,0]Al[6292,13,6836,6836,6700,0,0]Al[7296,13,7297,2748,4885,0,0]:Al[6292,15,5112,5112,2339,0,0]Ai[1885,18,4040,4041,0,0,0]Af[6292,18,4041,0,0,0,0]Al[1885,15,4229,4229,6352,0,0]Af[1885,18,2716,0,0,0,0]Al[6292,15,3119,3119,6684,0,0]Ai[1885,13,4050,0,7427,0,0]Al[6292,13,3119,3119,6778,0,0]Am[6291,13,6292,6292,305,903,0]Ak[6291,13,882,882,306,903,0]=Ao[6291,13,6292,6292,3978,6972,0]An[6291,13,6292,6292,305,6972,0]Al[6291,13,882,882,306,6972,0]Al[1885,13,4050,4050,3565,0,0]Ai[1885,13,4050,0,6719,0,0]Af[1885,18,4050,0,0,0,0]Al[1885,15,4050,6100,7111,0,0]Al[1885,15,4050,4050,7533,0,0]Ai[1885,14,3705,0,7331,0,0]Ai[1885,14,3705,0,6978,0,0]Ai[1885,13,5089,0,6699,0,0]Al[6292,13,6836,6836,6700,0,0]Aj[1885,13,540,540,3566,0,0]Ae[6292,7,2695,0,0,0,0]5Al[1885,13,4050,6100,3997,0,0]Al[7296,13,3329,3329,2764,0,0]Ai[1885,19,4050,0,7454,0,0]Ah[1885,5,4050,3331,0,0,0]Ah[1885,8,4050,6100,0,0,0]0Al[6292,15,3119,3119,4819,0,0]0Af[6292,18,2092,0,0,0,0]4Al[1885,13,4050,2091,7508,0,0]Al[7296,14,3708,3708,3587,0,0]Al[6292,13,3119,3119,6778,0,0]Ai[1885,14,4050,0,5310,0,0]Al[6292,15,3126,3126,4828,0,0]Af[6292,18,4041,0,0,0,0]Af[1885,18,2716,0,0,0,0]02Ai[1885,14,3705,0,7331,0,0]Ai[1885,14,3705,0,6714,0,0]Al[6292,14,3382,3707,3589,0,0]10Al[1885,13,4050,6100,5296,0,0]Ai[1885,13,4050,0,6719,0,0]Ah[1885,13,544,0,6363,0,0]Aj[6292,13,546,546,6364,0,0]=Ag[1885,18,545,546,0,0,0]Ag[1885,18,544,546,0,0,0]Ae[6292,18,546,0,0,0,0]Af[6292,18,2092,0,0,0,0]Al[1885,13,4050,2091,7508,0,0]Al[1885,14,6303,3381,2796,0,0]01Al[1885,13,4050,4050,3991,0,0]Ao[6291,13,6292,6292,3978,6972,0]An[6291,13,6292,6292,305,6972,0]Al[6291,13,882,882,306,6972,0]Ai[6292,18,3382,4231,0,0,0]Ae[6291,7,6292,0,0,0,0]Ai[1885,14,3705,0,7331,0,0]80Ae[6292,7,3119,0,0,0,0]Ai[1885,13,4050,0,5298,0,0]0Ae[7296,7,3383,0,0,0,0];;;Al[1885,13,4050,6100,5296,0,0]Al[6292,15,2723,2723,2340,0,0]Ag[1885,18,545,546,0,0,0]Ag[1885,18,544,546,0,0,0]Ae[6292,18,546,0,0,0,0]Ao[6291,13,6292,6292,3978,5364,0]Ah[1885,13,544,0,6363,0,0]Aj[6292,13,546,546,6364,0,0]Al[1885,13,4050,2091,7508,0,0]8Al[1885,13,4050,4050,3565,0,0]Ak[1885,13,6303,831,3592,0,0]432>22Ae[6292,7,3756,0,0,0,0]354") \ No newline at end of file diff --git a/pr/3734/docs/search.index/function/616c379a953e.js b/pr/3734/docs/search.index/function/616c379a953e.js new file mode 100644 index 0000000000..f0aab86815 --- /dev/null +++ b/pr/3734/docs/search.index/function/616c379a953e.js @@ -0,0 +1 @@ +rd_("Aa[\"{CLKnAGDl}\",[]]0Aa[\"{CLKlAGDl}\",[]]h[\"`\",[]]00Bf[\"{{{BJI`{CGDn}}{BJI`{CGDn}}}GOl}\",[]]Bf[\"{{{BJI`{CHF`}}{BJI`{CHF`}}}GOl}\",[]]Bf[\"{{{BJI`{BHBn}}{BJI`{BHBn}}}GOl}\",[]]Bf[\"{{{BJI`{BHEf}}{BJI`{BHEf}}}GOl}\",[]]Bf[\"{{{BJI`{BACb}}{BJI`{BACb}}}GOl}\",[]]Bf[\"{{{BJI`{BABl}}{BJI`{BABl}}}GOl}\",[]]Bf[\"{{{BJI`{CDLn}}{BJI`{CDLn}}}GOl}\",[]]Bf[\"{{{BJI`{BH@l}}{BJI`{BH@l}}}GOl}\",[]]Bf[\"{{{BJI`{CGEd}}{BJI`{CGEd}}}GOl}\",[]]Bf[\"{{{BJI`{BAE`}}{BJI`{BAE`}}}GOl}\",[]]Bf[\"{{{BJI`{CGEn}}{BJI`{CGEn}}}GOl}\",[]]Bf[\"{{{BJI`{CHAj}}{BJI`{CHAj}}}GOl}\",[]]Bf[\"{{{BJI`{CIHl}}{BJI`{CIHl}}}GOl}\",[]]Bf[\"{{{BJI`{CMCf}}{BJI`{CMCf}}}GOl}\",[]]Bf[\"{{{BJI`{CIKd}}{BJI`{CIKd}}}GOl}\",[]]Bf[\"{{{BJI`{BHCh}}{BJI`{BHCh}}}GOl}\",[]]Bf[\"{{{BJI`{BLBn}}{BJI`{BLBn}}}GOl}\",[]]Bf[\"{{{BJI`{CIKb}}{BJI`{CIKb}}}GOl}\",[]]Bf[\"{{{BJI`{BLEb}}{BJI`{BLEb}}}GOl}\",[]]Bf[\"{{{BJI`{CGIh}}{BJI`{CGIh}}}GOl}\",[]]Bf[\"{{{BJI`{CNAd}}{BJI`{CNAd}}}GOl}\",[]]Bf[\"{{{BJI`{AGEb}}{BJI`{AGEb}}}GOl}\",[]]Bf[\"{{{BJI`{CNFd}}{BJI`{CNFd}}}GOl}\",[]]Bf[\"{{{BJI`{ACCl}}{BJI`{ACCl}}}GOl}\",[]]Bf[\"{{{BJI`{CGGf}}{BJI`{CGGf}}}GOl}\",[]]Bf[\"{{{BJI`{BABd}}{BJI`{BABd}}}GOl}\",[]]Bf[\"{{{BJI`{AGDd}}{BJI`{AGDd}}}GOl}\",[]]Bf[\"{{{BJI`{AGBb}}{BJI`{AGBb}}}GOl}\",[]]Bf[\"{{{BJI`{BHBd}}{BJI`{BHBd}}}GOl}\",[]]Bf[\"{{{BJI`{AMNf}}{BJI`{AMNf}}}GOl}\",[]]Bf[\"{{{BJI`{CGCf}}{BJI`{CGCf}}}GOl}\",[]]Bf[\"{{{BJI`{BKLb}}{BJI`{BKLb}}}GOl}\",[]]Bf[\"{{{BJI`{CIHd}}{BJI`{CIHd}}}GOl}\",[]]Bf[\"{{{BJI`{CJMd}}{BJI`{CJMd}}}GOl}\",[]]Bf[\"{{{BJI`{BHDd}}{BJI`{BHDd}}}GOl}\",[]]Bf[\"{{{BJI`{CDK`}}{BJI`{CDK`}}}GOl}\",[]]Bf[\"{{{BJI`{CODb}}{BJI`{CODb}}}GOl}\",[]]Bf[\"{{{BJI`{BGOd}}{BJI`{BGOd}}}GOl}\",[]]Bf[\"{{{BJI`{CJLh}}{BJI`{CJLh}}}GOl}\",[]]Bf[\"{{{BJI`{CLH`}}{BJI`{CLH`}}}GOl}\",[]]Bf[\"{{{BJI`{CLJj}}{BJI`{CLJj}}}GOl}\",[]]Bf[\"{{{BJI`{CILl}}{BJI`{CILl}}}GOl}\",[]]Bf[\"{{{BJI`{CMJh}}{BJI`{CMJh}}}GOl}\",[]]Bd[\"{{{BJI`{GLb}}{BJI`{GLb}}}GOl}\",[]]Bd[\"{{{BJI`{BGl}}{BJI`{BGl}}}GOl}\",[]]Bf[\"{{{BJI`{BACl}}{BJI`{BACl}}}GOl}\",[]]Bf[\"{{{BJI`{CGE`}}{BJI`{CGE`}}}GOl}\",[]]Bf[\"{{{BJI`{CHFb}}{BJI`{CHFb}}}GOl}\",[]]Bf[\"{{{BJI`{BHC`}}{BJI`{BHC`}}}GOl}\",[]]Bf[\"{{{BJI`{BHEh}}{BJI`{BHEh}}}GOl}\",[]]Bf[\"{{{BJI`{BACd}}{BJI`{BACd}}}GOl}\",[]]Bf[\"{{{BJI`{B@N`}}{BJI`{B@N`}}}GOl}\",[]]Bf[\"{{{BJI`{BABn}}{BJI`{BABn}}}GOl}\",[]]Bf[\"{{{BJI`{CDM`}}{BJI`{CDM`}}}GOl}\",[]]Bf[\"{{{BJI`{CKBf}}{BJI`{CKBf}}}GOl}\",[]]Bf[\"{{{BJI`{AFMj}}{BJI`{AFMj}}}GOl}\",[]]Bf[\"{{{BJI`{BGOf}}{BJI`{BGOf}}}GOl}\",[]]Bf[\"{{{BJI`{CLK`}}{BJI`{CLK`}}}GOl}\",[]]Bf[\"{{{BJI`{CLHf}}{BJI`{CLHf}}}GOl}\",[]]Bf[\"{{{BJI`{BGMj}}{BJI`{BGMj}}}GOl}\",[]]Bf[\"{{{BJI`{CDIj}}{BJI`{CDIj}}}GOl}\",[]]Bf[\"{{{BJI`{CGEf}}{BJI`{CGEf}}}GOl}\",[]]Bf[\"{{{BJI`{BAEb}}{BJI`{BAEb}}}GOl}\",[]]Bf[\"{{{BJI`{CGF`}}{BJI`{CGF`}}}GOl}\",[]]Aa[\"{CGDnBHBn}\",[]]Ak[\"{{{BJI`{BLBj}}}BACl}\",[]]Ak[\"{{{BJI`{CNAj}}}BACl}\",[]]Ak[\"{{{BJI`{BLCn}}}BACl}\",[]]Ak[\"{{{BJI`{BLBl}}}BKLn}\",[]]Ak[\"{{{BJI`{B@On}}}BKLn}\",[]]Aa[\"{CGE`BKLj}\",[]]El[\"{{{AMNd{}{{ACI`{c}}}}e}{{ACHl{{AMNd{}{{ACI`{c}}}}e}}}{ACCnn}AMNd}\",[\"Watcher::Value\",\"W\"]]Co[\"{g{{Bb{ig}}}{}{}{{AGBd{ce}}}{{AGBd{ce}}}}\",[\"B\",\"E\",\"P\",\"T\"]]0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000o[\"{{}AMLh}\",[]]Bb[\"{{{BJI`{CMOf}}c}AAGnBGNj}\",[\"\"]]D`[\"{g{{BG`{ig}}}{}{}{{AGBd{ce}}}{{AGBd{ce}}}}\",[\"B\",\"E\",\"P\",\"T\"]]0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Bg[\"{{{BJI`{CGDn}}{BJI`{CGDn}}}BABb}\",[]]Bg[\"{{{BJI`{CHF`}}{BJI`{CHF`}}}BABb}\",[]]Bg[\"{{{BJI`{BHBn}}{BJI`{BHBn}}}BABb}\",[]]Bg[\"{{{BJI`{BACb}}{BJI`{BACb}}}BABb}\",[]]Bg[\"{{{BJI`{CDLn}}{BJI`{CDLn}}}BABb}\",[]]Bg[\"{{{BJI`{BAE`}}{BJI`{BAE`}}}BABb}\",[]]Bg[\"{{{BJI`{AGEb}}{BJI`{AGEb}}}BABb}\",[]]Bg[\"{{{BJI`{AGBb}}{BJI`{AGBb}}}BABb}\",[]]Bg[\"{{{BJI`{BKLb}}{BJI`{BKLb}}}BABb}\",[]]Bg[\"{{{BJI`{CIHd}}{BJI`{CIHd}}}BABb}\",[]]Bg[\"{{{BJI`{CDK`}}{BJI`{CDK`}}}BABb}\",[]]Be[\"{{{BJI`{GLb}}{BJI`{GLb}}}BABb}\",[]]Be[\"{{{BJI`{BGl}}{BJI`{BGl}}}BABb}\",[]]Bg[\"{{{BJI`{BACl}}{BJI`{BACl}}}BABb}\",[]]Bg[\"{{{BJI`{CGE`}}{BJI`{CGE`}}}BABb}\",[]]Bg[\"{{{BJI`{CHFb}}{BJI`{CHFb}}}BABb}\",[]]Bg[\"{{{BJI`{BHC`}}{BJI`{BHC`}}}BABb}\",[]]Bg[\"{{{BJI`{BACd}}{BJI`{BACd}}}BABb}\",[]]Bg[\"{{{BJI`{CDM`}}{BJI`{CDM`}}}BABb}\",[]]Bg[\"{{{BJI`{CKBf}}{BJI`{CKBf}}}BABb}\",[]]Bg[\"{{{BJI`{BAEb}}{BJI`{BAEb}}}BABb}\",[]]Af[\"{{AMGnGOl}AMGn}\",[]]A`[\"{BAClBGl}\",[]]Aa[\"{AFNlBGNl}\",[]]Aa[\"{BGMjAGAn}\",[]]Ch[\"{{{BJI`{CGDn}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Ch[\"{{{BJI`{CHF`}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Ch[\"{{{BJI`{BHBn}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Ch[\"{{{BJI`{CJOh}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Ch[\"{{{BJI`{BHDl}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Ch[\"{{{BJI`{BHEf}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Ch[\"{{{BJI`{CIKj}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Ch[\"{{{BJI`{BACb}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Ch[\"{{{BJI`{CMIf}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Ch[\"{{{BJI`{BABl}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Ch[\"{{{BJI`{CDLn}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Bj[\"{{{BJI`{BH@l}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Ch[\"{{{BJI`{CIJj}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Bj[\"{{{BJI`{CLIn}}{BJI`{G@fBGOb}}}AGC`}\",[]]Ch[\"{{{BJI`{CGHb}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Bj[\"{{{BJI`{CJMj}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CLJ`}}{BJI`{G@fBGOb}}}AGC`}\",[]]Ch[\"{{{BJI`{CGEd}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Ch[\"{{{BJI`{BAE`}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Ch[\"{{{BJI`{CGEn}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Ch[\"{{{BJI`{BLA`}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Bj[\"{{{BJI`{CMHb}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{CIHh}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{CHAj}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CMOf}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CGDj}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CN@`}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{BLAl}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{CNIj}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CIJh}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CNFb}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CHDn}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CLJh}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CGDf}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{AMGn}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CILb}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CHDh}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CNF`}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CIHl}}{BJI`{G@fBGOb}}}AGC`}\",[]]Ch[\"{{{BJI`{CDIl}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Ch[\"{{{BJI`{CMCf}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Ch[\"{{{BJI`{BLBj}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Ch[\"{{{BJI`{CNAj}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Ch[\"{{{BJI`{CIKd}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Ch[\"{{{BJI`{BHCh}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Ch[\"{{{BJI`{BLBn}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Ch[\"{{{BJI`{CIKb}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Ch[\"{{{BJI`{BLCn}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Ch[\"{{{BJI`{BLEb}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Ch[\"{{{BJI`{CGIh}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Bj[\"{{{BJI`{BLBl}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CMCl}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CMJf}}{BJI`{G@fBGOb}}}AGC`}\",[]]Ch[\"{{{BJI`{CNAd}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Ch[\"{{{BJI`{AGEb}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Ch[\"{{{BJI`{CNFd}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Ch[\"{{{BJI`{ACCl}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Bj[\"{{{BJI`{CGGf}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{BABd}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{AGDd}}{BJI`{G@fBGOb}}}AGC`}\",[]]Ch[\"{{{BJI`{AGDd}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Ch[\"{{{BJI`{AGBb}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Ch[\"{{{BJI`{CGHh}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Ch[\"{{{BJI`{BADl}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Ch[\"{{{BJI`{BKMh}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Ch[\"{{{BJI`{BHBd}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Ch[\"{{{BJI`{CJMh}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Ch[\"{{{BJI`{AMNf}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Ch[\"{{{BJI`{CGCf}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Bj[\"{{{BJI`{CKCf}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{BKLb}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CIHd}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{AFMh}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{BA@j}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{BLCj}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{CMOd}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{BKJh}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{BGKn}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{BGLd}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{CJLd}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{CHG`}}{BJI`{G@fBGOb}}}AGC`}\",[]]D`[\"{{{BJI`{{BKKl{c}}}}{BJI`{G@fBGOb}}}AGC`{ACDbCJMf}}\",[\"State\"]]Bj[\"{{{BJI`{CMGn}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CJMl}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CKAh}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CNIn}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{CIGh}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CNCn}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CNIb}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{COFj}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CNA`}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CNAb}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CGHn}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{AMH`}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{B@On}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CNDb}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{CGCn}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{BGLj}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Ch[\"{{{BJI`{CJMd}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Bj[\"{{{BJI`{CIGf}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{BHDd}}{BJI`{G@fBGOb}}}AGC`}\",[]]Ch[\"{{{BJI`{CKBb}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Ch[\"{{{BJI`{CMFn}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Ch[\"{{{BJI`{CMHn}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Ch[\"{{{BJI`{CDK`}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Ch[\"{{{BJI`{CNJb}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Ch[\"{{{BJI`{CODb}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Ch[\"{{{BJI`{CDIb}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Ch[\"{{{BJI`{CMJl}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Ch[\"{{{BJI`{BGOd}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Ch[\"{{{BJI`{CJLh}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Ch[\"{{{BJI`{CLH`}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Ch[\"{{{BJI`{CLJj}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Ch[\"{{{BJI`{CILl}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Ch[\"{{{BJI`{CMJh}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Ch[\"{{{BJI`{CMB`}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Cg[\"{{{BJI`{GLb}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Cg[\"{{{BJI`{BGl}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Ch[\"{{{BJI`{BACl}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Bh[\"{{{BJI`{B`}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{AGCh}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CHEh}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CDHd}}{BJI`{G@fBGOb}}}AGC`}\",[]]0D`[\"{{{BJI`{{CDHf{c}}}}{BJI`{G@fBGOb}}}AGC`{ACDbCKAlACCn}}\",[\"P\"]]Ch[\"{{{BJI`{CHB`}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Ch[\"{{{BJI`{CHAd}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Ch[\"{{{BJI`{CNMb}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]0Bj[\"{{{BJI`{CHEd}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CLHb}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CIHn}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CGE`}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CHFb}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{BHC`}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{CJOj}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{BHDn}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{BHEh}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{CIKl}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{BACd}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{CMIh}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{B@Nb}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bi[\"{{{BJI`{BHn}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{ACHj}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CDNj}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CILh}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bi[\"{{{BJI`{BI`}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{BHFn}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{AFNl}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CDN`}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CHDj}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CIJb}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CJKn}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{BGNl}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{BKLh}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{AFOj}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CKBd}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{B@N`}}{BJI`{G@fBGOb}}}AGC`}\",[]]Ch[\"{{{BJI`{B@N`}}{BJI`{G@fBGOb}}}{{AGCb{AAGnACDf}}}}\",[]]Bj[\"{{{BJI`{BKMl}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CDJn}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{AMJl}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CDLj}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{BABn}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{CDM`}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{CKBf}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{BHEb}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{BHD`}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{CGD`}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{BGN`}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{CH@d}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{AFNh}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{BKIl}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CGC`}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{AMK`}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CGHd}}{BJI`{G@fBGOb}}}AGC`}\",[]]D`[\"{{{BJI`{{CMCd{c}}}}{BJI`{G@fBGOb}}}AGC`{ACDbGL`}}\",[\"Loader\"]]Da[\"{{{BJI`{{CGI`{ce}}}}{BJI`{G@fBGOb}}}AGC`ACDbACDb}\",[\"EC\",\"EA\"]]Da[\"{{{BJI`{{CDMb{ce}}}}{BJI`{G@fBGOb}}}AGC`ACDbACDb}\",[\"EC\",\"EA\"]]Bj[\"{{{BJI`{CGBh}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{AFMj}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{BLBd}}{BJI`{G@fBGOb}}}AGC`}\",[]]Da[\"{{{BJI`{{BHEj{ce}}}}{BJI`{G@fBGOb}}}AGC`ACDbACDb}\",[\"EC\",\"EA\"]]Bj[\"{{{BJI`{AG@n}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CJL`}}{BJI`{G@fBGOb}}}AGC`}\",[]]Da[\"{{{BJI`{{BKIh{ce}}}}{BJI`{G@fBGOb}}}AGC`ACDbACDb}\",[\"EC\",\"EA\"]]Bj[\"{{{BJI`{AGCn}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{BLDf}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{CKBn}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{BGOf}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CIIj}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{ACFb}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{CLK`}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CLHf}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{BGMj}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{ACFd}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{ACF`}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{BLBb}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{B@O`}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{CDKj}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Cf[\"{{{BJI`{{CIL`{c}}}}{BJI`{G@fBGOb}}}AGC`BLDh}\",[\"E\"]]0Bj[\"{{{BJI`{AMHb}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CDIj}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CDIn}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{CHFd}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{CHBb}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{CHAh}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{CGEf}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{BAEb}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{CNMd}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Bj[\"{{{BJI`{CGF`}}{BJI`{G@fBGOb}}}AGC`}\",[]]Bj[\"{{{BJI`{BLAd}}{BJI`{G@fBGOb}}}AGC`}\",[]]0Da[\"{{{BJI`{G@f{AMNd{}{{ACI`{c}}}}}}}c{ACCnn}}\",[\"Watcher::Value\"]]Ch[\"{{{BJI`{BABl}}{BJI`{BACb}}}{{AGAn{{BGf{CDLn}}}}}}\",[]]Ak[\"{{{BJI`{CGHh}}}B@Ob}\",[]]Ch[\"{{{BJI`{BABn}}{BJI`{BAC`}}}{{AGAn{{BGf{CDM`}}}}}}\",[]]Aa[\"{CKCjBGOf}\",[]]A`[\"{BADlGGb}\",[]]Aa[\"{CIFjAGDl}\",[]]0Aa[\"{CIFhAGDl}\",[]]Ak[\"{{{BJI`{BABl}}}AFLl}\",[]]Ak[\"{{{BJI`{CMOf}}}AFLl}\",[]]Ak[\"{{{BJI`{CGGf}}}AFLl}\",[]]Aa[\"{CHClAFLl}\",[]]Ak[\"{{{BJI`{BABn}}}AFLl}\",[]]Aa[\"{CHCjAFLl}\",[]]Cf[\"{{{BJI`{G@fCNJb}}{BGf{BADb}}}{{BJI`{G@fCNJb}}}}\",[]]Gk[\"{{{AMNd{}{{ACI`{c}}}}g}{{BHj{{AMNd{}{{ACI`{c}}}}e}}}{ACCnn}{ACCnn}{{A`{c}{{AGB`{e}}}}GL`GLf}}\",[\"Watcher::Value\",\"T\",\"\"]]=Aa[\"{BHBnCGDn}\",[]]o[\"{{}CIKj}\",[]]Aa[\"{BL@lCMIf}\",[]]Bg[\"{cCGEd{{CGFh{}{{GIl{CHF`}}}}}}\",[\"\"]]Aa[\"{BHBnCGEn}\",[]]Bi[\"{{CGEn{BJI`{GEn}}{AGAn{GGb}}}CHAj}\",[]]A`[\"{BJhCLJh}\",[]]o[\"{{}CILb}\",[]]o[\"{{}CDIl}\",[]]Aj[\"{{{BGh{ACId}}}BLB`}\",[]]Ag[\"{{BLChB@On}BLCj}\",[]]o[\"{{}CNIn}\",[]]Ae[\"{cAMH`AGBf}\",[\"P\"]]o[\"{{}CIGf}\",[]]Aa[\"{AMKjCKBb}\",[]]Ag[\"{{CMJhAGDl}CILl}\",[]]Ah[\"{{GLbBGlGGb}BACl}\",[]]Aa[\"{B@OnCHEh}\",[]]Dh[\"{{ce}{{CDHf{c}}}{CKAlACCn}{{A`{BKLn}{{AGB`{GOl}}}}GL`GLf}}\",[\"P\",\"F\"]]o[\"{{}CNMb}\",[]]Bg[\"{{ce}CHEd{{ACCd{GJh}}}BAD`}\",[\"\",\"\"]]Aa[\"{BHC`CGE`}\",[]]o[\"{{}CIKl}\",[]]Aa[\"{BL@lCMIh}\",[]]Am[\"{{B@ObGGbB@ObGGb}CILh}\",[]]k[\"{{}}\",[]]Cd[\"{{BHFn{BJI`{BGNl}}{BGf{AMJl}}}{{AGCf{BKLh}}}}\",[]]Aa[\"{B@ObCDLj}\",[]]Bg[\"{{cBHDjCDIn}CH@d{{GId{BAC`}}}}\",[\"\"]]Ag[\"{{B@OjCGBn}BLBb}\",[]]Be[\"{{{BJj{c}}}{{CIL`{c}}}BLDh}\",[\"E\"]]o[\"{{}CDIn}\",[]]Bg[\"{cCGEf{{CGFh{}{{GIl{CHEn}}}}}}\",[\"\"]]o[\"{{}CNMd}\",[]]Aa[\"{BKLlCGF`}\",[]]o[\"{GLbGLb}\",[]]Ak[\"{{{BJI`{BLE`}}}BLDn}\",[]]Ak[\"{{{BJI`{BABd}}}B@Ob}\",[]]Ce[\"{{{BJI`{{BKKl{c}}}}AGBb}{{AGAn{B@Ob}}}CJMf}\",[\"T\"]]Aa[\"{BHBdB@Ob}\",[]]Ai[\"{{}{{AGCd{CIHn}}}}\",[]]Aa[\"{CLLfAGE`}\",[]]Aa[\"{CDMbAGAn}\",[]]Af[\"{{CNIjGG`}CNIj}\",[]]Af[\"{{AMGnGG`}AMGn}\",[]]Aa[\"{BKLbCIHd}\",[]]Ak[\"{{{BJI`{CLK`}}}BGOf}\",[]]Aa[\"{CDLnBACb}\",[]]Aa[\"{CJN`BACb}\",[]]Aa[\"{CDM`BAC`}\",[]]A`[\"{CN@bBJh}\",[]]A`[\"{CJMnBJh}\",[]]A`[\"{BKNjBJh}\",[]]o[\"{{}BJI`}\",[]]00A`[\"{BKMhGGb}\",[]]Be[\"{{{BJI`{CMCl}}}{{BJI`{CHF`}}}}\",[]]Ak[\"{{{BJI`{B@On}}}CGDn}\",[]]Aa[\"{BKLbBLDb}\",[]]Aa[\"{CJKfBLDb}\",[]]Cb[\"{{{BJI`{G@fBKJh}}}{{AGCb{{BJj{BFl}}BGLd}}}}\",[]]Cb[\"{{{BJI`{G@fBGKn}}}{{AGCb{{BJj{BFl}}BGLd}}}}\",[]]Cc[\"{{{BJI`{{BKKl{CKAh}}}}}{{AGAn{{BJj{BFl}}}}}}\",[]]Cc[\"{{{BJI`{{BKKl{CJMl}}}}}{{AGAn{{BJj{BFl}}}}}}\",[]]Cd[\"{{{BJI`{{BKKl{CMGn}}}}}{{BJI`{{AFIl{BFl}}}}}}\",[]]Bl[\"{{{BJI`{CIGh}}}{{BJI`{{AFIl{BFl}}}}}}\",[]]Ao[\"{AMH`{{AGCb{B@OnBGLj}}}}\",[]]Am[\"{{}{{AGCb{B@OnBGLj}}}}\",[]]Aa[\"{BHEjBKIh}\",[]]Aa[\"{CILlCMJh}\",[]]Aa[\"{CO@nBLDj}\",[]]A`[\"{BHBdGGb}\",[]]Aa[\"{CGEnCGEd}\",[]]0Aa[\"{CGF`CGEf}\",[]]Aa[\"{AFLlAAGn}\",[]]000An[\"{{{BJI`{G@fBHDl}}}AAGn}\",[]]1111111111111111111111111111111111111111111An[\"{{{BJI`{G@fBLBj}}}AAGn}\",[]]2222222An[\"{{{BJI`{G@fBLCn}}}AAGn}\",[]]333333333333333333333333333333333333333333333333333333333333333333333333333333333333An[\"{{{BJI`{G@fBHDn}}}AAGn}\",[]]44444444444444444444444444444444444444444444444444444444444Aa[\"{CGEnCGDn}\",[]]A`[\"{cc{}}\",[\"T\"]]Aa[\"{BHBnCGDn}\",[]]Aa[\"{CMClCHF`}\",[]]222Aa[\"{ACEfCJOh}\",[]]Aa[\"{CDIfCJOh}\",[]]Aj[\"{{{ACJf{BFl}}}BHDl}\",[]]5555A`[\"{BJhBACb}\",[]]66Aa[\"{BACbBABl}\",[]]Aa[\"{CDLnBABl}\",[]]Aa[\"{BACbCDLn}\",[]]99999999Aa[\"{CGDnCGEd}\",[]]:Bc[\"{{{BJI`{{BADj{BAA`}}}}}CGEn}\",[]]Aa[\"{CGDnCGEn}\",[]]Aa[\"{CHAdBLA`}\",[]]Aa[\"{BHF`BLA`}\",[]]A`[\"{cc{}}\",[\"T\"]]Aa[\"{BLAlCIHh}\",[]]11Bo[\"{cCMOf{{CGFh{}{{GIl{{BGh{BGNj}}}}}}}}\",[\"T\"]]22222222222222222222222Aa[\"{CJMdCMCf}\",[]]33Aa[\"{BHChCIKd}\",[]]4Aa[\"{BLBnBHCh}\",[]]5Aa[\"{CJMdBHCh}\",[]]6Aa[\"{CJMdBLBn}\",[]]Aa[\"{BHChCIKb}\",[]]88Aa[\"{CJMdBLEb}\",[]]Aa[\"{CGIhBLEb}\",[]]:Aa[\"{CGCfBLEb}\",[]];Aa[\"{CJMdCGIh}\",[]]<<<<<<Aa[\"{BAClAGEb}\",[]]Aa[\"{CMJhAGEb}\",[]]Aa[\"{BGOfAGEb}\",[]]A`[\"{BFlAGEb}\",[]]A`[\"{cc{}}\",[\"T\"]]0000Am[\"{cAGBb{{GId{GG`}}}}\",[\"T\"]]11111111111111Aa[\"{CNInCMOd}\",[]]222Aa[\"{CJMdBGLd}\",[]]33Aa[\"{CMOdCJLd}\",[]]Aa[\"{CJMdCJLd}\",[]]555555555555555Aa[\"{CLJjCNDb}\",[]]Aa[\"{CIHhCNDb}\",[]]77Aa[\"{CNDbCGCn}\",[]]Aa[\"{CJLdCGCn}\",[]]Aa[\"{CJMdCGCn}\",[]]Aa[\"{CMHbBGLj}\",[]];Aa[\"{CDI`CJMd}\",[]]Aa[\"{CILlCJMd}\",[]]Aa[\"{ACD`CJMd}\",[]]>>>>>>>Aa[\"{AGEbCDK`}\",[]]??Aa[\"{CDO`CDIb}\",[]]A`[\"{cc{}}\",[\"T\"]]00Aa[\"{CILlCJLh}\",[]]111Aa[\"{CMJlCLJj}\",[]]Aa[\"{ACEjCILl}\",[]]Aa[\"{CGFlCILl}\",[]]44Aa[\"{AGEbCMJh}\",[]]555Aa[\"{AGEbBACl}\",[]]6666Aa[\"{CGCfCDHd}\",[]]Aa[\"{CJMdCDHd}\",[]]Aa[\"{ACDjCDHd}\",[]]Aa[\"{B@MhCDHd}\",[]]Aa[\"{CJLdCDHd}\",[]]Aa[\"{CNInCDHd}\",[]]<<<<<<<Aa[\"{CIKhCJOj}\",[]]?Aj[\"{{{ACJf{BFl}}}BHDn}\",[]]A`[\"{cc{}}\",[\"T\"]]00A`[\"{BJhBACd}\",[]]11111111111111111111111111111Aa[\"{CDM`BABn}\",[]]2Aa[\"{BAC`BABn}\",[]]Aa[\"{BAC`CDM`}\",[]]444Aa[\"{ACElBHEb}\",[]]Aa[\"{ACFbBHD`}\",[]]Aa[\"{ACElBHD`}\",[]]7Aa[\"{ACDjCGD`}\",[]]Aa[\"{ACElCGD`}\",[]]9Aa[\"{ACEhCGD`}\",[]]Aa[\"{BGN`CGD`}\",[]]Aa[\"{ACFdCGD`}\",[]]Aa[\"{ACEhBGN`}\",[]]Aa[\"{ACDjBGN`}\",[]]Aa[\"{AMIjBGN`}\",[]]Aa[\"{B@O`BGN`}\",[]]A`[\"{cc{}}\",[\"T\"]]000000000000000000Aa[\"{BH@bCKBn}\",[]]111Aa[\"{BHF`ACFb}\",[]]2Aa[\"{CJOdACFb}\",[]]Aa[\"{CIIjACFb}\",[]]Aa[\"{ACEdACFb}\",[]]55Bf[\"{cBGMj{{ACCd{{AFIl{BFl}}}}}}\",[\"T\"]]6Aa[\"{ACElACFd}\",[]]Aa[\"{CIIjACFd}\",[]]8Aa[\"{CGClACF`}\",[]]Aa[\"{CJLnACF`}\",[]]:Aa[\"{BHCnACF`}\",[]];;Aa[\"{CGHfB@O`}\",[]]Aa[\"{AMIjB@O`}\",[]]=Aa[\"{BLAdCDKj}\",[]]Aa[\"{B@O`CDKj}\",[]]?????Bh[\"{{{BJj{{BGh{{AFIl{BFl}}}}}}}CHFd}\",[]]A`[\"{cc{}}\",[\"T\"]]00Aa[\"{CGDlCGEf}\",[]]11Aa[\"{CGDlCGF`}\",[]]2Aa[\"{CHAhBLAd}\",[]]Aa[\"{BHF`BLAd}\",[]]4C`[\"{{{BJI`{CGDn}}{BJI`{G@fc}}}AAGnAFOl}\",[\"__H\"]]C`[\"{{{BJI`{CHF`}}{BJI`{G@fc}}}AAGnAFOl}\",[\"__H\"]]Bn[\"{{{BJI`{BHBn}}{BJI`{G@fc}}}AAGnAFOl}\",[\"H\"]]C`[\"{{{BJI`{BACb}}{BJI`{G@fc}}}AAGnAFOl}\",[\"__H\"]]C`[\"{{{BJI`{BAE`}}{BJI`{G@fc}}}AAGnAFOl}\",[\"__H\"]]C`[\"{{{BJI`{AGEb}}{BJI`{G@fc}}}AAGnAFOl}\",[\"__H\"]]C`[\"{{{BJI`{AGDd}}{BJI`{G@fc}}}AAGnAFOl}\",[\"__H\"]]Bn[\"{{{BJI`{AGBb}}{BJI`{G@fc}}}AAGnAFOl}\",[\"H\"]]C`[\"{{{BJI`{BKLb}}{BJI`{G@fc}}}AAGnAFOl}\",[\"__H\"]]C`[\"{{{BJI`{CIHd}}{BJI`{G@fc}}}AAGnAFOl}\",[\"__H\"]]C`[\"{{{BJI`{CDK`}}{BJI`{G@fc}}}AAGnAFOl}\",[\"__H\"]]Bo[\"{{{BJI`{GLb}}{BJI`{G@fc}}}AAGnAFOl}\",[\"__H\"]]Bo[\"{{{BJI`{BGl}}{BJI`{G@fc}}}AAGnAFOl}\",[\"__H\"]]C`[\"{{{BJI`{BACl}}{BJI`{G@fc}}}AAGnAFOl}\",[\"__H\"]]C`[\"{{{BJI`{CGE`}}{BJI`{G@fc}}}AAGnAFOl}\",[\"__H\"]]C`[\"{{{BJI`{CHFb}}{BJI`{G@fc}}}AAGnAFOl}\",[\"__H\"]]Bn[\"{{{BJI`{BHC`}}{BJI`{G@fc}}}AAGnAFOl}\",[\"H\"]]C`[\"{{{BJI`{BACd}}{BJI`{G@fc}}}AAGnAFOl}\",[\"__H\"]]C`[\"{{{BJI`{BAEb}}{BJI`{G@fc}}}AAGnAFOl}\",[\"__H\"]]Aa[\"{AFNlAGAn}\",[]]o[\"{{}AFLl}\",[]]0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Df[\"{{cB@Ob}{{AGCb{{CMCd{c}}}}}{GL`{AGA`{}{{ACI`{CGBl}}}}}}\",[\"Loader\"]]111111111111111111111111111111111111Aa[\"{{}c{}}\",[\"U\"]]0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000A`[\"{CDMfBGh}\",[]]0Ck[\"{{{BJI`{CGGf}}}{{`{{BAAd{}{{GIl{{BJI`{BABd}}}}}}}}}}\",[]]Dd[\"{{{BJI`{{CIL`{c}}}}}{{`{{BAAd{}{{GIl{{BJI`{c}}}}}}}}}BLDh}\",[\"E\"]]Db[\"{{{BJI`{CHFd}}}{{`{{BAAd{}{{GIl{{BJI`{{AFIl{BFl}}}}}}}}}}}}\",[]]Bg[\"{c{{AGCf{AFNl}}}{{ACCd{GJh}}}}\",[\"\"]]o[\"{{}AAGn}\",[]]Bl[\"{{{BJI`{CJOh}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]Bl[\"{{{BJI`{CIKj}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]Bl[\"{{{BJI`{CMIf}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]Bl[\"{{{BJI`{BLA`}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]Bl[\"{{{BJI`{CMHb}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]Bl[\"{{{BJI`{CIHh}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]Bl[\"{{{BJI`{BLAl}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]A`[\"{BHBjGJ`}\",[]]A`[\"{AGEdGJ`}\",[]]A`[\"{CJN`GJ`}\",[]]A`[\"{BA@dGJ`}\",[]]A`[\"{CDJjGJ`}\",[]]A`[\"{CDJfGJ`}\",[]]A`[\"{B@OfGJ`}\",[]]A`[\"{CN@fGJ`}\",[]]A`[\"{BHAbGJ`}\",[]]o[\"{GLhGJ`}\",[]]A`[\"{CLKnGJ`}\",[]]A`[\"{CIFjGJ`}\",[]]A`[\"{BHAhGJ`}\",[]]o[\"{GMfGJ`}\",[]]A`[\"{CKA`GJ`}\",[]]A`[\"{CH@lGJ`}\",[]]o[\"{GLjGJ`}\",[]]Bl[\"{{{BJI`{BLCj}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]Bl[\"{{{BJI`{CMOd}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]Bl[\"{{{BJI`{BGLd}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]Bl[\"{{{BJI`{CJLd}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]Bl[\"{{{BJI`{CNIn}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]Bl[\"{{{BJI`{CNDb}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]Bl[\"{{{BJI`{CGCn}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]Bl[\"{{{BJI`{BGLj}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]A`[\"{AMHhGJ`}\",[]]A`[\"{BKJ`GJ`}\",[]]A`[\"{BKK`GJ`}\",[]]A`[\"{CJLjGJ`}\",[]]A`[\"{CDNlGJ`}\",[]]A`[\"{CLLjGJ`}\",[]]A`[\"{BACfGJ`}\",[]]A`[\"{AGAhGJ`}\",[]]A`[\"{CJLlGJ`}\",[]]A`[\"{CLI`GJ`}\",[]]A`[\"{COBfGJ`}\",[]]A`[\"{CJOlGJ`}\",[]]A`[\"{BKObGJ`}\",[]]A`[\"{BGNdGJ`}\",[]]A`[\"{CDMjGJ`}\",[]]A`[\"{BH@nGJ`}\",[]]A`[\"{ACFjGJ`}\",[]]A`[\"{COBhGJ`}\",[]]A`[\"{CJOnGJ`}\",[]]Bl[\"{{{BJI`{CDHd}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]A`[\"{BKJbGJ`}\",[]]A`[\"{BKKbGJ`}\",[]]A`[\"{CO@fGJ`}\",[]]A`[\"{BL@`GJ`}\",[]]o[\"{GLlGJ`}\",[]]A`[\"{CMOjGJ`}\",[]]Bl[\"{{{BJI`{CHB`}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]Bl[\"{{{BJI`{CHAd}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]Bl[\"{{{BJI`{CNMb}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]A`[\"{CLKnGJ`}\",[]]A`[\"{CIFjGJ`}\",[]]A`[\"{BHAhGJ`}\",[]]o[\"{GMfGJ`}\",[]]A`[\"{CKA`GJ`}\",[]]A`[\"{CH@lGJ`}\",[]]A`[\"{CNEdGJ`}\",[]]A`[\"{CJNlGJ`}\",[]]A`[\"{CMHfGJ`}\",[]]A`[\"{CHClGJ`}\",[]]A`[\"{BKNdGJ`}\",[]]Bl[\"{{{BJI`{CJOj}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]Bl[\"{{{BJI`{CIKl}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]Bl[\"{{{BJI`{CMIh}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]A`[\"{CMOhGJ`}\",[]]Bl[\"{{{BJI`{BHEb}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]Bl[\"{{{BJI`{BHD`}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]Bl[\"{{{BJI`{CGD`}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]Bl[\"{{{BJI`{BGN`}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]A`[\"{BABfGJ`}\",[]]A`[\"{CDNdGJ`}\",[]]A`[\"{CDNbGJ`}\",[]]A`[\"{CNDlGJ`}\",[]]A`[\"{CDJ`GJ`}\",[]]A`[\"{CN@bGJ`}\",[]]A`[\"{CJMnGJ`}\",[]]A`[\"{BHFfGJ`}\",[]]A`[\"{BGOhGJ`}\",[]]o[\"{GHjGJ`}\",[]]A`[\"{CO@nGJ`}\",[]]A`[\"{AMN`GJ`}\",[]]A`[\"{CNElGJ`}\",[]]A`[\"{CDL`GJ`}\",[]]o[\"{BIlGJ`}\",[]]A`[\"{CMC`GJ`}\",[]]o[\"{BGnGJ`}\",[]]A`[\"{AMLnGJ`}\",[]]n[\"{AdGJ`}\",[]]A`[\"{BKNjGJ`}\",[]]A`[\"{CODnGJ`}\",[]]A`[\"{CKAnGJ`}\",[]]A`[\"{CGGlGJ`}\",[]]A`[\"{COEbGJ`}\",[]]A`[\"{CNNbGJ`}\",[]]Bl[\"{{{BJI`{BLDf}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]Bl[\"{{{BJI`{CKBn}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]A`[\"{AMJjGJ`}\",[]]A`[\"{CNOjGJ`}\",[]]A`[\"{BH@`GJ`}\",[]]A`[\"{CNMlGJ`}\",[]]A`[\"{CHEjGJ`}\",[]]A`[\"{BH@fGJ`}\",[]]A`[\"{BHCbGJ`}\",[]]A`[\"{CILdGJ`}\",[]]A`[\"{CJKjGJ`}\",[]]A`[\"{CDLbGJ`}\",[]]A`[\"{CJKfGJ`}\",[]]Bl[\"{{{BJI`{CIIj}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]A`[\"{CHFfGJ`}\",[]]A`[\"{CLLfGJ`}\",[]]Bl[\"{{{BJI`{ACFb}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]A`[\"{CKCjGJ`}\",[]]A`[\"{CHBlGJ`}\",[]]A`[\"{ACHbGJ`}\",[]]A`[\"{CIIbGJ`}\",[]]A`[\"{CLIhGJ`}\",[]]A`[\"{CGFjGJ`}\",[]]A`[\"{CLIdGJ`}\",[]]A`[\"{COKjGJ`}\",[]]A`[\"{BADfGJ`}\",[]]Bl[\"{{{BJI`{ACFd}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]A`[\"{CNOnGJ`}\",[]]A`[\"{BHFhGJ`}\",[]]A`[\"{CHFhGJ`}\",[]]A`[\"{CIIdGJ`}\",[]]A`[\"{CLKbGJ`}\",[]]A`[\"{CNAfGJ`}\",[]]A`[\"{CNDhGJ`}\",[]]Bl[\"{{{BJI`{ACF`}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]A`[\"{AMHfGJ`}\",[]]A`[\"{BKJjGJ`}\",[]]A`[\"{BHFbGJ`}\",[]]Bl[\"{{{BJI`{B@O`}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]Bl[\"{{{BJI`{CDKj}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]Ch[\"{{{BJI`{{CIL`{c}}}}}{{AGAn{{BJI`{GJ`}}}}}BLDh}\",[\"E\"]]A`[\"{AMM`GJ`}\",[]]A`[\"{BKOjGJ`}\",[]]A`[\"{CDMfGJ`}\",[]]A`[\"{CDKlGJ`}\",[]]A`[\"{AMLbGJ`}\",[]]A`[\"{CJNfGJ`}\",[]]A`[\"{BL@fGJ`}\",[]]A`[\"{CGG`GJ`}\",[]]Bl[\"{{{BJI`{CHBb}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]Bl[\"{{{BJI`{CHAh}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]Bl[\"{{{BJI`{CNMd}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]Bl[\"{{{BJI`{BLAd}}}{{AGAn{{BJI`{GJ`}}}}}}\",[]]A`[\"{CLKlGJ`}\",[]]A`[\"{CIFhGJ`}\",[]]A`[\"{BHAfGJ`}\",[]]o[\"{GMdGJ`}\",[]]A`[\"{CK@nGJ`}\",[]]A`[\"{CH@jGJ`}\",[]]A`[\"{CNEbGJ`}\",[]]A`[\"{CJNjGJ`}\",[]]A`[\"{CMHdGJ`}\",[]]A`[\"{CHCjGJ`}\",[]]A`[\"{BKNbGJ`}\",[]]Bd[\"{{{BJI`{CIJj}}}{{BJI`{GEn}}}}\",[]]Bd[\"{{{BJI`{CLIn}}}{{BJI`{GEn}}}}\",[]]Bd[\"{{{BJI`{CGHb}}}{{BJI`{GEn}}}}\",[]]Bd[\"{{{BJI`{CJMj}}}{{BJI`{GEn}}}}\",[]]Bd[\"{{{BJI`{CLJ`}}}{{BJI`{GEn}}}}\",[]]Aa[\"{BGNbAGDl}\",[]]Aa[\"{BAAjAGDl}\",[]]Bd[\"{{{BJI`{AMJl}}}{{BJI`{GEn}}}}\",[]]Bd[\"{{{BJI`{AMK`}}}{{BJI`{GEn}}}}\",[]]Bd[\"{{{BJI`{CGHd}}}{{BJI`{GEn}}}}\",[]]Fd[\"{{{BJI`{AMGh}}{BJI`{G@f{AFIl{BFl}}}}{BJI`{{AFIl{BFl}}}}}{{AGCb{{BJI`{G@f{AFIl{BFl}}}}CDIb}}}}\",[]]Dh[\"{{{BJI`{{AMNd{}{{ACI`{c}}}}}}}{{BJI`{c}}}{ACCnn}}\",[\"Watcher::Value\"]]A`[\"{BKMhGGb}\",[]]Cc[\"{{{BId{{BJI`{G@fAMKd}}}}{BJI`{G@fAMHn}}}GKf}\",[]]Cc[\"{{{BId{{BJI`{G@fAGAl}}}}{BJI`{G@fAMHn}}}GKf}\",[]]Cc[\"{{{BId{{BJI`{G@fBGKl}}}}{BJI`{G@fAMHn}}}GKf}\",[]]Cc[\"{{{BId{{BJI`{G@fB@Md}}}}{BJI`{G@fAMHn}}}GKf}\",[]]Cc[\"{{{BId{{BJI`{G@fCGH`}}}}{BJI`{G@fAMHn}}}GKf}\",[]]Cc[\"{{{BId{{BJI`{G@fCGHj}}}}{BJI`{G@fAMHn}}}GKf}\",[]]Dl[\"{{{BId{{BJI`{G@fAFMh}}}}{BJI`{G@fAMHn}}}{{GKf{c}}}{}}\",[\"Future::Output\"]]Dl[\"{{{BId{{BJI`{G@fBKJh}}}}{BJI`{G@fAMHn}}}{{GKf{c}}}{}}\",[\"Future::Output\"]]Dl[\"{{{BId{{BJI`{G@fBGKn}}}}{BJI`{G@fAMHn}}}{{GKf{c}}}{}}\",[\"Future::Output\"]]A`[\"{BGNlGFn}\",[]]A`[\"{BKMlGFn}\",[]]A`[\"{CDJnGFn}\",[]]A`[\"{CKBfGFn}\",[]]Aa[\"{CDLnAGAn}\",[]]Aa[\"{CDM`AGAn}\",[]]Aa[\"{CGI`AGAn}\",[]]Dj[\"{{{BJI`{G@fBLBj}}{BJI`{G@f{AFIl{BFl}}}}}{{AGCb{{AGAn{AFLl}}BHCh}}}}\",[]]Cb[\"{{GLb{BJI`{G@fc}}}{{AGCb{CNAdACEj}}}BGj}\",[\"R\"]]Aa[\"{BGNlAGAn}\",[]]Ea[\"{{{BJI`{AMGh}}{BJI`{G@f{BJj{BFl}}}}{BJI`{{AFIl{BFl}}}}}{{AGCb{AAGnCDIb}}}}\",[]]Bn[\"{{{BJI`{G@fCNJb}}GG`}{{BJI`{G@fCNJb}}}}\",[]]Bb[\"{{{BJI`{{BKKl{CMGn}}}}}GLb}\",[]]Aj[\"{{{BJI`{CIGh}}}GLb}\",[]]Bn[\"{{{BJI`{BHDl}}{BJI`{{AFIl{BFl}}}}}BHEf}\",[]]Bn[\"{{{BJI`{BHDn}}{BJI`{{AFIl{BFl}}}}}BHEh}\",[]]A`[\"{CILhGGb}\",[]]Aa[\"{CNDlAFLl}\",[]]C`[\"{{{BJI`{G@fBLBj}}AGEb}{{AGCb{AAGnCGCf}}}}\",[]]C`[\"{{{BJI`{G@fCNAj}}AGEb}{{AGCb{AAGnCGCf}}}}\",[]]Aa[\"{CILhB@Ob}\",[]]Bi[\"{{{BJI`{BABl}}}c{{CGFb{BACb}}}}\",[\"T\"]]Bi[\"{{{BJI`{BABn}}}c{{CGFb{BAC`}}}}\",[\"T\"]]Aa[\"{{}c{}}\",[\"V\"]]0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Aa[\"{CGDnB@Ml}\",[]]Ck[\"{{{BJI`{CGEd}}}{{`{{BAAd{}{{GIl{{BJI`{CHF`}}}}}}}}}}\",[]]Ck[\"{{{BJI`{BLBl}}}{{`{{BAAd{}{{GIl{{BJI`{CMCl}}}}}}}}}}\",[]]Aa[\"{CGE`B@Ml}\",[]]Ck[\"{{{BJI`{CGEf}}}{{`{{BAAd{}{{GIl{{BJI`{CHEn}}}}}}}}}}\",[]]Bd[\"{{AMH`{BJj{{BJj{BFl}}}}}AMH`}\",[]]Ag[\"{{AGBfAMH`}AMH`}\",[]]Ae[\"{{B`AMH`}AMH`}\",[]]Aa[\"{CN@`CGDj}\",[]]Ag[\"{{CNIjBHDl}CIJh}\",[]]Aa[\"{CNFbCHDn}\",[]]Ao[\"{AMGn{{AGCb{CGDfCMHb}}}}\",[]]Be[\"{{CNF`BKLn}{{AGCb{CHDhCMHb}}}}\",[]]Bj[\"{{{BGf{CMAn}}AMJdGFn}{{BGh{BKL`}}}}\",[]]Aa[\"{COFjCNA`}\",[]]Aa[\"{CNAbCGHn}\",[]]Aa[\"{AMHbCDIn}\",[]]Aa[\"{ACClACCj}\",[]]A`[\"{BADlGGb}\",[]]Aa[\"{AMNfAFLl}\",[]]A`[\"{AGAbBJj}\",[]]Ak[\"{{{BJI`{CGDn}}}CGDn}\",[]]Ak[\"{{{BJI`{CHF`}}}CHF`}\",[]]Ak[\"{{{BJI`{BHBn}}}BHBn}\",[]]Ak[\"{{{BJI`{BHDl}}}BHDl}\",[]]Ak[\"{{{BJI`{BHEf}}}BHEf}\",[]]Ak[\"{{{BJI`{BACb}}}BACb}\",[]]Ak[\"{{{BJI`{BABl}}}BABl}\",[]]Ak[\"{{{BJI`{CDLn}}}CDLn}\",[]]Ak[\"{{{BJI`{BH@l}}}BH@l}\",[]]Ak[\"{{{BJI`{CJMj}}}CJMj}\",[]]Ak[\"{{{BJI`{CGEd}}}CGEd}\",[]]Ak[\"{{{BJI`{BAE`}}}BAE`}\",[]]Ak[\"{{{BJI`{CGEn}}}CGEn}\",[]]Ak[\"{{{BJI`{CIHh}}}CIHh}\",[]]Ak[\"{{{BJI`{CHAj}}}CHAj}\",[]]Ak[\"{{{BJI`{CMOf}}}CMOf}\",[]]Ak[\"{{{BJI`{CIJh}}}CIJh}\",[]]Ak[\"{{{BJI`{CHDn}}}CHDn}\",[]]Ak[\"{{{BJI`{CLJh}}}CLJh}\",[]]Ak[\"{{{BJI`{CGDf}}}CGDf}\",[]]Ak[\"{{{BJI`{CILb}}}CILb}\",[]]Ak[\"{{{BJI`{CHDh}}}CHDh}\",[]]Ak[\"{{{BJI`{CIHl}}}CIHl}\",[]]Ak[\"{{{BJI`{CDIl}}}CDIl}\",[]]Ak[\"{{{BJI`{CMCf}}}CMCf}\",[]]Ak[\"{{{BJI`{CIKd}}}CIKd}\",[]]Ak[\"{{{BJI`{BHCh}}}BHCh}\",[]]Ak[\"{{{BJI`{BLBn}}}BLBn}\",[]]Ak[\"{{{BJI`{CIKb}}}CIKb}\",[]]Ak[\"{{{BJI`{BLEb}}}BLEb}\",[]]Ak[\"{{{BJI`{CGIh}}}CGIh}\",[]]Ak[\"{{{BJI`{BLBl}}}BLBl}\",[]]Ak[\"{{{BJI`{CMCl}}}CMCl}\",[]]Ak[\"{{{BJI`{CMJf}}}CMJf}\",[]]Ak[\"{{{BJI`{CNAd}}}CNAd}\",[]]Ak[\"{{{BJI`{AGEb}}}AGEb}\",[]]Ak[\"{{{BJI`{CNFd}}}CNFd}\",[]]Ak[\"{{{BJI`{CGGf}}}CGGf}\",[]]Ak[\"{{{BJI`{BABd}}}BABd}\",[]]Ak[\"{{{BJI`{AGDd}}}AGDd}\",[]]Ak[\"{{{BJI`{AGBb}}}AGBb}\",[]]Ak[\"{{{BJI`{CGHh}}}CGHh}\",[]]Ak[\"{{{BJI`{BADl}}}BADl}\",[]]Ak[\"{{{BJI`{BKMh}}}BKMh}\",[]]Ak[\"{{{BJI`{BHBd}}}BHBd}\",[]]Ak[\"{{{BJI`{CJMh}}}CJMh}\",[]]Ak[\"{{{BJI`{AMNf}}}AMNf}\",[]]Ak[\"{{{BJI`{CGCf}}}CGCf}\",[]]Ak[\"{{{BJI`{CKCf}}}CKCf}\",[]]Ak[\"{{{BJI`{BKLb}}}BKLb}\",[]]Ak[\"{{{BJI`{CIHd}}}CIHd}\",[]]Ak[\"{{{BJI`{CMOd}}}CMOd}\",[]]Ak[\"{{{BJI`{CJLd}}}CJLd}\",[]]Ak[\"{{{BJI`{CHG`}}}CHG`}\",[]]Ch[\"{{{BJI`{{BKKl{c}}}}}{{BKKl{c}}}{ACCnCJMf}}\",[\"State\"]]Ak[\"{{{BJI`{CMGn}}}CMGn}\",[]]Ak[\"{{{BJI`{CJMl}}}CJMl}\",[]]Ak[\"{{{BJI`{CKAh}}}CKAh}\",[]]Ak[\"{{{BJI`{CNIn}}}CNIn}\",[]]Ak[\"{{{BJI`{CIGh}}}CIGh}\",[]]Ak[\"{{{BJI`{COFj}}}COFj}\",[]]Ak[\"{{{BJI`{CNA`}}}CNA`}\",[]]Ak[\"{{{BJI`{CNAb}}}CNAb}\",[]]Ak[\"{{{BJI`{CGHn}}}CGHn}\",[]]Ak[\"{{{BJI`{B@On}}}B@On}\",[]]Ak[\"{{{BJI`{CJMd}}}CJMd}\",[]]Ak[\"{{{BJI`{CIGf}}}CIGf}\",[]]Ak[\"{{{BJI`{BHDd}}}BHDd}\",[]]Ak[\"{{{BJI`{CMFn}}}CMFn}\",[]]Ak[\"{{{BJI`{CMHn}}}CMHn}\",[]]Ak[\"{{{BJI`{CDK`}}}CDK`}\",[]]Ak[\"{{{BJI`{CNJb}}}CNJb}\",[]]Ak[\"{{{BJI`{BGOd}}}BGOd}\",[]]Ak[\"{{{BJI`{CJLh}}}CJLh}\",[]]Ak[\"{{{BJI`{CLH`}}}CLH`}\",[]]Ak[\"{{{BJI`{CLJj}}}CLJj}\",[]]Ak[\"{{{BJI`{CILl}}}CILl}\",[]]Ak[\"{{{BJI`{CMJh}}}CMJh}\",[]]Ai[\"{{{BJI`{GLb}}}GLb}\",[]]Ai[\"{{{BJI`{BGl}}}BGl}\",[]]Ak[\"{{{BJI`{BACl}}}BACl}\",[]]Ag[\"{{{BJI`{B`}}}B`}\",[]]Ak[\"{{{BJI`{AGCh}}}AGCh}\",[]]Ch[\"{{{BJI`{{CDHf{c}}}}}{{CDHf{c}}}{ACCnCKAlACCn}}\",[\"P\"]]Ak[\"{{{BJI`{CHEd}}}CHEd}\",[]]Ak[\"{{{BJI`{CGE`}}}CGE`}\",[]]Ak[\"{{{BJI`{CHFb}}}CHFb}\",[]]Ak[\"{{{BJI`{BHC`}}}BHC`}\",[]]Ak[\"{{{BJI`{BHDn}}}BHDn}\",[]]Ak[\"{{{BJI`{BHEh}}}BHEh}\",[]]Ak[\"{{{BJI`{BACd}}}BACd}\",[]]Ak[\"{{{BJI`{B@Nb}}}B@Nb}\",[]]Ai[\"{{{BJI`{BHn}}}BHn}\",[]]Ai[\"{{{BJI`{BI`}}}BI`}\",[]]Ak[\"{{{BJI`{BHFn}}}BHFn}\",[]]Ak[\"{{{BJI`{B@Mj}}}B@Mj}\",[]]Ak[\"{{{BJI`{CDN`}}}CDN`}\",[]]Ak[\"{{{BJI`{BGNl}}}BGNl}\",[]]Ak[\"{{{BJI`{BKLh}}}BKLh}\",[]]Ak[\"{{{BJI`{AFOj}}}AFOj}\",[]]Ak[\"{{{BJI`{CKBd}}}CKBd}\",[]]Ak[\"{{{BJI`{B@N`}}}B@N`}\",[]]Ak[\"{{{BJI`{BKMl}}}BKMl}\",[]]Ak[\"{{{BJI`{CDJn}}}CDJn}\",[]]Ak[\"{{{BJI`{BABn}}}BABn}\",[]]Ak[\"{{{BJI`{CDM`}}}CDM`}\",[]]Ak[\"{{{BJI`{CKBf}}}CKBf}\",[]]Ak[\"{{{BJI`{CH@d}}}CH@d}\",[]]Ak[\"{{{BJI`{CGHd}}}CGHd}\",[]]Ak[\"{{{BJI`{AFMj}}}AFMj}\",[]]Ak[\"{{{BJI`{CJL`}}}CJL`}\",[]]Ak[\"{{{BJI`{BGOf}}}BGOf}\",[]]Ak[\"{{{BJI`{CLK`}}}CLK`}\",[]]Ak[\"{{{BJI`{CLHf}}}CLHf}\",[]]Ak[\"{{{BJI`{BGMj}}}BGMj}\",[]]Ak[\"{{{BJI`{BLBb}}}BLBb}\",[]]Ak[\"{{{BJI`{AMHb}}}AMHb}\",[]]Ak[\"{{{BJI`{CDIj}}}CDIj}\",[]]Ak[\"{{{BJI`{CDIn}}}CDIn}\",[]]Ak[\"{{{BJI`{CHFd}}}CHFd}\",[]]Ak[\"{{{BJI`{CGEf}}}CGEf}\",[]]Ak[\"{{{BJI`{BAEb}}}BAEb}\",[]]Ak[\"{{{BJI`{CGF`}}}CGF`}\",[]]Cn[\"{{{BJI`{{BKKl{c}}}}AGEb{BJI`{{AFIl{BFl}}}}}AAGnCJMf}\",[\"T\"]]Ak[\"{{{BJI`{B@On}}}AAGn}\",[]]Aa[\"{CLHjAAGn}\",[]]Ca[\"{{{BJI`{CMGd}}GG`{BJI`{{AFIl{BFl}}}}}AAGn}\",[]]Am[\"{AFLl{{BJI`{c}}}{}}\",[\"T\"]]00Ak[\"{{{BJI`{BHBn}}}BJI`}\",[]]11111Ak[\"{{{BJI`{BACb}}}BJI`}\",[]]222222222222Ak[\"{{{BJI`{CGEn}}}BJI`}\",[]]3333Cc[\"{{{BJI`{CHAj}}}{{BJI`{c}}}{}}\",[\"Deref::Target\"]]444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444Cc[\"{{{BJI`{BHC`}}}{{BJI`{c}}}{}}\",[\"Deref::Target\"]]Cc[\"{{{BJI`{BACd}}}{{BJI`{c}}}{}}\",[\"Deref::Target\"]]666666666666666666666666Dd[\"{{{BJI`{{CMCd{c}}}}}{{BJI`{e}}}GL`{}}\",[\"Loader\",\"Deref::Target\"]]777777777777777777777777777777777Cc[\"{{{BJI`{CGF`}}}{{BJI`{c}}}{}}\",[\"Deref::Target\"]]88o[\"{{}BABl}\",[]]o[\"{{}CMOf}\",[]]Aa[\"{BHDdAMH`}\",[]]o[\"{{}BABn}\",[]]Aa[\"{CILlBKOf}\",[]]Aj[\"{{AMH`c}AMH`CHBd}\",[\"\"]]Aa[\"{AFNlAGAn}\",[]]A`[\"{BAClGGb}\",[]]Aj[\"{{{BJI`{CHF`}}}GOl}\",[]]Aj[\"{{{BJI`{BABd}}}GOl}\",[]]Aj[\"{{{BJI`{CHFb}}}GOl}\",[]]Aa[\"{CKA`AGDl}\",[]]0Aa[\"{CK@nAGDl}\",[]]Df[\"{{{BJI`{{BKKl{CMGn}}}}}{{`{{AMNd{}{{ACI`{CGGf}}}}ACHnGL`GLf}}}}\",[]]Cn[\"{{{BJI`{CIGh}}}{{`{{AMNd{}{{ACI`{CGGf}}}}ACHnGL`GLf}}}}\",[]]Ao[\"{{{BJI`{CDHn}}AFLl}AAGn}\",[]]Bf[\"{{{BJI`{ACHj}}{BJI`{GEn}}}AAGn}\",[]]Aa[\"{CGI`AGAn}\",[]]Ak[\"{{{BJI`{CDIl}}}AAGn}\",[]]C`[\"{{{BJI`{G@fBLCn}}AGEb}{{AGCb{AAGnCGCf}}}}\",[]]An[\"{{{BJI`{G@fBACj}}}AAGn}\",[]]Ak[\"{{{BJI`{CDIn}}}AAGn}\",[]]Ao[\"{BA@j{{AGCb{AAGnBLCj}}}}\",[]]Aa[\"{BGNlAGAn}\",[]]Aa[\"{CHEhAGCh}\",[]]Ba[\"{{BGNlBKLh}{{AGCf{BGNn}}}}\",[]]Cm[\"{{{AGAn{BKMl}}{AGAn{CDJn}}CKBdB@MjAMKj}{{AGCf{BKMn}}}}\",[]]Bl[\"{{AFNlBHFn{BGf{AMJl}}}{{AGCf{AGCl}}}}\",[]]Ch[\"{{{CGI`{ce}}}{{AGCb{AGCnBLDf}}}ACDbACDb}\",[\"EC\",\"EA\"]]Ao[\"{AFNh{{AFLh{CGC`BKIl}}}}\",[]]Aa[\"{CDKbBGL`}\",[]]Ak[\"{{{BJI`{BABd}}}BHBd}\",[]]Bg[\"{{{BJI`{{BKKl{c}}}}}CJMhCJMf}\",[\"T\"]]Be[\"{{{BJI`{CIGh}}}{{AGAn{CJMh}}}}\",[]]Ak[\"{{{BJI`{CMGd}}}AAGn}\",[]]o[\"{BHnGOl}\",[]]Aa[\"{B@MjBHFn}\",[]]Cg[\"{{{BJI`{G@fBLB`}}{AGAn{AGDl}}}{{BJI`{G@fBLB`}}}}\",[]]Ak[\"{{{BJI`{CMCl}}}CMJf}\",[]]Aa[\"{CNOnCDJd}\",[]]Co[\"{{{BJI`{G@fBLCn}}{BJI`{{AFIl{BFl}}}}}{{AGCb{AFLlBLEb}}}}\",[]]Bn[\"{{{BJI`{CNAd}}{BJI`{G@fc}}}AAGnAFNb}\",[\"W\"]]Ao[\"{BA@j{{AGCb{BGKnCJMd}}}}\",[]]o[\"{{}CNIb}\",[]]Ak[\"{{{BJI`{B@On}}}AFMh}\",[]]Dg[\"{{{BJI`{CKAl}}BKKl}{{`{{AFOh{}{{AGB`{{AGCb{AAGnCDHd}}}}}}GL`}}}}\",[]]Bo[\"{{{BJI`{CMGj}}BKKl}{{BId{{BGh{AFOh}}}}}}\",[]]Dc[\"{{CHEhce}CHEh{{ACCd{{AFIl{BFl}}}}}{{GId{{BGh{CMGj}}}}}}\",[\"\",\"\"]]Co[\"{{{BJI`{{CDHf{c}}}}BKKl}{{AGCb{AAGnCDHd}}}{CKAlACCn}}\",[\"P\"]]Bg[\"{{BJI`BKKl}{{BId{{BGh{AFOh}}}}}}\",[]]Aa[\"{CDMbCGBh}\",[]]Be[\"{{{BJI`{CJOh}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{CIKj}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{CMIf}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{BLA`}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{CMHb}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{CIHh}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{BLAl}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{BLCj}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{CMOd}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{BGLd}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{CJLd}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{CNIn}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{CNDb}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{CGCn}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{BGLj}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{CDHd}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{CHB`}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{CHAd}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{CNMb}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{CJOj}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{CIKl}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{CMIh}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{BHEb}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{BHD`}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{CGD`}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{BGN`}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{BLDf}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{CKBn}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{CIIj}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{ACFb}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{ACFd}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{ACF`}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{B@O`}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{CDKj}}}{{BJI`{BLDh}}}}\",[]]Ca[\"{{{BJI`{{CIL`{c}}}}}{{BJI`{BLDh}}}BLDh}\",[\"E\"]]Be[\"{{{BJI`{CHBb}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{CHAh}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{CNMd}}}{{BJI`{BLDh}}}}\",[]]Be[\"{{{BJI`{BLAd}}}{{BJI`{BLDh}}}}\",[]]Bl[\"{{{BJI`{BHBn}}}{{BJI`{{AFIl{BFl}}}}}}\",[]]Bd[\"{{{BJI`{BAE`}}}{{BJI`{GEn}}}}\",[]]Bl[\"{{{BJI`{BHC`}}}{{BJI`{{AFIl{BFl}}}}}}\",[]]Bd[\"{{{BJI`{BAEb}}}{{BJI`{GEn}}}}\",[]]Be[\"{{{BJI`{CJOh}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{CIKj}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{CMIf}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{BLA`}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{CMHb}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{CIHh}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{BLAl}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{BLCj}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{CMOd}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{BGLd}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{CJLd}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{CNIn}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{CNDb}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{CGCn}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{BGLj}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{CDHd}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{CHB`}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{CHAd}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{CNMb}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{CJOj}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{CIKl}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{CMIh}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{BHEb}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{BHD`}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{CGD`}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{BGN`}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{BLDf}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{CKBn}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{CIIj}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{ACFb}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{ACFd}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{ACF`}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{B@O`}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{CDKj}}}{{BJI`{ACDh}}}}\",[]]Ca[\"{{{BJI`{{CIL`{c}}}}}{{BJI`{ACDh}}}BLDh}\",[\"E\"]]Be[\"{{{BJI`{CHBb}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{CHAh}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{CNMd}}}{{BJI`{ACDh}}}}\",[]]Be[\"{{{BJI`{BLAd}}}{{BJI`{ACDh}}}}\",[]]Am[\"{BJI`{{BJI`{c}}}{}}\",[\"T\"]]0Bl[\"{{{BJI`{BHBn}}}{{BJI`{{ACJf{BFl}}}}}}\",[]]1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111Bl[\"{{{BJI`{BHC`}}}{{BJI`{{ACJf{BFl}}}}}}\",[]]22222222222222222222222222222222222222222222222222222222222222222222222222222222222Aa[\"{AMNfAFLl}\",[]]A`[\"{CDNjGGb}\",[]]A`[\"{CILhGGb}\",[]]Ag[\"{{AMGnAFNd}AMGn}\",[]]Bl[\"{{CGDl{AGAn{BAC`}}BHn}{{AGCf{CDHn}}}}\",[]]Bd[\"{{BLDbCIGbBHn}{{AGCf{CDHn}}}}\",[]]Bg[\"{{{BJI`{{BKKl{c}}}}}CJMdCJMf}\",[\"T\"]]Ca[\"{{{BJI`{CIGh}}}{{AGAn{{AFLh{CJMdCJMh}}}}}}\",[]]Ak[\"{{}{{AFNj{c}}}{}}\",[\"T\"]]0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Bl[\"{{{BJI`{CHEd}}c}{{AGCf{CNA`}}}BAD`}\",[\"\"]]A`[\"{BFlCMJh}\",[]]A`[\"{BKMhGGb}\",[]]Aa[\"{CILlAGAn}\",[]]Ad[\"{cCDIlBACj}\",[\"\"]]Bg[\"{cBHDd{{CGFh{}{{GIl{BACb}}}}}}\",[\"\"]]Ad[\"{cCDInBACj}\",[\"\"]]Bo[\"{{{BJI`{G@fc}}}{{AGCb{AGEbCHFj}}}BGj}\",[\"B\"]]Bo[\"{{{BJI`{G@fc}}}{{AGCb{AGBbCHFj}}}BGj}\",[\"B\"]]Bo[\"{{{BJI`{G@fc}}}{{AGCb{BGOdCHFj}}}BGj}\",[\"B\"]]Bo[\"{{{BJI`{G@fc}}}{{AGCb{CMJhCHFj}}}BGj}\",[\"B\"]]Bo[\"{{{BJI`{G@fc}}}{{AGCb{BAClCHFj}}}BGj}\",[\"B\"]]Bn[\"{{{BJI`{AGEb}}{BJI`{G@fc}}}AAGnAFNb}\",[\"B\"]]Bn[\"{{{BJI`{AGBb}}{BJI`{G@fc}}}AAGnAFNb}\",[\"B\"]]Bn[\"{{{BJI`{BGOd}}{BJI`{G@fc}}}AAGnAFNb}\",[\"B\"]]Bn[\"{{{BJI`{CMJh}}{BJI`{G@fc}}}AAGnAFNb}\",[\"B\"]]Bn[\"{{{BJI`{BACl}}{BJI`{G@fc}}}AAGnAFNb}\",[\"B\"]]Bg[\"{{{BJI`{BABl}}{BJI`{BABl}}}AAGn}\",[]]Bg[\"{{{BJI`{BABn}}{BJI`{BABn}}}AAGn}\",[]]Bl[\"{{{BJI`{G@fBLCn}}}{{AGCb{AAGnCGCf}}}}\",[]]Ck[\"{{{BJI`{CJMj}}}{{`{{BAAd{}{{GIl{{BJI`{CGGd}}}}}}}}}}\",[]]Ck[\"{{{BJI`{CGHd}}}{{`{{BAAd{}{{GIl{{BJI`{CGGd}}}}}}}}}}\",[]]A`[\"{GInAMJf}\",[]]Aa[\"{BA@jAAGn}\",[]]Ck[\"{{{BJI`{BABl}}BACb{BGf{CDLn}}}{{AGAn{{BGf{CDLn}}}}}}\",[]]k[\"{{}}\",[]]Ck[\"{{{BJI`{BABn}}BAC`{BGf{CDM`}}}{{AGAn{{BGf{CDM`}}}}}}\",[]]Af[\"{{AMH`GOl}AMH`}\",[]]Aa[\"{CDMbAG@n}\",[]]o[\"{{}CN@`}\",[]]o[\"{{}CNIj}\",[]]o[\"{{}CNFb}\",[]]A`[\"{ACClGGb}\",[]]Ch[\"{{{BJI`{G@fBKL`}}AMJdAMJdGGbGOl{BJI`{CGHh}}}AAGn}\",[]]0Ak[\"{{{BJI`{B@On}}}AAGn}\",[]]>>>Ak[\"{{}{{AGCb{c}}}{}}\",[\"U\"]]0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Ce[\"{{{BId{{BJI`{G@fc}}}}{BJI`{G@fAMHn}}}GKf{}}\",[\"F\"]]0000000o[\"{BHnGOl}\",[]]Bg[\"{{{BJI`{{BKKl{c}}}}}B@MdCJMf}\",[\"T\"]]Ch[\"{{{BJI`{G@fCGEd}}c}AAGn{{CGFh{}{{GIl{CHF`}}}}}}\",[\"\"]]Ch[\"{{{BJI`{G@fCGEf}}c}AAGn{{CGFh{}{{GIl{CHEn}}}}}}\",[\"\"]]Bf[\"{{{BJI`{CMOf}}{BGh{BGNj}}}AAGn}\",[]]Af[\"{{CNF`GOl}CNF`}\",[]]o[\"{AhBLDb}\",[]]Aa[\"{CHDjAGAn}\",[]]Aa[\"{BGNlAGAn}\",[]]Aa[\"{BKMlAGAn}\",[]]Aa[\"{CDJnAGAn}\",[]]Aa[\"{BLBdBLDb}\",[]]Aa[\"{CIJbAGAn}\",[]]Aa[\"{CDJnB@N`}\",[]]Aa[\"{AG@nAGAn}\",[]]Bd[\"{{{BJI`{BKL`}}}{{BGh{BKL`}}}}\",[]]A`[\"{BADlGGb}\",[]]Aa[\"{BGMbBGMj}\",[]]Aa[\"{BGMdBGMj}\",[]]B`[\"{AFLl{{BJI`{G@fc}}}{}}\",[\"T\"]]0000000000000000000Bg[\"{{{BJI`{G@fCGEn}}}{{BJI`{G@f}}}}\",[]]1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111Ci[\"{{{BJI`{G@fCGF`}}}{{BJI`{G@fc}}}{}}\",[\"Deref::Target\"]]22Aj[\"{{AMH`c}AMH`CHCh}\",[\"\"]]Be[\"{{{BJI`{B@On}}}{{BJI`{CMOf}}}}\",[]]Ao[\"{{{BJI`{CIHn}}BHDl}CMOf}\",[]]Bi[\"{{{BJI`{CIJj}}AFLl}{{AGAn{BKOh}}}}\",[]]Bi[\"{{{BJI`{CLIn}}AFLl}{{AGAn{BKOh}}}}\",[]]Bi[\"{{{BJI`{CGHb}}AFLl}{{AGAn{BKOh}}}}\",[]]Bi[\"{{{BJI`{CLJ`}}AFLl}{{AGAn{BKOh}}}}\",[]]Bi[\"{{{BJI`{AMJl}}AFLl}{{AGAn{BKOh}}}}\",[]]Bi[\"{{{BJI`{AMK`}}AFLl}{{AGAn{BKOh}}}}\",[]]Bb[\"{{{BJI`{BHBn}}}{{`{AMIh}}}}\",[]]Bb[\"{{{BJI`{BHC`}}}{{`{AMIh}}}}\",[]]Aa[\"{CHBlAFLl}\",[]]Bh[\"{cBABl{{CGFh{}{{GIl{BACb}}}}}}\",[\"T\"]]Bo[\"{cBABl{{CGFh{}{{GIl{{BGf{CDLn}}}}}}}}\",[\"T\"]]Bh[\"{cBABl{{CGFh{}{{GIl{CDLn}}}}}}\",[\"T\"]]Bh[\"{cBABn{{CGFh{}{{GIl{CDM`}}}}}}\",[\"T\"]]Bo[\"{cBABn{{CGFh{}{{GIl{{BGf{CDM`}}}}}}}}\",[\"T\"]]Bh[\"{cBABn{{CGFh{}{{GIl{BAC`}}}}}}\",[\"T\"]]Cf[\"{cCHFd{{CGFh{}{{GIl{{BGh{{AFIl{BFl}}}}}}}}}}\",[\"T\"]]Aa[\"{BH@lAGAn}\",[]]0Aj[\"{{{BJI`{CGEd}}}GOl}\",[]]Aj[\"{{{BJI`{CGEf}}}GOl}\",[]]Be[\"{{{BJI`{BKMn}}}{{AGAn{BLDb}}}}\",[]]Be[\"{{{BJI`{AGCn}}}{{AGAn{BLDb}}}}\",[]]Be[\"{{{BJI`{AGCn}}}{{AGAn{BAC`}}}}\",[]]k[\"{{}}\",[]]A`[\"{BAClGLb}\",[]]Ao[\"{BKJh{{AGCb{CODjBKJh}}}}\",[]]Aa[\"{BGKnCODd}\",[]]Aa[\"{CMClCHF`}\",[]]Bh[\"{CGGfc{}}\",[\"IntoIterator::IntoIter\"]]o[\"{GLbGOl}\",[]]Aj[\"{{{BJI`{B@On}}}GOl}\",[]]1A`[\"{CJMjBGf}\",[]]A`[\"{BKMhGGb}\",[]]0A`[\"{CIHnBJh}\",[]]Eb[\"{{{BId{{BJI`{G@fAFNh}}}}{BJI`{G@fAMHn}}}{{GKf{{AGAn{c}}}}}{}}\",[\"Stream::Item\"]]Eb[\"{{{BId{{BJI`{G@fCGC`}}}}{BJI`{G@fAMHn}}}{{GKf{{AGAn{c}}}}}{}}\",[\"Stream::Item\"]]Eh[\"{{{BJI`{G@fBLBj}}{BJI`{G@fAMHn}}{BJI`{G@f{AFIl{BFl}}}}}{{GKf{{AGCb{AFLlBHCh}}}}}}\",[]]Eh[\"{{{BId{{BJI`{G@fBLBj}}}}{BJI`{G@fAMHn}}{BJI`{G@fAMKn}}}{{GKf{{AGCb{AAGnACDj}}}}}}\",[]]Af[\"{{AMH`BJh}AMH`}\",[]]Af[\"{{CH@dBJh}CH@d}\",[]]A`[\"{CKAnBJh}\",[]]Be[\"{{{BJI`{AGCn}}}{{AGAn{BLDb}}}}\",[]]9Ak[\"{{{BJI`{BHDd}}}BABl}\",[]]Aa[\"{ACGdBABl}\",[]]Ak[\"{{{BJI`{BKJh}}}BKLn}\",[]]Bc[\"{{{BJI`{{BKKl{CMGn}}}}}BKLn}\",[]]Ak[\"{{{BJI`{CIGh}}}BKLn}\",[]]Aj[\"{BHn{{AGCf{AAGn}}}}\",[]]Aa[\"{CLInAMI`}\",[]]0Aa[\"{CGHbAMI`}\",[]]Aa[\"{AMK`AMI`}\",[]]Be[\"{{{BJI`{CGDn}}c}AGCbBLD`}\",[\"__S\"]]Be[\"{{{BJI`{CHF`}}c}AGCbBLD`}\",[\"__S\"]]Bc[\"{{{BJI`{BHBn}}c}AGCbBLD`}\",[\"S\"]]Bc[\"{{{BJI`{BHDl}}c}AGCbBLD`}\",[\"S\"]]Bc[\"{{{BJI`{BHEf}}c}AGCbBLD`}\",[\"S\"]]Be[\"{{{BJI`{BACb}}c}AGCbBLD`}\",[\"__S\"]]Be[\"{{{BJI`{CDLn}}c}AGCbBLD`}\",[\"__S\"]]Be[\"{{{BJI`{BH@l}}c}AGCbBLD`}\",[\"__S\"]]Be[\"{{{BJI`{CIJj}}c}AGCbBLD`}\",[\"__S\"]]Be[\"{{{BJI`{CLIn}}c}AGCbBLD`}\",[\"__S\"]]Be[\"{{{BJI`{CJMj}}c}AGCbBLD`}\",[\"__S\"]]Be[\"{{{BJI`{CLJ`}}c}AGCbBLD`}\",[\"__S\"]]Be[\"{{{BJI`{AGDd}}c}AGCbBLD`}\",[\"__S\"]]Be[\"{{{BJI`{CGE`}}c}AGCbBLD`}\",[\"__S\"]]Be[\"{{{BJI`{CHFb}}c}AGCbBLD`}\",[\"__S\"]]Bc[\"{{{BJI`{BHC`}}c}AGCbBLD`}\",[\"S\"]]Bc[\"{{{BJI`{BHDn}}c}AGCbBLD`}\",[\"S\"]]Bc[\"{{{BJI`{BHEh}}c}AGCbBLD`}\",[\"S\"]]Be[\"{{{BJI`{BACd}}c}AGCbBLD`}\",[\"__S\"]]Be[\"{{{BJI`{AFNl}}c}AGCbBLD`}\",[\"__S\"]]Be[\"{{{BJI`{CDN`}}c}AGCbBLD`}\",[\"__S\"]]Be[\"{{{BJI`{CHDj}}c}AGCbBLD`}\",[\"__S\"]]Be[\"{{{BJI`{CIJb}}c}AGCbBLD`}\",[\"__S\"]]Be[\"{{{BJI`{CJKn}}c}AGCbBLD`}\",[\"__S\"]]Be[\"{{{BJI`{BGNl}}c}AGCbBLD`}\",[\"__S\"]]Be[\"{{{BJI`{CKBd}}c}AGCbBLD`}\",[\"__S\"]]Be[\"{{{BJI`{B@N`}}c}AGCbBLD`}\",[\"__S\"]]Be[\"{{{BJI`{BKMl}}c}AGCbBLD`}\",[\"__S\"]]Be[\"{{{BJI`{CDJn}}c}AGCbBLD`}\",[\"__S\"]]Be[\"{{{BJI`{CDM`}}c}AGCbBLD`}\",[\"__S\"]]Be[\"{{{BJI`{CKBf}}c}AGCbBLD`}\",[\"__S\"]]Bl[\"{{{BJI`{B@On}}{BJj{{BJj{BFl}}}}}AAGn}\",[]]Bg[\"{{{BJI`{{BKKl{c}}}}}AFLlCJMf}\",[\"T\"]]Cg[\"{{{BJI`{CHDh}}}{{`{{AGDh{}{{GIl{CIHl}}}}ACHn}}}}\",[]]Aa[\"{BJI`AGDl}\",[]]000000000000000000000000000000000000000000000000000000000000000000000000000Aa[\"{CDNjBGOn}\",[]]Bm[\"{{{BJI`{CGEd}}}{{AGAn{{BJI`{BAE`}}}}}}\",[]]Be[\"{{{BJI`{CHAj}}}{{AGAn{BAE`}}}}\",[]]Bm[\"{{{BJI`{CGEf}}}{{AGAn{{BJI`{BAEb}}}}}}\",[]]Co[\"{{{BJI`{G@fBLCn}}{BJI`{{AFIl{BFl}}}}}{{AGCb{AAGnBLEb}}}}\",[]]o[\"{{}BJI`}\",[]]Bg[\"{{{BJI`{{BKKl{c}}}}}BGKlCJMf}\",[\"T\"]]Af[\"{{COFjGOl}COFj}\",[]]Bi[\"{{{BJI`{G@f}}}{{BJI`{G@fc}}}{}}\",[\"T\"]]0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Aa[\"{CGHbAMI`}\",[]]Aa[\"{AMK`AMI`}\",[]]10::Bd[\"{{BJI`{BJI`{G@fc}}}AAGn{}}\",[\"T\"]]00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Ca[\"{{{BJI`{G@f}}}{{AFNj{{BJI`{G@fc}}}}}{}}\",[\"T\"]]0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Be[\"{BJI`{{AFNj{{BJI`{c}}}}}{}}\",[\"T\"]]0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000B`[\"{{BJI`{BJI`{c}}}GOl{}}\",[\"K\"]]00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Aa[\"{CJLhCMJh}\",[]]Aa[\"{CLH`AGEb}\",[]]Aa[\"{AGBjAGEb}\",[]]Aa[\"{CJLhBKOf}\",[]]Aa[\"{CLIdBGOf}\",[]]Aa[\"{CNAfBGOf}\",[]]Aa[\"{CNDhBGOf}\",[]]Aj[\"{{{BGh{ACDh}}}CDHd}\",[]]C`[\"{{{BJI`{{ACJf{BFl}}}}}{{AGCb{BHBnCJOh}}}}\",[]]Bb[\"{{{BJI`{{ACJf{BFl}}}}}BHDl}\",[]]Bb[\"{{{BJI`{{ACJf{BFl}}}}}BHEf}\",[]]C`[\"{{{BJI`{{ACJf{BFl}}}}}{{AGCb{BHC`CJOj}}}}\",[]]Bb[\"{{{BJI`{{ACJf{BFl}}}}}BHDn}\",[]]Bb[\"{{{BJI`{{ACJf{BFl}}}}}BHEh}\",[]]Bm[\"{{BHBnc}CGDn{{CGFh{}{{GIl{CHF`}}}}}}\",[\"\"]]Ag[\"{{BHBnCGEd}CGEn}\",[]]Bm[\"{{BHC`c}CGE`{{CGFh{}{{GIl{CHFb}}}}}}\",[\"\"]]Ag[\"{{BKLlCGEf}CGF`}\",[]]Be[\"{{{BJI`{BKMn}}}{{AGAn{BLDb}}}}\",[]]Be[\"{{{BJI`{AGCn}}}{{AGAn{BLDb}}}}\",[]]Bi[\"{BLBl{{`{{BAAd{}{{GIl{CMCl}}}}}}}}\",[]]A`[\"{AGEbGGb}\",[]]An[\"{{{BJI`{CGBh}}BKLl}GOl}\",[]]Ak[\"{{{BJI`{BGNn}}}BLDb}\",[]]Be[\"{{{BJI`{CGC`}}}{{AGAn{BLDb}}}}\",[]]Dk[\"{{{BJI`{CDIl}}cB@Ob}{{AGCb{{`{{BAAd{}{{GIl{CHFd}}}}}}B@O`}}}BAD`}\",[\"T\"]]Cm[\"{{{BJI`{BACj}}AGDl}{{ACCf{{AGCb{{AMGj{CHFd}}B@O`}}}}}}\",[]]Dk[\"{{{BJI`{CDIn}}cB@Ob}{{AGCb{{`{{BAAd{}{{GIl{CHFd}}}}}}B@O`}}}BAD`}\",[\"T\"]]A`[\"{BHBdGGb}\",[]]Aa[\"{CIHnBLDb}\",[]]A`[\"{CJMjBGf}\",[]]Aa[\"{AMGnAMGn}\",[]]Aa[\"{BHAhAFLl}\",[]]0Aa[\"{BHAfAFLl}\",[]]o[\"{BHnGOl}\",[]]Af[\"{{COFjGOl}COFj}\",[]]Aa[\"{CIJjAMI`}\",[]]m[\"{{}}\",[\"\"]]Ee[\"{{{BId{{BJI`{G@fAFNh}}}}{BJI`{G@fAMHn}}}{{GKf{{AGCb{AAGnc}}}}}{}}\",[\"Sink::Error\"]]Ee[\"{{{BId{{BJI`{G@fBKIl}}}}{BJI`{G@fAMHn}}}{{GKf{{AGCb{AAGnc}}}}}{}}\",[\"Sink::Error\"]]Di[\"{{{BId{{BJI`{G@fBLCn}}}}{BJI`{G@fAMHn}}}{{GKf{{AGCb{AAGnACDj}}}}}}\",[]]2121El[\"{{{BId{{BJI`{G@fBLCn}}}}{BJI`{G@fAMHn}}{BJI`{{AFIl{BFl}}}}}{{GKf{{AGCb{AFLlACDj}}}}}}\",[]]El[\"{{{BId{{BJI`{G@fBLCn}}}}{BJI`{G@fAMHn}}{BJI`{{AFIl{BFl}}}}}{{GKf{{AGCb{AFLlBLEb}}}}}}\",[]]>Aa[\"{CIJjAMI`}\",[]]Cg[\"{{{BJI`{{BKKl{c}}}}}{{AGAn{{BGh{BGb}}}}}CJMf}\",[\"T\"]]Ea[\"{{{BJI`{G@fBLBj}}{BJI`{G@fAMHn}}{BJI`{G@fAMKn}}}{{GKf{{AGCb{AAGnBHCh}}}}}}\",[]]Di[\"{{{BId{{BJI`{G@fBLCn}}}}{BJI`{G@fAMHn}}}{{GKf{{AGCb{AAGnACDj}}}}}}\",[]]Bi[\"{{{BJI`{G@fCDLj}}{ACJf{BFl}}}AAGn}\",[]]An[\"{{COFj{BJI`{GEn}}}COFj}\",[]]Bg[\"{{{BJI`{{BKKl{c}}}}}CGH`CJMf}\",[\"T\"]]h[\"`\",[]]Ci[\"{{{BJI`{{BKKl{c}}}}ACCj}{{AGCb{AAGnCMCf}}}CJMf}\",[\"T\"]]Af[\"{{COFjGOl}COFj}\",[]]Lm[\"{{{BJI`{G@fAFOj}}{CK@h{cegi}}}{{BId{{BGh{AFOh}}}}}{{BAAd{}{{GIl{{BJI`{AGBh}}}}}}GL`}{{BAAd{}{{GIl{{BJI`{AGBh}}}}}}GL`}{{BAAd{}{{GIl{{BJI`{AGBh}}}}}}GL`}{{BAAd{}{{GIl{{BJI`{AGBh}}}}}}GL`}}\",[\"\",\"\",\"\",\"\"]]Aa[\"{BLBdCGHl}\",[]]Aa[\"{BHEjCGHl}\",[]]Ai[\"{{}{{CGI`{AAGn}}}}\",[]]An[\"{{CNAb{BGf{CMBl}}}CNAb}\",[]]Bj[\"{{{BJI`{G@fCGEd}}{AGAn{BAE`}}}AAGn}\",[]]Bj[\"{{{BJI`{G@fCGEf}}{AGAn{BAEb}}}AAGn}\",[]]Bb[\"{{{BJI`{G@fBGMj}}AFLl}BGMj}\",[]]Cm[\"{c{{AGCb{BABlCMIf}}}{{CGFh{}{{GIl{{BJI`{GEn}}}}}}}}\",[\"T\"]]Cm[\"{c{{AGCb{BABnCMId}}}{{CGFh{}{{GIl{{BJI`{GEn}}}}}}}}\",[\"T\"]]Dg[\"{{{BId{{BJI`{G@fc}}}}{BJI`{G@fAMHn}}}{{GKf{{AGAn{AGCb}}}}}{}}\",[\"S\"]]0Ao[\"{BJI`{{AGCb{AGDlCKCh}}}}\",[]]000000000000000000000000000000000000000000000000000000000000000000000Ao[\"{{CGEd{B@Ml{BLDb}}}CGEd}\",[]]Ao[\"{{CGEn{B@Ml{BLDb}}}CGEn}\",[]]Ao[\"{{CGEf{B@Ml{BLDb}}}CGEf}\",[]]Ao[\"{{CGF`{B@Ml{BLDb}}}CGF`}\",[]]Aa[\"{CLInAMI`}\",[]]Cg[\"{{{BJI`{CMBl}}{BJI`{{AFIl{BFl}}}}}{{BGh{AMGh}}}}\",[]]Bi[\"{{{BJI`{BKLh}}AML`}{{AGCf{ACCj}}}}\",[]]A`[\"{CILhGGb}\",[]]Ef[\"{{{BJI`{CHBd}}{BJI`{CGDn}}{BJI`{{AFIl{BFl}}}}}{{`{{AFOh{}{{AGB`{CNCn}}}}GL`}}}}\",[]]0Aa[\"{BH@lAGAn}\",[]]An[\"{{{BJI`{G@fCGEd}}}AAGn}\",[]]An[\"{{{BJI`{G@fCGEf}}}AAGn}\",[]]Bd[\"{{CLHjCMGdBHn}{{AGCf{CDHn}}}}\",[]]Ch[\"{{CGDl{AGAn{BAC`}}BHn}{{AGCf{{AFLh{B@OnBKJl}}}}}}\",[]]C`[\"{{BLDbCIGbBHn}{{AGCf{{AFLh{B@OjBKKd}}}}}}\",[]]A`[\"{CNAfBJj}\",[]]Cd[\"{{{BJI`{CDLl}}GLbBLDbCGDbAMJd}{{AGAn{BLB`}}}}\",[]]Cd[\"{{{BJI`{CKBb}}GLbBLDbCGDbAMJd}{{AGAn{BLB`}}}}\",[]]Co[\"{{{BJI`{BKLh}}{BJI`{AML`}}c}{{BId{{BGh{AFOh}}}}}CKBh}\",[\"R\"]]Cb[\"{{{BJI`{G@fBKJh}}}{{AGCb{{BGh{BGb}}CJMd}}}}\",[]]Cb[\"{{{BJI`{G@fBGKn}}}{{AGCb{{BGh{BGb}}CJMd}}}}\",[]]Cg[\"{{{BJI`{{BKKl{c}}}}}{{AGAn{{BGh{BGb}}}}}CJMf}\",[\"T\"]]A`[\"{BKMhBFl}\",[]]Ai[\"{{{BJI`{GEn}}}GOl}\",[]]Aa[\"{CDMbBLDb}\",[]]Aj[\"{{{BJI`{BKL`}}}GGb}\",[]]Cb[\"{{CHCh{BJI`{B@On}}}{{AGCb{{`{BGNj}}CMHb}}}}\",[]]Bn[\"{{{BJI`{B@On}}}{{AGCb{{`{BGNj}}CMHb}}}}\",[]]0Cb[\"{{CN@`{BJI`{B@On}}}{{AGCb{{`{BGNj}}CMHb}}}}\",[]]Cb[\"{{CNIj{BJI`{B@On}}}{{AGCb{{`{BGNj}}CMHb}}}}\",[]]2Cb[\"{{CNFb{BJI`{B@On}}}{{AGCb{{`{BGNj}}CMHb}}}}\",[]]33Cb[\"{{AMGn{BJI`{B@On}}}{{AGCb{{`{BGNj}}CMHb}}}}\",[]]44Cb[\"{{CNF`{BJI`{B@On}}}{{AGCb{{`{BGNj}}CMHb}}}}\",[]]Aa[\"{BLBjCNAj}\",[]]Aj[\"{{{BJI`{CJOh}}}GOl}\",[]]Aj[\"{{{BJI`{CIKj}}}GOl}\",[]]Aj[\"{{{BJI`{CMIf}}}GOl}\",[]]Aj[\"{{{BJI`{BLA`}}}GOl}\",[]]Aj[\"{{{BJI`{CMHb}}}GOl}\",[]]Aj[\"{{{BJI`{CIHh}}}GOl}\",[]]Aj[\"{{{BJI`{BLAl}}}GOl}\",[]]Aj[\"{{{BJI`{BLCj}}}GOl}\",[]]Aj[\"{{{BJI`{CMOd}}}GOl}\",[]]Aj[\"{{{BJI`{BGLd}}}GOl}\",[]]Aj[\"{{{BJI`{CJLd}}}GOl}\",[]]Aj[\"{{{BJI`{CNIn}}}GOl}\",[]]Aj[\"{{{BJI`{CNDb}}}GOl}\",[]]Aj[\"{{{BJI`{CGCn}}}GOl}\",[]]Aj[\"{{{BJI`{BGLj}}}GOl}\",[]]Aj[\"{{{BJI`{CDHd}}}GOl}\",[]]Aj[\"{{{BJI`{CHB`}}}GOl}\",[]]Aj[\"{{{BJI`{CHAd}}}GOl}\",[]]Aj[\"{{{BJI`{CNMb}}}GOl}\",[]]Aj[\"{{{BJI`{CJOj}}}GOl}\",[]]Aj[\"{{{BJI`{CIKl}}}GOl}\",[]]Aj[\"{{{BJI`{CMIh}}}GOl}\",[]]Aj[\"{{{BJI`{BHEb}}}GOl}\",[]]Aj[\"{{{BJI`{BHD`}}}GOl}\",[]]Aj[\"{{{BJI`{CGD`}}}GOl}\",[]]Aj[\"{{{BJI`{BGN`}}}GOl}\",[]]Aj[\"{{{BJI`{BLDf}}}GOl}\",[]]Aj[\"{{{BJI`{CKBn}}}GOl}\",[]]Aj[\"{{{BJI`{CIIj}}}GOl}\",[]]Aj[\"{{{BJI`{ACFb}}}GOl}\",[]]Aj[\"{{{BJI`{ACFd}}}GOl}\",[]]Aj[\"{{{BJI`{ACF`}}}GOl}\",[]]Aj[\"{{{BJI`{B@O`}}}GOl}\",[]]Aj[\"{{{BJI`{CDKj}}}GOl}\",[]]Bf[\"{{{BJI`{{CIL`{c}}}}}GOlBLDh}\",[\"E\"]]Aj[\"{{{BJI`{CHBb}}}GOl}\",[]]Aj[\"{{{BJI`{CHAh}}}GOl}\",[]]Aj[\"{{{BJI`{CNMd}}}GOl}\",[]]Aj[\"{{{BJI`{BLAd}}}GOl}\",[]]Bn[\"{{{BJI`{G@fCMHn}}GFn}{{BJI`{G@fCMHn}}}}\",[]]Ak[\"{{{BJI`{B@On}}}AAGn}\",[]]A`[\"{BKMhGGb}\",[]]Aa[\"{CIJjAMI`}\",[]]Aa[\"{AMH`AMH`}\",[]]Aa[\"{COEbAGDl}\",[]]Bn[\"{{COFjc{BJI`{GEn}}}COFj{{ACCd{GJh}}}}\",[\"\"]]Aa[\"{BHEjBLDb}\",[]]o[\"{BHnGOl}\",[]]Ag[\"{{COFjAGEb}COFj}\",[]]Cd[\"{{{BJI`{G@fBLBj}}}{{AGCb{{AGAn{AGEb}}BLBn}}}}\",[]]Cd[\"{{{BJI`{G@fCNAj}}}{{AGCb{{AGAn{AGEb}}BLBn}}}}\",[]]Aa[\"{CLInAMI`}\",[]]00Ak[\"{{{BJI`{BA@j}}}BLDb}\",[]];Ak[\"{BGNn{{AGCf{AAGn}}}}\",[]]Ak[\"{BKMn{{AGCf{AAGn}}}}\",[]]Bc[\"{{AGEbc}AGEb{{GId{AGEb}}}}\",[\"\"]]Bc[\"{{AGBbc}AGBb{{GId{AGBb}}}}\",[\"\"]]0Ae[\"{{B@ObGGb}DJd}\",[]]Af[\"{{COFjDJb}COFj}\",[]]Bd[\"{{{BJI`{CGEn}}}{{BJj{AGDl}}}}\",[]]Bd[\"{{{BJI`{CGF`}}}{{BJj{AGDl}}}}\",[]]Aa[\"{ACHjB@Ob}\",[]]Aa[\"{CGHbAMI`}\",[]]Aa[\"{AMK`AMI`}\",[]]Aa[\"{CIJjAMI`}\",[]]Ag[\"{{CGDnBACb}CGDn}\",[]]Ao[\"{{CGEd{AGAn{BACb}}}CGEd}\",[]]Ao[\"{{CGEn{AGAn{BACb}}}CGEn}\",[]]Ag[\"{{CGE`BACd}CGE`}\",[]]Ao[\"{{CGEf{AGAn{BAC`}}}CGEf}\",[]]Ao[\"{{CGF`{AGAn{BAC`}}}CGF`}\",[]]Ao[\"{{CGEd{AGAn{BAE`}}}CGEd}\",[]]Ao[\"{{CGEn{AGAn{BAE`}}}CGEn}\",[]]Ao[\"{{CGEf{AGAn{BAEb}}}CGEf}\",[]]Ao[\"{{CGF`{AGAn{BAEb}}}CGF`}\",[]]o[\"{{}AFLl}\",[]]Aa[\"{CLInAMI`}\",[]]Dc[\"{{{BJI`{CHBd}}{BJI`{CIGh}}}{{`{{AFOh{}{{AGB`{CNIb}}}}GL`}}}}\",[]]0Aa[\"{AMH`AMH`}\",[]]Ba[\"{{BJI`{ANLd{G@fBFl}}}AAGn}\",[]]00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Ak[\"{{{BJI`{CDLj}}}B@Ob}\",[]]Aa[\"{BGMbBKLl}\",[]]Aa[\"{CIHnAGDl}\",[]]Ck[\"{{AGDlc}{{AGCb{CGEnBLA`}}}{{BAAd{}{{GIl{CHFd}}}}}}\",[\"\"]]Ck[\"{{AGDlc}{{AGCb{CGF`BLAd}}}{{BAAd{}{{GIl{CHFd}}}}}}\",[\"\"]]Aa[\"{BHEjBLDb}\",[]]Aj[\"{{{BJI`{BHB`}}}GGb}\",[]]Aa[\"{CJL`AGAn}\",[]]A`[\"{BKMhGGb}\",[]]0Ag[\"{{AMH`AFLl}AMH`}\",[]]Aa[\"{BH@lAGAn}\",[]]>Ag[\"{{AMGnB@Ob}AMGn}\",[]]Ak[\"{AGCl{{AGCf{AAGn}}}}\",[]]Ak[\"{AGDl{{AGCd{CIHn}}}}\",[]]Dh[\"{{{BJI`{AMLh}}{BJI`{{AGAn{BAC`}}}}{BJI`{BHn}}}{{AFLh{CGDlB@On}}}}\",[]]Cl[\"{{{BJI`{AMLh}}CIGbCHE`{BJI`{BHn}}}{{AFLh{BLDbB@Oj}}}}\",[]]An[\"{{CNAb{BGf{BLE`}}}CNAb}\",[]]Bb[\"{{{BJI`{G@fACHj}}CILh}AAGn}\",[]]Aa[\"{CDNjBGOn}\",[]]Aa[\"{BLDbCDIl}\",[]]Ak[\"{{AMHbBLDbCDIj}AMHb}\",[]]Aa[\"{BLDbCDIn}\",[]]Aj[\"{{{BJI`{GEn}}}CILb}\",[]]o[\"{{}BJI`}\",[]]Aa[\"{CLInAMI`}\",[]]Aa[\"{CJL`BKOn}\",[]]Ce[\"{{{BJI`{BADb}}AAGlBLDnB@Ob}{{AGCb{AAGnCKC`}}}}\",[]]An[\"{{{BJI`{G@fCGEd}}}AAGn}\",[]]An[\"{{{BJI`{G@fCGEf}}}AAGn}\",[]]Cl[\"{{{BJI`{{BKKl{c}}}}AGBb}{{AGAn{{BGh{BKL`}}}}}CJMf}\",[\"T\"]]A`[\"{BKMhGGb}\",[]]o[\"{{}CDLn}\",[]]00Aa[\"{AMJlAMI`}\",[]]0Bi[\"{{{BJI`{BKIb}}}{{AGCb{B@NbACEn}}}}\",[]]Bh[\"{{{BJI`{BKIb}}}{{AGCb{BHnACEn}}}}\",[]]Bh[\"{{{BJI`{BKIb}}}{{AGCb{BI`ACEn}}}}\",[]]Aa[\"{CDJnAGAn}\",[]]Dk[\"{{{BJI`{CDIl}}cB@Ob}{{AGCb{{`{{BAAd{}{{GIl{AG@d}}}}}}B@O`}}}BAD`}\",[\"T\"]]Dk[\"{{{BJI`{CDIn}}cB@Ob}{{AGCb{{`{{BAAd{}{{GIl{AG@d}}}}}}B@O`}}}BAD`}\",[\"T\"]]Aa[\"{CIJjAMI`}\",[]]0Ao[\"{{COFj{AGAn{CDK`}}}COFj}\",[]]:Aa[\"{CLInAMI`}\",[]]0Af[\"{{COFjGG`}COFj}\",[]]Bm[\"{{}{{AGCb{{AFLh{BABlBACbAGCn}}BLDf}}}}\",[]]Ag[\"{{CNAbAFLl}CNAb}\",[]]Ak[\"{{{BJI`{CGEn}}}CGDn}\",[]]Ak[\"{{{BJI`{CHAj}}}CGDn}\",[]]Ak[\"{{{BJI`{CGF`}}}CGDl}\",[]]Ag[\"{{AMH`CNA`}AMH`}\",[]]Af[\"{{AFLlGFn}CN@n}\",[]]Af[\"{{AFLlGFn}CKCd}\",[]]Ci[\"{{AMHbc}AMHb{{CGFh{}{{GIl{{AFLh{BLDbCDIj}}}}}}}}\",[\"\"]]Dc[\"{{{BJI`{G@fBLCn}}{BJI`{G@f{AFIl{ACCj}}}}}{{AGCb{AAGnBLEb}}}}\",[]]o[\"{{}BJI`}\",[]]n[\"{{}GFn}\",[]]0n[\"{{}GG`}\",[]]22Aa[\"{AG@nAGAn}\",[]]0?Bk[\"{{{BJI`{CILb}}c}AAGn{{GId{CGEn}}}}\",[\"\"]]Bf[\"{{{BJI`{GEn}}{BJI`{CGGd}}}AAGn}\",[]]A`[\"{BHBdGGb}\",[]]A`[\"{CMB`GGb}\",[]]E`[\"{{{BJI`{B@On}}c{BJI`{{AFIl{BFl}}}}CIGf}{{AGCb{BKJhCNDb}}}{{GId{CGDn}}}}\",[\"\"]]o[\"{{}BABl}\",[]]0Bi[\"{{{BJI`{CILb}}BKLn}{{AGAn{CGEn}}}}\",[]]Cf[\"{{{BJI`{BHFn}}{BJI`{`}}}{{AGCf{{AGAn{CGIb}}}}}}\",[]]Ca[\"{{{BJI`{{BKKl{c}}}}}{{AGAn{AFLl}}}CJMf}\",[\"T\"]]A`[\"{BKMhGGb}\",[]]0Aa[\"{CLInAMI`}\",[]]Aa[\"{CGHbAMI`}\",[]]Aa[\"{AMK`AMI`}\",[]]10Ce[\"{{{BJI`{CILb}}c}{{AGAn{CGEd}}}{{GId{CGEn}}}}\",[\"\"]]Af[\"{{BJhCDIl}CLJh}\",[]]o[\"{{}BKMj}\",[]]n[\"{{}GFn}\",[]]0n[\"{{}GGb}\",[]]7o[\"{{}AMHd}\",[]]00Ag[\"{{COFjAFLl}COFj}\",[]]o[\"{{}BHDd}\",[]]Aa[\"{AMJlAMI`}\",[]]0Cd[\"{eCILb{{GId{CGEn}}}{{CGFh{}{{GIl{c}}}}}}\",[\"\",\"\"]]A`[\"{GGbAGEb}\",[]]Aa[\"{CGEnCGDn}\",[]]Aa[\"{CHAjCGDn}\",[]]Aa[\"{CGF`CGDl}\",[]]Ag[\"{{CH@dAFLl}CH@d}\",[]]Aa[\"{CDMbAGAn}\",[]]Aa[\"{CIJjAMI`}\",[]]Aa[\"{AMGnAMGn}\",[]]Aa[\"{CGHbAMI`}\",[]]Aa[\"{AMK`AMI`}\",[]]10A`[\"{BKMhGGb}\",[]]Aa[\"{CGHbAMI`}\",[]]Aa[\"{AMK`AMI`}\",[]]Ag[\"{{CNAbCNA`}CNAb}\",[]]A`[\"{BKMhGGb}\",[]]Bg[\"{{{BJI`{CIJh}}{BJI`{CGEd}}}AAGn}\",[]]Aa[\"{CIJjAMI`}\",[]]Aa[\"{AMHbAMHb}\",[]]Aj[\"{{{BJI`{BHB`}}}GGb}\",[]]o[\"{{}CDLn}\",[]]006666Af[\"{{COFjGOl}COFj}\",[]]Aa[\"{BH@lAGAn}\",[]]02Bg[\"{{{BJI`{B@On}}{AGAn{BAE`}}}AAGn}\",[]]Ag[\"{{CNAbCNJb}CNAb}\",[]]Aa[\"{CLInAMI`}\",[]]Ck[\"{{{BJI`{G@fB@Nb}}{BJI`{G@fBKIb}}}{{AGCb{AAGnACEn}}}}\",[]]Cj[\"{{{BJI`{G@fBHn}}{BJI`{G@fBKIb}}}{{AGCb{AAGnACEn}}}}\",[]]Cj[\"{{{BJI`{G@fBI`}}{BJI`{G@fBKIb}}}{{AGCb{AAGnACEn}}}}\",[]]?o[\"{{}AAGn}\",[]]Bl[\"{{{BJI`{B@On}}{BJj{{BJj{BFl}}}}}CNAb}\",[]]Ao[\"{{COFj{AGAn{AFLl}}}COFj}\",[]]o[\"{{}CGBn}\",[]]An[\"{{{BJI`{G@fBKL`}}}AAGn}\",[]]0Ak[\"{AFNl{{AGCf{AAGn}}}}\",[]]An[\"{{COFj{BGf{CMAn}}}COFj}\",[]]Ag[\"{{COFjB@Ob}COFj}\",[]]?Bk[\"{{{BJI`{{BKKl{c}}}}AGEb}AAGnCJMf}\",[\"T\"]]>Aa[\"{CJAnBEIb}\",[]]???Aa[\"{CB@bCAJn}\",[]]A`[\"{cc{}}\",[\"T\"]]000Aa[\"{CFJdCGI`}\",[]]11Aa[\"{CJClCFJd}\",[]]Aa[\"{ABClCFJd}\",[]]Aa[\"{CDFbCFJd}\",[]]Aa[\"{AEOjCJCl}\",[]]55Aa[\"{AEOjAOFj}\",[]]6666666666Aa[\"{CDBnCAJ`}\",[]]Aa[\"{CGHnCAJ`}\",[]]Aa[\"{CGIlCAJ`}\",[]]9Aa[\"{AO@lCAJ`}\",[]]Aa[\"{ABBlCAJ`}\",[]]Aa[\"{CKClCAJ`}\",[]]<<<<<Aa[\"{CFI`CGLb}\",[]]?Aj[\"{{{ABHl{BDd}}}BF@j}\",[]]A`[\"{cc{}}\",[\"T\"]]00A`[\"{BGjAOFb}\",[]]111111111111111111111111111111Aa[\"{CANfAOEl}\",[]]Aa[\"{AOEnAOEl}\",[]]Aa[\"{AOEnCANf}\",[]]444Aa[\"{ABDbBF@n}\",[]]Aa[\"{ABDbBEOl}\",[]]6Aa[\"{ABDhBEOl}\",[]]Aa[\"{ABCjCDCh}\",[]]Aa[\"{BEJfCDCh}\",[]]9Aa[\"{ABBlCDCh}\",[]]Aa[\"{ABDbCDCh}\",[]]Aa[\"{ABDfCDCh}\",[]]Aa[\"{CIDfAKNl}\",[]]Aa[\"{CDGdAKNl}\",[]]Aa[\"{AL@jAKNl}\",[]]10Bg[\"{{{BHBn{{BIF`{c}}}}}AEGnCGIn}\",[\"T\"]]Bn[\"{{{BHBn{FIhCDGn}}FOl}{{BHBn{FIhCDGn}}}}\",[]]Fe[\"{{{BHBn{CAKf}}cAOBb{BHBn{{AEEd{FOl}}}}}{{AEMl{{`{{AODd{}{{GBf{AEJn}}}}}}{CFIh{AOB`}}}}}AOFn}\",[\"\"]]Fe[\"{{{BHBn{CAKh}}cAOBb{BHBn{{AEEd{FOl}}}}}{{AEMl{{`{{AODd{}{{GBf{AEJn}}}}}}{CFIh{AOB`}}}}}AOFn}\",[\"\"]]Bo[\"{{{BHBn{FIhCJJh}}AEOj}{{BHBn{FIhCJJh}}}}\",[]]o[\"{{}BHBn}\",[]]000Bn[\"{{{BHBn{FIhCJJh}}GH`}{{BHBn{FIhCJJh}}}}\",[]]Aa[\"{AEMhAELh}\",[]]03Bg[\"{{{BHBn{AOBn}}{AELh{AOGl}}}A@Gl}\",[]]Ck[\"{{{BHBn{FIhAOAd}}{BHBn{FIhBICf}}}{{AEMl{A@GlABC`}}}}\",[]]Cj[\"{{{BHBn{FIhBFb}}{BHBn{FIhBICf}}}{{AEMl{A@GlABC`}}}}\",[]]Cj[\"{{{BHBn{FIhBFd}}{BHBn{FIhBICf}}}{{AEMl{A@GlABC`}}}}\",[]]?o[\"{{}A@Gl}\",[]]?Cg[\"{{{BHBn{FIhCJJh}}{AELh{AEGn}}}{{BHBn{FIhCJJh}}}}\",[]]Aa[\"{CIDfAKNl}\",[]]o[\"{{}CDBf}\",[]]An[\"{{{BHBn{FIhBIFd}}}A@Gl}\",[]]0Ak[\"{AEIh{{AEN`{A@Gl}}}}\",[]]Cf[\"{{{BHBn{FIhCJJh}}{BDl{CIL`}}}{{BHBn{FIhCJJh}}}}\",[]]Bo[\"{{{BHBn{FIhCJJh}}AOBb}{{BHBn{FIhCJJh}}}}\",[]]=Bk[\"{{{BHBn{{BIF`{c}}}}AEOj}A@GlCGIn}\",[\"T\"]]???Aa[\"{AKN`AKN`}\",[]]Cd[\"{{{BHBn{CAKf}}{BHBn{FNh}}}{{AEMl{CDEfCAMd}}}}\",[]]Cd[\"{{{BHBn{CAKh}}{BHBn{FNh}}}{{AEMl{CDEhCAMd}}}}\",[]]Bn[\"{{{BHBn{FIhCJJh}}FOj}{{BHBn{FIhCJJh}}}}\",[]]4Af[\"{{AKMjGH`}AKMj}\",[]]Af[\"{{ALA`GH`}ALA`}\",[]]Ek[\"{{{BHBn{CAKf}}{BHBn{BENj}}{BHBn{FNh}}{BHBn{{AEEd{FOl}}}}}{{AEMl{CDEf{CFIh{CAMd}}}}}}\",[]]Ek[\"{{{BHBn{CAKh}}{BHBn{BIGb}}{BHBn{FNh}}{BHBn{{AEEd{FOl}}}}}{{AEMl{CDEh{CFIh{CAMd}}}}}}\",[]]4>9Bn[\"{{{BHBn{FIhCJJh}}GH`}{{BHBn{FIhCJJh}}}}\",[]]Bd[\"{{}{{AEGl{{BGl{CFDn}}CDGl}}}}\",[]]Bn[\"{{{BHBn{FIhCJJh}}BDd}{{BHBn{FIhCJJh}}}}\",[]]Do[\"{{{BHBn{CAKf}}{BHBn{FNh}}{BHBn{{AEEd{FOl}}}}}{{AEMl{CDEf{CFIh{CAMd}}}}}}\",[]]Do[\"{{{BHBn{CAKh}}{BHBn{FNh}}{BHBn{{AEEd{FOl}}}}}{{AEMl{CDEh{CFIh{CAMd}}}}}}\",[]]") \ No newline at end of file diff --git a/pr/3734/docs/search.index/generic_inverted_index/580fb0dd21f2.js b/pr/3734/docs/search.index/generic_inverted_index/580fb0dd21f2.js deleted file mode 100644 index 139149dc0d..0000000000 --- a/pr/3734/docs/search.index/generic_inverted_index/580fb0dd21f2.js +++ /dev/null @@ -1 +0,0 @@ -rb_("REFvADswAAABAACYAQIAhwbQAEAIxwA7MAAAAQAA3gI7AIMEAACGBAEAigQAAIwEAgCQBAEAlAQAAJYEBQCdBAAAnwQAAKUEAgCpBAAAqwQWAMMEAQDGBAAAygQBAM4EAQDRBAAA1AQAANsEAADdBA8A7gQDAPMEAAD2BAkAAQUAAAQFAQAIBQMAEAUBABMFAgAXBQMAHAUBACIFAQAlBQkAMgUAADYFBQA9BQIAQQUAAEMFAABFBQIASQUdAGoFAgBvBQAAcwUAAHcFAAB8BRIAkAUBAJMFAACXBQIAmwUAAKEFAQCkBQAAqAUEAK4FAwCzBQEAtgUBADcMxwCXEHIA6BHQAAIUAADbGQAAOzAAAAEAALQCGgBWAwAAyAkBAMsJBQDSCQgA3AkEAOIJZABJChYAYQoiAIUKAABYCwEAWwt7ANgLUgAHDQAACQ0AANgPWQAKEQIADxEAABERCwAeESYASBEmAHARHgCQEQAAkhEBAJUROQDQERMA5RECADswAAABAABdAg4A4QkAAEcKAQCECgAAjwoAACINAAAyDg8A5BEAACgTEAA6E6IA3hMBAOITAAAKF8cA1henAH0ZHwA7MAAAAQAAgwEeAD4BAABPAwAAZwMAAGkDAABuAwAAmgUAAGMHAAA+CAEAtgoAADMMAAAIDQAAiA4AANcPAAA2EAMAghAAABUTAADuEwAA8BMBAPMTAAAmFB8ARxQAAPYUAAD4FNAAzxVyAHEaAADKGgAAlRsAAKwbAABAHQAADh4AADswAAABAADkABsAZQMAAKoEAABgCgAAKQsAAFMLAAAvDQEAxg0AAD8QAQBqEAAAjxEAAJERAACUEQAA3RMAAO8TAADyEwAAQhbHAIwYAACOGAAAyxgBAEoaAABVGgAAuxwAAO8cAAD3HAAAPx0AACseAAA1HgAAOzAAAAEAACMADgC6BRAA9wcAAIEJAAAKDQUAxQ0AAG4OAADVDwEAkBAAAPQTAABaGgAAxRoAAGIbAAD/HAAALB0AADowAAABAAAAAAAbABAAAAAmAycDOQMaCJ0JrgoxDeQNuRK6ErsSvBK9Er4SvxIWExcTqBjCGMMYzBnMGtYa1xp9HH4c2BzdHTowAAABAAAAAAALABAAAACQAgYDYwZhByEIIggjCMQJBQvbDV8bZx07MAAAAQAAmgEKAFgAxwA/AccAxQIAAAcDAQAMAwAADwMAAAQLAACLEAAADRQBANgaAQA6MAAAAQAAAAAADwAQAAAAQg6BD5gYmhipGKoYrBitGK4YrxjgGeIZ4xnlGcccyBwEVwAAAFwDAACgDgAA8hwAAAFjGgAAAWYaAAA7MAAAAQAABQACAKodAwAQHgEAAdQZAAABxx0AAAABSgMAAAAAAAAAAAAAAAAAAc4aAABJbAAAADswAAABAADQAAsAChECAA8RAAAREQsAHhEmAEgRJgBwER4AkBEAAJIRAQCVETkA0BETAOURAgAAAAFgCgAAAm4OAAAsHQAAAa4KAAAAOzAAAAEAAJQBBgBYAMcAPwHHAAcDAQAMAwAADwMAAAQLAAAAAlcAAABcAwAAAAAAAdQZAAAAAAFKAwAAAAAAAAAAAAAAAAABzhoAAENuAAAAAAAAAAAAADswAAABAACPAQIAWADHAD8BxwAAAAAAAAHUGQAAAAABSgMAAAAAAAAAAAAAAAAAAc4aAABDZgAAAAAAAAAAAAA7MAAAAQAAjwECAFgAxwA/AccAAAAAAAAAAAAAAAAAAAAAAAAAAAABzhoAAA==") \ No newline at end of file diff --git a/pr/3734/docs/search.index/generic_inverted_index/f6a7275beb4f.js b/pr/3734/docs/search.index/generic_inverted_index/f6a7275beb4f.js new file mode 100644 index 0000000000..a332d7bdc5 --- /dev/null +++ b/pr/3734/docs/search.index/generic_inverted_index/f6a7275beb4f.js @@ -0,0 +1 @@ +rb_("REVpADswAAABAAC2AQIA9QbfAMEI1gA7MAAAAQAAEwM/ANEEAADUBAIA2gQDAN8EAQDkBAcA7QQAAPAEAADzBAAA9gQAAPgEAQD7BBYAEwUBABYFAAAYBQAAGgUAAB0FAQAhBQAAIwUAACUFBgAuBQAAMwUEADkFDQBIBQIATAUBAFAFDgBhBQEAZwUAAGsFBgBzBQEAdgUCAHoFAgCABQEAgwUCAIcFAwCRBQcAmgUCAJ4FAACgBQAAogUCAKYFHADEBQAAxwUCAM0FAADQBQAA2AUSAOwFAgDwBQAA9AUBAPcFAAD6BQAA/QUAAP8FAQADBgAABgYEAAwGAgAQBgEAEwYAABYGAAD0DNYAixF6APQS3wA0FQAAXBsAADswAAABAADqAh4AjwMAAF8KAgBjCgQAaQoLAHYKAwB7CnEA7woXAAgLIAAqCwEABgwBAAkMigCVDFIA0w0AANUNAADAEAAAxBBhAAYSAQAJEgAACxIBAA4SDQAdEisAShIAAE0SLwB+EgQAhBIWAJwSAACeEgEAoRI6AN0SEQDwEgMAOzAAAAEAAIYCEAA4BQAAegoAAO0KAQApCwAAMwsAAPQNAAADDxAA7xIAAEoUEwBfFK4ADxUBABMVAABjGNYAPhmwAP0aHgCRGwAAOzAAAAEAAJoBHQBVAQAAhgMAAKEDAACjAwAA9gUAAN0HAAC/CAEAWgsAAPAMAADUDQAAXw8AAMMQAAAqEQMAdhEAADcUAAAfFQAAIRUBACQVAABUFR4AdBUAACkWAAArFt8AERd6APgbAABXHAAALR0AAEUdAgDyHgAAux8AADswAAABAAD1ABwAlwMAAJ8DAAD6BAAABwsAANYLAAABDAAAzg0AAAAOAQCYDgAAMxEBAF4RAACbEgAAnRIAAKASAAAOFQAAIBUAACMVAACMF9YA/RkAAP8ZAAA9GgEA0RsAAN0bAACiHgAAqx4AAPAeAQDaHwAA5h8AADswAAABAAAsABEAqQMAABcGEgByCAAAFgoAAGgLAADWDQkAlw4AAEMPAADBEAEAhBEAACUVAADhGwAAURwAAPgcAAA4HQAAsx4AAN4eAAA6MAAAAQAAAAAAHgAQAAAAWwNcA24DlQivCDMKUgsCDrYO1BPVE9YT1xPYE9kT2hPbEzgUORQYGjMaNBpMG1kcYxxkHCUeJh5rHogeiR86MAAAAQAAAAAACwAQAAAAwQI7A9AG2wedCJ4InwhbCrELrQ71HBsfOzAAAAEAALgBCgBdANYAVgHWAPkCAAA8AwEAQQMAAEQDAACwCwAAfxEAAD4VAQBlHAEAOjAAAAEAAAAAAA8AEAAAABQPaBAKGgwaGRoaGhwaHRoeGh8aYRtjG2QbZht3HngeBFwAAACVAwAAdw8AAKYeAAAB6RsAAAHsGwAAOzAAAAEAAAUAAgBZHwMAvB8BAAFUGwAAAXUfAAAAAYADAAAAAAAAAAAAAAAAAAFbHAAASmwAAAA7MAAAAQAA3wAOAAYSAQAJEgAACxIBAA4SDQAdEisAShIAAE0SLwB+EgQAhBIWAJwSAACeEgEAoRI6AN0SEQDwEgMAAAAClwMAAAcLAAACQw8AAN4eAAABUgsAAAA7MAAAAQAAsgEGAF0A1gBWAdYAPAMBAEEDAABEAwAAsAsAAAACXAAAAJUDAAAAAAABVBsAAAAAAYADAAAAAAAAAAAAAAAAAAFbHAAAQ24AAAAAAAAAAAAAOzAAAAEAAK0BAgBdANYAVgHWAAAAAAAAAVQbAAAAAAGAAwAAAAAAAAAAAAAAAAABWxwAAENmAAAAAAAAAAAAADswAAABAACtAQIAXQDWAFYB1gAAAAAAAAAAAAAAAAAAAAAAAAAAAAFbHAAA") \ No newline at end of file diff --git a/pr/3734/docs/search.index/name/92a2f2a5804c.js b/pr/3734/docs/search.index/name/92a2f2a5804c.js new file mode 100644 index 0000000000..2fe0431bb1 --- /dev/null +++ b/pr/3734/docs/search.index/name/92a2f2a5804c.js @@ -0,0 +1 @@ +rd_("as00b()b->bBibEqbFnbIdbIo0bIp000bN0bOrb[]b_000beq000000000000000000000000000000000000000000000000000000000000000bid000000bor00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000brtbu8cAckcAndcAnycAppcArccBoxcBufcDircDns0cKey0cMAX0cMapcNotcOpt0cOrdcPincQadcS2ncTcpcTls00cUdp0cUnicUrlcVeccaddcand0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ccmp00000000000000000000cdht00cdircdns00000000cecncf32cf64cfmt0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cget000cgotci32ciosckey000clen00000clogcmapcmincmutcnew0000000000000000000000000000000000cnotcnowcrtt00cruncs2n0cstrctagctls0cttl0ctyp0cu16cu32cu64curl00000dALPN0dArgsdDatadDenydDial0dDropdFromdHashdIntodIroh00dItemdKeysdMetadNAMEdName0dPathdPing00000dPolldPong00dReaddSenddSidedSinkdSyncdUser00000dUtf80000dVZipdZEROdacksdaddr000dalpn00000dbind0dbooldbulkdcertdcode0dconndcwndddata00ddrop00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dfrom00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dhash000000000000000000dhttp0000dinit00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dinto0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dipv4dipv6diroh00diter00dloaddmaindmdns0dmeta000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dname000000000dopendpeekdpingdpoll00000000dport000dprod0dqlog0dquic00000dread0drr_adsealdsenddsentdside0dsign0dsize0dstop0dttfbdu128dunitdurls0dvzip0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000eAlloweAsRefeBoxed0eByteseChunkeCloneeCloseeDebugeDerefeError000000000000000eHttpseLocaleQuinn0000eRelay0000eReset0eSerDe0eSizedeSmarteStatseTupleeUnpineValue0eWriteeaddrs0000ealpnseapply0earrayebuild00000000ebytes00ecertseclone00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000eclose000ederef000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000eempty000eframe0ehooks0ehttpseindexeis_ip00elabel00epaths00epkarr0eprint0equinn0erelay0ereset000eretryerr_nsesliceespawn0000esplitestate00estats0000000estore0etitleetokenetupleeusageeusizeevalueewrite0fAccept00fAccessfAckEcnfActivefBorrowfBufMutfClient00fCompatfConfigfCryptofCustom0fDecode0fFuturefHandlefHasherfHealth00fIpAddrfLENGTH000fLimitsfLoaderfManual00fNoAlpn0fOpenBifOptionfOutputfPathIdfPolicyfPresetfRecordfReject00fResult000fRouterfServer00fSimplefSource0fStream00fStringfTypeIdfVarInt0fVerify0faccept0000000faccessfas_dyn00000000000000000000000000000000000000fas_ref000fas_std00000000000000000000000000000000000000fborrow000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fchunks00fclient0000fclosed0fcommon0fcompat0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fconfig00fcreatefcrypto000fcustom00fdecode0000fencode0000fextend0ffinishfgroups0fheaderfignorefinsert00fkeylogflimitsfn0_dns00foffsetfon_ack0fonlinefpacketfpresetfprotos0fpublic0freason0000frefusefrejectfrelays0freloadfremove0fserver000000fsource00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fstatus0fstream0fto_z3200fudp_rxfudp_txfudp_v4fudp_v6fupdatefvarintfverify0fwindowgAeadKeygBoxIter0gBuilder00gCommandgConnect000gContextgCountergDefault00gDisplaygElapsedgExpired0gFromRefgFromStrgInstantgKeyPairgMaxDatagMetrics000gNextFutgOpenUnigPaddinggPathAckgPathBufgPrivategReadBufgRequestgResolve00gRuntimegStaginggStoppedgTimeout000gToOwnedgTooLonggTryFromgTryIntogUnknowngUpgrade0gWatchergWrittengaccepts0gbuilder000000000gclientsgcommand00gcompare0000000000000000gconnect0gdecrypt0gdefault000000000000000000000000000000000000000000000000gdomainsgenabledgencrypt0ghas_udpgis_0rtt0gmetrics00000000000gmin_mtugon_sent0gopen_bigoriginsgpointergpresets0gproblemgpublish000000greportsgresolve00000000000grr_aaaagrun_s2ngstaging0gstoppedgstreams000gtag_lengtesting0gtimeoutgto_infogtry_forgtype_id0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000gupdatedhAcceptBihAcceptedhAnyErrorhAppStatehBTreeSethBytesMuthCertModehCommandshDatagramhDerefMuthDisabled00hDnsError0hDurationhDynClonehEncoding0hEndpoint00hErrorRefhEveryonehHttpSend0hInactivehIncominghIpv4AddrhIpv6AddrhIrohAttrhIterablehIteratorhMAX_SIZEhNO_ERRORhNamedApp0hNewTokenhNullablehOrderinghPathInfohProtocol0hRejectedhRelayMap0hRelayUrl00hRemoteId0hResolverhStreamIdhTimedOuthToStringhTokenLoghTooLargehTooSmall0hTxtAttrshUdpStatshUserData00hZ32Errorhas_bytes0hcontains0hcontentshdata_dir0hdatagramhdefaults000hdisabled0hdurationhendpoint00hexpectedhframe_rxhframe_txhfrom_env0hfrom_err00hfrom_ref0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000hfrom_str0000000hfrom_u32hfrom_u64hfrom_z3200hgenerate0hgot_ping0hgroup_id0hhttp_urlhintervalhinto_anyhinto_std00000000000000000000000000000000000000hip_addrs000his_alivehis_empty00000his_relay00hlifetimehlocal_iphmainlinehmax_datahnew_pinghopen_unihpriorityhprotocol0hresolverhrun_irohhshutdown000000000hssthreshhto_bytes000hto_owned00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000htry_from000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000htry_into0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000htry_poll0000000huse_ipv6iAcceptUniiAcceptingiAcmeStateiAlpnError0iAsyncReadiBindError0iBorrowMutiCompatExtiCryptoRngiDatagrams0000iDecodableiDialError0iDiscovery0000iDnsConfigiDnsServeriEncodableiFormatteriFrameType0iHandshake0iHeaderKeyiHistogramiJoinError00iLocalAddr0iMaxPathIdiNetReportiNoAddress0iNoResults0iNumLabels0000iPacketKeyiPartialEqiPathStatsiPointableiPolicyExtiPublicKey000iQuicSpawn0iReadError0iRecordSetiRecvError00iRelayMode0iReloadingiResolvingiSecretKey00iSendError0iSerializeiSignature0iTlsConfigiTryFutureiTryStreamiUtf8ErroriWatchRecv0iWebsocket000iZoneStoreiaccept_biiadd_addrs0iadd_boxediadvertiseiassembleribind_addr00000ibootstrapicert_modeiclient_rxiclone_boxidatagrams00ideref_mut000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000idiscovery0000ifield_ref00000ifmt_short0iframe_lenifrom_iter000000iglobal_v4iglobal_v6ihandshake0ihas_addrs0ihttp_addr0ihttps_urliin_memoryiinitiatoriinto_0rtt0iinto_addriinto_iteriiroh_baseiis_clientiis_closediis_serverimagicsock0inew_tokenipath_acksipkarr_urlipoll_next0ipoll_read0iproxy_url00iquic_addrireach_outireferenceirelay_map00irelay_urliremote_id00irun_quinnisend_ipv4isend_ipv6isent_pong0iserialize000000000000000000000000000000iset_alpnsistable_idisubscribeito_string000000000000000000000000000000000000000000000000000000000000000000000000000itransportittfb_histiuser_data00iwrite_alljArgMatchesjAsyncWritejCertConfig0jClientAuthjClientSinkjComparablejConnecting0000jConnection0000000000jControllerjDirectAddrjDiscovered0jDnsHandlerjEndpointId0000jEquivalent0jFrameStatsjHeaderNamejHttpConfigjHttpServerjIntoFuturejInvalidKey000jInvalidUrl0jMAX_LENGTH0jMagicSpawn0jMaybeFramejMetricItemjNoResponse0jNonZeroU32jNotAllowed0jPROVENANCEjParseError0000000jPartialOrdjPathAckEcnjPkarrError0jPortmappedjQlogConfigjQuicClientjQuicConfigjRELAY_PATHjRecordTypejRecvStreamjRemoteInfojResetErrorjRestarting00jRestrictedjRetryError0jSelfSignedjSendStreamjSerializerjSocketAddrjSpawnError0jStackErrorjStatusCodejSubcommandjSystemTimejTimeSourcejWriteErrorjaccept_unijallow_spinjborrow_mut0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000jbytes_recv0jbytes_sent0jchunk_sizejchunk_timejclone_into00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000jcompat_mut0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000jcompat_ref0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000jcongestionjconnection00jequivalent00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000jerror_code00jframe_type000jfrom_boxedjfrom_bytes00000jfrom_parts000jhttps_addr0jinto_addrsjinto_innerjiroh_benchjiroh_relayjis_allowedjlocal_addr0jlookup_txt00jlost_bytesjn0_watcherjnameserverjnet_reportjno_publishjnum_labels00jonly_relayjpad_to_mtujpcp_probesjpersistentjpoll_close0jpoll_flush00jpoll_ready0jpoll_write0jportmapperjprovenance00jread_chunk0jread_exactjrelay_modejrelay_urls000jremote_mapjsecret_key00jsend_relayjstart_send0jstart_timejtest_utils0jthroughputjtls_configjtotal_sizejtransportsjwatch_addrjwith_addrs0jzone_storekAcceptError0kAccessLimitkCallMeMaybe0kClientHellokClientStatskCloseReasonkCryptoErrorkDataBlockedkDecodeErrorkDeserializekDnsProtocolkDnsResolver0kEmptyPacket0kHeaderValuekHttpPayload0kHttpRequest0kHttpsConfigkIdleTimeoutkLetsEncrypt00kLookupError0kMissingHost0kNoLocalAddr000kPathAbandonkPingTrackerkQlogFactorykRelayConfig00kResetStreamkResolveBoth0kSelfConnect0kStopSendingkStoreConfigkStreamError000kStreamStatskUnavailable0kUnspecifiedk__clone_box00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000kaccept_withkadd_addresskas_iterable00000kclear_cache00kcreate_connkcurrent_mtukdefault_soakdefault_ttlkdescriptionkdeserialize000000000000000000000000000000kdisconnects0kdns_handlerkendpoint_id0000kfield_count00000kfmt_message00000000000000000000000000000000000000kinitial_mtu0kinitial_rttkinitializedkinto_future000000000kis_selectedkis_shutdownklookup_ipv400klookup_ipv600kmax_path_idkmax_streamskon_end_acks0kon_endpointkpacing_ratekpartial_cmp00000000000000000000kpkarr_relaykquic_configkread_chunkskread_to_endkrecv_streamkremote_addrkremote_info0ksample_sizeksend_streamksend_windowktask_handlekupload_sizekupnp_probeskupper_boundkwith_prefixkwrite_chunklAccessConfiglAckFrequencylCertifiedKeylClientConfiglClientStreamlClosedStream00lConnectError0000lConnectionIdlDeserializerlDhtDiscoverylDisconnectedlDnsDiscoverylEndpointAddr00lEndpointData00lEndpointGone0lEndpointInfo00lFromIteratorlImmediateAcklIntoIterablelIntoIteratorlInvalidFrame00lLookupFailed0lMetricsGrouplPathInfoListlPathResponselPathsBlockedlProxyConnect0lReadDatagramlRelayMetrics0lResolveErrorlRttEstimatorlSendDatagramlServerConfig00lSignedPacketlSocketAddrV4lSocketAddrV6lStoppedErrorlaugment_args0lbind_addr_v4lbind_addr_v6lcertificateslclose_reasonlconservativeldata_blockedldefault_ipv4ldefault_ipv6ldns_requestsldns_resolver00000lfrom_err_anylfrom_err_box0linsert_relaylis_connectedllast_updated0llost_packetslmetrics_addrlon_accepting000lpath_abandonlping_trackerlpoll_updatedlqlog_factorylreconnect_inlrelay_configlremote_statelremove_relaylreports_fulllreset_streamlresolve_host0lsegment_sizelsent_packetslservice_namelset_prioritylstop_sendinglstream_statslwith_ip_addr0lwrite_chunksmCidsExhausted0mClientBuildermCloneToUninitmDecodingError00000000mDiscoveryItemmEncodingError000mEndpointHooksmEndpointIdExt0mFinishedEarlymFrameTooLarge0mHandshakeDonemINVALID_TOKENmIROH_TXT_NAME0mIntoDiscoverymInvalidLength000mLocallyClosedmMaxStreamDatamMaxStreamsUnimMdnsDiscoverymMetricsConfigmPathChallengemPkarrResolvermPrivateKeyDermQad4LocalPortmQlogFileGroupmRemoveAddressmRouterBuildermTaskCancelled0mTransportAddr00mTxtRecordDatamUnexpectedEnd0000mZeroRttStatusmack_frequencymbound_socketsmdownload_sizemduration_histmempty_buildermendpoint_addrmendpoint_info00000mfrom_servicesmgroups_cloned0mhttp_requestsmimmediate_ackminto_incomingmmax_ack_delaymnat_traversalmobserved_addrmon_mtu_updatempath_responsempaths_blockedmpcp_availablempeer_identitympoll_read_bufmpoll_shutdownmpong_receivedmqlog_from_envmrate_limitingmread_datagrammrelay_latencymsend_datagrammsend_fairnessmsend_responsemserver_config00mset_token_keymset_user_data0mtake_segmentsmtry_from_iter0mtry_poll_next0mtry_to_string000000000000000000000000000000000000000000000000000000000000000000000mwith_ip_addrs000nAddIpv4AddressnAddIpv6AddressnAttrFromString0000nCertificateDernCommandFactorynConnectOptionsnConnectionInfonConnectionLost0000nDirectAddrTypenDiscoveryError0nDiscoveryEvent0nDnsPkarrServernFrameTypeError00000nFromArgMatchesnINTERNAL_ERRORnInitializedFutnMainlineConfignMaxStreamsBidinNO_VIABLE_PATHnPkarrPublishernPortmapMetricsnPublicKeyErrornReachOutAtIpv4nReachOutAtIpv6nReadExactErrornReadToEndErrornRequestHandlernSignatureError00nSimpleDnsErrornStaggeredErrornStaticProvidernTlsHeaderParse0nTransferResultnTransportError0nactor_tick_msgnaead_from_hkdfnanswer_requestnavg_chunk_sizenbefore_connect0ncaptive_portalnclear_ip_addrs0nclient_handlernconnect_client0nexpected_typesnfor_connection0nhandle_requestnhandshake_data00nhandshake_donenhas_subcommandnhttp_bind_addrninitial_windowninto_discovery000000000000ninto_unorderednis_transparent00000000000000000000000000000000000000nminimum_changennetwork_changenpath_challengenprobes_startednproxy_from_envnproxy_hostnamenqlog_from_pathnquic_bind_addrnread_unorderednreceive_windownreceived_reset0nrecv_data_ipv4nrecv_data_ipv6nrecv_datagramsnremote_addressnremove_addressnrun_until_done0nsaturating_add0nsaturating_subnthroughput_bpsntime_thresholdnto_txt_strings0ntotal_durationnunknown_frames0nupnp_availablenwith_relay_url00000nwith_user_data000oBindTcpListener0oBindTlsListener0oBootstrapOptionoClientRateLimitoConnectingError0oConnectionClose0oConnectionError00000oConnectionStateoConnectionStatsoEndpointMetricsoIncomingZeroRttoInvalidRelayUrl000oInvalidResponse0oInvalidTxtEntry000oKeyParsingError0000oLocallyRejected000oMAX_PACKET_SIZE0oMessageResponseoMetricsGroupSetoNewConnectionIdoNotAnIrohRecord0000oOutgoingZeroRttoPathCidsBlockedoProtocolHandleroProxyInvalidUrl0oQlogFileFactoryoRateLimitConfigoRelayQuicConfigoResponseHandleroServerChallengeoSupervisorError0oTokenReuseErroroTransportConfig00oTryReserveErroroUnexpectedFrame0oVersionMismatchoZeroRttRejected000oactor_tick_mainoafter_handshake0oclear_discoveryoclone_to_uninit00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000odefault_timeoutodst_endpoint_idoendpoint_originofrom_txt_lookup0ohttps_bind_addrointegrity_limitoiroh_dns_serveromax_burst_bytesomax_stream_dataomax_streams_uniomax_tls_ticketsopreferred_relayorecv_data_relayorepublish_delayorun_until_errororun_with_originoserver_endpoint0oset_time_sourceostatic_provider0ostream_finishedothroughput_histowith_nameserver00owith_provenanceA`ApplicationClose0A`CleanupDropGuardA`ClientToRelayMsg0A`ConnectionClosedA`EndpointSelectorA`EndpointStoppingA`FINAL_SIZE_ERRORA`HandshakeFailure0A`InvalidFrameType0A`InvalidPublicKey0A`KEY_UPDATE_ERRORA`MagicsockMetricsA`NetReportMetricsA`ObservedIpv4AddrA`ObservedIpv6AddrA`PathStatusBackupA`PkarrRelayClientA`QuicConnectErrorA`RELAY_PROBE_PATHA`RelayToClientMsg0A`ServerDeniedAuth0A`ServerDeniesAuthA`ToStringFallibleA`TryFromPrimitiveA`UnexpectedFormat0000A`UnknownFrameType0A`UnknownHandshake0A`actor_tick_otherA`bytes_per_secondA`check_and_insertA`clear_relay_urls0A`congestion_stateA`connection_closeA`default_ap_relayA`default_eu_relay0A`dns_lookup_errorA`dns_requests_udpA`from_arg_matches00A`iroh_quinn_protoA`letsencrypt_prodA`lookup_ipv4_ipv60A`mapping_attemptsA`mapping_failuresA`max_idle_timeoutA`max_streams_bidiA`num_conns_closedA`num_conns_openedA`packet_thresholdA`run_relay_serverA`set_max_incomingA`to_endpoint_addr00A`transport_config00A`with_nameserversA`write_all_chunksAaAPPLICATION_ERRORAaAP_RELAY_HOSTNAMEAaAbortOnDropHandleAaApplicationClosedAaControllerFactoryAaControllerMetricsAaDEFAULT_HTTP_PORT0AaDEFAULT_PKARR_TTLAaEU_RELAY_HOSTNAME0AaHandshakeTokenKeyAaInvalidServerNameAaInvalidTargetPort0AaReloadingResolverAaSendDatagramErrorAaStreamDataBlockedAaStreamsBlockedUniAaTransportAddrInfoAaUnsupportedByPeerAaaccept_conn_burstAaaccept_conn_limitAaactor_link_changeAaadd_endpoint_infoAacollect_and_printAacongestion_eventsAacongestion_windowAaconnect_with_optsAadefault_relay_map0Aaget_endpoint_infoAaget_signed_packetAamax_datagram_sizeAanew_connection_idAapath_cids_blockedAarelay_home_changeAasend_packets_recv0Aasend_packets_sent0Aaset_endpoint_infoAawith_dns_resolverAbAEAD_LIMIT_REACHEDAbAckFrequencyConfigAbCLIENT_AUTH_HEADERAbCONNECTION_REFUSEDAbConnectionSelectorAbDEFAULT_HTTPS_PORT0AbDynProtocolHandlerAbFLOW_CONTROL_ERRORAbHandshakeCompletedAbIntoDiscoveryError0AbInvalidEncodingZ32000AbInvalidHeaderValueAbMtuDiscoveryConfigAbNET_REPORT_TIMEOUTAbPROTOCOL_VIOLATIONAbRelayUrlParseError00AbResolvesServerCertAbRetireConnectionIdAbSTREAM_LIMIT_ERRORAbSTREAM_STATE_ERRORAbServerConfirmsAuthAbStreamsBlockedBidiAbTransportAddrUsageAbTransportErrorCodeAbUnsupportedVersion0Abactor_tick_re_stunAbcommand_for_update00Abcrypto_buffer_sizeAbdefault_relay_modeAbdns_lookup_successAbdns_requests_httpsAbfrom_endpoint_infoAbfrom_u64_uncheckedAbinto_endpoint_addr00Abkey_cache_capacity0Ablocal_port_updatesAbn0_dns_pkarr_relayAbother_packets_recv0Abother_packets_sent0Abpath_status_backupAbpkarr_publish_noopAbrecv_gro_datagramsAbremote_endpoint_idAbrepublish_intervalAbsend_datagram_waitAbset_receive_windowAbtry_from_primitiveAbunique_client_keys0Abupnp_probes_failedAbwith_start_instantAcALPN_QUIC_ADDR_DISCAcAuthenticationError0AcConcurrentDiscoveryAcDecodeInvalidLength000AcDnsDiscoveryBuilderAcInvalidWebsocketUrl0AcNoServiceConfigured0AcPathNewConnectionIdAcPathStatusAvailableAcQuicTransportConfig0AcServerConfigBuilderAcTransportParametersAcUnexpectedFrameType0AcUnorderedRecvStreamAcaugment_subcommandsAcblack_hole_cooldownAcclear_ip_transportsAcdns_lookup_notfoundAcforce_staging_infraAchandshake_completed0Achttp_requests_errorAckeep_alive_intervalAcletsencrypt_contactAclost_plpmtud_probesAcon_congestion_eventAcsent_plpmtud_probesAcstream_data_blockedAcstream_updates_onlyAcstreams_blocked_uniAcupdate_direct_addrsAdBeforeConnectOutcomeAdConnectWithOptsError0AdDEFAULT_METRICS_PORT0AdDeserializationError0AdExceedsMaxPacketSize0AdFRAME_ENCODING_ERRORAdFailedBuildingPacket000AdInvalidRemoteAddressAdInvalidTlsServername0AdMdnsDiscoveryBuilderAdPkarrResolverBuilderAdVarIntBoundsExceededAdack_frequency_configAdblack_holes_detectedAdfrom_arg_matches_mut00Adhandle_client_stream0Admtu_discovery_configAdpkarr_publish_updateAdpkarr_put_rate_limitAdremove_endpoint_infoAdreordering_thresholdAdretire_connection_idAdsend_packets_dropped0Adset_transport_configAdstreams_blocked_bidiAdtransport_parametersAdupdate_endpoint_dataAdupnp_gateway_updatedAdwith_system_defaultsAeAfterHandshakeOutcome0AeClientToRelayDatagramAeNoDefaultClientConfigAePATH_UNSTABLE_OR_POORAePkarrPublisherBuilderAeRelayToClientDatagramAeRemoteEndpointIdErrorAeTryFromPrimitiveErrorAeValidationTokenConfigAeconfidentiality_limitAedefault_na_east_relay0Aedefault_na_west_relayAedns_and_pkarr_serversAehttp_requests_successAelookup_endpoint_by_id0Aelookup_ipv4_staggered0Aelookup_ipv6_staggered0Aeother_packets_dropped0Aepath_status_availableAerun_relay_server_withAestore_packets_expiredAestore_packets_removedAestore_packets_updatedAestream_receive_windowAewith_additional_alpnsAewith_transport_configAfCRYPTO_BUFFER_EXCEEDEDAfMaxLengthExceededError0AfNA_EAST_RELAY_HOSTNAME0AfNA_WEST_RELAY_HOSTNAMEAfNoRelayServicesEnabled0AfPathRetireConnectionIdAfProxyInvalidTargetPort0AfRELAY_PROTOCOL_VERSIONAfSignedPacketBuildErrorAfclear_relay_transportsAfexport_keying_materialAfmapping_varies_by_destAfpath_new_connection_idAfstore_packets_insertedAfto_pkarr_signed_packet0Afwith_mainline_fallbackAgAcmeEventStreamFinished0AgClientAuthHeaderInvalid0AgDEFAULT_RELAY_QUIC_PORT0AgMissingRemoteEndpointId0AgN0_DNS_PKARR_RELAY_PRODAgSignedPacketVerifyErrorAgUnexpectedUpgradeStatus0Agack_eliciting_thresholdAgaddress_family_selectorAgaugment_args_for_update0Agupdate_from_arg_matches00Aguser_data_for_discoveryAhAPPLICATION_ABANDON_PATHAhENV_FORCE_STAGING_RELAYSAhInternalConsistencyError000Ahexternal_address_updatedAhfrom_pkarr_signed_packet0Ahinclude_direct_addressesAhremote_address_validatedAhset_incoming_buffer_sizeAhset_retry_token_lifetimeAhsigned_packet_store_pathAhtransport_ip_paths_addedAiCONNECTION_ID_LIMIT_ERRORAiExportKeyingMaterialErrorAiIncomingZeroRttConnection0AiNO_CID_AVAILABLE_FOR_PATHAiOutgoingZeroRttConnection0AiProxyConnectInvalidStatus0AiProxyInvalidTlsServername0AiQUIC_ADDR_DISC_CLOSE_CODEAiTRANSPORT_PARAMETER_ERRORAidatagram_send_buffer_sizeAihttp_requests_duration_msAiinsecure_skip_cert_verifyAipath_retire_connection_idAjClientToRelayDatagramBatchAjDEFAULT_KEY_CACHE_CAPACITYAjDEFAULT_REPUBLISH_INTERVALAjN0_DNS_PKARR_RELAY_STAGINGAjQuicTransportConfigBuilderAjRelayToClientDatagramBatchAjactor_tick_portmap_changedAjbytes_rx_ratelimited_total0Ajconns_rx_ratelimited_total0Ajdatagram_send_buffer_spaceAjlookup_ipv4_ipv6_staggered0Ajmax_concurrent_uni_streamsAjtransport_ip_paths_removedAkN0_DNS_ENDPOINT_ORIGIN_PROD00AkPATH_RESOURCE_LIMIT_REACHEDAkQUIC_ADDR_DISC_CLOSE_REASONAkenable_segmentation_offloadAkmapping_varies_by_dest_ipv4Akmapping_varies_by_dest_ipv6Akmax_concurrent_bidi_streamsAkset_user_data_for_discoveryAkset_validation_token_configAktransport_relay_paths_addedAkupdate_from_arg_matches_mut00AlDEFAULT_CERT_RELOAD_INTERVALAlconfigure_tracing_subscriberAlcreate_server_config_builderAldatagram_receive_buffer_sizeAlmake_dangerous_client_configAlon_spurious_congestion_event0Alrun_with_config_until_ctrl_cAmcongestion_controller_factoryAmdefault_path_max_idle_timeoutAmsend_observed_address_reportsAmset_max_concurrent_bi_streamsAmtransport_relay_paths_removedAnInvalidProtocolMessageEncoding0AnN0_DNS_ENDPOINT_ORIGIN_STAGING00Anaugment_subcommands_for_updateAnlookup_endpoint_by_domain_name0Anmax_concurrent_multipath_pathsAnset_incoming_buffer_size_totalAnset_max_concurrent_uni_streamsAoinsecure_skip_relay_cert_verifyAolookup_endpoint_by_id_staggered0Aopersistent_congestion_thresholdB`actor_tick_direct_addr_heartbeatB`default_path_keep_alive_intervalB`receive_observed_address_reportsB`self_signed_tls_certs_and_configBbmax_remote_nat_traversal_addressesBfset_max_remote_nat_traversal_addressesBhlookup_endpoint_by_domain_name_staggered0") \ No newline at end of file diff --git a/pr/3734/docs/search.index/name/c028e94d1562.js b/pr/3734/docs/search.index/name/c028e94d1562.js deleted file mode 100644 index 09f5527059..0000000000 --- a/pr/3734/docs/search.index/name/c028e94d1562.js +++ /dev/null @@ -1 +0,0 @@ -rd_("as00b()b->bEqbFnbIdbIo0bIp000bN0bOrb[]b_000bepbeq000000000000000000000000000000000000000000000000000000000000bid0000bor00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000brtbu8cAndcAnycAppcArccBoxcBufcDircDns0cKey0cMAXcMapcNotcOpt0cOrdcPincQadcS2ncTcpcTls00cUdp0cUrlcVeccaddcand0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ccmp0000000000000000000cdht00cdircdns00000000cecncf32cf64cfmt00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cget00cgotci32cimpciosckey000clen00000cmapcmutcnew0000000000000000000000000000000cnotcrtt00cruncs2n0cstrctagctls0cttl0ctyp0cu16cu32cu64curl00000dALPN0dArgsdDatadDenydDial0dDropdFromdHashdIntodIroh00dItemdKeysdMetadNAMEdName0dPathdPing0000dPolldPong00dReaddSenddSidedSinkdSyncdUser00000dUtf80000dVZipdacksdaddr00dalpn00000dbind0dbooldbulkdcertdcode0dconndcwndddata00ddrop00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dfrom0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dhash0000000000000000dhttp0000dinit00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dinto0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dipv40dipv60diroh00diter000dloaddmaindmdns0dmeta00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dname000000000dopendpeekdpingdpoll0000000dport000dprod0dquic00000dreaddrr_adsealdsenddside0dsign0dsize0dstopdttfbdu128dunitdurls0dvzip0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000eAlloweAsRefeBoxed0eByteseChunkeCloneeCloseeCodeceDebugeDerefeError0000000000000000eHttps0eLocaleMAGICeProbeeQuinn0000eRelay0000eReset0eSerDe0eSizedeSmarteStatseTupleeUnpineValue0eaddrs000ealpnseapply0earrayebuild000000ebytes00ecertseclone000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000eclose000ederef000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000edisco0eempty000eframe0ehooks0ehttps0eindexeis_ip00elabel00epaths0epkarr0eprint0equinn0erelay0ereset000eretryerr_nsesliceespawn0000esplitestate00estats0000000estore0etupleeusizeevalueewritefAccept00fAccessfBorrowfBufMutfClient00fCompatfConfigfCustom0fDecode0fFuturefHandlefHasherfHealth00fIpAddrfLENGTH000fLimitsfLoaderfManual00fNoAlpn0fOpenBifOptionfOutputfPolicyfPresetfRecordfReject00fReportfResult000fRouterfServer00fSimplefSource0fStream0fStringfTypeIdfVarInt0fVerify0faccept0000000faccessfas_dyn0000000000000000000000000000000000000fas_ref000fas_std0000000000000000000000000000000000000fborrow000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fchunks00fclient0000fclosed0fcommon0fcompat0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fconfig00fcrypto0000fcustom00fdecode00fencode00fextend0ffinishfgroups0fignorefinsert00fkeylogflimitsfn0_dns00foffsetfon_ack0fonlinefpresetfprobesfprotos0fpublic0freason0000frefusefrejectfrelays0freloadfremove0freportfserver000000fsource000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fstatus0fstream0fto_z3200fudp_rxfudp_txfudp_v4fudp_v6fupdatefvarintfverify0fwindowgAeadKeygBoxIter0gBuilder00gCommandgConnect000gContextgCountergDefault00gDisplaygElapsedgExpired0gFromRefgFromStrgInstantgMetrics0000gNextFutgOpenUnigOptionsgPathBufgPrivategQadIpv4gQadIpv6gReadBufgRequestgResolve00gRuntimegSessiongStaginggStoppedgTIMEOUTgTimeout000gToOwnedgTooLonggTryFromgTryIntogUnknowngUpgrade0gWatchergWrittengaccepts0gbuilder00000000gclientsgcommand00gcompare000000000000000gconnect0gdefault00000000000000000000000000000000000000000000000gdomainsgenabledghas_udpgis_0rttgmetrics000000000000gmin_mtugon_sent0gopen_bigoriginsgpointergpresets0gproblemgpublish000000greportsgresolve00000000000grr_aaaagrun_s2ngstaging0gstoppedgstreams000gtesting0gtimeoutgto_infogtry_forgtype_id0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000gupdatedgupgradehAcceptBihAcceptedhAnyErrorhAppStatehBTreeSethCertModehCommandshDerefMuthDisabled00hDnsError0hDurationhDynClonehEncoding0hEndpoint00hErrorRefhEveryonehHttpSend0hIncoming0hIpv4AddrhIpv6AddrhIrohAttrhIterablehIteratorhMAX_SIZEhNO_ERRORhNamedApp0hNullablehOrderinghPathInfohProtocol0hRejectedhRelayMap0hRelayUrl00hRemoteId0hResolverhStreamIdhTimedOuthToStringhTooLargehTooSmall0hTxtAttrshUdpStatshUserData00hZ32Errorhas_bytes0hcontains0hcontentshdata_dirhdatagramhdefaults000hdisabled00hdurationhendpoint00hexpectedhframe_rxhframe_txhfrom_err00hfrom_ref00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000hfrom_str0000000hfrom_u32hfrom_u64hfrom_z3200hgenerate0hgot_ping0hgroup_id0hhttp_urlhincominghintervalhinto_anyhinto_std0000000000000000000000000000000000000hip_addrs000his_alive0his_empty00000his_relay00hlocal_iphmainlinehmax_datahnew_pinghopen_unihpriorityhprotocol0hresolverhrun_irohhshutdown000000000htimeoutshto_bytes000hto_owned000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000htry_from00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000htry_into0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000htry_poll000000huse_ipv6iAcceptUniiAcceptingiAcmeStateiAlpnError0iAsyncReadiBindError0iBorrowMutiCompatExtiCryptoRngiDatagrams0000iDialError0iDiscovery0000iDnsConfigiDnsServeriFormatteriFrameTypeiHandshake0iHistogram0iJoinError00iLocalAddr0iNoAddress0iNoResults0iNumLabels0000iPartialEqiPathStatsiPointableiPolicyExtiPublicKey000iQuicSpawn0iReadError0iRecordSetiRecvError00iRelayMode0iReloadingiResolvingiSecretKey00iSendError0iSerializeiSignature0iTlsConfigiTryFutureiTryStreamiUtf8ErroriWatchRecv0iWebsocket000iZoneStoreiaccept_biiadd_addrs0iadd_boxediadvertiseiassembleribind_addr00000ibootstrapicert_modeiclient_rxiclone_boxidatagrams00ideref_mut000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000idiscovery0000ifield_ref00000ifmt_short0iframe_lenifrom_iter000000iglobal_v4iglobal_v6ihandshake0ihas_addrs0ihttp_addr0ihttps_urliin_memoryiinitiatoriinto_0rtt0iinto_iteriiroh_baseiis_clientiis_closediis_serverimagicsock0imigrationinew_tokenipath_acksipkarr_urlipoll_next0ipoll_read0iproxy_url00iquic_addrireach_outireferenceirelay_map00irelay_urliremote_id00ireportgeniretry_tagirun_quinnisend_dataisend_ipv4isend_ipv6isent_pong0iserialize0000000000000000000000000000000iset_alpnsistable_idisubscribeito_string000000000000000000000000000000000000000000000000000000000000000000000000itoken_keyitransport0ittfb_histiuser_data00iwrite_alljArgMatchesjAsyncWritejCertConfig0jClientAuthjClientSinkjComparablejConnecting0000jConnection0000000000jControllerjDirectAddrjDiscovered0jDnsHandlerjEndpointId0000jEquivalent0jFrameStatsjHeaderNamejHttpConfigjHttpServerjIntoFuturejInvalidKey000jInvalidUrl0jMAX_LENGTH0jMagicSpawn0jMetricItemjNoResponse0jNonZeroU32jNotAllowed0jPROVENANCEjParseError0000000jPartialOrdjPkarrError0jPortmappedjQuicClientjQuicConfig0jRELAY_PATHjRecordTypejRecvStreamjResetErrorjRestarting00jRestrictedjRetryErrorjSelfSignedjSendStreamjSerializerjSocketAddrjSpawnError0jStackErrorjStatusCodejSubcommandjTimeSourcejWriteErrorjaccept_unijallow_spinjborrow_mut0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000jbytes_recv0jbytes_sent0jchunk_sizejchunk_timejclone_into000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000jcompat_mut0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000jcompat_ref0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000jcongestionjconnection00jequivalent00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000jerror_code00jframe_type000jfrom_boxedjfrom_bytes00000jfrom_parts000jhttps_addr0jinto_innerjiroh_benchjiroh_relayjis_allowedjlocal_addr0jlookup_txt00jlost_bytesjn0_watcherjnameserverjnet_report00jno_publishjnum_labels00jonly_relayjpad_to_mtujpcp_probesjpersistentjpoll_close0jpoll_flush00jpoll_ready0jpoll_write0jportmapperjprovenance00jread_chunkjread_exactjrelay_modejrelay_urls000jremote_mapjsecret_key00jsend_relayjstart_send0jtest_utils0jthroughputjtls_configjtotal_sizejtransportsjwatch_addrjwith_addrs0jzone_storekAcceptError0kAccessLimitkCallMeMaybe0kClientHellokClientStatskCloseReasonkCryptoErrorkDecodeErrorkDeserializekDnsProtocolkDnsResolver0kEmptyPacket0kHeaderValuekHttpPayload0kHttpRequest0kHttpsConfigkIdleTimeoutkLetsEncrypt00kLookupError0kMissingHost0kNoLocalAddr000kPingTrackerkRelayConfig00kResolveBoth0kSelfConnect0kStoreConfigkStreamError000kStreamStatskUnavailable0kUnspecifiedk__clone_box000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000kaccept_withkadd_addresskas_iterable00000kclear_cache00kcreate_connkcurrent_mtukdefault_soakdefault_ttlkdeserialize0000000000000000000000000000000kdisconnects0kdns_handlerkendpoint_id0000kfield_count00000kfmt_message0000000000000000000000000000000000000kinitial_mtu0kinitial_rttkinitializedkinto_future00000000kis_selectedkis_shutdownklookup_ipv400klookup_ipv600kmax_path_idkmax_streamskon_end_acks0kon_endpointkpartial_cmp0000000000000000000kpath_backupkpkarr_relaykquic_config0kread_chunkskread_to_endkrecv_streamkremote_addrksend_streamksend_windowktask_handlektime_sourcekupload_sizekupnp_probeskupper_boundkwith_cryptokwrite_chunklAccessConfiglCertifiedKeylClientConfiglClientStreamlClosedStream00lConnectError0000lConnectionIdlDeserializerlDhtDiscoverylDisconnectedlDnsDiscoverylEndpointAddr00lEndpointData00lEndpointGone0lEndpointInfo00lFromIteratorlIntoIterablelIntoIteratorlInvalidFrame00lLookupFailed0lMetricsGrouplPathInfoListlProxyConnect0lReadDatagramlRelayMetrics0lResolveErrorlRttEstimatorlServerConfig00lSignedPacketlSocketAddrV4lSocketAddrV6lStoppedErrorlas_protocolslaugment_args0lbind_addr_v4lbind_addr_v6lcertificateslclose_reasonldata_blockedldefault_ipv4ldefault_ipv6ldns_requestsldns_resolver00000lfrom_err_anylfrom_err_box0linitial_keyslinsert_relaylis_connectedllast_updated0llost_packetslmax_incominglmetrics_addrlon_accepting000lpath_abandonlping_trackerlpoll_updatedlreconnect_inlrelay_configlremote_statelremove_relaylreports_fulllreset_streamlresolve_host0lsegment_sizelsent_packetslservice_namelset_prioritylstop_sendinglstream_statslwith_ip_addr0lwrite_chunksmCidsExhaustedmClientBuildermCloneToUninitmDecodingError00000000mDiscoveryItemmEncodingError000mEndpointHooksmEndpointIdExt0mFinishedEarlymFrameTooLarge0mINVALID_TOKENmIROH_TXT_NAME0mIntoDiscoverymInvalidLength000mLocallyClosedmMdnsDiscoverymMetricsConfigmPkarrResolvermPrivateKeyDermQad4LocalPortmReadableErrormRouterBuildermTaskCancelled0mTransportAddr00mTxtRecordDatamUnexpectedEnd0000mZeroRttStatusmack_frequencymbound_socketsmclient_configmdownload_sizemduration_histmempty_buildermendpoint_addrmendpoint_info00000mfrom_servicesmgroups_cloned0mhttp_requestsmimmediate_ackminto_incomingmmax_ack_delaymnat_traversalmobserved_addrmon_mtu_updatempath_responsempaths_blockedmpcp_availablempeer_identitympoll_read_bufmpoll_shutdownmpong_receivedmrate_limitingmread_datagrammrelay_latencymsend_datagrammsend_fairnessmsend_responsemserver_config00mset_user_data0mstart_sessionmtake_segmentsmtry_from_iter0mtry_poll_next0mtry_to_string000000000000000000000000000000000000000000000000000000000000000000mwith_ip_addrs000nAttrFromString0000nCertificateDernCommandFactorynConnectOptionsnConnectionInfonConnectionLost0000nDirectAddrTypenDiscoveryError0nDiscoveryEvent0nDnsPkarrServernFrameTypeError00000nFromArgMatchesnINTERNAL_ERRORnInitializedFutnMainlineConfignNO_VIABLE_PATHnPkarrPublishernPortmapMetricsnPublicKeyErrornReadExactErrornReadToEndErrornRelayLatenciesnRequestHandlernSignatureError00nSimpleDnsErrornStaggeredErrornStaticProvidernTlsHeaderParse0nTransferResultnTransportError0nactor_tick_msgnaead_from_hkdfnanswer_requestnavg_chunk_sizenbefore_connect0ncaptive_portalnclear_ip_addrs0nclient_handlernconnect_client0nexpected_typesnhandle_requestnhandshake_data00nhandshake_donenhas_subcommandnhttp_bind_addrninitial_windowninto_discovery000000000000nis_transparent0000000000000000000000000000000000000nminimum_changennetwork_changenpath_availablenpath_challengenprobes_startednproxy_from_envnproxy_hostnamenquic_bind_addrnread_unorderednreceive_windownreceived_resetnrecv_data_ipv4nrecv_data_ipv6nrecv_datagramsnremote_addressnremove_addressnrun_until_done0nsaturating_addnthroughput_bpsntime_thresholdnto_txt_strings0ntotal_durationnunknown_frames0nupnp_availablenwith_relay_url00000nwith_user_data000oBindTcpListener0oBindTlsListener0oBootstrapOptionoClientRateLimitoConnectingError0oConnectionCloseoConnectionError00000oConnectionStateoConnectionStatsoEndpointMetricsoIncomingZeroRttoInvalidRelayUrl000oInvalidResponse0oInvalidTxtEntry000oKeyParsingError0000oLocallyRejected000oMAX_PACKET_SIZE0oMessageResponseoMetricsGroupSetoNotAnIrohRecord0000oOutgoingZeroRttoProtocolHandleroProxyInvalidUrl0oRateLimitConfigoRelayQuicConfigoResponseHandleroServerChallengeoSupervisorError0oTransportConfig00oTryReserveErroroUnexpectedFrame0oVersionMismatchoZeroRttRejected000oactor_tick_mainoafter_handshake0oclear_discoveryoclone_to_uninit000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000odefault_timeoutodst_endpoint_idoendpoint_originofrom_txt_lookup0ohttps_bind_addroiroh_dns_serveromax_burst_bytesomax_stream_dataomax_streams_uniomax_tls_ticketsopreferred_relayorecv_data_relayorepublish_delayorun_until_errororun_with_originoserver_endpoint0ostatic_provider0ostream_finishedothroughput_histowith_nameserver00owith_provenanceA`ApplicationCloseA`CleanupDropGuardA`ClientToRelayMsg0A`ConnectionClosedA`EndpointSelectorA`FINAL_SIZE_ERRORA`HandshakeFailure0A`InvalidFrameType0A`InvalidPublicKey0A`KEY_UPDATE_ERRORA`MagicsockMetricsA`NO_CID_AVAILABLEA`NetReportMetricsA`PkarrRelayClientA`RELAY_PROBE_PATHA`RelayToClientMsg0A`ServerDeniedAuth0A`ServerDeniesAuthA`ToStringFallibleA`TryFromPrimitiveA`UnexpectedFormat0000A`UnknownFrameType0A`UnknownHandshake0A`actor_tick_otherA`bytes_per_secondA`clear_relay_urls0A`congestion_stateA`connection_closeA`default_ap_relayA`default_eu_relay0A`dns_lookup_errorA`dns_requests_udpA`from_arg_matches00A`iroh_quinn_protoA`letsencrypt_prodA`lookup_ipv4_ipv60A`mapping_attemptsA`mapping_failuresA`max_idle_timeoutA`max_streams_bidiA`packet_thresholdA`run_relay_serverA`send_relay_errorA`to_endpoint_addr00A`transport_config000A`validation_tokenA`with_nameserversA`with_single_certA`write_all_chunksAaAPPLICATION_ERRORAaAP_RELAY_HOSTNAMEAaAbortOnDropHandleAaApplicationClosedAaControllerFactoryAaControllerMetricsAaDEFAULT_HTTP_PORT0AaDEFAULT_PKARR_TTLAaEU_RELAY_HOSTNAME0AaHandshakeTokenKeyAaInvalidTargetPort0AaReloadingResolverAaSendDatagramErrorAaUnsupportedByPeerAaaccept_conn_burstAaaccept_conn_limitAaactor_link_changeAaadd_endpoint_infoAacollect_and_printAacongestion_eventsAaconnect_with_optsAadefault_relay_map0Aaget_endpoint_infoAaget_signed_packetAamax_datagram_sizeAanew_connection_idAapath_cids_blockedAarelay_home_changeAasend_packets_recv0Aasend_packets_sent0Aaset_endpoint_infoAawith_dns_resolverAbAEAD_LIMIT_REACHEDAbAckFrequencyConfigAbCLIENT_AUTH_HEADERAbCONNECTION_REFUSEDAbConnectionSelectorAbCryptoServerConfigAbDEFAULT_HTTPS_PORT0AbDynProtocolHandlerAbFLOW_CONTROL_ERRORAbHandshakeCompletedAbIllegalOrderedReadAbIntoDiscoveryError0AbInvalidEncodingZ32000AbInvalidHeaderValueAbMtuDiscoveryConfigAbPROTOCOL_VIOLATIONAbRelayUrlParseError00AbResolvesServerCertAbSTREAM_LIMIT_ERRORAbSTREAM_STATE_ERRORAbServerConfirmsAuthAbTransportErrorCodeAbUNSTABLE_INTERFACEAbUnsupportedVersionAbactor_tick_re_stunAbcommand_for_update00Abcrypto_buffer_sizeAbdefault_relay_modeAbdisco_packets_recv0Abdisco_packets_sent0Abdns_lookup_successAbdns_requests_httpsAbfrom_endpoint_infoAbfrom_u64_uncheckedAbinto_endpoint_addr00Abkey_cache_capacity0Ablocal_port_updatesAbn0_dns_pkarr_relayAbother_packets_recv0Abother_packets_sent0Abpath_ping_failuresAbpath_quality_scoreAbpkarr_publish_noopAbrecv_gro_datagramsAbremote_endpoint_idAbrepublish_intervalAbset_receive_windowAbtry_from_primitiveAbunique_client_keys0Abupnp_probes_failedAcALPN_QUIC_ADDR_DISCAcAPPLICATION_ABANDONAcAuthenticationError0AcConcurrentDiscoveryAcDecodeInvalidLength000AcDnsDiscoveryBuilderAcInvalidWebsocketUrl0AcNoServiceConfigured0AcQuicTransportConfig0AcTransportParametersAcUnexpectedFrameType0Acaugment_subcommandsAcblack_hole_cooldownAcclear_ip_transportsAcdns_lookup_notfoundAcendpoints_contactedAcforce_staging_infraAchandshake_completed0Achttp_requests_errorAckeep_alive_intervalAcletsencrypt_contactAclost_plpmtud_probesAcon_congestion_eventAcpath_failure_resetsAcsent_plpmtud_probesAcstream_data_blockedAcstream_updates_onlyAcstreams_blocked_uniAcupdate_direct_addrsAdBeforeConnectOutcomeAdConnectWithOptsError0AdDEFAULT_METRICS_PORT0AdDeserializationError0AdExceedsMaxPacketSize0AdFRAME_ENCODING_ERRORAdFailedBuildingPacket000AdInvalidTlsServername0AdMdnsDiscoveryBuilderAdPkarrResolverBuilderAdVarIntBoundsExceededAdWeakConnectionHandleAdack_frequency_configAdblack_holes_detectedAdfrom_arg_matches_mut00Adhandle_client_stream0Adincoming_buffer_sizeAdmtu_discovery_configAdnetwork_path_changedAdpath_marked_outdatedAdpath_rtt_variance_msAdpkarr_publish_updateAdpkarr_put_rate_limitAdpreferred_address_v4Adpreferred_address_v6Adremove_endpoint_infoAdreordering_thresholdAdretire_connection_idAdretry_token_lifetimeAdsend_packets_dropped0Adstreams_blocked_bidiAdupdate_endpoint_dataAdupnp_gateway_updatedAdwith_system_defaultsAeAfterHandshakeOutcome0AeClientToRelayDatagramAePkarrPublisherBuilderAeRelayToClientDatagramAeRemoteEndpointIdErrorAeTryFromPrimitiveErrorAeValidationTokenConfigAeconnection_latency_msAedefault_na_east_relay0Aedefault_na_west_relayAedisco_packets_dropped0Aedns_and_pkarr_serversAehttp_requests_successAelookup_endpoint_by_id0Aelookup_ipv4_staggered0Aelookup_ipv6_staggered0Aenum_relay_conns_addedAeother_packets_dropped0Aepath_packet_loss_rateAerun_relay_server_withAestore_packets_expiredAestore_packets_removedAestore_packets_updatedAestream_receive_windowAewith_additional_alpnsAewith_transport_configAfCRYPTO_BUFFER_EXCEEDEDAfMaxLengthExceededError0AfNA_EAST_RELAY_HOSTNAME0AfNA_WEST_RELAY_HOSTNAMEAfNoRelayServicesEnabled0AfProxyInvalidTargetPort0AfRELAY_PROTOCOL_VERSIONAfRESOURCE_LIMIT_REACHEDAfSignedPacketBuildErrorAfclear_relay_transportsAfexport_keying_materialAfmapping_varies_by_destAfnum_direct_conns_addedAfpath_new_connection_idAfsend_data_network_downAfstore_packets_insertedAfto_pkarr_signed_packet0Afwith_mainline_fallbackAgAcmeEventStreamFinished0AgClientAuthHeaderInvalid0AgDEFAULT_RELAY_QUIC_PORT0AgMissingRemoteEndpointId0AgN0_DNS_PKARR_RELAY_PRODAgSignedPacketVerifyErrorAgUnexpectedUpgradeStatus0Agack_eliciting_thresholdAgaddress_family_selectorAgaugment_args_for_update0Agnum_relay_conns_removedAgupdate_from_arg_matches00Aguser_data_for_discoveryAgvalidation_token_configAhENV_FORCE_STAGING_RELAYSAhInternalConsistencyError000Ahconnection_became_directAhexternal_address_updatedAhfrom_pkarr_signed_packet0Ahinclude_direct_addressesAhlooks_like_disco_wrapperAhnum_direct_conns_removedAhremote_address_validatedAhsigned_packet_store_pathAiCONNECTION_ID_LIMIT_ERRORAiExportKeyingMaterialErrorAiIncomingZeroRttConnection0AiOutgoingZeroRttConnection0AiProxyConnectInvalidStatus0AiProxyInvalidTlsServername0AiQUIC_ADDR_DISC_CLOSE_CODEAiTRANSPORT_PARAMETER_ERRORAidatagram_send_buffer_sizeAihttp_requests_duration_msAiinsecure_skip_cert_verifyAipath_retire_connection_idAjClientToRelayDatagramBatchAjDEFAULT_KEY_CACHE_CAPACITYAjDEFAULT_REPUBLISH_INTERVALAjN0_DNS_PKARR_RELAY_STAGINGAjRelayToClientDatagramBatchAjactor_tick_portmap_changedAjbytes_rx_ratelimited_total0Ajconns_rx_ratelimited_total0Ajdatagram_send_buffer_spaceAjincoming_buffer_size_totalAjlookup_ipv4_ipv6_staggered0Ajmax_concurrent_uni_streamsAkN0_DNS_ENDPOINT_ORIGIN_PROD00AkQUIC_ADDR_DISC_CLOSE_REASONAkenable_segmentation_offloadAkmapping_varies_by_dest_ipv4Akmapping_varies_by_dest_ipv6Akmax_concurrent_bidi_streamsAkset_user_data_for_discoveryAkupdate_from_arg_matches_mut00AlDEFAULT_CERT_RELOAD_INTERVALAlconfigure_tracing_subscriberAlconnection_handshake_successAldatagram_receive_buffer_sizeAlendpoints_contacted_directlyAlmake_dangerous_client_configAlon_spurious_congestion_event0Alrun_with_config_until_ctrl_cAmcongestion_controller_factoryAmdefault_path_max_idle_timeoutAmsend_observed_address_reportsAmset_max_concurrent_bi_streamsAnInvalidProtocolMessageEncoding0AnN0_DNS_ENDPOINT_ORIGIN_STAGING00Anaugment_subcommands_for_updateAnlookup_endpoint_by_domain_name0Anmax_concurrent_multipath_pathsAnset_max_concurrent_uni_streamsAoinsecure_skip_relay_cert_verify0Aolookup_endpoint_by_id_staggered0Aopersistent_congestion_thresholdB`actor_tick_direct_addr_heartbeatB`default_path_keep_alive_intervalB`receive_observed_address_reportsB`self_signed_tls_certs_and_configBfset_max_remote_nat_traversal_addressesBhlookup_endpoint_by_domain_name_staggered0") \ No newline at end of file diff --git a/pr/3734/docs/search.index/normalizedName/08e56d524811.js b/pr/3734/docs/search.index/normalizedName/08e56d524811.js deleted file mode 100644 index db3e8e6dcc..0000000000 --- a/pr/3734/docs/search.index/normalizedName/08e56d524811.js +++ /dev/null @@ -1 +0,0 @@ -rd_("as00b()b->beqbfnbidbio0bip000bn0borb[]a000bep999999999999999999999999999999999999999999999999999999999999977777333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333brtbu8candcanycappcarccboxcbufcdircdns0ckey0cmaxcmapcnotcopt0cordcpincqadcs2nctcpctls00cudp0curlcveccaddcand0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ccmp0000000000000000000cdht00cdircdns00000000cecncf32cf64cfmt00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cget00cgotci32cimpciosckey000clen00000cmapcmutcnew0000000000000000000000000000000cnotcrtt00cruncs2n0cstrctagctls0cttl0ctyp0cu16cu32cu64curl00000dalpn0dargsddataddenyddial0ddropdfromdhashdintodiroh00ditemdkeysdmetadname00dpathdping0000dpolldpong00dreaddsenddsidedsinkdsyncduser00000dutf80000dvzipdacksdaddr00dalpn00000dbind0dbooldbulkdcertdcode0dconndcwndddata00ddrop00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dfrom0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dhash0000000000000000dhttp0000dinit00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dinto0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dipv40dipv60diroh00diter000dloaddmaindmdns0dmeta00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dname000000000dopendpeekdpingdpoll0000000dport000dprod0dquic00000dreadcrradsealdsenddside0dsign0dsize0dstopdttfbdu128dunitdurls0dvzip0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ealloweasrefeboxed0ebytesechunkecloneecloseecodecedebugederefeerror0000000000000000ehttps0elocalemagiceprobeequinn0000erelay0000ereset0eserde0esizedesmartestatsetupleeunpinevalue0eaddrs000ealpnseapply0earrayebuild000000ebytes00ecertseclone000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000eclose000ederef000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000edisco0eempty000eframe0ehooks0ehttps0eindexdisip00elabel00epaths0epkarr0eprint0equinn0erelay0ereset000eretrydrrnsesliceespawn0000esplitestate00estats0000000estore0etupleeusizeevalueewritefaccept00faccessfborrowfbufmutfclient00fcompatfconfigfcustom0fdecode0ffuturefhandlefhasherfhealth00fipaddrflength000flimitsfloaderfmanual00fnoalpn0fopenbifoptionfoutputfpolicyfpresetfrecordfreject00freportfresult000frouterfserver00fsimplefsource0fstream0fstringftypeidfvarint0fverify0faccept0000000faccesseasdyn0000000000000000000000000000000000000easref000easstd0000000000000000000000000000000000000fborrow000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fchunks00fclient0000fclosed0fcommon0fcompat0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fconfig00fcrypto0000fcustom00fdecode00fencode00fextend0ffinishfgroups0fignorefinsert00fkeylogflimitsen0dns00foffseteonack0fonlinefpresetfprobesfprotos0fpublic0freason0000frefusefrejectfrelays0freloadfremove0freportfserver000000fsource000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fstatus0fstream0etoz3200eudprxeudptxeudpv4eudpv6fupdatefvarintfverify0fwindowgaeadkeygboxiter0gbuilder00gcommandgconnect000gcontextgcountergdefault00gdisplaygelapsedgexpired0gfromrefgfromstrginstantgmetrics0000gnextfutgopenunigoptionsgpathbufgprivategqadipv4gqadipv6greadbufgrequestgresolve00gruntimegsessiongstaginggstoppedgtimeout0000gtoownedgtoolonggtryfromgtryintogunknowngupgrade0gwatchergwrittengaccepts0gbuilder00000000gclientsgcommand00gcompare000000000000000gconnect0gdefault00000000000000000000000000000000000000000000000gdomainsgenabledfhasudpfis0rttgmetrics000000000000fminmtufonsent0fopenbigoriginsgpointergpresets0gproblemgpublish000000greportsgresolve00000000000frraaaafruns2ngstaging0gstoppedgstreams000gtesting0gtimeoutftoinfoftryforftypeid0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000gupdatedgupgradehacceptbihacceptedhanyerrorhappstatehbtreesethcertmodehcommandshderefmuthdisabled00hdnserror0hdurationhdynclonehencoding0hendpoint00herrorrefheveryonehhttpsend0hincoming0hipv4addrhipv6addrhirohattrhiterablehiteratorgmaxsizegnoerrorhnamedapp0hnullablehorderinghpathinfohprotocol0hrejectedhrelaymap0hrelayurl00hremoteid0hresolverhstreamidhtimedouthtostringhtoolargehtoosmall0htxtattrshudpstatshuserdata00hz32errorgasbytes0hcontains0hcontentsgdatadirhdatagramhdefaults000hdisabled00hdurationhendpoint00hexpectedgframerxgframetxgfromerr00gfromref00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000gfromstr0000000gfromu32gfromu64gfromz3200hgenerate0ggotping0ggroupid0ghttpurlhincominghintervalgintoanygintostd0000000000000000000000000000000000000gipaddrs000gisalive0gisempty00000gisrelay00glocaliphmainlinegmaxdatagnewpinggopenunihpriorityhprotocol0hresolvergrunirohhshutdown000000000htimeoutsgtobytes000gtoowned000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000gtryfrom00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000gtryinto0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000gtrypoll000000guseipv6iacceptuniiacceptingiacmestateialpnerror0iasyncreadibinderror0iborrowmuticompatexticryptorngidatagrams0000idialerror0idiscovery0000idnsconfigidnsserveriformatteriframetypeihandshake0ihistogram0ijoinerror00ilocaladdr0inoaddress0inoresults0inumlabels0000ipartialeqipathstatsipointableipolicyextipublickey000iquicspawn0ireaderror0irecordsetirecverror00irelaymode0ireloadingiresolvingisecretkey00isenderror0iserializeisignature0itlsconfigitryfutureitrystreamiutf8erroriwatchrecv0iwebsocket000izonestorehacceptbihaddaddrs0haddboxediadvertiseiassemblerhbindaddr00000ibootstraphcertmodehclientrxhcloneboxidatagrams00hderefmut000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000idiscovery0000hfieldref00000hfmtshort0hframelenhfromiter000000hglobalv4hglobalv6ihandshake0hhasaddrs0hhttpaddr0hhttpsurlhinmemoryiinitiatorhinto0rtt0hintoiterhirohbasehisclienthisclosedhisserverimagicsock0imigrationhnewtokenhpathackshpkarrurlhpollnext0hpollread0hproxyurl00hquicaddrhreachoutireferencehrelaymap00hrelayurlhremoteid00ireportgenhretrytaghrunquinnhsenddatahsendipv4hsendipv6hsentpong0iserialize0000000000000000000000000000000hsetalpnshstableidisubscribehtostring000000000000000000000000000000000000000000000000000000000000000000000000htokenkeyitransport0httfbhisthuserdata00hwritealljargmatchesjasyncwritejcertconfig0jclientauthjclientsinkjcomparablejconnecting0000jconnection0000000000jcontrollerjdirectaddrjdiscovered0jdnshandlerjendpointid0000jequivalent0jframestatsjheadernamejhttpconfigjhttpserverjintofuturejinvalidkey000jinvalidurl0imaxlength0jmagicspawn0jmetricitemjnoresponse0jnonzerou32jnotallowed0jprovenancejparseerror0000000jpartialordjpkarrerror0jportmappedjquicclientjquicconfig0irelaypathjrecordtypejrecvstreamjreseterrorjrestarting00jrestrictedjretryerrorjselfsignedjsendstreamjserializerjsocketaddrjspawnerror0jstackerrorjstatuscodejsubcommandjtimesourcejwriteerroriacceptuniiallowspiniborrowmut0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ibytesrecv0ibytessent0ichunksizeichunktimeicloneinto000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000icompatmut0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000icompatref0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000jcongestionjconnection00jequivalent00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ierrorcode00iframetype000ifromboxedifrombytes00000ifromparts000ihttpsaddr0iintoinneriirohbenchiirohrelayiisallowedilocaladdr0ilookuptxt00ilostbytesin0watcherjnameserverinetreport00inopublishinumlabels00ionlyrelayhpadtomtuipcpprobesjpersistentipollclose0ipollflush00ipollready0ipollwrite0jportmapperjprovenance00ireadchunkireadexactirelaymodeirelayurls000iremotemapisecretkey00isendrelayistartsend0itestutils0jthroughputitlsconfigitotalsizejtransportsiwatchaddriwithaddrs0izonestorekaccepterror0kaccesslimitkcallmemaybe0kclienthellokclientstatskclosereasonkcryptoerrorkdecodeerrorkdeserializekdnsprotocolkdnsresolver0kemptypacket0kheadervaluekhttppayload0khttprequest0khttpsconfigkidletimeoutkletsencrypt00klookuperror0kmissinghost0knolocaladdr000kpingtrackerkrelayconfig00kresolveboth0kselfconnect0kstoreconfigkstreamerror000kstreamstatskunavailable0kunspecifiedhclonebox000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000jacceptwithjaddaddressjasiterable00000jclearcache00jcreateconnjcurrentmtujdefaultsoajdefaultttlkdeserialize0000000000000000000000000000000kdisconnects0jdnshandlerjendpointid0000jfieldcount00000jfmtmessage0000000000000000000000000000000000000jinitialmtu0jinitialrttkinitializedjintofuture00000000jisselectedjisshutdownjlookupipv400jlookupipv600imaxpathidjmaxstreamsionendacks0jonendpointjpartialcmp0000000000000000000jpathbackupjpkarrrelayjquicconfig0jreadchunksireadtoendjrecvstreamjremoteaddrjsendstreamjsendwindowjtaskhandlejtimesourcejuploadsizejupnpprobesjupperboundjwithcryptojwritechunklaccessconfiglcertifiedkeylclientconfiglclientstreamlclosedstream00lconnecterror0000lconnectionidldeserializerldhtdiscoveryldisconnectedldnsdiscoverylendpointaddr00lendpointdata00lendpointgone0lendpointinfo00lfromiteratorlintoiterablelintoiteratorlinvalidframe00llookupfailed0lmetricsgrouplpathinfolistlproxyconnect0lreaddatagramlrelaymetrics0lresolveerrorlrttestimatorlserverconfig00lsignedpacketlsocketaddrv4lsocketaddrv6lstoppederrorkasprotocolskaugmentargs0jbindaddrv4jbindaddrv6lcertificateskclosereasonkdatablockedkdefaultipv4kdefaultipv6kdnsrequestskdnsresolver00000jfromerranyjfromerrbox0kinitialkeyskinsertrelaykisconnectedklastupdated0klostpacketskmaxincomingkmetricsaddrkonaccepting000kpathabandonkpingtrackerkpollupdatedkreconnectinkrelayconfigkremotestatekremoverelaykreportsfullkresetstreamkresolvehost0ksegmentsizeksentpacketskservicenameksetprioritykstopsendingkstreamstatsjwithipaddr0kwritechunksmcidsexhaustedmclientbuildermclonetouninitmdecodingerror00000000mdiscoveryitemmencodingerror000mendpointhooksmendpointidext0mfinishedearlymframetoolarge0linvalidtokenkirohtxtname0mintodiscoveryminvalidlength000mlocallyclosedmmdnsdiscoverymmetricsconfigmpkarrresolvermprivatekeydermqad4localportmreadableerrormrouterbuildermtaskcancelled0mtransportaddr00mtxtrecorddatamunexpectedend0000mzerorttstatuslackfrequencylboundsocketslclientconfigldownloadsizeldurationhistlemptybuilderlendpointaddrlendpointinfo00000lfromserviceslgroupscloned0lhttprequestslimmediateacklintoincomingkmaxackdelaylnattraversallobservedaddrkonmtuupdatelpathresponselpathsblockedlpcpavailablelpeeridentitykpollreadbuflpollshutdownlpongreceivedlratelimitinglreaddatagramlrelaylatencylsenddatagramlsendfairnesslsendresponselserverconfig00ksetuserdata0lstartsessionltakesegmentsktryfromiter0ktrypollnext0ktrytostring000000000000000000000000000000000000000000000000000000000000000000kwithipaddrs000nattrfromstring0000ncertificatederncommandfactorynconnectoptionsnconnectioninfonconnectionlost0000ndirectaddrtypendiscoveryerror0ndiscoveryevent0ndnspkarrservernframetypeerror00000nfromargmatchesminternalerrorninitializedfutnmainlineconfiglnoviablepathnpkarrpublishernportmapmetricsnpublickeyerrornreadexacterrornreadtoenderrornrelaylatenciesnrequesthandlernsignatureerror00nsimplednserrornstaggerederrornstaticproviderntlsheaderparse0ntransferresultntransporterror0lactortickmsglaeadfromhkdfmanswerrequestlavgchunksizembeforeconnect0mcaptiveportallclearipaddrs0mclienthandlermconnectclient0mexpectedtypesmhandlerequestmhandshakedata00mhandshakedonemhassubcommandlhttpbindaddrminitialwindowmintodiscovery000000000000mistransparent0000000000000000000000000000000000000mminimumchangemnetworkchangempathavailablempathchallengemprobesstartedlproxyfromenvmproxyhostnamelquicbindaddrmreadunorderedmreceivewindowmreceivedresetlrecvdataipv4lrecvdataipv6mrecvdatagramsmremoteaddressmremoveaddresslrununtildone0msaturatingaddmthroughputbpsmtimethresholdltotxtstrings0mtotaldurationmunknownframes0mupnpavailablelwithrelayurl00000lwithuserdata000obindtcplistener0obindtlslistener0obootstrapoptionoclientratelimitoconnectingerror0oconnectioncloseoconnectionerror00000oconnectionstateoconnectionstatsoendpointmetricsoincomingzerorttoinvalidrelayurl000oinvalidresponse0oinvalidtxtentry000okeyparsingerror0000olocallyrejected000mmaxpacketsize0omessageresponseometricsgroupsetonotanirohrecord0000ooutgoingzerorttoprotocolhandleroproxyinvalidurl0oratelimitconfigorelayquicconfigoresponsehandleroserverchallengeosupervisorerror0otransportconfig00otryreserveerrorounexpectedframe0oversionmismatchozerorttrejected000mactortickmainnafterhandshake0ncleardiscoverymclonetouninit000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ndefaulttimeoutmdstendpointidnendpointoriginmfromtxtlookup0mhttpsbindaddrmirohdnsservermmaxburstbytesmmaxstreamdatammaxstreamsunimmaxtlsticketsnpreferredrelaymrecvdatarelaynrepublishdelaymrununtilerrormrunwithoriginnserverendpoint0nstaticprovider0nstreamfinishednthroughputhistnwithnameserver00nwithprovenanceA`applicationcloseA`cleanupdropguardA`clienttorelaymsg0A`connectionclosedA`endpointselectornfinalsizeerrorA`handshakefailure0A`invalidframetype0A`invalidpublickey0nkeyupdateerrorA`magicsockmetricsnnocidavailableA`netreportmetricsA`pkarrrelayclientnrelayprobepathA`relaytoclientmsg0A`serverdeniedauth0A`serverdeniesauthA`tostringfallibleA`tryfromprimitiveA`unexpectedformat0000A`unknownframetype0A`unknownhandshake0nactortickothernbytespersecondnclearrelayurls0ocongestionstateoconnectionclosendefaultaprelayndefaulteurelay0ndnslookuperrorndnsrequestsudpnfromargmatches00nirohquinnprotooletsencryptprodnlookupipv4ipv60omappingattemptsomappingfailuresnmaxidletimeoutnmaxstreamsbidiopacketthresholdnrunrelayservernsendrelayerrorntoendpointaddr00otransportconfig000ovalidationtokenowithnameserversnwithsinglecertnwriteallchunksA`applicationerroroaprelayhostnameAaabortondrophandleAaapplicationclosedAacontrollerfactoryAacontrollermetricsodefaulthttpport0odefaultpkarrttloeurelayhostname0AahandshaketokenkeyAainvalidtargetport0AareloadingresolverAasenddatagramerrorAaunsupportedbypeeroacceptconnburstoacceptconnlimitoactorlinkchangeoaddendpointinfoocollectandprintA`congestioneventsoconnectwithoptsodefaultrelaymap0ogetendpointinfoogetsignedpacketomaxdatagramsizeonewconnectionidopathcidsblockedorelayhomechangeosendpacketsrecv0osendpacketssent0osetendpointinfoowithdnsresolverA`aeadlimitreachedAbackfrequencyconfigA`clientauthheaderAaconnectionrefusedAbconnectionselectorAbcryptoserverconfigA`defaulthttpsport0AbdynprotocolhandlerA`flowcontrolerrorAbhandshakecompletedAbillegalorderedreadAbintodiscoveryerror0Abinvalidencodingz32000AbinvalidheadervalueAbmtudiscoveryconfigAaprotocolviolationAbrelayurlparseerror00AbresolvesservercertA`streamlimiterrorA`streamstateerrorAbserverconfirmsauthAbtransporterrorcodeAaunstableinterfaceAbunsupportedversionoactortickrestunA`commandforupdate00A`cryptobuffersizeA`defaultrelaymodeA`discopacketsrecv0A`discopacketssent0A`dnslookupsuccessA`dnsrequestshttpsA`fromendpointinfoA`fromu64uncheckedA`intoendpointaddr00A`keycachecapacity0A`localportupdateson0dnspkarrrelayA`otherpacketsrecv0A`otherpacketssent0A`pathpingfailuresA`pathqualityscoreA`pkarrpublishnoopA`recvgrodatagramsA`remoteendpointidAarepublishintervalA`setreceivewindowA`tryfromprimitiveA`uniqueclientkeys0A`upnpprobesfailedA`alpnquicaddrdiscAbapplicationabandonAcauthenticationerror0AcconcurrentdiscoveryAcdecodeinvalidlength000AcdnsdiscoverybuilderAcinvalidwebsocketurl0Acnoserviceconfigured0Acquictransportconfig0ActransportparametersAcunexpectedframetype0AbaugmentsubcommandsAablackholecooldownAacleariptransportsAadnslookupnotfoundAbendpointscontactedAaforcestaginginfraAbhandshakecompleted0AahttprequestserrorAakeepaliveintervalAbletsencryptcontactAalostplpmtudprobesAaoncongestioneventAapathfailureresetsAasentplpmtudprobesAastreamdatablockedAastreamupdatesonlyAastreamsblockeduniAaupdatedirectaddrsAdbeforeconnectoutcomeAdconnectwithoptserror0Abdefaultmetricsport0Addeserializationerror0Adexceedsmaxpacketsize0AbframeencodingerrorAdfailedbuildingpacket000Adinvalidtlsservername0AdmdnsdiscoverybuilderAdpkarrresolverbuilderAdvarintboundsexceededAdweakconnectionhandleAbackfrequencyconfigAbblackholesdetectedAafromargmatchesmut00Abhandleclientstream0AbincomingbuffersizeAbmtudiscoveryconfigAbnetworkpathchangedAbpathmarkedoutdatedAapathrttvariancemsAbpkarrpublishupdateAapkarrputratelimitAbpreferredaddressv4Abpreferredaddressv6AbremoveendpointinfoAcreorderingthresholdAbretireconnectionidAbretrytokenlifetimeAbsendpacketsdropped0AbstreamsblockedbidiAbupdateendpointdataAbupnpgatewayupdatedAbwithsystemdefaultsAeafterhandshakeoutcome0AeclienttorelaydatagramAepkarrpublisherbuilderAerelaytoclientdatagramAeremoteendpointiderrorAetryfromprimitiveerrorAevalidationtokenconfigAcconnectionlatencymsAbdefaultnaeastrelay0AbdefaultnawestrelayAcdiscopacketsdropped0AbdnsandpkarrserversAchttprequestssuccessAblookupendpointbyid0Aclookupipv4staggered0Aclookupipv6staggered0AbnumrelayconnsaddedAcotherpacketsdropped0AbpathpacketlossrateAbrunrelayserverwithAcstorepacketsexpiredAcstorepacketsremovedAcstorepacketsupdatedAcstreamreceivewindowAcwithadditionalalpnsAcwithtransportconfigAdcryptobufferexceededAfmaxlengthexceedederror0Acnaeastrelayhostname0AcnawestrelayhostnameAfnorelayservicesenabled0Afproxyinvalidtargetport0AdrelayprotocolversionAdresourcelimitreachedAfsignedpacketbuilderrorAdclearrelaytransportsAdexportkeyingmaterialAcmappingvariesbydestAcnumdirectconnsaddedAcpathnewconnectionidAcsenddatanetworkdownAdstorepacketsinsertedActopkarrsignedpacket0AdwithmainlinefallbackAgacmeeventstreamfinished0Agclientauthheaderinvalid0Addefaultrelayquicport0Agmissingremoteendpointid0Acn0dnspkarrrelayprodAgsignedpacketverifyerrorAgunexpectedupgradestatus0AeackelicitingthresholdAeaddressfamilyselectorAdaugmentargsforupdate0AdnumrelayconnsremovedAdupdatefromargmatches00AduserdatafordiscoveryAevalidationtokenconfigAeenvforcestagingrelaysAhinternalconsistencyerror000AfconnectionbecamedirectAfexternaladdressupdatedAefrompkarrsignedpacket0AfincludedirectaddressesAelookslikediscowrapperAenumdirectconnsremovedAfremoteaddressvalidatedAesignedpacketstorepathAfconnectionidlimiterrorAiexportkeyingmaterialerrorAiincomingzerorttconnection0Aioutgoingzerorttconnection0Aiproxyconnectinvalidstatus0Aiproxyinvalidtlsservername0AequicaddrdiscclosecodeAgtransportparametererrorAfdatagramsendbuffersizeAfhttprequestsdurationmsAfinsecureskipcertverifyAfpathretireconnectionidAjclienttorelaydatagrambatchAgdefaultkeycachecapacityAhdefaultrepublishintervalAfn0dnspkarrrelaystagingAjrelaytoclientdatagrambatchAgactortickportmapchangedAgbytesrxratelimitedtotal0Agconnsrxratelimitedtotal0AgdatagramsendbufferspaceAgincomingbuffersizetotalAglookupipv4ipv6staggered0AgmaxconcurrentunistreamsAgn0dnsendpointoriginprod00AgquicaddrdiscclosereasonAienablesegmentationoffloadAgmappingvariesbydestipv4Agmappingvariesbydestipv6AhmaxconcurrentbidistreamsAgsetuserdatafordiscoveryAgupdatefromargmatchesmut00AidefaultcertreloadintervalAjconfiguretracingsubscriberAjconnectionhandshakesuccessAidatagramreceivebuffersizeAjendpointscontacteddirectlyAimakedangerousclientconfigAionspuriouscongestionevent0AgrunwithconfiguntilctrlcAkcongestioncontrollerfactoryAidefaultpathmaxidletimeoutAjsendobservedaddressreportsAisetmaxconcurrentbistreamsAninvalidprotocolmessageencoding0Ajn0dnsendpointoriginstaging00AkaugmentsubcommandsforupdateAjlookupendpointbydomainname0AkmaxconcurrentmultipathpathsAjsetmaxconcurrentunistreamsAkinsecureskiprelaycertverify0Aklookupendpointbyidstaggered0AmpersistentcongestionthresholdAlactortickdirectaddrheartbeatAldefaultpathkeepaliveintervalAmreceiveobservedaddressreportsAkselfsignedtlscertsandconfigBasetmaxremotenattraversaladdressesBclookupendpointbydomainnamestaggered0") \ No newline at end of file diff --git a/pr/3734/docs/search.index/normalizedName/12d71818f872.js b/pr/3734/docs/search.index/normalizedName/12d71818f872.js new file mode 100644 index 0000000000..e1125f26b1 --- /dev/null +++ b/pr/3734/docs/search.index/normalizedName/12d71818f872.js @@ -0,0 +1 @@ +rd_("as00b()b->bbibeqbfnbidbio0bip000bn0borb[]a00088888888888888888888888888888888888888888888888888888888888888886666666222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222brtbu8cackcandcanycappcarccboxcbufcdircdns0ckey0cmax0cmapcnotcopt0cordcpincqadcs2nctcpctls00cudp0cunicurlcveccaddcand0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ccmp00000000000000000000cdht00cdircdns00000000cecncf32cf64cfmt0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cget000cgotci32ciosckey000clen00000clogcmapcmincmutcnew0000000000000000000000000000000000cnotcnowcrtt00cruncs2n0cstrctagctls0cttl0ctyp0cu16cu32cu64curl00000dalpn0dargsddataddenyddial0ddropdfromdhashdintodiroh00ditemdkeysdmetadname00dpathdping00000dpolldpong00dreaddsenddsidedsinkdsyncduser00000dutf80000dvzipdzerodacksdaddr000dalpn00000dbind0dbooldbulkdcertdcode0dconndcwndddata00ddrop00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dfrom00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dhash000000000000000000dhttp0000dinit00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dinto0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dipv4dipv6diroh00diter00dloaddmaindmdns0dmeta000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dname000000000dopendpeekdpingdpoll00000000dport000dprod0dqlog0dquic00000dread0crradsealdsenddsentdside0dsign0dsize0dstop0dttfbdu128dunitdurls0dvzip0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ealloweasrefeboxed0ebytesechunkecloneecloseedebugederefeerror000000000000000ehttpselocalequinn0000erelay0000ereset0eserde0esizedesmartestatsetupleeunpinevalue0ewriteeaddrs0000ealpnseapply0earrayebuild00000000ebytes00ecertseclone00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000eclose000ederef000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000eempty000eframe0ehooks0ehttpseindexdisip00elabel00epaths00epkarr0eprint0equinn0erelay0ereset000eretrydrrnsesliceespawn0000esplitestate00estats0000000estore0etitleetokenetupleeusageeusizeevalueewrite0faccept00faccessfackecnfactivefborrowfbufmutfclient00fcompatfconfigfcryptofcustom0fdecode0ffuturefhandlefhasherfhealth00fipaddrflength000flimitsfloaderfmanual00fnoalpn0fopenbifoptionfoutputfpathidfpolicyfpresetfrecordfreject00fresult000frouterfserver00fsimplefsource0fstream00fstringftypeidfvarint0fverify0faccept0000000faccesseasdyn00000000000000000000000000000000000000easref000easstd00000000000000000000000000000000000000fborrow000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fchunks00fclient0000fclosed0fcommon0fcompat0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fconfig00fcreatefcrypto000fcustom00fdecode0000fencode0000fextend0ffinishfgroups0fheaderfignorefinsert00fkeylogflimitsen0dns00foffseteonack0fonlinefpacketfpresetfprotos0fpublic0freason0000frefusefrejectfrelays0freloadfremove0fserver000000fsource00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fstatus0fstream0etoz3200eudprxeudptxeudpv4eudpv6fupdatefvarintfverify0fwindowgaeadkeygboxiter0gbuilder00gcommandgconnect000gcontextgcountergdefault00gdisplaygelapsedgexpired0gfromrefgfromstrginstantgkeypairgmaxdatagmetrics000gnextfutgopenunigpaddinggpathackgpathbufgprivategreadbufgrequestgresolve00gruntimegstaginggstoppedgtimeout000gtoownedgtoolonggtryfromgtryintogunknowngupgrade0gwatchergwrittengaccepts0gbuilder000000000gclientsgcommand00gcompare0000000000000000gconnect0gdecrypt0gdefault000000000000000000000000000000000000000000000000gdomainsgenabledgencrypt0fhasudpfis0rtt0gmetrics00000000000fminmtufonsent0fopenbigoriginsgpointergpresets0gproblemgpublish000000greportsgresolve00000000000frraaaafruns2ngstaging0gstoppedgstreams000ftaglengtesting0gtimeoutftoinfoftryforftypeid0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000gupdatedhacceptbihacceptedhanyerrorhappstatehbtreesethbytesmuthcertmodehcommandshdatagramhderefmuthdisabled00hdnserror0hdurationhdynclonehencoding0hendpoint00herrorrefheveryonehhttpsend0hinactivehincominghipv4addrhipv6addrhirohattrhiterablehiteratorgmaxsizegnoerrorhnamedapp0hnewtokenhnullablehorderinghpathinfohprotocol0hrejectedhrelaymap0hrelayurl00hremoteid0hresolverhstreamidhtimedouthtostringhtokenloghtoolargehtoosmall0htxtattrshudpstatshuserdata00hz32errorgasbytes0hcontains0hcontentsgdatadir0hdatagramhdefaults000hdisabled0hdurationhendpoint00hexpectedgframerxgframetxgfromenv0gfromerr00gfromref0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000gfromstr0000000gfromu32gfromu64gfromz3200hgenerate0ggotping0ggroupid0ghttpurlhintervalgintoanygintostd00000000000000000000000000000000000000gipaddrs000gisalivegisempty00000gisrelay00hlifetimeglocaliphmainlinegmaxdatagnewpinggopenunihpriorityhprotocol0hresolvergrunirohhshutdown000000000hssthreshgtobytes000gtoowned00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000gtryfrom000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000gtryinto0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000gtrypoll0000000guseipv6iacceptuniiacceptingiacmestateialpnerror0iasyncreadibinderror0iborrowmuticompatexticryptorngidatagrams0000idecodableidialerror0idiscovery0000idnsconfigidnsserveriencodableiformatteriframetype0ihandshake0iheaderkeyihistogramijoinerror00ilocaladdr0imaxpathidinetreportinoaddress0inoresults0inumlabels0000ipacketkeyipartialeqipathstatsipointableipolicyextipublickey000iquicspawn0ireaderror0irecordsetirecverror00irelaymode0ireloadingiresolvingisecretkey00isenderror0iserializeisignature0itlsconfigitryfutureitrystreamiutf8erroriwatchrecv0iwebsocket000izonestorehacceptbihaddaddrs0haddboxediadvertiseiassemblerhbindaddr00000ibootstraphcertmodehclientrxhcloneboxidatagrams00hderefmut000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000idiscovery0000hfieldref00000hfmtshort0hframelenhfromiter000000hglobalv4hglobalv6ihandshake0hhasaddrs0hhttpaddr0hhttpsurlhinmemoryiinitiatorhinto0rtt0hintoaddrhintoiterhirohbasehisclienthisclosedhisserverimagicsock0hnewtokenhpathackshpkarrurlhpollnext0hpollread0hproxyurl00hquicaddrhreachoutireferencehrelaymap00hrelayurlhremoteid00hrunquinnhsendipv4hsendipv6hsentpong0iserialize000000000000000000000000000000hsetalpnshstableidisubscribehtostring000000000000000000000000000000000000000000000000000000000000000000000000000itransporthttfbhisthuserdata00hwritealljargmatchesjasyncwritejcertconfig0jclientauthjclientsinkjcomparablejconnecting0000jconnection0000000000jcontrollerjdirectaddrjdiscovered0jdnshandlerjendpointid0000jequivalent0jframestatsjheadernamejhttpconfigjhttpserverjintofuturejinvalidkey000jinvalidurl0imaxlength0jmagicspawn0jmaybeframejmetricitemjnoresponse0jnonzerou32jnotallowed0jprovenancejparseerror0000000jpartialordjpathackecnjpkarrerror0jportmappedjqlogconfigjquicclientjquicconfigirelaypathjrecordtypejrecvstreamjremoteinfojreseterrorjrestarting00jrestrictedjretryerror0jselfsignedjsendstreamjserializerjsocketaddrjspawnerror0jstackerrorjstatuscodejsubcommandjsystemtimejtimesourcejwriteerroriacceptuniiallowspiniborrowmut0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ibytesrecv0ibytessent0ichunksizeichunktimeicloneinto00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000icompatmut0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000icompatref0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000jcongestionjconnection00jequivalent00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ierrorcode00iframetype000ifromboxedifrombytes00000ifromparts000ihttpsaddr0iintoaddrsiintoinneriirohbenchiirohrelayiisallowedilocaladdr0ilookuptxt00ilostbytesin0watcherjnameserverinetreportinopublishinumlabels00ionlyrelayhpadtomtuipcpprobesjpersistentipollclose0ipollflush00ipollready0ipollwrite0jportmapperjprovenance00ireadchunk0ireadexactirelaymodeirelayurls000iremotemapisecretkey00isendrelayistartsend0istarttimeitestutils0jthroughputitlsconfigitotalsizejtransportsiwatchaddriwithaddrs0izonestorekaccepterror0kaccesslimitkcallmemaybe0kclienthellokclientstatskclosereasonkcryptoerrorkdatablockedkdecodeerrorkdeserializekdnsprotocolkdnsresolver0kemptypacket0kheadervaluekhttppayload0khttprequest0khttpsconfigkidletimeoutkletsencrypt00klookuperror0kmissinghost0knolocaladdr000kpathabandonkpingtrackerkqlogfactorykrelayconfig00kresetstreamkresolveboth0kselfconnect0kstopsendingkstoreconfigkstreamerror000kstreamstatskunavailable0kunspecifiedhclonebox00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000jacceptwithjaddaddressjasiterable00000jclearcache00jcreateconnjcurrentmtujdefaultsoajdefaultttlkdescriptionkdeserialize000000000000000000000000000000kdisconnects0jdnshandlerjendpointid0000jfieldcount00000jfmtmessage00000000000000000000000000000000000000jinitialmtu0jinitialrttkinitializedjintofuture000000000jisselectedjisshutdownjlookupipv400jlookupipv600imaxpathidjmaxstreamsionendacks0jonendpointjpacingratejpartialcmp00000000000000000000jpkarrrelayjquicconfigjreadchunksireadtoendjrecvstreamjremoteaddrjremoteinfo0jsamplesizejsendstreamjsendwindowjtaskhandlejuploadsizejupnpprobesjupperboundjwithprefixjwritechunklaccessconfiglackfrequencylcertifiedkeylclientconfiglclientstreamlclosedstream00lconnecterror0000lconnectionidldeserializerldhtdiscoveryldisconnectedldnsdiscoverylendpointaddr00lendpointdata00lendpointgone0lendpointinfo00lfromiteratorlimmediateacklintoiterablelintoiteratorlinvalidframe00llookupfailed0lmetricsgrouplpathinfolistlpathresponselpathsblockedlproxyconnect0lreaddatagramlrelaymetrics0lresolveerrorlrttestimatorlsenddatagramlserverconfig00lsignedpacketlsocketaddrv4lsocketaddrv6lstoppederrorkaugmentargs0jbindaddrv4jbindaddrv6lcertificateskclosereasonlconservativekdatablockedkdefaultipv4kdefaultipv6kdnsrequestskdnsresolver00000jfromerranyjfromerrbox0kinsertrelaykisconnectedklastupdated0klostpacketskmetricsaddrkonaccepting000kpathabandonkpingtrackerkpollupdatedkqlogfactorykreconnectinkrelayconfigkremotestatekremoverelaykreportsfullkresetstreamkresolvehost0ksegmentsizeksentpacketskservicenameksetprioritykstopsendingkstreamstatsjwithipaddr0kwritechunksmcidsexhausted0mclientbuildermclonetouninitmdecodingerror00000000mdiscoveryitemmencodingerror000mendpointhooksmendpointidext0mfinishedearlymframetoolarge0mhandshakedonelinvalidtokenkirohtxtname0mintodiscoveryminvalidlength000mlocallyclosedmmaxstreamdatammaxstreamsunimmdnsdiscoverymmetricsconfigmpathchallengempkarrresolvermprivatekeydermqad4localportmqlogfilegroupmremoveaddressmrouterbuildermtaskcancelled0mtransportaddr00mtxtrecorddatamunexpectedend0000mzerorttstatuslackfrequencylboundsocketsldownloadsizeldurationhistlemptybuilderlendpointaddrlendpointinfo00000lfromserviceslgroupscloned0lhttprequestslimmediateacklintoincomingkmaxackdelaylnattraversallobservedaddrkonmtuupdatelpathresponselpathsblockedlpcpavailablelpeeridentitykpollreadbuflpollshutdownlpongreceivedkqlogfromenvlratelimitinglreaddatagramlrelaylatencylsenddatagramlsendfairnesslsendresponselserverconfig00ksettokenkeyksetuserdata0ltakesegmentsktryfromiter0ktrypollnext0ktrytostring000000000000000000000000000000000000000000000000000000000000000000000kwithipaddrs000naddipv4addressnaddipv6addressnattrfromstring0000ncertificatederncommandfactorynconnectoptionsnconnectioninfonconnectionlost0000ndirectaddrtypendiscoveryerror0ndiscoveryevent0ndnspkarrservernframetypeerror00000nfromargmatchesminternalerrorninitializedfutnmainlineconfignmaxstreamsbidilnoviablepathnpkarrpublishernportmapmetricsnpublickeyerrornreachoutatipv4nreachoutatipv6nreadexacterrornreadtoenderrornrequesthandlernsignatureerror00nsimplednserrornstaggerederrornstaticproviderntlsheaderparse0ntransferresultntransporterror0lactortickmsglaeadfromhkdfmanswerrequestlavgchunksizembeforeconnect0mcaptiveportallclearipaddrs0mclienthandlermconnectclient0mexpectedtypesmforconnection0mhandlerequestmhandshakedata00mhandshakedonemhassubcommandlhttpbindaddrminitialwindowmintodiscovery000000000000mintounorderedmistransparent00000000000000000000000000000000000000mminimumchangemnetworkchangempathchallengemprobesstartedlproxyfromenvmproxyhostnamelqlogfrompathlquicbindaddrmreadunorderedmreceivewindowmreceivedreset0lrecvdataipv4lrecvdataipv6mrecvdatagramsmremoteaddressmremoveaddresslrununtildone0msaturatingadd0msaturatingsubmthroughputbpsmtimethresholdltotxtstrings0mtotaldurationmunknownframes0mupnpavailablelwithrelayurl00000lwithuserdata000obindtcplistener0obindtlslistener0obootstrapoptionoclientratelimitoconnectingerror0oconnectionclose0oconnectionerror00000oconnectionstateoconnectionstatsoendpointmetricsoincomingzerorttoinvalidrelayurl000oinvalidresponse0oinvalidtxtentry000okeyparsingerror0000olocallyrejected000mmaxpacketsize0omessageresponseometricsgroupsetonewconnectionidonotanirohrecord0000ooutgoingzerorttopathcidsblockedoprotocolhandleroproxyinvalidurl0oqlogfilefactoryoratelimitconfigorelayquicconfigoresponsehandleroserverchallengeosupervisorerror0otokenreuseerrorotransportconfig00otryreserveerrorounexpectedframe0oversionmismatchozerorttrejected000mactortickmainnafterhandshake0ncleardiscoverymclonetouninit00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ndefaulttimeoutmdstendpointidnendpointoriginmfromtxtlookup0mhttpsbindaddrnintegritylimitmirohdnsservermmaxburstbytesmmaxstreamdatammaxstreamsunimmaxtlsticketsnpreferredrelaymrecvdatarelaynrepublishdelaymrununtilerrormrunwithoriginnserverendpoint0msettimesourcenstaticprovider0nstreamfinishednthroughputhistnwithnameserver00nwithprovenanceA`applicationclose0A`cleanupdropguardA`clienttorelaymsg0A`connectionclosedA`endpointselectorA`endpointstoppingnfinalsizeerrorA`handshakefailure0A`invalidframetype0A`invalidpublickey0nkeyupdateerrorA`magicsockmetricsA`netreportmetricsA`observedipv4addrA`observedipv6addrA`pathstatusbackupA`pkarrrelayclientA`quicconnecterrornrelayprobepathA`relaytoclientmsg0A`serverdeniedauth0A`serverdeniesauthA`tostringfallibleA`tryfromprimitiveA`unexpectedformat0000A`unknownframetype0A`unknownhandshake0nactortickothernbytespersecondncheckandinsertnclearrelayurls0ocongestionstateoconnectionclosendefaultaprelayndefaulteurelay0ndnslookuperrorndnsrequestsudpnfromargmatches00nirohquinnprotooletsencryptprodnlookupipv4ipv60omappingattemptsomappingfailuresnmaxidletimeoutnmaxstreamsbidinnumconnsclosednnumconnsopenedopacketthresholdnrunrelayservernsetmaxincomingntoendpointaddr00otransportconfig00owithnameserversnwriteallchunksA`applicationerroroaprelayhostnameAaabortondrophandleAaapplicationclosedAacontrollerfactoryAacontrollermetricsodefaulthttpport0odefaultpkarrttloeurelayhostname0AahandshaketokenkeyAainvalidservernameAainvalidtargetport0AareloadingresolverAasenddatagramerrorAastreamdatablockedAastreamsblockeduniAatransportaddrinfoAaunsupportedbypeeroacceptconnburstoacceptconnlimitoactorlinkchangeoaddendpointinfoocollectandprintA`congestioneventsA`congestionwindowoconnectwithoptsodefaultrelaymap0ogetendpointinfoogetsignedpacketomaxdatagramsizeonewconnectionidopathcidsblockedorelayhomechangeosendpacketsrecv0osendpacketssent0osetendpointinfoowithdnsresolverA`aeadlimitreachedAbackfrequencyconfigA`clientauthheaderAaconnectionrefusedAbconnectionselectorA`defaulthttpsport0AbdynprotocolhandlerA`flowcontrolerrorAbhandshakecompletedAbintodiscoveryerror0Abinvalidencodingz32000AbinvalidheadervalueAbmtudiscoveryconfigA`netreporttimeoutAaprotocolviolationAbrelayurlparseerror00AbresolvesservercertAbretireconnectionidA`streamlimiterrorA`streamstateerrorAbserverconfirmsauthAbstreamsblockedbidiAbtransportaddrusageAbtransporterrorcodeAbunsupportedversion0oactortickrestunA`commandforupdate00A`cryptobuffersizeA`defaultrelaymodeA`dnslookupsuccessA`dnsrequestshttpsA`fromendpointinfoA`fromu64uncheckedA`intoendpointaddr00A`keycachecapacity0A`localportupdateson0dnspkarrrelayA`otherpacketsrecv0A`otherpacketssent0A`pathstatusbackupA`pkarrpublishnoopA`recvgrodatagramsA`remoteendpointidAarepublishintervalA`senddatagramwaitA`setreceivewindowA`tryfromprimitiveA`uniqueclientkeys0A`upnpprobesfailedA`withstartinstantA`alpnquicaddrdiscAcauthenticationerror0AcconcurrentdiscoveryAcdecodeinvalidlength000AcdnsdiscoverybuilderAcinvalidwebsocketurl0Acnoserviceconfigured0AcpathnewconnectionidAcpathstatusavailableAcquictransportconfig0AcserverconfigbuilderActransportparametersAcunexpectedframetype0AcunorderedrecvstreamAbaugmentsubcommandsAablackholecooldownAacleariptransportsAadnslookupnotfoundAaforcestaginginfraAbhandshakecompleted0AahttprequestserrorAakeepaliveintervalAbletsencryptcontactAalostplpmtudprobesAaoncongestioneventAasentplpmtudprobesAastreamdatablockedAastreamupdatesonlyAastreamsblockeduniAaupdatedirectaddrsAdbeforeconnectoutcomeAdconnectwithoptserror0Abdefaultmetricsport0Addeserializationerror0Adexceedsmaxpacketsize0AbframeencodingerrorAdfailedbuildingpacket000AdinvalidremoteaddressAdinvalidtlsservername0AdmdnsdiscoverybuilderAdpkarrresolverbuilderAdvarintboundsexceededAbackfrequencyconfigAbblackholesdetectedAafromargmatchesmut00Abhandleclientstream0AbmtudiscoveryconfigAbpkarrpublishupdateAapkarrputratelimitAbremoveendpointinfoAcreorderingthresholdAbretireconnectionidAbsendpacketsdropped0AbsettransportconfigAbstreamsblockedbidiActransportparametersAbupdateendpointdataAbupnpgatewayupdatedAbwithsystemdefaultsAeafterhandshakeoutcome0AeclienttorelaydatagramAenodefaultclientconfigAbpathunstableorpoorAepkarrpublisherbuilderAerelaytoclientdatagramAeremoteendpointiderrorAetryfromprimitiveerrorAevalidationtokenconfigAdconfidentialitylimitAbdefaultnaeastrelay0AbdefaultnawestrelayAbdnsandpkarrserversAchttprequestssuccessAblookupendpointbyid0Aclookupipv4staggered0Aclookupipv6staggered0Acotherpacketsdropped0AcpathstatusavailableAbrunrelayserverwithAcstorepacketsexpiredAcstorepacketsremovedAcstorepacketsupdatedAcstreamreceivewindowAcwithadditionalalpnsAcwithtransportconfigAdcryptobufferexceededAfmaxlengthexceedederror0Acnaeastrelayhostname0AcnawestrelayhostnameAfnorelayservicesenabled0AfpathretireconnectionidAfproxyinvalidtargetport0AdrelayprotocolversionAfsignedpacketbuilderrorAdclearrelaytransportsAdexportkeyingmaterialAcmappingvariesbydestAcpathnewconnectionidAdstorepacketsinsertedActopkarrsignedpacket0AdwithmainlinefallbackAgacmeeventstreamfinished0Agclientauthheaderinvalid0Addefaultrelayquicport0Agmissingremoteendpointid0Acn0dnspkarrrelayprodAgsignedpacketverifyerrorAgunexpectedupgradestatus0AeackelicitingthresholdAeaddressfamilyselectorAdaugmentargsforupdate0Adupdatefromargmatches00AduserdatafordiscoveryAfapplicationabandonpathAeenvforcestagingrelaysAhinternalconsistencyerror000AfexternaladdressupdatedAefrompkarrsignedpacket0AfincludedirectaddressesAfremoteaddressvalidatedAesetincomingbuffersizeAesetretrytokenlifetimeAesignedpacketstorepathAetransportippathsaddedAfconnectionidlimiterrorAiexportkeyingmaterialerrorAiincomingzerorttconnection0AenocidavailableforpathAioutgoingzerorttconnection0Aiproxyconnectinvalidstatus0Aiproxyinvalidtlsservername0AequicaddrdiscclosecodeAgtransportparametererrorAfdatagramsendbuffersizeAfhttprequestsdurationmsAfinsecureskipcertverifyAfpathretireconnectionidAjclienttorelaydatagrambatchAgdefaultkeycachecapacityAhdefaultrepublishintervalAfn0dnspkarrrelaystagingAjquictransportconfigbuilderAjrelaytoclientdatagrambatchAgactortickportmapchangedAgbytesrxratelimitedtotal0Agconnsrxratelimitedtotal0AgdatagramsendbufferspaceAglookupipv4ipv6staggered0AgmaxconcurrentunistreamsAgtransportippathsremovedAgn0dnsendpointoriginprod00AhpathresourcelimitreachedAgquicaddrdiscclosereasonAienablesegmentationoffloadAgmappingvariesbydestipv4Agmappingvariesbydestipv6AhmaxconcurrentbidistreamsAgsetuserdatafordiscoveryAhsetvalidationtokenconfigAhtransportrelaypathsaddedAgupdatefromargmatchesmut00AidefaultcertreloadintervalAjconfiguretracingsubscriberAicreateserverconfigbuilderAidatagramreceivebuffersizeAimakedangerousclientconfigAionspuriouscongestionevent0AgrunwithconfiguntilctrlcAkcongestioncontrollerfactoryAidefaultpathmaxidletimeoutAjsendobservedaddressreportsAisetmaxconcurrentbistreamsAjtransportrelaypathsremovedAninvalidprotocolmessageencoding0Ajn0dnsendpointoriginstaging00AkaugmentsubcommandsforupdateAjlookupendpointbydomainname0AkmaxconcurrentmultipathpathsAjsetincomingbuffersizetotalAjsetmaxconcurrentunistreamsAkinsecureskiprelaycertverifyAklookupendpointbyidstaggered0AmpersistentcongestionthresholdAlactortickdirectaddrheartbeatAldefaultpathkeepaliveintervalAmreceiveobservedaddressreportsAkselfsignedtlscertsandconfigAnmaxremotenattraversaladdressesBasetmaxremotenattraversaladdressesBclookupendpointbydomainnamestaggered0") \ No newline at end of file diff --git a/pr/3734/docs/search.index/path/5074eff0ad86.js b/pr/3734/docs/search.index/path/5074eff0ad86.js deleted file mode 100644 index 1542314e79..0000000000 --- a/pr/3734/docs/search.index/path/5074eff0ad86.js +++ /dev/null @@ -1 +0,0 @@ -rd_("f[1,\"\"]0Al[10,\"core::cmp\",\"core::cmp\"]Al[10,\"core::ops\",\"core::ops\"]Ce[5,\"clap_builder::util::id\",\"clap_builder::util::id\"]Bd[15,\"iroh_relay::client::DialError\"]Bf[15,\"iroh::endpoint::TransportConfig\"]Cg[5,\"iroh::endpoint::presets\",\"iroh::endpoint::presets\"]Eg[5,\"tower_http::follow_redirect::policy::or\",\"tower_http::follow_redirect::policy::or\"]77Ei[5,\"tower_http::follow_redirect::policy::and\",\"tower_http::follow_redirect::policy::and\"]A`[10,\"core::any\"]Ao[5,\"alloc::sync\",\"alloc::sync\"]Ba[5,\"alloc::boxed\",\"alloc::boxed\"]Cb[10,\"bytes::buf::buf_impl\",\"bytes::buf::buf_impl\"]Bi[6,\"iroh_quinn_proto\",\"iroh_quinn_proto\"]9Am[5,\"n0_watcher\",\"n0_watcher\"]Ae[10,\"core::ops::bit\"]Am[5,\"iroh_bench\",\"iroh_bench\"]Bg[5,\"iroh_bench::s2n\",\"iroh_bench::s2n\"]A`[10,\"core::cmp\"]Ak[5,\"core::pin\",\"core::pin\"]Bg[15,\"iroh_relay::client::ConnectError\"]o[5,\"url\",\"url\"]Am[5,\"alloc::vec\",\"alloc::vec\"]Al[2,\"iroh::discovery::pkarr\"]j[2,\"iroh\"]Ae[2,\"iroh::discovery\"]A`[2,\"iroh_relay\"]Ae[2,\"iroh_dns_server\"]f[1,\"\"]00Ao[2,\"iroh::net_report::options\"]o[2,\"iroh_base\"]f[0,\"\"]A`[2,\"iroh_bench\"]4Ak[2,\"iroh_dns_server::http\"]555Ak[10,\"clap_builder::derive\"]>Af[10,\"core::ops::drop\"]Ad[10,\"core::convert\"]Aa[10,\"core::hash\"]1g[17,\"\"]Ci[5,\"iroh_quinn_proto::crypto\",\"iroh_quinn_proto::crypto\"]Be[5,\"n0_error::meta\",\"n0_error::meta\"]Cc[5,\"reqwest::dns::resolve\",\"reqwest::dns::resolve\"]Dg[5,\"hickory_proto::rr::domain::name\",\"hickory_proto::rr::domain::name\"]Ak[5,\"std::path\",\"std::path\"]Am[15,\"iroh::endpoint::Source\"]Bi[6,\"core::task::poll\",\"core::task::poll\"]Bb[10,\"core::marker\",\"core::marker\"]Ad[6,\"iroh::endpoint\"]Ac[10,\"futures_sink\"]2Bf[15,\"iroh::discovery::DiscoveryError\"]Bj[15,\"iroh::discovery::IntoDiscoveryError\"]Bb[15,\"iroh::protocol::AcceptError\"]Bb[15,\"iroh::discovery::ParseError\"]Bl[15,\"iroh_relay::endpoint_info::ParseError\"]Ah[10,\"ppv_lite86::types\"]f[1,\"\"]f[3,\"\"]Ah[2,\"iroh_relay::client\"]A`[2,\"iroh_relay\"]Ae[2,\"iroh_dns_server\"]A`[2,\"iroh_bench\"]4Ae[2,\"iroh::discovery\"]Ad[2,\"iroh::defaults\"]Ad[2,\"iroh::endpoint\"]5Bk[2,\"iroh_quinn_proto::connection::streams\"]99Bd[10,\"core::convert\",\"core::convert\"]Ca[8,\"futures_lite::future\",\"futures_lite::future\"]Ca[8,\"futures_lite::stream\",\"futures_lite::stream\"]Ba[5,\"bytes::bytes\",\"bytes::bytes\"]Ad[5,\"iroh::endpoint\"]Ab[10,\"core::clone\"]Cg[6,\"iroh_quinn_proto::frame\",\"iroh_quinn_proto::frame\"]Ao[10,\"iroh_quinn_proto::coding\"]A`[10,\"core::fmt\"]Ag[10,\"core::ops::deref\"]Ak[5,\"core::fmt\",\"core::fmt\"]Ab[10,\"core::error\"]Be[5,\"std::io::error\",\"std::io::error\"]Bc[6,\"rustls::error\",\"rustls::error\"]Ba[8,\"clap_builder\",\"clap_builder\"]Bi[5,\"signature::error\",\"signature::error\"]Af[2,\"iroh_relay::quic\"]Bc[2,\"iroh_relay::protos::handshake\"]Ao[2,\"iroh_relay::protos::relay\"]Ba[5,\"hyper::error\",\"hyper::error\"]Ee[6,\"iroh_quinn_proto::transport_parameters\",\"iroh_quinn_proto::transport_parameters\"]Be[5,\"reqwest::error\",\"reqwest::error\"]Bg[6,\"postcard::error\",\"postcard::error\"]Cg[6,\"tokio_websockets::error\",\"tokio_websockets::error\"]Bi[6,\"iroh_relay::quic\",\"iroh_relay::quic\"]Dc[6,\"iroh_relay::protos::handshake\",\"iroh_relay::protos::handshake\"]Ck[6,\"iroh_relay::protos::relay\",\"iroh_relay::protos::relay\"]Ca[6,\"iroh::net_report\",\"iroh::net_report::probes\"]Bk[15,\"iroh::endpoint::ConnectWithOptsError\"]Bf[15,\"iroh::endpoint::TransportConfig\"]Bg[15,\"iroh_relay::protos::relay::Error\"]Bb[10,\"core::marker\",\"core::marker\"]Bk[5,\"iroh_bench::stats\",\"iroh_bench::stats\"]Am[5,\"n0_watcher\",\"n0_watcher\"]2g[17,\"\"]f[1,\"\"]Ah[2,\"iroh_relay::protos\"]Af[2,\"iroh_quinn_proto\"]Ad[2,\"iroh::endpoint\"]Ae[2,\"iroh::discovery\"]A`[2,\"iroh_bench\"]45Ae[2,\"iroh_dns_server\"]1Bb[2,\"iroh_quinn_proto::connection\"]177Ca[5,\"iroh::endpoint\",\"iroh::endpoint::connection\"]Bm[6,\"iroh_relay::server\",\"iroh_relay::server\"]Ac[10,\"core::borrow\"]C`[10,\"bytes::buf::buf_mut\",\"bytes::buf::buf_mut\"]Bc[5,\"pkarr::client\",\"pkarr::client\"]Bm[5,\"iroh_relay::client\",\"iroh_relay::client\"]Ba[5,\"async_compat\",\"async_compat\"]Cg[5,\"iroh_dns_server::config\",\"iroh_dns_server::config\"]Cb[10,\"core::future::future\",\"core::future::future\"]Ca[5,\"iroh_dns_server::dns\",\"iroh_dns_server::dns\"]An[10,\"core::hash\",\"core::hash\"]Cb[15,\"iroh_relay::protos::relay::RelayToClientMsg\"]Bm[6,\"core::net::ip_addr\",\"core::net::ip_addr\"]Bm[5,\"iroh_relay::server\",\"iroh_relay::server\"]Bh[10,\"reloadable_core\",\"reloadable_core\"]Be[15,\"iroh_relay::server::CertConfig\"]Bj[15,\"iroh::endpoint::AuthenticationError\"]Ad[5,\"iroh::endpoint\"]Ba[6,\"core::option\",\"core::option\"]g[17,\"\"]E`[10,\"tower_http::follow_redirect::policy\",\"tower_http::follow_redirect::policy\"]Ch[10,\"iroh::endpoint::presets\",\"iroh::endpoint::presets\"]Co[5,\"hickory_proto::rr::resource\",\"hickory_proto::rr::resource\"]Bl[15,\"iroh::endpoint::AfterHandshakeOutcome\"]Ca[5,\"iroh::net_report\",\"iroh::net_report::report\"]Ak[8,\"core::fmt\",\"core::fmt\"]Ba[6,\"core::result\",\"core::result\"]Be[8,\"std::io::error\",\"std::io::error\"]Ai[8,\"n0_error\",\"n0_error\"]Be[5,\"iroh::protocol\",\"iroh::protocol\"]Cg[5,\"iroh_dns_server::server\",\"iroh_dns_server::server\"]Bm[5,\"iroh_relay::server\",\"iroh_relay::server\"]Ad[2,\"iroh::endpoint\"]Cb[6,\"iroh::endpoint\",\"iroh::magicsock::remote_map\"]Ak[10,\"futures_core::stream\"]Am[5,\"n0_watcher\",\"n0_watcher\"]Bc[5,\"alloc::string\",\"alloc::string\"]Ak[5,\"core::any\",\"core::any\"]Ci[5,\"iroh_quinn_proto::varint\",\"iroh_quinn_proto::varint\"]Ad[5,\"iroh::endpoint\"]Bi[15,\"iroh::discovery::pkarr::PkarrError\"]A`[2,\"iroh_relay\"]Ah[2,\"iroh_relay::protos\"]Af[2,\"iroh_quinn_proto\"]Ae[2,\"iroh_dns_server\"]1Af[2,\"iroh::net_report\"]40412Ae[10,\"iroh::endpoint\"]Bg[8,\"iroh_relay::dns\",\"iroh_relay::dns\"]Be[5,\"iroh::endpoint\",\"iroh::endpoint\"]Co[5,\"iroh::discovery::pkarr::dht\",\"iroh::discovery::pkarr::dht\"]Bg[5,\"iroh_relay::dns\",\"iroh_relay::dns\"]De[5,\"clap_builder::builder::command\",\"clap_builder::builder::command\"]Bc[15,\"iroh::endpoint::ConnectError\"]An[15,\"iroh_relay::quic::Error\"]Bi[5,\"core::task::wake\",\"core::task::wake\"]Cc[5,\"iroh_metrics::metrics\",\"iroh_metrics::metrics\"]Ad[10,\"core::default\"]A`[10,\"core::fmt\"]Bm[5,\"tokio::time::error\",\"tokio::time::error\"]Bl[15,\"iroh::discovery::mdns::DiscoveryEvent\"]Bc[10,\"axum_core::extract::from_ref\"]Ah[10,\"core::str::traits\"]Ak[5,\"std::time\",\"std::time\"]Bj[15,\"iroh_relay::server::SupervisorError\"]Cb[5,\"iroh::net_report\",\"iroh::net_report::metrics\"]Ci[5,\"iroh_dns_server::metrics\",\"iroh_dns_server::metrics\"]Cf[5,\"iroh_relay::server\",\"iroh_relay::server::metrics\"]Am[5,\"n0_watcher\",\"n0_watcher\"]Ad[5,\"iroh::endpoint\"]Cg[5,\"iroh::net_report\",\"iroh::net_report::options::imp\"]Ak[5,\"std::path\",\"std::path\"]Bk[5,\"dyn_clone::sealed\",\"dyn_clone::sealed\"]Bo[5,\"tokio::io::read_buf\",\"tokio::io::read_buf\"]Eg[5,\"hickory_server::server::request_handler\",\"hickory_server::server::request_handler\"]B`[15,\"iroh_relay::dns::DnsError\"]Al[10,\"reqwest::dns::resolve\"]Cg[5,\"tokio::runtime::runtime\",\"tokio::runtime::runtime\"]Cj[10,\"iroh_quinn_proto::crypto\",\"iroh_quinn_proto::crypto\"]Bd[15,\"iroh_relay::client::DialError\"]4Ad[10,\"alloc::borrow\"]Ad[10,\"core::convert\"]0Bg[15,\"iroh_relay::client::ConnectError\"]k[10,\"iroh\"]>j[2,\"iroh\"]Af[2,\"iroh::net_report\"]Ah[2,\"iroh_relay::server\"]Ae[2,\"iroh_dns_server\"]f[1,\"\"]Ad[2,\"iroh::endpoint\"]Ad[2,\"iroh::defaults\"]Bb[2,\"iroh_quinn_proto::connection\"]5Ad[5,\"iroh::endpoint\"]Bc[5,\"n0_error::any\",\"n0_error::any\"]Ce[5,\"iroh_dns_server::state\",\"iroh_dns_server::state\"]De[5,\"alloc::collections::btree::set\",\"alloc::collections::btree::set\"]Ch[6,\"iroh_dns_server::http\",\"iroh_dns_server::http::tls\"]Am[6,\"iroh_bench\",\"iroh_bench\"]Ag[10,\"core::ops::deref\"]Ae[2,\"iroh_relay::dns\"]Bg[6,\"iroh_relay::dns\",\"iroh_relay::dns\"]Am[5,\"core::time\",\"core::time\"]A`[10,\"dyn_clone\"]Bi[15,\"iroh::discovery::pkarr::PkarrError\"]Ca[5,\"iroh_quinn::endpoint\",\"iroh_quinn::endpoint\"]Be[5,\"iroh::endpoint\",\"iroh::endpoint\"]Bg[6,\"n0_error::error\",\"n0_error::error\"]3Ca[5,\"iroh_quinn::incoming\",\"iroh_quinn::incoming\"]Ca[5,\"iroh::endpoint\",\"iroh::endpoint::connection\"]Bm[5,\"core::net::ip_addr\",\"core::net::ip_addr\"]0Ck[6,\"iroh_relay::endpoint_info\",\"iroh_relay::endpoint_info\"]Am[10,\"iroh_metrics::iterable\"]Db[10,\"core::iter::traits::iterator\",\"core::iter::traits::iterator\"]Am[15,\"iroh::endpoint::Source\"]An[10,\"n0_watcher\",\"n0_watcher\"]Ak[6,\"core::cmp\",\"core::cmp\"]D`[5,\"iroh::endpoint\",\"iroh::magicsock::remote_map::remote_state\"]Bd[15,\"iroh_relay::client::RecvError\"]j[5,\"iroh\"]Bh[5,\"iroh_relay\",\"iroh_relay::relay_map\"]Ca[5,\"iroh_base::relay_url\",\"iroh_base::relay_url\"]2Bf[5,\"iroh_base\",\"iroh_base::relay_url\"]Bj[15,\"iroh::endpoint::AuthenticationError\"]Bh[10,\"iroh_relay::dns\",\"iroh_relay::dns\"]Ad[5,\"iroh::endpoint\"]Ad[10,\"alloc::string\"]Bg[15,\"iroh_relay::protos::relay::Error\"]Ck[5,\"iroh_relay::endpoint_info\",\"iroh_relay::endpoint_info\"]3Ae[5,\"iroh::discovery\"]1o[6,\"z32\",\"z32\"]j[2,\"iroh\"]A`[2,\"iroh_relay\"]1A`[2,\"iroh_quinn\"]2Ah[2,\"iroh_relay::server\"]B`[2,\"iroh::net_report::defaults\"]:Ca[5,\"iroh::endpoint\",\"iroh::endpoint::connection\"]Ci[5,\"tokio_rustls_acme::state\",\"tokio_rustls_acme::state\"]Ad[2,\"iroh::endpoint\"]Ca[6,\"iroh::endpoint\",\"iroh::endpoint::connection\"]Al[10,\"tokio::io::async_read\"]2Be[6,\"iroh::endpoint\",\"iroh::endpoint\"]Ac[10,\"core::borrow\"]Ac[10,\"async_compat\"]Al[10,\"rand_core\",\"rand_core\"]Cb[15,\"iroh_relay::protos::relay::ClientToRelayMsg\"]Cb[15,\"iroh_relay::protos::relay::RelayToClientMsg\"]Ck[5,\"iroh_relay::protos::relay\",\"iroh_relay::protos::relay\"]Ah[2,\"iroh_relay::client\"]Bm[6,\"iroh_relay::client\",\"iroh_relay::client\"]Am[15,\"iroh::endpoint::Source\"]B`[15,\"iroh::endpoint::BindError\"]Bh[10,\"iroh::discovery\",\"iroh::discovery\"]Ca[5,\"iroh_dns_server::dns\",\"iroh_dns_server::dns\"]0Ak[5,\"core::fmt\",\"core::fmt\"]Cm[6,\"iroh_relay::protos::common\",\"iroh_relay::protos::common\"]Bg[15,\"iroh_relay::client::ConnectError\"]Cc[5,\"iroh_metrics::metrics\",\"iroh_metrics::metrics\"]Ba[5,\"hdrhistogram\",\"hdrhistogram\"]Co[5,\"tokio::runtime::task::error\",\"tokio::runtime::task::error\"]Bj[15,\"iroh_relay::server::SupervisorError\"]Be[15,\"iroh_relay::server::SpawnError\"]Bk[15,\"iroh::endpoint::ConnectWithOptsError\"]Bf[15,\"iroh::discovery::DiscoveryError\"]Bb[15,\"iroh::discovery::ParseError\"]Bl[15,\"iroh_relay::endpoint_info::ParseError\"]A`[10,\"core::cmp\"]Ad[5,\"iroh::endpoint\"]An[10,\"crossbeam_epoch::atomic\"]Bj[10,\"tower_http::follow_redirect::policy\"]Bi[15,\"iroh::discovery::pkarr::PkarrError\"]j[5,\"iroh\"]B`[5,\"iroh_base\",\"iroh_base::key\"];Ad[6,\"iroh::endpoint\"]Ck[5,\"hickory_proto::rr::rr_set\",\"hickory_proto::rr::rr_set\"]Ck[5,\"tokio::sync::watch::error\",\"tokio::sync::watch::error\"]Ah[2,\"iroh_relay::client\"]Cc[6,\"iroh_relay::client\",\"iroh_relay::client::conn\"]Be[6,\"iroh::endpoint\",\"iroh::endpoint\"]Cc[8,\"reqwest::dns::resolve\",\"reqwest::dns::resolve\"]Be[5,\"iroh_base::key\",\"iroh_base::key\"]9843Af[10,\"serde_core::ser\"]:9Bm[5,\"iroh_relay::server\",\"iroh_relay::server\"]Ak[10,\"futures_core::future\"]Ak[10,\"futures_core::stream\"]Bi[5,\"core::str::error\",\"core::str::error\"]An[15,\"iroh_relay::quic::Error\"]Bg[15,\"iroh_relay::client::ConnectError\"]Bk[15,\"iroh_relay::protos::handshake::Error\"]Bn[5,\"iroh_dns_server\",\"iroh_dns_server::store\"]Bb[2,\"iroh_quinn_proto::connection\"]j[2,\"iroh\"]Ah[2,\"iroh_relay::protos\"]f[3,\"\"]2f[1,\"\"]A`[2,\"iroh_relay\"]o[2,\"iroh_base\"]Af[2,\"iroh::net_report\"]An[2,\"iroh_quinn_proto::config\"]Em[5,\"clap_builder::parser::matches::arg_matches\",\"clap_builder::parser::matches::arg_matches\"]Am[10,\"tokio::io::async_write\"]Ah[2,\"iroh_relay::server\"]Bm[6,\"iroh_relay::server\",\"iroh_relay::server\"]Bm[5,\"iroh_relay::client\",\"iroh_relay::client\"]Aa[10,\"equivalent\"]Bc[15,\"iroh::endpoint::ConnectError\"]Bb[15,\"iroh::protocol::AcceptError\"]Ca[5,\"iroh::endpoint\",\"iroh::endpoint::connection\"]Am[15,\"iroh::endpoint::Source\"]Cm[5,\"iroh::endpoint::connection\",\"iroh::endpoint::connection\"]43An[15,\"iroh_relay::quic::Error\"]Ce[5,\"iroh_quinn::connection\",\"iroh_quinn::connection\"]4Ae[10,\"iroh::endpoint\"]Bf[5,\"iroh::endpoint\",\"iroh::magicsock\"]Bl[15,\"iroh::discovery::mdns::DiscoveryEvent\"]Ca[5,\"iroh_dns_server::dns\",\"iroh_dns_server::dns\"]Ak[8,\"iroh\",\"iroh_base::key\"]B`[8,\"iroh_base\",\"iroh_base::key\"]Be[8,\"iroh_base::key\",\"iroh_base::key\"]A`[10,\"hashbrown\"]?Ad[5,\"iroh::endpoint\"]Bm[5,\"http::header::name\",\"http::header::name\"]Cc[5,\"iroh_dns_server::http\",\"iroh_dns_server::http\"]0B`[10,\"core::future::into_future\"]Bi[15,\"iroh::endpoint_info::DecodingError\"]Bo[15,\"iroh_relay::endpoint_info::DecodingError\"]Bd[15,\"iroh_relay::client::DialError\"]B`[15,\"iroh::endpoint::BindError\"]Bm[5,\"iroh_metrics::base\",\"iroh_metrics::base\"]B`[15,\"iroh_relay::dns::DnsError\"]Bm[8,\"core::num::nonzero\",\"core::num::nonzero\"]Bb[15,\"iroh::protocol::AcceptError\"]Ae[2,\"iroh::discovery\"]Ao[6,\"url::parser\",\"url::parser\"]Bc[15,\"iroh_relay::dns::LookupError\"]Ao[2,\"iroh_relay::endpoint_info\"]Ae[6,\"iroh::discovery\"]Ck[6,\"iroh_relay::endpoint_info\",\"iroh_relay::endpoint_info\"]A`[10,\"core::cmp\"]Al[2,\"iroh::discovery::pkarr\"]Ce[6,\"iroh::discovery::pkarr\",\"iroh::discovery::pkarr\"]Bi[5,\"iroh_relay::quic\",\"iroh_relay::quic\"]Cd[5,\"iroh::net_report\",\"iroh::net_report::reportgen\"]Bm[5,\"iroh_relay::server\",\"iroh_relay::server\"]De[6,\"hickory_proto::rr::record_type\",\"hickory_proto::rr::record_type\"]Ad[5,\"iroh::endpoint\"]Ad[6,\"iroh::endpoint\"]Cb[15,\"iroh_relay::protos::relay::RelayToClientMsg\"]22Bh[10,\"serde_core::ser\",\"serde_core::ser\"]Ce[6,\"core::net::socket_addr\",\"core::net::socket_addr\"]Ah[2,\"iroh_relay::server\"]Bm[6,\"iroh_relay::server\",\"iroh_relay::server\"]Af[10,\"n0_error::error\"]Ba[5,\"http::status\",\"http::status\"]Ak[10,\"clap_builder::derive\"]Cj[10,\"iroh_quinn_proto::config\",\"iroh_quinn_proto::config\"]9Af[2,\"iroh_quinn_proto\"]Ad[2,\"iroh::endpoint\"]1A`[2,\"iroh_quinn\"]f[3,\"\"]00j[2,\"iroh\"]Ae[2,\"iroh::magicsock\"]10Ad[2,\"iroh::protocol\"]Be[6,\"iroh::protocol\",\"iroh::protocol\"]Be[5,\"iroh::protocol\",\"iroh::protocol\"]Am[15,\"iroh::endpoint::Source\"]Co[5,\"rustls::server::server_conn\",\"rustls::server::server_conn\"]Am[5,\"iroh_bench\",\"iroh_bench\"]Do[6,\"iroh_quinn_proto::connection::state\",\"iroh_quinn_proto::connection::state\"]Ad[5,\"iroh::endpoint\"]Bc[5,\"data_encoding\",\"data_encoding\"]Ae[10,\"serde_core::de\"]Bg[6,\"iroh_relay::dns\",\"iroh_relay::dns\"]o[5,\"iroh::dns\"]Bg[5,\"iroh_relay::dns\",\"iroh_relay::dns\"]Bd[15,\"iroh_relay::client::SendError\"]Bo[5,\"http::header::value\",\"http::header::value\"]Bi[15,\"iroh::discovery::pkarr::PkarrError\"]0Cc[5,\"iroh_dns_server::http\",\"iroh_dns_server::http\"]9Be[15,\"iroh_relay::server::CertConfig\"]Ae[2,\"iroh_relay::dns\"]8B`[15,\"iroh_relay::dns::DnsError\"]Bg[15,\"iroh_relay::client::ConnectError\"]Be[15,\"iroh_relay::server::SpawnError\"]Bk[5,\"iroh_relay\",\"iroh_relay::ping_tracker\"]j[5,\"iroh\"]Bh[5,\"iroh_relay\",\"iroh_relay::relay_map\"]Bm[5,\"iroh_relay::server\",\"iroh_relay::server\"]6Bk[15,\"iroh::endpoint::ConnectWithOptsError\"]Cg[5,\"iroh_dns_server::config\",\"iroh_dns_server::config\"]Bd[15,\"iroh_relay::client::RecvError\"]?Bk[5,\"iroh_bench::stats\",\"iroh_bench::stats\"]B`[15,\"iroh::endpoint::AlpnError\"]Ci[5,\"ring::error::unspecified\",\"ring::error::unspecified\"]A`[2,\"iroh_quinn\"]0Bm[6,\"iroh_relay::server\",\"iroh_relay::server\"]Ce[5,\"rustls::crypto::signer\",\"rustls::crypto::signer\"]Co[5,\"rustls::client::client_conn\",\"rustls::client::client_conn\"]Bm[5,\"iroh_relay::client\",\"iroh_relay::client\"]Ad[5,\"iroh::endpoint\"]Ad[2,\"iroh::endpoint\"]Ah[2,\"iroh_relay::client\"]Cm[6,\"iroh_quinn_proto::endpoint\",\"iroh_quinn_proto::endpoint\"]Be[6,\"iroh::endpoint\",\"iroh::endpoint\"]Bm[6,\"iroh_relay::client\",\"iroh_relay::client\"]Ci[5,\"iroh_quinn_proto::shared\",\"iroh_quinn_proto::shared\"]Bf[10,\"serde_core::de\",\"serde_core::de\"]Co[5,\"iroh::discovery::pkarr::dht\",\"iroh::discovery::pkarr::dht\"]Am[5,\"n0_watcher\",\"n0_watcher\"]Ca[5,\"iroh::discovery::dns\",\"iroh::discovery::dns\"]Ci[5,\"iroh_base::endpoint_addr\",\"iroh_base::endpoint_addr\"]j[5,\"iroh\"]Bj[5,\"iroh_base\",\"iroh_base::endpoint_addr\"]Ae[5,\"iroh::discovery\"]Ck[5,\"iroh_relay::endpoint_info\",\"iroh_relay::endpoint_info\"]10Bb[10,\"core::iter::traits::collect\"]Am[10,\"iroh_metrics::iterable\"]D`[10,\"core::iter::traits::collect\",\"core::iter::traits::collect\"]Bg[15,\"iroh_relay::protos::relay::Error\"]Cg[5,\"iroh_quinn_proto::frame\",\"iroh_quinn_proto::frame\"]Bc[15,\"iroh_relay::dns::LookupError\"]Ai[10,\"iroh_metrics::base\"]D`[5,\"iroh::endpoint\",\"iroh::magicsock::remote_map::remote_state\"]Bd[15,\"iroh_relay::client::DialError\"]Ad[5,\"iroh::endpoint\"]Ac[5,\"iroh::metrics\"]Cf[5,\"iroh_relay::server\",\"iroh_relay::server::metrics\"]Cg[5,\"hickory_resolver::error\",\"hickory_resolver::error\"]Do[5,\"iroh_quinn_proto::connection::paths\",\"iroh_quinn_proto::connection::paths\"]Co[5,\"rustls::server::server_conn\",\"rustls::server::server_conn\"]5Bm[5,\"iroh_relay::server\",\"iroh_relay::server\"]Ca[5,\"pkarr::signed_packet\",\"pkarr::signed_packet\"]Ce[5,\"core::net::socket_addr\",\"core::net::socket_addr\"]0Ad[6,\"iroh::endpoint\"]A`[2,\"iroh_relay\"]Ba[2,\"iroh::magicsock::remote_map\"]Bm[5,\"iroh_relay::client\",\"iroh_relay::client\"]Ab[10,\"core::clone\"]Bb[15,\"iroh::discovery::ParseError\"]Ai[2,\"iroh::endpoint_info\"]Ao[2,\"iroh_relay::endpoint_info\"]Bl[15,\"iroh_relay::endpoint_info::ParseError\"]Ai[6,\"iroh::endpoint_info\"]Ck[6,\"iroh_relay::endpoint_info\",\"iroh_relay::endpoint_info\"]Bg[5,\"iroh::discovery\",\"iroh::discovery\"]5421Bm[10,\"iroh::endpoint\",\"iroh::endpoint::hooks\"]Aj[10,\"iroh::endpoint_info\"]Cl[10,\"iroh_relay::endpoint_info\",\"iroh_relay::endpoint_info\"]Bg[15,\"iroh_relay::protos::relay::Error\"]Bh[10,\"iroh::discovery\",\"iroh::discovery\"]Bi[15,\"iroh::endpoint_info::DecodingError\"]Bo[15,\"iroh_relay::endpoint_info::DecodingError\"]Cc[5,\"iroh::discovery::mdns\",\"iroh::discovery::mdns\"]Cg[5,\"iroh_dns_server::config\",\"iroh_dns_server::config\"]Ce[5,\"iroh::discovery::pkarr\",\"iroh::discovery::pkarr\"]Bi[6,\"rustls_pki_types\",\"rustls_pki_types\"]Eo[6,\"iroh_quinn_proto::connection::streams::recv\",\"iroh_quinn_proto::connection::streams::recv\"]Be[5,\"iroh::protocol\",\"iroh::protocol\"]Bj[15,\"iroh_relay::server::SupervisorError\"]Ci[6,\"iroh_base::endpoint_addr\",\"iroh_base::endpoint_addr\"]j[6,\"iroh\"]Bj[6,\"iroh_base\",\"iroh_base::endpoint_addr\"]Bg[5,\"iroh_relay::dns\",\"iroh_relay::dns\"]Ca[15,\"iroh_relay::protos::common::FrameTypeError\"]Bk[15,\"iroh_relay::protos::handshake::Error\"]Ci[5,\"iroh_quinn_proto::coding\",\"iroh_quinn_proto::coding\"]Ca[6,\"iroh::endpoint\",\"iroh::endpoint::connection\"]o[2,\"iroh_base\"]j[2,\"iroh\"]A`[2,\"iroh_relay\"]Ak[2,\"iroh_dns_server::http\"]Bb[15,\"iroh::discovery::ParseError\"]Bl[15,\"iroh_relay::endpoint_info::ParseError\"]Bi[5,\"rustls_pki_types\",\"rustls_pki_types\"]Ak[10,\"clap_builder::derive\"]Be[5,\"iroh::endpoint\",\"iroh::endpoint\"]Ca[5,\"iroh::endpoint\",\"iroh::endpoint::connection\"]Bf[6,\"iroh::endpoint\",\"iroh::magicsock\"]Ae[2,\"iroh::discovery\"]Bg[6,\"iroh::discovery\",\"iroh::discovery\"]Ak[2,\"iroh::discovery::mdns\"]Cc[6,\"iroh::discovery::mdns\",\"iroh::discovery::mdns\"]D`[5,\"iroh::test_utils\",\"iroh::test_utils::dns_and_pkarr_servers\"]B`[2,\"iroh_relay::protos::common\"]Bk[15,\"iroh_relay::protos::handshake::Error\"]Bg[15,\"iroh_relay::protos::relay::Error\"]Cm[6,\"iroh_relay::protos::common\",\"iroh_relay::protos::common\"]Settings

    All

    Rustdoc settings

    Back
    \ No newline at end of file +Settings

    All

    Rustdoc settings

    Back
    \ No newline at end of file diff --git a/pr/3734/docs/src-files.js b/pr/3734/docs/src-files.js index d2ff4be3dd..a83ecfede4 100644 --- a/pr/3734/docs/src-files.js +++ b/pr/3734/docs/src-files.js @@ -1,2 +1,2 @@ -createSrcSidebar('[["bulk",["",[],["bulk.rs"]]],["iroh",["",[["discovery",[["pkarr",[],["dht.rs"]]],["dns.rs","mdns.rs","pkarr.rs","static_provider.rs"]],["endpoint",[],["connection.rs","hooks.rs","presets.rs","quic.rs"]],["magicsock",[["remote_map",[["remote_state",[],["guarded_channel.rs","path_state.rs"]]],["remote_state.rs"]],["transports",[["relay",[],["actor.rs"]]],["ip.rs","relay.rs"]]],["mapped_addrs.rs","metrics.rs","remote_map.rs","transports.rs"]],["net_report",[],["defaults.rs","metrics.rs","options.rs","probes.rs","report.rs","reportgen.rs"]],["tls",[],["name.rs","resolver.rs","verifier.rs"]]],["defaults.rs","discovery.rs","dns.rs","endpoint.rs","lib.rs","magicsock.rs","metrics.rs","net_report.rs","protocol.rs","test_utils.rs","tls.rs","util.rs"]]],["iroh_base",["",[],["endpoint_addr.rs","key.rs","lib.rs","relay_url.rs"]]],["iroh_bench",["",[],["iroh.rs","lib.rs","quinn.rs","s2n.rs","stats.rs"]]],["iroh_dns_server",["",[["dns",[],["node_authority.rs"]],["http",[["doh",[],["extract.rs","response.rs"]]],["doh.rs","error.rs","pkarr.rs","rate_limiting.rs","tls.rs"]],["store",[],["signed_packets.rs"]]],["config.rs","dns.rs","http.rs","lib.rs","metrics.rs","server.rs","state.rs","store.rs","util.rs"]]],["iroh_relay",["",[["client",[],["conn.rs","streams.rs","tls.rs","util.rs"]],["protos",[],["common.rs","disco.rs","handshake.rs","relay.rs","streams.rs"]],["server",[],["client.rs","clients.rs","http_server.rs","metrics.rs","resolver.rs","streams.rs","testing.rs"]]],["client.rs","defaults.rs","dns.rs","endpoint_info.rs","http.rs","key_cache.rs","lib.rs","ping_tracker.rs","protos.rs","quic.rs","relay_map.rs","server.rs"]]]]'); -//{"start":19,"fragment_lengths":[28,724,76,75,306,426]} \ No newline at end of file +createSrcSidebar('[["bulk",["",[],["bulk.rs"]]],["iroh",["",[["discovery",[["pkarr",[],["dht.rs"]]],["dns.rs","mdns.rs","pkarr.rs","static_provider.rs"]],["endpoint",[],["connection.rs","hooks.rs","presets.rs","quic.rs"]],["magicsock",[["remote_map",[["remote_state",[],["guarded_channel.rs","path_state.rs","remote_info.rs"]]],["remote_state.rs"]],["transports",[["relay",[],["actor.rs"]]],["ip.rs","relay.rs"]]],["mapped_addrs.rs","metrics.rs","remote_map.rs","transports.rs"]],["net_report",[],["defaults.rs","metrics.rs","options.rs","probes.rs","report.rs","reportgen.rs"]],["test_utils",[],["qlog.rs"]],["tls",[],["name.rs","resolver.rs","verifier.rs"]]],["defaults.rs","discovery.rs","dns.rs","endpoint.rs","lib.rs","magicsock.rs","metrics.rs","net_report.rs","protocol.rs","test_utils.rs","tls.rs","util.rs"]]],["iroh_base",["",[],["endpoint_addr.rs","key.rs","lib.rs","relay_url.rs"]]],["iroh_bench",["",[],["iroh.rs","lib.rs","quinn.rs","s2n.rs","stats.rs"]]],["iroh_dns_server",["",[["dns",[],["node_authority.rs"]],["http",[["doh",[],["extract.rs","response.rs"]]],["doh.rs","error.rs","pkarr.rs","rate_limiting.rs","tls.rs"]],["store",[],["signed_packets.rs"]]],["config.rs","dns.rs","http.rs","lib.rs","metrics.rs","server.rs","state.rs","store.rs","util.rs"]]],["iroh_relay",["",[["client",[],["conn.rs","streams.rs","tls.rs","util.rs"]],["protos",[],["common.rs","handshake.rs","relay.rs","streams.rs"]],["server",[],["client.rs","clients.rs","http_server.rs","metrics.rs","resolver.rs","streams.rs","testing.rs"]]],["client.rs","defaults.rs","dns.rs","endpoint_info.rs","http.rs","key_cache.rs","lib.rs","ping_tracker.rs","protos.rs","quic.rs","relay_map.rs","server.rs"]]]]'); +//{"start":19,"fragment_lengths":[28,771,76,75,306,415]} \ No newline at end of file diff --git a/pr/3734/docs/src/iroh/discovery.rs.html b/pr/3734/docs/src/iroh/discovery.rs.html index a121c25c02..5b0ed2b811 100644 --- a/pr/3734/docs/src/iroh/discovery.rs.html +++ b/pr/3734/docs/src/iroh/discovery.rs.html @@ -502,9 +502,9 @@ 502 use iroh_base::{EndpointAddr, SecretKey, TransportAddr}; 503 use n0_error::{AnyError as Error, Result, StackResultExt}; 504 use n0_future::{StreamExt, time}; -505 use rand::{CryptoRng, Rng, SeedableRng}; -506 use tokio_util::task::AbortOnDropHandle; -507 use tracing_test::traced_test; +505 use n0_tracing_test::traced_test; +506 use rand::{CryptoRng, Rng, SeedableRng}; +507 use tokio_util::task::AbortOnDropHandle; 508 509 use super::*; 510 use crate::{ @@ -727,239 +727,240 @@ 727 .await; 728 729 // 10x faster test via a 3s idle timeout instead of the 30s default -730 let mut config = QuicTransportConfig::default(); -731 config.keep_alive_interval(Duration::from_secs(1)); -732 config.max_idle_timeout(Some(IdleTimeout::try_from(Duration::from_secs(3)).unwrap())); -733 let opts = ConnectOptions::new().with_transport_config(config); -734 -735 let res = ep2 -736 .connect_with_opts(ep1.id(), TEST_ALPN, opts) -737 .await? // -> Connecting works -738 .await; // -> Connection is expected to fail -739 assert!(res.is_err()); -740 Ok(()) -741 } -742 -743 /// This test first adds a wrong address manually (e.g. from an outdated&endpoint_id ticket). -744 /// Connect should still succeed because the discovery service will be invoked (after a delay). -745 #[tokio::test] -746 #[traced_test] -747 async fn endpoint_discovery_with_wrong_existing_addr() -> Result { -748 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); -749 -750 let disco_shared = TestDiscoveryShared::default(); -751 let (ep1, _guard1) = -752 new_endpoint(&mut rng, |ep| disco_shared.create_discovery(ep.id())).await; -753 let (ep2, _guard2) = -754 new_endpoint(&mut rng, |ep| disco_shared.create_discovery(ep.id())).await; -755 -756 let ep1_wrong_addr = EndpointAddr::from_parts( -757 ep1.id(), -758 [TransportAddr::Ip("240.0.0.1:1000".parse().unwrap())], -759 ); -760 let _conn = ep2.connect(ep1_wrong_addr, TEST_ALPN).await?; -761 Ok(()) -762 } -763 -764 async fn new_endpoint<R: CryptoRng, D: Discovery + 'static, F: FnOnce(&Endpoint) -> D>( -765 rng: &mut R, -766 create_disco: F, -767 ) -> (Endpoint, AbortOnDropHandle<Result<()>>) { -768 new_endpoint_add(rng, |ep| { -769 let disco = create_disco(ep); -770 ep.discovery().add(disco); -771 }) -772 .await -773 } -774 -775 async fn new_endpoint_add<R: CryptoRng, F: FnOnce(&Endpoint)>( -776 rng: &mut R, -777 add_disco: F, -778 ) -> (Endpoint, AbortOnDropHandle<Result<()>>) { -779 let secret = SecretKey::generate(rng); -780 -781 let ep = Endpoint::empty_builder(RelayMode::Disabled) -782 .secret_key(secret) -783 .alpns(vec![TEST_ALPN.to_vec()]) -784 .bind() -785 .await -786 .unwrap(); -787 add_disco(&ep); -788 -789 let handle = tokio::spawn({ -790 let ep = ep.clone(); -791 async move { -792 // Keep connections alive until the task is dropped. -793 let mut connections = Vec::new(); -794 // we skip accept() errors, they can be caused by retransmits -795 while let Some(accepting) = ep.accept().await.and_then(|inc| inc.accept().ok()) { -796 // Just accept incoming connections, but don't do anything with them. -797 let conn = accepting.await.context("accepting")?; -798 connections.push(conn); -799 } -800 -801 Ok::<_, Error>(()) -802 } -803 }); -804 -805 (ep, AbortOnDropHandle::new(handle)) -806 } -807 -808 fn system_time_now() -> u64 { -809 SystemTime::now() -810 .duration_since(SystemTime::UNIX_EPOCH) -811 .expect("time drift") -812 .as_micros() as u64 -813 } -814} -815 -816/// This module contains end-to-end tests for DNS endpoint discovery. -817/// -818/// The tests run a minimal test DNS server to resolve against, and a minimal pkarr relay to -819/// publish to. The DNS and pkarr servers share their state. -820#[cfg(test)] -821mod test_dns_pkarr { -822 use iroh_base::{EndpointAddr, SecretKey, TransportAddr}; -823 use iroh_relay::{RelayMap, endpoint_info::UserData}; -824 use n0_error::{AnyError as Error, Result, StackResultExt}; -825 use n0_future::time::Duration; -826 use rand::{CryptoRng, SeedableRng}; -827 use tokio_util::task::AbortOnDropHandle; -828 use tracing_test::traced_test; -829 -830 use crate::{ -831 Endpoint, RelayMode, -832 discovery::{EndpointData, pkarr::PkarrPublisher}, -833 dns::DnsResolver, -834 endpoint_info::EndpointInfo, -835 test_utils::{ -836 DnsPkarrServer, dns_server::run_dns_server, pkarr_dns_state::State, run_relay_server, -837 }, -838 }; -839 -840 const PUBLISH_TIMEOUT: Duration = Duration::from_secs(10); -841 -842 #[tokio::test] -843 #[traced_test] -844 async fn dns_resolve() -> Result<()> { -845 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); -846 let origin = "testdns.example".to_string(); -847 let state = State::new(origin.clone()); -848 let (nameserver, _dns_drop_guard) = run_dns_server(state.clone()) -849 .await -850 .context("Running DNS server")?; -851 -852 let secret_key = SecretKey::generate(&mut rng); -853 let endpoint_info = EndpointInfo::new(secret_key.public()) -854 .with_relay_url(Some("https://relay.example".parse().unwrap())); -855 let signed_packet = endpoint_info.to_pkarr_signed_packet(&secret_key, 30)?; -856 state -857 .upsert(signed_packet) -858 .context("update and insert signed packet")?; -859 -860 let resolver = DnsResolver::with_nameserver(nameserver); -861 let resolved = resolver -862 .lookup_endpoint_by_id(&endpoint_info.endpoint_id, &origin) -863 .await?; -864 -865 assert_eq!(resolved, endpoint_info); -866 -867 Ok(()) -868 } -869 -870 #[tokio::test] -871 #[traced_test] -872 async fn pkarr_publish_dns_resolve() -> Result<()> { -873 let origin = "testdns.example".to_string(); -874 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); -875 -876 let dns_pkarr_server = DnsPkarrServer::run_with_origin(origin.clone()) -877 .await -878 .context("DnsPkarrServer")?; -879 -880 let secret_key = SecretKey::generate(&mut rng); -881 let endpoint_id = secret_key.public(); -882 -883 let relay_url = Some(TransportAddr::Relay( -884 "https://relay.example".parse().unwrap(), -885 )); -886 -887 let resolver = DnsResolver::with_nameserver(dns_pkarr_server.nameserver); -888 let publisher = -889 PkarrPublisher::builder(dns_pkarr_server.pkarr_url.clone()).build(secret_key); -890 let user_data: UserData = "foobar".parse().unwrap(); -891 let data = EndpointData::new(relay_url.clone()).with_user_data(Some(user_data.clone())); -892 // does not block, update happens in background task -893 publisher.update_endpoint_data(&data); -894 // wait until our shared state received the update from pkarr publishing -895 dns_pkarr_server -896 .on_endpoint(&endpoint_id, PUBLISH_TIMEOUT) -897 .await -898 .context("wait for on endpoint update")?; -899 let resolved = resolver -900 .lookup_endpoint_by_id(&endpoint_id, &origin) -901 .await?; -902 println!("resolved {resolved:?}"); -903 -904 let expected_addr = EndpointAddr::from_parts(endpoint_id, relay_url); -905 -906 assert_eq!(resolved.to_endpoint_addr(), expected_addr); -907 assert_eq!(resolved.user_data(), Some(&user_data)); -908 Ok(()) -909 } -910 -911 const TEST_ALPN: &[u8] = b"TEST"; -912 -913 #[tokio::test] -914 #[traced_test] -915 async fn pkarr_publish_dns_discover() -> Result<()> { -916 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); -917 -918 let dns_pkarr_server = DnsPkarrServer::run().await.context("DnsPkarrServer run")?; -919 let (relay_map, _relay_url, _relay_guard) = run_relay_server().await?; -920 -921 let (ep1, _guard1) = ep_with_discovery(&mut rng, &relay_map, &dns_pkarr_server).await?; -922 let (ep2, _guard2) = ep_with_discovery(&mut rng, &relay_map, &dns_pkarr_server).await?; -923 -924 // wait until our shared state received the update from pkarr publishing -925 dns_pkarr_server -926 .on_endpoint(&ep1.id(), PUBLISH_TIMEOUT) -927 .await -928 .context("wait for on endpoint update")?; -929 -930 // we connect only by endpoint id! -931 let _conn = ep2.connect(ep1.id(), TEST_ALPN).await?; -932 Ok(()) -933 } -934 -935 async fn ep_with_discovery<R: CryptoRng + ?Sized>( -936 rng: &mut R, -937 relay_map: &RelayMap, -938 dns_pkarr_server: &DnsPkarrServer, -939 ) -> Result<(Endpoint, AbortOnDropHandle<Result<()>>)> { -940 let secret_key = SecretKey::generate(rng); -941 let ep = Endpoint::empty_builder(RelayMode::Custom(relay_map.clone())) -942 .insecure_skip_relay_cert_verify(true) -943 .secret_key(secret_key.clone()) -944 .alpns(vec![TEST_ALPN.to_vec()]) -945 .dns_resolver(dns_pkarr_server.dns_resolver()) -946 .discovery(dns_pkarr_server.discovery(secret_key)) -947 .bind() -948 .await?; -949 -950 let handle = tokio::spawn({ -951 let ep = ep.clone(); -952 async move { -953 // we skip accept() errors, they can be caused by retransmits -954 while let Some(accepting) = ep.accept().await.and_then(|inc| inc.accept().ok()) { -955 let _conn = accepting.await.context("accepting")?; -956 // Just accept incoming connections, but don't do anything with them. -957 } -958 -959 Ok::<_, Error>(()) -960 } -961 }); -962 -963 Ok((ep, AbortOnDropHandle::new(handle))) -964 } -965} \ No newline at end of file +730 let cfg = QuicTransportConfig::builder() +731 .keep_alive_interval(Duration::from_secs(1)) +732 .max_idle_timeout(Some(IdleTimeout::try_from(Duration::from_secs(3)).unwrap())) +733 .build(); +734 let opts = ConnectOptions::new().with_transport_config(cfg); +735 +736 let res = ep2 +737 .connect_with_opts(ep1.id(), TEST_ALPN, opts) +738 .await? // -> Connecting works +739 .await; // -> Connection is expected to fail +740 assert!(res.is_err()); +741 Ok(()) +742 } +743 +744 /// This test first adds a wrong address manually (e.g. from an outdated&endpoint_id ticket). +745 /// Connect should still succeed because the discovery service will be invoked (after a delay). +746 #[tokio::test] +747 #[traced_test] +748 async fn endpoint_discovery_with_wrong_existing_addr() -> Result { +749 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); +750 +751 let disco_shared = TestDiscoveryShared::default(); +752 let (ep1, _guard1) = +753 new_endpoint(&mut rng, |ep| disco_shared.create_discovery(ep.id())).await; +754 let (ep2, _guard2) = +755 new_endpoint(&mut rng, |ep| disco_shared.create_discovery(ep.id())).await; +756 +757 let ep1_wrong_addr = EndpointAddr::from_parts( +758 ep1.id(), +759 [TransportAddr::Ip("240.0.0.1:1000".parse().unwrap())], +760 ); +761 let _conn = ep2.connect(ep1_wrong_addr, TEST_ALPN).await?; +762 Ok(()) +763 } +764 +765 async fn new_endpoint<R: CryptoRng, D: Discovery + 'static, F: FnOnce(&Endpoint) -> D>( +766 rng: &mut R, +767 create_disco: F, +768 ) -> (Endpoint, AbortOnDropHandle<Result<()>>) { +769 new_endpoint_add(rng, |ep| { +770 let disco = create_disco(ep); +771 ep.discovery().add(disco); +772 }) +773 .await +774 } +775 +776 async fn new_endpoint_add<R: CryptoRng, F: FnOnce(&Endpoint)>( +777 rng: &mut R, +778 add_disco: F, +779 ) -> (Endpoint, AbortOnDropHandle<Result<()>>) { +780 let secret = SecretKey::generate(rng); +781 +782 let ep = Endpoint::empty_builder(RelayMode::Disabled) +783 .secret_key(secret) +784 .alpns(vec![TEST_ALPN.to_vec()]) +785 .bind() +786 .await +787 .unwrap(); +788 add_disco(&ep); +789 +790 let handle = tokio::spawn({ +791 let ep = ep.clone(); +792 async move { +793 // Keep connections alive until the task is dropped. +794 let mut connections = Vec::new(); +795 // we skip accept() errors, they can be caused by retransmits +796 while let Some(accepting) = ep.accept().await.and_then(|inc| inc.accept().ok()) { +797 // Just accept incoming connections, but don't do anything with them. +798 let conn = accepting.await.context("accepting")?; +799 connections.push(conn); +800 } +801 +802 Ok::<_, Error>(()) +803 } +804 }); +805 +806 (ep, AbortOnDropHandle::new(handle)) +807 } +808 +809 fn system_time_now() -> u64 { +810 SystemTime::now() +811 .duration_since(SystemTime::UNIX_EPOCH) +812 .expect("time drift") +813 .as_micros() as u64 +814 } +815} +816 +817/// This module contains end-to-end tests for DNS endpoint discovery. +818/// +819/// The tests run a minimal test DNS server to resolve against, and a minimal pkarr relay to +820/// publish to. The DNS and pkarr servers share their state. +821#[cfg(test)] +822mod test_dns_pkarr { +823 use iroh_base::{EndpointAddr, SecretKey, TransportAddr}; +824 use iroh_relay::{RelayMap, endpoint_info::UserData}; +825 use n0_error::{AnyError as Error, Result, StackResultExt}; +826 use n0_future::time::Duration; +827 use n0_tracing_test::traced_test; +828 use rand::{CryptoRng, SeedableRng}; +829 use tokio_util::task::AbortOnDropHandle; +830 +831 use crate::{ +832 Endpoint, RelayMode, +833 discovery::{EndpointData, pkarr::PkarrPublisher}, +834 dns::DnsResolver, +835 endpoint_info::EndpointInfo, +836 test_utils::{ +837 DnsPkarrServer, dns_server::run_dns_server, pkarr_dns_state::State, run_relay_server, +838 }, +839 }; +840 +841 const PUBLISH_TIMEOUT: Duration = Duration::from_secs(10); +842 +843 #[tokio::test] +844 #[traced_test] +845 async fn dns_resolve() -> Result<()> { +846 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); +847 let origin = "testdns.example".to_string(); +848 let state = State::new(origin.clone()); +849 let (nameserver, _dns_drop_guard) = run_dns_server(state.clone()) +850 .await +851 .context("Running DNS server")?; +852 +853 let secret_key = SecretKey::generate(&mut rng); +854 let endpoint_info = EndpointInfo::new(secret_key.public()) +855 .with_relay_url(Some("https://relay.example".parse().unwrap())); +856 let signed_packet = endpoint_info.to_pkarr_signed_packet(&secret_key, 30)?; +857 state +858 .upsert(signed_packet) +859 .context("update and insert signed packet")?; +860 +861 let resolver = DnsResolver::with_nameserver(nameserver); +862 let resolved = resolver +863 .lookup_endpoint_by_id(&endpoint_info.endpoint_id, &origin) +864 .await?; +865 +866 assert_eq!(resolved, endpoint_info); +867 +868 Ok(()) +869 } +870 +871 #[tokio::test] +872 #[traced_test] +873 async fn pkarr_publish_dns_resolve() -> Result<()> { +874 let origin = "testdns.example".to_string(); +875 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); +876 +877 let dns_pkarr_server = DnsPkarrServer::run_with_origin(origin.clone()) +878 .await +879 .context("DnsPkarrServer")?; +880 +881 let secret_key = SecretKey::generate(&mut rng); +882 let endpoint_id = secret_key.public(); +883 +884 let relay_url = Some(TransportAddr::Relay( +885 "https://relay.example".parse().unwrap(), +886 )); +887 +888 let resolver = DnsResolver::with_nameserver(dns_pkarr_server.nameserver); +889 let publisher = +890 PkarrPublisher::builder(dns_pkarr_server.pkarr_url.clone()).build(secret_key); +891 let user_data: UserData = "foobar".parse().unwrap(); +892 let data = EndpointData::new(relay_url.clone()).with_user_data(Some(user_data.clone())); +893 // does not block, update happens in background task +894 publisher.update_endpoint_data(&data); +895 // wait until our shared state received the update from pkarr publishing +896 dns_pkarr_server +897 .on_endpoint(&endpoint_id, PUBLISH_TIMEOUT) +898 .await +899 .context("wait for on endpoint update")?; +900 let resolved = resolver +901 .lookup_endpoint_by_id(&endpoint_id, &origin) +902 .await?; +903 println!("resolved {resolved:?}"); +904 +905 let expected_addr = EndpointAddr::from_parts(endpoint_id, relay_url); +906 +907 assert_eq!(resolved.to_endpoint_addr(), expected_addr); +908 assert_eq!(resolved.user_data(), Some(&user_data)); +909 Ok(()) +910 } +911 +912 const TEST_ALPN: &[u8] = b"TEST"; +913 +914 #[tokio::test] +915 #[traced_test] +916 async fn pkarr_publish_dns_discover() -> Result<()> { +917 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); +918 +919 let dns_pkarr_server = DnsPkarrServer::run().await.context("DnsPkarrServer run")?; +920 let (relay_map, _relay_url, _relay_guard) = run_relay_server().await?; +921 +922 let (ep1, _guard1) = ep_with_discovery(&mut rng, &relay_map, &dns_pkarr_server).await?; +923 let (ep2, _guard2) = ep_with_discovery(&mut rng, &relay_map, &dns_pkarr_server).await?; +924 +925 // wait until our shared state received the update from pkarr publishing +926 dns_pkarr_server +927 .on_endpoint(&ep1.id(), PUBLISH_TIMEOUT) +928 .await +929 .context("wait for on endpoint update")?; +930 +931 // we connect only by endpoint id! +932 let _conn = ep2.connect(ep1.id(), TEST_ALPN).await?; +933 Ok(()) +934 } +935 +936 async fn ep_with_discovery<R: CryptoRng + ?Sized>( +937 rng: &mut R, +938 relay_map: &RelayMap, +939 dns_pkarr_server: &DnsPkarrServer, +940 ) -> Result<(Endpoint, AbortOnDropHandle<Result<()>>)> { +941 let secret_key = SecretKey::generate(rng); +942 let ep = Endpoint::empty_builder(RelayMode::Custom(relay_map.clone())) +943 .insecure_skip_relay_cert_verify(true) +944 .secret_key(secret_key.clone()) +945 .alpns(vec![TEST_ALPN.to_vec()]) +946 .dns_resolver(dns_pkarr_server.dns_resolver()) +947 .discovery(dns_pkarr_server.discovery(secret_key)) +948 .bind() +949 .await?; +950 +951 let handle = tokio::spawn({ +952 let ep = ep.clone(); +953 async move { +954 // we skip accept() errors, they can be caused by retransmits +955 while let Some(accepting) = ep.accept().await.and_then(|inc| inc.accept().ok()) { +956 let _conn = accepting.await.context("accepting")?; +957 // Just accept incoming connections, but don't do anything with them. +958 } +959 +960 Ok::<_, Error>(()) +961 } +962 }); +963 +964 Ok((ep, AbortOnDropHandle::new(handle))) +965 } +966} \ No newline at end of file diff --git a/pr/3734/docs/src/iroh/discovery/mdns.rs.html b/pr/3734/docs/src/iroh/discovery/mdns.rs.html index c68f88f1ef..6040dc5e40 100644 --- a/pr/3734/docs/src/iroh/discovery/mdns.rs.html +++ b/pr/3734/docs/src/iroh/discovery/mdns.rs.html @@ -548,8 +548,8 @@ 548 use iroh_base::{SecretKey, TransportAddr}; 549 use n0_error::{AnyError as Error, Result, StdResultExt, bail_any}; 550 use n0_future::StreamExt; -551 use rand::{CryptoRng, SeedableRng}; -552 use tracing_test::traced_test; +551 use n0_tracing_test::traced_test; +552 use rand::{CryptoRng, SeedableRng}; 553 554 use super::super::*; 555 use crate::discovery::UserData; diff --git a/pr/3734/docs/src/iroh/discovery/pkarr/dht.rs.html b/pr/3734/docs/src/iroh/discovery/pkarr/dht.rs.html index 12ed70b128..655821884d 100644 --- a/pr/3734/docs/src/iroh/discovery/pkarr/dht.rs.html +++ b/pr/3734/docs/src/iroh/discovery/pkarr/dht.rs.html @@ -334,7 +334,7 @@ 334 335 use iroh_base::RelayUrl; 336 use n0_error::{Result, StdResultExt}; -337 use tracing_test::traced_test; +337 use n0_tracing_test::traced_test; 338 339 use super::*; 340 diff --git a/pr/3734/docs/src/iroh/discovery/static_provider.rs.html b/pr/3734/docs/src/iroh/discovery/static_provider.rs.html index bed51b7e33..cd6f11887b 100644 --- a/pr/3734/docs/src/iroh/discovery/static_provider.rs.html +++ b/pr/3734/docs/src/iroh/discovery/static_provider.rs.html @@ -8,7 +8,7 @@ 8//! This is where the [`StaticProvider`] is useful: it allows applications to add and 9//! retract endpoint addressing information that is otherwise out-of-band to iroh. 10//! -11//! [`EndpointTicket`]: https://docs.rs/iroh-base/latest/iroh_base/ticket/struct.EndpointTicket +11//! [`EndpointTicket`]: https://docs.rs/iroh-tickets/latest/iroh_tickets/endpoint/struct.EndpointTicket.html 12 13use std::{ 14 collections::{BTreeMap, btree_map::Entry}, @@ -64,7 +64,7 @@ 64/// # } 65/// ``` 66/// -67/// [`EndpointTicket`]: https://docs.rs/iroh-base/latest/iroh_base/ticket/struct.EndpointTicket +67/// [`EndpointTicket`]: https://docs.rs/iroh-tickets/latest/iroh_tickets/endpoint/struct.EndpointTicket.html 68#[derive(Debug, Clone)] 69pub struct StaticProvider { 70 endpoints: Arc<RwLock<BTreeMap<EndpointId, StoredEndpointInfo>>>, diff --git a/pr/3734/docs/src/iroh/dns.rs.html b/pr/3734/docs/src/iroh/dns.rs.html index 94935028c7..e99df3aa12 100644 --- a/pr/3734/docs/src/iroh/dns.rs.html +++ b/pr/3734/docs/src/iroh/dns.rs.html @@ -15,7 +15,7 @@ 15pub(crate) mod tests { 16 use std::time::Duration; 17 -18 use tracing_test::traced_test; +18 use n0_tracing_test::traced_test; 19 20 use super::DnsResolver; 21 use crate::defaults::staging::NA_EAST_RELAY_HOSTNAME; diff --git a/pr/3734/docs/src/iroh/endpoint.rs.html b/pr/3734/docs/src/iroh/endpoint.rs.html index cc60076860..87496dfdfc 100644 --- a/pr/3734/docs/src/iroh/endpoint.rs.html +++ b/pr/3734/docs/src/iroh/endpoint.rs.html @@ -26,2468 +26,2500 @@ 26use self::hooks::EndpointHooksList; 27pub use super::magicsock::{ 28 DirectAddr, DirectAddrType, PathInfo, -29 remote_map::{PathInfoList, Source}, +29 remote_map::{PathInfoList, RemoteInfo, Source, TransportAddrInfo, TransportAddrUsage}, 30}; 31#[cfg(wasm_browser)] 32use crate::discovery::pkarr::PkarrResolver; 33#[cfg(not(wasm_browser))] 34use crate::dns::DnsResolver; 35use crate::{ -36 discovery::{ConcurrentDiscovery, DiscoveryError, DynIntoDiscovery, IntoDiscovery, UserData}, -37 endpoint::presets::Preset, -38 magicsock::{self, Handle, RemoteStateActorStoppedError, mapped_addrs::MappedAddr}, -39 metrics::EndpointMetrics, -40 net_report::Report, +36 NetReport, +37 discovery::{ConcurrentDiscovery, DiscoveryError, DynIntoDiscovery, IntoDiscovery, UserData}, +38 endpoint::presets::Preset, +39 magicsock::{self, Handle, RemoteStateActorStoppedError, mapped_addrs::MappedAddr}, +40 metrics::EndpointMetrics, 41 tls::{self, DEFAULT_MAX_TLS_TICKETS}, 42}; 43 44mod connection; 45pub(crate) mod hooks; 46pub mod presets; -47mod quic; +47pub(crate) mod quic; 48 49pub use hooks::{AfterHandshakeOutcome, BeforeConnectOutcome, EndpointHooks}; 50 -51pub use self::{ -52 connection::{ -53 Accept, Accepting, AlpnError, AuthenticationError, Connecting, ConnectingError, Connection, -54 ConnectionInfo, ConnectionState, HandshakeCompleted, Incoming, IncomingZeroRtt, -55 IncomingZeroRttConnection, OutgoingZeroRtt, OutgoingZeroRttConnection, -56 RemoteEndpointIdError, ZeroRttStatus, -57 }, -58 quic::{ -59 AcceptBi, AcceptUni, AckFrequencyConfig, AeadKey, ApplicationClose, Chunk, ClosedStream, -60 ConnectionClose, ConnectionError, ConnectionStats, Controller, ControllerFactory, -61 CryptoError, CryptoServerConfig, ExportKeyingMaterialError, FrameStats, HandshakeTokenKey, -62 IdleTimeout, MtuDiscoveryConfig, OpenBi, OpenUni, PathStats, QuicTransportConfig, -63 ReadDatagram, ReadError, ReadExactError, ReadToEndError, RecvStream, ResetError, -64 RetryError, SendDatagramError, SendStream, ServerConfig, Side, StoppedError, StreamId, -65 TransportError, TransportErrorCode, UdpStats, UnsupportedVersion, VarInt, -66 VarIntBoundsExceeded, WeakConnectionHandle, WriteError, Written, -67 }, -68}; -69pub use crate::magicsock::transports::TransportConfig; -70 -71/// Builder for [`Endpoint`]. -72/// -73/// By default the endpoint will generate a new random [`SecretKey`], which will result in a -74/// new [`EndpointId`]. -75/// -76/// To create the [`Endpoint`] call [`Builder::bind`]. -77#[derive(Debug)] -78pub struct Builder { -79 secret_key: Option<SecretKey>, -80 alpn_protocols: Vec<Vec<u8>>, -81 transport_config: QuicTransportConfig, -82 keylog: bool, -83 discovery: Vec<Box<dyn DynIntoDiscovery>>, -84 discovery_user_data: Option<UserData>, -85 proxy_url: Option<Url>, -86 #[cfg(not(wasm_browser))] -87 dns_resolver: Option<DnsResolver>, -88 #[cfg(any(test, feature = "test-utils"))] -89 insecure_skip_relay_cert_verify: bool, -90 transports: Vec<TransportConfig>, -91 max_tls_tickets: usize, -92 hooks: EndpointHooksList, -93} -94 -95impl From<RelayMode> for Option<TransportConfig> { -96 fn from(mode: RelayMode) -> Self { -97 match mode { -98 RelayMode::Disabled => None, -99 RelayMode::Default => Some(TransportConfig::Relay { -100 relay_map: mode.relay_map(), -101 }), -102 RelayMode::Staging => Some(TransportConfig::Relay { -103 relay_map: mode.relay_map(), -104 }), -105 RelayMode::Custom(relay_map) => Some(TransportConfig::Relay { relay_map }), -106 } -107 } -108} -109 -110impl Builder { -111 // The ordering of public methods is reflected directly in the documentation. This is -112 // roughly ordered by what is most commonly needed by users. -113 -114 /// Creates a new [`Builder`] using the given [`Preset`]. -115 /// -116 /// See [`presets`] for more. -117 pub fn new<P: Preset>(preset: P) -> Self { -118 Self::empty(RelayMode::Disabled).preset(preset) -119 } -120 -121 /// Applies the given [`Preset`]. -122 pub fn preset<P: Preset>(mut self, preset: P) -> Self { -123 self = preset.apply(self); -124 self -125 } -126 -127 /// Creates an empty builder with no discovery services. -128 pub fn empty(relay_mode: RelayMode) -> Self { -129 let mut transports = vec![ -130 #[cfg(not(wasm_browser))] -131 TransportConfig::default_ipv4(), -132 #[cfg(not(wasm_browser))] -133 TransportConfig::default_ipv6(), -134 ]; -135 if let Some(relay) = relay_mode.into() { -136 transports.push(relay); -137 } -138 Self { -139 secret_key: Default::default(), -140 alpn_protocols: Default::default(), -141 transport_config: QuicTransportConfig::default(), -142 keylog: Default::default(), -143 discovery: Default::default(), -144 discovery_user_data: Default::default(), -145 proxy_url: None, -146 #[cfg(not(wasm_browser))] -147 dns_resolver: None, -148 #[cfg(any(test, feature = "test-utils"))] -149 insecure_skip_relay_cert_verify: false, -150 max_tls_tickets: DEFAULT_MAX_TLS_TICKETS, -151 transports, -152 hooks: Default::default(), -153 } -154 } -155 -156 // # The final constructor that everyone needs. -157 -158 /// Binds the magic endpoint. -159 pub async fn bind(self) -> Result<Endpoint, BindError> { -160 let mut rng = rand::rng(); -161 let secret_key = self -162 .secret_key -163 .unwrap_or_else(move || SecretKey::generate(&mut rng)); -164 -165 let static_config = StaticConfig { -166 transport_config: self.transport_config.clone(), -167 tls_config: tls::TlsConfig::new(secret_key.clone(), self.max_tls_tickets), -168 keylog: self.keylog, -169 }; -170 let server_config = static_config.create_server_config(self.alpn_protocols); -171 -172 #[cfg(not(wasm_browser))] -173 let dns_resolver = self.dns_resolver.unwrap_or_default(); -174 -175 let metrics = EndpointMetrics::default(); +51#[cfg(feature = "qlog")] +52pub use self::quic::{QlogConfig, QlogFactory, QlogFileFactory}; +53pub use self::{ +54 connection::{ +55 Accept, Accepting, AlpnError, AuthenticationError, Connecting, ConnectingError, Connection, +56 ConnectionInfo, ConnectionState, HandshakeCompleted, Incoming, IncomingZeroRtt, +57 IncomingZeroRttConnection, OutgoingZeroRtt, OutgoingZeroRttConnection, +58 RemoteEndpointIdError, RetryError, ZeroRttStatus, +59 }, +60 quic::{ +61 AcceptBi, AcceptUni, AckFrequencyConfig, AeadKey, ApplicationClose, Chunk, ClosedStream, +62 ConnectionClose, ConnectionError, ConnectionStats, Controller, ControllerFactory, +63 ControllerMetrics, CryptoError, Dir, ExportKeyingMaterialError, FrameStats, FrameType, +64 HandshakeTokenKey, HeaderKey, IdleTimeout, Keys, MtuDiscoveryConfig, OpenBi, OpenUni, +65 PacketKey, PathId, PathStats, QuicConnectError, QuicTransportConfig, +66 QuicTransportConfigBuilder, ReadDatagram, ReadError, ReadExactError, ReadToEndError, +67 RecvStream, ResetError, RttEstimator, SendDatagram, SendDatagramError, SendStream, +68 ServerConfig, ServerConfigBuilder, Side, StoppedError, StreamId, TimeSource, TokenLog, +69 TokenReuseError, TransportError, TransportErrorCode, TransportParameters, UdpStats, +70 UnorderedRecvStream, UnsupportedVersion, ValidationTokenConfig, VarInt, +71 VarIntBoundsExceeded, WriteError, Written, +72 }, +73}; +74pub use crate::magicsock::transports::TransportConfig; +75 +76/// Builder for [`Endpoint`]. +77/// +78/// By default the endpoint will generate a new random [`SecretKey`], which will result in a +79/// new [`EndpointId`]. +80/// +81/// To create the [`Endpoint`] call [`Builder::bind`]. +82#[derive(Debug)] +83pub struct Builder { +84 secret_key: Option<SecretKey>, +85 alpn_protocols: Vec<Vec<u8>>, +86 transport_config: QuicTransportConfig, +87 keylog: bool, +88 discovery: Vec<Box<dyn DynIntoDiscovery>>, +89 discovery_user_data: Option<UserData>, +90 proxy_url: Option<Url>, +91 #[cfg(not(wasm_browser))] +92 dns_resolver: Option<DnsResolver>, +93 #[cfg(any(test, feature = "test-utils"))] +94 insecure_skip_relay_cert_verify: bool, +95 transports: Vec<TransportConfig>, +96 max_tls_tickets: usize, +97 hooks: EndpointHooksList, +98} +99 +100impl From<RelayMode> for Option<TransportConfig> { +101 fn from(mode: RelayMode) -> Self { +102 match mode { +103 RelayMode::Disabled => None, +104 RelayMode::Default => Some(TransportConfig::Relay { +105 relay_map: mode.relay_map(), +106 }), +107 RelayMode::Staging => Some(TransportConfig::Relay { +108 relay_map: mode.relay_map(), +109 }), +110 RelayMode::Custom(relay_map) => Some(TransportConfig::Relay { relay_map }), +111 } +112 } +113} +114 +115impl Builder { +116 // The ordering of public methods is reflected directly in the documentation. This is +117 // roughly ordered by what is most commonly needed by users. +118 +119 /// Creates a new [`Builder`] using the given [`Preset`]. +120 /// +121 /// See [`presets`] for more. +122 pub fn new<P: Preset>(preset: P) -> Self { +123 Self::empty(RelayMode::Disabled).preset(preset) +124 } +125 +126 /// Applies the given [`Preset`]. +127 pub fn preset<P: Preset>(mut self, preset: P) -> Self { +128 self = preset.apply(self); +129 self +130 } +131 +132 /// Creates an empty builder with no discovery services. +133 pub fn empty(relay_mode: RelayMode) -> Self { +134 let mut transports = vec![ +135 #[cfg(not(wasm_browser))] +136 TransportConfig::default_ipv4(), +137 #[cfg(not(wasm_browser))] +138 TransportConfig::default_ipv6(), +139 ]; +140 if let Some(relay) = relay_mode.into() { +141 transports.push(relay); +142 } +143 Self { +144 secret_key: Default::default(), +145 alpn_protocols: Default::default(), +146 transport_config: QuicTransportConfig::default(), +147 keylog: Default::default(), +148 discovery: Default::default(), +149 discovery_user_data: Default::default(), +150 proxy_url: None, +151 #[cfg(not(wasm_browser))] +152 dns_resolver: None, +153 #[cfg(any(test, feature = "test-utils"))] +154 insecure_skip_relay_cert_verify: false, +155 max_tls_tickets: DEFAULT_MAX_TLS_TICKETS, +156 transports, +157 hooks: Default::default(), +158 } +159 } +160 +161 // # The final constructor that everyone needs. +162 +163 /// Binds the magic endpoint. +164 pub async fn bind(self) -> Result<Endpoint, BindError> { +165 let mut rng = rand::rng(); +166 let secret_key = self +167 .secret_key +168 .unwrap_or_else(move || SecretKey::generate(&mut rng)); +169 +170 let static_config = StaticConfig { +171 transport_config: self.transport_config.clone(), +172 tls_config: tls::TlsConfig::new(secret_key.clone(), self.max_tls_tickets), +173 keylog: self.keylog, +174 }; +175 let server_config = static_config.create_server_config(self.alpn_protocols); 176 -177 let msock_opts = magicsock::Options { -178 transports: self.transports, -179 secret_key, -180 discovery_user_data: self.discovery_user_data, -181 proxy_url: self.proxy_url, -182 #[cfg(not(wasm_browser))] -183 dns_resolver, -184 server_config, -185 #[cfg(any(test, feature = "test-utils"))] -186 insecure_skip_relay_cert_verify: self.insecure_skip_relay_cert_verify, -187 metrics, -188 hooks: self.hooks, -189 }; -190 -191 let msock = magicsock::MagicSock::spawn(msock_opts).await?; -192 trace!("created magicsock"); -193 debug!(version = env!("CARGO_PKG_VERSION"), "iroh Endpoint created"); -194 -195 let ep = Endpoint { -196 msock, -197 static_config: Arc::new(static_config), -198 }; +177 #[cfg(not(wasm_browser))] +178 let dns_resolver = self.dns_resolver.unwrap_or_default(); +179 +180 let metrics = EndpointMetrics::default(); +181 +182 let msock_opts = magicsock::Options { +183 transports: self.transports, +184 secret_key, +185 discovery_user_data: self.discovery_user_data, +186 proxy_url: self.proxy_url, +187 #[cfg(not(wasm_browser))] +188 dns_resolver, +189 server_config, +190 #[cfg(any(test, feature = "test-utils"))] +191 insecure_skip_relay_cert_verify: self.insecure_skip_relay_cert_verify, +192 metrics, +193 hooks: self.hooks, +194 }; +195 +196 let msock = magicsock::MagicSock::spawn(msock_opts).await?; +197 trace!("created magicsock"); +198 debug!(version = env!("CARGO_PKG_VERSION"), "iroh Endpoint created"); 199 -200 // Add discovery mechanisms -201 for create_service in self.discovery { -202 let service = create_service.into_discovery(&ep)?; -203 ep.discovery().add_boxed(service); -204 } -205 -206 Ok(ep) -207 } -208 -209 // # The very common methods everyone basically needs. +200 let ep = Endpoint { +201 msock, +202 static_config: Arc::new(static_config), +203 }; +204 +205 // Add discovery mechanisms +206 for create_service in self.discovery { +207 let service = create_service.into_discovery(&ep)?; +208 ep.discovery().add_boxed(service); +209 } 210 -211 /// Adds an IP transport, binding to the provided IPv4 address. -212 /// -213 /// If you want to remove the default transports, make sure to call `clear_ip` first. -214 /// -215 /// Setting the port to `0` will use a random port. -216 /// If the port specified is already in use, it will fallback to choosing a random port. -217 #[cfg(not(wasm_browser))] -218 pub fn bind_addr_v4(mut self, bind_addr: SocketAddrV4) -> Self { -219 self.transports.push(TransportConfig::Ip { -220 bind_addr: bind_addr.into(), -221 }); -222 self -223 } -224 -225 /// Adds an IP transport, binding to the provided IPv6 address. -226 /// -227 /// If you want to remove the default transports, make sure to call `clear_ip` first. -228 /// -229 /// Setting the port to `0` will use a random port. -230 /// If the port specified is already in use, it will fallback to choosing a random port. -231 #[cfg(not(wasm_browser))] -232 pub fn bind_addr_v6(mut self, bind_addr: SocketAddrV6) -> Self { -233 self.transports.push(TransportConfig::Ip { -234 bind_addr: bind_addr.into(), -235 }); -236 self -237 } -238 -239 /// Removes all IP based transports -240 #[cfg(not(wasm_browser))] -241 pub fn clear_ip_transports(mut self) -> Self { -242 self.transports -243 .retain(|t| !matches!(t, TransportConfig::Ip { .. })); -244 self -245 } -246 -247 /// Removes all relay based transports -248 pub fn clear_relay_transports(mut self) -> Self { -249 self.transports -250 .retain(|t| !matches!(t, TransportConfig::Relay { .. })); -251 self -252 } -253 -254 /// Sets a secret key to authenticate with other peers. -255 /// -256 /// This secret key's public key will be the [`PublicKey`] of this endpoint and thus -257 /// also its [`EndpointId`] -258 /// -259 /// If not set, a new secret key will be generated. +211 Ok(ep) +212 } +213 +214 // # The very common methods everyone basically needs. +215 +216 /// Adds an IP transport, binding to the provided IPv4 address. +217 /// +218 /// If you want to remove the default transports, make sure to call `clear_ip` first. +219 /// +220 /// Setting the port to `0` will use a random port. +221 /// If the port specified is already in use, it will fallback to choosing a random port. +222 #[cfg(not(wasm_browser))] +223 pub fn bind_addr_v4(mut self, bind_addr: SocketAddrV4) -> Self { +224 self.transports.push(TransportConfig::Ip { +225 bind_addr: bind_addr.into(), +226 }); +227 self +228 } +229 +230 /// Adds an IP transport, binding to the provided IPv6 address. +231 /// +232 /// If you want to remove the default transports, make sure to call `clear_ip` first. +233 /// +234 /// Setting the port to `0` will use a random port. +235 /// If the port specified is already in use, it will fallback to choosing a random port. +236 #[cfg(not(wasm_browser))] +237 pub fn bind_addr_v6(mut self, bind_addr: SocketAddrV6) -> Self { +238 self.transports.push(TransportConfig::Ip { +239 bind_addr: bind_addr.into(), +240 }); +241 self +242 } +243 +244 /// Removes all IP based transports +245 #[cfg(not(wasm_browser))] +246 pub fn clear_ip_transports(mut self) -> Self { +247 self.transports +248 .retain(|t| !matches!(t, TransportConfig::Ip { .. })); +249 self +250 } +251 +252 /// Removes all relay based transports +253 pub fn clear_relay_transports(mut self) -> Self { +254 self.transports +255 .retain(|t| !matches!(t, TransportConfig::Relay { .. })); +256 self +257 } +258 +259 /// Sets a secret key to authenticate with other peers. 260 /// -261 /// [`PublicKey`]: iroh_base::PublicKey -262 pub fn secret_key(mut self, secret_key: SecretKey) -> Self { -263 self.secret_key = Some(secret_key); -264 self -265 } -266 -267 /// Sets the [ALPN] protocols that this endpoint will accept on incoming connections. -268 /// -269 /// Not setting this will still allow creating connections, but to accept incoming -270 /// connections at least one [ALPN] must be set. -271 /// -272 /// [ALPN]: https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation -273 pub fn alpns(mut self, alpn_protocols: Vec<Vec<u8>>) -> Self { -274 self.alpn_protocols = alpn_protocols; -275 self -276 } -277 -278 // # Methods for common customisation items. -279 -280 /// Sets the relay servers to assist in establishing connectivity. -281 /// -282 /// Relay servers are used to establish initial connection with another iroh endpoint. -283 /// They also perform various functions related to hole punching, see the [crate docs] -284 /// for more details. -285 /// -286 /// By default the [number 0] relay servers are used, see [`RelayMode::Default`]. -287 /// -288 /// When using [RelayMode::Custom], the provided `relay_map` must contain at least one -289 /// configured relay endpoint. If an invalid RelayMap is provided [`bind`] -290 /// will result in an error. -291 /// -292 /// [`bind`]: Builder::bind -293 /// [crate docs]: crate -294 /// [number 0]: https://n0.computer -295 pub fn relay_mode(mut self, relay_mode: RelayMode) -> Self { -296 let transport: Option<_> = relay_mode.into(); -297 match transport { -298 Some(transport) => { -299 if let Some(og) = self -300 .transports -301 .iter_mut() -302 .find(|t| matches!(t, TransportConfig::Relay { .. })) -303 { -304 *og = transport; -305 } else { -306 self.transports.push(transport); -307 } -308 } -309 None => { -310 self.transports -311 .retain(|t| !matches!(t, TransportConfig::Relay { .. })); -312 } -313 } -314 self -315 } -316 -317 /// Removes all discovery services from the builder. -318 /// -319 /// If no discovery service is set, connecting to an endpoint without providing its -320 /// direct addresses or relay URLs will fail. -321 /// -322 /// See the documentation of the [`crate::discovery::Discovery`] trait for details. -323 pub fn clear_discovery(mut self) -> Self { -324 self.discovery.clear(); -325 self -326 } -327 -328 /// Adds a discovery mechanism for this endpoint. -329 /// -330 /// The function `discovery` -331 /// will be called on endpoint creation with the configured secret key of -332 /// the endpoint. Discovery services that need to publish information need -333 /// to use this secret key to sign the information. +261 /// This secret key's public key will be the [`PublicKey`] of this endpoint and thus +262 /// also its [`EndpointId`] +263 /// +264 /// If not set, a new secret key will be generated. +265 /// +266 /// [`PublicKey`]: iroh_base::PublicKey +267 pub fn secret_key(mut self, secret_key: SecretKey) -> Self { +268 self.secret_key = Some(secret_key); +269 self +270 } +271 +272 /// Sets the [ALPN] protocols that this endpoint will accept on incoming connections. +273 /// +274 /// Not setting this will still allow creating connections, but to accept incoming +275 /// connections at least one [ALPN] must be set. +276 /// +277 /// [ALPN]: https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation +278 pub fn alpns(mut self, alpn_protocols: Vec<Vec<u8>>) -> Self { +279 self.alpn_protocols = alpn_protocols; +280 self +281 } +282 +283 // # Methods for common customisation items. +284 +285 /// Sets the relay servers to assist in establishing connectivity. +286 /// +287 /// Relay servers are used to establish initial connection with another iroh endpoint. +288 /// They also perform various functions related to hole punching, see the [crate docs] +289 /// for more details. +290 /// +291 /// By default the [number 0] relay servers are used, see [`RelayMode::Default`]. +292 /// +293 /// When using [RelayMode::Custom], the provided `relay_map` must contain at least one +294 /// configured relay endpoint. If an invalid RelayMap is provided [`bind`] +295 /// will result in an error. +296 /// +297 /// [`bind`]: Builder::bind +298 /// [crate docs]: crate +299 /// [number 0]: https://n0.computer +300 pub fn relay_mode(mut self, relay_mode: RelayMode) -> Self { +301 let transport: Option<_> = relay_mode.into(); +302 match transport { +303 Some(transport) => { +304 if let Some(og) = self +305 .transports +306 .iter_mut() +307 .find(|t| matches!(t, TransportConfig::Relay { .. })) +308 { +309 *og = transport; +310 } else { +311 self.transports.push(transport); +312 } +313 } +314 None => { +315 self.transports +316 .retain(|t| !matches!(t, TransportConfig::Relay { .. })); +317 } +318 } +319 self +320 } +321 +322 /// Removes all discovery services from the builder. +323 /// +324 /// If no discovery service is set, connecting to an endpoint without providing its +325 /// direct addresses or relay URLs will fail. +326 /// +327 /// See the documentation of the [`crate::discovery::Discovery`] trait for details. +328 pub fn clear_discovery(mut self) -> Self { +329 self.discovery.clear(); +330 self +331 } +332 +333 /// Adds an additional discovery mechanism for this endpoint. 334 /// -335 /// If you add multiple discovery services, they will be combined using a -336 /// [`crate::discovery::ConcurrentDiscovery`]. -337 /// -338 /// If no discovery service is set, connecting to an endpoint without providing its -339 /// direct addresses or relay URLs will fail. -340 /// -341 /// To clear all discovery services, use [`Builder::clear_discovery`]. -342 /// -343 /// See the documentation of the [`crate::discovery::Discovery`] trait for details. -344 pub fn discovery(mut self, discovery: impl IntoDiscovery) -> Self { -345 self.discovery.push(Box::new(discovery)); -346 self -347 } -348 -349 /// Sets the initial user-defined data to be published in discovery services for this node. -350 /// -351 /// When using discovery services, this string of [`UserData`] will be published together -352 /// with the endpoint's addresses and relay URL. When other endpoints discover this endpoint, -353 /// they retrieve the [`UserData`] in addition to the addressing info. +335 /// Once the endpoint is created the provided [`IntoDiscovery::into_discovery`] will be +336 /// called. This allows discovery services to finalize their configuration by e.g. using +337 /// the secret key from the endpoint which can be needed to sign published information. +338 /// +339 /// This method can be called multiple times and all the discovery services passed in +340 /// will be combined using an internal instance of the +341 /// [`crate::discovery::ConcurrentDiscovery`]. To clear all discovery services, use +342 /// [`Self::clear_discovery`]. +343 /// +344 /// If no discovery service is set, connecting to an endpoint without providing its +345 /// direct addresses or relay URLs will fail. +346 /// +347 /// See the documentation of the [`crate::discovery::Discovery`] trait for details. +348 pub fn discovery(mut self, discovery: impl IntoDiscovery) -> Self { +349 self.discovery.push(Box::new(discovery)); +350 self +351 } +352 +353 /// Sets the initial user-defined data to be published in discovery services for this node. 354 /// -355 /// Iroh itself does not interpret the user-defined data in any way, it is purely left -356 /// for applications to parse and use. -357 pub fn user_data_for_discovery(mut self, user_data: UserData) -> Self { -358 self.discovery_user_data = Some(user_data); -359 self -360 } -361 -362 // # Methods for more specialist customisation. -363 -364 /// Sets a custom [`QuicTransportConfig`] for this endpoint. -365 /// -366 /// The transport config contains parameters governing the QUIC state machine. -367 /// -368 /// If unset, the default config is used. Default values should be suitable for most -369 /// internet applications. Applications protocols which forbid remotely-initiated -370 /// streams should set `max_concurrent_bidi_streams` and `max_concurrent_uni_streams` to -371 /// zero. -372 /// -373 /// Please be aware that changing some settings may have adverse effects on establishing -374 /// and maintaining direct connections. -375 pub fn transport_config(mut self, transport_config: QuicTransportConfig) -> Self { -376 self.transport_config = transport_config; -377 self -378 } -379 -380 /// Optionally sets a custom DNS resolver to use for this endpoint. -381 /// -382 /// The DNS resolver is used to resolve relay hostnames, and endpoint addresses if -383 /// [`crate::discovery::dns::DnsDiscovery`] is configured. -384 /// -385 /// By default, a new DNS resolver is created which is configured to use the -386 /// host system's DNS configuration. You can pass a custom instance of [`DnsResolver`] -387 /// here to use a differently configured DNS resolver for this endpoint, or to share -388 /// a [`DnsResolver`] between multiple endpoints. -389 #[cfg(not(wasm_browser))] -390 pub fn dns_resolver(mut self, dns_resolver: DnsResolver) -> Self { -391 self.dns_resolver = Some(dns_resolver); -392 self -393 } -394 -395 /// Sets an explicit proxy url to proxy all HTTP(S) traffic through. -396 pub fn proxy_url(mut self, url: Url) -> Self { -397 self.proxy_url.replace(url); -398 self -399 } -400 -401 /// Sets the proxy url from the environment, in this order: -402 /// -403 /// - `HTTP_PROXY` -404 /// - `http_proxy` -405 /// - `HTTPS_PROXY` -406 /// - `https_proxy` -407 pub fn proxy_from_env(mut self) -> Self { -408 self.proxy_url = proxy_url_from_env(); -409 self -410 } -411 -412 /// Enables saving the TLS pre-master key for connections. -413 /// -414 /// This key should normally remain secret but can be useful to debug networking issues -415 /// by decrypting captured traffic. -416 /// -417 /// If *keylog* is `true` then setting the `SSLKEYLOGFILE` environment variable to a -418 /// filename will result in this file being used to log the TLS pre-master keys. -419 pub fn keylog(mut self, keylog: bool) -> Self { -420 self.keylog = keylog; -421 self -422 } -423 -424 /// Skip verification of SSL certificates from relay servers -425 /// -426 /// May only be used in tests. -427 #[cfg(any(test, feature = "test-utils"))] -428 pub fn insecure_skip_relay_cert_verify(mut self, skip_verify: bool) -> Self { -429 self.insecure_skip_relay_cert_verify = skip_verify; -430 self -431 } -432 -433 /// Set the maximum number of TLS tickets to cache. -434 /// -435 /// Set this to a larger value if you want to do 0rtt connections to a large -436 /// number of clients. -437 /// -438 /// The default is 256, taking about 150 KiB in memory. -439 pub fn max_tls_tickets(mut self, n: usize) -> Self { -440 self.max_tls_tickets = n; -441 self -442 } -443 -444 /// Install hooks onto the endpoint. -445 /// -446 /// Endpoint hooks intercept the connection establishment process of an [`Endpoint`]. -447 /// -448 /// You can install multiple [`EndpointHooks`] by calling this function multiple times. -449 /// Order matters: hooks are invoked in the order they were installed onto the endpoint -450 /// builder. Once a hook returns reject, further processing -451 /// is aborted and other hooks won't be invoked. -452 /// -453 /// See [`EndpointHooks`] for details on the possible interception points in the connection lifecycle. -454 pub fn hooks(mut self, hooks: impl EndpointHooks + 'static) -> Self { -455 self.hooks.push(hooks); -456 self -457 } -458} -459 -460/// Configuration for a [`quinn::Endpoint`] that cannot be changed at runtime. -461#[derive(Debug)] -462struct StaticConfig { -463 tls_config: tls::TlsConfig, -464 transport_config: QuicTransportConfig, -465 keylog: bool, -466} -467 -468impl StaticConfig { -469 /// Create a [`quinn::ServerConfig`] with the specified ALPN protocols. -470 fn create_server_config(&self, alpn_protocols: Vec<Vec<u8>>) -> ServerConfig { -471 let quic_server_config = self -472 .tls_config -473 .make_server_config(alpn_protocols, self.keylog); -474 let mut server_config = ServerConfig::with_crypto(Arc::new(quic_server_config)); -475 server_config.transport_config(self.transport_config.to_arc()); -476 -477 server_config -478 } -479} -480 -481/// Controls an iroh endpoint, establishing connections with other endpoints. -482/// -483/// This is the main API interface to create connections to, and accept connections from -484/// other iroh endpoints. The connections are peer-to-peer and encrypted, a Relay server is -485/// used to make the connections reliable. See the [crate docs] for a more detailed -486/// overview of iroh. -487/// -488/// It is recommended to only create a single instance per application. This ensures all -489/// the connections made share the same peer-to-peer connections to other iroh endpoints, -490/// while still remaining independent connections. This will result in more optimal network -491/// behaviour. -492/// -493/// The endpoint is created using the [`Builder`], which can be created using -494/// [`Endpoint::builder`]. +355 /// When using discovery services, this string of [`UserData`] will be published together +356 /// with the endpoint's addresses and relay URL. When other endpoints discover this endpoint, +357 /// they retrieve the [`UserData`] in addition to the addressing info. +358 /// +359 /// Iroh itself does not interpret the user-defined data in any way, it is purely left +360 /// for applications to parse and use. +361 pub fn user_data_for_discovery(mut self, user_data: UserData) -> Self { +362 self.discovery_user_data = Some(user_data); +363 self +364 } +365 +366 // # Methods for more specialist customisation. +367 +368 /// Sets a custom [`QuicTransportConfig`] for this endpoint. +369 /// +370 /// The transport config contains parameters governing the QUIC state machine. +371 /// +372 /// If unset, the default config is used. Default values should be suitable for most +373 /// internet applications. Applications protocols which forbid remotely-initiated +374 /// streams should set `max_concurrent_bidi_streams` and `max_concurrent_uni_streams` to +375 /// zero. +376 /// +377 /// Please be aware that changing some settings may have adverse effects on establishing +378 /// and maintaining direct connections. +379 pub fn transport_config(mut self, transport_config: QuicTransportConfig) -> Self { +380 self.transport_config = transport_config; +381 self +382 } +383 +384 /// Optionally sets a custom DNS resolver to use for this endpoint. +385 /// +386 /// The DNS resolver is used to resolve relay hostnames, and endpoint addresses if +387 /// [`crate::discovery::dns::DnsDiscovery`] is configured. +388 /// +389 /// By default, a new DNS resolver is created which is configured to use the +390 /// host system's DNS configuration. You can pass a custom instance of [`DnsResolver`] +391 /// here to use a differently configured DNS resolver for this endpoint, or to share +392 /// a [`DnsResolver`] between multiple endpoints. +393 #[cfg(not(wasm_browser))] +394 pub fn dns_resolver(mut self, dns_resolver: DnsResolver) -> Self { +395 self.dns_resolver = Some(dns_resolver); +396 self +397 } +398 +399 /// Sets an explicit proxy url to proxy all HTTP(S) traffic through. +400 pub fn proxy_url(mut self, url: Url) -> Self { +401 self.proxy_url.replace(url); +402 self +403 } +404 +405 /// Sets the proxy url from the environment, in this order: +406 /// +407 /// - `HTTP_PROXY` +408 /// - `http_proxy` +409 /// - `HTTPS_PROXY` +410 /// - `https_proxy` +411 pub fn proxy_from_env(mut self) -> Self { +412 self.proxy_url = proxy_url_from_env(); +413 self +414 } +415 +416 /// Enables saving the TLS pre-master key for connections. +417 /// +418 /// This key should normally remain secret but can be useful to debug networking issues +419 /// by decrypting captured traffic. +420 /// +421 /// If *keylog* is `true` then setting the `SSLKEYLOGFILE` environment variable to a +422 /// filename will result in this file being used to log the TLS pre-master keys. +423 pub fn keylog(mut self, keylog: bool) -> Self { +424 self.keylog = keylog; +425 self +426 } +427 +428 /// Skip verification of SSL certificates from relay servers +429 /// +430 /// May only be used in tests. +431 #[cfg(any(test, feature = "test-utils"))] +432 pub fn insecure_skip_relay_cert_verify(mut self, skip_verify: bool) -> Self { +433 self.insecure_skip_relay_cert_verify = skip_verify; +434 self +435 } +436 +437 /// Set the maximum number of TLS tickets to cache. +438 /// +439 /// Set this to a larger value if you want to do 0rtt connections to a large +440 /// number of clients. +441 /// +442 /// The default is 256, taking about 150 KiB in memory. +443 pub fn max_tls_tickets(mut self, n: usize) -> Self { +444 self.max_tls_tickets = n; +445 self +446 } +447 +448 /// Install hooks onto the endpoint. +449 /// +450 /// Endpoint hooks intercept the connection establishment process of an [`Endpoint`]. +451 /// +452 /// You can install multiple [`EndpointHooks`] by calling this function multiple times. +453 /// Order matters: hooks are invoked in the order they were installed onto the endpoint +454 /// builder. Once a hook returns reject, further processing +455 /// is aborted and other hooks won't be invoked. +456 /// +457 /// See [`EndpointHooks`] for details on the possible interception points in the connection lifecycle. +458 pub fn hooks(mut self, hooks: impl EndpointHooks + 'static) -> Self { +459 self.hooks.push(hooks); +460 self +461 } +462} +463 +464/// Configuration for a [`quinn::Endpoint`] that cannot be changed at runtime. +465#[derive(Debug)] +466struct StaticConfig { +467 tls_config: tls::TlsConfig, +468 transport_config: QuicTransportConfig, +469 keylog: bool, +470} +471 +472impl StaticConfig { +473 /// Create a [`ServerConfig`] with the specified ALPN protocols. +474 fn create_server_config(&self, alpn_protocols: Vec<Vec<u8>>) -> quinn_proto::ServerConfig { +475 let quic_server_config = self +476 .tls_config +477 .make_server_config(alpn_protocols, self.keylog); +478 let mut inner = quinn::ServerConfig::with_crypto(Arc::new(quic_server_config)); +479 inner.transport_config(self.transport_config.to_inner_arc()); +480 inner +481 } +482} +483 +484/// Controls an iroh endpoint, establishing connections with other endpoints. +485/// +486/// This is the main API interface to create connections to, and accept connections from +487/// other iroh endpoints. 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 endpoints, +493/// while still remaining independent connections. This will result in more optimal network +494/// behaviour. 495/// -496/// Once an endpoint exists, new connections are typically created using the -497/// [`Endpoint::connect`] and [`Endpoint::accept`] methods. Once established, the -498/// [`Connection`] gives access to most [QUIC] features. Individual streams to send data to -499/// the peer are created using the [`Connection::open_bi`], [`Connection::accept_bi`], -500/// [`Connection::open_uni`] and [`Connection::open_bi`] functions. -501/// -502/// Note that due to the light-weight properties of streams a stream will only be accepted -503/// once the initiating peer has sent some data on it. +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/// [QUIC]: https://quicwg.org -506#[derive(Clone, Debug)] -507pub struct Endpoint { -508 /// Handle to the magicsocket/actor -509 pub(crate) msock: Handle, -510 /// Configuration structs for quinn, holds the transport config, certificate setup, secret key etc. -511 static_config: Arc<StaticConfig>, -512} -513 -514#[allow(missing_docs)] -515#[stack_error(derive, add_meta, from_sources)] -516#[non_exhaustive] -517#[allow(private_interfaces)] -518pub enum ConnectWithOptsError { -519 #[error("Connecting to ourself is not supported")] -520 SelfConnect, -521 #[error("No addressing information available")] -522 NoAddress { source: DiscoveryError }, -523 #[error("Unable to connect to remote")] -524 Quinn { -525 #[error(std_err)] -526 source: quinn_proto::ConnectError, -527 }, -528 #[error("Internal consistency error")] -529 InternalConsistencyError { -530 /// Private source type, cannot be created publicly. -531 source: RemoteStateActorStoppedError, -532 }, -533 #[error("Connection was rejected locally")] -534 LocallyRejected, -535} -536 -537#[allow(missing_docs)] -538#[stack_error(derive, add_meta, from_sources)] -539#[non_exhaustive] -540pub enum ConnectError { -541 #[error(transparent)] -542 Connect { source: ConnectWithOptsError }, -543 #[error(transparent)] -544 Connecting { source: ConnectingError }, -545 #[error(transparent)] -546 Connection { -547 #[error(std_err)] -548 source: ConnectionError, -549 }, -550} -551 -552#[allow(missing_docs)] -553#[stack_error(derive, add_meta, from_sources)] -554#[non_exhaustive] -555pub enum BindError { -556 #[error(transparent)] -557 MagicSpawn { -558 source: magicsock::CreateHandleError, -559 }, -560 #[error(transparent)] -561 Discovery { -562 source: crate::discovery::IntoDiscoveryError, -563 }, -564} -565 -566impl Endpoint { -567 // The ordering of public methods is reflected directly in the documentation. This is -568 // roughly ordered by what is most commonly needed by users, but grouped in similar -569 // items. -570 -571 // # Methods relating to construction. -572 -573 /// Returns the builder for an [`Endpoint`], with a production configuration. -574 /// -575 /// This uses the [`presets::N0`] as the configuration. -576 pub fn builder() -> Builder { -577 Builder::new(presets::N0) -578 } -579 -580 /// Returns the builder for an [`Endpoint`], with an empty configuration. -581 /// -582 /// See [`Builder::empty`] for details. -583 pub fn empty_builder(relay_mode: RelayMode) -> Builder { -584 Builder::empty(relay_mode) -585 } -586 -587 /// Constructs a default [`Endpoint`] and binds it immediately. -588 /// -589 /// Uses the [`presets::N0`] as configuration. -590 pub async fn bind() -> Result<Self, BindError> { -591 Self::builder().bind().await -592 } -593 -594 /// Sets the list of accepted ALPN protocols. -595 /// -596 /// This will only affect new incoming connections. -597 /// Note that this *overrides* the current list of ALPNs. -598 pub fn set_alpns(&self, alpns: Vec<Vec<u8>>) { -599 let server_config = self.static_config.create_server_config(alpns); -600 self.msock.endpoint().set_server_config(Some(server_config)); -601 } -602 -603 /// Adds the provided configuration to the [`RelayMap`]. -604 /// -605 /// Replacing and returning any existing configuration for [`RelayUrl`]. -606 pub async fn insert_relay( -607 &self, -608 relay: RelayUrl, -609 config: Arc<RelayConfig>, -610 ) -> Option<Arc<RelayConfig>> { -611 self.msock.insert_relay(relay, config).await -612 } -613 -614 /// Removes the configuration from the [`RelayMap`] for the provided [`RelayUrl`]. -615 /// -616 /// Returns any existing configuration. -617 pub async fn remove_relay(&self, relay: &RelayUrl) -> Option<Arc<RelayConfig>> { -618 self.msock.remove_relay(relay).await -619 } -620 -621 // # Methods for establishing connectivity. -622 -623 /// Connects to a remote [`Endpoint`]. -624 /// -625 /// A value that can be converted into an [`EndpointAddr`] is required. This can be either an -626 /// [`EndpointAddr`] or an [`EndpointId`]. +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 pub(crate) msock: Handle, +513 /// Configuration structs for quinn, holds the transport config, certificate setup, secret key etc. +514 static_config: Arc<StaticConfig>, +515} +516 +517#[allow(missing_docs)] +518#[stack_error(derive, add_meta, from_sources)] +519#[non_exhaustive] +520#[allow(private_interfaces)] +521pub enum ConnectWithOptsError { +522 #[error("Connecting to ourself is not supported")] +523 SelfConnect, +524 #[error("No addressing information available")] +525 NoAddress { source: DiscoveryError }, +526 #[error("Unable to connect to remote")] +527 Quinn { +528 #[error(std_err)] +529 source: QuicConnectError, +530 }, +531 #[error("Internal consistency error")] +532 InternalConsistencyError { +533 /// Private source type, cannot be created publicly. +534 source: RemoteStateActorStoppedError, +535 }, +536 #[error("Connection was rejected locally")] +537 LocallyRejected, +538} +539 +540#[allow(missing_docs)] +541#[stack_error(derive, add_meta, from_sources)] +542#[non_exhaustive] +543pub enum ConnectError { +544 #[error(transparent)] +545 Connect { source: ConnectWithOptsError }, +546 #[error(transparent)] +547 Connecting { source: ConnectingError }, +548 #[error(transparent)] +549 Connection { +550 #[error(std_err)] +551 source: ConnectionError, +552 }, +553} +554 +555#[allow(missing_docs)] +556#[stack_error(derive, add_meta, from_sources)] +557#[non_exhaustive] +558pub enum BindError { +559 #[error(transparent)] +560 MagicSpawn { +561 source: magicsock::CreateHandleError, +562 }, +563 #[error(transparent)] +564 Discovery { +565 source: crate::discovery::IntoDiscoveryError, +566 }, +567} +568 +569impl Endpoint { +570 // The ordering of public methods is reflected directly in the documentation. This is +571 // roughly ordered by what is most commonly needed by users, but grouped in similar +572 // items. +573 +574 // # Methods relating to construction. +575 +576 /// Returns the builder for an [`Endpoint`], with a production configuration. +577 /// +578 /// This uses the [`presets::N0`] as the configuration. +579 pub fn builder() -> Builder { +580 Builder::new(presets::N0) +581 } +582 +583 /// Returns the builder for an [`Endpoint`], with an empty configuration. +584 /// +585 /// See [`Builder::empty`] for details. +586 pub fn empty_builder(relay_mode: RelayMode) -> Builder { +587 Builder::empty(relay_mode) +588 } +589 +590 /// Constructs a default [`Endpoint`] and binds it immediately. +591 /// +592 /// Uses the [`presets::N0`] as configuration. +593 pub async fn bind() -> Result<Self, BindError> { +594 Self::builder().bind().await +595 } +596 +597 /// Sets the list of accepted ALPN protocols. +598 /// +599 /// This will only affect new incoming connections. +600 /// Note that this *overrides* the current list of ALPNs. +601 pub fn set_alpns(&self, alpns: Vec<Vec<u8>>) { +602 let server_config = self.static_config.create_server_config(alpns); +603 self.msock.endpoint().set_server_config(Some(server_config)); +604 } +605 +606 /// Adds the provided configuration to the [`RelayMap`]. +607 /// +608 /// Replacing and returning any existing configuration for [`RelayUrl`]. +609 pub async fn insert_relay( +610 &self, +611 relay: RelayUrl, +612 config: Arc<RelayConfig>, +613 ) -> Option<Arc<RelayConfig>> { +614 self.msock.insert_relay(relay, config).await +615 } +616 +617 /// Removes the configuration from the [`RelayMap`] for the provided [`RelayUrl`]. +618 /// +619 /// Returns any existing configuration. +620 pub async fn remove_relay(&self, relay: &RelayUrl) -> Option<Arc<RelayConfig>> { +621 self.msock.remove_relay(relay).await +622 } +623 +624 // # Methods for establishing connectivity. +625 +626 /// Connects to a remote [`Endpoint`]. 627 /// -628 /// The [`EndpointAddr`] must contain the [`EndpointId`] to dial and may also contain a [`RelayUrl`] -629 /// and direct addresses. If direct addresses are provided, they will be used to try and -630 /// establish a direct connection without involving a relay server. -631 /// -632 /// If neither a [`RelayUrl`] or direct addresses are configured in the [`EndpointAddr`] it -633 /// may still be possible a connection can be established. This depends on which, if any, -634 /// [`crate::discovery::Discovery`] services were configured using [`Builder::discovery`]. The discovery -635 /// service will also be used if the remote endpoint is not reachable on the provided direct -636 /// addresses and there is no [`RelayUrl`]. -637 /// -638 /// If addresses or relay servers are neither provided nor can be discovered, the -639 /// connection attempt will fail with an error. +628 /// A value that can be converted into an [`EndpointAddr`] is required. This can be either an +629 /// [`EndpointAddr`] or an [`EndpointId`]. +630 /// +631 /// The [`EndpointAddr`] must contain the [`EndpointId`] to dial and may also contain a [`RelayUrl`] +632 /// and direct addresses. If direct addresses are provided, they will be used to try and +633 /// establish a direct connection without involving a relay server. +634 /// +635 /// If neither a [`RelayUrl`] or direct addresses are configured in the [`EndpointAddr`] it +636 /// may still be possible a connection can be established. This depends on which, if any, +637 /// [`crate::discovery::Discovery`] services were configured using [`Builder::discovery`]. The discovery +638 /// service will also be used if the remote endpoint is not reachable on the provided direct +639 /// addresses and there is no [`RelayUrl`]. 640 /// -641 /// The `alpn`, or application-level protocol identifier, is also required. The remote -642 /// endpoint must support this `alpn`, otherwise the connection attempt will fail with -643 /// an error. -644 /// -645 /// [`RelayUrl`]: crate::RelayUrl -646 pub async fn connect( -647 &self, -648 endpoint_addr: impl Into<EndpointAddr>, -649 alpn: &[u8], -650 ) -> Result<Connection, ConnectError> { -651 let endpoint_addr = endpoint_addr.into(); -652 let remote = endpoint_addr.id; -653 let connecting = self -654 .connect_with_opts(endpoint_addr, alpn, Default::default()) -655 .await?; -656 let conn = connecting.await?; -657 -658 debug!( -659 me = %self.id().fmt_short(), -660 remote = %remote.fmt_short(), -661 alpn = %String::from_utf8_lossy(alpn), -662 "Connection established." -663 ); -664 Ok(conn) -665 } -666 -667 /// Starts a connection attempt with a remote [`Endpoint`]. -668 /// -669 /// Like [`Endpoint::connect`] (see also its docs for general details), but allows for a more -670 /// advanced connection setup with more customization in two aspects: -671 /// 1. The returned future resolves to a [`Connecting`], which can be further processed into -672 /// a [`Connection`] by awaiting, or alternatively allows connecting with 0-RTT via -673 /// [`Connecting::into_0rtt`]. -674 /// **Note:** Please read the documentation for `into_0rtt` carefully to assess -675 /// security concerns. -676 /// 2. The [`TransportConfig`] for the connection can be modified via the provided -677 /// [`ConnectOptions`]. -678 /// **Note:** Please be aware that changing transport config settings may have adverse effects on -679 /// establishing and maintaining direct connections. Carefully test settings you use and -680 /// consider this currently as still rather experimental. -681 #[instrument(name = "connect", skip_all, fields( -682 me = %self.id().fmt_short(), -683 remote = tracing::field::Empty, -684 alpn = String::from_utf8_lossy(alpn).to_string(), -685 ))] -686 pub async fn connect_with_opts( -687 &self, -688 endpoint_addr: impl Into<EndpointAddr>, -689 alpn: &[u8], -690 options: ConnectOptions, -691 ) -> Result<Connecting, ConnectWithOptsError> { -692 let endpoint_addr: EndpointAddr = endpoint_addr.into(); -693 if let BeforeConnectOutcome::Reject = -694 self.msock.hooks.before_connect(&endpoint_addr, alpn).await -695 { -696 return Err(e!(ConnectWithOptsError::LocallyRejected)); -697 } -698 let endpoint_id = endpoint_addr.id; -699 -700 tracing::Span::current().record("remote", tracing::field::display(endpoint_id.fmt_short())); -701 -702 // Connecting to ourselves is not supported. -703 ensure!(endpoint_id != self.id(), ConnectWithOptsError::SelfConnect); +641 /// If addresses or relay servers are neither provided nor can be discovered, the +642 /// connection attempt will fail with an error. +643 /// +644 /// The `alpn`, or application-level protocol identifier, is also required. The remote +645 /// endpoint must support this `alpn`, otherwise the connection attempt will fail with +646 /// an error. +647 /// +648 /// [`RelayUrl`]: crate::RelayUrl +649 pub async fn connect( +650 &self, +651 endpoint_addr: impl Into<EndpointAddr>, +652 alpn: &[u8], +653 ) -> Result<Connection, ConnectError> { +654 let endpoint_addr = endpoint_addr.into(); +655 let remote = endpoint_addr.id; +656 let connecting = self +657 .connect_with_opts(endpoint_addr, alpn, Default::default()) +658 .await?; +659 let conn = connecting.await?; +660 +661 debug!( +662 me = %self.id().fmt_short(), +663 remote = %remote.fmt_short(), +664 alpn = %String::from_utf8_lossy(alpn), +665 "Connection established." +666 ); +667 Ok(conn) +668 } +669 +670 /// Starts a connection attempt with a remote [`Endpoint`]. +671 /// +672 /// Like [`Endpoint::connect`] (see also its docs for general details), but allows for a more +673 /// advanced connection setup with more customization in two aspects: +674 /// 1. The returned future resolves to a [`Connecting`], which can be further processed into +675 /// a [`Connection`] by awaiting, or alternatively allows connecting with 0-RTT via +676 /// [`Connecting::into_0rtt`]. +677 /// **Note:** Please read the documentation for `into_0rtt` carefully to assess +678 /// security concerns. +679 /// 2. The [`TransportConfig`] for the connection can be modified via the provided +680 /// [`ConnectOptions`]. +681 /// **Note:** Please be aware that changing transport config settings may have adverse effects on +682 /// establishing and maintaining direct connections. Carefully test settings you use and +683 /// consider this currently as still rather experimental. +684 #[instrument(name = "connect", skip_all, fields( +685 me = %self.id().fmt_short(), +686 remote = tracing::field::Empty, +687 alpn = String::from_utf8_lossy(alpn).to_string(), +688 ))] +689 pub async fn connect_with_opts( +690 &self, +691 endpoint_addr: impl Into<EndpointAddr>, +692 alpn: &[u8], +693 options: ConnectOptions, +694 ) -> Result<Connecting, ConnectWithOptsError> { +695 let endpoint_addr: EndpointAddr = endpoint_addr.into(); +696 if let BeforeConnectOutcome::Reject = +697 self.msock.hooks.before_connect(&endpoint_addr, alpn).await +698 { +699 return Err(e!(ConnectWithOptsError::LocallyRejected)); +700 } +701 let endpoint_id = endpoint_addr.id; +702 +703 tracing::Span::current().record("remote", tracing::field::display(endpoint_id.fmt_short())); 704 -705 trace!( -706 dst_endpoint_id = %endpoint_id.fmt_short(), -707 relay_url = ?endpoint_addr.relay_urls().next().cloned(), -708 ip_addresses = ?endpoint_addr.ip_addrs().cloned().collect::<Vec<_>>(), -709 "connecting", -710 ); -711 -712 let mapped_addr = self.msock.resolve_remote(endpoint_addr).await??; -713 -714 let transport_config = options -715 .transport_config -716 .map(|cfg| cfg.to_arc()) -717 .unwrap_or(self.static_config.transport_config.to_arc()); -718 -719 // Start connecting via quinn. This will time out after 10 seconds if no reachable -720 // address is available. +705 // Connecting to ourselves is not supported. +706 ensure!(endpoint_id != self.id(), ConnectWithOptsError::SelfConnect); +707 +708 trace!( +709 dst_endpoint_id = %endpoint_id.fmt_short(), +710 relay_url = ?endpoint_addr.relay_urls().next().cloned(), +711 ip_addresses = ?endpoint_addr.ip_addrs().cloned().collect::<Vec<_>>(), +712 "connecting", +713 ); +714 +715 let mapped_addr = self.msock.resolve_remote(endpoint_addr).await??; +716 +717 let transport_config = options +718 .transport_config +719 .map(|cfg| cfg.to_inner_arc()) +720 .unwrap_or(self.static_config.transport_config.to_inner_arc()); 721 -722 let client_config = { -723 let mut alpn_protocols = vec![alpn.to_vec()]; -724 alpn_protocols.extend(options.additional_alpns); -725 let quic_client_config = self -726 .static_config -727 .tls_config -728 .make_client_config(alpn_protocols, self.static_config.keylog); -729 let mut client_config = quinn::ClientConfig::new(Arc::new(quic_client_config)); -730 client_config.transport_config(transport_config.clone()); -731 client_config -732 }; -733 -734 let dest_addr = mapped_addr.private_socket_addr(); -735 let server_name = &tls::name::encode(endpoint_id); -736 let connect = self -737 .msock -738 .endpoint() -739 .connect_with(client_config, dest_addr, server_name)?; -740 -741 Ok(Connecting::new(connect, self.clone(), endpoint_id)) -742 } +722 // Start connecting via quinn. This will time out after 10 seconds if no reachable +723 // address is available. +724 +725 let client_config = { +726 let mut alpn_protocols = vec![alpn.to_vec()]; +727 alpn_protocols.extend(options.additional_alpns); +728 let quic_client_config = self +729 .static_config +730 .tls_config +731 .make_client_config(alpn_protocols, self.static_config.keylog); +732 let mut client_config = quinn::ClientConfig::new(Arc::new(quic_client_config)); +733 client_config.transport_config(transport_config.clone()); +734 client_config +735 }; +736 +737 let dest_addr = mapped_addr.private_socket_addr(); +738 let server_name = &tls::name::encode(endpoint_id); +739 let connect = self +740 .msock +741 .endpoint() +742 .connect_with(client_config, dest_addr, server_name)?; 743 -744 /// Accepts an incoming connection on the endpoint. -745 /// -746 /// Only connections with the ALPNs configured in [`Builder::alpns`] will be accepted. -747 /// If multiple ALPNs have been configured the ALPN can be inspected before accepting -748 /// the connection using [`Connecting::alpn`]. -749 /// -750 /// The returned future will yield `None` if the endpoint is closed by calling -751 /// [`Endpoint::close`]. -752 pub fn accept(&self) -> Accept<'_> { -753 Accept { -754 inner: self.msock.endpoint().accept(), -755 ep: self.clone(), -756 } -757 } -758 -759 // # Getter methods for properties of this Endpoint itself. -760 -761 /// Returns the secret_key of this endpoint. -762 pub fn secret_key(&self) -> &SecretKey { -763 &self.static_config.tls_config.secret_key -764 } -765 -766 /// Returns the endpoint id of this endpoint. -767 /// -768 /// This ID is the unique addressing information of this endpoint and other peers must know -769 /// it to be able to connect to this endpoint. -770 pub fn id(&self) -> EndpointId { -771 self.static_config.tls_config.secret_key.public() -772 } -773 -774 /// Returns the current [`EndpointAddr`]. -775 /// As long as the endpoint was able to bind to a network interface, some -776 /// local addresses will be available. -777 /// -778 /// The state of other fields depends on the state of networking and connectivity. -779 /// Use the [`Endpoint::online`] method to ensure that the endpoint is considered -780 /// "online" (has contacted a relay server) before calling this method, if you want -781 /// to ensure that the `EndpointAddr` will contain enough information to allow this endpoint -782 /// to be dialable by a remote endpoint over the internet. -783 /// -784 /// You can use the [`Endpoint::watch_addr`] method to get updates when the `EndpointAddr` -785 /// changes. -786 pub fn addr(&self) -> EndpointAddr { -787 self.watch_addr().get() -788 } -789 -790 /// Returns a [`Watcher`] for the current [`EndpointAddr`] for this endpoint. -791 /// -792 /// The observed [`EndpointAddr`] will have the current [`RelayUrl`] and direct addresses. -793 /// -794 /// ```no_run -795 /// # async fn wrapper() -> n0_error::Result<()> { -796 /// use iroh::{Endpoint, Watcher}; -797 /// -798 /// let endpoint = Endpoint::builder() -799 /// .alpns(vec![b"my-alpn".to_vec()]) -800 /// .bind() -801 /// .await?; -802 /// let endpoint_addr = endpoint.watch_addr().get(); -803 /// # let _ = endpoint_addr; -804 /// # Ok(()) -805 /// # } -806 /// ``` -807 /// -808 /// The [`Endpoint::online`] method can be used as a convenience method to -809 /// understand if the endpoint has ever been considered "online". But after -810 /// that initial call to [`Endpoint::online`], to understand if your -811 /// endpoint is no longer able to be connected to by endpoints outside -812 /// of the private or local network, watch for changes in it's [`EndpointAddr`]. -813 /// If there are no `addrs`in the [`EndpointAddr`], you may not be dialable by other endpoints -814 /// on the internet. -815 /// -816 /// -817 /// The `EndpointAddr` will change as: -818 /// - network conditions change -819 /// - the endpoint connects to a relay server -820 /// - the endpoint changes its preferred relay server -821 /// - more addresses are discovered for this endpoint -822 /// -823 /// [`RelayUrl`]: crate::RelayUrl -824 #[cfg(not(wasm_browser))] -825 pub fn watch_addr(&self) -> impl n0_watcher::Watcher<Value = EndpointAddr> + use<> { -826 let watch_addrs = self.msock.ip_addrs(); -827 let watch_relay = self.msock.home_relay(); -828 let endpoint_id = self.id(); -829 -830 watch_addrs.or(watch_relay).map(move |(addrs, relays)| { -831 EndpointAddr::from_parts( -832 endpoint_id, -833 relays -834 .into_iter() -835 .map(TransportAddr::Relay) -836 .chain(addrs.into_iter().map(|x| TransportAddr::Ip(x.addr))), -837 ) -838 }) -839 } -840 -841 /// Returns a [`Watcher`] for the current [`EndpointAddr`] for this endpoint. -842 /// -843 /// When compiled to Wasm, this function returns a watcher that initializes -844 /// with an [`EndpointAddr`] that only contains a relay URL, but no direct addresses, -845 /// as there are no APIs for directly using sockets in browsers. -846 #[cfg(wasm_browser)] -847 pub fn watch_addr(&self) -> impl n0_watcher::Watcher<Value = EndpointAddr> + use<> { -848 // In browsers, there will never be any direct addresses, so we wait -849 // for the home relay instead. This makes the `EndpointAddr` have *some* way -850 // of connecting to us. -851 let watch_relay = self.msock.home_relay(); -852 let endpoint_id = self.id(); -853 watch_relay.map(move |mut relays| { -854 EndpointAddr::from_parts(endpoint_id, relays.into_iter().map(TransportAddr::Relay)) -855 }) -856 } -857 -858 /// A convenience method that waits for the endpoint to be considered "online". -859 /// -860 /// This currently means at least one relay server was connected, -861 /// and at least one local IP address is available. -862 /// Event if no relays are configured, this will still wait for a relay connection. -863 /// -864 /// Once this has been resolved once, this will always immediately resolve. -865 /// -866 /// This has no timeout, so if that is needed, you need to wrap it in a -867 /// timeout. We recommend using a timeout close to -868 /// [`crate::net_report::TIMEOUT`], so you can be sure that at least one -869 /// [`crate::net_report::Report`] has been attempted. -870 /// -871 /// To understand if the endpoint has gone back "offline", -872 /// you must use the [`Endpoint::watch_addr`] method, to -873 /// get information on the current relay and direct address information. -874 pub async fn online(&self) { -875 self.msock.home_relay().initialized().await; -876 } -877 -878 /// Returns a [`Watcher`] for any net-reports run from this [`Endpoint`]. -879 /// -880 /// A `net-report` checks the network conditions of the [`Endpoint`], such as -881 /// whether it is connected to the internet via Ipv4 and/or Ipv6, its NAT -882 /// status, its latency to the relay servers, and its public addresses. -883 /// -884 /// The [`Endpoint`] continuously runs `net-reports` to monitor if network -885 /// conditions have changed. This [`Watcher`] will return the latest result -886 /// of the `net-report`. -887 /// -888 /// When issuing the first call to this method the first report might -889 /// still be underway, in this case the [`Watcher`] might not be initialized -890 /// with [`Some`] value yet. Once the net-report has been successfully -891 /// run, the [`Watcher`] will always return [`Some`] report immediately, which -892 /// is the most recently run `net-report`. -893 /// -894 /// # Examples -895 /// -896 /// To get the first report use [`Watcher::initialized`]: -897 /// ```no_run -898 /// use iroh::{Endpoint, Watcher as _}; -899 /// -900 /// # let rt = tokio::runtime::Builder::new_current_thread().enable_all().build().unwrap(); -901 /// # rt.block_on(async move { -902 /// let ep = Endpoint::bind().await.unwrap(); -903 /// let _report = ep.net_report().initialized().await; -904 /// # }); -905 /// ``` -906 #[doc(hidden)] -907 pub fn net_report(&self) -> impl Watcher<Value = Option<Report>> + use<> { -908 self.msock.net_report() -909 } -910 -911 /// Returns the local socket addresses on which the underlying sockets are bound. -912 /// -913 /// The [`Endpoint`] always binds on an IPv4 address and also tries to bind on an IPv6 -914 /// address if available. -915 pub fn bound_sockets(&self) -> Vec<SocketAddr> { -916 self.msock -917 .local_addr() -918 .into_iter() -919 .filter_map(|addr| addr.into_socket_addr()) -920 .collect() -921 } -922 -923 // # Methods for less common getters. -924 // -925 // Partially they return things passed into the builder. -926 -927 /// Returns the DNS resolver used in this [`Endpoint`]. -928 /// -929 /// See [`Builder::dns_resolver`]. -930 #[cfg(not(wasm_browser))] -931 pub fn dns_resolver(&self) -> &DnsResolver { -932 self.msock.dns_resolver() -933 } -934 -935 /// Returns the discovery mechanism, if configured. -936 /// -937 /// See [`Builder::discovery`]. -938 pub fn discovery(&self) -> &ConcurrentDiscovery { -939 self.msock.discovery() -940 } -941 -942 /// Returns metrics collected for this endpoint. -943 /// -944 /// The endpoint internally collects various metrics about its operation. -945 /// The returned [`EndpointMetrics`] struct contains all of these metrics. +744 Ok(Connecting::new(connect, self.clone(), endpoint_id)) +745 } +746 +747 /// Accepts an incoming connection on the endpoint. +748 /// +749 /// Only connections with the ALPNs configured in [`Builder::alpns`] will be accepted. +750 /// If multiple ALPNs have been configured the ALPN can be inspected before accepting +751 /// the connection using [`Connecting::alpn`]. +752 /// +753 /// The returned future will yield `None` if the endpoint is closed by calling +754 /// [`Endpoint::close`]. +755 pub fn accept(&self) -> Accept<'_> { +756 Accept { +757 inner: self.msock.endpoint().accept(), +758 ep: self.clone(), +759 } +760 } +761 +762 // # Getter methods for properties of this Endpoint itself. +763 +764 /// Returns the secret_key of this endpoint. +765 pub fn secret_key(&self) -> &SecretKey { +766 &self.static_config.tls_config.secret_key +767 } +768 +769 /// Returns the endpoint id of this endpoint. +770 /// +771 /// This ID is the unique addressing information of this endpoint and other peers must know +772 /// it to be able to connect to this endpoint. +773 pub fn id(&self) -> EndpointId { +774 self.static_config.tls_config.secret_key.public() +775 } +776 +777 /// Returns the current [`EndpointAddr`]. +778 /// As long as the endpoint was able to bind to a network interface, some +779 /// local addresses will be available. +780 /// +781 /// The state of other fields depends on the state of networking and connectivity. +782 /// Use the [`Endpoint::online`] method to ensure that the endpoint is considered +783 /// "online" (has contacted a relay server) before calling this method, if you want +784 /// to ensure that the `EndpointAddr` will contain enough information to allow this endpoint +785 /// to be dialable by a remote endpoint over the internet. +786 /// +787 /// You can use the [`Endpoint::watch_addr`] method to get updates when the `EndpointAddr` +788 /// changes. +789 pub fn addr(&self) -> EndpointAddr { +790 self.watch_addr().get() +791 } +792 +793 /// Returns a [`Watcher`] for the current [`EndpointAddr`] for this endpoint. +794 /// +795 /// The observed [`EndpointAddr`] will have the current [`RelayUrl`] and direct addresses. +796 /// +797 /// ```no_run +798 /// # async fn wrapper() -> n0_error::Result<()> { +799 /// use iroh::{Endpoint, Watcher}; +800 /// +801 /// let endpoint = Endpoint::builder() +802 /// .alpns(vec![b"my-alpn".to_vec()]) +803 /// .bind() +804 /// .await?; +805 /// let endpoint_addr = endpoint.watch_addr().get(); +806 /// # let _ = endpoint_addr; +807 /// # Ok(()) +808 /// # } +809 /// ``` +810 /// +811 /// The [`Endpoint::online`] method can be used as a convenience method to +812 /// understand if the endpoint has ever been considered "online". But after +813 /// that initial call to [`Endpoint::online`], to understand if your +814 /// endpoint is no longer able to be connected to by endpoints outside +815 /// of the private or local network, watch for changes in it's [`EndpointAddr`]. +816 /// If there are no `addrs`in the [`EndpointAddr`], you may not be dialable by other endpoints +817 /// on the internet. +818 /// +819 /// +820 /// The `EndpointAddr` will change as: +821 /// - network conditions change +822 /// - the endpoint connects to a relay server +823 /// - the endpoint changes its preferred relay server +824 /// - more addresses are discovered for this endpoint +825 /// +826 /// [`RelayUrl`]: crate::RelayUrl +827 #[cfg(not(wasm_browser))] +828 pub fn watch_addr(&self) -> impl n0_watcher::Watcher<Value = EndpointAddr> + use<> { +829 let watch_addrs = self.msock.ip_addrs(); +830 let watch_relay = self.msock.home_relay(); +831 let endpoint_id = self.id(); +832 +833 watch_addrs.or(watch_relay).map(move |(addrs, relays)| { +834 EndpointAddr::from_parts( +835 endpoint_id, +836 relays +837 .into_iter() +838 .map(TransportAddr::Relay) +839 .chain(addrs.into_iter().map(|x| TransportAddr::Ip(x.addr))), +840 ) +841 }) +842 } +843 +844 /// Returns a [`Watcher`] for the current [`EndpointAddr`] for this endpoint. +845 /// +846 /// When compiled to Wasm, this function returns a watcher that initializes +847 /// with an [`EndpointAddr`] that only contains a relay URL, but no direct addresses, +848 /// as there are no APIs for directly using sockets in browsers. +849 #[cfg(wasm_browser)] +850 pub fn watch_addr(&self) -> impl n0_watcher::Watcher<Value = EndpointAddr> + use<> { +851 // In browsers, there will never be any direct addresses, so we wait +852 // for the home relay instead. This makes the `EndpointAddr` have *some* way +853 // of connecting to us. +854 let watch_relay = self.msock.home_relay(); +855 let endpoint_id = self.id(); +856 watch_relay.map(move |mut relays| { +857 EndpointAddr::from_parts(endpoint_id, relays.into_iter().map(TransportAddr::Relay)) +858 }) +859 } +860 +861 /// A convenience method that waits for the endpoint to be considered "online". +862 /// +863 /// This currently means at least one relay server was connected, +864 /// and at least one local IP address is available. +865 /// Event if no relays are configured, this will still wait for a relay connection. +866 /// +867 /// Once this has been resolved once, this will always immediately resolve. +868 /// +869 /// This has no timeout, so if that is needed, you need to wrap it in a +870 /// timeout. We recommend using a timeout close to +871 /// [`crate::NET_REPORT_TIMEOUT`]s, so you can be sure that at least one +872 /// [`crate::NetReport`] has been attempted. +873 /// +874 /// To understand if the endpoint has gone back "offline", +875 /// you must use the [`Endpoint::watch_addr`] method, to +876 /// get information on the current relay and direct address information. +877 pub async fn online(&self) { +878 self.msock.home_relay().initialized().await; +879 } +880 +881 /// Returns a [`Watcher`] for any net-reports run from this [`Endpoint`]. +882 /// +883 /// A `net-report` checks the network conditions of the [`Endpoint`], such as +884 /// whether it is connected to the internet via Ipv4 and/or Ipv6, its NAT +885 /// status, its latency to the relay servers, and its public addresses. +886 /// +887 /// The [`Endpoint`] continuously runs `net-reports` to monitor if network +888 /// conditions have changed. This [`Watcher`] will return the latest result +889 /// of the `net-report`. +890 /// +891 /// When issuing the first call to this method the first report might +892 /// still be underway, in this case the [`Watcher`] might not be initialized +893 /// with [`Some`] value yet. Once the net-report has been successfully +894 /// run, the [`Watcher`] will always return [`Some`] report immediately, which +895 /// is the most recently run `net-report`. +896 /// +897 /// # Examples +898 /// +899 /// To get the first report use [`Watcher::initialized`]: +900 /// ```no_run +901 /// use iroh::{Endpoint, Watcher as _}; +902 /// +903 /// # let rt = tokio::runtime::Builder::new_current_thread().enable_all().build().unwrap(); +904 /// # rt.block_on(async move { +905 /// let ep = Endpoint::bind().await.unwrap(); +906 /// let _report = ep.net_report().initialized().await; +907 /// # }); +908 /// ``` +909 #[doc(hidden)] +910 pub fn net_report(&self) -> impl Watcher<Value = Option<NetReport>> + use<> { +911 self.msock.net_report() +912 } +913 +914 /// Returns the local socket addresses on which the underlying sockets are bound. +915 /// +916 /// The [`Endpoint`] always binds on an IPv4 address and also tries to bind on an IPv6 +917 /// address if available. +918 pub fn bound_sockets(&self) -> Vec<SocketAddr> { +919 self.msock +920 .local_addr() +921 .into_iter() +922 .filter_map(|addr| addr.into_socket_addr()) +923 .collect() +924 } +925 +926 // # Methods for less common getters. +927 // +928 // Partially they return things passed into the builder. +929 +930 /// Returns the DNS resolver used in this [`Endpoint`]. +931 /// +932 /// See [`Builder::dns_resolver`]. +933 #[cfg(not(wasm_browser))] +934 pub fn dns_resolver(&self) -> &DnsResolver { +935 self.msock.dns_resolver() +936 } +937 +938 /// Returns the discovery mechanism, if configured. +939 /// +940 /// See [`Builder::discovery`]. +941 pub fn discovery(&self) -> &ConcurrentDiscovery { +942 self.msock.discovery() +943 } +944 +945 /// Returns metrics collected for this endpoint. 946 /// -947 /// You can access individual metrics directly by using the public fields: -948 /// ```rust -949 /// # use std::collections::BTreeMap; -950 /// # use iroh::endpoint::Endpoint; -951 /// # async fn wrapper() -> n0_error::Result<()> { -952 /// let endpoint = Endpoint::bind().await?; -953 /// assert_eq!(endpoint.metrics().magicsock.recv_datagrams.get(), 0); -954 /// # Ok(()) -955 /// # } -956 /// ``` -957 /// -958 /// [`EndpointMetrics`] implements [`MetricsGroupSet`], and each field -959 /// implements [`MetricsGroup`]. These traits provide methods to iterate over -960 /// the groups in the set, and over the individual metrics in each group, without having -961 /// to access each field manually. With these methods, it is straightforward to collect -962 /// all metrics into a map or push their values to a metrics collector. -963 /// -964 /// For example, the following snippet collects all metrics into a map: -965 /// ```rust -966 /// # use std::collections::BTreeMap; -967 /// # use iroh_metrics::{Metric, MetricsGroup, MetricValue, MetricsGroupSet}; -968 /// # use iroh::endpoint::Endpoint; -969 /// # async fn wrapper() -> n0_error::Result<()> { -970 /// let endpoint = Endpoint::bind().await?; -971 /// let metrics: BTreeMap<String, MetricValue> = endpoint -972 /// .metrics() -973 /// .iter() -974 /// .map(|(group, metric)| { -975 /// let name = [group, metric.name()].join(":"); -976 /// (name, metric.value()) -977 /// }) -978 /// .collect(); -979 /// -980 /// assert_eq!(metrics["magicsock:recv_datagrams"], MetricValue::Counter(0)); -981 /// # Ok(()) -982 /// # } -983 /// ``` -984 /// -985 /// The metrics can also be encoded into the OpenMetrics text format, as used by Prometheus. -986 /// To do so, use the [`iroh_metrics::Registry`], add the endpoint metrics to the -987 /// registry with [`Registry::register_all`], and encode the metrics to a string with -988 /// [`encode_openmetrics_to_string`]: -989 /// ```rust -990 /// # use iroh_metrics::{Registry, MetricsSource}; -991 /// # use iroh::endpoint::Endpoint; -992 /// # async fn wrapper() -> n0_error::Result<()> { -993 /// let endpoint = Endpoint::bind().await?; -994 /// let mut registry = Registry::default(); -995 /// registry.register_all(endpoint.metrics()); -996 /// let s = registry.encode_openmetrics_to_string()?; -997 /// assert!(s.contains(r#"TYPE magicsock_recv_datagrams counter"#)); -998 /// assert!(s.contains(r#"magicsock_recv_datagrams_total 0"#)); -999 /// # Ok(()) -1000 /// # } -1001 /// ``` -1002 /// -1003 /// Through a registry, you can also add labels or prefixes to metrics with -1004 /// [`Registry::sub_registry_with_label`] or [`Registry::sub_registry_with_prefix`]. -1005 /// Furthermore, [`iroh_metrics::service`] provides functions to easily start services -1006 /// to serve the metrics with a HTTP server, dump them to a file, or push them -1007 /// to a Prometheus gateway. -1008 /// -1009 /// For example, the following snippet launches an HTTP server that serves the metrics in the -1010 /// OpenMetrics text format: -1011 /// ```no_run -1012 /// # use std::{sync::{Arc, RwLock}, time::Duration}; -1013 /// # use iroh_metrics::{Registry, MetricsSource}; -1014 /// # use iroh::endpoint::Endpoint; -1015 /// # use n0_error::{StackResultExt, StdResultExt}; -1016 /// # async fn wrapper() -> n0_error::Result<()> { -1017 /// // Create a registry, wrapped in a read-write lock so that we can register and serve -1018 /// // the metrics independently. -1019 /// let registry = Arc::new(RwLock::new(Registry::default())); -1020 /// // Spawn a task to serve the metrics on an OpenMetrics HTTP endpoint. -1021 /// let metrics_task = tokio::task::spawn({ -1022 /// let registry = registry.clone(); -1023 /// async move { -1024 /// let addr = "0.0.0.0:9100".parse().unwrap(); -1025 /// iroh_metrics::service::start_metrics_server(addr, registry).await -1026 /// } -1027 /// }); -1028 /// -1029 /// // Spawn an endpoint and add the metrics to the registry. -1030 /// let endpoint = Endpoint::bind().await?; -1031 /// registry.write().unwrap().register_all(endpoint.metrics()); -1032 /// -1033 /// // Wait for the metrics server to bind, then fetch the metrics via HTTP. -1034 /// tokio::time::sleep(Duration::from_millis(500)); -1035 /// let res = reqwest::get("http://localhost:9100/metrics") -1036 /// .await -1037 /// .std_context("get")? -1038 /// .text() +947 /// The endpoint internally collects various metrics about its operation. +948 /// The returned [`EndpointMetrics`] struct contains all of these metrics. +949 /// +950 /// You can access individual metrics directly by using the public fields: +951 /// ```rust +952 /// # use std::collections::BTreeMap; +953 /// # use iroh::endpoint::Endpoint; +954 /// # async fn wrapper() -> n0_error::Result<()> { +955 /// let endpoint = Endpoint::bind().await?; +956 /// assert_eq!(endpoint.metrics().magicsock.recv_datagrams.get(), 0); +957 /// # Ok(()) +958 /// # } +959 /// ``` +960 /// +961 /// [`EndpointMetrics`] implements [`MetricsGroupSet`], and each field +962 /// implements [`MetricsGroup`]. These traits provide methods to iterate over +963 /// the groups in the set, and over the individual metrics in each group, without having +964 /// to access each field manually. With these methods, it is straightforward to collect +965 /// all metrics into a map or push their values to a metrics collector. +966 /// +967 /// For example, the following snippet collects all metrics into a map: +968 /// ```rust +969 /// # use std::collections::BTreeMap; +970 /// # use iroh_metrics::{Metric, MetricsGroup, MetricValue, MetricsGroupSet}; +971 /// # use iroh::endpoint::Endpoint; +972 /// # async fn wrapper() -> n0_error::Result<()> { +973 /// let endpoint = Endpoint::bind().await?; +974 /// let metrics: BTreeMap<String, MetricValue> = endpoint +975 /// .metrics() +976 /// .iter() +977 /// .map(|(group, metric)| { +978 /// let name = [group, metric.name()].join(":"); +979 /// (name, metric.value()) +980 /// }) +981 /// .collect(); +982 /// +983 /// assert_eq!(metrics["magicsock:recv_datagrams"], MetricValue::Counter(0)); +984 /// # Ok(()) +985 /// # } +986 /// ``` +987 /// +988 /// The metrics can also be encoded into the OpenMetrics text format, as used by Prometheus. +989 /// To do so, use the [`iroh_metrics::Registry`], add the endpoint metrics to the +990 /// registry with [`Registry::register_all`], and encode the metrics to a string with +991 /// [`encode_openmetrics_to_string`]: +992 /// ```rust +993 /// # use iroh_metrics::{Registry, MetricsSource}; +994 /// # use iroh::endpoint::Endpoint; +995 /// # async fn wrapper() -> n0_error::Result<()> { +996 /// let endpoint = Endpoint::bind().await?; +997 /// let mut registry = Registry::default(); +998 /// registry.register_all(endpoint.metrics()); +999 /// let s = registry.encode_openmetrics_to_string()?; +1000 /// assert!(s.contains(r#"TYPE magicsock_recv_datagrams counter"#)); +1001 /// assert!(s.contains(r#"magicsock_recv_datagrams_total 0"#)); +1002 /// # Ok(()) +1003 /// # } +1004 /// ``` +1005 /// +1006 /// Through a registry, you can also add labels or prefixes to metrics with +1007 /// [`Registry::sub_registry_with_label`] or [`Registry::sub_registry_with_prefix`]. +1008 /// Furthermore, [`iroh_metrics::service`] provides functions to easily start services +1009 /// to serve the metrics with a HTTP server, dump them to a file, or push them +1010 /// to a Prometheus gateway. +1011 /// +1012 /// For example, the following snippet launches an HTTP server that serves the metrics in the +1013 /// OpenMetrics text format: +1014 /// ```no_run +1015 /// # use std::{sync::{Arc, RwLock}, time::Duration}; +1016 /// # use iroh_metrics::{Registry, MetricsSource}; +1017 /// # use iroh::endpoint::Endpoint; +1018 /// # use n0_error::{StackResultExt, StdResultExt}; +1019 /// # async fn wrapper() -> n0_error::Result<()> { +1020 /// // Create a registry, wrapped in a read-write lock so that we can register and serve +1021 /// // the metrics independently. +1022 /// let registry = Arc::new(RwLock::new(Registry::default())); +1023 /// // Spawn a task to serve the metrics on an OpenMetrics HTTP endpoint. +1024 /// let metrics_task = tokio::task::spawn({ +1025 /// let registry = registry.clone(); +1026 /// async move { +1027 /// let addr = "0.0.0.0:9100".parse().unwrap(); +1028 /// iroh_metrics::service::start_metrics_server(addr, registry).await +1029 /// } +1030 /// }); +1031 /// +1032 /// // Spawn an endpoint and add the metrics to the registry. +1033 /// let endpoint = Endpoint::bind().await?; +1034 /// registry.write().unwrap().register_all(endpoint.metrics()); +1035 /// +1036 /// // Wait for the metrics server to bind, then fetch the metrics via HTTP. +1037 /// tokio::time::sleep(Duration::from_millis(500)); +1038 /// let res = reqwest::get("http://localhost:9100/metrics") 1039 /// .await -1040 /// .std_context("text")?; -1041 /// -1042 /// assert!(res.contains(r#"TYPE magicsock_recv_datagrams counter"#)); -1043 /// assert!(res.contains(r#"magicsock_recv_datagrams_total 0"#)); -1044 /// # metrics_task.abort(); -1045 /// # Ok(()) -1046 /// # } -1047 /// ``` -1048 /// -1049 /// [`Registry`]: iroh_metrics::Registry -1050 /// [`Registry::register_all`]: iroh_metrics::Registry::register_all -1051 /// [`Registry::sub_registry_with_label`]: iroh_metrics::Registry::sub_registry_with_label -1052 /// [`Registry::sub_registry_with_prefix`]: iroh_metrics::Registry::sub_registry_with_prefix -1053 /// [`encode_openmetrics_to_string`]: iroh_metrics::MetricsSource::encode_openmetrics_to_string -1054 /// [`MetricsGroup`]: iroh_metrics::MetricsGroup -1055 /// [`MetricsGroupSet`]: iroh_metrics::MetricsGroupSet -1056 #[cfg(feature = "metrics")] -1057 pub fn metrics(&self) -> &EndpointMetrics { -1058 &self.msock.metrics -1059 } -1060 -1061 // # Methods for less common state updates. -1062 -1063 /// Notifies the system of potential network changes. -1064 /// -1065 /// On many systems iroh is able to detect network changes by itself, however -1066 /// some systems like android do not expose this functionality to native code. -1067 /// Android does however provide this functionality to Java code. This -1068 /// function allows for notifying iroh of any potential network changes like -1069 /// this. -1070 /// -1071 /// Even when the network did not change, or iroh was already able to detect -1072 /// the network change itself, there is no harm in calling this function. -1073 pub async fn network_change(&self) { -1074 self.msock.network_change().await; -1075 } -1076 -1077 // # Methods to update internal state. -1078 -1079 /// Sets the initial user-defined data to be published in discovery services for this endpoint. -1080 /// -1081 /// If the user-defined data passed to this function is different to the previous one, -1082 /// the endpoint will republish its endpoint info to the configured discovery services. -1083 /// -1084 /// See also [`Builder::user_data_for_discovery`] for setting an initial value when -1085 /// building the endpoint. -1086 pub fn set_user_data_for_discovery(&self, user_data: Option<UserData>) { -1087 self.msock.set_user_data_for_discovery(user_data); -1088 } -1089 -1090 // # Methods for terminating the endpoint. +1040 /// .std_context("get")? +1041 /// .text() +1042 /// .await +1043 /// .std_context("text")?; +1044 /// +1045 /// assert!(res.contains(r#"TYPE magicsock_recv_datagrams counter"#)); +1046 /// assert!(res.contains(r#"magicsock_recv_datagrams_total 0"#)); +1047 /// # metrics_task.abort(); +1048 /// # Ok(()) +1049 /// # } +1050 /// ``` +1051 /// +1052 /// [`Registry`]: iroh_metrics::Registry +1053 /// [`Registry::register_all`]: iroh_metrics::Registry::register_all +1054 /// [`Registry::sub_registry_with_label`]: iroh_metrics::Registry::sub_registry_with_label +1055 /// [`Registry::sub_registry_with_prefix`]: iroh_metrics::Registry::sub_registry_with_prefix +1056 /// [`encode_openmetrics_to_string`]: iroh_metrics::MetricsSource::encode_openmetrics_to_string +1057 /// [`MetricsGroup`]: iroh_metrics::MetricsGroup +1058 /// [`MetricsGroupSet`]: iroh_metrics::MetricsGroupSet +1059 #[cfg(feature = "metrics")] +1060 pub fn metrics(&self) -> &EndpointMetrics { +1061 &self.msock.metrics +1062 } +1063 +1064 /// Returns addressing information about a recently used remote endpoint. +1065 /// +1066 /// The returned [`RemoteInfo`] contains a list of all transport addresses for the remote +1067 /// that we know about. This is a snapshot in time and not a watcher. +1068 /// +1069 /// Returns `None` if the endpoint doesn't have information about the remote. +1070 /// When remote endpoints are no longer used, our endpoint will keep information around +1071 /// for a little while, and then drop it. Afterwards, this will return `None`. +1072 pub async fn remote_info(&self, endpoint_id: EndpointId) -> Option<RemoteInfo> { +1073 self.msock.remote_info(endpoint_id).await +1074 } +1075 +1076 // # Methods for less common state updates. +1077 +1078 /// Notifies the system of potential network changes. +1079 /// +1080 /// On many systems iroh is able to detect network changes by itself, however +1081 /// some systems like android do not expose this functionality to native code. +1082 /// Android does however provide this functionality to Java code. This +1083 /// function allows for notifying iroh of any potential network changes like +1084 /// this. +1085 /// +1086 /// Even when the network did not change, or iroh was already able to detect +1087 /// the network change itself, there is no harm in calling this function. +1088 pub async fn network_change(&self) { +1089 self.msock.network_change().await; +1090 } 1091 -1092 /// Closes the QUIC endpoint and the magic socket. -1093 /// -1094 /// This will close any remaining open [`Connection`]s with an error code -1095 /// of `0` and an empty reason. Though it is best practice to close those -1096 /// explicitly before with a custom error code and reason. -1097 /// -1098 /// It will then make a best effort to wait for all close notifications to be -1099 /// acknowledged by the peers, re-transmitting them if needed. This ensures the -1100 /// peers are aware of the closed connections instead of having to wait for a timeout -1101 /// on the connection. Once all connections are closed or timed out, the future -1102 /// finishes. -1103 /// -1104 /// The maximum time-out that this future will wait for depends on QUIC transport -1105 /// configurations of non-drained connections at the time of calling, and their current -1106 /// estimates of round trip time. With default parameters and a conservative estimate -1107 /// of round trip time, this call's future should take 3 seconds to resolve in cases of -1108 /// bad connectivity or failed connections. In the usual case, this call's future should -1109 /// return much more quickly. -1110 /// -1111 /// It is highly recommended you *do* wait for this close call to finish, if possible. -1112 /// Not doing so will make connections that were still open while closing the endpoint -1113 /// time out on the remote end. Thus remote ends will assume connections to have failed -1114 /// even if all application data was transmitted successfully. -1115 /// -1116 /// Note: Someone used to closing TCP sockets might wonder why it is necessary to wait -1117 /// for timeouts when closing QUIC endpoints, while they don't have to do this for TCP -1118 /// sockets. This is due to QUIC and its acknowledgments being implemented in user-land, -1119 /// while TCP sockets usually get closed and drained by the operating system in the -1120 /// kernel during the "Time-Wait" period of the TCP socket. -1121 /// -1122 /// Be aware however that the underlying UDP sockets are only closed once all clones of -1123 /// the the respective [`Endpoint`] are dropped. -1124 pub async fn close(&self) { -1125 if self.is_closed() { -1126 return; -1127 } -1128 -1129 tracing::debug!("Connections closed"); -1130 self.msock.close().await; -1131 } -1132 -1133 /// Check if this endpoint is still alive, or already closed. -1134 pub fn is_closed(&self) -> bool { -1135 self.msock.is_closed() -1136 } -1137 -1138 // # Remaining private methods -1139 -1140 #[cfg(test)] -1141 pub(crate) fn magic_sock(&self) -> Handle { -1142 self.msock.clone() -1143 } -1144 #[cfg(test)] -1145 pub(crate) fn endpoint(&self) -> &quinn::Endpoint { -1146 self.msock.endpoint() -1147 } -1148} -1149 -1150/// Options for the [`Endpoint::connect_with_opts`] function. -1151#[derive(Default, Debug, Clone)] -1152pub struct ConnectOptions { -1153 transport_config: Option<QuicTransportConfig>, -1154 additional_alpns: Vec<Vec<u8>>, -1155} +1092 // # Methods to update internal state. +1093 +1094 /// Sets the initial user-defined data to be published in discovery services for this endpoint. +1095 /// +1096 /// If the user-defined data passed to this function is different to the previous one, +1097 /// the endpoint will republish its endpoint info to the configured discovery services. +1098 /// +1099 /// See also [`Builder::user_data_for_discovery`] for setting an initial value when +1100 /// building the endpoint. +1101 pub fn set_user_data_for_discovery(&self, user_data: Option<UserData>) { +1102 self.msock.set_user_data_for_discovery(user_data); +1103 } +1104 +1105 // # Methods for terminating the endpoint. +1106 +1107 /// Closes the QUIC endpoint and the magic socket. +1108 /// +1109 /// This will close any remaining open [`Connection`]s with an error code +1110 /// of `0` and an empty reason. Though it is best practice to close those +1111 /// explicitly before with a custom error code and reason. +1112 /// +1113 /// It will then make a best effort to wait for all close notifications to be +1114 /// acknowledged by the peers, re-transmitting them if needed. This ensures the +1115 /// peers are aware of the closed connections instead of having to wait for a timeout +1116 /// on the connection. Once all connections are closed or timed out, the future +1117 /// finishes. +1118 /// +1119 /// The maximum time-out that this future will wait for depends on QUIC transport +1120 /// configurations of non-drained connections at the time of calling, and their current +1121 /// estimates of round trip time. With default parameters and a conservative estimate +1122 /// of round trip time, this call's future should take 3 seconds to resolve in cases of +1123 /// bad connectivity or failed connections. In the usual case, this call's future should +1124 /// return much more quickly. +1125 /// +1126 /// It is highly recommended you *do* wait for this close call to finish, if possible. +1127 /// Not doing so will make connections that were still open while closing the endpoint +1128 /// time out on the remote end. Thus remote ends will assume connections to have failed +1129 /// even if all application data was transmitted successfully. +1130 /// +1131 /// Note: Someone used to closing TCP sockets might wonder why it is necessary to wait +1132 /// for timeouts when closing QUIC endpoints, while they don't have to do this for TCP +1133 /// sockets. This is due to QUIC and its acknowledgments being implemented in user-land, +1134 /// while TCP sockets usually get closed and drained by the operating system in the +1135 /// kernel during the "Time-Wait" period of the TCP socket. +1136 /// +1137 /// Be aware however that the underlying UDP sockets are only closed once all clones of +1138 /// the the respective [`Endpoint`] are dropped. +1139 pub async fn close(&self) { +1140 self.msock.close().await; +1141 } +1142 +1143 /// Check if this endpoint is still alive, or already closed. +1144 pub fn is_closed(&self) -> bool { +1145 self.msock.is_closed() +1146 } +1147 +1148 /// Create a [`ServerConfigBuilder`] for this endpoint that includes the given alpns. +1149 /// +1150 /// Use the [`ServerConfigBuilder`] to customize the [`ServerConfig`] connection configuration +1151 /// for a connection accepted using the [`Incoming::accept_with`] method. +1152 pub fn create_server_config_builder(&self, alpns: Vec<Vec<u8>>) -> ServerConfigBuilder { +1153 let inner = self.static_config.create_server_config(alpns); +1154 ServerConfigBuilder::new(inner, self.static_config.transport_config.clone()) +1155 } 1156 -1157impl ConnectOptions { -1158 /// Initializes new connection options. -1159 /// -1160 /// By default, the connection will use the same options -1161 /// as [`Endpoint::connect`], e.g. a default [`TransportConfig`]. -1162 pub fn new() -> Self { -1163 Self::default() -1164 } -1165 -1166 /// Sets the QUIC transport config options for this connection. -1167 pub fn with_transport_config(mut self, transport_config: QuicTransportConfig) -> Self { -1168 self.transport_config = Some(transport_config); -1169 self -1170 } -1171 -1172 /// Sets [ALPN] identifiers that should be signaled as supported on connection, *in -1173 /// addition* to the main [ALPN] identifier used in [`Endpoint::connect_with_opts`]. -1174 /// -1175 /// This allows connecting to servers that may only support older versions of your -1176 /// protocol. In this case, you would add the older [ALPN] identifiers with this -1177 /// function. +1157 // # Remaining private methods +1158 +1159 #[cfg(test)] +1160 pub(crate) fn magic_sock(&self) -> Handle { +1161 self.msock.clone() +1162 } +1163 #[cfg(test)] +1164 pub(crate) fn endpoint(&self) -> &quinn::Endpoint { +1165 self.msock.endpoint() +1166 } +1167} +1168 +1169/// Options for the [`Endpoint::connect_with_opts`] function. +1170#[derive(Default, Debug, Clone)] +1171pub struct ConnectOptions { +1172 transport_config: Option<QuicTransportConfig>, +1173 additional_alpns: Vec<Vec<u8>>, +1174} +1175 +1176impl ConnectOptions { +1177 /// Initializes new connection options. 1178 /// -1179 /// You'll know the final negotiated [ALPN] identifier once your connection was -1180 /// established using [`Connection::alpn`], or even slightly earlier in the -1181 /// handshake by using [`Connecting::alpn`]. -1182 /// The negotiated [ALPN] identifier may be any of the [ALPN] identifiers in this -1183 /// list or the main [ALPN] used in [`Endpoint::connect_with_opts`]. -1184 /// -1185 /// The [ALPN] identifier order on the connect side doesn't matter, since it's the -1186 /// accept side that determines the protocol. -1187 /// -1188 /// For setting the supported [ALPN] identifiers on the accept side, see the endpoint -1189 /// builder's [`Builder::alpns`] function. -1190 /// -1191 /// [ALPN]: https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation -1192 pub fn with_additional_alpns(mut self, alpns: Vec<Vec<u8>>) -> Self { -1193 self.additional_alpns = alpns; -1194 self -1195 } -1196} -1197 -1198/// Read a proxy url from the environment, in this order -1199/// -1200/// - `HTTP_PROXY` -1201/// - `http_proxy` -1202/// - `HTTPS_PROXY` -1203/// - `https_proxy` -1204fn proxy_url_from_env() -> Option<Url> { -1205 if let Some(url) = std::env::var("HTTP_PROXY") -1206 .ok() -1207 .and_then(|s| s.parse::<Url>().ok()) -1208 { -1209 if is_cgi() { -1210 warn!("HTTP_PROXY environment variable ignored in CGI"); -1211 } else { -1212 return Some(url); -1213 } -1214 } -1215 if let Some(url) = std::env::var("http_proxy") -1216 .ok() -1217 .and_then(|s| s.parse::<Url>().ok()) -1218 { -1219 return Some(url); -1220 } -1221 if let Some(url) = std::env::var("HTTPS_PROXY") -1222 .ok() -1223 .and_then(|s| s.parse::<Url>().ok()) -1224 { -1225 return Some(url); -1226 } -1227 if let Some(url) = std::env::var("https_proxy") -1228 .ok() -1229 .and_then(|s| s.parse::<Url>().ok()) -1230 { -1231 return Some(url); -1232 } -1233 -1234 None -1235} -1236 -1237/// Configuration of the relay servers for an [`Endpoint`]. -1238#[derive(Debug, Clone, PartialEq, Eq)] -1239pub enum RelayMode { -1240 /// Disable relay servers completely. -1241 /// This means that neither listening nor dialing relays will be available. -1242 Disabled, -1243 /// Use the default relay map, with production relay servers from n0. -1244 /// -1245 /// See [`crate::defaults::prod`] for the severs used. -1246 Default, -1247 /// Use the staging relay servers from n0. -1248 Staging, -1249 /// Use a custom relay map. -1250 Custom(RelayMap), -1251} +1179 /// By default, the connection will use the same options +1180 /// as [`Endpoint::connect`], e.g. a default [`TransportConfig`]. +1181 pub fn new() -> Self { +1182 Self::default() +1183 } +1184 +1185 /// Sets the QUIC transport config options for this connection. +1186 pub fn with_transport_config(mut self, transport_config: QuicTransportConfig) -> Self { +1187 self.transport_config = Some(transport_config); +1188 self +1189 } +1190 +1191 /// Sets [ALPN] identifiers that should be signaled as supported on connection, *in +1192 /// addition* to the main [ALPN] identifier used in [`Endpoint::connect_with_opts`]. +1193 /// +1194 /// This allows connecting to servers that may only support older versions of your +1195 /// protocol. In this case, you would add the older [ALPN] identifiers with this +1196 /// function. +1197 /// +1198 /// You'll know the final negotiated [ALPN] identifier once your connection was +1199 /// established using [`Connection::alpn`], or even slightly earlier in the +1200 /// handshake by using [`Connecting::alpn`]. +1201 /// The negotiated [ALPN] identifier may be any of the [ALPN] identifiers in this +1202 /// list or the main [ALPN] used in [`Endpoint::connect_with_opts`]. +1203 /// +1204 /// The [ALPN] identifier order on the connect side doesn't matter, since it's the +1205 /// accept side that determines the protocol. +1206 /// +1207 /// For setting the supported [ALPN] identifiers on the accept side, see the endpoint +1208 /// builder's [`Builder::alpns`] function. +1209 /// +1210 /// [ALPN]: https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation +1211 pub fn with_additional_alpns(mut self, alpns: Vec<Vec<u8>>) -> Self { +1212 self.additional_alpns = alpns; +1213 self +1214 } +1215} +1216 +1217/// Read a proxy url from the environment, in this order +1218/// +1219/// - `HTTP_PROXY` +1220/// - `http_proxy` +1221/// - `HTTPS_PROXY` +1222/// - `https_proxy` +1223fn proxy_url_from_env() -> Option<Url> { +1224 if let Some(url) = std::env::var("HTTP_PROXY") +1225 .ok() +1226 .and_then(|s| s.parse::<Url>().ok()) +1227 { +1228 if is_cgi() { +1229 warn!("HTTP_PROXY environment variable ignored in CGI"); +1230 } else { +1231 return Some(url); +1232 } +1233 } +1234 if let Some(url) = std::env::var("http_proxy") +1235 .ok() +1236 .and_then(|s| s.parse::<Url>().ok()) +1237 { +1238 return Some(url); +1239 } +1240 if let Some(url) = std::env::var("HTTPS_PROXY") +1241 .ok() +1242 .and_then(|s| s.parse::<Url>().ok()) +1243 { +1244 return Some(url); +1245 } +1246 if let Some(url) = std::env::var("https_proxy") +1247 .ok() +1248 .and_then(|s| s.parse::<Url>().ok()) +1249 { +1250 return Some(url); +1251 } 1252 -1253impl RelayMode { -1254 /// Returns the relay map for this mode. -1255 pub fn relay_map(&self) -> RelayMap { -1256 match self { -1257 RelayMode::Disabled => RelayMap::empty(), -1258 RelayMode::Default => crate::defaults::prod::default_relay_map(), -1259 RelayMode::Staging => crate::defaults::staging::default_relay_map(), -1260 RelayMode::Custom(relay_map) => relay_map.clone(), -1261 } -1262 } -1263 -1264 /// Create a custom relay mode from a list of [`RelayUrl`]s. -1265 /// -1266 /// # Example -1267 /// -1268 /// ``` -1269 /// # fn main() -> n0_error::Result<()> { -1270 /// # use iroh::RelayMode; -1271 /// RelayMode::custom([ -1272 /// "https://use1-1.relay.n0.iroh-canary.iroh.link.".parse()?, -1273 /// "https://euw-1.relay.n0.iroh-canary.iroh.link.".parse()?, -1274 /// ]); -1275 /// # Ok(()) } -1276 /// ``` -1277 pub fn custom(map: impl IntoIterator<Item = RelayUrl>) -> Self { -1278 let m = RelayMap::from_iter(map); -1279 Self::Custom(m) -1280 } -1281} +1253 None +1254} +1255 +1256/// Configuration of the relay servers for an [`Endpoint`]. +1257#[derive(Debug, Clone, PartialEq, Eq)] +1258pub enum RelayMode { +1259 /// Disable relay servers completely. +1260 /// This means that neither listening nor dialing relays will be available. +1261 Disabled, +1262 /// Use the default relay map, with production relay servers from n0. +1263 /// +1264 /// See [`crate::defaults::prod`] for the severs used. +1265 Default, +1266 /// Use the staging relay servers from n0. +1267 Staging, +1268 /// Use a custom relay map. +1269 Custom(RelayMap), +1270} +1271 +1272impl RelayMode { +1273 /// Returns the relay map for this mode. +1274 pub fn relay_map(&self) -> RelayMap { +1275 match self { +1276 RelayMode::Disabled => RelayMap::empty(), +1277 RelayMode::Default => crate::defaults::prod::default_relay_map(), +1278 RelayMode::Staging => crate::defaults::staging::default_relay_map(), +1279 RelayMode::Custom(relay_map) => relay_map.clone(), +1280 } +1281 } 1282 -1283/// Environment variable to force the use of staging relays. -1284pub const ENV_FORCE_STAGING_RELAYS: &str = "IROH_FORCE_STAGING_RELAYS"; -1285 -1286/// Returns `true` if the use of staging relays is forced. -1287pub fn force_staging_infra() -> bool { -1288 matches!(std::env::var(ENV_FORCE_STAGING_RELAYS), Ok(value) if !value.is_empty()) -1289} -1290 -1291/// Returns the default relay mode. -1292/// -1293/// If the `IROH_FORCE_STAGING_RELAYS` environment variable is non empty, it will return `RelayMode::Staging`. -1294/// Otherwise, it will return `RelayMode::Default`. -1295pub fn default_relay_mode() -> RelayMode { -1296 // Use staging in testing -1297 match force_staging_infra() { -1298 true => RelayMode::Staging, -1299 false => RelayMode::Default, -1300 } -1301} -1302 -1303/// Check if we are being executed in a CGI context. -1304/// -1305/// If so, a malicious client can send the `Proxy:` header, and it will -1306/// be in the `HTTP_PROXY` env var. So we don't use it :) -1307fn is_cgi() -> bool { -1308 std::env::var_os("REQUEST_METHOD").is_some() -1309} -1310 -1311// TODO: These tests could still be flaky, lets fix that: -1312// https://github.com/n0-computer/iroh/issues/1183 -1313#[cfg(test)] -1314mod tests { -1315 use std::{ -1316 str::FromStr, -1317 time::{Duration, Instant}, -1318 }; -1319 -1320 use iroh_base::{EndpointAddr, EndpointId, RelayUrl, SecretKey, TransportAddr}; -1321 use n0_error::{AnyError as Error, Result, StdResultExt}; -1322 use n0_future::{BufferedStreamExt, StreamExt, stream, time}; -1323 use n0_watcher::Watcher; -1324 use quinn::ConnectionError; -1325 use rand::SeedableRng; -1326 use tokio::sync::oneshot; -1327 use tracing::{Instrument, error_span, info, info_span, instrument}; -1328 use tracing_test::traced_test; +1283 /// Create a custom relay mode from a list of [`RelayUrl`]s. +1284 /// +1285 /// # Example +1286 /// +1287 /// ``` +1288 /// # fn main() -> n0_error::Result<()> { +1289 /// # use iroh::RelayMode; +1290 /// RelayMode::custom([ +1291 /// "https://use1-1.relay.n0.iroh-canary.iroh.link.".parse()?, +1292 /// "https://euw-1.relay.n0.iroh-canary.iroh.link.".parse()?, +1293 /// ]); +1294 /// # Ok(()) } +1295 /// ``` +1296 pub fn custom(map: impl IntoIterator<Item = RelayUrl>) -> Self { +1297 let m = RelayMap::from_iter(map); +1298 Self::Custom(m) +1299 } +1300} +1301 +1302/// Environment variable to force the use of staging relays. +1303pub const ENV_FORCE_STAGING_RELAYS: &str = "IROH_FORCE_STAGING_RELAYS"; +1304 +1305/// Returns `true` if the use of staging relays is forced. +1306pub fn force_staging_infra() -> bool { +1307 matches!(std::env::var(ENV_FORCE_STAGING_RELAYS), Ok(value) if !value.is_empty()) +1308} +1309 +1310/// Returns the default relay mode. +1311/// +1312/// If the `IROH_FORCE_STAGING_RELAYS` environment variable is non empty, it will return `RelayMode::Staging`. +1313/// Otherwise, it will return `RelayMode::Default`. +1314pub fn default_relay_mode() -> RelayMode { +1315 // Use staging in testing +1316 match force_staging_infra() { +1317 true => RelayMode::Staging, +1318 false => RelayMode::Default, +1319 } +1320} +1321 +1322/// Check if we are being executed in a CGI context. +1323/// +1324/// If so, a malicious client can send the `Proxy:` header, and it will +1325/// be in the `HTTP_PROXY` env var. So we don't use it :) +1326fn is_cgi() -> bool { +1327 std::env::var_os("REQUEST_METHOD").is_some() +1328} 1329 -1330 use super::Endpoint; -1331 use crate::{ -1332 RelayMap, RelayMode, -1333 discovery::static_provider::StaticProvider, -1334 endpoint::{ConnectOptions, Connection}, -1335 protocol::{AcceptError, ProtocolHandler, Router}, -1336 test_utils::{run_relay_server, run_relay_server_with}, -1337 }; -1338 -1339 const TEST_ALPN: &[u8] = b"n0/iroh/test"; -1340 -1341 #[tokio::test] -1342 #[traced_test] -1343 async fn test_connect_self() -> Result { -1344 let ep = Endpoint::empty_builder(RelayMode::Disabled) -1345 .alpns(vec![TEST_ALPN.to_vec()]) -1346 .bind() -1347 .await -1348 .unwrap(); -1349 let my_addr = ep.addr(); -1350 let res = ep.connect(my_addr.clone(), TEST_ALPN).await; -1351 assert!(res.is_err()); -1352 let err = res.err().unwrap(); -1353 assert!(err.to_string().starts_with("Connecting to ourself")); -1354 -1355 Ok(()) -1356 } +1330// TODO: These tests could still be flaky, lets fix that: +1331// https://github.com/n0-computer/iroh/issues/1183 +1332#[cfg(test)] +1333mod tests { +1334 use std::{ +1335 str::FromStr, +1336 sync::Arc, +1337 time::{Duration, Instant}, +1338 }; +1339 +1340 use iroh_base::{EndpointAddr, EndpointId, RelayUrl, SecretKey, TransportAddr}; +1341 use n0_error::{AnyError as Error, Result, StdResultExt}; +1342 use n0_future::{BufferedStreamExt, StreamExt, stream, time}; +1343 use n0_tracing_test::traced_test; +1344 use n0_watcher::Watcher; +1345 use rand::SeedableRng; +1346 use tokio::sync::oneshot; +1347 use tracing::{Instrument, debug_span, info, info_span, instrument}; +1348 +1349 use super::Endpoint; +1350 use crate::{ +1351 RelayMap, RelayMode, +1352 discovery::static_provider::StaticProvider, +1353 endpoint::{ApplicationClose, ConnectOptions, Connection, ConnectionError}, +1354 protocol::{AcceptError, ProtocolHandler, Router}, +1355 test_utils::{QlogFileGroup, run_relay_server, run_relay_server_with}, +1356 }; 1357 -1358 #[tokio::test] -1359 #[traced_test] -1360 async fn endpoint_connect_close() -> Result { -1361 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); -1362 let (relay_map, relay_url, _guard) = run_relay_server().await?; -1363 let server_secret_key = SecretKey::generate(&mut rng); -1364 let server_peer_id = server_secret_key.public(); -1365 -1366 // Wait for the endpoint to be started to make sure it's up before clients try to connect -1367 let ep = Endpoint::empty_builder(RelayMode::Custom(relay_map.clone())) -1368 .secret_key(server_secret_key) -1369 .alpns(vec![TEST_ALPN.to_vec()]) -1370 .insecure_skip_relay_cert_verify(true) -1371 .bind() -1372 .await?; -1373 // Wait for the endpoint to be reachable via relay -1374 ep.online().await; -1375 -1376 let server = tokio::spawn( -1377 async move { -1378 info!("accepting connection"); -1379 let incoming = ep.accept().await.anyerr()?; -1380 let conn = incoming.await.anyerr()?; -1381 let mut stream = conn.accept_uni().await.anyerr()?; -1382 let mut buf = [0u8; 5]; -1383 stream.read_exact(&mut buf).await.anyerr()?; -1384 info!("Accepted 1 stream, received {buf:?}. Closing now."); -1385 // close the connection -1386 conn.close(7u8.into(), b"bye"); -1387 -1388 let res = conn.accept_uni().await; -1389 assert_eq!(res.unwrap_err(), quinn::ConnectionError::LocallyClosed); -1390 -1391 let res = stream.read_to_end(10).await; -1392 assert_eq!( -1393 res.unwrap_err(), -1394 quinn::ReadToEndError::Read(quinn::ReadError::ConnectionLost( -1395 quinn::ConnectionError::LocallyClosed -1396 )) -1397 ); -1398 info!("server test completed"); -1399 Ok::<_, Error>(()) -1400 } -1401 .instrument(info_span!("test-server")), -1402 ); -1403 -1404 let client = tokio::spawn( -1405 async move { -1406 let ep = Endpoint::empty_builder(RelayMode::Custom(relay_map)) -1407 .alpns(vec![TEST_ALPN.to_vec()]) -1408 .insecure_skip_relay_cert_verify(true) -1409 .bind() -1410 .await?; -1411 info!("client connecting"); -1412 let endpoint_addr = EndpointAddr::new(server_peer_id).with_relay_url(relay_url); -1413 let conn = ep.connect(endpoint_addr, TEST_ALPN).await?; -1414 let mut stream = conn.open_uni().await.anyerr()?; -1415 -1416 // First write is accepted by server. We need this bit of synchronisation -1417 // because if the server closes after simply accepting the connection we can -1418 // not be sure our .open_uni() call would succeed as it may already receive -1419 // the error. -1420 stream.write_all(b"hello").await.anyerr()?; -1421 -1422 info!("waiting for closed"); -1423 // Remote now closes the connection, we should see an error sometime soon. -1424 let err = conn.closed().await; -1425 let expected_err = -1426 quinn::ConnectionError::ApplicationClosed(quinn::ApplicationClose { -1427 error_code: 7u8.into(), -1428 reason: b"bye".to_vec().into(), -1429 }); -1430 assert_eq!(err, expected_err); -1431 -1432 info!("opening new - expect it to fail"); -1433 let res = conn.open_uni().await; -1434 assert_eq!(res.unwrap_err(), expected_err); -1435 info!("client test completed"); -1436 Ok::<_, Error>(()) -1437 } -1438 .instrument(info_span!("test-client")), -1439 ); -1440 -1441 let (server, client) = tokio::time::timeout( -1442 Duration::from_secs(30), -1443 n0_future::future::zip(server, client), -1444 ) -1445 .await -1446 .anyerr()?; -1447 server.anyerr()??; -1448 client.anyerr()??; -1449 Ok(()) -1450 } -1451 -1452 #[tokio::test] -1453 #[traced_test] -1454 async fn endpoint_relay_connect_loop() -> Result { -1455 let test_start = Instant::now(); -1456 let n_clients = 5; -1457 let n_chunks_per_client = 2; -1458 let chunk_size = 10; -1459 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(42); -1460 let (relay_map, relay_url, _relay_guard) = run_relay_server().await.unwrap(); -1461 let server_secret_key = SecretKey::generate(&mut rng); -1462 let server_endpoint_id = server_secret_key.public(); -1463 -1464 // Make sure the server is bound before having clients connect to it: -1465 let ep = Endpoint::empty_builder(RelayMode::Custom(relay_map.clone())) -1466 .insecure_skip_relay_cert_verify(true) -1467 .secret_key(server_secret_key) -1468 .alpns(vec![TEST_ALPN.to_vec()]) -1469 .bind() -1470 .await?; -1471 // Also make sure the server has a working relay connection -1472 ep.online().await; +1358 const TEST_ALPN: &[u8] = b"n0/iroh/test"; +1359 +1360 #[tokio::test] +1361 #[traced_test] +1362 async fn test_connect_self() -> Result { +1363 let ep = Endpoint::empty_builder(RelayMode::Disabled) +1364 .alpns(vec![TEST_ALPN.to_vec()]) +1365 .bind() +1366 .await +1367 .unwrap(); +1368 let my_addr = ep.addr(); +1369 let res = ep.connect(my_addr.clone(), TEST_ALPN).await; +1370 assert!(res.is_err()); +1371 let err = res.err().unwrap(); +1372 assert!(err.to_string().starts_with("Connecting to ourself")); +1373 +1374 Ok(()) +1375 } +1376 +1377 #[tokio::test] +1378 #[traced_test] +1379 async fn endpoint_connect_close() -> Result { +1380 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); +1381 let (relay_map, relay_url, _guard) = run_relay_server().await?; +1382 let server_secret_key = SecretKey::generate(&mut rng); +1383 let server_peer_id = server_secret_key.public(); +1384 +1385 let qlog = QlogFileGroup::from_env("endpoint_connect_close"); +1386 +1387 // Wait for the endpoint to be started to make sure it's up before clients try to connect +1388 let ep = Endpoint::empty_builder(RelayMode::Custom(relay_map.clone())) +1389 .secret_key(server_secret_key) +1390 .transport_config(qlog.create("server")?) +1391 .alpns(vec![TEST_ALPN.to_vec()]) +1392 .insecure_skip_relay_cert_verify(true) +1393 .bind() +1394 .await?; +1395 // Wait for the endpoint to be reachable via relay +1396 ep.online().await; +1397 +1398 let server = tokio::spawn( +1399 async move { +1400 info!("accepting connection"); +1401 let incoming = ep.accept().await.anyerr()?; +1402 let conn = incoming.await.anyerr()?; +1403 let mut stream = conn.accept_uni().await.anyerr()?; +1404 let mut buf = [0u8; 5]; +1405 stream.read_exact(&mut buf).await.anyerr()?; +1406 info!("Accepted 1 stream, received {buf:?}. Closing now."); +1407 // close the connection +1408 conn.close(7u8.into(), b"bye"); +1409 +1410 let res = conn.accept_uni().await; +1411 assert_eq!(res.unwrap_err(), ConnectionError::LocallyClosed); +1412 +1413 let res = stream.read_to_end(10).await; +1414 assert_eq!( +1415 res.unwrap_err(), +1416 quinn::ReadToEndError::Read(quinn::ReadError::ConnectionLost( +1417 ConnectionError::LocallyClosed +1418 )) +1419 ); +1420 info!("server test completed"); +1421 Ok::<_, Error>(()) +1422 } +1423 .instrument(info_span!("test-server")), +1424 ); +1425 +1426 let client = tokio::spawn( +1427 async move { +1428 let ep = Endpoint::empty_builder(RelayMode::Custom(relay_map)) +1429 .alpns(vec![TEST_ALPN.to_vec()]) +1430 .insecure_skip_relay_cert_verify(true) +1431 .transport_config(qlog.create("client")?) +1432 .bind() +1433 .await?; +1434 info!("client connecting"); +1435 let endpoint_addr = EndpointAddr::new(server_peer_id).with_relay_url(relay_url); +1436 let conn = ep.connect(endpoint_addr, TEST_ALPN).await?; +1437 let mut stream = conn.open_uni().await.anyerr()?; +1438 +1439 // First write is accepted by server. We need this bit of synchronisation +1440 // because if the server closes after simply accepting the connection we can +1441 // not be sure our .open_uni() call would succeed as it may already receive +1442 // the error. +1443 stream.write_all(b"hello").await.anyerr()?; +1444 +1445 info!("waiting for closed"); +1446 // Remote now closes the connection, we should see an error sometime soon. +1447 let err = conn.closed().await; +1448 let expected_err = ConnectionError::ApplicationClosed(ApplicationClose { +1449 error_code: 7u8.into(), +1450 reason: b"bye".to_vec().into(), +1451 }); +1452 assert_eq!(err, expected_err); +1453 +1454 info!("opening new - expect it to fail"); +1455 let res = conn.open_uni().await; +1456 assert_eq!(res.unwrap_err(), expected_err); +1457 info!("client test completed"); +1458 Ok::<_, Error>(()) +1459 } +1460 .instrument(info_span!("test-client")), +1461 ); +1462 +1463 let (server, client) = tokio::time::timeout( +1464 Duration::from_secs(30), +1465 n0_future::future::zip(server, client), +1466 ) +1467 .await +1468 .anyerr()?; +1469 server.anyerr()??; +1470 client.anyerr()??; +1471 Ok(()) +1472 } 1473 -1474 info!(time = ?test_start.elapsed(), "test setup done"); -1475 -1476 // The server accepts the connections of the clients sequentially. -1477 let server = tokio::spawn( -1478 async move { -1479 let eps = ep.bound_sockets(); -1480 -1481 info!(me = %ep.id().fmt_short(), eps = ?eps, "server listening on"); -1482 for i in 0..n_clients { -1483 let round_start = Instant::now(); -1484 info!("[server] round {i}"); -1485 let incoming = ep.accept().await.anyerr()?; -1486 let conn = incoming.await.anyerr()?; -1487 let endpoint_id = conn.remote_id(); -1488 info!(%i, peer = %endpoint_id.fmt_short(), "accepted connection"); -1489 let (mut send, mut recv) = conn.accept_bi().await.anyerr()?; -1490 let mut buf = vec![0u8; chunk_size]; -1491 for _i in 0..n_chunks_per_client { -1492 recv.read_exact(&mut buf).await.anyerr()?; -1493 send.write_all(&buf).await.anyerr()?; -1494 } -1495 send.finish().anyerr()?; -1496 conn.closed().await; // we're the last to send data, so we wait for the other side to close -1497 info!(%i, peer = %endpoint_id.fmt_short(), "finished"); -1498 info!("[server] round {i} done in {:?}", round_start.elapsed()); -1499 } -1500 Ok::<_, Error>(()) -1501 } -1502 .instrument(error_span!("server")), -1503 ); -1504 -1505 let start = Instant::now(); -1506 -1507 for i in 0..n_clients { -1508 let round_start = Instant::now(); -1509 info!("[client] round {i}"); -1510 let client_secret_key = SecretKey::generate(&mut rng); -1511 async { -1512 info!("client binding"); -1513 let ep = Endpoint::empty_builder(RelayMode::Custom(relay_map.clone())) -1514 .alpns(vec![TEST_ALPN.to_vec()]) -1515 .insecure_skip_relay_cert_verify(true) -1516 .secret_key(client_secret_key) -1517 .bind() -1518 .await?; -1519 let eps = ep.bound_sockets(); -1520 -1521 info!(me = %ep.id().fmt_short(), eps=?eps, "client bound"); -1522 let endpoint_addr = -1523 EndpointAddr::new(server_endpoint_id).with_relay_url(relay_url.clone()); -1524 info!(to = ?endpoint_addr, "client connecting"); -1525 let conn = ep.connect(endpoint_addr, TEST_ALPN).await.anyerr()?; -1526 info!("client connected"); -1527 let (mut send, mut recv) = conn.open_bi().await.anyerr()?; -1528 -1529 for i in 0..n_chunks_per_client { -1530 let mut buf = vec![i; chunk_size]; -1531 send.write_all(&buf).await.anyerr()?; -1532 recv.read_exact(&mut buf).await.anyerr()?; -1533 assert_eq!(buf, vec![i; chunk_size]); -1534 } -1535 // we're the last to receive data, so we close -1536 conn.close(0u32.into(), b"bye!"); -1537 info!("client finished"); -1538 ep.close().await; -1539 info!("client closed"); -1540 Ok::<_, Error>(()) -1541 } -1542 .instrument(error_span!("client", %i)) -1543 .await?; -1544 info!("[client] round {i} done in {:?}", round_start.elapsed()); -1545 } -1546 -1547 server.await.anyerr()??; -1548 -1549 // We appear to have seen this being very slow at times. So ensure we fail if this -1550 // test is too slow. We're only making two connections transferring very little -1551 // data, this really shouldn't take long. -1552 if start.elapsed() > Duration::from_secs(15) { -1553 panic!("Test too slow, something went wrong"); -1554 } -1555 -1556 Ok(()) -1557 } -1558 -1559 #[tokio::test] -1560 #[traced_test] -1561 async fn endpoint_send_relay() -> Result { -1562 let (relay_map, _relay_url, _guard) = run_relay_server().await?; -1563 let client = Endpoint::empty_builder(RelayMode::Custom(relay_map.clone())) -1564 .insecure_skip_relay_cert_verify(true) -1565 .bind() -1566 .await?; -1567 let server = Endpoint::empty_builder(RelayMode::Custom(relay_map)) -1568 .insecure_skip_relay_cert_verify(true) -1569 .alpns(vec![TEST_ALPN.to_vec()]) -1570 .bind() -1571 .await?; -1572 -1573 let task = tokio::spawn({ -1574 let server = server.clone(); -1575 async move { -1576 let Some(conn) = server.accept().await else { -1577 n0_error::bail_any!("Expected an incoming connection"); -1578 }; -1579 let conn = conn.await.anyerr()?; -1580 let (mut send, mut recv) = conn.accept_bi().await.anyerr()?; -1581 let data = recv.read_to_end(1000).await.anyerr()?; -1582 send.write_all(&data).await.anyerr()?; -1583 send.finish().anyerr()?; -1584 conn.closed().await; +1474 #[tokio::test] +1475 #[traced_test] +1476 async fn endpoint_relay_connect_loop() -> Result { +1477 let test_start = Instant::now(); +1478 let n_clients = 5; +1479 let n_chunks_per_client = 2; +1480 let chunk_size = 100; +1481 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(42); +1482 let (relay_map, relay_url, _relay_guard) = run_relay_server().await.unwrap(); +1483 let server_secret_key = SecretKey::generate(&mut rng); +1484 let server_endpoint_id = server_secret_key.public(); +1485 +1486 // Make sure the server is bound before having clients connect to it: +1487 let ep = Endpoint::empty_builder(RelayMode::Custom(relay_map.clone())) +1488 .insecure_skip_relay_cert_verify(true) +1489 .secret_key(server_secret_key) +1490 .alpns(vec![TEST_ALPN.to_vec()]) +1491 .bind() +1492 .await?; +1493 // Also make sure the server has a working relay connection +1494 ep.online().await; +1495 +1496 info!(time = ?test_start.elapsed(), "test setup done"); +1497 +1498 // The server accepts the connections of the clients sequentially. +1499 let server = tokio::spawn( +1500 async move { +1501 let eps = ep.bound_sockets(); +1502 +1503 info!(me = %ep.id().fmt_short(), eps = ?eps, "server listening on"); +1504 for i in 0..n_clients { +1505 tokio::time::timeout(Duration::from_secs(4), async { +1506 let round_start = Instant::now(); +1507 info!("[server] round {i}"); +1508 let incoming = ep.accept().await.anyerr()?; +1509 let conn = incoming.await.anyerr()?; +1510 let endpoint_id = conn.remote_id(); +1511 info!(%i, peer = %endpoint_id.fmt_short(), "accepted connection"); +1512 let (mut send, mut recv) = conn.accept_bi().await.anyerr()?; +1513 let mut buf = vec![0u8; chunk_size]; +1514 for _i in 0..n_chunks_per_client { +1515 recv.read_exact(&mut buf).await.anyerr()?; +1516 send.write_all(&buf).await.anyerr()?; +1517 } +1518 info!(%i, peer = %endpoint_id.fmt_short(), "finishing"); +1519 send.finish().anyerr()?; +1520 conn.closed().await; // we're the last to send data, so we wait for the other side to close +1521 info!(%i, peer = %endpoint_id.fmt_short(), "finished"); +1522 info!("[server] round {i} done in {:?}", round_start.elapsed()); +1523 Ok::<_, Error>(()) +1524 }) +1525 .await +1526 .std_context("timeout")??; +1527 } +1528 Ok::<_, Error>(()) +1529 } +1530 .instrument(debug_span!("server")), +1531 ); +1532 +1533 let client = tokio::spawn(async move { +1534 for i in 0..n_clients { +1535 let round_start = Instant::now(); +1536 info!("[client] round {i}"); +1537 let client_secret_key = SecretKey::generate(&mut rng); +1538 tokio::time::timeout( +1539 Duration::from_secs(4), +1540 async { +1541 info!("client binding"); +1542 let ep = Endpoint::empty_builder(RelayMode::Custom(relay_map.clone())) +1543 .alpns(vec![TEST_ALPN.to_vec()]) +1544 .insecure_skip_relay_cert_verify(true) +1545 .secret_key(client_secret_key) +1546 .bind() +1547 .await?; +1548 let eps = ep.bound_sockets(); +1549 +1550 info!(me = %ep.id().fmt_short(), eps=?eps, "client bound"); +1551 let endpoint_addr = +1552 EndpointAddr::new(server_endpoint_id).with_relay_url(relay_url.clone()); +1553 info!(to = ?endpoint_addr, "client connecting"); +1554 let conn = ep.connect(endpoint_addr, TEST_ALPN).await.anyerr()?; +1555 info!("client connected"); +1556 let (mut send, mut recv) = conn.open_bi().await.anyerr()?; +1557 +1558 for i in 0..n_chunks_per_client { +1559 let mut buf = vec![i; chunk_size]; +1560 send.write_all(&buf).await.anyerr()?; +1561 recv.read_exact(&mut buf).await.anyerr()?; +1562 assert_eq!(buf, vec![i; chunk_size]); +1563 } +1564 // we're the last to receive data, so we close +1565 conn.close(0u32.into(), b"bye!"); +1566 info!("client finished"); +1567 ep.close().await; +1568 info!("client closed"); +1569 +1570 Ok::<_, Error>(()) +1571 } +1572 .instrument(debug_span!("client", %i)), +1573 ) +1574 .await +1575 .std_context("timeout")??; +1576 info!("[client] round {i} done in {:?}", round_start.elapsed()); +1577 } +1578 Ok::<_, Error>(()) +1579 }); +1580 +1581 server.await.anyerr()??; +1582 client.await.anyerr()??; +1583 Ok(()) +1584 } 1585 -1586 Ok::<_, Error>(()) -1587 } -1588 }); -1589 -1590 let addr = server.addr(); -1591 let conn = client.connect(addr, TEST_ALPN).await?; -1592 let (mut send, mut recv) = conn.open_bi().await.anyerr()?; -1593 send.write_all(b"Hello, world!").await.anyerr()?; -1594 send.finish().anyerr()?; -1595 let data = recv.read_to_end(1000).await.anyerr()?; -1596 conn.close(0u32.into(), b"bye!"); -1597 -1598 task.await.anyerr()??; +1586 #[tokio::test] +1587 #[traced_test] +1588 async fn endpoint_send_relay() -> Result { +1589 let (relay_map, _relay_url, _guard) = run_relay_server().await?; +1590 let client = Endpoint::empty_builder(RelayMode::Custom(relay_map.clone())) +1591 .insecure_skip_relay_cert_verify(true) +1592 .bind() +1593 .await?; +1594 let server = Endpoint::empty_builder(RelayMode::Custom(relay_map)) +1595 .insecure_skip_relay_cert_verify(true) +1596 .alpns(vec![TEST_ALPN.to_vec()]) +1597 .bind() +1598 .await?; 1599 -1600 client.close().await; -1601 server.close().await; -1602 -1603 assert_eq!(&data, b"Hello, world!"); -1604 -1605 Ok(()) -1606 } -1607 -1608 #[tokio::test] -1609 #[traced_test] -1610 async fn endpoint_two_direct_only() -> Result { -1611 // Connect two endpoints on the same network, without a relay server, without -1612 // discovery. -1613 let ep1 = { -1614 let span = info_span!("server"); -1615 let _guard = span.enter(); -1616 Endpoint::builder() -1617 .alpns(vec![TEST_ALPN.to_vec()]) -1618 .relay_mode(RelayMode::Disabled) -1619 .bind() -1620 .await? -1621 }; -1622 let ep2 = { -1623 let span = info_span!("client"); -1624 let _guard = span.enter(); -1625 Endpoint::builder() -1626 .alpns(vec![TEST_ALPN.to_vec()]) -1627 .relay_mode(RelayMode::Disabled) -1628 .bind() -1629 .await? -1630 }; -1631 let ep1_nodeaddr = ep1.addr(); -1632 -1633 #[instrument(name = "client", skip_all)] -1634 async fn connect(ep: Endpoint, dst: EndpointAddr) -> Result<quinn::ConnectionError> { -1635 info!(me = %ep.id().fmt_short(), "client starting"); -1636 let conn = ep.connect(dst, TEST_ALPN).await?; -1637 let mut send = conn.open_uni().await.anyerr()?; -1638 send.write_all(b"hello").await.anyerr()?; -1639 send.finish().anyerr()?; -1640 Ok(conn.closed().await) -1641 } -1642 -1643 #[instrument(name = "server", skip_all)] -1644 async fn accept(ep: Endpoint, src: EndpointId) -> Result { -1645 info!(me = %ep.id().fmt_short(), "server starting"); -1646 let conn = ep.accept().await.anyerr()?.await.anyerr()?; -1647 let node_id = conn.remote_id(); -1648 assert_eq!(node_id, src); -1649 let mut recv = conn.accept_uni().await.anyerr()?; -1650 let msg = recv.read_to_end(100).await.anyerr()?; -1651 assert_eq!(msg, b"hello"); -1652 // Dropping the connection closes it just fine. -1653 Ok(()) -1654 } -1655 -1656 let ep1_accept = tokio::spawn(accept(ep1.clone(), ep2.id())); -1657 let ep2_connect = tokio::spawn(connect(ep2.clone(), ep1_nodeaddr)); -1658 -1659 ep1_accept.await.anyerr()??; -1660 let conn_closed = dbg!(ep2_connect.await.anyerr()??); -1661 assert!(matches!( -1662 conn_closed, -1663 ConnectionError::ApplicationClosed(quinn::ApplicationClose { .. }) -1664 )); -1665 -1666 Ok(()) -1667 } -1668 -1669 #[tokio::test] -1670 #[traced_test] -1671 async fn endpoint_two_relay_only_becomes_direct() -> Result { -1672 // Connect two endpoints on the same network, via a relay server, without -1673 // discovery. Wait until there is a direct connection. -1674 let (relay_map, _relay_url, _relay_server_guard) = run_relay_server().await?; -1675 let (node_addr_tx, node_addr_rx) = oneshot::channel(); -1676 -1677 #[instrument(name = "client", skip_all)] -1678 async fn connect( -1679 relay_map: RelayMap, -1680 node_addr_rx: oneshot::Receiver<EndpointAddr>, -1681 ) -> Result<quinn::ConnectionError> { -1682 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); -1683 let secret = SecretKey::generate(&mut rng); -1684 let ep = Endpoint::builder() -1685 .secret_key(secret) -1686 .alpns(vec![TEST_ALPN.to_vec()]) -1687 .insecure_skip_relay_cert_verify(true) -1688 .relay_mode(RelayMode::Custom(relay_map)) -1689 .bind() -1690 .await?; -1691 info!(me = %ep.id().fmt_short(), "client starting"); -1692 let dst = node_addr_rx.await.anyerr()?; -1693 -1694 info!(me = %ep.id().fmt_short(), "client connecting"); -1695 let conn = ep.connect(dst, TEST_ALPN).await?; -1696 let mut send = conn.open_uni().await.anyerr()?; -1697 send.write_all(b"hello").await.anyerr()?; -1698 let mut paths = conn.paths().stream(); -1699 info!("Waiting for direct connection"); -1700 while let Some(infos) = paths.next().await { -1701 info!(?infos, "new PathInfos"); -1702 if infos.iter().any(|info| info.is_ip()) { -1703 break; -1704 } -1705 } -1706 info!("Have direct connection"); -1707 send.write_all(b"close please").await.anyerr()?; -1708 send.finish().anyerr()?; -1709 Ok(conn.closed().await) -1710 } -1711 -1712 #[instrument(name = "server", skip_all)] -1713 async fn accept( -1714 relay_map: RelayMap, -1715 node_addr_tx: oneshot::Sender<EndpointAddr>, -1716 ) -> Result { -1717 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(1u64); -1718 let secret = SecretKey::generate(&mut rng); -1719 let ep = Endpoint::builder() -1720 .secret_key(secret) -1721 .alpns(vec![TEST_ALPN.to_vec()]) -1722 .insecure_skip_relay_cert_verify(true) -1723 .relay_mode(RelayMode::Custom(relay_map)) -1724 .bind() -1725 .await?; -1726 ep.online().await; -1727 let mut node_addr = ep.addr(); -1728 node_addr.addrs.retain(|addr| addr.is_relay()); -1729 node_addr_tx.send(node_addr).unwrap(); -1730 -1731 info!(me = %ep.id().fmt_short(), "server starting"); -1732 let conn = ep.accept().await.anyerr()?.await.anyerr()?; -1733 // let node_id = conn.remote_node_id()?; -1734 // assert_eq!(node_id, src); -1735 let mut recv = conn.accept_uni().await.anyerr()?; -1736 let mut msg = [0u8; 5]; -1737 recv.read_exact(&mut msg).await.anyerr()?; -1738 assert_eq!(&msg, b"hello"); -1739 info!("received hello"); -1740 let msg = recv.read_to_end(100).await.anyerr()?; -1741 assert_eq!(msg, b"close please"); -1742 info!("received 'close please'"); -1743 // Dropping the connection closes it just fine. -1744 Ok(()) -1745 } -1746 -1747 let server_task = tokio::spawn(accept(relay_map.clone(), node_addr_tx)); -1748 let client_task = tokio::spawn(connect(relay_map, node_addr_rx)); -1749 -1750 server_task.await.anyerr()??; -1751 let conn_closed = dbg!(client_task.await.anyerr()??); -1752 assert!(matches!( -1753 conn_closed, -1754 ConnectionError::ApplicationClosed(quinn::ApplicationClose { .. }) -1755 )); -1756 -1757 Ok(()) -1758 } -1759 -1760 #[tokio::test] -1761 #[traced_test] -1762 async fn endpoint_two_relay_only_no_ip() -> Result { -1763 // Connect two endpoints on the same network, via a relay server, without -1764 // discovery. -1765 let (relay_map, _relay_url, _relay_server_guard) = run_relay_server().await?; -1766 let (node_addr_tx, node_addr_rx) = oneshot::channel(); -1767 -1768 #[instrument(name = "client", skip_all)] -1769 async fn connect( -1770 relay_map: RelayMap, -1771 node_addr_rx: oneshot::Receiver<EndpointAddr>, -1772 ) -> Result<quinn::ConnectionError> { -1773 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); -1774 let secret = SecretKey::generate(&mut rng); -1775 let ep = Endpoint::builder() -1776 .secret_key(secret) -1777 .alpns(vec![TEST_ALPN.to_vec()]) -1778 .insecure_skip_relay_cert_verify(true) -1779 .relay_mode(RelayMode::Custom(relay_map)) -1780 .clear_ip_transports() // disable direct -1781 .bind() -1782 .await?; -1783 info!(me = %ep.id().fmt_short(), "client starting"); -1784 let dst = node_addr_rx.await.anyerr()?; -1785 -1786 info!(me = %ep.id().fmt_short(), "client connecting"); -1787 let conn = ep.connect(dst, TEST_ALPN).await?; -1788 let mut send = conn.open_uni().await.anyerr()?; -1789 send.write_all(b"hello").await.anyerr()?; -1790 let mut paths = conn.paths().stream(); -1791 info!("Waiting for connection"); -1792 'outer: while let Some(infos) = paths.next().await { -1793 info!(?infos, "new PathInfos"); -1794 for info in infos { -1795 if info.is_ip() { -1796 panic!("should not happen: {:?}", info); -1797 } -1798 if info.is_relay() { -1799 break 'outer; -1800 } -1801 } -1802 } -1803 info!("Have relay connection"); -1804 send.write_all(b"close please").await.anyerr()?; -1805 send.finish().anyerr()?; -1806 Ok(conn.closed().await) -1807 } -1808 -1809 #[instrument(name = "server", skip_all)] -1810 async fn accept( -1811 relay_map: RelayMap, -1812 node_addr_tx: oneshot::Sender<EndpointAddr>, -1813 ) -> Result { -1814 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(1u64); -1815 let secret = SecretKey::generate(&mut rng); -1816 let ep = Endpoint::builder() -1817 .secret_key(secret) -1818 .alpns(vec![TEST_ALPN.to_vec()]) -1819 .insecure_skip_relay_cert_verify(true) -1820 .relay_mode(RelayMode::Custom(relay_map)) -1821 .clear_ip_transports() -1822 .bind() -1823 .await?; -1824 ep.online().await; -1825 let node_addr = ep.addr(); -1826 node_addr_tx.send(node_addr).unwrap(); -1827 -1828 info!(me = %ep.id().fmt_short(), "server starting"); -1829 let conn = ep.accept().await.anyerr()?.await.anyerr()?; -1830 // let node_id = conn.remote_node_id()?; -1831 // assert_eq!(node_id, src); -1832 let mut recv = conn.accept_uni().await.anyerr()?; -1833 let mut msg = [0u8; 5]; -1834 recv.read_exact(&mut msg).await.anyerr()?; -1835 assert_eq!(&msg, b"hello"); -1836 info!("received hello"); -1837 let msg = recv.read_to_end(100).await.anyerr()?; -1838 assert_eq!(msg, b"close please"); -1839 info!("received 'close please'"); -1840 // Dropping the connection closes it just fine. -1841 Ok(()) -1842 } -1843 -1844 let server_task = tokio::spawn(accept(relay_map.clone(), node_addr_tx)); -1845 let client_task = tokio::spawn(connect(relay_map, node_addr_rx)); -1846 -1847 server_task.await.anyerr()??; -1848 let conn_closed = dbg!(client_task.await.anyerr()??); -1849 assert!(matches!( -1850 conn_closed, -1851 ConnectionError::ApplicationClosed(quinn::ApplicationClose { .. }) -1852 )); -1853 -1854 Ok(()) -1855 } -1856 -1857 #[tokio::test] -1858 #[traced_test] -1859 async fn endpoint_two_direct_add_relay() -> Result { -1860 // Connect two endpoints on the same network, without relay server and without -1861 // discovery. Add a relay connection later. -1862 let (relay_map, _relay_url, _relay_server_guard) = run_relay_server().await?; -1863 let (node_addr_tx, node_addr_rx) = oneshot::channel(); -1864 -1865 #[instrument(name = "client", skip_all)] -1866 async fn connect( -1867 relay_map: RelayMap, -1868 node_addr_rx: oneshot::Receiver<EndpointAddr>, -1869 ) -> Result<()> { -1870 let secret = SecretKey::from([0u8; 32]); -1871 let ep = Endpoint::builder() -1872 .secret_key(secret) -1873 .alpns(vec![TEST_ALPN.to_vec()]) -1874 .insecure_skip_relay_cert_verify(true) -1875 .relay_mode(RelayMode::Custom(relay_map)) -1876 .bind() -1877 .await?; -1878 info!(me = %ep.id().fmt_short(), "client starting"); -1879 let dst = node_addr_rx.await.anyerr()?; -1880 -1881 info!(me = %ep.id().fmt_short(), "client connecting"); -1882 let conn = ep.connect(dst, TEST_ALPN).await?; -1883 info!(me = %ep.id().fmt_short(), "client connected"); -1884 -1885 // We should be connected via IP, because it is faster than the relay server. -1886 // TODO: Maybe not panic if this is not true? -1887 let path_info = conn.paths().get(); -1888 assert_eq!(path_info.len(), 1); -1889 assert!(path_info.iter().next().unwrap().is_ip()); -1890 -1891 let mut paths = conn.paths().stream(); -1892 time::timeout(Duration::from_secs(5), async move { -1893 while let Some(infos) = paths.next().await { -1894 info!(?infos, "new PathInfos"); -1895 if infos.iter().any(|info| info.is_relay()) { -1896 info!("client has a relay path"); -1897 break; -1898 } -1899 } -1900 }) -1901 .await -1902 .anyerr()?; -1903 -1904 // wait for the server to signal it has the relay connection -1905 let mut stream = conn.accept_uni().await.anyerr()?; -1906 stream.read_to_end(100).await.anyerr()?; -1907 -1908 info!("client closing"); -1909 conn.close(0u8.into(), b""); -1910 ep.close().await; -1911 Ok(()) -1912 } -1913 -1914 #[instrument(name = "server", skip_all)] -1915 async fn accept( -1916 relay_map: RelayMap, -1917 node_addr_tx: oneshot::Sender<EndpointAddr>, -1918 ) -> Result<quinn::ConnectionError> { -1919 let secret = SecretKey::from([1u8; 32]); -1920 let ep = Endpoint::builder() -1921 .secret_key(secret) -1922 .alpns(vec![TEST_ALPN.to_vec()]) -1923 .insecure_skip_relay_cert_verify(true) -1924 .relay_mode(RelayMode::Custom(relay_map)) -1925 .bind() -1926 .await?; -1927 ep.online().await; -1928 let node_addr = ep.addr(); -1929 node_addr_tx.send(node_addr).unwrap(); -1930 -1931 info!(me = %ep.id().fmt_short(), "server starting"); -1932 let conn = ep.accept().await.anyerr()?.await.anyerr()?; -1933 info!(me = %ep.id().fmt_short(), "server accepted connection"); -1934 -1935 // Wait for a relay connection to be added. Client does all the asserting here, -1936 // we just want to wait so we get to see all the mechanics of the connection -1937 // being added on this side too. -1938 let mut paths = conn.paths().stream(); -1939 time::timeout(Duration::from_secs(5), async move { -1940 while let Some(infos) = paths.next().await { -1941 info!(?infos, "new PathInfos"); -1942 if infos.iter().any(|path| path.is_relay()) { -1943 info!("server has a relay path"); -1944 break; -1945 } -1946 } -1947 }) -1948 .await -1949 .anyerr()?; -1950 -1951 let mut stream = conn.open_uni().await.anyerr()?; -1952 stream.write_all(b"have relay").await.anyerr()?; -1953 stream.finish().anyerr()?; -1954 info!("waiting conn.closed()"); -1955 -1956 Ok(conn.closed().await) -1957 } -1958 -1959 let server_task = tokio::spawn(accept(relay_map.clone(), node_addr_tx)); -1960 let client_task = tokio::spawn(connect(relay_map, node_addr_rx)); -1961 -1962 client_task.await.anyerr()??; -1963 let conn_closed = dbg!(server_task.await.anyerr()??); -1964 assert!(matches!( -1965 conn_closed, -1966 ConnectionError::ApplicationClosed(quinn::ApplicationClose { .. }) -1967 )); -1968 -1969 Ok(()) -1970 } -1971 -1972 #[tokio::test] -1973 #[traced_test] -1974 async fn endpoint_relay_map_change() -> Result { -1975 let (relay_map, relay_url, _guard1) = run_relay_server().await?; -1976 let client = Endpoint::empty_builder(RelayMode::Custom(relay_map.clone())) -1977 .insecure_skip_relay_cert_verify(true) -1978 .bind() -1979 .await?; -1980 let server = Endpoint::empty_builder(RelayMode::Custom(relay_map)) -1981 .insecure_skip_relay_cert_verify(true) -1982 .alpns(vec![TEST_ALPN.to_vec()]) -1983 .bind() -1984 .await?; -1985 -1986 let task = tokio::spawn({ -1987 let server = server.clone(); -1988 async move { -1989 for i in 0..2 { -1990 println!("accept: round {i}"); -1991 let Some(conn) = server.accept().await else { -1992 n0_error::bail_any!("Expected an incoming connection"); -1993 }; -1994 let conn = conn.await.anyerr()?; -1995 let (mut send, mut recv) = conn.accept_bi().await.anyerr()?; -1996 let data = recv.read_to_end(1000).await.anyerr()?; -1997 send.write_all(&data).await.anyerr()?; -1998 send.finish().anyerr()?; -1999 conn.closed().await; -2000 } -2001 Ok::<_, Error>(()) -2002 } -2003 }); -2004 -2005 server.online().await; -2006 -2007 let mut addr = server.addr(); -2008 println!("round1: {:?}", addr); -2009 -2010 // remove direct addrs to force relay usage -2011 addr.addrs -2012 .retain(|addr| !matches!(addr, TransportAddr::Ip(_))); -2013 -2014 let conn = client.connect(addr, TEST_ALPN).await?; -2015 let (mut send, mut recv) = conn.open_bi().await.anyerr()?; -2016 send.write_all(b"Hello, world!").await.anyerr()?; -2017 send.finish().anyerr()?; -2018 let data = recv.read_to_end(1000).await.anyerr()?; -2019 conn.close(0u32.into(), b"bye!"); -2020 -2021 assert_eq!(&data, b"Hello, world!"); -2022 -2023 // setup a second relay server -2024 let (new_relay_map, new_relay_url, _guard2) = run_relay_server().await?; -2025 let new_endpoint = new_relay_map -2026 .get(&new_relay_url) -2027 .expect("missing endpoint") -2028 .clone(); -2029 dbg!(&new_relay_map); -2030 -2031 let addr_watcher = server.watch_addr(); -2032 -2033 // add new new relay -2034 assert!( -2035 server -2036 .insert_relay(new_relay_url.clone(), new_endpoint.clone()) -2037 .await -2038 .is_none() -2039 ); -2040 // remove the old relay -2041 assert!(server.remove_relay(&relay_url).await.is_some()); -2042 -2043 println!("------- changed ----- "); -2044 -2045 let mut addr = tokio::time::timeout(Duration::from_secs(10), async move { -2046 let mut stream = addr_watcher.stream(); -2047 while let Some(addr) = stream.next().await { -2048 if addr.relay_urls().next() != Some(&relay_url) { -2049 return addr; -2050 } -2051 } -2052 panic!("failed to change relay"); -2053 }) -2054 .await -2055 .anyerr()?; -2056 -2057 println!("round2: {:?}", addr); -2058 assert_eq!(addr.relay_urls().next(), Some(&new_relay_url)); -2059 -2060 // remove direct addrs to force relay usage -2061 addr.addrs -2062 .retain(|addr| !matches!(addr, TransportAddr::Ip(_))); -2063 -2064 let conn = client.connect(addr, TEST_ALPN).await?; -2065 let (mut send, mut recv) = conn.open_bi().await.anyerr()?; -2066 send.write_all(b"Hello, world!").await.anyerr()?; -2067 send.finish().anyerr()?; -2068 let data = recv.read_to_end(1000).await.anyerr()?; -2069 conn.close(0u32.into(), b"bye!"); -2070 -2071 task.await.anyerr()??; -2072 -2073 client.close().await; -2074 server.close().await; -2075 -2076 assert_eq!(&data, b"Hello, world!"); -2077 -2078 Ok(()) -2079 } -2080 -2081 #[tokio::test] -2082 #[traced_test] -2083 async fn endpoint_bidi_send_recv() -> Result { -2084 let disco = StaticProvider::new(); -2085 let ep1 = Endpoint::empty_builder(RelayMode::Disabled) -2086 .discovery(disco.clone()) -2087 .alpns(vec![TEST_ALPN.to_vec()]) -2088 .bind() -2089 .await?; -2090 -2091 let ep2 = Endpoint::empty_builder(RelayMode::Disabled) -2092 .discovery(disco.clone()) -2093 .alpns(vec![TEST_ALPN.to_vec()]) -2094 .bind() -2095 .await?; -2096 -2097 disco.add_endpoint_info(ep1.addr()); -2098 disco.add_endpoint_info(ep2.addr()); -2099 -2100 let ep1_endpointid = ep1.id(); -2101 let ep2_endpointid = ep2.id(); -2102 eprintln!("endpoint id 1 {ep1_endpointid}"); -2103 eprintln!("endpoint id 2 {ep2_endpointid}"); +1600 let task = tokio::spawn({ +1601 let server = server.clone(); +1602 async move { +1603 let Some(conn) = server.accept().await else { +1604 n0_error::bail_any!("Expected an incoming connection"); +1605 }; +1606 let conn = conn.await.anyerr()?; +1607 let (mut send, mut recv) = conn.accept_bi().await.anyerr()?; +1608 let data = recv.read_to_end(1000).await.anyerr()?; +1609 send.write_all(&data).await.anyerr()?; +1610 send.finish().anyerr()?; +1611 conn.closed().await; +1612 +1613 Ok::<_, Error>(()) +1614 } +1615 }); +1616 +1617 let addr = server.addr(); +1618 let conn = client.connect(addr, TEST_ALPN).await?; +1619 let (mut send, mut recv) = conn.open_bi().await.anyerr()?; +1620 send.write_all(b"Hello, world!").await.anyerr()?; +1621 send.finish().anyerr()?; +1622 let data = recv.read_to_end(1000).await.anyerr()?; +1623 conn.close(0u32.into(), b"bye!"); +1624 +1625 task.await.anyerr()??; +1626 +1627 client.close().await; +1628 server.close().await; +1629 +1630 assert_eq!(&data, b"Hello, world!"); +1631 +1632 Ok(()) +1633 } +1634 +1635 #[tokio::test] +1636 #[traced_test] +1637 async fn endpoint_two_direct_only() -> Result { +1638 // Connect two endpoints on the same network, without a relay server, without +1639 // discovery. +1640 let ep1 = { +1641 let span = info_span!("server"); +1642 let _guard = span.enter(); +1643 Endpoint::builder() +1644 .alpns(vec![TEST_ALPN.to_vec()]) +1645 .relay_mode(RelayMode::Disabled) +1646 .bind() +1647 .await? +1648 }; +1649 let ep2 = { +1650 let span = info_span!("client"); +1651 let _guard = span.enter(); +1652 Endpoint::builder() +1653 .alpns(vec![TEST_ALPN.to_vec()]) +1654 .relay_mode(RelayMode::Disabled) +1655 .bind() +1656 .await? +1657 }; +1658 let ep1_nodeaddr = ep1.addr(); +1659 +1660 #[instrument(name = "client", skip_all)] +1661 async fn connect(ep: Endpoint, dst: EndpointAddr) -> Result<ConnectionError> { +1662 info!(me = %ep.id().fmt_short(), "client starting"); +1663 let conn = ep.connect(dst, TEST_ALPN).await?; +1664 let mut send = conn.open_uni().await.anyerr()?; +1665 send.write_all(b"hello").await.anyerr()?; +1666 send.finish().anyerr()?; +1667 Ok(conn.closed().await) +1668 } +1669 +1670 #[instrument(name = "server", skip_all)] +1671 async fn accept(ep: Endpoint, src: EndpointId) -> Result { +1672 info!(me = %ep.id().fmt_short(), "server starting"); +1673 let conn = ep.accept().await.anyerr()?.await.anyerr()?; +1674 let node_id = conn.remote_id(); +1675 assert_eq!(node_id, src); +1676 let mut recv = conn.accept_uni().await.anyerr()?; +1677 let msg = recv.read_to_end(100).await.anyerr()?; +1678 assert_eq!(msg, b"hello"); +1679 // Dropping the connection closes it just fine. +1680 Ok(()) +1681 } +1682 +1683 let ep1_accept = tokio::spawn(accept(ep1.clone(), ep2.id())); +1684 let ep2_connect = tokio::spawn(connect(ep2.clone(), ep1_nodeaddr)); +1685 +1686 ep1_accept.await.anyerr()??; +1687 let conn_closed = dbg!(ep2_connect.await.anyerr()??); +1688 assert!(matches!( +1689 conn_closed, +1690 ConnectionError::ApplicationClosed(ApplicationClose { .. }) +1691 )); +1692 +1693 Ok(()) +1694 } +1695 +1696 #[tokio::test] +1697 #[traced_test] +1698 async fn endpoint_two_relay_only_becomes_direct() -> Result { +1699 // Connect two endpoints on the same network, via a relay server, without +1700 // discovery. Wait until there is a direct connection. +1701 let (relay_map, _relay_url, _relay_server_guard) = run_relay_server().await?; +1702 let (node_addr_tx, node_addr_rx) = oneshot::channel(); +1703 let qlog = Arc::new(QlogFileGroup::from_env("two_relay_only_becomes_direct")); +1704 +1705 #[instrument(name = "client", skip_all)] +1706 async fn connect( +1707 relay_map: RelayMap, +1708 node_addr_rx: oneshot::Receiver<EndpointAddr>, +1709 qlog: Arc<QlogFileGroup>, +1710 ) -> Result<ConnectionError> { +1711 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); +1712 let secret = SecretKey::generate(&mut rng); +1713 let ep = Endpoint::builder() +1714 .secret_key(secret) +1715 .alpns(vec![TEST_ALPN.to_vec()]) +1716 .insecure_skip_relay_cert_verify(true) +1717 .relay_mode(RelayMode::Custom(relay_map)) +1718 .transport_config(qlog.create("client")?) +1719 .bind() +1720 .await?; +1721 info!(me = %ep.id().fmt_short(), "client starting"); +1722 let dst = node_addr_rx.await.anyerr()?; +1723 +1724 info!(me = %ep.id().fmt_short(), "client connecting"); +1725 let conn = ep.connect(dst, TEST_ALPN).await?; +1726 let mut send = conn.open_uni().await.anyerr()?; +1727 send.write_all(b"hello").await.anyerr()?; +1728 let mut paths = conn.paths().stream(); +1729 info!("Waiting for direct connection"); +1730 while let Some(infos) = paths.next().await { +1731 info!(?infos, "new PathInfos"); +1732 if infos.iter().any(|info| info.is_ip()) { +1733 break; +1734 } +1735 } +1736 info!("Have direct connection"); +1737 send.write_all(b"close please").await.anyerr()?; +1738 send.finish().anyerr()?; +1739 Ok(conn.closed().await) +1740 } +1741 +1742 #[instrument(name = "server", skip_all)] +1743 async fn accept( +1744 relay_map: RelayMap, +1745 node_addr_tx: oneshot::Sender<EndpointAddr>, +1746 qlog: Arc<QlogFileGroup>, +1747 ) -> Result { +1748 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(1u64); +1749 let secret = SecretKey::generate(&mut rng); +1750 let ep = Endpoint::builder() +1751 .secret_key(secret) +1752 .alpns(vec![TEST_ALPN.to_vec()]) +1753 .insecure_skip_relay_cert_verify(true) +1754 .transport_config(qlog.create("server")?) +1755 .relay_mode(RelayMode::Custom(relay_map)) +1756 .bind() +1757 .await?; +1758 ep.online().await; +1759 let mut node_addr = ep.addr(); +1760 node_addr.addrs.retain(|addr| addr.is_relay()); +1761 node_addr_tx.send(node_addr).unwrap(); +1762 +1763 info!(me = %ep.id().fmt_short(), "server starting"); +1764 let conn = ep.accept().await.anyerr()?.await.anyerr()?; +1765 // let node_id = conn.remote_node_id()?; +1766 // assert_eq!(node_id, src); +1767 let mut recv = conn.accept_uni().await.anyerr()?; +1768 let mut msg = [0u8; 5]; +1769 recv.read_exact(&mut msg).await.anyerr()?; +1770 assert_eq!(&msg, b"hello"); +1771 info!("received hello"); +1772 let msg = recv.read_to_end(100).await.anyerr()?; +1773 assert_eq!(msg, b"close please"); +1774 info!("received 'close please'"); +1775 // Dropping the connection closes it just fine. +1776 Ok(()) +1777 } +1778 +1779 let server_task = tokio::spawn(accept(relay_map.clone(), node_addr_tx, qlog.clone())); +1780 let client_task = tokio::spawn(connect(relay_map, node_addr_rx, qlog)); +1781 +1782 server_task.await.anyerr()??; +1783 let conn_closed = dbg!(client_task.await.anyerr()??); +1784 assert!(matches!( +1785 conn_closed, +1786 ConnectionError::ApplicationClosed(ApplicationClose { .. }) +1787 )); +1788 +1789 Ok(()) +1790 } +1791 +1792 #[tokio::test] +1793 #[traced_test] +1794 async fn endpoint_two_relay_only_no_ip() -> Result { +1795 // Connect two endpoints on the same network, via a relay server, without +1796 // discovery. +1797 let (relay_map, _relay_url, _relay_server_guard) = run_relay_server().await?; +1798 let (node_addr_tx, node_addr_rx) = oneshot::channel(); +1799 +1800 #[instrument(name = "client", skip_all)] +1801 async fn connect( +1802 relay_map: RelayMap, +1803 node_addr_rx: oneshot::Receiver<EndpointAddr>, +1804 ) -> Result<ConnectionError> { +1805 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); +1806 let secret = SecretKey::generate(&mut rng); +1807 let ep = Endpoint::builder() +1808 .secret_key(secret) +1809 .alpns(vec![TEST_ALPN.to_vec()]) +1810 .insecure_skip_relay_cert_verify(true) +1811 .relay_mode(RelayMode::Custom(relay_map)) +1812 .clear_ip_transports() // disable direct +1813 .bind() +1814 .await?; +1815 info!(me = %ep.id().fmt_short(), "client starting"); +1816 let dst = node_addr_rx.await.anyerr()?; +1817 +1818 info!(me = %ep.id().fmt_short(), "client connecting"); +1819 let conn = ep.connect(dst, TEST_ALPN).await?; +1820 let mut send = conn.open_uni().await.anyerr()?; +1821 send.write_all(b"hello").await.anyerr()?; +1822 let mut paths = conn.paths().stream(); +1823 info!("Waiting for connection"); +1824 'outer: while let Some(infos) = paths.next().await { +1825 info!(?infos, "new PathInfos"); +1826 for info in infos { +1827 if info.is_ip() { +1828 panic!("should not happen: {:?}", info); +1829 } +1830 if info.is_relay() { +1831 break 'outer; +1832 } +1833 } +1834 } +1835 info!("Have relay connection"); +1836 send.write_all(b"close please").await.anyerr()?; +1837 send.finish().anyerr()?; +1838 Ok(conn.closed().await) +1839 } +1840 +1841 #[instrument(name = "server", skip_all)] +1842 async fn accept( +1843 relay_map: RelayMap, +1844 node_addr_tx: oneshot::Sender<EndpointAddr>, +1845 ) -> Result { +1846 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(1u64); +1847 let secret = SecretKey::generate(&mut rng); +1848 let ep = Endpoint::builder() +1849 .secret_key(secret) +1850 .alpns(vec![TEST_ALPN.to_vec()]) +1851 .insecure_skip_relay_cert_verify(true) +1852 .relay_mode(RelayMode::Custom(relay_map)) +1853 .clear_ip_transports() +1854 .bind() +1855 .await?; +1856 ep.online().await; +1857 let node_addr = ep.addr(); +1858 node_addr_tx.send(node_addr).unwrap(); +1859 +1860 info!(me = %ep.id().fmt_short(), "server starting"); +1861 let conn = ep.accept().await.anyerr()?.await.anyerr()?; +1862 // let node_id = conn.remote_node_id()?; +1863 // assert_eq!(node_id, src); +1864 let mut recv = conn.accept_uni().await.anyerr()?; +1865 let mut msg = [0u8; 5]; +1866 recv.read_exact(&mut msg).await.anyerr()?; +1867 assert_eq!(&msg, b"hello"); +1868 info!("received hello"); +1869 let msg = recv.read_to_end(100).await.anyerr()?; +1870 assert_eq!(msg, b"close please"); +1871 info!("received 'close please'"); +1872 // Dropping the connection closes it just fine. +1873 Ok(()) +1874 } +1875 +1876 let server_task = tokio::spawn(accept(relay_map.clone(), node_addr_tx)); +1877 let client_task = tokio::spawn(connect(relay_map, node_addr_rx)); +1878 +1879 server_task.await.anyerr()??; +1880 let conn_closed = dbg!(client_task.await.anyerr()??); +1881 assert!(matches!( +1882 conn_closed, +1883 ConnectionError::ApplicationClosed(ApplicationClose { .. }) +1884 )); +1885 +1886 Ok(()) +1887 } +1888 +1889 #[tokio::test] +1890 #[traced_test] +1891 async fn endpoint_two_direct_add_relay() -> Result { +1892 // Connect two endpoints on the same network, without relay server and without +1893 // discovery. Add a relay connection later. +1894 let (relay_map, _relay_url, _relay_server_guard) = run_relay_server().await?; +1895 let (node_addr_tx, node_addr_rx) = oneshot::channel(); +1896 +1897 #[instrument(name = "client", skip_all)] +1898 async fn connect( +1899 relay_map: RelayMap, +1900 node_addr_rx: oneshot::Receiver<EndpointAddr>, +1901 ) -> Result<()> { +1902 let secret = SecretKey::from([0u8; 32]); +1903 let ep = Endpoint::builder() +1904 .secret_key(secret) +1905 .alpns(vec![TEST_ALPN.to_vec()]) +1906 .insecure_skip_relay_cert_verify(true) +1907 .relay_mode(RelayMode::Custom(relay_map)) +1908 .bind() +1909 .await?; +1910 info!(me = %ep.id().fmt_short(), "client starting"); +1911 let dst = node_addr_rx.await.anyerr()?; +1912 +1913 info!(me = %ep.id().fmt_short(), "client connecting"); +1914 let conn = ep.connect(dst, TEST_ALPN).await?; +1915 info!(me = %ep.id().fmt_short(), "client connected"); +1916 +1917 // We should be connected via IP, because it is faster than the relay server. +1918 // TODO: Maybe not panic if this is not true? +1919 let path_info = conn.paths().get(); +1920 assert_eq!(path_info.len(), 1); +1921 assert!(path_info.iter().next().unwrap().is_ip()); +1922 +1923 let mut paths = conn.paths().stream(); +1924 time::timeout(Duration::from_secs(5), async move { +1925 while let Some(infos) = paths.next().await { +1926 info!(?infos, "new PathInfos"); +1927 if infos.iter().any(|info| info.is_relay()) { +1928 info!("client has a relay path"); +1929 break; +1930 } +1931 } +1932 }) +1933 .await +1934 .anyerr()?; +1935 +1936 // wait for the server to signal it has the relay connection +1937 let mut stream = conn.accept_uni().await.anyerr()?; +1938 stream.read_to_end(100).await.anyerr()?; +1939 +1940 info!("client closing"); +1941 conn.close(0u8.into(), b""); +1942 ep.close().await; +1943 Ok(()) +1944 } +1945 +1946 #[instrument(name = "server", skip_all)] +1947 async fn accept( +1948 relay_map: RelayMap, +1949 node_addr_tx: oneshot::Sender<EndpointAddr>, +1950 ) -> Result<ConnectionError> { +1951 let secret = SecretKey::from([1u8; 32]); +1952 let ep = Endpoint::builder() +1953 .secret_key(secret) +1954 .alpns(vec![TEST_ALPN.to_vec()]) +1955 .insecure_skip_relay_cert_verify(true) +1956 .relay_mode(RelayMode::Custom(relay_map)) +1957 .bind() +1958 .await?; +1959 ep.online().await; +1960 let node_addr = ep.addr(); +1961 node_addr_tx.send(node_addr).unwrap(); +1962 +1963 info!(me = %ep.id().fmt_short(), "server starting"); +1964 let conn = ep.accept().await.anyerr()?.await.anyerr()?; +1965 info!(me = %ep.id().fmt_short(), "server accepted connection"); +1966 +1967 // Wait for a relay connection to be added. Client does all the asserting here, +1968 // we just want to wait so we get to see all the mechanics of the connection +1969 // being added on this side too. +1970 let mut paths = conn.paths().stream(); +1971 time::timeout(Duration::from_secs(5), async move { +1972 while let Some(infos) = paths.next().await { +1973 info!(?infos, "new PathInfos"); +1974 if infos.iter().any(|path| path.is_relay()) { +1975 info!("server has a relay path"); +1976 break; +1977 } +1978 } +1979 }) +1980 .await +1981 .anyerr()?; +1982 +1983 let mut stream = conn.open_uni().await.anyerr()?; +1984 stream.write_all(b"have relay").await.anyerr()?; +1985 stream.finish().anyerr()?; +1986 info!("waiting conn.closed()"); +1987 +1988 Ok(conn.closed().await) +1989 } +1990 +1991 let server_task = tokio::spawn(accept(relay_map.clone(), node_addr_tx)); +1992 let client_task = tokio::spawn(connect(relay_map, node_addr_rx)); +1993 +1994 client_task.await.anyerr()??; +1995 let conn_closed = dbg!(server_task.await.anyerr()??); +1996 assert!(matches!( +1997 conn_closed, +1998 ConnectionError::ApplicationClosed(ApplicationClose { .. }) +1999 )); +2000 +2001 Ok(()) +2002 } +2003 +2004 #[tokio::test] +2005 #[traced_test] +2006 async fn endpoint_relay_map_change() -> Result { +2007 let (relay_map, relay_url, _guard1) = run_relay_server().await?; +2008 let client = Endpoint::empty_builder(RelayMode::Custom(relay_map.clone())) +2009 .insecure_skip_relay_cert_verify(true) +2010 .bind() +2011 .await?; +2012 let server = Endpoint::empty_builder(RelayMode::Custom(relay_map)) +2013 .insecure_skip_relay_cert_verify(true) +2014 .alpns(vec![TEST_ALPN.to_vec()]) +2015 .bind() +2016 .await?; +2017 +2018 let task = tokio::spawn({ +2019 let server = server.clone(); +2020 async move { +2021 for i in 0..2 { +2022 println!("accept: round {i}"); +2023 let Some(conn) = server.accept().await else { +2024 n0_error::bail_any!("Expected an incoming connection"); +2025 }; +2026 let conn = conn.await.anyerr()?; +2027 let (mut send, mut recv) = conn.accept_bi().await.anyerr()?; +2028 let data = recv.read_to_end(1000).await.anyerr()?; +2029 send.write_all(&data).await.anyerr()?; +2030 send.finish().anyerr()?; +2031 conn.closed().await; +2032 } +2033 Ok::<_, Error>(()) +2034 } +2035 }); +2036 +2037 server.online().await; +2038 +2039 let mut addr = server.addr(); +2040 println!("round1: {:?}", addr); +2041 +2042 // remove direct addrs to force relay usage +2043 addr.addrs +2044 .retain(|addr| !matches!(addr, TransportAddr::Ip(_))); +2045 +2046 let conn = client.connect(addr, TEST_ALPN).await?; +2047 let (mut send, mut recv) = conn.open_bi().await.anyerr()?; +2048 send.write_all(b"Hello, world!").await.anyerr()?; +2049 send.finish().anyerr()?; +2050 let data = recv.read_to_end(1000).await.anyerr()?; +2051 conn.close(0u32.into(), b"bye!"); +2052 +2053 assert_eq!(&data, b"Hello, world!"); +2054 +2055 // setup a second relay server +2056 let (new_relay_map, new_relay_url, _guard2) = run_relay_server().await?; +2057 let new_endpoint = new_relay_map +2058 .get(&new_relay_url) +2059 .expect("missing endpoint") +2060 .clone(); +2061 dbg!(&new_relay_map); +2062 +2063 let addr_watcher = server.watch_addr(); +2064 +2065 // add new new relay +2066 assert!( +2067 server +2068 .insert_relay(new_relay_url.clone(), new_endpoint.clone()) +2069 .await +2070 .is_none() +2071 ); +2072 // remove the old relay +2073 assert!(server.remove_relay(&relay_url).await.is_some()); +2074 +2075 println!("------- changed ----- "); +2076 +2077 let mut addr = tokio::time::timeout(Duration::from_secs(10), async move { +2078 let mut stream = addr_watcher.stream(); +2079 while let Some(addr) = stream.next().await { +2080 if addr.relay_urls().next() != Some(&relay_url) { +2081 return addr; +2082 } +2083 } +2084 panic!("failed to change relay"); +2085 }) +2086 .await +2087 .anyerr()?; +2088 +2089 println!("round2: {:?}", addr); +2090 assert_eq!(addr.relay_urls().next(), Some(&new_relay_url)); +2091 +2092 // remove direct addrs to force relay usage +2093 addr.addrs +2094 .retain(|addr| !matches!(addr, TransportAddr::Ip(_))); +2095 +2096 let conn = client.connect(addr, TEST_ALPN).await?; +2097 let (mut send, mut recv) = conn.open_bi().await.anyerr()?; +2098 send.write_all(b"Hello, world!").await.anyerr()?; +2099 send.finish().anyerr()?; +2100 let data = recv.read_to_end(1000).await.anyerr()?; +2101 conn.close(0u32.into(), b"bye!"); +2102 +2103 task.await.anyerr()??; 2104 -2105 async fn connect_hello(ep: Endpoint, dst: EndpointId) -> Result { -2106 let conn = ep.connect(dst, TEST_ALPN).await?; -2107 let (mut send, mut recv) = conn.open_bi().await.anyerr()?; -2108 info!("sending hello"); -2109 send.write_all(b"hello").await.anyerr()?; -2110 send.finish().anyerr()?; -2111 info!("receiving world"); -2112 let m = recv.read_to_end(100).await.anyerr()?; -2113 assert_eq!(m, b"world"); -2114 conn.close(1u8.into(), b"done"); -2115 Ok(()) -2116 } -2117 -2118 async fn accept_world(ep: Endpoint, src: EndpointId) -> Result { -2119 let incoming = ep.accept().await.anyerr()?; -2120 let mut iconn = incoming.accept().anyerr()?; -2121 let alpn = iconn.alpn().await?; -2122 let conn = iconn.await.anyerr()?; -2123 let endpoint_id = conn.remote_id(); -2124 assert_eq!(endpoint_id, src); -2125 assert_eq!(alpn, TEST_ALPN); -2126 let (mut send, mut recv) = conn.accept_bi().await.anyerr()?; -2127 info!("receiving hello"); -2128 let m = recv.read_to_end(100).await.anyerr()?; -2129 assert_eq!(m, b"hello"); -2130 info!("sending hello"); -2131 send.write_all(b"world").await.anyerr()?; -2132 send.finish().anyerr()?; -2133 match conn.closed().await { -2134 ConnectionError::ApplicationClosed(closed) => { -2135 assert_eq!(closed.error_code, 1u8.into()); -2136 Ok(()) -2137 } -2138 _ => panic!("wrong close error"), -2139 } -2140 } -2141 -2142 let p1_accept = tokio::spawn(accept_world(ep1.clone(), ep2_endpointid).instrument( -2143 info_span!( -2144 "p1_accept", -2145 ep1 = %ep1.id().fmt_short(), -2146 dst = %ep2_endpointid.fmt_short(), -2147 ), -2148 )); -2149 let p2_accept = tokio::spawn(accept_world(ep2.clone(), ep1_endpointid).instrument( -2150 info_span!( -2151 "p2_accept", -2152 ep2 = %ep2.id().fmt_short(), -2153 dst = %ep1_endpointid.fmt_short(), -2154 ), -2155 )); -2156 let p1_connect = tokio::spawn(connect_hello(ep1.clone(), ep2_endpointid).instrument( -2157 info_span!( -2158 "p1_connect", -2159 ep1 = %ep1.id().fmt_short(), -2160 dst = %ep2_endpointid.fmt_short(), -2161 ), -2162 )); -2163 let p2_connect = tokio::spawn(connect_hello(ep2.clone(), ep1_endpointid).instrument( -2164 info_span!( -2165 "p2_connect", -2166 ep2 = %ep2.id().fmt_short(), -2167 dst = %ep1_endpointid.fmt_short(), -2168 ), -2169 )); -2170 -2171 p1_accept.await.anyerr()??; -2172 p2_accept.await.anyerr()??; -2173 p1_connect.await.anyerr()??; -2174 p2_connect.await.anyerr()??; -2175 -2176 Ok(()) -2177 } -2178 -2179 #[tokio::test] -2180 #[traced_test] -2181 async fn test_direct_addresses_no_qad_relay() -> Result { -2182 let (relay_map, _, _guard) = run_relay_server_with(false).await.unwrap(); -2183 -2184 let ep = Endpoint::empty_builder(RelayMode::Custom(relay_map)) -2185 .alpns(vec![TEST_ALPN.to_vec()]) -2186 .insecure_skip_relay_cert_verify(true) -2187 .bind() -2188 .await?; -2189 -2190 assert!(ep.addr().ip_addrs().count() > 0); -2191 -2192 Ok(()) -2193 } -2194 -2195 #[cfg_attr(target_os = "windows", ignore = "flaky")] -2196 #[tokio::test] -2197 #[traced_test] -2198 async fn graceful_close() -> Result { -2199 let client = Endpoint::empty_builder(RelayMode::Disabled).bind().await?; -2200 let server = Endpoint::empty_builder(RelayMode::Disabled) -2201 .alpns(vec![TEST_ALPN.to_vec()]) -2202 .bind() -2203 .await?; -2204 let server_addr = server.addr(); -2205 let server_task = tokio::spawn(async move { -2206 let incoming = server.accept().await.anyerr()?; -2207 let conn = incoming.await.anyerr()?; -2208 let (mut send, mut recv) = conn.accept_bi().await.anyerr()?; -2209 let msg = recv.read_to_end(1_000).await.anyerr()?; -2210 send.write_all(&msg).await.anyerr()?; -2211 send.finish().anyerr()?; -2212 let close_reason = conn.closed().await; -2213 Ok::<_, Error>(close_reason) -2214 }); +2105 client.close().await; +2106 server.close().await; +2107 +2108 assert_eq!(&data, b"Hello, world!"); +2109 +2110 Ok(()) +2111 } +2112 +2113 #[tokio::test] +2114 #[traced_test] +2115 async fn endpoint_bidi_send_recv() -> Result { +2116 let disco = StaticProvider::new(); +2117 let ep1 = Endpoint::empty_builder(RelayMode::Disabled) +2118 .discovery(disco.clone()) +2119 .alpns(vec![TEST_ALPN.to_vec()]) +2120 .bind() +2121 .await?; +2122 +2123 let ep2 = Endpoint::empty_builder(RelayMode::Disabled) +2124 .discovery(disco.clone()) +2125 .alpns(vec![TEST_ALPN.to_vec()]) +2126 .bind() +2127 .await?; +2128 +2129 disco.add_endpoint_info(ep1.addr()); +2130 disco.add_endpoint_info(ep2.addr()); +2131 +2132 let ep1_endpointid = ep1.id(); +2133 let ep2_endpointid = ep2.id(); +2134 eprintln!("endpoint id 1 {ep1_endpointid}"); +2135 eprintln!("endpoint id 2 {ep2_endpointid}"); +2136 +2137 async fn connect_hello(ep: Endpoint, dst: EndpointId) -> Result { +2138 let conn = ep.connect(dst, TEST_ALPN).await?; +2139 let (mut send, mut recv) = conn.open_bi().await.anyerr()?; +2140 info!("sending hello"); +2141 send.write_all(b"hello").await.anyerr()?; +2142 send.finish().anyerr()?; +2143 info!("receiving world"); +2144 let m = recv.read_to_end(100).await.anyerr()?; +2145 assert_eq!(m, b"world"); +2146 conn.close(1u8.into(), b"done"); +2147 Ok(()) +2148 } +2149 +2150 async fn accept_world(ep: Endpoint, src: EndpointId) -> Result { +2151 let incoming = ep.accept().await.anyerr()?; +2152 let mut iconn = incoming.accept().anyerr()?; +2153 let alpn = iconn.alpn().await?; +2154 let conn = iconn.await.anyerr()?; +2155 let endpoint_id = conn.remote_id(); +2156 assert_eq!(endpoint_id, src); +2157 assert_eq!(alpn, TEST_ALPN); +2158 let (mut send, mut recv) = conn.accept_bi().await.anyerr()?; +2159 info!("receiving hello"); +2160 let m = recv.read_to_end(100).await.anyerr()?; +2161 assert_eq!(m, b"hello"); +2162 info!("sending hello"); +2163 send.write_all(b"world").await.anyerr()?; +2164 send.finish().anyerr()?; +2165 match conn.closed().await { +2166 ConnectionError::ApplicationClosed(closed) => { +2167 assert_eq!(closed.error_code, 1u8.into()); +2168 Ok(()) +2169 } +2170 _ => panic!("wrong close error"), +2171 } +2172 } +2173 +2174 let p1_accept = tokio::spawn(accept_world(ep1.clone(), ep2_endpointid).instrument( +2175 info_span!( +2176 "p1_accept", +2177 ep1 = %ep1.id().fmt_short(), +2178 dst = %ep2_endpointid.fmt_short(), +2179 ), +2180 )); +2181 let p2_accept = tokio::spawn(accept_world(ep2.clone(), ep1_endpointid).instrument( +2182 info_span!( +2183 "p2_accept", +2184 ep2 = %ep2.id().fmt_short(), +2185 dst = %ep1_endpointid.fmt_short(), +2186 ), +2187 )); +2188 let p1_connect = tokio::spawn(connect_hello(ep1.clone(), ep2_endpointid).instrument( +2189 info_span!( +2190 "p1_connect", +2191 ep1 = %ep1.id().fmt_short(), +2192 dst = %ep2_endpointid.fmt_short(), +2193 ), +2194 )); +2195 let p2_connect = tokio::spawn(connect_hello(ep2.clone(), ep1_endpointid).instrument( +2196 info_span!( +2197 "p2_connect", +2198 ep2 = %ep2.id().fmt_short(), +2199 dst = %ep1_endpointid.fmt_short(), +2200 ), +2201 )); +2202 +2203 p1_accept.await.anyerr()??; +2204 p2_accept.await.anyerr()??; +2205 p1_connect.await.anyerr()??; +2206 p2_connect.await.anyerr()??; +2207 +2208 Ok(()) +2209 } +2210 +2211 #[tokio::test] +2212 #[traced_test] +2213 async fn test_direct_addresses_no_qad_relay() -> Result { +2214 let (relay_map, _, _guard) = run_relay_server_with(false).await.unwrap(); 2215 -2216 let conn = client.connect(server_addr, TEST_ALPN).await?; -2217 let (mut send, mut recv) = conn.open_bi().await.anyerr()?; -2218 send.write_all(b"Hello, world!").await.anyerr()?; -2219 send.finish().anyerr()?; -2220 recv.read_to_end(1_000).await.anyerr()?; -2221 conn.close(42u32.into(), b"thanks, bye!"); -2222 client.close().await; +2216 let ep = Endpoint::empty_builder(RelayMode::Custom(relay_map)) +2217 .alpns(vec![TEST_ALPN.to_vec()]) +2218 .insecure_skip_relay_cert_verify(true) +2219 .bind() +2220 .await?; +2221 +2222 assert!(ep.addr().ip_addrs().count() > 0); 2223 -2224 let close_err = server_task.await.anyerr()??; -2225 let ConnectionError::ApplicationClosed(app_close) = close_err else { -2226 panic!("Unexpected close reason: {close_err:?}"); -2227 }; -2228 -2229 assert_eq!(app_close.error_code, 42u32.into()); -2230 assert_eq!(app_close.reason.as_ref(), b"thanks, bye!"); -2231 -2232 Ok(()) -2233 } -2234 -2235 #[cfg(feature = "metrics")] -2236 #[tokio::test] -2237 #[traced_test] -2238 async fn metrics_smoke() -> Result { -2239 use iroh_metrics::Registry; -2240 -2241 let secret_key = SecretKey::from_bytes(&[0u8; 32]); -2242 let client = Endpoint::empty_builder(RelayMode::Disabled) -2243 .secret_key(secret_key) -2244 .bind() -2245 .await?; -2246 let secret_key = SecretKey::from_bytes(&[1u8; 32]); -2247 let server = Endpoint::empty_builder(RelayMode::Disabled) -2248 .secret_key(secret_key) -2249 .alpns(vec![TEST_ALPN.to_vec()]) -2250 .bind() -2251 .await?; -2252 let server_addr = server.addr(); -2253 let server_task = tokio::task::spawn(async move { -2254 let conn = server.accept().await.anyerr()?.await.anyerr()?; -2255 let mut uni = conn.accept_uni().await.anyerr()?; -2256 uni.read_to_end(10).await.anyerr()?; -2257 drop(conn); -2258 Ok::<_, Error>(server) -2259 }); -2260 let conn = client.connect(server_addr, TEST_ALPN).await?; -2261 let mut uni = conn.open_uni().await.anyerr()?; -2262 uni.write_all(b"helloworld").await.anyerr()?; -2263 uni.finish().anyerr()?; -2264 conn.closed().await; -2265 drop(conn); -2266 let server = server_task.await.anyerr()??; -2267 -2268 let m = client.metrics(); -2269 // assert_eq!(m.magicsock.num_direct_conns_added.get(), 1); -2270 // assert_eq!(m.magicsock.connection_became_direct.get(), 1); -2271 // assert_eq!(m.magicsock.connection_handshake_success.get(), 1); -2272 // assert_eq!(m.magicsock.endpoints_contacted_directly.get(), 1); -2273 assert!(m.magicsock.recv_datagrams.get() > 0); -2274 -2275 let m = server.metrics(); -2276 // assert_eq!(m.magicsock.num_direct_conns_added.get(), 1); -2277 // assert_eq!(m.magicsock.connection_became_direct.get(), 1); -2278 // assert_eq!(m.magicsock.endpoints_contacted_directly.get(), 1); -2279 // assert_eq!(m.magicsock.connection_handshake_success.get(), 1); -2280 assert!(m.magicsock.recv_datagrams.get() > 0); -2281 -2282 // test openmetrics encoding with labeled subregistries per endpoint -2283 fn register_endpoint(registry: &mut Registry, endpoint: &Endpoint) { -2284 let id = endpoint.id().fmt_short(); -2285 let sub_registry = registry.sub_registry_with_label("id", id.to_string()); -2286 sub_registry.register_all(endpoint.metrics()); -2287 } -2288 let mut registry = Registry::default(); -2289 register_endpoint(&mut registry, &client); -2290 register_endpoint(&mut registry, &server); -2291 // let s = registry.encode_openmetrics_to_string().anyerr()?; -2292 // assert!(s.contains(r#"magicsock_endpoints_contacted_directly_total{id="3b6a27bcce"} 1"#)); -2293 // assert!(s.contains(r#"magicsock_endpoints_contacted_directly_total{id="8a88e3dd74"} 1"#)); -2294 Ok(()) -2295 } -2296 -2297 /// Configures the accept side to take `accept_alpns` ALPNs, then connects to it with `primary_connect_alpn` -2298 /// with `secondary_connect_alpns` set, and finally returns the negotiated ALPN. -2299 async fn alpn_connection_test( -2300 accept_alpns: Vec<Vec<u8>>, -2301 primary_connect_alpn: &[u8], -2302 secondary_connect_alpns: Vec<Vec<u8>>, -2303 ) -> Result<Vec<u8>> { -2304 let client = Endpoint::empty_builder(RelayMode::Disabled).bind().await?; -2305 let server = Endpoint::empty_builder(RelayMode::Disabled) -2306 .alpns(accept_alpns) -2307 .bind() -2308 .await?; -2309 let server_addr = server.addr(); -2310 let server_task = tokio::spawn({ -2311 let server = server.clone(); -2312 async move { -2313 let incoming = server.accept().await.anyerr()?; -2314 let conn = incoming.await.anyerr()?; -2315 conn.close(0u32.into(), b"bye!"); -2316 n0_error::Ok(conn.alpn().to_vec()) -2317 } -2318 }); -2319 -2320 let conn = client -2321 .connect_with_opts( -2322 server_addr, -2323 primary_connect_alpn, -2324 ConnectOptions::new().with_additional_alpns(secondary_connect_alpns), -2325 ) -2326 .await?; -2327 let conn = conn.await.anyerr()?; -2328 let client_alpn = conn.alpn(); -2329 conn.closed().await; -2330 client.close().await; -2331 server.close().await; -2332 -2333 let server_alpn = server_task.await.anyerr()??; -2334 -2335 assert_eq!(client_alpn, server_alpn); -2336 -2337 Ok(server_alpn.to_vec()) -2338 } -2339 -2340 #[tokio::test] -2341 #[traced_test] -2342 async fn connect_multiple_alpn_negotiated() -> Result { -2343 const ALPN_ONE: &[u8] = b"alpn/1"; -2344 const ALPN_TWO: &[u8] = b"alpn/2"; -2345 -2346 assert_eq!( -2347 alpn_connection_test( -2348 // Prefer version 2 over version 1 on the accept side -2349 vec![ALPN_TWO.to_vec(), ALPN_ONE.to_vec()], -2350 ALPN_TWO, -2351 vec![ALPN_ONE.to_vec()], -2352 ) -2353 .await?, -2354 ALPN_TWO.to_vec(), -2355 "accept side prefers version 2 over 1" -2356 ); -2357 -2358 assert_eq!( -2359 alpn_connection_test( -2360 // Only support the old version -2361 vec![ALPN_ONE.to_vec()], -2362 ALPN_TWO, -2363 vec![ALPN_ONE.to_vec()], -2364 ) -2365 .await?, -2366 ALPN_ONE.to_vec(), -2367 "accept side only supports the old version" -2368 ); -2369 -2370 assert_eq!( -2371 alpn_connection_test( -2372 vec![ALPN_TWO.to_vec(), ALPN_ONE.to_vec()], -2373 ALPN_ONE, -2374 vec![ALPN_TWO.to_vec()], -2375 ) -2376 .await?, -2377 ALPN_TWO.to_vec(), -2378 "connect side ALPN order doesn't matter" -2379 ); -2380 -2381 assert_eq!( -2382 alpn_connection_test(vec![ALPN_TWO.to_vec(), ALPN_ONE.to_vec()], ALPN_ONE, vec![],) -2383 .await?, -2384 ALPN_ONE.to_vec(), -2385 "connect side only supports the old version" -2386 ); -2387 -2388 Ok(()) -2389 } -2390 -2391 #[tokio::test] -2392 #[traced_test] -2393 async fn watch_net_report() -> Result { -2394 let endpoint = Endpoint::empty_builder(RelayMode::Staging).bind().await?; -2395 -2396 // can get a first report -2397 endpoint.net_report().updated().await.anyerr()?; -2398 -2399 Ok(()) -2400 } +2224 Ok(()) +2225 } +2226 +2227 #[cfg_attr(target_os = "windows", ignore = "flaky")] +2228 #[tokio::test] +2229 #[traced_test] +2230 async fn graceful_close() -> Result { +2231 let client = Endpoint::empty_builder(RelayMode::Disabled).bind().await?; +2232 let server = Endpoint::empty_builder(RelayMode::Disabled) +2233 .alpns(vec![TEST_ALPN.to_vec()]) +2234 .bind() +2235 .await?; +2236 let server_addr = server.addr(); +2237 let server_task = tokio::spawn(async move { +2238 let incoming = server.accept().await.anyerr()?; +2239 let conn = incoming.await.anyerr()?; +2240 let (mut send, mut recv) = conn.accept_bi().await.anyerr()?; +2241 let msg = recv.read_to_end(1_000).await.anyerr()?; +2242 send.write_all(&msg).await.anyerr()?; +2243 send.finish().anyerr()?; +2244 let close_reason = conn.closed().await; +2245 Ok::<_, Error>(close_reason) +2246 }); +2247 +2248 let conn = client.connect(server_addr, TEST_ALPN).await?; +2249 let (mut send, mut recv) = conn.open_bi().await.anyerr()?; +2250 send.write_all(b"Hello, world!").await.anyerr()?; +2251 send.finish().anyerr()?; +2252 recv.read_to_end(1_000).await.anyerr()?; +2253 conn.close(42u32.into(), b"thanks, bye!"); +2254 client.close().await; +2255 +2256 let close_err = server_task.await.anyerr()??; +2257 let ConnectionError::ApplicationClosed(app_close) = close_err else { +2258 panic!("Unexpected close reason: {close_err:?}"); +2259 }; +2260 +2261 assert_eq!(app_close.error_code, 42u32.into()); +2262 assert_eq!(app_close.reason.as_ref(), b"thanks, bye!"); +2263 +2264 Ok(()) +2265 } +2266 +2267 #[cfg(feature = "metrics")] +2268 #[tokio::test] +2269 #[traced_test] +2270 async fn metrics_smoke() -> Result { +2271 use iroh_metrics::Registry; +2272 +2273 let secret_key = SecretKey::from_bytes(&[0u8; 32]); +2274 let client = Endpoint::empty_builder(RelayMode::Disabled) +2275 .secret_key(secret_key) +2276 .bind() +2277 .await?; +2278 let secret_key = SecretKey::from_bytes(&[1u8; 32]); +2279 let server = Endpoint::empty_builder(RelayMode::Disabled) +2280 .secret_key(secret_key) +2281 .alpns(vec![TEST_ALPN.to_vec()]) +2282 .bind() +2283 .await?; +2284 let server_addr = server.addr(); +2285 let server_task = tokio::task::spawn(async move { +2286 let conn = server.accept().await.anyerr()?.await.anyerr()?; +2287 let mut uni = conn.accept_uni().await.anyerr()?; +2288 uni.read_to_end(10).await.anyerr()?; +2289 drop(conn); +2290 Ok::<_, Error>(server) +2291 }); +2292 let conn = client.connect(server_addr, TEST_ALPN).await?; +2293 let mut uni = conn.open_uni().await.anyerr()?; +2294 uni.write_all(b"helloworld").await.anyerr()?; +2295 uni.finish().anyerr()?; +2296 conn.closed().await; +2297 drop(conn); +2298 let server = server_task.await.anyerr()??; +2299 +2300 let m = client.metrics(); +2301 // assert_eq!(m.magicsock.num_direct_conns_added.get(), 1); +2302 // assert_eq!(m.magicsock.connection_became_direct.get(), 1); +2303 // assert_eq!(m.magicsock.connection_handshake_success.get(), 1); +2304 // assert_eq!(m.magicsock.endpoints_contacted_directly.get(), 1); +2305 assert!(m.magicsock.recv_datagrams.get() > 0); +2306 +2307 let m = server.metrics(); +2308 // assert_eq!(m.magicsock.num_direct_conns_added.get(), 1); +2309 // assert_eq!(m.magicsock.connection_became_direct.get(), 1); +2310 // assert_eq!(m.magicsock.endpoints_contacted_directly.get(), 1); +2311 // assert_eq!(m.magicsock.connection_handshake_success.get(), 1); +2312 assert!(m.magicsock.recv_datagrams.get() > 0); +2313 +2314 // test openmetrics encoding with labeled subregistries per endpoint +2315 fn register_endpoint(registry: &mut Registry, endpoint: &Endpoint) { +2316 let id = endpoint.id().fmt_short(); +2317 let sub_registry = registry.sub_registry_with_label("id", id.to_string()); +2318 sub_registry.register_all(endpoint.metrics()); +2319 } +2320 let mut registry = Registry::default(); +2321 register_endpoint(&mut registry, &client); +2322 register_endpoint(&mut registry, &server); +2323 // let s = registry.encode_openmetrics_to_string().anyerr()?; +2324 // assert!(s.contains(r#"magicsock_endpoints_contacted_directly_total{id="3b6a27bcce"} 1"#)); +2325 // assert!(s.contains(r#"magicsock_endpoints_contacted_directly_total{id="8a88e3dd74"} 1"#)); +2326 Ok(()) +2327 } +2328 +2329 /// Configures the accept side to take `accept_alpns` ALPNs, then connects to it with `primary_connect_alpn` +2330 /// with `secondary_connect_alpns` set, and finally returns the negotiated ALPN. +2331 async fn alpn_connection_test( +2332 accept_alpns: Vec<Vec<u8>>, +2333 primary_connect_alpn: &[u8], +2334 secondary_connect_alpns: Vec<Vec<u8>>, +2335 ) -> Result<Vec<u8>> { +2336 let client = Endpoint::empty_builder(RelayMode::Disabled).bind().await?; +2337 let server = Endpoint::empty_builder(RelayMode::Disabled) +2338 .alpns(accept_alpns) +2339 .bind() +2340 .await?; +2341 let server_addr = server.addr(); +2342 let server_task = tokio::spawn({ +2343 let server = server.clone(); +2344 async move { +2345 let incoming = server.accept().await.anyerr()?; +2346 let conn = incoming.await.anyerr()?; +2347 conn.close(0u32.into(), b"bye!"); +2348 n0_error::Ok(conn.alpn().to_vec()) +2349 } +2350 }); +2351 +2352 let conn = client +2353 .connect_with_opts( +2354 server_addr, +2355 primary_connect_alpn, +2356 ConnectOptions::new().with_additional_alpns(secondary_connect_alpns), +2357 ) +2358 .await?; +2359 let conn = conn.await.anyerr()?; +2360 let client_alpn = conn.alpn(); +2361 conn.closed().await; +2362 client.close().await; +2363 server.close().await; +2364 +2365 let server_alpn = server_task.await.anyerr()??; +2366 +2367 assert_eq!(client_alpn, server_alpn); +2368 +2369 Ok(server_alpn.to_vec()) +2370 } +2371 +2372 #[tokio::test] +2373 #[traced_test] +2374 async fn connect_multiple_alpn_negotiated() -> Result { +2375 const ALPN_ONE: &[u8] = b"alpn/1"; +2376 const ALPN_TWO: &[u8] = b"alpn/2"; +2377 +2378 assert_eq!( +2379 alpn_connection_test( +2380 // Prefer version 2 over version 1 on the accept side +2381 vec![ALPN_TWO.to_vec(), ALPN_ONE.to_vec()], +2382 ALPN_TWO, +2383 vec![ALPN_ONE.to_vec()], +2384 ) +2385 .await?, +2386 ALPN_TWO.to_vec(), +2387 "accept side prefers version 2 over 1" +2388 ); +2389 +2390 assert_eq!( +2391 alpn_connection_test( +2392 // Only support the old version +2393 vec![ALPN_ONE.to_vec()], +2394 ALPN_TWO, +2395 vec![ALPN_ONE.to_vec()], +2396 ) +2397 .await?, +2398 ALPN_ONE.to_vec(), +2399 "accept side only supports the old version" +2400 ); 2401 -2402 /// Tests that initial connection establishment isn't extremely slow compared -2403 /// to subsequent connections. -2404 /// -2405 /// This is a time based test, but uses a very large ratio to reduce flakiness. -2406 /// It also does a number of connections to average out any anomalies. -2407 #[tokio::test] -2408 #[traced_test] -2409 async fn connect_multi_time() -> Result { -2410 let n = 32; -2411 -2412 const NOOP_ALPN: &[u8] = b"noop"; -2413 -2414 #[derive(Debug, Clone)] -2415 struct Noop; -2416 -2417 impl ProtocolHandler for Noop { -2418 async fn accept(&self, connection: Connection) -> Result<(), AcceptError> { -2419 connection.closed().await; -2420 Ok(()) -2421 } -2422 } -2423 -2424 async fn noop_server() -> Result<(Router, EndpointAddr)> { -2425 let endpoint = Endpoint::empty_builder(RelayMode::Disabled) -2426 .bind() -2427 .await -2428 .anyerr()?; -2429 let addr = endpoint.addr(); -2430 let router = Router::builder(endpoint).accept(NOOP_ALPN, Noop).spawn(); -2431 Ok((router, addr)) -2432 } +2402 assert_eq!( +2403 alpn_connection_test( +2404 vec![ALPN_TWO.to_vec(), ALPN_ONE.to_vec()], +2405 ALPN_ONE, +2406 vec![ALPN_TWO.to_vec()], +2407 ) +2408 .await?, +2409 ALPN_TWO.to_vec(), +2410 "connect side ALPN order doesn't matter" +2411 ); +2412 +2413 assert_eq!( +2414 alpn_connection_test(vec![ALPN_TWO.to_vec(), ALPN_ONE.to_vec()], ALPN_ONE, vec![],) +2415 .await?, +2416 ALPN_ONE.to_vec(), +2417 "connect side only supports the old version" +2418 ); +2419 +2420 Ok(()) +2421 } +2422 +2423 #[tokio::test] +2424 #[traced_test] +2425 async fn watch_net_report() -> Result { +2426 let endpoint = Endpoint::empty_builder(RelayMode::Staging).bind().await?; +2427 +2428 // can get a first report +2429 endpoint.net_report().updated().await.anyerr()?; +2430 +2431 Ok(()) +2432 } 2433 -2434 let routers = stream::iter(0..n) -2435 .map(|_| noop_server()) -2436 .buffered_unordered(32) -2437 .collect::<Vec<_>>() -2438 .await -2439 .into_iter() -2440 .collect::<Result<Vec<_>, _>>() -2441 .anyerr()?; -2442 -2443 let addrs = routers -2444 .iter() -2445 .map(|(_, addr)| addr.clone()) -2446 .collect::<Vec<_>>(); -2447 let ids = addrs.iter().map(|addr| addr.id).collect::<Vec<_>>(); -2448 let discovery = StaticProvider::from_endpoint_info(addrs); -2449 let endpoint = Endpoint::empty_builder(RelayMode::Disabled) -2450 .discovery(discovery) -2451 .bind() -2452 .await -2453 .anyerr()?; -2454 // wait for the endpoint to be initialized. This should not be needed, -2455 // but we don't want to measure endpoint init time but connection time -2456 // from a fully initialized endpoint. -2457 endpoint.addr(); -2458 let t0 = Instant::now(); -2459 for id in &ids { -2460 let conn = endpoint.connect(*id, NOOP_ALPN).await?; -2461 conn.close(0u32.into(), b"done"); -2462 } -2463 let dt0 = t0.elapsed().as_secs_f64(); -2464 let t1 = Instant::now(); -2465 for id in &ids { -2466 let conn = endpoint.connect(*id, NOOP_ALPN).await?; -2467 conn.close(0u32.into(), b"done"); -2468 } -2469 let dt1 = t1.elapsed().as_secs_f64(); -2470 -2471 assert!(dt0 / dt1 < 20.0, "First round: {dt0}s, second round {dt1}s"); -2472 Ok(()) -2473 } +2434 /// Tests that initial connection establishment isn't extremely slow compared +2435 /// to subsequent connections. +2436 /// +2437 /// This is a time based test, but uses a very large ratio to reduce flakiness. +2438 /// It also does a number of connections to average out any anomalies. +2439 #[tokio::test] +2440 #[traced_test] +2441 async fn connect_multi_time() -> Result { +2442 let n = 32; +2443 +2444 const NOOP_ALPN: &[u8] = b"noop"; +2445 +2446 #[derive(Debug, Clone)] +2447 struct Noop; +2448 +2449 impl ProtocolHandler for Noop { +2450 async fn accept(&self, connection: Connection) -> Result<(), AcceptError> { +2451 connection.closed().await; +2452 Ok(()) +2453 } +2454 } +2455 +2456 async fn noop_server() -> Result<(Router, EndpointAddr)> { +2457 let endpoint = Endpoint::empty_builder(RelayMode::Disabled) +2458 .bind() +2459 .await +2460 .anyerr()?; +2461 let addr = endpoint.addr(); +2462 let router = Router::builder(endpoint).accept(NOOP_ALPN, Noop).spawn(); +2463 Ok((router, addr)) +2464 } +2465 +2466 let routers = stream::iter(0..n) +2467 .map(|_| noop_server()) +2468 .buffered_unordered(32) +2469 .collect::<Vec<_>>() +2470 .await +2471 .into_iter() +2472 .collect::<Result<Vec<_>, _>>() +2473 .anyerr()?; 2474 -2475 #[tokio::test] -2476 async fn test_custom_relay() -> Result { -2477 let _ep = Endpoint::empty_builder(RelayMode::custom([RelayUrl::from_str( -2478 "https://use1-1.relay.n0.iroh-canary.iroh.link.", -2479 )?])) -2480 .bind() -2481 .await?; -2482 -2483 let relays = RelayMap::try_from_iter([ -2484 "https://use1-1.relay.n0.iroh.iroh.link/", -2485 "https://euc1-1.relay.n0.iroh.iroh.link/", -2486 ])?; -2487 let _ep = Endpoint::empty_builder(RelayMode::Custom(relays)) -2488 .bind() -2489 .await?; -2490 -2491 Ok(()) -2492 } -2493} \ No newline at end of file +2475 let addrs = routers +2476 .iter() +2477 .map(|(_, addr)| addr.clone()) +2478 .collect::<Vec<_>>(); +2479 let ids = addrs.iter().map(|addr| addr.id).collect::<Vec<_>>(); +2480 let discovery = StaticProvider::from_endpoint_info(addrs); +2481 let endpoint = Endpoint::empty_builder(RelayMode::Disabled) +2482 .discovery(discovery) +2483 .bind() +2484 .await +2485 .anyerr()?; +2486 // wait for the endpoint to be initialized. This should not be needed, +2487 // but we don't want to measure endpoint init time but connection time +2488 // from a fully initialized endpoint. +2489 endpoint.addr(); +2490 let t0 = Instant::now(); +2491 for id in &ids { +2492 let conn = endpoint.connect(*id, NOOP_ALPN).await?; +2493 conn.close(0u32.into(), b"done"); +2494 } +2495 let dt0 = t0.elapsed().as_secs_f64(); +2496 let t1 = Instant::now(); +2497 for id in &ids { +2498 let conn = endpoint.connect(*id, NOOP_ALPN).await?; +2499 conn.close(0u32.into(), b"done"); +2500 } +2501 let dt1 = t1.elapsed().as_secs_f64(); +2502 +2503 assert!(dt0 / dt1 < 20.0, "First round: {dt0}s, second round {dt1}s"); +2504 Ok(()) +2505 } +2506 +2507 #[tokio::test] +2508 async fn test_custom_relay() -> Result { +2509 let _ep = Endpoint::empty_builder(RelayMode::custom([RelayUrl::from_str( +2510 "https://use1-1.relay.n0.iroh-canary.iroh.link.", +2511 )?])) +2512 .bind() +2513 .await?; +2514 +2515 let relays = RelayMap::try_from_iter([ +2516 "https://use1-1.relay.n0.iroh.iroh.link/", +2517 "https://euc1-1.relay.n0.iroh.iroh.link/", +2518 ])?; +2519 let _ep = Endpoint::empty_builder(RelayMode::Custom(relays)) +2520 .bind() +2521 .await?; +2522 +2523 Ok(()) +2524 } +2525} \ No newline at end of file diff --git a/pr/3734/docs/src/iroh/endpoint/connection.rs.html b/pr/3734/docs/src/iroh/endpoint/connection.rs.html index f9d91b04b7..03a53634b3 100644 --- a/pr/3734/docs/src/iroh/endpoint/connection.rs.html +++ b/pr/3734/docs/src/iroh/endpoint/connection.rs.html @@ -32,1416 +32,1444 @@ 32use n0_future::{TryFutureExt, future::Boxed as BoxFuture, time::Duration}; 33use n0_watcher::Watcher; 34use pin_project::pin_project; -35use quinn::{ -36 AcceptBi, AcceptUni, ConnectionError, ConnectionStats, OpenBi, OpenUni, ReadDatagram, -37 RetryError, SendDatagramError, ServerConfig, Side, VarInt, WeakConnectionHandle, -38}; -39use tracing::warn; -40 -41use crate::{ -42 Endpoint, -43 endpoint::AfterHandshakeOutcome, -44 magicsock::{ -45 RemoteStateActorStoppedError, -46 remote_map::{PathInfoList, PathsWatcher}, +35use quinn::WeakConnectionHandle; +36use tracing::warn; +37 +38use crate::{ +39 Endpoint, +40 endpoint::{ +41 AfterHandshakeOutcome, +42 quic::{ +43 AcceptBi, AcceptUni, ConnectionError, ConnectionStats, Controller, +44 ExportKeyingMaterialError, OpenBi, OpenUni, PathId, ReadDatagram, SendDatagram, +45 SendDatagramError, ServerConfig, Side, VarInt, +46 }, 47 }, -48}; -49 -50/// Future produced by [`Endpoint::accept`]. -51#[derive(derive_more::Debug)] -52#[pin_project] -53pub struct Accept<'a> { -54 #[pin] -55 #[debug("quinn::Accept")] -56 pub(crate) inner: quinn::Accept<'a>, -57 pub(crate) ep: Endpoint, -58} -59 -60impl Future for Accept<'_> { -61 type Output = Option<Incoming>; -62 -63 fn poll(self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll<Self::Output> { -64 let this = self.project(); -65 match this.inner.poll(cx) { -66 Poll::Pending => Poll::Pending, -67 Poll::Ready(None) => Poll::Ready(None), -68 Poll::Ready(Some(inner)) => Poll::Ready(Some(Incoming { -69 inner, -70 ep: this.ep.clone(), -71 })), -72 } -73 } -74} -75 -76/// An incoming connection for which the server has not yet begun its parts of the -77/// handshake. -78#[derive(Debug)] -79pub struct Incoming { -80 inner: quinn::Incoming, -81 ep: Endpoint, -82} -83 -84impl Incoming { -85 /// Attempts to accept this incoming connection (an error may still occur). -86 /// -87 /// Errors occurring here are likely not caused by the application or remote. The QUIC -88 /// connection listens on a normal UDP socket and any reachable network endpoint can -89 /// send datagrams to it, solicited or not. Even if the first few bytes look like a -90 /// QUIC packet, it might not even be a QUIC packet that is being received. -91 /// -92 /// Thus it is common to simply log the errors here and accept them as something which -93 /// can happen. -94 pub fn accept(self) -> Result<Accepting, ConnectionError> { -95 self.inner -96 .accept() -97 .map(|conn| Accepting::new(conn, self.ep)) -98 } -99 -100 /// Accepts this incoming connection using a custom configuration. -101 /// -102 /// See [`accept()`] for more details. -103 /// -104 /// [`accept()`]: Incoming::accept -105 pub fn accept_with( -106 self, -107 server_config: Arc<ServerConfig>, -108 ) -> Result<Accepting, ConnectionError> { -109 self.inner -110 .accept_with(server_config) -111 .map(|conn| Accepting::new(conn, self.ep)) -112 } -113 -114 /// Rejects this incoming connection attempt. -115 pub fn refuse(self) { -116 self.inner.refuse() -117 } -118 -119 /// Responds with a retry packet. -120 /// -121 /// This requires the client to retry with address validation. -122 /// -123 /// Errors if `remote_address_validated()` is true. -124 #[allow(clippy::result_large_err)] -125 pub fn retry(self) -> Result<(), RetryError> { -126 self.inner.retry() +48 magicsock::{ +49 RemoteStateActorStoppedError, +50 remote_map::{PathInfoList, PathsWatcher}, +51 }, +52}; +53 +54/// Future produced by [`Endpoint::accept`]. +55#[derive(derive_more::Debug)] +56#[pin_project] +57pub struct Accept<'a> { +58 #[pin] +59 #[debug("quinn::Accept")] +60 pub(crate) inner: quinn::Accept<'a>, +61 pub(crate) ep: Endpoint, +62} +63 +64impl Future for Accept<'_> { +65 type Output = Option<Incoming>; +66 +67 fn poll(self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll<Self::Output> { +68 let this = self.project(); +69 match this.inner.poll(cx) { +70 Poll::Pending => Poll::Pending, +71 Poll::Ready(None) => Poll::Ready(None), +72 Poll::Ready(Some(inner)) => Poll::Ready(Some(Incoming { +73 inner, +74 ep: this.ep.clone(), +75 })), +76 } +77 } +78} +79 +80/// An incoming connection for which the server has not yet begun its parts of the +81/// handshake. +82#[derive(Debug)] +83pub struct Incoming { +84 inner: quinn::Incoming, +85 ep: Endpoint, +86} +87 +88impl Incoming { +89 /// Attempts to accept this incoming connection (an error may still occur). +90 /// +91 /// Errors occurring here are likely not caused by the application or remote. The QUIC +92 /// connection listens on a normal UDP socket and any reachable network endpoint can +93 /// send datagrams to it, solicited or not. Even if the first few bytes look like a +94 /// QUIC packet, it might not even be a QUIC packet that is being received. +95 /// +96 /// Thus it is common to simply log the errors here and accept them as something which +97 /// can happen. +98 pub fn accept(self) -> Result<Accepting, ConnectionError> { +99 self.inner +100 .accept() +101 .map(|conn| Accepting::new(conn, self.ep)) +102 } +103 +104 /// Accepts this incoming connection using a custom configuration. +105 /// +106 /// Use the [`Endpoint::create_server_config_builder`] method to create a [`ServerConfigBuilder`] +107 /// to customize a [`ServerConfig`]. +108 /// +109 /// See [`accept()`] for more details. +110 /// +111 /// [`accept()`]: Incoming::accept +112 /// [`Endpoint::create_server_config_builder`]: crate::Endpoint::create_server_config_builder +113 /// [`ServerConfigBuilder`]: crate::endpoint::ServerConfigBuilder +114 /// [`ServerConfig`]: crate::endpoint::ServerConfig +115 pub fn accept_with( +116 self, +117 server_config: Arc<ServerConfig>, +118 ) -> Result<Accepting, ConnectionError> { +119 self.inner +120 .accept_with(server_config.to_inner_arc()) +121 .map(|conn| Accepting::new(conn, self.ep)) +122 } +123 +124 /// Rejects this incoming connection attempt. +125 pub fn refuse(self) { +126 self.inner.refuse() 127 } 128 -129 /// Ignores this incoming connection attempt, not sending any packet in response. -130 pub fn ignore(self) { -131 self.inner.ignore() -132 } -133 -134 /// Returns the local IP address which was used when the peer established the -135 /// connection. -136 pub fn local_ip(&self) -> Option<IpAddr> { -137 self.inner.local_ip() -138 } -139 -140 /// Returns the peer's UDP address. -141 pub fn remote_address(&self) -> SocketAddr { -142 self.inner.remote_address() -143 } -144 -145 /// Whether the socket address that is initiating this connection has been validated. -146 /// -147 /// This means that the sender of the initial packet has proved that they can receive -148 /// traffic sent to `self.remote_address()`. -149 pub fn remote_address_validated(&self) -> bool { -150 self.inner.remote_address_validated() -151 } -152} -153 -154impl IntoFuture for Incoming { -155 type Output = Result<Connection, ConnectingError>; -156 type IntoFuture = IncomingFuture; -157 -158 fn into_future(self) -> Self::IntoFuture { -159 IncomingFuture(Box::pin(async move { -160 let quinn_conn = self.inner.into_future().await?; -161 let conn = conn_from_quinn_conn(quinn_conn, &self.ep)?.await?; -162 Ok(conn) -163 })) -164 } -165} -166 -167/// Adaptor to let [`Incoming`] be `await`ed like a [`Connecting`]. -168#[derive(derive_more::Debug)] -169#[debug("IncomingFuture")] -170pub struct IncomingFuture(BoxFuture<Result<Connection, ConnectingError>>); -171 -172impl Future for IncomingFuture { -173 type Output = Result<Connection, ConnectingError>; -174 -175 fn poll(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll<Self::Output> { -176 self.0.poll_unpin(cx) -177 } -178} -179 -180/// Extracts the ALPN protocol from the peer's handshake data. -181fn alpn_from_quinn_conn(conn: &quinn::Connection) -> Option<Vec<u8>> { -182 let data = conn.handshake_data()?; -183 match data.downcast::<quinn::crypto::rustls::HandshakeData>() { -184 Ok(data) => data.protocol, -185 Err(_) => None, -186 } -187} -188 -189async fn alpn_from_quinn_connecting(conn: &mut quinn::Connecting) -> Result<Vec<u8>, AlpnError> { -190 let data = conn.handshake_data().await?; -191 match data.downcast::<quinn::crypto::rustls::HandshakeData>() { -192 Ok(data) => match data.protocol { -193 Some(protocol) => Ok(protocol), -194 None => Err(e!(AlpnError::Unavailable)), -195 }, -196 Err(_) => Err(e!(AlpnError::UnknownHandshake)), -197 } -198} -199 -200#[stack_error(add_meta, derive, from_sources)] -201#[allow(missing_docs)] -202#[non_exhaustive] -203#[derive(Clone)] -204pub enum AuthenticationError { -205 #[error(transparent)] -206 RemoteId { source: RemoteEndpointIdError }, -207 #[error("no ALPN provided")] -208 NoAlpn {}, -209} -210 -211/// Converts a `quinn::Connection` to a `Connection`. -212/// -213/// Returns an error if there was a connection error, the handshake data has not completed -214/// or if the remote did not set an ALPN. -215/// -216/// Otherwise returns a future that completes once the connection has been registered with the -217/// magicsock. This future can return an [`RemoteStateActorStoppedError`], which will only be -218/// emitted if the endpoint is closing. -219/// -220/// The returned future is `'static`, so it can be stored without being lifetime-bound on `&ep`. -221fn conn_from_quinn_conn( -222 conn: quinn::Connection, -223 ep: &Endpoint, -224) -> Result< -225 impl Future<Output = Result<Connection, ConnectingError>> + Send + 'static, -226 ConnectingError, -227> { -228 let info = match static_info_from_conn(&conn) { -229 Ok(val) => val, -230 Err(auth_err) => { -231 // If the authentication error raced with a connection error, the connection -232 // error wins. -233 if let Some(conn_err) = conn.close_reason() { -234 return Err(e!(ConnectingError::ConnectionError { source: conn_err })); -235 } else { -236 return Err(e!(ConnectingError::HandshakeFailure { source: auth_err })); -237 } -238 } -239 }; +129 /// Responds with a retry packet. +130 /// +131 /// This requires the client to retry with address validation. +132 /// +133 /// Errors if `remote_address_validated()` is true. +134 #[allow(clippy::result_large_err)] +135 pub fn retry(self) -> Result<(), RetryError> { +136 self.inner +137 .retry() +138 .map_err(|err| e!(RetryError { err, ep: self.ep })) +139 } +140 +141 /// Ignores this incoming connection attempt, not sending any packet in response. +142 pub fn ignore(self) { +143 self.inner.ignore() +144 } +145 +146 /// Returns the local IP address which was used when the peer established the +147 /// connection. +148 pub fn local_ip(&self) -> Option<IpAddr> { +149 self.inner.local_ip() +150 } +151 +152 /// Returns the peer's UDP address. +153 pub fn remote_address(&self) -> SocketAddr { +154 self.inner.remote_address() +155 } +156 +157 /// Whether the socket address that is initiating this connection has been validated. +158 /// +159 /// This means that the sender of the initial packet has proved that they can receive +160 /// traffic sent to `self.remote_address()`. +161 pub fn remote_address_validated(&self) -> bool { +162 self.inner.remote_address_validated() +163 } +164} +165 +166impl IntoFuture for Incoming { +167 type Output = Result<Connection, ConnectingError>; +168 type IntoFuture = IncomingFuture; +169 +170 fn into_future(self) -> Self::IntoFuture { +171 IncomingFuture(Box::pin(async move { +172 let quinn_conn = self.inner.into_future().await?; +173 let conn = conn_from_quinn_conn(quinn_conn, &self.ep)?.await?; +174 Ok(conn) +175 })) +176 } +177} +178 +179/// Error for attempting to retry an [`Incoming`] which already bears a token from a previous retry +180#[stack_error(derive, add_meta, from_sources)] +181#[error("retry() with validated Incoming")] +182pub struct RetryError { +183 err: quinn::RetryError, +184 ep: Endpoint, +185} +186 +187impl RetryError { +188 /// Get the [`Incoming`] +189 pub fn into_incoming(self) -> Incoming { +190 Incoming { +191 inner: self.err.into_incoming(), +192 ep: self.ep, +193 } +194 } +195} +196 +197/// Adaptor to let [`Incoming`] be `await`ed like a [`Connecting`]. +198#[derive(derive_more::Debug)] +199#[debug("IncomingFuture")] +200pub struct IncomingFuture(BoxFuture<Result<Connection, ConnectingError>>); +201 +202impl Future for IncomingFuture { +203 type Output = Result<Connection, ConnectingError>; +204 +205 fn poll(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll<Self::Output> { +206 self.0.poll_unpin(cx) +207 } +208} +209 +210/// Extracts the ALPN protocol from the peer's handshake data. +211fn alpn_from_quinn_conn(conn: &quinn::Connection) -> Option<Vec<u8>> { +212 let data = conn.handshake_data()?; +213 match data.downcast::<quinn::crypto::rustls::HandshakeData>() { +214 Ok(data) => data.protocol, +215 Err(_) => None, +216 } +217} +218 +219async fn alpn_from_quinn_connecting(conn: &mut quinn::Connecting) -> Result<Vec<u8>, AlpnError> { +220 let data = conn.handshake_data().await?; +221 match data.downcast::<quinn::crypto::rustls::HandshakeData>() { +222 Ok(data) => match data.protocol { +223 Some(protocol) => Ok(protocol), +224 None => Err(e!(AlpnError::Unavailable)), +225 }, +226 Err(_) => Err(e!(AlpnError::UnknownHandshake)), +227 } +228} +229 +230#[stack_error(add_meta, derive, from_sources)] +231#[allow(missing_docs)] +232#[non_exhaustive] +233#[derive(Clone)] +234pub enum AuthenticationError { +235 #[error(transparent)] +236 RemoteId { source: RemoteEndpointIdError }, +237 #[error("no ALPN provided")] +238 NoAlpn {}, +239} 240 -241 // Register this connection with the magicsock. -242 let fut = ep -243 .msock -244 .register_connection(info.endpoint_id, conn.weak_handle()); -245 -246 // Check hooks -247 let msock = ep.msock.clone(); -248 Ok(async move { -249 let paths = fut.await?; -250 let conn = Connection { -251 data: HandshakeCompletedData { info, paths }, -252 inner: conn, -253 }; -254 -255 if let AfterHandshakeOutcome::Reject { error_code, reason } = -256 msock.hooks.after_handshake(&conn.to_info()).await -257 { -258 conn.close(error_code, &reason); -259 return Err(e!(ConnectingError::LocallyRejected)); -260 } -261 -262 Ok(conn) -263 }) -264} -265 -266fn static_info_from_conn(conn: &quinn::Connection) -> Result<StaticInfo, AuthenticationError> { -267 let endpoint_id = remote_id_from_quinn_conn(conn)?; -268 let alpn = alpn_from_quinn_conn(conn).ok_or_else(|| e!(AuthenticationError::NoAlpn))?; -269 Ok(StaticInfo { endpoint_id, alpn }) -270} -271 -272/// Returns the [`EndpointId`] from the peer's TLS certificate. -273/// -274/// The [`PublicKey`] of an endpoint is also known as an [`EndpointId`]. This [`PublicKey`] is -275/// included in the TLS certificate presented during the handshake when connecting. -276/// This function allows you to get the [`EndpointId`] of the remote endpoint of this -277/// connection. -278/// -279/// [`PublicKey`]: iroh_base::PublicKey -280fn remote_id_from_quinn_conn( -281 conn: &quinn::Connection, -282) -> Result<EndpointId, RemoteEndpointIdError> { -283 let data = conn.peer_identity(); -284 match data { -285 None => { -286 warn!("no peer certificate found"); -287 Err(RemoteEndpointIdError::new()) -288 } -289 Some(data) => match data.downcast::<Vec<rustls::pki_types::CertificateDer>>() { -290 Ok(certs) => { -291 if certs.len() != 1 { -292 warn!( -293 "expected a single peer certificate, but {} found", -294 certs.len() -295 ); -296 return Err(RemoteEndpointIdError::new()); -297 } -298 -299 let peer_id = EndpointId::from_verifying_key( -300 VerifyingKey::from_public_key_der(&certs[0]) -301 .map_err(|_| RemoteEndpointIdError::new())?, -302 ); -303 -304 Ok(peer_id) -305 } -306 Err(err) => { -307 warn!("invalid peer certificate: {:?}", err); -308 Err(RemoteEndpointIdError::new()) -309 } -310 }, -311 } -312} -313 -314/// An outgoing connection in progress. -315/// -316/// This future resolves to a [`Connection`] once the handshake completes. -317#[derive(derive_more::Debug)] -318pub struct Connecting { -319 inner: quinn::Connecting, -320 /// Future to register the connection with the magicsock. -321 /// -322 /// This is set and polled after `inner` completes. We are using an option instead of an enum -323 /// because we need infallible access to `inner` in some methods. -324 #[debug("{}", register_with_magicsock.as_ref().map(|_| "Some(RegisterWithMagicsockFut)").unwrap_or("None"))] -325 register_with_magicsock: Option<RegisterWithMagicsockFut>, -326 ep: Endpoint, -327 /// `Some(remote_id)` if this is an outgoing connection, `None` if this is an incoming conn -328 remote_endpoint_id: EndpointId, -329} -330 -331type RegisterWithMagicsockFut = BoxFuture<Result<Connection, ConnectingError>>; -332 -333/// In-progress connection attempt future -334#[derive(derive_more::Debug)] -335pub struct Accepting { -336 inner: quinn::Connecting, -337 /// Future to register the connection with the magicsock. -338 /// -339 /// This is set and polled after `inner` completes. We are using an option instead of an enum -340 /// because we need infallible access to `inner` in some methods. -341 #[debug("{}", register_with_magicsock.as_ref().map(|_| "Some(RegisterWithMagicsockFut)").unwrap_or("None"))] -342 register_with_magicsock: Option<RegisterWithMagicsockFut>, -343 ep: Endpoint, -344} -345 -346#[stack_error(add_meta, derive, from_sources)] -347#[allow(missing_docs)] -348#[non_exhaustive] -349pub enum AlpnError { -350 #[error(transparent)] -351 ConnectionError { -352 #[error(std_err)] -353 source: ConnectionError, -354 }, -355 #[error("No ALPN available")] -356 Unavailable, -357 #[error("Unknown handshake type")] -358 UnknownHandshake, +241/// Converts a `quinn::Connection` to a `Connection`. +242/// +243/// Returns an error if there was a connection error, the handshake data has not completed +244/// or if the remote did not set an ALPN. +245/// +246/// Otherwise returns a future that completes once the connection has been registered with the +247/// magicsock. This future can return an [`RemoteStateActorStoppedError`], which will only be +248/// emitted if the endpoint is closing. +249/// +250/// The returned future is `'static`, so it can be stored without being lifetime-bound on `&ep`. +251fn conn_from_quinn_conn( +252 conn: quinn::Connection, +253 ep: &Endpoint, +254) -> Result< +255 impl Future<Output = Result<Connection, ConnectingError>> + Send + 'static, +256 ConnectingError, +257> { +258 let info = match static_info_from_conn(&conn) { +259 Ok(val) => val, +260 Err(auth_err) => { +261 // If the authentication error raced with a connection error, the connection +262 // error wins. +263 if let Some(conn_err) = conn.close_reason() { +264 return Err(e!(ConnectingError::ConnectionError { source: conn_err })); +265 } else { +266 return Err(e!(ConnectingError::HandshakeFailure { source: auth_err })); +267 } +268 } +269 }; +270 +271 // Register this connection with the magicsock. +272 let fut = ep +273 .msock +274 .register_connection(info.endpoint_id, conn.weak_handle()); +275 +276 // Check hooks +277 let msock = ep.msock.clone(); +278 Ok(async move { +279 let paths = fut.await?; +280 let conn = Connection { +281 data: HandshakeCompletedData { info, paths }, +282 inner: conn, +283 }; +284 +285 if let AfterHandshakeOutcome::Reject { error_code, reason } = +286 msock.hooks.after_handshake(&conn.to_info()).await +287 { +288 conn.close(error_code, &reason); +289 return Err(e!(ConnectingError::LocallyRejected)); +290 } +291 +292 Ok(conn) +293 }) +294} +295 +296fn static_info_from_conn(conn: &quinn::Connection) -> Result<StaticInfo, AuthenticationError> { +297 let endpoint_id = remote_id_from_quinn_conn(conn)?; +298 let alpn = alpn_from_quinn_conn(conn).ok_or_else(|| e!(AuthenticationError::NoAlpn))?; +299 Ok(StaticInfo { endpoint_id, alpn }) +300} +301 +302/// Returns the [`EndpointId`] from the peer's TLS certificate. +303/// +304/// The [`PublicKey`] of an endpoint is also known as an [`EndpointId`]. This [`PublicKey`] is +305/// included in the TLS certificate presented during the handshake when connecting. +306/// This function allows you to get the [`EndpointId`] of the remote endpoint of this +307/// connection. +308/// +309/// [`PublicKey`]: iroh_base::PublicKey +310fn remote_id_from_quinn_conn( +311 conn: &quinn::Connection, +312) -> Result<EndpointId, RemoteEndpointIdError> { +313 let data = conn.peer_identity(); +314 match data { +315 None => { +316 warn!("no peer certificate found"); +317 Err(RemoteEndpointIdError::new()) +318 } +319 Some(data) => match data.downcast::<Vec<rustls::pki_types::CertificateDer>>() { +320 Ok(certs) => { +321 if certs.len() != 1 { +322 warn!( +323 "expected a single peer certificate, but {} found", +324 certs.len() +325 ); +326 return Err(RemoteEndpointIdError::new()); +327 } +328 +329 let peer_id = EndpointId::from_verifying_key( +330 VerifyingKey::from_public_key_der(&certs[0]) +331 .map_err(|_| RemoteEndpointIdError::new())?, +332 ); +333 +334 Ok(peer_id) +335 } +336 Err(err) => { +337 warn!("invalid peer certificate: {:?}", err); +338 Err(RemoteEndpointIdError::new()) +339 } +340 }, +341 } +342} +343 +344/// An outgoing connection in progress. +345/// +346/// This future resolves to a [`Connection`] once the handshake completes. +347#[derive(derive_more::Debug)] +348pub struct Connecting { +349 inner: quinn::Connecting, +350 /// Future to register the connection with the magicsock. +351 /// +352 /// This is set and polled after `inner` completes. We are using an option instead of an enum +353 /// because we need infallible access to `inner` in some methods. +354 #[debug("{}", register_with_magicsock.as_ref().map(|_| "Some(RegisterWithMagicsockFut)").unwrap_or("None"))] +355 register_with_magicsock: Option<RegisterWithMagicsockFut>, +356 ep: Endpoint, +357 /// `Some(remote_id)` if this is an outgoing connection, `None` if this is an incoming conn +358 remote_endpoint_id: EndpointId, 359} 360 -361#[stack_error(add_meta, derive, from_sources)] -362#[allow(missing_docs)] -363#[non_exhaustive] -364#[derive(Clone)] -365#[allow(private_interfaces)] -366pub enum ConnectingError { -367 #[error(transparent)] -368 ConnectionError { -369 #[error(std_err)] -370 source: ConnectionError, -371 }, -372 #[error("Failure finalizing the handshake")] -373 HandshakeFailure { source: AuthenticationError }, -374 #[error("internal consistency error")] -375 InternalConsistencyError { -376 /// Private source type, cannot be created publicly. -377 source: RemoteStateActorStoppedError, -378 }, -379 #[error("Connection was rejected locally")] -380 LocallyRejected, -381} -382 -383impl Connecting { -384 pub(crate) fn new( -385 inner: quinn::Connecting, -386 ep: Endpoint, -387 remote_endpoint_id: EndpointId, -388 ) -> Self { -389 Self { -390 inner, -391 ep, -392 remote_endpoint_id, -393 register_with_magicsock: None, -394 } -395 } -396 -397 /// Converts this [`Connecting`] into a 0-RTT connection at the cost of weakened security. -398 /// -399 /// If 0-RTT can be attempted, returns a [`OutgoingZeroRttConnection`], which represents -400 /// outgoing 0-RTT connection. -401 /// -402 /// If the 0-RTT cannot even be attempted, returns back the same [`Connecting`] without -403 /// changes. You can still `.await` this [`Connecting`] to get a normal [`Connection`]. -404 /// -405 /// The [`OutgoingZeroRttConnection`] will attempt to resume a previous TLS session. However, -406 /// **the remote endpoint may actually _reject_ the 0-RTT data--yet still accept -407 /// the connection attempt in general**, once the handshake has completed. -408 /// -409 /// This possibility of whether the 0-RTT data was accepted or rejected is conveyed -410 /// through the [`ZeroRttStatus`] after calling [`OutgoingZeroRttConnection::handshake_completed`]. -411 /// When the handshake completes, it returns [`ZeroRttStatus::Accepted`] if the 0-RTT data -412 /// was accepted and [`ZeroRttStatus::Rejected`] if it was rejected. If it was rejected, the -413 /// existence of any streams opened and application data sent prior to the handshake -414 /// completing will not be conveyed to the remote application, and local operations on them -415 /// will return `ZeroRttRejected` errors. -416 /// -417 /// A server may reject 0-RTT data at its discretion, but accepting 0-RTT data requires the -418 /// relevant resumption state to be stored in the server, which servers may limit or lose for -419 /// various reasons including not persisting resumption state across server restarts. -420 /// -421 /// ## Security -422 /// -423 /// This enables transmission of 0-RTT data, which is vulnerable to replay attacks, and -424 /// should therefore never invoke non-idempotent operations. -425 /// -426 /// You can use [`RecvStream::is_0rtt`] to check whether a stream has been opened in 0-RTT -427 /// and thus whether parts of the stream are operating under this reduced security level. +361type RegisterWithMagicsockFut = BoxFuture<Result<Connection, ConnectingError>>; +362 +363/// In-progress connection attempt future +364#[derive(derive_more::Debug)] +365pub struct Accepting { +366 inner: quinn::Connecting, +367 /// Future to register the connection with the magicsock. +368 /// +369 /// This is set and polled after `inner` completes. We are using an option instead of an enum +370 /// because we need infallible access to `inner` in some methods. +371 #[debug("{}", register_with_magicsock.as_ref().map(|_| "Some(RegisterWithMagicsockFut)").unwrap_or("None"))] +372 register_with_magicsock: Option<RegisterWithMagicsockFut>, +373 ep: Endpoint, +374} +375 +376#[stack_error(add_meta, derive, from_sources)] +377#[allow(missing_docs)] +378#[non_exhaustive] +379pub enum AlpnError { +380 #[error(transparent)] +381 ConnectionError { +382 #[error(std_err)] +383 source: ConnectionError, +384 }, +385 #[error("No ALPN available")] +386 Unavailable, +387 #[error("Unknown handshake type")] +388 UnknownHandshake, +389} +390 +391#[stack_error(add_meta, derive, from_sources)] +392#[allow(missing_docs)] +393#[non_exhaustive] +394#[derive(Clone)] +395#[allow(private_interfaces)] +396pub enum ConnectingError { +397 #[error(transparent)] +398 ConnectionError { +399 #[error(std_err)] +400 source: ConnectionError, +401 }, +402 #[error("Failure finalizing the handshake")] +403 HandshakeFailure { source: AuthenticationError }, +404 #[error("internal consistency error")] +405 InternalConsistencyError { +406 /// Private source type, cannot be created publicly. +407 source: RemoteStateActorStoppedError, +408 }, +409 #[error("Connection was rejected locally")] +410 LocallyRejected, +411} +412 +413impl Connecting { +414 pub(crate) fn new( +415 inner: quinn::Connecting, +416 ep: Endpoint, +417 remote_endpoint_id: EndpointId, +418 ) -> Self { +419 Self { +420 inner, +421 ep, +422 remote_endpoint_id, +423 register_with_magicsock: None, +424 } +425 } +426 +427 /// Converts this [`Connecting`] into a 0-RTT connection at the cost of weakened security. 428 /// -429 /// See also documentation for [`Accepting::into_0rtt`]. -430 /// -431 /// [`RecvStream::is_0rtt`]: quinn::RecvStream::is_0rtt -432 #[allow(clippy::result_large_err)] -433 pub fn into_0rtt(self) -> Result<OutgoingZeroRttConnection, Connecting> { -434 match self.inner.into_0rtt() { -435 Ok((quinn_conn, zrtt_accepted)) => { -436 let accepted: BoxFuture<_> = Box::pin({ -437 let quinn_conn = quinn_conn.clone(); -438 async move { -439 let accepted = zrtt_accepted.await; -440 let conn = conn_from_quinn_conn(quinn_conn, &self.ep)?.await?; -441 Ok(match accepted { -442 true => ZeroRttStatus::Accepted(conn), -443 false => ZeroRttStatus::Rejected(conn), -444 }) -445 } -446 }); -447 let accepted = accepted.shared(); -448 Ok(Connection { -449 inner: quinn_conn, -450 data: OutgoingZeroRttData { accepted }, -451 }) -452 } -453 Err(inner) => Err(Self { inner, ..self }), -454 } -455 } -456 -457 /// Parameters negotiated during the handshake -458 pub async fn handshake_data(&mut self) -> Result<Box<dyn Any>, ConnectionError> { -459 self.inner.handshake_data().await -460 } -461 -462 /// Extracts the ALPN protocol from the peer's handshake data. -463 pub async fn alpn(&mut self) -> Result<Vec<u8>, AlpnError> { -464 alpn_from_quinn_connecting(&mut self.inner).await -465 } -466 -467 /// Returns the [`EndpointId`] of the endpoint that this connection attempt tries to connect to. -468 pub fn remote_id(&self) -> EndpointId { -469 self.remote_endpoint_id -470 } -471} -472 -473impl Future for Connecting { -474 type Output = Result<Connection, ConnectingError>; -475 -476 fn poll(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll<Self::Output> { -477 loop { -478 if let Some(fut) = &mut self.register_with_magicsock { -479 return fut.poll_unpin(cx).map_err(Into::into); -480 } else { -481 let quinn_conn = std::task::ready!(self.inner.poll_unpin(cx)?); -482 let fut = conn_from_quinn_conn(quinn_conn, &self.ep)?; -483 self.register_with_magicsock = Some(Box::pin(fut.err_into())); -484 } -485 } -486 } -487} -488 -489impl Accepting { -490 pub(crate) fn new(inner: quinn::Connecting, ep: Endpoint) -> Self { -491 Self { -492 inner, -493 ep, -494 register_with_magicsock: None, -495 } -496 } -497 -498 /// Converts this [`Accepting`] into a 0-RTT or 0.5-RTT connection at the cost of weakened -499 /// security. -500 /// -501 /// Returns a [`IncomingZeroRttConnection`], which represents an incoming 0-RTT or 0.5-RTT connection. -502 /// -503 /// If the connection was initiated with 0-RTT by the remote endpoint, the local endpoint -504 /// might accept the 0-RTT attempt, allowing the local endpoint to receive application streams -505 /// and data before the handshake finishes. -506 /// -507 /// Otherwise this will enable 0.5-RTT, allowing the [`IncomingZeroRttConnection`] to open streams and send -508 /// data before the handshake finishes. -509 /// -510 /// ## Security -511 /// -512 /// Transmitted 0-RTT data from the client is vulnerable to replay attacks, and should -513 /// therefore never invoke non-idempotent operations. -514 /// -515 /// Transmission of 0.5-RTT data from the server may be sent before TLS client authentication -516 /// has occurred, and should therefore not be used to send data for which client -517 /// authentication is required. -518 /// -519 /// You can use [`RecvStream::is_0rtt`] to check whether a stream has been opened in 0-RTT -520 /// and thus whether parts of the stream are operating under this reduced security level. -521 /// -522 /// See also documentation for [`Connecting::into_0rtt`]. -523 /// -524 /// [`RecvStream::is_0rtt`]: quinn::RecvStream::is_0rtt -525 pub fn into_0rtt(self) -> IncomingZeroRttConnection { -526 let (quinn_conn, zrtt_accepted) = self -527 .inner -528 .into_0rtt() -529 .expect("incoming connections can always be converted to 0-RTT"); -530 -531 let accepted: BoxFuture<_> = Box::pin({ -532 let quinn_conn = quinn_conn.clone(); -533 async move { -534 let _ = zrtt_accepted.await; -535 let conn = conn_from_quinn_conn(quinn_conn, &self.ep)?.await?; -536 Ok(conn) -537 } -538 }); -539 let accepted = accepted.shared(); -540 -541 IncomingZeroRttConnection { -542 inner: quinn_conn, -543 data: IncomingZeroRttData { accepted }, -544 } -545 } -546 -547 /// Parameters negotiated during the handshake -548 pub async fn handshake_data(&mut self) -> Result<Box<dyn Any>, ConnectionError> { -549 self.inner.handshake_data().await -550 } -551 -552 /// Extracts the ALPN protocol from the peer's handshake data. -553 pub async fn alpn(&mut self) -> Result<Vec<u8>, AlpnError> { -554 alpn_from_quinn_connecting(&mut self.inner).await -555 } -556} -557 -558impl Future for Accepting { -559 type Output = Result<Connection, ConnectingError>; +429 /// If 0-RTT can be attempted, returns a [`OutgoingZeroRttConnection`], which represents +430 /// outgoing 0-RTT connection. +431 /// +432 /// If the 0-RTT cannot even be attempted, returns back the same [`Connecting`] without +433 /// changes. You can still `.await` this [`Connecting`] to get a normal [`Connection`]. +434 /// +435 /// The [`OutgoingZeroRttConnection`] will attempt to resume a previous TLS session. However, +436 /// **the remote endpoint may actually _reject_ the 0-RTT data--yet still accept +437 /// the connection attempt in general**, once the handshake has completed. +438 /// +439 /// This possibility of whether the 0-RTT data was accepted or rejected is conveyed +440 /// through the [`ZeroRttStatus`] after calling [`OutgoingZeroRttConnection::handshake_completed`]. +441 /// When the handshake completes, it returns [`ZeroRttStatus::Accepted`] if the 0-RTT data +442 /// was accepted and [`ZeroRttStatus::Rejected`] if it was rejected. If it was rejected, the +443 /// existence of any streams opened and application data sent prior to the handshake +444 /// completing will not be conveyed to the remote application, and local operations on them +445 /// will return `ZeroRttRejected` errors. +446 /// +447 /// A server may reject 0-RTT data at its discretion, but accepting 0-RTT data requires the +448 /// relevant resumption state to be stored in the server, which servers may limit or lose for +449 /// various reasons including not persisting resumption state across server restarts. +450 /// +451 /// ## Security +452 /// +453 /// This enables transmission of 0-RTT data, which is vulnerable to replay attacks, and +454 /// should therefore never invoke non-idempotent operations. +455 /// +456 /// You can use [`RecvStream::is_0rtt`] to check whether a stream has been opened in 0-RTT +457 /// and thus whether parts of the stream are operating under this reduced security level. +458 /// +459 /// See also documentation for [`Accepting::into_0rtt`]. +460 /// +461 /// [`RecvStream::is_0rtt`]: quinn::RecvStream::is_0rtt +462 #[allow(clippy::result_large_err)] +463 pub fn into_0rtt(self) -> Result<OutgoingZeroRttConnection, Connecting> { +464 match self.inner.into_0rtt() { +465 Ok((quinn_conn, zrtt_accepted)) => { +466 let accepted: BoxFuture<_> = Box::pin({ +467 let quinn_conn = quinn_conn.clone(); +468 async move { +469 let accepted = zrtt_accepted.await; +470 let conn = conn_from_quinn_conn(quinn_conn, &self.ep)?.await?; +471 Ok(match accepted { +472 true => ZeroRttStatus::Accepted(conn), +473 false => ZeroRttStatus::Rejected(conn), +474 }) +475 } +476 }); +477 let accepted = accepted.shared(); +478 Ok(Connection { +479 inner: quinn_conn, +480 data: OutgoingZeroRttData { accepted }, +481 }) +482 } +483 Err(inner) => Err(Self { inner, ..self }), +484 } +485 } +486 +487 /// Parameters negotiated during the handshake +488 pub async fn handshake_data(&mut self) -> Result<Box<dyn Any>, ConnectionError> { +489 self.inner.handshake_data().await +490 } +491 +492 /// Extracts the ALPN protocol from the peer's handshake data. +493 pub async fn alpn(&mut self) -> Result<Vec<u8>, AlpnError> { +494 alpn_from_quinn_connecting(&mut self.inner).await +495 } +496 +497 /// Returns the [`EndpointId`] of the endpoint that this connection attempt tries to connect to. +498 pub fn remote_id(&self) -> EndpointId { +499 self.remote_endpoint_id +500 } +501} +502 +503impl Future for Connecting { +504 type Output = Result<Connection, ConnectingError>; +505 +506 fn poll(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll<Self::Output> { +507 loop { +508 if let Some(fut) = &mut self.register_with_magicsock { +509 return fut.poll_unpin(cx).map_err(Into::into); +510 } else { +511 let quinn_conn = std::task::ready!(self.inner.poll_unpin(cx)?); +512 let fut = conn_from_quinn_conn(quinn_conn, &self.ep)?; +513 self.register_with_magicsock = Some(Box::pin(fut.err_into())); +514 } +515 } +516 } +517} +518 +519impl Accepting { +520 pub(crate) fn new(inner: quinn::Connecting, ep: Endpoint) -> Self { +521 Self { +522 inner, +523 ep, +524 register_with_magicsock: None, +525 } +526 } +527 +528 /// Converts this [`Accepting`] into a 0-RTT or 0.5-RTT connection at the cost of weakened +529 /// security. +530 /// +531 /// Returns a [`IncomingZeroRttConnection`], which represents an incoming 0-RTT or 0.5-RTT connection. +532 /// +533 /// If the connection was initiated with 0-RTT by the remote endpoint, the local endpoint +534 /// might accept the 0-RTT attempt, allowing the local endpoint to receive application streams +535 /// and data before the handshake finishes. +536 /// +537 /// Otherwise this will enable 0.5-RTT, allowing the [`IncomingZeroRttConnection`] to open streams and send +538 /// data before the handshake finishes. +539 /// +540 /// ## Security +541 /// +542 /// Transmitted 0-RTT data from the client is vulnerable to replay attacks, and should +543 /// therefore never invoke non-idempotent operations. +544 /// +545 /// Transmission of 0.5-RTT data from the server may be sent before TLS client authentication +546 /// has occurred, and should therefore not be used to send data for which client +547 /// authentication is required. +548 /// +549 /// You can use [`RecvStream::is_0rtt`] to check whether a stream has been opened in 0-RTT +550 /// and thus whether parts of the stream are operating under this reduced security level. +551 /// +552 /// See also documentation for [`Connecting::into_0rtt`]. +553 /// +554 /// [`RecvStream::is_0rtt`]: crate::endpoint::RecvStream::is_0rtt +555 pub fn into_0rtt(self) -> IncomingZeroRttConnection { +556 let (quinn_conn, zrtt_accepted) = self +557 .inner +558 .into_0rtt() +559 .expect("incoming connections can always be converted to 0-RTT"); 560 -561 fn poll(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll<Self::Output> { -562 loop { -563 if let Some(fut) = &mut self.register_with_magicsock { -564 return fut.poll_unpin(cx).map_err(Into::into); -565 } else { -566 let quinn_conn = std::task::ready!(self.inner.poll_unpin(cx)?); -567 match conn_from_quinn_conn(quinn_conn, &self.ep) { -568 Err(err) => return Poll::Ready(Err(err)), -569 Ok(fut) => self.register_with_magicsock = Some(Box::pin(fut.err_into())), -570 }; -571 } -572 } -573 } -574} -575 -576/// The client side of a 0-RTT connection. -577/// -578/// This is created using [`Connecting::into_0rtt`]. -579/// -580/// Creating a `OutgoingZeroRttConnection` means that the endpoint is capable -581/// of attempting a 0-RTT connection with the remote. The remote may still -582/// reject the 0-RTT connection. In which case, any data sent before the -583/// handshake has completed may need to be resent. -584/// -585/// Look at the [`OutgoingZeroRttConnection::handshake_completed`] method for -586/// more details. -587pub type OutgoingZeroRttConnection = Connection<OutgoingZeroRtt>; -588 -589/// Returned from [`OutgoingZeroRttConnection::handshake_completed`]. -590#[derive(Debug, Clone)] -591pub enum ZeroRttStatus { -592 /// If the 0-RTT data was accepted, you can continue to use any streams -593 /// that were created before the handshake was completed. -594 Accepted(Connection), -595 /// If the 0-RTT data was rejected, any streams that were created before -596 /// the handshake was completed will error and any data that was -597 /// previously sent on those streams will need to be resent. -598 Rejected(Connection), -599} -600 -601/// A QUIC connection on the server-side that can possibly accept 0-RTT data. -602/// -603/// It is very similar to a `Connection`, but the `IncomingZeroRttConnection::remote_id` -604/// and `IncomingZeroRttConnection::alpn` may not be set yet, since the handshake has -605/// not necessarily occurred yet. -606/// -607/// If the `IncomingZeroRttConnection` has rejected 0-RTT or does not have enough information -608/// to accept 0-RTT, any received 0-RTT packets will simply be dropped before -609/// reaching any receive streams. -610/// -611/// Any streams that are created to send or receive data can continue to be used -612/// even after the handshake has completed and we are no longer in a 0-RTT -613/// situation. +561 let accepted: BoxFuture<_> = Box::pin({ +562 let quinn_conn = quinn_conn.clone(); +563 async move { +564 let _ = zrtt_accepted.await; +565 let conn = conn_from_quinn_conn(quinn_conn, &self.ep)?.await?; +566 Ok(conn) +567 } +568 }); +569 let accepted = accepted.shared(); +570 +571 IncomingZeroRttConnection { +572 inner: quinn_conn, +573 data: IncomingZeroRttData { accepted }, +574 } +575 } +576 +577 /// Parameters negotiated during the handshake +578 pub async fn handshake_data(&mut self) -> Result<Box<dyn Any>, ConnectionError> { +579 self.inner.handshake_data().await +580 } +581 +582 /// Extracts the ALPN protocol from the peer's handshake data. +583 pub async fn alpn(&mut self) -> Result<Vec<u8>, AlpnError> { +584 alpn_from_quinn_connecting(&mut self.inner).await +585 } +586} +587 +588impl Future for Accepting { +589 type Output = Result<Connection, ConnectingError>; +590 +591 fn poll(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll<Self::Output> { +592 loop { +593 if let Some(fut) = &mut self.register_with_magicsock { +594 return fut.poll_unpin(cx).map_err(Into::into); +595 } else { +596 let quinn_conn = std::task::ready!(self.inner.poll_unpin(cx)?); +597 match conn_from_quinn_conn(quinn_conn, &self.ep) { +598 Err(err) => return Poll::Ready(Err(err)), +599 Ok(fut) => self.register_with_magicsock = Some(Box::pin(fut.err_into())), +600 }; +601 } +602 } +603 } +604} +605 +606/// The client side of a 0-RTT connection. +607/// +608/// This is created using [`Connecting::into_0rtt`]. +609/// +610/// Creating a `OutgoingZeroRttConnection` means that the endpoint is capable +611/// of attempting a 0-RTT connection with the remote. The remote may still +612/// reject the 0-RTT connection. In which case, any data sent before the +613/// handshake has completed may need to be resent. 614/// -615/// Use the [`IncomingZeroRttConnection::handshake_completed`] method to get a [`Connection`] from a -616/// `IncomingZeroRttConnection`. This waits until 0-RTT connection has completed -617/// the handshake and can now confidently derive the ALPN and the -618/// [`EndpointId`] of the remote endpoint. -619pub type IncomingZeroRttConnection = Connection<IncomingZeroRtt>; -620 -621/// A QUIC connection. -622/// -623/// If all references to a connection (including every clone of the Connection handle, -624/// streams of incoming streams, and the various stream types) have been dropped, then the -625/// connection will be automatically closed with an error_code of 0 and an empty reason. You -626/// can also close the connection explicitly by calling [`Connection::close`]. -627/// -628/// Closing the connection immediately abandons efforts to deliver data to the peer. Upon -629/// receiving CONNECTION_CLOSE the peer may drop any stream data not yet delivered to the -630/// application. [`Connection::close`] describes in more detail how to gracefully close a -631/// connection without losing application data. +615/// Look at the [`OutgoingZeroRttConnection::handshake_completed`] method for +616/// more details. +617pub type OutgoingZeroRttConnection = Connection<OutgoingZeroRtt>; +618 +619/// Returned from [`OutgoingZeroRttConnection::handshake_completed`]. +620#[derive(Debug, Clone)] +621pub enum ZeroRttStatus { +622 /// If the 0-RTT data was accepted, you can continue to use any streams +623 /// that were created before the handshake was completed. +624 Accepted(Connection), +625 /// If the 0-RTT data was rejected, any streams that were created before +626 /// the handshake was completed will error and any data that was +627 /// previously sent on those streams will need to be resent. +628 Rejected(Connection), +629} +630 +631/// A QUIC connection on the server-side that can possibly accept 0-RTT data. 632/// -633/// May be cloned to obtain another handle to the same connection. -634#[derive(Debug, Clone)] -635pub struct Connection<State: ConnectionState = HandshakeCompleted> { -636 inner: quinn::Connection, -637 /// State-specific information -638 data: State::Data, -639} -640 -641#[doc(hidden)] -642#[derive(Debug, Clone)] -643pub struct HandshakeCompletedData { -644 info: StaticInfo, -645 paths: PathsWatcher, -646} -647 -648/// Static info from a completed TLS handshake. -649#[derive(Debug, Clone)] -650struct StaticInfo { -651 endpoint_id: EndpointId, -652 alpn: Vec<u8>, -653} -654 -655#[doc(hidden)] -656#[derive(Debug, Clone)] -657pub struct IncomingZeroRttData { -658 accepted: Shared<BoxFuture<Result<Connection, ConnectingError>>>, -659} -660 -661#[doc(hidden)] -662#[derive(Debug, Clone)] -663pub struct OutgoingZeroRttData { -664 accepted: Shared<BoxFuture<Result<ZeroRttStatus, ConnectingError>>>, -665} -666 -667mod sealed { -668 pub trait Sealed {} +633/// It is very similar to a `Connection`, but the `IncomingZeroRttConnection::remote_id` +634/// and `IncomingZeroRttConnection::alpn` may not be set yet, since the handshake has +635/// not necessarily occurred yet. +636/// +637/// If the `IncomingZeroRttConnection` has rejected 0-RTT or does not have enough information +638/// to accept 0-RTT, any received 0-RTT packets will simply be dropped before +639/// reaching any receive streams. +640/// +641/// Any streams that are created to send or receive data can continue to be used +642/// even after the handshake has completed and we are no longer in a 0-RTT +643/// situation. +644/// +645/// Use the [`IncomingZeroRttConnection::handshake_completed`] method to get a [`Connection`] from a +646/// `IncomingZeroRttConnection`. This waits until 0-RTT connection has completed +647/// the handshake and can now confidently derive the ALPN and the +648/// [`EndpointId`] of the remote endpoint. +649pub type IncomingZeroRttConnection = Connection<IncomingZeroRtt>; +650 +651/// A QUIC connection. +652/// +653/// If all references to a connection (including every clone of the Connection handle, +654/// streams of incoming streams, and the various stream types) have been dropped, then the +655/// connection will be automatically closed with an error_code of 0 and an empty reason. You +656/// can also close the connection explicitly by calling [`Connection::close`]. +657/// +658/// Closing the connection immediately abandons efforts to deliver data to the peer. Upon +659/// receiving CONNECTION_CLOSE the peer may drop any stream data not yet delivered to the +660/// application. [`Connection::close`] describes in more detail how to gracefully close a +661/// connection without losing application data. +662/// +663/// May be cloned to obtain another handle to the same connection. +664#[derive(Debug, Clone)] +665pub struct Connection<State: ConnectionState = HandshakeCompleted> { +666 inner: quinn::Connection, +667 /// State-specific information +668 data: State::Data, 669} 670 -671/// Trait to track the state of a [`Connection`] at compile time. -672pub trait ConnectionState: sealed::Sealed { -673 /// State-specific data stored in the [`Connection`]. -674 type Data: std::fmt::Debug + Clone; -675} -676 -677/// Marker type for a connection that has completed the handshake. -678#[derive(Debug, Clone)] -679pub struct HandshakeCompleted; -680 -681/// Marker type for a connection that is in the incoming 0-RTT state. -682#[derive(Debug, Clone)] -683pub struct IncomingZeroRtt; +671#[doc(hidden)] +672#[derive(Debug, Clone)] +673pub struct HandshakeCompletedData { +674 info: StaticInfo, +675 paths: PathsWatcher, +676} +677 +678/// Static info from a completed TLS handshake. +679#[derive(Debug, Clone)] +680struct StaticInfo { +681 endpoint_id: EndpointId, +682 alpn: Vec<u8>, +683} 684 -685/// Marker type for a connection that is in the outgoing 0-RTT state. -686#[derive(Debug, Clone)] -687pub struct OutgoingZeroRtt; -688 -689impl sealed::Sealed for HandshakeCompleted {} -690impl ConnectionState for HandshakeCompleted { -691 type Data = HandshakeCompletedData; -692} -693impl sealed::Sealed for IncomingZeroRtt {} -694impl ConnectionState for IncomingZeroRtt { -695 type Data = IncomingZeroRttData; -696} -697 -698impl sealed::Sealed for OutgoingZeroRtt {} -699impl ConnectionState for OutgoingZeroRtt { -700 type Data = OutgoingZeroRttData; -701} -702 -703#[allow(missing_docs)] -704#[stack_error(add_meta, derive)] -705#[error("Protocol error: no remote id available")] -706#[derive(Clone)] -707pub struct RemoteEndpointIdError; -708 -709impl<T: ConnectionState> Connection<T> { -710 /// Initiates a new outgoing unidirectional stream. -711 /// -712 /// Streams are cheap and instantaneous to open unless blocked by flow control. As a -713 /// consequence, the peer won’t be notified that a stream has been opened until the -714 /// stream is actually used. -715 #[inline] -716 pub fn open_uni(&self) -> OpenUni<'_> { -717 self.inner.open_uni() -718 } -719 -720 /// Initiates a new outgoing bidirectional stream. -721 /// -722 /// Streams are cheap and instantaneous to open unless blocked by flow control. As a -723 /// consequence, the peer won't be notified that a stream has been opened until the -724 /// stream is actually used. Calling [`open_bi`] then waiting on the [`RecvStream`] -725 /// without writing anything to [`SendStream`] will never succeed. -726 /// -727 /// [`open_bi`]: Connection::open_bi -728 /// [`SendStream`]: quinn::SendStream -729 /// [`RecvStream`]: quinn::RecvStream -730 #[inline] -731 pub fn open_bi(&self) -> OpenBi<'_> { -732 self.inner.open_bi() -733 } -734 -735 /// Accepts the next incoming uni-directional stream. -736 #[inline] -737 pub fn accept_uni(&self) -> AcceptUni<'_> { -738 self.inner.accept_uni() -739 } -740 -741 /// Accept the next incoming bidirectional stream. -742 /// -743 /// **Important Note**: The peer that calls [`open_bi`] must write to its [`SendStream`] -744 /// before the peer `Connection` is able to accept the stream using -745 /// `accept_bi()`. Calling [`open_bi`] then waiting on the [`RecvStream`] without -746 /// writing anything to the connected [`SendStream`] will never succeed. -747 /// -748 /// [`open_bi`]: Connection::open_bi -749 /// [`SendStream`]: quinn::SendStream -750 /// [`RecvStream`]: quinn::RecvStream -751 #[inline] -752 pub fn accept_bi(&self) -> AcceptBi<'_> { -753 self.inner.accept_bi() -754 } -755 -756 /// Receives an application datagram. -757 #[inline] -758 pub fn read_datagram(&self) -> ReadDatagram<'_> { -759 self.inner.read_datagram() -760 } -761 -762 /// Wait for the connection to be closed for any reason. -763 /// -764 /// Despite the return type's name, closed connections are often not an error condition -765 /// at the application layer. Cases that might be routine include -766 /// [`ConnectionError::LocallyClosed`] and [`ConnectionError::ApplicationClosed`]. -767 #[inline] -768 pub async fn closed(&self) -> ConnectionError { -769 self.inner.closed().await -770 } -771 -772 /// If the connection is closed, the reason why. -773 /// -774 /// Returns `None` if the connection is still open. -775 #[inline] -776 pub fn close_reason(&self) -> Option<ConnectionError> { -777 self.inner.close_reason() -778 } -779 -780 /// Closes the connection immediately. -781 /// -782 /// Pending operations will fail immediately with [`ConnectionError::LocallyClosed`]. No -783 /// more data is sent to the peer and the peer may drop buffered data upon receiving the -784 /// CONNECTION_CLOSE frame. -785 /// -786 /// `error_code` and `reason` are not interpreted, and are provided directly to the -787 /// peer. -788 /// -789 /// `reason` will be truncated to fit in a single packet with overhead; to improve odds -790 /// that it is preserved in full, it should be kept under 1KiB. -791 /// -792 /// # Gracefully closing a connection +685#[doc(hidden)] +686#[derive(Debug, Clone)] +687pub struct IncomingZeroRttData { +688 accepted: Shared<BoxFuture<Result<Connection, ConnectingError>>>, +689} +690 +691#[doc(hidden)] +692#[derive(Debug, Clone)] +693pub struct OutgoingZeroRttData { +694 accepted: Shared<BoxFuture<Result<ZeroRttStatus, ConnectingError>>>, +695} +696 +697mod sealed { +698 pub trait Sealed {} +699} +700 +701/// Trait to track the state of a [`Connection`] at compile time. +702pub trait ConnectionState: sealed::Sealed { +703 /// State-specific data stored in the [`Connection`]. +704 type Data: std::fmt::Debug + Clone; +705} +706 +707/// Marker type for a connection that has completed the handshake. +708#[derive(Debug, Clone)] +709pub struct HandshakeCompleted; +710 +711/// Marker type for a connection that is in the incoming 0-RTT state. +712#[derive(Debug, Clone)] +713pub struct IncomingZeroRtt; +714 +715/// Marker type for a connection that is in the outgoing 0-RTT state. +716#[derive(Debug, Clone)] +717pub struct OutgoingZeroRtt; +718 +719impl sealed::Sealed for HandshakeCompleted {} +720impl ConnectionState for HandshakeCompleted { +721 type Data = HandshakeCompletedData; +722} +723impl sealed::Sealed for IncomingZeroRtt {} +724impl ConnectionState for IncomingZeroRtt { +725 type Data = IncomingZeroRttData; +726} +727 +728impl sealed::Sealed for OutgoingZeroRtt {} +729impl ConnectionState for OutgoingZeroRtt { +730 type Data = OutgoingZeroRttData; +731} +732 +733#[allow(missing_docs)] +734#[stack_error(add_meta, derive)] +735#[error("Protocol error: no remote id available")] +736#[derive(Clone)] +737pub struct RemoteEndpointIdError; +738 +739impl<T: ConnectionState> Connection<T> { +740 /// Initiates a new outgoing unidirectional stream. +741 /// +742 /// Streams are cheap and instantaneous to open unless blocked by flow control. As a +743 /// consequence, the peer won’t be notified that a stream has been opened until the +744 /// stream is actually used. +745 #[inline] +746 pub fn open_uni(&self) -> OpenUni<'_> { +747 self.inner.open_uni() +748 } +749 +750 /// Initiates a new outgoing bidirectional stream. +751 /// +752 /// Streams are cheap and instantaneous to open unless blocked by flow control. As a +753 /// consequence, the peer won't be notified that a stream has been opened until the +754 /// stream is actually used. Calling [`open_bi`] then waiting on the [`RecvStream`] +755 /// without writing anything to [`SendStream`] will never succeed. +756 /// +757 /// [`open_bi`]: Connection::open_bi +758 /// [`SendStream`]: crate::endpoint::SendStream +759 /// [`RecvStream`]: crate::endpoint::RecvStream +760 #[inline] +761 pub fn open_bi(&self) -> OpenBi<'_> { +762 self.inner.open_bi() +763 } +764 +765 /// Accepts the next incoming uni-directional stream. +766 #[inline] +767 pub fn accept_uni(&self) -> AcceptUni<'_> { +768 self.inner.accept_uni() +769 } +770 +771 /// Accept the next incoming bidirectional stream. +772 /// +773 /// **Important Note**: The peer that calls [`open_bi`] must write to its [`SendStream`] +774 /// before the peer `Connection` is able to accept the stream using +775 /// `accept_bi()`. Calling [`open_bi`] then waiting on the [`RecvStream`] without +776 /// writing anything to the connected [`SendStream`] will never succeed. +777 /// +778 /// [`open_bi`]: Connection::open_bi +779 /// [`SendStream`]: crate::endpoint::SendStream +780 /// [`RecvStream`]: crate::endpoint::RecvStream +781 #[inline] +782 pub fn accept_bi(&self) -> AcceptBi<'_> { +783 self.inner.accept_bi() +784 } +785 +786 /// Receives an application datagram. +787 #[inline] +788 pub fn read_datagram(&self) -> ReadDatagram<'_> { +789 self.inner.read_datagram() +790 } +791 +792 /// Wait for the connection to be closed for any reason. 793 /// -794 /// Only the peer last receiving application data can be certain that all data is -795 /// delivered. The only reliable action it can then take is to close the connection, -796 /// potentially with a custom error code. The delivery of the final CONNECTION_CLOSE -797 /// frame is very likely if both endpoints stay online long enough, calling -798 /// [`Endpoint::close`] will wait to provide sufficient time. Otherwise, the remote peer -799 /// will time out the connection, provided that the idle timeout is not disabled. -800 /// -801 /// The sending side can not guarantee all stream data is delivered to the remote -802 /// application. It only knows the data is delivered to the QUIC stack of the remote -803 /// endpoint. Once the local side sends a CONNECTION_CLOSE frame in response to calling -804 /// [`close`] the remote endpoint may drop any data it received but is as yet -805 /// undelivered to the application, including data that was acknowledged as received to -806 /// the local endpoint. -807 /// -808 /// [`close`]: Connection::close -809 #[inline] -810 pub fn close(&self, error_code: VarInt, reason: &[u8]) { -811 self.inner.close(error_code, reason) -812 } -813 -814 /// Transmits `data` as an unreliable, unordered application datagram. +794 /// Despite the return type's name, closed connections are often not an error condition +795 /// at the application layer. Cases that might be routine include +796 /// [`ConnectionError::LocallyClosed`] and [`ConnectionError::ApplicationClosed`]. +797 #[inline] +798 pub async fn closed(&self) -> ConnectionError { +799 self.inner.closed().await +800 } +801 +802 /// If the connection is closed, the reason why. +803 /// +804 /// Returns `None` if the connection is still open. +805 #[inline] +806 pub fn close_reason(&self) -> Option<ConnectionError> { +807 self.inner.close_reason() +808 } +809 +810 /// Closes the connection immediately. +811 /// +812 /// Pending operations will fail immediately with [`ConnectionError::LocallyClosed`]. No +813 /// more data is sent to the peer and the peer may drop buffered data upon receiving the +814 /// CONNECTION_CLOSE frame. 815 /// -816 /// Application datagrams are a low-level primitive. They may be lost or delivered out -817 /// of order, and `data` must both fit inside a single QUIC packet and be smaller than -818 /// the maximum dictated by the peer. -819 #[inline] -820 pub fn send_datagram(&self, data: bytes::Bytes) -> Result<(), SendDatagramError> { -821 self.inner.send_datagram(data) -822 } -823 -824 // TODO: It seems `SendDatagram` is not yet exposed by quinn. This has been fixed -825 // upstream and will be in the next release. -826 // /// Transmits `data` as an unreliable, unordered application datagram -827 // /// -828 // /// Unlike [`send_datagram()`], this method will wait for buffer space during congestion -829 // /// conditions, which effectively prioritizes old datagrams over new datagrams. -830 // /// -831 // /// See [`send_datagram()`] for details. -832 // /// -833 // /// [`send_datagram()`]: Connection::send_datagram -834 // #[inline] -835 // pub fn send_datagram_wait(&self, data: bytes::Bytes) -> SendDatagram<'_> { -836 // self.inner.send_datagram_wait(data) -837 // } -838 -839 /// Computes the maximum size of datagrams that may be passed to [`send_datagram`]. -840 /// -841 /// Returns `None` if datagrams are unsupported by the peer or disabled locally. -842 /// -843 /// This may change over the lifetime of a connection according to variation in the path -844 /// MTU estimate. The peer can also enforce an arbitrarily small fixed limit, but if the -845 /// peer's limit is large this is guaranteed to be a little over a kilobyte at minimum. -846 /// -847 /// Not necessarily the maximum size of received datagrams. -848 /// -849 /// [`send_datagram`]: Self::send_datagram -850 #[inline] -851 pub fn max_datagram_size(&self) -> Option<usize> { -852 self.inner.max_datagram_size() -853 } -854 -855 /// Bytes available in the outgoing datagram buffer. -856 /// -857 /// When greater than zero, calling [`send_datagram`] with a -858 /// datagram of at most this size is guaranteed not to cause older datagrams to be -859 /// dropped. +816 /// `error_code` and `reason` are not interpreted, and are provided directly to the +817 /// peer. +818 /// +819 /// `reason` will be truncated to fit in a single packet with overhead; to improve odds +820 /// that it is preserved in full, it should be kept under 1KiB. +821 /// +822 /// # Gracefully closing a connection +823 /// +824 /// Only the peer last receiving application data can be certain that all data is +825 /// delivered. The only reliable action it can then take is to close the connection, +826 /// potentially with a custom error code. The delivery of the final CONNECTION_CLOSE +827 /// frame is very likely if both endpoints stay online long enough, calling +828 /// [`Endpoint::close`] will wait to provide sufficient time. Otherwise, the remote peer +829 /// will time out the connection, provided that the idle timeout is not disabled. +830 /// +831 /// The sending side can not guarantee all stream data is delivered to the remote +832 /// application. It only knows the data is delivered to the QUIC stack of the remote +833 /// endpoint. Once the local side sends a CONNECTION_CLOSE frame in response to calling +834 /// [`close`] the remote endpoint may drop any data it received but is as yet +835 /// undelivered to the application, including data that was acknowledged as received to +836 /// the local endpoint. +837 /// +838 /// [`close`]: Connection::close +839 #[inline] +840 pub fn close(&self, error_code: VarInt, reason: &[u8]) { +841 self.inner.close(error_code, reason) +842 } +843 +844 /// Transmits `data` as an unreliable, unordered application datagram. +845 /// +846 /// Application datagrams are a low-level primitive. They may be lost or delivered out +847 /// of order, and `data` must both fit inside a single QUIC packet and be smaller than +848 /// the maximum dictated by the peer. +849 #[inline] +850 pub fn send_datagram(&self, data: bytes::Bytes) -> Result<(), SendDatagramError> { +851 self.inner.send_datagram(data) +852 } +853 +854 /// Transmits `data` as an unreliable, unordered application datagram +855 /// +856 /// Unlike [`send_datagram()`], this method will wait for buffer space during congestion +857 /// conditions, which effectively prioritizes old datagrams over new datagrams. +858 /// +859 /// See [`send_datagram()`] for details. 860 /// -861 /// [`send_datagram`]: Self::send_datagram +861 /// [`send_datagram()`]: Connection::send_datagram 862 #[inline] -863 pub fn datagram_send_buffer_space(&self) -> usize { -864 self.inner.datagram_send_buffer_space() +863 pub fn send_datagram_wait(&self, data: bytes::Bytes) -> SendDatagram<'_> { +864 self.inner.send_datagram_wait(data) 865 } 866 -867 /// Current best estimate of this connection's latency (round-trip-time). -868 #[inline] -869 pub fn rtt(&self) -> Duration { -870 self.inner.rtt() -871 } -872 -873 /// Returns connection statistics. -874 #[inline] -875 pub fn stats(&self) -> ConnectionStats { -876 self.inner.stats() -877 } -878 -879 /// Current state of the congestion control algorithm, for debugging purposes. -880 #[inline] -881 pub fn congestion_state(&self) -> Box<dyn quinn_proto::congestion::Controller> { -882 self.inner.congestion_state() -883 } -884 -885 /// Parameters negotiated during the handshake. -886 /// -887 /// Guaranteed to return `Some` on fully established connections or after -888 /// [`Connecting::handshake_data()`] succeeds. See that method's documentations for -889 /// details on the returned value. -890 /// -891 /// [`Connection::handshake_data()`]: crate::endpoint::Connecting::handshake_data -892 #[inline] -893 pub fn handshake_data(&self) -> Option<Box<dyn Any>> { -894 self.inner.handshake_data() -895 } -896 -897 /// Cryptographic identity of the peer. -898 /// -899 /// The dynamic type returned is determined by the configured [`Session`]. For the -900 /// default `rustls` session, the return value can be [`downcast`] to a -901 /// <code>Vec<[rustls::pki_types::CertificateDer]></code> -902 /// -903 /// [`Session`]: quinn_proto::crypto::Session -904 /// [`downcast`]: Box::downcast -905 #[inline] -906 pub fn peer_identity(&self) -> Option<Box<dyn Any>> { -907 self.inner.peer_identity() -908 } -909 -910 /// A stable identifier for this connection. -911 /// -912 /// Peer addresses and connection IDs can change, but this value will remain fixed for -913 /// the lifetime of the connection. -914 #[inline] -915 pub fn stable_id(&self) -> usize { -916 self.inner.stable_id() -917 } -918 -919 /// Derives keying material from this connection's TLS session secrets. -920 /// -921 /// When both peers call this method with the same `label` and `context` -922 /// arguments and `output` buffers of equal length, they will get the -923 /// same sequence of bytes in `output`. These bytes are cryptographically -924 /// strong and pseudorandom, and are suitable for use as keying material. -925 /// -926 /// See [RFC5705](https://tools.ietf.org/html/rfc5705) for more information. -927 #[inline] -928 pub fn export_keying_material( -929 &self, -930 output: &mut [u8], -931 label: &[u8], -932 context: &[u8], -933 ) -> Result<(), quinn_proto::crypto::ExportKeyingMaterialError> { -934 self.inner.export_keying_material(output, label, context) -935 } -936 -937 /// Modifies the number of unidirectional streams that may be concurrently opened. -938 /// -939 /// No streams may be opened by the peer unless fewer than `count` are already -940 /// open. Large `count`s increase both minimum and worst-case memory consumption. -941 #[inline] -942 pub fn set_max_concurrent_uni_streams(&self, count: VarInt) { -943 self.inner.set_max_concurrent_uni_streams(count) -944 } -945 -946 /// See [`quinn_proto::TransportConfig::receive_window`]. -947 #[inline] -948 pub fn set_receive_window(&self, receive_window: VarInt) { -949 self.inner.set_receive_window(receive_window) -950 } -951 -952 /// Modifies the number of bidirectional streams that may be concurrently opened. +867 /// Computes the maximum size of datagrams that may be passed to [`send_datagram`]. +868 /// +869 /// Returns `None` if datagrams are unsupported by the peer or disabled locally. +870 /// +871 /// This may change over the lifetime of a connection according to variation in the path +872 /// MTU estimate. The peer can also enforce an arbitrarily small fixed limit, but if the +873 /// peer's limit is large this is guaranteed to be a little over a kilobyte at minimum. +874 /// +875 /// Not necessarily the maximum size of received datagrams. +876 /// +877 /// [`send_datagram`]: Self::send_datagram +878 #[inline] +879 pub fn max_datagram_size(&self) -> Option<usize> { +880 self.inner.max_datagram_size() +881 } +882 +883 /// Bytes available in the outgoing datagram buffer. +884 /// +885 /// When greater than zero, calling [`send_datagram`] with a +886 /// datagram of at most this size is guaranteed not to cause older datagrams to be +887 /// dropped. +888 /// +889 /// [`send_datagram`]: Self::send_datagram +890 #[inline] +891 pub fn datagram_send_buffer_space(&self) -> usize { +892 self.inner.datagram_send_buffer_space() +893 } +894 +895 /// Current best estimate of this connection's latency (round-trip-time). +896 #[inline] +897 pub fn rtt(&self, path_id: PathId) -> Option<Duration> { +898 self.inner.rtt(path_id) +899 } +900 +901 /// Returns connection statistics. +902 #[inline] +903 pub fn stats(&self) -> ConnectionStats { +904 self.inner.stats() +905 } +906 +907 /// Current state of the congestion control algorithm, for debugging purposes. +908 #[inline] +909 pub fn congestion_state(&self, path_id: PathId) -> Option<Box<dyn Controller>> { +910 self.inner.congestion_state(path_id) +911 } +912 +913 /// Parameters negotiated during the handshake. +914 /// +915 /// Guaranteed to return `Some` on fully established connections or after +916 /// [`Connecting::handshake_data()`] succeeds. See that method's documentations for +917 /// details on the returned value. +918 /// +919 /// [`Connection::handshake_data()`]: crate::endpoint::Connecting::handshake_data +920 #[inline] +921 pub fn handshake_data(&self) -> Option<Box<dyn Any>> { +922 self.inner.handshake_data() +923 } +924 +925 /// Cryptographic identity of the peer. +926 /// +927 /// The dynamic type returned is determined by the configured [`Session`]. For the +928 /// default `rustls` session, the return value can be [`downcast`] to a +929 /// <code>Vec<[rustls::pki_types::CertificateDer]></code> +930 /// +931 /// [`Session`]: quinn_proto::crypto::Session +932 /// [`downcast`]: Box::downcast +933 #[inline] +934 pub fn peer_identity(&self) -> Option<Box<dyn Any>> { +935 self.inner.peer_identity() +936 } +937 +938 /// A stable identifier for this connection. +939 /// +940 /// Peer addresses and connection IDs can change, but this value will remain fixed for +941 /// the lifetime of the connection. +942 #[inline] +943 pub fn stable_id(&self) -> usize { +944 self.inner.stable_id() +945 } +946 +947 /// Derives keying material from this connection's TLS session secrets. +948 /// +949 /// When both peers call this method with the same `label` and `context` +950 /// arguments and `output` buffers of equal length, they will get the +951 /// same sequence of bytes in `output`. These bytes are cryptographically +952 /// strong and pseudorandom, and are suitable for use as keying material. 953 /// -954 /// No streams may be opened by the peer unless fewer than `count` are already -955 /// open. Large `count`s increase both minimum and worst-case memory consumption. -956 #[inline] -957 pub fn set_max_concurrent_bi_streams(&self, count: VarInt) { -958 self.inner.set_max_concurrent_bi_streams(count) -959 } -960} -961 -962impl Connection<HandshakeCompleted> { -963 /// Extracts the ALPN protocol from the peer's handshake data. -964 pub fn alpn(&self) -> &[u8] { -965 &self.data.info.alpn -966 } -967 -968 /// Returns the [`EndpointId`] from the peer's TLS certificate. -969 /// -970 /// The [`PublicKey`] of an endpoint is also known as an [`EndpointId`]. This [`PublicKey`] is -971 /// included in the TLS certificate presented during the handshake when connecting. -972 /// This function allows you to get the [`EndpointId`] of the remote endpoint of this -973 /// connection. -974 /// -975 /// [`PublicKey`]: iroh_base::PublicKey -976 pub fn remote_id(&self) -> EndpointId { -977 self.data.info.endpoint_id +954 /// See [RFC5705](https://tools.ietf.org/html/rfc5705) for more information. +955 #[inline] +956 pub fn export_keying_material( +957 &self, +958 output: &mut [u8], +959 label: &[u8], +960 context: &[u8], +961 ) -> Result<(), ExportKeyingMaterialError> { +962 self.inner.export_keying_material(output, label, context) +963 } +964 +965 /// Modifies the number of unidirectional streams that may be concurrently opened. +966 /// +967 /// No streams may be opened by the peer unless fewer than `count` are already +968 /// open. Large `count`s increase both minimum and worst-case memory consumption. +969 #[inline] +970 pub fn set_max_concurrent_uni_streams(&self, count: VarInt) { +971 self.inner.set_max_concurrent_uni_streams(count) +972 } +973 +974 /// See [`quinn_proto::TransportConfig::receive_window`]. +975 #[inline] +976 pub fn set_receive_window(&self, receive_window: VarInt) { +977 self.inner.set_receive_window(receive_window) 978 } 979 -980 /// Returns a [`Watcher`] for the network paths of this connection. +980 /// Modifies the number of bidirectional streams that may be concurrently opened. 981 /// -982 /// A connection can have several network paths to the remote endpoint, commonly there -983 /// will be a path via the relay server and a holepunched path. -984 /// -985 /// The watcher is updated whenever a path is opened or closed, or when the path selected -986 /// for transmission changes (see [`PathInfo::is_selected`]). -987 /// -988 /// The [`PathInfoList`] returned from the watcher contains a [`PathInfo`] for each -989 /// transmission path. -990 /// -991 /// [`PathInfo::is_selected`]: crate::magicsock::PathInfo::is_selected -992 /// [`PathInfo`]: crate::magicsock::PathInfo -993 pub fn paths(&self) -> impl Watcher<Value = PathInfoList> + Unpin + Send + Sync + 'static { -994 self.data.paths.clone() -995 } -996 -997 /// Returns the side of the connection (client or server). -998 pub fn side(&self) -> Side { -999 self.inner.side() -1000 } -1001 -1002 /// Returns a connection info struct. -1003 /// -1004 /// A [`ConnectionInfo`] is a weak handle to the connection that does not keep the connection alive, -1005 /// but does allow to access some information about the connection and to wait for the connection to be closed. -1006 pub fn to_info(&self) -> ConnectionInfo { -1007 ConnectionInfo { -1008 data: self.data.clone(), -1009 inner: self.inner.weak_handle(), -1010 side: self.side(), -1011 } -1012 } -1013} -1014 -1015impl Connection<IncomingZeroRtt> { -1016 /// Extracts the ALPN protocol from the peer's handshake data. -1017 pub fn alpn(&self) -> Option<Vec<u8>> { -1018 alpn_from_quinn_conn(&self.inner) -1019 } -1020 -1021 /// Waits until the full handshake occurs and then returns a [`Connection`]. -1022 /// -1023 /// This may fail with [`ConnectingError::ConnectionError`], if there was -1024 /// some general failure with the connection, such as a network timeout since -1025 /// we accepted the connection. -1026 /// -1027 /// This may fail with [`ConnectingError::HandshakeFailure`], if the other side -1028 /// doesn't use the right TLS authentication, which usually every iroh endpoint -1029 /// uses and requires. -1030 /// -1031 /// Thus, those errors should only occur if someone connects to you with a -1032 /// modified iroh endpoint or with a plain QUIC client. -1033 pub async fn handshake_completed(&self) -> Result<Connection, ConnectingError> { -1034 self.data.accepted.clone().await -1035 } -1036} -1037 -1038impl Connection<OutgoingZeroRtt> { -1039 /// Extracts the ALPN protocol from the peer's handshake data. -1040 pub fn alpn(&self) -> Option<Vec<u8>> { -1041 alpn_from_quinn_conn(&self.inner) -1042 } -1043 -1044 /// Waits until the full handshake occurs and returns a [`ZeroRttStatus`]. -1045 /// -1046 /// If `ZeroRttStatus::Accepted` is returned, than any streams created before -1047 /// the handshake has completed can still be used. -1048 /// -1049 /// If `ZeroRttStatus::Rejected` is returned, than any streams created before -1050 /// the handshake will error and any data sent should be re-sent on a -1051 /// new stream. -1052 /// -1053 /// This may fail with [`ConnectingError::ConnectionError`], if there was -1054 /// some general failure with the connection, such as a network timeout since -1055 /// we initiated the connection. -1056 /// -1057 /// This may fail with [`ConnectingError::HandshakeFailure`], if the other side -1058 /// doesn't use the right TLS authentication, which usually every iroh endpoint -1059 /// uses and requires. -1060 /// -1061 /// Thus, those errors should only occur if someone connects to you with a -1062 /// modified iroh endpoint or with a plain QUIC client. -1063 pub async fn handshake_completed(&self) -> Result<ZeroRttStatus, ConnectingError> { -1064 self.data.accepted.clone().await -1065 } -1066} -1067 -1068/// Information about a connection. -1069/// -1070/// A [`ConnectionInfo`] is a weak handle to a connection that exposes some information about the connection, -1071/// but does not keep the connection alive. -1072#[derive(Debug, Clone)] -1073pub struct ConnectionInfo { -1074 side: Side, -1075 data: HandshakeCompletedData, -1076 inner: WeakConnectionHandle, -1077} -1078 -1079#[allow(missing_docs)] -1080impl ConnectionInfo { -1081 pub fn alpn(&self) -> &[u8] { -1082 &self.data.info.alpn -1083 } -1084 -1085 pub fn remote_id(&self) -> EndpointId { -1086 self.data.info.endpoint_id -1087 } -1088 -1089 pub fn is_alive(&self) -> bool { -1090 self.inner.upgrade().is_some() -1091 } -1092 -1093 /// Returns a [`Watcher`] for the network paths of this connection. -1094 /// -1095 /// A connection can have several network paths to the remote endpoint, commonly there -1096 /// will be a path via the relay server and a holepunched path. -1097 /// -1098 /// The watcher is updated whenever a path is opened or closed, or when the path selected -1099 /// for transmission changes (see [`PathInfo::is_selected`]). -1100 /// -1101 /// The [`PathInfoList`] returned from the watcher contains a [`PathInfo`] for each -1102 /// transmission path. -1103 /// -1104 /// [`PathInfo::is_selected`]: crate::magicsock::PathInfo::is_selected -1105 /// [`PathInfo`]: crate::magicsock::PathInfo -1106 pub fn paths(&self) -> impl Watcher<Value = PathInfoList> + Unpin + Send + Sync + 'static { -1107 self.data.paths.clone() -1108 } -1109 -1110 /// Returns connection statistics. -1111 /// -1112 /// Returns `None` if the connection has been dropped. -1113 pub fn stats(&self) -> Option<ConnectionStats> { -1114 self.inner.upgrade().map(|conn| conn.stats()) +982 /// No streams may be opened by the peer unless fewer than `count` are already +983 /// open. Large `count`s increase both minimum and worst-case memory consumption. +984 #[inline] +985 pub fn set_max_concurrent_bi_streams(&self, count: VarInt) { +986 self.inner.set_max_concurrent_bi_streams(count) +987 } +988} +989 +990impl Connection<HandshakeCompleted> { +991 /// Extracts the ALPN protocol from the peer's handshake data. +992 pub fn alpn(&self) -> &[u8] { +993 &self.data.info.alpn +994 } +995 +996 /// Returns the [`EndpointId`] from the peer's TLS certificate. +997 /// +998 /// The [`PublicKey`] of an endpoint is also known as an [`EndpointId`]. This [`PublicKey`] is +999 /// included in the TLS certificate presented during the handshake when connecting. +1000 /// This function allows you to get the [`EndpointId`] of the remote endpoint of this +1001 /// connection. +1002 /// +1003 /// [`PublicKey`]: iroh_base::PublicKey +1004 pub fn remote_id(&self) -> EndpointId { +1005 self.data.info.endpoint_id +1006 } +1007 +1008 /// Returns a [`Watcher`] for the network paths of this connection. +1009 /// +1010 /// A connection can have several network paths to the remote endpoint, commonly there +1011 /// will be a path via the relay server and a holepunched path. +1012 /// +1013 /// The watcher is updated whenever a path is opened or closed, or when the path selected +1014 /// for transmission changes (see [`PathInfo::is_selected`]). +1015 /// +1016 /// The [`PathInfoList`] returned from the watcher contains a [`PathInfo`] for each +1017 /// transmission path. +1018 /// +1019 /// [`PathInfo::is_selected`]: crate::magicsock::PathInfo::is_selected +1020 /// [`PathInfo`]: crate::magicsock::PathInfo +1021 pub fn paths(&self) -> impl Watcher<Value = PathInfoList> + Unpin + Send + Sync + 'static { +1022 self.data.paths.clone() +1023 } +1024 +1025 /// Returns the side of the connection (client or server). +1026 pub fn side(&self) -> Side { +1027 self.inner.side() +1028 } +1029 +1030 /// Returns a connection info struct. +1031 /// +1032 /// A [`ConnectionInfo`] is a weak handle to the connection that does not keep the connection alive, +1033 /// but does allow to access some information about the connection and to wait for the connection to be closed. +1034 pub fn to_info(&self) -> ConnectionInfo { +1035 ConnectionInfo { +1036 data: self.data.clone(), +1037 inner: self.inner.weak_handle(), +1038 side: self.side(), +1039 } +1040 } +1041} +1042 +1043impl Connection<IncomingZeroRtt> { +1044 /// Extracts the ALPN protocol from the peer's handshake data. +1045 pub fn alpn(&self) -> Option<Vec<u8>> { +1046 alpn_from_quinn_conn(&self.inner) +1047 } +1048 +1049 /// Waits until the full handshake occurs and then returns a [`Connection`]. +1050 /// +1051 /// This may fail with [`ConnectingError::ConnectionError`], if there was +1052 /// some general failure with the connection, such as a network timeout since +1053 /// we accepted the connection. +1054 /// +1055 /// This may fail with [`ConnectingError::HandshakeFailure`], if the other side +1056 /// doesn't use the right TLS authentication, which usually every iroh endpoint +1057 /// uses and requires. +1058 /// +1059 /// Thus, those errors should only occur if someone connects to you with a +1060 /// modified iroh endpoint or with a plain QUIC client. +1061 pub async fn handshake_completed(&self) -> Result<Connection, ConnectingError> { +1062 self.data.accepted.clone().await +1063 } +1064} +1065 +1066impl Connection<OutgoingZeroRtt> { +1067 /// Extracts the ALPN protocol from the peer's handshake data. +1068 pub fn alpn(&self) -> Option<Vec<u8>> { +1069 alpn_from_quinn_conn(&self.inner) +1070 } +1071 +1072 /// Waits until the full handshake occurs and returns a [`ZeroRttStatus`]. +1073 /// +1074 /// If `ZeroRttStatus::Accepted` is returned, than any streams created before +1075 /// the handshake has completed can still be used. +1076 /// +1077 /// If `ZeroRttStatus::Rejected` is returned, than any streams created before +1078 /// the handshake will error and any data sent should be re-sent on a +1079 /// new stream. +1080 /// +1081 /// This may fail with [`ConnectingError::ConnectionError`], if there was +1082 /// some general failure with the connection, such as a network timeout since +1083 /// we initiated the connection. +1084 /// +1085 /// This may fail with [`ConnectingError::HandshakeFailure`], if the other side +1086 /// doesn't use the right TLS authentication, which usually every iroh endpoint +1087 /// uses and requires. +1088 /// +1089 /// Thus, those errors should only occur if someone connects to you with a +1090 /// modified iroh endpoint or with a plain QUIC client. +1091 pub async fn handshake_completed(&self) -> Result<ZeroRttStatus, ConnectingError> { +1092 self.data.accepted.clone().await +1093 } +1094} +1095 +1096/// Information about a connection. +1097/// +1098/// A [`ConnectionInfo`] is a weak handle to a connection that exposes some information about the connection, +1099/// but does not keep the connection alive. +1100#[derive(Debug, Clone)] +1101pub struct ConnectionInfo { +1102 side: Side, +1103 data: HandshakeCompletedData, +1104 inner: WeakConnectionHandle, +1105} +1106 +1107#[allow(missing_docs)] +1108impl ConnectionInfo { +1109 pub fn alpn(&self) -> &[u8] { +1110 &self.data.info.alpn +1111 } +1112 +1113 pub fn remote_id(&self) -> EndpointId { +1114 self.data.info.endpoint_id 1115 } 1116 -1117 /// Returns the side of the connection (client or server). -1118 pub fn side(&self) -> Side { -1119 self.side -1120 } -1121 -1122 /// Waits for the connection to be closed, and returns the close reason and final connection stats. -1123 /// -1124 /// Returns `None` if the connection has been dropped already before this call. -1125 pub async fn closed(&self) -> Option<(ConnectionError, ConnectionStats)> { -1126 let fut = self.inner.upgrade()?.on_closed(); -1127 Some(fut.await) -1128 } -1129} -1130 -1131#[cfg(test)] -1132mod tests { -1133 use std::time::Duration; -1134 -1135 use iroh_base::{EndpointAddr, SecretKey}; -1136 use n0_error::{Result, StackResultExt, StdResultExt}; -1137 use n0_future::StreamExt; -1138 use n0_watcher::Watcher; -1139 use rand::SeedableRng; -1140 use tracing::{Instrument, error_span, info, info_span, trace_span}; -1141 use tracing_test::traced_test; -1142 -1143 use super::Endpoint; -1144 use crate::{ -1145 RelayMode, -1146 endpoint::{ConnectOptions, Incoming, PathInfo, PathInfoList, ZeroRttStatus}, -1147 test_utils::run_relay_server, -1148 }; +1117 pub fn is_alive(&self) -> bool { +1118 self.inner.upgrade().is_some() +1119 } +1120 +1121 /// Returns a [`Watcher`] for the network paths of this connection. +1122 /// +1123 /// A connection can have several network paths to the remote endpoint, commonly there +1124 /// will be a path via the relay server and a holepunched path. +1125 /// +1126 /// The watcher is updated whenever a path is opened or closed, or when the path selected +1127 /// for transmission changes (see [`PathInfo::is_selected`]). +1128 /// +1129 /// The [`PathInfoList`] returned from the watcher contains a [`PathInfo`] for each +1130 /// transmission path. +1131 /// +1132 /// [`PathInfo::is_selected`]: crate::magicsock::PathInfo::is_selected +1133 /// [`PathInfo`]: crate::magicsock::PathInfo +1134 pub fn paths(&self) -> impl Watcher<Value = PathInfoList> + Unpin + Send + Sync + 'static { +1135 self.data.paths.clone() +1136 } +1137 +1138 /// Returns connection statistics. +1139 /// +1140 /// Returns `None` if the connection has been dropped. +1141 pub fn stats(&self) -> Option<ConnectionStats> { +1142 self.inner.upgrade().map(|conn| conn.stats()) +1143 } +1144 +1145 /// Returns the side of the connection (client or server). +1146 pub fn side(&self) -> Side { +1147 self.side +1148 } 1149 -1150 const TEST_ALPN: &[u8] = b"n0/iroh/test"; -1151 -1152 async fn spawn_0rtt_server(secret_key: SecretKey, log_span: tracing::Span) -> Result<Endpoint> { -1153 let server = Endpoint::empty_builder(RelayMode::Disabled) -1154 .secret_key(secret_key) -1155 .alpns(vec![TEST_ALPN.to_vec()]) -1156 .bind() -1157 .instrument(log_span.clone()) -1158 .await?; -1159 -1160 async fn handle_incoming(incoming: Incoming) -> Result { -1161 let accepting = incoming -1162 .accept() -1163 .std_context("Failed to accept incoming connection")?; -1164 -1165 // accept a possible 0-RTT connection -1166 let zrtt_conn = accepting.into_0rtt(); -1167 -1168 let (mut send, mut recv) = zrtt_conn -1169 .accept_bi() -1170 .await -1171 .std_context("failed to accept bi stream")?; -1172 -1173 let data = recv -1174 .read_to_end(10_000_000) -1175 .await -1176 .std_context("Failed to read data")?; +1150 /// Waits for the connection to be closed, and returns the close reason and final connection stats. +1151 /// +1152 /// Returns `None` if the connection has been dropped already before this call. +1153 pub async fn closed(&self) -> Option<(ConnectionError, ConnectionStats)> { +1154 let fut = self.inner.upgrade()?.on_closed(); +1155 Some(fut.await) +1156 } +1157} +1158 +1159#[cfg(test)] +1160mod tests { +1161 use std::time::Duration; +1162 +1163 use iroh_base::{EndpointAddr, SecretKey}; +1164 use n0_error::{Result, StackResultExt, StdResultExt}; +1165 use n0_future::StreamExt; +1166 use n0_tracing_test::traced_test; +1167 use n0_watcher::Watcher; +1168 use rand::SeedableRng; +1169 use tracing::{Instrument, error_span, info, info_span, trace_span}; +1170 +1171 use super::Endpoint; +1172 use crate::{ +1173 RelayMode, +1174 endpoint::{ConnectOptions, Incoming, PathInfo, PathInfoList, ZeroRttStatus}, +1175 test_utils::run_relay_server, +1176 }; 1177 -1178 send.write_all(&data) -1179 .await -1180 .std_context("Failed to write data")?; -1181 send.finish().std_context("Failed to finish send")?; -1182 -1183 // Stay alive until the other side closes the connection. -1184 zrtt_conn.closed().await; -1185 Ok(()) -1186 } +1178 const TEST_ALPN: &[u8] = b"n0/iroh/test"; +1179 +1180 async fn spawn_0rtt_server(secret_key: SecretKey, log_span: tracing::Span) -> Result<Endpoint> { +1181 let server = Endpoint::empty_builder(RelayMode::Disabled) +1182 .secret_key(secret_key) +1183 .alpns(vec![TEST_ALPN.to_vec()]) +1184 .bind() +1185 .instrument(log_span.clone()) +1186 .await?; 1187 -1188 // Gets aborted via the endpoint closing causing an `Err` -1189 // a simple echo server -1190 tokio::spawn({ -1191 let server = server.clone(); -1192 async move { -1193 tracing::trace!("Server accept loop started"); -1194 while let Some(incoming) = server.accept().await { -1195 tracing::trace!("Server received incoming connection"); -1196 // Handle connection errors gracefully instead of exiting the task -1197 if let Err(e) = handle_incoming(incoming).await { -1198 tracing::warn!("Failure while handling connection: {e:#}"); -1199 } -1200 tracing::trace!("Connection closed, ready for next"); -1201 } -1202 tracing::trace!("Server accept loop exiting"); -1203 n0_error::Ok(()) -1204 } -1205 .instrument(log_span) -1206 }); -1207 -1208 Ok(server) -1209 } +1188 async fn handle_incoming(incoming: Incoming) -> Result { +1189 let accepting = incoming +1190 .accept() +1191 .std_context("Failed to accept incoming connection")?; +1192 +1193 // accept a possible 0-RTT connection +1194 let zrtt_conn = accepting.into_0rtt(); +1195 +1196 let (mut send, mut recv) = zrtt_conn +1197 .accept_bi() +1198 .await +1199 .std_context("failed to accept bi stream")?; +1200 +1201 let data = recv +1202 .read_to_end(10_000_000) +1203 .await +1204 .std_context("Failed to read data")?; +1205 +1206 send.write_all(&data) +1207 .await +1208 .std_context("Failed to write data")?; +1209 send.finish().std_context("Failed to finish send")?; 1210 -1211 async fn connect_client_0rtt_expect_err( -1212 client: &Endpoint, -1213 server_addr: EndpointAddr, -1214 ) -> Result { -1215 let conn = client -1216 .connect_with_opts(server_addr, TEST_ALPN, ConnectOptions::new()) -1217 .await? -1218 .into_0rtt() -1219 .expect_err("expected 0-RTT to fail") -1220 .await?; -1221 -1222 let (mut send, mut recv) = conn.open_bi().await.anyerr()?; -1223 send.write_all(b"hello").await.anyerr()?; -1224 send.finish().anyerr()?; -1225 let received = recv.read_to_end(1_000).await.anyerr()?; -1226 assert_eq!(&received, b"hello"); -1227 conn.close(0u32.into(), b"thx"); -1228 Ok(()) -1229 } -1230 -1231 async fn connect_client_0rtt_expect_ok( -1232 client: &Endpoint, -1233 server_addr: EndpointAddr, -1234 expect_server_accepts: bool, -1235 ) -> Result { -1236 tracing::trace!(?server_addr, "Client connecting with 0-RTT"); -1237 let zrtt_conn = client -1238 .connect_with_opts(server_addr, TEST_ALPN, ConnectOptions::new()) -1239 .await -1240 .context("connect")? -1241 .into_0rtt() -1242 .ok() -1243 .context("into_0rtt")?; -1244 -1245 tracing::trace!("Client established 0-RTT connection"); -1246 // This is how we send data in 0-RTT: -1247 let (mut send, mut recv) = zrtt_conn.open_bi().await.anyerr()?; -1248 send.write_all(b"hello").await.anyerr()?; -1249 send.finish().anyerr()?; -1250 tracing::trace!("Client sent 0-RTT data, waiting for server response"); -1251 // When this resolves, we've gotten a response from the server about whether the 0-RTT data above was accepted: -1252 let zrtt_res = zrtt_conn.handshake_completed().await; -1253 tracing::trace!(?zrtt_res, "Server responded to 0-RTT"); -1254 let zrtt_res = zrtt_res.context("handshake completed")?; -1255 let conn = match zrtt_res { -1256 ZeroRttStatus::Accepted(conn) => { -1257 assert!(expect_server_accepts); -1258 conn -1259 } -1260 ZeroRttStatus::Rejected(conn) => { -1261 assert!(!expect_server_accepts); -1262 // in this case we need to re-send data by re-creating the stream. -1263 let (mut send, r) = conn.open_bi().await.anyerr()?; -1264 send.write_all(b"hello").await.anyerr()?; -1265 send.finish().anyerr()?; -1266 recv = r; -1267 conn -1268 } -1269 }; -1270 let received = recv.read_to_end(1_000).await.anyerr()?; -1271 assert_eq!(&received, b"hello"); -1272 conn.close(0u32.into(), b"thx"); -1273 Ok(()) -1274 } -1275 -1276 #[tokio::test] -1277 #[traced_test] -1278 async fn test_0rtt() -> Result { -1279 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(42); -1280 let client = Endpoint::empty_builder(RelayMode::Disabled).bind().await?; -1281 let server = spawn_0rtt_server(SecretKey::generate(&mut rng), info_span!("server")).await?; -1282 -1283 connect_client_0rtt_expect_err(&client, server.addr()).await?; -1284 // The second 0rtt attempt should work -1285 connect_client_0rtt_expect_ok(&client, server.addr(), true).await?; -1286 -1287 client.close().await; -1288 server.close().await; -1289 -1290 Ok(()) -1291 } -1292 -1293 // We have this test, as this would've failed at some point. -1294 // This effectively tests that we correctly categorize the TLS session tickets we -1295 // receive into the respective "bucket" for the recipient. -1296 #[tokio::test] -1297 #[traced_test] -1298 async fn test_0rtt_non_consecutive() -> Result { -1299 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(42); -1300 let client = Endpoint::empty_builder(RelayMode::Disabled).bind().await?; -1301 let server = spawn_0rtt_server(SecretKey::generate(&mut rng), info_span!("server")).await?; -1302 -1303 connect_client_0rtt_expect_err(&client, server.addr()).await?; -1304 -1305 // connecting with another endpoint should not interfere with our -1306 // TLS session ticket cache for the first endpoint: -1307 let another = -1308 spawn_0rtt_server(SecretKey::generate(&mut rng), info_span!("another")).await?; -1309 connect_client_0rtt_expect_err(&client, another.addr()).await?; -1310 another.close().await; -1311 -1312 connect_client_0rtt_expect_ok(&client, server.addr(), true).await?; -1313 -1314 client.close().await; -1315 server.close().await; -1316 -1317 Ok(()) -1318 } -1319 -1320 // Test whether 0-RTT is possible after a restart: -1321 #[tokio::test] -1322 #[traced_test] -1323 async fn test_0rtt_after_server_restart() -> Result { -1324 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(42); -1325 let client = Endpoint::empty_builder(RelayMode::Disabled) -1326 .bind() -1327 .instrument(info_span!("client")) -1328 .await?; -1329 let server_key = SecretKey::generate(&mut rng); -1330 let server = spawn_0rtt_server(server_key.clone(), info_span!("server-initial")).await?; -1331 -1332 connect_client_0rtt_expect_err(&client, server.addr()) -1333 .instrument(trace_span!("connect1")) -1334 .await -1335 .context("client connect 1")?; -1336 connect_client_0rtt_expect_ok(&client, server.addr(), true) -1337 .instrument(trace_span!("connect2")) -1338 .await -1339 .context("client connect 2")?; -1340 -1341 // adds time to the test, but we need to ensure the server is fully closed before spawning the next one. -1342 server.close().await; -1343 -1344 let server = spawn_0rtt_server(server_key, info_span!("server-restart")).await?; -1345 -1346 // we expect the client to *believe* it can 0-RTT connect to the server (hence expect_ok), -1347 // but the server will reject the early data because it discarded necessary state -1348 // to decrypt it when restarting. -1349 connect_client_0rtt_expect_ok(&client, server.addr(), false) -1350 .instrument(trace_span!("connect3")) -1351 .await -1352 .context("client connect 3")?; -1353 -1354 tokio::join!(client.close(), server.close()); -1355 Ok(()) -1356 } -1357 -1358 #[tokio::test] -1359 #[traced_test] -1360 async fn test_paths_watcher() -> Result { -1361 const ALPN: &[u8] = b"test"; -1362 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); -1363 let (relay_map, _relay_map, _guard) = run_relay_server().await?; -1364 let server = Endpoint::empty_builder(RelayMode::Custom(relay_map.clone())) -1365 .secret_key(SecretKey::generate(&mut rng)) -1366 .insecure_skip_relay_cert_verify(true) -1367 .alpns(vec![ALPN.to_vec()]) -1368 .bind() -1369 .await?; -1370 -1371 let client = Endpoint::empty_builder(RelayMode::Custom(relay_map.clone())) -1372 .secret_key(SecretKey::generate(&mut rng)) -1373 .insecure_skip_relay_cert_verify(true) -1374 .bind() -1375 .await?; -1376 -1377 server.online().await; -1378 let server_addr = server.addr(); -1379 info!("server addr: {server_addr:?}"); -1380 -1381 let (conn_client, conn_server) = tokio::join!( -1382 async { client.connect(server_addr, ALPN).await.unwrap() }, -1383 async { server.accept().await.unwrap().await.unwrap() } -1384 ); -1385 info!("connected"); -1386 let mut paths_client = conn_client.paths().stream(); -1387 let mut paths_server = conn_server.paths().stream(); -1388 -1389 /// Advances the path stream until at least one IP and one relay paths are available. -1390 /// -1391 /// Panics if the path stream finishes before that happens. -1392 async fn wait_for_paths( -1393 stream: &mut n0_watcher::Stream<impl n0_watcher::Watcher<Value = PathInfoList> + Unpin>, -1394 ) { -1395 loop { -1396 let paths = stream.next().await.expect("paths stream ended"); -1397 info!(?paths, "paths"); -1398 if paths.len() >= 2 -1399 && paths.iter().any(PathInfo::is_relay) -1400 && paths.iter().any(PathInfo::is_ip) -1401 { -1402 info!("break"); -1403 return; -1404 } -1405 } -1406 } -1407 -1408 // Verify that both connections are notified of path changes and get an IP and a relay path. -1409 tokio::join!( -1410 async { -1411 tokio::time::timeout(Duration::from_secs(1), wait_for_paths(&mut paths_server)) -1412 .instrument(error_span!("paths-server")) -1413 .await -1414 .unwrap() -1415 }, -1416 async { -1417 tokio::time::timeout(Duration::from_secs(1), wait_for_paths(&mut paths_client)) -1418 .instrument(error_span!("paths-client")) -1419 .await -1420 .unwrap() -1421 } -1422 ); -1423 -1424 // Close the client connection. -1425 info!("close client conn"); -1426 conn_client.close(0u32.into(), b""); -1427 -1428 // Verify that the path watch streams close. -1429 assert_eq!( -1430 tokio::time::timeout(Duration::from_secs(1), paths_client.next()) -1431 .await -1432 .unwrap(), -1433 None -1434 ); -1435 assert_eq!( -1436 tokio::time::timeout(Duration::from_secs(1), paths_server.next()) -1437 .await -1438 .unwrap(), -1439 None -1440 ); -1441 -1442 server.close().await; -1443 client.close().await; -1444 -1445 Ok(()) -1446 } -1447} \ No newline at end of file +1211 // Stay alive until the other side closes the connection. +1212 zrtt_conn.closed().await; +1213 Ok(()) +1214 } +1215 +1216 // Gets aborted via the endpoint closing causing an `Err` +1217 // a simple echo server +1218 tokio::spawn({ +1219 let server = server.clone(); +1220 async move { +1221 tracing::trace!("Server accept loop started"); +1222 while let Some(incoming) = server.accept().await { +1223 tracing::trace!("Server received incoming connection"); +1224 // Handle connection errors gracefully instead of exiting the task +1225 if let Err(e) = handle_incoming(incoming).await { +1226 tracing::warn!("Failure while handling connection: {e:#}"); +1227 } +1228 tracing::trace!("Connection closed, ready for next"); +1229 } +1230 tracing::trace!("Server accept loop exiting"); +1231 n0_error::Ok(()) +1232 } +1233 .instrument(log_span) +1234 }); +1235 +1236 Ok(server) +1237 } +1238 +1239 async fn connect_client_0rtt_expect_err( +1240 client: &Endpoint, +1241 server_addr: EndpointAddr, +1242 ) -> Result { +1243 let conn = client +1244 .connect_with_opts(server_addr, TEST_ALPN, ConnectOptions::new()) +1245 .await? +1246 .into_0rtt() +1247 .expect_err("expected 0-RTT to fail") +1248 .await?; +1249 +1250 let (mut send, mut recv) = conn.open_bi().await.anyerr()?; +1251 send.write_all(b"hello").await.anyerr()?; +1252 send.finish().anyerr()?; +1253 let received = recv.read_to_end(1_000).await.anyerr()?; +1254 assert_eq!(&received, b"hello"); +1255 conn.close(0u32.into(), b"thx"); +1256 Ok(()) +1257 } +1258 +1259 async fn connect_client_0rtt_expect_ok( +1260 client: &Endpoint, +1261 server_addr: EndpointAddr, +1262 expect_server_accepts: bool, +1263 ) -> Result { +1264 tracing::trace!(?server_addr, "Client connecting with 0-RTT"); +1265 let zrtt_conn = client +1266 .connect_with_opts(server_addr, TEST_ALPN, ConnectOptions::new()) +1267 .await +1268 .context("connect")? +1269 .into_0rtt() +1270 .ok() +1271 .context("into_0rtt")?; +1272 +1273 tracing::trace!("Client established 0-RTT connection"); +1274 // This is how we send data in 0-RTT: +1275 let (mut send, mut recv) = zrtt_conn.open_bi().await.anyerr()?; +1276 send.write_all(b"hello").await.anyerr()?; +1277 send.finish().anyerr()?; +1278 tracing::trace!("Client sent 0-RTT data, waiting for server response"); +1279 // When this resolves, we've gotten a response from the server about whether the 0-RTT data above was accepted: +1280 let zrtt_res = zrtt_conn.handshake_completed().await; +1281 tracing::trace!(?zrtt_res, "Server responded to 0-RTT"); +1282 let zrtt_res = zrtt_res.context("handshake completed")?; +1283 let conn = match zrtt_res { +1284 ZeroRttStatus::Accepted(conn) => { +1285 assert!(expect_server_accepts); +1286 conn +1287 } +1288 ZeroRttStatus::Rejected(conn) => { +1289 assert!(!expect_server_accepts); +1290 // in this case we need to re-send data by re-creating the stream. +1291 let (mut send, r) = conn.open_bi().await.anyerr()?; +1292 send.write_all(b"hello").await.anyerr()?; +1293 send.finish().anyerr()?; +1294 recv = r; +1295 conn +1296 } +1297 }; +1298 let received = recv.read_to_end(1_000).await.anyerr()?; +1299 assert_eq!(&received, b"hello"); +1300 conn.close(0u32.into(), b"thx"); +1301 Ok(()) +1302 } +1303 +1304 #[tokio::test] +1305 #[traced_test] +1306 async fn test_0rtt() -> Result { +1307 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(42); +1308 let client = Endpoint::empty_builder(RelayMode::Disabled).bind().await?; +1309 let server = spawn_0rtt_server(SecretKey::generate(&mut rng), info_span!("server")).await?; +1310 +1311 connect_client_0rtt_expect_err(&client, server.addr()).await?; +1312 // The second 0rtt attempt should work +1313 connect_client_0rtt_expect_ok(&client, server.addr(), true).await?; +1314 +1315 client.close().await; +1316 server.close().await; +1317 +1318 Ok(()) +1319 } +1320 +1321 // We have this test, as this would've failed at some point. +1322 // This effectively tests that we correctly categorize the TLS session tickets we +1323 // receive into the respective "bucket" for the recipient. +1324 #[tokio::test] +1325 #[traced_test] +1326 async fn test_0rtt_non_consecutive() -> Result { +1327 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(42); +1328 let client = Endpoint::empty_builder(RelayMode::Disabled).bind().await?; +1329 let server = spawn_0rtt_server(SecretKey::generate(&mut rng), info_span!("server")).await?; +1330 +1331 connect_client_0rtt_expect_err(&client, server.addr()).await?; +1332 +1333 // connecting with another endpoint should not interfere with our +1334 // TLS session ticket cache for the first endpoint: +1335 let another = +1336 spawn_0rtt_server(SecretKey::generate(&mut rng), info_span!("another")).await?; +1337 connect_client_0rtt_expect_err(&client, another.addr()).await?; +1338 another.close().await; +1339 +1340 connect_client_0rtt_expect_ok(&client, server.addr(), true).await?; +1341 +1342 client.close().await; +1343 server.close().await; +1344 +1345 Ok(()) +1346 } +1347 +1348 // Test whether 0-RTT is possible after a restart: +1349 #[tokio::test] +1350 #[traced_test] +1351 async fn test_0rtt_after_server_restart() -> Result { +1352 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(42); +1353 let client = Endpoint::empty_builder(RelayMode::Disabled) +1354 .bind() +1355 .instrument(info_span!("client")) +1356 .await?; +1357 let server_key = SecretKey::generate(&mut rng); +1358 let server = spawn_0rtt_server(server_key.clone(), info_span!("server-initial")).await?; +1359 +1360 connect_client_0rtt_expect_err(&client, server.addr()) +1361 .instrument(trace_span!("connect1")) +1362 .await +1363 .context("client connect 1")?; +1364 connect_client_0rtt_expect_ok(&client, server.addr(), true) +1365 .instrument(trace_span!("connect2")) +1366 .await +1367 .context("client connect 2")?; +1368 +1369 // adds time to the test, but we need to ensure the server is fully closed before spawning the next one. +1370 server.close().await; +1371 +1372 let server = spawn_0rtt_server(server_key, info_span!("server-restart")).await?; +1373 +1374 // we expect the client to *believe* it can 0-RTT connect to the server (hence expect_ok), +1375 // but the server will reject the early data because it discarded necessary state +1376 // to decrypt it when restarting. +1377 connect_client_0rtt_expect_ok(&client, server.addr(), false) +1378 .instrument(trace_span!("connect3")) +1379 .await +1380 .context("client connect 3")?; +1381 +1382 tokio::join!(client.close(), server.close()); +1383 Ok(()) +1384 } +1385 +1386 #[tokio::test] +1387 #[traced_test] +1388 async fn test_paths_watcher() -> Result { +1389 const ALPN: &[u8] = b"test"; +1390 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); +1391 let (relay_map, _relay_map, _guard) = run_relay_server().await?; +1392 let server = Endpoint::empty_builder(RelayMode::Custom(relay_map.clone())) +1393 .secret_key(SecretKey::generate(&mut rng)) +1394 .insecure_skip_relay_cert_verify(true) +1395 .alpns(vec![ALPN.to_vec()]) +1396 .bind() +1397 .await?; +1398 +1399 let client = Endpoint::empty_builder(RelayMode::Custom(relay_map.clone())) +1400 .secret_key(SecretKey::generate(&mut rng)) +1401 .insecure_skip_relay_cert_verify(true) +1402 .bind() +1403 .await?; +1404 +1405 server.online().await; +1406 let server_addr = server.addr(); +1407 info!("server addr: {server_addr:?}"); +1408 +1409 let (conn_client, conn_server) = tokio::join!( +1410 async { client.connect(server_addr, ALPN).await.unwrap() }, +1411 async { server.accept().await.unwrap().await.unwrap() } +1412 ); +1413 info!("connected"); +1414 let mut paths_client = conn_client.paths().stream(); +1415 let mut paths_server = conn_server.paths().stream(); +1416 +1417 /// Advances the path stream until at least one IP and one relay paths are available. +1418 /// +1419 /// Panics if the path stream finishes before that happens. +1420 async fn wait_for_paths( +1421 stream: &mut n0_watcher::Stream<impl n0_watcher::Watcher<Value = PathInfoList> + Unpin>, +1422 ) { +1423 loop { +1424 let paths = stream.next().await.expect("paths stream ended"); +1425 info!(?paths, "paths"); +1426 if paths.len() >= 2 +1427 && paths.iter().any(PathInfo::is_relay) +1428 && paths.iter().any(PathInfo::is_ip) +1429 { +1430 info!("break"); +1431 return; +1432 } +1433 } +1434 } +1435 +1436 // Verify that both connections are notified of path changes and get an IP and a relay path. +1437 tokio::join!( +1438 async { +1439 tokio::time::timeout(Duration::from_secs(1), wait_for_paths(&mut paths_server)) +1440 .instrument(error_span!("paths-server")) +1441 .await +1442 .unwrap() +1443 }, +1444 async { +1445 tokio::time::timeout(Duration::from_secs(1), wait_for_paths(&mut paths_client)) +1446 .instrument(error_span!("paths-client")) +1447 .await +1448 .unwrap() +1449 } +1450 ); +1451 +1452 // Close the client connection. +1453 info!("close client conn"); +1454 conn_client.close(0u32.into(), b""); +1455 +1456 // Verify that the path watch streams close. +1457 assert_eq!( +1458 tokio::time::timeout(Duration::from_secs(1), paths_client.next()) +1459 .await +1460 .unwrap(), +1461 None +1462 ); +1463 assert_eq!( +1464 tokio::time::timeout(Duration::from_secs(1), paths_server.next()) +1465 .await +1466 .unwrap(), +1467 None +1468 ); +1469 +1470 server.close().await; +1471 client.close().await; +1472 +1473 Ok(()) +1474 } +1475} \ No newline at end of file diff --git a/pr/3734/docs/src/iroh/endpoint/hooks.rs.html b/pr/3734/docs/src/iroh/endpoint/hooks.rs.html index 1d9df927d1..272a8ea68d 100644 --- a/pr/3734/docs/src/iroh/endpoint/hooks.rs.html +++ b/pr/3734/docs/src/iroh/endpoint/hooks.rs.html @@ -1,168 +1,167 @@ hooks.rs - source

    iroh/endpoint/
    hooks.rs

    1use std::pin::Pin;
     2
     3use iroh_base::EndpointAddr;
    -4use quinn::VarInt;
    -5
    -6use crate::endpoint::connection::ConnectionInfo;
    -7
    -8type BoxFuture<'a, T> = Pin<Box<dyn Future<Output = T> + Send + 'a>>;
    -9
    -10/// Outcome of [`EndpointHooks::before_connect`]
    -11#[derive(Debug)]
    -12pub enum BeforeConnectOutcome {
    -13    /// Accept the connect attempt.
    -14    Accept,
    -15    /// Reject the connect attempt.
    -16    Reject,
    -17}
    -18
    -19/// Outcome of [`EndpointHooks::after_handshake`]
    -20#[derive(Debug)]
    -21pub enum AfterHandshakeOutcome {
    -22    /// Accept the connection.
    -23    Accept,
    -24    /// Reject and close the connection.
    -25    ///
    -26    /// See [`Connection::close`] for details on `error_code` and `reason`.
    -27    ///
    -28    /// [`Connection::close`]: crate::endpoint::Connection::close
    -29    Reject {
    -30        /// Error code to send with the connection close frame.
    -31        error_code: VarInt,
    -32        /// Close reason to send with the connection close frame.
    -33        reason: Vec<u8>,
    -34    },
    -35}
    -36
    -37impl AfterHandshakeOutcome {
    -38    /// Returns [`Self::Accept`].
    -39    pub fn accept() -> Self {
    -40        Self::Accept
    -41    }
    -42
    -43    /// Returns [`Self::Reject`].
    -44    pub fn reject(&self, error_code: VarInt, reason: &[u8]) -> Self {
    -45        Self::Reject {
    -46            error_code,
    -47            reason: reason.to_vec(),
    -48        }
    -49    }
    -50}
    -51
    -52/// EndpointHooks intercept the connection establishment process of an [`Endpoint`].
    -53///
    -54/// Use [`Builder::hooks`] to install hooks onto an endpoint.
    -55///
    -56/// For each hook, all installed hooks are invoked in the order they were installed on
    -57/// the endpoint builder. If a hook returns `Accept`, processing continues with the next
    -58/// hook. If a hook returns `Reject`, processing is aborted and further hooks
    -59/// are not invoked for this hook.
    -60///
    -61/// ## Notes to implementers
    -62///
    -63/// As hooks are stored on the endpoint, you must make sure to never store an [`Endpoint`]
    -64/// on the hook struct itself, as this would create reference counting loop and cause the
    -65/// endpoint to never be dropped, leaking memory.
    -66///
    -67/// [`Endpoint`]: crate::Endpoint
    -68/// [`Builder::hooks`]: crate::endpoint::Builder::hooks
    -69pub trait EndpointHooks: std::fmt::Debug + Send + Sync {
    -70    /// Intercept outgoing connections before they are started.
    -71    ///
    -72    /// This is called whenever a new outgoing connection is initiated via [`Endpoint::connect`]
    -73    /// or [`Endpoint::connect_with_opts`].
    -74    ///
    -75    /// If any hook returns [`BeforeConnectOutcome::Reject`], the connection attempt is aborted
    -76    /// before any packets are sent to the remote.
    -77    ///
    -78    /// [`Endpoint::connect`]: crate::Endpoint::connect
    -79    /// [`Endpoint::connect_with_opts`]: crate::Endpoint::connect_with_opts
    -80    fn before_connect<'a>(
    -81        &'a self,
    -82        _remote_addr: &'a EndpointAddr,
    -83        _alpn: &'a [u8],
    -84    ) -> impl Future<Output = BeforeConnectOutcome> + Send + 'a {
    -85        async { BeforeConnectOutcome::Accept }
    -86    }
    -87
    -88    /// Intercept both incoming and outgoing connections once the TLS handshake has completed.
    -89    ///
    -90    /// At this point in time, we know the remote's endpoint id and ALPN. If any hook returns
    -91    /// [`AfterHandshakeOutcome::Reject`], the connection is closed with the provided error code
    -92    /// and reason.
    -93    fn after_handshake<'a>(
    -94        &'a self,
    -95        _conn: &'a ConnectionInfo,
    -96    ) -> impl Future<Output = AfterHandshakeOutcome> + Send + 'a {
    -97        async { AfterHandshakeOutcome::accept() }
    -98    }
    -99}
    -100
    -101pub(crate) trait DynEndpointHooks: std::fmt::Debug + Send + Sync {
    -102    fn before_connect<'a>(
    -103        &'a self,
    -104        remote_addr: &'a EndpointAddr,
    -105        alpn: &'a [u8],
    -106    ) -> BoxFuture<'a, BeforeConnectOutcome>;
    -107    fn after_handshake<'a>(
    -108        &'a self,
    -109        conn: &'a ConnectionInfo,
    -110    ) -> BoxFuture<'a, AfterHandshakeOutcome>;
    -111}
    -112
    -113impl<T: EndpointHooks> DynEndpointHooks for T {
    -114    fn before_connect<'a>(
    -115        &'a self,
    -116        remote_addr: &'a EndpointAddr,
    -117        alpn: &'a [u8],
    -118    ) -> BoxFuture<'a, BeforeConnectOutcome> {
    -119        Box::pin(EndpointHooks::before_connect(self, remote_addr, alpn))
    -120    }
    -121
    -122    fn after_handshake<'a>(
    -123        &'a self,
    -124        conn: &'a ConnectionInfo,
    -125    ) -> BoxFuture<'a, AfterHandshakeOutcome> {
    -126        Box::pin(EndpointHooks::after_handshake(self, conn))
    -127    }
    -128}
    -129
    -130#[derive(Debug, Default)]
    -131pub(crate) struct EndpointHooksList {
    -132    inner: Vec<Box<dyn DynEndpointHooks>>,
    -133}
    -134
    -135impl EndpointHooksList {
    -136    pub(super) fn push(&mut self, hook: impl EndpointHooks + 'static) {
    -137        let hook: Box<dyn DynEndpointHooks> = Box::new(hook);
    -138        self.inner.push(hook);
    -139    }
    -140
    -141    pub(super) async fn before_connect(
    -142        &self,
    -143        remote_addr: &EndpointAddr,
    -144        alpn: &[u8],
    -145    ) -> BeforeConnectOutcome {
    -146        for hook in self.inner.iter() {
    -147            match hook.before_connect(remote_addr, alpn).await {
    -148                BeforeConnectOutcome::Accept => continue,
    -149                reject @ BeforeConnectOutcome::Reject => {
    -150                    return reject;
    -151                }
    -152            }
    -153        }
    -154        BeforeConnectOutcome::Accept
    -155    }
    -156
    -157    pub(super) async fn after_handshake(&self, conn: &ConnectionInfo) -> AfterHandshakeOutcome {
    -158        for hook in self.inner.iter() {
    -159            match hook.after_handshake(conn).await {
    -160                AfterHandshakeOutcome::Accept => continue,
    -161                reject @ AfterHandshakeOutcome::Reject { .. } => {
    -162                    return reject;
    -163                }
    -164            }
    -165        }
    -166        AfterHandshakeOutcome::Accept
    -167    }
    -168}
    \ No newline at end of file +4 +5use crate::endpoint::{connection::ConnectionInfo, quic::VarInt}; +6 +7type BoxFuture<'a, T> = Pin<Box<dyn Future<Output = T> + Send + 'a>>; +8 +9/// Outcome of [`EndpointHooks::before_connect`] +10#[derive(Debug)] +11pub enum BeforeConnectOutcome { +12 /// Accept the connect attempt. +13 Accept, +14 /// Reject the connect attempt. +15 Reject, +16} +17 +18/// Outcome of [`EndpointHooks::after_handshake`] +19#[derive(Debug)] +20pub enum AfterHandshakeOutcome { +21 /// Accept the connection. +22 Accept, +23 /// Reject and close the connection. +24 /// +25 /// See [`Connection::close`] for details on `error_code` and `reason`. +26 /// +27 /// [`Connection::close`]: crate::endpoint::Connection::close +28 Reject { +29 /// Error code to send with the connection close frame. +30 error_code: VarInt, +31 /// Close reason to send with the connection close frame. +32 reason: Vec<u8>, +33 }, +34} +35 +36impl AfterHandshakeOutcome { +37 /// Returns [`Self::Accept`]. +38 pub fn accept() -> Self { +39 Self::Accept +40 } +41 +42 /// Returns [`Self::Reject`]. +43 pub fn reject(&self, error_code: VarInt, reason: &[u8]) -> Self { +44 Self::Reject { +45 error_code, +46 reason: reason.to_vec(), +47 } +48 } +49} +50 +51/// EndpointHooks intercept the connection establishment process of an [`Endpoint`]. +52/// +53/// Use [`Builder::hooks`] to install hooks onto an endpoint. +54/// +55/// For each hook, all installed hooks are invoked in the order they were installed on +56/// the endpoint builder. If a hook returns `Accept`, processing continues with the next +57/// hook. If a hook returns `Reject`, processing is aborted and further hooks +58/// are not invoked for this hook. +59/// +60/// ## Notes to implementers +61/// +62/// As hooks are stored on the endpoint, you must make sure to never store an [`Endpoint`] +63/// on the hook struct itself, as this would create reference counting loop and cause the +64/// endpoint to never be dropped, leaking memory. +65/// +66/// [`Endpoint`]: crate::Endpoint +67/// [`Builder::hooks`]: crate::endpoint::Builder::hooks +68pub trait EndpointHooks: std::fmt::Debug + Send + Sync { +69 /// Intercept outgoing connections before they are started. +70 /// +71 /// This is called whenever a new outgoing connection is initiated via [`Endpoint::connect`] +72 /// or [`Endpoint::connect_with_opts`]. +73 /// +74 /// If any hook returns [`BeforeConnectOutcome::Reject`], the connection attempt is aborted +75 /// before any packets are sent to the remote. +76 /// +77 /// [`Endpoint::connect`]: crate::Endpoint::connect +78 /// [`Endpoint::connect_with_opts`]: crate::Endpoint::connect_with_opts +79 fn before_connect<'a>( +80 &'a self, +81 _remote_addr: &'a EndpointAddr, +82 _alpn: &'a [u8], +83 ) -> impl Future<Output = BeforeConnectOutcome> + Send + 'a { +84 async { BeforeConnectOutcome::Accept } +85 } +86 +87 /// Intercept both incoming and outgoing connections once the TLS handshake has completed. +88 /// +89 /// At this point in time, we know the remote's endpoint id and ALPN. If any hook returns +90 /// [`AfterHandshakeOutcome::Reject`], the connection is closed with the provided error code +91 /// and reason. +92 fn after_handshake<'a>( +93 &'a self, +94 _conn: &'a ConnectionInfo, +95 ) -> impl Future<Output = AfterHandshakeOutcome> + Send + 'a { +96 async { AfterHandshakeOutcome::accept() } +97 } +98} +99 +100pub(crate) trait DynEndpointHooks: std::fmt::Debug + Send + Sync { +101 fn before_connect<'a>( +102 &'a self, +103 remote_addr: &'a EndpointAddr, +104 alpn: &'a [u8], +105 ) -> BoxFuture<'a, BeforeConnectOutcome>; +106 fn after_handshake<'a>( +107 &'a self, +108 conn: &'a ConnectionInfo, +109 ) -> BoxFuture<'a, AfterHandshakeOutcome>; +110} +111 +112impl<T: EndpointHooks> DynEndpointHooks for T { +113 fn before_connect<'a>( +114 &'a self, +115 remote_addr: &'a EndpointAddr, +116 alpn: &'a [u8], +117 ) -> BoxFuture<'a, BeforeConnectOutcome> { +118 Box::pin(EndpointHooks::before_connect(self, remote_addr, alpn)) +119 } +120 +121 fn after_handshake<'a>( +122 &'a self, +123 conn: &'a ConnectionInfo, +124 ) -> BoxFuture<'a, AfterHandshakeOutcome> { +125 Box::pin(EndpointHooks::after_handshake(self, conn)) +126 } +127} +128 +129#[derive(Debug, Default)] +130pub(crate) struct EndpointHooksList { +131 inner: Vec<Box<dyn DynEndpointHooks>>, +132} +133 +134impl EndpointHooksList { +135 pub(super) fn push(&mut self, hook: impl EndpointHooks + 'static) { +136 let hook: Box<dyn DynEndpointHooks> = Box::new(hook); +137 self.inner.push(hook); +138 } +139 +140 pub(super) async fn before_connect( +141 &self, +142 remote_addr: &EndpointAddr, +143 alpn: &[u8], +144 ) -> BeforeConnectOutcome { +145 for hook in self.inner.iter() { +146 match hook.before_connect(remote_addr, alpn).await { +147 BeforeConnectOutcome::Accept => continue, +148 reject @ BeforeConnectOutcome::Reject => { +149 return reject; +150 } +151 } +152 } +153 BeforeConnectOutcome::Accept +154 } +155 +156 pub(super) async fn after_handshake(&self, conn: &ConnectionInfo) -> AfterHandshakeOutcome { +157 for hook in self.inner.iter() { +158 match hook.after_handshake(conn).await { +159 AfterHandshakeOutcome::Accept => continue, +160 reject @ AfterHandshakeOutcome::Reject { .. } => { +161 return reject; +162 } +163 } +164 } +165 AfterHandshakeOutcome::Accept +166 } +167} \ No newline at end of file diff --git a/pr/3734/docs/src/iroh/endpoint/quic.rs.html b/pr/3734/docs/src/iroh/endpoint/quic.rs.html index e12d6da9e3..0a07bb5164 100644 --- a/pr/3734/docs/src/iroh/endpoint/quic.rs.html +++ b/pr/3734/docs/src/iroh/endpoint/quic.rs.html @@ -6,442 +6,705 @@ 6//! to limit or expand how those structs are used in iroh. By encapsulating them 7//! we can ensure the functionality needed to make iroh work. 8 -9use std::{sync::Arc, time::Duration}; -10 -11// Missing still: SendDatagram and ConnectionClose::frame_type's Type. -12pub use quinn::{ -13 AcceptBi, AcceptUni, AckFrequencyConfig, ApplicationClose, Chunk, ClosedStream, -14 ConnectionClose, ConnectionError, ConnectionStats, MtuDiscoveryConfig, OpenBi, OpenUni, -15 PathStats, ReadDatagram, ReadError, ReadExactError, ReadToEndError, RecvStream, ResetError, -16 RetryError, SendDatagramError, SendStream, ServerConfig, Side, StoppedError, StreamId, VarInt, -17 VarIntBoundsExceeded, WeakConnectionHandle, WriteError, -18}; -19pub use quinn_proto::{ -20 FrameStats, IdleTimeout, TransportError, TransportErrorCode, UdpStats, Written, -21 congestion::{Controller, ControllerFactory}, -22 crypto::{ -23 AeadKey, CryptoError, ExportKeyingMaterialError, HandshakeTokenKey, -24 ServerConfig as CryptoServerConfig, UnsupportedVersion, -25 }, -26}; -27use tracing::warn; -28 -29use crate::magicsock::{HEARTBEAT_INTERVAL, MAX_MULTIPATH_PATHS, PATH_MAX_IDLE_TIMEOUT}; -30 -31/// Parameters governing the core QUIC state machine -32/// -33/// Default values should be suitable for most internet applications. Applications protocols which -34/// forbid remotely-initiated streams should set `max_concurrent_bidi_streams` and -35/// `max_concurrent_uni_streams` to zero. -36/// -37/// In some cases, performance or resource requirements can be improved by tuning these values to -38/// suit a particular application and/or network connection. In particular, data window sizes can be -39/// tuned for a particular expected round trip time, link capacity, and memory availability. Tuning -40/// for higher bandwidths and latencies increases worst-case memory consumption, but does not impair -41/// performance at lower bandwidths and latencies. The default configuration is tuned for a 100Mbps -42/// link with a 100ms round trip time. -43/// -44/// In iroh, the config has some specific default values that make iroh's holepunching work -45/// well with QUIC multipath. Adjusting those settings may cause suboptimal usage. -46/// -47/// Look at the following methods for more details: -48/// - [`QuicTransportConfig::default_path_keep_alive_interval`] -49/// - [`QuicTransportConfig::default_path_max_idle_timeout`] -50/// - [`QuicTransportConfig::max_concurrent_multipath_paths`] -51/// - [`QuicTransportConfig::set_max_remote_nat_traversal_addresses`] -52#[derive(Debug, Clone)] -53pub struct QuicTransportConfig(pub(crate) quinn::TransportConfig); -54 -55impl Default for QuicTransportConfig { -56 fn default() -> Self { -57 let mut cfg = quinn::TransportConfig::default(); -58 // Override some transport config settings. -59 cfg.keep_alive_interval(Some(HEARTBEAT_INTERVAL)); -60 cfg.default_path_keep_alive_interval(Some(HEARTBEAT_INTERVAL)); -61 cfg.default_path_max_idle_timeout(Some(PATH_MAX_IDLE_TIMEOUT)); -62 cfg.max_concurrent_multipath_paths(MAX_MULTIPATH_PATHS + 1); -63 cfg.set_max_remote_nat_traversal_addresses(MAX_MULTIPATH_PATHS as u8); -64 Self(cfg) -65 } -66} -67 -68impl QuicTransportConfig { -69 /// Return an `Arc`-d [`quinn::TransportConfig`] -70 pub(super) fn to_arc(&self) -> Arc<quinn::TransportConfig> { -71 Arc::new(self.0.clone()) -72 } -73 -74 /// Maximum number of incoming bidirectional streams that may be open concurrently -75 /// -76 /// Must be nonzero for the peer to open any bidirectional streams. -77 /// -78 /// Worst-case memory use is directly proportional to `max_concurrent_bidi_streams * -79 /// stream_receive_window`, with an upper bound proportional to `receive_window`. -80 pub fn max_concurrent_bidi_streams(&mut self, value: VarInt) -> &mut Self { -81 self.0.max_concurrent_bidi_streams(value); -82 self -83 } +9#[cfg(feature = "qlog")] +10use std::path::Path; +11use std::{sync::Arc, time::Duration}; +12 +13/// `quinn` types that are used in the public iroh API. +14// Each type is notated with the iroh type or quinn type that uses it. +15pub use quinn::{ +16 AcceptBi, // iroh::endpoint::Connection +17 AcceptUni, // iroh::endpoint::Connection +18 AckFrequencyConfig, // iroh::endpoint::quic::QuicTransportConfig +19 ClosedStream, // iroh::protocol::AcceptError, quinn::RecvStream, quinn::SendStream +20 ConnectionError, // iroh::endpoint::ConnectError +21 ConnectionStats, // iroh::endpoint::Connection +22 Dir, // quinn::StreamId +23 IdleTimeout, // iroh::endpoint::quic::QuicTransportConfig +24 MtuDiscoveryConfig, // iroh::endpoint::quic::QuicTransportConfig +25 OpenBi, // iroh::endpoint::Connection +26 OpenUni, // iroh::endpoint::Connection +27 PathStats, // iroh::magicsock::remote_map::remote_state::PathInfo +28 ReadDatagram, // iroh::endpoint::Connection +29 ReadError, // quinn::RecvStream +30 ReadExactError, // quinn::RecvStream +31 ReadToEndError, // quinn::RecvStream +32 RecvStream, // quinn::AcceptBi, quinn::AcceptUni, quinn::OpenBi, quinn::OpenUni +33 ResetError, // quinn::RecvStream +34 SendDatagram, // iroh::endpoint::Connection +35 SendDatagramError, // iroh::endpoint::Connection +36 SendStream, // quinn::AcceptBi, quinn::OpenUni +37 Side, // iroh::endpoint::Connection, quinn::StreamId, +38 StoppedError, // quinn::SendStream +39 StreamId, // quinn::RecvStream +40 UnorderedRecvStream, // quinn::RecvStream +41 VarInt, // various +42 VarIntBoundsExceeded, // quinn::VarInt, quinn::IdleTimeout +43 WriteError, // quinn::SendStream +44 Written, // quinn::SendStream +45}; +46#[cfg(feature = "qlog")] +47pub use quinn::{QlogConfig, QlogFactory, QlogFileFactory}; +48/// `quinn_proto` types that are used in the public iroh API. +49// Each type is notated with the iroh type or quinn type that uses it. +50pub use quinn_proto::{ +51 ApplicationClose, // quinn::ConnectionError +52 Chunk, // quinn::RecvStream +53 ConnectError as QuicConnectError, // iroh::endpoint::ConnectWithOptsError +54 ConnectionClose, // quinn::ConnectionError +55 FrameStats, // quinn::ConnectionStats +56 FrameType, // quinn_proto::TransportError +57 PathId, // quinn_proto::crypto::PacketKey +58 RttEstimator, // quinn_proto::congestion::Controller +59 TimeSource, // iroh::endpoint::quic::ServerConfig +60 TokenLog, // quinn::ValidationTokenConfig +61 TokenReuseError, // quinn::TokenLog +62 TransportError, // quinn::ConnectionError +63 TransportErrorCode, // quinn_proto::TransportError +64 UdpStats, // quinn::ConnectionStats +65 ValidationTokenConfig, // iroh::endpoint::quic::::ServerConfig +66 congestion::{ +67 Controller, // iroh::endpoint::Connection +68 ControllerFactory, // iroh::endpoint::quic::QuicTransportConfig +69 ControllerMetrics, // quinn_proto::congestion::Controller +70 }, +71 crypto::{ +72 AeadKey, // quinn::HandshakeTokenKey +73 CryptoError, // quinn_proto::crypto::CryptoError, quinn_proto::crypto::PacketKey +74 ExportKeyingMaterialError, // iroh::endpoint::Connection +75 HandshakeTokenKey, // iroh::endpoint::quic::ServerConfig +76 HeaderKey, // quinn_proto::crypto::Keys +77 Keys, // quinn_proto::crypto::Session +78 PacketKey, // quinn_proto::crypto::Keys +79 UnsupportedVersion, // quinn_proto::ConnectError +80 }, +81 transport_parameters::TransportParameters, // quinn_proto::crypot::ServerConfig +82}; +83use tracing::warn; 84 -85 /// Variant of `max_concurrent_bidi_streams` affecting unidirectional streams -86 pub fn max_concurrent_uni_streams(&mut self, value: VarInt) -> &mut Self { -87 self.0.max_concurrent_uni_streams(value); -88 self -89 } +85use crate::magicsock::{HEARTBEAT_INTERVAL, MAX_MULTIPATH_PATHS, PATH_MAX_IDLE_TIMEOUT}; +86 +87/// Builder for a [`QuicTransportConfig`]. +88#[derive(Debug, Clone)] +89pub struct QuicTransportConfigBuilder(quinn::TransportConfig); 90 -91 /// Maximum duration of inactivity to accept before timing out the connection. -92 /// -93 /// The true idle timeout is the minimum of this and the peer's own max idle timeout. `None` -94 /// represents an infinite timeout. Defaults to 30 seconds. -95 /// -96 /// **WARNING**: If a peer or its network path malfunctions or acts maliciously, an infinite -97 /// idle timeout can result in permanently hung futures! -98 /// -99 /// ``` -100 /// # use std::{convert::TryInto, time::Duration}; -101 /// # use iroh::endpoint::{QuicTransportConfig, VarInt, VarIntBoundsExceeded}; -102 /// # fn main() -> Result<(), VarIntBoundsExceeded> { -103 /// let mut config = QuicTransportConfig::default(); -104 /// -105 /// // Set the idle timeout as `VarInt`-encoded milliseconds -106 /// config.max_idle_timeout(Some(VarInt::from_u32(10_000).into())); -107 /// -108 /// // Set the idle timeout as a `Duration` -109 /// config.max_idle_timeout(Some(Duration::from_secs(10).try_into()?)); -110 /// # Ok(()) -111 /// # } -112 /// ``` -113 pub fn max_idle_timeout(&mut self, value: Option<IdleTimeout>) -> &mut Self { -114 self.0.max_idle_timeout(value); -115 self -116 } -117 -118 /// Maximum number of bytes the peer may transmit without acknowledgement on any one stream -119 /// before becoming blocked. -120 /// -121 /// This should be set to at least the expected connection latency multiplied by the maximum -122 /// desired throughput. Setting this smaller than `receive_window` helps ensure that a single -123 /// stream doesn't monopolize receive buffers, which may otherwise occur if the application -124 /// chooses not to read from a large stream for a time while still requiring data on other -125 /// streams. -126 pub fn stream_receive_window(&mut self, value: VarInt) -> &mut Self { -127 self.0.stream_receive_window(value); -128 self -129 } -130 -131 /// Maximum number of bytes the peer may transmit across all streams of a connection before -132 /// becoming blocked. -133 /// -134 /// This should be set to at least the expected connection latency multiplied by the maximum -135 /// desired throughput. Larger values can be useful to allow maximum throughput within a -136 /// stream while another is blocked. -137 pub fn receive_window(&mut self, value: VarInt) -> &mut Self { -138 self.0.receive_window(value); -139 self -140 } +91/// Parameters governing the core QUIC state machine +92/// +93/// Default values should be suitable for most internet applications. Applications protocols which +94/// forbid remotely-initiated streams should set `max_concurrent_bidi_streams` and +95/// `max_concurrent_uni_streams` to zero. +96/// +97/// In some cases, performance or resource requirements can be improved by tuning these values to +98/// suit a particular application and/or network connection. In particular, data window sizes can be +99/// tuned for a particular expected round trip time, link capacity, and memory availability. Tuning +100/// for higher bandwidths and latencies increases worst-case memory consumption, but does not impair +101/// performance at lower bandwidths and latencies. The default configuration is tuned for a 100Mbps +102/// link with a 100ms round trip time. +103/// +104/// Use the [`QuicTransportConfigBuilder`] to customize these tunable fields. +105/// +106/// In iroh, the config has some specific default values that make iroh's holepunching work +107/// well with QUIC multipath. Adjusting those settings may cause suboptimal usage. +108/// +109/// Look at the following methods for more details: +110/// - [`QuicTransportConfigBuilder::default_path_keep_alive_interval`] +111/// - [`QuicTransportConfigBuilder::default_path_max_idle_timeout`] +112/// - [`QuicTransportConfigBuilder::max_concurrent_multipath_paths`] +113/// - [`QuicTransportConfigBuilder::set_max_remote_nat_traversal_addresses`] +114/// +115/// # Examples +116/// ``` +117/// use std::time::Duration; +118/// +119/// use iroh::endpoint::QuicTransportConfig; +120/// +121/// let _cfg = QuicTransportConfig::builder() +122/// .send_observed_address_reports(true) +123/// .build(); +124/// ``` +125#[derive(Debug, Clone)] +126pub struct QuicTransportConfig(Arc<quinn::TransportConfig>); +127 +128impl QuicTransportConfig { +129 /// Returns a default [`QuicTransportConfigBuilder`] that allows customizing +130 /// a [`QuicTransportConfig`]. +131 pub fn builder() -> QuicTransportConfigBuilder { +132 QuicTransportConfigBuilder::new() +133 } +134} +135 +136impl Default for QuicTransportConfig { +137 fn default() -> Self { +138 QuicTransportConfigBuilder::new().build() +139 } +140} 141 -142 /// Maximum number of bytes to transmit to a peer without acknowledgment -143 /// -144 /// Provides an upper bound on memory when communicating with peers that issue large amounts of -145 /// flow control credit. Endpoints that wish to handle large numbers of connections robustly -146 /// should take care to set this low enough to guarantee memory exhaustion does not occur if -147 /// every connection uses the entire window. -148 pub fn send_window(&mut self, value: u64) -> &mut Self { -149 self.0.send_window(value); -150 self -151 } -152 -153 /// Whether to implement fair queuing for send streams having the same priority. -154 /// -155 /// When enabled, connections schedule data from outgoing streams having the same priority in a -156 /// round-robin fashion. When disabled, streams are scheduled in the order they are written to. -157 /// -158 /// Note that this only affects streams with the same priority. Higher priority streams always -159 /// take precedence over lower priority streams. -160 /// -161 /// Disabling fairness can reduce fragmentation and protocol overhead for workloads that use -162 /// many small streams. -163 pub fn send_fairness(&mut self, value: bool) -> &mut Self { -164 self.0.send_fairness(value); -165 self -166 } -167 -168 /// Maximum reordering in packet number space before FACK style loss detection considers a -169 /// packet lost. Should not be less than 3, per RFC5681. -170 pub fn packet_threshold(&mut self, value: u32) -> &mut Self { -171 self.0.packet_threshold(value); -172 self -173 } -174 -175 /// Maximum reordering in time space before time based loss detection considers a packet lost, -176 /// as a factor of RTT -177 pub fn time_threshold(&mut self, value: f32) -> &mut Self { -178 self.0.time_threshold(value); -179 self -180 } -181 -182 /// The RTT used before an RTT sample is taken -183 pub fn initial_rtt(&mut self, value: Duration) -> &mut Self { -184 self.0.initial_rtt(value); -185 self -186 } -187 -188 /// The initial value to be used as the maximum UDP payload size before running MTU discovery -189 /// (see [`QuicTransportConfig::mtu_discovery_config`]). +142impl QuicTransportConfig { +143 pub(crate) fn to_inner_arc(&self) -> Arc<quinn::TransportConfig> { +144 self.0.clone() +145 } +146} +147 +148impl QuicTransportConfigBuilder { +149 /// Create a default [`QuicTransportConfigBuilder`]. +150 fn new() -> Self { +151 let mut cfg = quinn::TransportConfig::default(); +152 // Override some transport config settings. +153 cfg.keep_alive_interval(Some(HEARTBEAT_INTERVAL)); +154 cfg.default_path_keep_alive_interval(Some(HEARTBEAT_INTERVAL)); +155 cfg.default_path_max_idle_timeout(Some(PATH_MAX_IDLE_TIMEOUT)); +156 cfg.max_concurrent_multipath_paths(MAX_MULTIPATH_PATHS + 1); +157 cfg.set_max_remote_nat_traversal_addresses(MAX_MULTIPATH_PATHS as u8); +158 Self(cfg) +159 } +160 +161 /// Build a [`QuicTransportConfig`] from the builder. +162 pub fn build(self) -> QuicTransportConfig { +163 QuicTransportConfig(Arc::new(self.0)) +164 } +165 +166 /// Maximum number of incoming bidirectional streams that may be open concurrently. +167 /// +168 /// Must be nonzero for the peer to open any bidirectional streams. +169 /// +170 /// Worst-case memory use is directly proportional to `max_concurrent_bidi_streams * +171 /// stream_receive_window`, with an upper bound proportional to `receive_window`. +172 pub fn max_concurrent_bidi_streams(mut self, value: VarInt) -> Self { +173 self.0.max_concurrent_bidi_streams(value); +174 self +175 } +176 +177 /// Variant of `max_concurrent_bidi_streams` affecting unidirectional streams. +178 pub fn max_concurrent_uni_streams(mut self, value: VarInt) -> Self { +179 self.0.max_concurrent_uni_streams(value); +180 self +181 } +182 +183 /// Maximum duration of inactivity to accept before timing out the connection. +184 /// +185 /// The true idle timeout is the minimum of this and the peer's own max idle timeout. `None` +186 /// represents an infinite timeout. Defaults to 30 seconds. +187 /// +188 /// **WARNING**: If a peer or its network path malfunctions or acts maliciously, an infinite +189 /// idle timeout can result in permanently hung futures! 190 /// -191 /// Must be at least 1200, which is the default, and known to be safe for typical internet -192 /// applications. Larger values are more efficient, but increase the risk of packet loss due to -193 /// exceeding the network path's IP MTU. If the provided value is higher than what the network -194 /// path actually supports, packet loss will eventually trigger black hole detection and bring -195 /// it down to [`QuicTransportConfig::min_mtu`]. -196 pub fn initial_mtu(&mut self, value: u16) -> &mut Self { -197 self.0.initial_mtu(value); -198 self -199 } -200 -201 /// The maximum UDP payload size guaranteed to be supported by the network. -202 /// -203 /// Must be at least 1200, which is the default, and lower than or equal to -204 /// [`QuicTransportConfig::initial_mtu`]. -205 /// -206 /// Real-world MTUs can vary according to ISP, VPN, and properties of intermediate network links -207 /// outside of either endpoint's control. Extreme care should be used when raising this value -208 /// outside of private networks where these factors are fully controlled. If the provided value -209 /// is higher than what the network path actually supports, the result will be unpredictable and -210 /// catastrophic packet loss, without a possibility of repair. Prefer -211 /// [`QuicTransportConfig::initial_mtu`] together with -212 /// [`QuicTransportConfig::mtu_discovery_config`] to set a maximum UDP payload size that robustly -213 /// adapts to the network. -214 pub fn min_mtu(&mut self, value: u16) -> &mut Self { -215 self.0.min_mtu(value); -216 self -217 } -218 -219 /// Specifies the MTU discovery config (see [`MtuDiscoveryConfig`] for details). -220 /// -221 /// Enabled by default. -222 pub fn mtu_discovery_config(&mut self, value: Option<MtuDiscoveryConfig>) -> &mut Self { -223 self.0.mtu_discovery_config(value); -224 self -225 } -226 -227 /// Pad UDP datagrams carrying application data to current maximum UDP payload size -228 /// -229 /// Disabled by default. UDP datagrams containing loss probes are exempt from padding. -230 /// -231 /// Enabling this helps mitigate traffic analysis by network observers, but it increases -232 /// bandwidth usage. Without this mitigation precise plain text size of application datagrams as -233 /// well as the total size of stream write bursts can be inferred by observers under certain -234 /// conditions. This analysis requires either an uncongested connection or application datagrams -235 /// too large to be coalesced. -236 pub fn pad_to_mtu(&mut self, value: bool) -> &mut Self { -237 self.0.pad_to_mtu(value); -238 self -239 } -240 -241 /// Specifies the ACK frequency config (see [`AckFrequencyConfig`] for details) -242 /// -243 /// The provided configuration will be ignored if the peer does not support the acknowledgement -244 /// frequency QUIC extension. -245 /// -246 /// Defaults to `None`, which disables controlling the peer's acknowledgement frequency. Even -247 /// if set to `None`, the local side still supports the acknowledgement frequency QUIC -248 /// extension and may use it in other ways. -249 pub fn ack_frequency_config(&mut self, value: Option<AckFrequencyConfig>) -> &mut Self { -250 self.0.ack_frequency_config(value); -251 self -252 } -253 -254 /// Number of consecutive PTOs after which network is considered to be experiencing persistent congestion. -255 pub fn persistent_congestion_threshold(&mut self, value: u32) -> &mut Self { -256 self.0.persistent_congestion_threshold(value); -257 self -258 } -259 -260 /// Period of inactivity before sending a keep-alive packet -261 /// -262 /// Keep-alive packets prevent an inactive but otherwise healthy connection from timing out. -263 /// -264 /// `None` to disable, which is the default. Only one side of any given connection needs keep-alive -265 /// enabled for the connection to be preserved. Must be set lower than the idle_timeout of both -266 /// peers to be effective. -267 pub fn keep_alive_interval(&mut self, value: Duration) -> &mut Self { -268 self.0.keep_alive_interval(Some(value)); -269 self -270 } -271 -272 /// Maximum quantity of out-of-order crypto layer data to buffer -273 pub fn crypto_buffer_size(&mut self, value: usize) -> &mut Self { -274 self.0.crypto_buffer_size(value); -275 self -276 } -277 -278 /// Whether the implementation is permitted to set the spin bit on this connection -279 /// -280 /// This allows passive observers to easily judge the round trip time of a connection, which can -281 /// be useful for network administration but sacrifices a small amount of privacy. -282 pub fn allow_spin(&mut self, value: bool) -> &mut Self { -283 self.0.allow_spin(value); -284 self -285 } -286 -287 /// Maximum number of incoming application datagram bytes to buffer, or None to disable -288 /// incoming datagrams -289 /// -290 /// The peer is forbidden to send single datagrams larger than this size. If the aggregate size -291 /// of all datagrams that have been received from the peer but not consumed by the application -292 /// exceeds this value, old datagrams are dropped until it is no longer exceeded. -293 pub fn datagram_receive_buffer_size(&mut self, value: Option<usize>) -> &mut Self { -294 self.0.datagram_receive_buffer_size(value); -295 self -296 } -297 -298 /// Maximum number of outgoing application datagram bytes to buffer +191 /// ``` +192 /// # use std::{convert::TryInto, time::Duration}; +193 /// # use iroh::endpoint::{QuicTransportConfig, VarInt, VarIntBoundsExceeded}; +194 /// # fn main() -> Result<(), VarIntBoundsExceeded> { +195 /// let mut builder = QuicTransportConfig::builder() +196 /// // Set the idle timeout as `VarInt`-encoded milliseconds +197 /// .max_idle_timeout(Some(VarInt::from_u32(10_000).into())); +198 /// +199 /// // Set the idle timeout as a `Duration` +200 /// builder = builder.max_idle_timeout(Some(Duration::from_secs(10).try_into()?)); +201 /// +202 /// let _cfg = builder.build(); +203 /// +204 /// # Ok(()) +205 /// # } +206 /// ``` +207 pub fn max_idle_timeout(mut self, value: Option<IdleTimeout>) -> Self { +208 self.0.max_idle_timeout(value); +209 self +210 } +211 +212 /// Maximum number of bytes the peer may transmit without acknowledgement on any one stream +213 /// before becoming blocked. +214 /// +215 /// This should be set to at least the expected connection latency multiplied by the maximum +216 /// desired throughput. Setting this smaller than `receive_window` helps ensure that a single +217 /// stream doesn't monopolize receive buffers, which may otherwise occur if the application +218 /// chooses not to read from a large stream for a time while still requiring data on other +219 /// streams. +220 pub fn stream_receive_window(mut self, value: VarInt) -> Self { +221 self.0.stream_receive_window(value); +222 self +223 } +224 +225 /// Maximum number of bytes the peer may transmit across all streams of a connection before +226 /// becoming blocked. +227 /// +228 /// This should be set to at least the expected connection latency multiplied by the maximum +229 /// desired throughput. Larger values can be useful to allow maximum throughput within a +230 /// stream while another is blocked. +231 pub fn receive_window(mut self, value: VarInt) -> Self { +232 self.0.receive_window(value); +233 self +234 } +235 +236 /// Maximum number of bytes to transmit to a peer without acknowledgment. +237 /// +238 /// Provides an upper bound on memory when communicating with peers that issue large amounts of +239 /// flow control credit. Endpoints that wish to handle large numbers of connections robustly +240 /// should take care to set this low enough to guarantee memory exhaustion does not occur if +241 /// every connection uses the entire window. +242 pub fn send_window(mut self, value: u64) -> Self { +243 self.0.send_window(value); +244 self +245 } +246 +247 /// Whether to implement fair queuing for send streams having the same priority. +248 /// +249 /// When enabled, connections schedule data from outgoing streams having the same priority in a +250 /// round-robin fashion. When disabled, streams are scheduled in the order they are written to. +251 /// +252 /// Note that this only affects streams with the same priority. Higher priority streams always +253 /// take precedence over lower priority streams. +254 /// +255 /// Disabling fairness can reduce fragmentation and protocol overhead for workloads that use +256 /// many small streams. +257 pub fn send_fairness(mut self, value: bool) -> Self { +258 self.0.send_fairness(value); +259 self +260 } +261 +262 /// Maximum reordering in packet number space before FACK style loss detection considers a +263 /// packet lost. Should not be less than 3, per RFC5681. +264 pub fn packet_threshold(mut self, value: u32) -> Self { +265 self.0.packet_threshold(value); +266 self +267 } +268 +269 /// Maximum reordering in time space before time based loss detection considers a packet lost, +270 /// as a factor of RTT. +271 pub fn time_threshold(mut self, value: f32) -> Self { +272 self.0.time_threshold(value); +273 self +274 } +275 +276 /// The RTT used before an RTT sample is taken. +277 pub fn initial_rtt(mut self, value: Duration) -> Self { +278 self.0.initial_rtt(value); +279 self +280 } +281 +282 /// The initial value to be used as the maximum UDP payload size before running MTU discovery +283 /// (see [`QuicTransportConfigBuilder::mtu_discovery_config`]). +284 /// +285 /// Must be at least 1200, which is the default, and known to be safe for typical internet +286 /// applications. Larger values are more efficient, but increase the risk of packet loss due to +287 /// exceeding the network path's IP MTU. If the provided value is higher than what the network +288 /// path actually supports, packet loss will eventually trigger black hole detection and bring +289 /// it down to [`QuicTransportConfigBuilder::min_mtu`]. +290 pub fn initial_mtu(mut self, value: u16) -> Self { +291 self.0.initial_mtu(value); +292 self +293 } +294 +295 /// The maximum UDP payload size guaranteed to be supported by the network. +296 /// +297 /// Must be at least 1200, which is the default, and lower than or equal to +298 /// [`QuicTransportConfigBuilder::initial_mtu`]. 299 /// -300 /// While datagrams are sent ASAP, it is possible for an application to generate data faster -301 /// than the link, or even the underlying hardware, can transmit them. This limits the amount of -302 /// memory that may be consumed in that case. When the send buffer is full and a new datagram is -303 /// sent, older datagrams are dropped until sufficient space is available. -304 pub fn datagram_send_buffer_size(&mut self, value: usize) -> &mut Self { -305 self.0.datagram_send_buffer_size(value); -306 self -307 } -308 -309 /// How to construct new `congestion::Controller`s -310 /// -311 /// Typically the refcounted configuration of a `congestion::Controller`, -312 /// e.g. a `congestion::NewRenoConfig`. -313 /// -314 /// # Example -315 /// ``` -316 /// # use iroh::endpoint::QuicTransportConfig; use quinn_proto::congestion; use std::sync::Arc; -317 /// let mut config = QuicTransportConfig::default(); -318 /// config.congestion_controller_factory(Arc::new(congestion::NewRenoConfig::default())); -319 /// ``` -320 pub fn congestion_controller_factory( -321 &mut self, -322 factory: Arc<dyn ControllerFactory + Send + Sync + 'static>, -323 ) -> &mut Self { -324 self.0.congestion_controller_factory(factory); -325 self -326 } -327 -328 /// Whether to use "Generic Segmentation Offload" to accelerate transmits, when supported by the -329 /// environment -330 /// -331 /// Defaults to `true`. -332 /// -333 /// GSO dramatically reduces CPU consumption when sending large numbers of packets with the same -334 /// headers, such as when transmitting bulk data on a connection. However, it is not supported -335 /// by all network interface drivers or packet inspection tools. `quinn-udp` will attempt to -336 /// disable GSO automatically when unavailable, but this can lead to spurious packet loss at -337 /// startup, temporarily degrading performance. -338 pub fn enable_segmentation_offload(&mut self, enabled: bool) -> &mut Self { -339 self.0.enable_segmentation_offload(enabled); -340 self -341 } -342 -343 /// Whether to send observed address reports to peers. -344 /// -345 /// This will aid peers in inferring their reachable address, which in most NATd networks -346 /// will not be easily available to them. -347 pub fn send_observed_address_reports(&mut self, enabled: bool) -> &mut Self { -348 self.0.send_observed_address_reports(enabled); -349 self -350 } -351 -352 /// Whether to receive observed address reports from other peers. -353 /// -354 /// Peers with the address discovery extension enabled that are willing to provide observed -355 /// address reports will do so if this transport parameter is set. In general, observed address -356 /// reports cannot be trusted. This, however, can aid the current endpoint in inferring its -357 /// reachable address, which in most NATd networks will not be easily available. -358 pub fn receive_observed_address_reports(&mut self, enabled: bool) -> &mut Self { -359 self.0.receive_observed_address_reports(enabled); -360 self -361 } -362 -363 /// Enables the Multipath Extension for QUIC. -364 /// -365 /// Setting this to any nonzero value will enable the Multipath Extension for QUIC, -366 /// <https://datatracker.ietf.org/doc/draft-ietf-quic-multipath/>. -367 /// -368 /// The value provided specifies the number maximum number of paths this endpoint may open -369 /// concurrently when multipath is negotiated. For any path to be opened, the remote must -370 /// enable multipath as well. -371 /// -372 /// Note: this method will ignore values less than the recommended 13 and will log a warning. -373 pub fn max_concurrent_multipath_paths(&mut self, max_concurrent: u32) -> &mut Self { -374 if max_concurrent < MAX_MULTIPATH_PATHS + 1 { -375 warn!( -376 "QuicTransportConfig::max_concurrent_multipath_paths must be at minimum {}, ignoring user supplied value", -377 MAX_MULTIPATH_PATHS + 1 -378 ); -379 return self; -380 } -381 self.0.max_concurrent_multipath_paths(max_concurrent); -382 self -383 } -384 -385 /// Sets a default per-path maximum idle timeout -386 /// -387 /// If the path is idle for this long the path will be abandoned. Bear in mind this will -388 /// interact with the [`QuicTransportConfig::max_idle_timeout`], if the last path is -389 /// abandoned the entire connection will be closed. -390 /// -391 /// Note: this method will ignore values higher than the recommended 6500 ms and will log a warning. -392 pub fn default_path_max_idle_timeout(&mut self, timeout: Duration) -> &mut Self { -393 if timeout > PATH_MAX_IDLE_TIMEOUT { -394 warn!( -395 "QuicTransportConfig::default_path_max_idle must be at most {:?}, ignoring user supplied value", -396 PATH_MAX_IDLE_TIMEOUT -397 ); -398 return self; -399 } -400 self.0.default_path_max_idle_timeout(Some(timeout)); -401 self -402 } -403 -404 /// Sets a default per-path keep alive interval -405 /// -406 /// Note that this does not interact with the connection-wide -407 /// [`QuicTransportConfig::keep_alive_interval`]. This setting will keep this path active, -408 /// [`QuicTransportConfig::keep_alive_interval`] will keep the connection active, with no -409 /// control over which path is used for this. -410 /// -411 /// Note: this method will ignore values higher than the recommended 5 seconds and will log a warning. -412 pub fn default_path_keep_alive_interval(&mut self, interval: Duration) -> &mut Self { -413 if interval > HEARTBEAT_INTERVAL { -414 warn!( -415 "QuicTransportConfig::default_path_keep_alive must be at most {:?}, ignoring user supplied value", -416 HEARTBEAT_INTERVAL -417 ); -418 return self; -419 } -420 self.0.default_path_keep_alive_interval(Some(interval)); -421 self -422 } -423 -424 /// Sets the maximum number of nat traversal addresses this endpoint allows the remote to -425 /// advertise -426 /// -427 /// Setting this to any nonzero value will enable Iroh's holepunching, loosely based in the Nat -428 /// Traversal Extension for QUIC, see -429 /// <https://www.ietf.org/archive/id/draft-seemann-quic-nat-traversal-02.html> -430 /// -431 /// This implementation expects the multipath extension to be enabled as well. If not yet -432 /// enabled via [`Self::max_concurrent_multipath_paths`], a default value of -433 /// 12 will be used. -434 /// -435 /// Note: this method will ignore values less than the recommended 12 and will log a warning. -436 pub fn set_max_remote_nat_traversal_addresses(&mut self, max_addresses: u8) -> &mut Self { -437 if max_addresses < MAX_MULTIPATH_PATHS as u8 { -438 warn!( -439 "QuicTransportConfig::max_remote_nat_traversal_addresses must be at least {}, ignoring user supplied value", -440 MAX_MULTIPATH_PATHS -441 ); -442 return self; -443 } -444 self.0.set_max_remote_nat_traversal_addresses(max_addresses); -445 self -446 } -447} \ No newline at end of file +300 /// Real-world MTUs can vary according to ISP, VPN, and properties of intermediate network links +301 /// outside of either endpoint's control. Extreme care should be used when raising this value +302 /// outside of private networks where these factors are fully controlled. If the provided value +303 /// is higher than what the network path actually supports, the result will be unpredictable and +304 /// catastrophic packet loss, without a possibility of repair. Prefer +305 /// [`QuicTransportConfigBuilder::initial_mtu`] together with +306 /// [`QuicTransportConfigBuilder::mtu_discovery_config`] to set a maximum UDP payload size that robustly +307 /// adapts to the network. +308 pub fn min_mtu(mut self, value: u16) -> Self { +309 self.0.min_mtu(value); +310 self +311 } +312 +313 /// Specifies the MTU discovery config (see [`MtuDiscoveryConfig`] for details). +314 /// +315 /// Enabled by default. +316 pub fn mtu_discovery_config(mut self, value: Option<MtuDiscoveryConfig>) -> Self { +317 self.0.mtu_discovery_config(value); +318 self +319 } +320 +321 /// Pad UDP datagrams carrying application data to current maximum UDP payload size. +322 /// +323 /// Disabled by default. UDP datagrams containing loss probes are exempt from padding. +324 /// +325 /// Enabling this helps mitigate traffic analysis by network observers, but it increases +326 /// bandwidth usage. Without this mitigation precise plain text size of application datagrams as +327 /// well as the total size of stream write bursts can be inferred by observers under certain +328 /// conditions. This analysis requires either an uncongested connection or application datagrams +329 /// too large to be coalesced. +330 pub fn pad_to_mtu(mut self, value: bool) -> Self { +331 self.0.pad_to_mtu(value); +332 self +333 } +334 +335 /// Specifies the ACK frequency config (see [`AckFrequencyConfig`] for details). +336 /// +337 /// The provided configuration will be ignored if the peer does not support the acknowledgement +338 /// frequency QUIC extension. +339 /// +340 /// Defaults to `None`, which disables controlling the peer's acknowledgement frequency. Even +341 /// if set to `None`, the local side still supports the acknowledgement frequency QUIC +342 /// extension and may use it in other ways. +343 pub fn ack_frequency_config(mut self, value: Option<AckFrequencyConfig>) -> Self { +344 self.0.ack_frequency_config(value); +345 self +346 } +347 +348 /// Number of consecutive PTOs after which network is considered to be experiencing persistent congestion. +349 pub fn persistent_congestion_threshold(mut self, value: u32) -> Self { +350 self.0.persistent_congestion_threshold(value); +351 self +352 } +353 +354 /// Period of inactivity before sending a keep-alive packet. +355 /// +356 /// Keep-alive packets prevent an inactive but otherwise healthy connection from timing out. +357 /// +358 /// `None` to disable, which is the default. Only one side of any given connection needs keep-alive +359 /// enabled for the connection to be preserved. Must be set lower than the idle_timeout of both +360 /// peers to be effective. +361 pub fn keep_alive_interval(mut self, value: Duration) -> Self { +362 self.0.keep_alive_interval(Some(value)); +363 self +364 } +365 +366 /// Maximum quantity of out-of-order crypto layer data to buffer. +367 pub fn crypto_buffer_size(mut self, value: usize) -> Self { +368 self.0.crypto_buffer_size(value); +369 self +370 } +371 +372 /// Whether the implementation is permitted to set the spin bit on this connection. +373 /// +374 /// This allows passive observers to easily judge the round trip time of a connection, which can +375 /// be useful for network administration but sacrifices a small amount of privacy. +376 pub fn allow_spin(mut self, value: bool) -> Self { +377 self.0.allow_spin(value); +378 self +379 } +380 +381 /// Maximum number of incoming application datagram bytes to buffer, or None to disable +382 /// incoming datagrams. +383 /// +384 /// The peer is forbidden to send single datagrams larger than this size. If the aggregate size +385 /// of all datagrams that have been received from the peer but not consumed by the application +386 /// exceeds this value, old datagrams are dropped until it is no longer exceeded. +387 pub fn datagram_receive_buffer_size(mut self, value: Option<usize>) -> Self { +388 self.0.datagram_receive_buffer_size(value); +389 self +390 } +391 +392 /// Maximum number of outgoing application datagram bytes to buffer. +393 /// +394 /// While datagrams are sent ASAP, it is possible for an application to generate data faster +395 /// than the link, or even the underlying hardware, can transmit them. This limits the amount of +396 /// memory that may be consumed in that case. When the send buffer is full and a new datagram is +397 /// sent, older datagrams are dropped until sufficient space is available. +398 pub fn datagram_send_buffer_size(mut self, value: usize) -> Self { +399 self.0.datagram_send_buffer_size(value); +400 self +401 } +402 +403 /// How to construct new `congestion::Controller`s. +404 /// +405 /// Typically the refcounted configuration of a `congestion::Controller`, +406 /// e.g. a `congestion::NewRenoConfig`. +407 /// +408 /// # Example +409 /// ``` +410 /// # use iroh::endpoint::QuicTransportConfig; use quinn_proto::congestion; use std::sync::Arc; +411 /// let config = QuicTransportConfig::builder() +412 /// .congestion_controller_factory(Arc::new(congestion::NewRenoConfig::default())) +413 /// .build(); +414 /// ``` +415 pub fn congestion_controller_factory( +416 mut self, +417 factory: Arc<dyn ControllerFactory + Send + Sync + 'static>, +418 ) -> Self { +419 self.0.congestion_controller_factory(factory); +420 self +421 } +422 +423 /// Whether to use "Generic Segmentation Offload" to accelerate transmits, when supported by the +424 /// environment. +425 /// +426 /// Defaults to `true`. +427 /// +428 /// GSO dramatically reduces CPU consumption when sending large numbers of packets with the same +429 /// headers, such as when transmitting bulk data on a connection. However, it is not supported +430 /// by all network interface drivers or packet inspection tools. `quinn-udp` will attempt to +431 /// disable GSO automatically when unavailable, but this can lead to spurious packet loss at +432 /// startup, temporarily degrading performance. +433 pub fn enable_segmentation_offload(mut self, enabled: bool) -> Self { +434 self.0.enable_segmentation_offload(enabled); +435 self +436 } +437 +438 /// Whether to send observed address reports to peers. +439 /// +440 /// This will aid peers in inferring their reachable address, which in most NATd networks +441 /// will not be easily available to them. +442 pub fn send_observed_address_reports(mut self, enabled: bool) -> Self { +443 self.0.send_observed_address_reports(enabled); +444 self +445 } +446 +447 /// Whether to receive observed address reports from other peers. +448 /// +449 /// Peers with the address discovery extension enabled that are willing to provide observed +450 /// address reports will do so if this transport parameter is set. In general, observed address +451 /// reports cannot be trusted. This, however, can aid the current endpoint in inferring its +452 /// reachable address, which in most NATd networks will not be easily available. +453 pub fn receive_observed_address_reports(mut self, enabled: bool) -> Self { +454 self.0.receive_observed_address_reports(enabled); +455 self +456 } +457 +458 /// Enables the Multipath Extension for QUIC. +459 /// +460 /// Setting this to any nonzero value will enable the Multipath Extension for QUIC, +461 /// <https://datatracker.ietf.org/doc/draft-ietf-quic-multipath/>. +462 /// +463 /// The value provided specifies the number maximum number of paths this endpoint may open +464 /// concurrently when multipath is negotiated. For any path to be opened, the remote must +465 /// enable multipath as well. +466 /// +467 /// Note: this method will ignore values less than the recommended 13 and will log a warning. +468 pub fn max_concurrent_multipath_paths(mut self, max_concurrent: u32) -> Self { +469 if max_concurrent < MAX_MULTIPATH_PATHS + 1 { +470 warn!( +471 "QuicTransportConfig::max_concurrent_multipath_paths must be at minimum {}, ignoring user supplied value", +472 MAX_MULTIPATH_PATHS + 1 +473 ); +474 return self; +475 } +476 self.0.max_concurrent_multipath_paths(max_concurrent); +477 self +478 } +479 +480 /// Sets a default per-path maximum idle timeout. +481 /// +482 /// If the path is idle for this long the path will be abandoned. Bear in mind this will +483 /// interact with the [`QuicTransportConfigBuilder::max_idle_timeout`], if the last path is +484 /// abandoned the entire connection will be closed. +485 /// +486 /// Note: this method will ignore values higher than the recommended 6500 ms and will log a warning. +487 pub fn default_path_max_idle_timeout(mut self, timeout: Duration) -> Self { +488 if timeout > PATH_MAX_IDLE_TIMEOUT { +489 warn!( +490 "QuicTransportConfig::default_path_max_idle must be at most {:?}, ignoring user supplied value", +491 PATH_MAX_IDLE_TIMEOUT +492 ); +493 return self; +494 } +495 self.0.default_path_max_idle_timeout(Some(timeout)); +496 self +497 } +498 +499 /// Sets a default per-path keep alive interval. +500 /// +501 /// Note that this does not interact with the connection-wide +502 /// [`QuicTransportConfigBuilder::keep_alive_interval`]. This setting will keep this path active, +503 /// [`QuicTransportConfigBuilder::keep_alive_interval`] will keep the connection active, with no +504 /// control over which path is used for this. +505 /// +506 /// Note: this method will ignore values higher than the recommended 5 seconds and will log a warning. +507 pub fn default_path_keep_alive_interval(mut self, interval: Duration) -> Self { +508 if interval > HEARTBEAT_INTERVAL { +509 warn!( +510 "QuicTransportConfig::default_path_keep_alive must be at most {:?}, ignoring user supplied value", +511 HEARTBEAT_INTERVAL +512 ); +513 return self; +514 } +515 self.0.default_path_keep_alive_interval(Some(interval)); +516 self +517 } +518 +519 /// Sets the maximum number of nat traversal addresses this endpoint allows the remote to +520 /// advertise. +521 /// +522 /// Setting this to any nonzero value will enable Iroh's holepunching, loosely based in the Nat +523 /// Traversal Extension for QUIC, see +524 /// <https://www.ietf.org/archive/id/draft-seemann-quic-nat-traversal-02.html> +525 /// +526 /// This implementation expects the multipath extension to be enabled as well. If not yet +527 /// enabled via [`Self::max_concurrent_multipath_paths`], a default value of +528 /// 12 will be used. +529 /// +530 /// Note: this method will ignore values less than the recommended 12 and will log a warning. +531 pub fn set_max_remote_nat_traversal_addresses(mut self, max_addresses: u8) -> Self { +532 if max_addresses < MAX_MULTIPATH_PATHS as u8 { +533 warn!( +534 "QuicTransportConfig::max_remote_nat_traversal_addresses must be at least {}, ignoring user supplied value", +535 MAX_MULTIPATH_PATHS +536 ); +537 return self; +538 } +539 self.0.set_max_remote_nat_traversal_addresses(max_addresses); +540 self +541 } +542 +543 /// Configures qlog capturing by setting a [`QlogFactory`]. +544 /// +545 /// This assigns a [`QlogFactory`] that produces qlog capture configurations for +546 /// individual connections. +547 #[cfg(feature = "qlog")] +548 pub fn qlog_factory(mut self, factory: Arc<dyn QlogFactory>) -> Self { +549 self.0.qlog_factory(factory); +550 self +551 } +552 +553 /// Configures qlog capturing through the `QLOGDIR` environment variable. +554 /// +555 /// This uses [`QlogFileFactory::from_env`] to create a factory to write qlog traces +556 /// into the directory set through the `QLOGDIR` environment variable. +557 /// +558 /// If `QLOGDIR` is not set, no traces will be written. If `QLOGDIR` is set to a path +559 /// that does not exist, it will be created. +560 /// +561 /// The files will be prefixed with `prefix`. +562 #[cfg(feature = "qlog")] +563 pub fn qlog_from_env(mut self, prefix: &str) -> Self { +564 self.0.qlog_from_env(prefix); +565 self +566 } +567 +568 /// Configures qlog capturing into a directory. +569 /// +570 /// This uses [`QlogFileFactory`] to create a factory to write qlog traces into +571 /// the specified directory. The files will be prefixed with `prefix`. +572 #[cfg(feature = "qlog")] +573 pub fn qlog_from_path(mut self, path: impl AsRef<Path>, prefix: &str) -> Self { +574 self.0.qlog_from_path(path, prefix); +575 self +576 } +577} +578 +579/// A builder for a [`ServerConfig`]. +580#[derive(Debug, Clone)] +581pub struct ServerConfigBuilder { +582 inner: quinn::ServerConfig, +583 transport: QuicTransportConfig, +584} +585 +586/// Parameters governing incoming connections +587/// +588/// Default values should be suitable for most internet applications. +589/// +590/// Use a [`ServerConfigBuilder`] to adjust the default values. +591/// +592/// To create a [`ServerConfig`] compatible with your [`Endpoint`] identity, use the [`Endpoint::create_server_config_builder`] method. +593/// +594/// [`Endpoint`]: crate::Endpoint +595/// [`Endpoint::create_server_config_builder`]: crate::Endpoint::create_server_config_builder +596// Note: used in `iroh::endpoint::connection::Incoming::accept_with` +597// This is new-typed since `quinn::ServerConfig` takes a `TransportConfig`, which we new-type as a `QuicTransportConfig` +598#[derive(Debug, Clone)] +599pub struct ServerConfig(Arc<quinn::ServerConfig>); +600 +601impl ServerConfig { +602 pub(crate) fn to_inner_arc(&self) -> Arc<quinn::ServerConfig> { +603 self.0.clone() +604 } +605} +606 +607impl ServerConfigBuilder { +608 /// Build a [`ServerConfig`] from a [`ServerConfigBuilder`]. +609 pub fn build(self) -> ServerConfig { +610 ServerConfig(Arc::new(self.inner)) +611 } +612 +613 pub(crate) fn new(inner: quinn::ServerConfig, transport: QuicTransportConfig) -> Self { +614 Self { inner, transport } +615 } +616 +617 /// Sets a custom [`QuicTransportConfig`]. +618 pub fn set_transport_config(mut self, transport: QuicTransportConfig) -> Self { +619 self.inner.transport_config(transport.to_inner_arc()); +620 self.transport = transport; +621 self +622 } +623 +624 /// Sets a custom [`ValidationTokenConfig`]. +625 pub fn set_validation_token_config(mut self, validation_token: ValidationTokenConfig) -> Self { +626 self.inner.validation_token_config(validation_token); +627 self +628 } +629 +630 /// Private key used to authenticate data included in handshake tokens +631 pub fn set_token_key(mut self, value: Arc<dyn HandshakeTokenKey>) -> Self { +632 self.inner.token_key(value); +633 self +634 } +635 +636 /// Duration after a retry token was issued for which it's considered valid +637 /// +638 /// Defaults to 15 seconds. +639 pub fn set_retry_token_lifetime(mut self, value: Duration) -> Self { +640 self.inner.retry_token_lifetime(value); +641 self +642 } +643 +644 /// Maximum number of [`Incoming`] to allow to exist at a time. +645 /// +646 /// An [`Incoming`] comes into existence when an incoming connection attempt +647 /// is received and stops existing when the application either accepts it or otherwise disposes +648 /// of it. While this limit is reached, new incoming connection attempts are immediately +649 /// refused. Larger values have greater worst-case memory consumption, but accommodate greater +650 /// application latency in handling incoming connection attempts. +651 /// +652 /// The default value is set to 65536. With a typical Ethernet MTU of 1500 bytes, this limits +653 /// memory consumption from this to under 100 MiB--a generous amount that still prevents memory +654 /// exhaustion in most contexts. +655 /// +656 /// [`Incoming`]: crate::endpoint::Incoming +657 pub fn set_max_incoming(mut self, max_incoming: usize) -> Self { +658 self.inner.max_incoming(max_incoming); +659 self +660 } +661 +662 /// Maximum number of received bytes to buffer for each [`Incoming`]. +663 /// +664 /// An [`Incoming`] comes into existence when an incoming connection attempt +665 /// is received and stops existing when the application either accepts it or otherwise disposes +666 /// of it. This limit governs only packets received within that period, and does not include +667 /// the first packet. Packets received in excess of this limit are dropped, which may cause +668 /// 0-RTT or handshake data to have to be retransmitted. +669 /// +670 /// The default value is set to 10 MiB--an amount such that in most situations a client would +671 /// not transmit that much 0-RTT data faster than the server handles the corresponding +672 /// [`Incoming`]. +673 /// +674 /// [`Incoming`]: crate::endpoint::Incoming +675 pub fn set_incoming_buffer_size(mut self, incoming_buffer_size: u64) -> Self { +676 self.inner.incoming_buffer_size(incoming_buffer_size); +677 self +678 } +679 +680 /// Maximum number of received bytes to buffer for all [`Incoming`] +681 /// collectively. +682 /// +683 /// An [`Incoming`] comes into existence when an incoming connection attempt +684 /// is received and stops existing when the application either accepts it or otherwise disposes +685 /// of it. This limit governs only packets received within that period, and does not include +686 /// the first packet. Packets received in excess of this limit are dropped, which may cause +687 /// 0-RTT or handshake data to have to be retransmitted. +688 /// +689 /// The default value is set to 100 MiB--a generous amount that still prevents memory +690 /// exhaustion in most contexts. +691 /// +692 /// [`Incoming`]: crate::endpoint::Incoming +693 pub fn set_incoming_buffer_size_total(mut self, incoming_buffer_size_total: u64) -> Self { +694 self.inner +695 .incoming_buffer_size_total(incoming_buffer_size_total); +696 self +697 } +698 +699 /// Object to get current [`SystemTime`]. +700 /// +701 /// This exists to allow system time to be mocked in tests, or wherever else desired. +702 /// +703 /// Defaults to [`quinn::StdSystemTime`], which simply calls [`SystemTime::now()`](std::time::SystemTime::now). +704 /// +705 /// [`SystemTime`]: std::time::SystemTime +706 pub fn set_time_source(mut self, time_source: Arc<dyn TimeSource>) -> Self { +707 self.inner.time_source(time_source); +708 self +709 } +710} \ No newline at end of file diff --git a/pr/3734/docs/src/iroh/lib.rs.html b/pr/3734/docs/src/iroh/lib.rs.html index 7c6ed9698d..4b497023d2 100644 --- a/pr/3734/docs/src/iroh/lib.rs.html +++ b/pr/3734/docs/src/iroh/lib.rs.html @@ -266,7 +266,7 @@ 266pub mod dns; 267pub mod endpoint; 268pub mod metrics; -269pub mod net_report; +269mod net_report; 270pub mod protocol; 271 272pub use endpoint::{Endpoint, RelayMode}; @@ -276,6 +276,7 @@ 276}; 277pub use iroh_relay::{RelayConfig, RelayMap, endpoint_info}; 278pub use n0_watcher::Watcher; -279 -280#[cfg(any(test, feature = "test-utils"))] -281pub mod test_utils; \ No newline at end of file +279pub use net_report::{Report as NetReport, TIMEOUT as NET_REPORT_TIMEOUT}; +280 +281#[cfg(any(test, feature = "test-utils"))] +282pub mod test_utils; \ No newline at end of file diff --git a/pr/3734/docs/src/iroh/magicsock.rs.html b/pr/3734/docs/src/iroh/magicsock.rs.html index f9470cc0f7..bedf20e1a9 100644 --- a/pr/3734/docs/src/iroh/magicsock.rs.html +++ b/pr/3734/docs/src/iroh/magicsock.rs.html @@ -37,7 +37,7 @@ 37#[cfg(not(wasm_browser))] 38use netwatch::ip::LocalAddresses; 39use netwatch::netmon; -40use quinn::{ServerConfig, WeakConnectionHandle}; +40use quinn::WeakConnectionHandle; 41use rand::Rng; 42use tokio::sync::{Mutex as AsyncMutex, mpsc, oneshot}; 43use tokio_util::sync::CancellationToken; @@ -58,7 +58,7 @@ 58 defaults::timeouts::NET_REPORT_TIMEOUT, 59 discovery::{ConcurrentDiscovery, Discovery, DiscoveryError, EndpointData, UserData}, 60 endpoint::hooks::EndpointHooksList, -61 magicsock::remote_map::PathsWatcher, +61 magicsock::remote_map::{PathsWatcher, RemoteInfo}, 62 metrics::EndpointMetrics, 63 net_report::{self, IfStateDetails, Report}, 64}; @@ -69,702 +69,702 @@ 69pub(crate) mod remote_map; 70pub(crate) mod transports; 71 -72use self::{ -73 mapped_addrs::{EndpointIdMappedAddr, MappedAddr}, -74 transports::Addr, -75}; -76pub use self::{metrics::Metrics, remote_map::PathInfo}; -77 -78// TODO: Use this -79// /// How long we consider a QAD-derived endpoint valid for. UDP NAT mappings typically -80// /// expire at 30 seconds, so this is a few seconds shy of that. -81// const ENDPOINTS_FRESH_ENOUGH_DURATION: Duration = Duration::from_secs(27); -82 -83/// The duration in which we send keep-alives. -84/// -85/// If a path is idle for this long, a PING frame will be sent to keep the connection -86/// alive. -87pub(crate) const HEARTBEAT_INTERVAL: Duration = Duration::from_secs(5); -88 -89/// The maximum time a path can stay idle before being closed. -90/// -91/// This is [`HEARTBEAT_INTERVAL`] + 1.5s. This gives us a chance to send a PING frame and -92/// some retries. -93pub(crate) const PATH_MAX_IDLE_TIMEOUT: Duration = Duration::from_millis(6500); -94 -95/// Maximum number of concurrent QUIC multipath paths per connection. -96/// -97/// Pretty arbitrary and high right now. -98pub(crate) const MAX_MULTIPATH_PATHS: u32 = 12; -99 -100/// Error returned when the endpoint state actor stopped while waiting for a reply. -101#[stack_error(add_meta, derive)] -102#[error("endpoint state actor stopped")] -103#[derive(Clone)] -104pub(crate) struct RemoteStateActorStoppedError; -105 -106impl From<mpsc::error::SendError<RemoteStateMessage>> for RemoteStateActorStoppedError { -107 #[track_caller] -108 fn from(_value: mpsc::error::SendError<RemoteStateMessage>) -> Self { -109 Self::new() -110 } -111} -112 -113/// Contains options for `MagicSock::listen`. -114#[derive(derive_more::Debug)] -115pub(crate) struct Options { -116 /// The configuration for the different transports. -117 pub(crate) transports: Vec<TransportConfig>, +72use self::mapped_addrs::{EndpointIdMappedAddr, MappedAddr}; +73pub use self::{metrics::Metrics, remote_map::PathInfo}; +74 +75// TODO: Use this +76// /// How long we consider a QAD-derived endpoint valid for. UDP NAT mappings typically +77// /// expire at 30 seconds, so this is a few seconds shy of that. +78// const ENDPOINTS_FRESH_ENOUGH_DURATION: Duration = Duration::from_secs(27); +79 +80/// The duration in which we send keep-alives. +81/// +82/// If a path is idle for this long, a PING frame will be sent to keep the connection +83/// alive. +84pub(crate) const HEARTBEAT_INTERVAL: Duration = Duration::from_secs(5); +85 +86/// The maximum time a path can stay idle before being closed. +87/// +88/// This is [`HEARTBEAT_INTERVAL`] + 1.5s. This gives us a chance to send a PING frame and +89/// some retries. +90pub(crate) const PATH_MAX_IDLE_TIMEOUT: Duration = Duration::from_millis(6500); +91 +92/// Maximum number of concurrent QUIC multipath paths per connection. +93/// +94/// Pretty arbitrary and high right now. +95pub(crate) const MAX_MULTIPATH_PATHS: u32 = 12; +96 +97/// Error returned when the endpoint state actor stopped while waiting for a reply. +98#[stack_error(add_meta, derive)] +99#[error("endpoint state actor stopped")] +100#[derive(Clone)] +101pub(crate) struct RemoteStateActorStoppedError; +102 +103impl From<mpsc::error::SendError<RemoteStateMessage>> for RemoteStateActorStoppedError { +104 #[track_caller] +105 fn from(_value: mpsc::error::SendError<RemoteStateMessage>) -> Self { +106 Self::new() +107 } +108} +109 +110/// Contains options for `MagicSock::listen`. +111#[derive(derive_more::Debug)] +112pub(crate) struct Options { +113 /// The configuration for the different transports. +114 pub(crate) transports: Vec<TransportConfig>, +115 +116 /// Secret key for this endpoint. +117 pub(crate) secret_key: SecretKey, 118 -119 /// Secret key for this endpoint. -120 pub(crate) secret_key: SecretKey, +119 /// Optional user-defined discovery data. +120 pub(crate) discovery_user_data: Option<UserData>, 121 -122 /// Optional user-defined discovery data. -123 pub(crate) discovery_user_data: Option<UserData>, -124 -125 /// A DNS resolver to use for resolving relay URLs. -126 /// -127 /// You can use [`crate::dns::DnsResolver::new`] for a resolver -128 /// that uses the system's DNS configuration. -129 #[cfg(not(wasm_browser))] -130 pub(crate) dns_resolver: DnsResolver, +122 /// A DNS resolver to use for resolving relay URLs. +123 /// +124 /// You can use [`crate::dns::DnsResolver::new`] for a resolver +125 /// that uses the system's DNS configuration. +126 #[cfg(not(wasm_browser))] +127 pub(crate) dns_resolver: DnsResolver, +128 +129 /// Proxy configuration. +130 pub(crate) proxy_url: Option<Url>, 131 -132 /// Proxy configuration. -133 pub(crate) proxy_url: Option<Url>, +132 /// ServerConfig for the internal QUIC endpoint +133 pub(crate) server_config: quinn_proto::ServerConfig, 134 -135 /// ServerConfig for the internal QUIC endpoint -136 pub(crate) server_config: ServerConfig, -137 -138 /// Skip verification of SSL certificates from relay servers -139 /// -140 /// May only be used in tests. -141 #[cfg(any(test, feature = "test-utils"))] -142 pub(crate) insecure_skip_relay_cert_verify: bool, -143 pub(crate) metrics: EndpointMetrics, -144 pub(crate) hooks: EndpointHooksList, -145} -146 -147/// Handle for [`MagicSock`]. -148/// -149/// Dereferences to [`MagicSock`], and handles closing. -150#[derive(Clone, Debug, derive_more::Deref)] -151pub(crate) struct Handle { -152 #[deref(forward)] -153 msock: Arc<MagicSock>, -154 // empty when shutdown -155 actor_task: Arc<Mutex<Option<AbortOnDropHandle<()>>>>, -156 /// Token to cancel the actor task and shutdown the relay transport. -157 shutdown_token: CancellationToken, -158 // quinn endpoint -159 endpoint: quinn::Endpoint, -160} -161 -162/// Iroh connectivity layer. -163/// -164/// This is responsible for routing packets to endpoints based on endpoint IDs, it will initially -165/// route packets via a relay and transparently try and establish an endpoint-to-endpoint -166/// connection and upgrade to it. It will also keep looking for better connections as the -167/// network details of both endpoints change. -168/// -169/// It is usually only necessary to use a single [`MagicSock`] instance in an application, it -170/// means any QUIC endpoints on top will be sharing as much information about endpoints as -171/// possible. -172#[derive(Debug)] -173pub(crate) struct MagicSock { -174 /// Channel to send to the internal actor. -175 actor_sender: mpsc::Sender<ActorMessage>, -176 /// EndpointId of this endpoint. -177 public_key: PublicKey, +135 /// Skip verification of SSL certificates from relay servers +136 /// +137 /// May only be used in tests. +138 #[cfg(any(test, feature = "test-utils"))] +139 pub(crate) insecure_skip_relay_cert_verify: bool, +140 pub(crate) metrics: EndpointMetrics, +141 pub(crate) hooks: EndpointHooksList, +142} +143 +144/// Handle for [`MagicSock`]. +145/// +146/// Dereferences to [`MagicSock`], and handles closing. +147#[derive(Clone, Debug, derive_more::Deref)] +148pub(crate) struct Handle { +149 #[deref(forward)] +150 msock: Arc<MagicSock>, +151 // empty when shutdown +152 actor_task: Arc<Mutex<Option<AbortOnDropHandle<()>>>>, +153 // quinn endpoint +154 endpoint: quinn::Endpoint, +155} +156 +157#[derive(Debug)] +158struct ShutdownState { +159 at_close_start: CancellationToken, +160 at_endpoint_closed: CancellationToken, +161 closed: AtomicBool, +162} +163 +164impl Default for ShutdownState { +165 fn default() -> Self { +166 Self { +167 at_close_start: CancellationToken::new(), +168 at_endpoint_closed: CancellationToken::new(), +169 closed: AtomicBool::new(false), +170 } +171 } +172} +173 +174impl ShutdownState { +175 fn is_closing(&self) -> bool { +176 self.at_close_start.is_cancelled() +177 } 178 -179 // - State Management -180 /// Close is in progress (or done) -181 closing: AtomicBool, -182 /// Close was called. -183 closed: AtomicBool, -184 -185 // - Networking Info -186 /// Our discovered direct addresses. -187 direct_addrs: DiscoveredDirectAddrs, -188 /// Our latest net-report -189 net_report: Watchable<(Option<Report>, UpdateReason)>, -190 /// If the last net_report report, reports IPv6 to be available. -191 ipv6_reported: Arc<AtomicBool>, -192 /// Tracks the networkmap endpoint entity for each endpoint discovery key. -193 pub(crate) remote_map: RemoteMap, -194 -195 /// Local addresses -196 local_addrs_watch: LocalAddrsWatch, -197 /// Currently bound IP addresses of all sockets -198 #[cfg(not(wasm_browser))] -199 ip_bind_addrs: Vec<SocketAddr>, -200 /// The DNS resolver to be used in this magicsock. -201 #[cfg(not(wasm_browser))] -202 dns_resolver: DnsResolver, -203 relay_map: RelayMap, -204 -205 // - Discovery -206 /// Optional discovery service -207 discovery: ConcurrentDiscovery, -208 /// Optional user-defined discover data. -209 discovery_user_data: RwLock<Option<UserData>>, -210 -211 /// Metrics -212 pub(crate) metrics: EndpointMetrics, -213 pub(crate) hooks: EndpointHooksList, -214} -215 -216impl MagicSock { -217 /// Creates a magic [`MagicSock`] listening. -218 pub(crate) async fn spawn(opts: Options) -> Result<Handle, CreateHandleError> { -219 Handle::new(opts).await -220 } -221 -222 /// Returns the relay endpoint we are connected to, that has the best latency. -223 /// -224 /// If `None`, then we are not connected to any relay endpoints. -225 pub(crate) fn my_relay(&self) -> Option<RelayUrl> { -226 self.local_addr().into_iter().find_map(|a| { -227 if let transports::Addr::Relay(url, _) = a { -228 Some(url) -229 } else { -230 None -231 } -232 }) -233 } +179 fn is_closed(&self) -> bool { +180 self.closed.load(Ordering::Relaxed) +181 } +182} +183 +184/// Iroh connectivity layer. +185/// +186/// This is responsible for routing packets to endpoints based on endpoint IDs, it will initially +187/// route packets via a relay and transparently try and establish an endpoint-to-endpoint +188/// connection and upgrade to it. It will also keep looking for better connections as the +189/// network details of both endpoints change. +190/// +191/// It is usually only necessary to use a single [`MagicSock`] instance in an application, it +192/// means any QUIC endpoints on top will be sharing as much information about endpoints as +193/// possible. +194#[derive(Debug)] +195pub(crate) struct MagicSock { +196 /// Channel to send to the internal actor. +197 actor_sender: mpsc::Sender<ActorMessage>, +198 /// EndpointId of this endpoint. +199 public_key: PublicKey, +200 +201 // - Shutdown Management +202 shutdown: ShutdownState, +203 +204 // - Networking Info +205 /// Our discovered direct addresses. +206 direct_addrs: DiscoveredDirectAddrs, +207 /// Our latest net-report +208 net_report: Watchable<(Option<Report>, UpdateReason)>, +209 /// If the last net_report report, reports IPv6 to be available. +210 ipv6_reported: Arc<AtomicBool>, +211 /// Tracks the networkmap endpoint entity for each endpoint discovery key. +212 pub(crate) remote_map: RemoteMap, +213 +214 /// Local addresses +215 local_addrs_watch: LocalAddrsWatch, +216 /// Currently bound IP addresses of all sockets +217 #[cfg(not(wasm_browser))] +218 ip_bind_addrs: Vec<SocketAddr>, +219 /// The DNS resolver to be used in this magicsock. +220 #[cfg(not(wasm_browser))] +221 dns_resolver: DnsResolver, +222 relay_map: RelayMap, +223 +224 // - Discovery +225 /// Optional discovery service +226 discovery: ConcurrentDiscovery, +227 /// Optional user-defined discover data. +228 discovery_user_data: RwLock<Option<UserData>>, +229 +230 /// Metrics +231 pub(crate) metrics: EndpointMetrics, +232 pub(crate) hooks: EndpointHooksList, +233} 234 -235 fn is_closing(&self) -> bool { -236 self.closing.load(Ordering::Relaxed) -237 } -238 -239 pub(crate) fn is_closed(&self) -> bool { -240 self.closed.load(Ordering::SeqCst) -241 } -242 -243 /// Get the cached version of addresses. -244 pub(crate) fn local_addr(&self) -> Vec<transports::Addr> { -245 self.local_addrs_watch.clone().get() -246 } -247 -248 /// Registers the connection in the `RemoteStateActor`. -249 /// -250 /// The actor is responsible for holepunching and opening additional paths to this -251 /// connection. -252 /// -253 /// Returns a future that resolves to [`PathsWatcher`]. -254 /// -255 /// The returned future is `'static`, so it can be stored without being liftetime-bound to `&self`. -256 pub(crate) fn register_connection( -257 &self, -258 remote: EndpointId, -259 conn: WeakConnectionHandle, -260 ) -> impl Future<Output = Result<PathsWatcher, RemoteStateActorStoppedError>> + Send + 'static -261 { -262 let (tx, rx) = oneshot::channel(); -263 let sender = self.remote_map.remote_state_actor(remote); -264 async move { -265 sender -266 .send(RemoteStateMessage::AddConnection(conn, tx)) -267 .await?; -268 rx.await.map_err(|_| RemoteStateActorStoppedError::new()) -269 } -270 } -271 -272 #[cfg(not(wasm_browser))] -273 fn ip_bind_addrs(&self) -> &[SocketAddr] { -274 &self.ip_bind_addrs -275 } -276 -277 fn ip_local_addrs(&self) -> impl Iterator<Item = SocketAddr> + use<> { -278 self.local_addr() -279 .into_iter() -280 .filter_map(|addr| addr.into_socket_addr()) -281 } -282 -283 /// Resolves an [`EndpointAddr`] to an [`EndpointIdMappedAddr`] to connect to via [`Handle::endpoint`]. -284 /// -285 /// This starts a `RemoteStateActor` for the remote if not running already, and then checks -286 /// if the actor has any known paths to the remote. If not, it starts discovery and waits for -287 /// at least one result to arrive. -288 /// -289 /// Returns `Ok(Ok(EndpointIdMappedAddr))` if there is a known path or discovery produced -290 /// at least one result. This does not mean there is a working path, only that we have at least -291 /// one transport address we can try to connect to. -292 /// -293 /// Returns `Ok(Err(discovery_error))` if there are no known paths to the remote and discovery -294 /// failed or produced no results. This means that we don't have any transport address for -295 /// the remote, thus there is no point in trying to connect over the quinn endpoint. -296 /// -297 /// Returns `Err(RemoteStateActorStoppedError)` if the `RemoteStateActor` for the remote has stopped, -298 /// which may never happen and thus is a bug if it does. -299 pub(crate) async fn resolve_remote( -300 &self, -301 addr: EndpointAddr, -302 ) -> Result<Result<EndpointIdMappedAddr, DiscoveryError>, RemoteStateActorStoppedError> { -303 let EndpointAddr { id, addrs } = addr; -304 let actor = self.remote_map.remote_state_actor(id); -305 let (tx, rx) = oneshot::channel(); -306 actor -307 .send(RemoteStateMessage::ResolveRemote(addrs, tx)) -308 .await?; -309 match rx.await { -310 Ok(Ok(())) => Ok(Ok(self.remote_map.endpoint_mapped_addr(id))), -311 Ok(Err(err)) => Ok(Err(err)), -312 Err(_) => Err(RemoteStateActorStoppedError::new()), -313 } -314 } -315 -316 pub(crate) async fn insert_relay( -317 &self, -318 relay: RelayUrl, -319 endpoint: Arc<RelayConfig>, -320 ) -> Option<Arc<RelayConfig>> { -321 let res = self.relay_map.insert(relay, endpoint); -322 self.actor_sender -323 .send(ActorMessage::RelayMapChange) -324 .await -325 .ok(); -326 res -327 } -328 -329 pub(crate) async fn remove_relay(&self, relay: &RelayUrl) -> Option<Arc<RelayConfig>> { -330 let res = self.relay_map.remove(relay); -331 self.actor_sender -332 .send(ActorMessage::RelayMapChange) -333 .await -334 .ok(); -335 res -336 } -337 -338 /// Returns a [`Watcher`] for this socket's direct addresses. -339 /// -340 /// The [`MagicSock`] continuously monitors the direct addresses, the network addresses -341 /// it might be able to be contacted on, for changes. Whenever changes are detected -342 /// this [`Watcher`] will yield a new list of addresses. -343 /// -344 /// Upon the first creation on the [`MagicSock`] it may not yet have completed a first -345 /// direct addresses discovery, in this case the current item in this [`Watcher`] will be -346 /// [`None`]. Once the first set of direct addresses are discovered the [`Watcher`] will -347 /// store [`Some`] set of addresses. -348 /// -349 /// To get the current direct addresses, use [`Watcher::initialized`]. -350 /// -351 /// [`Watcher`]: n0_watcher::Watcher -352 /// [`Watcher::initialized`]: n0_watcher::Watcher::initialized -353 pub(crate) fn ip_addrs(&self) -> n0_watcher::Direct<BTreeSet<DirectAddr>> { -354 self.direct_addrs.addrs.watch() -355 } -356 -357 /// Returns a [`Watcher`] for this socket's net-report. -358 /// -359 /// The [`MagicSock`] continuously monitors the network conditions for changes. -360 /// Whenever changes are detected this [`Watcher`] will yield a new report. -361 /// -362 /// Upon the first creation on the [`MagicSock`] it may not yet have completed -363 /// a first net-report. In this case, the current item in this [`Watcher`] will -364 /// be [`None`]. Once the first report has been run, the [`Watcher`] will -365 /// store [`Some`] report. -366 /// -367 /// To get the current `net-report`, use [`Watcher::initialized`]. +235impl MagicSock { +236 /// Creates a magic [`MagicSock`] listening. +237 pub(crate) async fn spawn(opts: Options) -> Result<Handle, CreateHandleError> { +238 Handle::new(opts).await +239 } +240 +241 /// Returns the relay endpoint we are connected to, that has the best latency. +242 /// +243 /// If `None`, then we are not connected to any relay endpoints. +244 pub(crate) fn my_relay(&self) -> Option<RelayUrl> { +245 self.local_addr().into_iter().find_map(|a| { +246 if let transports::Addr::Relay(url, _) = a { +247 Some(url) +248 } else { +249 None +250 } +251 }) +252 } +253 +254 pub(crate) fn is_closed(&self) -> bool { +255 self.shutdown.is_closed() +256 } +257 +258 fn is_closing(&self) -> bool { +259 self.shutdown.is_closing() +260 } +261 +262 /// Get the cached version of addresses. +263 pub(crate) fn local_addr(&self) -> Vec<transports::Addr> { +264 self.local_addrs_watch.clone().get() +265 } +266 +267 /// Registers the connection in the `RemoteStateActor`. +268 /// +269 /// The actor is responsible for holepunching and opening additional paths to this +270 /// connection. +271 /// +272 /// Returns a future that resolves to [`PathsWatcher`]. +273 /// +274 /// The returned future is `'static`, so it can be stored without being liftetime-bound to `&self`. +275 pub(crate) fn register_connection( +276 &self, +277 remote: EndpointId, +278 conn: WeakConnectionHandle, +279 ) -> impl Future<Output = Result<PathsWatcher, RemoteStateActorStoppedError>> + Send + 'static +280 { +281 let (tx, rx) = oneshot::channel(); +282 let sender = self.remote_map.remote_state_actor(remote); +283 async move { +284 sender +285 .send(RemoteStateMessage::AddConnection(conn, tx)) +286 .await?; +287 rx.await.map_err(|_| RemoteStateActorStoppedError::new()) +288 } +289 } +290 +291 #[cfg(not(wasm_browser))] +292 fn ip_bind_addrs(&self) -> &[SocketAddr] { +293 &self.ip_bind_addrs +294 } +295 +296 fn ip_local_addrs(&self) -> impl Iterator<Item = SocketAddr> + use<> { +297 self.local_addr() +298 .into_iter() +299 .filter_map(|addr| addr.into_socket_addr()) +300 } +301 +302 /// Resolves an [`EndpointAddr`] to an [`EndpointIdMappedAddr`] to connect to via [`Handle::endpoint`]. +303 /// +304 /// This starts a `RemoteStateActor` for the remote if not running already, and then checks +305 /// if the actor has any known paths to the remote. If not, it starts discovery and waits for +306 /// at least one result to arrive. +307 /// +308 /// Returns `Ok(Ok(EndpointIdMappedAddr))` if there is a known path or discovery produced +309 /// at least one result. This does not mean there is a working path, only that we have at least +310 /// one transport address we can try to connect to. +311 /// +312 /// Returns `Ok(Err(discovery_error))` if there are no known paths to the remote and discovery +313 /// failed or produced no results. This means that we don't have any transport address for +314 /// the remote, thus there is no point in trying to connect over the quinn endpoint. +315 /// +316 /// Returns `Err(RemoteStateActorStoppedError)` if the `RemoteStateActor` for the remote has stopped, +317 /// which may never happen and thus is a bug if it does. +318 pub(crate) async fn resolve_remote( +319 &self, +320 addr: EndpointAddr, +321 ) -> Result<Result<EndpointIdMappedAddr, DiscoveryError>, RemoteStateActorStoppedError> { +322 let EndpointAddr { id, addrs } = addr; +323 let actor = self.remote_map.remote_state_actor(id); +324 let (tx, rx) = oneshot::channel(); +325 actor +326 .send(RemoteStateMessage::ResolveRemote(addrs, tx)) +327 .await?; +328 match rx.await { +329 Ok(Ok(())) => Ok(Ok(self.remote_map.endpoint_mapped_addr(id))), +330 Ok(Err(err)) => Ok(Err(err)), +331 Err(_) => Err(RemoteStateActorStoppedError::new()), +332 } +333 } +334 +335 /// Fetches the [`RemoteInfo`] about a remote from the `RemoteStateActor`. +336 /// +337 /// Returns `None` if no actor is running for the remote. +338 pub(crate) async fn remote_info(&self, id: EndpointId) -> Option<RemoteInfo> { +339 let actor = self.remote_map.remote_state_actor_if_exists(id)?; +340 let (tx, rx) = oneshot::channel(); +341 actor.send(RemoteStateMessage::RemoteInfo(tx)).await.ok()?; +342 rx.await.ok() +343 } +344 +345 pub(crate) async fn insert_relay( +346 &self, +347 relay: RelayUrl, +348 endpoint: Arc<RelayConfig>, +349 ) -> Option<Arc<RelayConfig>> { +350 let res = self.relay_map.insert(relay, endpoint); +351 self.actor_sender +352 .send(ActorMessage::RelayMapChange) +353 .await +354 .ok(); +355 res +356 } +357 +358 pub(crate) async fn remove_relay(&self, relay: &RelayUrl) -> Option<Arc<RelayConfig>> { +359 let res = self.relay_map.remove(relay); +360 self.actor_sender +361 .send(ActorMessage::RelayMapChange) +362 .await +363 .ok(); +364 res +365 } +366 +367 /// Returns a [`Watcher`] for this socket's direct addresses. 368 /// -369 /// [`Watcher`]: n0_watcher::Watcher -370 /// [`Watcher::initialized`]: n0_watcher::Watcher::initialized -371 pub(crate) fn net_report(&self) -> impl Watcher<Value = Option<Report>> + use<> { -372 self.net_report.watch().map(|(r, _)| r) -373 } -374 -375 /// Watch for changes to the home relay. -376 /// -377 /// Note that this can be used to wait for the initial home relay to be known using -378 /// [`Watcher::initialized`]. -379 pub(crate) fn home_relay(&self) -> impl Watcher<Value = Vec<RelayUrl>> + use<> { -380 self.local_addrs_watch.clone().map(|addrs| { -381 addrs -382 .into_iter() -383 .filter_map(|addr| { -384 if let transports::Addr::Relay(url, _) = addr { -385 Some(url) -386 } else { -387 None -388 } -389 }) -390 .collect() -391 }) -392 } -393 -394 /// Stores a new set of direct addresses. +369 /// The [`MagicSock`] continuously monitors the direct addresses, the network addresses +370 /// it might be able to be contacted on, for changes. Whenever changes are detected +371 /// this [`Watcher`] will yield a new list of addresses. +372 /// +373 /// Upon the first creation on the [`MagicSock`] it may not yet have completed a first +374 /// direct addresses discovery, in this case the current item in this [`Watcher`] will be +375 /// [`None`]. Once the first set of direct addresses are discovered the [`Watcher`] will +376 /// store [`Some`] set of addresses. +377 /// +378 /// To get the current direct addresses, use [`Watcher::initialized`]. +379 /// +380 /// [`Watcher`]: n0_watcher::Watcher +381 /// [`Watcher::initialized`]: n0_watcher::Watcher::initialized +382 pub(crate) fn ip_addrs(&self) -> n0_watcher::Direct<BTreeSet<DirectAddr>> { +383 self.direct_addrs.addrs.watch() +384 } +385 +386 /// Returns a [`Watcher`] for this socket's net-report. +387 /// +388 /// The [`MagicSock`] continuously monitors the network conditions for changes. +389 /// Whenever changes are detected this [`Watcher`] will yield a new report. +390 /// +391 /// Upon the first creation on the [`MagicSock`] it may not yet have completed +392 /// a first net-report. In this case, the current item in this [`Watcher`] will +393 /// be [`None`]. Once the first report has been run, the [`Watcher`] will +394 /// store [`Some`] report. 395 /// -396 /// If the direct addresses have changed from the previous set, they are published to -397 /// discovery. -398 pub(super) fn store_direct_addresses(&self, addrs: BTreeSet<DirectAddr>) { -399 let updated = self.direct_addrs.update(addrs); -400 if updated { -401 self.publish_my_addr(); -402 } -403 } -404 -405 /// Get a reference to the DNS resolver used in this [`MagicSock`]. -406 #[cfg(not(wasm_browser))] -407 pub(crate) fn dns_resolver(&self) -> &DnsResolver { -408 &self.dns_resolver -409 } -410 -411 /// Reference to the internal discovery service -412 pub(crate) fn discovery(&self) -> &ConcurrentDiscovery { -413 &self.discovery -414 } -415 -416 /// Updates the user-defined discovery data for this endpoint. -417 pub(crate) fn set_user_data_for_discovery(&self, user_data: Option<UserData>) { -418 let mut guard = self.discovery_user_data.write().expect("lock poisened"); -419 if *guard != user_data { -420 *guard = user_data; -421 drop(guard); -422 self.publish_my_addr(); -423 } -424 } -425 -426 /// Call to notify the system of potential network changes. -427 pub(crate) async fn network_change(&self) { -428 self.actor_sender -429 .send(ActorMessage::NetworkChange) -430 .await -431 .ok(); +396 /// To get the current `net-report`, use [`Watcher::initialized`]. +397 /// +398 /// [`Watcher`]: n0_watcher::Watcher +399 /// [`Watcher::initialized`]: n0_watcher::Watcher::initialized +400 pub(crate) fn net_report(&self) -> impl Watcher<Value = Option<Report>> + use<> { +401 self.net_report.watch().map(|(r, _)| r) +402 } +403 +404 /// Watch for changes to the home relay. +405 /// +406 /// Note that this can be used to wait for the initial home relay to be known using +407 /// [`Watcher::initialized`]. +408 pub(crate) fn home_relay(&self) -> impl Watcher<Value = Vec<RelayUrl>> + use<> { +409 self.local_addrs_watch.clone().map(|addrs| { +410 addrs +411 .into_iter() +412 .filter_map(|addr| { +413 if let transports::Addr::Relay(url, _) = addr { +414 Some(url) +415 } else { +416 None +417 } +418 }) +419 .collect() +420 }) +421 } +422 +423 /// Stores a new set of direct addresses. +424 /// +425 /// If the direct addresses have changed from the previous set, they are published to +426 /// discovery. +427 pub(super) fn store_direct_addresses(&self, addrs: BTreeSet<DirectAddr>) { +428 let updated = self.direct_addrs.update(addrs); +429 if updated { +430 self.publish_my_addr(); +431 } 432 } 433 -434 #[cfg(test)] -435 async fn force_network_change(&self, is_major: bool) { -436 self.actor_sender -437 .send(ActorMessage::ForceNetworkChange(is_major)) -438 .await -439 .ok(); -440 } -441 -442 #[cfg_attr(windows, allow(dead_code))] -443 fn normalized_local_addr(&self) -> io::Result<SocketAddr> { -444 let addrs = self.local_addrs_watch.peek(); -445 -446 let mut ipv4_addr = None; -447 for addr in addrs { -448 match addr { -449 Addr::Ip(addr @ SocketAddr::V6(_)) => { -450 return Ok(*addr); -451 } -452 Addr::Ip(addr @ SocketAddr::V4(_)) if ipv4_addr.is_none() => { -453 ipv4_addr.replace(*addr); -454 } -455 _ => {} -456 } -457 } -458 match ipv4_addr { -459 Some(addr) => Ok(addr), -460 None => Err(io::Error::other("no valid socket available")), -461 } -462 } -463 -464 /// Process datagrams received from all the transports. -465 /// -466 /// All the `bufs` and `metas` should have initialized packets in them. -467 /// -468 /// This fixes up the datagrams to use the correct [`MultipathMappedAddr`] and extracts -469 /// DISCO packets, processing them inside the magic socket. -470 /// -471 /// [`MultipathMappedAddr`]: mapped_addrs::MultipathMappedAddr -472 fn process_datagrams( -473 &self, -474 bufs: &mut [io::IoSliceMut<'_>], -475 metas: &mut [quinn_udp::RecvMeta], -476 source_addrs: &[transports::Addr], -477 ) { -478 debug_assert_eq!(bufs.len(), metas.len(), "non matching bufs & metas"); -479 debug_assert_eq!( -480 bufs.len(), -481 source_addrs.len(), -482 "non matching bufs & source_addrs" -483 ); -484 -485 // Adding the IP address we received something on results in Quinn using this -486 // address on the send path to send from. However we let Quinn use a -487 // EndpointIdMappedAddress, not a real address. So we used to substitute our bind address -488 // here so that Quinn would send on the right address. But that would sometimes -489 // result in the wrong address family and Windows trips up on that. -490 // -491 // What should be done is that this dst_ip from the RecvMeta is stored in the -492 // RemoteState/PathState. Then on the send path it should be retrieved from the -493 // RemoteState/PathState together with the send address and substituted at send time. -494 // This is relevant for IPv6 link-local addresses where the OS otherwise does not -495 // know which interface to send from. -496 #[cfg(not(windows))] -497 let dst_ip = self.normalized_local_addr().ok().map(|addr| addr.ip()); -498 // Reasoning for this here: -499 // https://github.com/n0-computer/iroh/pull/2595#issuecomment-2290947319 -500 #[cfg(windows)] -501 let dst_ip = None; -502 -503 // zip is slow :( -504 for i in 0..metas.len() { -505 let quinn_meta = &mut metas[i]; -506 let source_addr = &source_addrs[i]; -507 -508 let datagram_count = quinn_meta.len.div_ceil(quinn_meta.stride); -509 self.metrics -510 .magicsock -511 .recv_datagrams -512 .inc_by(datagram_count as _); -513 if quinn_meta.len > quinn_meta.stride { -514 trace!( -515 src = ?source_addr, -516 len = quinn_meta.len, -517 stride = %quinn_meta.stride, -518 datagram_count = quinn_meta.len.div_ceil(quinn_meta.stride), -519 "GRO datagram received", -520 ); -521 self.metrics.magicsock.recv_gro_datagrams.inc(); -522 } else { -523 trace!(src = ?source_addr, len = quinn_meta.len, "datagram received"); -524 } -525 match source_addr { -526 transports::Addr::Ip(SocketAddr::V4(..)) => { -527 self.metrics -528 .magicsock -529 .recv_data_ipv4 -530 .inc_by(quinn_meta.len as _); -531 } -532 transports::Addr::Ip(SocketAddr::V6(..)) => { -533 self.metrics -534 .magicsock -535 .recv_data_ipv6 -536 .inc_by(quinn_meta.len as _); -537 } -538 transports::Addr::Relay(src_url, src_node) => { -539 self.metrics -540 .magicsock -541 .recv_data_relay -542 .inc_by(quinn_meta.len as _); +434 /// Get a reference to the DNS resolver used in this [`MagicSock`]. +435 #[cfg(not(wasm_browser))] +436 pub(crate) fn dns_resolver(&self) -> &DnsResolver { +437 &self.dns_resolver +438 } +439 +440 /// Reference to the internal discovery service +441 pub(crate) fn discovery(&self) -> &ConcurrentDiscovery { +442 &self.discovery +443 } +444 +445 /// Updates the user-defined discovery data for this endpoint. +446 pub(crate) fn set_user_data_for_discovery(&self, user_data: Option<UserData>) { +447 let mut guard = self.discovery_user_data.write().expect("lock poisened"); +448 if *guard != user_data { +449 *guard = user_data; +450 drop(guard); +451 self.publish_my_addr(); +452 } +453 } +454 +455 /// Call to notify the system of potential network changes. +456 pub(crate) async fn network_change(&self) { +457 self.actor_sender +458 .send(ActorMessage::NetworkChange) +459 .await +460 .ok(); +461 } +462 +463 #[cfg(test)] +464 async fn force_network_change(&self, is_major: bool) { +465 self.actor_sender +466 .send(ActorMessage::ForceNetworkChange(is_major)) +467 .await +468 .ok(); +469 } +470 +471 /// Process datagrams received from all the transports. +472 /// +473 /// All the `bufs` and `metas` should have initialized packets in them. +474 /// +475 /// This fixes up the datagrams to use the correct [`MultipathMappedAddr`] and extracts +476 /// DISCO packets, processing them inside the magic socket. +477 /// +478 /// [`MultipathMappedAddr`]: mapped_addrs::MultipathMappedAddr +479 fn process_datagrams( +480 &self, +481 bufs: &mut [io::IoSliceMut<'_>], +482 metas: &mut [quinn_udp::RecvMeta], +483 source_addrs: &[transports::Addr], +484 ) { +485 debug_assert_eq!(bufs.len(), metas.len(), "non matching bufs & metas"); +486 debug_assert_eq!( +487 bufs.len(), +488 source_addrs.len(), +489 "non matching bufs & source_addrs" +490 ); +491 +492 // zip is slow :( +493 for i in 0..metas.len() { +494 let quinn_meta = &mut metas[i]; +495 let source_addr = &source_addrs[i]; +496 +497 let datagram_count = quinn_meta.len.div_ceil(quinn_meta.stride); +498 self.metrics +499 .magicsock +500 .recv_datagrams +501 .inc_by(datagram_count as _); +502 if quinn_meta.len > quinn_meta.stride { +503 trace!( +504 src = ?source_addr, +505 len = quinn_meta.len, +506 stride = %quinn_meta.stride, +507 datagram_count = quinn_meta.len.div_ceil(quinn_meta.stride), +508 "GRO datagram received", +509 ); +510 self.metrics.magicsock.recv_gro_datagrams.inc(); +511 } else { +512 trace!(src = ?source_addr, len = quinn_meta.len, "datagram received"); +513 } +514 match source_addr { +515 transports::Addr::Ip(SocketAddr::V4(..)) => { +516 self.metrics +517 .magicsock +518 .recv_data_ipv4 +519 .inc_by(quinn_meta.len as _); +520 } +521 transports::Addr::Ip(SocketAddr::V6(..)) => { +522 self.metrics +523 .magicsock +524 .recv_data_ipv6 +525 .inc_by(quinn_meta.len as _); +526 } +527 transports::Addr::Relay(src_url, src_node) => { +528 self.metrics +529 .magicsock +530 .recv_data_relay +531 .inc_by(quinn_meta.len as _); +532 +533 // Fill in the correct mapped address +534 let mapped_addr = self +535 .remote_map +536 .relay_mapped_addrs +537 .get(&(src_url.clone(), *src_node)); +538 quinn_meta.addr = mapped_addr.private_socket_addr(); +539 } +540 } +541 } +542 } 543 -544 // Fill in the correct mapped address -545 let mapped_addr = self -546 .remote_map -547 .relay_mapped_addrs -548 .get(&(src_url.clone(), *src_node)); -549 quinn_meta.addr = mapped_addr.private_socket_addr(); -550 } -551 } -552 -553 // Normalize local_ip -554 quinn_meta.dst_ip = dst_ip; -555 } -556 } -557 -558 /// Publishes our address to a discovery service, if configured. -559 /// -560 /// Called whenever our addresses or home relay endpoint changes. -561 fn publish_my_addr(&self) { -562 let relay_url = self.my_relay(); -563 let mut addrs: BTreeSet<_> = self -564 .direct_addrs -565 .sockaddrs() -566 .map(TransportAddr::Ip) -567 .collect(); -568 -569 let user_data = self -570 .discovery_user_data -571 .read() -572 .expect("lock poisened") -573 .clone(); -574 if relay_url.is_none() && addrs.is_empty() && user_data.is_none() { -575 // do not bother publishing if we don't have any information -576 return; -577 } -578 if let Some(url) = relay_url { -579 addrs.insert(TransportAddr::Relay(url)); -580 } -581 -582 let data = EndpointData::new(addrs).with_user_data(user_data); -583 self.discovery.publish(&data); -584 } -585} -586 -587/// Manages currently running direct addr discovery, aka net_report runs. -588/// -589/// Invariants: -590/// - only one direct addr update must be running at a time -591/// - if an update is scheduled while another one is running, remember that -592/// and start a new one when the current one has finished -593#[derive(Debug)] -594struct DirectAddrUpdateState { -595 /// If set, start a new update as soon as the current one is finished. -596 want_update: Option<UpdateReason>, -597 msock: Arc<MagicSock>, -598 #[cfg(not(wasm_browser))] -599 port_mapper: portmapper::Client, -600 /// The prober that discovers local network conditions, including the closest relay relay and NAT mappings. -601 net_reporter: Arc<AsyncMutex<net_report::Client>>, -602 relay_map: RelayMap, -603 run_done: mpsc::Sender<()>, -604} -605 -606#[derive(Default, Debug, PartialEq, Eq, Clone, Copy)] -607enum UpdateReason { -608 /// Initial state -609 #[default] -610 None, -611 Periodic, -612 PortmapUpdated, -613 LinkChangeMajor, -614 LinkChangeMinor, -615 RelayMapChange, -616} -617 -618impl UpdateReason { -619 fn is_major(self) -> bool { -620 matches!(self, Self::LinkChangeMajor | Self::RelayMapChange) -621 } -622} -623 -624impl DirectAddrUpdateState { -625 fn new( -626 msock: Arc<MagicSock>, -627 #[cfg(not(wasm_browser))] port_mapper: portmapper::Client, -628 net_reporter: Arc<AsyncMutex<net_report::Client>>, -629 relay_map: RelayMap, -630 run_done: mpsc::Sender<()>, -631 ) -> Self { -632 DirectAddrUpdateState { -633 want_update: Default::default(), -634 #[cfg(not(wasm_browser))] -635 port_mapper, -636 net_reporter, -637 msock, -638 relay_map, -639 run_done, -640 } -641 } -642 -643 /// Schedules a new run, either starting it immediately if none is running or -644 /// scheduling it for later. -645 fn schedule_run(&mut self, why: UpdateReason, if_state: IfStateDetails) { -646 match self.net_reporter.clone().try_lock_owned() { -647 Ok(net_reporter) => { -648 self.run(why, if_state, net_reporter); -649 } -650 Err(_) => { -651 let _ = self.want_update.insert(why); +544 /// Publishes our address to a discovery service, if configured. +545 /// +546 /// Called whenever our addresses or home relay endpoint changes. +547 fn publish_my_addr(&self) { +548 let relay_url = self.my_relay(); +549 let mut addrs: BTreeSet<_> = self +550 .direct_addrs +551 .sockaddrs() +552 .map(TransportAddr::Ip) +553 .collect(); +554 +555 let user_data = self +556 .discovery_user_data +557 .read() +558 .expect("lock poisened") +559 .clone(); +560 if relay_url.is_none() && addrs.is_empty() && user_data.is_none() { +561 // do not bother publishing if we don't have any information +562 return; +563 } +564 if let Some(url) = relay_url { +565 addrs.insert(TransportAddr::Relay(url)); +566 } +567 +568 let data = EndpointData::new(addrs).with_user_data(user_data); +569 self.discovery.publish(&data); +570 } +571} +572 +573/// Manages currently running direct addr discovery, aka net_report runs. +574/// +575/// Invariants: +576/// - only one direct addr update must be running at a time +577/// - if an update is scheduled while another one is running, remember that +578/// and start a new one when the current one has finished +579#[derive(Debug)] +580struct DirectAddrUpdateState { +581 /// If set, start a new update as soon as the current one is finished. +582 want_update: Option<UpdateReason>, +583 msock: Arc<MagicSock>, +584 #[cfg(not(wasm_browser))] +585 port_mapper: portmapper::Client, +586 /// The prober that discovers local network conditions, including the closest relay relay and NAT mappings. +587 net_reporter: Arc<AsyncMutex<net_report::Client>>, +588 relay_map: RelayMap, +589 run_done: mpsc::Sender<()>, +590 shutdown_token: CancellationToken, +591} +592 +593#[derive(Default, Debug, PartialEq, Eq, Clone, Copy)] +594enum UpdateReason { +595 /// Initial state +596 #[default] +597 None, +598 Periodic, +599 PortmapUpdated, +600 LinkChangeMajor, +601 LinkChangeMinor, +602 RelayMapChange, +603} +604 +605impl UpdateReason { +606 fn is_major(self) -> bool { +607 matches!(self, Self::LinkChangeMajor | Self::RelayMapChange) +608 } +609} +610 +611impl DirectAddrUpdateState { +612 fn new( +613 msock: Arc<MagicSock>, +614 #[cfg(not(wasm_browser))] port_mapper: portmapper::Client, +615 net_reporter: Arc<AsyncMutex<net_report::Client>>, +616 relay_map: RelayMap, +617 run_done: mpsc::Sender<()>, +618 shutdown_token: CancellationToken, +619 ) -> Self { +620 DirectAddrUpdateState { +621 want_update: Default::default(), +622 #[cfg(not(wasm_browser))] +623 port_mapper, +624 net_reporter, +625 msock, +626 relay_map, +627 run_done, +628 shutdown_token, +629 } +630 } +631 +632 /// Schedules a new run, either starting it immediately if none is running or +633 /// scheduling it for later. +634 fn schedule_run(&mut self, why: UpdateReason, if_state: IfStateDetails) { +635 match self.net_reporter.clone().try_lock_owned() { +636 Ok(net_reporter) => { +637 self.run(why, if_state, net_reporter); +638 } +639 Err(_) => { +640 let _ = self.want_update.insert(why); +641 } +642 } +643 } +644 +645 /// If another run is needed, triggers this run, otherwise does nothing. +646 fn try_run(&mut self, if_state: IfStateDetails) { +647 match self.net_reporter.clone().try_lock_owned() { +648 Ok(net_reporter) => { +649 if let Some(why) = self.want_update.take() { +650 self.run(why, if_state, net_reporter); +651 } 652 } -653 } -654 } -655 -656 /// If another run is needed, triggers this run, otherwise does nothing. -657 fn try_run(&mut self, if_state: IfStateDetails) { -658 match self.net_reporter.clone().try_lock_owned() { -659 Ok(net_reporter) => { -660 if let Some(why) = self.want_update.take() { -661 self.run(why, if_state, net_reporter); -662 } -663 } -664 Err(_) => { -665 // do nothing -666 } -667 } -668 } -669 -670 /// Trigger a new run. -671 fn run( -672 &mut self, -673 why: UpdateReason, -674 if_state: IfStateDetails, -675 mut net_reporter: tokio::sync::OwnedMutexGuard<net_report::Client>, -676 ) { -677 debug!("starting direct addr update ({:?})", why); -678 #[cfg(not(wasm_browser))] -679 self.port_mapper.procure_mapping(); -680 // Don't start a net report probe if we know -681 // we are shutting down -682 if self.msock.is_closing() || self.msock.is_closed() { -683 debug!("skipping net_report, socket is shutting down"); -684 return; -685 } -686 if self.relay_map.is_empty() { -687 debug!("skipping net_report, empty RelayMap"); -688 self.msock.net_report.set((None, why)).ok(); -689 return; -690 } -691 -692 debug!("requesting net_report report"); -693 let msock = self.msock.clone(); -694 -695 let run_done = self.run_done.clone(); -696 task::spawn( -697 async move { -698 let fut = time::timeout( -699 NET_REPORT_TIMEOUT, -700 net_reporter.get_report(if_state, why.is_major()), -701 ); -702 match fut.await { -703 Ok(report) => { -704 msock.net_report.set((Some(report), why)).ok(); -705 } -706 Err(time::Elapsed { .. }) => { -707 warn!("net_report report timed out"); -708 } -709 } -710 -711 // mark run as finished -712 debug!("direct addr update done ({:?})", why); -713 run_done.send(()).await.ok(); -714 } -715 .instrument(tracing::Span::current()), -716 ); -717 } -718} -719 -720#[allow(missing_docs)] -721#[stack_error(derive, add_meta)] -722#[non_exhaustive] -723pub enum CreateHandleError { -724 #[error("Failed to create bind sockets")] -725 BindSockets { source: io::Error }, -726 #[error("Failed to create internal quinn endpoint")] -727 CreateQuinnEndpoint { source: io::Error }, -728 #[error("Failed to create socket state")] -729 CreateSocketState { source: io::Error }, -730 #[error("Failed to create netmon monitor")] -731 CreateNetmonMonitor { source: netmon::Error }, -732 #[error("Failed to subscribe netmon monitor")] -733 SubscribeNetmonMonitor { source: netmon::Error }, -734 #[error("Invalid transport configuration")] -735 InvalidTransportConfig, -736} -737 -738impl Handle { -739 /// Creates a magic [`MagicSock`]. -740 async fn new(opts: Options) -> Result<Self, CreateHandleError> { -741 let Options { -742 secret_key, -743 transports: transport_configs, -744 discovery_user_data, -745 #[cfg(not(wasm_browser))] -746 dns_resolver, -747 proxy_url, -748 server_config, -749 #[cfg(any(test, feature = "test-utils"))] -750 insecure_skip_relay_cert_verify, -751 metrics, -752 hooks, -753 } = opts; -754 -755 let discovery = ConcurrentDiscovery::default(); -756 #[cfg(not(wasm_browser))] -757 let port_mapper = -758 portmapper::Client::with_metrics(Default::default(), metrics.portmapper.clone()); -759 -760 let relay_transport_configs: Vec<_> = transport_configs -761 .iter() -762 .filter(|t| matches!(t, TransportConfig::Relay { .. })) -763 .collect(); -764 -765 // Currently we only support a single relay transport -766 if relay_transport_configs.len() > 1 { -767 dbg!(&transport_configs, &relay_transport_configs); +653 Err(_) => { +654 // do nothing +655 } +656 } +657 } +658 +659 /// Trigger a new run. +660 fn run( +661 &mut self, +662 why: UpdateReason, +663 if_state: IfStateDetails, +664 mut net_reporter: tokio::sync::OwnedMutexGuard<net_report::Client>, +665 ) { +666 debug!("starting direct addr update ({:?})", why); +667 // Don't start a net report probe if we know +668 // we are shutting down +669 if self.shutdown_token.is_cancelled() { +670 debug!("skipping net_report, socket is shutting down"); +671 // deactivate portmapper +672 #[cfg(not(wasm_browser))] +673 self.port_mapper.deactivate(); +674 return; +675 } +676 if self.relay_map.is_empty() { +677 debug!("skipping net_report, empty RelayMap"); +678 self.msock.net_report.set((None, why)).ok(); +679 return; +680 } +681 +682 #[cfg(not(wasm_browser))] +683 self.port_mapper.procure_mapping(); +684 +685 debug!("requesting net_report report"); +686 let msock = self.msock.clone(); +687 +688 let run_done = self.run_done.clone(); +689 +690 // Ensure that reports are cancelled when we shutdown +691 let token = self.shutdown_token.child_token(); +692 let inner_token = token.child_token(); +693 task::spawn( +694 async move { +695 let fut = token.run_until_cancelled(time::timeout( +696 NET_REPORT_TIMEOUT, +697 net_reporter.get_report(if_state, why.is_major(), inner_token), +698 )); +699 +700 match fut.await { +701 Some(Ok(report)) => { +702 msock.net_report.set((Some(report), why)).ok(); +703 } +704 Some(Err(time::Elapsed { .. })) => { +705 warn!("net_report report timed out"); +706 } +707 None => { +708 trace!("net_report cancelled"); +709 } +710 } +711 +712 // mark run as finished +713 debug!("direct addr update done ({:?})", why); +714 run_done.send(()).await.ok(); +715 } +716 .instrument(tracing::Span::current()), +717 ); +718 } +719} +720 +721#[allow(missing_docs)] +722#[stack_error(derive, add_meta)] +723#[non_exhaustive] +724pub enum CreateHandleError { +725 #[error("Failed to create bind sockets")] +726 BindSockets { source: io::Error }, +727 #[error("Failed to create internal quinn endpoint")] +728 CreateQuinnEndpoint { source: io::Error }, +729 #[error("Failed to create socket state")] +730 CreateSocketState { source: io::Error }, +731 #[error("Failed to create netmon monitor")] +732 CreateNetmonMonitor { source: netmon::Error }, +733 #[error("Failed to subscribe netmon monitor")] +734 SubscribeNetmonMonitor { source: netmon::Error }, +735 #[error("Invalid transport configuration")] +736 InvalidTransportConfig, +737} +738 +739impl Handle { +740 /// Creates a magic [`MagicSock`]. +741 async fn new(opts: Options) -> Result<Self, CreateHandleError> { +742 let Options { +743 secret_key, +744 transports: transport_configs, +745 discovery_user_data, +746 #[cfg(not(wasm_browser))] +747 dns_resolver, +748 proxy_url, +749 server_config, +750 #[cfg(any(test, feature = "test-utils"))] +751 insecure_skip_relay_cert_verify, +752 metrics, +753 hooks, +754 } = opts; +755 +756 let discovery = ConcurrentDiscovery::default(); +757 #[cfg(not(wasm_browser))] +758 let port_mapper = +759 portmapper::Client::with_metrics(Default::default(), metrics.portmapper.clone()); +760 +761 let relay_transport_configs: Vec<_> = transport_configs +762 .iter() +763 .filter(|t| matches!(t, TransportConfig::Relay { .. })) +764 .collect(); +765 +766 // Currently we only support a single relay transport +767 if relay_transport_configs.len() > 1 { 768 bail!(CreateHandleError::InvalidTransportConfig); 769 } 770 let relay_map = relay_transport_configs @@ -794,1473 +794,1444 @@ 794 insecure_skip_relay_cert_verify, 795 metrics: metrics.magicsock.clone(), 796 }; -797 let shutdown_token = CancellationToken::new(); -798 -799 let transports = Transports::bind( -800 &transport_configs, -801 relay_actor_config, -802 &metrics, -803 shutdown_token.child_token(), -804 ) -805 .map_err(|err| e!(CreateHandleError::BindSockets, err))?; -806 -807 #[cfg(not(wasm_browser))] -808 { -809 if let Some(v4_port) = transports.local_addrs().into_iter().find_map(|t| { -810 if let transports::Addr::Ip(SocketAddr::V4(addr)) = t { -811 Some(addr.port()) -812 } else { -813 None -814 } -815 }) { -816 // NOTE: we can end up with a zero port if `netwatch::UdpSocket::socket_addr` fails -817 match v4_port.try_into() { -818 Ok(non_zero_port) => { -819 port_mapper.update_local_port(non_zero_port); -820 } -821 Err(_zero_port) => debug!("Skipping port mapping with zero local port"), -822 } -823 } -824 } -825 -826 let (actor_sender, actor_receiver) = mpsc::channel(256); +797 +798 let shutdown_state = ShutdownState::default(); +799 let shutdown_token = shutdown_state.at_endpoint_closed.child_token(); +800 +801 let transports = Transports::bind( +802 &transport_configs, +803 relay_actor_config, +804 &metrics, +805 shutdown_token.child_token(), +806 ) +807 .map_err(|err| e!(CreateHandleError::BindSockets, err))?; +808 +809 #[cfg(not(wasm_browser))] +810 { +811 if let Some(v4_port) = transports.local_addrs().into_iter().find_map(|t| { +812 if let transports::Addr::Ip(SocketAddr::V4(addr)) = t { +813 Some(addr.port()) +814 } else { +815 None +816 } +817 }) { +818 // NOTE: we can end up with a zero port if `netwatch::UdpSocket::socket_addr` fails +819 match v4_port.try_into() { +820 Ok(non_zero_port) => { +821 port_mapper.update_local_port(non_zero_port); +822 } +823 Err(_zero_port) => debug!("Skipping port mapping with zero local port"), +824 } +825 } +826 } 827 -828 #[cfg(not(wasm_browser))] -829 let ipv6 = transports -830 .ip_bind_addrs() -831 .into_iter() -832 .any(|addr| addr.is_ipv6()); -833 -834 let direct_addrs = DiscoveredDirectAddrs::default(); +828 let (actor_sender, actor_receiver) = mpsc::channel(256); +829 +830 #[cfg(not(wasm_browser))] +831 let ipv6 = transports +832 .ip_bind_addrs() +833 .into_iter() +834 .any(|addr| addr.is_ipv6()); 835 -836 let remote_map = { -837 RemoteMap::new( -838 secret_key.public(), -839 metrics.magicsock.clone(), -840 direct_addrs.addrs.watch(), -841 discovery.clone(), -842 ) -843 }; -844 -845 let msock = Arc::new(MagicSock { -846 public_key: secret_key.public(), -847 closing: AtomicBool::new(false), -848 closed: AtomicBool::new(false), -849 actor_sender: actor_sender.clone(), -850 ipv6_reported, -851 remote_map, -852 discovery, -853 relay_map: relay_map.clone(), -854 discovery_user_data: RwLock::new(discovery_user_data), -855 direct_addrs, -856 net_report: Watchable::new((None, UpdateReason::None)), -857 #[cfg(not(wasm_browser))] -858 dns_resolver: dns_resolver.clone(), -859 metrics: metrics.clone(), -860 local_addrs_watch: transports.local_addrs_watch(), -861 #[cfg(not(wasm_browser))] -862 ip_bind_addrs: transports.ip_bind_addrs(), -863 hooks, -864 }); -865 -866 let mut endpoint_config = quinn::EndpointConfig::default(); -867 // Setting this to false means that quinn will ignore packets that have the QUIC fixed bit -868 // set to 0. The fixed bit is the 3rd bit of the first byte of a packet. -869 // For performance reasons and to not rewrite buffers we pass non-QUIC UDP packets straight -870 // through to quinn. We set the first byte of the packet to zero, which makes quinn ignore -871 // the packet if grease_quic_bit is set to false. -872 endpoint_config.grease_quic_bit(false); -873 -874 let local_addrs_watch = transports.local_addrs_watch(); -875 let network_change_sender = transports.create_network_change_sender(); -876 -877 let endpoint = quinn::Endpoint::new_with_abstract_socket( -878 endpoint_config, -879 Some(server_config), -880 Box::new(MagicTransport::new(msock.clone(), transports)), -881 #[cfg(not(wasm_browser))] -882 Arc::new(quinn::TokioRuntime), -883 #[cfg(wasm_browser)] -884 Arc::new(crate::web_runtime::WebRuntime), -885 ) -886 .map_err(|err| e!(CreateHandleError::CreateQuinnEndpoint, err))?; -887 -888 let network_monitor = netmon::Monitor::new() -889 .await -890 .map_err(|err| e!(CreateHandleError::CreateNetmonMonitor, err))?; -891 -892 let qad_endpoint = endpoint.clone(); +836 let direct_addrs = DiscoveredDirectAddrs::default(); +837 +838 let remote_map = { +839 RemoteMap::new( +840 secret_key.public(), +841 metrics.magicsock.clone(), +842 direct_addrs.addrs.watch(), +843 discovery.clone(), +844 shutdown_token.child_token(), +845 ) +846 }; +847 +848 let msock = Arc::new(MagicSock { +849 public_key: secret_key.public(), +850 actor_sender: actor_sender.clone(), +851 shutdown: shutdown_state, +852 ipv6_reported, +853 remote_map, +854 discovery, +855 relay_map: relay_map.clone(), +856 discovery_user_data: RwLock::new(discovery_user_data), +857 direct_addrs, +858 net_report: Watchable::new((None, UpdateReason::None)), +859 #[cfg(not(wasm_browser))] +860 dns_resolver: dns_resolver.clone(), +861 metrics: metrics.clone(), +862 local_addrs_watch: transports.local_addrs_watch(), +863 #[cfg(not(wasm_browser))] +864 ip_bind_addrs: transports.ip_bind_addrs(), +865 hooks, +866 }); +867 +868 let mut endpoint_config = quinn::EndpointConfig::default(); +869 // Setting this to false means that quinn will ignore packets that have the QUIC fixed bit +870 // set to 0. The fixed bit is the 3rd bit of the first byte of a packet. +871 // For performance reasons and to not rewrite buffers we pass non-QUIC UDP packets straight +872 // through to quinn. We set the first byte of the packet to zero, which makes quinn ignore +873 // the packet if grease_quic_bit is set to false. +874 endpoint_config.grease_quic_bit(false); +875 +876 let local_addrs_watch = transports.local_addrs_watch(); +877 let network_change_sender = transports.create_network_change_sender(); +878 +879 let endpoint = quinn::Endpoint::new_with_abstract_socket( +880 endpoint_config, +881 Some(server_config), +882 Box::new(MagicTransport::new(msock.clone(), transports)), +883 #[cfg(not(wasm_browser))] +884 Arc::new(quinn::TokioRuntime), +885 #[cfg(wasm_browser)] +886 Arc::new(crate::web_runtime::WebRuntime), +887 ) +888 .map_err(|err| e!(CreateHandleError::CreateQuinnEndpoint, err))?; +889 +890 let network_monitor = netmon::Monitor::new() +891 .await +892 .map_err(|err| e!(CreateHandleError::CreateNetmonMonitor, err))?; 893 -894 #[cfg(any(test, feature = "test-utils"))] -895 let client_config = if insecure_skip_relay_cert_verify { -896 iroh_relay::client::make_dangerous_client_config() -897 } else { -898 default_quic_client_config() -899 }; -900 #[cfg(not(any(test, feature = "test-utils")))] -901 let client_config = default_quic_client_config(); -902 -903 let net_report_config = net_report::Options::default(); -904 #[cfg(not(wasm_browser))] -905 let net_report_config = net_report_config.quic_config(Some(QuicConfig { -906 ep: qad_endpoint, -907 client_config, -908 ipv4: true, -909 ipv6, -910 })); -911 -912 #[cfg(any(test, feature = "test-utils"))] -913 let net_report_config = -914 net_report_config.insecure_skip_relay_cert_verify(insecure_skip_relay_cert_verify); -915 -916 let net_reporter = net_report::Client::new( -917 #[cfg(not(wasm_browser))] -918 dns_resolver, -919 relay_map.clone(), -920 net_report_config, -921 metrics.net_report.clone(), -922 ); -923 -924 let (direct_addr_done_tx, direct_addr_done_rx) = mpsc::channel(8); -925 let direct_addr_update_state = DirectAddrUpdateState::new( -926 msock.clone(), -927 #[cfg(not(wasm_browser))] -928 port_mapper, -929 Arc::new(AsyncMutex::new(net_reporter)), -930 relay_map, -931 direct_addr_done_tx, -932 ); -933 -934 let netmon_watcher = network_monitor.interface_state(); -935 -936 #[cfg_attr(not(wasm_browser), allow(unused_mut))] -937 let mut actor = Actor { -938 msg_receiver: actor_receiver, -939 msock: msock.clone(), -940 periodic_re_stun_timer: new_re_stun_timer(false), -941 network_monitor, -942 netmon_watcher, -943 direct_addr_update_state, -944 network_change_sender, -945 direct_addr_done_rx, -946 }; -947 // Initialize addresses -948 #[cfg(not(wasm_browser))] -949 actor.update_direct_addresses(None); -950 -951 let actor_task = task::spawn( -952 actor -953 .run(shutdown_token.child_token(), local_addrs_watch) -954 .instrument(info_span!("actor")), -955 ); -956 -957 let actor_task = Arc::new(Mutex::new(Some(AbortOnDropHandle::new(actor_task)))); -958 -959 Ok(Handle { -960 msock, -961 actor_task, -962 endpoint, -963 shutdown_token, -964 }) -965 } -966 -967 /// The underlying [`quinn::Endpoint`] -968 pub fn endpoint(&self) -> &quinn::Endpoint { -969 &self.endpoint -970 } -971 -972 /// Closes the connection. -973 /// -974 /// Only the first close does anything. Any later closes return nil. Polling the socket -975 /// ([`quinn::AsyncUdpSocket::poll_recv`]) will return [`Poll::Pending`] indefinitely -976 /// after this call. -977 /// -978 /// [`Poll::Pending`]: std::task::Poll::Pending -979 #[instrument(skip_all)] -980 pub(crate) async fn close(&self) { -981 trace!(me = ?self.public_key, "magicsock closing..."); -982 // Initiate closing all connections, and refuse future connections. -983 self.endpoint.close(0u16.into(), b""); -984 -985 // In the history of this code, this call had been -986 // - removed: https://github.com/n0-computer/iroh/pull/1753 -987 // - then added back in: https://github.com/n0-computer/iroh/pull/2227/files#diff-ba27e40e2986a3919b20f6b412ad4fe63154af648610ea5d9ed0b5d5b0e2d780R573 -988 // - then removed again: https://github.com/n0-computer/iroh/pull/3165 -989 // and finally added back in together with this comment. -990 // So before removing this call, please consider carefully. -991 // Among other things, this call tries its best to make sure that any queued close frames -992 // (e.g. via the call to `endpoint.close(...)` above), are flushed out to the sockets -993 // *and acknowledged* (or time out with the "probe timeout" of usually 3 seconds). -994 // This allows the other endpoints for these connections to be notified to release -995 // their resources, or - depending on the protocol - that all data was received. -996 // With the current quinn API, this is the only way to ensure protocol code can use -997 // connection close codes, and close the endpoint properly. -998 // If this call is skipped, then connections that protocols close just shortly before the -999 // call to `Endpoint::close` will in most cases cause connection time-outs on remote ends. -1000 self.endpoint.wait_idle().await; -1001 -1002 if self.msock.is_closed() { -1003 return; -1004 } -1005 self.msock.closing.store(true, Ordering::Relaxed); -1006 self.shutdown_token.cancel(); -1007 -1008 // MutexGuard is not held across await points -1009 let task = self.actor_task.lock().expect("poisoned").take(); -1010 if let Some(task) = task { -1011 // give the tasks a moment to shutdown cleanly -1012 let shutdown_done = time::timeout(Duration::from_millis(100), async move { -1013 if let Err(err) = task.await { -1014 warn!("unexpected error in task shutdown: {:?}", err); -1015 } -1016 }) -1017 .await; -1018 match shutdown_done { -1019 Ok(_) => trace!("tasks finished in time, shutdown complete"), -1020 Err(time::Elapsed { .. }) => { -1021 // Dropping the task will abort itt -1022 warn!("tasks didn't finish in time, aborting"); +894 let qad_endpoint = endpoint.clone(); +895 +896 #[cfg(any(test, feature = "test-utils"))] +897 let client_config = if insecure_skip_relay_cert_verify { +898 iroh_relay::client::make_dangerous_client_config() +899 } else { +900 default_quic_client_config() +901 }; +902 #[cfg(not(any(test, feature = "test-utils")))] +903 let client_config = default_quic_client_config(); +904 +905 let net_report_config = net_report::Options::default(); +906 #[cfg(not(wasm_browser))] +907 let net_report_config = net_report_config.quic_config(Some(QuicConfig { +908 ep: qad_endpoint, +909 client_config, +910 ipv4: true, +911 ipv6, +912 })); +913 +914 #[cfg(any(test, feature = "test-utils"))] +915 let net_report_config = +916 net_report_config.insecure_skip_relay_cert_verify(insecure_skip_relay_cert_verify); +917 +918 let net_reporter = net_report::Client::new( +919 #[cfg(not(wasm_browser))] +920 dns_resolver, +921 relay_map.clone(), +922 net_report_config, +923 metrics.net_report.clone(), +924 ); +925 +926 let (direct_addr_done_tx, direct_addr_done_rx) = mpsc::channel(8); +927 let direct_addr_update_state = DirectAddrUpdateState::new( +928 msock.clone(), +929 #[cfg(not(wasm_browser))] +930 port_mapper, +931 Arc::new(AsyncMutex::new(net_reporter)), +932 relay_map, +933 direct_addr_done_tx, +934 msock.shutdown.at_close_start.child_token(), +935 ); +936 +937 let netmon_watcher = network_monitor.interface_state(); +938 +939 #[cfg_attr(not(wasm_browser), allow(unused_mut))] +940 let mut actor = Actor { +941 msg_receiver: actor_receiver, +942 msock: msock.clone(), +943 periodic_re_stun_timer: new_re_stun_timer(false), +944 network_monitor, +945 netmon_watcher, +946 direct_addr_update_state, +947 network_change_sender, +948 direct_addr_done_rx, +949 }; +950 // Initialize addresses +951 #[cfg(not(wasm_browser))] +952 actor.update_direct_addresses(None); +953 +954 let actor_task = task::spawn( +955 actor +956 .run(shutdown_token.child_token(), local_addrs_watch) +957 .instrument(info_span!("actor")), +958 ); +959 +960 let actor_task = Arc::new(Mutex::new(Some(AbortOnDropHandle::new(actor_task)))); +961 +962 Ok(Handle { +963 msock, +964 actor_task, +965 endpoint, +966 }) +967 } +968 +969 /// The underlying [`quinn::Endpoint`] +970 pub fn endpoint(&self) -> &quinn::Endpoint { +971 &self.endpoint +972 } +973 +974 /// Closes the connection. +975 /// +976 /// Only the first close does anything. Any later closes return nil. Polling the socket +977 /// ([`quinn::AsyncUdpSocket::poll_recv`]) will return [`Poll::Pending`] indefinitely +978 /// after this call. +979 /// +980 /// [`Poll::Pending`]: std::task::Poll::Pending +981 #[instrument(skip_all)] +982 pub(crate) async fn close(&self) { +983 if self.msock.is_closed() || self.msock.is_closing() { +984 return; +985 } +986 trace!(me = ?self.public_key, "magicsock closing..."); +987 +988 // Cancel at_close_start token, which cancels running netreports. +989 self.msock.shutdown.at_close_start.cancel(); +990 +991 // Initiate closing all connections, and refuse future connections. +992 self.endpoint.close(0u16.into(), b""); +993 +994 // In the history of this code, this call had been +995 // - removed: https://github.com/n0-computer/iroh/pull/1753 +996 // - then added back in: https://github.com/n0-computer/iroh/pull/2227/files#diff-ba27e40e2986a3919b20f6b412ad4fe63154af648610ea5d9ed0b5d5b0e2d780R573 +997 // - then removed again: https://github.com/n0-computer/iroh/pull/3165 +998 // and finally added back in together with this comment. +999 // So before removing this call, please consider carefully. +1000 // Among other things, this call tries its best to make sure that any queued close frames +1001 // (e.g. via the call to `endpoint.close(...)` above), are flushed out to the sockets +1002 // *and acknowledged* (or time out with the "probe timeout" of usually 3 seconds). +1003 // This allows the other endpoints for these connections to be notified to release +1004 // their resources, or - depending on the protocol - that all data was received. +1005 // With the current quinn API, this is the only way to ensure protocol code can use +1006 // connection close codes, and close the endpoint properly. +1007 // If this call is skipped, then connections that protocols close just shortly before the +1008 // call to `Endpoint::close` will in most cases cause connection time-outs on remote ends. +1009 trace!("wait_idle start"); +1010 self.endpoint.wait_idle().await; +1011 trace!("wait_idle done"); +1012 +1013 // Start cancellation of all actors +1014 self.msock.shutdown.at_endpoint_closed.cancel(); +1015 +1016 // MutexGuard is not held across await points +1017 let task = self.actor_task.lock().expect("poisoned").take(); +1018 if let Some(task) = task { +1019 // give the tasks a moment to shutdown cleanly +1020 let shutdown_done = time::timeout(Duration::from_millis(100), async move { +1021 if let Err(err) = task.await { +1022 warn!("unexpected error in task shutdown: {:?}", err); 1023 } -1024 } -1025 } -1026 -1027 self.msock.closed.store(true, Ordering::SeqCst); -1028 -1029 trace!("magicsock closed"); -1030 } -1031} -1032 -1033fn default_quic_client_config() -> rustls::ClientConfig { -1034 // create a client config for the endpoint to use for QUIC address discovery -1035 let root_store = -1036 rustls::RootCertStore::from_iter(webpki_roots::TLS_SERVER_ROOTS.iter().cloned()); -1037 rustls::client::ClientConfig::builder_with_provider(Arc::new( -1038 rustls::crypto::ring::default_provider(), -1039 )) -1040 .with_safe_default_protocol_versions() -1041 .expect("ring supports these") -1042 .with_root_certificates(root_store) -1043 .with_no_client_auth() -1044} -1045 -1046#[derive(Debug)] -1047#[allow(clippy::enum_variant_names)] -1048enum ActorMessage { -1049 NetworkChange, -1050 RelayMapChange, -1051 #[cfg(test)] -1052 ForceNetworkChange(bool), -1053} -1054 -1055struct Actor { -1056 msock: Arc<MagicSock>, -1057 msg_receiver: mpsc::Receiver<ActorMessage>, -1058 /// When set, is an AfterFunc timer that will call MagicSock::do_periodic_stun. -1059 periodic_re_stun_timer: time::Interval, -1060 -1061 network_monitor: netmon::Monitor, -1062 netmon_watcher: n0_watcher::Direct<netmon::State>, -1063 network_change_sender: transports::NetworkChangeSender, -1064 /// Indicates the direct addr update state. -1065 direct_addr_update_state: DirectAddrUpdateState, -1066 direct_addr_done_rx: mpsc::Receiver<()>, -1067} +1024 }) +1025 .await; +1026 match shutdown_done { +1027 Ok(_) => trace!("tasks finished in time, shutdown complete"), +1028 Err(time::Elapsed { .. }) => { +1029 // Dropping the task will abort itt +1030 warn!("tasks didn't finish in time, aborting"); +1031 } +1032 } +1033 } +1034 +1035 self.msock.shutdown.closed.store(true, Ordering::SeqCst); +1036 +1037 trace!("magicsock closed"); +1038 } +1039} +1040 +1041fn default_quic_client_config() -> rustls::ClientConfig { +1042 // create a client config for the endpoint to use for QUIC address discovery +1043 let root_store = +1044 rustls::RootCertStore::from_iter(webpki_roots::TLS_SERVER_ROOTS.iter().cloned()); +1045 rustls::client::ClientConfig::builder_with_provider(Arc::new( +1046 rustls::crypto::ring::default_provider(), +1047 )) +1048 .with_safe_default_protocol_versions() +1049 .expect("ring supports these") +1050 .with_root_certificates(root_store) +1051 .with_no_client_auth() +1052} +1053 +1054#[derive(Debug)] +1055#[allow(clippy::enum_variant_names)] +1056enum ActorMessage { +1057 NetworkChange, +1058 RelayMapChange, +1059 #[cfg(test)] +1060 ForceNetworkChange(bool), +1061} +1062 +1063struct Actor { +1064 msock: Arc<MagicSock>, +1065 msg_receiver: mpsc::Receiver<ActorMessage>, +1066 /// When set, is an AfterFunc timer that will call MagicSock::do_periodic_stun. +1067 periodic_re_stun_timer: time::Interval, 1068 -1069impl Actor { -1070 async fn run( -1071 mut self, -1072 shutdown_token: CancellationToken, -1073 mut watcher: impl Watcher<Value = Vec<transports::Addr>> + Send + Sync, -1074 ) { -1075 // Setup network monitoring -1076 let mut current_netmon_state = self.netmon_watcher.get(); -1077 -1078 #[cfg(not(wasm_browser))] -1079 let mut portmap_watcher = self -1080 .direct_addr_update_state -1081 .port_mapper -1082 .watch_external_address(); -1083 -1084 let mut receiver_closed = false; -1085 #[cfg_attr(wasm_browser, allow(unused_mut))] -1086 let mut portmap_watcher_closed = false; -1087 -1088 let mut net_report_watcher = self.msock.net_report.watch(); -1089 -1090 // ensure we are doing an initial publish of our addresses -1091 self.msock.publish_my_addr(); -1092 -1093 // Interval timer to remove closed `RemoteStateActor` handles from the endpoint map. -1094 let mut remote_map_gc = time::interval(remote_map::REMOTE_MAP_GC_INTERVAL); +1069 network_monitor: netmon::Monitor, +1070 netmon_watcher: n0_watcher::Direct<netmon::State>, +1071 network_change_sender: transports::NetworkChangeSender, +1072 /// Indicates the direct addr update state. +1073 direct_addr_update_state: DirectAddrUpdateState, +1074 direct_addr_done_rx: mpsc::Receiver<()>, +1075} +1076 +1077impl Actor { +1078 async fn run( +1079 mut self, +1080 shutdown_token: CancellationToken, +1081 mut watcher: impl Watcher<Value = Vec<transports::Addr>> + Send + Sync, +1082 ) { +1083 // Setup network monitoring +1084 let mut current_netmon_state = self.netmon_watcher.get(); +1085 +1086 #[cfg(not(wasm_browser))] +1087 let mut portmap_watcher = self +1088 .direct_addr_update_state +1089 .port_mapper +1090 .watch_external_address(); +1091 +1092 let mut receiver_closed = false; +1093 #[cfg_attr(wasm_browser, allow(unused_mut))] +1094 let mut portmap_watcher_closed = false; 1095 -1096 loop { -1097 self.msock.metrics.magicsock.actor_tick_main.inc(); -1098 #[cfg(not(wasm_browser))] -1099 let portmap_watcher_changed = portmap_watcher.changed(); -1100 #[cfg(wasm_browser)] -1101 let portmap_watcher_changed = n0_future::future::pending(); -1102 -1103 tokio::select! { -1104 _ = shutdown_token.cancelled() => { -1105 debug!("shutting down"); -1106 return; -1107 } -1108 msg = self.msg_receiver.recv(), if !receiver_closed => { -1109 let Some(msg) = msg else { -1110 trace!("tick: magicsock receiver closed"); -1111 self.msock.metrics.magicsock.actor_tick_other.inc(); -1112 -1113 receiver_closed = true; -1114 continue; -1115 }; -1116 -1117 trace!(?msg, "tick: msg"); -1118 self.msock.metrics.magicsock.actor_tick_msg.inc(); -1119 self.handle_actor_message(msg).await; -1120 } -1121 tick = self.periodic_re_stun_timer.tick() => { -1122 trace!("tick: re_stun {:?}", tick); -1123 self.msock.metrics.magicsock.actor_tick_re_stun.inc(); -1124 self.re_stun(UpdateReason::Periodic); -1125 } -1126 new_addr = watcher.updated() => { -1127 match new_addr { -1128 Ok(addrs) => { -1129 if !addrs.is_empty() { -1130 trace!(?addrs, "local addrs"); -1131 self.msock.publish_my_addr(); -1132 } -1133 } -1134 Err(_) => { -1135 warn!("local addr watcher stopped"); -1136 } -1137 } -1138 } -1139 report = net_report_watcher.updated() => { -1140 match report { -1141 Ok((report, _)) => { -1142 self.handle_net_report_report(report); -1143 #[cfg(not(wasm_browser))] -1144 { -1145 self.periodic_re_stun_timer = new_re_stun_timer(true); -1146 } -1147 } -1148 Err(_) => { -1149 warn!("net report watcher stopped"); -1150 } -1151 } -1152 } -1153 reason = self.direct_addr_done_rx.recv() => { -1154 match reason { -1155 Some(()) => { -1156 // check if a new run needs to be scheduled -1157 let state = self.netmon_watcher.get(); -1158 self.direct_addr_update_state.try_run(state.into()); -1159 } -1160 None => { -1161 warn!("direct addr watcher died"); -1162 } -1163 } -1164 } -1165 change = portmap_watcher_changed, if !portmap_watcher_closed => { -1166 #[cfg(not(wasm_browser))] -1167 { -1168 if change.is_err() { -1169 trace!("tick: portmap watcher closed"); -1170 self.msock.metrics.magicsock.actor_tick_other.inc(); -1171 -1172 portmap_watcher_closed = true; -1173 continue; -1174 } -1175 -1176 trace!("tick: portmap changed"); -1177 self.msock.metrics.magicsock.actor_tick_portmap_changed.inc(); -1178 let new_external_address = *portmap_watcher.borrow(); -1179 debug!("external address updated: {new_external_address:?}"); -1180 self.re_stun(UpdateReason::PortmapUpdated); -1181 } -1182 #[cfg(wasm_browser)] -1183 let _unused_in_browsers = change; -1184 }, -1185 state = self.netmon_watcher.updated() => { -1186 let Ok(state) = state else { -1187 trace!("tick: link change receiver closed"); -1188 self.msock.metrics.magicsock.actor_tick_other.inc(); -1189 continue; -1190 }; -1191 let is_major = state.is_major_change(&current_netmon_state); -1192 event!( -1193 target: "iroh::_events::link_change", -1194 Level::DEBUG, -1195 ?state, -1196 is_major -1197 ); -1198 current_netmon_state = state; -1199 self.msock.metrics.magicsock.actor_link_change.inc(); -1200 self.handle_network_change(is_major).await; -1201 } -1202 _ = remote_map_gc.tick() => { -1203 self.msock.remote_map.remove_closed_remote_state_actors(); -1204 } -1205 } -1206 } -1207 } -1208 -1209 async fn handle_network_change(&mut self, is_major: bool) { -1210 debug!(is_major, "link change detected"); -1211 -1212 if is_major { -1213 if let Err(err) = self.network_change_sender.rebind() { -1214 warn!("failed to rebind transports: {err:?}"); -1215 } -1216 -1217 #[cfg(not(wasm_browser))] -1218 self.msock.dns_resolver.reset().await; -1219 self.re_stun(UpdateReason::LinkChangeMajor); -1220 } else { -1221 self.re_stun(UpdateReason::LinkChangeMinor); -1222 } -1223 } -1224 -1225 fn handle_relay_map_change(&mut self) { -1226 self.re_stun(UpdateReason::RelayMapChange); -1227 } +1096 let mut net_report_watcher = self.msock.net_report.watch(); +1097 +1098 // ensure we are doing an initial publish of our addresses +1099 self.msock.publish_my_addr(); +1100 +1101 // Interval timer to remove closed `RemoteStateActor` handles from the endpoint map. +1102 let mut remote_map_gc = time::interval(remote_map::REMOTE_MAP_GC_INTERVAL); +1103 +1104 while !shutdown_token.is_cancelled() { +1105 self.msock.metrics.magicsock.actor_tick_main.inc(); +1106 #[cfg(not(wasm_browser))] +1107 let portmap_watcher_changed = portmap_watcher.changed(); +1108 #[cfg(wasm_browser)] +1109 let portmap_watcher_changed = n0_future::future::pending(); +1110 +1111 tokio::select! { +1112 _ = shutdown_token.cancelled() => { +1113 debug!("tick: shutting down"); +1114 return; +1115 } +1116 msg = self.msg_receiver.recv(), if !receiver_closed => { +1117 let Some(msg) = msg else { +1118 trace!("tick: magicsock receiver closed"); +1119 self.msock.metrics.magicsock.actor_tick_other.inc(); +1120 +1121 receiver_closed = true; +1122 continue; +1123 }; +1124 +1125 trace!(?msg, "tick: msg"); +1126 self.msock.metrics.magicsock.actor_tick_msg.inc(); +1127 self.handle_actor_message(msg).await; +1128 } +1129 tick = self.periodic_re_stun_timer.tick() => { +1130 trace!("tick: re_stun {:?}", tick); +1131 self.msock.metrics.magicsock.actor_tick_re_stun.inc(); +1132 self.re_stun(UpdateReason::Periodic); +1133 } +1134 new_addr = watcher.updated() => { +1135 match new_addr { +1136 Ok(addrs) => { +1137 if !addrs.is_empty() { +1138 trace!(?addrs, "local addrs"); +1139 self.msock.publish_my_addr(); +1140 } +1141 } +1142 Err(_) => { +1143 warn!("local addr watcher stopped"); +1144 } +1145 } +1146 } +1147 report = net_report_watcher.updated() => { +1148 match report { +1149 Ok((report, _)) => { +1150 self.handle_net_report_report(report); +1151 #[cfg(not(wasm_browser))] +1152 { +1153 self.periodic_re_stun_timer = new_re_stun_timer(true); +1154 } +1155 } +1156 Err(_) => { +1157 warn!("net report watcher stopped"); +1158 } +1159 } +1160 } +1161 reason = self.direct_addr_done_rx.recv() => { +1162 match reason { +1163 Some(()) => { +1164 // check if a new run needs to be scheduled +1165 let state = self.netmon_watcher.get(); +1166 self.direct_addr_update_state.try_run(state.into()); +1167 } +1168 None => { +1169 warn!("direct addr watcher died"); +1170 } +1171 } +1172 } +1173 change = portmap_watcher_changed, if !portmap_watcher_closed => { +1174 #[cfg(not(wasm_browser))] +1175 { +1176 if change.is_err() { +1177 trace!("tick: portmap watcher closed"); +1178 self.msock.metrics.magicsock.actor_tick_other.inc(); +1179 +1180 portmap_watcher_closed = true; +1181 continue; +1182 } +1183 +1184 trace!("tick: portmap changed"); +1185 self.msock.metrics.magicsock.actor_tick_portmap_changed.inc(); +1186 let new_external_address = *portmap_watcher.borrow(); +1187 debug!("external address updated: {new_external_address:?}"); +1188 self.re_stun(UpdateReason::PortmapUpdated); +1189 } +1190 #[cfg(wasm_browser)] +1191 let _unused_in_browsers = change; +1192 }, +1193 state = self.netmon_watcher.updated() => { +1194 let Ok(state) = state else { +1195 trace!("tick: link change receiver closed"); +1196 self.msock.metrics.magicsock.actor_tick_other.inc(); +1197 continue; +1198 }; +1199 let is_major = state.is_major_change(&current_netmon_state); +1200 event!( +1201 target: "iroh::_events::link_change", +1202 Level::DEBUG, +1203 ?state, +1204 is_major +1205 ); +1206 current_netmon_state = state; +1207 self.msock.metrics.magicsock.actor_link_change.inc(); +1208 self.handle_network_change(is_major).await; +1209 } +1210 _ = remote_map_gc.tick() => { +1211 trace!("tick: gc map"); +1212 self.msock.remote_map.remove_closed_remote_state_actors(); +1213 } +1214 else => { +1215 trace!("tick: else"); +1216 } +1217 } +1218 } +1219 } +1220 +1221 async fn handle_network_change(&mut self, is_major: bool) { +1222 debug!(is_major, "link change detected"); +1223 +1224 if is_major { +1225 if let Err(err) = self.network_change_sender.rebind() { +1226 warn!("failed to rebind transports: {err:?}"); +1227 } 1228 -1229 fn re_stun(&mut self, why: UpdateReason) { -1230 let state = self.netmon_watcher.get(); -1231 self.direct_addr_update_state -1232 .schedule_run(why, state.into()); -1233 } -1234 -1235 /// Processes an incoming actor message. -1236 /// -1237 /// Returns `true` if it was a shutdown. -1238 async fn handle_actor_message(&mut self, msg: ActorMessage) { -1239 match msg { -1240 ActorMessage::NetworkChange => { -1241 self.network_monitor.network_change().await.ok(); -1242 } -1243 ActorMessage::RelayMapChange => { -1244 self.handle_relay_map_change(); -1245 } -1246 #[cfg(test)] -1247 ActorMessage::ForceNetworkChange(is_major) => { -1248 self.handle_network_change(is_major).await; -1249 } -1250 } -1251 } -1252 -1253 /// Updates the direct addresses of this magic socket. -1254 /// -1255 /// Updates the [`DiscoveredDirectAddrs`] of this [`MagicSock`] with the current set of -1256 /// direct addresses from: -1257 /// -1258 /// - The portmapper. -1259 /// - A net_report report. -1260 /// - The local interfaces IP addresses. -1261 #[cfg(not(wasm_browser))] -1262 fn update_direct_addresses(&mut self, net_report_report: Option<&net_report::Report>) { -1263 let portmap_watcher = self -1264 .direct_addr_update_state -1265 .port_mapper -1266 .watch_external_address(); -1267 -1268 // We only want to have one DirectAddr for each SocketAddr we have. So we store -1269 // this as a map of SocketAddr -> DirectAddrType. At the end we will construct a -1270 // DirectAddr from each entry. -1271 let mut addrs: BTreeMap<SocketAddr, DirectAddrType> = BTreeMap::new(); -1272 -1273 // First add PortMapper provided addresses. -1274 let maybe_port_mapped = *portmap_watcher.borrow(); -1275 if let Some(portmap_ext) = maybe_port_mapped.map(SocketAddr::V4) { -1276 addrs -1277 .entry(portmap_ext) -1278 .or_insert(DirectAddrType::Portmapped); -1279 } -1280 -1281 // Next add STUN addresses from the net_report report. -1282 if let Some(net_report_report) = net_report_report { -1283 if let Some(global_v4) = net_report_report.global_v4 { -1284 addrs.entry(global_v4.into()).or_insert(DirectAddrType::Qad); -1285 -1286 // If they're behind a hard NAT and are using a fixed -1287 // port locally, assume they might've added a static -1288 // port mapping on their router to the same explicit -1289 // port that we are running with. Worst case it's an invalid candidate mapping. -1290 let port = self.msock.ip_bind_addrs().iter().find_map(|addr| { -1291 if addr.port() != 0 { -1292 Some(addr.port()) -1293 } else { -1294 None -1295 } -1296 }); +1229 #[cfg(not(wasm_browser))] +1230 self.msock.dns_resolver.reset().await; +1231 self.re_stun(UpdateReason::LinkChangeMajor); +1232 } else { +1233 self.re_stun(UpdateReason::LinkChangeMinor); +1234 } +1235 } +1236 +1237 fn handle_relay_map_change(&mut self) { +1238 self.re_stun(UpdateReason::RelayMapChange); +1239 } +1240 +1241 fn re_stun(&mut self, why: UpdateReason) { +1242 let state = self.netmon_watcher.get(); +1243 self.direct_addr_update_state +1244 .schedule_run(why, state.into()); +1245 } +1246 +1247 /// Processes an incoming actor message. +1248 /// +1249 /// Returns `true` if it was a shutdown. +1250 async fn handle_actor_message(&mut self, msg: ActorMessage) { +1251 match msg { +1252 ActorMessage::NetworkChange => { +1253 self.network_monitor.network_change().await.ok(); +1254 } +1255 ActorMessage::RelayMapChange => { +1256 self.handle_relay_map_change(); +1257 } +1258 #[cfg(test)] +1259 ActorMessage::ForceNetworkChange(is_major) => { +1260 self.handle_network_change(is_major).await; +1261 } +1262 } +1263 } +1264 +1265 /// Updates the direct addresses of this magic socket. +1266 /// +1267 /// Updates the [`DiscoveredDirectAddrs`] of this [`MagicSock`] with the current set of +1268 /// direct addresses from: +1269 /// +1270 /// - The portmapper. +1271 /// - A net_report report. +1272 /// - The local interfaces IP addresses. +1273 #[cfg(not(wasm_browser))] +1274 fn update_direct_addresses(&mut self, net_report_report: Option<&net_report::Report>) { +1275 let portmap_watcher = self +1276 .direct_addr_update_state +1277 .port_mapper +1278 .watch_external_address(); +1279 +1280 // We only want to have one DirectAddr for each SocketAddr we have. So we store +1281 // this as a map of SocketAddr -> DirectAddrType. At the end we will construct a +1282 // DirectAddr from each entry. +1283 let mut addrs: BTreeMap<SocketAddr, DirectAddrType> = BTreeMap::new(); +1284 +1285 // First add PortMapper provided addresses. +1286 let maybe_port_mapped = *portmap_watcher.borrow(); +1287 if let Some(portmap_ext) = maybe_port_mapped.map(SocketAddr::V4) { +1288 addrs +1289 .entry(portmap_ext) +1290 .or_insert(DirectAddrType::Portmapped); +1291 } +1292 +1293 // Next add STUN addresses from the net_report report. +1294 if let Some(net_report_report) = net_report_report { +1295 if let Some(global_v4) = net_report_report.global_v4 { +1296 addrs.entry(global_v4.into()).or_insert(DirectAddrType::Qad); 1297 -1298 if let Some(port) = port { -1299 if net_report_report -1300 .mapping_varies_by_dest() -1301 .unwrap_or_default() -1302 { -1303 let mut addr = global_v4; -1304 addr.set_port(port); -1305 addrs -1306 .entry(addr.into()) -1307 .or_insert(DirectAddrType::Qad4LocalPort); -1308 } -1309 } -1310 } -1311 if let Some(global_v6) = net_report_report.global_v6 { -1312 addrs.entry(global_v6.into()).or_insert(DirectAddrType::Qad); -1313 } -1314 } -1315 -1316 self.collect_local_addresses(&mut addrs); -1317 -1318 // Finally create and store store all these direct addresses and send any -1319 // queued call-me-maybe messages. -1320 self.msock.store_direct_addresses( -1321 addrs -1322 .iter() -1323 .map(|(addr, typ)| DirectAddr { -1324 addr: *addr, -1325 typ: *typ, -1326 }) -1327 .collect(), -1328 ); -1329 } -1330 -1331 #[cfg(not(wasm_browser))] -1332 fn collect_local_addresses(&mut self, addrs: &mut BTreeMap<SocketAddr, DirectAddrType>) { -1333 // Matches the addresses that have been bound vs the requested ones. -1334 let local_addrs: Vec<(SocketAddr, SocketAddr)> = self -1335 .msock -1336 .ip_bind_addrs() -1337 .iter() -1338 .copied() -1339 .zip(self.msock.ip_local_addrs()) -1340 .collect(); -1341 -1342 // Do we listen on any IPv4 unspecified address? -1343 let has_ipv4_unspecified = local_addrs.iter().find_map(|(_, a)| { -1344 if a.is_ipv4() && a.ip().is_unspecified() { -1345 Some(a.port()) -1346 } else { -1347 None -1348 } -1349 }); -1350 // Do we listen on any IPv6 unspecified address? -1351 let has_ipv6_unspecified = local_addrs.iter().find_map(|(_, a)| { -1352 if a.is_ipv6() && a.ip().is_unspecified() { -1353 Some(a.port()) -1354 } else { -1355 None -1356 } -1357 }); -1358 -1359 // If a socket is bound to the unspecified address, create SocketAddrs for -1360 // each local IP address by pairing it with the port the socket is bound on. -1361 if local_addrs -1362 .iter() -1363 .any(|(_, local)| local.ip().is_unspecified()) -1364 { -1365 let LocalAddresses { -1366 regular: mut ips, -1367 loopback, -1368 } = self.netmon_watcher.get().local_addresses; -1369 if ips.is_empty() && addrs.is_empty() { -1370 // Include loopback addresses only if there are no other interfaces -1371 // or public addresses, this allows testing offline. -1372 ips = loopback; -1373 } -1374 -1375 for ip in ips { -1376 let port_if_unspecified = match ip { -1377 IpAddr::V4(_) => has_ipv4_unspecified, -1378 IpAddr::V6(_) => has_ipv6_unspecified, -1379 }; -1380 if let Some(port) = port_if_unspecified { -1381 let addr = SocketAddr::new(ip, port); -1382 addrs.entry(addr).or_insert(DirectAddrType::Local); -1383 } -1384 } -1385 } +1298 // If they're behind a hard NAT and are using a fixed +1299 // port locally, assume they might've added a static +1300 // port mapping on their router to the same explicit +1301 // port that we are running with. Worst case it's an invalid candidate mapping. +1302 let port = self.msock.ip_bind_addrs().iter().find_map(|addr| { +1303 if addr.port() != 0 { +1304 Some(addr.port()) +1305 } else { +1306 None +1307 } +1308 }); +1309 +1310 if let Some(port) = port { +1311 if net_report_report +1312 .mapping_varies_by_dest() +1313 .unwrap_or_default() +1314 { +1315 let mut addr = global_v4; +1316 addr.set_port(port); +1317 addrs +1318 .entry(addr.into()) +1319 .or_insert(DirectAddrType::Qad4LocalPort); +1320 } +1321 } +1322 } +1323 if let Some(global_v6) = net_report_report.global_v6 { +1324 addrs.entry(global_v6.into()).or_insert(DirectAddrType::Qad); +1325 } +1326 } +1327 +1328 self.collect_local_addresses(&mut addrs); +1329 +1330 // Finally create and store store all these direct addresses and send any +1331 // queued call-me-maybe messages. +1332 self.msock.store_direct_addresses( +1333 addrs +1334 .iter() +1335 .map(|(addr, typ)| DirectAddr { +1336 addr: *addr, +1337 typ: *typ, +1338 }) +1339 .collect(), +1340 ); +1341 } +1342 +1343 #[cfg(not(wasm_browser))] +1344 fn collect_local_addresses(&mut self, addrs: &mut BTreeMap<SocketAddr, DirectAddrType>) { +1345 // Matches the addresses that have been bound vs the requested ones. +1346 let local_addrs: Vec<(SocketAddr, SocketAddr)> = self +1347 .msock +1348 .ip_bind_addrs() +1349 .iter() +1350 .copied() +1351 .zip(self.msock.ip_local_addrs()) +1352 .collect(); +1353 +1354 // Do we listen on any IPv4 unspecified address? +1355 let has_ipv4_unspecified = local_addrs.iter().find_map(|(_, a)| { +1356 if a.is_ipv4() && a.ip().is_unspecified() { +1357 Some(a.port()) +1358 } else { +1359 None +1360 } +1361 }); +1362 // Do we listen on any IPv6 unspecified address? +1363 let has_ipv6_unspecified = local_addrs.iter().find_map(|(_, a)| { +1364 if a.is_ipv6() && a.ip().is_unspecified() { +1365 Some(a.port()) +1366 } else { +1367 None +1368 } +1369 }); +1370 +1371 // If a socket is bound to the unspecified address, create SocketAddrs for +1372 // each local IP address by pairing it with the port the socket is bound on. +1373 if local_addrs +1374 .iter() +1375 .any(|(_, local)| local.ip().is_unspecified()) +1376 { +1377 let LocalAddresses { +1378 regular: mut ips, +1379 loopback, +1380 } = self.netmon_watcher.get().local_addresses; +1381 if ips.is_empty() && addrs.is_empty() { +1382 // Include loopback addresses only if there are no other interfaces +1383 // or public addresses, this allows testing offline. +1384 ips = loopback; +1385 } 1386 -1387 // If a socket is bound to a specific address, add it. -1388 for (bound, local) in local_addrs { -1389 if !bound.ip().is_unspecified() { -1390 addrs.entry(local).or_insert(DirectAddrType::Local); -1391 } -1392 } -1393 } -1394 -1395 fn handle_net_report_report(&mut self, mut report: Option<net_report::Report>) { -1396 if let Some(ref mut r) = report { -1397 self.msock.ipv6_reported.store(r.udp_v6, Ordering::Relaxed); -1398 if r.preferred_relay.is_none() { -1399 if let Some(my_relay) = self.msock.my_relay() { -1400 r.preferred_relay.replace(my_relay); -1401 } -1402 } -1403 -1404 // Notify all transports -1405 self.network_change_sender.on_network_change(r); -1406 } -1407 -1408 #[cfg(not(wasm_browser))] -1409 self.update_direct_addresses(report.as_ref()); -1410 } -1411} -1412 -1413fn new_re_stun_timer(initial_delay: bool) -> time::Interval { -1414 // Pick a random duration between 20 and 26 seconds (just under 30s, -1415 // a common UDP NAT timeout on Linux,etc) -1416 let mut rng = rand::rng(); -1417 let d: Duration = rng.random_range(Duration::from_secs(20)..=Duration::from_secs(26)); -1418 if initial_delay { -1419 debug!("scheduling periodic_stun to run in {}s", d.as_secs()); -1420 time::interval_at(time::Instant::now() + d, d) -1421 } else { -1422 debug!( -1423 "scheduling periodic_stun to run immediately and in {}s", -1424 d.as_secs() -1425 ); -1426 time::interval(d) -1427 } -1428} -1429 -1430/// The discovered direct addresses of this [`MagicSock`]. -1431/// -1432/// These are all the [`DirectAddr`]s that this [`MagicSock`] is aware of for itself. -1433/// They include all locally bound ones as well as those discovered by other mechanisms like -1434/// QAD. -1435#[derive(derive_more::Debug, Clone, Default)] -1436struct DiscoveredDirectAddrs { -1437 /// The last set of discovered direct addresses. -1438 addrs: Watchable<BTreeSet<DirectAddr>>, -1439 -1440 /// The last time the direct addresses were updated, even if there was no change. -1441 /// -1442 /// This is only ever None at startup. -1443 updated_at: Arc<RwLock<Option<Instant>>>, -1444} -1445 -1446impl DiscoveredDirectAddrs { -1447 /// Updates the direct addresses, returns `true` if they changed, `false` if not. -1448 fn update(&self, addrs: BTreeSet<DirectAddr>) -> bool { -1449 *self.updated_at.write().expect("poisoned") = Some(Instant::now()); -1450 let updated = self.addrs.set(addrs).is_ok(); -1451 if updated { -1452 event!( -1453 target: "iroh::_events::direct_addrs", -1454 Level::DEBUG, -1455 addrs = ?self.addrs.get(), -1456 ); -1457 } -1458 updated -1459 } -1460 -1461 fn sockaddrs(&self) -> impl Iterator<Item = SocketAddr> { -1462 self.addrs.get().into_iter().map(|da| da.addr) -1463 } -1464} -1465 -1466/// A *direct address* on which an iroh-endpoint might be contactable. -1467/// -1468/// Direct addresses are UDP socket addresses on which an iroh endpoint could potentially be -1469/// contacted. These can come from various sources depending on the network topology of the -1470/// iroh endpoint, see [`DirectAddrType`] for the several kinds of sources. -1471/// -1472/// This is essentially a combination of our local addresses combined with any reflexive -1473/// transport addresses we discovered using QAD. -1474#[derive(Debug, Clone, PartialEq, Eq, Hash, PartialOrd, Ord)] -1475pub struct DirectAddr { -1476 /// The address. -1477 pub addr: SocketAddr, -1478 /// The origin of this direct address. -1479 pub typ: DirectAddrType, -1480} -1481 -1482/// The type of direct address. +1387 for ip in ips { +1388 let port_if_unspecified = match ip { +1389 IpAddr::V4(_) => has_ipv4_unspecified, +1390 IpAddr::V6(_) => has_ipv6_unspecified, +1391 }; +1392 if let Some(port) = port_if_unspecified { +1393 let addr = SocketAddr::new(ip, port); +1394 addrs.entry(addr).or_insert(DirectAddrType::Local); +1395 } +1396 } +1397 } +1398 +1399 // If a socket is bound to a specific address, add it. +1400 for (bound, local) in local_addrs { +1401 if !bound.ip().is_unspecified() { +1402 addrs.entry(local).or_insert(DirectAddrType::Local); +1403 } +1404 } +1405 } +1406 +1407 fn handle_net_report_report(&mut self, mut report: Option<net_report::Report>) { +1408 if let Some(ref mut r) = report { +1409 self.msock.ipv6_reported.store(r.udp_v6, Ordering::Relaxed); +1410 if r.preferred_relay.is_none() { +1411 if let Some(my_relay) = self.msock.my_relay() { +1412 r.preferred_relay.replace(my_relay); +1413 } +1414 } +1415 +1416 // Notify all transports +1417 self.network_change_sender.on_network_change(r); +1418 } +1419 +1420 #[cfg(not(wasm_browser))] +1421 self.update_direct_addresses(report.as_ref()); +1422 } +1423} +1424 +1425fn new_re_stun_timer(initial_delay: bool) -> time::Interval { +1426 // Pick a random duration between 20 and 26 seconds (just under 30s, +1427 // a common UDP NAT timeout on Linux,etc) +1428 let mut rng = rand::rng(); +1429 let d: Duration = rng.random_range(Duration::from_secs(20)..=Duration::from_secs(26)); +1430 if initial_delay { +1431 debug!("scheduling periodic_stun to run in {}s", d.as_secs()); +1432 time::interval_at(time::Instant::now() + d, d) +1433 } else { +1434 debug!( +1435 "scheduling periodic_stun to run immediately and in {}s", +1436 d.as_secs() +1437 ); +1438 time::interval(d) +1439 } +1440} +1441 +1442/// The discovered direct addresses of this [`MagicSock`]. +1443/// +1444/// These are all the [`DirectAddr`]s that this [`MagicSock`] is aware of for itself. +1445/// They include all locally bound ones as well as those discovered by other mechanisms like +1446/// QAD. +1447#[derive(derive_more::Debug, Clone, Default)] +1448struct DiscoveredDirectAddrs { +1449 /// The last set of discovered direct addresses. +1450 addrs: Watchable<BTreeSet<DirectAddr>>, +1451 +1452 /// The last time the direct addresses were updated, even if there was no change. +1453 /// +1454 /// This is only ever None at startup. +1455 updated_at: Arc<RwLock<Option<Instant>>>, +1456} +1457 +1458impl DiscoveredDirectAddrs { +1459 /// Updates the direct addresses, returns `true` if they changed, `false` if not. +1460 fn update(&self, addrs: BTreeSet<DirectAddr>) -> bool { +1461 *self.updated_at.write().expect("poisoned") = Some(Instant::now()); +1462 let updated = self.addrs.set(addrs).is_ok(); +1463 if updated { +1464 event!( +1465 target: "iroh::_events::direct_addrs", +1466 Level::DEBUG, +1467 addrs = ?self.addrs.get(), +1468 ); +1469 } +1470 updated +1471 } +1472 +1473 fn sockaddrs(&self) -> impl Iterator<Item = SocketAddr> { +1474 self.addrs.get().into_iter().map(|da| da.addr) +1475 } +1476} +1477 +1478/// A *direct address* on which an iroh-endpoint might be contactable. +1479/// +1480/// Direct addresses are UDP socket addresses on which an iroh endpoint could potentially be +1481/// contacted. These can come from various sources depending on the network topology of the +1482/// iroh endpoint, see [`DirectAddrType`] for the several kinds of sources. 1483/// -1484/// These are the various sources or origins from which an iroh endpoint might have found a -1485/// possible [`DirectAddr`]. -1486#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)] -1487pub enum DirectAddrType { -1488 /// Not yet determined.. -1489 Unknown, -1490 /// A locally bound socket address. -1491 Local, -1492 /// Public internet address discovered via QAD. -1493 /// -1494 /// When possible an iroh endpoint will perform QAD to discover which is the address -1495 /// from which it sends data on the public internet. This can be different from locally -1496 /// bound addresses when the endpoint is on a local network which performs NAT or similar. -1497 Qad, -1498 /// An address assigned by the router using port mapping. -1499 /// -1500 /// When possible an iroh endpoint will request a port mapping from the local router to -1501 /// get a publicly routable direct address. -1502 Portmapped, -1503 /// Hard NAT: QAD'ed IPv4 address + local fixed port. -1504 /// -1505 /// It is possible to configure iroh to bound to a specific port and independently -1506 /// configure the router to forward this port to the iroh endpoint. This indicates a -1507 /// situation like this, which still uses QAD to discover the public address. -1508 Qad4LocalPort, -1509} -1510 -1511impl Display for DirectAddrType { -1512 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { -1513 match self { -1514 DirectAddrType::Unknown => write!(f, "?"), -1515 DirectAddrType::Local => write!(f, "local"), -1516 DirectAddrType::Qad => write!(f, "qad"), -1517 DirectAddrType::Portmapped => write!(f, "portmap"), -1518 DirectAddrType::Qad4LocalPort => write!(f, "qad4localport"), -1519 } -1520 } +1484/// This is essentially a combination of our local addresses combined with any reflexive +1485/// transport addresses we discovered using QAD. +1486#[derive(Debug, Clone, PartialEq, Eq, Hash, PartialOrd, Ord)] +1487pub struct DirectAddr { +1488 /// The address. +1489 pub addr: SocketAddr, +1490 /// The origin of this direct address. +1491 pub typ: DirectAddrType, +1492} +1493 +1494/// The type of direct address. +1495/// +1496/// These are the various sources or origins from which an iroh endpoint might have found a +1497/// possible [`DirectAddr`]. +1498#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)] +1499pub enum DirectAddrType { +1500 /// Not yet determined.. +1501 Unknown, +1502 /// A locally bound socket address. +1503 Local, +1504 /// Public internet address discovered via QAD. +1505 /// +1506 /// When possible an iroh endpoint will perform QAD to discover which is the address +1507 /// from which it sends data on the public internet. This can be different from locally +1508 /// bound addresses when the endpoint is on a local network which performs NAT or similar. +1509 Qad, +1510 /// An address assigned by the router using port mapping. +1511 /// +1512 /// When possible an iroh endpoint will request a port mapping from the local router to +1513 /// get a publicly routable direct address. +1514 Portmapped, +1515 /// Hard NAT: QAD'ed IPv4 address + local fixed port. +1516 /// +1517 /// It is possible to configure iroh to bound to a specific port and independently +1518 /// configure the router to forward this port to the iroh endpoint. This indicates a +1519 /// situation like this, which still uses QAD to discover the public address. +1520 Qad4LocalPort, 1521} 1522 -1523#[cfg(test)] -1524mod tests { -1525 use std::{net::SocketAddrV4, sync::Arc, time::Duration}; -1526 -1527 use data_encoding::HEXLOWER; -1528 use iroh_base::{EndpointAddr, EndpointId, TransportAddr}; -1529 use n0_error::{Result, StackResultExt, StdResultExt}; -1530 use n0_future::{MergeBounded, StreamExt, time}; -1531 use n0_watcher::Watcher; -1532 use quinn::ServerConfig; -1533 use rand::{CryptoRng, Rng, RngCore, SeedableRng}; -1534 use tokio_util::task::AbortOnDropHandle; -1535 use tracing::{Instrument, error, info, info_span, instrument}; -1536 use tracing_test::traced_test; -1537 -1538 use super::Options; -1539 use crate::{ -1540 Endpoint, RelayMode, SecretKey, -1541 discovery::static_provider::StaticProvider, -1542 dns::DnsResolver, -1543 magicsock::{ -1544 Handle, MagicSock, TransportConfig, -1545 mapped_addrs::{EndpointIdMappedAddr, MappedAddr}, -1546 }, -1547 tls::{self, DEFAULT_MAX_TLS_TICKETS}, -1548 }; -1549 -1550 const ALPN: &[u8] = b"n0/test/1"; -1551 -1552 fn default_options<R: CryptoRng + ?Sized>(rng: &mut R) -> Options { -1553 let secret_key = SecretKey::generate(rng); -1554 let server_config = make_default_server_config(&secret_key); -1555 Options { -1556 transports: vec![ -1557 TransportConfig::default_ipv4(), -1558 TransportConfig::default_ipv6(), -1559 ], -1560 secret_key, -1561 proxy_url: None, -1562 dns_resolver: DnsResolver::new(), -1563 server_config, -1564 #[cfg(any(test, feature = "test-utils"))] -1565 insecure_skip_relay_cert_verify: false, -1566 #[cfg(any(test, feature = "test-utils"))] -1567 discovery_user_data: None, -1568 metrics: Default::default(), -1569 hooks: Default::default(), -1570 } -1571 } -1572 -1573 /// Generate a server config with no ALPNS and a default transport configuration -1574 fn make_default_server_config(secret_key: &SecretKey) -> ServerConfig { -1575 let quic_server_config = -1576 crate::tls::TlsConfig::new(secret_key.clone(), DEFAULT_MAX_TLS_TICKETS) -1577 .make_server_config(vec![], false); -1578 let mut server_config = ServerConfig::with_crypto(Arc::new(quic_server_config)); -1579 server_config.transport_config(Arc::new(quinn::TransportConfig::default())); -1580 server_config -1581 } -1582 -1583 #[instrument(skip_all, fields(me = %ep.id().fmt_short()))] -1584 async fn echo_receiver(ep: Endpoint, loss: ExpectedLoss) -> Result { -1585 info!("accepting conn"); -1586 let conn = ep.accept().await.expect("no conn"); -1587 -1588 info!("accepting"); -1589 let conn = conn.await.context("accepting")?; -1590 info!("accepting bi"); -1591 let (mut send_bi, mut recv_bi) = conn.accept_bi().await.std_context("accept bi")?; -1592 -1593 info!("reading"); -1594 let val = recv_bi -1595 .read_to_end(usize::MAX) -1596 .await -1597 .std_context("read to end")?; -1598 -1599 info!("replying"); -1600 for chunk in val.chunks(12) { -1601 send_bi.write_all(chunk).await.std_context("write all")?; -1602 } -1603 -1604 info!("finishing"); -1605 send_bi.finish().std_context("finish")?; -1606 send_bi.stopped().await.std_context("stopped")?; -1607 -1608 let stats = conn.stats(); -1609 info!("stats: {:#?}", stats); -1610 if matches!(loss, ExpectedLoss::AlmostNone) { -1611 for info in conn.paths().get().iter() { -1612 assert!( -1613 info.stats().lost_packets < 10, -1614 "[receiver] path {:?} should not loose many packets", -1615 info.remote_addr() -1616 ); -1617 } -1618 } -1619 -1620 conn.closed().await; -1621 info!("closed"); -1622 ep.endpoint().wait_idle().await; -1623 info!("idle"); -1624 -1625 Ok(()) -1626 } -1627 -1628 #[instrument(skip_all, fields(me = %ep.id().fmt_short()))] -1629 async fn echo_sender( -1630 ep: Endpoint, -1631 dest_id: EndpointId, -1632 msg: &[u8], -1633 loss: ExpectedLoss, -1634 ) -> Result { -1635 info!("connecting to {}", dest_id.fmt_short()); -1636 let dest = EndpointAddr::new(dest_id); -1637 let conn = ep.connect(dest, ALPN).await?; -1638 -1639 info!("opening bi"); -1640 let (mut send_bi, mut recv_bi) = conn.open_bi().await.std_context("open bi")?; -1641 -1642 info!("writing message"); -1643 send_bi.write_all(msg).await.std_context("write all")?; -1644 -1645 info!("finishing"); -1646 send_bi.finish().std_context("finish")?; -1647 send_bi.stopped().await.std_context("stopped")?; -1648 -1649 info!("reading_to_end"); -1650 let val = recv_bi -1651 .read_to_end(usize::MAX) -1652 .await -1653 .std_context("read to end")?; -1654 assert_eq!( -1655 val, -1656 msg, -1657 "[sender] expected {}, got {}", -1658 HEXLOWER.encode(msg), -1659 HEXLOWER.encode(&val) -1660 ); +1523impl Display for DirectAddrType { +1524 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +1525 match self { +1526 DirectAddrType::Unknown => write!(f, "?"), +1527 DirectAddrType::Local => write!(f, "local"), +1528 DirectAddrType::Qad => write!(f, "qad"), +1529 DirectAddrType::Portmapped => write!(f, "portmap"), +1530 DirectAddrType::Qad4LocalPort => write!(f, "qad4localport"), +1531 } +1532 } +1533} +1534 +1535#[cfg(test)] +1536mod tests { +1537 use std::{net::SocketAddrV4, sync::Arc, time::Duration}; +1538 +1539 use data_encoding::HEXLOWER; +1540 use iroh_base::{EndpointAddr, EndpointId, TransportAddr}; +1541 use n0_error::{Result, StackResultExt, StdResultExt}; +1542 use n0_future::{MergeBounded, StreamExt, time}; +1543 use n0_tracing_test::traced_test; +1544 use n0_watcher::Watcher; +1545 use rand::{CryptoRng, Rng, RngCore, SeedableRng}; +1546 use tokio_util::task::AbortOnDropHandle; +1547 use tracing::{Instrument, error, info, info_span, instrument}; +1548 +1549 use super::Options; +1550 use crate::{ +1551 Endpoint, RelayMode, SecretKey, +1552 discovery::static_provider::StaticProvider, +1553 dns::DnsResolver, +1554 endpoint::QuicTransportConfig, +1555 magicsock::{ +1556 Handle, MagicSock, TransportConfig, +1557 mapped_addrs::{EndpointIdMappedAddr, MappedAddr}, +1558 }, +1559 tls::{self, DEFAULT_MAX_TLS_TICKETS}, +1560 }; +1561 +1562 const ALPN: &[u8] = b"n0/test/1"; +1563 +1564 fn default_options<R: CryptoRng + ?Sized>(rng: &mut R) -> Options { +1565 let secret_key = SecretKey::generate(rng); +1566 let server_config = make_default_server_config(&secret_key); +1567 Options { +1568 transports: vec![ +1569 TransportConfig::default_ipv4(), +1570 TransportConfig::default_ipv6(), +1571 ], +1572 secret_key, +1573 proxy_url: None, +1574 dns_resolver: DnsResolver::new(), +1575 server_config, +1576 #[cfg(any(test, feature = "test-utils"))] +1577 insecure_skip_relay_cert_verify: false, +1578 #[cfg(any(test, feature = "test-utils"))] +1579 discovery_user_data: None, +1580 metrics: Default::default(), +1581 hooks: Default::default(), +1582 } +1583 } +1584 +1585 /// Generate a server config with no ALPNS and a default transport configuration +1586 fn make_default_server_config(secret_key: &SecretKey) -> quinn::ServerConfig { +1587 let quic_server_config = +1588 crate::tls::TlsConfig::new(secret_key.clone(), DEFAULT_MAX_TLS_TICKETS) +1589 .make_server_config(vec![], false); +1590 let mut server_config = quinn::ServerConfig::with_crypto(Arc::new(quic_server_config)); +1591 let transport = QuicTransportConfig::default(); +1592 server_config.transport_config(transport.to_inner_arc()); +1593 server_config +1594 } +1595 +1596 #[instrument(skip_all, fields(me = %ep.id().fmt_short()))] +1597 async fn echo_receiver(ep: Endpoint, loss: ExpectedLoss) -> Result { +1598 info!("accepting conn"); +1599 let conn = ep.accept().await.expect("no conn"); +1600 +1601 info!("accepting"); +1602 let conn = conn.await.context("accepting")?; +1603 info!("accepting bi"); +1604 let (mut send_bi, mut recv_bi) = conn.accept_bi().await.std_context("accept bi")?; +1605 +1606 info!("reading"); +1607 let val = recv_bi +1608 .read_to_end(usize::MAX) +1609 .await +1610 .std_context("read to end")?; +1611 +1612 info!("replying"); +1613 for chunk in val.chunks(12) { +1614 send_bi.write_all(chunk).await.std_context("write all")?; +1615 } +1616 +1617 info!("finishing"); +1618 send_bi.finish().std_context("finish")?; +1619 send_bi.stopped().await.std_context("stopped")?; +1620 +1621 let stats = conn.stats(); +1622 info!("stats: {:#?}", stats); +1623 if matches!(loss, ExpectedLoss::AlmostNone) { +1624 for info in conn.paths().get().iter() { +1625 assert!( +1626 info.stats().lost_packets < 10, +1627 "[receiver] path {:?} should not loose many packets", +1628 info.remote_addr() +1629 ); +1630 } +1631 } +1632 +1633 conn.closed().await; +1634 info!("closed"); +1635 ep.endpoint().wait_idle().await; +1636 info!("idle"); +1637 +1638 Ok(()) +1639 } +1640 +1641 #[instrument(skip_all, fields(me = %ep.id().fmt_short()))] +1642 async fn echo_sender( +1643 ep: Endpoint, +1644 dest_id: EndpointId, +1645 msg: &[u8], +1646 loss: ExpectedLoss, +1647 ) -> Result { +1648 info!("connecting to {}", dest_id.fmt_short()); +1649 let dest = EndpointAddr::new(dest_id); +1650 let conn = ep.connect(dest, ALPN).await?; +1651 +1652 info!("opening bi"); +1653 let (mut send_bi, mut recv_bi) = conn.open_bi().await.std_context("open bi")?; +1654 +1655 info!("writing message"); +1656 send_bi.write_all(msg).await.std_context("write all")?; +1657 +1658 info!("finishing"); +1659 send_bi.finish().std_context("finish")?; +1660 send_bi.stopped().await.std_context("stopped")?; 1661 -1662 let stats = conn.stats(); -1663 info!("stats: {:#?}", stats); -1664 if matches!(loss, ExpectedLoss::AlmostNone) { -1665 for info in conn.paths().get() { -1666 assert!( -1667 info.stats().lost_packets < 10, -1668 "[sender] path {:?} should not loose many packets", -1669 info.remote_addr() -1670 ); -1671 } -1672 } -1673 -1674 conn.close(0u32.into(), b"done"); -1675 info!("closed"); -1676 ep.endpoint().wait_idle().await; -1677 info!("idle"); -1678 Ok(()) -1679 } -1680 -1681 #[derive(Debug, Copy, Clone)] -1682 enum ExpectedLoss { -1683 AlmostNone, -1684 YeahSure, -1685 } +1662 info!("reading_to_end"); +1663 let val = recv_bi +1664 .read_to_end(usize::MAX) +1665 .await +1666 .std_context("read to end")?; +1667 assert_eq!( +1668 val, +1669 msg, +1670 "[sender] expected {}, got {}", +1671 HEXLOWER.encode(msg), +1672 HEXLOWER.encode(&val) +1673 ); +1674 +1675 let stats = conn.stats(); +1676 info!("stats: {:#?}", stats); +1677 if matches!(loss, ExpectedLoss::AlmostNone) { +1678 for info in conn.paths().get() { +1679 assert!( +1680 info.stats().lost_packets < 10, +1681 "[sender] path {:?} should not loose many packets", +1682 info.remote_addr() +1683 ); +1684 } +1685 } 1686 -1687 /// Runs a roundtrip between the [`echo_sender`] and [`echo_receiver`]. -1688 async fn run_roundtrip( -1689 sender: Endpoint, -1690 receiver: Endpoint, -1691 payload: &[u8], -1692 loss: ExpectedLoss, -1693 ) { -1694 let send_endpoint_id = sender.id(); -1695 let recv_endpoint_id = receiver.id(); -1696 info!("\nroundtrip: {send_endpoint_id:#} -> {recv_endpoint_id:#}"); -1697 -1698 let receiver_task = AbortOnDropHandle::new(tokio::spawn(echo_receiver(receiver, loss))); -1699 let sender_res = echo_sender(sender, recv_endpoint_id, payload, loss).await; -1700 let sender_is_err = match sender_res { -1701 Ok(()) => false, -1702 Err(err) => { -1703 error!("[sender] Error:\n{err:#?}"); -1704 true -1705 } -1706 }; -1707 let receiver_is_err = match receiver_task.await { -1708 Ok(Ok(())) => false, -1709 Ok(Err(err)) => { -1710 error!("[receiver] Error:\n{err:#?}"); -1711 true -1712 } -1713 Err(joinerr) => { -1714 if joinerr.is_panic() { -1715 std::panic::resume_unwind(joinerr.into_panic()); -1716 } else { -1717 error!("[receiver] Error:\n{joinerr:#?}"); -1718 } -1719 true -1720 } -1721 }; -1722 if sender_is_err || receiver_is_err { -1723 panic!("Sender or receiver errored"); -1724 } -1725 } -1726 -1727 /// Returns a pair of endpoints with a shared [`StaticDiscovery`]. -1728 /// -1729 /// The endpoints do not use a relay server but can connect to each other via local -1730 /// addresses. Dialing by [`EndpointId`] is possible, and the addresses get updated even if -1731 /// the endpoints rebind. -1732 async fn endpoint_pair() -> (AbortOnDropHandle<()>, Endpoint, Endpoint) { -1733 let discovery = StaticProvider::new(); -1734 let ep1 = Endpoint::builder() -1735 .relay_mode(RelayMode::Disabled) -1736 .alpns(vec![ALPN.to_vec()]) -1737 .discovery(discovery.clone()) -1738 .bind() -1739 .await -1740 .unwrap(); -1741 let ep2 = Endpoint::builder() -1742 .relay_mode(RelayMode::Disabled) -1743 .alpns(vec![ALPN.to_vec()]) -1744 .discovery(discovery.clone()) -1745 .bind() -1746 .await -1747 .unwrap(); -1748 discovery.add_endpoint_info(ep1.addr()); -1749 discovery.add_endpoint_info(ep2.addr()); -1750 -1751 let ep1_addr_stream = ep1.watch_addr().stream(); -1752 let ep2_addr_stream = ep2.watch_addr().stream(); -1753 let mut addr_stream = MergeBounded::from_iter([ep1_addr_stream, ep2_addr_stream]); -1754 let task = tokio::spawn(async move { -1755 while let Some(addr) = addr_stream.next().await { -1756 discovery.add_endpoint_info(addr); -1757 } -1758 }); -1759 -1760 (AbortOnDropHandle::new(task), ep1, ep2) -1761 } -1762 -1763 #[tokio::test(flavor = "multi_thread")] -1764 #[traced_test] -1765 async fn test_two_devices_roundtrip_quinn_magic() -> Result { -1766 let (_guard, m1, m2) = endpoint_pair().await; -1767 -1768 for i in 0..5 { -1769 info!("\n-- round {i}"); -1770 run_roundtrip( -1771 m1.clone(), -1772 m2.clone(), -1773 b"hello m1", -1774 ExpectedLoss::AlmostNone, -1775 ) -1776 .await; -1777 run_roundtrip( -1778 m2.clone(), -1779 m1.clone(), -1780 b"hello m2", -1781 ExpectedLoss::AlmostNone, -1782 ) -1783 .await; -1784 -1785 info!("\n-- larger data"); -1786 let mut data = vec![0u8; 10 * 1024]; -1787 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); -1788 rng.fill_bytes(&mut data); -1789 run_roundtrip(m1.clone(), m2.clone(), &data, ExpectedLoss::AlmostNone).await; -1790 run_roundtrip(m2.clone(), m1.clone(), &data, ExpectedLoss::AlmostNone).await; -1791 info!("\n-- round {i} finished"); -1792 } -1793 -1794 Ok(()) -1795 } -1796 -1797 #[tokio::test] -1798 #[traced_test] -1799 async fn test_regression_network_change_rebind_wakes_connection_driver() -> Result { -1800 let (_guard, m1, m2) = endpoint_pair().await; -1801 -1802 println!("Net change"); -1803 m1.magic_sock().force_network_change(true).await; -1804 tokio::time::sleep(Duration::from_secs(1)).await; // wait for socket rebinding -1805 -1806 let _handle = AbortOnDropHandle::new(tokio::spawn({ -1807 let endpoint = m2.clone(); -1808 async move { -1809 while let Some(incoming) = endpoint.accept().await { -1810 println!("Incoming first conn!"); -1811 let conn = incoming.await.anyerr()?; -1812 conn.closed().await; -1813 } -1814 -1815 n0_error::Ok(()) -1816 } -1817 })); +1687 conn.close(0u32.into(), b"done"); +1688 info!("closed"); +1689 ep.endpoint().wait_idle().await; +1690 info!("idle"); +1691 Ok(()) +1692 } +1693 +1694 #[derive(Debug, Copy, Clone)] +1695 enum ExpectedLoss { +1696 AlmostNone, +1697 YeahSure, +1698 } +1699 +1700 /// Runs a roundtrip between the [`echo_sender`] and [`echo_receiver`]. +1701 async fn run_roundtrip( +1702 sender: Endpoint, +1703 receiver: Endpoint, +1704 payload: &[u8], +1705 loss: ExpectedLoss, +1706 ) -> Result<()> { +1707 tokio::time::timeout(Duration::from_secs(4), async move { +1708 let send_endpoint_id = sender.id(); +1709 let recv_endpoint_id = receiver.id(); +1710 info!("\nroundtrip: {send_endpoint_id:#} -> {recv_endpoint_id:#}"); +1711 +1712 let receiver_task = AbortOnDropHandle::new(tokio::spawn(echo_receiver(receiver, loss))); +1713 let sender_res = echo_sender(sender, recv_endpoint_id, payload, loss).await; +1714 let sender_is_err = match sender_res { +1715 Ok(()) => false, +1716 Err(err) => { +1717 error!("[sender] Error:\n{err:#?}"); +1718 true +1719 } +1720 }; +1721 let receiver_is_err = match receiver_task.await { +1722 Ok(Ok(())) => false, +1723 Ok(Err(err)) => { +1724 error!("[receiver] Error:\n{err:#?}"); +1725 true +1726 } +1727 Err(joinerr) => { +1728 if joinerr.is_panic() { +1729 std::panic::resume_unwind(joinerr.into_panic()); +1730 } else { +1731 error!("[receiver] Error:\n{joinerr:#?}"); +1732 } +1733 true +1734 } +1735 }; +1736 if sender_is_err || receiver_is_err { +1737 panic!("Sender or receiver errored"); +1738 } +1739 }) +1740 .await +1741 .std_context("timeout")?; +1742 Ok(()) +1743 } +1744 +1745 /// Returns a pair of endpoints with a shared [`StaticDiscovery`]. +1746 /// +1747 /// The endpoints do not use a relay server but can connect to each other via local +1748 /// addresses. Dialing by [`EndpointId`] is possible, and the addresses get updated even if +1749 /// the endpoints rebind. +1750 async fn endpoint_pair() -> (AbortOnDropHandle<()>, Endpoint, Endpoint) { +1751 let discovery = StaticProvider::new(); +1752 let ep1 = Endpoint::empty_builder(RelayMode::Disabled) +1753 .alpns(vec![ALPN.to_vec()]) +1754 .discovery(discovery.clone()) +1755 .bind() +1756 .await +1757 .unwrap(); +1758 let ep2 = Endpoint::empty_builder(RelayMode::Disabled) +1759 .alpns(vec![ALPN.to_vec()]) +1760 .discovery(discovery.clone()) +1761 .bind() +1762 .await +1763 .unwrap(); +1764 discovery.add_endpoint_info(ep1.addr()); +1765 discovery.add_endpoint_info(ep2.addr()); +1766 +1767 let ep1_addr_stream = ep1.watch_addr().stream(); +1768 let ep2_addr_stream = ep2.watch_addr().stream(); +1769 let mut addr_stream = MergeBounded::from_iter([ep1_addr_stream, ep2_addr_stream]); +1770 let task = tokio::spawn(async move { +1771 while let Some(addr) = addr_stream.next().await { +1772 discovery.add_endpoint_info(addr); +1773 } +1774 }); +1775 +1776 (AbortOnDropHandle::new(task), ep1, ep2) +1777 } +1778 +1779 #[tokio::test(flavor = "multi_thread")] +1780 #[traced_test] +1781 async fn test_two_devices_roundtrip_quinn_magic_small() -> Result { +1782 let (_guard, m1, m2) = endpoint_pair().await; +1783 +1784 run_roundtrip( +1785 m1.clone(), +1786 m2.clone(), +1787 b"hello m1", +1788 ExpectedLoss::AlmostNone, +1789 ) +1790 .await?; +1791 run_roundtrip( +1792 m2.clone(), +1793 m1.clone(), +1794 b"hello m2", +1795 ExpectedLoss::AlmostNone, +1796 ) +1797 .await?; +1798 Ok(()) +1799 } +1800 +1801 #[tokio::test(flavor = "multi_thread")] +1802 #[traced_test] +1803 async fn test_two_devices_roundtrip_quinn_magic_large() -> Result { +1804 let (_guard, m1, m2) = endpoint_pair().await; +1805 let mut data = vec![0u8; 10 * 1024]; +1806 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); +1807 rng.fill_bytes(&mut data); +1808 run_roundtrip(m1.clone(), m2.clone(), &data, ExpectedLoss::AlmostNone).await?; +1809 run_roundtrip(m2.clone(), m1.clone(), &data, ExpectedLoss::AlmostNone).await?; +1810 +1811 Ok(()) +1812 } +1813 +1814 #[tokio::test] +1815 #[traced_test] +1816 async fn test_regression_network_change_rebind_wakes_connection_driver() -> Result { +1817 let (_guard, m1, m2) = endpoint_pair().await; 1818 -1819 println!("first conn!"); -1820 let conn = m1.connect(m2.addr(), ALPN).await?; -1821 println!("Closing first conn"); -1822 conn.close(0u32.into(), b"bye lolz"); -1823 conn.closed().await; -1824 println!("Closed first conn"); -1825 -1826 Ok(()) -1827 } -1828 -1829 #[tokio::test(flavor = "multi_thread")] -1830 #[traced_test] -1831 async fn test_two_devices_roundtrip_network_change() -> Result { -1832 time::timeout( -1833 Duration::from_secs(90), -1834 test_two_devices_roundtrip_network_change_impl(), -1835 ) -1836 .await -1837 .std_context("timeout")? -1838 } -1839 -1840 /// Same structure as `test_two_devices_roundtrip_quinn_magic`, but interrupts regularly -1841 /// with (simulated) network changes. -1842 async fn test_two_devices_roundtrip_network_change_impl() -> Result { -1843 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); -1844 let (_guard, m1, m2) = endpoint_pair().await; +1819 println!("Net change"); +1820 m1.magic_sock().force_network_change(true).await; +1821 tokio::time::sleep(Duration::from_secs(1)).await; // wait for socket rebinding +1822 +1823 let _handle = AbortOnDropHandle::new(tokio::spawn({ +1824 let endpoint = m2.clone(); +1825 async move { +1826 while let Some(incoming) = endpoint.accept().await { +1827 println!("Incoming first conn!"); +1828 let conn = incoming.await.anyerr()?; +1829 conn.closed().await; +1830 } +1831 +1832 n0_error::Ok(()) +1833 } +1834 })); +1835 +1836 println!("first conn!"); +1837 let conn = m1.connect(m2.addr(), ALPN).await?; +1838 println!("Closing first conn"); +1839 conn.close(0u32.into(), b"bye lolz"); +1840 conn.closed().await; +1841 println!("Closed first conn"); +1842 +1843 Ok(()) +1844 } 1845 -1846 let offset = |rng: &mut rand_chacha::ChaCha8Rng| { -1847 let delay = rng.random_range(10..=500); -1848 Duration::from_millis(delay) -1849 }; -1850 let rounds = 5; -1851 -1852 // Regular network changes to m1 only. -1853 let m1_network_change_guard = { -1854 let m1 = m1.clone(); -1855 let mut rng = rng.clone(); -1856 let task = tokio::spawn(async move { -1857 loop { -1858 println!("[m1] network change"); -1859 m1.magic_sock().force_network_change(true).await; -1860 time::sleep(offset(&mut rng)).await; -1861 } -1862 }); -1863 AbortOnDropHandle::new(task) -1864 }; -1865 -1866 for i in 0..rounds { -1867 println!("-- [m1 changes] round {}", i + 1); -1868 run_roundtrip(m1.clone(), m2.clone(), b"hello m1", ExpectedLoss::YeahSure).await; -1869 run_roundtrip(m2.clone(), m1.clone(), b"hello m2", ExpectedLoss::YeahSure).await; -1870 -1871 println!("-- [m1 changes] larger data"); -1872 let mut data = vec![0u8; 10 * 1024]; -1873 rng.fill_bytes(&mut data); -1874 run_roundtrip(m1.clone(), m2.clone(), &data, ExpectedLoss::YeahSure).await; -1875 run_roundtrip(m2.clone(), m1.clone(), &data, ExpectedLoss::YeahSure).await; -1876 } +1846 fn offset(rng: &mut rand_chacha::ChaCha8Rng) -> Duration { +1847 let delay = rng.random_range(1..=5); +1848 Duration::from_millis(delay * 50) +1849 } +1850 +1851 /// Same structure as `test_two_devices_roundtrip_quinn_magic`, but interrupts regularly +1852 /// with (simulated) network changes. +1853 /// Regular network changes to m1 only. +1854 #[tokio::test(flavor = "multi_thread")] +1855 #[traced_test] +1856 async fn test_two_devices_roundtrip_network_change_only_a() -> Result { +1857 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); +1858 let (_guard, m1, m2) = endpoint_pair().await; +1859 +1860 let _network_change_guard = { +1861 let m1 = m1.clone(); +1862 let mut rng = rng.clone(); +1863 let task = tokio::spawn(async move { +1864 loop { +1865 info!("[m1] network change"); +1866 m1.magic_sock().force_network_change(true).await; +1867 time::sleep(offset(&mut rng)).await; +1868 } +1869 }); +1870 AbortOnDropHandle::new(task) +1871 }; +1872 +1873 let mut data = vec![0u8; 10 * 1024]; +1874 rng.fill_bytes(&mut data); +1875 run_roundtrip(m1.clone(), m2.clone(), &data, ExpectedLoss::YeahSure).await?; +1876 run_roundtrip(m2.clone(), m1.clone(), &data, ExpectedLoss::YeahSure).await?; 1877 -1878 std::mem::drop(m1_network_change_guard); -1879 -1880 // Regular network changes to m2 only. -1881 let m2_network_change_guard = { -1882 let m2 = m2.clone(); -1883 let mut rng = rng.clone(); -1884 let task = tokio::spawn(async move { -1885 loop { -1886 println!("[m2] network change"); -1887 m2.magic_sock().force_network_change(true).await; -1888 time::sleep(offset(&mut rng)).await; -1889 } -1890 }); -1891 AbortOnDropHandle::new(task) -1892 }; -1893 -1894 for i in 0..rounds { -1895 println!("-- [m2 changes] round {}", i + 1); -1896 run_roundtrip(m1.clone(), m2.clone(), b"hello m1", ExpectedLoss::YeahSure).await; -1897 run_roundtrip(m2.clone(), m1.clone(), b"hello m2", ExpectedLoss::YeahSure).await; -1898 -1899 println!("-- [m2 changes] larger data"); -1900 let mut data = vec![0u8; 10 * 1024]; -1901 rng.fill_bytes(&mut data); -1902 run_roundtrip(m1.clone(), m2.clone(), &data, ExpectedLoss::YeahSure).await; -1903 run_roundtrip(m2.clone(), m1.clone(), &data, ExpectedLoss::YeahSure).await; -1904 } -1905 -1906 std::mem::drop(m2_network_change_guard); -1907 -1908 // Regular network changes to both m1 and m2 only. -1909 let m1_m2_network_change_guard = { -1910 let m1 = m1.clone(); -1911 let m2 = m2.clone(); -1912 let mut rng = rng.clone(); -1913 let task = tokio::spawn(async move { -1914 println!("-- [m1] network change"); -1915 m1.magic_sock().force_network_change(true).await; -1916 println!("-- [m2] network change"); -1917 m2.magic_sock().force_network_change(true).await; -1918 time::sleep(offset(&mut rng)).await; -1919 }); -1920 AbortOnDropHandle::new(task) -1921 }; -1922 -1923 for i in 0..rounds { -1924 println!("-- [m1 & m2 changes] round {}", i + 1); -1925 run_roundtrip(m1.clone(), m2.clone(), b"hello m1", ExpectedLoss::YeahSure).await; -1926 run_roundtrip(m2.clone(), m1.clone(), b"hello m2", ExpectedLoss::YeahSure).await; -1927 -1928 println!("-- [m1 & m2 changes] larger data"); -1929 let mut data = vec![0u8; 10 * 1024]; -1930 rng.fill_bytes(&mut data); -1931 run_roundtrip(m1.clone(), m2.clone(), &data, ExpectedLoss::YeahSure).await; -1932 run_roundtrip(m2.clone(), m1.clone(), &data, ExpectedLoss::YeahSure).await; -1933 } -1934 -1935 std::mem::drop(m1_m2_network_change_guard); -1936 Ok(()) -1937 } -1938 -1939 #[tokio::test(flavor = "multi_thread")] -1940 #[traced_test] -1941 async fn test_two_devices_setup_teardown() -> Result { -1942 for i in 0..10 { -1943 info!("-- round {i}"); -1944 info!("setting up magic stack"); -1945 let (_guard, m1, m2) = endpoint_pair().await; +1878 Ok(()) +1879 } +1880 +1881 /// Regular network changes to both m1 and m2. +1882 #[tokio::test(flavor = "multi_thread")] +1883 #[traced_test] +1884 async fn test_two_devices_roundtrip_network_change_a_and_b() -> Result { +1885 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); +1886 let (_guard, m1, m2) = endpoint_pair().await; +1887 +1888 let _network_change_guard = { +1889 let m1 = m1.clone(); +1890 let m2 = m2.clone(); +1891 let mut rng = rng.clone(); +1892 let task = tokio::spawn(async move { +1893 info!("-- [m1] network change"); +1894 m1.magic_sock().force_network_change(true).await; +1895 info!("-- [m2] network change"); +1896 m2.magic_sock().force_network_change(true).await; +1897 time::sleep(offset(&mut rng)).await; +1898 }); +1899 AbortOnDropHandle::new(task) +1900 }; +1901 +1902 let mut data = vec![0u8; 10 * 1024]; +1903 rng.fill_bytes(&mut data); +1904 run_roundtrip(m1.clone(), m2.clone(), &data, ExpectedLoss::YeahSure).await?; +1905 run_roundtrip(m2.clone(), m1.clone(), &data, ExpectedLoss::YeahSure).await?; +1906 +1907 Ok(()) +1908 } +1909 +1910 #[tokio::test(flavor = "multi_thread")] +1911 #[traced_test] +1912 async fn test_two_devices_setup_teardown() -> Result { +1913 for i in 0..10 { +1914 info!("-- round {i}"); +1915 info!("setting up magic stack"); +1916 let (_guard, m1, m2) = endpoint_pair().await; +1917 +1918 info!("closing endpoints"); +1919 let msock1 = m1.magic_sock(); +1920 let msock2 = m2.magic_sock(); +1921 m1.close().await; +1922 m2.close().await; +1923 +1924 assert!(msock1.msock.is_closed()); +1925 assert!(msock2.msock.is_closed()); +1926 } +1927 Ok(()) +1928 } +1929 +1930 #[tokio::test] +1931 #[traced_test] +1932 async fn test_direct_addresses() { +1933 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); +1934 let ms = Handle::new(default_options(&mut rng)).await.unwrap(); +1935 +1936 // See if we can get endpoints. +1937 let eps0 = ms.ip_addrs().get(); +1938 info!("{eps0:?}"); +1939 assert!(!eps0.is_empty()); +1940 +1941 // Getting the endpoints again immediately should give the same results. +1942 let eps1 = ms.ip_addrs().get(); +1943 info!("{eps1:?}"); +1944 assert_eq!(eps0, eps1); +1945 } 1946 -1947 info!("closing endpoints"); -1948 let msock1 = m1.magic_sock(); -1949 let msock2 = m2.magic_sock(); -1950 m1.close().await; -1951 m2.close().await; -1952 -1953 assert!(msock1.msock.is_closed()); -1954 assert!(msock2.msock.is_closed()); -1955 } -1956 Ok(()) -1957 } -1958 -1959 #[tokio::test] -1960 #[traced_test] -1961 async fn test_direct_addresses() { -1962 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); -1963 let ms = Handle::new(default_options(&mut rng)).await.unwrap(); -1964 -1965 // See if we can get endpoints. -1966 let eps0 = ms.ip_addrs().get(); -1967 println!("{eps0:?}"); -1968 assert!(!eps0.is_empty()); -1969 -1970 // Getting the endpoints again immediately should give the same results. -1971 let eps1 = ms.ip_addrs().get(); -1972 println!("{eps1:?}"); -1973 assert_eq!(eps0, eps1); -1974 } -1975 -1976 /// Creates a new [`quinn::Endpoint`] hooked up to a [`MagicSock`]. -1977 /// -1978 /// This is without involving [`crate::endpoint::Endpoint`]. The socket will accept -1979 /// connections using [`ALPN`]. +1947 /// Creates a new [`quinn::Endpoint`] hooked up to a [`MagicSock`]. +1948 /// +1949 /// This is without involving [`crate::endpoint::Endpoint`]. The socket will accept +1950 /// connections using [`ALPN`]. +1951 /// +1952 /// Use [`magicsock_connect`] to establish connections. +1953 #[instrument(name = "ep", skip_all, fields(me = %secret_key.public().fmt_short()))] +1954 async fn magicsock_ep(secret_key: SecretKey) -> Result<Handle> { +1955 let quic_server_config = tls::TlsConfig::new(secret_key.clone(), DEFAULT_MAX_TLS_TICKETS) +1956 .make_server_config(vec![ALPN.to_vec()], true); +1957 let mut server_config = quinn::ServerConfig::with_crypto(Arc::new(quic_server_config)); +1958 server_config.transport_config(Arc::new(quinn::TransportConfig::default())); +1959 +1960 let dns_resolver = DnsResolver::new(); +1961 let opts = Options { +1962 transports: vec![ +1963 TransportConfig::default_ipv4(), +1964 TransportConfig::default_ipv6(), +1965 ], +1966 secret_key: secret_key.clone(), +1967 discovery_user_data: None, +1968 dns_resolver, +1969 proxy_url: None, +1970 server_config, +1971 insecure_skip_relay_cert_verify: false, +1972 metrics: Default::default(), +1973 hooks: Default::default(), +1974 }; +1975 let msock = MagicSock::spawn(opts).await?; +1976 Ok(msock) +1977 } +1978 +1979 /// Connects from `ep` returned by [`magicsock_ep`] to the `endpoint_id`. 1980 /// -1981 /// Use [`magicsock_connect`] to establish connections. -1982 #[instrument(name = "ep", skip_all, fields(me = %secret_key.public().fmt_short()))] -1983 async fn magicsock_ep(secret_key: SecretKey) -> Result<Handle> { -1984 let quic_server_config = tls::TlsConfig::new(secret_key.clone(), DEFAULT_MAX_TLS_TICKETS) -1985 .make_server_config(vec![ALPN.to_vec()], true); -1986 let mut server_config = ServerConfig::with_crypto(Arc::new(quic_server_config)); -1987 server_config.transport_config(Arc::new(quinn::TransportConfig::default())); -1988 -1989 let dns_resolver = DnsResolver::new(); -1990 let opts = Options { -1991 transports: vec![ -1992 TransportConfig::default_ipv4(), -1993 TransportConfig::default_ipv6(), -1994 ], -1995 secret_key: secret_key.clone(), -1996 discovery_user_data: None, -1997 dns_resolver, -1998 proxy_url: None, -1999 server_config, -2000 insecure_skip_relay_cert_verify: false, -2001 metrics: Default::default(), -2002 hooks: Default::default(), -2003 }; -2004 let msock = MagicSock::spawn(opts).await?; -2005 Ok(msock) -2006 } -2007 -2008 /// Connects from `ep` returned by [`magicsock_ep`] to the `endpoint_id`. -2009 /// -2010 /// Uses [`ALPN`], `endpoint_id`, must match `addr`. -2011 #[instrument(name = "connect", skip_all, fields(me = %ep_secret_key.public().fmt_short()))] -2012 async fn magicsock_connect( -2013 ep: &quinn::Endpoint, -2014 ep_secret_key: SecretKey, -2015 addr: EndpointIdMappedAddr, -2016 endpoint_id: EndpointId, -2017 ) -> Result<quinn::Connection> { -2018 // Endpoint::connect sets this, do the same to have similar behaviour. -2019 let mut transport_config = quinn::TransportConfig::default(); -2020 transport_config.keep_alive_interval(Some(Duration::from_secs(1))); -2021 -2022 magicsock_connect_with_transport_config( -2023 ep, -2024 ep_secret_key, -2025 addr, -2026 endpoint_id, -2027 Arc::new(transport_config), -2028 ) -2029 .await -2030 } -2031 -2032 /// Connects from `ep` returned by [`magicsock_ep`] to the `endpoint_id`. -2033 /// -2034 /// This version allows customising the transport config. -2035 /// -2036 /// Uses [`ALPN`], `endpoint_id`, must match `addr`. -2037 #[instrument(name = "connect", skip_all, fields(me = %ep_secret_key.public().fmt_short()))] -2038 async fn magicsock_connect_with_transport_config( -2039 ep: &quinn::Endpoint, -2040 ep_secret_key: SecretKey, -2041 mapped_addr: EndpointIdMappedAddr, -2042 endpoint_id: EndpointId, -2043 transport_config: Arc<quinn::TransportConfig>, -2044 ) -> Result<quinn::Connection> { -2045 let alpns = vec![ALPN.to_vec()]; -2046 let quic_client_config = -2047 tls::TlsConfig::new(ep_secret_key.clone(), DEFAULT_MAX_TLS_TICKETS) -2048 .make_client_config(alpns, true); -2049 let mut client_config = quinn::ClientConfig::new(Arc::new(quic_client_config)); -2050 client_config.transport_config(transport_config); -2051 let connect = ep -2052 .connect_with( -2053 client_config, -2054 mapped_addr.private_socket_addr(), -2055 &tls::name::encode(endpoint_id), -2056 ) -2057 .std_context("connect")?; -2058 let connection = connect.await.anyerr()?; -2059 Ok(connection) -2060 } -2061 -2062 #[tokio::test] -2063 #[traced_test] -2064 async fn test_try_send_no_send_addr() { -2065 // Regression test: if there is no send_addr we should keep being able to use the -2066 // Endpoint. -2067 -2068 let secret_key_1 = SecretKey::from_bytes(&[1u8; 32]); -2069 let secret_key_2 = SecretKey::from_bytes(&[2u8; 32]); -2070 let endpoint_id_2 = secret_key_2.public(); -2071 let secret_key_missing_endpoint = SecretKey::from_bytes(&[255u8; 32]); -2072 let endpoint_id_missing_endpoint = secret_key_missing_endpoint.public(); -2073 -2074 let msock_1 = magicsock_ep(secret_key_1.clone()).await.unwrap(); -2075 -2076 // Generate an address not present in the RemoteMap. -2077 let bad_addr = EndpointIdMappedAddr::generate(); +1981 /// Uses [`ALPN`], `endpoint_id`, must match `addr`. +1982 #[instrument(name = "connect", skip_all, fields(me = %ep_secret_key.public().fmt_short()))] +1983 async fn magicsock_connect( +1984 ep: &quinn::Endpoint, +1985 ep_secret_key: SecretKey, +1986 addr: EndpointIdMappedAddr, +1987 endpoint_id: EndpointId, +1988 ) -> Result<quinn::Connection> { +1989 // Endpoint::connect sets this, do the same to have similar behaviour. +1990 let mut transport_config = quinn::TransportConfig::default(); +1991 transport_config.keep_alive_interval(Some(Duration::from_secs(1))); +1992 +1993 magicsock_connect_with_transport_config( +1994 ep, +1995 ep_secret_key, +1996 addr, +1997 endpoint_id, +1998 Arc::new(transport_config), +1999 ) +2000 .await +2001 } +2002 +2003 /// Connects from `ep` returned by [`magicsock_ep`] to the `endpoint_id`. +2004 /// +2005 /// This version allows customising the transport config. +2006 /// +2007 /// Uses [`ALPN`], `endpoint_id`, must match `addr`. +2008 #[instrument(name = "connect", skip_all, fields(me = %ep_secret_key.public().fmt_short()))] +2009 async fn magicsock_connect_with_transport_config( +2010 ep: &quinn::Endpoint, +2011 ep_secret_key: SecretKey, +2012 mapped_addr: EndpointIdMappedAddr, +2013 endpoint_id: EndpointId, +2014 transport_config: Arc<quinn::TransportConfig>, +2015 ) -> Result<quinn::Connection> { +2016 let alpns = vec![ALPN.to_vec()]; +2017 let quic_client_config = +2018 tls::TlsConfig::new(ep_secret_key.clone(), DEFAULT_MAX_TLS_TICKETS) +2019 .make_client_config(alpns, true); +2020 let mut client_config = quinn::ClientConfig::new(Arc::new(quic_client_config)); +2021 client_config.transport_config(transport_config); +2022 let connect = ep +2023 .connect_with( +2024 client_config, +2025 mapped_addr.private_socket_addr(), +2026 &tls::name::encode(endpoint_id), +2027 ) +2028 .std_context("connect")?; +2029 let connection = connect.await.anyerr()?; +2030 Ok(connection) +2031 } +2032 +2033 #[tokio::test] +2034 #[traced_test] +2035 async fn test_try_send_no_send_addr() { +2036 // Regression test: if there is no send_addr we should keep being able to use the +2037 // Endpoint. +2038 +2039 let secret_key_1 = SecretKey::from_bytes(&[1u8; 32]); +2040 let secret_key_2 = SecretKey::from_bytes(&[2u8; 32]); +2041 let endpoint_id_2 = secret_key_2.public(); +2042 let secret_key_missing_endpoint = SecretKey::from_bytes(&[255u8; 32]); +2043 let endpoint_id_missing_endpoint = secret_key_missing_endpoint.public(); +2044 +2045 let msock_1 = magicsock_ep(secret_key_1.clone()).await.unwrap(); +2046 +2047 // Generate an address not present in the RemoteMap. +2048 let bad_addr = EndpointIdMappedAddr::generate(); +2049 +2050 // 500ms is rather fast here. Running this locally it should always be the correct +2051 // timeout. If this is too slow however the test will not become flaky as we are +2052 // expecting the timeout, we might just get the timeout for the wrong reason. But +2053 // this speeds up the test. +2054 let res = tokio::time::timeout( +2055 Duration::from_millis(500), +2056 magicsock_connect( +2057 msock_1.endpoint(), +2058 secret_key_1.clone(), +2059 bad_addr, +2060 endpoint_id_missing_endpoint, +2061 ), +2062 ) +2063 .await; +2064 assert!(res.is_err(), "expecting timeout"); +2065 +2066 // Now check we can still create another connection with this endpoint. +2067 let msock_2 = magicsock_ep(secret_key_2.clone()).await.unwrap(); +2068 +2069 // This needs an accept task +2070 let accept_task = tokio::spawn({ +2071 async fn accept(ep: quinn::Endpoint) -> Result<()> { +2072 let incoming = ep.accept().await.std_context("no incoming")?; +2073 let _conn = incoming +2074 .accept() +2075 .std_context("accept")? +2076 .await +2077 .std_context("accepting")?; 2078 -2079 // 500ms is rather fast here. Running this locally it should always be the correct -2080 // timeout. If this is too slow however the test will not become flaky as we are -2081 // expecting the timeout, we might just get the timeout for the wrong reason. But -2082 // this speeds up the test. -2083 let res = tokio::time::timeout( -2084 Duration::from_millis(500), -2085 magicsock_connect( -2086 msock_1.endpoint(), -2087 secret_key_1.clone(), -2088 bad_addr, -2089 endpoint_id_missing_endpoint, -2090 ), -2091 ) -2092 .await; -2093 assert!(res.is_err(), "expecting timeout"); -2094 -2095 // Now check we can still create another connection with this endpoint. -2096 let msock_2 = magicsock_ep(secret_key_2.clone()).await.unwrap(); -2097 -2098 // This needs an accept task -2099 let accept_task = tokio::spawn({ -2100 async fn accept(ep: quinn::Endpoint) -> Result<()> { -2101 let incoming = ep.accept().await.std_context("no incoming")?; -2102 let _conn = incoming -2103 .accept() -2104 .std_context("accept")? -2105 .await -2106 .std_context("accepting")?; -2107 -2108 // Keep this connection alive for a while -2109 tokio::time::sleep(Duration::from_secs(10)).await; -2110 info!("accept finished"); -2111 Ok(()) -2112 } -2113 let ep = msock_2.endpoint().clone(); -2114 async move { -2115 if let Err(err) = accept(ep).await { -2116 error!("{err:#}"); -2117 } -2118 } -2119 .instrument(info_span!("ep2.accept, me = endpoint_id_2.fmt_short()")) -2120 }); -2121 let _accept_task = AbortOnDropHandle::new(accept_task); -2122 -2123 let addrs = msock_2 -2124 .ip_addrs() -2125 .get() -2126 .into_iter() -2127 .map(|x| TransportAddr::Ip(x.addr)); -2128 let endpoint_addr_2 = EndpointAddr::from_parts(endpoint_id_2, addrs); -2129 let addr = msock_1 -2130 .resolve_remote(endpoint_addr_2) -2131 .await -2132 .unwrap() -2133 .unwrap(); -2134 let res = tokio::time::timeout( -2135 Duration::from_secs(10), -2136 magicsock_connect( -2137 msock_1.endpoint(), -2138 secret_key_1.clone(), -2139 addr, -2140 endpoint_id_2, -2141 ), -2142 ) -2143 .await -2144 .expect("timeout while connecting"); -2145 -2146 // aka assert!(res.is_ok()) but with nicer error reporting. -2147 res.unwrap(); -2148 -2149 // TODO: Now check if we can connect to a repaired ep_3, but we can't modify that -2150 // much internal state for now. -2151 } -2152 -2153 #[tokio::test] -2154 #[traced_test] -2155 async fn test_try_send_no_udp_addr_or_relay_url() { -2156 // This specifically tests the `if udp_addr.is_none() && relay_url.is_none()` -2157 // behaviour of MagicSock::try_send. -2158 -2159 let secret_key_1 = SecretKey::from_bytes(&[1u8; 32]); -2160 let secret_key_2 = SecretKey::from_bytes(&[2u8; 32]); -2161 let endpoint_id_2 = secret_key_2.public(); -2162 -2163 let msock_1 = magicsock_ep(secret_key_1.clone()).await.unwrap(); -2164 let msock_2 = magicsock_ep(secret_key_2.clone()).await.unwrap(); -2165 let ep_2 = msock_2.endpoint().clone(); -2166 -2167 // We need a task to accept the connection. -2168 let accept_task = tokio::spawn({ -2169 async fn accept(ep: quinn::Endpoint) -> Result<()> { -2170 let incoming = ep.accept().await.std_context("no incoming")?; -2171 let conn = incoming -2172 .accept() -2173 .std_context("accept")? -2174 .await -2175 .std_context("connecting")?; -2176 let mut stream = conn.accept_uni().await.std_context("accept uni")?; -2177 stream -2178 .read_to_end(1 << 16) -2179 .await -2180 .std_context("read to end")?; -2181 info!("accept finished"); -2182 Ok(()) -2183 } -2184 async move { -2185 if let Err(err) = accept(ep_2).await { -2186 error!("{err:#}"); -2187 } -2188 } -2189 .instrument(info_span!("ep2.accept", me = %endpoint_id_2.fmt_short())) -2190 }); -2191 let _accept_task = AbortOnDropHandle::new(accept_task); -2192 -2193 // Add an entry in the RemoteMap of ep_1 with an invalid socket address -2194 let empty_addr_2 = EndpointAddr::from_parts( -2195 endpoint_id_2, -2196 [TransportAddr::Ip( -2197 // Reserved IP range for documentation (unreachable) -2198 SocketAddrV4::new([192, 0, 2, 1].into(), 12345).into(), -2199 )], -2200 ); -2201 let addr_2 = msock_1.resolve_remote(empty_addr_2).await.unwrap().unwrap(); -2202 -2203 // Set a low max_idle_timeout so quinn gives up on this quickly and our test does -2204 // not take forever. You need to check the log output to verify this is really -2205 // triggering the correct error. -2206 // In test_try_send_no_send_addr() above you may have noticed we used -2207 // tokio::time::timeout() on the connection attempt instead. Here however we want -2208 // Quinn itself to have fully given up on the connection attempt because we will -2209 // later connect to **the same** endpoint. If Quinn did not give up on the connection -2210 // we'd close it on drop, and the retransmits of the close packets would interfere -2211 // with the next handshake, closing it during the handshake. This makes the test a -2212 // little slower though. -2213 let mut transport_config = quinn::TransportConfig::default(); -2214 transport_config.max_idle_timeout(Some(Duration::from_millis(200).try_into().unwrap())); -2215 let res = magicsock_connect_with_transport_config( -2216 msock_1.endpoint(), -2217 secret_key_1.clone(), -2218 addr_2, -2219 endpoint_id_2, -2220 Arc::new(transport_config), -2221 ) -2222 .await; -2223 assert!(res.is_err(), "expected timeout"); -2224 info!("first connect timed out as expected"); -2225 -2226 // Provide correct addressing information -2227 let correct_addr_2 = EndpointAddr::from_parts( -2228 endpoint_id_2, -2229 msock_2 -2230 .ip_addrs() -2231 .get() -2232 .into_iter() -2233 .map(|x| TransportAddr::Ip(x.addr)), -2234 ); -2235 let addr_2a = msock_1 -2236 .resolve_remote(correct_addr_2) -2237 .await -2238 .unwrap() -2239 .unwrap(); -2240 assert_eq!(addr_2, addr_2a); -2241 -2242 // We can now connect -2243 tokio::time::timeout(Duration::from_secs(10), async move { -2244 info!("establishing new connection"); -2245 let conn = magicsock_connect( -2246 msock_1.endpoint(), -2247 secret_key_1.clone(), -2248 addr_2, -2249 endpoint_id_2, -2250 ) -2251 .await -2252 .unwrap(); -2253 info!("have connection"); -2254 let mut stream = conn.open_uni().await.unwrap(); -2255 stream.write_all(b"hello").await.unwrap(); -2256 stream.finish().unwrap(); -2257 stream.stopped().await.unwrap(); -2258 info!("finished stream"); -2259 }) -2260 .await -2261 .expect("connection timed out"); -2262 -2263 // TODO: could remove the addresses again, send, add it back and see it recover. -2264 // But we don't have that much private access to the RemoteMap. This will do for now. -2265 } -2266} \ No newline at end of file +2079 // Keep this connection alive for a while +2080 tokio::time::sleep(Duration::from_secs(10)).await; +2081 info!("accept finished"); +2082 Ok(()) +2083 } +2084 let ep = msock_2.endpoint().clone(); +2085 async move { +2086 if let Err(err) = accept(ep).await { +2087 error!("{err:#}"); +2088 } +2089 } +2090 .instrument(info_span!("ep2.accept, me = endpoint_id_2.fmt_short()")) +2091 }); +2092 let _accept_task = AbortOnDropHandle::new(accept_task); +2093 +2094 let addrs = msock_2 +2095 .ip_addrs() +2096 .get() +2097 .into_iter() +2098 .map(|x| TransportAddr::Ip(x.addr)); +2099 let endpoint_addr_2 = EndpointAddr::from_parts(endpoint_id_2, addrs); +2100 let addr = msock_1 +2101 .resolve_remote(endpoint_addr_2) +2102 .await +2103 .unwrap() +2104 .unwrap(); +2105 let res = tokio::time::timeout( +2106 Duration::from_secs(10), +2107 magicsock_connect( +2108 msock_1.endpoint(), +2109 secret_key_1.clone(), +2110 addr, +2111 endpoint_id_2, +2112 ), +2113 ) +2114 .await +2115 .expect("timeout while connecting"); +2116 +2117 // aka assert!(res.is_ok()) but with nicer error reporting. +2118 res.unwrap(); +2119 +2120 // TODO: Now check if we can connect to a repaired ep_3, but we can't modify that +2121 // much internal state for now. +2122 } +2123 +2124 #[tokio::test] +2125 #[traced_test] +2126 async fn test_try_send_no_udp_addr_or_relay_url() { +2127 // This specifically tests the `if udp_addr.is_none() && relay_url.is_none()` +2128 // behaviour of MagicSock::try_send. +2129 +2130 let secret_key_1 = SecretKey::from_bytes(&[1u8; 32]); +2131 let secret_key_2 = SecretKey::from_bytes(&[2u8; 32]); +2132 let endpoint_id_2 = secret_key_2.public(); +2133 +2134 let msock_1 = magicsock_ep(secret_key_1.clone()).await.unwrap(); +2135 let msock_2 = magicsock_ep(secret_key_2.clone()).await.unwrap(); +2136 let ep_2 = msock_2.endpoint().clone(); +2137 +2138 // We need a task to accept the connection. +2139 let accept_task = tokio::spawn({ +2140 async fn accept(ep: quinn::Endpoint) -> Result<()> { +2141 let incoming = ep.accept().await.std_context("no incoming")?; +2142 let conn = incoming +2143 .accept() +2144 .std_context("accept")? +2145 .await +2146 .std_context("connecting")?; +2147 let mut stream = conn.accept_uni().await.std_context("accept uni")?; +2148 stream +2149 .read_to_end(1 << 16) +2150 .await +2151 .std_context("read to end")?; +2152 info!("accept finished"); +2153 Ok(()) +2154 } +2155 async move { +2156 if let Err(err) = accept(ep_2).await { +2157 error!("{err:#}"); +2158 } +2159 } +2160 .instrument(info_span!("ep2.accept", me = %endpoint_id_2.fmt_short())) +2161 }); +2162 let _accept_task = AbortOnDropHandle::new(accept_task); +2163 +2164 // Add an entry in the RemoteMap of ep_1 with an invalid socket address +2165 let empty_addr_2 = EndpointAddr::from_parts( +2166 endpoint_id_2, +2167 [TransportAddr::Ip( +2168 // Reserved IP range for documentation (unreachable) +2169 SocketAddrV4::new([192, 0, 2, 1].into(), 12345).into(), +2170 )], +2171 ); +2172 let addr_2 = msock_1.resolve_remote(empty_addr_2).await.unwrap().unwrap(); +2173 +2174 // Set a low max_idle_timeout so quinn gives up on this quickly and our test does +2175 // not take forever. You need to check the log output to verify this is really +2176 // triggering the correct error. +2177 // In test_try_send_no_send_addr() above you may have noticed we used +2178 // tokio::time::timeout() on the connection attempt instead. Here however we want +2179 // Quinn itself to have fully given up on the connection attempt because we will +2180 // later connect to **the same** endpoint. If Quinn did not give up on the connection +2181 // we'd close it on drop, and the retransmits of the close packets would interfere +2182 // with the next handshake, closing it during the handshake. This makes the test a +2183 // little slower though. +2184 let mut transport_config = quinn::TransportConfig::default(); +2185 transport_config.max_idle_timeout(Some(Duration::from_millis(200).try_into().unwrap())); +2186 let res = magicsock_connect_with_transport_config( +2187 msock_1.endpoint(), +2188 secret_key_1.clone(), +2189 addr_2, +2190 endpoint_id_2, +2191 Arc::new(transport_config), +2192 ) +2193 .await; +2194 assert!(res.is_err(), "expected timeout"); +2195 info!("first connect timed out as expected"); +2196 +2197 // Provide correct addressing information +2198 let correct_addr_2 = EndpointAddr::from_parts( +2199 endpoint_id_2, +2200 msock_2 +2201 .ip_addrs() +2202 .get() +2203 .into_iter() +2204 .map(|x| TransportAddr::Ip(x.addr)), +2205 ); +2206 let addr_2a = msock_1 +2207 .resolve_remote(correct_addr_2) +2208 .await +2209 .unwrap() +2210 .unwrap(); +2211 assert_eq!(addr_2, addr_2a); +2212 +2213 // We can now connect +2214 tokio::time::timeout(Duration::from_secs(10), async move { +2215 info!("establishing new connection"); +2216 let conn = magicsock_connect( +2217 msock_1.endpoint(), +2218 secret_key_1.clone(), +2219 addr_2, +2220 endpoint_id_2, +2221 ) +2222 .await +2223 .unwrap(); +2224 info!("have connection"); +2225 let mut stream = conn.open_uni().await.unwrap(); +2226 stream.write_all(b"hello").await.unwrap(); +2227 stream.finish().unwrap(); +2228 stream.stopped().await.unwrap(); +2229 info!("finished stream"); +2230 }) +2231 .await +2232 .expect("connection timed out"); +2233 +2234 // TODO: could remove the addresses again, send, add it back and see it recover. +2235 // But we don't have that much private access to the RemoteMap. This will do for now. +2236 } +2237} \ No newline at end of file diff --git a/pr/3734/docs/src/iroh/magicsock/metrics.rs.html b/pr/3734/docs/src/iroh/magicsock/metrics.rs.html index 07f93f6036..f0bdde9ac7 100644 --- a/pr/3734/docs/src/iroh/magicsock/metrics.rs.html +++ b/pr/3734/docs/src/iroh/magicsock/metrics.rs.html @@ -1,4 +1,4 @@ -metrics.rs - source

    iroh/magicsock/
    metrics.rs

    1use iroh_metrics::{Counter, Histogram, MetricsGroup};
    +metrics.rs - source

    iroh/magicsock/
    metrics.rs

    1use iroh_metrics::{Counter, MetricsGroup};
     2use serde::{Deserialize, Serialize};
     3
     4/// Enum of metrics for the module
    @@ -14,77 +14,50 @@
     14    pub send_ipv4: Counter,
     15    pub send_ipv6: Counter,
     16    pub send_relay: Counter,
    -17    pub send_relay_error: Counter,
    -18
    -19    // Data packets (non-disco)
    -20    pub send_data: Counter,
    -21    pub send_data_network_down: Counter,
    -22    pub recv_data_relay: Counter,
    -23    pub recv_data_ipv4: Counter,
    -24    pub recv_data_ipv6: Counter,
    -25    /// Number of QUIC datagrams received.
    -26    pub recv_datagrams: Counter,
    -27    /// Number of datagrams received using GRO
    -28    pub recv_gro_datagrams: Counter,
    +17
    +18    // Data packets (non-disco)
    +19    pub recv_data_relay: Counter,
    +20    pub recv_data_ipv4: Counter,
    +21    pub recv_data_ipv6: Counter,
    +22    /// Number of QUIC datagrams received.
    +23    pub recv_datagrams: Counter,
    +24    /// Number of datagrams received using GRO
    +25    pub recv_gro_datagrams: Counter,
    +26
    +27    // How many times our relay home endpoint DI has changed from non-zero to a different non-zero.
    +28    pub relay_home_change: Counter,
     29
    -30    // How many times our relay home endpoint DI has changed from non-zero to a different non-zero.
    -31    pub relay_home_change: Counter,
    -32
    -33    /*
    -34     * Holepunching metrics
    -35     */
    -36    /// The number of NAT traversal attempts initiated.
    -37    pub nat_traversal: Counter,
    -38
    -39    /*
    -40     * Connection Metrics
    +30    /*
    +31     * Holepunching metrics
    +32     */
    +33    /// The number of NAT traversal attempts initiated.
    +34    pub nat_traversal: Counter,
    +35
    +36    /*
    +37     * Connection Metrics
    +38     *
    +39     * These all only count connections that completed the TLS handshake successfully. This means
    +40     * that short lived 0RTT connections are potentially not included in these counts.
     41     */
    -42    /// The number of direct connections we have made to peers.
    -43    pub num_direct_conns_added: Counter,
    -44    /// The number of direct connections we have lost to peers.
    -45    pub num_direct_conns_removed: Counter,
    -46    /// The number of connections to peers we have added over relay.
    -47    pub num_relay_conns_added: Counter,
    -48    /// The number of connections to peers we have removed over relay.
    -49    pub num_relay_conns_removed: Counter,
    -50
    -51    pub actor_tick_main: Counter,
    -52    pub actor_tick_msg: Counter,
    -53    pub actor_tick_re_stun: Counter,
    -54    pub actor_tick_portmap_changed: Counter,
    -55    pub actor_tick_direct_addr_heartbeat: Counter,
    -56    pub actor_link_change: Counter,
    -57    pub actor_tick_other: Counter,
    -58
    -59    /// Number of endpoints we have attempted to contact.
    -60    pub endpoints_contacted: Counter,
    -61    /// Number of endpoints we have managed to contact directly.
    -62    pub endpoints_contacted_directly: Counter,
    -63
    -64    /// Number of connections with a successful handshake.
    -65    pub connection_handshake_success: Counter,
    -66    /// Number of connections with a successful handshake that became direct.
    -67    pub connection_became_direct: Counter,
    -68    /// Histogram of connection latency in milliseconds across all endpoint connections.
    -69    #[default(Histogram::new(vec![1.0, 5.0, 10.0, 25.0, 50.0, 100.0, 250.0, 500.0, 1000.0, f64::INFINITY]))]
    -70    pub connection_latency_ms: Histogram,
    -71
    -72    /*
    -73     * Path Congestion Metrics
    -74     */
    -75    /// Number of times a path was marked as outdated due to consecutive ping failures.
    -76    pub path_marked_outdated: Counter,
    -77    /// Number of ping failures recorded across all paths.
    -78    pub path_ping_failures: Counter,
    -79    /// Number of consecutive failure resets (path recovered).
    -80    pub path_failure_resets: Counter,
    -81    /// Histogram of packet loss rates (0.0-1.0) observed on UDP paths.
    -82    #[default(Histogram::new(vec![0.0, 0.01, 0.05, 0.1, 0.2, 0.5, 1.0]))]
    -83    pub path_packet_loss_rate: Histogram,
    -84    /// Histogram of RTT variance (in milliseconds) as a congestion indicator.
    -85    #[default(Histogram::new(vec![0.0, 1.0, 5.0, 10.0, 20.0, 50.0, 100.0, 200.0]))]
    -86    pub path_rtt_variance_ms: Histogram,
    -87    /// Histogram of path quality scores (0.0-1.0).
    -88    #[default(Histogram::new(vec![0.0, 0.3, 0.5, 0.7, 0.85, 0.95, 1.0]))]
    -89    pub path_quality_score: Histogram,
    -90}
    \ No newline at end of file +42 /// Number of connections opened (only handshaked connections are counted). +43 pub num_conns_opened: Counter, +44 /// Number of connections closed (only handshaked connections are counted). +45 pub num_conns_closed: Counter, +46 +47 /// Number of IP transport paths opened. +48 pub transport_ip_paths_added: Counter, +49 /// Number of IP transport paths closed. +50 pub transport_ip_paths_removed: Counter, +51 /// Number of relay transport paths opened. +52 pub transport_relay_paths_added: Counter, +53 /// Number of relay transport paths closed. +54 pub transport_relay_paths_removed: Counter, +55 +56 pub actor_tick_main: Counter, +57 pub actor_tick_msg: Counter, +58 pub actor_tick_re_stun: Counter, +59 pub actor_tick_portmap_changed: Counter, +60 pub actor_tick_direct_addr_heartbeat: Counter, +61 pub actor_link_change: Counter, +62 pub actor_tick_other: Counter, +63}
    \ No newline at end of file diff --git a/pr/3734/docs/src/iroh/magicsock/remote_map.rs.html b/pr/3734/docs/src/iroh/magicsock/remote_map.rs.html index b76ba24415..8af9ead719 100644 --- a/pr/3734/docs/src/iroh/magicsock/remote_map.rs.html +++ b/pr/3734/docs/src/iroh/magicsock/remote_map.rs.html @@ -10,225 +10,242 @@ 10use rustc_hash::FxHashMap; 11use serde::{Deserialize, Serialize}; 12use tokio::sync::mpsc; -13 -14pub(crate) use self::remote_state::PathsWatcher; -15pub(super) use self::remote_state::RemoteStateMessage; -16pub use self::remote_state::{PathInfo, PathInfoList}; -17use self::remote_state::{RemoteStateActor, RemoteStateHandle}; -18use super::{ -19 DirectAddr, MagicsockMetrics, -20 mapped_addrs::{AddrMap, EndpointIdMappedAddr, RelayMappedAddr}, -21}; -22use crate::discovery::ConcurrentDiscovery; -23 -24mod remote_state; -25 -26/// Interval in which handles to closed [`RemoteStateActor`]s should be removed. -27pub(super) const REMOTE_MAP_GC_INTERVAL: Duration = Duration::from_secs(60); +13use tokio_util::sync::CancellationToken; +14 +15pub(crate) use self::remote_state::PathsWatcher; +16pub(super) use self::remote_state::RemoteStateMessage; +17pub use self::remote_state::{ +18 PathInfo, PathInfoList, RemoteInfo, TransportAddrInfo, TransportAddrUsage, +19}; +20use self::remote_state::{RemoteStateActor, RemoteStateHandle}; +21use super::{ +22 DirectAddr, MagicsockMetrics, +23 mapped_addrs::{AddrMap, EndpointIdMappedAddr, RelayMappedAddr}, +24}; +25use crate::discovery::ConcurrentDiscovery; +26 +27mod remote_state; 28 -29// TODO: use this -30// /// Number of endpoints that are inactive for which we keep info about. This limit is enforced -31// /// periodically via [`NodeMap::prune_inactive`]. -32// const MAX_INACTIVE_NODES: usize = 30; -33 -34/// Map containing all the state for endpoints. -35/// -36/// - Has actors which each manage all the connection state for a remote endpoint. -37/// -38/// - Has the mapped addresses we use to refer to non-IP transports destinations into IPv6 -39/// addressing space that is used by Quinn. -40#[derive(Debug)] -41pub(crate) struct RemoteMap { -42 // -43 // State we keep about remote endpoints. -44 // -45 /// The actors tracking each remote endpoint. -46 actor_handles: Mutex<FxHashMap<EndpointId, RemoteStateHandle>>, -47 /// The mapping between [`EndpointId`]s and [`EndpointIdMappedAddr`]s. -48 pub(super) endpoint_mapped_addrs: AddrMap<EndpointId, EndpointIdMappedAddr>, -49 /// The mapping between endpoints via a relay and their [`RelayMappedAddr`]s. -50 pub(super) relay_mapped_addrs: AddrMap<(RelayUrl, EndpointId), RelayMappedAddr>, -51 -52 // -53 // State needed to start a new RemoteStateHandle. -54 // -55 /// The endpoint ID of the local endpoint. -56 local_endpoint_id: EndpointId, -57 metrics: Arc<MagicsockMetrics>, -58 /// The "direct" addresses known for our local endpoint -59 local_direct_addrs: n0_watcher::Direct<BTreeSet<DirectAddr>>, -60 discovery: ConcurrentDiscovery, -61} -62 -63impl RemoteMap { -64 /// Creates a new [`RemoteMap`]. -65 pub(super) fn new( -66 local_endpoint_id: EndpointId, -67 metrics: Arc<MagicsockMetrics>, -68 local_direct_addrs: n0_watcher::Direct<BTreeSet<DirectAddr>>, -69 discovery: ConcurrentDiscovery, -70 ) -> Self { -71 Self { -72 actor_handles: Mutex::new(FxHashMap::default()), -73 endpoint_mapped_addrs: Default::default(), -74 relay_mapped_addrs: Default::default(), -75 local_endpoint_id, -76 metrics, -77 local_direct_addrs, -78 discovery, -79 } -80 } -81 -82 pub(super) fn endpoint_mapped_addr(&self, eid: EndpointId) -> EndpointIdMappedAddr { -83 self.endpoint_mapped_addrs.get(&eid) -84 } -85 -86 /// Removes the handles for terminated [`RemoteStateActor`]s from the endpoint map. -87 /// -88 /// This should be called periodically to remove handles to endpoint state actors -89 /// that have shutdown after their idle timeout expired. -90 pub(super) fn remove_closed_remote_state_actors(&self) { -91 let mut handles = self.actor_handles.lock().expect("poisoned"); -92 handles.retain(|_eid, handle| !handle.sender.is_closed()) -93 } -94 -95 /// Returns the sender for the [`RemoteStateActor`]. -96 /// -97 /// If needed a new actor is started on demand. -98 /// -99 /// [`RemoteStateActor`]: remote_state::RemoteStateActor -100 pub(super) fn remote_state_actor(&self, eid: EndpointId) -> mpsc::Sender<RemoteStateMessage> { -101 let mut handles = self.actor_handles.lock().expect("poisoned"); -102 match handles.entry(eid) { -103 hash_map::Entry::Occupied(mut entry) => { -104 if let Some(sender) = entry.get().sender.get() { -105 sender -106 } else { -107 // The actor is dead: Start a new actor. -108 let (handle, sender) = self.start_remote_state_actor(eid); -109 entry.insert(handle); -110 sender -111 } -112 } -113 hash_map::Entry::Vacant(entry) => { -114 let (handle, sender) = self.start_remote_state_actor(eid); -115 entry.insert(handle); -116 sender -117 } -118 } -119 } -120 -121 /// Starts a new remote state actor and returns a handle and a sender. -122 /// -123 /// The handle is not inserted into the endpoint map, this must be done by the caller of this function. -124 fn start_remote_state_actor( -125 &self, -126 eid: EndpointId, -127 ) -> (RemoteStateHandle, mpsc::Sender<RemoteStateMessage>) { -128 // Ensure there is a RemoteMappedAddr for this EndpointId. -129 self.endpoint_mapped_addrs.get(&eid); -130 let handle = RemoteStateActor::new( -131 eid, -132 self.local_endpoint_id, -133 self.local_direct_addrs.clone(), -134 self.relay_mapped_addrs.clone(), -135 self.metrics.clone(), -136 self.discovery.clone(), -137 ) -138 .start(); -139 let sender = handle.sender.get().expect("just created"); -140 (handle, sender) -141 } -142} -143 -144/// The origin or *source* through which an address associated with a remote endpoint -145/// was discovered. -146/// -147/// An aggregate of the [`Source`]s of all the addresses of an endpoint describe the -148/// [`Source`]s of the endpoint itself. -149/// -150/// A [`Source`] helps track how and where an address was learned. Multiple -151/// sources can be associated with a single address, if we have discovered this -152/// address through multiple means. -153#[derive(Serialize, Deserialize, strum::Display, Debug, Clone, Eq, PartialEq, Hash)] -154#[strum(serialize_all = "kebab-case")] -155#[allow(private_interfaces)] -156pub enum Source { -157 /// An endpoint communicated with us first via UDP. -158 Udp, -159 /// An endpoint communicated with us first via relay. -160 Relay, -161 /// Application layer added the address directly. -162 App, -163 /// The address was discovered by a discovery service. -164 #[strum(serialize = "{name}")] -165 Discovery { -166 /// The name of the discovery service that discovered the address. -167 name: String, -168 }, -169 /// Application layer with a specific name added the endpoint directly. -170 #[strum(serialize = "{name}")] -171 NamedApp { -172 /// The name of the application that added the endpoint -173 name: String, -174 }, -175 /// The address was advertised by a call-me-maybe DISCO message. -176 #[strum(serialize = "CallMeMaybe")] -177 CallMeMaybe { -178 /// private marker -179 _0: Private, -180 }, -181 /// We received a ping on the path. -182 #[strum(serialize = "Ping")] -183 Ping { -184 /// private marker -185 _0: Private, -186 }, -187 /// We established a connection on this address. -188 #[strum(serialize = "Connection")] -189 Connection { -190 /// private marker -191 _0: Private, -192 }, -193} -194 -195/// Helper to ensure certain `Source` variants can not be constructed externally. -196#[derive(Serialize, Deserialize, Debug, Clone, Copy, Eq, PartialEq, Hash)] -197struct Private; -198 -199/// An (Ip, Port) pair. -200/// -201/// NOTE: storing an [`IpPort`] is safer than storing a [`SocketAddr`] because for IPv6 socket -202/// addresses include fields that can't be assumed consistent even within a single connection. -203#[derive(Debug, derive_more::Display, Clone, Copy, Hash, PartialEq, Eq, PartialOrd, Ord)] -204#[display("{}", SocketAddr::from(*self))] -205pub struct IpPort { -206 ip: IpAddr, -207 port: u16, -208} -209 -210impl From<SocketAddr> for IpPort { -211 fn from(socket_addr: SocketAddr) -> Self { -212 Self { -213 ip: socket_addr.ip(), -214 port: socket_addr.port(), -215 } -216 } -217} -218 -219impl From<IpPort> for SocketAddr { -220 fn from(ip_port: IpPort) -> Self { -221 let IpPort { ip, port } = ip_port; -222 (ip, port).into() -223 } -224} -225 -226impl IpPort { -227 pub fn ip(&self) -> &IpAddr { -228 &self.ip -229 } -230 -231 pub fn port(&self) -> u16 { -232 self.port +29/// Interval in which handles to closed [`RemoteStateActor`]s should be removed. +30pub(super) const REMOTE_MAP_GC_INTERVAL: Duration = Duration::from_secs(60); +31 +32// TODO: use this +33// /// Number of endpoints that are inactive for which we keep info about. This limit is enforced +34// /// periodically via [`NodeMap::prune_inactive`]. +35// const MAX_INACTIVE_NODES: usize = 30; +36 +37/// Map containing all the state for endpoints. +38/// +39/// - Has actors which each manage all the connection state for a remote endpoint. +40/// +41/// - Has the mapped addresses we use to refer to non-IP transports destinations into IPv6 +42/// addressing space that is used by Quinn. +43#[derive(Debug)] +44pub(crate) struct RemoteMap { +45 // +46 // State we keep about remote endpoints. +47 // +48 /// The actors tracking each remote endpoint. +49 actor_handles: Mutex<FxHashMap<EndpointId, RemoteStateHandle>>, +50 /// The mapping between [`EndpointId`]s and [`EndpointIdMappedAddr`]s. +51 pub(super) endpoint_mapped_addrs: AddrMap<EndpointId, EndpointIdMappedAddr>, +52 /// The mapping between endpoints via a relay and their [`RelayMappedAddr`]s. +53 pub(super) relay_mapped_addrs: AddrMap<(RelayUrl, EndpointId), RelayMappedAddr>, +54 +55 // +56 // State needed to start a new RemoteStateHandle. +57 // +58 /// The endpoint ID of the local endpoint. +59 local_endpoint_id: EndpointId, +60 metrics: Arc<MagicsockMetrics>, +61 /// The "direct" addresses known for our local endpoint +62 local_direct_addrs: n0_watcher::Direct<BTreeSet<DirectAddr>>, +63 discovery: ConcurrentDiscovery, +64 shutdown_token: CancellationToken, +65} +66 +67impl RemoteMap { +68 /// Creates a new [`RemoteMap`]. +69 pub(super) fn new( +70 local_endpoint_id: EndpointId, +71 metrics: Arc<MagicsockMetrics>, +72 local_direct_addrs: n0_watcher::Direct<BTreeSet<DirectAddr>>, +73 discovery: ConcurrentDiscovery, +74 shutdown_token: CancellationToken, +75 ) -> Self { +76 Self { +77 actor_handles: Mutex::new(FxHashMap::default()), +78 endpoint_mapped_addrs: Default::default(), +79 relay_mapped_addrs: Default::default(), +80 local_endpoint_id, +81 metrics, +82 local_direct_addrs, +83 discovery, +84 shutdown_token, +85 } +86 } +87 +88 pub(super) fn endpoint_mapped_addr(&self, eid: EndpointId) -> EndpointIdMappedAddr { +89 self.endpoint_mapped_addrs.get(&eid) +90 } +91 +92 /// Removes the handles for terminated [`RemoteStateActor`]s from the endpoint map. +93 /// +94 /// This should be called periodically to remove handles to endpoint state actors +95 /// that have shutdown after their idle timeout expired. +96 pub(super) fn remove_closed_remote_state_actors(&self) { +97 let mut handles = self.actor_handles.lock().expect("poisoned"); +98 handles.retain(|_eid, handle| !handle.sender.is_closed()) +99 } +100 +101 /// Returns the sender for the [`RemoteStateActor`]. +102 /// +103 /// If needed a new actor is started on demand. +104 /// +105 /// [`RemoteStateActor`]: remote_state::RemoteStateActor +106 pub(super) fn remote_state_actor(&self, eid: EndpointId) -> mpsc::Sender<RemoteStateMessage> { +107 let mut handles = self.actor_handles.lock().expect("poisoned"); +108 match handles.entry(eid) { +109 hash_map::Entry::Occupied(mut entry) => { +110 if let Some(sender) = entry.get().sender.get() { +111 sender +112 } else { +113 // The actor is dead: Start a new actor. +114 let (handle, sender) = self.start_remote_state_actor(eid); +115 entry.insert(handle); +116 sender +117 } +118 } +119 hash_map::Entry::Vacant(entry) => { +120 let (handle, sender) = self.start_remote_state_actor(eid); +121 entry.insert(handle); +122 sender +123 } +124 } +125 } +126 +127 pub(super) fn remote_state_actor_if_exists( +128 &self, +129 eid: EndpointId, +130 ) -> Option<mpsc::Sender<RemoteStateMessage>> { +131 self.actor_handles +132 .lock() +133 .expect("poisoned") +134 .get(&eid) +135 .and_then(|handle| handle.sender.get()) +136 } +137 +138 /// Starts a new remote state actor and returns a handle and a sender. +139 /// +140 /// The handle is not inserted into the endpoint map, this must be done by the caller of this function. +141 fn start_remote_state_actor( +142 &self, +143 eid: EndpointId, +144 ) -> (RemoteStateHandle, mpsc::Sender<RemoteStateMessage>) { +145 // Ensure there is a RemoteMappedAddr for this EndpointId. +146 self.endpoint_mapped_addrs.get(&eid); +147 let handle = RemoteStateActor::new( +148 eid, +149 self.local_endpoint_id, +150 self.local_direct_addrs.clone(), +151 self.relay_mapped_addrs.clone(), +152 self.metrics.clone(), +153 self.discovery.clone(), +154 ) +155 .start(self.shutdown_token.child_token()); +156 let sender = handle.sender.get().expect("just created"); +157 (handle, sender) +158 } +159} +160 +161/// The origin or *source* through which an address associated with a remote endpoint +162/// was discovered. +163/// +164/// An aggregate of the [`Source`]s of all the addresses of an endpoint describe the +165/// [`Source`]s of the endpoint itself. +166/// +167/// A [`Source`] helps track how and where an address was learned. Multiple +168/// sources can be associated with a single address, if we have discovered this +169/// address through multiple means. +170#[derive(Serialize, Deserialize, strum::Display, Debug, Clone, Eq, PartialEq, Hash)] +171#[strum(serialize_all = "kebab-case")] +172#[allow(private_interfaces)] +173pub enum Source { +174 /// An endpoint communicated with us first via UDP. +175 Udp, +176 /// An endpoint communicated with us first via relay. +177 Relay, +178 /// Application layer added the address directly. +179 App, +180 /// The address was discovered by a discovery service. +181 #[strum(serialize = "{name}")] +182 Discovery { +183 /// The name of the discovery service that discovered the address. +184 name: String, +185 }, +186 /// Application layer with a specific name added the endpoint directly. +187 #[strum(serialize = "{name}")] +188 NamedApp { +189 /// The name of the application that added the endpoint +190 name: String, +191 }, +192 /// The address was advertised by a call-me-maybe DISCO message. +193 #[strum(serialize = "CallMeMaybe")] +194 CallMeMaybe { +195 /// private marker +196 _0: Private, +197 }, +198 /// We received a ping on the path. +199 #[strum(serialize = "Ping")] +200 Ping { +201 /// private marker +202 _0: Private, +203 }, +204 /// We established a connection on this address. +205 #[strum(serialize = "Connection")] +206 Connection { +207 /// private marker +208 _0: Private, +209 }, +210} +211 +212/// Helper to ensure certain `Source` variants can not be constructed externally. +213#[derive(Serialize, Deserialize, Debug, Clone, Copy, Eq, PartialEq, Hash)] +214struct Private; +215 +216/// An (Ip, Port) pair. +217/// +218/// NOTE: storing an [`IpPort`] is safer than storing a [`SocketAddr`] because for IPv6 socket +219/// addresses include fields that can't be assumed consistent even within a single connection. +220#[derive(Debug, derive_more::Display, Clone, Copy, Hash, PartialEq, Eq, PartialOrd, Ord)] +221#[display("{}", SocketAddr::from(*self))] +222pub struct IpPort { +223 ip: IpAddr, +224 port: u16, +225} +226 +227impl From<SocketAddr> for IpPort { +228 fn from(socket_addr: SocketAddr) -> Self { +229 Self { +230 ip: socket_addr.ip(), +231 port: socket_addr.port(), +232 } 233 } -234} \ No newline at end of file +234} +235 +236impl From<IpPort> for SocketAddr { +237 fn from(ip_port: IpPort) -> Self { +238 let IpPort { ip, port } = ip_port; +239 (ip, port).into() +240 } +241} +242 +243impl IpPort { +244 pub fn ip(&self) -> &IpAddr { +245 &self.ip +246 } +247 +248 pub fn port(&self) -> u16 { +249 self.port +250 } +251} \ No newline at end of file diff --git a/pr/3734/docs/src/iroh/magicsock/remote_map/remote_state.rs.html b/pr/3734/docs/src/iroh/magicsock/remote_map/remote_state.rs.html index e0e41dfdcc..7383efab9b 100644 --- a/pr/3734/docs/src/iroh/magicsock/remote_map/remote_state.rs.html +++ b/pr/3734/docs/src/iroh/magicsock/remote_map/remote_state.rs.html @@ -1,6 +1,6 @@ remote_state.rs - source

    iroh/magicsock/remote_map/
    remote_state.rs

    1use std::{
     2    collections::{BTreeSet, VecDeque},
    -3    net::SocketAddr,
    +3    net::{SocketAddr, SocketAddrV4, SocketAddrV6},
     4    pin::Pin,
     5    sync::Arc,
     6    task::Poll,
    @@ -15,1305 +15,1528 @@
     15    time::{self, Duration, Instant},
     16};
     17use n0_watcher::{Watchable, Watcher};
    -18use quinn::{PathStats, WeakConnectionHandle};
    +18use quinn::WeakConnectionHandle;
     19use quinn_proto::{PathError, PathEvent, PathId, PathStatus, iroh_hp};
     20use rustc_hash::FxHashMap;
     21use smallvec::SmallVec;
     22use sync_wrapper::SyncStream;
     23use tokio::sync::oneshot;
     24use tokio_stream::wrappers::{BroadcastStream, errors::BroadcastStreamRecvError};
    -25use tracing::{Instrument, Level, debug, error, event, info_span, instrument, trace, warn};
    -26
    -27use self::{
    -28    guarded_channel::{GuardedReceiver, GuardedSender, guarded_channel},
    -29    path_state::RemotePathState,
    -30};
    -31use super::Source;
    -32use crate::{
    -33    discovery::{ConcurrentDiscovery, Discovery, DiscoveryError, DiscoveryItem},
    -34    endpoint::DirectAddr,
    -35    magicsock::{
    -36        MagicsockMetrics,
    -37        mapped_addrs::{AddrMap, MappedAddr, RelayMappedAddr},
    -38        remote_map::Private,
    -39        transports::{self, OwnedTransmit, TransportsSender},
    -40    },
    -41    util::MaybeFuture,
    -42};
    -43
    -44/// How often to attempt holepunching.
    -45///
    -46/// If there have been no changes to the NAT address candidates, holepunching will not be
    -47/// attempted more frequently than at this interval.
    -48const HOLEPUNCH_ATTEMPTS_INTERVAL: Duration = Duration::from_secs(5);
    -49
    -50mod guarded_channel;
    -51mod path_state;
    -52
    -53// TODO: use this
    -54// /// The latency at or under which we don't try to upgrade to a better path.
    -55// const GOOD_ENOUGH_LATENCY: Duration = Duration::from_millis(5);
    -56
    -57// TODO: use this
    -58// /// How long since the last activity we try to keep an established endpoint peering alive.
    -59// ///
    -60// /// It's also the idle time at which we stop doing QAD queries to keep NAT mappings alive.
    -61// pub(super) const SESSION_ACTIVE_TIMEOUT: Duration = Duration::from_secs(45);
    +25use tokio_util::sync::CancellationToken;
    +26use tracing::{Instrument, Level, debug, error, event, info_span, instrument, trace, warn};
    +27
    +28pub use self::remote_info::{RemoteInfo, TransportAddrInfo, TransportAddrUsage};
    +29use self::{
    +30    guarded_channel::{GuardedReceiver, GuardedSender, guarded_channel},
    +31    path_state::RemotePathState,
    +32};
    +33use super::Source;
    +34use crate::{
    +35    discovery::{ConcurrentDiscovery, Discovery, DiscoveryError, DiscoveryItem},
    +36    endpoint::{DirectAddr, quic::PathStats},
    +37    magicsock::{
    +38        MagicsockMetrics,
    +39        mapped_addrs::{AddrMap, MappedAddr, RelayMappedAddr},
    +40        remote_map::Private,
    +41        transports::{self, OwnedTransmit, TransportsSender},
    +42    },
    +43    util::MaybeFuture,
    +44};
    +45
    +46/// How often to attempt holepunching.
    +47///
    +48/// If there have been no changes to the NAT address candidates, holepunching will not be
    +49/// attempted more frequently than at this interval.
    +50const HOLEPUNCH_ATTEMPTS_INTERVAL: Duration = Duration::from_secs(5);
    +51
    +52/// How often are we checking if we still have a good connection.
    +53const CHECK_CONNECTIONS_INTERVAL: Duration = Duration::from_secs(5);
    +54
    +55mod guarded_channel;
    +56mod path_state;
    +57mod remote_info;
    +58
    +59// TODO: use this
    +60// /// The latency at or under which we don't try to upgrade to a better path.
    +61// const GOOD_ENOUGH_LATENCY: Duration = Duration::from_millis(5);
     62
     63// TODO: use this
    -64// /// How often we try to upgrade to a better path.
    +64// /// How long since the last activity we try to keep an established endpoint peering alive.
     65// ///
    -66// /// Even if we have some non-relay route that works.
    -67// const UPGRADE_INTERVAL: Duration = Duration::from_secs(60);
    +66// /// It's also the idle time at which we stop doing QAD queries to keep NAT mappings alive.
    +67// pub(super) const SESSION_ACTIVE_TIMEOUT: Duration = Duration::from_secs(45);
     68
    -69/// The value which we close paths.
    -70// TODO: Quinn should just do this.  Also, I made this value up.
    -71const APPLICATION_ABANDON_PATH: u8 = 30;
    -72
    -73/// The time after which an idle [`RemoteStateActor`] stops.
    -74///
    -75/// The actor only enters the idle state if no connections are active and no inbox senders exist
    -76/// apart from the one stored in the endpoint map. Stopping and restarting the actor in this state
    -77/// is not an issue; a timeout here serves the purpose of not stopping-and-recreating actors
    -78/// in a high frequency, and to keep data about previous path around for subsequent connections.
    -79const ACTOR_MAX_IDLE_TIMEOUT: Duration = Duration::from_secs(60);
    -80
    -81/// A stream of events from all paths for all connections.
    -82///
    -83/// The connection is identified using [`ConnId`].  The event `Err` variant happens when the
    -84/// actor has lagged processing the events, which is rather critical for us.
    -85type PathEvents = MergeUnbounded<
    -86    Pin<
    -87        Box<dyn Stream<Item = (ConnId, Result<PathEvent, BroadcastStreamRecvError>)> + Send + Sync>,
    -88    >,
    -89>;
    -90
    -91/// A stream of events of announced NAT traversal candidate addresses for all connections.
    -92///
    -93/// The connection is identified using [`ConnId`].
    -94type AddrEvents = MergeUnbounded<
    -95    Pin<
    -96        Box<
    -97            dyn Stream<Item = (ConnId, Result<iroh_hp::Event, BroadcastStreamRecvError>)>
    -98                + Send
    -99                + Sync,
    -100        >,
    -101    >,
    -102>;
    -103
    -104/// Either a stream of incoming results from [`ConcurrentDiscovery::resolve`] or infinitely pending.
    -105///
    -106/// Set to [`Either::Left`] with an always-pending stream while discovery is not running, and to
    -107/// [`Either::Right`] while discovery is running.
    -108///
    -109/// The stream returned from [`ConcurrentDiscovery::resolve`] is `!Sync`. We use the (safe) [`SyncStream`]
    -110/// wrapper to make it `Sync` so that the [`RemoteStateActor::run`] future stays `Send`.
    -111type DiscoveryStream = Either<
    -112    n0_future::stream::Pending<Result<DiscoveryItem, DiscoveryError>>,
    -113    SyncStream<BoxStream<Result<DiscoveryItem, DiscoveryError>>>,
    -114>;
    -115
    -116/// List of addrs and path ids for open paths in a connection.
    -117pub(crate) type PathAddrList = SmallVec<[(TransportAddr, PathId); 4]>;
    -118
    -119/// The state we need to know about a single remote endpoint.
    -120///
    -121/// This actor manages all connections to the remote endpoint.  It will trigger holepunching
    -122/// and select the best path etc.
    -123pub(super) struct RemoteStateActor {
    -124    /// The endpoint ID of the remote endpoint.
    -125    endpoint_id: EndpointId,
    -126    /// The endpoint ID of the local endpoint.
    -127    local_endpoint_id: EndpointId,
    -128
    -129    // Hooks into the rest of the MagicSocket.
    -130    //
    -131    /// Metrics.
    -132    metrics: Arc<MagicsockMetrics>,
    -133    /// Our local addresses.
    -134    ///
    -135    /// These are our local addresses and any reflexive transport addresses.
    -136    local_direct_addrs: n0_watcher::Direct<BTreeSet<DirectAddr>>,
    -137    /// The mapping between endpoints via a relay and their [`RelayMappedAddr`]s.
    -138    relay_mapped_addrs: AddrMap<(RelayUrl, EndpointId), RelayMappedAddr>,
    -139    /// Discovery service, cloned from the magicsock.
    -140    discovery: ConcurrentDiscovery,
    -141
    -142    // Internal state - Quinn Connections we are managing.
    -143    //
    -144    /// All connections we have to this remote endpoint.
    -145    connections: FxHashMap<ConnId, ConnectionState>,
    -146    /// Notifications when connections are closed.
    -147    connections_close: FuturesUnordered<OnClosed>,
    -148    /// Events emitted by Quinn about path changes, for all paths, all connections.
    -149    path_events: PathEvents,
    -150    /// A stream of events of announced NAT traversal candidate addresses for all connections.
    -151    addr_events: AddrEvents,
    -152
    -153    // Internal state - Holepunching and path state.
    -154    //
    -155    /// All possible paths we are aware of.
    -156    ///
    -157    /// These paths might be entirely impossible to use, since they are added by discovery
    -158    /// mechanisms.  The are only potentially usable.
    -159    paths: RemotePathState,
    -160    /// Information about the last holepunching attempt.
    -161    last_holepunch: Option<HolepunchAttempt>,
    -162    /// The path we currently consider the preferred path to the remote endpoint.
    -163    ///
    -164    /// **We expect this path to work.** If we become aware this path is broken then it is
    -165    /// set back to `None`.  Having a selected path does not mean we may not be able to get
    -166    /// a better path: e.g. when the selected path is a relay path we still need to trigger
    -167    /// holepunching regularly.
    -168    ///
    -169    /// We only select a path once the path is functional in Quinn.
    -170    selected_path: Watchable<Option<transports::Addr>>,
    -171    /// Time at which we should schedule the next holepunch attempt.
    -172    scheduled_holepunch: Option<Instant>,
    -173    /// When to next attempt opening paths in [`Self::pending_open_paths`].
    -174    scheduled_open_path: Option<Instant>,
    -175    /// Paths which we still need to open.
    -176    ///
    -177    /// They failed to open because we did not have enough CIDs issued by the remote.
    -178    pending_open_paths: VecDeque<transports::Addr>,
    -179
    -180    // Internal state - Discovery
    -181    //
    -182    /// Stream of discovery results, or always pending if discovery is not running.
    -183    discovery_stream: DiscoveryStream,
    -184}
    -185
    -186impl RemoteStateActor {
    -187    #[allow(clippy::too_many_arguments)]
    -188    pub(super) fn new(
    -189        endpoint_id: EndpointId,
    -190        local_endpoint_id: EndpointId,
    -191        local_direct_addrs: n0_watcher::Direct<BTreeSet<DirectAddr>>,
    -192        relay_mapped_addrs: AddrMap<(RelayUrl, EndpointId), RelayMappedAddr>,
    -193        metrics: Arc<MagicsockMetrics>,
    -194        discovery: ConcurrentDiscovery,
    -195    ) -> Self {
    -196        Self {
    -197            endpoint_id,
    -198            local_endpoint_id,
    -199            metrics,
    -200            local_direct_addrs,
    -201            relay_mapped_addrs,
    -202            discovery,
    -203            connections: FxHashMap::default(),
    -204            connections_close: Default::default(),
    -205            path_events: Default::default(),
    -206            addr_events: Default::default(),
    -207            paths: Default::default(),
    -208            last_holepunch: None,
    -209            selected_path: Default::default(),
    -210            scheduled_holepunch: None,
    -211            scheduled_open_path: None,
    -212            pending_open_paths: VecDeque::new(),
    -213            discovery_stream: Either::Left(n0_future::stream::pending()),
    -214        }
    -215    }
    -216
    -217    pub(super) fn start(self) -> RemoteStateHandle {
    -218        let (tx, rx) = guarded_channel(16);
    -219        let me = self.local_endpoint_id;
    -220        let endpoint_id = self.endpoint_id;
    -221
    -222        // Ideally we'd use the endpoint span as parent.  We'd have to plug that span into
    -223        // here somehow.  Instead we have no parent and explicitly set the me attribute.  If
    -224        // we don't explicitly set a span we get the spans from whatever call happens to
    -225        // first create the actor, which is often very confusing as it then keeps those
    -226        // spans for all logging of the actor.
    -227        let task = task::spawn(self.run(rx).instrument(info_span!(
    -228            parent: None,
    -229            "RemoteStateActor",
    -230            me = %me.fmt_short(),
    -231            remote = %endpoint_id.fmt_short(),
    -232        )));
    -233        RemoteStateHandle {
    -234            sender: tx,
    -235            _task: AbortOnDropHandle::new(task),
    -236        }
    -237    }
    -238
    -239    /// Runs the main loop of the actor.
    -240    ///
    -241    /// Note that the actor uses async handlers for tasks from the main loop.  The actor is
    -242    /// not processing items from the inbox while waiting on any async calls.  So some
    -243    /// discipline is needed to not turn pending for a long time.
    -244    async fn run(mut self, mut inbox: GuardedReceiver<RemoteStateMessage>) {
    -245        trace!("actor started");
    -246        let idle_timeout = time::sleep(ACTOR_MAX_IDLE_TIMEOUT);
    -247        n0_future::pin!(idle_timeout);
    -248        loop {
    -249            let scheduled_path_open = match self.scheduled_open_path {
    -250                Some(when) => MaybeFuture::Some(time::sleep_until(when)),
    -251                None => MaybeFuture::None,
    -252            };
    -253            n0_future::pin!(scheduled_path_open);
    -254            let scheduled_hp = match self.scheduled_holepunch {
    -255                Some(when) => MaybeFuture::Some(time::sleep_until(when)),
    -256                None => MaybeFuture::None,
    -257            };
    -258            n0_future::pin!(scheduled_hp);
    -259            if !inbox.is_idle() || !self.connections.is_empty() {
    -260                idle_timeout
    -261                    .as_mut()
    -262                    .reset(Instant::now() + ACTOR_MAX_IDLE_TIMEOUT);
    -263            }
    -264            tokio::select! {
    -265                biased;
    -266                msg = inbox.recv() => {
    -267                    match msg {
    -268                        Some(msg) => self.handle_message(msg).await,
    -269                        None => break,
    -270                    }
    -271                }
    -272                Some((id, evt)) = self.path_events.next() => {
    -273                    self.handle_path_event(id, evt);
    -274                }
    -275                Some((id, evt)) = self.addr_events.next() => {
    -276                    trace!(?id, ?evt, "remote addrs updated, triggering holepunching");
    -277                    self.trigger_holepunching().await;
    -278                }
    -279                Some(conn_id) = self.connections_close.next(), if !self.connections_close.is_empty() => {
    -280                    self.connections.remove(&conn_id);
    -281                    if self.connections.is_empty() {
    -282                        trace!("last connection closed - clearing selected_path");
    -283                        self.selected_path.set(None).ok();
    -284                    }
    -285                }
    -286                res = self.local_direct_addrs.updated() => {
    -287                    if let Err(n0_watcher::Disconnected) = res {
    -288                        trace!("direct address watcher disconnected, shutting down");
    -289                        break;
    -290                    }
    -291                    self.local_addrs_updated();
    -292                    trace!("local addrs updated, triggering holepunching");
    -293                    self.trigger_holepunching().await;
    +69// TODO: use this
    +70// /// How often we try to upgrade to a better path.
    +71// ///
    +72// /// Even if we have some non-relay route that works.
    +73// const UPGRADE_INTERVAL: Duration = Duration::from_secs(60);
    +74
    +75/// The time after which an idle [`RemoteStateActor`] stops.
    +76///
    +77/// The actor only enters the idle state if no connections are active and no inbox senders exist
    +78/// apart from the one stored in the endpoint map. Stopping and restarting the actor in this state
    +79/// is not an issue; a timeout here serves the purpose of not stopping-and-recreating actors
    +80/// in a high frequency, and to keep data about previous path around for subsequent connections.
    +81const ACTOR_MAX_IDLE_TIMEOUT: Duration = Duration::from_secs(60);
    +82
    +83/// The minimum RTT difference to make it worth switching IP paths
    +84const RTT_SWITCHING_MIN_IP: Duration = Duration::from_millis(5);
    +85
    +86/// How much do we prefer IPv6 over IPv4?
    +87const IPV6_RTT_ADVANTAGE: Duration = Duration::from_millis(3);
    +88
    +89/// A stream of events from all paths for all connections.
    +90///
    +91/// The connection is identified using [`ConnId`].  The event `Err` variant happens when the
    +92/// actor has lagged processing the events, which is rather critical for us.
    +93type PathEvents = MergeUnbounded<
    +94    Pin<
    +95        Box<dyn Stream<Item = (ConnId, Result<PathEvent, BroadcastStreamRecvError>)> + Send + Sync>,
    +96    >,
    +97>;
    +98
    +99/// A stream of events of announced NAT traversal candidate addresses for all connections.
    +100///
    +101/// The connection is identified using [`ConnId`].
    +102type AddrEvents = MergeUnbounded<
    +103    Pin<
    +104        Box<
    +105            dyn Stream<Item = (ConnId, Result<iroh_hp::Event, BroadcastStreamRecvError>)>
    +106                + Send
    +107                + Sync,
    +108        >,
    +109    >,
    +110>;
    +111
    +112/// Either a stream of incoming results from [`ConcurrentDiscovery::resolve`] or infinitely pending.
    +113///
    +114/// Set to [`Either::Left`] with an always-pending stream while discovery is not running, and to
    +115/// [`Either::Right`] while discovery is running.
    +116///
    +117/// The stream returned from [`ConcurrentDiscovery::resolve`] is `!Sync`. We use the (safe) [`SyncStream`]
    +118/// wrapper to make it `Sync` so that the [`RemoteStateActor::run`] future stays `Send`.
    +119type DiscoveryStream = Either<
    +120    n0_future::stream::Pending<Result<DiscoveryItem, DiscoveryError>>,
    +121    SyncStream<BoxStream<Result<DiscoveryItem, DiscoveryError>>>,
    +122>;
    +123
    +124/// List of addrs and path ids for open paths in a connection.
    +125pub(crate) type PathAddrList = SmallVec<[(TransportAddr, PathId); 4]>;
    +126
    +127/// The state we need to know about a single remote endpoint.
    +128///
    +129/// This actor manages all connections to the remote endpoint.  It will trigger holepunching
    +130/// and select the best path etc.
    +131pub(super) struct RemoteStateActor {
    +132    /// The endpoint ID of the remote endpoint.
    +133    endpoint_id: EndpointId,
    +134    /// The endpoint ID of the local endpoint.
    +135    local_endpoint_id: EndpointId,
    +136
    +137    // Hooks into the rest of the MagicSocket.
    +138    //
    +139    /// Metrics.
    +140    metrics: Arc<MagicsockMetrics>,
    +141    /// Our local addresses.
    +142    ///
    +143    /// These are our local addresses and any reflexive transport addresses.
    +144    local_direct_addrs: n0_watcher::Direct<BTreeSet<DirectAddr>>,
    +145    /// The mapping between endpoints via a relay and their [`RelayMappedAddr`]s.
    +146    relay_mapped_addrs: AddrMap<(RelayUrl, EndpointId), RelayMappedAddr>,
    +147    /// Discovery service, cloned from the magicsock.
    +148    discovery: ConcurrentDiscovery,
    +149
    +150    // Internal state - Quinn Connections we are managing.
    +151    //
    +152    /// All connections we have to this remote endpoint.
    +153    connections: FxHashMap<ConnId, ConnectionState>,
    +154    /// Notifications when connections are closed.
    +155    connections_close: FuturesUnordered<OnClosed>,
    +156    /// Events emitted by Quinn about path changes, for all paths, all connections.
    +157    path_events: PathEvents,
    +158    /// A stream of events of announced NAT traversal candidate addresses for all connections.
    +159    addr_events: AddrEvents,
    +160
    +161    // Internal state - Holepunching and path state.
    +162    //
    +163    /// All possible paths we are aware of.
    +164    ///
    +165    /// These paths might be entirely impossible to use, since they are added by discovery
    +166    /// mechanisms.  The are only potentially usable.
    +167    paths: RemotePathState,
    +168    /// Information about the last holepunching attempt.
    +169    last_holepunch: Option<HolepunchAttempt>,
    +170
    +171    /// The path we currently consider the preferred path to the remote endpoint.
    +172    ///
    +173    /// **We expect this path to work.** If we become aware this path is broken then it is
    +174    /// set back to `None`.  Having a selected path does not mean we may not be able to get
    +175    /// a better path: e.g. when the selected path is a relay path we still need to trigger
    +176    /// holepunching regularly.
    +177    ///
    +178    /// We only select a path once the path is functional in Quinn.
    +179    selected_path: Watchable<Option<transports::Addr>>,
    +180    /// Time at which we should schedule the next holepunch attempt.
    +181    scheduled_holepunch: Option<Instant>,
    +182    /// When to next attempt opening paths in [`Self::pending_open_paths`].
    +183    scheduled_open_path: Option<Instant>,
    +184    /// Paths which we still need to open.
    +185    ///
    +186    /// They failed to open because we did not have enough CIDs issued by the remote.
    +187    pending_open_paths: VecDeque<transports::Addr>,
    +188
    +189    // Internal state - Discovery
    +190    //
    +191    /// Stream of discovery results, or always pending if discovery is not running.
    +192    discovery_stream: DiscoveryStream,
    +193}
    +194
    +195impl RemoteStateActor {
    +196    #[allow(clippy::too_many_arguments)]
    +197    pub(super) fn new(
    +198        endpoint_id: EndpointId,
    +199        local_endpoint_id: EndpointId,
    +200        local_direct_addrs: n0_watcher::Direct<BTreeSet<DirectAddr>>,
    +201        relay_mapped_addrs: AddrMap<(RelayUrl, EndpointId), RelayMappedAddr>,
    +202        metrics: Arc<MagicsockMetrics>,
    +203        discovery: ConcurrentDiscovery,
    +204    ) -> Self {
    +205        Self {
    +206            endpoint_id,
    +207            local_endpoint_id,
    +208            metrics: metrics.clone(),
    +209            local_direct_addrs,
    +210            relay_mapped_addrs,
    +211            discovery,
    +212            connections: FxHashMap::default(),
    +213            connections_close: Default::default(),
    +214            path_events: Default::default(),
    +215            addr_events: Default::default(),
    +216            paths: RemotePathState::new(metrics),
    +217            last_holepunch: None,
    +218            selected_path: Default::default(),
    +219            scheduled_holepunch: None,
    +220            scheduled_open_path: None,
    +221            pending_open_paths: VecDeque::new(),
    +222            discovery_stream: Either::Left(n0_future::stream::pending()),
    +223        }
    +224    }
    +225
    +226    pub(super) fn start(self, shutdown_token: CancellationToken) -> RemoteStateHandle {
    +227        let (tx, rx) = guarded_channel(16);
    +228        let me = self.local_endpoint_id;
    +229        let endpoint_id = self.endpoint_id;
    +230
    +231        // Ideally we'd use the endpoint span as parent.  We'd have to plug that span into
    +232        // here somehow.  Instead we have no parent and explicitly set the me attribute.  If
    +233        // we don't explicitly set a span we get the spans from whatever call happens to
    +234        // first create the actor, which is often very confusing as it then keeps those
    +235        // spans for all logging of the actor.
    +236        let task = task::spawn(self.run(rx, shutdown_token).instrument(info_span!(
    +237            parent: None,
    +238            "RemoteStateActor",
    +239            me = %me.fmt_short(),
    +240            remote = %endpoint_id.fmt_short(),
    +241        )));
    +242        RemoteStateHandle {
    +243            sender: tx,
    +244            _task: AbortOnDropHandle::new(task),
    +245        }
    +246    }
    +247
    +248    /// Runs the main loop of the actor.
    +249    ///
    +250    /// Note that the actor uses async handlers for tasks from the main loop.  The actor is
    +251    /// not processing items from the inbox while waiting on any async calls.  So some
    +252    /// discipline is needed to not turn pending for a long time.
    +253    async fn run(
    +254        mut self,
    +255        mut inbox: GuardedReceiver<RemoteStateMessage>,
    +256        shutdown_token: CancellationToken,
    +257    ) {
    +258        trace!("actor started");
    +259        let idle_timeout = time::sleep(ACTOR_MAX_IDLE_TIMEOUT);
    +260        n0_future::pin!(idle_timeout);
    +261
    +262        let check_connections = time::interval(CHECK_CONNECTIONS_INTERVAL);
    +263        n0_future::pin!(check_connections);
    +264
    +265        loop {
    +266            let scheduled_path_open = match self.scheduled_open_path {
    +267                Some(when) => MaybeFuture::Some(time::sleep_until(when)),
    +268                None => MaybeFuture::None,
    +269            };
    +270            n0_future::pin!(scheduled_path_open);
    +271            let scheduled_hp = match self.scheduled_holepunch {
    +272                Some(when) => MaybeFuture::Some(time::sleep_until(when)),
    +273                None => MaybeFuture::None,
    +274            };
    +275            n0_future::pin!(scheduled_hp);
    +276            if !inbox.is_idle() || !self.connections.is_empty() {
    +277                idle_timeout
    +278                    .as_mut()
    +279                    .reset(Instant::now() + ACTOR_MAX_IDLE_TIMEOUT);
    +280            }
    +281
    +282            tokio::select! {
    +283                biased;
    +284
    +285                _ = shutdown_token.cancelled() => {
    +286                    trace!("actor cancelled");
    +287                    break;
    +288                }
    +289                msg = inbox.recv() => {
    +290                    match msg {
    +291                        Some(msg) => self.handle_message(msg).await,
    +292                        None => break,
    +293                    }
     294                }
    -295                _ = &mut scheduled_path_open => {
    -296                    trace!("triggering scheduled path_open");
    -297                    self.scheduled_open_path = None;
    -298                    let mut addrs = std::mem::take(&mut self.pending_open_paths);
    -299                    while let Some(addr) = addrs.pop_front() {
    -300                        self.open_path(&addr);
    -301                    }
    -302                }
    -303                _ = &mut scheduled_hp => {
    -304                    trace!("triggering scheduled holepunching");
    -305                    self.scheduled_holepunch = None;
    -306                    self.trigger_holepunching().await;
    -307                }
    -308                item = self.discovery_stream.next() => {
    -309                    self.handle_discovery_item(item);
    -310                }
    -311                _ = &mut idle_timeout => {
    -312                    if self.connections.is_empty() && inbox.close_if_idle() {
    -313                        trace!("idle timeout expired and still idle: terminate actor");
    -314                        break;
    -315                    } else {
    -316                        // Seems like we weren't really idle, so we reset
    -317                        idle_timeout.as_mut().reset(Instant::now() + ACTOR_MAX_IDLE_TIMEOUT);
    -318                    }
    -319                }
    -320            }
    -321        }
    -322        trace!("actor terminating");
    -323    }
    -324
    -325    /// Handles an actor message.
    -326    ///
    -327    /// Error returns are fatal and kill the actor.
    -328    #[instrument(skip(self))]
    -329    async fn handle_message(&mut self, msg: RemoteStateMessage) {
    -330        // trace!("handling message");
    -331        match msg {
    -332            RemoteStateMessage::SendDatagram(sender, transmit) => {
    -333                self.handle_msg_send_datagram(sender, transmit).await;
    -334            }
    -335            RemoteStateMessage::AddConnection(handle, tx) => {
    -336                self.handle_msg_add_connection(handle, tx).await;
    -337            }
    -338            RemoteStateMessage::ResolveRemote(addrs, tx) => {
    -339                self.handle_msg_resolve_remote(addrs, tx);
    -340            }
    -341        }
    -342    }
    -343
    -344    /// Handles [`RemoteStateMessage::SendDatagram`].
    -345    async fn handle_msg_send_datagram(
    -346        &mut self,
    -347        mut sender: TransportsSender,
    -348        transmit: OwnedTransmit,
    -349    ) {
    -350        // Sending datagrams might fail, e.g. because we don't have the right transports set
    -351        // up to handle sending this owned transmit to.
    -352        // After all, we try every single path that we know (relay URL, IP address), even
    -353        // though we might not have a relay transport or ip-capable transport set up.
    -354        // So these errors must not be fatal for this actor (or even this operation).
    -355
    -356        if let Some(addr) = self.selected_path.get() {
    -357            trace!(?addr, "sending datagram to selected path");
    -358
    -359            if let Err(err) = send_datagram(&mut sender, addr.clone(), transmit).await {
    -360                debug!(?addr, "failed to send datagram on selected_path: {err:#}");
    -361            }
    -362        } else {
    -363            trace!(
    -364                paths = ?self.paths.addrs().collect::<Vec<_>>(),
    -365                "sending datagram to all known paths",
    -366            );
    -367            if self.paths.is_empty() {
    -368                warn!("Cannot send datagrams: No paths to remote endpoint known");
    -369            }
    -370
    -371            for addr in self.paths.addrs() {
    -372                // We never want to send to our local addresses.
    -373                // The local address set is updated in the main loop so we can use `peek` here.
    -374                if let transports::Addr::Ip(sockaddr) = addr
    -375                    && self
    -376                        .local_direct_addrs
    -377                        .peek()
    -378                        .iter()
    -379                        .any(|a| a.addr == *sockaddr)
    -380                {
    -381                    trace!(%sockaddr, "not sending datagram to our own address");
    -382                } else if let Err(err) =
    -383                    send_datagram(&mut sender, addr.clone(), transmit.clone()).await
    -384                {
    -385                    debug!(?addr, "failed to send datagram: {err:#}");
    -386                }
    -387            }
    -388            // This message is received *before* a connection is added.  So we do
    -389            // not yet have a connection to holepunch.  Instead we trigger
    -390            // holepunching when AddConnection is received.
    -391        }
    -392    }
    -393
    -394    /// Handles [`RemoteStateMessage::AddConnection`].
    -395    ///
    -396    /// Error returns are fatal and kill the actor.
    -397    async fn handle_msg_add_connection(
    -398        &mut self,
    -399        handle: WeakConnectionHandle,
    -400        tx: oneshot::Sender<PathsWatcher>,
    -401    ) {
    -402        let pub_open_paths = Watchable::default();
    -403        if let Some(conn) = handle.upgrade() {
    -404            // Remove any conflicting stable_ids from the local state.
    -405            let conn_id = ConnId(conn.stable_id());
    -406            self.connections.remove(&conn_id);
    -407
    -408            // Hook up paths, NAT addresses and connection closed event streams.
    -409            self.path_events.push(Box::pin(
    -410                BroadcastStream::new(conn.path_events()).map(move |evt| (conn_id, evt)),
    -411            ));
    -412            self.addr_events.push(Box::pin(
    -413                BroadcastStream::new(conn.nat_traversal_updates()).map(move |evt| (conn_id, evt)),
    -414            ));
    -415            self.connections_close.push(OnClosed::new(&conn));
    +295                Some((id, evt)) = self.path_events.next() => {
    +296                    self.handle_path_event(id, evt);
    +297                }
    +298                Some((id, evt)) = self.addr_events.next() => {
    +299                    trace!(?id, ?evt, "remote addrs updated, triggering holepunching");
    +300                    self.trigger_holepunching();
    +301                }
    +302                Some(conn_id) = self.connections_close.next(), if !self.connections_close.is_empty() => {
    +303                    self.handle_connection_close(conn_id);
    +304                }
    +305                res = self.local_direct_addrs.updated() => {
    +306                    if let Err(n0_watcher::Disconnected) = res {
    +307                        trace!("direct address watcher disconnected, shutting down");
    +308                        break;
    +309                    }
    +310                    self.local_addrs_updated();
    +311                    trace!("local addrs updated, triggering holepunching");
    +312                    self.trigger_holepunching();
    +313                }
    +314                _ = &mut scheduled_path_open => {
    +315                    trace!("triggering scheduled path_open");
    +316                    self.scheduled_open_path = None;
    +317                    let mut addrs = std::mem::take(&mut self.pending_open_paths);
    +318                    while let Some(addr) = addrs.pop_front() {
    +319                        self.open_path(&addr);
    +320                    }
    +321                }
    +322                _ = &mut scheduled_hp => {
    +323                    trace!("triggering scheduled holepunching");
    +324                    self.scheduled_holepunch = None;
    +325                    self.trigger_holepunching();
    +326                }
    +327                item = self.discovery_stream.next() => {
    +328                    self.handle_discovery_item(item);
    +329                }
    +330                _ = check_connections.tick() => {
    +331                    self.check_connections();
    +332                }
    +333                _ = &mut idle_timeout => {
    +334                    if self.connections.is_empty() && inbox.close_if_idle() {
    +335                        trace!("idle timeout expired and still idle: terminate actor");
    +336                        break;
    +337                    } else {
    +338                        // Seems like we weren't really idle, so we reset
    +339                        idle_timeout.as_mut().reset(Instant::now() + ACTOR_MAX_IDLE_TIMEOUT);
    +340                    }
    +341                }
    +342            }
    +343        }
    +344        trace!("actor terminating");
    +345    }
    +346
    +347    /// Handles an actor message.
    +348    ///
    +349    /// Error returns are fatal and kill the actor.
    +350    #[instrument(skip(self))]
    +351    async fn handle_message(&mut self, msg: RemoteStateMessage) {
    +352        // trace!("handling message");
    +353        match msg {
    +354            RemoteStateMessage::SendDatagram(sender, transmit) => {
    +355                self.handle_msg_send_datagram(sender, transmit).await;
    +356            }
    +357            RemoteStateMessage::AddConnection(handle, tx) => {
    +358                self.handle_msg_add_connection(handle, tx);
    +359            }
    +360            RemoteStateMessage::ResolveRemote(addrs, tx) => {
    +361                self.handle_msg_resolve_remote(addrs, tx);
    +362            }
    +363            RemoteStateMessage::RemoteInfo(tx) => {
    +364                let addrs = self.paths.to_remote_addrs();
    +365                let info = RemoteInfo {
    +366                    endpoint_id: self.endpoint_id,
    +367                    addrs,
    +368                };
    +369                tx.send(info).ok();
    +370            }
    +371        }
    +372    }
    +373
    +374    /// Handles regularly checking if any paths need hole punching currently
    +375    fn check_connections(&mut self) {
    +376        let mut is_goodenough = true;
    +377        for conn in self.connections.values() {
    +378            // If we have at least 1 non relay path, we consider the connection good enough for now
    +379            // TODO: evaluate other criteria, like current RTT etc
    +380            let is_conn_goodenough = conn.open_paths.iter().any(|(_, addr)| !addr.is_relay());
    +381            is_goodenough &= is_conn_goodenough;
    +382        }
    +383
    +384        if !is_goodenough {
    +385            debug!("connections are not good enough, triggering holepunching");
    +386            self.trigger_holepunching();
    +387        }
    +388    }
    +389
    +390    /// Handles [`RemoteStateMessage::SendDatagram`].
    +391    async fn handle_msg_send_datagram(
    +392        &mut self,
    +393        mut sender: TransportsSender,
    +394        transmit: OwnedTransmit,
    +395    ) {
    +396        // Sending datagrams might fail, e.g. because we don't have the right transports set
    +397        // up to handle sending this owned transmit to.
    +398        // After all, we try every single path that we know (relay URL, IP address), even
    +399        // though we might not have a relay transport or ip-capable transport set up.
    +400        // So these errors must not be fatal for this actor (or even this operation).
    +401
    +402        if let Some(addr) = self.selected_path.get() {
    +403            trace!(?addr, "sending datagram to selected path");
    +404
    +405            if let Err(err) = send_datagram(&mut sender, addr.clone(), transmit).await {
    +406                debug!(?addr, "failed to send datagram on selected_path: {err:#}");
    +407            }
    +408        } else {
    +409            trace!(
    +410                paths = ?self.paths.addrs().collect::<Vec<_>>(),
    +411                "sending datagram to all known paths",
    +412            );
    +413            if self.paths.is_empty() {
    +414                warn!("Cannot send datagrams: No paths to remote endpoint known");
    +415            }
     416
    -417            // Add local addrs to the connection
    -418            let local_addrs = self
    -419                .local_direct_addrs
    -420                .get()
    -421                .iter()
    -422                .map(|d| d.addr)
    -423                .collect::<BTreeSet<_>>();
    -424            Self::set_local_addrs(&conn, &local_addrs);
    -425
    -426            // Store the connection
    -427            let conn_state = self
    -428                .connections
    -429                .entry(conn_id)
    -430                .insert_entry(ConnectionState {
    -431                    handle: handle.clone(),
    -432                    pub_open_paths: pub_open_paths.clone(),
    -433                    paths: Default::default(),
    -434                    open_paths: Default::default(),
    -435                    path_ids: Default::default(),
    -436                })
    -437                .into_mut();
    -438
    -439            // Store PathId(0), set path_status and select best path, check if holepunching
    -440            // is needed.
    -441            if let Some(path) = conn.path(PathId::ZERO)
    -442                && let Ok(socketaddr) = path.remote_address()
    -443                && let Some(path_remote) = self.relay_mapped_addrs.to_transport_addr(socketaddr)
    -444            {
    -445                trace!(?path_remote, "added new connection");
    -446                let path_remote_is_ip = path_remote.is_ip();
    -447                let status = match path_remote {
    -448                    transports::Addr::Ip(_) => PathStatus::Available,
    -449                    transports::Addr::Relay(_, _) => PathStatus::Backup,
    -450                };
    -451                path.set_status(status).ok();
    -452                conn_state.add_open_path(path_remote.clone(), PathId::ZERO);
    -453                self.paths
    -454                    .insert_open_path(path_remote.clone(), Source::Connection { _0: Private });
    -455                self.select_path();
    -456
    -457                if path_remote_is_ip {
    -458                    // We may have raced this with a relay address.  Try and add any
    -459                    // relay addresses we have back.
    -460                    let relays = self
    -461                        .paths
    -462                        .addrs()
    -463                        .filter(|a| a.is_relay())
    -464                        .cloned()
    -465                        .collect::<Vec<_>>();
    -466                    for remote in relays {
    -467                        self.open_path(&remote);
    -468                    }
    -469                }
    -470            }
    -471            self.trigger_holepunching().await;
    -472        }
    -473        tx.send(PathsWatcher::new(
    -474            pub_open_paths.watch(),
    -475            self.selected_path.watch(),
    -476            handle,
    -477        ))
    -478        .ok();
    -479    }
    -480
    -481    /// Handles [`RemoteStateMessage::ResolveRemote`].
    -482    fn handle_msg_resolve_remote(
    -483        &mut self,
    -484        addrs: BTreeSet<TransportAddr>,
    -485        tx: oneshot::Sender<Result<(), DiscoveryError>>,
    -486    ) {
    -487        let addrs = to_transports_addr(self.endpoint_id, addrs);
    -488        self.paths.insert_multiple(addrs, Source::App);
    -489        self.paths.resolve_remote(tx);
    -490        // Start discovery if we have no selected path.
    -491        self.trigger_discovery();
    -492    }
    -493
    -494    fn handle_discovery_item(&mut self, item: Option<Result<DiscoveryItem, DiscoveryError>>) {
    -495        match item {
    -496            None => {
    -497                self.discovery_stream = Either::Left(n0_future::stream::pending());
    -498                self.paths.discovery_finished(Ok(()));
    -499            }
    -500            Some(Err(err)) => {
    -501                warn!("Discovery failed: {err:#}");
    -502                self.discovery_stream = Either::Left(n0_future::stream::pending());
    -503                self.paths.discovery_finished(Err(err));
    -504            }
    -505            Some(Ok(item)) => {
    -506                if item.endpoint_id() != self.endpoint_id {
    -507                    warn!(?item, "Discovery emitted item for wrong remote endpoint");
    -508                } else {
    -509                    let source = Source::Discovery {
    -510                        name: item.provenance().to_string(),
    -511                    };
    -512                    let addrs =
    -513                        to_transports_addr(self.endpoint_id, item.into_endpoint_addr().addrs);
    -514                    self.paths.insert_multiple(addrs, source);
    -515                }
    -516            }
    -517        }
    -518    }
    -519
    -520    /// Triggers discovery for the remote endpoint, if needed.
    -521    ///
    -522    /// Does not start discovery if we have a selected path or if discovery is currently running.
    -523    fn trigger_discovery(&mut self) {
    -524        if self.selected_path.get().is_some() || matches!(self.discovery_stream, Either::Right(_)) {
    -525            return;
    -526        }
    -527        match self.discovery.resolve(self.endpoint_id) {
    -528            Some(stream) => self.discovery_stream = Either::Right(SyncStream::new(stream)),
    -529            None => self.paths.discovery_finished(Ok(())),
    -530        }
    -531    }
    -532
    -533    /// Sets the current local addresses to QNT's state to all connections
    -534    fn local_addrs_updated(&mut self) {
    -535        let local_addrs = self
    -536            .local_direct_addrs
    -537            .get()
    -538            .iter()
    -539            .map(|d| d.addr)
    -540            .collect::<BTreeSet<_>>();
    -541
    -542        for conn in self.connections.values().filter_map(|s| s.handle.upgrade()) {
    -543            Self::set_local_addrs(&conn, &local_addrs);
    +417            for addr in self.paths.addrs() {
    +418                // We never want to send to our local addresses.
    +419                // The local address set is updated in the main loop so we can use `peek` here.
    +420                if let transports::Addr::Ip(sockaddr) = addr
    +421                    && self
    +422                        .local_direct_addrs
    +423                        .peek()
    +424                        .iter()
    +425                        .any(|a| a.addr == *sockaddr)
    +426                {
    +427                    trace!(%sockaddr, "not sending datagram to our own address");
    +428                } else if let Err(err) =
    +429                    send_datagram(&mut sender, addr.clone(), transmit.clone()).await
    +430                {
    +431                    debug!(?addr, "failed to send datagram: {err:#}");
    +432                }
    +433            }
    +434            // This message is received *before* a connection is added.  So we do
    +435            // not yet have a connection to holepunch.  Instead we trigger
    +436            // holepunching when AddConnection is received.
    +437        }
    +438    }
    +439
    +440    /// Handles [`RemoteStateMessage::AddConnection`].
    +441    ///
    +442    /// Error returns are fatal and kill the actor.
    +443    fn handle_msg_add_connection(
    +444        &mut self,
    +445        handle: WeakConnectionHandle,
    +446        tx: oneshot::Sender<PathsWatcher>,
    +447    ) {
    +448        let pub_open_paths = Watchable::default();
    +449        if let Some(conn) = handle.upgrade() {
    +450            self.metrics.num_conns_opened.inc();
    +451            // Remove any conflicting stable_ids from the local state.
    +452            let conn_id = ConnId(conn.stable_id());
    +453            self.connections.remove(&conn_id);
    +454
    +455            // Hook up paths, NAT addresses and connection closed event streams.
    +456            self.path_events.push(Box::pin(
    +457                BroadcastStream::new(conn.path_events()).map(move |evt| (conn_id, evt)),
    +458            ));
    +459            self.addr_events.push(Box::pin(
    +460                BroadcastStream::new(conn.nat_traversal_updates()).map(move |evt| (conn_id, evt)),
    +461            ));
    +462            self.connections_close.push(OnClosed::new(&conn));
    +463
    +464            // Add local addrs to the connection
    +465            let local_addrs = self
    +466                .local_direct_addrs
    +467                .get()
    +468                .iter()
    +469                .map(|d| d.addr)
    +470                .collect::<BTreeSet<_>>();
    +471            Self::set_local_addrs(&conn, &local_addrs);
    +472
    +473            // Store the connection
    +474            let conn_state = self
    +475                .connections
    +476                .entry(conn_id)
    +477                .insert_entry(ConnectionState {
    +478                    handle: handle.clone(),
    +479                    pub_open_paths: pub_open_paths.clone(),
    +480                    paths: Default::default(),
    +481                    open_paths: Default::default(),
    +482                    path_ids: Default::default(),
    +483                })
    +484                .into_mut();
    +485
    +486            // Store PathId(0), set path_status and select best path, check if holepunching
    +487            // is needed.
    +488            if let Some(path) = conn.path(PathId::ZERO)
    +489                && let Ok(socketaddr) = path.remote_address()
    +490                && let Some(path_remote) = self.relay_mapped_addrs.to_transport_addr(socketaddr)
    +491            {
    +492                trace!(?path_remote, "added new connection");
    +493                let path_remote_is_ip = path_remote.is_ip();
    +494                let status = match path_remote {
    +495                    transports::Addr::Ip(_) => PathStatus::Available,
    +496                    transports::Addr::Relay(_, _) => PathStatus::Backup,
    +497                };
    +498                path.set_status(status).ok();
    +499                conn_state.add_open_path(path_remote.clone(), PathId::ZERO);
    +500                self.paths
    +501                    .insert_open_path(path_remote.clone(), Source::Connection { _0: Private });
    +502                self.select_path();
    +503
    +504                if path_remote_is_ip {
    +505                    // We may have raced this with a relay address.  Try and add any
    +506                    // relay addresses we have back.
    +507                    let relays = self
    +508                        .paths
    +509                        .addrs()
    +510                        .filter(|a| a.is_relay())
    +511                        .cloned()
    +512                        .collect::<Vec<_>>();
    +513                    for remote in relays {
    +514                        self.open_path(&remote);
    +515                    }
    +516                }
    +517            }
    +518            self.trigger_holepunching();
    +519        }
    +520        tx.send(PathsWatcher::new(
    +521            pub_open_paths.watch(),
    +522            self.selected_path.watch(),
    +523            handle,
    +524        ))
    +525        .ok();
    +526    }
    +527
    +528    /// Handles [`RemoteStateMessage::ResolveRemote`].
    +529    fn handle_msg_resolve_remote(
    +530        &mut self,
    +531        addrs: BTreeSet<TransportAddr>,
    +532        tx: oneshot::Sender<Result<(), DiscoveryError>>,
    +533    ) {
    +534        let addrs = to_transports_addr(self.endpoint_id, addrs);
    +535        self.paths.insert_multiple(addrs, Source::App);
    +536        self.paths.resolve_remote(tx);
    +537        // Start discovery if we have no selected path.
    +538        self.trigger_discovery();
    +539    }
    +540
    +541    fn handle_connection_close(&mut self, conn_id: ConnId) {
    +542        if self.connections.remove(&conn_id).is_some() {
    +543            self.metrics.num_conns_closed.inc();
     544        }
    -545        // todo: trace
    -546    }
    -547
    -548    /// Sets the current local addresses to QNT's state
    -549    fn set_local_addrs(conn: &quinn::Connection, local_addrs: &BTreeSet<SocketAddr>) {
    -550        let quinn_local_addrs = match conn.get_local_nat_traversal_addresses() {
    -551            Ok(addrs) => BTreeSet::from_iter(addrs),
    -552            Err(err) => {
    -553                warn!("failed to get local nat candidates: {err:#}");
    -554                return;
    -555            }
    -556        };
    -557        for addr in local_addrs.difference(&quinn_local_addrs) {
    -558            if let Err(err) = conn.add_nat_traversal_address(*addr) {
    -559                warn!("failed adding local addr: {err:#}",);
    -560            }
    -561        }
    -562        for addr in quinn_local_addrs.difference(local_addrs) {
    -563            if let Err(err) = conn.remove_nat_traversal_address(*addr) {
    -564                warn!("failed removing local addr: {err:#}");
    -565            }
    -566        }
    -567        trace!(?local_addrs, "updated local QNT addresses");
    -568    }
    -569
    -570    /// Triggers holepunching to the remote endpoint.
    -571    ///
    -572    /// This will manage the entire process of holepunching with the remote endpoint.
    -573    ///
    -574    /// - Holepunching happens on the Connection with the lowest [`ConnId`] which is a
    -575    ///   client.
    -576    ///   - Both endpoints may initiate holepunching if both have a client connection.
    -577    ///   - Any opened paths are opened on all other connections without holepunching.
    -578    /// - If there are no changes in local or remote candidate addresses since the
    -579    ///   last attempt **and** there was a recent attempt, a trigger_holepunching call
    -580    ///   will be scheduled instead.
    -581    async fn trigger_holepunching(&mut self) {
    -582        if self.connections.is_empty() {
    -583            trace!("not holepunching: no connections");
    -584            return;
    -585        }
    -586
    -587        let Some(conn) = self
    -588            .connections
    -589            .iter()
    -590            .filter_map(|(id, state)| state.handle.upgrade().map(|conn| (*id, conn)))
    -591            .filter(|(_, conn)| conn.side().is_client())
    -592            .min_by_key(|(id, _)| *id)
    -593            .map(|(_, conn)| conn)
    -594        else {
    -595            trace!("not holepunching: no client connection");
    -596            return;
    -597        };
    -598        let remote_candidates = match conn.get_remote_nat_traversal_addresses() {
    -599            Ok(addrs) => BTreeSet::from_iter(addrs),
    -600            Err(err) => {
    -601                warn!("failed to get nat candidate addresses: {err:#}");
    -602                return;
    -603            }
    -604        };
    -605        let local_candidates: BTreeSet<SocketAddr> = self
    -606            .local_direct_addrs
    -607            .get()
    -608            .iter()
    -609            .map(|daddr| daddr.addr)
    -610            .collect();
    -611        let new_candidates = self
    -612            .last_holepunch
    -613            .as_ref()
    -614            .map(|last_hp| {
    -615                // Addrs are allowed to disappear, but if there are new ones we need to
    -616                // holepunch again.
    -617                trace!(
    -618                    ?last_hp,
    -619                    ?local_candidates,
    -620                    ?remote_candidates,
    -621                    "candidates to holepunch?"
    -622                );
    -623                !remote_candidates.is_subset(&last_hp.remote_candidates)
    -624                    || !local_candidates.is_subset(&last_hp.local_candidates)
    -625            })
    -626            .unwrap_or(true);
    -627        if !new_candidates {
    -628            if let Some(ref last_hp) = self.last_holepunch {
    -629                let next_hp = last_hp.when + HOLEPUNCH_ATTEMPTS_INTERVAL;
    -630                let now = Instant::now();
    -631                if next_hp > now {
    -632                    trace!(scheduled_in = ?(next_hp - now), "not holepunching: no new addresses");
    -633                    self.scheduled_holepunch = Some(next_hp);
    -634                    return;
    -635                }
    -636            }
    -637        }
    -638
    -639        self.do_holepunching(conn).await;
    -640    }
    -641
    -642    /// Unconditionally perform holepunching.
    -643    #[instrument(skip_all)]
    -644    async fn do_holepunching(&mut self, conn: quinn::Connection) {
    -645        self.metrics.nat_traversal.inc();
    -646        let local_candidates = self
    -647            .local_direct_addrs
    -648            .get()
    -649            .iter()
    -650            .map(|daddr| daddr.addr)
    -651            .collect::<BTreeSet<_>>();
    -652        match conn.initiate_nat_traversal_round() {
    -653            Ok(remote_candidates) => {
    -654                let remote_candidates = remote_candidates
    -655                    .iter()
    -656                    .map(|addr| SocketAddr::new(addr.ip().to_canonical(), addr.port()))
    -657                    .collect();
    -658                event!(
    -659                    target: "iroh::_events::qnt::init",
    -660                    Level::DEBUG,
    -661                    remote = %self.endpoint_id.fmt_short(),
    -662                    ?local_candidates,
    -663                    ?remote_candidates,
    -664                );
    -665                self.last_holepunch = Some(HolepunchAttempt {
    -666                    when: Instant::now(),
    -667                    local_candidates,
    -668                    remote_candidates,
    -669                });
    -670            }
    -671            Err(err) => {
    -672                warn!("failed to initiate NAT traversal: {err:#}");
    -673            }
    -674        }
    -675    }
    -676
    -677    /// Open the path on all connections.
    -678    ///
    -679    /// This goes through all the connections for which we are the client, and makes sure
    -680    /// the path exists, or opens it.
    -681    #[instrument(level = "warn", skip(self))]
    -682    fn open_path(&mut self, open_addr: &transports::Addr) {
    -683        let path_status = match open_addr {
    -684            transports::Addr::Ip(_) => PathStatus::Available,
    -685            transports::Addr::Relay(_, _) => PathStatus::Backup,
    -686        };
    -687        let quic_addr = match &open_addr {
    -688            transports::Addr::Ip(socket_addr) => *socket_addr,
    -689            transports::Addr::Relay(relay_url, eid) => self
    -690                .relay_mapped_addrs
    -691                .get(&(relay_url.clone(), *eid))
    -692                .private_socket_addr(),
    -693        };
    -694
    -695        for (conn_id, conn_state) in self.connections.iter_mut() {
    -696            if conn_state.path_ids.contains_key(open_addr) {
    -697                continue;
    -698            }
    -699            let Some(conn) = conn_state.handle.upgrade() else {
    -700                continue;
    -701            };
    -702            if conn.side().is_server() {
    -703                continue;
    -704            }
    -705            let fut = conn.open_path_ensure(quic_addr, path_status);
    -706            match fut.path_id() {
    -707                Some(path_id) => {
    -708                    trace!(?conn_id, ?path_id, "opening new path");
    -709                    conn_state.add_path(open_addr.clone(), path_id);
    -710                }
    -711                None => {
    -712                    let ret = now_or_never(fut);
    -713                    match ret {
    -714                        Some(Err(PathError::RemoteCidsExhausted)) => {
    -715                            self.scheduled_open_path =
    -716                                Some(Instant::now() + Duration::from_millis(333));
    -717                            self.pending_open_paths.push_back(open_addr.clone());
    -718                            trace!(?open_addr, "scheduling open_path");
    -719                        }
    -720                        _ => warn!(?ret, "Opening path failed"),
    -721                    }
    -722                }
    -723            }
    -724        }
    -725    }
    -726
    -727    #[instrument(skip(self))]
    -728    fn handle_path_event(
    -729        &mut self,
    -730        conn_id: ConnId,
    -731        event: Result<PathEvent, BroadcastStreamRecvError>,
    -732    ) {
    -733        let Ok(event) = event else {
    -734            warn!("missed a PathEvent, RemoteStateActor lagging");
    -735            // TODO: Is it possible to recover using the sync APIs to figure out what the
    -736            //    state of the connection and it's paths are?
    -737            return;
    -738        };
    -739        let Some(conn_state) = self.connections.get_mut(&conn_id) else {
    -740            trace!("event for removed connection");
    -741            return;
    -742        };
    -743        let Some(conn) = conn_state.handle.upgrade() else {
    -744            trace!("event for closed connection");
    -745            return;
    -746        };
    -747        trace!("path event");
    -748        match event {
    -749            PathEvent::Opened { id: path_id } => {
    -750                let Some(path) = conn.path(path_id) else {
    -751                    trace!("path open event for unknown path");
    -752                    return;
    -753                };
    -754
    -755                if let Ok(socketaddr) = path.remote_address()
    -756                    && let Some(path_remote) = self.relay_mapped_addrs.to_transport_addr(socketaddr)
    -757                {
    -758                    event!(
    -759                        target: "iroh::_events::path::open",
    -760                        Level::DEBUG,
    -761                        remote = %self.endpoint_id.fmt_short(),
    -762                        ?path_remote,
    -763                        ?conn_id,
    -764                        ?path_id,
    -765                    );
    -766                    conn_state.add_open_path(path_remote.clone(), path_id);
    -767                    self.paths
    -768                        .insert_open_path(path_remote.clone(), Source::Connection { _0: Private });
    -769                }
    -770
    -771                self.select_path();
    +545        if self.connections.is_empty() {
    +546            trace!("last connection closed - clearing selected_path");
    +547            self.selected_path.set(None).ok();
    +548        }
    +549    }
    +550
    +551    fn handle_discovery_item(&mut self, item: Option<Result<DiscoveryItem, DiscoveryError>>) {
    +552        match item {
    +553            None => {
    +554                self.discovery_stream = Either::Left(n0_future::stream::pending());
    +555                self.paths.discovery_finished(Ok(()));
    +556            }
    +557            Some(Err(err)) => {
    +558                warn!("Discovery failed: {err:#}");
    +559                self.discovery_stream = Either::Left(n0_future::stream::pending());
    +560                self.paths.discovery_finished(Err(err));
    +561            }
    +562            Some(Ok(item)) => {
    +563                if item.endpoint_id() != self.endpoint_id {
    +564                    warn!(?item, "Discovery emitted item for wrong remote endpoint");
    +565                } else {
    +566                    let source = Source::Discovery {
    +567                        name: item.provenance().to_string(),
    +568                    };
    +569                    let addrs =
    +570                        to_transports_addr(self.endpoint_id, item.into_endpoint_addr().addrs);
    +571                    self.paths.insert_multiple(addrs, source);
    +572                }
    +573            }
    +574        }
    +575    }
    +576
    +577    /// Triggers discovery for the remote endpoint, if needed.
    +578    ///
    +579    /// Does not start discovery if we have a selected path or if discovery is currently running.
    +580    fn trigger_discovery(&mut self) {
    +581        if self.selected_path.get().is_some() || matches!(self.discovery_stream, Either::Right(_)) {
    +582            return;
    +583        }
    +584        match self.discovery.resolve(self.endpoint_id) {
    +585            Some(stream) => self.discovery_stream = Either::Right(SyncStream::new(stream)),
    +586            None => self.paths.discovery_finished(Ok(())),
    +587        }
    +588    }
    +589
    +590    /// Sets the current local addresses to QNT's state to all connections
    +591    fn local_addrs_updated(&mut self) {
    +592        let local_addrs = self
    +593            .local_direct_addrs
    +594            .get()
    +595            .iter()
    +596            .map(|d| d.addr)
    +597            .collect::<BTreeSet<_>>();
    +598
    +599        for conn in self.connections.values().filter_map(|s| s.handle.upgrade()) {
    +600            Self::set_local_addrs(&conn, &local_addrs);
    +601        }
    +602        // todo: trace
    +603    }
    +604
    +605    /// Sets the current local addresses to QNT's state
    +606    fn set_local_addrs(conn: &quinn::Connection, local_addrs: &BTreeSet<SocketAddr>) {
    +607        let quinn_local_addrs = match conn.get_local_nat_traversal_addresses() {
    +608            Ok(addrs) => BTreeSet::from_iter(addrs),
    +609            Err(err) => {
    +610                warn!("failed to get local nat candidates: {err:#}");
    +611                return;
    +612            }
    +613        };
    +614        for addr in local_addrs.difference(&quinn_local_addrs) {
    +615            if let Err(err) = conn.add_nat_traversal_address(*addr) {
    +616                warn!("failed adding local addr: {err:#}",);
    +617            }
    +618        }
    +619        for addr in quinn_local_addrs.difference(local_addrs) {
    +620            if let Err(err) = conn.remove_nat_traversal_address(*addr) {
    +621                warn!("failed removing local addr: {err:#}");
    +622            }
    +623        }
    +624        trace!(?local_addrs, "updated local QNT addresses");
    +625    }
    +626
    +627    /// Triggers holepunching to the remote endpoint.
    +628    ///
    +629    /// This will manage the entire process of holepunching with the remote endpoint.
    +630    ///
    +631    /// - Holepunching happens on the Connection with the lowest [`ConnId`] which is a
    +632    ///   client.
    +633    ///   - Both endpoints may initiate holepunching if both have a client connection.
    +634    ///   - Any opened paths are opened on all other connections without holepunching.
    +635    /// - If there are no changes in local or remote candidate addresses since the
    +636    ///   last attempt **and** there was a recent attempt, a trigger_holepunching call
    +637    ///   will be scheduled instead.
    +638    fn trigger_holepunching(&mut self) {
    +639        if self.connections.is_empty() {
    +640            trace!("not holepunching: no connections");
    +641            return;
    +642        }
    +643
    +644        let Some(conn) = self
    +645            .connections
    +646            .iter()
    +647            .filter_map(|(id, state)| state.handle.upgrade().map(|conn| (*id, conn)))
    +648            .filter(|(_, conn)| conn.side().is_client())
    +649            .min_by_key(|(id, _)| *id)
    +650            .map(|(_, conn)| conn)
    +651        else {
    +652            trace!("not holepunching: no client connection");
    +653            return;
    +654        };
    +655        let remote_candidates = match conn.get_remote_nat_traversal_addresses() {
    +656            Ok(addrs) => BTreeSet::from_iter(addrs),
    +657            Err(err) => {
    +658                warn!("failed to get nat candidate addresses: {err:#}");
    +659                return;
    +660            }
    +661        };
    +662        let local_candidates: BTreeSet<SocketAddr> = self
    +663            .local_direct_addrs
    +664            .get()
    +665            .iter()
    +666            .map(|daddr| daddr.addr)
    +667            .collect();
    +668        let new_candidates = self
    +669            .last_holepunch
    +670            .as_ref()
    +671            .map(|last_hp| {
    +672                // Addrs are allowed to disappear, but if there are new ones we need to
    +673                // holepunch again.
    +674                trace!(
    +675                    ?last_hp,
    +676                    ?local_candidates,
    +677                    ?remote_candidates,
    +678                    "candidates to holepunch?"
    +679                );
    +680                !remote_candidates.is_subset(&last_hp.remote_candidates)
    +681                    || !local_candidates.is_subset(&last_hp.local_candidates)
    +682            })
    +683            .unwrap_or(true);
    +684        if !new_candidates {
    +685            if let Some(ref last_hp) = self.last_holepunch {
    +686                let next_hp = last_hp.when + HOLEPUNCH_ATTEMPTS_INTERVAL;
    +687                let now = Instant::now();
    +688                if next_hp > now {
    +689                    trace!(scheduled_in = ?(next_hp - now), "not holepunching: no new addresses");
    +690                    self.scheduled_holepunch = Some(next_hp);
    +691                    return;
    +692                }
    +693            }
    +694        }
    +695
    +696        self.do_holepunching(conn);
    +697    }
    +698
    +699    /// Unconditionally perform holepunching.
    +700    #[instrument(skip_all)]
    +701    fn do_holepunching(&mut self, conn: quinn::Connection) {
    +702        self.metrics.nat_traversal.inc();
    +703        let local_candidates = self
    +704            .local_direct_addrs
    +705            .get()
    +706            .iter()
    +707            .map(|daddr| daddr.addr)
    +708            .collect::<BTreeSet<_>>();
    +709
    +710        match conn.initiate_nat_traversal_round() {
    +711            Ok(remote_candidates) => {
    +712                let remote_candidates = remote_candidates
    +713                    .iter()
    +714                    .map(|addr| SocketAddr::new(addr.ip().to_canonical(), addr.port()))
    +715                    .collect();
    +716                event!(
    +717                    target: "iroh::_events::qnt::init",
    +718                    Level::DEBUG,
    +719                    remote = %self.endpoint_id.fmt_short(),
    +720                    ?local_candidates,
    +721                    ?remote_candidates,
    +722                );
    +723                self.last_holepunch = Some(HolepunchAttempt {
    +724                    when: Instant::now(),
    +725                    local_candidates,
    +726                    remote_candidates,
    +727                });
    +728            }
    +729            Err(err) => {
    +730                debug!("failed to initiate NAT traversal: {err:#}");
    +731                use quinn_proto::iroh_hp::Error;
    +732                match err {
    +733                    Error::Closed
    +734                    | Error::TooManyAddresses
    +735                    | Error::WrongConnectionSide
    +736                    | Error::ExtensionNotNegotiated => {
    +737                        // Fatal, no need to retry for now
    +738                    }
    +739                    Error::Multipath(_) | Error::NotEnoughAddresses => {
    +740                        // Retry in a bit
    +741                        let now = Instant::now();
    +742                        let next_hp = now + Duration::from_millis(100);
    +743                        trace!(scheduled_in = ?(next_hp - now), "holepunching retry");
    +744                        self.scheduled_holepunch = Some(next_hp);
    +745                    }
    +746                }
    +747            }
    +748        }
    +749    }
    +750
    +751    /// Open the path on all connections.
    +752    ///
    +753    /// This goes through all the connections for which we are the client, and makes sure
    +754    /// the path exists, or opens it.
    +755    #[instrument(level = "warn", skip(self))]
    +756    fn open_path(&mut self, open_addr: &transports::Addr) {
    +757        let path_status = match open_addr {
    +758            transports::Addr::Ip(_) => PathStatus::Available,
    +759            transports::Addr::Relay(_, _) => PathStatus::Backup,
    +760        };
    +761        let quic_addr = match &open_addr {
    +762            transports::Addr::Ip(socket_addr) => *socket_addr,
    +763            transports::Addr::Relay(relay_url, eid) => self
    +764                .relay_mapped_addrs
    +765                .get(&(relay_url.clone(), *eid))
    +766                .private_socket_addr(),
    +767        };
    +768
    +769        for (conn_id, conn_state) in self.connections.iter_mut() {
    +770            if conn_state.path_ids.contains_key(open_addr) {
    +771                continue;
     772            }
    -773            PathEvent::Abandoned { id, path_stats } => {
    -774                trace!(?path_stats, "path abandoned");
    -775                // This is the last event for this path.
    -776                if let Some(addr) = conn_state.remove_path(&id) {
    -777                    self.paths.abandoned_path(&addr);
    -778                }
    -779            }
    -780            PathEvent::Closed { id, .. } | PathEvent::LocallyClosed { id, .. } => {
    -781                let Some(path_remote) = conn_state.paths.get(&id).cloned() else {
    -782                    debug!("path not in path_id_map");
    -783                    return;
    -784                };
    -785                event!(
    -786                    target: "iroh::_events::path::closed",
    -787                    Level::DEBUG,
    -788                    remote = %self.endpoint_id.fmt_short(),
    -789                    ?path_remote,
    -790                    ?conn_id,
    -791                    path_id = ?id,
    -792                );
    -793                conn_state.remove_open_path(&id);
    -794
    -795                // If one connection closes this path, close it on all connections.
    -796                for (conn_id, conn_state) in self.connections.iter_mut() {
    -797                    let Some(path_id) = conn_state.path_ids.get(&path_remote) else {
    -798                        continue;
    -799                    };
    -800                    let Some(conn) = conn_state.handle.upgrade() else {
    -801                        continue;
    -802                    };
    -803                    if let Some(path) = conn.path(*path_id) {
    -804                        trace!(?path_remote, ?conn_id, ?path_id, "closing path");
    -805                        if let Err(err) = path.close(APPLICATION_ABANDON_PATH.into()) {
    -806                            trace!(
    -807                                ?path_remote,
    -808                                ?conn_id,
    -809                                ?path_id,
    -810                                "path close failed: {err:#}"
    -811                            );
    -812                        }
    -813                    }
    -814                }
    -815
    -816                // If the remote closed our selected path, select a new one.
    -817                self.select_path();
    -818            }
    -819            PathEvent::RemoteStatus { .. } | PathEvent::ObservedAddr { .. } => {
    -820                // Nothing to do for these events.
    -821            }
    -822        }
    -823    }
    -824
    -825    /// Selects the path with the lowest RTT, prefers direct paths.
    -826    ///
    -827    /// If there are direct paths, this selects the direct path with the lowest RTT.  If
    -828    /// there are only relay paths, the relay path with the lowest RTT is chosen.
    -829    ///
    -830    /// The selected path is added to any connections which do not yet have it.  Any unused
    -831    /// direct paths are closed for all connections.
    -832    #[instrument(skip_all)]
    -833    fn select_path(&mut self) {
    -834        // Find the lowest RTT across all connections for each open path.  The long way, so
    -835        // we get to log *all* RTTs.
    -836        let mut all_path_rtts: FxHashMap<transports::Addr, Vec<Duration>> = FxHashMap::default();
    -837        for conn_state in self.connections.values() {
    -838            let Some(conn) = conn_state.handle.upgrade() else {
    -839                continue;
    -840            };
    -841            for (path_id, addr) in conn_state.open_paths.iter() {
    -842                if let Some(stats) = conn.path_stats(*path_id) {
    -843                    all_path_rtts
    -844                        .entry(addr.clone())
    -845                        .or_default()
    -846                        .push(stats.rtt);
    -847                }
    -848            }
    -849        }
    -850        trace!(?all_path_rtts, "dumping all path RTTs");
    -851        let path_rtts: FxHashMap<transports::Addr, Duration> = all_path_rtts
    -852            .into_iter()
    -853            .filter_map(|(addr, rtts)| rtts.into_iter().min().map(|rtt| (addr, rtt)))
    -854            .collect();
    -855
    -856        // Find the fastest direct or relay path.
    -857        const IPV6_RTT_ADVANTAGE: Duration = Duration::from_millis(3);
    -858        let direct_path = path_rtts
    -859            .iter()
    -860            .filter(|(addr, _rtt)| addr.is_ip())
    -861            .map(|(addr, rtt)| {
    -862                if addr.is_ipv4() {
    -863                    (*rtt + IPV6_RTT_ADVANTAGE, addr)
    -864                } else {
    -865                    (*rtt, addr)
    -866                }
    -867            })
    -868            .min();
    -869        let selected_path = direct_path.or_else(|| {
    -870            // Find the fasted relay path.
    -871            path_rtts
    -872                .iter()
    -873                .filter(|(addr, _rtt)| addr.is_relay())
    -874                .map(|(addr, rtt)| (*rtt, addr))
    -875                .min()
    -876        });
    -877        if let Some((rtt, addr)) = selected_path {
    -878            let prev = self.selected_path.set(Some(addr.clone()));
    -879            if prev.is_ok() {
    -880                debug!(?addr, ?rtt, ?prev, "selected new path");
    -881            }
    -882            self.open_path(addr);
    -883            self.close_redundant_paths(addr);
    -884        }
    -885    }
    -886
    -887    /// Closes any direct paths not selected if we are the client.
    -888    ///
    -889    /// Makes sure not to close the last direct path.  Relay paths are never closed
    -890    /// currently, because we only have one relay path at this time.
    -891    ///
    -892    /// Only the client closes paths, just like only the client opens paths.  This is to
    -893    /// avoid the client and server selecting different paths and accidentally closing all
    -894    /// paths.
    -895    fn close_redundant_paths(&mut self, selected_path: &transports::Addr) {
    -896        debug_assert_eq!(self.selected_path.get().as_ref(), Some(selected_path),);
    -897
    -898        for (conn_id, conn_state) in self.connections.iter() {
    -899            for (path_id, path_remote) in conn_state
    -900                .open_paths
    -901                .iter()
    -902                .filter(|(_, addr)| addr.is_ip())
    -903                .filter(|(_, addr)| *addr != selected_path)
    -904            {
    -905                if conn_state.open_paths.values().filter(|a| a.is_ip()).count() <= 1 {
    -906                    continue; // Do not close the last direct path.
    -907                }
    -908                if let Some(path) = conn_state
    -909                    .handle
    -910                    .upgrade()
    -911                    .filter(|conn| conn.side().is_client())
    -912                    .and_then(|conn| conn.path(*path_id))
    -913                {
    -914                    trace!(?path_remote, ?conn_id, ?path_id, "closing direct path");
    -915                    match path.close(APPLICATION_ABANDON_PATH.into()) {
    -916                        Err(quinn_proto::ClosePathError::LastOpenPath) => {
    -917                            error!("could not close last open path");
    -918                        }
    -919                        Err(quinn_proto::ClosePathError::ClosedPath) => {
    -920                            // We already closed this.
    -921                        }
    -922                        Ok(_fut) => {
    -923                            // We will handle the event in Self::handle_path_events.
    -924                        }
    -925                    }
    -926                }
    -927            }
    -928        }
    -929    }
    -930}
    -931
    -932fn send_datagram<'a>(
    -933    sender: &'a mut TransportsSender,
    -934    dst: transports::Addr,
    -935    owned_transmit: OwnedTransmit,
    -936) -> impl Future<Output = n0_error::Result<()>> + 'a {
    -937    std::future::poll_fn(move |cx| {
    -938        let transmit = transports::Transmit {
    -939            ecn: owned_transmit.ecn,
    -940            contents: owned_transmit.contents.as_ref(),
    -941            segment_size: owned_transmit.segment_size,
    -942        };
    -943
    -944        Pin::new(&mut *sender)
    -945            .poll_send(cx, &dst, None, &transmit)
    -946            .map(|res| res.with_context(|_| format!("failed to send datagram to {dst:?}")))
    -947    })
    -948}
    -949
    -950/// Messages to send to the [`RemoteStateActor`].
    -951#[derive(derive_more::Debug)]
    -952pub(crate) enum RemoteStateMessage {
    -953    /// Sends a datagram to all known paths.
    -954    ///
    -955    /// Used to send QUIC Initial packets.  If there is no working direct path this will
    -956    /// trigger holepunching.
    -957    ///
    -958    /// This is not acceptable to use on the normal send path, as it is an async send
    -959    /// operation with a bunch more copying.  So it should only be used for sending QUIC
    -960    /// Initial packets.
    -961    #[debug("SendDatagram(..)")]
    -962    SendDatagram(TransportsSender, OwnedTransmit),
    -963    /// Adds an active connection to this remote endpoint.
    -964    ///
    -965    /// The connection will now be managed by this actor.  Holepunching will happen when
    -966    /// needed, any new paths discovered via holepunching will be added.  And closed paths
    -967    /// will be removed etc.
    -968    #[debug("AddConnection(..)")]
    -969    AddConnection(WeakConnectionHandle, oneshot::Sender<PathsWatcher>),
    -970    /// Asks if there is any possible path that could be used.
    -971    ///
    -972    /// This adds the provided transport addresses to the list of potential paths for this remote
    -973    /// and starts discovery if needed.
    -974    ///
    -975    /// Returns `Ok` immediately if the provided address list is non-empy or we have are other known paths.
    -976    /// Otherwise returns `Ok` once discovery produces a result, or the discovery error if discovery fails
    -977    /// or produces no results,
    -978    #[debug("ResolveRemote(..)")]
    -979    ResolveRemote(
    -980        BTreeSet<TransportAddr>,
    -981        oneshot::Sender<Result<(), DiscoveryError>>,
    -982    ),
    -983}
    -984
    -985/// A handle to a [`RemoteStateActor`].
    -986///
    -987/// Dropping this will stop the actor. The actor will also stop after an idle timeout
    -988/// if it has no connections, an empty inbox, and no other senders than the one stored
    -989/// in the endpoint map exist.
    -990#[derive(Debug)]
    -991pub(super) struct RemoteStateHandle {
    -992    /// Sender for the channel into the [`RemoteStateActor`].
    -993    ///
    -994    /// This is a [`GuardedSender`], from which we can get a sender but only if the receiver
    -995    /// hasn't been closed.
    -996    pub(super) sender: GuardedSender<RemoteStateMessage>,
    -997    _task: AbortOnDropHandle<()>,
    -998}
    -999
    -1000/// Information about a holepunch attempt.
    -1001///
    -1002/// Addresses are always stored in canonical form.
    -1003#[derive(Debug)]
    -1004struct HolepunchAttempt {
    -1005    when: Instant,
    -1006    /// The set of local addresses which could take part in holepunching.
    -1007    ///
    -1008    /// This does not mean every address here participated in the holepunching.  E.g. we
    -1009    /// could have tried only a sub-set of the addresses because a previous attempt already
    -1010    /// covered part of the range.
    -1011    ///
    -1012    /// We do not store this as a [`DirectAddr`] because this is checked for equality and we
    -1013    /// do not want to compare the sources of these addresses.
    -1014    local_candidates: BTreeSet<SocketAddr>,
    -1015    /// The set of remote addresses which could take part in holepunching.
    -1016    ///
    -1017    /// Like [`Self::local_candidates`] we may not have used them.
    -1018    remote_candidates: BTreeSet<SocketAddr>,
    -1019}
    -1020
    -1021/// Newtype to track Connections.
    -1022///
    -1023/// The wrapped value is the [`quinn::Connection::stable_id`] value, and is thus only valid
    -1024/// for active connections.
    -1025#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
    -1026struct ConnId(usize);
    -1027
    -1028/// State about one connection.
    -1029#[derive(Debug)]
    -1030struct ConnectionState {
    -1031    /// Weak handle to the connection.
    -1032    handle: WeakConnectionHandle,
    -1033    /// The information we publish to users about the paths used in this connection.
    -1034    pub_open_paths: Watchable<PathAddrList>,
    -1035    /// The paths that exist on this connection.
    -1036    ///
    -1037    /// This could be in any state, e.g. while still validating the path or already closed
    -1038    /// but not yet fully removed from the connection.  This exists as long as Quinn knows
    -1039    /// about the [`PathId`].
    -1040    paths: FxHashMap<PathId, transports::Addr>,
    -1041    /// The open paths on this connection, a subset of [`Self::paths`].
    -1042    open_paths: FxHashMap<PathId, transports::Addr>,
    -1043    /// Reverse map of [`Self::paths].
    -1044    path_ids: FxHashMap<transports::Addr, PathId>,
    -1045}
    -1046
    -1047impl ConnectionState {
    -1048    /// Tracks a path for the connection.
    -1049    fn add_path(&mut self, remote: transports::Addr, path_id: PathId) {
    -1050        self.paths.insert(path_id, remote.clone());
    -1051        self.path_ids.insert(remote, path_id);
    -1052    }
    -1053
    -1054    /// Tracks an open path for the connection.
    -1055    fn add_open_path(&mut self, remote: transports::Addr, path_id: PathId) {
    -1056        self.paths.insert(path_id, remote.clone());
    -1057        self.open_paths.insert(path_id, remote.clone());
    -1058        self.path_ids.insert(remote, path_id);
    -1059
    -1060        self.update_pub_path_info();
    -1061    }
    -1062
    -1063    /// Completely removes a path from this connection.
    -1064    fn remove_path(&mut self, path_id: &PathId) -> Option<transports::Addr> {
    -1065        let addr = self.paths.remove(path_id);
    -1066        if let Some(ref addr) = addr {
    -1067            self.path_ids.remove(addr);
    -1068        }
    -1069        self.open_paths.remove(path_id);
    -1070        addr
    -1071    }
    -1072
    -1073    /// Removes the path from the open paths.
    -1074    fn remove_open_path(&mut self, path_id: &PathId) {
    -1075        self.open_paths.remove(path_id);
    -1076
    -1077        self.update_pub_path_info();
    -1078    }
    -1079
    -1080    /// Sets the new [`PathInfo`] structs for the public [`Connection`].
    -1081    ///
    -1082    /// [`Connection`]: crate::endpoint::Connection
    -1083    fn update_pub_path_info(&self) {
    -1084        let new = self
    -1085            .open_paths
    -1086            .iter()
    -1087            .map(|(path_id, remote)| {
    -1088                let remote = TransportAddr::from(remote.clone());
    -1089                (remote, *path_id)
    -1090            })
    -1091            .collect::<PathAddrList>();
    -1092
    -1093        self.pub_open_paths.set(new).ok();
    -1094    }
    -1095}
    -1096
    -1097/// Watcher for the open paths and selected transmission path in a connection.
    -1098///
    -1099/// This is stored in the [`Connection`], and the watchables are set from within the endpoint state actor.
    -1100///
    -1101/// Internally, this contains a boxed-mapped-joined watcher over the open paths in the connection and the
    -1102/// selected path to the remote endpoint. The watcher is boxed because the mapped-joined watcher with
    -1103/// `SmallVec<PathInfoList>` has a size of over 800 bytes, which we don't want to put upon the [`Connection`].
    -1104///
    -1105/// [`Connection`]: crate::endpoint::Connection
    -1106#[derive(Clone, derive_more::Debug)]
    -1107#[debug("PathsWatcher")]
    -1108#[allow(clippy::type_complexity)]
    -1109pub(crate) struct PathsWatcher(
    -1110    Box<
    -1111        n0_watcher::Map<
    -1112            n0_watcher::Tuple<
    -1113                n0_watcher::Direct<PathAddrList>,
    -1114                n0_watcher::Direct<Option<transports::Addr>>,
    -1115            >,
    -1116            PathInfoList,
    -1117        >,
    -1118    >,
    -1119);
    -1120
    -1121impl n0_watcher::Watcher for PathsWatcher {
    -1122    type Value = PathInfoList;
    -1123
    -1124    fn update(&mut self) -> bool {
    -1125        self.0.update()
    -1126    }
    -1127
    -1128    fn peek(&self) -> &Self::Value {
    -1129        self.0.peek()
    -1130    }
    -1131
    -1132    fn is_connected(&self) -> bool {
    -1133        self.0.is_connected()
    -1134    }
    -1135
    -1136    fn poll_updated(
    -1137        &mut self,
    -1138        cx: &mut std::task::Context<'_>,
    -1139    ) -> Poll<Result<(), n0_watcher::Disconnected>> {
    -1140        self.0.poll_updated(cx)
    -1141    }
    -1142}
    -1143
    -1144impl PathsWatcher {
    -1145    fn new(
    -1146        open_paths: n0_watcher::Direct<PathAddrList>,
    -1147        selected_path: n0_watcher::Direct<Option<transports::Addr>>,
    -1148        conn_handle: WeakConnectionHandle,
    -1149    ) -> Self {
    -1150        Self(Box::new(open_paths.or(selected_path).map(
    -1151            move |(open_paths, selected_path)| {
    -1152                let selected_path: Option<TransportAddr> = selected_path.map(Into::into);
    -1153                let Some(conn) = conn_handle.upgrade() else {
    -1154                    return PathInfoList(Default::default());
    -1155                };
    -1156                let list = open_paths
    -1157                    .into_iter()
    -1158                    .flat_map(move |(remote, path_id)| {
    -1159                        PathInfo::new(path_id, &conn, remote, selected_path.as_ref())
    -1160                    })
    -1161                    .collect();
    -1162                PathInfoList(list)
    -1163            },
    -1164        )))
    -1165    }
    -1166}
    -1167
    -1168/// List of [`PathInfo`] for the network paths of a [`Connection`].
    -1169///
    -1170/// This struct implements [`IntoIterator`].
    -1171///
    -1172/// [`Connection`]: crate::endpoint::Connection
    -1173#[derive(derive_more::Debug, derive_more::IntoIterator, Eq, PartialEq, Clone)]
    -1174#[debug("{_0:?}")]
    -1175pub struct PathInfoList(SmallVec<[PathInfo; 4]>);
    -1176
    -1177impl PathInfoList {
    -1178    /// Returns an iterator over the path infos.
    -1179    pub fn iter(&self) -> impl Iterator<Item = &PathInfo> {
    -1180        self.0.iter()
    -1181    }
    -1182
    -1183    /// Returns `true` if the list is empty.
    -1184    pub fn is_empty(&self) -> bool {
    -1185        self.0.is_empty()
    -1186    }
    -1187
    -1188    /// Returns the number of paths.
    -1189    pub fn len(&self) -> usize {
    -1190        self.0.len()
    -1191    }
    -1192}
    -1193
    -1194/// Information about a network path used by a [`Connection`].
    -1195///
    -1196/// [`Connection`]: crate::endpoint::Connection
    -1197#[derive(derive_more::Debug, Clone)]
    -1198pub struct PathInfo {
    -1199    path_id: PathId,
    -1200    #[debug(skip)]
    -1201    handle: WeakConnectionHandle,
    -1202    stats: PathStats,
    -1203    remote: TransportAddr,
    -1204    is_selected: bool,
    -1205}
    -1206
    -1207impl PartialEq for PathInfo {
    -1208    fn eq(&self, other: &Self) -> bool {
    -1209        self.path_id == other.path_id
    -1210            && self.remote == other.remote
    -1211            && self.is_selected == other.is_selected
    -1212    }
    -1213}
    -1214
    -1215impl Eq for PathInfo {}
    -1216
    -1217impl PathInfo {
    -1218    fn new(
    -1219        path_id: PathId,
    -1220        conn: &quinn::Connection,
    -1221        remote: TransportAddr,
    -1222        selected_path: Option<&TransportAddr>,
    -1223    ) -> Option<Self> {
    -1224        let stats = conn.path_stats(path_id)?;
    -1225        Some(Self {
    -1226            path_id,
    -1227            handle: conn.weak_handle(),
    -1228            is_selected: Some(&remote) == selected_path,
    -1229            remote,
    -1230            stats,
    -1231        })
    -1232    }
    -1233
    -1234    /// The remote transport address used by this network path.
    -1235    pub fn remote_addr(&self) -> &TransportAddr {
    -1236        &self.remote
    -1237    }
    -1238
    -1239    /// Returns `true` if this path is currently the main transmission path for this [`Connection`].
    -1240    ///
    -1241    /// [`Connection`]: crate::endpoint::Connection
    -1242    pub fn is_selected(&self) -> bool {
    -1243        self.is_selected
    -1244    }
    -1245
    -1246    /// Whether this is an IP transport address.
    -1247    pub fn is_ip(&self) -> bool {
    -1248        self.remote.is_ip()
    -1249    }
    -1250
    -1251    /// Whether this is a transport address via a relay server.
    -1252    pub fn is_relay(&self) -> bool {
    -1253        self.remote.is_relay()
    -1254    }
    -1255
    -1256    /// Returns stats for this transmission path.
    -1257    pub fn stats(&self) -> PathStats {
    -1258        self.handle
    -1259            .upgrade()
    -1260            .and_then(|conn| conn.path_stats(self.path_id))
    -1261            .unwrap_or(self.stats)
    -1262    }
    -1263
    -1264    /// Current best estimate of this paths's latency (round-trip-time)
    -1265    pub fn rtt(&self) -> Duration {
    -1266        self.stats().rtt
    -1267    }
    -1268}
    -1269
    -1270/// Poll a future once, like n0_future::future::poll_once but sync.
    -1271fn now_or_never<T, F: Future<Output = T>>(fut: F) -> Option<T> {
    -1272    let fut = std::pin::pin!(fut);
    -1273    match fut.poll(&mut std::task::Context::from_waker(std::task::Waker::noop())) {
    -1274        Poll::Ready(res) => Some(res),
    -1275        Poll::Pending => None,
    -1276    }
    -1277}
    -1278
    -1279/// Future that resolves to the `conn_id` once a connection is closed.
    -1280///
    -1281/// This uses [`quinn::Connection::on_closed`], which does not keep the connection alive
    -1282/// while awaiting the future.
    -1283struct OnClosed {
    -1284    conn_id: ConnId,
    -1285    inner: quinn::OnClosed,
    -1286}
    -1287
    -1288impl OnClosed {
    -1289    fn new(conn: &quinn::Connection) -> Self {
    -1290        Self {
    -1291            conn_id: ConnId(conn.stable_id()),
    -1292            inner: conn.on_closed(),
    -1293        }
    -1294    }
    -1295}
    -1296
    -1297impl Future for OnClosed {
    -1298    type Output = ConnId;
    -1299
    -1300    fn poll(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll<Self::Output> {
    -1301        let (_close_reason, _stats) = std::task::ready!(Pin::new(&mut self.inner).poll(cx));
    -1302        Poll::Ready(self.conn_id)
    -1303    }
    -1304}
    -1305
    -1306/// Converts an iterator of [`TransportAddr'] into an iterator of [`transports::Addr`].
    -1307fn to_transports_addr(
    -1308    endpoint_id: EndpointId,
    -1309    addrs: impl IntoIterator<Item = TransportAddr>,
    -1310) -> impl Iterator<Item = transports::Addr> {
    -1311    addrs.into_iter().filter_map(move |addr| match addr {
    -1312        TransportAddr::Relay(relay_url) => Some(transports::Addr::from((relay_url, endpoint_id))),
    -1313        TransportAddr::Ip(sockaddr) => Some(transports::Addr::from(sockaddr)),
    -1314        _ => {
    -1315            warn!(?addr, "Unsupported TransportAddr");
    -1316            None
    -1317        }
    -1318    })
    -1319}
    \ No newline at end of file +773 let Some(conn) = conn_state.handle.upgrade() else { +774 continue; +775 }; +776 if conn.side().is_server() { +777 continue; +778 } +779 let fut = conn.open_path_ensure(quic_addr, path_status); +780 match fut.path_id() { +781 Some(path_id) => { +782 trace!(?conn_id, ?path_id, "opening new path"); +783 conn_state.add_path(open_addr.clone(), path_id); +784 // We still need to ensure that the path status is set correctly, +785 // in case the path was opened by QNT, which opens all IP paths +786 // using PATH_STATUS_BACKUP. We need to switch the selected path +787 // to use PATH_STATUS_AVAILABLE though! +788 if let Some(path) = conn.path(path_id) { +789 if let Err(e) = path.set_status(path_status) { +790 warn!(?e, ?open_addr, ?path_status, "Setting path status failed"); +791 } +792 } +793 } +794 None => { +795 let ret = now_or_never(fut); +796 match ret { +797 Some(Err(PathError::RemoteCidsExhausted)) => { +798 self.scheduled_open_path = +799 Some(Instant::now() + Duration::from_millis(333)); +800 self.pending_open_paths.push_back(open_addr.clone()); +801 trace!(?open_addr, "scheduling open_path"); +802 } +803 _ => warn!(?ret, "Opening path failed"), +804 } +805 } +806 } +807 } +808 } +809 +810 #[instrument(skip(self))] +811 fn handle_path_event( +812 &mut self, +813 conn_id: ConnId, +814 event: Result<PathEvent, BroadcastStreamRecvError>, +815 ) { +816 let Ok(event) = event else { +817 warn!("missed a PathEvent, RemoteStateActor lagging"); +818 // TODO: Is it possible to recover using the sync APIs to figure out what the +819 // state of the connection and it's paths are? +820 return; +821 }; +822 let Some(conn_state) = self.connections.get_mut(&conn_id) else { +823 trace!("event for removed connection"); +824 return; +825 }; +826 let Some(conn) = conn_state.handle.upgrade() else { +827 trace!("event for closed connection"); +828 return; +829 }; +830 trace!("path event"); +831 match event { +832 PathEvent::Opened { id: path_id } => { +833 let Some(path) = conn.path(path_id) else { +834 trace!("path open event for unknown path"); +835 return; +836 }; +837 +838 if let Ok(socketaddr) = path.remote_address() +839 && let Some(path_remote) = self.relay_mapped_addrs.to_transport_addr(socketaddr) +840 { +841 event!( +842 target: "iroh::_events::path::open", +843 Level::DEBUG, +844 remote = %self.endpoint_id.fmt_short(), +845 ?path_remote, +846 ?conn_id, +847 ?path_id, +848 ); +849 conn_state.add_open_path(path_remote.clone(), path_id); +850 self.paths +851 .insert_open_path(path_remote.clone(), Source::Connection { _0: Private }); +852 } +853 +854 self.select_path(); +855 } +856 PathEvent::Abandoned { id, path_stats } => { +857 trace!(?path_stats, "path abandoned"); +858 // This is the last event for this path. +859 if let Some(addr) = conn_state.remove_path(&id) { +860 self.paths.abandoned_path(&addr); +861 } +862 } +863 PathEvent::Closed { id, .. } | PathEvent::LocallyClosed { id, .. } => { +864 let Some(path_remote) = conn_state.paths.get(&id).cloned() else { +865 debug!("path not in path_id_map"); +866 return; +867 }; +868 event!( +869 target: "iroh::_events::path::closed", +870 Level::DEBUG, +871 remote = %self.endpoint_id.fmt_short(), +872 ?path_remote, +873 ?conn_id, +874 path_id = ?id, +875 ); +876 conn_state.remove_open_path(&id); +877 +878 // If one connection closes this path, close it on all connections. +879 for (conn_id, conn_state) in self.connections.iter_mut() { +880 let Some(path_id) = conn_state.path_ids.get(&path_remote) else { +881 continue; +882 }; +883 let Some(conn) = conn_state.handle.upgrade() else { +884 continue; +885 }; +886 if let Some(path) = conn.path(*path_id) { +887 trace!(?path_remote, ?conn_id, ?path_id, "closing path"); +888 if let Err(err) = path.close() { +889 trace!( +890 ?path_remote, +891 ?conn_id, +892 ?path_id, +893 "path close failed: {err:#}" +894 ); +895 } +896 } +897 } +898 +899 // If the remote closed our selected path, select a new one. +900 self.select_path(); +901 } +902 PathEvent::RemoteStatus { .. } | PathEvent::ObservedAddr { .. } => { +903 // Nothing to do for these events. +904 } +905 } +906 } +907 +908 /// Selects the path with the lowest RTT, prefers direct paths. +909 /// +910 /// If there are direct paths, this selects the direct path with the lowest RTT. If +911 /// there are only relay paths, the relay path with the lowest RTT is chosen. +912 /// +913 /// The selected path is added to any connections which do not yet have it. Any unused +914 /// direct paths are closed for all connections. +915 #[instrument(skip_all)] +916 fn select_path(&mut self) { +917 // Find the lowest RTT across all connections for each open path. The long way, so +918 // we get to log *all* RTTs. +919 let mut all_path_rtts: FxHashMap<transports::Addr, Vec<Duration>> = FxHashMap::default(); +920 for conn_state in self.connections.values() { +921 let Some(conn) = conn_state.handle.upgrade() else { +922 continue; +923 }; +924 for (path_id, addr) in conn_state.open_paths.iter() { +925 if let Some(stats) = conn.path_stats(*path_id) { +926 all_path_rtts +927 .entry(addr.clone()) +928 .or_default() +929 .push(stats.rtt); +930 } +931 } +932 } +933 trace!(?all_path_rtts, "dumping all path RTTs"); +934 let path_rtts: FxHashMap<transports::Addr, Duration> = all_path_rtts +935 .into_iter() +936 .filter_map(|(addr, rtts)| rtts.into_iter().min().map(|rtt| (addr, rtt))) +937 .collect(); +938 +939 // Find the fastest direct IPv4 path. +940 let direct_path_ipv4 = path_rtts +941 .iter() +942 .filter_map(|(addr, rtt)| { +943 if let transports::Addr::Ip(SocketAddr::V4(addr)) = *addr { +944 Some((addr, *rtt)) +945 } else { +946 None +947 } +948 }) +949 .min_by_key(|(_addr, rtt)| *rtt); +950 +951 // Find the fastest direct IPv6 path. +952 let direct_path_ipv6 = path_rtts +953 .iter() +954 .filter_map(|(addr, rtt)| { +955 if let transports::Addr::Ip(SocketAddr::V6(addr)) = *addr { +956 Some((addr, *rtt)) +957 } else { +958 None +959 } +960 }) +961 .min_by_key(|(_addr, rtt)| *rtt); +962 +963 // Find the fastest relay path. +964 let relay_path = path_rtts +965 .iter() +966 .filter(|(addr, _rtt)| addr.is_relay()) +967 .min_by_key(|(_addr, rtt)| *rtt) +968 .map(|(addr, rtt)| (addr.clone(), *rtt)); +969 +970 let current_path = self +971 .selected_path +972 .get() +973 .and_then(|addr| path_rtts.get(&addr).copied().map(|rtt| (addr, rtt))); +974 let selected_path = select_best_path( +975 current_path.clone(), +976 direct_path_ipv4, +977 direct_path_ipv6, +978 relay_path, +979 ); +980 +981 // Apply our new path +982 if let Some((addr, rtt)) = selected_path { +983 let prev = self.selected_path.set(Some(addr.clone())); +984 if prev.is_ok() { +985 event!( +986 target: "iroh::_events::path::selected", +987 Level::DEBUG, +988 remote = %self.endpoint_id.fmt_short(), +989 path_remote = ?addr, +990 ?rtt, +991 prev_remote = ?prev, +992 ); +993 } +994 self.open_path(&addr); +995 self.close_redundant_paths(&addr); +996 } else { +997 trace!(?current_path, "keeping current path"); +998 } +999 } +1000 +1001 /// Closes any direct paths not selected if we are the client. +1002 /// +1003 /// Makes sure not to close the last direct path. Relay paths are never closed +1004 /// currently, because we only have one relay path at this time. +1005 /// +1006 /// Only the client closes paths, just like only the client opens paths. This is to +1007 /// avoid the client and server selecting different paths and accidentally closing all +1008 /// paths. +1009 fn close_redundant_paths(&mut self, selected_path: &transports::Addr) { +1010 debug_assert_eq!(self.selected_path.get().as_ref(), Some(selected_path),); +1011 +1012 for (conn_id, conn_state) in self.connections.iter() { +1013 for (path_id, path_remote) in conn_state +1014 .open_paths +1015 .iter() +1016 .filter(|(_, addr)| addr.is_ip()) +1017 .filter(|(_, addr)| *addr != selected_path) +1018 { +1019 if conn_state.open_paths.values().filter(|a| a.is_ip()).count() <= 1 { +1020 continue; // Do not close the last direct path. +1021 } +1022 if let Some(path) = conn_state +1023 .handle +1024 .upgrade() +1025 .filter(|conn| conn.side().is_client()) +1026 .and_then(|conn| conn.path(*path_id)) +1027 { +1028 trace!(?path_remote, ?conn_id, ?path_id, "closing direct path"); +1029 match path.close() { +1030 Err(quinn_proto::ClosePathError::LastOpenPath) => { +1031 error!("could not close last open path"); +1032 } +1033 Err(quinn_proto::ClosePathError::ClosedPath) => { +1034 // We already closed this. +1035 } +1036 Ok(_fut) => { +1037 // We will handle the event in Self::handle_path_events. +1038 } +1039 } +1040 } +1041 } +1042 } +1043 } +1044} +1045 +1046/// Returns `Some` if a new path should be selected, `None` if the `current_path` should +1047/// continued to be used. +1048fn select_best_path( +1049 current_path: Option<(transports::Addr, Duration)>, +1050 direct_path_ipv4: Option<(SocketAddrV4, Duration)>, +1051 direct_path_ipv6: Option<(SocketAddrV6, Duration)>, +1052 new_relay_path: Option<(transports::Addr, Duration)>, +1053) -> Option<(transports::Addr, Duration)> { +1054 // Determine the best new IP path. +1055 let best_ip_path = match (direct_path_ipv4, direct_path_ipv6) { +1056 (Some((addr_v4, rtt_v4)), Some((addr_v6, rtt_v6))) => { +1057 Some(select_v4_v6(addr_v4, rtt_v4, addr_v6, rtt_v6)) +1058 } +1059 (None, Some((addr_v6, rtt_v6))) => Some((addr_v6.into(), rtt_v6)), +1060 (Some((addr_v4, rtt_v4)), None) => Some((addr_v4.into(), rtt_v4)), +1061 (None, None) => None, +1062 }; +1063 let best_ip_path = best_ip_path.map(|(addr, rtt)| (transports::Addr::Ip(addr), rtt)); +1064 +1065 match current_path { +1066 None => { +1067 // If we currently have no path +1068 if best_ip_path.is_some() { +1069 // Use the best IP path +1070 best_ip_path +1071 } else { +1072 // Use the new relay path +1073 new_relay_path +1074 } +1075 } +1076 Some((transports::Addr::Relay(..), _)) => { +1077 // If we have a current path, but it is relay +1078 if best_ip_path.is_some() { +1079 // Use the best IP path +1080 best_ip_path +1081 } else { +1082 // Use the new relay path +1083 new_relay_path +1084 } +1085 } +1086 Some((transports::Addr::Ip(_), current_rtt)) => { +1087 match &best_ip_path { +1088 Some((_, new_rtt)) => { +1089 // Comparing available IP paths +1090 if current_rtt >= *new_rtt + RTT_SWITCHING_MIN_IP { +1091 // New IP path is faster +1092 best_ip_path +1093 } else { +1094 // New IP is not faster +1095 None +1096 } +1097 } +1098 None => { +1099 // No new IP path, don't switch away +1100 None +1101 } +1102 } +1103 } +1104 } +1105} +1106 +1107/// Compare two IP addrs v4 & v6 and selects the "best" one. +1108/// +1109/// This prefers IPv6 paths over IPv4 paths. +1110fn select_v4_v6( +1111 addr_v4: SocketAddrV4, +1112 rtt_v4: Duration, +1113 addr_v6: SocketAddrV6, +1114 rtt_v6: Duration, +1115) -> (SocketAddr, Duration) { +1116 if rtt_v6 <= rtt_v4 + IPV6_RTT_ADVANTAGE { +1117 (addr_v6.into(), rtt_v6) +1118 } else { +1119 (addr_v4.into(), rtt_v4) +1120 } +1121} +1122 +1123fn send_datagram<'a>( +1124 sender: &'a mut TransportsSender, +1125 dst: transports::Addr, +1126 owned_transmit: OwnedTransmit, +1127) -> impl Future<Output = n0_error::Result<()>> + 'a { +1128 std::future::poll_fn(move |cx| { +1129 let transmit = transports::Transmit { +1130 ecn: owned_transmit.ecn, +1131 contents: owned_transmit.contents.as_ref(), +1132 segment_size: owned_transmit.segment_size, +1133 }; +1134 +1135 Pin::new(&mut *sender) +1136 .poll_send(cx, &dst, None, &transmit) +1137 .map(|res| res.with_context(|_| format!("failed to send datagram to {dst:?}"))) +1138 }) +1139} +1140 +1141/// Messages to send to the [`RemoteStateActor`]. +1142#[derive(derive_more::Debug)] +1143pub(crate) enum RemoteStateMessage { +1144 /// Sends a datagram to all known paths. +1145 /// +1146 /// Used to send QUIC Initial packets. If there is no working direct path this will +1147 /// trigger holepunching. +1148 /// +1149 /// This is not acceptable to use on the normal send path, as it is an async send +1150 /// operation with a bunch more copying. So it should only be used for sending QUIC +1151 /// Initial packets. +1152 #[debug("SendDatagram(..)")] +1153 SendDatagram(TransportsSender, OwnedTransmit), +1154 /// Adds an active connection to this remote endpoint. +1155 /// +1156 /// The connection will now be managed by this actor. Holepunching will happen when +1157 /// needed, any new paths discovered via holepunching will be added. And closed paths +1158 /// will be removed etc. +1159 #[debug("AddConnection(..)")] +1160 AddConnection(WeakConnectionHandle, oneshot::Sender<PathsWatcher>), +1161 /// Asks if there is any possible path that could be used. +1162 /// +1163 /// This adds the provided transport addresses to the list of potential paths for this remote +1164 /// and starts discovery if needed. +1165 /// +1166 /// Returns `Ok` immediately if the provided address list is non-empy or we have are other known paths. +1167 /// Otherwise returns `Ok` once discovery produces a result, or the discovery error if discovery fails +1168 /// or produces no results, +1169 #[debug("ResolveRemote(..)")] +1170 ResolveRemote( +1171 BTreeSet<TransportAddr>, +1172 oneshot::Sender<Result<(), DiscoveryError>>, +1173 ), +1174 /// Returns information about the remote. +1175 /// +1176 /// This currently only includes a list of all known transport addresses for the remote. +1177 RemoteInfo(oneshot::Sender<RemoteInfo>), +1178} +1179 +1180/// A handle to a [`RemoteStateActor`]. +1181/// +1182/// Dropping this will stop the actor. The actor will also stop after an idle timeout +1183/// if it has no connections, an empty inbox, and no other senders than the one stored +1184/// in the endpoint map exist. +1185#[derive(Debug)] +1186pub(super) struct RemoteStateHandle { +1187 /// Sender for the channel into the [`RemoteStateActor`]. +1188 /// +1189 /// This is a [`GuardedSender`], from which we can get a sender but only if the receiver +1190 /// hasn't been closed. +1191 pub(super) sender: GuardedSender<RemoteStateMessage>, +1192 _task: AbortOnDropHandle<()>, +1193} +1194 +1195/// Information about a holepunch attempt. +1196/// +1197/// Addresses are always stored in canonical form. +1198#[derive(Debug)] +1199struct HolepunchAttempt { +1200 when: Instant, +1201 /// The set of local addresses which could take part in holepunching. +1202 /// +1203 /// This does not mean every address here participated in the holepunching. E.g. we +1204 /// could have tried only a sub-set of the addresses because a previous attempt already +1205 /// covered part of the range. +1206 /// +1207 /// We do not store this as a [`DirectAddr`] because this is checked for equality and we +1208 /// do not want to compare the sources of these addresses. +1209 local_candidates: BTreeSet<SocketAddr>, +1210 /// The set of remote addresses which could take part in holepunching. +1211 /// +1212 /// Like [`Self::local_candidates`] we may not have used them. +1213 remote_candidates: BTreeSet<SocketAddr>, +1214} +1215 +1216/// Newtype to track Connections. +1217/// +1218/// The wrapped value is the [`quinn::Connection::stable_id`] value, and is thus only valid +1219/// for active connections. +1220#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +1221struct ConnId(usize); +1222 +1223/// State about one connection. +1224#[derive(Debug)] +1225struct ConnectionState { +1226 /// Weak handle to the connection. +1227 handle: WeakConnectionHandle, +1228 /// The information we publish to users about the paths used in this connection. +1229 pub_open_paths: Watchable<PathAddrList>, +1230 /// The paths that exist on this connection. +1231 /// +1232 /// This could be in any state, e.g. while still validating the path or already closed +1233 /// but not yet fully removed from the connection. This exists as long as Quinn knows +1234 /// about the [`PathId`]. +1235 paths: FxHashMap<PathId, transports::Addr>, +1236 /// The open paths on this connection, a subset of [`Self::paths`]. +1237 open_paths: FxHashMap<PathId, transports::Addr>, +1238 /// Reverse map of [`Self::paths]. +1239 path_ids: FxHashMap<transports::Addr, PathId>, +1240} +1241 +1242impl ConnectionState { +1243 /// Tracks a path for the connection. +1244 fn add_path(&mut self, remote: transports::Addr, path_id: PathId) { +1245 self.paths.insert(path_id, remote.clone()); +1246 self.path_ids.insert(remote, path_id); +1247 } +1248 +1249 /// Tracks an open path for the connection. +1250 fn add_open_path(&mut self, remote: transports::Addr, path_id: PathId) { +1251 self.paths.insert(path_id, remote.clone()); +1252 self.open_paths.insert(path_id, remote.clone()); +1253 self.path_ids.insert(remote, path_id); +1254 self.update_pub_path_info(); +1255 } +1256 +1257 /// Completely removes a path from this connection. +1258 fn remove_path(&mut self, path_id: &PathId) -> Option<transports::Addr> { +1259 let addr = self.paths.remove(path_id); +1260 if let Some(ref addr) = addr { +1261 self.path_ids.remove(addr); +1262 } +1263 self.open_paths.remove(path_id); +1264 addr +1265 } +1266 +1267 /// Removes the path from the open paths. +1268 fn remove_open_path(&mut self, path_id: &PathId) { +1269 self.open_paths.remove(path_id); +1270 +1271 self.update_pub_path_info(); +1272 } +1273 +1274 /// Sets the new [`PathInfo`] structs for the public [`Connection`]. +1275 /// +1276 /// [`Connection`]: crate::endpoint::Connection +1277 fn update_pub_path_info(&self) { +1278 let new = self +1279 .open_paths +1280 .iter() +1281 .map(|(path_id, remote)| { +1282 let remote = TransportAddr::from(remote.clone()); +1283 (remote, *path_id) +1284 }) +1285 .collect::<PathAddrList>(); +1286 +1287 self.pub_open_paths.set(new).ok(); +1288 } +1289} +1290 +1291/// Watcher for the open paths and selected transmission path in a connection. +1292/// +1293/// This is stored in the [`Connection`], and the watchables are set from within the endpoint state actor. +1294/// +1295/// Internally, this contains a boxed-mapped-joined watcher over the open paths in the connection and the +1296/// selected path to the remote endpoint. The watcher is boxed because the mapped-joined watcher with +1297/// `SmallVec<PathInfoList>` has a size of over 800 bytes, which we don't want to put upon the [`Connection`]. +1298/// +1299/// [`Connection`]: crate::endpoint::Connection +1300#[derive(Clone, derive_more::Debug)] +1301#[debug("PathsWatcher")] +1302#[allow(clippy::type_complexity)] +1303pub(crate) struct PathsWatcher( +1304 Box< +1305 n0_watcher::Map< +1306 n0_watcher::Tuple< +1307 n0_watcher::Direct<PathAddrList>, +1308 n0_watcher::Direct<Option<transports::Addr>>, +1309 >, +1310 PathInfoList, +1311 >, +1312 >, +1313); +1314 +1315impl n0_watcher::Watcher for PathsWatcher { +1316 type Value = PathInfoList; +1317 +1318 fn update(&mut self) -> bool { +1319 self.0.update() +1320 } +1321 +1322 fn peek(&self) -> &Self::Value { +1323 self.0.peek() +1324 } +1325 +1326 fn is_connected(&self) -> bool { +1327 self.0.is_connected() +1328 } +1329 +1330 fn poll_updated( +1331 &mut self, +1332 cx: &mut std::task::Context<'_>, +1333 ) -> Poll<Result<(), n0_watcher::Disconnected>> { +1334 self.0.poll_updated(cx) +1335 } +1336} +1337 +1338impl PathsWatcher { +1339 fn new( +1340 open_paths: n0_watcher::Direct<PathAddrList>, +1341 selected_path: n0_watcher::Direct<Option<transports::Addr>>, +1342 conn_handle: WeakConnectionHandle, +1343 ) -> Self { +1344 Self(Box::new(open_paths.or(selected_path).map( +1345 move |(open_paths, selected_path)| { +1346 let selected_path: Option<TransportAddr> = selected_path.map(Into::into); +1347 let Some(conn) = conn_handle.upgrade() else { +1348 return PathInfoList(Default::default()); +1349 }; +1350 let list = open_paths +1351 .into_iter() +1352 .flat_map(move |(remote, path_id)| { +1353 PathInfo::new(path_id, &conn, remote, selected_path.as_ref()) +1354 }) +1355 .collect(); +1356 PathInfoList(list) +1357 }, +1358 ))) +1359 } +1360} +1361 +1362/// List of [`PathInfo`] for the network paths of a [`Connection`]. +1363/// +1364/// This struct implements [`IntoIterator`]. +1365/// +1366/// [`Connection`]: crate::endpoint::Connection +1367#[derive(derive_more::Debug, derive_more::IntoIterator, Eq, PartialEq, Clone)] +1368#[debug("{_0:?}")] +1369pub struct PathInfoList(SmallVec<[PathInfo; 4]>); +1370 +1371impl PathInfoList { +1372 /// Returns an iterator over the path infos. +1373 pub fn iter(&self) -> impl Iterator<Item = &PathInfo> { +1374 self.0.iter() +1375 } +1376 +1377 /// Returns `true` if the list is empty. +1378 pub fn is_empty(&self) -> bool { +1379 self.0.is_empty() +1380 } +1381 +1382 /// Returns the number of paths. +1383 pub fn len(&self) -> usize { +1384 self.0.len() +1385 } +1386} +1387 +1388/// Information about a network path used by a [`Connection`]. +1389/// +1390/// [`Connection`]: crate::endpoint::Connection +1391#[derive(derive_more::Debug, Clone)] +1392pub struct PathInfo { +1393 path_id: PathId, +1394 #[debug(skip)] +1395 handle: WeakConnectionHandle, +1396 stats: PathStats, +1397 remote: TransportAddr, +1398 is_selected: bool, +1399} +1400 +1401impl PartialEq for PathInfo { +1402 fn eq(&self, other: &Self) -> bool { +1403 self.path_id == other.path_id +1404 && self.remote == other.remote +1405 && self.is_selected == other.is_selected +1406 } +1407} +1408 +1409impl Eq for PathInfo {} +1410 +1411impl PathInfo { +1412 fn new( +1413 path_id: PathId, +1414 conn: &quinn::Connection, +1415 remote: TransportAddr, +1416 selected_path: Option<&TransportAddr>, +1417 ) -> Option<Self> { +1418 let stats = conn.path_stats(path_id)?; +1419 Some(Self { +1420 path_id, +1421 handle: conn.weak_handle(), +1422 is_selected: Some(&remote) == selected_path, +1423 remote, +1424 stats, +1425 }) +1426 } +1427 +1428 /// The remote transport address used by this network path. +1429 pub fn remote_addr(&self) -> &TransportAddr { +1430 &self.remote +1431 } +1432 +1433 /// Returns `true` if this path is currently the main transmission path for this [`Connection`]. +1434 /// +1435 /// [`Connection`]: crate::endpoint::Connection +1436 pub fn is_selected(&self) -> bool { +1437 self.is_selected +1438 } +1439 +1440 /// Whether this is an IP transport address. +1441 pub fn is_ip(&self) -> bool { +1442 self.remote.is_ip() +1443 } +1444 +1445 /// Whether this is a transport address via a relay server. +1446 pub fn is_relay(&self) -> bool { +1447 self.remote.is_relay() +1448 } +1449 +1450 /// Returns stats for this transmission path. +1451 pub fn stats(&self) -> PathStats { +1452 self.handle +1453 .upgrade() +1454 .and_then(|conn| conn.path_stats(self.path_id)) +1455 .unwrap_or(self.stats) +1456 } +1457 +1458 /// Current best estimate of this paths's latency (round-trip-time) +1459 pub fn rtt(&self) -> Duration { +1460 self.stats().rtt +1461 } +1462} +1463 +1464/// Poll a future once, like n0_future::future::poll_once but sync. +1465fn now_or_never<T, F: Future<Output = T>>(fut: F) -> Option<T> { +1466 let fut = std::pin::pin!(fut); +1467 match fut.poll(&mut std::task::Context::from_waker(std::task::Waker::noop())) { +1468 Poll::Ready(res) => Some(res), +1469 Poll::Pending => None, +1470 } +1471} +1472 +1473/// Future that resolves to the `conn_id` once a connection is closed. +1474/// +1475/// This uses [`quinn::Connection::on_closed`], which does not keep the connection alive +1476/// while awaiting the future. +1477struct OnClosed { +1478 conn_id: ConnId, +1479 inner: quinn::OnClosed, +1480} +1481 +1482impl OnClosed { +1483 fn new(conn: &quinn::Connection) -> Self { +1484 Self { +1485 conn_id: ConnId(conn.stable_id()), +1486 inner: conn.on_closed(), +1487 } +1488 } +1489} +1490 +1491impl Future for OnClosed { +1492 type Output = ConnId; +1493 +1494 fn poll(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll<Self::Output> { +1495 let (_close_reason, _stats) = std::task::ready!(Pin::new(&mut self.inner).poll(cx)); +1496 Poll::Ready(self.conn_id) +1497 } +1498} +1499 +1500/// Converts an iterator of [`TransportAddr'] into an iterator of [`transports::Addr`]. +1501fn to_transports_addr( +1502 endpoint_id: EndpointId, +1503 addrs: impl IntoIterator<Item = TransportAddr>, +1504) -> impl Iterator<Item = transports::Addr> { +1505 addrs.into_iter().filter_map(move |addr| match addr { +1506 TransportAddr::Relay(relay_url) => Some(transports::Addr::from((relay_url, endpoint_id))), +1507 TransportAddr::Ip(sockaddr) => Some(transports::Addr::from(sockaddr)), +1508 _ => { +1509 warn!(?addr, "Unsupported TransportAddr"); +1510 None +1511 } +1512 }) +1513} +1514 +1515#[cfg(test)] +1516mod tests { +1517 use std::net::{Ipv4Addr, Ipv6Addr}; +1518 +1519 use super::*; +1520 +1521 #[test] +1522 fn test_select_v4_v6_addr() { +1523 let v4 = SocketAddrV4::new(Ipv4Addr::LOCALHOST, 1); +1524 let v6 = SocketAddrV6::new(Ipv6Addr::LOCALHOST, 1, 0, 0); +1525 +1526 // Same RTT, prefer v6 +1527 let (addr, rtt) = +1528 select_v4_v6(v4, Duration::from_millis(10), v6, Duration::from_millis(10)); +1529 assert_eq!(addr, v6.into()); +1530 assert_eq!(rtt, Duration::from_millis(10)); +1531 +1532 // v4 better +1533 let (addr, rtt) = select_v4_v6(v4, Duration::from_millis(1), v6, Duration::from_millis(10)); +1534 assert_eq!(addr, v4.into()); +1535 assert_eq!(rtt, Duration::from_millis(1)); +1536 +1537 // v6 better +1538 let (addr, rtt) = select_v4_v6(v4, Duration::from_millis(10), v6, Duration::from_millis(1)); +1539 assert_eq!(addr, v6.into()); +1540 assert_eq!(rtt, Duration::from_millis(1)); +1541 } +1542} \ No newline at end of file diff --git a/pr/3734/docs/src/iroh/magicsock/remote_map/remote_state/path_state.rs.html b/pr/3734/docs/src/iroh/magicsock/remote_map/remote_state/path_state.rs.html index e7a2ffb861..2e7b055018 100644 --- a/pr/3734/docs/src/iroh/magicsock/remote_map/remote_state/path_state.rs.html +++ b/pr/3734/docs/src/iroh/magicsock/remote_map/remote_state/path_state.rs.html @@ -1,553 +1,616 @@ path_state.rs - source

    iroh/magicsock/remote_map/remote_state/
    path_state.rs

    1//! The state kept for each network path to a remote endpoint.
     2
    -3use std::collections::{HashMap, HashSet, VecDeque};
    -4
    -5use n0_error::e;
    -6use n0_future::time::Instant;
    -7use rustc_hash::FxHashMap;
    -8use tokio::sync::oneshot;
    -9use tracing::trace;
    -10
    -11use super::Source;
    -12use crate::{discovery::DiscoveryError, magicsock::transports};
    +3use std::{
    +4    collections::{HashMap, HashSet, VecDeque},
    +5    sync::Arc,
    +6};
    +7
    +8use n0_error::e;
    +9use n0_future::time::Instant;
    +10use rustc_hash::FxHashMap;
    +11use tokio::sync::oneshot;
    +12use tracing::trace;
     13
    -14/// Maximum number of IP paths we keep around per endpoint.
    -15pub(super) const MAX_IP_PATHS: usize = 30;
    +14use super::{Source, TransportAddrInfo, TransportAddrUsage};
    +15use crate::{discovery::DiscoveryError, magicsock::transports, metrics::MagicsockMetrics};
     16
    -17/// Maximum number of inactive IP paths we keep around per endpoint.
    -18///
    -19/// These are paths that at one point been opened and are now closed.
    -20pub(super) const MAX_INACTIVE_IP_PATHS: usize = 10;
    -21
    -22/// Map of all paths that we are aware of for a remote endpoint.
    -23///
    -24/// Also stores a list of resolve requests which are triggered once at least one path is known,
    -25/// or once this struct is notified of a failed discovery run.
    -26#[derive(Debug, Default)]
    -27pub(super) struct RemotePathState {
    -28    /// All possible paths we are aware of.
    -29    ///
    -30    /// These paths might be entirely impossible to use, since they are added by discovery
    -31    /// mechanisms. The are only potentially usable.
    -32    paths: FxHashMap<transports::Addr, PathState>,
    -33    /// Pending resolve requests from [`Self::resolve_remote`].
    -34    pending_resolve_requests: VecDeque<oneshot::Sender<Result<(), DiscoveryError>>>,
    -35}
    -36
    -37/// Describes the usability of this path, i.e. whether it has ever been opened,
    -38/// when it was closed, or if it has never been usable.
    -39#[derive(Debug, Default)]
    -40pub(super) enum PathStatus {
    -41    /// This path is open and active.
    -42    Open,
    -43    /// This path was once opened, but was abandoned at the given [`Instant`].
    -44    Inactive(Instant),
    -45    /// This path was never usable (we attempted holepunching and it didn't work).
    -46    Unusable,
    -47    /// We have not yet attempted holepunching, or holepunching is currently in
    -48    /// progress, so we do not know the usability of this path.
    -49    #[default]
    -50    Unknown,
    -51}
    -52
    -53impl RemotePathState {
    -54    /// Insert a new address of an open path into our list of paths.
    -55    ///
    -56    /// This will emit pending resolve requests and trigger pruning paths.
    -57    pub(super) fn insert_open_path(&mut self, addr: transports::Addr, source: Source) {
    -58        let state = self.paths.entry(addr).or_default();
    -59        state.status = PathStatus::Open;
    -60        state.sources.insert(source.clone(), Instant::now());
    -61        self.emit_pending_resolve_requests(None);
    -62        self.prune_paths();
    -63    }
    -64
    -65    /// Mark a path as abandoned.
    -66    ///
    -67    /// If this path does not exist, it does nothing to the
    -68    /// `RemotePathState`
    -69    pub(super) fn abandoned_path(&mut self, addr: &transports::Addr) {
    -70        if let Some(state) = self.paths.get_mut(addr) {
    -71            match state.status {
    -72                PathStatus::Open | PathStatus::Inactive(_) => {
    -73                    state.status = PathStatus::Inactive(Instant::now());
    -74                }
    -75                PathStatus::Unusable | PathStatus::Unknown => {
    -76                    state.status = PathStatus::Unusable;
    -77                }
    -78            }
    -79        }
    -80    }
    -81
    -82    /// Inserts multiple addresses of unknown status into our list of potential paths.
    -83    ///
    -84    /// This will emit pending resolve requests and trigger pruning paths.
    -85    pub(super) fn insert_multiple(
    -86        &mut self,
    -87        addrs: impl Iterator<Item = transports::Addr>,
    -88        source: Source,
    -89    ) {
    -90        let now = Instant::now();
    -91        for addr in addrs {
    -92            self.paths
    -93                .entry(addr)
    -94                .or_default()
    -95                .sources
    -96                .insert(source.clone(), now);
    -97        }
    -98        trace!("added addressing information");
    -99        self.emit_pending_resolve_requests(None);
    -100        self.prune_paths();
    -101    }
    -102
    -103    /// Triggers `tx` immediately if there are any known paths, or store in the list of pending requests.
    -104    ///
    -105    /// The pending requests will be resolved once a path becomes known, or once discovery
    -106    /// concludes without results, whichever comes first.
    -107    ///
    -108    /// Sends `Ok(())` over `tx` if there are any known paths, and a [`DiscoveryError`] if there are
    -109    /// no known paths by the time a discovery run finished with an error or without results.
    -110    pub(super) fn resolve_remote(&mut self, tx: oneshot::Sender<Result<(), DiscoveryError>>) {
    -111        if !self.paths.is_empty() {
    -112            tx.send(Ok(())).ok();
    -113        } else {
    -114            self.pending_resolve_requests.push_back(tx);
    -115        }
    -116    }
    -117
    -118    /// Notifies that a discovery run has finished.
    -119    ///
    -120    /// This will emit pending resolve requests.
    -121    pub(super) fn discovery_finished(&mut self, result: Result<(), DiscoveryError>) {
    -122        self.emit_pending_resolve_requests(result.err());
    -123    }
    -124
    -125    /// Returns an iterator over the addresses of all paths.
    -126    pub(super) fn addrs(&self) -> impl Iterator<Item = &transports::Addr> {
    -127        self.paths.keys()
    -128    }
    -129
    -130    /// Returns whether this stores any addresses.
    -131    pub(super) fn is_empty(&self) -> bool {
    -132        self.paths.is_empty()
    -133    }
    -134
    -135    /// Replies to all pending resolve requests.
    -136    ///
    -137    /// This is a no-op if no requests are queued. Replies `Ok` if we have any known paths,
    -138    /// otherwise with the provided `discovery_error` or with [`DiscoveryError::NoResults`].
    -139    fn emit_pending_resolve_requests(&mut self, discovery_error: Option<DiscoveryError>) {
    -140        if self.pending_resolve_requests.is_empty() {
    -141            return;
    -142        }
    -143        let result = match (self.paths.is_empty(), discovery_error) {
    -144            (false, _) => Ok(()),
    -145            (true, Some(err)) => Err(err),
    -146            (true, None) => Err(e!(DiscoveryError::NoResults)),
    -147        };
    -148        for tx in self.pending_resolve_requests.drain(..) {
    -149            tx.send(result.clone()).ok();
    -150        }
    -151    }
    -152
    -153    /// Prune paths.
    -154    ///
    -155    /// Should be invoked any time we insert a new path.
    -156    ///
    -157    /// We currently only prune IP paths. For more information on the criteria
    -158    /// for when and which paths we prune, look at the [`prune_ip_paths`] function.
    -159    pub(super) fn prune_paths(&mut self) {
    -160        // right now we only prune IP paths
    -161        prune_ip_paths(&mut self.paths);
    -162    }
    -163}
    -164
    -165/// The state of a single path to the remote endpoint.
    -166///
    -167/// Each path is identified by the destination [`transports::Addr`] and they are stored in
    -168/// the [`RemotePathState`] map at [`RemoteStateActor::paths`].
    -169///
    -170/// [`RemoteStateActor::paths`]: super::RemoteStateActor::paths
    -171#[derive(Debug, Default)]
    -172pub(super) struct PathState {
    -173    /// How we learned about this path, and when.
    -174    ///
    -175    /// We keep track of only the latest [`Instant`] for each [`Source`], keeping the size
    -176    /// of the map of sources down to one entry per type of source.
    -177    pub(super) sources: HashMap<Source, Instant>,
    -178    /// The usability status of this path.
    -179    pub(super) status: PathStatus,
    -180}
    -181
    -182/// Prunes the IP paths in the paths HashMap.
    -183///
    -184/// Only prunes if the number of IP paths is above [`MAX_IP_PATHS`].
    -185///
    -186/// Keeps paths that are open or of unknown status.
    -187///
    -188/// Always prunes paths that have unsuccessfully holepunched.
    -189///
    -190/// Keeps [`MAX_INACTIVE_IP_PATHS`] of the most recently closed paths
    -191/// that are not currently being used but have successfully been
    -192/// holepunched previously.
    -193///
    -194/// This all ensures that:
    -195///
    -196/// - We do not have unbounded growth of paths.
    -197/// - If we have many paths for this remote, we prune the paths that cannot hole punch.
    -198/// - We do not prune holepunched paths that are currently not in use too quickly. For example, if a large number of untested paths are added at once, we will not immediately prune all of the unused, but valid, paths at once.
    -199fn prune_ip_paths(paths: &mut FxHashMap<transports::Addr, PathState>) {
    -200    // if the total number of paths is less than the max, bail early
    -201    if paths.len() < MAX_IP_PATHS {
    -202        return;
    -203    }
    -204
    -205    let ip_paths: Vec<_> = paths.iter().filter(|(addr, _)| addr.is_ip()).collect();
    +17/// Maximum number of IP paths we keep around per endpoint.
    +18pub(super) const MAX_IP_PATHS: usize = 30;
    +19
    +20/// Maximum number of inactive IP paths we keep around per endpoint.
    +21///
    +22/// These are paths that at one point been opened and are now closed.
    +23pub(super) const MAX_INACTIVE_IP_PATHS: usize = 10;
    +24
    +25/// Map of all paths that we are aware of for a remote endpoint.
    +26///
    +27/// Also stores a list of resolve requests which are triggered once at least one path is known,
    +28/// or once this struct is notified of a failed discovery run.
    +29#[derive(Debug)]
    +30pub(super) struct RemotePathState {
    +31    /// All possible paths we are aware of.
    +32    ///
    +33    /// These paths might be entirely impossible to use, since they are added by discovery
    +34    /// mechanisms. The are only potentially usable.
    +35    paths: FxHashMap<transports::Addr, PathState>,
    +36    /// Pending resolve requests from [`Self::resolve_remote`].
    +37    pending_resolve_requests: VecDeque<oneshot::Sender<Result<(), DiscoveryError>>>,
    +38    metrics: Arc<MagicsockMetrics>,
    +39}
    +40
    +41/// Describes the usability of this path, i.e. whether it has ever been opened,
    +42/// when it was closed, or if it has never been usable.
    +43#[derive(Debug, Default)]
    +44pub(super) enum PathStatus {
    +45    /// This path is open and active.
    +46    Open,
    +47    /// This path was once opened, but was abandoned at the given [`Instant`].
    +48    Inactive(Instant),
    +49    /// This path was never usable (we attempted holepunching and it didn't work).
    +50    Unusable,
    +51    /// We have not yet attempted holepunching, or holepunching is currently in
    +52    /// progress, so we do not know the usability of this path.
    +53    #[default]
    +54    Unknown,
    +55}
    +56
    +57impl RemotePathState {
    +58    pub(super) fn new(metrics: Arc<MagicsockMetrics>) -> Self {
    +59        Self {
    +60            paths: Default::default(),
    +61            pending_resolve_requests: Default::default(),
    +62            metrics,
    +63        }
    +64    }
    +65
    +66    pub(super) fn to_remote_addrs(&self) -> Vec<TransportAddrInfo> {
    +67        self.paths
    +68            .iter()
    +69            .flat_map(|(addr, state)| {
    +70                let usage = match state.status {
    +71                    PathStatus::Open => TransportAddrUsage::Active,
    +72                    PathStatus::Inactive(_) | PathStatus::Unusable | PathStatus::Unknown => {
    +73                        TransportAddrUsage::Inactive
    +74                    }
    +75                };
    +76                Some(TransportAddrInfo {
    +77                    addr: addr.clone().into(),
    +78                    usage,
    +79                })
    +80            })
    +81            .collect()
    +82    }
    +83
    +84    /// Insert a new address of an open path into our list of paths.
    +85    ///
    +86    /// This will emit pending resolve requests and trigger pruning paths.
    +87    pub(super) fn insert_open_path(&mut self, addr: transports::Addr, source: Source) {
    +88        match addr {
    +89            transports::Addr::Ip(_) => self.metrics.transport_ip_paths_added.inc(),
    +90            transports::Addr::Relay(_, _) => self.metrics.transport_relay_paths_added.inc(),
    +91        };
    +92        let state = self.paths.entry(addr).or_default();
    +93        state.status = PathStatus::Open;
    +94        state.sources.insert(source.clone(), Instant::now());
    +95        self.emit_pending_resolve_requests(None);
    +96        self.prune_paths();
    +97    }
    +98
    +99    /// Mark a path as abandoned.
    +100    ///
    +101    /// If this path does not exist, it does nothing to the
    +102    /// `RemotePathState`
    +103    pub(super) fn abandoned_path(&mut self, addr: &transports::Addr) {
    +104        if let Some(state) = self.paths.get_mut(addr) {
    +105            if matches!(state.status, PathStatus::Open) {
    +106                match addr {
    +107                    transports::Addr::Ip(_) => self.metrics.transport_ip_paths_removed.inc(),
    +108                    transports::Addr::Relay(_, _) => {
    +109                        self.metrics.transport_relay_paths_removed.inc()
    +110                    }
    +111                };
    +112            }
    +113            match state.status {
    +114                PathStatus::Open | PathStatus::Inactive(_) => {
    +115                    state.status = PathStatus::Inactive(Instant::now());
    +116                }
    +117                PathStatus::Unusable | PathStatus::Unknown => {
    +118                    state.status = PathStatus::Unusable;
    +119                }
    +120            }
    +121        }
    +122    }
    +123
    +124    /// Inserts multiple addresses of unknown status into our list of potential paths.
    +125    ///
    +126    /// This will emit pending resolve requests and trigger pruning paths.
    +127    pub(super) fn insert_multiple(
    +128        &mut self,
    +129        addrs: impl Iterator<Item = transports::Addr>,
    +130        source: Source,
    +131    ) {
    +132        let now = Instant::now();
    +133        for addr in addrs {
    +134            self.paths
    +135                .entry(addr)
    +136                .or_default()
    +137                .sources
    +138                .insert(source.clone(), now);
    +139        }
    +140        trace!("added addressing information");
    +141        self.emit_pending_resolve_requests(None);
    +142        self.prune_paths();
    +143    }
    +144
    +145    /// Triggers `tx` immediately if there are any known paths, or store in the list of pending requests.
    +146    ///
    +147    /// The pending requests will be resolved once a path becomes known, or once discovery
    +148    /// concludes without results, whichever comes first.
    +149    ///
    +150    /// Sends `Ok(())` over `tx` if there are any known paths, and a [`DiscoveryError`] if there are
    +151    /// no known paths by the time a discovery run finished with an error or without results.
    +152    pub(super) fn resolve_remote(&mut self, tx: oneshot::Sender<Result<(), DiscoveryError>>) {
    +153        if !self.paths.is_empty() {
    +154            tx.send(Ok(())).ok();
    +155        } else {
    +156            self.pending_resolve_requests.push_back(tx);
    +157        }
    +158    }
    +159
    +160    /// Notifies that a discovery run has finished.
    +161    ///
    +162    /// This will emit pending resolve requests.
    +163    pub(super) fn discovery_finished(&mut self, result: Result<(), DiscoveryError>) {
    +164        self.emit_pending_resolve_requests(result.err());
    +165    }
    +166
    +167    /// Returns an iterator over the addresses of all paths.
    +168    pub(super) fn addrs(&self) -> impl Iterator<Item = &transports::Addr> {
    +169        self.paths.keys()
    +170    }
    +171
    +172    /// Returns whether this stores any addresses.
    +173    pub(super) fn is_empty(&self) -> bool {
    +174        self.paths.is_empty()
    +175    }
    +176
    +177    /// Replies to all pending resolve requests.
    +178    ///
    +179    /// This is a no-op if no requests are queued. Replies `Ok` if we have any known paths,
    +180    /// otherwise with the provided `discovery_error` or with [`DiscoveryError::NoResults`].
    +181    fn emit_pending_resolve_requests(&mut self, discovery_error: Option<DiscoveryError>) {
    +182        if self.pending_resolve_requests.is_empty() {
    +183            return;
    +184        }
    +185        let result = match (self.paths.is_empty(), discovery_error) {
    +186            (false, _) => Ok(()),
    +187            (true, Some(err)) => Err(err),
    +188            (true, None) => Err(e!(DiscoveryError::NoResults)),
    +189        };
    +190        for tx in self.pending_resolve_requests.drain(..) {
    +191            tx.send(result.clone()).ok();
    +192        }
    +193    }
    +194
    +195    /// Prune paths.
    +196    ///
    +197    /// Should be invoked any time we insert a new path.
    +198    ///
    +199    /// We currently only prune IP paths. For more information on the criteria
    +200    /// for when and which paths we prune, look at the [`prune_ip_paths`] function.
    +201    pub(super) fn prune_paths(&mut self) {
    +202        // right now we only prune IP paths
    +203        prune_ip_paths(&mut self.paths);
    +204    }
    +205}
     206
    -207    // if the total number of ip paths is less than the max, bail early
    -208    if ip_paths.len() < MAX_IP_PATHS {
    -209        return;
    -210    }
    -211
    -212    // paths that were opened at one point but have previously been closed
    -213    let mut inactive = Vec::with_capacity(ip_paths.len());
    -214    // paths where we attempted hole punching but it not successful
    -215    let mut failed = Vec::with_capacity(ip_paths.len());
    -216
    -217    for (addr, state) in ip_paths {
    -218        match state.status {
    -219            PathStatus::Inactive(t) => {
    -220                // paths where holepunching succeeded at one point, but the path was closed.
    -221                inactive.push((addr.clone(), t));
    -222            }
    -223            PathStatus::Unusable => {
    -224                // paths where holepunching has been attempted and failed.
    -225                failed.push(addr.clone());
    -226            }
    -227            _ => {
    -228                // ignore paths that are open or the status is unknown
    -229            }
    -230        }
    -231    }
    -232
    -233    // All paths are bad, don't prune all of them.
    -234    //
    -235    // This implies that `inactive` is empty.
    -236    if failed.len() == paths.len() {
    -237        // leave the max number of IP paths
    -238        failed.truncate(paths.len().saturating_sub(MAX_IP_PATHS));
    -239    }
    -240
    -241    // sort the potentially prunable from most recently closed to least recently closed
    -242    inactive.sort_by(|a, b| b.1.cmp(&a.1));
    -243
    -244    // Prune the "oldest" closed paths.
    -245    let old_inactive = inactive.split_off(inactive.len().saturating_sub(MAX_INACTIVE_IP_PATHS));
    +207/// The state of a single path to the remote endpoint.
    +208///
    +209/// Each path is identified by the destination [`transports::Addr`] and they are stored in
    +210/// the [`RemotePathState`] map at [`RemoteStateActor::paths`].
    +211///
    +212/// [`RemoteStateActor::paths`]: super::RemoteStateActor::paths
    +213#[derive(Debug, Default)]
    +214pub(super) struct PathState {
    +215    /// How we learned about this path, and when.
    +216    ///
    +217    /// We keep track of only the latest [`Instant`] for each [`Source`], keeping the size
    +218    /// of the map of sources down to one entry per type of source.
    +219    pub(super) sources: HashMap<Source, Instant>,
    +220    /// The usability status of this path.
    +221    pub(super) status: PathStatus,
    +222}
    +223
    +224/// Prunes the IP paths in the paths HashMap.
    +225///
    +226/// Only prunes if the number of IP paths is above [`MAX_IP_PATHS`].
    +227///
    +228/// Keeps paths that are open or of unknown status.
    +229///
    +230/// Always prunes paths that have unsuccessfully holepunched.
    +231///
    +232/// Keeps [`MAX_INACTIVE_IP_PATHS`] of the most recently closed paths
    +233/// that are not currently being used but have successfully been
    +234/// holepunched previously.
    +235///
    +236/// This all ensures that:
    +237///
    +238/// - We do not have unbounded growth of paths.
    +239/// - If we have many paths for this remote, we prune the paths that cannot hole punch.
    +240/// - We do not prune holepunched paths that are currently not in use too quickly. For example, if a large number of untested paths are added at once, we will not immediately prune all of the unused, but valid, paths at once.
    +241fn prune_ip_paths(paths: &mut FxHashMap<transports::Addr, PathState>) {
    +242    // if the total number of paths is less than the max, bail early
    +243    if paths.len() < MAX_IP_PATHS {
    +244        return;
    +245    }
     246
    -247    // collect all the paths that should be pruned
    -248    let must_prune: HashSet<_> = failed
    -249        .into_iter()
    -250        .chain(old_inactive.into_iter().map(|(addr, _)| addr))
    -251        .collect();
    -252
    -253    paths.retain(|addr, _| !must_prune.contains(addr));
    -254}
    -255
    -256#[cfg(test)]
    -257mod tests {
    -258    use std::{
    -259        net::{Ipv4Addr, SocketAddrV4},
    -260        time::Duration,
    -261    };
    -262
    -263    use iroh_base::{RelayUrl, SecretKey};
    -264    use rand::SeedableRng;
    -265
    -266    use super::*;
    -267
    -268    fn ip_addr(port: u16) -> transports::Addr {
    -269        transports::Addr::Ip(SocketAddrV4::new(Ipv4Addr::LOCALHOST, port).into())
    -270    }
    -271
    -272    fn path_state_inactive(closed: Instant) -> PathState {
    -273        PathState {
    -274            sources: HashMap::new(),
    -275            status: PathStatus::Inactive(closed),
    -276        }
    -277    }
    -278
    -279    fn path_state_unusable() -> PathState {
    -280        PathState {
    -281            sources: HashMap::new(),
    -282            status: PathStatus::Unusable,
    -283        }
    -284    }
    +247    let ip_paths: Vec<_> = paths.iter().filter(|(addr, _)| addr.is_ip()).collect();
    +248
    +249    // if the total number of ip paths is less than the max, bail early
    +250    if ip_paths.len() < MAX_IP_PATHS {
    +251        return;
    +252    }
    +253
    +254    // paths that were opened at one point but have previously been closed
    +255    let mut inactive = Vec::with_capacity(ip_paths.len());
    +256    // paths where we attempted hole punching but it not successful
    +257    let mut failed = Vec::with_capacity(ip_paths.len());
    +258
    +259    for (addr, state) in ip_paths {
    +260        match state.status {
    +261            PathStatus::Inactive(t) => {
    +262                // paths where holepunching succeeded at one point, but the path was closed.
    +263                inactive.push((addr.clone(), t));
    +264            }
    +265            PathStatus::Unusable => {
    +266                // paths where holepunching has been attempted and failed.
    +267                failed.push(addr.clone());
    +268            }
    +269            _ => {
    +270                // ignore paths that are open or the status is unknown
    +271            }
    +272        }
    +273    }
    +274
    +275    // All paths are bad, don't prune all of them.
    +276    //
    +277    // This implies that `inactive` is empty.
    +278    if failed.len() == paths.len() {
    +279        // leave the max number of IP paths
    +280        failed.truncate(paths.len().saturating_sub(MAX_IP_PATHS));
    +281    }
    +282
    +283    // sort the potentially prunable from most recently closed to least recently closed
    +284    inactive.sort_by(|a, b| b.1.cmp(&a.1));
     285
    -286    #[test]
    -287    fn test_prune_under_max_paths() {
    -288        let mut paths = FxHashMap::default();
    -289        for i in 0..20 {
    -290            paths.insert(ip_addr(i), PathState::default());
    -291        }
    -292
    -293        prune_ip_paths(&mut paths);
    -294        assert_eq!(20, paths.len(), "should not prune when under MAX_IP_PATHS");
    -295    }
    -296
    -297    #[test]
    -298    fn test_prune_at_max_paths_no_prunable() {
    -299        let mut paths = FxHashMap::default();
    -300        // All paths are active (never abandoned), so none should be pruned
    -301        for i in 0..MAX_IP_PATHS {
    -302            paths.insert(ip_addr(i as u16), PathState::default());
    -303        }
    +286    // Prune the "oldest" closed paths.
    +287    let old_inactive = inactive.split_off(inactive.len().saturating_sub(MAX_INACTIVE_IP_PATHS));
    +288
    +289    // collect all the paths that should be pruned
    +290    let must_prune: HashSet<_> = failed
    +291        .into_iter()
    +292        .chain(old_inactive.into_iter().map(|(addr, _)| addr))
    +293        .collect();
    +294
    +295    paths.retain(|addr, _| !must_prune.contains(addr));
    +296}
    +297
    +298#[cfg(test)]
    +299mod tests {
    +300    use std::{
    +301        net::{Ipv4Addr, SocketAddrV4},
    +302        time::Duration,
    +303    };
     304
    -305        prune_ip_paths(&mut paths);
    -306        assert_eq!(MAX_IP_PATHS, paths.len(), "should not prune active paths");
    -307    }
    -308
    -309    #[test]
    -310    fn test_prune_failed_holepunch() {
    -311        let mut paths = FxHashMap::default();
    -312
    -313        // Add 20 active paths
    -314        for i in 0..20 {
    -315            paths.insert(ip_addr(i), PathState::default());
    -316        }
    -317
    -318        // Add 15 failed holepunch paths (must_prune)
    -319        for i in 20..35 {
    -320            paths.insert(ip_addr(i), path_state_unusable());
    -321        }
    -322
    -323        prune_ip_paths(&mut paths);
    -324
    -325        // All failed holepunch paths should be pruned
    -326        assert_eq!(20, paths.len());
    -327        for i in 0..20 {
    -328            assert!(paths.contains_key(&ip_addr(i)));
    -329        }
    -330        for i in 20..35 {
    -331            assert!(!paths.contains_key(&ip_addr(i)));
    -332        }
    -333    }
    +305    use iroh_base::{RelayUrl, SecretKey};
    +306    use rand::SeedableRng;
    +307
    +308    use super::*;
    +309
    +310    fn ip_addr(port: u16) -> transports::Addr {
    +311        transports::Addr::Ip(SocketAddrV4::new(Ipv4Addr::LOCALHOST, port).into())
    +312    }
    +313
    +314    fn path_state_inactive(closed: Instant) -> PathState {
    +315        PathState {
    +316            sources: HashMap::new(),
    +317            status: PathStatus::Inactive(closed),
    +318        }
    +319    }
    +320
    +321    fn path_state_unusable() -> PathState {
    +322        PathState {
    +323            sources: HashMap::new(),
    +324            status: PathStatus::Unusable,
    +325        }
    +326    }
    +327
    +328    #[test]
    +329    fn test_prune_under_max_paths() {
    +330        let mut paths = FxHashMap::default();
    +331        for i in 0..20 {
    +332            paths.insert(ip_addr(i), PathState::default());
    +333        }
     334
    -335    #[test]
    -336    fn test_prune_keeps_most_recent_inactive() {
    -337        let mut paths = FxHashMap::default();
    -338        let now = Instant::now();
    -339
    -340        // Add 15 active paths
    -341        for i in 0..15 {
    -342            paths.insert(ip_addr(i), PathState::default());
    -343        }
    -344
    -345        // Add 20 inactive paths with different abandon times
    -346        // Ports 15-34, with port 34 being most recently abandoned
    -347        for i in 0..20 {
    -348            let abandoned_time = now - Duration::from_secs((20 - i) as u64);
    -349            paths.insert(ip_addr(15 + i as u16), path_state_inactive(abandoned_time));
    -350        }
    -351
    -352        assert_eq!(35, paths.len());
    -353        prune_ip_paths(&mut paths);
    +335        prune_ip_paths(&mut paths);
    +336        assert_eq!(20, paths.len(), "should not prune when under MAX_IP_PATHS");
    +337    }
    +338
    +339    #[test]
    +340    fn test_prune_at_max_paths_no_prunable() {
    +341        let mut paths = FxHashMap::default();
    +342        // All paths are active (never abandoned), so none should be pruned
    +343        for i in 0..MAX_IP_PATHS {
    +344            paths.insert(ip_addr(i as u16), PathState::default());
    +345        }
    +346
    +347        prune_ip_paths(&mut paths);
    +348        assert_eq!(MAX_IP_PATHS, paths.len(), "should not prune active paths");
    +349    }
    +350
    +351    #[test]
    +352    fn test_prune_failed_holepunch() {
    +353        let mut paths = FxHashMap::default();
     354
    -355        // Should keep 15 active + 10 most recently abandoned
    -356        assert_eq!(25, paths.len());
    -357
    -358        // Active paths should remain
    -359        for i in 0..15 {
    -360            assert!(paths.contains_key(&ip_addr(i)));
    -361        }
    -362
    -363        // Most recently abandoned (ports 25-34) should remain
    -364        for i in 25..35 {
    -365            assert!(paths.contains_key(&ip_addr(i)), "port {} should be kept", i);
    -366        }
    -367
    -368        // Oldest abandoned (ports 15-24) should be pruned
    -369        for i in 15..25 {
    -370            assert!(
    -371                !paths.contains_key(&ip_addr(i)),
    -372                "port {} should be pruned",
    -373                i
    -374            );
    -375        }
    -376    }
    -377
    -378    #[test]
    -379    fn test_prune_mixed_must_and_can_prune() {
    -380        let mut paths = FxHashMap::default();
    -381        let now = Instant::now();
    -382
    -383        // Add 15 active paths
    -384        for i in 0..15 {
    -385            paths.insert(ip_addr(i), PathState::default());
    -386        }
    -387
    -388        // Add 5 failed holepunch paths
    -389        for i in 15..20 {
    -390            paths.insert(ip_addr(i), path_state_unusable());
    -391        }
    -392
    -393        // Add 15 usable but abandoned paths
    -394        for i in 0..15 {
    -395            let abandoned_time = now - Duration::from_secs((15 - i) as u64);
    -396            paths.insert(ip_addr(20 + i as u16), path_state_inactive(abandoned_time));
    -397        }
    -398
    -399        assert_eq!(35, paths.len());
    -400        prune_ip_paths(&mut paths);
    -401
    -402        // Remove all failed paths -> down to 30
    -403        // Keep MAX_INACTIVE_IP_PATHS, eg remove 5 usable but abandoned paths -> down to 20
    -404        assert_eq!(20, paths.len());
    -405
    -406        // Active paths should remain
    -407        for i in 0..15 {
    -408            assert!(paths.contains_key(&ip_addr(i)));
    -409        }
    -410
    -411        // Failed holepunch should be pruned
    -412        for i in 15..20 {
    -413            assert!(!paths.contains_key(&ip_addr(i)));
    -414        }
    -415
    -416        // Most recently abandoned (ports 30-34) should remain
    -417        for i in 30..35 {
    -418            assert!(paths.contains_key(&ip_addr(i)), "port {} should be kept", i);
    -419        }
    -420    }
    -421
    -422    #[test]
    -423    fn test_prune_non_ip_paths_not_counted() {
    -424        let mut paths = FxHashMap::default();
    -425
    -426        // Add 25 IP paths (under MAX_IP_PATHS)
    -427        for i in 0..25 {
    -428            paths.insert(ip_addr(i), path_state_unusable());
    -429        }
    -430
    -431        let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64);
    -432        let relay_url: RelayUrl = url::Url::parse("https://localhost")
    -433            .expect("should be valid url")
    -434            .into();
    -435        // Add 10 relay addresses
    -436        for _ in 0..10 {
    -437            let id = SecretKey::generate(&mut rng).public();
    -438            let relay_addr = transports::Addr::Relay(relay_url.clone(), id);
    -439            paths.insert(relay_addr, PathState::default());
    -440        }
    -441
    -442        assert_eq!(35, paths.len()); // 25 IP + 10 relay
    -443        prune_ip_paths(&mut paths);
    -444
    -445        // Should not prune since IP paths < MAX_IP_PATHS
    -446        assert_eq!(35, paths.len());
    -447    }
    -448
    -449    #[test]
    -450    fn test_prune_preserves_never_dialed() {
    -451        let mut paths = FxHashMap::default();
    +355        // Add 20 active paths
    +356        for i in 0..20 {
    +357            paths.insert(ip_addr(i), PathState::default());
    +358        }
    +359
    +360        // Add 15 failed holepunch paths (must_prune)
    +361        for i in 20..35 {
    +362            paths.insert(ip_addr(i), path_state_unusable());
    +363        }
    +364
    +365        prune_ip_paths(&mut paths);
    +366
    +367        // All failed holepunch paths should be pruned
    +368        assert_eq!(20, paths.len());
    +369        for i in 0..20 {
    +370            assert!(paths.contains_key(&ip_addr(i)));
    +371        }
    +372        for i in 20..35 {
    +373            assert!(!paths.contains_key(&ip_addr(i)));
    +374        }
    +375    }
    +376
    +377    #[test]
    +378    fn test_prune_keeps_most_recent_inactive() {
    +379        let mut paths = FxHashMap::default();
    +380        let now = Instant::now();
    +381
    +382        // Add 15 active paths
    +383        for i in 0..15 {
    +384            paths.insert(ip_addr(i), PathState::default());
    +385        }
    +386
    +387        // Add 20 inactive paths with different abandon times
    +388        // Ports 15-34, with port 34 being most recently abandoned
    +389        for i in 0..20 {
    +390            let abandoned_time = now - Duration::from_secs((20 - i) as u64);
    +391            paths.insert(ip_addr(15 + i as u16), path_state_inactive(abandoned_time));
    +392        }
    +393
    +394        assert_eq!(35, paths.len());
    +395        prune_ip_paths(&mut paths);
    +396
    +397        // Should keep 15 active + 10 most recently abandoned
    +398        assert_eq!(25, paths.len());
    +399
    +400        // Active paths should remain
    +401        for i in 0..15 {
    +402            assert!(paths.contains_key(&ip_addr(i)));
    +403        }
    +404
    +405        // Most recently abandoned (ports 25-34) should remain
    +406        for i in 25..35 {
    +407            assert!(paths.contains_key(&ip_addr(i)), "port {} should be kept", i);
    +408        }
    +409
    +410        // Oldest abandoned (ports 15-24) should be pruned
    +411        for i in 15..25 {
    +412            assert!(
    +413                !paths.contains_key(&ip_addr(i)),
    +414                "port {} should be pruned",
    +415                i
    +416            );
    +417        }
    +418    }
    +419
    +420    #[test]
    +421    fn test_prune_mixed_must_and_can_prune() {
    +422        let mut paths = FxHashMap::default();
    +423        let now = Instant::now();
    +424
    +425        // Add 15 active paths
    +426        for i in 0..15 {
    +427            paths.insert(ip_addr(i), PathState::default());
    +428        }
    +429
    +430        // Add 5 failed holepunch paths
    +431        for i in 15..20 {
    +432            paths.insert(ip_addr(i), path_state_unusable());
    +433        }
    +434
    +435        // Add 15 usable but abandoned paths
    +436        for i in 0..15 {
    +437            let abandoned_time = now - Duration::from_secs((15 - i) as u64);
    +438            paths.insert(ip_addr(20 + i as u16), path_state_inactive(abandoned_time));
    +439        }
    +440
    +441        assert_eq!(35, paths.len());
    +442        prune_ip_paths(&mut paths);
    +443
    +444        // Remove all failed paths -> down to 30
    +445        // Keep MAX_INACTIVE_IP_PATHS, eg remove 5 usable but abandoned paths -> down to 20
    +446        assert_eq!(20, paths.len());
    +447
    +448        // Active paths should remain
    +449        for i in 0..15 {
    +450            assert!(paths.contains_key(&ip_addr(i)));
    +451        }
     452
    -453        // Add 20 never-dialed paths (PathStatus::Unknown)
    -454        for i in 0..20 {
    -455            paths.insert(ip_addr(i), PathState::default());
    +453        // Failed holepunch should be pruned
    +454        for i in 15..20 {
    +455            assert!(!paths.contains_key(&ip_addr(i)));
     456        }
     457
    -458        // Add 15 failed paths to trigger pruning
    -459        for i in 20..35 {
    -460            paths.insert(ip_addr(i), path_state_unusable());
    +458        // Most recently abandoned (ports 30-34) should remain
    +459        for i in 30..35 {
    +460            assert!(paths.contains_key(&ip_addr(i)), "port {} should be kept", i);
     461        }
    -462
    -463        prune_ip_paths(&mut paths);
    -464
    -465        // Never-dialed paths should be preserved
    -466        for i in 0..20 {
    -467            assert!(paths.contains_key(&ip_addr(i)));
    -468        }
    -469    }
    -470
    -471    #[test]
    -472    fn test_prune_all_paths_failed() {
    -473        let mut paths = FxHashMap::default();
    -474
    -475        // Add 40 failed holepunch paths (all paths have failed)
    -476        for i in 0..40 {
    -477            paths.insert(ip_addr(i), path_state_unusable());
    -478        }
    -479
    -480        assert_eq!(40, paths.len());
    -481        prune_ip_paths(&mut paths);
    -482
    -483        // Should keep MAX_IP_PATHS instead of pruning everything
    -484        // This prevents catastrophic loss of all path information
    -485        assert_eq!(
    -486            MAX_IP_PATHS,
    -487            paths.len(),
    -488            "should keep MAX_IP_PATHS when all paths failed"
    -489        );
    -490    }
    -491
    -492    #[test]
    -493    fn test_insert_open_path() {
    -494        let mut state = RemotePathState::default();
    -495        let addr = ip_addr(1000);
    -496        let source = Source::Udp;
    -497
    -498        assert!(state.is_empty());
    +462    }
    +463
    +464    #[test]
    +465    fn test_prune_non_ip_paths_not_counted() {
    +466        let mut paths = FxHashMap::default();
    +467
    +468        // Add 25 IP paths (under MAX_IP_PATHS)
    +469        for i in 0..25 {
    +470            paths.insert(ip_addr(i), path_state_unusable());
    +471        }
    +472
    +473        let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64);
    +474        let relay_url: RelayUrl = url::Url::parse("https://localhost")
    +475            .expect("should be valid url")
    +476            .into();
    +477        // Add 10 relay addresses
    +478        for _ in 0..10 {
    +479            let id = SecretKey::generate(&mut rng).public();
    +480            let relay_addr = transports::Addr::Relay(relay_url.clone(), id);
    +481            paths.insert(relay_addr, PathState::default());
    +482        }
    +483
    +484        assert_eq!(35, paths.len()); // 25 IP + 10 relay
    +485        prune_ip_paths(&mut paths);
    +486
    +487        // Should not prune since IP paths < MAX_IP_PATHS
    +488        assert_eq!(35, paths.len());
    +489    }
    +490
    +491    #[test]
    +492    fn test_prune_preserves_never_dialed() {
    +493        let mut paths = FxHashMap::default();
    +494
    +495        // Add 20 never-dialed paths (PathStatus::Unknown)
    +496        for i in 0..20 {
    +497            paths.insert(ip_addr(i), PathState::default());
    +498        }
     499
    -500        state.insert_open_path(addr.clone(), source.clone());
    -501
    -502        assert!(!state.is_empty());
    -503        assert!(state.paths.contains_key(&addr));
    -504        let path = &state.paths[&addr];
    -505        assert!(matches!(path.status, PathStatus::Open));
    -506        assert_eq!(path.sources.len(), 1);
    -507        assert!(path.sources.contains_key(&source));
    -508    }
    -509
    -510    #[test]
    -511    fn test_abandoned_path() {
    -512        let mut state = RemotePathState::default();
    -513
    -514        // Test: Open goes to Inactive
    -515        let addr_open = ip_addr(1000);
    -516        state.insert_open_path(addr_open.clone(), Source::Udp);
    -517        assert!(matches!(state.paths[&addr_open].status, PathStatus::Open));
    -518
    -519        state.abandoned_path(&addr_open);
    -520        assert!(matches!(
    -521            state.paths[&addr_open].status,
    -522            PathStatus::Inactive(_)
    -523        ));
    +500        // Add 15 failed paths to trigger pruning
    +501        for i in 20..35 {
    +502            paths.insert(ip_addr(i), path_state_unusable());
    +503        }
    +504
    +505        prune_ip_paths(&mut paths);
    +506
    +507        // Never-dialed paths should be preserved
    +508        for i in 0..20 {
    +509            assert!(paths.contains_key(&ip_addr(i)));
    +510        }
    +511    }
    +512
    +513    #[test]
    +514    fn test_prune_all_paths_failed() {
    +515        let mut paths = FxHashMap::default();
    +516
    +517        // Add 40 failed holepunch paths (all paths have failed)
    +518        for i in 0..40 {
    +519            paths.insert(ip_addr(i), path_state_unusable());
    +520        }
    +521
    +522        assert_eq!(40, paths.len());
    +523        prune_ip_paths(&mut paths);
     524
    -525        // Test: Inactive stays Inactive
    -526        state.abandoned_path(&addr_open);
    -527        assert!(matches!(
    -528            state.paths[&addr_open].status,
    -529            PathStatus::Inactive(_)
    -530        ));
    -531
    -532        // Test: Unknown goes to Unusable
    -533        let addr_unknown = ip_addr(2000);
    -534        state.insert_multiple([addr_unknown.clone()].into_iter(), Source::Relay);
    -535        assert!(matches!(
    -536            state.paths[&addr_unknown].status,
    -537            PathStatus::Unknown
    -538        ));
    +525        // Should keep MAX_IP_PATHS instead of pruning everything
    +526        // This prevents catastrophic loss of all path information
    +527        assert_eq!(
    +528            MAX_IP_PATHS,
    +529            paths.len(),
    +530            "should keep MAX_IP_PATHS when all paths failed"
    +531        );
    +532    }
    +533
    +534    #[test]
    +535    fn test_insert_open_path() {
    +536        let mut state = RemotePathState::new(Default::default());
    +537        let addr = ip_addr(1000);
    +538        let source = Source::Udp;
     539
    -540        state.abandoned_path(&addr_unknown);
    -541        assert!(matches!(
    -542            state.paths[&addr_unknown].status,
    -543            PathStatus::Unusable
    -544        ));
    -545
    -546        // Test: Unusable stays Unusable
    -547        state.abandoned_path(&addr_unknown);
    -548        assert!(matches!(
    -549            state.paths[&addr_unknown].status,
    -550            PathStatus::Unusable
    -551        ));
    -552    }
    -553}
    \ No newline at end of file +540 assert!(state.is_empty()); +541 +542 state.insert_open_path(addr.clone(), source.clone()); +543 +544 assert!(!state.is_empty()); +545 assert!(state.paths.contains_key(&addr)); +546 let path = &state.paths[&addr]; +547 assert!(matches!(path.status, PathStatus::Open)); +548 assert_eq!(path.sources.len(), 1); +549 assert!(path.sources.contains_key(&source)); +550 } +551 +552 #[test] +553 fn test_abandoned_path() { +554 let metrics = Arc::new(MagicsockMetrics::default()); +555 let mut state = RemotePathState::new(metrics.clone()); +556 +557 // Test: Open goes to Inactive +558 let addr_open = ip_addr(1000); +559 state.insert_open_path(addr_open.clone(), Source::Udp); +560 assert!(matches!(state.paths[&addr_open].status, PathStatus::Open)); +561 assert_eq!(metrics.transport_ip_paths_added.get(), 1); +562 +563 state.abandoned_path(&addr_open); +564 assert!(matches!( +565 state.paths[&addr_open].status, +566 PathStatus::Inactive(_) +567 )); +568 assert_eq!(metrics.transport_ip_paths_added.get(), 1); +569 assert_eq!(metrics.transport_ip_paths_removed.get(), 1); +570 +571 // Test: Inactive stays Inactive +572 state.abandoned_path(&addr_open); +573 assert!(matches!( +574 state.paths[&addr_open].status, +575 PathStatus::Inactive(_) +576 )); +577 assert_eq!(metrics.transport_ip_paths_added.get(), 1); +578 assert_eq!(metrics.transport_ip_paths_removed.get(), 1); +579 +580 // Test: Unknown goes to Unusable +581 let addr_unknown = ip_addr(2000); +582 state.insert_multiple([addr_unknown.clone()].into_iter(), Source::Relay); +583 assert!(matches!( +584 state.paths[&addr_unknown].status, +585 PathStatus::Unknown +586 )); +587 assert_eq!(metrics.transport_ip_paths_added.get(), 1); +588 assert_eq!(metrics.transport_ip_paths_removed.get(), 1); +589 +590 state.abandoned_path(&addr_unknown); +591 assert!(matches!( +592 state.paths[&addr_unknown].status, +593 PathStatus::Unusable +594 )); +595 assert_eq!(metrics.transport_ip_paths_added.get(), 1); +596 assert_eq!(metrics.transport_ip_paths_removed.get(), 1); +597 +598 // Test: Unusable stays Unusable +599 state.abandoned_path(&addr_unknown); +600 assert!(matches!( +601 state.paths[&addr_unknown].status, +602 PathStatus::Unusable +603 )); +604 assert_eq!(metrics.transport_ip_paths_added.get(), 1); +605 assert_eq!(metrics.transport_ip_paths_removed.get(), 1); +606 +607 // Test: Unusable can go to open +608 state.insert_open_path(addr_unknown.clone(), Source::Udp); +609 assert!(matches!( +610 state.paths[&addr_unknown].status, +611 PathStatus::Open +612 )); +613 assert_eq!(metrics.transport_ip_paths_added.get(), 2); +614 assert_eq!(metrics.transport_ip_paths_removed.get(), 1); +615 } +616} \ No newline at end of file diff --git a/pr/3734/docs/src/iroh/magicsock/remote_map/remote_state/remote_info.rs.html b/pr/3734/docs/src/iroh/magicsock/remote_map/remote_state/remote_info.rs.html new file mode 100644 index 0000000000..8308c8ebb8 --- /dev/null +++ b/pr/3734/docs/src/iroh/magicsock/remote_map/remote_state/remote_info.rs.html @@ -0,0 +1,91 @@ +remote_info.rs - source

    iroh/magicsock/remote_map/remote_state/
    remote_info.rs

    1use iroh_base::{EndpointId, TransportAddr};
    +2
    +3/// Information about a remote endpoint.
    +4///
    +5/// This information is a snapshot in time, i.e. it is not updating and may
    +6/// already be outdated by the time you are reading this. Updated information
    +7/// can only be retrieved by calling [`Endpoint::remote_info`] again.
    +8///
    +9/// [`Endpoint::remote_info`]: crate::Endpoint::remote_info
    +10#[derive(Debug, Clone)]
    +11pub struct RemoteInfo {
    +12    pub(super) endpoint_id: EndpointId,
    +13    pub(super) addrs: Vec<TransportAddrInfo>,
    +14}
    +15
    +16impl RemoteInfo {
    +17    /// Returns the remote's endpoint id.
    +18    pub fn id(&self) -> EndpointId {
    +19        self.endpoint_id
    +20    }
    +21
    +22    /// Returns an iterator over known all addresses for this remote.
    +23    ///
    +24    /// Note that this may include outdated or unusable addresses.
    +25    pub fn addrs(&self) -> impl Iterator<Item = &TransportAddrInfo> {
    +26        self.addrs.iter()
    +27    }
    +28
    +29    /// Converts into an iterator over known all addresses for this remote.
    +30    ///
    +31    /// Note that this may include outdated or unusable addresses. You can use [`TransportAddrInfo::usage`]
    +32    /// to filter for addresses that are actively used.
    +33    ///
    +34    /// You can use this to construct an [`EndpointAddr`] for this remote:
    +35    ///
    +36    /// ```no_run
    +37    /// # use iroh::{Endpoint, EndpointId, EndpointAddr};
    +38    /// # #[tokio::main]
    +39    /// # async fn main() {
    +40    /// # let endpoint = Endpoint::bind().await.unwrap();
    +41    /// # let remote_id = EndpointId::from_bytes(&[0u8; 32]).unwrap();
    +42    /// let info = endpoint.remote_info(remote_id).await.unwrap();
    +43    /// let addr = EndpointAddr::from_parts(info.id(), info.into_addrs().map(|addr| addr.into_addr()));
    +44    /// # }
    +45    /// ```
    +46    ///
    +47    /// [`EndpointAddr`]: crate::EndpointAddr
    +48    pub fn into_addrs(self) -> impl Iterator<Item = TransportAddrInfo> {
    +49        self.addrs.into_iter()
    +50    }
    +51}
    +52
    +53/// Address of a remote with some metadata
    +54#[derive(Debug, Clone)]
    +55pub struct TransportAddrInfo {
    +56    pub(super) addr: TransportAddr,
    +57    pub(super) usage: TransportAddrUsage,
    +58}
    +59
    +60impl TransportAddrInfo {
    +61    /// Returns the [`TransportAddr`].
    +62    pub fn addr(&self) -> &TransportAddr {
    +63        &self.addr
    +64    }
    +65
    +66    /// Converts into [`TransportAddr`].
    +67    pub fn into_addr(self) -> TransportAddr {
    +68        self.addr
    +69    }
    +70
    +71    /// Returns information how this address is used.
    +72    pub fn usage(&self) -> TransportAddrUsage {
    +73        self.usage
    +74    }
    +75}
    +76
    +77impl From<TransportAddrInfo> for TransportAddr {
    +78    fn from(value: TransportAddrInfo) -> Self {
    +79        value.addr
    +80    }
    +81}
    +82
    +83/// Information how a transport address is used.
    +84#[derive(Debug, Copy, Clone)]
    +85#[non_exhaustive]
    +86pub enum TransportAddrUsage {
    +87    /// The address is in active use.
    +88    Active,
    +89    /// The address is not currently used.
    +90    Inactive,
    +91}
    \ No newline at end of file diff --git a/pr/3734/docs/src/iroh/magicsock/transports.rs.html b/pr/3734/docs/src/iroh/magicsock/transports.rs.html index 298ede2264..e34a4de419 100644 --- a/pr/3734/docs/src/iroh/magicsock/transports.rs.html +++ b/pr/3734/docs/src/iroh/magicsock/transports.rs.html @@ -2,761 +2,766 @@ 2 fmt, 3 io::{self, IoSliceMut}, 4 net::{IpAddr, Ipv6Addr, SocketAddr, SocketAddrV6}, -5 pin::Pin, -6 sync::Arc, -7 task::{Context, Poll}, -8}; -9 -10use bytes::Bytes; -11use iroh_base::{EndpointId, RelayUrl, TransportAddr}; -12use iroh_relay::RelayMap; -13use n0_watcher::Watcher; -14use relay::{RelayNetworkChangeSender, RelaySender}; -15use tokio_util::sync::CancellationToken; -16use tracing::{debug, error, instrument, trace, warn}; -17 -18use super::{MagicSock, mapped_addrs::MultipathMappedAddr, remote_map::RemoteStateMessage}; -19use crate::{metrics::EndpointMetrics, net_report::Report}; -20 -21#[cfg(not(wasm_browser))] -22mod ip; -23mod relay; -24 -25#[cfg(not(wasm_browser))] -26pub(crate) use self::ip::IpTransport; -27#[cfg(not(wasm_browser))] -28use self::ip::{IpNetworkChangeSender, IpSender}; -29pub(crate) use self::relay::{RelayActorConfig, RelayTransport}; -30 -31/// Manages the different underlying data transports that the magicsock -32/// can support. -33#[derive(Debug)] -34pub(crate) struct Transports { -35 #[cfg(not(wasm_browser))] -36 ip: Vec<IpTransport>, -37 relay: Vec<RelayTransport>, -38 -39 poll_recv_counter: usize, -40 /// Cache for source addrs, to speed up access -41 source_addrs: [Addr; quinn_udp::BATCH_SIZE], -42} -43 -44#[cfg(not(wasm_browser))] -45pub(crate) type LocalAddrsWatch = n0_watcher::Map< -46 n0_watcher::Tuple< -47 n0_watcher::Join<SocketAddr, n0_watcher::Direct<SocketAddr>>, -48 n0_watcher::Join< -49 Option<(RelayUrl, EndpointId)>, -50 n0_watcher::Map<n0_watcher::Direct<Option<RelayUrl>>, Option<(RelayUrl, EndpointId)>>, -51 >, -52 >, -53 Vec<Addr>, -54>; -55 -56#[cfg(wasm_browser)] -57pub(crate) type LocalAddrsWatch = n0_watcher::Map< -58 n0_watcher::Join< -59 Option<(RelayUrl, EndpointId)>, -60 n0_watcher::Map<n0_watcher::Direct<Option<RelayUrl>>, Option<(RelayUrl, EndpointId)>>, -61 >, -62 Vec<Addr>, -63>; -64 -65/// Available transport configurations. -66#[derive(Debug, Clone)] -67#[non_exhaustive] -68pub enum TransportConfig { -69 /// IP based transport -70 #[cfg(not(wasm_browser))] -71 Ip { -72 /// The address this transport will bind on. -73 bind_addr: SocketAddr, -74 }, -75 /// Relay transport -76 Relay { -77 /// The [`RelayMap`] used for this relay. -78 relay_map: RelayMap, -79 }, -80} -81impl TransportConfig { -82 /// Configures a default IPv4 transport, listening on `0.0.0.0:0`. -83 #[cfg(not(wasm_browser))] -84 pub fn default_ipv4() -> Self { -85 use std::net::{Ipv4Addr, SocketAddrV4}; -86 -87 Self::Ip { -88 bind_addr: SocketAddr::V4(SocketAddrV4::new(Ipv4Addr::UNSPECIFIED, 0)), -89 } -90 } -91 -92 /// Configures a default IPv6 transport, listening on `[::]:0`. -93 #[cfg(not(wasm_browser))] -94 pub fn default_ipv6() -> Self { -95 Self::Ip { -96 bind_addr: SocketAddr::V6(SocketAddrV6::new(Ipv6Addr::UNSPECIFIED, 0, 0, 0)), -97 } -98 } -99} -100 -101#[cfg(not(wasm_browser))] -102fn bind_ip(configs: &[TransportConfig], metrics: &EndpointMetrics) -> io::Result<Vec<IpTransport>> { -103 let mut transports = Vec::new(); -104 for config in configs { -105 if let TransportConfig::Ip { bind_addr } = config { -106 match IpTransport::bind(*bind_addr, metrics.magicsock.clone()) { -107 Ok(transport) => { -108 transports.push(transport); -109 } -110 Err(err) => { -111 if bind_addr.is_ipv6() { -112 tracing::info!("bind ignoring IPv6 bind failure: {:?}", err); -113 } else { -114 return Err(err); -115 } -116 } -117 } -118 } -119 } -120 -121 Ok(transports) -122} -123 -124impl Transports { -125 /// Binds the transports. -126 pub(crate) fn bind( -127 configs: &[TransportConfig], -128 relay_actor_config: RelayActorConfig, -129 metrics: &EndpointMetrics, -130 shutdown_token: CancellationToken, -131 ) -> io::Result<Self> { -132 #[cfg(not(wasm_browser))] -133 let ip = bind_ip(configs, metrics)?; -134 -135 let relay = configs -136 .iter() -137 .filter(|t| matches!(t, TransportConfig::Relay { .. })) -138 .map(|_c| RelayTransport::new(relay_actor_config.clone(), shutdown_token.child_token())) -139 .collect(); -140 -141 Ok(Self { -142 #[cfg(not(wasm_browser))] -143 ip, -144 relay, -145 poll_recv_counter: Default::default(), -146 source_addrs: Default::default(), -147 }) -148 } -149 -150 pub(crate) fn poll_recv( -151 &mut self, -152 cx: &mut Context, -153 bufs: &mut [io::IoSliceMut<'_>], -154 metas: &mut [quinn_udp::RecvMeta], -155 msock: &MagicSock, -156 ) -> Poll<io::Result<usize>> { -157 debug_assert_eq!(bufs.len(), metas.len(), "non matching bufs & metas"); -158 debug_assert!(bufs.len() <= quinn_udp::BATCH_SIZE, "too many buffers"); -159 if msock.is_closing() { -160 return Poll::Pending; -161 } -162 -163 match self.inner_poll_recv(cx, bufs, metas)? { -164 Poll::Pending | Poll::Ready(0) => Poll::Pending, -165 Poll::Ready(n) => { -166 msock.process_datagrams(&mut bufs[..n], &mut metas[..n], &self.source_addrs[..n]); -167 Poll::Ready(Ok(n)) -168 } -169 } -170 } -171 -172 /// Tries to recv data, on all available transports. -173 fn inner_poll_recv( -174 &mut self, -175 cx: &mut Context, -176 bufs: &mut [IoSliceMut<'_>], -177 metas: &mut [quinn_udp::RecvMeta], -178 ) -> Poll<io::Result<usize>> { -179 debug_assert_eq!(bufs.len(), metas.len(), "non matching bufs & metas"); -180 -181 macro_rules! poll_transport { -182 ($socket:expr) => { -183 match $socket.poll_recv(cx, bufs, metas, &mut self.source_addrs)? { -184 Poll::Pending | Poll::Ready(0) => {} -185 Poll::Ready(n) => { -186 return Poll::Ready(Ok(n)); -187 } -188 } -189 }; -190 } -191 -192 // To improve fairness, every other call reverses the ordering of polling. -193 -194 let counter = self.poll_recv_counter.wrapping_add(1); -195 -196 if counter % 2 == 0 { -197 #[cfg(not(wasm_browser))] -198 for transport in &mut self.ip { -199 poll_transport!(transport); -200 } -201 for transport in &mut self.relay { -202 poll_transport!(transport); -203 } -204 } else { -205 for transport in self.relay.iter_mut().rev() { -206 poll_transport!(transport); -207 } -208 #[cfg(not(wasm_browser))] -209 for transport in self.ip.iter_mut().rev() { -210 poll_transport!(transport); -211 } -212 } -213 -214 Poll::Pending -215 } -216 -217 /// Returns a list of all currently known local addresses. -218 /// -219 /// For IP based transports this is the [`SocketAddr`] of the socket, -220 /// for relay transports, this is the home relay. -221 pub(crate) fn local_addrs(&self) -> Vec<Addr> { -222 self.local_addrs_watch().get() -223 } -224 -225 /// Watch for all currently known local addresses. -226 #[cfg(not(wasm_browser))] -227 pub(crate) fn local_addrs_watch(&self) -> LocalAddrsWatch { -228 let ips = n0_watcher::Join::new(self.ip.iter().map(|t| t.local_addr_watch())); -229 let relays = n0_watcher::Join::new(self.relay.iter().map(|t| t.local_addr_watch())); -230 -231 ips.or(relays).map(|(ips, relays)| { -232 ips.into_iter() -233 .map(Addr::from) -234 .chain( -235 relays -236 .into_iter() -237 .flatten() -238 .map(|(relay_url, endpoint_id)| Addr::Relay(relay_url, endpoint_id)), -239 ) -240 .collect() -241 }) -242 } -243 -244 #[cfg(wasm_browser)] -245 pub(crate) fn local_addrs_watch(&self) -> LocalAddrsWatch { -246 let relays = self.relay.iter().map(|t| t.local_addr_watch()); -247 n0_watcher::Join::new(relays) -248 .map(|relays| relays.into_iter().flatten().map(Addr::from).collect()) -249 } -250 -251 /// Returns the bound addresses for IP based transports -252 #[cfg(not(wasm_browser))] -253 pub(crate) fn ip_bind_addrs(&self) -> Vec<SocketAddr> { -254 self.ip.iter().map(|t| t.bind_addr()).collect() -255 } -256 -257 #[cfg(not(wasm_browser))] -258 pub(crate) fn max_transmit_segments(&self) -> usize { -259 let res = self.ip.iter().map(|t| t.max_transmit_segments()).min(); -260 res.unwrap_or(1) -261 } -262 -263 #[cfg(wasm_browser)] -264 pub(crate) fn max_transmit_segments(&self) -> usize { -265 1 -266 } -267 -268 #[cfg(not(wasm_browser))] -269 pub(crate) fn max_receive_segments(&self) -> usize { -270 // `max_receive_segments` controls the size of the `RecvMeta` buffer -271 // that quinn creates. Having buffers slightly bigger than necessary -272 // isn't terrible, and makes sure a single socket can read the maximum -273 // amount with a single poll. We considered adding these numbers instead, -274 // but we never get data from both sockets at the same time in `poll_recv` -275 // and it's impossible and unnecessary to be refactored that way. -276 -277 let res = self.ip.iter().map(|t| t.max_receive_segments()).max(); -278 res.unwrap_or(1) -279 } -280 -281 #[cfg(wasm_browser)] -282 pub(crate) fn max_receive_segments(&self) -> usize { -283 1 -284 } -285 -286 #[cfg(not(wasm_browser))] -287 pub(crate) fn may_fragment(&self) -> bool { -288 self.ip.iter().any(|t| t.may_fragment()) -289 } -290 -291 #[cfg(wasm_browser)] -292 pub(crate) fn may_fragment(&self) -> bool { -293 false -294 } -295 -296 pub(crate) fn create_sender(&self) -> TransportsSender { -297 #[cfg(not(wasm_browser))] -298 let ip = self.ip.iter().map(|t| t.create_sender()).collect(); -299 let relay = self.relay.iter().map(|t| t.create_sender()).collect(); -300 let max_transmit_segments = self.max_transmit_segments(); -301 -302 TransportsSender { -303 #[cfg(not(wasm_browser))] -304 ip, -305 relay, -306 max_transmit_segments, -307 } -308 } -309 -310 /// Handles potential changes to the underlying network conditions. -311 pub(crate) fn create_network_change_sender(&self) -> NetworkChangeSender { -312 NetworkChangeSender { -313 #[cfg(not(wasm_browser))] -314 ip: self -315 .ip -316 .iter() -317 .map(|t| t.create_network_change_sender()) -318 .collect(), -319 relay: self -320 .relay -321 .iter() -322 .map(|t| t.create_network_change_sender()) -323 .collect(), -324 } -325 } -326} -327 -328#[derive(Debug)] -329pub(crate) struct NetworkChangeSender { -330 #[cfg(not(wasm_browser))] -331 ip: Vec<IpNetworkChangeSender>, -332 relay: Vec<RelayNetworkChangeSender>, -333} -334 -335impl NetworkChangeSender { -336 pub(crate) fn on_network_change(&self, report: &Report) { -337 #[cfg(not(wasm_browser))] -338 for ip in &self.ip { -339 ip.on_network_change(report); -340 } -341 -342 for relay in &self.relay { -343 relay.on_network_change(report); -344 } -345 } -346 -347 /// Rebinds underlying connections, if necessary. -348 pub(crate) fn rebind(&self) -> std::io::Result<()> { -349 let mut res = Ok(()); -350 -351 #[cfg(not(wasm_browser))] -352 for transport in &self.ip { -353 if let Err(err) = transport.rebind() { -354 warn!("failed to rebind {:?}", err); -355 res = Err(err); -356 } -357 } -358 -359 for transport in &self.relay { -360 if let Err(err) = transport.rebind() { -361 warn!("failed to rebind {:?}", err); -362 res = Err(err); -363 } -364 } -365 res -366 } -367} -368 -369/// An outgoing packet -370#[derive(Debug, Clone)] -371pub(crate) struct Transmit<'a> { -372 pub(crate) ecn: Option<quinn_udp::EcnCodepoint>, -373 pub(crate) contents: &'a [u8], -374 pub(crate) segment_size: Option<usize>, -375} -376 -377/// An outgoing packet that can be sent across channels. -378#[derive(Debug, Clone)] -379pub(crate) struct OwnedTransmit { -380 pub(crate) ecn: Option<quinn_udp::EcnCodepoint>, -381 pub(crate) contents: Bytes, -382 pub(crate) segment_size: Option<usize>, -383} -384 -385impl From<&quinn_udp::Transmit<'_>> for OwnedTransmit { -386 fn from(source: &quinn_udp::Transmit<'_>) -> Self { -387 Self { -388 ecn: source.ecn, -389 contents: Bytes::copy_from_slice(source.contents), -390 segment_size: source.segment_size, -391 } -392 } -393} -394 -395/// Transports address. -396#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] -397pub(crate) enum Addr { -398 /// An IP address, should always be stored in its canonical form. -399 Ip(SocketAddr), -400 /// A relay address. -401 Relay(RelayUrl, EndpointId), -402} -403 -404impl fmt::Debug for Addr { -405 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { -406 match self { -407 Addr::Ip(addr) => write!(f, "Ip({addr})"), -408 Addr::Relay(url, node_id) => write!(f, "Relay({url}, {})", node_id.fmt_short()), -409 } -410 } -411} -412 -413impl Default for Addr { -414 fn default() -> Self { -415 Self::Ip(SocketAddr::V6(SocketAddrV6::new( -416 Ipv6Addr::UNSPECIFIED, -417 0, +5 num::NonZeroUsize, +6 pin::Pin, +7 sync::Arc, +8 task::{Context, Poll}, +9}; +10 +11use bytes::Bytes; +12use iroh_base::{EndpointId, RelayUrl, TransportAddr}; +13use iroh_relay::RelayMap; +14use n0_watcher::Watcher; +15use relay::{RelayNetworkChangeSender, RelaySender}; +16use tokio_util::sync::CancellationToken; +17use tracing::{debug, error, instrument, trace, warn}; +18 +19use super::{MagicSock, mapped_addrs::MultipathMappedAddr, remote_map::RemoteStateMessage}; +20use crate::{metrics::EndpointMetrics, net_report::Report}; +21 +22#[cfg(not(wasm_browser))] +23mod ip; +24mod relay; +25 +26#[cfg(not(wasm_browser))] +27pub(crate) use self::ip::IpTransport; +28#[cfg(not(wasm_browser))] +29use self::ip::{IpNetworkChangeSender, IpSender}; +30pub(crate) use self::relay::{RelayActorConfig, RelayTransport}; +31 +32/// Manages the different underlying data transports that the magicsock +33/// can support. +34#[derive(Debug)] +35pub(crate) struct Transports { +36 #[cfg(not(wasm_browser))] +37 ip: Vec<IpTransport>, +38 relay: Vec<RelayTransport>, +39 +40 poll_recv_counter: usize, +41 /// Cache for source addrs, to speed up access +42 source_addrs: [Addr; quinn_udp::BATCH_SIZE], +43} +44 +45#[cfg(not(wasm_browser))] +46pub(crate) type LocalAddrsWatch = n0_watcher::Map< +47 n0_watcher::Tuple< +48 n0_watcher::Join<SocketAddr, n0_watcher::Direct<SocketAddr>>, +49 n0_watcher::Join< +50 Option<(RelayUrl, EndpointId)>, +51 n0_watcher::Map<n0_watcher::Direct<Option<RelayUrl>>, Option<(RelayUrl, EndpointId)>>, +52 >, +53 >, +54 Vec<Addr>, +55>; +56 +57#[cfg(wasm_browser)] +58pub(crate) type LocalAddrsWatch = n0_watcher::Map< +59 n0_watcher::Join< +60 Option<(RelayUrl, EndpointId)>, +61 n0_watcher::Map<n0_watcher::Direct<Option<RelayUrl>>, Option<(RelayUrl, EndpointId)>>, +62 >, +63 Vec<Addr>, +64>; +65 +66/// Available transport configurations. +67#[derive(Debug, Clone)] +68#[non_exhaustive] +69pub enum TransportConfig { +70 /// IP based transport +71 #[cfg(not(wasm_browser))] +72 Ip { +73 /// The address this transport will bind on. +74 bind_addr: SocketAddr, +75 }, +76 /// Relay transport +77 Relay { +78 /// The [`RelayMap`] used for this relay. +79 relay_map: RelayMap, +80 }, +81} +82impl TransportConfig { +83 /// Configures a default IPv4 transport, listening on `0.0.0.0:0`. +84 #[cfg(not(wasm_browser))] +85 pub fn default_ipv4() -> Self { +86 use std::net::{Ipv4Addr, SocketAddrV4}; +87 +88 Self::Ip { +89 bind_addr: SocketAddr::V4(SocketAddrV4::new(Ipv4Addr::UNSPECIFIED, 0)), +90 } +91 } +92 +93 /// Configures a default IPv6 transport, listening on `[::]:0`. +94 #[cfg(not(wasm_browser))] +95 pub fn default_ipv6() -> Self { +96 Self::Ip { +97 bind_addr: SocketAddr::V6(SocketAddrV6::new(Ipv6Addr::UNSPECIFIED, 0, 0, 0)), +98 } +99 } +100} +101 +102#[cfg(not(wasm_browser))] +103fn bind_ip(configs: &[TransportConfig], metrics: &EndpointMetrics) -> io::Result<Vec<IpTransport>> { +104 let mut transports = Vec::new(); +105 for config in configs { +106 if let TransportConfig::Ip { bind_addr } = config { +107 match IpTransport::bind(*bind_addr, metrics.magicsock.clone()) { +108 Ok(transport) => { +109 transports.push(transport); +110 } +111 Err(err) => { +112 if bind_addr.is_ipv6() { +113 tracing::info!("bind ignoring IPv6 bind failure: {:?}", err); +114 } else { +115 return Err(err); +116 } +117 } +118 } +119 } +120 } +121 +122 Ok(transports) +123} +124 +125impl Transports { +126 /// Binds the transports. +127 pub(crate) fn bind( +128 configs: &[TransportConfig], +129 relay_actor_config: RelayActorConfig, +130 metrics: &EndpointMetrics, +131 shutdown_token: CancellationToken, +132 ) -> io::Result<Self> { +133 #[cfg(not(wasm_browser))] +134 let ip = bind_ip(configs, metrics)?; +135 +136 let relay = configs +137 .iter() +138 .filter(|t| matches!(t, TransportConfig::Relay { .. })) +139 .map(|_c| RelayTransport::new(relay_actor_config.clone(), shutdown_token.child_token())) +140 .collect(); +141 +142 Ok(Self { +143 #[cfg(not(wasm_browser))] +144 ip, +145 relay, +146 poll_recv_counter: Default::default(), +147 source_addrs: Default::default(), +148 }) +149 } +150 +151 pub(crate) fn poll_recv( +152 &mut self, +153 cx: &mut Context, +154 bufs: &mut [io::IoSliceMut<'_>], +155 metas: &mut [quinn_udp::RecvMeta], +156 msock: &MagicSock, +157 ) -> Poll<io::Result<usize>> { +158 debug_assert_eq!(bufs.len(), metas.len(), "non matching bufs & metas"); +159 debug_assert!(bufs.len() <= quinn_udp::BATCH_SIZE, "too many buffers"); +160 if msock.is_closing() { +161 return Poll::Pending; +162 } +163 +164 match self.inner_poll_recv(cx, bufs, metas)? { +165 Poll::Pending | Poll::Ready(0) => Poll::Pending, +166 Poll::Ready(n) => { +167 msock.process_datagrams(&mut bufs[..n], &mut metas[..n], &self.source_addrs[..n]); +168 Poll::Ready(Ok(n)) +169 } +170 } +171 } +172 +173 /// Tries to recv data, on all available transports. +174 fn inner_poll_recv( +175 &mut self, +176 cx: &mut Context, +177 bufs: &mut [IoSliceMut<'_>], +178 metas: &mut [quinn_udp::RecvMeta], +179 ) -> Poll<io::Result<usize>> { +180 debug_assert_eq!(bufs.len(), metas.len(), "non matching bufs & metas"); +181 +182 macro_rules! poll_transport { +183 ($socket:expr) => { +184 match $socket.poll_recv(cx, bufs, metas, &mut self.source_addrs)? { +185 Poll::Pending | Poll::Ready(0) => {} +186 Poll::Ready(n) => { +187 return Poll::Ready(Ok(n)); +188 } +189 } +190 }; +191 } +192 +193 // To improve fairness, every other call reverses the ordering of polling. +194 +195 let counter = self.poll_recv_counter.wrapping_add(1); +196 +197 if counter % 2 == 0 { +198 #[cfg(not(wasm_browser))] +199 for transport in &mut self.ip { +200 poll_transport!(transport); +201 } +202 for transport in &mut self.relay { +203 poll_transport!(transport); +204 } +205 } else { +206 for transport in self.relay.iter_mut().rev() { +207 poll_transport!(transport); +208 } +209 #[cfg(not(wasm_browser))] +210 for transport in self.ip.iter_mut().rev() { +211 poll_transport!(transport); +212 } +213 } +214 +215 Poll::Pending +216 } +217 +218 /// Returns a list of all currently known local addresses. +219 /// +220 /// For IP based transports this is the [`SocketAddr`] of the socket, +221 /// for relay transports, this is the home relay. +222 pub(crate) fn local_addrs(&self) -> Vec<Addr> { +223 self.local_addrs_watch().get() +224 } +225 +226 /// Watch for all currently known local addresses. +227 #[cfg(not(wasm_browser))] +228 pub(crate) fn local_addrs_watch(&self) -> LocalAddrsWatch { +229 let ips = n0_watcher::Join::new(self.ip.iter().map(|t| t.local_addr_watch())); +230 let relays = n0_watcher::Join::new(self.relay.iter().map(|t| t.local_addr_watch())); +231 +232 ips.or(relays).map(|(ips, relays)| { +233 ips.into_iter() +234 .map(Addr::from) +235 .chain( +236 relays +237 .into_iter() +238 .flatten() +239 .map(|(relay_url, endpoint_id)| Addr::Relay(relay_url, endpoint_id)), +240 ) +241 .collect() +242 }) +243 } +244 +245 #[cfg(wasm_browser)] +246 pub(crate) fn local_addrs_watch(&self) -> LocalAddrsWatch { +247 let relays = self.relay.iter().map(|t| t.local_addr_watch()); +248 n0_watcher::Join::new(relays) +249 .map(|relays| relays.into_iter().flatten().map(Addr::from).collect()) +250 } +251 +252 /// Returns the bound addresses for IP based transports +253 #[cfg(not(wasm_browser))] +254 pub(crate) fn ip_bind_addrs(&self) -> Vec<SocketAddr> { +255 self.ip.iter().map(|t| t.bind_addr()).collect() +256 } +257 +258 #[cfg(not(wasm_browser))] +259 pub(crate) fn max_transmit_segments(&self) -> NonZeroUsize { +260 let res = self.ip.iter().map(|t| t.max_transmit_segments()).min(); +261 res.unwrap_or(NonZeroUsize::MIN) +262 } +263 +264 #[cfg(wasm_browser)] +265 pub(crate) fn max_transmit_segments(&self) -> NonZeroUsize { +266 NonZeroUsize::MIN +267 } +268 +269 #[cfg(not(wasm_browser))] +270 pub(crate) fn max_receive_segments(&self) -> NonZeroUsize { +271 // `max_receive_segments` controls the size of the `RecvMeta` buffer +272 // that quinn creates. Having buffers slightly bigger than necessary +273 // isn't terrible, and makes sure a single socket can read the maximum +274 // amount with a single poll. We considered adding these numbers instead, +275 // but we never get data from both sockets at the same time in `poll_recv` +276 // and it's impossible and unnecessary to be refactored that way. +277 +278 let res = self.ip.iter().map(|t| t.max_receive_segments()).max(); +279 res.unwrap_or(NonZeroUsize::MIN) +280 } +281 +282 #[cfg(wasm_browser)] +283 pub(crate) fn max_receive_segments(&self) -> NonZeroUsize { +284 NonZeroUsize::MIN +285 } +286 +287 #[cfg(not(wasm_browser))] +288 pub(crate) fn may_fragment(&self) -> bool { +289 self.ip.iter().any(|t| t.may_fragment()) +290 } +291 +292 #[cfg(wasm_browser)] +293 pub(crate) fn may_fragment(&self) -> bool { +294 false +295 } +296 +297 pub(crate) fn create_sender(&self) -> TransportsSender { +298 #[cfg(not(wasm_browser))] +299 let ip = self.ip.iter().map(|t| t.create_sender()).collect(); +300 let relay = self.relay.iter().map(|t| t.create_sender()).collect(); +301 let max_transmit_segments = self.max_transmit_segments(); +302 +303 TransportsSender { +304 #[cfg(not(wasm_browser))] +305 ip, +306 relay, +307 max_transmit_segments, +308 } +309 } +310 +311 /// Handles potential changes to the underlying network conditions. +312 pub(crate) fn create_network_change_sender(&self) -> NetworkChangeSender { +313 NetworkChangeSender { +314 #[cfg(not(wasm_browser))] +315 ip: self +316 .ip +317 .iter() +318 .map(|t| t.create_network_change_sender()) +319 .collect(), +320 relay: self +321 .relay +322 .iter() +323 .map(|t| t.create_network_change_sender()) +324 .collect(), +325 } +326 } +327} +328 +329#[derive(Debug)] +330pub(crate) struct NetworkChangeSender { +331 #[cfg(not(wasm_browser))] +332 ip: Vec<IpNetworkChangeSender>, +333 relay: Vec<RelayNetworkChangeSender>, +334} +335 +336impl NetworkChangeSender { +337 pub(crate) fn on_network_change(&self, report: &Report) { +338 #[cfg(not(wasm_browser))] +339 for ip in &self.ip { +340 ip.on_network_change(report); +341 } +342 +343 for relay in &self.relay { +344 relay.on_network_change(report); +345 } +346 } +347 +348 /// Rebinds underlying connections, if necessary. +349 pub(crate) fn rebind(&self) -> std::io::Result<()> { +350 let mut res = Ok(()); +351 +352 #[cfg(not(wasm_browser))] +353 for transport in &self.ip { +354 if let Err(err) = transport.rebind() { +355 warn!("failed to rebind {:?}", err); +356 res = Err(err); +357 } +358 } +359 +360 for transport in &self.relay { +361 if let Err(err) = transport.rebind() { +362 warn!("failed to rebind {:?}", err); +363 res = Err(err); +364 } +365 } +366 res +367 } +368} +369 +370/// An outgoing packet +371#[derive(Debug, Clone)] +372pub(crate) struct Transmit<'a> { +373 pub(crate) ecn: Option<quinn_udp::EcnCodepoint>, +374 pub(crate) contents: &'a [u8], +375 pub(crate) segment_size: Option<usize>, +376} +377 +378/// An outgoing packet that can be sent across channels. +379#[derive(Debug, Clone)] +380pub(crate) struct OwnedTransmit { +381 pub(crate) ecn: Option<quinn_udp::EcnCodepoint>, +382 pub(crate) contents: Bytes, +383 pub(crate) segment_size: Option<usize>, +384} +385 +386impl From<&quinn_udp::Transmit<'_>> for OwnedTransmit { +387 fn from(source: &quinn_udp::Transmit<'_>) -> Self { +388 Self { +389 ecn: source.ecn, +390 contents: Bytes::copy_from_slice(source.contents), +391 segment_size: source.segment_size, +392 } +393 } +394} +395 +396/// Transports address. +397#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] +398pub(crate) enum Addr { +399 /// An IP address, should always be stored in its canonical form. +400 Ip(SocketAddr), +401 /// A relay address. +402 Relay(RelayUrl, EndpointId), +403} +404 +405impl fmt::Debug for Addr { +406 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { +407 match self { +408 Addr::Ip(addr) => write!(f, "Ip({addr})"), +409 Addr::Relay(url, node_id) => write!(f, "Relay({url}, {})", node_id.fmt_short()), +410 } +411 } +412} +413 +414impl Default for Addr { +415 fn default() -> Self { +416 Self::Ip(SocketAddr::V6(SocketAddrV6::new( +417 Ipv6Addr::UNSPECIFIED, 418 0, 419 0, -420 ))) -421 } -422} -423 -424impl From<SocketAddr> for Addr { -425 fn from(value: SocketAddr) -> Self { -426 match value { -427 SocketAddr::V4(_) => Self::Ip(value), -428 SocketAddr::V6(addr) => { -429 Self::Ip(SocketAddr::new(addr.ip().to_canonical(), addr.port())) -430 } -431 } -432 } -433} -434 -435impl From<&SocketAddr> for Addr { -436 fn from(value: &SocketAddr) -> Self { -437 match value { -438 SocketAddr::V4(_) => Self::Ip(*value), -439 SocketAddr::V6(addr) => { -440 Self::Ip(SocketAddr::new(addr.ip().to_canonical(), addr.port())) -441 } -442 } -443 } -444} -445 -446impl From<(RelayUrl, EndpointId)> for Addr { -447 fn from(value: (RelayUrl, EndpointId)) -> Self { -448 Self::Relay(value.0, value.1) -449 } -450} -451 -452impl From<Addr> for TransportAddr { -453 fn from(value: Addr) -> Self { -454 match value { -455 Addr::Ip(addr) => TransportAddr::Ip(addr), -456 Addr::Relay(url, _) => TransportAddr::Relay(url), -457 } -458 } -459} -460 -461impl Addr { -462 pub(crate) fn is_relay(&self) -> bool { -463 matches!(self, Self::Relay(..)) -464 } -465 -466 pub(crate) fn is_ip(&self) -> bool { -467 matches!(self, Self::Ip(_)) -468 } -469 -470 pub(crate) fn is_ipv4(&self) -> bool { -471 match self { -472 Addr::Ip(socket_addr) => socket_addr.is_ipv4(), -473 Addr::Relay(_, _) => false, -474 } -475 } -476 -477 /// Returns `None` if not an `Ip`. -478 pub(crate) fn into_socket_addr(self) -> Option<SocketAddr> { -479 match self { -480 Self::Ip(ip) => Some(ip), -481 Self::Relay(..) => None, -482 } -483 } -484} -485 -486/// A sender that sends to all our transports. -487#[derive(Debug, Clone)] -488pub(crate) struct TransportsSender { -489 #[cfg(not(wasm_browser))] -490 ip: Vec<IpSender>, -491 relay: Vec<RelaySender>, -492 max_transmit_segments: usize, -493} -494 -495impl TransportsSender { -496 #[instrument(name = "poll_send", skip(self, cx, transmit), fields(len = transmit.contents.len()))] -497 pub(crate) fn poll_send( -498 mut self: Pin<&mut Self>, -499 cx: &mut std::task::Context, -500 dst: &Addr, -501 src: Option<IpAddr>, -502 transmit: &Transmit<'_>, -503 ) -> Poll<io::Result<()>> { -504 match dst { -505 #[cfg(wasm_browser)] -506 Addr::Ip(..) => { -507 return Poll::Ready(Err(io::Error::other("IP is unsupported in browser"))); -508 } -509 #[cfg(not(wasm_browser))] -510 Addr::Ip(addr) => { -511 for sender in &mut self.ip { -512 if sender.is_valid_send_addr(addr) { -513 match Pin::new(sender).poll_send(cx, *addr, src, transmit) { -514 Poll::Pending => {} -515 Poll::Ready(res) => { -516 match &res { -517 Ok(()) => trace!("sent"), -518 Err(err) => trace!("send failed: {err:#}"), -519 } -520 return Poll::Ready(res); -521 } -522 } -523 } -524 } -525 } -526 Addr::Relay(url, endpoint_id) => { -527 for sender in &mut self.relay { -528 if sender.is_valid_send_addr(url, endpoint_id) { -529 match sender.poll_send(cx, url.clone(), *endpoint_id, transmit) { -530 Poll::Pending => {} -531 Poll::Ready(res) => { -532 match &res { -533 Ok(()) => trace!("sent"), -534 Err(err) => trace!("send failed: {err:#}"), -535 } -536 return Poll::Ready(res); -537 } -538 } -539 } -540 } -541 } -542 } -543 Poll::Pending -544 } -545} -546 -547/// A [`Transports`] that works with [`MultipathMappedAddr`]s and their IPv6 representation. -548/// -549/// The [`MultipathMappedAddr`]s have an IPv6 representation that Quinn uses. This struct -550/// knows about these and maps them back to the transport [`Addr`]s used by the wrapped -551/// [`Transports`]. -552#[derive(Debug)] -553pub(crate) struct MagicTransport { -554 msock: Arc<MagicSock>, -555 transports: Transports, -556} -557 -558impl MagicTransport { -559 pub(crate) fn new(msock: Arc<MagicSock>, transports: Transports) -> Self { -560 Self { msock, transports } -561 } -562} -563 -564impl quinn::AsyncUdpSocket for MagicTransport { -565 fn create_sender(&self) -> Pin<Box<dyn quinn::UdpSender>> { -566 Box::pin(MagicSender { -567 msock: self.msock.clone(), -568 sender: self.transports.create_sender(), -569 }) -570 } -571 -572 fn poll_recv( -573 &mut self, -574 cx: &mut Context, -575 bufs: &mut [IoSliceMut<'_>], -576 meta: &mut [quinn_udp::RecvMeta], -577 ) -> Poll<io::Result<usize>> { -578 self.transports.poll_recv(cx, bufs, meta, &self.msock) -579 } -580 -581 #[cfg(not(wasm_browser))] -582 fn local_addr(&self) -> io::Result<SocketAddr> { -583 let local_addrs = self.transports.local_addrs(); -584 let addrs: Vec<_> = local_addrs -585 .into_iter() -586 .map(|addr| { -587 use crate::magicsock::mapped_addrs::DEFAULT_FAKE_ADDR; -588 -589 match addr { -590 Addr::Ip(addr) => addr, -591 Addr::Relay(..) => DEFAULT_FAKE_ADDR.into(), -592 } -593 }) -594 .collect(); -595 -596 if let Some(addr) = addrs.iter().find(|addr| addr.is_ipv6()) { -597 return Ok(*addr); -598 } -599 if let Some(SocketAddr::V4(addr)) = addrs.first() { -600 // Pretend to be IPv6, because our `MappedAddr`s need to be IPv6. -601 let ip = addr.ip().to_ipv6_mapped().into(); -602 return Ok(SocketAddr::new(ip, addr.port())); +420 0, +421 ))) +422 } +423} +424 +425impl From<SocketAddr> for Addr { +426 fn from(value: SocketAddr) -> Self { +427 match value { +428 SocketAddr::V4(_) => Self::Ip(value), +429 SocketAddr::V6(addr) => { +430 Self::Ip(SocketAddr::new(addr.ip().to_canonical(), addr.port())) +431 } +432 } +433 } +434} +435 +436impl From<&SocketAddr> for Addr { +437 fn from(value: &SocketAddr) -> Self { +438 match value { +439 SocketAddr::V4(_) => Self::Ip(*value), +440 SocketAddr::V6(addr) => { +441 Self::Ip(SocketAddr::new(addr.ip().to_canonical(), addr.port())) +442 } +443 } +444 } +445} +446 +447impl From<(RelayUrl, EndpointId)> for Addr { +448 fn from(value: (RelayUrl, EndpointId)) -> Self { +449 Self::Relay(value.0, value.1) +450 } +451} +452 +453impl From<Addr> for TransportAddr { +454 fn from(value: Addr) -> Self { +455 match value { +456 Addr::Ip(addr) => TransportAddr::Ip(addr), +457 Addr::Relay(url, _) => TransportAddr::Relay(url), +458 } +459 } +460} +461 +462impl Addr { +463 pub(crate) fn is_relay(&self) -> bool { +464 matches!(self, Self::Relay(..)) +465 } +466 +467 pub(crate) fn is_ip(&self) -> bool { +468 matches!(self, Self::Ip(_)) +469 } +470 +471 /// Returns `None` if not an `Ip`. +472 pub(crate) fn into_socket_addr(self) -> Option<SocketAddr> { +473 match self { +474 Self::Ip(ip) => Some(ip), +475 Self::Relay(..) => None, +476 } +477 } +478} +479 +480/// A sender that sends to all our transports. +481#[derive(Debug, Clone)] +482pub(crate) struct TransportsSender { +483 #[cfg(not(wasm_browser))] +484 ip: Vec<IpSender>, +485 relay: Vec<RelaySender>, +486 max_transmit_segments: NonZeroUsize, +487} +488 +489impl TransportsSender { +490 #[instrument(name = "poll_send", skip(self, cx, transmit), fields(len = transmit.contents.len()))] +491 pub(crate) fn poll_send( +492 mut self: Pin<&mut Self>, +493 cx: &mut std::task::Context, +494 dst: &Addr, +495 src: Option<IpAddr>, +496 transmit: &Transmit<'_>, +497 ) -> Poll<io::Result<()>> { +498 let mut has_valid_sender = false; +499 match dst { +500 #[cfg(wasm_browser)] +501 Addr::Ip(..) => { +502 return Poll::Ready(Err(io::Error::other("IP is unsupported in browser"))); +503 } +504 #[cfg(not(wasm_browser))] +505 Addr::Ip(addr) => { +506 for sender in &mut self.ip { +507 if sender.is_valid_send_addr(addr) { +508 has_valid_sender = true; +509 match Pin::new(sender).poll_send(cx, *addr, src, transmit) { +510 Poll::Pending => {} +511 Poll::Ready(res) => { +512 match &res { +513 Ok(()) => trace!("sent"), +514 Err(err) => trace!("send failed: {err:#}"), +515 } +516 return Poll::Ready(res); +517 } +518 } +519 } +520 } +521 } +522 Addr::Relay(url, endpoint_id) => { +523 for sender in &mut self.relay { +524 if sender.is_valid_send_addr(url, endpoint_id) { +525 has_valid_sender = true; +526 match sender.poll_send(cx, url.clone(), *endpoint_id, transmit) { +527 Poll::Pending => {} +528 Poll::Ready(res) => { +529 match &res { +530 Ok(()) => trace!("sent"), +531 Err(err) => trace!("send failed: {err:#}"), +532 } +533 return Poll::Ready(res); +534 } +535 } +536 } +537 } +538 } +539 } +540 +541 if has_valid_sender { +542 // We have valid senders, but they are not ready so we return pending. +543 Poll::Pending +544 } else { +545 // We "blackhole" data that we have not found any usable transport for on +546 // to make sure the QUIC stack picks up that currently this data does not arrive. +547 Poll::Ready(Ok(())) +548 } +549 } +550} +551 +552/// A [`Transports`] that works with [`MultipathMappedAddr`]s and their IPv6 representation. +553/// +554/// The [`MultipathMappedAddr`]s have an IPv6 representation that Quinn uses. This struct +555/// knows about these and maps them back to the transport [`Addr`]s used by the wrapped +556/// [`Transports`]. +557#[derive(Debug)] +558pub(crate) struct MagicTransport { +559 msock: Arc<MagicSock>, +560 transports: Transports, +561} +562 +563impl MagicTransport { +564 pub(crate) fn new(msock: Arc<MagicSock>, transports: Transports) -> Self { +565 Self { msock, transports } +566 } +567} +568 +569impl quinn::AsyncUdpSocket for MagicTransport { +570 fn create_sender(&self) -> Pin<Box<dyn quinn::UdpSender>> { +571 Box::pin(MagicSender { +572 msock: self.msock.clone(), +573 sender: self.transports.create_sender(), +574 }) +575 } +576 +577 fn poll_recv( +578 &mut self, +579 cx: &mut Context, +580 bufs: &mut [IoSliceMut<'_>], +581 meta: &mut [quinn_udp::RecvMeta], +582 ) -> Poll<io::Result<usize>> { +583 self.transports.poll_recv(cx, bufs, meta, &self.msock) +584 } +585 +586 #[cfg(not(wasm_browser))] +587 fn local_addr(&self) -> io::Result<SocketAddr> { +588 let local_addrs = self.transports.local_addrs(); +589 let addrs: Vec<_> = local_addrs +590 .into_iter() +591 .map(|addr| { +592 use crate::magicsock::mapped_addrs::DEFAULT_FAKE_ADDR; +593 +594 match addr { +595 Addr::Ip(addr) => addr, +596 Addr::Relay(..) => DEFAULT_FAKE_ADDR.into(), +597 } +598 }) +599 .collect(); +600 +601 if let Some(addr) = addrs.iter().find(|addr| addr.is_ipv6()) { +602 return Ok(*addr); 603 } -604 -605 if !self.transports.relay.is_empty() { -606 // pretend we have an address to make sure things are not too sad during startup -607 use crate::magicsock::mapped_addrs::DEFAULT_FAKE_ADDR; -608 -609 return Ok(DEFAULT_FAKE_ADDR.into()); -610 } -611 Err(io::Error::other("no valid address available")) -612 } +604 if let Some(SocketAddr::V4(addr)) = addrs.first() { +605 // Pretend to be IPv6, because our `MappedAddr`s need to be IPv6. +606 let ip = addr.ip().to_ipv6_mapped().into(); +607 return Ok(SocketAddr::new(ip, addr.port())); +608 } +609 +610 if !self.transports.relay.is_empty() { +611 // pretend we have an address to make sure things are not too sad during startup +612 use crate::magicsock::mapped_addrs::DEFAULT_FAKE_ADDR; 613 -614 #[cfg(wasm_browser)] -615 fn local_addr(&self) -> io::Result<SocketAddr> { -616 // Again, we need to pretend we're IPv6, because of our `MappedAddr`s. -617 Ok(SocketAddr::new(std::net::Ipv6Addr::LOCALHOST.into(), 0)) -618 } -619 -620 fn max_receive_segments(&self) -> usize { -621 self.transports.max_receive_segments() -622 } -623 -624 fn may_fragment(&self) -> bool { -625 self.transports.may_fragment() -626 } -627} +614 return Ok(DEFAULT_FAKE_ADDR.into()); +615 } +616 Err(io::Error::other("no valid address available")) +617 } +618 +619 #[cfg(wasm_browser)] +620 fn local_addr(&self) -> io::Result<SocketAddr> { +621 // Again, we need to pretend we're IPv6, because of our `MappedAddr`s. +622 Ok(SocketAddr::new(std::net::Ipv6Addr::LOCALHOST.into(), 0)) +623 } +624 +625 fn max_receive_segments(&self) -> NonZeroUsize { +626 self.transports.max_receive_segments() +627 } 628 -629/// A sender for [`MagicTransport`]. -630/// -631/// This is special in that it handles [`MultipathMappedAddr::Mixed`] by delegating to the -632/// [`MagicSock`] which expands it back to one or more [`Addr`]s and sends it -633/// using the underlying [`Transports`]. -634#[derive(Debug)] -635#[pin_project::pin_project] -636pub(crate) struct MagicSender { -637 msock: Arc<MagicSock>, -638 #[pin] -639 sender: TransportsSender, -640} -641 -642impl MagicSender { -643 /// Extracts the right [`Addr`] from the [`quinn_udp::Transmit`]. -644 /// -645 /// Because Quinn does only know about IP transports we map other transports to private -646 /// IPv6 Unique Local Address ranges. This extracts the transport addresses out of the -647 /// transmit's destination. -648 fn mapped_addr(&self, transmit: &quinn_udp::Transmit) -> io::Result<MultipathMappedAddr> { -649 if self.msock.is_closed() { -650 return Err(io::Error::new( -651 io::ErrorKind::NotConnected, -652 "connection closed", -653 )); -654 } -655 -656 Ok(MultipathMappedAddr::from(transmit.destination)) -657 } -658} -659 -660impl quinn::UdpSender for MagicSender { -661 fn poll_send( -662 self: Pin<&mut Self>, -663 quinn_transmit: &quinn_udp::Transmit, -664 cx: &mut Context, -665 ) -> Poll<io::Result<()>> { -666 // On errors this methods prefers returning Ok(()) to Quinn. Returning an error -667 // should only happen if the error is permanent and fatal and it will never be -668 // possible to send anything again. Doing so kills the Quinn EndpointDriver. Most -669 // send errors are intermittent errors, returning Ok(()) in those cases will mean -670 // Quinn eventually considers the packets that had send errors as lost and will try -671 // and re-send them. -672 let mapped_addr = self.mapped_addr(quinn_transmit)?; -673 -674 let transport_addr = match mapped_addr { -675 MultipathMappedAddr::Mixed(mapped_addr) => { -676 let Some(node_id) = self -677 .msock -678 .remote_map -679 .endpoint_mapped_addrs -680 .lookup(&mapped_addr) -681 else { -682 error!(dst = ?mapped_addr, "unknown NodeIdMappedAddr, dropped transmit"); -683 return Poll::Ready(Ok(())); -684 }; -685 -686 // Note we drop the src_ip set in the Quinn Transmit. This is only the -687 // Initial packet we are sending, so we do not yet have an src address we -688 // need to respond from. -689 if let Some(src_ip) = quinn_transmit.src_ip { -690 warn!(dst = ?mapped_addr, ?src_ip, dst_node = %node_id.fmt_short(), -691 "oops, flub didn't think this would happen"); -692 } -693 -694 let sender = self.msock.remote_map.remote_state_actor(node_id); -695 let transmit = OwnedTransmit::from(quinn_transmit); -696 return match sender.try_send(RemoteStateMessage::SendDatagram( -697 self.sender.clone(), -698 transmit, -699 )) { -700 Ok(()) => { -701 trace!(dst = ?mapped_addr, dst_node = %node_id.fmt_short(), "sent transmit"); -702 Poll::Ready(Ok(())) -703 } -704 Err(err) => { -705 // We do not want to block the next send which might be on a -706 // different transport. Instead we let Quinn handle this as -707 // a lost datagram. -708 // TODO: Revisit this: we might want to do something better. -709 debug!(dst = ?mapped_addr, dst_node = %node_id.fmt_short(), -710 "RemoteStateActor inbox {err:#}, dropped transmit"); -711 Poll::Ready(Ok(())) -712 } -713 }; -714 } -715 MultipathMappedAddr::Relay(relay_mapped_addr) => { -716 match self -717 .msock -718 .remote_map -719 .relay_mapped_addrs -720 .lookup(&relay_mapped_addr) -721 { -722 Some((relay_url, endpoint_id)) => Addr::Relay(relay_url, endpoint_id), -723 None => { -724 error!("unknown RelayMappedAddr, dropped transmit"); -725 return Poll::Ready(Ok(())); -726 } -727 } -728 } -729 MultipathMappedAddr::Ip(socket_addr) => Addr::Ip(socket_addr), -730 }; -731 -732 let transmit = Transmit { -733 ecn: quinn_transmit.ecn, -734 contents: quinn_transmit.contents, -735 segment_size: quinn_transmit.segment_size, -736 }; -737 let this = self.project(); -738 -739 match this -740 .sender -741 .poll_send(cx, &transport_addr, quinn_transmit.src_ip, &transmit) -742 { -743 Poll::Ready(Ok(())) => Poll::Ready(Ok(())), -744 Poll::Ready(Err(ref err)) => { -745 warn!("dropped transmit: {err:#}"); -746 Poll::Ready(Ok(())) -747 } -748 Poll::Pending => { -749 // We do not want to block the next send which might be on a -750 // different transport. Instead we let Quinn handle this as a lost -751 // datagram. -752 // TODO: Revisit this: we might want to do something better. -753 trace!("transport pending, dropped transmit"); -754 Poll::Ready(Ok(())) -755 } -756 } -757 } -758 -759 fn max_transmit_segments(&self) -> usize { -760 self.sender.max_transmit_segments -761 } -762} \ No newline at end of file +629 fn may_fragment(&self) -> bool { +630 self.transports.may_fragment() +631 } +632} +633 +634/// A sender for [`MagicTransport`]. +635/// +636/// This is special in that it handles [`MultipathMappedAddr::Mixed`] by delegating to the +637/// [`MagicSock`] which expands it back to one or more [`Addr`]s and sends it +638/// using the underlying [`Transports`]. +639#[derive(Debug)] +640#[pin_project::pin_project] +641pub(crate) struct MagicSender { +642 msock: Arc<MagicSock>, +643 #[pin] +644 sender: TransportsSender, +645} +646 +647impl MagicSender { +648 /// Extracts the right [`Addr`] from the [`quinn_udp::Transmit`]. +649 /// +650 /// Because Quinn does only know about IP transports we map other transports to private +651 /// IPv6 Unique Local Address ranges. This extracts the transport addresses out of the +652 /// transmit's destination. +653 fn mapped_addr(&self, transmit: &quinn_udp::Transmit) -> io::Result<MultipathMappedAddr> { +654 if self.msock.is_closed() { +655 return Err(io::Error::new( +656 io::ErrorKind::NotConnected, +657 "connection closed", +658 )); +659 } +660 +661 Ok(MultipathMappedAddr::from(transmit.destination)) +662 } +663} +664 +665impl quinn::UdpSender for MagicSender { +666 fn poll_send( +667 self: Pin<&mut Self>, +668 quinn_transmit: &quinn_udp::Transmit, +669 cx: &mut Context, +670 ) -> Poll<io::Result<()>> { +671 // On errors this methods prefers returning Ok(()) to Quinn. Returning an error +672 // should only happen if the error is permanent and fatal and it will never be +673 // possible to send anything again. Doing so kills the Quinn EndpointDriver. Most +674 // send errors are intermittent errors, returning Ok(()) in those cases will mean +675 // Quinn eventually considers the packets that had send errors as lost and will try +676 // and re-send them. +677 let mapped_addr = self.mapped_addr(quinn_transmit)?; +678 +679 let transport_addr = match mapped_addr { +680 MultipathMappedAddr::Mixed(mapped_addr) => { +681 let Some(node_id) = self +682 .msock +683 .remote_map +684 .endpoint_mapped_addrs +685 .lookup(&mapped_addr) +686 else { +687 error!(dst = ?mapped_addr, "unknown NodeIdMappedAddr, dropped transmit"); +688 return Poll::Ready(Ok(())); +689 }; +690 +691 // Note we drop the src_ip set in the Quinn Transmit. This is only the +692 // Initial packet we are sending, so we do not yet have an src address we +693 // need to respond from. +694 if let Some(src_ip) = quinn_transmit.src_ip { +695 warn!(dst = ?mapped_addr, ?src_ip, dst_node = %node_id.fmt_short(), +696 "oops, flub didn't think this would happen"); +697 } +698 +699 let sender = self.msock.remote_map.remote_state_actor(node_id); +700 let transmit = OwnedTransmit::from(quinn_transmit); +701 return match sender.try_send(RemoteStateMessage::SendDatagram( +702 self.sender.clone(), +703 transmit, +704 )) { +705 Ok(()) => { +706 trace!(dst = ?mapped_addr, dst_node = %node_id.fmt_short(), "sent transmit"); +707 Poll::Ready(Ok(())) +708 } +709 Err(err) => { +710 // We do not want to block the next send which might be on a +711 // different transport. Instead we let Quinn handle this as +712 // a lost datagram. +713 // TODO: Revisit this: we might want to do something better. +714 debug!(dst = ?mapped_addr, dst_node = %node_id.fmt_short(), +715 "RemoteStateActor inbox {err:#}, dropped transmit"); +716 Poll::Ready(Ok(())) +717 } +718 }; +719 } +720 MultipathMappedAddr::Relay(relay_mapped_addr) => { +721 match self +722 .msock +723 .remote_map +724 .relay_mapped_addrs +725 .lookup(&relay_mapped_addr) +726 { +727 Some((relay_url, endpoint_id)) => Addr::Relay(relay_url, endpoint_id), +728 None => { +729 error!("unknown RelayMappedAddr, dropped transmit"); +730 return Poll::Ready(Ok(())); +731 } +732 } +733 } +734 MultipathMappedAddr::Ip(socket_addr) => Addr::Ip(socket_addr), +735 }; +736 +737 let transmit = Transmit { +738 ecn: quinn_transmit.ecn, +739 contents: quinn_transmit.contents, +740 segment_size: quinn_transmit.segment_size, +741 }; +742 let this = self.project(); +743 +744 match this +745 .sender +746 .poll_send(cx, &transport_addr, quinn_transmit.src_ip, &transmit) +747 { +748 Poll::Ready(Ok(())) => Poll::Ready(Ok(())), +749 Poll::Ready(Err(ref err)) => { +750 warn!("dropped transmit: {err:#}"); +751 Poll::Ready(Ok(())) +752 } +753 Poll::Pending => { +754 // We do not want to block the next send which might be on a +755 // different transport. Instead we let Quinn handle this as a lost +756 // datagram. +757 // TODO: Revisit this: we might want to do something better. +758 trace!("transport pending, dropped transmit"); +759 Poll::Ready(Ok(())) +760 } +761 } +762 } +763 +764 fn max_transmit_segments(&self) -> NonZeroUsize { +765 self.sender.max_transmit_segments +766 } +767} \ No newline at end of file diff --git a/pr/3734/docs/src/iroh/magicsock/transports/ip.rs.html b/pr/3734/docs/src/iroh/magicsock/transports/ip.rs.html index 47c78528f2..edba2b8751 100644 --- a/pr/3734/docs/src/iroh/magicsock/transports/ip.rs.html +++ b/pr/3734/docs/src/iroh/magicsock/transports/ip.rs.html @@ -1,233 +1,234 @@ ip.rs - source

    iroh/magicsock/transports/
    ip.rs

    1use std::{
     2    io,
     3    net::{IpAddr, SocketAddr},
    -4    pin::Pin,
    -5    sync::Arc,
    -6    task::{Context, Poll},
    -7};
    -8
    -9use n0_watcher::Watchable;
    -10use netwatch::{UdpSender, UdpSocket};
    -11use pin_project::pin_project;
    -12use tracing::{debug, trace};
    -13
    -14use super::{Addr, Transmit};
    -15use crate::metrics::MagicsockMetrics;
    -16
    -17#[derive(Debug)]
    -18pub(crate) struct IpTransport {
    -19    bind_addr: SocketAddr,
    -20    socket: Arc<UdpSocket>,
    -21    local_addr: Watchable<SocketAddr>,
    -22    metrics: Arc<MagicsockMetrics>,
    -23}
    -24
    -25fn bind_with_fallback(mut addr: SocketAddr) -> io::Result<netwatch::UdpSocket> {
    -26    debug!(%addr, "binding");
    -27
    -28    // First try binding a preferred port, if specified
    -29    match netwatch::UdpSocket::bind_full(addr) {
    -30        Ok(socket) => {
    -31            let local_addr = socket.local_addr()?;
    -32            debug!(%addr, %local_addr, "successfully bound");
    -33            return Ok(socket);
    -34        }
    -35        Err(err) => {
    -36            debug!(%addr, "failed to bind: {err:#}");
    -37            // If that was already the fallback port, then error out
    -38            if addr.port() == 0 {
    -39                return Err(err);
    -40            }
    -41        }
    -42    }
    -43
    -44    // Otherwise, try binding with port 0
    -45    addr.set_port(0);
    -46    netwatch::UdpSocket::bind_full(addr)
    -47}
    -48
    -49impl IpTransport {
    -50    pub(crate) fn bind(bind_addr: SocketAddr, metrics: Arc<MagicsockMetrics>) -> io::Result<Self> {
    -51        let socket = bind_with_fallback(bind_addr)?;
    -52        Ok(Self::new(bind_addr, Arc::new(socket), metrics.clone()))
    -53    }
    -54
    -55    pub(crate) fn new(
    -56        bind_addr: SocketAddr,
    -57        socket: Arc<UdpSocket>,
    -58        metrics: Arc<MagicsockMetrics>,
    -59    ) -> Self {
    -60        // Currently gets updated on manual rebind
    -61        // TODO: update when UdpSocket under the hood rebinds automatically
    -62        let local_addr = Watchable::new(socket.local_addr().expect("invalid socket"));
    -63
    -64        Self {
    -65            bind_addr,
    -66            socket,
    -67            local_addr,
    -68            metrics,
    -69        }
    -70    }
    -71
    -72    /// NOTE: Receiving on a closed socket will return [`Poll::Pending`] indefinitely.
    -73    pub(super) fn poll_recv(
    -74        &mut self,
    -75        cx: &mut Context,
    -76        bufs: &mut [io::IoSliceMut<'_>],
    -77        metas: &mut [quinn_udp::RecvMeta],
    -78        source_addrs: &mut [Addr],
    -79    ) -> Poll<io::Result<usize>> {
    -80        match self.socket.poll_recv_quinn(cx, bufs, metas) {
    -81            Poll::Pending => Poll::Pending,
    -82            Poll::Ready(Ok(n)) => {
    -83                for (source_addr, meta) in source_addrs.iter_mut().zip(metas.iter_mut()).take(n) {
    -84                    if meta.addr.is_ipv4() {
    -85                        // The AsyncUdpSocket is an AF_INET6 socket and needs to show this
    -86                        // as coming from an IPv4-mapped IPv6 addresses, since Quinn will
    -87                        // use those when sending on an INET6 socket.
    -88                        let v6_ip = match meta.addr.ip() {
    -89                            IpAddr::V4(ipv4_addr) => ipv4_addr.to_ipv6_mapped(),
    -90                            IpAddr::V6(ipv6_addr) => ipv6_addr,
    -91                        };
    -92                        meta.addr = SocketAddr::new(v6_ip.into(), meta.addr.port());
    -93                    }
    -94                    // The transport addresses are internal to iroh and we always want those
    -95                    // to remain the canonical address.
    -96                    *source_addr =
    -97                        SocketAddr::new(meta.addr.ip().to_canonical(), meta.addr.port()).into();
    -98                }
    -99                Poll::Ready(Ok(n))
    -100            }
    -101            Poll::Ready(Err(err)) => Poll::Ready(Err(err)),
    -102        }
    -103    }
    -104
    -105    pub(super) fn local_addr_watch(&self) -> n0_watcher::Direct<SocketAddr> {
    -106        self.local_addr.watch()
    -107    }
    -108
    -109    pub(super) fn max_transmit_segments(&self) -> usize {
    -110        self.socket.max_gso_segments()
    -111    }
    -112
    -113    pub(super) fn max_receive_segments(&self) -> usize {
    -114        self.socket.gro_segments()
    -115    }
    -116
    -117    pub(super) fn may_fragment(&self) -> bool {
    -118        self.socket.may_fragment()
    -119    }
    -120
    -121    pub(crate) fn bind_addr(&self) -> SocketAddr {
    -122        self.bind_addr
    -123    }
    -124
    -125    pub(super) fn create_network_change_sender(&self) -> IpNetworkChangeSender {
    -126        IpNetworkChangeSender {
    -127            socket: self.socket.clone(),
    -128            local_addr: self.local_addr.clone(),
    -129        }
    -130    }
    -131
    -132    pub(super) fn create_sender(&self) -> IpSender {
    -133        let sender = self.socket.clone().create_sender();
    -134        IpSender {
    -135            bind_addr: self.bind_addr,
    -136            sender,
    -137            metrics: self.metrics.clone(),
    -138        }
    -139    }
    -140}
    -141
    -142#[derive(Debug)]
    -143pub(super) struct IpNetworkChangeSender {
    -144    socket: Arc<UdpSocket>,
    -145    local_addr: Watchable<SocketAddr>,
    -146}
    -147
    -148impl IpNetworkChangeSender {
    -149    pub(super) fn rebind(&self) -> io::Result<()> {
    -150        let old_addr = self.local_addr.get();
    -151        self.socket.rebind()?;
    -152        let addr = self.socket.local_addr()?;
    -153        self.local_addr.set(addr).ok();
    -154        trace!("rebound from {} to {}", old_addr, addr);
    -155
    -156        Ok(())
    -157    }
    -158
    -159    pub(super) fn on_network_change(&self, _info: &crate::magicsock::Report) {
    -160        // Nothing to do for now
    -161    }
    -162}
    -163
    -164#[derive(Debug, Clone)]
    -165#[pin_project]
    -166pub(super) struct IpSender {
    -167    bind_addr: SocketAddr,
    -168    #[pin]
    -169    sender: UdpSender,
    -170    metrics: Arc<MagicsockMetrics>,
    -171}
    -172
    -173impl IpSender {
    -174    pub(super) fn is_valid_send_addr(&self, dst: &SocketAddr) -> bool {
    -175        // Our net-tools crate binds sockets to their specific family.  This means an IPv6
    -176        // socket can not sent to IPv4, on any platform.  So we need to convert and
    -177        // IPv4-mapped IPv6 address back to it's canonical IPv4 address.
    -178        let dst_ip = dst.ip().to_canonical();
    -179
    -180        #[allow(clippy::match_like_matches_macro)]
    -181        match (self.bind_addr.ip(), dst_ip) {
    -182            (IpAddr::V4(_), IpAddr::V4(_)) => true,
    -183            (IpAddr::V6(_), IpAddr::V6(_)) => true,
    -184            _ => false,
    -185        }
    -186    }
    -187
    -188    /// Creates a canonical socket address.
    -189    ///
    -190    /// We may be asked to send IPv4-mapped IPv6 addresses.  But our sockets are configured
    -191    /// to only send their actual family.  So we need to map those back to the canonical
    -192    /// addresses.
    -193    #[inline]
    -194    fn canonical_addr(addr: SocketAddr) -> SocketAddr {
    -195        SocketAddr::new(addr.ip().to_canonical(), addr.port())
    -196    }
    -197
    -198    pub(super) fn poll_send(
    -199        mut self: Pin<&mut Self>,
    -200        cx: &mut std::task::Context,
    -201        dst: SocketAddr,
    -202        src: Option<IpAddr>,
    -203        transmit: &Transmit<'_>,
    -204    ) -> Poll<io::Result<()>> {
    -205        let total_bytes = transmit.contents.len() as u64;
    -206        let res = Pin::new(&mut self.sender).poll_send(
    -207            &quinn_udp::Transmit {
    -208                destination: Self::canonical_addr(dst),
    -209                ecn: transmit.ecn,
    -210                contents: transmit.contents,
    -211                segment_size: transmit.segment_size,
    -212                src_ip: src,
    -213            },
    -214            cx,
    -215        );
    -216
    -217        match res {
    -218            Poll::Ready(Ok(res)) => {
    -219                match dst {
    -220                    SocketAddr::V4(_) => {
    -221                        self.metrics.send_ipv4.inc_by(total_bytes);
    -222                    }
    -223                    SocketAddr::V6(_) => {
    -224                        self.metrics.send_ipv6.inc_by(total_bytes);
    -225                    }
    -226                }
    -227                Poll::Ready(Ok(res))
    -228            }
    -229            Poll::Ready(Err(err)) => Poll::Ready(Err(err)),
    -230            Poll::Pending => Poll::Pending,
    -231        }
    -232    }
    -233}
    \ No newline at end of file +4 num::NonZeroUsize, +5 pin::Pin, +6 sync::Arc, +7 task::{Context, Poll}, +8}; +9 +10use n0_watcher::Watchable; +11use netwatch::{UdpSender, UdpSocket}; +12use pin_project::pin_project; +13use tracing::{debug, trace}; +14 +15use super::{Addr, Transmit}; +16use crate::metrics::MagicsockMetrics; +17 +18#[derive(Debug)] +19pub(crate) struct IpTransport { +20 bind_addr: SocketAddr, +21 socket: Arc<UdpSocket>, +22 local_addr: Watchable<SocketAddr>, +23 metrics: Arc<MagicsockMetrics>, +24} +25 +26fn bind_with_fallback(mut addr: SocketAddr) -> io::Result<netwatch::UdpSocket> { +27 debug!(%addr, "binding"); +28 +29 // First try binding a preferred port, if specified +30 match netwatch::UdpSocket::bind_full(addr) { +31 Ok(socket) => { +32 let local_addr = socket.local_addr()?; +33 debug!(%addr, %local_addr, "successfully bound"); +34 return Ok(socket); +35 } +36 Err(err) => { +37 debug!(%addr, "failed to bind: {err:#}"); +38 // If that was already the fallback port, then error out +39 if addr.port() == 0 { +40 return Err(err); +41 } +42 } +43 } +44 +45 // Otherwise, try binding with port 0 +46 addr.set_port(0); +47 netwatch::UdpSocket::bind_full(addr) +48} +49 +50impl IpTransport { +51 pub(crate) fn bind(bind_addr: SocketAddr, metrics: Arc<MagicsockMetrics>) -> io::Result<Self> { +52 let socket = bind_with_fallback(bind_addr)?; +53 Ok(Self::new(bind_addr, Arc::new(socket), metrics.clone())) +54 } +55 +56 pub(crate) fn new( +57 bind_addr: SocketAddr, +58 socket: Arc<UdpSocket>, +59 metrics: Arc<MagicsockMetrics>, +60 ) -> Self { +61 // Currently gets updated on manual rebind +62 // TODO: update when UdpSocket under the hood rebinds automatically +63 let local_addr = Watchable::new(socket.local_addr().expect("invalid socket")); +64 +65 Self { +66 bind_addr, +67 socket, +68 local_addr, +69 metrics, +70 } +71 } +72 +73 /// NOTE: Receiving on a closed socket will return [`Poll::Pending`] indefinitely. +74 pub(super) fn poll_recv( +75 &mut self, +76 cx: &mut Context, +77 bufs: &mut [io::IoSliceMut<'_>], +78 metas: &mut [quinn_udp::RecvMeta], +79 source_addrs: &mut [Addr], +80 ) -> Poll<io::Result<usize>> { +81 match self.socket.poll_recv_quinn(cx, bufs, metas) { +82 Poll::Pending => Poll::Pending, +83 Poll::Ready(Ok(n)) => { +84 for (source_addr, meta) in source_addrs.iter_mut().zip(metas.iter_mut()).take(n) { +85 if meta.addr.is_ipv4() { +86 // The AsyncUdpSocket is an AF_INET6 socket and needs to show this +87 // as coming from an IPv4-mapped IPv6 addresses, since Quinn will +88 // use those when sending on an INET6 socket. +89 let v6_ip = match meta.addr.ip() { +90 IpAddr::V4(ipv4_addr) => ipv4_addr.to_ipv6_mapped(), +91 IpAddr::V6(ipv6_addr) => ipv6_addr, +92 }; +93 meta.addr = SocketAddr::new(v6_ip.into(), meta.addr.port()); +94 } +95 // The transport addresses are internal to iroh and we always want those +96 // to remain the canonical address. +97 *source_addr = +98 SocketAddr::new(meta.addr.ip().to_canonical(), meta.addr.port()).into(); +99 } +100 Poll::Ready(Ok(n)) +101 } +102 Poll::Ready(Err(err)) => Poll::Ready(Err(err)), +103 } +104 } +105 +106 pub(super) fn local_addr_watch(&self) -> n0_watcher::Direct<SocketAddr> { +107 self.local_addr.watch() +108 } +109 +110 pub(super) fn max_transmit_segments(&self) -> NonZeroUsize { +111 self.socket.max_gso_segments() +112 } +113 +114 pub(super) fn max_receive_segments(&self) -> NonZeroUsize { +115 self.socket.gro_segments() +116 } +117 +118 pub(super) fn may_fragment(&self) -> bool { +119 self.socket.may_fragment() +120 } +121 +122 pub(crate) fn bind_addr(&self) -> SocketAddr { +123 self.bind_addr +124 } +125 +126 pub(super) fn create_network_change_sender(&self) -> IpNetworkChangeSender { +127 IpNetworkChangeSender { +128 socket: self.socket.clone(), +129 local_addr: self.local_addr.clone(), +130 } +131 } +132 +133 pub(super) fn create_sender(&self) -> IpSender { +134 let sender = self.socket.clone().create_sender(); +135 IpSender { +136 bind_addr: self.bind_addr, +137 sender, +138 metrics: self.metrics.clone(), +139 } +140 } +141} +142 +143#[derive(Debug)] +144pub(super) struct IpNetworkChangeSender { +145 socket: Arc<UdpSocket>, +146 local_addr: Watchable<SocketAddr>, +147} +148 +149impl IpNetworkChangeSender { +150 pub(super) fn rebind(&self) -> io::Result<()> { +151 let old_addr = self.local_addr.get(); +152 self.socket.rebind()?; +153 let addr = self.socket.local_addr()?; +154 self.local_addr.set(addr).ok(); +155 trace!("rebound from {} to {}", old_addr, addr); +156 +157 Ok(()) +158 } +159 +160 pub(super) fn on_network_change(&self, _info: &crate::magicsock::Report) { +161 // Nothing to do for now +162 } +163} +164 +165#[derive(Debug, Clone)] +166#[pin_project] +167pub(super) struct IpSender { +168 bind_addr: SocketAddr, +169 #[pin] +170 sender: UdpSender, +171 metrics: Arc<MagicsockMetrics>, +172} +173 +174impl IpSender { +175 pub(super) fn is_valid_send_addr(&self, dst: &SocketAddr) -> bool { +176 // Our net-tools crate binds sockets to their specific family. This means an IPv6 +177 // socket can not sent to IPv4, on any platform. So we need to convert and +178 // IPv4-mapped IPv6 address back to it's canonical IPv4 address. +179 let dst_ip = dst.ip().to_canonical(); +180 +181 #[allow(clippy::match_like_matches_macro)] +182 match (self.bind_addr.ip(), dst_ip) { +183 (IpAddr::V4(_), IpAddr::V4(_)) => true, +184 (IpAddr::V6(_), IpAddr::V6(_)) => true, +185 _ => false, +186 } +187 } +188 +189 /// Creates a canonical socket address. +190 /// +191 /// We may be asked to send IPv4-mapped IPv6 addresses. But our sockets are configured +192 /// to only send their actual family. So we need to map those back to the canonical +193 /// addresses. +194 #[inline] +195 fn canonical_addr(addr: SocketAddr) -> SocketAddr { +196 SocketAddr::new(addr.ip().to_canonical(), addr.port()) +197 } +198 +199 pub(super) fn poll_send( +200 mut self: Pin<&mut Self>, +201 cx: &mut std::task::Context, +202 dst: SocketAddr, +203 src: Option<IpAddr>, +204 transmit: &Transmit<'_>, +205 ) -> Poll<io::Result<()>> { +206 let total_bytes = transmit.contents.len() as u64; +207 let res = Pin::new(&mut self.sender).poll_send( +208 &quinn_udp::Transmit { +209 destination: Self::canonical_addr(dst), +210 ecn: transmit.ecn, +211 contents: transmit.contents, +212 segment_size: transmit.segment_size, +213 src_ip: src, +214 }, +215 cx, +216 ); +217 +218 match res { +219 Poll::Ready(Ok(res)) => { +220 match dst { +221 SocketAddr::V4(_) => { +222 self.metrics.send_ipv4.inc_by(total_bytes); +223 } +224 SocketAddr::V6(_) => { +225 self.metrics.send_ipv6.inc_by(total_bytes); +226 } +227 } +228 Poll::Ready(Ok(res)) +229 } +230 Poll::Ready(Err(err)) => Poll::Ready(Err(err)), +231 Poll::Pending => Poll::Pending, +232 } +233 } +234} \ No newline at end of file diff --git a/pr/3734/docs/src/iroh/magicsock/transports/relay/actor.rs.html b/pr/3734/docs/src/iroh/magicsock/transports/relay/actor.rs.html index 9157018e0a..f6685d04b2 100644 --- a/pr/3734/docs/src/iroh/magicsock/transports/relay/actor.rs.html +++ b/pr/3734/docs/src/iroh/magicsock/transports/relay/actor.rs.html @@ -1218,10 +1218,10 @@ 1218 use iroh_base::{EndpointId, RelayUrl, SecretKey}; 1219 use iroh_relay::{PingTracker, protos::relay::Datagrams}; 1220 use n0_error::{AnyError as Error, Result, StackResultExt, StdResultExt}; -1221 use tokio::sync::{mpsc, oneshot}; -1222 use tokio_util::{sync::CancellationToken, task::AbortOnDropHandle}; -1223 use tracing::{Instrument, info, info_span}; -1224 use tracing_test::traced_test; +1221 use n0_tracing_test::traced_test; +1222 use tokio::sync::{mpsc, oneshot}; +1223 use tokio_util::{sync::CancellationToken, task::AbortOnDropHandle}; +1224 use tracing::{Instrument, info, info_span}; 1225 1226 use super::{ 1227 ActiveRelayActor, ActiveRelayActorOptions, ActiveRelayMessage, ActiveRelayPrioMessage, diff --git a/pr/3734/docs/src/iroh/net_report.rs.html b/pr/3734/docs/src/iroh/net_report.rs.html index f4d930b699..f2f357c67e 100644 --- a/pr/3734/docs/src/iroh/net_report.rs.html +++ b/pr/3734/docs/src/iroh/net_report.rs.html @@ -99,1095 +99,1138 @@ 99use self::reportgen::SocketState; 100pub use self::{ 101 metrics::Metrics, -102 options::Options, -103 probes::Probe, -104 report::{RelayLatencies, Report}, -105 reportgen::QuicConfig, -106}; -107 -108const FULL_REPORT_INTERVAL: Duration = Duration::from_secs(5 * 60); -109const ENOUGH_ENDPOINTS: usize = 3; -110 -111/// Client to run net_reports. -112#[derive(Debug)] -113pub(crate) struct Client { -114 #[cfg(not(wasm_browser))] -115 socket_state: SocketState, -116 metrics: Arc<Metrics>, -117 probes: BTreeSet<Probe>, -118 relay_map: RelayMap, -119 #[cfg(not(wasm_browser))] -120 qad_conns: QadConns, -121 #[cfg(any(test, feature = "test-utils"))] -122 insecure_skip_relay_cert_verify: bool, -123 -124 /// A collection of previously generated reports. -125 /// -126 /// Sometimes it is useful to look at past reports to decide what to do. -127 reports: Reports, -128} -129 -130#[cfg(not(wasm_browser))] -131#[derive(Debug, Default)] -132struct QadConns { -133 v4: Option<(RelayUrl, QadConn)>, -134 v6: Option<(RelayUrl, QadConn)>, -135} -136 -137#[cfg(not(wasm_browser))] -138impl QadConns { -139 fn clear(&mut self) { -140 if let Some((_, conn)) = self.v4.take() { -141 conn.conn -142 .close(QUIC_ADDR_DISC_CLOSE_CODE, QUIC_ADDR_DISC_CLOSE_REASON); -143 } -144 if let Some((_, conn)) = self.v6.take() { -145 conn.conn -146 .close(QUIC_ADDR_DISC_CLOSE_CODE, QUIC_ADDR_DISC_CLOSE_REASON); -147 } -148 } -149 -150 fn current_v4(&self) -> Option<ProbeReport> { -151 if let Some((_, ref conn)) = self.v4 { -152 if let Some(mut r) = conn.observer.get() { -153 // grab latest rtt -154 r.latency = conn.conn.rtt(); -155 return Some(ProbeReport::QadIpv4(r)); -156 } -157 } -158 None -159 } -160 -161 fn current_v6(&self) -> Option<ProbeReport> { -162 if let Some((_, ref conn)) = self.v6 { -163 if let Some(mut r) = conn.observer.get() { -164 // grab latest rtt -165 r.latency = conn.conn.rtt(); -166 return Some(ProbeReport::QadIpv6(r)); -167 } -168 } -169 None -170 } -171 -172 fn watch_v4(&self) -> impl n0_future::Stream<Item = Option<QadProbeReport>> + Unpin + use<> { -173 let watcher = self.v4.as_ref().map(|(_url, conn)| conn.observer.watch()); -174 -175 if let Some(watcher) = watcher { -176 watcher.stream_updates_only().boxed() -177 } else { -178 n0_future::stream::empty().boxed() -179 } -180 } +102 probes::Probe, +103 report::{RelayLatencies, Report}, +104}; +105pub(crate) use self::{options::Options, reportgen::QuicConfig}; +106 +107const FULL_REPORT_INTERVAL: Duration = Duration::from_secs(5 * 60); +108const ENOUGH_ENDPOINTS: usize = 3; +109 +110/// Client to run net_reports. +111#[derive(Debug)] +112pub(crate) struct Client { +113 #[cfg(not(wasm_browser))] +114 socket_state: SocketState, +115 metrics: Arc<Metrics>, +116 probes: BTreeSet<Probe>, +117 relay_map: RelayMap, +118 #[cfg(not(wasm_browser))] +119 qad_conns: QadConns, +120 #[cfg(any(test, feature = "test-utils"))] +121 insecure_skip_relay_cert_verify: bool, +122 +123 /// A collection of previously generated reports. +124 /// +125 /// Sometimes it is useful to look at past reports to decide what to do. +126 reports: Reports, +127} +128 +129#[cfg(not(wasm_browser))] +130#[derive(Debug, Default)] +131struct QadConns { +132 v4: Option<(RelayUrl, QadConn)>, +133 v6: Option<(RelayUrl, QadConn)>, +134} +135 +136#[cfg(not(wasm_browser))] +137impl QadConns { +138 fn clear(&mut self) { +139 if let Some((_, conn)) = self.v4.take() { +140 conn.conn +141 .close(QUIC_ADDR_DISC_CLOSE_CODE, QUIC_ADDR_DISC_CLOSE_REASON); +142 } +143 if let Some((_, conn)) = self.v6.take() { +144 conn.conn +145 .close(QUIC_ADDR_DISC_CLOSE_CODE, QUIC_ADDR_DISC_CLOSE_REASON); +146 } +147 } +148 +149 fn current_v4(&self) -> Option<ProbeReport> { +150 if let Some((_, ref conn)) = self.v4 { +151 if let Some(mut r) = conn.observer.get() { +152 // grab latest rtt +153 +154 use quinn_proto::PathId; +155 if let Some(latency) = conn.conn.rtt(PathId::ZERO) { +156 r.latency = latency; +157 } +158 return Some(ProbeReport::QadIpv4(r)); +159 } +160 } +161 None +162 } +163 +164 fn current_v6(&self) -> Option<ProbeReport> { +165 if let Some((_, ref conn)) = self.v6 { +166 if let Some(mut r) = conn.observer.get() { +167 // grab latest rtt +168 +169 use quinn_proto::PathId; +170 if let Some(latency) = conn.conn.rtt(PathId::ZERO) { +171 r.latency = latency; +172 } +173 return Some(ProbeReport::QadIpv6(r)); +174 } +175 } +176 None +177 } +178 +179 fn watch_v4(&self) -> impl n0_future::Stream<Item = Option<QadProbeReport>> + Unpin + use<> { +180 let watcher = self.v4.as_ref().map(|(_url, conn)| conn.observer.watch()); 181 -182 fn watch_v6(&self) -> impl n0_future::Stream<Item = Option<QadProbeReport>> + Unpin + use<> { -183 let watcher = self.v6.as_ref().map(|(_url, conn)| conn.observer.watch()); -184 if let Some(watcher) = watcher { -185 watcher.stream_updates_only().boxed() -186 } else { -187 n0_future::stream::empty().boxed() -188 } -189 } -190} -191 -192#[cfg(not(wasm_browser))] -193#[derive(Debug)] -194struct QadConn { -195 conn: quinn::Connection, -196 observer: Watchable<Option<QadProbeReport>>, -197 _handle: AbortOnDropHandle<()>, -198} -199 -200#[derive(Debug)] -201struct Reports { -202 /// Do a full relay scan, even if last is `Some`. -203 next_full: bool, -204 /// Some previous reports. -205 prev: BTreeMap<Instant, Report>, -206 /// Most recent report. -207 last: Option<Report>, -208 /// Time of last full (non-incremental) report. -209 last_full: Instant, -210} -211 -212impl Default for Reports { -213 fn default() -> Self { -214 Self { -215 next_full: true, -216 prev: Default::default(), -217 last: Default::default(), -218 last_full: Instant::now(), -219 } -220 } -221} -222 -223impl Client { -224 /// Creates a new net_report client. -225 pub(crate) fn new( -226 #[cfg(not(wasm_browser))] dns_resolver: DnsResolver, -227 relay_map: RelayMap, -228 opts: Options, -229 metrics: Arc<Metrics>, -230 ) -> Self { -231 let probes = opts.as_protocols(); -232 #[cfg(any(test, feature = "test-utils"))] -233 let insecure_skip_relay_cert_verify = opts.insecure_skip_relay_cert_verify; -234 -235 #[cfg(not(wasm_browser))] -236 let quic_client = opts -237 .quic_config -238 .map(|c| iroh_relay::quic::QuicClient::new(c.ep, c.client_config)); -239 -240 #[cfg(not(wasm_browser))] -241 let socket_state = SocketState { -242 quic_client, -243 dns_resolver, -244 }; -245 -246 Client { -247 #[cfg(not(wasm_browser))] -248 socket_state, -249 metrics, -250 reports: Reports::default(), -251 probes, -252 relay_map, -253 #[cfg(not(wasm_browser))] -254 qad_conns: QadConns::default(), -255 #[cfg(any(test, feature = "test-utils"))] -256 insecure_skip_relay_cert_verify, -257 } -258 } -259 -260 /// Generates a [`Report`]. -261 /// -262 /// Look at [`Options`] for the different configuration options. -263 pub(crate) async fn get_report(&mut self, if_state: IfStateDetails, is_major: bool) -> Report { -264 let now = Instant::now(); -265 -266 let mut do_full = is_major -267 || self.reports.next_full -268 || now.duration_since(self.reports.last_full) > FULL_REPORT_INTERVAL; -269 -270 debug!(%do_full, "net_report starting"); -271 -272 // If the last report had a captive portal and reported no UDP access, -273 // it's possible that we didn't get a useful net_report due to the -274 // captive portal blocking us. If so, make this report a full (non-incremental) one. -275 if !do_full { -276 if let Some(ref last) = self.reports.last { -277 if !last.has_udp() && last.captive_portal == Some(true) { -278 do_full = true; -279 } -280 } -281 } -282 if do_full { -283 self.reports.last = None; // causes ProbePlan::new below to do a full (initial) plan -284 self.reports.next_full = false; -285 self.reports.last_full = now; -286 self.metrics.reports_full.inc(); -287 } -288 self.metrics.reports.inc(); -289 -290 let num_relays = self.relay_map.len(); -291 let enough_relays = std::cmp::min(num_relays, ENOUGH_ENDPOINTS); -292 #[cfg(wasm_browser)] -293 let if_state = IfStateDetails::default(); -294 #[cfg(not(wasm_browser))] -295 let if_state = IfStateDetails { -296 have_v4: if_state.have_v4, -297 have_v6: if_state.have_v6, -298 }; -299 -300 let mut report = Report::default(); +182 if let Some(watcher) = watcher { +183 watcher.stream_updates_only().boxed() +184 } else { +185 n0_future::stream::empty().boxed() +186 } +187 } +188 +189 fn watch_v6(&self) -> impl n0_future::Stream<Item = Option<QadProbeReport>> + Unpin + use<> { +190 let watcher = self.v6.as_ref().map(|(_url, conn)| conn.observer.watch()); +191 if let Some(watcher) = watcher { +192 watcher.stream_updates_only().boxed() +193 } else { +194 n0_future::stream::empty().boxed() +195 } +196 } +197} +198 +199#[cfg(not(wasm_browser))] +200#[derive(Debug)] +201struct QadConn { +202 conn: quinn::Connection, +203 observer: Watchable<Option<QadProbeReport>>, +204 _handle: AbortOnDropHandle<Option<()>>, +205} +206 +207#[derive(Debug)] +208struct Reports { +209 /// Do a full relay scan, even if last is `Some`. +210 next_full: bool, +211 /// Some previous reports. +212 prev: BTreeMap<Instant, Report>, +213 /// Most recent report. +214 last: Option<Report>, +215 /// Time of last full (non-incremental) report. +216 last_full: Instant, +217} +218 +219impl Default for Reports { +220 fn default() -> Self { +221 Self { +222 next_full: true, +223 prev: Default::default(), +224 last: Default::default(), +225 last_full: Instant::now(), +226 } +227 } +228} +229 +230impl Client { +231 /// Creates a new net_report client. +232 pub(crate) fn new( +233 #[cfg(not(wasm_browser))] dns_resolver: DnsResolver, +234 relay_map: RelayMap, +235 opts: Options, +236 metrics: Arc<Metrics>, +237 ) -> Self { +238 let probes = opts.as_protocols(); +239 #[cfg(any(test, feature = "test-utils"))] +240 let insecure_skip_relay_cert_verify = opts.insecure_skip_relay_cert_verify; +241 +242 #[cfg(not(wasm_browser))] +243 let quic_client = opts +244 .quic_config +245 .map(|c| iroh_relay::quic::QuicClient::new(c.ep, c.client_config)); +246 +247 #[cfg(not(wasm_browser))] +248 let socket_state = SocketState { +249 quic_client, +250 dns_resolver, +251 }; +252 +253 Client { +254 #[cfg(not(wasm_browser))] +255 socket_state, +256 metrics, +257 reports: Reports::default(), +258 probes, +259 relay_map, +260 #[cfg(not(wasm_browser))] +261 qad_conns: QadConns::default(), +262 #[cfg(any(test, feature = "test-utils"))] +263 insecure_skip_relay_cert_verify, +264 } +265 } +266 +267 /// Generates a [`Report`]. +268 /// +269 /// Look at [`Options`] for the different configuration options. +270 pub(crate) async fn get_report( +271 &mut self, +272 if_state: IfStateDetails, +273 is_major: bool, +274 shutdown_token: CancellationToken, +275 ) -> Report { +276 let now = Instant::now(); +277 +278 let mut do_full = is_major +279 || self.reports.next_full +280 || now.duration_since(self.reports.last_full) > FULL_REPORT_INTERVAL; +281 +282 debug!(%do_full, "net_report starting"); +283 +284 // If the last report had a captive portal and reported no UDP access, +285 // it's possible that we didn't get a useful net_report due to the +286 // captive portal blocking us. If so, make this report a full (non-incremental) one. +287 if !do_full { +288 if let Some(ref last) = self.reports.last { +289 if !last.has_udp() && last.captive_portal == Some(true) { +290 do_full = true; +291 } +292 } +293 } +294 if do_full { +295 self.reports.last = None; // causes ProbePlan::new below to do a full (initial) plan +296 self.reports.next_full = false; +297 self.reports.last_full = now; +298 self.metrics.reports_full.inc(); +299 } +300 self.metrics.reports.inc(); 301 -302 // Start the reportgen client to start any needed probes -303 let (actor, mut probe_rx) = reportgen::Client::new( -304 self.reports.last.clone(), -305 self.relay_map.clone(), -306 self.probes.clone(), -307 if_state.clone(), -308 #[cfg(not(wasm_browser))] -309 self.socket_state.clone(), -310 #[cfg(any(test, feature = "test-utils"))] -311 self.insecure_skip_relay_cert_verify, -312 ); +302 let num_relays = self.relay_map.len(); +303 let enough_relays = std::cmp::min(num_relays, ENOUGH_ENDPOINTS); +304 #[cfg(wasm_browser)] +305 let if_state = IfStateDetails::default(); +306 #[cfg(not(wasm_browser))] +307 let if_state = IfStateDetails { +308 have_v4: if_state.have_v4, +309 have_v6: if_state.have_v6, +310 }; +311 +312 let mut report = Report::default(); 313 -314 #[cfg(not(wasm_browser))] -315 let reports = self -316 .spawn_qad_probes(&if_state, enough_relays, do_full) -317 .await; -318 -319 #[cfg(not(wasm_browser))] -320 for r in reports { -321 report.update(&r); -322 } -323 -324 if self.have_enough_reports(&if_state, do_full, num_relays, &report) { -325 // check if we already have enough probes immediately after QAD returns -326 trace!("have enough probe reports, aborting further probes"); -327 // shuts down the probes -328 drop(actor); -329 } else { -330 #[cfg(not(wasm_browser))] -331 let mut qad_v4_stream = self.qad_conns.watch_v4(); -332 #[cfg(wasm_browser)] -333 let mut qad_v4_stream = n0_future::stream::empty::<Option<()>>(); -334 #[cfg(not(wasm_browser))] -335 let mut qad_v6_stream = self.qad_conns.watch_v6(); -336 #[cfg(wasm_browser)] -337 let mut qad_v6_stream = n0_future::stream::empty::<Option<()>>(); -338 -339 loop { -340 tokio::select! { -341 biased; -342 -343 Some(Some(r)) = qad_v4_stream.next() => { -344 #[cfg(not(wasm_browser))] -345 { -346 trace!(?r, "new report from QAD V4"); -347 report.update(&ProbeReport::QadIpv4(r)); -348 } -349 } -350 -351 Some(Some(r)) = qad_v6_stream.next() => { -352 #[cfg(not(wasm_browser))] -353 { -354 trace!(?r, "new report from QAD V6"); -355 report.update(&ProbeReport::QadIpv6(r)); -356 } -357 } -358 -359 maybe_probe = probe_rx.recv() => { -360 let Some(probe_res) = maybe_probe else { -361 break; -362 }; -363 match probe_res { -364 ProbeFinished::Regular(probe) => match probe { -365 Ok(probe) => { -366 report.update(&probe); -367 if self.have_enough_reports(&if_state, do_full, num_relays, &report) { -368 trace!("have enough probe reports, aborting further probes"); -369 // shuts down the probes -370 drop(actor); -371 break; -372 } -373 } -374 Err(err) => { -375 trace!("probe failed: {:?}", err); -376 } -377 }, -378 #[cfg(not(wasm_browser))] -379 ProbeFinished::CaptivePortal(portal) => { -380 report.captive_portal = portal; -381 } -382 } -383 } -384 } -385 } -386 } -387 self.add_report_history_and_set_preferred_relay(&mut report); -388 debug!( -389 ?report, -390 "generated report in {:02}ms", -391 now.elapsed().as_millis() -392 ); -393 -394 report -395 } -396 -397 #[cfg(not(wasm_browser))] -398 async fn spawn_qad_probes( -399 &mut self, -400 if_state: &IfStateDetails, -401 enough_relays: usize, -402 do_full: bool, -403 ) -> Vec<ProbeReport> { -404 use tracing::{Instrument, warn_span}; -405 -406 let Some(ref quic_client) = self.socket_state.quic_client else { -407 return Vec::new(); -408 }; -409 -410 if do_full { -411 // clear out existing connections if we are doing a full reset -412 self.qad_conns.clear(); -413 } +314 // Start the reportgen client to start any needed probes +315 let (actor, mut probe_rx) = reportgen::Client::new( +316 self.reports.last.clone(), +317 self.relay_map.clone(), +318 self.probes.clone(), +319 if_state.clone(), +320 shutdown_token.child_token(), +321 #[cfg(not(wasm_browser))] +322 self.socket_state.clone(), +323 #[cfg(any(test, feature = "test-utils"))] +324 self.insecure_skip_relay_cert_verify, +325 ); +326 +327 #[cfg(not(wasm_browser))] +328 let reports = self +329 .spawn_qad_probes( +330 &if_state, +331 enough_relays, +332 do_full, +333 shutdown_token.child_token(), +334 ) +335 .await; +336 +337 #[cfg(not(wasm_browser))] +338 for r in reports { +339 report.update(&r); +340 } +341 +342 if self.have_enough_reports(&if_state, do_full, num_relays, &report) { +343 // check if we already have enough probes immediately after QAD returns +344 trace!("have enough probe reports, aborting further probes"); +345 // shuts down the probes +346 drop(actor); +347 } else { +348 #[cfg(not(wasm_browser))] +349 let mut qad_v4_stream = self.qad_conns.watch_v4(); +350 #[cfg(wasm_browser)] +351 let mut qad_v4_stream = n0_future::stream::empty::<Option<()>>(); +352 #[cfg(not(wasm_browser))] +353 let mut qad_v6_stream = self.qad_conns.watch_v6(); +354 #[cfg(wasm_browser)] +355 let mut qad_v6_stream = n0_future::stream::empty::<Option<()>>(); +356 +357 loop { +358 tokio::select! { +359 biased; +360 +361 Some(Some(r)) = qad_v4_stream.next() => { +362 #[cfg(not(wasm_browser))] +363 { +364 trace!(?r, "new report from QAD V4"); +365 report.update(&ProbeReport::QadIpv4(r)); +366 } +367 } +368 +369 Some(Some(r)) = qad_v6_stream.next() => { +370 #[cfg(not(wasm_browser))] +371 { +372 trace!(?r, "new report from QAD V6"); +373 report.update(&ProbeReport::QadIpv6(r)); +374 } +375 } +376 +377 maybe_probe = probe_rx.recv() => { +378 let Some(probe_res) = maybe_probe else { +379 break; +380 }; +381 match probe_res { +382 ProbeFinished::Regular(probe) => match probe { +383 Ok(probe) => { +384 report.update(&probe); +385 if self.have_enough_reports(&if_state, do_full, num_relays, &report) { +386 trace!("have enough probe reports, aborting further probes"); +387 // shuts down the probes +388 drop(actor); +389 break; +390 } +391 } +392 Err(err) => { +393 trace!("probe failed: {:?}", err); +394 } +395 }, +396 #[cfg(not(wasm_browser))] +397 ProbeFinished::CaptivePortal(portal) => { +398 report.captive_portal = portal; +399 } +400 } +401 } +402 } +403 } +404 } +405 self.add_report_history_and_set_preferred_relay(&mut report); +406 debug!( +407 ?report, +408 "generated report in {:02}ms", +409 now.elapsed().as_millis() +410 ); +411 +412 report +413 } 414 -415 if let Some((url, conn)) = &self.qad_conns.v4 { -416 // verify conn is still around -417 if let Some(reason) = conn.conn.close_reason() { -418 trace!(?url, "QAD v4 conn closed: {}", reason); -419 self.qad_conns.v4.take(); -420 } -421 } -422 if let Some((url, conn)) = &self.qad_conns.v6 { -423 // verify conn is still around -424 if let Some(reason) = conn.conn.close_reason() { -425 trace!(?url, "QAD v6 conn closed: {}", reason); -426 self.qad_conns.v6.take(); -427 } -428 } -429 -430 let v4_report = self.qad_conns.current_v4(); -431 let v6_report = self.qad_conns.current_v6(); -432 let needs_v4_probe = v4_report.is_none(); -433 let needs_v6_probe = v6_report.is_some() != if_state.have_v6; -434 -435 let mut reports = Vec::new(); -436 -437 if let Some(report) = v4_report { -438 reports.push(report); -439 } -440 if let Some(report) = v6_report { -441 reports.push(report); -442 } -443 -444 if !needs_v4_probe && !needs_v6_probe { -445 return reports; -446 } -447 -448 trace!("spawning QAD probes"); -449 -450 // TODO: randomize choice? -451 const MAX_RELAYS: usize = 5; -452 -453 let mut v4_buf = JoinSet::new(); -454 let cancel_v4 = CancellationToken::new(); -455 let mut v6_buf = JoinSet::new(); -456 let cancel_v6 = CancellationToken::new(); -457 -458 let relays = self.relay_map.relays::<Vec<_>>(); -459 for relay in relays.into_iter().take(MAX_RELAYS) { -460 if if_state.have_v4 && needs_v4_probe { -461 debug!(?relay.url, "v4 QAD probe"); -462 let relay = relay.clone(); -463 let dns_resolver = self.socket_state.dns_resolver.clone(); -464 let quic_client = quic_client.clone(); -465 let relay_url = relay.url.clone(); -466 v4_buf.spawn( -467 cancel_v4 -468 .child_token() -469 .run_until_cancelled_owned(time::timeout( -470 PROBES_TIMEOUT, -471 run_probe_v4(relay, quic_client, dns_resolver), -472 )) -473 .instrument(warn_span!("QADv4", %relay_url)), -474 ); -475 } -476 if if_state.have_v6 && needs_v6_probe { -477 debug!(?relay.url, "v6 QAD probe"); -478 let relay = relay.clone(); -479 let dns_resolver = self.socket_state.dns_resolver.clone(); -480 let quic_client = quic_client.clone(); -481 let relay_url = relay.url.clone(); -482 v6_buf.spawn( -483 cancel_v6 -484 .child_token() -485 .run_until_cancelled_owned(time::timeout( -486 PROBES_TIMEOUT, -487 run_probe_v6(relay, quic_client, dns_resolver), -488 )) -489 .instrument(warn_span!("QADv6", %relay_url)), -490 ); -491 } -492 } -493 -494 // We set _pending to true if at least one report was started for each category. -495 // If we did not start any report for either category, _pending is set to false right away -496 // (it "completed" in the sense that nothing will ever run). If we did start at least one report, -497 // _pending is set to true, and will be set to false further down once the first task -498 // completed. -499 let mut ipv4_pending = !v4_buf.is_empty(); -500 let mut ipv6_pending = !v6_buf.is_empty(); -501 loop { -502 // We early-abort the tasks once we have at least `enough_relays` reports, -503 // and at least one ipv4 and one ipv6 report completed (if they were started, see comment above). -504 -505 if reports.len() >= enough_relays && !ipv4_pending && !ipv6_pending { -506 debug!("enough probes: {}", reports.len()); -507 cancel_v4.cancel(); -508 cancel_v6.cancel(); -509 break; -510 } -511 -512 tokio::select! { -513 biased; +415 #[cfg(not(wasm_browser))] +416 async fn spawn_qad_probes( +417 &mut self, +418 if_state: &IfStateDetails, +419 enough_relays: usize, +420 do_full: bool, +421 shutdown_token: CancellationToken, +422 ) -> Vec<ProbeReport> { +423 use tracing::{Instrument, warn_span}; +424 +425 let Some(ref quic_client) = self.socket_state.quic_client else { +426 return Vec::new(); +427 }; +428 +429 if do_full { +430 // clear out existing connections if we are doing a full reset +431 self.qad_conns.clear(); +432 } +433 +434 if let Some((url, conn)) = &self.qad_conns.v4 { +435 // verify conn is still around +436 if let Some(reason) = conn.conn.close_reason() { +437 trace!(?url, "QAD v4 conn closed: {}", reason); +438 self.qad_conns.v4.take(); +439 } +440 } +441 if let Some((url, conn)) = &self.qad_conns.v6 { +442 // verify conn is still around +443 if let Some(reason) = conn.conn.close_reason() { +444 trace!(?url, "QAD v6 conn closed: {}", reason); +445 self.qad_conns.v6.take(); +446 } +447 } +448 +449 let v4_report = self.qad_conns.current_v4(); +450 let v6_report = self.qad_conns.current_v6(); +451 let needs_v4_probe = v4_report.is_none(); +452 let needs_v6_probe = v6_report.is_some() != if_state.have_v6; +453 +454 let mut reports = Vec::new(); +455 +456 if let Some(report) = v4_report { +457 reports.push(report); +458 } +459 if let Some(report) = v6_report { +460 reports.push(report); +461 } +462 +463 if !needs_v4_probe && !needs_v6_probe { +464 return reports; +465 } +466 +467 trace!("spawning QAD probes"); +468 +469 // TODO: randomize choice? +470 const MAX_RELAYS: usize = 5; +471 +472 let mut v4_buf = JoinSet::new(); +473 let cancel_v4 = shutdown_token.child_token(); +474 let mut v6_buf = JoinSet::new(); +475 let cancel_v6 = shutdown_token.child_token(); +476 +477 let relays = self.relay_map.relays::<Vec<_>>(); +478 for relay in relays.into_iter().take(MAX_RELAYS) { +479 if if_state.have_v4 && needs_v4_probe { +480 debug!(?relay.url, "v4 QAD probe"); +481 let relay = relay.clone(); +482 let dns_resolver = self.socket_state.dns_resolver.clone(); +483 let quic_client = quic_client.clone(); +484 let relay_url = relay.url.clone(); +485 let inner_token = cancel_v4.child_token(); +486 v4_buf.spawn( +487 cancel_v4 +488 .child_token() +489 .run_until_cancelled_owned(time::timeout( +490 PROBES_TIMEOUT, +491 run_probe_v4(relay, quic_client, dns_resolver, inner_token), +492 )) +493 .instrument(warn_span!("QADv4", %relay_url)), +494 ); +495 } +496 if if_state.have_v6 && needs_v6_probe { +497 debug!(?relay.url, "v6 QAD probe"); +498 let relay = relay.clone(); +499 let dns_resolver = self.socket_state.dns_resolver.clone(); +500 let quic_client = quic_client.clone(); +501 let relay_url = relay.url.clone(); +502 let inner_token = cancel_v6.child_token(); +503 v6_buf.spawn( +504 cancel_v6 +505 .child_token() +506 .run_until_cancelled_owned(time::timeout( +507 PROBES_TIMEOUT, +508 run_probe_v6(relay, quic_client, dns_resolver, inner_token), +509 )) +510 .instrument(warn_span!("QADv6", %relay_url)), +511 ); +512 } +513 } 514 -515 val = v4_buf.join_next(), if !v4_buf.is_empty() => { -516 let span = warn_span!("QADv4"); -517 let _guard = span.enter(); -518 ipv4_pending = false; -519 match val { -520 Some(Ok(Some(Ok(res)))) => { -521 match res { -522 Ok((r, conn)) => { -523 debug!(?r, "probe report"); -524 let url = r.relay.clone(); -525 reports.push(ProbeReport::QadIpv4(r)); -526 if self.qad_conns.v4.is_none() { -527 self.qad_conns.v4.replace((url, conn)); -528 } else { -529 conn.conn.close(QUIC_ADDR_DISC_CLOSE_CODE, QUIC_ADDR_DISC_CLOSE_REASON); -530 } -531 } -532 Err(err) => { -533 debug!("probe failed: {err:#}"); -534 } -535 } -536 } -537 Some(Err(err)) => { -538 if err.is_panic() { -539 panic!("probe panicked: {err:#}"); -540 } -541 warn!("probe failed: {err:#}"); -542 } -543 Some(Ok(None)) => { -544 debug!("probe canceled"); -545 } -546 Some(Ok(Some(Err(time::Elapsed { .. })))) => { -547 debug!("probe timed out"); -548 } -549 None => {} -550 } -551 } -552 val = v6_buf.join_next(), if !v6_buf.is_empty() => { -553 let span = warn_span!("QADv6"); -554 let _guard = span.enter(); -555 ipv6_pending = false; -556 match val { -557 Some(Ok(Some(Ok(res)))) => { -558 match res { -559 Ok((r, conn)) => { -560 debug!(?r, "probe report"); -561 let url = r.relay.clone(); -562 reports.push(ProbeReport::QadIpv6(r)); -563 if self.qad_conns.v6.is_none() { -564 self.qad_conns.v6.replace((url, conn)); -565 } else { -566 conn.conn.close(QUIC_ADDR_DISC_CLOSE_CODE, QUIC_ADDR_DISC_CLOSE_REASON); -567 } -568 } -569 Err(err) => { -570 debug!("probe failed: {err:#}"); -571 } -572 } -573 } -574 Some(Err(err)) => { -575 if err.is_panic() { -576 panic!("probe panicked: {err:#}"); -577 } -578 warn!("probe failed: {err:#}"); -579 } -580 Some(Ok(None)) => { -581 debug!("probe canceled"); -582 } -583 Some(Ok(Some(Err(time::Elapsed { .. })))) => { -584 debug!("probe timed out"); -585 } -586 None => {} -587 } -588 } -589 else => { -590 break; -591 } -592 } -593 } -594 -595 reports -596 } -597 -598 /// Check if we have enough information to consider the current report "good enough". -599 fn have_enough_reports( -600 &self, -601 state: &IfStateDetails, -602 do_full: bool, -603 num_relays: usize, -604 report: &Report, -605 ) -> bool { -606 #[cfg_attr(wasm_browser, allow(unused_mut))] -607 let mut num_ipv4 = 0; -608 #[cfg_attr(wasm_browser, allow(unused_mut))] -609 let mut num_ipv6 = 0; -610 let mut num_https = 0; -611 for (typ, _, _) in report.relay_latency.iter() { -612 match typ { -613 #[cfg(not(wasm_browser))] -614 Probe::QadIpv4 => { -615 num_ipv4 += 1; -616 } -617 #[cfg(not(wasm_browser))] -618 Probe::QadIpv6 => { -619 num_ipv6 += 1; -620 } -621 Probe::Https => { -622 num_https += 1; -623 } -624 } -625 } -626 -627 if do_full { -628 // Full report, require more probes -629 match (state.have_v4, state.have_v6) { -630 (true, true) => { -631 // Both IPv4 and IPv6 are expected to be available -632 if num_ipv4 >= 2 && num_ipv6 >= 1 || num_ipv6 >= 2 && num_ipv4 >= 1 { -633 return true; -634 } -635 } -636 (true, false) => { -637 // Just Ipv4 is expected -638 if num_ipv4 >= 2 { -639 return true; -640 } -641 } -642 (false, true) => { -643 // Just Ipv6 is expected -644 if num_ipv6 >= 2 { -645 return true; -646 } -647 } -648 (false, false) => {} -649 } -650 if num_https >= num_relays { -651 // If we have at least one https probe per relay, we are happy -652 return true; -653 } -654 false -655 } else { -656 // Incremental reports, here the requirements are reduced further -657 match (state.have_v4, state.have_v6) { -658 (true, true) => { -659 // Both IPv4 and IPv6 are expected to be available -660 if num_ipv4 >= 1 && num_ipv6 >= 1 { -661 return true; -662 } -663 } -664 (true, false) => { -665 // Just Ipv4 is expected -666 if num_ipv4 >= 1 { -667 return true; -668 } -669 } -670 (false, true) => { -671 // Just Ipv6 is expected -672 if num_ipv6 >= 1 { -673 return true; -674 } -675 } -676 (false, false) => {} -677 } -678 if num_https >= num_relays { -679 // If we have at least one https probe per relay, we are happy -680 return true; -681 } -682 false -683 } -684 } -685 -686 /// Adds `r` to the set of recent Reports and mutates `r.preferred_relay` to contain the best recent one. -687 fn add_report_history_and_set_preferred_relay(&mut self, r: &mut Report) { -688 let mut prev_relay = None; -689 if let Some(ref last) = self.reports.last { -690 prev_relay.clone_from(&last.preferred_relay); -691 -692 // If we don't have new information, copy this from the last report -693 if r.mapping_varies_by_dest_ipv4.is_none() { -694 r.mapping_varies_by_dest_ipv4 = last.mapping_varies_by_dest_ipv4; -695 } -696 if r.mapping_varies_by_dest_ipv6.is_none() { -697 r.mapping_varies_by_dest_ipv6 = last.mapping_varies_by_dest_ipv6; -698 } -699 } -700 -701 let now = Instant::now(); -702 const MAX_AGE: Duration = Duration::from_secs(5 * 60); -703 -704 // relay ID => its best recent latency in last MAX_AGE -705 let mut best_recent = RelayLatencies::default(); -706 -707 // chain the current report as we are still mutating it -708 let prevs_iter = self -709 .reports -710 .prev -711 .iter() -712 .map(|(a, b)| -> (&Instant, &Report) { (a, b) }); -713 -714 let mut to_remove = Vec::new(); -715 for (t, pr) in prevs_iter { -716 if now.duration_since(*t) > MAX_AGE { -717 to_remove.push(*t); -718 continue; -719 } -720 best_recent.merge(&pr.relay_latency); -721 } -722 // merge in current run -723 best_recent.merge(&r.relay_latency); -724 -725 for t in to_remove { -726 self.reports.prev.remove(&t); -727 } -728 -729 // Then, pick which currently-alive relay server from the -730 // current report has the best latency over the past MAX_AGE. -731 let mut best_any = Duration::default(); -732 let mut old_relay_cur_latency = Duration::default(); -733 { -734 for (_, url, duration) in r.relay_latency.iter() { -735 if Some(url) == prev_relay.as_ref() { -736 old_relay_cur_latency = duration; -737 } -738 if let Some(best) = best_recent.get(url) { -739 if r.preferred_relay.is_none() || best < best_any { -740 best_any = best; -741 r.preferred_relay.replace(url.clone()); -742 } -743 } -744 } -745 -746 // If we're changing our preferred relay but the old one's still -747 // accessible and the new one's not much better, just stick with -748 // where we are. -749 if prev_relay.is_some() -750 && r.preferred_relay != prev_relay -751 && !old_relay_cur_latency.is_zero() -752 && best_any > old_relay_cur_latency / 3 * 2 -753 { -754 r.preferred_relay = prev_relay; -755 } +515 // We set _pending to true if at least one report was started for each category. +516 // If we did not start any report for either category, _pending is set to false right away +517 // (it "completed" in the sense that nothing will ever run). If we did start at least one report, +518 // _pending is set to true, and will be set to false further down once the first task +519 // completed. +520 let mut ipv4_pending = !v4_buf.is_empty(); +521 let mut ipv6_pending = !v6_buf.is_empty(); +522 +523 while !v4_buf.is_empty() || !v6_buf.is_empty() { +524 // We early-abort the tasks once we have at least `enough_relays` reports, +525 // and at least one ipv4 and one ipv6 report completed (if they were started, see comment above). +526 +527 if reports.len() >= enough_relays && !ipv4_pending && !ipv6_pending { +528 debug!("enough probes: {}", reports.len()); +529 cancel_v4.cancel(); +530 cancel_v6.cancel(); +531 break; +532 } +533 +534 tokio::select! { +535 biased; +536 +537 _ = shutdown_token.cancelled() => { +538 trace!("qad report cancelled"); +539 break; +540 } +541 +542 val = v4_buf.join_next(), if !v4_buf.is_empty() => { +543 let span = warn_span!("QADv4"); +544 let _guard = span.enter(); +545 ipv4_pending = false; +546 match val { +547 Some(Ok(Some(Ok(res)))) => { +548 match res { +549 Ok((r, conn)) => { +550 debug!(?r, "probe report"); +551 let url = r.relay.clone(); +552 reports.push(ProbeReport::QadIpv4(r)); +553 if self.qad_conns.v4.is_none() { +554 self.qad_conns.v4.replace((url, conn)); +555 } else { +556 conn.conn.close(QUIC_ADDR_DISC_CLOSE_CODE, QUIC_ADDR_DISC_CLOSE_REASON); +557 } +558 } +559 Err(err) => { +560 debug!("probe failed: {err:#}"); +561 } +562 } +563 } +564 Some(Err(err)) => { +565 if err.is_panic() { +566 panic!("probe panicked: {err:#}"); +567 } +568 warn!("probe failed: {err:#}"); +569 } +570 Some(Ok(None)) => { +571 debug!("probe canceled"); +572 } +573 Some(Ok(Some(Err(time::Elapsed { .. })))) => { +574 debug!("probe timed out"); +575 } +576 None => { +577 trace!("report canceled"); +578 } +579 } +580 } +581 val = v6_buf.join_next(), if !v6_buf.is_empty() => { +582 let span = warn_span!("QADv6"); +583 let _guard = span.enter(); +584 ipv6_pending = false; +585 match val { +586 Some(Ok(Some(Ok(res)))) => { +587 match res { +588 Ok((r, conn)) => { +589 debug!(?r, "probe report"); +590 let url = r.relay.clone(); +591 reports.push(ProbeReport::QadIpv6(r)); +592 if self.qad_conns.v6.is_none() { +593 self.qad_conns.v6.replace((url, conn)); +594 } else { +595 conn.conn.close(QUIC_ADDR_DISC_CLOSE_CODE, QUIC_ADDR_DISC_CLOSE_REASON); +596 } +597 } +598 Err(err) => { +599 debug!("probe failed: {err:#}"); +600 } +601 } +602 } +603 Some(Err(err)) => { +604 if err.is_panic() { +605 panic!("probe panicked: {err:#}"); +606 } +607 warn!("probe failed: {err:#}"); +608 } +609 Some(Ok(None)) => { +610 debug!("probe canceled"); +611 } +612 Some(Ok(Some(Err(time::Elapsed { .. })))) => { +613 debug!("probe timed out"); +614 } +615 None => { +616 trace!("report canceled"); +617 } +618 } +619 } +620 else => { +621 break; +622 } +623 } +624 } +625 +626 // make sure to cancel all outstanding reports +627 v4_buf.abort_all(); +628 v6_buf.abort_all(); +629 +630 reports +631 } +632 +633 /// Check if we have enough information to consider the current report "good enough". +634 fn have_enough_reports( +635 &self, +636 state: &IfStateDetails, +637 do_full: bool, +638 num_relays: usize, +639 report: &Report, +640 ) -> bool { +641 #[cfg_attr(wasm_browser, allow(unused_mut))] +642 let mut num_ipv4 = 0; +643 #[cfg_attr(wasm_browser, allow(unused_mut))] +644 let mut num_ipv6 = 0; +645 let mut num_https = 0; +646 for (typ, _, _) in report.relay_latency.iter() { +647 match typ { +648 #[cfg(not(wasm_browser))] +649 Probe::QadIpv4 => { +650 num_ipv4 += 1; +651 } +652 #[cfg(not(wasm_browser))] +653 Probe::QadIpv6 => { +654 num_ipv6 += 1; +655 } +656 Probe::Https => { +657 num_https += 1; +658 } +659 } +660 } +661 +662 if do_full { +663 // Full report, require more probes +664 match (state.have_v4, state.have_v6) { +665 (true, true) => { +666 // Both IPv4 and IPv6 are expected to be available +667 if num_ipv4 >= 2 && num_ipv6 >= 1 || num_ipv6 >= 2 && num_ipv4 >= 1 { +668 return true; +669 } +670 } +671 (true, false) => { +672 // Just Ipv4 is expected +673 if num_ipv4 >= 2 { +674 return true; +675 } +676 } +677 (false, true) => { +678 // Just Ipv6 is expected +679 if num_ipv6 >= 2 { +680 return true; +681 } +682 } +683 (false, false) => {} +684 } +685 if num_https >= num_relays { +686 // If we have at least one https probe per relay, we are happy +687 return true; +688 } +689 false +690 } else { +691 // Incremental reports, here the requirements are reduced further +692 match (state.have_v4, state.have_v6) { +693 (true, true) => { +694 // Both IPv4 and IPv6 are expected to be available +695 if num_ipv4 >= 1 && num_ipv6 >= 1 { +696 return true; +697 } +698 } +699 (true, false) => { +700 // Just Ipv4 is expected +701 if num_ipv4 >= 1 { +702 return true; +703 } +704 } +705 (false, true) => { +706 // Just Ipv6 is expected +707 if num_ipv6 >= 1 { +708 return true; +709 } +710 } +711 (false, false) => {} +712 } +713 if num_https >= num_relays { +714 // If we have at least one https probe per relay, we are happy +715 return true; +716 } +717 false +718 } +719 } +720 +721 /// Adds `r` to the set of recent Reports and mutates `r.preferred_relay` to contain the best recent one. +722 fn add_report_history_and_set_preferred_relay(&mut self, r: &mut Report) { +723 let mut prev_relay = None; +724 if let Some(ref last) = self.reports.last { +725 prev_relay.clone_from(&last.preferred_relay); +726 +727 // If we don't have new information, copy this from the last report +728 if r.mapping_varies_by_dest_ipv4.is_none() { +729 r.mapping_varies_by_dest_ipv4 = last.mapping_varies_by_dest_ipv4; +730 } +731 if r.mapping_varies_by_dest_ipv6.is_none() { +732 r.mapping_varies_by_dest_ipv6 = last.mapping_varies_by_dest_ipv6; +733 } +734 } +735 +736 let now = Instant::now(); +737 const MAX_AGE: Duration = Duration::from_secs(5 * 60); +738 +739 // relay ID => its best recent latency in last MAX_AGE +740 let mut best_recent = RelayLatencies::default(); +741 +742 // chain the current report as we are still mutating it +743 let prevs_iter = self +744 .reports +745 .prev +746 .iter() +747 .map(|(a, b)| -> (&Instant, &Report) { (a, b) }); +748 +749 let mut to_remove = Vec::new(); +750 for (t, pr) in prevs_iter { +751 if now.duration_since(*t) > MAX_AGE { +752 to_remove.push(*t); +753 continue; +754 } +755 best_recent.merge(&pr.relay_latency); 756 } -757 -758 self.reports.prev.insert(now, r.clone()); -759 self.reports.last = Some(r.clone()); -760 } -761} -762 -763#[cfg(not(wasm_browser))] -764async fn run_probe_v4( -765 relay: Arc<RelayConfig>, -766 quic_client: QuicClient, -767 dns_resolver: DnsResolver, -768) -> n0_error::Result<(QadProbeReport, QadConn), QadProbeError> { -769 let relay_addr = reportgen::get_relay_addr_ipv4(&dns_resolver, &relay) -770 .await -771 .map_err(|source| e!(QadProbeError::GetRelayAddr { source }))?; -772 -773 trace!(?relay_addr, "resolved relay server address"); -774 let host = relay -775 .url -776 .host_str() -777 .ok_or_else(|| e!(QadProbeError::MissingHost))?; -778 let conn = quic_client -779 .create_conn(relay_addr.into(), host) -780 .await -781 .map_err(|source| e!(QadProbeError::Quic { source }))?; -782 -783 let mut receiver = conn.observed_external_addr(); -784 -785 // wait for an addr -786 let addr = receiver -787 .wait_for(|addr| addr.is_some()) -788 .await -789 .map_err(|_| e!(QadProbeError::ReceiverDropped))? -790 .expect("known"); -791 let report = QadProbeReport { -792 relay: relay.url.clone(), -793 addr: SocketAddr::new(addr.ip().to_canonical(), addr.port()), -794 latency: conn.rtt(), -795 }; -796 -797 let observer = Watchable::new(None); -798 let endpoint = relay.url.clone(); -799 let handle = task::spawn({ -800 let conn = conn.clone(); -801 let observer = observer.clone(); -802 async move { -803 loop { -804 let val = *receiver.borrow(); -805 // if we've sent to an ipv4 address, but received an observed address -806 // that is ivp6 then the address is an [IPv4-Mapped IPv6 Addresses](https://doc.rust-lang.org/beta/std/net/struct.Ipv6Addr.html#ipv4-mapped-ipv6-addresses) -807 let val = val.map(|val| SocketAddr::new(val.ip().to_canonical(), val.port())); -808 let latency = conn.rtt(); -809 observer -810 .set(val.map(|addr| QadProbeReport { -811 relay: endpoint.clone(), -812 addr, -813 latency, -814 })) -815 .ok(); -816 if receiver.changed().await.is_err() { -817 break; -818 } -819 } -820 } -821 }); -822 let handle = AbortOnDropHandle::new(handle); -823 -824 Ok(( -825 report, -826 QadConn { -827 conn, -828 observer, -829 _handle: handle, -830 }, -831 )) -832} -833 -834#[cfg(not(wasm_browser))] -835async fn run_probe_v6( -836 relay: Arc<RelayConfig>, -837 quic_client: QuicClient, -838 dns_resolver: DnsResolver, -839) -> n0_error::Result<(QadProbeReport, QadConn), QadProbeError> { -840 let relay_addr = reportgen::get_relay_addr_ipv6(&dns_resolver, &relay) -841 .await -842 .map_err(|source| e!(QadProbeError::GetRelayAddr { source }))?; -843 -844 trace!(?relay_addr, "resolved relay server address"); -845 let host = relay -846 .url -847 .host_str() -848 .ok_or_else(|| e!(QadProbeError::MissingHost))?; -849 let conn = quic_client -850 .create_conn(relay_addr.into(), host) -851 .await -852 .map_err(|source| e!(QadProbeError::Quic { source }))?; -853 -854 let mut receiver = conn.observed_external_addr(); -855 -856 // wait for an addr -857 let addr = receiver -858 .wait_for(|addr| addr.is_some()) -859 .await -860 .map_err(|_| e!(QadProbeError::ReceiverDropped))? -861 .expect("known"); -862 let report = QadProbeReport { -863 relay: relay.url.clone(), -864 addr: SocketAddr::new(addr.ip().to_canonical(), addr.port()), -865 latency: conn.rtt(), -866 }; -867 -868 let observer = Watchable::new(None); -869 let endpoint = relay.url.clone(); -870 let handle = task::spawn({ -871 let observer = observer.clone(); -872 let conn = conn.clone(); -873 async move { -874 loop { -875 let val = *receiver.borrow(); -876 // if we've sent to an ipv4 address, but received an observed address -877 // that is ivp6 then the address is an [IPv4-Mapped IPv6 Addresses](https://doc.rust-lang.org/beta/std/net/struct.Ipv6Addr.html#ipv4-mapped-ipv6-addresses) -878 let val = val.map(|val| SocketAddr::new(val.ip().to_canonical(), val.port())); -879 let latency = conn.rtt(); -880 observer -881 .set(val.map(|addr| QadProbeReport { -882 relay: endpoint.clone(), -883 addr, -884 latency, -885 })) -886 .ok(); -887 if receiver.changed().await.is_err() { -888 break; -889 } -890 } -891 } -892 }); -893 let handle = AbortOnDropHandle::new(handle); +757 // merge in current run +758 best_recent.merge(&r.relay_latency); +759 +760 for t in to_remove { +761 self.reports.prev.remove(&t); +762 } +763 +764 // Then, pick which currently-alive relay server from the +765 // current report has the best latency over the past MAX_AGE. +766 let mut best_any = Duration::default(); +767 let mut old_relay_cur_latency = Duration::default(); +768 { +769 for (_, url, duration) in r.relay_latency.iter() { +770 if Some(url) == prev_relay.as_ref() { +771 old_relay_cur_latency = duration; +772 } +773 if let Some(best) = best_recent.get(url) { +774 if r.preferred_relay.is_none() || best < best_any { +775 best_any = best; +776 r.preferred_relay.replace(url.clone()); +777 } +778 } +779 } +780 +781 // If we're changing our preferred relay but the old one's still +782 // accessible and the new one's not much better, just stick with +783 // where we are. +784 if prev_relay.is_some() +785 && r.preferred_relay != prev_relay +786 && !old_relay_cur_latency.is_zero() +787 && best_any > old_relay_cur_latency / 3 * 2 +788 { +789 r.preferred_relay = prev_relay; +790 } +791 } +792 +793 self.reports.prev.insert(now, r.clone()); +794 self.reports.last = Some(r.clone()); +795 } +796} +797 +798#[cfg(not(wasm_browser))] +799async fn run_probe_v4( +800 relay: Arc<RelayConfig>, +801 quic_client: QuicClient, +802 dns_resolver: DnsResolver, +803 shutdown_token: CancellationToken, +804) -> n0_error::Result<(QadProbeReport, QadConn), QadProbeError> { +805 use quinn_proto::PathId; +806 +807 let relay_addr = reportgen::get_relay_addr_ipv4(&dns_resolver, &relay) +808 .await +809 .map_err(|source| e!(QadProbeError::GetRelayAddr { source }))?; +810 +811 trace!(?relay_addr, "resolved relay server address"); +812 let host = relay +813 .url +814 .host_str() +815 .ok_or_else(|| e!(QadProbeError::MissingHost))?; +816 let conn = quic_client +817 .create_conn(relay_addr.into(), host) +818 .await +819 .map_err(|source| e!(QadProbeError::Quic { source }))?; +820 +821 let mut receiver = conn.observed_external_addr(); +822 +823 // wait for an addr +824 let addr = receiver +825 .wait_for(|addr| addr.is_some()) +826 .await +827 .map_err(|_| e!(QadProbeError::ReceiverDropped))? +828 .expect("known"); +829 let report = QadProbeReport { +830 relay: relay.url.clone(), +831 addr: SocketAddr::new(addr.ip().to_canonical(), addr.port()), +832 latency: conn.rtt(PathId::ZERO).unwrap_or_default(), +833 }; +834 +835 let observer = Watchable::new(None); +836 let endpoint = relay.url.clone(); +837 let handle = task::spawn(shutdown_token.run_until_cancelled_owned({ +838 let conn = conn.clone(); +839 let observer = observer.clone(); +840 async move { +841 loop { +842 let val = *receiver.borrow(); +843 // if we've sent to an ipv4 address, but received an observed address +844 // that is ivp6 then the address is an [IPv4-Mapped IPv6 Addresses](https://doc.rust-lang.org/beta/std/net/struct.Ipv6Addr.html#ipv4-mapped-ipv6-addresses) +845 let val = val.map(|val| SocketAddr::new(val.ip().to_canonical(), val.port())); +846 let latency = conn.rtt(PathId::ZERO).unwrap_or_default(); +847 observer +848 .set(val.map(|addr| QadProbeReport { +849 relay: endpoint.clone(), +850 addr, +851 latency, +852 })) +853 .ok(); +854 if receiver.changed().await.is_err() { +855 break; +856 } +857 } +858 } +859 })); +860 let handle = AbortOnDropHandle::new(handle); +861 +862 Ok(( +863 report, +864 QadConn { +865 conn, +866 observer, +867 _handle: handle, +868 }, +869 )) +870} +871 +872#[cfg(not(wasm_browser))] +873async fn run_probe_v6( +874 relay: Arc<RelayConfig>, +875 quic_client: QuicClient, +876 dns_resolver: DnsResolver, +877 shutdown_token: CancellationToken, +878) -> n0_error::Result<(QadProbeReport, QadConn), QadProbeError> { +879 use quinn_proto::PathId; +880 +881 let relay_addr = reportgen::get_relay_addr_ipv6(&dns_resolver, &relay) +882 .await +883 .map_err(|source| e!(QadProbeError::GetRelayAddr { source }))?; +884 +885 trace!(?relay_addr, "resolved relay server address"); +886 let host = relay +887 .url +888 .host_str() +889 .ok_or_else(|| e!(QadProbeError::MissingHost))?; +890 let conn = quic_client +891 .create_conn(relay_addr.into(), host) +892 .await +893 .map_err(|source| e!(QadProbeError::Quic { source }))?; 894 -895 Ok(( -896 report, -897 QadConn { -898 conn, -899 observer, -900 _handle: handle, -901 }, -902 )) -903} -904 -905#[cfg(test)] -906mod test_utils { -907 //! Creates a relay server against which to perform tests +895 let mut receiver = conn.observed_external_addr(); +896 +897 // wait for an addr +898 let addr = receiver +899 .wait_for(|addr| addr.is_some()) +900 .await +901 .map_err(|_| e!(QadProbeError::ReceiverDropped))? +902 .expect("known"); +903 let report = QadProbeReport { +904 relay: relay.url.clone(), +905 addr: SocketAddr::new(addr.ip().to_canonical(), addr.port()), +906 latency: conn.rtt(PathId::ZERO).unwrap_or_default(), +907 }; 908 -909 use iroh_relay::{RelayConfig, RelayQuicConfig, server}; -910 -911 pub(crate) async fn relay() -> (server::Server, RelayConfig) { -912 let server = server::Server::spawn(server::testing::server_config()) -913 .await -914 .expect("should serve relay"); -915 let quic = Some(RelayQuicConfig { -916 port: server.quic_addr().expect("server should run quic").port(), -917 }); -918 let endpoint_desc = RelayConfig { -919 url: server.https_url().expect("should work as relay"), -920 quic, -921 }; -922 -923 (server, endpoint_desc) -924 } -925 -926 /// Create a [`crate::RelayMap`] of the given size. -927 /// -928 /// This function uses [`relay`]. Note that the returned map uses internal order that will -929 /// often _not_ match the order of the servers. -930 pub(crate) async fn relay_map(relays: usize) -> (Vec<server::Server>, crate::RelayMap) { -931 let mut servers = Vec::with_capacity(relays); -932 let mut endpoints = Vec::with_capacity(relays); -933 for _ in 0..relays { -934 let (relay_server, endpoint) = relay().await; -935 servers.push(relay_server); -936 endpoints.push(endpoint); -937 } -938 (servers, crate::RelayMap::from_iter(endpoints)) -939 } -940} -941 -942#[cfg(test)] -943mod tests { -944 use std::net::{Ipv4Addr, SocketAddr}; +909 let observer = Watchable::new(None); +910 let endpoint = relay.url.clone(); +911 let handle = task::spawn(shutdown_token.run_until_cancelled_owned({ +912 let observer = observer.clone(); +913 let conn = conn.clone(); +914 async move { +915 loop { +916 let val = *receiver.borrow(); +917 // if we've sent to an ipv4 address, but received an observed address +918 // that is ivp6 then the address is an [IPv4-Mapped IPv6 Addresses](https://doc.rust-lang.org/beta/std/net/struct.Ipv6Addr.html#ipv4-mapped-ipv6-addresses) +919 let val = val.map(|val| SocketAddr::new(val.ip().to_canonical(), val.port())); +920 let latency = conn.rtt(PathId::ZERO).unwrap_or_default(); +921 observer +922 .set(val.map(|addr| QadProbeReport { +923 relay: endpoint.clone(), +924 addr, +925 latency, +926 })) +927 .ok(); +928 if receiver.changed().await.is_err() { +929 break; +930 } +931 } +932 } +933 })); +934 let handle = AbortOnDropHandle::new(handle); +935 +936 Ok(( +937 report, +938 QadConn { +939 conn, +940 observer, +941 _handle: handle, +942 }, +943 )) +944} 945 -946 use iroh_base::RelayUrl; -947 use iroh_relay::dns::DnsResolver; -948 use n0_error::{Result, StdResultExt}; -949 use tokio_util::sync::CancellationToken; -950 use tracing_test::traced_test; +946#[cfg(test)] +947mod test_utils { +948 //! Creates a relay server against which to perform tests +949 +950 use iroh_relay::{RelayConfig, RelayQuicConfig, server}; 951 -952 use super::*; -953 use crate::net_report::probes::Probe; -954 -955 #[tokio::test(flavor = "multi_thread")] -956 #[traced_test] -957 async fn test_basic() -> Result<()> { -958 let (server, relay) = test_utils::relay().await; -959 let client_config = iroh_relay::client::make_dangerous_client_config(); -960 let ep = -961 quinn::Endpoint::client(SocketAddr::new(Ipv4Addr::LOCALHOST.into(), 0)).anyerr()?; -962 let quic_addr_disc = QuicConfig { -963 ep: ep.clone(), -964 client_config, -965 ipv4: true, -966 ipv6: true, -967 }; -968 let relay_map = RelayMap::from(relay); -969 -970 let resolver = DnsResolver::new(); -971 let opts = Options::default() -972 .quic_config(Some(quic_addr_disc.clone())) -973 .insecure_skip_relay_cert_verify(true); -974 let mut client = Client::new( -975 resolver.clone(), -976 relay_map.clone(), -977 opts.clone(), -978 Default::default(), -979 ); -980 let if_state = IfStateDetails::fake(); -981 -982 // Note that the ProbePlan will change with each iteration. -983 for i in 0..5 { -984 let cancel = CancellationToken::new(); -985 println!("--round {i}"); -986 let r = client.get_report(if_state.clone(), false).await; -987 -988 assert!(r.has_udp(), "want UDP"); -989 dbg!(&r); -990 assert!( -991 !r.relay_latency.is_empty(), -992 "expected at least 1 key in RelayLatency; got none", -993 ); -994 assert!( -995 r.relay_latency.iter().next().is_some(), -996 "expected key 1 in RelayLatency; got {:?}", -997 r.relay_latency -998 ); -999 assert!(r.global_v4.is_some(), "expected globalV4 set"); -1000 assert!(r.preferred_relay.is_some(),); -1001 cancel.cancel(); -1002 } -1003 -1004 drop(client); -1005 ep.wait_idle().await; -1006 server.shutdown().await?; -1007 -1008 Ok(()) -1009 } +952 pub(crate) async fn relay() -> (server::Server, RelayConfig) { +953 let server = server::Server::spawn(server::testing::server_config()) +954 .await +955 .expect("should serve relay"); +956 let quic = Some(RelayQuicConfig { +957 port: server.quic_addr().expect("server should run quic").port(), +958 }); +959 let endpoint_desc = RelayConfig { +960 url: server.https_url().expect("should work as relay"), +961 quic, +962 }; +963 +964 (server, endpoint_desc) +965 } +966 +967 /// Create a [`crate::RelayMap`] of the given size. +968 /// +969 /// This function uses [`relay`]. Note that the returned map uses internal order that will +970 /// often _not_ match the order of the servers. +971 pub(crate) async fn relay_map(relays: usize) -> (Vec<server::Server>, crate::RelayMap) { +972 let mut servers = Vec::with_capacity(relays); +973 let mut endpoints = Vec::with_capacity(relays); +974 for _ in 0..relays { +975 let (relay_server, endpoint) = relay().await; +976 servers.push(relay_server); +977 endpoints.push(endpoint); +978 } +979 (servers, crate::RelayMap::from_iter(endpoints)) +980 } +981} +982 +983#[cfg(test)] +984mod tests { +985 use std::net::{Ipv4Addr, SocketAddr}; +986 +987 use iroh_base::RelayUrl; +988 use iroh_relay::dns::DnsResolver; +989 use n0_error::{Result, StdResultExt}; +990 use n0_tracing_test::traced_test; +991 use tokio_util::sync::CancellationToken; +992 +993 use super::*; +994 use crate::net_report::probes::Probe; +995 +996 #[tokio::test(flavor = "multi_thread")] +997 #[traced_test] +998 async fn test_basic() -> Result<()> { +999 let (server, relay) = test_utils::relay().await; +1000 let client_config = iroh_relay::client::make_dangerous_client_config(); +1001 let ep = +1002 quinn::Endpoint::client(SocketAddr::new(Ipv4Addr::LOCALHOST.into(), 0)).anyerr()?; +1003 let quic_addr_disc = QuicConfig { +1004 ep: ep.clone(), +1005 client_config, +1006 ipv4: true, +1007 ipv6: true, +1008 }; +1009 let relay_map = RelayMap::from(relay); 1010 -1011 #[tokio::test(flavor = "current_thread", start_paused = true)] -1012 async fn test_add_report_history_set_preferred_relay() -> Result { -1013 fn relay_url(i: u16) -> RelayUrl { -1014 format!("http://{i}.com").parse().unwrap() -1015 } -1016 -1017 // report returns a *Report from (relay host, Duration)+ pairs. -1018 fn report(a: impl IntoIterator<Item = (&'static str, u64)>) -> Option<Report> { -1019 let mut report = Report::default(); -1020 for (s, d) in a { -1021 assert!(s.starts_with('d'), "invalid relay server key"); -1022 let id: u16 = s[1..].parse().unwrap(); -1023 report.relay_latency.update_relay( -1024 relay_url(id), -1025 Duration::from_secs(d), -1026 Probe::QadIpv4, -1027 ); -1028 } -1029 -1030 Some(report) -1031 } -1032 struct Step { -1033 /// Delay in seconds -1034 after: u64, -1035 r: Option<Report>, -1036 } -1037 struct Test { -1038 name: &'static str, -1039 steps: Vec<Step>, -1040 /// want PreferredRelay on final step -1041 want_relay: Option<RelayUrl>, -1042 // wanted len(c.prev) -1043 want_prev_len: usize, -1044 } -1045 -1046 let tests = [ -1047 Test { -1048 name: "first_reading", -1049 steps: vec![Step { -1050 after: 0, -1051 r: report([("d1", 2), ("d2", 3)]), -1052 }], -1053 want_prev_len: 1, -1054 want_relay: Some(relay_url(1)), -1055 }, -1056 Test { -1057 name: "with_two", -1058 steps: vec![ -1059 Step { -1060 after: 0, -1061 r: report([("d1", 2), ("d2", 3)]), -1062 }, -1063 Step { -1064 after: 1, -1065 r: report([("d1", 4), ("d2", 3)]), -1066 }, -1067 ], -1068 want_prev_len: 2, -1069 want_relay: Some(relay_url(1)), // t0's d1 of 2 is still best -1070 }, -1071 Test { -1072 name: "but_now_d1_gone", -1073 steps: vec![ -1074 Step { -1075 after: 0, -1076 r: report([("d1", 2), ("d2", 3)]), -1077 }, -1078 Step { -1079 after: 1, -1080 r: report([("d1", 4), ("d2", 3)]), -1081 }, -1082 Step { -1083 after: 2, -1084 r: report([("d2", 3)]), -1085 }, -1086 ], -1087 want_prev_len: 3, -1088 want_relay: Some(relay_url(2)), // only option -1089 }, +1011 let resolver = DnsResolver::new(); +1012 let opts = Options::default() +1013 .quic_config(Some(quic_addr_disc.clone())) +1014 .insecure_skip_relay_cert_verify(true); +1015 let mut client = Client::new( +1016 resolver.clone(), +1017 relay_map.clone(), +1018 opts.clone(), +1019 Default::default(), +1020 ); +1021 let if_state = IfStateDetails::fake(); +1022 +1023 // Note that the ProbePlan will change with each iteration. +1024 for i in 0..5 { +1025 let cancel = CancellationToken::new(); +1026 println!("--round {i}"); +1027 let r = client +1028 .get_report(if_state.clone(), false, cancel.child_token()) +1029 .await; +1030 +1031 assert!(r.has_udp(), "want UDP"); +1032 dbg!(&r); +1033 assert!( +1034 !r.relay_latency.is_empty(), +1035 "expected at least 1 key in RelayLatency; got none", +1036 ); +1037 assert!( +1038 r.relay_latency.iter().next().is_some(), +1039 "expected key 1 in RelayLatency; got {:?}", +1040 r.relay_latency +1041 ); +1042 assert!(r.global_v4.is_some(), "expected globalV4 set"); +1043 assert!(r.preferred_relay.is_some(),); +1044 cancel.cancel(); +1045 } +1046 +1047 drop(client); +1048 ep.wait_idle().await; +1049 server.shutdown().await?; +1050 +1051 Ok(()) +1052 } +1053 +1054 #[tokio::test(flavor = "current_thread", start_paused = true)] +1055 async fn test_add_report_history_set_preferred_relay() -> Result { +1056 fn relay_url(i: u16) -> RelayUrl { +1057 format!("http://{i}.com").parse().unwrap() +1058 } +1059 +1060 // report returns a *Report from (relay host, Duration)+ pairs. +1061 fn report(a: impl IntoIterator<Item = (&'static str, u64)>) -> Option<Report> { +1062 let mut report = Report::default(); +1063 for (s, d) in a { +1064 assert!(s.starts_with('d'), "invalid relay server key"); +1065 let id: u16 = s[1..].parse().unwrap(); +1066 report.relay_latency.update_relay( +1067 relay_url(id), +1068 Duration::from_secs(d), +1069 Probe::QadIpv4, +1070 ); +1071 } +1072 +1073 Some(report) +1074 } +1075 struct Step { +1076 /// Delay in seconds +1077 after: u64, +1078 r: Option<Report>, +1079 } +1080 struct Test { +1081 name: &'static str, +1082 steps: Vec<Step>, +1083 /// want PreferredRelay on final step +1084 want_relay: Option<RelayUrl>, +1085 // wanted len(c.prev) +1086 want_prev_len: usize, +1087 } +1088 +1089 let tests = [ 1090 Test { -1091 name: "d1_is_back", -1092 steps: vec![ -1093 Step { -1094 after: 0, -1095 r: report([("d1", 2), ("d2", 3)]), -1096 }, -1097 Step { -1098 after: 1, -1099 r: report([("d1", 4), ("d2", 3)]), -1100 }, -1101 Step { -1102 after: 2, -1103 r: report([("d2", 3)]), -1104 }, -1105 Step { -1106 after: 3, -1107 r: report([("d1", 4), ("d2", 3)]), -1108 }, // same as 2 seconds ago -1109 ], -1110 want_prev_len: 4, -1111 want_relay: Some(relay_url(1)), // t0's d1 of 2 is still best -1112 }, -1113 Test { -1114 name: "things_clean_up", -1115 steps: vec![ -1116 Step { -1117 after: 0, -1118 r: report([("d1", 1), ("d2", 2)]), -1119 }, -1120 Step { -1121 after: 1, -1122 r: report([("d1", 1), ("d2", 2)]), -1123 }, -1124 Step { -1125 after: 2, -1126 r: report([("d1", 1), ("d2", 2)]), -1127 }, -1128 Step { -1129 after: 3, -1130 r: report([("d1", 1), ("d2", 2)]), -1131 }, -1132 Step { -1133 after: 10 * 60, -1134 r: report([("d3", 3)]), -1135 }, -1136 ], -1137 want_prev_len: 1, // t=[0123]s all gone. (too old, older than 10 min) -1138 want_relay: Some(relay_url(3)), // only option -1139 }, -1140 Test { -1141 name: "preferred_relay_hysteresis_no_switch", -1142 steps: vec![ -1143 Step { -1144 after: 0, -1145 r: report([("d1", 4), ("d2", 5)]), -1146 }, -1147 Step { -1148 after: 1, -1149 r: report([("d1", 4), ("d2", 3)]), -1150 }, -1151 ], -1152 want_prev_len: 2, -1153 want_relay: Some(relay_url(1)), // 2 didn't get fast enough -1154 }, -1155 Test { -1156 name: "preferred_relay_hysteresis_do_switch", -1157 steps: vec![ -1158 Step { -1159 after: 0, -1160 r: report([("d1", 4), ("d2", 5)]), -1161 }, -1162 Step { -1163 after: 1, -1164 r: report([("d1", 4), ("d2", 1)]), -1165 }, -1166 ], -1167 want_prev_len: 2, -1168 want_relay: Some(relay_url(2)), // 2 got fast enough -1169 }, -1170 ]; -1171 let resolver = DnsResolver::new(); -1172 for mut tt in tests { -1173 println!("test: {}", tt.name); -1174 let relay_map = RelayMap::empty(); -1175 let opts = Options::default(); -1176 let mut client = Client::new(resolver.clone(), relay_map, opts, Default::default()); -1177 for s in &mut tt.steps { -1178 // trigger the timer -1179 tokio::time::advance(Duration::from_secs(s.after)).await; -1180 client.add_report_history_and_set_preferred_relay(s.r.as_mut().unwrap()); -1181 } -1182 let last_report = tt.steps.last().unwrap().r.clone().unwrap(); -1183 let got = client.reports.prev.len(); -1184 let want = tt.want_prev_len; -1185 assert_eq!(got, want, "prev length"); -1186 let got = &last_report.preferred_relay; -1187 let want = &tt.want_relay; -1188 assert_eq!(got, want, "preferred_relay"); -1189 } -1190 -1191 Ok(()) -1192 } -1193} \ No newline at end of file +1091 name: "first_reading", +1092 steps: vec![Step { +1093 after: 0, +1094 r: report([("d1", 2), ("d2", 3)]), +1095 }], +1096 want_prev_len: 1, +1097 want_relay: Some(relay_url(1)), +1098 }, +1099 Test { +1100 name: "with_two", +1101 steps: vec![ +1102 Step { +1103 after: 0, +1104 r: report([("d1", 2), ("d2", 3)]), +1105 }, +1106 Step { +1107 after: 1, +1108 r: report([("d1", 4), ("d2", 3)]), +1109 }, +1110 ], +1111 want_prev_len: 2, +1112 want_relay: Some(relay_url(1)), // t0's d1 of 2 is still best +1113 }, +1114 Test { +1115 name: "but_now_d1_gone", +1116 steps: vec![ +1117 Step { +1118 after: 0, +1119 r: report([("d1", 2), ("d2", 3)]), +1120 }, +1121 Step { +1122 after: 1, +1123 r: report([("d1", 4), ("d2", 3)]), +1124 }, +1125 Step { +1126 after: 2, +1127 r: report([("d2", 3)]), +1128 }, +1129 ], +1130 want_prev_len: 3, +1131 want_relay: Some(relay_url(2)), // only option +1132 }, +1133 Test { +1134 name: "d1_is_back", +1135 steps: vec![ +1136 Step { +1137 after: 0, +1138 r: report([("d1", 2), ("d2", 3)]), +1139 }, +1140 Step { +1141 after: 1, +1142 r: report([("d1", 4), ("d2", 3)]), +1143 }, +1144 Step { +1145 after: 2, +1146 r: report([("d2", 3)]), +1147 }, +1148 Step { +1149 after: 3, +1150 r: report([("d1", 4), ("d2", 3)]), +1151 }, // same as 2 seconds ago +1152 ], +1153 want_prev_len: 4, +1154 want_relay: Some(relay_url(1)), // t0's d1 of 2 is still best +1155 }, +1156 Test { +1157 name: "things_clean_up", +1158 steps: vec![ +1159 Step { +1160 after: 0, +1161 r: report([("d1", 1), ("d2", 2)]), +1162 }, +1163 Step { +1164 after: 1, +1165 r: report([("d1", 1), ("d2", 2)]), +1166 }, +1167 Step { +1168 after: 2, +1169 r: report([("d1", 1), ("d2", 2)]), +1170 }, +1171 Step { +1172 after: 3, +1173 r: report([("d1", 1), ("d2", 2)]), +1174 }, +1175 Step { +1176 after: 10 * 60, +1177 r: report([("d3", 3)]), +1178 }, +1179 ], +1180 want_prev_len: 1, // t=[0123]s all gone. (too old, older than 10 min) +1181 want_relay: Some(relay_url(3)), // only option +1182 }, +1183 Test { +1184 name: "preferred_relay_hysteresis_no_switch", +1185 steps: vec![ +1186 Step { +1187 after: 0, +1188 r: report([("d1", 4), ("d2", 5)]), +1189 }, +1190 Step { +1191 after: 1, +1192 r: report([("d1", 4), ("d2", 3)]), +1193 }, +1194 ], +1195 want_prev_len: 2, +1196 want_relay: Some(relay_url(1)), // 2 didn't get fast enough +1197 }, +1198 Test { +1199 name: "preferred_relay_hysteresis_do_switch", +1200 steps: vec![ +1201 Step { +1202 after: 0, +1203 r: report([("d1", 4), ("d2", 5)]), +1204 }, +1205 Step { +1206 after: 1, +1207 r: report([("d1", 4), ("d2", 1)]), +1208 }, +1209 ], +1210 want_prev_len: 2, +1211 want_relay: Some(relay_url(2)), // 2 got fast enough +1212 }, +1213 ]; +1214 let resolver = DnsResolver::new(); +1215 for mut tt in tests { +1216 println!("test: {}", tt.name); +1217 let relay_map = RelayMap::empty(); +1218 let opts = Options::default(); +1219 let mut client = Client::new(resolver.clone(), relay_map, opts, Default::default()); +1220 for s in &mut tt.steps { +1221 // trigger the timer +1222 tokio::time::advance(Duration::from_secs(s.after)).await; +1223 client.add_report_history_and_set_preferred_relay(s.r.as_mut().unwrap()); +1224 } +1225 let last_report = tt.steps.last().unwrap().r.clone().unwrap(); +1226 let got = client.reports.prev.len(); +1227 let want = tt.want_prev_len; +1228 assert_eq!(got, want, "prev length"); +1229 let got = &last_report.preferred_relay; +1230 let want = &tt.want_relay; +1231 assert_eq!(got, want, "preferred_relay"); +1232 } +1233 +1234 Ok(()) +1235 } +1236} \ No newline at end of file diff --git a/pr/3734/docs/src/iroh/net_report/options.rs.html b/pr/3734/docs/src/iroh/net_report/options.rs.html index debb3a880d..7acd749242 100644 --- a/pr/3734/docs/src/iroh/net_report/options.rs.html +++ b/pr/3734/docs/src/iroh/net_report/options.rs.html @@ -1,6 +1,6 @@ options.rs - source

    iroh/net_report/
    options.rs

    1//! Options for creating a report gen client.
     2
    -3pub use imp::Options;
    +3pub(crate) use imp::Options;
     4
     5#[cfg(not(wasm_browser))]
     6mod imp {
    @@ -14,7 +14,7 @@
     14    ///
     15    /// Use [`Options::quic_config`] to enable  QUIC address discovery.
     16    #[derive(Debug, Clone)]
    -17    pub struct Options {
    +17    pub(crate) struct Options {
     18        /// The configuration needed to launch QUIC address discovery probes.
     19        ///
     20        /// If not provided, will not run QUIC address discovery.
    @@ -40,97 +40,81 @@
     40    }
     41
     42    impl Options {
    -43        /// Create an [`Options`] that disables all probes
    -44        pub fn disabled() -> Self {
    -45            Self {
    -46                quic_config: None,
    -47                https: false,
    -48                #[cfg(any(test, feature = "test-utils"))]
    -49                insecure_skip_relay_cert_verify: false,
    -50            }
    -51        }
    -52
    -53        /// Enable quic probes
    -54        pub fn quic_config(mut self, quic_config: Option<QuicConfig>) -> Self {
    -55            self.quic_config = quic_config;
    -56            self
    -57        }
    -58
    -59        /// Enable or disable https probe
    -60        pub fn https(mut self, enable: bool) -> Self {
    -61            self.https = enable;
    -62            self
    -63        }
    -64
    -65        /// Skip cert verification
    -66        #[cfg(any(test, feature = "test-utils"))]
    -67        pub fn insecure_skip_relay_cert_verify(mut self, skip: bool) -> Self {
    -68            self.insecure_skip_relay_cert_verify = skip;
    -69            self
    -70        }
    -71
    -72        /// Turn the options into set of valid protocols
    -73        pub fn as_protocols(&self) -> BTreeSet<Probe> {
    -74            let mut protocols = BTreeSet::new();
    -75            if let Some(ref quic) = self.quic_config {
    -76                if quic.ipv4 {
    -77                    protocols.insert(Probe::QadIpv4);
    -78                }
    -79                if quic.ipv6 {
    -80                    protocols.insert(Probe::QadIpv6);
    -81                }
    -82            }
    -83            if self.https {
    -84                protocols.insert(Probe::Https);
    -85            }
    -86            protocols
    -87        }
    -88    }
    -89}
    -90
    -91#[cfg(wasm_browser)]
    -92mod imp {
    -93    use std::collections::BTreeSet;
    -94
    -95    use crate::net_report::Probe;
    -96
    -97    /// Options for running probes (in browsers).
    -98    ///
    -99    /// Only HTTPS probes are supported in browsers.
    -100    /// These are run by default.
    -101    #[derive(Debug, Clone)]
    -102    pub struct Options {
    -103        /// Enable https probes
    -104        ///
    -105        /// On by default
    -106        pub(crate) https: bool,
    -107    }
    -108
    -109    impl Default for Options {
    -110        fn default() -> Self {
    -111            Self { https: true }
    -112        }
    -113    }
    -114
    -115    impl Options {
    -116        /// Create an [`Options`] that disables all probes
    -117        pub fn disabled() -> Self {
    -118            Self { https: false }
    -119        }
    -120
    -121        /// Enable or disable https probe
    -122        pub fn https(mut self, enable: bool) -> Self {
    -123            self.https = enable;
    -124            self
    -125        }
    -126
    -127        /// Turn the options into set of valid protocols
    -128        pub(crate) fn as_protocols(&self) -> BTreeSet<Probe> {
    -129            let mut protocols = BTreeSet::new();
    -130            if self.https {
    -131                protocols.insert(Probe::Https);
    -132            }
    -133            protocols
    -134        }
    -135    }
    -136}
    \ No newline at end of file +43 /// Enable quic probes +44 pub(crate) fn quic_config(mut self, quic_config: Option<QuicConfig>) -> Self { +45 self.quic_config = quic_config; +46 self +47 } +48 +49 /// Skip cert verification +50 #[cfg(any(test, feature = "test-utils"))] +51 pub(crate) fn insecure_skip_relay_cert_verify(mut self, skip: bool) -> Self { +52 self.insecure_skip_relay_cert_verify = skip; +53 self +54 } +55 +56 /// Turn the options into set of valid protocols +57 pub(crate) fn as_protocols(&self) -> BTreeSet<Probe> { +58 let mut protocols = BTreeSet::new(); +59 if let Some(ref quic) = self.quic_config { +60 if quic.ipv4 { +61 protocols.insert(Probe::QadIpv4); +62 } +63 if quic.ipv6 { +64 protocols.insert(Probe::QadIpv6); +65 } +66 } +67 if self.https { +68 protocols.insert(Probe::Https); +69 } +70 protocols +71 } +72 } +73} +74 +75#[cfg(wasm_browser)] +76mod imp { +77 use std::collections::BTreeSet; +78 +79 use crate::net_report::Probe; +80 +81 /// Options for running probes (in browsers). +82 /// +83 /// Only HTTPS probes are supported in browsers. +84 /// These are run by default. +85 #[derive(Debug, Clone)] +86 pub(crate) struct Options { +87 /// Enable https probes +88 /// +89 /// On by default +90 pub(crate) https: bool, +91 } +92 +93 impl Default for Options { +94 fn default() -> Self { +95 Self { https: true } +96 } +97 } +98 +99 impl Options { +100 /// Create an [`Options`] that disables all probes +101 pub(crate) fn disabled() -> Self { +102 Self { https: false } +103 } +104 +105 /// Enable or disable https probe +106 pub(crate) fn https(mut self, enable: bool) -> Self { +107 self.https = enable; +108 self +109 } +110 +111 /// Turn the options into set of valid protocols +112 pub(crate) fn as_protocols(&self) -> BTreeSet<Probe> { +113 let mut protocols = BTreeSet::new(); +114 if self.https { +115 protocols.insert(Probe::Https); +116 } +117 protocols +118 } +119 } +120} \ No newline at end of file diff --git a/pr/3734/docs/src/iroh/net_report/reportgen.rs.html b/pr/3734/docs/src/iroh/net_report/reportgen.rs.html index 09e60deca0..dbccde811d 100644 --- a/pr/3734/docs/src/iroh/net_report/reportgen.rs.html +++ b/pr/3734/docs/src/iroh/net_report/reportgen.rs.html @@ -76,9 +76,9 @@ 76#[derive(Debug, Clone, Default)] 77pub(crate) struct IfStateDetails { 78 /// Do we have IPv4 capbilities -79 pub have_v4: bool, +79 pub(crate) have_v4: bool, 80 /// Do we have IPv6 capbilities -81 pub have_v6: bool, +81 pub(crate) have_v6: bool, 82} 83 84impl IfStateDetails { @@ -105,11 +105,11 @@ 105/// Factored out so it can be disabled easily in browsers. 106#[cfg(not(wasm_browser))] 107#[derive(Debug, Clone)] -108pub(crate) struct SocketState { +108pub(super) struct SocketState { 109 /// QUIC client to do QUIC address Discovery -110 pub(crate) quic_client: Option<QuicClient>, +110 pub(super) quic_client: Option<QuicClient>, 111 /// The DNS resolver to use for probes that need to resolve DNS records. -112 pub(crate) dns_resolver: DnsResolver, +112 pub(super) dns_resolver: DnsResolver, 113} 114 115impl Client { @@ -122,787 +122,797 @@ 122 relay_map: RelayMap, 123 protocols: BTreeSet<Probe>, 124 if_state: IfStateDetails, -125 #[cfg(not(wasm_browser))] socket_state: SocketState, -126 #[cfg(any(test, feature = "test-utils"))] insecure_skip_relay_cert_verify: bool, -127 ) -> (Self, mpsc::Receiver<ProbeFinished>) { -128 let (msg_tx, msg_rx) = mpsc::channel(32); -129 let actor = Actor { -130 msg_tx, -131 last_report, -132 relay_map, -133 protocols, -134 #[cfg(not(wasm_browser))] -135 socket_state, -136 #[cfg(any(test, feature = "test-utils"))] -137 insecure_skip_relay_cert_verify, -138 if_state, -139 }; -140 let task = task::spawn(actor.run().instrument(warn_span!("reportgen-actor"))); -141 ( -142 Self { -143 _drop_guard: AbortOnDropHandle::new(task), -144 }, -145 msg_rx, -146 ) -147 } -148} -149 -150/// The reportstate actor. -151/// -152/// This actor starts, generates a single report and exits. -153#[derive(Debug)] -154struct Actor { -155 msg_tx: mpsc::Sender<ProbeFinished>, -156 -157 // Provided state -158 /// The previous report, if it exists. -159 last_report: Option<Report>, -160 /// The relay configuration. -161 relay_map: RelayMap, -162 -163 // Internal state. -164 /// Protocols we should attempt to create probes for, if we have the correct -165 /// configuration for that protocol. -166 protocols: BTreeSet<Probe>, +125 shutdown_token: CancellationToken, +126 #[cfg(not(wasm_browser))] socket_state: SocketState, +127 #[cfg(any(test, feature = "test-utils"))] insecure_skip_relay_cert_verify: bool, +128 ) -> (Self, mpsc::Receiver<ProbeFinished>) { +129 let (msg_tx, msg_rx) = mpsc::channel(32); +130 let actor = Actor { +131 msg_tx, +132 last_report, +133 relay_map, +134 protocols, +135 #[cfg(not(wasm_browser))] +136 socket_state, +137 #[cfg(any(test, feature = "test-utils"))] +138 insecure_skip_relay_cert_verify, +139 if_state, +140 }; +141 let task = task::spawn( +142 actor +143 .run(shutdown_token) +144 .instrument(warn_span!("reportgen-actor")), +145 ); +146 ( +147 Self { +148 _drop_guard: AbortOnDropHandle::new(task), +149 }, +150 msg_rx, +151 ) +152 } +153} +154 +155/// The reportstate actor. +156/// +157/// This actor starts, generates a single report and exits. +158#[derive(Debug)] +159struct Actor { +160 msg_tx: mpsc::Sender<ProbeFinished>, +161 +162 // Provided state +163 /// The previous report, if it exists. +164 last_report: Option<Report>, +165 /// The relay configuration. +166 relay_map: RelayMap, 167 -168 /// Any socket-related state that doesn't exist/work in browsers -169 #[cfg(not(wasm_browser))] -170 socket_state: SocketState, -171 #[cfg(any(test, feature = "test-utils"))] -172 insecure_skip_relay_cert_verify: bool, -173 if_state: IfStateDetails, -174} -175 -176#[allow(missing_docs)] -177#[stack_error(derive, add_meta)] -178#[non_exhaustive] -179pub(super) enum ProbesError { -180 #[error("Probe failed")] -181 ProbeFailure { source: ProbeError }, -182 #[error("All probes failed")] -183 AllProbesFailed, -184 #[error("Probe cancelled")] -185 Cancelled, -186 #[error("Probe timed out")] -187 Timeout, -188} -189 -190#[derive(Debug)] -191pub(super) enum ProbeFinished { -192 Regular(Result<ProbeReport, ProbesError>), -193 #[cfg(not(wasm_browser))] -194 CaptivePortal(Option<bool>), -195} -196 -197impl Actor { -198 async fn run(self) { -199 match time::timeout(OVERALL_REPORT_TIMEOUT, self.run_inner()).await { -200 Ok(()) => trace!("reportgen actor finished"), -201 Err(time::Elapsed { .. }) => { -202 warn!("reportgen timed out"); -203 } -204 } -205 } -206 -207 /// Runs the main reportgen actor logic. -208 /// -209 /// This actor runs by: -210 /// -211 /// - Creates a captive portal future. -212 /// - Creates ProbeSet futures in a group of futures. -213 /// - Runs a main loop: -214 /// - Drives all the above futures. -215 /// - Receives actor messages (sent by those futures). -216 /// - Updates the report, cancels unneeded futures. -217 /// - Sends the report to the net_report actor. -218 async fn run_inner(self) { -219 trace!("reportgen actor starting"); -220 -221 let mut probes = JoinSet::default(); -222 -223 let _probes_token = self.spawn_probes_task(self.if_state.clone(), &mut probes); -224 let mut num_probes = probes.len(); -225 -226 let captive_token = self.prepare_captive_portal_task(&mut probes); -227 -228 // any reports of working UDP/QUIC? -229 let mut have_udp = false; -230 -231 // Check for probes finishing. -232 while let Some(probe_result) = probes.join_next().await { -233 trace!(?probe_result, num_probes, "processing finished probe"); -234 match probe_result { -235 Ok(report) => { -236 #[cfg_attr(wasm_browser, allow(irrefutable_let_patterns))] -237 if let ProbeFinished::Regular(report) = &report { -238 have_udp |= report.as_ref().map(|r| r.is_udp()).unwrap_or_default(); -239 num_probes -= 1; -240 -241 // If all probes are done & we have_udp cancel captive -242 if num_probes == 0 { -243 debug!("all regular probes done"); -244 debug_assert!(probes.len() <= 1, "{} probes", probes.len()); -245 -246 if have_udp { -247 captive_token.cancel(); -248 } -249 } -250 } -251 self.msg_tx.send(report).await.ok(); -252 } -253 Err(e) => { -254 if e.is_panic() { -255 error!("Task panicked {:?}", e); -256 break; -257 } -258 warn!("probes task join error: {:?}", e); -259 } -260 } -261 } -262 } -263 -264 /// Creates the future which will perform the captive portal check. -265 fn prepare_captive_portal_task(&self, tasks: &mut JoinSet<ProbeFinished>) -> CancellationToken { -266 let token = CancellationToken::new(); -267 -268 // If we're doing a full probe, also check for a captive portal. We -269 // delay by a bit to wait for UDP QAD to finish, to avoid the probe if -270 // it's unnecessary. -271 #[cfg(not(wasm_browser))] -272 if self.last_report.is_none() { -273 // Even if we're doing a non-incremental update, we may want to try our -274 // preferred relay for captive portal detection. -275 let preferred_relay = self -276 .last_report -277 .as_ref() -278 .and_then(|l| l.preferred_relay.clone()); -279 -280 let dns_resolver = self.socket_state.dns_resolver.clone(); -281 let dm = self.relay_map.clone(); -282 let token = token.clone(); -283 tasks.spawn( -284 async move { -285 let res = token -286 .run_until_cancelled_owned(async move { -287 time::sleep(CAPTIVE_PORTAL_DELAY).await; -288 trace!("check started after {CAPTIVE_PORTAL_DELAY:?}"); -289 time::timeout( -290 CAPTIVE_PORTAL_TIMEOUT, -291 check_captive_portal(&dns_resolver, &dm, preferred_relay), -292 ) -293 .await -294 }) -295 .await; -296 let res = match res { -297 Some(Ok(Ok(found))) => Some(found), -298 Some(Ok(Err(err))) => { -299 match err { -300 CaptivePortalError::CreateReqwestClient { source, .. } -301 | CaptivePortalError::HttpRequest { source, .. } -302 if source.is_connect() => -303 { -304 debug!("check_captive_portal failed: {source:#}"); -305 } -306 err => warn!("check_captive_portal error: {err:#}"), -307 } -308 None -309 } -310 Some(Err(time::Elapsed { .. })) => { -311 warn!("probe timed out"); -312 None -313 } -314 None => { -315 trace!("probe cancelled"); -316 None -317 } -318 }; -319 ProbeFinished::CaptivePortal(res) -320 } -321 .instrument(warn_span!("captive-portal")), -322 ); -323 } -324 token -325 } -326 -327 /// Prepares the future which will run all the probes as per generated ProbePlan. -328 /// -329 /// Probes operate like the following: -330 /// -331 /// - A future is created for each probe in all probe sets. -332 /// - All probes in a set are grouped in [`JoinSet`]. -333 /// - All those probe sets are grouped in one overall [`JoinSet`]. -334 /// - This future is polled by the main actor loop to make progress. -335 /// - Once a probe future is polled: -336 /// - Many probes start with a delay, they sleep during this time. -337 /// - When a probe starts it first asks the reportgen [`Actor`] if it is still useful -338 /// to run. If not it aborts the entire probe set. -339 /// - When a probe finishes, its [`ProbeReport`] is yielded to the reportgen actor. -340 /// - Probes get aborted in several ways: -341 /// - A running it can fail and abort the entire probe set if it deems the -342 /// failure permanent. Probes in a probe set are essentially retries. -343 /// - Once there are [`ProbeReport`]s from enough relays, all remaining probes are -344 /// aborted. That is, the main actor loop stops polling them. -345 fn spawn_probes_task( -346 &self, -347 if_state: IfStateDetails, -348 probes: &mut JoinSet<ProbeFinished>, -349 ) -> CancellationToken { -350 trace!(?if_state, "local interface details"); -351 let plan = match self.last_report { -352 Some(ref report) => { -353 ProbePlan::with_last_report(&self.relay_map, report, &self.protocols) -354 } -355 None => ProbePlan::initial(&self.relay_map, &self.protocols), -356 }; -357 trace!(%plan, "probe plan"); -358 -359 let token = CancellationToken::new(); -360 -361 for probe_set in plan.iter() { -362 let set_token = token.child_token(); -363 let proto = probe_set.proto(); -364 for (delay, relay) in probe_set.params() { -365 let probe_token = set_token.child_token(); -366 -367 let fut = probe_token.run_until_cancelled_owned(time::timeout( -368 PROBES_TIMEOUT, -369 proto.run( -370 *delay, -371 relay.clone(), -372 #[cfg(not(wasm_browser))] -373 self.socket_state.clone(), -374 #[cfg(any(test, feature = "test-utils"))] -375 self.insecure_skip_relay_cert_verify, -376 ), -377 )); -378 probes.spawn( -379 async move { -380 let res = fut.await; -381 let res = match res { -382 Some(Ok(Ok(report))) => Ok(report), -383 Some(Ok(Err(err))) => { -384 warn!("probe failed: {:#}", err); -385 Err(e!(ProbesError::ProbeFailure, err)) -386 } -387 Some(Err(time::Elapsed { .. })) => Err(e!(ProbesError::Timeout)), -388 None => Err(e!(ProbesError::Cancelled)), -389 }; -390 ProbeFinished::Regular(res) -391 } -392 .instrument(warn_span!( -393 "run-probe", -394 ?proto, -395 ?delay, -396 ?relay, -397 )), -398 ); -399 } -400 } -401 -402 token -403 } -404} -405 -406/// The result of running a probe. -407#[derive(Debug, Clone)] -408pub(super) enum ProbeReport { -409 #[cfg(not(wasm_browser))] -410 QadIpv4(QadProbeReport), -411 #[cfg(not(wasm_browser))] -412 QadIpv6(QadProbeReport), -413 Https(HttpsProbeReport), -414} -415 -416impl ProbeReport { -417 #[cfg(not(wasm_browser))] -418 pub(super) fn is_udp(&self) -> bool { -419 matches!(self, Self::QadIpv4(_) | Self::QadIpv6(_)) -420 } -421 -422 #[cfg(wasm_browser)] -423 pub(super) fn is_udp(&self) -> bool { -424 false -425 } -426} -427 -428#[cfg(not(wasm_browser))] -429#[derive(Debug, Clone, PartialEq, Eq)] -430pub(super) struct QadProbeReport { -431 /// The relay that was probed -432 pub(super) relay: RelayUrl, -433 /// The latency to the relay. -434 pub(super) latency: Duration, -435 /// The discovered public address. -436 pub(super) addr: SocketAddr, -437} -438 -439#[derive(Debug, Clone)] -440pub(super) struct HttpsProbeReport { -441 /// The relay that was probed -442 pub(super) relay: RelayUrl, -443 /// The latency to the relay. -444 pub(super) latency: Duration, -445} -446 -447#[allow(missing_docs)] -448#[stack_error(derive, add_meta)] -449#[non_exhaustive] -450pub(super) enum ProbeError { -451 #[error("Client is gone")] -452 ClientGone, -453 #[error("Probe is no longer useful")] -454 NotUseful, -455 #[error("Failed to run HTTPS probe")] -456 Https { source: MeasureHttpsLatencyError }, -457} -458 -459#[allow(missing_docs)] -460#[stack_error(derive, add_meta)] -461#[non_exhaustive] -462pub(super) enum QuicError { -463 #[error("No relay available")] -464 NoRelay, -465 #[error("URL must have 'host' to use QUIC address discovery probes")] -466 InvalidUrl, -467} -468 -469/// Pieces needed to do QUIC address discovery. -470#[derive(derive_more::Debug, Clone)] -471pub struct QuicConfig { -472 /// A QUIC Endpoint -473 #[debug("quinn::Endpoint")] -474 pub ep: quinn::Endpoint, -475 /// A client config. -476 pub client_config: rustls::ClientConfig, -477 /// Enable ipv4 QUIC address discovery probes -478 pub ipv4: bool, -479 /// Enable ipv6 QUIC address discovery probes -480 pub ipv6: bool, -481} -482 -483impl Probe { -484 /// Executes this particular [`Probe`], including using a delayed start if needed. -485 async fn run( -486 self, -487 delay: Duration, -488 relay: Arc<RelayConfig>, -489 #[cfg(not(wasm_browser))] socket_state: SocketState, -490 #[cfg(any(test, feature = "test-utils"))] insecure_skip_relay_cert_verify: bool, -491 ) -> Result<ProbeReport, ProbeError> { -492 if !delay.is_zero() { -493 trace!("delaying probe"); -494 time::sleep(delay).await; -495 } -496 debug!("starting probe"); -497 -498 match self { -499 Probe::Https => { -500 match run_https_probe( -501 #[cfg(not(wasm_browser))] -502 &socket_state.dns_resolver, -503 relay.url.clone(), -504 #[cfg(any(test, feature = "test-utils"))] -505 insecure_skip_relay_cert_verify, -506 ) -507 .await -508 { -509 Ok(report) => Ok(ProbeReport::Https(report)), -510 Err(err) => Err(e!(ProbeError::Https, err)), -511 } -512 } -513 #[cfg(not(wasm_browser))] -514 Probe::QadIpv4 | Probe::QadIpv6 => unreachable!("must not be used"), -515 } -516 } -517} -518 -519#[cfg(not(wasm_browser))] -520#[stack_error(derive, add_meta)] -521#[non_exhaustive] -522enum CaptivePortalError { -523 #[error(transparent)] -524 DnsLookup { -525 #[error(from)] -526 source: StaggeredError<DnsError>, -527 }, -528 #[error("Creating HTTP client failed")] -529 CreateReqwestClient { -530 #[error(std_err)] -531 source: reqwest::Error, -532 }, -533 #[error("HTTP request failed")] -534 HttpRequest { -535 #[error(std_err)] -536 source: reqwest::Error, -537 }, -538} -539 -540/// Reports whether or not we think the system is behind a -541/// captive portal, detected by making a request to a URL that we know should -542/// return a "204 No Content" response and checking if that's what we get. -543/// -544/// The boolean return is whether we think we have a captive portal. -545#[cfg(not(wasm_browser))] -546async fn check_captive_portal( -547 dns_resolver: &DnsResolver, -548 dm: &RelayMap, -549 preferred_relay: Option<RelayUrl>, -550) -> Result<bool, CaptivePortalError> { -551 // If we have a preferred relay and we can use it for non-QAD requests, try that; -552 // otherwise, pick a random one suitable for non-STUN requests. -553 -554 use crate::util::reqwest_client_builder; -555 -556 let preferred_relay = preferred_relay.and_then(|url| dm.get(&url).map(|_| url)); -557 -558 let url = match preferred_relay { -559 Some(url) => url, -560 None => { -561 let urls: Vec<_> = dm.urls(); -562 if urls.is_empty() { -563 debug!("No suitable relay for captive portal check"); -564 return Ok(false); -565 } +168 // Internal state. +169 /// Protocols we should attempt to create probes for, if we have the correct +170 /// configuration for that protocol. +171 protocols: BTreeSet<Probe>, +172 +173 /// Any socket-related state that doesn't exist/work in browsers +174 #[cfg(not(wasm_browser))] +175 socket_state: SocketState, +176 #[cfg(any(test, feature = "test-utils"))] +177 insecure_skip_relay_cert_verify: bool, +178 if_state: IfStateDetails, +179} +180 +181#[allow(missing_docs)] +182#[stack_error(derive, add_meta)] +183#[non_exhaustive] +184pub(super) enum ProbesError { +185 #[error("Probe failed")] +186 ProbeFailure { source: ProbeError }, +187 #[error("All probes failed")] +188 AllProbesFailed, +189 #[error("Probe cancelled")] +190 Cancelled, +191 #[error("Probe timed out")] +192 Timeout, +193} +194 +195#[derive(Debug)] +196pub(super) enum ProbeFinished { +197 Regular(Result<ProbeReport, ProbesError>), +198 #[cfg(not(wasm_browser))] +199 CaptivePortal(Option<bool>), +200} +201 +202impl Actor { +203 async fn run(self, shutdown_token: CancellationToken) { +204 shutdown_token +205 .run_until_cancelled_owned(async { +206 match time::timeout(OVERALL_REPORT_TIMEOUT, self.run_inner()).await { +207 Ok(()) => trace!("reportgen actor finished"), +208 Err(time::Elapsed { .. }) => { +209 warn!("reportgen timed out"); +210 } +211 } +212 }) +213 .await; +214 } +215 +216 /// Runs the main reportgen actor logic. +217 /// +218 /// This actor runs by: +219 /// +220 /// - Creates a captive portal future. +221 /// - Creates ProbeSet futures in a group of futures. +222 /// - Runs a main loop: +223 /// - Drives all the above futures. +224 /// - Receives actor messages (sent by those futures). +225 /// - Updates the report, cancels unneeded futures. +226 /// - Sends the report to the net_report actor. +227 async fn run_inner(self) { +228 trace!("reportgen actor starting"); +229 +230 let mut probes = JoinSet::default(); +231 +232 let _probes_token = self.spawn_probes_task(self.if_state.clone(), &mut probes); +233 let mut num_probes = probes.len(); +234 +235 let captive_token = self.prepare_captive_portal_task(&mut probes); +236 +237 // any reports of working UDP/QUIC? +238 let mut have_udp = false; +239 +240 // Check for probes finishing. +241 while let Some(probe_result) = probes.join_next().await { +242 trace!(?probe_result, num_probes, "processing finished probe"); +243 match probe_result { +244 Ok(report) => { +245 #[cfg_attr(wasm_browser, allow(irrefutable_let_patterns))] +246 if let ProbeFinished::Regular(report) = &report { +247 have_udp |= report.as_ref().map(|r| r.is_udp()).unwrap_or_default(); +248 num_probes -= 1; +249 +250 // If all probes are done & we have_udp cancel captive +251 if num_probes == 0 { +252 debug!("all regular probes done"); +253 debug_assert!(probes.len() <= 1, "{} probes", probes.len()); +254 +255 if have_udp { +256 captive_token.cancel(); +257 } +258 } +259 } +260 self.msg_tx.send(report).await.ok(); +261 } +262 Err(e) => { +263 if e.is_panic() { +264 error!("Task panicked {:?}", e); +265 break; +266 } +267 warn!("probes task join error: {:?}", e); +268 } +269 } +270 } +271 } +272 +273 /// Creates the future which will perform the captive portal check. +274 fn prepare_captive_portal_task(&self, tasks: &mut JoinSet<ProbeFinished>) -> CancellationToken { +275 let token = CancellationToken::new(); +276 +277 // If we're doing a full probe, also check for a captive portal. We +278 // delay by a bit to wait for UDP QAD to finish, to avoid the probe if +279 // it's unnecessary. +280 #[cfg(not(wasm_browser))] +281 if self.last_report.is_none() { +282 // Even if we're doing a non-incremental update, we may want to try our +283 // preferred relay for captive portal detection. +284 let preferred_relay = self +285 .last_report +286 .as_ref() +287 .and_then(|l| l.preferred_relay.clone()); +288 +289 let dns_resolver = self.socket_state.dns_resolver.clone(); +290 let dm = self.relay_map.clone(); +291 let token = token.clone(); +292 tasks.spawn( +293 async move { +294 let res = token +295 .run_until_cancelled_owned(async move { +296 time::sleep(CAPTIVE_PORTAL_DELAY).await; +297 trace!("check started after {CAPTIVE_PORTAL_DELAY:?}"); +298 time::timeout( +299 CAPTIVE_PORTAL_TIMEOUT, +300 check_captive_portal(&dns_resolver, &dm, preferred_relay), +301 ) +302 .await +303 }) +304 .await; +305 let res = match res { +306 Some(Ok(Ok(found))) => Some(found), +307 Some(Ok(Err(err))) => { +308 match err { +309 CaptivePortalError::CreateReqwestClient { source, .. } +310 | CaptivePortalError::HttpRequest { source, .. } +311 if source.is_connect() => +312 { +313 debug!("check_captive_portal failed: {source:#}"); +314 } +315 err => warn!("check_captive_portal error: {err:#}"), +316 } +317 None +318 } +319 Some(Err(time::Elapsed { .. })) => { +320 warn!("probe timed out"); +321 None +322 } +323 None => { +324 trace!("probe cancelled"); +325 None +326 } +327 }; +328 ProbeFinished::CaptivePortal(res) +329 } +330 .instrument(warn_span!("captive-portal")), +331 ); +332 } +333 token +334 } +335 +336 /// Prepares the future which will run all the probes as per generated ProbePlan. +337 /// +338 /// Probes operate like the following: +339 /// +340 /// - A future is created for each probe in all probe sets. +341 /// - All probes in a set are grouped in [`JoinSet`]. +342 /// - All those probe sets are grouped in one overall [`JoinSet`]. +343 /// - This future is polled by the main actor loop to make progress. +344 /// - Once a probe future is polled: +345 /// - Many probes start with a delay, they sleep during this time. +346 /// - When a probe starts it first asks the reportgen [`Actor`] if it is still useful +347 /// to run. If not it aborts the entire probe set. +348 /// - When a probe finishes, its [`ProbeReport`] is yielded to the reportgen actor. +349 /// - Probes get aborted in several ways: +350 /// - A running it can fail and abort the entire probe set if it deems the +351 /// failure permanent. Probes in a probe set are essentially retries. +352 /// - Once there are [`ProbeReport`]s from enough relays, all remaining probes are +353 /// aborted. That is, the main actor loop stops polling them. +354 fn spawn_probes_task( +355 &self, +356 if_state: IfStateDetails, +357 probes: &mut JoinSet<ProbeFinished>, +358 ) -> CancellationToken { +359 trace!(?if_state, "local interface details"); +360 let plan = match self.last_report { +361 Some(ref report) => { +362 ProbePlan::with_last_report(&self.relay_map, report, &self.protocols) +363 } +364 None => ProbePlan::initial(&self.relay_map, &self.protocols), +365 }; +366 trace!(%plan, "probe plan"); +367 +368 let token = CancellationToken::new(); +369 +370 for probe_set in plan.iter() { +371 let set_token = token.child_token(); +372 let proto = probe_set.proto(); +373 for (delay, relay) in probe_set.params() { +374 let probe_token = set_token.child_token(); +375 +376 let fut = probe_token.run_until_cancelled_owned(time::timeout( +377 PROBES_TIMEOUT, +378 proto.run( +379 *delay, +380 relay.clone(), +381 #[cfg(not(wasm_browser))] +382 self.socket_state.clone(), +383 #[cfg(any(test, feature = "test-utils"))] +384 self.insecure_skip_relay_cert_verify, +385 ), +386 )); +387 probes.spawn( +388 async move { +389 let res = fut.await; +390 let res = match res { +391 Some(Ok(Ok(report))) => Ok(report), +392 Some(Ok(Err(err))) => { +393 warn!("probe failed: {:#}", err); +394 Err(e!(ProbesError::ProbeFailure, err)) +395 } +396 Some(Err(time::Elapsed { .. })) => Err(e!(ProbesError::Timeout)), +397 None => Err(e!(ProbesError::Cancelled)), +398 }; +399 ProbeFinished::Regular(res) +400 } +401 .instrument(warn_span!( +402 "run-probe", +403 ?proto, +404 ?delay, +405 ?relay, +406 )), +407 ); +408 } +409 } +410 +411 token +412 } +413} +414 +415/// The result of running a probe. +416#[derive(Debug, Clone)] +417pub(super) enum ProbeReport { +418 #[cfg(not(wasm_browser))] +419 QadIpv4(QadProbeReport), +420 #[cfg(not(wasm_browser))] +421 QadIpv6(QadProbeReport), +422 Https(HttpsProbeReport), +423} +424 +425impl ProbeReport { +426 #[cfg(not(wasm_browser))] +427 pub(super) fn is_udp(&self) -> bool { +428 matches!(self, Self::QadIpv4(_) | Self::QadIpv6(_)) +429 } +430 +431 #[cfg(wasm_browser)] +432 pub(super) fn is_udp(&self) -> bool { +433 false +434 } +435} +436 +437#[cfg(not(wasm_browser))] +438#[derive(Debug, Clone, PartialEq, Eq)] +439pub(super) struct QadProbeReport { +440 /// The relay that was probed +441 pub(super) relay: RelayUrl, +442 /// The latency to the relay. +443 pub(super) latency: Duration, +444 /// The discovered public address. +445 pub(super) addr: SocketAddr, +446} +447 +448#[derive(Debug, Clone)] +449pub(super) struct HttpsProbeReport { +450 /// The relay that was probed +451 pub(super) relay: RelayUrl, +452 /// The latency to the relay. +453 pub(super) latency: Duration, +454} +455 +456#[allow(missing_docs)] +457#[stack_error(derive, add_meta)] +458#[non_exhaustive] +459pub(super) enum ProbeError { +460 #[error("Client is gone")] +461 ClientGone, +462 #[error("Probe is no longer useful")] +463 NotUseful, +464 #[error("Failed to run HTTPS probe")] +465 Https { source: MeasureHttpsLatencyError }, +466} +467 +468#[allow(missing_docs)] +469#[stack_error(derive, add_meta)] +470#[non_exhaustive] +471pub(super) enum QuicError { +472 #[error("No relay available")] +473 NoRelay, +474 #[error("URL must have 'host' to use QUIC address discovery probes")] +475 InvalidUrl, +476} +477 +478/// Pieces needed to do QUIC address discovery. +479#[derive(derive_more::Debug, Clone)] +480pub(crate) struct QuicConfig { +481 /// A QUIC Endpoint +482 #[debug("quinn::Endpoint")] +483 pub(crate) ep: quinn::Endpoint, +484 /// A client config. +485 pub(crate) client_config: rustls::ClientConfig, +486 /// Enable ipv4 QUIC address discovery probes +487 pub(crate) ipv4: bool, +488 /// Enable ipv6 QUIC address discovery probes +489 pub(crate) ipv6: bool, +490} +491 +492impl Probe { +493 /// Executes this particular [`Probe`], including using a delayed start if needed. +494 async fn run( +495 self, +496 delay: Duration, +497 relay: Arc<RelayConfig>, +498 #[cfg(not(wasm_browser))] socket_state: SocketState, +499 #[cfg(any(test, feature = "test-utils"))] insecure_skip_relay_cert_verify: bool, +500 ) -> Result<ProbeReport, ProbeError> { +501 if !delay.is_zero() { +502 trace!("delaying probe"); +503 time::sleep(delay).await; +504 } +505 debug!("starting probe"); +506 +507 match self { +508 Probe::Https => { +509 match run_https_probe( +510 #[cfg(not(wasm_browser))] +511 &socket_state.dns_resolver, +512 relay.url.clone(), +513 #[cfg(any(test, feature = "test-utils"))] +514 insecure_skip_relay_cert_verify, +515 ) +516 .await +517 { +518 Ok(report) => Ok(ProbeReport::Https(report)), +519 Err(err) => Err(e!(ProbeError::Https, err)), +520 } +521 } +522 #[cfg(not(wasm_browser))] +523 Probe::QadIpv4 | Probe::QadIpv6 => unreachable!("must not be used"), +524 } +525 } +526} +527 +528#[cfg(not(wasm_browser))] +529#[stack_error(derive, add_meta)] +530#[non_exhaustive] +531enum CaptivePortalError { +532 #[error(transparent)] +533 DnsLookup { +534 #[error(from)] +535 source: StaggeredError<DnsError>, +536 }, +537 #[error("Creating HTTP client failed")] +538 CreateReqwestClient { +539 #[error(std_err)] +540 source: reqwest::Error, +541 }, +542 #[error("HTTP request failed")] +543 HttpRequest { +544 #[error(std_err)] +545 source: reqwest::Error, +546 }, +547} +548 +549/// Reports whether or not we think the system is behind a +550/// captive portal, detected by making a request to a URL that we know should +551/// return a "204 No Content" response and checking if that's what we get. +552/// +553/// The boolean return is whether we think we have a captive portal. +554#[cfg(not(wasm_browser))] +555async fn check_captive_portal( +556 dns_resolver: &DnsResolver, +557 dm: &RelayMap, +558 preferred_relay: Option<RelayUrl>, +559) -> Result<bool, CaptivePortalError> { +560 // If we have a preferred relay and we can use it for non-QAD requests, try that; +561 // otherwise, pick a random one suitable for non-STUN requests. +562 +563 use crate::util::reqwest_client_builder; +564 +565 let preferred_relay = preferred_relay.and_then(|url| dm.get(&url).map(|_| url)); 566 -567 let i = (0..urls.len()).choose(&mut rand::rng()).unwrap_or_default(); -568 urls[i].clone() -569 } -570 }; -571 -572 let mut builder = reqwest_client_builder().redirect(reqwest::redirect::Policy::none()); -573 -574 if let Some(Host::Domain(domain)) = url.host() { -575 // Use our own resolver rather than getaddrinfo -576 // -577 // Be careful, a non-zero port will override the port in the URI. -578 // -579 // Ideally we would try to resolve **both** IPv4 and IPv6 rather than purely race -580 // them. But our resolver doesn't support that yet. -581 let addrs: Vec<_> = dns_resolver -582 .lookup_ipv4_ipv6_staggered(domain, DNS_TIMEOUT, DNS_STAGGERING_MS) -583 .await? -584 .map(|ipaddr| SocketAddr::new(ipaddr, 0)) -585 .collect(); -586 builder = builder.resolve_to_addrs(domain, &addrs); -587 } -588 let client = builder -589 .build() -590 .map_err(|err| e!(CaptivePortalError::CreateReqwestClient, err))?; -591 -592 // Note: the set of valid characters in a challenge and the total -593 // length is limited; see is_challenge_char in bin/iroh-relay for more -594 // details. -595 -596 let host_name = url.host_str().unwrap_or_default(); -597 let challenge = format!("ts_{host_name}"); -598 let portal_url = format!("http://{host_name}/generate_204"); -599 let res = client -600 .request(reqwest::Method::GET, portal_url) -601 .header("X-Iroh-Challenge", &challenge) -602 .send() -603 .await -604 .map_err(|err| e!(CaptivePortalError::HttpRequest, err))?; -605 -606 let expected_response = format!("response {challenge}"); -607 let is_valid_response = res -608 .headers() -609 .get("X-Iroh-Response") -610 .map(|s| s.to_str().unwrap_or_default()) -611 == Some(&expected_response); -612 -613 debug!( -614 "check_captive_portal url={} status_code={} valid_response={}", -615 res.url(), -616 res.status(), -617 is_valid_response, -618 ); -619 let has_captive = res.status() != 204 || !is_valid_response; -620 -621 Ok(has_captive) -622} -623 -624/// Returns the proper port based on the protocol of the probe. -625#[cfg(not(wasm_browser))] -626fn get_quic_port(relay: &RelayConfig) -> Option<u16> { -627 if let Some(ref quic) = relay.quic { -628 if quic.port == 0 { -629 Some(DEFAULT_RELAY_QUIC_PORT) -630 } else { -631 Some(quic.port) -632 } -633 } else { -634 None -635 } -636} -637 -638#[cfg(not(wasm_browser))] -639#[stack_error(derive, add_meta)] -640#[non_exhaustive] -641pub enum GetRelayAddrError { -642 #[error("No valid hostname in the relay URL")] -643 InvalidHostname, -644 #[error("No suitable relay address found for {url} ({addr_type})")] -645 NoAddrFound { -646 url: RelayUrl, -647 addr_type: &'static str, -648 }, -649 #[error("DNS lookup failed")] -650 DnsLookup { source: StaggeredError<DnsError> }, -651 #[error("Relay is not suitable")] -652 UnsupportedRelay, -653 #[error("HTTPS probes are not implemented")] -654 UnsupportedHttps, -655 #[error("No port available for this protocol")] -656 MissingPort, -657} -658 -659/// Returns the IP address to use to communicate to this relay for quic. -660#[cfg(not(wasm_browser))] -661pub(super) async fn get_relay_addr_ipv4( -662 dns_resolver: &DnsResolver, -663 relay: &RelayConfig, -664) -> Result<SocketAddrV4, GetRelayAddrError> { -665 let port = get_quic_port(relay).ok_or_else(|| e!(GetRelayAddrError::MissingPort))?; -666 relay_lookup_ipv4_staggered(dns_resolver, relay, port).await -667} -668 -669#[cfg(not(wasm_browser))] -670pub(super) async fn get_relay_addr_ipv6( +567 let url = match preferred_relay { +568 Some(url) => url, +569 None => { +570 let urls: Vec<_> = dm.urls(); +571 if urls.is_empty() { +572 debug!("No suitable relay for captive portal check"); +573 return Ok(false); +574 } +575 +576 let i = (0..urls.len()).choose(&mut rand::rng()).unwrap_or_default(); +577 urls[i].clone() +578 } +579 }; +580 +581 let mut builder = reqwest_client_builder().redirect(reqwest::redirect::Policy::none()); +582 +583 if let Some(Host::Domain(domain)) = url.host() { +584 // Use our own resolver rather than getaddrinfo +585 // +586 // Be careful, a non-zero port will override the port in the URI. +587 // +588 // Ideally we would try to resolve **both** IPv4 and IPv6 rather than purely race +589 // them. But our resolver doesn't support that yet. +590 let addrs: Vec<_> = dns_resolver +591 .lookup_ipv4_ipv6_staggered(domain, DNS_TIMEOUT, DNS_STAGGERING_MS) +592 .await? +593 .map(|ipaddr| SocketAddr::new(ipaddr, 0)) +594 .collect(); +595 builder = builder.resolve_to_addrs(domain, &addrs); +596 } +597 let client = builder +598 .build() +599 .map_err(|err| e!(CaptivePortalError::CreateReqwestClient, err))?; +600 +601 // Note: the set of valid characters in a challenge and the total +602 // length is limited; see is_challenge_char in bin/iroh-relay for more +603 // details. +604 +605 let host_name = url.host_str().unwrap_or_default(); +606 let challenge = format!("ts_{host_name}"); +607 let portal_url = format!("http://{host_name}/generate_204"); +608 let res = client +609 .request(reqwest::Method::GET, portal_url) +610 .header("X-Iroh-Challenge", &challenge) +611 .send() +612 .await +613 .map_err(|err| e!(CaptivePortalError::HttpRequest, err))?; +614 +615 let expected_response = format!("response {challenge}"); +616 let is_valid_response = res +617 .headers() +618 .get("X-Iroh-Response") +619 .map(|s| s.to_str().unwrap_or_default()) +620 == Some(&expected_response); +621 +622 debug!( +623 "check_captive_portal url={} status_code={} valid_response={}", +624 res.url(), +625 res.status(), +626 is_valid_response, +627 ); +628 let has_captive = res.status() != 204 || !is_valid_response; +629 +630 Ok(has_captive) +631} +632 +633/// Returns the proper port based on the protocol of the probe. +634#[cfg(not(wasm_browser))] +635fn get_quic_port(relay: &RelayConfig) -> Option<u16> { +636 if let Some(ref quic) = relay.quic { +637 if quic.port == 0 { +638 Some(DEFAULT_RELAY_QUIC_PORT) +639 } else { +640 Some(quic.port) +641 } +642 } else { +643 None +644 } +645} +646 +647#[cfg(not(wasm_browser))] +648#[stack_error(derive, add_meta)] +649#[non_exhaustive] +650pub(super) enum GetRelayAddrError { +651 #[error("No valid hostname in the relay URL")] +652 InvalidHostname, +653 #[error("No suitable relay address found for {url} ({addr_type})")] +654 NoAddrFound { +655 url: RelayUrl, +656 addr_type: &'static str, +657 }, +658 #[error("DNS lookup failed")] +659 DnsLookup { source: StaggeredError<DnsError> }, +660 #[error("Relay is not suitable")] +661 UnsupportedRelay, +662 #[error("HTTPS probes are not implemented")] +663 UnsupportedHttps, +664 #[error("No port available for this protocol")] +665 MissingPort, +666} +667 +668/// Returns the IP address to use to communicate to this relay for quic. +669#[cfg(not(wasm_browser))] +670pub(super) async fn get_relay_addr_ipv4( 671 dns_resolver: &DnsResolver, 672 relay: &RelayConfig, -673) -> Result<SocketAddrV6, GetRelayAddrError> { +673) -> Result<SocketAddrV4, GetRelayAddrError> { 674 let port = get_quic_port(relay).ok_or_else(|| e!(GetRelayAddrError::MissingPort))?; -675 relay_lookup_ipv6_staggered(dns_resolver, relay, port).await +675 relay_lookup_ipv4_staggered(dns_resolver, relay, port).await 676} 677 -678/// Do a staggared ipv4 DNS lookup based on [`RelayConfig`] -679/// -680/// `port` is combined with the resolved [`std::net::Ipv4Addr`] to return a [`SocketAddr`] -681#[cfg(not(wasm_browser))] -682async fn relay_lookup_ipv4_staggered( -683 dns_resolver: &DnsResolver, -684 relay: &RelayConfig, -685 port: u16, -686) -> Result<SocketAddrV4, GetRelayAddrError> { -687 match relay.url.host() { -688 Some(url::Host::Domain(hostname)) => { -689 trace!(%hostname, "Performing DNS A lookup for relay addr"); -690 match dns_resolver -691 .lookup_ipv4_staggered(hostname, DNS_TIMEOUT, DNS_STAGGERING_MS) -692 .await -693 { -694 Ok(mut addrs) => addrs -695 .next() -696 .map(|ip| ip.to_canonical()) -697 .map(|addr| match addr { -698 IpAddr::V4(ip) => SocketAddrV4::new(ip, port), -699 IpAddr::V6(_) => unreachable!("bad DNS lookup: {:?}", addr), -700 }) -701 .ok_or_else(|| { -702 e!(GetRelayAddrError::NoAddrFound { -703 url: relay.url.clone(), -704 addr_type: "A", -705 }) -706 }), -707 Err(err) => Err(e!(GetRelayAddrError::DnsLookup, err)), -708 } -709 } -710 Some(url::Host::Ipv4(addr)) => Ok(SocketAddrV4::new(addr, port)), -711 Some(url::Host::Ipv6(_addr)) => Err(e!(GetRelayAddrError::NoAddrFound { -712 url: relay.url.clone(), -713 addr_type: "A", -714 })), -715 None => Err(e!(GetRelayAddrError::InvalidHostname)), -716 } -717} -718 -719/// Do a staggared ipv6 DNS lookup based on [`RelayConfig`] -720/// -721/// `port` is combined with the resolved [`std::net::Ipv6Addr`] to return a [`SocketAddr`] -722#[cfg(not(wasm_browser))] -723async fn relay_lookup_ipv6_staggered( -724 dns_resolver: &DnsResolver, -725 relay: &RelayConfig, -726 port: u16, -727) -> Result<SocketAddrV6, GetRelayAddrError> { -728 match relay.url.host() { -729 Some(url::Host::Domain(hostname)) => { -730 trace!(%hostname, "Performing DNS AAAA lookup for relay addr"); -731 match dns_resolver -732 .lookup_ipv6_staggered(hostname, DNS_TIMEOUT, DNS_STAGGERING_MS) -733 .await -734 { -735 Ok(mut addrs) => addrs -736 .next() -737 .map(|addr| match addr { -738 IpAddr::V4(_) => unreachable!("bad DNS lookup: {:?}", addr), -739 IpAddr::V6(ip) => SocketAddrV6::new(ip, port, 0, 0), -740 }) -741 .ok_or_else(|| { -742 e!(GetRelayAddrError::NoAddrFound { -743 url: relay.url.clone(), -744 addr_type: "AAAA", -745 }) -746 }), -747 Err(err) => Err(e!(GetRelayAddrError::DnsLookup, err)), -748 } -749 } -750 Some(url::Host::Ipv4(_addr)) => Err(e!(GetRelayAddrError::NoAddrFound { -751 url: relay.url.clone(), -752 addr_type: "AAAA", -753 })), -754 Some(url::Host::Ipv6(addr)) => Ok(SocketAddrV6::new(addr, port, 0, 0)), -755 None => Err(e!(GetRelayAddrError::InvalidHostname)), -756 } -757} -758 -759#[stack_error(derive, add_meta)] -760#[non_exhaustive] -761pub enum MeasureHttpsLatencyError { -762 #[error(transparent)] -763 InvalidUrl { -764 #[error(std_err, from)] -765 source: url::ParseError, -766 }, -767 #[cfg(not(wasm_browser))] -768 #[error(transparent)] -769 DnsLookup { -770 #[error(from)] -771 source: StaggeredError<DnsError>, -772 }, -773 #[error("Creating HTTP client failed")] -774 CreateReqwestClient { -775 #[error(std_err)] -776 source: reqwest::Error, -777 }, -778 #[error("HTTP request failed")] -779 HttpRequest { -780 #[error(std_err)] -781 source: reqwest::Error, -782 }, -783 #[error("Error response from server {status}: {:?}", status.canonical_reason())] -784 InvalidResponse { status: StatusCode }, -785} -786 -787/// Executes an HTTPS probe. -788/// -789/// If `certs` is provided they will be added to the trusted root certificates, allowing the -790/// use of self-signed certificates for servers. Currently this is used for testing. -791#[allow(clippy::unused_async)] -792async fn run_https_probe( -793 #[cfg(not(wasm_browser))] dns_resolver: &DnsResolver, -794 relay: RelayUrl, -795 #[cfg(any(test, feature = "test-utils"))] insecure_skip_relay_cert_verify: bool, -796) -> Result<HttpsProbeReport, MeasureHttpsLatencyError> { -797 trace!("HTTPS probe start"); -798 let url = relay.join(RELAY_PROBE_PATH)?; -799 -800 // This should also use same connection establishment as relay client itself, which -801 // needs to be more configurable so users can do more crazy things: -802 // https://github.com/n0-computer/iroh/issues/2901 -803 let mut builder = reqwest_client_builder(); -804 -805 #[cfg(not(wasm_browser))] -806 { -807 builder = builder.redirect(reqwest::redirect::Policy::none()); -808 } -809 -810 #[cfg(not(wasm_browser))] -811 if let Some(Host::Domain(domain)) = url.host() { -812 // Use our own resolver rather than getaddrinfo -813 // -814 // Be careful, a non-zero port will override the port in the URI. -815 // -816 // The relay Client uses `.lookup_ipv4_ipv6` to connect, so use the same function -817 // but staggered for reliability. Ideally this tries to resolve **both** IPv4 and -818 // IPv6 though. But our resolver does not have a function for that yet. -819 let addrs: Vec<_> = dns_resolver -820 .lookup_ipv4_ipv6_staggered(domain, DNS_TIMEOUT, DNS_STAGGERING_MS) -821 .await? -822 .map(|ipaddr| SocketAddr::new(ipaddr, 0)) -823 .collect(); -824 trace!(?addrs, "resolved addrs"); -825 builder = builder.resolve_to_addrs(domain, &addrs); -826 } -827 -828 #[cfg(all(not(wasm_browser), any(test, feature = "test-utils")))] -829 let builder = builder.danger_accept_invalid_certs(insecure_skip_relay_cert_verify); -830 -831 let client = builder -832 .build() -833 .map_err(|err| e!(MeasureHttpsLatencyError::CreateReqwestClient, err))?; -834 -835 let start = Instant::now(); -836 let response = client -837 .request(reqwest::Method::GET, url) -838 .send() -839 .await -840 .map_err(|err| e!(MeasureHttpsLatencyError::HttpRequest, err))?; -841 let latency = start.elapsed(); -842 if response.status().is_success() { -843 // Drain the response body to be nice to the server, up to a limit. -844 const MAX_BODY_SIZE: usize = 8 << 10; // 8 KiB -845 let mut body_size = 0; -846 let mut stream = response.bytes_stream(); -847 // ignore failing frames -848 while let Some(Ok(chunk)) = stream.next().await { -849 body_size += chunk.len(); -850 if body_size >= MAX_BODY_SIZE { -851 break; -852 } -853 } -854 -855 Ok(HttpsProbeReport { relay, latency }) -856 } else { -857 Err(e!(MeasureHttpsLatencyError::InvalidResponse { -858 status: response.status() -859 })) -860 } -861} -862 -863#[cfg(test)] -864mod tests { -865 use std::net::Ipv4Addr; -866 -867 use iroh_relay::dns::DnsResolver; -868 use n0_error::{Result, StdResultExt}; -869 use tracing_test::traced_test; -870 -871 use super::{super::test_utils, *}; -872 -873 #[tokio::test] -874 async fn test_measure_https_latency() -> Result { -875 let (_server, relay) = test_utils::relay().await; -876 let dns_resolver = DnsResolver::new(); -877 tracing::info!(relay_url = ?relay.url , "RELAY_URL"); -878 let report = run_https_probe(&dns_resolver, relay.url, true).await?; +678#[cfg(not(wasm_browser))] +679pub(super) async fn get_relay_addr_ipv6( +680 dns_resolver: &DnsResolver, +681 relay: &RelayConfig, +682) -> Result<SocketAddrV6, GetRelayAddrError> { +683 let port = get_quic_port(relay).ok_or_else(|| e!(GetRelayAddrError::MissingPort))?; +684 relay_lookup_ipv6_staggered(dns_resolver, relay, port).await +685} +686 +687/// Do a staggared ipv4 DNS lookup based on [`RelayConfig`] +688/// +689/// `port` is combined with the resolved [`std::net::Ipv4Addr`] to return a [`SocketAddr`] +690#[cfg(not(wasm_browser))] +691async fn relay_lookup_ipv4_staggered( +692 dns_resolver: &DnsResolver, +693 relay: &RelayConfig, +694 port: u16, +695) -> Result<SocketAddrV4, GetRelayAddrError> { +696 match relay.url.host() { +697 Some(url::Host::Domain(hostname)) => { +698 trace!(%hostname, "Performing DNS A lookup for relay addr"); +699 match dns_resolver +700 .lookup_ipv4_staggered(hostname, DNS_TIMEOUT, DNS_STAGGERING_MS) +701 .await +702 { +703 Ok(mut addrs) => addrs +704 .next() +705 .map(|ip| ip.to_canonical()) +706 .map(|addr| match addr { +707 IpAddr::V4(ip) => SocketAddrV4::new(ip, port), +708 IpAddr::V6(_) => unreachable!("bad DNS lookup: {:?}", addr), +709 }) +710 .ok_or_else(|| { +711 e!(GetRelayAddrError::NoAddrFound { +712 url: relay.url.clone(), +713 addr_type: "A", +714 }) +715 }), +716 Err(err) => Err(e!(GetRelayAddrError::DnsLookup, err)), +717 } +718 } +719 Some(url::Host::Ipv4(addr)) => Ok(SocketAddrV4::new(addr, port)), +720 Some(url::Host::Ipv6(_addr)) => Err(e!(GetRelayAddrError::NoAddrFound { +721 url: relay.url.clone(), +722 addr_type: "A", +723 })), +724 None => Err(e!(GetRelayAddrError::InvalidHostname)), +725 } +726} +727 +728/// Do a staggared ipv6 DNS lookup based on [`RelayConfig`] +729/// +730/// `port` is combined with the resolved [`std::net::Ipv6Addr`] to return a [`SocketAddr`] +731#[cfg(not(wasm_browser))] +732async fn relay_lookup_ipv6_staggered( +733 dns_resolver: &DnsResolver, +734 relay: &RelayConfig, +735 port: u16, +736) -> Result<SocketAddrV6, GetRelayAddrError> { +737 match relay.url.host() { +738 Some(url::Host::Domain(hostname)) => { +739 trace!(%hostname, "Performing DNS AAAA lookup for relay addr"); +740 match dns_resolver +741 .lookup_ipv6_staggered(hostname, DNS_TIMEOUT, DNS_STAGGERING_MS) +742 .await +743 { +744 Ok(mut addrs) => addrs +745 .next() +746 .map(|addr| match addr { +747 IpAddr::V4(_) => unreachable!("bad DNS lookup: {:?}", addr), +748 IpAddr::V6(ip) => SocketAddrV6::new(ip, port, 0, 0), +749 }) +750 .ok_or_else(|| { +751 e!(GetRelayAddrError::NoAddrFound { +752 url: relay.url.clone(), +753 addr_type: "AAAA", +754 }) +755 }), +756 Err(err) => Err(e!(GetRelayAddrError::DnsLookup, err)), +757 } +758 } +759 Some(url::Host::Ipv4(_addr)) => Err(e!(GetRelayAddrError::NoAddrFound { +760 url: relay.url.clone(), +761 addr_type: "AAAA", +762 })), +763 Some(url::Host::Ipv6(addr)) => Ok(SocketAddrV6::new(addr, port, 0, 0)), +764 None => Err(e!(GetRelayAddrError::InvalidHostname)), +765 } +766} +767 +768#[stack_error(derive, add_meta)] +769#[non_exhaustive] +770pub(super) enum MeasureHttpsLatencyError { +771 #[error(transparent)] +772 InvalidUrl { +773 #[error(std_err, from)] +774 source: url::ParseError, +775 }, +776 #[cfg(not(wasm_browser))] +777 #[error(transparent)] +778 DnsLookup { +779 #[error(from)] +780 source: StaggeredError<DnsError>, +781 }, +782 #[error("Creating HTTP client failed")] +783 CreateReqwestClient { +784 #[error(std_err)] +785 source: reqwest::Error, +786 }, +787 #[error("HTTP request failed")] +788 HttpRequest { +789 #[error(std_err)] +790 source: reqwest::Error, +791 }, +792 #[error("Error response from server {status}: {:?}", status.canonical_reason())] +793 InvalidResponse { status: StatusCode }, +794} +795 +796/// Executes an HTTPS probe. +797/// +798/// If `certs` is provided they will be added to the trusted root certificates, allowing the +799/// use of self-signed certificates for servers. Currently this is used for testing. +800#[allow(clippy::unused_async)] +801async fn run_https_probe( +802 #[cfg(not(wasm_browser))] dns_resolver: &DnsResolver, +803 relay: RelayUrl, +804 #[cfg(any(test, feature = "test-utils"))] insecure_skip_relay_cert_verify: bool, +805) -> Result<HttpsProbeReport, MeasureHttpsLatencyError> { +806 trace!("HTTPS probe start"); +807 let url = relay.join(RELAY_PROBE_PATH)?; +808 +809 // This should also use same connection establishment as relay client itself, which +810 // needs to be more configurable so users can do more crazy things: +811 // https://github.com/n0-computer/iroh/issues/2901 +812 let mut builder = reqwest_client_builder(); +813 +814 #[cfg(not(wasm_browser))] +815 { +816 builder = builder.redirect(reqwest::redirect::Policy::none()); +817 } +818 +819 #[cfg(not(wasm_browser))] +820 if let Some(Host::Domain(domain)) = url.host() { +821 // Use our own resolver rather than getaddrinfo +822 // +823 // Be careful, a non-zero port will override the port in the URI. +824 // +825 // The relay Client uses `.lookup_ipv4_ipv6` to connect, so use the same function +826 // but staggered for reliability. Ideally this tries to resolve **both** IPv4 and +827 // IPv6 though. But our resolver does not have a function for that yet. +828 let addrs: Vec<_> = dns_resolver +829 .lookup_ipv4_ipv6_staggered(domain, DNS_TIMEOUT, DNS_STAGGERING_MS) +830 .await? +831 .map(|ipaddr| SocketAddr::new(ipaddr, 0)) +832 .collect(); +833 trace!(?addrs, "resolved addrs"); +834 builder = builder.resolve_to_addrs(domain, &addrs); +835 } +836 +837 #[cfg(all(not(wasm_browser), any(test, feature = "test-utils")))] +838 let builder = builder.danger_accept_invalid_certs(insecure_skip_relay_cert_verify); +839 +840 let client = builder +841 .build() +842 .map_err(|err| e!(MeasureHttpsLatencyError::CreateReqwestClient, err))?; +843 +844 let start = Instant::now(); +845 let response = client +846 .request(reqwest::Method::GET, url) +847 .send() +848 .await +849 .map_err(|err| e!(MeasureHttpsLatencyError::HttpRequest, err))?; +850 let latency = start.elapsed(); +851 if response.status().is_success() { +852 // Drain the response body to be nice to the server, up to a limit. +853 const MAX_BODY_SIZE: usize = 8 << 10; // 8 KiB +854 let mut body_size = 0; +855 let mut stream = response.bytes_stream(); +856 // ignore failing frames +857 while let Some(Ok(chunk)) = stream.next().await { +858 body_size += chunk.len(); +859 if body_size >= MAX_BODY_SIZE { +860 break; +861 } +862 } +863 +864 Ok(HttpsProbeReport { relay, latency }) +865 } else { +866 Err(e!(MeasureHttpsLatencyError::InvalidResponse { +867 status: response.status() +868 })) +869 } +870} +871 +872#[cfg(test)] +873mod tests { +874 use std::net::Ipv4Addr; +875 +876 use iroh_relay::dns::DnsResolver; +877 use n0_error::{Result, StdResultExt}; +878 use n0_tracing_test::traced_test; 879 -880 assert!(report.latency > Duration::ZERO); +880 use super::{super::test_utils, *}; 881 -882 Ok(()) -883 } -884 -885 #[tokio::test] -886 #[traced_test] -887 async fn test_qad_probe_v4() -> Result { -888 let (server, relay) = test_utils::relay().await; -889 let relay = Arc::new(relay); -890 let client_config = iroh_relay::client::make_dangerous_client_config(); -891 let ep = -892 quinn::Endpoint::client(SocketAddr::new(Ipv4Addr::LOCALHOST.into(), 0)).anyerr()?; -893 let client_addr = ep.local_addr().anyerr()?; -894 -895 let quic_client = iroh_relay::quic::QuicClient::new(ep.clone(), client_config); -896 let dns_resolver = DnsResolver::default(); -897 -898 let (report, conn) = super::super::run_probe_v4(relay, quic_client, dns_resolver) -899 .await -900 .unwrap(); -901 -902 assert_eq!(report.addr, client_addr); -903 drop(conn); -904 ep.wait_idle().await; -905 server.shutdown().await?; -906 Ok(()) -907 } -908} \ No newline at end of file +882 #[tokio::test] +883 async fn test_measure_https_latency() -> Result { +884 let (_server, relay) = test_utils::relay().await; +885 let dns_resolver = DnsResolver::new(); +886 tracing::info!(relay_url = ?relay.url , "RELAY_URL"); +887 let report = run_https_probe(&dns_resolver, relay.url, true).await?; +888 +889 assert!(report.latency > Duration::ZERO); +890 +891 Ok(()) +892 } +893 +894 #[tokio::test] +895 #[traced_test] +896 async fn test_qad_probe_v4() -> Result { +897 let (server, relay) = test_utils::relay().await; +898 let relay = Arc::new(relay); +899 let client_config = iroh_relay::client::make_dangerous_client_config(); +900 let ep = +901 quinn::Endpoint::client(SocketAddr::new(Ipv4Addr::LOCALHOST.into(), 0)).anyerr()?; +902 let client_addr = ep.local_addr().anyerr()?; +903 +904 let quic_client = iroh_relay::quic::QuicClient::new(ep.clone(), client_config); +905 let dns_resolver = DnsResolver::default(); +906 +907 let (report, conn) = +908 super::super::run_probe_v4(relay, quic_client, dns_resolver, CancellationToken::new()) +909 .await +910 .unwrap(); +911 +912 assert_eq!(report.addr, client_addr); +913 drop(conn); +914 ep.wait_idle().await; +915 server.shutdown().await?; +916 Ok(()) +917 } +918} \ No newline at end of file diff --git a/pr/3734/docs/src/iroh/protocol.rs.html b/pr/3734/docs/src/iroh/protocol.rs.html index 73e73006eb..0470a32c18 100644 --- a/pr/3734/docs/src/iroh/protocol.rs.html +++ b/pr/3734/docs/src/iroh/protocol.rs.html @@ -53,7 +53,7 @@ 53 54use crate::{ 55 Endpoint, -56 endpoint::{Accepting, Connection, RemoteEndpointIdError}, +56 endpoint::{Accepting, Connection, RemoteEndpointIdError, quic}, 57}; 58 59/// The built router. @@ -146,8 +146,8 @@ 146 } 147} 148 -149impl From<quinn::ClosedStream> for AcceptError { -150 fn from(err: quinn::ClosedStream) -> Self { +149impl From<quic::ClosedStream> for AcceptError { +150 fn from(err: quic::ClosedStream) -> Self { 151 Self::from_err(err) 152 } 153} @@ -416,204 +416,204 @@ 416 } 417 418 /// Spawns an accept loop and returns a handle to it encapsulated as the [`Router`]. -419 pub fn spawn(self) -> Router { -420 // Update the endpoint with our alpns. -421 let alpns = self -422 .protocols -423 .alpns() -424 .map(|alpn| alpn.to_vec()) -425 .collect::<Vec<_>>(); -426 -427 let protocols = Arc::new(self.protocols); -428 self.endpoint.set_alpns(alpns); -429 -430 let mut join_set = JoinSet::new(); -431 let endpoint = self.endpoint.clone(); -432 -433 // Our own shutdown works with a cancellation token. -434 let cancel = CancellationToken::new(); -435 let cancel_token = cancel.clone(); -436 -437 let run_loop_fut = async move { -438 // Make sure to cancel the token, if this future ever exits. -439 let _cancel_guard = cancel_token.clone().drop_guard(); -440 // We create a separate cancellation token to stop any `ProtocolHandler::accept` futures -441 // that are still running after `ProtocolHandler::shutdown` was called. -442 let handler_cancel_token = CancellationToken::new(); -443 -444 loop { -445 tokio::select! { -446 biased; -447 _ = cancel_token.cancelled() => { -448 break; -449 }, -450 // handle task terminations and quit on panics. -451 Some(res) = join_set.join_next() => { -452 match res { -453 Err(outer) => { -454 if outer.is_panic() { -455 error!("Task panicked: {outer:?}"); -456 break; -457 } else if outer.is_cancelled() { -458 trace!("Task cancelled: {outer:?}"); -459 } else { -460 error!("Task failed: {outer:?}"); -461 break; -462 } -463 } -464 Ok(Some(())) => { -465 trace!("Task finished"); -466 } -467 Ok(None) => { -468 trace!("Task cancelled"); -469 } -470 } -471 }, -472 -473 // handle incoming p2p connections. -474 incoming = endpoint.accept() => { -475 let Some(incoming) = incoming else { -476 break; // Endpoint is closed. -477 }; -478 -479 let protocols = protocols.clone(); -480 let token = handler_cancel_token.child_token(); -481 let span = info_span!("router.accept", me=%endpoint.id().fmt_short(), remote=Empty, alpn=Empty); -482 join_set.spawn(async move { -483 token.run_until_cancelled(handle_connection(incoming, protocols)).await -484 }.instrument(span)); -485 }, -486 } -487 } -488 -489 // We first shutdown the protocol handlers to give them a chance to close connections gracefully. -490 protocols.shutdown().await; -491 // We now cancel the remaining `ProtocolHandler::accept` futures. -492 handler_cancel_token.cancel(); -493 // Now we close the endpoint. This will force-close all connections that are not yet closed. -494 endpoint.close().await; -495 // Finally, we abort the remaining accept tasks. This should be a noop because we already cancelled -496 // the futures above. -497 tracing::debug!("Shutting down remaining tasks"); -498 join_set.abort_all(); -499 while let Some(res) = join_set.join_next().await { -500 match res { -501 Err(err) if err.is_panic() => error!("Task panicked: {err:?}"), -502 _ => {} -503 } -504 } -505 }; -506 let task = task::spawn(run_loop_fut.instrument(tracing::Span::current())); -507 let task = AbortOnDropHandle::new(task); -508 -509 Router { -510 endpoint: self.endpoint, -511 task: Arc::new(Mutex::new(Some(task))), -512 cancel_token: cancel, -513 } -514 } -515} -516 -517async fn handle_connection(incoming: crate::endpoint::Incoming, protocols: Arc<ProtocolMap>) { -518 let mut accepting = match incoming.accept() { -519 Ok(conn) => conn, -520 Err(err) => { -521 warn!("Ignoring connection: accepting failed: {err:#}"); -522 return; -523 } -524 }; -525 let alpn = match accepting.alpn().await { -526 Ok(alpn) => alpn, -527 Err(err) => { -528 warn!("Ignoring connection: invalid handshake: {err:#}"); -529 return; -530 } -531 }; -532 tracing::Span::current().record("alpn", String::from_utf8_lossy(&alpn).to_string()); -533 let Some(handler) = protocols.get(&alpn) else { -534 warn!("Ignoring connection: unsupported ALPN protocol"); -535 return; -536 }; -537 match handler.on_accepting(accepting).await { -538 Ok(connection) => { -539 tracing::Span::current().record( -540 "remote", -541 tracing::field::display(connection.remote_id().fmt_short()), -542 ); -543 if let Err(err) = handler.accept(connection).await { -544 warn!("Handling incoming connection ended with error: {err}"); -545 } -546 } -547 Err(err) => { -548 warn!("Accepting incoming connection ended with error: {err}"); -549 } -550 } -551} -552 -553/// Wraps an existing protocol, limiting its access, -554/// based on the provided function. -555/// -556/// Any refused connection will be closed with an error code of `0` and reason `not allowed`. -557#[derive(derive_more::Debug, Clone)] -558pub struct AccessLimit<P: ProtocolHandler + Clone> { -559 proto: P, -560 #[debug("limiter")] -561 limiter: Arc<dyn Fn(EndpointId) -> bool + Send + Sync + 'static>, -562} -563 -564impl<P: ProtocolHandler + Clone> AccessLimit<P> { -565 /// Create a new `AccessLimit`. -566 /// -567 /// The function should return `true` for endpoints that are allowed to -568 /// connect, and `false` otherwise. -569 pub fn new<F>(proto: P, limiter: F) -> Self -570 where -571 F: Fn(EndpointId) -> bool + Send + Sync + 'static, -572 { -573 Self { -574 proto, -575 limiter: Arc::new(limiter), -576 } -577 } -578} -579 -580impl<P: ProtocolHandler + Clone> ProtocolHandler for AccessLimit<P> { -581 fn on_accepting( -582 &self, -583 accepting: Accepting, -584 ) -> impl Future<Output = Result<Connection, AcceptError>> + Send { -585 self.proto.on_accepting(accepting) -586 } -587 -588 async fn accept(&self, conn: Connection) -> Result<(), AcceptError> { -589 let remote = conn.remote_id(); -590 let is_allowed = (self.limiter)(remote); -591 if !is_allowed { -592 conn.close(0u32.into(), b"not allowed"); -593 return Err(e!(AcceptError::NotAllowed)); -594 } -595 self.proto.accept(conn).await?; -596 Ok(()) -597 } -598 -599 fn shutdown(&self) -> impl Future<Output = ()> + Send { -600 self.proto.shutdown() -601 } -602} -603 -604#[cfg(test)] -605mod tests { -606 use std::{sync::Mutex, time::Duration}; -607 -608 use n0_error::{Result, StdResultExt}; -609 use quinn::ApplicationClose; +419 #[must_use = "Router aborts when dropped, use Router::shutdown to shut the router down cleanly"] +420 pub fn spawn(self) -> Router { +421 // Update the endpoint with our alpns. +422 let alpns = self +423 .protocols +424 .alpns() +425 .map(|alpn| alpn.to_vec()) +426 .collect::<Vec<_>>(); +427 +428 let protocols = Arc::new(self.protocols); +429 self.endpoint.set_alpns(alpns); +430 +431 let mut join_set = JoinSet::new(); +432 let endpoint = self.endpoint.clone(); +433 +434 // Our own shutdown works with a cancellation token. +435 let cancel = CancellationToken::new(); +436 let cancel_token = cancel.clone(); +437 +438 let run_loop_fut = async move { +439 // Make sure to cancel the token, if this future ever exits. +440 let _cancel_guard = cancel_token.clone().drop_guard(); +441 // We create a separate cancellation token to stop any `ProtocolHandler::accept` futures +442 // that are still running after `ProtocolHandler::shutdown` was called. +443 let handler_cancel_token = CancellationToken::new(); +444 +445 loop { +446 tokio::select! { +447 biased; +448 _ = cancel_token.cancelled() => { +449 break; +450 }, +451 // handle task terminations and quit on panics. +452 Some(res) = join_set.join_next() => { +453 match res { +454 Err(outer) => { +455 if outer.is_panic() { +456 error!("Task panicked: {outer:?}"); +457 break; +458 } else if outer.is_cancelled() { +459 trace!("Task cancelled: {outer:?}"); +460 } else { +461 error!("Task failed: {outer:?}"); +462 break; +463 } +464 } +465 Ok(Some(())) => { +466 trace!("Task finished"); +467 } +468 Ok(None) => { +469 trace!("Task cancelled"); +470 } +471 } +472 }, +473 +474 // handle incoming p2p connections. +475 incoming = endpoint.accept() => { +476 let Some(incoming) = incoming else { +477 break; // Endpoint is closed. +478 }; +479 +480 let protocols = protocols.clone(); +481 let token = handler_cancel_token.child_token(); +482 let span = info_span!("router.accept", me=%endpoint.id().fmt_short(), remote=Empty, alpn=Empty); +483 join_set.spawn(async move { +484 token.run_until_cancelled(handle_connection(incoming, protocols)).await +485 }.instrument(span)); +486 }, +487 } +488 } +489 +490 // We first shutdown the protocol handlers to give them a chance to close connections gracefully. +491 protocols.shutdown().await; +492 // We now cancel the remaining `ProtocolHandler::accept` futures. +493 handler_cancel_token.cancel(); +494 // Now we close the endpoint. This will force-close all connections that are not yet closed. +495 endpoint.close().await; +496 // Finally, we abort the remaining accept tasks. This should be a noop because we already cancelled +497 // the futures above. +498 tracing::debug!("Shutting down remaining tasks"); +499 join_set.abort_all(); +500 while let Some(res) = join_set.join_next().await { +501 match res { +502 Err(err) if err.is_panic() => error!("Task panicked: {err:?}"), +503 _ => {} +504 } +505 } +506 }; +507 let task = task::spawn(run_loop_fut.instrument(tracing::Span::current())); +508 let task = AbortOnDropHandle::new(task); +509 +510 Router { +511 endpoint: self.endpoint, +512 task: Arc::new(Mutex::new(Some(task))), +513 cancel_token: cancel, +514 } +515 } +516} +517 +518async fn handle_connection(incoming: crate::endpoint::Incoming, protocols: Arc<ProtocolMap>) { +519 let mut accepting = match incoming.accept() { +520 Ok(conn) => conn, +521 Err(err) => { +522 warn!("Ignoring connection: accepting failed: {err:#}"); +523 return; +524 } +525 }; +526 let alpn = match accepting.alpn().await { +527 Ok(alpn) => alpn, +528 Err(err) => { +529 warn!("Ignoring connection: invalid handshake: {err:#}"); +530 return; +531 } +532 }; +533 tracing::Span::current().record("alpn", String::from_utf8_lossy(&alpn).to_string()); +534 let Some(handler) = protocols.get(&alpn) else { +535 warn!("Ignoring connection: unsupported ALPN protocol"); +536 return; +537 }; +538 match handler.on_accepting(accepting).await { +539 Ok(connection) => { +540 tracing::Span::current().record( +541 "remote", +542 tracing::field::display(connection.remote_id().fmt_short()), +543 ); +544 if let Err(err) = handler.accept(connection).await { +545 warn!("Handling incoming connection ended with error: {err}"); +546 } +547 } +548 Err(err) => { +549 warn!("Accepting incoming connection ended with error: {err}"); +550 } +551 } +552} +553 +554/// Wraps an existing protocol, limiting its access, +555/// based on the provided function. +556/// +557/// Any refused connection will be closed with an error code of `0` and reason `not allowed`. +558#[derive(derive_more::Debug, Clone)] +559pub struct AccessLimit<P: ProtocolHandler + Clone> { +560 proto: P, +561 #[debug("limiter")] +562 limiter: Arc<dyn Fn(EndpointId) -> bool + Send + Sync + 'static>, +563} +564 +565impl<P: ProtocolHandler + Clone> AccessLimit<P> { +566 /// Create a new `AccessLimit`. +567 /// +568 /// The function should return `true` for endpoints that are allowed to +569 /// connect, and `false` otherwise. +570 pub fn new<F>(proto: P, limiter: F) -> Self +571 where +572 F: Fn(EndpointId) -> bool + Send + Sync + 'static, +573 { +574 Self { +575 proto, +576 limiter: Arc::new(limiter), +577 } +578 } +579} +580 +581impl<P: ProtocolHandler + Clone> ProtocolHandler for AccessLimit<P> { +582 fn on_accepting( +583 &self, +584 accepting: Accepting, +585 ) -> impl Future<Output = Result<Connection, AcceptError>> + Send { +586 self.proto.on_accepting(accepting) +587 } +588 +589 async fn accept(&self, conn: Connection) -> Result<(), AcceptError> { +590 let remote = conn.remote_id(); +591 let is_allowed = (self.limiter)(remote); +592 if !is_allowed { +593 conn.close(0u32.into(), b"not allowed"); +594 return Err(e!(AcceptError::NotAllowed)); +595 } +596 self.proto.accept(conn).await?; +597 Ok(()) +598 } +599 +600 fn shutdown(&self) -> impl Future<Output = ()> + Send { +601 self.proto.shutdown() +602 } +603} +604 +605#[cfg(test)] +606mod tests { +607 use std::{sync::Mutex, time::Duration}; +608 +609 use n0_error::{Result, StdResultExt}; 610 611 use super::*; 612 use crate::{ 613 RelayMode, 614 endpoint::{ -615 BeforeConnectOutcome, ConnectError, ConnectWithOptsError, ConnectionError, -616 EndpointHooks, +615 ApplicationClose, BeforeConnectOutcome, ConnectError, ConnectWithOptsError, +616 ConnectionError, EndpointHooks, 617 }, 618 }; 619 diff --git a/pr/3734/docs/src/iroh/test_utils.rs.html b/pr/3734/docs/src/iroh/test_utils.rs.html index 368160a0d9..a1b39142cb 100644 --- a/pr/3734/docs/src/iroh/test_utils.rs.html +++ b/pr/3734/docs/src/iroh/test_utils.rs.html @@ -1,534 +1,537 @@ test_utils.rs - source

    iroh/
    test_utils.rs

    1//! Internal utilities to support testing.
     2use std::net::Ipv4Addr;
     3
    -4pub use dns_and_pkarr_servers::DnsPkarrServer;
    -5use iroh_base::RelayUrl;
    -6use iroh_relay::{
    -7    RelayConfig, RelayMap, RelayQuicConfig,
    -8    server::{
    -9        AccessConfig, CertConfig, QuicConfig, RelayConfig as RelayServerConfig, Server,
    -10        ServerConfig, SpawnError, TlsConfig,
    -11    },
    -12};
    -13use tokio::sync::oneshot;
    -14
    -15/// A drop guard to clean up test infrastructure.
    -16///
    -17/// After dropping the test infrastructure will asynchronously shutdown and release its
    -18/// resources.
    -19// Nightly sees the sender as dead code currently, but we only rely on Drop of the
    -20// sender.
    -21#[derive(Debug)]
    -22#[allow(dead_code)]
    -23pub struct CleanupDropGuard(pub(crate) oneshot::Sender<()>);
    -24
    -25/// Runs a relay server with QUIC enabled suitable for tests.
    -26///
    -27/// The returned `Url` is the url of the relay server in the returned [`RelayMap`].
    -28/// When dropped, the returned [`Server`] does will stop running.
    -29pub async fn run_relay_server() -> Result<(RelayMap, RelayUrl, Server), SpawnError> {
    -30    run_relay_server_with(true).await
    -31}
    -32
    -33/// Runs a relay server.
    -34///
    -35/// If `quic` is set to `true`, it will make the appropriate [`QuicConfig`] from the generated tls certificates and run the quic server at a random free port.
    -36///
    +4use iroh_base::RelayUrl;
    +5use iroh_relay::{
    +6    RelayConfig, RelayMap, RelayQuicConfig,
    +7    server::{
    +8        AccessConfig, CertConfig, QuicConfig, RelayConfig as RelayServerConfig, Server,
    +9        ServerConfig, SpawnError, TlsConfig,
    +10    },
    +11};
    +12use tokio::sync::oneshot;
    +13
    +14pub use self::{dns_and_pkarr_servers::DnsPkarrServer, qlog::QlogFileGroup};
    +15
    +16mod qlog;
    +17
    +18/// A drop guard to clean up test infrastructure.
    +19///
    +20/// After dropping the test infrastructure will asynchronously shutdown and release its
    +21/// resources.
    +22// Nightly sees the sender as dead code currently, but we only rely on Drop of the
    +23// sender.
    +24#[derive(Debug)]
    +25#[allow(dead_code)]
    +26pub struct CleanupDropGuard(pub(crate) oneshot::Sender<()>);
    +27
    +28/// Runs a relay server with QUIC enabled suitable for tests.
    +29///
    +30/// The returned `Url` is the url of the relay server in the returned [`RelayMap`].
    +31/// When dropped, the returned [`Server`] does will stop running.
    +32pub async fn run_relay_server() -> Result<(RelayMap, RelayUrl, Server), SpawnError> {
    +33    run_relay_server_with(true).await
    +34}
    +35
    +36/// Runs a relay server.
     37///
    -38/// The return value is similar to [`run_relay_server`].
    -39pub async fn run_relay_server_with(quic: bool) -> Result<(RelayMap, RelayUrl, Server), SpawnError> {
    -40    let (certs, server_config) = iroh_relay::server::testing::self_signed_tls_certs_and_config();
    -41
    -42    let tls = TlsConfig {
    -43        cert: CertConfig::<(), ()>::Manual { certs },
    -44        https_bind_addr: (Ipv4Addr::LOCALHOST, 0).into(),
    -45        quic_bind_addr: (Ipv4Addr::LOCALHOST, 0).into(),
    -46        server_config,
    -47    };
    -48    let quic = if quic {
    -49        Some(QuicConfig {
    -50            server_config: tls.server_config.clone(),
    -51            bind_addr: tls.quic_bind_addr,
    -52        })
    -53    } else {
    -54        None
    -55    };
    -56    let config = ServerConfig {
    -57        relay: Some(RelayServerConfig {
    -58            http_bind_addr: (Ipv4Addr::LOCALHOST, 0).into(),
    -59            tls: Some(tls),
    -60            limits: Default::default(),
    -61            key_cache_capacity: Some(1024),
    -62            access: AccessConfig::Everyone,
    -63        }),
    -64        quic,
    -65        ..Default::default()
    -66    };
    -67    let server = Server::spawn(config).await?;
    -68    let url: RelayUrl = format!("https://{}", server.https_addr().expect("configured"))
    -69        .parse()
    -70        .expect("invalid relay url");
    -71
    -72    let quic = server
    -73        .quic_addr()
    -74        .map(|addr| RelayQuicConfig { port: addr.port() });
    -75    let n: RelayMap = RelayConfig {
    -76        url: url.clone(),
    -77        quic,
    -78    }
    -79    .into();
    -80    Ok((n, url, server))
    -81}
    -82
    -83pub(crate) mod dns_and_pkarr_servers {
    -84    use std::{net::SocketAddr, time::Duration};
    +38/// If `quic` is set to `true`, it will make the appropriate [`QuicConfig`] from the generated tls certificates and run the quic server at a random free port.
    +39///
    +40///
    +41/// The return value is similar to [`run_relay_server`].
    +42pub async fn run_relay_server_with(quic: bool) -> Result<(RelayMap, RelayUrl, Server), SpawnError> {
    +43    let (certs, server_config) = iroh_relay::server::testing::self_signed_tls_certs_and_config();
    +44
    +45    let tls = TlsConfig {
    +46        cert: CertConfig::<(), ()>::Manual { certs },
    +47        https_bind_addr: (Ipv4Addr::LOCALHOST, 0).into(),
    +48        quic_bind_addr: (Ipv4Addr::LOCALHOST, 0).into(),
    +49        server_config,
    +50    };
    +51    let quic = if quic {
    +52        Some(QuicConfig {
    +53            server_config: tls.server_config.clone(),
    +54            bind_addr: tls.quic_bind_addr,
    +55        })
    +56    } else {
    +57        None
    +58    };
    +59    let config = ServerConfig {
    +60        relay: Some(RelayServerConfig {
    +61            http_bind_addr: (Ipv4Addr::LOCALHOST, 0).into(),
    +62            tls: Some(tls),
    +63            limits: Default::default(),
    +64            key_cache_capacity: Some(1024),
    +65            access: AccessConfig::Everyone,
    +66        }),
    +67        quic,
    +68        ..Default::default()
    +69    };
    +70    let server = Server::spawn(config).await?;
    +71    let url: RelayUrl = format!("https://{}", server.https_addr().expect("configured"))
    +72        .parse()
    +73        .expect("invalid relay url");
    +74
    +75    let quic = server
    +76        .quic_addr()
    +77        .map(|addr| RelayQuicConfig { port: addr.port() });
    +78    let n: RelayMap = RelayConfig {
    +79        url: url.clone(),
    +80        quic,
    +81    }
    +82    .into();
    +83    Ok((n, url, server))
    +84}
     85
    -86    use iroh_base::{EndpointId, SecretKey};
    -87    use url::Url;
    +86pub(crate) mod dns_and_pkarr_servers {
    +87    use std::{net::SocketAddr, time::Duration};
     88
    -89    use super::CleanupDropGuard;
    -90    use crate::{
    -91        discovery::{ConcurrentDiscovery, dns::DnsDiscovery, pkarr::PkarrPublisher},
    -92        dns::DnsResolver,
    -93        test_utils::{
    -94            dns_server::run_dns_server, pkarr_dns_state::State, pkarr_relay::run_pkarr_relay,
    -95        },
    -96    };
    -97
    -98    /// Handle and drop guard for test DNS and Pkarr servers.
    -99    ///
    -100    /// Once the struct is dropped the servers will shut down.
    -101    #[derive(Debug)]
    -102    pub struct DnsPkarrServer {
    -103        /// The endpoint origin domain.
    -104        pub endpoint_origin: String,
    -105        /// The shared state of the DNS and Pkarr servers.
    -106        state: State,
    -107        /// The socket address of the DNS server.
    -108        pub nameserver: SocketAddr,
    -109        /// The HTTP URL of the Pkarr server.
    -110        pub pkarr_url: Url,
    -111        _dns_drop_guard: CleanupDropGuard,
    -112        _pkarr_drop_guard: CleanupDropGuard,
    -113    }
    -114
    -115    impl DnsPkarrServer {
    -116        /// Run DNS and Pkarr servers on localhost.
    -117        pub async fn run() -> std::io::Result<Self> {
    -118            Self::run_with_origin("dns.iroh.test".to_string()).await
    -119        }
    -120
    -121        /// Run DNS and Pkarr servers on localhost with the specified `endpoint_origin` domain.
    -122        pub async fn run_with_origin(endpoint_origin: String) -> std::io::Result<Self> {
    -123            let state = State::new(endpoint_origin.clone());
    -124            let (nameserver, dns_drop_guard) = run_dns_server(state.clone()).await?;
    -125            let (pkarr_url, pkarr_drop_guard) = run_pkarr_relay(state.clone()).await?;
    -126            Ok(Self {
    -127                endpoint_origin,
    -128                nameserver,
    -129                pkarr_url,
    -130                state,
    -131                _dns_drop_guard: dns_drop_guard,
    -132                _pkarr_drop_guard: pkarr_drop_guard,
    -133            })
    -134        }
    -135
    -136        /// Create a [`ConcurrentDiscovery`] with [`DnsDiscovery`] and [`PkarrPublisher`]
    -137        /// configured to use the test servers.
    -138        pub fn discovery(&self, secret_key: SecretKey) -> ConcurrentDiscovery {
    -139            ConcurrentDiscovery::from_services(vec![
    -140                // Enable DNS discovery by default
    -141                Box::new(
    -142                    DnsDiscovery::builder(self.endpoint_origin.clone())
    -143                        .dns_resolver(self.dns_resolver())
    -144                        .build(),
    -145                ),
    -146                // Enable pkarr publishing by default
    -147                Box::new(PkarrPublisher::builder(self.pkarr_url.clone()).build(secret_key)),
    -148            ])
    -149        }
    -150
    -151        /// Create a [`DnsResolver`] configured to use the test DNS server.
    -152        pub fn dns_resolver(&self) -> DnsResolver {
    -153            DnsResolver::with_nameserver(self.nameserver)
    -154        }
    -155
    -156        /// Wait until a Pkarr announce for an endpoint is published to the server.
    -157        ///
    -158        /// If `timeout` elapses an error is returned.
    -159        pub async fn on_endpoint(
    -160            &self,
    -161            endpoint_id: &EndpointId,
    -162            timeout: Duration,
    -163        ) -> std::io::Result<()> {
    -164            self.state.on_endpoint(endpoint_id, timeout).await
    -165        }
    -166    }
    -167}
    -168
    -169pub(crate) mod dns_server {
    -170    use std::{
    -171        future::Future,
    -172        net::{Ipv4Addr, SocketAddr},
    -173    };
    -174
    -175    use hickory_resolver::proto::{
    -176        op::{Message, header::MessageType},
    -177        serialize::binary::BinDecodable,
    -178    };
    -179    use n0_future::future::Boxed as BoxFuture;
    -180    use tokio::{net::UdpSocket, sync::oneshot};
    -181    use tracing::{debug, error, warn};
    -182
    -183    use super::CleanupDropGuard;
    -184
    -185    /// Trait used by [`run_dns_server`] for answering DNS queries.
    -186    pub trait QueryHandler: Send + Sync + 'static {
    -187        fn resolve(
    -188            &self,
    -189            query: &Message,
    -190            reply: &mut Message,
    -191        ) -> impl Future<Output = std::io::Result<()>> + Send;
    -192    }
    -193
    -194    pub type QueryHandlerFunction = Box<
    -195        dyn Fn(&Message, &mut Message) -> BoxFuture<std::io::Result<()>> + Send + Sync + 'static,
    -196    >;
    -197
    -198    impl QueryHandler for QueryHandlerFunction {
    -199        fn resolve(
    -200            &self,
    -201            query: &Message,
    -202            reply: &mut Message,
    -203        ) -> impl Future<Output = std::io::Result<()>> + Send {
    -204            (self)(query, reply)
    -205        }
    -206    }
    -207
    -208    /// Run a DNS server.
    -209    ///
    -210    /// Must pass a [`QueryHandler`] that answers queries.
    -211    pub async fn run_dns_server(
    -212        resolver: impl QueryHandler,
    -213    ) -> std::io::Result<(SocketAddr, CleanupDropGuard)> {
    -214        let bind_addr = SocketAddr::from((Ipv4Addr::LOCALHOST, 0));
    -215        let socket = UdpSocket::bind(bind_addr).await?;
    -216        let bound_addr = socket.local_addr()?;
    -217        let s = TestDnsServer { socket, resolver };
    -218        let (tx, mut rx) = oneshot::channel();
    -219        tokio::task::spawn(async move {
    -220            tokio::select! {
    -221                _ = &mut rx => {
    -222                    debug!("shutting down dns server");
    -223                }
    -224                res = s.run() => {
    -225                    if let Err(e) = res {
    -226                        error!("error running dns server {e:?}");
    -227                    }
    -228                }
    -229            }
    -230        });
    -231        Ok((bound_addr, CleanupDropGuard(tx)))
    -232    }
    -233
    -234    struct TestDnsServer<R> {
    -235        resolver: R,
    -236        socket: UdpSocket,
    -237    }
    -238
    -239    impl<R: QueryHandler> TestDnsServer<R> {
    -240        async fn run(self) -> std::io::Result<()> {
    -241            let mut buf = [0; 1450];
    -242            loop {
    -243                let res = self.socket.recv_from(&mut buf).await;
    -244                let (len, from) = res?;
    -245                if let Err(err) = self.handle_datagram(from, &buf[..len]).await {
    -246                    warn!(?err, %from, "failed to handle incoming datagram");
    -247                }
    -248            }
    -249        }
    -250
    -251        async fn handle_datagram(&self, from: SocketAddr, buf: &[u8]) -> std::io::Result<()> {
    -252            let packet = Message::from_bytes(buf)?;
    -253            debug!(queries = ?packet.queries(), %from, "received query");
    -254            let mut reply = packet.clone();
    -255            reply.set_message_type(MessageType::Response);
    -256            self.resolver.resolve(&packet, &mut reply).await?;
    -257            debug!(?reply, %from, "send reply");
    -258            let buf = reply.to_vec()?;
    -259            let len = self.socket.send_to(&buf, from).await?;
    -260            assert_eq!(len, buf.len(), "failed to send complete packet");
    -261            Ok(())
    -262        }
    -263    }
    -264}
    -265
    -266pub(crate) mod pkarr_relay {
    -267    use std::{
    -268        future::IntoFuture,
    -269        net::{Ipv4Addr, SocketAddr},
    -270    };
    -271
    -272    use axum::{
    -273        Router,
    -274        extract::{Path, State},
    -275        response::IntoResponse,
    -276        routing::put,
    -277    };
    -278    use bytes::Bytes;
    -279    use tokio::sync::oneshot;
    -280    use tracing::{debug, error, warn};
    -281    use url::Url;
    -282
    -283    use super::CleanupDropGuard;
    -284    use crate::test_utils::pkarr_dns_state::State as AppState;
    +89    use iroh_base::{EndpointId, SecretKey};
    +90    use url::Url;
    +91
    +92    use super::CleanupDropGuard;
    +93    use crate::{
    +94        discovery::{ConcurrentDiscovery, dns::DnsDiscovery, pkarr::PkarrPublisher},
    +95        dns::DnsResolver,
    +96        test_utils::{
    +97            dns_server::run_dns_server, pkarr_dns_state::State, pkarr_relay::run_pkarr_relay,
    +98        },
    +99    };
    +100
    +101    /// Handle and drop guard for test DNS and Pkarr servers.
    +102    ///
    +103    /// Once the struct is dropped the servers will shut down.
    +104    #[derive(Debug)]
    +105    pub struct DnsPkarrServer {
    +106        /// The endpoint origin domain.
    +107        pub endpoint_origin: String,
    +108        /// The shared state of the DNS and Pkarr servers.
    +109        state: State,
    +110        /// The socket address of the DNS server.
    +111        pub nameserver: SocketAddr,
    +112        /// The HTTP URL of the Pkarr server.
    +113        pub pkarr_url: Url,
    +114        _dns_drop_guard: CleanupDropGuard,
    +115        _pkarr_drop_guard: CleanupDropGuard,
    +116    }
    +117
    +118    impl DnsPkarrServer {
    +119        /// Run DNS and Pkarr servers on localhost.
    +120        pub async fn run() -> std::io::Result<Self> {
    +121            Self::run_with_origin("dns.iroh.test".to_string()).await
    +122        }
    +123
    +124        /// Run DNS and Pkarr servers on localhost with the specified `endpoint_origin` domain.
    +125        pub async fn run_with_origin(endpoint_origin: String) -> std::io::Result<Self> {
    +126            let state = State::new(endpoint_origin.clone());
    +127            let (nameserver, dns_drop_guard) = run_dns_server(state.clone()).await?;
    +128            let (pkarr_url, pkarr_drop_guard) = run_pkarr_relay(state.clone()).await?;
    +129            Ok(Self {
    +130                endpoint_origin,
    +131                nameserver,
    +132                pkarr_url,
    +133                state,
    +134                _dns_drop_guard: dns_drop_guard,
    +135                _pkarr_drop_guard: pkarr_drop_guard,
    +136            })
    +137        }
    +138
    +139        /// Create a [`ConcurrentDiscovery`] with [`DnsDiscovery`] and [`PkarrPublisher`]
    +140        /// configured to use the test servers.
    +141        pub fn discovery(&self, secret_key: SecretKey) -> ConcurrentDiscovery {
    +142            ConcurrentDiscovery::from_services(vec![
    +143                // Enable DNS discovery by default
    +144                Box::new(
    +145                    DnsDiscovery::builder(self.endpoint_origin.clone())
    +146                        .dns_resolver(self.dns_resolver())
    +147                        .build(),
    +148                ),
    +149                // Enable pkarr publishing by default
    +150                Box::new(PkarrPublisher::builder(self.pkarr_url.clone()).build(secret_key)),
    +151            ])
    +152        }
    +153
    +154        /// Create a [`DnsResolver`] configured to use the test DNS server.
    +155        pub fn dns_resolver(&self) -> DnsResolver {
    +156            DnsResolver::with_nameserver(self.nameserver)
    +157        }
    +158
    +159        /// Wait until a Pkarr announce for an endpoint is published to the server.
    +160        ///
    +161        /// If `timeout` elapses an error is returned.
    +162        pub async fn on_endpoint(
    +163            &self,
    +164            endpoint_id: &EndpointId,
    +165            timeout: Duration,
    +166        ) -> std::io::Result<()> {
    +167            self.state.on_endpoint(endpoint_id, timeout).await
    +168        }
    +169    }
    +170}
    +171
    +172pub(crate) mod dns_server {
    +173    use std::{
    +174        future::Future,
    +175        net::{Ipv4Addr, SocketAddr},
    +176    };
    +177
    +178    use hickory_resolver::proto::{
    +179        op::{Message, header::MessageType},
    +180        serialize::binary::BinDecodable,
    +181    };
    +182    use n0_future::future::Boxed as BoxFuture;
    +183    use tokio::{net::UdpSocket, sync::oneshot};
    +184    use tracing::{debug, error, warn};
    +185
    +186    use super::CleanupDropGuard;
    +187
    +188    /// Trait used by [`run_dns_server`] for answering DNS queries.
    +189    pub trait QueryHandler: Send + Sync + 'static {
    +190        fn resolve(
    +191            &self,
    +192            query: &Message,
    +193            reply: &mut Message,
    +194        ) -> impl Future<Output = std::io::Result<()>> + Send;
    +195    }
    +196
    +197    pub type QueryHandlerFunction = Box<
    +198        dyn Fn(&Message, &mut Message) -> BoxFuture<std::io::Result<()>> + Send + Sync + 'static,
    +199    >;
    +200
    +201    impl QueryHandler for QueryHandlerFunction {
    +202        fn resolve(
    +203            &self,
    +204            query: &Message,
    +205            reply: &mut Message,
    +206        ) -> impl Future<Output = std::io::Result<()>> + Send {
    +207            (self)(query, reply)
    +208        }
    +209    }
    +210
    +211    /// Run a DNS server.
    +212    ///
    +213    /// Must pass a [`QueryHandler`] that answers queries.
    +214    pub async fn run_dns_server(
    +215        resolver: impl QueryHandler,
    +216    ) -> std::io::Result<(SocketAddr, CleanupDropGuard)> {
    +217        let bind_addr = SocketAddr::from((Ipv4Addr::LOCALHOST, 0));
    +218        let socket = UdpSocket::bind(bind_addr).await?;
    +219        let bound_addr = socket.local_addr()?;
    +220        let s = TestDnsServer { socket, resolver };
    +221        let (tx, mut rx) = oneshot::channel();
    +222        tokio::task::spawn(async move {
    +223            tokio::select! {
    +224                _ = &mut rx => {
    +225                    debug!("shutting down dns server");
    +226                }
    +227                res = s.run() => {
    +228                    if let Err(e) = res {
    +229                        error!("error running dns server {e:?}");
    +230                    }
    +231                }
    +232            }
    +233        });
    +234        Ok((bound_addr, CleanupDropGuard(tx)))
    +235    }
    +236
    +237    struct TestDnsServer<R> {
    +238        resolver: R,
    +239        socket: UdpSocket,
    +240    }
    +241
    +242    impl<R: QueryHandler> TestDnsServer<R> {
    +243        async fn run(self) -> std::io::Result<()> {
    +244            let mut buf = [0; 1450];
    +245            loop {
    +246                let res = self.socket.recv_from(&mut buf).await;
    +247                let (len, from) = res?;
    +248                if let Err(err) = self.handle_datagram(from, &buf[..len]).await {
    +249                    warn!(?err, %from, "failed to handle incoming datagram");
    +250                }
    +251            }
    +252        }
    +253
    +254        async fn handle_datagram(&self, from: SocketAddr, buf: &[u8]) -> std::io::Result<()> {
    +255            let packet = Message::from_bytes(buf)?;
    +256            debug!(queries = ?packet.queries(), %from, "received query");
    +257            let mut reply = packet.clone();
    +258            reply.set_message_type(MessageType::Response);
    +259            self.resolver.resolve(&packet, &mut reply).await?;
    +260            debug!(?reply, %from, "send reply");
    +261            let buf = reply.to_vec()?;
    +262            let len = self.socket.send_to(&buf, from).await?;
    +263            assert_eq!(len, buf.len(), "failed to send complete packet");
    +264            Ok(())
    +265        }
    +266    }
    +267}
    +268
    +269pub(crate) mod pkarr_relay {
    +270    use std::{
    +271        future::IntoFuture,
    +272        net::{Ipv4Addr, SocketAddr},
    +273    };
    +274
    +275    use axum::{
    +276        Router,
    +277        extract::{Path, State},
    +278        response::IntoResponse,
    +279        routing::put,
    +280    };
    +281    use bytes::Bytes;
    +282    use tokio::sync::oneshot;
    +283    use tracing::{debug, error, warn};
    +284    use url::Url;
     285
    -286    pub async fn run_pkarr_relay(state: AppState) -> std::io::Result<(Url, CleanupDropGuard)> {
    -287        let bind_addr = SocketAddr::from((Ipv4Addr::LOCALHOST, 0));
    -288        let app = Router::new()
    -289            .route("/pkarr/{key}", put(pkarr_put))
    -290            .with_state(state);
    -291        let listener = tokio::net::TcpListener::bind(bind_addr).await?;
    -292        let bound_addr = listener.local_addr()?;
    -293        let url: Url = format!("http://{bound_addr}/pkarr")
    -294            .parse()
    -295            .expect("valid url");
    -296
    -297        let (tx, mut rx) = oneshot::channel();
    -298        tokio::spawn(async move {
    -299            let serve = axum::serve(listener, app);
    -300            tokio::select! {
    -301                _ = &mut rx => {
    -302                    debug!("shutting down pkarr server");
    -303                }
    -304                res = serve.into_future() => {
    -305                    if let Err(e) = res {
    -306                        error!("pkarr server error: {e:?}");
    -307                    }
    -308                }
    -309            }
    -310        });
    -311        Ok((url, CleanupDropGuard(tx)))
    -312    }
    -313
    -314    async fn pkarr_put(
    -315        State(state): State<AppState>,
    -316        Path(key): Path<String>,
    -317        body: Bytes,
    -318    ) -> Result<impl IntoResponse, AppError> {
    -319        let key = pkarr::PublicKey::try_from(key.as_str()).map_err(std::io::Error::other)?;
    -320        let signed_packet =
    -321            pkarr::SignedPacket::from_relay_payload(&key, &body).map_err(std::io::Error::other)?;
    -322        let _updated = state.upsert(signed_packet)?;
    -323        Ok(http::StatusCode::NO_CONTENT)
    -324    }
    -325
    -326    #[derive(Debug)]
    -327    struct AppError(std::io::Error);
    -328    impl<T: Into<std::io::Error>> From<T> for AppError {
    -329        fn from(value: T) -> Self {
    -330            Self(value.into())
    -331        }
    -332    }
    -333    impl IntoResponse for AppError {
    -334        fn into_response(self) -> axum::response::Response {
    -335            warn!(err = ?self, "request failed");
    -336            (http::StatusCode::INTERNAL_SERVER_ERROR, self.0.to_string()).into_response()
    -337        }
    -338    }
    -339}
    -340
    -341pub(crate) mod pkarr_dns_state {
    -342    use std::{
    -343        collections::{HashMap, hash_map},
    -344        future::Future,
    -345        sync::{Arc, Mutex},
    -346        time::Duration,
    -347    };
    -348
    -349    use iroh_base::EndpointId;
    -350    use iroh_relay::endpoint_info::{EndpointIdExt, EndpointInfo, IROH_TXT_NAME};
    -351    use pkarr::SignedPacket;
    -352    use tracing::debug;
    -353
    -354    use crate::test_utils::dns_server::QueryHandler;
    -355
    -356    #[derive(Debug, Clone)]
    -357    pub struct State {
    -358        packets: Arc<Mutex<HashMap<EndpointId, SignedPacket>>>,
    -359        origin: String,
    -360        notify: Arc<tokio::sync::Notify>,
    -361    }
    -362
    -363    impl State {
    -364        pub fn new(origin: String) -> Self {
    -365            Self {
    -366                packets: Default::default(),
    -367                origin,
    -368                notify: Arc::new(tokio::sync::Notify::new()),
    -369            }
    -370        }
    -371
    -372        pub fn on_update(&self) -> tokio::sync::futures::Notified<'_> {
    -373            self.notify.notified()
    -374        }
    -375
    -376        pub async fn on_endpoint(
    -377            &self,
    -378            endpoint: &EndpointId,
    -379            timeout: Duration,
    -380        ) -> std::io::Result<()> {
    -381            let timeout = tokio::time::sleep(timeout);
    -382            tokio::pin!(timeout);
    -383            while self.get(endpoint, |p| {
    -384                let endpoint_info = p
    -385                    .as_ref()
    -386                    .and_then(|p| EndpointInfo::from_pkarr_signed_packet(p).ok());
    -387                debug!("got info {:#?}", endpoint_info);
    -388                p.is_none()
    -389            }) {
    -390                tokio::select! {
    -391                    _ = &mut timeout => return Err(std::io::Error::other("timeout")),
    -392                    _ = self.on_update() => {}
    -393                }
    -394            }
    -395            Ok(())
    -396        }
    -397
    -398        pub fn upsert(&self, signed_packet: SignedPacket) -> std::io::Result<bool> {
    -399            let endpoint_id = EndpointId::from_bytes(&signed_packet.public_key().to_bytes())
    -400                .map_err(std::io::Error::other)?;
    -401            let mut map = self.packets.lock().expect("poisoned");
    -402            let updated = match map.entry(endpoint_id) {
    -403                hash_map::Entry::Vacant(e) => {
    -404                    e.insert(signed_packet);
    -405                    true
    -406                }
    -407                hash_map::Entry::Occupied(mut e) => {
    -408                    if signed_packet.more_recent_than(e.get()) {
    -409                        e.insert(signed_packet);
    -410                        true
    -411                    } else {
    -412                        false
    -413                    }
    -414                }
    -415            };
    -416            if updated {
    -417                self.notify.notify_waiters();
    -418            }
    -419            Ok(updated)
    -420        }
    -421
    -422        /// Returns a mutex guard, do not hold over await points
    -423        pub fn get<F, T>(&self, endpoint_id: &EndpointId, cb: F) -> T
    -424        where
    -425            F: FnOnce(Option<&mut SignedPacket>) -> T,
    -426        {
    -427            let mut map = self.packets.lock().expect("poisoned");
    -428            let packet = map.get_mut(endpoint_id);
    -429            cb(packet)
    -430        }
    -431
    -432        pub fn resolve_dns(
    -433            &self,
    -434            query: &hickory_resolver::proto::op::Message,
    -435            reply: &mut hickory_resolver::proto::op::Message,
    -436            ttl: u32,
    -437        ) -> std::io::Result<()> {
    -438            for query in query.queries() {
    -439                let domain_name = query.name().to_string();
    -440                let Some(endpoint_id) = endpoint_id_from_domain_name(&domain_name) else {
    -441                    continue;
    -442                };
    -443
    -444                self.get(&endpoint_id, |packet| {
    -445                    if let Some(packet) = packet {
    -446                        let endpoint_info = EndpointInfo::from_pkarr_signed_packet(packet)
    -447                            .map_err(std::io::Error::other)?;
    -448                        for record in
    -449                            endpoint_info_to_hickory_records(&endpoint_info, &self.origin, ttl)
    -450                        {
    -451                            reply.add_answer(record);
    -452                        }
    -453                    }
    -454                    Ok::<_, std::io::Error>(())
    -455                })?;
    -456            }
    -457            Ok(())
    -458        }
    -459    }
    -460
    -461    impl QueryHandler for State {
    -462        fn resolve(
    -463            &self,
    -464            query: &hickory_resolver::proto::op::Message,
    -465            reply: &mut hickory_resolver::proto::op::Message,
    -466        ) -> impl Future<Output = std::io::Result<()>> + Send {
    -467            const TTL: u32 = 30;
    -468            let res = self.resolve_dns(query, reply, TTL);
    -469            std::future::ready(res)
    -470        }
    -471    }
    -472
    -473    /// Parses a [`EndpointId`] from a DNS domain name.
    -474    ///
    -475    /// Splits the domain name into labels on each dot. Expects the first label to be
    -476    /// [`IROH_TXT_NAME`] and the second label to be a z32 encoded [`EndpointId`]. Ignores
    -477    /// subsequent labels.
    -478    ///
    -479    /// Returns a [`EndpointId`] if parsed successfully, otherwise `None`.
    -480    fn endpoint_id_from_domain_name(name: &str) -> Option<EndpointId> {
    -481        let mut labels = name.split(".");
    -482        let label = labels.next()?;
    -483        if label != IROH_TXT_NAME {
    -484            return None;
    -485        }
    -486        let label = labels.next()?;
    -487        let endpoint_id = EndpointId::from_z32(label).ok()?;
    -488        Some(endpoint_id)
    -489    }
    -490
    -491    /// Converts a [`EndpointInfo`]into a [`hickory_resolver::proto::rr::Record`] DNS record.
    -492    fn endpoint_info_to_hickory_records(
    -493        endpoint_info: &EndpointInfo,
    -494        origin: &str,
    -495        ttl: u32,
    -496    ) -> impl Iterator<Item = hickory_resolver::proto::rr::Record> + 'static {
    -497        let txt_strings = endpoint_info.to_txt_strings();
    -498        let records = to_hickory_records(txt_strings, endpoint_info.endpoint_id, origin, ttl);
    -499        records.collect::<Vec<_>>().into_iter()
    -500    }
    -501
    -502    /// Converts to a list of [`hickory_resolver::proto::rr::Record`] resource records.
    -503    fn to_hickory_records(
    -504        txt_strings: Vec<String>,
    -505        endpoint_id: EndpointId,
    -506        origin: &str,
    -507        ttl: u32,
    -508    ) -> impl Iterator<Item = hickory_resolver::proto::rr::Record> + '_ {
    -509        use hickory_resolver::proto::rr;
    -510        let name = format!("{IROH_TXT_NAME}.{}.{origin}", endpoint_id.to_z32());
    -511        let name = rr::Name::from_utf8(name).expect("invalid name");
    -512        txt_strings.into_iter().map(move |s| {
    -513            let txt = rr::rdata::TXT::new(vec![s]);
    -514            let rdata = rr::RData::TXT(txt);
    -515            rr::Record::from_rdata(name.clone(), ttl, rdata)
    -516        })
    -517    }
    -518
    -519    #[cfg(test)]
    -520    mod tests {
    -521        use iroh_base::EndpointId;
    -522        use n0_error::Result;
    -523
    -524        #[test]
    -525        fn test_endpoint_id_from_domain_name() -> Result {
    -526            let name = "_iroh.dgjpkxyn3zyrk3zfads5duwdgbqpkwbjxfj4yt7rezidr3fijccy.dns.iroh.link.";
    -527            let endpoint_id = super::endpoint_id_from_domain_name(name);
    -528            let expected: EndpointId =
    -529                "1992d53c02cdc04566e5c0edb1ce83305cd550297953a047a445ea3264b54b18".parse()?;
    -530            assert_eq!(endpoint_id, Some(expected));
    -531            Ok(())
    -532        }
    -533    }
    -534}
    \ No newline at end of file +286 use super::CleanupDropGuard; +287 use crate::test_utils::pkarr_dns_state::State as AppState; +288 +289 pub async fn run_pkarr_relay(state: AppState) -> std::io::Result<(Url, CleanupDropGuard)> { +290 let bind_addr = SocketAddr::from((Ipv4Addr::LOCALHOST, 0)); +291 let app = Router::new() +292 .route("/pkarr/{key}", put(pkarr_put)) +293 .with_state(state); +294 let listener = tokio::net::TcpListener::bind(bind_addr).await?; +295 let bound_addr = listener.local_addr()?; +296 let url: Url = format!("http://{bound_addr}/pkarr") +297 .parse() +298 .expect("valid url"); +299 +300 let (tx, mut rx) = oneshot::channel(); +301 tokio::spawn(async move { +302 let serve = axum::serve(listener, app); +303 tokio::select! { +304 _ = &mut rx => { +305 debug!("shutting down pkarr server"); +306 } +307 res = serve.into_future() => { +308 if let Err(e) = res { +309 error!("pkarr server error: {e:?}"); +310 } +311 } +312 } +313 }); +314 Ok((url, CleanupDropGuard(tx))) +315 } +316 +317 async fn pkarr_put( +318 State(state): State<AppState>, +319 Path(key): Path<String>, +320 body: Bytes, +321 ) -> Result<impl IntoResponse, AppError> { +322 let key = pkarr::PublicKey::try_from(key.as_str()).map_err(std::io::Error::other)?; +323 let signed_packet = +324 pkarr::SignedPacket::from_relay_payload(&key, &body).map_err(std::io::Error::other)?; +325 let _updated = state.upsert(signed_packet)?; +326 Ok(http::StatusCode::NO_CONTENT) +327 } +328 +329 #[derive(Debug)] +330 struct AppError(std::io::Error); +331 impl<T: Into<std::io::Error>> From<T> for AppError { +332 fn from(value: T) -> Self { +333 Self(value.into()) +334 } +335 } +336 impl IntoResponse for AppError { +337 fn into_response(self) -> axum::response::Response { +338 warn!(err = ?self, "request failed"); +339 (http::StatusCode::INTERNAL_SERVER_ERROR, self.0.to_string()).into_response() +340 } +341 } +342} +343 +344pub(crate) mod pkarr_dns_state { +345 use std::{ +346 collections::{HashMap, hash_map}, +347 future::Future, +348 sync::{Arc, Mutex}, +349 time::Duration, +350 }; +351 +352 use iroh_base::EndpointId; +353 use iroh_relay::endpoint_info::{EndpointIdExt, EndpointInfo, IROH_TXT_NAME}; +354 use pkarr::SignedPacket; +355 use tracing::debug; +356 +357 use crate::test_utils::dns_server::QueryHandler; +358 +359 #[derive(Debug, Clone)] +360 pub struct State { +361 packets: Arc<Mutex<HashMap<EndpointId, SignedPacket>>>, +362 origin: String, +363 notify: Arc<tokio::sync::Notify>, +364 } +365 +366 impl State { +367 pub fn new(origin: String) -> Self { +368 Self { +369 packets: Default::default(), +370 origin, +371 notify: Arc::new(tokio::sync::Notify::new()), +372 } +373 } +374 +375 pub fn on_update(&self) -> tokio::sync::futures::Notified<'_> { +376 self.notify.notified() +377 } +378 +379 pub async fn on_endpoint( +380 &self, +381 endpoint: &EndpointId, +382 timeout: Duration, +383 ) -> std::io::Result<()> { +384 let timeout = tokio::time::sleep(timeout); +385 tokio::pin!(timeout); +386 while self.get(endpoint, |p| { +387 let endpoint_info = p +388 .as_ref() +389 .and_then(|p| EndpointInfo::from_pkarr_signed_packet(p).ok()); +390 debug!("got info {:#?}", endpoint_info); +391 p.is_none() +392 }) { +393 tokio::select! { +394 _ = &mut timeout => return Err(std::io::Error::other("timeout")), +395 _ = self.on_update() => {} +396 } +397 } +398 Ok(()) +399 } +400 +401 pub fn upsert(&self, signed_packet: SignedPacket) -> std::io::Result<bool> { +402 let endpoint_id = EndpointId::from_bytes(&signed_packet.public_key().to_bytes()) +403 .map_err(std::io::Error::other)?; +404 let mut map = self.packets.lock().expect("poisoned"); +405 let updated = match map.entry(endpoint_id) { +406 hash_map::Entry::Vacant(e) => { +407 e.insert(signed_packet); +408 true +409 } +410 hash_map::Entry::Occupied(mut e) => { +411 if signed_packet.more_recent_than(e.get()) { +412 e.insert(signed_packet); +413 true +414 } else { +415 false +416 } +417 } +418 }; +419 if updated { +420 self.notify.notify_waiters(); +421 } +422 Ok(updated) +423 } +424 +425 /// Returns a mutex guard, do not hold over await points +426 pub fn get<F, T>(&self, endpoint_id: &EndpointId, cb: F) -> T +427 where +428 F: FnOnce(Option<&mut SignedPacket>) -> T, +429 { +430 let mut map = self.packets.lock().expect("poisoned"); +431 let packet = map.get_mut(endpoint_id); +432 cb(packet) +433 } +434 +435 pub fn resolve_dns( +436 &self, +437 query: &hickory_resolver::proto::op::Message, +438 reply: &mut hickory_resolver::proto::op::Message, +439 ttl: u32, +440 ) -> std::io::Result<()> { +441 for query in query.queries() { +442 let domain_name = query.name().to_string(); +443 let Some(endpoint_id) = endpoint_id_from_domain_name(&domain_name) else { +444 continue; +445 }; +446 +447 self.get(&endpoint_id, |packet| { +448 if let Some(packet) = packet { +449 let endpoint_info = EndpointInfo::from_pkarr_signed_packet(packet) +450 .map_err(std::io::Error::other)?; +451 for record in +452 endpoint_info_to_hickory_records(&endpoint_info, &self.origin, ttl) +453 { +454 reply.add_answer(record); +455 } +456 } +457 Ok::<_, std::io::Error>(()) +458 })?; +459 } +460 Ok(()) +461 } +462 } +463 +464 impl QueryHandler for State { +465 fn resolve( +466 &self, +467 query: &hickory_resolver::proto::op::Message, +468 reply: &mut hickory_resolver::proto::op::Message, +469 ) -> impl Future<Output = std::io::Result<()>> + Send { +470 const TTL: u32 = 30; +471 let res = self.resolve_dns(query, reply, TTL); +472 std::future::ready(res) +473 } +474 } +475 +476 /// Parses a [`EndpointId`] from a DNS domain name. +477 /// +478 /// Splits the domain name into labels on each dot. Expects the first label to be +479 /// [`IROH_TXT_NAME`] and the second label to be a z32 encoded [`EndpointId`]. Ignores +480 /// subsequent labels. +481 /// +482 /// Returns a [`EndpointId`] if parsed successfully, otherwise `None`. +483 fn endpoint_id_from_domain_name(name: &str) -> Option<EndpointId> { +484 let mut labels = name.split("."); +485 let label = labels.next()?; +486 if label != IROH_TXT_NAME { +487 return None; +488 } +489 let label = labels.next()?; +490 let endpoint_id = EndpointId::from_z32(label).ok()?; +491 Some(endpoint_id) +492 } +493 +494 /// Converts a [`EndpointInfo`]into a [`hickory_resolver::proto::rr::Record`] DNS record. +495 fn endpoint_info_to_hickory_records( +496 endpoint_info: &EndpointInfo, +497 origin: &str, +498 ttl: u32, +499 ) -> impl Iterator<Item = hickory_resolver::proto::rr::Record> + 'static { +500 let txt_strings = endpoint_info.to_txt_strings(); +501 let records = to_hickory_records(txt_strings, endpoint_info.endpoint_id, origin, ttl); +502 records.collect::<Vec<_>>().into_iter() +503 } +504 +505 /// Converts to a list of [`hickory_resolver::proto::rr::Record`] resource records. +506 fn to_hickory_records( +507 txt_strings: Vec<String>, +508 endpoint_id: EndpointId, +509 origin: &str, +510 ttl: u32, +511 ) -> impl Iterator<Item = hickory_resolver::proto::rr::Record> + '_ { +512 use hickory_resolver::proto::rr; +513 let name = format!("{IROH_TXT_NAME}.{}.{origin}", endpoint_id.to_z32()); +514 let name = rr::Name::from_utf8(name).expect("invalid name"); +515 txt_strings.into_iter().map(move |s| { +516 let txt = rr::rdata::TXT::new(vec![s]); +517 let rdata = rr::RData::TXT(txt); +518 rr::Record::from_rdata(name.clone(), ttl, rdata) +519 }) +520 } +521 +522 #[cfg(test)] +523 mod tests { +524 use iroh_base::EndpointId; +525 use n0_error::Result; +526 +527 #[test] +528 fn test_endpoint_id_from_domain_name() -> Result { +529 let name = "_iroh.dgjpkxyn3zyrk3zfads5duwdgbqpkwbjxfj4yt7rezidr3fijccy.dns.iroh.link."; +530 let endpoint_id = super::endpoint_id_from_domain_name(name); +531 let expected: EndpointId = +532 "1992d53c02cdc04566e5c0edb1ce83305cd550297953a047a445ea3264b54b18".parse()?; +533 assert_eq!(endpoint_id, Some(expected)); +534 Ok(()) +535 } +536 } +537} \ No newline at end of file diff --git a/pr/3734/docs/src/iroh/test_utils/qlog.rs.html b/pr/3734/docs/src/iroh/test_utils/qlog.rs.html new file mode 100644 index 0000000000..6da7947c1c --- /dev/null +++ b/pr/3734/docs/src/iroh/test_utils/qlog.rs.html @@ -0,0 +1,87 @@ +qlog.rs - source

    iroh/test_utils/
    qlog.rs

    1//! Utils for emitting qlog files from iroh endpoint.
    +2
    +3use std::path::{Path, PathBuf};
    +4#[cfg(feature = "qlog")]
    +5use std::sync::Arc;
    +6
    +7use n0_error::Result;
    +8#[cfg(feature = "qlog")]
    +9use n0_future::time::Instant;
    +10
    +11#[cfg(feature = "qlog")]
    +12use crate::endpoint::QlogFileFactory;
    +13use crate::endpoint::QuicTransportConfig;
    +14
    +15/// Builder to create one or more related qlog configs.
    +16///
    +17/// This struct is available independently of feature flags, but if the "qlog" feature is not enabled
    +18/// it does not do anything.
    +19#[derive(Debug, Clone)]
    +20pub struct QlogFileGroup {
    +21    #[cfg(feature = "qlog")]
    +22    directory: PathBuf,
    +23    #[cfg(feature = "qlog")]
    +24    title: String,
    +25    #[cfg(feature = "qlog")]
    +26    start: Instant,
    +27}
    +28
    +29impl QlogFileGroup {
    +30    /// Creates a new [`QlogFileGroup`] that is only enabled if feature flags and environment variables match.
    +31    ///
    +32    /// The qlog files will be written to `CARGO_MANIFEST_DIR/qlog`.
    +33    ///
    +34    /// The [`QlogFileGroup`] can be used independent of feature flags, but it will only emit qlog files
    +35    /// if the "qlog" feature is enabled and the environment variable IROH_TEST_QLOG is set to 1.
    +36    pub fn from_env(title: impl ToString) -> Self {
    +37        let directory = PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("qlog");
    +38        Self::new(directory, title)
    +39    }
    +40
    +41    /// Creates a new [`QlogFileGroup`] that writes qlog files to the specified directory.
    +42    ///
    +43    /// The [`QlogFileGroup`] can be used independent of feature flags, but it will only emit qlog files
    +44    /// if the "qlog" feature is enabled and the environment variable IROH_TEST_QLOG is set to 1.
    +45    pub fn new(directory: impl AsRef<Path>, title: impl ToString) -> Self {
    +46        #[cfg(not(feature = "qlog"))]
    +47        let this = {
    +48            let _ = (directory, title);
    +49            Self {}
    +50        };
    +51
    +52        #[cfg(feature = "qlog")]
    +53        let this = Self {
    +54            title: title.to_string(),
    +55            directory: directory.as_ref().to_owned(),
    +56            start: Instant::now(),
    +57        };
    +58
    +59        this
    +60    }
    +61
    +62    /// Creates a [`QuicTransportConfig`] that emits qlog files, if enabled.
    +63    ///
    +64    /// If the "qlog" feature is enabled, and the environment variable IROH_TEST_QLOG is set,
    +65    /// this returns a transport config that writes qlog configs to the configured output directory.
    +66    /// Otherwise, a default transport config is returned.
    +67    pub fn create(&self, name: impl ToString) -> Result<QuicTransportConfig> {
    +68        #[cfg(not(feature = "qlog"))]
    +69        {
    +70            let _name = name;
    +71            Ok(QuicTransportConfig::default())
    +72        }
    +73        #[cfg(feature = "qlog")]
    +74        {
    +75            let mut builder = QuicTransportConfig::builder();
    +76
    +77            if std::env::var("IROH_TEST_QLOG").is_ok() {
    +78                let prefix = format!("{}.{}", self.title, name.to_string());
    +79                let factory = QlogFileFactory::new(self.directory.clone())
    +80                    .with_prefix(prefix)
    +81                    .with_start_instant(self.start.into());
    +82                builder = builder.qlog_factory(Arc::new(factory));
    +83            }
    +84            Ok(builder.build())
    +85        }
    +86    }
    +87}
    \ No newline at end of file diff --git a/pr/3734/docs/src/iroh_bench/iroh.rs.html b/pr/3734/docs/src/iroh_bench/iroh.rs.html index b5fe249f83..c364fd8278 100644 --- a/pr/3734/docs/src/iroh_bench/iroh.rs.html +++ b/pr/3734/docs/src/iroh_bench/iroh.rs.html @@ -125,168 +125,174 @@ 125pub fn transport_config(max_streams: usize, initial_mtu: u16) -> QuicTransportConfig { 126 // High stream windows are chosen because the amount of concurrent streams 127 // is configurable as a parameter. -128 let mut config = QuicTransportConfig::default(); -129 config.max_concurrent_uni_streams(max_streams.try_into().unwrap()); -130 config.initial_mtu(initial_mtu); +128
    let mut builder = QuicTransportConfig::builder() +129 .max_concurrent_uni_streams(max_streams.try_into().unwrap()) +130 .initial_mtu(initial_mtu); 131 132 let mut acks = quinn::AckFrequencyConfig::default(); 133 acks.ack_eliciting_threshold(10u32.into()); -134 config.ack_frequency_config(Some(acks)); +134 builder = builder.ack_frequency_config(Some(acks)); 135 -136 config -137} -138 -139async fn drain_stream( -140 stream: &mut RecvStream, -141 read_unordered: bool, -142) -> Result<(usize, Duration, u64)> { -143 let mut read = 0; -144 -145 let download_start = Instant::now(); -146 let mut first_byte = true; -147 let mut ttfb = download_start.elapsed(); -148 -149 let mut num_chunks: u64 = 0; -150 -151 if read_unordered { -152 while let Some(chunk) = stream.read_chunk(usize::MAX, false).await.anyerr()? { -153 if first_byte { -154 ttfb = download_start.elapsed(); -155 first_byte = false; -156 } -157 read += chunk.bytes.len(); -158 num_chunks += 1; -159 } -160 } else { -161 // These are 32 buffers, for reading approximately 32kB at once -162 #[rustfmt::skip] -163 let mut bufs = [ -164 Bytes::new(), Bytes::new(), Bytes::new(), Bytes::new(), -165 Bytes::new(), Bytes::new(), Bytes::new(), Bytes::new(), -166 Bytes::new(), Bytes::new(), Bytes::new(), Bytes::new(), -167 Bytes::new(), Bytes::new(), Bytes::new(), Bytes::new(), -168 Bytes::new(), Bytes::new(), Bytes::new(), Bytes::new(), -169 Bytes::new(), Bytes::new(), Bytes::new(), Bytes::new(), +136 #[cfg(feature = "qlog")] +137 { +138 builder = builder.qlog_from_env("bench-iroh"); +139 } +140 +141 builder.build() +142} +143 +144async fn drain_stream( +145 mut stream: RecvStream, +146 read_unordered: bool, +147) -> Result<(usize, Duration, u64)> { +148 let mut read = 0; +149 +150 let download_start = Instant::now(); +151 let mut first_byte = true; +152 let mut ttfb = download_start.elapsed(); +153 +154 let mut num_chunks: u64 = 0; +155 +156 if read_unordered { +157 let mut stream = stream.into_unordered(); +158 while let Some(chunk) = stream.read_chunk(usize::MAX).await.anyerr()? { +159 if first_byte { +160 ttfb = download_start.elapsed(); +161 first_byte = false; +162 } +163 read += chunk.bytes.len(); +164 num_chunks += 1; +165 } +166 } else { +167 // These are 32 buffers, for reading approximately 32kB at once +168 #[rustfmt::skip] +169 let mut bufs = [ 170 Bytes::new(), Bytes::new(), Bytes::new(), Bytes::new(), 171 Bytes::new(), Bytes::new(), Bytes::new(), Bytes::new(), -172 ]; -173 -174 while let Some(n) = stream.read_chunks(&mut bufs[..]).await.anyerr()? { -175 if first_byte { -176 ttfb = download_start.elapsed(); -177 first_byte = false; -178 } -179 read += bufs.iter().take(n).map(|buf| buf.len()).sum::<usize>(); -180 num_chunks += 1; -181 } -182 } -183 -184 Ok((read, ttfb, num_chunks)) -185} -186 -187async fn send_data_on_stream(stream: &mut SendStream, stream_size: u64) -> Result<()> { -188 const DATA: &[u8] = &[0xAB; 1024 * 1024]; -189 let bytes_data = Bytes::from_static(DATA); -190 -191 let full_chunks = stream_size / (DATA.len() as u64); -192 let remaining = (stream_size % (DATA.len() as u64)) as usize; -193 -194 for _ in 0..full_chunks { -195 stream -196 .write_chunk(bytes_data.clone()) -197 .await -198 .std_context("failed sending data")?; -199 } -200 -201 if remaining != 0 { -202 stream -203 .write_chunk(bytes_data.slice(0..remaining)) -204 .await -205 .std_context("failed sending data")?; -206 } -207 -208 stream.finish().std_context("failed finishing stream")?; -209 stream -210 .stopped() -211 .await -212 .std_context("failed to wait for stream to be stopped")?; +172 Bytes::new(), Bytes::new(), Bytes::new(), Bytes::new(), +173 Bytes::new(), Bytes::new(), Bytes::new(), Bytes::new(), +174 Bytes::new(), Bytes::new(), Bytes::new(), Bytes::new(), +175 Bytes::new(), Bytes::new(), Bytes::new(), Bytes::new(), +176 Bytes::new(), Bytes::new(), Bytes::new(), Bytes::new(), +177 Bytes::new(), Bytes::new(), Bytes::new(), Bytes::new(), +178 ]; +179 +180 while let Some(n) = stream.read_chunks(&mut bufs[..]).await.anyerr()? { +181 if first_byte { +182 ttfb = download_start.elapsed(); +183 first_byte = false; +184 } +185 read += bufs.iter().take(n).map(|buf| buf.len()).sum::<usize>(); +186 num_chunks += 1; +187 } +188 } +189 +190 Ok((read, ttfb, num_chunks)) +191} +192 +193async fn send_data_on_stream(stream: &mut SendStream, stream_size: u64) -> Result<()> { +194 const DATA: &[u8] = &[0xAB; 1024 * 1024]; +195 let bytes_data = Bytes::from_static(DATA); +196 +197 let full_chunks = stream_size / (DATA.len() as u64); +198 let remaining = (stream_size % (DATA.len() as u64)) as usize; +199 +200 for _ in 0..full_chunks { +201 stream +202 .write_chunk(bytes_data.clone()) +203 .await +204 .std_context("failed sending data")?; +205 } +206 +207 if remaining != 0 { +208 stream +209 .write_chunk(bytes_data.slice(0..remaining)) +210 .await +211 .std_context("failed sending data")?; +212 } 213 -214 Ok(()) -215} -216 -217pub async fn handle_client_stream( -218 connection: &Connection, -219 upload_size: u64, -220 read_unordered: bool, -221) -> Result<(TransferResult, TransferResult)> { -222 let start = Instant::now(); -223 -224 let (mut send_stream, mut recv_stream) = connection -225 .open_bi() -226 .await -227 .std_context("failed to open stream")?; -228 -229 send_data_on_stream(&mut send_stream, upload_size).await?; -230 -231 let upload_result = TransferResult::new(start.elapsed(), upload_size, Duration::default(), 0); -232 -233 let start = Instant::now(); -234 let (size, ttfb, num_chunks) = drain_stream(&mut recv_stream, read_unordered).await?; -235 let download_result = TransferResult::new(start.elapsed(), size as u64, ttfb, num_chunks); +214 stream.finish().std_context("failed finishing stream")?; +215 stream +216 .stopped() +217 .await +218 .std_context("failed to wait for stream to be stopped")?; +219 +220 Ok(()) +221} +222 +223pub async fn handle_client_stream( +224 connection: &Connection, +225 upload_size: u64, +226 read_unordered: bool, +227) -> Result<(TransferResult, TransferResult)> { +228 let start = Instant::now(); +229 +230 let (mut send_stream, recv_stream) = connection +231 .open_bi() +232 .await +233 .std_context("failed to open stream")?; +234 +235 send_data_on_stream(&mut send_stream, upload_size).await?; 236 -237 Ok((upload_result, download_result)) -238} -239 -240/// Take the provided endpoint and run the server -241pub async fn server(endpoint: Endpoint, opt: Opt) -> Result<()> { -242 let mut server_tasks = Vec::new(); -243 -244 // Handle only the expected amount of clients -245 for _ in 0..opt.clients { -246 let incoming = endpoint.accept().await.unwrap(); -247 let accepting = match incoming.accept() { -248 Ok(accepting) => accepting, -249 Err(err) => { -250 warn!("incoming connection failed: {err:#}"); -251 // we can carry on in these cases: -252 // this can be caused by retransmitted datagrams -253 continue; -254 } -255 }; -256 let connection = accepting.await.context("handshake failed")?; -257 -258 server_tasks.push(tokio::spawn(async move { -259 loop { -260 let (mut send_stream, mut recv_stream) = match connection.accept_bi().await { -261 Err(ConnectionError::ApplicationClosed(_)) => break, -262 Err(e) => { -263 eprintln!("accepting stream failed: {e:?}"); -264 break; -265 } -266 Ok(stream) => stream, -267 }; -268 trace!("stream established"); -269 -270 tokio::spawn(async move { -271 drain_stream(&mut recv_stream, opt.read_unordered).await?; -272 send_data_on_stream(&mut send_stream, opt.download_size).await?; -273 n0_error::Ok(()) -274 }); -275 } -276 -277 if opt.stats { -278 println!("\nServer connection stats:\n{:#?}", connection.stats()); -279 } -280 })); -281 } +237 let upload_result = TransferResult::new(start.elapsed(), upload_size, Duration::default(), 0); +238 +239 let start = Instant::now(); +240 let (size, ttfb, num_chunks) = drain_stream(recv_stream, read_unordered).await?; +241 let download_result = TransferResult::new(start.elapsed(), size as u64, ttfb, num_chunks); +242 +243 Ok((upload_result, download_result)) +244} +245 +246/// Take the provided endpoint and run the server +247pub async fn server(endpoint: Endpoint, opt: Opt) -> Result<()> { +248 let mut server_tasks = Vec::new(); +249 +250 // Handle only the expected amount of clients +251 for _ in 0..opt.clients { +252 let incoming = endpoint.accept().await.unwrap(); +253 let accepting = match incoming.accept() { +254 Ok(accepting) => accepting, +255 Err(err) => { +256 warn!("incoming connection failed: {err:#}"); +257 // we can carry on in these cases: +258 // this can be caused by retransmitted datagrams +259 continue; +260 } +261 }; +262 let connection = accepting.await.context("handshake failed")?; +263 +264 server_tasks.push(tokio::spawn(async move { +265 loop { +266 let (mut send_stream, recv_stream) = match connection.accept_bi().await { +267 Err(ConnectionError::ApplicationClosed(_)) => break, +268 Err(e) => { +269 eprintln!("accepting stream failed: {e:?}"); +270 break; +271 } +272 Ok(stream) => stream, +273 }; +274 trace!("stream established"); +275 +276 tokio::spawn(async move { +277 drain_stream(recv_stream, opt.read_unordered).await?; +278 send_data_on_stream(&mut send_stream, opt.download_size).await?; +279 n0_error::Ok(()) +280 }); +281 } 282 -283 // Await all the tasks. We have to do this to prevent the runtime getting dropped -284 // and all server tasks to be cancelled -285 for handle in server_tasks { -286 if let Err(e) = handle.await { -287 eprintln!("Server task error: {e:?}"); -288 }; -289 } -290 -291 Ok(()) -292} \ No newline at end of file +283 if opt.stats { +284 println!("\nServer connection stats:\n{:#?}", connection.stats()); +285 } +286 })); +287 } +288 +289 // Await all the tasks. We have to do this to prevent the runtime getting dropped +290 // and all server tasks to be cancelled +291 for handle in server_tasks { +292 if let Err(e) = handle.await { +293 eprintln!("Server task error: {e:?}"); +294 }; +295 } +296 +297 Ok(()) +298} \ No newline at end of file diff --git a/pr/3734/docs/src/iroh_bench/quinn.rs.html b/pr/3734/docs/src/iroh_bench/quinn.rs.html index 8bce392041..f5aebd64b3 100644 --- a/pr/3734/docs/src/iroh_bench/quinn.rs.html +++ b/pr/3734/docs/src/iroh_bench/quinn.rs.html @@ -116,160 +116,164 @@ 116 acks.ack_eliciting_threshold(10u32.into()); 117 config.ack_frequency_config(Some(acks)); 118 -119 config -120} +119 #[cfg(feature = "qlog")] +120 config.qlog_from_env("bench-iroh"); 121 -122async fn drain_stream( -123 stream: &mut RecvStream, -124 read_unordered: bool, -125) -> Result<(usize, Duration, u64)> { -126 let mut read = 0; -127 -128 let download_start = Instant::now(); -129 let mut first_byte = true; -130 let mut ttfb = download_start.elapsed(); -131 -132 let mut num_chunks: u64 = 0; -133 -134 if read_unordered { -135 while let Some(chunk) = stream.read_chunk(usize::MAX, false).await.anyerr()? { -136 if first_byte { -137 ttfb = download_start.elapsed(); -138 first_byte = false; -139 } -140 read += chunk.bytes.len(); -141 num_chunks += 1; -142 } -143 } else { -144 // These are 32 buffers, for reading approximately 32kB at once -145 #[rustfmt::skip] -146 let mut bufs = [ -147 Bytes::new(), Bytes::new(), Bytes::new(), Bytes::new(), -148 Bytes::new(), Bytes::new(), Bytes::new(), Bytes::new(), -149 Bytes::new(), Bytes::new(), Bytes::new(), Bytes::new(), -150 Bytes::new(), Bytes::new(), Bytes::new(), Bytes::new(), +122 config +123} +124 +125async fn drain_stream( +126 mut stream: RecvStream, +127 read_unordered: bool, +128) -> Result<(usize, Duration, u64)> { +129 let mut read = 0; +130 +131 let download_start = Instant::now(); +132 let mut first_byte = true; +133 let mut ttfb = download_start.elapsed(); +134 +135 let mut num_chunks: u64 = 0; +136 +137 if read_unordered { +138 let mut stream = stream.into_unordered(); +139 while let Some(chunk) = stream.read_chunk(usize::MAX).await.anyerr()? { +140 if first_byte { +141 ttfb = download_start.elapsed(); +142 first_byte = false; +143 } +144 read += chunk.bytes.len(); +145 num_chunks += 1; +146 } +147 } else { +148 // These are 32 buffers, for reading approximately 32kB at once +149 #[rustfmt::skip] +150 let mut bufs = [ 151 Bytes::new(), Bytes::new(), Bytes::new(), Bytes::new(), 152 Bytes::new(), Bytes::new(), Bytes::new(), Bytes::new(), 153 Bytes::new(), Bytes::new(), Bytes::new(), Bytes::new(), 154 Bytes::new(), Bytes::new(), Bytes::new(), Bytes::new(), -155 ]; -156 -157 while let Some(n) = stream.read_chunks(&mut bufs[..]).await.anyerr()? { -158 if first_byte { -159 ttfb = download_start.elapsed(); -160 first_byte = false; -161 } -162 read += bufs.iter().take(n).map(|buf| buf.len()).sum::<usize>(); -163 num_chunks += 1; -164 } -165 } -166 -167 Ok((read, ttfb, num_chunks)) -168} -169 -170async fn send_data_on_stream(stream: &mut SendStream, stream_size: u64) -> Result<()> { -171 const DATA: &[u8] = &[0xAB; 1024 * 1024]; -172 let bytes_data = Bytes::from_static(DATA); +155 Bytes::new(), Bytes::new(), Bytes::new(), Bytes::new(), +156 Bytes::new(), Bytes::new(), Bytes::new(), Bytes::new(), +157 Bytes::new(), Bytes::new(), Bytes::new(), Bytes::new(), +158 Bytes::new(), Bytes::new(), Bytes::new(), Bytes::new(), +159 ]; +160 +161 while let Some(n) = stream.read_chunks(&mut bufs[..]).await.anyerr()? { +162 if first_byte { +163 ttfb = download_start.elapsed(); +164 first_byte = false; +165 } +166 read += bufs.iter().take(n).map(|buf| buf.len()).sum::<usize>(); +167 num_chunks += 1; +168 } +169 } +170 +171 Ok((read, ttfb, num_chunks)) +172} 173 -174 let full_chunks = stream_size / (DATA.len() as u64); -175 let remaining = (stream_size % (DATA.len() as u64)) as usize; -176 -177 for _ in 0..full_chunks { -178 stream -179 .write_chunk(bytes_data.clone()) -180 .await -181 .std_context("failed sending data")?; -182 } -183 -184 if remaining != 0 { -185 stream -186 .write_chunk(bytes_data.slice(0..remaining)) -187 .await -188 .std_context("failed sending data")?; -189 } -190 -191 stream.finish().std_context("failed finishing stream")?; -192 stream -193 .stopped() -194 .await -195 .std_context("failed to wait for stream to be stopped")?; -196 -197 Ok(()) -198} -199 -200pub async fn handle_client_stream( -201 connection: &Connection, -202 upload_size: u64, -203 read_unordered: bool, -204) -> Result<(TransferResult, TransferResult)> { -205 let start = Instant::now(); -206 -207 let (mut send_stream, mut recv_stream) = connection -208 .open_bi() -209 .await -210 .std_context("failed to open stream")?; -211 -212 send_data_on_stream(&mut send_stream, upload_size).await?; -213 -214 let upload_result = TransferResult::new(start.elapsed(), upload_size, Duration::default(), 0); +174async fn send_data_on_stream(stream: &mut SendStream, stream_size: u64) -> Result<()> { +175 const DATA: &[u8] = &[0xAB; 1024 * 1024]; +176 let bytes_data = Bytes::from_static(DATA); +177 +178 let full_chunks = stream_size / (DATA.len() as u64); +179 let remaining = (stream_size % (DATA.len() as u64)) as usize; +180 +181 for _ in 0..full_chunks { +182 stream +183 .write_chunk(bytes_data.clone()) +184 .await +185 .std_context("failed sending data")?; +186 } +187 +188 if remaining != 0 { +189 stream +190 .write_chunk(bytes_data.slice(0..remaining)) +191 .await +192 .std_context("failed sending data")?; +193 } +194 +195 stream.finish().std_context("failed finishing stream")?; +196 stream +197 .stopped() +198 .await +199 .std_context("failed to wait for stream to be stopped")?; +200 +201 Ok(()) +202} +203 +204pub async fn handle_client_stream( +205 connection: &Connection, +206 upload_size: u64, +207 read_unordered: bool, +208) -> Result<(TransferResult, TransferResult)> { +209 let start = Instant::now(); +210 +211 let (mut send_stream, recv_stream) = connection +212 .open_bi() +213 .await +214 .std_context("failed to open stream")?; 215 -216 let start = Instant::now(); -217 let (size, ttfb, num_chunks) = drain_stream(&mut recv_stream, read_unordered).await?; -218 let download_result = TransferResult::new(start.elapsed(), size as u64, ttfb, num_chunks); +216 send_data_on_stream(&mut send_stream, upload_size).await?; +217 +218 let upload_result = TransferResult::new(start.elapsed(), upload_size, Duration::default(), 0); 219 -220 Ok((upload_result, download_result)) -221} -222 -223/// Take the provided endpoint and run the server -224pub async fn server(endpoint: Endpoint, opt: Opt) -> Result<()> { -225 let mut server_tasks = Vec::new(); +220 let start = Instant::now(); +221 let (size, ttfb, num_chunks) = drain_stream(recv_stream, read_unordered).await?; +222 let download_result = TransferResult::new(start.elapsed(), size as u64, ttfb, num_chunks); +223 +224 Ok((upload_result, download_result)) +225} 226 -227 // Handle only the expected amount of clients -228 for _ in 0..opt.clients { -229 let incoming = endpoint.accept().await.unwrap(); -230 let accepting = match incoming.accept() { -231 Ok(accepting) => accepting, -232 Err(err) => { -233 warn!("incoming connection failed: {err:#}"); -234 // we can carry on in these cases: -235 // this can be caused by retransmitted datagrams -236 continue; -237 } -238 }; -239 let connection = accepting.await.std_context("handshake failed")?; -240 -241 server_tasks.push(tokio::spawn(async move { -242 loop { -243 let (mut send_stream, mut recv_stream) = match connection.accept_bi().await { -244 Err(::quinn::ConnectionError::ApplicationClosed(_)) => break, -245 Err(e) => { -246 eprintln!("accepting stream failed: {e:?}"); -247 break; -248 } -249 Ok(stream) => stream, -250 }; -251 trace!("stream established"); -252 -253 tokio::spawn(async move { -254 drain_stream(&mut recv_stream, opt.read_unordered).await?; -255 send_data_on_stream(&mut send_stream, opt.download_size).await?; -256 n0_error::Ok(()) -257 }); -258 } -259 -260 if opt.stats { -261 println!("\nServer connection stats:\n{:#?}", connection.stats()); +227/// Take the provided endpoint and run the server +228pub async fn server(endpoint: Endpoint, opt: Opt) -> Result<()> { +229 let mut server_tasks = Vec::new(); +230 +231 // Handle only the expected amount of clients +232 for _ in 0..opt.clients { +233 let incoming = endpoint.accept().await.unwrap(); +234 let accepting = match incoming.accept() { +235 Ok(accepting) => accepting, +236 Err(err) => { +237 warn!("incoming connection failed: {err:#}"); +238 // we can carry on in these cases: +239 // this can be caused by retransmitted datagrams +240 continue; +241 } +242 }; +243 let connection = accepting.await.std_context("handshake failed")?; +244 +245 server_tasks.push(tokio::spawn(async move { +246 loop { +247 let (mut send_stream, recv_stream) = match connection.accept_bi().await { +248 Err(::quinn::ConnectionError::ApplicationClosed(_)) => break, +249 Err(e) => { +250 eprintln!("accepting stream failed: {e:?}"); +251 break; +252 } +253 Ok(stream) => stream, +254 }; +255 trace!("stream established"); +256 +257 tokio::spawn(async move { +258 drain_stream(recv_stream, opt.read_unordered).await?; +259 send_data_on_stream(&mut send_stream, opt.download_size).await?; +260 n0_error::Ok(()) +261 }); 262 } -263 })); -264 } -265 -266 // Await all the tasks. We have to do this to prevent the runtime getting dropped -267 // and all server tasks to be cancelled -268 for handle in server_tasks { -269 if let Err(e) = handle.await { -270 eprintln!("Server task error: {e:?}"); -271 }; -272 } -273 -274 Ok(()) -275} \ No newline at end of file +263 +264 if opt.stats { +265 println!("\nServer connection stats:\n{:#?}", connection.stats()); +266 } +267 })); +268 } +269 +270 // Await all the tasks. We have to do this to prevent the runtime getting dropped +271 // and all server tasks to be cancelled +272 for handle in server_tasks { +273 if let Err(e) = handle.await { +274 eprintln!("Server task error: {e:?}"); +275 }; +276 } +277 +278 Ok(()) +279} \ No newline at end of file diff --git a/pr/3734/docs/src/iroh_dns_server/config.rs.html b/pr/3734/docs/src/iroh_dns_server/config.rs.html index cca4758a09..8e83a0bc24 100644 --- a/pr/3734/docs/src/iroh_dns_server/config.rs.html +++ b/pr/3734/docs/src/iroh_dns_server/config.rs.html @@ -52,197 +52,206 @@ 52 /// Config for pkarr rate limit 53 #[serde(default)] 54 pub pkarr_put_rate_limit: RateLimitConfig, -55} -56 -57/// The config for the store. -58#[derive(Debug, Serialize, Deserialize, Clone)] -59pub struct StoreConfig { -60 /// Maximum number of packets to process in a single write transaction. -61 max_batch_size: usize, +55 +56 /// Location where all data of iroh-dns-server is stored. +57 /// +58 /// If unset, will use `IROH_DNS_DATA_DIR` environment variable if set, +59 /// and otherwise a `iroh-dns` directory in the host system's data directory. +60 pub data_dir: Option<PathBuf>, +61} 62 -63 /// Maximum time to keep a write transaction open. -64 #[serde(with = "humantime_serde")] -65 max_batch_time: Duration, -66 -67 /// Time to keep packets in the store before eviction. -68 #[serde(with = "humantime_serde")] -69 eviction: Duration, -70 -71 /// Pause between eviction checks. -72 #[serde(with = "humantime_serde")] -73 eviction_interval: Duration, -74} -75 -76impl Default for StoreConfig { -77 fn default() -> Self { -78 ZoneStoreOptions::default().into() -79 } +63/// The config for the store. +64#[derive(Debug, Serialize, Deserialize, Clone)] +65pub struct StoreConfig { +66 /// Maximum number of packets to process in a single write transaction. +67 max_batch_size: usize, +68 +69 /// Maximum time to keep a write transaction open. +70 #[serde(with = "humantime_serde")] +71 max_batch_time: Duration, +72 +73 /// Time to keep packets in the store before eviction. +74 #[serde(with = "humantime_serde")] +75 eviction: Duration, +76 +77 /// Pause between eviction checks. +78 #[serde(with = "humantime_serde")] +79 eviction_interval: Duration, 80} 81 -82impl From<ZoneStoreOptions> for StoreConfig { -83 fn from(value: ZoneStoreOptions) -> Self { -84 Self { -85 max_batch_size: value.max_batch_size, -86 max_batch_time: value.max_batch_time, -87 eviction: value.eviction, -88 eviction_interval: value.eviction_interval, -89 } -90 } -91} -92 -93impl From<StoreConfig> for ZoneStoreOptions { -94 fn from(value: StoreConfig) -> Self { -95 Self { -96 max_batch_size: value.max_batch_size, -97 max_batch_time: value.max_batch_time, -98 eviction: value.eviction, -99 eviction_interval: value.eviction_interval, -100 } -101 } -102} -103 -104/// The config for the metrics server. -105#[derive(Debug, Serialize, Deserialize)] -106pub struct MetricsConfig { -107 /// Set to true to disable the metrics server. -108 pub disabled: bool, -109 /// Optionally set a custom address to bind to. -110 pub bind_addr: Option<SocketAddr>, -111} -112 -113impl MetricsConfig { -114 /// Disable the metrics server. -115 pub fn disabled() -> Self { -116 Self { -117 disabled: true, -118 bind_addr: None, -119 } -120 } -121} -122 -123/// The config for the metrics server. -124#[derive(Debug, Serialize, Deserialize)] -125pub struct MainlineConfig { -126 /// Set to true to enable the mainline lookup. -127 pub enabled: bool, -128 /// Set custom bootstrap nodes. -129 /// -130 /// Addresses can either be `domain:port` or `ipv4:port`. -131 /// -132 /// If empty this will use the default bittorrent mainline bootstrap nodes as defined by pkarr. -133 pub bootstrap: Option<Vec<String>>, -134} -135 -136/// Configure the bootstrap servers for mainline DHT resolution. -137#[derive(Debug, Serialize, Deserialize, Default)] -138pub enum BootstrapOption { -139 /// Use the default bootstrap servers. -140 #[default] -141 Default, -142 /// Use custom bootstrap servers. -143 Custom(Vec<String>), -144} -145 -146#[allow(clippy::derivable_impls)] -147impl Default for MainlineConfig { -148 fn default() -> Self { -149 Self { -150 enabled: false, -151 bootstrap: None, -152 } -153 } -154} -155 -156impl Config { -157 /// Load the config from a file. -158 pub async fn load(path: impl AsRef<Path>) -> Result<Config> { -159 info!( -160 "loading config file from {}", -161 path.as_ref().to_string_lossy() -162 ); -163 let s = tokio::fs::read_to_string(path.as_ref()) -164 .await -165 .with_std_context(|_| format!("failed to read {}", path.as_ref().to_string_lossy()))?; -166 let config: Config = toml::from_str(&s).anyerr()?; -167 Ok(config) -168 } -169 -170 /// Get the data directory. -171 pub fn data_dir() -> Result<PathBuf> { -172 let dir = if let Some(val) = env::var_os("IROH_DNS_DATA_DIR") { -173 PathBuf::from(val) -174 } else { -175 let path = dirs_next::data_dir() -176 .std_context("operating environment provides no directory for application data")?; -177 -178 path.join("iroh-dns") -179 }; -180 Ok(dir) -181 } -182 -183 /// Get the path to the store database file. -184 pub fn signed_packet_store_path() -> Result<PathBuf> { -185 Ok(Self::data_dir()?.join("signed-packets-1.db")) -186 } -187 -188 /// Get the address where the metrics server should be bound, if set. -189 pub(crate) fn metrics_addr(&self) -> Option<SocketAddr> { -190 match &self.metrics { -191 None => Some(DEFAULT_METRICS_ADDR), -192 Some(conf) => match conf.disabled { -193 true => None, -194 false => Some(conf.bind_addr.unwrap_or(DEFAULT_METRICS_ADDR)), -195 }, -196 } -197 } -198 -199 pub(crate) fn mainline_enabled(&self) -> Option<BootstrapOption> { -200 match self.mainline.as_ref() { -201 None => None, -202 Some(MainlineConfig { enabled: false, .. }) => None, -203 Some(MainlineConfig { -204 bootstrap: Some(bootstrap), -205 .. -206 }) => Some(BootstrapOption::Custom(bootstrap.clone())), -207 Some(MainlineConfig { -208 bootstrap: None, .. -209 }) => Some(BootstrapOption::Default), -210 } -211 } -212} -213 -214impl Default for Config { -215 fn default() -> Self { -216 Self { -217 http: Some(HttpConfig { -218 port: 8080, -219 bind_addr: None, -220 }), -221 https: Some(HttpsConfig { -222 port: 8443, -223 bind_addr: None, -224 domains: vec!["localhost".to_string()], -225 cert_mode: CertMode::SelfSigned, -226 letsencrypt_contact: None, -227 letsencrypt_prod: None, +82impl Default for StoreConfig { +83 fn default() -> Self { +84 ZoneStoreOptions::default().into() +85 } +86} +87 +88impl From<ZoneStoreOptions> for StoreConfig { +89 fn from(value: ZoneStoreOptions) -> Self { +90 Self { +91 max_batch_size: value.max_batch_size, +92 max_batch_time: value.max_batch_time, +93 eviction: value.eviction, +94 eviction_interval: value.eviction_interval, +95 } +96 } +97} +98 +99impl From<StoreConfig> for ZoneStoreOptions { +100 fn from(value: StoreConfig) -> Self { +101 Self { +102 max_batch_size: value.max_batch_size, +103 max_batch_time: value.max_batch_time, +104 eviction: value.eviction, +105 eviction_interval: value.eviction_interval, +106 } +107 } +108} +109 +110/// The config for the metrics server. +111#[derive(Debug, Serialize, Deserialize)] +112pub struct MetricsConfig { +113 /// Set to true to disable the metrics server. +114 pub disabled: bool, +115 /// Optionally set a custom address to bind to. +116 pub bind_addr: Option<SocketAddr>, +117} +118 +119impl MetricsConfig { +120 /// Disable the metrics server. +121 pub fn disabled() -> Self { +122 Self { +123 disabled: true, +124 bind_addr: None, +125 } +126 } +127} +128 +129/// The config for the metrics server. +130#[derive(Debug, Serialize, Deserialize)] +131pub struct MainlineConfig { +132 /// Set to true to enable the mainline lookup. +133 pub enabled: bool, +134 /// Set custom bootstrap nodes. +135 /// +136 /// Addresses can either be `domain:port` or `ipv4:port`. +137 /// +138 /// If empty this will use the default bittorrent mainline bootstrap nodes as defined by pkarr. +139 pub bootstrap: Option<Vec<String>>, +140} +141 +142/// Configure the bootstrap servers for mainline DHT resolution. +143#[derive(Debug, Serialize, Deserialize, Default)] +144pub enum BootstrapOption { +145 /// Use the default bootstrap servers. +146 #[default] +147 Default, +148 /// Use custom bootstrap servers. +149 Custom(Vec<String>), +150} +151 +152#[allow(clippy::derivable_impls)] +153impl Default for MainlineConfig { +154 fn default() -> Self { +155 Self { +156 enabled: false, +157 bootstrap: None, +158 } +159 } +160} +161 +162impl Config { +163 /// Load the config from a file. +164 pub async fn load(path: impl AsRef<Path>) -> Result<Config> { +165 info!( +166 "loading config file from {}", +167 path.as_ref().to_string_lossy() +168 ); +169 let s = tokio::fs::read_to_string(path.as_ref()) +170 .await +171 .with_std_context(|_| format!("failed to read {}", path.as_ref().to_string_lossy()))?; +172 let config: Config = toml::from_str(&s).anyerr()?; +173 Ok(config) +174 } +175 +176 /// Get the data directory. +177 pub fn data_dir(&self) -> Result<PathBuf> { +178 let dir = if let Some(dir) = &self.data_dir { +179 dir.clone() +180 } else if let Some(val) = env::var_os("IROH_DNS_DATA_DIR") { +181 PathBuf::from(val) +182 } else { +183 let path = dirs_next::data_dir() +184 .std_context("operating environment provides no directory for application data")?; +185 +186 path.join("iroh-dns") +187 }; +188 Ok(dir) +189 } +190 +191 /// Get the path to the store database file. +192 pub fn signed_packet_store_path(&self) -> Result<PathBuf> { +193 Ok(self.data_dir()?.join("signed-packets-1.db")) +194 } +195 +196 /// Get the address where the metrics server should be bound, if set. +197 pub(crate) fn metrics_addr(&self) -> Option<SocketAddr> { +198 match &self.metrics { +199 None => Some(DEFAULT_METRICS_ADDR), +200 Some(conf) => match conf.disabled { +201 true => None, +202 false => Some(conf.bind_addr.unwrap_or(DEFAULT_METRICS_ADDR)), +203 }, +204 } +205 } +206 +207 pub(crate) fn mainline_enabled(&self) -> Option<BootstrapOption> { +208 match self.mainline.as_ref() { +209 None => None, +210 Some(MainlineConfig { enabled: false, .. }) => None, +211 Some(MainlineConfig { +212 bootstrap: Some(bootstrap), +213 .. +214 }) => Some(BootstrapOption::Custom(bootstrap.clone())), +215 Some(MainlineConfig { +216 bootstrap: None, .. +217 }) => Some(BootstrapOption::Default), +218 } +219 } +220} +221 +222impl Default for Config { +223 fn default() -> Self { +224 Self { +225 http: Some(HttpConfig { +226 port: 8080, +227 bind_addr: None, 228 }), -229 dns: DnsConfig { -230 port: 5300, +229 https: Some(HttpsConfig { +230 port: 8443, 231 bind_addr: None, -232 origins: vec!["irohdns.example.".to_string(), ".".to_string()], -233 -234 default_soa: "irohdns.example hostmaster.irohdns.example 0 10800 3600 604800 3600" -235 .to_string(), -236 default_ttl: 900, -237 -238 rr_a: Some(Ipv4Addr::LOCALHOST), -239 rr_aaaa: None, -240 rr_ns: Some("ns1.irohdns.example.".to_string()), -241 }, -242 zone_store: None, -243 metrics: None, -244 mainline: None, -245 pkarr_put_rate_limit: RateLimitConfig::default(), -246 } -247 } -248} \ No newline at end of file +232 domains: vec!["localhost".to_string()], +233 cert_mode: CertMode::SelfSigned, +234 letsencrypt_contact: None, +235 letsencrypt_prod: None, +236 }), +237 dns: DnsConfig { +238 port: 5300, +239 bind_addr: None, +240 origins: vec!["irohdns.example.".to_string(), ".".to_string()], +241 +242 default_soa: "irohdns.example hostmaster.irohdns.example 0 10800 3600 604800 3600" +243 .to_string(), +244 default_ttl: 900, +245 +246 rr_a: Some(Ipv4Addr::LOCALHOST), +247 rr_aaaa: None, +248 rr_ns: Some("ns1.irohdns.example.".to_string()), +249 }, +250 zone_store: None, +251 metrics: None, +252 mainline: None, +253 pkarr_put_rate_limit: RateLimitConfig::default(), +254 data_dir: None, +255 } +256 } +257} \ No newline at end of file diff --git a/pr/3734/docs/src/iroh_dns_server/http.rs.html b/pr/3734/docs/src/iroh_dns_server/http.rs.html index f72f3916c1..d732192458 100644 --- a/pr/3734/docs/src/iroh_dns_server/http.rs.html +++ b/pr/3734/docs/src/iroh_dns_server/http.rs.html @@ -2,273 +2,513 @@ 2 3use std::{ 4 net::{IpAddr, Ipv4Addr, SocketAddr}, -5 time::Instant, -6}; -7 -8use axum::{ -9 Router, -10 extract::{ConnectInfo, Request, State}, -11 handler::Handler, -12 http::Method, -13 middleware::{self, Next}, -14 response::IntoResponse, -15 routing::get, -16}; -17use n0_error::{Result, StdResultExt, anyerr, bail_any}; -18use serde::{Deserialize, Serialize}; -19use tokio::{net::TcpListener, task::JoinSet}; -20use tower_http::{ -21 cors::{self, CorsLayer}, -22 trace::TraceLayer, -23}; -24use tracing::{Level, info, span, warn}; -25 -26mod doh; -27mod error; -28mod pkarr; -29mod rate_limiting; -30mod tls; -31 -32pub use self::{rate_limiting::RateLimitConfig, tls::CertMode}; -33use crate::{config::Config, state::AppState}; -34 -35/// Config for the HTTP server -36#[derive(Debug, Serialize, Deserialize, Clone)] -37pub struct HttpConfig { -38 /// Port to bind to -39 pub port: u16, -40 /// Optionally set a custom bind address (will use 0.0.0.0 if unset) -41 pub bind_addr: Option<IpAddr>, -42} -43 -44/// Config for the HTTPS server -45#[derive(Debug, Serialize, Deserialize, Clone)] -46pub struct HttpsConfig { -47 /// Port to bind to -48 pub port: u16, -49 /// Optionally set a custom bind address (will use 0.0.0.0 if unset) -50 pub bind_addr: Option<IpAddr>, -51 /// The list of domains for which SSL certificates should be created. -52 pub domains: Vec<String>, -53 /// The mode of SSL certificate creation -54 pub cert_mode: CertMode, -55 /// Letsencrypt contact email address (required if using [`CertMode::LetsEncrypt`]) -56 pub letsencrypt_contact: Option<String>, -57 /// Whether to use the letsenrypt production servers (only applies to [`CertMode::LetsEncrypt`]) -58 pub letsencrypt_prod: Option<bool>, -59} -60 -61/// The HTTP(S) server part of iroh-dns-server -62pub struct HttpServer { -63 tasks: JoinSet<std::io::Result<()>>, -64 http_addr: Option<SocketAddr>, -65 https_addr: Option<SocketAddr>, -66} -67 -68impl HttpServer { -69 /// Spawn the server -70 pub async fn spawn( -71 http_config: Option<HttpConfig>, -72 https_config: Option<HttpsConfig>, -73 rate_limit_config: RateLimitConfig, -74 state: AppState, -75 ) -> Result<HttpServer> { -76 if http_config.is_none() && https_config.is_none() { -77 bail_any!("Either http or https config is required"); -78 } -79 -80 let app = create_app(state, &rate_limit_config); +5 path::PathBuf, +6 time::Instant, +7}; +8 +9use axum::{ +10 Json, Router, +11 extract::{ConnectInfo, Request, State}, +12 handler::Handler, +13 http::Method, +14 middleware::{self, Next}, +15 response::IntoResponse, +16 routing::get, +17}; +18use n0_error::{Result, StdResultExt, anyerr, bail_any}; +19use serde::{Deserialize, Serialize}; +20use tokio::{net::TcpListener, task::JoinSet}; +21use tower_http::{ +22 cors::{self, CorsLayer}, +23 trace::TraceLayer, +24}; +25use tracing::{Level, info, span, warn}; +26 +27mod doh; +28mod error; +29mod pkarr; +30mod rate_limiting; +31mod tls; +32 +33pub use self::{rate_limiting::RateLimitConfig, tls::CertMode}; +34use crate::state::AppState; +35 +36/// Config for the HTTP server +37#[derive(Debug, Serialize, Deserialize, Clone)] +38pub struct HttpConfig { +39 /// Port to bind to +40 pub port: u16, +41 /// Optionally set a custom bind address (will use 0.0.0.0 if unset) +42 pub bind_addr: Option<IpAddr>, +43} +44 +45/// Config for the HTTPS server +46#[derive(Debug, Serialize, Deserialize, Clone)] +47pub struct HttpsConfig { +48 /// Port to bind to +49 pub port: u16, +50 /// Optionally set a custom bind address (will use 0.0.0.0 if unset) +51 pub bind_addr: Option<IpAddr>, +52 /// The list of domains for which SSL certificates should be created. +53 pub domains: Vec<String>, +54 /// The mode of SSL certificate creation +55 pub cert_mode: CertMode, +56 /// Letsencrypt contact email address (required if using [`CertMode::LetsEncrypt`]) +57 pub letsencrypt_contact: Option<String>, +58 /// Whether to use the letsenrypt production servers (only applies to [`CertMode::LetsEncrypt`]) +59 pub letsencrypt_prod: Option<bool>, +60} +61 +62/// The HTTP(S) server part of iroh-dns-server +63pub struct HttpServer { +64 tasks: JoinSet<std::io::Result<()>>, +65 http_addr: Option<SocketAddr>, +66 https_addr: Option<SocketAddr>, +67} +68 +69impl HttpServer { +70 /// Spawn the server +71 pub async fn spawn( +72 http_config: Option<HttpConfig>, +73 https_config: Option<HttpsConfig>, +74 rate_limit_config: RateLimitConfig, +75 state: AppState, +76 cert_cache_dir: PathBuf, +77 ) -> Result<HttpServer> { +78 if http_config.is_none() && https_config.is_none() { +79 bail_any!("Either http or https config is required"); +80 } 81 -82 let mut tasks = JoinSet::new(); +82 let app = create_app(state, &rate_limit_config); 83 -84 // launch http -85 let http_addr = if let Some(config) = http_config { -86 let bind_addr = SocketAddr::new( -87 config.bind_addr.unwrap_or(Ipv4Addr::UNSPECIFIED.into()), -88 config.port, -89 ); -90 let app = app.clone(); -91 let listener = TcpListener::bind(bind_addr) -92 .await -93 .anyerr()? -94 .into_std() -95 .anyerr()?; -96 let bound_addr = listener.local_addr().anyerr()?; -97 let fut = axum_server::from_tcp(listener) -98 .serve(app.into_make_service_with_connect_info::<SocketAddr>()); -99 info!("HTTP server listening on {bind_addr}"); -100 tasks.spawn(fut); -101 Some(bound_addr) -102 } else { -103 None -104 }; -105 -106 // launch https -107 let https_addr = if let Some(config) = https_config { -108 let bind_addr = SocketAddr::new( -109 config.bind_addr.unwrap_or(Ipv4Addr::UNSPECIFIED.into()), -110 config.port, -111 ); -112 let acceptor = { -113 let cache_path = Config::data_dir()? -114 .join("cert_cache") -115 .join(config.cert_mode.to_string()); -116 tokio::fs::create_dir_all(&cache_path) -117 .await -118 .with_std_context(|_| { -119 format!("failed to create cert cache dir at {cache_path:?}") -120 })?; -121 config -122 .cert_mode -123 .build( -124 config.domains, -125 cache_path, -126 config.letsencrypt_contact, -127 config.letsencrypt_prod.unwrap_or(false), -128 ) -129 .await? -130 }; -131 let listener = TcpListener::bind(bind_addr) -132 .await -133 .anyerr()? -134 .into_std() -135 .anyerr()?; -136 let bound_addr = listener.local_addr().anyerr()?; -137 let fut = axum_server::from_tcp(listener) -138 .acceptor(acceptor) -139 .serve(app.into_make_service_with_connect_info::<SocketAddr>()); -140 info!("HTTPS server listening on {bind_addr}"); -141 tasks.spawn(fut); -142 Some(bound_addr) -143 } else { -144 None -145 }; -146 -147 Ok(HttpServer { -148 tasks, -149 http_addr, -150 https_addr, -151 }) -152 } -153 -154 /// Get the bound address of the HTTP socket. -155 pub fn http_addr(&self) -> Option<SocketAddr> { -156 self.http_addr -157 } -158 -159 /// Get the bound address of the HTTPS socket. -160 pub fn https_addr(&self) -> Option<SocketAddr> { -161 self.https_addr -162 } -163 -164 /// Shutdown the server and wait for all tasks to complete. -165 pub async fn shutdown(mut self) -> Result<()> { -166 // TODO: Graceful cancellation. -167 self.tasks.abort_all(); -168 self.run_until_done().await?; -169 Ok(()) -170 } -171 -172 /// Wait for all tasks to complete. -173 /// -174 /// Runs forever unless tasks fail. -175 pub async fn run_until_done(mut self) -> Result<()> { -176 let mut final_res: Result<()> = Ok(()); -177 while let Some(res) = self.tasks.join_next().await { -178 match res { -179 Ok(Ok(())) => {} -180 Err(err) if err.is_cancelled() => {} -181 Ok(Err(err)) => { -182 warn!(?err, "task failed"); -183 final_res = Err(anyerr!(err, "task")); -184 } -185 Err(err) => { -186 warn!(?err, "task panicked"); -187 final_res = Err(anyerr!(err, "join")); -188 } -189 } -190 } -191 final_res -192 } -193} -194 -195pub(crate) fn create_app(state: AppState, rate_limit_config: &RateLimitConfig) -> Router { -196 // configure cors middleware -197 let cors = CorsLayer::new() -198 // allow `GET` and `POST` when accessing the resource -199 .allow_methods([Method::GET, Method::POST, Method::PUT]) -200 // allow requests from any origin -201 .allow_origin(cors::Any); -202 -203 // configure tracing middleware -204 let trace = TraceLayer::new_for_http().make_span_with(|request: &http::Request<_>| { -205 let conn_info = request -206 .extensions() -207 .get::<ConnectInfo<SocketAddr>>() -208 .expect("connectinfo extension to be present"); -209 let span = span!( -210 Level::DEBUG, -211 "http_request", -212 method = ?request.method(), -213 uri = ?request.uri(), -214 src = %conn_info.0, -215 ); -216 span -217 }); -218 -219 // configure rate limiting middleware -220 let rate_limit = rate_limiting::create(rate_limit_config); -221 -222 // configure routes -223 // -224 // only the pkarr::put route gets a rate limit -225 let router = Router::new() -226 .route("/dns-query", get(doh::get).post(doh::post)) -227 .route( -228 "/pkarr/{key}", -229 if let Some(rate_limit) = rate_limit { -230 get(pkarr::get).put(pkarr::put.layer(rate_limit)) -231 } else { -232 get(pkarr::get).put(pkarr::put) -233 }, -234 ) -235 .route("/healthcheck", get(|| async { "OK" })) -236 .route("/", get(|| async { "Hi!" })) -237 .with_state(state.clone()); -238 -239 // configure app -240 router -241 .layer(cors) -242 .layer(trace) -243 .route_layer(middleware::from_fn_with_state(state, metrics_middleware)) -244} -245 -246/// Record request metrics. -247// TODO: -248// * Request duration would be much better tracked as a histogram. -249// * It would be great to attach labels to the metrics, so that the recorded metrics -250// can filter by method etc. -251// -252// See also -253// https://github.com/tokio-rs/axum/blob/main/examples/prometheus-metrics/src/main.rs#L114 -254async fn metrics_middleware( -255 State(state): State<AppState>, -256 req: Request, -257 next: Next, -258) -> impl IntoResponse { -259 let start = Instant::now(); -260 let response = next.run(req).await; -261 let latency = start.elapsed().as_millis(); -262 let status = response.status(); -263 state -264 .metrics -265 .http_requests_duration_ms -266 .inc_by(latency as u64); -267 state.metrics.http_requests.inc(); -268 if status.is_success() { -269 state.metrics.http_requests_success.inc(); -270 } else { -271 state.metrics.http_requests_error.inc(); -272 } -273 response -274} \ No newline at end of file +84 let mut tasks = JoinSet::new(); +85 +86 // launch http +87 let http_addr = if let Some(config) = http_config { +88 let bind_addr = SocketAddr::new( +89 config.bind_addr.unwrap_or(Ipv4Addr::UNSPECIFIED.into()), +90 config.port, +91 ); +92 let app = app.clone(); +93 let listener = TcpListener::bind(bind_addr) +94 .await +95 .anyerr()? +96 .into_std() +97 .anyerr()?; +98 let bound_addr = listener.local_addr().anyerr()?; +99 let fut = axum_server::from_tcp(listener) +100 .serve(app.into_make_service_with_connect_info::<SocketAddr>()); +101 info!("HTTP server listening on {bind_addr}"); +102 tasks.spawn(fut); +103 Some(bound_addr) +104 } else { +105 None +106 }; +107 +108 // launch https +109 let https_addr = if let Some(config) = https_config { +110 let bind_addr = SocketAddr::new( +111 config.bind_addr.unwrap_or(Ipv4Addr::UNSPECIFIED.into()), +112 config.port, +113 ); +114 let acceptor = { +115 tokio::fs::create_dir_all(&cert_cache_dir) +116 .await +117 .with_std_context(|_| { +118 format!( +119 "failed to create cert cache dir at {}", +120 cert_cache_dir.display() +121 ) +122 })?; +123 config +124 .cert_mode +125 .build( +126 config.domains, +127 cert_cache_dir, +128 config.letsencrypt_contact, +129 config.letsencrypt_prod.unwrap_or(false), +130 ) +131 .await? +132 }; +133 let listener = TcpListener::bind(bind_addr) +134 .await +135 .anyerr()? +136 .into_std() +137 .anyerr()?; +138 let bound_addr = listener.local_addr().anyerr()?; +139 let fut = axum_server::from_tcp(listener) +140 .acceptor(acceptor) +141 .serve(app.into_make_service_with_connect_info::<SocketAddr>()); +142 info!("HTTPS server listening on {bind_addr}"); +143 tasks.spawn(fut); +144 Some(bound_addr) +145 } else { +146 None +147 }; +148 +149 Ok(HttpServer { +150 tasks, +151 http_addr, +152 https_addr, +153 }) +154 } +155 +156 /// Get the bound address of the HTTP socket. +157 pub fn http_addr(&self) -> Option<SocketAddr> { +158 self.http_addr +159 } +160 +161 /// Get the bound address of the HTTPS socket. +162 pub fn https_addr(&self) -> Option<SocketAddr> { +163 self.https_addr +164 } +165 +166 /// Shutdown the server and wait for all tasks to complete. +167 pub async fn shutdown(mut self) -> Result<()> { +168 // TODO: Graceful cancellation. +169 self.tasks.abort_all(); +170 self.run_until_done().await?; +171 Ok(()) +172 } +173 +174 /// Wait for all tasks to complete. +175 /// +176 /// Runs forever unless tasks fail. +177 pub async fn run_until_done(mut self) -> Result<()> { +178 let mut final_res: Result<()> = Ok(()); +179 while let Some(res) = self.tasks.join_next().await { +180 match res { +181 Ok(Ok(())) => {} +182 Err(err) if err.is_cancelled() => {} +183 Ok(Err(err)) => { +184 warn!(?err, "task failed"); +185 final_res = Err(anyerr!(err, "task")); +186 } +187 Err(err) => { +188 warn!(?err, "task panicked"); +189 final_res = Err(anyerr!(err, "join")); +190 } +191 } +192 } +193 final_res +194 } +195} +196 +197/// Health check response +198#[derive(Serialize)] +199struct Health { +200 status: &'static str, +201 version: &'static str, +202 git_hash: &'static str, +203} +204 +205async fn healthz() -> Json<Health> { +206 Json(Health { +207 status: "ok", +208 version: env!("CARGO_PKG_VERSION"), +209 git_hash: option_env!("VERGEN_GIT_SHA").unwrap_or("unknown"), +210 }) +211} +212 +213pub(crate) fn create_app(state: AppState, rate_limit_config: &RateLimitConfig) -> Router { +214 // configure cors middleware +215 let cors = CorsLayer::new() +216 // allow `GET` and `POST` when accessing the resource +217 .allow_methods([Method::GET, Method::POST, Method::PUT]) +218 // allow requests from any origin +219 .allow_origin(cors::Any); +220 +221 // configure tracing middleware +222 let trace = TraceLayer::new_for_http().make_span_with(|request: &http::Request<_>| { +223 let conn_info = request +224 .extensions() +225 .get::<ConnectInfo<SocketAddr>>() +226 .expect("connectinfo extension to be present"); +227 let span = span!( +228 Level::DEBUG, +229 "http_request", +230 method = ?request.method(), +231 uri = ?request.uri(), +232 src = %conn_info.0, +233 ); +234 span +235 }); +236 +237 // configure rate limiting middleware +238 let rate_limit = rate_limiting::create(rate_limit_config); +239 +240 // configure routes +241 // +242 // only the pkarr::put route gets a rate limit +243 let router = Router::new() +244 .route("/dns-query", get(doh::get).post(doh::post)) +245 .route( +246 "/pkarr/{key}", +247 if let Some(rate_limit) = rate_limit { +248 get(pkarr::get).put(pkarr::put.layer(rate_limit)) +249 } else { +250 get(pkarr::get).put(pkarr::put) +251 }, +252 ) +253 // Deprecated: use /healthz instead +254 .route("/healthcheck", get(|| async { "OK" })) +255 .route("/healthz", get(healthz)) +256 .route("/", get(|| async { "Hi!" })) +257 .with_state(state.clone()); +258 +259 // configure app +260 router +261 .layer(cors) +262 .layer(trace) +263 .route_layer(middleware::from_fn_with_state(state, metrics_middleware)) +264} +265 +266/// Record request metrics. +267// TODO: +268// * Request duration would be much better tracked as a histogram. +269// * It would be great to attach labels to the metrics, so that the recorded metrics +270// can filter by method etc. +271// +272// See also +273// https://github.com/tokio-rs/axum/blob/main/examples/prometheus-metrics/src/main.rs#L114 +274async fn metrics_middleware( +275 State(state): State<AppState>, +276 req: Request, +277 next: Next, +278) -> impl IntoResponse { +279 let start = Instant::now(); +280 let response = next.run(req).await; +281 let latency = start.elapsed().as_millis(); +282 let status = response.status(); +283 state +284 .metrics +285 .http_requests_duration_ms +286 .inc_by(latency as u64); +287 state.metrics.http_requests.inc(); +288 if status.is_success() { +289 state.metrics.http_requests_success.inc(); +290 } else { +291 state.metrics.http_requests_error.inc(); +292 } +293 response +294} +295 +296#[cfg(test)] +297mod tests { +298 use std::net::{IpAddr, Ipv4Addr}; +299 +300 use hickory_resolver::{ +301 config::{NameServerConfig, ResolverConfig, ResolverOpts}, +302 name_server::TokioConnectionProvider, +303 }; +304 use hickory_server::proto::rr::RecordType; +305 use iroh::{ +306 RelayUrl, SecretKey, +307 discovery::{EndpointInfo, pkarr::PkarrRelayClient}, +308 endpoint_info::EndpointIdExt, +309 }; +310 use n0_error::StdResultExt; +311 use n0_tracing_test::traced_test; +312 use rand::SeedableRng; +313 +314 use crate::{http::HttpsConfig, server::Server}; +315 +316 #[tokio::test] +317 #[traced_test] +318 async fn test_doh() -> n0_error::Result { +319 let mut rng = rand_chacha::ChaCha12Rng::seed_from_u64(0); +320 let dir = tempfile::tempdir()?; +321 let https_config = HttpsConfig { +322 port: 0, +323 bind_addr: Some(IpAddr::V4(Ipv4Addr::LOCALHOST)), +324 domains: vec!["localhost".to_string()], +325 cert_mode: crate::http::CertMode::SelfSigned, +326 letsencrypt_contact: None, +327 letsencrypt_prod: None, +328 }; +329 let server = +330 Server::spawn_for_tests_with_options(dir.path(), None, None, Some(https_config)) +331 .await?; +332 +333 const RELAY_URL: &str = "https://relay.example./"; +334 let (name_z32, signed_packet) = { +335 let secret_key = SecretKey::generate(&mut rng); +336 let endpoint_id = secret_key.public(); +337 let relay_url: RelayUrl = RELAY_URL.parse().expect("valid url"); +338 let endpoint_info = +339 EndpointInfo::new(endpoint_id).with_relay_url(Some(relay_url.clone())); +340 ( +341 secret_key.public().to_z32(), +342 endpoint_info.to_pkarr_signed_packet(&secret_key, 30)?, +343 ) +344 }; +345 +346 let http_url = server.http_url().expect("http is bound"); +347 let pkarr = PkarrRelayClient::new(format!("{http_url}pkarr").parse().anyerr()?); +348 pkarr.publish(&signed_packet).await?; +349 +350 // Create a reqwest client that does not verify certificates. +351 let client = reqwest::Client::builder() +352 .http2_prior_knowledge() +353 .use_preconfigured_tls(self::tls::insecure_tls_config()) +354 .build() +355 .anyerr()?; +356 +357 // Fetch as JSON via HTTP. +358 let url = format!( +359 "{http_url}dns-query?name={}&type=txt", +360 format_args!("_iroh.{name_z32}."), +361 ); +362 let res = client +363 .get(url) +364 .header("accept", "application/dns-json") +365 .send() +366 .await +367 .anyerr()? +368 .json::<super::doh::DnsResponse>() +369 .await +370 .anyerr()?; +371 assert_eq!(res.answer.len(), 1); +372 assert_eq!(res.answer[0].name, format!("_iroh.{name_z32}.")); +373 assert_eq!(res.answer[0].data, format!("relay={RELAY_URL}")); +374 +375 // Fetch as JSON via HTTPS. +376 let https_url = server.https_url().expect("https is bound"); +377 let url = format!( +378 "{https_url}dns-query?name={}&type=txt", +379 format_args!("_iroh.{name_z32}."), +380 ); +381 let res = client +382 .get(url) +383 .header("accept", "application/dns-json") +384 .send() +385 .await +386 .anyerr()? +387 .json::<super::doh::DnsResponse>() +388 .await +389 .anyerr()?; +390 assert_eq!(res.answer.len(), 1); +391 assert_eq!(res.answer[0].name, format!("_iroh.{name_z32}.")); +392 assert_eq!(res.answer[0].data, format!("relay={RELAY_URL}")); +393 +394 // Fetch over HTTPS via hickory-resolver +395 let client = { +396 let config = { +397 let mut config = ResolverConfig::new(); +398 let mut name_server = NameServerConfig::new( +399 server.https_addr().expect("https is bound"), +400 hickory_server::proto::xfer::Protocol::Https, +401 ); +402 name_server.tls_dns_name = Some("localhost".to_string()); +403 config.add_name_server(name_server); +404 config +405 }; +406 +407 let opts = { +408 let mut opts = ResolverOpts::default(); +409 opts.tls_config = self::tls::insecure_tls_config(); +410 opts +411 }; +412 +413 hickory_resolver::Resolver::builder_with_config( +414 config, +415 TokioConnectionProvider::default(), +416 ) +417 .with_options(opts) +418 .build() +419 }; +420 +421 let res = client +422 .txt_lookup(format!("_iroh.{name_z32}.")) +423 .await +424 .anyerr()?; +425 let records = res.as_lookup().records(); +426 assert_eq!(records.len(), 1); +427 assert_eq!(records[0].record_type(), RecordType::TXT); +428 let txt_data = records[0].data().as_txt().unwrap().txt_data(); +429 assert_eq!(&txt_data[0][..], format!("relay={RELAY_URL}").as_bytes()); +430 +431 server.shutdown().await?; +432 Ok(()) +433 } +434 +435 mod tls { +436 use std::sync::Arc; +437 +438 use rustls::{ +439 DigitallySignedStruct, RootCertStore, +440 client::{ +441 ClientConfig, +442 danger::{HandshakeSignatureValid, ServerCertVerified, ServerCertVerifier}, +443 }, +444 crypto::{ +445 CryptoProvider, ring::default_provider, verify_tls12_signature, +446 verify_tls13_signature, +447 }, +448 pki_types::{CertificateDer, ServerName, UnixTime}, +449 }; +450 +451 #[derive(Debug)] +452 struct NoCertificateVerification(CryptoProvider); +453 +454 impl Default for NoCertificateVerification { +455 fn default() -> Self { +456 Self(default_provider()) +457 } +458 } +459 +460 impl ServerCertVerifier for NoCertificateVerification { +461 fn verify_server_cert( +462 &self, +463 _end_entity: &CertificateDer<'_>, +464 _intermediates: &[CertificateDer<'_>], +465 _server_name: &ServerName<'_>, +466 _ocsp: &[u8], +467 _now: UnixTime, +468 ) -> Result<ServerCertVerified, rustls::Error> { +469 Ok(ServerCertVerified::assertion()) +470 } +471 +472 fn verify_tls12_signature( +473 &self, +474 message: &[u8], +475 cert: &CertificateDer<'_>, +476 dss: &DigitallySignedStruct, +477 ) -> Result<HandshakeSignatureValid, rustls::Error> { +478 verify_tls12_signature( +479 message, +480 cert, +481 dss, +482 &self.0.signature_verification_algorithms, +483 ) +484 } +485 +486 fn verify_tls13_signature( +487 &self, +488 message: &[u8], +489 cert: &CertificateDer<'_>, +490 dss: &DigitallySignedStruct, +491 ) -> Result<HandshakeSignatureValid, rustls::Error> { +492 verify_tls13_signature( +493 message, +494 cert, +495 dss, +496 &self.0.signature_verification_algorithms, +497 ) +498 } +499 +500 fn supported_verify_schemes(&self) -> Vec<rustls::SignatureScheme> { +501 self.0.signature_verification_algorithms.supported_schemes() +502 } +503 } +504 +505 pub(super) fn insecure_tls_config() -> ClientConfig { +506 let mut cfg = ClientConfig::builder() +507 .with_root_certificates(RootCertStore::empty()) +508 .with_no_client_auth(); +509 cfg.dangerous() +510 .set_certificate_verifier(Arc::new(NoCertificateVerification::default())); +511 cfg +512 } +513 } +514} \ No newline at end of file diff --git a/pr/3734/docs/src/iroh_dns_server/http/doh.rs.html b/pr/3734/docs/src/iroh_dns_server/http/doh.rs.html index 0dfde9ad30..121aa63821 100644 --- a/pr/3734/docs/src/iroh_dns_server/http/doh.rs.html +++ b/pr/3734/docs/src/iroh_dns_server/http/doh.rs.html @@ -25,54 +25,56 @@ 25mod response; 26 27use self::extract::{DnsMimeType, DnsRequestBody, DnsRequestQuery}; -28 -29/// GET handler for resolving DoH queries -30pub async fn get( -31 State(state): State<AppState>, -32 DnsRequestQuery(request, accept_type): DnsRequestQuery, -33) -> AppResult<Response> { -34 let message_bytes = state.dns_handler.answer_request(request).await?; -35 let message = proto::op::Message::from_bytes(&message_bytes).anyerr()?; -36 -37 let min_ttl = message.answers().iter().map(|rec| rec.ttl()).min(); +28#[cfg(test)] +29pub(crate) use self::response::DnsResponse; +30 +31/// GET handler for resolving DoH queries +32pub async fn get( +33 State(state): State<AppState>, +34 DnsRequestQuery(request, accept_type): DnsRequestQuery, +35) -> AppResult<Response> { +36 let message_bytes = state.dns_handler.answer_request(request).await?; +37 let message = proto::op::Message::from_bytes(&message_bytes).anyerr()?; 38 -39 let mut response = match accept_type { -40 DnsMimeType::Message => (StatusCode::OK, message_bytes).into_response(), -41 DnsMimeType::Json => { -42 let response = self::response::DnsResponse::from_message(message)?; -43 (StatusCode::OK, Json(response)).into_response() -44 } -45 }; -46 -47 response -48 .headers_mut() -49 .insert(CONTENT_TYPE, accept_type.to_header_value()); -50 -51 if let Some(min_ttl) = min_ttl { -52 let maxage = HeaderValue::from_str(&format!("s-maxage={min_ttl}")).anyerr()?; -53 response.headers_mut().insert(CACHE_CONTROL, maxage); -54 } -55 -56 Ok(response) -57} -58 -59/// POST handler for resolvng DoH queries -60pub async fn post( -61 State(state): State<AppState>, -62 DnsRequestBody(request): DnsRequestBody, -63) -> Response { -64 let response = match state.dns_handler.answer_request(request).await { -65 Ok(response) => response, -66 Err(err) => return (StatusCode::INTERNAL_SERVER_ERROR, err.to_string()).into_response(), -67 }; -68 -69 ( -70 StatusCode::OK, -71 [(CONTENT_TYPE, DnsMimeType::Message.to_string())], -72 response, -73 ) -74 .into_response() -75} -76 -77// TODO: Port tests from -78// https://github.com/fission-codes/fission-server/blob/main/fission-server/src/routes/doh.rs \ No newline at end of file +39 let min_ttl = message.answers().iter().map(|rec| rec.ttl()).min(); +40 +41 let mut response = match accept_type { +42 DnsMimeType::Message => (StatusCode::OK, message_bytes).into_response(), +43 DnsMimeType::Json => { +44 let response = self::response::DnsResponse::from_message(message)?; +45 (StatusCode::OK, Json(response)).into_response() +46 } +47 }; +48 +49 response +50 .headers_mut() +51 .insert(CONTENT_TYPE, accept_type.to_header_value()); +52 +53 if let Some(min_ttl) = min_ttl { +54 let maxage = HeaderValue::from_str(&format!("s-maxage={min_ttl}")).anyerr()?; +55 response.headers_mut().insert(CACHE_CONTROL, maxage); +56 } +57 +58 Ok(response) +59} +60 +61/// POST handler for resolvng DoH queries +62pub async fn post( +63 State(state): State<AppState>, +64 DnsRequestBody(request): DnsRequestBody, +65) -> Response { +66 let response = match state.dns_handler.answer_request(request).await { +67 Ok(response) => response, +68 Err(err) => return (StatusCode::INTERNAL_SERVER_ERROR, err.to_string()).into_response(), +69 }; +70 +71 ( +72 StatusCode::OK, +73 [(CONTENT_TYPE, DnsMimeType::Message.to_string())], +74 response, +75 ) +76 .into_response() +77} +78 +79// TODO: Port tests from +80// https://github.com/fission-codes/fission-server/blob/main/fission-server/src/routes/doh.rs \ No newline at end of file diff --git a/pr/3734/docs/src/iroh_dns_server/http/doh/response.rs.html b/pr/3734/docs/src/iroh_dns_server/http/doh/response.rs.html index 666441c687..610e2ab8ad 100644 --- a/pr/3734/docs/src/iroh_dns_server/http/doh/response.rs.html +++ b/pr/3734/docs/src/iroh_dns_server/http/doh/response.rs.html @@ -48,17 +48,17 @@ 48 /// Create a new JSON response from a DNS message 49 pub fn from_message(message: proto::op::Message) -> Result<Self> { 50 ensure_any!( -51 message.message_type() != proto::op::MessageType::Response, +51 message.message_type() == proto::op::MessageType::Response, 52 "Expected message type to be response" 53 ); 54 55 ensure_any!( -56 message.query_count() != message.queries().len() as u16, +56 message.query_count() == message.queries().len() as u16, 57 "Query count mismatch" 58 ); 59 60 ensure_any!( -61 message.answer_count() != message.answers().len() as u16, +61 message.answer_count() == message.answers().len() as u16, 62 "Answer count mismatch" 63 ); 64 diff --git a/pr/3734/docs/src/iroh_dns_server/lib.rs.html b/pr/3734/docs/src/iroh_dns_server/lib.rs.html index ca737f43ba..c6c695f5d6 100644 --- a/pr/3734/docs/src/iroh_dns_server/lib.rs.html +++ b/pr/3734/docs/src/iroh_dns_server/lib.rs.html @@ -26,9 +26,9 @@ 26 endpoint_info::EndpointInfo, 27 }; 28 use n0_error::{Result, StdResultExt}; -29 use pkarr::{SignedPacket, Timestamp}; -30 use rand::{CryptoRng, SeedableRng}; -31 use tracing_test::traced_test; +29 use n0_tracing_test::traced_test; +30 use pkarr::{SignedPacket, Timestamp}; +31 use rand::{CryptoRng, SeedableRng}; 32 33 use crate::{ 34 ZoneStore, @@ -43,237 +43,244 @@ 43 #[tokio::test] 44 #[traced_test] 45 async fn pkarr_publish_dns_resolve() -> Result { -46 let (server, nameserver, http_url) = Server::spawn_for_tests().await?; -47 let pkarr_relay_url = { -48 let mut url = http_url.clone(); -49 url.set_path("/pkarr"); -50 url -51 }; -52 let signed_packet = { -53 use pkarr::dns; -54 let keypair = pkarr::Keypair::random(); -55 let mut packet = dns::Packet::new_reply(0); -56 // record at root -57 packet.answers.push(dns::ResourceRecord::new( -58 dns::Name::new("").anyerr()?, -59 dns::CLASS::IN, -60 30, -61 dns::rdata::RData::TXT("hi0".try_into().unwrap()), -62 )); -63 // record at level one -64 packet.answers.push(dns::ResourceRecord::new( -65 dns::Name::new("_hello").anyerr()?, -66 dns::CLASS::IN, -67 30, -68 dns::rdata::RData::TXT("hi1".try_into().unwrap()), -69 )); -70 // record at level two -71 packet.answers.push(dns::ResourceRecord::new( -72 dns::Name::new("_hello.world").anyerr()?, -73 dns::CLASS::IN, -74 30, -75 dns::rdata::RData::TXT("hi2".try_into().unwrap()), -76 )); -77 // multiple records for same name -78 packet.answers.push(dns::ResourceRecord::new( -79 dns::Name::new("multiple").anyerr()?, -80 dns::CLASS::IN, -81 30, -82 dns::rdata::RData::TXT("hi3".try_into().unwrap()), -83 )); -84 packet.answers.push(dns::ResourceRecord::new( -85 dns::Name::new("multiple").anyerr()?, -86 dns::CLASS::IN, -87 30, -88 dns::rdata::RData::TXT("hi4".try_into().unwrap()), -89 )); -90 // record of type A -91 packet.answers.push(dns::ResourceRecord::new( -92 dns::Name::new("").anyerr()?, -93 dns::CLASS::IN, -94 30, -95 dns::rdata::RData::A(Ipv4Addr::LOCALHOST.into()), -96 )); -97 // record of type AAAA -98 packet.answers.push(dns::ResourceRecord::new( -99 dns::Name::new("foo.bar.baz").anyerr()?, -100 dns::CLASS::IN, -101 30, -102 dns::rdata::RData::AAAA(Ipv6Addr::LOCALHOST.into()), -103 )); -104 SignedPacket::new(&keypair, &packet.answers, Timestamp::now()).anyerr()? -105 }; -106 let pkarr_client = pkarr::Client::builder() -107 .no_default_network() -108 .relays(&[pkarr_relay_url]) -109 .anyerr()? -110 .build() -111 .anyerr()?; -112 pkarr_client.publish(&signed_packet, None).await.anyerr()?; -113 -114 use hickory_server::proto::rr::Name; -115 let pubkey = signed_packet.public_key().to_z32(); -116 let resolver = test_resolver(nameserver); -117 -118 // resolve root record -119 let name = Name::from_utf8(format!("{pubkey}.")).anyerr()?; -120 let res = resolver.lookup_txt(name, DNS_TIMEOUT).await?; -121 let records = res.into_iter().map(|t| t.to_string()).collect::<Vec<_>>(); -122 assert_eq!(records, vec!["hi0".to_string()]); -123 -124 // resolve level one record -125 let name = Name::from_utf8(format!("_hello.{pubkey}.")).anyerr()?; -126 let res = resolver.lookup_txt(name, DNS_TIMEOUT).await?; -127 let records = res.into_iter().map(|t| t.to_string()).collect::<Vec<_>>(); -128 assert_eq!(records, vec!["hi1".to_string()]); -129 -130 // resolve level two record -131 let name = Name::from_utf8(format!("_hello.world.{pubkey}.")).anyerr()?; -132 let res = resolver.lookup_txt(name, DNS_TIMEOUT).await?; -133 let records = res.into_iter().map(|t| t.to_string()).collect::<Vec<_>>(); -134 assert_eq!(records, vec!["hi2".to_string()]); -135 -136 // resolve multiple records for same name -137 let name = Name::from_utf8(format!("multiple.{pubkey}.")).anyerr()?; -138 let res = resolver.lookup_txt(name, DNS_TIMEOUT).await?; -139 let records = res.into_iter().map(|t| t.to_string()).collect::<Vec<_>>(); -140 assert_eq!(records, vec!["hi3".to_string(), "hi4".to_string()]); -141 -142 // resolve A record -143 let name = Name::from_utf8(format!("{pubkey}.")).anyerr()?; -144 let res = resolver.lookup_ipv4(name, DNS_TIMEOUT).await?; -145 let records = res.collect::<Vec<_>>(); -146 assert_eq!(records, vec![Ipv4Addr::LOCALHOST]); -147 -148 // resolve AAAA record -149 let name = Name::from_utf8(format!("foo.bar.baz.{pubkey}.")).anyerr()?; -150 let res = resolver.lookup_ipv6(name, DNS_TIMEOUT).await?; -151 let records = res.collect::<Vec<_>>(); -152 assert_eq!(records, vec![Ipv6Addr::LOCALHOST]); -153 -154 server.shutdown().await?; -155 Ok(()) -156 } -157 -158 #[tokio::test] -159 #[traced_test] -160 async fn integration_smoke() -> Result { -161 let (server, nameserver, http_url) = Server::spawn_for_tests().await?; -162 -163 let pkarr_relay = { -164 let mut url = http_url.clone(); -165 url.set_path("/pkarr"); -166 url -167 }; -168 -169 let origin = "irohdns.example."; +46 let dir = tempfile::tempdir()?; +47 let server = Server::spawn_for_tests(dir.path()).await?; +48 let pkarr_relay_url = { +49 let mut url = server.http_url().expect("http is bound"); +50 url.set_path("/pkarr"); +51 url +52 }; +53 let signed_packet = { +54 use pkarr::dns; +55 let keypair = pkarr::Keypair::random(); +56 let mut packet = dns::Packet::new_reply(0); +57 // record at root +58 packet.answers.push(dns::ResourceRecord::new( +59 dns::Name::new("").anyerr()?, +60 dns::CLASS::IN, +61 30, +62 dns::rdata::RData::TXT("hi0".try_into().unwrap()), +63 )); +64 // record at level one +65 packet.answers.push(dns::ResourceRecord::new( +66 dns::Name::new("_hello").anyerr()?, +67 dns::CLASS::IN, +68 30, +69 dns::rdata::RData::TXT("hi1".try_into().unwrap()), +70 )); +71 // record at level two +72 packet.answers.push(dns::ResourceRecord::new( +73 dns::Name::new("_hello.world").anyerr()?, +74 dns::CLASS::IN, +75 30, +76 dns::rdata::RData::TXT("hi2".try_into().unwrap()), +77 )); +78 // multiple records for same name +79 packet.answers.push(dns::ResourceRecord::new( +80 dns::Name::new("multiple").anyerr()?, +81 dns::CLASS::IN, +82 30, +83 dns::rdata::RData::TXT("hi3".try_into().unwrap()), +84 )); +85 packet.answers.push(dns::ResourceRecord::new( +86 dns::Name::new("multiple").anyerr()?, +87 dns::CLASS::IN, +88 30, +89 dns::rdata::RData::TXT("hi4".try_into().unwrap()), +90 )); +91 // record of type A +92 packet.answers.push(dns::ResourceRecord::new( +93 dns::Name::new("").anyerr()?, +94 dns::CLASS::IN, +95 30, +96 dns::rdata::RData::A(Ipv4Addr::LOCALHOST.into()), +97 )); +98 // record of type AAAA +99 packet.answers.push(dns::ResourceRecord::new( +100 dns::Name::new("foo.bar.baz").anyerr()?, +101 dns::CLASS::IN, +102 30, +103 dns::rdata::RData::AAAA(Ipv6Addr::LOCALHOST.into()), +104 )); +105 SignedPacket::new(&keypair, &packet.answers, Timestamp::now()).anyerr()? +106 }; +107 let pkarr_client = pkarr::Client::builder() +108 .no_default_network() +109 .relays(&[pkarr_relay_url]) +110 .anyerr()? +111 .build() +112 .anyerr()?; +113 pkarr_client.publish(&signed_packet, None).await.anyerr()?; +114 +115 use hickory_server::proto::rr::Name; +116 let pubkey = signed_packet.public_key().to_z32(); +117 let resolver = test_resolver(server.dns_addr()); +118 +119 // resolve root record +120 let name = Name::from_utf8(format!("{pubkey}.")).anyerr()?; +121 let res = resolver.lookup_txt(name, DNS_TIMEOUT).await?; +122 let records = res.into_iter().map(|t| t.to_string()).collect::<Vec<_>>(); +123 assert_eq!(records, vec!["hi0".to_string()]); +124 +125 // resolve level one record +126 let name = Name::from_utf8(format!("_hello.{pubkey}.")).anyerr()?; +127 let res = resolver.lookup_txt(name, DNS_TIMEOUT).await?; +128 let records = res.into_iter().map(|t| t.to_string()).collect::<Vec<_>>(); +129 assert_eq!(records, vec!["hi1".to_string()]); +130 +131 // resolve level two record +132 let name = Name::from_utf8(format!("_hello.world.{pubkey}.")).anyerr()?; +133 let res = resolver.lookup_txt(name, DNS_TIMEOUT).await?; +134 let records = res.into_iter().map(|t| t.to_string()).collect::<Vec<_>>(); +135 assert_eq!(records, vec!["hi2".to_string()]); +136 +137 // resolve multiple records for same name +138 let name = Name::from_utf8(format!("multiple.{pubkey}.")).anyerr()?; +139 let res = resolver.lookup_txt(name, DNS_TIMEOUT).await?; +140 let records = res.into_iter().map(|t| t.to_string()).collect::<Vec<_>>(); +141 assert_eq!(records, vec!["hi3".to_string(), "hi4".to_string()]); +142 +143 // resolve A record +144 let name = Name::from_utf8(format!("{pubkey}.")).anyerr()?; +145 let res = resolver.lookup_ipv4(name, DNS_TIMEOUT).await?; +146 let records = res.collect::<Vec<_>>(); +147 assert_eq!(records, vec![Ipv4Addr::LOCALHOST]); +148 +149 // resolve AAAA record +150 let name = Name::from_utf8(format!("foo.bar.baz.{pubkey}.")).anyerr()?; +151 let res = resolver.lookup_ipv6(name, DNS_TIMEOUT).await?; +152 let records = res.collect::<Vec<_>>(); +153 assert_eq!(records, vec![Ipv6Addr::LOCALHOST]); +154 +155 server.shutdown().await?; +156 Ok(()) +157 } +158 +159 #[tokio::test] +160 #[traced_test] +161 async fn integration_smoke() -> Result { +162 let dir = tempfile::tempdir()?; +163 let server = Server::spawn_for_tests(dir.path()).await?; +164 +165 let pkarr_relay = { +166 let mut url = server.http_url().expect("http is bound"); +167 url.set_path("/pkarr"); +168 url +169 }; 170 -171 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); +171 let origin = "irohdns.example."; 172 -173 let secret_key = SecretKey::generate(&mut rng); -174 let endpoint_id = secret_key.public(); -175 let pkarr = PkarrRelayClient::new(pkarr_relay); -176 let relay_url: RelayUrl = "https://relay.example.".parse()?; -177 let endpoint_info = EndpointInfo::new(endpoint_id).with_relay_url(Some(relay_url.clone())); -178 let signed_packet = endpoint_info.to_pkarr_signed_packet(&secret_key, 30)?; -179 -180 pkarr.publish(&signed_packet).await?; +173 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); +174 +175 let secret_key = SecretKey::generate(&mut rng); +176 let endpoint_id = secret_key.public(); +177 let pkarr = PkarrRelayClient::new(pkarr_relay); +178 let relay_url: RelayUrl = "https://relay.example.".parse()?; +179 let endpoint_info = EndpointInfo::new(endpoint_id).with_relay_url(Some(relay_url.clone())); +180 let signed_packet = endpoint_info.to_pkarr_signed_packet(&secret_key, 30)?; 181 -182 let resolver = test_resolver(nameserver); -183 let res = resolver.lookup_endpoint_by_id(&endpoint_id, origin).await?; -184 -185 assert_eq!(res.endpoint_id, endpoint_id); -186 assert_eq!(res.relay_urls().next(), Some(&relay_url)); -187 -188 server.shutdown().await?; -189 Ok(()) -190 } -191 -192 #[tokio::test] -193 #[traced_test] -194 async fn store_eviction() -> Result { -195 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); -196 -197 let options = ZoneStoreOptions { -198 eviction: Duration::from_millis(100), -199 eviction_interval: Duration::from_millis(100), -200 max_batch_time: Duration::from_millis(100), -201 ..Default::default() -202 }; -203 let store = ZoneStore::in_memory(options, Default::default())?; -204 -205 // create a signed packet -206 let signed_packet = random_signed_packet(&mut rng)?; -207 let key = PublicKeyBytes::from_signed_packet(&signed_packet); -208 -209 store -210 .insert(signed_packet, PacketSource::PkarrPublish) -211 .await?; -212 -213 tokio::time::sleep(Duration::from_secs(1)).await; -214 for _ in 0..10 { -215 let entry = store.get_signed_packet(&key).await?; -216 if entry.is_none() { -217 return Ok(()); -218 } -219 tokio::time::sleep(Duration::from_secs(1)).await; -220 } -221 panic!("store did not evict packet"); -222 } -223 -224 #[tokio::test] -225 #[traced_test] -226 #[ignore = "flaky"] -227 async fn integration_mainline() -> Result { -228 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); -229 -230 // run a mainline testnet -231 let testnet = pkarr::mainline::Testnet::new_async(5).await.anyerr()?; -232 let bootstrap = testnet.bootstrap.clone(); -233 -234 // spawn our server with mainline support -235 let (server, nameserver, _http_url) = -236 Server::spawn_for_tests_with_options(Some(BootstrapOption::Custom(bootstrap)), None) -237 .await?; -238 -239 let origin = "irohdns.example."; -240 -241 // create a signed packet -242 let secret_key = SecretKey::generate(&mut rng); -243 let endpoint_id = secret_key.public(); -244 let relay_url: RelayUrl = "https://relay.example.".parse()?; -245 let endpoint_info = EndpointInfo::new(endpoint_id).with_relay_url(Some(relay_url.clone())); -246 let signed_packet = endpoint_info.to_pkarr_signed_packet(&secret_key, 30)?; +182 pkarr.publish(&signed_packet).await?; +183 +184 let resolver = test_resolver(server.dns_addr()); +185 let res = resolver.lookup_endpoint_by_id(&endpoint_id, origin).await?; +186 +187 assert_eq!(res.endpoint_id, endpoint_id); +188 assert_eq!(res.relay_urls().next(), Some(&relay_url)); +189 +190 server.shutdown().await?; +191 Ok(()) +192 } +193 +194 #[tokio::test] +195 #[traced_test] +196 async fn store_eviction() -> Result { +197 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); +198 +199 let options = ZoneStoreOptions { +200 eviction: Duration::from_millis(100), +201 eviction_interval: Duration::from_millis(100), +202 max_batch_time: Duration::from_millis(100), +203 ..Default::default() +204 }; +205 let store = ZoneStore::in_memory(options, Default::default())?; +206 +207 // create a signed packet +208 let signed_packet = random_signed_packet(&mut rng)?; +209 let key = PublicKeyBytes::from_signed_packet(&signed_packet); +210 +211 store +212 .insert(signed_packet, PacketSource::PkarrPublish) +213 .await?; +214 +215 tokio::time::sleep(Duration::from_secs(1)).await; +216 for _ in 0..10 { +217 let entry = store.get_signed_packet(&key).await?; +218 if entry.is_none() { +219 return Ok(()); +220 } +221 tokio::time::sleep(Duration::from_secs(1)).await; +222 } +223 panic!("store did not evict packet"); +224 } +225 +226 #[tokio::test] +227 #[traced_test] +228 #[ignore = "flaky"] +229 async fn integration_mainline() -> Result { +230 let dir = tempfile::tempdir()?; +231 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); +232 +233 // run a mainline testnet +234 let testnet = pkarr::mainline::Testnet::new_async(5).await.anyerr()?; +235 let bootstrap = testnet.bootstrap.clone(); +236 +237 // spawn our server with mainline support +238 let server = Server::spawn_for_tests_with_options( +239 dir.path(), +240 Some(BootstrapOption::Custom(bootstrap)), +241 None, +242 None, +243 ) +244 .await?; +245 +246 let origin = "irohdns.example."; 247 -248 // publish the signed packet to our DHT -249 let pkarr = pkarr::Client::builder() -250 .no_default_network() -251 .dht(|builder| builder.bootstrap(&testnet.bootstrap)) -252 .build() -253 .anyerr()?; -254 pkarr.publish(&signed_packet, None).await.anyerr()?; -255 -256 // resolve via DNS from our server, which will lookup from our DHT -257 let resolver = test_resolver(nameserver); -258 let res = resolver.lookup_endpoint_by_id(&endpoint_id, origin).await?; -259 -260 assert_eq!(res.endpoint_id, endpoint_id); -261 assert_eq!(res.relay_urls().next(), Some(&relay_url)); +248 // create a signed packet +249 let secret_key = SecretKey::generate(&mut rng); +250 let endpoint_id = secret_key.public(); +251 let relay_url: RelayUrl = "https://relay.example.".parse()?; +252 let endpoint_info = EndpointInfo::new(endpoint_id).with_relay_url(Some(relay_url.clone())); +253 let signed_packet = endpoint_info.to_pkarr_signed_packet(&secret_key, 30)?; +254 +255 // publish the signed packet to our DHT +256 let pkarr = pkarr::Client::builder() +257 .no_default_network() +258 .dht(|builder| builder.bootstrap(&testnet.bootstrap)) +259 .build() +260 .anyerr()?; +261 pkarr.publish(&signed_packet, None).await.anyerr()?; 262 -263 server.shutdown().await?; -264 Ok(()) -265 } +263 // resolve via DNS from our server, which will lookup from our DHT +264 let resolver = test_resolver(server.dns_addr()); +265 let res = resolver.lookup_endpoint_by_id(&endpoint_id, origin).await?; 266 -267 fn test_resolver(nameserver: SocketAddr) -> DnsResolver { -268 DnsResolver::with_nameserver(nameserver) -269 } -270 -271 fn random_signed_packet<R: CryptoRng + ?Sized>(rng: &mut R) -> Result<SignedPacket> { -272 let secret_key = SecretKey::generate(rng); -273 let endpoint_id = secret_key.public(); -274 let relay_url: RelayUrl = "https://relay.example.".parse()?; -275 let endpoint_info = EndpointInfo::new(endpoint_id).with_relay_url(Some(relay_url.clone())); -276 let packet = endpoint_info.to_pkarr_signed_packet(&secret_key, 30)?; -277 Ok(packet) -278 } -279} \ No newline at end of file +267 assert_eq!(res.endpoint_id, endpoint_id); +268 assert_eq!(res.relay_urls().next(), Some(&relay_url)); +269 +270 server.shutdown().await?; +271 Ok(()) +272 } +273 +274 fn test_resolver(nameserver: SocketAddr) -> DnsResolver { +275 DnsResolver::with_nameserver(nameserver) +276 } +277 +278 fn random_signed_packet<R: CryptoRng + ?Sized>(rng: &mut R) -> Result<SignedPacket> { +279 let secret_key = SecretKey::generate(rng); +280 let endpoint_id = secret_key.public(); +281 let relay_url: RelayUrl = "https://relay.example.".parse()?; +282 let endpoint_info = EndpointInfo::new(endpoint_id).with_relay_url(Some(relay_url.clone())); +283 let packet = endpoint_info.to_pkarr_signed_packet(&secret_key, 30)?; +284 Ok(packet) +285 } +286} \ No newline at end of file diff --git a/pr/3734/docs/src/iroh_dns_server/server.rs.html b/pr/3734/docs/src/iroh_dns_server/server.rs.html index b82ce2016e..bb82abffce 100644 --- a/pr/3734/docs/src/iroh_dns_server/server.rs.html +++ b/pr/3734/docs/src/iroh_dns_server/server.rs.html @@ -1,148 +1,186 @@ server.rs - source

    iroh_dns_server/
    server.rs

    1//! The main server which combines the DNS and HTTP(S) servers.
     2use std::sync::Arc;
    -3
    -4use iroh_metrics::service::start_metrics_server;
    -5use n0_error::{Result, StdResultExt};
    -6use tracing::info;
    -7
    -8use crate::{
    -9    config::Config,
    -10    dns::{DnsHandler, DnsServer},
    -11    http::HttpServer,
    -12    metrics::Metrics,
    -13    state::AppState,
    -14    store::ZoneStore,
    -15};
    -16
    -17/// Spawn the server and run until the `Ctrl-C` signal is received, then shutdown.
    -18pub async fn run_with_config_until_ctrl_c(config: Config) -> Result<()> {
    -19    let metrics = Arc::new(Metrics::default());
    -20    let zone_store_options = config.zone_store.clone().unwrap_or_default();
    -21    let mut store = ZoneStore::persistent(
    -22        Config::signed_packet_store_path()?,
    -23        zone_store_options.into(),
    -24        metrics.clone(),
    -25    )?;
    -26    if let Some(bootstrap) = config.mainline_enabled() {
    -27        info!("mainline fallback enabled");
    -28        store = store.with_mainline_fallback(bootstrap);
    -29    };
    -30    let server = Server::spawn(config, store, metrics).await?;
    -31    tokio::signal::ctrl_c().await.anyerr()?;
    -32    info!("shutdown");
    -33    server.shutdown().await?;
    -34    Ok(())
    -35}
    -36
    -37/// The iroh-dns server.
    -38pub struct Server {
    -39    http_server: HttpServer,
    -40    dns_server: DnsServer,
    -41    metrics_task: tokio::task::JoinHandle<Result<()>>,
    -42}
    -43
    -44impl Server {
    -45    /// Spawn the server.
    -46    ///
    -47    /// This will spawn several background tasks:
    -48    /// * A DNS server task
    -49    /// * A HTTP server task, if `config.http` is not empty
    -50    /// * A HTTPS server task, if `config.https` is not empty
    -51    pub async fn spawn(config: Config, store: ZoneStore, metrics: Arc<Metrics>) -> Result<Self> {
    -52        let dns_handler = DnsHandler::new(store.clone(), &config.dns, metrics.clone())?;
    -53
    -54        let state = AppState {
    -55            store,
    -56            dns_handler,
    -57            metrics: metrics.clone(),
    -58        };
    -59
    -60        let metrics_addr = config.metrics_addr();
    -61        let metrics_task = tokio::task::spawn(async move {
    -62            if let Some(addr) = metrics_addr {
    -63                let mut registry = iroh_metrics::Registry::default();
    -64                registry.register(metrics);
    -65                start_metrics_server(addr, Arc::new(registry))
    -66                    .await
    -67                    .anyerr()?;
    -68            }
    -69            Ok(())
    -70        });
    -71        let http_server = HttpServer::spawn(
    -72            config.http,
    -73            config.https,
    -74            config.pkarr_put_rate_limit,
    -75            state.clone(),
    -76        )
    -77        .await?;
    -78        let dns_server = DnsServer::spawn(config.dns, state.dns_handler.clone()).await?;
    -79        Ok(Self {
    -80            http_server,
    -81            dns_server,
    -82            metrics_task,
    -83        })
    -84    }
    -85
    -86    /// Cancel the server tasks and wait for all tasks to complete.
    -87    pub async fn shutdown(self) -> Result<()> {
    -88        self.metrics_task.abort();
    -89        let (res1, res2) = tokio::join!(self.dns_server.shutdown(), self.http_server.shutdown(),);
    -90        res1?;
    -91        res2?;
    -92        Ok(())
    -93    }
    -94
    -95    /// Wait for all tasks to complete.
    -96    ///
    -97    /// This will run forever unless all tasks close with an error, or `Self::cancel` is called.
    -98    pub async fn run_until_error(self) -> Result<()> {
    -99        tokio::select! {
    -100            res = self.dns_server.run_until_done() => res?,
    -101            res = self.http_server.run_until_done() => res?,
    -102        }
    -103        self.metrics_task.abort();
    -104        Ok(())
    -105    }
    -106
    -107    /// Spawn a server suitable for testing.
    -108    ///
    -109    /// This will run the DNS and HTTP servers, but not the HTTPS server.
    -110    ///
    -111    /// It returns the server handle, the [`SocketAddr`] of the DNS server and the [`Url`] of the
    -112    /// HTTP server.
    -113    #[cfg(test)]
    -114    pub async fn spawn_for_tests() -> Result<(Self, std::net::SocketAddr, url::Url)> {
    -115        Self::spawn_for_tests_with_options(None, None).await
    -116    }
    -117
    -118    /// Spawn a server suitable for testing, while optionally enabling mainline with custom
    -119    /// bootstrap addresses.
    -120    #[cfg(test)]
    -121    pub async fn spawn_for_tests_with_options(
    -122        mainline: Option<crate::config::BootstrapOption>,
    -123        options: Option<crate::store::ZoneStoreOptions>,
    -124    ) -> Result<(Self, std::net::SocketAddr, url::Url)> {
    -125        use std::net::{IpAddr, Ipv4Addr};
    -126
    -127        use crate::config::MetricsConfig;
    -128
    -129        let mut config = Config::default();
    -130        config.dns.port = 0;
    -131        config.dns.bind_addr = Some(IpAddr::V4(Ipv4Addr::LOCALHOST));
    -132        config.http.as_mut().unwrap().port = 0;
    -133        config.http.as_mut().unwrap().bind_addr = Some(IpAddr::V4(Ipv4Addr::LOCALHOST));
    -134        config.https = None;
    -135        config.metrics = Some(MetricsConfig::disabled());
    +3#[cfg(test)]
    +4use std::{net::SocketAddr, path::Path};
    +5
    +6use iroh_metrics::service::start_metrics_server;
    +7use n0_error::{Result, StdResultExt};
    +8use tracing::info;
    +9#[cfg(test)]
    +10use url::Url;
    +11
    +12#[cfg(test)]
    +13use crate::http::HttpsConfig;
    +14use crate::{
    +15    config::Config,
    +16    dns::{DnsHandler, DnsServer},
    +17    http::HttpServer,
    +18    metrics::Metrics,
    +19    state::AppState,
    +20    store::ZoneStore,
    +21};
    +22
    +23/// Spawn the server and run until the `Ctrl-C` signal is received, then shutdown.
    +24pub async fn run_with_config_until_ctrl_c(config: Config) -> Result<()> {
    +25    let metrics = Arc::new(Metrics::default());
    +26    let zone_store_options = config.zone_store.clone().unwrap_or_default();
    +27    let mut store = ZoneStore::persistent(
    +28        config.signed_packet_store_path()?,
    +29        zone_store_options.into(),
    +30        metrics.clone(),
    +31    )?;
    +32    if let Some(bootstrap) = config.mainline_enabled() {
    +33        info!("mainline fallback enabled");
    +34        store = store.with_mainline_fallback(bootstrap);
    +35    };
    +36    let server = Server::spawn(config, store, metrics).await?;
    +37    tokio::signal::ctrl_c().await.anyerr()?;
    +38    info!("shutdown");
    +39    server.shutdown().await?;
    +40    Ok(())
    +41}
    +42
    +43/// The iroh-dns server.
    +44pub struct Server {
    +45    http_server: HttpServer,
    +46    dns_server: DnsServer,
    +47    metrics_task: tokio::task::JoinHandle<Result<()>>,
    +48}
    +49
    +50impl Server {
    +51    /// Spawn the server.
    +52    ///
    +53    /// This will spawn several background tasks:
    +54    /// * A DNS server task
    +55    /// * A HTTP server task, if `config.http` is not empty
    +56    /// * A HTTPS server task, if `config.https` is not empty
    +57    pub async fn spawn(config: Config, store: ZoneStore, metrics: Arc<Metrics>) -> Result<Self> {
    +58        let cert_cache_dir = config.data_dir()?.join("cert_cache");
    +59        let dns_handler = DnsHandler::new(store.clone(), &config.dns, metrics.clone())?;
    +60
    +61        let state = AppState {
    +62            store,
    +63            dns_handler,
    +64            metrics: metrics.clone(),
    +65        };
    +66
    +67        let metrics_addr = config.metrics_addr();
    +68        let metrics_task = tokio::task::spawn(async move {
    +69            if let Some(addr) = metrics_addr {
    +70                let mut registry = iroh_metrics::Registry::default();
    +71                registry.register(metrics);
    +72                start_metrics_server(addr, Arc::new(registry))
    +73                    .await
    +74                    .anyerr()?;
    +75            }
    +76            Ok(())
    +77        });
    +78        let http_server = HttpServer::spawn(
    +79            config.http,
    +80            config.https,
    +81            config.pkarr_put_rate_limit,
    +82            state.clone(),
    +83            cert_cache_dir,
    +84        )
    +85        .await?;
    +86        let dns_server = DnsServer::spawn(config.dns, state.dns_handler.clone()).await?;
    +87        Ok(Self {
    +88            http_server,
    +89            dns_server,
    +90            metrics_task,
    +91        })
    +92    }
    +93
    +94    /// Cancel the server tasks and wait for all tasks to complete.
    +95    pub async fn shutdown(self) -> Result<()> {
    +96        self.metrics_task.abort();
    +97        let (res1, res2) = tokio::join!(self.dns_server.shutdown(), self.http_server.shutdown(),);
    +98        res1?;
    +99        res2?;
    +100        Ok(())
    +101    }
    +102
    +103    /// Wait for all tasks to complete.
    +104    ///
    +105    /// This will run forever unless all tasks close with an error, or `Self::cancel` is called.
    +106    pub async fn run_until_error(self) -> Result<()> {
    +107        tokio::select! {
    +108            res = self.dns_server.run_until_done() => res?,
    +109            res = self.http_server.run_until_done() => res?,
    +110        }
    +111        self.metrics_task.abort();
    +112        Ok(())
    +113    }
    +114
    +115    /// Spawn a server suitable for testing.
    +116    ///
    +117    /// This will run the DNS and HTTP servers, but not the HTTPS server.
    +118    ///
    +119    /// It returns the server handle, the [`SocketAddr`] of the DNS server and the [`Url`] of the
    +120    /// HTTP server.
    +121    #[cfg(test)]
    +122    pub async fn spawn_for_tests(dir: impl AsRef<Path>) -> Result<Self> {
    +123        Self::spawn_for_tests_with_options(dir, None, None, None).await
    +124    }
    +125
    +126    /// Spawn a server suitable for testing, while optionally enabling mainline with custom
    +127    /// bootstrap addresses.
    +128    #[cfg(test)]
    +129    pub async fn spawn_for_tests_with_options(
    +130        dir: impl AsRef<Path>,
    +131        mainline: Option<crate::config::BootstrapOption>,
    +132        options: Option<crate::store::ZoneStoreOptions>,
    +133        https: Option<HttpsConfig>,
    +134    ) -> Result<Self> {
    +135        use std::net::{IpAddr, Ipv4Addr};
     136
    -137        let mut store = ZoneStore::in_memory(options.unwrap_or_default(), Default::default())?;
    -138        if let Some(bootstrap) = mainline {
    -139            info!("mainline fallback enabled");
    -140            store = store.with_mainline_fallback(bootstrap);
    -141        }
    -142        let server = Self::spawn(config, store, Default::default()).await?;
    -143        let dns_addr = server.dns_server.local_addr();
    -144        let http_addr = server.http_server.http_addr().expect("http is set");
    -145        let http_url = format!("http://{http_addr}").parse::<url::Url>().anyerr()?;
    -146        Ok((server, dns_addr, http_url))
    -147    }
    -148}
    \ No newline at end of file +137 use crate::config::MetricsConfig; +138 +139 let mut config = Config::default(); +140 config.dns.port = 0; +141 config.dns.bind_addr = Some(IpAddr::V4(Ipv4Addr::LOCALHOST)); +142 config.http.as_mut().unwrap().port = 0; +143 config.http.as_mut().unwrap().bind_addr = Some(IpAddr::V4(Ipv4Addr::LOCALHOST)); +144 config.https = https; +145 config.metrics = Some(MetricsConfig::disabled()); +146 config.data_dir = Some(dir.as_ref().to_owned()); +147 +148 let mut store = ZoneStore::in_memory(options.unwrap_or_default(), Default::default())?; +149 if let Some(bootstrap) = mainline { +150 info!("mainline fallback enabled"); +151 store = store.with_mainline_fallback(bootstrap); +152 } +153 let server = Self::spawn(config, store, Default::default()).await?; +154 Ok(server) +155 } +156 +157 #[cfg(test)] +158 pub(crate) fn dns_addr(&self) -> SocketAddr { +159 self.dns_server.local_addr() +160 } +161 +162 #[cfg(test)] +163 pub(crate) fn http_url(&self) -> Option<Url> { +164 let http_addr = self.http_server.http_addr()?; +165 Some( +166 format!("http://{http_addr}") +167 .parse::<url::Url>() +168 .expect("valid url"), +169 ) +170 } +171 +172 #[cfg(test)] +173 pub(crate) fn https_url(&self) -> Option<Url> { +174 let https_addr = self.https_addr()?; +175 Some( +176 format!("https://{https_addr}") +177 .parse::<url::Url>() +178 .expect("valid url"), +179 ) +180 } +181 +182 #[cfg(test)] +183 pub(crate) fn https_addr(&self) -> Option<SocketAddr> { +184 self.http_server.https_addr() +185 } +186} \ No newline at end of file diff --git a/pr/3734/docs/src/iroh_relay/dns.rs.html b/pr/3734/docs/src/iroh_relay/dns.rs.html index 356ca886de..12dfc964b2 100644 --- a/pr/3734/docs/src/iroh_relay/dns.rs.html +++ b/pr/3734/docs/src/iroh_relay/dns.rs.html @@ -778,7 +778,7 @@ 778pub(crate) mod tests { 779 use std::sync::atomic::AtomicUsize; 780 -781 use tracing_test::traced_test; +781 use n0_tracing_test::traced_test; 782 783 use super::*; 784 diff --git a/pr/3734/docs/src/iroh_relay/protos.rs.html b/pr/3734/docs/src/iroh_relay/protos.rs.html index 74ea4937b4..e019ef8e05 100644 --- a/pr/3734/docs/src/iroh_relay/protos.rs.html +++ b/pr/3734/docs/src/iroh_relay/protos.rs.html @@ -1,7 +1,6 @@ protos.rs - source

    iroh_relay/
    protos.rs

    1//! Protocols used by the iroh-relay
     2
     3pub mod common;
    -4pub mod disco;
    -5pub mod handshake;
    -6pub mod relay;
    -7pub mod streams;
    \ No newline at end of file +4pub mod handshake; +5pub mod relay; +6pub mod streams; \ No newline at end of file diff --git a/pr/3734/docs/src/iroh_relay/protos/common.rs.html b/pr/3734/docs/src/iroh_relay/protos/common.rs.html index ac9a2d6e70..029c8583cf 100644 --- a/pr/3734/docs/src/iroh_relay/protos/common.rs.html +++ b/pr/3734/docs/src/iroh_relay/protos/common.rs.html @@ -7,7 +7,7 @@ 7use n0_error::{e, stack_error}; 8use quinn_proto::{ 9 VarInt, -10 coding::{Codec, UnexpectedEnd}, +10 coding::{Decodable, Encodable, UnexpectedEnd}, 11}; 12 13/// Possible frame types during handshaking diff --git a/pr/3734/docs/src/iroh_relay/protos/disco.rs.html b/pr/3734/docs/src/iroh_relay/protos/disco.rs.html deleted file mode 100644 index e0f93af39e..0000000000 --- a/pr/3734/docs/src/iroh_relay/protos/disco.rs.html +++ /dev/null @@ -1,21 +0,0 @@ -disco.rs - source

    iroh_relay/protos/
    disco.rs

    1//! This module exports [`looks_like_disco_wrapper`] as the only disco-related relay
    -2//! functionality.
    -3//!
    -4//! Despite the relay not being able to read disco messages by design, it does attempt to
    -5//! identify this traffic to ensure hole-punching messages are not lost do to congestion.
    -6
    -7/// The 6 byte header of all discovery messages.
    -8pub const MAGIC: &str = "TS💬"; // 6 bytes: 0x54 53 f0 9f 92 ac
    -9pub(crate) const MAGIC_LEN: usize = MAGIC.len();
    -10pub(crate) const KEY_LEN: usize = 32;
    -11
    -12const MESSAGE_HEADER_LEN: usize = MAGIC_LEN + KEY_LEN;
    -13
    -14/// Reports whether p looks like it's a packet containing an encrypted disco message.
    -15pub fn looks_like_disco_wrapper(p: &[u8]) -> bool {
    -16    if p.len() < MESSAGE_HEADER_LEN {
    -17        return false;
    -18    }
    -19
    -20    &p[..MAGIC_LEN] == MAGIC.as_bytes()
    -21}
    \ No newline at end of file diff --git a/pr/3734/docs/src/iroh_relay/protos/handshake.rs.html b/pr/3734/docs/src/iroh_relay/protos/handshake.rs.html index 8fb88f8f72..c5f4ccf028 100644 --- a/pr/3734/docs/src/iroh_relay/protos/handshake.rs.html +++ b/pr/3734/docs/src/iroh_relay/protos/handshake.rs.html @@ -534,10 +534,10 @@ 534 use iroh_base::{PublicKey, SecretKey}; 535 use n0_error::{Result, StackResultExt, StdResultExt}; 536 use n0_future::{Sink, SinkExt, Stream, TryStreamExt}; -537 use rand::SeedableRng; -538 use tokio_util::codec::{Framed, LengthDelimitedCodec}; -539 use tracing::{Instrument, info_span}; -540 use tracing_test::traced_test; +537 use n0_tracing_test::traced_test; +538 use rand::SeedableRng; +539 use tokio_util::codec::{Framed, LengthDelimitedCodec}; +540 use tracing::{Instrument, info_span}; 541 542 use super::{ 543 ClientAuth, KeyMaterialClientAuth, Mechanism, ServerChallenge, ServerConfirmsAuth, diff --git a/pr/3734/docs/src/iroh_relay/quic.rs.html b/pr/3734/docs/src/iroh_relay/quic.rs.html index d0a5a3ffd9..1680528899 100644 --- a/pr/3734/docs/src/iroh_relay/quic.rs.html +++ b/pr/3734/docs/src/iroh_relay/quic.rs.html @@ -302,248 +302,251 @@ 302 server_addr: SocketAddr, 303 host: &str, 304 ) -> Result<(SocketAddr, std::time::Duration), Error> { -305 let connecting = self -306 .ep -307 .connect_with(self.client_config.clone(), server_addr, host); -308 let conn = connecting?.await?; -309 let mut external_addresses = conn.observed_external_addr(); -310 // TODO(ramfox): I'd like to be able to cancel this so we can close cleanly -311 // if there the task that runs this function gets aborted. -312 // tokio::select! { -313 // _ = cancel.cancelled() => { -314 // conn.close(QUIC_ADDR_DISC_CLOSE_CODE, QUIC_ADDR_DISC_CLOSE_REASON); -315 // bail_any!("QUIC address discovery canceled early"); -316 // }, -317 // res = external_addresses.wait_for(|addr| addr.is_some()) => { -318 // let addr = res?.expect("checked"); -319 // let latency = conn.rtt() / 2; -320 // // gracefully close the connections -321 // conn.close(QUIC_ADDR_DISC_CLOSE_CODE, QUIC_ADDR_DISC_CLOSE_REASON); -322 // Ok((addr, latency)) -323 // } -324 -325 let res = match external_addresses.wait_for(|addr| addr.is_some()).await { -326 Ok(res) => res, -327 Err(err) => { -328 // attempt to gracefully close the connections -329 conn.close(QUIC_ADDR_DISC_CLOSE_CODE, QUIC_ADDR_DISC_CLOSE_REASON); -330 return Err(err.into()); -331 } -332 }; -333 let mut observed_addr = res.expect("checked"); -334 // if we've sent to an ipv4 address, but received an observed address -335 // that is ivp6 then the address is an [IPv4-Mapped IPv6 Addresses](https://doc.rust-lang.org/beta/std/net/struct.Ipv6Addr.html#ipv4-mapped-ipv6-addresses) -336 observed_addr = SocketAddr::new(observed_addr.ip().to_canonical(), observed_addr.port()); -337 let latency = conn.rtt(); -338 // gracefully close the connections -339 conn.close(QUIC_ADDR_DISC_CLOSE_CODE, QUIC_ADDR_DISC_CLOSE_REASON); -340 Ok((observed_addr, latency)) -341 } -342 -343 /// Create a connection usable for qad -344 pub async fn create_conn( -345 &self, -346 server_addr: SocketAddr, -347 host: &str, -348 ) -> Result<quinn::Connection, Error> { -349 let config = self.client_config.clone(); -350 let connecting = self.ep.connect_with(config, server_addr, host); -351 let conn = connecting?.await?; -352 Ok(conn) -353 } -354} -355 -356#[cfg(all(test, feature = "server"))] -357mod tests { -358 use std::net::Ipv4Addr; -359 -360 use n0_error::{Result, StdResultExt}; -361 use n0_future::{ -362 task::AbortOnDropHandle, -363 time::{self, Instant}, -364 }; -365 use quinn::crypto::rustls::QuicServerConfig; -366 use tracing::{Instrument, debug, info, info_span}; -367 use tracing_test::traced_test; -368 use webpki_types::PrivatePkcs8KeyDer; -369 -370 use super::*; +305 use quinn_proto::PathId; +306 +307 let connecting = self +308 .ep +309 .connect_with(self.client_config.clone(), server_addr, host); +310 let conn = connecting?.await?; +311 let mut external_addresses = conn.observed_external_addr(); +312 // TODO(ramfox): I'd like to be able to cancel this so we can close cleanly +313 // if there the task that runs this function gets aborted. +314 // tokio::select! { +315 // _ = cancel.cancelled() => { +316 // conn.close(QUIC_ADDR_DISC_CLOSE_CODE, QUIC_ADDR_DISC_CLOSE_REASON); +317 // bail_any!("QUIC address discovery canceled early"); +318 // }, +319 // res = external_addresses.wait_for(|addr| addr.is_some()) => { +320 // let addr = res?.expect("checked"); +321 // let latency = conn.rtt() / 2; +322 // // gracefully close the connections +323 // conn.close(QUIC_ADDR_DISC_CLOSE_CODE, QUIC_ADDR_DISC_CLOSE_REASON); +324 // Ok((addr, latency)) +325 // } +326 +327 let res = match external_addresses.wait_for(|addr| addr.is_some()).await { +328 Ok(res) => res, +329 Err(err) => { +330 // attempt to gracefully close the connections +331 conn.close(QUIC_ADDR_DISC_CLOSE_CODE, QUIC_ADDR_DISC_CLOSE_REASON); +332 return Err(err.into()); +333 } +334 }; +335 let mut observed_addr = res.expect("checked"); +336 // if we've sent to an ipv4 address, but received an observed address +337 // that is ivp6 then the address is an [IPv4-Mapped IPv6 Addresses](https://doc.rust-lang.org/beta/std/net/struct.Ipv6Addr.html#ipv4-mapped-ipv6-addresses) +338 observed_addr = SocketAddr::new(observed_addr.ip().to_canonical(), observed_addr.port()); +339 let latency = conn.rtt(PathId::ZERO).unwrap_or_default(); +340 // gracefully close the connections +341 conn.close(QUIC_ADDR_DISC_CLOSE_CODE, QUIC_ADDR_DISC_CLOSE_REASON); +342 Ok((observed_addr, latency)) +343 } +344 +345 /// Create a connection usable for qad +346 pub async fn create_conn( +347 &self, +348 server_addr: SocketAddr, +349 host: &str, +350 ) -> Result<quinn::Connection, Error> { +351 let config = self.client_config.clone(); +352 let connecting = self.ep.connect_with(config, server_addr, host); +353 let conn = connecting?.await?; +354 Ok(conn) +355 } +356} +357 +358#[cfg(all(test, feature = "server"))] +359mod tests { +360 use std::net::Ipv4Addr; +361 +362 use n0_error::{Result, StdResultExt}; +363 use n0_future::{ +364 task::AbortOnDropHandle, +365 time::{self, Instant}, +366 }; +367 use n0_tracing_test::traced_test; +368 use quinn::crypto::rustls::QuicServerConfig; +369 use tracing::{Instrument, debug, info, info_span}; +370 use webpki_types::PrivatePkcs8KeyDer; 371 -372 #[tokio::test] -373 #[traced_test] -374 #[cfg(feature = "test-utils")] -375 async fn quic_endpoint_basic() -> Result { -376 use super::server::{QuicConfig, QuicServer}; -377 -378 let host: Ipv4Addr = "127.0.0.1".parse().unwrap(); -379 // create a server config with self signed certificates -380 let (_, server_config) = super::super::server::testing::self_signed_tls_certs_and_config(); -381 let bind_addr = SocketAddr::new(host.into(), 0); -382 let quic_server = QuicServer::spawn(QuicConfig { -383 server_config, -384 bind_addr, -385 })?; -386 -387 // create a client-side endpoint -388 let client_endpoint = -389 quinn::Endpoint::client(SocketAddr::new(host.into(), 0)).std_context("client")?; -390 let client_addr = client_endpoint.local_addr().std_context("local addr")?; -391 -392 // create the client configuration used for the client endpoint when they -393 // initiate a connection with the server -394 let client_config = crate::client::make_dangerous_client_config(); -395 let quic_client = QuicClient::new(client_endpoint.clone(), client_config); -396 -397 let (addr, _latency) = quic_client -398 .get_addr_and_latency(quic_server.bind_addr(), &host.to_string()) -399 .await?; -400 -401 // wait until the endpoint delivers the closing message to the server -402 client_endpoint.wait_idle().await; -403 // shut down the quic server -404 quic_server.shutdown().await; -405 -406 assert_eq!(client_addr, addr); -407 Ok(()) -408 } -409 -410 #[tokio::test(start_paused = true)] -411 #[traced_test] -412 async fn test_qad_client_closes_unresponsive_fast() -> Result { -413 // create a client-side endpoint -414 let client_endpoint = -415 quinn::Endpoint::client(SocketAddr::new(Ipv4Addr::LOCALHOST.into(), 0)) -416 .std_context("client")?; -417 -418 // create an socket that does not respond. -419 let server_socket = -420 tokio::net::UdpSocket::bind(SocketAddr::new(Ipv4Addr::LOCALHOST.into(), 0)) -421 .await -422 .std_context("bind")?; -423 let server_addr = server_socket.local_addr().std_context("local addr")?; -424 -425 // create the client configuration used for the client endpoint when they -426 // initiate a connection with the server -427 let client_config = crate::client::make_dangerous_client_config(); -428 let quic_client = QuicClient::new(client_endpoint.clone(), client_config); -429 -430 // Start a connection attempt with nirvana - this will fail -431 let task = AbortOnDropHandle::new(tokio::spawn({ -432 async move { -433 quic_client -434 .get_addr_and_latency(server_addr, "localhost") -435 .await -436 } -437 })); -438 -439 // Even if we wait longer than the probe timeout, we will still be attempting to connect: -440 tokio::time::sleep(Duration::from_millis(1000)).await; -441 assert!(!task.is_finished()); -442 -443 // time the closing of the client endpoint -444 let before = Instant::now(); -445 client_endpoint.close(0u32.into(), b"byeeeee"); -446 client_endpoint.wait_idle().await; -447 let time = Instant::now().duration_since(before); -448 -449 assert_eq!(time, Duration::from_millis(999)); +372 use super::*; +373 +374 #[tokio::test] +375 #[traced_test] +376 #[cfg(feature = "test-utils")] +377 async fn quic_endpoint_basic() -> Result { +378 use super::server::{QuicConfig, QuicServer}; +379 +380 let host: Ipv4Addr = "127.0.0.1".parse().unwrap(); +381 // create a server config with self signed certificates +382 let (_, server_config) = super::super::server::testing::self_signed_tls_certs_and_config(); +383 let bind_addr = SocketAddr::new(host.into(), 0); +384 let quic_server = QuicServer::spawn(QuicConfig { +385 server_config, +386 bind_addr, +387 })?; +388 +389 // create a client-side endpoint +390 let client_endpoint = +391 quinn::Endpoint::client(SocketAddr::new(host.into(), 0)).std_context("client")?; +392 let client_addr = client_endpoint.local_addr().std_context("local addr")?; +393 +394 // create the client configuration used for the client endpoint when they +395 // initiate a connection with the server +396 let client_config = crate::client::make_dangerous_client_config(); +397 let quic_client = QuicClient::new(client_endpoint.clone(), client_config); +398 +399 let (addr, _latency) = quic_client +400 .get_addr_and_latency(quic_server.bind_addr(), &host.to_string()) +401 .await?; +402 +403 // wait until the endpoint delivers the closing message to the server +404 client_endpoint.wait_idle().await; +405 // shut down the quic server +406 quic_server.shutdown().await; +407 +408 assert_eq!(client_addr, addr); +409 Ok(()) +410 } +411 +412 #[tokio::test(start_paused = true)] +413 #[traced_test] +414 async fn test_qad_client_closes_unresponsive_fast() -> Result { +415 // create a client-side endpoint +416 let client_endpoint = +417 quinn::Endpoint::client(SocketAddr::new(Ipv4Addr::LOCALHOST.into(), 0)) +418 .std_context("client")?; +419 +420 // create an socket that does not respond. +421 let server_socket = +422 tokio::net::UdpSocket::bind(SocketAddr::new(Ipv4Addr::LOCALHOST.into(), 0)) +423 .await +424 .std_context("bind")?; +425 let server_addr = server_socket.local_addr().std_context("local addr")?; +426 +427 // create the client configuration used for the client endpoint when they +428 // initiate a connection with the server +429 let client_config = crate::client::make_dangerous_client_config(); +430 let quic_client = QuicClient::new(client_endpoint.clone(), client_config); +431 +432 // Start a connection attempt with nirvana - this will fail +433 let task = AbortOnDropHandle::new(tokio::spawn({ +434 async move { +435 quic_client +436 .get_addr_and_latency(server_addr, "localhost") +437 .await +438 } +439 })); +440 +441 // Even if we wait longer than the probe timeout, we will still be attempting to connect: +442 tokio::time::sleep(Duration::from_millis(1000)).await; +443 assert!(!task.is_finished()); +444 +445 // time the closing of the client endpoint +446 let before = Instant::now(); +447 client_endpoint.close(0u32.into(), b"byeeeee"); +448 client_endpoint.wait_idle().await; +449 let time = Instant::now().duration_since(before); 450 -451 Ok(()) -452 } -453 -454 /// Makes sure that, even though the RTT was set to some fairly low value, -455 /// we *do* try to connect for longer than what the time out would be after closing -456 /// the connection, when we *don't* close the connection. -457 /// -458 /// In this case we don't simulate it via synthetically high RTT, but by dropping -459 /// all packets on the server-side for 2 seconds. -460 #[tokio::test] -461 #[traced_test] -462 async fn test_qad_connect_delayed() -> Result { -463 // Create a socket for our QAD server. We need the socket separately because we -464 // need to pop off messages before we attach it to the Quinn Endpoint. -465 let socket = tokio::net::UdpSocket::bind(SocketAddr::new(Ipv4Addr::LOCALHOST.into(), 0)) -466 .await -467 .std_context("bind")?; -468 let server_addr = socket.local_addr().std_context("local addr")?; -469 info!(addr = ?server_addr, "server socket bound"); -470 -471 // Create a QAD server with a self-signed cert, all manually. -472 let cert = rcgen::generate_simple_self_signed(vec!["localhost".into()]) -473 .std_context("self signed")?; -474 let key = PrivatePkcs8KeyDer::from(cert.signing_key.serialize_der()); -475 let mut server_crypto = rustls::ServerConfig::builder() -476 .with_no_client_auth() -477 .with_single_cert(vec![cert.cert.into()], key.into()) -478 .std_context("tls")?; -479 server_crypto.key_log = Arc::new(rustls::KeyLogFile::new()); -480 server_crypto.alpn_protocols = vec![ALPN_QUIC_ADDR_DISC.to_vec()]; -481 let mut server_config = quinn::ServerConfig::with_crypto(Arc::new( -482 QuicServerConfig::try_from(server_crypto).std_context("config")?, -483 )); -484 let transport_config = Arc::get_mut(&mut server_config.transport).unwrap(); -485 transport_config.send_observed_address_reports(true); -486 -487 let start = Instant::now(); -488 let server_task = tokio::spawn( -489 async move { -490 info!("Dropping all packets"); -491 time::timeout(Duration::from_secs(2), async { -492 let mut buf = [0u8; 1500]; -493 loop { -494 let (len, src) = socket.recv_from(&mut buf).await.unwrap(); -495 debug!(%len, ?src, "Dropped a packet"); -496 } -497 }) -498 .await -499 .ok(); -500 info!("starting server"); -501 let server = quinn::Endpoint::new( -502 Default::default(), -503 Some(server_config), -504 socket.into_std().unwrap(), -505 Arc::new(quinn::TokioRuntime), -506 ) -507 .std_context("endpoint new")?; -508 info!("accepting conn"); -509 let incoming = server.accept().await.expect("missing conn"); -510 info!("incoming!"); -511 let conn = incoming.await.std_context("incoming")?; -512 conn.closed().await; -513 server.wait_idle().await; -514 n0_error::Ok(()) -515 } -516 .instrument(info_span!("server")), -517 ); -518 let server_task = AbortOnDropHandle::new(server_task); -519 -520 info!("starting client"); -521 let client_endpoint = -522 quinn::Endpoint::client(SocketAddr::new(Ipv4Addr::LOCALHOST.into(), 0)) -523 .std_context("client")?; -524 -525 // create the client configuration used for the client endpoint when they -526 // initiate a connection with the server -527 let client_config = crate::client::make_dangerous_client_config(); -528 let quic_client = QuicClient::new(client_endpoint.clone(), client_config); -529 -530 // Now we should still connect, but it should take more than 1s. -531 info!("making QAD request"); -532 let (addr, latency) = time::timeout( -533 Duration::from_secs(10), -534 quic_client.get_addr_and_latency(server_addr, "localhost"), -535 ) -536 .await -537 .std_context("timeout")??; -538 let duration = start.elapsed(); -539 info!(?duration, ?addr, ?latency, "QAD succeeded"); -540 assert!(duration >= Duration::from_secs(1)); -541 -542 time::timeout(Duration::from_secs(10), server_task) -543 .await -544 .std_context("timeout")? -545 .std_context("server task")??; -546 -547 Ok(()) -548 } -549} \ No newline at end of file +451 assert_eq!(time, Duration::from_millis(999)); +452 +453 Ok(()) +454 } +455 +456 /// Makes sure that, even though the RTT was set to some fairly low value, +457 /// we *do* try to connect for longer than what the time out would be after closing +458 /// the connection, when we *don't* close the connection. +459 /// +460 /// In this case we don't simulate it via synthetically high RTT, but by dropping +461 /// all packets on the server-side for 2 seconds. +462 #[tokio::test] +463 // #[traced_test] +464 async fn test_qad_connect_delayed() -> Result { +465 tracing_subscriber::fmt::try_init().ok(); +466 // Create a socket for our QAD server. We need the socket separately because we +467 // need to pop off messages before we attach it to the Quinn Endpoint. +468 let socket = tokio::net::UdpSocket::bind(SocketAddr::new(Ipv4Addr::LOCALHOST.into(), 0)) +469 .await +470 .std_context("bind")?; +471 let server_addr = socket.local_addr().std_context("local addr")?; +472 info!(addr = ?server_addr, "server socket bound"); +473 +474 // Create a QAD server with a self-signed cert, all manually. +475 let cert = rcgen::generate_simple_self_signed(vec!["localhost".into()]) +476 .std_context("self signed")?; +477 let key = PrivatePkcs8KeyDer::from(cert.signing_key.serialize_der()); +478 let mut server_crypto = rustls::ServerConfig::builder() +479 .with_no_client_auth() +480 .with_single_cert(vec![cert.cert.into()], key.into()) +481 .std_context("tls")?; +482 server_crypto.key_log = Arc::new(rustls::KeyLogFile::new()); +483 server_crypto.alpn_protocols = vec![ALPN_QUIC_ADDR_DISC.to_vec()]; +484 let mut server_config = quinn::ServerConfig::with_crypto(Arc::new( +485 QuicServerConfig::try_from(server_crypto).std_context("config")?, +486 )); +487 let transport_config = Arc::get_mut(&mut server_config.transport).unwrap(); +488 transport_config.send_observed_address_reports(true); +489 +490 let start = Instant::now(); +491 let server_task = tokio::spawn( +492 async move { +493 info!("Dropping all packets"); +494 time::timeout(Duration::from_secs(2), async { +495 let mut buf = [0u8; 1500]; +496 loop { +497 let (len, src) = socket.recv_from(&mut buf).await.unwrap(); +498 debug!(%len, ?src, "Dropped a packet"); +499 } +500 }) +501 .await +502 .ok(); +503 info!("starting server"); +504 let server = quinn::Endpoint::new( +505 Default::default(), +506 Some(server_config), +507 socket.into_std().unwrap(), +508 Arc::new(quinn::TokioRuntime), +509 ) +510 .std_context("endpoint new")?; +511 info!("accepting conn"); +512 let incoming = server.accept().await.expect("missing conn"); +513 info!("incoming!"); +514 let conn = incoming.await.std_context("incoming")?; +515 conn.closed().await; +516 server.wait_idle().await; +517 n0_error::Ok(()) +518 } +519 .instrument(info_span!("server")), +520 ); +521 let server_task = AbortOnDropHandle::new(server_task); +522 +523 info!("starting client"); +524 let client_endpoint = +525 quinn::Endpoint::client(SocketAddr::new(Ipv4Addr::LOCALHOST.into(), 0)) +526 .std_context("client")?; +527 +528 // create the client configuration used for the client endpoint when they +529 // initiate a connection with the server +530 let client_config = crate::client::make_dangerous_client_config(); +531 let quic_client = QuicClient::new(client_endpoint.clone(), client_config); +532 +533 // Now we should still connect, but it should take more than 1s. +534 info!("making QAD request"); +535 let (addr, latency) = time::timeout( +536 Duration::from_secs(10), +537 quic_client.get_addr_and_latency(server_addr, "localhost"), +538 ) +539 .await +540 .std_context("timeout")??; +541 let duration = start.elapsed(); +542 info!(?duration, ?addr, ?latency, "QAD succeeded"); +543 assert!(duration >= Duration::from_secs(1)); +544 +545 time::timeout(Duration::from_secs(10), server_task) +546 .await +547 .std_context("timeout")? +548 .std_context("server task")??; +549 +550 Ok(()) +551 } +552} \ No newline at end of file diff --git a/pr/3734/docs/src/iroh_relay/server.rs.html b/pr/3734/docs/src/iroh_relay/server.rs.html index 7df401e136..fca7f5444e 100644 --- a/pr/3734/docs/src/iroh_relay/server.rs.html +++ b/pr/3734/docs/src/iroh_relay/server.rs.html @@ -28,1046 +28,1073 @@ 28
    use iroh_base::RelayUrl; 29use n0_error::{e, stack_error}; 30use n0_future::{StreamExt, future::Boxed}; -31use tokio::{ -32 net::TcpListener, -33 task::{JoinError, JoinSet}, -34}; -35use tokio_util::task::AbortOnDropHandle; -36use tracing::{Instrument, debug, error, info, info_span, instrument}; -37 -38use crate::{ -39 defaults::DEFAULT_KEY_CACHE_CAPACITY, -40 http::RELAY_PROBE_PATH, -41 quic::server::{QuicServer, QuicSpawnError, ServerHandle as QuicServerHandle}, -42}; -43 -44mod client; -45mod clients; -46mod http_server; -47mod metrics; -48pub(crate) mod resolver; -49pub(crate) mod streams; -50#[cfg(feature = "test-utils")] -51pub mod testing; -52 -53pub use self::{ -54 metrics::{Metrics, RelayMetrics}, -55 resolver::{DEFAULT_CERT_RELOAD_INTERVAL, ReloadingResolver}, -56}; -57 -58const NO_CONTENT_CHALLENGE_HEADER: &str = "X-Iroh-Challenge"; -59const NO_CONTENT_RESPONSE_HEADER: &str = "X-Iroh-Response"; -60const NOTFOUND: &[u8] = b"Not Found"; -61const ROBOTS_TXT: &[u8] = b"User-agent: *\nDisallow: /\n"; -62const INDEX: &[u8] = br#"<html><body> -63<h1>Iroh Relay</h1> -64<p> -65 This is an <a href="https://iroh.computer/">Iroh</a> Relay server. -66</p> -67"#; -68const TLS_HEADERS: [(&str, &str); 2] = [ -69 ( -70 "Strict-Transport-Security", -71 "max-age=63072000; includeSubDomains", -72 ), -73 ( -74 "Content-Security-Policy", -75 "default-src 'none'; frame-ancestors 'none'; form-action 'none'; base-uri 'self'; block-all-mixed-content; plugin-types 'none'", -76 ), -77]; -78 -79type BytesBody = http_body_util::Full<hyper::body::Bytes>; -80type HyperError = Box<dyn std::error::Error + Send + Sync>; -81type HyperResult<T> = std::result::Result<T, HyperError>; -82 -83/// Creates a new [`BytesBody`] with no content. -84fn body_empty() -> BytesBody { -85 http_body_util::Full::new(hyper::body::Bytes::new()) -86} -87 -88/// Configuration for the full Relay. -89/// -90/// Be aware the generic parameters are for when using the Let's Encrypt TLS configuration. -91/// If not used dummy ones need to be provided, e.g. `ServerConfig::<(), ()>::default()`. -92#[derive(Debug, Default)] -93pub struct ServerConfig<EC: fmt::Debug, EA: fmt::Debug = EC> { -94 /// Configuration for the Relay server, disabled if `None`. -95 pub relay: Option<RelayConfig<EC, EA>>, -96 /// Configuration for the QUIC server, disabled if `None`. -97 pub quic: Option<QuicConfig>, -98 /// Socket to serve metrics on. -99 #[cfg(feature = "metrics")] -100 pub metrics_addr: Option<SocketAddr>, -101} -102 -103/// Configuration for the Relay HTTP and HTTPS server. -104/// -105/// This includes the HTTP services hosted by the Relay server, the Relay `/relay` HTTP -106/// endpoint is only one of the services served. -107#[derive(Debug)] -108pub struct RelayConfig<EC: fmt::Debug, EA: fmt::Debug = EC> { -109 /// The socket address on which the Relay HTTP server should bind. -110 /// -111 /// Normally you'd choose port `80`. The bind address for the HTTPS server is -112 /// configured in [`RelayConfig::tls`]. -113 /// -114 /// If [`RelayConfig::tls`] is `None` then this serves all the HTTP services without -115 /// TLS. -116 pub http_bind_addr: SocketAddr, -117 /// TLS configuration for the HTTPS server. -118 /// -119 /// If *None* all the HTTP services that would be served here are served from -120 /// [`RelayConfig::http_bind_addr`]. -121 pub tls: Option<TlsConfig<EC, EA>>, -122 /// Rate limits. -123 pub limits: Limits, -124 /// Key cache capacity. -125 pub key_cache_capacity: Option<usize>, -126 /// Access configuration. -127 pub access: AccessConfig, -128} -129 -130/// Controls which endpoints are allowed to use the relay. -131#[derive(derive_more::Debug)] -132pub enum AccessConfig { -133 /// Everyone -134 Everyone, -135 /// Only endpoints for which the function returns `Access::Allow`. -136 #[debug("restricted")] -137 Restricted(Box<dyn Fn(EndpointId) -> Boxed<Access> + Send + Sync + 'static>), -138} -139 -140impl AccessConfig { -141 /// Is this endpoint allowed? -142 pub async fn is_allowed(&self, endpoint: EndpointId) -> bool { -143 match self { -144 Self::Everyone => true, -145 Self::Restricted(check) => { -146 let res = check(endpoint).await; -147 matches!(res, Access::Allow) -148 } -149 } -150 } -151} -152 -153/// Access restriction for an endpoint. -154#[derive(Debug, Copy, Clone, PartialEq, Eq)] -155pub enum Access { -156 /// Access is allowed. -157 Allow, -158 /// Access is denied. -159 Deny, -160} -161 -162/// Configuration for the QUIC server. -163#[derive(Debug)] -164pub struct QuicConfig { -165 /// The socket address on which the QUIC server should bind. -166 /// -167 /// Normally you'd chose port `7842`, see [`crate::defaults::DEFAULT_RELAY_QUIC_PORT`]. -168 pub bind_addr: SocketAddr, -169 /// The TLS server configuration for the QUIC server. -170 /// -171 /// If this [`rustls::ServerConfig`] does not support TLS 1.3, the QUIC server will fail -172 /// to spawn. -173 pub server_config: rustls::ServerConfig, -174} -175 -176/// TLS configuration for Relay server. -177/// -178/// Normally the Relay server accepts connections on both HTTPS and HTTP. -179#[derive(Debug)] -180pub struct TlsConfig<EC: fmt::Debug, EA: fmt::Debug = EC> { -181 /// The socket address on which to serve the HTTPS server. -182 /// -183 /// Since the captive portal probe has to run over plain text HTTP and TLS is used for -184 /// the main relay server this has to be on a different port. When TLS is not enabled -185 /// this is served on the [`RelayConfig::http_bind_addr`] socket address. -186 /// -187 /// Normally you'd choose port `80`. -188 pub https_bind_addr: SocketAddr, -189 /// The socket address on which to server the QUIC server is QUIC is enabled. -190 pub quic_bind_addr: SocketAddr, -191 /// Mode for getting a cert. -192 pub cert: CertConfig<EC, EA>, -193 /// The server configuration. -194 pub server_config: rustls::ServerConfig, -195} -196 -197/// Rate limits. -198// TODO: accept_conn_limit and accept_conn_burst are not currently implemented. -199#[derive(Debug, Default)] -200pub struct Limits { -201 /// Rate limit for accepting new connection. Unlimited if not set. -202 pub accept_conn_limit: Option<f64>, -203 /// Burst limit for accepting new connection. Unlimited if not set. -204 pub accept_conn_burst: Option<usize>, -205 /// Rate limits for incoming traffic from a client connection. -206 pub client_rx: Option<ClientRateLimit>, -207} -208 -209/// Per-client rate limit configuration. -210#[derive(Debug, Copy, Clone)] -211pub struct ClientRateLimit { -212 /// Max number of bytes per second to read from the client connection. -213 pub bytes_per_second: NonZeroU32, -214 /// Max number of bytes to read in a single burst. -215 pub max_burst_bytes: Option<NonZeroU32>, -216} -217 -218/// TLS certificate configuration. -219#[derive(derive_more::Debug)] -220pub enum CertConfig<EC: fmt::Debug, EA: fmt::Debug = EC> { -221 /// Use Let's Encrypt. -222 LetsEncrypt { -223 /// State for Let's Encrypt certificates. -224 #[debug("AcmeConfig")] -225 state: tokio_rustls_acme::AcmeState<EC, EA>, -226 }, -227 /// Use a static TLS key and certificate chain. -228 Manual { -229 /// The TLS certificate chain. -230 certs: Vec<rustls::pki_types::CertificateDer<'static>>, -231 }, -232 /// Use a TLS key and certificate chain that can be reloaded. -233 Reloading, -234} -235 -236/// A running Relay + QAD server. -237/// -238/// This is a full Relay server, including QAD, Relay and various associated HTTP services. -239/// -240/// Dropping this will stop the server. -241#[derive(Debug)] -242pub struct Server { -243 /// The address of the HTTP server, if configured. -244 http_addr: Option<SocketAddr>, -245 /// The address of the HTTPS server, if the relay server is using TLS. -246 /// -247 /// If the Relay server is not using TLS then it is served from the -248 /// [`Server::http_addr`]. -249 https_addr: Option<SocketAddr>, -250 /// The address of the QUIC server, if configured. -251 quic_addr: Option<SocketAddr>, -252 /// Handle to the relay server. -253 relay_handle: Option<http_server::ServerHandle>, -254 /// Handle to the quic server. -255 quic_handle: Option<QuicServerHandle>, -256 /// The main task running the server. -257 supervisor: AbortOnDropHandle<Result<(), SupervisorError>>, -258 /// The certificate for the server. -259 /// -260 /// If the server has manual certificates configured the certificate chain will be -261 /// available here, this can be used by a client to authenticate the server. -262 certificates: Option<Vec<rustls::pki_types::CertificateDer<'static>>>, -263 metrics: RelayMetrics, -264} -265 -266/// Server spawn errors -267#[allow(missing_docs)] -268#[stack_error(derive, add_meta, std_sources)] -269#[non_exhaustive] -270pub enum SpawnError { -271 #[error("Unable to get local address")] -272 LocalAddr { source: std::io::Error }, -273 #[error("Failed to bind QAD listener")] -274 QuicSpawn { source: QuicSpawnError }, -275 #[error("Failed to parse TLS header")] -276 TlsHeaderParse { source: InvalidHeaderValue }, -277 #[error("Failed to bind TcpListener")] -278 BindTlsListener { source: std::io::Error }, -279 #[error("No local address")] -280 NoLocalAddr { source: std::io::Error }, -281 #[error("Failed to bind server socket to {addr}")] -282 BindTcpListener { -283 source: std::io::Error, -284 addr: SocketAddr, -285 }, -286} -287 -288/// Server task errors -289#[allow(missing_docs)] -290#[stack_error(derive, add_meta)] -291#[non_exhaustive] -292pub enum SupervisorError { -293 #[error("Error starting metrics server")] -294 Metrics { -295 #[error(std_err)] -296 source: std::io::Error, -297 }, -298 #[error("Acme event stream finished")] -299 AcmeEventStreamFinished {}, -300 #[error(transparent)] -301 JoinError { -302 #[error(from, std_err)] -303 source: JoinError, -304 }, -305 #[error("No relay services are enabled")] -306 NoRelayServicesEnabled {}, -307 #[error("Task cancelled")] -308 TaskCancelled {}, -309} -310 -311impl Server { -312 /// Starts the server. -313 pub async fn spawn<EC, EA>(config: ServerConfig<EC, EA>) -> Result<Self, SpawnError> -314 where -315 EC: fmt::Debug + 'static, -316 EA: fmt::Debug + 'static, -317 { -318 let mut tasks = JoinSet::new(); -319 -320 let metrics = RelayMetrics::default(); -321 -322 #[cfg(feature = "metrics")] -323 if let Some(addr) = config.metrics_addr { -324 debug!("Starting metrics server"); -325 let mut registry = iroh_metrics::Registry::default(); -326 registry.register_all(&metrics); -327 tasks.spawn( -328 async move { -329 iroh_metrics::service::start_metrics_server(addr, Arc::new(registry)) -330 .await -331 .map_err(|err| e!(SupervisorError::Metrics, err)) -332 } -333 .instrument(info_span!("metrics-server")), -334 ); -335 } -336 -337 // Start the Relay server, but first clone the certs out. -338 let certificates = config.relay.as_ref().and_then(|relay| { -339 relay.tls.as_ref().and_then(|tls| match tls.cert { -340 CertConfig::LetsEncrypt { .. } => None, -341 CertConfig::Manual { ref certs, .. } => Some(certs.clone()), -342 CertConfig::Reloading => None, -343 }) -344 }); -345 -346 let quic_server = match config.quic { -347 Some(quic_config) => { -348 debug!("Starting QUIC server {}", quic_config.bind_addr); -349 Some(QuicServer::spawn(quic_config).map_err(|err| e!(SpawnError::QuicSpawn, err))?) -350 } -351 None => None, -352 }; -353 let quic_addr = quic_server.as_ref().map(|srv| srv.bind_addr()); -354 let quic_handle = quic_server.as_ref().map(|srv| srv.handle()); -355 -356 let (relay_server, http_addr) = match config.relay { -357 Some(relay_config) => { -358 debug!("Starting Relay server"); -359 let mut headers = HeaderMap::new(); -360 for (name, value) in TLS_HEADERS.iter() { -361 headers.insert( -362 *name, -363 value -364 .parse() -365 .map_err(|err| e!(SpawnError::TlsHeaderParse, err))?, -366 ); -367 } -368 let relay_bind_addr = match relay_config.tls { -369 Some(ref tls) => tls.https_bind_addr, -370 None => relay_config.http_bind_addr, -371 }; -372 let key_cache_capacity = relay_config -373 .key_cache_capacity -374 .unwrap_or(DEFAULT_KEY_CACHE_CAPACITY); -375 let mut builder = http_server::ServerBuilder::new(relay_bind_addr) -376 .metrics(metrics.server.clone()) -377 .headers(headers) -378 .key_cache_capacity(key_cache_capacity) -379 .access(relay_config.access) -380 .request_handler(Method::GET, "/", Box::new(root_handler)) -381 .request_handler(Method::GET, "/index.html", Box::new(root_handler)) -382 .request_handler(Method::GET, RELAY_PROBE_PATH, Box::new(probe_handler)) -383 .request_handler(Method::GET, "/robots.txt", Box::new(robots_handler)); -384 if let Some(cfg) = relay_config.limits.client_rx { -385 builder = builder.client_rx_ratelimit(cfg); -386 } -387 let http_addr = match relay_config.tls { -388 Some(tls_config) => { -389 let server_tls_config = match tls_config.cert { -390 CertConfig::LetsEncrypt { mut state } => { -391 let acceptor = -392 http_server::TlsAcceptor::LetsEncrypt(state.acceptor()); -393 tasks.spawn( -394 async move { -395 while let Some(event) = state.next().await { -396 match event { -397 Ok(ok) => debug!("acme event: {ok:?}"), -398 Err(err) => error!("error: {err:?}"), -399 } -400 } -401 Err(e!(SupervisorError::AcmeEventStreamFinished)) -402 } -403 .instrument(info_span!("acme")), -404 ); -405 Some(http_server::TlsConfig { -406 config: Arc::new(tls_config.server_config), -407 acceptor, -408 }) -409 } -410 CertConfig::Manual { .. } | CertConfig::Reloading => { -411 let server_config = Arc::new(tls_config.server_config); -412 let acceptor = -413 tokio_rustls::TlsAcceptor::from(server_config.clone()); -414 let acceptor = http_server::TlsAcceptor::Manual(acceptor); -415 Some(http_server::TlsConfig { -416 config: server_config, -417 acceptor, -418 }) -419 } -420 }; -421 builder = builder.tls_config(server_tls_config); -422 -423 // Some services always need to be served over HTTP without TLS. Run -424 // these standalone. -425 let http_listener = TcpListener::bind(&relay_config.http_bind_addr) -426 .await -427 .map_err(|err| e!(SpawnError::BindTlsListener, err))?; -428 let http_addr = http_listener -429 .local_addr() -430 .map_err(|err| e!(SpawnError::NoLocalAddr, err))?; -431 tasks.spawn( -432 async move { -433 run_captive_portal_service(http_listener).await; -434 Ok(()) -435 } -436 .instrument(info_span!("http-service", addr = %http_addr)), -437 ); -438 Some(http_addr) -439 } -440 None => { -441 // If running Relay without TLS add the plain HTTP server directly -442 // to the Relay server. -443 builder = builder.request_handler( -444 Method::GET, -445 "/generate_204", -446 Box::new(serve_no_content_handler), -447 ); -448 None -449 } -450 }; -451 let relay_server = builder.spawn().await?; -452 (Some(relay_server), http_addr) -453 } -454 None => (None, None), -455 }; -456 // If http_addr is Some then relay_server is serving HTTPS. If http_addr is None -457 // relay_server is serving HTTP, including the /generate_204 service. -458 let relay_addr = relay_server.as_ref().map(|srv| srv.addr()); -459 let relay_handle = relay_server.as_ref().map(|srv| srv.handle()); -460 let task = tokio::spawn(relay_supervisor(tasks, relay_server, quic_server)); -461 -462 Ok(Self { -463 http_addr: http_addr.or(relay_addr), -464 https_addr: http_addr.and(relay_addr), -465 quic_addr, -466 relay_handle, -467 quic_handle, -468 supervisor: AbortOnDropHandle::new(task), -469 certificates, -470 metrics, -471 }) -472 } -473 -474 /// Requests graceful shutdown. -475 /// -476 /// Returns once all server tasks have stopped. -477 pub async fn shutdown(self) -> Result<(), SupervisorError> { -478 // Only the Relay server and QUIC server need shutting down, the supervisor will abort the tasks in -479 // the JoinSet when the server terminates. -480 if let Some(handle) = self.relay_handle { -481 handle.shutdown(); -482 } -483 if let Some(handle) = self.quic_handle { -484 handle.shutdown(); -485 } -486 self.supervisor.await? -487 } -488 -489 /// Returns the handle for the task. -490 /// -491 /// This allows waiting for the server's supervisor task to finish. Can be useful in -492 /// case there is an error in the server before it is shut down. -493 pub fn task_handle(&mut self) -> &mut AbortOnDropHandle<Result<(), SupervisorError>> { -494 &mut self.supervisor -495 } -496 -497 /// The socket address the HTTPS server is listening on. -498 pub fn https_addr(&self) -> Option<SocketAddr> { -499 self.https_addr -500 } -501 -502 /// The socket address the HTTP server is listening on. -503 pub fn http_addr(&self) -> Option<SocketAddr> { -504 self.http_addr -505 } -506 -507 /// The socket address the QUIC server is listening on. -508 pub fn quic_addr(&self) -> Option<SocketAddr> { -509 self.quic_addr -510 } -511 -512 /// The certificates chain if configured with manual TLS certificates. -513 pub fn certificates(&self) -> Option<Vec<rustls::pki_types::CertificateDer<'static>>> { -514 self.certificates.clone() -515 } -516 -517 /// Get the server's https [`RelayUrl`]. -518 /// -519 /// This uses [`Self::https_addr`] so it's mostly useful for local development. -520 #[cfg(feature = "test-utils")] -521 pub fn https_url(&self) -> Option<RelayUrl> { -522 self.https_addr.map(|addr| { -523 url::Url::parse(&format!("https://{addr}")) -524 .expect("valid url") -525 .into() -526 }) -527 } -528 -529 /// Get the server's http [`RelayUrl`]. -530 /// -531 /// This uses [`Self::http_addr`] so it's mostly useful for local development. -532 #[cfg(feature = "test-utils")] -533 pub fn http_url(&self) -> Option<RelayUrl> { -534 self.http_addr.map(|addr| { -535 url::Url::parse(&format!("http://{addr}")) -536 .expect("valid url") -537 .into() -538 }) -539 } -540 -541 /// Returns the metrics collected in the relay server. -542 pub fn metrics(&self) -> &RelayMetrics { -543 &self.metrics -544 } -545} -546 -547/// Supervisor for the relay server tasks. -548/// -549/// As soon as one of the tasks exits, all other tasks are stopped and the server stops. -550/// The supervisor finishes once all tasks are finished. -551#[instrument(skip_all)] -552async fn relay_supervisor( -553 mut tasks: JoinSet<Result<(), SupervisorError>>, -554 mut relay_http_server: Option<http_server::Server>, -555 mut quic_server: Option<QuicServer>, -556) -> Result<(), SupervisorError> { -557 let quic_enabled = quic_server.is_some(); -558 let mut quic_fut = match quic_server { -559 Some(ref mut server) => n0_future::Either::Left(server.task_handle()), -560 None => n0_future::Either::Right(n0_future::future::pending()), -561 }; -562 let relay_enabled = relay_http_server.is_some(); -563 let mut relay_fut = match relay_http_server { -564 Some(ref mut server) => n0_future::Either::Left(server.task_handle()), -565 None => n0_future::Either::Right(n0_future::future::pending()), -566 }; -567 let res = tokio::select! { -568 biased; -569 Some(ret) = tasks.join_next() => ret, -570 ret = &mut quic_fut, if quic_enabled => ret.map(Ok), -571 ret = &mut relay_fut, if relay_enabled => ret.map(Ok), -572 else => Ok(Err(e!(SupervisorError::NoRelayServicesEnabled))), -573 }; -574 let ret = match res { -575 Ok(Ok(())) => { -576 debug!("Task exited"); -577 Ok(()) -578 } -579 Ok(Err(err)) => { -580 error!(%err, "Task failed"); -581 Err(err) -582 } -583 Err(err) => { -584 if let Ok(panic) = err.try_into_panic() { -585 error!("Task panicked"); -586 std::panic::resume_unwind(panic); -587 } -588 debug!("Task cancelled"); -589 Err(e!(SupervisorError::TaskCancelled)) -590 } -591 }; -592 -593 // Ensure the HTTP server terminated, there is no harm in calling this after it is -594 // already shut down. -595 if let Some(server) = relay_http_server { -596 server.shutdown(); -597 } -598 -599 // Ensure the QUIC server is closed -600 if let Some(server) = quic_server { -601 server.shutdown().await; -602 } -603 -604 // Stop all remaining tasks -605 tasks.shutdown().await; -606 -607 ret -608} -609 -610fn root_handler( -611 _r: Request<Incoming>, -612 response: ResponseBuilder, -613) -> HyperResult<Response<BytesBody>> { -614 response -615 .status(StatusCode::OK) -616 .header("Content-Type", "text/html; charset=utf-8") -617 .body(INDEX.into()) -618 .map_err(|err| Box::new(err) as HyperError) -619} -620 -621/// HTTP latency queries -622fn probe_handler( -623 _r: Request<Incoming>, -624 response: ResponseBuilder, -625) -> HyperResult<Response<BytesBody>> { -626 response -627 .status(StatusCode::OK) -628 .header("Access-Control-Allow-Origin", "*") -629 .body(body_empty()) -630 .map_err(|err| Box::new(err) as HyperError) -631} -632 -633fn robots_handler( -634 _r: Request<Incoming>, -635 response: ResponseBuilder, -636) -> HyperResult<Response<BytesBody>> { -637 response -638 .status(StatusCode::OK) -639 .body(ROBOTS_TXT.into()) -640 .map_err(|err| Box::new(err) as HyperError) -641} -642 -643/// For captive portal detection. -644fn serve_no_content_handler<B: hyper::body::Body>( -645 r: Request<B>, -646 mut response: ResponseBuilder, -647) -> HyperResult<Response<BytesBody>> { -648 let check = |c: &HeaderValue| { -649 !c.is_empty() && c.len() < 64 && c.as_bytes().iter().all(|c| is_challenge_char(*c as char)) -650 }; -651 -652 if let Some(challenge) = r.headers().get(NO_CONTENT_CHALLENGE_HEADER) { -653 if check(challenge) { -654 response = response.header( -655 NO_CONTENT_RESPONSE_HEADER, -656 format!("response {}", challenge.to_str()?), -657 ); -658 } -659 } -660 -661 response -662 .status(StatusCode::NO_CONTENT) -663 .body(body_empty()) -664 .map_err(|err| Box::new(err) as HyperError) -665} -666 -667fn is_challenge_char(c: char) -> bool { -668 // Semi-randomly chosen as a limited set of valid characters -669 c.is_ascii_lowercase() -670 || c.is_ascii_uppercase() -671 || c.is_ascii_digit() -672 || c == '.' -673 || c == '-' -674 || c == '_' -675} -676 -677/// This is a future that never returns, drop it to cancel/abort. -678async fn run_captive_portal_service(http_listener: TcpListener) { -679 info!("serving"); -680 -681 // If this future is cancelled, this is dropped and all tasks are aborted. -682 let mut tasks = JoinSet::new(); -683 -684 loop { -685 tokio::select! { -686 biased; -687 -688 Some(res) = tasks.join_next() => { -689 if let Err(err) = res { -690 if err.is_panic() { -691 panic!("task panicked: {err:#?}"); -692 } -693 } -694 } -695 -696 res = http_listener.accept() => { -697 match res { -698 Ok((stream, peer_addr)) => { -699 debug!(%peer_addr, "Connection opened",); -700 let handler = CaptivePortalService; -701 -702 tasks.spawn(async move { -703 let stream = crate::server::streams::MaybeTlsStream::Plain(stream); -704 let stream = hyper_util::rt::TokioIo::new(stream); -705 if let Err(err) = hyper::server::conn::http1::Builder::new() -706 .serve_connection(stream, handler) -707 .with_upgrades() -708 .await -709 { -710 error!("Failed to serve connection: {err:?}"); -711 } -712 }); -713 } -714 Err(err) => { -715 error!( -716 "[CaptivePortalService] failed to accept connection: {:#?}", -717 err -718 ); +31use serde::Serialize; +32use tokio::{ +33 net::TcpListener, +34 task::{JoinError, JoinSet}, +35}; +36use tokio_util::task::AbortOnDropHandle; +37use tracing::{Instrument, debug, error, info, info_span, instrument}; +38 +39use crate::{ +40 defaults::DEFAULT_KEY_CACHE_CAPACITY, +41 http::RELAY_PROBE_PATH, +42 quic::server::{QuicServer, QuicSpawnError, ServerHandle as QuicServerHandle}, +43}; +44 +45mod client; +46mod clients; +47mod http_server; +48mod metrics; +49pub(crate) mod resolver; +50pub(crate) mod streams; +51#[cfg(feature = "test-utils")] +52pub mod testing; +53 +54pub use self::{ +55 metrics::{Metrics, RelayMetrics}, +56 resolver::{DEFAULT_CERT_RELOAD_INTERVAL, ReloadingResolver}, +57}; +58 +59const NO_CONTENT_CHALLENGE_HEADER: &str = "X-Iroh-Challenge"; +60const NO_CONTENT_RESPONSE_HEADER: &str = "X-Iroh-Response"; +61const NOTFOUND: &[u8] = b"Not Found"; +62const ROBOTS_TXT: &[u8] = b"User-agent: *\nDisallow: /\n"; +63const INDEX: &[u8] = br#"<html><body> +64<h1>Iroh Relay</h1> +65<p> +66 This is an <a href="https://iroh.computer/">Iroh</a> Relay server. +67</p> +68"#; +69const TLS_HEADERS: [(&str, &str); 2] = [ +70 ( +71 "Strict-Transport-Security", +72 "max-age=63072000; includeSubDomains", +73 ), +74 ( +75 "Content-Security-Policy", +76 "default-src 'none'; frame-ancestors 'none'; form-action 'none'; base-uri 'self'; block-all-mixed-content; plugin-types 'none'", +77 ), +78]; +79 +80type BytesBody = http_body_util::Full<hyper::body::Bytes>; +81type HyperError = Box<dyn std::error::Error + Send + Sync>; +82type HyperResult<T> = std::result::Result<T, HyperError>; +83 +84/// Creates a new [`BytesBody`] with no content. +85fn body_empty() -> BytesBody { +86 http_body_util::Full::new(hyper::body::Bytes::new()) +87} +88 +89/// Configuration for the full Relay. +90/// +91/// Be aware the generic parameters are for when using the Let's Encrypt TLS configuration. +92/// If not used dummy ones need to be provided, e.g. `ServerConfig::<(), ()>::default()`. +93#[derive(Debug, Default)] +94pub struct ServerConfig<EC: fmt::Debug, EA: fmt::Debug = EC> { +95 /// Configuration for the Relay server, disabled if `None`. +96 pub relay: Option<RelayConfig<EC, EA>>, +97 /// Configuration for the QUIC server, disabled if `None`. +98 pub quic: Option<QuicConfig>, +99 /// Socket to serve metrics on. +100 #[cfg(feature = "metrics")] +101 pub metrics_addr: Option<SocketAddr>, +102} +103 +104/// Configuration for the Relay HTTP and HTTPS server. +105/// +106/// This includes the HTTP services hosted by the Relay server, the Relay `/relay` HTTP +107/// endpoint is only one of the services served. +108#[derive(Debug)] +109pub struct RelayConfig<EC: fmt::Debug, EA: fmt::Debug = EC> { +110 /// The socket address on which the Relay HTTP server should bind. +111 /// +112 /// Normally you'd choose port `80`. The bind address for the HTTPS server is +113 /// configured in [`RelayConfig::tls`]. +114 /// +115 /// If [`RelayConfig::tls`] is `None` then this serves all the HTTP services without +116 /// TLS. +117 pub http_bind_addr: SocketAddr, +118 /// TLS configuration for the HTTPS server. +119 /// +120 /// If *None* all the HTTP services that would be served here are served from +121 /// [`RelayConfig::http_bind_addr`]. +122 pub tls: Option<TlsConfig<EC, EA>>, +123 /// Rate limits. +124 pub limits: Limits, +125 /// Key cache capacity. +126 pub key_cache_capacity: Option<usize>, +127 /// Access configuration. +128 pub access: AccessConfig, +129} +130 +131/// Controls which endpoints are allowed to use the relay. +132#[derive(derive_more::Debug)] +133pub enum AccessConfig { +134 /// Everyone +135 Everyone, +136 /// Only endpoints for which the function returns `Access::Allow`. +137 #[debug("restricted")] +138 Restricted(Box<dyn Fn(EndpointId) -> Boxed<Access> + Send + Sync + 'static>), +139} +140 +141impl AccessConfig { +142 /// Is this endpoint allowed? +143 pub async fn is_allowed(&self, endpoint: EndpointId) -> bool { +144 match self { +145 Self::Everyone => true, +146 Self::Restricted(check) => { +147 let res = check(endpoint).await; +148 matches!(res, Access::Allow) +149 } +150 } +151 } +152} +153 +154/// Access restriction for an endpoint. +155#[derive(Debug, Copy, Clone, PartialEq, Eq)] +156pub enum Access { +157 /// Access is allowed. +158 Allow, +159 /// Access is denied. +160 Deny, +161} +162 +163/// Configuration for the QUIC server. +164#[derive(Debug)] +165pub struct QuicConfig { +166 /// The socket address on which the QUIC server should bind. +167 /// +168 /// Normally you'd chose port `7842`, see [`crate::defaults::DEFAULT_RELAY_QUIC_PORT`]. +169 pub bind_addr: SocketAddr, +170 /// The TLS server configuration for the QUIC server. +171 /// +172 /// If this [`rustls::ServerConfig`] does not support TLS 1.3, the QUIC server will fail +173 /// to spawn. +174 pub server_config: rustls::ServerConfig, +175} +176 +177/// TLS configuration for Relay server. +178/// +179/// Normally the Relay server accepts connections on both HTTPS and HTTP. +180#[derive(Debug)] +181pub struct TlsConfig<EC: fmt::Debug, EA: fmt::Debug = EC> { +182 /// The socket address on which to serve the HTTPS server. +183 /// +184 /// Since the captive portal probe has to run over plain text HTTP and TLS is used for +185 /// the main relay server this has to be on a different port. When TLS is not enabled +186 /// this is served on the [`RelayConfig::http_bind_addr`] socket address. +187 /// +188 /// Normally you'd choose port `80`. +189 pub https_bind_addr: SocketAddr, +190 /// The socket address on which to server the QUIC server is QUIC is enabled. +191 pub quic_bind_addr: SocketAddr, +192 /// Mode for getting a cert. +193 pub cert: CertConfig<EC, EA>, +194 /// The server configuration. +195 pub server_config: rustls::ServerConfig, +196} +197 +198/// Rate limits. +199// TODO: accept_conn_limit and accept_conn_burst are not currently implemented. +200#[derive(Debug, Default)] +201pub struct Limits { +202 /// Rate limit for accepting new connection. Unlimited if not set. +203 pub accept_conn_limit: Option<f64>, +204 /// Burst limit for accepting new connection. Unlimited if not set. +205 pub accept_conn_burst: Option<usize>, +206 /// Rate limits for incoming traffic from a client connection. +207 pub client_rx: Option<ClientRateLimit>, +208} +209 +210/// Per-client rate limit configuration. +211#[derive(Debug, Copy, Clone)] +212pub struct ClientRateLimit { +213 /// Max number of bytes per second to read from the client connection. +214 pub bytes_per_second: NonZeroU32, +215 /// Max number of bytes to read in a single burst. +216 pub max_burst_bytes: Option<NonZeroU32>, +217} +218 +219/// TLS certificate configuration. +220#[derive(derive_more::Debug)] +221pub enum CertConfig<EC: fmt::Debug, EA: fmt::Debug = EC> { +222 /// Use Let's Encrypt. +223 LetsEncrypt { +224 /// State for Let's Encrypt certificates. +225 #[debug("AcmeConfig")] +226 state: tokio_rustls_acme::AcmeState<EC, EA>, +227 }, +228 /// Use a static TLS key and certificate chain. +229 Manual { +230 /// The TLS certificate chain. +231 certs: Vec<rustls::pki_types::CertificateDer<'static>>, +232 }, +233 /// Use a TLS key and certificate chain that can be reloaded. +234 Reloading, +235} +236 +237/// A running Relay + QAD server. +238/// +239/// This is a full Relay server, including QAD, Relay and various associated HTTP services. +240/// +241/// Dropping this will stop the server. +242#[derive(Debug)] +243pub struct Server { +244 /// The address of the HTTP server, if configured. +245 http_addr: Option<SocketAddr>, +246 /// The address of the HTTPS server, if the relay server is using TLS. +247 /// +248 /// If the Relay server is not using TLS then it is served from the +249 /// [`Server::http_addr`]. +250 https_addr: Option<SocketAddr>, +251 /// The address of the QUIC server, if configured. +252 quic_addr: Option<SocketAddr>, +253 /// Handle to the relay server. +254 relay_handle: Option<http_server::ServerHandle>, +255 /// Handle to the quic server. +256 quic_handle: Option<QuicServerHandle>, +257 /// The main task running the server. +258 supervisor: AbortOnDropHandle<Result<(), SupervisorError>>, +259 /// The certificate for the server. +260 /// +261 /// If the server has manual certificates configured the certificate chain will be +262 /// available here, this can be used by a client to authenticate the server. +263 certificates: Option<Vec<rustls::pki_types::CertificateDer<'static>>>, +264 metrics: RelayMetrics, +265} +266 +267/// Server spawn errors +268#[allow(missing_docs)] +269#[stack_error(derive, add_meta, std_sources)] +270#[non_exhaustive] +271pub enum SpawnError { +272 #[error("Unable to get local address")] +273 LocalAddr { source: std::io::Error }, +274 #[error("Failed to bind QAD listener")] +275 QuicSpawn { source: QuicSpawnError }, +276 #[error("Failed to parse TLS header")] +277 TlsHeaderParse { source: InvalidHeaderValue }, +278 #[error("Failed to bind TcpListener")] +279 BindTlsListener { source: std::io::Error }, +280 #[error("No local address")] +281 NoLocalAddr { source: std::io::Error }, +282 #[error("Failed to bind server socket to {addr}")] +283 BindTcpListener { +284 source: std::io::Error, +285 addr: SocketAddr, +286 }, +287} +288 +289/// Server task errors +290#[allow(missing_docs)] +291#[stack_error(derive, add_meta)] +292#[non_exhaustive] +293pub enum SupervisorError { +294 #[error("Error starting metrics server")] +295 Metrics { +296 #[error(std_err)] +297 source: std::io::Error, +298 }, +299 #[error("Acme event stream finished")] +300 AcmeEventStreamFinished {}, +301 #[error(transparent)] +302 JoinError { +303 #[error(from, std_err)] +304 source: JoinError, +305 }, +306 #[error("No relay services are enabled")] +307 NoRelayServicesEnabled {}, +308 #[error("Task cancelled")] +309 TaskCancelled {}, +310} +311 +312impl Server { +313 /// Starts the server. +314 pub async fn spawn<EC, EA>(config: ServerConfig<EC, EA>) -> Result<Self, SpawnError> +315 where +316 EC: fmt::Debug + 'static, +317 EA: fmt::Debug + 'static, +318 { +319 let mut tasks = JoinSet::new(); +320 +321 let metrics = RelayMetrics::default(); +322 +323 #[cfg(feature = "metrics")] +324 if let Some(addr) = config.metrics_addr { +325 debug!("Starting metrics server"); +326 let mut registry = iroh_metrics::Registry::default(); +327 registry.register_all(&metrics); +328 tasks.spawn( +329 async move { +330 iroh_metrics::service::start_metrics_server(addr, Arc::new(registry)) +331 .await +332 .map_err(|err| e!(SupervisorError::Metrics, err)) +333 } +334 .instrument(info_span!("metrics-server")), +335 ); +336 } +337 +338 // Start the Relay server, but first clone the certs out. +339 let certificates = config.relay.as_ref().and_then(|relay| { +340 relay.tls.as_ref().and_then(|tls| match tls.cert { +341 CertConfig::LetsEncrypt { .. } => None, +342 CertConfig::Manual { ref certs, .. } => Some(certs.clone()), +343 CertConfig::Reloading => None, +344 }) +345 }); +346 +347 let quic_server = match config.quic { +348 Some(quic_config) => { +349 debug!("Starting QUIC server {}", quic_config.bind_addr); +350 Some(QuicServer::spawn(quic_config).map_err(|err| e!(SpawnError::QuicSpawn, err))?) +351 } +352 None => None, +353 }; +354 let quic_addr = quic_server.as_ref().map(|srv| srv.bind_addr()); +355 let quic_handle = quic_server.as_ref().map(|srv| srv.handle()); +356 +357 let (relay_server, http_addr) = match config.relay { +358 Some(relay_config) => { +359 debug!("Starting Relay server"); +360 let mut headers = HeaderMap::new(); +361 for (name, value) in TLS_HEADERS.iter() { +362 headers.insert( +363 *name, +364 value +365 .parse() +366 .map_err(|err| e!(SpawnError::TlsHeaderParse, err))?, +367 ); +368 } +369 let relay_bind_addr = match relay_config.tls { +370 Some(ref tls) => tls.https_bind_addr, +371 None => relay_config.http_bind_addr, +372 }; +373 let key_cache_capacity = relay_config +374 .key_cache_capacity +375 .unwrap_or(DEFAULT_KEY_CACHE_CAPACITY); +376 let mut builder = http_server::ServerBuilder::new(relay_bind_addr) +377 .metrics(metrics.server.clone()) +378 .headers(headers) +379 .key_cache_capacity(key_cache_capacity) +380 .access(relay_config.access) +381 .request_handler(Method::GET, "/", Box::new(root_handler)) +382 .request_handler(Method::GET, "/index.html", Box::new(root_handler)) +383 .request_handler(Method::GET, RELAY_PROBE_PATH, Box::new(probe_handler)) +384 .request_handler(Method::GET, "/robots.txt", Box::new(robots_handler)) +385 .request_handler(Method::GET, "/healthz", Box::new(healthz_handler)); +386 if let Some(cfg) = relay_config.limits.client_rx { +387 builder = builder.client_rx_ratelimit(cfg); +388 } +389 let http_addr = match relay_config.tls { +390 Some(tls_config) => { +391 let server_tls_config = match tls_config.cert { +392 CertConfig::LetsEncrypt { mut state } => { +393 let acceptor = +394 http_server::TlsAcceptor::LetsEncrypt(state.acceptor()); +395 tasks.spawn( +396 async move { +397 while let Some(event) = state.next().await { +398 match event { +399 Ok(ok) => debug!("acme event: {ok:?}"), +400 Err(err) => error!("error: {err:?}"), +401 } +402 } +403 Err(e!(SupervisorError::AcmeEventStreamFinished)) +404 } +405 .instrument(info_span!("acme")), +406 ); +407 Some(http_server::TlsConfig { +408 config: Arc::new(tls_config.server_config), +409 acceptor, +410 }) +411 } +412 CertConfig::Manual { .. } | CertConfig::Reloading => { +413 let server_config = Arc::new(tls_config.server_config); +414 let acceptor = +415 tokio_rustls::TlsAcceptor::from(server_config.clone()); +416 let acceptor = http_server::TlsAcceptor::Manual(acceptor); +417 Some(http_server::TlsConfig { +418 config: server_config, +419 acceptor, +420 }) +421 } +422 }; +423 builder = builder.tls_config(server_tls_config); +424 +425 // Some services always need to be served over HTTP without TLS. Run +426 // these standalone. +427 let http_listener = TcpListener::bind(&relay_config.http_bind_addr) +428 .await +429 .map_err(|err| e!(SpawnError::BindTlsListener, err))?; +430 let http_addr = http_listener +431 .local_addr() +432 .map_err(|err| e!(SpawnError::NoLocalAddr, err))?; +433 tasks.spawn( +434 async move { +435 run_captive_portal_service(http_listener).await; +436 Ok(()) +437 } +438 .instrument(info_span!("http-service", addr = %http_addr)), +439 ); +440 Some(http_addr) +441 } +442 None => { +443 // If running Relay without TLS add the plain HTTP server directly +444 // to the Relay server. +445 builder = builder.request_handler( +446 Method::GET, +447 "/generate_204", +448 Box::new(serve_no_content_handler), +449 ); +450 None +451 } +452 }; +453 let relay_server = builder.spawn().await?; +454 (Some(relay_server), http_addr) +455 } +456 None => (None, None), +457 }; +458 // If http_addr is Some then relay_server is serving HTTPS. If http_addr is None +459 // relay_server is serving HTTP, including the /generate_204 service. +460 let relay_addr = relay_server.as_ref().map(|srv| srv.addr()); +461 let relay_handle = relay_server.as_ref().map(|srv| srv.handle()); +462 let task = tokio::spawn(relay_supervisor(tasks, relay_server, quic_server)); +463 +464 Ok(Self { +465 http_addr: http_addr.or(relay_addr), +466 https_addr: http_addr.and(relay_addr), +467 quic_addr, +468 relay_handle, +469 quic_handle, +470 supervisor: AbortOnDropHandle::new(task), +471 certificates, +472 metrics, +473 }) +474 } +475 +476 /// Requests graceful shutdown. +477 /// +478 /// Returns once all server tasks have stopped. +479 pub async fn shutdown(self) -> Result<(), SupervisorError> { +480 // Only the Relay server and QUIC server need shutting down, the supervisor will abort the tasks in +481 // the JoinSet when the server terminates. +482 if let Some(handle) = self.relay_handle { +483 handle.shutdown(); +484 } +485 if let Some(handle) = self.quic_handle { +486 handle.shutdown(); +487 } +488 self.supervisor.await? +489 } +490 +491 /// Returns the handle for the task. +492 /// +493 /// This allows waiting for the server's supervisor task to finish. Can be useful in +494 /// case there is an error in the server before it is shut down. +495 pub fn task_handle(&mut self) -> &mut AbortOnDropHandle<Result<(), SupervisorError>> { +496 &mut self.supervisor +497 } +498 +499 /// The socket address the HTTPS server is listening on. +500 pub fn https_addr(&self) -> Option<SocketAddr> { +501 self.https_addr +502 } +503 +504 /// The socket address the HTTP server is listening on. +505 pub fn http_addr(&self) -> Option<SocketAddr> { +506 self.http_addr +507 } +508 +509 /// The socket address the QUIC server is listening on. +510 pub fn quic_addr(&self) -> Option<SocketAddr> { +511 self.quic_addr +512 } +513 +514 /// The certificates chain if configured with manual TLS certificates. +515 pub fn certificates(&self) -> Option<Vec<rustls::pki_types::CertificateDer<'static>>> { +516 self.certificates.clone() +517 } +518 +519 /// Get the server's https [`RelayUrl`]. +520 /// +521 /// This uses [`Self::https_addr`] so it's mostly useful for local development. +522 #[cfg(feature = "test-utils")] +523 pub fn https_url(&self) -> Option<RelayUrl> { +524 self.https_addr.map(|addr| { +525 url::Url::parse(&format!("https://{addr}")) +526 .expect("valid url") +527 .into() +528 }) +529 } +530 +531 /// Get the server's http [`RelayUrl`]. +532 /// +533 /// This uses [`Self::http_addr`] so it's mostly useful for local development. +534 #[cfg(feature = "test-utils")] +535 pub fn http_url(&self) -> Option<RelayUrl> { +536 self.http_addr.map(|addr| { +537 url::Url::parse(&format!("http://{addr}")) +538 .expect("valid url") +539 .into() +540 }) +541 } +542 +543 /// Returns the metrics collected in the relay server. +544 pub fn metrics(&self) -> &RelayMetrics { +545 &self.metrics +546 } +547} +548 +549/// Supervisor for the relay server tasks. +550/// +551/// As soon as one of the tasks exits, all other tasks are stopped and the server stops. +552/// The supervisor finishes once all tasks are finished. +553#[instrument(skip_all)] +554async fn relay_supervisor( +555 mut tasks: JoinSet<Result<(), SupervisorError>>, +556 mut relay_http_server: Option<http_server::Server>, +557 mut quic_server: Option<QuicServer>, +558) -> Result<(), SupervisorError> { +559 let quic_enabled = quic_server.is_some(); +560 let mut quic_fut = match quic_server { +561 Some(ref mut server) => n0_future::Either::Left(server.task_handle()), +562 None => n0_future::Either::Right(n0_future::future::pending()), +563 }; +564 let relay_enabled = relay_http_server.is_some(); +565 let mut relay_fut = match relay_http_server { +566 Some(ref mut server) => n0_future::Either::Left(server.task_handle()), +567 None => n0_future::Either::Right(n0_future::future::pending()), +568 }; +569 let res = tokio::select! { +570 biased; +571 Some(ret) = tasks.join_next() => ret, +572 ret = &mut quic_fut, if quic_enabled => ret.map(Ok), +573 ret = &mut relay_fut, if relay_enabled => ret.map(Ok), +574 else => Ok(Err(e!(SupervisorError::NoRelayServicesEnabled))), +575 }; +576 let ret = match res { +577 Ok(Ok(())) => { +578 debug!("Task exited"); +579 Ok(()) +580 } +581 Ok(Err(err)) => { +582 error!(%err, "Task failed"); +583 Err(err) +584 } +585 Err(err) => { +586 if let Ok(panic) = err.try_into_panic() { +587 error!("Task panicked"); +588 std::panic::resume_unwind(panic); +589 } +590 debug!("Task cancelled"); +591 Err(e!(SupervisorError::TaskCancelled)) +592 } +593 }; +594 +595 // Ensure the HTTP server terminated, there is no harm in calling this after it is +596 // already shut down. +597 if let Some(server) = relay_http_server { +598 server.shutdown(); +599 } +600 +601 // Ensure the QUIC server is closed +602 if let Some(server) = quic_server { +603 server.shutdown().await; +604 } +605 +606 // Stop all remaining tasks +607 tasks.shutdown().await; +608 +609 ret +610} +611 +612fn root_handler( +613 _r: Request<Incoming>, +614 response: ResponseBuilder, +615) -> HyperResult<Response<BytesBody>> { +616 response +617 .status(StatusCode::OK) +618 .header("Content-Type", "text/html; charset=utf-8") +619 .body(INDEX.into()) +620 .map_err(|err| Box::new(err) as HyperError) +621} +622 +623/// HTTP latency queries +624fn probe_handler( +625 _r: Request<Incoming>, +626 response: ResponseBuilder, +627) -> HyperResult<Response<BytesBody>> { +628 response +629 .status(StatusCode::OK) +630 .header("Access-Control-Allow-Origin", "*") +631 .body(body_empty()) +632 .map_err(|err| Box::new(err) as HyperError) +633} +634 +635fn robots_handler( +636 _r: Request<Incoming>, +637 response: ResponseBuilder, +638) -> HyperResult<Response<BytesBody>> { +639 response +640 .status(StatusCode::OK) +641 .body(ROBOTS_TXT.into()) +642 .map_err(|err| Box::new(err) as HyperError) +643} +644 +645/// For captive portal detection. +646fn serve_no_content_handler<B: hyper::body::Body>( +647 r: Request<B>, +648 mut response: ResponseBuilder, +649) -> HyperResult<Response<BytesBody>> { +650 let check = |c: &HeaderValue| { +651 !c.is_empty() && c.len() < 64 && c.as_bytes().iter().all(|c| is_challenge_char(*c as char)) +652 }; +653 +654 if let Some(challenge) = r.headers().get(NO_CONTENT_CHALLENGE_HEADER) { +655 if check(challenge) { +656 response = response.header( +657 NO_CONTENT_RESPONSE_HEADER, +658 format!("response {}", challenge.to_str()?), +659 ); +660 } +661 } +662 +663 response +664 .status(StatusCode::NO_CONTENT) +665 .body(body_empty()) +666 .map_err(|err| Box::new(err) as HyperError) +667} +668 +669fn is_challenge_char(c: char) -> bool { +670 // Semi-randomly chosen as a limited set of valid characters +671 c.is_ascii_lowercase() +672 || c.is_ascii_uppercase() +673 || c.is_ascii_digit() +674 || c == '.' +675 || c == '-' +676 || c == '_' +677} +678 +679/// Health check response +680#[derive(Serialize)] +681struct Health { +682 status: &'static str, +683 version: &'static str, +684 git_hash: &'static str, +685} +686 +687fn healthz_handler( +688 _r: Request<Incoming>, +689 response: ResponseBuilder, +690) -> HyperResult<Response<BytesBody>> { +691 let health = Health { +692 status: "ok", +693 version: env!("CARGO_PKG_VERSION"), +694 git_hash: option_env!("VERGEN_GIT_SHA").unwrap_or("unknown"), +695 }; +696 let body = serde_json::to_string(&health).unwrap_or_else(|_| r#"{"status":"error"}"#.into()); +697 response +698 .status(StatusCode::OK) +699 .header("Content-Type", "application/json") +700 .body(body.into()) +701 .map_err(|err| Box::new(err) as HyperError) +702} +703 +704/// This is a future that never returns, drop it to cancel/abort. +705async fn run_captive_portal_service(http_listener: TcpListener) { +706 info!("serving"); +707 +708 // If this future is cancelled, this is dropped and all tasks are aborted. +709 let mut tasks = JoinSet::new(); +710 +711 loop { +712 tokio::select! { +713 biased; +714 +715 Some(res) = tasks.join_next() => { +716 if let Err(err) = res { +717 if err.is_panic() { +718 panic!("task panicked: {err:#?}"); 719 } 720 } 721 } -722 } -723 } -724} -725 -726#[derive(Clone)] -727struct CaptivePortalService; +722 +723 res = http_listener.accept() => { +724 match res { +725 Ok((stream, peer_addr)) => { +726 debug!(%peer_addr, "Connection opened",); +727 let handler = CaptivePortalService; 728 -729impl hyper::service::Service<Request<Incoming>> for CaptivePortalService { -730 type Response = Response<BytesBody>; -731 type Error = HyperError; -732 type Future = Pin<Box<dyn Future<Output = Result<Self::Response, Self::Error>> + Send>>; -733 -734 fn call(&self, req: Request<Incoming>) -> Self::Future { -735 match (req.method(), req.uri().path()) { -736 // Captive Portal checker -737 (&Method::GET, "/generate_204") => { -738 Box::pin(async move { serve_no_content_handler(req, Response::builder()) }) -739 } -740 _ => { -741 // Return 404 not found response. -742 let r = Response::builder() -743 .status(StatusCode::NOT_FOUND) -744 .body(NOTFOUND.into()) -745 .map_err(|err| Box::new(err) as HyperError); -746 Box::pin(async move { r }) -747 } -748 } -749 } -750} -751 -752#[cfg(test)] -753mod tests { -754 use std::{net::Ipv4Addr, time::Duration}; +729 tasks.spawn(async move { +730 let stream = crate::server::streams::MaybeTlsStream::Plain(stream); +731 let stream = hyper_util::rt::TokioIo::new(stream); +732 if let Err(err) = hyper::server::conn::http1::Builder::new() +733 .serve_connection(stream, handler) +734 .with_upgrades() +735 .await +736 { +737 error!("Failed to serve connection: {err:?}"); +738 } +739 }); +740 } +741 Err(err) => { +742 error!( +743 "[CaptivePortalService] failed to accept connection: {:#?}", +744 err +745 ); +746 } +747 } +748 } +749 } +750 } +751} +752 +753#[derive(Clone)] +754struct CaptivePortalService; 755 -756 use http::StatusCode; -757 use iroh_base::{EndpointId, RelayUrl, SecretKey}; -758 use n0_error::Result; -759 use n0_future::{FutureExt, SinkExt, StreamExt}; -760 use rand::SeedableRng; -761 use tracing::{info, instrument}; -762 use tracing_test::traced_test; -763 -764 use super::{ -765 Access, AccessConfig, NO_CONTENT_CHALLENGE_HEADER, NO_CONTENT_RESPONSE_HEADER, RelayConfig, -766 Server, ServerConfig, SpawnError, -767 }; -768 use crate::{ -769 client::{ClientBuilder, ConnectError}, -770 dns::DnsResolver, -771 protos::{ -772 handshake, -773 relay::{ClientToRelayMsg, Datagrams, RelayToClientMsg}, -774 }, -775 }; -776 -777 async fn spawn_local_relay() -> std::result::Result<Server, SpawnError> { -778 Server::spawn(ServerConfig::<(), ()> { -779 relay: Some(RelayConfig::<(), ()> { -780 http_bind_addr: (Ipv4Addr::LOCALHOST, 0).into(), -781 tls: None, -782 limits: Default::default(), -783 key_cache_capacity: Some(1024), -784 access: AccessConfig::Everyone, -785 }), -786 quic: None, -787 metrics_addr: None, -788 }) -789 .await -790 } -791 -792 #[instrument] -793 async fn try_send_recv( -794 client_a: &mut crate::client::Client, -795 client_b: &mut crate::client::Client, -796 b_key: EndpointId, -797 msg: Datagrams, -798 ) -> Result<RelayToClientMsg> { -799 // try resend 10 times -800 for _ in 0..10 { -801 client_a -802 .send(ClientToRelayMsg::Datagrams { -803 dst_endpoint_id: b_key, -804 datagrams: msg.clone(), -805 }) -806 .await?; -807 let Ok(res) = tokio::time::timeout(Duration::from_millis(500), client_b.next()).await -808 else { -809 continue; -810 }; -811 let res = res.expect("stream finished")?; -812 return Ok(res); -813 } -814 panic!("failed to send and recv message"); -815 } -816 -817 fn dns_resolver() -> DnsResolver { -818 DnsResolver::new() -819 } -820 -821 #[tokio::test] -822 #[traced_test] -823 async fn test_no_services() { -824 let mut server = Server::spawn(ServerConfig::<(), ()>::default()) -825 .await -826 .unwrap(); -827 let res = tokio::time::timeout(Duration::from_secs(5), server.task_handle()) -828 .await -829 .expect("timeout, server not finished") -830 .expect("server task JoinError"); -831 assert!(res.is_err()); -832 } -833 -834 #[tokio::test] -835 #[traced_test] -836 async fn test_conflicting_bind() { -837 let mut server = Server::spawn(ServerConfig::<(), ()> { -838 relay: Some(RelayConfig { -839 http_bind_addr: (Ipv4Addr::LOCALHOST, 1234).into(), -840 tls: None, -841 limits: Default::default(), -842 key_cache_capacity: Some(1024), -843 access: AccessConfig::Everyone, -844 }), -845 quic: None, -846 metrics_addr: Some((Ipv4Addr::LOCALHOST, 1234).into()), -847 }) -848 .await -849 .unwrap(); -850 let res = tokio::time::timeout(Duration::from_secs(5), server.task_handle()) -851 .await -852 .expect("timeout, server not finished") -853 .expect("server task JoinError"); -854 assert!(res.is_err()); // AddrInUse -855 } -856 -857 #[tokio::test] -858 #[traced_test] -859 async fn test_root_handler() { -860 let server = spawn_local_relay().await.unwrap(); -861 let url = format!("http://{}", server.http_addr().unwrap()); -862 -863 let client = reqwest::Client::builder().use_rustls_tls().build().unwrap(); -864 let response = client.get(&url).send().await.unwrap(); -865 assert_eq!(response.status(), 200); -866 let body = response.text().await.unwrap(); -867 assert!(body.contains("iroh.computer")); -868 } -869 -870 #[tokio::test] -871 #[traced_test] -872 async fn test_captive_portal_service() { -873 let server = spawn_local_relay().await.unwrap(); -874 let url = format!("http://{}/generate_204", server.http_addr().unwrap()); -875 let challenge = "123az__."; -876 -877 let client = reqwest::Client::builder().use_rustls_tls().build().unwrap(); -878 let response = client -879 .get(&url) -880 .header(NO_CONTENT_CHALLENGE_HEADER, challenge) -881 .send() -882 .await -883 .unwrap(); -884 assert_eq!(response.status(), StatusCode::NO_CONTENT); -885 let header = response.headers().get(NO_CONTENT_RESPONSE_HEADER).unwrap(); -886 assert_eq!(header.to_str().unwrap(), format!("response {challenge}")); -887 let body = response.text().await.unwrap(); -888 assert!(body.is_empty()); -889 } -890 -891 #[tokio::test] -892 #[traced_test] -893 async fn test_relay_clients() -> Result<()> { -894 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); -895 let server = spawn_local_relay().await?; +756impl hyper::service::Service<Request<Incoming>> for CaptivePortalService { +757 type Response = Response<BytesBody>; +758 type Error = HyperError; +759 type Future = Pin<Box<dyn Future<Output = Result<Self::Response, Self::Error>> + Send>>; +760 +761 fn call(&self, req: Request<Incoming>) -> Self::Future { +762 match (req.method(), req.uri().path()) { +763 // Captive Portal checker +764 (&Method::GET, "/generate_204") => { +765 Box::pin(async move { serve_no_content_handler(req, Response::builder()) }) +766 } +767 _ => { +768 // Return 404 not found response. +769 let r = Response::builder() +770 .status(StatusCode::NOT_FOUND) +771 .body(NOTFOUND.into()) +772 .map_err(|err| Box::new(err) as HyperError); +773 Box::pin(async move { r }) +774 } +775 } +776 } +777} +778 +779#[cfg(test)] +780mod tests { +781 use std::{net::Ipv4Addr, time::Duration}; +782 +783 use http::StatusCode; +784 use iroh_base::{EndpointId, RelayUrl, SecretKey}; +785 use n0_error::Result; +786 use n0_future::{FutureExt, SinkExt, StreamExt}; +787 use n0_tracing_test::traced_test; +788 use rand::SeedableRng; +789 use tracing::{info, instrument}; +790 +791 use super::{ +792 Access, AccessConfig, NO_CONTENT_CHALLENGE_HEADER, NO_CONTENT_RESPONSE_HEADER, RelayConfig, +793 Server, ServerConfig, SpawnError, +794 }; +795 use crate::{ +796 client::{ClientBuilder, ConnectError}, +797 dns::DnsResolver, +798 protos::{ +799 handshake, +800 relay::{ClientToRelayMsg, Datagrams, RelayToClientMsg}, +801 }, +802 }; +803 +804 async fn spawn_local_relay() -> std::result::Result<Server, SpawnError> { +805 Server::spawn(ServerConfig::<(), ()> { +806 relay: Some(RelayConfig::<(), ()> { +807 http_bind_addr: (Ipv4Addr::LOCALHOST, 0).into(), +808 tls: None, +809 limits: Default::default(), +810 key_cache_capacity: Some(1024), +811 access: AccessConfig::Everyone, +812 }), +813 quic: None, +814 metrics_addr: None, +815 }) +816 .await +817 } +818 +819 #[instrument] +820 async fn try_send_recv( +821 client_a: &mut crate::client::Client, +822 client_b: &mut crate::client::Client, +823 b_key: EndpointId, +824 msg: Datagrams, +825 ) -> Result<RelayToClientMsg> { +826 // try resend 10 times +827 for _ in 0..10 { +828 client_a +829 .send(ClientToRelayMsg::Datagrams { +830 dst_endpoint_id: b_key, +831 datagrams: msg.clone(), +832 }) +833 .await?; +834 let Ok(res) = tokio::time::timeout(Duration::from_millis(500), client_b.next()).await +835 else { +836 continue; +837 }; +838 let res = res.expect("stream finished")?; +839 return Ok(res); +840 } +841 panic!("failed to send and recv message"); +842 } +843 +844 fn dns_resolver() -> DnsResolver { +845 DnsResolver::new() +846 } +847 +848 #[tokio::test] +849 #[traced_test] +850 async fn test_no_services() { +851 let mut server = Server::spawn(ServerConfig::<(), ()>::default()) +852 .await +853 .unwrap(); +854 let res = tokio::time::timeout(Duration::from_secs(5), server.task_handle()) +855 .await +856 .expect("timeout, server not finished") +857 .expect("server task JoinError"); +858 assert!(res.is_err()); +859 } +860 +861 #[tokio::test] +862 #[traced_test] +863 async fn test_conflicting_bind() { +864 let mut server = Server::spawn(ServerConfig::<(), ()> { +865 relay: Some(RelayConfig { +866 http_bind_addr: (Ipv4Addr::LOCALHOST, 1234).into(), +867 tls: None, +868 limits: Default::default(), +869 key_cache_capacity: Some(1024), +870 access: AccessConfig::Everyone, +871 }), +872 quic: None, +873 metrics_addr: Some((Ipv4Addr::LOCALHOST, 1234).into()), +874 }) +875 .await +876 .unwrap(); +877 let res = tokio::time::timeout(Duration::from_secs(5), server.task_handle()) +878 .await +879 .expect("timeout, server not finished") +880 .expect("server task JoinError"); +881 assert!(res.is_err()); // AddrInUse +882 } +883 +884 #[tokio::test] +885 #[traced_test] +886 async fn test_root_handler() { +887 let server = spawn_local_relay().await.unwrap(); +888 let url = format!("http://{}", server.http_addr().unwrap()); +889 +890 let client = reqwest::Client::builder().use_rustls_tls().build().unwrap(); +891 let response = client.get(&url).send().await.unwrap(); +892 assert_eq!(response.status(), 200); +893 let body = response.text().await.unwrap(); +894 assert!(body.contains("iroh.computer")); +895 } 896 -897 let relay_url = format!("http://{}", server.http_addr().unwrap()); -898 let relay_url: RelayUrl = relay_url.parse()?; -899 -900 // set up client a -901 let a_secret_key = SecretKey::generate(&mut rng); -902 let a_key = a_secret_key.public(); -903 let resolver = dns_resolver(); -904 info!("client a build & connect"); -905 let mut client_a = ClientBuilder::new(relay_url.clone(), a_secret_key, resolver.clone()) -906 .connect() -907 .await?; -908 -909 // set up client b -910 let b_secret_key = SecretKey::generate(&mut rng); -911 let b_key = b_secret_key.public(); -912 info!("client b build & connect"); -913 let mut client_b = ClientBuilder::new(relay_url.clone(), b_secret_key, resolver.clone()) -914 .connect() -915 .await?; -916 -917 info!("sending a -> b"); -918 -919 // send message from a to b -920 let msg = Datagrams::from("hello, b"); -921 let res = try_send_recv(&mut client_a, &mut client_b, b_key, msg.clone()).await?; -922 let RelayToClientMsg::Datagrams { -923 remote_endpoint_id, -924 datagrams, -925 } = res -926 else { -927 panic!("client_b received unexpected message {res:?}"); -928 }; -929 -930 assert_eq!(a_key, remote_endpoint_id); -931 assert_eq!(msg, datagrams); -932 -933 info!("sending b -> a"); -934 // send message from b to a -935 let msg = Datagrams::from("howdy, a"); -936 let res = try_send_recv(&mut client_b, &mut client_a, a_key, msg.clone()).await?; -937 -938 let RelayToClientMsg::Datagrams { -939 remote_endpoint_id, -940 datagrams, -941 } = res -942 else { -943 panic!("client_a received unexpected message {res:?}"); -944 }; +897 #[tokio::test] +898 #[traced_test] +899 async fn test_captive_portal_service() { +900 let server = spawn_local_relay().await.unwrap(); +901 let url = format!("http://{}/generate_204", server.http_addr().unwrap()); +902 let challenge = "123az__."; +903 +904 let client = reqwest::Client::builder().use_rustls_tls().build().unwrap(); +905 let response = client +906 .get(&url) +907 .header(NO_CONTENT_CHALLENGE_HEADER, challenge) +908 .send() +909 .await +910 .unwrap(); +911 assert_eq!(response.status(), StatusCode::NO_CONTENT); +912 let header = response.headers().get(NO_CONTENT_RESPONSE_HEADER).unwrap(); +913 assert_eq!(header.to_str().unwrap(), format!("response {challenge}")); +914 let body = response.text().await.unwrap(); +915 assert!(body.is_empty()); +916 } +917 +918 #[tokio::test] +919 #[traced_test] +920 async fn test_relay_clients() -> Result<()> { +921 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); +922 let server = spawn_local_relay().await?; +923 +924 let relay_url = format!("http://{}", server.http_addr().unwrap()); +925 let relay_url: RelayUrl = relay_url.parse()?; +926 +927 // set up client a +928 let a_secret_key = SecretKey::generate(&mut rng); +929 let a_key = a_secret_key.public(); +930 let resolver = dns_resolver(); +931 info!("client a build & connect"); +932 let mut client_a = ClientBuilder::new(relay_url.clone(), a_secret_key, resolver.clone()) +933 .connect() +934 .await?; +935 +936 // set up client b +937 let b_secret_key = SecretKey::generate(&mut rng); +938 let b_key = b_secret_key.public(); +939 info!("client b build & connect"); +940 let mut client_b = ClientBuilder::new(relay_url.clone(), b_secret_key, resolver.clone()) +941 .connect() +942 .await?; +943 +944 info!("sending a -> b"); 945 -946 assert_eq!(b_key, remote_endpoint_id); -947 assert_eq!(msg, datagrams); -948 -949 Ok(()) -950 } -951 -952 #[tokio::test] -953 #[traced_test] -954 async fn test_relay_access_control() -> Result<()> { -955 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); -956 let current_span = tracing::info_span!("this is a test"); -957 let _guard = current_span.enter(); -958 -959 let a_secret_key = SecretKey::generate(&mut rng); -960 let a_key = a_secret_key.public(); -961 -962 let server = Server::spawn(ServerConfig::<(), ()> { -963 relay: Some(RelayConfig::<(), ()> { -964 http_bind_addr: (Ipv4Addr::LOCALHOST, 0).into(), -965 tls: None, -966 limits: Default::default(), -967 key_cache_capacity: Some(1024), -968 access: AccessConfig::Restricted(Box::new(move |endpoint_id| { -969 async move { -970 info!("checking {}", endpoint_id); -971 // reject endpoint a -972 if endpoint_id == a_key { -973 Access::Deny -974 } else { -975 Access::Allow -976 } -977 } -978 .boxed() -979 })), -980 }), -981 quic: None, -982 metrics_addr: None, -983 }) -984 .await?; +946 // send message from a to b +947 let msg = Datagrams::from("hello, b"); +948 let res = try_send_recv(&mut client_a, &mut client_b, b_key, msg.clone()).await?; +949 let RelayToClientMsg::Datagrams { +950 remote_endpoint_id, +951 datagrams, +952 } = res +953 else { +954 panic!("client_b received unexpected message {res:?}"); +955 }; +956 +957 assert_eq!(a_key, remote_endpoint_id); +958 assert_eq!(msg, datagrams); +959 +960 info!("sending b -> a"); +961 // send message from b to a +962 let msg = Datagrams::from("howdy, a"); +963 let res = try_send_recv(&mut client_b, &mut client_a, a_key, msg.clone()).await?; +964 +965 let RelayToClientMsg::Datagrams { +966 remote_endpoint_id, +967 datagrams, +968 } = res +969 else { +970 panic!("client_a received unexpected message {res:?}"); +971 }; +972 +973 assert_eq!(b_key, remote_endpoint_id); +974 assert_eq!(msg, datagrams); +975 +976 Ok(()) +977 } +978 +979 #[tokio::test] +980 #[traced_test] +981 async fn test_relay_access_control() -> Result<()> { +982 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); +983 let current_span = tracing::info_span!("this is a test"); +984 let _guard = current_span.enter(); 985 -986 let relay_url = format!("http://{}", server.http_addr().unwrap()); -987 let relay_url: RelayUrl = relay_url.parse()?; +986 let a_secret_key = SecretKey::generate(&mut rng); +987 let a_key = a_secret_key.public(); 988 -989 // set up client a -990 let resolver = dns_resolver(); -991 let result = ClientBuilder::new(relay_url.clone(), a_secret_key, resolver) -992 .connect() -993 .await; -994 -995 assert!( -996 matches!(result, Err(ConnectError::Handshake { source: handshake::Error::ServerDeniedAuth { reason, .. }, .. }) if reason == "not authorized") -997 ); -998 -999 // test that another client has access -1000 -1001 // set up client b -1002 let b_secret_key = SecretKey::generate(&mut rng); -1003 let b_key = b_secret_key.public(); -1004 -1005 let resolver = dns_resolver(); -1006 let mut client_b = ClientBuilder::new(relay_url.clone(), b_secret_key, resolver) -1007 .connect() -1008 .await?; -1009 -1010 // set up client c -1011 let c_secret_key = SecretKey::generate(&mut rng); -1012 let c_key = c_secret_key.public(); -1013 -1014 let resolver = dns_resolver(); -1015 let mut client_c = ClientBuilder::new(relay_url.clone(), c_secret_key, resolver) -1016 .connect() -1017 .await?; -1018 -1019 // send message from b to c -1020 let msg = Datagrams::from("hello, c"); -1021 let res = try_send_recv(&mut client_b, &mut client_c, c_key, msg.clone()).await?; -1022 -1023 if let RelayToClientMsg::Datagrams { -1024 remote_endpoint_id, -1025 datagrams, -1026 } = res -1027 { -1028 assert_eq!(b_key, remote_endpoint_id); -1029 assert_eq!(msg, datagrams); -1030 } else { -1031 panic!("client_c received unexpected message {res:?}"); -1032 } -1033 -1034 Ok(()) -1035 } +989 let server = Server::spawn(ServerConfig::<(), ()> { +990 relay: Some(RelayConfig::<(), ()> { +991 http_bind_addr: (Ipv4Addr::LOCALHOST, 0).into(), +992 tls: None, +993 limits: Default::default(), +994 key_cache_capacity: Some(1024), +995 access: AccessConfig::Restricted(Box::new(move |endpoint_id| { +996 async move { +997 info!("checking {}", endpoint_id); +998 // reject endpoint a +999 if endpoint_id == a_key { +1000 Access::Deny +1001 } else { +1002 Access::Allow +1003 } +1004 } +1005 .boxed() +1006 })), +1007 }), +1008 quic: None, +1009 metrics_addr: None, +1010 }) +1011 .await?; +1012 +1013 let relay_url = format!("http://{}", server.http_addr().unwrap()); +1014 let relay_url: RelayUrl = relay_url.parse()?; +1015 +1016 // set up client a +1017 let resolver = dns_resolver(); +1018 let result = ClientBuilder::new(relay_url.clone(), a_secret_key, resolver) +1019 .connect() +1020 .await; +1021 +1022 assert!( +1023 matches!(result, Err(ConnectError::Handshake { source: handshake::Error::ServerDeniedAuth { reason, .. }, .. }) if reason == "not authorized") +1024 ); +1025 +1026 // test that another client has access +1027 +1028 // set up client b +1029 let b_secret_key = SecretKey::generate(&mut rng); +1030 let b_key = b_secret_key.public(); +1031 +1032 let resolver = dns_resolver(); +1033 let mut client_b = ClientBuilder::new(relay_url.clone(), b_secret_key, resolver) +1034 .connect() +1035 .await?; 1036 -1037 #[tokio::test] -1038 #[traced_test] -1039 async fn test_relay_clients_full() -> Result<()> { -1040 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); -1041 let server = spawn_local_relay().await.unwrap(); -1042 let relay_url = format!("http://{}", server.http_addr().unwrap()); -1043 let relay_url: RelayUrl = relay_url.parse().unwrap(); -1044 -1045 // set up client a -1046 let a_secret_key = SecretKey::generate(&mut rng); -1047 let resolver = dns_resolver(); -1048 let mut client_a = ClientBuilder::new(relay_url.clone(), a_secret_key, resolver.clone()) -1049 .connect() -1050 .await?; -1051 -1052 // set up client b -1053 let b_secret_key = SecretKey::generate(&mut rng); -1054 let b_key = b_secret_key.public(); -1055 let _client_b = ClientBuilder::new(relay_url.clone(), b_secret_key, resolver.clone()) -1056 .connect() -1057 .await?; -1058 -1059 // send messages from a to b, without b receiving anything. -1060 // we should still keep succeeding to send, even if the packet won't be forwarded -1061 // by the relay server because the server's send queue for b fills up. -1062 let msg = Datagrams::from("hello, b"); -1063 for _i in 0..1000 { -1064 client_a -1065 .send(ClientToRelayMsg::Datagrams { -1066 dst_endpoint_id: b_key, -1067 datagrams: msg.clone(), -1068 }) -1069 .await?; -1070 } -1071 Ok(()) -1072 } -1073} \ No newline at end of file +1037 // set up client c +1038 let c_secret_key = SecretKey::generate(&mut rng); +1039 let c_key = c_secret_key.public(); +1040 +1041 let resolver = dns_resolver(); +1042 let mut client_c = ClientBuilder::new(relay_url.clone(), c_secret_key, resolver) +1043 .connect() +1044 .await?; +1045 +1046 // send message from b to c +1047 let msg = Datagrams::from("hello, c"); +1048 let res = try_send_recv(&mut client_b, &mut client_c, c_key, msg.clone()).await?; +1049 +1050 if let RelayToClientMsg::Datagrams { +1051 remote_endpoint_id, +1052 datagrams, +1053 } = res +1054 { +1055 assert_eq!(b_key, remote_endpoint_id); +1056 assert_eq!(msg, datagrams); +1057 } else { +1058 panic!("client_c received unexpected message {res:?}"); +1059 } +1060 +1061 Ok(()) +1062 } +1063 +1064 #[tokio::test] +1065 #[traced_test] +1066 async fn test_relay_clients_full() -> Result<()> { +1067 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); +1068 let server = spawn_local_relay().await.unwrap(); +1069 let relay_url = format!("http://{}", server.http_addr().unwrap()); +1070 let relay_url: RelayUrl = relay_url.parse().unwrap(); +1071 +1072 // set up client a +1073 let a_secret_key = SecretKey::generate(&mut rng); +1074 let resolver = dns_resolver(); +1075 let mut client_a = ClientBuilder::new(relay_url.clone(), a_secret_key, resolver.clone()) +1076 .connect() +1077 .await?; +1078 +1079 // set up client b +1080 let b_secret_key = SecretKey::generate(&mut rng); +1081 let b_key = b_secret_key.public(); +1082 let _client_b = ClientBuilder::new(relay_url.clone(), b_secret_key, resolver.clone()) +1083 .connect() +1084 .await?; +1085 +1086 // send messages from a to b, without b receiving anything. +1087 // we should still keep succeeding to send, even if the packet won't be forwarded +1088 // by the relay server because the server's send queue for b fills up. +1089 let msg = Datagrams::from("hello, b"); +1090 for _i in 0..1000 { +1091 client_a +1092 .send(ClientToRelayMsg::Datagrams { +1093 dst_endpoint_id: b_key, +1094 datagrams: msg.clone(), +1095 }) +1096 .await?; +1097 } +1098 Ok(()) +1099 } +1100} \ No newline at end of file diff --git a/pr/3734/docs/src/iroh_relay/server/client.rs.html b/pr/3734/docs/src/iroh_relay/server/client.rs.html index ad6781805b..cdd4c9e433 100644 --- a/pr/3734/docs/src/iroh_relay/server/client.rs.html +++ b/pr/3734/docs/src/iroh_relay/server/client.rs.html @@ -16,739 +16,651 @@ 16 17use crate::{ 18 PingTracker, -19 protos::{ -20 disco, -21 relay::{ClientToRelayMsg, Datagrams, PING_INTERVAL, RelayToClientMsg}, -22 }, -23 server::{ -24 clients::Clients, -25 metrics::Metrics, -26 streams::{RecvError as RelayRecvError, RelayedStream, SendError as RelaySendError}, -27 }, -28}; -29 -30/// A request to write a dataframe to a Client -31#[derive(Debug, Clone)] -32pub(super) struct Packet { -33 /// The sender of the packet -34 src: EndpointId, -35 /// The data packet bytes. -36 data: Datagrams, -37} -38 -39/// Configuration for a [`Client`]. -40#[derive(Debug)] -41pub(super) struct Config { -42 pub(super) endpoint_id: EndpointId, -43 pub(super) stream: RelayedStream, -44 pub(super) write_timeout: Duration, -45 pub(super) channel_capacity: usize, -46} -47 -48/// The [`Server`] side representation of a [`Client`]'s connection. -49/// -50/// [`Server`]: crate::server::Server -51/// [`Client`]: crate::client::Client -52#[derive(Debug)] -53pub(super) struct Client { -54 /// Identity of the connected peer. -55 endpoint_id: EndpointId, -56 /// Connection identifier. -57 connection_id: u64, -58 /// Used to close the connection loop. -59 done: CancellationToken, -60 /// Actor handle. -61 handle: AbortOnDropHandle<()>, -62 /// Queue of packets intended for the client. -63 send_queue: mpsc::Sender<Packet>, -64 /// Queue of disco packets intended for the client. -65 disco_send_queue: mpsc::Sender<Packet>, -66 /// Channel to notify the client that a previous sender has disconnected. -67 peer_gone: mpsc::Sender<EndpointId>, -68} -69 -70impl Client { -71 /// Creates a client from a connection & starts a read and write loop to handle io to and from -72 /// the client -73 /// Call [`Client::shutdown`] to close the read and write loops before dropping the [`Client`] -74 pub(super) fn new( -75 config: Config, -76 connection_id: u64, -77 clients: &Clients, -78 metrics: Arc<Metrics>, -79 ) -> Client { -80 let Config { -81 endpoint_id, -82 stream, -83 write_timeout, -84 channel_capacity, -85 } = config; +19 protos::relay::{ClientToRelayMsg, Datagrams, PING_INTERVAL, RelayToClientMsg}, +20 server::{ +21 clients::Clients, +22 metrics::Metrics, +23 streams::{RecvError as RelayRecvError, RelayedStream, SendError as RelaySendError}, +24 }, +25}; +26 +27/// A request to write a dataframe to a Client +28#[derive(Debug, Clone)] +29pub(super) struct Packet { +30 /// The sender of the packet +31 src: EndpointId, +32 /// The data packet bytes. +33 data: Datagrams, +34} +35 +36/// Configuration for a [`Client`]. +37#[derive(Debug)] +38pub(super) struct Config { +39 pub(super) endpoint_id: EndpointId, +40 pub(super) stream: RelayedStream, +41 pub(super) write_timeout: Duration, +42 pub(super) channel_capacity: usize, +43} +44 +45/// The [`Server`] side representation of a [`Client`]'s connection. +46/// +47/// [`Server`]: crate::server::Server +48/// [`Client`]: crate::client::Client +49#[derive(Debug)] +50pub(super) struct Client { +51 /// Identity of the connected peer. +52 endpoint_id: EndpointId, +53 /// Connection identifier. +54 connection_id: u64, +55 /// Used to close the connection loop. +56 done: CancellationToken, +57 /// Actor handle. +58 handle: AbortOnDropHandle<()>, +59 /// Queue of packets intended for the client. +60 send_queue: mpsc::Sender<Packet>, +61 /// Channel to notify the client that a previous sender has disconnected. +62 peer_gone: mpsc::Sender<EndpointId>, +63} +64 +65impl Client { +66 /// Creates a client from a connection & starts a read and write loop to handle io to and from +67 /// the client +68 /// Call [`Client::shutdown`] to close the read and write loops before dropping the [`Client`] +69 pub(super) fn new( +70 config: Config, +71 connection_id: u64, +72 clients: &Clients, +73 metrics: Arc<Metrics>, +74 ) -> Client { +75 let Config { +76 endpoint_id, +77 stream, +78 write_timeout, +79 channel_capacity, +80 } = config; +81 +82 let done = CancellationToken::new(); +83 let (send_queue_s, send_queue_r) = mpsc::channel(channel_capacity); +84 +85 let (peer_gone_s, peer_gone_r) = mpsc::channel(channel_capacity); 86 -87 let done = CancellationToken::new(); -88 let (send_queue_s, send_queue_r) = mpsc::channel(channel_capacity); -89 -90 let (disco_send_queue_s, disco_send_queue_r) = mpsc::channel(channel_capacity); -91 let (peer_gone_s, peer_gone_r) = mpsc::channel(channel_capacity); -92 -93 let actor = Actor { -94 stream, -95 timeout: write_timeout, -96 send_queue: send_queue_r, -97 disco_send_queue: disco_send_queue_r, -98 endpoint_gone: peer_gone_r, -99 endpoint_id, -100 connection_id, -101 clients: clients.clone(), -102 client_counter: ClientCounter::default(), -103 ping_tracker: PingTracker::default(), -104 metrics, -105 }; -106 -107 // start io loop -108 let io_done = done.clone(); -109 let handle = tokio::task::spawn(actor.run(io_done).instrument(tracing::info_span!( -110 "client-connection-actor", -111 remote_endpoint = %endpoint_id.fmt_short(), -112 connection_id = connection_id -113 ))); -114 -115 Client { -116 endpoint_id, -117 connection_id, -118 handle: AbortOnDropHandle::new(handle), -119 done, -120 send_queue: send_queue_s, -121 disco_send_queue: disco_send_queue_s, -122 peer_gone: peer_gone_s, -123 } -124 } -125 -126 pub(super) fn connection_id(&self) -> u64 { -127 self.connection_id -128 } -129 -130 /// Shutdown the reader and writer loops and closes the connection. -131 /// -132 /// Any shutdown errors will be logged as warnings. -133 pub(super) async fn shutdown(self) { -134 self.start_shutdown(); -135 if let Err(e) = self.handle.await { -136 warn!( -137 remote_endpoint = %self.endpoint_id.fmt_short(), -138 "error closing actor loop: {e:#?}", -139 ); -140 }; -141 } -142 -143 /// Starts the process of shutdown. -144 pub(super) fn start_shutdown(&self) { -145 self.done.cancel(); +87 let actor = Actor { +88 stream, +89 timeout: write_timeout, +90 send_queue: send_queue_r, +91 endpoint_gone: peer_gone_r, +92 endpoint_id, +93 connection_id, +94 clients: clients.clone(), +95 client_counter: ClientCounter::default(), +96 ping_tracker: PingTracker::default(), +97 metrics, +98 }; +99 +100 // start io loop +101 let io_done = done.clone(); +102 let handle = tokio::task::spawn(actor.run(io_done).instrument(tracing::info_span!( +103 "client-connection-actor", +104 remote_endpoint = %endpoint_id.fmt_short(), +105 connection_id = connection_id +106 ))); +107 +108 Client { +109 endpoint_id, +110 connection_id, +111 handle: AbortOnDropHandle::new(handle), +112 done, +113 send_queue: send_queue_s, +114 peer_gone: peer_gone_s, +115 } +116 } +117 +118 pub(super) fn connection_id(&self) -> u64 { +119 self.connection_id +120 } +121 +122 /// Shutdown the reader and writer loops and closes the connection. +123 /// +124 /// Any shutdown errors will be logged as warnings. +125 pub(super) async fn shutdown(self) { +126 self.start_shutdown(); +127 if let Err(e) = self.handle.await { +128 warn!( +129 remote_endpoint = %self.endpoint_id.fmt_short(), +130 "error closing actor loop: {e:#?}", +131 ); +132 }; +133 } +134 +135 /// Starts the process of shutdown. +136 pub(super) fn start_shutdown(&self) { +137 self.done.cancel(); +138 } +139 +140 pub(super) fn try_send_packet( +141 &self, +142 src: EndpointId, +143 data: Datagrams, +144 ) -> Result<(), TrySendError<Packet>> { +145 self.send_queue.try_send(Packet { src, data }) 146 } 147 -148 pub(super) fn try_send_packet( +148 pub(super) fn try_send_peer_gone( 149 &self, -150 src: EndpointId, -151 data: Datagrams, -152 ) -> Result<(), TrySendError<Packet>> { -153 self.send_queue.try_send(Packet { src, data }) -154 } +150 key: EndpointId, +151 ) -> Result<(), TrySendError<EndpointId>> { +152 self.peer_gone.try_send(key) +153 } +154} 155 -156 pub(super) fn try_send_disco_packet( -157 &self, -158 src: EndpointId, -159 data: Datagrams, -160 ) -> Result<(), TrySendError<Packet>> { -161 self.disco_send_queue.try_send(Packet { src, data }) -162 } -163 -164 pub(super) fn try_send_peer_gone( -165 &self, -166 key: EndpointId, -167 ) -> Result<(), TrySendError<EndpointId>> { -168 self.peer_gone.try_send(key) -169 } -170} -171 -172/// Error for [`Actor::handle_frame`] -173#[stack_error(derive, add_meta, from_sources)] -174#[allow(missing_docs)] -175#[non_exhaustive] -176pub enum HandleFrameError { -177 #[error(transparent)] -178 ForwardPacket { source: ForwardPacketError }, -179 #[error("Stream terminated")] -180 StreamTerminated {}, -181 #[error(transparent)] -182 Recv { source: RelayRecvError }, -183 #[error(transparent)] -184 Send { source: WriteFrameError }, -185} -186 -187/// Error for [`Actor::write_frame`] -188#[stack_error(derive, add_meta, from_sources)] -189#[allow(missing_docs)] -190#[non_exhaustive] -191pub enum WriteFrameError { -192 #[error(transparent)] -193 Stream { source: RelaySendError }, -194 #[error(transparent)] -195 Timeout { -196 #[error(std_err)] -197 source: tokio::time::error::Elapsed, -198 }, -199} -200 -201/// Run error -202#[stack_error(derive, add_meta)] -203#[allow(missing_docs)] -204#[non_exhaustive] -205pub enum RunError { -206 #[error(transparent)] -207 ForwardPacket { -208 #[error(from)] -209 source: ForwardPacketError, -210 }, -211 #[error("Flush")] -212 Flush {}, -213 #[error(transparent)] -214 HandleFrame { -215 #[error(from)] -216 source: HandleFrameError, -217 }, -218 #[error("Server.disco_send_queue dropped")] -219 DiscoSendQueuePacketDrop {}, -220 #[error("Failed to send disco packet")] -221 DiscoPacketSend { source: WriteFrameError }, -222 #[error("Server.send_queue dropped")] -223 SendQueuePacketDrop {}, -224 #[error("Failed to send packet")] -225 PacketSend { source: WriteFrameError }, -226 #[error("Server.endpoint_gone dropped")] -227 EndpointGoneDrop {}, -228 #[error("EndpointGone write frame failed")] -229 EndpointGoneWriteFrame { source: WriteFrameError }, -230 #[error("Keep alive write frame failed")] -231 KeepAliveWriteFrame { source: WriteFrameError }, -232 #[error("Tick flush")] -233 TickFlush {}, -234} -235 -236/// Manages all the reads and writes to this client. It periodically sends a `KEEP_ALIVE` -237/// message to the client to keep the connection alive. -238/// -239/// Call `run` to manage the input and output to and from the connection and the server. -240/// Once it hits its first write error or error receiving off a channel, -241/// it errors on return. -242/// If writes do not complete in the given `timeout`, it will also error. -243/// -244/// On the "write" side, the [`Actor`] can send the client: -245/// - a KEEP_ALIVE frame -246/// - a PEER_GONE frame to inform the client that a peer they have previously sent messages to -247/// is gone from the network -248/// - packets from other peers -249/// -250/// On the "read" side, it can: -251/// - receive a ping and write a pong back -252/// to speak to the endpoint ID associated with that client. -253#[derive(Debug)] -254struct Actor { -255 /// IO Stream to talk to the client -256 stream: RelayedStream, -257 /// Maximum time we wait to complete a write to the client -258 timeout: Duration, -259 /// Packets queued to send to the client -260 send_queue: mpsc::Receiver<Packet>, -261 /// Important packets queued to send to the client -262 disco_send_queue: mpsc::Receiver<Packet>, -263 /// Notify the client that a previous sender has disconnected -264 endpoint_gone: mpsc::Receiver<EndpointId>, -265 /// [`EndpointId`] of this client -266 endpoint_id: EndpointId, -267 /// Connection identifier. -268 connection_id: u64, -269 /// Reference to the other connected clients. -270 clients: Clients, -271 /// Statistics about the connected clients -272 client_counter: ClientCounter, -273 ping_tracker: PingTracker, -274 metrics: Arc<Metrics>, -275} -276 -277impl Actor { -278 async fn run(mut self, done: CancellationToken) { -279 // Note the accept and disconnects metrics must be in a pair. Technically the -280 // connection is accepted long before this in the HTTP server, but it is clearer to -281 // handle the metric here. -282 self.metrics.accepts.inc(); -283 if self.client_counter.update(self.endpoint_id) { -284 self.metrics.unique_client_keys.inc(); -285 } -286 match self.run_inner(done).await { -287 Err(e) => { -288 warn!("actor errored {e:#}, exiting"); -289 } -290 Ok(()) => { -291 debug!("actor finished, exiting"); -292 } -293 } -294 -295 self.clients -296 .unregister(self.connection_id, self.endpoint_id); -297 self.metrics.disconnects.inc(); -298 } -299 -300 async fn run_inner(&mut self, done: CancellationToken) -> Result<(), RunError> { -301 // Add some jitter to ping pong interactions, to avoid all pings being sent at the same time -302 let next_interval = || { -303 let random_secs = rand::rng().random_range(1..=5); -304 Duration::from_secs(random_secs) + PING_INTERVAL -305 }; -306 -307 let mut ping_interval = tokio::time::interval(next_interval()); -308 // ticks immediately -309 ping_interval.set_missed_tick_behavior(MissedTickBehavior::Delay); -310 ping_interval.tick().await; -311 -312 loop { -313 tokio::select! { -314 biased; -315 -316 _ = done.cancelled() => { -317 trace!("actor loop cancelled, exiting"); -318 // final flush -319 self.stream.flush().await.map_err(|_| e!(RunError::Flush))?; -320 break; +156/// Error for [`Actor::handle_frame`] +157#[stack_error(derive, add_meta, from_sources)] +158#[allow(missing_docs)] +159#[non_exhaustive] +160pub enum HandleFrameError { +161 #[error(transparent)] +162 ForwardPacket { source: ForwardPacketError }, +163 #[error("Stream terminated")] +164 StreamTerminated {}, +165 #[error(transparent)] +166 Recv { source: RelayRecvError }, +167 #[error(transparent)] +168 Send { source: WriteFrameError }, +169} +170 +171/// Error for [`Actor::write_frame`] +172#[stack_error(derive, add_meta, from_sources)] +173#[allow(missing_docs)] +174#[non_exhaustive] +175pub enum WriteFrameError { +176 #[error(transparent)] +177 Stream { source: RelaySendError }, +178 #[error(transparent)] +179 Timeout { +180 #[error(std_err)] +181 source: tokio::time::error::Elapsed, +182 }, +183} +184 +185/// Run error +186#[stack_error(derive, add_meta)] +187#[allow(missing_docs)] +188#[non_exhaustive] +189pub enum RunError { +190 #[error(transparent)] +191 ForwardPacket { +192 #[error(from)] +193 source: ForwardPacketError, +194 }, +195 #[error("Flush")] +196 Flush {}, +197 #[error(transparent)] +198 HandleFrame { +199 #[error(from)] +200 source: HandleFrameError, +201 }, +202 #[error("Server.send_queue dropped")] +203 SendQueuePacketDrop {}, +204 #[error("Failed to send packet")] +205 PacketSend { source: WriteFrameError }, +206 #[error("Server.endpoint_gone dropped")] +207 EndpointGoneDrop {}, +208 #[error("EndpointGone write frame failed")] +209 EndpointGoneWriteFrame { source: WriteFrameError }, +210 #[error("Keep alive write frame failed")] +211 KeepAliveWriteFrame { source: WriteFrameError }, +212 #[error("Tick flush")] +213 TickFlush {}, +214} +215 +216/// Manages all the reads and writes to this client. It periodically sends a `KEEP_ALIVE` +217/// message to the client to keep the connection alive. +218/// +219/// Call `run` to manage the input and output to and from the connection and the server. +220/// Once it hits its first write error or error receiving off a channel, +221/// it errors on return. +222/// If writes do not complete in the given `timeout`, it will also error. +223/// +224/// On the "write" side, the [`Actor`] can send the client: +225/// - a KEEP_ALIVE frame +226/// - a PEER_GONE frame to inform the client that a peer they have previously sent messages to +227/// is gone from the network +228/// - packets from other peers +229/// +230/// On the "read" side, it can: +231/// - receive a ping and write a pong back +232/// to speak to the endpoint ID associated with that client. +233#[derive(Debug)] +234struct Actor { +235 /// IO Stream to talk to the client +236 stream: RelayedStream, +237 /// Maximum time we wait to complete a write to the client +238 timeout: Duration, +239 /// Packets queued to send to the client +240 send_queue: mpsc::Receiver<Packet>, +241 /// Notify the client that a previous sender has disconnected +242 endpoint_gone: mpsc::Receiver<EndpointId>, +243 /// [`EndpointId`] of this client +244 endpoint_id: EndpointId, +245 /// Connection identifier. +246 connection_id: u64, +247 /// Reference to the other connected clients. +248 clients: Clients, +249 /// Statistics about the connected clients +250 client_counter: ClientCounter, +251 ping_tracker: PingTracker, +252 metrics: Arc<Metrics>, +253} +254 +255impl Actor { +256 async fn run(mut self, done: CancellationToken) { +257 // Note the accept and disconnects metrics must be in a pair. Technically the +258 // connection is accepted long before this in the HTTP server, but it is clearer to +259 // handle the metric here. +260 self.metrics.accepts.inc(); +261 if self.client_counter.update(self.endpoint_id) { +262 self.metrics.unique_client_keys.inc(); +263 } +264 match self.run_inner(done).await { +265 Err(e) => { +266 warn!("actor errored {e:#}, exiting"); +267 } +268 Ok(()) => { +269 debug!("actor finished, exiting"); +270 } +271 } +272 +273 self.clients +274 .unregister(self.connection_id, self.endpoint_id); +275 self.metrics.disconnects.inc(); +276 } +277 +278 async fn run_inner(&mut self, done: CancellationToken) -> Result<(), RunError> { +279 // Add some jitter to ping pong interactions, to avoid all pings being sent at the same time +280 let next_interval = || { +281 let random_secs = rand::rng().random_range(1..=5); +282 Duration::from_secs(random_secs) + PING_INTERVAL +283 }; +284 +285 let mut ping_interval = tokio::time::interval(next_interval()); +286 // ticks immediately +287 ping_interval.set_missed_tick_behavior(MissedTickBehavior::Delay); +288 ping_interval.tick().await; +289 +290 loop { +291 tokio::select! { +292 biased; +293 +294 _ = done.cancelled() => { +295 trace!("actor loop cancelled, exiting"); +296 // final flush +297 self.stream.flush().await.map_err(|_| e!(RunError::Flush))?; +298 break; +299 } +300 maybe_frame = self.stream.next() => { +301 self +302 .handle_frame(maybe_frame) +303 .await?; +304 // reset the ping interval, we just received a message +305 ping_interval.reset(); +306 } +307 // Second priority, sending regular packets +308 packet = self.send_queue.recv() => { +309 let packet = packet.ok_or_else(|| e!(RunError::SendQueuePacketDrop))?; +310 self.send_packet(packet) +311 .await +312 .map_err(|err| e!(RunError::PacketSend, err))?; +313 } +314 // Last priority, sending left endpoints +315 endpoint_id = self.endpoint_gone.recv() => { +316 let endpoint_id = endpoint_id.ok_or_else(|| e!(RunError::EndpointGoneDrop))?; +317 trace!("endpoint_id gone: {:?}", endpoint_id); +318 self.write_frame(RelayToClientMsg::EndpointGone(endpoint_id)) +319 .await +320 .map_err(|err| e!(RunError::EndpointGoneWriteFrame, err))?; 321 } -322 maybe_frame = self.stream.next() => { -323 self -324 .handle_frame(maybe_frame) -325 .await?; -326 // reset the ping interval, we just received a message -327 ping_interval.reset(); -328 } -329 // First priority, disco packets -330 packet = self.disco_send_queue.recv() => { -331 let packet = packet.ok_or_else(|| e!(RunError::DiscoSendQueuePacketDrop))?; -332 self.send_disco_packet(packet) -333 .await -334 .map_err(|err| e!(RunError::DiscoPacketSend, err))?; -335 } -336 // Second priority, sending regular packets -337 packet = self.send_queue.recv() => { -338 let packet = packet.ok_or_else(|| e!(RunError::SendQueuePacketDrop))?; -339 self.send_packet(packet) -340 .await -341 .map_err(|err| e!(RunError::PacketSend, err))?; -342 } -343 // Last priority, sending left endpoints -344 endpoint_id = self.endpoint_gone.recv() => { -345 let endpoint_id = endpoint_id.ok_or_else(|| e!(RunError::EndpointGoneDrop))?; -346 trace!("endpoint_id gone: {:?}", endpoint_id); -347 self.write_frame(RelayToClientMsg::EndpointGone(endpoint_id)) -348 .await -349 .map_err(|err| e!(RunError::EndpointGoneWriteFrame, err))?; -350 } -351 _ = self.ping_tracker.timeout() => { -352 trace!("pong timed out"); -353 break; -354 } -355 _ = ping_interval.tick() => { -356 trace!("keep alive ping"); -357 // new interval -358 ping_interval.reset_after(next_interval()); -359 let data = self.ping_tracker.new_ping(); -360 self.write_frame(RelayToClientMsg::Ping(data)) -361 .await -362 .map_err(|err| e!(RunError::KeepAliveWriteFrame, err))?; -363 } -364 } -365 -366 self.stream -367 .flush() -368 .await -369 .map_err(|_| e!(RunError::TickFlush))?; -370 } -371 Ok(()) -372 } -373 -374 /// Writes the given frame to the connection. -375 /// -376 /// Errors if the send does not happen within the `timeout` duration -377 async fn write_frame(&mut self, frame: RelayToClientMsg) -> Result<(), WriteFrameError> { -378 tokio::time::timeout(self.timeout, self.stream.send(frame)).await??; -379 Ok(()) -380 } -381 -382 /// Writes contents to the client in a `RECV_PACKET` frame. -383 /// -384 /// Errors if the send does not happen within the `timeout` duration -385 /// Does not flush. -386 async fn send_raw(&mut self, packet: Packet) -> Result<(), WriteFrameError> { -387 let remote_endpoint_id = packet.src; -388 let datagrams = packet.data; -389 -390 if let Ok(len) = datagrams.contents.len().try_into() { -391 self.metrics.bytes_sent.inc_by(len); -392 } -393 self.write_frame(RelayToClientMsg::Datagrams { -394 remote_endpoint_id, -395 datagrams, -396 }) -397 .await -398 } -399 -400 async fn send_packet(&mut self, packet: Packet) -> Result<(), WriteFrameError> { -401 trace!("send packet"); -402 match self.send_raw(packet).await { -403 Ok(()) => { -404 self.metrics.send_packets_sent.inc(); -405 Ok(()) -406 } -407 Err(err) => { -408 self.metrics.send_packets_dropped.inc(); -409 Err(err) -410 } -411 } -412 } -413 -414 async fn send_disco_packet(&mut self, packet: Packet) -> Result<(), WriteFrameError> { -415 trace!("send disco packet"); -416 match self.send_raw(packet).await { -417 Ok(()) => { -418 self.metrics.disco_packets_sent.inc(); -419 Ok(()) -420 } -421 Err(err) => { -422 self.metrics.disco_packets_dropped.inc(); -423 Err(err) -424 } -425 } -426 } -427 -428 /// Handles frame read results. -429 async fn handle_frame( -430 &mut self, -431 maybe_frame: Option<Result<ClientToRelayMsg, RelayRecvError>>, -432 ) -> Result<(), HandleFrameError> { -433 trace!(?maybe_frame, "handle incoming frame"); -434 let frame = match maybe_frame { -435 Some(frame) => frame?, -436 None => return Err(e!(HandleFrameError::StreamTerminated)), -437 }; -438 -439 match frame { -440 ClientToRelayMsg::Datagrams { -441 dst_endpoint_id: dst_key, -442 datagrams, -443 } => { -444 let packet_len = datagrams.contents.len(); -445 if let Err(err @ ForwardPacketError { .. }) = -446 self.handle_frame_send_packet(dst_key, datagrams) -447 { -448 warn!("failed to handle send packet frame: {err:#}"); -449 } -450 self.metrics.bytes_recv.inc_by(packet_len as u64); -451 } -452 ClientToRelayMsg::Ping(data) => { -453 self.metrics.got_ping.inc(); -454 // TODO: add rate limiter -455 self.write_frame(RelayToClientMsg::Pong(data)).await?; -456 self.metrics.sent_pong.inc(); -457 } -458 ClientToRelayMsg::Pong(data) => { -459 self.ping_tracker.pong_received(data); -460 } -461 } -462 Ok(()) -463 } -464 -465 fn handle_frame_send_packet( -466 &self, -467 dst: EndpointId, -468 data: Datagrams, -469 ) -> Result<(), ForwardPacketError> { -470 if disco::looks_like_disco_wrapper(&data.contents) { -471 self.metrics.disco_packets_recv.inc(); -472 self.clients -473 .send_disco_packet(dst, data, self.endpoint_id, &self.metrics)?; -474 } else { -475 self.metrics.send_packets_recv.inc(); -476 self.clients -477 .send_packet(dst, data, self.endpoint_id, &self.metrics)?; -478 } -479 Ok(()) -480 } -481} -482 -483#[derive(Debug)] -484pub(crate) enum PacketScope { -485 Disco, -486 Data, -487} -488 -489#[derive(Debug)] -490pub(crate) enum SendError { -491 Full, -492 Closed, -493} -494 -495#[stack_error(derive, add_meta)] -496#[error("failed to forward {scope:?} packet: {reason:?}")] -497pub struct ForwardPacketError { -498 scope: PacketScope, -499 reason: SendError, -500} -501 -502/// Tracks how many unique endpoints have been seen during the last day. -503#[derive(Debug)] -504struct ClientCounter { -505 clients: HashSet<EndpointId>, -506 last_clear_date: Date, -507} -508 -509impl Default for ClientCounter { -510 fn default() -> Self { -511 Self { -512 clients: HashSet::new(), -513 last_clear_date: OffsetDateTime::now_utc().date(), -514 } -515 } -516} -517 -518impl ClientCounter { -519 fn check_and_clear(&mut self) { -520 let today = OffsetDateTime::now_utc().date(); -521 if today != self.last_clear_date { -522 self.clients.clear(); -523 self.last_clear_date = today; -524 } -525 } +322 _ = self.ping_tracker.timeout() => { +323 trace!("pong timed out"); +324 break; +325 } +326 _ = ping_interval.tick() => { +327 trace!("keep alive ping"); +328 // new interval +329 ping_interval.reset_after(next_interval()); +330 let data = self.ping_tracker.new_ping(); +331 self.write_frame(RelayToClientMsg::Ping(data)) +332 .await +333 .map_err(|err| e!(RunError::KeepAliveWriteFrame, err))?; +334 } +335 } +336 +337 self.stream +338 .flush() +339 .await +340 .map_err(|_| e!(RunError::TickFlush))?; +341 } +342 Ok(()) +343 } +344 +345 /// Writes the given frame to the connection. +346 /// +347 /// Errors if the send does not happen within the `timeout` duration +348 async fn write_frame(&mut self, frame: RelayToClientMsg) -> Result<(), WriteFrameError> { +349 tokio::time::timeout(self.timeout, self.stream.send(frame)).await??; +350 Ok(()) +351 } +352 +353 /// Writes contents to the client in a `RECV_PACKET` frame. +354 /// +355 /// Errors if the send does not happen within the `timeout` duration +356 /// Does not flush. +357 async fn send_raw(&mut self, packet: Packet) -> Result<(), WriteFrameError> { +358 let remote_endpoint_id = packet.src; +359 let datagrams = packet.data; +360 +361 if let Ok(len) = datagrams.contents.len().try_into() { +362 self.metrics.bytes_sent.inc_by(len); +363 } +364 self.write_frame(RelayToClientMsg::Datagrams { +365 remote_endpoint_id, +366 datagrams, +367 }) +368 .await +369 } +370 +371 async fn send_packet(&mut self, packet: Packet) -> Result<(), WriteFrameError> { +372 trace!("send packet"); +373 match self.send_raw(packet).await { +374 Ok(()) => { +375 self.metrics.send_packets_sent.inc(); +376 Ok(()) +377 } +378 Err(err) => { +379 self.metrics.send_packets_dropped.inc(); +380 Err(err) +381 } +382 } +383 } +384 +385 /// Handles frame read results. +386 async fn handle_frame( +387 &mut self, +388 maybe_frame: Option<Result<ClientToRelayMsg, RelayRecvError>>, +389 ) -> Result<(), HandleFrameError> { +390 trace!(?maybe_frame, "handle incoming frame"); +391 let frame = match maybe_frame { +392 Some(frame) => frame?, +393 None => return Err(e!(HandleFrameError::StreamTerminated)), +394 }; +395 +396 match frame { +397 ClientToRelayMsg::Datagrams { +398 dst_endpoint_id: dst_key, +399 datagrams, +400 } => { +401 let packet_len = datagrams.contents.len(); +402 if let Err(err @ ForwardPacketError { .. }) = +403 self.handle_frame_send_packet(dst_key, datagrams) +404 { +405 warn!("failed to handle send packet frame: {err:#}"); +406 } +407 self.metrics.bytes_recv.inc_by(packet_len as u64); +408 } +409 ClientToRelayMsg::Ping(data) => { +410 self.metrics.got_ping.inc(); +411 // TODO: add rate limiter +412 self.write_frame(RelayToClientMsg::Pong(data)).await?; +413 self.metrics.sent_pong.inc(); +414 } +415 ClientToRelayMsg::Pong(data) => { +416 self.ping_tracker.pong_received(data); +417 } +418 } +419 Ok(()) +420 } +421 +422 fn handle_frame_send_packet( +423 &self, +424 dst: EndpointId, +425 data: Datagrams, +426 ) -> Result<(), ForwardPacketError> { +427 self.metrics.send_packets_recv.inc(); +428 self.clients +429 .send_packet(dst, data, self.endpoint_id, &self.metrics)?; +430 +431 Ok(()) +432 } +433} +434 +435#[derive(Debug)] +436pub(crate) enum SendError { +437 Full, +438 Closed, +439} +440 +441#[stack_error(derive, add_meta)] +442#[error("failed to forward packet: {reason:?}")] +443pub struct ForwardPacketError { +444 reason: SendError, +445} +446 +447/// Tracks how many unique endpoints have been seen during the last day. +448#[derive(Debug)] +449struct ClientCounter { +450 clients: HashSet<EndpointId>, +451 last_clear_date: Date, +452} +453 +454impl Default for ClientCounter { +455 fn default() -> Self { +456 Self { +457 clients: HashSet::new(), +458 last_clear_date: OffsetDateTime::now_utc().date(), +459 } +460 } +461} +462 +463impl ClientCounter { +464 fn check_and_clear(&mut self) { +465 let today = OffsetDateTime::now_utc().date(); +466 if today != self.last_clear_date { +467 self.clients.clear(); +468 self.last_clear_date = today; +469 } +470 } +471 +472 /// Marks this endpoint as seen, returns whether it is new today or not. +473 fn update(&mut self, client: EndpointId) -> bool { +474 self.check_and_clear(); +475 self.clients.insert(client) +476 } +477} +478 +479#[cfg(test)] +480mod tests { +481 use iroh_base::SecretKey; +482 use n0_error::{Result, StdResultExt, bail_any}; +483 use n0_future::Stream; +484 use n0_tracing_test::traced_test; +485 use rand::SeedableRng; +486 use tracing::info; +487 +488 use super::*; +489 use crate::{client::conn::Conn, protos::common::FrameType}; +490 +491 async fn recv_frame< +492 E: std::error::Error + Sync + Send + 'static, +493 S: Stream<Item = Result<RelayToClientMsg, E>> + Unpin, +494 >( +495 frame_type: FrameType, +496 mut stream: S, +497 ) -> Result<RelayToClientMsg> { +498 match stream.next().await { +499 Some(Ok(frame)) => { +500 if frame_type != frame.typ() { +501 bail_any!( +502 "Unexpected frame, got {:?}, but expected {:?}", +503 frame.typ(), +504 frame_type +505 ); +506 } +507 Ok(frame) +508 } +509 Some(Err(err)) => Err(err).anyerr(), +510 None => bail_any!("Unexpected EOF, expected frame {frame_type:?}"), +511 } +512 } +513 +514 #[tokio::test] +515 #[traced_test] +516 async fn test_client_actor_basic() -> Result { +517 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); +518 +519 let (send_queue_s, send_queue_r) = mpsc::channel(10); +520 let (peer_gone_s, peer_gone_r) = mpsc::channel(10); +521 +522 let endpoint_id = SecretKey::generate(&mut rng).public(); +523 let (io, io_rw) = tokio::io::duplex(1024); +524 let mut io_rw = Conn::test(io_rw); +525 let stream = RelayedStream::test(io); 526 -527 /// Marks this endpoint as seen, returns whether it is new today or not. -528 fn update(&mut self, client: EndpointId) -> bool { -529 self.check_and_clear(); -530 self.clients.insert(client) -531 } -532} -533 -534#[cfg(test)] -535mod tests { -536 use iroh_base::SecretKey; -537 use n0_error::{Result, StdResultExt, bail_any}; -538 use n0_future::Stream; -539 use rand::SeedableRng; -540 use tracing::info; -541 use tracing_test::traced_test; -542 -543 use super::*; -544 use crate::{client::conn::Conn, protos::common::FrameType}; +527 let clients = Clients::default(); +528 let metrics = Arc::new(Metrics::default()); +529 let actor = Actor { +530 stream, +531 timeout: Duration::from_secs(1), +532 send_queue: send_queue_r, +533 endpoint_gone: peer_gone_r, +534 connection_id: 0, +535 endpoint_id, +536 clients: clients.clone(), +537 client_counter: ClientCounter::default(), +538 ping_tracker: PingTracker::default(), +539 metrics, +540 }; +541 +542 let done = CancellationToken::new(); +543 let io_done = done.clone(); +544 let handle = tokio::task::spawn(async move { actor.run(io_done).await }); 545 -546 async fn recv_frame< -547 E: std::error::Error + Sync + Send + 'static, -548 S: Stream<Item = Result<RelayToClientMsg, E>> + Unpin, -549 >( -550 frame_type: FrameType, -551 mut stream: S, -552 ) -> Result<RelayToClientMsg> { -553 match stream.next().await { -554 Some(Ok(frame)) => { -555 if frame_type != frame.typ() { -556 bail_any!( -557 "Unexpected frame, got {:?}, but expected {:?}", -558 frame.typ(), -559 frame_type -560 ); -561 } -562 Ok(frame) -563 } -564 Some(Err(err)) => Err(err).anyerr(), -565 None => bail_any!("Unexpected EOF, expected frame {frame_type:?}"), -566 } -567 } -568 -569 #[tokio::test] -570 #[traced_test] -571 async fn test_client_actor_basic() -> Result { -572 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); -573 -574 let (send_queue_s, send_queue_r) = mpsc::channel(10); -575 let (disco_send_queue_s, disco_send_queue_r) = mpsc::channel(10); -576 let (peer_gone_s, peer_gone_r) = mpsc::channel(10); -577 -578 let endpoint_id = SecretKey::generate(&mut rng).public(); -579 let (io, io_rw) = tokio::io::duplex(1024); -580 let mut io_rw = Conn::test(io_rw); -581 let stream = RelayedStream::test(io); -582 -583 let clients = Clients::default(); -584 let metrics = Arc::new(Metrics::default()); -585 let actor = Actor { -586 stream, -587 timeout: Duration::from_secs(1), -588 send_queue: send_queue_r, -589 disco_send_queue: disco_send_queue_r, -590 endpoint_gone: peer_gone_r, -591 connection_id: 0, -592 endpoint_id, -593 clients: clients.clone(), -594 client_counter: ClientCounter::default(), -595 ping_tracker: PingTracker::default(), -596 metrics, -597 }; -598 -599 let done = CancellationToken::new(); -600 let io_done = done.clone(); -601 let handle = tokio::task::spawn(async move { actor.run(io_done).await }); -602 -603 // Write tests -604 println!("-- write"); -605 let data = b"hello world!"; -606 -607 // send packet -608 println!(" send packet"); -609 let packet = Packet { -610 src: endpoint_id, -611 data: Datagrams::from(&data[..]), -612 }; -613 send_queue_s -614 .send(packet.clone()) -615 .await -616 .std_context("send")?; -617 let frame = recv_frame(FrameType::RelayToClientDatagram, &mut io_rw) -618 .await -619 .anyerr()?; -620 assert_eq!( -621 frame, -622 RelayToClientMsg::Datagrams { -623 remote_endpoint_id: endpoint_id, -624 datagrams: data.to_vec().into() -625 } -626 ); -627 -628 // send disco packet -629 println!(" send disco packet"); -630 disco_send_queue_s -631 .send(packet.clone()) -632 .await -633 .std_context("send")?; -634 let frame = recv_frame(FrameType::RelayToClientDatagram, &mut io_rw) -635 .await -636 .anyerr()?; -637 assert_eq!( -638 frame, -639 RelayToClientMsg::Datagrams { -640 remote_endpoint_id: endpoint_id, -641 datagrams: data.to_vec().into() -642 } -643 ); -644 -645 // send peer_gone -646 println!("send peer gone"); -647 peer_gone_s.send(endpoint_id).await.std_context("send")?; -648 let frame = recv_frame(FrameType::EndpointGone, &mut io_rw) -649 .await -650 .anyerr()?; -651 assert_eq!(frame, RelayToClientMsg::EndpointGone(endpoint_id)); -652 -653 // Read tests -654 println!("--read"); +546 // Write tests +547 println!("-- write"); +548 let data = b"hello world!"; +549 +550 // send packet +551 println!(" send packet"); +552 let packet = Packet { +553 src: endpoint_id, +554 data: Datagrams::from(&data[..]), +555 }; +556 send_queue_s +557 .send(packet.clone()) +558 .await +559 .std_context("send")?; +560 let frame = recv_frame(FrameType::RelayToClientDatagram, &mut io_rw) +561 .await +562 .anyerr()?; +563 assert_eq!( +564 frame, +565 RelayToClientMsg::Datagrams { +566 remote_endpoint_id: endpoint_id, +567 datagrams: data.to_vec().into() +568 } +569 ); +570 +571 // send peer_gone +572 println!("send peer gone"); +573 peer_gone_s.send(endpoint_id).await.std_context("send")?; +574 let frame = recv_frame(FrameType::EndpointGone, &mut io_rw) +575 .await +576 .anyerr()?; +577 assert_eq!(frame, RelayToClientMsg::EndpointGone(endpoint_id)); +578 +579 // Read tests +580 println!("--read"); +581 +582 // send ping, expect pong +583 let data = b"pingpong"; +584 io_rw.send(ClientToRelayMsg::Ping(*data)).await?; +585 +586 // recv pong +587 println!(" recv pong"); +588 let frame = recv_frame(FrameType::Pong, &mut io_rw).await?; +589 assert_eq!(frame, RelayToClientMsg::Pong(*data)); +590 +591 let target = SecretKey::generate(&mut rng).public(); +592 +593 // send packet +594 println!(" send packet"); +595 let data = b"hello world!"; +596 io_rw +597 .send(ClientToRelayMsg::Datagrams { +598 dst_endpoint_id: target, +599 datagrams: Datagrams::from(data), +600 }) +601 .await +602 .std_context("send")?; +603 +604 done.cancel(); +605 handle.await.std_context("join")?; +606 Ok(()) +607 } +608 +609 #[tokio::test(start_paused = true)] +610 #[traced_test] +611 async fn test_rate_limit() -> Result { +612 const LIMIT: u32 = 50; +613 const MAX_FRAMES: u32 = 100; +614 +615 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); +616 +617 // Build the rate limited stream. +618 let (io_read, io_write) = tokio::io::duplex((LIMIT * MAX_FRAMES) as _); +619 let mut frame_writer = Conn::test(io_write); +620 // Rate limiter allowing LIMIT bytes/s +621 let mut stream = RelayedStream::test_limited(io_read, LIMIT / 10, LIMIT)?; +622 +623 // Prepare a frame to send, assert its size. +624 let data = Datagrams::from(b"hello world!!!!!"); +625 let target = SecretKey::generate(&mut rng).public(); +626 let frame = ClientToRelayMsg::Datagrams { +627 dst_endpoint_id: target, +628 datagrams: data.clone(), +629 }; +630 let frame_len = frame.to_bytes().len(); +631 assert_eq!(frame_len, LIMIT as usize); +632 +633 // Send a frame, it should arrive. +634 info!("-- send packet"); +635 frame_writer.send(frame.clone()).await.std_context("send")?; +636 frame_writer.flush().await.std_context("flush")?; +637 let recv_frame = tokio::time::timeout(Duration::from_millis(500), stream.next()) +638 .await +639 .expect("timeout") +640 .expect("option") +641 .expect("ok"); +642 assert_eq!(recv_frame, frame); +643 +644 // Next frame does not arrive. +645 info!("-- send packet"); +646 frame_writer.send(frame.clone()).await.std_context("send")?; +647 frame_writer.flush().await.std_context("flush")?; +648 let res = tokio::time::timeout(Duration::from_millis(100), stream.next()).await; +649 assert!(res.is_err(), "expecting a timeout"); +650 info!("-- timeout happened"); +651 +652 // Wait long enough. +653 info!("-- sleep"); +654 tokio::time::sleep(Duration::from_secs(1)).await; 655 -656 // send ping, expect pong -657 let data = b"pingpong"; -658 io_rw.send(ClientToRelayMsg::Ping(*data)).await?; -659 -660 // recv pong -661 println!(" recv pong"); -662 let frame = recv_frame(FrameType::Pong, &mut io_rw).await?; -663 assert_eq!(frame, RelayToClientMsg::Pong(*data)); -664 -665 let target = SecretKey::generate(&mut rng).public(); -666 -667 // send packet -668 println!(" send packet"); -669 let data = b"hello world!"; -670 io_rw -671 .send(ClientToRelayMsg::Datagrams { -672 dst_endpoint_id: target, -673 datagrams: Datagrams::from(data), -674 }) -675 .await -676 .std_context("send")?; -677 -678 // send disco packet -679 println!(" send disco packet"); -680 // starts with `MAGIC` & key, then data -681 let mut disco_data = disco::MAGIC.as_bytes().to_vec(); -682 disco_data.extend_from_slice(target.as_bytes()); -683 disco_data.extend_from_slice(data); -684 io_rw -685 .send(ClientToRelayMsg::Datagrams { -686 dst_endpoint_id: target, -687 datagrams: disco_data.clone().into(), -688 }) -689 .await -690 .std_context("send")?; -691 -692 done.cancel(); -693 handle.await.std_context("join")?; -694 Ok(()) -695 } -696 -697 #[tokio::test(start_paused = true)] -698 #[traced_test] -699 async fn test_rate_limit() -> Result { -700 const LIMIT: u32 = 50; -701 const MAX_FRAMES: u32 = 100; -702 -703 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); -704 -705 // Build the rate limited stream. -706 let (io_read, io_write) = tokio::io::duplex((LIMIT * MAX_FRAMES) as _); -707 let mut frame_writer = Conn::test(io_write); -708 // Rate limiter allowing LIMIT bytes/s -709 let mut stream = RelayedStream::test_limited(io_read, LIMIT / 10, LIMIT)?; -710 -711 // Prepare a frame to send, assert its size. -712 let data = Datagrams::from(b"hello world!!!!!"); -713 let target = SecretKey::generate(&mut rng).public(); -714 let frame = ClientToRelayMsg::Datagrams { -715 dst_endpoint_id: target, -716 datagrams: data.clone(), -717 }; -718 let frame_len = frame.to_bytes().len(); -719 assert_eq!(frame_len, LIMIT as usize); -720 -721 // Send a frame, it should arrive. -722 info!("-- send packet"); -723 frame_writer.send(frame.clone()).await.std_context("send")?; -724 frame_writer.flush().await.std_context("flush")?; -725 let recv_frame = tokio::time::timeout(Duration::from_millis(500), stream.next()) -726 .await -727 .expect("timeout") -728 .expect("option") -729 .expect("ok"); -730 assert_eq!(recv_frame, frame); -731 -732 // Next frame does not arrive. -733 info!("-- send packet"); -734 frame_writer.send(frame.clone()).await.std_context("send")?; -735 frame_writer.flush().await.std_context("flush")?; -736 let res = tokio::time::timeout(Duration::from_millis(100), stream.next()).await; -737 assert!(res.is_err(), "expecting a timeout"); -738 info!("-- timeout happened"); -739 -740 // Wait long enough. -741 info!("-- sleep"); -742 tokio::time::sleep(Duration::from_secs(1)).await; -743 -744 // Frame arrives. -745 let recv_frame = tokio::time::timeout(Duration::from_millis(500), stream.next()) -746 .await -747 .expect("timeout") -748 .expect("option") -749 .expect("ok"); -750 assert_eq!(recv_frame, frame); -751 -752 Ok(()) -753 } -754} \ No newline at end of file +656 // Frame arrives. +657 let recv_frame = tokio::time::timeout(Duration::from_millis(500), stream.next()) +658 .await +659 .expect("timeout") +660 .expect("option") +661 .expect("ok"); +662 assert_eq!(recv_frame, frame); +663 +664 Ok(()) +665 } +666} \ No newline at end of file diff --git a/pr/3734/docs/src/iroh_relay/server/clients.rs.html b/pr/3734/docs/src/iroh_relay/server/clients.rs.html index 003c7a5966..0a46312651 100644 --- a/pr/3734/docs/src/iroh_relay/server/clients.rs.html +++ b/pr/3734/docs/src/iroh_relay/server/clients.rs.html @@ -17,285 +17,225 @@ 17use super::client::{Client, Config, ForwardPacketError}; 18use crate::{ 19 protos::relay::Datagrams, -20 server::{ -21 client::{PacketScope, SendError}, -22 metrics::Metrics, -23 }, -24}; -25 -26/// Manages the connections to all currently connected clients. -27#[derive(Debug, Default, Clone)] -28pub(super) struct Clients(Arc<Inner>); -29 -30#[derive(Debug, Default)] -31struct Inner { -32 /// The list of all currently connected clients. -33 clients: DashMap<EndpointId, Client>, -34 /// Map of which client has sent where -35 sent_to: DashMap<EndpointId, HashSet<EndpointId>>, -36 /// Connection ID Counter -37 next_connection_id: AtomicU64, -38} -39 -40impl Clients { -41 pub async fn shutdown(&self) { -42 let keys: Vec<_> = self.0.clients.iter().map(|x| *x.key()).collect(); -43 trace!("shutting down {} clients", keys.len()); -44 let clients = keys.into_iter().filter_map(|k| self.0.clients.remove(&k)); -45 -46 n0_future::join_all(clients.map(|(_, client)| async move { client.shutdown().await })) -47 .await; -48 } -49 -50 /// Builds the client handler and starts the read & write loops for the connection. -51 pub async fn register(&self, client_config: Config, metrics: Arc<Metrics>) { -52 let endpoint_id = client_config.endpoint_id; -53 let connection_id = self.get_connection_id(); -54 trace!(remote_endpoint = %endpoint_id.fmt_short(), "registering client"); -55 -56 let client = Client::new(client_config, connection_id, self, metrics); -57 if let Some(old_client) = self.0.clients.insert(endpoint_id, client) { -58 debug!( -59 remote_endpoint = %endpoint_id.fmt_short(), -60 "multiple connections found, pruning old connection", -61 ); -62 old_client.shutdown().await; -63 } -64 } -65 -66 fn get_connection_id(&self) -> u64 { -67 self.0.next_connection_id.fetch_add(1, Ordering::Relaxed) -68 } -69 -70 /// Removes the client from the map of clients, & sends a notification -71 /// to each client that peers has sent data to, to let them know that -72 /// peer is gone from the network. -73 /// -74 /// Must be passed a matching connection_id. -75 pub(super) fn unregister(&self, connection_id: u64, endpoint_id: EndpointId) { -76 trace!( -77 endpoint_id = %endpoint_id.fmt_short(), -78 connection_id, "unregistering client" -79 ); -80 -81 if let Some((_, client)) = self -82 .0 -83 .clients -84 .remove_if(&endpoint_id, |_, c| c.connection_id() == connection_id) -85 { -86 if let Some((_, sent_to)) = self.0.sent_to.remove(&endpoint_id) { -87 for key in sent_to { -88 match client.try_send_peer_gone(key) { -89 Ok(_) => {} -90 Err(TrySendError::Full(_)) => { -91 debug!( -92 dst = %key.fmt_short(), -93 "client too busy to receive packet, dropping packet" -94 ); -95 } -96 Err(TrySendError::Closed(_)) => { -97 debug!( -98 dst = %key.fmt_short(), -99 "can no longer write to client, dropping packet" -100 ); -101 } -102 } -103 } -104 } -105 } -106 } -107 -108 /// Attempt to send a packet to client with [`EndpointId`] `dst`. -109 pub(super) fn send_packet( -110 &self, -111 dst: EndpointId, -112 data: Datagrams, -113 src: EndpointId, -114 metrics: &Metrics, -115 ) -> Result<(), ForwardPacketError> { -116 let Some(client) = self.0.clients.get(&dst) else { -117 debug!(dst = %dst.fmt_short(), "no connected client, dropped packet"); -118 metrics.send_packets_dropped.inc(); -119 return Ok(()); -120 }; -121 match client.try_send_packet(src, data) { -122 Ok(_) => { -123 // Record sent_to relationship -124 self.0.sent_to.entry(src).or_default().insert(dst); -125 Ok(()) -126 } -127 Err(TrySendError::Full(_)) => { -128 debug!( -129 dst = %dst.fmt_short(), -130 "client too busy to receive packet, dropping packet" -131 ); -132 Err(ForwardPacketError::new(PacketScope::Data, SendError::Full)) -133 } -134 Err(TrySendError::Closed(_)) => { -135 debug!( -136 dst = %dst.fmt_short(), -137 "can no longer write to client, dropping message and pruning connection" -138 ); -139 client.start_shutdown(); -140 Err(ForwardPacketError::new( -141 PacketScope::Data, -142 SendError::Closed, -143 )) -144 } -145 } -146 } -147 -148 /// Attempt to send a disco packet to client with [`EndpointId`] `dst`. -149 pub(super) fn send_disco_packet( -150 &self, -151 dst: EndpointId, -152 data: Datagrams, -153 src: EndpointId, -154 metrics: &Metrics, -155 ) -> Result<(), ForwardPacketError> { -156 let Some(client) = self.0.clients.get(&dst) else { -157 debug!( -158 dst = %dst.fmt_short(), -159 "no connected client, dropped disco packet" -160 ); -161 metrics.disco_packets_dropped.inc(); -162 return Ok(()); -163 }; -164 match client.try_send_disco_packet(src, data) { -165 Ok(_) => { -166 // Record sent_to relationship -167 self.0.sent_to.entry(src).or_default().insert(dst); -168 Ok(()) -169 } -170 Err(TrySendError::Full(_)) => { -171 debug!( -172 dst = %dst.fmt_short(), -173 "client too busy to receive disco packet, dropping packet" -174 ); -175 Err(ForwardPacketError::new(PacketScope::Disco, SendError::Full)) +20 server::{client::SendError, metrics::Metrics}, +21}; +22 +23/// Manages the connections to all currently connected clients. +24#[derive(Debug, Default, Clone)] +25pub(super) struct Clients(Arc<Inner>); +26 +27#[derive(Debug, Default)] +28struct Inner { +29 /// The list of all currently connected clients. +30 clients: DashMap<EndpointId, Client>, +31 /// Map of which client has sent where +32 sent_to: DashMap<EndpointId, HashSet<EndpointId>>, +33 /// Connection ID Counter +34 next_connection_id: AtomicU64, +35} +36 +37impl Clients { +38 pub async fn shutdown(&self) { +39 let keys: Vec<_> = self.0.clients.iter().map(|x| *x.key()).collect(); +40 trace!("shutting down {} clients", keys.len()); +41 let clients = keys.into_iter().filter_map(|k| self.0.clients.remove(&k)); +42 +43 n0_future::join_all(clients.map(|(_, client)| async move { client.shutdown().await })) +44 .await; +45 } +46 +47 /// Builds the client handler and starts the read & write loops for the connection. +48 pub async fn register(&self, client_config: Config, metrics: Arc<Metrics>) { +49 let endpoint_id = client_config.endpoint_id; +50 let connection_id = self.get_connection_id(); +51 trace!(remote_endpoint = %endpoint_id.fmt_short(), "registering client"); +52 +53 let client = Client::new(client_config, connection_id, self, metrics); +54 if let Some(old_client) = self.0.clients.insert(endpoint_id, client) { +55 debug!( +56 remote_endpoint = %endpoint_id.fmt_short(), +57 "multiple connections found, pruning old connection", +58 ); +59 old_client.shutdown().await; +60 } +61 } +62 +63 fn get_connection_id(&self) -> u64 { +64 self.0.next_connection_id.fetch_add(1, Ordering::Relaxed) +65 } +66 +67 /// Removes the client from the map of clients, & sends a notification +68 /// to each client that peers has sent data to, to let them know that +69 /// peer is gone from the network. +70 /// +71 /// Must be passed a matching connection_id. +72 pub(super) fn unregister(&self, connection_id: u64, endpoint_id: EndpointId) { +73 trace!( +74 endpoint_id = %endpoint_id.fmt_short(), +75 connection_id, "unregistering client" +76 ); +77 +78 if let Some((_, client)) = self +79 .0 +80 .clients +81 .remove_if(&endpoint_id, |_, c| c.connection_id() == connection_id) +82 { +83 if let Some((_, sent_to)) = self.0.sent_to.remove(&endpoint_id) { +84 for key in sent_to { +85 match client.try_send_peer_gone(key) { +86 Ok(_) => {} +87 Err(TrySendError::Full(_)) => { +88 debug!( +89 dst = %key.fmt_short(), +90 "client too busy to receive packet, dropping packet" +91 ); +92 } +93 Err(TrySendError::Closed(_)) => { +94 debug!( +95 dst = %key.fmt_short(), +96 "can no longer write to client, dropping packet" +97 ); +98 } +99 } +100 } +101 } +102 } +103 } +104 +105 /// Attempt to send a packet to client with [`EndpointId`] `dst`. +106 pub(super) fn send_packet( +107 &self, +108 dst: EndpointId, +109 data: Datagrams, +110 src: EndpointId, +111 metrics: &Metrics, +112 ) -> Result<(), ForwardPacketError> { +113 let Some(client) = self.0.clients.get(&dst) else { +114 debug!(dst = %dst.fmt_short(), "no connected client, dropped packet"); +115 metrics.send_packets_dropped.inc(); +116 return Ok(()); +117 }; +118 match client.try_send_packet(src, data) { +119 Ok(_) => { +120 // Record sent_to relationship +121 self.0.sent_to.entry(src).or_default().insert(dst); +122 Ok(()) +123 } +124 Err(TrySendError::Full(_)) => { +125 debug!( +126 dst = %dst.fmt_short(), +127 "client too busy to receive packet, dropping packet" +128 ); +129 Err(ForwardPacketError::new(SendError::Full)) +130 } +131 Err(TrySendError::Closed(_)) => { +132 debug!( +133 dst = %dst.fmt_short(), +134 "can no longer write to client, dropping message and pruning connection" +135 ); +136 client.start_shutdown(); +137 Err(ForwardPacketError::new(SendError::Closed)) +138 } +139 } +140 } +141} +142 +143#[cfg(test)] +144mod tests { +145 use std::time::Duration; +146 +147 use iroh_base::SecretKey; +148 use n0_error::{Result, StdResultExt}; +149 use n0_future::{Stream, StreamExt}; +150 use rand::SeedableRng; +151 +152 use super::*; +153 use crate::{ +154 client::conn::Conn, +155 protos::{common::FrameType, relay::RelayToClientMsg}, +156 server::streams::RelayedStream, +157 }; +158 +159 async fn recv_frame< +160 E: std::error::Error + Sync + Send + 'static, +161 S: Stream<Item = Result<RelayToClientMsg, E>> + Unpin, +162 >( +163 frame_type: FrameType, +164 mut stream: S, +165 ) -> Result<RelayToClientMsg> { +166 match stream.next().await { +167 Some(Ok(frame)) => { +168 if frame_type != frame.typ() { +169 n0_error::bail_any!( +170 "Unexpected frame, got {:?}, but expected {:?}", +171 frame.typ(), +172 frame_type +173 ); +174 } +175 Ok(frame) 176 } -177 Err(TrySendError::Closed(_)) => { -178 debug!( -179 dst = %dst.fmt_short(), -180 "can no longer write to client, dropping disco message and pruning connection" -181 ); -182 client.start_shutdown(); -183 Err(ForwardPacketError::new( -184 PacketScope::Disco, -185 SendError::Closed, -186 )) -187 } -188 } -189 } -190} -191 -192#[cfg(test)] -193mod tests { -194 use std::time::Duration; -195 -196 use iroh_base::SecretKey; -197 use n0_error::{Result, StdResultExt}; -198 use n0_future::{Stream, StreamExt}; -199 use rand::SeedableRng; +177 Some(Err(err)) => Err(err).anyerr(), +178 None => n0_error::bail_any!("Unexpected EOF, expected frame {frame_type:?}"), +179 } +180 } +181 +182 fn test_client_builder(key: EndpointId) -> (Config, Conn) { +183 let (server, client) = tokio::io::duplex(1024); +184 ( +185 Config { +186 endpoint_id: key, +187 stream: RelayedStream::test(server), +188 write_timeout: Duration::from_secs(1), +189 channel_capacity: 10, +190 }, +191 Conn::test(client), +192 ) +193 } +194 +195 #[tokio::test] +196 async fn test_clients() -> Result { +197 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); +198 let a_key = SecretKey::generate(&mut rng).public(); +199 let b_key = SecretKey::generate(&mut rng).public(); 200 -201 use super::*; -202 use crate::{ -203 client::conn::Conn, -204 protos::{common::FrameType, relay::RelayToClientMsg}, -205 server::streams::RelayedStream, -206 }; -207 -208 async fn recv_frame< -209 E: std::error::Error + Sync + Send + 'static, -210 S: Stream<Item = Result<RelayToClientMsg, E>> + Unpin, -211 >( -212 frame_type: FrameType, -213 mut stream: S, -214 ) -> Result<RelayToClientMsg> { -215 match stream.next().await { -216 Some(Ok(frame)) => { -217 if frame_type != frame.typ() { -218 n0_error::bail_any!( -219 "Unexpected frame, got {:?}, but expected {:?}", -220 frame.typ(), -221 frame_type -222 ); -223 } -224 Ok(frame) -225 } -226 Some(Err(err)) => Err(err).anyerr(), -227 None => n0_error::bail_any!("Unexpected EOF, expected frame {frame_type:?}"), -228 } -229 } -230 -231 fn test_client_builder(key: EndpointId) -> (Config, Conn) { -232 let (server, client) = tokio::io::duplex(1024); -233 ( -234 Config { -235 endpoint_id: key, -236 stream: RelayedStream::test(server), -237 write_timeout: Duration::from_secs(1), -238 channel_capacity: 10, -239 }, -240 Conn::test(client), -241 ) -242 } -243 -244 #[tokio::test] -245 async fn test_clients() -> Result { -246 let mut rng = rand_chacha::ChaCha8Rng::seed_from_u64(0u64); -247 let a_key = SecretKey::generate(&mut rng).public(); -248 let b_key = SecretKey::generate(&mut rng).public(); -249 -250 let (builder_a, mut a_rw) = test_client_builder(a_key); -251 -252 let clients = Clients::default(); -253 let metrics = Arc::new(Metrics::default()); -254 clients.register(builder_a, metrics.clone()).await; -255 -256 // send packet -257 let data = b"hello world!"; -258 clients.send_packet(a_key, Datagrams::from(&data[..]), b_key, &metrics)?; -259 let frame = recv_frame(FrameType::RelayToClientDatagram, &mut a_rw).await?; -260 assert_eq!( -261 frame, -262 RelayToClientMsg::Datagrams { -263 remote_endpoint_id: b_key, -264 datagrams: data.to_vec().into(), -265 } -266 ); -267 -268 // send disco packet -269 clients.send_disco_packet(a_key, Datagrams::from(&data[..]), b_key, &metrics)?; -270 let frame = recv_frame(FrameType::RelayToClientDatagram, &mut a_rw).await?; -271 assert_eq!( -272 frame, -273 RelayToClientMsg::Datagrams { -274 remote_endpoint_id: b_key, -275 datagrams: data.to_vec().into(), -276 } -277 ); -278 -279 { -280 let client = clients.0.clients.get(&a_key).unwrap(); -281 // shutdown client a, this should trigger the removal from the clients list -282 client.start_shutdown(); -283 } -284 -285 // need to wait a moment for the removal to be processed -286 let c = clients.clone(); -287 tokio::time::timeout(Duration::from_secs(1), async move { -288 loop { -289 if !c.0.clients.contains_key(&a_key) { -290 break; -291 } -292 tokio::time::sleep(Duration::from_millis(100)).await; -293 } -294 }) -295 .await -296 .std_context("timeout")?; -297 clients.shutdown().await; -298 -299 Ok(()) -300 } -301} \ No newline at end of file +201 let (builder_a, mut a_rw) = test_client_builder(a_key); +202 +203 let clients = Clients::default(); +204 let metrics = Arc::new(Metrics::default()); +205 clients.register(builder_a, metrics.clone()).await; +206 +207 // send packet +208 let data = b"hello world!"; +209 clients.send_packet(a_key, Datagrams::from(&data[..]), b_key, &metrics)?; +210 let frame = recv_frame(FrameType::RelayToClientDatagram, &mut a_rw).await?; +211 assert_eq!( +212 frame, +213 RelayToClientMsg::Datagrams { +214 remote_endpoint_id: b_key, +215 datagrams: data.to_vec().into(), +216 } +217 ); +218 +219 { +220 let client = clients.0.clients.get(&a_key).unwrap(); +221 // shutdown client a, this should trigger the removal from the clients list +222 client.start_shutdown(); +223 } +224 +225 // need to wait a moment for the removal to be processed +226 let c = clients.clone(); +227 tokio::time::timeout(Duration::from_secs(1), async move { +228 loop { +229 if !c.0.clients.contains_key(&a_key) { +230 break; +231 } +232 tokio::time::sleep(Duration::from_millis(100)).await; +233 } +234 }) +235 .await +236 .std_context("timeout")?; +237 clients.shutdown().await; +238 +239 Ok(()) +240 } +241} \ No newline at end of file diff --git a/pr/3734/docs/src/iroh_relay/server/http_server.rs.html b/pr/3734/docs/src/iroh_relay/server/http_server.rs.html index a587ee3b2d..7ab80c32e5 100644 --- a/pr/3734/docs/src/iroh_relay/server/http_server.rs.html +++ b/pr/3734/docs/src/iroh_relay/server/http_server.rs.html @@ -850,10 +850,10 @@ 850 use iroh_base::{PublicKey, SecretKey}; 851 use n0_error::{Result, StdResultExt, bail_any}; 852 use n0_future::{SinkExt, StreamExt}; -853 use rand::SeedableRng; -854 use reqwest::Url; -855 use tracing::info; -856 use tracing_test::traced_test; +853 use n0_tracing_test::traced_test; +854 use rand::SeedableRng; +855 use reqwest::Url; +856 use tracing::info; 857 858 use super::*; 859 use crate::{ diff --git a/pr/3734/docs/src/iroh_relay/server/metrics.rs.html b/pr/3734/docs/src/iroh_relay/server/metrics.rs.html index 3070be22f2..7e4da37a19 100644 --- a/pr/3734/docs/src/iroh_relay/server/metrics.rs.html +++ b/pr/3734/docs/src/iroh_relay/server/metrics.rs.html @@ -16,73 +16,63 @@ 16 #[metrics(help = "Number of bytes received.")] 17 pub bytes_recv: Counter, 18 -19 /// `FrameType::SendPacket` sent, that are not disco messages +19 /// `FrameType::SendPacket` sent 20 #[metrics(help = "Number of 'send' packets relayed.")] 21 pub send_packets_sent: Counter, -22 /// `FrameType::SendPacket` received, that are not disco messages +22 /// `FrameType::SendPacket` received 23 #[metrics(help = "Number of 'send' packets received.")] 24 pub send_packets_recv: Counter, -25 /// `FrameType::SendPacket` dropped, that are not disco messages +25 /// `FrameType::SendPacket` dropped 26 #[metrics(help = "Number of 'send' packets dropped.")] 27 pub send_packets_dropped: Counter, 28 -29 /// `FrameType::SendPacket` sent that are disco messages -30 #[metrics(help = "Number of disco packets sent.")] -31 pub disco_packets_sent: Counter, -32 /// `FrameType::SendPacket` received that are disco messages -33 #[metrics(help = "Number of disco packets received.")] -34 pub disco_packets_recv: Counter, -35 /// `FrameType::SendPacket` dropped that are disco messages -36 #[metrics(help = "Number of disco packets dropped.")] -37 pub disco_packets_dropped: Counter, +29 /// Packets of other `FrameType`s sent +30 #[metrics(help = "Number of packets sent that were not 'send' packets")] +31 pub other_packets_sent: Counter, +32 /// Packets of other `FrameType`s received +33 #[metrics(help = "Number of packets received that were not 'send' packets")] +34 pub other_packets_recv: Counter, +35 /// Packets of other `FrameType`s dropped +36 #[metrics(help = "Number of times, non-send packet was dropped.")] +37 pub other_packets_dropped: Counter, 38 -39 /// Packets of other `FrameType`s sent -40 #[metrics(help = "Number of packets sent that were not disco packets or 'send' packets")] -41 pub other_packets_sent: Counter, -42 /// Packets of other `FrameType`s received -43 #[metrics(help = "Number of packets received that were not disco packets or 'send' packets")] -44 pub other_packets_recv: Counter, -45 /// Packets of other `FrameType`s dropped -46 #[metrics(help = "Number of times a non-disco, non-send packet was dropped.")] -47 pub other_packets_dropped: Counter, +39 /// Number of `FrameType::Ping`s received +40 #[metrics(help = "Number of times the server has received a Ping from a client.")] +41 pub got_ping: Counter, +42 /// Number of `FrameType::Pong`s sent +43 #[metrics(help = "Number of times the server has sent a Pong to a client.")] +44 pub sent_pong: Counter, +45 /// Number of `FrameType::Unknown` received +46 #[metrics(help = "Number of unknown frames sent to this server.")] +47 pub unknown_frames: Counter, 48 -49 /// Number of `FrameType::Ping`s received -50 #[metrics(help = "Number of times the server has received a Ping from a client.")] -51 pub got_ping: Counter, -52 /// Number of `FrameType::Pong`s sent -53 #[metrics(help = "Number of times the server has sent a Pong to a client.")] -54 pub sent_pong: Counter, -55 /// Number of `FrameType::Unknown` received -56 #[metrics(help = "Number of unknown frames sent to this server.")] -57 pub unknown_frames: Counter, -58 -59 /// Number of bytes received from client connection which have been rate-limited. -60 pub bytes_rx_ratelimited_total: Counter, -61 /// Number of client connections which have had any frames rate-limited. -62 pub conns_rx_ratelimited_total: Counter, -63 -64 /* -65 * Metrics about peers -66 */ -67 /// Number of times this server has accepted a connection. -68 pub accepts: Counter, -69 /// Number of connections we have removed because of an error -70 #[metrics(help = "Number of clients that have then disconnected.")] -71 pub disconnects: Counter, -72 -73 /// Number of unique client keys per day -74 pub unique_client_keys: Counter, -75 // TODO: enable when we can have multiple connections for one endpoint id -76 // pub duplicate_client_keys: Counter, -77 // pub duplicate_client_conns: Counter, -78 // TODO: only important stat that we cannot track right now -79 // pub average_queue_duration: -80} -81 -82/// All metrics tracked in the relay server. -83#[derive(Debug, Default, Clone, MetricsGroupSet)] -84#[metrics(name = "relay")] -85pub struct RelayMetrics { -86 /// Metrics tracked for the relay server. -87 pub server: Arc<Metrics>, -88} \ No newline at end of file +49 /// Number of bytes received from client connection which have been rate-limited. +50 pub bytes_rx_ratelimited_total: Counter, +51 /// Number of client connections which have had any frames rate-limited. +52 pub conns_rx_ratelimited_total: Counter, +53 +54 /* +55 * Metrics about peers +56 */ +57 /// Number of times this server has accepted a connection. +58 pub accepts: Counter, +59 /// Number of connections we have removed because of an error +60 #[metrics(help = "Number of clients that have then disconnected.")] +61 pub disconnects: Counter, +62 +63 /// Number of unique client keys per day +64 pub unique_client_keys: Counter, +65 // TODO: enable when we can have multiple connections for one endpoint id +66 // pub duplicate_client_keys: Counter, +67 // pub duplicate_client_conns: Counter, +68 // TODO: only important stat that we cannot track right now +69 // pub average_queue_duration: +70} +71 +72/// All metrics tracked in the relay server. +73#[derive(Debug, Default, Clone, MetricsGroupSet)] +74#[metrics(name = "relay")] +75pub struct RelayMetrics { +76 /// Metrics tracked for the relay server. +77 pub server: Arc<Metrics>, +78} \ No newline at end of file diff --git a/pr/3734/docs/src/iroh_relay/server/streams.rs.html b/pr/3734/docs/src/iroh_relay/server/streams.rs.html index 5c3d087087..d09f22c692 100644 --- a/pr/3734/docs/src/iroh_relay/server/streams.rs.html +++ b/pr/3734/docs/src/iroh_relay/server/streams.rs.html @@ -488,8 +488,8 @@ 488 489 use n0_error::{Result, StdResultExt}; 490 use n0_future::time; -491 use tokio::io::{AsyncReadExt, AsyncWriteExt}; -492 use tracing_test::traced_test; +491 use n0_tracing_test::traced_test; +492 use tokio::io::{AsyncReadExt, AsyncWriteExt}; 493 494 use super::Bucket; 495 use crate::server::{Metrics, streams::RateLimited}; diff --git a/pr/3734/docs/trait.impl/core/clone/trait.Clone.js b/pr/3734/docs/trait.impl/core/clone/trait.Clone.js index 338ce289de..18181723e2 100644 --- a/pr/3734/docs/trait.impl/core/clone/trait.Clone.js +++ b/pr/3734/docs/trait.impl/core/clone/trait.Clone.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl Clone for DiscoveryError"],["impl Clone for DiscoveryEvent"],["impl Clone for AuthenticationError"],["impl Clone for ConnectingError"],["impl Clone for DirectAddrType"],["impl Clone for RelayMode"],["impl Clone for Source"],["impl Clone for TransportConfig"],["impl Clone for ZeroRttStatus"],["impl Clone for Probe"],["impl Clone for MdnsDiscovery"],["impl Clone for DhtDiscovery"],["impl Clone for PkarrPublisher"],["impl Clone for PkarrRelayClient"],["impl Clone for PkarrResolver"],["impl Clone for StaticProvider"],["impl Clone for ConcurrentDiscovery"],["impl Clone for DiscoveryItem"],["impl Clone for N0"],["impl Clone for ConnectOptions"],["impl Clone for ConnectionInfo"],["impl Clone for DirectAddr"],["impl Clone for Endpoint"],["impl Clone for HandshakeCompleted"],["impl Clone for IncomingZeroRtt"],["impl Clone for OutgoingZeroRtt"],["impl Clone for PathInfo"],["impl Clone for PathInfoList"],["impl Clone for QuicTransportConfig"],["impl Clone for RemoteEndpointIdError"],["impl Clone for EndpointMetrics"],["impl Clone for Options"],["impl Clone for QuicConfig"],["impl Clone for RelayLatencies"],["impl Clone for Report"],["impl Clone for Router"],["impl<P: Clone + ProtocolHandler + Clone> Clone for AccessLimit<P>"],["impl<State: Clone + ConnectionState> Clone for Connection<State>
    where\n State::Data: Clone,
    "]]],["iroh_base",[["impl Clone for TransportAddr"],["impl Clone for EndpointAddr"],["impl Clone for PublicKey"],["impl Clone for RelayUrl"],["impl Clone for SecretKey"],["impl Clone for Signature"]]],["iroh_bench",[["impl Clone for Commands"],["impl Clone for Opt"],["impl Clone for Opt"]]],["iroh_dns_server",[["impl Clone for CertMode"],["impl Clone for RateLimitConfig"],["impl Clone for StoreConfig"],["impl Clone for DnsConfig"],["impl Clone for DnsHandler"],["impl Clone for Handle"],["impl Clone for HttpConfig"],["impl Clone for HttpsConfig"],["impl Clone for AppState"],["impl Clone for ZoneStore"]]],["iroh_relay",[["impl Clone for DnsProtocol"],["impl Clone for FrameType"],["impl Clone for ClientToRelayMsg"],["impl Clone for RelayToClientMsg"],["impl Clone for Access"],["impl Clone for ClientBuilder"],["impl Clone for Builder"],["impl Clone for DnsResolver"],["impl Clone for TxtRecordData"],["impl Clone for EndpointData"],["impl Clone for EndpointInfo"],["impl Clone for UserData"],["impl Clone for Datagrams"],["impl Clone for QuicClient"],["impl Clone for ClientRateLimit"],["impl Clone for RelayMetrics"],["impl Clone for RelayConfig"],["impl Clone for RelayMap"],["impl Clone for RelayQuicConfig"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl Clone for DiscoveryError"],["impl Clone for DiscoveryEvent"],["impl Clone for AuthenticationError"],["impl Clone for ConnectingError"],["impl Clone for DirectAddrType"],["impl Clone for RelayMode"],["impl Clone for Source"],["impl Clone for TransportAddrUsage"],["impl Clone for TransportConfig"],["impl Clone for ZeroRttStatus"],["impl Clone for MdnsDiscovery"],["impl Clone for DhtDiscovery"],["impl Clone for PkarrPublisher"],["impl Clone for PkarrRelayClient"],["impl Clone for PkarrResolver"],["impl Clone for StaticProvider"],["impl Clone for ConcurrentDiscovery"],["impl Clone for DiscoveryItem"],["impl Clone for N0"],["impl Clone for ConnectOptions"],["impl Clone for ConnectionInfo"],["impl Clone for DirectAddr"],["impl Clone for Endpoint"],["impl Clone for HandshakeCompleted"],["impl Clone for IncomingZeroRtt"],["impl Clone for OutgoingZeroRtt"],["impl Clone for PathInfo"],["impl Clone for PathInfoList"],["impl Clone for QuicTransportConfig"],["impl Clone for QuicTransportConfigBuilder"],["impl Clone for RemoteEndpointIdError"],["impl Clone for RemoteInfo"],["impl Clone for ServerConfig"],["impl Clone for ServerConfigBuilder"],["impl Clone for TransportAddrInfo"],["impl Clone for EndpointMetrics"],["impl Clone for Router"],["impl Clone for Report"],["impl Clone for QlogFileGroup"],["impl<P: Clone + ProtocolHandler + Clone> Clone for AccessLimit<P>"],["impl<State: Clone + ConnectionState> Clone for Connection<State>
    where\n State::Data: Clone,
    "]]],["iroh_base",[["impl Clone for TransportAddr"],["impl Clone for EndpointAddr"],["impl Clone for PublicKey"],["impl Clone for RelayUrl"],["impl Clone for SecretKey"],["impl Clone for Signature"]]],["iroh_bench",[["impl Clone for Commands"],["impl Clone for Opt"],["impl Clone for Opt"]]],["iroh_dns_server",[["impl Clone for CertMode"],["impl Clone for RateLimitConfig"],["impl Clone for StoreConfig"],["impl Clone for DnsConfig"],["impl Clone for DnsHandler"],["impl Clone for Handle"],["impl Clone for HttpConfig"],["impl Clone for HttpsConfig"],["impl Clone for AppState"],["impl Clone for ZoneStore"]]],["iroh_relay",[["impl Clone for DnsProtocol"],["impl Clone for FrameType"],["impl Clone for ClientToRelayMsg"],["impl Clone for RelayToClientMsg"],["impl Clone for Access"],["impl Clone for ClientBuilder"],["impl Clone for Builder"],["impl Clone for DnsResolver"],["impl Clone for TxtRecordData"],["impl Clone for EndpointData"],["impl Clone for EndpointInfo"],["impl Clone for UserData"],["impl Clone for Datagrams"],["impl Clone for QuicClient"],["impl Clone for ClientRateLimit"],["impl Clone for RelayMetrics"],["impl Clone for RelayConfig"],["impl Clone for RelayMap"],["impl Clone for RelayQuicConfig"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[11846,1594,770,2860,5421]} \ No newline at end of file +//{"start":57,"fragment_lengths":[12783,1594,770,2860,5421]} \ No newline at end of file diff --git a/pr/3734/docs/trait.impl/core/cmp/trait.Eq.js b/pr/3734/docs/trait.impl/core/cmp/trait.Eq.js index 14fdd7283f..eb3cd76d4b 100644 --- a/pr/3734/docs/trait.impl/core/cmp/trait.Eq.js +++ b/pr/3734/docs/trait.impl/core/cmp/trait.Eq.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl Eq for DiscoveryEvent"],["impl Eq for DirectAddrType"],["impl Eq for RelayMode"],["impl Eq for Source"],["impl Eq for Probe"],["impl Eq for DiscoveryItem"],["impl Eq for DirectAddr"],["impl Eq for PathInfo"],["impl Eq for PathInfoList"],["impl Eq for RelayLatencies"],["impl Eq for Report"]]],["iroh_base",[["impl Eq for TransportAddr"],["impl Eq for EndpointAddr"],["impl Eq for PublicKey"],["impl Eq for RelayUrl"],["impl Eq for Signature"]]],["iroh_dns_server",[["impl Eq for CertMode"]]],["iroh_relay",[["impl Eq for DnsProtocol"],["impl Eq for FrameType"],["impl Eq for ClientToRelayMsg"],["impl Eq for RelayToClientMsg"],["impl Eq for Access"],["impl Eq for EndpointData"],["impl Eq for EndpointInfo"],["impl Eq for UserData"],["impl Eq for Datagrams"],["impl Eq for RelayConfig"],["impl Eq for RelayMap"],["impl Eq for RelayQuicConfig"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl Eq for DiscoveryEvent"],["impl Eq for DirectAddrType"],["impl Eq for RelayMode"],["impl Eq for Source"],["impl Eq for DiscoveryItem"],["impl Eq for DirectAddr"],["impl Eq for PathInfo"],["impl Eq for PathInfoList"],["impl Eq for Report"]]],["iroh_base",[["impl Eq for TransportAddr"],["impl Eq for EndpointAddr"],["impl Eq for PublicKey"],["impl Eq for RelayUrl"],["impl Eq for Signature"]]],["iroh_dns_server",[["impl Eq for CertMode"]]],["iroh_relay",[["impl Eq for DnsProtocol"],["impl Eq for FrameType"],["impl Eq for ClientToRelayMsg"],["impl Eq for RelayToClientMsg"],["impl Eq for Access"],["impl Eq for EndpointData"],["impl Eq for EndpointInfo"],["impl Eq for UserData"],["impl Eq for Datagrams"],["impl Eq for RelayConfig"],["impl Eq for RelayMap"],["impl Eq for RelayQuicConfig"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[2870,1268,284,3287]} \ No newline at end of file +//{"start":57,"fragment_lengths":[2334,1268,284,3287]} \ No newline at end of file diff --git a/pr/3734/docs/trait.impl/core/cmp/trait.Ord.js b/pr/3734/docs/trait.impl/core/cmp/trait.Ord.js index 94baa6ef98..e9bd8a7d7c 100644 --- a/pr/3734/docs/trait.impl/core/cmp/trait.Ord.js +++ b/pr/3734/docs/trait.impl/core/cmp/trait.Ord.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl Ord for DirectAddrType"],["impl Ord for Probe"],["impl Ord for DirectAddr"]]],["iroh_base",[["impl Ord for TransportAddr"],["impl Ord for EndpointAddr"],["impl Ord for PublicKey"],["impl Ord for RelayUrl"]]],["iroh_relay",[["impl Ord for UserData"],["impl Ord for RelayConfig"],["impl Ord for RelayQuicConfig"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl Ord for DirectAddrType"],["impl Ord for DirectAddr"]]],["iroh_base",[["impl Ord for TransportAddr"],["impl Ord for EndpointAddr"],["impl Ord for PublicKey"],["impl Ord for RelayUrl"]]],["iroh_relay",[["impl Ord for UserData"],["impl Ord for RelayConfig"],["impl Ord for RelayQuicConfig"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[788,1032,826]} \ No newline at end of file +//{"start":57,"fragment_lengths":[542,1032,826]} \ No newline at end of file diff --git a/pr/3734/docs/trait.impl/core/cmp/trait.PartialEq.js b/pr/3734/docs/trait.impl/core/cmp/trait.PartialEq.js index c0804c7f46..5a25c6a2d3 100644 --- a/pr/3734/docs/trait.impl/core/cmp/trait.PartialEq.js +++ b/pr/3734/docs/trait.impl/core/cmp/trait.PartialEq.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl PartialEq for DiscoveryEvent"],["impl PartialEq for DirectAddrType"],["impl PartialEq for RelayMode"],["impl PartialEq for Source"],["impl PartialEq for Probe"],["impl PartialEq for DiscoveryItem"],["impl PartialEq for DirectAddr"],["impl PartialEq for PathInfo"],["impl PartialEq for PathInfoList"],["impl PartialEq for RelayLatencies"],["impl PartialEq for Report"]]],["iroh_base",[["impl PartialEq for TransportAddr"],["impl PartialEq for EndpointAddr"],["impl PartialEq for PublicKey"],["impl PartialEq for RelayUrl"],["impl PartialEq for Signature"]]],["iroh_dns_server",[["impl PartialEq for CertMode"]]],["iroh_relay",[["impl PartialEq for DnsProtocol"],["impl PartialEq for FrameType"],["impl PartialEq for ClientToRelayMsg"],["impl PartialEq for RelayToClientMsg"],["impl PartialEq for Access"],["impl PartialEq for EndpointData"],["impl PartialEq for EndpointInfo"],["impl PartialEq for UserData"],["impl PartialEq for Datagrams"],["impl PartialEq for RelayConfig"],["impl PartialEq for RelayMap"],["impl PartialEq for RelayQuicConfig"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl PartialEq for DiscoveryEvent"],["impl PartialEq for DirectAddrType"],["impl PartialEq for RelayMode"],["impl PartialEq for Source"],["impl PartialEq for DiscoveryItem"],["impl PartialEq for DirectAddr"],["impl PartialEq for PathInfo"],["impl PartialEq for PathInfoList"],["impl PartialEq for Report"]]],["iroh_base",[["impl PartialEq for TransportAddr"],["impl PartialEq for EndpointAddr"],["impl PartialEq for PublicKey"],["impl PartialEq for RelayUrl"],["impl PartialEq for Signature"]]],["iroh_dns_server",[["impl PartialEq for CertMode"]]],["iroh_relay",[["impl PartialEq for DnsProtocol"],["impl PartialEq for FrameType"],["impl PartialEq for ClientToRelayMsg"],["impl PartialEq for RelayToClientMsg"],["impl PartialEq for Access"],["impl PartialEq for EndpointData"],["impl PartialEq for EndpointInfo"],["impl PartialEq for UserData"],["impl PartialEq for Datagrams"],["impl PartialEq for RelayConfig"],["impl PartialEq for RelayMap"],["impl PartialEq for RelayQuicConfig"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[3101,1373,305,3539]} \ No newline at end of file +//{"start":57,"fragment_lengths":[2523,1373,305,3539]} \ No newline at end of file diff --git a/pr/3734/docs/trait.impl/core/cmp/trait.PartialOrd.js b/pr/3734/docs/trait.impl/core/cmp/trait.PartialOrd.js index afdc424ec4..be6e80da52 100644 --- a/pr/3734/docs/trait.impl/core/cmp/trait.PartialOrd.js +++ b/pr/3734/docs/trait.impl/core/cmp/trait.PartialOrd.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl PartialOrd for DirectAddrType"],["impl PartialOrd for Probe"],["impl PartialOrd for DirectAddr"]]],["iroh_base",[["impl PartialOrd for TransportAddr"],["impl PartialOrd for EndpointAddr"],["impl PartialOrd for PublicKey"],["impl PartialOrd for RelayUrl"]]],["iroh_relay",[["impl PartialOrd for UserData"],["impl PartialOrd for RelayConfig"],["impl PartialOrd for RelayQuicConfig"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl PartialOrd for DirectAddrType"],["impl PartialOrd for DirectAddr"]]],["iroh_base",[["impl PartialOrd for TransportAddr"],["impl PartialOrd for EndpointAddr"],["impl PartialOrd for PublicKey"],["impl PartialOrd for RelayUrl"]]],["iroh_relay",[["impl PartialOrd for UserData"],["impl PartialOrd for RelayConfig"],["impl PartialOrd for RelayQuicConfig"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[851,1116,889]} \ No newline at end of file +//{"start":57,"fragment_lengths":[584,1116,889]} \ No newline at end of file diff --git a/pr/3734/docs/trait.impl/core/convert/trait.From.js b/pr/3734/docs/trait.impl/core/convert/trait.From.js index 5fe49b9492..d0414ce69b 100644 --- a/pr/3734/docs/trait.impl/core/convert/trait.From.js +++ b/pr/3734/docs/trait.impl/core/convert/trait.From.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl From<DiscoveryError> for ConnectWithOptsError"],["impl From<DiscoveryError> for AnyError"],["impl From<IntoDiscoveryError> for BindError"],["impl From<IntoDiscoveryError> for AnyError"],["impl From<PkarrError> for DiscoveryError"],["impl From<PkarrError> for AnyError"],["impl From<AlpnError> for AnyError"],["impl From<AuthenticationError> for ConnectingError"],["impl From<AuthenticationError> for AnyError"],["impl From<BindError> for AnyError"],["impl From<ConnectError> for AnyError"],["impl From<ConnectWithOptsError> for ConnectError"],["impl From<ConnectWithOptsError> for AnyError"],["impl From<ConnectingError> for ConnectError"],["impl From<ConnectingError> for AcceptError"],["impl From<ConnectingError> for AnyError"],["impl From<ConnectionError> for AlpnError"],["impl From<ConnectionError> for ConnectError"],["impl From<ConnectionError> for ConnectingError"],["impl From<ConnectionError> for AcceptError"],["impl From<RelayMode> for Option<TransportConfig>"],["impl From<AcceptError> for AnyError"],["impl From<Error> for AcceptError"],["impl From<DiscoveryItem> for EndpointInfo"],["impl From<ClosedStream> for AcceptError"],["impl From<RemoteEndpointIdError> for AuthenticationError"],["impl From<RemoteEndpointIdError> for AcceptError"],["impl From<RemoteEndpointIdError> for AnyError"],["impl From<AnyError> for AcceptError"],["impl From<ConnectError> for ConnectWithOptsError"],["impl<T> From<T> for ConcurrentDiscovery
    where\n T: IntoIterator<Item = Box<dyn Discovery>>,
    "],["impl<T: ProtocolHandler> From<T> for Box<dyn DynProtocolHandler>"]]],["iroh_base",[["impl From<KeyParsingError> for AnyError"],["impl From<Url> for RelayUrl"],["impl From<PublicKey> for EndpointAddr"],["impl From<RelayUrl> for Url"],["impl From<RelayUrlParseError> for AnyError"],["impl From<SignatureError> for AnyError"],["impl From<DecodeError> for KeyParsingError"],["impl From<Error> for KeyParsingError"],["impl From<[u8; 32]> for SecretKey"]]],["iroh_relay",[["impl From<ConnectError> for AnyError"],["impl From<DialError> for ConnectError"],["impl From<DialError> for AnyError"],["impl From<RecvError> for AnyError"],["impl From<SendError> for AnyError"],["impl From<DnsError> for DialError"],["impl From<DnsError> for LookupError"],["impl From<DnsError> for AnyError"],["impl From<LookupError> for AnyError"],["impl From<DecodingError> for ParseError"],["impl From<DecodingError> for AnyError"],["impl From<EncodingError> for AnyError"],["impl From<ParseError> for LookupError"],["impl From<ParseError> for AnyError"],["impl From<FrameType> for u32"],["impl From<FrameType> for VarInt"],["impl From<FrameTypeError> for Error"],["impl From<FrameTypeError> for Error"],["impl From<FrameTypeError> for AnyError"],["impl From<Error> for ConnectError"],["impl From<Error> for AnyError"],["impl From<Error> for RecvError"],["impl From<Error> for AnyError"],["impl From<Error> for AnyError"],["impl From<SpawnError> for AnyError"],["impl From<SupervisorError> for AnyError"],["impl From<Vec<Box<[u8]>>> for TxtRecordData"],["impl From<Utf8Error> for ParseError"],["impl From<Utf8Error> for Error"],["impl From<Error> for ConnectError"],["impl From<Error> for DialError"],["impl From<EndpointInfo> for EndpointAddr"],["impl From<MaxLengthExceededError> for AnyError"],["impl From<RelayConfig> for RelayMap"],["impl From<ConnectError> for Error"],["impl From<ConnectionError> for Error"],["impl From<Elapsed> for DialError"],["impl From<Elapsed> for DnsError"],["impl From<EndpointAddr> for EndpointData"],["impl From<EndpointAddr> for EndpointInfo"],["impl From<Error> for ConnectError"],["impl From<Error> for ConnectError"],["impl From<Error> for DialError"],["impl From<Error> for RecvError"],["impl From<Error> for SendError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<JoinError> for SupervisorError"],["impl From<KeyParsingError> for Error"],["impl From<RecvError> for Error"],["impl From<RelayUrl> for RelayConfig"],["impl From<RelayUrl> for RelayMap"],["impl From<ResolveError> for DnsError"],["impl<E: StackError + 'static> From<StaggeredError<E>> for AnyError"],["impl<T: AsRef<[u8]>> From<T> for Datagrams"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl From<DiscoveryError> for ConnectWithOptsError"],["impl From<DiscoveryError> for AnyError"],["impl From<IntoDiscoveryError> for BindError"],["impl From<IntoDiscoveryError> for AnyError"],["impl From<PkarrError> for DiscoveryError"],["impl From<PkarrError> for AnyError"],["impl From<AlpnError> for AnyError"],["impl From<AuthenticationError> for ConnectingError"],["impl From<AuthenticationError> for AnyError"],["impl From<BindError> for AnyError"],["impl From<ConnectError> for AnyError"],["impl From<ConnectWithOptsError> for ConnectError"],["impl From<ConnectWithOptsError> for AnyError"],["impl From<ConnectingError> for ConnectError"],["impl From<ConnectingError> for AcceptError"],["impl From<ConnectingError> for AnyError"],["impl From<ConnectionError> for AlpnError"],["impl From<ConnectionError> for ConnectError"],["impl From<ConnectionError> for ConnectingError"],["impl From<ConnectionError> for AcceptError"],["impl From<ConnectError> for ConnectWithOptsError"],["impl From<RelayMode> for Option<TransportConfig>"],["impl From<AcceptError> for AnyError"],["impl From<Error> for AcceptError"],["impl From<DiscoveryItem> for EndpointInfo"],["impl From<ClosedStream> for AcceptError"],["impl From<RemoteEndpointIdError> for AuthenticationError"],["impl From<RemoteEndpointIdError> for AcceptError"],["impl From<RemoteEndpointIdError> for AnyError"],["impl From<RetryError> for AnyError"],["impl From<TransportAddrInfo> for TransportAddr"],["impl From<AnyError> for AcceptError"],["impl<T> From<T> for ConcurrentDiscovery
    where\n T: IntoIterator<Item = Box<dyn Discovery>>,
    "],["impl<T: ProtocolHandler> From<T> for Box<dyn DynProtocolHandler>"]]],["iroh_base",[["impl From<KeyParsingError> for AnyError"],["impl From<Url> for RelayUrl"],["impl From<PublicKey> for EndpointAddr"],["impl From<RelayUrl> for Url"],["impl From<RelayUrlParseError> for AnyError"],["impl From<SignatureError> for AnyError"],["impl From<DecodeError> for KeyParsingError"],["impl From<Error> for KeyParsingError"],["impl From<[u8; 32]> for SecretKey"]]],["iroh_relay",[["impl From<KeyParsingError> for Error"],["impl From<ConnectError> for AnyError"],["impl From<DialError> for ConnectError"],["impl From<DialError> for AnyError"],["impl From<RecvError> for AnyError"],["impl From<SendError> for AnyError"],["impl From<DnsError> for DialError"],["impl From<DnsError> for LookupError"],["impl From<DnsError> for AnyError"],["impl From<LookupError> for AnyError"],["impl From<DecodingError> for ParseError"],["impl From<DecodingError> for AnyError"],["impl From<EncodingError> for AnyError"],["impl From<ParseError> for LookupError"],["impl From<ParseError> for AnyError"],["impl From<FrameType> for u32"],["impl From<FrameType> for VarInt"],["impl From<FrameTypeError> for Error"],["impl From<FrameTypeError> for Error"],["impl From<FrameTypeError> for AnyError"],["impl From<Error> for ConnectError"],["impl From<Error> for AnyError"],["impl From<Error> for RecvError"],["impl From<Error> for AnyError"],["impl From<Error> for AnyError"],["impl From<SpawnError> for AnyError"],["impl From<SupervisorError> for AnyError"],["impl From<Vec<Box<[u8]>>> for TxtRecordData"],["impl From<Utf8Error> for ParseError"],["impl From<Utf8Error> for Error"],["impl From<Error> for ConnectError"],["impl From<Error> for DialError"],["impl From<EndpointAddr> for EndpointData"],["impl From<EndpointAddr> for EndpointInfo"],["impl From<RelayUrl> for RelayConfig"],["impl From<RelayUrl> for RelayMap"],["impl From<EndpointInfo> for EndpointAddr"],["impl From<MaxLengthExceededError> for AnyError"],["impl From<RelayConfig> for RelayMap"],["impl From<ConnectError> for Error"],["impl From<ConnectionError> for Error"],["impl From<Elapsed> for DialError"],["impl From<Elapsed> for DnsError"],["impl From<Error> for ConnectError"],["impl From<Error> for ConnectError"],["impl From<Error> for DialError"],["impl From<Error> for RecvError"],["impl From<Error> for SendError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<JoinError> for SupervisorError"],["impl From<RecvError> for Error"],["impl From<ResolveError> for DnsError"],["impl<E: StackError + 'static> From<StaggeredError<E>> for AnyError"],["impl<T: AsRef<[u8]>> From<T> for Datagrams"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[12661,3090,18835]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13482,3090,19611]} \ No newline at end of file diff --git a/pr/3734/docs/trait.impl/core/default/trait.Default.js b/pr/3734/docs/trait.impl/core/default/trait.Default.js index 3a783ce064..243ca5e3e0 100644 --- a/pr/3734/docs/trait.impl/core/default/trait.Default.js +++ b/pr/3734/docs/trait.impl/core/default/trait.Default.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl Default for MdnsDiscoveryBuilder"],["impl Default for Builder"],["impl Default for DhtDiscovery"],["impl Default for StaticProvider"],["impl Default for ConcurrentDiscovery"],["impl Default for N0"],["impl Default for ConnectOptions"],["impl Default for QuicTransportConfig"],["impl Default for EndpointMetrics"],["impl Default for Metrics"],["impl Default for Metrics"],["impl Default for Options"],["impl Default for RelayLatencies"],["impl Default for Report"]]],["iroh_bench",[["impl Default for Stats"],["impl Default for StreamStats"],["impl Default for ClientStats"]]],["iroh_dns_server",[["impl Default for &RateLimitConfig"],["impl Default for BootstrapOption"],["impl Default for RateLimitConfig"],["impl Default for Config"],["impl Default for MainlineConfig"],["impl Default for StoreConfig"],["impl Default for Metrics"]]],["iroh_relay",[["impl Default for DnsProtocol"],["impl Default for Builder"],["impl Default for DnsResolver"],["impl Default for EndpointData"],["impl Default for Limits"],["impl Default for Metrics"],["impl Default for RelayMetrics"],["impl Default for PingTracker"],["impl Default for RelayQuicConfig"],["impl<EC: Default + Debug, EA: Default + Debug> Default for ServerConfig<EC, EA>"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl Default for MdnsDiscoveryBuilder"],["impl Default for Builder"],["impl Default for DhtDiscovery"],["impl Default for StaticProvider"],["impl Default for ConcurrentDiscovery"],["impl Default for N0"],["impl Default for ConnectOptions"],["impl Default for QuicTransportConfig"],["impl Default for EndpointMetrics"],["impl Default for Metrics"],["impl Default for Metrics"],["impl Default for Report"]]],["iroh_bench",[["impl Default for Stats"],["impl Default for StreamStats"],["impl Default for ClientStats"]]],["iroh_dns_server",[["impl Default for &RateLimitConfig"],["impl Default for BootstrapOption"],["impl Default for RateLimitConfig"],["impl Default for Config"],["impl Default for MainlineConfig"],["impl Default for StoreConfig"],["impl Default for Metrics"]]],["iroh_relay",[["impl Default for DnsProtocol"],["impl Default for Builder"],["impl Default for DnsResolver"],["impl Default for EndpointData"],["impl Default for Limits"],["impl Default for Metrics"],["impl Default for RelayMetrics"],["impl Default for PingTracker"],["impl Default for RelayQuicConfig"],["impl<EC: Default + Debug, EA: Default + Debug> Default for ServerConfig<EC, EA>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[4186,862,2149,3485]} \ No newline at end of file +//{"start":57,"fragment_lengths":[3604,862,2149,3485]} \ No newline at end of file diff --git a/pr/3734/docs/trait.impl/core/error/trait.Error.js b/pr/3734/docs/trait.impl/core/error/trait.Error.js index 0fe0a0dc6a..a9dee4d77b 100644 --- a/pr/3734/docs/trait.impl/core/error/trait.Error.js +++ b/pr/3734/docs/trait.impl/core/error/trait.Error.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl Error for DiscoveryError"],["impl Error for IntoDiscoveryError"],["impl Error for PkarrError"],["impl Error for AlpnError"],["impl Error for AuthenticationError"],["impl Error for BindError"],["impl Error for ConnectError"],["impl Error for ConnectWithOptsError"],["impl Error for ConnectingError"],["impl Error for AcceptError"],["impl Error for RemoteEndpointIdError"]]],["iroh_base",[["impl Error for KeyParsingError"],["impl Error for RelayUrlParseError"],["impl Error for SignatureError"]]],["iroh_relay",[["impl Error for ConnectError"],["impl Error for DialError"],["impl Error for RecvError"],["impl Error for SendError"],["impl Error for DnsError"],["impl Error for LookupError"],["impl Error for DecodingError"],["impl Error for EncodingError"],["impl Error for ParseError"],["impl Error for FrameTypeError"],["impl Error for Error"],["impl Error for Error"],["impl Error for Error"],["impl Error for SpawnError"],["impl Error for SupervisorError"],["impl Error for MaxLengthExceededError"],["impl<E: StackError + 'static> Error for StaggeredError<E>"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl Error for DiscoveryError"],["impl Error for IntoDiscoveryError"],["impl Error for PkarrError"],["impl Error for AlpnError"],["impl Error for AuthenticationError"],["impl Error for BindError"],["impl Error for ConnectError"],["impl Error for ConnectWithOptsError"],["impl Error for ConnectingError"],["impl Error for AcceptError"],["impl Error for RemoteEndpointIdError"],["impl Error for RetryError"]]],["iroh_base",[["impl Error for KeyParsingError"],["impl Error for RelayUrlParseError"],["impl Error for SignatureError"]]],["iroh_relay",[["impl Error for ConnectError"],["impl Error for DialError"],["impl Error for RecvError"],["impl Error for SendError"],["impl Error for DnsError"],["impl Error for LookupError"],["impl Error for DecodingError"],["impl Error for EncodingError"],["impl Error for ParseError"],["impl Error for FrameTypeError"],["impl Error for Error"],["impl Error for Error"],["impl Error for Error"],["impl Error for SpawnError"],["impl Error for SupervisorError"],["impl Error for MaxLengthExceededError"],["impl<E: StackError + 'static> Error for StaggeredError<E>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[3116,853,4869]} \ No newline at end of file +//{"start":57,"fragment_lengths":[3389,853,4869]} \ No newline at end of file diff --git a/pr/3734/docs/trait.impl/core/fmt/trait.Debug.js b/pr/3734/docs/trait.impl/core/fmt/trait.Debug.js index 0097b1a40c..7a7942996a 100644 --- a/pr/3734/docs/trait.impl/core/fmt/trait.Debug.js +++ b/pr/3734/docs/trait.impl/core/fmt/trait.Debug.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl Debug for DiscoveryError"],["impl Debug for IntoDiscoveryError"],["impl Debug for DiscoveryEvent"],["impl Debug for PkarrError"],["impl Debug for AfterHandshakeOutcome"],["impl Debug for AlpnError"],["impl Debug for AuthenticationError"],["impl Debug for BeforeConnectOutcome"],["impl Debug for BindError"],["impl Debug for ConnectError"],["impl Debug for ConnectWithOptsError"],["impl Debug for ConnectingError"],["impl Debug for DirectAddrType"],["impl Debug for RelayMode"],["impl Debug for Source"],["impl Debug for TransportConfig"],["impl Debug for ZeroRttStatus"],["impl Debug for Probe"],["impl Debug for AcceptError"],["impl Debug for DnsDiscovery"],["impl Debug for DnsDiscoveryBuilder"],["impl Debug for MdnsDiscovery"],["impl Debug for MdnsDiscoveryBuilder"],["impl Debug for Builder"],["impl Debug for DhtDiscovery"],["impl Debug for PkarrPublisher"],["impl Debug for PkarrPublisherBuilder"],["impl Debug for PkarrRelayClient"],["impl Debug for PkarrResolver"],["impl Debug for PkarrResolverBuilder"],["impl Debug for StaticProvider"],["impl Debug for ConcurrentDiscovery"],["impl Debug for DiscoveryItem"],["impl Debug for N0"],["impl Debug for Accepting"],["impl Debug for Builder"],["impl Debug for ConnectOptions"],["impl Debug for Connecting"],["impl Debug for ConnectionInfo"],["impl Debug for DirectAddr"],["impl Debug for Endpoint"],["impl Debug for HandshakeCompleted"],["impl Debug for Incoming"],["impl Debug for IncomingZeroRtt"],["impl Debug for OutgoingZeroRtt"],["impl Debug for PathInfo"],["impl Debug for PathInfoList"],["impl Debug for QuicTransportConfig"],["impl Debug for RemoteEndpointIdError"],["impl Debug for EndpointMetrics"],["impl Debug for Metrics"],["impl Debug for Metrics"],["impl Debug for Options"],["impl Debug for QuicConfig"],["impl Debug for RelayLatencies"],["impl Debug for Report"],["impl Debug for Router"],["impl Debug for RouterBuilder"],["impl Debug for CleanupDropGuard"],["impl Debug for DnsPkarrServer"],["impl<'a> Debug for Accept<'a>"],["impl<P> Debug for AccessLimit<P>
    where\n P: Debug + ProtocolHandler + Clone,
    "],["impl<State: Debug + ConnectionState> Debug for Connection<State>
    where\n State::Data: Debug,
    "]]],["iroh_base",[["impl Debug for KeyParsingError"],["impl Debug for TransportAddr"],["impl Debug for EndpointAddr"],["impl Debug for PublicKey"],["impl Debug for RelayUrl"],["impl Debug for RelayUrlParseError"],["impl Debug for SecretKey"],["impl Debug for Signature"],["impl Debug for SignatureError"]]],["iroh_bench",[["impl Debug for Commands"],["impl Debug for Opt"],["impl Debug for Stats"],["impl Debug for StreamStats"],["impl Debug for TransferResult"],["impl Debug for Opt"]]],["iroh_dns_server",[["impl Debug for BootstrapOption"],["impl Debug for CertMode"],["impl Debug for RateLimitConfig"],["impl Debug for Config"],["impl Debug for MainlineConfig"],["impl Debug for MetricsConfig"],["impl Debug for StoreConfig"],["impl Debug for DnsConfig"],["impl Debug for DnsHandler"],["impl Debug for Handle"],["impl Debug for HttpConfig"],["impl Debug for HttpsConfig"],["impl Debug for Metrics"],["impl Debug for ZoneStore"]]],["iroh_relay",[["impl Debug for ConnectError"],["impl Debug for DialError"],["impl Debug for RecvError"],["impl Debug for SendError"],["impl Debug for DnsError"],["impl Debug for DnsProtocol"],["impl Debug for LookupError"],["impl Debug for DecodingError"],["impl Debug for EncodingError"],["impl Debug for ParseError"],["impl Debug for FrameType"],["impl Debug for FrameTypeError"],["impl Debug for Error"],["impl Debug for ClientToRelayMsg"],["impl Debug for Error"],["impl Debug for RelayToClientMsg"],["impl Debug for Error"],["impl Debug for Access"],["impl Debug for AccessConfig"],["impl Debug for SpawnError"],["impl Debug for SupervisorError"],["impl Debug for Client"],["impl Debug for ClientBuilder"],["impl Debug for ClientSink"],["impl Debug for ClientStream"],["impl Debug for Builder"],["impl Debug for DnsResolver"],["impl Debug for TxtRecordData"],["impl Debug for EndpointData"],["impl Debug for EndpointInfo"],["impl Debug for MaxLengthExceededError"],["impl Debug for UserData"],["impl Debug for Datagrams"],["impl Debug for QuicClient"],["impl Debug for ClientRateLimit"],["impl Debug for Limits"],["impl Debug for Metrics"],["impl Debug for QuicConfig"],["impl Debug for RelayMetrics"],["impl Debug for Server"],["impl Debug for PingTracker"],["impl Debug for RelayConfig"],["impl Debug for RelayMap"],["impl Debug for RelayQuicConfig"],["impl<E: StackError + 'static> Debug for StaggeredError<E>"],["impl<EC: Debug, EA: Debug> Debug for CertConfig<EC, EA>"],["impl<EC: Debug, EA: Debug> Debug for RelayConfig<EC, EA>
    where\n Option<TlsConfig<EC, EA>>: Debug,
    "],["impl<EC: Debug, EA: Debug> Debug for ServerConfig<EC, EA>
    where\n Option<RelayConfig<EC, EA>>: Debug,
    "],["impl<EC: Debug, EA: Debug> Debug for TlsConfig<EC, EA>
    where\n CertConfig<EC, EA>: Debug,
    "],["impl<Loader: Debug + Send + 'static> Debug for ReloadingResolver<Loader>"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl Debug for DiscoveryError"],["impl Debug for IntoDiscoveryError"],["impl Debug for DiscoveryEvent"],["impl Debug for PkarrError"],["impl Debug for AfterHandshakeOutcome"],["impl Debug for AlpnError"],["impl Debug for AuthenticationError"],["impl Debug for BeforeConnectOutcome"],["impl Debug for BindError"],["impl Debug for ConnectError"],["impl Debug for ConnectWithOptsError"],["impl Debug for ConnectingError"],["impl Debug for DirectAddrType"],["impl Debug for RelayMode"],["impl Debug for Source"],["impl Debug for TransportAddrUsage"],["impl Debug for TransportConfig"],["impl Debug for ZeroRttStatus"],["impl Debug for AcceptError"],["impl Debug for DnsDiscovery"],["impl Debug for DnsDiscoveryBuilder"],["impl Debug for MdnsDiscovery"],["impl Debug for MdnsDiscoveryBuilder"],["impl Debug for Builder"],["impl Debug for DhtDiscovery"],["impl Debug for PkarrPublisher"],["impl Debug for PkarrPublisherBuilder"],["impl Debug for PkarrRelayClient"],["impl Debug for PkarrResolver"],["impl Debug for PkarrResolverBuilder"],["impl Debug for StaticProvider"],["impl Debug for ConcurrentDiscovery"],["impl Debug for DiscoveryItem"],["impl Debug for N0"],["impl Debug for Accepting"],["impl Debug for Builder"],["impl Debug for ConnectOptions"],["impl Debug for Connecting"],["impl Debug for ConnectionInfo"],["impl Debug for DirectAddr"],["impl Debug for Endpoint"],["impl Debug for HandshakeCompleted"],["impl Debug for Incoming"],["impl Debug for IncomingZeroRtt"],["impl Debug for OutgoingZeroRtt"],["impl Debug for PathInfo"],["impl Debug for PathInfoList"],["impl Debug for QuicTransportConfig"],["impl Debug for QuicTransportConfigBuilder"],["impl Debug for RemoteEndpointIdError"],["impl Debug for RemoteInfo"],["impl Debug for RetryError"],["impl Debug for ServerConfig"],["impl Debug for ServerConfigBuilder"],["impl Debug for TransportAddrInfo"],["impl Debug for EndpointMetrics"],["impl Debug for Metrics"],["impl Debug for Metrics"],["impl Debug for Router"],["impl Debug for RouterBuilder"],["impl Debug for Report"],["impl Debug for CleanupDropGuard"],["impl Debug for DnsPkarrServer"],["impl Debug for QlogFileGroup"],["impl<'a> Debug for Accept<'a>"],["impl<P> Debug for AccessLimit<P>
    where\n P: Debug + ProtocolHandler + Clone,
    "],["impl<State: Debug + ConnectionState> Debug for Connection<State>
    where\n State::Data: Debug,
    "]]],["iroh_base",[["impl Debug for KeyParsingError"],["impl Debug for TransportAddr"],["impl Debug for EndpointAddr"],["impl Debug for PublicKey"],["impl Debug for RelayUrl"],["impl Debug for RelayUrlParseError"],["impl Debug for SecretKey"],["impl Debug for Signature"],["impl Debug for SignatureError"]]],["iroh_bench",[["impl Debug for Commands"],["impl Debug for Opt"],["impl Debug for Stats"],["impl Debug for StreamStats"],["impl Debug for TransferResult"],["impl Debug for Opt"]]],["iroh_dns_server",[["impl Debug for BootstrapOption"],["impl Debug for CertMode"],["impl Debug for RateLimitConfig"],["impl Debug for Config"],["impl Debug for MainlineConfig"],["impl Debug for MetricsConfig"],["impl Debug for StoreConfig"],["impl Debug for DnsConfig"],["impl Debug for DnsHandler"],["impl Debug for Handle"],["impl Debug for HttpConfig"],["impl Debug for HttpsConfig"],["impl Debug for Metrics"],["impl Debug for ZoneStore"]]],["iroh_relay",[["impl Debug for ConnectError"],["impl Debug for DialError"],["impl Debug for RecvError"],["impl Debug for SendError"],["impl Debug for DnsError"],["impl Debug for DnsProtocol"],["impl Debug for LookupError"],["impl Debug for DecodingError"],["impl Debug for EncodingError"],["impl Debug for ParseError"],["impl Debug for FrameType"],["impl Debug for FrameTypeError"],["impl Debug for Error"],["impl Debug for ClientToRelayMsg"],["impl Debug for Error"],["impl Debug for RelayToClientMsg"],["impl Debug for Error"],["impl Debug for Access"],["impl Debug for AccessConfig"],["impl Debug for SpawnError"],["impl Debug for SupervisorError"],["impl Debug for Client"],["impl Debug for ClientBuilder"],["impl Debug for ClientSink"],["impl Debug for ClientStream"],["impl Debug for Builder"],["impl Debug for DnsResolver"],["impl Debug for TxtRecordData"],["impl Debug for EndpointData"],["impl Debug for EndpointInfo"],["impl Debug for MaxLengthExceededError"],["impl Debug for UserData"],["impl Debug for Datagrams"],["impl Debug for QuicClient"],["impl Debug for ClientRateLimit"],["impl Debug for Limits"],["impl Debug for Metrics"],["impl Debug for QuicConfig"],["impl Debug for RelayMetrics"],["impl Debug for Server"],["impl Debug for PingTracker"],["impl Debug for RelayConfig"],["impl Debug for RelayMap"],["impl Debug for RelayQuicConfig"],["impl<E: StackError + 'static> Debug for StaggeredError<E>"],["impl<EC: Debug, EA: Debug> Debug for CertConfig<EC, EA>"],["impl<EC: Debug, EA: Debug> Debug for RelayConfig<EC, EA>
    where\n Option<TlsConfig<EC, EA>>: Debug,
    "],["impl<EC: Debug, EA: Debug> Debug for ServerConfig<EC, EA>
    where\n Option<RelayConfig<EC, EA>>: Debug,
    "],["impl<EC: Debug, EA: Debug> Debug for TlsConfig<EC, EA>
    where\n CertConfig<EC, EA>: Debug,
    "],["impl<Loader: Debug + Send + 'static> Debug for ReloadingResolver<Loader>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[18775,2395,1583,3987,16684]} \ No newline at end of file +//{"start":57,"fragment_lengths":[19981,2395,1583,3987,16684]} \ No newline at end of file diff --git a/pr/3734/docs/trait.impl/core/fmt/trait.Display.js b/pr/3734/docs/trait.impl/core/fmt/trait.Display.js index 860b2bf3eb..f30b719a90 100644 --- a/pr/3734/docs/trait.impl/core/fmt/trait.Display.js +++ b/pr/3734/docs/trait.impl/core/fmt/trait.Display.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl Display for DiscoveryError"],["impl Display for IntoDiscoveryError"],["impl Display for PkarrError"],["impl Display for AlpnError"],["impl Display for AuthenticationError"],["impl Display for BindError"],["impl Display for ConnectError"],["impl Display for ConnectWithOptsError"],["impl Display for ConnectingError"],["impl Display for DirectAddrType"],["impl Display for Source"],["impl Display for Probe"],["impl Display for AcceptError"],["impl Display for RemoteEndpointIdError"],["impl Display for Report"]]],["iroh_base",[["impl Display for KeyParsingError"],["impl Display for PublicKey"],["impl Display for RelayUrl"],["impl Display for RelayUrlParseError"],["impl Display for Signature"],["impl Display for SignatureError"]]],["iroh_dns_server",[["impl Display for CertMode"]]],["iroh_relay",[["impl Display for ConnectError"],["impl Display for DialError"],["impl Display for RecvError"],["impl Display for SendError"],["impl Display for DnsError"],["impl Display for LookupError"],["impl Display for DecodingError"],["impl Display for EncodingError"],["impl Display for ParseError"],["impl Display for FrameTypeError"],["impl Display for Error"],["impl Display for Error"],["impl Display for Error"],["impl Display for SpawnError"],["impl Display for SupervisorError"],["impl Display for TxtRecordData"],["impl Display for MaxLengthExceededError"],["impl Display for UserData"],["impl Display for RelayConfig"],["impl Display for RelayMap"],["impl<E: StackError + 'static> Display for StaggeredError<E>"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl Display for DiscoveryError"],["impl Display for IntoDiscoveryError"],["impl Display for PkarrError"],["impl Display for AlpnError"],["impl Display for AuthenticationError"],["impl Display for BindError"],["impl Display for ConnectError"],["impl Display for ConnectWithOptsError"],["impl Display for ConnectingError"],["impl Display for DirectAddrType"],["impl Display for Source"],["impl Display for AcceptError"],["impl Display for RemoteEndpointIdError"],["impl Display for RetryError"],["impl Display for Report"]]],["iroh_base",[["impl Display for KeyParsingError"],["impl Display for PublicKey"],["impl Display for RelayUrl"],["impl Display for RelayUrlParseError"],["impl Display for Signature"],["impl Display for SignatureError"]]],["iroh_dns_server",[["impl Display for CertMode"]]],["iroh_relay",[["impl Display for ConnectError"],["impl Display for DialError"],["impl Display for RecvError"],["impl Display for SendError"],["impl Display for DnsError"],["impl Display for LookupError"],["impl Display for DecodingError"],["impl Display for EncodingError"],["impl Display for ParseError"],["impl Display for FrameTypeError"],["impl Display for Error"],["impl Display for Error"],["impl Display for Error"],["impl Display for SpawnError"],["impl Display for SupervisorError"],["impl Display for TxtRecordData"],["impl Display for MaxLengthExceededError"],["impl Display for UserData"],["impl Display for RelayConfig"],["impl Display for RelayMap"],["impl<E: StackError + 'static> Display for StaggeredError<E>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/pr/3734/docs/trait.impl/core/iter/traits/collect/trait.FromIterator.js b/pr/3734/docs/trait.impl/core/iter/traits/collect/trait.FromIterator.js index 53eb8f19b7..6823ee20ab 100644 --- a/pr/3734/docs/trait.impl/core/iter/traits/collect/trait.FromIterator.js +++ b/pr/3734/docs/trait.impl/core/iter/traits/collect/trait.FromIterator.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh_relay",[["impl FromIterator<Box<[u8]>> for TxtRecordData"],["impl FromIterator<Arc<RelayConfig>> for RelayMap"],["impl FromIterator<RelayConfig> for RelayMap"],["impl FromIterator<RelayUrl> for RelayMap"]]]]); + var implementors = Object.fromEntries([["iroh_relay",[["impl FromIterator<Box<[u8]>> for TxtRecordData"],["impl FromIterator<Arc<RelayConfig>> for RelayMap"],["impl FromIterator<RelayUrl> for RelayMap"],["impl FromIterator<RelayConfig> for RelayMap"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[1940]} \ No newline at end of file +//{"start":57,"fragment_lengths":[2062]} \ No newline at end of file diff --git a/pr/3734/docs/trait.impl/core/marker/trait.Copy.js b/pr/3734/docs/trait.impl/core/marker/trait.Copy.js index 082eb35420..ba1d139b7b 100644 --- a/pr/3734/docs/trait.impl/core/marker/trait.Copy.js +++ b/pr/3734/docs/trait.impl/core/marker/trait.Copy.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl Copy for DirectAddrType"],["impl Copy for Probe"],["impl Copy for N0"]]],["iroh_base",[["impl Copy for PublicKey"],["impl Copy for Signature"]]],["iroh_bench",[["impl Copy for Commands"],["impl Copy for Opt"],["impl Copy for Opt"]]],["iroh_relay",[["impl Copy for DnsProtocol"],["impl Copy for FrameType"],["impl Copy for Access"],["impl Copy for ClientRateLimit"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl Copy for DirectAddrType"],["impl Copy for TransportAddrUsage"],["impl Copy for N0"]]],["iroh_base",[["impl Copy for PublicKey"],["impl Copy for Signature"]]],["iroh_bench",[["impl Copy for Commands"],["impl Copy for Opt"],["impl Copy for Opt"]]],["iroh_relay",[["impl Copy for DnsProtocol"],["impl Copy for FrameType"],["impl Copy for Access"],["impl Copy for ClientRateLimit"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[808,536,767,1131]} \ No newline at end of file +//{"start":57,"fragment_lengths":[843,536,767,1131]} \ No newline at end of file diff --git a/pr/3734/docs/trait.impl/core/marker/trait.Freeze.js b/pr/3734/docs/trait.impl/core/marker/trait.Freeze.js index 5a653f1c96..03e3d77666 100644 --- a/pr/3734/docs/trait.impl/core/marker/trait.Freeze.js +++ b/pr/3734/docs/trait.impl/core/marker/trait.Freeze.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl !Freeze for AlpnError",1,["iroh::endpoint::connection::AlpnError"]],["impl !Freeze for ConnectError",1,["iroh::endpoint::ConnectError"]],["impl !Freeze for ConnectingError",1,["iroh::endpoint::connection::ConnectingError"]],["impl !Freeze for AcceptError",1,["iroh::protocol::AcceptError"]],["impl !Freeze for Incoming",1,["iroh::endpoint::connection::Incoming"]],["impl !Freeze for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl !Freeze for Metrics",1,["iroh::net_report::metrics::Metrics"]],["impl Freeze for DiscoveryError",1,["iroh::discovery::DiscoveryError"]],["impl Freeze for IntoDiscoveryError",1,["iroh::discovery::IntoDiscoveryError"]],["impl Freeze for DiscoveryEvent",1,["iroh::discovery::mdns::DiscoveryEvent"]],["impl Freeze for PkarrError",1,["iroh::discovery::pkarr::PkarrError"]],["impl Freeze for AfterHandshakeOutcome",1,["iroh::endpoint::hooks::AfterHandshakeOutcome"]],["impl Freeze for AuthenticationError",1,["iroh::endpoint::connection::AuthenticationError"]],["impl Freeze for BeforeConnectOutcome",1,["iroh::endpoint::hooks::BeforeConnectOutcome"]],["impl Freeze for BindError",1,["iroh::endpoint::BindError"]],["impl Freeze for ConnectWithOptsError",1,["iroh::endpoint::ConnectWithOptsError"]],["impl Freeze for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Freeze for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Freeze for Source",1,["iroh::magicsock::remote_map::Source"]],["impl Freeze for TransportConfig",1,["iroh::magicsock::transports::TransportConfig"]],["impl Freeze for ZeroRttStatus",1,["iroh::endpoint::connection::ZeroRttStatus"]],["impl Freeze for Probe",1,["iroh::net_report::probes::Probe"]],["impl Freeze for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Freeze for DnsDiscoveryBuilder",1,["iroh::discovery::dns::DnsDiscoveryBuilder"]],["impl Freeze for MdnsDiscovery",1,["iroh::discovery::mdns::MdnsDiscovery"]],["impl Freeze for MdnsDiscoveryBuilder",1,["iroh::discovery::mdns::MdnsDiscoveryBuilder"]],["impl Freeze for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Freeze for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Freeze for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Freeze for PkarrPublisherBuilder",1,["iroh::discovery::pkarr::PkarrPublisherBuilder"]],["impl Freeze for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Freeze for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Freeze for PkarrResolverBuilder",1,["iroh::discovery::pkarr::PkarrResolverBuilder"]],["impl Freeze for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Freeze for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Freeze for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Freeze for N0",1,["iroh::endpoint::presets::N0"]],["impl Freeze for Accepting",1,["iroh::endpoint::connection::Accepting"]],["impl Freeze for Builder",1,["iroh::endpoint::Builder"]],["impl Freeze for ConnectOptions",1,["iroh::endpoint::ConnectOptions"]],["impl Freeze for Connecting",1,["iroh::endpoint::connection::Connecting"]],["impl Freeze for ConnectionInfo",1,["iroh::endpoint::connection::ConnectionInfo"]],["impl Freeze for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Freeze for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Freeze for HandshakeCompleted",1,["iroh::endpoint::connection::HandshakeCompleted"]],["impl Freeze for IncomingZeroRtt",1,["iroh::endpoint::connection::IncomingZeroRtt"]],["impl Freeze for OutgoingZeroRtt",1,["iroh::endpoint::connection::OutgoingZeroRtt"]],["impl Freeze for PathInfo",1,["iroh::magicsock::remote_map::remote_state::PathInfo"]],["impl Freeze for PathInfoList",1,["iroh::magicsock::remote_map::remote_state::PathInfoList"]],["impl Freeze for QuicTransportConfig",1,["iroh::endpoint::quic::QuicTransportConfig"]],["impl Freeze for RemoteEndpointIdError",1,["iroh::endpoint::connection::RemoteEndpointIdError"]],["impl Freeze for EndpointMetrics",1,["iroh::metrics::EndpointMetrics"]],["impl Freeze for Options",1,["iroh::net_report::options::imp::Options"]],["impl Freeze for QuicConfig",1,["iroh::net_report::reportgen::QuicConfig"]],["impl Freeze for RelayLatencies",1,["iroh::net_report::report::RelayLatencies"]],["impl Freeze for Report",1,["iroh::net_report::report::Report"]],["impl Freeze for Router",1,["iroh::protocol::Router"]],["impl Freeze for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Freeze for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Freeze for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl<'a> !Freeze for Accept<'a>",1,["iroh::endpoint::connection::Accept"]],["impl<P> Freeze for AccessLimit<P>
    where\n P: Freeze,
    ",1,["iroh::protocol::AccessLimit"]],["impl<State> Freeze for Connection<State>
    where\n <State as ConnectionState>::Data: Freeze,
    ",1,["iroh::endpoint::connection::Connection"]]]],["iroh_base",[["impl Freeze for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Freeze for TransportAddr",1,["iroh_base::endpoint_addr::TransportAddr"]],["impl Freeze for EndpointAddr",1,["iroh_base::endpoint_addr::EndpointAddr"]],["impl Freeze for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Freeze for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Freeze for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Freeze for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Freeze for Signature",1,["iroh_base::key::Signature"]],["impl Freeze for SignatureError",1,["iroh_base::key::SignatureError"]]]],["iroh_bench",[["impl Freeze for Commands",1,["iroh_bench::Commands"]],["impl Freeze for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Freeze for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Freeze for Opt",1,["iroh_bench::s2n::Opt"]],["impl Freeze for Stats",1,["iroh_bench::stats::Stats"]],["impl Freeze for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Freeze for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Freeze for ClientStats",1,["iroh_bench::ClientStats"]],["impl Freeze for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl !Freeze for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Freeze for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Freeze for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Freeze for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Freeze for Config",1,["iroh_dns_server::config::Config"]],["impl Freeze for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Freeze for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Freeze for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Freeze for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Freeze for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Freeze for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Freeze for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Freeze for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Freeze for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Freeze for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Freeze for Server",1,["iroh_dns_server::server::Server"]],["impl Freeze for AppState",1,["iroh_dns_server::state::AppState"]],["impl Freeze for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_relay",[["impl !Freeze for ConnectError",1,["iroh_relay::client::ConnectError"]],["impl !Freeze for Error",1,["iroh_relay::protos::handshake::Error"]],["impl !Freeze for ClientToRelayMsg",1,["iroh_relay::protos::relay::ClientToRelayMsg"]],["impl !Freeze for RelayToClientMsg",1,["iroh_relay::protos::relay::RelayToClientMsg"]],["impl !Freeze for Error",1,["iroh_relay::quic::Error"]],["impl !Freeze for Client",1,["iroh_relay::client::Client"]],["impl !Freeze for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl !Freeze for Datagrams",1,["iroh_relay::protos::relay::Datagrams"]],["impl !Freeze for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Freeze for DialError",1,["iroh_relay::client::DialError"]],["impl Freeze for RecvError",1,["iroh_relay::client::conn::RecvError"]],["impl Freeze for SendError",1,["iroh_relay::client::conn::SendError"]],["impl Freeze for DnsError",1,["iroh_relay::dns::DnsError"]],["impl Freeze for DnsProtocol",1,["iroh_relay::dns::DnsProtocol"]],["impl Freeze for LookupError",1,["iroh_relay::dns::LookupError"]],["impl Freeze for DecodingError",1,["iroh_relay::endpoint_info::DecodingError"]],["impl Freeze for EncodingError",1,["iroh_relay::endpoint_info::EncodingError"]],["impl Freeze for ParseError",1,["iroh_relay::endpoint_info::ParseError"]],["impl Freeze for FrameType",1,["iroh_relay::protos::common::FrameType"]],["impl Freeze for FrameTypeError",1,["iroh_relay::protos::common::FrameTypeError"]],["impl Freeze for Error",1,["iroh_relay::protos::relay::Error"]],["impl Freeze for Access",1,["iroh_relay::server::Access"]],["impl Freeze for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl Freeze for SpawnError",1,["iroh_relay::server::SpawnError"]],["impl Freeze for SupervisorError",1,["iroh_relay::server::SupervisorError"]],["impl Freeze for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Freeze for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Freeze for Builder",1,["iroh_relay::dns::Builder"]],["impl Freeze for DnsResolver",1,["iroh_relay::dns::DnsResolver"]],["impl Freeze for TxtRecordData",1,["iroh_relay::dns::TxtRecordData"]],["impl Freeze for EndpointData",1,["iroh_relay::endpoint_info::EndpointData"]],["impl Freeze for EndpointInfo",1,["iroh_relay::endpoint_info::EndpointInfo"]],["impl Freeze for MaxLengthExceededError",1,["iroh_relay::endpoint_info::MaxLengthExceededError"]],["impl Freeze for UserData",1,["iroh_relay::endpoint_info::UserData"]],["impl Freeze for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Freeze for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl Freeze for Limits",1,["iroh_relay::server::Limits"]],["impl Freeze for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Freeze for RelayMetrics",1,["iroh_relay::server::metrics::RelayMetrics"]],["impl Freeze for Server",1,["iroh_relay::server::Server"]],["impl Freeze for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl Freeze for RelayConfig",1,["iroh_relay::relay_map::RelayConfig"]],["impl Freeze for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Freeze for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<E> Freeze for StaggeredError<E>",1,["iroh_relay::dns::StaggeredError"]],["impl<EC, EA> Freeze for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA> Freeze for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA> Freeze for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA> Freeze for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Freeze for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); + var implementors = Object.fromEntries([["iroh",[["impl !Freeze for AlpnError",1,["iroh::endpoint::connection::AlpnError"]],["impl !Freeze for ConnectError",1,["iroh::endpoint::ConnectError"]],["impl !Freeze for ConnectingError",1,["iroh::endpoint::connection::ConnectingError"]],["impl !Freeze for AcceptError",1,["iroh::protocol::AcceptError"]],["impl !Freeze for Incoming",1,["iroh::endpoint::connection::Incoming"]],["impl !Freeze for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl !Freeze for Metrics",1,["iroh::net_report::metrics::Metrics"]],["impl Freeze for DiscoveryError",1,["iroh::discovery::DiscoveryError"]],["impl Freeze for IntoDiscoveryError",1,["iroh::discovery::IntoDiscoveryError"]],["impl Freeze for DiscoveryEvent",1,["iroh::discovery::mdns::DiscoveryEvent"]],["impl Freeze for PkarrError",1,["iroh::discovery::pkarr::PkarrError"]],["impl Freeze for AfterHandshakeOutcome",1,["iroh::endpoint::hooks::AfterHandshakeOutcome"]],["impl Freeze for AuthenticationError",1,["iroh::endpoint::connection::AuthenticationError"]],["impl Freeze for BeforeConnectOutcome",1,["iroh::endpoint::hooks::BeforeConnectOutcome"]],["impl Freeze for BindError",1,["iroh::endpoint::BindError"]],["impl Freeze for ConnectWithOptsError",1,["iroh::endpoint::ConnectWithOptsError"]],["impl Freeze for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Freeze for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Freeze for Source",1,["iroh::magicsock::remote_map::Source"]],["impl Freeze for TransportAddrUsage",1,["iroh::magicsock::remote_map::remote_state::remote_info::TransportAddrUsage"]],["impl Freeze for TransportConfig",1,["iroh::magicsock::transports::TransportConfig"]],["impl Freeze for ZeroRttStatus",1,["iroh::endpoint::connection::ZeroRttStatus"]],["impl Freeze for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Freeze for DnsDiscoveryBuilder",1,["iroh::discovery::dns::DnsDiscoveryBuilder"]],["impl Freeze for MdnsDiscovery",1,["iroh::discovery::mdns::MdnsDiscovery"]],["impl Freeze for MdnsDiscoveryBuilder",1,["iroh::discovery::mdns::MdnsDiscoveryBuilder"]],["impl Freeze for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Freeze for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Freeze for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Freeze for PkarrPublisherBuilder",1,["iroh::discovery::pkarr::PkarrPublisherBuilder"]],["impl Freeze for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Freeze for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Freeze for PkarrResolverBuilder",1,["iroh::discovery::pkarr::PkarrResolverBuilder"]],["impl Freeze for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Freeze for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Freeze for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Freeze for N0",1,["iroh::endpoint::presets::N0"]],["impl Freeze for Accepting",1,["iroh::endpoint::connection::Accepting"]],["impl Freeze for Builder",1,["iroh::endpoint::Builder"]],["impl Freeze for ConnectOptions",1,["iroh::endpoint::ConnectOptions"]],["impl Freeze for Connecting",1,["iroh::endpoint::connection::Connecting"]],["impl Freeze for ConnectionInfo",1,["iroh::endpoint::connection::ConnectionInfo"]],["impl Freeze for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Freeze for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Freeze for HandshakeCompleted",1,["iroh::endpoint::connection::HandshakeCompleted"]],["impl Freeze for IncomingZeroRtt",1,["iroh::endpoint::connection::IncomingZeroRtt"]],["impl Freeze for OutgoingZeroRtt",1,["iroh::endpoint::connection::OutgoingZeroRtt"]],["impl Freeze for PathInfo",1,["iroh::magicsock::remote_map::remote_state::PathInfo"]],["impl Freeze for PathInfoList",1,["iroh::magicsock::remote_map::remote_state::PathInfoList"]],["impl Freeze for QuicTransportConfig",1,["iroh::endpoint::quic::QuicTransportConfig"]],["impl Freeze for QuicTransportConfigBuilder",1,["iroh::endpoint::quic::QuicTransportConfigBuilder"]],["impl Freeze for RemoteEndpointIdError",1,["iroh::endpoint::connection::RemoteEndpointIdError"]],["impl Freeze for RemoteInfo",1,["iroh::magicsock::remote_map::remote_state::remote_info::RemoteInfo"]],["impl Freeze for RetryError",1,["iroh::endpoint::connection::RetryError"]],["impl Freeze for ServerConfig",1,["iroh::endpoint::quic::ServerConfig"]],["impl Freeze for ServerConfigBuilder",1,["iroh::endpoint::quic::ServerConfigBuilder"]],["impl Freeze for TransportAddrInfo",1,["iroh::magicsock::remote_map::remote_state::remote_info::TransportAddrInfo"]],["impl Freeze for EndpointMetrics",1,["iroh::metrics::EndpointMetrics"]],["impl Freeze for Router",1,["iroh::protocol::Router"]],["impl Freeze for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Freeze for Report",1,["iroh::net_report::report::Report"]],["impl Freeze for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Freeze for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Freeze for QlogFileGroup",1,["iroh::test_utils::qlog::QlogFileGroup"]],["impl<'a> !Freeze for Accept<'a>",1,["iroh::endpoint::connection::Accept"]],["impl<P> Freeze for AccessLimit<P>
    where\n P: Freeze,
    ",1,["iroh::protocol::AccessLimit"]],["impl<State> Freeze for Connection<State>
    where\n <State as ConnectionState>::Data: Freeze,
    ",1,["iroh::endpoint::connection::Connection"]]]],["iroh_base",[["impl Freeze for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Freeze for TransportAddr",1,["iroh_base::endpoint_addr::TransportAddr"]],["impl Freeze for EndpointAddr",1,["iroh_base::endpoint_addr::EndpointAddr"]],["impl Freeze for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Freeze for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Freeze for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Freeze for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Freeze for Signature",1,["iroh_base::key::Signature"]],["impl Freeze for SignatureError",1,["iroh_base::key::SignatureError"]]]],["iroh_bench",[["impl Freeze for Commands",1,["iroh_bench::Commands"]],["impl Freeze for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Freeze for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Freeze for Opt",1,["iroh_bench::s2n::Opt"]],["impl Freeze for Stats",1,["iroh_bench::stats::Stats"]],["impl Freeze for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Freeze for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Freeze for ClientStats",1,["iroh_bench::ClientStats"]],["impl Freeze for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl !Freeze for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Freeze for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Freeze for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Freeze for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Freeze for Config",1,["iroh_dns_server::config::Config"]],["impl Freeze for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Freeze for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Freeze for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Freeze for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Freeze for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Freeze for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Freeze for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Freeze for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Freeze for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Freeze for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Freeze for Server",1,["iroh_dns_server::server::Server"]],["impl Freeze for AppState",1,["iroh_dns_server::state::AppState"]],["impl Freeze for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_relay",[["impl !Freeze for ConnectError",1,["iroh_relay::client::ConnectError"]],["impl !Freeze for Error",1,["iroh_relay::protos::handshake::Error"]],["impl !Freeze for ClientToRelayMsg",1,["iroh_relay::protos::relay::ClientToRelayMsg"]],["impl !Freeze for RelayToClientMsg",1,["iroh_relay::protos::relay::RelayToClientMsg"]],["impl !Freeze for Error",1,["iroh_relay::quic::Error"]],["impl !Freeze for Client",1,["iroh_relay::client::Client"]],["impl !Freeze for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl !Freeze for Datagrams",1,["iroh_relay::protos::relay::Datagrams"]],["impl !Freeze for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Freeze for DialError",1,["iroh_relay::client::DialError"]],["impl Freeze for RecvError",1,["iroh_relay::client::conn::RecvError"]],["impl Freeze for SendError",1,["iroh_relay::client::conn::SendError"]],["impl Freeze for DnsError",1,["iroh_relay::dns::DnsError"]],["impl Freeze for DnsProtocol",1,["iroh_relay::dns::DnsProtocol"]],["impl Freeze for LookupError",1,["iroh_relay::dns::LookupError"]],["impl Freeze for DecodingError",1,["iroh_relay::endpoint_info::DecodingError"]],["impl Freeze for EncodingError",1,["iroh_relay::endpoint_info::EncodingError"]],["impl Freeze for ParseError",1,["iroh_relay::endpoint_info::ParseError"]],["impl Freeze for FrameType",1,["iroh_relay::protos::common::FrameType"]],["impl Freeze for FrameTypeError",1,["iroh_relay::protos::common::FrameTypeError"]],["impl Freeze for Error",1,["iroh_relay::protos::relay::Error"]],["impl Freeze for Access",1,["iroh_relay::server::Access"]],["impl Freeze for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl Freeze for SpawnError",1,["iroh_relay::server::SpawnError"]],["impl Freeze for SupervisorError",1,["iroh_relay::server::SupervisorError"]],["impl Freeze for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Freeze for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Freeze for Builder",1,["iroh_relay::dns::Builder"]],["impl Freeze for DnsResolver",1,["iroh_relay::dns::DnsResolver"]],["impl Freeze for TxtRecordData",1,["iroh_relay::dns::TxtRecordData"]],["impl Freeze for EndpointData",1,["iroh_relay::endpoint_info::EndpointData"]],["impl Freeze for EndpointInfo",1,["iroh_relay::endpoint_info::EndpointInfo"]],["impl Freeze for MaxLengthExceededError",1,["iroh_relay::endpoint_info::MaxLengthExceededError"]],["impl Freeze for UserData",1,["iroh_relay::endpoint_info::UserData"]],["impl Freeze for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Freeze for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl Freeze for Limits",1,["iroh_relay::server::Limits"]],["impl Freeze for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Freeze for RelayMetrics",1,["iroh_relay::server::metrics::RelayMetrics"]],["impl Freeze for Server",1,["iroh_relay::server::Server"]],["impl Freeze for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl Freeze for RelayConfig",1,["iroh_relay::relay_map::RelayConfig"]],["impl Freeze for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Freeze for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<E> Freeze for StaggeredError<E>",1,["iroh_relay::dns::StaggeredError"]],["impl<EC, EA> Freeze for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA> Freeze for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA> Freeze for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA> Freeze for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Freeze for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[21731,2822,2769,6015,16575]} \ No newline at end of file +//{"start":57,"fragment_lengths":[23263,2822,2769,6015,16575]} \ No newline at end of file diff --git a/pr/3734/docs/trait.impl/core/marker/trait.Send.js b/pr/3734/docs/trait.impl/core/marker/trait.Send.js index b42fa245aa..e53b1921b6 100644 --- a/pr/3734/docs/trait.impl/core/marker/trait.Send.js +++ b/pr/3734/docs/trait.impl/core/marker/trait.Send.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl Send for DiscoveryError",1,["iroh::discovery::DiscoveryError"]],["impl Send for IntoDiscoveryError",1,["iroh::discovery::IntoDiscoveryError"]],["impl Send for DiscoveryEvent",1,["iroh::discovery::mdns::DiscoveryEvent"]],["impl Send for PkarrError",1,["iroh::discovery::pkarr::PkarrError"]],["impl Send for AfterHandshakeOutcome",1,["iroh::endpoint::hooks::AfterHandshakeOutcome"]],["impl Send for AlpnError",1,["iroh::endpoint::connection::AlpnError"]],["impl Send for AuthenticationError",1,["iroh::endpoint::connection::AuthenticationError"]],["impl Send for BeforeConnectOutcome",1,["iroh::endpoint::hooks::BeforeConnectOutcome"]],["impl Send for BindError",1,["iroh::endpoint::BindError"]],["impl Send for ConnectError",1,["iroh::endpoint::ConnectError"]],["impl Send for ConnectWithOptsError",1,["iroh::endpoint::ConnectWithOptsError"]],["impl Send for ConnectingError",1,["iroh::endpoint::connection::ConnectingError"]],["impl Send for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Send for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Send for Source",1,["iroh::magicsock::remote_map::Source"]],["impl Send for TransportConfig",1,["iroh::magicsock::transports::TransportConfig"]],["impl Send for ZeroRttStatus",1,["iroh::endpoint::connection::ZeroRttStatus"]],["impl Send for Probe",1,["iroh::net_report::probes::Probe"]],["impl Send for AcceptError",1,["iroh::protocol::AcceptError"]],["impl Send for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Send for DnsDiscoveryBuilder",1,["iroh::discovery::dns::DnsDiscoveryBuilder"]],["impl Send for MdnsDiscovery",1,["iroh::discovery::mdns::MdnsDiscovery"]],["impl Send for MdnsDiscoveryBuilder",1,["iroh::discovery::mdns::MdnsDiscoveryBuilder"]],["impl Send for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Send for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Send for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Send for PkarrPublisherBuilder",1,["iroh::discovery::pkarr::PkarrPublisherBuilder"]],["impl Send for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Send for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Send for PkarrResolverBuilder",1,["iroh::discovery::pkarr::PkarrResolverBuilder"]],["impl Send for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Send for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Send for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Send for N0",1,["iroh::endpoint::presets::N0"]],["impl Send for Accepting",1,["iroh::endpoint::connection::Accepting"]],["impl Send for Builder",1,["iroh::endpoint::Builder"]],["impl Send for ConnectOptions",1,["iroh::endpoint::ConnectOptions"]],["impl Send for Connecting",1,["iroh::endpoint::connection::Connecting"]],["impl Send for ConnectionInfo",1,["iroh::endpoint::connection::ConnectionInfo"]],["impl Send for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Send for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Send for HandshakeCompleted",1,["iroh::endpoint::connection::HandshakeCompleted"]],["impl Send for Incoming",1,["iroh::endpoint::connection::Incoming"]],["impl Send for IncomingZeroRtt",1,["iroh::endpoint::connection::IncomingZeroRtt"]],["impl Send for OutgoingZeroRtt",1,["iroh::endpoint::connection::OutgoingZeroRtt"]],["impl Send for PathInfo",1,["iroh::magicsock::remote_map::remote_state::PathInfo"]],["impl Send for PathInfoList",1,["iroh::magicsock::remote_map::remote_state::PathInfoList"]],["impl Send for QuicTransportConfig",1,["iroh::endpoint::quic::QuicTransportConfig"]],["impl Send for RemoteEndpointIdError",1,["iroh::endpoint::connection::RemoteEndpointIdError"]],["impl Send for EndpointMetrics",1,["iroh::metrics::EndpointMetrics"]],["impl Send for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Send for Metrics",1,["iroh::net_report::metrics::Metrics"]],["impl Send for Options",1,["iroh::net_report::options::imp::Options"]],["impl Send for QuicConfig",1,["iroh::net_report::reportgen::QuicConfig"]],["impl Send for RelayLatencies",1,["iroh::net_report::report::RelayLatencies"]],["impl Send for Report",1,["iroh::net_report::report::Report"]],["impl Send for Router",1,["iroh::protocol::Router"]],["impl Send for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Send for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Send for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl<'a> Send for Accept<'a>",1,["iroh::endpoint::connection::Accept"]],["impl<P> Send for AccessLimit<P>",1,["iroh::protocol::AccessLimit"]],["impl<State> Send for Connection<State>
    where\n <State as ConnectionState>::Data: Send,
    ",1,["iroh::endpoint::connection::Connection"]]]],["iroh_base",[["impl Send for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Send for TransportAddr",1,["iroh_base::endpoint_addr::TransportAddr"]],["impl Send for EndpointAddr",1,["iroh_base::endpoint_addr::EndpointAddr"]],["impl Send for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Send for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Send for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Send for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Send for Signature",1,["iroh_base::key::Signature"]],["impl Send for SignatureError",1,["iroh_base::key::SignatureError"]]]],["iroh_bench",[["impl Send for Commands",1,["iroh_bench::Commands"]],["impl Send for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Send for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Send for Opt",1,["iroh_bench::s2n::Opt"]],["impl Send for Stats",1,["iroh_bench::stats::Stats"]],["impl Send for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Send for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Send for ClientStats",1,["iroh_bench::ClientStats"]],["impl Send for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Send for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Send for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Send for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Send for Config",1,["iroh_dns_server::config::Config"]],["impl Send for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Send for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Send for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Send for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Send for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Send for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Send for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Send for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Send for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Send for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Send for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Send for Server",1,["iroh_dns_server::server::Server"]],["impl Send for AppState",1,["iroh_dns_server::state::AppState"]],["impl Send for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_relay",[["impl Send for ConnectError",1,["iroh_relay::client::ConnectError"]],["impl Send for DialError",1,["iroh_relay::client::DialError"]],["impl Send for RecvError",1,["iroh_relay::client::conn::RecvError"]],["impl Send for SendError",1,["iroh_relay::client::conn::SendError"]],["impl Send for DnsError",1,["iroh_relay::dns::DnsError"]],["impl Send for DnsProtocol",1,["iroh_relay::dns::DnsProtocol"]],["impl Send for LookupError",1,["iroh_relay::dns::LookupError"]],["impl Send for DecodingError",1,["iroh_relay::endpoint_info::DecodingError"]],["impl Send for EncodingError",1,["iroh_relay::endpoint_info::EncodingError"]],["impl Send for ParseError",1,["iroh_relay::endpoint_info::ParseError"]],["impl Send for FrameType",1,["iroh_relay::protos::common::FrameType"]],["impl Send for FrameTypeError",1,["iroh_relay::protos::common::FrameTypeError"]],["impl Send for Error",1,["iroh_relay::protos::handshake::Error"]],["impl Send for ClientToRelayMsg",1,["iroh_relay::protos::relay::ClientToRelayMsg"]],["impl Send for Error",1,["iroh_relay::protos::relay::Error"]],["impl Send for RelayToClientMsg",1,["iroh_relay::protos::relay::RelayToClientMsg"]],["impl Send for Error",1,["iroh_relay::quic::Error"]],["impl Send for Access",1,["iroh_relay::server::Access"]],["impl Send for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl Send for SpawnError",1,["iroh_relay::server::SpawnError"]],["impl Send for SupervisorError",1,["iroh_relay::server::SupervisorError"]],["impl Send for Client",1,["iroh_relay::client::Client"]],["impl Send for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Send for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl Send for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Send for Builder",1,["iroh_relay::dns::Builder"]],["impl Send for DnsResolver",1,["iroh_relay::dns::DnsResolver"]],["impl Send for TxtRecordData",1,["iroh_relay::dns::TxtRecordData"]],["impl Send for EndpointData",1,["iroh_relay::endpoint_info::EndpointData"]],["impl Send for EndpointInfo",1,["iroh_relay::endpoint_info::EndpointInfo"]],["impl Send for MaxLengthExceededError",1,["iroh_relay::endpoint_info::MaxLengthExceededError"]],["impl Send for UserData",1,["iroh_relay::endpoint_info::UserData"]],["impl Send for Datagrams",1,["iroh_relay::protos::relay::Datagrams"]],["impl Send for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Send for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl Send for Limits",1,["iroh_relay::server::Limits"]],["impl Send for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Send for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Send for RelayMetrics",1,["iroh_relay::server::metrics::RelayMetrics"]],["impl Send for Server",1,["iroh_relay::server::Server"]],["impl Send for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl Send for RelayConfig",1,["iroh_relay::relay_map::RelayConfig"]],["impl Send for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Send for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<E> Send for StaggeredError<E>",1,["iroh_relay::dns::StaggeredError"]],["impl<EC, EA> Send for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA> Send for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA> Send for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA> Send for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Send for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); + var implementors = Object.fromEntries([["iroh",[["impl Send for DiscoveryError",1,["iroh::discovery::DiscoveryError"]],["impl Send for IntoDiscoveryError",1,["iroh::discovery::IntoDiscoveryError"]],["impl Send for DiscoveryEvent",1,["iroh::discovery::mdns::DiscoveryEvent"]],["impl Send for PkarrError",1,["iroh::discovery::pkarr::PkarrError"]],["impl Send for AfterHandshakeOutcome",1,["iroh::endpoint::hooks::AfterHandshakeOutcome"]],["impl Send for AlpnError",1,["iroh::endpoint::connection::AlpnError"]],["impl Send for AuthenticationError",1,["iroh::endpoint::connection::AuthenticationError"]],["impl Send for BeforeConnectOutcome",1,["iroh::endpoint::hooks::BeforeConnectOutcome"]],["impl Send for BindError",1,["iroh::endpoint::BindError"]],["impl Send for ConnectError",1,["iroh::endpoint::ConnectError"]],["impl Send for ConnectWithOptsError",1,["iroh::endpoint::ConnectWithOptsError"]],["impl Send for ConnectingError",1,["iroh::endpoint::connection::ConnectingError"]],["impl Send for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Send for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Send for Source",1,["iroh::magicsock::remote_map::Source"]],["impl Send for TransportAddrUsage",1,["iroh::magicsock::remote_map::remote_state::remote_info::TransportAddrUsage"]],["impl Send for TransportConfig",1,["iroh::magicsock::transports::TransportConfig"]],["impl Send for ZeroRttStatus",1,["iroh::endpoint::connection::ZeroRttStatus"]],["impl Send for AcceptError",1,["iroh::protocol::AcceptError"]],["impl Send for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Send for DnsDiscoveryBuilder",1,["iroh::discovery::dns::DnsDiscoveryBuilder"]],["impl Send for MdnsDiscovery",1,["iroh::discovery::mdns::MdnsDiscovery"]],["impl Send for MdnsDiscoveryBuilder",1,["iroh::discovery::mdns::MdnsDiscoveryBuilder"]],["impl Send for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Send for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Send for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Send for PkarrPublisherBuilder",1,["iroh::discovery::pkarr::PkarrPublisherBuilder"]],["impl Send for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Send for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Send for PkarrResolverBuilder",1,["iroh::discovery::pkarr::PkarrResolverBuilder"]],["impl Send for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Send for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Send for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Send for N0",1,["iroh::endpoint::presets::N0"]],["impl Send for Accepting",1,["iroh::endpoint::connection::Accepting"]],["impl Send for Builder",1,["iroh::endpoint::Builder"]],["impl Send for ConnectOptions",1,["iroh::endpoint::ConnectOptions"]],["impl Send for Connecting",1,["iroh::endpoint::connection::Connecting"]],["impl Send for ConnectionInfo",1,["iroh::endpoint::connection::ConnectionInfo"]],["impl Send for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Send for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Send for HandshakeCompleted",1,["iroh::endpoint::connection::HandshakeCompleted"]],["impl Send for Incoming",1,["iroh::endpoint::connection::Incoming"]],["impl Send for IncomingZeroRtt",1,["iroh::endpoint::connection::IncomingZeroRtt"]],["impl Send for OutgoingZeroRtt",1,["iroh::endpoint::connection::OutgoingZeroRtt"]],["impl Send for PathInfo",1,["iroh::magicsock::remote_map::remote_state::PathInfo"]],["impl Send for PathInfoList",1,["iroh::magicsock::remote_map::remote_state::PathInfoList"]],["impl Send for QuicTransportConfig",1,["iroh::endpoint::quic::QuicTransportConfig"]],["impl Send for QuicTransportConfigBuilder",1,["iroh::endpoint::quic::QuicTransportConfigBuilder"]],["impl Send for RemoteEndpointIdError",1,["iroh::endpoint::connection::RemoteEndpointIdError"]],["impl Send for RemoteInfo",1,["iroh::magicsock::remote_map::remote_state::remote_info::RemoteInfo"]],["impl Send for RetryError",1,["iroh::endpoint::connection::RetryError"]],["impl Send for ServerConfig",1,["iroh::endpoint::quic::ServerConfig"]],["impl Send for ServerConfigBuilder",1,["iroh::endpoint::quic::ServerConfigBuilder"]],["impl Send for TransportAddrInfo",1,["iroh::magicsock::remote_map::remote_state::remote_info::TransportAddrInfo"]],["impl Send for EndpointMetrics",1,["iroh::metrics::EndpointMetrics"]],["impl Send for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Send for Metrics",1,["iroh::net_report::metrics::Metrics"]],["impl Send for Router",1,["iroh::protocol::Router"]],["impl Send for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Send for Report",1,["iroh::net_report::report::Report"]],["impl Send for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Send for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Send for QlogFileGroup",1,["iroh::test_utils::qlog::QlogFileGroup"]],["impl<'a> Send for Accept<'a>",1,["iroh::endpoint::connection::Accept"]],["impl<P> Send for AccessLimit<P>",1,["iroh::protocol::AccessLimit"]],["impl<State> Send for Connection<State>
    where\n <State as ConnectionState>::Data: Send,
    ",1,["iroh::endpoint::connection::Connection"]]]],["iroh_base",[["impl Send for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Send for TransportAddr",1,["iroh_base::endpoint_addr::TransportAddr"]],["impl Send for EndpointAddr",1,["iroh_base::endpoint_addr::EndpointAddr"]],["impl Send for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Send for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Send for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Send for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Send for Signature",1,["iroh_base::key::Signature"]],["impl Send for SignatureError",1,["iroh_base::key::SignatureError"]]]],["iroh_bench",[["impl Send for Commands",1,["iroh_bench::Commands"]],["impl Send for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Send for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Send for Opt",1,["iroh_bench::s2n::Opt"]],["impl Send for Stats",1,["iroh_bench::stats::Stats"]],["impl Send for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Send for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Send for ClientStats",1,["iroh_bench::ClientStats"]],["impl Send for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Send for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Send for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Send for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Send for Config",1,["iroh_dns_server::config::Config"]],["impl Send for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Send for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Send for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Send for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Send for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Send for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Send for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Send for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Send for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Send for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Send for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Send for Server",1,["iroh_dns_server::server::Server"]],["impl Send for AppState",1,["iroh_dns_server::state::AppState"]],["impl Send for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_relay",[["impl Send for ConnectError",1,["iroh_relay::client::ConnectError"]],["impl Send for DialError",1,["iroh_relay::client::DialError"]],["impl Send for RecvError",1,["iroh_relay::client::conn::RecvError"]],["impl Send for SendError",1,["iroh_relay::client::conn::SendError"]],["impl Send for DnsError",1,["iroh_relay::dns::DnsError"]],["impl Send for DnsProtocol",1,["iroh_relay::dns::DnsProtocol"]],["impl Send for LookupError",1,["iroh_relay::dns::LookupError"]],["impl Send for DecodingError",1,["iroh_relay::endpoint_info::DecodingError"]],["impl Send for EncodingError",1,["iroh_relay::endpoint_info::EncodingError"]],["impl Send for ParseError",1,["iroh_relay::endpoint_info::ParseError"]],["impl Send for FrameType",1,["iroh_relay::protos::common::FrameType"]],["impl Send for FrameTypeError",1,["iroh_relay::protos::common::FrameTypeError"]],["impl Send for Error",1,["iroh_relay::protos::handshake::Error"]],["impl Send for ClientToRelayMsg",1,["iroh_relay::protos::relay::ClientToRelayMsg"]],["impl Send for Error",1,["iroh_relay::protos::relay::Error"]],["impl Send for RelayToClientMsg",1,["iroh_relay::protos::relay::RelayToClientMsg"]],["impl Send for Error",1,["iroh_relay::quic::Error"]],["impl Send for Access",1,["iroh_relay::server::Access"]],["impl Send for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl Send for SpawnError",1,["iroh_relay::server::SpawnError"]],["impl Send for SupervisorError",1,["iroh_relay::server::SupervisorError"]],["impl Send for Client",1,["iroh_relay::client::Client"]],["impl Send for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Send for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl Send for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Send for Builder",1,["iroh_relay::dns::Builder"]],["impl Send for DnsResolver",1,["iroh_relay::dns::DnsResolver"]],["impl Send for TxtRecordData",1,["iroh_relay::dns::TxtRecordData"]],["impl Send for EndpointData",1,["iroh_relay::endpoint_info::EndpointData"]],["impl Send for EndpointInfo",1,["iroh_relay::endpoint_info::EndpointInfo"]],["impl Send for MaxLengthExceededError",1,["iroh_relay::endpoint_info::MaxLengthExceededError"]],["impl Send for UserData",1,["iroh_relay::endpoint_info::UserData"]],["impl Send for Datagrams",1,["iroh_relay::protos::relay::Datagrams"]],["impl Send for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Send for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl Send for Limits",1,["iroh_relay::server::Limits"]],["impl Send for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Send for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Send for RelayMetrics",1,["iroh_relay::server::metrics::RelayMetrics"]],["impl Send for Server",1,["iroh_relay::server::Server"]],["impl Send for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl Send for RelayConfig",1,["iroh_relay::relay_map::RelayConfig"]],["impl Send for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Send for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<E> Send for StaggeredError<E>",1,["iroh_relay::dns::StaggeredError"]],["impl<EC, EA> Send for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA> Send for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA> Send for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA> Send for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Send for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[21158,2768,2715,5906,16266]} \ No newline at end of file +//{"start":57,"fragment_lengths":[22666,2768,2715,5906,16266]} \ No newline at end of file diff --git a/pr/3734/docs/trait.impl/core/marker/trait.StructuralPartialEq.js b/pr/3734/docs/trait.impl/core/marker/trait.StructuralPartialEq.js index c8f42ac87e..cb252b3dd8 100644 --- a/pr/3734/docs/trait.impl/core/marker/trait.StructuralPartialEq.js +++ b/pr/3734/docs/trait.impl/core/marker/trait.StructuralPartialEq.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl StructuralPartialEq for DiscoveryEvent"],["impl StructuralPartialEq for DirectAddrType"],["impl StructuralPartialEq for RelayMode"],["impl StructuralPartialEq for Source"],["impl StructuralPartialEq for Probe"],["impl StructuralPartialEq for DiscoveryItem"],["impl StructuralPartialEq for DirectAddr"],["impl StructuralPartialEq for PathInfoList"],["impl StructuralPartialEq for RelayLatencies"],["impl StructuralPartialEq for Report"]]],["iroh_base",[["impl StructuralPartialEq for TransportAddr"],["impl StructuralPartialEq for EndpointAddr"],["impl StructuralPartialEq for PublicKey"],["impl StructuralPartialEq for RelayUrl"],["impl StructuralPartialEq for Signature"]]],["iroh_dns_server",[["impl StructuralPartialEq for CertMode"]]],["iroh_relay",[["impl StructuralPartialEq for DnsProtocol"],["impl StructuralPartialEq for FrameType"],["impl StructuralPartialEq for ClientToRelayMsg"],["impl StructuralPartialEq for RelayToClientMsg"],["impl StructuralPartialEq for Access"],["impl StructuralPartialEq for EndpointData"],["impl StructuralPartialEq for EndpointInfo"],["impl StructuralPartialEq for UserData"],["impl StructuralPartialEq for Datagrams"],["impl StructuralPartialEq for RelayConfig"],["impl StructuralPartialEq for RelayQuicConfig"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl StructuralPartialEq for DiscoveryEvent"],["impl StructuralPartialEq for DirectAddrType"],["impl StructuralPartialEq for RelayMode"],["impl StructuralPartialEq for Source"],["impl StructuralPartialEq for DiscoveryItem"],["impl StructuralPartialEq for DirectAddr"],["impl StructuralPartialEq for PathInfoList"],["impl StructuralPartialEq for Report"]]],["iroh_base",[["impl StructuralPartialEq for TransportAddr"],["impl StructuralPartialEq for EndpointAddr"],["impl StructuralPartialEq for PublicKey"],["impl StructuralPartialEq for RelayUrl"],["impl StructuralPartialEq for Signature"]]],["iroh_dns_server",[["impl StructuralPartialEq for CertMode"]]],["iroh_relay",[["impl StructuralPartialEq for DnsProtocol"],["impl StructuralPartialEq for FrameType"],["impl StructuralPartialEq for ClientToRelayMsg"],["impl StructuralPartialEq for RelayToClientMsg"],["impl StructuralPartialEq for Access"],["impl StructuralPartialEq for EndpointData"],["impl StructuralPartialEq for EndpointInfo"],["impl StructuralPartialEq for UserData"],["impl StructuralPartialEq for Datagrams"],["impl StructuralPartialEq for RelayConfig"],["impl StructuralPartialEq for RelayQuicConfig"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[3186,1553,341,3667]} \ No newline at end of file +//{"start":57,"fragment_lengths":[2536,1553,341,3667]} \ No newline at end of file diff --git a/pr/3734/docs/trait.impl/core/marker/trait.Sync.js b/pr/3734/docs/trait.impl/core/marker/trait.Sync.js index 244da8dcef..48a9d37807 100644 --- a/pr/3734/docs/trait.impl/core/marker/trait.Sync.js +++ b/pr/3734/docs/trait.impl/core/marker/trait.Sync.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl !Sync for Accepting",1,["iroh::endpoint::connection::Accepting"]],["impl !Sync for Connecting",1,["iroh::endpoint::connection::Connecting"]],["impl Sync for DiscoveryError",1,["iroh::discovery::DiscoveryError"]],["impl Sync for IntoDiscoveryError",1,["iroh::discovery::IntoDiscoveryError"]],["impl Sync for DiscoveryEvent",1,["iroh::discovery::mdns::DiscoveryEvent"]],["impl Sync for PkarrError",1,["iroh::discovery::pkarr::PkarrError"]],["impl Sync for AfterHandshakeOutcome",1,["iroh::endpoint::hooks::AfterHandshakeOutcome"]],["impl Sync for AlpnError",1,["iroh::endpoint::connection::AlpnError"]],["impl Sync for AuthenticationError",1,["iroh::endpoint::connection::AuthenticationError"]],["impl Sync for BeforeConnectOutcome",1,["iroh::endpoint::hooks::BeforeConnectOutcome"]],["impl Sync for BindError",1,["iroh::endpoint::BindError"]],["impl Sync for ConnectError",1,["iroh::endpoint::ConnectError"]],["impl Sync for ConnectWithOptsError",1,["iroh::endpoint::ConnectWithOptsError"]],["impl Sync for ConnectingError",1,["iroh::endpoint::connection::ConnectingError"]],["impl Sync for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Sync for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Sync for Source",1,["iroh::magicsock::remote_map::Source"]],["impl Sync for TransportConfig",1,["iroh::magicsock::transports::TransportConfig"]],["impl Sync for ZeroRttStatus",1,["iroh::endpoint::connection::ZeroRttStatus"]],["impl Sync for Probe",1,["iroh::net_report::probes::Probe"]],["impl Sync for AcceptError",1,["iroh::protocol::AcceptError"]],["impl Sync for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Sync for DnsDiscoveryBuilder",1,["iroh::discovery::dns::DnsDiscoveryBuilder"]],["impl Sync for MdnsDiscovery",1,["iroh::discovery::mdns::MdnsDiscovery"]],["impl Sync for MdnsDiscoveryBuilder",1,["iroh::discovery::mdns::MdnsDiscoveryBuilder"]],["impl Sync for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Sync for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Sync for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Sync for PkarrPublisherBuilder",1,["iroh::discovery::pkarr::PkarrPublisherBuilder"]],["impl Sync for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Sync for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Sync for PkarrResolverBuilder",1,["iroh::discovery::pkarr::PkarrResolverBuilder"]],["impl Sync for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Sync for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Sync for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Sync for N0",1,["iroh::endpoint::presets::N0"]],["impl Sync for Builder",1,["iroh::endpoint::Builder"]],["impl Sync for ConnectOptions",1,["iroh::endpoint::ConnectOptions"]],["impl Sync for ConnectionInfo",1,["iroh::endpoint::connection::ConnectionInfo"]],["impl Sync for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Sync for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Sync for HandshakeCompleted",1,["iroh::endpoint::connection::HandshakeCompleted"]],["impl Sync for Incoming",1,["iroh::endpoint::connection::Incoming"]],["impl Sync for IncomingZeroRtt",1,["iroh::endpoint::connection::IncomingZeroRtt"]],["impl Sync for OutgoingZeroRtt",1,["iroh::endpoint::connection::OutgoingZeroRtt"]],["impl Sync for PathInfo",1,["iroh::magicsock::remote_map::remote_state::PathInfo"]],["impl Sync for PathInfoList",1,["iroh::magicsock::remote_map::remote_state::PathInfoList"]],["impl Sync for QuicTransportConfig",1,["iroh::endpoint::quic::QuicTransportConfig"]],["impl Sync for RemoteEndpointIdError",1,["iroh::endpoint::connection::RemoteEndpointIdError"]],["impl Sync for EndpointMetrics",1,["iroh::metrics::EndpointMetrics"]],["impl Sync for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Sync for Metrics",1,["iroh::net_report::metrics::Metrics"]],["impl Sync for Options",1,["iroh::net_report::options::imp::Options"]],["impl Sync for QuicConfig",1,["iroh::net_report::reportgen::QuicConfig"]],["impl Sync for RelayLatencies",1,["iroh::net_report::report::RelayLatencies"]],["impl Sync for Report",1,["iroh::net_report::report::Report"]],["impl Sync for Router",1,["iroh::protocol::Router"]],["impl Sync for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Sync for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Sync for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl<'a> Sync for Accept<'a>",1,["iroh::endpoint::connection::Accept"]],["impl<P> Sync for AccessLimit<P>",1,["iroh::protocol::AccessLimit"]],["impl<State> Sync for Connection<State>
    where\n <State as ConnectionState>::Data: Sync,
    ",1,["iroh::endpoint::connection::Connection"]]]],["iroh_base",[["impl Sync for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Sync for TransportAddr",1,["iroh_base::endpoint_addr::TransportAddr"]],["impl Sync for EndpointAddr",1,["iroh_base::endpoint_addr::EndpointAddr"]],["impl Sync for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Sync for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Sync for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Sync for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Sync for Signature",1,["iroh_base::key::Signature"]],["impl Sync for SignatureError",1,["iroh_base::key::SignatureError"]]]],["iroh_bench",[["impl Sync for Commands",1,["iroh_bench::Commands"]],["impl Sync for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Sync for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Sync for Opt",1,["iroh_bench::s2n::Opt"]],["impl Sync for Stats",1,["iroh_bench::stats::Stats"]],["impl Sync for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Sync for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Sync for ClientStats",1,["iroh_bench::ClientStats"]],["impl Sync for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Sync for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Sync for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Sync for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Sync for Config",1,["iroh_dns_server::config::Config"]],["impl Sync for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Sync for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Sync for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Sync for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Sync for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Sync for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Sync for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Sync for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Sync for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Sync for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Sync for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Sync for Server",1,["iroh_dns_server::server::Server"]],["impl Sync for AppState",1,["iroh_dns_server::state::AppState"]],["impl Sync for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_relay",[["impl Sync for ConnectError",1,["iroh_relay::client::ConnectError"]],["impl Sync for DialError",1,["iroh_relay::client::DialError"]],["impl Sync for RecvError",1,["iroh_relay::client::conn::RecvError"]],["impl Sync for SendError",1,["iroh_relay::client::conn::SendError"]],["impl Sync for DnsError",1,["iroh_relay::dns::DnsError"]],["impl Sync for DnsProtocol",1,["iroh_relay::dns::DnsProtocol"]],["impl Sync for LookupError",1,["iroh_relay::dns::LookupError"]],["impl Sync for DecodingError",1,["iroh_relay::endpoint_info::DecodingError"]],["impl Sync for EncodingError",1,["iroh_relay::endpoint_info::EncodingError"]],["impl Sync for ParseError",1,["iroh_relay::endpoint_info::ParseError"]],["impl Sync for FrameType",1,["iroh_relay::protos::common::FrameType"]],["impl Sync for FrameTypeError",1,["iroh_relay::protos::common::FrameTypeError"]],["impl Sync for Error",1,["iroh_relay::protos::handshake::Error"]],["impl Sync for ClientToRelayMsg",1,["iroh_relay::protos::relay::ClientToRelayMsg"]],["impl Sync for Error",1,["iroh_relay::protos::relay::Error"]],["impl Sync for RelayToClientMsg",1,["iroh_relay::protos::relay::RelayToClientMsg"]],["impl Sync for Error",1,["iroh_relay::quic::Error"]],["impl Sync for Access",1,["iroh_relay::server::Access"]],["impl Sync for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl Sync for SpawnError",1,["iroh_relay::server::SpawnError"]],["impl Sync for SupervisorError",1,["iroh_relay::server::SupervisorError"]],["impl Sync for Client",1,["iroh_relay::client::Client"]],["impl Sync for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Sync for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl Sync for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Sync for Builder",1,["iroh_relay::dns::Builder"]],["impl Sync for DnsResolver",1,["iroh_relay::dns::DnsResolver"]],["impl Sync for TxtRecordData",1,["iroh_relay::dns::TxtRecordData"]],["impl Sync for EndpointData",1,["iroh_relay::endpoint_info::EndpointData"]],["impl Sync for EndpointInfo",1,["iroh_relay::endpoint_info::EndpointInfo"]],["impl Sync for MaxLengthExceededError",1,["iroh_relay::endpoint_info::MaxLengthExceededError"]],["impl Sync for UserData",1,["iroh_relay::endpoint_info::UserData"]],["impl Sync for Datagrams",1,["iroh_relay::protos::relay::Datagrams"]],["impl Sync for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Sync for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl Sync for Limits",1,["iroh_relay::server::Limits"]],["impl Sync for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Sync for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Sync for RelayMetrics",1,["iroh_relay::server::metrics::RelayMetrics"]],["impl Sync for Server",1,["iroh_relay::server::Server"]],["impl Sync for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl Sync for RelayConfig",1,["iroh_relay::relay_map::RelayConfig"]],["impl Sync for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Sync for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<E> Sync for StaggeredError<E>",1,["iroh_relay::dns::StaggeredError"]],["impl<EC, EA = EC> !Sync for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA = EC> !Sync for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA = EC> !Sync for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA = EC> !Sync for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Sync for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); + var implementors = Object.fromEntries([["iroh",[["impl !Sync for Accepting",1,["iroh::endpoint::connection::Accepting"]],["impl !Sync for Connecting",1,["iroh::endpoint::connection::Connecting"]],["impl Sync for DiscoveryError",1,["iroh::discovery::DiscoveryError"]],["impl Sync for IntoDiscoveryError",1,["iroh::discovery::IntoDiscoveryError"]],["impl Sync for DiscoveryEvent",1,["iroh::discovery::mdns::DiscoveryEvent"]],["impl Sync for PkarrError",1,["iroh::discovery::pkarr::PkarrError"]],["impl Sync for AfterHandshakeOutcome",1,["iroh::endpoint::hooks::AfterHandshakeOutcome"]],["impl Sync for AlpnError",1,["iroh::endpoint::connection::AlpnError"]],["impl Sync for AuthenticationError",1,["iroh::endpoint::connection::AuthenticationError"]],["impl Sync for BeforeConnectOutcome",1,["iroh::endpoint::hooks::BeforeConnectOutcome"]],["impl Sync for BindError",1,["iroh::endpoint::BindError"]],["impl Sync for ConnectError",1,["iroh::endpoint::ConnectError"]],["impl Sync for ConnectWithOptsError",1,["iroh::endpoint::ConnectWithOptsError"]],["impl Sync for ConnectingError",1,["iroh::endpoint::connection::ConnectingError"]],["impl Sync for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Sync for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Sync for Source",1,["iroh::magicsock::remote_map::Source"]],["impl Sync for TransportAddrUsage",1,["iroh::magicsock::remote_map::remote_state::remote_info::TransportAddrUsage"]],["impl Sync for TransportConfig",1,["iroh::magicsock::transports::TransportConfig"]],["impl Sync for ZeroRttStatus",1,["iroh::endpoint::connection::ZeroRttStatus"]],["impl Sync for AcceptError",1,["iroh::protocol::AcceptError"]],["impl Sync for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Sync for DnsDiscoveryBuilder",1,["iroh::discovery::dns::DnsDiscoveryBuilder"]],["impl Sync for MdnsDiscovery",1,["iroh::discovery::mdns::MdnsDiscovery"]],["impl Sync for MdnsDiscoveryBuilder",1,["iroh::discovery::mdns::MdnsDiscoveryBuilder"]],["impl Sync for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Sync for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Sync for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Sync for PkarrPublisherBuilder",1,["iroh::discovery::pkarr::PkarrPublisherBuilder"]],["impl Sync for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Sync for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Sync for PkarrResolverBuilder",1,["iroh::discovery::pkarr::PkarrResolverBuilder"]],["impl Sync for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Sync for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Sync for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Sync for N0",1,["iroh::endpoint::presets::N0"]],["impl Sync for Builder",1,["iroh::endpoint::Builder"]],["impl Sync for ConnectOptions",1,["iroh::endpoint::ConnectOptions"]],["impl Sync for ConnectionInfo",1,["iroh::endpoint::connection::ConnectionInfo"]],["impl Sync for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Sync for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Sync for HandshakeCompleted",1,["iroh::endpoint::connection::HandshakeCompleted"]],["impl Sync for Incoming",1,["iroh::endpoint::connection::Incoming"]],["impl Sync for IncomingZeroRtt",1,["iroh::endpoint::connection::IncomingZeroRtt"]],["impl Sync for OutgoingZeroRtt",1,["iroh::endpoint::connection::OutgoingZeroRtt"]],["impl Sync for PathInfo",1,["iroh::magicsock::remote_map::remote_state::PathInfo"]],["impl Sync for PathInfoList",1,["iroh::magicsock::remote_map::remote_state::PathInfoList"]],["impl Sync for QuicTransportConfig",1,["iroh::endpoint::quic::QuicTransportConfig"]],["impl Sync for QuicTransportConfigBuilder",1,["iroh::endpoint::quic::QuicTransportConfigBuilder"]],["impl Sync for RemoteEndpointIdError",1,["iroh::endpoint::connection::RemoteEndpointIdError"]],["impl Sync for RemoteInfo",1,["iroh::magicsock::remote_map::remote_state::remote_info::RemoteInfo"]],["impl Sync for RetryError",1,["iroh::endpoint::connection::RetryError"]],["impl Sync for ServerConfig",1,["iroh::endpoint::quic::ServerConfig"]],["impl Sync for ServerConfigBuilder",1,["iroh::endpoint::quic::ServerConfigBuilder"]],["impl Sync for TransportAddrInfo",1,["iroh::magicsock::remote_map::remote_state::remote_info::TransportAddrInfo"]],["impl Sync for EndpointMetrics",1,["iroh::metrics::EndpointMetrics"]],["impl Sync for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Sync for Metrics",1,["iroh::net_report::metrics::Metrics"]],["impl Sync for Router",1,["iroh::protocol::Router"]],["impl Sync for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Sync for Report",1,["iroh::net_report::report::Report"]],["impl Sync for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Sync for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Sync for QlogFileGroup",1,["iroh::test_utils::qlog::QlogFileGroup"]],["impl<'a> Sync for Accept<'a>",1,["iroh::endpoint::connection::Accept"]],["impl<P> Sync for AccessLimit<P>",1,["iroh::protocol::AccessLimit"]],["impl<State> Sync for Connection<State>
    where\n <State as ConnectionState>::Data: Sync,
    ",1,["iroh::endpoint::connection::Connection"]]]],["iroh_base",[["impl Sync for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Sync for TransportAddr",1,["iroh_base::endpoint_addr::TransportAddr"]],["impl Sync for EndpointAddr",1,["iroh_base::endpoint_addr::EndpointAddr"]],["impl Sync for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Sync for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Sync for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Sync for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Sync for Signature",1,["iroh_base::key::Signature"]],["impl Sync for SignatureError",1,["iroh_base::key::SignatureError"]]]],["iroh_bench",[["impl Sync for Commands",1,["iroh_bench::Commands"]],["impl Sync for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Sync for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Sync for Opt",1,["iroh_bench::s2n::Opt"]],["impl Sync for Stats",1,["iroh_bench::stats::Stats"]],["impl Sync for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Sync for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Sync for ClientStats",1,["iroh_bench::ClientStats"]],["impl Sync for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Sync for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Sync for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Sync for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Sync for Config",1,["iroh_dns_server::config::Config"]],["impl Sync for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Sync for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Sync for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Sync for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Sync for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Sync for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Sync for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Sync for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Sync for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Sync for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Sync for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Sync for Server",1,["iroh_dns_server::server::Server"]],["impl Sync for AppState",1,["iroh_dns_server::state::AppState"]],["impl Sync for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_relay",[["impl Sync for ConnectError",1,["iroh_relay::client::ConnectError"]],["impl Sync for DialError",1,["iroh_relay::client::DialError"]],["impl Sync for RecvError",1,["iroh_relay::client::conn::RecvError"]],["impl Sync for SendError",1,["iroh_relay::client::conn::SendError"]],["impl Sync for DnsError",1,["iroh_relay::dns::DnsError"]],["impl Sync for DnsProtocol",1,["iroh_relay::dns::DnsProtocol"]],["impl Sync for LookupError",1,["iroh_relay::dns::LookupError"]],["impl Sync for DecodingError",1,["iroh_relay::endpoint_info::DecodingError"]],["impl Sync for EncodingError",1,["iroh_relay::endpoint_info::EncodingError"]],["impl Sync for ParseError",1,["iroh_relay::endpoint_info::ParseError"]],["impl Sync for FrameType",1,["iroh_relay::protos::common::FrameType"]],["impl Sync for FrameTypeError",1,["iroh_relay::protos::common::FrameTypeError"]],["impl Sync for Error",1,["iroh_relay::protos::handshake::Error"]],["impl Sync for ClientToRelayMsg",1,["iroh_relay::protos::relay::ClientToRelayMsg"]],["impl Sync for Error",1,["iroh_relay::protos::relay::Error"]],["impl Sync for RelayToClientMsg",1,["iroh_relay::protos::relay::RelayToClientMsg"]],["impl Sync for Error",1,["iroh_relay::quic::Error"]],["impl Sync for Access",1,["iroh_relay::server::Access"]],["impl Sync for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl Sync for SpawnError",1,["iroh_relay::server::SpawnError"]],["impl Sync for SupervisorError",1,["iroh_relay::server::SupervisorError"]],["impl Sync for Client",1,["iroh_relay::client::Client"]],["impl Sync for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Sync for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl Sync for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Sync for Builder",1,["iroh_relay::dns::Builder"]],["impl Sync for DnsResolver",1,["iroh_relay::dns::DnsResolver"]],["impl Sync for TxtRecordData",1,["iroh_relay::dns::TxtRecordData"]],["impl Sync for EndpointData",1,["iroh_relay::endpoint_info::EndpointData"]],["impl Sync for EndpointInfo",1,["iroh_relay::endpoint_info::EndpointInfo"]],["impl Sync for MaxLengthExceededError",1,["iroh_relay::endpoint_info::MaxLengthExceededError"]],["impl Sync for UserData",1,["iroh_relay::endpoint_info::UserData"]],["impl Sync for Datagrams",1,["iroh_relay::protos::relay::Datagrams"]],["impl Sync for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Sync for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl Sync for Limits",1,["iroh_relay::server::Limits"]],["impl Sync for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Sync for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Sync for RelayMetrics",1,["iroh_relay::server::metrics::RelayMetrics"]],["impl Sync for Server",1,["iroh_relay::server::Server"]],["impl Sync for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl Sync for RelayConfig",1,["iroh_relay::relay_map::RelayConfig"]],["impl Sync for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Sync for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<E> Sync for StaggeredError<E>",1,["iroh_relay::dns::StaggeredError"]],["impl<EC, EA = EC> !Sync for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA = EC> !Sync for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA = EC> !Sync for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA = EC> !Sync for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Sync for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[21160,2768,2715,5906,16290]} \ No newline at end of file +//{"start":57,"fragment_lengths":[22668,2768,2715,5906,16290]} \ No newline at end of file diff --git a/pr/3734/docs/trait.impl/core/marker/trait.Unpin.js b/pr/3734/docs/trait.impl/core/marker/trait.Unpin.js index 06b6a9f76b..082b3146e7 100644 --- a/pr/3734/docs/trait.impl/core/marker/trait.Unpin.js +++ b/pr/3734/docs/trait.impl/core/marker/trait.Unpin.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl Unpin for DiscoveryError",1,["iroh::discovery::DiscoveryError"]],["impl Unpin for IntoDiscoveryError",1,["iroh::discovery::IntoDiscoveryError"]],["impl Unpin for DiscoveryEvent",1,["iroh::discovery::mdns::DiscoveryEvent"]],["impl Unpin for PkarrError",1,["iroh::discovery::pkarr::PkarrError"]],["impl Unpin for AfterHandshakeOutcome",1,["iroh::endpoint::hooks::AfterHandshakeOutcome"]],["impl Unpin for AlpnError",1,["iroh::endpoint::connection::AlpnError"]],["impl Unpin for AuthenticationError",1,["iroh::endpoint::connection::AuthenticationError"]],["impl Unpin for BeforeConnectOutcome",1,["iroh::endpoint::hooks::BeforeConnectOutcome"]],["impl Unpin for BindError",1,["iroh::endpoint::BindError"]],["impl Unpin for ConnectError",1,["iroh::endpoint::ConnectError"]],["impl Unpin for ConnectWithOptsError",1,["iroh::endpoint::ConnectWithOptsError"]],["impl Unpin for ConnectingError",1,["iroh::endpoint::connection::ConnectingError"]],["impl Unpin for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Unpin for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Unpin for Source",1,["iroh::magicsock::remote_map::Source"]],["impl Unpin for TransportConfig",1,["iroh::magicsock::transports::TransportConfig"]],["impl Unpin for ZeroRttStatus",1,["iroh::endpoint::connection::ZeroRttStatus"]],["impl Unpin for Probe",1,["iroh::net_report::probes::Probe"]],["impl Unpin for AcceptError",1,["iroh::protocol::AcceptError"]],["impl Unpin for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Unpin for DnsDiscoveryBuilder",1,["iroh::discovery::dns::DnsDiscoveryBuilder"]],["impl Unpin for MdnsDiscovery",1,["iroh::discovery::mdns::MdnsDiscovery"]],["impl Unpin for MdnsDiscoveryBuilder",1,["iroh::discovery::mdns::MdnsDiscoveryBuilder"]],["impl Unpin for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Unpin for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Unpin for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Unpin for PkarrPublisherBuilder",1,["iroh::discovery::pkarr::PkarrPublisherBuilder"]],["impl Unpin for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Unpin for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Unpin for PkarrResolverBuilder",1,["iroh::discovery::pkarr::PkarrResolverBuilder"]],["impl Unpin for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Unpin for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Unpin for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Unpin for N0",1,["iroh::endpoint::presets::N0"]],["impl Unpin for Accepting",1,["iroh::endpoint::connection::Accepting"]],["impl Unpin for Builder",1,["iroh::endpoint::Builder"]],["impl Unpin for ConnectOptions",1,["iroh::endpoint::ConnectOptions"]],["impl Unpin for Connecting",1,["iroh::endpoint::connection::Connecting"]],["impl Unpin for ConnectionInfo",1,["iroh::endpoint::connection::ConnectionInfo"]],["impl Unpin for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Unpin for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Unpin for HandshakeCompleted",1,["iroh::endpoint::connection::HandshakeCompleted"]],["impl Unpin for Incoming",1,["iroh::endpoint::connection::Incoming"]],["impl Unpin for IncomingZeroRtt",1,["iroh::endpoint::connection::IncomingZeroRtt"]],["impl Unpin for OutgoingZeroRtt",1,["iroh::endpoint::connection::OutgoingZeroRtt"]],["impl Unpin for PathInfo",1,["iroh::magicsock::remote_map::remote_state::PathInfo"]],["impl Unpin for PathInfoList",1,["iroh::magicsock::remote_map::remote_state::PathInfoList"]],["impl Unpin for QuicTransportConfig",1,["iroh::endpoint::quic::QuicTransportConfig"]],["impl Unpin for RemoteEndpointIdError",1,["iroh::endpoint::connection::RemoteEndpointIdError"]],["impl Unpin for EndpointMetrics",1,["iroh::metrics::EndpointMetrics"]],["impl Unpin for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Unpin for Metrics",1,["iroh::net_report::metrics::Metrics"]],["impl Unpin for Options",1,["iroh::net_report::options::imp::Options"]],["impl Unpin for QuicConfig",1,["iroh::net_report::reportgen::QuicConfig"]],["impl Unpin for RelayLatencies",1,["iroh::net_report::report::RelayLatencies"]],["impl Unpin for Report",1,["iroh::net_report::report::Report"]],["impl Unpin for Router",1,["iroh::protocol::Router"]],["impl Unpin for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Unpin for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Unpin for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl<'pin, 'a> Unpin for Accept<'a>
    where\n PinnedFieldsOf<__Accept<'pin, 'a>>: Unpin,
    "],["impl<P> Unpin for AccessLimit<P>
    where\n P: Unpin,
    ",1,["iroh::protocol::AccessLimit"]],["impl<State> Unpin for Connection<State>
    where\n <State as ConnectionState>::Data: Unpin,
    ",1,["iroh::endpoint::connection::Connection"]]]],["iroh_base",[["impl Unpin for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Unpin for TransportAddr",1,["iroh_base::endpoint_addr::TransportAddr"]],["impl Unpin for EndpointAddr",1,["iroh_base::endpoint_addr::EndpointAddr"]],["impl Unpin for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Unpin for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Unpin for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Unpin for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Unpin for Signature",1,["iroh_base::key::Signature"]],["impl Unpin for SignatureError",1,["iroh_base::key::SignatureError"]]]],["iroh_bench",[["impl Unpin for Commands",1,["iroh_bench::Commands"]],["impl Unpin for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Unpin for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Unpin for Opt",1,["iroh_bench::s2n::Opt"]],["impl Unpin for Stats",1,["iroh_bench::stats::Stats"]],["impl Unpin for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Unpin for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Unpin for ClientStats",1,["iroh_bench::ClientStats"]],["impl Unpin for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Unpin for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Unpin for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Unpin for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Unpin for Config",1,["iroh_dns_server::config::Config"]],["impl Unpin for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Unpin for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Unpin for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Unpin for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Unpin for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Unpin for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Unpin for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Unpin for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Unpin for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Unpin for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Unpin for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Unpin for Server",1,["iroh_dns_server::server::Server"]],["impl Unpin for AppState",1,["iroh_dns_server::state::AppState"]],["impl Unpin for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_relay",[["impl Unpin for ConnectError",1,["iroh_relay::client::ConnectError"]],["impl Unpin for DialError",1,["iroh_relay::client::DialError"]],["impl Unpin for RecvError",1,["iroh_relay::client::conn::RecvError"]],["impl Unpin for SendError",1,["iroh_relay::client::conn::SendError"]],["impl Unpin for DnsError",1,["iroh_relay::dns::DnsError"]],["impl Unpin for DnsProtocol",1,["iroh_relay::dns::DnsProtocol"]],["impl Unpin for LookupError",1,["iroh_relay::dns::LookupError"]],["impl Unpin for DecodingError",1,["iroh_relay::endpoint_info::DecodingError"]],["impl Unpin for EncodingError",1,["iroh_relay::endpoint_info::EncodingError"]],["impl Unpin for ParseError",1,["iroh_relay::endpoint_info::ParseError"]],["impl Unpin for FrameType",1,["iroh_relay::protos::common::FrameType"]],["impl Unpin for FrameTypeError",1,["iroh_relay::protos::common::FrameTypeError"]],["impl Unpin for Error",1,["iroh_relay::protos::handshake::Error"]],["impl Unpin for ClientToRelayMsg",1,["iroh_relay::protos::relay::ClientToRelayMsg"]],["impl Unpin for Error",1,["iroh_relay::protos::relay::Error"]],["impl Unpin for RelayToClientMsg",1,["iroh_relay::protos::relay::RelayToClientMsg"]],["impl Unpin for Error",1,["iroh_relay::quic::Error"]],["impl Unpin for Access",1,["iroh_relay::server::Access"]],["impl Unpin for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl Unpin for SpawnError",1,["iroh_relay::server::SpawnError"]],["impl Unpin for SupervisorError",1,["iroh_relay::server::SupervisorError"]],["impl Unpin for Client",1,["iroh_relay::client::Client"]],["impl Unpin for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Unpin for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl Unpin for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Unpin for Builder",1,["iroh_relay::dns::Builder"]],["impl Unpin for DnsResolver",1,["iroh_relay::dns::DnsResolver"]],["impl Unpin for TxtRecordData",1,["iroh_relay::dns::TxtRecordData"]],["impl Unpin for EndpointData",1,["iroh_relay::endpoint_info::EndpointData"]],["impl Unpin for EndpointInfo",1,["iroh_relay::endpoint_info::EndpointInfo"]],["impl Unpin for MaxLengthExceededError",1,["iroh_relay::endpoint_info::MaxLengthExceededError"]],["impl Unpin for UserData",1,["iroh_relay::endpoint_info::UserData"]],["impl Unpin for Datagrams",1,["iroh_relay::protos::relay::Datagrams"]],["impl Unpin for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Unpin for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl Unpin for Limits",1,["iroh_relay::server::Limits"]],["impl Unpin for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Unpin for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Unpin for RelayMetrics",1,["iroh_relay::server::metrics::RelayMetrics"]],["impl Unpin for Server",1,["iroh_relay::server::Server"]],["impl Unpin for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl Unpin for RelayConfig",1,["iroh_relay::relay_map::RelayConfig"]],["impl Unpin for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Unpin for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<E> Unpin for StaggeredError<E>
    where\n E: Unpin,
    ",1,["iroh_relay::dns::StaggeredError"]],["impl<EC, EA> Unpin for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA> Unpin for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA> Unpin for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA> Unpin for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Unpin for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); + var implementors = Object.fromEntries([["iroh",[["impl Unpin for DiscoveryError",1,["iroh::discovery::DiscoveryError"]],["impl Unpin for IntoDiscoveryError",1,["iroh::discovery::IntoDiscoveryError"]],["impl Unpin for DiscoveryEvent",1,["iroh::discovery::mdns::DiscoveryEvent"]],["impl Unpin for PkarrError",1,["iroh::discovery::pkarr::PkarrError"]],["impl Unpin for AfterHandshakeOutcome",1,["iroh::endpoint::hooks::AfterHandshakeOutcome"]],["impl Unpin for AlpnError",1,["iroh::endpoint::connection::AlpnError"]],["impl Unpin for AuthenticationError",1,["iroh::endpoint::connection::AuthenticationError"]],["impl Unpin for BeforeConnectOutcome",1,["iroh::endpoint::hooks::BeforeConnectOutcome"]],["impl Unpin for BindError",1,["iroh::endpoint::BindError"]],["impl Unpin for ConnectError",1,["iroh::endpoint::ConnectError"]],["impl Unpin for ConnectWithOptsError",1,["iroh::endpoint::ConnectWithOptsError"]],["impl Unpin for ConnectingError",1,["iroh::endpoint::connection::ConnectingError"]],["impl Unpin for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Unpin for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Unpin for Source",1,["iroh::magicsock::remote_map::Source"]],["impl Unpin for TransportAddrUsage",1,["iroh::magicsock::remote_map::remote_state::remote_info::TransportAddrUsage"]],["impl Unpin for TransportConfig",1,["iroh::magicsock::transports::TransportConfig"]],["impl Unpin for ZeroRttStatus",1,["iroh::endpoint::connection::ZeroRttStatus"]],["impl Unpin for AcceptError",1,["iroh::protocol::AcceptError"]],["impl Unpin for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Unpin for DnsDiscoveryBuilder",1,["iroh::discovery::dns::DnsDiscoveryBuilder"]],["impl Unpin for MdnsDiscovery",1,["iroh::discovery::mdns::MdnsDiscovery"]],["impl Unpin for MdnsDiscoveryBuilder",1,["iroh::discovery::mdns::MdnsDiscoveryBuilder"]],["impl Unpin for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Unpin for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Unpin for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Unpin for PkarrPublisherBuilder",1,["iroh::discovery::pkarr::PkarrPublisherBuilder"]],["impl Unpin for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Unpin for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Unpin for PkarrResolverBuilder",1,["iroh::discovery::pkarr::PkarrResolverBuilder"]],["impl Unpin for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Unpin for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Unpin for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Unpin for N0",1,["iroh::endpoint::presets::N0"]],["impl Unpin for Accepting",1,["iroh::endpoint::connection::Accepting"]],["impl Unpin for Builder",1,["iroh::endpoint::Builder"]],["impl Unpin for ConnectOptions",1,["iroh::endpoint::ConnectOptions"]],["impl Unpin for Connecting",1,["iroh::endpoint::connection::Connecting"]],["impl Unpin for ConnectionInfo",1,["iroh::endpoint::connection::ConnectionInfo"]],["impl Unpin for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Unpin for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Unpin for HandshakeCompleted",1,["iroh::endpoint::connection::HandshakeCompleted"]],["impl Unpin for Incoming",1,["iroh::endpoint::connection::Incoming"]],["impl Unpin for IncomingZeroRtt",1,["iroh::endpoint::connection::IncomingZeroRtt"]],["impl Unpin for OutgoingZeroRtt",1,["iroh::endpoint::connection::OutgoingZeroRtt"]],["impl Unpin for PathInfo",1,["iroh::magicsock::remote_map::remote_state::PathInfo"]],["impl Unpin for PathInfoList",1,["iroh::magicsock::remote_map::remote_state::PathInfoList"]],["impl Unpin for QuicTransportConfig",1,["iroh::endpoint::quic::QuicTransportConfig"]],["impl Unpin for QuicTransportConfigBuilder",1,["iroh::endpoint::quic::QuicTransportConfigBuilder"]],["impl Unpin for RemoteEndpointIdError",1,["iroh::endpoint::connection::RemoteEndpointIdError"]],["impl Unpin for RemoteInfo",1,["iroh::magicsock::remote_map::remote_state::remote_info::RemoteInfo"]],["impl Unpin for RetryError",1,["iroh::endpoint::connection::RetryError"]],["impl Unpin for ServerConfig",1,["iroh::endpoint::quic::ServerConfig"]],["impl Unpin for ServerConfigBuilder",1,["iroh::endpoint::quic::ServerConfigBuilder"]],["impl Unpin for TransportAddrInfo",1,["iroh::magicsock::remote_map::remote_state::remote_info::TransportAddrInfo"]],["impl Unpin for EndpointMetrics",1,["iroh::metrics::EndpointMetrics"]],["impl Unpin for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Unpin for Metrics",1,["iroh::net_report::metrics::Metrics"]],["impl Unpin for Router",1,["iroh::protocol::Router"]],["impl Unpin for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Unpin for Report",1,["iroh::net_report::report::Report"]],["impl Unpin for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Unpin for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Unpin for QlogFileGroup",1,["iroh::test_utils::qlog::QlogFileGroup"]],["impl<'pin, 'a> Unpin for Accept<'a>
    where\n PinnedFieldsOf<__Accept<'pin, 'a>>: Unpin,
    "],["impl<P> Unpin for AccessLimit<P>
    where\n P: Unpin,
    ",1,["iroh::protocol::AccessLimit"]],["impl<State> Unpin for Connection<State>
    where\n <State as ConnectionState>::Data: Unpin,
    ",1,["iroh::endpoint::connection::Connection"]]]],["iroh_base",[["impl Unpin for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Unpin for TransportAddr",1,["iroh_base::endpoint_addr::TransportAddr"]],["impl Unpin for EndpointAddr",1,["iroh_base::endpoint_addr::EndpointAddr"]],["impl Unpin for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Unpin for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Unpin for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Unpin for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Unpin for Signature",1,["iroh_base::key::Signature"]],["impl Unpin for SignatureError",1,["iroh_base::key::SignatureError"]]]],["iroh_bench",[["impl Unpin for Commands",1,["iroh_bench::Commands"]],["impl Unpin for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Unpin for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Unpin for Opt",1,["iroh_bench::s2n::Opt"]],["impl Unpin for Stats",1,["iroh_bench::stats::Stats"]],["impl Unpin for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Unpin for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Unpin for ClientStats",1,["iroh_bench::ClientStats"]],["impl Unpin for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Unpin for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Unpin for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Unpin for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Unpin for Config",1,["iroh_dns_server::config::Config"]],["impl Unpin for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Unpin for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Unpin for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Unpin for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Unpin for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Unpin for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Unpin for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Unpin for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Unpin for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Unpin for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Unpin for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Unpin for Server",1,["iroh_dns_server::server::Server"]],["impl Unpin for AppState",1,["iroh_dns_server::state::AppState"]],["impl Unpin for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_relay",[["impl Unpin for ConnectError",1,["iroh_relay::client::ConnectError"]],["impl Unpin for DialError",1,["iroh_relay::client::DialError"]],["impl Unpin for RecvError",1,["iroh_relay::client::conn::RecvError"]],["impl Unpin for SendError",1,["iroh_relay::client::conn::SendError"]],["impl Unpin for DnsError",1,["iroh_relay::dns::DnsError"]],["impl Unpin for DnsProtocol",1,["iroh_relay::dns::DnsProtocol"]],["impl Unpin for LookupError",1,["iroh_relay::dns::LookupError"]],["impl Unpin for DecodingError",1,["iroh_relay::endpoint_info::DecodingError"]],["impl Unpin for EncodingError",1,["iroh_relay::endpoint_info::EncodingError"]],["impl Unpin for ParseError",1,["iroh_relay::endpoint_info::ParseError"]],["impl Unpin for FrameType",1,["iroh_relay::protos::common::FrameType"]],["impl Unpin for FrameTypeError",1,["iroh_relay::protos::common::FrameTypeError"]],["impl Unpin for Error",1,["iroh_relay::protos::handshake::Error"]],["impl Unpin for ClientToRelayMsg",1,["iroh_relay::protos::relay::ClientToRelayMsg"]],["impl Unpin for Error",1,["iroh_relay::protos::relay::Error"]],["impl Unpin for RelayToClientMsg",1,["iroh_relay::protos::relay::RelayToClientMsg"]],["impl Unpin for Error",1,["iroh_relay::quic::Error"]],["impl Unpin for Access",1,["iroh_relay::server::Access"]],["impl Unpin for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl Unpin for SpawnError",1,["iroh_relay::server::SpawnError"]],["impl Unpin for SupervisorError",1,["iroh_relay::server::SupervisorError"]],["impl Unpin for Client",1,["iroh_relay::client::Client"]],["impl Unpin for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Unpin for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl Unpin for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Unpin for Builder",1,["iroh_relay::dns::Builder"]],["impl Unpin for DnsResolver",1,["iroh_relay::dns::DnsResolver"]],["impl Unpin for TxtRecordData",1,["iroh_relay::dns::TxtRecordData"]],["impl Unpin for EndpointData",1,["iroh_relay::endpoint_info::EndpointData"]],["impl Unpin for EndpointInfo",1,["iroh_relay::endpoint_info::EndpointInfo"]],["impl Unpin for MaxLengthExceededError",1,["iroh_relay::endpoint_info::MaxLengthExceededError"]],["impl Unpin for UserData",1,["iroh_relay::endpoint_info::UserData"]],["impl Unpin for Datagrams",1,["iroh_relay::protos::relay::Datagrams"]],["impl Unpin for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Unpin for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl Unpin for Limits",1,["iroh_relay::server::Limits"]],["impl Unpin for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Unpin for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Unpin for RelayMetrics",1,["iroh_relay::server::metrics::RelayMetrics"]],["impl Unpin for Server",1,["iroh_relay::server::Server"]],["impl Unpin for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl Unpin for RelayConfig",1,["iroh_relay::relay_map::RelayConfig"]],["impl Unpin for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Unpin for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<E> Unpin for StaggeredError<E>
    where\n E: Unpin,
    ",1,["iroh_relay::dns::StaggeredError"]],["impl<EC, EA> Unpin for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA> Unpin for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA> Unpin for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA> Unpin for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Unpin for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[21716,2795,2742,5960,16594]} \ No newline at end of file +//{"start":57,"fragment_lengths":[23236,2795,2742,5960,16594]} \ No newline at end of file diff --git a/pr/3734/docs/trait.impl/core/marker/trait.UnsafeUnpin.js b/pr/3734/docs/trait.impl/core/marker/trait.UnsafeUnpin.js index c0e358cb59..48e6817d35 100644 --- a/pr/3734/docs/trait.impl/core/marker/trait.UnsafeUnpin.js +++ b/pr/3734/docs/trait.impl/core/marker/trait.UnsafeUnpin.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl UnsafeUnpin for DiscoveryError",1,["iroh::discovery::DiscoveryError"]],["impl UnsafeUnpin for IntoDiscoveryError",1,["iroh::discovery::IntoDiscoveryError"]],["impl UnsafeUnpin for DiscoveryEvent",1,["iroh::discovery::mdns::DiscoveryEvent"]],["impl UnsafeUnpin for PkarrError",1,["iroh::discovery::pkarr::PkarrError"]],["impl UnsafeUnpin for AfterHandshakeOutcome",1,["iroh::endpoint::hooks::AfterHandshakeOutcome"]],["impl UnsafeUnpin for AlpnError",1,["iroh::endpoint::connection::AlpnError"]],["impl UnsafeUnpin for AuthenticationError",1,["iroh::endpoint::connection::AuthenticationError"]],["impl UnsafeUnpin for BeforeConnectOutcome",1,["iroh::endpoint::hooks::BeforeConnectOutcome"]],["impl UnsafeUnpin for BindError",1,["iroh::endpoint::BindError"]],["impl UnsafeUnpin for ConnectError",1,["iroh::endpoint::ConnectError"]],["impl UnsafeUnpin for ConnectWithOptsError",1,["iroh::endpoint::ConnectWithOptsError"]],["impl UnsafeUnpin for ConnectingError",1,["iroh::endpoint::connection::ConnectingError"]],["impl UnsafeUnpin for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl UnsafeUnpin for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl UnsafeUnpin for Source",1,["iroh::magicsock::remote_map::Source"]],["impl UnsafeUnpin for TransportConfig",1,["iroh::magicsock::transports::TransportConfig"]],["impl UnsafeUnpin for ZeroRttStatus",1,["iroh::endpoint::connection::ZeroRttStatus"]],["impl UnsafeUnpin for Probe",1,["iroh::net_report::probes::Probe"]],["impl UnsafeUnpin for AcceptError",1,["iroh::protocol::AcceptError"]],["impl UnsafeUnpin for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl UnsafeUnpin for DnsDiscoveryBuilder",1,["iroh::discovery::dns::DnsDiscoveryBuilder"]],["impl UnsafeUnpin for MdnsDiscovery",1,["iroh::discovery::mdns::MdnsDiscovery"]],["impl UnsafeUnpin for MdnsDiscoveryBuilder",1,["iroh::discovery::mdns::MdnsDiscoveryBuilder"]],["impl UnsafeUnpin for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl UnsafeUnpin for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl UnsafeUnpin for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl UnsafeUnpin for PkarrPublisherBuilder",1,["iroh::discovery::pkarr::PkarrPublisherBuilder"]],["impl UnsafeUnpin for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl UnsafeUnpin for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl UnsafeUnpin for PkarrResolverBuilder",1,["iroh::discovery::pkarr::PkarrResolverBuilder"]],["impl UnsafeUnpin for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl UnsafeUnpin for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl UnsafeUnpin for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl UnsafeUnpin for N0",1,["iroh::endpoint::presets::N0"]],["impl UnsafeUnpin for Accepting",1,["iroh::endpoint::connection::Accepting"]],["impl UnsafeUnpin for Builder",1,["iroh::endpoint::Builder"]],["impl UnsafeUnpin for ConnectOptions",1,["iroh::endpoint::ConnectOptions"]],["impl UnsafeUnpin for Connecting",1,["iroh::endpoint::connection::Connecting"]],["impl UnsafeUnpin for ConnectionInfo",1,["iroh::endpoint::connection::ConnectionInfo"]],["impl UnsafeUnpin for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl UnsafeUnpin for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl UnsafeUnpin for HandshakeCompleted",1,["iroh::endpoint::connection::HandshakeCompleted"]],["impl UnsafeUnpin for Incoming",1,["iroh::endpoint::connection::Incoming"]],["impl UnsafeUnpin for IncomingZeroRtt",1,["iroh::endpoint::connection::IncomingZeroRtt"]],["impl UnsafeUnpin for OutgoingZeroRtt",1,["iroh::endpoint::connection::OutgoingZeroRtt"]],["impl UnsafeUnpin for PathInfo",1,["iroh::magicsock::remote_map::remote_state::PathInfo"]],["impl UnsafeUnpin for PathInfoList",1,["iroh::magicsock::remote_map::remote_state::PathInfoList"]],["impl UnsafeUnpin for QuicTransportConfig",1,["iroh::endpoint::quic::QuicTransportConfig"]],["impl UnsafeUnpin for RemoteEndpointIdError",1,["iroh::endpoint::connection::RemoteEndpointIdError"]],["impl UnsafeUnpin for EndpointMetrics",1,["iroh::metrics::EndpointMetrics"]],["impl UnsafeUnpin for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl UnsafeUnpin for Metrics",1,["iroh::net_report::metrics::Metrics"]],["impl UnsafeUnpin for Options",1,["iroh::net_report::options::imp::Options"]],["impl UnsafeUnpin for QuicConfig",1,["iroh::net_report::reportgen::QuicConfig"]],["impl UnsafeUnpin for RelayLatencies",1,["iroh::net_report::report::RelayLatencies"]],["impl UnsafeUnpin for Report",1,["iroh::net_report::report::Report"]],["impl UnsafeUnpin for Router",1,["iroh::protocol::Router"]],["impl UnsafeUnpin for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl UnsafeUnpin for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl UnsafeUnpin for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl<'a> !UnsafeUnpin for Accept<'a>",1,["iroh::endpoint::connection::Accept"]],["impl<P> UnsafeUnpin for AccessLimit<P>
    where\n P: UnsafeUnpin,
    ",1,["iroh::protocol::AccessLimit"]],["impl<State> UnsafeUnpin for Connection<State>
    where\n <State as ConnectionState>::Data: UnsafeUnpin,
    ",1,["iroh::endpoint::connection::Connection"]]]],["iroh_base",[["impl UnsafeUnpin for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl UnsafeUnpin for TransportAddr",1,["iroh_base::endpoint_addr::TransportAddr"]],["impl UnsafeUnpin for EndpointAddr",1,["iroh_base::endpoint_addr::EndpointAddr"]],["impl UnsafeUnpin for PublicKey",1,["iroh_base::key::PublicKey"]],["impl UnsafeUnpin for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl UnsafeUnpin for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl UnsafeUnpin for SecretKey",1,["iroh_base::key::SecretKey"]],["impl UnsafeUnpin for Signature",1,["iroh_base::key::Signature"]],["impl UnsafeUnpin for SignatureError",1,["iroh_base::key::SignatureError"]]]],["iroh_bench",[["impl UnsafeUnpin for Commands",1,["iroh_bench::Commands"]],["impl UnsafeUnpin for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl UnsafeUnpin for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl UnsafeUnpin for Opt",1,["iroh_bench::s2n::Opt"]],["impl UnsafeUnpin for Stats",1,["iroh_bench::stats::Stats"]],["impl UnsafeUnpin for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl UnsafeUnpin for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl UnsafeUnpin for ClientStats",1,["iroh_bench::ClientStats"]],["impl UnsafeUnpin for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl UnsafeUnpin for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl UnsafeUnpin for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl UnsafeUnpin for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl UnsafeUnpin for Config",1,["iroh_dns_server::config::Config"]],["impl UnsafeUnpin for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl UnsafeUnpin for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl UnsafeUnpin for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl UnsafeUnpin for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl UnsafeUnpin for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl UnsafeUnpin for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl UnsafeUnpin for Handle",1,["iroh_dns_server::dns::Handle"]],["impl UnsafeUnpin for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl UnsafeUnpin for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl UnsafeUnpin for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl UnsafeUnpin for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl UnsafeUnpin for Server",1,["iroh_dns_server::server::Server"]],["impl UnsafeUnpin for AppState",1,["iroh_dns_server::state::AppState"]],["impl UnsafeUnpin for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_relay",[["impl UnsafeUnpin for ConnectError",1,["iroh_relay::client::ConnectError"]],["impl UnsafeUnpin for DialError",1,["iroh_relay::client::DialError"]],["impl UnsafeUnpin for RecvError",1,["iroh_relay::client::conn::RecvError"]],["impl UnsafeUnpin for SendError",1,["iroh_relay::client::conn::SendError"]],["impl UnsafeUnpin for DnsError",1,["iroh_relay::dns::DnsError"]],["impl UnsafeUnpin for DnsProtocol",1,["iroh_relay::dns::DnsProtocol"]],["impl UnsafeUnpin for LookupError",1,["iroh_relay::dns::LookupError"]],["impl UnsafeUnpin for DecodingError",1,["iroh_relay::endpoint_info::DecodingError"]],["impl UnsafeUnpin for EncodingError",1,["iroh_relay::endpoint_info::EncodingError"]],["impl UnsafeUnpin for ParseError",1,["iroh_relay::endpoint_info::ParseError"]],["impl UnsafeUnpin for FrameType",1,["iroh_relay::protos::common::FrameType"]],["impl UnsafeUnpin for FrameTypeError",1,["iroh_relay::protos::common::FrameTypeError"]],["impl UnsafeUnpin for Error",1,["iroh_relay::protos::handshake::Error"]],["impl UnsafeUnpin for ClientToRelayMsg",1,["iroh_relay::protos::relay::ClientToRelayMsg"]],["impl UnsafeUnpin for Error",1,["iroh_relay::protos::relay::Error"]],["impl UnsafeUnpin for RelayToClientMsg",1,["iroh_relay::protos::relay::RelayToClientMsg"]],["impl UnsafeUnpin for Error",1,["iroh_relay::quic::Error"]],["impl UnsafeUnpin for Access",1,["iroh_relay::server::Access"]],["impl UnsafeUnpin for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl UnsafeUnpin for SpawnError",1,["iroh_relay::server::SpawnError"]],["impl UnsafeUnpin for SupervisorError",1,["iroh_relay::server::SupervisorError"]],["impl UnsafeUnpin for Client",1,["iroh_relay::client::Client"]],["impl UnsafeUnpin for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl UnsafeUnpin for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl UnsafeUnpin for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl UnsafeUnpin for Builder",1,["iroh_relay::dns::Builder"]],["impl UnsafeUnpin for DnsResolver",1,["iroh_relay::dns::DnsResolver"]],["impl UnsafeUnpin for TxtRecordData",1,["iroh_relay::dns::TxtRecordData"]],["impl UnsafeUnpin for EndpointData",1,["iroh_relay::endpoint_info::EndpointData"]],["impl UnsafeUnpin for EndpointInfo",1,["iroh_relay::endpoint_info::EndpointInfo"]],["impl UnsafeUnpin for MaxLengthExceededError",1,["iroh_relay::endpoint_info::MaxLengthExceededError"]],["impl UnsafeUnpin for UserData",1,["iroh_relay::endpoint_info::UserData"]],["impl UnsafeUnpin for Datagrams",1,["iroh_relay::protos::relay::Datagrams"]],["impl UnsafeUnpin for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl UnsafeUnpin for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl UnsafeUnpin for Limits",1,["iroh_relay::server::Limits"]],["impl UnsafeUnpin for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl UnsafeUnpin for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl UnsafeUnpin for RelayMetrics",1,["iroh_relay::server::metrics::RelayMetrics"]],["impl UnsafeUnpin for Server",1,["iroh_relay::server::Server"]],["impl UnsafeUnpin for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl UnsafeUnpin for RelayConfig",1,["iroh_relay::relay_map::RelayConfig"]],["impl UnsafeUnpin for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl UnsafeUnpin for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<E> UnsafeUnpin for StaggeredError<E>",1,["iroh_relay::dns::StaggeredError"]],["impl<EC, EA> UnsafeUnpin for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA> UnsafeUnpin for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA> UnsafeUnpin for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA> UnsafeUnpin for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> UnsafeUnpin for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); + var implementors = Object.fromEntries([["iroh",[["impl UnsafeUnpin for DiscoveryError",1,["iroh::discovery::DiscoveryError"]],["impl UnsafeUnpin for IntoDiscoveryError",1,["iroh::discovery::IntoDiscoveryError"]],["impl UnsafeUnpin for DiscoveryEvent",1,["iroh::discovery::mdns::DiscoveryEvent"]],["impl UnsafeUnpin for PkarrError",1,["iroh::discovery::pkarr::PkarrError"]],["impl UnsafeUnpin for AfterHandshakeOutcome",1,["iroh::endpoint::hooks::AfterHandshakeOutcome"]],["impl UnsafeUnpin for AlpnError",1,["iroh::endpoint::connection::AlpnError"]],["impl UnsafeUnpin for AuthenticationError",1,["iroh::endpoint::connection::AuthenticationError"]],["impl UnsafeUnpin for BeforeConnectOutcome",1,["iroh::endpoint::hooks::BeforeConnectOutcome"]],["impl UnsafeUnpin for BindError",1,["iroh::endpoint::BindError"]],["impl UnsafeUnpin for ConnectError",1,["iroh::endpoint::ConnectError"]],["impl UnsafeUnpin for ConnectWithOptsError",1,["iroh::endpoint::ConnectWithOptsError"]],["impl UnsafeUnpin for ConnectingError",1,["iroh::endpoint::connection::ConnectingError"]],["impl UnsafeUnpin for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl UnsafeUnpin for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl UnsafeUnpin for Source",1,["iroh::magicsock::remote_map::Source"]],["impl UnsafeUnpin for TransportAddrUsage",1,["iroh::magicsock::remote_map::remote_state::remote_info::TransportAddrUsage"]],["impl UnsafeUnpin for TransportConfig",1,["iroh::magicsock::transports::TransportConfig"]],["impl UnsafeUnpin for ZeroRttStatus",1,["iroh::endpoint::connection::ZeroRttStatus"]],["impl UnsafeUnpin for AcceptError",1,["iroh::protocol::AcceptError"]],["impl UnsafeUnpin for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl UnsafeUnpin for DnsDiscoveryBuilder",1,["iroh::discovery::dns::DnsDiscoveryBuilder"]],["impl UnsafeUnpin for MdnsDiscovery",1,["iroh::discovery::mdns::MdnsDiscovery"]],["impl UnsafeUnpin for MdnsDiscoveryBuilder",1,["iroh::discovery::mdns::MdnsDiscoveryBuilder"]],["impl UnsafeUnpin for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl UnsafeUnpin for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl UnsafeUnpin for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl UnsafeUnpin for PkarrPublisherBuilder",1,["iroh::discovery::pkarr::PkarrPublisherBuilder"]],["impl UnsafeUnpin for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl UnsafeUnpin for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl UnsafeUnpin for PkarrResolverBuilder",1,["iroh::discovery::pkarr::PkarrResolverBuilder"]],["impl UnsafeUnpin for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl UnsafeUnpin for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl UnsafeUnpin for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl UnsafeUnpin for N0",1,["iroh::endpoint::presets::N0"]],["impl UnsafeUnpin for Accepting",1,["iroh::endpoint::connection::Accepting"]],["impl UnsafeUnpin for Builder",1,["iroh::endpoint::Builder"]],["impl UnsafeUnpin for ConnectOptions",1,["iroh::endpoint::ConnectOptions"]],["impl UnsafeUnpin for Connecting",1,["iroh::endpoint::connection::Connecting"]],["impl UnsafeUnpin for ConnectionInfo",1,["iroh::endpoint::connection::ConnectionInfo"]],["impl UnsafeUnpin for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl UnsafeUnpin for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl UnsafeUnpin for HandshakeCompleted",1,["iroh::endpoint::connection::HandshakeCompleted"]],["impl UnsafeUnpin for Incoming",1,["iroh::endpoint::connection::Incoming"]],["impl UnsafeUnpin for IncomingZeroRtt",1,["iroh::endpoint::connection::IncomingZeroRtt"]],["impl UnsafeUnpin for OutgoingZeroRtt",1,["iroh::endpoint::connection::OutgoingZeroRtt"]],["impl UnsafeUnpin for PathInfo",1,["iroh::magicsock::remote_map::remote_state::PathInfo"]],["impl UnsafeUnpin for PathInfoList",1,["iroh::magicsock::remote_map::remote_state::PathInfoList"]],["impl UnsafeUnpin for QuicTransportConfig",1,["iroh::endpoint::quic::QuicTransportConfig"]],["impl UnsafeUnpin for QuicTransportConfigBuilder",1,["iroh::endpoint::quic::QuicTransportConfigBuilder"]],["impl UnsafeUnpin for RemoteEndpointIdError",1,["iroh::endpoint::connection::RemoteEndpointIdError"]],["impl UnsafeUnpin for RemoteInfo",1,["iroh::magicsock::remote_map::remote_state::remote_info::RemoteInfo"]],["impl UnsafeUnpin for RetryError",1,["iroh::endpoint::connection::RetryError"]],["impl UnsafeUnpin for ServerConfig",1,["iroh::endpoint::quic::ServerConfig"]],["impl UnsafeUnpin for ServerConfigBuilder",1,["iroh::endpoint::quic::ServerConfigBuilder"]],["impl UnsafeUnpin for TransportAddrInfo",1,["iroh::magicsock::remote_map::remote_state::remote_info::TransportAddrInfo"]],["impl UnsafeUnpin for EndpointMetrics",1,["iroh::metrics::EndpointMetrics"]],["impl UnsafeUnpin for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl UnsafeUnpin for Metrics",1,["iroh::net_report::metrics::Metrics"]],["impl UnsafeUnpin for Router",1,["iroh::protocol::Router"]],["impl UnsafeUnpin for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl UnsafeUnpin for Report",1,["iroh::net_report::report::Report"]],["impl UnsafeUnpin for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl UnsafeUnpin for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl UnsafeUnpin for QlogFileGroup",1,["iroh::test_utils::qlog::QlogFileGroup"]],["impl<'a> !UnsafeUnpin for Accept<'a>",1,["iroh::endpoint::connection::Accept"]],["impl<P> UnsafeUnpin for AccessLimit<P>
    where\n P: UnsafeUnpin,
    ",1,["iroh::protocol::AccessLimit"]],["impl<State> UnsafeUnpin for Connection<State>
    where\n <State as ConnectionState>::Data: UnsafeUnpin,
    ",1,["iroh::endpoint::connection::Connection"]]]],["iroh_base",[["impl UnsafeUnpin for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl UnsafeUnpin for TransportAddr",1,["iroh_base::endpoint_addr::TransportAddr"]],["impl UnsafeUnpin for EndpointAddr",1,["iroh_base::endpoint_addr::EndpointAddr"]],["impl UnsafeUnpin for PublicKey",1,["iroh_base::key::PublicKey"]],["impl UnsafeUnpin for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl UnsafeUnpin for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl UnsafeUnpin for SecretKey",1,["iroh_base::key::SecretKey"]],["impl UnsafeUnpin for Signature",1,["iroh_base::key::Signature"]],["impl UnsafeUnpin for SignatureError",1,["iroh_base::key::SignatureError"]]]],["iroh_bench",[["impl UnsafeUnpin for Commands",1,["iroh_bench::Commands"]],["impl UnsafeUnpin for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl UnsafeUnpin for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl UnsafeUnpin for Opt",1,["iroh_bench::s2n::Opt"]],["impl UnsafeUnpin for Stats",1,["iroh_bench::stats::Stats"]],["impl UnsafeUnpin for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl UnsafeUnpin for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl UnsafeUnpin for ClientStats",1,["iroh_bench::ClientStats"]],["impl UnsafeUnpin for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl UnsafeUnpin for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl UnsafeUnpin for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl UnsafeUnpin for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl UnsafeUnpin for Config",1,["iroh_dns_server::config::Config"]],["impl UnsafeUnpin for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl UnsafeUnpin for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl UnsafeUnpin for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl UnsafeUnpin for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl UnsafeUnpin for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl UnsafeUnpin for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl UnsafeUnpin for Handle",1,["iroh_dns_server::dns::Handle"]],["impl UnsafeUnpin for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl UnsafeUnpin for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl UnsafeUnpin for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl UnsafeUnpin for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl UnsafeUnpin for Server",1,["iroh_dns_server::server::Server"]],["impl UnsafeUnpin for AppState",1,["iroh_dns_server::state::AppState"]],["impl UnsafeUnpin for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_relay",[["impl UnsafeUnpin for ConnectError",1,["iroh_relay::client::ConnectError"]],["impl UnsafeUnpin for DialError",1,["iroh_relay::client::DialError"]],["impl UnsafeUnpin for RecvError",1,["iroh_relay::client::conn::RecvError"]],["impl UnsafeUnpin for SendError",1,["iroh_relay::client::conn::SendError"]],["impl UnsafeUnpin for DnsError",1,["iroh_relay::dns::DnsError"]],["impl UnsafeUnpin for DnsProtocol",1,["iroh_relay::dns::DnsProtocol"]],["impl UnsafeUnpin for LookupError",1,["iroh_relay::dns::LookupError"]],["impl UnsafeUnpin for DecodingError",1,["iroh_relay::endpoint_info::DecodingError"]],["impl UnsafeUnpin for EncodingError",1,["iroh_relay::endpoint_info::EncodingError"]],["impl UnsafeUnpin for ParseError",1,["iroh_relay::endpoint_info::ParseError"]],["impl UnsafeUnpin for FrameType",1,["iroh_relay::protos::common::FrameType"]],["impl UnsafeUnpin for FrameTypeError",1,["iroh_relay::protos::common::FrameTypeError"]],["impl UnsafeUnpin for Error",1,["iroh_relay::protos::handshake::Error"]],["impl UnsafeUnpin for ClientToRelayMsg",1,["iroh_relay::protos::relay::ClientToRelayMsg"]],["impl UnsafeUnpin for Error",1,["iroh_relay::protos::relay::Error"]],["impl UnsafeUnpin for RelayToClientMsg",1,["iroh_relay::protos::relay::RelayToClientMsg"]],["impl UnsafeUnpin for Error",1,["iroh_relay::quic::Error"]],["impl UnsafeUnpin for Access",1,["iroh_relay::server::Access"]],["impl UnsafeUnpin for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl UnsafeUnpin for SpawnError",1,["iroh_relay::server::SpawnError"]],["impl UnsafeUnpin for SupervisorError",1,["iroh_relay::server::SupervisorError"]],["impl UnsafeUnpin for Client",1,["iroh_relay::client::Client"]],["impl UnsafeUnpin for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl UnsafeUnpin for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl UnsafeUnpin for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl UnsafeUnpin for Builder",1,["iroh_relay::dns::Builder"]],["impl UnsafeUnpin for DnsResolver",1,["iroh_relay::dns::DnsResolver"]],["impl UnsafeUnpin for TxtRecordData",1,["iroh_relay::dns::TxtRecordData"]],["impl UnsafeUnpin for EndpointData",1,["iroh_relay::endpoint_info::EndpointData"]],["impl UnsafeUnpin for EndpointInfo",1,["iroh_relay::endpoint_info::EndpointInfo"]],["impl UnsafeUnpin for MaxLengthExceededError",1,["iroh_relay::endpoint_info::MaxLengthExceededError"]],["impl UnsafeUnpin for UserData",1,["iroh_relay::endpoint_info::UserData"]],["impl UnsafeUnpin for Datagrams",1,["iroh_relay::protos::relay::Datagrams"]],["impl UnsafeUnpin for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl UnsafeUnpin for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl UnsafeUnpin for Limits",1,["iroh_relay::server::Limits"]],["impl UnsafeUnpin for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl UnsafeUnpin for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl UnsafeUnpin for RelayMetrics",1,["iroh_relay::server::metrics::RelayMetrics"]],["impl UnsafeUnpin for Server",1,["iroh_relay::server::Server"]],["impl UnsafeUnpin for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl UnsafeUnpin for RelayConfig",1,["iroh_relay::relay_map::RelayConfig"]],["impl UnsafeUnpin for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl UnsafeUnpin for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<E> UnsafeUnpin for StaggeredError<E>",1,["iroh_relay::dns::StaggeredError"]],["impl<EC, EA> UnsafeUnpin for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA> UnsafeUnpin for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA> UnsafeUnpin for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA> UnsafeUnpin for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> UnsafeUnpin for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13404,1670,1617,3710,10166]} \ No newline at end of file +//{"start":57,"fragment_lengths":[14424,1670,1617,3710,10166]} \ No newline at end of file diff --git a/pr/3734/docs/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js b/pr/3734/docs/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js index 1a251f8c54..1491a708aa 100644 --- a/pr/3734/docs/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js +++ b/pr/3734/docs/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl !RefUnwindSafe for DiscoveryError",1,["iroh::discovery::DiscoveryError"]],["impl !RefUnwindSafe for IntoDiscoveryError",1,["iroh::discovery::IntoDiscoveryError"]],["impl !RefUnwindSafe for PkarrError",1,["iroh::discovery::pkarr::PkarrError"]],["impl !RefUnwindSafe for AlpnError",1,["iroh::endpoint::connection::AlpnError"]],["impl !RefUnwindSafe for BindError",1,["iroh::endpoint::BindError"]],["impl !RefUnwindSafe for ConnectError",1,["iroh::endpoint::ConnectError"]],["impl !RefUnwindSafe for ConnectWithOptsError",1,["iroh::endpoint::ConnectWithOptsError"]],["impl !RefUnwindSafe for ConnectingError",1,["iroh::endpoint::connection::ConnectingError"]],["impl !RefUnwindSafe for ZeroRttStatus",1,["iroh::endpoint::connection::ZeroRttStatus"]],["impl !RefUnwindSafe for AcceptError",1,["iroh::protocol::AcceptError"]],["impl !RefUnwindSafe for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl !RefUnwindSafe for DnsDiscoveryBuilder",1,["iroh::discovery::dns::DnsDiscoveryBuilder"]],["impl !RefUnwindSafe for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl !RefUnwindSafe for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl !RefUnwindSafe for PkarrPublisherBuilder",1,["iroh::discovery::pkarr::PkarrPublisherBuilder"]],["impl !RefUnwindSafe for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl !RefUnwindSafe for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl !RefUnwindSafe for PkarrResolverBuilder",1,["iroh::discovery::pkarr::PkarrResolverBuilder"]],["impl !RefUnwindSafe for Accepting",1,["iroh::endpoint::connection::Accepting"]],["impl !RefUnwindSafe for Builder",1,["iroh::endpoint::Builder"]],["impl !RefUnwindSafe for ConnectOptions",1,["iroh::endpoint::ConnectOptions"]],["impl !RefUnwindSafe for Connecting",1,["iroh::endpoint::connection::Connecting"]],["impl !RefUnwindSafe for ConnectionInfo",1,["iroh::endpoint::connection::ConnectionInfo"]],["impl !RefUnwindSafe for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl !RefUnwindSafe for Incoming",1,["iroh::endpoint::connection::Incoming"]],["impl !RefUnwindSafe for QuicTransportConfig",1,["iroh::endpoint::quic::QuicTransportConfig"]],["impl !RefUnwindSafe for Options",1,["iroh::net_report::options::imp::Options"]],["impl !RefUnwindSafe for QuicConfig",1,["iroh::net_report::reportgen::QuicConfig"]],["impl !RefUnwindSafe for Router",1,["iroh::protocol::Router"]],["impl !RefUnwindSafe for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl !RefUnwindSafe for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl !RefUnwindSafe for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl RefUnwindSafe for DiscoveryEvent",1,["iroh::discovery::mdns::DiscoveryEvent"]],["impl RefUnwindSafe for AfterHandshakeOutcome",1,["iroh::endpoint::hooks::AfterHandshakeOutcome"]],["impl RefUnwindSafe for AuthenticationError",1,["iroh::endpoint::connection::AuthenticationError"]],["impl RefUnwindSafe for BeforeConnectOutcome",1,["iroh::endpoint::hooks::BeforeConnectOutcome"]],["impl RefUnwindSafe for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl RefUnwindSafe for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl RefUnwindSafe for Source",1,["iroh::magicsock::remote_map::Source"]],["impl RefUnwindSafe for TransportConfig",1,["iroh::magicsock::transports::TransportConfig"]],["impl RefUnwindSafe for Probe",1,["iroh::net_report::probes::Probe"]],["impl RefUnwindSafe for MdnsDiscovery",1,["iroh::discovery::mdns::MdnsDiscovery"]],["impl RefUnwindSafe for MdnsDiscoveryBuilder",1,["iroh::discovery::mdns::MdnsDiscoveryBuilder"]],["impl RefUnwindSafe for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl RefUnwindSafe for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl RefUnwindSafe for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl RefUnwindSafe for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl RefUnwindSafe for N0",1,["iroh::endpoint::presets::N0"]],["impl RefUnwindSafe for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl RefUnwindSafe for HandshakeCompleted",1,["iroh::endpoint::connection::HandshakeCompleted"]],["impl RefUnwindSafe for IncomingZeroRtt",1,["iroh::endpoint::connection::IncomingZeroRtt"]],["impl RefUnwindSafe for OutgoingZeroRtt",1,["iroh::endpoint::connection::OutgoingZeroRtt"]],["impl RefUnwindSafe for PathInfo",1,["iroh::magicsock::remote_map::remote_state::PathInfo"]],["impl RefUnwindSafe for PathInfoList",1,["iroh::magicsock::remote_map::remote_state::PathInfoList"]],["impl RefUnwindSafe for RemoteEndpointIdError",1,["iroh::endpoint::connection::RemoteEndpointIdError"]],["impl RefUnwindSafe for EndpointMetrics",1,["iroh::metrics::EndpointMetrics"]],["impl RefUnwindSafe for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl RefUnwindSafe for Metrics",1,["iroh::net_report::metrics::Metrics"]],["impl RefUnwindSafe for RelayLatencies",1,["iroh::net_report::report::RelayLatencies"]],["impl RefUnwindSafe for Report",1,["iroh::net_report::report::Report"]],["impl<'a> !RefUnwindSafe for Accept<'a>",1,["iroh::endpoint::connection::Accept"]],["impl<P> !RefUnwindSafe for AccessLimit<P>",1,["iroh::protocol::AccessLimit"]],["impl<State> RefUnwindSafe for Connection<State>
    where\n <State as ConnectionState>::Data: RefUnwindSafe,
    ",1,["iroh::endpoint::connection::Connection"]]]],["iroh_base",[["impl !RefUnwindSafe for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl RefUnwindSafe for TransportAddr",1,["iroh_base::endpoint_addr::TransportAddr"]],["impl RefUnwindSafe for EndpointAddr",1,["iroh_base::endpoint_addr::EndpointAddr"]],["impl RefUnwindSafe for PublicKey",1,["iroh_base::key::PublicKey"]],["impl RefUnwindSafe for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl RefUnwindSafe for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl RefUnwindSafe for SecretKey",1,["iroh_base::key::SecretKey"]],["impl RefUnwindSafe for Signature",1,["iroh_base::key::Signature"]],["impl RefUnwindSafe for SignatureError",1,["iroh_base::key::SignatureError"]]]],["iroh_bench",[["impl !RefUnwindSafe for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl !RefUnwindSafe for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl RefUnwindSafe for Commands",1,["iroh_bench::Commands"]],["impl RefUnwindSafe for Opt",1,["iroh_bench::s2n::Opt"]],["impl RefUnwindSafe for Stats",1,["iroh_bench::stats::Stats"]],["impl RefUnwindSafe for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl RefUnwindSafe for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl RefUnwindSafe for ClientStats",1,["iroh_bench::ClientStats"]],["impl RefUnwindSafe for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl !RefUnwindSafe for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl !RefUnwindSafe for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl !RefUnwindSafe for Handle",1,["iroh_dns_server::dns::Handle"]],["impl !RefUnwindSafe for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl !RefUnwindSafe for Server",1,["iroh_dns_server::server::Server"]],["impl !RefUnwindSafe for AppState",1,["iroh_dns_server::state::AppState"]],["impl !RefUnwindSafe for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]],["impl RefUnwindSafe for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl RefUnwindSafe for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl RefUnwindSafe for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl RefUnwindSafe for Config",1,["iroh_dns_server::config::Config"]],["impl RefUnwindSafe for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl RefUnwindSafe for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl RefUnwindSafe for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl RefUnwindSafe for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl RefUnwindSafe for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl RefUnwindSafe for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl RefUnwindSafe for Metrics",1,["iroh_dns_server::metrics::Metrics"]]]],["iroh_relay",[["impl !RefUnwindSafe for ConnectError",1,["iroh_relay::client::ConnectError"]],["impl !RefUnwindSafe for DialError",1,["iroh_relay::client::DialError"]],["impl !RefUnwindSafe for RecvError",1,["iroh_relay::client::conn::RecvError"]],["impl !RefUnwindSafe for SendError",1,["iroh_relay::client::conn::SendError"]],["impl !RefUnwindSafe for DnsError",1,["iroh_relay::dns::DnsError"]],["impl !RefUnwindSafe for LookupError",1,["iroh_relay::dns::LookupError"]],["impl !RefUnwindSafe for DecodingError",1,["iroh_relay::endpoint_info::DecodingError"]],["impl !RefUnwindSafe for ParseError",1,["iroh_relay::endpoint_info::ParseError"]],["impl !RefUnwindSafe for Error",1,["iroh_relay::protos::handshake::Error"]],["impl !RefUnwindSafe for Error",1,["iroh_relay::protos::relay::Error"]],["impl !RefUnwindSafe for Error",1,["iroh_relay::quic::Error"]],["impl !RefUnwindSafe for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl !RefUnwindSafe for SpawnError",1,["iroh_relay::server::SpawnError"]],["impl !RefUnwindSafe for SupervisorError",1,["iroh_relay::server::SupervisorError"]],["impl !RefUnwindSafe for Client",1,["iroh_relay::client::Client"]],["impl !RefUnwindSafe for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl !RefUnwindSafe for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl !RefUnwindSafe for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl !RefUnwindSafe for DnsResolver",1,["iroh_relay::dns::DnsResolver"]],["impl !RefUnwindSafe for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl !RefUnwindSafe for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl RefUnwindSafe for DnsProtocol",1,["iroh_relay::dns::DnsProtocol"]],["impl RefUnwindSafe for EncodingError",1,["iroh_relay::endpoint_info::EncodingError"]],["impl RefUnwindSafe for FrameType",1,["iroh_relay::protos::common::FrameType"]],["impl RefUnwindSafe for FrameTypeError",1,["iroh_relay::protos::common::FrameTypeError"]],["impl RefUnwindSafe for ClientToRelayMsg",1,["iroh_relay::protos::relay::ClientToRelayMsg"]],["impl RefUnwindSafe for RelayToClientMsg",1,["iroh_relay::protos::relay::RelayToClientMsg"]],["impl RefUnwindSafe for Access",1,["iroh_relay::server::Access"]],["impl RefUnwindSafe for Builder",1,["iroh_relay::dns::Builder"]],["impl RefUnwindSafe for TxtRecordData",1,["iroh_relay::dns::TxtRecordData"]],["impl RefUnwindSafe for EndpointData",1,["iroh_relay::endpoint_info::EndpointData"]],["impl RefUnwindSafe for EndpointInfo",1,["iroh_relay::endpoint_info::EndpointInfo"]],["impl RefUnwindSafe for MaxLengthExceededError",1,["iroh_relay::endpoint_info::MaxLengthExceededError"]],["impl RefUnwindSafe for UserData",1,["iroh_relay::endpoint_info::UserData"]],["impl RefUnwindSafe for Datagrams",1,["iroh_relay::protos::relay::Datagrams"]],["impl RefUnwindSafe for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl RefUnwindSafe for Limits",1,["iroh_relay::server::Limits"]],["impl RefUnwindSafe for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl RefUnwindSafe for RelayMetrics",1,["iroh_relay::server::metrics::RelayMetrics"]],["impl RefUnwindSafe for Server",1,["iroh_relay::server::Server"]],["impl RefUnwindSafe for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl RefUnwindSafe for RelayConfig",1,["iroh_relay::relay_map::RelayConfig"]],["impl RefUnwindSafe for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl RefUnwindSafe for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<E> RefUnwindSafe for StaggeredError<E>
    where\n E: RefUnwindSafe,
    ",1,["iroh_relay::dns::StaggeredError"]],["impl<EC, EA = EC> !RefUnwindSafe for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> !RefUnwindSafe for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); + var implementors = Object.fromEntries([["iroh",[["impl !RefUnwindSafe for DiscoveryError",1,["iroh::discovery::DiscoveryError"]],["impl !RefUnwindSafe for IntoDiscoveryError",1,["iroh::discovery::IntoDiscoveryError"]],["impl !RefUnwindSafe for PkarrError",1,["iroh::discovery::pkarr::PkarrError"]],["impl !RefUnwindSafe for AlpnError",1,["iroh::endpoint::connection::AlpnError"]],["impl !RefUnwindSafe for BindError",1,["iroh::endpoint::BindError"]],["impl !RefUnwindSafe for ConnectError",1,["iroh::endpoint::ConnectError"]],["impl !RefUnwindSafe for ConnectWithOptsError",1,["iroh::endpoint::ConnectWithOptsError"]],["impl !RefUnwindSafe for ConnectingError",1,["iroh::endpoint::connection::ConnectingError"]],["impl !RefUnwindSafe for ZeroRttStatus",1,["iroh::endpoint::connection::ZeroRttStatus"]],["impl !RefUnwindSafe for AcceptError",1,["iroh::protocol::AcceptError"]],["impl !RefUnwindSafe for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl !RefUnwindSafe for DnsDiscoveryBuilder",1,["iroh::discovery::dns::DnsDiscoveryBuilder"]],["impl !RefUnwindSafe for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl !RefUnwindSafe for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl !RefUnwindSafe for PkarrPublisherBuilder",1,["iroh::discovery::pkarr::PkarrPublisherBuilder"]],["impl !RefUnwindSafe for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl !RefUnwindSafe for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl !RefUnwindSafe for PkarrResolverBuilder",1,["iroh::discovery::pkarr::PkarrResolverBuilder"]],["impl !RefUnwindSafe for Accepting",1,["iroh::endpoint::connection::Accepting"]],["impl !RefUnwindSafe for Builder",1,["iroh::endpoint::Builder"]],["impl !RefUnwindSafe for ConnectOptions",1,["iroh::endpoint::ConnectOptions"]],["impl !RefUnwindSafe for Connecting",1,["iroh::endpoint::connection::Connecting"]],["impl !RefUnwindSafe for ConnectionInfo",1,["iroh::endpoint::connection::ConnectionInfo"]],["impl !RefUnwindSafe for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl !RefUnwindSafe for Incoming",1,["iroh::endpoint::connection::Incoming"]],["impl !RefUnwindSafe for QuicTransportConfig",1,["iroh::endpoint::quic::QuicTransportConfig"]],["impl !RefUnwindSafe for QuicTransportConfigBuilder",1,["iroh::endpoint::quic::QuicTransportConfigBuilder"]],["impl !RefUnwindSafe for RetryError",1,["iroh::endpoint::connection::RetryError"]],["impl !RefUnwindSafe for ServerConfig",1,["iroh::endpoint::quic::ServerConfig"]],["impl !RefUnwindSafe for ServerConfigBuilder",1,["iroh::endpoint::quic::ServerConfigBuilder"]],["impl !RefUnwindSafe for Router",1,["iroh::protocol::Router"]],["impl !RefUnwindSafe for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl !RefUnwindSafe for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl !RefUnwindSafe for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl RefUnwindSafe for DiscoveryEvent",1,["iroh::discovery::mdns::DiscoveryEvent"]],["impl RefUnwindSafe for AfterHandshakeOutcome",1,["iroh::endpoint::hooks::AfterHandshakeOutcome"]],["impl RefUnwindSafe for AuthenticationError",1,["iroh::endpoint::connection::AuthenticationError"]],["impl RefUnwindSafe for BeforeConnectOutcome",1,["iroh::endpoint::hooks::BeforeConnectOutcome"]],["impl RefUnwindSafe for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl RefUnwindSafe for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl RefUnwindSafe for Source",1,["iroh::magicsock::remote_map::Source"]],["impl RefUnwindSafe for TransportAddrUsage",1,["iroh::magicsock::remote_map::remote_state::remote_info::TransportAddrUsage"]],["impl RefUnwindSafe for TransportConfig",1,["iroh::magicsock::transports::TransportConfig"]],["impl RefUnwindSafe for MdnsDiscovery",1,["iroh::discovery::mdns::MdnsDiscovery"]],["impl RefUnwindSafe for MdnsDiscoveryBuilder",1,["iroh::discovery::mdns::MdnsDiscoveryBuilder"]],["impl RefUnwindSafe for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl RefUnwindSafe for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl RefUnwindSafe for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl RefUnwindSafe for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl RefUnwindSafe for N0",1,["iroh::endpoint::presets::N0"]],["impl RefUnwindSafe for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl RefUnwindSafe for HandshakeCompleted",1,["iroh::endpoint::connection::HandshakeCompleted"]],["impl RefUnwindSafe for IncomingZeroRtt",1,["iroh::endpoint::connection::IncomingZeroRtt"]],["impl RefUnwindSafe for OutgoingZeroRtt",1,["iroh::endpoint::connection::OutgoingZeroRtt"]],["impl RefUnwindSafe for PathInfo",1,["iroh::magicsock::remote_map::remote_state::PathInfo"]],["impl RefUnwindSafe for PathInfoList",1,["iroh::magicsock::remote_map::remote_state::PathInfoList"]],["impl RefUnwindSafe for RemoteEndpointIdError",1,["iroh::endpoint::connection::RemoteEndpointIdError"]],["impl RefUnwindSafe for RemoteInfo",1,["iroh::magicsock::remote_map::remote_state::remote_info::RemoteInfo"]],["impl RefUnwindSafe for TransportAddrInfo",1,["iroh::magicsock::remote_map::remote_state::remote_info::TransportAddrInfo"]],["impl RefUnwindSafe for EndpointMetrics",1,["iroh::metrics::EndpointMetrics"]],["impl RefUnwindSafe for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl RefUnwindSafe for Metrics",1,["iroh::net_report::metrics::Metrics"]],["impl RefUnwindSafe for Report",1,["iroh::net_report::report::Report"]],["impl RefUnwindSafe for QlogFileGroup",1,["iroh::test_utils::qlog::QlogFileGroup"]],["impl<'a> !RefUnwindSafe for Accept<'a>",1,["iroh::endpoint::connection::Accept"]],["impl<P> !RefUnwindSafe for AccessLimit<P>",1,["iroh::protocol::AccessLimit"]],["impl<State> RefUnwindSafe for Connection<State>
    where\n <State as ConnectionState>::Data: RefUnwindSafe,
    ",1,["iroh::endpoint::connection::Connection"]]]],["iroh_base",[["impl !RefUnwindSafe for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl RefUnwindSafe for TransportAddr",1,["iroh_base::endpoint_addr::TransportAddr"]],["impl RefUnwindSafe for EndpointAddr",1,["iroh_base::endpoint_addr::EndpointAddr"]],["impl RefUnwindSafe for PublicKey",1,["iroh_base::key::PublicKey"]],["impl RefUnwindSafe for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl RefUnwindSafe for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl RefUnwindSafe for SecretKey",1,["iroh_base::key::SecretKey"]],["impl RefUnwindSafe for Signature",1,["iroh_base::key::Signature"]],["impl RefUnwindSafe for SignatureError",1,["iroh_base::key::SignatureError"]]]],["iroh_bench",[["impl !RefUnwindSafe for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl !RefUnwindSafe for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl RefUnwindSafe for Commands",1,["iroh_bench::Commands"]],["impl RefUnwindSafe for Opt",1,["iroh_bench::s2n::Opt"]],["impl RefUnwindSafe for Stats",1,["iroh_bench::stats::Stats"]],["impl RefUnwindSafe for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl RefUnwindSafe for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl RefUnwindSafe for ClientStats",1,["iroh_bench::ClientStats"]],["impl RefUnwindSafe for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl !RefUnwindSafe for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl !RefUnwindSafe for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl !RefUnwindSafe for Handle",1,["iroh_dns_server::dns::Handle"]],["impl !RefUnwindSafe for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl !RefUnwindSafe for Server",1,["iroh_dns_server::server::Server"]],["impl !RefUnwindSafe for AppState",1,["iroh_dns_server::state::AppState"]],["impl !RefUnwindSafe for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]],["impl RefUnwindSafe for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl RefUnwindSafe for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl RefUnwindSafe for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl RefUnwindSafe for Config",1,["iroh_dns_server::config::Config"]],["impl RefUnwindSafe for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl RefUnwindSafe for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl RefUnwindSafe for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl RefUnwindSafe for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl RefUnwindSafe for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl RefUnwindSafe for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl RefUnwindSafe for Metrics",1,["iroh_dns_server::metrics::Metrics"]]]],["iroh_relay",[["impl !RefUnwindSafe for ConnectError",1,["iroh_relay::client::ConnectError"]],["impl !RefUnwindSafe for DialError",1,["iroh_relay::client::DialError"]],["impl !RefUnwindSafe for RecvError",1,["iroh_relay::client::conn::RecvError"]],["impl !RefUnwindSafe for SendError",1,["iroh_relay::client::conn::SendError"]],["impl !RefUnwindSafe for DnsError",1,["iroh_relay::dns::DnsError"]],["impl !RefUnwindSafe for LookupError",1,["iroh_relay::dns::LookupError"]],["impl !RefUnwindSafe for DecodingError",1,["iroh_relay::endpoint_info::DecodingError"]],["impl !RefUnwindSafe for ParseError",1,["iroh_relay::endpoint_info::ParseError"]],["impl !RefUnwindSafe for Error",1,["iroh_relay::protos::handshake::Error"]],["impl !RefUnwindSafe for Error",1,["iroh_relay::protos::relay::Error"]],["impl !RefUnwindSafe for Error",1,["iroh_relay::quic::Error"]],["impl !RefUnwindSafe for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl !RefUnwindSafe for SpawnError",1,["iroh_relay::server::SpawnError"]],["impl !RefUnwindSafe for SupervisorError",1,["iroh_relay::server::SupervisorError"]],["impl !RefUnwindSafe for Client",1,["iroh_relay::client::Client"]],["impl !RefUnwindSafe for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl !RefUnwindSafe for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl !RefUnwindSafe for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl !RefUnwindSafe for DnsResolver",1,["iroh_relay::dns::DnsResolver"]],["impl !RefUnwindSafe for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl !RefUnwindSafe for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl RefUnwindSafe for DnsProtocol",1,["iroh_relay::dns::DnsProtocol"]],["impl RefUnwindSafe for EncodingError",1,["iroh_relay::endpoint_info::EncodingError"]],["impl RefUnwindSafe for FrameType",1,["iroh_relay::protos::common::FrameType"]],["impl RefUnwindSafe for FrameTypeError",1,["iroh_relay::protos::common::FrameTypeError"]],["impl RefUnwindSafe for ClientToRelayMsg",1,["iroh_relay::protos::relay::ClientToRelayMsg"]],["impl RefUnwindSafe for RelayToClientMsg",1,["iroh_relay::protos::relay::RelayToClientMsg"]],["impl RefUnwindSafe for Access",1,["iroh_relay::server::Access"]],["impl RefUnwindSafe for Builder",1,["iroh_relay::dns::Builder"]],["impl RefUnwindSafe for TxtRecordData",1,["iroh_relay::dns::TxtRecordData"]],["impl RefUnwindSafe for EndpointData",1,["iroh_relay::endpoint_info::EndpointData"]],["impl RefUnwindSafe for EndpointInfo",1,["iroh_relay::endpoint_info::EndpointInfo"]],["impl RefUnwindSafe for MaxLengthExceededError",1,["iroh_relay::endpoint_info::MaxLengthExceededError"]],["impl RefUnwindSafe for UserData",1,["iroh_relay::endpoint_info::UserData"]],["impl RefUnwindSafe for Datagrams",1,["iroh_relay::protos::relay::Datagrams"]],["impl RefUnwindSafe for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl RefUnwindSafe for Limits",1,["iroh_relay::server::Limits"]],["impl RefUnwindSafe for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl RefUnwindSafe for RelayMetrics",1,["iroh_relay::server::metrics::RelayMetrics"]],["impl RefUnwindSafe for Server",1,["iroh_relay::server::Server"]],["impl RefUnwindSafe for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl RefUnwindSafe for RelayConfig",1,["iroh_relay::relay_map::RelayConfig"]],["impl RefUnwindSafe for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl RefUnwindSafe for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<E> RefUnwindSafe for StaggeredError<E>
    where\n E: RefUnwindSafe,
    ",1,["iroh_relay::dns::StaggeredError"]],["impl<EC, EA = EC> !RefUnwindSafe for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> !RefUnwindSafe for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[24392,3219,3167,6813,19037]} \ No newline at end of file +//{"start":57,"fragment_lengths":[26102,3219,3167,6813,19037]} \ No newline at end of file diff --git a/pr/3734/docs/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js b/pr/3734/docs/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js index b487f1a8a1..9b5494f896 100644 --- a/pr/3734/docs/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js +++ b/pr/3734/docs/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl !UnwindSafe for DiscoveryError",1,["iroh::discovery::DiscoveryError"]],["impl !UnwindSafe for IntoDiscoveryError",1,["iroh::discovery::IntoDiscoveryError"]],["impl !UnwindSafe for PkarrError",1,["iroh::discovery::pkarr::PkarrError"]],["impl !UnwindSafe for AlpnError",1,["iroh::endpoint::connection::AlpnError"]],["impl !UnwindSafe for BindError",1,["iroh::endpoint::BindError"]],["impl !UnwindSafe for ConnectError",1,["iroh::endpoint::ConnectError"]],["impl !UnwindSafe for ConnectWithOptsError",1,["iroh::endpoint::ConnectWithOptsError"]],["impl !UnwindSafe for ConnectingError",1,["iroh::endpoint::connection::ConnectingError"]],["impl !UnwindSafe for ZeroRttStatus",1,["iroh::endpoint::connection::ZeroRttStatus"]],["impl !UnwindSafe for AcceptError",1,["iroh::protocol::AcceptError"]],["impl !UnwindSafe for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl !UnwindSafe for DnsDiscoveryBuilder",1,["iroh::discovery::dns::DnsDiscoveryBuilder"]],["impl !UnwindSafe for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl !UnwindSafe for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl !UnwindSafe for PkarrPublisherBuilder",1,["iroh::discovery::pkarr::PkarrPublisherBuilder"]],["impl !UnwindSafe for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl !UnwindSafe for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl !UnwindSafe for PkarrResolverBuilder",1,["iroh::discovery::pkarr::PkarrResolverBuilder"]],["impl !UnwindSafe for Accepting",1,["iroh::endpoint::connection::Accepting"]],["impl !UnwindSafe for Builder",1,["iroh::endpoint::Builder"]],["impl !UnwindSafe for ConnectOptions",1,["iroh::endpoint::ConnectOptions"]],["impl !UnwindSafe for Connecting",1,["iroh::endpoint::connection::Connecting"]],["impl !UnwindSafe for ConnectionInfo",1,["iroh::endpoint::connection::ConnectionInfo"]],["impl !UnwindSafe for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl !UnwindSafe for Incoming",1,["iroh::endpoint::connection::Incoming"]],["impl !UnwindSafe for QuicTransportConfig",1,["iroh::endpoint::quic::QuicTransportConfig"]],["impl !UnwindSafe for Options",1,["iroh::net_report::options::imp::Options"]],["impl !UnwindSafe for QuicConfig",1,["iroh::net_report::reportgen::QuicConfig"]],["impl !UnwindSafe for Router",1,["iroh::protocol::Router"]],["impl !UnwindSafe for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl !UnwindSafe for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl !UnwindSafe for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl UnwindSafe for DiscoveryEvent",1,["iroh::discovery::mdns::DiscoveryEvent"]],["impl UnwindSafe for AfterHandshakeOutcome",1,["iroh::endpoint::hooks::AfterHandshakeOutcome"]],["impl UnwindSafe for AuthenticationError",1,["iroh::endpoint::connection::AuthenticationError"]],["impl UnwindSafe for BeforeConnectOutcome",1,["iroh::endpoint::hooks::BeforeConnectOutcome"]],["impl UnwindSafe for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl UnwindSafe for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl UnwindSafe for Source",1,["iroh::magicsock::remote_map::Source"]],["impl UnwindSafe for TransportConfig",1,["iroh::magicsock::transports::TransportConfig"]],["impl UnwindSafe for Probe",1,["iroh::net_report::probes::Probe"]],["impl UnwindSafe for MdnsDiscovery",1,["iroh::discovery::mdns::MdnsDiscovery"]],["impl UnwindSafe for MdnsDiscoveryBuilder",1,["iroh::discovery::mdns::MdnsDiscoveryBuilder"]],["impl UnwindSafe for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl UnwindSafe for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl UnwindSafe for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl UnwindSafe for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl UnwindSafe for N0",1,["iroh::endpoint::presets::N0"]],["impl UnwindSafe for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl UnwindSafe for HandshakeCompleted",1,["iroh::endpoint::connection::HandshakeCompleted"]],["impl UnwindSafe for IncomingZeroRtt",1,["iroh::endpoint::connection::IncomingZeroRtt"]],["impl UnwindSafe for OutgoingZeroRtt",1,["iroh::endpoint::connection::OutgoingZeroRtt"]],["impl UnwindSafe for PathInfo",1,["iroh::magicsock::remote_map::remote_state::PathInfo"]],["impl UnwindSafe for PathInfoList",1,["iroh::magicsock::remote_map::remote_state::PathInfoList"]],["impl UnwindSafe for RemoteEndpointIdError",1,["iroh::endpoint::connection::RemoteEndpointIdError"]],["impl UnwindSafe for EndpointMetrics",1,["iroh::metrics::EndpointMetrics"]],["impl UnwindSafe for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl UnwindSafe for Metrics",1,["iroh::net_report::metrics::Metrics"]],["impl UnwindSafe for RelayLatencies",1,["iroh::net_report::report::RelayLatencies"]],["impl UnwindSafe for Report",1,["iroh::net_report::report::Report"]],["impl<'a> !UnwindSafe for Accept<'a>",1,["iroh::endpoint::connection::Accept"]],["impl<P> !UnwindSafe for AccessLimit<P>",1,["iroh::protocol::AccessLimit"]],["impl<State> UnwindSafe for Connection<State>
    where\n <State as ConnectionState>::Data: UnwindSafe,
    ",1,["iroh::endpoint::connection::Connection"]]]],["iroh_base",[["impl !UnwindSafe for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl UnwindSafe for TransportAddr",1,["iroh_base::endpoint_addr::TransportAddr"]],["impl UnwindSafe for EndpointAddr",1,["iroh_base::endpoint_addr::EndpointAddr"]],["impl UnwindSafe for PublicKey",1,["iroh_base::key::PublicKey"]],["impl UnwindSafe for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl UnwindSafe for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl UnwindSafe for SecretKey",1,["iroh_base::key::SecretKey"]],["impl UnwindSafe for Signature",1,["iroh_base::key::Signature"]],["impl UnwindSafe for SignatureError",1,["iroh_base::key::SignatureError"]]]],["iroh_bench",[["impl !UnwindSafe for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl !UnwindSafe for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl UnwindSafe for Commands",1,["iroh_bench::Commands"]],["impl UnwindSafe for Opt",1,["iroh_bench::s2n::Opt"]],["impl UnwindSafe for Stats",1,["iroh_bench::stats::Stats"]],["impl UnwindSafe for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl UnwindSafe for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl UnwindSafe for ClientStats",1,["iroh_bench::ClientStats"]],["impl UnwindSafe for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl !UnwindSafe for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl !UnwindSafe for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl !UnwindSafe for Handle",1,["iroh_dns_server::dns::Handle"]],["impl !UnwindSafe for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl !UnwindSafe for Server",1,["iroh_dns_server::server::Server"]],["impl !UnwindSafe for AppState",1,["iroh_dns_server::state::AppState"]],["impl !UnwindSafe for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]],["impl UnwindSafe for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl UnwindSafe for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl UnwindSafe for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl UnwindSafe for Config",1,["iroh_dns_server::config::Config"]],["impl UnwindSafe for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl UnwindSafe for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl UnwindSafe for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl UnwindSafe for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl UnwindSafe for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl UnwindSafe for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl UnwindSafe for Metrics",1,["iroh_dns_server::metrics::Metrics"]]]],["iroh_relay",[["impl !UnwindSafe for ConnectError",1,["iroh_relay::client::ConnectError"]],["impl !UnwindSafe for DialError",1,["iroh_relay::client::DialError"]],["impl !UnwindSafe for RecvError",1,["iroh_relay::client::conn::RecvError"]],["impl !UnwindSafe for SendError",1,["iroh_relay::client::conn::SendError"]],["impl !UnwindSafe for DnsError",1,["iroh_relay::dns::DnsError"]],["impl !UnwindSafe for LookupError",1,["iroh_relay::dns::LookupError"]],["impl !UnwindSafe for DecodingError",1,["iroh_relay::endpoint_info::DecodingError"]],["impl !UnwindSafe for ParseError",1,["iroh_relay::endpoint_info::ParseError"]],["impl !UnwindSafe for Error",1,["iroh_relay::protos::handshake::Error"]],["impl !UnwindSafe for Error",1,["iroh_relay::protos::relay::Error"]],["impl !UnwindSafe for Error",1,["iroh_relay::quic::Error"]],["impl !UnwindSafe for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl !UnwindSafe for SpawnError",1,["iroh_relay::server::SpawnError"]],["impl !UnwindSafe for SupervisorError",1,["iroh_relay::server::SupervisorError"]],["impl !UnwindSafe for Client",1,["iroh_relay::client::Client"]],["impl !UnwindSafe for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl !UnwindSafe for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl !UnwindSafe for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl !UnwindSafe for DnsResolver",1,["iroh_relay::dns::DnsResolver"]],["impl !UnwindSafe for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl !UnwindSafe for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl UnwindSafe for DnsProtocol",1,["iroh_relay::dns::DnsProtocol"]],["impl UnwindSafe for EncodingError",1,["iroh_relay::endpoint_info::EncodingError"]],["impl UnwindSafe for FrameType",1,["iroh_relay::protos::common::FrameType"]],["impl UnwindSafe for FrameTypeError",1,["iroh_relay::protos::common::FrameTypeError"]],["impl UnwindSafe for ClientToRelayMsg",1,["iroh_relay::protos::relay::ClientToRelayMsg"]],["impl UnwindSafe for RelayToClientMsg",1,["iroh_relay::protos::relay::RelayToClientMsg"]],["impl UnwindSafe for Access",1,["iroh_relay::server::Access"]],["impl UnwindSafe for Builder",1,["iroh_relay::dns::Builder"]],["impl UnwindSafe for TxtRecordData",1,["iroh_relay::dns::TxtRecordData"]],["impl UnwindSafe for EndpointData",1,["iroh_relay::endpoint_info::EndpointData"]],["impl UnwindSafe for EndpointInfo",1,["iroh_relay::endpoint_info::EndpointInfo"]],["impl UnwindSafe for MaxLengthExceededError",1,["iroh_relay::endpoint_info::MaxLengthExceededError"]],["impl UnwindSafe for UserData",1,["iroh_relay::endpoint_info::UserData"]],["impl UnwindSafe for Datagrams",1,["iroh_relay::protos::relay::Datagrams"]],["impl UnwindSafe for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl UnwindSafe for Limits",1,["iroh_relay::server::Limits"]],["impl UnwindSafe for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl UnwindSafe for RelayMetrics",1,["iroh_relay::server::metrics::RelayMetrics"]],["impl UnwindSafe for Server",1,["iroh_relay::server::Server"]],["impl UnwindSafe for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl UnwindSafe for RelayConfig",1,["iroh_relay::relay_map::RelayConfig"]],["impl UnwindSafe for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl UnwindSafe for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<E> UnwindSafe for StaggeredError<E>
    where\n E: UnwindSafe,
    ",1,["iroh_relay::dns::StaggeredError"]],["impl<EC, EA = EC> !UnwindSafe for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA = EC> !UnwindSafe for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA = EC> !UnwindSafe for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA = EC> !UnwindSafe for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> !UnwindSafe for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); + var implementors = Object.fromEntries([["iroh",[["impl !UnwindSafe for DiscoveryError",1,["iroh::discovery::DiscoveryError"]],["impl !UnwindSafe for IntoDiscoveryError",1,["iroh::discovery::IntoDiscoveryError"]],["impl !UnwindSafe for PkarrError",1,["iroh::discovery::pkarr::PkarrError"]],["impl !UnwindSafe for AlpnError",1,["iroh::endpoint::connection::AlpnError"]],["impl !UnwindSafe for BindError",1,["iroh::endpoint::BindError"]],["impl !UnwindSafe for ConnectError",1,["iroh::endpoint::ConnectError"]],["impl !UnwindSafe for ConnectWithOptsError",1,["iroh::endpoint::ConnectWithOptsError"]],["impl !UnwindSafe for ConnectingError",1,["iroh::endpoint::connection::ConnectingError"]],["impl !UnwindSafe for ZeroRttStatus",1,["iroh::endpoint::connection::ZeroRttStatus"]],["impl !UnwindSafe for AcceptError",1,["iroh::protocol::AcceptError"]],["impl !UnwindSafe for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl !UnwindSafe for DnsDiscoveryBuilder",1,["iroh::discovery::dns::DnsDiscoveryBuilder"]],["impl !UnwindSafe for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl !UnwindSafe for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl !UnwindSafe for PkarrPublisherBuilder",1,["iroh::discovery::pkarr::PkarrPublisherBuilder"]],["impl !UnwindSafe for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl !UnwindSafe for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl !UnwindSafe for PkarrResolverBuilder",1,["iroh::discovery::pkarr::PkarrResolverBuilder"]],["impl !UnwindSafe for Accepting",1,["iroh::endpoint::connection::Accepting"]],["impl !UnwindSafe for Builder",1,["iroh::endpoint::Builder"]],["impl !UnwindSafe for ConnectOptions",1,["iroh::endpoint::ConnectOptions"]],["impl !UnwindSafe for Connecting",1,["iroh::endpoint::connection::Connecting"]],["impl !UnwindSafe for ConnectionInfo",1,["iroh::endpoint::connection::ConnectionInfo"]],["impl !UnwindSafe for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl !UnwindSafe for Incoming",1,["iroh::endpoint::connection::Incoming"]],["impl !UnwindSafe for QuicTransportConfig",1,["iroh::endpoint::quic::QuicTransportConfig"]],["impl !UnwindSafe for QuicTransportConfigBuilder",1,["iroh::endpoint::quic::QuicTransportConfigBuilder"]],["impl !UnwindSafe for RetryError",1,["iroh::endpoint::connection::RetryError"]],["impl !UnwindSafe for ServerConfig",1,["iroh::endpoint::quic::ServerConfig"]],["impl !UnwindSafe for ServerConfigBuilder",1,["iroh::endpoint::quic::ServerConfigBuilder"]],["impl !UnwindSafe for Router",1,["iroh::protocol::Router"]],["impl !UnwindSafe for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl !UnwindSafe for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl !UnwindSafe for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl UnwindSafe for DiscoveryEvent",1,["iroh::discovery::mdns::DiscoveryEvent"]],["impl UnwindSafe for AfterHandshakeOutcome",1,["iroh::endpoint::hooks::AfterHandshakeOutcome"]],["impl UnwindSafe for AuthenticationError",1,["iroh::endpoint::connection::AuthenticationError"]],["impl UnwindSafe for BeforeConnectOutcome",1,["iroh::endpoint::hooks::BeforeConnectOutcome"]],["impl UnwindSafe for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl UnwindSafe for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl UnwindSafe for Source",1,["iroh::magicsock::remote_map::Source"]],["impl UnwindSafe for TransportAddrUsage",1,["iroh::magicsock::remote_map::remote_state::remote_info::TransportAddrUsage"]],["impl UnwindSafe for TransportConfig",1,["iroh::magicsock::transports::TransportConfig"]],["impl UnwindSafe for MdnsDiscovery",1,["iroh::discovery::mdns::MdnsDiscovery"]],["impl UnwindSafe for MdnsDiscoveryBuilder",1,["iroh::discovery::mdns::MdnsDiscoveryBuilder"]],["impl UnwindSafe for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl UnwindSafe for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl UnwindSafe for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl UnwindSafe for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl UnwindSafe for N0",1,["iroh::endpoint::presets::N0"]],["impl UnwindSafe for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl UnwindSafe for HandshakeCompleted",1,["iroh::endpoint::connection::HandshakeCompleted"]],["impl UnwindSafe for IncomingZeroRtt",1,["iroh::endpoint::connection::IncomingZeroRtt"]],["impl UnwindSafe for OutgoingZeroRtt",1,["iroh::endpoint::connection::OutgoingZeroRtt"]],["impl UnwindSafe for PathInfo",1,["iroh::magicsock::remote_map::remote_state::PathInfo"]],["impl UnwindSafe for PathInfoList",1,["iroh::magicsock::remote_map::remote_state::PathInfoList"]],["impl UnwindSafe for RemoteEndpointIdError",1,["iroh::endpoint::connection::RemoteEndpointIdError"]],["impl UnwindSafe for RemoteInfo",1,["iroh::magicsock::remote_map::remote_state::remote_info::RemoteInfo"]],["impl UnwindSafe for TransportAddrInfo",1,["iroh::magicsock::remote_map::remote_state::remote_info::TransportAddrInfo"]],["impl UnwindSafe for EndpointMetrics",1,["iroh::metrics::EndpointMetrics"]],["impl UnwindSafe for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl UnwindSafe for Metrics",1,["iroh::net_report::metrics::Metrics"]],["impl UnwindSafe for Report",1,["iroh::net_report::report::Report"]],["impl UnwindSafe for QlogFileGroup",1,["iroh::test_utils::qlog::QlogFileGroup"]],["impl<'a> !UnwindSafe for Accept<'a>",1,["iroh::endpoint::connection::Accept"]],["impl<P> !UnwindSafe for AccessLimit<P>",1,["iroh::protocol::AccessLimit"]],["impl<State> UnwindSafe for Connection<State>
    where\n <State as ConnectionState>::Data: UnwindSafe,
    ",1,["iroh::endpoint::connection::Connection"]]]],["iroh_base",[["impl !UnwindSafe for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl UnwindSafe for TransportAddr",1,["iroh_base::endpoint_addr::TransportAddr"]],["impl UnwindSafe for EndpointAddr",1,["iroh_base::endpoint_addr::EndpointAddr"]],["impl UnwindSafe for PublicKey",1,["iroh_base::key::PublicKey"]],["impl UnwindSafe for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl UnwindSafe for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl UnwindSafe for SecretKey",1,["iroh_base::key::SecretKey"]],["impl UnwindSafe for Signature",1,["iroh_base::key::Signature"]],["impl UnwindSafe for SignatureError",1,["iroh_base::key::SignatureError"]]]],["iroh_bench",[["impl !UnwindSafe for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl !UnwindSafe for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl UnwindSafe for Commands",1,["iroh_bench::Commands"]],["impl UnwindSafe for Opt",1,["iroh_bench::s2n::Opt"]],["impl UnwindSafe for Stats",1,["iroh_bench::stats::Stats"]],["impl UnwindSafe for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl UnwindSafe for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl UnwindSafe for ClientStats",1,["iroh_bench::ClientStats"]],["impl UnwindSafe for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl !UnwindSafe for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl !UnwindSafe for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl !UnwindSafe for Handle",1,["iroh_dns_server::dns::Handle"]],["impl !UnwindSafe for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl !UnwindSafe for Server",1,["iroh_dns_server::server::Server"]],["impl !UnwindSafe for AppState",1,["iroh_dns_server::state::AppState"]],["impl !UnwindSafe for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]],["impl UnwindSafe for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl UnwindSafe for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl UnwindSafe for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl UnwindSafe for Config",1,["iroh_dns_server::config::Config"]],["impl UnwindSafe for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl UnwindSafe for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl UnwindSafe for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl UnwindSafe for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl UnwindSafe for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl UnwindSafe for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl UnwindSafe for Metrics",1,["iroh_dns_server::metrics::Metrics"]]]],["iroh_relay",[["impl !UnwindSafe for ConnectError",1,["iroh_relay::client::ConnectError"]],["impl !UnwindSafe for DialError",1,["iroh_relay::client::DialError"]],["impl !UnwindSafe for RecvError",1,["iroh_relay::client::conn::RecvError"]],["impl !UnwindSafe for SendError",1,["iroh_relay::client::conn::SendError"]],["impl !UnwindSafe for DnsError",1,["iroh_relay::dns::DnsError"]],["impl !UnwindSafe for LookupError",1,["iroh_relay::dns::LookupError"]],["impl !UnwindSafe for DecodingError",1,["iroh_relay::endpoint_info::DecodingError"]],["impl !UnwindSafe for ParseError",1,["iroh_relay::endpoint_info::ParseError"]],["impl !UnwindSafe for Error",1,["iroh_relay::protos::handshake::Error"]],["impl !UnwindSafe for Error",1,["iroh_relay::protos::relay::Error"]],["impl !UnwindSafe for Error",1,["iroh_relay::quic::Error"]],["impl !UnwindSafe for AccessConfig",1,["iroh_relay::server::AccessConfig"]],["impl !UnwindSafe for SpawnError",1,["iroh_relay::server::SpawnError"]],["impl !UnwindSafe for SupervisorError",1,["iroh_relay::server::SupervisorError"]],["impl !UnwindSafe for Client",1,["iroh_relay::client::Client"]],["impl !UnwindSafe for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl !UnwindSafe for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl !UnwindSafe for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl !UnwindSafe for DnsResolver",1,["iroh_relay::dns::DnsResolver"]],["impl !UnwindSafe for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl !UnwindSafe for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl UnwindSafe for DnsProtocol",1,["iroh_relay::dns::DnsProtocol"]],["impl UnwindSafe for EncodingError",1,["iroh_relay::endpoint_info::EncodingError"]],["impl UnwindSafe for FrameType",1,["iroh_relay::protos::common::FrameType"]],["impl UnwindSafe for FrameTypeError",1,["iroh_relay::protos::common::FrameTypeError"]],["impl UnwindSafe for ClientToRelayMsg",1,["iroh_relay::protos::relay::ClientToRelayMsg"]],["impl UnwindSafe for RelayToClientMsg",1,["iroh_relay::protos::relay::RelayToClientMsg"]],["impl UnwindSafe for Access",1,["iroh_relay::server::Access"]],["impl UnwindSafe for Builder",1,["iroh_relay::dns::Builder"]],["impl UnwindSafe for TxtRecordData",1,["iroh_relay::dns::TxtRecordData"]],["impl UnwindSafe for EndpointData",1,["iroh_relay::endpoint_info::EndpointData"]],["impl UnwindSafe for EndpointInfo",1,["iroh_relay::endpoint_info::EndpointInfo"]],["impl UnwindSafe for MaxLengthExceededError",1,["iroh_relay::endpoint_info::MaxLengthExceededError"]],["impl UnwindSafe for UserData",1,["iroh_relay::endpoint_info::UserData"]],["impl UnwindSafe for Datagrams",1,["iroh_relay::protos::relay::Datagrams"]],["impl UnwindSafe for ClientRateLimit",1,["iroh_relay::server::ClientRateLimit"]],["impl UnwindSafe for Limits",1,["iroh_relay::server::Limits"]],["impl UnwindSafe for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl UnwindSafe for RelayMetrics",1,["iroh_relay::server::metrics::RelayMetrics"]],["impl UnwindSafe for Server",1,["iroh_relay::server::Server"]],["impl UnwindSafe for PingTracker",1,["iroh_relay::ping_tracker::PingTracker"]],["impl UnwindSafe for RelayConfig",1,["iroh_relay::relay_map::RelayConfig"]],["impl UnwindSafe for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl UnwindSafe for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<E> UnwindSafe for StaggeredError<E>
    where\n E: UnwindSafe,
    ",1,["iroh_relay::dns::StaggeredError"]],["impl<EC, EA = EC> !UnwindSafe for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA = EC> !UnwindSafe for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA = EC> !UnwindSafe for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA = EC> !UnwindSafe for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> !UnwindSafe for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[23816,3138,3086,6651,18578]} \ No newline at end of file +//{"start":57,"fragment_lengths":[25490,3138,3086,6651,18578]} \ No newline at end of file diff --git a/pr/3734/docs/trait.impl/iroh_metrics/base/trait.MetricsGroup.js b/pr/3734/docs/trait.impl/iroh_metrics/base/trait.MetricsGroup.js index 6b925788e0..5b0713bdc0 100644 --- a/pr/3734/docs/trait.impl/iroh_metrics/base/trait.MetricsGroup.js +++ b/pr/3734/docs/trait.impl/iroh_metrics/base/trait.MetricsGroup.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl MetricsGroup for Metrics"],["impl MetricsGroup for Metrics"]]],["iroh_dns_server",[["impl MetricsGroup for Metrics"]]],["iroh_relay",[["impl MetricsGroup for Metrics"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl MetricsGroup for Metrics"],["impl MetricsGroup for Metrics"]]],["iroh_dns_server",[["impl MetricsGroup for Metrics"]]],["iroh_relay",[["impl MetricsGroup for Metrics"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[314,184,167]} \ No newline at end of file +//{"start":57,"fragment_lengths":[326,184,167]} \ No newline at end of file diff --git a/pr/3734/docs/trait.impl/iroh_metrics/iterable/trait.Iterable.js b/pr/3734/docs/trait.impl/iroh_metrics/iterable/trait.Iterable.js index 4149fbad7d..22880b30e4 100644 --- a/pr/3734/docs/trait.impl/iroh_metrics/iterable/trait.Iterable.js +++ b/pr/3734/docs/trait.impl/iroh_metrics/iterable/trait.Iterable.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl Iterable for Metrics"],["impl Iterable for Metrics"]]],["iroh_dns_server",[["impl Iterable for Metrics"]]],["iroh_relay",[["impl Iterable for Metrics"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl Iterable for Metrics"],["impl Iterable for Metrics"]]],["iroh_dns_server",[["impl Iterable for Metrics"]]],["iroh_relay",[["impl Iterable for Metrics"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[306,180,163]} \ No newline at end of file +//{"start":57,"fragment_lengths":[318,180,163]} \ No newline at end of file diff --git a/pr/3734/docs/trait.impl/iroh_quinn_proto/crypto/trait.ServerConfig.js b/pr/3734/docs/trait.impl/iroh_quinn_proto/config/qlog/trait.QlogFactory.js similarity index 100% rename from pr/3734/docs/trait.impl/iroh_quinn_proto/crypto/trait.ServerConfig.js rename to pr/3734/docs/trait.impl/iroh_quinn_proto/config/qlog/trait.QlogFactory.js diff --git a/pr/3734/docs/trait.impl/iroh_quinn_proto/config/trait.TimeSource.js b/pr/3734/docs/trait.impl/iroh_quinn_proto/config/trait.TimeSource.js new file mode 100644 index 0000000000..a4910fa91e --- /dev/null +++ b/pr/3734/docs/trait.impl/iroh_quinn_proto/config/trait.TimeSource.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["iroh",[]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[11]} \ No newline at end of file diff --git a/pr/3734/docs/trait.impl/iroh_quinn_proto/crypto/trait.HeaderKey.js b/pr/3734/docs/trait.impl/iroh_quinn_proto/crypto/trait.HeaderKey.js new file mode 100644 index 0000000000..a4910fa91e --- /dev/null +++ b/pr/3734/docs/trait.impl/iroh_quinn_proto/crypto/trait.HeaderKey.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["iroh",[]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[11]} \ No newline at end of file diff --git a/pr/3734/docs/trait.impl/iroh_quinn_proto/crypto/trait.PacketKey.js b/pr/3734/docs/trait.impl/iroh_quinn_proto/crypto/trait.PacketKey.js new file mode 100644 index 0000000000..a4910fa91e --- /dev/null +++ b/pr/3734/docs/trait.impl/iroh_quinn_proto/crypto/trait.PacketKey.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["iroh",[]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[11]} \ No newline at end of file diff --git a/pr/3734/docs/trait.impl/iroh_quinn_proto/token/trait.TokenLog.js b/pr/3734/docs/trait.impl/iroh_quinn_proto/token/trait.TokenLog.js new file mode 100644 index 0000000000..a4910fa91e --- /dev/null +++ b/pr/3734/docs/trait.impl/iroh_quinn_proto/token/trait.TokenLog.js @@ -0,0 +1,9 @@ +(function() { + var implementors = Object.fromEntries([["iroh",[]]]); + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } +})() +//{"start":57,"fragment_lengths":[11]} \ No newline at end of file diff --git a/pr/3734/docs/trait.impl/n0_error/error/trait.StackError.js b/pr/3734/docs/trait.impl/n0_error/error/trait.StackError.js index 2dad4f56b1..416b50d818 100644 --- a/pr/3734/docs/trait.impl/n0_error/error/trait.StackError.js +++ b/pr/3734/docs/trait.impl/n0_error/error/trait.StackError.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl StackError for DiscoveryError"],["impl StackError for IntoDiscoveryError"],["impl StackError for PkarrError"],["impl StackError for AlpnError"],["impl StackError for AuthenticationError"],["impl StackError for BindError"],["impl StackError for ConnectError"],["impl StackError for ConnectWithOptsError"],["impl StackError for ConnectingError"],["impl StackError for AcceptError"],["impl StackError for RemoteEndpointIdError"]]],["iroh_base",[["impl StackError for KeyParsingError"],["impl StackError for RelayUrlParseError"],["impl StackError for SignatureError"]]],["iroh_relay",[["impl StackError for ConnectError"],["impl StackError for DialError"],["impl StackError for RecvError"],["impl StackError for SendError"],["impl StackError for DnsError"],["impl StackError for LookupError"],["impl StackError for DecodingError"],["impl StackError for EncodingError"],["impl StackError for ParseError"],["impl StackError for FrameTypeError"],["impl StackError for Error"],["impl StackError for Error"],["impl StackError for Error"],["impl StackError for SpawnError"],["impl StackError for SupervisorError"],["impl StackError for MaxLengthExceededError"],["impl<E: StackError + 'static> StackError for StaggeredError<E>"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl StackError for DiscoveryError"],["impl StackError for IntoDiscoveryError"],["impl StackError for PkarrError"],["impl StackError for AlpnError"],["impl StackError for AuthenticationError"],["impl StackError for BindError"],["impl StackError for ConnectError"],["impl StackError for ConnectWithOptsError"],["impl StackError for ConnectingError"],["impl StackError for AcceptError"],["impl StackError for RemoteEndpointIdError"],["impl StackError for RetryError"]]],["iroh_base",[["impl StackError for KeyParsingError"],["impl StackError for RelayUrlParseError"],["impl StackError for SignatureError"]]],["iroh_relay",[["impl StackError for ConnectError"],["impl StackError for DialError"],["impl StackError for RecvError"],["impl StackError for SendError"],["impl StackError for DnsError"],["impl StackError for LookupError"],["impl StackError for DecodingError"],["impl StackError for EncodingError"],["impl StackError for ParseError"],["impl StackError for FrameTypeError"],["impl StackError for Error"],["impl StackError for Error"],["impl StackError for Error"],["impl StackError for SpawnError"],["impl StackError for SupervisorError"],["impl StackError for MaxLengthExceededError"],["impl<E: StackError + 'static> StackError for StaggeredError<E>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[1752,481,2761]} \ No newline at end of file +//{"start":57,"fragment_lengths":[1901,481,2761]} \ No newline at end of file diff --git a/pr/3734/docs/trait.impl/serde_core/de/trait.Deserialize.js b/pr/3734/docs/trait.impl/serde_core/de/trait.Deserialize.js index 211e6722a8..e08b64c58b 100644 --- a/pr/3734/docs/trait.impl/serde_core/de/trait.Deserialize.js +++ b/pr/3734/docs/trait.impl/serde_core/de/trait.Deserialize.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl<'de> Deserialize<'de> for Source"],["impl<'de> Deserialize<'de> for EndpointMetrics"],["impl<'de> Deserialize<'de> for Metrics"],["impl<'de> Deserialize<'de> for Metrics"],["impl<'de> Deserialize<'de> for RelayLatencies"],["impl<'de> Deserialize<'de> for Report"]]],["iroh_base",[["impl<'de> Deserialize<'de> for TransportAddr"],["impl<'de> Deserialize<'de> for EndpointAddr"],["impl<'de> Deserialize<'de> for PublicKey"],["impl<'de> Deserialize<'de> for RelayUrl"],["impl<'de> Deserialize<'de> for SecretKey"],["impl<'de> Deserialize<'de> for Signature"]]],["iroh_dns_server",[["impl<'de> Deserialize<'de> for BootstrapOption"],["impl<'de> Deserialize<'de> for CertMode"],["impl<'de> Deserialize<'de> for RateLimitConfig"],["impl<'de> Deserialize<'de> for Config"],["impl<'de> Deserialize<'de> for MainlineConfig"],["impl<'de> Deserialize<'de> for MetricsConfig"],["impl<'de> Deserialize<'de> for StoreConfig"],["impl<'de> Deserialize<'de> for DnsConfig"],["impl<'de> Deserialize<'de> for HttpConfig"],["impl<'de> Deserialize<'de> for HttpsConfig"]]],["iroh_relay",[["impl<'de> Deserialize<'de> for RelayConfig"],["impl<'de> Deserialize<'de> for RelayQuicConfig"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl<'de> Deserialize<'de> for Source"],["impl<'de> Deserialize<'de> for EndpointMetrics"],["impl<'de> Deserialize<'de> for Metrics"],["impl<'de> Deserialize<'de> for Metrics"],["impl<'de> Deserialize<'de> for Report"]]],["iroh_base",[["impl<'de> Deserialize<'de> for TransportAddr"],["impl<'de> Deserialize<'de> for EndpointAddr"],["impl<'de> Deserialize<'de> for PublicKey"],["impl<'de> Deserialize<'de> for RelayUrl"],["impl<'de> Deserialize<'de> for SecretKey"],["impl<'de> Deserialize<'de> for Signature"]]],["iroh_dns_server",[["impl<'de> Deserialize<'de> for BootstrapOption"],["impl<'de> Deserialize<'de> for CertMode"],["impl<'de> Deserialize<'de> for RateLimitConfig"],["impl<'de> Deserialize<'de> for Config"],["impl<'de> Deserialize<'de> for MainlineConfig"],["impl<'de> Deserialize<'de> for MetricsConfig"],["impl<'de> Deserialize<'de> for StoreConfig"],["impl<'de> Deserialize<'de> for DnsConfig"],["impl<'de> Deserialize<'de> for HttpConfig"],["impl<'de> Deserialize<'de> for HttpsConfig"]]],["iroh_relay",[["impl<'de> Deserialize<'de> for RelayConfig"],["impl<'de> Deserialize<'de> for RelayQuicConfig"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[1935,1876,3398,661]} \ No newline at end of file +//{"start":57,"fragment_lengths":[1594,1876,3398,661]} \ No newline at end of file diff --git a/pr/3734/docs/trait.impl/serde_core/ser/trait.Serialize.js b/pr/3734/docs/trait.impl/serde_core/ser/trait.Serialize.js index 6aa3fd7ee2..905d2c8bd2 100644 --- a/pr/3734/docs/trait.impl/serde_core/ser/trait.Serialize.js +++ b/pr/3734/docs/trait.impl/serde_core/ser/trait.Serialize.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iroh",[["impl Serialize for Source"],["impl Serialize for EndpointMetrics"],["impl Serialize for Metrics"],["impl Serialize for Metrics"],["impl Serialize for RelayLatencies"],["impl Serialize for Report"]]],["iroh_base",[["impl Serialize for TransportAddr"],["impl Serialize for EndpointAddr"],["impl Serialize for PublicKey"],["impl Serialize for RelayUrl"],["impl Serialize for SecretKey"],["impl Serialize for Signature"]]],["iroh_dns_server",[["impl Serialize for BootstrapOption"],["impl Serialize for CertMode"],["impl Serialize for RateLimitConfig"],["impl Serialize for Config"],["impl Serialize for MainlineConfig"],["impl Serialize for MetricsConfig"],["impl Serialize for StoreConfig"],["impl Serialize for DnsConfig"],["impl Serialize for HttpConfig"],["impl Serialize for HttpsConfig"]]],["iroh_relay",[["impl Serialize for RelayConfig"],["impl Serialize for RelayQuicConfig"]]]]); + var implementors = Object.fromEntries([["iroh",[["impl Serialize for Source"],["impl Serialize for EndpointMetrics"],["impl Serialize for Metrics"],["impl Serialize for Metrics"],["impl Serialize for Report"]]],["iroh_base",[["impl Serialize for TransportAddr"],["impl Serialize for EndpointAddr"],["impl Serialize for PublicKey"],["impl Serialize for RelayUrl"],["impl Serialize for SecretKey"],["impl Serialize for Signature"]]],["iroh_dns_server",[["impl Serialize for BootstrapOption"],["impl Serialize for CertMode"],["impl Serialize for RateLimitConfig"],["impl Serialize for Config"],["impl Serialize for MainlineConfig"],["impl Serialize for MetricsConfig"],["impl Serialize for StoreConfig"],["impl Serialize for DnsConfig"],["impl Serialize for HttpConfig"],["impl Serialize for HttpsConfig"]]],["iroh_relay",[["impl Serialize for RelayConfig"],["impl Serialize for RelayQuicConfig"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[1779,1720,3138,609]} \ No newline at end of file +//{"start":57,"fragment_lengths":[1464,1720,3138,609]} \ No newline at end of file diff --git a/pr/3734/docs/type.impl/alloc/boxed/struct.Box.js b/pr/3734/docs/type.impl/alloc/boxed/struct.Box.js index cdddb387b3..caeae256cb 100644 --- a/pr/3734/docs/type.impl/alloc/boxed/struct.Box.js +++ b/pr/3734/docs/type.impl/alloc/boxed/struct.Box.js @@ -1,5 +1,5 @@ (function() { - var type_impls = Object.fromEntries([["iroh_relay",[["
    1.64.0 · Source§

    impl<T> AsFd for Box<T>
    where\n T: AsFd + ?Sized,

    Source§

    fn as_fd(&self) -> BorrowedFd<'_>

    Borrows the file descriptor. Read more
    ","AsFd","iroh_relay::dns::BoxIter"],["
    1.5.0 · Source§

    impl<T, A> AsMut<T> for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    Source§

    fn as_mut(&mut self) -> &mut T

    Converts this type into a mutable reference of the (usually inferred) input type.
    ","AsMut","iroh_relay::dns::BoxIter"],["
    1.63.0 · Source§

    impl<T> AsRawFd for Box<T>
    where\n T: AsRawFd,

    Source§

    fn as_raw_fd(&self) -> i32

    Extracts the raw file descriptor. Read more
    ","AsRawFd","iroh_relay::dns::BoxIter"],["
    1.5.0 · Source§

    impl<T, A> AsRef<T> for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    Source§

    fn as_ref(&self) -> &T

    Converts this type into a shared reference of the (usually inferred) input type.
    ","AsRef","iroh_relay::dns::BoxIter"],["
    §

    impl<T> AsyncBufRead for Box<T>
    where\n T: AsyncBufRead + Unpin + ?Sized,

    §

    fn poll_fill_buf(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<&[u8], Error>>

    Attempt to return the contents of the internal buffer, filling it with more data\nfrom the inner reader if it is empty. Read more
    §

    fn consume(self: Pin<&mut Box<T>>, amt: usize)

    Tells this buffer that amt bytes have been consumed from the buffer,\nso they should no longer be returned in calls to poll_read. Read more
    ","AsyncBufRead","iroh_relay::dns::BoxIter"],["
    §

    impl<T> AsyncBufRead for Box<T>
    where\n T: AsyncBufRead + Unpin + ?Sized,

    §

    fn poll_fill_buf(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<&[u8], Error>>

    Attempts to return the contents of the internal buffer, filling it with more data\nfrom the inner reader if it is empty. Read more
    §

    fn consume(self: Pin<&mut Box<T>>, amt: usize)

    Tells this buffer that amt bytes have been consumed from the buffer,\nso they should no longer be returned in calls to poll_read. Read more
    ","AsyncBufRead","iroh_relay::dns::BoxIter"],["
    1.85.0 · Source§

    impl<Args, F, A> AsyncFn<Args> for Box<F, A>
    where\n Args: Tuple,\n F: AsyncFn<Args> + ?Sized,\n A: Allocator,

    Source§

    extern "rust-call" fn async_call(\n &self,\n args: Args,\n) -> <Box<F, A> as AsyncFnMut<Args>>::CallRefFuture<'_>

    🔬This is a nightly-only experimental API. (async_fn_traits)
    Call the AsyncFn, returning a future which may borrow from the called closure.
    ","AsyncFn","iroh_relay::dns::BoxIter"],["
    1.85.0 · Source§

    impl<Args, F, A> AsyncFnMut<Args> for Box<F, A>
    where\n Args: Tuple,\n F: AsyncFnMut<Args> + ?Sized,\n A: Allocator,

    Source§

    type CallRefFuture<'a> = <F as AsyncFnMut<Args>>::CallRefFuture<'a>\nwhere\n Box<F, A>: 'a

    🔬This is a nightly-only experimental API. (async_fn_traits)
    Source§

    extern "rust-call" fn async_call_mut(\n &mut self,\n args: Args,\n) -> <Box<F, A> as AsyncFnMut<Args>>::CallRefFuture<'_>

    🔬This is a nightly-only experimental API. (async_fn_traits)
    Call the AsyncFnMut, returning a future which may borrow from the called closure.
    ","AsyncFnMut","iroh_relay::dns::BoxIter"],["
    1.85.0 · Source§

    impl<Args, F, A> AsyncFnOnce<Args> for Box<F, A>
    where\n Args: Tuple,\n F: AsyncFnOnce<Args> + ?Sized,\n A: Allocator,

    Source§

    type Output = <F as AsyncFnOnce<Args>>::Output

    🔬This is a nightly-only experimental API. (async_fn_traits)
    Output type of the called closure’s future.
    Source§

    type CallOnceFuture = <F as AsyncFnOnce<Args>>::CallOnceFuture

    🔬This is a nightly-only experimental API. (async_fn_traits)
    Future returned by AsyncFnOnce::async_call_once.
    Source§

    extern "rust-call" fn async_call_once(\n self,\n args: Args,\n) -> <Box<F, A> as AsyncFnOnce<Args>>::CallOnceFuture

    🔬This is a nightly-only experimental API. (async_fn_traits)
    Call the AsyncFnOnce, returning a future which may move out of the called closure.
    ","AsyncFnOnce","iroh_relay::dns::BoxIter"],["
    Source§

    impl<S> AsyncIterator for Box<S>
    where\n S: AsyncIterator + Unpin + ?Sized,

    Source§

    type Item = <S as AsyncIterator>::Item

    🔬This is a nightly-only experimental API. (async_iterator)
    The type of items yielded by the async iterator.
    Source§

    fn poll_next(\n self: Pin<&mut Box<S>>,\n cx: &mut Context<'_>,\n) -> Poll<Option<<Box<S> as AsyncIterator>::Item>>

    🔬This is a nightly-only experimental API. (async_iterator)
    Attempts to pull out the next value of this async iterator, registering the\ncurrent task for wakeup if the value is not yet available, and returning\nNone if the async iterator is exhausted. Read more
    Source§

    fn size_hint(&self) -> (usize, Option<usize>)

    🔬This is a nightly-only experimental API. (async_iterator)
    Returns the bounds on the remaining length of the async iterator. Read more
    ","AsyncIterator","iroh_relay::dns::BoxIter"],["
    §

    impl<T> AsyncRead for Box<T>
    where\n T: AsyncRead + Unpin + ?Sized,

    §

    fn poll_read(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n buf: &mut ReadBuf<'_>,\n) -> Poll<Result<(), Error>>

    Attempts to read from the AsyncRead into buf. Read more
    ","AsyncRead","iroh_relay::dns::BoxIter"],["
    §

    impl<T> AsyncRead for Box<T>
    where\n T: AsyncRead + Unpin + ?Sized,

    §

    fn poll_read(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n buf: &mut [u8],\n) -> Poll<Result<usize, Error>>

    Attempt to read from the AsyncRead into buf. Read more
    §

    fn poll_read_vectored(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n bufs: &mut [IoSliceMut<'_>],\n) -> Poll<Result<usize, Error>>

    Attempt to read from the AsyncRead into bufs using vectored\nIO operations. Read more
    ","AsyncRead","iroh_relay::dns::BoxIter"],["
    §

    impl<T> AsyncSeek for Box<T>
    where\n T: AsyncSeek + Unpin + ?Sized,

    §

    fn poll_seek(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n pos: SeekFrom,\n) -> Poll<Result<u64, Error>>

    Attempt to seek to an offset, in bytes, in a stream. Read more
    ","AsyncSeek","iroh_relay::dns::BoxIter"],["
    §

    impl<T> AsyncSeek for Box<T>
    where\n T: AsyncSeek + Unpin + ?Sized,

    §

    fn start_seek(self: Pin<&mut Box<T>>, pos: SeekFrom) -> Result<(), Error>

    Attempts to seek to an offset, in bytes, in a stream. Read more
    §

    fn poll_complete(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<u64, Error>>

    Waits for a seek operation to complete. Read more
    ","AsyncSeek","iroh_relay::dns::BoxIter"],["
    §

    impl<T> AsyncWrite for Box<T>
    where\n T: AsyncWrite + Unpin + ?Sized,

    §

    fn poll_write(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n buf: &[u8],\n) -> Poll<Result<usize, Error>>

    Attempt to write bytes from buf into the object. Read more
    §

    fn poll_write_vectored(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n bufs: &[IoSlice<'_>],\n) -> Poll<Result<usize, Error>>

    Attempt to write bytes from bufs into the object using vectored\nIO operations. Read more
    §

    fn poll_flush(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<(), Error>>

    Attempt to flush the object, ensuring that any buffered data reach\ntheir destination. Read more
    §

    fn poll_close(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<(), Error>>

    Attempt to close the object. Read more
    ","AsyncWrite","iroh_relay::dns::BoxIter"],["
    §

    impl<T> AsyncWrite for Box<T>
    where\n T: AsyncWrite + Unpin + ?Sized,

    §

    fn poll_write(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n buf: &[u8],\n) -> Poll<Result<usize, Error>>

    Attempt to write bytes from buf into the object. Read more
    §

    fn poll_write_vectored(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n bufs: &[IoSlice<'_>],\n) -> Poll<Result<usize, Error>>

    Like poll_write, except that it writes from a slice of buffers. Read more
    §

    fn is_write_vectored(&self) -> bool

    Determines if this writer has an efficient poll_write_vectored\nimplementation. Read more
    §

    fn poll_flush(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<(), Error>>

    Attempts to flush the object, ensuring that any buffered data reach\ntheir destination. Read more
    §

    fn poll_shutdown(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<(), Error>>

    Initiates or attempts to shut down this writer, returning success when\nthe I/O connection has completely shut down. Read more
    ","AsyncWrite","iroh_relay::dns::BoxIter"],["
    §

    impl<T> Body for Box<T>
    where\n T: Body + Unpin + ?Sized,

    §

    type Data = <T as Body>::Data

    Values yielded by the Body.
    §

    type Error = <T as Body>::Error

    The error type this Body might generate.
    §

    fn poll_frame(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n) -> Poll<Option<Result<Frame<<Box<T> as Body>::Data>, <Box<T> as Body>::Error>>>

    Attempt to pull out the next data buffer of this stream.
    §

    fn is_end_stream(&self) -> bool

    Returns true when the end of stream has been reached. Read more
    §

    fn size_hint(&self) -> SizeHint

    Returns the bounds on the remaining length of the stream. Read more
    ","Body","iroh_relay::dns::BoxIter"],["
    1.1.0 · Source§

    impl<T, A> Borrow<T> for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    ","Borrow","iroh_relay::dns::BoxIter"],["
    1.1.0 · Source§

    impl<T, A> BorrowMut<T> for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    ","BorrowMut","iroh_relay::dns::BoxIter"],["
    Source§

    impl<T> Box<T>
    where\n T: ?Sized,

    1.4.0 · Source

    pub unsafe fn from_raw(raw: *mut T) -> Box<T>

    Available on crate feature server only.

    Constructs a box from a raw pointer.

    \n

    After calling this function, the raw pointer is owned by the\nresulting Box. Specifically, the Box destructor will call\nthe destructor of T and free the allocated memory. For this\nto be safe, the memory must have been allocated in accordance\nwith the memory layout used by Box .

    \n
    §Safety
    \n

    This function is unsafe because improper use may lead to\nmemory problems. For example, a double-free may occur if the\nfunction is called twice on the same raw pointer.

    \n

    The raw pointer must point to a block of memory allocated by the global allocator.

    \n

    The safety conditions are described in the memory layout section.

    \n
    §Examples
    \n

    Recreate a Box which was previously converted to a raw pointer\nusing Box::into_raw:

    \n\n
    let x = Box::new(5);\nlet ptr = Box::into_raw(x);\nlet x = unsafe { Box::from_raw(ptr) };
    \n

    Manually create a Box from scratch by using the global allocator:

    \n\n
    use std::alloc::{alloc, Layout};\n\nunsafe {\n    let ptr = alloc(Layout::new::<i32>()) as *mut i32;\n    // In general .write is required to avoid attempting to destruct\n    // the (uninitialized) previous contents of `ptr`, though for this\n    // simple example `*ptr = 5` would have worked as well.\n    ptr.write(5);\n    let x = Box::from_raw(ptr);\n}
    Source

    pub unsafe fn from_non_null(ptr: NonNull<T>) -> Box<T>

    🔬This is a nightly-only experimental API. (box_vec_non_null)
    Available on crate feature server only.

    Constructs a box from a NonNull pointer.

    \n

    After calling this function, the NonNull pointer is owned by\nthe resulting Box. Specifically, the Box destructor will call\nthe destructor of T and free the allocated memory. For this\nto be safe, the memory must have been allocated in accordance\nwith the memory layout used by Box .

    \n
    §Safety
    \n

    This function is unsafe because improper use may lead to\nmemory problems. For example, a double-free may occur if the\nfunction is called twice on the same NonNull pointer.

    \n

    The non-null pointer must point to a block of memory allocated by the global allocator.

    \n

    The safety conditions are described in the memory layout section.

    \n
    §Examples
    \n

    Recreate a Box which was previously converted to a NonNull\npointer using Box::into_non_null:

    \n\n
    #![feature(box_vec_non_null)]\n\nlet x = Box::new(5);\nlet non_null = Box::into_non_null(x);\nlet x = unsafe { Box::from_non_null(non_null) };
    \n

    Manually create a Box from scratch by using the global allocator:

    \n\n
    #![feature(box_vec_non_null)]\n\nuse std::alloc::{alloc, Layout};\nuse std::ptr::NonNull;\n\nunsafe {\n    let non_null = NonNull::new(alloc(Layout::new::<i32>()).cast::<i32>())\n        .expect(\"allocation failed\");\n    // In general .write is required to avoid attempting to destruct\n    // the (uninitialized) previous contents of `non_null`.\n    non_null.write(5);\n    let x = Box::from_non_null(non_null);\n}
    1.4.0 · Source

    pub fn into_raw(b: Box<T>) -> *mut T

    Available on crate feature server only.

    Consumes the Box, returning a wrapped raw pointer.

    \n

    The pointer will be properly aligned and non-null.

    \n

    After calling this function, the caller is responsible for the\nmemory previously managed by the Box. In particular, the\ncaller should properly destroy T and release the memory, taking\ninto account the memory layout used by Box. The easiest way to\ndo this is to convert the raw pointer back into a Box with the\nBox::from_raw function, allowing the Box destructor to perform\nthe cleanup.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::into_raw(b) instead of b.into_raw(). This\nis so that there is no conflict with a method on the inner type.

    \n
    §Examples
    \n

    Converting the raw pointer back into a Box with Box::from_raw\nfor automatic cleanup:

    \n\n
    let x = Box::new(String::from(\"Hello\"));\nlet ptr = Box::into_raw(x);\nlet x = unsafe { Box::from_raw(ptr) };
    \n

    Manual cleanup by explicitly running the destructor and deallocating\nthe memory:

    \n\n
    use std::alloc::{dealloc, Layout};\nuse std::ptr;\n\nlet x = Box::new(String::from(\"Hello\"));\nlet ptr = Box::into_raw(x);\nunsafe {\n    ptr::drop_in_place(ptr);\n    dealloc(ptr as *mut u8, Layout::new::<String>());\n}
    \n

    Note: This is equivalent to the following:

    \n\n
    let x = Box::new(String::from(\"Hello\"));\nlet ptr = Box::into_raw(x);\nunsafe {\n    drop(Box::from_raw(ptr));\n}
    Source

    pub fn into_non_null(b: Box<T>) -> NonNull<T>

    🔬This is a nightly-only experimental API. (box_vec_non_null)
    Available on crate feature server only.

    Consumes the Box, returning a wrapped NonNull pointer.

    \n

    The pointer will be properly aligned.

    \n

    After calling this function, the caller is responsible for the\nmemory previously managed by the Box. In particular, the\ncaller should properly destroy T and release the memory, taking\ninto account the memory layout used by Box. The easiest way to\ndo this is to convert the NonNull pointer back into a Box with the\nBox::from_non_null function, allowing the Box destructor to\nperform the cleanup.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::into_non_null(b) instead of b.into_non_null().\nThis is so that there is no conflict with a method on the inner type.

    \n
    §Examples
    \n

    Converting the NonNull pointer back into a Box with Box::from_non_null\nfor automatic cleanup:

    \n\n
    #![feature(box_vec_non_null)]\n\nlet x = Box::new(String::from(\"Hello\"));\nlet non_null = Box::into_non_null(x);\nlet x = unsafe { Box::from_non_null(non_null) };
    \n

    Manual cleanup by explicitly running the destructor and deallocating\nthe memory:

    \n\n
    #![feature(box_vec_non_null)]\n\nuse std::alloc::{dealloc, Layout};\n\nlet x = Box::new(String::from(\"Hello\"));\nlet non_null = Box::into_non_null(x);\nunsafe {\n    non_null.drop_in_place();\n    dealloc(non_null.as_ptr().cast::<u8>(), Layout::new::<String>());\n}
    \n

    Note: This is equivalent to the following:

    \n\n
    #![feature(box_vec_non_null)]\n\nlet x = Box::new(String::from(\"Hello\"));\nlet non_null = Box::into_non_null(x);\nunsafe {\n    drop(Box::from_non_null(non_null));\n}
    ",0,"iroh_relay::dns::BoxIter"],["
    Source§

    impl<T> Box<T>

    1.0.0 · Source

    pub fn new(x: T) -> Box<T>

    Available on crate feature server only.

    Allocates memory on the heap and then places x into it.

    \n

    This doesn’t actually allocate if T is zero-sized.

    \n
    §Examples
    \n
    let five = Box::new(5);
    1.82.0 · Source

    pub fn new_uninit() -> Box<MaybeUninit<T>>

    Available on crate feature server only.

    Constructs a new box with uninitialized contents.

    \n
    §Examples
    \n
    let mut five = Box::<u32>::new_uninit();\n// Deferred initialization:\nfive.write(5);\nlet five = unsafe { five.assume_init() };\n\nassert_eq!(*five, 5)
    1.92.0 · Source

    pub fn new_zeroed() -> Box<MaybeUninit<T>>

    Available on crate feature server only.

    Constructs a new Box with uninitialized contents, with the memory\nbeing filled with 0 bytes.

    \n

    See MaybeUninit::zeroed for examples of correct and incorrect usage\nof this method.

    \n
    §Examples
    \n
    let zero = Box::<u32>::new_zeroed();\nlet zero = unsafe { zero.assume_init() };\n\nassert_eq!(*zero, 0)
    1.33.0 · Source

    pub fn pin(x: T) -> Pin<Box<T>>

    Available on crate feature server only.

    Constructs a new Pin<Box<T>>. If T does not implement Unpin, then\nx will be pinned in memory and unable to be moved.

    \n

    Constructing and pinning of the Box can also be done in two steps: Box::pin(x)\ndoes the same as Box::into_pin(Box::new(x)). Consider using\ninto_pin if you already have a Box<T>, or if you want to\nconstruct a (pinned) Box in a different way than with Box::new.

    \n
    Source

    pub fn try_new(x: T) -> Result<Box<T>, AllocError>

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Allocates memory on the heap then places x into it,\nreturning an error if the allocation fails

    \n

    This doesn’t actually allocate if T is zero-sized.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nlet five = Box::try_new(5)?;
    Source

    pub fn try_new_uninit() -> Result<Box<MaybeUninit<T>>, AllocError>

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Constructs a new box with uninitialized contents on the heap,\nreturning an error if the allocation fails

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nlet mut five = Box::<u32>::try_new_uninit()?;\n// Deferred initialization:\nfive.write(5);\nlet five = unsafe { five.assume_init() };\n\nassert_eq!(*five, 5);
    Source

    pub fn try_new_zeroed() -> Result<Box<MaybeUninit<T>>, AllocError>

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Constructs a new Box with uninitialized contents, with the memory\nbeing filled with 0 bytes on the heap

    \n

    See MaybeUninit::zeroed for examples of correct and incorrect usage\nof this method.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nlet zero = Box::<u32>::try_new_zeroed()?;\nlet zero = unsafe { zero.assume_init() };\n\nassert_eq!(*zero, 0);
    ",0,"iroh_relay::dns::BoxIter"],["
    Source§

    impl<T, A> Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    Source

    pub unsafe fn from_raw_in(raw: *mut T, alloc: A) -> Box<T, A>

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Constructs a box from a raw pointer in the given allocator.

    \n

    After calling this function, the raw pointer is owned by the\nresulting Box. Specifically, the Box destructor will call\nthe destructor of T and free the allocated memory. For this\nto be safe, the memory must have been allocated in accordance\nwith the memory layout used by Box .

    \n
    §Safety
    \n

    This function is unsafe because improper use may lead to\nmemory problems. For example, a double-free may occur if the\nfunction is called twice on the same raw pointer.

    \n

    The raw pointer must point to a block of memory allocated by alloc.

    \n
    §Examples
    \n

    Recreate a Box which was previously converted to a raw pointer\nusing Box::into_raw_with_allocator:

    \n\n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet x = Box::new_in(5, System);\nlet (ptr, alloc) = Box::into_raw_with_allocator(x);\nlet x = unsafe { Box::from_raw_in(ptr, alloc) };
    \n

    Manually create a Box from scratch by using the system allocator:

    \n\n
    #![feature(allocator_api, slice_ptr_get)]\n\nuse std::alloc::{Allocator, Layout, System};\n\nunsafe {\n    let ptr = System.allocate(Layout::new::<i32>())?.as_mut_ptr() as *mut i32;\n    // In general .write is required to avoid attempting to destruct\n    // the (uninitialized) previous contents of `ptr`, though for this\n    // simple example `*ptr = 5` would have worked as well.\n    ptr.write(5);\n    let x = Box::from_raw_in(ptr, System);\n}
    Source

    pub unsafe fn from_non_null_in(raw: NonNull<T>, alloc: A) -> Box<T, A>

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Constructs a box from a NonNull pointer in the given allocator.

    \n

    After calling this function, the NonNull pointer is owned by\nthe resulting Box. Specifically, the Box destructor will call\nthe destructor of T and free the allocated memory. For this\nto be safe, the memory must have been allocated in accordance\nwith the memory layout used by Box .

    \n
    §Safety
    \n

    This function is unsafe because improper use may lead to\nmemory problems. For example, a double-free may occur if the\nfunction is called twice on the same raw pointer.

    \n

    The non-null pointer must point to a block of memory allocated by alloc.

    \n
    §Examples
    \n

    Recreate a Box which was previously converted to a NonNull pointer\nusing Box::into_non_null_with_allocator:

    \n\n
    #![feature(allocator_api, box_vec_non_null)]\n\nuse std::alloc::System;\n\nlet x = Box::new_in(5, System);\nlet (non_null, alloc) = Box::into_non_null_with_allocator(x);\nlet x = unsafe { Box::from_non_null_in(non_null, alloc) };
    \n

    Manually create a Box from scratch by using the system allocator:

    \n\n
    #![feature(allocator_api, box_vec_non_null, slice_ptr_get)]\n\nuse std::alloc::{Allocator, Layout, System};\n\nunsafe {\n    let non_null = System.allocate(Layout::new::<i32>())?.cast::<i32>();\n    // In general .write is required to avoid attempting to destruct\n    // the (uninitialized) previous contents of `non_null`.\n    non_null.write(5);\n    let x = Box::from_non_null_in(non_null, System);\n}
    Source

    pub fn into_raw_with_allocator(b: Box<T, A>) -> (*mut T, A)

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Consumes the Box, returning a wrapped raw pointer and the allocator.

    \n

    The pointer will be properly aligned and non-null.

    \n

    After calling this function, the caller is responsible for the\nmemory previously managed by the Box. In particular, the\ncaller should properly destroy T and release the memory, taking\ninto account the memory layout used by Box. The easiest way to\ndo this is to convert the raw pointer back into a Box with the\nBox::from_raw_in function, allowing the Box destructor to perform\nthe cleanup.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::into_raw_with_allocator(b) instead of b.into_raw_with_allocator(). This\nis so that there is no conflict with a method on the inner type.

    \n
    §Examples
    \n

    Converting the raw pointer back into a Box with Box::from_raw_in\nfor automatic cleanup:

    \n\n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet x = Box::new_in(String::from(\"Hello\"), System);\nlet (ptr, alloc) = Box::into_raw_with_allocator(x);\nlet x = unsafe { Box::from_raw_in(ptr, alloc) };
    \n

    Manual cleanup by explicitly running the destructor and deallocating\nthe memory:

    \n\n
    #![feature(allocator_api)]\n\nuse std::alloc::{Allocator, Layout, System};\nuse std::ptr::{self, NonNull};\n\nlet x = Box::new_in(String::from(\"Hello\"), System);\nlet (ptr, alloc) = Box::into_raw_with_allocator(x);\nunsafe {\n    ptr::drop_in_place(ptr);\n    let non_null = NonNull::new_unchecked(ptr);\n    alloc.deallocate(non_null.cast(), Layout::new::<String>());\n}
    Source

    pub fn into_non_null_with_allocator(b: Box<T, A>) -> (NonNull<T>, A)

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Consumes the Box, returning a wrapped NonNull pointer and the allocator.

    \n

    The pointer will be properly aligned.

    \n

    After calling this function, the caller is responsible for the\nmemory previously managed by the Box. In particular, the\ncaller should properly destroy T and release the memory, taking\ninto account the memory layout used by Box. The easiest way to\ndo this is to convert the NonNull pointer back into a Box with the\nBox::from_non_null_in function, allowing the Box destructor to\nperform the cleanup.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::into_non_null_with_allocator(b) instead of\nb.into_non_null_with_allocator(). This is so that there is no\nconflict with a method on the inner type.

    \n
    §Examples
    \n

    Converting the NonNull pointer back into a Box with\nBox::from_non_null_in for automatic cleanup:

    \n\n
    #![feature(allocator_api, box_vec_non_null)]\n\nuse std::alloc::System;\n\nlet x = Box::new_in(String::from(\"Hello\"), System);\nlet (non_null, alloc) = Box::into_non_null_with_allocator(x);\nlet x = unsafe { Box::from_non_null_in(non_null, alloc) };
    \n

    Manual cleanup by explicitly running the destructor and deallocating\nthe memory:

    \n\n
    #![feature(allocator_api, box_vec_non_null)]\n\nuse std::alloc::{Allocator, Layout, System};\n\nlet x = Box::new_in(String::from(\"Hello\"), System);\nlet (non_null, alloc) = Box::into_non_null_with_allocator(x);\nunsafe {\n    non_null.drop_in_place();\n    alloc.deallocate(non_null.cast::<u8>(), Layout::new::<String>());\n}
    Source

    pub fn as_mut_ptr(b: &mut Box<T, A>) -> *mut T

    🔬This is a nightly-only experimental API. (box_as_ptr)
    Available on crate feature server only.

    Returns a raw mutable pointer to the Box’s contents.

    \n

    The caller must ensure that the Box outlives the pointer this\nfunction returns, or else it will end up dangling.

    \n

    This method guarantees that for the purpose of the aliasing model, this method\ndoes not materialize a reference to the underlying memory, and thus the returned pointer\nwill remain valid when mixed with other calls to as_ptr and as_mut_ptr.\nNote that calling other methods that materialize references to the memory\nmay still invalidate this pointer.\nSee the example below for how this guarantee can be used.

    \n
    §Examples
    \n

    Due to the aliasing guarantee, the following code is legal:

    \n\n
    #![feature(box_as_ptr)]\n\nunsafe {\n    let mut b = Box::new(0);\n    let ptr1 = Box::as_mut_ptr(&mut b);\n    ptr1.write(1);\n    let ptr2 = Box::as_mut_ptr(&mut b);\n    ptr2.write(2);\n    // Notably, the write to `ptr2` did *not* invalidate `ptr1`:\n    ptr1.write(3);\n}
    Source

    pub fn as_ptr(b: &Box<T, A>) -> *const T

    🔬This is a nightly-only experimental API. (box_as_ptr)
    Available on crate feature server only.

    Returns a raw pointer to the Box’s contents.

    \n

    The caller must ensure that the Box outlives the pointer this\nfunction returns, or else it will end up dangling.

    \n

    The caller must also ensure that the memory the pointer (non-transitively) points to\nis never written to (except inside an UnsafeCell) using this pointer or any pointer\nderived from it. If you need to mutate the contents of the Box, use as_mut_ptr.

    \n

    This method guarantees that for the purpose of the aliasing model, this method\ndoes not materialize a reference to the underlying memory, and thus the returned pointer\nwill remain valid when mixed with other calls to as_ptr and as_mut_ptr.\nNote that calling other methods that materialize mutable references to the memory,\nas well as writing to this memory, may still invalidate this pointer.\nSee the example below for how this guarantee can be used.

    \n
    §Examples
    \n

    Due to the aliasing guarantee, the following code is legal:

    \n\n
    #![feature(box_as_ptr)]\n\nunsafe {\n    let mut v = Box::new(0);\n    let ptr1 = Box::as_ptr(&v);\n    let ptr2 = Box::as_mut_ptr(&mut v);\n    let _val = ptr2.read();\n    // No write to this memory has happened yet, so `ptr1` is still valid.\n    let _val = ptr1.read();\n    // However, once we do a write...\n    ptr2.write(1);\n    // ... `ptr1` is no longer valid.\n    // This would be UB: let _val = ptr1.read();\n}
    Source

    pub fn allocator(b: &Box<T, A>) -> &A

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Returns a reference to the underlying allocator.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::allocator(&b) instead of b.allocator(). This\nis so that there is no conflict with a method on the inner type.

    \n
    1.26.0 · Source

    pub fn leak<'a>(b: Box<T, A>) -> &'a mut T
    where\n A: 'a,

    Available on crate feature server only.

    Consumes and leaks the Box, returning a mutable reference,\n&'a mut T.

    \n

    Note that the type T must outlive the chosen lifetime 'a. If the type\nhas only static references, or none at all, then this may be chosen to be\n'static.

    \n

    This function is mainly useful for data that lives for the remainder of\nthe program’s life. Dropping the returned reference will cause a memory\nleak. If this is not acceptable, the reference should first be wrapped\nwith the Box::from_raw function producing a Box. This Box can\nthen be dropped which will properly destroy T and release the\nallocated memory.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::leak(b) instead of b.leak(). This\nis so that there is no conflict with a method on the inner type.

    \n
    §Examples
    \n

    Simple usage:

    \n\n
    let x = Box::new(41);\nlet static_ref: &'static mut usize = Box::leak(x);\n*static_ref += 1;\nassert_eq!(*static_ref, 42);
    \n

    Unsized data:

    \n\n
    let x = vec![1, 2, 3].into_boxed_slice();\nlet static_ref = Box::leak(x);\nstatic_ref[0] = 4;\nassert_eq!(*static_ref, [4, 2, 3]);
    1.63.0 · Source

    pub fn into_pin(boxed: Box<T, A>) -> Pin<Box<T, A>>
    where\n A: 'static,

    Available on crate feature server only.

    Converts a Box<T> into a Pin<Box<T>>. If T does not implement Unpin, then\n*boxed will be pinned in memory and unable to be moved.

    \n

    This conversion does not allocate on the heap and happens in place.

    \n

    This is also available via From.

    \n

    Constructing and pinning a Box with Box::into_pin(Box::new(x))\ncan also be written more concisely using Box::pin(x).\nThis into_pin method is useful if you already have a Box<T>, or you are\nconstructing a (pinned) Box in a different way than with Box::new.

    \n
    §Notes
    \n

    It’s not recommended that crates add an impl like From<Box<T>> for Pin<T>,\nas it’ll introduce an ambiguity when calling Pin::from.\nA demonstration of such a poor impl is shown below.

    \n\n
    ⓘ
    struct Foo; // A type defined in this crate.\nimpl From<Box<()>> for Pin<Foo> {\n    fn from(_: Box<()>) -> Pin<Foo> {\n        Pin::new(Foo)\n    }\n}\n\nlet foo = Box::new(());\nlet bar = Pin::from(foo);
    ",0,"iroh_relay::dns::BoxIter"],["
    Source§

    impl<T, A> Box<T, A>
    where\n A: Allocator,

    Source

    pub fn new_in(x: T, alloc: A) -> Box<T, A>
    where\n A: Allocator,

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Allocates memory in the given allocator then places x into it.

    \n

    This doesn’t actually allocate if T is zero-sized.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet five = Box::new_in(5, System);
    Source

    pub fn try_new_in(x: T, alloc: A) -> Result<Box<T, A>, AllocError>
    where\n A: Allocator,

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Allocates memory in the given allocator then places x into it,\nreturning an error if the allocation fails

    \n

    This doesn’t actually allocate if T is zero-sized.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet five = Box::try_new_in(5, System)?;
    Source

    pub fn new_uninit_in(alloc: A) -> Box<MaybeUninit<T>, A>
    where\n A: Allocator,

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Constructs a new box with uninitialized contents in the provided allocator.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet mut five = Box::<u32, _>::new_uninit_in(System);\n// Deferred initialization:\nfive.write(5);\nlet five = unsafe { five.assume_init() };\n\nassert_eq!(*five, 5)
    Source

    pub fn try_new_uninit_in(alloc: A) -> Result<Box<MaybeUninit<T>, A>, AllocError>
    where\n A: Allocator,

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Constructs a new box with uninitialized contents in the provided allocator,\nreturning an error if the allocation fails

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet mut five = Box::<u32, _>::try_new_uninit_in(System)?;\n// Deferred initialization:\nfive.write(5);\nlet five = unsafe { five.assume_init() };\n\nassert_eq!(*five, 5);
    Source

    pub fn new_zeroed_in(alloc: A) -> Box<MaybeUninit<T>, A>
    where\n A: Allocator,

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Constructs a new Box with uninitialized contents, with the memory\nbeing filled with 0 bytes in the provided allocator.

    \n

    See MaybeUninit::zeroed for examples of correct and incorrect usage\nof this method.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet zero = Box::<u32, _>::new_zeroed_in(System);\nlet zero = unsafe { zero.assume_init() };\n\nassert_eq!(*zero, 0)
    Source

    pub fn try_new_zeroed_in(alloc: A) -> Result<Box<MaybeUninit<T>, A>, AllocError>
    where\n A: Allocator,

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Constructs a new Box with uninitialized contents, with the memory\nbeing filled with 0 bytes in the provided allocator,\nreturning an error if the allocation fails,

    \n

    See MaybeUninit::zeroed for examples of correct and incorrect usage\nof this method.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet zero = Box::<u32, _>::try_new_zeroed_in(System)?;\nlet zero = unsafe { zero.assume_init() };\n\nassert_eq!(*zero, 0);
    Source

    pub fn pin_in(x: T, alloc: A) -> Pin<Box<T, A>>
    where\n A: 'static + Allocator,

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Constructs a new Pin<Box<T, A>>. If T does not implement Unpin, then\nx will be pinned in memory and unable to be moved.

    \n

    Constructing and pinning of the Box can also be done in two steps: Box::pin_in(x, alloc)\ndoes the same as Box::into_pin(Box::new_in(x, alloc)). Consider using\ninto_pin if you already have a Box<T, A>, or if you want to\nconstruct a (pinned) Box in a different way than with Box::new_in.

    \n
    Source

    pub fn into_boxed_slice(boxed: Box<T, A>) -> Box<[T], A>

    🔬This is a nightly-only experimental API. (box_into_boxed_slice)
    Available on crate feature server only.

    Converts a Box<T> into a Box<[T]>

    \n

    This conversion does not allocate on the heap and happens in place.

    \n
    Source

    pub fn into_inner(boxed: Box<T, A>) -> T

    🔬This is a nightly-only experimental API. (box_into_inner)
    Available on crate feature server only.

    Consumes the Box, returning the wrapped value.

    \n
    §Examples
    \n
    #![feature(box_into_inner)]\n\nlet c = Box::new(5);\n\nassert_eq!(Box::into_inner(c), 5);
    Source

    pub fn take(boxed: Box<T, A>) -> (T, Box<MaybeUninit<T>, A>)

    🔬This is a nightly-only experimental API. (box_take)
    Available on crate feature server only.

    Consumes the Box without consuming its allocation, returning the wrapped value and a Box\nto the uninitialized memory where the wrapped value used to live.

    \n

    This can be used together with write to reuse the allocation for multiple\nboxed values.

    \n
    §Examples
    \n
    #![feature(box_take)]\n\nlet c = Box::new(5);\n\n// take the value out of the box\nlet (value, uninit) = Box::take(c);\nassert_eq!(value, 5);\n\n// reuse the box for a second value\nlet c = Box::write(uninit, 6);\nassert_eq!(*c, 6);
    ",0,"iroh_relay::dns::BoxIter"],["
    §

    impl<T> Buf for Box<T>
    where\n T: Buf + ?Sized,

    §

    fn remaining(&self) -> usize

    Returns the number of bytes between the current position and the end of\nthe buffer. Read more
    §

    fn chunk(&self) -> &[u8] ⓘ

    Returns a slice starting at the current position and of length between 0\nand Buf::remaining(). Note that this can return a shorter slice (this\nallows non-continuous internal representation). Read more
    §

    fn chunks_vectored<'b>(&'b self, dst: &mut [IoSlice<'b>]) -> usize

    Fills dst with potentially multiple slices starting at self’s\ncurrent position. Read more
    §

    fn advance(&mut self, cnt: usize)

    Advance the internal cursor of the Buf Read more
    §

    fn has_remaining(&self) -> bool

    Returns true if there are any more bytes to consume Read more
    §

    fn copy_to_slice(&mut self, dst: &mut [u8])

    Copies bytes from self into dst. Read more
    §

    fn get_u8(&mut self) -> u8

    Gets an unsigned 8 bit integer from self. Read more
    §

    fn get_i8(&mut self) -> i8

    Gets a signed 8 bit integer from self. Read more
    §

    fn get_u16(&mut self) -> u16

    Gets an unsigned 16 bit integer from self in big-endian byte order. Read more
    §

    fn get_u16_le(&mut self) -> u16

    Gets an unsigned 16 bit integer from self in little-endian byte order. Read more
    §

    fn get_u16_ne(&mut self) -> u16

    Gets an unsigned 16 bit integer from self in native-endian byte order. Read more
    §

    fn get_i16(&mut self) -> i16

    Gets a signed 16 bit integer from self in big-endian byte order. Read more
    §

    fn get_i16_le(&mut self) -> i16

    Gets a signed 16 bit integer from self in little-endian byte order. Read more
    §

    fn get_i16_ne(&mut self) -> i16

    Gets a signed 16 bit integer from self in native-endian byte order. Read more
    §

    fn get_u32(&mut self) -> u32

    Gets an unsigned 32 bit integer from self in the big-endian byte order. Read more
    §

    fn get_u32_le(&mut self) -> u32

    Gets an unsigned 32 bit integer from self in the little-endian byte order. Read more
    §

    fn get_u32_ne(&mut self) -> u32

    Gets an unsigned 32 bit integer from self in native-endian byte order. Read more
    §

    fn get_i32(&mut self) -> i32

    Gets a signed 32 bit integer from self in big-endian byte order. Read more
    §

    fn get_i32_le(&mut self) -> i32

    Gets a signed 32 bit integer from self in little-endian byte order. Read more
    §

    fn get_i32_ne(&mut self) -> i32

    Gets a signed 32 bit integer from self in native-endian byte order. Read more
    §

    fn get_u64(&mut self) -> u64

    Gets an unsigned 64 bit integer from self in big-endian byte order. Read more
    §

    fn get_u64_le(&mut self) -> u64

    Gets an unsigned 64 bit integer from self in little-endian byte order. Read more
    §

    fn get_u64_ne(&mut self) -> u64

    Gets an unsigned 64 bit integer from self in native-endian byte order. Read more
    §

    fn get_i64(&mut self) -> i64

    Gets a signed 64 bit integer from self in big-endian byte order. Read more
    §

    fn get_i64_le(&mut self) -> i64

    Gets a signed 64 bit integer from self in little-endian byte order. Read more
    §

    fn get_i64_ne(&mut self) -> i64

    Gets a signed 64 bit integer from self in native-endian byte order. Read more
    §

    fn get_u128(&mut self) -> u128

    Gets an unsigned 128 bit integer from self in big-endian byte order. Read more
    §

    fn get_u128_le(&mut self) -> u128

    Gets an unsigned 128 bit integer from self in little-endian byte order. Read more
    §

    fn get_u128_ne(&mut self) -> u128

    Gets an unsigned 128 bit integer from self in native-endian byte order. Read more
    §

    fn get_i128(&mut self) -> i128

    Gets a signed 128 bit integer from self in big-endian byte order. Read more
    §

    fn get_i128_le(&mut self) -> i128

    Gets a signed 128 bit integer from self in little-endian byte order. Read more
    §

    fn get_i128_ne(&mut self) -> i128

    Gets a signed 128 bit integer from self in native-endian byte order. Read more
    §

    fn get_uint(&mut self, nbytes: usize) -> u64

    Gets an unsigned n-byte integer from self in big-endian byte order. Read more
    §

    fn get_uint_le(&mut self, nbytes: usize) -> u64

    Gets an unsigned n-byte integer from self in little-endian byte order. Read more
    §

    fn get_uint_ne(&mut self, nbytes: usize) -> u64

    Gets an unsigned n-byte integer from self in native-endian byte order. Read more
    §

    fn get_int(&mut self, nbytes: usize) -> i64

    Gets a signed n-byte integer from self in big-endian byte order. Read more
    §

    fn get_int_le(&mut self, nbytes: usize) -> i64

    Gets a signed n-byte integer from self in little-endian byte order. Read more
    §

    fn get_int_ne(&mut self, nbytes: usize) -> i64

    Gets a signed n-byte integer from self in native-endian byte order. Read more
    §

    fn get_f32(&mut self) -> f32

    Gets an IEEE754 single-precision (4 bytes) floating point number from\nself in big-endian byte order. Read more
    §

    fn get_f32_le(&mut self) -> f32

    Gets an IEEE754 single-precision (4 bytes) floating point number from\nself in little-endian byte order. Read more
    §

    fn get_f32_ne(&mut self) -> f32

    Gets an IEEE754 single-precision (4 bytes) floating point number from\nself in native-endian byte order. Read more
    §

    fn get_f64(&mut self) -> f64

    Gets an IEEE754 double-precision (8 bytes) floating point number from\nself in big-endian byte order. Read more
    §

    fn get_f64_le(&mut self) -> f64

    Gets an IEEE754 double-precision (8 bytes) floating point number from\nself in little-endian byte order. Read more
    §

    fn get_f64_ne(&mut self) -> f64

    Gets an IEEE754 double-precision (8 bytes) floating point number from\nself in native-endian byte order. Read more
    §

    fn try_copy_to_slice(&mut self, dst: &mut [u8]) -> Result<(), TryGetError>

    Copies bytes from self into dst. Read more
    §

    fn try_get_u8(&mut self) -> Result<u8, TryGetError>

    Gets an unsigned 8 bit integer from self. Read more
    §

    fn try_get_i8(&mut self) -> Result<i8, TryGetError>

    Gets a signed 8 bit integer from self. Read more
    §

    fn try_get_u16(&mut self) -> Result<u16, TryGetError>

    Gets an unsigned 16 bit integer from self in big-endian byte order. Read more
    §

    fn try_get_u16_le(&mut self) -> Result<u16, TryGetError>

    Gets an unsigned 16 bit integer from self in little-endian byte order. Read more
    §

    fn try_get_u16_ne(&mut self) -> Result<u16, TryGetError>

    Gets an unsigned 16 bit integer from self in native-endian byte order. Read more
    §

    fn try_get_i16(&mut self) -> Result<i16, TryGetError>

    Gets a signed 16 bit integer from self in big-endian byte order. Read more
    §

    fn try_get_i16_le(&mut self) -> Result<i16, TryGetError>

    Gets an signed 16 bit integer from self in little-endian byte order. Read more
    §

    fn try_get_i16_ne(&mut self) -> Result<i16, TryGetError>

    Gets a signed 16 bit integer from self in native-endian byte order. Read more
    §

    fn try_get_u32(&mut self) -> Result<u32, TryGetError>

    Gets an unsigned 32 bit integer from self in big-endian byte order. Read more
    §

    fn try_get_u32_le(&mut self) -> Result<u32, TryGetError>

    Gets an unsigned 32 bit integer from self in little-endian byte order. Read more
    §

    fn try_get_u32_ne(&mut self) -> Result<u32, TryGetError>

    Gets an unsigned 32 bit integer from self in native-endian byte order. Read more
    §

    fn try_get_i32(&mut self) -> Result<i32, TryGetError>

    Gets a signed 32 bit integer from self in big-endian byte order. Read more
    §

    fn try_get_i32_le(&mut self) -> Result<i32, TryGetError>

    Gets a signed 32 bit integer from self in little-endian byte order. Read more
    §

    fn try_get_i32_ne(&mut self) -> Result<i32, TryGetError>

    Gets a signed 32 bit integer from self in native-endian byte order. Read more
    §

    fn try_get_u64(&mut self) -> Result<u64, TryGetError>

    Gets an unsigned 64 bit integer from self in big-endian byte order. Read more
    §

    fn try_get_u64_le(&mut self) -> Result<u64, TryGetError>

    Gets an unsigned 64 bit integer from self in little-endian byte order. Read more
    §

    fn try_get_u64_ne(&mut self) -> Result<u64, TryGetError>

    Gets an unsigned 64 bit integer from self in native-endian byte order. Read more
    §

    fn try_get_i64(&mut self) -> Result<i64, TryGetError>

    Gets a signed 64 bit integer from self in big-endian byte order. Read more
    §

    fn try_get_i64_le(&mut self) -> Result<i64, TryGetError>

    Gets a signed 64 bit integer from self in little-endian byte order. Read more
    §

    fn try_get_i64_ne(&mut self) -> Result<i64, TryGetError>

    Gets a signed 64 bit integer from self in native-endian byte order. Read more
    §

    fn try_get_u128(&mut self) -> Result<u128, TryGetError>

    Gets an unsigned 128 bit integer from self in big-endian byte order. Read more
    §

    fn try_get_u128_le(&mut self) -> Result<u128, TryGetError>

    Gets an unsigned 128 bit integer from self in little-endian byte order. Read more
    §

    fn try_get_u128_ne(&mut self) -> Result<u128, TryGetError>

    Gets an unsigned 128 bit integer from self in native-endian byte order. Read more
    §

    fn try_get_i128(&mut self) -> Result<i128, TryGetError>

    Gets a signed 128 bit integer from self in big-endian byte order. Read more
    §

    fn try_get_i128_le(&mut self) -> Result<i128, TryGetError>

    Gets a signed 128 bit integer from self in little-endian byte order. Read more
    §

    fn try_get_i128_ne(&mut self) -> Result<i128, TryGetError>

    Gets a signed 128 bit integer from self in native-endian byte order. Read more
    §

    fn try_get_uint(&mut self, nbytes: usize) -> Result<u64, TryGetError>

    Gets an unsigned n-byte integer from self in big-endian byte order. Read more
    §

    fn try_get_uint_le(&mut self, nbytes: usize) -> Result<u64, TryGetError>

    Gets an unsigned n-byte integer from self in little-endian byte order. Read more
    §

    fn try_get_uint_ne(&mut self, nbytes: usize) -> Result<u64, TryGetError>

    Gets an unsigned n-byte integer from self in native-endian byte order. Read more
    §

    fn try_get_int(&mut self, nbytes: usize) -> Result<i64, TryGetError>

    Gets a signed n-byte integer from self in big-endian byte order. Read more
    §

    fn try_get_int_le(&mut self, nbytes: usize) -> Result<i64, TryGetError>

    Gets a signed n-byte integer from self in little-endian byte order. Read more
    §

    fn try_get_int_ne(&mut self, nbytes: usize) -> Result<i64, TryGetError>

    Gets a signed n-byte integer from self in native-endian byte order. Read more
    §

    fn try_get_f32(&mut self) -> Result<f32, TryGetError>

    Gets an IEEE754 single-precision (4 bytes) floating point number from\nself in big-endian byte order. Read more
    §

    fn try_get_f32_le(&mut self) -> Result<f32, TryGetError>

    Gets an IEEE754 single-precision (4 bytes) floating point number from\nself in little-endian byte order. Read more
    §

    fn try_get_f32_ne(&mut self) -> Result<f32, TryGetError>

    Gets an IEEE754 single-precision (4 bytes) floating point number from\nself in native-endian byte order. Read more
    §

    fn try_get_f64(&mut self) -> Result<f64, TryGetError>

    Gets an IEEE754 double-precision (8 bytes) floating point number from\nself in big-endian byte order. Read more
    §

    fn try_get_f64_le(&mut self) -> Result<f64, TryGetError>

    Gets an IEEE754 double-precision (8 bytes) floating point number from\nself in little-endian byte order. Read more
    §

    fn try_get_f64_ne(&mut self) -> Result<f64, TryGetError>

    Gets an IEEE754 double-precision (8 bytes) floating point number from\nself in native-endian byte order. Read more
    §

    fn copy_to_bytes(&mut self, len: usize) -> Bytes

    Consumes len bytes inside self and returns new instance of Bytes\nwith this data. Read more
    §

    fn take(self, limit: usize) -> Take<Self>
    where\n Self: Sized,

    Creates an adaptor which will read at most limit bytes from self. Read more
    §

    fn chain<U>(self, next: U) -> Chain<Self, U>
    where\n U: Buf,\n Self: Sized,

    Creates an adaptor which will chain this buffer with another. Read more
    §

    fn reader(self) -> Reader<Self>
    where\n Self: Sized,

    Creates an adaptor which implements the Read trait for self. Read more
    ","Buf","iroh_relay::dns::BoxIter"],["
    §

    impl<T> BufMut for Box<T>
    where\n T: BufMut + ?Sized,

    §

    fn remaining_mut(&self) -> usize

    Returns the number of bytes that can be written from the current\nposition until the end of the buffer is reached. Read more
    §

    fn chunk_mut(&mut self) -> &mut UninitSlice

    Returns a mutable slice starting at the current BufMut position and of\nlength between 0 and BufMut::remaining_mut(). Note that this can be shorter than the\nwhole remainder of the buffer (this allows non-continuous implementation). Read more
    §

    unsafe fn advance_mut(&mut self, cnt: usize)

    Advance the internal cursor of the BufMut Read more
    §

    fn put_slice(&mut self, src: &[u8])

    Transfer bytes into self from src and advance the cursor by the\nnumber of bytes written. Read more
    §

    fn put_u8(&mut self, n: u8)

    Writes an unsigned 8 bit integer to self. Read more
    §

    fn put_i8(&mut self, n: i8)

    Writes a signed 8 bit integer to self. Read more
    §

    fn put_u16(&mut self, n: u16)

    Writes an unsigned 16 bit integer to self in big-endian byte order. Read more
    §

    fn put_u16_le(&mut self, n: u16)

    Writes an unsigned 16 bit integer to self in little-endian byte order. Read more
    §

    fn put_u16_ne(&mut self, n: u16)

    Writes an unsigned 16 bit integer to self in native-endian byte order. Read more
    §

    fn put_i16(&mut self, n: i16)

    Writes a signed 16 bit integer to self in big-endian byte order. Read more
    §

    fn put_i16_le(&mut self, n: i16)

    Writes a signed 16 bit integer to self in little-endian byte order. Read more
    §

    fn put_i16_ne(&mut self, n: i16)

    Writes a signed 16 bit integer to self in native-endian byte order. Read more
    §

    fn put_u32(&mut self, n: u32)

    Writes an unsigned 32 bit integer to self in big-endian byte order. Read more
    §

    fn put_u32_le(&mut self, n: u32)

    Writes an unsigned 32 bit integer to self in little-endian byte order. Read more
    §

    fn put_u32_ne(&mut self, n: u32)

    Writes an unsigned 32 bit integer to self in native-endian byte order. Read more
    §

    fn put_i32(&mut self, n: i32)

    Writes a signed 32 bit integer to self in big-endian byte order. Read more
    §

    fn put_i32_le(&mut self, n: i32)

    Writes a signed 32 bit integer to self in little-endian byte order. Read more
    §

    fn put_i32_ne(&mut self, n: i32)

    Writes a signed 32 bit integer to self in native-endian byte order. Read more
    §

    fn put_u64(&mut self, n: u64)

    Writes an unsigned 64 bit integer to self in the big-endian byte order. Read more
    §

    fn put_u64_le(&mut self, n: u64)

    Writes an unsigned 64 bit integer to self in little-endian byte order. Read more
    §

    fn put_u64_ne(&mut self, n: u64)

    Writes an unsigned 64 bit integer to self in native-endian byte order. Read more
    §

    fn put_i64(&mut self, n: i64)

    Writes a signed 64 bit integer to self in the big-endian byte order. Read more
    §

    fn put_i64_le(&mut self, n: i64)

    Writes a signed 64 bit integer to self in little-endian byte order. Read more
    §

    fn put_i64_ne(&mut self, n: i64)

    Writes a signed 64 bit integer to self in native-endian byte order. Read more
    §

    fn has_remaining_mut(&self) -> bool

    Returns true if there is space in self for more bytes. Read more
    §

    fn put<T>(&mut self, src: T)
    where\n T: Buf,\n Self: Sized,

    Transfer bytes into self from src and advance the cursor by the\nnumber of bytes written. Read more
    §

    fn put_bytes(&mut self, val: u8, cnt: usize)

    Put cnt bytes val into self. Read more
    §

    fn put_u128(&mut self, n: u128)

    Writes an unsigned 128 bit integer to self in the big-endian byte order. Read more
    §

    fn put_u128_le(&mut self, n: u128)

    Writes an unsigned 128 bit integer to self in little-endian byte order. Read more
    §

    fn put_u128_ne(&mut self, n: u128)

    Writes an unsigned 128 bit integer to self in native-endian byte order. Read more
    §

    fn put_i128(&mut self, n: i128)

    Writes a signed 128 bit integer to self in the big-endian byte order. Read more
    §

    fn put_i128_le(&mut self, n: i128)

    Writes a signed 128 bit integer to self in little-endian byte order. Read more
    §

    fn put_i128_ne(&mut self, n: i128)

    Writes a signed 128 bit integer to self in native-endian byte order. Read more
    §

    fn put_uint(&mut self, n: u64, nbytes: usize)

    Writes an unsigned n-byte integer to self in big-endian byte order. Read more
    §

    fn put_uint_le(&mut self, n: u64, nbytes: usize)

    Writes an unsigned n-byte integer to self in the little-endian byte order. Read more
    §

    fn put_uint_ne(&mut self, n: u64, nbytes: usize)

    Writes an unsigned n-byte integer to self in the native-endian byte order. Read more
    §

    fn put_int(&mut self, n: i64, nbytes: usize)

    Writes low nbytes of a signed integer to self in big-endian byte order. Read more
    §

    fn put_int_le(&mut self, n: i64, nbytes: usize)

    Writes low nbytes of a signed integer to self in little-endian byte order. Read more
    §

    fn put_int_ne(&mut self, n: i64, nbytes: usize)

    Writes low nbytes of a signed integer to self in native-endian byte order. Read more
    §

    fn put_f32(&mut self, n: f32)

    Writes an IEEE754 single-precision (4 bytes) floating point number to\nself in big-endian byte order. Read more
    §

    fn put_f32_le(&mut self, n: f32)

    Writes an IEEE754 single-precision (4 bytes) floating point number to\nself in little-endian byte order. Read more
    §

    fn put_f32_ne(&mut self, n: f32)

    Writes an IEEE754 single-precision (4 bytes) floating point number to\nself in native-endian byte order. Read more
    §

    fn put_f64(&mut self, n: f64)

    Writes an IEEE754 double-precision (8 bytes) floating point number to\nself in big-endian byte order. Read more
    §

    fn put_f64_le(&mut self, n: f64)

    Writes an IEEE754 double-precision (8 bytes) floating point number to\nself in little-endian byte order. Read more
    §

    fn put_f64_ne(&mut self, n: f64)

    Writes an IEEE754 double-precision (8 bytes) floating point number to\nself in native-endian byte order. Read more
    §

    fn limit(self, limit: usize) -> Limit<Self>
    where\n Self: Sized,

    Creates an adaptor which can write at most limit bytes to self. Read more
    §

    fn writer(self) -> Writer<Self>
    where\n Self: Sized,

    Creates an adaptor which implements the Write trait for self. Read more
    §

    fn chain_mut<U>(self, next: U) -> Chain<Self, U>
    where\n U: BufMut,\n Self: Sized,

    Creates an adapter which will chain this buffer with another. Read more
    ","BufMut","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<B> BufRead for Box<B>
    where\n B: BufRead + ?Sized,

    Source§

    fn fill_buf(&mut self) -> Result<&[u8], Error>

    Returns the contents of the internal buffer, filling it with more data, via Read methods, if empty. Read more
    Source§

    fn consume(&mut self, amt: usize)

    Marks the given amount of additional bytes from the internal buffer as having been read.\nSubsequent calls to read only return bytes that have not been marked as read. Read more
    Source§

    fn has_data_left(&mut self) -> Result<bool, Error>

    🔬This is a nightly-only experimental API. (buf_read_has_data_left)
    Checks if there is any data left to be read. Read more
    Source§

    fn read_until(&mut self, byte: u8, buf: &mut Vec<u8>) -> Result<usize, Error>

    Reads all bytes into buf until the delimiter byte or EOF is reached. Read more
    Source§

    fn skip_until(&mut self, byte: u8) -> Result<usize, Error>

    Skips all bytes until the delimiter byte or EOF is reached. Read more
    Source§

    fn read_line(&mut self, buf: &mut String) -> Result<usize, Error>

    Reads all bytes until a newline (the 0xA byte) is reached, and append\nthem to the provided String buffer. Read more
    1.0.0 · Source§

    fn split(self, byte: u8) -> Split<Self>
    where\n Self: Sized,

    Returns an iterator over the contents of this reader split on the byte\nbyte. Read more
    1.0.0 · Source§

    fn lines(self) -> Lines<Self>
    where\n Self: Sized,

    Returns an iterator over the lines of this reader. Read more
    ","BufRead","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<T, A> Clone for Box<T, A>
    where\n T: Clone,\n A: Allocator + Clone,

    Source§

    fn clone(&self) -> Box<T, A>

    Returns a new box with a clone() of this box’s contents.

    \n
    §Examples
    \n
    let x = Box::new(5);\nlet y = x.clone();\n\n// The value is the same\nassert_eq!(x, y);\n\n// But they are unique objects\nassert_ne!(&*x as *const i32, &*y as *const i32);
    Source§

    fn clone_from(&mut self, source: &Box<T, A>)

    Copies source’s contents into self without creating a new allocation.

    \n
    §Examples
    \n
    let x = Box::new(5);\nlet mut y = Box::new(10);\nlet yp: *const i32 = &*y;\n\ny.clone_from(&x);\n\n// The value is the same\nassert_eq!(x, y);\n\n// And no allocation occurred\nassert_eq!(yp, &*y);
    ","Clone","iroh_relay::dns::BoxIter"],["
    Source§

    impl<G, R, A> Coroutine<R> for Box<G, A>
    where\n G: Coroutine<R> + Unpin + ?Sized,\n A: Allocator,

    Source§

    type Yield = <G as Coroutine<R>>::Yield

    🔬This is a nightly-only experimental API. (coroutine_trait)
    The type of value this coroutine yields. Read more
    Source§

    type Return = <G as Coroutine<R>>::Return

    🔬This is a nightly-only experimental API. (coroutine_trait)
    The type of value this coroutine returns. Read more
    Source§

    fn resume(\n self: Pin<&mut Box<G, A>>,\n arg: R,\n) -> CoroutineState<<Box<G, A> as Coroutine<R>>::Yield, <Box<G, A> as Coroutine<R>>::Return>

    🔬This is a nightly-only experimental API. (coroutine_trait)
    Resumes the execution of this coroutine. Read more
    ","Coroutine","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<T, A> Debug for Box<T, A>
    where\n T: Debug + ?Sized,\n A: Allocator,

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    ","Debug","iroh_relay::dns::BoxIter"],["
    §

    impl<'a, T> DecodeValue<'a> for Box<T>
    where\n T: DecodeValue<'a>,

    §

    type Error = <T as DecodeValue<'a>>::Error

    Type returned in the event of a decoding error.
    §

    fn decode_value<R>(\n reader: &mut R,\n header: Header,\n) -> Result<Box<T>, <Box<T> as DecodeValue<'a>>::Error>
    where\n R: Reader<'a>,

    Attempt to decode this value using the provided [Reader].
    ","DecodeValue<'a>","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<T> Default for Box<T>
    where\n T: Default,

    Source§

    fn default() -> Box<T>

    Creates a Box<T>, with the Default value for T.

    \n
    ","Default","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<T, A> Deref for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    Source§

    type Target = T

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &T

    Dereferences the value.
    ","Deref","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<T, A> DerefMut for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    Source§

    fn deref_mut(&mut self) -> &mut T

    Mutably dereferences the value.
    ","DerefMut","iroh_relay::dns::BoxIter"],["
    Source§

    impl<'de, T> Deserialize<'de> for Box<T>
    where\n T: Deserialize<'de>,

    Source§

    fn deserialize<D>(\n deserializer: D,\n) -> Result<Box<T>, <D as Deserializer<'de>>::Error>
    where\n D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    ","Deserialize<'de>","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<T, A> Display for Box<T, A>
    where\n T: Display + ?Sized,\n A: Allocator,

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    ","Display","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<I, A> DoubleEndedIterator for Box<I, A>
    where\n I: DoubleEndedIterator + ?Sized,\n A: Allocator,

    Source§

    fn next_back(&mut self) -> Option<<I as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    Source§

    fn nth_back(&mut self, n: usize) -> Option<<I as Iterator>::Item>

    Returns the nth element from the end of the iterator. Read more
    Source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.27.0 · Source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where\n Self: Sized,\n F: FnMut(B, Self::Item) -> R,\n R: Try<Output = B>,

    This is the reverse version of Iterator::try_fold(): it takes\nelements starting from the back of the iterator. Read more
    1.27.0 · Source§

    fn rfold<B, F>(self, init: B, f: F) -> B
    where\n Self: Sized,\n F: FnMut(B, Self::Item) -> B,

    An iterator method that reduces the iterator’s elements to a single,\nfinal value, starting from the back. Read more
    1.27.0 · Source§

    fn rfind<P>(&mut self, predicate: P) -> Option<Self::Item>
    where\n Self: Sized,\n P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator from the back that satisfies a predicate. Read more
    ","DoubleEndedIterator","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<T, A> Drop for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    Source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    ","Drop","iroh_relay::dns::BoxIter"],["
    §

    impl<T> EncodeValue for Box<T>
    where\n T: EncodeValue,

    §

    fn value_len(&self) -> Result<Length, Error>

    Compute the length of this value (sans [Tag]+[Length] header) when\nencoded as ASN.1 DER.
    §

    fn encode_value(&self, writer: &mut impl Writer) -> Result<(), Error>

    Encode value (sans [Tag]+[Length] header) as ASN.1 DER using the\nprovided [Writer].
    §

    fn header(&self) -> Result<Header, Error>
    where\n Self: Tagged,

    Get the [Header] used to encode this value.
    ","EncodeValue","iroh_relay::dns::BoxIter"],["
    1.8.0 · Source§

    impl<E> Error for Box<E>
    where\n E: Error,

    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<'b>(&'b self, request: &mut Request<'b>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    ","Error","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<I, A> ExactSizeIterator for Box<I, A>
    where\n I: ExactSizeIterator + ?Sized,\n A: Allocator,

    Source§

    fn len(&self) -> usize

    Returns the exact remaining length of the iterator. Read more
    Source§

    fn is_empty(&self) -> bool

    🔬This is a nightly-only experimental API. (exact_size_is_empty)
    Returns true if the iterator is empty. Read more
    ","ExactSizeIterator","iroh_relay::dns::BoxIter"],["
    1.35.0 · Source§

    impl<Args, F, A> Fn<Args> for Box<F, A>
    where\n Args: Tuple,\n F: Fn<Args> + ?Sized,\n A: Allocator,

    Source§

    extern "rust-call" fn call(\n &self,\n args: Args,\n) -> <Box<F, A> as FnOnce<Args>>::Output

    🔬This is a nightly-only experimental API. (fn_traits)
    Performs the call operation.
    ","Fn","iroh_relay::dns::BoxIter"],["
    1.35.0 · Source§

    impl<Args, F, A> FnMut<Args> for Box<F, A>
    where\n Args: Tuple,\n F: FnMut<Args> + ?Sized,\n A: Allocator,

    Source§

    extern "rust-call" fn call_mut(\n &mut self,\n args: Args,\n) -> <Box<F, A> as FnOnce<Args>>::Output

    🔬This is a nightly-only experimental API. (fn_traits)
    Performs the call operation.
    ","FnMut","iroh_relay::dns::BoxIter"],["
    1.35.0 · Source§

    impl<Args, F, A> FnOnce<Args> for Box<F, A>
    where\n Args: Tuple,\n F: FnOnce<Args> + ?Sized,\n A: Allocator,

    Source§

    type Output = <F as FnOnce<Args>>::Output

    The returned type after the call operator is used.
    Source§

    extern "rust-call" fn call_once(\n self,\n args: Args,\n) -> <Box<F, A> as FnOnce<Args>>::Output

    🔬This is a nightly-only experimental API. (fn_traits)
    Performs the call operation.
    ","FnOnce","iroh_relay::dns::BoxIter"],["
    1.6.0 · Source§

    impl<T> From<T> for Box<T>

    Source§

    fn from(t: T) -> Box<T>

    Converts a T into a Box<T>

    \n

    The conversion allocates on the heap and moves t\nfrom the stack into it.

    \n
    §Examples
    \n
    let x = 5;\nlet boxed = Box::new(5);\n\nassert_eq!(Box::from(x), boxed);
    ","From","iroh_relay::dns::BoxIter"],["
    §

    impl<F> FusedFuture for Box<F>
    where\n F: FusedFuture + Unpin + ?Sized,

    §

    fn is_terminated(&self) -> bool

    Returns true if the underlying future should no longer be polled.
    ","FusedFuture","iroh_relay::dns::BoxIter"],["
    §

    impl<S> FusedStream for Box<S>
    where\n S: FusedStream + Unpin + ?Sized,

    §

    fn is_terminated(&self) -> bool

    Returns true if the stream should no longer be polled.
    ","FusedStream","iroh_relay::dns::BoxIter"],["
    1.36.0 · Source§

    impl<F, A> Future for Box<F, A>
    where\n F: Future + Unpin + ?Sized,\n A: Allocator,

    Source§

    type Output = <F as Future>::Output

    The type of value produced on completion.
    Source§

    fn poll(\n self: Pin<&mut Box<F, A>>,\n cx: &mut Context<'_>,\n) -> Poll<<Box<F, A> as Future>::Output>

    Attempts to resolve the future to a final value, registering\nthe current task for wakeup if the value is not yet available. Read more
    ","Future","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<T, A> Hash for Box<T, A>
    where\n T: Hash + ?Sized,\n A: Allocator,

    Source§

    fn hash<H>(&self, state: &mut H)
    where\n H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where\n H: Hasher,\n Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    ","Hash","iroh_relay::dns::BoxIter"],["
    1.22.0 · Source§

    impl<T, A> Hasher for Box<T, A>
    where\n T: Hasher + ?Sized,\n A: Allocator,

    Source§

    fn finish(&self) -> u64

    Returns the hash value for the values written so far. Read more
    Source§

    fn write(&mut self, bytes: &[u8])

    Writes some data into this Hasher. Read more
    Source§

    fn write_u8(&mut self, i: u8)

    Writes a single u8 into this hasher.
    Source§

    fn write_u16(&mut self, i: u16)

    Writes a single u16 into this hasher.
    Source§

    fn write_u32(&mut self, i: u32)

    Writes a single u32 into this hasher.
    Source§

    fn write_u64(&mut self, i: u64)

    Writes a single u64 into this hasher.
    Source§

    fn write_u128(&mut self, i: u128)

    Writes a single u128 into this hasher.
    Source§

    fn write_usize(&mut self, i: usize)

    Writes a single usize into this hasher.
    Source§

    fn write_i8(&mut self, i: i8)

    Writes a single i8 into this hasher.
    Source§

    fn write_i16(&mut self, i: i16)

    Writes a single i16 into this hasher.
    Source§

    fn write_i32(&mut self, i: i32)

    Writes a single i32 into this hasher.
    Source§

    fn write_i64(&mut self, i: i64)

    Writes a single i64 into this hasher.
    Source§

    fn write_i128(&mut self, i: i128)

    Writes a single i128 into this hasher.
    Source§

    fn write_isize(&mut self, i: isize)

    Writes a single isize into this hasher.
    Source§

    fn write_length_prefix(&mut self, len: usize)

    🔬This is a nightly-only experimental API. (hasher_prefixfree_extras)
    Writes a length prefix into this hasher, as part of being prefix-free. Read more
    Source§

    fn write_str(&mut self, s: &str)

    🔬This is a nightly-only experimental API. (hasher_prefixfree_extras)
    Writes a single str into this hasher. Read more
    ","Hasher","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<I, A> Iterator for Box<I, A>
    where\n I: Iterator + ?Sized,\n A: Allocator,

    Source§

    type Item = <I as Iterator>::Item

    The type of the elements being iterated over.
    Source§

    fn next(&mut self) -> Option<<I as Iterator>::Item>

    Advances the iterator and returns the next value. Read more
    Source§

    fn size_hint(&self) -> (usize, Option<usize>)

    Returns the bounds on the remaining length of the iterator. Read more
    Source§

    fn nth(&mut self, n: usize) -> Option<<I as Iterator>::Item>

    Returns the nth element of the iterator. Read more
    Source§

    fn last(self) -> Option<<I as Iterator>::Item>

    Consumes the iterator, returning the last element. Read more
    Source§

    fn next_chunk<const N: usize>(\n &mut self,\n) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>
    where\n Self: Sized,

    🔬This is a nightly-only experimental API. (iter_next_chunk)
    Advances the iterator and returns an array containing the next N values. Read more
    1.0.0 · Source§

    fn count(self) -> usize
    where\n Self: Sized,

    Consumes the iterator, counting the number of iterations and returning it. Read more
    Source§

    fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator by n elements. Read more
    1.28.0 · Source§

    fn step_by(self, step: usize) -> StepBy<Self>
    where\n Self: Sized,

    Creates an iterator starting at the same point, but stepping by\nthe given amount at each iteration. Read more
    1.0.0 · Source§

    fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
    where\n Self: Sized,\n U: IntoIterator<Item = Self::Item>,

    Takes two iterators and creates a new iterator over both in sequence. Read more
    1.0.0 · Source§

    fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>
    where\n Self: Sized,\n U: IntoIterator,

    ‘Zips up’ two iterators into a single iterator of pairs. Read more
    Source§

    fn intersperse(self, separator: Self::Item) -> Intersperse<Self>
    where\n Self: Sized,\n Self::Item: Clone,

    🔬This is a nightly-only experimental API. (iter_intersperse)
    Creates a new iterator which places a copy of separator between adjacent\nitems of the original iterator. Read more
    Source§

    fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
    where\n Self: Sized,\n G: FnMut() -> Self::Item,

    🔬This is a nightly-only experimental API. (iter_intersperse)
    Creates a new iterator which places an item generated by separator\nbetween adjacent items of the original iterator. Read more
    1.0.0 · Source§

    fn map<B, F>(self, f: F) -> Map<Self, F>
    where\n Self: Sized,\n F: FnMut(Self::Item) -> B,

    Takes a closure and creates an iterator which calls that closure on each\nelement. Read more
    1.21.0 · Source§

    fn for_each<F>(self, f: F)
    where\n Self: Sized,\n F: FnMut(Self::Item),

    Calls a closure on each element of an iterator. Read more
    1.0.0 · Source§

    fn filter<P>(self, predicate: P) -> Filter<Self, P>
    where\n Self: Sized,\n P: FnMut(&Self::Item) -> bool,

    Creates an iterator which uses a closure to determine if an element\nshould be yielded. Read more
    1.0.0 · Source§

    fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
    where\n Self: Sized,\n F: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both filters and maps. Read more
    1.0.0 · Source§

    fn enumerate(self) -> Enumerate<Self>
    where\n Self: Sized,

    Creates an iterator which gives the current iteration count as well as\nthe next value. Read more
    1.0.0 · Source§

    fn peekable(self) -> Peekable<Self>
    where\n Self: Sized,

    Creates an iterator which can use the peek and peek_mut methods\nto look at the next element of the iterator without consuming it. See\ntheir documentation for more information. Read more
    1.0.0 · Source§

    fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
    where\n Self: Sized,\n P: FnMut(&Self::Item) -> bool,

    Creates an iterator that skips elements based on a predicate. Read more
    1.0.0 · Source§

    fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
    where\n Self: Sized,\n P: FnMut(&Self::Item) -> bool,

    Creates an iterator that yields elements based on a predicate. Read more
    1.57.0 · Source§

    fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
    where\n Self: Sized,\n P: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both yields elements based on a predicate and maps. Read more
    1.0.0 · Source§

    fn skip(self, n: usize) -> Skip<Self>
    where\n Self: Sized,

    Creates an iterator that skips the first n elements. Read more
    1.0.0 · Source§

    fn take(self, n: usize) -> Take<Self>
    where\n Self: Sized,

    Creates an iterator that yields the first n elements, or fewer\nif the underlying iterator ends sooner. Read more
    1.0.0 · Source§

    fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
    where\n Self: Sized,\n F: FnMut(&mut St, Self::Item) -> Option<B>,

    An iterator adapter which, like fold, holds internal state, but\nunlike fold, produces a new iterator. Read more
    1.0.0 · Source§

    fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
    where\n Self: Sized,\n U: IntoIterator,\n F: FnMut(Self::Item) -> U,

    Creates an iterator that works like map, but flattens nested structure. Read more
    1.29.0 · Source§

    fn flatten(self) -> Flatten<Self>
    where\n Self: Sized,\n Self::Item: IntoIterator,

    Creates an iterator that flattens nested structure. Read more
    Source§

    fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
    where\n Self: Sized,\n F: FnMut(&[Self::Item; N]) -> R,

    🔬This is a nightly-only experimental API. (iter_map_windows)
    Calls the given function f for each contiguous window of size N over\nself and returns an iterator over the outputs of f. Like slice::windows(),\nthe windows during mapping overlap as well. Read more
    1.0.0 · Source§

    fn fuse(self) -> Fuse<Self>
    where\n Self: Sized,

    Creates an iterator which ends after the first None. Read more
    1.0.0 · Source§

    fn inspect<F>(self, f: F) -> Inspect<Self, F>
    where\n Self: Sized,\n F: FnMut(&Self::Item),

    Does something with each element of an iterator, passing the value on. Read more
    1.0.0 · Source§

    fn by_ref(&mut self) -> &mut Self
    where\n Self: Sized,

    Creates a “by reference” adapter for this instance of Iterator. Read more
    1.0.0 · Source§

    fn collect<B>(self) -> B
    where\n B: FromIterator<Self::Item>,\n Self: Sized,

    Transforms an iterator into a collection. Read more
    Source§

    fn try_collect<B>(\n &mut self,\n) -> <<Self::Item as Try>::Residual as Residual<B>>::TryType
    where\n Self: Sized,\n Self::Item: Try,\n <Self::Item as Try>::Residual: Residual<B>,\n B: FromIterator<<Self::Item as Try>::Output>,

    🔬This is a nightly-only experimental API. (iterator_try_collect)
    Fallibly transforms an iterator into a collection, short circuiting if\na failure is encountered. Read more
    Source§

    fn collect_into<E>(self, collection: &mut E) -> &mut E
    where\n E: Extend<Self::Item>,\n Self: Sized,

    🔬This is a nightly-only experimental API. (iter_collect_into)
    Collects all the items from an iterator into a collection. Read more
    1.0.0 · Source§

    fn partition<B, F>(self, f: F) -> (B, B)
    where\n Self: Sized,\n B: Default + Extend<Self::Item>,\n F: FnMut(&Self::Item) -> bool,

    Consumes an iterator, creating two collections from it. Read more
    Source§

    fn partition_in_place<'a, T, P>(self, predicate: P) -> usize
    where\n T: 'a,\n Self: Sized + DoubleEndedIterator<Item = &'a mut T>,\n P: FnMut(&T) -> bool,

    🔬This is a nightly-only experimental API. (iter_partition_in_place)
    Reorders the elements of this iterator in-place according to the given predicate,\nsuch that all those that return true precede all those that return false.\nReturns the number of true elements found. Read more
    Source§

    fn is_partitioned<P>(self, predicate: P) -> bool
    where\n Self: Sized,\n P: FnMut(Self::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_is_partitioned)
    Checks if the elements of this iterator are partitioned according to the given predicate,\nsuch that all those that return true precede all those that return false. Read more
    1.27.0 · Source§

    fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
    where\n Self: Sized,\n F: FnMut(B, Self::Item) -> R,\n R: Try<Output = B>,

    An iterator method that applies a function as long as it returns\nsuccessfully, producing a single, final value. Read more
    1.27.0 · Source§

    fn try_for_each<F, R>(&mut self, f: F) -> R
    where\n Self: Sized,\n F: FnMut(Self::Item) -> R,\n R: Try<Output = ()>,

    An iterator method that applies a fallible function to each item in the\niterator, stopping at the first error and returning that error. Read more
    1.0.0 · Source§

    fn fold<B, F>(self, init: B, f: F) -> B
    where\n Self: Sized,\n F: FnMut(B, Self::Item) -> B,

    Folds every element into an accumulator by applying an operation,\nreturning the final result. Read more
    1.51.0 · Source§

    fn reduce<F>(self, f: F) -> Option<Self::Item>
    where\n Self: Sized,\n F: FnMut(Self::Item, Self::Item) -> Self::Item,

    Reduces the elements to a single one, by repeatedly applying a reducing\noperation. Read more
    Source§

    fn try_reduce<R>(\n &mut self,\n f: impl FnMut(Self::Item, Self::Item) -> R,\n) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
    where\n Self: Sized,\n R: Try<Output = Self::Item>,\n <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (iterator_try_reduce)
    Reduces the elements to a single one by repeatedly applying a reducing operation. If the\nclosure returns a failure, the failure is propagated back to the caller immediately. Read more
    1.0.0 · Source§

    fn all<F>(&mut self, f: F) -> bool
    where\n Self: Sized,\n F: FnMut(Self::Item) -> bool,

    Tests if every element of the iterator matches a predicate. Read more
    1.0.0 · Source§

    fn any<F>(&mut self, f: F) -> bool
    where\n Self: Sized,\n F: FnMut(Self::Item) -> bool,

    Tests if any element of the iterator matches a predicate. Read more
    1.0.0 · Source§

    fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
    where\n Self: Sized,\n P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator that satisfies a predicate. Read more
    1.30.0 · Source§

    fn find_map<B, F>(&mut self, f: F) -> Option<B>
    where\n Self: Sized,\n F: FnMut(Self::Item) -> Option<B>,

    Applies function to the elements of iterator and returns\nthe first non-none result. Read more
    Source§

    fn try_find<R>(\n &mut self,\n f: impl FnMut(&Self::Item) -> R,\n) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
    where\n Self: Sized,\n R: Try<Output = bool>,\n <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (try_find)
    Applies function to the elements of iterator and returns\nthe first true result or the first error. Read more
    1.0.0 · Source§

    fn position<P>(&mut self, predicate: P) -> Option<usize>
    where\n Self: Sized,\n P: FnMut(Self::Item) -> bool,

    Searches for an element in an iterator, returning its index. Read more
    1.0.0 · Source§

    fn rposition<P>(&mut self, predicate: P) -> Option<usize>
    where\n P: FnMut(Self::Item) -> bool,\n Self: Sized + ExactSizeIterator + DoubleEndedIterator,

    Searches for an element in an iterator from the right, returning its\nindex. Read more
    1.0.0 · Source§

    fn max(self) -> Option<Self::Item>
    where\n Self: Sized,\n Self::Item: Ord,

    Returns the maximum element of an iterator. Read more
    1.0.0 · Source§

    fn min(self) -> Option<Self::Item>
    where\n Self: Sized,\n Self::Item: Ord,

    Returns the minimum element of an iterator. Read more
    1.6.0 · Source§

    fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where\n B: Ord,\n Self: Sized,\n F: FnMut(&Self::Item) -> B,

    Returns the element that gives the maximum value from the\nspecified function. Read more
    1.15.0 · Source§

    fn max_by<F>(self, compare: F) -> Option<Self::Item>
    where\n Self: Sized,\n F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the maximum value with respect to the\nspecified comparison function. Read more
    1.6.0 · Source§

    fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where\n B: Ord,\n Self: Sized,\n F: FnMut(&Self::Item) -> B,

    Returns the element that gives the minimum value from the\nspecified function. Read more
    1.15.0 · Source§

    fn min_by<F>(self, compare: F) -> Option<Self::Item>
    where\n Self: Sized,\n F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the minimum value with respect to the\nspecified comparison function. Read more
    1.0.0 · Source§

    fn rev(self) -> Rev<Self>
    where\n Self: Sized + DoubleEndedIterator,

    Reverses an iterator’s direction. Read more
    1.0.0 · Source§

    fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
    where\n FromA: Default + Extend<A>,\n FromB: Default + Extend<B>,\n Self: Sized + Iterator<Item = (A, B)>,

    Converts an iterator of pairs into a pair of containers. Read more
    1.36.0 · Source§

    fn copied<'a, T>(self) -> Copied<Self>
    where\n T: Copy + 'a,\n Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which copies all of its elements. Read more
    1.0.0 · Source§

    fn cloned<'a, T>(self) -> Cloned<Self>
    where\n T: Clone + 'a,\n Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which clones all of its elements. Read more
    1.0.0 · Source§

    fn cycle(self) -> Cycle<Self>
    where\n Self: Sized + Clone,

    Repeats an iterator endlessly. Read more
    Source§

    fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
    where\n Self: Sized,

    🔬This is a nightly-only experimental API. (iter_array_chunks)
    Returns an iterator over N elements of the iterator at a time. Read more
    1.11.0 · Source§

    fn sum<S>(self) -> S
    where\n Self: Sized,\n S: Sum<Self::Item>,

    Sums the elements of an iterator. Read more
    1.11.0 · Source§

    fn product<P>(self) -> P
    where\n Self: Sized,\n P: Product<Self::Item>,

    Iterates over the entire iterator, multiplying all the elements Read more
    1.5.0 · Source§

    fn cmp<I>(self, other: I) -> Ordering
    where\n I: IntoIterator<Item = Self::Item>,\n Self::Item: Ord,\n Self: Sized,

    Lexicographically compares the elements of this Iterator with those\nof another. Read more
    Source§

    fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
    where\n Self: Sized,\n I: IntoIterator,\n F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Ordering,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those\nof another with respect to the specified comparison function. Read more
    1.5.0 · Source§

    fn partial_cmp<I>(self, other: I) -> Option<Ordering>
    where\n I: IntoIterator,\n Self::Item: PartialOrd<<I as IntoIterator>::Item>,\n Self: Sized,

    Lexicographically compares the PartialOrd elements of\nthis Iterator with those of another. The comparison works like short-circuit\nevaluation, returning a result without comparing the remaining elements.\nAs soon as an order can be determined, the evaluation stops and a result is returned. Read more
    Source§

    fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
    where\n Self: Sized,\n I: IntoIterator,\n F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those\nof another with respect to the specified comparison function. Read more
    1.5.0 · Source§

    fn eq<I>(self, other: I) -> bool
    where\n I: IntoIterator,\n Self::Item: PartialEq<<I as IntoIterator>::Item>,\n Self: Sized,

    Determines if the elements of this Iterator are equal to those of\nanother. Read more
    Source§

    fn eq_by<I, F>(self, other: I, eq: F) -> bool
    where\n Self: Sized,\n I: IntoIterator,\n F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Determines if the elements of this Iterator are equal to those of\nanother with respect to the specified equality function. Read more
    1.5.0 · Source§

    fn ne<I>(self, other: I) -> bool
    where\n I: IntoIterator,\n Self::Item: PartialEq<<I as IntoIterator>::Item>,\n Self: Sized,

    Determines if the elements of this Iterator are not equal to those of\nanother. Read more
    1.5.0 · Source§

    fn lt<I>(self, other: I) -> bool
    where\n I: IntoIterator,\n Self::Item: PartialOrd<<I as IntoIterator>::Item>,\n Self: Sized,

    Determines if the elements of this Iterator are lexicographically\nless than those of another. Read more
    1.5.0 · Source§

    fn le<I>(self, other: I) -> bool
    where\n I: IntoIterator,\n Self::Item: PartialOrd<<I as IntoIterator>::Item>,\n Self: Sized,

    Determines if the elements of this Iterator are lexicographically\nless or equal to those of another. Read more
    1.5.0 · Source§

    fn gt<I>(self, other: I) -> bool
    where\n I: IntoIterator,\n Self::Item: PartialOrd<<I as IntoIterator>::Item>,\n Self: Sized,

    Determines if the elements of this Iterator are lexicographically\ngreater than those of another. Read more
    1.5.0 · Source§

    fn ge<I>(self, other: I) -> bool
    where\n I: IntoIterator,\n Self::Item: PartialOrd<<I as IntoIterator>::Item>,\n Self: Sized,

    Determines if the elements of this Iterator are lexicographically\ngreater than or equal to those of another. Read more
    1.82.0 · Source§

    fn is_sorted(self) -> bool
    where\n Self: Sized,\n Self::Item: PartialOrd,

    Checks if the elements of this iterator are sorted. Read more
    1.82.0 · Source§

    fn is_sorted_by<F>(self, compare: F) -> bool
    where\n Self: Sized,\n F: FnMut(&Self::Item, &Self::Item) -> bool,

    Checks if the elements of this iterator are sorted using the given comparator function. Read more
    1.82.0 · Source§

    fn is_sorted_by_key<F, K>(self, f: F) -> bool
    where\n Self: Sized,\n F: FnMut(Self::Item) -> K,\n K: PartialOrd,

    Checks if the elements of this iterator are sorted using the given key extraction\nfunction. Read more
    ","Iterator","iroh_relay::dns::BoxIter"],["
    §

    impl<Sp> LocalSpawn for Box<Sp>
    where\n Sp: LocalSpawn + ?Sized,

    §

    fn spawn_local_obj(\n &self,\n future: LocalFutureObj<'static, ()>,\n) -> Result<(), SpawnError>

    Spawns a future that will be run to completion. Read more
    §

    fn status_local(&self) -> Result<(), SpawnError>

    Determines whether the executor is able to spawn new tasks. Read more
    ","LocalSpawn","iroh_relay::dns::BoxIter"],["
    Source§

    impl<T> Log for Box<T>
    where\n T: Log + ?Sized,

    Source§

    fn enabled(&self, metadata: &Metadata<'_>) -> bool

    Determines if a log message with the specified metadata would be\nlogged. Read more
    Source§

    fn log(&self, record: &Record<'_>)

    Logs the Record. Read more
    Source§

    fn flush(&self)

    Flushes any buffered records. Read more
    ","Log","iroh_relay::dns::BoxIter"],["
    §

    impl<T> MaxSize for Box<T>
    where\n T: MaxSize,

    §

    const POSTCARD_MAX_SIZE: usize = T::POSTCARD_MAX_SIZE

    The maximum possible size that the serialization of this\ntype can have, in bytes.
    ","MaxSize","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<T, A> Ord for Box<T, A>
    where\n T: Ord + ?Sized,\n A: Allocator,

    Source§

    fn cmp(&self, other: &Box<T, A>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · Source§

    fn min(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · Source§

    fn clamp(self, min: Self, max: Self) -> Self
    where\n Self: Sized,

    Restrict a value to a certain interval. Read more
    ","Ord","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<T, A> PartialEq for Box<T, A>
    where\n T: PartialEq + ?Sized,\n A: Allocator,

    Source§

    fn eq(&self, other: &Box<T, A>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    Source§

    fn ne(&self, other: &Box<T, A>) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<T, A> PartialOrd for Box<T, A>
    where\n T: PartialOrd + ?Sized,\n A: Allocator,

    Source§

    fn partial_cmp(&self, other: &Box<T, A>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    Source§

    fn lt(&self, other: &Box<T, A>) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    Source§

    fn le(&self, other: &Box<T, A>) -> bool

    Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
    Source§

    fn ge(&self, other: &Box<T, A>) -> bool

    Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
    Source§

    fn gt(&self, other: &Box<T, A>) -> bool

    Tests greater than (for self and other) and is used by the >\noperator. Read more
    ","PartialOrd","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<T, A> Pointer for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    ","Pointer","iroh_relay::dns::BoxIter"],["
    §

    impl<B, E, P> Policy<B, E> for Box<P>
    where\n P: Policy<B, E> + ?Sized,

    §

    fn redirect(&mut self, attempt: &Attempt<'_>) -> Result<Action, E>

    Invoked when the service received a response with a redirection status code (3xx). Read more
    §

    fn on_request(&mut self, request: &mut Request<B>)

    Invoked right before the service makes a request, regardless of whether it is redirected\nor not. Read more
    §

    fn clone_body(&self, body: &B) -> Option<B>

    Try to clone a request body before the service makes a redirected request. Read more
    ","Policy","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<R> Read for Box<R>
    where\n R: Read + ?Sized,

    Source§

    fn read(&mut self, buf: &mut [u8]) -> Result<usize, Error>

    Pull some bytes from this source into the specified buffer, returning\nhow many bytes were read. Read more
    Source§

    fn read_buf(&mut self, cursor: BorrowedCursor<'_>) -> Result<(), Error>

    🔬This is a nightly-only experimental API. (read_buf)
    Pull some bytes from this source into the specified buffer. Read more
    Source§

    fn read_vectored(&mut self, bufs: &mut [IoSliceMut<'_>]) -> Result<usize, Error>

    Like read, except that it reads into a slice of buffers. Read more
    Source§

    fn is_read_vectored(&self) -> bool

    🔬This is a nightly-only experimental API. (can_vector)
    Determines if this Reader has an efficient read_vectored\nimplementation. Read more
    Source§

    fn read_to_end(&mut self, buf: &mut Vec<u8>) -> Result<usize, Error>

    Reads all bytes until EOF in this source, placing them into buf. Read more
    Source§

    fn read_to_string(&mut self, buf: &mut String) -> Result<usize, Error>

    Reads all bytes until EOF in this source, appending them to buf. Read more
    Source§

    fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), Error>

    Reads the exact number of bytes required to fill buf. Read more
    Source§

    fn read_buf_exact(&mut self, cursor: BorrowedCursor<'_>) -> Result<(), Error>

    🔬This is a nightly-only experimental API. (read_buf)
    Reads the exact number of bytes required to fill cursor. Read more
    1.0.0 · Source§

    fn by_ref(&mut self) -> &mut Self
    where\n Self: Sized,

    Creates a “by reference” adapter for this instance of Read. Read more
    1.0.0 · Source§

    fn bytes(self) -> Bytes<Self>
    where\n Self: Sized,

    Transforms this Read instance to an Iterator over its bytes. Read more
    1.0.0 · Source§

    fn chain<R>(self, next: R) -> Chain<Self, R>
    where\n R: Read,\n Self: Sized,

    Creates an adapter which will chain this stream with another. Read more
    1.0.0 · Source§

    fn take(self, limit: u64) -> Take<Self>
    where\n Self: Sized,

    Creates an adapter which will read at most limit bytes from it. Read more
    ","Read","iroh_relay::dns::BoxIter"],["
    §

    impl<T> Read for Box<T>
    where\n T: Read + Unpin + ?Sized,

    §

    fn poll_read(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n buf: ReadBufCursor<'_>,\n) -> Poll<Result<(), Error>>

    Attempts to read bytes into the buf. Read more
    ","Read","iroh_relay::dns::BoxIter"],["
    §

    impl<R> Rng for Box<R>
    where\n R: Rng + ?Sized,

    §

    fn next_u64(&mut self) -> u64

    Generate a random u64.
    §

    fn next_f64(&mut self) -> f64

    Generate a random f64 between [0, 1).
    §

    fn next_range(&mut self, range: Range<u64>) -> u64

    Randomly pick a value within the range. Read more
    ","Rng","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<S> Seek for Box<S>
    where\n S: Seek + ?Sized,

    Source§

    fn seek(&mut self, pos: SeekFrom) -> Result<u64, Error>

    Seek to an offset, in bytes, in a stream. Read more
    Source§

    fn rewind(&mut self) -> Result<(), Error>

    Rewind to the beginning of a stream. Read more
    Source§

    fn stream_len(&mut self) -> Result<u64, Error>

    🔬This is a nightly-only experimental API. (seek_stream_len)
    Returns the length of this stream (in bytes). Read more
    Source§

    fn stream_position(&mut self) -> Result<u64, Error>

    Returns the current seek position from the start of the stream. Read more
    Source§

    fn seek_relative(&mut self, offset: i64) -> Result<(), Error>

    Seeks relative to the current position. Read more
    ","Seek","iroh_relay::dns::BoxIter"],["
    Source§

    impl<T> Serialize for Box<T>
    where\n T: Serialize + ?Sized,

    Source§

    fn serialize<S>(\n &self,\n serializer: S,\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where\n S: Serializer,

    ","Serialize","iroh_relay::dns::BoxIter"],["
    Source§

    impl<T> Serialize for Box<T>
    where\n T: Serialize + ?Sized,

    Source§

    fn serialize<S>(\n &self,\n serializer: S,\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where\n S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    ","Serialize","iroh_relay::dns::BoxIter"],["
    §

    impl<Request, S> Service<Request> for Box<S>
    where\n S: Service<Request> + ?Sized,

    §

    type Response = <S as Service<Request>>::Response

    Responses given by the service.
    §

    type Error = <S as Service<Request>>::Error

    Errors produced by the service. Read more
    §

    type Future = <S as Service<Request>>::Future

    The future response value.
    §

    fn call(&self, req: Request) -> <Box<S> as Service<Request>>::Future

    Process the request and return the response asynchronously.\ncall takes &self instead of mut &self because: Read more
    ","Service","iroh_relay::dns::BoxIter"],["
    §

    impl<S, Request> Service<Request> for Box<S>
    where\n S: Service<Request> + ?Sized,

    §

    type Response = <S as Service<Request>>::Response

    Responses given by the service.
    §

    type Error = <S as Service<Request>>::Error

    Errors produced by the service.
    §

    type Future = <S as Service<Request>>::Future

    The future response value.
    §

    fn poll_ready(\n &mut self,\n cx: &mut Context<'_>,\n) -> Poll<Result<(), <S as Service<Request>>::Error>>

    Returns Poll::Ready(Ok(())) when the service is able to process requests. Read more
    §

    fn call(&mut self, request: Request) -> <S as Service<Request>>::Future

    Process the request and return the response asynchronously. Read more
    ","Service","iroh_relay::dns::BoxIter"],["
    §

    impl<S, Item> Sink<Item> for Box<S>
    where\n S: Sink<Item> + Unpin + ?Sized,

    §

    type Error = <S as Sink<Item>>::Error

    The type of value produced by the sink when an error occurs.
    §

    fn poll_ready(\n self: Pin<&mut Box<S>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<(), <Box<S> as Sink<Item>>::Error>>

    Attempts to prepare the Sink to receive a value. Read more
    §

    fn start_send(\n self: Pin<&mut Box<S>>,\n item: Item,\n) -> Result<(), <Box<S> as Sink<Item>>::Error>

    Begin the process of sending a value to the sink.\nEach call to this function must be preceded by a successful call to\npoll_ready which returned Poll::Ready(Ok(())). Read more
    §

    fn poll_flush(\n self: Pin<&mut Box<S>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<(), <Box<S> as Sink<Item>>::Error>>

    Flush any remaining output from this sink. Read more
    §

    fn poll_close(\n self: Pin<&mut Box<S>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<(), <Box<S> as Sink<Item>>::Error>>

    Flush any remaining output and close this sink, if necessary. Read more
    ","Sink","iroh_relay::dns::BoxIter"],["
    §

    impl<T> Source for Box<T>
    where\n T: Source + ?Sized,

    §

    fn register(\n &mut self,\n registry: &Registry,\n token: Token,\n interests: Interest,\n) -> Result<(), Error>

    Register self with the given Registry instance. Read more
    §

    fn reregister(\n &mut self,\n registry: &Registry,\n token: Token,\n interests: Interest,\n) -> Result<(), Error>

    Re-register self with the given Registry instance. Read more
    §

    fn deregister(&mut self, registry: &Registry) -> Result<(), Error>

    Deregister self from the given Registry instance. Read more
    ","Source","iroh_relay::dns::BoxIter"],["
    §

    impl<Sp> Spawn for Box<Sp>
    where\n Sp: Spawn + ?Sized,

    §

    fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError>

    Spawns a future that will be run to completion. Read more
    §

    fn status(&self) -> Result<(), SpawnError>

    Determines whether the executor is able to spawn new tasks. Read more
    ","Spawn","iroh_relay::dns::BoxIter"],["
    §

    impl<S> Stream for Box<S>
    where\n S: Stream + Unpin + ?Sized,

    §

    type Item = <S as Stream>::Item

    Values yielded by the stream.
    §

    fn poll_next(\n self: Pin<&mut Box<S>>,\n cx: &mut Context<'_>,\n) -> Poll<Option<<Box<S> as Stream>::Item>>

    Attempt to pull out the next value of this stream, registering the\ncurrent task for wakeup if the value is not yet available, and returning\nNone if the stream is exhausted. Read more
    §

    fn size_hint(&self) -> (usize, Option<usize>)

    Returns the bounds on the remaining length of the stream. Read more
    ","Stream","iroh_relay::dns::BoxIter"],["
    §

    impl<S> Subscriber for Box<S>
    where\n S: Subscriber + ?Sized,

    §

    fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest

    Registers a new callsite with this subscriber, returning whether or not\nthe subscriber is interested in being notified about the callsite. Read more
    §

    fn enabled(&self, metadata: &Metadata<'_>) -> bool

    Returns true if a span or event with the specified metadata would be\nrecorded. Read more
    §

    fn max_level_hint(&self) -> Option<LevelFilter>

    Returns the highest verbosity level that this Subscriber will\nenable, or None, if the subscriber does not implement level-based\nfiltering or chooses not to implement this method. Read more
    §

    fn new_span(&self, span: &Attributes<'_>) -> Id

    Visit the construction of a new span, returning a new span ID for the\nspan being constructed. Read more
    §

    fn record(&self, span: &Id, values: &Record<'_>)

    Record a set of values on a span. Read more
    §

    fn record_follows_from(&self, span: &Id, follows: &Id)

    Adds an indication that span follows from the span with the id\nfollows. Read more
    §

    fn event_enabled(&self, event: &Event<'_>) -> bool

    Determine if an [Event] should be recorded. Read more
    §

    fn event(&self, event: &Event<'_>)

    Records that an Event has occurred. Read more
    §

    fn enter(&self, span: &Id)

    Records that a span has been entered. Read more
    §

    fn exit(&self, span: &Id)

    Records that a span has been exited. Read more
    §

    fn clone_span(&self, id: &Id) -> Id

    Notifies the subscriber that a span ID has been cloned. Read more
    §

    fn try_close(&self, id: Id) -> bool

    Notifies the subscriber that a span ID has been dropped, and returns\ntrue if there are now 0 IDs that refer to that span. Read more
    §

    fn drop_span(&self, id: Id)

    👎Deprecated since 0.1.2: use Subscriber::try_close instead
    This method is deprecated. Read more
    §

    fn current_span(&self) -> Current

    Returns a type representing this subscriber’s view of the current span. Read more
    §

    unsafe fn downcast_raw(&self, id: TypeId) -> Option<*const ()>

    If self is the same type as the provided TypeId, returns an untyped\n*const pointer to that type. Otherwise, returns None. Read more
    §

    fn on_register_dispatch(&self, subscriber: &Dispatch)

    Invoked when this subscriber becomes a [Dispatch]. Read more
    ","Subscriber","iroh_relay::dns::BoxIter"],["
    §

    impl<T> ToStatic for Box<T>
    where\n T: ToStatic,

    §

    type Owned = Box<<T as ToStatic>::Owned>

    §

    fn to_static(&self) -> <Box<T> as ToStatic>::Owned

    ","ToStatic","iroh_relay::dns::BoxIter"],["
    §

    impl<'a, T, F> UnsafeFutureObj<'a, T> for Box<F>
    where\n F: Future<Output = T> + 'a,

    §

    fn into_raw(self) -> *mut dyn Future<Output = T> + 'a

    Convert an owned instance into a (conceptually owned) fat pointer. Read more
    §

    unsafe fn drop(ptr: *mut dyn Future<Output = T> + 'a)

    Drops the future represented by the given fat pointer. Read more
    ","UnsafeFutureObj<'a, T>","iroh_relay::dns::BoxIter"],["
    §

    impl<T> Value for Box<T>
    where\n T: Value + ?Sized,

    §

    fn record(&self, key: &Field, visitor: &mut dyn Visit)

    Visits this value with the given Visitor.
    ","Value","iroh_relay::dns::BoxIter"],["
    §

    impl<T> Write for Box<T>
    where\n T: Write + Unpin + ?Sized,

    §

    fn poll_write(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n buf: &[u8],\n) -> Poll<Result<usize, Error>>

    Attempt to write bytes from buf into the destination. Read more
    §

    fn poll_write_vectored(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n bufs: &[IoSlice<'_>],\n) -> Poll<Result<usize, Error>>

    Like poll_write, except that it writes from a slice of buffers.
    §

    fn is_write_vectored(&self) -> bool

    Returns whether this writer has an efficient poll_write_vectored\nimplementation. Read more
    §

    fn poll_flush(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<(), Error>>

    Attempts to flush the object. Read more
    §

    fn poll_shutdown(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<(), Error>>

    Attempts to shut down this writer.
    ","Write","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<W> Write for Box<W>
    where\n W: Write + ?Sized,

    Source§

    fn write(&mut self, buf: &[u8]) -> Result<usize, Error>

    Writes a buffer into this writer, returning how many bytes were written. Read more
    Source§

    fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> Result<usize, Error>

    Like write, except that it writes from a slice of buffers. Read more
    Source§

    fn is_write_vectored(&self) -> bool

    🔬This is a nightly-only experimental API. (can_vector)
    Determines if this Writer has an efficient write_vectored\nimplementation. Read more
    Source§

    fn flush(&mut self) -> Result<(), Error>

    Flushes this output stream, ensuring that all intermediately buffered\ncontents reach their destination. Read more
    Source§

    fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>

    Attempts to write an entire buffer into this writer. Read more
    Source§

    fn write_all_vectored(&mut self, bufs: &mut [IoSlice<'_>]) -> Result<(), Error>

    🔬This is a nightly-only experimental API. (write_all_vectored)
    Attempts to write multiple buffers into this writer. Read more
    Source§

    fn write_fmt(&mut self, fmt: Arguments<'_>) -> Result<(), Error>

    Writes a formatted string into this writer, returning any error\nencountered. Read more
    1.0.0 · Source§

    fn by_ref(&mut self) -> &mut Self
    where\n Self: Sized,

    Creates a “by reference” adapter for this instance of Write. Read more
    ","Write","iroh_relay::dns::BoxIter"],["
    Source§

    impl<T, U, A> CoerceUnsized<Box<U, A>> for Box<T, A>
    where\n T: Unsize<U> + ?Sized,\n A: Allocator,\n U: ?Sized,

    ","CoerceUnsized>","iroh_relay::dns::BoxIter"],["
    Source§

    impl<T, A> DerefPure for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    ","DerefPure","iroh_relay::dns::BoxIter"],["
    Source§

    impl<T, U> DispatchFromDyn<Box<U>> for Box<T>
    where\n T: Unsize<U> + ?Sized,\n U: ?Sized,

    ","DispatchFromDyn>","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<T, A> Eq for Box<T, A>
    where\n T: Eq + ?Sized,\n A: Allocator,

    ","Eq","iroh_relay::dns::BoxIter"],["
    1.26.0 · Source§

    impl<I, A> FusedIterator for Box<I, A>
    where\n I: FusedIterator + ?Sized,\n A: Allocator,

    ","FusedIterator","iroh_relay::dns::BoxIter"],["
    Source§

    impl<T, A> PinCoerceUnsized for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    ","PinCoerceUnsized","iroh_relay::dns::BoxIter"],["
    §

    impl<'a, T> Sequence<'a> for Box<T>
    where\n T: Sequence<'a>,

    ","Sequence<'a>","iroh_relay::dns::BoxIter"],["
    1.33.0 · Source§

    impl<T, A> Unpin for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    ","Unpin","iroh_relay::dns::BoxIter"]]]]); + var type_impls = Object.fromEntries([["iroh_relay",[["
    1.64.0 · Source§

    impl<T> AsFd for Box<T>
    where\n T: AsFd + ?Sized,

    Source§

    fn as_fd(&self) -> BorrowedFd<'_>

    Borrows the file descriptor. Read more
    ","AsFd","iroh_relay::dns::BoxIter"],["
    1.5.0 · Source§

    impl<T, A> AsMut<T> for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    Source§

    fn as_mut(&mut self) -> &mut T

    Converts this type into a mutable reference of the (usually inferred) input type.
    ","AsMut","iroh_relay::dns::BoxIter"],["
    1.63.0 · Source§

    impl<T> AsRawFd for Box<T>
    where\n T: AsRawFd,

    Source§

    fn as_raw_fd(&self) -> i32

    Extracts the raw file descriptor. Read more
    ","AsRawFd","iroh_relay::dns::BoxIter"],["
    1.5.0 · Source§

    impl<T, A> AsRef<T> for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    Source§

    fn as_ref(&self) -> &T

    Converts this type into a shared reference of the (usually inferred) input type.
    ","AsRef","iroh_relay::dns::BoxIter"],["
    §

    impl<T> AsyncBufRead for Box<T>
    where\n T: AsyncBufRead + Unpin + ?Sized,

    §

    fn poll_fill_buf(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<&[u8], Error>>

    Attempt to return the contents of the internal buffer, filling it with more data\nfrom the inner reader if it is empty. Read more
    §

    fn consume(self: Pin<&mut Box<T>>, amt: usize)

    Tells this buffer that amt bytes have been consumed from the buffer,\nso they should no longer be returned in calls to poll_read. Read more
    ","AsyncBufRead","iroh_relay::dns::BoxIter"],["
    §

    impl<T> AsyncBufRead for Box<T>
    where\n T: AsyncBufRead + Unpin + ?Sized,

    §

    fn poll_fill_buf(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<&[u8], Error>>

    Attempts to return the contents of the internal buffer, filling it with more data\nfrom the inner reader if it is empty. Read more
    §

    fn consume(self: Pin<&mut Box<T>>, amt: usize)

    Tells this buffer that amt bytes have been consumed from the buffer,\nso they should no longer be returned in calls to poll_read. Read more
    ","AsyncBufRead","iroh_relay::dns::BoxIter"],["
    1.85.0 · Source§

    impl<Args, F, A> AsyncFn<Args> for Box<F, A>
    where\n Args: Tuple,\n F: AsyncFn<Args> + ?Sized,\n A: Allocator,

    Source§

    extern "rust-call" fn async_call(\n &self,\n args: Args,\n) -> <Box<F, A> as AsyncFnMut<Args>>::CallRefFuture<'_>

    🔬This is a nightly-only experimental API. (async_fn_traits)
    Call the AsyncFn, returning a future which may borrow from the called closure.
    ","AsyncFn","iroh_relay::dns::BoxIter"],["
    1.85.0 · Source§

    impl<Args, F, A> AsyncFnMut<Args> for Box<F, A>
    where\n Args: Tuple,\n F: AsyncFnMut<Args> + ?Sized,\n A: Allocator,

    Source§

    type CallRefFuture<'a> = <F as AsyncFnMut<Args>>::CallRefFuture<'a>\nwhere\n Box<F, A>: 'a

    🔬This is a nightly-only experimental API. (async_fn_traits)
    Source§

    extern "rust-call" fn async_call_mut(\n &mut self,\n args: Args,\n) -> <Box<F, A> as AsyncFnMut<Args>>::CallRefFuture<'_>

    🔬This is a nightly-only experimental API. (async_fn_traits)
    Call the AsyncFnMut, returning a future which may borrow from the called closure.
    ","AsyncFnMut","iroh_relay::dns::BoxIter"],["
    1.85.0 · Source§

    impl<Args, F, A> AsyncFnOnce<Args> for Box<F, A>
    where\n Args: Tuple,\n F: AsyncFnOnce<Args> + ?Sized,\n A: Allocator,

    Source§

    type Output = <F as AsyncFnOnce<Args>>::Output

    🔬This is a nightly-only experimental API. (async_fn_traits)
    Output type of the called closure’s future.
    Source§

    type CallOnceFuture = <F as AsyncFnOnce<Args>>::CallOnceFuture

    🔬This is a nightly-only experimental API. (async_fn_traits)
    Future returned by AsyncFnOnce::async_call_once.
    Source§

    extern "rust-call" fn async_call_once(\n self,\n args: Args,\n) -> <Box<F, A> as AsyncFnOnce<Args>>::CallOnceFuture

    🔬This is a nightly-only experimental API. (async_fn_traits)
    Call the AsyncFnOnce, returning a future which may move out of the called closure.
    ","AsyncFnOnce","iroh_relay::dns::BoxIter"],["
    Source§

    impl<S> AsyncIterator for Box<S>
    where\n S: AsyncIterator + Unpin + ?Sized,

    Source§

    type Item = <S as AsyncIterator>::Item

    🔬This is a nightly-only experimental API. (async_iterator)
    The type of items yielded by the async iterator.
    Source§

    fn poll_next(\n self: Pin<&mut Box<S>>,\n cx: &mut Context<'_>,\n) -> Poll<Option<<Box<S> as AsyncIterator>::Item>>

    🔬This is a nightly-only experimental API. (async_iterator)
    Attempts to pull out the next value of this async iterator, registering the\ncurrent task for wakeup if the value is not yet available, and returning\nNone if the async iterator is exhausted. Read more
    Source§

    fn size_hint(&self) -> (usize, Option<usize>)

    🔬This is a nightly-only experimental API. (async_iterator)
    Returns the bounds on the remaining length of the async iterator. Read more
    ","AsyncIterator","iroh_relay::dns::BoxIter"],["
    §

    impl<T> AsyncRead for Box<T>
    where\n T: AsyncRead + Unpin + ?Sized,

    §

    fn poll_read(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n buf: &mut ReadBuf<'_>,\n) -> Poll<Result<(), Error>>

    Attempts to read from the AsyncRead into buf. Read more
    ","AsyncRead","iroh_relay::dns::BoxIter"],["
    §

    impl<T> AsyncRead for Box<T>
    where\n T: AsyncRead + Unpin + ?Sized,

    §

    fn poll_read(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n buf: &mut [u8],\n) -> Poll<Result<usize, Error>>

    Attempt to read from the AsyncRead into buf. Read more
    §

    fn poll_read_vectored(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n bufs: &mut [IoSliceMut<'_>],\n) -> Poll<Result<usize, Error>>

    Attempt to read from the AsyncRead into bufs using vectored\nIO operations. Read more
    ","AsyncRead","iroh_relay::dns::BoxIter"],["
    §

    impl<T> AsyncSeek for Box<T>
    where\n T: AsyncSeek + Unpin + ?Sized,

    §

    fn poll_seek(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n pos: SeekFrom,\n) -> Poll<Result<u64, Error>>

    Attempt to seek to an offset, in bytes, in a stream. Read more
    ","AsyncSeek","iroh_relay::dns::BoxIter"],["
    §

    impl<T> AsyncSeek for Box<T>
    where\n T: AsyncSeek + Unpin + ?Sized,

    §

    fn start_seek(self: Pin<&mut Box<T>>, pos: SeekFrom) -> Result<(), Error>

    Attempts to seek to an offset, in bytes, in a stream. Read more
    §

    fn poll_complete(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<u64, Error>>

    Waits for a seek operation to complete. Read more
    ","AsyncSeek","iroh_relay::dns::BoxIter"],["
    §

    impl<T> AsyncWrite for Box<T>
    where\n T: AsyncWrite + Unpin + ?Sized,

    §

    fn poll_write(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n buf: &[u8],\n) -> Poll<Result<usize, Error>>

    Attempt to write bytes from buf into the object. Read more
    §

    fn poll_write_vectored(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n bufs: &[IoSlice<'_>],\n) -> Poll<Result<usize, Error>>

    Attempt to write bytes from bufs into the object using vectored\nIO operations. Read more
    §

    fn poll_flush(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<(), Error>>

    Attempt to flush the object, ensuring that any buffered data reach\ntheir destination. Read more
    §

    fn poll_close(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<(), Error>>

    Attempt to close the object. Read more
    ","AsyncWrite","iroh_relay::dns::BoxIter"],["
    §

    impl<T> AsyncWrite for Box<T>
    where\n T: AsyncWrite + Unpin + ?Sized,

    §

    fn poll_write(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n buf: &[u8],\n) -> Poll<Result<usize, Error>>

    Attempt to write bytes from buf into the object. Read more
    §

    fn poll_write_vectored(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n bufs: &[IoSlice<'_>],\n) -> Poll<Result<usize, Error>>

    Like poll_write, except that it writes from a slice of buffers. Read more
    §

    fn is_write_vectored(&self) -> bool

    Determines if this writer has an efficient poll_write_vectored\nimplementation. Read more
    §

    fn poll_flush(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<(), Error>>

    Attempts to flush the object, ensuring that any buffered data reach\ntheir destination. Read more
    §

    fn poll_shutdown(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<(), Error>>

    Initiates or attempts to shut down this writer, returning success when\nthe I/O connection has completely shut down. Read more
    ","AsyncWrite","iroh_relay::dns::BoxIter"],["
    §

    impl<T> Body for Box<T>
    where\n T: Body + Unpin + ?Sized,

    §

    type Data = <T as Body>::Data

    Values yielded by the Body.
    §

    type Error = <T as Body>::Error

    The error type this Body might generate.
    §

    fn poll_frame(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n) -> Poll<Option<Result<Frame<<Box<T> as Body>::Data>, <Box<T> as Body>::Error>>>

    Attempt to pull out the next data buffer of this stream.
    §

    fn is_end_stream(&self) -> bool

    Returns true when the end of stream has been reached. Read more
    §

    fn size_hint(&self) -> SizeHint

    Returns the bounds on the remaining length of the stream. Read more
    ","Body","iroh_relay::dns::BoxIter"],["
    1.1.0 · Source§

    impl<T, A> Borrow<T> for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    ","Borrow","iroh_relay::dns::BoxIter"],["
    1.1.0 · Source§

    impl<T, A> BorrowMut<T> for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    ","BorrowMut","iroh_relay::dns::BoxIter"],["
    Source§

    impl<T> Box<T>
    where\n T: ?Sized,

    1.4.0 · Source

    pub unsafe fn from_raw(raw: *mut T) -> Box<T>

    Available on crate feature server only.

    Constructs a box from a raw pointer.

    \n

    After calling this function, the raw pointer is owned by the\nresulting Box. Specifically, the Box destructor will call\nthe destructor of T and free the allocated memory. For this\nto be safe, the memory must have been allocated in accordance\nwith the memory layout used by Box .

    \n
    §Safety
    \n

    This function is unsafe because improper use may lead to\nmemory problems. For example, a double-free may occur if the\nfunction is called twice on the same raw pointer.

    \n

    The raw pointer must point to a block of memory allocated by the global allocator.

    \n

    The safety conditions are described in the memory layout section.

    \n
    §Examples
    \n

    Recreate a Box which was previously converted to a raw pointer\nusing Box::into_raw:

    \n\n
    let x = Box::new(5);\nlet ptr = Box::into_raw(x);\nlet x = unsafe { Box::from_raw(ptr) };
    \n

    Manually create a Box from scratch by using the global allocator:

    \n\n
    use std::alloc::{alloc, Layout};\n\nunsafe {\n    let ptr = alloc(Layout::new::<i32>()) as *mut i32;\n    // In general .write is required to avoid attempting to destruct\n    // the (uninitialized) previous contents of `ptr`, though for this\n    // simple example `*ptr = 5` would have worked as well.\n    ptr.write(5);\n    let x = Box::from_raw(ptr);\n}
    Source

    pub unsafe fn from_non_null(ptr: NonNull<T>) -> Box<T>

    🔬This is a nightly-only experimental API. (box_vec_non_null)
    Available on crate feature server only.

    Constructs a box from a NonNull pointer.

    \n

    After calling this function, the NonNull pointer is owned by\nthe resulting Box. Specifically, the Box destructor will call\nthe destructor of T and free the allocated memory. For this\nto be safe, the memory must have been allocated in accordance\nwith the memory layout used by Box .

    \n
    §Safety
    \n

    This function is unsafe because improper use may lead to\nmemory problems. For example, a double-free may occur if the\nfunction is called twice on the same NonNull pointer.

    \n

    The non-null pointer must point to a block of memory allocated by the global allocator.

    \n

    The safety conditions are described in the memory layout section.

    \n
    §Examples
    \n

    Recreate a Box which was previously converted to a NonNull\npointer using Box::into_non_null:

    \n\n
    #![feature(box_vec_non_null)]\n\nlet x = Box::new(5);\nlet non_null = Box::into_non_null(x);\nlet x = unsafe { Box::from_non_null(non_null) };
    \n

    Manually create a Box from scratch by using the global allocator:

    \n\n
    #![feature(box_vec_non_null)]\n\nuse std::alloc::{alloc, Layout};\nuse std::ptr::NonNull;\n\nunsafe {\n    let non_null = NonNull::new(alloc(Layout::new::<i32>()).cast::<i32>())\n        .expect(\"allocation failed\");\n    // In general .write is required to avoid attempting to destruct\n    // the (uninitialized) previous contents of `non_null`.\n    non_null.write(5);\n    let x = Box::from_non_null(non_null);\n}
    1.4.0 · Source

    pub fn into_raw(b: Box<T>) -> *mut T

    Available on crate feature server only.

    Consumes the Box, returning a wrapped raw pointer.

    \n

    The pointer will be properly aligned and non-null.

    \n

    After calling this function, the caller is responsible for the\nmemory previously managed by the Box. In particular, the\ncaller should properly destroy T and release the memory, taking\ninto account the memory layout used by Box. The easiest way to\ndo this is to convert the raw pointer back into a Box with the\nBox::from_raw function, allowing the Box destructor to perform\nthe cleanup.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::into_raw(b) instead of b.into_raw(). This\nis so that there is no conflict with a method on the inner type.

    \n
    §Examples
    \n

    Converting the raw pointer back into a Box with Box::from_raw\nfor automatic cleanup:

    \n\n
    let x = Box::new(String::from(\"Hello\"));\nlet ptr = Box::into_raw(x);\nlet x = unsafe { Box::from_raw(ptr) };
    \n

    Manual cleanup by explicitly running the destructor and deallocating\nthe memory:

    \n\n
    use std::alloc::{dealloc, Layout};\nuse std::ptr;\n\nlet x = Box::new(String::from(\"Hello\"));\nlet ptr = Box::into_raw(x);\nunsafe {\n    ptr::drop_in_place(ptr);\n    dealloc(ptr as *mut u8, Layout::new::<String>());\n}
    \n

    Note: This is equivalent to the following:

    \n\n
    let x = Box::new(String::from(\"Hello\"));\nlet ptr = Box::into_raw(x);\nunsafe {\n    drop(Box::from_raw(ptr));\n}
    Source

    pub fn into_non_null(b: Box<T>) -> NonNull<T>

    🔬This is a nightly-only experimental API. (box_vec_non_null)
    Available on crate feature server only.

    Consumes the Box, returning a wrapped NonNull pointer.

    \n

    The pointer will be properly aligned.

    \n

    After calling this function, the caller is responsible for the\nmemory previously managed by the Box. In particular, the\ncaller should properly destroy T and release the memory, taking\ninto account the memory layout used by Box. The easiest way to\ndo this is to convert the NonNull pointer back into a Box with the\nBox::from_non_null function, allowing the Box destructor to\nperform the cleanup.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::into_non_null(b) instead of b.into_non_null().\nThis is so that there is no conflict with a method on the inner type.

    \n
    §Examples
    \n

    Converting the NonNull pointer back into a Box with Box::from_non_null\nfor automatic cleanup:

    \n\n
    #![feature(box_vec_non_null)]\n\nlet x = Box::new(String::from(\"Hello\"));\nlet non_null = Box::into_non_null(x);\nlet x = unsafe { Box::from_non_null(non_null) };
    \n

    Manual cleanup by explicitly running the destructor and deallocating\nthe memory:

    \n\n
    #![feature(box_vec_non_null)]\n\nuse std::alloc::{dealloc, Layout};\n\nlet x = Box::new(String::from(\"Hello\"));\nlet non_null = Box::into_non_null(x);\nunsafe {\n    non_null.drop_in_place();\n    dealloc(non_null.as_ptr().cast::<u8>(), Layout::new::<String>());\n}
    \n

    Note: This is equivalent to the following:

    \n\n
    #![feature(box_vec_non_null)]\n\nlet x = Box::new(String::from(\"Hello\"));\nlet non_null = Box::into_non_null(x);\nunsafe {\n    drop(Box::from_non_null(non_null));\n}
    ",0,"iroh_relay::dns::BoxIter"],["
    Source§

    impl<T> Box<T>

    1.0.0 · Source

    pub fn new(x: T) -> Box<T>

    Available on crate feature server only.

    Allocates memory on the heap and then places x into it.

    \n

    This doesn’t actually allocate if T is zero-sized.

    \n
    §Examples
    \n
    let five = Box::new(5);
    1.82.0 · Source

    pub fn new_uninit() -> Box<MaybeUninit<T>>

    Available on crate feature server only.

    Constructs a new box with uninitialized contents.

    \n
    §Examples
    \n
    let mut five = Box::<u32>::new_uninit();\n// Deferred initialization:\nfive.write(5);\nlet five = unsafe { five.assume_init() };\n\nassert_eq!(*five, 5)
    1.92.0 · Source

    pub fn new_zeroed() -> Box<MaybeUninit<T>>

    Available on crate feature server only.

    Constructs a new Box with uninitialized contents, with the memory\nbeing filled with 0 bytes.

    \n

    See MaybeUninit::zeroed for examples of correct and incorrect usage\nof this method.

    \n
    §Examples
    \n
    let zero = Box::<u32>::new_zeroed();\nlet zero = unsafe { zero.assume_init() };\n\nassert_eq!(*zero, 0)
    1.33.0 · Source

    pub fn pin(x: T) -> Pin<Box<T>>

    Available on crate feature server only.

    Constructs a new Pin<Box<T>>. If T does not implement Unpin, then\nx will be pinned in memory and unable to be moved.

    \n

    Constructing and pinning of the Box can also be done in two steps: Box::pin(x)\ndoes the same as Box::into_pin(Box::new(x)). Consider using\ninto_pin if you already have a Box<T>, or if you want to\nconstruct a (pinned) Box in a different way than with Box::new.

    \n
    Source

    pub fn try_new(x: T) -> Result<Box<T>, AllocError>

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Allocates memory on the heap then places x into it,\nreturning an error if the allocation fails

    \n

    This doesn’t actually allocate if T is zero-sized.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nlet five = Box::try_new(5)?;
    Source

    pub fn try_new_uninit() -> Result<Box<MaybeUninit<T>>, AllocError>

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Constructs a new box with uninitialized contents on the heap,\nreturning an error if the allocation fails

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nlet mut five = Box::<u32>::try_new_uninit()?;\n// Deferred initialization:\nfive.write(5);\nlet five = unsafe { five.assume_init() };\n\nassert_eq!(*five, 5);
    Source

    pub fn try_new_zeroed() -> Result<Box<MaybeUninit<T>>, AllocError>

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Constructs a new Box with uninitialized contents, with the memory\nbeing filled with 0 bytes on the heap

    \n

    See MaybeUninit::zeroed for examples of correct and incorrect usage\nof this method.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nlet zero = Box::<u32>::try_new_zeroed()?;\nlet zero = unsafe { zero.assume_init() };\n\nassert_eq!(*zero, 0);
    ",0,"iroh_relay::dns::BoxIter"],["
    Source§

    impl<T, A> Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    Source

    pub unsafe fn from_raw_in(raw: *mut T, alloc: A) -> Box<T, A>

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Constructs a box from a raw pointer in the given allocator.

    \n

    After calling this function, the raw pointer is owned by the\nresulting Box. Specifically, the Box destructor will call\nthe destructor of T and free the allocated memory. For this\nto be safe, the memory must have been allocated in accordance\nwith the memory layout used by Box .

    \n
    §Safety
    \n

    This function is unsafe because improper use may lead to\nmemory problems. For example, a double-free may occur if the\nfunction is called twice on the same raw pointer.

    \n

    The raw pointer must point to a block of memory allocated by alloc.

    \n
    §Examples
    \n

    Recreate a Box which was previously converted to a raw pointer\nusing Box::into_raw_with_allocator:

    \n\n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet x = Box::new_in(5, System);\nlet (ptr, alloc) = Box::into_raw_with_allocator(x);\nlet x = unsafe { Box::from_raw_in(ptr, alloc) };
    \n

    Manually create a Box from scratch by using the system allocator:

    \n\n
    #![feature(allocator_api, slice_ptr_get)]\n\nuse std::alloc::{Allocator, Layout, System};\n\nunsafe {\n    let ptr = System.allocate(Layout::new::<i32>())?.as_mut_ptr() as *mut i32;\n    // In general .write is required to avoid attempting to destruct\n    // the (uninitialized) previous contents of `ptr`, though for this\n    // simple example `*ptr = 5` would have worked as well.\n    ptr.write(5);\n    let x = Box::from_raw_in(ptr, System);\n}
    Source

    pub unsafe fn from_non_null_in(raw: NonNull<T>, alloc: A) -> Box<T, A>

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Constructs a box from a NonNull pointer in the given allocator.

    \n

    After calling this function, the NonNull pointer is owned by\nthe resulting Box. Specifically, the Box destructor will call\nthe destructor of T and free the allocated memory. For this\nto be safe, the memory must have been allocated in accordance\nwith the memory layout used by Box .

    \n
    §Safety
    \n

    This function is unsafe because improper use may lead to\nmemory problems. For example, a double-free may occur if the\nfunction is called twice on the same raw pointer.

    \n

    The non-null pointer must point to a block of memory allocated by alloc.

    \n
    §Examples
    \n

    Recreate a Box which was previously converted to a NonNull pointer\nusing Box::into_non_null_with_allocator:

    \n\n
    #![feature(allocator_api, box_vec_non_null)]\n\nuse std::alloc::System;\n\nlet x = Box::new_in(5, System);\nlet (non_null, alloc) = Box::into_non_null_with_allocator(x);\nlet x = unsafe { Box::from_non_null_in(non_null, alloc) };
    \n

    Manually create a Box from scratch by using the system allocator:

    \n\n
    #![feature(allocator_api, box_vec_non_null, slice_ptr_get)]\n\nuse std::alloc::{Allocator, Layout, System};\n\nunsafe {\n    let non_null = System.allocate(Layout::new::<i32>())?.cast::<i32>();\n    // In general .write is required to avoid attempting to destruct\n    // the (uninitialized) previous contents of `non_null`.\n    non_null.write(5);\n    let x = Box::from_non_null_in(non_null, System);\n}
    Source

    pub fn into_raw_with_allocator(b: Box<T, A>) -> (*mut T, A)

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Consumes the Box, returning a wrapped raw pointer and the allocator.

    \n

    The pointer will be properly aligned and non-null.

    \n

    After calling this function, the caller is responsible for the\nmemory previously managed by the Box. In particular, the\ncaller should properly destroy T and release the memory, taking\ninto account the memory layout used by Box. The easiest way to\ndo this is to convert the raw pointer back into a Box with the\nBox::from_raw_in function, allowing the Box destructor to perform\nthe cleanup.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::into_raw_with_allocator(b) instead of b.into_raw_with_allocator(). This\nis so that there is no conflict with a method on the inner type.

    \n
    §Examples
    \n

    Converting the raw pointer back into a Box with Box::from_raw_in\nfor automatic cleanup:

    \n\n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet x = Box::new_in(String::from(\"Hello\"), System);\nlet (ptr, alloc) = Box::into_raw_with_allocator(x);\nlet x = unsafe { Box::from_raw_in(ptr, alloc) };
    \n

    Manual cleanup by explicitly running the destructor and deallocating\nthe memory:

    \n\n
    #![feature(allocator_api)]\n\nuse std::alloc::{Allocator, Layout, System};\nuse std::ptr::{self, NonNull};\n\nlet x = Box::new_in(String::from(\"Hello\"), System);\nlet (ptr, alloc) = Box::into_raw_with_allocator(x);\nunsafe {\n    ptr::drop_in_place(ptr);\n    let non_null = NonNull::new_unchecked(ptr);\n    alloc.deallocate(non_null.cast(), Layout::new::<String>());\n}
    Source

    pub fn into_non_null_with_allocator(b: Box<T, A>) -> (NonNull<T>, A)

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Consumes the Box, returning a wrapped NonNull pointer and the allocator.

    \n

    The pointer will be properly aligned.

    \n

    After calling this function, the caller is responsible for the\nmemory previously managed by the Box. In particular, the\ncaller should properly destroy T and release the memory, taking\ninto account the memory layout used by Box. The easiest way to\ndo this is to convert the NonNull pointer back into a Box with the\nBox::from_non_null_in function, allowing the Box destructor to\nperform the cleanup.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::into_non_null_with_allocator(b) instead of\nb.into_non_null_with_allocator(). This is so that there is no\nconflict with a method on the inner type.

    \n
    §Examples
    \n

    Converting the NonNull pointer back into a Box with\nBox::from_non_null_in for automatic cleanup:

    \n\n
    #![feature(allocator_api, box_vec_non_null)]\n\nuse std::alloc::System;\n\nlet x = Box::new_in(String::from(\"Hello\"), System);\nlet (non_null, alloc) = Box::into_non_null_with_allocator(x);\nlet x = unsafe { Box::from_non_null_in(non_null, alloc) };
    \n

    Manual cleanup by explicitly running the destructor and deallocating\nthe memory:

    \n\n
    #![feature(allocator_api, box_vec_non_null)]\n\nuse std::alloc::{Allocator, Layout, System};\n\nlet x = Box::new_in(String::from(\"Hello\"), System);\nlet (non_null, alloc) = Box::into_non_null_with_allocator(x);\nunsafe {\n    non_null.drop_in_place();\n    alloc.deallocate(non_null.cast::<u8>(), Layout::new::<String>());\n}
    Source

    pub fn as_mut_ptr(b: &mut Box<T, A>) -> *mut T

    🔬This is a nightly-only experimental API. (box_as_ptr)
    Available on crate feature server only.

    Returns a raw mutable pointer to the Box’s contents.

    \n

    The caller must ensure that the Box outlives the pointer this\nfunction returns, or else it will end up dangling.

    \n

    This method guarantees that for the purpose of the aliasing model, this method\ndoes not materialize a reference to the underlying memory, and thus the returned pointer\nwill remain valid when mixed with other calls to as_ptr and as_mut_ptr.\nNote that calling other methods that materialize references to the memory\nmay still invalidate this pointer.\nSee the example below for how this guarantee can be used.

    \n
    §Examples
    \n

    Due to the aliasing guarantee, the following code is legal:

    \n\n
    #![feature(box_as_ptr)]\n\nunsafe {\n    let mut b = Box::new(0);\n    let ptr1 = Box::as_mut_ptr(&mut b);\n    ptr1.write(1);\n    let ptr2 = Box::as_mut_ptr(&mut b);\n    ptr2.write(2);\n    // Notably, the write to `ptr2` did *not* invalidate `ptr1`:\n    ptr1.write(3);\n}
    Source

    pub fn as_ptr(b: &Box<T, A>) -> *const T

    🔬This is a nightly-only experimental API. (box_as_ptr)
    Available on crate feature server only.

    Returns a raw pointer to the Box’s contents.

    \n

    The caller must ensure that the Box outlives the pointer this\nfunction returns, or else it will end up dangling.

    \n

    The caller must also ensure that the memory the pointer (non-transitively) points to\nis never written to (except inside an UnsafeCell) using this pointer or any pointer\nderived from it. If you need to mutate the contents of the Box, use as_mut_ptr.

    \n

    This method guarantees that for the purpose of the aliasing model, this method\ndoes not materialize a reference to the underlying memory, and thus the returned pointer\nwill remain valid when mixed with other calls to as_ptr and as_mut_ptr.\nNote that calling other methods that materialize mutable references to the memory,\nas well as writing to this memory, may still invalidate this pointer.\nSee the example below for how this guarantee can be used.

    \n
    §Examples
    \n

    Due to the aliasing guarantee, the following code is legal:

    \n\n
    #![feature(box_as_ptr)]\n\nunsafe {\n    let mut v = Box::new(0);\n    let ptr1 = Box::as_ptr(&v);\n    let ptr2 = Box::as_mut_ptr(&mut v);\n    let _val = ptr2.read();\n    // No write to this memory has happened yet, so `ptr1` is still valid.\n    let _val = ptr1.read();\n    // However, once we do a write...\n    ptr2.write(1);\n    // ... `ptr1` is no longer valid.\n    // This would be UB: let _val = ptr1.read();\n}
    Source

    pub fn allocator(b: &Box<T, A>) -> &A

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Returns a reference to the underlying allocator.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::allocator(&b) instead of b.allocator(). This\nis so that there is no conflict with a method on the inner type.

    \n
    1.26.0 · Source

    pub fn leak<'a>(b: Box<T, A>) -> &'a mut T
    where\n A: 'a,

    Available on crate feature server only.

    Consumes and leaks the Box, returning a mutable reference,\n&'a mut T.

    \n

    Note that the type T must outlive the chosen lifetime 'a. If the type\nhas only static references, or none at all, then this may be chosen to be\n'static.

    \n

    This function is mainly useful for data that lives for the remainder of\nthe program’s life. Dropping the returned reference will cause a memory\nleak. If this is not acceptable, the reference should first be wrapped\nwith the Box::from_raw function producing a Box. This Box can\nthen be dropped which will properly destroy T and release the\nallocated memory.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::leak(b) instead of b.leak(). This\nis so that there is no conflict with a method on the inner type.

    \n
    §Examples
    \n

    Simple usage:

    \n\n
    let x = Box::new(41);\nlet static_ref: &'static mut usize = Box::leak(x);\n*static_ref += 1;\nassert_eq!(*static_ref, 42);
    \n

    Unsized data:

    \n\n
    let x = vec![1, 2, 3].into_boxed_slice();\nlet static_ref = Box::leak(x);\nstatic_ref[0] = 4;\nassert_eq!(*static_ref, [4, 2, 3]);
    1.63.0 · Source

    pub fn into_pin(boxed: Box<T, A>) -> Pin<Box<T, A>>
    where\n A: 'static,

    Available on crate feature server only.

    Converts a Box<T> into a Pin<Box<T>>. If T does not implement Unpin, then\n*boxed will be pinned in memory and unable to be moved.

    \n

    This conversion does not allocate on the heap and happens in place.

    \n

    This is also available via From.

    \n

    Constructing and pinning a Box with Box::into_pin(Box::new(x))\ncan also be written more concisely using Box::pin(x).\nThis into_pin method is useful if you already have a Box<T>, or you are\nconstructing a (pinned) Box in a different way than with Box::new.

    \n
    §Notes
    \n

    It’s not recommended that crates add an impl like From<Box<T>> for Pin<T>,\nas it’ll introduce an ambiguity when calling Pin::from.\nA demonstration of such a poor impl is shown below.

    \n\n
    ⓘ
    struct Foo; // A type defined in this crate.\nimpl From<Box<()>> for Pin<Foo> {\n    fn from(_: Box<()>) -> Pin<Foo> {\n        Pin::new(Foo)\n    }\n}\n\nlet foo = Box::new(());\nlet bar = Pin::from(foo);
    ",0,"iroh_relay::dns::BoxIter"],["
    Source§

    impl<T, A> Box<T, A>
    where\n A: Allocator,

    Source

    pub fn new_in(x: T, alloc: A) -> Box<T, A>
    where\n A: Allocator,

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Allocates memory in the given allocator then places x into it.

    \n

    This doesn’t actually allocate if T is zero-sized.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet five = Box::new_in(5, System);
    Source

    pub fn try_new_in(x: T, alloc: A) -> Result<Box<T, A>, AllocError>
    where\n A: Allocator,

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Allocates memory in the given allocator then places x into it,\nreturning an error if the allocation fails

    \n

    This doesn’t actually allocate if T is zero-sized.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet five = Box::try_new_in(5, System)?;
    Source

    pub fn new_uninit_in(alloc: A) -> Box<MaybeUninit<T>, A>
    where\n A: Allocator,

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Constructs a new box with uninitialized contents in the provided allocator.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet mut five = Box::<u32, _>::new_uninit_in(System);\n// Deferred initialization:\nfive.write(5);\nlet five = unsafe { five.assume_init() };\n\nassert_eq!(*five, 5)
    Source

    pub fn try_new_uninit_in(alloc: A) -> Result<Box<MaybeUninit<T>, A>, AllocError>
    where\n A: Allocator,

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Constructs a new box with uninitialized contents in the provided allocator,\nreturning an error if the allocation fails

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet mut five = Box::<u32, _>::try_new_uninit_in(System)?;\n// Deferred initialization:\nfive.write(5);\nlet five = unsafe { five.assume_init() };\n\nassert_eq!(*five, 5);
    Source

    pub fn new_zeroed_in(alloc: A) -> Box<MaybeUninit<T>, A>
    where\n A: Allocator,

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Constructs a new Box with uninitialized contents, with the memory\nbeing filled with 0 bytes in the provided allocator.

    \n

    See MaybeUninit::zeroed for examples of correct and incorrect usage\nof this method.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet zero = Box::<u32, _>::new_zeroed_in(System);\nlet zero = unsafe { zero.assume_init() };\n\nassert_eq!(*zero, 0)
    Source

    pub fn try_new_zeroed_in(alloc: A) -> Result<Box<MaybeUninit<T>, A>, AllocError>
    where\n A: Allocator,

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Constructs a new Box with uninitialized contents, with the memory\nbeing filled with 0 bytes in the provided allocator,\nreturning an error if the allocation fails,

    \n

    See MaybeUninit::zeroed for examples of correct and incorrect usage\nof this method.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet zero = Box::<u32, _>::try_new_zeroed_in(System)?;\nlet zero = unsafe { zero.assume_init() };\n\nassert_eq!(*zero, 0);
    Source

    pub fn pin_in(x: T, alloc: A) -> Pin<Box<T, A>>
    where\n A: 'static + Allocator,

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature server only.

    Constructs a new Pin<Box<T, A>>. If T does not implement Unpin, then\nx will be pinned in memory and unable to be moved.

    \n

    Constructing and pinning of the Box can also be done in two steps: Box::pin_in(x, alloc)\ndoes the same as Box::into_pin(Box::new_in(x, alloc)). Consider using\ninto_pin if you already have a Box<T, A>, or if you want to\nconstruct a (pinned) Box in a different way than with Box::new_in.

    \n
    Source

    pub fn into_boxed_slice(boxed: Box<T, A>) -> Box<[T], A>

    🔬This is a nightly-only experimental API. (box_into_boxed_slice)
    Available on crate feature server only.

    Converts a Box<T> into a Box<[T]>

    \n

    This conversion does not allocate on the heap and happens in place.

    \n
    Source

    pub fn into_inner(boxed: Box<T, A>) -> T

    🔬This is a nightly-only experimental API. (box_into_inner)
    Available on crate feature server only.

    Consumes the Box, returning the wrapped value.

    \n
    §Examples
    \n
    #![feature(box_into_inner)]\n\nlet c = Box::new(5);\n\nassert_eq!(Box::into_inner(c), 5);
    Source

    pub fn take(boxed: Box<T, A>) -> (T, Box<MaybeUninit<T>, A>)

    🔬This is a nightly-only experimental API. (box_take)
    Available on crate feature server only.

    Consumes the Box without consuming its allocation, returning the wrapped value and a Box\nto the uninitialized memory where the wrapped value used to live.

    \n

    This can be used together with write to reuse the allocation for multiple\nboxed values.

    \n
    §Examples
    \n
    #![feature(box_take)]\n\nlet c = Box::new(5);\n\n// take the value out of the box\nlet (value, uninit) = Box::take(c);\nassert_eq!(value, 5);\n\n// reuse the box for a second value\nlet c = Box::write(uninit, 6);\nassert_eq!(*c, 6);
    ",0,"iroh_relay::dns::BoxIter"],["
    §

    impl<T> Buf for Box<T>
    where\n T: Buf + ?Sized,

    §

    fn remaining(&self) -> usize

    Returns the number of bytes between the current position and the end of\nthe buffer. Read more
    §

    fn chunk(&self) -> &[u8] ⓘ

    Returns a slice starting at the current position and of length between 0\nand Buf::remaining(). Note that this can return a shorter slice (this\nallows non-continuous internal representation). Read more
    §

    fn chunks_vectored<'b>(&'b self, dst: &mut [IoSlice<'b>]) -> usize

    Fills dst with potentially multiple slices starting at self’s\ncurrent position. Read more
    §

    fn advance(&mut self, cnt: usize)

    Advance the internal cursor of the Buf Read more
    §

    fn has_remaining(&self) -> bool

    Returns true if there are any more bytes to consume Read more
    §

    fn copy_to_slice(&mut self, dst: &mut [u8])

    Copies bytes from self into dst. Read more
    §

    fn get_u8(&mut self) -> u8

    Gets an unsigned 8 bit integer from self. Read more
    §

    fn get_i8(&mut self) -> i8

    Gets a signed 8 bit integer from self. Read more
    §

    fn get_u16(&mut self) -> u16

    Gets an unsigned 16 bit integer from self in big-endian byte order. Read more
    §

    fn get_u16_le(&mut self) -> u16

    Gets an unsigned 16 bit integer from self in little-endian byte order. Read more
    §

    fn get_u16_ne(&mut self) -> u16

    Gets an unsigned 16 bit integer from self in native-endian byte order. Read more
    §

    fn get_i16(&mut self) -> i16

    Gets a signed 16 bit integer from self in big-endian byte order. Read more
    §

    fn get_i16_le(&mut self) -> i16

    Gets a signed 16 bit integer from self in little-endian byte order. Read more
    §

    fn get_i16_ne(&mut self) -> i16

    Gets a signed 16 bit integer from self in native-endian byte order. Read more
    §

    fn get_u32(&mut self) -> u32

    Gets an unsigned 32 bit integer from self in the big-endian byte order. Read more
    §

    fn get_u32_le(&mut self) -> u32

    Gets an unsigned 32 bit integer from self in the little-endian byte order. Read more
    §

    fn get_u32_ne(&mut self) -> u32

    Gets an unsigned 32 bit integer from self in native-endian byte order. Read more
    §

    fn get_i32(&mut self) -> i32

    Gets a signed 32 bit integer from self in big-endian byte order. Read more
    §

    fn get_i32_le(&mut self) -> i32

    Gets a signed 32 bit integer from self in little-endian byte order. Read more
    §

    fn get_i32_ne(&mut self) -> i32

    Gets a signed 32 bit integer from self in native-endian byte order. Read more
    §

    fn get_u64(&mut self) -> u64

    Gets an unsigned 64 bit integer from self in big-endian byte order. Read more
    §

    fn get_u64_le(&mut self) -> u64

    Gets an unsigned 64 bit integer from self in little-endian byte order. Read more
    §

    fn get_u64_ne(&mut self) -> u64

    Gets an unsigned 64 bit integer from self in native-endian byte order. Read more
    §

    fn get_i64(&mut self) -> i64

    Gets a signed 64 bit integer from self in big-endian byte order. Read more
    §

    fn get_i64_le(&mut self) -> i64

    Gets a signed 64 bit integer from self in little-endian byte order. Read more
    §

    fn get_i64_ne(&mut self) -> i64

    Gets a signed 64 bit integer from self in native-endian byte order. Read more
    §

    fn get_u128(&mut self) -> u128

    Gets an unsigned 128 bit integer from self in big-endian byte order. Read more
    §

    fn get_u128_le(&mut self) -> u128

    Gets an unsigned 128 bit integer from self in little-endian byte order. Read more
    §

    fn get_u128_ne(&mut self) -> u128

    Gets an unsigned 128 bit integer from self in native-endian byte order. Read more
    §

    fn get_i128(&mut self) -> i128

    Gets a signed 128 bit integer from self in big-endian byte order. Read more
    §

    fn get_i128_le(&mut self) -> i128

    Gets a signed 128 bit integer from self in little-endian byte order. Read more
    §

    fn get_i128_ne(&mut self) -> i128

    Gets a signed 128 bit integer from self in native-endian byte order. Read more
    §

    fn get_uint(&mut self, nbytes: usize) -> u64

    Gets an unsigned n-byte integer from self in big-endian byte order. Read more
    §

    fn get_uint_le(&mut self, nbytes: usize) -> u64

    Gets an unsigned n-byte integer from self in little-endian byte order. Read more
    §

    fn get_uint_ne(&mut self, nbytes: usize) -> u64

    Gets an unsigned n-byte integer from self in native-endian byte order. Read more
    §

    fn get_int(&mut self, nbytes: usize) -> i64

    Gets a signed n-byte integer from self in big-endian byte order. Read more
    §

    fn get_int_le(&mut self, nbytes: usize) -> i64

    Gets a signed n-byte integer from self in little-endian byte order. Read more
    §

    fn get_int_ne(&mut self, nbytes: usize) -> i64

    Gets a signed n-byte integer from self in native-endian byte order. Read more
    §

    fn get_f32(&mut self) -> f32

    Gets an IEEE754 single-precision (4 bytes) floating point number from\nself in big-endian byte order. Read more
    §

    fn get_f32_le(&mut self) -> f32

    Gets an IEEE754 single-precision (4 bytes) floating point number from\nself in little-endian byte order. Read more
    §

    fn get_f32_ne(&mut self) -> f32

    Gets an IEEE754 single-precision (4 bytes) floating point number from\nself in native-endian byte order. Read more
    §

    fn get_f64(&mut self) -> f64

    Gets an IEEE754 double-precision (8 bytes) floating point number from\nself in big-endian byte order. Read more
    §

    fn get_f64_le(&mut self) -> f64

    Gets an IEEE754 double-precision (8 bytes) floating point number from\nself in little-endian byte order. Read more
    §

    fn get_f64_ne(&mut self) -> f64

    Gets an IEEE754 double-precision (8 bytes) floating point number from\nself in native-endian byte order. Read more
    §

    fn try_copy_to_slice(&mut self, dst: &mut [u8]) -> Result<(), TryGetError>

    Copies bytes from self into dst. Read more
    §

    fn try_get_u8(&mut self) -> Result<u8, TryGetError>

    Gets an unsigned 8 bit integer from self. Read more
    §

    fn try_get_i8(&mut self) -> Result<i8, TryGetError>

    Gets a signed 8 bit integer from self. Read more
    §

    fn try_get_u16(&mut self) -> Result<u16, TryGetError>

    Gets an unsigned 16 bit integer from self in big-endian byte order. Read more
    §

    fn try_get_u16_le(&mut self) -> Result<u16, TryGetError>

    Gets an unsigned 16 bit integer from self in little-endian byte order. Read more
    §

    fn try_get_u16_ne(&mut self) -> Result<u16, TryGetError>

    Gets an unsigned 16 bit integer from self in native-endian byte order. Read more
    §

    fn try_get_i16(&mut self) -> Result<i16, TryGetError>

    Gets a signed 16 bit integer from self in big-endian byte order. Read more
    §

    fn try_get_i16_le(&mut self) -> Result<i16, TryGetError>

    Gets an signed 16 bit integer from self in little-endian byte order. Read more
    §

    fn try_get_i16_ne(&mut self) -> Result<i16, TryGetError>

    Gets a signed 16 bit integer from self in native-endian byte order. Read more
    §

    fn try_get_u32(&mut self) -> Result<u32, TryGetError>

    Gets an unsigned 32 bit integer from self in big-endian byte order. Read more
    §

    fn try_get_u32_le(&mut self) -> Result<u32, TryGetError>

    Gets an unsigned 32 bit integer from self in little-endian byte order. Read more
    §

    fn try_get_u32_ne(&mut self) -> Result<u32, TryGetError>

    Gets an unsigned 32 bit integer from self in native-endian byte order. Read more
    §

    fn try_get_i32(&mut self) -> Result<i32, TryGetError>

    Gets a signed 32 bit integer from self in big-endian byte order. Read more
    §

    fn try_get_i32_le(&mut self) -> Result<i32, TryGetError>

    Gets a signed 32 bit integer from self in little-endian byte order. Read more
    §

    fn try_get_i32_ne(&mut self) -> Result<i32, TryGetError>

    Gets a signed 32 bit integer from self in native-endian byte order. Read more
    §

    fn try_get_u64(&mut self) -> Result<u64, TryGetError>

    Gets an unsigned 64 bit integer from self in big-endian byte order. Read more
    §

    fn try_get_u64_le(&mut self) -> Result<u64, TryGetError>

    Gets an unsigned 64 bit integer from self in little-endian byte order. Read more
    §

    fn try_get_u64_ne(&mut self) -> Result<u64, TryGetError>

    Gets an unsigned 64 bit integer from self in native-endian byte order. Read more
    §

    fn try_get_i64(&mut self) -> Result<i64, TryGetError>

    Gets a signed 64 bit integer from self in big-endian byte order. Read more
    §

    fn try_get_i64_le(&mut self) -> Result<i64, TryGetError>

    Gets a signed 64 bit integer from self in little-endian byte order. Read more
    §

    fn try_get_i64_ne(&mut self) -> Result<i64, TryGetError>

    Gets a signed 64 bit integer from self in native-endian byte order. Read more
    §

    fn try_get_u128(&mut self) -> Result<u128, TryGetError>

    Gets an unsigned 128 bit integer from self in big-endian byte order. Read more
    §

    fn try_get_u128_le(&mut self) -> Result<u128, TryGetError>

    Gets an unsigned 128 bit integer from self in little-endian byte order. Read more
    §

    fn try_get_u128_ne(&mut self) -> Result<u128, TryGetError>

    Gets an unsigned 128 bit integer from self in native-endian byte order. Read more
    §

    fn try_get_i128(&mut self) -> Result<i128, TryGetError>

    Gets a signed 128 bit integer from self in big-endian byte order. Read more
    §

    fn try_get_i128_le(&mut self) -> Result<i128, TryGetError>

    Gets a signed 128 bit integer from self in little-endian byte order. Read more
    §

    fn try_get_i128_ne(&mut self) -> Result<i128, TryGetError>

    Gets a signed 128 bit integer from self in native-endian byte order. Read more
    §

    fn try_get_uint(&mut self, nbytes: usize) -> Result<u64, TryGetError>

    Gets an unsigned n-byte integer from self in big-endian byte order. Read more
    §

    fn try_get_uint_le(&mut self, nbytes: usize) -> Result<u64, TryGetError>

    Gets an unsigned n-byte integer from self in little-endian byte order. Read more
    §

    fn try_get_uint_ne(&mut self, nbytes: usize) -> Result<u64, TryGetError>

    Gets an unsigned n-byte integer from self in native-endian byte order. Read more
    §

    fn try_get_int(&mut self, nbytes: usize) -> Result<i64, TryGetError>

    Gets a signed n-byte integer from self in big-endian byte order. Read more
    §

    fn try_get_int_le(&mut self, nbytes: usize) -> Result<i64, TryGetError>

    Gets a signed n-byte integer from self in little-endian byte order. Read more
    §

    fn try_get_int_ne(&mut self, nbytes: usize) -> Result<i64, TryGetError>

    Gets a signed n-byte integer from self in native-endian byte order. Read more
    §

    fn try_get_f32(&mut self) -> Result<f32, TryGetError>

    Gets an IEEE754 single-precision (4 bytes) floating point number from\nself in big-endian byte order. Read more
    §

    fn try_get_f32_le(&mut self) -> Result<f32, TryGetError>

    Gets an IEEE754 single-precision (4 bytes) floating point number from\nself in little-endian byte order. Read more
    §

    fn try_get_f32_ne(&mut self) -> Result<f32, TryGetError>

    Gets an IEEE754 single-precision (4 bytes) floating point number from\nself in native-endian byte order. Read more
    §

    fn try_get_f64(&mut self) -> Result<f64, TryGetError>

    Gets an IEEE754 double-precision (8 bytes) floating point number from\nself in big-endian byte order. Read more
    §

    fn try_get_f64_le(&mut self) -> Result<f64, TryGetError>

    Gets an IEEE754 double-precision (8 bytes) floating point number from\nself in little-endian byte order. Read more
    §

    fn try_get_f64_ne(&mut self) -> Result<f64, TryGetError>

    Gets an IEEE754 double-precision (8 bytes) floating point number from\nself in native-endian byte order. Read more
    §

    fn copy_to_bytes(&mut self, len: usize) -> Bytes

    Consumes len bytes inside self and returns new instance of Bytes\nwith this data. Read more
    §

    fn take(self, limit: usize) -> Take<Self>
    where\n Self: Sized,

    Creates an adaptor which will read at most limit bytes from self. Read more
    §

    fn chain<U>(self, next: U) -> Chain<Self, U>
    where\n U: Buf,\n Self: Sized,

    Creates an adaptor which will chain this buffer with another. Read more
    §

    fn reader(self) -> Reader<Self>
    where\n Self: Sized,

    Creates an adaptor which implements the Read trait for self. Read more
    ","Buf","iroh_relay::dns::BoxIter"],["
    §

    impl<T> BufMut for Box<T>
    where\n T: BufMut + ?Sized,

    §

    fn remaining_mut(&self) -> usize

    Returns the number of bytes that can be written from the current\nposition until the end of the buffer is reached. Read more
    §

    fn chunk_mut(&mut self) -> &mut UninitSlice

    Returns a mutable slice starting at the current BufMut position and of\nlength between 0 and BufMut::remaining_mut(). Note that this can be shorter than the\nwhole remainder of the buffer (this allows non-continuous implementation). Read more
    §

    unsafe fn advance_mut(&mut self, cnt: usize)

    Advance the internal cursor of the BufMut Read more
    §

    fn put_slice(&mut self, src: &[u8])

    Transfer bytes into self from src and advance the cursor by the\nnumber of bytes written. Read more
    §

    fn put_u8(&mut self, n: u8)

    Writes an unsigned 8 bit integer to self. Read more
    §

    fn put_i8(&mut self, n: i8)

    Writes a signed 8 bit integer to self. Read more
    §

    fn put_u16(&mut self, n: u16)

    Writes an unsigned 16 bit integer to self in big-endian byte order. Read more
    §

    fn put_u16_le(&mut self, n: u16)

    Writes an unsigned 16 bit integer to self in little-endian byte order. Read more
    §

    fn put_u16_ne(&mut self, n: u16)

    Writes an unsigned 16 bit integer to self in native-endian byte order. Read more
    §

    fn put_i16(&mut self, n: i16)

    Writes a signed 16 bit integer to self in big-endian byte order. Read more
    §

    fn put_i16_le(&mut self, n: i16)

    Writes a signed 16 bit integer to self in little-endian byte order. Read more
    §

    fn put_i16_ne(&mut self, n: i16)

    Writes a signed 16 bit integer to self in native-endian byte order. Read more
    §

    fn put_u32(&mut self, n: u32)

    Writes an unsigned 32 bit integer to self in big-endian byte order. Read more
    §

    fn put_u32_le(&mut self, n: u32)

    Writes an unsigned 32 bit integer to self in little-endian byte order. Read more
    §

    fn put_u32_ne(&mut self, n: u32)

    Writes an unsigned 32 bit integer to self in native-endian byte order. Read more
    §

    fn put_i32(&mut self, n: i32)

    Writes a signed 32 bit integer to self in big-endian byte order. Read more
    §

    fn put_i32_le(&mut self, n: i32)

    Writes a signed 32 bit integer to self in little-endian byte order. Read more
    §

    fn put_i32_ne(&mut self, n: i32)

    Writes a signed 32 bit integer to self in native-endian byte order. Read more
    §

    fn put_u64(&mut self, n: u64)

    Writes an unsigned 64 bit integer to self in the big-endian byte order. Read more
    §

    fn put_u64_le(&mut self, n: u64)

    Writes an unsigned 64 bit integer to self in little-endian byte order. Read more
    §

    fn put_u64_ne(&mut self, n: u64)

    Writes an unsigned 64 bit integer to self in native-endian byte order. Read more
    §

    fn put_i64(&mut self, n: i64)

    Writes a signed 64 bit integer to self in the big-endian byte order. Read more
    §

    fn put_i64_le(&mut self, n: i64)

    Writes a signed 64 bit integer to self in little-endian byte order. Read more
    §

    fn put_i64_ne(&mut self, n: i64)

    Writes a signed 64 bit integer to self in native-endian byte order. Read more
    §

    fn has_remaining_mut(&self) -> bool

    Returns true if there is space in self for more bytes. Read more
    §

    fn put<T>(&mut self, src: T)
    where\n T: Buf,\n Self: Sized,

    Transfer bytes into self from src and advance the cursor by the\nnumber of bytes written. Read more
    §

    fn put_bytes(&mut self, val: u8, cnt: usize)

    Put cnt bytes val into self. Read more
    §

    fn put_u128(&mut self, n: u128)

    Writes an unsigned 128 bit integer to self in the big-endian byte order. Read more
    §

    fn put_u128_le(&mut self, n: u128)

    Writes an unsigned 128 bit integer to self in little-endian byte order. Read more
    §

    fn put_u128_ne(&mut self, n: u128)

    Writes an unsigned 128 bit integer to self in native-endian byte order. Read more
    §

    fn put_i128(&mut self, n: i128)

    Writes a signed 128 bit integer to self in the big-endian byte order. Read more
    §

    fn put_i128_le(&mut self, n: i128)

    Writes a signed 128 bit integer to self in little-endian byte order. Read more
    §

    fn put_i128_ne(&mut self, n: i128)

    Writes a signed 128 bit integer to self in native-endian byte order. Read more
    §

    fn put_uint(&mut self, n: u64, nbytes: usize)

    Writes an unsigned n-byte integer to self in big-endian byte order. Read more
    §

    fn put_uint_le(&mut self, n: u64, nbytes: usize)

    Writes an unsigned n-byte integer to self in the little-endian byte order. Read more
    §

    fn put_uint_ne(&mut self, n: u64, nbytes: usize)

    Writes an unsigned n-byte integer to self in the native-endian byte order. Read more
    §

    fn put_int(&mut self, n: i64, nbytes: usize)

    Writes low nbytes of a signed integer to self in big-endian byte order. Read more
    §

    fn put_int_le(&mut self, n: i64, nbytes: usize)

    Writes low nbytes of a signed integer to self in little-endian byte order. Read more
    §

    fn put_int_ne(&mut self, n: i64, nbytes: usize)

    Writes low nbytes of a signed integer to self in native-endian byte order. Read more
    §

    fn put_f32(&mut self, n: f32)

    Writes an IEEE754 single-precision (4 bytes) floating point number to\nself in big-endian byte order. Read more
    §

    fn put_f32_le(&mut self, n: f32)

    Writes an IEEE754 single-precision (4 bytes) floating point number to\nself in little-endian byte order. Read more
    §

    fn put_f32_ne(&mut self, n: f32)

    Writes an IEEE754 single-precision (4 bytes) floating point number to\nself in native-endian byte order. Read more
    §

    fn put_f64(&mut self, n: f64)

    Writes an IEEE754 double-precision (8 bytes) floating point number to\nself in big-endian byte order. Read more
    §

    fn put_f64_le(&mut self, n: f64)

    Writes an IEEE754 double-precision (8 bytes) floating point number to\nself in little-endian byte order. Read more
    §

    fn put_f64_ne(&mut self, n: f64)

    Writes an IEEE754 double-precision (8 bytes) floating point number to\nself in native-endian byte order. Read more
    §

    fn limit(self, limit: usize) -> Limit<Self>
    where\n Self: Sized,

    Creates an adaptor which can write at most limit bytes to self. Read more
    §

    fn writer(self) -> Writer<Self>
    where\n Self: Sized,

    Creates an adaptor which implements the Write trait for self. Read more
    §

    fn chain_mut<U>(self, next: U) -> Chain<Self, U>
    where\n U: BufMut,\n Self: Sized,

    Creates an adapter which will chain this buffer with another. Read more
    ","BufMut","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<B> BufRead for Box<B>
    where\n B: BufRead + ?Sized,

    Source§

    fn fill_buf(&mut self) -> Result<&[u8], Error>

    Returns the contents of the internal buffer, filling it with more data, via Read methods, if empty. Read more
    Source§

    fn consume(&mut self, amt: usize)

    Marks the given amount of additional bytes from the internal buffer as having been read.\nSubsequent calls to read only return bytes that have not been marked as read. Read more
    Source§

    fn has_data_left(&mut self) -> Result<bool, Error>

    🔬This is a nightly-only experimental API. (buf_read_has_data_left)
    Checks if there is any data left to be read. Read more
    Source§

    fn read_until(&mut self, byte: u8, buf: &mut Vec<u8>) -> Result<usize, Error>

    Reads all bytes into buf until the delimiter byte or EOF is reached. Read more
    Source§

    fn skip_until(&mut self, byte: u8) -> Result<usize, Error>

    Skips all bytes until the delimiter byte or EOF is reached. Read more
    Source§

    fn read_line(&mut self, buf: &mut String) -> Result<usize, Error>

    Reads all bytes until a newline (the 0xA byte) is reached, and append\nthem to the provided String buffer. Read more
    1.0.0 · Source§

    fn split(self, byte: u8) -> Split<Self>
    where\n Self: Sized,

    Returns an iterator over the contents of this reader split on the byte\nbyte. Read more
    1.0.0 · Source§

    fn lines(self) -> Lines<Self>
    where\n Self: Sized,

    Returns an iterator over the lines of this reader. Read more
    ","BufRead","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<T, A> Clone for Box<T, A>
    where\n T: Clone,\n A: Allocator + Clone,

    Source§

    fn clone(&self) -> Box<T, A>

    Returns a new box with a clone() of this box’s contents.

    \n
    §Examples
    \n
    let x = Box::new(5);\nlet y = x.clone();\n\n// The value is the same\nassert_eq!(x, y);\n\n// But they are unique objects\nassert_ne!(&*x as *const i32, &*y as *const i32);
    Source§

    fn clone_from(&mut self, source: &Box<T, A>)

    Copies source’s contents into self without creating a new allocation.

    \n
    §Examples
    \n
    let x = Box::new(5);\nlet mut y = Box::new(10);\nlet yp: *const i32 = &*y;\n\ny.clone_from(&x);\n\n// The value is the same\nassert_eq!(x, y);\n\n// And no allocation occurred\nassert_eq!(yp, &*y);
    ","Clone","iroh_relay::dns::BoxIter"],["
    Source§

    impl<G, R, A> Coroutine<R> for Box<G, A>
    where\n G: Coroutine<R> + Unpin + ?Sized,\n A: Allocator,

    Source§

    type Yield = <G as Coroutine<R>>::Yield

    🔬This is a nightly-only experimental API. (coroutine_trait)
    The type of value this coroutine yields. Read more
    Source§

    type Return = <G as Coroutine<R>>::Return

    🔬This is a nightly-only experimental API. (coroutine_trait)
    The type of value this coroutine returns. Read more
    Source§

    fn resume(\n self: Pin<&mut Box<G, A>>,\n arg: R,\n) -> CoroutineState<<Box<G, A> as Coroutine<R>>::Yield, <Box<G, A> as Coroutine<R>>::Return>

    🔬This is a nightly-only experimental API. (coroutine_trait)
    Resumes the execution of this coroutine. Read more
    ","Coroutine","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<T, A> Debug for Box<T, A>
    where\n T: Debug + ?Sized,\n A: Allocator,

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    ","Debug","iroh_relay::dns::BoxIter"],["
    §

    impl<'a, T> DecodeValue<'a> for Box<T>
    where\n T: DecodeValue<'a>,

    §

    type Error = <T as DecodeValue<'a>>::Error

    Type returned in the event of a decoding error.
    §

    fn decode_value<R>(\n reader: &mut R,\n header: Header,\n) -> Result<Box<T>, <Box<T> as DecodeValue<'a>>::Error>
    where\n R: Reader<'a>,

    Attempt to decode this value using the provided [Reader].
    ","DecodeValue<'a>","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<T> Default for Box<T>
    where\n T: Default,

    Source§

    fn default() -> Box<T>

    Creates a Box<T>, with the Default value for T.

    \n
    ","Default","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<T, A> Deref for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    Source§

    type Target = T

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &T

    Dereferences the value.
    ","Deref","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<T, A> DerefMut for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    Source§

    fn deref_mut(&mut self) -> &mut T

    Mutably dereferences the value.
    ","DerefMut","iroh_relay::dns::BoxIter"],["
    Source§

    impl<'de, T> Deserialize<'de> for Box<T>
    where\n T: Deserialize<'de>,

    Source§

    fn deserialize<D>(\n deserializer: D,\n) -> Result<Box<T>, <D as Deserializer<'de>>::Error>
    where\n D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    ","Deserialize<'de>","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<T, A> Display for Box<T, A>
    where\n T: Display + ?Sized,\n A: Allocator,

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    ","Display","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<I, A> DoubleEndedIterator for Box<I, A>
    where\n I: DoubleEndedIterator + ?Sized,\n A: Allocator,

    Source§

    fn next_back(&mut self) -> Option<<I as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    Source§

    fn nth_back(&mut self, n: usize) -> Option<<I as Iterator>::Item>

    Returns the nth element from the end of the iterator. Read more
    Source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.27.0 · Source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where\n Self: Sized,\n F: FnMut(B, Self::Item) -> R,\n R: Try<Output = B>,

    This is the reverse version of Iterator::try_fold(): it takes\nelements starting from the back of the iterator. Read more
    1.27.0 · Source§

    fn rfold<B, F>(self, init: B, f: F) -> B
    where\n Self: Sized,\n F: FnMut(B, Self::Item) -> B,

    An iterator method that reduces the iterator’s elements to a single,\nfinal value, starting from the back. Read more
    1.27.0 · Source§

    fn rfind<P>(&mut self, predicate: P) -> Option<Self::Item>
    where\n Self: Sized,\n P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator from the back that satisfies a predicate. Read more
    ","DoubleEndedIterator","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<T, A> Drop for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    Source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    ","Drop","iroh_relay::dns::BoxIter"],["
    §

    impl<T> EncodeValue for Box<T>
    where\n T: EncodeValue,

    §

    fn value_len(&self) -> Result<Length, Error>

    Compute the length of this value (sans [Tag]+[Length] header) when\nencoded as ASN.1 DER.
    §

    fn encode_value(&self, writer: &mut impl Writer) -> Result<(), Error>

    Encode value (sans [Tag]+[Length] header) as ASN.1 DER using the\nprovided [Writer].
    §

    fn header(&self) -> Result<Header, Error>
    where\n Self: Tagged,

    Get the [Header] used to encode this value.
    ","EncodeValue","iroh_relay::dns::BoxIter"],["
    1.8.0 · Source§

    impl<E> Error for Box<E>
    where\n E: Error,

    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<'b>(&'b self, request: &mut Request<'b>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    ","Error","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<I, A> ExactSizeIterator for Box<I, A>
    where\n I: ExactSizeIterator + ?Sized,\n A: Allocator,

    Source§

    fn len(&self) -> usize

    Returns the exact remaining length of the iterator. Read more
    Source§

    fn is_empty(&self) -> bool

    🔬This is a nightly-only experimental API. (exact_size_is_empty)
    Returns true if the iterator is empty. Read more
    ","ExactSizeIterator","iroh_relay::dns::BoxIter"],["
    1.35.0 · Source§

    impl<Args, F, A> Fn<Args> for Box<F, A>
    where\n Args: Tuple,\n F: Fn<Args> + ?Sized,\n A: Allocator,

    Source§

    extern "rust-call" fn call(\n &self,\n args: Args,\n) -> <Box<F, A> as FnOnce<Args>>::Output

    🔬This is a nightly-only experimental API. (fn_traits)
    Performs the call operation.
    ","Fn","iroh_relay::dns::BoxIter"],["
    1.35.0 · Source§

    impl<Args, F, A> FnMut<Args> for Box<F, A>
    where\n Args: Tuple,\n F: FnMut<Args> + ?Sized,\n A: Allocator,

    Source§

    extern "rust-call" fn call_mut(\n &mut self,\n args: Args,\n) -> <Box<F, A> as FnOnce<Args>>::Output

    🔬This is a nightly-only experimental API. (fn_traits)
    Performs the call operation.
    ","FnMut","iroh_relay::dns::BoxIter"],["
    1.35.0 · Source§

    impl<Args, F, A> FnOnce<Args> for Box<F, A>
    where\n Args: Tuple,\n F: FnOnce<Args> + ?Sized,\n A: Allocator,

    Source§

    type Output = <F as FnOnce<Args>>::Output

    The returned type after the call operator is used.
    Source§

    extern "rust-call" fn call_once(\n self,\n args: Args,\n) -> <Box<F, A> as FnOnce<Args>>::Output

    🔬This is a nightly-only experimental API. (fn_traits)
    Performs the call operation.
    ","FnOnce","iroh_relay::dns::BoxIter"],["
    1.6.0 · Source§

    impl<T> From<T> for Box<T>

    Source§

    fn from(t: T) -> Box<T>

    Converts a T into a Box<T>

    \n

    The conversion allocates on the heap and moves t\nfrom the stack into it.

    \n
    §Examples
    \n
    let x = 5;\nlet boxed = Box::new(5);\n\nassert_eq!(Box::from(x), boxed);
    ","From","iroh_relay::dns::BoxIter"],["
    §

    impl<F> FusedFuture for Box<F>
    where\n F: FusedFuture + Unpin + ?Sized,

    §

    fn is_terminated(&self) -> bool

    Returns true if the underlying future should no longer be polled.
    ","FusedFuture","iroh_relay::dns::BoxIter"],["
    §

    impl<S> FusedStream for Box<S>
    where\n S: FusedStream + Unpin + ?Sized,

    §

    fn is_terminated(&self) -> bool

    Returns true if the stream should no longer be polled.
    ","FusedStream","iroh_relay::dns::BoxIter"],["
    1.36.0 · Source§

    impl<F, A> Future for Box<F, A>
    where\n F: Future + Unpin + ?Sized,\n A: Allocator,

    Source§

    type Output = <F as Future>::Output

    The type of value produced on completion.
    Source§

    fn poll(\n self: Pin<&mut Box<F, A>>,\n cx: &mut Context<'_>,\n) -> Poll<<Box<F, A> as Future>::Output>

    Attempts to resolve the future to a final value, registering\nthe current task for wakeup if the value is not yet available. Read more
    ","Future","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<T, A> Hash for Box<T, A>
    where\n T: Hash + ?Sized,\n A: Allocator,

    Source§

    fn hash<H>(&self, state: &mut H)
    where\n H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where\n H: Hasher,\n Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    ","Hash","iroh_relay::dns::BoxIter"],["
    1.22.0 · Source§

    impl<T, A> Hasher for Box<T, A>
    where\n T: Hasher + ?Sized,\n A: Allocator,

    Source§

    fn finish(&self) -> u64

    Returns the hash value for the values written so far. Read more
    Source§

    fn write(&mut self, bytes: &[u8])

    Writes some data into this Hasher. Read more
    Source§

    fn write_u8(&mut self, i: u8)

    Writes a single u8 into this hasher.
    Source§

    fn write_u16(&mut self, i: u16)

    Writes a single u16 into this hasher.
    Source§

    fn write_u32(&mut self, i: u32)

    Writes a single u32 into this hasher.
    Source§

    fn write_u64(&mut self, i: u64)

    Writes a single u64 into this hasher.
    Source§

    fn write_u128(&mut self, i: u128)

    Writes a single u128 into this hasher.
    Source§

    fn write_usize(&mut self, i: usize)

    Writes a single usize into this hasher.
    Source§

    fn write_i8(&mut self, i: i8)

    Writes a single i8 into this hasher.
    Source§

    fn write_i16(&mut self, i: i16)

    Writes a single i16 into this hasher.
    Source§

    fn write_i32(&mut self, i: i32)

    Writes a single i32 into this hasher.
    Source§

    fn write_i64(&mut self, i: i64)

    Writes a single i64 into this hasher.
    Source§

    fn write_i128(&mut self, i: i128)

    Writes a single i128 into this hasher.
    Source§

    fn write_isize(&mut self, i: isize)

    Writes a single isize into this hasher.
    Source§

    fn write_length_prefix(&mut self, len: usize)

    🔬This is a nightly-only experimental API. (hasher_prefixfree_extras)
    Writes a length prefix into this hasher, as part of being prefix-free. Read more
    Source§

    fn write_str(&mut self, s: &str)

    🔬This is a nightly-only experimental API. (hasher_prefixfree_extras)
    Writes a single str into this hasher. Read more
    ","Hasher","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<I, A> Iterator for Box<I, A>
    where\n I: Iterator + ?Sized,\n A: Allocator,

    Source§

    type Item = <I as Iterator>::Item

    The type of the elements being iterated over.
    Source§

    fn next(&mut self) -> Option<<I as Iterator>::Item>

    Advances the iterator and returns the next value. Read more
    Source§

    fn size_hint(&self) -> (usize, Option<usize>)

    Returns the bounds on the remaining length of the iterator. Read more
    Source§

    fn nth(&mut self, n: usize) -> Option<<I as Iterator>::Item>

    Returns the nth element of the iterator. Read more
    Source§

    fn last(self) -> Option<<I as Iterator>::Item>

    Consumes the iterator, returning the last element. Read more
    Source§

    fn next_chunk<const N: usize>(\n &mut self,\n) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>
    where\n Self: Sized,

    🔬This is a nightly-only experimental API. (iter_next_chunk)
    Advances the iterator and returns an array containing the next N values. Read more
    1.0.0 · Source§

    fn count(self) -> usize
    where\n Self: Sized,

    Consumes the iterator, counting the number of iterations and returning it. Read more
    Source§

    fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator by n elements. Read more
    1.28.0 · Source§

    fn step_by(self, step: usize) -> StepBy<Self>
    where\n Self: Sized,

    Creates an iterator starting at the same point, but stepping by\nthe given amount at each iteration. Read more
    1.0.0 · Source§

    fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
    where\n Self: Sized,\n U: IntoIterator<Item = Self::Item>,

    Takes two iterators and creates a new iterator over both in sequence. Read more
    1.0.0 · Source§

    fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>
    where\n Self: Sized,\n U: IntoIterator,

    ‘Zips up’ two iterators into a single iterator of pairs. Read more
    Source§

    fn intersperse(self, separator: Self::Item) -> Intersperse<Self>
    where\n Self: Sized,\n Self::Item: Clone,

    🔬This is a nightly-only experimental API. (iter_intersperse)
    Creates a new iterator which places a copy of separator between adjacent\nitems of the original iterator. Read more
    Source§

    fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
    where\n Self: Sized,\n G: FnMut() -> Self::Item,

    🔬This is a nightly-only experimental API. (iter_intersperse)
    Creates a new iterator which places an item generated by separator\nbetween adjacent items of the original iterator. Read more
    1.0.0 · Source§

    fn map<B, F>(self, f: F) -> Map<Self, F>
    where\n Self: Sized,\n F: FnMut(Self::Item) -> B,

    Takes a closure and creates an iterator which calls that closure on each\nelement. Read more
    1.21.0 · Source§

    fn for_each<F>(self, f: F)
    where\n Self: Sized,\n F: FnMut(Self::Item),

    Calls a closure on each element of an iterator. Read more
    1.0.0 · Source§

    fn filter<P>(self, predicate: P) -> Filter<Self, P>
    where\n Self: Sized,\n P: FnMut(&Self::Item) -> bool,

    Creates an iterator which uses a closure to determine if an element\nshould be yielded. Read more
    1.0.0 · Source§

    fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
    where\n Self: Sized,\n F: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both filters and maps. Read more
    1.0.0 · Source§

    fn enumerate(self) -> Enumerate<Self>
    where\n Self: Sized,

    Creates an iterator which gives the current iteration count as well as\nthe next value. Read more
    1.0.0 · Source§

    fn peekable(self) -> Peekable<Self>
    where\n Self: Sized,

    Creates an iterator which can use the peek and peek_mut methods\nto look at the next element of the iterator without consuming it. See\ntheir documentation for more information. Read more
    1.0.0 · Source§

    fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
    where\n Self: Sized,\n P: FnMut(&Self::Item) -> bool,

    Creates an iterator that skips elements based on a predicate. Read more
    1.0.0 · Source§

    fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
    where\n Self: Sized,\n P: FnMut(&Self::Item) -> bool,

    Creates an iterator that yields elements based on a predicate. Read more
    1.57.0 · Source§

    fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
    where\n Self: Sized,\n P: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both yields elements based on a predicate and maps. Read more
    1.0.0 · Source§

    fn skip(self, n: usize) -> Skip<Self>
    where\n Self: Sized,

    Creates an iterator that skips the first n elements. Read more
    1.0.0 · Source§

    fn take(self, n: usize) -> Take<Self>
    where\n Self: Sized,

    Creates an iterator that yields the first n elements, or fewer\nif the underlying iterator ends sooner. Read more
    1.0.0 · Source§

    fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
    where\n Self: Sized,\n F: FnMut(&mut St, Self::Item) -> Option<B>,

    An iterator adapter which, like fold, holds internal state, but\nunlike fold, produces a new iterator. Read more
    1.0.0 · Source§

    fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
    where\n Self: Sized,\n U: IntoIterator,\n F: FnMut(Self::Item) -> U,

    Creates an iterator that works like map, but flattens nested structure. Read more
    1.29.0 · Source§

    fn flatten(self) -> Flatten<Self>
    where\n Self: Sized,\n Self::Item: IntoIterator,

    Creates an iterator that flattens nested structure. Read more
    Source§

    fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
    where\n Self: Sized,\n F: FnMut(&[Self::Item; N]) -> R,

    🔬This is a nightly-only experimental API. (iter_map_windows)
    Calls the given function f for each contiguous window of size N over\nself and returns an iterator over the outputs of f. Like slice::windows(),\nthe windows during mapping overlap as well. Read more
    1.0.0 · Source§

    fn fuse(self) -> Fuse<Self>
    where\n Self: Sized,

    Creates an iterator which ends after the first None. Read more
    1.0.0 · Source§

    fn inspect<F>(self, f: F) -> Inspect<Self, F>
    where\n Self: Sized,\n F: FnMut(&Self::Item),

    Does something with each element of an iterator, passing the value on. Read more
    1.0.0 · Source§

    fn by_ref(&mut self) -> &mut Self
    where\n Self: Sized,

    Creates a “by reference” adapter for this instance of Iterator. Read more
    1.0.0 · Source§

    fn collect<B>(self) -> B
    where\n B: FromIterator<Self::Item>,\n Self: Sized,

    Transforms an iterator into a collection. Read more
    Source§

    fn try_collect<B>(\n &mut self,\n) -> <<Self::Item as Try>::Residual as Residual<B>>::TryType
    where\n Self: Sized,\n Self::Item: Try,\n <Self::Item as Try>::Residual: Residual<B>,\n B: FromIterator<<Self::Item as Try>::Output>,

    🔬This is a nightly-only experimental API. (iterator_try_collect)
    Fallibly transforms an iterator into a collection, short circuiting if\na failure is encountered. Read more
    Source§

    fn collect_into<E>(self, collection: &mut E) -> &mut E
    where\n E: Extend<Self::Item>,\n Self: Sized,

    🔬This is a nightly-only experimental API. (iter_collect_into)
    Collects all the items from an iterator into a collection. Read more
    1.0.0 · Source§

    fn partition<B, F>(self, f: F) -> (B, B)
    where\n Self: Sized,\n B: Default + Extend<Self::Item>,\n F: FnMut(&Self::Item) -> bool,

    Consumes an iterator, creating two collections from it. Read more
    Source§

    fn partition_in_place<'a, T, P>(self, predicate: P) -> usize
    where\n T: 'a,\n Self: Sized + DoubleEndedIterator<Item = &'a mut T>,\n P: FnMut(&T) -> bool,

    🔬This is a nightly-only experimental API. (iter_partition_in_place)
    Reorders the elements of this iterator in-place according to the given predicate,\nsuch that all those that return true precede all those that return false.\nReturns the number of true elements found. Read more
    Source§

    fn is_partitioned<P>(self, predicate: P) -> bool
    where\n Self: Sized,\n P: FnMut(Self::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_is_partitioned)
    Checks if the elements of this iterator are partitioned according to the given predicate,\nsuch that all those that return true precede all those that return false. Read more
    1.27.0 · Source§

    fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
    where\n Self: Sized,\n F: FnMut(B, Self::Item) -> R,\n R: Try<Output = B>,

    An iterator method that applies a function as long as it returns\nsuccessfully, producing a single, final value. Read more
    1.27.0 · Source§

    fn try_for_each<F, R>(&mut self, f: F) -> R
    where\n Self: Sized,\n F: FnMut(Self::Item) -> R,\n R: Try<Output = ()>,

    An iterator method that applies a fallible function to each item in the\niterator, stopping at the first error and returning that error. Read more
    1.0.0 · Source§

    fn fold<B, F>(self, init: B, f: F) -> B
    where\n Self: Sized,\n F: FnMut(B, Self::Item) -> B,

    Folds every element into an accumulator by applying an operation,\nreturning the final result. Read more
    1.51.0 · Source§

    fn reduce<F>(self, f: F) -> Option<Self::Item>
    where\n Self: Sized,\n F: FnMut(Self::Item, Self::Item) -> Self::Item,

    Reduces the elements to a single one, by repeatedly applying a reducing\noperation. Read more
    Source§

    fn try_reduce<R>(\n &mut self,\n f: impl FnMut(Self::Item, Self::Item) -> R,\n) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
    where\n Self: Sized,\n R: Try<Output = Self::Item>,\n <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (iterator_try_reduce)
    Reduces the elements to a single one by repeatedly applying a reducing operation. If the\nclosure returns a failure, the failure is propagated back to the caller immediately. Read more
    1.0.0 · Source§

    fn all<F>(&mut self, f: F) -> bool
    where\n Self: Sized,\n F: FnMut(Self::Item) -> bool,

    Tests if every element of the iterator matches a predicate. Read more
    1.0.0 · Source§

    fn any<F>(&mut self, f: F) -> bool
    where\n Self: Sized,\n F: FnMut(Self::Item) -> bool,

    Tests if any element of the iterator matches a predicate. Read more
    1.0.0 · Source§

    fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
    where\n Self: Sized,\n P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator that satisfies a predicate. Read more
    1.30.0 · Source§

    fn find_map<B, F>(&mut self, f: F) -> Option<B>
    where\n Self: Sized,\n F: FnMut(Self::Item) -> Option<B>,

    Applies function to the elements of iterator and returns\nthe first non-none result. Read more
    Source§

    fn try_find<R>(\n &mut self,\n f: impl FnMut(&Self::Item) -> R,\n) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
    where\n Self: Sized,\n R: Try<Output = bool>,\n <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (try_find)
    Applies function to the elements of iterator and returns\nthe first true result or the first error. Read more
    1.0.0 · Source§

    fn position<P>(&mut self, predicate: P) -> Option<usize>
    where\n Self: Sized,\n P: FnMut(Self::Item) -> bool,

    Searches for an element in an iterator, returning its index. Read more
    1.0.0 · Source§

    fn rposition<P>(&mut self, predicate: P) -> Option<usize>
    where\n P: FnMut(Self::Item) -> bool,\n Self: Sized + ExactSizeIterator + DoubleEndedIterator,

    Searches for an element in an iterator from the right, returning its\nindex. Read more
    1.0.0 · Source§

    fn max(self) -> Option<Self::Item>
    where\n Self: Sized,\n Self::Item: Ord,

    Returns the maximum element of an iterator. Read more
    1.0.0 · Source§

    fn min(self) -> Option<Self::Item>
    where\n Self: Sized,\n Self::Item: Ord,

    Returns the minimum element of an iterator. Read more
    1.6.0 · Source§

    fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where\n B: Ord,\n Self: Sized,\n F: FnMut(&Self::Item) -> B,

    Returns the element that gives the maximum value from the\nspecified function. Read more
    1.15.0 · Source§

    fn max_by<F>(self, compare: F) -> Option<Self::Item>
    where\n Self: Sized,\n F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the maximum value with respect to the\nspecified comparison function. Read more
    1.6.0 · Source§

    fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where\n B: Ord,\n Self: Sized,\n F: FnMut(&Self::Item) -> B,

    Returns the element that gives the minimum value from the\nspecified function. Read more
    1.15.0 · Source§

    fn min_by<F>(self, compare: F) -> Option<Self::Item>
    where\n Self: Sized,\n F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the minimum value with respect to the\nspecified comparison function. Read more
    1.0.0 · Source§

    fn rev(self) -> Rev<Self>
    where\n Self: Sized + DoubleEndedIterator,

    Reverses an iterator’s direction. Read more
    1.0.0 · Source§

    fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
    where\n FromA: Default + Extend<A>,\n FromB: Default + Extend<B>,\n Self: Sized + Iterator<Item = (A, B)>,

    Converts an iterator of pairs into a pair of containers. Read more
    1.36.0 · Source§

    fn copied<'a, T>(self) -> Copied<Self>
    where\n T: Copy + 'a,\n Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which copies all of its elements. Read more
    1.0.0 · Source§

    fn cloned<'a, T>(self) -> Cloned<Self>
    where\n T: Clone + 'a,\n Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which clones all of its elements. Read more
    1.0.0 · Source§

    fn cycle(self) -> Cycle<Self>
    where\n Self: Sized + Clone,

    Repeats an iterator endlessly. Read more
    Source§

    fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
    where\n Self: Sized,

    🔬This is a nightly-only experimental API. (iter_array_chunks)
    Returns an iterator over N elements of the iterator at a time. Read more
    1.11.0 · Source§

    fn sum<S>(self) -> S
    where\n Self: Sized,\n S: Sum<Self::Item>,

    Sums the elements of an iterator. Read more
    1.11.0 · Source§

    fn product<P>(self) -> P
    where\n Self: Sized,\n P: Product<Self::Item>,

    Iterates over the entire iterator, multiplying all the elements Read more
    1.5.0 · Source§

    fn cmp<I>(self, other: I) -> Ordering
    where\n I: IntoIterator<Item = Self::Item>,\n Self::Item: Ord,\n Self: Sized,

    Lexicographically compares the elements of this Iterator with those\nof another. Read more
    Source§

    fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
    where\n Self: Sized,\n I: IntoIterator,\n F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Ordering,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those\nof another with respect to the specified comparison function. Read more
    1.5.0 · Source§

    fn partial_cmp<I>(self, other: I) -> Option<Ordering>
    where\n I: IntoIterator,\n Self::Item: PartialOrd<<I as IntoIterator>::Item>,\n Self: Sized,

    Lexicographically compares the PartialOrd elements of\nthis Iterator with those of another. The comparison works like short-circuit\nevaluation, returning a result without comparing the remaining elements.\nAs soon as an order can be determined, the evaluation stops and a result is returned. Read more
    Source§

    fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
    where\n Self: Sized,\n I: IntoIterator,\n F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those\nof another with respect to the specified comparison function. Read more
    1.5.0 · Source§

    fn eq<I>(self, other: I) -> bool
    where\n I: IntoIterator,\n Self::Item: PartialEq<<I as IntoIterator>::Item>,\n Self: Sized,

    Determines if the elements of this Iterator are equal to those of\nanother. Read more
    Source§

    fn eq_by<I, F>(self, other: I, eq: F) -> bool
    where\n Self: Sized,\n I: IntoIterator,\n F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Determines if the elements of this Iterator are equal to those of\nanother with respect to the specified equality function. Read more
    1.5.0 · Source§

    fn ne<I>(self, other: I) -> bool
    where\n I: IntoIterator,\n Self::Item: PartialEq<<I as IntoIterator>::Item>,\n Self: Sized,

    Determines if the elements of this Iterator are not equal to those of\nanother. Read more
    1.5.0 · Source§

    fn lt<I>(self, other: I) -> bool
    where\n I: IntoIterator,\n Self::Item: PartialOrd<<I as IntoIterator>::Item>,\n Self: Sized,

    Determines if the elements of this Iterator are lexicographically\nless than those of another. Read more
    1.5.0 · Source§

    fn le<I>(self, other: I) -> bool
    where\n I: IntoIterator,\n Self::Item: PartialOrd<<I as IntoIterator>::Item>,\n Self: Sized,

    Determines if the elements of this Iterator are lexicographically\nless or equal to those of another. Read more
    1.5.0 · Source§

    fn gt<I>(self, other: I) -> bool
    where\n I: IntoIterator,\n Self::Item: PartialOrd<<I as IntoIterator>::Item>,\n Self: Sized,

    Determines if the elements of this Iterator are lexicographically\ngreater than those of another. Read more
    1.5.0 · Source§

    fn ge<I>(self, other: I) -> bool
    where\n I: IntoIterator,\n Self::Item: PartialOrd<<I as IntoIterator>::Item>,\n Self: Sized,

    Determines if the elements of this Iterator are lexicographically\ngreater than or equal to those of another. Read more
    1.82.0 · Source§

    fn is_sorted(self) -> bool
    where\n Self: Sized,\n Self::Item: PartialOrd,

    Checks if the elements of this iterator are sorted. Read more
    1.82.0 · Source§

    fn is_sorted_by<F>(self, compare: F) -> bool
    where\n Self: Sized,\n F: FnMut(&Self::Item, &Self::Item) -> bool,

    Checks if the elements of this iterator are sorted using the given comparator function. Read more
    1.82.0 · Source§

    fn is_sorted_by_key<F, K>(self, f: F) -> bool
    where\n Self: Sized,\n F: FnMut(Self::Item) -> K,\n K: PartialOrd,

    Checks if the elements of this iterator are sorted using the given key extraction\nfunction. Read more
    ","Iterator","iroh_relay::dns::BoxIter"],["
    §

    impl<Sp> LocalSpawn for Box<Sp>
    where\n Sp: LocalSpawn + ?Sized,

    §

    fn spawn_local_obj(\n &self,\n future: LocalFutureObj<'static, ()>,\n) -> Result<(), SpawnError>

    Spawns a future that will be run to completion. Read more
    §

    fn status_local(&self) -> Result<(), SpawnError>

    Determines whether the executor is able to spawn new tasks. Read more
    ","LocalSpawn","iroh_relay::dns::BoxIter"],["
    Source§

    impl<T> Log for Box<T>
    where\n T: Log + ?Sized,

    Source§

    fn enabled(&self, metadata: &Metadata<'_>) -> bool

    Determines if a log message with the specified metadata would be\nlogged. Read more
    Source§

    fn log(&self, record: &Record<'_>)

    Logs the Record. Read more
    Source§

    fn flush(&self)

    Flushes any buffered records. Read more
    ","Log","iroh_relay::dns::BoxIter"],["
    §

    impl<T> MaxSize for Box<T>
    where\n T: MaxSize,

    §

    const POSTCARD_MAX_SIZE: usize = T::POSTCARD_MAX_SIZE

    The maximum possible size that the serialization of this\ntype can have, in bytes.
    ","MaxSize","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<T, A> Ord for Box<T, A>
    where\n T: Ord + ?Sized,\n A: Allocator,

    Source§

    fn cmp(&self, other: &Box<T, A>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · Source§

    fn min(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · Source§

    fn clamp(self, min: Self, max: Self) -> Self
    where\n Self: Sized,

    Restrict a value to a certain interval. Read more
    ","Ord","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<T, A> PartialEq for Box<T, A>
    where\n T: PartialEq + ?Sized,\n A: Allocator,

    Source§

    fn eq(&self, other: &Box<T, A>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    Source§

    fn ne(&self, other: &Box<T, A>) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<T, A> PartialOrd for Box<T, A>
    where\n T: PartialOrd + ?Sized,\n A: Allocator,

    Source§

    fn partial_cmp(&self, other: &Box<T, A>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    Source§

    fn lt(&self, other: &Box<T, A>) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    Source§

    fn le(&self, other: &Box<T, A>) -> bool

    Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
    Source§

    fn ge(&self, other: &Box<T, A>) -> bool

    Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
    Source§

    fn gt(&self, other: &Box<T, A>) -> bool

    Tests greater than (for self and other) and is used by the >\noperator. Read more
    ","PartialOrd","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<T, A> Pointer for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    ","Pointer","iroh_relay::dns::BoxIter"],["
    §

    impl<B, E, P> Policy<B, E> for Box<P>
    where\n P: Policy<B, E> + ?Sized,

    §

    fn redirect(&mut self, attempt: &Attempt<'_>) -> Result<Action, E>

    Invoked when the service received a response with a redirection status code (3xx). Read more
    §

    fn on_request(&mut self, request: &mut Request<B>)

    Invoked right before the service makes a request, regardless of whether it is redirected\nor not. Read more
    §

    fn clone_body(&self, body: &B) -> Option<B>

    Try to clone a request body before the service makes a redirected request. Read more
    ","Policy","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<R> Read for Box<R>
    where\n R: Read + ?Sized,

    Source§

    fn read(&mut self, buf: &mut [u8]) -> Result<usize, Error>

    Pull some bytes from this source into the specified buffer, returning\nhow many bytes were read. Read more
    Source§

    fn read_buf(&mut self, cursor: BorrowedCursor<'_>) -> Result<(), Error>

    🔬This is a nightly-only experimental API. (read_buf)
    Pull some bytes from this source into the specified buffer. Read more
    Source§

    fn read_vectored(&mut self, bufs: &mut [IoSliceMut<'_>]) -> Result<usize, Error>

    Like read, except that it reads into a slice of buffers. Read more
    Source§

    fn is_read_vectored(&self) -> bool

    🔬This is a nightly-only experimental API. (can_vector)
    Determines if this Reader has an efficient read_vectored\nimplementation. Read more
    Source§

    fn read_to_end(&mut self, buf: &mut Vec<u8>) -> Result<usize, Error>

    Reads all bytes until EOF in this source, placing them into buf. Read more
    Source§

    fn read_to_string(&mut self, buf: &mut String) -> Result<usize, Error>

    Reads all bytes until EOF in this source, appending them to buf. Read more
    Source§

    fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), Error>

    Reads the exact number of bytes required to fill buf. Read more
    Source§

    fn read_buf_exact(&mut self, cursor: BorrowedCursor<'_>) -> Result<(), Error>

    🔬This is a nightly-only experimental API. (read_buf)
    Reads the exact number of bytes required to fill cursor. Read more
    1.0.0 · Source§

    fn by_ref(&mut self) -> &mut Self
    where\n Self: Sized,

    Creates a “by reference” adapter for this instance of Read. Read more
    1.0.0 · Source§

    fn bytes(self) -> Bytes<Self>
    where\n Self: Sized,

    Transforms this Read instance to an Iterator over its bytes. Read more
    1.0.0 · Source§

    fn chain<R>(self, next: R) -> Chain<Self, R>
    where\n R: Read,\n Self: Sized,

    Creates an adapter which will chain this stream with another. Read more
    1.0.0 · Source§

    fn take(self, limit: u64) -> Take<Self>
    where\n Self: Sized,

    Creates an adapter which will read at most limit bytes from it. Read more
    ","Read","iroh_relay::dns::BoxIter"],["
    §

    impl<T> Read for Box<T>
    where\n T: Read + Unpin + ?Sized,

    §

    fn poll_read(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n buf: ReadBufCursor<'_>,\n) -> Poll<Result<(), Error>>

    Attempts to read bytes into the buf. Read more
    ","Read","iroh_relay::dns::BoxIter"],["
    §

    impl<R> Rng for Box<R>
    where\n R: Rng + ?Sized,

    §

    fn next_u64(&mut self) -> u64

    Generate a random u64.
    §

    fn next_f64(&mut self) -> f64

    Generate a random f64 between [0, 1).
    §

    fn next_range(&mut self, range: Range<u64>) -> u64

    Randomly pick a value within the range. Read more
    ","Rng","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<S> Seek for Box<S>
    where\n S: Seek + ?Sized,

    Source§

    fn seek(&mut self, pos: SeekFrom) -> Result<u64, Error>

    Seek to an offset, in bytes, in a stream. Read more
    Source§

    fn rewind(&mut self) -> Result<(), Error>

    Rewind to the beginning of a stream. Read more
    Source§

    fn stream_len(&mut self) -> Result<u64, Error>

    🔬This is a nightly-only experimental API. (seek_stream_len)
    Returns the length of this stream (in bytes). Read more
    Source§

    fn stream_position(&mut self) -> Result<u64, Error>

    Returns the current seek position from the start of the stream. Read more
    Source§

    fn seek_relative(&mut self, offset: i64) -> Result<(), Error>

    Seeks relative to the current position. Read more
    ","Seek","iroh_relay::dns::BoxIter"],["
    Source§

    impl<T> Serialize for Box<T>
    where\n T: Serialize + ?Sized,

    Source§

    fn serialize<S>(\n &self,\n serializer: S,\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where\n S: Serializer,

    ","Serialize","iroh_relay::dns::BoxIter"],["
    Source§

    impl<T> Serialize for Box<T>
    where\n T: Serialize + ?Sized,

    Source§

    fn serialize<S>(\n &self,\n serializer: S,\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where\n S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    ","Serialize","iroh_relay::dns::BoxIter"],["
    §

    impl<Request, S> Service<Request> for Box<S>
    where\n S: Service<Request> + ?Sized,

    §

    type Response = <S as Service<Request>>::Response

    Responses given by the service.
    §

    type Error = <S as Service<Request>>::Error

    Errors produced by the service. Read more
    §

    type Future = <S as Service<Request>>::Future

    The future response value.
    §

    fn call(&self, req: Request) -> <Box<S> as Service<Request>>::Future

    Process the request and return the response asynchronously.\ncall takes &self instead of mut &self because: Read more
    ","Service","iroh_relay::dns::BoxIter"],["
    §

    impl<S, Request> Service<Request> for Box<S>
    where\n S: Service<Request> + ?Sized,

    §

    type Response = <S as Service<Request>>::Response

    Responses given by the service.
    §

    type Error = <S as Service<Request>>::Error

    Errors produced by the service.
    §

    type Future = <S as Service<Request>>::Future

    The future response value.
    §

    fn poll_ready(\n &mut self,\n cx: &mut Context<'_>,\n) -> Poll<Result<(), <S as Service<Request>>::Error>>

    Returns Poll::Ready(Ok(())) when the service is able to process requests. Read more
    §

    fn call(&mut self, request: Request) -> <S as Service<Request>>::Future

    Process the request and return the response asynchronously. Read more
    ","Service","iroh_relay::dns::BoxIter"],["
    §

    impl<S, Item> Sink<Item> for Box<S>
    where\n S: Sink<Item> + Unpin + ?Sized,

    §

    type Error = <S as Sink<Item>>::Error

    The type of value produced by the sink when an error occurs.
    §

    fn poll_ready(\n self: Pin<&mut Box<S>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<(), <Box<S> as Sink<Item>>::Error>>

    Attempts to prepare the Sink to receive a value. Read more
    §

    fn start_send(\n self: Pin<&mut Box<S>>,\n item: Item,\n) -> Result<(), <Box<S> as Sink<Item>>::Error>

    Begin the process of sending a value to the sink.\nEach call to this function must be preceded by a successful call to\npoll_ready which returned Poll::Ready(Ok(())). Read more
    §

    fn poll_flush(\n self: Pin<&mut Box<S>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<(), <Box<S> as Sink<Item>>::Error>>

    Flush any remaining output from this sink. Read more
    §

    fn poll_close(\n self: Pin<&mut Box<S>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<(), <Box<S> as Sink<Item>>::Error>>

    Flush any remaining output and close this sink, if necessary. Read more
    ","Sink","iroh_relay::dns::BoxIter"],["
    §

    impl<T> Source for Box<T>
    where\n T: Source + ?Sized,

    §

    fn register(\n &mut self,\n registry: &Registry,\n token: Token,\n interests: Interest,\n) -> Result<(), Error>

    Register self with the given Registry instance. Read more
    §

    fn reregister(\n &mut self,\n registry: &Registry,\n token: Token,\n interests: Interest,\n) -> Result<(), Error>

    Re-register self with the given Registry instance. Read more
    §

    fn deregister(&mut self, registry: &Registry) -> Result<(), Error>

    Deregister self from the given Registry instance. Read more
    ","Source","iroh_relay::dns::BoxIter"],["
    §

    impl<Sp> Spawn for Box<Sp>
    where\n Sp: Spawn + ?Sized,

    §

    fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError>

    Spawns a future that will be run to completion. Read more
    §

    fn status(&self) -> Result<(), SpawnError>

    Determines whether the executor is able to spawn new tasks. Read more
    ","Spawn","iroh_relay::dns::BoxIter"],["
    §

    impl<S> Stream for Box<S>
    where\n S: Stream + Unpin + ?Sized,

    §

    type Item = <S as Stream>::Item

    Values yielded by the stream.
    §

    fn poll_next(\n self: Pin<&mut Box<S>>,\n cx: &mut Context<'_>,\n) -> Poll<Option<<Box<S> as Stream>::Item>>

    Attempt to pull out the next value of this stream, registering the\ncurrent task for wakeup if the value is not yet available, and returning\nNone if the stream is exhausted. Read more
    §

    fn size_hint(&self) -> (usize, Option<usize>)

    Returns the bounds on the remaining length of the stream. Read more
    ","Stream","iroh_relay::dns::BoxIter"],["
    §

    impl<S> Subscriber for Box<S>
    where\n S: Subscriber + ?Sized,

    §

    fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest

    Registers a new callsite with this subscriber, returning whether or not\nthe subscriber is interested in being notified about the callsite. Read more
    §

    fn enabled(&self, metadata: &Metadata<'_>) -> bool

    Returns true if a span or event with the specified metadata would be\nrecorded. Read more
    §

    fn max_level_hint(&self) -> Option<LevelFilter>

    Returns the highest verbosity level that this Subscriber will\nenable, or None, if the subscriber does not implement level-based\nfiltering or chooses not to implement this method. Read more
    §

    fn new_span(&self, span: &Attributes<'_>) -> Id

    Visit the construction of a new span, returning a new span ID for the\nspan being constructed. Read more
    §

    fn record(&self, span: &Id, values: &Record<'_>)

    Record a set of values on a span. Read more
    §

    fn record_follows_from(&self, span: &Id, follows: &Id)

    Adds an indication that span follows from the span with the id\nfollows. Read more
    §

    fn event_enabled(&self, event: &Event<'_>) -> bool

    Determine if an [Event] should be recorded. Read more
    §

    fn event(&self, event: &Event<'_>)

    Records that an Event has occurred. Read more
    §

    fn enter(&self, span: &Id)

    Records that a span has been entered. Read more
    §

    fn exit(&self, span: &Id)

    Records that a span has been exited. Read more
    §

    fn clone_span(&self, id: &Id) -> Id

    Notifies the subscriber that a span ID has been cloned. Read more
    §

    fn try_close(&self, id: Id) -> bool

    Notifies the subscriber that a span ID has been dropped, and returns\ntrue if there are now 0 IDs that refer to that span. Read more
    §

    fn drop_span(&self, id: Id)

    👎Deprecated since 0.1.2: use Subscriber::try_close instead
    This method is deprecated. Read more
    §

    fn current_span(&self) -> Current

    Returns a type representing this subscriber’s view of the current span. Read more
    §

    unsafe fn downcast_raw(&self, id: TypeId) -> Option<*const ()>

    If self is the same type as the provided TypeId, returns an untyped\n*const pointer to that type. Otherwise, returns None. Read more
    §

    fn on_register_dispatch(&self, subscriber: &Dispatch)

    Invoked when this subscriber becomes a [Dispatch]. Read more
    ","Subscriber","iroh_relay::dns::BoxIter"],["
    §

    impl<T> ToStatic for Box<T>
    where\n T: ToStatic,

    §

    type Owned = Box<<T as ToStatic>::Owned>

    §

    fn to_static(&self) -> <Box<T> as ToStatic>::Owned

    ","ToStatic","iroh_relay::dns::BoxIter"],["
    §

    impl<'a, T, F> UnsafeFutureObj<'a, T> for Box<F>
    where\n F: Future<Output = T> + 'a,

    §

    fn into_raw(self) -> *mut dyn Future<Output = T> + 'a

    Convert an owned instance into a (conceptually owned) fat pointer. Read more
    §

    unsafe fn drop(ptr: *mut dyn Future<Output = T> + 'a)

    Drops the future represented by the given fat pointer. Read more
    ","UnsafeFutureObj<'a, T>","iroh_relay::dns::BoxIter"],["
    §

    impl<T> Value for Box<T>
    where\n T: Value + ?Sized,

    §

    fn record(&self, key: &Field, visitor: &mut dyn Visit)

    Visits this value with the given Visitor.
    ","Value","iroh_relay::dns::BoxIter"],["
    §

    impl<T> Write for Box<T>
    where\n T: Write + Unpin + ?Sized,

    §

    fn poll_write(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n buf: &[u8],\n) -> Poll<Result<usize, Error>>

    Attempt to write bytes from buf into the destination. Read more
    §

    fn poll_write_vectored(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n bufs: &[IoSlice<'_>],\n) -> Poll<Result<usize, Error>>

    Like poll_write, except that it writes from a slice of buffers.
    §

    fn is_write_vectored(&self) -> bool

    Returns whether this writer has an efficient poll_write_vectored\nimplementation. Read more
    §

    fn poll_flush(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<(), Error>>

    Attempts to flush the object. Read more
    §

    fn poll_shutdown(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<(), Error>>

    Attempts to shut down this writer.
    ","Write","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<W> Write for Box<W>
    where\n W: Write + ?Sized,

    Source§

    fn write(&mut self, buf: &[u8]) -> Result<usize, Error>

    Writes a buffer into this writer, returning how many bytes were written. Read more
    Source§

    fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> Result<usize, Error>

    Like write, except that it writes from a slice of buffers. Read more
    Source§

    fn is_write_vectored(&self) -> bool

    🔬This is a nightly-only experimental API. (can_vector)
    Determines if this Writer has an efficient write_vectored\nimplementation. Read more
    Source§

    fn flush(&mut self) -> Result<(), Error>

    Flushes this output stream, ensuring that all intermediately buffered\ncontents reach their destination. Read more
    Source§

    fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>

    Attempts to write an entire buffer into this writer. Read more
    Source§

    fn write_all_vectored(&mut self, bufs: &mut [IoSlice<'_>]) -> Result<(), Error>

    🔬This is a nightly-only experimental API. (write_all_vectored)
    Attempts to write multiple buffers into this writer. Read more
    Source§

    fn write_fmt(&mut self, fmt: Arguments<'_>) -> Result<(), Error>

    Writes a formatted string into this writer, returning any error\nencountered. Read more
    1.0.0 · Source§

    fn by_ref(&mut self) -> &mut Self
    where\n Self: Sized,

    Creates a “by reference” adapter for this instance of Write. Read more
    ","Write","iroh_relay::dns::BoxIter"],["
    Source§

    impl<T, U, A> CoerceUnsized<Box<U, A>> for Box<T, A>
    where\n T: Unsize<U> + ?Sized,\n A: Allocator,\n U: ?Sized,

    ","CoerceUnsized>","iroh_relay::dns::BoxIter"],["
    Source§

    impl<T, A> DerefPure for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    ","DerefPure","iroh_relay::dns::BoxIter"],["
    Source§

    impl<T, U> DispatchFromDyn<Box<U>> for Box<T>
    where\n T: Unsize<U> + ?Sized,\n U: ?Sized,

    ","DispatchFromDyn>","iroh_relay::dns::BoxIter"],["
    1.0.0 · Source§

    impl<T, A> Eq for Box<T, A>
    where\n T: Eq + ?Sized,\n A: Allocator,

    ","Eq","iroh_relay::dns::BoxIter"],["
    1.26.0 · Source§

    impl<I, A> FusedIterator for Box<I, A>
    where\n I: FusedIterator + ?Sized,\n A: Allocator,

    ","FusedIterator","iroh_relay::dns::BoxIter"],["
    Source§

    impl<T, A> PinCoerceUnsized for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    ","PinCoerceUnsized","iroh_relay::dns::BoxIter"],["
    §

    impl<'a, T> Sequence<'a> for Box<T>
    where\n T: Sequence<'a>,

    ","Sequence<'a>","iroh_relay::dns::BoxIter"],["
    1.33.0 · Source§

    impl<T, A> Unpin for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    ","Unpin","iroh_relay::dns::BoxIter"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { diff --git a/pr/3734/docs/type.impl/iroh/endpoint/struct.Connection.js b/pr/3734/docs/type.impl/iroh/endpoint/struct.Connection.js index f7827fd495..d29fc936d3 100644 --- a/pr/3734/docs/type.impl/iroh/endpoint/struct.Connection.js +++ b/pr/3734/docs/type.impl/iroh/endpoint/struct.Connection.js @@ -1,9 +1,9 @@ (function() { - var type_impls = Object.fromEntries([["iroh",[["
    Source§

    impl<State: Clone + ConnectionState> Clone for Connection<State>
    where\n State::Data: Clone,

    Source§

    fn clone(&self) -> Connection<State>

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    ","Clone","iroh::endpoint::connection::OutgoingZeroRttConnection","iroh::endpoint::connection::IncomingZeroRttConnection"],["
    Source§

    impl Connection<IncomingZeroRtt>

    Source

    pub fn alpn(&self) -> Option<Vec<u8>>

    Extracts the ALPN protocol from the peer’s handshake data.

    \n
    Source

    pub async fn handshake_completed(&self) -> Result<Connection, ConnectingError>

    Waits until the full handshake occurs and then returns a Connection.

    \n

    This may fail with ConnectingError::ConnectionError, if there was\nsome general failure with the connection, such as a network timeout since\nwe accepted the connection.

    \n

    This may fail with ConnectingError::HandshakeFailure, if the other side\ndoesn’t use the right TLS authentication, which usually every iroh endpoint\nuses and requires.

    \n

    Thus, those errors should only occur if someone connects to you with a\nmodified iroh endpoint or with a plain QUIC client.

    \n
    ",0,"iroh::endpoint::connection::IncomingZeroRttConnection"],["
    Source§

    impl Connection<OutgoingZeroRtt>

    Source

    pub fn alpn(&self) -> Option<Vec<u8>>

    Extracts the ALPN protocol from the peer’s handshake data.

    \n
    Source

    pub async fn handshake_completed(\n &self,\n) -> Result<ZeroRttStatus, ConnectingError>

    Waits until the full handshake occurs and returns a ZeroRttStatus.

    \n

    If ZeroRttStatus::Accepted is returned, than any streams created before\nthe handshake has completed can still be used.

    \n

    If ZeroRttStatus::Rejected is returned, than any streams created before\nthe handshake will error and any data sent should be re-sent on a\nnew stream.

    \n

    This may fail with ConnectingError::ConnectionError, if there was\nsome general failure with the connection, such as a network timeout since\nwe initiated the connection.

    \n

    This may fail with ConnectingError::HandshakeFailure, if the other side\ndoesn’t use the right TLS authentication, which usually every iroh endpoint\nuses and requires.

    \n

    Thus, those errors should only occur if someone connects to you with a\nmodified iroh endpoint or with a plain QUIC client.

    \n
    ",0,"iroh::endpoint::connection::OutgoingZeroRttConnection"],["
    Source§

    impl<T: ConnectionState> Connection<T>

    Source

    pub fn open_uni(&self) -> OpenUni<'_> ⓘ

    Initiates a new outgoing unidirectional stream.

    \n

    Streams are cheap and instantaneous to open unless blocked by flow control. As a\nconsequence, the peer won’t be notified that a stream has been opened until the\nstream is actually used.

    \n
    Source

    pub fn open_bi(&self) -> OpenBi<'_> ⓘ

    Initiates a new outgoing bidirectional stream.

    \n

    Streams are cheap and instantaneous to open unless blocked by flow control. As a\nconsequence, the peer won’t be notified that a stream has been opened until the\nstream is actually used. Calling open_bi then waiting on the RecvStream\nwithout writing anything to SendStream will never succeed.

    \n
    Source

    pub fn accept_uni(&self) -> AcceptUni<'_> ⓘ

    Accepts the next incoming uni-directional stream.

    \n
    Source

    pub fn accept_bi(&self) -> AcceptBi<'_> ⓘ

    Accept the next incoming bidirectional stream.

    \n

    Important Note: The peer that calls open_bi must write to its SendStream\nbefore the peer Connection is able to accept the stream using\naccept_bi(). Calling open_bi then waiting on the RecvStream without\nwriting anything to the connected SendStream will never succeed.

    \n
    Source

    pub fn read_datagram(&self) -> ReadDatagram<'_> ⓘ

    Receives an application datagram.

    \n
    Source

    pub async fn closed(&self) -> ConnectionError

    Wait for the connection to be closed for any reason.

    \n

    Despite the return type’s name, closed connections are often not an error condition\nat the application layer. Cases that might be routine include\nConnectionError::LocallyClosed and ConnectionError::ApplicationClosed.

    \n
    Source

    pub fn close_reason(&self) -> Option<ConnectionError>

    If the connection is closed, the reason why.

    \n

    Returns None if the connection is still open.

    \n
    Source

    pub fn close(&self, error_code: VarInt, reason: &[u8])

    Closes the connection immediately.

    \n

    Pending operations will fail immediately with ConnectionError::LocallyClosed. No\nmore data is sent to the peer and the peer may drop buffered data upon receiving the\nCONNECTION_CLOSE frame.

    \n

    error_code and reason are not interpreted, and are provided directly to the\npeer.

    \n

    reason will be truncated to fit in a single packet with overhead; to improve odds\nthat it is preserved in full, it should be kept under 1KiB.

    \n
    §Gracefully closing a connection
    \n

    Only the peer last receiving application data can be certain that all data is\ndelivered. The only reliable action it can then take is to close the connection,\npotentially with a custom error code. The delivery of the final CONNECTION_CLOSE\nframe is very likely if both endpoints stay online long enough, calling\nEndpoint::close will wait to provide sufficient time. Otherwise, the remote peer\nwill time out the connection, provided that the idle timeout is not disabled.

    \n

    The sending side can not guarantee all stream data is delivered to the remote\napplication. It only knows the data is delivered to the QUIC stack of the remote\nendpoint. Once the local side sends a CONNECTION_CLOSE frame in response to calling\nclose the remote endpoint may drop any data it received but is as yet\nundelivered to the application, including data that was acknowledged as received to\nthe local endpoint.

    \n
    Source

    pub fn send_datagram(&self, data: Bytes) -> Result<(), SendDatagramError>

    Transmits data as an unreliable, unordered application datagram.

    \n

    Application datagrams are a low-level primitive. They may be lost or delivered out\nof order, and data must both fit inside a single QUIC packet and be smaller than\nthe maximum dictated by the peer.

    \n
    Source

    pub fn max_datagram_size(&self) -> Option<usize>

    Computes the maximum size of datagrams that may be passed to send_datagram.

    \n

    Returns None if datagrams are unsupported by the peer or disabled locally.

    \n

    This may change over the lifetime of a connection according to variation in the path\nMTU estimate. The peer can also enforce an arbitrarily small fixed limit, but if the\npeer’s limit is large this is guaranteed to be a little over a kilobyte at minimum.

    \n

    Not necessarily the maximum size of received datagrams.

    \n
    Source

    pub fn datagram_send_buffer_space(&self) -> usize

    Bytes available in the outgoing datagram buffer.

    \n

    When greater than zero, calling send_datagram with a\ndatagram of at most this size is guaranteed not to cause older datagrams to be\ndropped.

    \n
    Source

    pub fn rtt(&self) -> Duration

    Current best estimate of this connection’s latency (round-trip-time).

    \n
    Source

    pub fn stats(&self) -> ConnectionStats

    Returns connection statistics.

    \n
    Source

    pub fn congestion_state(&self) -> Box<dyn Controller>

    Current state of the congestion control algorithm, for debugging purposes.

    \n
    Source

    pub fn handshake_data(&self) -> Option<Box<dyn Any>>

    Parameters negotiated during the handshake.

    \n

    Guaranteed to return Some on fully established connections or after\nConnecting::handshake_data() succeeds. See that method’s documentations for\ndetails on the returned value.

    \n
    Source

    pub fn peer_identity(&self) -> Option<Box<dyn Any>>

    Cryptographic identity of the peer.

    \n

    The dynamic type returned is determined by the configured Session. For the\ndefault rustls session, the return value can be downcast to a\nVec<[rustls::pki_types::CertificateDer]>

    \n
    Source

    pub fn stable_id(&self) -> usize

    A stable identifier for this connection.

    \n

    Peer addresses and connection IDs can change, but this value will remain fixed for\nthe lifetime of the connection.

    \n
    Source

    pub fn export_keying_material(\n &self,\n output: &mut [u8],\n label: &[u8],\n context: &[u8],\n) -> Result<(), ExportKeyingMaterialError>

    Derives keying material from this connection’s TLS session secrets.

    \n

    When both peers call this method with the same label and context\narguments and output buffers of equal length, they will get the\nsame sequence of bytes in output. These bytes are cryptographically\nstrong and pseudorandom, and are suitable for use as keying material.

    \n

    See RFC5705 for more information.

    \n
    Source

    pub fn set_max_concurrent_uni_streams(&self, count: VarInt)

    Modifies the number of unidirectional streams that may be concurrently opened.

    \n

    No streams may be opened by the peer unless fewer than count are already\nopen. Large counts increase both minimum and worst-case memory consumption.

    \n
    Source

    pub fn set_receive_window(&self, receive_window: VarInt)

    See [quinn_proto::TransportConfig::receive_window].

    \n
    Source

    pub fn set_max_concurrent_bi_streams(&self, count: VarInt)

    Modifies the number of bidirectional streams that may be concurrently opened.

    \n

    No streams may be opened by the peer unless fewer than count are already\nopen. Large counts increase both minimum and worst-case memory consumption.

    \n
    ",0,"iroh::endpoint::connection::OutgoingZeroRttConnection","iroh::endpoint::connection::IncomingZeroRttConnection"],["
    Source§

    impl<State: Debug + ConnectionState> Debug for Connection<State>
    where\n State::Data: Debug,

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    ","Debug","iroh::endpoint::connection::OutgoingZeroRttConnection","iroh::endpoint::connection::IncomingZeroRttConnection"]]]]); + var type_impls = Object.fromEntries([["iroh",[["
    Source§

    impl<State: Clone + ConnectionState> Clone for Connection<State>
    where\n State::Data: Clone,

    Source§

    fn clone(&self) -> Connection<State>

    Returns a duplicate of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    ","Clone","iroh::endpoint::connection::OutgoingZeroRttConnection","iroh::endpoint::connection::IncomingZeroRttConnection"],["
    Source§

    impl Connection<IncomingZeroRtt>

    Source

    pub fn alpn(&self) -> Option<Vec<u8>>

    Extracts the ALPN protocol from the peer’s handshake data.

    \n
    Source

    pub async fn handshake_completed(&self) -> Result<Connection, ConnectingError>

    Waits until the full handshake occurs and then returns a Connection.

    \n

    This may fail with ConnectingError::ConnectionError, if there was\nsome general failure with the connection, such as a network timeout since\nwe accepted the connection.

    \n

    This may fail with ConnectingError::HandshakeFailure, if the other side\ndoesn’t use the right TLS authentication, which usually every iroh endpoint\nuses and requires.

    \n

    Thus, those errors should only occur if someone connects to you with a\nmodified iroh endpoint or with a plain QUIC client.

    \n
    ",0,"iroh::endpoint::connection::IncomingZeroRttConnection"],["
    Source§

    impl Connection<OutgoingZeroRtt>

    Source

    pub fn alpn(&self) -> Option<Vec<u8>>

    Extracts the ALPN protocol from the peer’s handshake data.

    \n
    Source

    pub async fn handshake_completed(\n &self,\n) -> Result<ZeroRttStatus, ConnectingError>

    Waits until the full handshake occurs and returns a ZeroRttStatus.

    \n

    If ZeroRttStatus::Accepted is returned, than any streams created before\nthe handshake has completed can still be used.

    \n

    If ZeroRttStatus::Rejected is returned, than any streams created before\nthe handshake will error and any data sent should be re-sent on a\nnew stream.

    \n

    This may fail with ConnectingError::ConnectionError, if there was\nsome general failure with the connection, such as a network timeout since\nwe initiated the connection.

    \n

    This may fail with ConnectingError::HandshakeFailure, if the other side\ndoesn’t use the right TLS authentication, which usually every iroh endpoint\nuses and requires.

    \n

    Thus, those errors should only occur if someone connects to you with a\nmodified iroh endpoint or with a plain QUIC client.

    \n
    ",0,"iroh::endpoint::connection::OutgoingZeroRttConnection"],["
    Source§

    impl<T: ConnectionState> Connection<T>

    Source

    pub fn open_uni(&self) -> OpenUni<'_> ⓘ

    Initiates a new outgoing unidirectional stream.

    \n

    Streams are cheap and instantaneous to open unless blocked by flow control. As a\nconsequence, the peer won’t be notified that a stream has been opened until the\nstream is actually used.

    \n
    Source

    pub fn open_bi(&self) -> OpenBi<'_> ⓘ

    Initiates a new outgoing bidirectional stream.

    \n

    Streams are cheap and instantaneous to open unless blocked by flow control. As a\nconsequence, the peer won’t be notified that a stream has been opened until the\nstream is actually used. Calling open_bi then waiting on the RecvStream\nwithout writing anything to SendStream will never succeed.

    \n
    Source

    pub fn accept_uni(&self) -> AcceptUni<'_> ⓘ

    Accepts the next incoming uni-directional stream.

    \n
    Source

    pub fn accept_bi(&self) -> AcceptBi<'_> ⓘ

    Accept the next incoming bidirectional stream.

    \n

    Important Note: The peer that calls open_bi must write to its SendStream\nbefore the peer Connection is able to accept the stream using\naccept_bi(). Calling open_bi then waiting on the RecvStream without\nwriting anything to the connected SendStream will never succeed.

    \n
    Source

    pub fn read_datagram(&self) -> ReadDatagram<'_> ⓘ

    Receives an application datagram.

    \n
    Source

    pub async fn closed(&self) -> ConnectionError

    Wait for the connection to be closed for any reason.

    \n

    Despite the return type’s name, closed connections are often not an error condition\nat the application layer. Cases that might be routine include\nConnectionError::LocallyClosed and ConnectionError::ApplicationClosed.

    \n
    Source

    pub fn close_reason(&self) -> Option<ConnectionError>

    If the connection is closed, the reason why.

    \n

    Returns None if the connection is still open.

    \n
    Source

    pub fn close(&self, error_code: VarInt, reason: &[u8])

    Closes the connection immediately.

    \n

    Pending operations will fail immediately with ConnectionError::LocallyClosed. No\nmore data is sent to the peer and the peer may drop buffered data upon receiving the\nCONNECTION_CLOSE frame.

    \n

    error_code and reason are not interpreted, and are provided directly to the\npeer.

    \n

    reason will be truncated to fit in a single packet with overhead; to improve odds\nthat it is preserved in full, it should be kept under 1KiB.

    \n
    §Gracefully closing a connection
    \n

    Only the peer last receiving application data can be certain that all data is\ndelivered. The only reliable action it can then take is to close the connection,\npotentially with a custom error code. The delivery of the final CONNECTION_CLOSE\nframe is very likely if both endpoints stay online long enough, calling\nEndpoint::close will wait to provide sufficient time. Otherwise, the remote peer\nwill time out the connection, provided that the idle timeout is not disabled.

    \n

    The sending side can not guarantee all stream data is delivered to the remote\napplication. It only knows the data is delivered to the QUIC stack of the remote\nendpoint. Once the local side sends a CONNECTION_CLOSE frame in response to calling\nclose the remote endpoint may drop any data it received but is as yet\nundelivered to the application, including data that was acknowledged as received to\nthe local endpoint.

    \n
    Source

    pub fn send_datagram(&self, data: Bytes) -> Result<(), SendDatagramError>

    Transmits data as an unreliable, unordered application datagram.

    \n

    Application datagrams are a low-level primitive. They may be lost or delivered out\nof order, and data must both fit inside a single QUIC packet and be smaller than\nthe maximum dictated by the peer.

    \n
    Source

    pub fn send_datagram_wait(&self, data: Bytes) -> SendDatagram<'_> ⓘ

    Transmits data as an unreliable, unordered application datagram

    \n

    Unlike send_datagram(), this method will wait for buffer space during congestion\nconditions, which effectively prioritizes old datagrams over new datagrams.

    \n

    See send_datagram() for details.

    \n
    Source

    pub fn max_datagram_size(&self) -> Option<usize>

    Computes the maximum size of datagrams that may be passed to send_datagram.

    \n

    Returns None if datagrams are unsupported by the peer or disabled locally.

    \n

    This may change over the lifetime of a connection according to variation in the path\nMTU estimate. The peer can also enforce an arbitrarily small fixed limit, but if the\npeer’s limit is large this is guaranteed to be a little over a kilobyte at minimum.

    \n

    Not necessarily the maximum size of received datagrams.

    \n
    Source

    pub fn datagram_send_buffer_space(&self) -> usize

    Bytes available in the outgoing datagram buffer.

    \n

    When greater than zero, calling send_datagram with a\ndatagram of at most this size is guaranteed not to cause older datagrams to be\ndropped.

    \n
    Source

    pub fn rtt(&self, path_id: PathId) -> Option<Duration>

    Current best estimate of this connection’s latency (round-trip-time).

    \n
    Source

    pub fn stats(&self) -> ConnectionStats

    Returns connection statistics.

    \n
    Source

    pub fn congestion_state(&self, path_id: PathId) -> Option<Box<dyn Controller>>

    Current state of the congestion control algorithm, for debugging purposes.

    \n
    Source

    pub fn handshake_data(&self) -> Option<Box<dyn Any>>

    Parameters negotiated during the handshake.

    \n

    Guaranteed to return Some on fully established connections or after\nConnecting::handshake_data() succeeds. See that method’s documentations for\ndetails on the returned value.

    \n
    Source

    pub fn peer_identity(&self) -> Option<Box<dyn Any>>

    Cryptographic identity of the peer.

    \n

    The dynamic type returned is determined by the configured Session. For the\ndefault rustls session, the return value can be downcast to a\nVec<[rustls::pki_types::CertificateDer]>

    \n
    Source

    pub fn stable_id(&self) -> usize

    A stable identifier for this connection.

    \n

    Peer addresses and connection IDs can change, but this value will remain fixed for\nthe lifetime of the connection.

    \n
    Source

    pub fn export_keying_material(\n &self,\n output: &mut [u8],\n label: &[u8],\n context: &[u8],\n) -> Result<(), ExportKeyingMaterialError>

    Derives keying material from this connection’s TLS session secrets.

    \n

    When both peers call this method with the same label and context\narguments and output buffers of equal length, they will get the\nsame sequence of bytes in output. These bytes are cryptographically\nstrong and pseudorandom, and are suitable for use as keying material.

    \n

    See RFC5705 for more information.

    \n
    Source

    pub fn set_max_concurrent_uni_streams(&self, count: VarInt)

    Modifies the number of unidirectional streams that may be concurrently opened.

    \n

    No streams may be opened by the peer unless fewer than count are already\nopen. Large counts increase both minimum and worst-case memory consumption.

    \n
    Source

    pub fn set_receive_window(&self, receive_window: VarInt)

    See [quinn_proto::TransportConfig::receive_window].

    \n
    Source

    pub fn set_max_concurrent_bi_streams(&self, count: VarInt)

    Modifies the number of bidirectional streams that may be concurrently opened.

    \n

    No streams may be opened by the peer unless fewer than count are already\nopen. Large counts increase both minimum and worst-case memory consumption.

    \n
    ",0,"iroh::endpoint::connection::OutgoingZeroRttConnection","iroh::endpoint::connection::IncomingZeroRttConnection"],["
    Source§

    impl<State: Debug + ConnectionState> Debug for Connection<State>
    where\n State::Data: Debug,

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    ","Debug","iroh::endpoint::connection::OutgoingZeroRttConnection","iroh::endpoint::connection::IncomingZeroRttConnection"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { window.pending_type_impls = type_impls; } })() -//{"start":55,"fragment_lengths":[35452]} \ No newline at end of file +//{"start":55,"fragment_lengths":[37242]} \ No newline at end of file