pub struct TestFileDiscovery;Trait Implementations§
Source§impl DiscoveryStrategy for TestFileDiscovery
impl DiscoveryStrategy for TestFileDiscovery
Source§fn name(&self) -> &'static str
fn name(&self) -> &'static str
Stable identifier for telemetry. Not a display name — it is written into
the provenance dump and read back by analysis, so changing one renames a
column in every recorded run.
fn discover(&self, ctx: &DiscoveryContext) -> Vec<PathBuf>
Source§fn discover_attributed(
&self,
ctx: &DiscoveryContext,
) -> (Vec<PathBuf>, Vec<(PathBuf, &'static str)>)
fn discover_attributed( &self, ctx: &DiscoveryContext, ) -> (Vec<PathBuf>, Vec<(PathBuf, &'static str)>)
Discovery plus which strategy surfaced each path. Read more
Auto Trait Implementations§
impl Freeze for TestFileDiscovery
impl RefUnwindSafe for TestFileDiscovery
impl Send for TestFileDiscovery
impl Sync for TestFileDiscovery
impl Unpin for TestFileDiscovery
impl UnsafeUnpin for TestFileDiscovery
impl UnwindSafe for TestFileDiscovery
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