pub trait Command {
// Required methods
fn execute(&self) -> Result<()>;
fn undo(&self) -> Result<()>;
fn action_type(&self) -> ActionType;
}
pub trait Command {
// Required methods
fn execute(&self) -> Result<()>;
fn undo(&self) -> Result<()>;
fn action_type(&self) -> ActionType;
}