pub struct ResizeDecisionSnapshot {
pub event_idx: u64,
pub action: &'static str,
pub dt_ms: f64,
pub event_rate: f64,
pub regime: Regime,
pub pending_size: Option<(u16, u16)>,
pub applied_size: Option<(u16, u16)>,
pub time_since_render_ms: f64,
pub bocpd: Option<BocpdEvidence>,
}Expand description
Snapshot of the most recent resize/coalescer decision.
Fields§
§event_idx: u64§action: &'static str§dt_ms: f64§event_rate: f64§regime: Regime§pending_size: Option<(u16, u16)>§applied_size: Option<(u16, u16)>§time_since_render_ms: f64§bocpd: Option<BocpdEvidence>Trait Implementations§
Source§impl Clone for ResizeDecisionSnapshot
impl Clone for ResizeDecisionSnapshot
Source§fn clone(&self) -> ResizeDecisionSnapshot
fn clone(&self) -> ResizeDecisionSnapshot
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 ResizeDecisionSnapshot
impl RefUnwindSafe for ResizeDecisionSnapshot
impl Send for ResizeDecisionSnapshot
impl Sync for ResizeDecisionSnapshot
impl Unpin for ResizeDecisionSnapshot
impl UnwindSafe for ResizeDecisionSnapshot
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