pub struct BrowserState {
pub source: Arc<dyn BrowseSource>,
pub cache: BrowserCache,
}Expand description
Shared state for the browser routes.
Fields§
§source: Arc<dyn BrowseSource>§cache: BrowserCacheTrait Implementations§
Source§impl Clone for BrowserState
impl Clone for BrowserState
Source§fn clone(&self) -> BrowserState
fn clone(&self) -> BrowserState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BrowserState
impl !RefUnwindSafe for BrowserState
impl Send for BrowserState
impl Sync for BrowserState
impl Unpin for BrowserState
impl UnsafeUnpin for BrowserState
impl !UnwindSafe for BrowserState
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