pub struct CleanupReport {
pub mode: ActivationMode,
pub change: FileChange,
pub location: Option<PathBuf>,
pub reason: Option<String>,
pub next_step: Option<String>,
}Expand description
Structured cleanup status for activation wiring removal.
This is returned as part of RemoveReport and also embedded in FailureReport when an
uninstall operation fails after partial cleanup work.
Fields§
§mode: ActivationModeActivation mechanism associated with the cleanup.
change: FileChangeOutcome of the cleanup operation.
location: Option<PathBuf>Shell-specific location involved in cleanup.
For managed Bash/Zsh cleanup this is typically the startup file path. For Fish or manual
custom-path installs, it is often None.
reason: Option<String>Human-readable cleanup context.
next_step: Option<String>Suggested next step when cleanup could not be completed automatically.
Trait Implementations§
Source§impl Clone for CleanupReport
impl Clone for CleanupReport
Source§fn clone(&self) -> CleanupReport
fn clone(&self) -> CleanupReport
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CleanupReport
impl Debug for CleanupReport
Source§impl PartialEq for CleanupReport
impl PartialEq for CleanupReport
impl Eq for CleanupReport
impl StructuralPartialEq for CleanupReport
Auto Trait Implementations§
impl Freeze for CleanupReport
impl RefUnwindSafe for CleanupReport
impl Send for CleanupReport
impl Sync for CleanupReport
impl Unpin for CleanupReport
impl UnsafeUnpin for CleanupReport
impl UnwindSafe for CleanupReport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more