pub struct CurrentDirGuard { /* private fields */ }Expand description
A guard used to indicate that the current working directory is locked. Returned by lock_current_dir. This will restore and unlock the working directory on drop.
Trait Implementations§
Source§impl Drop for CurrentDirGuard
impl Drop for CurrentDirGuard
Auto Trait Implementations§
impl !Send for CurrentDirGuard
impl Freeze for CurrentDirGuard
impl RefUnwindSafe for CurrentDirGuard
impl Sync for CurrentDirGuard
impl Unpin for CurrentDirGuard
impl UnsafeUnpin for CurrentDirGuard
impl UnwindSafe for CurrentDirGuard
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