pub struct AdaptiveTimeoutStats {
pub adjustments_made: u64,
pub avg_timeouts: HashMap<OperationType, Duration>,
pub timeout_effectiveness: f64,
pub condition_accuracy: f64,
}Expand description
Statistics for adaptive timeouts
Fields§
§adjustments_made: u64Total timeout adjustments made
avg_timeouts: HashMap<OperationType, Duration>Average timeout value by operation
timeout_effectiveness: f64Timeout effectiveness (success rate)
condition_accuracy: f64Network condition accuracy
Trait Implementations§
Source§impl Clone for AdaptiveTimeoutStats
impl Clone for AdaptiveTimeoutStats
Source§fn clone(&self) -> AdaptiveTimeoutStats
fn clone(&self) -> AdaptiveTimeoutStats
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 moreSource§impl Debug for AdaptiveTimeoutStats
impl Debug for AdaptiveTimeoutStats
Source§impl Default for AdaptiveTimeoutStats
impl Default for AdaptiveTimeoutStats
Source§fn default() -> AdaptiveTimeoutStats
fn default() -> AdaptiveTimeoutStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AdaptiveTimeoutStats
impl RefUnwindSafe for AdaptiveTimeoutStats
impl Send for AdaptiveTimeoutStats
impl Sync for AdaptiveTimeoutStats
impl Unpin for AdaptiveTimeoutStats
impl UnwindSafe for AdaptiveTimeoutStats
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