Struct testcall::TempDirCleanup[][src]

pub struct TempDirCleanup { /* fields omitted */ }
Expand description

Augment a TempDir with a custom callback function that can do additional cleanup work (like unmounting filesystem etc.)

Implementations

creates a temporary directory with a cleanup function to be called at drop time.

Trait Implementations

Executes the destructor for this type. Read more

Returns the underlying Path of an TestDir implementation

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

Performs the conversion.

Performs the conversion.

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.