pub struct IndexProgress {
pub by_kind: BTreeMap<String, KindProgress>,
pub eta_seconds: Option<u64>,
}Expand description
Snapshot of a pass, not a durable inventory. Counts reset on rediscovery.
Fields§
§by_kind: BTreeMap<String, KindProgress>§eta_seconds: Option<u64>Remaining resource count / observed newly indexed resources per second. Null until two new resources complete and at least 1 ms has elapsed; cached reuse and skips never train the estimate. Null when finished.
Trait Implementations§
Source§impl Clone for IndexProgress
impl Clone for IndexProgress
Source§impl Debug for IndexProgress
impl Debug for IndexProgress
Source§impl Default for IndexProgress
impl Default for IndexProgress
Source§impl<'de> Deserialize<'de> for IndexProgress
impl<'de> Deserialize<'de> for IndexProgress
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
impl Eq for IndexProgress
Source§impl PartialEq for IndexProgress
impl PartialEq for IndexProgress
Source§impl Serialize for IndexProgress
impl Serialize for IndexProgress
impl StructuralPartialEq for IndexProgress
Auto Trait Implementations§
impl Freeze for IndexProgress
impl RefUnwindSafe for IndexProgress
impl Send for IndexProgress
impl Sync for IndexProgress
impl Unpin for IndexProgress
impl UnsafeUnpin for IndexProgress
impl UnwindSafe for IndexProgress
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.