pub struct RemovalReport {
pub name: String,
pub identity_keys: Vec<String>,
pub ledger_prefix: String,
pub dir_removed: bool,
pub registry_removed: bool,
}Expand description
Uninstall report: receipts for the three-place cleanup (tool table / ledger / registry).
Fields§
§name: StringPlugin name.
identity_keys: Vec<String>Tool identity keys (the caller deregisters these from the tool table).
ledger_prefix: StringLedger prefix (plugin.{name}.).
dir_removed: boolWhether the install directory has been deleted.
registry_removed: boolWhether the registry entry has been removed.
Implementations§
Source§impl RemovalReport
impl RemovalReport
Sourcepub fn sweep_ledger(&self, ledger: &mut ApprovalLedger) -> usize
pub fn sweep_ledger(&self, ledger: &mut ApprovalLedger) -> usize
Sweep the ledger: wipe all tiers of plugin.{name}.* (no orphaned memory).
Trait Implementations§
Source§impl Clone for RemovalReport
impl Clone for RemovalReport
Auto Trait Implementations§
impl Forget for RemovalReport
impl Freeze for RemovalReport
impl Move for RemovalReport
impl RefUnwindSafe for RemovalReport
impl Send for RemovalReport
impl Sync for RemovalReport
impl Unpin for RemovalReport
impl UnsafeUnpin for RemovalReport
impl UnwindSafe for RemovalReport
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