pub struct AutoRevertToPreviousCWD(/* private fields */);Expand description
A utility to set the current working dir to the given value, on drop.
§Panics
Note that this will panic if the CWD cannot be set on drop.
Trait Implementations§
Source§impl Debug for AutoRevertToPreviousCWD
impl Debug for AutoRevertToPreviousCWD
Auto Trait Implementations§
impl Freeze for AutoRevertToPreviousCWD
impl RefUnwindSafe for AutoRevertToPreviousCWD
impl Send for AutoRevertToPreviousCWD
impl Sync for AutoRevertToPreviousCWD
impl Unpin for AutoRevertToPreviousCWD
impl UnwindSafe for AutoRevertToPreviousCWD
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