pub struct IndexResult {
pub files_scanned: usize,
pub files_parsed: usize,
pub files_skipped: usize,
pub total_symbols: usize,
pub total_references: usize,
pub total_chunks: usize,
pub parse_results: Vec<ParseResult>,
}Expand description
Result of indexing a directory.
Fields§
§files_scanned: usizeTotal number of files scanned (walked).
files_parsed: usizeNumber of files successfully parsed.
files_skipped: usizeNumber of files skipped (unchanged since last index).
total_symbols: usizeTotal symbols extracted across all files.
total_references: usizeTotal references extracted across all files.
total_chunks: usizeTotal CST-aware chunks extracted across all files.
parse_results: Vec<ParseResult>Individual parse results for each successfully parsed file.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IndexResult
impl RefUnwindSafe for IndexResult
impl Send for IndexResult
impl Sync for IndexResult
impl Unpin for IndexResult
impl UnsafeUnpin for IndexResult
impl UnwindSafe for IndexResult
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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