pub struct BuildRootTracer { /* private fields */ }Expand description
The root tracer manages all kinds of tracers registered to it. The statistics/events/records can be printed out or persisted from the root tracer. When building procedure is finished, root tracer can dump all tracing points to specified output file.
Implementations§
Source§impl BuildRootTracer
impl BuildRootTracer
pub fn register(&self, class: TraceClass, tracer: Arc<dyn TracerClass>)
pub fn tracer(&self, class: TraceClass) -> Option<Arc<dyn TracerClass>>
pub fn dump_summary_map(&self) -> Result<Map<String, Value>, TraceError>
Auto Trait Implementations§
impl !Freeze for BuildRootTracer
impl RefUnwindSafe for BuildRootTracer
impl Send for BuildRootTracer
impl Sync for BuildRootTracer
impl Unpin for BuildRootTracer
impl UnwindSafe for BuildRootTracer
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