Trait DoCleanUp

Source
pub trait DoCleanUp {
    // Required method
    fn do_cleanup(&self, path_to_remove: impl AsRef<Path>) -> Result<Clean>;
}

Required Methods§

Source

fn do_cleanup(&self, path_to_remove: impl AsRef<Path>) -> Result<Clean>

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.

Implementors§