Trait Repair

Source
pub trait Repair<T> {
    // Required method
    fn repair(path: impl AsRef<Path>) -> Result<String>;
}
Expand description

Repair a structure at the given path.

Required Methods§

Source

fn repair(path: impl AsRef<Path>) -> Result<String>

Repair a structure at the given path.

Overload this method to repair recursively.

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§

Source§

impl<T: DefaultOpenOptions<O>, O: OpenOptionsRepair> Repair<O> for T