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§
Auto Trait Implementations§
impl Freeze for CurrentDirGuard
impl RefUnwindSafe for CurrentDirGuard
impl !Send for CurrentDirGuard
impl Sync for CurrentDirGuard
impl Unpin 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