pub struct RebuildReport {
pub terms_walked: u64,
pub docs_posted: u64,
pub unresolved: u64,
pub oversized: u64,
pub epoch: u64,
}Expand description
Totals of one rebuild pass.
Fields§
§terms_walked: u64Distinct string literals walked (every family member).
docs_posted: u64Documents posted (terms whose lexical resolved).
unresolved: u64Terms skipped because a registry hash did not resolve. Non-zero means the epoch was NOT stamped: the index stays untrusted and the next start retries the walk.
oversized: u64Terms skipped because their lexical exceeds the indexed-lexical limit
(MAX_INDEXED_LEXICAL_BYTES). Same consequence as unresolved: no
document for a visible row, so no stamp.
epoch: u64The stamped build epoch; 0 when nothing was stamped (a lease lost before finish, or unresolved / oversized terms above).
Implementations§
Source§impl RebuildReport
impl RebuildReport
Sourcepub fn is_complete(&self) -> bool
pub fn is_complete(&self) -> bool
True when every walked term carries its document — the stamp gate:
a visible row without its document is the silently-missing-candidate
state, so a walk with RebuildReport::unresolved or
RebuildReport::oversized terms must not stamp the epoch.
Trait Implementations§
Source§impl Clone for RebuildReport
impl Clone for RebuildReport
Source§fn clone(&self) -> RebuildReport
fn clone(&self) -> RebuildReport
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RebuildReport
impl Debug for RebuildReport
Source§impl Default for RebuildReport
impl Default for RebuildReport
Source§fn default() -> RebuildReport
fn default() -> RebuildReport
Source§impl PartialEq for RebuildReport
impl PartialEq for RebuildReport
impl Copy for RebuildReport
impl Eq for RebuildReport
impl StructuralPartialEq for RebuildReport
Auto Trait Implementations§
impl Freeze for RebuildReport
impl RefUnwindSafe for RebuildReport
impl Send for RebuildReport
impl Sync for RebuildReport
impl Unpin for RebuildReport
impl UnsafeUnpin for RebuildReport
impl UnwindSafe for RebuildReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSend for T
impl<T> DowncastSend for T
§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§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
§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
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>
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>
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§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].