pub struct AppState {
pub config: Arc<RwLock<AppConfig>>,
pub config_path: PathBuf,
pub fetcher: FeedFetcher,
}Fields§
§config: Arc<RwLock<AppConfig>>§config_path: PathBuf§fetcher: FeedFetcherAuto Trait Implementations§
impl !RefUnwindSafe for AppState
impl !UnwindSafe for AppState
impl Forget for AppState
impl Freeze for AppState
impl Move for AppState
impl Send for AppState
impl Sync for AppState
impl Unpin for AppState
impl UnsafeUnpin 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