pub trait StoreScanner {
// Required methods
fn kinds(&self) -> Vec<SourceKind>;
fn scan(&self) -> ScanResult;
}Expand description
A scanner over one class of on-disk model store. Synchronous: the kernel does its filesystem work inline (the runtime layer decides about threads).
Required Methods§
Sourcefn kinds(&self) -> Vec<SourceKind>
fn kinds(&self) -> Vec<SourceKind>
The source kinds this scanner produces (used to mark wholesale failures).
Sourcefn scan(&self) -> ScanResult
fn scan(&self) -> ScanResult
Scan the store, returning everything found plus any issues.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".