pub trait MigrationScanner {
// Required methods
fn name(&self) -> &'static str;
fn scan(
&self,
ctx: &ScanContext<'_>,
) -> Result<Vec<MigrationFinding>, OpError>;
}Expand description
Pluggable scanner — each implementation reports zero or more
MigrationFindings for one slice of legacy dev-named state.
Required Methods§
Sourcefn name(&self) -> &'static str
fn name(&self) -> &'static str
Stable, kebab-case identifier; surfaced in finding kind prefixes
where helpful.
fn scan(&self, ctx: &ScanContext<'_>) -> Result<Vec<MigrationFinding>, OpError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".