pub trait DoCleanUp {
// Required method
fn do_cleanup(&self, path_to_remove: &Path) -> Result<Clean>;
}Required Methods§
fn do_cleanup(&self, path_to_remove: &Path) -> Result<Clean>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".