#[non_exhaustive]pub struct ProgressTick {
pub chunk_id: String,
pub iterations_completed: u32,
pub iterations_total: u32,
pub throughput_sps: Option<f64>,
pub running_mean_dps: Option<f64>,
pub running_std_dps: Option<f64>,
pub running_min_dps: Option<f64>,
pub running_max_dps: Option<f64>,
pub relative_stderr: Option<f64>,
pub elapsed_ms: Option<u64>,
}Expand description
Called periodically from the sim loop.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.chunk_id: String§iterations_completed: u32§iterations_total: u32§throughput_sps: Option<f64>§running_mean_dps: Option<f64>§running_std_dps: Option<f64>§running_min_dps: Option<f64>§running_max_dps: Option<f64>§relative_stderr: Option<f64>std / sqrt(n) / mean as a fraction; None while n < 2 or mean <= 0.
elapsed_ms: Option<u64>Implementations§
Trait Implementations§
Source§impl Debug for ProgressTick
impl Debug for ProgressTick
Source§impl Default for ProgressTick
impl Default for ProgressTick
Source§fn default() -> ProgressTick
fn default() -> ProgressTick
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProgressTick
impl RefUnwindSafe for ProgressTick
impl Send for ProgressTick
impl Sync for ProgressTick
impl Unpin for ProgressTick
impl UnsafeUnpin for ProgressTick
impl UnwindSafe for ProgressTick
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