Skip to main content

CargoLockGenerator

Trait CargoLockGenerator 

Source
pub trait CargoLockGenerator: Send + Sync {
    // Required method
    fn generate(
        &self,
        sandbox: &Path,
        manifest_path: &Path,
        offline: bool,
    ) -> Result<Vec<String>, CargoLockResolutionError>;
}

Required Methods§

Source

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".

Implementors§