pub struct ScratchDir { /* private fields */ }Expand description
Removes its files on normal drop; the lease protects even old scratch from another process’s store-open sweep. The OS releases the lease after a crash.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScratchDir
impl RefUnwindSafe for ScratchDir
impl Send for ScratchDir
impl Sync for ScratchDir
impl Unpin for ScratchDir
impl UnsafeUnpin for ScratchDir
impl UnwindSafe for ScratchDir
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