Implemented commandExecutor logic

This commit is contained in:
2026-01-28 23:33:22 +01:00
parent 63abf41094
commit 1df6cd4c5e
6 changed files with 68 additions and 2 deletions
+9 -1
View File
@@ -21,4 +21,12 @@ pub type View = Arc<dyn Fn(&mut DrawContext) + Send + Sync>;
pub type ViewWrapper = Arc<dyn Fn(&mut DrawContext, View) + Send + Sync>;
pub type Result<T> = std::result::Result<T, Error>;
pub enum Error {}
pub enum Error {
PoisonError,
}
impl From<std::sync::PoisonError<std::sync::MutexGuard<'_, bool>>> for Error {
fn from(_value: std::sync::PoisonError<std::sync::MutexGuard<'_, bool>>) -> Self {
Error::PoisonError
}
}