pub struct ProbeMetrics {
pub last_check: Option<Instant>,
pub consecutive_failures: u32,
pub consecutive_successes: u32,
pub last_latency: Option<Duration>,
}Expand description
Per-CA probe metrics tracked between probe rounds.
Fields§
§last_check: Option<Instant>Timestamp of the last completed probe.
consecutive_failures: u32Number of consecutive probe failures.
consecutive_successes: u32Number of consecutive probe successes (used during recovery).
last_latency: Option<Duration>Last observed response latency.
Trait Implementations§
Source§impl Clone for ProbeMetrics
impl Clone for ProbeMetrics
Source§fn clone(&self) -> ProbeMetrics
fn clone(&self) -> ProbeMetrics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProbeMetrics
impl RefUnwindSafe for ProbeMetrics
impl Send for ProbeMetrics
impl Sync for ProbeMetrics
impl Unpin for ProbeMetrics
impl UnsafeUnpin for ProbeMetrics
impl UnwindSafe for ProbeMetrics
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> 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