pub struct PoolStatus {
pub browsers: usize,
pub tabs_per_browser: usize,
pub max_tabs: usize,
pub available: usize,
pub in_flight: usize,
pub tab_max_uses: u32,
pub tab_max_idle_secs: u64,
pub sessions_open: usize,
}Fields§
§browsers: usize§tabs_per_browser: usize§max_tabs: usize§available: usizeFree tab slots right now — how many fetches an agent can fan out
without queueing. Read this before a big fetch_many to size the
batch. A live snapshot, so it races with concurrent calls; treat it as
guidance, not a reservation.
in_flight: usizeTabs currently checked out (max_tabs - available): in-flight fetches
plus any held session tabs.
tab_max_uses: u32§tab_max_idle_secs: u64§sessions_open: usizeTrait Implementations§
Source§impl Debug for PoolStatus
impl Debug for PoolStatus
Source§impl JsonSchema for PoolStatus
impl JsonSchema for PoolStatus
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for PoolStatus
impl RefUnwindSafe for PoolStatus
impl Send for PoolStatus
impl Sync for PoolStatus
impl Unpin for PoolStatus
impl UnsafeUnpin for PoolStatus
impl UnwindSafe for PoolStatus
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