pub enum RemoveOutcome {
Removed {
bytes_freed: u64,
},
KeptReferenced {
apps: Vec<String>,
},
KeptExternalCopies {
paths: Vec<PathBuf>,
},
}Expand description
Result of Shelf::remove_if_unreferenced.
Variants§
Removed
The model was deregistered and its store blob deleted.
KeptReferenced
Kept: applications still reference it.
KeptExternalCopies
Kept: copies exist outside the shelf store. modelshelf never deletes inside other ecosystems’ directories.
Trait Implementations§
Source§impl Clone for RemoveOutcome
impl Clone for RemoveOutcome
Source§fn clone(&self) -> RemoveOutcome
fn clone(&self) -> RemoveOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RemoveOutcome
impl Debug for RemoveOutcome
Auto Trait Implementations§
impl Freeze for RemoveOutcome
impl RefUnwindSafe for RemoveOutcome
impl Send for RemoveOutcome
impl Sync for RemoveOutcome
impl Unpin for RemoveOutcome
impl UnsafeUnpin for RemoveOutcome
impl UnwindSafe for RemoveOutcome
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