Skip to main content

Crate iroh_netbench

Crate iroh_netbench 

Source
Expand description

Network quality measurements inside a caller-owned authenticated peer session.

This crate is intentionally independent from file transfer and diagnostics.

Structs§

FlowInfo
Business-flow details available after protocol negotiation and path stabilization.
LatencyReport
Idle or loaded RTT distribution.
LatencySample
One RTT observation.
LoadedLatencyReport
RTT while throughput traffic is active.
LossReport
Application datagram echo results.
LossSample
Cumulative loss-probe progress.
MeasurementPathReport
Path observations made during the benchmark business flow.
NetBenchConfig
Parameters for one complete benchmark run.
NetBenchFlow
One admitted benchmark business flow.
NetBenchInitiator
Starts benchmark business flows on a caller-owned authenticated session.
NetBenchProbeConfig
Parameters for a low-bandwidth latency and loss probe run.
NetBenchProbeReport
Complete result of a low-bandwidth latency and loss probe run.
NetBenchReport
Complete result of a benchmark run.
NetBenchResponder
Server-side benchmark protocol configuration.
NetBenchResponderBuilder
Builder for NetBenchResponder.
NetBenchTelemetry
One transport telemetry snapshot supplied by the host session.
NetBenchTest
A running benchmark.
ThroughputReport
One throughput direction.
ThroughputSample
One interval throughput observation.
TransportReport
Delta between transport snapshots taken before and after measurements.

Enums§

Error
Errors produced by a benchmark run.
FlowStage
Fine-grained benchmark-flow negotiation and path progress.
NetBenchEvent
Progress emitted by crate::NetBenchTest.
PathKind
High-level path classification over the lifetime of a run.
ThroughputDirection
Throughput traffic direction.
ThroughputPolicy
Receiver-side policy for bandwidth-saturating upload and download measurements.

Constants§

PROTOCOL_VERSION
Current wire protocol version.
SCHEMA_VERSION
Current JSON/report schema version.

Traits§

NetBenchBidirectionalStream
One host-routed reliable bidirectional stream.
NetBenchReceiveStream
Receiving half of one host-routed reliable stream.
NetBenchSendStream
Sending half of one host-routed reliable stream.
NetBenchSession
A flow-scoped view of one caller-owned authenticated peer session.

Type Aliases§

Result
Crate result type.