pub trait SpecBackend: Debug {
// Required method
fn scan(&self, dir: &Path) -> Result<Vec<SpecEntry>, PawError>;
}Expand description
Trait for format-specific spec scanning backends.
Each spec format (OpenSpec, Markdown) implements this trait to provide
discovery of pending specs within a directory.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".