refactoring

This commit is contained in:
2026-05-14 19:30:28 -05:00
parent 2f1a13b6c8
commit 365e4bddcc
7 changed files with 287 additions and 258 deletions
+6
View File
@@ -0,0 +1,6 @@
use crate::error::DrawerError;
pub trait Operation {
fn perform(&self) -> Result<(), DrawerError>;
fn validate(&self) -> Result<(), DrawerError>;
}