pub struct ScratchDir(/* private fields */);Expand description
Scratch dir that deletes itself on drop (all exit paths except SIGKILL).
create purges any stale contents first (previous kill’s leftovers).
Implementations§
Trait Implementations§
Source§impl Drop for ScratchDir
impl Drop for ScratchDir
Auto Trait Implementations§
impl Forget for ScratchDir
impl Freeze for ScratchDir
impl Move for ScratchDir
impl RefUnwindSafe for ScratchDir
impl Send for ScratchDirwhere
RawVecInner: Send,
impl Sync for ScratchDirwhere
RawVecInner: Sync,
impl Unpin for ScratchDir
impl UnsafeUnpin for ScratchDir
impl UnwindSafe for ScratchDirwhere
RawVecInner: UnwindSafe,
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