pub struct Root<'suite> { /* private fields */ }Available on crate feature
fixture only.Expand description
A temporary directory a test writes files into, alive no longer than the suite it sits in.
Every path a method takes is relative to the directory, and a path that leaves it panics.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'suite> Forget for Root<'suite>
impl<'suite> Freeze for Root<'suite>
impl<'suite> RefUnwindSafe for Root<'suite>
impl<'suite> Send for Root<'suite>
impl<'suite> Sync for Root<'suite>
impl<'suite> Unpin for Root<'suite>
impl<'suite> UnsafeUnpin for Root<'suite>
impl<'suite> UnwindSafe for Root<'suite>
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