[][src]Module daab::diagnostics

Extensive debugging analysis module.

Notice: This module is only available if the diagnostics feature has been activated.

This module contains the types used in debugging the ArtifactCache. The most important one is Doctor which conducts a diagnosis on a ArtifactCache if constructed via ArtifactCache::new_with_doctor().

Doctor has methods for various events happening in the ArtifactCache receiving the relevant builder or artifact as argument (as ArtifactHandle or BuilderHandle respectivly). See the respective method of the Doctor for details.

Additionally, to the generic Doctor trait, there are several pre-implemented Doctors such as: VisgraphDoc or TextualDoc.

Structs

ArtifactHandle

Encapsulates a generic artifact with some debugging information.

BuilderHandle

Encapsulates a generic builder with some debugging information.

NoopDoctor

Default no-op Doctor.

TextualDoc

Debugger outputting human-readable text file e.g. on the terminal.

TextualDocOptions

Output options for TextualDoc.

VisgraphDoc

Debugger outputting Visgraph dot file.

VisgraphDocOptions

Output options for VisgrapDoc.

Traits

Doctor

Debugger for the ArtifactCache.