Skip to content
API REFERENCEUsage guides →

cellpack::prof::SiteInfo ​

struct

Module contract · All interfaces

At a glance ​

pub struct SiteInfo {
    pub name: &'static str,
    pub kind: Kind,
    pub detail: Detail,
    pub parent: Option<Site>,
    pub doc: &'static str,
}

A site’s static description.

Fields and variants ​

name ​

name: &'static str

The site’s name, as configuration and reports spell it.

kind ​

kind: Kind

Spans or histograms.

detail ​

detail: Detail

What it keeps per call.

parent ​

parent: Option<Site>

The site this one runs inside, for self time.

doc ​

doc: &'static str

What the site times, as reports and pycellpack’s build_info() show it.

Implemented traits ​

impl Clone for SiteInfo
impl Debug for SiteInfo

Contract reference ​

See the module reference for semantic input/output rules, units, allocation, mutation, failure behavior, and lifetime requirements. Declarations and documented members are synchronized from the crate source.

Definition