Struct sota::package_manager::tpm::TestDir [] [src]

pub struct TestDir(pub String);

Encapsulate a directory whose contents will be destroyed when it drops out of scope.

Methods

impl TestDir
[src]

fn new(reason: &str) -> TestDir

Create a new test directory that will be destroyed when it drops out of scope.

Trait Implementations

impl Drop for TestDir
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more