pub struct EtaEstimate {
pub remaining_ms: u64,
pub items_remaining: usize,
pub avg_item_ms: u64,
pub confidence: EtaConfidence,
pub sample_count: u64,
}Expand description
Structured ETA estimate with confidence indication.
Fields§
§remaining_ms: u64Estimated remaining time in milliseconds.
items_remaining: usizeNumber of items remaining.
avg_item_ms: u64Average per-item duration in milliseconds (based on history).
confidence: EtaConfidenceConfidence level of the estimate.
sample_count: u64Number of historical data points used for the estimate.
Trait Implementations§
Source§impl Clone for EtaEstimate
impl Clone for EtaEstimate
Source§fn clone(&self) -> EtaEstimate
fn clone(&self) -> EtaEstimate
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 moreSource§impl Debug for EtaEstimate
impl Debug for EtaEstimate
Source§impl<'de> Deserialize<'de> for EtaEstimate
impl<'de> Deserialize<'de> for EtaEstimate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EtaEstimate
impl RefUnwindSafe for EtaEstimate
impl Send for EtaEstimate
impl Sync for EtaEstimate
impl Unpin for EtaEstimate
impl UnsafeUnpin for EtaEstimate
impl UnwindSafe for EtaEstimate
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