pub struct ReindexReport {
pub added: Vec<PathBuf>,
pub updated: Vec<PathBuf>,
pub unchanged: usize,
pub removed: Vec<PathBuf>,
pub failed: Vec<(PathBuf, String)>,
}Expand description
Summary of a DocumentStore::reindex_paths run.
Fields§
§added: Vec<PathBuf>Paths that were newly indexed.
updated: Vec<PathBuf>Paths whose content changed and were re-parsed in place.
unchanged: usizeCount of paths whose content hash matched the catalog (skipped).
removed: Vec<PathBuf>Paths that were dropped from the store because prune was set and
they were no longer present in the reindexed file list.
failed: Vec<(PathBuf, String)>Paths that could not be read or parsed, with the error message. Reindexing continues with the remaining paths.
Trait Implementations§
Source§impl Clone for ReindexReport
impl Clone for ReindexReport
Source§fn clone(&self) -> ReindexReport
fn clone(&self) -> ReindexReport
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 moreSource§impl Debug for ReindexReport
impl Debug for ReindexReport
Source§impl Default for ReindexReport
impl Default for ReindexReport
Source§fn default() -> ReindexReport
fn default() -> ReindexReport
Returns the “default value” for a type. Read more
impl Eq for ReindexReport
Source§impl PartialEq for ReindexReport
impl PartialEq for ReindexReport
impl StructuralPartialEq for ReindexReport
Auto Trait Implementations§
impl Freeze for ReindexReport
impl RefUnwindSafe for ReindexReport
impl Send for ReindexReport
impl Sync for ReindexReport
impl Unpin for ReindexReport
impl UnsafeUnpin for ReindexReport
impl UnwindSafe for ReindexReport
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,
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.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