pub struct DeltaEstimator { /* private fields */ }Expand description
Online estimate of the per-request setup cost delta.
A configured constant is not good enough: the same code saw delta = 5 ms
against a loopback-equivalent origin and 420 ms against a real proxied
origin, and delta sets the repair deadband theta. Underestimating it by
2.8x caused measurable over-repair — each unnecessary repair costs a full
delta, so the error compounds.
Implementations§
Trait Implementations§
Source§impl Clone for DeltaEstimator
impl Clone for DeltaEstimator
Source§fn clone(&self) -> DeltaEstimator
fn clone(&self) -> DeltaEstimator
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 moreimpl Copy for DeltaEstimator
Auto Trait Implementations§
impl Freeze for DeltaEstimator
impl RefUnwindSafe for DeltaEstimator
impl Send for DeltaEstimator
impl Sync for DeltaEstimator
impl Unpin for DeltaEstimator
impl UnsafeUnpin for DeltaEstimator
impl UnwindSafe for DeltaEstimator
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