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.
§Limitation
Cannot handle symlinks currently. Waiting for this PR.
ExecuteScript
Run the script in the writable location. That way, absolute paths match the location.
Auto Trait Implementations§
impl Freeze for Creation
impl RefUnwindSafe for Creation
impl Send for Creation
impl Sync for Creation
impl Unpin for Creation
impl UnwindSafe for Creation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more