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§
Sourcefn post_uninstall(&mut self, cache: &Path, content_dir: &Path, bin_dir: &Path)
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 pathcontent_dir- access to the content directory of the installed applicationbin_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".