pub trait FormatProbe: Send + Sync {
// Required method
fn probe(&self, path: &Path) -> Result<ProbeResult, WsiError>;
}Expand description
Detects whether a file is a given format. Fast, no full parse.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".