feat: Added/expanded Typed impls

This commit is contained in:
2025-10-15 03:34:56 +02:00
parent 54164c517b
commit 97b944874a
6 changed files with 89 additions and 3 deletions

View File

@@ -4,6 +4,7 @@ use std::sync::Arc;
use futures::Future;
use futures::future::join_all;
use lua_typed::Typed;
use tokio::sync::{RwLock, RwLockReadGuard};
use tokio_cron_scheduler::{Job, JobScheduler};
use tracing::{debug, instrument, trace};
@@ -142,3 +143,9 @@ impl mlua::UserData for DeviceManager {
methods.add_method("event_channel", |_lua, this, ()| Ok(this.event_channel()))
}
}
impl Typed for DeviceManager {
fn type_name() -> String {
"DeviceManager".into()
}
}