pub trait HeaderChecker: Send + Clone {
// Required method
fn check(&self, file: &mut impl Read) -> Result<bool>;
}
Expand description
Checks for headers in files, like licenses or author attribution.
This is intended to be used via Header
, not called directly.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.