TempDir

Trait TempDir 

Source
pub trait TempDir {
    // Required method
    fn path(&self) -> &Path;
}
Expand description

Tracks a temporary directory that will be deleted once the struct goes out of scope.

Required Methods§

Source

fn path(&self) -> &Path

Returns the Path of the temporary directory.

Implementors§

Source§

impl TempDir for FakeTempDir

Source§

impl TempDir for OsTempDir

Available on crate feature temp only.