Implemented exectution to Context

This commit is contained in:
2026-01-28 23:41:54 +01:00
parent 1df6cd4c5e
commit 93ba2f4a78
4 changed files with 22 additions and 14 deletions
+1 -1
View File
@@ -37,6 +37,6 @@ pub trait Command {
fn as_any(&self) -> &dyn Any;
}
pub trait CommandExecutor {
pub trait CommandExecutor: Send + Sync {
fn execute_command(&self, command: &Arc<dyn Command>) -> crate::Result<()>;
}