Skip to main content

StoreScanner

Trait StoreScanner 

Source
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§

Source

fn kinds(&self) -> Vec<SourceKind>

The source kinds this scanner produces (used to mark wholesale failures).

Source

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".

Implementors§