pub struct AppCore {
pub storage: Arc<Storage>,
pub executor: Arc<WorkflowExecutor>,
pub trigger_manager: Arc<TriggerManager>,
pub cron_scheduler: Arc<CronScheduler>,
pub python_manager: OnceCell<Arc<PythonManager>>,
pub registry: Arc<NodeRegistry>,
}Expand description
Core application state shared between server and Tauri modes
Fields§
§storage: Arc<Storage>§executor: Arc<WorkflowExecutor>§trigger_manager: Arc<TriggerManager>§cron_scheduler: Arc<CronScheduler>§python_manager: OnceCell<Arc<PythonManager>>§registry: Arc<NodeRegistry>Implementations§
Source§impl AppCore
impl AppCore
pub async fn new(db_path: &str) -> Result<Self>
pub async fn get_python_manager(&self) -> Result<Arc<PythonManager>>
pub fn is_python_ready(&self) -> bool
Auto Trait Implementations§
impl !Freeze for AppCore
impl !RefUnwindSafe for AppCore
impl Send for AppCore
impl Sync for AppCore
impl Unpin for AppCore
impl !UnwindSafe for AppCore
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more