pub struct PollLatencyMetrics {
pub pv_read: TimingSummary,
pub mv_write: TimingSummary,
pub mv_verification: TimingSummary,
pub sample_persist: TimingSummary,
pub tick_work: TimingSummary,
}Expand description
Operation-latency diagnostics captured while a run is polling.
Each category counts only operations that completed successfully. A zero count with
None mean/max means that the operation did not occur during the run. Categories can
overlap: while a relay command is pending, one batched OPC read supplies both the PV sample
and MV verification, so its elapsed duration may appear in both summaries and must not be
added twice as independent I/O time.
Fields§
§pv_read: TimingSummary§mv_write: TimingSummary§mv_verification: TimingSummary§sample_persist: TimingSummary§tick_work: TimingSummaryTrait Implementations§
Source§impl Clone for PollLatencyMetrics
impl Clone for PollLatencyMetrics
Source§fn clone(&self) -> PollLatencyMetrics
fn clone(&self) -> PollLatencyMetrics
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 ComposeSchema for PollLatencyMetrics
impl ComposeSchema for PollLatencyMetrics
impl Copy for PollLatencyMetrics
Source§impl Debug for PollLatencyMetrics
impl Debug for PollLatencyMetrics
Source§impl<'de> Deserialize<'de> for PollLatencyMetrics
impl<'de> Deserialize<'de> for PollLatencyMetrics
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 PollLatencyMetrics
impl PartialEq for PollLatencyMetrics
Source§fn eq(&self, other: &PollLatencyMetrics) -> bool
fn eq(&self, other: &PollLatencyMetrics) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PollLatencyMetrics
impl Serialize for PollLatencyMetrics
impl StructuralPartialEq for PollLatencyMetrics
Auto Trait Implementations§
impl Freeze for PollLatencyMetrics
impl RefUnwindSafe for PollLatencyMetrics
impl Send for PollLatencyMetrics
impl Sync for PollLatencyMetrics
impl Unpin for PollLatencyMetrics
impl UnsafeUnpin for PollLatencyMetrics
impl UnwindSafe for PollLatencyMetrics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more