pub struct PageInfo {
pub page_index: usize,
pub state: PageState,
pub url: String,
}Expand description
Metadata tracked for each page in the pool.
Stores the page’s index, current lifecycle state, and the URL it is navigating
to (if any). The pool uses this information to enforce capacity limits and to
report statistics via PoolStats.
Fields§
§page_index: usizeZero-based index identifying this page within the pool.
state: PageStateCurrent lifecycle state of the page.
url: StringURL the page is currently navigated to, or empty if idle.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PageInfo
impl RefUnwindSafe for PageInfo
impl Send for PageInfo
impl Sync for PageInfo
impl Unpin for PageInfo
impl UnsafeUnpin for PageInfo
impl UnwindSafe for PageInfo
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