pub struct CapacitySnapshot {
pub turn_index: u64,
pub h_hat: f64,
pub c_hat: f64,
pub slack: f64,
pub profile: DynamicSlackProfile,
pub p_fail: f64,
pub risk_band: RiskBand,
pub severe: bool,
}Expand description
Per-checkpoint capacity snapshot.
Fields§
§turn_index: u64§h_hat: f64§c_hat: f64§slack: f64§profile: DynamicSlackProfile§p_fail: f64§risk_band: RiskBand§severe: boolTrait Implementations§
Source§impl Clone for CapacitySnapshot
impl Clone for CapacitySnapshot
Source§fn clone(&self) -> CapacitySnapshot
fn clone(&self) -> CapacitySnapshot
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 moreAuto Trait Implementations§
impl Freeze for CapacitySnapshot
impl RefUnwindSafe for CapacitySnapshot
impl Send for CapacitySnapshot
impl Sync for CapacitySnapshot
impl Unpin for CapacitySnapshot
impl UnsafeUnpin for CapacitySnapshot
impl UnwindSafe for CapacitySnapshot
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