pub trait LockfileOperations {
// Provided methods
fn load_lockfile_with_context(path: impl AsRef<Path>) -> Result<LockFile> { ... }
fn save_lockfile_with_context(
lockfile: &LockFile,
path: impl AsRef<Path>,
) -> Result<()> { ... }
}Expand description
Common lockfile operations with consistent error handling
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.