pub struct TempDir { /* private fields */ }Expand description
A fresh directory under the system’s temporary directory, removed when it drops, also on failure.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for TempDir
impl Freeze for TempDir
impl Move for TempDir
impl RefUnwindSafe for TempDir
impl Send for TempDir
impl Sync for TempDir
impl Unpin for TempDir
impl UnsafeUnpin for TempDir
impl UnwindSafe for TempDir
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