pub trait ProjectOperation: Send + Sync {
// Required methods
fn execute(&self, project: &Project) -> Result<()>;
fn rollback(&self, project: &Project) -> Result<()>;
fn description(&self) -> String;
}Expand description
Trait for operations that can be executed on projects
Required Methods§
Sourcefn description(&self) -> String
fn description(&self) -> String
Get a description of the operation