Struct stemjail::jail::util::TmpWorkDir [] [src]

pub struct TmpWorkDir {
    // some fields omitted
}

Methods

impl TmpWorkDir

Create a temporary directory in the current directory and remove it when dropped

fn new(prefix: &str) -> Result<Self>

fn unmount(&mut self, on: bool)

Trait Implementations

impl AsRef<Path> for TmpWorkDir

fn as_ref(&self) -> &Path

impl Drop for TmpWorkDir

fn drop(&mut self)