pub trait DeepClone: Sized {
type Error;
// Required method
fn deep_clone(&self) -> Result<Self, Self::Error>;
}Required Associated Types§
Required Methods§
Sourcefn deep_clone(&self) -> Result<Self, Self::Error>
fn deep_clone(&self) -> Result<Self, Self::Error>
Creates a new temporary directory, copies the original’s directory contents into it, and
returns a new BatchWorkspace that references this new environment.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".