Struct RelayMetrics
pub struct RelayMetrics {Show 21 fields
+RelayMetrics in iroh::metrics - Rust Struct RelayMetrics
pub struct RelayMetrics {Show 21 fields
pub bytes_sent: Counter,
pub bytes_recv: Counter,
pub send_packets_sent: Counter,
@@ -19,7 +19,7 @@
pub disconnects: Counter,
pub unique_client_keys: Counter,
pub websocket_accepts: Counter,
- pub derp_accepts: Counter,
+ pub relay_accepts: Counter,
}
Available on crate feature test-utils only.Expand description
Metrics tracked for the relay server
Fields§
§bytes_sent: CounterBytes sent from a FrameType::SendPacket
§bytes_recv: CounterBytes received from a FrameType::SendPacket
@@ -41,7 +41,7 @@
§disconnects: CounterNumber of connections we have removed because of an error
§unique_client_keys: CounterNumber of unique client keys per day
§websocket_accepts: CounterNumber of accepted websocket connections
-§derp_accepts: CounterNumber of accepted ‘iroh derp http’ connection upgrades
+§relay_accepts: CounterNumber of accepted ‘iroh derp http’ connection upgrades
Trait Implementations§
§impl Metric for Metrics
§fn new(registry: &mut Registry) -> Self
Available on crate feature metrics only.Initializes this metric group.§fn with_metric<T, F>(f: F)where
F: FnOnce(&Self) -> T,
Available on crate feature metrics only.Access to this metrics group to record a metric.
Only records if this metric is registered in the global registry.Auto Trait Implementations§
§impl Freeze for Metrics
§impl RefUnwindSafe for Metrics
§impl Send for Metrics
§impl Sync for Metrics
§impl Unpin for Metrics
§impl UnwindSafe for Metrics
Blanket Implementations§
Source§impl<T> Any for Twhere
diff --git a/pr/3068/docs/iroh_relay/all.html b/pr/3068/docs/iroh_relay/all.html
index 89f058a2f6..fccb3100c5 100644
--- a/pr/3068/docs/iroh_relay/all.html
+++ b/pr/3068/docs/iroh_relay/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- RelayConn
- RelayMap
- RelayNode
- RelayQuicConfig
- client::Client
- client::ClientBuilder
- client::ClientReceiver
- protos::stun::MessageDecoder
- protos::stun::StunDecodeError
- protos::stun::TransactionId
- quic::QuicClient
- server::ClientConnRateLimit
- server::Limits
- server::Metrics
- server::QuicConfig
- server::RelayConfig
- server::ReloadingResolver
- server::Server
- server::ServerConfig
- server::StunConfig
- server::StunMetrics
- server::TlsConfig
Enums
- ReceivedMessage
- client::ClientError
- http::Protocol
- protos::stun::Error
- protos::stun::MessageClass
- protos::stun::StunAttribute
- server::CertConfig
- server::MaybeTlsStreamServer
Functions
- client::make_dangerous_client_config
- protos::disco::looks_like_disco_wrapper
- protos::stun::is
- protos::stun::parse_binding_request
- protos::stun::parse_response
- protos::stun::request
- protos::stun::response
- server::testing::quic_config
- server::testing::relay_config
- server::testing::self_signed_tls_certs_and_config
- server::testing::server_config
- server::testing::stun_config
- server::testing::tls_config
Constants
- defaults::DEFAULT_HTTPS_PORT
- defaults::DEFAULT_HTTP_PORT
- defaults::DEFAULT_KEY_CACHE_CAPACITY
- defaults::DEFAULT_METRICS_PORT
- defaults::DEFAULT_RELAY_QUIC_PORT
- defaults::DEFAULT_STUN_PORT
- http::RELAY_PATH
- http::RELAY_PROBE_PATH
- protos::disco::MAGIC
- protos::relay::MAX_PACKET_SIZE
- protos::stun::methods::BINDING
- protos::stun::methods::RESERVED
- protos::stun::methods::SHARED_SECRET
- quic::ALPN_QUIC_ADDR_DISC
- quic::QUIC_ADDR_DISC_CLOSE_CODE
- quic::QUIC_ADDR_DISC_CLOSE_REASON
- server::DEFAULT_CERT_RELOAD_INTERVAL
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- RelayMap
- RelayNode
- RelayQuicConfig
- client::Client
- client::ClientBuilder
- client::ClientSink
- client::ClientStream
- protos::stun::MessageDecoder
- protos::stun::StunDecodeError
- protos::stun::TransactionId
- quic::QuicClient
- server::ClientConnRateLimit
- server::Limits
- server::Metrics
- server::QuicConfig
- server::RelayConfig
- server::ReloadingResolver
- server::Server
- server::ServerConfig
- server::StunConfig
- server::StunMetrics
- server::TlsConfig
Enums
- client::ConnSendError
- client::ReceivedMessage
- client::SendMessage
- http::Protocol
- protos::stun::Error
- protos::stun::MessageClass
- protos::stun::StunAttribute
- server::CertConfig
- server::MaybeTlsStreamServer
Functions
- client::make_dangerous_client_config
- protos::disco::looks_like_disco_wrapper
- protos::stun::is
- protos::stun::parse_binding_request
- protos::stun::parse_response
- protos::stun::request
- protos::stun::response
- server::testing::quic_config
- server::testing::relay_config
- server::testing::self_signed_tls_certs_and_config
- server::testing::server_config
- server::testing::stun_config
- server::testing::tls_config
Constants
- defaults::DEFAULT_HTTPS_PORT
- defaults::DEFAULT_HTTP_PORT
- defaults::DEFAULT_KEY_CACHE_CAPACITY
- defaults::DEFAULT_METRICS_PORT
- defaults::DEFAULT_RELAY_QUIC_PORT
- defaults::DEFAULT_STUN_PORT
- http::RELAY_PATH
- http::RELAY_PROBE_PATH
- protos::disco::MAGIC
- protos::relay::MAX_PACKET_SIZE
- protos::stun::methods::BINDING
- protos::stun::methods::RESERVED
- protos::stun::methods::SHARED_SECRET
- quic::ALPN_QUIC_ADDR_DISC
- quic::QUIC_ADDR_DISC_CLOSE_CODE
- quic::QUIC_ADDR_DISC_CLOSE_REASON
- server::DEFAULT_CERT_RELOAD_INTERVAL
\ No newline at end of file
diff --git a/pr/3068/docs/iroh_relay/client/conn/enum.ConnSendError.html b/pr/3068/docs/iroh_relay/client/conn/enum.ConnSendError.html
new file mode 100644
index 0000000000..b5740d5b5d
--- /dev/null
+++ b/pr/3068/docs/iroh_relay/client/conn/enum.ConnSendError.html
@@ -0,0 +1,11 @@
+
+
+
+
+ Redirection
+
+
+ Redirecting to ../../../iroh_relay/client/enum.ConnSendError.html...
+
+
+
\ No newline at end of file
diff --git a/pr/3068/docs/iroh_relay/client/conn/enum.ReceivedMessage.html b/pr/3068/docs/iroh_relay/client/conn/enum.ReceivedMessage.html
index 1799f5a642..b181ea3c8c 100644
--- a/pr/3068/docs/iroh_relay/client/conn/enum.ReceivedMessage.html
+++ b/pr/3068/docs/iroh_relay/client/conn/enum.ReceivedMessage.html
@@ -1,11 +1,11 @@
-
+
Redirection
- Redirecting to ../../../iroh_relay/enum.ReceivedMessage.html...
-
+ Redirecting to ../../../iroh_relay/client/enum.ReceivedMessage.html...
+
\ No newline at end of file
diff --git a/pr/3068/docs/iroh_relay/client/conn/enum.SendMessage.html b/pr/3068/docs/iroh_relay/client/conn/enum.SendMessage.html
new file mode 100644
index 0000000000..bd0115cfd4
--- /dev/null
+++ b/pr/3068/docs/iroh_relay/client/conn/enum.SendMessage.html
@@ -0,0 +1,11 @@
+
+
+
+
+ Redirection
+
+
+ Redirecting to ../../../iroh_relay/client/enum.SendMessage.html...
+
+
+
\ No newline at end of file
diff --git a/pr/3068/docs/iroh_relay/client/conn/struct.Conn.html b/pr/3068/docs/iroh_relay/client/conn/struct.Conn.html
deleted file mode 100644
index 45e73c09c3..0000000000
--- a/pr/3068/docs/iroh_relay/client/conn/struct.Conn.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
- Redirection
-
-
- Redirecting to ../../../iroh_relay/struct.RelayConn.html...
-
-
-
\ No newline at end of file
diff --git a/pr/3068/docs/iroh_relay/client/enum.ClientError.html b/pr/3068/docs/iroh_relay/client/enum.ClientError.html
deleted file mode 100644
index b9b8e86c3e..0000000000
--- a/pr/3068/docs/iroh_relay/client/enum.ClientError.html
+++ /dev/null
@@ -1,66 +0,0 @@
-ClientError in iroh_relay::client - Rust pub enum ClientError {
-Show 19 variants
Closed,
- Send,
- Receive(Error),
- ConnectTimeout,
- DialIO(Error),
- IPDisabled,
- NoLocalAddr(String),
- Hyper(Error),
- Http(Error),
- UnexpectedStatusCode(StatusCode, StatusCode),
- Upgrade(String),
- Proxy(String),
- Build(String),
- PingTimeout,
- PingAborted,
- InvalidUrl(String),
- Dns(Option<Error>),
- ActorGone,
- WebsocketError(Error),
-}
Expand description
Possible connection errors on the Client
-Variants§
§Closed
The client is closed
-§Send
There was an error sending a packet
-§Receive(Error)
There was an error receiving a packet
-§ConnectTimeout
There was a connection timeout error
-§DialIO(Error)
There was an error dialing
-§IPDisabled
Both IPv4 and IPv6 are disabled for this relay node
-§NoLocalAddr(String)
No local addresses exist
-§Hyper(Error)
There was http server [hyper::Error]
-§Http(Error)
There was an http error [http::Error].
-§UnexpectedStatusCode(StatusCode, StatusCode)
There was an unexpected status code
-§Upgrade(String)
The connection failed to upgrade
-§Proxy(String)
The connection failed to proxy
-§Build(String)
The relay super::client::Client failed to build
-§PingTimeout
The ping request timed out
-§PingAborted
The ping request was aborted
-§InvalidUrl(String)
The given Url is invalid
-§Dns(Option<Error>)
There was an error with DNS resolution
-§ActorGone
The inner actor is gone, likely means things are shutdown.
-§WebsocketError(Error)
An error related to websockets, either errors with parsing ws messages or the handshake
-Trait Implementations§
Source§impl Debug for ClientError
Source§impl Display for ClientError
Source§impl Error for ClientError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Source§impl From<Error> for ClientError
Source§impl From<Error> for ClientError
Source§impl From<Error> for ClientError
Auto Trait Implementations§
§impl !Freeze for ClientError
§impl !RefUnwindSafe for ClientError
§impl Send for ClientError
§impl Sync for ClientError
§impl Unpin for ClientError
§impl !UnwindSafe for ClientError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
- T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
- T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
-[WithDispatch] wrapper. Read more§impl<T> ErasedDestructor for Twhere
- T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/pr/3068/docs/iroh_relay/client/enum.ConnSendError.html b/pr/3068/docs/iroh_relay/client/enum.ConnSendError.html
new file mode 100644
index 0000000000..6a61e34f44
--- /dev/null
+++ b/pr/3068/docs/iroh_relay/client/enum.ConnSendError.html
@@ -0,0 +1,32 @@
+ConnSendError in iroh_relay::client - Rust pub enum ConnSendError {
+ Io(Error),
+ Protocol(&'static str),
+}
Expand description
Error for sending messages to the relay server.
+Variants§
Trait Implementations§
Source§impl Debug for ConnSendError
Source§impl Display for ConnSendError
Source§impl Error for ConnSendError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl Freeze for ConnSendError
§impl !RefUnwindSafe for ConnSendError
§impl Send for ConnSendError
§impl Sync for ConnSendError
§impl Unpin for ConnSendError
§impl !UnwindSafe for ConnSendError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
+ T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
+ T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
+[WithDispatch] wrapper. Read more§impl<T> ErasedDestructor for Twhere
+ T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/pr/3068/docs/iroh_relay/enum.ReceivedMessage.html b/pr/3068/docs/iroh_relay/client/enum.ReceivedMessage.html
similarity index 69%
rename from pr/3068/docs/iroh_relay/enum.ReceivedMessage.html
rename to pr/3068/docs/iroh_relay/client/enum.ReceivedMessage.html
index a63f1d9821..e916c781a4 100644
--- a/pr/3068/docs/iroh_relay/enum.ReceivedMessage.html
+++ b/pr/3068/docs/iroh_relay/client/enum.ReceivedMessage.html
@@ -1,9 +1,9 @@
-ReceivedMessage in iroh_relay - Rust pub enum ReceivedMessage {
+ReceivedMessage in iroh_relay::client - Rust pub enum ReceivedMessage {
ReceivedPacket {
- remote_node_id: NodeId,
+ remote_node_id: NodeId,
data: Bytes,
},
- NodeGone(NodeId),
+ NodeGone(NodeId),
Ping([u8; 8]),
Pong([u8; 8]),
KeepAlive,
@@ -17,21 +17,21 @@
}
Expand description
The messages received from a framed relay stream.
This is a type-validated version of the Frames on the RelayCodec.
Variants§
§ReceivedPacket
Represents an incoming packet.
-Fields
§NodeGone(NodeId)
Indicates that the client identified by the underlying public key had previously sent you a
packet but has now disconnected from the server.
§Ping([u8; 8])
Request from a client or server to reply to the
-other side with a ReceivedMessage::Pong with the given payload.
-§Pong([u8; 8])
Reply to a ReceivedMessage::Ping from a client or server
+other side with a ReceivedMessage::Pong with the given payload.
+§Pong([u8; 8])
Reply to a ReceivedMessage::Ping from a client or server
with the payload sent previously in the ping.
§KeepAlive
A one-way empty message from server to client, just to
-keep the connection alive. It’s like a ReceivedMessage::Ping, but doesn’t solicit
+keep the connection alive. It’s like a ReceivedMessage::Ping, but doesn’t solicit
a reply from the client.
§Health
A one-way message from server to client, declaring the connection health state.
Fields
§problem: Option<String>If set, is a description of why the connection is unhealthy.
If None means the connection is healthy again.
-The default condition is healthy, so the server doesn’t broadcast a ReceivedMessage::Health
+
The default condition is healthy, so the server doesn’t broadcast a ReceivedMessage::Health
until a problem exists.
§ServerRestarting
A one-way message from server to client, advertising that the server is restarting.
Fields
§reconnect_in: DurationAn advisory duration that the client should wait before attempting to reconnect.
@@ -40,7 +40,7 @@ It might be zero. It exists for the server to smear out the reconnects.
before giving up and proceeding with its normal connection failure logic. The interval
between retries is undefined for now. A server should not send a TryFor duration more
than a few seconds.
-Trait Implementations§
Source§impl Clone for ReceivedMessage
Source§fn clone(&self) -> ReceivedMessage
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreAuto Trait Implementations§
§impl !Freeze for ReceivedMessage
§impl RefUnwindSafe for ReceivedMessage
§impl Send for ReceivedMessage
§impl Sync for ReceivedMessage
§impl Unpin for ReceivedMessage
§impl UnwindSafe for ReceivedMessage
Blanket Implementations§
Trait Implementations§
Source§impl Clone for ReceivedMessage
Source§fn clone(&self) -> ReceivedMessage
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreAuto Trait Implementations§
§impl !Freeze for ReceivedMessage
§impl RefUnwindSafe for ReceivedMessage
§impl Send for ReceivedMessage
§impl Sync for ReceivedMessage
§impl Unpin for ReceivedMessage
§impl UnwindSafe for ReceivedMessage
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/3068/docs/iroh_relay/client/enum.SendMessage.html b/pr/3068/docs/iroh_relay/client/enum.SendMessage.html
new file mode 100644
index 0000000000..3cbc8d580d
--- /dev/null
+++ b/pr/3068/docs/iroh_relay/client/enum.SendMessage.html
@@ -0,0 +1,63 @@
+SendMessage in iroh_relay::client - Rust pub enum SendMessage {
+ SendPacket(NodeId, Bytes),
+ NotePreferred(bool),
+ Ping([u8; 8]),
+ Pong([u8; 8]),
+}
Expand description
Messages we can send to a relay server.
+Variants§
§SendPacket(NodeId, Bytes)
Send a packet of data to the NodeId.
+§NotePreferred(bool)
Mark or unmark the connected relay as the home relay.
+§Ping([u8; 8])
Sends a ping message to the connected relay server.
+§Pong([u8; 8])
Sends a pong message to the connected relay server.
+Trait Implementations§
Source§impl Debug for SendMessage
Source§impl Sink<SendMessage> for Client
Source§type Error = ConnSendError
The type of value produced by the sink when an error occurs.Source§fn poll_ready(
+ self: Pin<&mut Self>,
+ cx: &mut Context<'_>,
+) -> Poll<Result<(), Self::Error>>
Attempts to prepare the Sink to receive a value. Read moreSource§fn start_send(
+ self: Pin<&mut Self>,
+ item: SendMessage,
+) -> Result<(), Self::Error>
Begin the process of sending a value to the sink.
+Each call to this function must be preceded by a successful call to
+poll_ready which returned Poll::Ready(Ok(())). Read moreSource§impl Sink<SendMessage> for ClientSink
Source§type Error = ConnSendError
The type of value produced by the sink when an error occurs.Source§fn poll_ready(
+ self: Pin<&mut Self>,
+ cx: &mut Context<'_>,
+) -> Poll<Result<(), Self::Error>>
Attempts to prepare the Sink to receive a value. Read moreSource§fn start_send(
+ self: Pin<&mut Self>,
+ item: SendMessage,
+) -> Result<(), Self::Error>
Begin the process of sending a value to the sink.
+Each call to this function must be preceded by a successful call to
+poll_ready which returned Poll::Ready(Ok(())). Read moreAuto Trait Implementations§
§impl !Freeze for SendMessage
§impl RefUnwindSafe for SendMessage
§impl Send for SendMessage
§impl Sync for SendMessage
§impl Unpin for SendMessage
§impl UnwindSafe for SendMessage
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
+ T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
+ T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
+[WithDispatch] wrapper. Read more§impl<T> ErasedDestructor for Twhere
+ T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/pr/3068/docs/iroh_relay/client/fn.make_dangerous_client_config.html b/pr/3068/docs/iroh_relay/client/fn.make_dangerous_client_config.html
index 3389960910..3a01821f5c 100644
--- a/pr/3068/docs/iroh_relay/client/fn.make_dangerous_client_config.html
+++ b/pr/3068/docs/iroh_relay/client/fn.make_dangerous_client_config.html
@@ -1,3 +1,3 @@
-make_dangerous_client_config in iroh_relay::client - Rust pub fn make_dangerous_client_config() -> ClientConfig
Available on crate feature test-utils only.Expand description
Creates a client config that trusts any servers without verifying their TLS certificate.
+make_dangerous_client_config in iroh_relay::client - Rust pub fn make_dangerous_client_config() -> ClientConfig
Available on crate feature test-utils only.Expand description
Creates a client config that trusts any servers without verifying their TLS certificate.
Should be used for testing local relay setups only.
\ No newline at end of file
diff --git a/pr/3068/docs/iroh_relay/client/index.html b/pr/3068/docs/iroh_relay/client/index.html
index 67e5fd42f5..c419ed6e9e 100644
--- a/pr/3068/docs/iroh_relay/client/index.html
+++ b/pr/3068/docs/iroh_relay/client/index.html
@@ -1,3 +1,3 @@
-iroh_relay::client - Rust Expand description
Exposes Client, which allows to establish connections to a relay server.
+iroh_relay::client - Rust Expand description
Exposes Client, which allows to establish connections to a relay server.
Based on tailscale/derp/derphttp/derphttp_client.go
-Structs§
- An HTTP Relay client.
- Build a Client.
- Receiving end of a
Client.
Enums§
- Possible connection errors on the
Client
Functions§
- make_
dangerous_client_config test-utils Creates a client config that trusts any servers without verifying their TLS certificate.
\ No newline at end of file
+Structs§
- A relay client.
- Build a Client.
- The send half of a relay client.
- The receive half of a relay client.
Enums§
- Error for sending messages to the relay server.
- The messages received from a framed relay stream.
- Messages we can send to a relay server.
Functions§
- make_
dangerous_client_config test-utils Creates a client config that trusts any servers without verifying their TLS certificate.
\ No newline at end of file
diff --git a/pr/3068/docs/iroh_relay/client/sidebar-items.js b/pr/3068/docs/iroh_relay/client/sidebar-items.js
index 77f25a0515..524c188a9d 100644
--- a/pr/3068/docs/iroh_relay/client/sidebar-items.js
+++ b/pr/3068/docs/iroh_relay/client/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {"enum":["ClientError"],"fn":["make_dangerous_client_config"],"struct":["Client","ClientBuilder","ClientReceiver"]};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"enum":["ConnSendError","ReceivedMessage","SendMessage"],"fn":["make_dangerous_client_config"],"struct":["Client","ClientBuilder","ClientSink","ClientStream"]};
\ No newline at end of file
diff --git a/pr/3068/docs/iroh_relay/client/struct.Client.html b/pr/3068/docs/iroh_relay/client/struct.Client.html
index b0511b4d32..54c97af540 100644
--- a/pr/3068/docs/iroh_relay/client/struct.Client.html
+++ b/pr/3068/docs/iroh_relay/client/struct.Client.html
@@ -1,34 +1,25 @@
-Client in iroh_relay::client - Rust pub struct Client { /* private fields */ }
Expand description
An HTTP Relay client.
-Cheaply clonable.
-Implementations§
Source§impl Client
Sourcepub fn public_key(&self) -> PublicKey
The public key for this client
-Sourcepub async fn connect(&self) -> Result<Conn, ClientError>
Connects to a relay Server and returns the underlying relay connection.
-Returns ClientError::Closed if the Client is closed.
-If there is already an active relay connection, returns the already
-connected crate::RelayConn.
-Sourcepub async fn note_preferred(&self, is_preferred: bool)
Let the server know that this client is the preferred client
-Sourcepub async fn local_addr(&self) -> Option<SocketAddr>
Get the local addr of the connection. If there is no current underlying relay connection
-or the Client is closed, returns None.
-Sourcepub async fn ping(&self) -> Result<Duration, ClientError>
Send a ping to the server. Return once we get an expected pong.
-This has a built-in timeout crate::defaults::timeouts::PING_TIMEOUT.
-There must be a task polling recv_detail to process the pong response.
-Sourcepub async fn send_pong(&self, data: [u8; 8]) -> Result<(), ClientError>
Send a pong back to the server.
-If there is no underlying active relay connection, it creates one before attempting to
-send the pong message.
-If there is an error sending pong, it closes the underlying relay connection before
-returning.
-Sourcepub async fn send(
- &self,
- dst_key: PublicKey,
- b: Bytes,
-) -> Result<(), ClientError>
Send a packet to the server.
-If there is no underlying active relay connection, it creates one before attempting to
-send the message.
-If there is an error sending the packet, it closes the underlying relay connection before
-returning.
-Sourcepub async fn close(self) -> Result<(), ClientError>
Close the http relay connection.
-Sourcepub async fn close_for_reconnect(&self) -> Result<(), ClientError>
Disconnect the http relay connection.
-Sourcepub async fn is_connected(&self) -> Result<bool, ClientError>
Returns true if the underlying relay connection is established.
-Trait Implementations§
Auto Trait Implementations§
§impl Freeze for Client
§impl RefUnwindSafe for Client
§impl Send for Client
§impl Sync for Client
§impl Unpin for Client
§impl UnwindSafe for Client
Blanket Implementations§
Source§impl<T> Any for Twhere
+Client in iroh_relay::client - Rust pub struct Client { /* private fields */ }
Expand description
A relay client.
+Implementations§
Source§impl Client
Sourcepub fn split(self) -> (ClientStream, ClientSink)
Splits the client into a sink and a stream.
+Trait Implementations§
Source§impl Sink<SendMessage> for Client
Source§type Error = ConnSendError
The type of value produced by the sink when an error occurs.Source§fn poll_ready(
+ self: Pin<&mut Self>,
+ cx: &mut Context<'_>,
+) -> Poll<Result<(), Self::Error>>
Attempts to prepare the Sink to receive a value. Read moreSource§fn start_send(
+ self: Pin<&mut Self>,
+ item: SendMessage,
+) -> Result<(), Self::Error>
Begin the process of sending a value to the sink.
+Each call to this function must be preceded by a successful call to
+poll_ready which returned Poll::Ready(Ok(())). Read moreSource§impl Stream for Client
Auto Trait Implementations§
§impl !Freeze for Client
§impl !RefUnwindSafe for Client
§impl Send for Client
§impl Sync for Client
§impl Unpin for Client
§impl !UnwindSafe for Client
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
- T: Clone,
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> BufferedStreamExt for Twhere
+ T: Stream + ?Sized,
§fn buffered_ordered(self, n: usize) -> BufferedOrdered<Self>
An adaptor for creating a buffered list of pending futures. Read more§fn buffered_unordered(self, n: usize) -> BufferUnordered<Self>
An adaptor for creating a buffered list of pending futures (unordered). Read more§fn for_each_concurrent<Fut, F>(
+ self,
+ limit: usize,
+ f: F,
+) -> ForEachConcurrent<Self, Fut, F>
Runs this stream to completion, executing the provided asynchronous
+closure for each element on the stream concurrently as elements become
+available. Read more§impl<T> BufferedTryStreamExt for Twhere
+ T: TryStream + ?Sized,
§fn try_buffered_ordered(self, n: usize) -> TryBufferedOrdered<Self>where
+ Self::Ok: TryFuture<Err = Self::Err>,
+ Self: Sized,
An adaptor for creating a buffered list of pending futures. Read more§fn try_buffered_unordered(self, n: usize) -> TryBufferUnordered<Self>where
+ Self::Ok: TryFuture<Err = Self::Err>,
+ Self: Sized,
An adaptor for creating a buffered list of pending futures (unordered). Read more§impl<E, S, T> FirstAnswer<T, E> for S
§fn first_answer(self) -> FirstAnswerFuture<Self>
Convert a Stream of dns response into a Future yielding the first answer,
+discarding others if any.§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
§impl<V, T> VZip<V> for Twhere
+
§impl<T> Pointable for T
§impl<T, Item> SinkExt<Item> for Twhere
+ T: Sink<Item> + ?Sized,
§fn with<U, Fut, F, E>(self, f: F) -> With<Self, Item, U, Fut, F>
Composes a function in front of the sink. Read more§fn with_flat_map<U, St, F>(self, f: F) -> WithFlatMap<Self, Item, U, St, F>
Composes a function in front of the sink. Read more§fn sink_map_err<E, F>(self, f: F) -> SinkMapErr<Self, F>
Transforms the error returned by the sink.§fn sink_err_into<E>(self) -> SinkErrInto<Self, Item, E>
Map this sink’s error to a different error type using the Into trait. Read more§fn buffer(self, capacity: usize) -> Buffer<Self, Item>where
+ Self: Sized,
Available on crate feature alloc only.Adds a fixed-size buffer to the current sink. Read more§fn flush(&mut self) -> Flush<'_, Self, Item>where
+ Self: Unpin,
Flush the sink, processing all pending items. Read more§fn send(&mut self, item: Item) -> Send<'_, Self, Item>where
+ Self: Unpin,
A future that completes after the given item has been fully processed
+into the sink, including flushing. Read more§fn feed(&mut self, item: Item) -> Feed<'_, Self, Item>where
+ Self: Unpin,
A future that completes after the given item has been received
+by the sink. Read more§fn send_all<'a, St>(&'a mut self, stream: &'a mut St) -> SendAll<'a, Self, St>
A future that completes after the given stream has been fully processed
+into the sink, including flushing. Read more§fn left_sink<Si2>(self) -> Either<Self, Si2>where
+ Si2: Sink<Item, Error = Self::Error>,
+ Self: Sized,
§fn right_sink<Si1>(self) -> Either<Si1, Self>where
+ Si1: Sink<Item, Error = Self::Error>,
+ Self: Sized,
§fn poll_ready_unpin(
+ &mut self,
+ cx: &mut Context<'_>,
+) -> Poll<Result<(), Self::Error>>where
+ Self: Unpin,
A convenience method for calling [Sink::poll_ready] on Unpin
+sink types.§fn start_send_unpin(&mut self, item: Item) -> Result<(), Self::Error>where
+ Self: Unpin,
A convenience method for calling [Sink::start_send] on Unpin
+sink types.§impl<Item, S> SinkRateLimitExt<Item, S> for Swhere
+ S: Sink<Item>,
§fn ratelimit_sink<D, C, MW>(
+ self,
+ limiter: &RateLimiter<NotKeyed, D, C, MW>,
+) -> RatelimitedSink<'_, Item, S, D, C, MW>where
+ D: DirectStateStore,
+ C: ReasonablyRealtime,
+ MW: RateLimitingMiddleware<<C as Clock>::Instant, NegativeOutcome = NotUntil<<C as Clock>::Instant>>,
Limits the rate at which items can be put into the current sink.§fn ratelimit_sink_with_jitter<D, C, MW>(
+ self,
+ limiter: &RateLimiter<NotKeyed, D, C, MW>,
+ jitter: Jitter,
+) -> RatelimitedSink<'_, Item, S, D, C, MW>where
+ D: DirectStateStore,
+ C: ReasonablyRealtime,
+ MW: RateLimitingMiddleware<<C as Clock>::Instant, NegativeOutcome = NotUntil<<C as Clock>::Instant>>,
Available on crate feature jitter only.Limits the rate at which items can be put into the current sink, with a randomized wait
+period.§impl<S> StreamExt for Swhere
+ S: Stream + ?Sized,
§fn next(&mut self) -> NextFuture<'_, Self>where
+ Self: Unpin,
Retrieves the next item in the stream. Read more§fn try_next<T, E>(&mut self) -> TryNextFuture<'_, Self>
Retrieves the next item in the stream. Read more§fn count(self) -> CountFuture<Self>where
+ Self: Sized,
Counts the number of items in the stream. Read more§fn map<T, F>(self, f: F) -> Map<Self, F>
Maps items of the stream to new values using a closure. Read more§fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
Maps items to streams and then concatenates them. Read more§fn flatten(self) -> Flatten<Self>where
+ Self: Sized,
+ Self::Item: Stream,
Concatenates inner streams. Read more§fn then<F, Fut>(self, f: F) -> Then<Self, F, Fut>
Maps items of the stream to new values using an async closure. Read more§fn filter_map<T, F>(self, f: F) -> FilterMap<Self, F>
Filters and maps items of the stream using a closure. Read more§fn take(self, n: usize) -> Take<Self>where
+ Self: Sized,
Takes only the first n items of the stream. Read more§fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
§fn skip(self, n: usize) -> Skip<Self>where
+ Self: Sized,
Skips the first n items of the stream. Read more§fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
§fn step_by(self, step: usize) -> StepBy<Self>where
+ Self: Sized,
Yields every stepth item. Read more§fn chain<U>(self, other: U) -> Chain<Self, U>where
+ Self: Sized,
+ U: Stream<Item = Self::Item>,
Appends another stream to the end of this one. Read more§fn collect<C>(self) -> CollectFuture<Self, C>
Collects all items in the stream into a collection. Read more§fn try_collect<T, E, C>(self) -> TryCollectFuture<Self, C>
Collects all items in the fallible stream into a collection. Read more§fn partition<B, P>(self, predicate: P) -> PartitionFuture<Self, P, B>
Partitions items into those for which predicate is true and those for which it is
+false, and then collects them into two collections. Read more§fn fold<T, F>(self, init: T, f: F) -> FoldFuture<Self, F, T>
Accumulates a computation over the stream. Read more§fn try_fold<T, E, F, B>(
+ &mut self,
+ init: B,
+ f: F,
+) -> TryFoldFuture<'_, Self, F, B>
Accumulates a fallible computation over the stream. Read more§fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
Maps items of the stream to new values using a state value and a closure. Read more§fn enumerate(self) -> Enumerate<Self>where
+ Self: Sized,
Enumerates items, mapping them to (index, item). Read more§fn inspect<F>(self, f: F) -> Inspect<Self, F>
Calls a closure on each item and passes it on. Read more§fn nth(&mut self, n: usize) -> NthFuture<'_, Self>where
+ Self: Unpin,
Gets the nth item of the stream. Read more§fn last(self) -> LastFuture<Self>where
+ Self: Sized,
Returns the last item in the stream. Read more§fn for_each<F>(self, f: F) -> ForEachFuture<Self, F>
Calls a closure on each item of the stream. Read more§fn try_for_each<F, E>(&mut self, f: F) -> TryForEachFuture<'_, Self, F>
Calls a fallible closure on each item of the stream, stopping on first error. Read more§fn zip<U>(self, other: U) -> Zip<Self, U>where
+ Self: Sized,
+ U: Stream,
Zips up two streams into a single stream of pairs. Read more§fn unzip<A, B, FromA, FromB>(self) -> UnzipFuture<Self, FromA, FromB>
Collects a stream of pairs into a pair of collections. Read more§fn race<S>(self, other: S) -> Race<Self, S>where
+ Self: Sized,
+ S: Stream<Item = Self::Item>,
Available on crate features std and race only.Merges with other stream, with no preference for either stream when both are ready. Read more§fn drain(&mut self) -> Drain<'_, Self>
Yields all immediately available values from a stream. Read more§impl<T> StreamExt for Twhere
+ T: Stream + ?Sized,
§fn next(&mut self) -> Next<'_, Self>where
+ Self: Unpin,
Creates a future that resolves to the next item in the stream. Read more§fn into_future(self) -> StreamFuture<Self>
§fn map<T, F>(self, f: F) -> Map<Self, F>
Maps this stream’s items to a different type, returning a new stream of
+the resulting type. Read more§fn enumerate(self) -> Enumerate<Self>where
+ Self: Sized,
Creates a stream which gives the current iteration count as well as
+the next value. Read more§fn filter<Fut, F>(self, f: F) -> Filter<Self, Fut, F>
Filters the values produced by this stream according to the provided
+asynchronous predicate. Read more§fn filter_map<Fut, T, F>(self, f: F) -> FilterMap<Self, Fut, F>
Filters the values produced by this stream while simultaneously mapping
+them to a different type according to the provided asynchronous closure. Read more§fn then<Fut, F>(self, f: F) -> Then<Self, Fut, F>
Computes from this stream’s items new items of a different type using
+an asynchronous closure. Read more§fn collect<C>(self) -> Collect<Self, C>
Transforms a stream into a collection, returning a
+future representing the result of that computation. Read more§fn unzip<A, B, FromA, FromB>(self) -> Unzip<Self, FromA, FromB>
Converts a stream of pairs into a future, which
+resolves to pair of containers. Read more§fn concat(self) -> Concat<Self>where
+ Self: Sized,
+ Self::Item: Extend<<Self::Item as IntoIterator>::Item> + IntoIterator + Default,
Concatenate all items of a stream into a single extendable
+destination, returning a future representing the end result. Read more§fn count(self) -> Count<Self>where
+ Self: Sized,
Drives the stream to completion, counting the number of items. Read more§fn fold<T, Fut, F>(self, init: T, f: F) -> Fold<Self, Fut, T, F>
Execute an accumulating asynchronous computation over a stream,
+collecting all the values into one final result. Read more§fn any<Fut, F>(self, f: F) -> Any<Self, Fut, F>
Execute predicate over asynchronous stream, and return true if any element in stream satisfied a predicate. Read more§fn all<Fut, F>(self, f: F) -> All<Self, Fut, F>
Execute predicate over asynchronous stream, and return true if all element in stream satisfied a predicate. Read more§fn flatten(self) -> Flatten<Self>where
+ Self::Item: Stream,
+ Self: Sized,
Flattens a stream of streams into just one continuous stream. Read more§fn flatten_unordered(
+ self,
+ limit: impl Into<Option<usize>>,
+) -> FlattenUnorderedWithFlowController<Self, ()>
Available on crate feature alloc only.Flattens a stream of streams into just one continuous stream. Polls
+inner streams produced by the base stream concurrently. Read more§fn flat_map_unordered<U, F>(
+ self,
+ limit: impl Into<Option<usize>>,
+ f: F,
+) -> FlatMapUnordered<Self, U, F>
Available on crate feature alloc only.Maps a stream like [StreamExt::map] but flattens nested Streams
+and polls them concurrently, yielding items in any order, as they made
+available. Read more§fn scan<S, B, Fut, F>(self, initial_state: S, f: F) -> Scan<Self, S, Fut, F>
Combinator similar to [StreamExt::fold] that holds internal state
+and produces a new stream. Read more§fn skip_while<Fut, F>(self, f: F) -> SkipWhile<Self, Fut, F>
Skip elements on this stream while the provided asynchronous predicate
+resolves to true. Read more§fn take_while<Fut, F>(self, f: F) -> TakeWhile<Self, Fut, F>
Take elements from this stream while the provided asynchronous predicate
+resolves to true. Read more§fn take_until<Fut>(self, fut: Fut) -> TakeUntil<Self, Fut>
Take elements from this stream until the provided future resolves. Read more§fn for_each<Fut, F>(self, f: F) -> ForEach<Self, Fut, F>
Runs this stream to completion, executing the provided asynchronous
+closure for each element on the stream. Read more§fn for_each_concurrent<Fut, F>(
+ self,
+ limit: impl Into<Option<usize>>,
+ f: F,
+) -> ForEachConcurrent<Self, Fut, F>
Available on crate feature alloc only.Runs this stream to completion, executing the provided asynchronous
+closure for each element on the stream concurrently as elements become
+available. Read more§fn take(self, n: usize) -> Take<Self>where
+ Self: Sized,
Creates a new stream of at most n items of the underlying stream. Read more§fn skip(self, n: usize) -> Skip<Self>where
+ Self: Sized,
Creates a new stream which skips n items of the underlying stream. Read more§fn catch_unwind(self) -> CatchUnwind<Self>where
+ Self: Sized + UnwindSafe,
Available on crate feature std only.Catches unwinding panics while polling the stream. Read more§fn boxed<'a>(self) -> Pin<Box<dyn Stream<Item = Self::Item> + Send + 'a>>
Available on crate feature alloc only.Wrap the stream in a Box, pinning it. Read more§fn boxed_local<'a>(self) -> Pin<Box<dyn Stream<Item = Self::Item> + 'a>>where
+ Self: Sized + 'a,
Available on crate feature alloc only.Wrap the stream in a Box, pinning it. Read more§fn buffered(self, n: usize) -> Buffered<Self>
Available on crate feature alloc only.An adaptor for creating a buffered list of pending futures. Read more§fn buffer_unordered(self, n: usize) -> BufferUnordered<Self>
Available on crate feature alloc only.An adaptor for creating a buffered list of pending futures (unordered). Read more§fn zip<St>(self, other: St) -> Zip<Self, St>where
+ St: Stream,
+ Self: Sized,
An adapter for zipping two streams together. Read more§fn chain<St>(self, other: St) -> Chain<Self, St>where
+ St: Stream<Item = Self::Item>,
+ Self: Sized,
Adapter for chaining two streams. Read more§fn peekable(self) -> Peekable<Self>where
+ Self: Sized,
Creates a new stream which exposes a peek method. Read more§fn chunks(self, capacity: usize) -> Chunks<Self>where
+ Self: Sized,
Available on crate feature alloc only.An adaptor for chunking up items of the stream inside a vector. Read more§fn ready_chunks(self, capacity: usize) -> ReadyChunks<Self>where
+ Self: Sized,
Available on crate feature alloc only.An adaptor for chunking up ready items of the stream inside a vector. Read more§fn forward<S>(self, sink: S) -> Forward<Self, S>where
+ S: Sink<Self::Ok, Error = Self::Error>,
+ Self: Sized + TryStream,
Available on crate feature sink only.A future that completes after the given stream has been fully processed
+into the sink and the sink has been flushed and closed. Read more§fn split<Item>(self) -> (SplitSink<Self, Item>, SplitStream<Self>)where
+ Self: Sized + Sink<Item>,
Available on crate features sink and alloc only.§fn inspect<F>(self, f: F) -> Inspect<Self, F>
Do something with each item of this stream, afterwards passing it on. Read more§fn left_stream<B>(self) -> Either<Self, B>where
+ B: Stream<Item = Self::Item>,
+ Self: Sized,
§fn right_stream<B>(self) -> Either<B, Self>where
+ B: Stream<Item = Self::Item>,
+ Self: Sized,
§fn poll_next_unpin(&mut self, cx: &mut Context<'_>) -> Poll<Option<Self::Item>>where
+ Self: Unpin,
A convenience method for calling [Stream::poll_next] on Unpin
+stream types.§fn select_next_some(&mut self) -> SelectNextSome<'_, Self>where
+ Self: Unpin + FusedStream,
§impl<'a, S> StreamRateLimitExt<'a> for Swhere
+ S: Stream,
§fn ratelimit_stream<D, C, MW>(
+ self,
+ limiter: &'a RateLimiter<NotKeyed, D, C, MW>,
+) -> RatelimitedStream<'a, S, D, C, MW>where
+ D: DirectStateStore,
+ C: ReasonablyRealtime,
+ MW: RateLimitingMiddleware<<C as Clock>::Instant>,
Limits the rate at which the stream produces items. Read more§fn ratelimit_stream_with_jitter<D, C, MW>(
+ self,
+ limiter: &'a RateLimiter<NotKeyed, D, C, MW>,
+ jitter: Jitter,
+) -> RatelimitedStream<'a, S, D, C, MW>where
+ D: DirectStateStore,
+ C: ReasonablyRealtime,
+ MW: RateLimitingMiddleware<<C as Clock>::Instant>,
Limits the rate at which the stream produces items, with a randomized wait period. Read more§impl<S, T, E> TryStream for S
§impl<T, E, S> TryStream for S
§impl<S> TryStreamExt for Swhere
+ S: TryStream + ?Sized,
§fn err_into<E>(self) -> ErrInto<Self, E>
Wraps the current stream in a new stream which converts the error type
+into the one provided. Read more§fn map_ok<T, F>(self, f: F) -> MapOk<Self, F>
Wraps the current stream in a new stream which maps the success value
+using the provided closure. Read more§fn map_err<E, F>(self, f: F) -> MapErr<Self, F>
Wraps the current stream in a new stream which maps the error value
+using the provided closure. Read more§fn and_then<Fut, F>(self, f: F) -> AndThen<Self, Fut, F>
Chain on a computation for when a value is ready, passing the successful
+results to the provided closure f. Read more§fn or_else<Fut, F>(self, f: F) -> OrElse<Self, Fut, F>
Chain on a computation for when an error happens, passing the
+erroneous result to the provided closure f. Read more§fn inspect_ok<F>(self, f: F) -> InspectOk<Self, F>
Do something with the success value of this stream, afterwards passing
+it on. Read more§fn inspect_err<F>(self, f: F) -> InspectErr<Self, F>
Do something with the error value of this stream, afterwards passing it on. Read more§fn into_stream(self) -> IntoStream<Self>where
+ Self: Sized,
§fn try_next(&mut self) -> TryNext<'_, Self>where
+ Self: Unpin,
Creates a future that attempts to resolve the next item in the stream.
+If an error is encountered before the next item, the error is returned
+instead. Read more§fn try_for_each<Fut, F>(self, f: F) -> TryForEach<Self, Fut, F>
Attempts to run this stream to completion, executing the provided
+asynchronous closure for each element on the stream. Read more§fn try_skip_while<Fut, F>(self, f: F) -> TrySkipWhile<Self, Fut, F>
Skip elements on this stream while the provided asynchronous predicate
+resolves to true. Read more§fn try_take_while<Fut, F>(self, f: F) -> TryTakeWhile<Self, Fut, F>
Take elements on this stream while the provided asynchronous predicate
+resolves to true. Read more§fn try_for_each_concurrent<Fut, F>(
+ self,
+ limit: impl Into<Option<usize>>,
+ f: F,
+) -> TryForEachConcurrent<Self, Fut, F>
Available on crate feature alloc only.Attempts to run this stream to completion, executing the provided asynchronous
+closure for each element on the stream concurrently as elements become
+available, exiting as soon as an error occurs. Read more§fn try_collect<C>(self) -> TryCollect<Self, C>
Attempt to transform a stream into a collection,
+returning a future representing the result of that computation. Read more§fn try_chunks(self, capacity: usize) -> TryChunks<Self>where
+ Self: Sized,
Available on crate feature alloc only.An adaptor for chunking up successful items of the stream inside a vector. Read more§fn try_ready_chunks(self, capacity: usize) -> TryReadyChunks<Self>where
+ Self: Sized,
Available on crate feature alloc only.An adaptor for chunking up successful, ready items of the stream inside a vector. Read more§fn try_filter<Fut, F>(self, f: F) -> TryFilter<Self, Fut, F>
Attempt to filter the values produced by this stream according to the
+provided asynchronous closure. Read more§fn try_filter_map<Fut, F, T>(self, f: F) -> TryFilterMap<Self, Fut, F>
Attempt to filter the values produced by this stream while
+simultaneously mapping them to a different type according to the
+provided asynchronous closure. Read more§fn try_flatten_unordered(
+ self,
+ limit: impl Into<Option<usize>>,
+) -> TryFlattenUnordered<Self>
Available on crate feature alloc only.Flattens a stream of streams into just one continuous stream. Produced streams
+will be polled concurrently and any errors will be passed through without looking at them.
+If the underlying base stream returns an error, it will be immediately propagated. Read more§fn try_flatten(self) -> TryFlatten<Self>
Flattens a stream of streams into just one continuous stream. Read more§fn try_fold<T, Fut, F>(self, init: T, f: F) -> TryFold<Self, Fut, T, F>
Attempt to execute an accumulating asynchronous computation over a
+stream, collecting all the values into one final result. Read more§fn try_concat(self) -> TryConcat<Self>
Attempt to concatenate all items of a stream into a single
+extendable destination, returning a future representing the end result. Read more§fn try_buffer_unordered(self, n: usize) -> TryBufferUnordered<Self>where
+ Self::Ok: TryFuture<Error = Self::Error>,
+ Self: Sized,
Available on crate feature alloc only.Attempt to execute several futures from a stream concurrently (unordered). Read more§fn try_buffered(self, n: usize) -> TryBuffered<Self>where
+ Self::Ok: TryFuture<Error = Self::Error>,
+ Self: Sized,
Available on crate feature alloc only.Attempt to execute several futures from a stream concurrently. Read more§fn try_poll_next_unpin(
+ &mut self,
+ cx: &mut Context<'_>,
+) -> Poll<Option<Result<Self::Ok, Self::Error>>>where
+ Self: Unpin,
A convenience method for calling [TryStream::try_poll_next] on Unpin
+stream types.§fn into_async_read(self) -> IntoAsyncRead<Self>
Available on crate features io and std only.Adapter that converts this stream into an AsyncBufRead. Read more§fn try_all<Fut, F>(self, f: F) -> TryAll<Self, Fut, F>
Attempt to execute a predicate over an asynchronous stream and evaluate if all items
+satisfy the predicate. Exits early if an Err is encountered or if an Ok item is found
+that does not satisfy the predicate. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
diff --git a/pr/3068/docs/iroh_relay/client/struct.ClientBuilder.html b/pr/3068/docs/iroh_relay/client/struct.ClientBuilder.html
index 38cd386f33..eff40160fc 100644
--- a/pr/3068/docs/iroh_relay/client/struct.ClientBuilder.html
+++ b/pr/3068/docs/iroh_relay/client/struct.ClientBuilder.html
@@ -1,27 +1,25 @@
-ClientBuilder in iroh_relay::client - Rust pub struct ClientBuilder { /* private fields */ }
Expand description
Build a Client.
-Implementations§
Source§impl ClientBuilder
Sourcepub fn new(url: impl Into<RelayUrl>) -> Self
Create a new ClientBuilder
-Sourcepub fn server_url(self, url: impl Into<RelayUrl>) -> Self
Sets the server url
-Sourcepub fn protocol(self, protocol: Protocol) -> Self
Sets whether to connect to the relay via websockets or not.
+
ClientBuilder in iroh_relay::client - Rust pub struct ClientBuilder { /* private fields */ }
Expand description
Build a Client.
+Implementations§
Source§impl ClientBuilder
Sourcepub fn new(
+ url: impl Into<RelayUrl>,
+ secret_key: SecretKey,
+ dns_resolver: DnsResolver,
+) -> Self
Create a new ClientBuilder
+Sourcepub fn protocol(self, protocol: Protocol) -> Self
Sets whether to connect to the relay via websockets or not.
Set to use non-websocket, normal relaying by default.
-Sourcepub fn address_family_selector<S>(self, selector: S) -> Selfwhere
+
Sourcepub fn address_family_selector<S>(self, selector: S) -> Self
Returns if we should prefer ipv6
it replaces the relayhttp.AddressFamilySelector we pass
It provides the hint as to whether in an IPv4-vs-IPv6 race that
IPv4 should be held back a bit to give IPv6 a better-than-50/50
chance of winning. We only return true when we believe IPv6 will
work anyway, so we don’t artificially delay the connection speed.
-Sourcepub fn insecure_skip_cert_verify(self, skip: bool) -> Self
Available on crate feature test-utils only.
Skip the verification of the relay server’s SSL certificates.
+Sourcepub fn insecure_skip_cert_verify(self, skip: bool) -> Self
Available on crate feature test-utils only.
Skip the verification of the relay server’s SSL certificates.
May only be used in tests.
-Sourcepub fn proxy_url(self, url: Url) -> Self
Set an explicit proxy url to proxy all HTTP(S) traffic through.
-Sourcepub fn key_cache_capacity(self, capacity: usize) -> Self
Set the capacity of the cache for public keys.
-Sourcepub fn build(
- self,
- key: SecretKey,
- dns_resolver: DnsResolver,
-) -> (Client, ClientReceiver)
Build the Client
-Sourcepub fn server_public_key(self, server_public_key: PublicKey) -> Self
The expected PublicKey of the relay server we are connecting to.
-Trait Implementations§
Auto Trait Implementations§
§impl Freeze for ClientBuilder
§impl !RefUnwindSafe for ClientBuilder
§impl Send for ClientBuilder
§impl Sync for ClientBuilder
§impl Unpin for ClientBuilder
§impl !UnwindSafe for ClientBuilder
Blanket Implementations§
Trait Implementations§
Source§impl Clone for ClientBuilder
Source§fn clone(&self) -> ClientBuilder
Returns a copy of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreAuto Trait Implementations§
§impl Freeze for ClientBuilder
§impl !RefUnwindSafe for ClientBuilder
§impl Send for ClientBuilder
§impl Sync for ClientBuilder
§impl Unpin for ClientBuilder
§impl !UnwindSafe for ClientBuilder
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§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 moreSource§impl<T> CloneToUninit for Twhere
+ T: Clone,
§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
diff --git a/pr/3068/docs/iroh_relay/client/struct.ClientReceiver.html b/pr/3068/docs/iroh_relay/client/struct.ClientReceiver.html
deleted file mode 100644
index 7821baffd9..0000000000
--- a/pr/3068/docs/iroh_relay/client/struct.ClientReceiver.html
+++ /dev/null
@@ -1,27 +0,0 @@
-ClientReceiver in iroh_relay::client - Rust pub struct ClientReceiver { /* private fields */ }
Expand description
Receiving end of a Client.
-Implementations§
Source§impl ClientReceiver
Sourcepub async fn recv(&mut self) -> Option<Result<ReceivedMessage, ClientError>>
Reads a message from the server.
-Trait Implementations§
Auto Trait Implementations§
§impl Freeze for ClientReceiver
§impl RefUnwindSafe for ClientReceiver
§impl Send for ClientReceiver
§impl Sync for ClientReceiver
§impl Unpin for ClientReceiver
§impl UnwindSafe for ClientReceiver
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
- T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
- T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
-[WithDispatch] wrapper. Read more§impl<T> ErasedDestructor for Twhere
- T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/pr/3068/docs/iroh_relay/client/struct.ClientSink.html b/pr/3068/docs/iroh_relay/client/struct.ClientSink.html
new file mode 100644
index 0000000000..f5389d1da4
--- /dev/null
+++ b/pr/3068/docs/iroh_relay/client/struct.ClientSink.html
@@ -0,0 +1,103 @@
+ClientSink in iroh_relay::client - Rust pub struct ClientSink { /* private fields */ }
Expand description
The send half of a relay client.
+Trait Implementations§
Source§impl Debug for ClientSink
Source§impl Sink<SendMessage> for ClientSink
Source§type Error = ConnSendError
The type of value produced by the sink when an error occurs.Source§fn poll_ready(
+ self: Pin<&mut Self>,
+ cx: &mut Context<'_>,
+) -> Poll<Result<(), Self::Error>>
Attempts to prepare the Sink to receive a value. Read moreSource§fn start_send(
+ self: Pin<&mut Self>,
+ item: SendMessage,
+) -> Result<(), Self::Error>
Begin the process of sending a value to the sink.
+Each call to this function must be preceded by a successful call to
+poll_ready which returned Poll::Ready(Ok(())). Read moreAuto Trait Implementations§
§impl !Freeze for ClientSink
§impl !RefUnwindSafe for ClientSink
§impl Send for ClientSink
§impl Sync for ClientSink
§impl Unpin for ClientSink
§impl !UnwindSafe for ClientSink
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
+ T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
+ T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
§impl<T, Item> SinkExt<Item> for Twhere
+ T: Sink<Item> + ?Sized,
§fn with<U, Fut, F, E>(self, f: F) -> With<Self, Item, U, Fut, F>
Composes a function in front of the sink. Read more§fn with_flat_map<U, St, F>(self, f: F) -> WithFlatMap<Self, Item, U, St, F>
Composes a function in front of the sink. Read more§fn sink_map_err<E, F>(self, f: F) -> SinkMapErr<Self, F>
Transforms the error returned by the sink.§fn sink_err_into<E>(self) -> SinkErrInto<Self, Item, E>
Map this sink’s error to a different error type using the Into trait. Read more§fn buffer(self, capacity: usize) -> Buffer<Self, Item>where
+ Self: Sized,
Available on crate feature alloc only.Adds a fixed-size buffer to the current sink. Read more§fn flush(&mut self) -> Flush<'_, Self, Item>where
+ Self: Unpin,
Flush the sink, processing all pending items. Read more§fn send(&mut self, item: Item) -> Send<'_, Self, Item>where
+ Self: Unpin,
A future that completes after the given item has been fully processed
+into the sink, including flushing. Read more§fn feed(&mut self, item: Item) -> Feed<'_, Self, Item>where
+ Self: Unpin,
A future that completes after the given item has been received
+by the sink. Read more§fn send_all<'a, St>(&'a mut self, stream: &'a mut St) -> SendAll<'a, Self, St>
A future that completes after the given stream has been fully processed
+into the sink, including flushing. Read more§fn left_sink<Si2>(self) -> Either<Self, Si2>where
+ Si2: Sink<Item, Error = Self::Error>,
+ Self: Sized,
§fn right_sink<Si1>(self) -> Either<Si1, Self>where
+ Si1: Sink<Item, Error = Self::Error>,
+ Self: Sized,
§fn poll_ready_unpin(
+ &mut self,
+ cx: &mut Context<'_>,
+) -> Poll<Result<(), Self::Error>>where
+ Self: Unpin,
A convenience method for calling [Sink::poll_ready] on Unpin
+sink types.§fn start_send_unpin(&mut self, item: Item) -> Result<(), Self::Error>where
+ Self: Unpin,
A convenience method for calling [Sink::start_send] on Unpin
+sink types.§impl<Item, S> SinkRateLimitExt<Item, S> for Swhere
+ S: Sink<Item>,
§fn ratelimit_sink<D, C, MW>(
+ self,
+ limiter: &RateLimiter<NotKeyed, D, C, MW>,
+) -> RatelimitedSink<'_, Item, S, D, C, MW>where
+ D: DirectStateStore,
+ C: ReasonablyRealtime,
+ MW: RateLimitingMiddleware<<C as Clock>::Instant, NegativeOutcome = NotUntil<<C as Clock>::Instant>>,
Limits the rate at which items can be put into the current sink.§fn ratelimit_sink_with_jitter<D, C, MW>(
+ self,
+ limiter: &RateLimiter<NotKeyed, D, C, MW>,
+ jitter: Jitter,
+) -> RatelimitedSink<'_, Item, S, D, C, MW>where
+ D: DirectStateStore,
+ C: ReasonablyRealtime,
+ MW: RateLimitingMiddleware<<C as Clock>::Instant, NegativeOutcome = NotUntil<<C as Clock>::Instant>>,
Available on crate feature jitter only.Limits the rate at which items can be put into the current sink, with a randomized wait
+period.§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
+[WithDispatch] wrapper. Read more§impl<T> ErasedDestructor for Twhere
+ T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/pr/3068/docs/iroh_relay/client/struct.ClientStream.html b/pr/3068/docs/iroh_relay/client/struct.ClientStream.html
new file mode 100644
index 0000000000..e07a0b4b5e
--- /dev/null
+++ b/pr/3068/docs/iroh_relay/client/struct.ClientStream.html
@@ -0,0 +1,383 @@
+ClientStream in iroh_relay::client - Rust pub struct ClientStream { /* private fields */ }
Expand description
The receive half of a relay client.
+Implementations§
Source§impl ClientStream
Sourcepub fn local_addr(&self) -> Option<SocketAddr>
Returns the local address of the client.
+Trait Implementations§
Source§impl Debug for ClientStream
Source§impl Stream for ClientStream
Auto Trait Implementations§
§impl Freeze for ClientStream
§impl !RefUnwindSafe for ClientStream
§impl Send for ClientStream
§impl Sync for ClientStream
§impl Unpin for ClientStream
§impl !UnwindSafe for ClientStream
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
+ T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
+ T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> BufferedStreamExt for Twhere
+ T: Stream + ?Sized,
§fn buffered_ordered(self, n: usize) -> BufferedOrdered<Self>
An adaptor for creating a buffered list of pending futures. Read more§fn buffered_unordered(self, n: usize) -> BufferUnordered<Self>
An adaptor for creating a buffered list of pending futures (unordered). Read more§fn for_each_concurrent<Fut, F>(
+ self,
+ limit: usize,
+ f: F,
+) -> ForEachConcurrent<Self, Fut, F>
Runs this stream to completion, executing the provided asynchronous
+closure for each element on the stream concurrently as elements become
+available. Read more§impl<T> BufferedTryStreamExt for Twhere
+ T: TryStream + ?Sized,
§fn try_buffered_ordered(self, n: usize) -> TryBufferedOrdered<Self>where
+ Self::Ok: TryFuture<Err = Self::Err>,
+ Self: Sized,
An adaptor for creating a buffered list of pending futures. Read more§fn try_buffered_unordered(self, n: usize) -> TryBufferUnordered<Self>where
+ Self::Ok: TryFuture<Err = Self::Err>,
+ Self: Sized,
An adaptor for creating a buffered list of pending futures (unordered). Read more§impl<E, S, T> FirstAnswer<T, E> for S
§fn first_answer(self) -> FirstAnswerFuture<Self>
Convert a Stream of dns response into a Future yielding the first answer,
+discarding others if any.§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
§impl<S> StreamExt for Swhere
+ S: Stream + ?Sized,
§fn next(&mut self) -> NextFuture<'_, Self>where
+ Self: Unpin,
Retrieves the next item in the stream. Read more§fn try_next<T, E>(&mut self) -> TryNextFuture<'_, Self>
Retrieves the next item in the stream. Read more§fn count(self) -> CountFuture<Self>where
+ Self: Sized,
Counts the number of items in the stream. Read more§fn map<T, F>(self, f: F) -> Map<Self, F>
Maps items of the stream to new values using a closure. Read more§fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
Maps items to streams and then concatenates them. Read more§fn flatten(self) -> Flatten<Self>where
+ Self: Sized,
+ Self::Item: Stream,
Concatenates inner streams. Read more§fn then<F, Fut>(self, f: F) -> Then<Self, F, Fut>
Maps items of the stream to new values using an async closure. Read more§fn filter_map<T, F>(self, f: F) -> FilterMap<Self, F>
Filters and maps items of the stream using a closure. Read more§fn take(self, n: usize) -> Take<Self>where
+ Self: Sized,
Takes only the first n items of the stream. Read more§fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
§fn skip(self, n: usize) -> Skip<Self>where
+ Self: Sized,
Skips the first n items of the stream. Read more§fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
§fn step_by(self, step: usize) -> StepBy<Self>where
+ Self: Sized,
Yields every stepth item. Read more§fn chain<U>(self, other: U) -> Chain<Self, U>where
+ Self: Sized,
+ U: Stream<Item = Self::Item>,
Appends another stream to the end of this one. Read more§fn collect<C>(self) -> CollectFuture<Self, C>
Collects all items in the stream into a collection. Read more§fn try_collect<T, E, C>(self) -> TryCollectFuture<Self, C>
Collects all items in the fallible stream into a collection. Read more§fn partition<B, P>(self, predicate: P) -> PartitionFuture<Self, P, B>
Partitions items into those for which predicate is true and those for which it is
+false, and then collects them into two collections. Read more§fn fold<T, F>(self, init: T, f: F) -> FoldFuture<Self, F, T>
Accumulates a computation over the stream. Read more§fn try_fold<T, E, F, B>(
+ &mut self,
+ init: B,
+ f: F,
+) -> TryFoldFuture<'_, Self, F, B>
Accumulates a fallible computation over the stream. Read more§fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
Maps items of the stream to new values using a state value and a closure. Read more§fn enumerate(self) -> Enumerate<Self>where
+ Self: Sized,
Enumerates items, mapping them to (index, item). Read more§fn inspect<F>(self, f: F) -> Inspect<Self, F>
Calls a closure on each item and passes it on. Read more§fn nth(&mut self, n: usize) -> NthFuture<'_, Self>where
+ Self: Unpin,
Gets the nth item of the stream. Read more§fn last(self) -> LastFuture<Self>where
+ Self: Sized,
Returns the last item in the stream. Read more§fn for_each<F>(self, f: F) -> ForEachFuture<Self, F>
Calls a closure on each item of the stream. Read more§fn try_for_each<F, E>(&mut self, f: F) -> TryForEachFuture<'_, Self, F>
Calls a fallible closure on each item of the stream, stopping on first error. Read more§fn zip<U>(self, other: U) -> Zip<Self, U>where
+ Self: Sized,
+ U: Stream,
Zips up two streams into a single stream of pairs. Read more§fn unzip<A, B, FromA, FromB>(self) -> UnzipFuture<Self, FromA, FromB>
Collects a stream of pairs into a pair of collections. Read more§fn race<S>(self, other: S) -> Race<Self, S>where
+ Self: Sized,
+ S: Stream<Item = Self::Item>,
Available on crate features std and race only.Merges with other stream, with no preference for either stream when both are ready. Read more§fn drain(&mut self) -> Drain<'_, Self>
Yields all immediately available values from a stream. Read more§impl<T> StreamExt for Twhere
+ T: Stream + ?Sized,
§fn next(&mut self) -> Next<'_, Self>where
+ Self: Unpin,
Creates a future that resolves to the next item in the stream. Read more§fn into_future(self) -> StreamFuture<Self>
§fn map<T, F>(self, f: F) -> Map<Self, F>
Maps this stream’s items to a different type, returning a new stream of
+the resulting type. Read more§fn enumerate(self) -> Enumerate<Self>where
+ Self: Sized,
Creates a stream which gives the current iteration count as well as
+the next value. Read more§fn filter<Fut, F>(self, f: F) -> Filter<Self, Fut, F>
Filters the values produced by this stream according to the provided
+asynchronous predicate. Read more§fn filter_map<Fut, T, F>(self, f: F) -> FilterMap<Self, Fut, F>
Filters the values produced by this stream while simultaneously mapping
+them to a different type according to the provided asynchronous closure. Read more§fn then<Fut, F>(self, f: F) -> Then<Self, Fut, F>
Computes from this stream’s items new items of a different type using
+an asynchronous closure. Read more§fn collect<C>(self) -> Collect<Self, C>
Transforms a stream into a collection, returning a
+future representing the result of that computation. Read more§fn unzip<A, B, FromA, FromB>(self) -> Unzip<Self, FromA, FromB>
Converts a stream of pairs into a future, which
+resolves to pair of containers. Read more§fn concat(self) -> Concat<Self>where
+ Self: Sized,
+ Self::Item: Extend<<Self::Item as IntoIterator>::Item> + IntoIterator + Default,
Concatenate all items of a stream into a single extendable
+destination, returning a future representing the end result. Read more§fn count(self) -> Count<Self>where
+ Self: Sized,
Drives the stream to completion, counting the number of items. Read more§fn fold<T, Fut, F>(self, init: T, f: F) -> Fold<Self, Fut, T, F>
Execute an accumulating asynchronous computation over a stream,
+collecting all the values into one final result. Read more§fn any<Fut, F>(self, f: F) -> Any<Self, Fut, F>
Execute predicate over asynchronous stream, and return true if any element in stream satisfied a predicate. Read more§fn all<Fut, F>(self, f: F) -> All<Self, Fut, F>
Execute predicate over asynchronous stream, and return true if all element in stream satisfied a predicate. Read more§fn flatten(self) -> Flatten<Self>where
+ Self::Item: Stream,
+ Self: Sized,
Flattens a stream of streams into just one continuous stream. Read more§fn flatten_unordered(
+ self,
+ limit: impl Into<Option<usize>>,
+) -> FlattenUnorderedWithFlowController<Self, ()>
Available on crate feature alloc only.Flattens a stream of streams into just one continuous stream. Polls
+inner streams produced by the base stream concurrently. Read more§fn flat_map_unordered<U, F>(
+ self,
+ limit: impl Into<Option<usize>>,
+ f: F,
+) -> FlatMapUnordered<Self, U, F>
Available on crate feature alloc only.Maps a stream like [StreamExt::map] but flattens nested Streams
+and polls them concurrently, yielding items in any order, as they made
+available. Read more§fn scan<S, B, Fut, F>(self, initial_state: S, f: F) -> Scan<Self, S, Fut, F>
Combinator similar to [StreamExt::fold] that holds internal state
+and produces a new stream. Read more§fn skip_while<Fut, F>(self, f: F) -> SkipWhile<Self, Fut, F>
Skip elements on this stream while the provided asynchronous predicate
+resolves to true. Read more§fn take_while<Fut, F>(self, f: F) -> TakeWhile<Self, Fut, F>
Take elements from this stream while the provided asynchronous predicate
+resolves to true. Read more§fn take_until<Fut>(self, fut: Fut) -> TakeUntil<Self, Fut>
Take elements from this stream until the provided future resolves. Read more§fn for_each<Fut, F>(self, f: F) -> ForEach<Self, Fut, F>
Runs this stream to completion, executing the provided asynchronous
+closure for each element on the stream. Read more§fn for_each_concurrent<Fut, F>(
+ self,
+ limit: impl Into<Option<usize>>,
+ f: F,
+) -> ForEachConcurrent<Self, Fut, F>
Available on crate feature alloc only.Runs this stream to completion, executing the provided asynchronous
+closure for each element on the stream concurrently as elements become
+available. Read more§fn take(self, n: usize) -> Take<Self>where
+ Self: Sized,
Creates a new stream of at most n items of the underlying stream. Read more§fn skip(self, n: usize) -> Skip<Self>where
+ Self: Sized,
Creates a new stream which skips n items of the underlying stream. Read more§fn catch_unwind(self) -> CatchUnwind<Self>where
+ Self: Sized + UnwindSafe,
Available on crate feature std only.Catches unwinding panics while polling the stream. Read more§fn boxed<'a>(self) -> Pin<Box<dyn Stream<Item = Self::Item> + Send + 'a>>
Available on crate feature alloc only.Wrap the stream in a Box, pinning it. Read more§fn boxed_local<'a>(self) -> Pin<Box<dyn Stream<Item = Self::Item> + 'a>>where
+ Self: Sized + 'a,
Available on crate feature alloc only.Wrap the stream in a Box, pinning it. Read more§fn buffered(self, n: usize) -> Buffered<Self>
Available on crate feature alloc only.An adaptor for creating a buffered list of pending futures. Read more§fn buffer_unordered(self, n: usize) -> BufferUnordered<Self>
Available on crate feature alloc only.An adaptor for creating a buffered list of pending futures (unordered). Read more§fn zip<St>(self, other: St) -> Zip<Self, St>where
+ St: Stream,
+ Self: Sized,
An adapter for zipping two streams together. Read more§fn chain<St>(self, other: St) -> Chain<Self, St>where
+ St: Stream<Item = Self::Item>,
+ Self: Sized,
Adapter for chaining two streams. Read more§fn peekable(self) -> Peekable<Self>where
+ Self: Sized,
Creates a new stream which exposes a peek method. Read more§fn chunks(self, capacity: usize) -> Chunks<Self>where
+ Self: Sized,
Available on crate feature alloc only.An adaptor for chunking up items of the stream inside a vector. Read more§fn ready_chunks(self, capacity: usize) -> ReadyChunks<Self>where
+ Self: Sized,
Available on crate feature alloc only.An adaptor for chunking up ready items of the stream inside a vector. Read more§fn forward<S>(self, sink: S) -> Forward<Self, S>where
+ S: Sink<Self::Ok, Error = Self::Error>,
+ Self: Sized + TryStream,
Available on crate feature sink only.A future that completes after the given stream has been fully processed
+into the sink and the sink has been flushed and closed. Read more§fn split<Item>(self) -> (SplitSink<Self, Item>, SplitStream<Self>)where
+ Self: Sized + Sink<Item>,
Available on crate features sink and alloc only.§fn inspect<F>(self, f: F) -> Inspect<Self, F>
Do something with each item of this stream, afterwards passing it on. Read more§fn left_stream<B>(self) -> Either<Self, B>where
+ B: Stream<Item = Self::Item>,
+ Self: Sized,
§fn right_stream<B>(self) -> Either<B, Self>where
+ B: Stream<Item = Self::Item>,
+ Self: Sized,
§fn poll_next_unpin(&mut self, cx: &mut Context<'_>) -> Poll<Option<Self::Item>>where
+ Self: Unpin,
A convenience method for calling [Stream::poll_next] on Unpin
+stream types.§fn select_next_some(&mut self) -> SelectNextSome<'_, Self>where
+ Self: Unpin + FusedStream,
§impl<'a, S> StreamRateLimitExt<'a> for Swhere
+ S: Stream,
§fn ratelimit_stream<D, C, MW>(
+ self,
+ limiter: &'a RateLimiter<NotKeyed, D, C, MW>,
+) -> RatelimitedStream<'a, S, D, C, MW>where
+ D: DirectStateStore,
+ C: ReasonablyRealtime,
+ MW: RateLimitingMiddleware<<C as Clock>::Instant>,
Limits the rate at which the stream produces items. Read more§fn ratelimit_stream_with_jitter<D, C, MW>(
+ self,
+ limiter: &'a RateLimiter<NotKeyed, D, C, MW>,
+ jitter: Jitter,
+) -> RatelimitedStream<'a, S, D, C, MW>where
+ D: DirectStateStore,
+ C: ReasonablyRealtime,
+ MW: RateLimitingMiddleware<<C as Clock>::Instant>,
Limits the rate at which the stream produces items, with a randomized wait period. Read more§impl<S, T, E> TryStream for S
§impl<T, E, S> TryStream for S
§impl<S> TryStreamExt for Swhere
+ S: TryStream + ?Sized,
§fn err_into<E>(self) -> ErrInto<Self, E>
Wraps the current stream in a new stream which converts the error type
+into the one provided. Read more§fn map_ok<T, F>(self, f: F) -> MapOk<Self, F>
Wraps the current stream in a new stream which maps the success value
+using the provided closure. Read more§fn map_err<E, F>(self, f: F) -> MapErr<Self, F>
Wraps the current stream in a new stream which maps the error value
+using the provided closure. Read more§fn and_then<Fut, F>(self, f: F) -> AndThen<Self, Fut, F>
Chain on a computation for when a value is ready, passing the successful
+results to the provided closure f. Read more§fn or_else<Fut, F>(self, f: F) -> OrElse<Self, Fut, F>
Chain on a computation for when an error happens, passing the
+erroneous result to the provided closure f. Read more§fn inspect_ok<F>(self, f: F) -> InspectOk<Self, F>
Do something with the success value of this stream, afterwards passing
+it on. Read more§fn inspect_err<F>(self, f: F) -> InspectErr<Self, F>
Do something with the error value of this stream, afterwards passing it on. Read more§fn into_stream(self) -> IntoStream<Self>where
+ Self: Sized,
§fn try_next(&mut self) -> TryNext<'_, Self>where
+ Self: Unpin,
Creates a future that attempts to resolve the next item in the stream.
+If an error is encountered before the next item, the error is returned
+instead. Read more§fn try_for_each<Fut, F>(self, f: F) -> TryForEach<Self, Fut, F>
Attempts to run this stream to completion, executing the provided
+asynchronous closure for each element on the stream. Read more§fn try_skip_while<Fut, F>(self, f: F) -> TrySkipWhile<Self, Fut, F>
Skip elements on this stream while the provided asynchronous predicate
+resolves to true. Read more§fn try_take_while<Fut, F>(self, f: F) -> TryTakeWhile<Self, Fut, F>
Take elements on this stream while the provided asynchronous predicate
+resolves to true. Read more§fn try_for_each_concurrent<Fut, F>(
+ self,
+ limit: impl Into<Option<usize>>,
+ f: F,
+) -> TryForEachConcurrent<Self, Fut, F>
Available on crate feature alloc only.Attempts to run this stream to completion, executing the provided asynchronous
+closure for each element on the stream concurrently as elements become
+available, exiting as soon as an error occurs. Read more§fn try_collect<C>(self) -> TryCollect<Self, C>
Attempt to transform a stream into a collection,
+returning a future representing the result of that computation. Read more§fn try_chunks(self, capacity: usize) -> TryChunks<Self>where
+ Self: Sized,
Available on crate feature alloc only.An adaptor for chunking up successful items of the stream inside a vector. Read more§fn try_ready_chunks(self, capacity: usize) -> TryReadyChunks<Self>where
+ Self: Sized,
Available on crate feature alloc only.An adaptor for chunking up successful, ready items of the stream inside a vector. Read more§fn try_filter<Fut, F>(self, f: F) -> TryFilter<Self, Fut, F>
Attempt to filter the values produced by this stream according to the
+provided asynchronous closure. Read more§fn try_filter_map<Fut, F, T>(self, f: F) -> TryFilterMap<Self, Fut, F>
Attempt to filter the values produced by this stream while
+simultaneously mapping them to a different type according to the
+provided asynchronous closure. Read more§fn try_flatten_unordered(
+ self,
+ limit: impl Into<Option<usize>>,
+) -> TryFlattenUnordered<Self>
Available on crate feature alloc only.Flattens a stream of streams into just one continuous stream. Produced streams
+will be polled concurrently and any errors will be passed through without looking at them.
+If the underlying base stream returns an error, it will be immediately propagated. Read more§fn try_flatten(self) -> TryFlatten<Self>
Flattens a stream of streams into just one continuous stream. Read more§fn try_fold<T, Fut, F>(self, init: T, f: F) -> TryFold<Self, Fut, T, F>
Attempt to execute an accumulating asynchronous computation over a
+stream, collecting all the values into one final result. Read more§fn try_concat(self) -> TryConcat<Self>
Attempt to concatenate all items of a stream into a single
+extendable destination, returning a future representing the end result. Read more§fn try_buffer_unordered(self, n: usize) -> TryBufferUnordered<Self>where
+ Self::Ok: TryFuture<Error = Self::Error>,
+ Self: Sized,
Available on crate feature alloc only.Attempt to execute several futures from a stream concurrently (unordered). Read more§fn try_buffered(self, n: usize) -> TryBuffered<Self>where
+ Self::Ok: TryFuture<Error = Self::Error>,
+ Self: Sized,
Available on crate feature alloc only.Attempt to execute several futures from a stream concurrently. Read more§fn try_poll_next_unpin(
+ &mut self,
+ cx: &mut Context<'_>,
+) -> Poll<Option<Result<Self::Ok, Self::Error>>>where
+ Self: Unpin,
A convenience method for calling [TryStream::try_poll_next] on Unpin
+stream types.§fn into_async_read(self) -> IntoAsyncRead<Self>
Available on crate features io and std only.Adapter that converts this stream into an AsyncBufRead. Read more§fn try_all<Fut, F>(self, f: F) -> TryAll<Self, Fut, F>
Attempt to execute a predicate over an asynchronous stream and evaluate if all items
+satisfy the predicate. Exits early if an Err is encountered or if an Ok item is found
+that does not satisfy the predicate. Read more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
+[WithDispatch] wrapper. Read more§impl<T> ErasedDestructor for Twhere
+ T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/pr/3068/docs/iroh_relay/defaults/index.html b/pr/3068/docs/iroh_relay/defaults/index.html
index 7fe8858485..0f4d69df10 100644
--- a/pr/3068/docs/iroh_relay/defaults/index.html
+++ b/pr/3068/docs/iroh_relay/defaults/index.html
@@ -1,3 +1,3 @@
-iroh_relay::defaults - Rust Expand description
Default values used in the relay.
+iroh_relay::defaults - Rust Expand description
Default values used in the relay.
Constants§
- The default HTTPS port used by the Relay server.
- The default HTTP port used by the Relay server.
- The default capacity of the key cache for the relay server.
- The default metrics port used by the Relay server.
- The default QUIC port used by the Relay server to accept QUIC connections
for QUIC address discovery
- The default STUN port used by the Relay server.
\ No newline at end of file
diff --git a/pr/3068/docs/iroh_relay/index.html b/pr/3068/docs/iroh_relay/index.html
index 6b505ad38b..6fe4c3a7ff 100644
--- a/pr/3068/docs/iroh_relay/index.html
+++ b/pr/3068/docs/iroh_relay/index.html
@@ -1,4 +1,4 @@
-iroh_relay - Rust Expand description
Iroh’s relay is a feature within iroh, a peer-to-peer
+
iroh_relay - Rust Expand description
Iroh’s relay is a feature within iroh, a peer-to-peer
networking system designed to facilitate direct, encrypted connections between devices. Iroh
aims to simplify decentralized communication by automatically handling connections through
“relays” when direct connections aren’t immediately possible. The relay server helps establish
@@ -25,6 +25,6 @@ Tailscale.
STUN support and expose metrics.
-Re-exports§
pub use protos::relay::MAX_PACKET_SIZE;pub use self::client::Client as HttpClient;pub use self::client::ClientBuilder as HttpClientBuilder;pub use self::client::ClientError as HttpClientError;pub use self::client::ClientReceiver as HttpClientReceiver;
Modules§
- Exposes
Client, which allows to establish connections to a relay server. - Default values used in the relay.
- HTTP-specific constants for the relay server and client.
- Protocols used by the iroh-relay
- Create a QUIC server that accepts connections
-for QUIC address discovery.
- server
server A fully-fledged iroh-relay server over HTTP or HTTPS.
Structs§
- A connection to a relay server.
- Configuration of all the relay servers that can be used.
- Information on a specific relay server.
- Configuration for speaking to the QUIC endpoint on the relay
-server to do QUIC address discovery.
Enums§
- The messages received from a framed relay stream.
\ No newline at end of file
+Re-exports§
pub use protos::relay::MAX_PACKET_SIZE;
Modules§
- Exposes
Client, which allows to establish connections to a relay server. - Default values used in the relay.
- HTTP-specific constants for the relay server and client.
- Protocols used by the iroh-relay
- Create a QUIC server that accepts connections
+for QUIC address discovery.
- server
server A fully-fledged iroh-relay server over HTTP or HTTPS.
Structs§
- Configuration of all the relay servers that can be used.
- Information on a specific relay server.
- 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/3068/docs/iroh_relay/protos/relay/constant.MAX_PACKET_SIZE.html b/pr/3068/docs/iroh_relay/protos/relay/constant.MAX_PACKET_SIZE.html
index 3a7d72e9a4..10c378b106 100644
--- a/pr/3068/docs/iroh_relay/protos/relay/constant.MAX_PACKET_SIZE.html
+++ b/pr/3068/docs/iroh_relay/protos/relay/constant.MAX_PACKET_SIZE.html
@@ -1,4 +1,4 @@
-MAX_PACKET_SIZE in iroh_relay::protos::relay - Rust pub const MAX_PACKET_SIZE: usize = _; // 65_536usize
Expand description
The maximum size of a packet sent over relay.
+
MAX_PACKET_SIZE in iroh_relay::protos::relay - Rust
\ No newline at end of file
diff --git a/pr/3068/docs/iroh_relay/protos/relay/index.html b/pr/3068/docs/iroh_relay/protos/relay/index.html
index 76eaa00afa..ca4fbb2a25 100644
--- a/pr/3068/docs/iroh_relay/protos/relay/index.html
+++ b/pr/3068/docs/iroh_relay/protos/relay/index.html
@@ -1,4 +1,4 @@
-iroh_relay::protos::relay - Rust Expand description
This module implements the relaying protocol used by the server and client.
+iroh_relay::protos::relay - Rust Expand description
This module implements the relaying protocol used by the server and client.
Protocol flow:
Login:
diff --git a/pr/3068/docs/iroh_relay/server/index.html b/pr/3068/docs/iroh_relay/server/index.html
index 8e59d5bf62..0d8f9d5f46 100644
--- a/pr/3068/docs/iroh_relay/server/index.html
+++ b/pr/3068/docs/iroh_relay/server/index.html
@@ -1,4 +1,4 @@
-iroh_relay::server - Rust Available on crate feature server only.Expand description
A fully-fledged iroh-relay server over HTTP or HTTPS.
+iroh_relay::server - Rust 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.
@@ -13,4 +13,4 @@ task. Some tasks additionally have a method to do graceful shutdown.
- HTTPS
/generate_204: Used for net_report probes.
- STUN: UDP port for STUN requests/responses.
-Modules§
- testing
test-utils Exposes functions to quickly configure a server suitable for testing.
Structs§
- Per-client rate limit configuration.
- Rate limits.
- Metrics tracked for the relay server
- Configuration for the QUIC server.
- Configuration for the Relay HTTP and HTTPS server.
- A Certificate resolver that reloads the certificate every interval
- A running Relay + STUN server.
- Configuration for the full Relay & STUN server.
- Configuration for the STUN server.
- StunMetrics tracked for the DERPER
- TLS configuration for Relay server.
Enums§
- TLS certificate configuration.
- The main underlying IO stream type used for the relay server.
Constants§
- The default certificate reload interval.
\ No newline at end of file
+Modules§
- testing
test-utils Exposes functions to quickly configure a server suitable for testing.
Structs§
- Per-client rate limit configuration.
- Rate limits.
- Metrics tracked for the relay server
- Configuration for the QUIC server.
- Configuration for the Relay HTTP and HTTPS server.
- A Certificate resolver that reloads the certificate every interval
- A running Relay + STUN server.
- Configuration for the full Relay & STUN server.
- Configuration for the STUN server.
- StunMetrics tracked for the relay server
- TLS configuration for Relay server.
Enums§
- TLS certificate configuration.
- The main underlying IO stream type used for the relay server.
Constants§
- The default certificate reload interval.
\ No newline at end of file
diff --git a/pr/3068/docs/iroh_relay/server/struct.Metrics.html b/pr/3068/docs/iroh_relay/server/struct.Metrics.html
index 2bdcc0dbf3..02cec524f2 100644
--- a/pr/3068/docs/iroh_relay/server/struct.Metrics.html
+++ b/pr/3068/docs/iroh_relay/server/struct.Metrics.html
@@ -1,4 +1,4 @@
-Metrics in iroh_relay::server - Rust pub struct Metrics {Show 21 fields
+Metrics in iroh_relay::server - Rust pub struct Metrics {Show 21 fields
pub bytes_sent: Counter,
pub bytes_recv: Counter,
pub send_packets_sent: Counter,
@@ -19,7 +19,7 @@
pub disconnects: Counter,
pub unique_client_keys: Counter,
pub websocket_accepts: Counter,
- pub derp_accepts: Counter,
+ pub relay_accepts: Counter,
}
Available on crate feature server only.Expand description
Metrics tracked for the relay server
Fields§
§bytes_sent: CounterBytes sent from a FrameType::SendPacket
§bytes_recv: CounterBytes received from a FrameType::SendPacket
@@ -41,7 +41,7 @@
§disconnects: CounterNumber of connections we have removed because of an error
§unique_client_keys: CounterNumber of unique client keys per day
§websocket_accepts: CounterNumber of accepted websocket connections
-§derp_accepts: CounterNumber of accepted ‘iroh derp http’ connection upgrades
+§relay_accepts: CounterNumber of accepted ‘iroh derp http’ connection upgrades
Trait Implementations§
Source§impl Metric for Metrics
§fn new(registry: &mut Registry) -> Self
Available on crate feature metrics only.Initializes this metric group.§fn with_metric<T, F>(f: F)where
F: FnOnce(&Self) -> T,
Available on crate feature metrics only.Access to this metrics group to record a metric.
Only records if this metric is registered in the global registry.Auto Trait Implementations§
§impl Freeze for Metrics
§impl RefUnwindSafe for Metrics
§impl Send for Metrics
§impl Sync for Metrics
§impl Unpin for Metrics
§impl UnwindSafe for Metrics
Blanket Implementations§
Source§impl<T> Any for Twhere
diff --git a/pr/3068/docs/iroh_relay/server/struct.StunMetrics.html b/pr/3068/docs/iroh_relay/server/struct.StunMetrics.html
index 283c7f6ec7..b9103416dd 100644
--- a/pr/3068/docs/iroh_relay/server/struct.StunMetrics.html
+++ b/pr/3068/docs/iroh_relay/server/struct.StunMetrics.html
@@ -1,10 +1,10 @@
-StunMetrics in iroh_relay::server - Rust pub struct StunMetrics {
+StunMetrics in iroh_relay::server - Rust pub struct StunMetrics {
pub requests: Counter,
pub ipv4_success: Counter,
pub ipv6_success: Counter,
pub bad_requests: Counter,
pub failures: Counter,
-}
Available on crate feature server only.Expand description
StunMetrics tracked for the DERPER
+}Available on crate feature server only.Expand description
StunMetrics tracked for the relay server
Fields§
§requests: CounterNumber of stun requests made
§ipv4_success: CounterNumber of successful requests over ipv4
§ipv6_success: CounterNumber of successful requests over ipv6
diff --git a/pr/3068/docs/iroh_relay/sidebar-items.js b/pr/3068/docs/iroh_relay/sidebar-items.js
index c6100aac90..0be7978a23 100644
--- a/pr/3068/docs/iroh_relay/sidebar-items.js
+++ b/pr/3068/docs/iroh_relay/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {"enum":["ReceivedMessage"],"mod":["client","defaults","http","protos","quic","server"],"struct":["RelayConn","RelayMap","RelayNode","RelayQuicConfig"]};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"mod":["client","defaults","http","protos","quic","server"],"struct":["RelayMap","RelayNode","RelayQuicConfig"]};
\ No newline at end of file
diff --git a/pr/3068/docs/iroh_relay/struct.RelayConn.html b/pr/3068/docs/iroh_relay/struct.RelayConn.html
deleted file mode 100644
index 2718103341..0000000000
--- a/pr/3068/docs/iroh_relay/struct.RelayConn.html
+++ /dev/null
@@ -1,50 +0,0 @@
-RelayConn in iroh_relay - Rust pub struct RelayConn { /* private fields */ }
Expand description
A connection to a relay server.
-Cheaply clonable.
-Call close to shut down the write loop and read functionality.
-Implementations§
Source§impl Conn
Sourcepub async fn send(&self, dst: NodeId, packet: Bytes) -> Result<()>
Sends a packet to the node identified by dstkey
-Errors if the packet is larger than MAX_PACKET_SIZE
-Sourcepub async fn send_ping(&self, data: [u8; 8]) -> Result<()>
Send a ping with 8 bytes of random data.
-Sourcepub async fn send_pong(&self, data: [u8; 8]) -> Result<()>
Respond to a ping request. The data field should be filled
-by the 8 bytes of random data send by the ping.
-Sourcepub async fn note_preferred(&self, preferred: bool) -> Result<()>
Sends a packet that tells the server whether this
-connection is to the user’s preferred server. This is only
-used in the server for stats.
-Sourcepub fn local_addr(&self) -> Option<SocketAddr>
The local address that the Conn is listening on.
-None, when run in a testing environment or when using websockets.
-Trait Implementations§
Source§impl Eq for Conn
Auto Trait Implementations§
§impl Freeze for Conn
§impl RefUnwindSafe for Conn
§impl Send for Conn
§impl Sync for Conn
§impl Unpin for Conn
§impl UnwindSafe for Conn
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
- T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
- T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
- T: Clone,
§impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more§impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
- S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
-[WithDispatch] wrapper. Read more§impl<T> ErasedDestructor for Twhere
- T: 'static,
§impl<T> MaybeSendSync for T
\ No newline at end of file
diff --git a/pr/3068/docs/search-index.js b/pr/3068/docs/search-index.js
index 892549e0af..03703fcc0c 100644
--- a/pr/3068/docs/search-index.js
+++ b/pr/3068/docs/search-index.js
@@ -1,4 +1,4 @@
-var searchIndex = new Map(JSON.parse('[["bulk",{"t":"HHHHH","n":["collect_and_print","main","run_iroh","run_quinn","run_s2n"],"q":[[0,"bulk"],[5,"core::option"],[6,"struct_iterable_internal"],[7,"iroh_bench"],[8,"anyhow"],[9,"iroh_bench::s2n"]],"i":"`````","f":"{{{d{b}}{f{{d{c}}}}}hj}{{}h}{l{{n{h}}}}0{A`{{n{h}}}}","D":"`","p":[[1,"str"],[1,"reference",null,null,1],[6,"Option",5,null,1],[1,"unit"],[10,"Iterable",6],[5,"Opt",7],[8,"Result",8],[5,"Opt",9]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAAUAAQAAAA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ONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNOOFFFFNNNNOOOOOOOOONNNNNNNNOONNNNNNNNNNNNOOONNNNNNNNNNNNOOOOONNNNONNNNONNNNNNNNONNNNNNNNNNNNOOONNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNOOOOOOONNNNOKFFNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFNNNNHNNNNNNNNNNNNNNNNOONONHHHNNNNNNNNNFFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["Decode","DecodeInvalidLength","Endpoint","Key","KeyParsingError","LENGTH","NodeAddr","NodeId","PublicKey","RelayMap","RelayMode","RelayNode","RelayUrl","RelayUrlParseError","SecretKey","__clone_box","","","","","","as_bytes","as_ref","borrow","","","","","","","","","borrow_mut","","","","","","","","clone","","","","","","clone_into","","","","","","clone_to_uninit","","","","","","cmp","","","","compare","","","","contains_node","default_from_node","defaults","deref","","","","","","","","","deref_mut","","","","","","","","deserialize","","","","","direct_addresses","","discovery","dns","drop","","","","","","","","empty","endpoint","eq","","","","","equivalent","","","","","","","","","","","","","","","fmt","","","","","","","","","","","","","","","fmt_short","from","","","","","","","","","","","","","","","","","","","","from_bytes","","from_nodes","from_parts","from_ref","","","","","","from_str","","","from_url","generate","get_node","hash","","init","","","","","","","","into","","","","","","","","is_empty","","len","metrics","new","node_id","nodes","partial_cmp","","","","protocol","public","","quic","relay_url","","secret","serialize","","","","","sign","source","","stun_only","stun_port","test_utils","to_bytes","to_owned","","","","","","to_string","","","","","","","try_from","","","","","","","","","","","try_into","","","","","","","","type_id","","","","","","","","url","urls","verify","vzip","","","","","","","","watchable","with_direct_addresses","with_relay_url","DEFAULT_HTTPS_PORT","DEFAULT_HTTP_PORT","DEFAULT_METRICS_PORT","DEFAULT_RELAY_QUIC_PORT","DEFAULT_STUN_PORT","prod","staging","AP_RELAY_HOSTNAME","EU_RELAY_HOSTNAME","NA_RELAY_HOSTNAME","default_ap_relay_node","default_eu_relay_node","default_na_relay_node","default_relay_map","EU_RELAY_HOSTNAME","NA_RELAY_HOSTNAME","default_eu_relay_node","default_na_relay_node","default_relay_map","ConcurrentDiscovery","Discovery","DiscoveryItem","__clone_box","add","borrow","","borrow_mut","","clone","clone_into","clone_to_uninit","default","deref","","deref_mut","","dns","drop","","empty","fmt","","from","","","from_ref","from_services","init","","into","","last_updated","local_swarm_discovery","node_addr","pkarr","provenance","publish","","resolve","","static_provider","subscribe","","to_owned","try_from","","try_into","","type_id","","vzip","","DnsDiscovery","N0_DNS_NODE_ORIGIN_PROD","N0_DNS_NODE_ORIGIN_STAGING","borrow","borrow_mut","deref","deref_mut","drop","fmt","from","init","into","n0_dns","new","resolve","try_from","try_into","type_id","vzip","LocalSwarmDiscovery","NAME","borrow","borrow_mut","deref","deref_mut","drop","fmt","from","init","into","new","publish","resolve","subscribe","try_from","try_into","type_id","vzip","DEFAULT_PKARR_TTL","DEFAULT_REPUBLISH_INTERVAL","N0_DNS_PKARR_RELAY_PROD","N0_DNS_PKARR_RELAY_STAGING","PkarrPublisher","PkarrRelayClient","PkarrResolver","__clone_box","","","borrow","","","borrow_mut","","","clone","","","clone_into","","","clone_to_uninit","","","deref","","","deref_mut","","","dht","drop","","","","fmt","","","from","","","from_ref","","","init","","","into","","","n0_dns","","new","","","publish","","resolve","","to_owned","","","try_from","","","try_into","","","type_id","","","update_addr_info","vzip","","","with_options","Builder","DhtDiscovery","__clone_box","borrow","","borrow_mut","","build","builder","client","clone","clone_into","clone_to_uninit","default","","deref","","deref_mut","","dht","drop","","fmt","","from","","from_ref","include_direct_addresses","init","","initial_publish_delay","into","","n0_dns_pkarr_relay","pkarr_relay","publish","republish_delay","resolve","secret_key","to_owned","try_from","","try_into","","ttl","type_id","","vzip","","PROVENANCE","StaticProvider","add_node_addr","borrow","borrow_mut","default","deref","deref_mut","drop","fmt","from","from_node_addrs","get_node_addr","init","into","new","publish","remove_node_addr","resolve","set_node_addr","try_from","try_into","type_id","vzip","DnsResolver","ResolverExt","default_resolver","lookup_by_id","","lookup_by_id_staggered","","lookup_by_name","","lookup_by_name_staggered","","lookup_ipv4","","lookup_ipv4_ipv6","","lookup_ipv4_ipv6_staggered","","lookup_ipv4_staggered","","lookup_ipv6","","lookup_ipv6_staggered","","node_info","resolver","Addr","IROH_TXT_NAME","IrohAttr","NodeInfo","Relay","TxtAttrs","__clone_box","as_ref","attrs","borrow","","","borrow_mut","","","clone","clone_into","clone_to_uninit","cmp","compare","deref","","","deref_mut","","","direct_addresses","drop","","","eq","","equivalent","","","","","","fmt","","","","from","","","","","","from_hickory_records","","from_parts","from_pkarr_signed_packet","","from_ref","from_str","from_strings","from_z32","hash","init","","","into","","","lookup_by_id","lookup_by_name","new","node_id","","partial_cmp","relay_url","to_hickory_records","","to_owned","to_pkarr_signed_packet","","to_string","to_z32","try_from","","","","try_into","","","type_id","","","vzip","","","AEAD_LIMIT_REACHED","APPLICATION_ERROR","Accept","AcceptBi","AcceptUni","AckFrequencyConfig","AeadKey","App","ApplicationClose","ApplicationClosed","Builder","CONNECTION_ID_LIMIT_ERROR","CONNECTION_REFUSED","CRYPTO_BUFFER_EXCEEDED","CallMeMaybe","Chunk","CidsExhausted","ClosedStream","","","Connecting","Connection","ConnectionClose","ConnectionClosed","ConnectionError","ConnectionLost","","","","","ConnectionStats","ConnectionType","ControlMsg","Controller","ControllerFactory","CryptoError","CryptoServerConfig","Custom","Default","Direct","DirectAddr","DirectAddrInfo","DirectAddrType","Disabled","","Discovery","ENV_FORCE_STAGING_RELAYS","Endpoint","ExportKeyingMaterialError","FINAL_SIZE_ERROR","FLOW_CONTROL_ERROR","FRAME_ENCODING_ERROR","FinishedEarly","FrameStats","HandshakeTokenKey","INTERNAL_ERROR","INVALID_TOKEN","IllegalOrderedRead","Incoming","IncomingFuture","KEY_UPDATE_ERROR","Local","LocallyClosed","MAX","MAX_SIZE","Mixed","MtuDiscoveryConfig","NO_ERROR","NO_VIABLE_PATH","NamedApp","None","OpenBi","OpenUni","PROTOCOL_VIOLATION","PathStats","Ping","Pong","Portmapped","Read","ReadDatagram","ReadError","","ReadExactError","ReadToEndError","RecvStream","Relay","","RelayMode","RemoteInfo","Reset","","ResetError","RetryError","STREAM_LIMIT_ERROR","STREAM_STATE_ERROR","Saved","SendDatagramError","SendStream","ServerConfig","Source","Staging","Stopped","StoppedError","StreamId","Stun","Stun4LocalPort","TRANSPORT_PARAMETER_ERROR","TimedOut","TooLarge","TooLong","TransportConfig","TransportError","","TransportErrorCode","Udp","UdpStats","Unknown","UnsupportedByPeer","UnsupportedVersion","VarInt","VersionMismatch","WeakConnectionHandle","WriteError","Written","ZeroRttAccepted","ZeroRttRejected","","","","__clone_box","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","accept","","accept_bi","accept_uni","accept_with","ack_eliciting_threshold","ack_frequency","ack_frequency_config","acks","add_discovery","add_node_addr","add_node_addr_with_source","addr","","addrs","aead_from_hkdf","allow_spin","alpn","alpns","bind","bind_addr_v4","bind_addr_v6","black_hole_cooldown","black_holes_detected","borrow","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bound_sockets","build","builder","bytes","","","chunks","clear_discovery","clone","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_box","clone_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_to_uninit","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","close","","close_reason","closed","cmp","","","","code","compare","","","","congestion_controller_factory","congestion_events","congestion_state","conn_type","","connect","connection_close","crypto","","","crypto_buffer_size","current_mtu","cwnd","data_blocked","datagram","datagram_receive_buffer_size","datagram_send_buffer_size","datagram_send_buffer_space","datagrams","default","","","","","","","","","","","default_relay_mode","deref","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","deref_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","deserialize","","","","","dir","direct_addresses","discovery","","discovery_dht","discovery_local_network","discovery_n0","dns_resolver","","drop","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","enable_segmentation_offload","eq","","","","","","","","","","","","","","","","","","","","","","","","","","equivalent","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","error_code","","export_keying_material","finish","fmt","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","force_staging_infra","frame","frame_rx","frame_tx","frame_type","from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","from_ref","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","from_u32","from_u64","from_u64_unchecked","get_remote_node_id","handshake_data","","handshake_done","has_send_address","hash","","","","","home_relay","id","","ignore","immediate_ack","incoming_buffer_size","incoming_buffer_size_total","index","init","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","initial_keys","initial_mtu","initial_rtt","initial_window","initiator","insecure_skip_relay_cert_verify","interval","into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","into_0rtt","into_any","into_future","","","","","","","","","","into_incoming","into_inner","ios","is_0rtt","is_alive","is_closed","join","","","","","","","","","keep_alive_interval","keylog","known_nodes","last_alive","last_control","last_payload","last_received","last_used","latency","","local_ip","","","lost_bytes","lost_packets","lost_plpmtud_probes","make_server_config","max_ack_delay","max_concurrent_bidi_streams","max_concurrent_uni_streams","max_data","max_datagram_size","max_idle_timeout","max_incoming","max_stream_data","max_streams_bidi","max_streams_uni","migration","min_mtu","minimum_change","mtu_discovery_config","network_change","network_path_changed","new","","new_connection_id","new_token","node_addr","node_id","","observed_addr","observed_external_addr","offset","on_ack","on_congestion_event","on_end_acks","on_mtu_update","on_sent","open","open_bi","open_uni","packet_threshold","partial_cmp","","","","path","path_challenge","path_response","peer_identity","persistent_congestion_threshold","ping","poll","","","","","","","","","poll_flush","poll_read","","poll_shutdown","poll_write","","preferred_address_v4","preferred_address_v6","priority","proxy_from_env","proxy_url","race","","","","","","","","","read","read_chunk","read_chunks","read_datagram","read_exact","read_to_end","reason","","","receive_observed_address_reports","receive_window","received_reset","refuse","relay_map","relay_mode","relay_url","remote_address","","","remote_address_validated","remote_info","remote_info_iter","reordering_threshold","reset","reset_stream","retire_connection_id","retry","retry_tag","retry_token_lifetime","rtt","","saturating_add","seal","secret_key","","send_datagram","send_datagram_wait","send_observed_address_reports","send_window","sent_packets","sent_plpmtud_probes","serialize","","","","","set_alpns","set_max_concurrent_bi_streams","set_max_concurrent_uni_streams","set_priority","set_receive_window","source","","","","","","","","sources","","stable_id","start_session","stats","stop","stop_sending","stopped","stream","stream_data_blocked","stream_receive_window","streams_blocked_bidi","streams_blocked_uni","time_threshold","to_owned","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","to_string","","","","","","","","","","","","","","","","","","","","token_key","transport","transport_config","","try_from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_poll","","","","","","","typ","type_id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","udp_rx","udp_tx","upper_bound","vzip","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","weak_handle","window","with_crypto","with_single_cert","write","write_all","write_all_chunks","write_chunk","write_chunks","name","","MagicsockMetrics","NetReportMetrics","PortmapMetrics","RelayMetrics","__clone_box","","","","accepts","actor_link_change","actor_tick_direct_addr_heartbeat","actor_tick_direct_addr_update_receiver","actor_tick_main","actor_tick_msg","actor_tick_other","actor_tick_portmap_changed","actor_tick_re_stun","borrow","","","","borrow_mut","","","","bytes_recv","bytes_sent","clone","","","","clone_into","","","","clone_to_uninit","","","","connection_became_direct","connection_handshake_success","conns_rx_ratelimited_total","default","","","","deref","","","","deref_mut","","","","derp_accepts","disco_packets_dropped","disco_packets_recv","disco_packets_sent","disconnects","drop","","","","external_address_updated","fmt","","","","frames_rx_ratelimited_total","from","","","","from_ref","","","","got_ping","init","","","","into","","","","iter","","","","local_port_updates","mapping_attempts","mapping_failures","name","","","","nodes_contacted","nodes_contacted_directly","num_direct_conns_added","num_direct_conns_removed","num_relay_conns_added","num_relay_conns_removed","other_packets_dropped","other_packets_recv","other_packets_sent","pcp_available","pcp_probes","probes_started","re_stun_calls","recv_data_ipv4","recv_data_ipv6","recv_data_relay","recv_datagrams","recv_disco_bad_key","recv_disco_bad_parse","recv_disco_call_me_maybe","recv_disco_call_me_maybe_bad_disco","recv_disco_ping","recv_disco_pong","recv_disco_relay","recv_disco_udp","recv_gro_datagrams","relay_home_change","reports","reports_full","send_data","send_data_network_down","send_disco_relay","send_disco_udp","send_ipv4","send_ipv6","send_packets_dropped","send_packets_recv","send_packets_sent","send_relay","send_relay_error","sent_disco_call_me_maybe","sent_disco_ping","sent_disco_pong","sent_disco_relay","sent_disco_udp","sent_pong","stun_packets_dropped","stun_packets_recv_ipv4","stun_packets_recv_ipv6","stun_packets_sent_ipv4","stun_packets_sent_ipv6","to_owned","","","","try_from","","","","try_into","","","","type_id","","","","unique_client_keys","unknown_frames","update_direct_addrs","upnp_available","upnp_gateway_updated","upnp_probes","upnp_probes_failed","vzip","","","","websocket_accepts","ProtocolHandler","Router","RouterBuilder","__clone_box","accept","","borrow","","borrow_mut","","builder","clone","clone_into","clone_to_uninit","deref","","deref_mut","","drop","","endpoint","","fmt","","from","","from_ref","init","","into","","is_shutdown","new","shutdown","","spawn","to_owned","try_from","","try_into","","type_id","","vzip","","CleanupDropGuard","DnsPkarrServer","borrow","","borrow_mut","","create_dns_resolver","deref","","deref_mut","","discovery","dns_resolver","drop","","fmt","","from","","init","","into","","nameserver","node_origin","on_node","pkarr_url","run","run_relay_server","run_relay_server_with","run_relay_server_with_stun","run_with_origin","try_from","","try_into","","type_id","","vzip","","Disconnected","WatchInitializedFut","WatchNextFut","Watchable","Watcher","WatcherStream","__clone_box","","","borrow","","","","","","borrow_mut","","","","","","chain","clone","","","clone_into","","","clone_to_uninit","","","default","deref","","","","","","deref_mut","","","","","","drop","","","","","","fmt","","","","","","","from","","","","","","from_ref","","","get","","init","","","","","","initialized","into","","","","","","into_future","","into_stream","join","","merge","new","poll","","poll_next","race","","ratelimit_stream","ratelimit_stream_with_jitter","set","stream","stream_updates_only","to_owned","","","to_string","try_from","","","","","","try_into","","","","","","try_poll","","try_poll_next","type_id","","","","","","updated","vzip","","","","","","watch","zip"],"q":[[0,"iroh"],[279,"iroh::defaults"],[286,"iroh::defaults::prod"],[293,"iroh::defaults::staging"],[298,"iroh::discovery"],[351,"iroh::discovery::dns"],[370,"iroh::discovery::local_swarm_discovery"],[389,"iroh::discovery::pkarr"],[466,"iroh::discovery::pkarr::dht"],[515,"iroh::discovery::static_provider"],[539,"iroh::dns"],[564,"iroh::dns::node_info"],[655,"iroh::endpoint"],[2181,"iroh::endpoint::Source"],[2183,"iroh::metrics"],[2359,"iroh::protocol"],[2404,"iroh::test_utils"],[2444,"iroh::watchable"],[2576,"dyn_clone::sealed"],[2577,"iroh_base::key"],[2578,"iroh_base::node_addr"],[2579,"iroh_base::relay_url"],[2580,"iroh_relay::relay_map"],[2581,"core::cmp"],[2582,"core::result"],[2583,"serde::de"],[2584,"core::net::socket_addr"],[2585,"core::iter::traits::iterator"],[2586,"core::fmt"],[2587,"alloc::string"],[2588,"ed25519_dalek::verifying"],[2589,"signature::error"],[2590,"data_encoding"],[2591,"ed25519_dalek::signing"],[2592,"core::option"],[2593,"iroh_base::ticket::node"],[2594,"iroh::magicsock::node_map::node_state"],[2595,"url"],[2596,"url::parser"],[2597,"anyhow"],[2598,"alloc::sync"],[2599,"core::convert"],[2600,"core::iter::traits::collect"],[2601,"rand_core"],[2602,"core::hash"],[2603,"serde::ser"],[2604,"ed25519"],[2605,"core::error"],[2606,"core::any"],[2607,"alloc::boxed"],[2608,"alloc::vec"],[2609,"alloc::collections::btree::set"],[2610,"futures_lite::stream"],[2611,"pkarr::signed_packet"],[2612,"futures_core::stream"],[2613,"core::time"],[2614,"pkarr::client"],[2615,"core::future::future"],[2616,"core::net::ip_addr"],[2617,"hickory_proto::rr::domain::name"],[2618,"core::clone"],[2619,"hickory_resolver::resolver"],[2620,"alloc::collections::btree::map"],[2621,"core::str::traits"],[2622,"hickory_proto::rr::resource"],[2623,"iroh_quinn_proto::connection"],[2624,"iroh_quinn::connection"],[2625,"iroh_quinn_proto::config"],[2626,"iroh_quinn_proto::varint"],[2627,"core::ops::function"],[2628,"core::marker"],[2629,"iroh_quinn_proto::crypto"],[2630,"iroh_quinn_proto::congestion"],[2631,"std::time"],[2632,"iroh_quinn::recv_stream"],[2633,"iroh_quinn::send_stream"],[2634,"iroh_quinn_proto::connection::stats"],[2635,"iroh_quinn_proto::connection::streams::send"],[2636,"iroh_quinn_proto::connection::streams"],[2637,"iroh::magicsock::node_map"],[2638,"iroh_quinn_proto::frame"],[2639,"iroh::magicsock"],[2640,"iroh_quinn_proto"],[2641,"iroh_quinn_proto::connection::assembler"],[2642,"iroh_quinn::incoming"],[2643,"iroh_quinn_proto::connection::streams::recv"],[2644,"ring::error"],[2645,"iroh_quinn_proto::transport_parameters"],[2646,"iroh_quinn_proto::shared"],[2647,"futures_concurrency::future::join::tuple"],[2648,"core::future::into_future"],[2649,"tokio::sync::watch"],[2650,"iroh_quinn_proto::connection::paths"],[2651,"core::pin"],[2652,"core::task::wake"],[2653,"core::task::poll"],[2654,"std::io::error"],[2655,"tokio::io::read_buf"],[2656,"futures_concurrency::future::race::tuple"],[2657,"bytes::bytes"],[2658,"rustls_pki_types"],[2659,"rustls::error"],[2660,"alloc::vec::into_iter"],[2661,"futures_lite::future"],[2662,"iroh::test_utils::dns_and_pkarr_servers"],[2663,"iroh_relay::server"],[2664,"futures_concurrency::stream::chain::tuple"],[2665,"futures_concurrency::stream::into_stream"],[2666,"core::default"],[2667,"futures_concurrency::stream::merge::tuple"],[2668,"governor::state::direct"],[2669,"governor::state"],[2670,"governor::state::direct::streams"],[2671,"governor::clock::with_std"],[2672,"governor::middleware"],[2673,"governor::jitter"],[2674,"futures_concurrency::stream::zip::tuple"],[2675,"iroh_relay::defaults"],[2676,"iroh::test_utils::dns_server"]],"i":"Cb0`0`h`````````0AbAdAfAhAj55556432Cd21675430216543216543216543216431643122`675433021675430216543144``675430212`643216664443332221116677554330022116667775554444443300216524654321653252636754302167543021422`4426431`6514456543157011`5654321675302166675543021675430216754302112667543021`44``````````````````````FhFd101011101010`100101001010101`1`1Ff101`01221212121```Gj000000000000000``Gl0000000000000000```````GnH`Hb210210210210210210210`221021021021021021021210201021021021021022102``Hn0Hl10010111101010010101010100100010101101001010Ib`0000000000000000000000```IfId101010101010101010``Jf```0`Df1Jh21021011122210210121021222111221021110010010120`22102100010121101102`2210210210210A@n0`````A@f`Kn`222Ol`1`NjO````3`Nf2Nl2Ob```````AAf0A@b```419```:::Nn``;;7``;AAb:Lj03`==<3``=`::1Nh``3```4=``:<``>>=````59``22><80``<`=`28``<````:796L`91;84:72OdOfOhOjOlOnA@`Dh=A@dA@fKnLhMnLfA@hA@jA@lA@nAA`AAb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fABbABhABjA@hA@jA@lA@nAA`AAbAAdLnGbKhKjABlKlAAfAEdAEbLdLbAEl76>ADdL`65432ABdNfABfAAlNhNjNlNnAAnO`ObLlLjAB`OdOfOhOjOlOnA@`DhA@bA@dA@fKnLhMnLfABbABhABjA@hA@jA@lA@nAA`AAbAAdLnGbKhKjABlKlAAfOj0MnADdL`AEdAEbLdLbAElABdNfABfAAlNhNjNlNnAAnO`ObLlLjAB`OdOfOhOjOlOnA@`DhA@bA@dA@fKnLhMnLfABbABhABjA@hA@jA@lA@nAA`AAbAAdLnGbKhKjABlKlAAfL`NdLf0AAn0000AKjAKl````AGhAGjAGlAGn011111111321032100032103210321011032103210321000000321033210032103210032103210321033332101111110003331111111111111112211111100011111110222223210321032103210001333332100```AHjAHbAHf202022222020202020202202020120220202020``AHnAHl10`101000101010101000000```010101010``````AIjAAhAIl21AJ`AJb2AJd542130354354354355421305421305421305421300542130543545421304542130213213521321335445430542130542130213542130454213053","f":"```````````````{{bd}f}00000{{{b{h}}}{{b{{l{j}}}}}}{{{b{h}}}{{b{{n{j}}}}}}1{b{{b{c}}}{}}0000000{{{b{A`}}}{{b{A`c}}}{}}0000000{{{b{h}}}h}{{{b{Ab}}}Ab}{{{b{Ad}}}Ad}{{{b{Af}}}Af}{{{b{Ah}}}Ah}{{{b{Aj}}}Aj}{{b{b{A`c}}}f{}}00000{{bj}f}00000{{{b{h}}{b{h}}}Al}{{{b{Ad}}{b{Ad}}}Al}{{{b{Af}}{b{Af}}}Al}{{{b{Aj}}{b{Aj}}}Al}{{b{b{c}}}Al{}}000{{{b{Ah}}{b{Af}}}An}{{AfB`}Ah}`{Bb{{b{c}}}{}}0000{{{b{Af}}}b}111{Bb{{b{A`c}}}{}}0000000{c{{Bd{h}}}Bf}{c{{Bd{Ab}}}Bf}{c{{Bd{Ad}}}Bf}{c{{Bd{Af}}}Bf}{c{{Bd{Aj}}}Bf}{{{b{Ad}}}{{`{{Bl{}{{Bh{{b{Bj}}}}}}}}}}```{B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{ACl}}Hh{b{AFj}}}{{Fl{AFl}}}}{{{b{L`}}}Oj}{{{b{A`AAl}}Lj}{{Bd{fA@d}}}}`{{{b{A`AAn}}}{{Bd{{D`{Lj}}Ob}}}}``{{{b{A`Ll}}Lj}{{b{A`Ll}}}}``{{{b{A`Ll}}AFn}{{b{A`Ll}}}}{bc{}}00000000000000000000000000000000{bCf}0000000000000000000{{{b{A`Lf}}{E`{Mf}}}{{b{A`Lf}}}}`{{{b{A`Lf}}{E`{Ll}}}{{b{A`Lf}}}}{{LnLl}Ln}{c{{Bd{e}}}{}{}}000000000000000000{Il{{Bd{LjACh}}}}1{AG`{{Bd{LjACh}}}}{Bb{{Bd{LjACh}}}}333333333333333333333333333333333{{}{{Bd{c}}}{}}0000000000000000000000000000000000000000000000000000{{{AEf{{b{A`c}}}}{b{A`AEh}}}AEj{}}000000`{bFb}0000000000000000000000000000000000000000000000000000``{{{b{A`Mn}}B`}{{b{A`Mn}}}}{{}c{}}0000000000000000000000000000000000000000000000000000{{{b{L`}}}ABd}{{{b{Nd}}}Il}{{{E`{ACl}}}Lf}{{{Fn{AGb}}AGd}{{Bd{LfAGf}}}}{{{b{A`AAn}}{b{{n{j}}}}}{{Bd{BbO`}}}}{{{b{A`AAn}}{b{{n{j}}}}}{{Bd{fO`}}}}{{{b{A`AAn}}{b{A`{n{AFf}}}}}{{Bd{fO`}}}}{{{b{A`AAn}}AFf}{{Bd{fO`}}}}{{{b{A`AAn}}{b{A`{n{AFf}}}}}{{Bd{A@`O`}}}}``````{{bd}f}000`````````{b{{b{c}}}{}}000{{{b{A`}}}{{b{A`c}}}{}}000``{{{b{AGh}}}AGh}{{{b{AGj}}}AGj}{{{b{AGl}}}AGl}{{{b{AGn}}}AGn}{{b{b{A`c}}}f{}}000{{bj}f}000```{{}AGh}{{}AGj}{{}AGl}{{}AGn}{Bb{{b{c}}}{}}000{Bb{{b{A`c}}}{}}000`````{Bbf}000`{{{b{AGh}}{b{A`Bn}}}{{Bd{fC`}}}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AJf}{}}{{{AEf{{b{A`{AIl{c}}}}}}{b{A`AEh}}}{{AEj{{D`{e}}}}}{JbAJf}{}}{e{{AFd{cg}}}{}{{ADj{}{{Ih{c}}}}}{{Ij{}{{Ih{c}}}}}}0{{{b{{AJl{AJjceg}}}}}{{AJn{iceg}}}AK`AKbAKd{}}{{{b{{AJl{AJjceg}}}}AKf}{{AJn{iceg}}}AK`AKbAKd{}}{{{b{{AIj{c}}}}c}{{Bd{cc}}}{JbAJf}}{{{AAh{c}}}{{AIl{c}}}{JbAJf}}0{bc{}}00{bCf}{c{{Bd{e}}}{}{}}00000{{}{{Bd{c}}}{}}00000{{{AEf{{b{A`c}}}}{b{A`AEh}}}AEj{}}0{{{AEf{{b{A`c}}}}{b{A`AEh}}}{{AEj{{D`{Bd}}}}}{}}{bFb}00000{{{b{A`{AAh{c}}}}}{{AJ`{c}}}{JbAJf}}{{}c{}}00000{{{b{{AIj{c}}}}}{{AAh{c}}}{JbAJf}}{e{{AKh{g}}}{}{{AIf{}{{Bh{c}}}}}{{AIh{}{{Bh{c}}}}}}","D":"FD`","p":[[1,"reference",null,null,1],[5,"Private",2576],[1,"unit"],[5,"PublicKey",0,2577],[1,"u8"],[1,"array"],[1,"slice"],[0,"mut"],[5,"SecretKey",0,2577],[5,"NodeAddr",0,2578],[5,"RelayUrl",0,2579],[5,"RelayMap",0,2580],[5,"RelayNode",0,2580],[6,"Ordering",2581],[1,"bool"],[1,"u16"],[1,"usize"],[6,"Result",2582,null,1],[10,"Deserializer",2583],[17,"Item"],[6,"SocketAddr",2584],[10,"Iterator",2585],[5,"Formatter",2586],[5,"Error",2586],[6,"KeyParsingError",0,2577],[5,"RelayUrlParseError",0,2579],[5,"String",2587],[5,"VerifyingKey",2588],[5,"Error",2589],[5,"DecodeError",2590],[5,"SigningKey",2591],[6,"Option",2592,null,1],[1,"tuple",null,null,1],[5,"NodeTicket",2593],[5,"NodeInfo",564],[5,"RemoteInfo",655,2594],[5,"Url",2595],[6,"ParseError",2596],[5,"Error",2597],[5,"Arc",2598,null,1],[10,"Into",2599],[10,"IntoIterator",2600],[1,"str"],[10,"CryptoRngCore",2601],[10,"Hasher",2602],[10,"Serializer",2603],[5,"Signature",2604],[10,"Error",2605],[5,"TypeId",2606],[5,"ConcurrentDiscovery",298],[10,"Discovery",298],[5,"DiscoveryItem",298],[8,"Result",2586],[5,"Box",2607,null,1],[5,"Vec",2608],[5,"BTreeSet",2609],[5,"Endpoint",655],[8,"NodeId",0,2577],[8,"Result",2597],[8,"Boxed",2610],[5,"DnsDiscovery",351],[5,"LocalSwarmDiscovery",370],[5,"PkarrPublisher",389],[5,"PkarrResolver",389],[5,"PkarrRelayClient",389],[5,"SignedPacket",2611],[8,"BoxStream",2612],[1,"u32"],[5,"Duration",2613],[5,"Builder",466],[5,"DhtDiscovery",466],[5,"PkarrClient",2614],[5,"StaticProvider",515],[8,"DnsResolver",539],[10,"ResolverExt",539],[17,"Output"],[10,"Future",2615,null,1],[1,"u64"],[6,"IpAddr",2616],[10,"IntoName",2617],[10,"Clone",2618],[8,"TokioResolver",2619],[6,"IrohAttr",564],[5,"TxtAttrs",564],[5,"BTreeMap",2620],[10,"FromStr",2621],[10,"Display",2586],[10,"Hash",2602],[10,"Ord",2581],[10,"Debug",2586],[5,"Record",2622],[5,"Accept",655],[5,"Incoming",655],[5,"Connecting",655],[6,"ConnectionError",655,2623],[5,"Connection",655,2624],[5,"AcceptBi",655,2624],[5,"AcceptUni",655,2624],[5,"ServerConfig",655,2625],[5,"AckFrequencyConfig",655,2625],[5,"VarInt",655,2626],[5,"TransportConfig",655,2625],[5,"Builder",655],[10,"FnOnce",2627],[10,"Send",2628],[10,"Sync",2628],[10,"HandshakeTokenKey",655,2629],[10,"AeadKey",655,2629],[5,"SocketAddrV4",2584],[5,"SocketAddrV6",2584],[5,"MtuDiscoveryConfig",655,2625],[10,"ControllerFactory",655,2630],[5,"Instant",2631],[10,"Controller",655,2630],[6,"SendDatagramError",655,2624],[6,"ReadToEndError",655,2632],[6,"ReadError",655,2632],[6,"ResetError",655,2632],[6,"ReadExactError",655,2632],[6,"WriteError",655,2633],[6,"StoppedError",655,2633],[5,"UdpStats",655,2634],[5,"FrameStats",655,2634],[5,"PathStats",655,2634],[5,"ConnectionStats",655,2634],[6,"ControlMsg",655,2594],[5,"DirectAddrInfo",655,2594],[5,"Written",655,2635],[6,"ConnectionType",655,2594],[5,"ClosedStream",655,2636],[6,"Source",655,2637],[5,"ConnectionClose",655,2638],[5,"ApplicationClose",655,2638],[5,"TransportError",655],[5,"TransportErrorCode",655],[5,"DirectAddr",655,2639],[6,"DirectAddrType",655,2639],[5,"StreamId",655,2640],[6,"RelayMode",655],[5,"Watcher",2444],[6,"Dir",2640],[5,"RecvStream",655,2632],[5,"SendStream",655,2633],[5,"Chunk",655,2641],[5,"ExportKeyingMaterialError",655,2629],[5,"WeakConnectionHandle",655,2624],[5,"RetryError",655,2642],[5,"CryptoError",655,2629],[5,"UnsupportedVersion",655,2629],[5,"IncomingFuture",655],[6,"ReadableError",2643],[6,"Close",2638],[5,"Unspecified",2644],[5,"InvalidFrame",2638],[6,"Error",2645],[5,"VarIntBoundsExceeded",2626],[10,"Any",2606],[10,"CryptoServerConfig",655],[5,"ConnectionId",2646],[5,"Keys",2629],[6,"Side",2640],[5,"ZeroRttAccepted",655,2624],[5,"Incoming",2642],[5,"Join2",2647],[10,"IntoFuture",2648],[5,"IdleTimeout",2625],[5,"Receiver",2649],[5,"RttEstimator",2650],[5,"OpenBi",655,2624],[5,"OpenUni",655,2624],[5,"Pin",2651],[5,"Context",2652],[6,"Poll",2653],[5,"ReadDatagram",655,2624],[5,"Error",2654],[5,"ReadBuf",2655],[1,"i32"],[5,"Race2",2656],[5,"Bytes",2657],[5,"SendDatagram",2624],[5,"TransportParameters",2645],[10,"Session",2629],[1,"f32"],[1,"u128"],[5,"CertificateDer",2658],[6,"PrivateKeyDer",2658],[6,"Error",2659],[5,"PortmapMetrics",2183],[5,"NetReportMetrics",2183],[5,"MagicsockMetrics",2183],[5,"RelayMetrics",2183],[5,"IntoIter",2660],[10,"ProtocolHandler",2359],[8,"Boxed",2661],[5,"RouterBuilder",2359],[10,"AsRef",2599],[5,"Router",2359],[5,"DnsPkarrServer",2404,2662],[5,"CleanupDropGuard",2404],[5,"Server",2663],[5,"StunConfig",2663],[5,"Chain2",2664],[10,"IntoStream",2665],[10,"Stream",2612],[5,"Watchable",2444],[5,"WatcherStream",2444],[10,"Default",2666],[5,"WatchNextFut",2444],[5,"WatchInitializedFut",2444],[5,"Disconnected",2444],[10,"Eq",2581],[5,"Merge2",2667],[6,"NotKeyed",2668],[5,"RateLimiter",2669],[5,"RatelimitedStream",2670],[10,"DirectStateStore",2668],[10,"ReasonablyRealtime",2671],[10,"RateLimitingMiddleware",2672],[5,"Jitter",2673],[5,"Zip2",2674],[15,"Discovery",2181],[15,"NamedApp",2181]],"r":[[2,655],[4,2577],[6,2578],[7,2577],[8,2577],[9,2580],[10,655],[11,2580],[12,2579],[13,2579],[14,2577],[282,2675],[283,2675],[658,2624],[659,2624],[660,2625],[661,2629],[663,2638],[670,2641],[672,2636],[676,2624],[677,2638],[679,2623],[685,2634],[686,2594],[687,2594],[688,2630],[689,2630],[690,2629],[695,2639],[696,2594],[697,2639],[703,2629],[708,2634],[709,2629],[721,2625],[726,2624],[727,2624],[729,2634],[734,2624],[735,2632],[737,2632],[738,2632],[739,2632],[743,2594],[746,2632],[747,2642],[751,2624],[752,2633],[753,2625],[754,2637],[757,2633],[758,2640],[765,2625],[770,2634],[773,2629],[774,2626],[776,2624],[777,2633],[778,2635],[779,2624],[2405,2662],[2410,2676]],"b":[[125,"impl-Debug-for-PublicKey"],[126,"impl-Display-for-PublicKey"],[127,"impl-Display-for-KeyParsingError"],[128,"impl-Debug-for-KeyParsingError"],[129,"impl-Debug-for-SecretKey"],[130,"impl-Display-for-SecretKey"],[132,"impl-Debug-for-RelayUrl"],[133,"impl-Display-for-RelayUrl"],[134,"impl-Display-for-RelayUrlParseError"],[135,"impl-Debug-for-RelayUrlParseError"],[136,"impl-Display-for-RelayMap"],[137,"impl-Debug-for-RelayMap"],[138,"impl-Debug-for-RelayNode"],[139,"impl-Display-for-RelayNode"],[144,"impl-From%3CError%3E-for-KeyParsingError"],[145,"impl-From%3CDecodeError%3E-for-KeyParsingError"],[147,"impl-From%3CSigningKey%3E-for-SecretKey"],[148,"impl-From%3C%5Bu8;+32%5D%3E-for-SecretKey"],[150,"impl-From%3CPublicKey%3E-for-NodeAddr"],[151,"impl-From%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[152,"impl-From%3CNodeTicket%3E-for-NodeAddr"],[153,"impl-From%3CNodeInfo%3E-for-NodeAddr"],[154,"impl-From%3CRemoteInfo%3E-for-NodeAddr"],[239,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey"],[240,"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey"],[602,"impl-Display-for-IrohAttr"],[603,"impl-Debug-for-IrohAttr"],[608,"impl-From%3CTxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[609,"impl-From%3C%26TxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[1385,"impl-Display-for-SendDatagramError"],[1386,"impl-Debug-for-SendDatagramError"],[1387,"impl-Display-for-RetryError"],[1388,"impl-Debug-for-RetryError"],[1390,"impl-Debug-for-ReadToEndError"],[1391,"impl-Display-for-ReadToEndError"],[1392,"impl-Debug-for-ReadError"],[1393,"impl-Display-for-ReadError"],[1394,"impl-Display-for-ResetError"],[1395,"impl-Debug-for-ResetError"],[1396,"impl-Debug-for-ReadExactError"],[1397,"impl-Display-for-ReadExactError"],[1399,"impl-Display-for-WriteError"],[1400,"impl-Debug-for-WriteError"],[1401,"impl-Debug-for-StoppedError"],[1402,"impl-Display-for-StoppedError"],[1404,"impl-Debug-for-VarInt"],[1405,"impl-Display-for-VarInt"],[1411,"impl-Debug-for-ControlMsg"],[1412,"impl-Display-for-ControlMsg"],[1416,"impl-Display-for-ConnectionType"],[1417,"impl-Debug-for-ConnectionType"],[1418,"impl-Debug-for-ClosedStream"],[1419,"impl-Display-for-ClosedStream"],[1420,"impl-Display-for-Source"],[1421,"impl-Debug-for-Source"],[1422,"impl-Display-for-ConnectionError"],[1423,"impl-Debug-for-ConnectionError"],[1430,"impl-Debug-for-ConnectionClose"],[1431,"impl-Display-for-ConnectionClose"],[1432,"impl-Display-for-ApplicationClose"],[1433,"impl-Debug-for-ApplicationClose"],[1434,"impl-Display-for-TransportError"],[1435,"impl-Debug-for-TransportError"],[1436,"impl-Display-for-TransportErrorCode"],[1437,"impl-Debug-for-TransportErrorCode"],[1439,"impl-Display-for-DirectAddrType"],[1440,"impl-Debug-for-DirectAddrType"],[1441,"impl-Display-for-StreamId"],[1442,"impl-Debug-for-StreamId"],[1470,"impl-From%3CResetError%3E-for-ReadError"],[1471,"impl-From%3CConnectionError%3E-for-ReadError"],[1472,"impl-From%3CReadableError%3E-for-ReadError"],[1478,"impl-From%3CClosedStream%3E-for-WriteError"],[1480,"impl-From%3CStoppedError%3E-for-WriteError"],[1481,"impl-From%3CConnectionError%3E-for-WriteError"],[1485,"impl-From%3Cu16%3E-for-VarInt"],[1487,"impl-From%3Cu8%3E-for-VarInt"],[1488,"impl-From%3CStreamId%3E-for-VarInt"],[1489,"impl-From%3Cu32%3E-for-VarInt"],[1502,"impl-From%3CClose%3E-for-ConnectionError"],[1503,"impl-From%3CTransportError%3E-for-ConnectionError"],[1515,"impl-From%3CTransportErrorCode%3E-for-TransportError"],[1516,"impl-From%3CInvalidFrame%3E-for-TransportError"],[1518,"impl-From%3CError%3E-for-TransportError"],[1797,"impl-RecvStream"],[1798,"impl-AsyncRead-for-RecvStream"],[1800,"impl-AsyncWrite-for-SendStream"],[1801,"impl-SendStream"],[1965,"impl-TryFrom%3Cu64%3E-for-VarInt"],[1967,"impl-TryFrom%3Cu128%3E-for-VarInt"],[1968,"impl-TryFrom%3Cusize%3E-for-VarInt"],[2499,"impl-Debug-for-Disconnected"],[2500,"impl-Display-for-Disconnected"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAPAGogADAAAACwAAABAABQAXACsARgAVAGAABwBqACIAjwAAAJEAAQCUAAEAlwABAJoAAQCdAAAAnwAAAKYACACyAAkAywADANYABADcAAEA4gAnAA0BBwAuAQAAMAELAD0BAQBAAQEARAEBAEcBAQBRAQAAUwEAAFYBCQBjAQUAagEAAG4BBAB1AQUAfAEAAH8BBgCNARcApgEGALABBQC+AQAAwAEAAMIBCwDPAQIA1QEEAN0BCADnAQMA7QEAAO8BAQD2AQAA+AEAAPoBBAAAAgMABwIGABECAAAUAgAAFgIAABgCAwAoAgAAMAIAADsCAQA+AhAAUAIOAGECAQBkAgAAagIBAG4CAwB6AgAAfgIAAIECAACDAgwAEQMgADgDAAA6AwAASgNpALwDIADeA0EAJAQDACkEAwAzBAAANQQAADoEAQBABAoATARuAMQENgD8BGcAaAVCALgFAAC8BQAAvwUDAMQFAADHBQAAyQUBAMwFAADOBQAA0AUCAN8FAQDmBQAA6gUAAOwFAQDvBQAA9AUAAPwFIAAjBgAAJQYEAC4GAAAyBjQApQYJALUGCADSBgAA1gYCAOEGAQDmBgAA8gYDAPcGAQD7BgoABwcCABAHCAAxBwEAQgcEAEwHBwBaBwAAXAcBAF8HAQBiBzQAmwcSAK8HAACyB1wAEAg0AEgINACMCAMAkQgPAKMICwCyCAsAwwgIANEIAwDWCAMA3ggKAPIIBgD6CAcAAwkIAA8JBgAXCRQALgkIADsJAAA+CQMAQwkIAE4JAQBSCQIAXAkIAGcJAwBsCQMAcgkDAHgJAQCFCQcAkwkyAMwJAgDRCQUA3gkFAOUJBgDvCRgACQoFABAKAAA=","P":[[24,"T"],[40,""],[46,"T"],[52,""],[62,"K"],[66,""],[69,"T"],[74,""],[75,"T"],[86,"D"],[88,"__D"],[91,""],[110,"K"],[125,""],[141,"T"],[142,""],[143,"T"],[144,""],[146,"T"],[147,""],[149,"T"],[150,""],[155,"T"],[156,""],[157,"T"],[158,""],[159,"T"],[161,""],[163,"I,"],[164,""],[165,"T"],[171,""],[175,"R"],[176,""],[177,"H"],[178,"__H"],[179,""],[187,"U"],[195,""],[213,"S"],[215,"__S"],[218,""],[225,"T"],[231,""],[238,"U,T"],[239,""],[241,"U,T"],[243,""],[244,"U,T"],[249,"U"],[257,""],[268,"V"],[277,""],[278,""],[302,""],[303,"T"],[307,""],[308,"T"],[309,""],[311,"T"],[316,""],[321,"T"],[325,""],[328,"U"],[335,""],[342,"T"],[343,"U,T"],[345,"U"],[347,""],[349,"V"],[354,"T"],[358,""],[360,"T"],[361,""],[362,"U"],[363,""],[366,"U,T"],[367,"U"],[368,""],[369,"V"],[372,"T"],[376,""],[378,"T"],[379,""],[380,"U"],[381,""],[385,"U,T"],[386,"U"],[387,""],[388,"V"],[396,""],[399,"T"],[405,""],[408,"T"],[411,""],[414,"T"],[421,""],[428,"T"],[434,""],[437,"U"],[440,""],[449,"T"],[452,"U,T"],[455,"U"],[458,""],[462,"V"],[465,""],[469,"T"],[473,""],[477,"T"],[478,""],[481,"T"],[485,""],[490,"T"],[493,""],[497,"U"],[499,""],[505,"T"],[506,"U,T"],[508,"U"],[510,""],[513,"V"],[517,""],[518,"T"],[520,""],[521,"T"],[523,""],[525,"T"],[526,","],[527,""],[529,"U"],[530,""],[534,""],[535,"U,T"],[536,"U"],[537,""],[538,"V"],[541,""],[550,"N"],[563,""],[572,"T"],[579,""],[580,"T"],[581,""],[583,"K"],[584,"T"],[591,""],[596,"K"],[602,""],[605,"T"],[608,""],[610,"T"],[611,""],[613,"T"],[614,"T,"],[615,""],[616,"T"],[618,"FromStr::Err"],[619,",T"],[620,""],[621,"__H"],[622,""],[625,"U"],[628,"T"],[630,""],[631,"T"],[633,""],[636,"T"],[638,""],[639,"T"],[640,""],[642,"TryFrom::Error"],[643,"U,T"],[646,"U"],[649,""],[652,"V"],[784,""],[826,"D,F"],[827,""],[841,"T"],[947,""],[989,"T"],[1022,""],[1064,"K"],[1068,""],[1073,""],[1075,""],[1099,"T"],[1205,"__D"],[1210,""],[1301,"K"],[1381,""],[1455,"T"],[1463,""],[1464,"T"],[1467,""],[1468,"T"],[1470,""],[1474,"T"],[1475,""],[1476,"T"],[1478,""],[1479,"T"],[1480,""],[1482,"T"],[1483,""],[1484,"T"],[1485,""],[1486,"T"],[1487,""],[1490,"T"],[1502,""],[1504,"T"],[1509,""],[1510,"T"],[1513,""],[1514,"T"],[1515,""],[1517,"T"],[1518,""],[1519,"T"],[1523,""],[1524,"T"],[1564,""],[1572,"__H"],[1577,""],[1645,"U"],[1698,""],[1707,"IntoFuture::IntoFuture"],[1708,""],[1716,"F2,F1"],[1725,""],[1793,"Future::Output"],[1796,""],[1807,"T,S2,F1"],[1816,""],[1847,""],[1848,""],[1857,"__S"],[1862,""],[1889,"T"],[1922,""],[1946,"U,T"],[1965,""],[1966,"U,T"],[1967,""],[1969,"U,T"],[2002,"U"],[2055,"F"],[2063,""],[2119,"V"],[2172,""],[2200,"T"],[2210,""],[2214,"T"],[2218,""],[2229,"T"],[2242,""],[2252,"T"],[2261,""],[2265,"U"],[2269,""],[2331,"T"],[2335,"U,T"],[2339,"U"],[2343,""],[2354,"V"],[2362,""],[2364,",T"],[2365,"T"],[2369,""],[2371,"T"],[2372,""],[2373,"T"],[2377,""],[2383,"T"],[2386,""],[2388,"U"],[2390,""],[2395,"T"],[2396,"U,T"],[2398,"U"],[2400,""],[2402,"V"],[2406,"T"],[2410,""],[2411,"T"],[2415,""],[2421,"T"],[2423,""],[2425,"U"],[2429,""],[2436,"U,T"],[2438,"U"],[2440,""],[2442,"V"],[2450,""],[2453,"T"],[2465,"T,S2,S1"],[2466,"T"],[2472,""],[2475,"T"],[2488,""],[2494,"T"],[2499,""],[2501,"T"],[2512,""],[2518,"T"],[2519,"U"],[2525,""],[2527,"S"],[2528,"F2,F1"],[2530,"T,S2,S1"],[2531,"T"],[2532,"T,Future::Output"],[2534,"T,Stream::Item"],[2535,"T,S2,F1"],[2537,"D,C,MW,S"],[2539,"T"],[2545,""],[2546,"U,T"],[2552,"U"],[2558,"F"],[2560,"S"],[2561,""],[2567,"T"],[2568,"V"],[2574,"T"],[2575,"T,S2,S1"]]}],["iroh_base",{"t":"TPPPGTFIFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNONNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNPGTPFPKPNNNNNNNNNNNNNNNNNNNMNNNNNNNNNMNNNNNNNNNNO","n":["BYTE_SIZE","Decode","DecodeInvalidLength","Key","KeyParsingError","LENGTH","NodeAddr","NodeId","PublicKey","RelayUrl","RelayUrlParseError","SecretKey","Signature","as_bytes","as_ref","borrow","","","","","","","","borrow_mut","","","","","","","clone","","","","","clone_into","","","","","clone_to_uninit","","","","","cmp","","","deref","deserialize","","","","","direct_addresses","","eq","","","","fmt","","","","","","","","","","","","","","","fmt_short","from","","","","","","","","","","","","","","","","","","","","from_bytes","","","from_components","from_parts","from_slice","from_str","","","","generate","hash","","into","","","","","","","is_empty","new","node_id","partial_cmp","","","public","","r_bytes","relay_url","","s_bytes","secret","serialize","","","","","sign","source","","ticket","to_bytes","","","to_owned","","","","","to_string","","","","","","to_vec","try_from","","","","","","","","","","","try_into","","","","","","","type_id","","","","","","","verify","with_direct_addresses","with_relay_url","Encoding","Error","KIND","Kind","NodeTicket","Postcard","Ticket","Verify","borrow","","borrow_mut","","clone","clone_into","clone_to_uninit","deserialize","","eq","fmt","","","","from","","","","","from_bytes","","from_str","into","","new","node_addr","serialize","","source","to_bytes","","to_owned","to_string","","try_from","","try_into","","type_id","","expected"],"q":[[0,"iroh_base"],[181,"iroh_base::ticket"],[229,"iroh_base::ticket::Error"],[230,"iroh_base::key"],[231,"ed25519"],[232,"iroh_base::node_addr"],[233,"iroh_base::relay_url"],[234,"core::cmp"],[235,"core::result"],[236,"serde::de"],[237,"core::net::socket_addr"],[238,"core::iter::traits::iterator"],[239,"core::fmt"],[240,"alloc::string"],[241,"ed25519_dalek::signature"],[242,"ed25519_dalek::verifying"],[243,"ed25519_dalek::errors"],[244,"data_encoding"],[245,"ed25519_dalek::signing"],[246,"core::option"],[247,"iroh_base::ticket::node"],[248,"url"],[249,"url::parser"],[250,"core::iter::traits::collect"],[251,"signature::error"],[252,"rand_core"],[253,"core::hash"],[254,"serde::ser"],[255,"core::error"],[256,"alloc::vec"],[257,"core::any"],[258,"postcard::error"]],"i":"nBl00`b```````002001A`AbAdBn645321064321643216432142116432122642166664455332110046666445553332222110064362664313416453210222421436226364321350`6636432164531066644453321064532106453210422El`Ej1`1`1Db202000100002200222100020010210002020202F`","f":"`````````````{{{d{b}}}{{d{{h{f}}}}}}{{{d{b}}}{{d{{j{f}}}}}}{d{{d{c}}}{}}2000000{{{d{l}}}{{d{lc}}}{}}000000{{{d{n}}}n}{{{d{b}}}b}{{{d{A`}}}A`}{{{d{Ab}}}Ab}{{{d{Ad}}}Ad}{{d{d{lc}}}Af{}}0000{{df}Af}0000{{{d{b}}{d{b}}}Ah}{{{d{Ab}}{d{Ab}}}Ah}{{{d{Ad}}{d{Ad}}}Ah}{{{d{Ad}}}{{d{c}}}{}}{c{{Aj{n}}}Al}{c{{Aj{b}}}Al}{c{{Aj{A`}}}Al}{c{{Aj{Ab}}}Al}{c{{Aj{Ad}}}Al}{{{d{Ab}}}{{`{{Bb{}{{An{{d{B`}}}}}}}}}}`{{{d{n}}{d{n}}}Bd}{{{d{b}}{d{b}}}Bd}{{{d{Ab}}{d{Ab}}}Bd}{{{d{Ad}}{d{Ad}}}Bd}{{{d{n}}{d{lBf}}}{{Aj{AfBh}}}}000{{{d{b}}{d{lBf}}}Bj}0{{{d{Bl}}{d{lBf}}}Bj}0{{{d{A`}}{d{lBf}}}Bj}0{{{d{Ab}}{d{lBf}}}Bj}{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{Aj{bc}}}{}}333{{{d{{j{f}}}}}{{Aj{A`c}}}{}}444{{}{{Aj{c}}}{}}000000{dEh}000000{{{d{b}}{d{{j{f}}}}{d{n}}}{{Aj{AfCf}}}}{{Abc}Ab{{Dh{}{{An{B`}}}}}}{{AbAd}Ab}````````{d{{d{c}}}{}}0{{{d{l}}}{{d{lc}}}{}}0{{{d{Db}}}Db}{{d{d{lc}}}Af{}}{{df}Af}{{{d{Dl}}}{{Aj{EjEl}}}}{c{{Aj{Db}}}Al}{{{d{Db}}{d{Db}}}Bd}{{{d{Db}}{d{lBf}}}Bj}0{{{d{El}}{d{lBf}}}Bj}0{cc{}}{AbDb}1{ChEl}{EnEl}{{{d{{j{f}}}}}{{Aj{EjEl}}}}{{{d{{j{f}}}}}{{Aj{DbEl}}}}{{{d{Dl}}}{{Aj{Dbc}}}{}}{{}c{}}06{{{d{Db}}}{{d{Ab}}}}{{{d{Ej}}}C`}{{{d{Db}}c}AjEb}{{{d{El}}}{{Cl{{d{Ed}}}}}}{{{d{Ej}}}{{Ef{f}}}}{{{d{Db}}}{{Ef{f}}}}{dc{}}{dC`}0{c{{Aj{e}}}{}{}}0{{}{{Aj{c}}}{}}0{dEh}0`","D":"Il","p":[[5,"PublicKey",0,230],[1,"reference",null,null,1],[1,"u8"],[1,"array"],[1,"slice"],[0,"mut"],[5,"Signature",0,231],[5,"SecretKey",0,230],[5,"NodeAddr",0,232],[5,"RelayUrl",0,233],[1,"unit"],[6,"Ordering",234],[6,"Result",235,null,1],[10,"Deserializer",236],[17,"Item"],[6,"SocketAddr",237],[10,"Iterator",238],[1,"bool"],[5,"Formatter",239],[5,"Error",239],[8,"Result",239],[6,"KeyParsingError",0,230],[5,"RelayUrlParseError",0,233],[5,"String",240],[5,"InternalSignature",241],[5,"VerifyingKey",242],[8,"SignatureError",243],[5,"DecodeError",244],[5,"SigningKey",245],[6,"Option",246,null,1],[1,"tuple",null,null,1],[8,"NodeId",0,230],[5,"NodeTicket",181,247],[5,"Url",248],[6,"ParseError",249],[10,"IntoIterator",250],[5,"Error",251],[1,"str"],[10,"CryptoRngCore",252],[10,"Hasher",253],[10,"Serializer",254],[10,"Error",255],[5,"Vec",256],[5,"TypeId",257],[10,"Ticket",181],[6,"Error",181],[6,"Error",258],[15,"Kind",229]],"r":[[4,230],[6,232],[7,230],[8,230],[9,233],[10,233],[11,230],[12,231],[185,247]],"b":[[60,"impl-Debug-for-Signature"],[61,"impl-Display-for-Signature"],[62,"impl-LowerHex-for-Signature"],[63,"impl-UpperHex-for-Signature"],[64,"impl-Display-for-PublicKey"],[65,"impl-Debug-for-PublicKey"],[66,"impl-Debug-for-KeyParsingError"],[67,"impl-Display-for-KeyParsingError"],[68,"impl-Display-for-SecretKey"],[69,"impl-Debug-for-SecretKey"],[71,"impl-Display-for-RelayUrl"],[72,"impl-Debug-for-RelayUrl"],[73,"impl-Debug-for-RelayUrlParseError"],[74,"impl-Display-for-RelayUrlParseError"],[77,"impl-From%3C%26%5Bu8;+ed25519::::SignatureBytes::%7Bconstant%230%7D%5D%3E-for-Signature"],[78,"impl-From%3C%5Bu8;+ed25519::::SignatureBytes::%7Bconstant%230%7D%5D%3E-for-Signature"],[79,"impl-From%3CInternalSignature%3E-for-Signature"],[83,"impl-From%3CError%3E-for-KeyParsingError"],[84,"impl-From%3CDecodeError%3E-for-KeyParsingError"],[85,"impl-From%3C%5Bu8;+32%5D%3E-for-SecretKey"],[87,"impl-From%3CSigningKey%3E-for-SecretKey"],[88,"impl-From%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[89,"impl-From%3CPublicKey%3E-for-NodeAddr"],[90,"impl-From%3CNodeTicket%3E-for-NodeAddr"],[138,"impl-SignatureEncoding-for-Signature"],[139,"impl-Signature"],[155,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey"],[156,"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey"],[199,"impl-Debug-for-NodeTicket"],[200,"impl-Display-for-NodeTicket"],[201,"impl-Display-for-Error"],[202,"impl-Debug-for-Error"],[206,"impl-From%3CDecodeError%3E-for-Error"],[207,"impl-From%3CError%3E-for-Error"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAJgAFgAPACcAOQASAE4AAgBSAAAAVAACAFgAAgBdAAAAXwAAAGcAAwBsAAEAeAACAIIABACIAAEAiwAAAI4ACgCaABgAvgAGAMYABQDPAAEA0gABANkAAQDcAAkA","P":[[15,"T"],[16,""],[17,"T"],[30,""],[35,"T"],[40,""],[48,"Deref::Target"],[49,"D"],[52,"__D"],[54,""],[76,"T"],[77,""],[80,"T"],[81,""],[82,"T"],[83,""],[86,"T"],[87,""],[91,"T"],[92,""],[93,"T"],[94,""],[95,"T"],[96,""],[100,""],[101,""],[103,"FromStr::Err"],[106,"R"],[107,"H"],[108,"__H"],[109,"U"],[116,""],[129,"S"],[132,"__S"],[134,""],[141,"T"],[146,""],[153,"U,T"],[154,""],[155,"TryFrom::Error"],[157,"U,T"],[160,"TryFrom::Error"],[161,"U,T"],[164,"U"],[171,""],[179,""],[180,""],[189,"T"],[193,""],[194,"T"],[195,""],[197,"D"],[198,""],[203,"T"],[204,""],[205,"T"],[206,""],[210,"FromStr::Err"],[211,"U"],[213,""],[216,"S"],[217,""],[220,"T"],[221,""],[223,"U,T"],[225,"U"],[227,""]]}],["iroh_bench",{"t":"FGGGPPPFPPPPNNNNNNNNNNNNNNNNHONNNNNNNNNNNNHNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNONNNNNCOONCOHCCNOONNNNNNNNNNNNNNNNNNNNNONNNNNOSHHHHHHSHHHHHHFNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFONNNNNNOOOONNNNNNNNNNNOONNNNNNNNNNNNNNONOOOHOOONNNNNNOONNNNNN","n":["ClientStats","Commands","ConnectionSelector","EndpointSelector","Iroh","","","Opt","Quinn","","","S2n","__clone_box","","augment_args","augment_args_for_update","augment_subcommands","augment_subcommands_for_update","borrow","","","","","borrow_mut","","","","","client_handler","clients","clone","","clone_into","","clone_to_uninit","","close","","command","","command_for_update","","configure_tracing_subscriber","default","deref","","","","","deref_mut","","","","","download_size","drop","","","","","fmt","","from","","","","","from_arg_matches","","from_arg_matches_mut","","from_ref","","group_id","has_subcommand","init","","","","","initial_mtu","into","","","","","iroh","max_streams","metrics","print","quinn","read_unordered","rt","s2n","stats","","","streams","to_owned","","try_from","","","","","try_into","","","","","type_id","","","","","update_from_arg_matches","","update_from_arg_matches_mut","","upload_size","vzip","","","","","with_relay","ALPN","client","connect_client","handle_client_stream","server","server_endpoint","transport_config","ALPN","client","connect_client","handle_client_stream","server","server_endpoint","transport_config","Opt","__clone_box","augment_args","augment_args_for_update","borrow","borrow_mut","clone","clone_into","clone_to_uninit","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","from_ref","group_id","init","into","to_owned","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","Stats","StreamStats","TransferResult","avg_chunk_size","borrow","","","borrow_mut","","","chunk_size","chunk_time","chunks","","default","","deref","","","deref_mut","","","drop","","","duration","duration_hist","fmt","","","from","","","init","","","into","","","new","print","size","stream_finished","stream_stats","streams","throughput","throughput_bps","throughput_hist","total_duration","total_size","try_from","","","try_into","","","ttfb","ttfb_hist","type_id","","","vzip","",""],"q":[[0,"iroh_bench"],[126,"iroh_bench::iroh"],[133,"iroh_bench::quinn"],[140,"iroh_bench::s2n"],[169,"iroh_bench::stats"],[233,"dyn_clone::sealed"],[234,"clap_builder::builder::command"],[235,"anyhow"],[236,"core::fmt"],[237,"clap_builder::parser::matches::arg_matches"],[238,"clap_builder"],[239,"core::result"],[240,"clap_builder::util::id"],[241,"core::option"],[242,"tokio::runtime::runtime"],[243,"core::any"],[244,"iroh_base::node_addr"],[245,"iroh_base::relay_url"],[246,"iroh::endpoint"],[247,"iroh_quinn::connection"],[248,"iroh_quinn_proto::config"],[249,"core::net::socket_addr"],[250,"rustls_pki_types"],[251,"iroh_quinn::endpoint"],[252,"core::time"]],"i":"````lnAf`21000A`00113210Ab43210`1212121432121`0432104321014321021432102121211243210143210`110`1```3112143210432104321021211432101```````````````E`000000000000000000000000000```DbEbEd2102000210102102102201021021021022121112`01110210220102102","f":"````````````{{bd}f}0{hh}000{b{{b{c}}}{}}0000{{{b{j}}}{{b{jc}}}{}}0000{{lnA`}{{Ad{Ab}}}}`{{{b{Af}}}Af}{{{b{A`}}}A`}{{b{b{jc}}}f{}}0{{bAh}f}0{l{{Ad{f}}}}{{{b{n}}Aj{b{{Al{Ah}}}}}f}{{}h}000{{}f}{{}Ab}{An{{b{c}}}{}}0000{An{{b{jc}}}{}}0000`{Anf}0000{{{b{Af}}{b{jB`}}}Bb}{{{b{A`}}{b{jB`}}}Bb}{cc{}}0000{{{b{Bd}}}{{Bh{AfBf}}}}{{{b{Bd}}}{{Bh{A`Bf}}}}{{{b{jBd}}}{{Bh{AfBf}}}}{{{b{jBd}}}{{Bh{A`Bf}}}}{{{b{c}}}c{}}0{{}{{Bl{Bj}}}}{{{b{Bn}}}C`}{{}An}0000`{{}c{}}0000```{{{b{Ab}}An}f}``{{}Cb}``{{{b{n}}}f}``{bc{}}0{c{{Bh{e}}}{}{}}0000{{}{{Bh{c}}}{}}0000{bCd}0000{{{b{jAf}}{b{Bd}}}{{Bh{fBf}}}}{{{b{jA`}}{b{Bd}}}{{Bh{fBf}}}}{{{b{jAf}}{b{jBd}}}{{Bh{fBf}}}}{{{b{jA`}}{b{jBd}}}{{Bh{fBf}}}}`{{}c{}}0000``{{Cf{Bl{Ch}}A`}{{Ad{Ab}}}}{{Cf{Bl{Ch}}A`}{{Ad{{Cn{CjCl}}}}}}{{{b{Cl}}D`C`}{{Ad{{Cn{DbDb}}}}}}{{CjA`}{{Ad{f}}}}{{{b{Cb}}{b{{Bl{Ch}}}}{b{A`}}}{{Cn{CfCj}}}}{{AnDd}Df}`{{DhDjA`}{{Ad{Ab}}}}{{DhDjA`}{{Ad{{Cn{DlCl}}}}}}5{{DlA`}{{Ad{f}}}}{{{b{Cb}}DjDn{b{A`}}}{{Cn{DhDl}}}}4`{{bd}f}{hh}0{b{{b{c}}}{}}{{{b{j}}}{{b{jc}}}{}}{{{b{E`}}}E`}{{b{b{jc}}}f{}}{{bAh}f}{{}h}0{An{{b{c}}}{}}{An{{b{jc}}}{}}{Anf}{{{b{E`}}{b{jB`}}}Bb}{cc{}}{{{b{Bd}}}{{Bh{E`Bf}}}}{{{b{jBd}}}{{Bh{E`Bf}}}}{{{b{c}}}c{}}{{}{{Bl{Bj}}}}{{}An}{{}c{}}{bc{}}{c{{Bh{e}}}{}{}}{{}{{Bh{c}}}{}}{bCd}{{{b{jE`}}{b{Bd}}}{{Bh{fBf}}}}{{{b{jE`}}{b{jBd}}}{{Bh{fBf}}}}{{}c{}}````{b{{b{c}}}{}}00{{{b{j}}}{{b{jc}}}{}}00````{{}Eb}{{}Ed}{An{{b{c}}}{}}00{An{{b{jc}}}{}}00{Anf}00``{{{b{Eb}}{b{jB`}}}Bb}{{{b{Ed}}{b{jB`}}}Bb}{{{b{Db}}{b{jB`}}}Bb}{cc{}}00{{}An}00{{}c{}}00{{EfD`EfD`}Db}{{{b{Eb}}{b{Bn}}}f}`{{{b{jEb}}Db}f}```{{EfD`}Eh}```{c{{Bh{e}}}{}{}}00{{}{{Bh{c}}}{}}00``{bCd}00{{}c{}}00","D":"Dj","p":[[1,"reference",null,null,1],[5,"Private",233],[1,"unit"],[5,"Command",234],[0,"mut"],[6,"EndpointSelector",0],[6,"ConnectionSelector",0],[5,"Opt",0],[5,"ClientStats",0],[8,"Result",235],[6,"Commands",0],[1,"u8"],[1,"u32"],[1,"slice"],[1,"usize"],[5,"Formatter",236],[8,"Result",236],[5,"ArgMatches",237],[8,"Error",238],[6,"Result",239,null,1],[5,"Id",240],[6,"Option",241,null,1],[1,"str"],[1,"bool"],[5,"Runtime",242],[5,"TypeId",243],[5,"NodeAddr",244],[5,"RelayUrl",245],[5,"Endpoint",246],[5,"Connection",247],[1,"tuple",null,null,1],[1,"u64"],[5,"TransferResult",169],[1,"u16"],[5,"TransportConfig",248],[6,"SocketAddr",249],[5,"CertificateDer",250],[5,"Endpoint",251],[6,"PrivateKeyDer",250],[5,"Opt",140],[5,"Stats",169],[5,"StreamStats",169],[5,"Duration",252],[1,"f64"]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAMQAEgAAABwAHwAXADgABgBEAAwAVwAAAFoAAQBdAAMAYwAUAHkABAB/AAAAggAAAIUAAQCJAAAAjAAPAJ0ABACjACQAywACANEAGAA=","P":[[18,"T"],[28,""],[32,"T"],[34,""],[44,"T"],[55,""],[62,"T"],[67,""],[71,"T"],[73,""],[81,"U"],[89,""],[98,"T"],[100,"U,T"],[105,"U"],[110,""],[120,"V"],[127,""],[144,"T"],[146,""],[147,"T"],[148,""],[151,"T"],[153,""],[155,"T"],[156,""],[158,"T"],[159,""],[161,"U"],[162,"T"],[163,"U,T"],[164,"U"],[165,""],[168,"V"],[173,"T"],[183,""],[185,"T"],[191,""],[199,"T"],[202,""],[205,"U"],[208,""],[219,"U,T"],[222,"U"],[227,""],[230,"V"]]}],["iroh_dns_server",{"t":"FNNNNNNCCNNNNCNNNCNNNCCNNNNNNGFPPFFFNOONNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNOONNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNOFFFFNNNNONNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNOOOOONNNNNNNNNNNNNNNNNNNNNNNNGPFFFPPGPPPNNNNOONNNNNNNNNNONNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFNNNNNNNOOOOOONNNOOOOHNNNOOOOOONNNNNFNNNNNHNNNNNNFNNNNNNONNNONNNNN","n":["ZoneStore","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","config","dns","fmt","from","from_ref","get_signed_packet","http","in_memory","insert","into","metrics","new","persistent","resolve","server","state","to_owned","try_from","try_into","type_id","vzip","with_mainline_fallback","BootstrapOption","Config","Custom","Default","MainlineConfig","MetricsConfig","StoreConfig","__clone_box","bind_addr","bootstrap","borrow","","","","","borrow_mut","","","","","clone","clone_into","clone_to_uninit","data_dir","default","","","","deserialize","","","","","disabled","","dns","enabled","fmt","","","","","from","","","","","from_ref","http","https","into","","","","","load","mainline","metrics","pkarr_put_rate_limit","serialize","","","","","signed_packet_store_path","to_owned","try_from","","","","","try_into","","","","","type_id","","","","","vzip","","","","","zone_store","DnsConfig","DnsHandler","DnsServer","Handle","__clone_box","","","answer_request","bind_addr","borrow","","","","borrow_mut","","","","clone","","","clone_into","","","clone_to_uninit","","","default_soa","default_ttl","deserialize","fmt","","","from","","","","from_ref","","","handle_request","into","","","","local_addr","new","origins","port","rr_a","rr_aaaa","rr_ns","run_until_done","send_response","serialize","shutdown","spawn","to_owned","","","try_from","","","","try_into","","","","type_id","","","","vzip","","","","CertMode","Disabled","HttpConfig","HttpServer","HttpsConfig","LetsEncrypt","Manual","RateLimitConfig","SelfSigned","Simple","Smart","__clone_box","","","","bind_addr","","borrow","","","","","borrow_mut","","","","","cert_mode","clone","","","","clone_into","","","","clone_to_uninit","","","","default","","deserialize","","","","domains","eq","equivalent","","","fmt","","","","","from","","","","","from_ref","","","","http_addr","https_addr","into","","","","","letsencrypt_contact","letsencrypt_prod","port","","run_until_done","serialize","","","","shutdown","spawn","to_owned","","","","to_string","try_from","","","","","try_into","","","","","type_id","","","","","vzip","","","","","Metrics","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","default","dns_lookup_error","dns_lookup_notfound","dns_lookup_success","dns_requests","dns_requests_https","dns_requests_udp","fmt","from","from_ref","http_requests","http_requests_duration_ms","http_requests_error","http_requests_success","init_metrics","into","iter","name","pkarr_publish_noop","pkarr_publish_update","store_packets_expired","store_packets_inserted","store_packets_removed","store_packets_updated","to_owned","try_from","try_into","type_id","vzip","Server","borrow","borrow_mut","from","into","run_until_error","run_with_config_until_ctrl_c","shutdown","spawn","try_from","try_into","type_id","vzip","AppState","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","dns_handler","from","from_ref","into","store","to_owned","try_from","try_into","type_id","vzip"],"q":[[0,"iroh_dns_server"],[29,"iroh_dns_server::config"],[116,"iroh_dns_server::dns"],[191,"iroh_dns_server::http"],[299,"iroh_dns_server::metrics"],[335,"iroh_dns_server::server"],[348,"iroh_dns_server::state"],[365,"dyn_clone::sealed"],[366,"iroh_dns_server::store"],[367,"core::fmt"],[368,"pkarr::signed_packet"],[369,"core::option"],[370,"anyhow"],[371,"std::path"],[372,"core::convert"],[373,"hickory_proto::rr::domain::name"],[374,"hickory_proto::rr::record_type"],[375,"hickory_proto::rr::rr_set"],[376,"alloc::sync"],[377,"core::result"],[378,"core::any"],[379,"serde::de"],[380,"serde::ser"],[381,"hickory_server::server::request_handler"],[382,"bytes::bytes"],[383,"core::future::future"],[384,"alloc::boxed"],[385,"core::pin"],[386,"hickory_server::server::response_handler"],[387,"core::net::socket_addr"],[388,"hickory_server::authority::message_response"],[389,"hickory_proto::rr::resource"],[390,"core::iter::traits::iterator"],[391,"core::marker"],[392,"iroh_dns_server::http::rate_limiting"],[393,"iroh_dns_server::http::tls"],[394,"alloc::string"],[395,"alloc::vec::into_iter"]],"i":"`j00000``0000`000`000``000000``Bj0```BlCfCbC`3214032143330031403214220103214032143000321400000321403032140321403214032140````D`CjDb12Dl32103213213213213333210321321203210233333013003210321032103210321`Ej```El0`01110EnF`10Fd432104321143214321432144432113333433210432143210004321112104321004321304321043210432104321`Fj0000000000000000000`00000000000000`Gd0000`000000`Ff000000000000000","f":"`{{bd}f}{b{{b{c}}}{}}{{{b{h}}}{{b{hc}}}{}}{{{b{j}}}j}{{b{b{hc}}}f{}}{{bl}f}``{{{b{j}}{b{hn}}}A`}{cc{}}{{{b{c}}}c{}}{{{b{j}}{b{`}}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{{}{{b{Fl}}}}``````{bc{}}{c{{Bf{e}}}{}{}}{{}{{Bf{c}}}{}}{bBh}{{}c{}}`{b{{b{c}}}{}}{{{b{h}}}{{b{hc}}}{}}<9{Gd{{Af{f}}}}{C`{{Af{f}}}}1{{C`j}{{Af{Gd}}}}8765`{{bd}f}54{{{b{Ff}}}Ff}{{b{b{hc}}}f{}}{{bl}f}`{cc{}}{{{b{c}}}c{}}{{}c{}}`{bc{}}{c{{Bf{e}}}{}{}}{{}{{Bf{c}}}{}}{bBh}{{}c{}}","D":"Oj","p":[[1,"reference",null,null,1],[5,"Private",365],[1,"unit"],[0,"mut"],[5,"ZoneStore",0,366],[1,"u8"],[5,"Formatter",367],[8,"Result",367],[5,"SignedPacket",368],[6,"Option",369,null,1],[8,"Result",370],[1,"bool"],[5,"Path",371],[10,"AsRef",372],[5,"Name",373],[6,"RecordType",374],[5,"RecordSet",375],[5,"Arc",376,null,1],[6,"Result",377,null,1],[5,"TypeId",378],[6,"BootstrapOption",29],[5,"StoreConfig",29],[5,"PathBuf",371],[5,"Config",29],[5,"MainlineConfig",29],[10,"Deserializer",379],[5,"MetricsConfig",29],[10,"Serializer",380],[5,"DnsHandler",116],[5,"Request",381],[5,"Bytes",382],[5,"DnsConfig",116],[5,"Handle",116],[10,"Future",383,null,1],[5,"Box",384,null,1],[5,"Pin",385],[10,"ResponseHandler",386],[5,"DnsServer",116],[6,"SocketAddr",387],[5,"MessageResponse",388],[17,"Item"],[5,"Record",389],[10,"Iterator",390],[10,"Send",391],[6,"RateLimitConfig",191,392],[6,"CertMode",191,393],[5,"HttpConfig",191],[5,"HttpsConfig",191],[5,"Error",367],[5,"HttpServer",191],[5,"AppState",348],[5,"String",394],[5,"Metrics",299],[1,"str"],[10,"Any",378],[1,"tuple",null,null,1],[5,"IntoIter",395],[5,"Server",335]],"r":[[0,366],[191,393],[198,392]],"b":[[231,"impl-Default-for-%26RateLimitConfig"],[232,"impl-Default-for-RateLimitConfig"],[243,"impl-Debug-for-CertMode"],[244,"impl-Display-for-CertMode"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAPAAIAACAAUACgAAAAwAAAAYAAQAJQAAACgADAA2AAgAQwAEAE0AAABZAAQAXwAUAHkAAgB+ABAAkQADAJkAAwCpAAEArQASAMsAAwDRAAkA3AARAO8ACAD9AAMADQEDABMBGAAtAQ0APAEEAEMBDABRAQEAWQEDAF4BBQBmAQAAaQEEAA==","P":[[2,"T"],[4,""],[5,"T"],[6,""],[10,"T"],[12,""],[16,"U"],[18,""],[19,""],[20,""],[23,"T"],[24,"U,T"],[25,"U"],[26,""],[27,"V"],[28,""],[39,"T"],[49,""],[50,"T"],[51,""],[57,"__D"],[62,""],[71,"T"],[79,"U"],[84,""],[88,"__S"],[93,""],[94,"T"],[95,"U,T"],[100,"U"],[105,""],[110,"V"],[120,""],[125,"T"],[133,""],[136,"T"],[139,""],[144,"__D"],[145,""],[148,"T"],[155,"R"],[156,"U"],[160,""],[168,",,,"],[169,"__S"],[170,""],[172,"T"],[175,"U,T"],[179,"U"],[183,""],[187,"V"],[202,""],[208,"T"],[219,""],[223,"T"],[227,""],[233,"__D"],[238,""],[239,"K"],[242,""],[247,"T"],[256,""],[258,"U"],[267,""],[268,"__S"],[272,""],[274,"T"],[278,""],[279,"U,T"],[284,"U"],[289,""],[294,"V"],[300,""],[301,"T"],[303,""],[304,"T"],[305,""],[314,"T"],[320,""],[321,"U"],[322,""],[330,"T"],[331,"U,T"],[332,"U"],[333,""],[334,"V"],[336,"T"],[339,"U"],[340,""],[344,"U,T"],[345,"U"],[346,""],[347,"V"],[349,""],[350,"T"],[352,""],[353,"T"],[354,""],[356,"T"],[358,"U"],[360,"T"],[361,"U,T"],[362,"U"],[363,""],[364,"V"]]}],["iroh_net_report",{"t":"FFFFFFFNHNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNOONNNNNNNNNNNNNNOOOOOONNOONNHOOONNOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNN","n":["Addr","Client","Metrics","Options","QuicConfig","RelayLatencies","Report","addr","bind_local_stun_socket","borrow","","","","","","","borrow_mut","","","","","","","captive_portal","client_config","clone","","","","","clone_into","","","","","clone_to_uninit","","","","","default","","","","deref","","","","","","","deref_mut","","","","","","","disabled","drop","","","","","","","ep","eq","","equivalent","","","","","","fmt","","","","","","","","from","","","","","","","get_report","get_report_channel","get_report_with_opts","global_v4","global_v6","hair_pinning","https","icmp_v4","icmp_v6","icmpv4","icmpv6","init","","","","","","","into","","","","","","","ipv4","","ipv4_can_send","ipv6","","ipv6_can_send","iter","","mapping_varies_by_dest_ip","mapping_varies_by_dest_ipv6","name","new","os_has_ipv6","","portmap_probe","preferred_relay","quic_config","receive_stun_packet","relay_latency","relay_v4_latency","relay_v6_latency","reports","reports_full","stun_packets_dropped","stun_packets_recv_ipv4","stun_packets_recv_ipv6","stun_packets_sent_ipv4","stun_packets_sent_ipv6","stun_v4","stun_v6","to_owned","","","","","to_string","try_from","","","","","","","try_into","","","","","","","type_id","","","","","","","udp","vzip","","","","","",""],"q":[[0,"iroh_net_report"],[180,"netwatch::ip_family"],[181,"tokio_util::sync::cancellation_token"],[182,"netwatch::udp"],[183,"alloc::sync"],[184,"core::option"],[185,"iroh_net_report::metrics"],[186,"iroh_net_report::reportgen"],[187,"core::fmt"],[188,"iroh_relay::relay_map"],[189,"anyhow"],[190,"tokio::sync::oneshot"],[191,"core::any"],[192,"alloc::vec::into_iter"],[193,"iroh_base::relay_url"],[194,"core::time"],[195,"core::iter::traits::iterator"],[196,"portmapper"],[197,"hickory_resolver::resolver"],[198,"bytes::bytes"],[199,"core::net::socket_addr"],[200,"alloc::string"],[201,"core::result"],[202,"iroh_net_report::stun_utils"]],"i":"```````b`AdAfAhAj4B`f543261034543205432054320532154326105432610154326104323332225433261054326106663331113354326105432610433433523356`3331033355555551154320354326105432610543261035432610","f":"```````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option",184,null,1],[0,"mut"],[5,"Metrics",0,185],[5,"QuicConfig",0,186],[5,"Report",0],[5,"RelayLatencies",0],[1,"unit"],[1,"u8"],[5,"Options",0],[1,"usize"],[1,"bool"],[5,"Formatter",187],[8,"Result",187],[5,"RelayMap",188],[8,"Result",189],[5,"Receiver",190],[1,"str"],[10,"Any",191],[1,"tuple",null,null,1],[5,"IntoIter",192],[17,"Item"],[5,"RelayUrl",193],[5,"Duration",194],[10,"Iterator",195],[5,"Client",196],[8,"TokioResolver",197],[5,"Bytes",198],[6,"SocketAddr",199],[5,"String",200],[6,"Result",201,null,1],[5,"TypeId",191]],"r":[[2,185],[4,186],[8,202]],"b":[[77,"impl-Display-for-Report"],[78,"impl-Debug-for-Report"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAHcACgAKAA0AGgAgADwABgBEAA8AZgAGAHoAAAB+AAAAiQAGAJIAGgCuAAYA","P":[[9,"T"],[25,""],[30,"T"],[35,""],[44,"T"],[58,""],[69,"K"],[75,""],[83,"T"],[90,""],[108,"U"],[121,""],[145,"T"],[150,""],[151,"U,T"],[158,"U"],[165,""],[173,"V"]]}],["iroh_relay",{"t":"PEEEEPEPPPGPFFFFPNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNOCCONNNNNCOONNNNNNNNNNNNNNNNNNNNNNONNNNNNOOOOOPPFFGFPPPPPPPPPPPPPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNSSSSSSGSSPPNNNNNNNNNNNNNNNNNNNNNNNCCCSHSPGPPPPPPPPGFPPPPPPPPPPPGFPFPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNNNNNNNNNCHHNHHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNSSSSSSFNNNNNNNNNNNNNNNGFSPFPGFPFFPFFFFFPFOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNOOOONONNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOONNNNNNNNNNNNNONNNNNNNNNNNNNONNNNNNNNNNNNNONONNONNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNOOOONNOOONNNNNONOONONOOOOOONNNONNCONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNOOOHHHHHH","n":["Health","HttpClient","HttpClientBuilder","HttpClientError","HttpClientReceiver","KeepAlive","MAX_PACKET_SIZE","NodeGone","Ping","Pong","ReceivedMessage","ReceivedPacket","RelayConn","RelayMap","RelayNode","RelayQuicConfig","ServerRestarting","borrow","","","","","borrow_mut","","","","","client","clone","","","","","clone_into","","","","","clone_to_uninit","","","","","close","cmp","","compare","","contains_node","default","default_from_node","defaults","deref","","","","","deref_mut","","","","","deserialize","","drop","","","","","empty","eq","","","","equivalent","","","","","","","","","","","","fmt","","","","","","","from","","","","","from_nodes","from_url","get_node","http","init","","","","","into","","","","","is_closed","is_empty","len","local_addr","nodes","note_preferred","partial_cmp","","port","protos","quic","","send","send_ping","send_pong","serialize","","server","stun_only","stun_port","to_owned","","","","","to_string","","try_from","","","","","try_into","","","","","type_id","","","","","url","urls","vzip","","","","","data","problem","reconnect_in","remote_node_id","try_for","ActorGone","Build","Client","ClientBuilder","ClientError","ClientReceiver","Closed","ConnectTimeout","DialIO","Dns","Http","Hyper","IPDisabled","InvalidUrl","NoLocalAddr","PingAborted","PingTimeout","Proxy","Receive","Send","UnexpectedStatusCode","Upgrade","WebsocketError","address_family_selector","borrow","","","","borrow_mut","","","","build","clone","clone_into","clone_to_uninit","close","close_for_reconnect","connect","deref","","","","deref_mut","","","","drop","","","","fmt","","","","","from","","","","","","","","init","","","","insecure_skip_cert_verify","into","","","","is_connected","is_prober","key_cache_capacity","local_addr","make_dangerous_client_config","new","note_preferred","ping","protocol","proxy_url","public_key","recv","send","send_pong","server_public_key","server_url","source","to_owned","to_string","try_from","","","","try_into","","","","type_id","","","","vzip","","","","DEFAULT_HTTPS_PORT","DEFAULT_HTTP_PORT","DEFAULT_KEY_CACHE_CAPACITY","DEFAULT_METRICS_PORT","DEFAULT_RELAY_QUIC_PORT","DEFAULT_STUN_PORT","Protocol","RELAY_PATH","RELAY_PROBE_PATH","Relay","Websocket","borrow","borrow_mut","clone","clone_into","clone_to_uninit","deref","deref_mut","drop","eq","equivalent","","","fmt","from","init","into","parse_header","to_owned","try_from","try_into","type_id","upgrade_header","vzip","disco","relay","stun","MAGIC","looks_like_disco_wrapper","MAX_PACKET_SIZE","AlternateServer","Error","ErrorCode","ErrorResponse","Fingerprint","Indication","InvalidFingerprint","InvalidMessage","MalformedAttrs","MappedAddress","MessageClass","MessageDecoder","MessageIntegrity","MessageIntegritySha256","NoFingerprint","Nonce","NotBinding","NotSuccessResponse","PasswordAlgorithm","PasswordAlgorithms","Realm","Request","Software","StunAttribute","StunDecodeError","SuccessResponse","TransactionId","Unknown","UnknownAttributes","UserHash","UserName","XorMappedAddress","as_alternate_server","as_bytes","as_error_code","as_fingerprint","as_mapped_address","as_message_integrity","as_message_integrity_sha256","as_nonce","as_password_algorithm","as_password_algorithms","as_realm","as_ref","as_software","as_unknown","as_unknown_attributes","as_user_hash","as_user_name","as_xor_mapped_address","attribute_type","borrow","","","","","","borrow_mut","","","","","","clone","","","","clone_into","","","","clone_to_uninit","","","","cmp","compare","decode","default","","deref","","","","","","","deref_mut","","","","","","drop","","","","","","eq","","equivalent","","","","","","expect_alternate_server","expect_error_code","expect_fingerprint","expect_mapped_address","expect_message_integrity","expect_message_integrity_sha256","expect_nonce","expect_password_algorithm","expect_password_algorithms","expect_realm","expect_software","expect_unknown","expect_unknown_attributes","expect_user_hash","expect_user_name","expect_xor_mapped_address","fmt","","","","","","","","","from","","","","","","","","","","","","","","","","","","","","","","","","get_context","hash","init","","","","","","into","","","","","","is","is_alternate_server","is_error_code","is_fingerprint","is_mapped_address","is_message_integrity","is_message_integrity_sha256","is_nonce","is_password_algorithm","is_password_algorithms","is_realm","is_software","is_unknown","is_unknown_attributes","is_user_hash","is_user_name","is_xor_mapped_address","methods","parse_binding_request","parse_response","partial_cmp","request","response","to_owned","","","","to_string","","","try_from","","","","","","","try_into","","","","","","type_id","","","","","","vzip","","","","","","BINDING","RESERVED","SHARED_SECRET","ALPN_QUIC_ADDR_DISC","QUIC_ADDR_DISC_CLOSE_CODE","QUIC_ADDR_DISC_CLOSE_REASON","QuicClient","borrow","borrow_mut","deref","deref_mut","drop","fmt","from","get_addr_and_latency","init","into","new","try_from","try_into","type_id","vzip","CertConfig","ClientConnRateLimit","DEFAULT_CERT_RELOAD_INTERVAL","LetsEncrypt","Limits","Manual","MaybeTlsStreamServer","Metrics","Plain","QuicConfig","RelayConfig","Reloading","ReloadingResolver","Server","ServerConfig","StunConfig","StunMetrics","Tls","TlsConfig","accept_conn_burst","accept_conn_limit","accepts","bad_requests","bind_addr","","borrow","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","bytes_per_second","bytes_recv","bytes_sent","cert","certificates","client_rx","clone","","","clone_into","","","clone_to_uninit","","","conns_rx_ratelimited_total","default","","","","deref","","","","","","","","","","","","","","deref_mut","","","","","","","","","","","","","derp_accepts","disco_packets_dropped","disco_packets_recv","disco_packets_sent","disconnects","drop","","","","","","","","","","","","","failures","fmt","","","","","","","","","","","","","frames_rx_ratelimited_total","from","","","","","","","","","","","","","got_ping","http_addr","http_bind_addr","http_url","https_addr","https_bind_addr","https_url","init","","","","","","","","","","","","","","into","","","","","","","","","","","","","ipv4_success","ipv6_success","iter","","key_cache_capacity","limits","max_burst_bytes","metrics_addr","name","","other_packets_dropped","other_packets_recv","other_packets_sent","poll_flush","poll_read","poll_shutdown","poll_write","poll_write_vectored","quic","quic_addr","quic_bind_addr","relay","reload","requests","resolve","send_packets_dropped","send_packets_recv","send_packets_sent","sent_pong","server_config","","shutdown","","spawn","stun","stun_addr","task_handle","testing","tls","to_owned","","","try_from","","","","","","","","","","","","","try_into","","","","","","","","","","","","","type_id","","","","","","","","","","","","","unique_client_keys","unknown_frames","vzip","","","","","","","","","","","","","websocket_accepts","certs","state","quic_config","relay_config","self_signed_tls_certs_and_config","server_config","stun_config","tls_config"],"q":[[0,"iroh_relay"],[161,"iroh_relay::ReceivedMessage"],[166,"iroh_relay::client"],[274,"iroh_relay::defaults"],[280,"iroh_relay::http"],[308,"iroh_relay::protos"],[311,"iroh_relay::protos::disco"],[313,"iroh_relay::protos::relay"],[314,"iroh_relay::protos::stun"],[539,"iroh_relay::protos::stun::methods"],[542,"iroh_relay::quic"],[561,"iroh_relay::server"],[836,"iroh_relay::server::CertConfig"],[838,"iroh_relay::server::testing"],[844,"iroh_relay::client::conn"],[845,"iroh_relay::relay_map"],[846,"core::cmp"],[847,"iroh_base::relay_url"],[848,"core::result"],[849,"serde::de"],[850,"core::fmt"],[851,"anyhow"],[852,"alloc::sync"],[853,"core::convert"],[854,"core::iter::traits::collect"],[855,"core::option"],[856,"core::net::socket_addr"],[857,"core::iter::traits::iterator"],[858,"iroh_base::key"],[859,"bytes::bytes"],[860,"serde::ser"],[861,"alloc::string"],[862,"core::any"],[863,"core::ops::function"],[864,"core::marker"],[865,"hickory_resolver::resolver"],[866,"tokio_tungstenite_wasm::error"],[867,"http::error"],[868,"hyper::error"],[869,"std::io::error"],[870,"rustls::client::client_conn"],[871,"core::time"],[872,"url"],[873,"core::error"],[874,"http::header::value"],[875,"stun_rs::attributes"],[876,"stun_rs::attributes::stun::alternate_server"],[877,"stun_rs::error"],[878,"stun_rs::types"],[879,"stun_rs::attributes::stun::error_code"],[880,"stun_rs::attributes::stun::fingerprint"],[881,"stun_rs::attributes::stun::mapped_address"],[882,"stun_rs::attributes::stun::message_integrity"],[883,"stun_rs::attributes::stun::message_integrity_sha256"],[884,"stun_rs::attributes::stun::nonce"],[885,"stun_rs::attributes::stun::password_algorithm"],[886,"stun_rs::attributes::stun::password_algorithms"],[887,"stun_rs::attributes::stun::realm"],[888,"stun_rs::attributes::stun::software"],[889,"stun_rs::attributes::unknown"],[890,"stun_rs::attributes::stun::unknown_attributes"],[891,"stun_rs::attributes::stun::user_hash"],[892,"stun_rs::attributes::stun::user_name"],[893,"stun_rs::attributes::stun::xor_mapped_address"],[894,"stun_rs::context"],[895,"stun_rs::message"],[896,"core::hash"],[897,"alloc::vec"],[898,"iroh_quinn::endpoint"],[899,"rustls_pki_types"],[900,"iroh_relay::server::metrics"],[901,"core::default"],[902,"iroh_relay::server::resolver"],[903,"rustls::crypto::signer"],[904,"reloadable_core"],[905,"alloc::vec::into_iter"],[906,"core::pin"],[907,"core::task::wake"],[908,"core::task::poll"],[909,"tokio::io::read_buf"],[910,"std::io"],[911,"rustls::server::server_conn"],[912,"tokio_util::task::abort_on_drop"],[913,"stun_rs"],[914,"stun_rs::methods"]],"i":"h````0`000`0````0f1jln34210`34210342103421031010202`3421034210103421023210333222111000342211034210222`3421034210322323100``133310`1134210213421034210342101234210NlNnO`20Ef0````00000000000000000Db1E`Eb23102211111131023102310233102333331023102231021221`211221011223133102310231023102`````````Fd000000000000000000000000``````Gb`0Il10Jd002``22020022212``1`222222Gh33333333303333333Ij314J`314250314251425142522112142250314250314250342444222555555555555555514225003314222555555555555555550312142503142503`5555555555555555```2``14252031442503142503142503142503```````Jl00000000000000```Ln`0``Ld``1`````0`L`0KdKfLhLj32Lb6KjLf43Ll8Kh;K`985;43762:1<019920:9819819819984:9855;43762:1<0985;43762:1<099999985;43762:1<08985;43762:1<09985;43762:1<090300209855;43762:1<0985;43762:1<08898331498999;;;;;4024585999962500400`3981985;43762:1<0985;43762:1<0985;43762:1<099985;43762:1<09ObOd``````","f":"`````````````````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{{Mj{{b{dLd}}}}{b{dMl}}{b{{G`{Nd}}}}}{{Mn{{An{AlEn}}}}}}`;``{{{b{{Lb{c}}}}}A`{Dh{Md{}{{M`{Mb}}}}}}`{{{b{{Lb{c}}}}Nf}{{C`{{Bh{Mb}}}}}{{Md{}{{M`{Mb}}}}DhKn}}``````{{{Lb{c}}}A`{Dh{Md{}{{M`{Mb}}}}}}{K`{{Bf{A`}}}}{{{Kj{ce}}}{{Bf{K`}}}KnKn}`{{{b{K`}}}{{C`{Cb}}}}{{{b{dK`}}}{{b{d{Nh{{Bf{A`}}}}}}}}``{bc{}}00{c{{An{e}}}{}{}}000000000000{{}{{An{c}}}{}}000000000000{bD`}000000000000``{{}c{}}000000000000```{{}Lj}{{}{{Lf{A`}}}}{{}{{Ed{{Jj{Kb}}Nj}}}}{{}{{Kj{A`}}}}{{}Lh}{{}{{Ll{A`}}}}","D":"BLj","p":[[1,"reference",null,null,1],[0,"mut"],[5,"RelayConn",0],[6,"ReceivedMessage",0,844],[5,"RelayMap",0,845],[5,"RelayNode",0,845],[5,"RelayQuicConfig",0,845],[1,"unit"],[1,"u8"],[6,"Ordering",846],[5,"RelayUrl",847],[1,"bool"],[1,"u16"],[1,"usize"],[6,"Result",848,null,1],[10,"Deserializer",849],[5,"Formatter",850],[8,"Result",850],[8,"Result",851],[5,"Arc",852,null,1],[10,"Into",853],[17,"Item"],[10,"IntoIterator",854],[6,"Option",855,null,1],[6,"SocketAddr",856],[10,"Iterator",857],[8,"NodeId",858],[5,"Bytes",859],[1,"array"],[10,"Serializer",860],[5,"String",861],[5,"TypeId",862],[5,"ClientBuilder",166],[17,"Output"],[10,"Fn",863],[10,"Send",864],[10,"Sync",864],[5,"SecretKey",858],[8,"TokioResolver",865],[5,"Client",166],[5,"ClientReceiver",166],[1,"tuple",null,null,1],[6,"ClientError",166],[6,"Error",866],[5,"Error",867],[5,"Error",868],[5,"Error",869],[5,"ClientConfig",870],[5,"Duration",871],[6,"Protocol",280],[5,"Url",872],[5,"PublicKey",858],[10,"Error",873],[5,"HeaderValue",874],[1,"str"],[1,"slice"],[6,"StunAttribute",314,875],[5,"AlternateServer",876],[5,"StunError",877],[5,"TransactionId",314,878],[5,"ErrorCode",879],[6,"Fingerprint",880],[5,"MappedAddress",881],[6,"MessageIntegrity",882],[6,"MessageIntegritySha256",883],[5,"Nonce",884],[5,"PasswordAlgorithm",885],[5,"PasswordAlgorithms",886],[5,"Realm",887],[5,"Software",888],[5,"Unknown",889],[5,"UnknownAttributes",890],[5,"UserHash",891],[5,"UserName",892],[5,"XorMappedAddress",893],[5,"AttributeType",875],[5,"MessageDecoder",314,894],[6,"MessageClass",314,895],[5,"StunMessage",895],[5,"StunDecodeError",314,877],[5,"Error",850],[6,"Error",314],[5,"DecoderContext",894],[10,"Hasher",896],[5,"Vec",897],[5,"QuicClient",542],[5,"Endpoint",898],[5,"Server",561],[5,"CertificateDer",899],[5,"Metrics",561,900],[5,"StunMetrics",561,900],[5,"ClientConnRateLimit",561],[5,"ServerConfig",561],[10,"Default",901],[10,"Debug",850],[5,"Limits",561],[5,"ReloadingResolver",561,902],[6,"MaybeTlsStreamServer",561],[5,"RelayConfig",561],[5,"StunConfig",561],[5,"QuicConfig",561],[5,"TlsConfig",561],[6,"CertConfig",561],[17,"Value"],[5,"CertifiedKey",903],[10,"Loader",904],[10,"Any",862],[5,"IntoIter",905],[5,"Pin",906],[5,"Context",907],[6,"Poll",908],[5,"ReadBuf",909],[8,"Result",869],[5,"IoSlice",910],[5,"ClientHello",911],[5,"AbortOnDropHandle",912],[5,"ServerConfig",911],[15,"ReceivedPacket",161],[15,"Health",161],[15,"ServerRestarting",161],[15,"Manual",836],[15,"LetsEncrypt",836]],"r":[[6,313],[10,844],[13,845],[14,845],[15,845],[324,895],[325,894],[337,875],[338,877],[340,878],[501,913],[539,914],[540,914],[541,914],[563,902],[568,900],[573,902],[577,900]],"b":[[88,"impl-Debug-for-RelayMap"],[89,"impl-Display-for-RelayMap"],[90,"impl-Display-for-RelayNode"],[91,"impl-Debug-for-RelayNode"],[217,"impl-Debug-for-ClientError"],[218,"impl-Display-for-ClientError"],[222,"impl-From%3CError%3E-for-ClientError"],[223,"impl-From%3CError%3E-for-ClientError"],[224,"impl-From%3CError%3E-for-ClientError"],[225,"impl-From%3CError%3E-for-ClientError"],[439,"impl-Debug-for-TransactionId"],[440,"impl-Display-for-TransactionId"],[442,"impl-Debug-for-StunDecodeError"],[443,"impl-Display-for-StunDecodeError"],[444,"impl-Debug-for-Error"],[445,"impl-Display-for-Error"],[448,"impl-From%3C%5Bu8;+stun_rs::::types::%7Bimpl%2314%7D::%7Bconstant%230%7D%5D%3E-for-TransactionId"],[449,"impl-From%3C%26%5Bu8;+stun_rs::::types::%7Bimpl%2313%7D::%7Bconstant%230%7D%5D%3E-for-TransactionId"],[451,"impl-From%3CUserHash%3E-for-StunAttribute"],[452,"impl-From%3CMappedAddress%3E-for-StunAttribute"],[453,"impl-From%3CUserName%3E-for-StunAttribute"],[454,"impl-From%3CNonce%3E-for-StunAttribute"],[456,"impl-From%3CXorMappedAddress%3E-for-StunAttribute"],[457,"impl-From%3CPasswordAlgorithm%3E-for-StunAttribute"],[458,"impl-From%3CMessageIntegrity%3E-for-StunAttribute"],[459,"impl-From%3CPasswordAlgorithms%3E-for-StunAttribute"],[460,"impl-From%3CMessageIntegritySha256%3E-for-StunAttribute"],[461,"impl-From%3CUnknown%3E-for-StunAttribute"],[462,"impl-From%3CAlternateServer%3E-for-StunAttribute"],[463,"impl-From%3CErrorCode%3E-for-StunAttribute"],[464,"impl-From%3CSoftware%3E-for-StunAttribute"],[465,"impl-From%3CFingerprint%3E-for-StunAttribute"],[466,"impl-From%3CUnknownAttributes%3E-for-StunAttribute"],[467,"impl-From%3CRealm%3E-for-StunAttribute"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAOcBMQACAAMABwAAABIACQAdAA4ALQADADIAAAA1ABAARwAWAGcABAB3AAEAgAABAIUAFQCdAAQAvwAHAMgAAgDOABQA5wADAAABEgAeAQwALAEAAC8BAwA0AQAAZgEAAG4BGQCJAQAAiwEaALYBCADBAQEAxAEDAMkBCwDYAQYA+QEAAPwBHwAjAgUAKwIAAC4CAwBLAhkAawIIAHUCHgCZAgwApwIMAMkCAQDMAgoA5gIBAOwCAQDxAgQA/AIAAAsDKQA3AwwA","P":[[17,"T"],[28,""],[33,"T"],[38,""],[46,"K"],[48,""],[52,"T"],[62,"__D"],[64,""],[74,"K"],[86,""],[93,"T"],[98,"I,"],[99,""],[107,"U"],[112,""],[127,"__S"],[132,"T"],[137,""],[139,"U,T"],[144,"U"],[149,""],[156,"V"],[189,"S"],[190,"T"],[198,""],[200,"T"],[201,""],[205,"T"],[213,""],[226,"T"],[230,""],[235,"U"],[239,""],[244,""],[245,""],[254,""],[255,""],[256,"T"],[257,""],[258,"U,T"],[262,"U"],[266,""],[270,"V"],[285,"T"],[287,""],[288,"T"],[289,""],[290,"T"],[292,""],[294,"K"],[297,""],[298,"T"],[299,""],[300,"U"],[301,""],[302,"T"],[303,"U,T"],[304,"U"],[305,""],[307,"V"],[312,""],[365,"T"],[377,""],[381,"T"],[385,""],[390,"K"],[391,""],[394,"T"],[396,""],[397,"T"],[407,""],[415,"K"],[421,""],[446,"T"],[448,""],[450,"T"],[451,""],[455,"T"],[456,""],[468,"T"],[470,""],[471,"__H"],[472,""],[478,"U"],[484,""],[507,"T"],[511,""],[514,"U,T"],[515,""],[516,"U,T"],[521,"U"],[527,""],[533,"V"],[546,"T"],[550,""],[552,"T"],[553,""],[555,"U"],[556,""],[557,"U,T"],[558,"U"],[559,""],[560,"V"],[586,"T"],[616,""],[621,"T"],[624,""],[630,"EC,EA"],[631,""],[632,"T"],[635,"Loader,Deref::Target"],[636,"T"],[664,""],[680,"Loader"],[681,""],[682,"EC,EA"],[684,""],[686,"EC,EA"],[687,""],[689,"EC,EA"],[690,""],[692,"T"],[706,""],[714,"Loader"],[715,""],[726,"U"],[741,""],[761,"Loader"],[771,""],[772,"EC,EA"],[774,""],[778,"T"],[781,"U,T"],[794,"U"],[807,""],[822,"V"],[838,""]]}],["iroh_test",{"t":"FQNNNNCNCNNNNHHHHH","n":["CallOnDrop","assert_eq_hex","borrow","borrow_mut","drop","from","hexdump","into","logging","new","try_from","try_into","type_id","parse_hexdump","print_hexdump","setup","setup_multithreaded","testing_subscriber"],"q":[[0,"iroh_test"],[13,"iroh_test::hexdump"],[15,"iroh_test::logging"],[18,"core::ops::function"],[19,"core::result"],[20,"core::any"],[21,"alloc::vec"],[22,"anyhow"],[23,"alloc::string"],[24,"core::convert"],[25,"tracing_core::dispatcher"],[26,"tracing_core::subscriber"]],"i":"``f000`0`0000`````","f":"``{b{{b{c}}}{}}{{{b{d}}}{{b{dc}}}{}}{{{b{df}}}h}{cc{}}`{{}c{}}`{cfj}{c{{l{e}}}{}{}}{{}{{l{c}}}{}}{bn}{{{b{A`}}}{{Af{{Ad{Ab}}}}}}{{ce}Ah{{Al{{Aj{Ab}}}}}{{Al{{Aj{An}}}}}}{{}B`}{{}h}{{}{{`{Bb}}}}","D":"Ad","p":[[1,"reference",null,null,1],[0,"mut"],[5,"CallOnDrop",0],[1,"unit"],[10,"FnOnce",18],[6,"Result",19,null,1],[5,"TypeId",20],[1,"str"],[1,"u8"],[5,"Vec",21],[8,"Result",22],[5,"String",23],[1,"slice"],[10,"AsRef",24],[1,"usize"],[5,"DefaultGuard",25],[10,"Subscriber",26]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAAgABAABAAAAAwACAAcAAAAKAAMA","P":[[2,"T"],[4,""],[5,"T"],[7,"U"],[9,""],[10,"U,T"],[11,"U"],[12,""],[14,","],[15,""]]}]]'));
+var searchIndex = new Map(JSON.parse('[["bulk",{"t":"HHHHH","n":["collect_and_print","main","run_iroh","run_quinn","run_s2n"],"q":[[0,"bulk"],[5,"core::option"],[6,"struct_iterable_internal"],[7,"iroh_bench"],[8,"anyhow"],[9,"iroh_bench::s2n"]],"i":"`````","f":"{{{d{b}}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NNONMNNONOONOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNOOFFFFNNNNOOOOOOOOONNNNNNNNOONNNNNNNNNNNNOOONNNNNNNNNNNNOOOONNNNONNNNONNNNNNNNONNNNNNNNNNNNOOONNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNOOOOOOONNNNOKFFNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFNNNNHNNNNNNNNNNNNNNNNOONONHHHNNNNNNNNNFFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["Decode","DecodeInvalidLength","Endpoint","Key","KeyParsingError","LENGTH","NodeAddr","NodeId","PublicKey","RelayMap","RelayMode","RelayNode","RelayUrl","RelayUrlParseError","SecretKey","__clone_box","","","","","","as_bytes","as_ref","borrow","","","","","","","","","borrow_mut","","","","","","","","clone","","","","","","clone_into","","","","","","clone_to_uninit","","","","","","cmp","","","","compare","","","","contains_node","default_from_node","defaults","deref","","","","","","","","","deref_mut","","","","","","","","deserialize","","","","","direct_addresses","","discovery","dns","drop","","","","","","","","empty","endpoint","eq","","","","","equivalent","","","","","","","","","","","","","","","fmt","","","","","","","","","","","","","","","fmt_short","from","","","","","","","","","","","","","","","","","","","","from_bytes","","from_nodes","from_parts","from_ref","","","","","","from_str","","","from_url","generate","get_node","hash","","init","","","","","","","","into","","","","","","","","is_empty","","len","metrics","new","node_id","nodes","partial_cmp","","","","protocol","public","","quic","relay_url","","secret","serialize","","","","","sign","source","","stun_only","stun_port","test_utils","to_bytes","to_owned","","","","","","to_string","","","","","","","try_from","","","","","","","","","","","try_into","","","","","","","","type_id","","","","","","","","url","urls","verify","vzip","","","","","","","","watchable","with_direct_addresses","with_relay_url","DEFAULT_HTTPS_PORT","DEFAULT_HTTP_PORT","DEFAULT_METRICS_PORT","DEFAULT_RELAY_QUIC_PORT","DEFAULT_STUN_PORT","prod","staging","AP_RELAY_HOSTNAME","EU_RELAY_HOSTNAME","NA_RELAY_HOSTNAME","default_ap_relay_node","default_eu_relay_node","default_na_relay_node","default_relay_map","EU_RELAY_HOSTNAME","NA_RELAY_HOSTNAME","default_eu_relay_node","default_na_relay_node","default_relay_map","ConcurrentDiscovery","Discovery","DiscoveryItem","__clone_box","add","borrow","","borrow_mut","","clone","clone_into","clone_to_uninit","default","deref","","deref_mut","","dns","drop","","empty","fmt","","from","","","from_ref","from_services","init","","into","","last_updated","local_swarm_discovery","node_addr","pkarr","provenance","publish","","resolve","","static_provider","subscribe","","to_owned","try_from","","try_into","","type_id","","vzip","","DnsDiscovery","N0_DNS_NODE_ORIGIN_PROD","N0_DNS_NODE_ORIGIN_STAGING","borrow","borrow_mut","deref","deref_mut","drop","fmt","from","init","into","n0_dns","new","resolve","try_from","try_into","type_id","vzip","LocalSwarmDiscovery","NAME","borrow","borrow_mut","deref","deref_mut","drop","fmt","from","init","into","new","publish","resolve","subscribe","try_from","try_into","type_id","vzip","DEFAULT_PKARR_TTL","DEFAULT_REPUBLISH_INTERVAL","N0_DNS_PKARR_RELAY_PROD","N0_DNS_PKARR_RELAY_STAGING","PkarrPublisher","PkarrRelayClient","PkarrResolver","__clone_box","","","borrow","","","borrow_mut","","","clone","","","clone_into","","","clone_to_uninit","","","deref","","","deref_mut","","","dht","drop","","","","fmt","","","from","","","from_ref","","","init","","","into","","","n0_dns","","new","","","publish","","resolve","","to_owned","","","try_from","","","try_into","","","type_id","","","update_addr_info","vzip","","","with_options","Builder","DhtDiscovery","__clone_box","borrow","","borrow_mut","","build","builder","client","clone","clone_into","clone_to_uninit","default","","deref","","deref_mut","","dht","drop","","fmt","","from","","from_ref","include_direct_addresses","init","","initial_publish_delay","into","","n0_dns_pkarr_relay","pkarr_relay","publish","republish_delay","resolve","secret_key","to_owned","try_from","","try_into","","ttl","type_id","","vzip","","PROVENANCE","StaticProvider","add_node_addr","borrow","borrow_mut","default","deref","deref_mut","drop","fmt","from","from_node_addrs","get_node_addr","init","into","new","publish","remove_node_addr","resolve","set_node_addr","try_from","try_into","type_id","vzip","DnsResolver","ResolverExt","default_resolver","lookup_by_id","","lookup_by_id_staggered","","lookup_by_name","","lookup_by_name_staggered","","lookup_ipv4","","lookup_ipv4_ipv6","","lookup_ipv4_ipv6_staggered","","lookup_ipv4_staggered","","lookup_ipv6","","lookup_ipv6_staggered","","node_info","resolver","Addr","IROH_TXT_NAME","IrohAttr","NodeInfo","Relay","TxtAttrs","__clone_box","as_ref","attrs","borrow","","","borrow_mut","","","clone","clone_into","clone_to_uninit","cmp","compare","deref","","","deref_mut","","","direct_addresses","drop","","","eq","","equivalent","","","","","","fmt","","","","from","","","","","","from_hickory_records","","from_parts","from_pkarr_signed_packet","","from_ref","from_str","from_strings","from_z32","hash","init","","","into","","","lookup_by_id","lookup_by_name","new","node_id","","partial_cmp","relay_url","to_hickory_records","","to_owned","to_pkarr_signed_packet","","to_string","to_z32","try_from","","","","try_into","","","type_id","","","vzip","","","AEAD_LIMIT_REACHED","APPLICATION_ERROR","Accept","AcceptBi","AcceptUni","AckFrequencyConfig","AeadKey","App","ApplicationClose","ApplicationClosed","Builder","CONNECTION_ID_LIMIT_ERROR","CONNECTION_REFUSED","CRYPTO_BUFFER_EXCEEDED","CallMeMaybe","Chunk","CidsExhausted","ClosedStream","","","Connecting","Connection","ConnectionClose","ConnectionClosed","ConnectionError","ConnectionLost","","","","","ConnectionStats","ConnectionType","ControlMsg","Controller","ControllerFactory","CryptoError","CryptoServerConfig","Custom","Default","Direct","DirectAddr","DirectAddrInfo","DirectAddrType","Disabled","","Discovery","ENV_FORCE_STAGING_RELAYS","Endpoint","ExportKeyingMaterialError","FINAL_SIZE_ERROR","FLOW_CONTROL_ERROR","FRAME_ENCODING_ERROR","FinishedEarly","FrameStats","HandshakeTokenKey","INTERNAL_ERROR","INVALID_TOKEN","IllegalOrderedRead","Incoming","IncomingFuture","KEY_UPDATE_ERROR","Local","LocallyClosed","MAX","MAX_SIZE","Mixed","MtuDiscoveryConfig","NO_ERROR","NO_VIABLE_PATH","NamedApp","None","OpenBi","OpenUni","PROTOCOL_VIOLATION","PathStats","Ping","Pong","Portmapped","Read","ReadDatagram","ReadError","","ReadExactError","ReadToEndError","RecvStream","Relay","","RelayMode","RemoteInfo","Reset","","ResetError","RetryError","STREAM_LIMIT_ERROR","STREAM_STATE_ERROR","Saved","SendDatagramError","SendStream","ServerConfig","Source","Staging","Stopped","StoppedError","StreamId","Stun","Stun4LocalPort","TRANSPORT_PARAMETER_ERROR","TimedOut","TooLarge","TooLong","TransportConfig","TransportError","","TransportErrorCode","Udp","UdpStats","Unknown","UnsupportedByPeer","UnsupportedVersion","VarInt","VersionMismatch","WeakConnectionHandle","WriteError","Written","ZeroRttAccepted","ZeroRttRejected","","","","__clone_box","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","accept","","accept_bi","accept_uni","accept_with","ack_eliciting_threshold","ack_frequency","ack_frequency_config","acks","add_discovery","add_node_addr","add_node_addr_with_source","addr","","addrs","aead_from_hkdf","allow_spin","alpn","alpns","bind","bind_addr_v4","bind_addr_v6","black_hole_cooldown","black_holes_detected","borrow","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bound_sockets","build","builder","bytes","","","chunks","clear_discovery","clone","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_box","clone_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_to_uninit","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","close","","close_reason","closed","cmp","","","","code","compare","","","","congestion_controller_factory","congestion_events","congestion_state","conn_type","","connect","connection_close","crypto","","","crypto_buffer_size","current_mtu","cwnd","data_blocked","datagram","datagram_receive_buffer_size","datagram_send_buffer_size","datagram_send_buffer_space","datagrams","default","","","","","","","","","","","default_relay_mode","deref","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","deref_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","deserialize","","","","","dir","direct_addresses","discovery","","discovery_dht","discovery_local_network","discovery_n0","dns_resolver","","drop","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","enable_segmentation_offload","eq","","","","","","","","","","","","","","","","","","","","","","","","","","equivalent","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","error_code","","export_keying_material","finish","fmt","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","force_staging_infra","frame","frame_rx","frame_tx","frame_type","from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","from_ref","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","from_u32","from_u64","from_u64_unchecked","get_remote_node_id","handshake_data","","handshake_done","has_send_address","hash","","","","","home_relay","id","","ignore","immediate_ack","incoming_buffer_size","incoming_buffer_size_total","index","init","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","initial_keys","initial_mtu","initial_rtt","initial_window","initiator","insecure_skip_relay_cert_verify","interval","into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","into_0rtt","into_any","into_future","","","","","","","","","","into_incoming","into_inner","ios","is_0rtt","is_alive","is_closed","join","","","","","","","","","keep_alive_interval","keylog","known_nodes","last_alive","last_control","last_payload","last_received","last_used","latency","","local_ip","","","lost_bytes","lost_packets","lost_plpmtud_probes","make_server_config","max_ack_delay","max_concurrent_bidi_streams","max_concurrent_uni_streams","max_data","max_datagram_size","max_idle_timeout","max_incoming","max_stream_data","max_streams_bidi","max_streams_uni","migration","min_mtu","minimum_change","mtu_discovery_config","network_change","network_path_changed","new","","new_connection_id","new_token","node_addr","node_id","","observed_addr","observed_external_addr","offset","on_ack","on_congestion_event","on_end_acks","on_mtu_update","on_sent","open","open_bi","open_uni","packet_threshold","partial_cmp","","","","path","path_challenge","path_response","peer_identity","persistent_congestion_threshold","ping","poll","","","","","","","","","poll_flush","poll_read","","poll_shutdown","poll_write","","preferred_address_v4","preferred_address_v6","priority","proxy_from_env","proxy_url","race","","","","","","","","","read","read_chunk","read_chunks","read_datagram","read_exact","read_to_end","reason","","","receive_observed_address_reports","receive_window","received_reset","refuse","relay_map","relay_mode","relay_url","remote_address","","","remote_address_validated","remote_info","remote_info_iter","reordering_threshold","reset","reset_stream","retire_connection_id","retry","retry_tag","retry_token_lifetime","rtt","","saturating_add","seal","secret_key","","send_datagram","send_datagram_wait","send_observed_address_reports","send_window","sent_packets","sent_plpmtud_probes","serialize","","","","","set_alpns","set_max_concurrent_bi_streams","set_max_concurrent_uni_streams","set_priority","set_receive_window","source","","","","","","","","sources","","stable_id","start_session","stats","stop","stop_sending","stopped","stream","stream_data_blocked","stream_receive_window","streams_blocked_bidi","streams_blocked_uni","time_threshold","to_owned","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","to_string","","","","","","","","","","","","","","","","","","","","token_key","transport","transport_config","","try_from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_poll","","","","","","","typ","type_id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","udp_rx","udp_tx","upper_bound","vzip","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","weak_handle","window","with_crypto","with_single_cert","write","write_all","write_all_chunks","write_chunk","write_chunks","name","","MagicsockMetrics","NetReportMetrics","PortmapMetrics","RelayMetrics","__clone_box","","","","accepts","actor_link_change","actor_tick_direct_addr_heartbeat","actor_tick_direct_addr_update_receiver","actor_tick_main","actor_tick_msg","actor_tick_other","actor_tick_portmap_changed","actor_tick_re_stun","borrow","","","","borrow_mut","","","","bytes_recv","bytes_sent","clone","","","","clone_into","","","","clone_to_uninit","","","","connection_became_direct","connection_handshake_success","conns_rx_ratelimited_total","default","","","","deref","","","","deref_mut","","","","disco_packets_dropped","disco_packets_recv","disco_packets_sent","disconnects","drop","","","","external_address_updated","fmt","","","","frames_rx_ratelimited_total","from","","","","from_ref","","","","got_ping","init","","","","into","","","","iter","","","","local_port_updates","mapping_attempts","mapping_failures","name","","","","nodes_contacted","nodes_contacted_directly","num_direct_conns_added","num_direct_conns_removed","num_relay_conns_added","num_relay_conns_removed","other_packets_dropped","other_packets_recv","other_packets_sent","pcp_available","pcp_probes","probes_started","re_stun_calls","recv_data_ipv4","recv_data_ipv6","recv_data_relay","recv_datagrams","recv_disco_bad_key","recv_disco_bad_parse","recv_disco_call_me_maybe","recv_disco_call_me_maybe_bad_disco","recv_disco_ping","recv_disco_pong","recv_disco_relay","recv_disco_udp","recv_gro_datagrams","relay_accepts","relay_home_change","reports","reports_full","send_data","send_data_network_down","send_disco_relay","send_disco_udp","send_ipv4","send_ipv6","send_packets_dropped","send_packets_recv","send_packets_sent","send_relay","send_relay_error","sent_disco_call_me_maybe","sent_disco_ping","sent_disco_pong","sent_disco_relay","sent_disco_udp","sent_pong","stun_packets_dropped","stun_packets_recv_ipv4","stun_packets_recv_ipv6","stun_packets_sent_ipv4","stun_packets_sent_ipv6","to_owned","","","","try_from","","","","try_into","","","","type_id","","","","unique_client_keys","unknown_frames","update_direct_addrs","upnp_available","upnp_gateway_updated","upnp_probes","upnp_probes_failed","vzip","","","","websocket_accepts","ProtocolHandler","Router","RouterBuilder","__clone_box","accept","","borrow","","borrow_mut","","builder","clone","clone_into","clone_to_uninit","deref","","deref_mut","","drop","","endpoint","","fmt","","from","","from_ref","init","","into","","is_shutdown","new","shutdown","","spawn","to_owned","try_from","","try_into","","type_id","","vzip","","CleanupDropGuard","DnsPkarrServer","borrow","","borrow_mut","","create_dns_resolver","deref","","deref_mut","","discovery","dns_resolver","drop","","fmt","","from","","init","","into","","nameserver","node_origin","on_node","pkarr_url","run","run_relay_server","run_relay_server_with","run_relay_server_with_stun","run_with_origin","try_from","","try_into","","type_id","","vzip","","Disconnected","WatchInitializedFut","WatchNextFut","Watchable","Watcher","WatcherStream","__clone_box","","","borrow","","","","","","borrow_mut","","","","","","chain","clone","","","clone_into","","","clone_to_uninit","","","default","deref","","","","","","deref_mut","","","","","","drop","","","","","","fmt","","","","","","","from","","","","","","from_ref","","","get","","init","","","","","","initialized","into","","","","","","into_future","","into_stream","join","","merge","new","poll","","poll_next","race","","ratelimit_stream","ratelimit_stream_with_jitter","set","stream","stream_updates_only","to_owned","","","to_string","try_from","","","","","","try_into","","","","","","try_poll","","try_poll_next","type_id","","","","","","updated","vzip","","","","","","watch","zip"],"q":[[0,"iroh"],[279,"iroh::defaults"],[286,"iroh::defaults::prod"],[293,"iroh::defaults::staging"],[298,"iroh::discovery"],[351,"iroh::discovery::dns"],[370,"iroh::discovery::local_swarm_discovery"],[389,"iroh::discovery::pkarr"],[466,"iroh::discovery::pkarr::dht"],[515,"iroh::discovery::static_provider"],[539,"iroh::dns"],[564,"iroh::dns::node_info"],[655,"iroh::endpoint"],[2181,"iroh::endpoint::Source"],[2183,"iroh::metrics"],[2359,"iroh::protocol"],[2404,"iroh::test_utils"],[2444,"iroh::watchable"],[2576,"dyn_clone::sealed"],[2577,"iroh_base::key"],[2578,"iroh_base::node_addr"],[2579,"iroh_base::relay_url"],[2580,"iroh_relay::relay_map"],[2581,"core::cmp"],[2582,"core::result"],[2583,"serde::de"],[2584,"core::net::socket_addr"],[2585,"core::iter::traits::iterator"],[2586,"core::fmt"],[2587,"alloc::string"],[2588,"ed25519_dalek::verifying"],[2589,"signature::error"],[2590,"data_encoding"],[2591,"ed25519_dalek::signing"],[2592,"iroh::magicsock::node_map::node_state"],[2593,"core::option"],[2594,"iroh_base::ticket::node"],[2595,"url"],[2596,"url::parser"],[2597,"anyhow"],[2598,"alloc::sync"],[2599,"core::convert"],[2600,"core::iter::traits::collect"],[2601,"rand_core"],[2602,"core::hash"],[2603,"serde::ser"],[2604,"ed25519"],[2605,"core::error"],[2606,"core::any"],[2607,"alloc::boxed"],[2608,"alloc::vec"],[2609,"alloc::collections::btree::set"],[2610,"futures_lite::stream"],[2611,"pkarr::signed_packet"],[2612,"futures_core::stream"],[2613,"core::time"],[2614,"pkarr::client"],[2615,"core::future::future"],[2616,"core::net::ip_addr"],[2617,"hickory_proto::rr::domain::name"],[2618,"core::clone"],[2619,"hickory_resolver::resolver"],[2620,"alloc::collections::btree::map"],[2621,"core::str::traits"],[2622,"hickory_proto::rr::resource"],[2623,"iroh_quinn_proto::connection"],[2624,"iroh_quinn::connection"],[2625,"iroh_quinn_proto::config"],[2626,"iroh_quinn_proto::varint"],[2627,"core::ops::function"],[2628,"core::marker"],[2629,"iroh_quinn_proto::crypto"],[2630,"iroh_quinn_proto::congestion"],[2631,"std::time"],[2632,"iroh_quinn::recv_stream"],[2633,"iroh_quinn::send_stream"],[2634,"iroh_quinn_proto::connection::stats"],[2635,"iroh_quinn_proto::connection::streams::send"],[2636,"iroh_quinn_proto::connection::streams"],[2637,"iroh::magicsock::node_map"],[2638,"iroh_quinn_proto::frame"],[2639,"iroh_quinn_proto"],[2640,"iroh::magicsock"],[2641,"iroh_quinn_proto::connection::assembler"],[2642,"iroh_quinn::incoming"],[2643,"iroh_quinn_proto::connection::streams::recv"],[2644,"ring::error"],[2645,"iroh_quinn_proto::transport_parameters"],[2646,"iroh_quinn_proto::shared"],[2647,"futures_concurrency::future::join::tuple"],[2648,"core::future::into_future"],[2649,"tokio::sync::watch"],[2650,"iroh_quinn_proto::connection::paths"],[2651,"core::pin"],[2652,"core::task::wake"],[2653,"core::task::poll"],[2654,"std::io::error"],[2655,"tokio::io::read_buf"],[2656,"futures_concurrency::future::race::tuple"],[2657,"bytes::bytes"],[2658,"rustls_pki_types"],[2659,"rustls::error"],[2660,"alloc::vec::into_iter"],[2661,"futures_lite::future"],[2662,"iroh::test_utils::dns_and_pkarr_servers"],[2663,"iroh_relay::server"],[2664,"futures_concurrency::stream::chain::tuple"],[2665,"futures_concurrency::stream::into_stream"],[2666,"core::default"],[2667,"futures_concurrency::stream::merge::tuple"],[2668,"governor::state::direct"],[2669,"governor::state"],[2670,"governor::state::direct::streams"],[2671,"governor::clock::with_std"],[2672,"governor::middleware"],[2673,"governor::jitter"],[2674,"futures_concurrency::stream::zip::tuple"],[2675,"iroh_relay::defaults"],[2676,"iroh::test_utils::dns_server"]],"i":"Cb0`0`h`````````0AbAdAfAhAj55556432Cd21675430216543216543216543216431643122`675433021675430216543144``675430212`643216664443332221116677554330022116667775554444443300216524654321653252636754302167543021422`4426431`6514456543157011`5654321675302166675543021675430216754302112667543021`44``````````````````````FhFd101011101010`100101001010101`1`1Ff101`01221212121```Gj000000000000000``Gl0000000000000000```````GnH`Hb210210210210210210210`221021021021021021021210201021021021021022102``Hn0Hl10010111101010010101010100100010101101001010Ib`0000000000000000000000```IfId101010101010101010``Jf```0`Df1Jh21021011122210210121021222111221021110010010120`22102100010121101102`2210210210210A@n0`````A@f`Kn`222Ol`1`NjO````3`Nf2Nl2Ob```````AAf0A@b```419```:::Nn``;;7``;AAd:Lj03`==<3``=`::1Nh``3```4=``:<``>>=````59``22><80``<`=`28``<````:796L`91;84:72OdOfOhOjOlOnA@`D`=A@dA@fKnLhMnLfA@hA@jA@lA@nAA`AAbAAdGbAAf1KjL`01=OfLl1Ln66On9D`Mf4Kl4444MnOhADd:AEdAEbLdLbAElABdNfABfAAlNhNjNlNnAAnO`ObLlLjAB`OdOfOhOjOlOnA@`D`A@bA@dA@fKnLhMnLfABbABhABjA@hA@jA@lA@nAA`AAbAAdLnGbKhKjABlKlAAfADdL`AEdAEbLdLbAElABdNfABfAAlNhNjNlNnAAnO`ObLlLjAB`OdOfOhOjOlOnA@`D`A@bA@dA@fKnLhMnLfABbABhABjA@hA@jA@lA@nAA`AAbAAdLnGbKhKjABlKlAAf5N`6AB`OdA@`0:L`NfNhNjNlNnO`ObLj:OfOhOjOlOn>D`A@bA@dA@fKnLhMnLfA@hA@jA@lA@nAA`AAbAAdGbAAfNdL`NfNhNjNlNnO`ObLjOdOfOhOjOlOnA@`D`A@bA@dA@fKnLhMnLfA@hA@jA@lA@nAA`AAbAAdGbAAfL`NfNhNjNlNnO`ObLjOdOfOhOjOlOnA@`D`A@bA@dA@fKnLhMnLfA@hA@jA@lA@nAA`AAbAAdGbAAfL`200Lj65480654LlOh35D`6Of;0?32200335Od45013OjA@`A@bLhMnLn`ADd=AEdAEbLdLbAElABdNfABfAAlNhNjNlNnAAnO`ObLlLjAB`OdOfOhOjOlOnA@`D`A@bA@dA@fKnLhMnLfABbABhABjA@hA@jA@lA@nAA`AAbAAdLnGbKhKjABlKlAAfADdL`AEdAEbLdLbAElABdNfABfAAlNhNjNlNnAAnO`ObLlLjAB`OdOfOhOjOlOnA@`D`A@bA@dA@fKnLhMnLfABbABhABjA@hA@jA@lA@nAA`AAbAAdLnGbKhKjABlKlAAfOlOnD`A@bA@f>:;:;;;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dL`AEdAEbLdLbAElABdNfABfAAlNhNjNlNnAAnO`ObLlLj000AB`OdOfOhOjOlOnA@`D`A@bA@dA@fKnLhMnLfABbABhABjA@hA@jA@lA@nAA`AAbAAdLnGbKhKjABlKlAAfADdL`AEdAEbLdLbAElABdNfABfAAlNhNjNlNnAAnO`ObLlLjAB`OdOfOhOjOlOnA@`D`A@bA@dA@fKnLhMnLfABbABhABjA@hA@jA@lA@nAA`AAbAAdLnGbKhKjABlKlAAfAEdAEbLdLbAEl76=ADdL`65432ABdNfABfAAlNhNjNlNnAAnO`ObLlLjAB`OdOfOhOjOlOnA@`D`A@bA@dA@fKnLhMnLfABbABhABjA@hA@jA@lA@nAA`AAbAAdLnGbKhKjABlKlAAfOj0MnADdL`AEdAEbLdLbAElABdNfABfAAlNhNjNlNnAAnO`ObLlLjAB`OdOfOhOjOlOnA@`D`A@bA@dA@fKnLhMnLfABbABhABjA@hA@jA@lA@nAA`AAbAAdLnGbKhKjABlKlAAfL`NdLf0AAn0000AKjAKl````AGhAGjAGlAGn011111111321032100032103210321011032103210321000003210332100321032100321032103210333321011111100033311111111111111012211111100011111110222223210321032103210001333332100```AHjAHbAHf202022222020202020202202020120220202020``AHnAHl10`101000101010101000000```010101010``````AIjAAhAIl21AJ`AJb2AJd542130354354354355421305421305421305421300542130543545421304542130213213521321335445430542130542130213542130454213053","f":"```````````````{{bd}f}00000{{{b{h}}}{{b{{l{j}}}}}}{{{b{h}}}{{b{{n{j}}}}}}1{b{{b{c}}}{}}0000000{{{b{A`}}}{{b{A`c}}}{}}0000000{{{b{h}}}h}{{{b{Ab}}}Ab}{{{b{Ad}}}Ad}{{{b{Af}}}Af}{{{b{Ah}}}Ah}{{{b{Aj}}}Aj}{{b{b{A`c}}}f{}}00000{{bj}f}00000{{{b{h}}{b{h}}}Al}{{{b{Ad}}{b{Ad}}}Al}{{{b{Af}}{b{Af}}}Al}{{{b{Aj}}{b{Aj}}}Al}{{b{b{c}}}Al{}}000{{{b{Ah}}{b{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df}}{b{Ab}}Hh}{{Gf{Hd}}}}{{{b{{Jh{c}}}}{b{Ab}}Hh}{{Gf{Hd}}}{JlJnK`Kb}}{bCf}{{{b{Gd}}}Cf}{{{b{Ef}}}{{Bd{Jfc}}}{}}{c{{Bd{e}}}{}{}}00{{}{{Bd{c}}}{}}00{bFb}00{{}c{}}00`````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````{{bd}f}00000000000000000000000000000000{{{b{Gb}}}Kh}{Kj{{Gf{KlKn}}}}{{{b{L`}}}Lb}{{{b{L`}}}Ld}{{Kj{E`{Lf}}}{{Gf{KlKn}}}}{{{b{A`Lh}}Lj}{{b{A`Lh}}}}`{{{b{A`Ll}}{Db{Lh}}}{{b{A`Ll}}}}`{{Lne}LnFf{{M`{{b{Ab}}}{{Ih{{Db{c}}}}}}MbMd}}{{{b{Gb}}Ad}{{Gf{f}}}}{{{b{Gb}}Ad{b{Ef}}}{{Gf{f}}}}```{{{b{Mf}}{b{{n{j}}}}}{{Fl{Mh}}}}{{{b{A`Ll}}An}{{b{A`Ll}}}}{{{b{A`Kl}}}{{Gf{{Fn{j}}}}}}{{Ln{Fn{{Fn{j}}}}}Ln}{Ln{{Gf{Gb}}}}{{LnMj}Ln}{{LnMl}Ln}{{{b{A`Mn}}Hj}{{b{A`Mn}}}}`{b{{b{c}}}{}}0000000000000000000000000000000000000000000000000000{{{b{A`}}}{{b{A`c}}}{}}0000000000000000000000000000000000000000000000000000{{{b{Gb}}}{{Dd{Bj{Db{Bj}}}}}}{{{E`{N`}}NbB`}{{Fl{Nd}}}}{{}Ln}````{LnLn}{{{b{L`}}}L`}{{{b{Nf}}}Nf}{{{b{Nh}}}Nh}{{{b{Nj}}}Nj}{{{b{Nl}}}Nl}{{{b{Nn}}}Nn}{{{b{O`}}}O`}{{{b{Ob}}}Ob}{{{b{Lj}}}Lj}{{{b{Od}}}Od}{{{b{Of}}}Of}{{{b{Oh}}}Oh}{{{b{Oj}}}Oj}{{{b{Ol}}}Ol}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{{b{F`}}}}}}{{{b{Nl}}}{{Db{{b{F`}}}}}}{{{b{Nn}}}{{Db{{b{F`}}}}}}{{{b{O`}}}{{Db{{b{F`}}}}}}{{{b{Ob}}}{{Db{{b{F`}}}}}}{{{b{Kn}}}{{Db{{b{F`}}}}}}{{{b{D`}}}{{Fn{{Dd{A@fHj}}}}}}`{{{b{L`}}}Bb}{{{E`{ACl}}Hh{b{AFj}}}{{Fl{AFl}}}}{{{b{L`}}}Oj}{{{b{A`AAl}}Lj}{{Bd{fA@d}}}}`{{{b{A`AAn}}}{{Bd{{Db{Lj}}Ob}}}}``{{{b{A`Ll}}Lj}{{b{A`Ll}}}}``{{{b{A`Ll}}AFn}{{b{A`Ll}}}}{bc{}}00000000000000000000000000000000{bCf}0000000000000000000{{{b{A`Lf}}{E`{Mf}}}{{b{A`Lf}}}}`{{{b{A`Lf}}{E`{Ll}}}{{b{A`Lf}}}}{{LnLl}Ln}{c{{Bd{e}}}{}{}}000000000000000000{Il{{Bd{LjACh}}}}1{AG`{{Bd{LjACh}}}}{Bb{{Bd{LjACh}}}}333333333333333333333333333333333{{}{{Bd{c}}}{}}0000000000000000000000000000000000000000000000000000{{{AEf{{b{A`c}}}}{b{A`AEh}}}AEj{}}000000`{bFb}0000000000000000000000000000000000000000000000000000``{{{b{A`Mn}}B`}{{b{A`Mn}}}}{{}c{}}0000000000000000000000000000000000000000000000000000{{{b{L`}}}ABd}{{{b{Nd}}}Il}{{{E`{ACl}}}Lf}{{{Fn{AGb}}AGd}{{Bd{LfAGf}}}}{{{b{A`AAn}}{b{{n{j}}}}}{{Bd{BbO`}}}}{{{b{A`AAn}}{b{{n{j}}}}}{{Bd{fO`}}}}{{{b{A`AAn}}{b{A`{n{AFf}}}}}{{Bd{fO`}}}}{{{b{A`AAn}}AFf}{{Bd{fO`}}}}{{{b{A`AAn}}{b{A`{n{AFf}}}}}{{Bd{A@`O`}}}}``````{{bd}f}000`````````{b{{b{c}}}{}}000{{{b{A`}}}{{b{A`c}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{}c{}}{c{{ADh{e}}}ADjIj}0{e{{AJh{cg}}}{}{{AIf{}{{Bh{c}}}}}{{AIh{}{{Bh{c}}}}}}{c{{AIj{c}}}{JbAJf}}{{{AEf{{b{A`{AJ`{c}}}}}}{b{A`AEh}}}{{AEj{e}}}{JbAJf}{}}{{{AEf{{b{A`{AJb{c}}}}}}{b{A`AEh}}}{{AEj{e}}}{JbAJf}{}}{{{AEf{{b{A`{AIl{c}}}}}}{b{A`AEh}}}{{AEj{{Db{e}}}}}{JbAJf}{}}{e{{AFd{cg}}}{}{{ADj{}{{Ih{c}}}}}{{Ij{}{{Ih{c}}}}}}0{{{b{{AJl{AJjceg}}}}}{{AJn{iceg}}}AK`AKbAKd{}}{{{b{{AJl{AJjceg}}}}AKf}{{AJn{iceg}}}AK`AKbAKd{}}{{{b{{AIj{c}}}}c}{{Bd{cc}}}{JbAJf}}{{{AAh{c}}}{{AIl{c}}}{JbAJf}}0{bc{}}00{bCf}{c{{Bd{e}}}{}{}}00000{{}{{Bd{c}}}{}}00000{{{AEf{{b{A`c}}}}{b{A`AEh}}}AEj{}}0{{{AEf{{b{A`c}}}}{b{A`AEh}}}{{AEj{{Db{Bd}}}}}{}}{bFb}00000{{{b{A`{AAh{c}}}}}{{AJ`{c}}}{JbAJf}}{{}c{}}00000{{{b{{AIj{c}}}}}{{AAh{c}}}{JbAJf}}{e{{AKh{g}}}{}{{AIf{}{{Bh{c}}}}}{{AIh{}{{Bh{c}}}}}}","D":"FD`","p":[[1,"reference",null,null,1],[5,"Private",2576],[1,"unit"],[5,"PublicKey",0,2577],[1,"u8"],[1,"array"],[1,"slice"],[0,"mut"],[5,"SecretKey",0,2577],[5,"NodeAddr",0,2578],[5,"RelayUrl",0,2579],[5,"RelayMap",0,2580],[5,"RelayNode",0,2580],[6,"Ordering",2581],[1,"bool"],[1,"u16"],[1,"usize"],[6,"Result",2582,null,1],[10,"Deserializer",2583],[17,"Item"],[6,"SocketAddr",2584],[10,"Iterator",2585],[5,"Formatter",2586],[5,"Error",2586],[6,"KeyParsingError",0,2577],[5,"RelayUrlParseError",0,2579],[5,"String",2587],[5,"VerifyingKey",2588],[5,"Error",2589],[5,"DecodeError",2590],[5,"SigningKey",2591],[5,"RemoteInfo",655,2592],[6,"Option",2593,null,1],[1,"tuple",null,null,1],[5,"NodeInfo",564],[5,"NodeTicket",2594],[5,"Url",2595],[6,"ParseError",2596],[5,"Error",2597],[5,"Arc",2598,null,1],[10,"Into",2599],[10,"IntoIterator",2600],[1,"str"],[10,"CryptoRngCore",2601],[10,"Hasher",2602],[10,"Serializer",2603],[5,"Signature",2604],[10,"Error",2605],[5,"TypeId",2606],[5,"ConcurrentDiscovery",298],[10,"Discovery",298],[5,"DiscoveryItem",298],[8,"Result",2586],[5,"Box",2607,null,1],[5,"Vec",2608],[5,"BTreeSet",2609],[5,"Endpoint",655],[8,"NodeId",0,2577],[8,"Result",2597],[8,"Boxed",2610],[5,"DnsDiscovery",351],[5,"LocalSwarmDiscovery",370],[5,"PkarrPublisher",389],[5,"PkarrResolver",389],[5,"PkarrRelayClient",389],[5,"SignedPacket",2611],[8,"BoxStream",2612],[1,"u32"],[5,"Duration",2613],[5,"Builder",466],[5,"DhtDiscovery",466],[5,"PkarrClient",2614],[5,"StaticProvider",515],[8,"DnsResolver",539],[10,"ResolverExt",539],[17,"Output"],[10,"Future",2615,null,1],[1,"u64"],[6,"IpAddr",2616],[10,"IntoName",2617],[10,"Clone",2618],[8,"TokioResolver",2619],[6,"IrohAttr",564],[5,"TxtAttrs",564],[5,"BTreeMap",2620],[10,"FromStr",2621],[10,"Display",2586],[10,"Hash",2602],[10,"Ord",2581],[10,"Debug",2586],[5,"Record",2622],[5,"Accept",655],[5,"Incoming",655],[5,"Connecting",655],[6,"ConnectionError",655,2623],[5,"Connection",655,2624],[5,"AcceptBi",655,2624],[5,"AcceptUni",655,2624],[5,"ServerConfig",655,2625],[5,"AckFrequencyConfig",655,2625],[5,"VarInt",655,2626],[5,"TransportConfig",655,2625],[5,"Builder",655],[10,"FnOnce",2627],[10,"Send",2628],[10,"Sync",2628],[10,"HandshakeTokenKey",655,2629],[10,"AeadKey",655,2629],[5,"SocketAddrV4",2584],[5,"SocketAddrV6",2584],[5,"MtuDiscoveryConfig",655,2625],[10,"ControllerFactory",655,2630],[5,"Instant",2631],[10,"Controller",655,2630],[6,"SendDatagramError",655,2624],[6,"ReadToEndError",655,2632],[6,"ReadError",655,2632],[6,"ResetError",655,2632],[6,"ReadExactError",655,2632],[6,"WriteError",655,2633],[6,"StoppedError",655,2633],[5,"UdpStats",655,2634],[5,"FrameStats",655,2634],[5,"PathStats",655,2634],[5,"ConnectionStats",655,2634],[6,"ControlMsg",655,2592],[5,"DirectAddrInfo",655,2592],[5,"Written",655,2635],[6,"ConnectionType",655,2592],[5,"ClosedStream",655,2636],[6,"Source",655,2637],[5,"ConnectionClose",655,2638],[5,"ApplicationClose",655,2638],[5,"TransportError",655],[5,"TransportErrorCode",655],[5,"StreamId",655,2639],[5,"DirectAddr",655,2640],[6,"DirectAddrType",655,2640],[6,"RelayMode",655],[5,"Watcher",2444],[6,"Dir",2639],[5,"RecvStream",655,2632],[5,"SendStream",655,2633],[5,"Chunk",655,2641],[5,"ExportKeyingMaterialError",655,2629],[5,"WeakConnectionHandle",655,2624],[5,"RetryError",655,2642],[5,"CryptoError",655,2629],[5,"UnsupportedVersion",655,2629],[5,"IncomingFuture",655],[6,"ReadableError",2643],[6,"Close",2638],[5,"Unspecified",2644],[5,"InvalidFrame",2638],[6,"Error",2645],[5,"VarIntBoundsExceeded",2626],[10,"Any",2606],[10,"CryptoServerConfig",655],[5,"ConnectionId",2646],[5,"Keys",2629],[6,"Side",2639],[5,"ZeroRttAccepted",655,2624],[5,"Incoming",2642],[5,"Join2",2647],[10,"IntoFuture",2648],[5,"IdleTimeout",2625],[5,"Receiver",2649],[5,"RttEstimator",2650],[5,"OpenBi",655,2624],[5,"OpenUni",655,2624],[5,"Pin",2651],[5,"Context",2652],[6,"Poll",2653],[5,"ReadDatagram",655,2624],[5,"Error",2654],[5,"ReadBuf",2655],[1,"i32"],[5,"Race2",2656],[5,"Bytes",2657],[5,"SendDatagram",2624],[5,"TransportParameters",2645],[10,"Session",2629],[1,"f32"],[1,"u128"],[5,"CertificateDer",2658],[6,"PrivateKeyDer",2658],[6,"Error",2659],[5,"PortmapMetrics",2183],[5,"NetReportMetrics",2183],[5,"MagicsockMetrics",2183],[5,"RelayMetrics",2183],[5,"IntoIter",2660],[10,"ProtocolHandler",2359],[8,"Boxed",2661],[5,"RouterBuilder",2359],[10,"AsRef",2599],[5,"Router",2359],[5,"DnsPkarrServer",2404,2662],[5,"CleanupDropGuard",2404],[5,"Server",2663],[5,"StunConfig",2663],[5,"Chain2",2664],[10,"IntoStream",2665],[10,"Stream",2612],[5,"Watchable",2444],[5,"WatcherStream",2444],[10,"Default",2666],[5,"WatchNextFut",2444],[5,"WatchInitializedFut",2444],[5,"Disconnected",2444],[10,"Eq",2581],[5,"Merge2",2667],[6,"NotKeyed",2668],[5,"RateLimiter",2669],[5,"RatelimitedStream",2670],[10,"DirectStateStore",2668],[10,"ReasonablyRealtime",2671],[10,"RateLimitingMiddleware",2672],[5,"Jitter",2673],[5,"Zip2",2674],[15,"Discovery",2181],[15,"NamedApp",2181]],"r":[[2,655],[4,2577],[6,2578],[7,2577],[8,2577],[9,2580],[10,655],[11,2580],[12,2579],[13,2579],[14,2577],[282,2675],[283,2675],[658,2624],[659,2624],[660,2625],[661,2629],[663,2638],[670,2641],[672,2636],[676,2624],[677,2638],[679,2623],[685,2634],[686,2592],[687,2592],[688,2630],[689,2630],[690,2629],[695,2640],[696,2592],[697,2640],[703,2629],[708,2634],[709,2629],[721,2625],[726,2624],[727,2624],[729,2634],[734,2624],[735,2632],[737,2632],[738,2632],[739,2632],[743,2592],[746,2632],[747,2642],[751,2624],[752,2633],[753,2625],[754,2637],[757,2633],[758,2639],[765,2625],[770,2634],[773,2629],[774,2626],[776,2624],[777,2633],[778,2635],[779,2624],[2405,2662],[2410,2676]],"b":[[125,"impl-Display-for-PublicKey"],[126,"impl-Debug-for-PublicKey"],[127,"impl-Display-for-KeyParsingError"],[128,"impl-Debug-for-KeyParsingError"],[129,"impl-Debug-for-SecretKey"],[130,"impl-Display-for-SecretKey"],[132,"impl-Debug-for-RelayUrl"],[133,"impl-Display-for-RelayUrl"],[134,"impl-Debug-for-RelayUrlParseError"],[135,"impl-Display-for-RelayUrlParseError"],[136,"impl-Display-for-RelayMap"],[137,"impl-Debug-for-RelayMap"],[138,"impl-Display-for-RelayNode"],[139,"impl-Debug-for-RelayNode"],[143,"impl-From%3CError%3E-for-KeyParsingError"],[144,"impl-From%3CDecodeError%3E-for-KeyParsingError"],[146,"impl-From%3CSigningKey%3E-for-SecretKey"],[147,"impl-From%3C%5Bu8;+32%5D%3E-for-SecretKey"],[149,"impl-From%3CRemoteInfo%3E-for-NodeAddr"],[150,"impl-From%3CPublicKey%3E-for-NodeAddr"],[152,"impl-From%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[153,"impl-From%3CNodeInfo%3E-for-NodeAddr"],[154,"impl-From%3CNodeTicket%3E-for-NodeAddr"],[239,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey"],[240,"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey"],[602,"impl-Display-for-IrohAttr"],[603,"impl-Debug-for-IrohAttr"],[608,"impl-From%3CTxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[609,"impl-From%3C%26TxtAttrs%3CIrohAttr%3E%3E-for-NodeInfo"],[1385,"impl-Display-for-SendDatagramError"],[1386,"impl-Debug-for-SendDatagramError"],[1387,"impl-Display-for-RetryError"],[1388,"impl-Debug-for-RetryError"],[1390,"impl-Debug-for-ReadToEndError"],[1391,"impl-Display-for-ReadToEndError"],[1392,"impl-Debug-for-ReadError"],[1393,"impl-Display-for-ReadError"],[1394,"impl-Display-for-ResetError"],[1395,"impl-Debug-for-ResetError"],[1396,"impl-Debug-for-ReadExactError"],[1397,"impl-Display-for-ReadExactError"],[1399,"impl-Display-for-WriteError"],[1400,"impl-Debug-for-WriteError"],[1401,"impl-Debug-for-StoppedError"],[1402,"impl-Display-for-StoppedError"],[1404,"impl-Debug-for-VarInt"],[1405,"impl-Display-for-VarInt"],[1411,"impl-Debug-for-ControlMsg"],[1412,"impl-Display-for-ControlMsg"],[1416,"impl-Display-for-ConnectionType"],[1417,"impl-Debug-for-ConnectionType"],[1418,"impl-Debug-for-ClosedStream"],[1419,"impl-Display-for-ClosedStream"],[1420,"impl-Display-for-Source"],[1421,"impl-Debug-for-Source"],[1422,"impl-Display-for-ConnectionError"],[1423,"impl-Debug-for-ConnectionError"],[1430,"impl-Debug-for-ConnectionClose"],[1431,"impl-Display-for-ConnectionClose"],[1432,"impl-Display-for-ApplicationClose"],[1433,"impl-Debug-for-ApplicationClose"],[1434,"impl-Display-for-TransportError"],[1435,"impl-Debug-for-TransportError"],[1436,"impl-Display-for-TransportErrorCode"],[1437,"impl-Debug-for-TransportErrorCode"],[1438,"impl-Display-for-StreamId"],[1439,"impl-Debug-for-StreamId"],[1441,"impl-Display-for-DirectAddrType"],[1442,"impl-Debug-for-DirectAddrType"],[1470,"impl-From%3CResetError%3E-for-ReadError"],[1471,"impl-From%3CConnectionError%3E-for-ReadError"],[1472,"impl-From%3CReadableError%3E-for-ReadError"],[1478,"impl-From%3CClosedStream%3E-for-WriteError"],[1480,"impl-From%3CStoppedError%3E-for-WriteError"],[1481,"impl-From%3CConnectionError%3E-for-WriteError"],[1485,"impl-From%3Cu16%3E-for-VarInt"],[1487,"impl-From%3Cu8%3E-for-VarInt"],[1488,"impl-From%3CStreamId%3E-for-VarInt"],[1489,"impl-From%3Cu32%3E-for-VarInt"],[1502,"impl-From%3CClose%3E-for-ConnectionError"],[1503,"impl-From%3CTransportError%3E-for-ConnectionError"],[1516,"impl-From%3CTransportErrorCode%3E-for-TransportError"],[1517,"impl-From%3CInvalidFrame%3E-for-TransportError"],[1518,"impl-From%3CError%3E-for-TransportError"],[1797,"impl-RecvStream"],[1798,"impl-AsyncRead-for-RecvStream"],[1800,"impl-AsyncWrite-for-SendStream"],[1801,"impl-SendStream"],[1965,"impl-TryFrom%3Cu64%3E-for-VarInt"],[1967,"impl-TryFrom%3Cu128%3E-for-VarInt"],[1968,"impl-TryFrom%3Cusize%3E-for-VarInt"],[2499,"impl-Debug-for-Disconnected"],[2500,"impl-Display-for-Disconnected"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAPAGoAADAAAACwAAABAABQAXACsARgAVAGAABwBqACIAjwACAJMAAQCWAAEAmQABAJwAAACeAAAApgAIALIACQDLAAMA1gAEANwAAQDiACcADQEHAC4BAAAwAQsAPQEBAEABAQBEAQEARwEBAFEBAABTAQAAVgEJAGMBBQBqAQAAbgEEAHUBBQB8AQAAfwEGAI0BFwCmAQYAsAEFAL4BAADAAQAAwgELAM8BAgDVAQQA3QEIAOcBAwDtAQAA7wEBAPYBAAD4AQAA+gEEAAACAwAHAgYAEQIAABQCAAAWAgAAGAIDACgCAAAwAgAAOwIBAD4CEABQAg4AYQIBAGQCAABqAgEAbgIDAHoCAAB+AgAAgQIAAIMCDAARAyAAOAMAADoDAABKA2kAvAMgAN4DQQAkBAMAKQQDADMEAAA1BAAAOgQBAEAECgBMBG4AxAQ2APwEZwBoBUIAuAUAALwFAAC/BQMAxAUAAMcFAADJBQEAzAUAAM4FAADQBQIA3wUBAOYFAADqBQAA7QUCAPEFAAD8BSAAIwYAACUGBAAuBgAAMgY0AKUGCQC1BggA0gYAANYGAgDhBgEA5gYAAPIGAwD3BgEA+wYKAAcHAgAQBwgAMQcBAEIHBABMBwcAWgcAAFwHAQBfBwEAYgc0AJsHEgCvBwAAsgdcABAINABICDQAjAgDAJEIDwCjCAsAsggLAMIICADQCAMA1QgDAN0ICgDxCAYA+QgHAAMJCAAPCQYAFwkUAC4JCAA7CQAAPgkDAEMJCABOCQEAUgkCAFwJCABnCQMAbAkDAHIJAwB4CQEAhQkHAJMJMgDMCQIA0QkFAN4JBQDlCQYA7wkYAAkKBQAQCgAA","P":[[24,"T"],[40,""],[46,"T"],[52,""],[62,"K"],[66,""],[69,"T"],[74,""],[75,"T"],[86,"D"],[88,"__D"],[91,""],[110,"K"],[125,""],[141,"T"],[142,""],[145,"T"],[146,""],[148,"T"],[149,""],[151,"T"],[152,""],[156,"T"],[157,""],[158,"T"],[161,""],[163,"I,"],[164,""],[165,"T"],[171,""],[175,"R"],[176,""],[177,"H"],[178,"__H"],[179,""],[187,"U"],[195,""],[213,"S"],[215,"__S"],[218,""],[225,"T"],[231,""],[238,"U,T"],[239,""],[241,"U,T"],[243,""],[244,"U,T"],[249,"U"],[257,""],[268,"V"],[277,""],[278,""],[302,""],[303,"T"],[307,""],[308,"T"],[309,""],[311,"T"],[316,""],[321,"T"],[325,""],[328,"U"],[335,""],[342,"T"],[343,"U,T"],[345,"U"],[347,""],[349,"V"],[354,"T"],[358,""],[360,"T"],[361,""],[362,"U"],[363,""],[366,"U,T"],[367,"U"],[368,""],[369,"V"],[372,"T"],[376,""],[378,"T"],[379,""],[380,"U"],[381,""],[385,"U,T"],[386,"U"],[387,""],[388,"V"],[396,""],[399,"T"],[405,""],[408,"T"],[411,""],[414,"T"],[421,""],[428,"T"],[434,""],[437,"U"],[440,""],[449,"T"],[452,"U,T"],[455,"U"],[458,""],[462,"V"],[465,""],[469,"T"],[473,""],[477,"T"],[478,""],[481,"T"],[485,""],[490,"T"],[493,""],[497,"U"],[499,""],[505,"T"],[506,"U,T"],[508,"U"],[510,""],[513,"V"],[517,""],[518,"T"],[520,""],[521,"T"],[523,""],[525,"T"],[526,","],[527,""],[529,"U"],[530,""],[534,""],[535,"U,T"],[536,"U"],[537,""],[538,"V"],[541,""],[550,"N"],[563,""],[572,"T"],[579,""],[580,"T"],[581,""],[583,"K"],[584,"T"],[591,""],[596,"K"],[602,""],[605,"T"],[608,""],[610,"T"],[611,""],[613,"T"],[614,"T,"],[615,""],[616,"T"],[618,"FromStr::Err"],[619,",T"],[620,""],[621,"__H"],[622,""],[625,"U"],[628,"T"],[630,""],[631,"T"],[633,""],[636,"T"],[638,""],[639,"T"],[640,""],[642,"TryFrom::Error"],[643,"U,T"],[646,"U"],[649,""],[652,"V"],[784,""],[826,"D,F"],[827,""],[841,"T"],[947,""],[989,"T"],[1022,""],[1064,"K"],[1068,""],[1073,""],[1075,""],[1099,"T"],[1205,"__D"],[1210,""],[1301,"K"],[1381,""],[1455,"T"],[1463,""],[1464,"T"],[1467,""],[1468,"T"],[1470,""],[1474,"T"],[1475,""],[1476,"T"],[1478,""],[1479,"T"],[1480,""],[1482,"T"],[1483,""],[1484,"T"],[1485,""],[1486,"T"],[1487,""],[1490,"T"],[1502,""],[1504,"T"],[1509,""],[1510,"T"],[1513,""],[1514,"T"],[1516,""],[1519,"T"],[1520,""],[1521,"T"],[1564,""],[1572,"__H"],[1577,""],[1645,"U"],[1698,""],[1707,"IntoFuture::IntoFuture"],[1708,""],[1716,"F2,F1"],[1725,""],[1793,"Future::Output"],[1796,""],[1807,"T,S2,F1"],[1816,""],[1847,""],[1848,""],[1857,"__S"],[1862,""],[1889,"T"],[1922,""],[1946,"U,T"],[1965,""],[1966,"U,T"],[1967,""],[1969,"U,T"],[2002,"U"],[2055,"F"],[2063,""],[2119,"V"],[2172,""],[2200,"T"],[2210,""],[2214,"T"],[2218,""],[2229,"T"],[2241,""],[2251,"T"],[2260,""],[2264,"U"],[2268,""],[2331,"T"],[2335,"U,T"],[2339,"U"],[2343,""],[2354,"V"],[2362,""],[2364,",T"],[2365,"T"],[2369,""],[2371,"T"],[2372,""],[2373,"T"],[2377,""],[2383,"T"],[2386,""],[2388,"U"],[2390,""],[2395,"T"],[2396,"U,T"],[2398,"U"],[2400,""],[2402,"V"],[2406,"T"],[2410,""],[2411,"T"],[2415,""],[2421,"T"],[2423,""],[2425,"U"],[2429,""],[2436,"U,T"],[2438,"U"],[2440,""],[2442,"V"],[2450,""],[2453,"T"],[2465,"T,S2,S1"],[2466,"T"],[2472,""],[2475,"T"],[2488,""],[2494,"T"],[2499,""],[2501,"T"],[2512,""],[2518,"T"],[2519,"U"],[2525,""],[2527,"S"],[2528,"F2,F1"],[2530,"T,S2,S1"],[2531,"T"],[2532,"T,Future::Output"],[2534,"T,Stream::Item"],[2535,"T,S2,F1"],[2537,"D,C,MW,S"],[2539,"T"],[2545,""],[2546,"U,T"],[2552,"U"],[2558,"F"],[2560,"S"],[2561,""],[2567,"T"],[2568,"V"],[2574,"T"],[2575,"T,S2,S1"]]}],["iroh_base",{"t":"TPPPGTFIFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNONNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNPGTPFPKPNNNNNNNNNNNNNNNNNNNMNNNNNNNNNMNNNNNNNNNNO","n":["BYTE_SIZE","Decode","DecodeInvalidLength","Key","KeyParsingError","LENGTH","NodeAddr","NodeId","PublicKey","RelayUrl","RelayUrlParseError","SecretKey","Signature","as_bytes","as_ref","borrow","","","","","","","","borrow_mut","","","","","","","clone","","","","","clone_into","","","","","clone_to_uninit","","","","","cmp","","","deref","deserialize","","","","","direct_addresses","","eq","","","","fmt","","","","","","","","","","","","","","","fmt_short","from","","","","","","","","","","","","","","","","","","","","from_bytes","","","from_components","from_parts","from_slice","from_str","","","","generate","hash","","into","","","","","","","is_empty","new","node_id","partial_cmp","","","public","","r_bytes","relay_url","","s_bytes","secret","serialize","","","","","sign","source","","ticket","to_bytes","","","to_owned","","","","","to_string","","","","","","to_vec","try_from","","","","","","","","","","","try_into","","","","","","","type_id","","","","","","","verify","with_direct_addresses","with_relay_url","Encoding","Error","KIND","Kind","NodeTicket","Postcard","Ticket","Verify","borrow","","borrow_mut","","clone","clone_into","clone_to_uninit","deserialize","","eq","fmt","","","","from","","","","","from_bytes","","from_str","into","","new","node_addr","serialize","","source","to_bytes","","to_owned","to_string","","try_from","","try_into","","type_id","","expected"],"q":[[0,"iroh_base"],[181,"iroh_base::ticket"],[229,"iroh_base::ticket::Error"],[230,"iroh_base::key"],[231,"ed25519"],[232,"iroh_base::node_addr"],[233,"iroh_base::relay_url"],[234,"core::cmp"],[235,"core::result"],[236,"serde::de"],[237,"core::net::socket_addr"],[238,"core::iter::traits::iterator"],[239,"core::fmt"],[240,"alloc::string"],[241,"ed25519_dalek::signature"],[242,"ed25519_dalek::verifying"],[243,"ed25519_dalek::errors"],[244,"data_encoding"],[245,"ed25519_dalek::signing"],[246,"core::option"],[247,"iroh_base::ticket::node"],[248,"url"],[249,"url::parser"],[250,"core::iter::traits::collect"],[251,"signature::error"],[252,"rand_core"],[253,"core::hash"],[254,"serde::ser"],[255,"core::error"],[256,"alloc::vec"],[257,"core::any"],[258,"postcard::error"]],"i":"nBl00`b```````002001A`AbAdBn645321064321643216432142116432122642166664455332110046666445553332222110064362664313416453210222421436226364321350`6636432164531066644453321064532106453210422El`Ej1`1`1Db202000100002200222100020010210002020202F`","f":"`````````````{{{d{b}}}{{d{{h{f}}}}}}{{{d{b}}}{{d{{j{f}}}}}}{d{{d{c}}}{}}2000000{{{d{l}}}{{d{lc}}}{}}000000{{{d{n}}}n}{{{d{b}}}b}{{{d{A`}}}A`}{{{d{Ab}}}Ab}{{{d{Ad}}}Ad}{{d{d{lc}}}Af{}}0000{{df}Af}0000{{{d{b}}{d{b}}}Ah}{{{d{Ab}}{d{Ab}}}Ah}{{{d{Ad}}{d{Ad}}}Ah}{{{d{Ad}}}{{d{c}}}{}}{c{{Aj{n}}}Al}{c{{Aj{b}}}Al}{c{{Aj{A`}}}Al}{c{{Aj{Ab}}}Al}{c{{Aj{Ad}}}Al}{{{d{Ab}}}{{`{{Bb{}{{An{{d{B`}}}}}}}}}}`{{{d{n}}{d{n}}}Bd}{{{d{b}}{d{b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{Cl{{d{Ed}}}}}}`{{{d{n}}}{{h{f}}}}0{{{d{A`}}}{{h{f}}}}{dc{}}0000{dC`}00000{{{d{n}}}{{Ef{f}}}}{c{{Aj{e}}}{}{}}{{{d{{j{f}}}}}{{Aj{nDj}}}}{{{d{{j{f}}}}}{{Aj{bc}}}{}}{{{d{{h{f}}}}}{{Aj{bc}}}{}}333{{{d{{j{f}}}}}{{Aj{A`c}}}{}}444{{}{{Aj{c}}}{}}000000{dEh}000000{{{d{b}}{d{{j{f}}}}{d{n}}}{{Aj{AfCf}}}}{{Abc}Ab{{Dh{}{{An{B`}}}}}}{{AbAd}Ab}````````{d{{d{c}}}{}}0{{{d{l}}}{{d{lc}}}{}}0{{{d{Db}}}Db}{{d{d{lc}}}Af{}}{{df}Af}{{{d{Dl}}}{{Aj{EjEl}}}}{c{{Aj{Db}}}Al}{{{d{Db}}{d{Db}}}Bd}{{{d{Db}}{d{lBf}}}Bj}0{{{d{El}}{d{lBf}}}Bj}0{cc{}}{AbDb}1{ChEl}{EnEl}{{{d{{j{f}}}}}{{Aj{EjEl}}}}{{{d{{j{f}}}}}{{Aj{DbEl}}}}{{{d{Dl}}}{{Aj{Dbc}}}{}}{{}c{}}06{{{d{Db}}}{{d{Ab}}}}{{{d{Ej}}}C`}{{{d{Db}}c}AjEb}{{{d{El}}}{{Cl{{d{Ed}}}}}}{{{d{Ej}}}{{Ef{f}}}}{{{d{Db}}}{{Ef{f}}}}{dc{}}{dC`}0{c{{Aj{e}}}{}{}}0{{}{{Aj{c}}}{}}0{dEh}0`","D":"Il","p":[[5,"PublicKey",0,230],[1,"reference",null,null,1],[1,"u8"],[1,"array"],[1,"slice"],[0,"mut"],[5,"Signature",0,231],[5,"SecretKey",0,230],[5,"NodeAddr",0,232],[5,"RelayUrl",0,233],[1,"unit"],[6,"Ordering",234],[6,"Result",235,null,1],[10,"Deserializer",236],[17,"Item"],[6,"SocketAddr",237],[10,"Iterator",238],[1,"bool"],[5,"Formatter",239],[5,"Error",239],[8,"Result",239],[6,"KeyParsingError",0,230],[5,"RelayUrlParseError",0,233],[5,"String",240],[5,"InternalSignature",241],[5,"VerifyingKey",242],[8,"SignatureError",243],[5,"DecodeError",244],[5,"SigningKey",245],[6,"Option",246,null,1],[1,"tuple",null,null,1],[8,"NodeId",0,230],[5,"NodeTicket",181,247],[5,"Url",248],[6,"ParseError",249],[10,"IntoIterator",250],[5,"Error",251],[1,"str"],[10,"CryptoRngCore",252],[10,"Hasher",253],[10,"Serializer",254],[10,"Error",255],[5,"Vec",256],[5,"TypeId",257],[10,"Ticket",181],[6,"Error",181],[6,"Error",258],[15,"Kind",229]],"r":[[4,230],[6,232],[7,230],[8,230],[9,233],[10,233],[11,230],[12,231],[185,247]],"b":[[60,"impl-Debug-for-Signature"],[61,"impl-Display-for-Signature"],[62,"impl-LowerHex-for-Signature"],[63,"impl-UpperHex-for-Signature"],[64,"impl-Display-for-PublicKey"],[65,"impl-Debug-for-PublicKey"],[66,"impl-Debug-for-KeyParsingError"],[67,"impl-Display-for-KeyParsingError"],[68,"impl-Display-for-SecretKey"],[69,"impl-Debug-for-SecretKey"],[71,"impl-Display-for-RelayUrl"],[72,"impl-Debug-for-RelayUrl"],[73,"impl-Debug-for-RelayUrlParseError"],[74,"impl-Display-for-RelayUrlParseError"],[77,"impl-From%3C%26%5Bu8;+ed25519::::SignatureBytes::%7Bconstant%230%7D%5D%3E-for-Signature"],[78,"impl-From%3C%5Bu8;+ed25519::::SignatureBytes::%7Bconstant%230%7D%5D%3E-for-Signature"],[79,"impl-From%3CInternalSignature%3E-for-Signature"],[83,"impl-From%3CError%3E-for-KeyParsingError"],[84,"impl-From%3CDecodeError%3E-for-KeyParsingError"],[85,"impl-From%3C%5Bu8;+32%5D%3E-for-SecretKey"],[87,"impl-From%3CSigningKey%3E-for-SecretKey"],[88,"impl-From%3C(PublicKey,+Option%3CRelayUrl%3E,+%26%5BSocketAddr%5D)%3E-for-NodeAddr"],[89,"impl-From%3CPublicKey%3E-for-NodeAddr"],[90,"impl-From%3CNodeTicket%3E-for-NodeAddr"],[138,"impl-SignatureEncoding-for-Signature"],[139,"impl-Signature"],[155,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-PublicKey"],[156,"impl-TryFrom%3C%26%5Bu8;+32%5D%3E-for-PublicKey"],[199,"impl-Debug-for-NodeTicket"],[200,"impl-Display-for-NodeTicket"],[201,"impl-Display-for-Error"],[202,"impl-Debug-for-Error"],[206,"impl-From%3CDecodeError%3E-for-Error"],[207,"impl-From%3CError%3E-for-Error"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAJgAFgAPACcAOQASAE4AAgBSAAAAVAACAFgAAgBdAAAAXwAAAGcAAwBsAAEAeAACAIIABACIAAEAiwAAAI4ACgCaABgAvgAGAMYABQDPAAEA0gABANkAAQDcAAkA","P":[[15,"T"],[16,""],[17,"T"],[30,""],[35,"T"],[40,""],[48,"Deref::Target"],[49,"D"],[52,"__D"],[54,""],[76,"T"],[77,""],[80,"T"],[81,""],[82,"T"],[83,""],[86,"T"],[87,""],[91,"T"],[92,""],[93,"T"],[94,""],[95,"T"],[96,""],[100,""],[101,""],[103,"FromStr::Err"],[106,"R"],[107,"H"],[108,"__H"],[109,"U"],[116,""],[129,"S"],[132,"__S"],[134,""],[141,"T"],[146,""],[153,"U,T"],[154,""],[155,"TryFrom::Error"],[157,"U,T"],[160,"TryFrom::Error"],[161,"U,T"],[164,"U"],[171,""],[179,""],[180,""],[189,"T"],[193,""],[194,"T"],[195,""],[197,"D"],[198,""],[203,"T"],[204,""],[205,"T"],[206,""],[210,"FromStr::Err"],[211,"U"],[213,""],[216,"S"],[217,""],[220,"T"],[221,""],[223,"U,T"],[225,"U"],[227,""]]}],["iroh_bench",{"t":"FGGGPPPFPPPPNNNNNNNNNNNNNNNNHONNNNNNNNNNNNHNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNONNNNNCOONCOHCCNOONNNNNNNNNNNNNNNNNNNNNONNNNNOSHHHHHHSHHHHHHFNNNNNNNNNNNNNNNNNNNNNNNNNNNNFFFONNNNNNOOOONNNNNNNNNNNOONNNNNNNNNNNNNNONOOOHOOONNNNNNOONNNNNN","n":["ClientStats","Commands","ConnectionSelector","EndpointSelector","Iroh","","","Opt","Quinn","","","S2n","__clone_box","","augment_args","augment_args_for_update","augment_subcommands","augment_subcommands_for_update","borrow","","","","","borrow_mut","","","","","client_handler","clients","clone","","clone_into","","clone_to_uninit","","close","","command","","command_for_update","","configure_tracing_subscriber","default","deref","","","","","deref_mut","","","","","download_size","drop","","","","","fmt","","from","","","","","from_arg_matches","","from_arg_matches_mut","","from_ref","","group_id","has_subcommand","init","","","","","initial_mtu","into","","","","","iroh","max_streams","metrics","print","quinn","read_unordered","rt","s2n","stats","","","streams","to_owned","","try_from","","","","","try_into","","","","","type_id","","","","","update_from_arg_matches","","update_from_arg_matches_mut","","upload_size","vzip","","","","","with_relay","ALPN","client","connect_client","handle_client_stream","server","server_endpoint","transport_config","ALPN","client","connect_client","handle_client_stream","server","server_endpoint","transport_config","Opt","__clone_box","augment_args","augment_args_for_update","borrow","borrow_mut","clone","clone_into","clone_to_uninit","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","from_ref","group_id","init","into","to_owned","try_from","try_into","type_id","update_from_arg_matches","update_from_arg_matches_mut","vzip","Stats","StreamStats","TransferResult","avg_chunk_size","borrow","","","borrow_mut","","","chunk_size","chunk_time","chunks","","default","","deref","","","deref_mut","","","drop","","","duration","duration_hist","fmt","","","from","","","init","","","into","","","new","print","size","stream_finished","stream_stats","streams","throughput","throughput_bps","throughput_hist","total_duration","total_size","try_from","","","try_into","","","ttfb","ttfb_hist","type_id","","","vzip","",""],"q":[[0,"iroh_bench"],[126,"iroh_bench::iroh"],[133,"iroh_bench::quinn"],[140,"iroh_bench::s2n"],[169,"iroh_bench::stats"],[233,"dyn_clone::sealed"],[234,"clap_builder::builder::command"],[235,"anyhow"],[236,"core::fmt"],[237,"clap_builder::parser::matches::arg_matches"],[238,"clap_builder"],[239,"core::result"],[240,"clap_builder::util::id"],[241,"core::option"],[242,"tokio::runtime::runtime"],[243,"core::any"],[244,"iroh_base::node_addr"],[245,"iroh_base::relay_url"],[246,"iroh::endpoint"],[247,"iroh_quinn::connection"],[248,"iroh_quinn_proto::config"],[249,"core::net::socket_addr"],[250,"rustls_pki_types"],[251,"iroh_quinn::endpoint"],[252,"core::time"]],"i":"````lnAf`21000A`00113210Ab43210`1212121432121`0432104321014321021432102121211243210143210`110`1```3112143210432104321021211432101```````````````E`000000000000000000000000000```DbEbEd2102000210102102102201021021021022121112`01110210220102102","f":"````````````{{bd}f}0{hh}000{b{{b{c}}}{}}0000{{{b{j}}}{{b{jc}}}{}}0000{{lnA`}{{Ad{Ab}}}}`{{{b{Af}}}Af}{{{b{A`}}}A`}{{b{b{jc}}}f{}}0{{bAh}f}0{l{{Ad{f}}}}{{{b{n}}Aj{b{{Al{Ah}}}}}f}{{}h}000{{}f}{{}Ab}{An{{b{c}}}{}}0000{An{{b{jc}}}{}}0000`{Anf}0000{{{b{Af}}{b{jB`}}}Bb}{{{b{A`}}{b{jB`}}}Bb}{cc{}}0000{{{b{Bd}}}{{Bh{AfBf}}}}{{{b{Bd}}}{{Bh{A`Bf}}}}{{{b{jBd}}}{{Bh{AfBf}}}}{{{b{jBd}}}{{Bh{A`Bf}}}}{{{b{c}}}c{}}0{{}{{Bl{Bj}}}}{{{b{Bn}}}C`}{{}An}0000`{{}c{}}0000```{{{b{Ab}}An}f}``{{}Cb}``{{{b{n}}}f}``{bc{}}0{c{{Bh{e}}}{}{}}0000{{}{{Bh{c}}}{}}0000{bCd}0000{{{b{jAf}}{b{Bd}}}{{Bh{fBf}}}}{{{b{jA`}}{b{Bd}}}{{Bh{fBf}}}}{{{b{jAf}}{b{jBd}}}{{Bh{fBf}}}}{{{b{jA`}}{b{jBd}}}{{Bh{fBf}}}}`{{}c{}}0000``{{Cf{Bl{Ch}}A`}{{Ad{Ab}}}}{{Cf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Commands",0],[1,"u8"],[1,"u32"],[1,"slice"],[1,"usize"],[5,"Formatter",236],[8,"Result",236],[5,"ArgMatches",237],[8,"Error",238],[6,"Result",239,null,1],[5,"Id",240],[6,"Option",241,null,1],[1,"str"],[1,"bool"],[5,"Runtime",242],[5,"TypeId",243],[5,"NodeAddr",244],[5,"RelayUrl",245],[5,"Endpoint",246],[5,"Connection",247],[1,"tuple",null,null,1],[1,"u64"],[5,"TransferResult",169],[1,"u16"],[5,"TransportConfig",248],[6,"SocketAddr",249],[5,"CertificateDer",250],[5,"Endpoint",251],[6,"PrivateKeyDer",250],[5,"Opt",140],[5,"Stats",169],[5,"StreamStats",169],[5,"Duration",252],[1,"f64"]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAMQAEgAAABwAHwAXADgABgBEAAwAVwAAAFoAAQBdAAMAYwAUAHkABAB/AAAAggAAAIUAAQCJAAAAjAAPAJ0ABACjACQAywACANEAGAA=","P":[[18,"T"],[28,""],[32,"T"],[34,""],[44,"T"],[55,""],[62,"T"],[67,""],[71,"T"],[73,""],[81,"U"],[89,""],[98,"T"],[100,"U,T"],[105,"U"],[110,""],[120,"V"],[127,""],[144,"T"],[146,""],[147,"T"],[148,""],[151,"T"],[153,""],[155,"T"],[156,""],[158,"T"],[159,""],[161,"U"],[162,"T"],[163,"U,T"],[164,"U"],[165,""],[168,"V"],[173,"T"],[183,""],[185,"T"],[191,""],[199,"T"],[202,""],[205,"U"],[208,""],[219,"U,T"],[222,"U"],[227,""],[230,"V"]]}],["iroh_dns_server",{"t":"FNNNNNNCCNNNNCNNNCNNNCCNNNNNNGFPPFFFNOONNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNOONNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNOFFFFNNNNONNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNOOOOONNNNNNNNNNNNNNNNNNNNNNNNGPFFFPPGPPPNNNNOONNNNNNNNNNONNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFNNNNNNNOOOOOONNNOOOOHNNNOOOOOONNNNNFNNNNNHNNNNNNFNNNNNNONNNONNNNN","n":["ZoneStore","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","config","dns","fmt","from","from_ref","get_signed_packet","http","in_memory","insert","into","metrics","new","persistent","resolve","server","state","to_owned","try_from","try_into","type_id","vzip","with_mainline_fallback","BootstrapOption","Config","Custom","Default","MainlineConfig","MetricsConfig","StoreConfig","__clone_box","bind_addr","bootstrap","borrow","","","","","borrow_mut","","","","","clone","clone_into","clone_to_uninit","data_dir","default","","","","deserialize","","","","","disabled","","dns","enabled","fmt","","","","","from","","","","","from_ref","http","https","into","","","","","load","mainline","metrics","pkarr_put_rate_limit","serialize","","","","","signed_packet_store_path","to_owned","try_from","","","","","try_into","","","","","type_id","","","","","vzip","","","","","zone_store","DnsConfig","DnsHandler","DnsServer","Handle","__clone_box","","","answer_request","bind_addr","borrow","","","","borrow_mut","","","","clone","","","clone_into","","","clone_to_uninit","","","default_soa","default_ttl","deserialize","fmt","","","from","","","","from_ref","","","handle_request","into","","","","local_addr","new","origins","port","rr_a","rr_aaaa","rr_ns","run_until_done","send_response","serialize","shutdown","spawn","to_owned","","","try_from","","","","try_into","","","","type_id","","","","vzip","","","","CertMode","Disabled","HttpConfig","HttpServer","HttpsConfig","LetsEncrypt","Manual","RateLimitConfig","SelfSigned","Simple","Smart","__clone_box","","","","bind_addr","","borrow","","","","","borrow_mut","","","","","cert_mode","clone","","","","clone_into","","","","clone_to_uninit","","","","default","","deserialize","","","","domains","eq","equivalent","","","fmt","","","","","from","","","","","from_ref","","","","http_addr","https_addr","into","","","","","letsencrypt_contact","letsencrypt_prod","port","","run_until_done","serialize","","","","shutdown","spawn","to_owned","","","","to_string","try_from","","","","","try_into","","","","","type_id","","","","","vzip","","","","","Metrics","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","default","dns_lookup_error","dns_lookup_notfound","dns_lookup_success","dns_requests","dns_requests_https","dns_requests_udp","fmt","from","from_ref","http_requests","http_requests_duration_ms","http_requests_error","http_requests_success","init_metrics","into","iter","name","pkarr_publish_noop","pkarr_publish_update","store_packets_expired","store_packets_inserted","store_packets_removed","store_packets_updated","to_owned","try_from","try_into","type_id","vzip","Server","borrow","borrow_mut","from","into","run_until_error","run_with_config_until_ctrl_c","shutdown","spawn","try_from","try_into","type_id","vzip","AppState","__clone_box","borrow","borrow_mut","clone","clone_into","clone_to_uninit","dns_handler","from","from_ref","into","store","to_owned","try_from","try_into","type_id","vzip"],"q":[[0,"iroh_dns_server"],[29,"iroh_dns_server::config"],[116,"iroh_dns_server::dns"],[191,"iroh_dns_server::http"],[299,"iroh_dns_server::metrics"],[335,"iroh_dns_server::server"],[348,"iroh_dns_server::state"],[365,"dyn_clone::sealed"],[366,"iroh_dns_server::store"],[367,"core::fmt"],[368,"pkarr::signed_packet"],[369,"core::option"],[370,"anyhow"],[371,"std::path"],[372,"core::convert"],[373,"hickory_proto::rr::domain::name"],[374,"hickory_proto::rr::record_type"],[375,"hickory_proto::rr::rr_set"],[376,"alloc::sync"],[377,"core::result"],[378,"core::any"],[379,"serde::de"],[380,"serde::ser"],[381,"hickory_server::server::request_handler"],[382,"bytes::bytes"],[383,"core::future::future"],[384,"alloc::boxed"],[385,"core::pin"],[386,"hickory_server::server::response_handler"],[387,"core::net::socket_addr"],[388,"hickory_server::authority::message_response"],[389,"hickory_proto::rr::resource"],[390,"core::iter::traits::iterator"],[391,"core::marker"],[392,"iroh_dns_server::http::rate_limiting"],[393,"iroh_dns_server::http::tls"],[394,"alloc::string"],[395,"alloc::vec::into_iter"]],"i":"`j00000``0000`000`000``000000``Bj0```BlCfCbC`3214032143330031403214220103214032143000321400000321403032140321403214032140````D`CjDb12Dl32103213213213213333210321321203210233333013003210321032103210321`Ej```El0`01110EnF`10Fd432104321143214321432144432113333433210432143210004321112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f}{b{{b{c}}}{}}{{{b{h}}}{{b{hc}}}{}}{{{b{Fj}}}Fj}{{b{b{hc}}}f{}}{{bl}f}{{}Fj}``````{{{b{Fj}}{b{hn}}}A`}{cc{}}{{{b{c}}}c{}}````{{}f}{{}c{}}{{{b{Fj}}}{{Gb{{G`{{b{Fl}}{b{Fn}}}}}}}}{{}{{b{Fl}}}}``````{bc{}}{c{{Bf{e}}}{}{}}{{}{{Bf{c}}}{}}{bBh}{{}c{}}`{b{{b{c}}}{}}{{{b{h}}}{{b{hc}}}{}}<9{Gd{{Af{f}}}}{C`{{Af{f}}}}1{{C`j}{{Af{Gd}}}}8765`{{bd}f}54{{{b{Ff}}}Ff}{{b{b{hc}}}f{}}{{bl}f}`{cc{}}{{{b{c}}}c{}}{{}c{}}`{bc{}}{c{{Bf{e}}}{}{}}{{}{{Bf{c}}}{}}{bBh}{{}c{}}","D":"Oj","p":[[1,"reference",null,null,1],[5,"Private",365],[1,"unit"],[0,"mut"],[5,"ZoneStore",0,366],[1,"u8"],[5,"Formatter",367],[8,"Result",367],[5,"SignedPacket",368],[6,"Option",369,null,1],[8,"Result",370],[1,"bool"],[5,"Path",371],[10,"AsRef",372],[5,"Name",373],[6,"RecordType",374],[5,"RecordSet",375],[5,"Arc",376,null,1],[6,"Result",377,null,1],[5,"TypeId",378],[6,"BootstrapOption",29],[5,"StoreConfig",29],[5,"PathBuf",371],[5,"Config",29],[5,"MainlineConfig",29],[10,"Deserializer",379],[5,"MetricsConfig",29],[10,"Serializer",380],[5,"DnsHandler",116],[5,"Request",381],[5,"Bytes",382],[5,"DnsConfig",116],[5,"Handle",116],[10,"Future",383,null,1],[5,"Box",384,null,1],[5,"Pin",385],[10,"ResponseHandler",386],[5,"DnsServer",116],[6,"SocketAddr",387],[5,"MessageResponse",388],[17,"Item"],[5,"Record",389],[10,"Iterator",390],[10,"Send",391],[6,"RateLimitConfig",191,392],[6,"CertMode",191,393],[5,"HttpConfig",191],[5,"HttpsConfig",191],[5,"Error",367],[5,"HttpServer",191],[5,"AppState",348],[5,"String",394],[5,"Metrics",299],[1,"str"],[10,"Any",378],[1,"tuple",null,null,1],[5,"IntoIter",395],[5,"Server",335]],"r":[[0,366],[191,393],[198,392]],"b":[[231,"impl-Default-for-%26RateLimitConfig"],[232,"impl-Default-for-RateLimitConfig"],[243,"impl-Debug-for-CertMode"],[244,"impl-Display-for-CertMode"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAPAAIAACAAUACgAAAAwAAAAYAAQAJQAAACgADAA2AAgAQwAEAE0AAABZAAQAXwAUAHkAAgB+ABAAkQADAJkAAwCpAAEArQASAMsAAwDRAAkA3AARAO8ACAD9AAMADQEDABMBGAAtAQ0APAEEAEMBDABRAQEAWQEDAF4BBQBmAQAAaQEEAA==","P":[[2,"T"],[4,""],[5,"T"],[6,""],[10,"T"],[12,""],[16,"U"],[18,""],[19,""],[20,""],[23,"T"],[24,"U,T"],[25,"U"],[26,""],[27,"V"],[28,""],[39,"T"],[49,""],[50,"T"],[51,""],[57,"__D"],[62,""],[71,"T"],[79,"U"],[84,""],[88,"__S"],[93,""],[94,"T"],[95,"U,T"],[100,"U"],[105,""],[110,"V"],[120,""],[125,"T"],[133,""],[136,"T"],[139,""],[144,"__D"],[145,""],[148,"T"],[155,"R"],[156,"U"],[160,""],[168,",,,"],[169,"__S"],[170,""],[172,"T"],[175,"U,T"],[179,"U"],[183,""],[187,"V"],[202,""],[208,"T"],[219,""],[223,"T"],[227,""],[233,"__D"],[238,""],[239,"K"],[242,""],[247,"T"],[256,""],[258,"U"],[267,""],[268,"__S"],[272,""],[274,"T"],[278,""],[279,"U,T"],[284,"U"],[289,""],[294,"V"],[300,""],[301,"T"],[303,""],[304,"T"],[305,""],[314,"T"],[320,""],[321,"U"],[322,""],[330,"T"],[331,"U,T"],[332,"U"],[333,""],[334,"V"],[336,"T"],[339,"U"],[340,""],[344,"U,T"],[345,"U"],[346,""],[347,"V"],[349,""],[350,"T"],[352,""],[353,"T"],[354,""],[356,"T"],[358,"U"],[360,"T"],[361,"U,T"],[362,"U"],[363,""],[364,"V"]]}],["iroh_net_report",{"t":"FFFFFFFNHNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNOONNNNNNNNNNNNNNOOOOOONNOONNHOOONNOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNN","n":["Addr","Client","Metrics","Options","QuicConfig","RelayLatencies","Report","addr","bind_local_stun_socket","borrow","","","","","","","borrow_mut","","","","","","","captive_portal","client_config","clone","","","","","clone_into","","","","","clone_to_uninit","","","","","default","","","","deref","","","","","","","deref_mut","","","","","","","disabled","drop","","","","","","","ep","eq","","equivalent","","","","","","fmt","","","","","","","","from","","","","","","","get_report","get_report_channel","get_report_with_opts","global_v4","global_v6","hair_pinning","https","icmp_v4","icmp_v6","icmpv4","icmpv6","init","","","","","","","into","","","","","","","ipv4","","ipv4_can_send","ipv6","","ipv6_can_send","iter","","mapping_varies_by_dest_ip","mapping_varies_by_dest_ipv6","name","new","os_has_ipv6","","portmap_probe","preferred_relay","quic_config","receive_stun_packet","relay_latency","relay_v4_latency","relay_v6_latency","reports","reports_full","stun_packets_dropped","stun_packets_recv_ipv4","stun_packets_recv_ipv6","stun_packets_sent_ipv4","stun_packets_sent_ipv6","stun_v4","stun_v6","to_owned","","","","","to_string","try_from","","","","","","","try_into","","","","","","","type_id","","","","","","","udp","vzip","","","","","",""],"q":[[0,"iroh_net_report"],[180,"netwatch::ip_family"],[181,"tokio_util::sync::cancellation_token"],[182,"netwatch::udp"],[183,"alloc::sync"],[184,"core::option"],[185,"iroh_net_report::metrics"],[186,"iroh_net_report::reportgen"],[187,"core::fmt"],[188,"iroh_relay::relay_map"],[189,"anyhow"],[190,"tokio::sync::oneshot"],[191,"core::any"],[192,"alloc::vec::into_iter"],[193,"iroh_base::relay_url"],[194,"core::time"],[195,"core::iter::traits::iterator"],[196,"portmapper"],[197,"hickory_resolver::resolver"],[198,"bytes::bytes"],[199,"core::net::socket_addr"],[200,"alloc::string"],[201,"core::result"],[202,"iroh_net_report::stun_utils"]],"i":"```````b`AdAfAhAj4B`f543261034543205432054320532154326105432610154326104323332225433261054326106663331113354326105432610433433523356`3331033355555551154320354326105432610543261035432610","f":"```````{{{d{b}}}f}{{hfj}{{A`{{n{l}}}}}}{d{{d{c}}}{}}000000{{{d{Ab}}}{{d{Abc}}}{}}000000``{{{d{Ad}}}Ad}{{{d{Af}}}Af}{{{d{Ah}}}Ah}{{{d{Aj}}}Aj}{{{d{f}}}f}{{d{d{Abc}}}Al{}}0000{{dAn}Al}0000{{}Ad}{{}Ah}{{}Aj}{{}B`}{Bb{{d{c}}}{}}000000{Bb{{d{Abc}}}{}}0000002{BbAl}000000`{{{d{Ah}}{d{Ah}}}Bd}{{{d{Aj}}{d{Aj}}}Bd}{{d{d{c}}}Bd{}}00000{{{d{Ad}}{d{AbBf}}}Bh}{{{d{Af}}{d{AbBf}}}Bh}{{{d{Ah}}{d{AbBf}}}Bh}0{{{d{Aj}}{d{AbBf}}}Bh}{{{d{b}}{d{AbBf}}}Bh}{{{d{B`}}{d{AbBf}}}Bh}{{{d{f}}{d{AbBf}}}Bh}{cc{}}000000{{{d{Abb}}Bj{A`{{n{l}}}}{A`{{n{l}}}}{A`{Af}}}{{Bl{{n{Ah}}}}}}{{{d{Abb}}BjB`}{{Bl{{Bn{{Bl{{n{Ah}}}}}}}}}}{{{d{Abb}}BjB`}{{Bl{{n{Ah}}}}}}```{{B`Bd}B`}00``{{}Bb}000000{{}c{}}000000``````{{{d{Ad}}}{{Cf{{Cd{{d{C`}}{d{Cb}}}}}}}}{{{d{Aj}}}{{`{{Cn{}{{Ch{{Cd{{d{Cj}}Cl}}}}}}}}}}``{{}{{d{C`}}}}{{{A`{D`}}Db}{{Bl{b}}}}{{}Bd}```{{B`{A`{Af}}}B`}{{{d{f}}DdDf}Al}``````````{{B`{A`{{n{l}}}}}B`}0{dc{}}0000{dDh}{c{{Dj{e}}}{}{}}000000{{}{{Dj{c}}}{}}000000{dDl}000000`{{}c{}}000000","D":"Gj","p":[[5,"Client",0],[1,"reference",null,null,1],[5,"Addr",0],[6,"IpFamily",180],[5,"CancellationToken",181],[5,"UdpSocket",182],[5,"Arc",183,null,1],[6,"Option",184,null,1],[0,"mut"],[5,"Metrics",0,185],[5,"QuicConfig",0,186],[5,"Report",0],[5,"RelayLatencies",0],[1,"unit"],[1,"u8"],[5,"Options",0],[1,"usize"],[1,"bool"],[5,"Formatter",187],[8,"Result",187],[5,"RelayMap",188],[8,"Result",189],[5,"Receiver",190],[1,"str"],[10,"Any",191],[1,"tuple",null,null,1],[5,"IntoIter",192],[17,"Item"],[5,"RelayUrl",193],[5,"Duration",194],[10,"Iterator",195],[5,"Client",196],[8,"TokioResolver",197],[5,"Bytes",198],[6,"SocketAddr",199],[5,"String",200],[6,"Result",201,null,1],[5,"TypeId",191]],"r":[[2,185],[4,186],[8,202]],"b":[[77,"impl-Display-for-Report"],[78,"impl-Debug-for-Report"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAHcACgAKAA0AGgAgADwABgBEAA8AZgAGAHoAAAB+AAAAiQAGAJIAGgCuAAYA","P":[[9,"T"],[25,""],[30,"T"],[35,""],[44,"T"],[58,""],[69,"K"],[75,""],[83,"T"],[90,""],[108,"U"],[121,""],[145,"T"],[150,""],[151,"U,T"],[158,"U"],[165,""],[173,"V"]]}],["iroh_relay",{"t":"EFFFNNNNNNCNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNOCCONNCOONNNNNNNNNNNNNNONNNNFFFFGPPPPPPPPPPGPGPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOSSSSSSGSSPPNNNNNNNNNNNNNNNNNNNNNNNCCCSHSPGPPPPPPPPGFPPPPPPPPPPPGFPFPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNNNNNNNNNCHHNHHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNSSSSSSFNNNNNNNNNNNNNNNGFSPFPGFPFFPFFFFFPFOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNOOOONONNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNONNNNNNNNNNNNNONNNNNNNNNNNNNONONNONNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNOOOONNOOONNNNNONOOONONOOOOOONNNONNCONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNOOOHHHHHH","n":["MAX_PACKET_SIZE","RelayMap","RelayNode","RelayQuicConfig","borrow","","","borrow_mut","","","client","clone","","","clone_into","","","clone_to_uninit","","","cmp","","compare","","contains_node","default","default_from_node","defaults","deref","","","deref_mut","","","deserialize","","drop","","","empty","eq","","","equivalent","","","","","","","","","fmt","","","","","from","","","from_nodes","from_url","get_node","http","init","","","into","","","is_empty","len","nodes","partial_cmp","","port","protos","quic","","serialize","","server","stun_only","stun_port","to_owned","","","to_string","","try_from","","","try_into","","","type_id","","","url","urls","vzip","","","Client","ClientBuilder","ClientSink","ClientStream","ConnSendError","Health","Io","KeepAlive","NodeGone","NotePreferred","Ping","","Pong","","Protocol","ReceivedMessage","ReceivedPacket","SendMessage","SendPacket","ServerRestarting","address_family_selector","borrow","","","","","","","borrow_mut","","","","","","","clone","","clone_into","","clone_to_uninit","","connect","deref","","","","","","","deref_mut","","","","","","","drop","","","","","","","fmt","","","","","","","","from","","","","","","","","init","","","","","","","insecure_skip_cert_verify","into","","","","","","","is_prober","key_cache_capacity","local_addr","make_dangerous_client_config","new","poll_close","","poll_flush","","poll_next","","poll_ready","","protocol","proxy_url","ratelimit_sink","","ratelimit_sink_with_jitter","","ratelimit_stream","","ratelimit_stream_with_jitter","","source","split","start_send","","to_owned","","to_string","try_from","","","","","","","try_into","","","","","","","try_poll_next","","type_id","","","","","","","vzip","","","","","","","data","problem","reconnect_in","remote_node_id","try_for","DEFAULT_HTTPS_PORT","DEFAULT_HTTP_PORT","DEFAULT_KEY_CACHE_CAPACITY","DEFAULT_METRICS_PORT","DEFAULT_RELAY_QUIC_PORT","DEFAULT_STUN_PORT","Protocol","RELAY_PATH","RELAY_PROBE_PATH","Relay","Websocket","borrow","borrow_mut","clone","clone_into","clone_to_uninit","deref","deref_mut","drop","eq","equivalent","","","fmt","from","init","into","parse_header","to_owned","try_from","try_into","type_id","upgrade_header","vzip","disco","relay","stun","MAGIC","looks_like_disco_wrapper","MAX_PACKET_SIZE","AlternateServer","Error","ErrorCode","ErrorResponse","Fingerprint","Indication","InvalidFingerprint","InvalidMessage","MalformedAttrs","MappedAddress","MessageClass","MessageDecoder","MessageIntegrity","MessageIntegritySha256","NoFingerprint","Nonce","NotBinding","NotSuccessResponse","PasswordAlgorithm","PasswordAlgorithms","Realm","Request","Software","StunAttribute","StunDecodeError","SuccessResponse","TransactionId","Unknown","UnknownAttributes","UserHash","UserName","XorMappedAddress","as_alternate_server","as_bytes","as_error_code","as_fingerprint","as_mapped_address","as_message_integrity","as_message_integrity_sha256","as_nonce","as_password_algorithm","as_password_algorithms","as_realm","as_ref","as_software","as_unknown","as_unknown_attributes","as_user_hash","as_user_name","as_xor_mapped_address","attribute_type","borrow","","","","","","borrow_mut","","","","","","clone","","","","clone_into","","","","clone_to_uninit","","","","cmp","compare","decode","default","","deref","","","","","","","deref_mut","","","","","","drop","","","","","","eq","","equivalent","","","","","","expect_alternate_server","expect_error_code","expect_fingerprint","expect_mapped_address","expect_message_integrity","expect_message_integrity_sha256","expect_nonce","expect_password_algorithm","expect_password_algorithms","expect_realm","expect_software","expect_unknown","expect_unknown_attributes","expect_user_hash","expect_user_name","expect_xor_mapped_address","fmt","","","","","","","","","from","","","","","","","","","","","","","","","","","","","","","","","","get_context","hash","init","","","","","","into","","","","","","is","is_alternate_server","is_error_code","is_fingerprint","is_mapped_address","is_message_integrity","is_message_integrity_sha256","is_nonce","is_password_algorithm","is_password_algorithms","is_realm","is_software","is_unknown","is_unknown_attributes","is_user_hash","is_user_name","is_xor_mapped_address","methods","parse_binding_request","parse_response","partial_cmp","request","response","to_owned","","","","to_string","","","try_from","","","","","","","try_into","","","","","","type_id","","","","","","vzip","","","","","","BINDING","RESERVED","SHARED_SECRET","ALPN_QUIC_ADDR_DISC","QUIC_ADDR_DISC_CLOSE_CODE","QUIC_ADDR_DISC_CLOSE_REASON","QuicClient","borrow","borrow_mut","deref","deref_mut","drop","fmt","from","get_addr_and_latency","init","into","new","try_from","try_into","type_id","vzip","CertConfig","ClientConnRateLimit","DEFAULT_CERT_RELOAD_INTERVAL","LetsEncrypt","Limits","Manual","MaybeTlsStreamServer","Metrics","Plain","QuicConfig","RelayConfig","Reloading","ReloadingResolver","Server","ServerConfig","StunConfig","StunMetrics","Tls","TlsConfig","accept_conn_burst","accept_conn_limit","accepts","bad_requests","bind_addr","","borrow","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","bytes_per_second","bytes_recv","bytes_sent","cert","certificates","client_rx","clone","","","clone_into","","","clone_to_uninit","","","conns_rx_ratelimited_total","default","","","","deref","","","","","","","","","","","","","","deref_mut","","","","","","","","","","","","","disco_packets_dropped","disco_packets_recv","disco_packets_sent","disconnects","drop","","","","","","","","","","","","","failures","fmt","","","","","","","","","","","","","frames_rx_ratelimited_total","from","","","","","","","","","","","","","got_ping","http_addr","http_bind_addr","http_url","https_addr","https_bind_addr","https_url","init","","","","","","","","","","","","","","into","","","","","","","","","","","","","ipv4_success","ipv6_success","iter","","key_cache_capacity","limits","max_burst_bytes","metrics_addr","name","","other_packets_dropped","other_packets_recv","other_packets_sent","poll_flush","poll_read","poll_shutdown","poll_write","poll_write_vectored","quic","quic_addr","quic_bind_addr","relay","relay_accepts","reload","requests","resolve","send_packets_dropped","send_packets_recv","send_packets_sent","sent_pong","server_config","","shutdown","","spawn","stun","stun_addr","task_handle","testing","tls","to_owned","","","try_from","","","","","","","","","","","","","try_into","","","","","","","","","","","","","type_id","","","","","","","","","","","","","unique_client_keys","unknown_frames","vzip","","","","","","","","","","","","","websocket_accepts","certs","state","quic_config","relay_config","self_signed_tls_certs_and_config","server_config","stun_config","tls_config"],"q":[[0,"iroh_relay"],[103,"iroh_relay::client"],[257,"iroh_relay::client::ReceivedMessage"],[262,"iroh_relay::defaults"],[268,"iroh_relay::http"],[296,"iroh_relay::protos"],[299,"iroh_relay::protos::disco"],[301,"iroh_relay::protos::relay"],[302,"iroh_relay::protos::stun"],[527,"iroh_relay::protos::stun::methods"],[530,"iroh_relay::quic"],[549,"iroh_relay::server"],[824,"iroh_relay::server::CertConfig"],[826,"iroh_relay::server::testing"],[832,"iroh_relay::relay_map"],[833,"core::cmp"],[834,"iroh_base::relay_url"],[835,"core::result"],[836,"serde::de"],[837,"core::fmt"],[838,"anyhow"],[839,"alloc::sync"],[840,"core::convert"],[841,"core::iter::traits::collect"],[842,"core::option"],[843,"core::iter::traits::iterator"],[844,"serde::ser"],[845,"alloc::string"],[846,"core::any"],[847,"core::ops::function"],[848,"core::marker"],[849,"iroh_relay::client::conn"],[850,"std::io::error"],[851,"core::net::socket_addr"],[852,"rustls::client::client_conn"],[853,"iroh_base::key"],[854,"hickory_resolver::resolver"],[855,"core::pin"],[856,"core::task::wake"],[857,"core::task::poll"],[858,"url"],[859,"governor::state::direct"],[860,"governor::state"],[861,"governor::state::direct::sinks"],[862,"governor::clock::with_std"],[863,"governor::gcra"],[864,"governor::middleware"],[865,"governor::jitter"],[866,"governor::state::direct::streams"],[867,"core::error"],[868,"http::header::value"],[869,"stun_rs::attributes"],[870,"stun_rs::attributes::stun::alternate_server"],[871,"stun_rs::error"],[872,"stun_rs::types"],[873,"stun_rs::attributes::stun::error_code"],[874,"stun_rs::attributes::stun::fingerprint"],[875,"stun_rs::attributes::stun::mapped_address"],[876,"stun_rs::attributes::stun::message_integrity"],[877,"stun_rs::attributes::stun::message_integrity_sha256"],[878,"stun_rs::attributes::stun::nonce"],[879,"stun_rs::attributes::stun::password_algorithm"],[880,"stun_rs::attributes::stun::password_algorithms"],[881,"stun_rs::attributes::stun::realm"],[882,"stun_rs::attributes::stun::software"],[883,"stun_rs::attributes::unknown"],[884,"stun_rs::attributes::stun::unknown_attributes"],[885,"stun_rs::attributes::stun::user_hash"],[886,"stun_rs::attributes::stun::user_name"],[887,"stun_rs::attributes::stun::xor_mapped_address"],[888,"stun_rs::context"],[889,"stun_rs::message"],[890,"core::hash"],[891,"alloc::vec"],[892,"core::time"],[893,"iroh_quinn::endpoint"],[894,"rustls_pki_types"],[895,"iroh_relay::server::metrics"],[896,"core::default"],[897,"iroh_relay::server::resolver"],[898,"rustls::crypto::signer"],[899,"reloadable_core"],[900,"alloc::vec::into_iter"],[901,"tokio::io::read_buf"],[902,"std::io"],[903,"rustls::server::server_conn"],[904,"tokio_util::task::abort_on_drop"],[905,"stun_rs"],[906,"stun_rs::methods"]],"i":"````fhj210`2102102101010202`21021010210221022211100022110210222`210210222100``110`112102121021021012210`````D`Dd11Df20201`2`02Cf2310DbDhDj564321063636335643210564321056432105564321055643210564321035643210330`32121202133212120205221635564321056432102056432105643210OfOhOj20`````````El000000000000000000000000``````Gn`0Jj10Kb002``22020022212``1`222222Hd33333333303333333Jh3124Jn14235014251425142522112142235014235014235042444222555555555555555514223350014222355555555555555555012142350142350`5555555555555555```2``14252301442350142350142350142350```````Kj00000000000000```Mn`0``Md``1`````0`M`0LdLfMhMj32Mb6LjMf43Ml8Lh;L`985;43762:1<019920:9819819819984:9855;43762:1<0985;43762:1<09999985;43762:1<08985;43762:1<09985;43762:1<090300209855;43762:1<0985;43762:1<08898331498999;;;;;40249585999962500400`3981985;43762:1<0985;43762:1<0985;43762:1<099985;43762:1<09OlOn``````","f":"````{b{{b{c}}}{}}00{{{b{d}}}{{b{dc}}}{}}00`{{{b{f}}}f}{{{b{h}}}h}{{{b{j}}}j}{{b{b{dc}}}l{}}00{{bn}l}00{{{b{h}}{b{h}}}A`}{{{b{j}}{b{j}}}A`}{{b{b{c}}}A`{}}0{{{b{f}}{b{Ab}}}Ad}{{}j}{{AbAf}f}`{Ah{{b{c}}}{}}00{Ah{{b{dc}}}{}}00{c{{Aj{h}}}Al}{c{{Aj{j}}}Al}{Ahl}00{{}f}{{{b{f}}{b{f}}}Ad}{{{b{h}}{b{h}}}Ad}{{{b{j}}{b{j}}}Ad}{{b{b{c}}}Ad{}}00000000{{{b{f}}{b{dAn}}}B`}0{{{b{h}}{b{dAn}}}B`}0{{{b{j}}{b{dAn}}}B`}{cc{}}00{e{{Bb{f}}}{{Bf{{Bd{h}}}}}{{Bj{}{{Bh{c}}}}}}{Abf}{{{b{f}}{b{Ab}}}{{Bl{{b{{Bd{h}}}}}}}}`{{}Ah}00{{}c{}}00{{{b{f}}}Ad}{{{b{f}}}Ah}{{{b{f}}}{{`{{Bn{}{{Bh{{b{{Bd{h}}}}}}}}}}}}{{{b{h}}{b{h}}}{{Bl{A`}}}}{{{b{j}}{b{j}}}{{Bl{A`}}}}````{{{b{h}}c}AjC`}{{{b{j}}c}AjC`}```{bc{}}00{bCb}0{c{{Aj{e}}}{}{}}00{{}{{Aj{c}}}{}}00{bCd}00`{{{b{f}}}{{`{{Bn{}{{Bh{{b{Ab}}}}}}}}}}{{}c{}}00````````````````````{{Cfc}Cf{{Cj{}{{Ch{Ad}}}}ClCn}}{b{{b{c}}}{}}000000{{{b{d}}}{{b{dc}}}{}}000000{{{b{D`}}}D`}{{{b{Cf}}}Cf}{{b{b{dc}}}l{}}0{{bn}l}0{{{b{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111111{{}c{}}000000000000``{{{b{Ld}}}{{Nh{{Gf{{b{Gj}}{b{Nf}}}}}}}}{{{b{Lf}}}{{Nh{{Gf{{b{Gj}}{b{Nf}}}}}}}}````{{}{{b{Gj}}}}0```{{{Ef{{b{dMd}}}}{b{dEh}}}{{Ej{{Aj{lDl}}}}}}{{{Ef{{b{dMd}}}}{b{dEh}}{b{dNj}}}{{Ej{{Nl{l}}}}}}1{{{Ef{{b{dMd}}}}{b{dEh}}{b{{Gl{n}}}}}{{Ej{{Aj{AhDl}}}}}}{{{Ef{{b{dMd}}}}{b{dEh}}{b{{Gl{Nn}}}}}{{Ej{{Aj{AhDl}}}}}}`;```{{{b{{Mb{c}}}}}l{Cl{Nd{}{{N`{Nb}}}}}}`{{{b{{Mb{c}}}}O`}{{Bl{{Bd{Nb}}}}}{{Nd{}{{N`{Nb}}}}ClLn}}``````{{{Mb{c}}}l{Cl{Nd{}{{N`{Nb}}}}}}{L`{{Bb{l}}}}{{{Lj{ce}}}{{Bb{L`}}}LnLn}`{{{b{L`}}}{{Bl{Dn}}}}{{{b{dL`}}}{{b{d{Ob{{Bb{l}}}}}}}}``{bc{}}00{c{{Aj{e}}}{}{}}000000000000{{}{{Aj{c}}}{}}000000000000{bCd}000000000000``{{}c{}}000000000000```{{}Mj}{{}{{Mf{l}}}}{{}{{Gf{{Kh{Lb}}Od}}}}{{}{{Lj{l}}}}{{}Mh}{{}{{Ml{l}}}}","D":"BIb","p":[[1,"reference",null,null,1],[0,"mut"],[5,"RelayMap",0,832],[5,"RelayNode",0,832],[5,"RelayQuicConfig",0,832],[1,"unit"],[1,"u8"],[6,"Ordering",833],[5,"RelayUrl",834],[1,"bool"],[1,"u16"],[1,"usize"],[6,"Result",835,null,1],[10,"Deserializer",836],[5,"Formatter",837],[8,"Result",837],[8,"Result",838],[5,"Arc",839,null,1],[10,"Into",840],[17,"Item"],[10,"IntoIterator",841],[6,"Option",842,null,1],[10,"Iterator",843],[10,"Serializer",844],[5,"String",845],[5,"TypeId",846],[5,"ClientBuilder",103],[17,"Output"],[10,"Fn",847],[10,"Send",848],[10,"Sync",848],[6,"ReceivedMessage",103,849],[5,"Client",103],[6,"ConnSendError",103,849],[6,"SendMessage",103,849],[5,"ClientSink",103],[5,"ClientStream",103],[5,"Error",850],[6,"SocketAddr",851],[5,"ClientConfig",852],[5,"SecretKey",853],[8,"TokioResolver",854],[5,"Pin",855],[5,"Context",856],[6,"Poll",857],[6,"Protocol",268],[5,"Url",858],[6,"NotKeyed",859],[5,"RateLimiter",860],[5,"RatelimitedSink",861],[10,"DirectStateStore",859],[10,"ReasonablyRealtime",862],[17,"NegativeOutcome"],[5,"NotUntil",863],[10,"RateLimitingMiddleware",864],[5,"Jitter",865],[5,"RatelimitedStream",866],[10,"Error",867],[1,"tuple",null,null,1],[5,"HeaderValue",868],[1,"str"],[1,"slice"],[6,"StunAttribute",302,869],[5,"AlternateServer",870],[5,"StunError",871],[5,"TransactionId",302,872],[1,"array"],[5,"ErrorCode",873],[6,"Fingerprint",874],[5,"MappedAddress",875],[6,"MessageIntegrity",876],[6,"MessageIntegritySha256",877],[5,"Nonce",878],[5,"PasswordAlgorithm",879],[5,"PasswordAlgorithms",880],[5,"Realm",881],[5,"Software",882],[5,"Unknown",883],[5,"UnknownAttributes",884],[5,"UserHash",885],[5,"UserName",886],[5,"XorMappedAddress",887],[5,"AttributeType",869],[5,"MessageDecoder",302,888],[6,"MessageClass",302,889],[5,"StunMessage",889],[5,"StunDecodeError",302,871],[5,"Error",837],[6,"Error",302],[5,"DecoderContext",888],[10,"Hasher",890],[5,"Vec",891],[5,"QuicClient",530],[5,"Duration",892],[5,"Endpoint",893],[5,"Server",549],[5,"CertificateDer",894],[5,"Metrics",549,895],[5,"StunMetrics",549,895],[5,"ClientConnRateLimit",549],[5,"ServerConfig",549],[10,"Default",896],[10,"Debug",837],[5,"Limits",549],[5,"ReloadingResolver",549,897],[6,"MaybeTlsStreamServer",549],[5,"RelayConfig",549],[5,"StunConfig",549],[5,"QuicConfig",549],[5,"TlsConfig",549],[6,"CertConfig",549],[17,"Value"],[5,"CertifiedKey",898],[10,"Loader",899],[10,"Any",846],[5,"IntoIter",900],[5,"ReadBuf",901],[8,"Result",850],[5,"IoSlice",902],[5,"ClientHello",903],[5,"AbortOnDropHandle",904],[5,"ServerConfig",903],[15,"ReceivedPacket",257],[15,"Health",257],[15,"ServerRestarting",257],[15,"Manual",824],[15,"LetsEncrypt",824]],"r":[[0,301],[1,832],[2,832],[3,832],[107,849],[118,849],[120,849],[312,889],[313,888],[325,869],[326,871],[328,872],[489,905],[527,906],[528,906],[529,906],[551,897],[556,895],[561,897],[565,895]],"b":[[52,"impl-Debug-for-RelayMap"],[53,"impl-Display-for-RelayMap"],[54,"impl-Display-for-RelayNode"],[55,"impl-Debug-for-RelayNode"],[166,"impl-Debug-for-ConnSendError"],[167,"impl-Display-for-ConnSendError"],[427,"impl-Debug-for-TransactionId"],[428,"impl-Display-for-TransactionId"],[429,"impl-Display-for-Error"],[430,"impl-Debug-for-Error"],[432,"impl-Debug-for-StunDecodeError"],[433,"impl-Display-for-StunDecodeError"],[436,"impl-From%3C%5Bu8;+stun_rs::::types::%7Bimpl%2314%7D::%7Bconstant%230%7D%5D%3E-for-TransactionId"],[438,"impl-From%3C%26%5Bu8;+stun_rs::::types::%7Bimpl%2313%7D::%7Bconstant%230%7D%5D%3E-for-TransactionId"],[440,"impl-From%3CUnknownAttributes%3E-for-StunAttribute"],[441,"impl-From%3CSoftware%3E-for-StunAttribute"],[442,"impl-From%3CUnknown%3E-for-StunAttribute"],[443,"impl-From%3CMessageIntegrity%3E-for-StunAttribute"],[444,"impl-From%3CMessageIntegritySha256%3E-for-StunAttribute"],[445,"impl-From%3CNonce%3E-for-StunAttribute"],[446,"impl-From%3CAlternateServer%3E-for-StunAttribute"],[447,"impl-From%3CPasswordAlgorithm%3E-for-StunAttribute"],[448,"impl-From%3CErrorCode%3E-for-StunAttribute"],[449,"impl-From%3CPasswordAlgorithms%3E-for-StunAttribute"],[450,"impl-From%3CFingerprint%3E-for-StunAttribute"],[451,"impl-From%3CRealm%3E-for-StunAttribute"],[452,"impl-From%3CXorMappedAddress%3E-for-StunAttribute"],[453,"impl-From%3CUserName%3E-for-StunAttribute"],[454,"impl-From%3CUserHash%3E-for-StunAttribute"],[455,"impl-From%3CMappedAddress%3E-for-StunAttribute"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAPcBMQABAAAABQAFAAwADAAaAAAAHQAKACkAEABBAAIASgABAFAAAQBVAA0AZQACAH0AEwCSABwAsAAAALcABgDLAAcA1QAIAN8AIgASAQwAIAEAACMBAwAoAQAAWgEAAGIBGQB9AQAAfwEaAKoBCAC1AQAAtwEAALkBDwDMAQYA7QEAAPABHwAXAgUAHwIAACICAwA/AhkAXwIIAGkCHgCMAgwAmgIMALwCAgDAAgkA2QIBAN8CAQDkAgQA8AIAAP8CKQArAwwA","P":[[4,"T"],[11,""],[14,"T"],[17,""],[22,"K"],[24,""],[28,"T"],[34,"__D"],[36,""],[43,"K"],[52,""],[57,"T"],[60,"I,"],[61,""],[67,"U"],[70,""],[79,"__S"],[84,"T"],[87,""],[89,"U,T"],[92,"U"],[95,""],[100,"V"],[123,"S"],[124,"T"],[138,""],[140,"T"],[142,""],[145,"T"],[159,""],[174,"T"],[175,""],[176,"T"],[182,""],[190,"U"],[197,""],[201,""],[202,"Sink::Error"],[206,"Stream::Item"],[208,"Sink::Error"],[210,""],[212,"D,C,MW,Item,S"],[216,"D,C,MW,S"],[220,""],[222,"Sink::Error"],[224,"T"],[226,""],[227,"U,T"],[234,"U"],[241,"S"],[243,""],[250,"V"],[273,"T"],[275,""],[276,"T"],[277,""],[278,"T"],[280,""],[282,"K"],[285,""],[286,"T"],[287,""],[288,"U"],[289,""],[290,"T"],[291,"U,T"],[292,"U"],[293,""],[295,"V"],[300,""],[353,"T"],[365,""],[369,"T"],[373,""],[378,"K"],[379,""],[382,"T"],[385,""],[386,"T"],[395,""],[403,"K"],[409,""],[434,"T"],[436,""],[437,"T"],[438,""],[439,"T"],[440,""],[456,"T"],[458,""],[459,"__H"],[460,""],[466,"U"],[472,""],[495,"T"],[499,""],[502,"U,T"],[504,""],[505,"U,T"],[509,"U"],[515,""],[521,"V"],[534,"T"],[538,""],[540,"T"],[541,""],[543,"U"],[544,""],[545,"U,T"],[546,"U"],[547,""],[548,"V"],[574,"T"],[604,""],[609,"T"],[612,""],[618,"EC,EA"],[619,""],[620,"T"],[623,"Loader,Deref::Target"],[624,"T"],[651,""],[667,"Loader"],[668,""],[669,"EC,EA"],[671,""],[673,"EC,EA"],[674,""],[676,"EC,EA"],[677,""],[679,"T"],[693,""],[702,"Loader"],[703,""],[713,"U"],[728,""],[749,"Loader"],[759,""],[760,"EC,EA"],[762,""],[766,"T"],[769,"U,T"],[782,"U"],[795,""],[810,"V"],[826,""]]}],["iroh_test",{"t":"FQNNNNCNCNNNNHHHHH","n":["CallOnDrop","assert_eq_hex","borrow","borrow_mut","drop","from","hexdump","into","logging","new","try_from","try_into","type_id","parse_hexdump","print_hexdump","setup","setup_multithreaded","testing_subscriber"],"q":[[0,"iroh_test"],[13,"iroh_test::hexdump"],[15,"iroh_test::logging"],[18,"core::ops::function"],[19,"core::result"],[20,"core::any"],[21,"alloc::vec"],[22,"anyhow"],[23,"alloc::string"],[24,"core::convert"],[25,"tracing_core::dispatcher"],[26,"tracing_core::subscriber"]],"i":"``f000`0`0000`````","f":"``{b{{b{c}}}{}}{{{b{d}}}{{b{dc}}}{}}{{{b{df}}}h}{cc{}}`{{}c{}}`{cfj}{c{{l{e}}}{}{}}{{}{{l{c}}}{}}{bn}{{{b{A`}}}{{Af{{Ad{Ab}}}}}}{{ce}Ah{{Al{{Aj{Ab}}}}}{{Al{{Aj{An}}}}}}{{}B`}{{}h}{{}{{`{Bb}}}}","D":"Ad","p":[[1,"reference",null,null,1],[0,"mut"],[5,"CallOnDrop",0],[1,"unit"],[10,"FnOnce",18],[6,"Result",19,null,1],[5,"TypeId",20],[1,"str"],[1,"u8"],[5,"Vec",21],[8,"Result",22],[5,"String",23],[1,"slice"],[10,"AsRef",24],[1,"usize"],[5,"DefaultGuard",25],[10,"Subscriber",26]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAAgABAABAAAAAwACAAcAAAAKAAMA","P":[[2,"T"],[4,""],[5,"T"],[7,"U"],[9,""],[10,"U,T"],[11,"U"],[12,""],[14,","],[15,""]]}]]'));
if (typeof exports !== 'undefined') exports.searchIndex = searchIndex;
else if (window.initSearch) window.initSearch(searchIndex);
-//{"start":39,"fragment_lengths":[500,60599,8260,6205,9917,4330,23061,1211]}
\ No newline at end of file
+//{"start":39,"fragment_lengths":[500,60548,8260,6205,9917,4330,23175,1211]}
\ No newline at end of file
diff --git a/pr/3068/docs/search.desc/iroh/iroh-desc-0-.js b/pr/3068/docs/search.desc/iroh/iroh-desc-0-.js
index 600df45f50..9f261e3274 100644
--- a/pr/3068/docs/search.desc/iroh/iroh-desc-0-.js
+++ b/pr/3068/docs/search.desc/iroh/iroh-desc-0-.js
@@ -1 +1 @@
-searchState.loadedDescShard("iroh", 0, "Peer-to-peer QUIC connections.\nError when decoding.\nThe encoded information had the wrong length.\nError when decoding the public key.\nError when deserialising a PublicKey or a SecretKey.\nThe length of an ed25519 PublicKey, in bytes.\nNetwork-level addressing information for an iroh node.\nThe identifier for a node in the (iroh) network.\nA public key.\nConfiguration of all the relay servers that can be used.\nInformation on a specific relay server.\nA URL identifying a relay server.\nCan occur when parsing a string into a RelayUrl.\nA secret key.\nGet this public key as a byte array.\nIs this a known node?\nCreates a new RelayMap with a single relay server …\nDefault values used in iroh\nReturns the direct addresses of this peer.\nSocket addresses where the peer might be reached directly.\nNode address discovery.\nThis module exports a DNS resolver, which is also the …\nCreate an empty relay map.\nThe Endpoint allows establishing connections to other iroh …\nConvert to a hex string limited to the first 5 bytes for a …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the addressing info from given ticket.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstruct a PublicKey from a slice of bytes.\nCreate a secret key from its byte representation.\nConstructs the RelayMap from an iterator of RelayNodes.\nCreates a new NodeAddr from its parts.\nReturns a RelayMap from a RelayUrl.\nGenerate a new SecretKey with a randomness generator.\nGet the given node.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nReturns true, if only a NodeId is present.\nAre there any nodes in this map?\nHow many nodes are known?\nCo-locating all of the iroh metrics structs\nCreates a new NodeAddr with no relay_url and no …\nThe node’s identifier.\nReturns an Iterator over all known nodes.\nTools for spawning an accept loop that routes incoming …\nReturns the VerifyingKey for this PublicKey.\nThe public key of this SecretKey.\nConfiguration to speak to the QUIC endpoint on the relay …\nReturns the relay url of this peer.\nThe node’s home relay url.\nReturns the SigningKey for this SecretKey.\nSign the given message and return a digital signature\nWhether this relay server should only be used for STUN …\nThe stun port of the relay server.\nInternal utilities to support testing.\nConvert this to the bytes representing the secret part. …\nThe RelayUrl where this relay server can be dialed.\nReturns the sorted relay URLs.\nVerify a signature on a message with this secret key’s …\nWatchable values.\nAdds the given direct addresses.\nAdds a relay url.\nThe default HTTPS port used by the Relay server.\nThe default HTTP port used by the Relay server.\nThe default metrics port used by the Relay server.\nThe default QUIC port used by the Relay server to accept …\nThe default STUN port used by the Relay server.\nProduction configuration.\nStaging configuration.\nHostname of the default Asia-Pacific relay.\nHostname of the default EU relay.\nHostname of the default NA relay.\nGet the default RelayNode for Asia-Pacific\nGet the default RelayNode for EU.\nGet the default RelayNode for NA.\nGet the default RelayMap.\nHostname of the default EU relay.\nHostname of the default NA relay.\nGet the default RelayNode for EU.\nGet the default RelayNode for NA.\nGet the default RelayMap.\nA discovery service that combines multiple discovery …\nNode discovery for super::Endpoint.\nThe results returned from Discovery::resolve.\nAdds a Discovery service.\nDNS node discovery for iroh\nCreates an empty ConcurrentDiscovery.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreates a new ConcurrentDiscovery.\nCalls U::from(self).\nCalls U::from(self).\nOptional timestamp when this node address info was last …\nA discovery service that uses an mdns-like service to …\nThe NodeId whose address we have discovered\nA discovery service which publishes and resolves node …\nA static string to identify the discovery source.\nPublishes the given RelayUrl and direct addreesses to the …\nResolves the DiscoveryItem for the given NodeId.\nA static discovery implementation that allows adding info …\nSubscribe to all addresses that get passively discovered.\nDNS node discovery\nThe n0 testing DNS node origin, for production.\nThe n0 testing DNS node origin, for testing.\nReturns the argument unchanged.\nCalls U::from(self).\nCreates a new DNS discovery using the iroh.link domain.\nCreates a new DNS discovery.\nDiscovery using swarm-discovery, a variation on mdns\nName of this discovery service.\nReturns the argument unchanged.\nCalls U::from(self).\nCreate a new LocalSwarmDiscovery Service.\nDefault TTL for the records in the pkarr signed packet.\nInterval in which to republish the node info even if …\nThe production pkarr relay run by number 0.\nThe testing pkarr relay run by number 0.\nPublisher of node discovery information to a pkarr relay.\nA pkarr client to publish pkarr::SignedPackets to a pkarr …\nResolver of node discovery information from a pkarr relay.\nPkarr based node discovery for iroh, supporting both relay …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCreates a pkarr publisher which uses the number 0 pkarr …\nCreates a pkarr resolver which uses the number 0 pkarr …\nCreates a new publisher for the SecretKey.\nCreates a new publisher using the pkarr relay server at …\nCreates a new client.\nPublishes a SignedPacket.\nResolves a SignedPacket for the given NodeId.\nPublishes the addressing information about this node to a …\nCreates a new PkarrPublisher with a custom TTL and …\nBuilder for DhtDiscovery.\nPkarr Mainline DHT and relay server node discovery.\nBuilds the discovery mechanism.\nCreates a new builder for DhtDiscovery.\nExplicitly sets the pkarr client to use.\nSets whether to publish to the Mainline DHT.\nReturns the argument unchanged.\nReturns the argument unchanged.\nSets whether to include the direct addresses in the DNS …\nSets the initial delay before the first publish.\nCalls U::from(self).\nCalls U::from(self).\nUses the default number 0 pkarr relay URL.\nSets the pkarr relay URL to use.\nSets the republish delay for the DHT.\nSets the secret key to use for signing the DNS packets.\nSets the time-to-live value for the DNS packets.\nThe provenance string for this discovery implementation.\nA static discovery implementation that allows providing …\nAdd node info for the given node id, combining it with any …\nReturns the argument unchanged.\nCreates a static discovery instance from something that …\nGet node info for the given node id.\nCalls U::from(self).\nCreate a new static discovery instance.\nRemove node info for the given node id.\nAdd node info for the given node id.\nThe DNS resolver type used throughout iroh.\nExtension trait to DnsResolver.\nGet a reference to the default DNS resolver.\nLooks up node info by NodeId and origin domain name.\nLooks up node info by NodeId and origin domain name.\nLooks up node info by NodeId and origin domain name.\nLooks up node info by NodeId and origin domain name.\nLooks up node info by DNS name.\nLooks up node info by DNS name.\nLooks up node info by DNS name in a staggered fashion.\nLooks up node info by DNS name in a staggered fashion.\nPerform an ipv4 lookup with a timeout.\nRace an ipv4 and ipv6 lookup with a timeout.\nResolve IPv4 and IPv6 in parallel.\nRace an ipv4 and ipv6 lookup with a timeout in a staggered …\nRace an ipv4 and ipv6 lookup with a timeout in a staggered …\nPerform an ipv4 lookup with a timeout in a staggered …\nPerform an ipv4 lookup with a timeout in a staggered …\nPerform an ipv6 lookup with a timeout.\nPerform an ipv6 lookup with a timeout in a staggered …\nPerform an ipv6 lookup with a timeout in a staggered …\nSupport for handling DNS resource records for dialing by …\nGet the DNS resolver used within iroh.\nDirect address.\nThe DNS name for the iroh TXT record.\nThe attributes supported by iroh for IROH_TXT_NAME DNS …\nInformation about the iroh node contained in an …\nURL of home relay.\nAttributes parsed from IROH_TXT_NAME TXT records.\nReturns the parsed attributes.\nAny direct addresses.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nParses a NodeInfo from a set of DNS records.\nParses a set of DNS resource records.\nCreates TxtAttrs from a node id and an iterator of …\nParses a NodeInfo from a pkarr::SignedPacket.\nParses a pkarr::SignedPacket.\nCreates TxtAttrs from a node id and an iterator of “…\nParses a NodeId from [z-base-32] encoding.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nLooks up attributes by NodeId and origin domain.\nLooks up attributes by DNS name.\nCreates a new NodeInfo from its parts.\nReturns the node id.\nThe NodeId.\nThe advertised home relay server.\nConverts into a hickory_resolver::proto::rr::Record DNS …\nConverts to a list of hickory_resolver::proto::rr::Record …\nCreates a pkarr::SignedPacket.\nCreates a pkarr::SignedPacket\nEncodes a NodeId in [z-base-32] encoding.\nthe endpoint has reached the confidentiality or integrity …\nthe application or application protocol caused the …\nFuture produced by Endpoint::accept.\nFuture produced by Connection::accept_bi\nFuture produced by Connection::accept_uni\nParameters for controlling the peer’s acknowledgement …\nA key for sealing data with AEAD-based algorithms\nApplication layer added the address directly.\nReason given by an application for closing the connection\nThe peer closed the connection\nBuilder for Endpoint.\nthe number of connection IDs provided by the peer exceeds …\nthe server refused to accept a new connection\nreceived more data in CRYPTO frames than can be buffered\nWe received a CallMeMaybe.\nA chunk of data from the receive stream\nThe connection could not be created because not enough of …\nError indicating that a stream has not been opened or has …\nThe stream has already been stopped, finished, or reset\nThe stream has already been finished or reset\nIn-progress connection attempt future\nA QUIC connection.\nReason given by the transport for closing the connection\nThe peer’s QUIC stack aborted the connection …\nReasons why a connection might be lost\nThe connection was lost\nThe connection was lost\nThe connection was lost\nThe connection was lost\nThe connection was lost\nConnection statistics\nThe type of connection we have to the endpoint.\nThe type of control message we have received.\nCommon interface for different congestion controllers\nConstructs controllers on demand\nGeneric crypto errors\nServer-side configuration for the crypto protocol\nUse a custom relay map.\nUse the default relay map, with production relay servers …\nDirect UDP connection\nA direct address on which an iroh-node might be …\nInformation about a direct address.\nThe type of direct address.\nDatagram support is disabled locally\nDisable relay servers completely.\nThe address was discovered by a discovery service.\nEnvironment variable to force the use of staging relays.\nControls an iroh node, establishing connections with other …\nError returned by Session::export_keying_material.\nreceived a STREAM frame or a RESET_STREAM frame containing …\nreceived more data than permitted in advertised data limits\nreceived a frame that was badly formatted\nThe stream finished before all bytes were read\nNumber of frames transmitted of each frame type\nA pseudo random key for HKDF\nthe endpoint encountered an internal error and cannot …\nreceived an invalid Retry Token in a client Initial\nAttempted an ordered read following an unordered read\nAn incoming connection for which the server has not yet …\nAdaptor to let Incoming be awaited like a Connecting.\nkey update error\nA locally bound socket address.\nThe local application closed the connection\nThe largest representable value\nThe largest encoded value length\nBoth a UDP and a relay connection are used.\nParameters governing MTU discovery.\nthe connection is being closed abruptly in the absence of …\nno viable network path exists\nApplication layer with a specific name added the node …\nWe have no verified connection to this PublicKey\nFuture produced by Connection::open_bi\nFuture produced by Connection::open_uni\ndetected an error with protocol compliance that was not …\nStatistics related to a transmission path\nWe received a Ping from the node.\nWe received a Pong from the node.\nAn address assigned by the router using port mapping.\nAn error occurred during reading\nFuture produced by Connection::read_datagram\nErrors that arise from reading from a stream.\nA read error occurred\nErrors that arise from reading from a stream.\nErrors from RecvStream::read_to_end\nA stream that can only be used to receive data\nRelay connection over relay\nA node communicated with us first via relay.\nConfiguration of the relay servers for an Endpoint.\nDetails about a remote iroh node which is known to this …\nThe peer abandoned transmitting data on this stream\nThe peer is unable to continue processing this connection, …\nErrors that arise while waiting for a stream to be reset\nError for attempting to retry an Incoming which already …\nreceived a frame for a stream identifier that exceeded …\nreceived a frame for a stream that was not in a state that …\nAddress was loaded from the fs.\nErrors that can arise when sending a datagram\nA stream that can only be used to send data\nParameters governing incoming connections\nThe origin or source through which an address associated …\nUse the staging relay servers from n0.\nThe peer is no longer accepting data on this stream\nErrors that arise while monitoring for a send stream stop …\nIdentifier for a stream within a particular connection\nPublic internet address discovered via STUN.\nHard NAT: STUN’ed IPv4 address + local fixed port.\nreceived transport parameters that were badly formatted, …\nCommunication with the peer has lapsed for longer than the …\nThe datagram is larger than the connection can currently …\nThe stream is larger than the user-supplied limit\nParameters governing the core QUIC state machine\nTransport-level errors occur when a peer violates the …\nThe peer violated the QUIC specification as understood by …\nTransport-level error code\nA node communicated with us first via UDP.\nStatistics about UDP datagrams transmitted or received on …\nNot yet determined..\nThe peer does not support receiving datagram frames\nError indicating that the specified QUIC version is not …\nAn integer less than 2^62\nThe peer doesn’t implement any supported version\nA handle to some connection internals, use with care.\nErrors that arise from writing to a stream\nIndicates how many bytes and chunks had been transferred …\nFuture that completes when a connection is fully …\nThis was a 0-RTT stream and the server rejected it\nThis was a 0-RTT stream and the server rejected it\nThis was a 0-RTT stream and the server rejected it\nThis was a 0-RTT stream and the server rejected it\nAccepts an incoming connection on the endpoint.\nAttempts to accept this incoming connection (an error may …\nAccept the next incoming bidirectional stream\nAccept the next incoming uni-directional stream\nAccepts this incoming connection using a custom …\nThe ack-eliciting threshold we will request the peer to use\nSpecifies the ACK frequency config (see AckFrequencyConfig …\nAdds a discovery mechanism for this endpoint.\nInforms this Endpoint about addresses of the iroh node.\nInforms this Endpoint about addresses of the iroh node, …\nThe UDP address reported by the remote node.\nThe address.\nThe addresses at which this node might be reachable.\nDerive AEAD using hkdf\nWhether the implementation is permitted to set the spin …\nExtracts the ALPN protocol from the peer’s handshake …\nSets the ALPN protocols that this endpoint will accept on …\nBinds the magic endpoint.\nSets the IPv4 bind address.\nSets the IPv6 bind address.\nSpecifies the amount of time that MTU discovery should …\nThe number of times a black hole was detected in the path\nReturns the local socket addresses on which the underlying …\nConstruct a fresh Controller\nReturns the builder for an Endpoint, with a production …\nThe contents of the chunk\nThe total amount of bytes which have been transferred …\nThe amount of bytes which had been written\nThe amount of full chunks which had been written\nRemoves all discovery services from the builder.\nDuplicate the controller’s state\nClose the connection immediately.\nCloses the QUIC endpoint and the magic socket.\nIf the connection is closed, the reason why.\nWait for the connection to be closed for any reason\nType of error\nHow to construct new congestion::Controllers\nCongestion events on the connection\nCurrent state of the congestion control algorithm, for …\nReturns a Watcher that reports the current connection type …\nThe type of connection we have to the node, either direct …\nConnects to a remote Endpoint.\nCreate QUIC error code from TLS alert code\nTLS configuration used for incoming connections.\nMaximum quantity of out-of-order crypto layer data to …\nLargest UDP payload size the path currently supports\nCurrent congestion window of the connection\nMaximum number of incoming application datagram bytes to …\nMaximum number of outgoing application datagram bytes to …\nBytes available in the outgoing datagram buffer\nThe amount of UDP datagrams observed\nReturns the default relay mode.\nWhich directions data flows in\nReturns a Watcher for the direct addresses of this Endpoint…\nOptionally sets a discovery mechanism for this endpoint.\nReturns the discovery mechanism, if configured.\nConfigures the endpoint to also use the mainline DHT with …\nConfigures the endpoint to also use local network …\nConfigures the endpoint to use the default n0 DNS …\nOptionally sets a custom DNS resolver to use for this …\nReturns the DNS resolver used in this Endpoint.\nWhether to use “Generic Segmentation Offload” to …\nClass of error as encoded in the specification\nApplication-specific reason code\nDerive keying material from this connection’s TLS …\nNotify the peer that no more data will ever be written to …\nReturns true if the use of staging relays is forced.\nFrame type that triggered the error\nStatistics about frames received on a connection\nStatistics about frames transmitted on a connection\nType of frame that caused the close\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstruct a VarInt infallibly\nSucceeds iff x < 2^62\nCreate a VarInt without ensuring it’s in range\nExtract the PublicKey from the peer’s TLS certificate.\nParameters negotiated during the handshake\nParameters negotiated during the handshake\nWhether there is a possible known network path to the …\nReturns a Watcher for the RelayUrl of the Relay server …\nGet the identity of this stream\nGet the identity of this stream\nIgnores this incoming connection attempt, not sending any …\nMaximum number of received bytes to buffer for each …\nMaximum number of received bytes to buffer for all Incoming\nDistinguishes streams of the same initiator and …\nCreate the initial set of keys given the client’s …\nThe initial value to be used as the maximum UDP payload …\nThe RTT used before an RTT sample is taken\nInitial congestion window\nWhich side of a connection initiated the stream\nSkip verification of SSL certificates from relay servers\nSpecifies the time to wait after completing MTU discovery …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nConvert into a 0-RTT or 0.5-RTT connection at the cost of …\nReturns Self for use in down-casting to extract …\nGet the Incoming\nExtract the integer value\nThe amount of I/O operations executed\nCheck if this stream has been opened during 0-RTT.\nReturns true if the Connection associated with this handle …\nCheck if this endpoint is still alive, or already closed.\nPeriod of inactivity before sending a keep-alive packet\nEnables saving the TLS pre-master key for connections.\nOptionally set a list of known nodes.\nElapsed time since this network path was known to exist.\nLast control message received by this node about this …\nElapsed time since the last payload message was received …\nGet the duration since the last activity we received from …\nTime elapsed time since last we have sent to or received …\nThe latency to the remote node over this network path.\nThe latency of the current network path to the remote node.\nThe local IP address which was used when the peer …\nReturns the local IP address which was used when the peer …\nThe local IP address which was used when the peer …\nThe amount of bytes lost on this path\nThe amount of packets lost on this path\nThe amount of PLPMTUD probe packets lost on this path …\nCreates a ServerConfig with the given secret key and …\nThe max_ack_delay we will request the peer to use\nMaximum number of incoming bidirectional streams that may …\nVariant of max_concurrent_bidi_streams affecting …\nCompute the maximum size of datagrams that may be passed …\nMaximum duration of inactivity to accept before timing out …\nMaximum number of Incoming to allow to exist at a time\nWhether to allow clients to migrate to new addresses\nThe maximum UDP payload size guaranteed to be supported by …\nSpecifies the minimum MTU change to stop the MTU discovery …\nSpecifies the MTU discovery config (see MtuDiscoveryConfig …\nNotifies the system of potential network changes.\nResets path-specific state.\nCreate a default config with a particular handshake token …\nCreate a new StreamId\nReturns the current NodeAddr for this endpoint.\nReturns the node id of this endpoint.\nThe globally unique identifier for this node.\nTrack changed on our external address as reported by the …\nThe offset in the stream\nPacket deliveries were confirmed\nPackets were deemed lost or marked congested\nPackets are acked in batches, all with the same now …\nThe known MTU for the current network path has been updated\nOne or more packets were just sent\nMethod for opening a sealed message data\nInitiate a new outgoing bidirectional stream.\nInitiate a new outgoing unidirectional stream.\nMaximum reordering in packet number space before FACK …\nStatistics related to the current transmission path\nCryptographic identity of the peer\nNumber of consecutive PTOs after which network is …\nAttempts to read from the stream into buf.\nAttempt to write bytes from buf into the stream.\nThe preferred IPv4 address that will be communicated to …\nThe preferred IPv6 address that will be communicated to …\nGet the priority of the send stream\nSets the proxy url from the environment, in this order:\nSets an explicit proxy url to proxy all HTTP(S) traffic …\nRead data contiguously from the stream.\nRead the next segment of data\nRead the next segments of data\nReceive an application datagram\nRead an exact number of bytes contiguously from the stream.\nConvenience method to read all remaining data into a buffer\nHuman-readable reason for the close\nHuman-readable reason for the close\nHuman-readable explanation of the reason\nWhether to receive observed address reports from other …\nMaximum number of bytes the peer may transmit across all …\nCompletes when the stream has been reset by the peer or …\nRejects this incoming connection attempt.\nReturns the relay map for this mode.\nSets the relay servers to assist in establishing …\nRelay server information, if available.\nThe peer’s UDP address\nReturns the peer’s UDP address.\nThe peer’s UDP address.\nWhether the socket address that is initiating this …\nReturns information about the remote node identified by a …\nReturns information about all the remote nodes this …\nThe reordering threshold we will request the peer to use\nClose the send stream immediately.\nResponds with a retry packet.\nGenerate the integrity tag for a retry packet\nDuration after a stateless retry token was issued for …\nCurrent best estimate of this connection’s latency …\nCurrent best estimate of this connection’s latency …\nSaturating integer addition. Computes self + rhs, …\nMethod for sealing message data\nSets a secret key to authenticate with other peers.\nReturns the secret_key of this endpoint.\nTransmit data as an unreliable, unordered application …\nTransmit data as an unreliable, unordered application …\nWhether to send observed address reports to peers.\nMaximum number of bytes to transmit to a peer without …\nThe amount of packets sent on this path\nThe amount of PLPMTUD probe packets sent on this path …\nSets the list of accepted ALPN protocols.\nModify the number of remotely initiated bidirectional …\nModify the number of remotely initiated unidirectional …\nSet the priority of the send stream\nSee proto::TransportConfig::receive_window()\nReturns a deduplicated list of Sources merged from all …\nA HashMap of Sources to Durations.\nA stable identifier for this connection\nStart a server session with this configuration\nReturns connection statistics\nStop accepting data\nCompletes when the peer stops the stream or reads the …\nMaximum number of bytes the peer may transmit without …\nMaximum reordering in time space before time based loss …\nPrivate key used to authenticate data included in …\nTransport configuration to use for incoming connections\nSet a custom TransportConfig\nSets a custom quinn::TransportConfig for this endpoint.\nSucceeds iff x < 2^62\nSucceeds iff x < 2^62\nSucceeds iff x < 2^62\nThe origin of this direct address.\nStatistics about UDP datagrams received on a connection\nStatistics about UDP datagrams transmitted on a connection\nSpecifies the upper bound to the max UDP payload size that …\nReturns a weak reference to the inner connection struct.\nNumber of ack-eliciting bytes that may be in flight\nCreate a server config with the given crypto::ServerConfig\nCreate a server config with the given certificate chain to …\nWrite bytes to the stream\nConvenience method to write an entire buffer to the stream\nConvenience method to write an entire list of chunks to …\nConvenience method to write a single chunk in its entirety …\nWrite chunks to the stream\nThe name of the discovery service that discovered the …\nThe name of the application that added the node\nEnum of metrics for the module\nEnum of metrics for the module\nEnum of metrics for the module\nMetrics tracked for the relay server\nNumber of connections we have accepted\nBytes received from a FrameType::SendPacket\nBytes sent from a FrameType::SendPacket\nNumber of connections with a successful handshake that …\nNumber of connections with a successful handshake.\nNumber of client connections which have had any frames …\nNumber of accepted ‘iroh derp http’ connection upgrades\nFrameType::SendPacket dropped that are disco messages\nFrameType::SendPacket received that are disco messages\nFrameType::SendPacket sent that are disco messages\nNumber of connections we have removed because of an error\nNumber of frames received from client connection which …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nNumber of FrameType::Pings received\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nNumber of nodes we have attempted to contact.\nNumber of nodes we have managed to contact directly.\nThe number of direct connections we have made to peers.\nThe number of direct connections we have lost to peers.\nThe number of connections to peers we have added over …\nThe number of connections to peers we have removed over …\nPackets of other FrameTypes dropped\nPackets of other FrameTypes received\nPackets of other FrameTypes sent\nNumber of QUIC datagrams received.\nNumber of datagrams received using GRO\nFrameType::SendPacket dropped, that are not disco messages\nFrameType::SendPacket received, that are not disco messages\nFrameType::SendPacket sent, that are not disco messages\nNumber of FrameType::Pongs sent\nNumber of unique client keys per day\nNumber of FrameType::Unknown received\nNumber of accepted websocket connections\nHandler for incoming connections.\nThe built router.\nBuilder for creating a Router for accepting protocols.\nHandle an incoming connection.\nConfigures the router to accept the ProtocolHandler when …\nCreates a new Router using given Endpoint.\nReturns the Endpoint stored in this router.\nReturns the Endpoint of the node.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nChecks if the router is already shutdown.\nCreates a new router builder using given Endpoint.\nCalled when the node shuts down.\nShuts down the accept loop cleanly.\nSpawns an accept loop and returns a handle to it …\nA drop guard to clean up test infrastructure.\nHandle and drop guard for test DNS and Pkarr servers.\nCreate a DNS resolver with a single nameserver.\nCreate a ConcurrentDiscovery with DnsDiscovery and …\nCreate a DnsResolver configured to use the test DNS server.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nThe socket address of the DNS server.\nThe node origin domain.\nWait until a Pkarr announce for a node is published to the …\nThe HTTP URL of the Pkarr server.\nRun DNS and Pkarr servers on localhost.\nRuns a relay server with STUN and QUIC enabled suitable …\nRuns a relay server.\nRuns a relay server with STUN enabled suitable for tests.\nRun DNS and Pkarr servers on localhost with the specified …\nThe error for when a Watcher is disconnected from its …\nFuture returning the current or next value that’s Some …\nFuture returning the next item after the current one in a …\nA wrapper around a value that notifies Watchers when the …\nAn observer for a value.\nA stream for a Watcher’s next values.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the currently stored value.\nReturns the currently held value.\nReturns a future completing once the value is set to Some …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCreates a Watchable initialized to given value.\nSets a new value.\nReturns a stream which will yield the most recent values …\nReturns a stream which will yield the most recent values …\nReturns a future completing with Ok(value) once a new …\nCreates a Watcher allowing the value to be observed, but …")
\ No newline at end of file
+searchState.loadedDescShard("iroh", 0, "Peer-to-peer QUIC connections.\nError when decoding.\nThe encoded information had the wrong length.\nError when decoding the public key.\nError when deserialising a PublicKey or a SecretKey.\nThe length of an ed25519 PublicKey, in bytes.\nNetwork-level addressing information for an iroh node.\nThe identifier for a node in the (iroh) network.\nA public key.\nConfiguration of all the relay servers that can be used.\nInformation on a specific relay server.\nA URL identifying a relay server.\nCan occur when parsing a string into a RelayUrl.\nA secret key.\nGet this public key as a byte array.\nIs this a known node?\nCreates a new RelayMap with a single relay server …\nDefault values used in iroh\nReturns the direct addresses of this peer.\nSocket addresses where the peer might be reached directly.\nNode address discovery.\nThis module exports a DNS resolver, which is also the …\nCreate an empty relay map.\nThe Endpoint allows establishing connections to other iroh …\nConvert to a hex string limited to the first 5 bytes for a …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the addressing info from given ticket.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstruct a PublicKey from a slice of bytes.\nCreate a secret key from its byte representation.\nConstructs the RelayMap from an iterator of RelayNodes.\nCreates a new NodeAddr from its parts.\nReturns a RelayMap from a RelayUrl.\nGenerate a new SecretKey with a randomness generator.\nGet the given node.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nReturns true, if only a NodeId is present.\nAre there any nodes in this map?\nHow many nodes are known?\nCo-locating all of the iroh metrics structs\nCreates a new NodeAddr with no relay_url and no …\nThe node’s identifier.\nReturns an Iterator over all known nodes.\nTools for spawning an accept loop that routes incoming …\nReturns the VerifyingKey for this PublicKey.\nThe public key of this SecretKey.\nConfiguration to speak to the QUIC endpoint on the relay …\nReturns the relay url of this peer.\nThe node’s home relay url.\nReturns the SigningKey for this SecretKey.\nSign the given message and return a digital signature\nWhether this relay server should only be used for STUN …\nThe stun port of the relay server.\nInternal utilities to support testing.\nConvert this to the bytes representing the secret part. …\nThe RelayUrl where this relay server can be dialed.\nReturns the sorted relay URLs.\nVerify a signature on a message with this secret key’s …\nWatchable values.\nAdds the given direct addresses.\nAdds a relay url.\nThe default HTTPS port used by the Relay server.\nThe default HTTP port used by the Relay server.\nThe default metrics port used by the Relay server.\nThe default QUIC port used by the Relay server to accept …\nThe default STUN port used by the Relay server.\nProduction configuration.\nStaging configuration.\nHostname of the default Asia-Pacific relay.\nHostname of the default EU relay.\nHostname of the default NA relay.\nGet the default RelayNode for Asia-Pacific\nGet the default RelayNode for EU.\nGet the default RelayNode for NA.\nGet the default RelayMap.\nHostname of the default EU relay.\nHostname of the default NA relay.\nGet the default RelayNode for EU.\nGet the default RelayNode for NA.\nGet the default RelayMap.\nA discovery service that combines multiple discovery …\nNode discovery for super::Endpoint.\nThe results returned from Discovery::resolve.\nAdds a Discovery service.\nDNS node discovery for iroh\nCreates an empty ConcurrentDiscovery.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreates a new ConcurrentDiscovery.\nCalls U::from(self).\nCalls U::from(self).\nOptional timestamp when this node address info was last …\nA discovery service that uses an mdns-like service to …\nThe NodeId whose address we have discovered\nA discovery service which publishes and resolves node …\nA static string to identify the discovery source.\nPublishes the given RelayUrl and direct addreesses to the …\nResolves the DiscoveryItem for the given NodeId.\nA static discovery implementation that allows adding info …\nSubscribe to all addresses that get passively discovered.\nDNS node discovery\nThe n0 testing DNS node origin, for production.\nThe n0 testing DNS node origin, for testing.\nReturns the argument unchanged.\nCalls U::from(self).\nCreates a new DNS discovery using the iroh.link domain.\nCreates a new DNS discovery.\nDiscovery using swarm-discovery, a variation on mdns\nName of this discovery service.\nReturns the argument unchanged.\nCalls U::from(self).\nCreate a new LocalSwarmDiscovery Service.\nDefault TTL for the records in the pkarr signed packet.\nInterval in which to republish the node info even if …\nThe production pkarr relay run by number 0.\nThe testing pkarr relay run by number 0.\nPublisher of node discovery information to a pkarr relay.\nA pkarr client to publish pkarr::SignedPackets to a pkarr …\nResolver of node discovery information from a pkarr relay.\nPkarr based node discovery for iroh, supporting both relay …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCreates a pkarr publisher which uses the number 0 pkarr …\nCreates a pkarr resolver which uses the number 0 pkarr …\nCreates a new publisher for the SecretKey.\nCreates a new publisher using the pkarr relay server at …\nCreates a new client.\nPublishes a SignedPacket.\nResolves a SignedPacket for the given NodeId.\nPublishes the addressing information about this node to a …\nCreates a new PkarrPublisher with a custom TTL and …\nBuilder for DhtDiscovery.\nPkarr Mainline DHT and relay server node discovery.\nBuilds the discovery mechanism.\nCreates a new builder for DhtDiscovery.\nExplicitly sets the pkarr client to use.\nSets whether to publish to the Mainline DHT.\nReturns the argument unchanged.\nReturns the argument unchanged.\nSets whether to include the direct addresses in the DNS …\nSets the initial delay before the first publish.\nCalls U::from(self).\nCalls U::from(self).\nUses the default number 0 pkarr relay URL.\nSets the pkarr relay URL to use.\nSets the republish delay for the DHT.\nSets the secret key to use for signing the DNS packets.\nSets the time-to-live value for the DNS packets.\nThe provenance string for this discovery implementation.\nA static discovery implementation that allows providing …\nAdd node info for the given node id, combining it with any …\nReturns the argument unchanged.\nCreates a static discovery instance from something that …\nGet node info for the given node id.\nCalls U::from(self).\nCreate a new static discovery instance.\nRemove node info for the given node id.\nAdd node info for the given node id.\nThe DNS resolver type used throughout iroh.\nExtension trait to DnsResolver.\nGet a reference to the default DNS resolver.\nLooks up node info by NodeId and origin domain name.\nLooks up node info by NodeId and origin domain name.\nLooks up node info by NodeId and origin domain name.\nLooks up node info by NodeId and origin domain name.\nLooks up node info by DNS name.\nLooks up node info by DNS name.\nLooks up node info by DNS name in a staggered fashion.\nLooks up node info by DNS name in a staggered fashion.\nPerform an ipv4 lookup with a timeout.\nRace an ipv4 and ipv6 lookup with a timeout.\nResolve IPv4 and IPv6 in parallel.\nRace an ipv4 and ipv6 lookup with a timeout in a staggered …\nRace an ipv4 and ipv6 lookup with a timeout in a staggered …\nPerform an ipv4 lookup with a timeout in a staggered …\nPerform an ipv4 lookup with a timeout in a staggered …\nPerform an ipv6 lookup with a timeout.\nPerform an ipv6 lookup with a timeout in a staggered …\nPerform an ipv6 lookup with a timeout in a staggered …\nSupport for handling DNS resource records for dialing by …\nGet the DNS resolver used within iroh.\nDirect address.\nThe DNS name for the iroh TXT record.\nThe attributes supported by iroh for IROH_TXT_NAME DNS …\nInformation about the iroh node contained in an …\nURL of home relay.\nAttributes parsed from IROH_TXT_NAME TXT records.\nReturns the parsed attributes.\nAny direct addresses.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nParses a NodeInfo from a set of DNS records.\nParses a set of DNS resource records.\nCreates TxtAttrs from a node id and an iterator of …\nParses a NodeInfo from a pkarr::SignedPacket.\nParses a pkarr::SignedPacket.\nCreates TxtAttrs from a node id and an iterator of “…\nParses a NodeId from [z-base-32] encoding.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nLooks up attributes by NodeId and origin domain.\nLooks up attributes by DNS name.\nCreates a new NodeInfo from its parts.\nReturns the node id.\nThe NodeId.\nThe advertised home relay server.\nConverts into a hickory_resolver::proto::rr::Record DNS …\nConverts to a list of hickory_resolver::proto::rr::Record …\nCreates a pkarr::SignedPacket.\nCreates a pkarr::SignedPacket\nEncodes a NodeId in [z-base-32] encoding.\nthe endpoint has reached the confidentiality or integrity …\nthe application or application protocol caused the …\nFuture produced by Endpoint::accept.\nFuture produced by Connection::accept_bi\nFuture produced by Connection::accept_uni\nParameters for controlling the peer’s acknowledgement …\nA key for sealing data with AEAD-based algorithms\nApplication layer added the address directly.\nReason given by an application for closing the connection\nThe peer closed the connection\nBuilder for Endpoint.\nthe number of connection IDs provided by the peer exceeds …\nthe server refused to accept a new connection\nreceived more data in CRYPTO frames than can be buffered\nWe received a CallMeMaybe.\nA chunk of data from the receive stream\nThe connection could not be created because not enough of …\nError indicating that a stream has not been opened or has …\nThe stream has already been stopped, finished, or reset\nThe stream has already been finished or reset\nIn-progress connection attempt future\nA QUIC connection.\nReason given by the transport for closing the connection\nThe peer’s QUIC stack aborted the connection …\nReasons why a connection might be lost\nThe connection was lost\nThe connection was lost\nThe connection was lost\nThe connection was lost\nThe connection was lost\nConnection statistics\nThe type of connection we have to the endpoint.\nThe type of control message we have received.\nCommon interface for different congestion controllers\nConstructs controllers on demand\nGeneric crypto errors\nServer-side configuration for the crypto protocol\nUse a custom relay map.\nUse the default relay map, with production relay servers …\nDirect UDP connection\nA direct address on which an iroh-node might be …\nInformation about a direct address.\nThe type of direct address.\nDatagram support is disabled locally\nDisable relay servers completely.\nThe address was discovered by a discovery service.\nEnvironment variable to force the use of staging relays.\nControls an iroh node, establishing connections with other …\nError returned by Session::export_keying_material.\nreceived a STREAM frame or a RESET_STREAM frame containing …\nreceived more data than permitted in advertised data limits\nreceived a frame that was badly formatted\nThe stream finished before all bytes were read\nNumber of frames transmitted of each frame type\nA pseudo random key for HKDF\nthe endpoint encountered an internal error and cannot …\nreceived an invalid Retry Token in a client Initial\nAttempted an ordered read following an unordered read\nAn incoming connection for which the server has not yet …\nAdaptor to let Incoming be awaited like a Connecting.\nkey update error\nA locally bound socket address.\nThe local application closed the connection\nThe largest representable value\nThe largest encoded value length\nBoth a UDP and a relay connection are used.\nParameters governing MTU discovery.\nthe connection is being closed abruptly in the absence of …\nno viable network path exists\nApplication layer with a specific name added the node …\nWe have no verified connection to this PublicKey\nFuture produced by Connection::open_bi\nFuture produced by Connection::open_uni\ndetected an error with protocol compliance that was not …\nStatistics related to a transmission path\nWe received a Ping from the node.\nWe received a Pong from the node.\nAn address assigned by the router using port mapping.\nAn error occurred during reading\nFuture produced by Connection::read_datagram\nErrors that arise from reading from a stream.\nA read error occurred\nErrors that arise from reading from a stream.\nErrors from RecvStream::read_to_end\nA stream that can only be used to receive data\nRelay connection over relay\nA node communicated with us first via relay.\nConfiguration of the relay servers for an Endpoint.\nDetails about a remote iroh node which is known to this …\nThe peer abandoned transmitting data on this stream\nThe peer is unable to continue processing this connection, …\nErrors that arise while waiting for a stream to be reset\nError for attempting to retry an Incoming which already …\nreceived a frame for a stream identifier that exceeded …\nreceived a frame for a stream that was not in a state that …\nAddress was loaded from the fs.\nErrors that can arise when sending a datagram\nA stream that can only be used to send data\nParameters governing incoming connections\nThe origin or source through which an address associated …\nUse the staging relay servers from n0.\nThe peer is no longer accepting data on this stream\nErrors that arise while monitoring for a send stream stop …\nIdentifier for a stream within a particular connection\nPublic internet address discovered via STUN.\nHard NAT: STUN’ed IPv4 address + local fixed port.\nreceived transport parameters that were badly formatted, …\nCommunication with the peer has lapsed for longer than the …\nThe datagram is larger than the connection can currently …\nThe stream is larger than the user-supplied limit\nParameters governing the core QUIC state machine\nTransport-level errors occur when a peer violates the …\nThe peer violated the QUIC specification as understood by …\nTransport-level error code\nA node communicated with us first via UDP.\nStatistics about UDP datagrams transmitted or received on …\nNot yet determined..\nThe peer does not support receiving datagram frames\nError indicating that the specified QUIC version is not …\nAn integer less than 2^62\nThe peer doesn’t implement any supported version\nA handle to some connection internals, use with care.\nErrors that arise from writing to a stream\nIndicates how many bytes and chunks had been transferred …\nFuture that completes when a connection is fully …\nThis was a 0-RTT stream and the server rejected it\nThis was a 0-RTT stream and the server rejected it\nThis was a 0-RTT stream and the server rejected it\nThis was a 0-RTT stream and the server rejected it\nAccepts an incoming connection on the endpoint.\nAttempts to accept this incoming connection (an error may …\nAccept the next incoming bidirectional stream\nAccept the next incoming uni-directional stream\nAccepts this incoming connection using a custom …\nThe ack-eliciting threshold we will request the peer to use\nSpecifies the ACK frequency config (see AckFrequencyConfig …\nAdds a discovery mechanism for this endpoint.\nInforms this Endpoint about addresses of the iroh node.\nInforms this Endpoint about addresses of the iroh node, …\nThe UDP address reported by the remote node.\nThe address.\nThe addresses at which this node might be reachable.\nDerive AEAD using hkdf\nWhether the implementation is permitted to set the spin …\nExtracts the ALPN protocol from the peer’s handshake …\nSets the ALPN protocols that this endpoint will accept on …\nBinds the magic endpoint.\nSets the IPv4 bind address.\nSets the IPv6 bind address.\nSpecifies the amount of time that MTU discovery should …\nThe number of times a black hole was detected in the path\nReturns the local socket addresses on which the underlying …\nConstruct a fresh Controller\nReturns the builder for an Endpoint, with a production …\nThe contents of the chunk\nThe total amount of bytes which have been transferred …\nThe amount of bytes which had been written\nThe amount of full chunks which had been written\nRemoves all discovery services from the builder.\nDuplicate the controller’s state\nClose the connection immediately.\nCloses the QUIC endpoint and the magic socket.\nIf the connection is closed, the reason why.\nWait for the connection to be closed for any reason\nType of error\nHow to construct new congestion::Controllers\nCongestion events on the connection\nCurrent state of the congestion control algorithm, for …\nReturns a Watcher that reports the current connection type …\nThe type of connection we have to the node, either direct …\nConnects to a remote Endpoint.\nCreate QUIC error code from TLS alert code\nTLS configuration used for incoming connections.\nMaximum quantity of out-of-order crypto layer data to …\nLargest UDP payload size the path currently supports\nCurrent congestion window of the connection\nMaximum number of incoming application datagram bytes to …\nMaximum number of outgoing application datagram bytes to …\nBytes available in the outgoing datagram buffer\nThe amount of UDP datagrams observed\nReturns the default relay mode.\nWhich directions data flows in\nReturns a Watcher for the direct addresses of this Endpoint…\nOptionally sets a discovery mechanism for this endpoint.\nReturns the discovery mechanism, if configured.\nConfigures the endpoint to also use the mainline DHT with …\nConfigures the endpoint to also use local network …\nConfigures the endpoint to use the default n0 DNS …\nOptionally sets a custom DNS resolver to use for this …\nReturns the DNS resolver used in this Endpoint.\nWhether to use “Generic Segmentation Offload” to …\nClass of error as encoded in the specification\nApplication-specific reason code\nDerive keying material from this connection’s TLS …\nNotify the peer that no more data will ever be written to …\nReturns true if the use of staging relays is forced.\nFrame type that triggered the error\nStatistics about frames received on a connection\nStatistics about frames transmitted on a connection\nType of frame that caused the close\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstruct a VarInt infallibly\nSucceeds iff x < 2^62\nCreate a VarInt without ensuring it’s in range\nExtract the PublicKey from the peer’s TLS certificate.\nParameters negotiated during the handshake\nParameters negotiated during the handshake\nWhether there is a possible known network path to the …\nReturns a Watcher for the RelayUrl of the Relay server …\nGet the identity of this stream\nGet the identity of this stream\nIgnores this incoming connection attempt, not sending any …\nMaximum number of received bytes to buffer for each …\nMaximum number of received bytes to buffer for all Incoming\nDistinguishes streams of the same initiator and …\nCreate the initial set of keys given the client’s …\nThe initial value to be used as the maximum UDP payload …\nThe RTT used before an RTT sample is taken\nInitial congestion window\nWhich side of a connection initiated the stream\nSkip verification of SSL certificates from relay servers\nSpecifies the time to wait after completing MTU discovery …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nConvert into a 0-RTT or 0.5-RTT connection at the cost of …\nReturns Self for use in down-casting to extract …\nGet the Incoming\nExtract the integer value\nThe amount of I/O operations executed\nCheck if this stream has been opened during 0-RTT.\nReturns true if the Connection associated with this handle …\nCheck if this endpoint is still alive, or already closed.\nPeriod of inactivity before sending a keep-alive packet\nEnables saving the TLS pre-master key for connections.\nOptionally set a list of known nodes.\nElapsed time since this network path was known to exist.\nLast control message received by this node about this …\nElapsed time since the last payload message was received …\nGet the duration since the last activity we received from …\nTime elapsed time since last we have sent to or received …\nThe latency to the remote node over this network path.\nThe latency of the current network path to the remote node.\nThe local IP address which was used when the peer …\nReturns the local IP address which was used when the peer …\nThe local IP address which was used when the peer …\nThe amount of bytes lost on this path\nThe amount of packets lost on this path\nThe amount of PLPMTUD probe packets lost on this path …\nCreates a ServerConfig with the given secret key and …\nThe max_ack_delay we will request the peer to use\nMaximum number of incoming bidirectional streams that may …\nVariant of max_concurrent_bidi_streams affecting …\nCompute the maximum size of datagrams that may be passed …\nMaximum duration of inactivity to accept before timing out …\nMaximum number of Incoming to allow to exist at a time\nWhether to allow clients to migrate to new addresses\nThe maximum UDP payload size guaranteed to be supported by …\nSpecifies the minimum MTU change to stop the MTU discovery …\nSpecifies the MTU discovery config (see MtuDiscoveryConfig …\nNotifies the system of potential network changes.\nResets path-specific state.\nCreate a default config with a particular handshake token …\nCreate a new StreamId\nReturns the current NodeAddr for this endpoint.\nReturns the node id of this endpoint.\nThe globally unique identifier for this node.\nTrack changed on our external address as reported by the …\nThe offset in the stream\nPacket deliveries were confirmed\nPackets were deemed lost or marked congested\nPackets are acked in batches, all with the same now …\nThe known MTU for the current network path has been updated\nOne or more packets were just sent\nMethod for opening a sealed message data\nInitiate a new outgoing bidirectional stream.\nInitiate a new outgoing unidirectional stream.\nMaximum reordering in packet number space before FACK …\nStatistics related to the current transmission path\nCryptographic identity of the peer\nNumber of consecutive PTOs after which network is …\nAttempts to read from the stream into buf.\nAttempt to write bytes from buf into the stream.\nThe preferred IPv4 address that will be communicated to …\nThe preferred IPv6 address that will be communicated to …\nGet the priority of the send stream\nSets the proxy url from the environment, in this order:\nSets an explicit proxy url to proxy all HTTP(S) traffic …\nRead data contiguously from the stream.\nRead the next segment of data\nRead the next segments of data\nReceive an application datagram\nRead an exact number of bytes contiguously from the stream.\nConvenience method to read all remaining data into a buffer\nHuman-readable reason for the close\nHuman-readable reason for the close\nHuman-readable explanation of the reason\nWhether to receive observed address reports from other …\nMaximum number of bytes the peer may transmit across all …\nCompletes when the stream has been reset by the peer or …\nRejects this incoming connection attempt.\nReturns the relay map for this mode.\nSets the relay servers to assist in establishing …\nRelay server information, if available.\nThe peer’s UDP address\nReturns the peer’s UDP address.\nThe peer’s UDP address.\nWhether the socket address that is initiating this …\nReturns information about the remote node identified by a …\nReturns information about all the remote nodes this …\nThe reordering threshold we will request the peer to use\nClose the send stream immediately.\nResponds with a retry packet.\nGenerate the integrity tag for a retry packet\nDuration after a stateless retry token was issued for …\nCurrent best estimate of this connection’s latency …\nCurrent best estimate of this connection’s latency …\nSaturating integer addition. Computes self + rhs, …\nMethod for sealing message data\nSets a secret key to authenticate with other peers.\nReturns the secret_key of this endpoint.\nTransmit data as an unreliable, unordered application …\nTransmit data as an unreliable, unordered application …\nWhether to send observed address reports to peers.\nMaximum number of bytes to transmit to a peer without …\nThe amount of packets sent on this path\nThe amount of PLPMTUD probe packets sent on this path …\nSets the list of accepted ALPN protocols.\nModify the number of remotely initiated bidirectional …\nModify the number of remotely initiated unidirectional …\nSet the priority of the send stream\nSee proto::TransportConfig::receive_window()\nReturns a deduplicated list of Sources merged from all …\nA HashMap of Sources to Durations.\nA stable identifier for this connection\nStart a server session with this configuration\nReturns connection statistics\nStop accepting data\nCompletes when the peer stops the stream or reads the …\nMaximum number of bytes the peer may transmit without …\nMaximum reordering in time space before time based loss …\nPrivate key used to authenticate data included in …\nTransport configuration to use for incoming connections\nSet a custom TransportConfig\nSets a custom quinn::TransportConfig for this endpoint.\nSucceeds iff x < 2^62\nSucceeds iff x < 2^62\nSucceeds iff x < 2^62\nThe origin of this direct address.\nStatistics about UDP datagrams received on a connection\nStatistics about UDP datagrams transmitted on a connection\nSpecifies the upper bound to the max UDP payload size that …\nReturns a weak reference to the inner connection struct.\nNumber of ack-eliciting bytes that may be in flight\nCreate a server config with the given crypto::ServerConfig\nCreate a server config with the given certificate chain to …\nWrite bytes to the stream\nConvenience method to write an entire buffer to the stream\nConvenience method to write an entire list of chunks to …\nConvenience method to write a single chunk in its entirety …\nWrite chunks to the stream\nThe name of the discovery service that discovered the …\nThe name of the application that added the node\nEnum of metrics for the module\nEnum of metrics for the module\nEnum of metrics for the module\nMetrics tracked for the relay server\nNumber of connections we have accepted\nBytes received from a FrameType::SendPacket\nBytes sent from a FrameType::SendPacket\nNumber of connections with a successful handshake that …\nNumber of connections with a successful handshake.\nNumber of client connections which have had any frames …\nFrameType::SendPacket dropped that are disco messages\nFrameType::SendPacket received that are disco messages\nFrameType::SendPacket sent that are disco messages\nNumber of connections we have removed because of an error\nNumber of frames received from client connection which …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nNumber of FrameType::Pings received\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nNumber of nodes we have attempted to contact.\nNumber of nodes we have managed to contact directly.\nThe number of direct connections we have made to peers.\nThe number of direct connections we have lost to peers.\nThe number of connections to peers we have added over …\nThe number of connections to peers we have removed over …\nPackets of other FrameTypes dropped\nPackets of other FrameTypes received\nPackets of other FrameTypes sent\nNumber of QUIC datagrams received.\nNumber of datagrams received using GRO\nNumber of accepted ‘iroh derp http’ connection upgrades\nFrameType::SendPacket dropped, that are not disco messages\nFrameType::SendPacket received, that are not disco messages\nFrameType::SendPacket sent, that are not disco messages\nNumber of FrameType::Pongs sent\nNumber of unique client keys per day\nNumber of FrameType::Unknown received\nNumber of accepted websocket connections\nHandler for incoming connections.\nThe built router.\nBuilder for creating a Router for accepting protocols.\nHandle an incoming connection.\nConfigures the router to accept the ProtocolHandler when …\nCreates a new Router using given Endpoint.\nReturns the Endpoint stored in this router.\nReturns the Endpoint of the node.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nChecks if the router is already shutdown.\nCreates a new router builder using given Endpoint.\nCalled when the node shuts down.\nShuts down the accept loop cleanly.\nSpawns an accept loop and returns a handle to it …\nA drop guard to clean up test infrastructure.\nHandle and drop guard for test DNS and Pkarr servers.\nCreate a DNS resolver with a single nameserver.\nCreate a ConcurrentDiscovery with DnsDiscovery and …\nCreate a DnsResolver configured to use the test DNS server.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nThe socket address of the DNS server.\nThe node origin domain.\nWait until a Pkarr announce for a node is published to the …\nThe HTTP URL of the Pkarr server.\nRun DNS and Pkarr servers on localhost.\nRuns a relay server with STUN and QUIC enabled suitable …\nRuns a relay server.\nRuns a relay server with STUN enabled suitable for tests.\nRun DNS and Pkarr servers on localhost with the specified …\nThe error for when a Watcher is disconnected from its …\nFuture returning the current or next value that’s Some …\nFuture returning the next item after the current one in a …\nA wrapper around a value that notifies Watchers when the …\nAn observer for a value.\nA stream for a Watcher’s next values.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the currently stored value.\nReturns the currently held value.\nReturns a future completing once the value is set to Some …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCreates a Watchable initialized to given value.\nSets a new value.\nReturns a stream which will yield the most recent values …\nReturns a stream which will yield the most recent values …\nReturns a future completing with Ok(value) once a new …\nCreates a Watcher allowing the value to be observed, but …")
\ No newline at end of file
diff --git a/pr/3068/docs/search.desc/iroh_relay/iroh_relay-desc-0-.js b/pr/3068/docs/search.desc/iroh_relay/iroh_relay-desc-0-.js
index 4e7cb6b23b..a9f3c7a9a7 100644
--- a/pr/3068/docs/search.desc/iroh_relay/iroh_relay-desc-0-.js
+++ b/pr/3068/docs/search.desc/iroh_relay/iroh_relay-desc-0-.js
@@ -1 +1 @@
-searchState.loadedDescShard("iroh_relay", 0, "Iroh’s relay is a feature within iroh, a peer-to-peer …\nA one-way message from server to client, declaring the …\nA one-way empty message from server to client, just to …\nIndicates that the client identified by the underlying …\nRequest from a client or server to reply to the other side …\nReply to a ReceivedMessage::Ping from a client or server …\nThe messages received from a framed relay stream.\nRepresents an incoming packet.\nA connection to a relay server.\nConfiguration of all the relay servers that can be used.\nInformation on a specific relay server.\nConfiguration for speaking to the QUIC endpoint on the …\nA one-way message from server to client, advertising that …\nExposes Client, which allows to establish connections to a …\nClose the connection\nIs this a known node?\nCreates a new RelayMap with a single relay server …\nDefault values used in the relay.\nCreate an empty relay map.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstructs the RelayMap from an iterator of RelayNodes.\nReturns a RelayMap from a RelayUrl.\nGet the given node.\nHTTP-specific constants for the relay server and client.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nWhether or not this Conn is closed.\nAre there any nodes in this map?\nHow many nodes are known?\nThe local address that the Conn is listening on.\nReturns an Iterator over all known nodes.\nSends a packet that tells the server whether this …\nThe port on which the connection should be bound to.\nProtocols used by the iroh-relay\nCreate a QUIC server that accepts connections for QUIC …\nConfiguration to speak to the QUIC endpoint on the relay …\nSends a packet to the node identified by dstkey\nSend a ping with 8 bytes of random data.\nRespond to a ping request. The data field should be filled …\nA fully-fledged iroh-relay server over HTTP or HTTPS.\nWhether this relay server should only be used for STUN …\nThe stun port of the relay server.\nThe RelayUrl where this relay server can be dialed.\nReturns the sorted relay URLs.\nThe received packet bytes.\nIf set, is a description of why the connection is …\nAn advisory duration that the client should wait before …\nThe NodeId of the packet sender.\nAn advisory duration for how long the client should …\nThe inner actor is gone, likely means things are shutdown.\nThe relay super::client::Client failed to build\nAn HTTP Relay client.\nBuild a Client.\nPossible connection errors on the Client\nReceiving end of a Client.\nThe client is closed\nThere was a connection timeout error\nThere was an error dialing\nThere was an error with DNS resolution\nThere was an http error http::Error.\nThere was http server hyper::Error\nBoth IPv4 and IPv6 are disabled for this relay node\nThe given Url is invalid\nNo local addresses exist\nThe ping request was aborted\nThe ping request timed out\nThe connection failed to proxy\nThere was an error receiving a packet\nThere was an error sending a packet\nThere was an unexpected status code\nThe connection failed to upgrade\nAn error related to websockets, either errors with parsing …\nReturns if we should prefer ipv6 it replaces the …\nBuild the Client\nClose the http relay connection.\nDisconnect the http relay connection.\nConnects to a relay Server and returns the underlying …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nSkip the verification of the relay server’s SSL …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nReturns true if the underlying relay connection is …\nIndicates this client is a prober\nSet the capacity of the cache for public keys.\nGet the local addr of the connection. If there is no …\nCreates a client config that trusts any servers without …\nCreate a new ClientBuilder\nLet the server know that this client is the preferred …\nSend a ping to the server. Return once we get an expected …\nSets whether to connect to the relay via websockets or not.\nSet an explicit proxy url to proxy all HTTP(S) traffic …\nThe public key for this client\nReads a message from the server.\nSend a packet to the server.\nSend a pong back to the server.\nThe expected PublicKey of the relay server we are …\nSets the server url\nThe default HTTPS port used by the Relay server.\nThe default HTTP port used by the Relay server.\nThe default capacity of the key cache for the relay server.\nThe default metrics port used by the Relay server.\nThe default QUIC port used by the Relay server to accept …\nThe default STUN port used by the Relay server.\nThe HTTP upgrade protocol used for relaying.\nThe HTTP path under which the relay accepts relaying …\nThe HTTP path under which the relay allows doing latency …\nRelays over the custom relaying protocol with a custom …\nRelays over websockets.\nReturns the argument unchanged.\nCalls U::from(self).\nTries to match the value of an HTTP upgrade header to …\nThe HTTP upgrade header used or expected.\nThis module exports looks_like_disco_wrapper as the only …\nThis module implements the relaying protocol used by the …\nSTUN packets sending and receiving.\nThe 6 byte header of all discovery messages.\nReports whether p looks like it’s a packet containing an …\nThe maximum size of a packet sent over relay. (This only …\nThe AlternateServeratribute\nErrors that can occur when handling a STUN packet.\nThe ErrorCodeatribute\nerror response\nThe Fingerprintatribute\nindication\nSTUN request had bogus fingerprint.\nThe STUN message could not be parsed or is otherwise …\nSTUN response has malformed attributes.\nThe MappedAddressatribute\nThe STUN message class. Although there are four message …\nClass used to decode STUN messages\nThe MessageIntegrityatribute\nThe MessageIntegritySha256atribute\nSTUN request didn’t end in fingerprint.\nThe Nonceatribute\nSTUN request is not a binding request when it should be.\nSTUN packet is not a response when it should be.\nThe PasswordAlgorithmatribute\nThe PasswordAlgorithmsatribute\nThe Realmatribute\nrequest\nThe Softwareatribute\nSTUN Attributes that can be attached to a StunMessage\nDescribes an error decoding a StunMessage\nsuccess response\nThe transaction ID is a 96-bit identifier, used to …\nThe Unknownatribute\nThe UnknownAttributesatribute\nThe UserHashatribute\nThe UserNameatribute\nThe XorMappedAddressatribute\nReturns a reference to the internal attribute value or an …\nReturns a reference to the bytes that represents the …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns the STUN attribute type of this instance.\nDecodes the STUN raw buffer\nCreates a cryptographically random transaction ID chosen …\nReturns a reference to the AlternateServer attribute.\nReturns a reference to the ErrorCode attribute.\nReturns a reference to the Fingerprint attribute.\nReturns a reference to the MappedAddress attribute.\nReturns a reference to the MessageIntegrity attribute.\nReturns a reference to the MessageIntegritySha256 …\nReturns a reference to the Nonce attribute.\nReturns a reference to the PasswordAlgorithm attribute.\nReturns a reference to the PasswordAlgorithms attribute.\nReturns a reference to the Realm attribute.\nReturns a reference to the Software attribute.\nReturns a reference to the Unknown attribute.\nReturns a reference to the UnknownAttributes attribute.\nReturns a reference to the UserHash attribute.\nReturns a reference to the UserName attribute.\nReturns a reference to the XorMappedAddress attribute.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nGets the context associated to this decoder\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nReports whether b is a STUN message.\nReturns true if this StunAttribute is AlternateServer\nReturns true if this StunAttribute is ErrorCode\nReturns true if this StunAttribute is Fingerprint\nReturns true if this StunAttribute is MappedAddress\nReturns true if this StunAttribute is MessageIntegrity\nReturns true if this StunAttribute is …\nReturns true if this StunAttribute is Nonce\nReturns true if this StunAttribute is PasswordAlgorithm\nReturns true if this StunAttribute is PasswordAlgorithms\nReturns true if this StunAttribute is Realm\nReturns true if this StunAttribute is Software\nReturns true if this StunAttribute is Unknown\nReturns true if this StunAttribute is UnknownAttributes\nReturns true if this StunAttribute is UserHash\nReturns true if this StunAttribute is UserName\nReturns true if this StunAttribute is XorMappedAddress\nSTUN Methods Registry\nParses a STUN binding request.\nParses a successful binding response STUN packet. The IP …\nGenerates a binding request STUN packet.\nGenerates a binding response.\nBinding\nReserved\nShared secret\nALPN for our quic addr discovery\nEndpoint close error code\nEndpoint close reason\nHandles the client side of QUIC address discovery.\nReturns the argument unchanged.\nClient side of QUIC address discovery.\nCalls U::from(self).\nCreate a new QuicClient to handle the client side of QUIC …\nTLS certificate configuration.\nPer-client rate limit configuration.\nThe default certificate reload interval.\nUse Let’s Encrypt.\nRate limits.\nUse a static TLS key and certificate chain.\nThe main underlying IO stream type used for the relay …\nMetrics tracked for the relay server\nA plain non-Tls tokio::net::TcpStream\nConfiguration for the QUIC server.\nConfiguration for the Relay HTTP and HTTPS server.\nUse a TLS key and certificate chain that can be reloaded.\nA Certificate resolver that reloads the certificate every …\nA running Relay + STUN server.\nConfiguration for the full Relay & STUN server.\nConfiguration for the STUN server.\nStunMetrics tracked for the DERPER\nA Tls wrapped tokio::net::TcpStream\nTLS configuration for Relay server.\nBurst limit for accepting new connection. Unlimited if not …\nRate limit for accepting new connection. Unlimited if not …\nNumber of connections we have accepted\nNumber of bad requests, either non-stun packets or …\nThe socket address on which the STUN server should bind.\nThe socket address on which the QUIC server should bind.\nMax number of bytes per second to read from the client …\nBytes received from a FrameType::SendPacket\nBytes sent from a FrameType::SendPacket\nMode for getting a cert.\nThe certificates chain if configured with manual TLS …\nRate limits for incoming traffic from a client connection.\nNumber of client connections which have had any frames …\nNumber of accepted ‘iroh derp http’ connection upgrades\nFrameType::SendPacket dropped that are disco messages\nFrameType::SendPacket received that are disco messages\nFrameType::SendPacket sent that are disco messages\nNumber of connections we have removed because of an error\nNumber of failures\nNumber of frames received from client connection which …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nNumber of FrameType::Pings received\nThe socket address the HTTP server is listening on.\nThe socket address on which the Relay HTTP server should …\nGet the server’s http RelayUrl.\nThe socket address the HTTPS server is listening on.\nThe socket address on which to serve the HTTPS server.\nGet the server’s https RelayUrl.\nPerform the initial load and construct the …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nNumber of successful requests over ipv4\nNumber of successful requests over ipv6\nKey cache capacity.\nRate limits.\nMax number of bytes to read in a single burst.\nSocket to serve metrics on.\nPackets of other FrameTypes dropped\nPackets of other FrameTypes received\nPackets of other FrameTypes sent\nConfiguration for the QUIC server, disabled if None.\nThe socket address the QUIC server is listening on.\nThe socket address on which to server the QUIC server is …\nConfiguration for the Relay server, disabled if None.\nReload the certificate.\nNumber of stun requests made\nFrameType::SendPacket dropped, that are not disco messages\nFrameType::SendPacket received, that are not disco messages\nFrameType::SendPacket sent, that are not disco messages\nNumber of FrameType::Pongs sent\nThe TLS server configuration for the QUIC server.\nThe server configuration.\nShutdown the resolver.\nRequests graceful shutdown.\nStarts the server.\nConfiguration for the STUN server, disabled if None.\nThe socket address the STUN server is listening on.\nReturns the handle for the task.\nExposes functions to quickly configure a server suitable …\nTLS configuration for the HTTPS server.\nNumber of unique client keys per day\nNumber of FrameType::Unknown received\nNumber of accepted websocket connections\nThe TLS certificate chain.\nState for Let’s Encrypt certificates.\nCreates a QuicConfig suitable for testing.\nCreates a RelayConfig suitable for testing.\nCreates a rustls::ServerConfig and certificates suitable …\nCreates a ServerConfig suitable for testing.\nCreates a StunConfig suitable for testing.\nCreates a TlsConfig suitable for testing.")
\ No newline at end of file
+searchState.loadedDescShard("iroh_relay", 0, "Iroh’s relay is a feature within iroh, a peer-to-peer …\nConfiguration of all the relay servers that can be used.\nInformation on a specific relay server.\nConfiguration for speaking to the QUIC endpoint on the …\nExposes Client, which allows to establish connections to a …\nIs this a known node?\nCreates a new RelayMap with a single relay server …\nDefault values used in the relay.\nCreate an empty relay map.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstructs the RelayMap from an iterator of RelayNodes.\nReturns a RelayMap from a RelayUrl.\nGet the given node.\nHTTP-specific constants for the relay server and client.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nAre there any nodes in this map?\nHow many nodes are known?\nReturns an Iterator over all known nodes.\nThe port on which the connection should be bound to.\nProtocols used by the iroh-relay\nCreate a QUIC server that accepts connections for QUIC …\nConfiguration to speak to the QUIC endpoint on the relay …\nA fully-fledged iroh-relay server over HTTP or HTTPS.\nWhether this relay server should only be used for STUN …\nThe stun port of the relay server.\nThe RelayUrl where this relay server can be dialed.\nReturns the sorted relay URLs.\nA relay client.\nBuild a Client.\nThe send half of a relay client.\nThe receive half of a relay client.\nError for sending messages to the relay server.\nA one-way message from server to client, declaring the …\nAn IO error.\nA one-way empty message from server to client, just to …\nIndicates that the client identified by the underlying …\nMark or unmark the connected relay as the home relay.\nRequest from a client or server to reply to the other side …\nSends a ping message to the connected relay server.\nReply to a ReceivedMessage::Ping from a client or server …\nSends a pong message to the connected relay server.\nA protocol error.\nThe messages received from a framed relay stream.\nRepresents an incoming packet.\nMessages we can send to a relay server.\nSend a packet of data to the NodeId.\nA one-way message from server to client, advertising that …\nReturns if we should prefer ipv6 it replaces the …\nEstablishes a new connection to the relay server.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nSkip the verification of the relay server’s SSL …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nIndicates this client is a prober\nSet the capacity of the cache for public keys.\nReturns the local address of the client.\nCreates a client config that trusts any servers without …\nCreate a new ClientBuilder\nSets whether to connect to the relay via websockets or not.\nSet an explicit proxy url to proxy all HTTP(S) traffic …\nSplits the client into a sink and a stream.\nThe received packet bytes.\nIf set, is a description of why the connection is …\nAn advisory duration that the client should wait before …\nThe NodeId of the packet sender.\nAn advisory duration for how long the client should …\nThe default HTTPS port used by the Relay server.\nThe default HTTP port used by the Relay server.\nThe default capacity of the key cache for the relay server.\nThe default metrics port used by the Relay server.\nThe default QUIC port used by the Relay server to accept …\nThe default STUN port used by the Relay server.\nThe HTTP upgrade protocol used for relaying.\nThe HTTP path under which the relay accepts relaying …\nThe HTTP path under which the relay allows doing latency …\nRelays over the custom relaying protocol with a custom …\nRelays over websockets.\nReturns the argument unchanged.\nCalls U::from(self).\nTries to match the value of an HTTP upgrade header to …\nThe HTTP upgrade header used or expected.\nThis module exports looks_like_disco_wrapper as the only …\nThis module implements the relaying protocol used by the …\nSTUN packets sending and receiving.\nThe 6 byte header of all discovery messages.\nReports whether p looks like it’s a packet containing an …\nThe maximum size of a packet sent over relay. (This only …\nThe AlternateServeratribute\nErrors that can occur when handling a STUN packet.\nThe ErrorCodeatribute\nerror response\nThe Fingerprintatribute\nindication\nSTUN request had bogus fingerprint.\nThe STUN message could not be parsed or is otherwise …\nSTUN response has malformed attributes.\nThe MappedAddressatribute\nThe STUN message class. Although there are four message …\nClass used to decode STUN messages\nThe MessageIntegrityatribute\nThe MessageIntegritySha256atribute\nSTUN request didn’t end in fingerprint.\nThe Nonceatribute\nSTUN request is not a binding request when it should be.\nSTUN packet is not a response when it should be.\nThe PasswordAlgorithmatribute\nThe PasswordAlgorithmsatribute\nThe Realmatribute\nrequest\nThe Softwareatribute\nSTUN Attributes that can be attached to a StunMessage\nDescribes an error decoding a StunMessage\nsuccess response\nThe transaction ID is a 96-bit identifier, used to …\nThe Unknownatribute\nThe UnknownAttributesatribute\nThe UserHashatribute\nThe UserNameatribute\nThe XorMappedAddressatribute\nReturns a reference to the internal attribute value or an …\nReturns a reference to the bytes that represents the …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns a reference to the internal attribute value or an …\nReturns the STUN attribute type of this instance.\nDecodes the STUN raw buffer\nCreates a cryptographically random transaction ID chosen …\nReturns a reference to the AlternateServer attribute.\nReturns a reference to the ErrorCode attribute.\nReturns a reference to the Fingerprint attribute.\nReturns a reference to the MappedAddress attribute.\nReturns a reference to the MessageIntegrity attribute.\nReturns a reference to the MessageIntegritySha256 …\nReturns a reference to the Nonce attribute.\nReturns a reference to the PasswordAlgorithm attribute.\nReturns a reference to the PasswordAlgorithms attribute.\nReturns a reference to the Realm attribute.\nReturns a reference to the Software attribute.\nReturns a reference to the Unknown attribute.\nReturns a reference to the UnknownAttributes attribute.\nReturns a reference to the UserHash attribute.\nReturns a reference to the UserName attribute.\nReturns a reference to the XorMappedAddress attribute.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nGets the context associated to this decoder\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nReports whether b is a STUN message.\nReturns true if this StunAttribute is AlternateServer\nReturns true if this StunAttribute is ErrorCode\nReturns true if this StunAttribute is Fingerprint\nReturns true if this StunAttribute is MappedAddress\nReturns true if this StunAttribute is MessageIntegrity\nReturns true if this StunAttribute is …\nReturns true if this StunAttribute is Nonce\nReturns true if this StunAttribute is PasswordAlgorithm\nReturns true if this StunAttribute is PasswordAlgorithms\nReturns true if this StunAttribute is Realm\nReturns true if this StunAttribute is Software\nReturns true if this StunAttribute is Unknown\nReturns true if this StunAttribute is UnknownAttributes\nReturns true if this StunAttribute is UserHash\nReturns true if this StunAttribute is UserName\nReturns true if this StunAttribute is XorMappedAddress\nSTUN Methods Registry\nParses a STUN binding request.\nParses a successful binding response STUN packet. The IP …\nGenerates a binding request STUN packet.\nGenerates a binding response.\nBinding\nReserved\nShared secret\nALPN for our quic addr discovery\nEndpoint close error code\nEndpoint close reason\nHandles the client side of QUIC address discovery.\nReturns the argument unchanged.\nClient side of QUIC address discovery.\nCalls U::from(self).\nCreate a new QuicClient to handle the client side of QUIC …\nTLS certificate configuration.\nPer-client rate limit configuration.\nThe default certificate reload interval.\nUse Let’s Encrypt.\nRate limits.\nUse a static TLS key and certificate chain.\nThe main underlying IO stream type used for the relay …\nMetrics tracked for the relay server\nA plain non-Tls tokio::net::TcpStream\nConfiguration for the QUIC server.\nConfiguration for the Relay HTTP and HTTPS server.\nUse a TLS key and certificate chain that can be reloaded.\nA Certificate resolver that reloads the certificate every …\nA running Relay + STUN server.\nConfiguration for the full Relay & STUN server.\nConfiguration for the STUN server.\nStunMetrics tracked for the relay server\nA Tls wrapped tokio::net::TcpStream\nTLS configuration for Relay server.\nBurst limit for accepting new connection. Unlimited if not …\nRate limit for accepting new connection. Unlimited if not …\nNumber of connections we have accepted\nNumber of bad requests, either non-stun packets or …\nThe socket address on which the STUN server should bind.\nThe socket address on which the QUIC server should bind.\nMax number of bytes per second to read from the client …\nBytes received from a FrameType::SendPacket\nBytes sent from a FrameType::SendPacket\nMode for getting a cert.\nThe certificates chain if configured with manual TLS …\nRate limits for incoming traffic from a client connection.\nNumber of client connections which have had any frames …\nFrameType::SendPacket dropped that are disco messages\nFrameType::SendPacket received that are disco messages\nFrameType::SendPacket sent that are disco messages\nNumber of connections we have removed because of an error\nNumber of failures\nNumber of frames received from client connection which …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nNumber of FrameType::Pings received\nThe socket address the HTTP server is listening on.\nThe socket address on which the Relay HTTP server should …\nGet the server’s http RelayUrl.\nThe socket address the HTTPS server is listening on.\nThe socket address on which to serve the HTTPS server.\nGet the server’s https RelayUrl.\nPerform the initial load and construct the …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nNumber of successful requests over ipv4\nNumber of successful requests over ipv6\nKey cache capacity.\nRate limits.\nMax number of bytes to read in a single burst.\nSocket to serve metrics on.\nPackets of other FrameTypes dropped\nPackets of other FrameTypes received\nPackets of other FrameTypes sent\nConfiguration for the QUIC server, disabled if None.\nThe socket address the QUIC server is listening on.\nThe socket address on which to server the QUIC server is …\nConfiguration for the Relay server, disabled if None.\nNumber of accepted ‘iroh derp http’ connection upgrades\nReload the certificate.\nNumber of stun requests made\nFrameType::SendPacket dropped, that are not disco messages\nFrameType::SendPacket received, that are not disco messages\nFrameType::SendPacket sent, that are not disco messages\nNumber of FrameType::Pongs sent\nThe TLS server configuration for the QUIC server.\nThe server configuration.\nShutdown the resolver.\nRequests graceful shutdown.\nStarts the server.\nConfiguration for the STUN server, disabled if None.\nThe socket address the STUN server is listening on.\nReturns the handle for the task.\nExposes functions to quickly configure a server suitable …\nTLS configuration for the HTTPS server.\nNumber of unique client keys per day\nNumber of FrameType::Unknown received\nNumber of accepted websocket connections\nThe TLS certificate chain.\nState for Let’s Encrypt certificates.\nCreates a QuicConfig suitable for testing.\nCreates a RelayConfig suitable for testing.\nCreates a rustls::ServerConfig and certificates suitable …\nCreates a ServerConfig suitable for testing.\nCreates a StunConfig suitable for testing.\nCreates a TlsConfig suitable for testing.")
\ No newline at end of file
diff --git a/pr/3068/docs/src/iroh/endpoint.rs.html b/pr/3068/docs/src/iroh/endpoint.rs.html
index 12dcc145e7..50f5df4913 100644
--- a/pr/3068/docs/src/iroh/endpoint.rs.html
+++ b/pr/3068/docs/src/iroh/endpoint.rs.html
@@ -3518,8 +3518,8 @@
let eps = ep.bound_sockets();
info!(me = %ep.node_id().fmt_short(), ipv4=%eps.0, ipv6=?eps.1, "server listening on");
for i in 0..n_clients {
- let now = Instant::now();
- println!("[server] round {}", i + 1);
+ let round_start = Instant::now();
+ info!("[server] round {i}");
let incoming = ep.accept().await.unwrap();
let conn = incoming.await.unwrap();
let peer_id = get_remote_node_id(&conn).unwrap();
@@ -3534,7 +3534,7 @@
send.stopped().await.unwrap();
recv.read_to_end(0).await.unwrap();
info!(%i, peer = %peer_id.fmt_short(), "finished");
- println!("[server] round {} done in {:?}", i + 1, now.elapsed());
+ info!("[server] round {i} done in {:?}", round_start.elapsed());
}
}
.instrument(error_span!("server")),
@@ -3546,8 +3546,8 @@
});
for i in 0..n_clients {
- let now = Instant::now();
- println!("[client] round {}", i + 1);
+ let round_start = Instant::now();
+ info!("[client] round {}", i);
let relay_map = relay_map.clone();
let client_secret_key = SecretKey::generate(&mut rng);
let relay_url = relay_url.clone();
@@ -3584,7 +3584,7 @@
}
.instrument(error_span!("client", %i))
.await;
- println!("[client] round {} done in {:?}", i + 1, now.elapsed());
+ info!("[client] round {i} done in {:?}", round_start.elapsed());
}
server.await.unwrap();
diff --git a/pr/3068/docs/src/iroh/magicsock/relay_actor.rs.html b/pr/3068/docs/src/iroh/magicsock/relay_actor.rs.html
index e62de6bc7e..6e70c191ee 100644
--- a/pr/3068/docs/src/iroh/magicsock/relay_actor.rs.html
+++ b/pr/3068/docs/src/iroh/magicsock/relay_actor.rs.html
@@ -1166,7 +1166,382 @@
1165
1166
1167
-1168 //! The relay actor.
+1168
+1169
+1170
+1171
+1172
+1173
+1174
+1175
+1176
+1177
+1178
+1179
+1180
+1181
+1182
+1183
+1184
+1185
+1186
+1187
+1188
+1189
+1190
+1191
+1192
+1193
+1194
+1195
+1196
+1197
+1198
+1199
+1200
+1201
+1202
+1203
+1204
+1205
+1206
+1207
+1208
+1209
+1210
+1211
+1212
+1213
+1214
+1215
+1216
+1217
+1218
+1219
+1220
+1221
+1222
+1223
+1224
+1225
+1226
+1227
+1228
+1229
+1230
+1231
+1232
+1233
+1234
+1235
+1236
+1237
+1238
+1239
+1240
+1241
+1242
+1243
+1244
+1245
+1246
+1247
+1248
+1249
+1250
+1251
+1252
+1253
+1254
+1255
+1256
+1257
+1258
+1259
+1260
+1261
+1262
+1263
+1264
+1265
+1266
+1267
+1268
+1269
+1270
+1271
+1272
+1273
+1274
+1275
+1276
+1277
+1278
+1279
+1280
+1281
+1282
+1283
+1284
+1285
+1286
+1287
+1288
+1289
+1290
+1291
+1292
+1293
+1294
+1295
+1296
+1297
+1298
+1299
+1300
+1301
+1302
+1303
+1304
+1305
+1306
+1307
+1308
+1309
+1310
+1311
+1312
+1313
+1314
+1315
+1316
+1317
+1318
+1319
+1320
+1321
+1322
+1323
+1324
+1325
+1326
+1327
+1328
+1329
+1330
+1331
+1332
+1333
+1334
+1335
+1336
+1337
+1338
+1339
+1340
+1341
+1342
+1343
+1344
+1345
+1346
+1347
+1348
+1349
+1350
+1351
+1352
+1353
+1354
+1355
+1356
+1357
+1358
+1359
+1360
+1361
+1362
+1363
+1364
+1365
+1366
+1367
+1368
+1369
+1370
+1371
+1372
+1373
+1374
+1375
+1376
+1377
+1378
+1379
+1380
+1381
+1382
+1383
+1384
+1385
+1386
+1387
+1388
+1389
+1390
+1391
+1392
+1393
+1394
+1395
+1396
+1397
+1398
+1399
+1400
+1401
+1402
+1403
+1404
+1405
+1406
+1407
+1408
+1409
+1410
+1411
+1412
+1413
+1414
+1415
+1416
+1417
+1418
+1419
+1420
+1421
+1422
+1423
+1424
+1425
+1426
+1427
+1428
+1429
+1430
+1431
+1432
+1433
+1434
+1435
+1436
+1437
+1438
+1439
+1440
+1441
+1442
+1443
+1444
+1445
+1446
+1447
+1448
+1449
+1450
+1451
+1452
+1453
+1454
+1455
+1456
+1457
+1458
+1459
+1460
+1461
+1462
+1463
+1464
+1465
+1466
+1467
+1468
+1469
+1470
+1471
+1472
+1473
+1474
+1475
+1476
+1477
+1478
+1479
+1480
+1481
+1482
+1483
+1484
+1485
+1486
+1487
+1488
+1489
+1490
+1491
+1492
+1493
+1494
+1495
+1496
+1497
+1498
+1499
+1500
+1501
+1502
+1503
+1504
+1505
+1506
+1507
+1508
+1509
+1510
+1511
+1512
+1513
+1514
+1515
+1516
+1517
+1518
+1519
+1520
+1521
+1522
+1523
+1524
+1525
+1526
+1527
+1528
+1529
+1530
+1531
+1532
+1533
+1534
+1535
+1536
+1537
+1538
+1539
+1540
+1541
+1542
+1543
//! The relay actor.
//!
//! The [`RelayActor`] handles all the relay connections. It is helped by the
//! [`ActiveRelayActor`] which handles a single relay connection.
@@ -1177,27 +1552,33 @@
collections::{BTreeMap, BTreeSet},
future::Future,
net::IpAddr,
+ pin::{pin, Pin},
sync::{
atomic::{AtomicBool, Ordering},
Arc,
},
};
-use anyhow::Context;
-use backoff::backoff::Backoff;
+use anyhow::{anyhow, Result};
+use backoff::exponential::{ExponentialBackoff, ExponentialBackoffBuilder};
use bytes::{Bytes, BytesMut};
use futures_buffered::FuturesUnorderedBounded;
use futures_lite::StreamExt;
+use futures_util::{future, SinkExt};
use iroh_base::{NodeId, PublicKey, RelayUrl, SecretKey};
use iroh_metrics::{inc, inc_by};
-use iroh_relay::{self as relay, client::ClientError, ReceivedMessage, MAX_PACKET_SIZE};
+use iroh_relay::{
+ self as relay,
+ client::{Client, ReceivedMessage, SendMessage},
+ MAX_PACKET_SIZE,
+};
use tokio::{
sync::{mpsc, oneshot},
task::JoinSet,
- time::{self, Duration, Instant},
+ time::{Duration, Instant, MissedTickBehavior},
};
use tokio_util::sync::CancellationToken;
-use tracing::{debug, error, info, info_span, trace, warn, Instrument};
+use tracing::{debug, error, info, info_span, instrument, trace, warn, Instrument};
use url::Url;
use super::RelayDatagramSendChannelReceiver;
@@ -1213,38 +1594,91 @@
/// Maximum size a datagram payload is allowed to be.
const MAX_PAYLOAD_SIZE: usize = MAX_PACKET_SIZE - PublicKey::LENGTH;
+/// Maximum time for a relay server to respond to a relay protocol ping.
+const PING_TIMEOUT: Duration = Duration::from_secs(5);
+
+/// Number of datagrams which can be sent to the relay server in one batch.
+///
+/// This means while this batch is sending to the server no other relay protocol frames can
+/// be sent to the server, e.g. no Ping frames or so. While the maximum packet size is
+/// rather large, each item can typically be expected to up to 1500 or the max GSO size.
+const SEND_DATAGRAM_BATCH_SIZE: usize = 20;
+
+/// Timeout for establishing the relay connection.
+///
+/// This includes DNS, dialing the server, upgrading the connection, and completing the
+/// handshake.
+const CONNECT_TIMEOUT: Duration = Duration::from_secs(10);
+
+/// Time after which the [`ActiveRelayActor`] will drop undeliverable datagrams.
+///
+/// When the [`ActiveRelayActor`] is not connected it can not deliver datagrams. However it
+/// will still receive datagrams to send from the [`RelayActor`]. If connecting takes
+/// longer than this timeout datagrams will be dropped.
+const UNDELIVERABLE_DATAGRAM_TIMEOUT: Duration = Duration::from_millis(400);
+
/// An actor which handles the connection to a single relay server.
///
/// It is responsible for maintaining the connection to the relay server and handling all
/// communication with it.
+///
+/// The actor shuts down itself on inactivity: inactivity is determined when no more
+/// datagrams are being received to send.
+///
+/// This actor has 3 main states it can be in, each has it's dedicated run loop:
+///
+/// - Dialing the relay server.
+///
+/// This will continuously dial the server until connected, using exponential backoff if
+/// it can not connect. See [`ActiveRelayActor::run_dialing`].
+///
+/// - Connected to the relay server.
+///
+/// This state allows receiving from the relay server, though sending is idle in this
+/// state. See [`ActiveRelayActor::run_connected`].
+///
+/// - Sending to the relay server.
+///
+/// This is a sub-state of `connected` so the actor can still be receiving from the relay
+/// server at this time. However it is actively sending data to the server so can not
+/// consume any further items from inboxes which will result in sending more data to the
+/// server until the actor goes back to the `connected` state.
+///
+/// All these are driven from the top-level [`ActiveRelayActor::run`] loop.
#[derive(Debug)]
struct ActiveRelayActor {
+ // The inboxes and channels this actor communicates over.
+ /// Inbox for messages which should be handled without any blocking.
+ fast_inbox: mpsc::Receiver<ActiveRelayFastMessage>,
+ /// Inbox for messages which involve sending to the relay server.
+ inbox: mpsc::Receiver<ActiveRelayMessage>,
/// Queue to send received relay datagrams on.
relay_datagrams_recv: Arc<RelayDatagramRecvQueue>,
/// Channel on which we receive packets to send to the relay.
relay_datagrams_send: mpsc::Receiver<RelaySendItem>,
- url: RelayUrl,
- /// Whether or not this is the home relay connection.
- is_home_relay: bool,
- /// Configuration to establish connections to a relay server.
- relay_connection_opts: RelayConnectionOptions,
- relay_client: relay::client::Client,
- relay_client_receiver: relay::client::ClientReceiver,
- /// The set of remote nodes we know are present on this relay server.
+
+ // Other actor state.
+ /// The relay server for this actor.
+ url: RelayUrl,
+ /// Builder which can repeatedly build a relay client.
+ relay_client_builder: relay::client::ClientBuilder,
+ /// Whether or not this is the home relay server.
///
- /// If we receive messages from a remote node via, this server it is added to this set.
- /// If the server notifies us this node is gone, it is removed from this set.
- node_present: BTreeSet<NodeId>,
- backoff: backoff::exponential::ExponentialBackoff<backoff::SystemClock>,
- last_packet_time: Option<Instant>,
- last_packet_src: Option<NodeId>,
+ /// The home relay server needs to maintain it's connection to the relay server, even if
+ /// the relay actor is otherwise idle.
+ is_home_relay: bool,
+ /// When this expires the actor has been idle and should shut down.
+ ///
+ /// Unless it is managing the home relay connection. Inactivity is only tracked on the
+ /// last datagram sent to the relay, received datagrams will trigger QUIC ACKs which is
+ /// sufficient to keep active connections open.
+ inactive_timeout: Pin<Box<tokio::time::Sleep>>,
+ /// Token indicating the [`ActiveRelayActor`] should stop.
+ stop_token: CancellationToken,
}
#[derive(Debug)]
-#[allow(clippy::large_enum_variant)]
enum ActiveRelayMessage {
- /// Returns whether or not this relay can reach the NodeId.
- HasNodeRoute(NodeId, oneshot::Sender<bool>),
/// Triggers a connection check to the relay server.
///
/// Sometimes it is known the local network interfaces have changed in which case it
@@ -1256,18 +1690,33 @@
CheckConnection(Vec<IpAddr>),
/// Sets this relay as the home relay, or not.
SetHomeRelay(bool),
- Shutdown,
#[cfg(test)]
GetLocalAddr(oneshot::Sender<Option<SocketAddr>>),
+ #[cfg(test)]
+ PingServer(oneshot::Sender<()>),
+}
+
+/// Messages for the [`ActiveRelayActor`] which should never block.
+///
+/// Most messages in the [`ActiveRelayMessage`] enum trigger sending to the relay server,
+/// which can be blocking. So the actor may not always be processing that inbox. Messages
+/// here are processed immediately.
+#[derive(Debug)]
+enum ActiveRelayFastMessage {
+ /// Returns whether or not this relay can reach the NodeId.
+ HasNodeRoute(NodeId, oneshot::Sender<bool>),
}
/// Configuration needed to start an [`ActiveRelayActor`].
#[derive(Debug)]
struct ActiveRelayActorOptions {
url: RelayUrl,
+ fast_inbox: mpsc::Receiver<ActiveRelayFastMessage>,
+ inbox: mpsc::Receiver<ActiveRelayMessage>,
relay_datagrams_send: mpsc::Receiver<RelaySendItem>,
relay_datagrams_recv: Arc<RelayDatagramRecvQueue>,
connection_opts: RelayConnectionOptions,
+ stop_token: CancellationToken,
}
/// Configuration needed to create a connection to a relay server.
@@ -1285,35 +1734,31 @@
fn new(opts: ActiveRelayActorOptions) -> Self {
let ActiveRelayActorOptions {
url,
+ fast_inbox,
+ inbox,
relay_datagrams_send,
relay_datagrams_recv,
connection_opts,
+ stop_token,
} = opts;
- let (relay_client, relay_client_receiver) =
- Self::create_relay_client(url.clone(), connection_opts.clone());
-
+ let relay_client_builder = Self::create_relay_builder(url.clone(), connection_opts);
ActiveRelayActor {
+ fast_inbox,
+ inbox,
relay_datagrams_recv,
relay_datagrams_send,
url,
+ relay_client_builder,
is_home_relay: false,
- node_present: BTreeSet::new(),
- backoff: backoff::exponential::ExponentialBackoffBuilder::new()
- .with_initial_interval(Duration::from_millis(10))
- .with_max_interval(Duration::from_secs(5))
- .build(),
- last_packet_time: None,
- last_packet_src: None,
- relay_connection_opts: connection_opts,
- relay_client,
- relay_client_receiver,
+ inactive_timeout: Box::pin(tokio::time::sleep(RELAY_INACTIVE_CLEANUP_TIME)),
+ stop_token,
}
}
- fn create_relay_client(
+ fn create_relay_builder(
url: RelayUrl,
opts: RelayConnectionOptions,
- ) -> (relay::client::Client, relay::client::ClientReceiver) {
+ ) -> relay::client::ClientBuilder {
let RelayConnectionOptions {
secret_key,
dns_resolver,
@@ -1322,271 +1767,437 @@
#[cfg(any(test, feature = "test-utils"))]
insecure_skip_cert_verify,
} = opts;
- let mut builder = relay::client::ClientBuilder::new(url)
+ let mut builder = relay::client::ClientBuilder::new(url, secret_key, dns_resolver)
.address_family_selector(move || prefer_ipv6.load(Ordering::Relaxed));
if let Some(proxy_url) = proxy_url {
builder = builder.proxy_url(proxy_url);
}
#[cfg(any(test, feature = "test-utils"))]
let builder = builder.insecure_skip_cert_verify(insecure_skip_cert_verify);
- builder.build(secret_key, dns_resolver)
+ builder
}
- async fn run(mut self, mut inbox: mpsc::Receiver<ActiveRelayMessage>) -> anyhow::Result<()> {
+ /// The main actor run loop.
+ ///
+ /// Primarily switches between the dialing and connected states.
+ async fn run(mut self) -> anyhow::Result<()> {
inc!(MagicsockMetrics, num_relay_conns_added);
- debug!("initial dial {}", self.url);
- self.relay_client
- .connect()
- .await
- .context("initial connection")?;
- // When this future has an inner, it is a future which is currently sending
- // something to the relay server. Nothing else can be sent to the relay server at
- // the same time.
- let mut relay_send_fut = std::pin::pin!(MaybeFuture::none());
-
- // If inactive for one tick the actor should exit. Inactivity is only tracked on
- // the last datagrams sent to the relay, received datagrams will trigger ACKs which
- // is sufficient to keep active connections open.
- let mut inactive_timeout = tokio::time::interval(RELAY_INACTIVE_CLEANUP_TIME);
- inactive_timeout.reset(); // skip immediate tick
-
- loop {
- // If a read error occurred on the connection it might have been lost. But we
- // need this connection to stay alive so we can receive more messages sent by
- // peers via the relay even if we don't start sending again first.
- if !self.relay_client.is_connected().await? {
- debug!("relay re-connecting");
- self.relay_client.connect().await.context("keepalive")?;
- }
- tokio::select! {
- msg = inbox.recv() => {
- let Some(msg) = msg else {
- debug!("all clients closed");
- break;
- };
- if self.handle_actor_msg(msg).await {
- break;
- }
- }
- // Only poll relay_send_fut if it is sending to the relay.
- _ = &mut relay_send_fut, if relay_send_fut.is_some() => {
- relay_send_fut.as_mut().set_none();
- }
- // Only poll for new datagrams if relay_send_fut is not busy.
- Some(item) = self.relay_datagrams_send.recv(), if relay_send_fut.is_none() => {
- debug_assert_eq!(item.url, self.url);
- let fut = Self::send_relay(self.relay_client.clone(), item);
- relay_send_fut.as_mut().set_future(fut);
- inactive_timeout.reset();
-
- }
- msg = self.relay_client_receiver.recv() => {
- trace!("tick: relay_client_receiver");
- if let Some(msg) = msg {
- if self.handle_relay_msg(msg).await == ReadResult::Break {
- // fatal error
- break;
- }
- }
- }
- _ = inactive_timeout.tick() => {
- debug!("Inactive for {RELAY_INACTIVE_CLEANUP_TIME:?}, exiting");
- break;
+ loop {
+ let Some(client) = self.run_dialing().instrument(info_span!("dialing")).await else {
+ break;
+ };
+ match self
+ .run_connected(client)
+ .instrument(info_span!("connected"))
+ .await
+ {
+ Ok(_) => break,
+ Err(err) => {
+ debug!("Connection to relay server lost: {err:#}");
+ continue;
}
}
}
debug!("exiting");
- self.relay_client.close().await?;
inc!(MagicsockMetrics, num_relay_conns_removed);
Ok(())
}
- async fn handle_actor_msg(&mut self, msg: ActiveRelayMessage) -> bool {
- trace!("tick: inbox: {:?}", msg);
- match msg {
- ActiveRelayMessage::SetHomeRelay(is_preferred) => {
- self.is_home_relay = is_preferred;
- self.relay_client.note_preferred(is_preferred).await;
- }
- ActiveRelayMessage::HasNodeRoute(peer, r) => {
- let has_peer = self.node_present.contains(&peer);
- r.send(has_peer).ok();
- }
- ActiveRelayMessage::CheckConnection(local_ips) => {
- self.handle_check_connection(local_ips).await;
- }
- ActiveRelayMessage::Shutdown => {
- debug!("shutdown");
- return true;
- }
- #[cfg(test)]
- ActiveRelayMessage::GetLocalAddr(sender) => {
- let addr = self.relay_client.local_addr().await;
- sender.send(addr).ok();
- }
- }
- false
- }
+ fn reset_inactive_timeout(&mut self) {
+ self.inactive_timeout
+ .as_mut()
+ .reset(Instant::now() + RELAY_INACTIVE_CLEANUP_TIME);
+ }
- /// Checks if the current relay connection is fine or needs reconnecting.
+ /// Actor loop when connecting to the relay server.
///
- /// If the local IP address of the current relay connection is in `local_ips` then this
- /// pings the relay, recreating the connection on ping failure. Otherwise it always
- /// recreates the connection.
- async fn handle_check_connection(&mut self, local_ips: Vec<IpAddr>) {
- match self.relay_client.local_addr().await {
- Some(local_addr) if local_ips.contains(&local_addr.ip()) => {
- match self.relay_client.ping().await {
- Ok(latency) => debug!(?latency, "Still connected."),
- Err(err) => {
- debug!(?err, "Ping failed, reconnecting.");
- self.reconnect().await;
+ /// Returns `None` if the actor needs to shut down. Returns `Some(client)` when the
+ /// connection is established.
+ async fn run_dialing(&mut self) -> Option<iroh_relay::client::Client> {
+ debug!("Actor loop: connecting to relay.");
+
+ // We regularly flush the relay_datagrams_send queue so it is not full of stale
+ // packets while reconnecting. Those datagrams are dropped and the QUIC congestion
+ // controller will have to handle this (DISCO packets do not yet have retry). This
+ // is not an ideal mechanism, an alternative approach would be to use
+ // e.g. ConcurrentQueue with force_push, though now you might still send very stale
+ // packets when eventually connected. So perhaps this is a reasonable compromise.
+ let mut send_datagram_flush = tokio::time::interval(UNDELIVERABLE_DATAGRAM_TIMEOUT);
+ send_datagram_flush.set_missed_tick_behavior(MissedTickBehavior::Delay);
+ send_datagram_flush.reset(); // Skip the immediate interval
+
+ let mut dialing_fut = self.dial_relay();
+ loop {
+ tokio::select! {
+ biased;
+ _ = self.stop_token.cancelled() => {
+ debug!("Shutdown.");
+ break None;
+ }
+ msg = self.fast_inbox.recv() => {
+ let Some(msg) = msg else {
+ warn!("Fast inbox closed, shutdown.");
+ break None;
+ };
+ match msg {
+ ActiveRelayFastMessage::HasNodeRoute(_peer, sender) => {
+ sender.send(false).ok();
+ }
}
}
- }
- Some(_local_addr) => {
- debug!("Local IP no longer valid, reconnecting");
- self.reconnect().await;
- }
- None => {
- debug!("No local address for this relay connection, reconnecting.");
- self.reconnect().await;
+ res = &mut dialing_fut => {
+ match res {
+ Ok(client) => {
+ break Some(client);
+ }
+ Err(err) => {
+ warn!("Client failed to connect: {err:#}");
+ dialing_fut = self.dial_relay();
+ }
+ }
+ }
+ msg = self.inbox.recv() => {
+ let Some(msg) = msg else {
+ debug!("Inbox closed, shutdown.");
+ break None;
+ };
+ match msg {
+ ActiveRelayMessage::SetHomeRelay(is_preferred) => {
+ self.is_home_relay = is_preferred;
+ }
+ ActiveRelayMessage::CheckConnection(_local_ips) => {}
+ #[cfg(test)]
+ ActiveRelayMessage::GetLocalAddr(sender) => {
+ sender.send(None).ok();
+ }
+ #[cfg(test)]
+ ActiveRelayMessage::PingServer(sender) => {
+ drop(sender);
+ }
+ }
+ }
+ _ = send_datagram_flush.tick() => {
+ self.reset_inactive_timeout();
+ let mut logged = false;
+ while self.relay_datagrams_send.try_recv().is_ok() {
+ if !logged {
+ debug!(?UNDELIVERABLE_DATAGRAM_TIMEOUT, "Dropping datagrams to send.");
+ logged = true;
+ }
+ }
+ }
+ _ = &mut self.inactive_timeout, if !self.is_home_relay => {
+ debug!(?RELAY_INACTIVE_CLEANUP_TIME, "Inactive, exiting.");
+ break None;
+ }
}
}
}
- async fn reconnect(&mut self) {
- let (client, client_receiver) =
- Self::create_relay_client(self.url.clone(), self.relay_connection_opts.clone());
- self.relay_client = client;
- self.relay_client_receiver = client_receiver;
+ /// Returns a future which will complete once connected to the relay server.
+ ///
+ /// The future only completes once the connection is established and retries
+ /// connections. It currently does not ever return `Err` as the retries continue
+ /// forever.
+ fn dial_relay(&self) -> Pin<Box<dyn Future<Output = Result<Client>> + Send>> {
+ let backoff: ExponentialBackoff<backoff::SystemClock> = ExponentialBackoffBuilder::new()
+ .with_initial_interval(Duration::from_millis(10))
+ .with_max_interval(Duration::from_secs(5))
+ .build();
+ let connect_fn = {
+ let client_builder = self.relay_client_builder.clone();
+ move || {
+ let client_builder = client_builder.clone();
+ async move {
+ match tokio::time::timeout(CONNECT_TIMEOUT, client_builder.connect()).await {
+ Ok(Ok(client)) => Ok(client),
+ Ok(Err(err)) => {
+ warn!("Relay connection failed: {err:#}");
+ Err(err.into())
+ }
+ Err(_) => {
+ warn!(?CONNECT_TIMEOUT, "Timeout connecting to relay");
+ Err(anyhow!("Timeout").into())
+ }
+ }
+ }
+ }
+ };
+ let retry_fut = backoff::future::retry(backoff, connect_fn);
+ Box::pin(retry_fut)
+ }
+
+ /// Runs the actor loop when connected to a relay server.
+ ///
+ /// Returns `Ok` if the actor needs to shut down. `Err` is returned if the connection
+ /// to the relay server is lost.
+ async fn run_connected(&mut self, client: iroh_relay::client::Client) -> Result<()> {
+ debug!("Actor loop: connected to relay");
+
+ let (mut client_stream, mut client_sink) = client.split();
+
+ let mut state = ConnectedRelayState {
+ ping_tracker: PingTracker::new(),
+ nodes_present: BTreeSet::new(),
+ last_packet_src: None,
+ pong_pending: None,
+ #[cfg(test)]
+ test_pong: None,
+ };
+ let mut send_datagrams_buf = Vec::with_capacity(SEND_DATAGRAM_BATCH_SIZE);
+
if self.is_home_relay {
- self.relay_client.note_preferred(true).await;
+ let fut = client_sink.send(SendMessage::NotePreferred(true));
+ self.run_sending(fut, &mut state, &mut client_stream)
+ .await?;
}
- }
- async fn send_relay(relay_client: relay::client::Client, item: RelaySendItem) {
- // When Quinn sends a GSO Transmit magicsock::split_packets will make us receive
- // more than one packet to send in a single call. We join all packets back together
- // and prefix them with a u16 packet size. They then get sent as a single DISCO
- // frame. However this might still be multiple packets when otherwise the maximum
- // packet size for the relay protocol would be exceeded.
- for packet in PacketizeIter::<_, MAX_PAYLOAD_SIZE>::new(item.remote_node, item.datagrams) {
- let len = packet.len();
- match relay_client.send(packet.node_id, packet.payload).await {
- Ok(_) => inc_by!(MagicsockMetrics, send_relay, len as _),
- Err(err) => {
- warn!("send failed: {err:#}");
- inc!(MagicsockMetrics, send_relay_error);
- }
+ loop {
+ if let Some(data) = state.pong_pending.take() {
+ let fut = client_sink.send(SendMessage::Pong(data));
+ self.run_sending(fut, &mut state, &mut client_stream)
+ .await?;
}
- }
- }
-
- async fn handle_relay_msg(&mut self, msg: Result<ReceivedMessage, ClientError>) -> ReadResult {
- match msg {
- Err(err) => {
- warn!("recv error {:?}", err);
-
- // Forget that all these peers have routes.
- self.node_present.clear();
-
- if matches!(
- err,
- relay::client::ClientError::Closed | relay::client::ClientError::IPDisabled
- ) {
- // drop client
- return ReadResult::Break;
+ tokio::select! {
+ biased;
+ _ = self.stop_token.cancelled() => {
+ debug!("Shutdown.");
+ break Ok(());
}
-
- // If our relay connection broke, it might be because our network
- // conditions changed. Start that check.
- // TODO:
- // self.re_stun("relay-recv-error").await;
-
- // Back off a bit before reconnecting.
- match self.backoff.next_backoff() {
- Some(t) => {
- debug!("backoff sleep: {}ms", t.as_millis());
- time::sleep(t).await;
- ReadResult::Continue
+ msg = self.fast_inbox.recv() => {
+ let Some(msg) = msg else {
+ warn!("Fast inbox closed, shutdown.");
+ break Ok(());
+ };
+ match msg {
+ ActiveRelayFastMessage::HasNodeRoute(peer, sender) => {
+ let has_peer = state.nodes_present.contains(&peer);
+ sender.send(has_peer).ok();
+ }
}
- None => ReadResult::Break,
+ }
+ _ = state.ping_tracker.timeout() => {
+ break Err(anyhow!("Ping timeout"));
+ }
+ msg = self.inbox.recv() => {
+ let Some(msg) = msg else {
+ warn!("Inbox closed, shutdown.");
+ break Ok(());
+ };
+ match msg {
+ ActiveRelayMessage::SetHomeRelay(is_preferred) => {
+ let fut = client_sink.send(SendMessage::NotePreferred(is_preferred));
+ self.run_sending(fut, &mut state, &mut client_stream).await?;
+ }
+ ActiveRelayMessage::CheckConnection(local_ips) => {
+ match client_stream.local_addr() {
+ Some(addr) if local_ips.contains(&addr.ip()) => {
+ let data = state.ping_tracker.new_ping();
+ let fut = client_sink.send(SendMessage::Ping(data));
+ self.run_sending(fut, &mut state, &mut client_stream).await?;
+ }
+ Some(_) => break Err(anyhow!("Local IP no longer valid")),
+ None => break Err(anyhow!("No local addr, reconnecting")),
+ }
+ }
+ #[cfg(test)]
+ ActiveRelayMessage::GetLocalAddr(sender) => {
+ let addr = client_stream.local_addr();
+ sender.send(addr).ok();
+ }
+ #[cfg(test)]
+ ActiveRelayMessage::PingServer(sender) => {
+ let data = rand::random();
+ state.test_pong = Some((data, sender));
+ let fut = client_sink.send(SendMessage::Ping(data));
+ self.run_sending(fut, &mut state, &mut client_stream).await?;
+ }
+ }
+ }
+ count = self.relay_datagrams_send.recv_many(
+ &mut send_datagrams_buf,
+ SEND_DATAGRAM_BATCH_SIZE,
+ ) => {
+ if count == 0 {
+ warn!("Datagram inbox closed, shutdown");
+ break Ok(());
+ };
+ self.reset_inactive_timeout();
+ // TODO: This allocation is *very* unfortunate. But so is the
+ // allocation *inside* of PacketizeIter...
+ let dgrams = std::mem::replace(
+ &mut send_datagrams_buf,
+ Vec::with_capacity(SEND_DATAGRAM_BATCH_SIZE),
+ );
+ let packet_iter = dgrams.into_iter().flat_map(|datagrams| {
+ PacketizeIter::<_, MAX_PAYLOAD_SIZE>::new(
+ datagrams.remote_node,
+ datagrams.datagrams.clone(),
+ )
+ .map(|p| {
+ inc_by!(MagicsockMetrics, send_relay, p.payload.len() as _);
+ SendMessage::SendPacket(p.node_id, p.payload)
+ })
+ .map(Ok)
+ });
+ let mut packet_stream = futures_util::stream::iter(packet_iter);
+ let fut = client_sink.send_all(&mut packet_stream);
+ self.run_sending(fut, &mut state, &mut client_stream).await?;
+ }
+ msg = client_stream.next() => {
+ let Some(msg) = msg else {
+ break Err(anyhow!("Client stream finished"));
+ };
+ match msg {
+ Ok(msg) => self.handle_relay_msg(msg, &mut state),
+ Err(err) => break Err(anyhow!("Client stream read error: {err:#}")),
+ }
+ }
+ _ = &mut self.inactive_timeout, if !self.is_home_relay => {
+ debug!("Inactive for {RELAY_INACTIVE_CLEANUP_TIME:?}, exiting.");
+ break Ok(());
}
}
- Ok(msg) => {
- // reset
- self.backoff.reset();
- let now = Instant::now();
- if self
- .last_packet_time
+ }
+ }
+
+ fn handle_relay_msg(&mut self, msg: ReceivedMessage, state: &mut ConnectedRelayState) {
+ match msg {
+ ReceivedMessage::ReceivedPacket {
+ remote_node_id,
+ data,
+ } => {
+ trace!(len = %data.len(), "received msg");
+ // If this is a new sender, register a route for this peer.
+ if state
+ .last_packet_src
.as_ref()
- .map(|t| t.elapsed() > Duration::from_secs(5))
+ .map(|p| *p != remote_node_id)
.unwrap_or(true)
{
- self.last_packet_time = Some(now);
+ // Avoid map lookup with high throughput single peer.
+ state.last_packet_src = Some(remote_node_id);
+ state.nodes_present.insert(remote_node_id);
}
-
- match msg {
- ReceivedMessage::ReceivedPacket {
- remote_node_id,
- data,
- } => {
- trace!(len=%data.len(), "received msg");
- // If this is a new sender we hadn't seen before, remember it and
- // register a route for this peer.
- if self
- .last_packet_src
- .as_ref()
- .map(|p| *p != remote_node_id)
- .unwrap_or(true)
- {
- // avoid map lookup w/ high throughput single peer
- self.last_packet_src = Some(remote_node_id);
- self.node_present.insert(remote_node_id);
+ for datagram in PacketSplitIter::new(self.url.clone(), remote_node_id, data) {
+ let Ok(datagram) = datagram else {
+ warn!("Invalid packet split");
+ break;
+ };
+ if let Err(err) = self.relay_datagrams_recv.try_send(datagram) {
+ warn!("Dropping received relay packet: {err:#}");
+ }
+ }
+ }
+ ReceivedMessage::NodeGone(node_id) => {
+ state.nodes_present.remove(&node_id);
+ }
+ ReceivedMessage::Ping(data) => state.pong_pending = Some(data),
+ ReceivedMessage::Pong(data) => {
+ #[cfg(test)]
+ {
+ if let Some((expected_data, sender)) = state.test_pong.take() {
+ if data == expected_data {
+ sender.send(()).ok();
+ } else {
+ state.test_pong = Some((expected_data, sender));
}
+ }
+ }
+ state.ping_tracker.pong_received(data)
+ }
+ ReceivedMessage::KeepAlive
+ | ReceivedMessage::Health { .. }
+ | ReceivedMessage::ServerRestarting { .. } => trace!("Ignoring {msg:?}"),
+ }
+ }
- for datagram in PacketSplitIter::new(self.url.clone(), remote_node_id, data)
- {
- let Ok(datagram) = datagram else {
- error!("Invalid packet split");
- break;
- };
- if let Err(err) = self.relay_datagrams_recv.try_send(datagram) {
- warn!("dropping received relay packet: {err:#}");
- }
+ /// Run the actor main loop while sending to the relay server.
+ ///
+ /// While sending the actor should not read any inboxes which will give it more things
+ /// to send to the relay server.
+ ///
+ /// # Returns
+ ///
+ /// On `Err` the relay connection should be disconnected. An `Ok` return means either
+ /// the actor should shut down, consult the [`ActiveRelayActor::stop_token`] and
+ /// [`ActiveRelayActor::inactive_timeout`] for this, or the send was successful.
+ #[instrument(name = "tx", skip_all)]
+ async fn run_sending<T, E: Into<anyhow::Error>>(
+ &mut self,
+ sending_fut: impl Future<Output = Result<T, E>>,
+ state: &mut ConnectedRelayState,
+ client_stream: &mut iroh_relay::client::ClientStream,
+ ) -> Result<()> {
+ let mut sending_fut = pin!(sending_fut);
+ loop {
+ tokio::select! {
+ biased;
+ _ = self.stop_token.cancelled() => {
+ break Ok(());
+ }
+ msg = self.fast_inbox.recv() => {
+ let Some(msg) = msg else {
+ warn!("Fast inbox closed, shutdown.");
+ break Ok(());
+ };
+ match msg {
+ ActiveRelayFastMessage::HasNodeRoute(peer, sender) => {
+ let has_peer = state.nodes_present.contains(&peer);
+ sender.send(has_peer).ok();
}
-
- ReadResult::Continue
}
- ReceivedMessage::Ping(data) => {
- // Best effort reply to the ping.
- let dc = self.relay_client.clone();
- // TODO: Unbounded tasks/channel
- tokio::task::spawn(async move {
- if let Err(err) = dc.send_pong(data).await {
- warn!("pong error: {:?}", err);
- }
- });
- ReadResult::Continue
+ }
+ res = &mut sending_fut => {
+ match res {
+ Ok(_) => break Ok(()),
+ Err(err) => break Err(err.into()),
}
- ReceivedMessage::Health { .. } => ReadResult::Continue,
- ReceivedMessage::NodeGone(key) => {
- self.node_present.remove(&key);
- ReadResult::Continue
- }
- other => {
- trace!("ignoring: {:?}", other);
- // Ignore.
- ReadResult::Continue
+ }
+ _ = state.ping_tracker.timeout() => {
+ break Err(anyhow!("Ping timeout"));
+ }
+ // No need to read the inbox or datagrams to send.
+ msg = client_stream.next() => {
+ let Some(msg) = msg else {
+ break Err(anyhow!("Client stream finished"));
+ };
+ match msg {
+ Ok(msg) => self.handle_relay_msg(msg, state),
+ Err(err) => break Err(anyhow!("Client stream read error: {err:#}")),
}
}
+ _ = &mut self.inactive_timeout, if !self.is_home_relay => {
+ debug!("Inactive for {RELAY_INACTIVE_CLEANUP_TIME:?}, exiting.");
+ break Ok(());
+ }
}
}
}
}
+/// Shared state when the [`ActiveRelayActor`] is connected to a relay server.
+///
+/// Common state between [`ActiveRelayActor::run_connected`] and
+/// [`ActiveRelayActor::run_sending`].
+#[derive(Debug)]
+struct ConnectedRelayState {
+ /// Tracks pings we have sent, awaits pong replies.
+ ping_tracker: PingTracker,
+ /// Nodes which are reachable via this relay server.
+ nodes_present: BTreeSet<NodeId>,
+ /// The [`NodeId`] from whom we received the last packet.
+ ///
+ /// This is to avoid a slower lookup in the [`ConnectedRelayState::nodes_present`] map
+ /// when we are only communicating to a single remote node.
+ last_packet_src: Option<NodeId>,
+ /// A pong we need to send ASAP.
+ pong_pending: Option<[u8; 8]>,
+ #[cfg(test)]
+ test_pong: Option<([u8; 8], oneshot::Sender<()>)>,
+}
+
pub(super) enum RelayActorMessage {
MaybeCloseRelaysOnRebind(Vec<IpAddr>),
SetHome { url: RelayUrl },
@@ -1686,7 +2297,9 @@
}
}
// Only poll this future if it is in use.
- _ = &mut datagram_send_fut, if datagram_send_fut.is_some() => {}
+ _ = &mut datagram_send_fut, if datagram_send_fut.is_some() => {
+ datagram_send_fut.as_mut().set_none();
+ }
}
}
@@ -1780,8 +2393,8 @@
let check_futs = self.active_relays.iter().map(|(url, handle)| async move {
let (tx, rx) = oneshot::channel();
handle
- .inbox_addr
- .send(ActiveRelayMessage::HasNodeRoute(*remote_node, tx))
+ .fast_inbox_addr
+ .send(ActiveRelayFastMessage::HasNodeRoute(*remote_node, tx))
.await
.ok();
match rx.await {
@@ -1835,25 +2448,30 @@
// TODO: Replace 64 with PER_CLIENT_SEND_QUEUE_DEPTH once that's unused
let (send_datagram_tx, send_datagram_rx) = mpsc::channel(64);
+ let (fast_inbox_tx, fast_inbox_rx) = mpsc::channel(32);
let (inbox_tx, inbox_rx) = mpsc::channel(64);
let span = info_span!("active-relay", %url);
let opts = ActiveRelayActorOptions {
url,
+ fast_inbox: fast_inbox_rx,
+ inbox: inbox_rx,
relay_datagrams_send: send_datagram_rx,
relay_datagrams_recv: self.relay_datagram_recv_queue.clone(),
connection_opts,
+ stop_token: self.cancel_token.child_token(),
};
let actor = ActiveRelayActor::new(opts);
self.active_relay_tasks.spawn(
async move {
// TODO: Make the actor itself infallible.
- if let Err(err) = actor.run(inbox_rx).await {
+ if let Err(err) = actor.run().await {
warn!("actor error: {err:#}");
}
}
.instrument(span),
);
let handle = ActiveRelayHandle {
+ fast_inbox_addr: fast_inbox_tx,
inbox_addr: inbox_tx,
datagrams_send_queue: send_datagram_tx,
};
@@ -1892,16 +2510,7 @@
/// Stops all [`ActiveRelayActor`]s and awaits for them to finish.
async fn close_all_active_relays(&mut self) {
- let send_futs = self.active_relays.iter().map(|(url, handle)| async move {
- debug!(%url, "Shutting down ActiveRelayActor");
- handle
- .inbox_addr
- .send(ActiveRelayMessage::Shutdown)
- .await
- .ok();
- });
- futures_buffered::join_all(send_futs).await;
-
+ self.cancel_token.cancel();
let tasks = std::mem::take(&mut self.active_relay_tasks);
tasks.join_all().await;
@@ -1932,6 +2541,7 @@
/// Handle to one [`ActiveRelayActor`].
#[derive(Debug, Clone)]
struct ActiveRelayHandle {
+ fast_inbox_addr: mpsc::Sender<ActiveRelayFastMessage>,
inbox_addr: mpsc::Sender<ActiveRelayMessage>,
datagrams_send_queue: mpsc::Sender<RelaySendItem>,
}
@@ -1948,12 +2558,6 @@
payload: Bytes,
}
-impl RelaySendPacket {
- fn len(&self) -> usize {
- self.payload.len()
- }
-}
-
/// A single datagram received from a relay server.
///
/// This could be either a QUIC or DISCO packet.
@@ -1964,12 +2568,6 @@
pub(super) buf: Bytes,
}
-#[derive(Debug, PartialEq, Eq)]
-pub(super) enum ReadResult {
- Break,
- Continue,
-}
-
/// Combines datagrams into a single DISCO frame of at most MAX_PACKET_SIZE.
///
/// The disco `iroh_relay::protos::Frame::SendPacket` frame can contain more then a single
@@ -2078,8 +2676,65 @@
}
}
+/// Tracks pings on a single relay connection.
+///
+/// Only the last ping needs is useful, any previously sent ping is forgotten and ignored.
+#[derive(Debug)]
+struct PingTracker {
+ inner: Option<PingInner>,
+}
+
+#[derive(Debug)]
+struct PingInner {
+ data: [u8; 8],
+ deadline: Instant,
+}
+
+impl PingTracker {
+ fn new() -> Self {
+ Self { inner: None }
+ }
+
+ /// Starts a new ping.
+ fn new_ping(&mut self) -> [u8; 8] {
+ let ping_data = rand::random();
+ debug!(data = ?ping_data, "Sending ping to relay server.");
+ self.inner = Some(PingInner {
+ data: ping_data,
+ deadline: Instant::now() + PING_TIMEOUT,
+ });
+ ping_data
+ }
+
+ /// Updates the ping tracker with a received pong.
+ ///
+ /// Only the pong of the most recent ping will do anything. There is no harm feeding
+ /// any pong however.
+ fn pong_received(&mut self, data: [u8; 8]) {
+ if self.inner.as_ref().map(|inner| inner.data) == Some(data) {
+ debug!(?data, "Pong received from relay server");
+ self.inner = None;
+ }
+ }
+
+ /// Cancel-safe waiting for a ping timeout.
+ ///
+ /// Unless the most recent sent ping times out, this will never return.
+ async fn timeout(&mut self) {
+ match self.inner {
+ Some(PingInner { deadline, data }) => {
+ tokio::time::sleep_until(deadline).await;
+ debug!(?data, "Ping timeout.");
+ self.inner = None;
+ }
+ None => future::pending().await,
+ }
+ }
+}
+
#[cfg(test)]
mod tests {
+ use anyhow::Context;
use futures_lite::future;
use iroh_base::SecretKey;
use smallvec::smallvec;
@@ -2121,15 +2776,21 @@
}
/// Starts a new [`ActiveRelayActor`].
+ #[allow(clippy::too_many_arguments)]
fn start_active_relay_actor(
secret_key: SecretKey,
+ stop_token: CancellationToken,
url: RelayUrl,
+ fast_inbox_rx: mpsc::Receiver<ActiveRelayFastMessage>,
inbox_rx: mpsc::Receiver<ActiveRelayMessage>,
relay_datagrams_send: mpsc::Receiver<RelaySendItem>,
relay_datagrams_recv: Arc<RelayDatagramRecvQueue>,
+ span: tracing::Span,
) -> AbortOnDropHandle<anyhow::Result<()>> {
let opts = ActiveRelayActorOptions {
url,
+ fast_inbox: fast_inbox_rx,
+ inbox: inbox_rx,
relay_datagrams_send,
relay_datagrams_recv,
connection_opts: RelayConnectionOptions {
@@ -2139,14 +2800,9 @@
prefer_ipv6: Arc::new(AtomicBool::new(true)),
insecure_skip_cert_verify: true,
},
+ stop_token,
};
- let task = tokio::spawn(
- async move {
- let actor = ActiveRelayActor::new(opts);
- actor.run(inbox_rx).await
- }
- .instrument(info_span!("actor-under-test")),
- );
+ let task = tokio::spawn(ActiveRelayActor::new(opts).run().instrument(span));
AbortOnDropHandle::new(task)
}
@@ -2159,13 +2815,18 @@
let secret_key = SecretKey::from_bytes(&[8u8; 32]);
let recv_datagram_queue = Arc::new(RelayDatagramRecvQueue::new());
let (send_datagram_tx, send_datagram_rx) = mpsc::channel(16);
+ let (fast_inbox_tx, fast_inbox_rx) = mpsc::channel(8);
let (inbox_tx, inbox_rx) = mpsc::channel(16);
+ let cancel_token = CancellationToken::new();
let actor_task = start_active_relay_actor(
secret_key.clone(),
+ cancel_token.clone(),
relay_url.clone(),
+ fast_inbox_rx,
inbox_rx,
send_datagram_rx,
recv_datagram_queue.clone(),
+ info_span!("echo-node"),
);
let echo_task = tokio::spawn({
let relay_url = relay_url.clone();
@@ -2188,8 +2849,10 @@
});
let echo_task = AbortOnDropHandle::new(echo_task);
let supervisor_task = tokio::spawn(async move {
- // move the inbox_tx here so it is not dropped, as this stops the actor.
- let _inbox_tx = inbox_tx;
+ let _guard = cancel_token.drop_guard();
+ // move the inboxes here so it is not dropped, as this stops the actor.
+ let _fast_inbox_tx = fast_inbox_tx;
+ let _inbox_tx = inbox_tx;
tokio::select! {
biased;
_ = actor_task => (),
@@ -2200,6 +2863,42 @@
(secret_key.public(), supervisor_task)
}
+ /// Sends a message to the echo node, receives the response.
+ ///
+ /// This takes care of retry and timeout. Because we don't know when both the
+ /// node-under-test and the echo node will be ready and datagrams aren't queued to send
+ /// forever, we have to retry a few times.
+ async fn send_recv_echo(
+ item: RelaySendItem,
+ tx: &mpsc::Sender<RelaySendItem>,
+ rx: &Arc<RelayDatagramRecvQueue>,
+ ) -> Result<()> {
+ assert!(item.datagrams.len() == 1);
+ tokio::time::timeout(Duration::from_secs(10), async move {
+ loop {
+ let res = tokio::time::timeout(UNDELIVERABLE_DATAGRAM_TIMEOUT, async {
+ tx.send(item.clone()).await?;
+ let RelayRecvDatagram {
+ url: _,
+ src: _,
+ buf,
+ } = future::poll_fn(|cx| rx.poll_recv(cx)).await?;
+
+ assert_eq!(buf.as_ref(), item.datagrams[0]);
+
+ Ok::<_, anyhow::Error>(())
+ })
+ .await;
+ if res.is_ok() {
+ break;
+ }
+ }
+ })
+ .await
+ .expect("overall timeout exceeded");
+ Ok(())
+ }
+
#[tokio::test]
async fn test_active_relay_reconnect() -> TestResult {
let _guard = iroh_test::logging::setup();
@@ -2209,13 +2908,18 @@
let secret_key = SecretKey::from_bytes(&[1u8; 32]);
let datagram_recv_queue = Arc::new(RelayDatagramRecvQueue::new());
let (send_datagram_tx, send_datagram_rx) = mpsc::channel(16);
+ let (_fast_inbox_tx, fast_inbox_rx) = mpsc::channel(8);
let (inbox_tx, inbox_rx) = mpsc::channel(16);
+ let cancel_token = CancellationToken::new();
let task = start_active_relay_actor(
secret_key,
+ cancel_token.clone(),
relay_url.clone(),
+ fast_inbox_rx,
inbox_rx,
send_datagram_rx,
datagram_recv_queue.clone(),
+ info_span!("actor-under-test"),
);
// Send a datagram to our echo node.
@@ -2225,15 +2929,12 @@
url: relay_url.clone(),
datagrams: smallvec![Bytes::from_static(b"hello")],
};
- send_datagram_tx.send(hello_send_item.clone()).await?;
-
- // Check we get it back
- let RelayRecvDatagram {
- url: _,
- src: _,
- buf,
- } = future::poll_fn(|cx| datagram_recv_queue.poll_recv(cx)).await?;
- assert_eq!(buf.as_ref(), b"hello");
+ send_recv_echo(
+ hello_send_item.clone(),
+ &send_datagram_tx,
+ &datagram_recv_queue,
+ )
+ .await?;
// Now ask to check the connection, triggering a ping but no reconnect.
let (tx, rx) = oneshot::channel();
@@ -2252,9 +2953,12 @@
// Echo should still work.
info!("second echo");
- send_datagram_tx.send(hello_send_item.clone()).await?;
- let recv = future::poll_fn(|cx| datagram_recv_queue.poll_recv(cx)).await?;
- assert_eq!(recv.buf.as_ref(), b"hello");
+ send_recv_echo(
+ hello_send_item.clone(),
+ &send_datagram_tx,
+ &datagram_recv_queue,
+ )
+ .await?;
// Now ask to check the connection, this will reconnect without pinging because we
// do not supply any "valid" local IP addresses.
@@ -2268,12 +2972,15 @@
// Echo should still work.
info!("third echo");
- send_datagram_tx.send(hello_send_item).await?;
- let recv = future::poll_fn(|cx| datagram_recv_queue.poll_recv(cx)).await?;
- assert_eq!(recv.buf.as_ref(), b"hello");
+ send_recv_echo(
+ hello_send_item.clone(),
+ &send_datagram_tx,
+ &datagram_recv_queue,
+ )
+ .await?;
// Shut down the actor.
- inbox_tx.send(ActiveRelayMessage::Shutdown).await?;
+ cancel_token.cancel();
task.await??;
Ok(())
@@ -2285,25 +2992,37 @@
let (_relay_map, relay_url, _server) = test_utils::run_relay_server().await?;
let secret_key = SecretKey::from_bytes(&[1u8; 32]);
- let node_id = secret_key.public();
let datagram_recv_queue = Arc::new(RelayDatagramRecvQueue::new());
let (_send_datagram_tx, send_datagram_rx) = mpsc::channel(16);
+ let (_fast_inbox_tx, fast_inbox_rx) = mpsc::channel(8);
let (inbox_tx, inbox_rx) = mpsc::channel(16);
+ let cancel_token = CancellationToken::new();
let mut task = start_active_relay_actor(
secret_key,
+ cancel_token.clone(),
relay_url,
+ fast_inbox_rx,
inbox_rx,
send_datagram_rx,
datagram_recv_queue.clone(),
+ info_span!("actor-under-test"),
);
- // Give the task some time to run. If it responds to HasNodeRoute it is running.
- let (tx, rx) = oneshot::channel();
- inbox_tx
- .send(ActiveRelayMessage::HasNodeRoute(node_id, tx))
- .await
- .ok();
- rx.await?;
+ // Wait until the actor is connected to the relay server.
+ tokio::time::timeout(Duration::from_secs(5), async {
+ loop {
+ let (tx, rx) = oneshot::channel();
+ inbox_tx.send(ActiveRelayMessage::PingServer(tx)).await.ok();
+ if tokio::time::timeout(Duration::from_millis(200), rx)
+ .await
+ .map(|resp| resp.is_ok())
+ .unwrap_or_default()
+ {
+ break;
+ }
+ }
+ })
+ .await?;
// We now have an idling ActiveRelayActor. If we advance time just a little it
// should stay alive.
@@ -2325,13 +3044,44 @@
tokio::time::advance(RELAY_INACTIVE_CLEANUP_TIME).await;
tokio::time::resume();
assert!(
- tokio::time::timeout(Duration::from_millis(100), task)
+ tokio::time::timeout(Duration::from_secs(1), task)
.await
.is_ok(),
"actor task still running"
);
+ cancel_token.cancel();
+
Ok(())
}
+
+ #[tokio::test]
+ async fn test_ping_tracker() {
+ tokio::time::pause();
+ let mut tracker = PingTracker::new();
+
+ let ping0 = tracker.new_ping();
+
+ let res = tokio::time::timeout(Duration::from_secs(1), tracker.timeout()).await;
+ assert!(res.is_err(), "no ping timeout has elapsed yet");
+
+ tracker.pong_received(ping0);
+ let res = tokio::time::timeout(Duration::from_secs(10), tracker.timeout()).await;
+ assert!(res.is_err(), "ping completed before timeout");
+
+ let _ping1 = tracker.new_ping();
+
+ let res = tokio::time::timeout(Duration::from_secs(10), tracker.timeout()).await;
+ assert!(res.is_ok(), "ping timeout should have happened");
+
+ let _ping2 = tracker.new_ping();
+
+ tokio::time::sleep(Duration::from_secs(10)).await;
+ let res = tokio::time::timeout(Duration::from_millis(1), tracker.timeout()).await;
+ assert!(res.is_ok(), "ping timeout happened in the past");
+
+ let res = tokio::time::timeout(Duration::from_secs(10), tracker.timeout()).await;
+ assert!(res.is_err(), "ping timeout should only happen once");
+ }
}
\ No newline at end of file
diff --git a/pr/3068/docs/src/iroh/util.rs.html b/pr/3068/docs/src/iroh/util.rs.html
index e355df92ec..f55799d08d 100644
--- a/pr/3068/docs/src/iroh/util.rs.html
+++ b/pr/3068/docs/src/iroh/util.rs.html
@@ -101,7 +101,7 @@
Self::default()
}
- /// Clears the value
+ /// Sets the future to None again.
pub(crate) fn set_none(mut self: Pin<&mut Self>) {
self.as_mut().project_replace(Self::None);
}
diff --git a/pr/3068/docs/src/iroh_relay/client.rs.html b/pr/3068/docs/src/iroh_relay/client.rs.html
index 89cfbd6c50..71484cf194 100644
--- a/pr/3068/docs/src/iroh_relay/client.rs.html
+++ b/pr/3068/docs/src/iroh_relay/client.rs.html
@@ -753,475 +753,27 @@
752
753
754
-755
-756
-757
-758
-759
-760
-761
-762
-763
-764
-765
-766
-767
-768
-769
-770
-771
-772
-773
-774
-775
-776
-777
-778
-779
-780
-781
-782
-783
-784
-785
-786
-787
-788
-789
-790
-791
-792
-793
-794
-795
-796
-797
-798
-799
-800
-801
-802
-803
-804
-805
-806
-807
-808
-809
-810
-811
-812
-813
-814
-815
-816
-817
-818
-819
-820
-821
-822
-823
-824
-825
-826
-827
-828
-829
-830
-831
-832
-833
-834
-835
-836
-837
-838
-839
-840
-841
-842
-843
-844
-845
-846
-847
-848
-849
-850
-851
-852
-853
-854
-855
-856
-857
-858
-859
-860
-861
-862
-863
-864
-865
-866
-867
-868
-869
-870
-871
-872
-873
-874
-875
-876
-877
-878
-879
-880
-881
-882
-883
-884
-885
-886
-887
-888
-889
-890
-891
-892
-893
-894
-895
-896
-897
-898
-899
-900
-901
-902
-903
-904
-905
-906
-907
-908
-909
-910
-911
-912
-913
-914
-915
-916
-917
-918
-919
-920
-921
-922
-923
-924
-925
-926
-927
-928
-929
-930
-931
-932
-933
-934
-935
-936
-937
-938
-939
-940
-941
-942
-943
-944
-945
-946
-947
-948
-949
-950
-951
-952
-953
-954
-955
-956
-957
-958
-959
-960
-961
-962
-963
-964
-965
-966
-967
-968
-969
-970
-971
-972
-973
-974
-975
-976
-977
-978
-979
-980
-981
-982
-983
-984
-985
-986
-987
-988
-989
-990
-991
-992
-993
-994
-995
-996
-997
-998
-999
-1000
-1001
-1002
-1003
-1004
-1005
-1006
-1007
-1008
-1009
-1010
-1011
-1012
-1013
-1014
-1015
-1016
-1017
-1018
-1019
-1020
-1021
-1022
-1023
-1024
-1025
-1026
-1027
-1028
-1029
-1030
-1031
-1032
-1033
-1034
-1035
-1036
-1037
-1038
-1039
-1040
-1041
-1042
-1043
-1044
-1045
-1046
-1047
-1048
-1049
-1050
-1051
-1052
-1053
-1054
-1055
-1056
-1057
-1058
-1059
-1060
-1061
-1062
-1063
-1064
-1065
-1066
-1067
-1068
-1069
-1070
-1071
-1072
-1073
-1074
-1075
-1076
-1077
-1078
-1079
-1080
-1081
-1082
-1083
-1084
-1085
-1086
-1087
-1088
-1089
-1090
-1091
-1092
-1093
-1094
-1095
-1096
-1097
-1098
-1099
-1100
-1101
-1102
-1103
-1104
-1105
-1106
-1107
-1108
-1109
-1110
-1111
-1112
-1113
-1114
-1115
-1116
-1117
-1118
-1119
-1120
-1121
-1122
-1123
-1124
-1125
-1126
-1127
-1128
-1129
-1130
-1131
-1132
-1133
-1134
-1135
-1136
-1137
-1138
-1139
-1140
-1141
-1142
-1143
-1144
-1145
-1146
-1147
-1148
-1149
-1150
-1151
-1152
-1153
-1154
-1155
-1156
-1157
-1158
-1159
-1160
-1161
-1162
-1163
-1164
-1165
-1166
-1167
-1168
-1169
-1170
-1171
-1172
-1173
-1174
-1175
-1176
-1177
-1178
-1179
-1180
-1181
-1182
-1183
-1184
-1185
-1186
-1187
-1188
-1189
-1190
-1191
-1192
-1193
-1194
-1195
-1196
-1197
-1198
-1199
-1200
-1201
-1202
-1203
-1204
-1205
-1206
-1207
-1208//! Exposes [`Client`], which allows to establish connections to a relay server.
+755
//! Exposes [`Client`], which allows to establish connections to a relay server.
//!
//! Based on tailscale/derp/derphttp/derphttp_client.go
use std::{
- collections::HashMap,
- future,
+ future::Future,
net::{IpAddr, SocketAddr},
+ pin::Pin,
sync::Arc,
- time::Duration,
+ task::{self, Poll},
};
+use anyhow::{anyhow, bail, Context, Result};
use base64::{engine::general_purpose::URL_SAFE, Engine as _};
use bytes::Bytes;
-use conn::{Conn, ConnBuilder, ConnFrameStream, ConnMessageStream, ConnWriter, ReceivedMessage};
-use futures_util::StreamExt;
+use conn::Conn;
+use futures_lite::Stream;
+use futures_util::{
+ stream::{SplitSink, SplitStream},
+ Sink, StreamExt,
+};
use hickory_resolver::TokioResolver as DnsResolver;
use http_body_util::Empty;
use hyper::{
@@ -1231,28 +783,22 @@
Request,
};
use hyper_util::rt::TokioIo;
-use iroh_base::{NodeId, PublicKey, RelayUrl, SecretKey};
-use rand::Rng;
+use iroh_base::{RelayUrl, SecretKey};
use rustls::client::Resumption;
use streams::{downcast_upgrade, MaybeTlsStream, ProxyStream};
use tokio::{
io::{AsyncRead, AsyncWrite},
net::TcpStream,
- sync::{mpsc, oneshot},
- task::JoinSet,
- time::Instant,
};
-use tokio_util::{
- codec::{FramedRead, FramedWrite},
- task::AbortOnDropHandle,
-};
-use tracing::{debug, error, event, info_span, trace, warn, Instrument, Level};
+#[cfg(any(test, feature = "test-utils"))]
+use tracing::warn;
+use tracing::{debug, error, event, info_span, trace, Instrument, Level};
use url::Url;
+pub use self::conn::{ConnSendError, ReceivedMessage, SendMessage};
use crate::{
defaults::timeouts::*,
http::{Protocol, RELAY_PATH},
- protos::relay::RelayCodec,
KeyCache,
};
@@ -1260,153 +806,14 @@
pub(crate) mod streams;
mod util;
-/// Possible connection errors on the [`Client`]
-#[derive(Debug, thiserror::Error)]
-pub enum ClientError {
- /// The client is closed
- #[error("client is closed")]
- Closed,
- /// There was an error sending a packet
- #[error("error sending a packet")]
- Send,
- /// There was an error receiving a packet
- #[error("error receiving a packet: {0:?}")]
- Receive(anyhow::Error),
- /// There was a connection timeout error
- #[error("connect timeout")]
- ConnectTimeout,
- /// There was an error dialing
- #[error("dial error")]
- DialIO(#[from] std::io::Error),
- /// Both IPv4 and IPv6 are disabled for this relay node
- #[error("both IPv4 and IPv6 are explicitly disabled for this node")]
- IPDisabled,
- /// No local addresses exist
- #[error("no local addr: {0}")]
- NoLocalAddr(String),
- /// There was http server [`hyper::Error`]
- #[error("http connection error")]
- Hyper(#[from] hyper::Error),
- /// There was an http error [`http::Error`].
- #[error("http error")]
- Http(#[from] http::Error),
- /// There was an unexpected status code
- #[error("unexpected status code: expected {0}, got {1}")]
- UnexpectedStatusCode(hyper::StatusCode, hyper::StatusCode),
- /// The connection failed to upgrade
- #[error("failed to upgrade connection: {0}")]
- Upgrade(String),
- /// The connection failed to proxy
- #[error("failed to proxy connection: {0}")]
- Proxy(String),
- /// The relay [`super::client::Client`] failed to build
- #[error("failed to build relay client: {0}")]
- Build(String),
- /// The ping request timed out
- #[error("ping timeout")]
- PingTimeout,
- /// The ping request was aborted
- #[error("ping aborted")]
- PingAborted,
- /// The given [`Url`] is invalid
- #[error("invalid url: {0}")]
- InvalidUrl(String),
- /// There was an error with DNS resolution
- #[error("dns: {0:?}")]
- Dns(Option<anyhow::Error>),
- /// The inner actor is gone, likely means things are shutdown.
- #[error("actor gone")]
- ActorGone,
- /// An error related to websockets, either errors with parsing ws messages or the handshake
- #[error("websocket error: {0}")]
- WebsocketError(#[from] tokio_tungstenite_wasm::Error),
-}
-
-/// An HTTP Relay client.
-///
-/// Cheaply clonable.
-#[derive(Clone, Debug)]
-pub struct Client {
- inner: mpsc::Sender<ActorMessage>,
- public_key: PublicKey,
- #[allow(dead_code)]
- recv_loop: Arc<AbortOnDropHandle<()>>,
-}
-
-#[derive(Debug)]
-enum ActorMessage {
- Connect(oneshot::Sender<Result<Conn, ClientError>>),
- NotePreferred(bool),
- LocalAddr(oneshot::Sender<Result<Option<SocketAddr>, ClientError>>),
- Ping(oneshot::Sender<Result<Duration, ClientError>>),
- Pong([u8; 8], oneshot::Sender<Result<(), ClientError>>),
- Send(PublicKey, Bytes, oneshot::Sender<Result<(), ClientError>>),
- Close(oneshot::Sender<Result<(), ClientError>>),
- CloseForReconnect(oneshot::Sender<Result<(), ClientError>>),
- IsConnected(oneshot::Sender<Result<bool, ClientError>>),
-}
-
-/// Receiving end of a [`Client`].
-#[derive(Debug)]
-pub struct ClientReceiver {
- msg_receiver: mpsc::Receiver<Result<ReceivedMessage, ClientError>>,
-}
-
-#[derive(derive_more::Debug)]
-struct Actor {
- secret_key: SecretKey,
- is_preferred: bool,
- relay_conn: Option<(Conn, ConnMessageStream)>,
- is_closed: bool,
- #[debug("address family selector callback")]
- address_family_selector: Option<Box<dyn Fn() -> bool + Send + Sync>>,
- url: RelayUrl,
- protocol: Protocol,
- #[debug("TlsConnector")]
- tls_connector: tokio_rustls::TlsConnector,
- pings: PingTracker,
- ping_tasks: JoinSet<()>,
- dns_resolver: DnsResolver,
- proxy_url: Option<Url>,
- key_cache: KeyCache,
-}
-
-#[derive(Default, Debug)]
-struct PingTracker(HashMap<[u8; 8], oneshot::Sender<()>>);
-
-impl PingTracker {
- /// Note that we have sent a ping, and store the [`oneshot::Sender`] we
- /// must notify when the pong returns
- fn register(&mut self) -> ([u8; 8], oneshot::Receiver<()>) {
- let data = rand::thread_rng().gen::<[u8; 8]>();
- let (send, recv) = oneshot::channel();
- self.0.insert(data, send);
- (data, recv)
- }
-
- /// Remove the associated [`oneshot::Sender`] for `data` & return it.
- ///
- /// If there is no [`oneshot::Sender`] in the tracker, return `None`.
- fn unregister(&mut self, data: [u8; 8], why: &'static str) -> Option<oneshot::Sender<()>> {
- trace!(
- "removing ping {}: {}",
- data_encoding::HEXLOWER.encode(&data),
- why
- );
- self.0.remove(&data)
- }
-}
-
/// Build a Client.
-#[derive(derive_more::Debug)]
+#[derive(derive_more::Debug, Clone)]
pub struct ClientBuilder {
/// Default is None
#[debug("address family selector callback")]
- address_family_selector: Option<Box<dyn Fn() -> bool + Send + Sync>>,
+ address_family_selector: Option<Arc<dyn Fn() -> bool + Send + Sync>>,
/// Default is false
is_prober: bool,
- /// Expected PublicKey of the server
- server_public_key: Option<PublicKey>,
/// Server url.
url: RelayUrl,
/// Relay protocol
@@ -1418,30 +825,29 @@
proxy_url: Option<Url>,
/// Capacity of the key cache
key_cache_capacity: usize,
+ /// The secret key of this client.
+ secret_key: SecretKey,
+ /// The DNS resolver to use.
+ dns_resolver: DnsResolver,
}
impl ClientBuilder {
/// Create a new [`ClientBuilder`]
- pub fn new(url: impl Into<RelayUrl>) -> Self {
+ pub fn new(url: impl Into<RelayUrl>, secret_key: SecretKey, dns_resolver: DnsResolver) -> Self {
ClientBuilder {
address_family_selector: None,
is_prober: false,
- server_public_key: None,
url: url.into(),
protocol: Protocol::Relay,
#[cfg(any(test, feature = "test-utils"))]
insecure_skip_cert_verify: false,
proxy_url: None,
key_cache_capacity: 128,
+ secret_key,
+ dns_resolver,
}
}
- /// Sets the server url
- pub fn server_url(mut self, url: impl Into<RelayUrl>) -> Self {
- self.url = url.into();
- self
- }
-
/// Sets whether to connect to the relay via websockets or not.
/// Set to use non-websocket, normal relaying by default.
pub fn protocol(mut self, protocol: Protocol) -> Self {
@@ -1459,7 +865,7 @@
where
S: Fn() -> bool + Send + Sync + 'static,
{
- self.address_family_selector = Some(Box::new(selector));
+ self.address_family_selector = Some(Arc::new(selector));
self
}
@@ -1490,10 +896,9 @@
self
}
- /// Build the [`Client`]
- pub fn build(self, key: SecretKey, dns_resolver: DnsResolver) -> (Client, ClientReceiver) {
- // TODO: review TLS config
- let roots = rustls::RootCertStore {
+ /// Establishes a new connection to the relay server.
+ pub async fn connect(&self) -> Result<Client> {
+ let roots = rustls::RootCertStore {
roots: webpki_roots::TLS_SERVER_ROOTS.to_vec(),
};
let mut config = rustls::client::ClientConfig::builder_with_provider(Arc::new(
@@ -1505,7 +910,7 @@
.with_no_client_auth();
#[cfg(any(test, feature = "test-utils"))]
if self.insecure_skip_cert_verify {
- warn!("Insecure config: SSL certificates from relay servers will be trusted without verification");
+ warn!("Insecure config: SSL certificates from relay servers not verified");
config
.dangerous()
.set_certificate_verifier(Arc::new(NoCertVerifier));
@@ -1514,45 +919,136 @@
config.resumption = Resumption::default();
let tls_connector: tokio_rustls::TlsConnector = Arc::new(config).into();
- let public_key = key.public();
- let inner = Actor {
- secret_key: key,
- is_preferred: false,
- relay_conn: None,
- is_closed: false,
- address_family_selector: self.address_family_selector,
- pings: PingTracker::default(),
- ping_tasks: Default::default(),
- url: self.url,
+ let builder = ConnectionBuilder {
+ secret_key: self.secret_key.clone(),
+ address_family_selector: self.address_family_selector.clone(),
+ url: self.url.clone(),
protocol: self.protocol,
tls_connector,
- dns_resolver,
- proxy_url: self.proxy_url,
+ dns_resolver: self.dns_resolver.clone(),
+ proxy_url: self.proxy_url.clone(),
key_cache: KeyCache::new(self.key_cache_capacity),
};
+ let (conn, local_addr) = builder.connect_0().await?;
- let (msg_sender, inbox) = mpsc::channel(64);
- let (s, r) = mpsc::channel(64);
- let recv_loop = tokio::task::spawn(
- async move { inner.run(inbox, s).await }.instrument(info_span!("client")),
- );
+ Ok(Client { conn, local_addr })
+ }
+}
+/// A relay client.
+#[derive(Debug)]
+pub struct Client {
+ conn: Conn,
+ local_addr: Option<SocketAddr>,
+}
+
+impl Client {
+ /// Splits the client into a sink and a stream.
+ pub fn split(self) -> (ClientStream, ClientSink) {
+ let (sink, stream) = self.conn.split();
(
- Client {
- public_key,
- inner: msg_sender,
- recv_loop: Arc::new(AbortOnDropHandle::new(recv_loop)),
+ ClientStream {
+ stream,
+ local_addr: self.local_addr,
},
- ClientReceiver { msg_receiver: r },
+ ClientSink { sink },
)
}
+}
- /// The expected [`PublicKey`] of the relay server we are connecting to.
- pub fn server_public_key(mut self, server_public_key: PublicKey) -> Self {
- self.server_public_key = Some(server_public_key);
- self
- }
+impl Stream for Client {
+ type Item = Result<ReceivedMessage>;
+
+ fn poll_next(mut self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll<Option<Self::Item>> {
+ Pin::new(&mut self.conn).poll_next(cx)
+ }
+}
+
+impl Sink<SendMessage> for Client {
+ type Error = ConnSendError;
+
+ fn poll_ready(
+ mut self: Pin<&mut Self>,
+ cx: &mut task::Context<'_>,
+ ) -> Poll<Result<(), Self::Error>> {
+ <Conn as Sink<SendMessage>>::poll_ready(Pin::new(&mut self.conn), cx)
+ }
+
+ fn start_send(mut self: Pin<&mut Self>, item: SendMessage) -> Result<(), Self::Error> {
+ Pin::new(&mut self.conn).start_send(item)
+ }
+
+ fn poll_flush(
+ mut self: Pin<&mut Self>,
+ cx: &mut task::Context<'_>,
+ ) -> Poll<Result<(), Self::Error>> {
+ <Conn as Sink<SendMessage>>::poll_flush(Pin::new(&mut self.conn), cx)
+ }
+
+ fn poll_close(
+ mut self: Pin<&mut Self>,
+ cx: &mut task::Context<'_>,
+ ) -> Poll<Result<(), Self::Error>> {
+ <Conn as Sink<SendMessage>>::poll_close(Pin::new(&mut self.conn), cx)
+ }
+}
+
+/// The send half of a relay client.
+#[derive(Debug)]
+pub struct ClientSink {
+ sink: SplitSink<Conn, SendMessage>,
+}
+
+impl Sink<SendMessage> for ClientSink {
+ type Error = ConnSendError;
+
+ fn poll_ready(
+ mut self: Pin<&mut Self>,
+ cx: &mut task::Context<'_>,
+ ) -> Poll<Result<(), Self::Error>> {
+ Pin::new(&mut self.sink).poll_ready(cx)
+ }
+
+ fn start_send(mut self: Pin<&mut Self>, item: SendMessage) -> Result<(), Self::Error> {
+ Pin::new(&mut self.sink).start_send(item)
+ }
+
+ fn poll_flush(
+ mut self: Pin<&mut Self>,
+ cx: &mut task::Context<'_>,
+ ) -> Poll<Result<(), Self::Error>> {
+ Pin::new(&mut self.sink).poll_flush(cx)
+ }
+
+ fn poll_close(
+ mut self: Pin<&mut Self>,
+ cx: &mut task::Context<'_>,
+ ) -> Poll<Result<(), Self::Error>> {
+ Pin::new(&mut self.sink).poll_close(cx)
+ }
+}
+
+/// The receive half of a relay client.
+#[derive(Debug)]
+pub struct ClientStream {
+ stream: SplitStream<Conn>,
+ local_addr: Option<SocketAddr>,
+}
+
+impl ClientStream {
+ /// Returns the local address of the client.
+ pub fn local_addr(&self) -> Option<SocketAddr> {
+ self.local_addr
+ }
+}
+
+impl Stream for ClientStream {
+ type Item = Result<ReceivedMessage>;
+
+ fn poll_next(mut self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll<Option<Self::Item>> {
+ Pin::new(&mut self.stream).poll_next(cx)
+ }
}
#[cfg(any(test, feature = "test-utils"))]
@@ -1573,289 +1069,72 @@
.with_no_client_auth()
}
-impl ClientReceiver {
- /// Reads a message from the server.
- pub async fn recv(&mut self) -> Option<Result<ReceivedMessage, ClientError>> {
- self.msg_receiver.recv().await
- }
+/// Some state to build a new connection.
+///
+/// Not because this necessarily the best way to structure this code, but because it was
+/// easy to migrate existing code.
+#[derive(derive_more::Debug)]
+struct ConnectionBuilder {
+ secret_key: SecretKey,
+ #[debug("address family selector callback")]
+ address_family_selector: Option<Arc<dyn Fn() -> bool + Send + Sync>>,
+ url: RelayUrl,
+ protocol: Protocol,
+ #[debug("TlsConnector")]
+ tls_connector: tokio_rustls::TlsConnector,
+ dns_resolver: DnsResolver,
+ proxy_url: Option<Url>,
+ key_cache: KeyCache,
}
-impl Client {
- /// The public key for this client
- pub fn public_key(&self) -> PublicKey {
- self.public_key
- }
-
- async fn send_actor<F, T>(&self, msg_create: F) -> Result<T, ClientError>
- where
- F: FnOnce(oneshot::Sender<Result<T, ClientError>>) -> ActorMessage,
- {
- let (s, r) = oneshot::channel();
- let msg = msg_create(s);
- match self.inner.send(msg).await {
- Ok(_) => {
- let res = r.await.map_err(|_| ClientError::ActorGone)??;
- Ok(res)
- }
- Err(_) => Err(ClientError::ActorGone),
- }
- }
-
- /// Connects to a relay Server and returns the underlying relay connection.
- ///
- /// Returns [`ClientError::Closed`] if the [`Client`] is closed.
- ///
- /// If there is already an active relay connection, returns the already
- /// connected [`crate::RelayConn`].
- pub async fn connect(&self) -> Result<Conn, ClientError> {
- self.send_actor(ActorMessage::Connect).await
- }
-
- /// Let the server know that this client is the preferred client
- pub async fn note_preferred(&self, is_preferred: bool) {
- self.inner
- .send(ActorMessage::NotePreferred(is_preferred))
- .await
- .ok();
- }
-
- /// Get the local addr of the connection. If there is no current underlying relay connection
- /// or the [`Client`] is closed, returns `None`.
- pub async fn local_addr(&self) -> Option<SocketAddr> {
- self.send_actor(ActorMessage::LocalAddr)
- .await
- .ok()
- .flatten()
- }
-
- /// Send a ping to the server. Return once we get an expected pong.
- ///
- /// This has a built-in timeout `crate::defaults::timeouts::PING_TIMEOUT`.
- ///
- /// There must be a task polling `recv_detail` to process the `pong` response.
- pub async fn ping(&self) -> Result<Duration, ClientError> {
- self.send_actor(ActorMessage::Ping).await
- }
-
- /// Send a pong back to the server.
- ///
- /// If there is no underlying active relay connection, it creates one before attempting to
- /// send the pong message.
- ///
- /// If there is an error sending pong, it closes the underlying relay connection before
- /// returning.
- pub async fn send_pong(&self, data: [u8; 8]) -> Result<(), ClientError> {
- self.send_actor(|s| ActorMessage::Pong(data, s)).await
- }
-
- /// Send a packet to the server.
- ///
- /// If there is no underlying active relay connection, it creates one before attempting to
- /// send the message.
- ///
- /// If there is an error sending the packet, it closes the underlying relay connection before
- /// returning.
- pub async fn send(&self, dst_key: PublicKey, b: Bytes) -> Result<(), ClientError> {
- self.send_actor(|s| ActorMessage::Send(dst_key, b, s)).await
- }
-
- /// Close the http relay connection.
- pub async fn close(self) -> Result<(), ClientError> {
- self.send_actor(ActorMessage::Close).await
- }
-
- /// Disconnect the http relay connection.
- pub async fn close_for_reconnect(&self) -> Result<(), ClientError> {
- self.send_actor(ActorMessage::CloseForReconnect).await
- }
-
- /// Returns `true` if the underlying relay connection is established.
- pub async fn is_connected(&self) -> Result<bool, ClientError> {
- self.send_actor(ActorMessage::IsConnected).await
- }
-}
-
-impl Actor {
- async fn run(
- mut self,
- mut inbox: mpsc::Receiver<ActorMessage>,
- msg_sender: mpsc::Sender<Result<ReceivedMessage, ClientError>>,
- ) {
- // Add an initial connection attempt.
- if let Err(err) = self.connect("initial connect").await {
- msg_sender.send(Err(err)).await.ok();
- }
-
- loop {
- tokio::select! {
- res = self.recv_detail() => {
- if let Ok(ReceivedMessage::Pong(ping)) = res {
- match self.pings.unregister(ping, "pong") {
- Some(chan) => {
- if chan.send(()).is_err() {
- warn!("pong received for ping {ping:?}, but the receiving channel was closed");
- }
- }
- None => {
- warn!("pong received for ping {ping:?}, but not registered");
- }
- }
- continue;
- }
- msg_sender.send(res).await.ok();
- }
- msg = inbox.recv() => {
- let Some(msg) = msg else {
- // Shutting down
- self.close().await;
- break;
- };
-
- match msg {
- ActorMessage::Connect(s) => {
- let res = self.connect("actor msg").await.map(|(client, _)| (client));
- s.send(res).ok();
- },
- ActorMessage::NotePreferred(is_preferred) => {
- self.note_preferred(is_preferred).await;
- },
- ActorMessage::LocalAddr(s) => {
- let res = self.local_addr();
- s.send(Ok(res)).ok();
- },
- ActorMessage::Ping(s) => {
- self.ping(s).await;
- },
- ActorMessage::Pong(data, s) => {
- let res = self.send_pong(data).await;
- s.send(res).ok();
- },
- ActorMessage::Send(key, data, s) => {
- let res = self.send(key, data).await;
- s.send(res).ok();
- },
- ActorMessage::Close(s) => {
- let res = self.close().await;
- s.send(Ok(res)).ok();
- // shutting down
- break;
- },
- ActorMessage::CloseForReconnect(s) => {
- let res = self.close_for_reconnect().await;
- s.send(Ok(res)).ok();
- },
- ActorMessage::IsConnected(s) => {
- let res = self.is_connected();
- s.send(Ok(res)).ok();
- },
- }
- }
- }
- }
- }
-
- /// Returns a connection to the relay.
- ///
- /// If the client is currently connected, the existing connection is returned; otherwise,
- /// a new connection is made.
- ///
- /// Returns:
- /// - A clonable connection object which can send DISCO messages to the relay.
- /// - A reference to a channel receiving DISCO messages from the relay.
- async fn connect(
- &mut self,
- why: &'static str,
- ) -> Result<(Conn, &'_ mut ConnMessageStream), ClientError> {
- if self.is_closed {
- return Err(ClientError::Closed);
- }
- let url = self.url.clone();
- async move {
- if self.relay_conn.is_none() {
- trace!("no connection, trying to connect");
- let (conn, receiver) = tokio::time::timeout(CONNECT_TIMEOUT, self.connect_0())
- .await
- .map_err(|_| ClientError::ConnectTimeout)??;
-
- self.relay_conn = Some((conn, receiver));
- } else {
- trace!("already had connection");
- }
- let (conn, receiver) = self
- .relay_conn
- .as_mut()
- .map(|(c, r)| (c.clone(), r))
- .expect("just checked");
-
- Ok((conn, receiver))
- }
- .instrument(info_span!("connect", %url, %why))
- .await
- }
-
- async fn connect_0(&self) -> Result<(Conn, ConnMessageStream), ClientError> {
- let (reader, writer, local_addr) = match self.protocol {
+impl ConnectionBuilder {
+ async fn connect_0(&self) -> Result<(Conn, Option<SocketAddr>)> {
+ let (conn, local_addr) = match self.protocol {
Protocol::Websocket => {
- let (reader, writer) = self.connect_ws().await?;
+ let conn = self.connect_ws().await?;
let local_addr = None;
- (reader, writer, local_addr)
+ (conn, local_addr)
}
Protocol::Relay => {
- let (reader, writer, local_addr) = self.connect_derp().await?;
- (reader, writer, Some(local_addr))
+ let (conn, local_addr) = self.connect_relay().await?;
+ (conn, Some(local_addr))
}
};
- let (conn, receiver) =
- ConnBuilder::new(self.secret_key.clone(), local_addr, reader, writer)
- .build()
- .await
- .map_err(|e| ClientError::Build(e.to_string()))?;
-
- if self.is_preferred && conn.note_preferred(true).await.is_err() {
- conn.close().await;
- return Err(ClientError::Send);
- }
-
event!(
target: "events.net.relay.connected",
Level::DEBUG,
- home = self.is_preferred,
url = %self.url,
+ protocol = ?self.protocol,
);
trace!("connect_0 done");
- Ok((conn, receiver))
+ Ok((conn, local_addr))
}
- async fn connect_ws(&self) -> Result<(ConnFrameStream, ConnWriter), ClientError> {
+ async fn connect_ws(&self) -> Result<Conn> {
let mut dial_url = (*self.url).clone();
dial_url.set_path(RELAY_PATH);
// The relay URL is exchanged with the http(s) scheme in tickets and similar.
// We need to use the ws:// or wss:// schemes when connecting with websockets, though.
dial_url
.set_scheme(if self.use_tls() { "wss" } else { "ws" })
- .map_err(|()| ClientError::InvalidUrl(self.url.to_string()))?;
+ .map_err(|()| anyhow!("Invalid URL"))?;
debug!(%dial_url, "Dialing relay by websocket");
- let (writer, reader) = tokio_tungstenite_wasm::connect(dial_url).await?.split();
-
- let cache = self.key_cache.clone();
-
- let reader = ConnFrameStream::Ws(reader, cache);
- let writer = ConnWriter::Ws(writer);
-
- Ok((reader, writer))
+ let conn = tokio_tungstenite_wasm::connect(dial_url).await?;
+ let conn = Conn::new_ws(conn, self.key_cache.clone(), &self.secret_key).await?;
+ Ok(conn)
}
- async fn connect_derp(&self) -> Result<(ConnFrameStream, ConnWriter, SocketAddr), ClientError> {
+ async fn connect_relay(&self) -> Result<(Conn, SocketAddr)> {
let url = self.url.clone();
let tcp_stream = self.dial_url().await?;
let local_addr = tcp_stream
.local_addr()
- .map_err(|e| ClientError::NoLocalAddr(e.to_string()))?;
+ .context("No local addr for TCP stream")?;
debug!(server_addr = ?tcp_stream.peer_addr(), %local_addr, "TCP stream connected");
@@ -1863,7 +1142,7 @@
debug!("Starting TLS handshake");
let hostname = self
.tls_servername()
- .ok_or_else(|| ClientError::InvalidUrl("No tls servername".into()))?;
+ .ok_or_else(|| anyhow!("No tls servername"))?;
let hostname = hostname.to_owned();
let tls_stream = self.tls_connector.connect(hostname, tcp_stream).await?;
debug!("tls_connector connect success");
@@ -1874,42 +1153,28 @@
};
if response.status() != hyper::StatusCode::SWITCHING_PROTOCOLS {
- error!(
- "expected status 101 SWITCHING_PROTOCOLS, got: {}",
- response.status()
- );
- return Err(ClientError::UnexpectedStatusCode(
+ bail!(
+ "Unexpected status code: expected {}, actual: {}",
hyper::StatusCode::SWITCHING_PROTOCOLS,
response.status(),
- ));
+ );
}
debug!("starting upgrade");
- let upgraded = match hyper::upgrade::on(response).await {
- Ok(upgraded) => upgraded,
- Err(err) => {
- warn!("upgrade failed: {:#}", err);
- return Err(ClientError::Hyper(err));
- }
- };
+ let upgraded = hyper::upgrade::on(response)
+ .await
+ .context("Upgrade failed")?;
debug!("connection upgraded");
- let (reader, writer) =
- downcast_upgrade(upgraded).map_err(|e| ClientError::Upgrade(e.to_string()))?;
+ let conn = downcast_upgrade(upgraded)?;
- let cache = self.key_cache.clone();
+ let conn = Conn::new_relay(conn, self.key_cache.clone(), &self.secret_key).await?;
- let reader = ConnFrameStream::Derp(FramedRead::new(reader, RelayCodec::new(cache.clone())));
- let writer = ConnWriter::Derp(FramedWrite::new(writer, RelayCodec::new(cache)));
-
- Ok((reader, writer, local_addr))
+ Ok((conn, local_addr))
}
/// Sends the HTTP upgrade request to the relay server.
- async fn start_upgrade<T>(
- io: T,
- relay_url: RelayUrl,
- ) -> Result<hyper::Response<Incoming>, ClientError>
+ async fn start_upgrade<T>(io: T, relay_url: RelayUrl) -> Result<hyper::Response<Incoming>>
where
T: AsyncRead + AsyncWrite + Send + Unpin + 'static,
{
@@ -1942,99 +1207,6 @@
request_sender.send_request(req).await.map_err(From::from)
}
- async fn note_preferred(&mut self, is_preferred: bool) {
- let old = &mut self.is_preferred;
- if *old == is_preferred {
- return;
- }
- *old = is_preferred;
-
- // only send the preference if we already have a connection
- let res = {
- if let Some((ref conn, _)) = self.relay_conn {
- conn.note_preferred(is_preferred).await
- } else {
- return;
- }
- };
- // need to do this outside the above closure because they rely on the same lock
- // if there was an error sending, close the underlying relay connection
- if res.is_err() {
- self.close_for_reconnect().await;
- }
- }
-
- fn local_addr(&self) -> Option<SocketAddr> {
- if self.is_closed {
- return None;
- }
- if let Some((ref conn, _)) = self.relay_conn {
- conn.local_addr()
- } else {
- None
- }
- }
-
- async fn ping(&mut self, s: oneshot::Sender<Result<Duration, ClientError>>) {
- let connect_res = self.connect("ping").await.map(|(c, _)| c);
- let (ping, recv) = self.pings.register();
- trace!("ping: {}", data_encoding::HEXLOWER.encode(&ping));
-
- self.ping_tasks.spawn(async move {
- let res = match connect_res {
- Ok(conn) => {
- let start = Instant::now();
- if let Err(err) = conn.send_ping(ping).await {
- warn!("failed to send ping: {:?}", err);
- Err(ClientError::Send)
- } else {
- match tokio::time::timeout(PING_TIMEOUT, recv).await {
- Ok(Ok(())) => Ok(start.elapsed()),
- Err(_) => Err(ClientError::PingTimeout),
- Ok(Err(_)) => Err(ClientError::PingAborted),
- }
- }
- }
- Err(err) => Err(err),
- };
- s.send(res).ok();
- });
- }
-
- async fn send(&mut self, remote_node: NodeId, payload: Bytes) -> Result<(), ClientError> {
- trace!(remote_node = %remote_node.fmt_short(), len = payload.len(), "send");
- let (conn, _) = self.connect("send").await?;
- if conn.send(remote_node, payload).await.is_err() {
- self.close_for_reconnect().await;
- return Err(ClientError::Send);
- }
- Ok(())
- }
-
- async fn send_pong(&mut self, data: [u8; 8]) -> Result<(), ClientError> {
- debug!("send_pong");
- let (conn, _) = self.connect("send_pong").await?;
- if conn.send_pong(data).await.is_err() {
- self.close_for_reconnect().await;
- return Err(ClientError::Send);
- }
- Ok(())
- }
-
- async fn close(mut self) {
- if !self.is_closed {
- self.is_closed = true;
- self.close_for_reconnect().await;
- }
- }
-
- fn is_connected(&self) -> bool {
- if self.is_closed {
- return false;
- }
- self.relay_conn.is_some()
- }
-
fn tls_servername(&self) -> Option<rustls::pki_types::ServerName> {
self.url
.host_str()
@@ -2051,7 +1223,7 @@
}
}
- async fn dial_url(&self) -> Result<ProxyStream, ClientError> {
+ async fn dial_url(&self) -> Result<ProxyStream> {
if let Some(ref proxy) = self.proxy_url {
let stream = self.dial_url_proxy(proxy.clone()).await?;
Ok(ProxyStream::Proxied(stream))
@@ -2061,7 +1233,7 @@
}
}
- async fn dial_url_direct(&self) -> Result<TcpStream, ClientError> {
+ async fn dial_url_direct(&self) -> Result<TcpStream> {
debug!(%self.url, "dial url");
let prefer_ipv6 = self.prefer_ipv6();
let dst_ip = self
@@ -2069,8 +1241,7 @@
.resolve_host(&self.url, prefer_ipv6)
.await?;
- let port = url_port(&self.url)
- .ok_or_else(|| ClientError::InvalidUrl("missing url port".into()))?;
+ let port = url_port(&self.url).ok_or_else(|| anyhow!("Missing URL port"))?;
let addr = SocketAddr::new(dst_ip, port);
debug!("connecting to {}", addr);
@@ -2080,9 +1251,8 @@
async move { TcpStream::connect(addr).await },
)
.await
- .map_err(|_| ClientError::ConnectTimeout)?
- .map_err(ClientError::DialIO)?;
-
+ .context("Timeout connecting")?
+ .context("Failed connecting")?;
tcp_stream.set_nodelay(true)?;
Ok(tcp_stream)
@@ -2091,7 +1261,7 @@
async fn dial_url_proxy(
&self,
proxy_url: Url,
- ) -> Result<util::Chain<std::io::Cursor<Bytes>, MaybeTlsStream>, ClientError> {
+ ) -> Result<util::Chain<std::io::Cursor<Bytes>, MaybeTlsStream>> {
debug!(%self.url, %proxy_url, "dial url via proxy");
// Resolve proxy DNS
@@ -2101,8 +1271,7 @@
.resolve_host(&proxy_url, prefer_ipv6)
.await?;
- let proxy_port = url_port(&proxy_url)
- .ok_or_else(|| ClientError::Proxy("missing proxy url port".into()))?;
+ let proxy_port = url_port(&proxy_url).ok_or_else(|| anyhow!("Missing proxy url port"))?;
let proxy_addr = SocketAddr::new(proxy_ip, proxy_port);
debug!(%proxy_addr, "connecting to proxy");
@@ -2111,8 +1280,8 @@
TcpStream::connect(proxy_addr).await
})
.await
- .map_err(|_| ClientError::ConnectTimeout)?
- .map_err(ClientError::DialIO)?;
+ .context("Timeout connecting")?
+ .context("Error connecting")?;
tcp_stream.set_nodelay(true)?;
@@ -2120,10 +1289,8 @@
let io = if proxy_url.scheme() == "http" {
MaybeTlsStream::Raw(tcp_stream)
} else {
- let hostname = proxy_url
- .host_str()
- .and_then(|s| rustls::pki_types::ServerName::try_from(s.to_string()).ok())
- .ok_or_else(|| ClientError::InvalidUrl("No tls servername for proxy url".into()))?;
+ let hostname = proxy_url.host_str().context("No hostname in proxy URL")?;
+ let hostname = rustls::pki_types::ServerName::try_from(hostname.to_string())?;
let tls_stream = self.tls_connector.connect(hostname, tcp_stream).await?;
MaybeTlsStream::Tls(tls_stream)
};
@@ -2132,10 +1299,9 @@
let target_host = self
.url
.host_str()
- .ok_or_else(|| ClientError::Proxy("missing proxy host".into()))?;
+ .ok_or_else(|| anyhow!("Missing proxy host"))?;
- let port =
- url_port(&self.url).ok_or_else(|| ClientError::Proxy("invalid target port".into()))?;
+ let port = url_port(&self.url).ok_or_else(|| anyhow!("invalid target port"))?;
// Establish Proxy Tunnel
let mut req_builder = Request::builder()
@@ -2171,15 +1337,12 @@
let res = sender.send_request(req).await?;
if !res.status().is_success() {
- return Err(ClientError::Proxy(format!(
- "failed to connect to proxy: {}",
- res.status(),
- )));
+ bail!("Failed to connect to proxy: {}", res.status());
}
let upgraded = hyper::upgrade::on(res).await?;
let Ok(Parts { io, read_buf, .. }) = upgraded.downcast::<TokioIo<MaybeTlsStream>>() else {
- return Err(ClientError::Proxy("invalid upgrade".to_string()));
+ bail!("Invalid upgrade");
};
let res = util::chain(std::io::Cursor::new(read_buf), io.into_inner());
@@ -2198,46 +1361,11 @@
None => false,
}
}
-
- async fn recv_detail(&mut self) -> Result<ReceivedMessage, ClientError> {
- if let Some((_conn, conn_message_stream)) = self.relay_conn.as_mut() {
- trace!("recv_detail tick");
- match tokio::time::timeout(CLIENT_RECV_TIMEOUT, conn_message_stream.next()).await {
- Ok(Some(Ok(msg))) => {
- return Ok(msg);
- }
- Ok(Some(Err(e))) => {
- self.close_for_reconnect().await;
- if self.is_closed {
- return Err(ClientError::Closed);
- }
- // TODO(ramfox): more specific error?
- return Err(ClientError::Receive(e));
- }
- Ok(None) | Err(_) => {
- self.close_for_reconnect().await;
- return Err(ClientError::Closed);
- }
- }
- }
- future::pending().await
- }
-
- /// Close the underlying relay connection. The next time the client takes some action that
- /// requires a connection, it will call `connect`.
- async fn close_for_reconnect(&mut self) {
- debug!("close for reconnect");
- if let Some((conn, _)) = self.relay_conn.take() {
- conn.close().await
- }
- }
}
-fn host_header_value(relay_url: RelayUrl) -> Result<String, ClientError> {
+fn host_header_value(relay_url: RelayUrl) -> Result<String> {
// grab the host, turns e.g. https://example.com:8080/xyz -> example.com.
- let relay_url_host = relay_url
- .host_str()
- .ok_or_else(|| ClientError::InvalidUrl(relay_url.to_string()))?;
+ let relay_url_host = relay_url.host_str().context("Invalid URL")?;
// strip the trailing dot, if present: example.com. -> example.com
let relay_url_host = relay_url_host.strip_suffix('.').unwrap_or(relay_url_host);
// build the host header value (reserve up to 6 chars for the ":" and port digits):
@@ -2254,56 +1382,42 @@
fn lookup_ipv4<N: hickory_resolver::IntoName>(
&self,
host: N,
- ) -> impl future::Future<Output = anyhow::Result<Option<IpAddr>>>;
+ ) -> impl Future<Output = Result<Option<IpAddr>>>;
fn lookup_ipv6<N: hickory_resolver::IntoName>(
&self,
host: N,
- ) -> impl future::Future<Output = anyhow::Result<Option<IpAddr>>>;
+ ) -> impl Future<Output = Result<Option<IpAddr>>>;
- fn resolve_host(
- &self,
- url: &Url,
- prefer_ipv6: bool,
- ) -> impl future::Future<Output = Result<IpAddr, ClientError>>;
+ fn resolve_host(&self, url: &Url, prefer_ipv6: bool) -> impl Future<Output = Result<IpAddr>>;
}
impl DnsExt for DnsResolver {
- async fn lookup_ipv4<N: hickory_resolver::IntoName>(
- &self,
- host: N,
- ) -> anyhow::Result<Option<IpAddr>> {
+ async fn lookup_ipv4<N: hickory_resolver::IntoName>(&self, host: N) -> Result<Option<IpAddr>> {
let addrs = tokio::time::timeout(DNS_TIMEOUT, self.ipv4_lookup(host)).await??;
Ok(addrs.into_iter().next().map(|ip| IpAddr::V4(ip.0)))
}
- async fn lookup_ipv6<N: hickory_resolver::IntoName>(
- &self,
- host: N,
- ) -> anyhow::Result<Option<IpAddr>> {
+ async fn lookup_ipv6<N: hickory_resolver::IntoName>(&self, host: N) -> Result<Option<IpAddr>> {
let addrs = tokio::time::timeout(DNS_TIMEOUT, self.ipv6_lookup(host)).await??;
Ok(addrs.into_iter().next().map(|ip| IpAddr::V6(ip.0)))
}
- async fn resolve_host(&self, url: &Url, prefer_ipv6: bool) -> Result<IpAddr, ClientError> {
- let host = url
- .host()
- .ok_or_else(|| ClientError::InvalidUrl("missing host".into()))?;
+ async fn resolve_host(&self, url: &Url, prefer_ipv6: bool) -> Result<IpAddr> {
+ let host = url.host().context("Invalid URL")?;
match host {
url::Host::Domain(domain) => {
// Need to do a DNS lookup
let lookup = tokio::join!(self.lookup_ipv4(domain), self.lookup_ipv6(domain));
let (v4, v6) = match lookup {
(Err(ipv4_err), Err(ipv6_err)) => {
- let err = anyhow::anyhow!("Ipv4: {:?}, Ipv6: {:?}", ipv4_err, ipv6_err);
- return Err(ClientError::Dns(Some(err)));
+ bail!("Ipv4: {ipv4_err:?}, Ipv6: {ipv6_err:?}");
}
(Err(_), Ok(v6)) => (None, v6),
(Ok(v4), Err(_)) => (v4, None),
(Ok(v4), Ok(v6)) => (v4, v6),
};
- if prefer_ipv6 { v6.or(v4) } else { v4.or(v6) }
- .ok_or_else(|| ClientError::Dns(None))
+ if prefer_ipv6 { v6.or(v4) } else { v4.or(v6) }.context("No response")
}
url::Host::Ipv4(ip) => Ok(IpAddr::V4(ip)),
url::Host::Ipv6(ip) => Ok(IpAddr::V6(ip)),
@@ -2369,29 +1483,9 @@
mod tests {
use std::str::FromStr;
- use anyhow::{bail, Result};
+ use anyhow::Result;
use super::*;
- use crate::dns::default_resolver;
-
- #[tokio::test]
- async fn test_recv_detail_connect_error() -> Result<()> {
- let _guard = iroh_test::logging::setup();
-
- let key = SecretKey::generate(rand::thread_rng());
- let bad_url: Url = "https://bad.url".parse().unwrap();
- let dns_resolver = default_resolver();
-
- let (_client, mut client_receiver) =
- ClientBuilder::new(bad_url).build(key.clone(), dns_resolver.clone());
-
- // ensure that the client will bubble up any connection error & not
- // just loop ad infinitum attempting to connect
- if client_receiver.recv().await.and_then(|s| s.ok()).is_some() {
- bail!("expected client with bad relay node detail to return with an error");
- }
- Ok(())
- }
#[test]
fn test_host_header_value() -> Result<()> {
diff --git a/pr/3068/docs/src/iroh_relay/client/conn.rs.html b/pr/3068/docs/src/iroh_relay/client/conn.rs.html
index e2bf3c176c..f8b9929424 100644
--- a/pr/3068/docs/src/iroh_relay/client/conn.rs.html
+++ b/pr/3068/docs/src/iroh_relay/client/conn.rs.html
@@ -362,375 +362,110 @@
361
362
363
-364
-365
-366
-367
-368
-369
-370
-371
-372
-373
-374
-375
-376
-377
-378
-379
-380
-381
-382
-383
-384
-385
-386
-387
-388
-389
-390
-391
-392
-393
-394
-395
-396
-397
-398
-399
-400
-401
-402
-403
-404
-405
-406
-407
-408
-409
-410
-411
-412
-413
-414
-415
-416
-417
-418
-419
-420
-421
-422
-423
-424
-425
-426
-427
-428
-429
-430
-431
-432
-433
-434
-435
-436
-437
-438
-439
-440
-441
-442
-443
-444
-445
-446
-447
-448
-449
-450
-451
-452
-453
-454
-455
-456
-457
-458
-459
-460
-461
-462
-463
-464
-465
-466
//! Manages client-side connections to the relay server.
+364
//! Manages client-side connections to the relay server.
//!
//! based on tailscale/derp/derp_client.go
use std::{
- net::SocketAddr,
+ io,
pin::Pin,
- sync::Arc,
task::{Context, Poll},
time::Duration,
};
-use anyhow::{bail, ensure, Result};
+use anyhow::{bail, Result};
use bytes::Bytes;
use futures_lite::Stream;
-use futures_sink::Sink;
-use futures_util::{
- stream::{SplitSink, SplitStream},
- SinkExt,
-};
+use futures_util::Sink;
use iroh_base::{NodeId, SecretKey};
-use tokio::sync::mpsc;
use tokio_tungstenite_wasm::WebSocketStream;
-use tokio_util::{
- codec::{FramedRead, FramedWrite},
- task::AbortOnDropHandle,
-};
-use tracing::{debug, info_span, trace, Instrument};
+use tokio_util::codec::Framed;
+use tracing::debug;
use super::KeyCache;
use crate::{
- client::streams::{MaybeTlsStreamReader, MaybeTlsStreamWriter},
- protos::relay::{
- write_frame, ClientInfo, Frame, RelayCodec, MAX_PACKET_SIZE, PER_CLIENT_SEND_QUEUE_DEPTH,
- PROTOCOL_VERSION,
- },
+ client::streams::MaybeTlsStreamChained,
+ protos::relay::{ClientInfo, Frame, RelayCodec, MAX_PACKET_SIZE, PROTOCOL_VERSION},
};
-/// The Builder returns a [`Conn`] and a [`ConnMessageStream`] and
-/// runs a [`ConnWriterTasks`] in the background.
-pub struct ConnBuilder {
- secret_key: SecretKey,
- reader: ConnFrameStream,
- writer: ConnWriter,
- local_addr: Option<SocketAddr>,
-}
-
-impl ConnBuilder {
- pub fn new(
- secret_key: SecretKey,
- local_addr: Option<SocketAddr>,
- reader: ConnFrameStream,
- writer: ConnWriter,
- ) -> Self {
- Self {
- secret_key,
- reader,
- writer,
- local_addr,
- }
- }
-
- async fn server_handshake(&mut self) -> Result<()> {
- debug!("server_handshake: started");
- let client_info = ClientInfo {
- version: PROTOCOL_VERSION,
- };
- debug!("server_handshake: sending client_key: {:?}", &client_info);
- crate::protos::relay::send_client_key(&mut self.writer, &self.secret_key, &client_info)
- .await?;
-
- debug!("server_handshake: done");
- Ok(())
- }
-
- pub async fn build(mut self) -> Result<(Conn, ConnMessageStream)> {
- // exchange information with the server
- self.server_handshake().await?;
-
- // create task to handle writing to the server
- let (writer_sender, writer_recv) = mpsc::channel(PER_CLIENT_SEND_QUEUE_DEPTH);
- let writer_task = tokio::task::spawn(
- ConnWriterTasks {
- writer: self.writer,
- recv_msgs: writer_recv,
- }
- .run()
- .instrument(info_span!("conn.writer")),
- );
-
- let conn = Conn {
- inner: Arc::new(ConnTasks {
- local_addr: self.local_addr,
- writer_channel: writer_sender,
- writer_task: AbortOnDropHandle::new(writer_task),
- }),
- };
- let stream = ConnMessageStream { inner: self.reader };
- Ok((conn, stream))
- }
+/// Error for sending messages to the relay server.
+#[derive(Debug, thiserror::Error)]
+pub enum ConnSendError {
+ /// An IO error.
+ #[error("IO error")]
+ Io(#[from] io::Error),
+ /// A protocol error.
+ #[error("Protocol error")]
+ Protocol(&'static str),
}
/// A connection to a relay server.
///
-/// Cheaply clonable.
-/// Call `close` to shut down the write loop and read functionality.
-#[derive(Debug, Clone)]
-pub struct Conn {
- inner: Arc<ConnTasks>,
-}
-
-impl PartialEq for Conn {
- fn eq(&self, other: &Self) -> bool {
- Arc::ptr_eq(&self.inner, &other.inner)
- }
-}
-
-impl Eq for Conn {}
-
-#[derive(derive_more::Debug)]
-pub struct ConnTasks {
- /// Our local address, if known.
- ///
- /// Is `None` in tests or when using websockets (because we don't control connection
- /// establishment in browsers).
- local_addr: Option<SocketAddr>,
- /// Channel on which to communicate to the server.
- ///
- /// The associated [`mpsc::Receiver`] will close if there is ever an error writing to
- /// the server.
- writer_channel: mpsc::Sender<ConnWriterMessage>,
- /// JoinHandle for the [`ConnWriter`] task
- writer_task: AbortOnDropHandle<Result<()>>,
+/// This holds a connection to a relay server. It is:
+///
+/// - A [`Stream`] for [`ReceivedMessage`] to receive from the server.
+/// - A [`Sink`] for [`SendMessage`] to send to the server.
+/// - A [`Sink`] for [`Frame`] to send to the server.
+///
+/// The [`Frame`] sink is a more internal interface, it allows performing the handshake.
+/// The [`SendMessage`] and [`ReceivedMessage`] are safer wrappers enforcing some protocol
+/// invariants.
+#[derive(derive_more::Debug)]
+pub(crate) enum Conn {
+ Relay {
+ #[debug("Framed<MaybeTlsStreamChained, RelayCodec>")]
+ conn: Framed<MaybeTlsStreamChained, RelayCodec>,
+ },
+ Ws {
+ #[debug("WebSocketStream")]
+ conn: WebSocketStream,
+ key_cache: KeyCache,
+ },
}
impl Conn {
- /// Sends a packet to the node identified by `dstkey`
- ///
- /// Errors if the packet is larger than [`MAX_PACKET_SIZE`]
- pub async fn send(&self, dst: NodeId, packet: Bytes) -> Result<()> {
- trace!(dst = dst.fmt_short(), len = packet.len(), "[RELAY] send");
+ /// Constructs a new websocket connection, including the initial server handshake.
+ pub(crate) async fn new_ws(
+ conn: WebSocketStream,
+ key_cache: KeyCache,
+ secret_key: &SecretKey,
+ ) -> Result<Self> {
+ let mut conn = Self::Ws { conn, key_cache };
- self.inner
- .writer_channel
- .send(ConnWriterMessage::Packet((dst, packet)))
- .await?;
- Ok(())
+ // exchange information with the server
+ server_handshake(&mut conn, secret_key).await?;
+
+ Ok(conn)
}
- /// Send a ping with 8 bytes of random data.
- pub async fn send_ping(&self, data: [u8; 8]) -> Result<()> {
- self.inner
- .writer_channel
- .send(ConnWriterMessage::Ping(data))
- .await?;
- Ok(())
- }
+ /// Constructs a new websocket connection, including the initial server handshake.
+ pub(crate) async fn new_relay(
+ conn: MaybeTlsStreamChained,
+ key_cache: KeyCache,
+ secret_key: &SecretKey,
+ ) -> Result<Self> {
+ let conn = Framed::new(conn, RelayCodec::new(key_cache));
- /// Respond to a ping request. The `data` field should be filled
- /// by the 8 bytes of random data send by the ping.
- pub async fn send_pong(&self, data: [u8; 8]) -> Result<()> {
- self.inner
- .writer_channel
- .send(ConnWriterMessage::Pong(data))
- .await?;
- Ok(())
- }
+ let mut conn = Self::Relay { conn };
- /// Sends a packet that tells the server whether this
- /// connection is to the user's preferred server. This is only
- /// used in the server for stats.
- pub async fn note_preferred(&self, preferred: bool) -> Result<()> {
- self.inner
- .writer_channel
- .send(ConnWriterMessage::NotePreferred(preferred))
- .await?;
- Ok(())
- }
+ // exchange information with the server
+ server_handshake(&mut conn, secret_key).await?;
- /// The local address that the [`Conn`] is listening on.
- ///
- /// `None`, when run in a testing environment or when using websockets.
- pub fn local_addr(&self) -> Option<SocketAddr> {
- self.inner.local_addr
- }
-
- /// Whether or not this [`Conn`] is closed.
- ///
- /// The [`Conn`] is considered closed if the write side of the connection is no longer running.
- pub fn is_closed(&self) -> bool {
- self.inner.writer_task.is_finished()
- }
-
- /// Close the connection
- ///
- /// Shuts down the write loop directly and marks the connection as closed. The [`Conn`] will
- /// check if the it is closed before attempting to read from it.
- pub async fn close(&self) {
- if self.inner.writer_task.is_finished() {
- return;
- }
-
- self.inner
- .writer_channel
- .send(ConnWriterMessage::Shutdown)
- .await
- .ok();
+ Ok(conn)
}
}
-/// The kinds of messages we can send to the [`Server`](crate::server::Server)
-#[derive(Debug)]
-enum ConnWriterMessage {
- /// Send a packet (addressed to the [`NodeId`]) to the server
- Packet((NodeId, Bytes)),
- /// Send a pong to the server
- Pong([u8; 8]),
- /// Send a ping to the server
- Ping([u8; 8]),
- /// Tell the server whether or not this client is the user's preferred client
- NotePreferred(bool),
- /// Shutdown the writer
- Shutdown,
-}
+/// Sends the server handshake message.
+async fn server_handshake(writer: &mut Conn, secret_key: &SecretKey) -> Result<()> {
+ debug!("server_handshake: started");
+ let client_info = ClientInfo {
+ version: PROTOCOL_VERSION,
+ };
+ debug!("server_handshake: sending client_key: {:?}", &client_info);
+ crate::protos::relay::send_client_key(&mut *writer, secret_key, &client_info).await?;
-/// Call [`ConnWriterTasks::run`] to listen for messages to send to the connection.
-/// Should be used by the [`Conn`]
-///
-/// Shutsdown when you send a [`ConnWriterMessage::Shutdown`], or if there is an error writing to
-/// the server.
-struct ConnWriterTasks {
- recv_msgs: mpsc::Receiver<ConnWriterMessage>,
- writer: ConnWriter,
-}
-
-impl ConnWriterTasks {
- async fn run(mut self) -> Result<()> {
- while let Some(msg) = self.recv_msgs.recv().await {
- match msg {
- ConnWriterMessage::Packet((key, bytes)) => {
- send_packet(&mut self.writer, key, bytes).await?;
- }
- ConnWriterMessage::Pong(data) => {
- write_frame(&mut self.writer, Frame::Pong { data }, None).await?;
- self.writer.flush().await?;
- }
- ConnWriterMessage::Ping(data) => {
- write_frame(&mut self.writer, Frame::Ping { data }, None).await?;
- self.writer.flush().await?;
- }
- ConnWriterMessage::NotePreferred(preferred) => {
- write_frame(&mut self.writer, Frame::NotePreferred { preferred }, None).await?;
- self.writer.flush().await?;
- }
- ConnWriterMessage::Shutdown => {
- return Ok(());
- }
- }
- }
-
- bail!("channel unexpectedly closed");
- }
-}
-
-pub(crate) enum ConnFrameStream {
- Derp(FramedRead<MaybeTlsStreamReader, RelayCodec>),
- Ws(SplitStream<WebSocketStream>, KeyCache),
+ debug!("server_handshake: done");
+ Ok(())
}
fn tung_wasm_to_io_err(e: tokio_tungstenite_wasm::Error) -> std::io::Error {
@@ -740,15 +475,28 @@
}
}
-impl Stream for ConnFrameStream {
- type Item = Result<Frame>;
+impl Stream for Conn {
+ type Item = Result<ReceivedMessage>;
fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> {
match *self {
- Self::Derp(ref mut ws) => Pin::new(ws).poll_next(cx),
- Self::Ws(ref mut ws, ref cache) => match Pin::new(ws).poll_next(cx) {
+ Self::Relay { ref mut conn } => match Pin::new(conn).poll_next(cx) {
+ Poll::Pending => Poll::Pending,
+ Poll::Ready(Some(Ok(frame))) => {
+ let message = ReceivedMessage::try_from(frame);
+ Poll::Ready(Some(message))
+ }
+ Poll::Ready(Some(Err(err))) => Poll::Ready(Some(Err(err))),
+ Poll::Ready(None) => Poll::Ready(None),
+ },
+ Self::Ws {
+ ref mut conn,
+ ref key_cache,
+ } => match Pin::new(conn).poll_next(cx) {
Poll::Ready(Some(Ok(tokio_tungstenite_wasm::Message::Binary(vec)))) => {
- Poll::Ready(Some(Frame::decode_from_ws_msg(vec, cache)))
+ let frame = Frame::decode_from_ws_msg(vec, key_cache);
+ let message = frame.and_then(ReceivedMessage::try_from);
+ Poll::Ready(Some(message))
}
Poll::Ready(Some(Ok(msg))) => {
tracing::warn!(?msg, "Got websocket message of unsupported type, skipping.");
@@ -762,101 +510,105 @@
}
}
-#[derive(derive_more::Debug)]
-#[debug("ConnMessageStream")]
-pub(crate) struct ConnMessageStream {
- inner: ConnFrameStream,
-}
-
-impl Stream for ConnMessageStream {
- type Item = Result<ReceivedMessage>;
-
- fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> {
- match Pin::new(&mut self.inner).poll_next(cx) {
- Poll::Ready(Some(item)) => {
- let item = item.and_then(process_incoming_frame);
- Poll::Ready(Some(item))
- }
- Poll::Ready(None) => Poll::Ready(None),
- Poll::Pending => Poll::Pending,
- }
- }
-}
-
-fn process_incoming_frame(frame: Frame) -> Result<ReceivedMessage> {
- match frame {
- Frame::KeepAlive => {
- // A one-way keep-alive message that doesn't require an ack.
- // This predated FrameType::Ping/FrameType::Pong.
- Ok(ReceivedMessage::KeepAlive)
- }
- Frame::NodeGone { node_id } => Ok(ReceivedMessage::NodeGone(node_id)),
- Frame::RecvPacket { src_key, content } => {
- let packet = ReceivedMessage::ReceivedPacket {
- remote_node_id: src_key,
- data: content,
- };
- Ok(packet)
- }
- Frame::Ping { data } => Ok(ReceivedMessage::Ping(data)),
- Frame::Pong { data } => Ok(ReceivedMessage::Pong(data)),
- Frame::Health { problem } => {
- let problem = std::str::from_utf8(&problem)?.to_owned();
- let problem = Some(problem);
- Ok(ReceivedMessage::Health { problem })
- }
- Frame::Restarting {
- reconnect_in,
- try_for,
- } => {
- let reconnect_in = Duration::from_millis(reconnect_in as u64);
- let try_for = Duration::from_millis(try_for as u64);
- Ok(ReceivedMessage::ServerRestarting {
- reconnect_in,
- try_for,
- })
- }
- _ => bail!("unexpected packet: {:?}", frame.typ()),
- }
-}
-
-pub(crate) enum ConnWriter {
- Derp(FramedWrite<MaybeTlsStreamWriter, RelayCodec>),
- Ws(SplitSink<WebSocketStream, tokio_tungstenite_wasm::Message>),
-}
-
-impl Sink<Frame> for ConnWriter {
- type Error = std::io::Error;
+impl Sink<Frame> for Conn {
+ type Error = ConnSendError;
fn poll_ready(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
match *self {
- Self::Derp(ref mut ws) => Pin::new(ws).poll_ready(cx),
- Self::Ws(ref mut ws) => Pin::new(ws).poll_ready(cx).map_err(tung_wasm_to_io_err),
+ Self::Relay { ref mut conn } => Pin::new(conn).poll_ready(cx).map_err(Into::into),
+ Self::Ws { ref mut conn, .. } => Pin::new(conn)
+ .poll_ready(cx)
+ .map_err(tung_wasm_to_io_err)
+ .map_err(Into::into),
}
}
- fn start_send(mut self: Pin<&mut Self>, item: Frame) -> Result<(), Self::Error> {
+ fn start_send(mut self: Pin<&mut Self>, frame: Frame) -> Result<(), Self::Error> {
+ if let Frame::SendPacket { dst_key: _, packet } = &frame {
+ if packet.len() > MAX_PACKET_SIZE {
+ return Err(ConnSendError::Protocol("Packet exceeds MAX_PACKET_SIZE"));
+ }
+ }
match *self {
- Self::Derp(ref mut ws) => Pin::new(ws).start_send(item),
- Self::Ws(ref mut ws) => Pin::new(ws)
+ Self::Relay { ref mut conn } => Pin::new(conn).start_send(frame).map_err(Into::into),
+ Self::Ws { ref mut conn, .. } => Pin::new(conn)
.start_send(tokio_tungstenite_wasm::Message::binary(
- item.encode_for_ws_msg(),
+ frame.encode_for_ws_msg(),
))
- .map_err(tung_wasm_to_io_err),
+ .map_err(tung_wasm_to_io_err)
+ .map_err(Into::into),
}
}
fn poll_flush(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
match *self {
- Self::Derp(ref mut ws) => Pin::new(ws).poll_flush(cx),
- Self::Ws(ref mut ws) => Pin::new(ws).poll_flush(cx).map_err(tung_wasm_to_io_err),
+ Self::Relay { ref mut conn } => Pin::new(conn).poll_flush(cx).map_err(Into::into),
+ Self::Ws { ref mut conn, .. } => Pin::new(conn)
+ .poll_flush(cx)
+ .map_err(tung_wasm_to_io_err)
+ .map_err(Into::into),
}
}
fn poll_close(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
match *self {
- Self::Derp(ref mut ws) => Pin::new(ws).poll_close(cx),
- Self::Ws(ref mut ws) => Pin::new(ws).poll_close(cx).map_err(tung_wasm_to_io_err),
+ Self::Relay { ref mut conn } => Pin::new(conn).poll_close(cx).map_err(Into::into),
+ Self::Ws { ref mut conn, .. } => Pin::new(conn)
+ .poll_close(cx)
+ .map_err(tung_wasm_to_io_err)
+ .map_err(Into::into),
+ }
+ }
+}
+
+impl Sink<SendMessage> for Conn {
+ type Error = ConnSendError;
+
+ fn poll_ready(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
+ match *self {
+ Self::Relay { ref mut conn } => Pin::new(conn).poll_ready(cx).map_err(Into::into),
+ Self::Ws { ref mut conn, .. } => Pin::new(conn)
+ .poll_ready(cx)
+ .map_err(tung_wasm_to_io_err)
+ .map_err(Into::into),
+ }
+ }
+
+ fn start_send(mut self: Pin<&mut Self>, item: SendMessage) -> Result<(), Self::Error> {
+ if let SendMessage::SendPacket(_, bytes) = &item {
+ if bytes.len() > MAX_PACKET_SIZE {
+ return Err(ConnSendError::Protocol("Packet exceeds MAX_PACKET_SIZE"));
+ }
+ }
+ let frame = Frame::from(item);
+ match *self {
+ Self::Relay { ref mut conn } => Pin::new(conn).start_send(frame).map_err(Into::into),
+ Self::Ws { ref mut conn, .. } => Pin::new(conn)
+ .start_send(tokio_tungstenite_wasm::Message::binary(
+ frame.encode_for_ws_msg(),
+ ))
+ .map_err(tung_wasm_to_io_err)
+ .map_err(Into::into),
+ }
+ }
+
+ fn poll_flush(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
+ match *self {
+ Self::Relay { ref mut conn } => Pin::new(conn).poll_flush(cx).map_err(Into::into),
+ Self::Ws { ref mut conn, .. } => Pin::new(conn)
+ .poll_flush(cx)
+ .map_err(tung_wasm_to_io_err)
+ .map_err(Into::into),
+ }
+ }
+
+ fn poll_close(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
+ match *self {
+ Self::Relay { ref mut conn } => Pin::new(conn).poll_close(cx).map_err(Into::into),
+ Self::Ws { ref mut conn, .. } => Pin::new(conn)
+ .poll_close(cx)
+ .map_err(tung_wasm_to_io_err)
+ .map_err(Into::into),
}
}
}
@@ -910,24 +662,68 @@
},
}
-pub(crate) async fn send_packet<S: Sink<Frame, Error = std::io::Error> + Unpin>(
- mut writer: S,
- dst: NodeId,
- packet: Bytes,
-) -> Result<()> {
- ensure!(
- packet.len() <= MAX_PACKET_SIZE,
- "packet too big: {}",
- packet.len()
- );
+impl TryFrom<Frame> for ReceivedMessage {
+ type Error = anyhow::Error;
- let frame = Frame::SendPacket {
- dst_key: dst,
- packet,
- };
- writer.send(frame).await?;
- writer.flush().await?;
+ fn try_from(frame: Frame) -> std::result::Result<Self, Self::Error> {
+ match frame {
+ Frame::KeepAlive => {
+ // A one-way keep-alive message that doesn't require an ack.
+ // This predated FrameType::Ping/FrameType::Pong.
+ Ok(ReceivedMessage::KeepAlive)
+ }
+ Frame::NodeGone { node_id } => Ok(ReceivedMessage::NodeGone(node_id)),
+ Frame::RecvPacket { src_key, content } => {
+ let packet = ReceivedMessage::ReceivedPacket {
+ remote_node_id: src_key,
+ data: content,
+ };
+ Ok(packet)
+ }
+ Frame::Ping { data } => Ok(ReceivedMessage::Ping(data)),
+ Frame::Pong { data } => Ok(ReceivedMessage::Pong(data)),
+ Frame::Health { problem } => {
+ let problem = std::str::from_utf8(&problem)?.to_owned();
+ let problem = Some(problem);
+ Ok(ReceivedMessage::Health { problem })
+ }
+ Frame::Restarting {
+ reconnect_in,
+ try_for,
+ } => {
+ let reconnect_in = Duration::from_millis(reconnect_in as u64);
+ let try_for = Duration::from_millis(try_for as u64);
+ Ok(ReceivedMessage::ServerRestarting {
+ reconnect_in,
+ try_for,
+ })
+ }
+ _ => bail!("unexpected packet: {:?}", frame.typ()),
+ }
+ }
+}
- Ok(())
+/// Messages we can send to a relay server.
+#[derive(Debug)]
+pub enum SendMessage {
+ /// Send a packet of data to the [`NodeId`].
+ SendPacket(NodeId, Bytes),
+ /// Mark or unmark the connected relay as the home relay.
+ NotePreferred(bool),
+ /// Sends a ping message to the connected relay server.
+ Ping([u8; 8]),
+ /// Sends a pong message to the connected relay server.
+ Pong([u8; 8]),
+}
+
+impl From<SendMessage> for Frame {
+ fn from(source: SendMessage) -> Self {
+ match source {
+ SendMessage::SendPacket(dst_key, packet) => Frame::SendPacket { dst_key, packet },
+ SendMessage::NotePreferred(preferred) => Frame::NotePreferred { preferred },
+ SendMessage::Ping(data) => Frame::Ping { data },
+ SendMessage::Pong(data) => Frame::Pong { data },
+ }
+ }
}
\ No newline at end of file
diff --git a/pr/3068/docs/src/iroh_relay/client/streams.rs.html b/pr/3068/docs/src/iroh_relay/client/streams.rs.html
index e51205c5a6..ceccbd7bce 100644
--- a/pr/3068/docs/src/iroh_relay/client/streams.rs.html
+++ b/pr/3068/docs/src/iroh_relay/client/streams.rs.html
@@ -270,27 +270,7 @@
269
270
271
-272
-273
-274
-275
-276
-277
-278
-279
-280
-281
-282
-283
-284
-285
-286
-287
-288
-289
-290
-291
-292
use std::{
+272
use std::{
net::SocketAddr,
pin::Pin,
task::{Context, Poll},
@@ -307,19 +287,14 @@
use super::util;
-pub enum MaybeTlsStreamReader {
- Raw(util::Chain<std::io::Cursor<Bytes>, tokio::io::ReadHalf<ProxyStream>>),
- Tls(
- util::Chain<
- std::io::Cursor<Bytes>,
- tokio::io::ReadHalf<tokio_rustls::client::TlsStream<ProxyStream>>,
- >,
- ),
+pub enum MaybeTlsStreamChained {
+ Raw(util::Chain<std::io::Cursor<Bytes>, ProxyStream>),
+ Tls(util::Chain<std::io::Cursor<Bytes>, tokio_rustls::client::TlsStream<ProxyStream>>),
#[cfg(all(test, feature = "server"))]
- Mem(tokio::io::ReadHalf<tokio::io::DuplexStream>),
+ Mem(tokio::io::DuplexStream),
}
-impl AsyncRead for MaybeTlsStreamReader {
+impl AsyncRead for MaybeTlsStreamChained {
fn poll_read(
mut self: Pin<&mut Self>,
cx: &mut Context<'_>,
@@ -334,22 +309,15 @@
}
}
-pub enum MaybeTlsStreamWriter {
- Raw(tokio::io::WriteHalf<ProxyStream>),
- Tls(tokio::io::WriteHalf<tokio_rustls::client::TlsStream<ProxyStream>>),
- #[cfg(all(test, feature = "server"))]
- Mem(tokio::io::WriteHalf<tokio::io::DuplexStream>),
-}
-
-impl AsyncWrite for MaybeTlsStreamWriter {
+impl AsyncWrite for MaybeTlsStreamChained {
fn poll_write(
mut self: Pin<&mut Self>,
cx: &mut Context<'_>,
buf: &[u8],
) -> Poll<Result<usize, std::io::Error>> {
match &mut *self {
- Self::Raw(stream) => Pin::new(stream).poll_write(cx, buf),
- Self::Tls(stream) => Pin::new(stream).poll_write(cx, buf),
+ Self::Raw(stream) => Pin::new(stream.get_mut().1).poll_write(cx, buf),
+ Self::Tls(stream) => Pin::new(stream.get_mut().1).poll_write(cx, buf),
#[cfg(all(test, feature = "server"))]
Self::Mem(stream) => Pin::new(stream).poll_write(cx, buf),
}
@@ -360,8 +328,8 @@
cx: &mut Context<'_>,
) -> Poll<Result<(), std::io::Error>> {
match &mut *self {
- Self::Raw(stream) => Pin::new(stream).poll_flush(cx),
- Self::Tls(stream) => Pin::new(stream).poll_flush(cx),
+ Self::Raw(stream) => Pin::new(stream.get_mut().1).poll_flush(cx),
+ Self::Tls(stream) => Pin::new(stream.get_mut().1).poll_flush(cx),
#[cfg(all(test, feature = "server"))]
Self::Mem(stream) => Pin::new(stream).poll_flush(cx),
}
@@ -372,8 +340,8 @@
cx: &mut Context<'_>,
) -> Poll<Result<(), std::io::Error>> {
match &mut *self {
- Self::Raw(stream) => Pin::new(stream).poll_shutdown(cx),
- Self::Tls(stream) => Pin::new(stream).poll_shutdown(cx),
+ Self::Raw(stream) => Pin::new(stream.get_mut().1).poll_shutdown(cx),
+ Self::Tls(stream) => Pin::new(stream.get_mut().1).poll_shutdown(cx),
#[cfg(all(test, feature = "server"))]
Self::Mem(stream) => Pin::new(stream).poll_shutdown(cx),
}
@@ -385,41 +353,31 @@
bufs: &[std::io::IoSlice<'_>],
) -> Poll<Result<usize, std::io::Error>> {
match &mut *self {
- Self::Raw(stream) => Pin::new(stream).poll_write_vectored(cx, bufs),
- Self::Tls(stream) => Pin::new(stream).poll_write_vectored(cx, bufs),
+ Self::Raw(stream) => Pin::new(stream.get_mut().1).poll_write_vectored(cx, bufs),
+ Self::Tls(stream) => Pin::new(stream.get_mut().1).poll_write_vectored(cx, bufs),
#[cfg(all(test, feature = "server"))]
Self::Mem(stream) => Pin::new(stream).poll_write_vectored(cx, bufs),
}
}
}
-pub fn downcast_upgrade(
- upgraded: Upgraded,
-) -> Result<(MaybeTlsStreamReader, MaybeTlsStreamWriter)> {
+pub fn downcast_upgrade(upgraded: Upgraded) -> Result<MaybeTlsStreamChained> {
match upgraded.downcast::<TokioIo<ProxyStream>>() {
Ok(Parts { read_buf, io, .. }) => {
- let inner = io.into_inner();
- let (reader, writer) = tokio::io::split(inner);
+ let conn = io.into_inner();
// Prepend data to the reader to avoid data loss
- let reader = util::chain(std::io::Cursor::new(read_buf), reader);
- Ok((
- MaybeTlsStreamReader::Raw(reader),
- MaybeTlsStreamWriter::Raw(writer),
- ))
+ let conn = util::chain(std::io::Cursor::new(read_buf), conn);
+ Ok(MaybeTlsStreamChained::Raw(conn))
}
Err(upgraded) => {
if let Ok(Parts { read_buf, io, .. }) =
upgraded.downcast::<TokioIo<tokio_rustls::client::TlsStream<ProxyStream>>>()
{
- let inner = io.into_inner();
- let (reader, writer) = tokio::io::split(inner);
- // Prepend data to the reader to avoid data loss
- let reader = util::chain(std::io::Cursor::new(read_buf), reader);
+ let conn = io.into_inner();
- return Ok((
- MaybeTlsStreamReader::Tls(reader),
- MaybeTlsStreamWriter::Tls(writer),
- ));
+ // Prepend data to the reader to avoid data loss
+ let conn = util::chain(std::io::Cursor::new(read_buf), conn);
+ return Ok(MaybeTlsStreamChained::Tls(conn));
}
bail!(
@@ -429,7 +387,8 @@
}
}
-pub enum ProxyStream {
+#[derive(Debug)]
+pub enum ProxyStream {
Raw(TcpStream),
Proxied(util::Chain<std::io::Cursor<Bytes>, MaybeTlsStream>),
}
@@ -506,7 +465,8 @@
}
}
-pub enum MaybeTlsStream {
+#[derive(Debug)]
+pub enum MaybeTlsStream {
Raw(TcpStream),
Tls(tokio_rustls::client::TlsStream<TcpStream>),
}
diff --git a/pr/3068/docs/src/iroh_relay/defaults.rs.html b/pr/3068/docs/src/iroh_relay/defaults.rs.html
index f13421c302..a7a4fd9c40 100644
--- a/pr/3068/docs/src/iroh_relay/defaults.rs.html
+++ b/pr/3068/docs/src/iroh_relay/defaults.rs.html
@@ -41,17 +41,7 @@
40
41
42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
//! Default values used in the relay.
+43
//! Default values used in the relay.
/// The default STUN port used by the Relay server.
///
@@ -87,19 +77,9 @@
/// Timeout used by the relay client while connecting to the relay server,
/// using `TcpStream::connect`
pub(crate) const DIAL_NODE_TIMEOUT: Duration = Duration::from_millis(1500);
- /// Timeout for expecting a pong from the relay server
- pub(crate) const PING_TIMEOUT: Duration = Duration::from_secs(5);
- /// Timeout for the entire relay connection, which includes dns, dialing
- /// the server, upgrading the connection, and completing the handshake
- pub(crate) const CONNECT_TIMEOUT: Duration = Duration::from_secs(10);
/// Timeout for our async dns resolver
pub(crate) const DNS_TIMEOUT: Duration = Duration::from_secs(1);
- /// Maximum time the client will wait to receive on the connection, since
- /// the last message. Longer than this time and the client will consider
- /// the connection dead.
- pub(crate) const CLIENT_RECV_TIMEOUT: Duration = Duration::from_secs(120);
-
/// Maximum time the server will attempt to get a successful write to the connection.
#[cfg(feature = "server")]
pub(crate) const SERVER_WRITE_TIMEOUT: Duration = Duration::from_secs(2);
diff --git a/pr/3068/docs/src/iroh_relay/lib.rs.html b/pr/3068/docs/src/iroh_relay/lib.rs.html
index 737fba2b07..9de6b4d7c9 100644
--- a/pr/3068/docs/src/iroh_relay/lib.rs.html
+++ b/pr/3068/docs/src/iroh_relay/lib.rs.html
@@ -48,14 +48,7 @@
47
48
49
-50
-51
-52
-53
-54
-55
-56
-57
//! Iroh's relay is a feature within [iroh](https://github.com/n0-computer/iroh), a peer-to-peer
+50
//! Iroh's relay is a feature within [iroh](https://github.com/n0-computer/iroh), a peer-to-peer
//! networking system designed to facilitate direct, encrypted connections between devices. Iroh
//! aims to simplify decentralized communication by automatically handling connections through
//! "relays" when direct connections aren't immediately possible. The relay server helps establish
@@ -104,12 +97,5 @@
pub use protos::relay::MAX_PACKET_SIZE;
-pub use self::{
- client::{
- conn::{Conn as RelayConn, ReceivedMessage},
- Client as HttpClient, ClientBuilder as HttpClientBuilder, ClientError as HttpClientError,
- ClientReceiver as HttpClientReceiver,
- },
- relay_map::{RelayMap, RelayNode, RelayQuicConfig},
-};
+pub use self::relay_map::{RelayMap, RelayNode, RelayQuicConfig};
\ No newline at end of file
diff --git a/pr/3068/docs/src/iroh_relay/protos/relay.rs.html b/pr/3068/docs/src/iroh_relay/protos/relay.rs.html
index 74d7fba8a1..0470994df2 100644
--- a/pr/3068/docs/src/iroh_relay/protos/relay.rs.html
+++ b/pr/3068/docs/src/iroh_relay/protos/relay.rs.html
@@ -838,7 +838,11 @@
837
838
839
-840//! This module implements the relaying protocol used by the `server` and `client`.
+840
+841
+842
+843
+844
//! This module implements the relaying protocol used by the `server` and `client`.
//!
//! Protocol flow:
//!
@@ -852,6 +856,7 @@
//! * clients sends `FrameType::SendPacket`
//! * server then sends `FrameType::RecvPacket` to recipient
+#[cfg(feature = "server")]
use std::time::Duration;
use anyhow::{bail, ensure};
@@ -865,7 +870,7 @@
use serde::{Deserialize, Serialize};
use tokio_util::codec::{Decoder, Encoder};
-use crate::KeyCache;
+use crate::{client::conn::ConnSendError, KeyCache};
/// The maximum size of a packet sent over relay.
/// (This only includes the data bytes visible to magicsock, not
@@ -886,6 +891,7 @@
#[cfg(feature = "server")]
pub(crate) const SERVER_CHANNEL_SIZE: usize = 1024 * 100;
/// The number of packets buffered for sending per client
+#[cfg(feature = "server")]
pub(crate) const PER_CLIENT_SEND_QUEUE_DEPTH: usize = 512; //32;
/// ProtocolVersion is bumped whenever there's a wire-incompatible change.
@@ -969,6 +975,7 @@
/// Ignores the timeout if `None`
///
/// Does not flush.
+#[cfg(feature = "server")]
pub(crate) async fn write_frame<S: Sink<Frame, Error = std::io::Error> + Unpin>(
mut writer: S,
frame: Frame,
@@ -987,7 +994,7 @@
/// and the client's [`ClientInfo`], sealed using the server's [`PublicKey`].
///
/// Flushes after writing.
-pub(crate) async fn send_client_key<S: Sink<Frame, Error = std::io::Error> + Unpin>(
+pub(crate) async fn send_client_key<S: Sink<Frame, Error = ConnSendError> + Unpin>(
mut writer: S,
client_secret_key: &SecretKey,
client_info: &ClientInfo,
@@ -1453,7 +1460,8 @@
async fn test_send_recv_client_key() -> anyhow::Result<()> {
let (reader, writer) = tokio::io::duplex(1024);
let mut reader = FramedRead::new(reader, RelayCodec::test());
- let mut writer = FramedWrite::new(writer, RelayCodec::test());
+ let mut writer =
+ FramedWrite::new(writer, RelayCodec::test()).sink_map_err(ConnSendError::from);
let client_key = SecretKey::generate(rand::thread_rng());
let client_info = ClientInfo {
diff --git a/pr/3068/docs/src/iroh_relay/server.rs.html b/pr/3068/docs/src/iroh_relay/server.rs.html
index 2400f3e12b..0d865bb2c2 100644
--- a/pr/3068/docs/src/iroh_relay/server.rs.html
+++ b/pr/3068/docs/src/iroh_relay/server.rs.html
@@ -1108,40 +1108,7 @@
1107
1108
1109
-1110
-1111
-1112
-1113
-1114
-1115
-1116
-1117
-1118
-1119
-1120
-1121
-1122
-1123
-1124
-1125
-1126
-1127
-1128
-1129
-1130
-1131
-1132
-1133
-1134
-1135
-1136
-1137
-1138
-1139
-1140
-1141
-1142
-1143
//! A fully-fledged iroh-relay server over HTTP or HTTPS.
+1110
//! 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
@@ -1917,12 +1884,13 @@
use std::{net::Ipv4Addr, time::Duration};
use bytes::Bytes;
+ use futures_util::SinkExt;
use http::header::UPGRADE;
- use iroh_base::SecretKey;
+ use iroh_base::{NodeId, SecretKey};
use super::*;
use crate::{
- client::{conn::ReceivedMessage, ClientBuilder},
+ client::{conn::ReceivedMessage, ClientBuilder, SendMessage},
http::{Protocol, HTTP_UPGRADE_PROTOCOL},
};
@@ -1941,6 +1909,26 @@
.await
}
+ async fn try_send_recv(
+ client_a: &mut crate::client::Client,
+ client_b: &mut crate::client::Client,
+ b_key: NodeId,
+ msg: Bytes,
+ ) -> Result<ReceivedMessage> {
+ // try resend 10 times
+ for _ in 0..10 {
+ client_a
+ .send(SendMessage::SendPacket(b_key, msg.clone()))
+ .await?;
+ let Ok(res) = tokio::time::timeout(Duration::from_millis(500), client_b.next()).await
+ else {
+ continue;
+ };
+ return res.context("stream finished")?;
+ }
+ panic!("failed to send and recv message");
+ }
+
#[tokio::test]
async fn test_no_services() {
let _guard = iroh_test::logging::setup();
@@ -2029,7 +2017,7 @@
}
#[tokio::test]
- async fn test_relay_clients_both_derp() {
+ async fn test_relay_clients_both_relay() -> Result<()> {
let _guard = iroh_test::logging::setup();
let server = spawn_local_relay().await.unwrap();
let relay_url = format!("http://{}", server.http_addr().unwrap());
@@ -2039,40 +2027,20 @@
let a_secret_key = SecretKey::generate(rand::thread_rng());
let a_key = a_secret_key.public();
let resolver = crate::dns::default_resolver().clone();
- let (client_a, mut client_a_receiver) =
- ClientBuilder::new(relay_url.clone()).build(a_secret_key, resolver);
- let connect_client = client_a.clone();
-
- // give the relay server some time to accept connections
- if let Err(err) = tokio::time::timeout(Duration::from_secs(10), async move {
- loop {
- match connect_client.connect().await {
- Ok(_) => break,
- Err(err) => {
- warn!("client unable to connect to relay server: {err:#}");
- tokio::time::sleep(Duration::from_millis(100)).await;
- }
- }
- }
- })
- .await
- {
- panic!("error connecting to relay server: {err:#}");
- }
+ let mut client_a = ClientBuilder::new(relay_url.clone(), a_secret_key, resolver.clone())
+ .connect()
+ .await?;
// set up client b
let b_secret_key = SecretKey::generate(rand::thread_rng());
let b_key = b_secret_key.public();
- let resolver = crate::dns::default_resolver().clone();
- let (client_b, mut client_b_receiver) =
- ClientBuilder::new(relay_url.clone()).build(b_secret_key, resolver);
- client_b.connect().await.unwrap();
+ let mut client_b = ClientBuilder::new(relay_url.clone(), b_secret_key, resolver.clone())
+ .connect()
+ .await?;
// send message from a to b
let msg = Bytes::from("hello, b");
- client_a.send(b_key, msg.clone()).await.unwrap();
-
- let res = client_b_receiver.recv().await.unwrap().unwrap();
+ let res = try_send_recv(&mut client_a, &mut client_b, b_key, msg.clone()).await?;
if let ReceivedMessage::ReceivedPacket {
remote_node_id,
data,
@@ -2086,9 +2054,7 @@
// send message from b to a
let msg = Bytes::from("howdy, a");
- client_b.send(a_key, msg.clone()).await.unwrap();
-
- let res = client_a_receiver.recv().await.unwrap().unwrap();
+ let res = try_send_recv(&mut client_b, &mut client_a, a_key, msg.clone()).await?;
if let ReceivedMessage::ReceivedPacket {
remote_node_id,
data,
@@ -2099,86 +2065,73 @@
} else {
panic!("client_a received unexpected message {res:?}");
}
+ Ok(())
}
#[tokio::test]
- async fn test_relay_clients_both_websockets() {
+ async fn test_relay_clients_both_websockets() -> Result<()> {
let _guard = iroh_test::logging::setup();
- let server = spawn_local_relay().await.unwrap();
+ let server = spawn_local_relay().await?;
let relay_url = format!("http://{}", server.http_addr().unwrap());
- let relay_url: RelayUrl = relay_url.parse().unwrap();
+ let relay_url: RelayUrl = relay_url.parse()?;
// set up client a
let a_secret_key = SecretKey::generate(rand::thread_rng());
let a_key = a_secret_key.public();
- let resolver = crate::dns::default_resolver().clone();
- let (client_a, mut client_a_receiver) = ClientBuilder::new(relay_url.clone())
+ let resolver = crate::dns::default_resolver();
+ info!("client a build & connect");
+ let mut client_a = ClientBuilder::new(relay_url.clone(), a_secret_key, resolver.clone())
.protocol(Protocol::Websocket)
- .build(a_secret_key, resolver);
- let connect_client = client_a.clone();
-
- // give the relay server some time to accept connections
- if let Err(err) = tokio::time::timeout(Duration::from_secs(10), async move {
- loop {
- match connect_client.connect().await {
- Ok(_) => break,
- Err(err) => {
- warn!("client unable to connect to relay server: {err:#}");
- tokio::time::sleep(Duration::from_millis(100)).await;
- }
- }
- }
- })
- .await
- {
- panic!("error connecting to relay server: {err:#}");
- }
+ .connect()
+ .await?;
// set up client b
let b_secret_key = SecretKey::generate(rand::thread_rng());
let b_key = b_secret_key.public();
- let resolver = crate::dns::default_resolver().clone();
- let (client_b, mut client_b_receiver) = ClientBuilder::new(relay_url.clone())
+ info!("client b build & connect");
+ let mut client_b = ClientBuilder::new(relay_url.clone(), b_secret_key, resolver.clone())
.protocol(Protocol::Websocket) // another websocket client
- .build(b_secret_key, resolver);
- client_b.connect().await.unwrap();
+ .connect()
+ .await?;
+
+ info!("sending a -> b");
// send message from a to b
let msg = Bytes::from("hello, b");
- client_a.send(b_key, msg.clone()).await.unwrap();
-
- let res = client_b_receiver.recv().await.unwrap().unwrap();
- if let ReceivedMessage::ReceivedPacket {
+ let res = try_send_recv(&mut client_a, &mut client_b, b_key, msg.clone()).await?;
+ let ReceivedMessage::ReceivedPacket {
remote_node_id,
data,
} = res
- {
- assert_eq!(a_key, remote_node_id);
- assert_eq!(msg, data);
- } else {
+ else {
panic!("client_b received unexpected message {res:?}");
- }
+ };
+ assert_eq!(a_key, remote_node_id);
+ assert_eq!(msg, data);
+
+ info!("sending b -> a");
// send message from b to a
let msg = Bytes::from("howdy, a");
- client_b.send(a_key, msg.clone()).await.unwrap();
+ let res = try_send_recv(&mut client_b, &mut client_a, a_key, msg.clone()).await?;
- let res = client_a_receiver.recv().await.unwrap().unwrap();
- if let ReceivedMessage::ReceivedPacket {
+ let ReceivedMessage::ReceivedPacket {
remote_node_id,
data,
} = res
- {
- assert_eq!(b_key, remote_node_id);
- assert_eq!(msg, data);
- } else {
+ else {
panic!("client_a received unexpected message {res:?}");
- }
+ };
+
+ assert_eq!(b_key, remote_node_id);
+ assert_eq!(msg, data);
+
+ Ok(())
}
#[tokio::test]
- async fn test_relay_clients_websocket_and_derp() {
+ async fn test_relay_clients_websocket_and_relay() -> Result<()> {
let _guard = iroh_test::logging::setup();
let server = spawn_local_relay().await.unwrap();
@@ -2189,41 +2142,23 @@
let a_secret_key = SecretKey::generate(rand::thread_rng());
let a_key = a_secret_key.public();
let resolver = crate::dns::default_resolver().clone();
- let (client_a, mut client_a_receiver) =
- ClientBuilder::new(relay_url.clone()).build(a_secret_key, resolver);
- let connect_client = client_a.clone();
-
- // give the relay server some time to accept connections
- if let Err(err) = tokio::time::timeout(Duration::from_secs(10), async move {
- loop {
- match connect_client.connect().await {
- Ok(_) => break,
- Err(err) => {
- warn!("client unable to connect to relay server: {err:#}");
- tokio::time::sleep(Duration::from_millis(100)).await;
- }
- }
- }
- })
- .await
- {
- panic!("error connecting to relay server: {err:#}");
- }
+ let mut client_a = ClientBuilder::new(relay_url.clone(), a_secret_key, resolver)
+ .connect()
+ .await?;
// set up client b
let b_secret_key = SecretKey::generate(rand::thread_rng());
let b_key = b_secret_key.public();
let resolver = crate::dns::default_resolver().clone();
- let (client_b, mut client_b_receiver) = ClientBuilder::new(relay_url.clone())
+ let mut client_b = ClientBuilder::new(relay_url.clone(), b_secret_key, resolver)
.protocol(Protocol::Websocket) // Use websockets
- .build(b_secret_key, resolver);
- client_b.connect().await.unwrap();
+ .connect()
+ .await?;
// send message from a to b
let msg = Bytes::from("hello, b");
- client_a.send(b_key, msg.clone()).await.unwrap();
+ let res = try_send_recv(&mut client_a, &mut client_b, b_key, msg.clone()).await?;
- let res = client_b_receiver.recv().await.unwrap().unwrap();
if let ReceivedMessage::ReceivedPacket {
remote_node_id,
data,
@@ -2237,9 +2172,7 @@
// send message from b to a
let msg = Bytes::from("howdy, a");
- client_b.send(a_key, msg.clone()).await.unwrap();
-
- let res = client_a_receiver.recv().await.unwrap().unwrap();
+ let res = try_send_recv(&mut client_b, &mut client_a, a_key, msg.clone()).await?;
if let ReceivedMessage::ReceivedPacket {
remote_node_id,
data,
@@ -2250,6 +2183,7 @@
} else {
panic!("client_a received unexpected message {res:?}");
}
+ Ok(())
}
#[tokio::test]
diff --git a/pr/3068/docs/src/iroh_relay/server/actor.rs.html b/pr/3068/docs/src/iroh_relay/server/actor.rs.html
index c43993267b..61371d7dfd 100644
--- a/pr/3068/docs/src/iroh_relay/server/actor.rs.html
+++ b/pr/3068/docs/src/iroh_relay/server/actor.rs.html
@@ -348,7 +348,12 @@
347
348
349
-350
//! The main event loop for the relay server.
+350
+351
+352
+353
+354
+355
//! The main event loop for the relay server.
//!
//! based on tailscale/derp/derp_server.go
@@ -402,7 +407,7 @@
/// Will forcefully abort the server actor loop when dropped.
/// For stopping gracefully, use [`ServerActorTask::close`].
///
-/// Responsible for managing connections to relay [`Conn`](crate::RelayConn)s, sending packets from one client to another.
+/// Responsible for managing connections to a relay, sending packets from one client to another.
#[derive(Debug)]
pub(super) struct ServerActorTask {
/// Specifies how long to wait before failing when writing to a client.
@@ -599,6 +604,7 @@
#[cfg(test)]
mod tests {
use bytes::Bytes;
+ use futures_util::SinkExt;
use iroh_base::SecretKey;
use tokio::io::DuplexStream;
use tokio_util::codec::Framed;
@@ -620,7 +626,7 @@
(
ClientConnConfig {
node_id,
- stream: RelayedStream::Derp(Framed::new(
+ stream: RelayedStream::Relay(Framed::new(
MaybeTlsStream::Test(io),
RelayCodec::test(),
)),
@@ -666,7 +672,11 @@
// write message from b to a
let msg = b"hello world!";
- crate::client::conn::send_packet(&mut b_io, node_id_a, Bytes::from_static(msg)).await?;
+ b_io.send(Frame::SendPacket {
+ dst_key: node_id_a,
+ packet: Bytes::from_static(msg),
+ })
+ .await?;
// get message on a's reader
let frame = recv_frame(FrameType::RecvPacket, &mut a_io).await?;
diff --git a/pr/3068/docs/src/iroh_relay/server/client_conn.rs.html b/pr/3068/docs/src/iroh_relay/server/client_conn.rs.html
index 8370151879..5b92c88f25 100644
--- a/pr/3068/docs/src/iroh_relay/server/client_conn.rs.html
+++ b/pr/3068/docs/src/iroh_relay/server/client_conn.rs.html
@@ -801,7 +801,23 @@
800
801
802
-803
//! The server-side representation of an ongoing client relaying connection.
+803
+804
+805
+806
+807
+808
+809
+810
+811
+812
+813
+814
+815
+816
+817
+818
+819
//! The server-side representation of an ongoing client relaying connection.
use std::{future::Future, num::NonZeroU32, pin::Pin, sync::Arc, task::Poll, time::Duration};
@@ -1320,7 +1336,6 @@
use super::*;
use crate::{
- client::conn,
protos::relay::{recv_frame, FrameType, RelayCodec},
server::streams::MaybeTlsStream,
};
@@ -1335,7 +1350,8 @@
let (io, io_rw) = tokio::io::duplex(1024);
let mut io_rw = Framed::new(io_rw, RelayCodec::test());
let (server_channel_s, mut server_channel_r) = mpsc::channel(10);
- let stream = RelayedStream::Derp(Framed::new(MaybeTlsStream::Test(io), RelayCodec::test()));
+ let stream =
+ RelayedStream::Relay(Framed::new(MaybeTlsStream::Test(io), RelayCodec::test()));
let actor = Actor {
stream: RateLimitedRelayedStream::unlimited(stream),
@@ -1420,7 +1436,12 @@
// send packet
println!(" send packet");
let data = b"hello world!";
- conn::send_packet(&mut io_rw, target, Bytes::from_static(data)).await?;
+ io_rw
+ .send(Frame::SendPacket {
+ dst_key: target,
+ packet: Bytes::from_static(data),
+ })
+ .await?;
let msg = server_channel_r.recv().await.unwrap();
match msg {
actor::Message::SendPacket {
@@ -1443,7 +1464,12 @@
let mut disco_data = disco::MAGIC.as_bytes().to_vec();
disco_data.extend_from_slice(target.as_bytes());
disco_data.extend_from_slice(data);
- conn::send_packet(&mut io_rw, target, disco_data.clone().into()).await?;
+ io_rw
+ .send(Frame::SendPacket {
+ dst_key: target,
+ packet: disco_data.clone().into(),
+ })
+ .await?;
let msg = server_channel_r.recv().await.unwrap();
match msg {
actor::Message::SendDiscoPacket {
@@ -1475,7 +1501,8 @@
let (io, io_rw) = tokio::io::duplex(1024);
let mut io_rw = Framed::new(io_rw, RelayCodec::test());
let (server_channel_s, mut server_channel_r) = mpsc::channel(10);
- let stream = RelayedStream::Derp(Framed::new(MaybeTlsStream::Test(io), RelayCodec::test()));
+ let stream =
+ RelayedStream::Relay(Framed::new(MaybeTlsStream::Test(io), RelayCodec::test()));
println!("-- create client conn");
let actor = Actor {
@@ -1501,7 +1528,12 @@
let data = b"hello world!";
let target = SecretKey::generate(rand::thread_rng()).public();
- conn::send_packet(&mut io_rw, target, Bytes::from_static(data)).await?;
+ io_rw
+ .send(Frame::SendPacket {
+ dst_key: target,
+ packet: Bytes::from_static(data),
+ })
+ .await?;
let msg = server_channel_r.recv().await.unwrap();
match msg {
actor::Message::SendPacket {
@@ -1554,7 +1586,7 @@
// Build the rate limited stream.
let (io_read, io_write) = tokio::io::duplex((LIMIT * MAX_FRAMES) as _);
let mut frame_writer = Framed::new(io_write, RelayCodec::test());
- let stream = RelayedStream::Derp(Framed::new(
+ let stream = RelayedStream::Relay(Framed::new(
MaybeTlsStream::Test(io_read),
RelayCodec::test(),
));
diff --git a/pr/3068/docs/src/iroh_relay/server/clients.rs.html b/pr/3068/docs/src/iroh_relay/server/clients.rs.html
index 930bf9e69b..42992a6d77 100644
--- a/pr/3068/docs/src/iroh_relay/server/clients.rs.html
+++ b/pr/3068/docs/src/iroh_relay/server/clients.rs.html
@@ -561,7 +561,7 @@
(
ClientConnConfig {
node_id: key,
- stream: RelayedStream::Derp(Framed::new(
+ stream: RelayedStream::Relay(Framed::new(
MaybeTlsStream::Test(io),
RelayCodec::test(),
)),
diff --git a/pr/3068/docs/src/iroh_relay/server/http_server.rs.html b/pr/3068/docs/src/iroh_relay/server/http_server.rs.html
index ade14f3be9..01f15e8a72 100644
--- a/pr/3068/docs/src/iroh_relay/server/http_server.rs.html
+++ b/pr/3068/docs/src/iroh_relay/server/http_server.rs.html
@@ -1141,12 +1141,7 @@
1140
1141
1142
-1143
-1144
-1145
-1146
-1147
-1148
use std::{
+1143
use std::{
collections::HashMap, future::Future, net::SocketAddr, pin::Pin, sync::Arc, time::Duration,
};
@@ -1651,8 +1646,8 @@
trace!(?protocol, "accept: start");
let mut io = match protocol {
Protocol::Relay => {
- inc!(Metrics, derp_accepts);
- RelayedStream::Derp(Framed::new(io, RelayCodec::new(self.key_cache.clone())))
+ inc!(Metrics, relay_accepts);
+ RelayedStream::Relay(Framed::new(io, RelayCodec::new(self.key_cache.clone())))
}
Protocol::Websocket => {
inc!(Metrics, websocket_accepts);
@@ -1828,17 +1823,16 @@
use anyhow::Result;
use bytes::Bytes;
use futures_lite::StreamExt;
+ use futures_util::SinkExt;
use iroh_base::{PublicKey, SecretKey};
use reqwest::Url;
- use tokio::{sync::mpsc, task::JoinHandle};
- use tokio_util::codec::{FramedRead, FramedWrite};
- use tracing::{info, info_span, Instrument};
+ use tracing::info;
use tracing_subscriber::{prelude::*, EnvFilter};
use super::*;
use crate::client::{
- conn::{ConnBuilder, ConnFrameStream, ConnWriter, ReceivedMessage},
- streams::{MaybeTlsStreamReader, MaybeTlsStreamWriter},
+ conn::{Conn, ReceivedMessage, SendMessage},
+ streams::MaybeTlsStreamChained,
Client, ClientBuilder,
};
@@ -1893,111 +1887,88 @@
let relay_addr: Url = format!("http://{addr}:{port}").parse().unwrap();
// create clients
- let (a_key, mut a_recv, client_a_task, client_a) = {
- let span = info_span!("client-a");
- let _guard = span.enter();
- create_test_client(a_key, relay_addr.clone())
- };
+ let (a_key, mut client_a) = create_test_client(a_key, relay_addr.clone()).await?;
info!("created client {a_key:?}");
- let (b_key, mut b_recv, client_b_task, client_b) = {
- let span = info_span!("client-b");
- let _guard = span.enter();
- create_test_client(b_key, relay_addr)
- };
+ let (b_key, mut client_b) = create_test_client(b_key, relay_addr).await?;
info!("created client {b_key:?}");
info!("ping a");
- client_a.ping().await?;
+ client_a.send(SendMessage::Ping([1u8; 8])).await?;
+ let pong = client_a.next().await.context("eos")??;
+ assert!(matches!(pong, ReceivedMessage::Pong(_)));
info!("ping b");
- client_b.ping().await?;
+ client_b.send(SendMessage::Ping([2u8; 8])).await?;
+ let pong = client_b.next().await.context("eos")??;
+ assert!(matches!(pong, ReceivedMessage::Pong(_)));
info!("sending message from a to b");
let msg = Bytes::from_static(b"hi there, client b!");
- client_a.send(b_key, msg.clone()).await?;
+ client_a
+ .send(SendMessage::SendPacket(b_key, msg.clone()))
+ .await?;
info!("waiting for message from a on b");
- let (got_key, got_msg) = b_recv.recv().await.expect("expected message from client_a");
+ let (got_key, got_msg) =
+ process_msg(client_b.next().await).expect("expected message from client_a");
assert_eq!(a_key, got_key);
assert_eq!(msg, got_msg);
info!("sending message from b to a");
let msg = Bytes::from_static(b"right back at ya, client b!");
- client_b.send(a_key, msg.clone()).await?;
+ client_b
+ .send(SendMessage::SendPacket(a_key, msg.clone()))
+ .await?;
info!("waiting for message b on a");
- let (got_key, got_msg) = a_recv.recv().await.expect("expected message from client_b");
+ let (got_key, got_msg) =
+ process_msg(client_a.next().await).expect("expected message from client_b");
assert_eq!(b_key, got_key);
assert_eq!(msg, got_msg);
client_a.close().await?;
- client_a_task.abort();
client_b.close().await?;
- client_b_task.abort();
server.shutdown();
Ok(())
}
- fn create_test_client(
- key: SecretKey,
- server_url: Url,
- ) -> (
- PublicKey,
- mpsc::Receiver<(PublicKey, Bytes)>,
- JoinHandle<()>,
- Client,
- ) {
- let client = ClientBuilder::new(server_url).insecure_skip_cert_verify(true);
- let dns_resolver = crate::dns::default_resolver();
- let (client, mut client_reader) = client.build(key.clone(), dns_resolver.clone());
+ async fn create_test_client(key: SecretKey, server_url: Url) -> Result<(PublicKey, Client)> {
let public_key = key.public();
- let (received_msg_s, received_msg_r) = tokio::sync::mpsc::channel(10);
- let client_reader_task = tokio::spawn(
- async move {
- loop {
- info!("waiting for message on {:?}", key.public());
- match client_reader.recv().await {
- None => {
- info!("client received nothing");
- return;
- }
- Some(Err(e)) => {
- info!("client {:?} `recv` error {e}", key.public());
- return;
- }
- Some(Ok(msg)) => {
- info!("got message on {:?}: {msg:?}", key.public());
- if let ReceivedMessage::ReceivedPacket {
- remote_node_id: source,
- data,
- } = msg
- {
- received_msg_s
- .send((source, data))
- .await
- .unwrap_or_else(|err| {
- panic!(
- "client {:?}, error sending message over channel: {:?}",
- key.public(),
- err
- )
- });
- }
- }
- }
- }
+ let dns_resolver = crate::dns::default_resolver();
+ let client = ClientBuilder::new(server_url, key, dns_resolver.clone())
+ .insecure_skip_cert_verify(true);
+ let client = client.connect().await?;
+
+ Ok((public_key, client))
+ }
+
+ fn process_msg(msg: Option<Result<ReceivedMessage>>) -> Option<(PublicKey, Bytes)> {
+ match msg {
+ Some(Err(e)) => {
+ info!("client `recv` error {e}");
+ None
+ }
+ Some(Ok(msg)) => {
+ info!("got message on: {msg:?}");
+ if let ReceivedMessage::ReceivedPacket {
+ remote_node_id: source,
+ data,
+ } = msg
+ {
+ Some((source, data))
+ } else {
+ None
+ }
}
- .instrument(info_span!("test-client-reader")),
- );
- (public_key, received_msg_r, client_reader_task, client)
+ None => {
+ info!("client end of stream");
+ None
+ }
+ }
}
#[tokio::test]
async fn test_https_clients_and_server() -> Result<()> {
- tracing_subscriber::registry()
- .with(tracing_subscriber::fmt::layer().with_writer(std::io::stderr))
- .with(EnvFilter::from_default_env())
- .try_init()
- .ok();
+ let _logging = iroh_test::logging::setup();
let a_key = SecretKey::generate(rand::thread_rng());
let b_key = SecretKey::generate(rand::thread_rng());
@@ -2027,54 +1998,55 @@
let url: Url = format!("https://localhost:{port}").parse().unwrap();
// create clients
- let (a_key, mut a_recv, client_a_task, client_a) = create_test_client(a_key, url.clone());
+ let (a_key, mut client_a) = create_test_client(a_key, url.clone()).await?;
info!("created client {a_key:?}");
- let (b_key, mut b_recv, client_b_task, client_b) = create_test_client(b_key, url);
+ let (b_key, mut client_b) = create_test_client(b_key, url).await?;
info!("created client {b_key:?}");
- client_a.ping().await?;
- client_b.ping().await?;
+ info!("ping a");
+ client_a.send(SendMessage::Ping([1u8; 8])).await?;
+ let pong = client_a.next().await.context("eos")??;
+ assert!(matches!(pong, ReceivedMessage::Pong(_)));
+
+ info!("ping b");
+ client_b.send(SendMessage::Ping([2u8; 8])).await?;
+ let pong = client_b.next().await.context("eos")??;
+ assert!(matches!(pong, ReceivedMessage::Pong(_)));
info!("sending message from a to b");
let msg = Bytes::from_static(b"hi there, client b!");
- client_a.send(b_key, msg.clone()).await?;
+ client_a
+ .send(SendMessage::SendPacket(b_key, msg.clone()))
+ .await?;
info!("waiting for message from a on b");
- let (got_key, got_msg) = b_recv.recv().await.expect("expected message from client_a");
+ let (got_key, got_msg) =
+ process_msg(client_b.next().await).expect("expected message from client_a");
assert_eq!(a_key, got_key);
assert_eq!(msg, got_msg);
info!("sending message from b to a");
let msg = Bytes::from_static(b"right back at ya, client b!");
- client_b.send(a_key, msg.clone()).await?;
+ client_b
+ .send(SendMessage::SendPacket(a_key, msg.clone()))
+ .await?;
info!("waiting for message b on a");
- let (got_key, got_msg) = a_recv.recv().await.expect("expected message from client_b");
+ let (got_key, got_msg) =
+ process_msg(client_a.next().await).expect("expected message from client_b");
assert_eq!(b_key, got_key);
assert_eq!(msg, got_msg);
server.shutdown();
server.task_handle().await?;
client_a.close().await?;
- client_a_task.abort();
client_b.close().await?;
- client_b_task.abort();
+
Ok(())
}
- fn make_test_client(secret_key: SecretKey) -> (tokio::io::DuplexStream, ConnBuilder) {
- let (client, server) = tokio::io::duplex(10);
- let (client_reader, client_writer) = tokio::io::split(client);
-
- let client_reader = MaybeTlsStreamReader::Mem(client_reader);
- let client_writer = MaybeTlsStreamWriter::Mem(client_writer);
-
- let client_reader =
- ConnFrameStream::Derp(FramedRead::new(client_reader, RelayCodec::test()));
- let client_writer = ConnWriter::Derp(FramedWrite::new(client_writer, RelayCodec::test()));
-
- (
- server,
- ConnBuilder::new(secret_key, None, client_reader, client_writer),
- )
+ async fn make_test_client(client: tokio::io::DuplexStream, key: &SecretKey) -> Result<Conn> {
+ let client = MaybeTlsStreamChained::Mem(client);
+ let client = Conn::new_relay(client, KeyCache::test(), key).await?;
+ Ok(client)
}
#[tokio::test]
@@ -2095,31 +2067,33 @@
info!("Create client A and connect it to the server.");
let key_a = SecretKey::generate(rand::thread_rng());
let public_key_a = key_a.public();
- let (rw_a, client_a_builder) = make_test_client(key_a);
+ let (client_a, rw_a) = tokio::io::duplex(10);
let s = service.clone();
let handler_task = tokio::spawn(async move {
s.0.accept(Protocol::Relay, MaybeTlsStream::Test(rw_a))
.await
});
- let (client_a, mut client_receiver_a) = client_a_builder.build().await?;
+ let mut client_a = make_test_client(client_a, &key_a).await?;
handler_task.await??;
info!("Create client B and connect it to the server.");
let key_b = SecretKey::generate(rand::thread_rng());
let public_key_b = key_b.public();
- let (rw_b, client_b_builder) = make_test_client(key_b);
+ let (client_b, rw_b) = tokio::io::duplex(10);
let s = service.clone();
let handler_task = tokio::spawn(async move {
s.0.accept(Protocol::Relay, MaybeTlsStream::Test(rw_b))
.await
});
- let (client_b, mut client_receiver_b) = client_b_builder.build().await?;
+ let mut client_b = make_test_client(client_b, &key_b).await?;
handler_task.await??;
info!("Send message from A to B.");
let msg = Bytes::from_static(b"hello client b!!");
- client_a.send(public_key_b, msg.clone()).await?;
- match client_receiver_b.next().await.context("eos")?? {
+ client_a
+ .send(SendMessage::SendPacket(public_key_b, msg.clone()))
+ .await?;
+ match client_b.next().await.context("eos")?? {
ReceivedMessage::ReceivedPacket {
remote_node_id,
data,
@@ -2134,8 +2108,10 @@
info!("Send message from B to A.");
let msg = Bytes::from_static(b"nice to meet you client a!!");
- client_b.send(public_key_a, msg.clone()).await?;
- match client_receiver_a.next().await.context("eos")?? {
+ client_b
+ .send(SendMessage::SendPacket(public_key_a, msg.clone()))
+ .await?;
+ match client_a.next().await.context("eos")?? {
ReceivedMessage::ReceivedPacket {
remote_node_id,
data,
@@ -2154,11 +2130,14 @@
info!("Fail to send message from A to B.");
let _res = client_a
- .send(public_key_b, Bytes::from_static(b"try to send"))
+ .send(SendMessage::SendPacket(
+ public_key_b,
+ Bytes::from_static(b"try to send"),
+ ))
.await;
// TODO: this send seems to succeed currently.
// assert!(res.is_err());
- assert!(client_receiver_b.next().await.is_none());
+ assert!(client_b.next().await.is_none());
Ok(())
}
@@ -2184,31 +2163,33 @@
info!("Create client A and connect it to the server.");
let key_a = SecretKey::generate(rand::thread_rng());
let public_key_a = key_a.public();
- let (rw_a, client_a_builder) = make_test_client(key_a);
+ let (client_a, rw_a) = tokio::io::duplex(10);
let s = service.clone();
let handler_task = tokio::spawn(async move {
s.0.accept(Protocol::Relay, MaybeTlsStream::Test(rw_a))
.await
});
- let (client_a, mut client_receiver_a) = client_a_builder.build().await?;
+ let mut client_a = make_test_client(client_a, &key_a).await?;
handler_task.await??;
info!("Create client B and connect it to the server.");
let key_b = SecretKey::generate(rand::thread_rng());
let public_key_b = key_b.public();
- let (rw_b, client_b_builder) = make_test_client(key_b.clone());
+ let (client_b, rw_b) = tokio::io::duplex(10);
let s = service.clone();
let handler_task = tokio::spawn(async move {
s.0.accept(Protocol::Relay, MaybeTlsStream::Test(rw_b))
.await
});
- let (client_b, mut client_receiver_b) = client_b_builder.build().await?;
+ let mut client_b = make_test_client(client_b, &key_b).await?;
handler_task.await??;
info!("Send message from A to B.");
let msg = Bytes::from_static(b"hello client b!!");
- client_a.send(public_key_b, msg.clone()).await?;
- match client_receiver_b.next().await.context("eos")?? {
+ client_a
+ .send(SendMessage::SendPacket(public_key_b, msg.clone()))
+ .await?;
+ match client_b.next().await.context("eos")?? {
ReceivedMessage::ReceivedPacket {
remote_node_id,
data,
@@ -2223,8 +2204,10 @@
info!("Send message from B to A.");
let msg = Bytes::from_static(b"nice to meet you client a!!");
- client_b.send(public_key_a, msg.clone()).await?;
- match client_receiver_a.next().await.context("eos")?? {
+ client_b
+ .send(SendMessage::SendPacket(public_key_a, msg.clone()))
+ .await?;
+ match client_a.next().await.context("eos")?? {
ReceivedMessage::ReceivedPacket {
remote_node_id,
data,
@@ -2238,21 +2221,23 @@
}
info!("Create client B and connect it to the server");
- let (new_rw_b, new_client_b_builder) = make_test_client(key_b);
+ let (new_client_b, new_rw_b) = tokio::io::duplex(10);
let s = service.clone();
let handler_task = tokio::spawn(async move {
s.0.accept(Protocol::Relay, MaybeTlsStream::Test(new_rw_b))
.await
});
- let (new_client_b, mut new_client_receiver_b) = new_client_b_builder.build().await?;
+ let mut new_client_b = make_test_client(new_client_b, &key_b).await?;
handler_task.await??;
// assert!(client_b.recv().await.is_err());
info!("Send message from A to B.");
let msg = Bytes::from_static(b"are you still there, b?!");
- client_a.send(public_key_b, msg.clone()).await?;
- match new_client_receiver_b.next().await.context("eos")?? {
+ client_a
+ .send(SendMessage::SendPacket(public_key_b, msg.clone()))
+ .await?;
+ match new_client_b.next().await.context("eos")?? {
ReceivedMessage::ReceivedPacket {
remote_node_id,
data,
@@ -2267,8 +2252,10 @@
info!("Send message from B to A.");
let msg = Bytes::from_static(b"just had a spot of trouble but I'm back now,a!!");
- new_client_b.send(public_key_a, msg.clone()).await?;
- match client_receiver_a.next().await.context("eos")?? {
+ new_client_b
+ .send(SendMessage::SendPacket(public_key_a, msg.clone()))
+ .await?;
+ match client_a.next().await.context("eos")?? {
ReceivedMessage::ReceivedPacket {
remote_node_id,
data,
@@ -2286,11 +2273,14 @@
info!("Sending message from A to B fails");
let _res = client_a
- .send(public_key_b, Bytes::from_static(b"try to send"))
+ .send(SendMessage::SendPacket(
+ public_key_b,
+ Bytes::from_static(b"try to send"),
+ ))
.await;
// TODO: This used to pass
// assert!(res.is_err());
- assert!(new_client_receiver_b.next().await.is_none());
+ assert!(new_client_b.next().await.is_none());
Ok(())
}
}
diff --git a/pr/3068/docs/src/iroh_relay/server/metrics.rs.html b/pr/3068/docs/src/iroh_relay/server/metrics.rs.html
index b021c26f16..8d70473ebf 100644
--- a/pr/3068/docs/src/iroh_relay/server/metrics.rs.html
+++ b/pr/3068/docs/src/iroh_relay/server/metrics.rs.html
@@ -230,7 +230,7 @@
/// Number of accepted websocket connections
pub websocket_accepts: Counter,
/// Number of accepted 'iroh derp http' connection upgrades
- pub derp_accepts: Counter,
+ pub relay_accepts: Counter,
// TODO: enable when we can have multiple connections for one node id
// pub duplicate_client_keys: Counter,
// pub duplicate_client_conns: Counter,
@@ -281,7 +281,7 @@
unique_client_keys: Counter::new("Number of unique client keys per day."),
websocket_accepts: Counter::new("Number of accepted websocket connections"),
- derp_accepts: Counter::new("Number of accepted 'iroh derp http' connection upgrades"),
+ relay_accepts: Counter::new("Number of accepted 'iroh derp http' connection upgrades"),
// TODO: enable when we can have multiple connections for one node id
// pub duplicate_client_keys: Counter::new("Number of duplicate client keys."),
// pub duplicate_client_conns: Counter::new("Number of duplicate client connections."),
@@ -297,7 +297,7 @@
}
}
-/// StunMetrics tracked for the DERPER
+/// StunMetrics tracked for the relay server
#[derive(Debug, Clone, Iterable)]
pub struct StunMetrics {
/*
diff --git a/pr/3068/docs/src/iroh_relay/server/streams.rs.html b/pr/3068/docs/src/iroh_relay/server/streams.rs.html
index 80525c596c..9869892ecf 100644
--- a/pr/3068/docs/src/iroh_relay/server/streams.rs.html
+++ b/pr/3068/docs/src/iroh_relay/server/streams.rs.html
@@ -193,7 +193,7 @@
/// The stream receives message from the client while the sink sends them to the client.
#[derive(Debug)]
pub(crate) enum RelayedStream {
- Derp(Framed<MaybeTlsStream, RelayCodec>),
+ Relay(Framed<MaybeTlsStream, RelayCodec>),
Ws(WebSocketStream<MaybeTlsStream>, KeyCache),
}
@@ -209,14 +209,14 @@
fn poll_ready(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
match *self {
- Self::Derp(ref mut framed) => Pin::new(framed).poll_ready(cx),
+ Self::Relay(ref mut framed) => Pin::new(framed).poll_ready(cx),
Self::Ws(ref mut ws, _) => Pin::new(ws).poll_ready(cx).map_err(tung_to_io_err),
}
}
fn start_send(mut self: Pin<&mut Self>, item: Frame) -> Result<(), Self::Error> {
match *self {
- Self::Derp(ref mut framed) => Pin::new(framed).start_send(item),
+ Self::Relay(ref mut framed) => Pin::new(framed).start_send(item),
Self::Ws(ref mut ws, _) => Pin::new(ws)
.start_send(tungstenite::Message::Binary(item.encode_for_ws_msg()))
.map_err(tung_to_io_err),
@@ -225,14 +225,14 @@
fn poll_flush(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
match *self {
- Self::Derp(ref mut framed) => Pin::new(framed).poll_flush(cx),
+ Self::Relay(ref mut framed) => Pin::new(framed).poll_flush(cx),
Self::Ws(ref mut ws, _) => Pin::new(ws).poll_flush(cx).map_err(tung_to_io_err),
}
}
fn poll_close(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
match *self {
- Self::Derp(ref mut framed) => Pin::new(framed).poll_close(cx),
+ Self::Relay(ref mut framed) => Pin::new(framed).poll_close(cx),
Self::Ws(ref mut ws, _) => Pin::new(ws).poll_close(cx).map_err(tung_to_io_err),
}
}
@@ -243,7 +243,7 @@
fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> {
match *self {
- Self::Derp(ref mut framed) => Pin::new(framed).poll_next(cx),
+ Self::Relay(ref mut framed) => Pin::new(framed).poll_next(cx),
Self::Ws(ref mut ws, ref cache) => match Pin::new(ws).poll_next(cx) {
Poll::Ready(Some(Ok(tungstenite::Message::Binary(vec)))) => {
Poll::Ready(Some(Frame::decode_from_ws_msg(vec, cache)))
diff --git a/pr/3068/docs/trait.impl/core/clone/trait.Clone.js b/pr/3068/docs/trait.impl/core/clone/trait.Clone.js
index f7820eac7f..f1017c8c50 100644
--- a/pr/3068/docs/trait.impl/core/clone/trait.Clone.js
+++ b/pr/3068/docs/trait.impl/core/clone/trait.Clone.js
@@ -1,9 +1,9 @@
(function() {
- var implementors = Object.fromEntries([["iroh",[["impl Clone for ConnectionType"],["impl Clone for ControlMsg"],["impl Clone for DirectAddrType"],["impl Clone for RelayMode"],["impl Clone for Source"],["impl Clone for DhtDiscovery"],["impl Clone for PkarrPublisher"],["impl Clone for PkarrRelayClient"],["impl Clone for PkarrResolver"],["impl Clone for DiscoveryItem"],["impl Clone for NodeInfo"],["impl Clone for DirectAddr"],["impl Clone for DirectAddrInfo"],["impl Clone for Endpoint"],["impl Clone for RemoteInfo"],["impl Clone for Metrics"],["impl Clone for Router"],["impl<T> Clone for Watchable<T>"],["impl<T: Clone> Clone for Watcher<T>"],["impl<T: Clone> Clone for WatcherStream<T>"]]],["iroh_base",[["impl Clone for NodeAddr"],["impl Clone for PublicKey"],["impl Clone for RelayUrl"],["impl Clone for SecretKey"],["impl Clone for NodeTicket"]]],["iroh_bench",[["impl Clone for Commands"],["impl Clone for Opt"],["impl Clone for Opt"]]],["iroh_dns_server",[["impl Clone for CertMode"],["impl Clone for RateLimitConfig"],["impl Clone for StoreConfig"],["impl Clone for DnsConfig"],["impl Clone for DnsHandler"],["impl Clone for Handle"],["impl Clone for HttpConfig"],["impl Clone for HttpsConfig"],["impl Clone for Metrics"],["impl Clone for AppState"],["impl Clone for ZoneStore"]]],["iroh_net_report",[["impl Clone for Addr"],["impl Clone for Metrics"],["impl Clone for QuicConfig"],["impl Clone for RelayLatencies"],["impl Clone for Report"]]],["iroh_relay",[["impl Clone for ReceivedMessage"],["impl Clone for Protocol"],["impl Clone for Client"],["impl Clone for ClientConnRateLimit"],["impl Clone for Metrics"],["impl Clone for StunMetrics"],["impl Clone for Conn"],["impl Clone for RelayMap"],["impl Clone for RelayNode"],["impl Clone for RelayQuicConfig"]]]]);
+ var implementors = Object.fromEntries([["iroh",[["impl Clone for ConnectionType"],["impl Clone for ControlMsg"],["impl Clone for DirectAddrType"],["impl Clone for RelayMode"],["impl Clone for Source"],["impl Clone for DhtDiscovery"],["impl Clone for PkarrPublisher"],["impl Clone for PkarrRelayClient"],["impl Clone for PkarrResolver"],["impl Clone for DiscoveryItem"],["impl Clone for NodeInfo"],["impl Clone for DirectAddr"],["impl Clone for DirectAddrInfo"],["impl Clone for Endpoint"],["impl Clone for RemoteInfo"],["impl Clone for Metrics"],["impl Clone for Router"],["impl<T> Clone for Watchable<T>"],["impl<T: Clone> Clone for Watcher<T>"],["impl<T: Clone> Clone for WatcherStream<T>"]]],["iroh_base",[["impl Clone for NodeAddr"],["impl Clone for PublicKey"],["impl Clone for RelayUrl"],["impl Clone for SecretKey"],["impl Clone for NodeTicket"]]],["iroh_bench",[["impl Clone for Commands"],["impl Clone for Opt"],["impl Clone for Opt"]]],["iroh_dns_server",[["impl Clone for CertMode"],["impl Clone for RateLimitConfig"],["impl Clone for StoreConfig"],["impl Clone for DnsConfig"],["impl Clone for DnsHandler"],["impl Clone for Handle"],["impl Clone for HttpConfig"],["impl Clone for HttpsConfig"],["impl Clone for Metrics"],["impl Clone for AppState"],["impl Clone for ZoneStore"]]],["iroh_net_report",[["impl Clone for Addr"],["impl Clone for Metrics"],["impl Clone for QuicConfig"],["impl Clone for RelayLatencies"],["impl Clone for Report"]]],["iroh_relay",[["impl Clone for ReceivedMessage"],["impl Clone for Protocol"],["impl Clone for ClientBuilder"],["impl Clone for ClientConnRateLimit"],["impl Clone for Metrics"],["impl Clone for StunMetrics"],["impl Clone for RelayMap"],["impl Clone for RelayNode"],["impl Clone for RelayQuicConfig"]]]]);
if (window.register_implementors) {
window.register_implementors(implementors);
} else {
window.pending_implementors = implementors;
}
})()
-//{"start":57,"fragment_lengths":[5909,1333,770,3144,1375,2752]}
\ No newline at end of file
+//{"start":57,"fragment_lengths":[5909,1333,770,3144,1375,2530]}
\ No newline at end of file
diff --git a/pr/3068/docs/trait.impl/core/cmp/trait.Eq.js b/pr/3068/docs/trait.impl/core/cmp/trait.Eq.js
index b8b7dbdf19..79b46d0737 100644
--- a/pr/3068/docs/trait.impl/core/cmp/trait.Eq.js
+++ b/pr/3068/docs/trait.impl/core/cmp/trait.Eq.js
@@ -1,9 +1,9 @@
(function() {
- var implementors = Object.fromEntries([["iroh",[["impl Eq for IrohAttr"],["impl Eq for ConnectionType"],["impl Eq for ControlMsg"],["impl Eq for DirectAddrType"],["impl Eq for RelayMode"],["impl Eq for Source"],["impl Eq for NodeInfo"],["impl Eq for DirectAddr"],["impl Eq for DirectAddrInfo"],["impl Eq for RemoteInfo"]]],["iroh_base",[["impl Eq for NodeAddr"],["impl Eq for PublicKey"],["impl Eq for RelayUrl"],["impl Eq for NodeTicket"]]],["iroh_dns_server",[["impl Eq for CertMode"]]],["iroh_net_report",[["impl Eq for RelayLatencies"],["impl Eq for Report"]]],["iroh_relay",[["impl Eq for Protocol"],["impl Eq for Conn"],["impl Eq for RelayMap"],["impl Eq for RelayNode"],["impl Eq for RelayQuicConfig"]]]]);
+ var implementors = Object.fromEntries([["iroh",[["impl Eq for IrohAttr"],["impl Eq for ConnectionType"],["impl Eq for ControlMsg"],["impl Eq for DirectAddrType"],["impl Eq for RelayMode"],["impl Eq for Source"],["impl Eq for NodeInfo"],["impl Eq for DirectAddr"],["impl Eq for DirectAddrInfo"],["impl Eq for RemoteInfo"]]],["iroh_base",[["impl Eq for NodeAddr"],["impl Eq for PublicKey"],["impl Eq for RelayUrl"],["impl Eq for NodeTicket"]]],["iroh_dns_server",[["impl Eq for CertMode"]]],["iroh_net_report",[["impl Eq for RelayLatencies"],["impl Eq for Report"]]],["iroh_relay",[["impl Eq for Protocol"],["impl Eq for RelayMap"],["impl Eq for RelayNode"],["impl Eq for RelayQuicConfig"]]]]);
if (window.register_implementors) {
window.register_implementors(implementors);
} else {
window.pending_implementors = implementors;
}
})()
-//{"start":57,"fragment_lengths":[2605,1020,284,548,1279]}
\ No newline at end of file
+//{"start":57,"fragment_lengths":[2605,1020,284,548,1034]}
\ No newline at end of file
diff --git a/pr/3068/docs/trait.impl/core/cmp/trait.PartialEq.js b/pr/3068/docs/trait.impl/core/cmp/trait.PartialEq.js
index 8f1aea7d6d..49354f0776 100644
--- a/pr/3068/docs/trait.impl/core/cmp/trait.PartialEq.js
+++ b/pr/3068/docs/trait.impl/core/cmp/trait.PartialEq.js
@@ -1,9 +1,9 @@
(function() {
- var implementors = Object.fromEntries([["iroh",[["impl PartialEq for IrohAttr"],["impl PartialEq for ConnectionType"],["impl PartialEq for ControlMsg"],["impl PartialEq for DirectAddrType"],["impl PartialEq for RelayMode"],["impl PartialEq for Source"],["impl PartialEq for NodeInfo"],["impl PartialEq for DirectAddr"],["impl PartialEq for DirectAddrInfo"],["impl PartialEq for RemoteInfo"]]],["iroh_base",[["impl PartialEq for NodeAddr"],["impl PartialEq for PublicKey"],["impl PartialEq for RelayUrl"],["impl PartialEq for NodeTicket"]]],["iroh_dns_server",[["impl PartialEq for CertMode"]]],["iroh_net_report",[["impl PartialEq for RelayLatencies"],["impl PartialEq for Report"]]],["iroh_relay",[["impl PartialEq for Protocol"],["impl PartialEq for Conn"],["impl PartialEq for RelayMap"],["impl PartialEq for RelayNode"],["impl PartialEq for RelayQuicConfig"]]]]);
+ var implementors = Object.fromEntries([["iroh",[["impl PartialEq for IrohAttr"],["impl PartialEq for ConnectionType"],["impl PartialEq for ControlMsg"],["impl PartialEq for DirectAddrType"],["impl PartialEq for RelayMode"],["impl PartialEq for Source"],["impl PartialEq for NodeInfo"],["impl PartialEq for DirectAddr"],["impl PartialEq for DirectAddrInfo"],["impl PartialEq for RemoteInfo"]]],["iroh_base",[["impl PartialEq for NodeAddr"],["impl PartialEq for PublicKey"],["impl PartialEq for RelayUrl"],["impl PartialEq for NodeTicket"]]],["iroh_dns_server",[["impl PartialEq for CertMode"]]],["iroh_net_report",[["impl PartialEq for RelayLatencies"],["impl PartialEq for Report"]]],["iroh_relay",[["impl PartialEq for Protocol"],["impl PartialEq for RelayMap"],["impl PartialEq for RelayNode"],["impl PartialEq for RelayQuicConfig"]]]]);
if (window.register_implementors) {
window.register_implementors(implementors);
} else {
window.pending_implementors = implementors;
}
})()
-//{"start":57,"fragment_lengths":[2815,1104,305,590,1384]}
\ No newline at end of file
+//{"start":57,"fragment_lengths":[2815,1104,305,590,1118]}
\ No newline at end of file
diff --git a/pr/3068/docs/trait.impl/core/convert/trait.From.js b/pr/3068/docs/trait.impl/core/convert/trait.From.js
index 78db26aaa5..258687f8b5 100644
--- a/pr/3068/docs/trait.impl/core/convert/trait.From.js
+++ b/pr/3068/docs/trait.impl/core/convert/trait.From.js
@@ -1,9 +1,9 @@
(function() {
- var implementors = Object.fromEntries([["iroh",[["impl From<&NodeInfo> for TxtAttrs<IrohAttr>"],["impl From<&TxtAttrs<IrohAttr>> for NodeInfo"],["impl From<NodeInfo> for NodeAddr"],["impl From<TxtAttrs<IrohAttr>> for NodeInfo"],["impl From<RemoteInfo> for NodeAddr"],["impl<T> From<T> for ConcurrentDiscovery"]]],["iroh_base",[["impl From<(PublicKey, Option<RelayUrl>, &[SocketAddr])> for NodeAddr"],["impl From<ParseError> for RelayUrlParseError"],["impl From<Url> for RelayUrl"],["impl From<NodeAddr> for NodeTicket"],["impl From<PublicKey> for NodeAddr"],["impl From<RelayUrl> for Url"],["impl From<NodeTicket> for NodeAddr"],["impl From<DecodeError> for KeyParsingError"],["impl From<DecodeError> for Error"],["impl From<Error> for KeyParsingError"],["impl From<Error> for Error"],["impl From<SigningKey> for SecretKey"],["impl From<VerifyingKey> for PublicKey"],["impl From<[u8; 32]> for SecretKey"]]],["iroh_relay",[["impl From<Error> for ClientError"],["impl From<Error> for ClientError"],["impl From<Error> for ClientError"],["impl From<Error> for ClientError"]]]]);
+ var implementors = Object.fromEntries([["iroh",[["impl From<&NodeInfo> for TxtAttrs<IrohAttr>"],["impl From<&TxtAttrs<IrohAttr>> for NodeInfo"],["impl From<NodeInfo> for NodeAddr"],["impl From<TxtAttrs<IrohAttr>> for NodeInfo"],["impl From<RemoteInfo> for NodeAddr"],["impl<T> From<T> for ConcurrentDiscovery"]]],["iroh_base",[["impl From<(PublicKey, Option<RelayUrl>, &[SocketAddr])> for NodeAddr"],["impl From<ParseError> for RelayUrlParseError"],["impl From<Url> for RelayUrl"],["impl From<NodeAddr> for NodeTicket"],["impl From<PublicKey> for NodeAddr"],["impl From<RelayUrl> for Url"],["impl From<NodeTicket> for NodeAddr"],["impl From<DecodeError> for KeyParsingError"],["impl From<DecodeError> for Error"],["impl From<Error> for KeyParsingError"],["impl From<Error> for Error"],["impl From<SigningKey> for SecretKey"],["impl From<VerifyingKey> for PublicKey"],["impl From<[u8; 32]> for SecretKey"]]],["iroh_relay",[["impl From<Error> for ConnSendError"]]]]);
if (window.register_implementors) {
window.register_implementors(implementors);
} else {
window.pending_implementors = implementors;
}
})()
-//{"start":57,"fragment_lengths":[3256,5343,1322]}
\ No newline at end of file
+//{"start":57,"fragment_lengths":[3256,5343,452]}
\ No newline at end of file
diff --git a/pr/3068/docs/trait.impl/core/error/trait.Error.js b/pr/3068/docs/trait.impl/core/error/trait.Error.js
index 596f113538..e818b9ef2b 100644
--- a/pr/3068/docs/trait.impl/core/error/trait.Error.js
+++ b/pr/3068/docs/trait.impl/core/error/trait.Error.js
@@ -1,9 +1,9 @@
(function() {
- var implementors = Object.fromEntries([["iroh",[["impl Error for Disconnected"]]],["iroh_base",[["impl Error for KeyParsingError"],["impl Error for Error"],["impl Error for RelayUrlParseError"]]],["iroh_relay",[["impl Error for ClientError"],["impl Error for Error"]]]]);
+ var implementors = Object.fromEntries([["iroh",[["impl Error for Disconnected"]]],["iroh_base",[["impl Error for KeyParsingError"],["impl Error for Error"],["impl Error for RelayUrlParseError"]]],["iroh_relay",[["impl Error for ConnSendError"],["impl Error for Error"]]]]);
if (window.register_implementors) {
window.register_implementors(implementors);
} else {
window.pending_implementors = implementors;
}
})()
-//{"start":57,"fragment_lengths":[291,835,566]}
\ No newline at end of file
+//{"start":57,"fragment_lengths":[291,835,572]}
\ No newline at end of file
diff --git a/pr/3068/docs/trait.impl/core/fmt/trait.Debug.js b/pr/3068/docs/trait.impl/core/fmt/trait.Debug.js
index 3d5263c24b..74a966363a 100644
--- a/pr/3068/docs/trait.impl/core/fmt/trait.Debug.js
+++ b/pr/3068/docs/trait.impl/core/fmt/trait.Debug.js
@@ -1,9 +1,9 @@
(function() {
- var implementors = Object.fromEntries([["iroh",[["impl Debug for IrohAttr"],["impl Debug for ConnectionType"],["impl Debug for ControlMsg"],["impl Debug for DirectAddrType"],["impl Debug for RelayMode"],["impl Debug for Source"],["impl Debug for DnsDiscovery"],["impl Debug for LocalSwarmDiscovery"],["impl Debug for Builder"],["impl Debug for DhtDiscovery"],["impl Debug for PkarrPublisher"],["impl Debug for PkarrRelayClient"],["impl Debug for PkarrResolver"],["impl Debug for StaticProvider"],["impl Debug for ConcurrentDiscovery"],["impl Debug for DiscoveryItem"],["impl Debug for NodeInfo"],["impl Debug for Builder"],["impl Debug for Connecting"],["impl Debug for DirectAddr"],["impl Debug for DirectAddrInfo"],["impl Debug for Endpoint"],["impl Debug for Incoming"],["impl Debug for IncomingFuture"],["impl Debug for RemoteInfo"],["impl Debug for Metrics"],["impl Debug for Router"],["impl Debug for RouterBuilder"],["impl Debug for CleanupDropGuard"],["impl Debug for DnsPkarrServer"],["impl Debug for Disconnected"],["impl<'a> Debug for Accept<'a>"],["impl<'a, T: Debug> Debug for WatchInitializedFut<'a, T>"],["impl<'a, T: Debug> Debug for WatchNextFut<'a, T>"],["impl<T: Debug> Debug for TxtAttrs<T>"],["impl<T: Debug> Debug for Watchable<T>"],["impl<T: Debug> Debug for Watcher<T>"],["impl<T: Debug> Debug for WatcherStream<T>"]]],["iroh_base",[["impl Debug for KeyParsingError"],["impl Debug for Error"],["impl Debug for NodeAddr"],["impl Debug for PublicKey"],["impl Debug for RelayUrl"],["impl Debug for RelayUrlParseError"],["impl Debug for SecretKey"],["impl Debug for NodeTicket"]]],["iroh_bench",[["impl Debug for Commands"],["impl Debug for Opt"],["impl Debug for Stats"],["impl Debug for StreamStats"],["impl Debug for TransferResult"],["impl Debug for Opt"]]],["iroh_dns_server",[["impl Debug for BootstrapOption"],["impl Debug for CertMode"],["impl Debug for RateLimitConfig"],["impl Debug for Config"],["impl Debug for MainlineConfig"],["impl Debug for MetricsConfig"],["impl Debug for StoreConfig"],["impl Debug for DnsConfig"],["impl Debug for DnsHandler"],["impl Debug for Handle"],["impl Debug for HttpConfig"],["impl Debug for HttpsConfig"],["impl Debug for Metrics"],["impl Debug for ZoneStore"]]],["iroh_net_report",[["impl Debug for Addr"],["impl Debug for Client"],["impl Debug for Metrics"],["impl Debug for Options"],["impl Debug for QuicConfig"],["impl Debug for RelayLatencies"],["impl Debug for Report"]]],["iroh_relay",[["impl Debug for ClientError"],["impl Debug for ReceivedMessage"],["impl Debug for Protocol"],["impl Debug for Error"],["impl Debug for MaybeTlsStream"],["impl Debug for Client"],["impl Debug for ClientBuilder"],["impl Debug for ClientReceiver"],["impl Debug for QuicClient"],["impl Debug for ClientConnRateLimit"],["impl Debug for Limits"],["impl Debug for Metrics"],["impl Debug for QuicConfig"],["impl Debug for Server"],["impl Debug for StunConfig"],["impl Debug for StunMetrics"],["impl Debug for Conn"],["impl Debug for RelayMap"],["impl Debug for RelayNode"],["impl Debug for RelayQuicConfig"],["impl<EC: Debug, EA: Debug> Debug for CertConfig<EC, EA>"],["impl<EC: Debug, EA: Debug> Debug for RelayConfig<EC, EA>"],["impl<EC: Debug, EA: Debug> Debug for ServerConfig<EC, EA>"],["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 IrohAttr"],["impl Debug for ConnectionType"],["impl Debug for ControlMsg"],["impl Debug for DirectAddrType"],["impl Debug for RelayMode"],["impl Debug for Source"],["impl Debug for DnsDiscovery"],["impl Debug for LocalSwarmDiscovery"],["impl Debug for Builder"],["impl Debug for DhtDiscovery"],["impl Debug for PkarrPublisher"],["impl Debug for PkarrRelayClient"],["impl Debug for PkarrResolver"],["impl Debug for StaticProvider"],["impl Debug for ConcurrentDiscovery"],["impl Debug for DiscoveryItem"],["impl Debug for NodeInfo"],["impl Debug for Builder"],["impl Debug for Connecting"],["impl Debug for DirectAddr"],["impl Debug for DirectAddrInfo"],["impl Debug for Endpoint"],["impl Debug for Incoming"],["impl Debug for IncomingFuture"],["impl Debug for RemoteInfo"],["impl Debug for Metrics"],["impl Debug for Router"],["impl Debug for RouterBuilder"],["impl Debug for CleanupDropGuard"],["impl Debug for DnsPkarrServer"],["impl Debug for Disconnected"],["impl<'a> Debug for Accept<'a>"],["impl<'a, T: Debug> Debug for WatchInitializedFut<'a, T>"],["impl<'a, T: Debug> Debug for WatchNextFut<'a, T>"],["impl<T: Debug> Debug for TxtAttrs<T>"],["impl<T: Debug> Debug for Watchable<T>"],["impl<T: Debug> Debug for Watcher<T>"],["impl<T: Debug> Debug for WatcherStream<T>"]]],["iroh_base",[["impl Debug for KeyParsingError"],["impl Debug for Error"],["impl Debug for NodeAddr"],["impl Debug for PublicKey"],["impl Debug for RelayUrl"],["impl Debug for RelayUrlParseError"],["impl Debug for SecretKey"],["impl Debug for NodeTicket"]]],["iroh_bench",[["impl Debug for Commands"],["impl Debug for Opt"],["impl Debug for Stats"],["impl Debug for StreamStats"],["impl Debug for TransferResult"],["impl Debug for Opt"]]],["iroh_dns_server",[["impl Debug for BootstrapOption"],["impl Debug for CertMode"],["impl Debug for RateLimitConfig"],["impl Debug for Config"],["impl Debug for MainlineConfig"],["impl Debug for MetricsConfig"],["impl Debug for StoreConfig"],["impl Debug for DnsConfig"],["impl Debug for DnsHandler"],["impl Debug for Handle"],["impl Debug for HttpConfig"],["impl Debug for HttpsConfig"],["impl Debug for Metrics"],["impl Debug for ZoneStore"]]],["iroh_net_report",[["impl Debug for Addr"],["impl Debug for Client"],["impl Debug for Metrics"],["impl Debug for Options"],["impl Debug for QuicConfig"],["impl Debug for RelayLatencies"],["impl Debug for Report"]]],["iroh_relay",[["impl Debug for ConnSendError"],["impl Debug for ReceivedMessage"],["impl Debug for SendMessage"],["impl Debug for Protocol"],["impl Debug for Error"],["impl Debug for MaybeTlsStream"],["impl Debug for Client"],["impl Debug for ClientBuilder"],["impl Debug for ClientSink"],["impl Debug for ClientStream"],["impl Debug for QuicClient"],["impl Debug for ClientConnRateLimit"],["impl Debug for Limits"],["impl Debug for Metrics"],["impl Debug for QuicConfig"],["impl Debug for Server"],["impl Debug for StunConfig"],["impl Debug for StunMetrics"],["impl Debug for RelayMap"],["impl Debug for RelayNode"],["impl Debug for RelayQuicConfig"],["impl<EC: Debug, EA: Debug> Debug for CertConfig<EC, EA>"],["impl<EC: Debug, EA: Debug> Debug for RelayConfig<EC, EA>"],["impl<EC: Debug, EA: Debug> Debug for ServerConfig<EC, EA>"],["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":[11544,2120,1583,3987,1878,9593]}
\ No newline at end of file
+//{"start":57,"fragment_lengths":[11544,2120,1583,3987,1878,9905]}
\ No newline at end of file
diff --git a/pr/3068/docs/trait.impl/core/fmt/trait.Display.js b/pr/3068/docs/trait.impl/core/fmt/trait.Display.js
index a86d2b0e13..98ebce19bb 100644
--- a/pr/3068/docs/trait.impl/core/fmt/trait.Display.js
+++ b/pr/3068/docs/trait.impl/core/fmt/trait.Display.js
@@ -1,9 +1,9 @@
(function() {
- var implementors = Object.fromEntries([["iroh",[["impl Display for IrohAttr"],["impl Display for ConnectionType"],["impl Display for ControlMsg"],["impl Display for DirectAddrType"],["impl Display for Source"],["impl Display for Disconnected"]]],["iroh_base",[["impl Display for KeyParsingError"],["impl Display for Error"],["impl Display for PublicKey"],["impl Display for RelayUrl"],["impl Display for RelayUrlParseError"],["impl Display for SecretKey"],["impl Display for NodeTicket"]]],["iroh_dns_server",[["impl Display for CertMode"]]],["iroh_net_report",[["impl Display for Report"]]],["iroh_relay",[["impl Display for ClientError"],["impl Display for Error"],["impl Display for RelayMap"],["impl Display for RelayNode"]]]]);
+ var implementors = Object.fromEntries([["iroh",[["impl Display for IrohAttr"],["impl Display for ConnectionType"],["impl Display for ControlMsg"],["impl Display for DirectAddrType"],["impl Display for Source"],["impl Display for Disconnected"]]],["iroh_base",[["impl Display for KeyParsingError"],["impl Display for Error"],["impl Display for PublicKey"],["impl Display for RelayUrl"],["impl Display for RelayUrlParseError"],["impl Display for SecretKey"],["impl Display for NodeTicket"]]],["iroh_dns_server",[["impl Display for CertMode"]]],["iroh_net_report",[["impl Display for Report"]]],["iroh_relay",[["impl Display for ConnSendError"],["impl Display for Error"],["impl Display for RelayMap"],["impl Display for RelayNode"]]]]);
if (window.register_implementors) {
window.register_implementors(implementors);
} else {
window.pending_implementors = implementors;
}
})()
-//{"start":57,"fragment_lengths":[1655,1908,299,288,1097]}
\ No newline at end of file
+//{"start":57,"fragment_lengths":[1655,1908,299,288,1103]}
\ No newline at end of file
diff --git a/pr/3068/docs/trait.impl/core/marker/trait.Freeze.js b/pr/3068/docs/trait.impl/core/marker/trait.Freeze.js
index fce6bbc4c6..37c85b2bb1 100644
--- a/pr/3068/docs/trait.impl/core/marker/trait.Freeze.js
+++ b/pr/3068/docs/trait.impl/core/marker/trait.Freeze.js
@@ -1,9 +1,9 @@
(function() {
- var implementors = Object.fromEntries([["iroh",[["impl !Freeze for Incoming",1,["iroh::endpoint::Incoming"]],["impl !Freeze for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl Freeze for IrohAttr",1,["iroh::dns::node_info::IrohAttr"]],["impl Freeze for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl Freeze for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl Freeze for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Freeze for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Freeze for Source",1,["iroh::magicsock::node_map::Source"]],["impl Freeze for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Freeze for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl Freeze for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Freeze for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Freeze for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Freeze for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Freeze for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Freeze for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Freeze for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Freeze for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Freeze for NodeInfo",1,["iroh::dns::node_info::NodeInfo"]],["impl Freeze for Builder",1,["iroh::endpoint::Builder"]],["impl Freeze for Connecting",1,["iroh::endpoint::Connecting"]],["impl Freeze for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Freeze for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl Freeze for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Freeze for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl Freeze for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Freeze for Router",1,["iroh::protocol::Router"]],["impl Freeze for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Freeze for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Freeze for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Freeze for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> !Freeze for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> Freeze for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> Freeze for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<T> Freeze for TxtAttrs<T>",1,["iroh::dns::node_info::TxtAttrs"]],["impl<T> Freeze for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> Freeze for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> Freeze for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl Freeze for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Freeze for Error",1,["iroh_base::ticket::Error"]],["impl Freeze for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl Freeze for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Freeze for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Freeze for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Freeze for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Freeze for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl Freeze for Commands",1,["iroh_bench::Commands"]],["impl Freeze for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Freeze for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Freeze for Opt",1,["iroh_bench::s2n::Opt"]],["impl Freeze for Stats",1,["iroh_bench::stats::Stats"]],["impl Freeze for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Freeze for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Freeze for ClientStats",1,["iroh_bench::ClientStats"]],["impl Freeze for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Freeze for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Freeze for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Freeze for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Freeze for Config",1,["iroh_dns_server::config::Config"]],["impl Freeze for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Freeze for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Freeze for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Freeze for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Freeze for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Freeze for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Freeze for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Freeze for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Freeze for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Freeze for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Freeze for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Freeze for Server",1,["iroh_dns_server::server::Server"]],["impl Freeze for AppState",1,["iroh_dns_server::state::AppState"]],["impl Freeze for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_net_report",[["impl Freeze for Addr",1,["iroh_net_report::Addr"]],["impl Freeze for Client",1,["iroh_net_report::Client"]],["impl Freeze for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl Freeze for Options",1,["iroh_net_report::Options"]],["impl Freeze for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl Freeze for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl Freeze for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl !Freeze for ClientError",1,["iroh_relay::client::ClientError"]],["impl !Freeze for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl !Freeze for MaybeTlsStream",1,["iroh_relay::server::streams::MaybeTlsStream"]],["impl Freeze for Protocol",1,["iroh_relay::http::Protocol"]],["impl Freeze for Error",1,["iroh_relay::protos::stun::Error"]],["impl Freeze for Client",1,["iroh_relay::client::Client"]],["impl Freeze for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Freeze for ClientReceiver",1,["iroh_relay::client::ClientReceiver"]],["impl Freeze for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Freeze for ClientConnRateLimit",1,["iroh_relay::server::ClientConnRateLimit"]],["impl Freeze for Limits",1,["iroh_relay::server::Limits"]],["impl Freeze for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Freeze for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Freeze for Server",1,["iroh_relay::server::Server"]],["impl Freeze for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl Freeze for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl Freeze for Conn",1,["iroh_relay::client::conn::Conn"]],["impl Freeze for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Freeze for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl Freeze for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA> Freeze for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA> Freeze for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA> Freeze for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA> Freeze for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Freeze for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]],["iroh_test",[["impl Freeze for CallOnDrop",1,["iroh_test::CallOnDrop"]]]]]);
+ var implementors = Object.fromEntries([["iroh",[["impl !Freeze for Incoming",1,["iroh::endpoint::Incoming"]],["impl !Freeze for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl Freeze for IrohAttr",1,["iroh::dns::node_info::IrohAttr"]],["impl Freeze for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl Freeze for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl Freeze for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Freeze for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Freeze for Source",1,["iroh::magicsock::node_map::Source"]],["impl Freeze for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Freeze for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl Freeze for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Freeze for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Freeze for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Freeze for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Freeze for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Freeze for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Freeze for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Freeze for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Freeze for NodeInfo",1,["iroh::dns::node_info::NodeInfo"]],["impl Freeze for Builder",1,["iroh::endpoint::Builder"]],["impl Freeze for Connecting",1,["iroh::endpoint::Connecting"]],["impl Freeze for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Freeze for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl Freeze for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Freeze for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl Freeze for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Freeze for Router",1,["iroh::protocol::Router"]],["impl Freeze for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Freeze for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Freeze for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Freeze for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> !Freeze for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> Freeze for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> Freeze for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<T> Freeze for TxtAttrs<T>",1,["iroh::dns::node_info::TxtAttrs"]],["impl<T> Freeze for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> Freeze for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> Freeze for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl Freeze for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Freeze for Error",1,["iroh_base::ticket::Error"]],["impl Freeze for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl Freeze for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Freeze for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Freeze for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Freeze for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Freeze for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl Freeze for Commands",1,["iroh_bench::Commands"]],["impl Freeze for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Freeze for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Freeze for Opt",1,["iroh_bench::s2n::Opt"]],["impl Freeze for Stats",1,["iroh_bench::stats::Stats"]],["impl Freeze for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Freeze for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Freeze for ClientStats",1,["iroh_bench::ClientStats"]],["impl Freeze for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Freeze for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Freeze for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Freeze for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Freeze for Config",1,["iroh_dns_server::config::Config"]],["impl Freeze for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Freeze for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Freeze for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Freeze for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Freeze for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Freeze for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Freeze for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Freeze for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Freeze for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Freeze for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Freeze for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Freeze for Server",1,["iroh_dns_server::server::Server"]],["impl Freeze for AppState",1,["iroh_dns_server::state::AppState"]],["impl Freeze for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_net_report",[["impl Freeze for Addr",1,["iroh_net_report::Addr"]],["impl Freeze for Client",1,["iroh_net_report::Client"]],["impl Freeze for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl Freeze for Options",1,["iroh_net_report::Options"]],["impl Freeze for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl Freeze for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl Freeze for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl !Freeze for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl !Freeze for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl !Freeze for MaybeTlsStream",1,["iroh_relay::server::streams::MaybeTlsStream"]],["impl !Freeze for Client",1,["iroh_relay::client::Client"]],["impl !Freeze for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl Freeze for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl Freeze for Protocol",1,["iroh_relay::http::Protocol"]],["impl Freeze for Error",1,["iroh_relay::protos::stun::Error"]],["impl Freeze for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Freeze for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Freeze for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Freeze for ClientConnRateLimit",1,["iroh_relay::server::ClientConnRateLimit"]],["impl Freeze for Limits",1,["iroh_relay::server::Limits"]],["impl Freeze for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Freeze for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Freeze for Server",1,["iroh_relay::server::Server"]],["impl Freeze for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl Freeze for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl Freeze for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Freeze for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl Freeze for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA> Freeze for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA> Freeze for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA> Freeze for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA> Freeze for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Freeze for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]],["iroh_test",[["impl Freeze for CallOnDrop",1,["iroh_test::CallOnDrop"]]]]]);
if (window.register_implementors) {
window.register_implementors(implementors);
} else {
window.pending_implementors = implementors;
}
})()
-//{"start":57,"fragment_lengths":[12668,2488,2769,6014,2183,8249,313]}
\ No newline at end of file
+//{"start":57,"fragment_lengths":[12668,2488,2769,6014,2183,8622,313]}
\ No newline at end of file
diff --git a/pr/3068/docs/trait.impl/core/marker/trait.Send.js b/pr/3068/docs/trait.impl/core/marker/trait.Send.js
index be3212780a..1cf2e491a2 100644
--- a/pr/3068/docs/trait.impl/core/marker/trait.Send.js
+++ b/pr/3068/docs/trait.impl/core/marker/trait.Send.js
@@ -1,9 +1,9 @@
(function() {
- var implementors = Object.fromEntries([["iroh",[["impl Send for IrohAttr",1,["iroh::dns::node_info::IrohAttr"]],["impl Send for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl Send for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl Send for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Send for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Send for Source",1,["iroh::magicsock::node_map::Source"]],["impl Send for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Send for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl Send for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Send for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Send for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Send for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Send for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Send for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Send for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Send for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Send for NodeInfo",1,["iroh::dns::node_info::NodeInfo"]],["impl Send for Builder",1,["iroh::endpoint::Builder"]],["impl Send for Connecting",1,["iroh::endpoint::Connecting"]],["impl Send for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Send for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl Send for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Send for Incoming",1,["iroh::endpoint::Incoming"]],["impl Send for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl Send for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl Send for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Send for Router",1,["iroh::protocol::Router"]],["impl Send for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Send for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Send for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Send for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> Send for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> Send for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> Send for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<T> Send for TxtAttrs<T>where\n T: Send,",1,["iroh::dns::node_info::TxtAttrs"]],["impl<T> Send for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> Send for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> Send for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl Send for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Send for Error",1,["iroh_base::ticket::Error"]],["impl Send for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl Send for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Send for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Send for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Send for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Send for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl Send for Commands",1,["iroh_bench::Commands"]],["impl Send for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Send for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Send for Opt",1,["iroh_bench::s2n::Opt"]],["impl Send for Stats",1,["iroh_bench::stats::Stats"]],["impl Send for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Send for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Send for ClientStats",1,["iroh_bench::ClientStats"]],["impl Send for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Send for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Send for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Send for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Send for Config",1,["iroh_dns_server::config::Config"]],["impl Send for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Send for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Send for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Send for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Send for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Send for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Send for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Send for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Send for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Send for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Send for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Send for Server",1,["iroh_dns_server::server::Server"]],["impl Send for AppState",1,["iroh_dns_server::state::AppState"]],["impl Send for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_net_report",[["impl Send for Addr",1,["iroh_net_report::Addr"]],["impl Send for Client",1,["iroh_net_report::Client"]],["impl Send for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl Send for Options",1,["iroh_net_report::Options"]],["impl Send for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl Send for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl Send for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl Send for ClientError",1,["iroh_relay::client::ClientError"]],["impl Send for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl Send for Protocol",1,["iroh_relay::http::Protocol"]],["impl Send for Error",1,["iroh_relay::protos::stun::Error"]],["impl Send for MaybeTlsStream",1,["iroh_relay::server::streams::MaybeTlsStream"]],["impl Send for Client",1,["iroh_relay::client::Client"]],["impl Send for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Send for ClientReceiver",1,["iroh_relay::client::ClientReceiver"]],["impl Send for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Send for ClientConnRateLimit",1,["iroh_relay::server::ClientConnRateLimit"]],["impl Send for Limits",1,["iroh_relay::server::Limits"]],["impl Send for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Send for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Send for Server",1,["iroh_relay::server::Server"]],["impl Send for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl Send for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl Send for Conn",1,["iroh_relay::client::conn::Conn"]],["impl Send for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Send for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl Send for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA> Send for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA> Send for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA> Send for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA> Send for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Send for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]],["iroh_test",[["impl !Send for CallOnDrop",1,["iroh_test::CallOnDrop"]]]]]);
+ var implementors = Object.fromEntries([["iroh",[["impl Send for IrohAttr",1,["iroh::dns::node_info::IrohAttr"]],["impl Send for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl Send for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl Send for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Send for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Send for Source",1,["iroh::magicsock::node_map::Source"]],["impl Send for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Send for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl Send for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Send for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Send for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Send for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Send for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Send for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Send for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Send for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Send for NodeInfo",1,["iroh::dns::node_info::NodeInfo"]],["impl Send for Builder",1,["iroh::endpoint::Builder"]],["impl Send for Connecting",1,["iroh::endpoint::Connecting"]],["impl Send for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Send for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl Send for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Send for Incoming",1,["iroh::endpoint::Incoming"]],["impl Send for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl Send for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl Send for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Send for Router",1,["iroh::protocol::Router"]],["impl Send for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Send for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Send for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Send for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> Send for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> Send for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> Send for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<T> Send for TxtAttrs<T>where\n T: Send,",1,["iroh::dns::node_info::TxtAttrs"]],["impl<T> Send for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> Send for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> Send for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl Send for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Send for Error",1,["iroh_base::ticket::Error"]],["impl Send for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl Send for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Send for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Send for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Send for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Send for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl Send for Commands",1,["iroh_bench::Commands"]],["impl Send for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Send for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Send for Opt",1,["iroh_bench::s2n::Opt"]],["impl Send for Stats",1,["iroh_bench::stats::Stats"]],["impl Send for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Send for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Send for ClientStats",1,["iroh_bench::ClientStats"]],["impl Send for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Send for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Send for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Send for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Send for Config",1,["iroh_dns_server::config::Config"]],["impl Send for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Send for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Send for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Send for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Send for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Send for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Send for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Send for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Send for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Send for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Send for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Send for Server",1,["iroh_dns_server::server::Server"]],["impl Send for AppState",1,["iroh_dns_server::state::AppState"]],["impl Send for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_net_report",[["impl Send for Addr",1,["iroh_net_report::Addr"]],["impl Send for Client",1,["iroh_net_report::Client"]],["impl Send for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl Send for Options",1,["iroh_net_report::Options"]],["impl Send for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl Send for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl Send for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl Send for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl Send for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl Send for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl Send for Protocol",1,["iroh_relay::http::Protocol"]],["impl Send for Error",1,["iroh_relay::protos::stun::Error"]],["impl Send for MaybeTlsStream",1,["iroh_relay::server::streams::MaybeTlsStream"]],["impl Send for Client",1,["iroh_relay::client::Client"]],["impl Send for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Send for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl Send for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Send for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Send for ClientConnRateLimit",1,["iroh_relay::server::ClientConnRateLimit"]],["impl Send for Limits",1,["iroh_relay::server::Limits"]],["impl Send for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Send for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Send for Server",1,["iroh_relay::server::Server"]],["impl Send for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl Send for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl Send for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Send for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl Send for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA> Send for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA> Send for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA> Send for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA> Send for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Send for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]],["iroh_test",[["impl !Send for CallOnDrop",1,["iroh_test::CallOnDrop"]]]]]);
if (window.register_implementors) {
window.register_implementors(implementors);
} else {
window.pending_implementors = implementors;
}
})()
-//{"start":57,"fragment_lengths":[14167,2440,2715,5906,2141,8096,308]}
\ No newline at end of file
+//{"start":57,"fragment_lengths":[14167,2440,2715,5906,2141,8461,308]}
\ No newline at end of file
diff --git a/pr/3068/docs/trait.impl/core/marker/trait.Sync.js b/pr/3068/docs/trait.impl/core/marker/trait.Sync.js
index d210c04eca..d18d88b105 100644
--- a/pr/3068/docs/trait.impl/core/marker/trait.Sync.js
+++ b/pr/3068/docs/trait.impl/core/marker/trait.Sync.js
@@ -1,9 +1,9 @@
(function() {
- var implementors = Object.fromEntries([["iroh",[["impl Sync for IrohAttr",1,["iroh::dns::node_info::IrohAttr"]],["impl Sync for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl Sync for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl Sync for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Sync for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Sync for Source",1,["iroh::magicsock::node_map::Source"]],["impl Sync for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Sync for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl Sync for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Sync for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Sync for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Sync for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Sync for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Sync for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Sync for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Sync for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Sync for NodeInfo",1,["iroh::dns::node_info::NodeInfo"]],["impl Sync for Builder",1,["iroh::endpoint::Builder"]],["impl Sync for Connecting",1,["iroh::endpoint::Connecting"]],["impl Sync for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Sync for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl Sync for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Sync for Incoming",1,["iroh::endpoint::Incoming"]],["impl Sync for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl Sync for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl Sync for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Sync for Router",1,["iroh::protocol::Router"]],["impl Sync for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Sync for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Sync for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Sync for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> Sync for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> Sync for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> Sync for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<T> Sync for TxtAttrs<T>where\n T: Sync,",1,["iroh::dns::node_info::TxtAttrs"]],["impl<T> Sync for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> Sync for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> Sync for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl Sync for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Sync for Error",1,["iroh_base::ticket::Error"]],["impl Sync for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl Sync for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Sync for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Sync for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Sync for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Sync for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl Sync for Commands",1,["iroh_bench::Commands"]],["impl Sync for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Sync for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Sync for Opt",1,["iroh_bench::s2n::Opt"]],["impl Sync for Stats",1,["iroh_bench::stats::Stats"]],["impl Sync for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Sync for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Sync for ClientStats",1,["iroh_bench::ClientStats"]],["impl Sync for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Sync for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Sync for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Sync for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Sync for Config",1,["iroh_dns_server::config::Config"]],["impl Sync for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Sync for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Sync for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Sync for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Sync for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Sync for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Sync for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Sync for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Sync for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Sync for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Sync for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Sync for Server",1,["iroh_dns_server::server::Server"]],["impl Sync for AppState",1,["iroh_dns_server::state::AppState"]],["impl Sync for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_net_report",[["impl Sync for Addr",1,["iroh_net_report::Addr"]],["impl Sync for Client",1,["iroh_net_report::Client"]],["impl Sync for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl Sync for Options",1,["iroh_net_report::Options"]],["impl Sync for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl Sync for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl Sync for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl Sync for ClientError",1,["iroh_relay::client::ClientError"]],["impl Sync for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl Sync for Protocol",1,["iroh_relay::http::Protocol"]],["impl Sync for Error",1,["iroh_relay::protos::stun::Error"]],["impl Sync for MaybeTlsStream",1,["iroh_relay::server::streams::MaybeTlsStream"]],["impl Sync for Client",1,["iroh_relay::client::Client"]],["impl Sync for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Sync for ClientReceiver",1,["iroh_relay::client::ClientReceiver"]],["impl Sync for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Sync for ClientConnRateLimit",1,["iroh_relay::server::ClientConnRateLimit"]],["impl Sync for Limits",1,["iroh_relay::server::Limits"]],["impl Sync for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Sync for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Sync for Server",1,["iroh_relay::server::Server"]],["impl Sync for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl Sync for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl Sync for Conn",1,["iroh_relay::client::conn::Conn"]],["impl Sync for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Sync for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl Sync for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA = EC> !Sync for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA = EC> !Sync for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA = EC> !Sync for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA = EC> !Sync for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Sync for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]],["iroh_test",[["impl !Sync for CallOnDrop",1,["iroh_test::CallOnDrop"]]]]]);
+ var implementors = Object.fromEntries([["iroh",[["impl Sync for IrohAttr",1,["iroh::dns::node_info::IrohAttr"]],["impl Sync for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl Sync for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl Sync for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Sync for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Sync for Source",1,["iroh::magicsock::node_map::Source"]],["impl Sync for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Sync for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl Sync for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Sync for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Sync for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Sync for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Sync for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Sync for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Sync for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Sync for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Sync for NodeInfo",1,["iroh::dns::node_info::NodeInfo"]],["impl Sync for Builder",1,["iroh::endpoint::Builder"]],["impl Sync for Connecting",1,["iroh::endpoint::Connecting"]],["impl Sync for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Sync for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl Sync for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Sync for Incoming",1,["iroh::endpoint::Incoming"]],["impl Sync for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl Sync for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl Sync for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Sync for Router",1,["iroh::protocol::Router"]],["impl Sync for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Sync for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Sync for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Sync for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> Sync for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> Sync for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> Sync for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<T> Sync for TxtAttrs<T>where\n T: Sync,",1,["iroh::dns::node_info::TxtAttrs"]],["impl<T> Sync for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> Sync for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> Sync for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl Sync for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Sync for Error",1,["iroh_base::ticket::Error"]],["impl Sync for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl Sync for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Sync for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Sync for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Sync for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Sync for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl Sync for Commands",1,["iroh_bench::Commands"]],["impl Sync for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Sync for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Sync for Opt",1,["iroh_bench::s2n::Opt"]],["impl Sync for Stats",1,["iroh_bench::stats::Stats"]],["impl Sync for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Sync for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Sync for ClientStats",1,["iroh_bench::ClientStats"]],["impl Sync for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Sync for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Sync for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Sync for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Sync for Config",1,["iroh_dns_server::config::Config"]],["impl Sync for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Sync for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Sync for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Sync for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Sync for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Sync for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Sync for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Sync for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Sync for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Sync for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Sync for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Sync for Server",1,["iroh_dns_server::server::Server"]],["impl Sync for AppState",1,["iroh_dns_server::state::AppState"]],["impl Sync for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_net_report",[["impl Sync for Addr",1,["iroh_net_report::Addr"]],["impl Sync for Client",1,["iroh_net_report::Client"]],["impl Sync for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl Sync for Options",1,["iroh_net_report::Options"]],["impl Sync for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl Sync for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl Sync for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl Sync for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl Sync for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl Sync for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl Sync for Protocol",1,["iroh_relay::http::Protocol"]],["impl Sync for Error",1,["iroh_relay::protos::stun::Error"]],["impl Sync for MaybeTlsStream",1,["iroh_relay::server::streams::MaybeTlsStream"]],["impl Sync for Client",1,["iroh_relay::client::Client"]],["impl Sync for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Sync for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl Sync for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Sync for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Sync for ClientConnRateLimit",1,["iroh_relay::server::ClientConnRateLimit"]],["impl Sync for Limits",1,["iroh_relay::server::Limits"]],["impl Sync for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Sync for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Sync for Server",1,["iroh_relay::server::Server"]],["impl Sync for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl Sync for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl Sync for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Sync for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl Sync for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA = EC> !Sync for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA = EC> !Sync for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA = EC> !Sync for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA = EC> !Sync for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Sync for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]],["iroh_test",[["impl !Sync for CallOnDrop",1,["iroh_test::CallOnDrop"]]]]]);
if (window.register_implementors) {
window.register_implementors(implementors);
} else {
window.pending_implementors = implementors;
}
})()
-//{"start":57,"fragment_lengths":[14167,2440,2715,5906,2141,8120,308]}
\ No newline at end of file
+//{"start":57,"fragment_lengths":[14167,2440,2715,5906,2141,8485,308]}
\ No newline at end of file
diff --git a/pr/3068/docs/trait.impl/core/marker/trait.Unpin.js b/pr/3068/docs/trait.impl/core/marker/trait.Unpin.js
index 6644a64727..cd905dd930 100644
--- a/pr/3068/docs/trait.impl/core/marker/trait.Unpin.js
+++ b/pr/3068/docs/trait.impl/core/marker/trait.Unpin.js
@@ -1,9 +1,9 @@
(function() {
- var implementors = Object.fromEntries([["iroh",[["impl Unpin for IrohAttr",1,["iroh::dns::node_info::IrohAttr"]],["impl Unpin for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl Unpin for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl Unpin for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Unpin for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Unpin for Source",1,["iroh::magicsock::node_map::Source"]],["impl Unpin for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Unpin for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl Unpin for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Unpin for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Unpin for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Unpin for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Unpin for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Unpin for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Unpin for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Unpin for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Unpin for NodeInfo",1,["iroh::dns::node_info::NodeInfo"]],["impl Unpin for Builder",1,["iroh::endpoint::Builder"]],["impl Unpin for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Unpin for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl Unpin for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Unpin for Incoming",1,["iroh::endpoint::Incoming"]],["impl Unpin for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl Unpin for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Unpin for Router",1,["iroh::protocol::Router"]],["impl Unpin for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Unpin for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Unpin for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Unpin for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a, T> Unpin for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> Unpin for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<'pin> Unpin for Connectingwhere\n PinnedFieldsOf<__Connecting<'pin>>: Unpin,"],["impl<'pin> Unpin for IncomingFuturewhere\n PinnedFieldsOf<__IncomingFuture<'pin>>: Unpin,"],["impl<'pin, 'a> Unpin for Accept<'a>where\n PinnedFieldsOf<__Accept<'pin, 'a>>: Unpin,"],["impl<T> Unpin for TxtAttrs<T>",1,["iroh::dns::node_info::TxtAttrs"]],["impl<T> Unpin for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> Unpin for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> Unpin for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl Unpin for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Unpin for Error",1,["iroh_base::ticket::Error"]],["impl Unpin for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl Unpin for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Unpin for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Unpin for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Unpin for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Unpin for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl Unpin for Commands",1,["iroh_bench::Commands"]],["impl Unpin for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Unpin for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Unpin for Opt",1,["iroh_bench::s2n::Opt"]],["impl Unpin for Stats",1,["iroh_bench::stats::Stats"]],["impl Unpin for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Unpin for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Unpin for ClientStats",1,["iroh_bench::ClientStats"]],["impl Unpin for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Unpin for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Unpin for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Unpin for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Unpin for Config",1,["iroh_dns_server::config::Config"]],["impl Unpin for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Unpin for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Unpin for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Unpin for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Unpin for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Unpin for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Unpin for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Unpin for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Unpin for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Unpin for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Unpin for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Unpin for Server",1,["iroh_dns_server::server::Server"]],["impl Unpin for AppState",1,["iroh_dns_server::state::AppState"]],["impl Unpin for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_net_report",[["impl Unpin for Addr",1,["iroh_net_report::Addr"]],["impl Unpin for Client",1,["iroh_net_report::Client"]],["impl Unpin for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl Unpin for Options",1,["iroh_net_report::Options"]],["impl Unpin for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl Unpin for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl Unpin for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl Unpin for ClientError",1,["iroh_relay::client::ClientError"]],["impl Unpin for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl Unpin for Protocol",1,["iroh_relay::http::Protocol"]],["impl Unpin for Error",1,["iroh_relay::protos::stun::Error"]],["impl Unpin for MaybeTlsStream",1,["iroh_relay::server::streams::MaybeTlsStream"]],["impl Unpin for Client",1,["iroh_relay::client::Client"]],["impl Unpin for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Unpin for ClientReceiver",1,["iroh_relay::client::ClientReceiver"]],["impl Unpin for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Unpin for ClientConnRateLimit",1,["iroh_relay::server::ClientConnRateLimit"]],["impl Unpin for Limits",1,["iroh_relay::server::Limits"]],["impl Unpin for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Unpin for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Unpin for Server",1,["iroh_relay::server::Server"]],["impl Unpin for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl Unpin for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl Unpin for Conn",1,["iroh_relay::client::conn::Conn"]],["impl Unpin for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Unpin for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl Unpin for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA> Unpin for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA> Unpin for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA> Unpin for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA> Unpin for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Unpin for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]],["iroh_test",[["impl Unpin for CallOnDrop",1,["iroh_test::CallOnDrop"]]]]]);
+ var implementors = Object.fromEntries([["iroh",[["impl Unpin for IrohAttr",1,["iroh::dns::node_info::IrohAttr"]],["impl Unpin for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl Unpin for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl Unpin for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl Unpin for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl Unpin for Source",1,["iroh::magicsock::node_map::Source"]],["impl Unpin for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl Unpin for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl Unpin for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl Unpin for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl Unpin for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl Unpin for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl Unpin for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl Unpin for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl Unpin for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl Unpin for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl Unpin for NodeInfo",1,["iroh::dns::node_info::NodeInfo"]],["impl Unpin for Builder",1,["iroh::endpoint::Builder"]],["impl Unpin for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl Unpin for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl Unpin for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl Unpin for Incoming",1,["iroh::endpoint::Incoming"]],["impl Unpin for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl Unpin for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl Unpin for Router",1,["iroh::protocol::Router"]],["impl Unpin for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl Unpin for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl Unpin for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl Unpin for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a, T> Unpin for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> Unpin for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<'pin> Unpin for Connectingwhere\n PinnedFieldsOf<__Connecting<'pin>>: Unpin,"],["impl<'pin> Unpin for IncomingFuturewhere\n PinnedFieldsOf<__IncomingFuture<'pin>>: Unpin,"],["impl<'pin, 'a> Unpin for Accept<'a>where\n PinnedFieldsOf<__Accept<'pin, 'a>>: Unpin,"],["impl<T> Unpin for TxtAttrs<T>",1,["iroh::dns::node_info::TxtAttrs"]],["impl<T> Unpin for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> Unpin for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> Unpin for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl Unpin for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl Unpin for Error",1,["iroh_base::ticket::Error"]],["impl Unpin for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl Unpin for PublicKey",1,["iroh_base::key::PublicKey"]],["impl Unpin for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl Unpin for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl Unpin for SecretKey",1,["iroh_base::key::SecretKey"]],["impl Unpin for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl Unpin for Commands",1,["iroh_bench::Commands"]],["impl Unpin for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl Unpin for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl Unpin for Opt",1,["iroh_bench::s2n::Opt"]],["impl Unpin for Stats",1,["iroh_bench::stats::Stats"]],["impl Unpin for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl Unpin for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl Unpin for ClientStats",1,["iroh_bench::ClientStats"]],["impl Unpin for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl Unpin for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl Unpin for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl Unpin for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl Unpin for Config",1,["iroh_dns_server::config::Config"]],["impl Unpin for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl Unpin for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl Unpin for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl Unpin for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl Unpin for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl Unpin for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl Unpin for Handle",1,["iroh_dns_server::dns::Handle"]],["impl Unpin for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl Unpin for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl Unpin for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl Unpin for Metrics",1,["iroh_dns_server::metrics::Metrics"]],["impl Unpin for Server",1,["iroh_dns_server::server::Server"]],["impl Unpin for AppState",1,["iroh_dns_server::state::AppState"]],["impl Unpin for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]]]],["iroh_net_report",[["impl Unpin for Addr",1,["iroh_net_report::Addr"]],["impl Unpin for Client",1,["iroh_net_report::Client"]],["impl Unpin for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl Unpin for Options",1,["iroh_net_report::Options"]],["impl Unpin for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl Unpin for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl Unpin for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl Unpin for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl Unpin for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl Unpin for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl Unpin for Protocol",1,["iroh_relay::http::Protocol"]],["impl Unpin for Error",1,["iroh_relay::protos::stun::Error"]],["impl Unpin for MaybeTlsStream",1,["iroh_relay::server::streams::MaybeTlsStream"]],["impl Unpin for Client",1,["iroh_relay::client::Client"]],["impl Unpin for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl Unpin for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl Unpin for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl Unpin for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl Unpin for ClientConnRateLimit",1,["iroh_relay::server::ClientConnRateLimit"]],["impl Unpin for Limits",1,["iroh_relay::server::Limits"]],["impl Unpin for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl Unpin for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl Unpin for Server",1,["iroh_relay::server::Server"]],["impl Unpin for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl Unpin for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl Unpin for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl Unpin for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl Unpin for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA> Unpin for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA> Unpin for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA> Unpin for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA> Unpin for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> Unpin for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]],["iroh_test",[["impl Unpin for CallOnDrop",1,["iroh_test::CallOnDrop"]]]]]);
if (window.register_implementors) {
window.register_implementors(implementors);
} else {
window.pending_implementors = implementors;
}
})()
-//{"start":57,"fragment_lengths":[13155,2464,2742,5960,2162,8171,310]}
\ No newline at end of file
+//{"start":57,"fragment_lengths":[13155,2464,2742,5960,2162,8539,310]}
\ No newline at end of file
diff --git a/pr/3068/docs/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js b/pr/3068/docs/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js
index 0350daa765..db06728b8c 100644
--- a/pr/3068/docs/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js
+++ b/pr/3068/docs/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js
@@ -1,9 +1,9 @@
(function() {
- var implementors = Object.fromEntries([["iroh",[["impl !RefUnwindSafe for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl !RefUnwindSafe for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl !RefUnwindSafe for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl !RefUnwindSafe for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl !RefUnwindSafe for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl !RefUnwindSafe for Builder",1,["iroh::endpoint::Builder"]],["impl !RefUnwindSafe for Connecting",1,["iroh::endpoint::Connecting"]],["impl !RefUnwindSafe for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl !RefUnwindSafe for Incoming",1,["iroh::endpoint::Incoming"]],["impl !RefUnwindSafe for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl !RefUnwindSafe for Router",1,["iroh::protocol::Router"]],["impl !RefUnwindSafe for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl !RefUnwindSafe for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl !RefUnwindSafe for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl RefUnwindSafe for IrohAttr",1,["iroh::dns::node_info::IrohAttr"]],["impl RefUnwindSafe for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl RefUnwindSafe for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl RefUnwindSafe for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl RefUnwindSafe for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl RefUnwindSafe for Source",1,["iroh::magicsock::node_map::Source"]],["impl RefUnwindSafe for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl RefUnwindSafe for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl RefUnwindSafe for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl RefUnwindSafe for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl RefUnwindSafe for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl RefUnwindSafe for NodeInfo",1,["iroh::dns::node_info::NodeInfo"]],["impl RefUnwindSafe for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl RefUnwindSafe for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl RefUnwindSafe for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl RefUnwindSafe for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl RefUnwindSafe for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> !RefUnwindSafe for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> RefUnwindSafe for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> RefUnwindSafe for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<T> RefUnwindSafe for TxtAttrs<T>where\n T: RefUnwindSafe,",1,["iroh::dns::node_info::TxtAttrs"]],["impl<T> RefUnwindSafe for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> RefUnwindSafe for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> RefUnwindSafe for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl !RefUnwindSafe for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl RefUnwindSafe for Error",1,["iroh_base::ticket::Error"]],["impl RefUnwindSafe for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl RefUnwindSafe for PublicKey",1,["iroh_base::key::PublicKey"]],["impl RefUnwindSafe for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl RefUnwindSafe for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl RefUnwindSafe for SecretKey",1,["iroh_base::key::SecretKey"]],["impl RefUnwindSafe for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl !RefUnwindSafe for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl RefUnwindSafe for Commands",1,["iroh_bench::Commands"]],["impl RefUnwindSafe for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl RefUnwindSafe for Opt",1,["iroh_bench::s2n::Opt"]],["impl RefUnwindSafe for Stats",1,["iroh_bench::stats::Stats"]],["impl RefUnwindSafe for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl RefUnwindSafe for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl RefUnwindSafe for ClientStats",1,["iroh_bench::ClientStats"]],["impl RefUnwindSafe for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl !RefUnwindSafe for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl !RefUnwindSafe for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl !RefUnwindSafe for Handle",1,["iroh_dns_server::dns::Handle"]],["impl !RefUnwindSafe for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl !RefUnwindSafe for Server",1,["iroh_dns_server::server::Server"]],["impl !RefUnwindSafe for AppState",1,["iroh_dns_server::state::AppState"]],["impl !RefUnwindSafe for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]],["impl RefUnwindSafe for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl RefUnwindSafe for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl RefUnwindSafe for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl RefUnwindSafe for Config",1,["iroh_dns_server::config::Config"]],["impl RefUnwindSafe for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl RefUnwindSafe for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl RefUnwindSafe for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl RefUnwindSafe for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl RefUnwindSafe for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl RefUnwindSafe for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl RefUnwindSafe for Metrics",1,["iroh_dns_server::metrics::Metrics"]]]],["iroh_net_report",[["impl !RefUnwindSafe for Options",1,["iroh_net_report::Options"]],["impl !RefUnwindSafe for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl RefUnwindSafe for Addr",1,["iroh_net_report::Addr"]],["impl RefUnwindSafe for Client",1,["iroh_net_report::Client"]],["impl RefUnwindSafe for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl RefUnwindSafe for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl RefUnwindSafe for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl !RefUnwindSafe for ClientError",1,["iroh_relay::client::ClientError"]],["impl !RefUnwindSafe for MaybeTlsStream",1,["iroh_relay::server::streams::MaybeTlsStream"]],["impl !RefUnwindSafe for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl !RefUnwindSafe for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl !RefUnwindSafe for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl RefUnwindSafe for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl RefUnwindSafe for Protocol",1,["iroh_relay::http::Protocol"]],["impl RefUnwindSafe for Error",1,["iroh_relay::protos::stun::Error"]],["impl RefUnwindSafe for Client",1,["iroh_relay::client::Client"]],["impl RefUnwindSafe for ClientReceiver",1,["iroh_relay::client::ClientReceiver"]],["impl RefUnwindSafe for ClientConnRateLimit",1,["iroh_relay::server::ClientConnRateLimit"]],["impl RefUnwindSafe for Limits",1,["iroh_relay::server::Limits"]],["impl RefUnwindSafe for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl RefUnwindSafe for Server",1,["iroh_relay::server::Server"]],["impl RefUnwindSafe for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl RefUnwindSafe for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl RefUnwindSafe for Conn",1,["iroh_relay::client::conn::Conn"]],["impl RefUnwindSafe for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl RefUnwindSafe for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl RefUnwindSafe for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> !RefUnwindSafe for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]],["iroh_test",[["impl !RefUnwindSafe for CallOnDrop",1,["iroh_test::CallOnDrop"]]]]]);
+ var implementors = Object.fromEntries([["iroh",[["impl !RefUnwindSafe for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl !RefUnwindSafe for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl !RefUnwindSafe for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl !RefUnwindSafe for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl !RefUnwindSafe for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl !RefUnwindSafe for Builder",1,["iroh::endpoint::Builder"]],["impl !RefUnwindSafe for Connecting",1,["iroh::endpoint::Connecting"]],["impl !RefUnwindSafe for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl !RefUnwindSafe for Incoming",1,["iroh::endpoint::Incoming"]],["impl !RefUnwindSafe for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl !RefUnwindSafe for Router",1,["iroh::protocol::Router"]],["impl !RefUnwindSafe for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl !RefUnwindSafe for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl !RefUnwindSafe for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl RefUnwindSafe for IrohAttr",1,["iroh::dns::node_info::IrohAttr"]],["impl RefUnwindSafe for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl RefUnwindSafe for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl RefUnwindSafe for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl RefUnwindSafe for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl RefUnwindSafe for Source",1,["iroh::magicsock::node_map::Source"]],["impl RefUnwindSafe for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl RefUnwindSafe for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl RefUnwindSafe for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl RefUnwindSafe for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl RefUnwindSafe for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl RefUnwindSafe for NodeInfo",1,["iroh::dns::node_info::NodeInfo"]],["impl RefUnwindSafe for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl RefUnwindSafe for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl RefUnwindSafe for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl RefUnwindSafe for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl RefUnwindSafe for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> !RefUnwindSafe for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> RefUnwindSafe for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> RefUnwindSafe for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<T> RefUnwindSafe for TxtAttrs<T>where\n T: RefUnwindSafe,",1,["iroh::dns::node_info::TxtAttrs"]],["impl<T> RefUnwindSafe for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> RefUnwindSafe for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> RefUnwindSafe for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl !RefUnwindSafe for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl RefUnwindSafe for Error",1,["iroh_base::ticket::Error"]],["impl RefUnwindSafe for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl RefUnwindSafe for PublicKey",1,["iroh_base::key::PublicKey"]],["impl RefUnwindSafe for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl RefUnwindSafe for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl RefUnwindSafe for SecretKey",1,["iroh_base::key::SecretKey"]],["impl RefUnwindSafe for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl !RefUnwindSafe for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl RefUnwindSafe for Commands",1,["iroh_bench::Commands"]],["impl RefUnwindSafe for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl RefUnwindSafe for Opt",1,["iroh_bench::s2n::Opt"]],["impl RefUnwindSafe for Stats",1,["iroh_bench::stats::Stats"]],["impl RefUnwindSafe for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl RefUnwindSafe for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl RefUnwindSafe for ClientStats",1,["iroh_bench::ClientStats"]],["impl RefUnwindSafe for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl !RefUnwindSafe for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl !RefUnwindSafe for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl !RefUnwindSafe for Handle",1,["iroh_dns_server::dns::Handle"]],["impl !RefUnwindSafe for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl !RefUnwindSafe for Server",1,["iroh_dns_server::server::Server"]],["impl !RefUnwindSafe for AppState",1,["iroh_dns_server::state::AppState"]],["impl !RefUnwindSafe for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]],["impl RefUnwindSafe for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl RefUnwindSafe for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl RefUnwindSafe for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl RefUnwindSafe for Config",1,["iroh_dns_server::config::Config"]],["impl RefUnwindSafe for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl RefUnwindSafe for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl RefUnwindSafe for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl RefUnwindSafe for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl RefUnwindSafe for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl RefUnwindSafe for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl RefUnwindSafe for Metrics",1,["iroh_dns_server::metrics::Metrics"]]]],["iroh_net_report",[["impl !RefUnwindSafe for Options",1,["iroh_net_report::Options"]],["impl !RefUnwindSafe for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl RefUnwindSafe for Addr",1,["iroh_net_report::Addr"]],["impl RefUnwindSafe for Client",1,["iroh_net_report::Client"]],["impl RefUnwindSafe for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl RefUnwindSafe for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl RefUnwindSafe for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl !RefUnwindSafe for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl !RefUnwindSafe for MaybeTlsStream",1,["iroh_relay::server::streams::MaybeTlsStream"]],["impl !RefUnwindSafe for Client",1,["iroh_relay::client::Client"]],["impl !RefUnwindSafe for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl !RefUnwindSafe for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl !RefUnwindSafe for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl !RefUnwindSafe for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl !RefUnwindSafe for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl RefUnwindSafe for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl RefUnwindSafe for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl RefUnwindSafe for Protocol",1,["iroh_relay::http::Protocol"]],["impl RefUnwindSafe for Error",1,["iroh_relay::protos::stun::Error"]],["impl RefUnwindSafe for ClientConnRateLimit",1,["iroh_relay::server::ClientConnRateLimit"]],["impl RefUnwindSafe for Limits",1,["iroh_relay::server::Limits"]],["impl RefUnwindSafe for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl RefUnwindSafe for Server",1,["iroh_relay::server::Server"]],["impl RefUnwindSafe for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl RefUnwindSafe for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl RefUnwindSafe for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl RefUnwindSafe for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl RefUnwindSafe for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA = EC> !RefUnwindSafe for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> !RefUnwindSafe for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]],["iroh_test",[["impl !RefUnwindSafe for CallOnDrop",1,["iroh_test::CallOnDrop"]]]]]);
if (window.register_implementors) {
window.register_implementors(implementors);
} else {
window.pending_implementors = implementors;
}
})()
-//{"start":57,"fragment_lengths":[14577,2841,3166,6813,2493,9376,358]}
\ No newline at end of file
+//{"start":57,"fragment_lengths":[14577,2841,3166,6813,2493,9794,358]}
\ No newline at end of file
diff --git a/pr/3068/docs/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js b/pr/3068/docs/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js
index d4a2f1b473..b64f22c3b3 100644
--- a/pr/3068/docs/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js
+++ b/pr/3068/docs/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js
@@ -1,9 +1,9 @@
(function() {
- var implementors = Object.fromEntries([["iroh",[["impl !UnwindSafe for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl !UnwindSafe for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl !UnwindSafe for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl !UnwindSafe for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl !UnwindSafe for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl !UnwindSafe for Builder",1,["iroh::endpoint::Builder"]],["impl !UnwindSafe for Connecting",1,["iroh::endpoint::Connecting"]],["impl !UnwindSafe for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl !UnwindSafe for Incoming",1,["iroh::endpoint::Incoming"]],["impl !UnwindSafe for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl !UnwindSafe for Router",1,["iroh::protocol::Router"]],["impl !UnwindSafe for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl !UnwindSafe for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl !UnwindSafe for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl UnwindSafe for IrohAttr",1,["iroh::dns::node_info::IrohAttr"]],["impl UnwindSafe for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl UnwindSafe for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl UnwindSafe for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl UnwindSafe for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl UnwindSafe for Source",1,["iroh::magicsock::node_map::Source"]],["impl UnwindSafe for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl UnwindSafe for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl UnwindSafe for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl UnwindSafe for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl UnwindSafe for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl UnwindSafe for NodeInfo",1,["iroh::dns::node_info::NodeInfo"]],["impl UnwindSafe for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl UnwindSafe for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl UnwindSafe for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl UnwindSafe for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl UnwindSafe for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> !UnwindSafe for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> !UnwindSafe for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> !UnwindSafe for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<T> UnwindSafe for TxtAttrs<T>where\n T: RefUnwindSafe,",1,["iroh::dns::node_info::TxtAttrs"]],["impl<T> UnwindSafe for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> UnwindSafe for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> UnwindSafe for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl !UnwindSafe for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl UnwindSafe for Error",1,["iroh_base::ticket::Error"]],["impl UnwindSafe for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl UnwindSafe for PublicKey",1,["iroh_base::key::PublicKey"]],["impl UnwindSafe for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl UnwindSafe for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl UnwindSafe for SecretKey",1,["iroh_base::key::SecretKey"]],["impl UnwindSafe for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl !UnwindSafe for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl UnwindSafe for Commands",1,["iroh_bench::Commands"]],["impl UnwindSafe for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl UnwindSafe for Opt",1,["iroh_bench::s2n::Opt"]],["impl UnwindSafe for Stats",1,["iroh_bench::stats::Stats"]],["impl UnwindSafe for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl UnwindSafe for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl UnwindSafe for ClientStats",1,["iroh_bench::ClientStats"]],["impl UnwindSafe for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl !UnwindSafe for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl !UnwindSafe for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl !UnwindSafe for Handle",1,["iroh_dns_server::dns::Handle"]],["impl !UnwindSafe for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl !UnwindSafe for Server",1,["iroh_dns_server::server::Server"]],["impl !UnwindSafe for AppState",1,["iroh_dns_server::state::AppState"]],["impl !UnwindSafe for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]],["impl UnwindSafe for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl UnwindSafe for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl UnwindSafe for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl UnwindSafe for Config",1,["iroh_dns_server::config::Config"]],["impl UnwindSafe for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl UnwindSafe for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl UnwindSafe for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl UnwindSafe for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl UnwindSafe for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl UnwindSafe for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl UnwindSafe for Metrics",1,["iroh_dns_server::metrics::Metrics"]]]],["iroh_net_report",[["impl !UnwindSafe for Options",1,["iroh_net_report::Options"]],["impl !UnwindSafe for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl UnwindSafe for Addr",1,["iroh_net_report::Addr"]],["impl UnwindSafe for Client",1,["iroh_net_report::Client"]],["impl UnwindSafe for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl UnwindSafe for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl UnwindSafe for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl !UnwindSafe for ClientError",1,["iroh_relay::client::ClientError"]],["impl !UnwindSafe for MaybeTlsStream",1,["iroh_relay::server::streams::MaybeTlsStream"]],["impl !UnwindSafe for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl !UnwindSafe for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl !UnwindSafe for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl UnwindSafe for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl UnwindSafe for Protocol",1,["iroh_relay::http::Protocol"]],["impl UnwindSafe for Error",1,["iroh_relay::protos::stun::Error"]],["impl UnwindSafe for Client",1,["iroh_relay::client::Client"]],["impl UnwindSafe for ClientReceiver",1,["iroh_relay::client::ClientReceiver"]],["impl UnwindSafe for ClientConnRateLimit",1,["iroh_relay::server::ClientConnRateLimit"]],["impl UnwindSafe for Limits",1,["iroh_relay::server::Limits"]],["impl UnwindSafe for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl UnwindSafe for Server",1,["iroh_relay::server::Server"]],["impl UnwindSafe for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl UnwindSafe for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl UnwindSafe for Conn",1,["iroh_relay::client::conn::Conn"]],["impl UnwindSafe for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl UnwindSafe for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl UnwindSafe for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA = EC> !UnwindSafe for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA = EC> !UnwindSafe for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA = EC> !UnwindSafe for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA = EC> !UnwindSafe for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> !UnwindSafe for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]],["iroh_test",[["impl !UnwindSafe for CallOnDrop",1,["iroh_test::CallOnDrop"]]]]]);
+ var implementors = Object.fromEntries([["iroh",[["impl !UnwindSafe for Builder",1,["iroh::discovery::pkarr::dht::Builder"]],["impl !UnwindSafe for DhtDiscovery",1,["iroh::discovery::pkarr::dht::DhtDiscovery"]],["impl !UnwindSafe for PkarrRelayClient",1,["iroh::discovery::pkarr::PkarrRelayClient"]],["impl !UnwindSafe for PkarrResolver",1,["iroh::discovery::pkarr::PkarrResolver"]],["impl !UnwindSafe for ConcurrentDiscovery",1,["iroh::discovery::ConcurrentDiscovery"]],["impl !UnwindSafe for Builder",1,["iroh::endpoint::Builder"]],["impl !UnwindSafe for Connecting",1,["iroh::endpoint::Connecting"]],["impl !UnwindSafe for Endpoint",1,["iroh::endpoint::Endpoint"]],["impl !UnwindSafe for Incoming",1,["iroh::endpoint::Incoming"]],["impl !UnwindSafe for IncomingFuture",1,["iroh::endpoint::IncomingFuture"]],["impl !UnwindSafe for Router",1,["iroh::protocol::Router"]],["impl !UnwindSafe for RouterBuilder",1,["iroh::protocol::RouterBuilder"]],["impl !UnwindSafe for CleanupDropGuard",1,["iroh::test_utils::CleanupDropGuard"]],["impl !UnwindSafe for DnsPkarrServer",1,["iroh::test_utils::dns_and_pkarr_servers::DnsPkarrServer"]],["impl UnwindSafe for IrohAttr",1,["iroh::dns::node_info::IrohAttr"]],["impl UnwindSafe for ConnectionType",1,["iroh::magicsock::node_map::node_state::ConnectionType"]],["impl UnwindSafe for ControlMsg",1,["iroh::magicsock::node_map::node_state::ControlMsg"]],["impl UnwindSafe for DirectAddrType",1,["iroh::magicsock::DirectAddrType"]],["impl UnwindSafe for RelayMode",1,["iroh::endpoint::RelayMode"]],["impl UnwindSafe for Source",1,["iroh::magicsock::node_map::Source"]],["impl UnwindSafe for DnsDiscovery",1,["iroh::discovery::dns::DnsDiscovery"]],["impl UnwindSafe for LocalSwarmDiscovery",1,["iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery"]],["impl UnwindSafe for PkarrPublisher",1,["iroh::discovery::pkarr::PkarrPublisher"]],["impl UnwindSafe for StaticProvider",1,["iroh::discovery::static_provider::StaticProvider"]],["impl UnwindSafe for DiscoveryItem",1,["iroh::discovery::DiscoveryItem"]],["impl UnwindSafe for NodeInfo",1,["iroh::dns::node_info::NodeInfo"]],["impl UnwindSafe for DirectAddr",1,["iroh::magicsock::DirectAddr"]],["impl UnwindSafe for DirectAddrInfo",1,["iroh::magicsock::node_map::node_state::DirectAddrInfo"]],["impl UnwindSafe for RemoteInfo",1,["iroh::magicsock::node_map::node_state::RemoteInfo"]],["impl UnwindSafe for Metrics",1,["iroh::magicsock::metrics::Metrics"]],["impl UnwindSafe for Disconnected",1,["iroh::watchable::Disconnected"]],["impl<'a> !UnwindSafe for Accept<'a>",1,["iroh::endpoint::Accept"]],["impl<'a, T> !UnwindSafe for WatchInitializedFut<'a, T>",1,["iroh::watchable::WatchInitializedFut"]],["impl<'a, T> !UnwindSafe for WatchNextFut<'a, T>",1,["iroh::watchable::WatchNextFut"]],["impl<T> UnwindSafe for TxtAttrs<T>where\n T: RefUnwindSafe,",1,["iroh::dns::node_info::TxtAttrs"]],["impl<T> UnwindSafe for Watchable<T>",1,["iroh::watchable::Watchable"]],["impl<T> UnwindSafe for Watcher<T>",1,["iroh::watchable::Watcher"]],["impl<T> UnwindSafe for WatcherStream<T>",1,["iroh::watchable::WatcherStream"]]]],["iroh_base",[["impl !UnwindSafe for KeyParsingError",1,["iroh_base::key::KeyParsingError"]],["impl UnwindSafe for Error",1,["iroh_base::ticket::Error"]],["impl UnwindSafe for NodeAddr",1,["iroh_base::node_addr::NodeAddr"]],["impl UnwindSafe for PublicKey",1,["iroh_base::key::PublicKey"]],["impl UnwindSafe for RelayUrl",1,["iroh_base::relay_url::RelayUrl"]],["impl UnwindSafe for RelayUrlParseError",1,["iroh_base::relay_url::RelayUrlParseError"]],["impl UnwindSafe for SecretKey",1,["iroh_base::key::SecretKey"]],["impl UnwindSafe for NodeTicket",1,["iroh_base::ticket::node::NodeTicket"]]]],["iroh_bench",[["impl !UnwindSafe for EndpointSelector",1,["iroh_bench::EndpointSelector"]],["impl UnwindSafe for Commands",1,["iroh_bench::Commands"]],["impl UnwindSafe for ConnectionSelector",1,["iroh_bench::ConnectionSelector"]],["impl UnwindSafe for Opt",1,["iroh_bench::s2n::Opt"]],["impl UnwindSafe for Stats",1,["iroh_bench::stats::Stats"]],["impl UnwindSafe for StreamStats",1,["iroh_bench::stats::StreamStats"]],["impl UnwindSafe for TransferResult",1,["iroh_bench::stats::TransferResult"]],["impl UnwindSafe for ClientStats",1,["iroh_bench::ClientStats"]],["impl UnwindSafe for Opt",1,["iroh_bench::Opt"]]]],["iroh_dns_server",[["impl !UnwindSafe for DnsHandler",1,["iroh_dns_server::dns::DnsHandler"]],["impl !UnwindSafe for DnsServer",1,["iroh_dns_server::dns::DnsServer"]],["impl !UnwindSafe for Handle",1,["iroh_dns_server::dns::Handle"]],["impl !UnwindSafe for HttpServer",1,["iroh_dns_server::http::HttpServer"]],["impl !UnwindSafe for Server",1,["iroh_dns_server::server::Server"]],["impl !UnwindSafe for AppState",1,["iroh_dns_server::state::AppState"]],["impl !UnwindSafe for ZoneStore",1,["iroh_dns_server::store::ZoneStore"]],["impl UnwindSafe for BootstrapOption",1,["iroh_dns_server::config::BootstrapOption"]],["impl UnwindSafe for CertMode",1,["iroh_dns_server::http::tls::CertMode"]],["impl UnwindSafe for RateLimitConfig",1,["iroh_dns_server::http::rate_limiting::RateLimitConfig"]],["impl UnwindSafe for Config",1,["iroh_dns_server::config::Config"]],["impl UnwindSafe for MainlineConfig",1,["iroh_dns_server::config::MainlineConfig"]],["impl UnwindSafe for MetricsConfig",1,["iroh_dns_server::config::MetricsConfig"]],["impl UnwindSafe for StoreConfig",1,["iroh_dns_server::config::StoreConfig"]],["impl UnwindSafe for DnsConfig",1,["iroh_dns_server::dns::DnsConfig"]],["impl UnwindSafe for HttpConfig",1,["iroh_dns_server::http::HttpConfig"]],["impl UnwindSafe for HttpsConfig",1,["iroh_dns_server::http::HttpsConfig"]],["impl UnwindSafe for Metrics",1,["iroh_dns_server::metrics::Metrics"]]]],["iroh_net_report",[["impl !UnwindSafe for Options",1,["iroh_net_report::Options"]],["impl !UnwindSafe for QuicConfig",1,["iroh_net_report::reportgen::QuicConfig"]],["impl UnwindSafe for Addr",1,["iroh_net_report::Addr"]],["impl UnwindSafe for Client",1,["iroh_net_report::Client"]],["impl UnwindSafe for Metrics",1,["iroh_net_report::metrics::Metrics"]],["impl UnwindSafe for RelayLatencies",1,["iroh_net_report::RelayLatencies"]],["impl UnwindSafe for Report",1,["iroh_net_report::Report"]]]],["iroh_relay",[["impl !UnwindSafe for ConnSendError",1,["iroh_relay::client::conn::ConnSendError"]],["impl !UnwindSafe for MaybeTlsStream",1,["iroh_relay::server::streams::MaybeTlsStream"]],["impl !UnwindSafe for Client",1,["iroh_relay::client::Client"]],["impl !UnwindSafe for ClientBuilder",1,["iroh_relay::client::ClientBuilder"]],["impl !UnwindSafe for ClientSink",1,["iroh_relay::client::ClientSink"]],["impl !UnwindSafe for ClientStream",1,["iroh_relay::client::ClientStream"]],["impl !UnwindSafe for QuicClient",1,["iroh_relay::quic::QuicClient"]],["impl !UnwindSafe for QuicConfig",1,["iroh_relay::server::QuicConfig"]],["impl UnwindSafe for ReceivedMessage",1,["iroh_relay::client::conn::ReceivedMessage"]],["impl UnwindSafe for SendMessage",1,["iroh_relay::client::conn::SendMessage"]],["impl UnwindSafe for Protocol",1,["iroh_relay::http::Protocol"]],["impl UnwindSafe for Error",1,["iroh_relay::protos::stun::Error"]],["impl UnwindSafe for ClientConnRateLimit",1,["iroh_relay::server::ClientConnRateLimit"]],["impl UnwindSafe for Limits",1,["iroh_relay::server::Limits"]],["impl UnwindSafe for Metrics",1,["iroh_relay::server::metrics::Metrics"]],["impl UnwindSafe for Server",1,["iroh_relay::server::Server"]],["impl UnwindSafe for StunConfig",1,["iroh_relay::server::StunConfig"]],["impl UnwindSafe for StunMetrics",1,["iroh_relay::server::metrics::StunMetrics"]],["impl UnwindSafe for RelayMap",1,["iroh_relay::relay_map::RelayMap"]],["impl UnwindSafe for RelayNode",1,["iroh_relay::relay_map::RelayNode"]],["impl UnwindSafe for RelayQuicConfig",1,["iroh_relay::relay_map::RelayQuicConfig"]],["impl<EC, EA = EC> !UnwindSafe for CertConfig<EC, EA>",1,["iroh_relay::server::CertConfig"]],["impl<EC, EA = EC> !UnwindSafe for RelayConfig<EC, EA>",1,["iroh_relay::server::RelayConfig"]],["impl<EC, EA = EC> !UnwindSafe for ServerConfig<EC, EA>",1,["iroh_relay::server::ServerConfig"]],["impl<EC, EA = EC> !UnwindSafe for TlsConfig<EC, EA>",1,["iroh_relay::server::TlsConfig"]],["impl<Loader> !UnwindSafe for ReloadingResolver<Loader>",1,["iroh_relay::server::resolver::ReloadingResolver"]]]],["iroh_test",[["impl !UnwindSafe for CallOnDrop",1,["iroh_test::CallOnDrop"]]]]]);
if (window.register_implementors) {
window.register_implementors(implementors);
} else {
window.pending_implementors = implementors;
}
})()
-//{"start":57,"fragment_lengths":[14237,2769,3085,6651,2430,9151,349]}
\ No newline at end of file
+//{"start":57,"fragment_lengths":[14237,2769,3085,6651,2430,9560,349]}
\ No newline at end of file
diff --git a/pr/3068/docs/trait.impl/futures_core/stream/trait.Stream.js b/pr/3068/docs/trait.impl/futures_core/stream/trait.Stream.js
index bfe6ea83ab..fda9b207c0 100644
--- a/pr/3068/docs/trait.impl/futures_core/stream/trait.Stream.js
+++ b/pr/3068/docs/trait.impl/futures_core/stream/trait.Stream.js
@@ -1,9 +1,9 @@
(function() {
- var implementors = Object.fromEntries([["iroh",[["impl<T: Clone + Eq> Stream for WatcherStream<T>"]]]]);
+ var implementors = Object.fromEntries([["iroh",[["impl<T: Clone + Eq> Stream for WatcherStream<T>"]]],["iroh_relay",[["impl Stream for Client"],["impl Stream for ClientStream"]]]]);
if (window.register_implementors) {
window.register_implementors(implementors);
} else {
window.pending_implementors = implementors;
}
})()
-//{"start":57,"fragment_lengths":[444]}
\ No newline at end of file
+//{"start":57,"fragment_lengths":[444,317]}
\ No newline at end of file
diff --git a/pr/3068/docs/trait.impl/futures_sink/trait.Sink.js b/pr/3068/docs/trait.impl/futures_sink/trait.Sink.js
new file mode 100644
index 0000000000..9cf086ef20
--- /dev/null
+++ b/pr/3068/docs/trait.impl/futures_sink/trait.Sink.js
@@ -0,0 +1,9 @@
+(function() {
+ var implementors = Object.fromEntries([["iroh_relay",[["impl Sink<SendMessage> for Client"],["impl Sink<SendMessage> for ClientSink"]]]]);
+ if (window.register_implementors) {
+ window.register_implementors(implementors);
+ } else {
+ window.pending_implementors = implementors;
+ }
+})()
+//{"start":57,"fragment_lengths":[580]}
\ No newline at end of file