pub struct TempFileGuard { /* private fields */ }Expand description
RAII guard for short-lived runtime temporary files.
It prevents cleanup from being skipped on early returns or panic unwinding. Files left behind after process termination should still be handled by startup runtime-temp cleanup.
Implementations§
Trait Implementations§
Source§impl Drop for TempFileGuard
impl Drop for TempFileGuard
Auto Trait Implementations§
impl Freeze for TempFileGuard
impl RefUnwindSafe for TempFileGuard
impl Send for TempFileGuard
impl Sync for TempFileGuard
impl Unpin for TempFileGuard
impl UnsafeUnpin for TempFileGuard
impl UnwindSafe for TempFileGuard
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