pub struct AppState {
pub projects_dir: PathBuf,
pub cached_projects: Arc<RwLock<Vec<ProjectSummary>>>,
pub watch_manager: Arc<WatchManager>,
}
Fields§
§projects_dir: PathBuf
§cached_projects: Arc<RwLock<Vec<ProjectSummary>>>
§watch_manager: Arc<WatchManager>
Implementations§
Trait 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