pub trait SubmoduleEditor {
// Required methods
fn root(&self) -> &Path;
fn sync_to_parent(&self, name: &str) -> Result<(), Box<dyn Error>>;
fn sync_all_to_parent(&self) -> Result<(), Box<dyn Error>>;
fn retire_submodule(&self, name: &str) -> Result<(), Box<dyn Error>>;
fn status(&self) -> Result<Vec<HealthIssue>, Box<dyn Error>>;
}Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".