pub enum NetBenchEvent {
Show 13 variants
FlowStage(FlowStage),
Ready(FlowInfo),
LatencyStarted,
LatencySample(LatencySample),
LossStarted,
LossSample(LossSample),
DownloadWarmupStarted,
DownloadStarted,
DownloadSample(ThroughputSample),
UploadWarmupStarted,
UploadStarted,
UploadSample(ThroughputSample),
Finished(NetBenchReport),
}Expand description
Progress emitted by crate::NetBenchTest.
Variants§
FlowStage(FlowStage)
One detailed business-flow negotiation/path milestone.
Ready(FlowInfo)
Business-flow negotiation completed.
LatencyStarted
Idle latency measurement started.
LatencySample(LatencySample)
One idle RTT was observed.
LossStarted
Datagram timeout measurement started.
LossSample(LossSample)
Datagram timeout progress changed.
DownloadWarmupStarted
Download warm-up traffic started.
DownloadStarted
Download measurement started.
DownloadSample(ThroughputSample)
Download rate was sampled.
UploadWarmupStarted
Upload warm-up traffic started.
UploadStarted
Upload measurement started.
UploadSample(ThroughputSample)
Upload rate was sampled.
Finished(NetBenchReport)
The complete report is available.
Trait Implementations§
Source§impl Clone for NetBenchEvent
impl Clone for NetBenchEvent
Source§fn clone(&self) -> NetBenchEvent
fn clone(&self) -> NetBenchEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NetBenchEvent
impl Debug for NetBenchEvent
Source§impl<'de> Deserialize<'de> for NetBenchEvent
impl<'de> Deserialize<'de> for NetBenchEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NetBenchEvent
impl PartialEq for NetBenchEvent
Source§impl Serialize for NetBenchEvent
impl Serialize for NetBenchEvent
impl StructuralPartialEq for NetBenchEvent
Auto Trait Implementations§
impl Freeze for NetBenchEvent
impl RefUnwindSafe for NetBenchEvent
impl Send for NetBenchEvent
impl Sync for NetBenchEvent
impl Unpin for NetBenchEvent
impl UnsafeUnpin for NetBenchEvent
impl UnwindSafe for NetBenchEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more