Struct TempDir
#[must_use]
pub struct TempDir { /* private fields */ }
A temporary directory.
This is a RAII object which will remove the underlying temporary directory when dropped.
Implementations
impl TempDir
fn path(&self) -> &PathReturns the path to the underlying temporary directory.
Trait Implementations
impl Debug for TempDir
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Drop for TempDir
fn drop(&mut self)