pub struct Deps {
pub sections: Arc<SectionService>,
pub health: Arc<ConnectionHealthService>,
pub config: Arc<ConfigService>,
pub secrets: Arc<dyn SecretStore>,
pub cache: Arc<CacheStore>,
}Expand description
The services the dashboard reads from and writes through — the same ones the TUI is given, so connections added here show up in the TUI (and vice versa).
Fields§
§sections: Arc<SectionService>§health: Arc<ConnectionHealthService>§config: Arc<ConfigService>§secrets: Arc<dyn SecretStore>§cache: Arc<CacheStore>The on-disk cache the TUI paints from at launch, shared so the dashboard does too: lists
answer from it first and the live fetch writes back (see cached). Pass a disabled store
to cache nothing (--demo).
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Deps
impl !UnwindSafe for Deps
impl Freeze for Deps
impl Send for Deps
impl Sync for Deps
impl Unpin for Deps
impl UnsafeUnpin for Deps
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