pub struct Discovered {
pub files: Vec<PathBuf>,
pub had_error: bool,
}Expand description
The result of file discovery. had_error means the listing is PARTIAL: a
directory that exists could not be read (permissions, transient IO). The
indexer still indexes what was found but skips deletion reconciliation, so
a partial walk cannot archive live sessions off an incomplete listing - the
same guard Store::had_error gives shared-store adapters. A root that
simply does not exist on this machine is normal, not an error.
Fields§
§files: Vec<PathBuf>§had_error: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for Discovered
impl RefUnwindSafe for Discovered
impl Send for Discovered
impl Sync for Discovered
impl Unpin for Discovered
impl UnsafeUnpin for Discovered
impl UnwindSafe for Discovered
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