pub struct Source {
pub caps: Capability,
pub gamma_est: f64,
pub rho_est: f64,
pub delta_est: f64,
pub suspended_until: f64,
pub consecutive_stalls: u32,
}Fields§
§caps: Capability§gamma_est: f64Per-connection goodput ceiling estimate, bytes/s.
rho_est: f64Per-source shaping cap estimate, bytes/s.
delta_est: f64Measured request setup cost, seconds.
suspended_until: f64Suspended until this time (429/503 Retry-After, or stall backoff).
consecutive_stalls: u32Consecutive stalls observed on this source; drives exponential backoff.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Source
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