ManifestOperations

Trait ManifestOperations 

Source
pub trait ManifestOperations {
    // Provided methods
    fn load_manifest_with_context(path: impl AsRef<Path>) -> Result<Manifest> { ... }
    fn save_manifest_with_context(
        manifest: &Manifest,
        path: impl AsRef<Path>,
    ) -> Result<()> { ... }
}
Expand description

Common manifest operations with consistent error handling

Provided Methods§

Source

fn load_manifest_with_context(path: impl AsRef<Path>) -> Result<Manifest>

Load a manifest with appropriate error context

Source

fn save_manifest_with_context( manifest: &Manifest, path: impl AsRef<Path>, ) -> Result<()>

Save a manifest with appropriate error context

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.

Implementors§