From d05abe8a95d06f8a719e73dbde338b6b15f4274a Mon Sep 17 00:00:00 2001 From: dignifiedquire Date: Mon, 16 Sep 2024 11:03:46 +0000 Subject: [PATCH] deploy: cafde1d7d96d580fd6137afdb2071555f968e944 --- .../iroh_gossip/metrics/struct.Metrics.html | 40 +++++++++---------- .../iroh_net_bench/enum.EndpointSelector.html | 4 +- .../iroh/fn.connect_client.html | 2 +- .../docs/iroh_net_bench/iroh/fn.server.html | 2 +- .../iroh/fn.server_endpoint.html | 2 +- pr/2729/docs/src/iroh/node/rpc.rs.html | 4 +- .../iroh_metrics/core/trait.Metric.js | 2 +- 7 files changed, 28 insertions(+), 28 deletions(-) diff --git a/pr/2729/docs/iroh_gossip/metrics/struct.Metrics.html b/pr/2729/docs/iroh_gossip/metrics/struct.Metrics.html index c78e56501f..9d1d849d36 100644 --- a/pr/2729/docs/iroh_gossip/metrics/struct.Metrics.html +++ b/pr/2729/docs/iroh_gossip/metrics/struct.Metrics.html @@ -1,26 +1,26 @@ Metrics in iroh_gossip::metrics - Rust

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: Counter

Trait Implementations§

source§

impl Clone for Metrics

source§

fn clone(&self) -> Metrics

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for Metrics

source§

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

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

impl Default for Metrics

source§

fn default() -> Self

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

impl Iterable for Metrics

source§

fn iter<'a>(&'a self) -> IntoIter<(&'static str, &'a dyn Any)>

Returns an iterator over the struct’s fields as tuples. Read more
source§

impl Metric for Metrics

source§

fn name() -> &'static str

The name of this metric group.
§

fn new(registry: &mut Registry) -> Self

Initializes this metric group.
§

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: Counter

Trait Implementations§

source§

impl Clone for Metrics

source§

fn clone(&self) -> Metrics

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

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

Performs copy-assignment from source. Read more
source§

impl Debug for Metrics

source§

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

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

impl Default for Metrics

source§

fn default() -> Self

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

impl Iterable for Metrics

source§

fn iter<'a>(&'a self) -> IntoIter<(&'static str, &'a dyn Any)>

Returns an iterator over the struct’s fields as tuples. Read more
source§

impl Metric for Metrics

source§

fn name() -> &'static str

The name of this metric group.
source§

fn new(registry: &mut Registry) -> Self

Initializes this metric group.
source§

fn with_metric<T, F>(f: F)
where F: FnOnce(&Self) -> T,

Access to this metrics group to record a metric. -Only records if this metric is registered in the global registry.
§

fn try_get() -> Option<&'static Self>

Attempts to get the current metric from the global registry.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +Only records if this metric is registered in the global registry.

source§

fn try_get() -> Option<&'static Self>

Attempts to get the current metric from the global registry.

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( diff --git a/pr/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§

§

Iroh(Endpoint)

§

Quinn(Endpoint)

Implementations§

source§

impl EndpointSelector

source

pub async fn close(self) -> Result<()>

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +}

Variants§

§

Iroh(Endpoint)

§

Quinn(Endpoint)

Implementations§

source§

impl EndpointSelector

source

pub async fn close(self) -> Result<()>

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

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

§

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

§

fn implicit( diff --git a/pr/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

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

\ 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