Struct iroh_gossip::metrics::Metrics
source · pub struct Metrics {Show 18 fields
- pub msgs_ctrl_sent: Counter,
- pub msgs_ctrl_recv: Counter,
- pub msgs_data_sent: Counter,
- pub msgs_data_recv: Counter,
- pub msgs_data_sent_size: Counter,
- pub msgs_data_recv_size: Counter,
- pub msgs_ctrl_sent_size: Counter,
- pub msgs_ctrl_recv_size: Counter,
- pub neighbor_up: Counter,
- pub neighbor_down: Counter,
- pub actor_tick_main: Counter,
- pub actor_tick_rx: Counter,
- pub actor_tick_endpoint: Counter,
- pub actor_tick_dialer: Counter,
- pub actor_tick_dialer_success: Counter,
- pub actor_tick_dialer_failure: Counter,
- pub actor_tick_in_event_rx: Counter,
- pub actor_tick_timers: Counter,
+ pub msgs_ctrl_sent: Counter,
+ pub msgs_ctrl_recv: Counter,
+ pub msgs_data_sent: Counter,
+ pub msgs_data_recv: Counter,
+ pub msgs_data_sent_size: Counter,
+ pub msgs_data_recv_size: Counter,
+ pub msgs_ctrl_sent_size: Counter,
+ pub msgs_ctrl_recv_size: Counter,
+ pub neighbor_up: Counter,
+ pub neighbor_down: Counter,
+ pub actor_tick_main: Counter,
+ pub actor_tick_rx: Counter,
+ pub actor_tick_endpoint: Counter,
+ pub actor_tick_dialer: Counter,
+ pub actor_tick_dialer_success: Counter,
+ pub actor_tick_dialer_failure: Counter,
+ pub actor_tick_in_event_rx: Counter,
+ pub actor_tick_timers: Counter,
}Expand description
Enum of metrics for the module
-Fields§
§msgs_ctrl_sent: Counter§msgs_ctrl_recv: Counter§msgs_data_sent: Counter§msgs_data_recv: Counter§msgs_data_sent_size: Counter§msgs_data_recv_size: Counter§msgs_ctrl_sent_size: Counter§msgs_ctrl_recv_size: Counter§neighbor_up: Counter§neighbor_down: Counter§actor_tick_main: Counter§actor_tick_rx: Counter§actor_tick_endpoint: Counter§actor_tick_dialer: Counter§actor_tick_dialer_success: Counter§actor_tick_dialer_failure: Counter§actor_tick_in_event_rx: Counter§actor_tick_timers: CounterTrait Implementations§
source§impl Metric for Metrics
impl Metric for Metrics
§fn with_metric<T, F>(f: F)where
+
fn with_metric<T, F>(f: F)where
+
Fields§
§msgs_ctrl_sent: Counter§msgs_ctrl_recv: Counter§msgs_data_sent: Counter§msgs_data_recv: Counter§msgs_data_sent_size: Counter§msgs_data_recv_size: Counter§msgs_ctrl_sent_size: Counter§msgs_ctrl_recv_size: Counter§neighbor_up: Counter§neighbor_down: Counter§actor_tick_main: Counter§actor_tick_rx: Counter§actor_tick_endpoint: Counter§actor_tick_dialer: Counter§actor_tick_dialer_success: Counter§actor_tick_dialer_failure: Counter§actor_tick_in_event_rx: Counter§actor_tick_timers: CounterTrait Implementations§
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§
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§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
fn implicit(
diff --git a/pr/2729/docs/iroh_net_bench/enum.EndpointSelector.html b/pr/2729/docs/iroh_net_bench/enum.EndpointSelector.html
index 45dfb35f44..d2acb1fee2 100644
--- a/pr/2729/docs/iroh_net_bench/enum.EndpointSelector.html
+++ b/pr/2729/docs/iroh_net_bench/enum.EndpointSelector.html
@@ -1,7 +1,7 @@
EndpointSelector in iroh_net_bench - Rust Enum iroh_net_bench::EndpointSelector
source · pub enum EndpointSelector {
- Iroh(Endpoint),
+ Iroh(Endpoint),
Quinn(Endpoint),
-}
Variants§
Implementations§
Auto Trait Implementations§
§impl Freeze for EndpointSelector
§impl !RefUnwindSafe for EndpointSelector
§impl Send for EndpointSelector
§impl Sync for EndpointSelector
§impl Unpin for EndpointSelector
§impl !UnwindSafe for EndpointSelector
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
Implementations§
Auto Trait Implementations§
§impl Freeze for EndpointSelector
§impl !RefUnwindSafe for EndpointSelector
§impl Send for EndpointSelector
§impl Sync for EndpointSelector
§impl Unpin for EndpointSelector
§impl !UnwindSafe for EndpointSelector
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/2729/docs/iroh_net_bench/iroh/fn.connect_client.html b/pr/2729/docs/iroh_net_bench/iroh/fn.connect_client.html
index f6bab1e311..bbca5c17a5 100644
--- a/pr/2729/docs/iroh_net_bench/iroh/fn.connect_client.html
+++ b/pr/2729/docs/iroh_net_bench/iroh/fn.connect_client.html
@@ -2,5 +2,5 @@
server_addr: NodeAddr,
relay_url: Option<RelayUrl>,
opt: Opt
-) -> Result<(Endpoint, Connection)>Expand description
Create a client endpoint and client connection
+) -> Result<(Endpoint, Connection)>Expand description
Create a client endpoint and client connection
\ No newline at end of file
diff --git a/pr/2729/docs/iroh_net_bench/iroh/fn.server.html b/pr/2729/docs/iroh_net_bench/iroh/fn.server.html
index 637bd91a75..0a6c750338 100644
--- a/pr/2729/docs/iroh_net_bench/iroh/fn.server.html
+++ b/pr/2729/docs/iroh_net_bench/iroh/fn.server.html
@@ -1,2 +1,2 @@
-server in iroh_net_bench::iroh - Rust Function iroh_net_bench::iroh::server
source · pub async fn server(endpoint: Endpoint, opt: Opt) -> Result<()>
Expand description
Take the provided endpoint and run the server
+server in iroh_net_bench::iroh - Rust
\ No newline at end of file
diff --git a/pr/2729/docs/iroh_net_bench/iroh/fn.server_endpoint.html b/pr/2729/docs/iroh_net_bench/iroh/fn.server_endpoint.html
index 99af8e2bb3..34ec449d60 100644
--- a/pr/2729/docs/iroh_net_bench/iroh/fn.server_endpoint.html
+++ b/pr/2729/docs/iroh_net_bench/iroh/fn.server_endpoint.html
@@ -2,5 +2,5 @@
rt: &Runtime,
relay_url: &Option<RelayUrl>,
opt: &Opt
-) -> (NodeAddr, Endpoint)Expand description
Creates a server endpoint which runs on the given runtime
+) -> (NodeAddr, Endpoint)Expand description
Creates a server endpoint which runs on the given runtime
\ No newline at end of file
diff --git a/pr/2729/docs/src/iroh/node/rpc.rs.html b/pr/2729/docs/src/iroh/node/rpc.rs.html
index 2da1f5f354..b8e4cd8298 100644
--- a/pr/2729/docs/src/iroh/node/rpc.rs.html
+++ b/pr/2729/docs/src/iroh/node/rpc.rs.html
@@ -2617,7 +2617,7 @@
let entry = entry.ok_or_else(|| anyhow!("Blob not found"))?;
let size = entry.size();
- if req.offset as u64 > size.value() {
+ if req.offset > size.value() {
anyhow::bail!(
"requested offset is out of range: {} > {:?}",
req.offset,
@@ -2627,7 +2627,7 @@
let len = req.len.unwrap_or((size.value() - req.offset) as usize);
- if req.offset as u64 + len as u64 > size.value() {
+ if req.offset + len as u64 > size.value() {
anyhow::bail!(
"requested range is out of bounds: offset: {}, len: {} > {:?}",
req.offset,
diff --git a/pr/2729/docs/trait.impl/iroh_metrics/core/trait.Metric.js b/pr/2729/docs/trait.impl/iroh_metrics/core/trait.Metric.js
index b6339d8222..31a4ea33e3 100644
--- a/pr/2729/docs/trait.impl/iroh_metrics/core/trait.Metric.js
+++ b/pr/2729/docs/trait.impl/iroh_metrics/core/trait.Metric.js
@@ -3,7 +3,7 @@
"iroh_blobs":[["impl Metric for Metrics"]],
"iroh_dns_server":[["impl Metric for Metrics"]],
"iroh_docs":[["impl Metric for Metrics"]],
-"iroh_gossip":[["impl Metric for Metrics"]],
+"iroh_gossip":[["impl Metric for Metrics"]],
"iroh_net":[["impl Metric for Metrics"],["impl Metric for Metrics"],["impl Metric for Metrics"],["impl Metric for Metrics"]],
"iroh_relay":[["impl Metric for StunMetrics"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
Enum iroh_net_bench::EndpointSelector
source · pub enum EndpointSelector {
- Iroh(Endpoint),
+ Iroh(Endpoint),
Quinn(Endpoint),
-}Variants§
Implementations§
Auto Trait Implementations§
impl Freeze for EndpointSelector
impl !RefUnwindSafe for EndpointSelector
impl Send for EndpointSelector
impl Sync for EndpointSelector
impl Unpin for EndpointSelector
impl !UnwindSafe for EndpointSelector
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
Implementations§
Auto Trait Implementations§
§impl Freeze for EndpointSelector
§impl !RefUnwindSafe for EndpointSelector
§impl Send for EndpointSelector
§impl Sync for EndpointSelector
§impl Unpin for EndpointSelector
§impl !UnwindSafe for EndpointSelector
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/2729/docs/iroh_net_bench/iroh/fn.connect_client.html b/pr/2729/docs/iroh_net_bench/iroh/fn.connect_client.html
index f6bab1e311..bbca5c17a5 100644
--- a/pr/2729/docs/iroh_net_bench/iroh/fn.connect_client.html
+++ b/pr/2729/docs/iroh_net_bench/iroh/fn.connect_client.html
@@ -2,5 +2,5 @@
server_addr: NodeAddr,
relay_url: Option<RelayUrl>,
opt: Opt
-) -> Result<(Endpoint, Connection)>Expand description
Create a client endpoint and client connection
+) -> Result<(Endpoint, Connection)>Expand description
Create a client endpoint and client connection
\ No newline at end of file
diff --git a/pr/2729/docs/iroh_net_bench/iroh/fn.server.html b/pr/2729/docs/iroh_net_bench/iroh/fn.server.html
index 637bd91a75..0a6c750338 100644
--- a/pr/2729/docs/iroh_net_bench/iroh/fn.server.html
+++ b/pr/2729/docs/iroh_net_bench/iroh/fn.server.html
@@ -1,2 +1,2 @@
-server in iroh_net_bench::iroh - Rust Function iroh_net_bench::iroh::server
source · pub async fn server(endpoint: Endpoint, opt: Opt) -> Result<()>
Expand description
Take the provided endpoint and run the server
+server in iroh_net_bench::iroh - Rust
\ No newline at end of file
diff --git a/pr/2729/docs/iroh_net_bench/iroh/fn.server_endpoint.html b/pr/2729/docs/iroh_net_bench/iroh/fn.server_endpoint.html
index 99af8e2bb3..34ec449d60 100644
--- a/pr/2729/docs/iroh_net_bench/iroh/fn.server_endpoint.html
+++ b/pr/2729/docs/iroh_net_bench/iroh/fn.server_endpoint.html
@@ -2,5 +2,5 @@
rt: &Runtime,
relay_url: &Option<RelayUrl>,
opt: &Opt
-) -> (NodeAddr, Endpoint)Expand description
Creates a server endpoint which runs on the given runtime
+) -> (NodeAddr, Endpoint)Expand description
Creates a server endpoint which runs on the given runtime
\ No newline at end of file
diff --git a/pr/2729/docs/src/iroh/node/rpc.rs.html b/pr/2729/docs/src/iroh/node/rpc.rs.html
index 2da1f5f354..b8e4cd8298 100644
--- a/pr/2729/docs/src/iroh/node/rpc.rs.html
+++ b/pr/2729/docs/src/iroh/node/rpc.rs.html
@@ -2617,7 +2617,7 @@
let entry = entry.ok_or_else(|| anyhow!("Blob not found"))?;
let size = entry.size();
- if req.offset as u64 > size.value() {
+ if req.offset > size.value() {
anyhow::bail!(
"requested offset is out of range: {} > {:?}",
req.offset,
@@ -2627,7 +2627,7 @@
let len = req.len.unwrap_or((size.value() - req.offset) as usize);
- if req.offset as u64 + len as u64 > size.value() {
+ if req.offset + len as u64 > size.value() {
anyhow::bail!(
"requested range is out of bounds: offset: {}, len: {} > {:?}",
req.offset,
diff --git a/pr/2729/docs/trait.impl/iroh_metrics/core/trait.Metric.js b/pr/2729/docs/trait.impl/iroh_metrics/core/trait.Metric.js
index b6339d8222..31a4ea33e3 100644
--- a/pr/2729/docs/trait.impl/iroh_metrics/core/trait.Metric.js
+++ b/pr/2729/docs/trait.impl/iroh_metrics/core/trait.Metric.js
@@ -3,7 +3,7 @@
"iroh_blobs":[["impl Metric for Metrics"]],
"iroh_dns_server":[["impl Metric for Metrics"]],
"iroh_docs":[["impl Metric for Metrics"]],
-"iroh_gossip":[["impl Metric for Metrics"]],
+"iroh_gossip":[["impl Metric for Metrics"]],
"iroh_net":[["impl Metric for Metrics"],["impl Metric for Metrics"],["impl Metric for Metrics"],["impl Metric for Metrics"]],
"iroh_relay":[["impl Metric for StunMetrics"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
impl<T> Any for Twhere
+}Variants§
Implementations§
Auto Trait Implementations§
§impl Freeze for EndpointSelector
§impl !RefUnwindSafe for EndpointSelector
§impl Send for EndpointSelector
§impl Sync for EndpointSelector
§impl Unpin for EndpointSelector
§impl !UnwindSafe for EndpointSelector
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/2729/docs/iroh_net_bench/iroh/fn.connect_client.html b/pr/2729/docs/iroh_net_bench/iroh/fn.connect_client.html
index f6bab1e311..bbca5c17a5 100644
--- a/pr/2729/docs/iroh_net_bench/iroh/fn.connect_client.html
+++ b/pr/2729/docs/iroh_net_bench/iroh/fn.connect_client.html
@@ -2,5 +2,5 @@
server_addr: NodeAddr,
relay_url: Option<RelayUrl>,
opt: Opt
-) -> Result<(Endpoint, Connection)>Expand description
Create a client endpoint and client connection
+) -> Result<(Endpoint, Connection)>Expand description
Create a client endpoint and client connection
\ No newline at end of file
diff --git a/pr/2729/docs/iroh_net_bench/iroh/fn.server.html b/pr/2729/docs/iroh_net_bench/iroh/fn.server.html
index 637bd91a75..0a6c750338 100644
--- a/pr/2729/docs/iroh_net_bench/iroh/fn.server.html
+++ b/pr/2729/docs/iroh_net_bench/iroh/fn.server.html
@@ -1,2 +1,2 @@
-server in iroh_net_bench::iroh - Rust Function iroh_net_bench::iroh::server
source · pub async fn server(endpoint: Endpoint, opt: Opt) -> Result<()>
Expand description
Take the provided endpoint and run the server
+server in iroh_net_bench::iroh - Rust
\ No newline at end of file
diff --git a/pr/2729/docs/iroh_net_bench/iroh/fn.server_endpoint.html b/pr/2729/docs/iroh_net_bench/iroh/fn.server_endpoint.html
index 99af8e2bb3..34ec449d60 100644
--- a/pr/2729/docs/iroh_net_bench/iroh/fn.server_endpoint.html
+++ b/pr/2729/docs/iroh_net_bench/iroh/fn.server_endpoint.html
@@ -2,5 +2,5 @@
rt: &Runtime,
relay_url: &Option<RelayUrl>,
opt: &Opt
-) -> (NodeAddr, Endpoint)Expand description
Creates a server endpoint which runs on the given runtime
+) -> (NodeAddr, Endpoint)Expand description
Creates a server endpoint which runs on the given runtime
\ No newline at end of file
diff --git a/pr/2729/docs/src/iroh/node/rpc.rs.html b/pr/2729/docs/src/iroh/node/rpc.rs.html
index 2da1f5f354..b8e4cd8298 100644
--- a/pr/2729/docs/src/iroh/node/rpc.rs.html
+++ b/pr/2729/docs/src/iroh/node/rpc.rs.html
@@ -2617,7 +2617,7 @@
let entry = entry.ok_or_else(|| anyhow!("Blob not found"))?;
let size = entry.size();
- if req.offset as u64 > size.value() {
+ if req.offset > size.value() {
anyhow::bail!(
"requested offset is out of range: {} > {:?}",
req.offset,
@@ -2627,7 +2627,7 @@
let len = req.len.unwrap_or((size.value() - req.offset) as usize);
- if req.offset as u64 + len as u64 > size.value() {
+ if req.offset + len as u64 > size.value() {
anyhow::bail!(
"requested range is out of bounds: offset: {}, len: {} > {:?}",
req.offset,
diff --git a/pr/2729/docs/trait.impl/iroh_metrics/core/trait.Metric.js b/pr/2729/docs/trait.impl/iroh_metrics/core/trait.Metric.js
index b6339d8222..31a4ea33e3 100644
--- a/pr/2729/docs/trait.impl/iroh_metrics/core/trait.Metric.js
+++ b/pr/2729/docs/trait.impl/iroh_metrics/core/trait.Metric.js
@@ -3,7 +3,7 @@
"iroh_blobs":[["impl Metric for Metrics"]],
"iroh_dns_server":[["impl Metric for Metrics"]],
"iroh_docs":[["impl Metric for Metrics"]],
-"iroh_gossip":[["impl Metric for Metrics"]],
+"iroh_gossip":[["impl Metric for Metrics"]],
"iroh_net":[["impl Metric for Metrics"],["impl Metric for Metrics"],["impl Metric for Metrics"],["impl Metric for Metrics"]],
"iroh_relay":[["impl Metric for StunMetrics"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
Variants§
Implementations§
Auto Trait Implementations§
impl Freeze for EndpointSelector
impl !RefUnwindSafe for EndpointSelector
impl Send for EndpointSelector
impl Sync for EndpointSelector
impl Unpin for EndpointSelector
impl !UnwindSafe for EndpointSelector
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
fn implicit(
diff --git a/pr/2729/docs/iroh_net_bench/iroh/fn.connect_client.html b/pr/2729/docs/iroh_net_bench/iroh/fn.connect_client.html
index f6bab1e311..bbca5c17a5 100644
--- a/pr/2729/docs/iroh_net_bench/iroh/fn.connect_client.html
+++ b/pr/2729/docs/iroh_net_bench/iroh/fn.connect_client.html
@@ -2,5 +2,5 @@
server_addr: NodeAddr,
relay_url: Option<RelayUrl>,
opt: Opt
-) -> Result<(Endpoint, Connection)>Expand description
Create a client endpoint and client connection
+) -> Result<(Endpoint, Connection)>Expand description
Create a client endpoint and client connection
\ No newline at end of file
diff --git a/pr/2729/docs/iroh_net_bench/iroh/fn.server.html b/pr/2729/docs/iroh_net_bench/iroh/fn.server.html
index 637bd91a75..0a6c750338 100644
--- a/pr/2729/docs/iroh_net_bench/iroh/fn.server.html
+++ b/pr/2729/docs/iroh_net_bench/iroh/fn.server.html
@@ -1,2 +1,2 @@
-server in iroh_net_bench::iroh - Rust Function iroh_net_bench::iroh::server
source · pub async fn server(endpoint: Endpoint, opt: Opt) -> Result<()>
Expand description
Take the provided endpoint and run the server
+server in iroh_net_bench::iroh - Rust
\ No newline at end of file
diff --git a/pr/2729/docs/iroh_net_bench/iroh/fn.server_endpoint.html b/pr/2729/docs/iroh_net_bench/iroh/fn.server_endpoint.html
index 99af8e2bb3..34ec449d60 100644
--- a/pr/2729/docs/iroh_net_bench/iroh/fn.server_endpoint.html
+++ b/pr/2729/docs/iroh_net_bench/iroh/fn.server_endpoint.html
@@ -2,5 +2,5 @@
rt: &Runtime,
relay_url: &Option<RelayUrl>,
opt: &Opt
-) -> (NodeAddr, Endpoint)Expand description
Creates a server endpoint which runs on the given runtime
+) -> (NodeAddr, Endpoint)Expand description
Creates a server endpoint which runs on the given runtime
\ No newline at end of file
diff --git a/pr/2729/docs/src/iroh/node/rpc.rs.html b/pr/2729/docs/src/iroh/node/rpc.rs.html
index 2da1f5f354..b8e4cd8298 100644
--- a/pr/2729/docs/src/iroh/node/rpc.rs.html
+++ b/pr/2729/docs/src/iroh/node/rpc.rs.html
@@ -2617,7 +2617,7 @@
let entry = entry.ok_or_else(|| anyhow!("Blob not found"))?;
let size = entry.size();
- if req.offset as u64 > size.value() {
+ if req.offset > size.value() {
anyhow::bail!(
"requested offset is out of range: {} > {:?}",
req.offset,
@@ -2627,7 +2627,7 @@
let len = req.len.unwrap_or((size.value() - req.offset) as usize);
- if req.offset as u64 + len as u64 > size.value() {
+ if req.offset + len as u64 > size.value() {
anyhow::bail!(
"requested range is out of bounds: offset: {}, len: {} > {:?}",
req.offset,
diff --git a/pr/2729/docs/trait.impl/iroh_metrics/core/trait.Metric.js b/pr/2729/docs/trait.impl/iroh_metrics/core/trait.Metric.js
index b6339d8222..31a4ea33e3 100644
--- a/pr/2729/docs/trait.impl/iroh_metrics/core/trait.Metric.js
+++ b/pr/2729/docs/trait.impl/iroh_metrics/core/trait.Metric.js
@@ -3,7 +3,7 @@
"iroh_blobs":[["impl Metric for Metrics"]],
"iroh_dns_server":[["impl Metric for Metrics"]],
"iroh_docs":[["impl Metric for Metrics"]],
-"iroh_gossip":[["impl Metric for Metrics"]],
+"iroh_gossip":[["impl Metric for Metrics"]],
"iroh_net":[["impl Metric for Metrics"],["impl Metric for Metrics"],["impl Metric for Metrics"],["impl Metric for Metrics"]],
"iroh_relay":[["impl Metric for StunMetrics"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
Expand description
Create a client endpoint and client connection
+) -> Result<(Endpoint, Connection)>Expand description
Create a client endpoint and client connection
Function iroh_net_bench::iroh::server
source · pub async fn server(endpoint: Endpoint, opt: Opt) -> Result<()>Expand description
Take the provided endpoint and run the server
+Expand description
Creates a server endpoint which runs on the given runtime
+) -> (NodeAddr, Endpoint)Expand description
Creates a server endpoint which runs on the given runtime