pub struct BrowserRow {Show 18 fields
pub pid: Option<u32>,
pub label: String,
pub role: String,
pub block_id: Option<String>,
pub window_id: Option<String>,
pub origin: String,
pub title: Option<String>,
pub answer: String,
pub visibility: Option<String>,
pub has_focus: Option<bool>,
pub animations: Option<u64>,
pub kinds: Vec<String>,
pub error: Option<String>,
pub frame: bool,
pub shared_with: Vec<String>,
pub cpu_pct: Option<f64>,
pub cpu_note: Option<String>,
pub main_thread_pct: Option<BTreeMap<String, f64>>,
}Expand description
One renderer’s row (or, with no pid, a browser that has none: its page is asleep).
Fields§
§pid: Option<u32>The process id as the OS lists it (on Linux the host’s, not the sandbox namespace’s).
label: String§role: String§block_id: Option<String>§window_id: Option<String>§origin: String§title: Option<String>§answer: StringHow the page’s facts were read: answered, asleep, frozen, no_answer, failed, or
unknown when the host could not be asked.
visibility: Option<String>§has_focus: Option<bool>§animations: Option<u64>§kinds: Vec<String>§error: Option<String>Why a page’s facts could not be read (failed), cut short.
frame: boolThis renderer serves only a frame of the page (a cross-site iframe), not its main document.
Other browsers the same renderer serves; its CPU is the process’s and is not split.
cpu_pct: Option<f64>Percent of one core over the sample.
cpu_note: Option<String>Why there is no CPU figure.
main_thread_pct: Option<BTreeMap<String, f64>>With detail: percent of the sample the page’s main thread spent in each kind of work.
Trait Implementations§
Source§impl Clone for BrowserRow
impl Clone for BrowserRow
Source§fn clone(&self) -> BrowserRow
fn clone(&self) -> BrowserRow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BrowserRow
impl Debug for BrowserRow
Source§impl PartialEq for BrowserRow
impl PartialEq for BrowserRow
Source§impl Serialize for BrowserRow
impl Serialize for BrowserRow
impl StructuralPartialEq for BrowserRow
Auto Trait Implementations§
impl Freeze for BrowserRow
impl RefUnwindSafe for BrowserRow
impl Send for BrowserRow
impl Sync for BrowserRow
impl Unpin for BrowserRow
impl UnsafeUnpin for BrowserRow
impl UnwindSafe for BrowserRow
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more