pub struct EditTempDir(/* private fields */);Expand description
One private edit tree per ign edit invocation: a
tempfile::TempDir created with 0700 permissions on unix
(unique per call), removed by its Drop guard — and
EditTempDir::keep consumes it WITHOUT deleting, the
fail-closed recovery path that leaves the user’s edit on disk
with its path printed in the error.
Implementations§
Source§impl EditTempDir
impl EditTempDir
Auto Trait Implementations§
impl Freeze for EditTempDir
impl RefUnwindSafe for EditTempDir
impl Send for EditTempDir
impl Sync for EditTempDir
impl Unpin for EditTempDir
impl UnsafeUnpin for EditTempDir
impl UnwindSafe for EditTempDir
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