Trait pre_commit_sort::PreCommit
source · pub trait PreCommit: DeserializeOwned + Serialize {
const PATH: &'static str;
// Required method
fn process(&mut self, install: bool);
// Provided method
fn main(install: bool) -> Result<()> { ... }
}
Required Associated Constants§
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.