pub struct ConfigCandidateIndex { /* private fields */ }Expand description
In-memory directory listing of config-candidate files (and discovered source files), keyed by absolute directory, used to resolve plugin config patterns without re-walking the filesystem.
Built once from the files the discovery walk already collected, so a
discover_config_files lookup that previously cost one filesystem stat per
(plugin, ancestor-directory, pattern) becomes an in-memory set lookup. The
walk respects .gitignore / ignorePatterns / the hidden-directory
allowlist, so config discovery via this index follows the same traversal
rules as source discovery (the raw filesystem path used in production mode
does not); see the crate docs / CHANGELOG for that deliberate refinement.
Auto Trait Implementations§
impl Freeze for ConfigCandidateIndex
impl RefUnwindSafe for ConfigCandidateIndex
impl Send for ConfigCandidateIndex
impl Sync for ConfigCandidateIndex
impl Unpin for ConfigCandidateIndex
impl UnsafeUnpin for ConfigCandidateIndex
impl UnwindSafe for ConfigCandidateIndex
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