pub struct RegenReport {
pub task: TaskKind,
pub regenerated: usize,
pub remaining: usize,
}Expand description
The outcome of one regeneration invocation.
Fields§
§task: TaskKindThe task regenerated.
regenerated: usizeHow many stale embeddings were rebuilt in this invocation.
remaining: usizeHow many stale embeddings remain in the partition after this invocation (0 when drained).
Implementations§
Source§impl RegenReport
impl RegenReport
Sourcepub fn is_complete(&self) -> bool
pub fn is_complete(&self) -> bool
Whether the partition is fully regenerated (no stale entries remain).
Trait Implementations§
Source§impl Clone for RegenReport
impl Clone for RegenReport
Source§fn clone(&self) -> RegenReport
fn clone(&self) -> RegenReport
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 moreimpl Copy for RegenReport
Source§impl Debug for RegenReport
impl Debug for RegenReport
impl Eq for RegenReport
Source§impl PartialEq for RegenReport
impl PartialEq for RegenReport
Source§fn eq(&self, other: &RegenReport) -> bool
fn eq(&self, other: &RegenReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RegenReport
Auto Trait Implementations§
impl Freeze for RegenReport
impl RefUnwindSafe for RegenReport
impl Send for RegenReport
impl Sync for RegenReport
impl Unpin for RegenReport
impl UnsafeUnpin for RegenReport
impl UnwindSafe for RegenReport
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more