pub struct AppState {
pub sse_tx: Sender<String>,
pub experiments_db: PathBuf,
pub jobs_db: PathBuf,
pub models_registry: PathBuf,
}Expand description
Shared application state for the dashboard.
Fields§
§sse_tx: Sender<String>Broadcast channel for SSE telemetry updates (HTML fragments).
experiments_db: PathBufPath to the experiments SQLite database.
jobs_db: PathBufPath to the jobs SQLite database.
models_registry: PathBufPath to the model registry JSON.
Implementations§
Auto Trait Implementations§
impl Freeze for AppState
impl !RefUnwindSafe for AppState
impl Send for AppState
impl Sync for AppState
impl Unpin for AppState
impl !UnwindSafe for AppState
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