Module ethers_solc::report

source ·
Expand description

Subscribe to events in the compiler pipeline

The reporter is the component of the crate::Project::compile() pipeline which is responsible for reporting on specific steps in the process.

By default, the current reporter is a noop that does nothing.

To use another report implementation, it must be set as the current reporter. There are two methods for doing so: with_scoped and try_init. with_scoped sets the reporter for the duration of a scope, while set_global sets a global default report for the entire process.

Structs§

Traits§

  • Trait representing the functions required to emit information about various steps in the compiler pipeline.

Functions§

  • Creates a meaningful message for all unresolved imports
  • Executes a closure with a reference to this thread’s current reporter.
  • Install this Reporter as the global default.
  • Sets the reporter as the scoped reporter for the duration of the lifetime of the returned DefaultGuard
  • Install this Reporter as the global default if one is not already set.
  • Executes a closure with a reference to the Reporter.
  • Sets this reporter as the scoped reporter for the duration of a closure.