pub enum Creation {
    CopyFromReadOnly,
    ExecuteScript,
}
Expand description

Define how scripted_fixture_writable_with_args() uses produces the writable copy.

Variants§

§

CopyFromReadOnly

Run the script once and copy the data from its output to the writable location. This is fast but won’t work if absolute paths are produced by the script.

§

ExecuteScript

Run the script in the writable location. That way, absolute paths match the location.

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.