pub(crate) struct TextIndexReport {
pub(crate) candidates: usize,
pub(crate) indexed: usize,
pub(crate) binary_or_non_utf8: usize,
pub(crate) too_large: usize,
pub(crate) skipped: usize,
pub(crate) max_bytes: u64,
pub(crate) bytes: usize,
}Expand description
Persisted file-text index report.
Fields§
§candidates: usizeFile nodes considered for indexed text.
indexed: usizeUTF-8 files persisted for SQLite-backed search.
binary_or_non_utf8: usizeFiles skipped because text could not be decoded as UTF-8.
too_large: usizeFiles skipped because they exceeded the configured text-index size cap.
skipped: usizeTotal files skipped from the persisted text index.
max_bytes: u64Maximum UTF-8 file size persisted into SQLite text search.
bytes: usizeSource bytes stored in the text index.
Trait Implementations§
Source§impl Clone for TextIndexReport
impl Clone for TextIndexReport
Source§fn clone(&self) -> TextIndexReport
fn clone(&self) -> TextIndexReport
Returns a duplicate of the value. Read more
1.0.0 · 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 TextIndexReport
impl Debug for TextIndexReport
Auto Trait Implementations§
impl Freeze for TextIndexReport
impl RefUnwindSafe for TextIndexReport
impl Send for TextIndexReport
impl Sync for TextIndexReport
impl Unpin for TextIndexReport
impl UnwindSafe for TextIndexReport
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> 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