pub(crate) struct ExtractionCleanup {
created_files: Vec<PathBuf>,
created_dirs: Vec<PathBuf>,
}Fields§
§created_files: Vec<PathBuf>§created_dirs: Vec<PathBuf>Implementations§
Source§impl ExtractionCleanup
impl ExtractionCleanup
pub(crate) fn new() -> Self
pub(crate) fn record_file(&mut self, path: PathBuf)
pub(crate) fn record_directory(&mut self, path: PathBuf)
pub(crate) fn commit(self)
fn cleanup_recorded_path(path: &Path)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExtractionCleanup
impl RefUnwindSafe for ExtractionCleanup
impl Send for ExtractionCleanup
impl Sync for ExtractionCleanup
impl Unpin for ExtractionCleanup
impl UnwindSafe for ExtractionCleanup
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