pub struct TestDir { /* private fields */ }
Expand description

Test directory creator

Implementations

Creates if possible a temporary directory

Creates if possible a temporary directory with random name inside the current directory

Creates if possible a temporary directory specified in path relative to the current directory

Returns all files created with DirBuilder

Returns all directories created with DirBuilder

Trait Implementations

Create a file or directory under the path

Remove a file or directory under the path

Prefix path with the current context of the DirBuilder

Return the root path to the temporary directory

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.