pub trait CargoLockGenerator: Send + Sync {
// Required method
fn generate(
&self,
sandbox: &Path,
manifest_path: &Path,
offline: bool,
) -> Result<Vec<String>, CargoLockResolutionError>;
}Required Methods§
fn generate( &self, sandbox: &Path, manifest_path: &Path, offline: bool, ) -> Result<Vec<String>, CargoLockResolutionError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".