Skip to main content

PostUninstall

Trait PostUninstall 

Source
pub trait PostUninstall: Send {
    // Required method
    fn post_uninstall(
        &mut self,
        cache: &Path,
        content_dir: &Path,
        bin_dir: &Path,
    );
}
Expand description

Represents a custom post uninstall step

Required Methods§

Source

fn post_uninstall(&mut self, cache: &Path, content_dir: &Path, bin_dir: &Path)

Called after all uninstallations have been performed (only if a PostInstall has been defined in InstallerBuilder)

§Arguments
  • cache - access to the cache path
  • content_dir - access to the content directory of the installed application
  • bin_dir - access to the binary directory (directory which is present in PATH when one or more AddToPath rules are present)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§